1 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
3 * docs/faq/developing.xml:
4 Add a question about how to submit new translations.
7 Update the contact email address for the Translation Project
9 * plugins/elements/gstfdsrc.c:
10 The parent_class for fdsrc is pushsrc, not GstElement.
12 2007-11-20 Stefan Kost <ensonic@users.sf.net>
15 Plug a leak and fix saving.
17 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
19 * docs/gst/gstreamer-sections.txt:
20 Add new gst_preset__get_property_names() function to the docs
23 2007-11-20 Stefan Kost <ensonic@users.sf.net>
27 Change _get_preset_names API to return a strv with copies. Add
28 _get_property_names to allow implementations to filter and provide
29 good default implementation.
31 2007-11-20 Julien MOUTTE <julien@moutte.net>
33 * docs/faq/gst-uninstalled: Add another library to the uninstalled
36 2007-11-19 Stefan Kost <ensonic@users.sf.net>
39 More cleanups, docs, and TODOs from comments that now slowly come in.
41 2007-11-19 Julien MOUTTE <julien@moutte.net>
43 * docs/faq/gst-uninstalled: Add new base libraries in the LD
46 2007-11-19 Stefan Kost <ensonic@users.sf.net>
49 Fix bogus warning and make the property type specific code more
52 2007-11-19 Julien MOUTTE <julien@moutte.net>
54 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
57 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
59 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
60 (gst_bin_add_func), (gst_bin_remove_func),
61 (gst_bin_change_state_func), (gst_bin_continue_func):
62 Change email, cleanups add some more debug and comments.
63 Also set bus and clock on new elements when the pipeline was in error.
65 2007-11-18 Stefan Kost <ensonic@users.sf.net>
68 * gst/gstdebugutils.c:
69 Fix build with --disable-gst-debug. Fixes #497859.
70 Spotted by Sameer Naik.
72 2007-11-17 Stefan Kost <ensonic@users.sf.net>
75 Little documentation improvment.
78 More TODO cleanups. Remove c++ comments.
80 * libs/gst/controller/gstcontroller.c:
81 Add TODO and use quark from static string.
83 * tests/check/gst/gstmessage.c:
84 * tests/check/gst/gststructure.c:
85 Use quark from static string.
87 2007-11-17 Stefan Kost <ensonic@users.sf.net>
90 Add some comments and TODOs.
93 Add padding for future changes.
95 * plugins/elements/gstqueue.c:
98 2007-11-17 Stefan Kost <ensonic@users.sf.net>
100 * docs/gst/gstreamer-docs.sgml:
101 * docs/gst/gstreamer-sections.txt:
102 * docs/gst/gstreamer.types.in:
107 Add the preset interface (Fixes #396779). Do some doc cleanups along.
109 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
115 === release 0.10.15 ===
117 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
120 releasing 0.10.15, "October"
122 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
124 * win32/vs6/libgstreamer.dsp:
125 Convert line endings back to DOS.
127 2007-11-13 Stefan Kost <ensonic@users.sf.net>
129 * docs/design/draft-tagreading.txt:
130 * docs/random/ensonic/profiling.txt:
131 Update fast tagreading draft and performance profiling ideas.
133 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
135 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
136 Don't hold the object lock when unreffing a buffer because it could
137 cause a deadlock when the finalize function wants to grab the object
138 lock too. Fixes #495133.
140 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
142 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
143 (gst_segment_to_stream_time), (gst_segment_to_running_time):
144 Also accumulate time correctly when doing reverse playback. Fixes
146 When converting to running and stream time, use default values for
147 start/stop/time/accum when comparing different formats. Fixes #494245.
149 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
150 Do running/stream time in TIME format.
152 * tests/check/gst/gstsegment.c: (GST_START_TEST),
154 2 new unit tests for segment accumulation.
156 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
158 * gst/gst.c: (init_pre):
159 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
160 (_gst_debug_bin_to_dot_file):
161 Move getenv() back into gst_init, so everyone can live happily
162 ever after. Make sure the symbol isn't exported though.
164 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
166 Patch by: Sebastien Moutte <sebastien moutte net>
168 * win32/common/gstenumtypes.c:
169 * win32/common/gstenumtypes.h:
172 * win32/vs6/libgstreamer.dsp:
173 Update vs6 project files (#494343).
175 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
177 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
178 (gst_base_src_perform_seek), (gst_base_src_default_event),
179 (gst_base_src_set_flushing), (gst_base_src_activate_push),
180 (gst_base_src_activate_pull):
181 Unify flushing code, remove some old unlock code that is no longer used.
182 Take the streaming lock when seeking to avoid races. Fixes #492729.
183 Added some more comments.
185 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
187 * gst/gst.c: (_gst_disable_segtrap):
188 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
189 we can use gst_segtrap_is_enabled() there now that we have that API.
190 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
191 to do the getenv here (and export the variable).
193 * gst/gstdebugutils.c: (debug_dump_element),
194 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
195 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
197 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
198 (gst_debug_log_default):
199 Rename _gst_info_start_time to priv_gst_info_start_time so it
200 doesn't get exported (was never in any header).
202 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
203 (gst_plugin_loading_mutex):
204 Make static mutex gst_plugin_loading_mutex really static (was never
205 in any header), and use gst_segtrap_is_enabled() instead of
206 _gst_disable_segtrap.
208 * gst/gsttrace.c: (_gst_trace_default):
209 Make local _gst_trace_default static (was never in any header).
211 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
213 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
215 * win32/common/libgstbase.def:
216 * win32/common/libgstcontroller.def:
217 * win32/common/libgstdataprotocol.def:
218 * win32/common/libgstnet.def:
219 * win32/common/libgstreamer.def:
220 Add more missing symbols, remove some duplicates, and sort
221 as the 'sort' command sorts it (partially fixes #493983).
223 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
225 * gst/gstelement.c: (gst_element_set_state_func):
226 Only change the state cookie if a different state was set on the
227 element. See #492729.
229 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
232 Remove unused and uninitialised type variables that were still
233 exported for some reason (they were never in any header files
236 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
238 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
239 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
240 (gst_base_sink_event), (gst_base_sink_get_position_last),
241 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
242 (gst_base_sink_change_state):
243 Don't try to report a 0 position when we don't know, return -1 and FALSE
244 instead. This mostly happens when we are prerolling.
245 Make sure we can report the right position before we post the ASYNC_DONE
246 message so that a message handler can query position without races.
248 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
249 (async_done_handoff), (async_done_func), (send_buffer),
250 (async_done_eos_func), (gst_sinks_suite):
251 Add two tests for the above.
253 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
256 Update with new email address.
258 * docs/design/part-TODO.txt:
259 Add some more info about future pad-block and negotiation changes.
261 * docs/design/part-buffering.txt:
262 Add some ideas about buffering reporting.
264 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
266 * tests/check/gst/gstobject.c:
267 Disable silly racy test that always fails on this combination of CPU
270 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
272 Patch by: Murray Cumming <murrayc@murrayc.com>
275 Corrected the registration of the parent-set and parent-unset
276 signals: The parameter is a GstObject, not a GObject (#493134).
278 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
289 Move declaration of private _gst_foo_initialize() functions into
290 our private header file where they should have been all along.
292 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
294 * docs/plugins/gstreamer-plugins-sections.txt:
295 * gst/gstdebugutils.h:
297 * plugins/elements/gstqueue.c:
298 gtk-doc fixes; trailing-comma-in-enum fix.
300 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
302 * gst/gst.c: (gst_deinit):
303 Clean up on deinit (not the external ones though, doesn't seem to be
304 needed for some reason).
306 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
308 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
309 Remove __declspec(dllimport) for MSVC that was copied over into core
310 from a plugin, obviously without ever having been tested (note the
311 single underscore in _declspec in the initial commit), and that doesn't
312 really make sense. See #492077.
314 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
316 * gst/gst.c: (init_post):
317 * gst/gstevent.c: (_gst_event_initialize):
318 * gst/gstquery.c: (_gst_query_initialize):
319 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
320 g_type_class_ref() other types as well, see #349410 and #64764.
322 * gst/gstbuffer.c: (_gst_buffer_initialize):
323 * gst/gstmessage.c: (_gst_message_initialize):
324 Simplify existing g_type_class_ref().
326 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
328 * gst/gstformat.c: (_gst_format_initialize):
329 g_type_class_ref() our GstFormat type to make sure we avoid the
330 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
331 bug #64764. Should fix intermittent tee unit test failures (#474823).
333 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
335 * tests/check/elements/tee.c: (test_num_buffers):
336 Simplify, simplify, simplify - or not. Rewrite unit test
337 not to use gst_parse_launch(); allow N sub-streams. Increasing
338 the number of sub-streams seems to reproduce #474823 more easily.
340 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
342 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
345 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
346 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
347 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
348 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
349 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
350 so use _pipe() directly (#492077).
352 * win32/common/dirent.c: (_treaddir):
353 Add a couple of casts to make it build without warnings with MSVC.
355 * win32/common/libgstreamer.def:
356 Add some more symbols that need to be exported.
358 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
360 * tests/examples/metadata/read-metadata.c: (message_loop):
361 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
362 arriving in a second or third tag message are added to
363 the tag list as well.
365 2007-10-31 Stefan Kost <ensonic@users.sf.net>
367 * libs/gst/base/gstbasesrc.c:
368 Its "Since:" and not "@Since:". And remove an superflous cast.
370 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
372 * docs/libs/gstreamer-libs-sections.txt:
373 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
374 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
375 (gst_base_sink_get_property), (gst_base_sink_render_object),
376 (gst_base_sink_preroll_object),
377 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
378 (gst_base_sink_change_state):
379 * libs/gst/base/gstbasesink.h:
380 Add a new last-buffer property that contains the last buffer used in
381 basesink for preroll or rendering. useful for making snapshots.
382 API: gst_base_sink_get_last_buffer()
383 API: GstBaseSink::last-buffer
385 2007-10-29 Stefan Kost <ensonic@users.sf.net>
387 * docs/gst/running.xml:
389 * gst/gstdebugutils.c:
390 * gst/gstdebugutils.h:
391 * tools/gst-launch.c:
392 Improve bin graph dumping, by using the envvar to specify a path.
393 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
395 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
397 * plugins/elements/gsttypefindelement.c:
398 (gst_type_find_element_handle_event),
399 (gst_type_find_element_activate):
400 Post special error message if we can't determine the type of a stream
403 2007-10-29 Stefan Kost <ensonic@users.sf.net>
405 * docs/gst/running.xml:
406 * gst/gstdebugutils.c:
407 Document new env-var. Add one log-line after dumpng a graph.
409 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
412 Ugly hack to put the (recently removed and non-portable, apparently)
413 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
414 GNU ld, because without that 'make check' fails miserably on my debian
415 stable box. Someone with more knowledge of linker intricacies and
416 portability issues than me fix this properly please.
418 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
420 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
421 Reset last seen position after flushing so that we don't report the old
424 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
426 * gst/gstelementfactory.c: (gst_element_register):
428 Patch from Alessandro Decina adding get_type_full and
429 get_protocols_full private vfuncs to the URIHandler interface
430 to allow bindings to support creating URI handlers.
431 Partially fixes: #339279
432 API: GstURIHandlerInterface::get_type_full
433 API: GstURIHandlerInterface::get_protocols_full
435 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
437 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
438 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
439 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
440 Make it so that pads are considered linked until a buffer is pushed
441 and discovered otherwise. This avoids problems with decodebin2 hanging
442 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
445 Make sure we lock the multiqueue when updating the max-size properties.
447 Fix a crash on Solaris in a debug statement in get_request_pad that
448 passes a NULL string to GST_DEBUG.
450 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
451 (run_output_order_test):
452 Fix the test to allow the first buffer on not-linked pads to come out
453 of sequence while multiqueue discovers that they are not-linked.
455 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
458 * libs/gst/check/Makefile.am:
459 Use a custom export symbol regex for libgstcheck, as it needs
460 to export symbols that don't match the standard GStreamer gst_*
461 pattern, and --export-dynamic is not portable (only works on
464 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
465 (gst_check_setup_sink_pad):
466 Make sure to pass a message parameter to the fail_* macros.
468 * tests/check/gst/gstinfo.c: (GST_START_TEST):
469 Fix some compiler warnings.
471 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
473 * tests/check/gst/gststructure.c: (test_to_string):
474 Disable test that checks that white spaces are not allowed
475 in structure names or field names, since we need to
476 support that for now for backwards compatibility reasons.
478 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
480 * docs/gst/gstreamer-sections.txt:
483 API: add GST_TAG_ARTIST_SORTNAME
484 API: add GST_TAG_ALBUM_SORTNAME
485 API: add GST_TAG_TITLE_SORTNAME
486 Add tag variants for sorting (#414539).
488 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
490 * gst/gststructure.c:
491 Also allow white space for names so we don't break
492 backwards compatibility.
494 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
496 * docs/design/part-TODO.txt:
497 * docs/design/part-segments.txt:
498 * docs/design/part-streams.txt:
501 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
503 * docs/gst/gstreamer-sections.txt:
504 Fixed documentation from my previous commit (added new API add
505 gst_value_set_structure(), add gst_value_get_structure() and
506 GST_VALUE_HOLDS_STRUCTURE).
508 2007-10-22 Stefan Kost <ensonic@users.sf.net>
510 * gst/gstdebugutils.c:
511 Reflow code to fix uninitialized variable warning.
513 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
515 * gst/gstcaps.c: (gst_caps_to_string),
516 (gst_caps_from_string_inplace):
517 * gst/gststructure.c: (gst_structure_get_abbrs),
518 (gst_structure_to_string), (gst_structure_from_string):
519 * gst/gstvalue.c: (gst_value_set_structure),
520 (gst_value_get_structure), (gst_value_serialize_structure),
521 (gst_value_deserialize_structure), (_gst_value_initialize):
523 * tests/check/gst/gststructure.c: (GST_START_TEST),
524 (gst_structure_suite):
525 * tests/check/gst/gstvalue.c: (GST_START_TEST):
526 Added GstStructure to gst_value_table and its related functions.
527 Changed gst_structure_to_string to print ';' in the end.
528 Changed gst_caps_to_string to not print ';' beteween its
529 fields (structures) anymore and remove the lastes ';' from latest
530 structure. Now it is possible to have nested structures.
531 In addition, backward compatibilty is assured by accepting '\0' as
532 end delimiter. Fixes: #487969.
533 API: add gst_value_set_structure()
534 API: add gst_value_get_structure()
535 API: add GST_VALUE_HOLDS_STRUCTURE
537 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
540 When no GSource callback has been set up, tell developer
541 to use a function that actually exists.
543 2007-10-17 Stefan Kost <ensonic@users.sf.net>
545 * docs/gst/gstreamer-sections.txt:
549 * gst/gstdebugutils.c:
550 * gst/gstdebugutils.h:
553 * tools/gst-launch.c:
554 Allow dumping pipelines as dot graphs. Fixes #456573.
556 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
558 * gst/gststructure.c:
559 Allow '+' as well, it can be part of media or mime types
560 such as image/svg+xml.
562 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
564 * docs/gst/gstreamer-sections.txt:
567 API: add gst_bus_pop_filtered
568 API: add gst_bus_timed_pop_filtered
569 Two new functions for waiting for specific message types on the
570 bus for a specified amount of time without iterating any main
571 loops or main contexts.
573 * tests/check/gst/gstbus.c:
574 Some tests for the new functions.
576 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
578 * docs/libs/gstreamer-libs-sections.txt:
579 Make gtk-doc ignore stuff it should ignore.
581 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
583 * libs/gst/check/gstcheck.c:
584 * libs/gst/check/gstcheck.h:
585 Allow runtime selection of unit tests to run via the GST_CHECKS
586 environment variable (test case function names, comma-separated).
588 2007-10-16 Stefan Kost <ensonic@users.sf.net>
590 * gst/gststructure.c:
591 * tests/check/gst/gststructure.c:
592 Revert serialisation change and constrain structure-names after
593 consensus on irc. Update api documentation to reflect the change.
595 2007-10-16 Stefan Kost <ensonic@users.sf.net>
597 * gst/gststructure.c:
598 Improve serialization and fix tests.
600 * tests/check/gst/gststructure.c:
601 Add another test that covers why I actually did the previous structure
604 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
606 * tools/gst-inspect.c: (print_element_info):
607 Don't crash when inspecting an element.
609 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
611 * tests/check/gst/gststructure.c:
612 Add unit test for escaping of structure name when serialising
613 and deserialising to/from strings.
615 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
617 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
618 (gst_single_queue_new):
619 * plugins/elements/gstqueue.c: (gst_queue_init),
620 (gst_queue_push_one):
621 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
622 upstream is tricked into thinking it can suggest a format downstream
623 while downstream does not support that format. The real problem is that
624 core calls acceptcaps when pushing a buffer with new caps, for which we
625 do a little workaround by setting the caps on the srcpad ourselves
626 before pushing the buffer (until this is figured out). Fixes #486758.
628 2007-10-15 Stefan Kost <ensonic@users.sf.net>
630 * gst/gststructure.c:
632 Add some more comments and debug output. Quote structure name to fix
633 deserialisation of some strings.
635 2007-10-15 Stefan Kost <ensonic@users.sf.net>
638 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
639 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
641 2007-10-15 Stefan Kost <ensonic@users.sf.net>
643 * tools/gst-inspect.c:
644 Save approx. 400 1 byte allocs when printing. Use API to acces element
650 * tools/gst-xmlinspect.c:
651 Use API to acces element details.
653 2007-10-15 Stefan Kost <ensonic@users.sf.net>
656 Fix some spelling errors.
658 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
660 * gst/gstbin.c: (bin_handle_async_done):
661 Correctly set the next state if all of our async children commited their
662 state. This makes sure we can actually cancel the state change in
663 progress. Fixes a regression in Rhythmbox when seeking.
665 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
668 Don't shadow local variable.
671 Don't shadow global function name.
673 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
675 * gst/gstelementfactory.c:
676 * gst/gstpluginfeature.c:
677 * gst/gstpluginfeature.h:
678 * gst/gstregistrybinary.c:
679 * gst/gstregistryxml.c:
681 Use already-interned string for the private GstPluginFeature
684 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
686 * docs/libs/gstreamer-libs-sections.txt:
687 Add new API to docs; fixes the build.
689 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
691 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
693 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
694 (gst_base_sink_event):
695 * libs/gst/base/gstbasesink.h:
696 Add function to wait for EOS, subclasses can use this to correctly wait
697 for devices to drain before performing the EOS logic. Fixes #485343.
698 API: gst_base_sink_wait_eos()
700 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
703 Cast description string constants in GST_PLUGIN_DEFINE macros
704 to a (gchar*) to make C++ code using these macros compile
705 without warning with g++-4.2 (see #462737). Even if slightly
706 ugly, this seems preferable to putting the description strings
707 into the GLib quark table or making the structure member a
708 const gchar * and doing casts in core code that allocs and
709 frees these strings, or requiring a cast in the C++ code.
711 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
714 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
715 to print the entire class/function signature into the log
716 file for C++ code. This only affects C++ code, for C code
717 everything remains the same.
719 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
721 * gst/gstbin.c: (remove_from_queue):
722 Work around a problem with pipelines containing (semi)loops until a
723 proper, more complicated solution is ready. See #475455.
725 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
729 * gst/gstregistrybinary.c:
730 * gst/gstregistryxml.c:
731 Put more strings into the GLib quark table. No need to keep
732 a hundred-something copies of identical version strings,
733 license strings, package name strings and package origin
736 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
738 * docs/manual/advanced-dataaccess.xml:
739 Don't imply that it's okay to unconditionally change
740 buffer data or buffer metadata in a pad probe callback,
741 and a bunch of other comments. Fixes #430031.
743 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
745 * win32/common/gstenumtypes.c:
746 * win32/common/gstenumtypes.h:
747 * win32/common/gstversion.h:
748 Update generated files.
750 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
752 * docs/manual/advanced-autoplugging.xml:
753 Prefix section with broken code with a warning (see #342432).
755 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
757 * docs/manual/appendix-integration.xml:
758 * docs/manual/basics-init.xml:
759 Call g_thread_init() before g_option_context_new() to
760 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
762 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
764 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
765 (gst_base_sink_queue_object_unlocked),
766 (gst_base_sink_queue_object), (gst_base_sink_event),
767 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
768 When we received EOS and are waiting for when to post the EOS message,
769 our state is prerolled and we should not return ASYNC.
770 Reorganize some code paths to implement this behavior.
772 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
774 Add unit test to verify above EOS fix.
776 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
778 * plugins/elements/gsttypefindelement.c:
779 (gst_type_find_element_have_type), (gst_type_find_element_init),
780 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
781 Move detecting the input caps of the sinkpad to the setcaps function.
782 This allows us to update the output caps when we receive new input caps
783 instead of always using the first detected caps.
785 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
787 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
788 (gst_base_sink_get_position):
789 Don't try to preroll non-async elements after a flush.
790 Subtract latency form clock times when reporting position.
792 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
794 * gst/gstpad.c: (gst_pad_pause_task):
796 Small comment and documentation update.
798 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
800 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
801 (gst_base_src_set_live), (gst_base_src_is_live),
802 (gst_base_src_query_latency), (gst_base_src_perform_seek),
803 (gst_base_src_default_event), (gst_base_src_wait),
804 (gst_base_src_do_sync), (gst_base_src_get_range),
805 (gst_base_src_pad_get_range), (gst_base_src_loop),
806 (gst_base_src_unlock), (gst_base_src_unlock_stop),
807 (gst_base_src_set_flushing), (gst_base_src_set_playing),
808 (gst_base_src_activate_push), (gst_base_src_activate_pull),
809 (gst_base_src_change_state):
810 Rework the locking of basesrc in a similar fashion to basesink. We
811 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
812 us to handle live sources and semi live ones much better.
814 Fix unlocking when seeking, shutting down and pausing in live sources.
816 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
818 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
819 Fix compilation again.
821 2007-10-03 Stefan Kost <ensonic@users.sf.net>
824 Use meaningful categories for the logs to clean the default one.
826 2007-10-03 Stefan Kost <ensonic@users.sf.net>
828 * tests/check/pipelines/cleanup.c:
829 Print message name and not just number.
831 2007-10-03 Stefan Kost <ensonic@users.sf.net>
833 * docs/design/draft-tagreading.txt:
834 Add some more thoughts.
836 2007-10-03 Stefan Kost <ensonic@users.sf.net>
838 * tests/check/pipelines/simple-launch-lines.c:
839 Print message name and not just number.
841 2007-10-03 Stefan Kost <ensonic@users.sf.net>
843 * libs/gst/base/gsttypefindhelper.c:
844 Speedup typefinding. This is work in progress (see #459862).
846 2007-10-03 Stefan Kost <ensonic@users.sf.net>
849 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
850 Spotted by Josep Torra Valles <josep@fluendo.com>.
852 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
855 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
856 field has moved to GstObject.
858 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
860 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
861 (gst_base_src_get_range), (gst_base_src_change_state):
862 Call unlock for live sources so that they can't get stuck in _create and
863 produce a buffer before they are set back to PLAYING.
865 2007-10-02 Edward Hervey <bilboed@bilboed.com>
867 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
868 (gst_queue_locked_dequeue):
869 Comment the segment-related code... in the PROPER function.
870 See #482147 and my commit from yesterday.
872 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
874 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
875 Also initialize the counter that calculates the first timestamp on a
876 buffer correctly for non-live sources.
878 2007-10-01 Edward Hervey <bilboed@bilboed.com>
880 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
881 Disable code that's breaking the current-time-level reporting.
884 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
886 * docs/gst/gstreamer-sections.txt:
887 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
888 as they shouldn't show up. Fixes the docs build.
890 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
893 Add an explicit variable importation needed on VS6 (only for MSC_VER)
894 Define M_PI which is used in files which are including gstinfo.h.
895 VS6 includes doesn't define it.
896 * win32/common/libgstbase.def:
897 * win32/common/libgstcontroller.def:
898 * win32/common/libgstreamer.def:
899 Add new exported functions and variables.
900 * win32/vs6/libgstcontroller.dsp:
901 * win32/vs6/libgstreamer.dsp:
902 Update the list of files to build.
904 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
906 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
908 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
909 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
910 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
911 Improve debugging. Fixes #480858.
913 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
915 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
917 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
918 First patch of code cleanups, use the macros and right arguments in the
919 macros to signal and lock the queue. See #480858.
921 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
923 * gst/gstbus.c: (poll_func):
924 Improve debugging when dealing with _poll().
926 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
928 * gst/gstregistryxml.c:
929 Fix memory leak I introduced a few days ago.
931 2007-09-26 Michael Smith <msmith@fluendo.com>
933 * gst/gstbuffer.c: (gst_buffer_finalize):
934 Make it once again possible to free GstBuffers in the default
936 The poisoning scribbles on parts of the miniobject we need in
940 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
942 * docs/gst/gstreamer-sections.txt:
945 API: add GST_TAG_COMPOSER, fixes #459809.
947 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
951 Add the 3-clause BSD license and the MIT/X11 license to the license
954 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
956 * docs/faq/getting.xml:
957 Add Q+A about different GStreamer versions (#364056).
959 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
961 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
962 (gst_base_sink_event), (gst_base_sink_change_state):
963 Return correct gboolean from query function.
965 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
967 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
968 (gst_base_sink_event), (gst_base_sink_query),
969 (gst_base_sink_change_state):
970 Simplify latency query.
971 When not synchronizing, we can report latency without querying the peer
974 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
978 Fix small typos in the docs.
980 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
982 * docs/design/draft-latency.txt:
983 * docs/design/draft-push-pull.txt:
984 * docs/design/draft-tagreading.txt:
985 * docs/design/part-MT-refcounting.txt:
986 * docs/design/part-activation.txt:
987 * docs/design/part-block.txt:
988 * docs/design/part-element-source.txt:
989 * docs/design/part-events.txt:
990 * docs/design/part-gstbin.txt:
991 * docs/design/part-gstelement.txt:
992 * docs/design/part-gstobject.txt:
993 * docs/design/part-gstpipeline.txt:
994 * docs/design/part-messages.txt:
995 * docs/design/part-preroll.txt:
996 * docs/design/part-push-pull.txt:
997 * docs/design/part-qos.txt:
998 * docs/design/part-query.txt:
999 * docs/design/part-scheduling.txt:
1000 * docs/design/part-seeking.txt:
1001 * docs/design/part-segments.txt:
1002 * docs/design/part-states.txt:
1003 Documentation updates and typo fixes.
1005 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
1007 * plugins/elements/gstfakesink.c:
1008 Add some debug text to error message to indicate that
1009 we errored out on request.
1011 * tools/gst-launch.c:
1012 When the state change to PLAYING fails, check for an
1013 error message on the bus and print it.
1015 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
1017 translated by: Jorge González González <aloriel@gmail.com>
1021 Added Spanish translation.
1023 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
1025 * plugins/elements/gstqueue.c: (gst_queue_push_one):
1026 Fix printf arguments.
1028 2007-09-20 Stefan Kost <ensonic@users.sf.net>
1030 * tests/check/generic/states.c:
1031 Improved state change unit test.
1033 2007-09-20 Stefan Kost <ensonic@users.sf.net>
1036 Move priv to the right place.
1038 * gst/gstsystemclock.c:
1039 Add FIXME: and improve log.
1041 * tests/check/Makefile.am:
1042 * tests/examples/manual/Makefile.am:
1043 Work with all types of registries.
1045 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
1047 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
1048 Don't unref the event after pushing it. Fixes #478401.
1050 2007-09-19 Stefan Kost <ensonic@users.sf.net>
1053 * tests/examples/manual/.cvsignore:
1054 Ignore registries in any format.
1056 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
1058 * gst/glib-compat-private.h:
1059 Add compatibility macro for g_intern_string() for
1060 GLib-2.8 (any reason we can't just bump the
1061 requirement to at least 2.10?)
1063 * gst/gstpadtemplate.h:
1064 * gst/gstelementfactory.c:
1065 * gst/gstregistryxml.c:
1066 * gst/gstregistrybinary.c:
1067 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
1068 up the internal code accordingly. This shouldn't be a problem, since
1069 there is no reason external code could ever assume the string in such
1070 a structure is dynamically allocated unless it did that itself; the
1071 use of g_strdup() is private to element factories. The new code also
1072 saves some memory by putting pad template name strings into the GLib
1073 quark table instead of allocating them dynamically.
1074 Declaring this field constant fixes warnings with g++-4.2 when using
1075 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
1077 2007-09-19 Stefan Kost <ensonic@users.sf.net>
1079 * gst/gstelementfactory.c:
1080 Release static caps. Fixes #475723.
1082 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
1086 Make some internal API take const gchar * instead of just
1087 gchar * to avoid compiler warnings with g++-4.2.2 when
1088 passing string constants (partially fixes #478092).
1090 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
1092 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
1093 A latency query fails when one of the sinks fail.
1095 * gst/gstelement.c: (gst_element_set_base_time):
1098 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
1100 * gst/gstbin.c: (gst_bin_continue_func):
1101 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
1102 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
1103 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
1105 Fix minor compilation warnings shown with Forte.
1107 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
1109 * plugins/elements/gstqueue.c: (apply_buffer),
1110 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
1111 Measure queue level based on the diff between head and tail timestamps
1112 even when pushing the first buffer.
1114 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
1116 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1117 (gst_base_sink_event), (gst_base_sink_change_state):
1118 Sinks that don't preroll can always be queried for the latency.
1119 Don't post ASYNC start when we are not async.
1121 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
1123 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
1124 (gst_queue_handle_sink_event), (gst_queue_chain),
1125 (gst_queue_push_one), (gst_queue_handle_src_query),
1126 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
1127 * plugins/elements/gstqueue.h:
1128 When downstream returns UNEXPECTED from pushing a buffer, don't try to
1129 push more buffers but allow pushing of EOS and NEWSEGMENT.
1130 Add some more debug info here and there. Fixes #476514.
1132 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
1134 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1135 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
1136 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
1137 (gst_base_sink_set_flushing), (gst_base_sink_query),
1138 (gst_base_sink_change_state):
1139 Latency query is allowed after we are prerolled. Introduce a new flag
1140 for this and stop abusing other variables.
1142 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
1144 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
1145 Push OOB events downstream when we get them in send_event. This allows
1146 the application to insert events in the pipeline.
1147 Add some more comments.
1149 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
1151 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
1152 (do_bin_latency), (gst_bin_change_state_func):
1153 * gst/gstpipeline.c: (gst_pipeline_change_state):
1154 Move latency query from GstPipeline to GstBin so that we can also
1155 use it when async-handling is enabled on bins.
1157 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
1159 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1160 (gst_base_src_do_sync), (gst_base_src_change_state):
1162 Clean up the timestamping and syncing code for pseudo live sources.
1164 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
1166 Patch by: Steve Fink <sphink gmail com>
1168 * docs/manual/appendix-checklist.xml:
1169 Mention less -R switch in the section about debug output (#474055).
1171 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
1173 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
1174 Queue can latency to the pipeline up to the configured max size in time.
1175 Report this fact in the latency query.
1177 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
1179 Patch by: Sebastien Moutte <sebastien at moutte dot net>
1181 * libs/gst/controller/gstinterpolation.c:
1182 * libs/gst/controller/gstlfocontrolsource.c:
1183 Use gst_guint64_to_gdouble() when converting from a uint64 or
1184 GstClockTime to double to fix the build on win32. Fixes #474371.
1186 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
1188 * gst/gstbuffer.c: (gst_buffer_finalize):
1189 Implement poisoning for GstBuffer if --enable-poisoning is specified.
1190 When finalizing a buffer the complete struct is filled with 0xff,
1191 thus making a use of the buffer after the final unref impossible.
1193 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
1195 * tests/check/libs/controller.c: (GST_START_TEST):
1196 Use fail_unless_equals_int(a, b) instead of
1197 fail_unless_equals (a == b) to get better output on failures.
1199 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
1201 * tests/check/gst/gsturi.c:
1202 Also check for the other file URI variant on win32.
1204 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
1206 * gst/gsturi.c: (gst_uri_get_location):
1207 If there's no hostname, we want to return 'c:/foo/bar.txt'
1208 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
1210 * tests/check/gst/gsturi.c:
1211 Unit test for the above and a few more things.
1213 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
1215 * docs/design/part-live-source.txt:
1216 Add docs on how live sources should timestamp.
1218 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
1219 Add some more debug info.
1220 For subclasses that are live and like to sync, add aditional startup
1221 latency to sync time and timestamps so that we timstamp according to the
1224 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
1227 Also do a g_type_class_ref() for the subbuffer type in
1230 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
1232 * docs/gst/gstreamer-sections.txt:
1233 * gst/gstpad.c: (gst_pad_peer_query):
1235 Add function to perform a query on the peer of a pad.
1236 API: gst_pad_peer_query()
1238 2007-09-11 Stefan Kost <ensonic@users.sf.net>
1240 * tests/check/gst/gstsystemclock.c:
1241 Cleanup the test a little (use gst-logging and not g_message). Improve
1242 test to check if a wait reached the target.
1244 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
1246 * docs/libs/gstreamer-libs-sections.txt:
1247 Add new API to docs and fix the build.
1249 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
1251 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1252 (gst_base_src_init), (gst_base_src_set_do_timestamp),
1253 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
1254 (gst_base_src_get_property), (gst_base_src_do_sync):
1255 * libs/gst/base/gstbasesrc.h:
1256 Add property to make the basesrc timestamp buffers based on the current
1258 API: GstBaseSrc::do-timestamp
1259 API: gst_base_src_set_do_timestamp()
1260 API: gst_base_src_get_do_timestamp()
1262 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
1264 * docs/random/release:
1265 Really make sure translations are up-to-date before
1266 a release (#465010).
1268 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
1270 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1271 Always destroy the timer, also in error cases.
1273 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
1275 * docs/manual/highlevel-xml.xml:
1276 Fix XML example code. Fixes #472714.
1278 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
1280 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1281 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
1282 (gst_base_sink_query):
1283 Protect eos and have_preroll with the OBJECT lock so we don't need to
1284 take the PREROLL lock when querying the latency. Fixes #473846.
1286 2007-09-05 Stefan Kost <ensonic@users.sf.net>
1289 Give some log-messages a category.
1291 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
1293 * gst/gststructure.c:
1294 (gst_structure_fixate_field_nearest_fraction):
1295 Fix fraction list fixation code. Take the fraction with the smallest
1296 difference with the target instead of the first one in the list.
1298 * tests/check/gst/gststructure.c: (GST_START_TEST),
1299 (gst_structure_suite):
1300 Added test to verify correct fraction list fixation behaviour.
1302 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
1304 * win32/common/libgstreamer.def:
1305 Export gst_bus_add_signal_watch too.
1307 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
1309 * docs/libs/gstreamer-libs-sections.txt:
1310 Add new methods to docs.
1312 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1313 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
1314 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
1315 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
1316 * libs/gst/base/gstbasesink.h:
1317 Add ts-offset property to fine-tune the synchronisation.
1318 API: GstBaseSink::ts-offset property
1319 API: gst_base_sink_set_ts_offset()
1320 API: gst_base_sink_get_ts_offset()
1322 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
1324 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1325 (gst_base_sink_init), (gst_base_sink_set_sync),
1326 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
1327 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
1328 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
1329 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
1330 (gst_base_sink_get_property), (gst_base_sink_change_state):
1331 * libs/gst/base/gstbasesink.h:
1332 Add async property to instruct the sink never to inform the parent about
1333 ASYNC state changes, update docs.
1334 Check argument with g_return_* for the public functions.
1335 API: GstBaseSink::async property
1336 API: gst_base_sink_set_async_enabled()
1337 API: gst_base_sink_is_async_enabled()
1339 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
1341 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
1344 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1345 (gst_base_src_default_query), (gst_base_src_wait),
1346 (gst_base_src_do_sync), (gst_base_src_change_state):
1347 Rearrange some code so that we can add support for measuring the
1350 2007-08-27 Stefan Kost <ensonic@users.sf.net>
1352 * docs/random/ensonic/dynlink.txt:
1353 More thoughs on this.
1355 * plugins/elements/gstcapsfilter.c:
1356 Add bugzilla ticket number to FIXME comment.
1358 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
1360 * docs/design/part-TODO.txt:
1361 * docs/design/part-block.txt:
1364 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
1367 Revert patch which uses $(gst_headers) instead of $^ because it
1370 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
1372 * tests/check/gst/gstbin.c: (GST_START_TEST):
1373 Fix leaks in the new unit test.
1375 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
1378 Don't use GST_INFO before the debug system is actually initialised
1379 (shouldn't do any harm, but won't print anything either, so we can
1380 just as well remove it).
1383 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
1384 compilers that don't support variadic macros (such as MSVC), should
1385 check for debug_level <= __gst_debug_min as well, since that's the
1386 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
1387 inline helper functions. Should improve performance a bit, but also
1388 makes sure uses of GST_INFO et.al are ignored if the debugging
1389 system isn't initialised yet (instead of printing an assertion
1392 2007-08-23 Stefan Kost <ensonic@users.sf.net>
1394 patch by: David Nečas <yeti@physics.muni.cz>
1397 Replace some non portable makefile constructs.
1399 2007-08-21 Stefan Kost <ensonic@users.sf.net>
1401 * common/gtk-doc-plugins.mak:
1402 Grrrrr. Don't remove the types file on make clean.
1404 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
1406 * tools/gst-launch.1.in:
1407 Add colorspace to example pipeline. Fixes #458274.
1409 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
1411 * docs/random/release:
1412 The release manager should run 'make download-po' before making a
1413 release to make sure translations are up-to-date.
1419 Add some new translations.
1421 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
1423 * tools/gst-launch.c: (event_loop), (main):
1424 Don´t try to do any state management when a live pipeline posts
1426 Also make the buffering string translatable.
1428 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
1430 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
1431 (bin_handle_async_start), (gst_bin_handle_message_func):
1433 When adding elements, insert messages into the bus of the newly added
1434 element and make sure the element is the source of the message. This
1435 allows the parent bin to intercept the message and do the
1436 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
1437 messages to the app (which is not allowed).
1440 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1441 Fix testsuite so that is does not work around messages that should not
1442 have been posted in the first place.
1444 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
1446 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
1447 (update_degree), (gst_bin_sort_iterator_next):
1448 Fix annoying bug in the sorted iterator where a sink that is not really
1449 a sink (when it has downstream links) screwed up the iterator.
1451 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
1452 Unit test to verify the fix.
1454 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
1457 Add some more docs for the messages.
1459 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1460 (gst_base_sink_query):
1461 Add some more debugging.
1463 * tools/gst-launch.c: (event_loop):
1464 When interrupting, don't try to set pipeline to PAUSED twice.
1466 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
1469 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
1470 (bin_handle_async_start), (gst_bin_handle_message_func):
1471 Move ASYNC_START message posting to where it belongs, similar to
1473 Don't post ASYNC_START when we are in error.
1474 Post ASYNC_START when we added an async element to a bin.
1476 2007-08-14 Julien MOUTTE <julien@moutte.net>
1478 * gst/gstindex.c: (gst_index_add_association): Fix index entry
1479 generation from vargs. Fixes #466595.
1481 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
1483 * gst/gstbin.c: (gst_bin_element_set_state):
1484 Always change the state of a NO_PREROLL element even if it has ASYNC
1485 elements inside (in case of a bin).
1487 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
1488 Unit test for this case.
1490 2007-08-13 Stefan Kost <ensonic@users.sf.net>
1492 * libs/gst/check/gstbufferstraw.c:
1493 * libs/gst/check/gstcheck.h:
1494 * libs/gst/controller/gstcontroller.c:
1495 * libs/gst/controller/gstcontrolsource.h:
1496 * libs/gst/controller/gstlfocontrolsource.h:
1497 * plugins/elements/gstcapsfilter.h:
1498 * plugins/elements/gstfdsink.h:
1499 * plugins/elements/gstfdsrc.h:
1500 Add more missing docs.
1502 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
1504 * gst/gststructure.c:
1505 Add Since tag to docs.
1507 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
1509 * docs/gst/gstreamer-sections.txt:
1510 * gst/gststructure.c: (gst_structure_get_uint):
1511 * gst/gststructure.h:
1512 Add function to get uint from a structure.
1513 API: gst_structure_get_uint()
1515 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
1517 * gst/gstcaps.c: (gst_caps_set_simple_valist),
1518 (gst_caps_intersect):
1519 Fix proper check for simple caps.
1521 2007-08-10 Stefan Kost <ensonic@users.sf.net>
1523 * docs/gst/Makefile.am:
1524 * docs/libs/Makefile.am:
1525 Remove cruft and do some cleanups.
1527 * docs/gst/gstreamer-docs.sgml:
1528 * docs/libs/gstreamer-libs-docs.sgml:
1529 Prepare for comming gtkdoc features (rebase against online docs).
1531 2007-08-10 Michael Smith <msmith@fluendo.com>
1533 * docs/gst/gstreamer-sections.txt:
1534 Add gst_registry_add_path to docs.
1536 2007-08-10 Michael Smith <msmith@fluendo.com>
1538 * gst/gstregistry.h:
1539 Add gst_registry_add_path, which was missing from this header.
1541 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
1543 * libs/gst/controller/gstlfocontrolsource.c:
1546 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
1548 * libs/gst/base/gstbasesink.c:
1549 Don't send an async_start message during downwards state change if
1550 target state is less than READY
1552 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
1554 translated by: Gabor Kelemen <kelemeng@gnome.hu>
1558 Added Hungarian translation.
1560 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
1567 Updated translations.
1569 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
1571 * libs/gst/controller/Makefile.am:
1572 Dist gstlfocontrolsourceprivate.h
1574 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
1576 * docs/libs/gstreamer-libs.types:
1577 Don't register the enum type gst_lfo_waveform_get_type() in the
1578 .types file - only GObject derived types belong.
1580 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
1582 Patch by: <arenevier at fdn dot fr>
1585 Remove comma from last element in enum to avoid compile errors when
1586 using -pendantic. Fixes #464366.
1588 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
1590 * docs/design/part-TODO.txt:
1591 Add some more TODO items
1593 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
1596 * gst/gstcaps.c: (gst_caps_intersect):
1597 Optimize trivial intersection case between identical caps pointers.
1599 * gst/gstelement.c: (gst_element_continue_state),
1600 (gst_element_set_state_func):
1602 Fix spelling and grammar mistakes.
1604 2007-08-05 Stefan Kost <ensonic@users.sf.net>
1608 Update POTFILES. Fixes #461599.
1610 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
1613 Fix confusing typo in debug output.
1615 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
1617 reviewed by: Stefan Kost <ensonic@users.sf.net>
1619 * libs/gst/controller/Makefile.am:
1620 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
1621 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
1622 (gst_lfo_control_source_new),
1623 (gst_lfo_control_source_set_waveform),
1624 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
1625 (gst_lfo_control_source_finalize),
1626 (gst_lfo_control_source_dispose),
1627 (gst_lfo_control_source_set_property),
1628 (gst_lfo_control_source_get_property),
1629 (gst_lfo_control_source_class_init):
1630 * libs/gst/controller/gstlfocontrolsource.h:
1631 * libs/gst/controller/gstlfocontrolsourceprivate.h:
1632 API: Add GstLFOControlSource, a control source that gives values
1633 for specific timestamps based on several periodic waveforms.
1636 * tests/check/libs/controller.c: (GST_START_TEST),
1637 (gst_controller_suite):
1638 * docs/libs/gstreamer-libs-docs.sgml:
1639 * docs/libs/gstreamer-libs-sections.txt:
1640 * docs/libs/gstreamer-libs.types:
1641 Add documentation and unit tests for GstLFOControlSource.
1643 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
1648 === release 0.10.14 ===
1650 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
1653 releasing 0.10.14, "Breathing Vacuum"
1655 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
1657 * gst/gstelement.c: (gst_element_class_set_details_simple):
1659 Make strings passed to gst_element_class_set_details_simple()
1660 constant, as they should be (#462752).
1662 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
1664 * gst/gstbin.c: (gst_bin_change_state_func),
1665 (bin_handle_async_done), (gst_bin_handle_message_func):
1666 Don't forget about the fact that some element went ASYNC even after a
1667 resync. This makes us post the ASYNC_DONE message correctly.
1670 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
1672 * gst/gstregistry.c: (gst_registry_add_feature):
1673 When replacing an existing feature in the registry, make sure to
1674 continue holding a reference until we've replaced the name string
1675 within our feature hash table. Make sure to use g_hash_table_replace
1676 instead of g_hash_table_insert to ensure the new name string is used
1677 as a key instead of the old one that we're about to free.
1680 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
1682 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
1683 (gst_plugin_feature_set_name):
1684 Revert patch from #459466 until after the release and we can work
1685 out exactly what the problem is (if any).
1687 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
1689 * docs/gst/gstreamer-sections.txt:
1692 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
1694 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
1696 * docs/libs/Makefile.am:
1697 Include our build-prefix libs and includes before the generic ones to
1698 avoid linking against the installed libs when we want the build-tree
1701 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
1703 Patch by: Steve Fink <sphink gmail com>
1705 * docs/pwg/building-testapp.xml:
1706 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
1707 if people try to build or install the example from the plugin
1708 template against a GStreamer from package using the configure
1711 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
1713 Patch by: Steve Fink <sphink gmail com>
1715 * tools/gst-inspect.1.in:
1716 Document --print-all and --print-plugin-auto-install-info command
1717 line options in man page.
1719 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
1721 * docs/gst/gstreamer-sections.txt:
1722 Add docs for new api function.
1724 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
1726 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
1727 * gst/gstelementfactory.h:
1728 API: gst_element_factory_has_interface()
1729 Added method to check if an element factory implements a named
1732 2007-07-25 Stefan Kost <ensonic@users.sf.net>
1735 * docs/gst/gstreamer.types.in:
1736 Another conditional doc check.
1739 * gst/gstparamspecs.h:
1740 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1745 2007-07-24 Stefan Kost <ensonic@users.sf.net>
1747 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
1748 (gst_registry_binary_load_feature),
1749 (gst_registry_binary_load_plugin),
1750 (gst_registry_binary_read_cache):
1751 Print error just once and with additional info.
1753 2007-07-24 Stefan Kost <ensonic@users.sf.net>
1755 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
1756 (helper_find_suggest), (helper_find_get_length),
1757 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
1758 (gst_type_find_helper_for_buffer):
1759 Cleanup the typefindhelper code and add private doc comments.
1761 2007-07-24 Edward Hervey <bilboed@bilboed.com>
1763 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
1764 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
1765 Fix capsfilter for cases where the caps set on capsfilter will provide
1766 additional information.
1769 2007-07-24 Stefan Kost <ensonic@users.sf.net>
1771 * gst/gsttypefindfactory.c:
1772 Fix docs that recommened wrong function to use.
1774 2007-07-23 Stefan Kost <ensonic@users.sf.net>
1776 * tools/gst-inspect.c: (print_plugin_features):
1777 Also give media-type for typefinders in element output.
1779 2007-07-23 Stefan Kost <ensonic@users.sf.net>
1781 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
1782 (gst_registry_remove_features_for_plugin_unlocked),
1783 (gst_registry_add_feature), (gst_registry_remove_feature),
1784 (gst_registry_lookup_feature_locked):
1785 * gst/gstregistry.h:
1786 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
1789 2007-07-23 Stefan Kost <ensonic@users.sf.net>
1791 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
1792 (gst_plugin_feature_set_name):
1793 Avoid double memory usage for pluginfeature names. Fixes #459466.
1795 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
1798 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
1799 driving the pipeline may need to explicitly check for NOT_LINKED as
1800 well, since IS_FATAL doesn't cover that.
1802 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
1804 * docs/pwg/advanced-types.xml:
1805 Fix typo and duplicate entry in video formats list.
1807 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
1809 * libs/gst/controller/gstinterpolation.c:
1810 Also round to the nearest int when using cubic interpolation.
1812 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
1814 * libs/gst/controller/gstinterpolation.c:
1815 When linearly interpolating integer types, round to the nearest int
1816 by adding 0.5. Don't do it for float/double types.
1817 Fixes the failing controller test on my machine, which is somehow
1818 rounding differently than on the buildbots.
1820 2007-07-20 Stefan Kost <ensonic@users.sf.net>
1822 * tools/gst-plot-timeline.py:
1823 Better log parsing (categories can have -). Adjust text vs. lines, so
1824 that they span the same y-range.
1826 2007-07-20 Stefan Kost <ensonic@users.sf.net>
1828 * docs/random/ensonic/audiobaseclasses.txt:
1829 * docs/random/ensonic/dynlink.txt:
1830 * docs/random/ensonic/profiling.txt:
1833 * docs/random/moving-plugins:
1834 Add note to use g_assert type macros.
1836 2007-07-20 Stefan Kost <ensonic@users.sf.net>
1839 * libs/gst/check/Makefile.am:
1840 Add libm check as we use in for plugins.
1842 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
1844 * gst/gstbin.c: (gst_bin_continue_func):
1845 Check that the state_cookie hasn't changed since the continue_func
1846 was scheduled. Avoids problems where the state changes back to
1847 something it shouldn't be because it was changed in the meantime.
1849 2007-07-17 Stefan Kost <ensonic@users.sf.net>
1851 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
1852 (gst_registry_binary_save_string),
1853 (gst_registry_binary_save_pad_template),
1854 (gst_registry_binary_save_feature),
1855 (gst_registry_binary_save_plugin),
1856 (gst_registry_binary_load_feature),
1857 (gst_registry_binary_load_plugin),
1858 (gst_registry_binary_read_cache):
1859 Fix memory leak. Be less verbose in the log.
1861 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
1863 * tests/check/elements/.cvsignore:
1864 Add file to cvsignore as commanded.
1866 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
1868 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
1869 (mq_dummypad_event), (run_output_order_test):
1870 Use a GStaticMutex to protect all cases where libcheck
1871 fail_if/fail_unless macros might be called from multiple threads
1872 simultaneously to avoid errors like:
1873 "check_pack.c:107: :-1081725400:Bad message type arg"
1875 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
1877 * tests/check/pipelines/stress.c: (GST_START_TEST):
1878 Make sure we set the pipeline back to the NULL state before
1879 dropping our final reference.
1881 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
1883 * tests/check/elements/tee.c: (GST_START_TEST):
1884 Make the tee stress-test a little less stressful so it doesn't just
1885 time out on slow-machines, and remove a small race when it's starting
1886 up by adding a get_state() call.
1888 2007-07-16 Stefan Kost <ensonic@users.sf.net>
1891 Avoid reading registry twice on startup. Fixes #457322.
1893 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
1895 * pkgconfig/gstreamer-check-uninstalled.pc.in:
1896 * pkgconfig/gstreamer-check.pc.in:
1897 Substitute the CFLAGS for libcheck into our .pc file too so that
1898 dependent modules will pick it up properly if libcheck is installed
1899 into some other prefix.
1901 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
1904 Revert the pkg-config check for libcheck, since it pulls in the
1905 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
1906 a proper solution, either from the check project, or something else.
1908 2007-07-12 Stefan Kost <ensonic@users.sf.net>
1911 Use pkg-config to locate check.
1913 2007-07-10 Stefan Kost <ensonic@users.sf.net>
1920 Add deprecation guards.
1922 * libs/gst/base/gstcollectpads.h:
1923 Don't document object (this is implicitly private).
1925 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
1927 * gst/gststructure.c: (gst_structure_parse_value):
1928 When deserialising foo=bar without a type cast, check if it's a
1929 boolean before falling back to a string type, otherwise things like
1930 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
1931 because the filtercaps end up having a signed=(string)true field,
1932 which causes problems later when intersection caps.
1934 * tests/check/gst/gststructure.c: (GST_START_TEST):
1935 Add a unit test for this.
1937 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
1939 Reviewed by: Stefan Kost <ensonic@users.sf.net>
1941 * libs/gst/controller/Makefile.am:
1942 * libs/gst/controller/gstcontroller.c:
1943 (gst_controlled_property_add_interpolation_control_source),
1944 (gst_controlled_property_new), (gst_controlled_property_free),
1945 (gst_controller_find_controlled_property),
1946 (gst_controller_new_valist), (gst_controller_new_list),
1947 (gst_controller_new), (gst_controller_remove_properties_valist),
1948 (gst_controller_remove_properties_list),
1949 (gst_controller_remove_properties),
1950 (gst_controller_set_property_disabled),
1951 (gst_controller_set_disabled), (gst_controller_set_control_source),
1952 (gst_controller_get_control_source), (gst_controller_get),
1953 (gst_controller_sync_values), (gst_controller_get_value_array),
1954 (_gst_controller_dispose), (gst_controller_get_type),
1955 (gst_controlled_property_set_interpolation_mode),
1956 (gst_controller_set), (gst_controller_set_from_list),
1957 (gst_controller_unset), (gst_controller_unset_all),
1958 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
1959 * libs/gst/controller/gstcontroller.h:
1960 * libs/gst/controller/gstcontrollerprivate.h:
1961 * libs/gst/controller/gstcontrolsource.c:
1962 (gst_control_source_class_init), (gst_control_source_init),
1963 (gst_control_source_get_value),
1964 (gst_control_source_get_value_array), (gst_control_source_bind):
1965 * libs/gst/controller/gstcontrolsource.h:
1966 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
1967 (gst_object_get_control_source):
1968 * libs/gst/controller/gstinterpolation.c:
1969 (gst_interpolation_control_source_find_control_point_node),
1970 (gst_interpolation_control_source_get_first_value),
1971 (_interpolate_none_get), (interpolate_none_get),
1972 (interpolate_none_get_boolean_value_array),
1973 (interpolate_none_get_enum_value_array),
1974 (interpolate_none_get_string_value_array),
1975 (_interpolate_trigger_get), (interpolate_trigger_get),
1976 (interpolate_trigger_get_boolean_value_array),
1977 (interpolate_trigger_get_enum_value_array),
1978 (interpolate_trigger_get_string_value_array):
1979 * libs/gst/controller/gstinterpolationcontrolsource.c:
1980 (gst_control_point_free), (gst_interpolation_control_source_reset),
1981 (gst_interpolation_control_source_new),
1982 (gst_interpolation_control_source_set_interpolation_mode),
1983 (gst_interpolation_control_source_bind),
1984 (gst_control_point_compare), (gst_control_point_find),
1985 (gst_interpolation_control_source_set_internal),
1986 (gst_interpolation_control_source_set),
1987 (gst_interpolation_control_source_set_from_list),
1988 (gst_interpolation_control_source_unset),
1989 (gst_interpolation_control_source_unset_all),
1990 (gst_interpolation_control_source_get_all),
1991 (gst_interpolation_control_source_get_count),
1992 (gst_interpolation_control_source_init),
1993 (gst_interpolation_control_source_finalize),
1994 (gst_interpolation_control_source_dispose),
1995 (gst_interpolation_control_source_class_init):
1996 * libs/gst/controller/gstinterpolationcontrolsource.h:
1997 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
1998 API: Refactor GstController into the core controller which can take
1999 a GstControlSource for providing actual values for timestamps.
2000 Implement a interpolation control source and use this for backward
2001 compatibility, deprecate a bunch of functions that are now handled
2002 by GstControlSource or GstInterpolationControlSource.
2003 Make it possible to disable the controller completely or only for
2004 specific properties. Fixes #450711.
2005 * docs/libs/gstreamer-libs-docs.sgml:
2006 * docs/libs/gstreamer-libs-sections.txt:
2007 * docs/libs/gstreamer-libs.types:
2008 Add new functions and classes to the docs.
2009 * tests/check/libs/controller.c: (GST_START_TEST),
2010 (gst_controller_suite):
2011 * tests/examples/controller/audio-example.c: (main):
2012 Port unit test and example to the new API and add some new
2015 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
2017 Patch by: Mark Nauwelaerts <manauw at skynet be>
2019 * plugins/elements/gstmultiqueue.c:
2020 (gst_multi_queue_get_internal_links), (apply_buffer),
2021 (single_queue_overrun_cb), (gst_single_queue_new):
2022 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
2023 the pipeline layout can be tracked correctly. Fixes #453732.
2025 2007-07-05 Stefan Kost <ensonic@users.sf.net>
2027 * docs/gst/Makefile.am:
2028 * docs/libs/Makefile.am:
2029 * docs/plugins/Makefile.am:
2030 Simplify --extra-dir as gtkdoc scans recursively.
2032 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
2034 * tools/gst-launch.c: (main):
2035 When we got an error, there is no point in waiting for preroll when
2038 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
2040 * plugins/elements/gsttee.c: (gst_tee_base_init),
2041 (gst_tee_request_new_pad), (gst_tee_release_pad),
2042 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
2043 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
2045 Be a lot smarter when deciding what srcpad to use for proxying
2046 the buffer_alloc. Also handle pad added/removed when doing so.
2048 Keep track of what pads we already pushed on in case we have pads
2049 added/removed while pushing. Fixes #374639
2051 * tests/check/Makefile.am:
2052 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
2054 Added unit test for pad resync.
2056 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
2060 Updated translations.
2062 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
2064 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
2068 Added new Finnish translation.
2070 2007-06-28 Wim Taymans <wim@fluendo.com>
2072 * plugins/elements/gstmultiqueue.c: (apply_buffer),
2073 (single_queue_overrun_cb):
2074 When figuring out when a queue is filled, use our internal time estimate
2075 based on segments, just like check_full does.
2077 2007-06-27 Stefan Kost <ensonic@users.sf.net>
2079 * gst/gstminiobject.c: (gst_mini_object_get_type):
2080 Remove 3 do-nothing methods.
2082 2007-06-27 Wim Taymans <wim@fluendo.com>
2084 Patch by: Tim Angus <tim at ngus dot net>
2086 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
2087 (gst_capsfilter_set_property):
2088 Take a reference instead of a copy when setting "caps".
2089 Fix documentation to clarify this behaviour. Fixes #449414.
2091 2007-06-27 Stefan Kost <ensonic@users.sf.net>
2093 * gst/gstindexfactory.c: (gst_index_factory_get_type):
2094 * gst/gstplugin.c: (gst_plugin_init):
2095 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
2096 * gst/gstquery.c: (gst_query_get_type):
2097 * gst/gstregistry.c: (gst_registry_init):
2098 * gst/gsturi.c: (gst_uri_handler_base_init):
2099 Remove empty instance_init() functions to save relocs and lessen the
2100 noise. Remove some of the function prototypes that are doubled by
2103 2007-06-27 Wim Taymans <wim@fluendo.com>
2105 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
2107 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
2108 Add peer and direction in the XML serialisation of ghostpads.
2111 2007-06-26 Stefan Kost <ensonic@users.sf.net>
2114 Preserve useful information, thanks Tim.
2116 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
2118 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
2119 (gst_single_queue_flush), (apply_segment), (apply_buffer),
2120 (gst_single_queue_push_one), (gst_multi_queue_loop),
2121 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2122 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
2123 (compute_high_id), (gst_single_queue_new):
2124 * plugins/elements/gstmultiqueue.h:
2125 Take the multiqueue lock when updating the fill level so we don't get
2128 After applying a buffer or event on the src pad segment, make sure to
2129 call gst_data_queue_limits_changed() to get the data queue to unblock
2130 and check the filled state again.
2132 Rework the not-linked pad handling so the logic is that not-linked
2133 pads can push as fast as they like, but only so they never get
2134 ahead of any linked pads.
2136 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
2137 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
2138 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
2140 Add a test to check that not-linked pads always stay behind
2145 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
2147 * docs/random/release:
2148 Some updates to the release procedure.
2150 2007-06-26 Stefan Kost <ensonic@users.sf.net>
2152 * gst/gstelementfactory.c: (__gst_element_details_clear):
2153 Microoptimization that saves stunning 80 bytes.
2155 2007-06-25 Stefan Kost <ensonic@users.sf.net>
2157 * docs/plugins/gstreamer-plugins.args:
2158 * docs/plugins/inspect/plugin-coreelements.xml:
2159 * docs/plugins/inspect/plugin-coreindexers.xml:
2160 Update docs with caps info.
2162 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
2165 Updated Italian translation.
2167 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
2171 Update Vietnamese translations.
2173 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
2175 * libs/gst/base/gstbasesink.c:
2176 Remove unused signal enum.
2178 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
2180 * docs/gst/gstreamer-sections.txt:
2182 * gst/gstutils.c: (gst_type_register_static_full):
2183 Beef up and include the docs for gst_type_register_static_full and
2184 gst_element_class_set_details_simple and add the API keyword
2187 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
2189 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
2190 (update_time_level), (gst_single_queue_push_one),
2191 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
2192 (single_queue_overrun_cb), (single_queue_underrun_cb),
2193 (single_queue_check_full):
2194 Fix setting max-* properties after adding queues.
2195 Use IS_FILLED for checking visible items.
2196 Signal overrun if multiple queues overrun.
2197 Add extra debug output.
2198 Patch by: Wim Taymans <wim@fluendo.com>
2200 2007-06-21 Stefan Kost <ensonic@users.sf.net>
2202 * gst/gstelement.c: (gst_element_class_set_details_simple):
2204 * gst/gstutils.c: (gst_type_register_static_full):
2206 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
2207 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
2208 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
2209 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
2210 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
2211 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
2212 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
2213 * plugins/elements/gstidentity.c: (gst_identity_base_init):
2214 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
2215 * plugins/elements/gstqueue.c: (gst_queue_base_init),
2216 (apply_buffer), (gst_queue_chain):
2217 * plugins/elements/gsttee.c: (gst_tee_base_init):
2218 * plugins/elements/gsttypefindelement.c:
2219 (gst_type_find_element_base_init),
2220 (gst_type_find_element_class_init):
2221 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
2222 API: add gst_type_register_static_full
2223 API: add gst_element_class_set_details_simple
2225 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
2227 * docs/pwg/advanced-types.xml:
2228 Fix typo in iana.org URI.
2230 2007-06-19 Andy Wingo <wingo@pobox.com>
2232 * tests/check/pipelines/simple-launch-lines.c
2233 (test_state_change_returns): Enable pull-mode tests now that
2234 basesink has been fixed.
2236 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
2237 Changed from gst_base_sink_is_prerolled, reversing the sense of
2238 the return value. Returns FALSE also if the sink is in pull mode,
2239 in which case it needs no preroll.
2240 (gst_base_sink_query, gst_base_sink_change_state): Update for
2241 needs_preroll change.
2242 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
2243 chaining up, in which we return SUCCESS directly if we activated
2244 in pull mode instead of ASYNC. Involves countering an async_start
2245 message sent before chaining up; not sure if this is correct, in
2246 an ideal world we only send async-start when activating in push
2249 * tests/check/pipelines/simple-launch-lines.c
2250 (test_state_change_returns): New test, partially disabled until
2253 2007-06-19 Wim Taymans <wim@fluendo.com>
2255 * plugins/elements/gstmultiqueue.c: (apply_buffer),
2256 (gst_multi_queue_sink_event):
2259 2007-06-19 Wim Taymans <wim@fluendo.com>
2261 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
2262 (gst_bin_change_state_func), (bin_push_state_continue),
2263 (bin_handle_async_start), (bin_handle_async_done),
2264 (gst_bin_handle_message_func):
2265 Move the common code for posting state-change messages into
2267 Broadcast the state signal after we posted the messages.
2268 Mark the bin as busy when it's doing a state-change.
2269 Make sure async-start/done messages don't interfere with the bin's
2270 state when it's busy.
2271 After the state change, let the bin check which elements completed the
2272 state change while it was busy so that it can update its state.
2274 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
2276 * docs/random/release:
2277 Add a note about updating the doap file to the release checklist
2279 2007-06-18 Wim Taymans <wim@fluendo.com>
2281 * plugins/elements/gstmultiqueue.c: (apply_buffer),
2282 (gst_single_queue_push_one), (gst_multi_queue_chain),
2283 (gst_multi_queue_sink_event):
2284 Make sure we don't reference the buffer/event after we have given away
2285 ownership in the queue.
2287 2007-06-18 Wim Taymans <wim@fluendo.com>
2289 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
2290 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
2291 Update queue state _after_ adding the item in the queue because else we
2292 could end up being full without the element added yet.
2294 2007-06-18 Wim Taymans <wim@fluendo.com>
2296 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
2297 (gst_bin_remove_func), (gst_bin_get_state_func),
2298 (gst_bin_element_set_state), (gst_bin_continue_func),
2299 (bin_push_state_continue), (bin_handle_async_start),
2300 (bin_handle_async_done), (gst_bin_handle_message_func):
2302 Immediatly commit the toplevel bin state when receiving an async-done
2303 message. This enables us to avoid spawning a thread to commit the state
2304 in some common cases and it also avoids some races.
2305 Avoid spawning a state thread when adding/removing async elements to a
2306 toplevel bin. Instead we immediatly update the bin state.
2307 Get rid of iterating all the children when getting the state in the bin
2308 because it is now always up-to-date.
2309 Fix bug where locked elements would always return _SUCCESS even it they
2310 returned NO_PREROLL before being locked.
2311 Fix the order of the state_change, async-start/done messages that was
2312 sometimes incorrect.
2313 Mark the state_dirty field as deprecated, we don't need it anymore as we
2314 are always up-to-date.
2316 * gst/gstelement.c: (gst_element_get_state_func),
2317 (gst_element_continue_state):
2318 Small debug inprovements.
2319 Return the previous element state return when nothing is pending instead
2320 of blindly returning SUCCESS.
2322 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
2324 Add a whole bunch of new testcases.
2326 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
2330 Update translations.
2332 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
2335 Fix typo in the docs.
2337 2007-06-15 Wim Taymans <wim@fluendo.com>
2339 * docs/libs/gstreamer-libs-sections.txt:
2340 Add docs for new methods.
2342 2007-06-15 Wim Taymans <wim@fluendo.com>
2344 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
2345 (gst_multi_queue_item_new):
2346 Don't use GSlice because we don't depend on >= 2.10 yet.
2348 2007-06-15 Wim Taymans <wim@fluendo.com>
2350 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
2351 (update_time_level), (apply_segment), (apply_buffer),
2352 (gst_single_queue_push_one), (gst_multi_queue_item_new),
2353 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
2354 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
2355 (single_queue_underrun_cb), (single_queue_check_full):
2356 Remove debug printf.
2358 2007-06-15 Wim Taymans <wim@fluendo.com>
2360 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
2361 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
2362 (gst_data_queue_set_flushing), (gst_data_queue_push),
2363 (gst_data_queue_pop), (gst_data_queue_drop_head),
2364 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
2365 * libs/gst/base/gstdataqueue.h:
2367 Added methods to get the current levels and to inform the queue that the
2368 'full' limits changed.
2370 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
2371 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
2372 (gst_single_queue_flush), (update_time_level), (apply_segment),
2373 (apply_buffer), (gst_single_queue_push_one),
2374 (gst_multi_queue_item_steal_object),
2375 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
2376 (gst_multi_queue_loop), (gst_multi_queue_chain),
2377 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2378 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
2379 (gst_multi_queue_src_query), (single_queue_overrun_cb),
2380 (single_queue_underrun_cb), (single_queue_check_full),
2381 (gst_single_queue_new):
2382 Keep track of time in the queue by measuring the difference between
2383 running_time on input and output. This gives more accurate results and
2384 can compensate for segments correctly.
2385 Make a queue by default only 5 buffers deep. We will now increase the
2386 buffer size depending on the filledness of the other queues.
2387 Factor out commong flush code.
2388 Make sure we don't add additional refcounts to buffers when we can avoid
2390 Propagate GstFlowReturn differently.
2391 Use GSlice for intermediate GstMultiQueueItems.
2393 Resize queues on over and underruns based on filled level of other
2395 When checking if the queue is filled, prefer to measure in time if we
2396 can and fall back to bytes when no time is known.
2398 * plugins/elements/gstqueue.c:
2401 2007-06-15 Wim Taymans <wim@fluendo.com>
2403 * libs/gst/base/gstbasetransform.c:
2404 (gst_base_transform_sink_event):
2405 Work around the brokenness of the event vmethod in basetransform. Prefer
2406 to return TRUE when the subclass returned FALSE (meaning don't forward
2409 * libs/gst/base/gstbasetransform.h:
2412 2007-06-15 Wim Taymans <wim@fluendo.com>
2414 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
2415 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
2416 (gst_base_src_default_query), (gst_base_src_get_range),
2417 (gst_base_src_start):
2418 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
2421 2007-06-15 Stefan Kost <ensonic@users.sf.net>
2423 * docs/pwg/advanced-types.xml:
2424 Added more formats to caps table.
2426 2007-06-15 Stefan Kost <ensonic@users.sf.net>
2428 * tools/gst-launch.c: (main):
2429 Remove crufy code. GOption does not need this workaround.
2431 2007-06-14 Stefan Kost <ensonic@users.sf.net>
2433 * libs/gst/controller/gstcontroller.c:
2434 (gst_controlled_property_set_interpolation_mode):
2435 Fix wrong getter for enums in controller.
2437 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
2439 * libs/gst/check/gstcheck.c: (gst_check_init):
2440 Intercept criticals and warnings in the Gst-Phonon log domain, so
2441 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
2444 2007-06-14 Edward Hervey <edward@fluendo.com>
2446 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
2447 Since this file doesn't include "gst.h" it will not go through the
2448 macros that disable GST_LOG if debugging was disabled.
2450 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
2452 * libs/gst/check/Makefile.am:
2453 * libs/gst/check/gstcheck.h:
2454 * pkgconfig/gstreamer-check-uninstalled.pc.in:
2455 * pkgconfig/gstreamer-check.pc.in:
2456 Ugly 'fix' for the controller unit test on the p5 bot: in
2457 fail_unless_equals_float() check whether the values are 'almost
2458 equal' by allowing a small absolute error, which should be good
2459 enough for our use cases (normal numbers and values close to 0).
2460 Proper fixage left to floating point arithmetic aficionados.
2462 2007-06-14 Stefan Kost <ensonic@users.sf.net>
2464 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
2465 (gst_base_sink_render_object), (gst_base_sink_get_position):
2466 Add two breaks thats where missing.
2468 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
2470 * docs/libs/gstreamer-libs-sections.txt:
2471 * libs/gst/check/gstcheck.h:
2472 API: add fail_unless_equals_float() and assert_equals_float().
2473 Add documentation for some of the macros.
2475 * tests/check/libs/controller.c: (GST_START_TEST):
2476 Use newly-added asserts.
2478 2007-06-14 Stefan Kost <ensonic@users.sf.net>
2480 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
2481 Show the caps change in the log to help spotting the case of not
2482 exactly matching caps.
2484 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
2486 * docs/pwg/building-boiler.xml:
2487 Fix typos, spotted by Thijs Vermeir (#447190).
2489 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
2491 * docs/plugins/tmpl/.cvsignore:
2492 Ignore file to keep the buildbots happy
2494 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
2496 * docs/plugins/Makefile.am:
2497 * docs/plugins/gstreamer-plugins-docs.sgml:
2498 * docs/plugins/gstreamer-plugins-sections.txt:
2499 Pull fdsink into the docs too.
2501 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
2503 * libs/gst/controller/gstinterpolation.c:
2504 Actually use the new functions with min/max checks for the trigger and
2505 none interpolation modes for get() and get_value_array() instead of
2508 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
2510 * libs/gst/controller/gstcontroller.c:
2511 (gst_controlled_property_free):
2512 Unset the minimum and maximum GValues when freeing the corresponding
2513 GstControllerProperty struct.
2515 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
2517 * libs/gst/controller/gstcontroller.c:
2518 (gst_controlled_property_new):
2519 * libs/gst/controller/gstcontrollerprivate.h:
2520 * libs/gst/controller/gstinterpolation.c:
2521 (gst_controlled_property_find_control_point_node),
2522 (interpolate_none_get), (interpolate_none_get_enum_value_array),
2523 (interpolate_none_get_string_value_array),
2524 (interpolate_trigger_get),
2525 (interpolate_trigger_get_enum_value_array),
2526 (interpolate_trigger_get_string_value_array):
2527 Protect against values larger or smaller than the minimum or maximum
2528 allowed value for the property when using values that can be compared.
2530 Optimize trigger interpolator a bit by taking the last requested value
2531 into account instead of always looping through the complete list.
2533 Fix coding style a bit, everywhere else we use "return foo" instead
2536 * tests/check/libs/controller.c: (GST_START_TEST),
2537 (gst_controller_suite):
2538 Add unit test for the protection against too large or too small
2541 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
2543 * docs/random/slomo/controller.txt:
2544 Add some thoughts about the future of the controller.
2546 2007-06-08 Wim Taymans <wim@fluendo.com>
2548 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
2549 Don't overflow in retimestamping code.
2551 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
2553 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
2554 Use gst_util_guint64_to_gdouble for conversions.
2555 * win32/common/libgstreamer.def:
2556 Add new exported functions.
2558 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
2561 Small docs addition.
2563 2007-06-07 Stefan Kost <ensonic@users.sf.net>
2566 Remove that test line again.
2568 2007-06-07 Stefan Kost <ensonic@users.sf.net>
2571 Test commit mail sending.
2573 2007-06-07 Stefan Kost <ensonic@users.sf.net>
2576 Fix typo and test commit mail sending.
2578 2007-06-07 Stefan Kost <ensonic@users.sf.net>
2580 * tests/examples/controller/audio-example.c:
2581 Improve comment and test commit mail sending.
2583 2007-06-07 Wim Taymans <wim@fluendo.com>
2585 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
2586 (gst_bin_remove_func), (gst_bin_element_set_state),
2587 (bin_handle_async_start), (bin_handle_async_done),
2588 (gst_bin_handle_message_func):
2589 Add helper function to find messages.
2590 Generate the async-done messages together with the state change
2592 Small cleanups in handling toplevel bins.
2594 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
2596 * libs/gst/base/gstdataqueue.c:
2597 * libs/gst/base/gstdataqueue.h:
2598 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
2599 (gst_multi_queue_item_new), (gst_multi_queue_chain),
2600 (gst_multi_queue_sink_event):
2601 * tests/check/elements/multiqueue.c: (multiqueue_suite):
2602 Fix multiqueue leaking buffers and events when downstream or the
2603 queue are flushing. Make refcounting assumptions explicit and
2604 document them (shouldn't break existing code that uses it other than
2605 maybe leak miniobjects, but that already happens anyway). Add unit
2606 test for the most common flushing case. Fixes #423700.
2608 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
2610 * libs/gst/controller/gstcontroller.c:
2611 Clarify docs: The get_all, get_value_array(s) functions
2612 don't modify the GObject properties.
2614 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
2616 * libs/gst/controller/gstcontroller.c:
2617 (gst_controlled_property_set_interpolation_mode),
2618 (gst_controlled_property_prepend_default),
2619 (gst_controlled_property_new), (gst_controller_set_unlocked),
2620 (gst_controller_set), (gst_controller_set_from_list),
2621 (gst_controller_unset), (gst_controller_unset_all):
2622 * libs/gst/controller/gstcontrollerprivate.h:
2623 * libs/gst/controller/gstinterpolation.c:
2624 Factor out the 'set' logic into gst_controller_set_unlocked for the
2625 gst_controller_set and gst_controller_set_from_list functions.
2627 To make life of the interpolators easier always add a control point
2628 at timestamp zero with the default value.
2630 In the linear interpolator make things more obvious by better variable
2633 Implement cubic interpolation mode (by using a natural cubic spline)
2634 and map the quadratic interpolation mode to this too (as quadratic
2635 doesn't make much sense, see discussion on the list).
2637 * tests/check/libs/controller.c: (GST_START_TEST),
2638 (gst_controller_suite):
2639 Add unit test for the cubic interpolation mode and check everywhere
2640 if the interpolation mode could be set as expected.
2642 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
2644 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
2645 Don't use GLib-2.10 functions, we still depend on
2646 GLib-how-old-is-it-again-2.8.
2648 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
2650 * docs/gst/gstreamer-sections.txt:
2654 * gst/gstparamspecs.c: (_gst_param_fraction_init),
2655 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
2656 (_gst_param_fraction_values_cmp),
2657 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
2658 * gst/gstparamspecs.h:
2660 * tests/check/Makefile.am:
2661 * tests/check/gst/.cvsignore:
2662 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
2663 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
2664 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
2665 (GST_START_TEST), (gst_param_spec_suite):
2666 API: add GstParamSpecFraction, so elements can have fraction
2667 properties without lots of painful string parsing (#444648).
2669 2007-06-05 Wim Taymans <wim@fluendo.com>
2671 * gst/gstobject.c: (gst_object_class_init):
2672 Fix signal signature.
2675 Add small clarification in the api docs.
2677 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
2678 States are protected with object lock.
2680 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
2683 I should probably be listed as an author by now.
2685 * docs/random/release:
2686 Update the release doc
2688 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
2691 Make docs for gst_value_compare() mention return enums that
2694 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
2699 === release 0.10.13 ===
2701 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
2704 releasing 0.10.13, "With or without you"
2706 2007-05-25 Wim Taymans <wim@fluendo.com>
2708 * gst/gstbin.c: (bin_handle_async_done):
2709 Make sure that the child bin stops after completing the async state
2710 change so that the parent can continue the state change to PLAYING.
2713 2007-05-25 Wim Taymans <wim@fluendo.com>
2715 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
2716 (unref_data), (gst_collect_pads_remove_pad),
2717 (gst_collect_pads_check_pads):
2718 Use additional refcounting to avoid crashes when dynamically adding and
2719 removing pads. Fixes #420206.
2721 2007-05-24 Wim Taymans <wim@fluendo.com>
2723 * tools/gst-launch.c: (event_loop):
2724 When buffering goes from a two digit to a single digit number, make sure
2725 to remove the old second digit by writing a blank over it.
2727 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
2729 * libs/gst/base/gstdataqueue.c:
2730 Eliminate tabs and trailing comma in enum list; fix some typos.
2732 2007-05-24 Wim Taymans <wim@fluendo.com>
2734 * tests/check/gst/gstbin.c: (GST_START_TEST):
2735 Allow refcount of 3 and 4 because some state thread might still be busy
2738 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
2740 * plugins/elements/Makefile.am:
2741 * plugins/elements/gstmultiqueue.h:
2742 * plugins/elements/gstqueue.h:
2743 These are not installed headers, no need for padding.
2745 2007-05-24 Wim Taymans <wim@fluendo.com>
2747 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
2748 (gst_bin_continue_func):
2749 Enable latency for next release.
2750 Restore STATE_LOCK around recalc_state that was left out during the
2751 rewrite and could result in racy behaviour when _get_state and
2752 recalc_state are run concurrently. See #440463.
2754 2007-05-23 Wim Taymans <wim@fluendo.com>
2756 * tests/check/gst/gstsystemclock.c: (store_callback),
2758 Improve test_async_order to also work when both timers are already
2759 expired when we get scheduled to check it.
2761 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
2763 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
2764 (gst_bin_set_property), (gst_bin_get_property),
2765 (gst_bin_remove_func), (gst_bin_handle_message_func):
2767 'private' is a c++ keyword, let's not use that in header files,
2768 otherwise c++ compilers will throw a tantrum.
2770 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
2772 * plugins/elements/gstelements.c:
2773 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
2774 (gst_file_sink_get_current_offset):
2775 * plugins/indexers/gstindexers.c: (plugin_init):
2776 Use #ifdef for HAVE_XYZ for consistency.
2778 * tests/check/Makefile.am:
2779 * tests/check/elements/.cvsignore:
2780 * tests/check/elements/filesink.c: (setup_filesink),
2781 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
2782 Add some unit tests for filesink.
2784 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
2786 Patch by: Mark Nauwelaerts <manauw at skynet be>
2788 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
2789 (gst_file_sink_query), (gst_file_sink_do_seek),
2790 (gst_file_sink_get_current_offset), (gst_file_sink_render):
2791 * plugins/elements/gstfilesink.h:
2792 Fix position reporting; rename data_written member to current_pos to
2793 reflect its real meaning (fixes #412648).
2795 2007-05-22 Edward Hervey <edward@fluendo.com>
2797 * docs/gst/gstreamer-sections.txt:
2798 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2799 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
2800 (gst_bin_remove_func), (gst_bin_handle_message_func):
2802 Add a property for bins that handle the state change of their childs.
2805 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2807 * libs/gst/controller/gstinterpolation.c:
2808 Use an array of the correct type when using _get_value_array with
2809 linear interpolation.
2811 2007-05-22 Stefan Kost <ensonic@users.sf.net>
2813 * gst/gstelement.c (gst_element_requires_clock,
2814 gst_element_provides_clock, gst_element_request_pad,
2815 gst_element_class_set_details, gst_element_class_set_details_simple,
2816 gst_element_default_send_event, gst_element_abort_state,
2817 gst_element_continue_state, gst_element_set_state,
2818 gst_element_set_state_func, iterator_activate_fold_with_resync):
2819 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
2820 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
2821 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
2822 gst_pad_get_range, gst_pad_pull_range):
2823 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
2824 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
2825 GstPadActivateModeFunction, GstPadChainFunction,
2826 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
2827 GstPadFixateCapsFunction, GstPadTemplate):
2828 * gst/gstpipeline.c (gst_pipeline_change_state,
2829 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
2830 gst_pipeline_set_clock, gst_pipeline_auto_clock,
2831 gst_pipeline_get_delay):
2832 Whitespace and docs fixes.
2834 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
2836 * libs/gst/controller/gstinterpolation.c:
2837 (interpolate_trigger_get_enum_value_array),
2838 (interpolate_trigger_get_string_value_array):
2839 Add support for retrieving value arrays when using the trigger
2842 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
2844 * libs/gst/controller/gstcontroller.c:
2845 (gst_controller_get_value_array):
2846 * libs/gst/controller/gstcontroller.h:
2847 Clarify the docs of gst_controller_get_value_array(): The array where
2848 the values should be written to must be allocated as there seems to be
2849 no way to get the size of a random GType. This doesn't change any
2850 behaviour. Also fix some typos all over the place and remove an unused,
2851 commented function that is not necessary as g_object_set() could be
2853 * tests/check/libs/controller.c: (GST_START_TEST),
2854 (gst_controller_suite):
2855 Add unit test for gst_controller_get_value_array().
2857 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
2859 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
2861 Disable part of the gst_buffer_try_new_and_alloc test, because
2862 it can happily succeed on 64-bit systems where there's more address
2865 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
2867 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
2868 Add unit test for the improved caps checking from bug #421543.
2870 2007-05-21 Wim Taymans <wim@fluendo.com>
2872 * docs/design/part-synchronisation.txt:
2875 * gst/gstbin.c: (gst_bin_query):
2876 * plugins/elements/gstqueue.c: (apply_segment):
2882 2007-05-21 Wim Taymans <wim@fluendo.com>
2884 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
2885 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
2886 (gst_pad_configure_src):
2887 Added simple version of improved caps checking. It was previously
2888 assumed that a setcaps function would check the validity of the caps but
2889 people prefer us to check caps against the template automatically.
2892 2007-05-21 Wim Taymans <wim@fluendo.com>
2894 * libs/gst/base/gstbasetransform.h:
2895 Fix macro for locking/unlocking the transform lock.
2897 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
2899 * docs/plugins/tmpl/.cvsignore:
2902 2007-05-18 Edward Hervey <edward@fluendo.com>
2904 * plugins/elements/gstqueue.c: (gst_queue_loop):
2905 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
2906 for the subtle art of warning a potentially blocking thread that it
2907 should check the source pad return value, and relay the information
2910 2007-05-18 Edward Hervey <edward@fluendo.com>
2912 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
2913 Release the queue lock !
2915 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
2917 * docs/libs/gstreamer-libs-sections.txt:
2918 Add the two new controller functions to the appropiate places.
2920 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
2922 reviewed by: Stefan Kost <ensonic@users.sf.net>
2924 * libs/gst/controller/gstcontroller.c:
2925 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
2926 (_gst_controller_get_property), (_gst_controller_set_property),
2927 (_gst_controller_init), (_gst_controller_class_init):
2928 * libs/gst/controller/gstcontroller.h:
2929 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
2930 (gst_object_get_control_rate), (gst_object_set_control_rate):
2931 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
2932 Add API that provides sync suggestion timestamps for elements that
2933 call gst_object_sync_values() from which those elements can subdivide
2934 their processing loop to get the best results for the controlled
2935 properties. For now it just suggests last_sync + control_rate as
2936 new timestamp but this will be improved in the future.
2938 While doing that change the control-rate property to a GstClockTime
2939 from guint and change it's meaning from samples to nanoseconds as
2940 the GstController doesn't know anything about sampling rate. Strictly
2941 speaking this breaks ABI but as the control-rate property didn't do
2942 anything in the past and as such couldn't be used this should be no
2945 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
2947 reviewed by: Stefan Kost <ensonic@users.sf.net>
2949 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
2950 (gst_controller_unset_all):
2951 * libs/gst/controller/gstcontrollerprivate.h:
2952 * libs/gst/controller/gstinterpolation.c:
2953 (gst_controlled_property_find_control_point_node):
2954 Save last synced value from the list to continue searching from there
2955 in future syncs. This speeds everything up a bit.
2957 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
2959 reviewed by: Stefan Kost <ensonic@users.sf.net>
2961 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
2962 (gst_control_point_find), (gst_controlled_property_new),
2963 (gst_control_point_free), (gst_controlled_property_free),
2964 (gst_controller_set), (gst_controller_set_from_list),
2965 (gst_controller_unset), (gst_controller_unset_all),
2966 (gst_controller_sync_values):
2967 * libs/gst/controller/gstcontroller.h:
2968 * libs/gst/controller/gstcontrollerprivate.h:
2969 * libs/gst/controller/gstinterpolation.c:
2970 (gst_controlled_property_find_control_point_node),
2971 (interpolate_none_get), (interpolate_trigger_get):
2972 Add a new private GstControlPoint struct which "inherits" from
2973 GstTimedValue to allow different interpolators to store internal
2974 values next to each control point. From the outside everything is
2975 still a GstControlPoint so we don't loose binary compatibility.
2976 Also fixup all the GValue handling to not leak GValues or list nodes.
2977 * tests/check/libs/controller.c: (GST_START_TEST):
2978 Free the list nodes and GValues in the controller_misc test.
2980 2007-05-17 Edward Hervey <edward@fluendo.com>
2985 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
2987 * gst/gstplugin.c: (gst_plugin_load_file):
2988 If we fail to load a plugin because of unresolved symbols or missing
2989 libraries and spew a warning to stderr, we may just as well mention
2990 which plugin it was that failed to load.
2992 2007-05-13 David Schleef <ds@schleef.org>
2994 * docs/Makefile.am: the gtk-doc makefile snippet correctly
2995 handles the case when ENABLE_GTK_DOC is false, and installs
2996 the prebuilt documentation. So gtk-doc subdirs are
2997 unconditionally enabled. Fixes: #349099.
2999 2007-05-13 David Schleef <ds@schleef.org>
3001 * gst/gstutils.h: Reword some documentation.
3003 2007-05-12 David Schleef <ds@schleef.org>
3005 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
3006 do anything with the passed "module" parameter, so remove it.
3007 Allows removal of additional vestigal code.
3009 2007-05-12 David Schleef <ds@schleef.org>
3012 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
3013 Switch to using g_stat() because it's more portable.
3015 2007-05-12 David Schleef <ds@schleef.org>
3018 Add GST_DISABLE_OPTION_PARSING, in order to disable option
3019 parsing for embedded systems.
3020 * gst/gstelementfactory.c:
3021 Allow gst_element_register() to be called with plugin==NULL.
3022 Did nobody notice that static elements were broken?
3024 2007-05-12 Wim Taymans <wim@fluendo.com>
3026 * tools/gst-launch.c: (event_loop):
3027 Give more interesting info when buffering starts and stops.
3028 Fix case where buffering starts but we fail to update the buffering flag
3029 because the target state is not PLAYING.
3031 2007-05-12 Wim Taymans <wim@fluendo.com>
3033 * plugins/elements/gstqueue.c: (gst_queue_init),
3034 (gst_queue_finalize), (update_time_level), (apply_segment),
3035 (apply_buffer), (gst_queue_locked_flush),
3036 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
3037 (gst_queue_handle_sink_event), (gst_queue_chain),
3038 (gst_queue_push_one), (gst_queue_loop):
3039 * plugins/elements/gstqueue.h:
3040 Refactor an cleanup queue a bit.
3041 Do better time level calculations that also work when the srcpad is not
3043 Remove some unneeded debug lines.
3045 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
3046 Added testcase for time level measurement.
3047 Try to make some stuff more racefree.
3049 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
3051 * gst/gsturi.c: (gst_element_make_from_uri):
3052 Don't leak plugin feature.
3054 * tests/check/Makefile.am:
3055 * tests/check/gst/.cvsignore:
3056 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
3057 Add brain-dead unit test.
3059 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
3061 Patch by: Jeroen Wouters <woutersj at gmail com>
3063 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
3064 Treat protocol strings in a case-insensitive way (#437563).
3066 2007-05-11 Michael Smith <msmith@fluendo.com>
3068 * gst/gstplugin.c: (gst_plugin_load_file):
3069 * gst/gstregistry.c: (gst_registry_scan_path_level):
3070 Don't print a g_warning for any failure to load a shared object.
3071 Instead, push this down into gstplugin.c, and warn _only_ if we
3072 failed to open the module (i.e. failure to link).
3073 Avoids warnings on normal, working, non-plugin .so files.
3075 2007-05-11 Stefan Kost <ensonic@users.sf.net>
3077 * gst/gstplugin.c (gst_plugin_load_file):
3078 * gst/gstregistry.c (GST_CAT_DEFAULT,
3079 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
3080 Print a g_warning if there was an error when loading a plugins during
3081 registry scan. The shuld help beginners starting with gst-plugin
3084 2007-05-10 Wim Taymans <wim@fluendo.com>
3086 * plugins/elements/gstqueue.c: (gst_queue_class_init),
3087 (update_time_level), (gst_queue_locked_flush),
3088 (gst_queue_handle_sink_event), (gst_queue_chain),
3089 (gst_queue_push_one), (gst_queue_loop):
3090 * plugins/elements/gstqueue.h:
3091 Be smarter when calculating the current amount of data in the queue by
3092 measuring the difference between start and end timestamps (in running
3093 time) inside the queue. Fixes #432876.
3094 API: GstQueue::pushing to notify elements that we are pushing data again
3095 since the running signal is rather broken for this purpose.
3097 2007-05-10 Stefan Kost <ensonic@users.sf.net>
3099 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
3100 gst_queue_base_init, gst_queue_init):
3103 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
3105 * win32/common/libgstreamer.def:
3106 Add new exported functions.
3107 * win32/vs6/grammar.dsp:
3108 Use grammar pre-generated files.
3110 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
3112 Based on patch by: Peter Kjellerstedt <pkj at axis com>
3115 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
3117 * gst/gstutils.c: (gst_parse_bin_from_description):
3119 Maintain API and ABI when --disable-parse is used. Now that
3120 we have an appropriate error code, we can just return NULL and the
3121 appropriate error when gst_parse_launch() is used despite it having
3122 been disabled (#342564).
3124 * tests/check/Makefile.am:
3125 * tests/check/pipelines/.cvsignore:
3126 * tests/check/pipelines/parse-disabled.c:
3127 Make sure these functions exist and return NULL plus a GError when
3128 --disable-parse is used.
3130 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
3132 * tests/benchmarks/complexity.c: (main):
3133 * tests/benchmarks/mass-elements.c: (main):
3134 Set a good example and don't leak messages.
3136 2007-05-06 Stefan Kost <ensonic@users.sf.net>
3138 * docs/gst/Makefile.am:
3139 * docs/libs/Makefile.am:
3140 Correct fixxrefs options.
3142 * docs/plugins/Makefile.am:
3143 * docs/plugins/gstreamer-plugins-docs.sgml:
3144 * docs/plugins/gstreamer-plugins-sections.txt:
3145 * plugins/elements/Makefile.am:
3146 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
3147 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
3148 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
3149 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
3150 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
3151 _GstCapsFilterClass, trans_class):
3152 * plugins/elements/gstelements.c (name, rank, type, _elements):
3153 * plugins/elements/gstidentity.c
3154 (gst_identity_check_imperfect_timestamp,
3155 gst_identity_check_imperfect_offset):
3156 Document capsfilter and add doc-blurb to identity.
3158 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
3160 * libs/gst/controller/gstcontroller.c:
3161 (gst_controlled_property_set_interpolation_mode):
3162 * libs/gst/controller/gstinterpolation.c:
3163 Don't crash if someone tries to set an interpolation mode that
3164 is invalid or that isn't supported yet. Fixes #422295.
3166 * tests/check/libs/controller.c: (GST_START_TEST),
3167 (gst_controller_suite):
3168 Add a test case for the above.
3170 2007-05-03 Edward Hervey <edward@fluendo.com>
3172 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
3173 Properly set the last_stop position on GstSegment. This will only happen
3174 if there is a buffer to push out.
3176 2007-05-03 Wim Taymans <wim@fluendo.com>
3178 * libs/gst/base/gstbasetransform.c:
3179 (gst_base_transform_buffer_alloc):
3180 always_in_place does not mean that the sink and source caps are the
3181 same! Make sure we don't blindly proxy the buffer_alloc in this case.
3183 2007-05-03 Wim Taymans <wim@fluendo.com>
3185 * docs/libs/gstreamer-libs-sections.txt:
3186 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
3187 (gst_base_src_default_query), (gst_base_src_get_range):
3188 * libs/gst/base/gstbasesrc.h:
3189 API: gst_base_src_query_latency(). Added method so that subclasses can
3190 easily get the latency values of the base source class.
3192 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
3194 * tools/gst-inspect.c (print_implementation_info):
3197 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
3199 * tools/Makefile.am:
3200 * tools/gst-launch.1.in:
3201 Don't create a customised man page based on the host architecture,
3202 describe the default registry path generically. That way the man
3203 page is the same for all architectures and packagers have one
3204 multilib issue less to deal with. Fixes #434926.
3206 2007-05-02 Wim Taymans <wim@fluendo.com>
3209 Fix documentation as spotted by rg on IRC.
3211 2007-04-29 Stefan Kost <ensonic@users.sf.net>
3214 Improve docs for gst_element_{link,unlink}.
3216 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
3218 * docs/design/part-events.txt:
3219 * docs/design/part-overview.txt:
3223 * libs/gst/base/gstbasesink.c:
3224 Typo fixes; minor docs addition.
3226 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
3228 * docs/gst/gstreamer-sections.txt:
3229 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
3230 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
3232 API: Add gst_uri_protocol_is_supported(), which checks if a sink
3233 or src that supports a given URI protocol exists.
3235 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
3237 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3238 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3239 Set the location to NULL if "file://" is set as URI. Otherwise
3240 some random previous URI would still be set if "file://" is
3241 set on an already used filesink/filesrc.
3243 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
3245 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3246 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3247 Special case the "file://" URI as as this is used by some
3248 applications to test with gst_element_make_from_uri if there's
3249 an element that supports the URI protocol.
3250 Also move the g_path_is_absolute() check for the location part
3251 of the URI to also check this for "file://localhost/bla" URIs.
3253 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
3255 * docs/gst/gstreamer-sections.txt:
3256 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
3258 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
3260 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
3262 2007-04-26 Stefan Kost <ensonic@users.sf.net>
3264 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
3265 (gst_registry_binary_load_pad_template),
3266 (gst_registry_binary_load_plugin),
3267 (gst_registry_binary_read_cache):
3268 * gst/gstregistrybinary.h:
3269 Implement no-mmap alternative for registry reading. Do code cleanups.
3270 Add more comments about avoiding strdups for all text data. Comments
3273 2007-04-25 Stefan Kost <ensonic@users.sf.net>
3275 * gst/gstregistrybinary.h (GstBinaryPluginElement,
3276 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
3277 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
3278 Comment structs and reformat to fix the build (that stuff should go
3279 into a priv. header).
3281 2007-04-25 Stefan Kost <ensonic@users.sf.net>
3283 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3284 (gst_registry_binary_load_feature):
3285 * gst/gstregistrybinary.h:
3286 Refactor so that we can implement multiple features. Add support for
3287 TypeFindFactory features.
3289 2007-04-24 Stefan Kost <ensonic@users.sf.net>
3291 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
3294 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
3296 2007-04-23 Stefan Kost <ensonic@users.sf.net>
3298 * gst/gstbin.c: (gst_bin_element_set_state),
3299 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
3300 (bin_handle_async_done), (gst_bin_handle_message_func):
3301 Fix build with --gst-disable-gst-debug
3303 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
3305 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
3306 Make sure streaming has finished before calling the ::stop() vfunc,
3307 since that vfunc might clear state which is being used in the
3308 streaming thread. This fixes a race that caused crashes in
3309 audioresample when shutting down a pipeline (#420106).
3311 2007-04-20 Stefan Kost <ensonic@users.sf.net>
3313 * docs/gst/gstreamer-sections.txt:
3314 That was one byte missing.
3316 2007-04-20 Stefan Kost <ensonic@users.sf.net>
3319 * docs/gst/gstreamer-sections.txt:
3321 * gst/gstconfig.h.in:
3322 * gst/gstobject.c: (gst_object_class_init),
3323 (gst_signal_object_class_init):
3325 2nd attempt to have a xml-less build as a joined effort of #413123
3328 2007-04-20 Stefan Kost <ensonic@users.sf.net>
3330 * docs/design/draft-tagreading.txt:
3331 Added open issues/thoughts to draft.
3333 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3335 * gst/parse/grammar.tab.pre.c:
3336 * gst/parse/grammar.tab.pre.h:
3337 * gst/parse/lex._gst_parse_yy.pre.c:
3338 Update the prebuild parser sources.
3340 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3342 * gst/parse/Makefile.am:
3343 And now fix the building of the flex sources. Now everything should
3346 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3348 * gst/parse/Makefile.am:
3349 Now hopefully fix the build failures by setting proper rule
3350 dependencies and moving instead of copying.
3352 2007-04-19 Stefan Kost <ensonic@users.sf.net>
3354 * tests/benchmarks/complexity.gnuplot:
3355 * tests/benchmarks/complexity.scm:
3356 * tests/benchmarks/mass-elements.gnuplot:
3357 * tests/benchmarks/mass-elements.scm:
3358 Total licensification.
3360 2007-04-19 Stefan Kost <ensonic@users.sf.net>
3362 * gst/parse/Makefile.am:
3363 Fix the build by correcting the rule that gave wrong files to flex.
3365 2007-04-19 Stefan Kost <ensonic@users.sf.net>
3367 * tests/benchmarks/complexity.c:
3368 * tests/benchmarks/mass-elements.c:
3369 Change licence to LGPL as granted by Benjamin and Andy.
3371 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3373 * gst/parse/Makefile.am:
3374 Add correct grammar.tab.h dependency if compiling without new enough
3375 flex. Fixes #431150.
3377 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
3379 * gst/parse/Makefile.am:
3380 Fix typo and use outdated sources if the flex/bison sources are newer
3381 than the pregenerated ones but flex is too old. Print a warning in
3382 that case. This should fix the build on the build bot.
3384 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
3386 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
3387 * gst/parse/Makefile.am:
3388 * gst/parse/grammar.y:
3389 * gst/parse/parse.l:
3390 Make the parser reentrant and recursively callable. This requires flex
3391 >= 2.5.31, for older versions pregenerated sources are used as we
3392 can't bump the build dependency. Finally fixes #349180.
3394 * gst/gstparse.c: (gst_parse_launch):
3395 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
3398 * docs/gst/Makefile.am:
3399 * docs/gst/Makefile.am:
3400 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
3401 (__gst_parse_strfree), (__gst_parse_link_new),
3402 (__gst_parse_link_free), (__gst_parse_chain_new),
3403 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
3404 (gst_parse_element_set), (gst_parse_free_link),
3405 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
3406 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
3407 (_gst_parse_launch):
3408 * gst/parse/grammar.tab.pre.h:
3409 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
3410 (yy_get_previous_state), (yy_try_NUL_trans), (input),
3411 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
3412 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
3413 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
3414 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
3415 (_gst_parse_yypop_buffer_state),
3416 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
3417 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
3418 (yy_fatal_error), (_gst_parse_yyget_extra),
3419 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
3420 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
3421 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
3422 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
3423 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
3424 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
3425 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
3426 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
3427 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
3428 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
3429 (_gst_parse_yyfree):
3430 If the installed flex version is too old use pre-generated parser
3431 sources. These pre-generated parser sources are always updated when
3432 the actual flex/bison sources change but require everybody who wants
3433 to change something in the parser to have flex >= 2.5.31 installed.
3435 2007-04-18 Stefan Kost <ensonic@users.sf.net>
3437 * common/m4/gst-gettext.m4:
3438 * gst/gst-i18n-lib.h:
3439 Make --disable-nls to work
3441 2007-04-17 Wim Taymans <wim@fluendo.com>
3443 * gst/gstconfig.h.in:
3444 Revert previous change that broke the build.
3446 2007-04-17 Stefan Kost <ensonic@users.sf.net>
3450 * gst/gstconfig.h.in:
3451 Drop libxml2 dependency when building with
3452 --enable-binary-registry --disable-loadsave
3454 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
3456 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
3457 (gst_registry_binary_read_cache):
3458 * gst/gstregistrybinary.h:
3459 Remove unnecessary <sys/mman.h> include which broke the win32 build
3460 with MingW; move includes from header file to .c file, even if the
3461 header file isn't installed; use g_strerror() where UTF-8 strings
3462 are expected, such as in GST_DEBUG messages.
3464 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
3466 * docs/libs/gstreamer-libs-sections.txt:
3467 Remove bogus addition for API I didn't end up keeping.
3469 * libs/gst/base/gstbasesrc.h:
3470 Mention Since: 0.10.13 in the documentation.
3472 Add the API keyword to the previous ChangeLog entry.
3474 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
3476 * docs/libs/gstreamer-libs-sections.txt:
3477 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3478 (gst_base_src_default_prepare_seek_segment),
3479 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
3480 * libs/gst/base/gstbasesrc.h:
3481 Allow basesrc derived classes to execute seeks in other formats
3482 by providing a prepare_seek_segment vmethod. Sub-classes can choose
3483 to prepare the GstSegment in any format that their perform_seek method
3484 will be able to understand. The default implementation provides the
3485 old behaviour of attempting to convert the seek offsets to the
3486 configured native format.
3488 API: basesrc::prepare_seek_segment vmethod.
3490 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
3492 * gst/gstelement.c: (gst_element_get_state_func):
3493 Don't output the same debug statement twice.
3495 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
3496 (gst_adapter_peek), (gst_adapter_take_buffer):
3497 Optimise the case where we have buffers at the head of the queue that
3498 can be joined quickly (because they're contiguous sub-buffers) by
3499 merging them together rather than copying data out into new memory.
3501 * gst/parse/grammar.y:
3502 * tests/check/pipelines/parse-launch.c:
3503 Fix a leak in an error path for parse_launch, and add a check
3504 for it to the testsuite.
3506 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
3508 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
3509 Don't deadlock when releasing a pad - gst_pad_set_active may try
3510 and take the multiqueue lock too.
3512 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
3514 * gst/gsterror.c: (_gst_core_errors_init):
3516 API: add GST_CORE_ERROR_DISABLED (#392804).
3518 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
3520 * docs/faq/gst-uninstalled:
3521 don't get empty paths on the PATH variables
3522 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
3523 Don't format for the uncommon terminal width of 84 characters.
3525 2007-04-06 Wim Taymans <wim@fluendo.com>
3527 * gst/gstpipeline.c: (reset_stream_time),
3528 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
3529 Only try to select a different pipeline clock when we went back to
3530 PAUSED and not when we merely got flushed.
3532 2007-04-05 Michael Smith <msmith@fluendo.com>
3534 * tools/gst-launch.1.in:
3535 fractions are better supported in gstreamer than ractions, so
3536 suggest using those.
3538 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
3540 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
3544 Added Danish translation.
3546 2007-04-05 Wim Taymans <wim@fluendo.com>
3548 * libs/gst/base/gstbasesink.c:
3549 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
3550 Fix leak caused when refusing newsegment after EOS.
3552 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
3553 (gst_fake_sink_init), (gst_fake_sink_set_property),
3554 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
3555 (gst_fake_sink_render), (gst_fake_sink_change_state):
3556 * plugins/elements/gstfakesink.h:
3557 Add num-buffers property to make the element generate EOS after a
3558 configurable amount of buffers.
3559 API: fakesink::num-buffers property.
3561 * tests/check/elements/fakesink.c: (GST_START_TEST),
3563 Fix GstBus leak in test.
3564 Test for fakesink num-buffers.
3566 2007-04-05 Wim Taymans <wim@fluendo.com>
3568 * libs/gst/base/gstbasesink.c:
3569 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
3570 (gst_base_sink_change_state):
3571 Don't accept anything after an EOS, return UNEXPECTED instead.
3573 * tests/check/elements/fakesink.c: (GST_START_TEST),
3575 Unit test for new EOS behaviour.
3577 2007-04-05 Wim Taymans <wim@fluendo.com>
3579 * gst/gstelement.c: (gst_element_get_request_pad):
3580 Make padtemplates also work when they don't contain %s or %d.
3582 2007-04-05 Wim Taymans <wim@fluendo.com>
3584 * docs/gst/gstreamer-sections.txt:
3585 * gst/gstclock.c: (gst_clock_adjust_unlocked),
3586 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
3588 Improve _adjust_unlocked() so that it overflows less.
3589 Add gst_clock_unadjust_unlocked to convert from external time to
3590 internal time based on calibration.
3591 Add some more debug.
3592 API: GstClock::gst_clock_unadjust_unlocked()
3594 2007-04-03 Wim Taymans <wim@fluendo.com>
3596 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
3598 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
3599 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
3600 when releasing sink pad. Fixes #425400.
3602 2007-04-02 Stefan Kost <ensonic@users.sf.net>
3604 * docs/random/ensonic/dynlink.txt:
3605 More work on proposal for new core api.
3607 * docs/libs/gstreamer-libs-sections.txt:
3608 * libs/gst/base/gstbasetransform.h:
3609 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
3611 * libs/gst/controller/gstcontroller.c:
3612 (on_object_controlled_property_changed),
3613 (gst_controller_sync_values),
3614 (gst_controller_set_interpolation_mode):
3615 * libs/gst/controller/gstcontroller.h:
3616 Less verbose logging add docs for unimplemented parts and correctly
3617 return when using unavailable parts.
3619 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
3621 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
3622 Move all the debug to the CLOCK category, and associate it with
3625 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
3627 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
3628 Make take_buffer a bit quicker by removing redundant checks
3629 caused by calling gst_adapter_take.
3631 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
3633 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
3636 * tests/check/Makefile.am:
3637 * tests/check/elements/.cvsignore:
3638 * tests/check/elements/multiqueue.c: (setup_multiqueue),
3639 (GST_START_TEST), (multiqueue_suite):
3640 Add some dead simple unit tests for the 'multiqueue' element
3641 (some bits don't work yet and are disabled for now).
3643 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
3645 * gst/gstelement.c: (gst_element_get_request_pad),
3646 (gst_element_class_get_request_pad_template):
3647 Make gst_element_get_request_pad() create request pads only for
3648 request pad templates and not for, say, sometimes pad templates.
3650 2007-03-28 Stefan Kost <ensonic@users.sf.net>
3652 * docs/design/draft-klass.txt:
3653 Add example that needs more thinking.
3655 * docs/design/draft-missing-plugins.txt:
3656 More thoughts about wrapper plugins.
3658 * docs/random/ensonic/embedded.txt:
3659 * docs/random/ensonic/profiling.txt:
3662 2007-03-25 Wim Taymans <wim@fluendo.com>
3664 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
3665 (gst_base_src_loop):
3666 Only push the segment events in the PLAYING state for live sources.
3668 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
3670 * gst/gstpipeline.c: (gst_pipeline_change_state):
3671 Modify the clock distribution path in PAUSED->PLAYING so that we
3672 never attempt to choose a new clock unless we're actually leaving
3673 the PAUSED state for the first time. This prevents choosing a
3674 different clock when the state_change gets called for a 2nd time due
3675 to some element doing an async state change.
3677 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
3679 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
3680 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
3681 (gst_pad_chain_unchecked), (gst_pad_push):
3682 Revert last commit. This needs some more thoughts.
3684 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
3686 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
3687 (gst_pad_chain_unchecked), (gst_pad_push):
3688 Check in set_caps if the caps are compatible with the pad and remove
3689 two functions that are redundant now. Fixes #421543.
3691 2007-03-22 Wim Taymans <wim@fluendo.com>
3693 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
3694 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
3695 Unref some more to make valgrind happy.
3697 2007-03-22 Wim Taymans <wim@fluendo.com>
3699 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
3700 (gst_system_clock_id_wait_jitter),
3701 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
3702 Fix anoying regression that survived a few releases. When adding an
3703 async entry while blocking on a sync entry, the sync entry will unblock
3704 but still be busy, so it should continue to wait instead of returning
3706 Add some comments here and there.
3708 * tests/check/gst/gstsystemclock.c: (mixed_thread),
3709 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
3710 Add testcase for this.
3712 2007-03-22 Wim Taymans <wim@fluendo.com>
3714 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
3715 Handle errors from the clock sync better, only UNSCHEDULED indicates a
3716 WRONG_STATE and can silently pause the task. All other cases should
3719 2007-03-22 Wim Taymans <wim@fluendo.com>
3721 Patch by: Ville Syrjala <syrjala at sci dot fi>
3723 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
3724 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
3727 2007-03-21 Michael Smith <msmith@fluendo.com>
3729 * docs/pwg/advanced-types.xml:
3730 Fix some errors in the typefinding docs pointed out on irc.
3732 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
3734 * libs/gst/base/gstbasesrc.c:
3735 Clarify FIXME comment in the face of having added unlock_stop()
3737 2007-03-21 Wim Taymans <wim@fluendo.com>
3739 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
3740 Prepare for release where we warn against possible app breakage in the
3741 case of live pipelines along with an env var to enable/disable live
3742 preroll mode (GST_COMPAT=[no-]live-preroll).
3744 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3746 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
3747 So we should use correct constants for checking for None offset.
3749 2007-03-20 Wim Taymans <wim@fluendo.com>
3751 * docs/design/part-block.txt:
3752 Mention the fact that the newly switched element should be set to at
3755 2007-03-20 Wim Taymans <wim@fluendo.com>
3758 Fix compilation with registry disabled as spotted by Saur.
3760 2007-03-20 Wim Taymans <wim@fluendo.com>
3762 Patch by: Olivier Crete <tester at tester dot ca>
3764 * gst/gstelement.c: (gst_element_sync_state_with_parent):
3765 Look at the pending state too when syncing the element state to the
3766 parent. Fixes #420133.
3768 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
3770 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
3771 (gst_base_sink_change_state):
3772 * libs/gst/base/gstbasesink.h:
3773 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3774 (gst_base_src_default_event), (gst_base_src_unlock_stop),
3775 (gst_base_src_deactivate):
3776 * libs/gst/base/gstbasesrc.h:
3777 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
3778 for sub-classes to correctly clear any state they set trying to
3779 unlock, such as clearing out unlock commands from a command fd.
3780 API: basesrc::unlock_stop
3781 API: basesink::unlock_stop
3783 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
3784 (gst_fd_sink_render), (gst_fd_sink_unlock),
3785 (gst_fd_sink_unlock_stop):
3786 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
3787 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
3788 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
3790 Implement unlock_stop in fdsrc and fdsink.
3791 Implement seeking in fdsrc when a seekable fd is passed, as in
3792 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
3794 2007-03-19 Wim Taymans <wim@fluendo.com>
3796 Patch by: Evan Nemerson <evan at coeus dash group dot com>
3798 * gst/gstelement.c: (gst_element_class_init):
3799 Fix pad-added and pad-removed signal signatures so that the pad type is
3800 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
3802 2007-03-19 Wim Taymans <wim@fluendo.com>
3804 * docs/gst/gstreamer-sections.txt:
3805 Add new element field and method.
3807 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3808 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
3809 (gst_bin_recalc_state), (gst_bin_get_state_func),
3810 (gst_bin_element_set_state), (gst_bin_change_state_func),
3811 (gst_bin_continue_func), (bin_bus_handler),
3812 (bin_push_state_continue), (bin_handle_async_start),
3813 (bin_handle_async_done), (gst_bin_handle_message_func):
3814 Make async state changes a bit smarter by using new ASYNC_START and
3815 ASYNC_DONE messages. This reduces the number of times we run the state
3816 recalculation thread.
3817 Don't change state of element with a pending ASYNC_START message.
3818 Deprecate STATE_DIRTY messages.
3820 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
3821 (gst_element_get_state_func), (gst_element_continue_state),
3822 (gst_element_lost_state), (gst_element_set_state_func),
3823 (gst_element_change_state):
3825 Keep the state that was last set by the app in a new element field.
3826 Don't allow state changes when handling an element event.
3827 Post ASYNC_START and ASYNC_DONE messages.
3828 Change lost_state so that we go to PAUSED and wait for the parent to set
3829 us to PLAYING again (so latency calculation can be performed)
3830 Export gst_element_change_state() method so that subclasses can use it.
3831 API: gst_element_change_state()
3832 API: GST_STATE_TARGET
3834 * gst/gstpipeline.c: (gst_pipeline_class_init),
3835 (reset_stream_time), (gst_pipeline_change_state),
3836 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
3837 Using the new ASYNC_START message we can reset the base_time when
3838 needed. This can then be used to implement base_time redistribution in
3839 flushing seeks so that we can remove the explicit seek handling.
3840 Perform latency query and configuration when going to PLAYING.
3842 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3843 (gst_base_sink_query), (gst_base_sink_change_state):
3844 Post new ASYNC_START/ASYNC_DONE messages.
3846 * tests/check/generic/sinks.c: (GST_START_TEST):
3847 Fix test because the bin will not set the async element to PLAYING right
3850 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
3851 Make the message check a little stronger.
3852 Handle ASYNC messages.
3854 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
3855 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
3856 Expect ASYNC_DONE messages.
3858 2007-03-19 Wim Taymans <wim@fluendo.com>
3860 * docs/gst/gstreamer-sections.txt:
3861 * gst/gstmessage.c: (gst_message_new_async_start),
3862 (gst_message_new_async_done), (gst_message_parse_info),
3863 (gst_message_parse_async_start):
3865 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
3868 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
3870 * tools/gst-inspect.c:
3871 (print_plugin_automatic_install_info_codecs):
3872 Now that we don't check for the 'Codec' keyword any longer in the
3873 klass, we shouldn't spew a warning if the klass isn't a decoder or
3874 encoder (since it might be a Source/Network, for example).
3876 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
3878 * tools/gst-inspect.c:
3879 (print_plugin_automatic_install_info_codecs):
3880 Don't require decoder/demuxer/depayloader elements or
3881 encoder/muxer/paylader elements to have 'Codec' as part of their
3882 factory class string when introspecting a plugin's capabilities.
3883 draft-klass.txt mentions that it might be removed in future, and
3884 flump3dec doesn't have it as part of its class string, so chances
3885 are others might also not have it.
3887 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
3909 Update translations from translation project
3911 2007-03-14 Stefan Kost <ensonic@users.sf.net>
3913 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
3914 (gst_child_proxy_set_property):
3915 Invert precondition check to be alike the ones in the mimiced gobject
3918 2007-03-13 Stefan Kost <ensonic@users.sf.net>
3920 * docs/design/draft-tagreading.txt:
3921 * docs/random/ensonic/audiobaseclasses.txt:
3922 Do some Architect work.
3924 * gst/gstobject.c: (gst_object_set_name):
3928 Add docs that point from gst_pad_get_range to gst_pad_pull_range
3930 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
3932 * gst/gstsystemclock.c: (gst_system_clock_init),
3933 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
3934 Defer starting the async system clock thread until the first async
3935 wait is scheduled. Fixes #414986.
3937 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
3939 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
3940 (gst_single_queue_free):
3941 Fix small leak (free GstSingleQueue structure too, not only contents).
3943 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
3945 * gst/gstbin.c:(gst_bin_add):
3946 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
3947 * win32/common/libgstbase.def:
3948 * win32/common/libgstreamer.def:
3949 Add new exported functions.
3951 2007-03-09 Wim Taymans <wim@fluendo.com>
3953 * docs/plugins/gstreamer-plugins-sections.txt:
3956 2007-03-09 Wim Taymans <wim@fluendo.com>
3958 * docs/gst/gstreamer-sections.txt:
3959 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
3961 Add metadata copy functions. Fixes #393099.
3962 API: gst_buffer_copy_metadata()
3964 * gst/gstutils.c: (gst_buffer_stamp):
3965 * libs/gst/base/gstbasetransform.c:
3966 (gst_base_transform_prepare_output_buffer):
3967 Use new metadata copy functions.
3969 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
3971 * plugins/elements/gstidentity.c: (gst_identity_class_init),
3972 (gst_identity_init), (gst_identity_check_perfect),
3973 (gst_identity_check_imperfect_timestamp),
3974 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
3975 (gst_identity_set_property), (gst_identity_get_property):
3976 * plugins/elements/gstidentity.h:
3977 Separate out check-imperfect-timestamp and check-imperfect-offset.
3978 Put back check-perfect as it was to keep compatibility.
3980 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
3982 * gst/gstelement.c: (gst_element_dispose):
3983 There's no need to warn if VOID_PENDING is not NONE here, as
3984 long as the state is NULL it's ok, and that's checked immediately
3987 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3989 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
3990 Fix check for perfect stream to ignore buffers with -1
3991 offsets/offset ends when checking data contiguity.
3993 2007-03-08 Wim Taymans <wim@fluendo.com>
3995 * tools/gst-launch.c: (event_loop):
3996 Print INFO messages.
3998 2007-03-08 Wim Taymans <wim@fluendo.com>
4000 * libs/gst/base/gstbasetransform.c:
4001 (gst_base_transform_sink_eventfunc),
4002 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
4003 (gst_base_transform_activate):
4004 * libs/gst/base/gstbasetransform.h:
4005 Add support for dropping buffers with custom GstFlowReturn.
4006 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
4007 buffers or dropped buffers.
4009 * docs/libs/gstreamer-libs-sections.txt:
4010 docs for new custom return code.
4012 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
4013 Use drop support in base class to implement drop-probability.
4015 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
4017 * gst/gst.c: (load_plugin_func):
4018 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
4019 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4020 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
4021 Remove newlines at end of debug log strings.
4023 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4025 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4026 Only post bus message at max, once per buffer received.
4028 2007-03-07 Wim Taymans <wim@fluendo.com>
4030 * docs/design/Makefile.am:
4031 * docs/design/part-synchronisation.txt:
4032 Add doc about synchronisation
4034 * docs/design/draft-latency.txt:
4035 * docs/design/part-TODO.txt:
4036 * docs/design/part-clocks.txt:
4037 * docs/design/part-events.txt:
4038 * docs/design/part-gstbus.txt:
4039 * docs/design/part-gstpipeline.txt:
4040 * docs/design/part-live-source.txt:
4041 * docs/design/part-messages.txt:
4042 * docs/design/part-overview.txt:
4043 * docs/design/part-streams.txt:
4044 * docs/design/part-trickmodes.txt:
4045 Documentation updates.
4047 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
4050 Update the doap file.
4052 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4054 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4055 Rename non-perfect to imperfect for Mike and for the sanctity of the
4057 Also make sure bus message gets emitted for data-incontiguities.
4059 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4061 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
4062 (gst_identity_start):
4063 * plugins/elements/gstidentity.h:
4064 Emit bus message if check-perfect is true and we encounter a
4065 non-perfect stream between 2 consecutive buffers.
4068 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
4073 === release 0.10.12 ===
4075 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
4078 releasing 0.10.12, "Inevitable Demise"
4080 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
4083 Version 0.10.11.2 (0.10.12 pre-release)
4084 Bump libtool versioning.
4086 2007-03-01 Stefan Kost <ensonic@users.sf.net>
4088 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
4089 Log flow-names and not numbers.
4091 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
4094 Convert to new AG_GST style.
4096 2007-02-28 Wim Taymans <wim@fluendo.com>
4098 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
4099 Don't unref query twice.
4101 2007-02-28 Wim Taymans <wim@fluendo.com>
4103 * gst/gstvalue.c: (gst_value_transform_object_string),
4104 (_gst_value_initialize):
4105 Implement GstObject -> string transform so we print object names
4106 when serializing GValues containing GstObjects.
4108 2007-02-28 Wim Taymans <wim@fluendo.com>
4110 * docs/gst/gstreamer-sections.txt:
4111 Add new stuff to docs.
4113 2007-02-28 Wim Taymans <wim@fluendo.com>
4115 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4116 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
4117 (gst_base_sink_change_state):
4118 Improve latency query code.
4119 Don't leak latency events.
4121 * tests/check/gst/gstbin.c: (GST_START_TEST):
4124 2007-02-28 Wim Taymans <wim@fluendo.com>
4126 * gst/gstelement.c: (gst_element_message_full),
4127 (gst_element_get_state_func):
4129 Improve docs a little. Added Since: for new macro.
4131 * gst/gstobject.c: (gst_object_sink):
4132 * gst/gstpipeline.c: (gst_pipeline_change_state),
4133 (gst_pipeline_set_new_stream_time):
4134 * gst/gstpipeline.h:
4135 Improve debugging and docs.
4137 * gst/gstutils.c: (gst_element_state_change_return_get_name):
4140 2007-02-28 Wim Taymans <wim@fluendo.com>
4142 * gst/gstelement.c: (gst_element_message_full),
4143 (gst_element_set_locked_state), (gst_element_get_state_func),
4144 (gst_element_change_state):
4145 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
4146 Documentation updates.
4147 Small code cleanups.
4149 * gst/gstmessage.c: (gst_message_new_info),
4150 (gst_message_parse_info):
4152 API: gst_message_new_info()
4153 API: gst_message_parse_info()
4154 Add INFO message create and parse code.
4156 2007-02-28 Wim Taymans <wim@fluendo.com>
4158 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
4159 (bin_query_latency_done):
4160 Also report the live parameter of a latency query.
4162 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
4164 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
4165 Copy the current generic/states example from -base and adapt so
4166 we can use the exact same code everywhere.
4167 Check a STATES_IGNORE_ELEMENTS env var which can be used
4168 to ignore certain element factories for this test, which is
4169 what is being done in -base
4170 * tests/check/Makefile.am:
4171 Mention this environment variable.
4173 2007-02-27 Wim Taymans <wim@fluendo.com>
4175 * docs/gst/gstreamer-sections.txt:
4176 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
4177 (gst_bus_timed_pop), (gst_bus_pop):
4179 API: gst_bus_timed_pop()
4180 Implement gst_bus_timed_pop() to do a blocking timed wait for a
4181 message to arrive on the bus.
4183 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
4185 Two unit tests for new _timed_pop() function.
4187 2007-02-23 Wim Taymans <wim@fluendo.com>
4189 * gst/gstpipeline.c: (gst_pipeline_change_state),
4190 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
4191 Don't ref a NULL clock in _provide_clock_func().
4192 Don't allow an INVALID delay.
4193 Don't try to calculate base_time with an invalid start_time.
4194 Also distribute and notify a NULL clock when it was selected.
4196 * tools/gst-launch.c: (event_loop):
4197 Don't crash when a NULL clock was selected in the pipeline.
4199 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
4201 * docs/design/Makefile.am:
4202 * docs/design/draft-missing-plugins.txt:
4203 * docs/random/draft-missing-plugins.txt:
4204 Some small updates: update plugin system identifier prefix
4205 ('gstreamer.net' to 'gstreamer'), mention our new install
4206 API in libgstbaseutils rather than libgimme-codec, add
4207 reference to the online docs.
4209 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
4211 * win32/common/config.h:
4212 Pretty sure Bill never made a powerpc version. Powerpc hackers,
4213 use moap cl ci to only check in what is mentioned in the ChangeLog.
4215 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
4217 * docs/gst/gstreamer-sections.txt:
4219 Fix up documentation to link to the correct GstGError section.
4220 Add GST_ELEMENT_INFO macro since someone else added a Info message.
4222 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
4224 * tools/gst-launch.c: (event_loop):
4225 Make sure that we actually show the important message part of a
4227 No need to check if the gerror is not NULL to free; first of all
4228 g_free accepts NULL; and second the default error handler would
4229 segfault if gerror was NULL.
4231 2007-02-21 Wim Taymans <wim@fluendo.com>
4233 * docs/gst/gstreamer-sections.txt:
4234 Removed docs as well.
4236 2007-02-21 Wim Taymans <wim@fluendo.com>
4238 * gst/gstmessage.c: (gst_message_parse_duration):
4240 Remove new messages for release.
4242 2007-02-20 Wim Taymans <wim@fluendo.com>
4244 * docs/design/part-gstghostpad.txt:
4245 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
4246 (gst_ghost_pad_new_full):
4247 Make the ghostpad a parent of the internal pad again for better backward
4248 compatibility. Don't write code that relies on this however.
4250 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
4251 (gst_pad_link_check_hierarchy):
4252 Require that parents should be GstElements in the hierarchy check.
4254 2007-02-20 Wim Taymans <wim@fluendo.com>
4256 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
4257 (gst_bin_change_state_func), (bin_query_min_max_init),
4258 (bin_query_latency_fold), (bin_query_latency_done),
4261 Implement latency query.
4263 2007-02-20 Wim Taymans <wim@fluendo.com>
4265 * docs/design/part-gstghostpad.txt:
4266 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
4267 (gst_ghost_pad_internal_do_activate_push),
4268 (gst_ghost_pad_internal_do_activate_pull),
4269 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
4270 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
4271 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
4272 Do not set the internal pad as a parent anymore so we can avoid
4273 hierarchy linking errors when the ghostpad has no parent yet. This also
4274 fixes failed activation because of unlinked internal pads, which in
4275 turn fixes the impossible case where you have to activate a pad before
4276 you can add it to a running element.
4279 * gst/gstpad.c: (pre_activate), (post_activate),
4280 (gst_pad_set_active), (gst_pad_activate_pull),
4281 (gst_pad_activate_push), (gst_pad_check_pull_range):
4282 Add some more debug info.
4283 Mark activation mode in pre_activate so that we don't try to activate in
4284 endless loops. Fixes #385084.
4286 2007-02-19 Wim Taymans <wim@fluendo.com>
4288 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
4289 (gst_base_transform_check_get_range):
4290 Implement a checkgetrange function instead of relying on the default
4291 core behaviour that assumes we can operate in pull mode if we have a
4292 getrange function. First step at fixing #385084.
4294 2007-02-15 Stefan Kost <ensonic@users.sf.net>
4296 * gst/gstchildproxy.h:
4297 * libs/gst/base/gstbasesink.h:
4298 * libs/gst/base/gstbasesrc.h:
4299 * libs/gst/base/gstbasetransform.h:
4300 More docs coverage and some ChangeLog surgery (add missing names)
4302 2007-02-15 Wim Taymans <wim@fluendo.com>
4304 * docs/design/part-TODO.txt:
4305 * docs/design/part-activation.txt:
4306 * docs/design/part-block.txt:
4307 * docs/design/part-buffering.txt:
4308 * docs/design/part-clocks.txt:
4309 * docs/design/part-element-source.txt:
4310 * docs/design/part-events.txt:
4311 * docs/design/part-gstbin.txt:
4312 * docs/design/part-gstbus.txt:
4313 * docs/design/part-gstpipeline.txt:
4314 * docs/design/part-live-source.txt:
4315 * docs/design/part-messages.txt:
4316 * docs/design/part-overview.txt:
4317 * docs/design/part-qos.txt:
4318 * docs/design/part-query.txt:
4319 * docs/design/part-states.txt:
4320 * docs/design/part-trickmodes.txt:
4321 Some doc updates. Start renaming from stream_time to running_time where
4322 it was used wrongly.
4324 2007-02-15 Wim Taymans <wim@fluendo.com>
4326 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
4327 Answer LATENCY query.
4329 2007-02-15 Wim Taymans <wim@fluendo.com>
4331 * tests/check/gst/gstevent.c: (event_probe), (test_event),
4335 2007-02-15 Wim Taymans <wim@fluendo.com>
4337 * gst/gstpad.c: (gst_pad_get_internal_links_default),
4338 (gst_pad_dispatcher):
4339 Improve debugging of default pad dispatcher and query functions.
4341 2007-02-15 Wim Taymans <wim@fluendo.com>
4343 * docs/gst/gstreamer-sections.txt:
4344 Remove old unused method.
4346 2007-02-13 Wim Taymans <wim@fluendo.com>
4348 * tests/check/gst/gstsegment.c: (GST_START_TEST):
4351 2007-02-13 Wim Taymans <wim@fluendo.com>
4353 * docs/design/part-seeking.txt:
4356 * gst/gstsegment.c: (gst_segment_set_seek):
4357 Revert old bogus change that should make seeking work again.
4359 2007-02-13 Stefan Kost <ensonic@users.sf.net>
4361 * docs/random/ensonic/dynlink.txt:
4362 * docs/random/ensonic/interfaces.txt:
4363 * docs/random/ensonic/receipies.txt:
4364 Possible dynamic reconnection api, plus some type fixes the other two
4367 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
4369 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4370 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4371 Also check for an absolute path following file:// in the filesrc
4372 element. Remove redundant check and call g_path_is_absolute() on the
4375 2007-02-13 Stefan Kost <ensonic@users.sf.net>
4377 * docs/design/draft-klass.txt:
4378 Add existing category analysis.
4381 Fix doc example, framerate is a fraction.
4383 2007-02-12 Stefan Kost <ensonic@users.sf.net>
4386 * docs/gst/Makefile.am:
4387 * docs/gst/gstreamer-sections.txt:
4388 * docs/libs/Makefile.am:
4389 Erm, forgot a bunch of --extra-dir.
4391 2007-02-12 Stefan Kost <ensonic@users.sf.net>
4394 * docs/gst/Makefile.am:
4395 * docs/libs/Makefile.am:
4396 * docs/plugins/Makefile.am:
4397 Add crossreferences to glib/gobject docs.
4399 2007-02-12 Wim Taymans <wim@fluendo.com>
4401 * docs/design/draft-latency.txt:
4404 * docs/libs/gstreamer-libs-sections.txt:
4405 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4406 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
4407 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
4408 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
4409 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
4410 (gst_base_sink_get_position), (gst_base_sink_query),
4411 (gst_base_sink_change_state):
4412 * libs/gst/base/gstbasesink.h:
4413 API: gst_base_sink_query_latency() to let subclasses query the upstream
4415 API: gst_base_sink_get_latency() to let subclasses query the configured
4416 latency in the sink.
4417 Implement query and set latency.
4419 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
4420 don't continue preroll when we are flushing. Fixes #405284.
4422 * tests/check/pipelines/stress.c: (change_state_timeout),
4423 (quit_timeout), (GST_START_TEST), (stress_suite):
4426 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
4428 Patch by: René Stadler <mail at renestadler de>
4430 * docs/gst/gstreamer-sections.txt:
4431 * gst/gsttaglist.c: (_gst_tag_initialize):
4433 API: add GST_TAG_REFERENCE_LEVEL (#403597).
4435 2007-02-11 Stefan Kost <ensonic@users.sf.net>
4437 * docs/libs/Makefile.am:
4438 Fix path to core docs.
4440 * gst/gstbin.c: (gst_bin_get_by_interface),
4441 (gst_bin_iterate_all_by_interface):
4442 Refix docs by also renaming 'interface' to 'iface' in implementation.
4444 * docs/gst/gstreamer-sections.txt:
4446 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
4447 * gst/gstchildproxy.h:
4448 * gst/gstelementfactory.c:
4449 * gst/gstpadtemplate.h:
4450 * libs/gst/controller/gstcontroller.c:
4451 (gst_controlled_property_new):
4454 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
4456 * gst/gstbin.h:(gst_bin_get_by_interface),
4457 (gst_bin_iterate_all_by_interface):
4458 Replace interface parameter name by iface as interface is
4459 a reserved keyword in Visual Studio for C++ projects so it removes
4460 a build error for application developpers using VS.
4461 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
4462 Fix a bug on Windows in uri format check. Now the prefix checked
4463 is file:// and next we check if the path after file:// is absolute.
4464 * win32/common/libgstbase.def:
4465 * win32/common/libgstdataprotocol.def:
4466 * win32/common/libgstgstreamer.def:
4467 Add new exported functions.
4469 2007-02-09 Andy Wingo <wingo@pobox.com>
4471 * tests/check/pipelines/simple-launch-lines.c
4472 (simple_launch_lines_suite, test_tee): Disable tee test until I
4473 have time to fix it :-(
4475 * tests/check/Makefile.am (noinst_HEADERS):
4476 * tests/check/libs/libsabi.c:
4477 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
4478 * tests/check/gst/gstabi.c:
4479 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
4481 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
4482 tests for push and pull tee behavior.
4484 * plugins/elements/gsttee.h:
4485 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
4486 mark as deprecated as well as unimplemented. It was a crack idea.
4487 Add support for tee operating in pull mode, off by default.
4489 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
4490 normal-case logs down to LOG, raise errors to WARNING.
4491 (gst_registry_xml_read_cache): Don't log before calling a function
4494 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
4495 exit (registry finalize).
4496 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
4497 DEBUG log when we emit signals that people don't even have the
4498 chance to connect to.
4499 (gst_registry_scan_path_level): Less logging in the normal case.
4501 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
4503 Patch by: Michal Benes <michal dot benes at itonis dot tv>
4505 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4506 Correctly generate EOS for non-seekable files. We don't have a total
4507 length for them and would get an unexpected end of file if we only
4508 special-cased for regular files. (Fixes: #404569)
4510 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
4512 * tests/check/elements/filesrc.c: (GST_START_TEST),
4514 Add unit test for the GstURIHandler interface in filesrc. This also
4515 tests the newly added file://localhost/foo/bar support.
4517 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
4519 * gst/gstelementfactory.h:
4520 The klass string is not a hierarchy. Add reference to the design doc
4521 for more information and common types.
4523 2007-02-02 Wim Taymans <wim@fluendo.com>
4525 * gst/gstquery.c: (gst_query_new_latency):
4526 Remove old structure field.
4528 2007-02-02 Stefan Kost <ensonic@users.sf.net>
4530 * tools/gst-launch.1.in:
4531 Give example for network streaming (#351998)
4533 2007-02-02 Wim Taymans <wim@fluendo.com>
4535 * docs/gst/gstreamer-sections.txt:
4536 Add docs for new methods.
4538 * gst/gstevent.c: (gst_event_new_latency),
4539 (gst_event_parse_latency):
4541 Add new LATENCY event to configure latency in a pipeline.
4542 API: gst_event_new_latency
4543 API: gst_event_parse_latency
4545 * gst/gstmessage.c: (gst_message_new_buffering),
4546 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
4547 (gst_message_new_latency), (gst_message_parse_buffering),
4548 (gst_message_parse_lost_preroll):
4550 Added messages used in draft-latency.
4551 API: gst_message_new_lost_preroll
4552 API: gst_message_parse_lost_preroll
4553 API: gst_message_new_prerolled
4554 API: gst_message_new_latency
4556 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
4557 (gst_query_parse_latency):
4559 Implemented new latency query as in design doc.
4560 API: gst_query_new_latency
4561 API: gst_query_set_latency
4562 API: gst_query_parse_latency
4564 2007-02-02 Wim Taymans <wim@fluendo.com>
4566 * docs/design/draft-latency.txt:
4567 Slight redesign to allow for dynamic latency adjustments.
4569 * docs/design/part-negotiation.txt:
4572 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
4574 reviewed by: Wim Taymans <wim@fluendo.com>
4576 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4577 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4578 Allow file://localhost/foo/bar URLs and correctly fail for every other
4579 hostname that one sets. This was gnomevfssrc is linked for those if
4580 installed as it can handle it (#403172)
4582 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
4584 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4586 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4587 (unref_data), (gst_collect_pads_add_pad_full):
4588 * libs/gst/base/gstcollectpads.h:
4589 Don't put the previously added destroy notify in the GstCollectData
4590 struct as all it's padding is already used and we don't want to break
4591 ABI. Instead put in the pad's GObject data for now. This should be
4592 cleaned up for 0.11 (#402393).
4594 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
4596 reviewed by: Wim Taymans <wim@fluendo.com>
4598 * docs/libs/gstreamer-libs-sections.txt:
4599 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4600 (unref_data), (gst_collect_pads_add_pad),
4601 (gst_collect_pads_add_pad_full):
4602 * libs/gst/base/gstcollectpads.h:
4603 API: Add function to specify a destroy notification for custom
4604 GstCollectData when adding new pads in GstCollectPads (#402393).
4606 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
4609 Update Swedish translation (#378255).
4611 2007-01-31 Stefan Kost <ensonic@users.sf.net>
4613 * docs/design/draft-klass.txt:
4614 Fix the previous change, this is a list of categories and not a hierarchy.
4616 2007-01-31 Stefan Kost <ensonic@users.sf.net>
4618 * docs/design/draft-klass.txt:
4619 Add info about how to get a list of used classes.
4621 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
4623 * plugins/elements/gsttypefindelement.c:
4624 (gst_type_find_element_chain_do_typefinding),
4625 (gst_type_find_element_change_state):
4626 Don't leak found caps in chain function (no idea why that never
4627 showed up as a leak anywhere).
4629 2007-01-30 Stefan Kost <ensonic@users.sf.net>
4632 Fix and expand GstPluginDesc API docs.
4634 2007-01-29 Stefan Kost <ensonic@users.sf.net>
4637 * gst/gstelementfactory.c:
4638 * gst/gstpadtemplate.h:
4641 * libs/gst/controller/gstcontroller.c:
4642 (gst_controlled_property_new):
4643 * tests/examples/controller/audio-example.c:
4646 2007-01-29 Stefan Kost <ensonic@users.sf.net>
4649 comment about refining the xml deps
4652 comments about moving away from jade for docs
4655 recommit the ifdefs to use the binary registry
4657 * gst/gstbin.c: (gst_bin_change_state_func):
4658 this break is obsolete
4660 * gst/gstelementfactory.h:
4661 better GST_ELEMENT_DETAILS docs, add comment about translation
4666 * gst/gstobject.c: (gst_signal_object_get_type):
4667 add G_UNLIKELY as usual
4669 * gst/gstpad.c: (gst_pad_event_default):
4670 add fall trhu comment
4672 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4673 (gst_registry_binary_initialize_magic),
4674 (gst_registry_binary_save_string),
4675 (gst_registry_binary_save_pad_template),
4676 (gst_registry_binary_save_feature),
4677 (gst_registry_binary_save_plugin),
4678 (gst_registry_binary_write_cache),
4679 (gst_registry_binary_check_magic),
4680 (gst_registry_binary_load_pad_template),
4681 (gst_registry_binary_load_feature),
4682 (gst_registry_binary_load_plugin),
4683 (gst_registry_binary_read_cache):
4684 comment typo and formatting
4686 * gst/gstutils.c: (gst_element_state_get_name),
4687 (gst_element_state_change_return_get_name):
4688 remove obsolete breaks
4690 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
4691 add FIXME 0.11 and remove cpp comment
4693 2007-01-29 Edward Hervey <edward@fluendo.com>
4695 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4696 Fix print statement in an even more portable way.
4698 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
4700 * docs/gst/gstreamer-sections.txt:
4702 API: add GST_ROUND_DOWN_* macros (#401781).
4704 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
4706 * docs/gst/gstreamer.types.in:
4707 * gst/gstregistry.c: (gst_registry_class_init):
4708 Document registry signals and make gtk-doc pick them up (#401381).
4710 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
4712 * docs/pwg/building-testapp.xml:
4713 Add some audioconverts and audioresample to the pipeline, and some
4714 more comments and error handling.
4716 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
4718 * docs/manual/manual.xml:
4722 2007-01-26 Wim Taymans <wim@fluendo.com>
4724 * gst/gstcaps.c: (gst_static_caps_get):
4725 Init caps flags too.
4727 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
4729 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
4731 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
4732 If not using mmap'ed files try to seek to the end instead of the
4733 start to determine whether we can seek at all. This fixes the case
4734 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
4735 seeks for everything afterwards fail. Fixes #400656
4737 2007-01-25 Wim Taymans <wim@fluendo.com>
4739 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
4740 Add some refcount debugging.
4741 Make gst_static_caps_get threadsafe, which is needed when autoplugging
4742 in multiple streaming threads.
4744 2007-01-25 Wim Taymans <wim@fluendo.com>
4746 Patch by: David Schleef <ds at schleef dot org>
4748 * docs/libs/gstreamer-libs-sections.txt:
4749 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
4750 * libs/gst/base/gstadapter.h:
4751 API: gst_adapter_copy() that can reduce the amount of memcpy when
4752 getting data from the adapter. Fixes #388201.
4754 2007-01-25 Edward Hervey <edward@fluendo.com>
4756 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4757 In print statements, "%x" is for guint. Fixes build on macosx.
4759 2007-01-24 Edward Hervey <edward@fluendo.com>
4761 * plugins/elements/gstmultiqueue.c:
4762 (gst_multi_queue_loop):
4764 (single_queue_overrun_cb), (single_queue_underrun_cb),
4765 (single_queue_check_full), (gst_single_queue_new):
4766 Implement single queue growth system.
4767 This uses the extra-size properties, and will grow single queues by
4768 that much if one goes full whereas there are others empty. This is
4769 called extra-mode in the code.
4770 When a single queue's levels go back below the initial max-size
4771 limits, it is no longer in extra-mode. This is to ensure we don't
4772 consume too much memory.
4775 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
4777 * gst/gst.c: (gst_init_get_option_group):
4778 Make warning about late g_thread_init() calls a bit more explicit,
4779 so that it's more obvious to application developers what they need
4780 to do if a user files a bug against their application.
4782 2007-01-22 Edward Hervey <edward@fluendo.com>
4784 * plugins/elements/gstmultiqueue.c:
4785 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
4786 Remove previous hack of unsetting the flushing flag for the source pad
4787 instead of activating it. Instead, fix the source pad activate function
4788 so that it no longer depends on having a parent set or not.
4790 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
4792 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
4794 * docs/manual/basics-bus.xml:
4795 Fix example code, gst_element_unref() doesn't exist any longer.
4797 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
4799 Patch by: Mark Nauwelaerts <manauw at skynet be>
4802 Fix two docs typoes (#399094).
4804 2007-01-19 Edward Hervey <edward@fluendo.com>
4806 * docs/faq/gst-uninstalled:
4807 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
4808 depending on libgstbaseutils can work in uninstalled environment.
4810 2007-01-18 Stefan Kost <ensonic@users.sf.net>
4813 * gst/gsttagsetter.c:
4814 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
4815 statement for new tag.
4817 2007-01-17 Edward Hervey <edward@fluendo.com>
4819 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
4820 When dynamically creating single queues, activate sinkpad before adding
4822 We should be doing the same thing for the source pad, but we can't
4823 since it would call a method which needs the parent to be set in order
4824 to work propertly. Instead of activating the source pad, we just unset
4825 the flushing flag, which is the minimal requirement for adding a pad
4826 to an element in a state greater than READY.
4828 2007-01-17 Edward Hervey <edward@fluendo.com>
4830 * docs/faq/gst-uninstalled:
4831 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
4834 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
4836 * tests/check/gst/gstabi.c:
4837 * tests/check/gst/struct_hppa.h:
4838 * tests/check/libs/libsabi.c:
4839 * tests/check/libs/struct_hppa.h:
4840 Add ABI structs for HPPA (see #393796).
4842 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
4844 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
4845 Actually write ABI structs to the file specified in the GST_ABI
4846 environment variable, as the message we print claims we would.
4848 2007-01-15 Stefan Kost <ensonic@users.sf.net>
4850 * tests/check/gst/gsttask.c:
4853 2007-01-15 Stefan Kost <ensonic@users.sf.net>
4855 * gst/gsttaglist.c: (_gst_tag_initialize):
4856 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
4857 previous two entries.
4859 2007-01-15 Stefan Kost <ensonic@users.sf.net>
4861 * docs/gst/gstreamer-sections.txt:
4862 * gst/gsttaglist.c: (_gst_tag_initialize):
4864 Add tag support for beat-per-minute.
4866 2007-01-15 Stefan Kost <ensonic@users.sf.net>
4868 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4869 (gst_registry_binary_initialize_magic),
4870 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
4871 (gst_registry_binary_save_pad_template),
4872 (gst_registry_binary_save_feature),
4873 (gst_registry_binary_save_plugin),
4874 (gst_registry_binary_write_cache),
4875 (gst_registry_binary_check_magic),
4876 (gst_registry_binary_load_pad_template),
4877 (gst_registry_binary_load_feature),
4878 (gst_registry_binary_load_plugin),
4879 (gst_registry_binary_read_cache):
4880 * gst/gstregistrybinary.h:
4881 Use glib types, cleanup comments, impement interfaces and uri-types.
4883 2007-01-13 Andy Wingo <wingo@pobox.com>
4885 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
4886 getrange() to return buffers with other caps, while we fix
4887 demuxers and typefind, or otherwise change part-negotiation.txt.
4889 2007-01-12 Andy Wingo <wingo@pobox.com>
4891 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
4892 Factor start/stop into this private function instead of partially
4893 in activate functions and partially in the change_state function.
4894 Fixes setup before the element has changed from READY->PAUSED, as
4895 is the case in pull-mode pipelines.
4896 (gst_base_transform_sink_activate_push)
4897 (gst_base_transform_src_activate_pull): Refactor to use
4898 gst_base_transform_activate().
4899 (gst_base_transform_change_state): Removed, not needed any more.
4901 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
4902 Truncate before fixating.
4904 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
4905 Don't set_caps() if the result of fixating is ANY, as it's not
4906 supported, and not necessary in the case of a link with no
4907 template caps on either side. Fixes tests/check/libs/basesrc in
4908 some pull-mode tests.
4910 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
4911 (gst_base_transform_init, gst_base_transform_sink_activate_push)
4912 (gst_base_transform_src_activate_pull):
4913 Track the activation mode.
4914 (gst_base_transform_setcaps): In pull mode, when activating the
4915 src pad, after activating the sink pad, activate the sink pad's
4916 peer, as discussed in part-negotiation.txt.
4918 * libs/gst/base/gstbasesrc.h:
4919 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
4920 vmethod, as in basesink.
4922 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
4924 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
4925 mode, first proxy the setcaps to the peer pad.
4926 (gst_base_sink_pad_fixate): Add a fixate function that calls the
4928 (gst_base_sink_default_activate_pull): Rename from
4929 gst_base_sink_activate_pull.
4930 (gst_base_sink_negotiate_pull): New function, performs negotiation
4931 in pull mode before calling ::activate_pull().
4932 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
4933 vmethod instead of the default implementation. I have no idea how
4934 this worked before. Negotiate before calling activate_pull.
4936 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
4937 sink pads in pull mode. In addition to being correct, fixes
4938 filesrc ! decodebin ! identity ! fakesink.
4939 (gst_pad_get_range, gst_pad_pull_range): Don't call
4940 gst_pad_set_caps() if the caps changes; instead error out with
4941 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
4943 2007-01-12 Andy Wingo <wingo@pobox.com>
4945 * docs/design/part-negotiation.txt: Update with more policy.
4947 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
4949 * libs/gst/check/gstbufferstraw.h:
4950 * libs/gst/check/gstcheck.h:
4951 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
4954 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
4956 * tests/check/Makefile.am:
4957 * tests/check/gst/.cvsignore:
4958 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
4959 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
4960 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
4961 (GST_START_TEST), (gst_tag_setter_suite):
4962 Add minimal unit test for beforementioned GstTagSetter bug.
4964 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
4966 Patch by: René Stadler <mail at renestadler dot de>
4968 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
4969 gst_tag_list_merge() returns a new list, so it's not the best idea
4970 to ingore its return value. Effectively meant that tags could only
4971 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
4972 Also add function guard to require a non-NULL taglist as input (has
4973 always been so due to gst_tag_list_copy(), just making it explicit).
4975 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
4977 * docs/random/draft-missing-plugins.txt:
4978 Some additions: mention new API that is supposed to be used at the
4979 various stages; short blob about new gst-inspect introspection
4980 option; mention potential future problem with plugins that have
4981 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
4983 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
4985 * tools/gst-inspect.c:
4986 (print_plugin_automatic_install_info_codecs),
4987 (print_plugin_automatic_install_info_protocols),
4988 (print_plugin_automatic_install_info), (main):
4989 Add --print-plugin-auto-install-info option to gst-inspect, so we can
4990 introspect plugin files and get machine-parsable output that corresponds
4991 to the last bit of the missing-plugin installer string (small gotcha:
4992 doesn't take into account ranks).
4994 2007-01-11 Stefan Kost <ensonic@users.sf.net>
4997 * docs/gst/gstreamer-sections.txt:
4999 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
5000 (gst_registry_lookup_locked):
5001 * gst/gstregistry.h:
5002 * gst/gstregistrybinary.c: (gst_registry_binary_write),
5003 (gst_registry_binary_initialize_magic),
5004 (gst_registry_binary_save_string),
5005 (gst_registry_binary_save_pad_template),
5006 (gst_registry_binary_save_feature),
5007 (gst_registry_binary_save_plugin),
5008 (gst_registry_binary_write_cache),
5009 (gst_registry_binary_check_magic),
5010 (gst_registry_binary_load_pad_template),
5011 (gst_registry_binary_load_feature),
5012 (gst_registry_binary_load_plugin),
5013 (gst_registry_binary_read_cache):
5014 * gst/gstregistrybinary.h:
5015 * gst/gstregistryxml.c: (load_feature),
5016 (gst_registry_xml_read_cache):
5017 commit binary registry (disabled by default, see #359653)
5019 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
5021 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
5022 Fix 'make check' too.
5024 2007-01-10 Andy Wingo <wingo@pobox.com>
5026 * docs/design/part-negotiation.txt: Fix a typo, add a couple
5029 * docs/design/part-negotiation.txt: Update with, um, one way that
5030 pull-mode negotiation might work?
5033 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
5034 that the pad must be a src pad; makes sense to call it the other
5035 way in pull mode, and the logic is symmetric anyway.
5037 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
5039 * plugins/elements/gstfilesink.c:
5040 Include <stdio.h> for fseeko().
5042 2007-01-10 Wim Taymans <wim@fluendo.com>
5046 Reserve LATENCY event.
5048 2007-01-09 Wim Taymans <wim@fluendo.com>
5050 * docs/design/draft-latency.txt:
5053 2007-01-09 Wim Taymans <wim@fluendo.com>
5055 * docs/design/draft-latency.txt:
5059 * gst/gststructure.c:
5063 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
5065 * tests/check/.cvsignore:
5066 Ignore test-registry.xml as well.
5068 2007-01-09 Wim Taymans <wim@fluendo.com>
5070 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
5071 unref data at the end when we are done with the pad.
5073 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
5075 * docs/gst/gstreamer-sections.txt:
5076 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
5077 (init_post), (gst_deinit), (gst_update_registry):
5079 API: add gst_update_registry() (#391296).
5081 * tests/check/Makefile.am:
5082 * tests/check/gst/gstregistry.c:
5083 * tests/check/gst/.cvsignore:
5084 Simple unit test for the above.
5086 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
5088 * gst/gstregistry.c: (gst_registry_scan_path_level):
5089 Plugin extension on HP-UX is .sl, add that to the list of approved
5090 plugin extensions (see #393796).
5092 * tests/check/gst/gstpad.c: (GST_START_TEST):
5093 ulong => gulong. Fixes compilation with HP-UX compiler.
5095 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
5096 Fix compilation if valgrind headers are not available.
5098 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
5100 * win32/common/libgstreamer.def:
5101 Add new exported function.
5102 * win32/vs6/libgstbase.dsp:
5103 Add gstdataqueue.c to the build.
5104 * win32/vs6/libgstcoreelements.dsp:
5105 Add gstmultiqueue.c to the build.
5107 2007-01-06 Andy Wingo <wingo@pobox.com>
5109 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
5110 activate_pull(), providing for a way to specialize the process of
5111 spawning a thread to pull on the sink pad. There is a default
5114 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
5115 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
5116 (gst_base_sink_init): Renamed pad activation functions (inserting
5117 "_pad" in their names). Refactor to use the new activate_pull
5118 vmethod, as appropriate.
5119 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
5120 default activate_pull function to start a task pulling from the
5121 sink pad, as before.
5123 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
5124 on the pads if necessary, as in push()/chain(). Update docs.
5125 Shouldn't affect existing pull() usage as it is currently only
5126 being used on buffers without caps.
5128 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
5130 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
5132 Call g_thread_init() first thing in gst_init() / gst_check_init().
5133 When initialisation is done via gst_init_get_option_group() and
5134 GOption parsing, issue a warning if the GLib thread system has not
5135 been initialised yet by the time gst_init_get_option_group() is
5136 called, as it's quite likely other GLib functions such as
5137 g_option_context_new() have been called already then, and
5138 g_thread_init() must be called before any other GLib function. The
5139 application in question must be fixed in that case, since memory
5140 corruption might happen otherwise.
5141 We issue the warning because even if the GLib folks decide to work
5142 around the problem on their end in future, this is still an issue
5143 with all GLib versions >= 2.10.0, so we should warn until we depend
5144 on a GLib version we know to be safe.
5145 Update documentation as well.
5148 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
5150 * tools/gst-inspect.c: (main):
5151 * tools/gst-launch.c: (main):
5152 * tools/gst-typefind.c: (main):
5153 * tools/gst-xmlinspect.c: (main):
5154 Call g_thread_init() really really early, before any other GLib
5155 function (see #342564 and recent discussion on gtk-devel-list).
5157 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
5159 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
5161 * gst/gst_private.h:
5162 * gst/gstconfig.h.in:
5164 On win32, all the __declspec stuff for symbol exporting is
5165 apparently only needed with MSVC, but doesn't work with MingW.
5166 Fixes compilation with MingW and #391909.
5168 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
5170 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
5171 Change some GST_ERROR_OBJECT that aren't really errors to
5172 GST_WARNING_OBJECT in order to reduce terminal spam.
5174 2007-01-04 Stefan Kost <ensonic@users.sf.net>
5176 * tests/check/Makefile.am:
5177 disable test again, as there seem to be still race problems
5179 2007-01-04 Stefan Kost <ensonic@users.sf.net>
5181 * tests/check/Makefile.am:
5182 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5183 (GST_START_TEST), (queue_suite):
5184 enable queue test again, add tests for the leaky behaviour
5186 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
5189 * tests/examples/Makefile.am:
5190 Compile adapter test/example only if the required headers are
5191 available (fixes #391915).
5193 2007-01-01 David Schleef <ds@schleef.org>
5196 Restore the previous signal handler for SIGSEGV instead of
5197 setting to default, since we may have stolen it away from
5198 someone. (i.e., Mono)
5200 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
5202 * docs/random/draft-missing-plugins.txt:
5203 Some small additions and clarifications.
5205 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
5207 * gst/gstregistryxml.c: (gst_registry_save_escaped):
5208 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
5209 since that can lead to random memory corruptions and crashes
5210 (may or may not be related to #383244, #386711, and #386711).
5212 2006-12-21 Stefan Kost <ensonic@users.sf.net>
5214 * tests/check/.cvsignore:
5215 * tests/check/Makefile.am:
5216 sync .cvsignome and CLEANFILES
5218 2006-12-21 Stefan Kost <ensonic@users.sf.net>
5220 * tests/check/Makefile.am:
5223 2006-12-21 Stefan Kost <ensonic@users.sf.net>
5225 * docs/design/part-states.txt:
5226 two tiny additional comments
5228 * gst/gststructure.c:
5231 * tests/check/Makefile.am:
5232 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5234 disable test for now, unless it gets fixed
5236 2006-12-21 Stefan Kost <ensonic@users.sf.net>
5238 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5240 fix race in underrun test
5242 2006-12-21 Stefan Kost <ensonic@users.sf.net>
5244 * tests/check/elements/.cvsignore:
5247 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5249 try to narrow test failure
5251 2006-12-21 David Schleef <ds@schleef.org>
5253 * plugins/elements/gstfakesrc.c:
5254 Use g_random_int_range(), since it produces better random
5255 numbers in a range than almost-correct floating point code.
5257 2006-12-21 Stefan Kost <ensonic@users.sf.net>
5259 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
5260 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
5261 (gst_check_teardown_sink_pad):
5262 do not automatically (de)activate pads
5264 * tests/check/Makefile.am:
5265 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5266 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
5267 add new, yet simple tests for queue
5269 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
5270 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
5271 * tests/check/elements/filesrc.c: (cleanup_filesrc),
5273 * tests/check/elements/identity.c: (cleanup_identity):
5274 consistent pad (de)activation
5276 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
5278 Patch by: Sebastian Dröge <slomo ubuntu com>
5280 * libs/gst/base/gstcollectpads.c:
5281 Fix two doc typos (#387866).
5283 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
5285 * docs/manual/advanced-dparams.xml:
5286 Fix typo (g_object_control_properties() doesn't exist).
5288 2006-12-19 Edward Hervey <edward@fluendo.com>
5290 * gst/gstsegment.c: (gst_segment_set_seek):
5291 Fine tune the cases where the segment start/stop values are really
5293 * tests/check/gst/gstsegment.c: (GST_START_TEST):
5294 Add tests for the return values of gst_segment_set_seek().
5296 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
5301 * plugins/elements/gstqueue.c: (gst_queue_class_init),
5303 Fix incorrect documentation and flesh it out a bit more.
5304 Set default values for the max properties on the GParamSpec as well,
5305 so it shows up correctly in gst-inspect.
5307 2006-12-18 Stefan Kost <ensonic@users.sf.net>
5309 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
5310 Correct docs of queue, add more detail and crosslink it more.
5312 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
5314 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
5315 Print additional debug info when the stream isn't perfectly
5316 timestamped; don't try to use invalid durations.
5318 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
5320 * docs/design/Makefile.am:
5321 Dist new design docs.
5323 2006-12-16 Wim Taymans <wim@fluendo.com>
5325 Patch by: Sjoerd Simons <sjoerd at luon dot net>
5327 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
5328 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
5329 (gst_collect_pads_stop), (gst_collect_pads_event),
5330 (gst_collect_pads_chain):
5331 * libs/gst/base/gstcollectpads.h:
5332 Add refcounting to the collectpads data so we can track when it's safe
5333 to free the data. Fixes #383382.
5335 2006-12-15 Wim Taymans <wim@fluendo.com>
5337 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
5338 (gst_collect_pads_remove_pad):
5339 Automatically activate/deactivate pads when they are added to a
5340 started/stoped collectpads.
5342 2006-12-15 Wim Taymans <wim@fluendo.com>
5344 * gst/gstelement.c: (gst_element_add_pad):
5345 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
5346 * gst/gstpad.c: (gst_pad_init):
5347 Set pads to FLUSHING when they are created. Check, warn and fix when a
5348 demuxer adds an inactive pad to itself when running. Fixes #339326.
5350 2006-12-15 Wim Taymans <wim@fluendo.com>
5352 * gst/gstelement.c: (gst_element_class_init),
5353 (gst_element_default_send_event), (gst_element_send_event),
5354 (gst_element_default_query), (gst_element_query):
5355 Expose default element send_event and query handling as vmethods that
5356 subclasses can chain up to.
5358 2006-12-15 Wim Taymans <wim@fluendo.com>
5360 * gst/gstelement.c: (gst_element_set_state_func):
5361 Small documentation fixes.
5363 2006-12-15 Wim Taymans <wim@fluendo.com>
5365 * docs/design/draft-latency.txt:
5366 Checked in draft for handling latency in pipelines.
5368 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
5372 * gstreamer.spec.in:
5375 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
5377 * gst/gst.c: (init_pre), (init_post):
5378 init_pre() and init_post() might be called via our GOptionGroup or
5379 from gst_init(), and we should skip both of them if we've already
5380 been initialised, otherwise we will init some things twice or add
5381 two default log functions.
5383 2006-12-13 Edward Hervey <edward@fluendo.com>
5385 * docs/manual/basics-bus.xml:
5386 No, gst_main_loop does not exist. Its g_main_loop.
5387 Discovered by somebody who abused the copy-paste technique of coding :)
5389 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
5391 * gst/gstghostpad.c:
5392 Log ghostpad debug stuff to the GST_PADS category as well rather
5393 than just to the default category.
5395 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
5398 * gst/gst.c: (init_pre):
5399 Add some basic system details such as OS and architecture
5400 to the debug output if possible, courtesy of uname().
5402 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
5404 * docs/gst/running.xml:
5405 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
5406 environment variables.
5408 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
5410 * tests/check/gst/gstbin.c: (GST_START_TEST):
5411 It is acceptable to have a refcount of 2 or 3 at this point in the
5412 test, because the pipeline might be just posting its state_change
5413 message. The next line then waits for that message to appear using
5414 bus_poll, so that should be fine too.
5416 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
5418 * gst/gst.c: (ensure_current_registry_forking):
5419 Ignore EINTR when reading from the child registry pipe.
5420 Explicitly ignore the return value from close, since it makes no
5423 * gst/gstminiobject.c: (gst_mini_object_ref),
5424 (gst_mini_object_unref):
5425 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
5427 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
5428 When removing cached plugins, remove their features too, so they're
5429 not visible after they've disappeared.
5431 * gst/gstutils.c: (prepare_link_maybe_ghosting):
5432 In the unlikely case that we are linking pads with no parents, don't
5433 crash trying to get the non-existent parent bin.
5435 * gst/parse/grammar.y:
5436 Output debug in the PIPELINE category
5438 2005-03-08 Wim Taymans <wim@fluendo.com>
5440 Patch by: René Stadler <mail at renestadler dot de>
5442 * gst/gstclock.c: (gst_clock_new_periodic_id):
5443 Reject invalid clock times for interval of periodic ids.
5446 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
5448 * gst/gstelementfactory.c: (gst_element_factory_create):
5449 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
5450 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
5451 * tools/gst-inspect.c: (print_element_info):
5452 Fix refcounting of gst_plugin_feature_load to match the docs.
5455 2006-12-07 Wim Taymans <wim@fluendo.com>
5457 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
5458 (gst_base_sink_get_position):
5459 Improve debugging of events.
5461 2006-12-07 Wim Taymans <wim@fluendo.com>
5463 Patch by: René Stadler <mail at renestadler dot de>
5465 * gst/gstclock.c: (gst_clock_id_wait):
5466 Make period ids add the interval to the origial requested time instead
5467 of the possibly updated time which can be wrong when there are multiple
5468 waiters for the same id. Fixes #382592.
5470 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
5471 (gst_system_clock_id_wait_jitter_unlocked),
5472 (gst_system_clock_id_wait_jitter):
5473 Fix restart in the async notify thread when an async entry is added to
5474 the front of the list. Fixes #381492.
5476 * tests/check/gst/gstsystemclock.c: (store_callback),
5477 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
5478 Added test for multiple async waits.
5479 Added test for async wait order.
5481 2006-12-07 Wim Taymans <wim@fluendo.com>
5483 * gst/gstbin.c: (gst_bin_query):
5484 Add some more docs about the POSITION query.
5486 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
5489 Bump version nano - back to CVS.
5491 === release 0.10.11 ===
5493 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
5496 releasing 0.10.11, "Love never runs on time"
5498 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
5500 * win32/common/libgstbase.def:
5501 * win32/common/libgstreamer.def:
5502 * win32/vs8/libgstbase.vcproj:
5503 * win32/vs8/libgstcoreelements.vcproj:
5504 * win32/vs8/libgstreamer.vcproj:
5505 Fix compilation on win32 under VS8
5506 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
5507 Partially fixes #381175
5509 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
5511 * gst/gstvalue.c: (gst_value_compare_fraction):
5512 If someone is foolish enough to compare 2 fractions with denominator =
5513 0, return UNORDERED rather than aborting.
5515 2006-11-28 Edward Hervey <edward@fluendo.com>
5517 * libs/gst/base/Makefile.am:
5518 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
5519 (gst_data_queue_base_init), (gst_data_queue_class_init),
5520 (gst_data_queue_init), (gst_data_queue_new),
5521 (gst_data_queue_cleanup), (gst_data_queue_finalize),
5522 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
5523 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
5524 (gst_data_queue_is_empty), (gst_data_queue_is_full),
5525 (gst_data_queue_set_flushing), (gst_data_queue_push),
5526 (gst_data_queue_pop), (gst_data_queue_drop_head),
5527 (gst_data_queue_set_property), (gst_data_queue_get_property):
5528 * libs/gst/base/gstdataqueue.h:
5529 New GstDataQueue object for threadsafe queueing. Most useful for
5530 elements that need some queueing functionnality.
5531 * docs/libs/gstreamer-libs-docs.sgml:
5532 * docs/libs/gstreamer-libs-sections.txt:
5533 Insert documentation for GstDataQueue
5534 * plugins/elements/Makefile.am:
5535 * plugins/elements/gstelements.c:
5536 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
5537 (gst_multi_queue_class_init), (gst_multi_queue_init),
5538 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
5539 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
5540 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
5541 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
5542 (gst_multi_queue_loop), (gst_multi_queue_chain),
5543 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5544 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
5545 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
5546 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
5547 (wake_up_next_non_linked), (compute_next_non_linked),
5548 (single_queue_overrun_cb), (single_queue_underrun_cb),
5549 (single_queue_check_full), (gst_single_queue_new):
5550 * plugins/elements/gstmultiqueue.h:
5551 New multiqueue element, using GstDataQueue. Used for queuing multiple
5553 Closes #344639 and #347785
5555 2006-11-22 Stefan Kost <ensonic@users.sf.net>
5557 * docs/pwg/advanced-types.xml:
5558 add more missing type details
5560 * tools/gst-run.c: (main):
5561 remove unused variable
5563 2006-11-21 Stefan Kost <ensonic@users.sf.net>
5565 * docs/libs/Makefile.am:
5566 * docs/libs/gstreamer-libs.types:
5567 add types of base classes to enable gobject specific stuff in the docs
5569 * docs/random/ensonic/embedded.txt:
5570 more ideas about isolating platform specific things
5572 2006-11-20 Wim Taymans <wim@fluendo.com>
5574 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
5576 * libs/gst/check/gstcheck.h:
5577 Fix compilation and running against 0.9.4. Fixes #377332.
5579 2006-11-20 Wim Taymans <wim@fluendo.com>
5581 * gst/gstsegment.c: (gst_segment_set_seek),
5582 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5583 (gst_segment_to_running_time):
5584 Fix boundary checking in to_running_time() and to_stream_time().
5587 * tests/check/gst/gstsegment.c: (GST_START_TEST):
5588 stream and running time can now be calculated for the complete
5591 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
5593 * gst/gstpad.c: (gst_pad_push_event):
5594 Can't access event structure after giving away ownership of
5597 2006-11-15 Stefan Kost <ensonic@users.sf.net>
5599 * docs/random/ensonic/embedded.txt:
5600 * docs/random/ensonic/profiling.txt:
5601 * docs/random/ensonic/receipies.txt:
5604 2006-11-13 Wim Taymans <wim@fluendo.com>
5606 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5609 Fix documentation for gst_pad_dispatcher. Fixes #374475.
5611 2006-11-13 Wim Taymans <wim@fluendo.com>
5613 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
5615 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
5616 Store new length in segment duration so we don't keep on calling the
5617 potentially expensize get_size() call. Fixes #370865.
5619 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
5621 Patch by: Sergey Scobich <sergey.scobich at gmail com>
5623 * win32/common/libgstreamer.def:
5624 Add two missing symbols (#366492).
5626 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
5628 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
5629 (gst_adapter_take_buffer):
5630 Fix format string to use all its arguments.
5631 Remove useless >= check on a guint
5633 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
5635 * tests/examples/adapter/.cvsignore:
5636 Ignore build file as commanded by the build-bot
5638 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
5640 * tests/examples/adapter/Makefile.am:
5641 * tests/examples/adapter/adapter_test.c: (run_test_take),
5642 (run_test_take_buffer), (run_tests), (main):
5644 Add new files from the previous commit
5646 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
5650 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
5651 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
5652 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
5653 * libs/gst/base/gstadapter.h:
5654 * tests/check/libs/adapter.c: (create_and_fill_adapter),
5655 (GST_START_TEST), (gst_adapter_suite):
5656 * tests/examples/Makefile.am:
5657 Do some optimisation work in GstAdapter to avoid copies in more cases.
5658 It could still do slightly better by merging buffers when
5659 gst_buffer_is_span_fast is true, but is already faster.
5661 Also, avoid traversing a single-linked list to append each incoming
5662 buffer inside the adapter.
5664 Add simple test app that times the adapter behaviour in different
5665 situations, and extend the unit test to check that bytes enter and
5666 exit the adapter in their original order.
5668 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
5670 * docs/random/draft-missing-plugins.txt:
5671 Update: use element message instead of adding a new message
5672 type to the core; don't provide GStreamer API to initiate the
5673 plugin download, just provide API to compose the strings needed
5674 and let an external libgimmestuff handle the rest.
5676 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
5678 * tools/gst-inspect.c: (print_element_properties_info):
5679 Print a string instead of 'unknown type' for GValueArray properties
5681 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
5683 * docs/random/draft-missing-plugins.txt:
5686 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
5688 * tests/examples/typefind/typefind.c: (type_found), (main):
5689 Make typefind element example work again (#371894); add a
5692 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
5694 * docs/random/draft-missing-plugins.txt:
5695 Commit initial draft about how to deal with missing plugins,
5696 needs work (API too).
5698 2006-11-07 Stefan Kost <ensonic@users.sf.net>
5700 * docs/pwg/advanced-types.xml:
5701 documents the new caps elements (see #363118)
5703 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
5705 * gst/gstplugin.c: (gst_plugin_load_file):
5706 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
5707 (gst_file_src_map_region), (gst_file_src_start):
5708 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
5709 (gst_file_index_commit):
5710 Use g_strerror() instead of strerror() - we want UTF-8.
5712 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
5714 Patch by: Peter Kjellerstedt <pkj at axis com>
5716 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
5717 Another printf fix (#371493).
5719 2006-11-06 Stefan Kost <ensonic@users.sf.net>
5721 * tests/check/gst/gsttag.c:
5722 relicence (okay with author=company)
5724 2006-11-06 Stefan Kost <ensonic@users.sf.net>
5726 * gst/gstpad.c: (gst_pad_event_default_dispatch),
5727 (gst_pad_push_event):
5728 Enhance debug and improve docs
5733 2006-11-06 Stefan Kost <ensonic@users.sf.net>
5735 * docs/random/ensonic/distributed.txt:
5736 * docs/random/ensonic/profiling.txt:
5739 2006-11-06 Stefan Kost <ensonic@users.sf.net>
5741 * docs/gst/gstreamer-sections.txt:
5742 add new API and fix the build
5744 * gst/gstbin.c: (gst_bin_recalc_state):
5745 * gst/gstelement.c: (gst_element_message_full),
5746 (gst_element_get_state_func), (gst_element_set_state_func):
5747 use new API and improve logging
5749 * gst/gstutils.c: (gst_element_state_change_return_get_name):
5751 API: add function to get StateChangereturn names to improve logs
5753 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
5755 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
5756 I'm considering shooting the next person to put strerror stuff
5757 in the translateable part of the message.
5759 2006-11-03 Wim Taymans <wim@fluendo.com>
5761 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
5762 Get the type and printf conversion specifiers right.
5764 2006-11-03 Wim Taymans <wim@fluendo.com>
5766 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5768 * gst/gstpad.c: (gst_pad_init), (pre_activate),
5769 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
5770 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
5771 Some small cleanups. Improve debugging.
5773 Signal all waiting threads with a broadcast instead of just one.
5776 2006-11-03 Wim Taymans <wim@fluendo.com>
5778 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
5779 (gst_fd_src_create):
5781 Only update fd when it's different from the old.
5783 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
5785 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
5786 Printf fixes for PPC/OSX, take two (#369366).
5788 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
5790 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
5792 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
5793 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
5794 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
5795 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
5796 don't cast to long long for portability reasons, but use
5797 GLib's types instead.
5799 2006-10-30 Michael Smith <msmith@fluendo.com>
5801 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
5802 Get the arguments to lseek() the right way around.
5805 2006-10-30 Wim Taymans <wim@fluendo.com>
5807 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
5810 _declspec should be __declspec (two underscores, not one). Fixes 366572.
5812 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
5814 Patch by: Kjartan Maraas <kmaraas at gnome org>
5816 * docs/design/part-MT-refcounting.txt:
5817 * docs/random/wtay/capsnego2-docs:
5820 Typo fixes (#366212).
5822 2006-10-28 Wim Taymans <wim@fluendo.com>
5824 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
5827 * win32/common/libgstbase.def:
5828 * win32/common/libgstreamer.def:
5829 * win32/vs8/libgstbase.vcproj:
5830 * win32/vs8/libgstcontroller.vcproj:
5831 Add needed entries in .def files.
5833 Rearrange def files in vs8 solutions. Fixes #366286.
5835 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
5837 * win32/common/gstconfig.h:
5838 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
5839 hand-made win32 gstconfig.h. Fixes #366321.
5841 2006-10-27 Wim Taymans <wim@fluendo.com>
5843 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
5844 (gst_ghost_pad_new_full):
5845 Make acceptcaps return TRUE when we don't have a target, just like
5848 2006-10-27 Wim Taymans <wim@fluendo.com>
5850 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
5851 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
5853 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
5855 * gst/gststructure.c: (gst_structure_id_set_value):
5856 If someone tries to set a non-UTF8 string field on a structure,
5857 don't just print a warning, but also ignore the request and do
5858 not change/add that field to the structure.
5860 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
5863 2006-10-25 David Schleef <ds@schleef.org>
5866 g_hash_table_insert() needs a cast to a non-const pointer duh.
5868 2006-10-25 David Schleef <ds@schleef.org>
5872 Change name parameter of _gst_debug_register_funcptr to const
5873 to reflect the constness of its use in the function as well
5874 as to quiet a gcc warning.
5876 2006-10-25 Edward Hervey <edward@fluendo.com>
5878 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
5879 Don't push the buffer if it's empty.
5882 2006-10-24 Wim Taymans <wim@fluendo.com>
5887 * libs/gst/base/gstbasetransform.c:
5888 (gst_base_transform_sink_eventfunc):
5889 Debug segment values *after* updating them as this is more
5892 2006-10-23 Wim Taymans <wim@fluendo.com>
5894 * docs/design/part-events.txt:
5897 * docs/design/part-block.txt:
5898 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
5899 (gst_pad_push_event):
5900 Revert BLOCKING patch, it tries to be smart without really having a
5901 clear idea what or how. So, now we discard all FLUSHING events again on
5902 a blocking pad. Should fix gnonlin again.
5904 2006-10-23 Wim Taymans <wim@fluendo.com>
5906 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
5908 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5909 (gst_base_src_start), (gst_base_src_activate_push):
5910 Make sure size is always initialized. Fixes #364388.
5912 2006-10-20 Stefan Kost <ensonic@users.sf.net>
5914 * docs/random/ensonic/distributed.txt:
5915 add some ideas about doing distributed processing
5917 * docs/random/ensonic/profiling.txt:
5918 get_rusage look promising
5920 2006-10-18 Stefan Kost <ensonic@users.sf.net>
5922 * docs/manual/basics-helloworld.xml:
5923 Add a cast in example to fix compile warning
5925 2006-10-18 Wim Taymans <wim@fluendo.com>
5927 * gst/gstsegment.c: (gst_segment_set_last_stop),
5928 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
5929 Relax arg checking again, -1 is allowed.
5931 2006-10-18 Wim Taymans <wim@fluendo.com>
5933 * gst/gstsegment.c: (gst_segment_set_last_stop),
5934 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
5935 _set_last_stop() must be with a value != -1
5936 A _TYPE_SET to -1 means seek to 0.
5937 Calc last_stop correctly for negative rates.
5938 Make sure we work with positive durations when updating a segment.
5940 2006-10-18 Wim Taymans <wim@fluendo.com>
5942 * docs/design/part-live-source.txt:
5946 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
5949 Add an explicit cast to GstBuffer** to keep old code that added an
5950 explicit cast to GstMiniObject** for gst_mini_object_replace()
5951 compiling without warning.
5953 2006-10-18 Stefan Kost <ensonic@users.sf.net>
5955 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
5956 check for validity of dates
5958 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
5960 * docs/gst/gstreamer-sections.txt:
5961 Forgot this one, makes gtk-doc shut up.
5963 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
5965 Patch by: Peter Kjellerstedt <pkj at axis com>
5968 Don't define xmlNodePtr to gpointer if the core was built with
5969 --disable-loadsave and --disable-registry, this will break
5970 applications that want to use libxml2 but are buildling against a
5971 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
5972 instead so we don't have to mess with the libxml2 namespace
5975 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
5978 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
5979 type-punned pointer warnings.
5981 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
5984 Add casts to the correct return type to state <=> state transition
5987 2006-10-16 Stefan Kost <ensonic@users.sf.net>
5989 * docs/design/part-live-source.txt:
5990 describe howto handle latency
5992 * docs/random/ensonic/profiling.txt:
5995 * tools/gst-plot-timeline.py:
5996 fix log parsing for solaris, remove unused function
5998 2006-10-16 Wim Taymans <wim@fluendo.com>
6000 * docs/design/part-trickmodes.txt:
6002 Update some docs regarding reverse playback.
6004 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
6006 Patch by: Marcus Granado <mrc dot gran at gmail com>
6008 * win32/vs8/grammar.vcproj:
6009 Error out with a warning if glib-genmarshal.exe is not in path,
6010 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
6012 2006-10-13 Wim Taymans <wim@fluendo.com>
6014 * gst/gstsegment.c: (gst_segment_set_seek):
6015 When seeking to stop -1, set last_stop (current position) to the
6016 duration of the segment.
6018 2006-10-13 Wim Taymans <wim@fluendo.com>
6021 Clarify _NO_PREROLL a bit more.
6026 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
6027 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
6028 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
6029 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
6030 due to wrong locking order. Fixes #361769.
6031 Remove some redundant/misplaced checks in pad_block.
6033 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6034 For negative rates, count backwards from the duration.
6036 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
6038 * gst/gsterror.c: (_gst_library_errors_init):
6039 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
6040 up with something better).
6042 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
6044 * win32/vs6/libgstreamer.dsp:
6045 * win32/vs7/libgstreamer.vcproj:
6046 * win32/vs8/libgstreamer.vcproj:
6047 Don't reference glib-compat.c which is currently not used and not
6048 disted; add gstquark.c which was recently added. Fixes #361730.
6050 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
6052 * win32/common/libgstbase.def:
6053 * win32/common/libgstcontroller.def:
6054 * win32/common/libgstreamer.def:
6055 Add gst_caps_merge() and a bunch of other recently-added functions.
6058 2006-10-11 Wim Taymans <wim@fluendo.com>
6060 * docs/plugins/gstreamer-plugins.args:
6061 * docs/plugins/inspect/plugin-coreelements.xml:
6062 * docs/plugins/inspect/plugin-coreindexers.xml:
6063 Update element args.
6065 * gst/gstsystemclock.c:
6066 Small comment update.
6068 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
6069 (gst_tee_request_new_pad), (gst_tee_release_pad),
6070 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
6071 (gst_tee_sink_activate_pull):
6072 * plugins/elements/gsttee.h:
6074 Add default property defines.
6075 Implement release pad function.
6076 Give properties better blubs etc.
6077 Activate pads before adding them to a running tee.
6078 Do simple buffer_alloc on the first requested pad.
6079 Post error when activation fails.
6081 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
6083 * gst/gst.c: (ensure_current_registry_forking):
6084 Check return value of write() to make compiler happy.
6086 2006-10-11 Wim Taymans <wim@fluendo.com>
6088 Patch by: Sjoerd Simons <sjoerd at luon dot net>
6090 * plugins/elements/gstqueue.c: (gst_queue_chain):
6091 Recheck queue filledness after signalling the overrun when we're about
6092 to leak downstream because we released the lock when emitting the signal
6093 and the queue could be empty again. Fixes #352345.
6095 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
6097 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
6098 Fix refcounting here too, just like we did for _new_valist() a few
6099 days ago (#357180) (thanks to René Stadler). Also remove all those
6100 'Since: 0.9' from the gtk-doc blobs.
6102 * tests/check/libs/controller.c: (controller_refcount_new_list),
6103 (gst_controller_suite):
6104 Unit test for the above.
6106 2006-10-10 Wim Taymans <wim@fluendo.com>
6108 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
6110 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
6111 (gst_pad_save_thyself):
6113 Write pad direction in XML output. Fixes #345496.
6115 2006-10-10 Wim Taymans <wim@fluendo.com>
6117 Patch by: René Stadler <mail at renestadler dot de>
6119 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6120 (gst_controller_new_list), (_gst_controller_dispose),
6121 (_gst_controller_finalize), (_gst_controller_class_init):
6122 Take ref to controlled object so that it cannot disappear.
6125 2006-10-10 Wim Taymans <wim@fluendo.com>
6127 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6128 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
6129 (gst_check_teardown_sink_pad):
6130 Activate/deactivate pads in setup/teardown respectively.
6132 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6134 Patch by: Josep Torre Valles <josep@fluendo.com>
6137 Cast values when making gstenumtypes.h. This pacifies Forte
6138 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
6141 2006-10-09 Wim Taymans <wim@fluendo.com>
6143 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
6144 Rename some more @cur to @start to fix docs.
6146 * gst/gstsegment.c: (gst_segment_set_seek):
6148 time and start must always stay in sync as defined in design doc.
6150 * gst/gsttaglist.c: (gst_tag_list_is_empty):
6151 Rename param to fix docs.
6153 * tests/check/gst/gstsegment.c: (GST_START_TEST):
6154 Check that start and time are in sync.
6156 * tests/check/pipelines/parse-launch.c:
6157 (gst_parse_test_element_change_state):
6158 Activate pad before adding to the element.
6160 2006-10-09 Wim Taymans <wim@fluendo.com>
6162 * docs/design/part-qos.txt:
6167 Update seek event docs regarding negative rates.
6168 Rename @cur to @start.
6170 * gst/gstsegment.c: (gst_segment_set_seek):
6172 Update set_seek docs regarding negative rates.
6173 Correctly update last_stop to @stop when dealing with negative
6175 Rename @cur to @start.
6177 * tests/check/gst/gstpad.c: (GST_START_TEST):
6178 Activate pads before trying to use them.
6180 * tests/check/gst/gstsegment.c: (GST_START_TEST),
6181 (gst_segment_suite):
6182 Add simple check for segments and negative rates.
6184 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
6186 * gst/gsttaglist.c: (gst_tag_list_is_empty):
6188 * docs/gst/gstreamer-sections.txt:
6189 API: add gst_tag_list_is_empty() (#360467).
6191 * tests/check/gst/gsttag.c: (GST_START_TEST):
6194 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6197 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
6198 a value that doesn't fit on enumeration.
6200 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6202 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6203 Remove local debugging system and use Gstreamer's instead.
6205 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6207 Patch by: Josep Torre Valles <josep@fluendo.com>
6209 * common/m4/gst-error.m4:
6210 Disable warning of statement not reached on Forte.
6212 Fix warning on Forte (value doesn't fit on enumeration).
6213 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
6214 Fix warning on Forte (value doesn't fit on enumeration).
6215 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6216 DEBUG macro says it takes minimum of 2 args and so Forte
6217 complains about the use with just 1 arg.
6218 * plugins/elements/gstfdsink.c:
6219 * plugins/elements/gstfdsrc.c:
6220 * plugins/elements/gstfilesink.c:
6221 * plugins/elements/gstfilesrc.c:
6222 Use correct return type for the uri handler implementations.
6224 All these fix warnings in Forte. Fixes bug #360860.
6226 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
6229 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
6230 format string, so don't use G_GNUC_PRINTF for those versions.
6232 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
6234 * gst/gsttaglist.c: (gst_is_tag_list):
6236 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
6238 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6239 Small test for the above.
6241 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
6244 Less tabs, more spaces.
6246 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
6249 Those two function declarations do actually belong there, revert
6250 commit from yesterday that turned them intro macros.
6252 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6254 Patch by: Josep Torre Valles <josep@fluendo.com>
6256 * gst/gst.c: (gst_init_get_option_group):
6257 Fix empty declaration and type mismatch.
6258 * gst/gstbin.c: (gst_bin_change_state_func):
6260 * gst/gstelement.c: (gst_element_continue_state),
6261 (gst_element_set_state_func), (gst_element_change_state),
6262 (gst_element_change_state_func):
6263 Fix type mismatches.
6264 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
6265 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
6266 Cast as appropriate.
6267 * gst/gstobject.c: (gst_class_signal_connect):
6268 Cast as appropriate. The function pointer parameter really
6269 has the wrong type but would break API if we change it.
6271 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
6272 order of including string.h.
6273 * gst/gstutils.c: (gst_element_state_get_name):
6274 Remove unreachable line.
6275 * gst/gstxml.c: (gst_xml_parse_doc):
6277 All these caught by Forte.
6279 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6281 Patch by: Josep Torre Valles <josep@fluendo.com>
6283 * common/m4/gst-error.m4:
6285 We need to disable warnings on Forte for empty declarations
6286 due to gst-indent adding ;s to lines that just use macros
6287 where the macro actually doesn't need a ; at end to end
6290 2006-10-06 Wim Taymans <wim@fluendo.com>
6292 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6293 (gst_file_sink_close_file), (gst_file_sink_event),
6294 (gst_file_sink_render):
6295 Add some FIXME for the NEWSEGMENT handling.
6297 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6299 * gst/parse/grammar.y:
6300 Remove static function gst_parse_element_lock as all it does
6301 is return. Looks like cruft from 0.8.
6303 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6305 Patch by: Josep Torre Valles <josep@fluendo.com>
6307 * common/m4/gst-error.m4:
6309 * libs/gst/net/Makefile.am:
6310 Fix a compilation issue with Forte on Solaris. inet_aton is in
6313 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
6315 * gst/gstpad.c: (pre_activate):
6316 * gst/gstregistry.c: (gst_registry_scan_path_level):
6317 * gst/gstregistryxml.c: (load_plugin):
6318 * libs/gst/controller/gstcontroller.c:
6319 (gst_controlled_property_set_interpolation_mode):
6320 * libs/gst/dataprotocol/dataprotocol.c:
6321 (gst_dp_packet_from_event_1_0):
6322 * libs/gst/net/gstnetclientclock.c:
6323 (gst_net_client_clock_observe_times):
6324 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
6327 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
6330 * docs/gst/gstreamer-sections.txt:
6331 * gst/gstconfig.h.in:
6334 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
6335 whether we can use G_GNUC_PRINTF in other header files and at
6336 least check the printf format/arguments of debug messages and
6337 GST_ELEMENT_ERROR messages when the printf extension is not
6339 Replace more tabs with spaces in gstinfo.h and remove two spurious
6340 function declarations in GST_DISABLE_DEBUG part with macros.
6342 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
6344 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
6345 More docs for the sync-message signal (mention that it is not
6346 emitted by default); log message structures of messages posted on
6349 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
6351 * gst/gst.c: (ensure_current_registry_forking):
6352 Use a pipe pair to receive status results from the forked child, and
6353 ignore the result from waitpid. Fixes #355499
6355 2006-10-02 Wim Taymans <wim@fluendo.com>
6357 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
6358 (gst_ghost_pad_suite):
6361 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
6364 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
6366 2006-10-02 Edward Hervey <edward@fluendo.com>
6368 * docs/design/part-block.txt:
6369 Further explain the use of flushing on blocked pads.
6370 * docs/gst/gstreamer-sections.txt:
6371 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
6372 (gst_pad_push_event):
6374 Added new GstPadFlag : GST_PAD_BLOCKING.
6375 Adds the notion of pads really blocking, which enables to properly
6376 handle FLUSH_START/FLUSH_STOP events on blocked pads.
6378 API: gst_pad_is_blocking()
6379 API: GST_PAD_IS_BLOCKING() macro
6380 API: GST_PAD_BLOCKING GstPadFlag
6382 2006-10-02 Wim Taymans <wim@fluendo.com>
6384 Patch by: mrcgran <mrc.gran at gmail dot com>
6386 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
6387 Filter the proxied caps against the padtemplate if we have one.
6389 * gst/gstquery.c: (gst_query_new_segment):
6390 Add include for gstinfo.h so that compilation with
6391 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
6393 2006-10-02 Wim Taymans <wim@fluendo.com>
6395 Patch by: Alessandro Decina <alessandro at nnva org>
6397 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
6398 (gst_file_sink_set_location), (gst_file_sink_open_file),
6399 (gst_file_sink_close_file), (gst_file_sink_event),
6400 (gst_file_sink_render):
6401 Set file to NULL when closing filesink so that we can set a new filename
6402 in READY. Fixes #358613.
6404 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
6406 Patch by: Alessandro Decina <alessandro at nnva org>
6408 * gst/gstevent.c: (_gst_event_copy):
6409 Fix gst_mini_object_make_writable() and gst_event_copy() for events
6410 with event structures by setting the parent refcount address of the
6411 copied structure to the address of the refcount member of the newly
6412 copied event rather than the address of the refcount member of the
6413 original event. Fixes #358737.
6415 * tests/check/gst/gstevent.c: (GST_START_TEST):
6416 Unit test for the above.
6418 2006-09-29 Stefan Kost <ensonic@users.sf.net>
6420 * docs/design/Makefile.am:
6421 Dist some more files.
6423 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
6425 * tests/check/libs/controller.c: (GST_START_TEST),
6426 (gst_controller_suite):
6427 Add test for the previous fix; add some more tests
6428 for correct refcounting behaviour; fix a few leaks
6429 in test cases; call gst_controller_init() at start
6432 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
6434 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6435 (gst_controller_set_from_list):
6436 Don't g_return_val_if_fail() on timed values with invalid timestamps
6437 inside a critical section without unlocking the mutex. Spotted by
6438 René Stadler. (#357617)
6439 Also, fix up refcounting properly: when returning an existing
6440 controller, we should increase the reference only once and not
6441 once per property and when trying to control a property again
6442 we should also increase the refcount.
6444 2006-09-29 Wim Taymans <wim@fluendo.com>
6446 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6447 * libs/gst/net/gstnettimeprovider.c:
6448 (gst_net_time_provider_thread):
6449 Stop reading commands when EOF as well.
6451 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
6452 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
6453 * plugins/elements/gstidentity.c: (gst_identity_class_init):
6454 Unify description of the dump property.
6456 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
6458 * tests/examples/manual/.cvsignore:
6459 OK, so it's actually cvsignore that needs changing. Stop laughing.
6461 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
6463 * tests/examples/manual/Makefile.am:
6464 Gah, declare vars *before* using them
6466 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
6468 * gst/gst.c: (init_pre), (scan_and_update_registry),
6469 (ensure_current_registry_nonforking),
6470 (ensure_current_registry_forking), (ensure_current_registry),
6471 (init_post), (gst_debug_help), (gst_deinit):
6472 * gst/gst_private.h:
6473 * gst/gstregistry.c: (gst_registry_finalize),
6474 (gst_registry_remove_features_for_plugin_unlocked),
6475 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6476 (gst_registry_scan_path),
6477 (_priv_gst_registry_remove_cache_plugins),
6478 (_priv_gst_registry_cleanup):
6479 * gst/gstregistry.h:
6480 Re-commit the registry changes, along with an extra fix:
6481 When a cached plugin is encountered at a different file path,
6482 update the stored path in the registry cache so that the parent
6483 process knows where it actually is now when it re-reads the registry
6484 cache. Fixes the thing that broke distcheck with the previous commit.
6486 * tests/check/Makefile.am:
6487 Clean up files named 'core' too when running make clean.
6489 * tests/examples/manual/Makefile.am:
6490 Set up a registry path for running these tests, and clean it properly
6493 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
6496 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
6497 want gmodule-no-export-2.0.pc instead so that we don't drag in
6498 --export-dynamic on every project that links to GStreamer.
6500 Also, make our export regex only match the start of symbols, rather
6501 than any symbol that contains '_gst' somewhere.
6503 * libs/gst/check/Makefile.am:
6504 The libgstcheck we build does however need export-dynamic, as it
6505 produces some symbols that don't match our _gst... style regex.
6508 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
6510 * gst/gst.c: (init_pre), (scan_and_update_registry),
6511 (ensure_current_registry_nonforking),
6512 (ensure_current_registry_forking), (ensure_current_registry),
6513 (init_post), (gst_debug_help), (gst_deinit):
6514 * gst/gst_private.h:
6515 * gst/gstregistry.c: (gst_registry_finalize),
6516 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6517 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
6518 (_gst_registry_cleanup):
6519 * gst/gstregistry.h:
6520 Revert previous change until I figure out why it breaks distcheck.
6522 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
6524 * gst/gst.c: (init_pre), (scan_and_update_registry),
6525 (ensure_current_registry_nonforking),
6526 (ensure_current_registry_forking), (ensure_current_registry),
6527 (init_post), (gst_debug_help), (gst_deinit):
6529 Make init_pre and init_post take the full complement of GOptionFunc
6530 args so they can return useful GErrors. Make the registry updating
6533 Call _priv_gst_registry_remove_cache_plugins after scanning files to
6534 ensure that the registry we're about to write out doesn't contain
6535 stale information about old-deleted plugin files.
6537 Make _priv_gst_registry_remove_cache_plugins return a boolean so
6538 that deletion of plugin files is considered a registry change.
6540 * gst/gst_private.h:
6541 * gst/gstregistry.c: (gst_registry_finalize),
6542 (gst_registry_remove_features_for_plugin_unlocked),
6543 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6544 (gst_registry_scan_path),
6545 (_priv_gst_registry_remove_cache_plugins),
6546 (_priv_gst_registry_cleanup):
6547 * gst/gstregistry.h:
6548 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
6549 by adding _priv prefix, so that they won't appear in the global
6550 symbol table. They still do atm though because of #318031. Move the
6551 prototypes to gst_private.h
6553 When removing a plugin, remove all features for that plugin too.
6556 2006-09-27 Wim Taymans <wim@fluendo.com>
6558 * docs/random/moving-plugins:
6559 Make it clear that the "compiled-in descriptions" really mean
6560 the element details.
6562 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6563 (gst_base_sink_wait_preroll):
6566 * docs/libs/gstreamer-libs-sections.txt:
6567 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6568 (gst_base_src_get_range), (gst_base_src_activate_push):
6569 * libs/gst/base/gstbasesrc.h:
6570 Added function to block while waiting for PLAYING, this function
6571 is used by live sources that block on the clock.
6572 API: gst_base_src_wait_playing()
6574 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
6576 Patch by: Peter Kjellerstedt <pkj at axis com>
6579 gst-element-check.m4 is generated and should therefore be
6580 copied from the build dir rather than the source dir (#357593).
6581 'make distcheck' hasn't noticed this because we were disting
6582 the file as well, so stop doing that.
6584 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
6586 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6587 Add some tests for gst_caps_intersect().
6589 * tools/gst-launch.c: (event_loop):
6590 Print all buffering percentages we get, even the 100% one.
6592 2006-09-26 Wim Taymans <wim@fluendo.com>
6594 * tools/gst-inspect.c: (print_element_properties_info),
6595 (print_signal_info):
6596 Fix printing of flags to match the look of enums.
6598 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
6600 * gst/gstelementfactory.c:
6601 Fix typo in docs blurb.
6603 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
6605 * gst/gsturi.c: (search_by_entry):
6606 Don't assert/crash here if a uri handler doesn't return any
6607 supported protocols. The list of protocols could be generated
6608 dynamically at runtime or at plugin registration, and an error
6609 in the underlying library shouldn't be fatal (#353301).
6611 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
6614 Fix warning if HAVE_PRINTF_EXTENSION is undefined
6615 (spotted by Peter Kjellerstedt).
6617 2006-09-23 Wim Taymans <wim@fluendo.com>
6619 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
6621 * libs/gst/base/gstbasesrc.c:
6622 (gst_base_src_default_check_get_range), (gst_base_src_start),
6623 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6624 (gst_base_src_change_state):
6625 Match _start/_stop calls in the activate functions. Remove redundant
6626 _stop call from the state change function. Fixes #356910.
6627 Turn failure DEBUG into ERROR.
6629 2006-09-22 Wim Taymans <wim@fluendo.com>
6631 * docs/design/part-buffering.txt:
6632 * gst/gstmessage.c: (gst_message_new_buffering),
6633 (gst_message_parse_buffering):
6634 Update docs about buffering.
6636 * docs/design/part-trickmodes.txt:
6639 2006-09-22 Stefan Kost <ensonic@users.sf.net>
6641 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6642 (gst_controller_new_list):
6643 Ref instances when returning them again (fixes #357180)
6645 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
6647 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
6648 Don't forget to release proxy lock when there's an error.
6650 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
6653 Add extra initialisers for Caps things, to fix some plugin warnings
6656 2006-09-18 Wim Taymans <wim@fluendo.com>
6658 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
6659 Also set template on the internal pad so that a getcaps from the
6660 target pad returns the template caps.
6662 2006-09-18 Wim Taymans <wim@fluendo.com>
6664 * gst/gstelement.c: (gst_element_post_message),
6665 (gst_element_dispose):
6666 Use _DEBUG_OBJECT some more.
6668 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6671 * tools/gst-launch.c: (main):
6672 If the toplevel element is not a GstPipeline, it must be put in a
6673 pipeline so that a bus and clock is selected.
6675 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
6677 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
6678 JITTER, RATE, and LATENCY query should be handled by the
6679 default case and not by the CONVERT query code.
6681 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
6683 * gst/gstformat.c: (gst_format_register):
6684 Fix locking order (must take lock before using n_values).
6686 * gst/gstvalue.c: (gst_value_serialize_enum),
6687 (gst_value_deserialize_enum_iter_cmp),
6688 (gst_value_deserialize_enum):
6689 Fix serialisation/deserialisation of custom registered GstFormats.
6691 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6692 Unit test for custom format serialisation/deserialisation.
6694 2006-09-17 Stefan Kost <ensonic@users.sf.net>
6696 * docs/pwg/building-boiler.xml:
6697 * plugins/elements/gstcapsfilter.c:
6698 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
6701 2006-09-16 Edward Hervey <edward@fluendo.com>
6703 * libs/gst/base/gstbasetransform.c:
6704 (gst_base_transform_buffer_alloc):
6705 Check if requested caps are the same as the sinks caps IF
6706 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
6708 This fixes the renegotiation issues stated in #352827.
6710 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
6713 * docs/manual/advanced-autoplugging.xml:
6714 * tests/examples/Makefile.am:
6715 * tests/examples/manual/.cvsignore:
6716 * tests/examples/manual/Makefile.am:
6717 * tests/examples/manual/extract.pl:
6718 Extract the manual examples again like we used to do.
6721 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
6723 * win32/common/config.h:
6726 2006-09-16 Stefan Kost <ensonic@users.sf.net>
6729 Documents how to receive errors.
6731 2006-09-15 Wim Taymans <wim@fluendo.com>
6733 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
6734 (event_loop), (main):
6735 Added some comments here and there.
6736 Post an application message when an interrupt is caught instead of doing
6737 an uncontrolled state change.
6738 Clean up the event loop.
6739 Handle buffering messages, pause/resume the pipeline.
6740 Make shutdown because of an interrupt more reliable.
6742 2006-09-15 Wim Taymans <wim@fluendo.com>
6744 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6745 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
6746 (gst_base_sink_preroll_object):
6747 Make sure that our internal state is correct when we commit our state
6748 asynchronously. This solves a race where a state change to PLAYING
6749 could cause the sink to remain blocked in preroll in some situations.
6751 2006-09-15 Wim Taymans <wim@fluendo.com>
6753 * tools/gst-inspect.c: (print_element_properties_info),
6754 (print_signal_info):
6755 List flags as hex so it's easier to deal with.
6757 2006-09-15 Wim Taymans <wim@fluendo.com>
6759 * docs/libs/gstreamer-libs-sections.txt:
6760 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
6761 (gst_base_sink_do_sync):
6762 * libs/gst/base/gstbasesink.h:
6763 Expose logic to wait for preroll so that subclasses such as audiosink
6764 can also use this method.
6765 API: gst_base_sink_wait_preroll()
6767 2006-09-15 Wim Taymans <wim@fluendo.com>
6769 * gst/gstobject.c: (gst_object_set_parent):
6770 * gst/gstpipeline.c: (do_pipeline_seek):
6771 Small cleanups in docs and code.
6773 * gst/gstsegment.c: (gst_segment_clip):
6774 * tests/check/gst/gstsegment.c: (GST_START_TEST):
6775 if stop == start and start is in the segment, no clipping should be
6776 done. Also add a test for this.
6778 2006-09-15 Wim Taymans <wim@fluendo.com>
6780 * docs/design/part-buffering.txt:
6781 * docs/gst/gstreamer-sections.txt:
6782 * gst/gstmessage.c: (gst_message_new_buffering),
6783 (gst_message_parse_buffering):
6785 Added methods to create and parse BUFFERING messages.
6786 Added preliminary docs about buffering.
6787 API: gst_message_new_buffering
6788 API: gst_message_parse_buffering
6790 2006-09-06 Wim Taymans <wim@fluendo.com>
6793 Update documentation.
6795 * gst/gstelement.c: (gst_element_class_init),
6796 (gst_element_release_request_pad), (gst_element_set_clock),
6797 (gst_element_get_index), (gst_element_add_pad),
6798 (gst_element_remove_pad), (gst_element_get_random_pad),
6799 (gst_element_send_event), (gst_element_get_query_types),
6800 (gst_element_query), (gst_element_post_message),
6801 (gst_element_message_full), (gst_element_continue_state),
6802 (gst_element_lost_state), (gst_element_save_thyself),
6803 (gst_element_restore_thyself):
6804 Documentation updates.
6805 Rename last bit of the new-pad -> pad-added signal rename.
6806 Fix the case where an element query would only work if the source
6808 Avoid some useless type checking in message handling.
6813 Documentation updates.
6815 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
6817 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
6818 add an INFO line for when we actually update the fd
6820 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
6825 === release 0.10.10 ===
6827 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
6830 releasing 0.10.10, "Pais"
6832 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
6834 * docs/manual/advanced-position.xml:
6835 Fix typo in sample code.
6837 2006-09-05 Wim Taymans <wim@fluendo.com>
6839 * libs/gst/net/gstnetclientclock.c: (inet_aton),
6840 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
6841 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
6842 * libs/gst/net/gstnetclientclock.h:
6843 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6844 * libs/gst/net/gstnettimepacket.h:
6845 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
6846 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
6847 (gst_net_time_provider_thread), (gst_net_time_provider_new):
6848 * libs/gst/net/gstnettimeprovider.h:
6849 Make stuff compile on windows. Fixes #345295.
6851 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
6853 * gst/gst.c: (ensure_current_registry_forking):
6854 Print better details when child was terminated by signal.
6856 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
6858 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
6859 Print a warning rather than g_assert() if a plugin feature
6860 is a URI handler but returns no protocols (#353976).
6862 2006-09-02 Stefan Kost <ensonic@users.sf.net>
6864 * docs/random/moving-plugins:
6867 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
6869 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
6870 Fix locking order, handle NULL function values properly.
6875 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
6876 Initialise variable before using it and fix debug statement to
6877 print the address of the function rather than the address of the
6878 variable on the stack holding the address of the function.
6880 2006-09-01 Wim Taymans <wim@fluendo.com>
6882 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
6883 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
6884 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
6885 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
6886 (gst_ghost_pad_parent_unset),
6887 (gst_ghost_pad_internal_do_activate_push),
6888 (gst_ghost_pad_internal_do_activate_pull),
6889 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
6890 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
6891 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
6892 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
6893 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
6894 (gst_ghost_pad_new_no_target_from_template),
6895 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
6897 Avoid needless typechecking in macros.
6898 Since the internal pad is always present and never changes, there is
6899 no need to locking or ref when retrieving it.
6900 Improve debugging a bit.
6901 Handle link errors when setting the target. Fixes #341029.
6903 2006-09-01 Wim Taymans <wim@fluendo.com>
6905 * docs/libs/gstreamer-libs-sections.txt:
6906 * docs/plugins/gstreamer-plugins-sections.txt:
6909 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
6910 (gst_collect_pads_event):
6911 * libs/gst/base/gstcollectpads.h:
6912 Documentation updates.
6913 Free queued buffer when removing a pad.
6915 2006-08-31 Michael Smith <msmith@fluendo.com>
6917 * gst/gstutils.c: (gst_element_link_pads),
6918 (gst_element_link_pads_filtered):
6919 Ensure that we set a capsfilter to NULL if we failed to link it
6920 when doing filtered linking, to avoid criticals.
6922 No need to check for unreffing srcpad, which is explicly NULLed
6923 above (a trivial code cleanup).
6925 2006-08-31 Wim Taymans <wim@fluendo.com>
6927 * docs/design/part-gstghostpad.txt:
6928 Update ascii art in documentation.
6930 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
6931 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
6932 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
6933 (gst_ghost_pad_internal_do_activate_push),
6934 (gst_ghost_pad_internal_do_activate_pull),
6935 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
6936 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
6937 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
6938 (gst_ghost_pad_set_target):
6939 Small cleanups and leak fixes.
6940 Remove some checks now that the internal pad is never NULL.
6941 Fix the case where linking pads without a target would create nasty
6942 criticals. Fixes #341029.
6943 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
6944 value of _set_target().
6946 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
6947 (gst_ghost_pad_suite):
6948 Some more tests for creating and linking untargeted ghostpads.
6950 2006-08-31 Edward Hervey <edward@fluendo.com>
6952 * docs/gst/gstreamer-sections.txt:
6953 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
6954 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
6955 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
6956 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
6957 (gst_ghost_pad_new_from_template),
6958 (gst_ghost_pad_new_no_target_from_template):
6959 * gst/gstghostpad.h:
6960 Refactored *_new() functions.
6961 Templates are now used as a g_object_new() parameter.
6962 Use template in _do_getcaps() if we don't have a target.
6963 Small documentation cleanups.
6964 Added two new constructors:
6965 gst_ghost_pad_new_from_template()
6966 gst_ghost_pad_new_no_target_from_template()
6967 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
6968 (gst_ghost_pad_suite):
6969 Added tests for new ghostpad instanciation functions.
6971 API additions: gst_ghost_pad_new_from_template,
6972 gst_ghost_pad_new_no_target_from_template
6974 2006-08-30 Stefan Kost <ensonic@users.sf.net>
6976 * docs/random/ensonic/profiling.txt:
6977 Ideas about qos profiling.
6979 2006-08-29 Wim Taymans <wim@fluendo.com>
6981 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
6985 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
6988 Improve and detypofy docs.
6990 * tests/check/Makefile.am:
6991 * tests/check/gst/.cvsignore:
6992 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
6993 Add a basic test suite for GstXML.
6995 2006-08-29 Wim Taymans <wim@fluendo.com>
6997 * gst/gstelement.c: (activate_pads), (clear_caps),
6998 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
6999 Clear the pad caps when the element shut down all of the pads and
7000 is not streaming data that could modify the caps.
7003 2006-08-28 Michael Smith <msmith@fluendo.com>
7005 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7006 Revert previous change; I misunderstood single-segment mode.
7008 2006-08-28 Michael Smith <msmith@fluendo.com>
7010 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7011 Unset DISCONT on buffers when using single-segment mode.
7013 2006-08-28 Wim Taymans <wim@fluendo.com>
7015 * gst/gstcaps.c: (gst_caps_merge_structure):
7017 Fix docs and indentation again.
7019 * tests/check/gst/gstquery.c: (GST_START_TEST):
7020 Fix leak in tests and add some more tests.
7022 2006-08-28 Edward Hervey <edward@fluendo.com>
7024 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
7025 Inform GstSegment of the last stop position in order for the current
7026 segment to have a proper duration if it doesn't have a specific stop
7027 position from which a duration could be calculated.
7028 This bug was noticeable when a non-flushing, non-update new segment was
7029 followed by another segment (all buffers from the new segment were being
7032 2006-08-28 Wim Taymans <wim@fluendo.com>
7034 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
7035 Small comment update.
7037 * plugins/elements/gstidentity.c: (gst_identity_class_init),
7038 (gst_identity_transform_ip):
7039 Drop-probability is broken, mention this in the code with a
7040 FIXME and also in the property description.
7041 Make silent also be silent about the drop messages.
7043 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
7045 * docs/manual/appendix-win32.xml:
7046 Remove mention of popt, we don't depend on that any
7047 longer (#353136). Add some comments pointing out that
7048 this section is slightly outdated.
7050 2006-08-28 Wim Taymans <wim@fluendo.com>
7052 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
7054 * gst/gstquery.c: (gst_query_new_segment):
7055 * tests/check/gst/gstquery.c: (GST_START_TEST):
7056 Initialize variables when creating a new segment query.
7059 2006-08-28 Wim Taymans <wim@fluendo.com>
7061 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
7063 * gst/gstelement.c: (gst_element_get_bus):
7064 * tests/check/gst/gstelement.c: (GST_START_TEST):
7065 Check for NULL before _reffing the bus. Fixes #353122.
7067 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
7069 * docs/manual/basics-bus.xml:
7070 Docs update: fix wrong callback return value explanation; add
7071 some lines about the implicit relationship between main loop
7072 and main context; remove duplicate main loop variable declaration.
7074 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
7076 * tests/check/gst/gstcaps.c: (GST_START_TEST):
7077 Don't leak caps in unit test; add a few more simple
7080 2006-08-24 Stefan Kost <ensonic@users.sf.net>
7082 * docs/gst/gstreamer-sections.txt:
7083 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
7084 (gst_caps_structure_is_subset), (gst_caps_merge),
7085 (gst_caps_merge_structure):
7087 * libs/gst/base/gstbasetransform.c:
7088 (gst_base_transform_transform_caps):
7089 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7090 implement caps merging (fixes #352580)
7092 2006-08-23 Stefan Kost <ensonic@users.sf.net>
7094 * tools/Makefile.am:
7095 * tools/gst-plot-timeline.py:
7096 add debug-log plotting developer tool (#340674)
7098 2006-08-23 Wim Taymans <wim@fluendo.com>
7100 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
7101 (gst_pad_stop_task):
7102 Improve debugging for task functions.
7104 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
7105 (gst_task_start), (gst_task_pause), (gst_task_join):
7106 Make sure that the task function started and finished after a
7108 Don't try to push the task function on the threadpool multiple
7110 Improve the g_warning message with some useful suggestions
7111 about how to fix the problem.
7113 2006-08-23 Wim Taymans <wim@fluendo.com>
7115 * gst/gstutils.c: (gst_pad_proxy_getcaps):
7116 Handle RESYNC correctly in _proxy_getcaps.
7118 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
7120 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
7121 (gst_xml_parse_memory), (gst_xml_get_element):
7122 Chain up to parent class in dispose function and also
7123 unref the elements in the toplevel_elements GList.
7124 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
7125 Always return a reference in gst_xml_get_element() rather
7126 than only sometimes.
7128 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
7129 Don't leak GstXml object.
7131 2006-08-21 Stefan Kost <ensonic@users.sf.net>
7133 * docs/gst/gstreamer-sections.txt:
7134 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
7137 * libs/gst/base/gstbasetransform.c:
7138 (gst_base_transform_transform_caps):
7139 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
7142 2006-08-21 Edward Hervey <edward@fluendo.com>
7144 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
7145 Implement GObject::dispose virtual method in GstXML so we can free the
7148 2006-08-21 Wim Taymans <wim@fluendo.com>
7150 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
7151 (gst_buffer_create_sub):
7152 Copy duration/offset_end/caps when creating a subbuffer of the
7154 Make the subbuffer read-only when we make the metadata writable for
7157 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
7158 Added check for metadata copy when creating subbuffers.
7160 2006-08-21 Edward Hervey <edward@fluendo.com>
7162 * libs/gst/base/gstbasetransform.c:
7163 (gst_base_transform_buffer_alloc):
7164 Only call downstream buffer_alloc if transform element is passthrough
7165 or always_in_place. Closes #350449.
7167 2006-08-20 Stefan Kost <ensonic@users.sf.net>
7170 ChangeLog surgery to add comments to previous changes
7172 2006-08-20 Stefan Kost <ensonic@users.sf.net>
7177 * gst/gstpad.c: (gst_pad_set_active):
7178 Be more verbose in the log
7180 * libs/gst/base/gstbasetransform.c:
7181 (gst_base_transform_transform_caps):
7182 Simplify caps to get rid of duplicates, fixes #345444
7184 2006-08-20 Stefan Kost <ensonic@users.sf.net>
7188 Use these optimizations only internally.
7190 2006-08-20 Stefan Kost <ensonic@users.sf.net>
7192 * gst/gstvalue.c: (gst_value_compare_list),
7193 (gst_value_compare_fraction_range),
7194 (gst_value_intersect_fraction_fraction_range),
7195 (gst_value_intersect_fraction_range_fraction_range),
7196 (gst_value_subtract_fraction_fraction_range),
7197 (gst_value_subtract_fraction_range_fraction_range),
7198 (gst_value_get_compare_func), (gst_value_compare),
7199 (gst_value_compare_with_func):
7201 Saves the expensive lookup of the compare function in many cases
7204 2006-08-18 Edward Hervey <edward@fluendo.com>
7206 * tests/check/gst/gstinfo.c: (gst_info_suite):
7207 Disable test that require gstdebug if it wasn't built in core.
7209 2006-08-18 Stefan Kost <ensonic@users.sf.net>
7211 * docs/random/ensonic/logging.txt:
7214 * gst/gstinfo.c: (gst_debug_log_default):
7215 reorder fields, save some columns, add optional color codes for log
7218 2006-08-18 Stefan Kost <ensonic@users.sf.net>
7220 * docs/random/ensonic/logging.txt:
7221 add ideas about making the logs a bit more useful
7223 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
7225 * docs/pwg/advanced-events.xml:
7226 * docs/pwg/titlepage.xml:
7227 Update for 0.10 API (#340627). Add myself
7230 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
7232 * docs/libs/gstreamer-libs-docs.sgml:
7233 * docs/libs/gstreamer-libs-sections.txt:
7234 * libs/gst/check/gstbufferstraw.c:
7235 Make gstcheck stuff show up in docs (still needs to
7236 be documented properly though).
7238 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
7240 * docs/gst/gstreamer-sections.txt:
7242 * gst/gst.c: (init_post):
7243 * gst/gst_private.h:
7244 * gst/gstquark.c: (_priv_gst_quarks_initialize):
7246 * gst/gstquery.c: (gst_query_new_position),
7247 (gst_query_set_position), (gst_query_parse_position),
7248 (gst_query_new_duration), (gst_query_set_duration),
7249 (gst_query_parse_duration), (gst_query_new_convert),
7250 (gst_query_set_convert), (gst_query_parse_convert),
7251 (gst_query_new_segment), (gst_query_set_segment),
7252 (gst_query_parse_segment), (gst_query_new_seeking),
7253 (gst_query_set_seeking), (gst_query_parse_seeking):
7254 Add internal helpers for pre-registering quarks from static strings
7255 and using the quark values directly instead of looking them up when
7256 creating and parsing queries. Can be used for event construction too.
7259 2006-08-16 Wim Taymans <wim@fluendo.com>
7264 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
7266 * gst/gstutils.c: (gst_util_set_value_from_string):
7267 Fix memleak (#351502).
7269 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7270 Add unit test for most of gst_util_set_value_from_string()
7271 (not that one would want to encourage use of this function).
7273 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
7275 * libs/gst/check/gstcheck.h:
7276 Use const gchar * variables in fail_unless_equals_string
7277 macro to avoid compiler warnings (and don't use tabs for
7280 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
7282 * tools/gst-launch.c: (print_tag):
7283 More space on the left for the tag names, to cater
7284 for the 'extended comment' tag (not touching the
7285 string for the first line since it's translated).
7287 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
7289 * libs/gst/check/gstcheck.h:
7290 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
7291 print something when they fail.
7293 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
7295 * docs/gst/gstreamer-sections.txt:
7296 * gst/gsttaglist.c: (_gst_tag_initialize):
7298 API: add GST_TAG_EXTENDED_COMMENT (#350935).
7299 Also change merge function for GST_TAG_COMMENT to
7302 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
7304 * gst/gstinfo.c: (gst_debug_print_object):
7305 Make GST_PTR_FORMAT print messages as well.
7307 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
7308 (GST_START_TEST), (gst_info_suite):
7311 2006-08-14 Edward Hervey <edward@fluendo.com>
7313 * gst/gstelementfactory.c: (gst_element_register):
7314 If the GstElementClass doesn't have a GstElementDetails with all fields
7315 filled up correctly (longname, description AND author), then error out
7316 nicely instead of crashing.
7318 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
7320 * gst/gststructure.c:
7321 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
7324 Expand on the difference between arrays and lists as we use them.
7326 2006-08-14 Wim Taymans <wim@fluendo.com>
7328 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
7329 If the parent state change function failed, don't assume we can safely
7330 stop the source, this will be done when the pads are deactivated.
7332 2006-08-14 Wim Taymans <wim@fluendo.com>
7335 * gst/gsttask.c: (gst_task_join):
7338 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
7339 (gst_pad_stop_task):
7340 When pad (de)activation failed for some reason, restore the old
7341 activation mode and set the pad to flushing instead of assuming the
7343 If the _task_join() failed, reinstall the task on the pad so that it can
7344 be stopped later and return an error.
7346 2006-08-11 Andy Wingo <wingo@pobox.com>
7349 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
7350 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
7351 is only for users of API that don't want to see deprecated
7352 functions in the headers; people that want to compile out
7353 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
7354 CFLAGS. Fixes the build of multifdsink, or will soon..
7356 2006-08-11 Wim Taymans <wim@fluendo.com>
7358 * docs/gst/gstreamer-sections.txt:
7359 Add GstClockClass vmethod docs.
7362 Mark #endif with comment for associated #if
7364 * gst/gstclock.c: (gst_clock_id_wait):
7366 Add vmethod wait_jitter to avoid an unneeded _get_time() for
7367 most clock implementations.
7369 Flesh out docs about resolution methods.
7370 API: GstClockClass::wait_jitter
7372 * gst/gstsystemclock.c: (gst_system_clock_class_init),
7373 (gst_system_clock_async_thread),
7374 (gst_system_clock_id_wait_jitter_unlocked),
7375 (gst_system_clock_id_wait_jitter):
7376 Use base class wait_jitter variant for improved performance
7377 due to less clock polling.
7379 2006-08-11 Edward Hervey <edward@fluendo.com>
7381 * gst/gst.c: (gst_init_check), (init_post):
7382 Set gst as being initialized before scanning/updating the registry,
7383 since there might be my python plugin loader that calls gst_init() and
7384 we don't want to loop back in.
7387 2006-08-11 Wim Taymans <wim@fluendo.com>
7389 * docs/design/part-qos.txt:
7390 Bring docs in line with the code. Mostly the sign of the jitter was
7391 wrong in the docs. Fixes #349943.
7394 Fix the docs for the jitter.
7396 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
7397 (gst_event_parse_tag), (gst_event_new_buffer_size),
7398 (gst_event_parse_buffer_size), (gst_event_parse_qos),
7399 (gst_event_new_seek), (gst_event_parse_seek),
7400 (gst_event_new_navigation):
7401 Make sure the GstStructure has no parent when creating custom
7403 Add some more argument checking so that we avoid 0.0 rates.
7404 Flesh out the docs for the QoS event some more.
7406 2006-08-11 Wim Taymans <wim@fluendo.com>
7408 * docs/gst/gstreamer-sections.txt:
7409 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
7410 (ensure_current_registry_forking), (ensure_current_registry),
7411 (parse_one_option), (parse_goption_arg), (gst_deinit),
7412 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
7415 Added API and command line option to disable registry forking in
7416 addition to the environment variable.
7417 Constify some static arrays.
7418 Added some more debug.
7420 API: gst_registry_fork_is_enabled()
7421 API: gst_registry_fork_set_enabled()
7422 API: --gst-disable-registry-fork command line option
7425 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
7427 * gst/gst.c: (gst_init):
7428 Fix typo in error message.
7430 2006-08-10 Stefan Kost <ensonic@users.sf.net>
7432 * libs/gst/controller/gstcontroller.h:
7433 fix ABI size-correction
7435 * tests/check/libs/gdp.c: (gst_dp_suite):
7436 make tests that use deprecated API conditional
7438 2006-08-10 Stefan Kost <ensonic@users.sf.net>
7440 * docs/libs/gstreamer-libs-sections.txt:
7441 * libs/gst/controller/gstcontroller.c:
7442 (_gst_controller_get_property), (_gst_controller_set_property),
7443 (_gst_controller_init), (_gst_controller_class_init):
7444 * libs/gst/controller/gstcontroller.h:
7445 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
7446 (gst_object_set_control_rate):
7447 API: add gst_object_{s,g}et_control_rate(), add private data section,
7450 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
7451 * libs/gst/dataprotocol/dataprotocol.h:
7452 add deprecation guards to make gtk-doc happy and allow disabling cruft
7454 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
7456 * tests/check/Makefile.am:
7457 * tests/check/gst/.cvsignore:
7458 Let's enable the new unit test as well.
7460 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
7463 * docs/gst/gstreamer-sections.txt:
7464 * gst/gstconfig.h.in:
7465 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
7466 (_gst_info_printf_extension_ptr),
7467 (_gst_info_printf_extension_segment):
7468 API: add GST_SEGMENT_FORMAT, which is a printf extension we
7469 register that lets us easily dump GstSegments into debug
7472 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
7473 (info_segment_format_printf_extension), (gst_info_suite):
7474 Add simple unit test that logs a bunch of different segments (not
7475 valgrinded at the moment because of leaks in
7476 gst_debug_add_log_function).
7478 2006-08-09 Edward Hervey <edward@fluendo.com>
7480 * libs/gst/base/gstbasetransform.c:
7481 (gst_base_transform_buffer_alloc):
7482 Even if we can't figure out the proper format to request downstream,
7483 call buffer_alloc() downstream with the input parameters without setting
7484 the caps on the srcpad. This will force negotiation in the chain
7488 2006-08-08 Edward Hervey <edward@fluendo.com>
7490 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
7491 Unlinking from a pad without a target is now a perfectly valid case
7492 which should NOT raise an assertion.
7493 This case would happen if a linked ghostpad its target set to NULL after
7494 it was previously linked.
7496 2006-08-08 Edward Hervey <edward@fluendo.com>
7498 * tests/check/libs/gdp.c:
7499 Also comment out the test (see below).
7501 2006-08-08 Edward Hervey <edward@fluendo.com>
7503 * tests/check/libs/gdp.c: (gst_dp_suite):
7504 Use the architecture information from config.h and not gcc macros
7505 in order to properly disable a test that fails on PPC64.
7507 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
7509 * gst/gstelement.c: (gst_element_remove_pad):
7510 Don't crash printing the warning if the pad has no parent.
7512 2006-08-02 Wim Taymans <wim@fluendo.com>
7514 * libs/gst/dataprotocol/dataprotocol.c:
7515 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
7516 (gst_dp_crc), (gst_dp_header_payload_length),
7517 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
7518 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
7519 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
7520 (gst_dp_event_from_packet), (gst_dp_validate_header),
7521 (gst_dp_validate_payload):
7522 Make debug category static
7523 Constify the crc table.
7524 Do some more arg checking in public functions.
7525 Fix some docs and do some small cleanups.
7527 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
7528 Add some more checks to see if GDP deals with bogus input.
7530 2006-07-31 Wim Taymans <wim@fluendo.com>
7532 * gst/gstvalue.c: (gst_value_compare_list):
7533 Fix GstValueList comparison code. Fixes #347293.
7535 * tests/check/gst/gstvalue.c: (GST_START_TEST):
7536 Check to test GstValueList comparison.
7538 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7540 * gst/gstelementfactory.c: (gst_element_factory_create):
7541 Remove unnecessary ref/unref pair
7543 * gst/parse/grammar.y:
7544 Make sure to free the parse buffer on all code paths.
7545 Move a g_free up to the error handler where it's easier to see.
7547 * tests/check/gst/gstevent.c: (test_event):
7548 Extending timeout for downstream travelling events to 10 seconds to
7549 hopefully avoid intermittent failure on the buildbots.
7551 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
7552 Don't manually set the state of the src element - it will happen as a
7553 natural consequence of the pipeline changing state, and that way it
7554 will do it in the right order too.
7556 2006-07-31 Wim Taymans <wim@fluendo.com>
7558 * libs/gst/base/gstbasetransform.c:
7559 (gst_base_transform_buffer_alloc):
7560 Use OBJECT_LOCK and refcounting to get the pad caps in the
7561 buffer_alloc function because the caps could change while we are
7562 busy with them. Fixes #349105
7564 2006-07-31 Wim Taymans <wim@fluendo.com>
7566 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
7567 Protect _PAD_CAPS with OBJECT_LOCK.
7569 2006-07-31 Wim Taymans <wim@fluendo.com>
7571 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
7572 (gst_pad_get_property), (gst_pad_activate_pull),
7573 (gst_pad_activate_push), (gst_pad_set_blocked_async),
7574 (gst_pad_set_activate_function),
7575 (gst_pad_set_activatepull_function),
7576 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
7577 (gst_pad_set_getrange_function),
7578 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
7579 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
7580 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
7581 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
7582 (gst_pad_set_acceptcaps_function),
7583 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
7584 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
7585 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
7586 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
7587 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
7588 (gst_pad_configure_sink), (gst_pad_configure_src),
7589 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
7590 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
7591 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
7592 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
7593 (gst_pad_send_event):
7594 Use _DEBUG_OBJECT when it makes sense.
7595 Protect GST_PAD_CAPS with the OBJECT_LOCK.
7596 Small cleanups and code reflows.
7597 Avoid caps refcounting in _accept_caps.
7598 Refactor alloc_buffer so that the code performed on the peer is in a
7599 separate function. Also if the pad does not implement a buffer alloc
7600 function, we should still check if the pad is flushing before falling
7601 back to the default allocator.
7603 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7605 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7606 Make all uses of identity and fakesink have silent=true to avoid
7607 serialising every passing data structure, which is breaking tests
7608 on FC4 for some unknown reason.
7610 2006-07-30 Stefan Kost <ensonic@users.sf.net>
7612 * gst/parse/Makefile.am:
7613 * gst/parse/grammar.y:
7614 * gst/parse/parse.l:
7615 Reverted previous patch as it required to bump the flex dependency to
7616 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
7618 2006-07-30 Stefan Kost <ensonic@users.sf.net>
7620 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
7622 * gst/parse/Makefile.am:
7623 * gst/parse/grammar.y:
7624 * gst/parse/parse.l:
7625 push & pop the state of the lexer for reentrant use case
7628 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
7630 * libs/gst/base/gstbasesrc.h:
7631 Note in the docs that the ::newsegment vfunc is not actually used by
7634 2006-07-28 Wim Taymans <wim@fluendo.com>
7636 * libs/gst/base/gstcollectpads.c:
7637 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
7638 (gst_collect_pads_clear), (gst_collect_pads_flush),
7639 (gst_collect_pads_event), (gst_collect_pads_chain):
7640 When flushing a pad, also clear the queued buffer so that we don't
7641 accidentally use it when we shouldn't.
7642 Fix leaks by inreffing incomming buffer.
7643 Flush out queued buffers in case of errors.
7646 2006-07-28 Wim Taymans <wim@fluendo.com>
7648 * docs/random/phonon-gst:
7649 Random notes about a Phonon backend.
7651 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
7653 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
7655 * tests/check/libs/gdp.c: (gst_dp_suite):
7656 Take a whack at fixing the ppc compile using a different define to
7657 disable the broken test.
7659 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7660 Remove excess g_print()
7662 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
7664 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
7665 Oops, meant to uncomment this line too to dampen the noise a bit.
7667 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
7669 * gst/parse/grammar.y:
7670 * gst/parse/parse.l:
7671 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
7672 (GST_START_TEST), (parse_suite):
7673 Fix some of the leaks exposed by extending the parse-launch testsuite,
7674 and move the 3 I can't figure out into a separate test that won't run
7675 the pipelines unless the appropriate line is uncommented.
7677 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
7679 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7680 Requesting 0 bytes before the end of the file should result in
7681 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
7684 2006-07-27 Wim Taymans <wim@fluendo.com>
7686 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
7687 Fix useless assert, a uint is always positive.
7689 * gst/gststructure.c: (gst_structure_nth_field_name),
7690 (gst_structure_foreach), (gst_structure_map_in_place):
7691 Check input arguments for public functions to avoid obvious crashes.
7693 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
7694 * plugins/elements/gstfakesink.h:
7695 Do less useless typechecking.
7697 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
7699 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
7700 Do not use mmap() by default since there are a number of error
7701 conditions that we would like to handle in a non-fatal way that
7702 will result in a SIGBUS if we use mmap(). Examples: external
7703 devices (USB harddrive, portable music player) being unplugged
7704 while in use; file on mounted CD/DVD that can't be read because
7705 the medium is partly damaged. Fixes #348455 and #348475.
7707 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
7710 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
7713 2006-07-26 Stefan Kost <ensonic@users.sf.net>
7715 * gst/gstregistry.c:
7716 Move big documentation comment into class section header, so that it
7717 appears in the API docs.
7719 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
7721 * docs/gst/gstreamer-sections.txt:
7722 Oops. Commit the docs additions too for new API.
7723 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
7725 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
7727 * gst/gststructure.c: (gst_structure_id_set),
7728 (gst_structure_id_set_valist):
7729 * gst/gststructure.h:
7730 Add API for setting values into structures without performing
7731 a quark lookup, if the appropriate quark is already known.
7733 API: gst_structure_id_set
7734 API: gst_structure_id_set_valist
7736 * gst/parse/grammar.y:
7737 * gst/parse/parse.l:
7738 Remove some dead code shown by the coverage information.
7739 Don't throw a critical g_warning when encountering a syntax error,
7740 just warn and let the normal error path handle it.
7742 * plugins/elements/gstelements.c:
7743 Bump the rank of filesink up to PRIMARY so that it is preferred over
7744 gnomevfssink for file:// sink uri's
7746 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
7747 (GST_START_TEST), (run_delayed_test),
7748 (gst_parse_test_element_base_init),
7749 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
7750 (gst_parse_test_element_change_state),
7751 (gst_register_parse_element), (parse_suite):
7752 Beef up the tests for parse syntax to check that more error cases
7753 fail as they are supposed to. Increases the test coverage a bit.
7755 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
7757 * docs/manual/basics-elements.xml:
7758 Fix gst_element_link() example.
7761 Mention in API docs that one should usually gst_bin_add()
7762 elements to a bin or pipeline before doing the linking.
7764 2006-07-26 Wim Taymans <wim@fluendo.com>
7766 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
7767 (gst_subbuffer_get_type), (gst_buffer_create_sub):
7768 Avoid function call for known types by keeping the buffer and
7769 subbuffer GType global.
7771 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7772 Random silly optimisations in read() path.
7774 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
7776 * tools/gst-launch.c: (main):
7777 If the top-level of the parse is a normal bin, it doesn't do the
7778 right logic to run as a top-level element, so place it inside a
7781 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
7783 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
7784 Remove superfluous g_object_notify() calls, GObject does
7785 that for us automatically.
7787 2006-07-25 Stefan Kost <ensonic@users.sf.net>
7790 on Win32, use dllspec to export the debug category symbols
7792 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
7794 * gst/gsttaglist.c: (_gst_tag_initialize):
7795 Allow more than one GST_TAG_IMAGE per taglist.
7797 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
7799 * gst/gstminiobject.c:
7801 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
7802 (gst_fd_src_create):
7803 log recurring events at LOG level
7804 add more debug for when the fd gets set
7806 2006-07-21 Stefan Kost <ensonic@users.sf.net>
7808 * gst/gstparse.c: (gst_parse_launch):
7809 Also remove reentrance checks if flex is MT safe (#348179)
7810 Fix my empty ChangeLog entry below
7812 2006-07-21 Andy Wingo <wingo@pobox.com>
7814 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
7816 * libs/gst/check/Makefile.am
7817 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
7818 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
7819 * libs/gst/check/gstbufferstraw.h:
7820 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
7821 functions, thus proving I am still a GStreamer haxor. OK I wrote
7822 them a long time ago, but anyways.
7824 2006-07-21 Stefan Kost <ensonic@users.sf.net>
7827 * gst/gstparse.c: (gst_parse_launch):
7828 Check for flex version and omit mutex if we have a MT save flex
7831 2006-07-21 Wim Taymans <wim@fluendo.com>
7833 * gst/gstparse.c: (gst_parse_launch):
7834 Protect recursive calls to _parse with a recursive mutex
7837 2006-07-21 Wim Taymans <wim@fluendo.com>
7839 * tests/check/gst/gstpad.c: (GST_START_TEST):
7842 2006-07-20 Stefan Kost <ensonic@users.sf.net>
7844 * gst/gstparse.c: (gst_parse_launch):
7845 Do not hang on recursive usage of gst_parse_launch()
7847 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
7850 Add some more docs, comments and FIXME 0.11s here and there
7851 and also fix some typos.
7853 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
7856 Convert tabs to spaces for better readability.
7858 2006-07-20 Edward Hervey <edward@fluendo.com>
7860 * tests/check/libs/gdp.c: (gst_dp_suite):
7861 the test_buffer test fails at line 140 on ppc64 at the following
7863 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
7864 GST_BUFFER_FLAG_IN_CAPS),
7865 "GST_BUFFER_IN_CAPS flag should have been copied !");
7866 See bug #348114 for more details.
7868 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
7870 * docs/pwg/advanced-scheduling.xml:
7872 Fix typos (#348000).
7874 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
7876 * docs/pwg/intro-basics.xml:
7877 Fix wrong links (#347927).
7879 2006-07-18 Stefan Kost <ensonic@users.sf.net>
7881 * gst/gstregistry.h:
7882 * gst/gstregistryxml.c: (load_feature),
7883 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
7884 * win32/common/config.h:
7885 make --disable-index work (#342564)
7887 2006-07-18 Wim Taymans <wim@fluendo.com>
7889 Patch by: Peter Kjellerstedt <pkj at axis dot com>
7893 The attached patch adds two missing defines to gsttrace.h when tracing
7894 is disabled. It also corrects one existing define.
7897 2006-07-17 Wim Taymans <wim@fluendo.com>
7899 * docs/gst/gstreamer-sections.txt:
7900 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
7902 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
7903 Add two functions to check and change the SIGSEGV behaviour
7904 when loading plugins.
7905 Don't mess with the SIGSEGV handler when we were told not to.
7907 API: gst_segtrap_is_enabled
7908 API: gst_segtrap_set_enabled
7910 2006-07-14 Wim Taymans <wim@fluendo.com>
7912 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
7913 * tests/check/elements/filesrc.c: (GST_START_TEST):
7914 Revert fix for regression in #347408 after release.
7916 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
7918 Patch by: Antoine Tremblay <hexa00 at gmail com>
7920 * gst/gstutils.c: (gst_element_unlink):
7921 Free iterator when done (#347311).
7923 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7924 And add a test case for this.
7926 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
7929 Bump nano back to CVS
7931 === release 0.10.9 ===
7933 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7936 releasing 0.10.9, "On the road again"
7938 2006-07-13 Wim Taymans <wim@fluendo.com>
7940 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
7941 * tests/check/elements/filesrc.c: (GST_START_TEST):
7942 Revert pull-0 fix for release. Disable check. Fixes #347408.
7944 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
7946 * libs/gst/dataprotocol/dataprotocol.c:
7947 (gst_dp_event_from_packet_1_0):
7948 Fixes #347337: failure to deserialize event packets with
7949 empty payload (only event type)
7951 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
7954 do not install a .c file in the header directory
7956 2006-07-13 Edward Hervey <edward@fluendo.com>
7958 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
7959 GhostPad no longer implicitely use the padtemplates of the targets.
7962 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
7964 * gst/gstvalue.c: (gst_value_compare_list),
7965 (gst_value_compare_array), (_gst_value_initialize):
7966 * tests/check/gst/gstvalue.c: (GST_START_TEST):
7967 Make GstValueArray comparison be order dependent as designed.
7968 Add checks for value lists and value array comparisons.
7971 2006-07-11 Edward Hervey <edward@fluendo.com>
7973 * gst/gstbin.c: (activate_pads),
7974 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
7975 (gst_bin_change_state_func):
7976 (de)activate src pads before calling state_change on the childs.
7977 This is to avoid the case where a src ghostpad is blocked (holding the
7978 stream lock), which would block the deactivation of the ghostpad's
7980 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
7981 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
7982 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
7983 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
7984 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
7985 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7986 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
7987 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
7988 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
7989 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
7990 (gst_ghost_pad_class_init),
7991 (gst_ghost_pad_internal_do_activate_push),
7992 (gst_ghost_pad_internal_do_activate_pull),
7993 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7994 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7995 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
7996 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
7997 GhostPads now create their internal GstProxyPad at creation (and not
7998 when they're linked, as it was being done previously).
7999 The internal and target pads are linked straight away.
8000 The data will also travel through the other pad in order to make
8001 pad blocking and probes non-hackish (the probe/block now really happens
8002 on the GhostPad and not on the target).
8003 * gst/gstpad.c: (gst_pad_set_blocked_async),
8004 (gst_pad_link_prepare), (gst_pad_push_event):
8005 Remove previous ghostpad cruft.
8006 * gst/gstutils.c: (gst_pad_add_data_probe),
8007 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
8008 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
8009 (gst_pad_remove_buffer_probe):
8010 Remove previous ghost pad cruft.
8011 Added more detailed debug statements.
8012 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8013 Fix the testsuite for refcounting changes.
8014 The comments about who has references were correct, but the refcount
8015 being checked wasn't the same (!?!).
8019 2006-07-10 Stefan Kost <ensonic@users.sf.net>
8021 * docs/gst/gstreamer-sections.txt:
8022 * gst/gstconfig.h.in:
8023 More docs for configuration options, add docs to gtk-doc.
8025 2006-07-10 Stefan Kost <ensonic@users.sf.net>
8028 * gst/gstconfig.h.in:
8029 * win32/common/config.h:
8030 Fix build when disabling tracing (fixes #344016). Also start to document
8031 the defines that disable the sub-systems.
8033 2006-07-10 Edward Hervey <edward@fluendo.com>
8035 * gst/gst.c: (ensure_current_registry_forking):
8036 let's make valgrind happy...
8038 2006-07-09 Wim Taymans <wim@fluendo.com>
8040 * gst/gstelement.c: (activate_pads),
8041 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
8042 Better pad activation code: Reset the collect value too on resync.
8045 2006-07-09 Wim Taymans <wim@fluendo.com>
8047 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
8048 (gst_pad_activate_push):
8049 Use some more macros where it makes sense.
8050 Allow pad mode switching instead of asserting. When a pad
8051 is activated in one mode and we activate it in another,
8052 deactivate it first before activating it in a different mode.
8055 2006-07-08 Andy Wingo <wingo@pobox.com>
8057 * tools/gst-launch.c (main): Handle err == NULL.
8059 * gst/gst.c (init_post, ensure_current_registry)
8060 (ensure_current_registry_forking)
8061 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
8062 factoring out the registry scanning into separate functions. Don't
8063 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
8064 Better environment var name/interface suggestions accepted.
8066 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
8068 * gst/gstobject.c: (gst_object_set_name_default),
8069 (gst_object_set_name):
8070 Random micro-optimisation: don't use a hash table
8071 with strings as keys and the usual strdup/strcmp
8072 involved, but rather just use the GQuark of the
8073 type name as key, since it needs to be looked up
8074 anyway to get the type name string.
8076 * tests/check/gst/gstobject.c: (GST_START_TEST):
8079 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
8081 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
8082 (gst_bin_iterate_all_by_interface):
8083 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
8084 GTypes are gulongs and thus the top 4 bytes might be cut
8085 off on some platforms when doing GPOINTER_TO_INT, leading
8086 to invalid GTypes and bad things happening (see RH bug #179654).
8087 Also add a check to make sure the type passed in is really
8090 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
8095 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
8099 * gst-element-check.m4:
8100 * gst-element-check.m4.in:
8101 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
8102 instead of the unversioned gst-inspect (#324176, #168659).
8104 2006-07-06 Wim Taymans <wim@fluendo.com>
8107 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
8110 2006-07-06 Wim Taymans <wim@fluendo.com>
8112 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8113 (gst_base_src_wait), (gst_base_src_update_length),
8114 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
8115 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
8116 (gst_base_src_loop), (gst_base_src_start),
8117 (gst_base_src_activate_pull):
8119 blocksize == 0 now means the default blocksize when working in push
8121 Remove some pointless asserts in _wait function.
8122 Fix offset/length calculations and EOS handling. We can now pull 0
8123 bytes as well, which is allowed.
8124 use _check_get_range() to decide if we can operate in _pull based
8126 Fix refcounting leak when check_get_range function was not
8128 API GstBaseSrc::blocksize range can be 0 too now (default)
8130 * tests/check/elements/filesrc.c: (GST_START_TEST),
8132 Added check to test _get_range() behaviour.
8134 2006-07-06 Wim Taymans <wim@fluendo.com>
8136 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
8137 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
8138 (gst_pad_pull_range):
8140 Lots of comments and docs added to the pad functions.
8141 Flesh out the expected behaviour of the get_range() functions.
8143 2006-07-06 Wim Taymans <wim@fluendo.com>
8148 * gst/gstiterator.h:
8152 Remove comma at end of enumerator list.
8154 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
8156 * win32/common/libgstbase.def:
8157 * win32/common/libgstdataprotocol.def:
8158 * win32/common/libsgtreamer.def:
8159 Add new exported functions.
8161 2006-07-05 Wim Taymans <wim@fluendo.com>
8163 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
8164 Add some more docs here and there.
8166 2006-07-05 Wim Taymans <wim@fluendo.com>
8168 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
8169 (gst_base_sink_loop), (gst_base_sink_get_position):
8170 When operating in pull mode update the offset so that we
8173 2006-07-05 Wim Taymans <wim@fluendo.com>
8175 * gst/gstregistryxml.c: (read_string):
8176 Avoid strdup. (will happen in libxml, but hey!)
8181 2006-07-05 Wim Taymans <wim@fluendo.com>
8183 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
8184 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
8186 No point in checking if the size of the subbuffer > 0, the
8187 code handles it correclty as demonstrated by unit test.
8188 Also add a unit test for the zero sized _new_and_alloc and
8189 _copy. Fixes #346663.
8191 2006-07-05 Wim Taymans <wim@fluendo.com>
8193 * libs/gst/base/gstbasetransform.c:
8194 (gst_base_transform_prepare_output_buffer),
8195 (gst_base_transform_buffer_alloc),
8196 (gst_base_transform_handle_buffer):
8197 Make sure the buffer we pass to transform_ip has a refcount of
8198 1 and thus is writable. Fixes #343196
8200 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
8202 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
8203 (gst_file_src_init), (gst_file_src_set_property),
8204 (gst_file_src_get_property), (gst_file_src_map_region):
8205 * plugins/elements/gstfilesrc.h:
8206 Add "sequential" property, off by default, to use madvise and hint
8207 to the kernel that sequential access is desired.
8208 Touch all retrieved pages by default to ensure they are pulled
8209 into memory. (Closes #345720)
8211 2006-07-03 Wim Taymans <wim@fluendo.com>
8213 * docs/design/part-block.txt:
8214 * docs/design/part-dynamic.txt:
8217 2006-07-03 Wim Taymans <wim@fluendo.com>
8219 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
8220 (gst_caps_unref), (gst_static_caps_get),
8221 (gst_caps_append_structure):
8222 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
8223 Use GSlice when the glib we build against is >= 2.10
8225 2006-07-03 Wim Taymans <wim@fluendo.com>
8227 * gst/gstelement.c: (gst_element_pads_activate):
8228 Small cleanup in pad activation code.
8230 2006-07-03 Wim Taymans <wim@fluendo.com>
8232 Patch by: Peter Kjellerstedt <pkj at axis dot com>
8234 * gst/gst-i18n-app.h:
8235 * gst/gst-i18n-lib.h:
8236 * tools/gst-inspect.c: (print_signal_info):
8237 The attached patch will make the inclusion of gettext.h unconditional in
8238 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
8239 libintl.h in tools/gst-inspect.c.
8240 This allows use of --disable-nls again and fixes #344642.
8242 2006-07-03 Edward Hervey <edward@fluendo.com>
8244 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
8245 Implement pad blocking on events according to part-block.txt.
8246 More comments on behaviour.
8247 * tests/check/gst/gstevent.c: (test_event):
8248 Send event to peer pad of blocked pad (else it will block).
8250 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
8252 * libs/gst/check/gstcheck.c: (gst_check_message_error),
8253 (gst_check_run_suite):
8254 if we get the wrong message, give us the types as string
8255 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8257 * tests/check/elements/filesrc.c: (GST_START_TEST):
8258 add a test for trying to open a non-existing file
8260 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
8262 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8263 add a test for adding self
8265 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
8267 * libs/gst/check/gstcheck.h:
8268 add some assert_ as alias for fail_unless_*
8269 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
8270 increase test coverage
8272 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8275 include lcov.mak for lcov coverage generation
8276 * tools/Makefile.am:
8279 2006-07-02 Edward Hervey <edward@fluendo.com>
8281 * tests/check/elements/.cvsignore:
8284 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8287 don't set CFLAGS and friends for gcov, done from GST_GCOV now
8288 * tests/check/Makefile.am:
8291 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8293 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
8294 remove gst_caps_simplify; it was not declared and not used
8295 and deprecated in 0.8
8297 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8299 * docs/faq/gst-uninstalled:
8300 don't put empty paths on PYTHONPATH
8301 * docs/gst/gstreamer-sections.txt:
8302 remove some symbols that are not there
8304 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8306 * gst/gstcaps.c: (gst_caps_compare_structures):
8308 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8309 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
8312 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8314 * libs/gst/dataprotocol/Makefile.am:
8315 build dataprotocol test by linking to the lib, instead of
8316 compiling the source, so we get coverage
8317 * tests/check/Makefile.am:
8318 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
8319 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
8320 add a test for filesrc
8322 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8324 * tests/check/gst/gststructure.c: (GST_START_TEST),
8325 (gst_structure_suite):
8326 Push coverage from 59.04% to 70.00%
8328 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8330 * tests/check/Makefile.am:
8331 gst-inspect every element; this makes sure that we also get
8332 coverage on element's get/set functions
8334 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8337 set CFLAGS and friends to -O0 if gcov is being used
8340 * libs/gst/base/Makefile.am:
8341 * libs/gst/check/Makefile.am:
8342 * libs/gst/controller/Makefile.am:
8343 * libs/gst/dataprotocol/Makefile.am:
8344 * libs/gst/net/Makefile.am:
8345 * plugins/elements/Makefile.am:
8346 * plugins/indexers/Makefile.am:
8347 add makefile rules to generate gcov data and clean up
8348 * tests/check/Makefile.am:
8349 add a coverage target that generates an html overview
8352 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
8354 * tests/check/elements/fakesink.c:
8355 * tests/check/elements/fakesrc.c:
8356 * tests/check/elements/fdsrc.c:
8357 * tests/check/elements/identity.c:
8358 * tests/check/generic/sinks.c: (gst_sinks_suite):
8359 * tests/check/generic/states.c:
8360 * tests/check/gst/gst.c:
8361 * tests/check/gst/gstabi.c:
8362 * tests/check/gst/gstbin.c:
8363 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
8364 * tests/check/gst/gstbus.c: (gst_bus_suite):
8365 * tests/check/gst/gstcaps.c: (GST_START_TEST):
8366 * tests/check/gst/gstelement.c:
8367 * tests/check/gst/gstevent.c: (gst_event_suite):
8368 * tests/check/gst/gstghostpad.c:
8369 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
8370 * tests/check/gst/gstmessage.c: (gst_message_suite):
8371 * tests/check/gst/gstminiobject.c:
8372 * tests/check/gst/gstobject.c:
8373 * tests/check/gst/gstpad.c:
8374 * tests/check/gst/gstpipeline.c:
8375 * tests/check/gst/gstplugin.c:
8376 * tests/check/gst/gstquery.c: (gst_query_suite):
8377 * tests/check/gst/gstsegment.c: (gst_segment_suite):
8378 * tests/check/gst/gststructure.c:
8379 * tests/check/gst/gstsystemclock.c:
8380 * tests/check/gst/gsttag.c:
8381 * tests/check/gst/gsttask.c: (gst_task_suite):
8382 * tests/check/gst/gstutils.c:
8383 * tests/check/gst/gstvalue.c:
8384 * tests/check/libs/adapter.c:
8385 * tests/check/libs/basesrc.c:
8386 * tests/check/libs/collectpads.c:
8387 * tests/check/libs/controller.c:
8388 * tests/check/libs/gdp.c: (gst_dp_suite):
8389 * tests/check/libs/gstnetclientclock.c:
8390 * tests/check/libs/gstnettimeprovider.c:
8391 * tests/check/libs/libsabi.c: (libsabi_suite):
8392 * tests/check/libs/typefindhelper.c:
8393 * tests/check/pipelines/cleanup.c:
8394 * tests/check/pipelines/parse-launch.c:
8395 * tests/check/pipelines/simple-launch-lines.c:
8396 * tests/check/pipelines/stress.c: (stress_suite):
8399 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
8401 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
8402 * libs/gst/check/gstcheck.h:
8403 create a macro and function so that the simple unit test
8404 case can be just one macro to create main()
8406 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
8408 * gst/gstbin.c: (gst_bin_restore_thyself):
8409 * gst/gstxml.c: (gst_xml_make_element):
8410 Fix deserialisation from XML. Set parent manually
8411 instead of using gst_bin_add(), since gst_bin_add()
8412 will unlink all pads of the element being added.
8415 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
8417 Patch by: Peter Kjellerstedt <pkj at axis com>
8419 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
8420 Fix missing g_strdup() and double free when using the
8421 --gst-plugin-load command line option (#346097).
8423 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
8426 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
8428 * libs/gst/net/gstnetclientclock.c:
8429 * libs/gst/net/gstnettimeprovider.c:
8430 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
8432 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
8434 * docs/manual/advanced-dataaccess.xml:
8435 Fix buffer probe example compilation in
8438 2006-06-22 Edward Hervey <edward@fluendo.com>
8440 * gst/gstelement.c: (gst_element_pads_activate):
8441 We need to deactivate src pads first and then sink pads.
8442 The reason is the src pads might be blocking while holding the streaming
8443 lock, so we need to deactivate them first so that deactivating the sink
8444 pads doesn't block (since it will require the streaming lock).
8446 2006-06-22 Wim Taymans <wim@fluendo.com>
8448 * libs/gst/base/gstbasetransform.c:
8449 (gst_base_transform_buffer_alloc):
8450 Forgot to remove two unneeded unrefs.
8451 Simplify a check _is_equal allready checks the obvious case.
8453 2006-06-22 Wim Taymans <wim@fluendo.com>
8455 * docs/design/part-block.txt:
8456 Some docs about what pad_block should do.
8458 2006-06-22 Wim Taymans <wim@fluendo.com>
8460 * gst/gstcaps.c: (gst_caps_replace):
8461 Fix crasher when passed NULL. Doc clarification.
8462 Optimize for the trivial case.
8464 * gst/gstpipeline.c: (gst_pipeline_change_state):
8467 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
8468 Small documentation cleanup.
8470 * libs/gst/base/gstbasetransform.c:
8471 (gst_base_transform_buffer_alloc):
8472 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
8473 is what we need and it avoids a whole lot of redundant
8474 refcount operations.
8476 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
8478 Patch by: Philip Jägenstedt <philip at lysator liu se>
8480 * docs/manual/advanced-dataaccess.xml:
8481 Fix 'Embedding static elements' section to use
8482 GST_PLUGIN_DEFINE_STATIC (#345607).
8484 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
8486 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
8487 Attempt to 'fix' spuriously failing test case: it seems like the
8488 timeout of half a second is simply too small when the system is under
8489 load otherwise, and the timeout doesn't really seem to serve any
8490 particular purpose here. Give the pipeline a few seconds to preroll
8491 first, and then give it another half a second to go from PAUSED to
8492 PLAYING and marshal the message into the main thread.
8494 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
8496 * tools/gst-feedback-m.m:
8497 Don't only use unversioned tools, try versioned tools as well
8500 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
8502 * gst/gstbus.c: (gst_bus_class_init):
8503 Fix some typos, make docs more explicit.
8505 2006-06-20 Wim Taymans <wim@fluendo.com>
8507 * tests/check/gst/gstghostpad.c: (block_callback),
8508 (GST_START_TEST), (gst_ghost_pad_suite):
8509 Added some more ghostpad tests, mainly blocking
8512 2006-06-16 Wim Taymans <wim@fluendo.com>
8514 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8515 (gst_file_sink_close_file), (gst_file_sink_do_seek),
8516 (gst_file_sink_event), (gst_file_sink_render):
8517 * plugins/elements/gstfilesink.h:
8518 Check if we can seek in the file instead of assuming
8519 we always can. Post an error when we are asked to seek in a
8520 non-seekable file (like a fifo). Fixes #343312.
8523 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
8525 * tools/gst-launch.1.in:
8526 Un-garble (fourcc) bit in filtered caps section.
8528 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
8530 * docs/manual/advanced-autoplugging.xml:
8531 * docs/manual/basics-helloworld.xml:
8532 * docs/manual/highlevel-components.xml:
8533 Don't leak bus reference in sample code.
8535 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
8538 Add default for new --enable-plugin-docs switch.
8541 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
8545 Use new ENABLE_PLUGIN_DOCS conditional.
8547 2006-06-14 Wim Taymans <wim@fluendo.com>
8549 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
8550 Make it clear with a FIXME and a real define what the #if 0
8551 previously disabled.
8553 2006-06-14 Wim Taymans <wim@fluendo.com>
8555 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
8556 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
8557 * libs/gst/base/gstbasetransform.c:
8558 (gst_base_transform_sink_eventfunc):
8559 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
8560 Don't randomly and silently reset a segment when the format
8561 changes as this is a bug somewhere upstream. Fixes #330379.
8563 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
8565 Patch by: Wouter Paesen <wouter at kangaroot net>
8567 * libs/gst/controller/gstcontroller.c:
8568 (gst_controlled_property_new):
8569 Fix controlling of float properties (#344849).
8571 * tests/check/libs/controller.c:
8572 (gst_test_mono_source_get_property),
8573 (gst_test_mono_source_set_property),
8574 (gst_test_mono_source_class_init), (GST_START_TEST):
8575 While we're at it, add some float stuff to unit test.
8577 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
8580 * docs/images/gdp-header.svg:
8582 * docs/libs/Makefile.am:
8583 * docs/libs/gdp-header.png:
8584 * libs/gst/dataprotocol/dataprotocol.c:
8585 add it to the API docs
8586 * docs/manual/intro-motivation.xml:
8589 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
8591 * gst/gst.c: (scan_and_update_registry), (init_post):
8592 If the fork()'ed child process can't write the updated registry cache
8593 file to disk for some reason, make it exit with a failure exit code,
8594 so that the parent can then re-scan the plugins itself and update the
8595 registry structures in memory and work with that (rather than failing
8596 when creating elements because seemingly no plugins are available).
8597 Refactor registry scanning code into separate function for this and
8598 also separate fork() and non-fork() code paths. Fixes #344748.
8600 2006-06-13 Wim Taymans <wim@fluendo.com>
8602 * docs/manual/advanced-dataaccess.xml:
8603 Fix wrong PluginDesc. Fixes #344755.
8605 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
8607 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
8608 Fix silly bug that prevented us from creating
8609 ~/.gstreamer-0.10 and writing the registry in one
8610 go (the first call to g_mkstemp() would overwrite the
8611 placeholder in the template string, so the second call
8612 to g_mkstemp() after creating the missing directory
8613 would then error out with 'invalid argument').
8615 2006-06-13 Edward Hervey <edward@fluendo.com>
8617 * gst/gst.c: (init_post):
8620 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
8622 * gst/glib-compat-private.h:
8623 * gst/glib-compat.c:
8624 * gst/glib-compat.h:
8625 * gst/gstvalue.c: (gst_value_serialize_flags):
8626 remove GLib 2.6 compatibility code
8628 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
8630 * gst/parse/Makefile.am:
8631 Fix build with 'make -j N' even more (#340016).
8633 2006-06-12 Wim Taymans <wim@fluendo.com>
8635 * docs/gst/gstreamer-sections.txt:
8638 2006-06-12 Wim Taymans <wim@fluendo.com>
8640 * gst/gstsegment.c: (gst_segment_set_duration),
8641 (gst_segment_set_last_stop), (gst_segment_set_seek),
8642 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
8643 (gst_segment_to_running_time), (gst_segment_clip):
8644 Use G_UNLIKELY to help the compiler a bit.
8646 2006-06-12 Wim Taymans <wim@fluendo.com>
8648 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
8650 * gst/gstevent.c: (gst_event_get_type):
8652 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
8654 constify quark registration strings. Fixes #344115
8655 Avoid unneeded type checking is _pad_push() by internally
8656 calling gst_pad_chain_unchecked().
8658 2006-06-12 Wim Taymans <wim@fluendo.com>
8660 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
8661 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
8662 (gst_subbuffer_finalize), (gst_buffer_create_sub),
8663 (gst_buffer_is_span_fast), (gst_buffer_span):
8664 Init _type for consistency.
8665 Use _FLAGS macro to avoid type check.
8666 Avoid unneeded type checks in subbufer code.
8668 2006-06-12 Wim Taymans <wim@fluendo.com>
8670 * gst/gst.c: (gst_debug_help):
8671 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
8672 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
8673 (gst_plugin_feature_list_free):
8674 * gst/gstregistry.c: (gst_registry_add_plugin),
8675 (gst_registry_add_feature), (gst_registry_plugin_filter),
8676 (gst_registry_feature_filter), (gst_registry_find_plugin),
8677 (gst_registry_find_feature), (gst_registry_get_plugin_list),
8678 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
8679 * gst/gstregistryxml.c: (load_feature),
8680 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
8681 * gst/gstminiobject.c: (gst_mini_object_unref),
8682 (gst_mini_object_replace), (gst_value_mini_object_free),
8683 (gst_value_mini_object_copy):
8684 Use _CAST macros to avoid unneeded type checking.
8685 Added some more G_UNLIKELY.
8687 2006-06-12 Wim Taymans <wim@fluendo.com>
8690 Avoid unneeded type checking.
8691 API: GST_BUFFER_IS_DISCONT
8693 * gst/gstminiobject.h:
8694 Avoid type check in flag accessor.
8696 * gst/gstelementfactory.h:
8698 * gst/gstpluginfeature.h:
8700 API: GST_ELEMENT_FACTORY_CAST
8701 API: GST_PLUGIN_CAST
8702 API: GST_PLUGIN_FEATURE_CAST
8704 2006-06-12 Wim Taymans <wim@fluendo.com>
8706 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
8708 Add G_UNLIKELY in type registration.
8709 Avoid type check in _ref/_unref since that is also
8712 2006-06-12 Wim Taymans <wim@fluendo.com>
8714 * gst/gsterror.c: (gst_g_error_get_type):
8715 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
8716 (gst_static_pad_template_get_type):
8717 * gst/gsttaglist.c: (gst_tag_list_get_type):
8718 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
8719 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
8720 * gst/gsturi.c: (gst_uri_handler_get_type):
8721 * gst/gstvalue.c: (gst_date_get_type):
8722 * gst/gstxml.c: (gst_xml_get_type):
8723 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
8724 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
8725 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
8726 Add G_UNLIKELY in type registration.
8728 2006-06-12 Wim Taymans <wim@fluendo.com>
8730 * tools/gst-inspect.c: (print_signal_info):
8731 Properly print enum values.
8733 2006-06-12 Wim Taymans <wim@fluendo.com>
8735 * gst/gstinfo.c: (gst_debug_set_active),
8736 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
8738 Add some G_[UN]LIKELY.
8739 Maintain __gst_debug_min to avoid formatting the arguments of
8740 debug messages that will be dropped anyway to avoid a lot of
8741 overhead from the debugging system.
8743 2006-06-11 Stefan Kost <ensonic@users.sf.net>
8747 add missing files containing translatable strings, tell intltool about
8750 2006-06-11 Stefan Kost <ensonic@users.sf.net>
8752 * tests/check/libs/.cvsignore:
8753 add test-binary to ignore list
8755 2006-06-11 Stefan Kost <ensonic@users.sf.net>
8757 * docs/libs/gstreamer-libs-docs.sgml:
8758 reorder (put dp into a chapter) and indent
8760 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
8765 === release 0.10.8 ===
8767 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
8770 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
8772 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
8774 * gst/gst.c: (init_post):
8775 move pid declaration to declaration block
8777 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
8779 * gst/gst.c: (init_post):
8780 use _exit() instead of exit() in our forked child; this ensures
8781 that none of the registered exit handlers from whatever is using
8782 GStreamer get executed. This fixes gnome-mixer-applet failing
8783 to load, because ORBit would shut down.
8784 Spotted by: Edward Hervey <edward@fluendo.com>
8785 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
8788 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
8793 === release 0.10.7 ===
8795 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
8798 releasing 0.10.7, "Soepeke, ik zie ou"
8800 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
8823 * win32/common/config.h:
8826 2006-06-07 Wim Taymans <wim@fluendo.com>
8828 * gst/gstindex.c: (gst_index_gtype_resolver):
8829 * tools/gst-xmlinspect.c: (print_plugin_info):
8830 Fix leak spotted by coverity checker. Fixes #343827
8831 Fix another other leak found by paolo borelli.
8833 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
8835 * libs/gst/dataprotocol/dataprotocol.c:
8836 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
8837 (gst_dp_version_get_type), (gst_dp_init),
8838 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
8839 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
8840 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
8841 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
8842 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
8843 (gst_dp_packetizer_free):
8844 * libs/gst/dataprotocol/dataprotocol.h:
8845 API: add a GstDPPacketizer object, and create/free functions
8846 API: add GstDPVersion enum
8847 Add 1.0 event function that uses the string serialization
8848 Serialize more useful buffer flags
8851 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
8853 * tests/check/Makefile.am:
8854 * tests/check/gst/gstabi.c:
8855 * tests/check/gst/struct_ppc64.h:
8856 * tests/check/libs/libsabi.c:
8857 * tests/check/libs/struct_ppc64.h:
8858 add ppc64 structure sizes
8860 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
8862 * tests/check/Makefile.am:
8863 * tests/check/gst/gstabi.c:
8864 * tests/check/gst/struct_x86_64.h:
8865 * tests/check/libs/libsabi.c:
8866 * tests/check/libs/struct_x86_64.h:
8867 generate and add structure size lists for x86_64
8869 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
8871 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
8872 * libs/gst/check/gstcheck.h:
8873 factor out the method from tests that checks size of structures,
8874 and add code to generate the header containing these sizes
8875 * tests/check/gst/gstabi.c: (GST_START_TEST):
8876 * tests/check/gst/struct_i386.h:
8877 * tests/check/libs/libsabi.c: (GST_START_TEST):
8878 * tests/check/libs/struct_i386.h:
8881 2006-06-06 Michael Smith <msmith@fluendo.com>
8884 Don't use c++-style comments, fixes #343929
8886 2006-06-05 Edward Hervey <edward@fluendo.com>
8889 plugin_paths is not used if we build without registry support.
8891 * gst/gstsegment.c: (gst_segment_copy):
8892 _copy() was always returning NULL...
8894 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
8896 * libs/gst/dataprotocol/dataprotocol.c:
8897 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
8898 (gst_dp_packet_from_event):
8901 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
8903 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
8904 make sure we unset caps
8906 2006-06-02 Michael Smith <msmith@fluendo.com>
8908 * libs/gst/check/gstcheck.c: (gst_check_init),
8909 (gst_check_chain_func):
8910 * libs/gst/check/gstcheck.h:
8911 Add a cond/mutex to the check support lib, signal this whenever we
8912 add to the buffers list. This will allow tests to not busy-wait on
8915 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
8917 * libs/gst/dataprotocol/dataprotocol.c:
8918 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
8919 (gst_dp_packet_from_event):
8920 factor out some common header init code
8922 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
8924 * docs/libs/gstreamer-libs-sections.txt:
8925 * docs/libs/tmpl/gstdataprotocol.sgml:
8926 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
8927 * libs/gst/dataprotocol/dataprotocol.h:
8928 API: make gst_dp_crc() public
8930 2006-06-01 Stefan Kost <ensonic@users.sf.net>
8932 * plugins/indexers/gstindexers.c: (plugin_init):
8933 conditionally register fileindexer (fixes #343598)
8935 2006-06-01 Stefan Kost <ensonic@users.sf.net>
8937 * gst/gsttagsetter.h:
8938 Can't cast ifaces to a class
8940 * libs/gst/net/gstnetclientclock.h:
8941 * libs/gst/net/gstnettimeprovider.h:
8942 * plugins/elements/gstfakesink.h:
8943 * plugins/elements/gstfakesrc.h:
8944 * plugins/elements/gstfdsink.h:
8945 * plugins/elements/gstfdsrc.h:
8946 * plugins/elements/gstfilesink.h:
8947 * plugins/elements/gstfilesrc.h:
8948 * plugins/elements/gstidentity.h:
8949 * plugins/elements/gstqueue.h:
8950 * plugins/elements/gsttee.h:
8951 * plugins/indexers/gstfileindex.c:
8952 * plugins/indexers/gstmemindex.c:
8953 * tests/old/examples/plugins/example.h:
8954 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
8956 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
8958 * libs/gst/dataprotocol/dataprotocol.c:
8959 (gst_dp_header_from_buffer):
8960 make sure we zero the whole ABI-compatible area
8962 2006-06-01 Wim Taymans <wim@fluendo.com>
8964 Patch by: Alessandro Decina <alessandro at nnva dot org>
8966 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
8967 Make sure the EOS flag is cleared from pads after a flush
8968 or stop. Fixes #343538.
8970 * tests/check/libs/collectpads.c: (GST_START_TEST),
8971 (gst_collect_pads_suite):
8972 Added test for collectpads reusage after EOS.
8974 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
8977 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
8978 * win32/common/libgstbase.def:
8979 export gst_collect_pads_set_flushing
8980 * win32/common/libgstreamer.def:
8981 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
8982 gst_value_fraction_multiply
8983 * win32/vs6/gst_inspect.dsp:
8984 add a link to intl.lib
8986 2006-05-30 Wim Taymans <wim@fluendo.com>
8988 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
8989 (gst_collect_pads_chain):
8990 Handle the case where a pad is removed from the collection
8991 that could cause the other pads to become collectable.
8993 2006-05-30 Wim Taymans <wim@fluendo.com>
8996 Clarify the use of _release_request_pad() and
8997 _get_request_pad() a bit better.
8999 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
9000 (gst_adapter_take_buffer):
9001 Fix some doc and comment typos.
9003 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9005 * docs/gst/gstreamer-sections.txt:
9006 * docs/libs/gstreamer-libs-sections.txt:
9007 add declared symbols
9009 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
9011 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
9012 Add debug that can be enabled using a #define at the top of the file,
9013 for dumping stats about how late/early we were when waking up from
9014 waiting on the clock.
9016 2006-05-30 Wim Taymans <wim@fluendo.com>
9018 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
9019 When rebuilding the pad list, don't leak the previous list.
9021 2006-05-30 Wim Taymans <wim@fluendo.com>
9023 Patch by: Lutz Mueller <lutz at topfrose dot de>
9025 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9026 (gst_base_src_get_query_types), (gst_base_src_update_length):
9027 Publish supported query types.
9028 Update last_stop field in get_range mode so the position
9029 query works. Fixes #342321.
9031 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
9033 * docs/gst/gstreamer-sections.txt:
9034 * gst/gsttaglist.c: (_gst_tag_initialize):
9036 API: add GST_TAG_PREVIEW_IMAGE (#343341).
9038 2006-05-30 Wim Taymans <wim@fluendo.com>
9040 Patch by: Alessandro Decina <alessandro at nnva dot org>
9042 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
9043 Unlock mutex when removing an unknown pad.
9046 * tests/check/Makefile.am:
9047 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
9048 (push_event), (setup), (teardown), (GST_START_TEST),
9049 (gst_collect_pads_suite), (main):
9050 Added collecpads check, disabled for now as check crashes for
9053 2006-05-29 Wim Taymans <wim@fluendo.com>
9055 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
9056 Don't leak pads lists.
9058 2006-05-29 Wim Taymans <wim@fluendo.com>
9060 * docs/libs/gstreamer-libs-sections.txt:
9061 * libs/gst/base/gstcollectpads.c:
9062 (gst_collect_pads_set_flushing_unlocked),
9063 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
9064 (gst_collect_pads_stop):
9065 * libs/gst/base/gstcollectpads.h:
9066 API: gst_collect_pads_set_flushing()
9067 Added api to set the pads to flushing, useful for seeking
9068 code in elements using collectpads.
9069 Clear segment when receiving a flush.
9071 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
9073 * gst/gst.c: (add_path_func), (init_post):
9074 Don't scan registry paths passed via --gst-plugin-path immediately
9075 (will crash, because absolutely nothing is set up and no types are
9076 registered etc.); do this later in init_post(). Fixes #343057.
9078 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
9080 * gst/gst.c: (init_post):
9081 if we have fork, fork while reading/rebuilding the registry
9082 so the parent doesn't take the hit of having all plugins loaded
9083 in memory. Fixes #342777.
9085 Check if we have fork()
9086 * win32/common/config.h.in:
9089 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
9091 * plugins/elements/gstelements.c:
9092 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9093 (gst_file_src_init), (gst_file_src_set_property),
9094 (gst_file_src_get_property), (gst_file_src_start):
9095 * plugins/elements/gstfilesrc.h:
9096 API: GstFileSrc::use-mmap
9098 Add a use-mmap property to enable easier testing of all code paths.
9099 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
9100 in the absence of gnomevfssrc. (Closes #340501)
9102 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9104 * tools/gst-inspect.c:
9105 Add missing include, removes warning of ngettext not being defined on
9108 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
9110 * gst/gstvalue.c: (gst_value_deserialize_fraction):
9111 Handle NULL input and output pointers silently as a failed conversion,
9112 rather than g_warnings.
9114 2006-05-25 Wim Taymans <wim@fluendo.com>
9116 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
9117 Initialize variable before using. Fixes #342820.
9119 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
9121 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
9122 Fix off-by-one bug that would only allow peeks of N-1 bytes
9123 from the start even if the buffer to typefind on contains
9124 in fact N bytes of data (makes vorbis typefinding from a
9125 vorbis identification header buffer work).
9127 * tests/check/Makefile.am:
9128 * tests/check/libs/.cvsignore:
9129 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
9130 (gst_typefindhelper_suite), (main), (foobar_typefind),
9132 Add very basic unit test for gst_type_find_helper_for_buffer()
9133 that checks for the problem fixed above.
9135 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
9137 * tools/gst-inspect.c: (print_interfaces),
9138 (print_element_properties_info), (print_element_list), (main):
9139 add more translatable strings
9141 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
9143 Patch by: Julien Moutte <julien at moutte net>
9145 * docs/gst/gstreamer-sections.txt:
9146 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
9148 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9149 (gst_fake_sink_preroll):
9150 * plugins/elements/gstfakesink.h:
9151 API: Add new GstFakeSink::preroll-handoff signal (#337100).
9153 2006-05-23 Wim Taymans <wim@fluendo.com>
9155 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
9157 Added _CUSTOM error and success GstFlowReturn that can be
9158 used be elements internally.
9159 Added macro to check for SUCCESS flowreturns.
9160 API: GST_FLOW_CUSTOM_SUCCESS
9161 API: GST_FLOW_CUSTOM_ERROR
9162 API: GST_FLOW_IS_SUCCESS
9164 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
9165 Added check for GstFlowReturn sanity.
9167 2006-05-23 Wim Taymans <wim@fluendo.com>
9169 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9171 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
9172 (gst_collect_pads_event):
9173 clear/reset segment info in FLUSH_STOP.
9176 2006-05-22 Stefan Kost <ensonic@users.sf.net>
9178 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
9179 (gst_collect_pads_check_collected):
9180 Flush queued buffer on _stop(), fixes playing again (#342454)
9182 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
9184 * tests/check/gst/gststructure.c: (GST_START_TEST),
9185 (gst_structure_suite):
9186 add a test for a complete structure
9188 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
9190 * docs/faq/developing.xml:
9192 * docs/faq/troubleshooting.xml:
9193 * docs/faq/using.xml:
9194 Some minor FAQ updates that won't change the fact that
9195 our FAQ is badly structured, full of information hardly
9196 anyone new to GStreamer needs to know and lacking lots
9197 of information people constantly ask for.
9199 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
9201 * gst/gstpad.c: (gst_pad_set_caps):
9202 Short-circuit gst_pad_set_caps if setting the existing
9203 caps pointer again, and avoid printing debug and
9204 reffing/unreffing the caps.
9206 * plugins/elements/gstqueue.c: (gst_queue_push_one):
9207 There's actually no need to set the caps before pushing -
9208 the acceptcaps method will handle it anyway.
9210 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
9212 * docs/gst/gstreamer-sections.txt:
9213 * win32/common/libgstreamer.def:
9214 * gst/gstutils.c: (gst_element_seek_simple):
9216 API: add gst_element_seek_simple() (#342238).
9218 2006-05-18 Edward Hervey <edward@fluendo.com>
9220 * gst/gsttypefind.c: (gst_type_find_get_type):
9221 * gst/gsttypefind.h:
9222 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
9223 registered for GstTypeFind pointers. This allows wrapping the structure
9224 in bindings (i.e. gst-python).
9226 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
9228 * gst/gsttagsetter.c:
9229 Docs additions and fixes (see #339918).
9231 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
9233 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9234 The caps intersection algorithm can produce multiple copies of the
9235 caps. Until that is fixed, we need to simplify the result to be
9236 sure whether the allowed caps are fixed or not.
9238 * plugins/elements/gstqueue.c: (gst_queue_init),
9239 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
9240 (gst_queue_push_one):
9241 Proxied buffer alloc should not set the caps on the source pad.
9242 When pushing buffers, we always accept the caps change that triggers.
9243 This prevents negotiation errors caused by caps changing mid-stream
9244 and then being refused on our source pad (because upstream is now
9245 refusing those caps).
9247 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
9249 * tests/examples/helloworld/helloworld.c: (main):
9250 Must plug audioconvert and audioresample between decoder
9253 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
9255 * gst/gstregistryxml.c: (read_string), (load_pad_template),
9256 (load_feature), (load_plugin):
9257 Allow empty strings for some of the plugin fields so we don't
9258 drop valid plugin entries that were written out correctly
9261 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
9263 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
9264 Use g_remove and g_rename instead of remove and rename that don't
9265 handle utf8 characters. rename was failing for users who had specific
9266 characters in their name then the registry was built at each
9268 * win32/vs6/gst_inspect.dsp:
9269 * win32/vs6/gst_launch.dsp:
9270 * win32/vs6/libgstbase.dsp:
9271 * win32/vs6/libgstcoreelements.dsp:
9272 * win32/vs6/libgstreamer.dsp:
9273 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
9274 build of libgstreamer and clean unused libraries in projects link
9277 2006-05-17 Edward Hervey <edward@fluendo.com>
9279 * plugins/elements/gstqueue.c: (gst_queue_push_one):
9280 The queue is not responsible for pushing an EOS when receiving a fatal
9281 flow error. It's up to the real element driving the pipeline to do that.
9283 2006-05-16 Edward Hervey <edward@fluendo.com>
9285 * plugins/elements/gstqueue.c: (gst_queue_push_one):
9286 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
9287 buffer returned a fatal error. It should just send an EOS and stop
9289 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
9290 when pushing buffers on the queue and will be able to handle the event.
9292 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
9294 * docs/manual/basics-bins.xml:
9295 * docs/manual/basics-init.xml:
9296 Fix typos and minor errors in sample code (#341856).
9298 2006-05-16 Wim Taymans <wim@fluendo.com>
9300 * docs/design/part-qos.txt:
9301 Fix indexes in formulas to make more sense.
9303 2006-05-15 Wim Taymans <wim@fluendo.com>
9305 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9306 Don't report POSITION based on clock time if sync is
9309 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
9312 Add cast to make compiler happy - refcount variable was a gint
9313 in GstObject but is a guint in GObject and g_atomic_int_get()
9316 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
9318 * gst/parse/Makefile.am:
9319 chain commands using &&, which also makes parallel make work
9321 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
9323 * docs/gst/gstreamer-sections.txt:
9329 === release 0.10.6 ===
9331 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
9334 releasing 0.10.6, "Take the cannoli"
9336 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
9338 * tools/gst-launch.c: (print_tag):
9339 Fix use of uninitialized variable in the hypothetical
9340 case that some broken plugin creates a GST_TAG_IMAGE
9341 tag containing a NULL buffer (#341667).
9343 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
9345 * tools/gst-launch.c: (print_tag):
9346 Print something more intelligible for image tags when
9347 using the -t switch (#341556).
9349 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
9354 define GST_MAJORMINOR so we have it available in win32/common/config.h
9355 Possibly remove it from our Makefile.am files later
9356 * win32/common/config.h:
9357 * win32/common/config.h.in:
9358 added GST_MAJORMINOR
9359 * win32/common/gstenumtypes.c: (register_gst_resource_error):
9360 * win32/common/gstversion.h:
9363 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
9366 Update win32 files listing.
9367 * win32/common/gstversion.h:
9368 Add GST_MAJORMINOR definition.
9369 * win32/common/libgstreamer.def:
9370 Add new exported functions.
9372 2006-05-12 Michael Smith <msmith@fluendo.com>
9374 * gst/gstplugin.c: (gst_plugin_load_file):
9375 If an so file has no plugin entry point, unload the module.
9377 2006-05-11 Wim Taymans <wim@fluendo.com>
9379 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
9380 (gst_queue_set_property):
9381 Don't forget to signal the _chain or _loop function
9382 when the queue size or thresholds change since that might
9383 cause them to make progres again.
9385 2006-05-11 Stefan Kost <ensonic@users.sf.net>
9387 * gst/gstclock.c: (gst_clock_class_init):
9388 * gst/gstindex.c: (gst_index_class_init):
9389 * gst/gstobject.c: (gst_object_class_init):
9390 * gst/gstpad.c: (gst_pad_class_init):
9391 * gst/gstpipeline.c: (gst_pipeline_class_init):
9392 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
9393 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
9394 * libs/gst/base/gstbasetransform.c:
9395 (gst_base_transform_class_init):
9396 * libs/gst/net/gstnetclientclock.c:
9397 (gst_net_client_clock_class_init):
9398 * libs/gst/net/gstnettimeprovider.c:
9399 (gst_net_time_provider_class_init):
9400 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
9401 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
9402 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
9403 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
9404 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
9405 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
9406 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
9407 * plugins/elements/gstidentity.c: (gst_identity_class_init):
9408 * plugins/elements/gsttee.c: (gst_tee_class_init):
9409 * tests/old/examples/plugins/example.c: (gst_example_class_init):
9410 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
9411 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
9413 2006-05-11 Wim Taymans <wim@fluendo.com>
9415 * gst/gstbuffer.c: (_gst_buffer_initialize):
9416 Register subbufer along with the buffer type so that
9417 it does not accidentally gets registered from N
9418 different streaming threads in a non threadsafe way.
9420 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
9425 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
9426 gst_event_ref() and gst_message_ref() functions again
9427 (ugly hack, please do fix if there's a better way besides
9428 overrides.txt, which doesn't seem to work).
9430 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
9432 * libs/gst/check/gstcheck.h:
9433 add an assert for setting state to avoid lots of repetitive code
9436 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
9438 * gst/gstvalue.c: (gst_value_serialize_flags):
9439 fix a leak if no flags are set
9440 * tests/check/gst/gstvalue.c: (GST_START_TEST):
9443 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
9445 * docs/manual/basics-pads.xml:
9446 Expand a bit on caps and filtered links and update
9447 examples that were still using the no longer existing
9448 gst_pad_link_filtered() (#338206).
9450 2006-05-10 Wim Taymans <wim@fluendo.com>
9452 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
9453 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
9454 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
9455 (gst_collect_pads_stop):
9456 * libs/gst/base/gstcollectpads.h:
9457 No need to call _stop in _finalize.
9458 Iterate the main pad list in _finalize.
9459 Added some more debug.
9460 Free lists and data in the right order.
9461 Also free data whem doing _remove_pad when stopped for
9462 backward compatibility protect ::started with PAD_LOCK as
9465 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
9467 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
9468 (gst_structure_parse_value):
9470 rename a method so that it actually says what it does better
9472 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
9474 * gst/gstevent.c: (_gst_event_initialize):
9475 * gst/gstformat.c: (_gst_format_initialize):
9476 make sure some essential types used by events are registered
9477 as part of gst_init()
9478 * gst/gstvalue.c: (gst_value_serialize_flags):
9479 if no flags are set, serialize them to a value that represents NONE
9480 so that deserializing them works
9481 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9482 add tests for serialization and deserialization of flags
9484 2006-05-10 Wim Taymans <wim@fluendo.com>
9486 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
9487 (gst_collect_pads_collect_range), (gst_collect_pads_available),
9488 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
9489 (gst_collect_pads_event), (gst_collect_pads_chain):
9492 Catch and return errors from the collect function
9493 Refuse data on eos pads.
9495 2006-05-10 Edward Hervey <edward@fluendo.com>
9497 * gst/gstinterface.h:
9498 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
9499 GInterface type checking.
9500 They were previously using non-defined macros.
9502 2006-05-09 Wim Taymans <wim@fluendo.com>
9504 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
9505 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
9506 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
9507 (gst_collect_pads_start), (gst_collect_pads_stop),
9508 (gst_collect_pads_peek), (gst_collect_pads_pop),
9509 (gst_collect_pads_available), (gst_collect_pads_read),
9510 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
9511 (gst_collect_pads_is_collected), (gst_collect_pads_event),
9512 (gst_collect_pads_chain):
9513 * libs/gst/base/gstcollectpads.h:
9514 Clean up the mess that is collectpads, add comments and
9515 FIXMEs where needed.
9516 Maintain a separate pad list so we can add pads while
9517 collecting the other ones. For this we need a new separate
9519 Fix memory leak in finalize.
9520 Refactor some weird code to set/unset pad flushing flags, mark
9522 Don't crash in _available, _read, _flush when we're EOS.
9524 * tests/check/libs/.cvsignore:
9525 Ignore adapter check binary.
9527 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
9529 * gst/gstindex.c: (gst_index_resolver_get_type):
9530 * plugins/elements/gstfakesink.c:
9531 (gst_fake_sink_state_error_get_type):
9532 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
9533 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
9534 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
9535 Const-ify GEnumValue arrays.
9537 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
9539 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
9540 Add test case for flags + gst_buffer_make_metadata_writable().
9542 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
9544 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
9545 gst_buffer_make_metadata_writable() should maintain the
9546 buffer flags (those that make sense at least) (see #340859).
9548 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
9550 * tools/gst-inspect.c:
9551 * tools/gst-launch.c:
9552 * tools/gst-typefind.c:
9553 * tools/gst-xmlinspect.c:
9555 Fix up includes: need to include stdlib.h in tools.h for exit().
9557 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
9559 * gst/gsttaglist.c: (_gst_tag_initialize):
9561 API: add GST_TAG_IMAGE tag (#340721).
9563 2006-05-08 Wim Taymans <wim@fluendo.com>
9566 Added some docs for the segment query.
9568 2006-05-08 Wim Taymans <wim@fluendo.com>
9570 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9571 (gst_base_src_loop), (gst_base_src_change_state):
9572 Always push non-flushing serialized events in the streaming
9575 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
9577 * gst/gsterror.c: (_gst_stream_errors_init):
9578 Add a missing error string.
9580 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
9582 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
9583 Add applied_rate to the debug
9585 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
9586 Copy applied_rate into the outgoing NEWSEGMENT event
9588 2006-05-08 Wim Taymans <wim@fluendo.com>
9590 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
9592 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9593 (gst_base_sink_change_state):
9594 call ::unlock before taking the PREROLL_LOCK so we can safely
9595 handle elements that lock in ::render.
9598 2006-05-08 Edward Hervey <edward@fluendo.com>
9600 * autogen.sh: (CONFIGURE_DEF_OPT):
9601 Darwin's libtoolize is in fact called glibtoolize.
9602 Adding glibtoolize to the list of accepted names for libtoolize.
9604 2006-05-08 Wim Taymans <wim@fluendo.com>
9606 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9607 Unify error handling, don't post an error message
9608 when a push() returns EOS but perform our normal EOS
9609 handling code. Fixes #340772.
9611 2006-05-08 Wim Taymans <wim@fluendo.com>
9613 * docs/design/part-overview.txt:
9614 Make upsteam/downstream concepts more clear.
9615 Give an example of serialized/non-serialized events.
9617 * docs/design/part-events.txt:
9618 * docs/design/part-streams.txt:
9619 Mention applied_rate.
9621 * docs/design/part-trickmodes.txt:
9622 Mention applied rate, flesh out some more use cases.
9624 * gst/gstevent.c: (gst_event_new_new_segment),
9625 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
9626 (gst_event_parse_new_segment_full), (gst_event_new_tag),
9627 (gst_event_parse_tag), (gst_event_new_buffer_size),
9628 (gst_event_parse_buffer_size), (gst_event_new_qos),
9629 (gst_event_parse_qos), (gst_event_parse_seek),
9630 (gst_event_new_navigation):
9632 Add applied_rate field to NEWSEGMENT event.
9633 API: gst_event_new_new_segment_full()
9634 API: gst_event_parse_new_segment_full()
9636 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
9637 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
9638 (gst_segment_to_stream_time), (gst_segment_to_running_time):
9640 Add applied_rate to GstSegment structure.
9641 Make calculation of stream_time and running_time more correct
9642 wrt rate/applied_rate.
9644 API: GstSegment::applied_rate field
9645 API: gst_segment_set_newsegment_full();
9647 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
9648 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
9649 * libs/gst/base/gstbasetransform.c:
9650 (gst_base_transform_sink_eventfunc),
9651 (gst_base_transform_handle_buffer):
9652 Parse and use applied_rate in the GstSegment field.
9654 * tests/check/gst/gstevent.c: (GST_START_TEST):
9655 Add check for applied_rate field.
9657 * tests/check/gst/gstsegment.c: (GST_START_TEST),
9658 (gstsegments_suite):
9659 Add more checks for various GstSegment operations.
9661 2006-05-08 Wim Taymans <wim@fluendo.com>
9663 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
9664 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
9665 (gst_base_sink_get_position), (gst_base_sink_change_state):
9666 Store the sync time of the buffer end position separatly in a
9667 new variable eos_rtime so we can properly sync the EOS event.
9669 Fix the docs for gst_base_sink_set_qos_enabled().
9670 Don't set segment start to invalid value when we receive a
9671 non TIME newsegment.
9672 get closer to handling position reporting for negative rates
9675 2006-05-07 Stefan Kost <ensonic@users.sf.net>
9678 Docs about how to print caps for debug purposes.
9680 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
9681 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
9683 2006-05-07 Stefan Kost <ensonic@users.sf.net>
9686 use full enum names and preprend a '%' in docs strings to make recent
9687 gtk-doc turn that into a link
9689 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
9691 * docs/manual/basics-bins.xml:
9692 * docs/manual/basics-bus.xml:
9693 * docs/manual/basics-pads.xml:
9694 Some typo fixes, some additions, some clarifications.
9696 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
9698 * tools/gst-inspect.c: (main):
9699 * tools/gst-launch.c: (main):
9700 * tools/gst-run.c: (main):
9701 * tools/gst-typefind.c: (main):
9702 * tools/gst-xmlinspect.c: (main):
9703 Use the string passed to g_option_context_new() for
9704 what it's intended for - the program name is already
9707 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
9709 * tools/Makefile.am:
9710 * tools/gst-inspect.c: (main):
9711 * tools/gst-launch.c: (main):
9712 * tools/gst-xmlinspect.c: (main):
9714 Add back --version command line option (#340460).
9716 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
9717 Add --version option and use GOption for argument parsing; refactor a
9718 bit; accept directories as arguments and recurse into them; lastly,
9719 print a decent error message when things go wrong.
9721 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
9723 * docs/manual/basics-bins.xml:
9724 Don't mention GstThread (#340611)
9725 * docs/manual/basics-elements.xml:
9726 Update link to GObject tutorial (#340607)
9728 2006-05-05 Wim Taymans <wim@fluendo.com>
9731 * gst/gstminiobject.c:
9732 Add note about refcounting and miniobject/buffer writeability
9733 to docs. Fixes #340604
9735 * gst/gstelementfactory.h:
9736 Added some explanation about @klass.
9738 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
9740 * docs/manual/intro-motivation.xml:
9741 * docs/manual/manual.xml:
9742 Avoid CORBA & Bonobo references (#340598)
9744 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
9746 * docs/manual/basics-bus.xml:
9747 * docs/manual/basics-pads.xml:
9748 Fix up some inaccuracies and omissions (#340609)
9750 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
9752 * gst/gstghostpad.c:
9753 Small typo in docs (#340625)
9755 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
9757 * gst/parse/Makefile.am:
9758 Make 'make -j' proof (see #340698).
9760 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
9763 Require GLib-2.8 here as well.
9765 2006-05-05 Wim Taymans <wim@fluendo.com>
9767 * gst/glib-compat.c:
9768 * gst/gst.c: (init_pre):
9769 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
9770 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
9771 (gst_object_dispatch_properties_changed):
9773 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
9774 * gst/gststructure.c: (gst_structure_set_valist):
9775 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
9776 Remove pre glib2.8 compatibility, fixes #340508
9778 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
9781 Mention type of tags in doc blurbs.
9783 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
9785 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
9786 (gst_pad_configure_src), (gst_pad_push):
9787 Restore acceptcaps checking behaviour now that good plugins have
9790 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
9792 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
9803 * gst/parse/Makefile.am:
9804 * libs/gst/base/gstadapter.c:
9805 * libs/gst/base/gstbasesrc.c:
9806 * libs/gst/base/gstpushsrc.c:
9807 * libs/gst/base/gsttypefindhelper.c:
9808 * plugins/elements/gstfakesrc.c:
9809 * plugins/elements/gstidentity.c:
9810 Make sure gstprivate.h and/or config.h are
9811 always included first, otherwise some of our
9812 defines (like _FILE_OFFSET_BITS) might be
9813 redefined in the system headers. Fixes build
9814 on opensolaris (#340016).
9816 2006-05-04 Wim Taymans <wim@fluendo.com>
9818 * docs/libs/gstreamer-libs-sections.txt:
9819 API: addition: gst_adapter_take_buffer()
9821 * libs/gst/base/gstadapter.c: (gst_adapter_push),
9822 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
9823 (gst_adapter_available_fast):
9824 * libs/gst/base/gstadapter.h:
9825 Prepare for optimizing the hell out of this hugely inefficient
9827 Added gst_adapter_take_buffer() so we can at least start thinking
9828 about subbuffering and merging.
9829 Added some comments.
9831 * tests/check/Makefile.am:
9832 * tests/check/libs/adapter.c: (GST_START_TEST),
9833 (gst_adapter_suite), (main):
9834 Added GstAdapter check.
9836 2006-05-04 Wim Taymans <wim@fluendo.com>
9838 * docs/design/part-overview.txt:
9839 Fix some typos, add blurb about buffer flags.
9841 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
9843 * docs/libs/gstreamer-libs-sections.txt:
9844 make sure GstBaseTransformClass shows up in the docs
9845 * libs/gst/base/gstbasetransform.c:
9846 * libs/gst/base/gstbasetransform.h:
9847 move docs so gtk-doc picks it up now
9849 2006-05-02 Stefan Kost <ensonic@users.sf.net>
9851 * docs/libs/gstreamer-libs-sections.txt:
9852 add missing symbols to docs
9854 2006-05-02 Stefan Kost <ensonic@users.sf.net>
9856 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
9857 back out the newsegment handling change, see #340060 for ongoing
9860 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
9862 * tools/gst-run.c: (get_candidates), (main):
9863 Fix wrong g_file_test() usage (see glib docs for why it doesn't
9864 work); fix typo in error message. Fixes #340079.
9866 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
9868 * common/Makefile.am:
9870 * docs/faq/Makefile.am:
9871 * docs/gst/Makefile.am:
9872 * docs/libs/Makefile.am:
9873 * docs/manual/Makefile.am:
9874 * docs/plugins/Makefile.am:
9875 * docs/pwg/Makefile.am:
9876 * docs/slides/Makefile.am:
9878 * common/upload.mak:
9879 move upload.mak to common
9881 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
9883 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
9884 add more asserts on refcounts
9885 do more cleanup at end of tests
9886 fix test leaks showing in FC5
9888 2006-04-29 Stefan Kost <ensonic@users.sf.net>
9890 * plugins/elements/gsttypefindelement.c:
9891 (gst_type_find_element_handle_event):
9892 reverted wrong change and reflowed code to avoid others falling into
9895 2006-04-28 Stefan Kost <ensonic@users.sf.net>
9897 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
9898 fix changelog entry about last collectpads change,
9899 add notes about proper fix
9901 2006-04-28 Stefan Kost <ensonic@users.sf.net>
9904 * gst/gstregistry.c: (gst_registry_scan_path_level),
9905 (gst_registry_scan_path):
9906 * gst/gstregistry.h:
9907 only write out registry if it has changed, fixes #338339
9909 2006-04-28 Stefan Kost <ensonic@users.sf.net>
9912 * gst/gstpipeline.c:
9913 * plugins/elements/gstcapsfilter.c:
9914 * plugins/elements/gstfakesink.c:
9915 * plugins/elements/gstfakesrc.c:
9916 * plugins/elements/gstfdsink.c:
9917 * plugins/elements/gstfdsrc.c:
9918 * plugins/elements/gstfilesink.c:
9919 * plugins/elements/gstfilesrc.c:
9920 * plugins/elements/gstidentity.c:
9921 * plugins/elements/gstqueue.c:
9922 * plugins/elements/gsttee.c:
9923 * plugins/elements/gsttypefindelement.c:
9924 (gst_type_find_element_handle_event):
9925 make GstElementDetails const
9927 2006-04-28 Stefan Kost <ensonic@users.sf.net>
9929 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
9930 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
9931 (gst_collect_pads_is_collected), (gst_collect_pads_event):
9932 more detailed debug and formatting cleanup,
9933 forward newsegments to src-pad (so that e.g. adder not eats them)
9935 2006-04-28 Stefan Kost <ensonic@users.sf.net>
9937 * gst/gstutils.c: (gst_element_link_pads):
9940 2006-04-28 Stefan Kost <ensonic@users.sf.net>
9942 * libs/gst/controller/gstcontroller.c:
9943 (gst_controller_sync_values):
9945 * tests/check/libs/controller.c: (GST_START_TEST),
9946 (gst_controller_suite):
9947 a new test for live value handling
9949 2006-04-28 Wim Taymans <wim@fluendo.com>
9951 * gst/gstutils.c: (push_and_ref):
9952 Added some more docs.
9953 Fix refcount issue whith gst_element_found_tags() helper
9954 function. Fixes #338335
9956 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
9957 Added testsuite for gst_element_found_tags().
9959 2006-04-28 Michael Smith <msmith@fluendo.com>
9961 * gst/gstvalue.c: (gst_value_serialize_flags):
9962 Avoid NULL dereference when trying to serialize flags containing
9965 2006-04-28 Michael Smith <msmith@fluendo.com>
9967 * plugins/elements/gsttypefindelement.c:
9968 (gst_type_find_element_handle_event):
9969 If we get EOS before any data is accumulated, don't use
9970 uninitialised local variables.
9972 2006-04-28 Michael Smith <msmith@fluendo.com>
9974 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
9975 (gst_dp_event_from_packet):
9976 Fixes in reading/writing events over GDP (not currently used?) -
9977 dereferencing NULL events for unknown/invalid event types, memory
9978 leak, and change g_warning to GST_WARNING.
9980 2006-04-28 Wim Taymans <wim@fluendo.com>
9982 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
9983 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
9984 (gst_base_sink_get_position), (gst_base_sink_change_state):
9985 When frame dropping is enabled, we should not ignore frames
9987 Update some documentation.
9989 2006-04-28 Wim Taymans <wim@fluendo.com>
9991 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9992 (gst_base_src_send_event), (gst_base_src_change_state):
9993 Documentation updates.
9995 2006-04-28 Wim Taymans <wim@fluendo.com>
9997 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
9998 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
9999 handle EAGAIN, EINTR and short writes correctly. Also clean
10000 up some error cases, avoid a deadlock on bad file descriptors and
10001 use GST_DEBUG_OBJECT.
10004 2006-04-28 Wim Taymans <wim@fluendo.com>
10006 * gst/gstvalue.c: (gst_value_serialize_buffer),
10007 (gst_value_deserialize_buffer):
10008 Don't try to serialize a GValue with a NULL buffer.
10011 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10012 Added check for serialisation of NULL buffers.
10014 2006-04-28 Wim Taymans <wim@fluendo.com>
10016 * gst/gstminiobject.c: (gst_value_take_mini_object):
10017 Taking a NULL miniobject is valid, fix the case where
10018 we try to unref the NULL miniobject.
10020 2006-04-28 Wim Taymans <wim@fluendo.com>
10022 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
10024 * gst/gstbin.c: (gst_bin_handle_message_func):
10026 Don't leak bin refcount when a state recalc is
10027 in progress and we delay another one #339808.
10029 2006-04-28 Wim Taymans <wim@fluendo.com>
10031 * docs/design/part-TODO.txt:
10032 Mention QoS as an ongoing work item.
10034 * docs/design/part-buffering.txt:
10035 New doc about buffering that needs to be fleshed out
10038 * docs/design/part-qos.txt:
10039 More QoS policy for decoders/demuxers/transforms
10041 * docs/design/part-trickmodes.txt:
10044 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
10049 === release 0.10.5 ===
10051 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
10054 releasing 0.10.5, "Fogo"
10056 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
10058 patch by: Wim Taymans
10060 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
10061 (gst_pad_configure_src), (gst_pad_push):
10062 * gst/gstpipeline.c: (gst_pipeline_init):
10063 Fix internal data flow errors. Fixes #338711.
10065 2006-04-12 Wim Taymans <wim@fluendo.com>
10067 * tests/check/gst/gstelement.c: (GST_START_TEST):
10068 Don't leak the factory.
10070 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
10073 * win32/common/config.h:
10076 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
10078 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
10079 (gst_controller_unset_all):
10080 Free allocated GstTimedValues when freeing list nodes.
10081 Should fix leaks 'make check-valgrind' complains about.
10083 * win32/common/libgstcontroller.def:
10084 Add gst_controller_unset_all.
10086 2006-04-11 Stefan Kost <ensonic@users.sf.net>
10088 * docs/libs/gstreamer-libs-sections.txt:
10089 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
10090 (gst_controller_unset_all):
10091 * libs/gst/controller/gstcontroller.h:
10092 API: Added new method gst_controller_unset_all()
10093 fixed gst_controller_unset()
10094 * tests/check/libs/controller.c: (GST_START_TEST),
10095 (gst_controller_suite):
10096 Added two testcases for new and fixed method
10098 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
10100 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
10101 MSG_DONTWAIT is not defined on Cygwin, so work
10102 around that (fixes #317048).
10104 2006-04-11 Wim Taymans <wim@fluendo.com>
10106 * gst/gstelementfactory.c: (gst_element_register),
10107 (gst_element_factory_create), (gst_element_factory_make):
10110 Updated docs (Fixes #131079)
10112 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
10115 * tests/check/gst/gstelement.c: (GST_START_TEST),
10116 (gst_element_suite):
10117 Added testcase for elementfactory class field.
10119 2006-04-10 Wim Taymans <wim@fluendo.com>
10121 * gst/gstsegment.c:
10122 Added some more docs.
10124 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
10125 (gst_base_sink_reset_qos):
10126 Calculate more accurate rate values.
10128 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
10130 * gst/gst_private.h:
10131 add a new #ifdef to use __declspec(dllimport) only for
10132 other modules and not for gstreamer core
10133 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
10134 use gst_guint64_to_gdouble for conversion
10135 * win32/common/libgstreamer.def:
10136 add new exported functions
10137 * win32/vs6/gst_inspect.dsp:
10138 * win32/vs6/gst_launch.dsp:
10139 * win32/vs6/libgstbase.dsp:
10140 * win32/vs6/libgstcontroller.dsp:
10141 * win32/vs6/libgstcoreelements.dsp:
10142 * win32/vs6/libgstdataprotocol.dsp:
10143 * win32/vs6/libgstnet.dsp:
10144 update project files
10146 2006-04-08 Stefan Kost <ensonic@users.sf.net>
10148 * gst/gstbuffer.c: (gst_subbuffer_class_init):
10149 * gst/gstclock.c: (gst_clock_class_init):
10150 * gst/gstelement.c: (gst_element_class_init):
10151 * gst/gstindex.c: (gst_index_class_init):
10152 * gst/gstindexfactory.c: (gst_index_factory_class_init):
10153 * gst/gstobject.c: (gst_object_class_init),
10154 (gst_signal_object_class_init):
10155 * gst/gstpad.c: (gst_pad_class_init):
10156 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
10157 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
10158 * gst/gstregistry.c: (gst_registry_class_init):
10159 * gst/gstsystemclock.c: (gst_system_clock_class_init):
10160 * gst/gsttask.c: (gst_task_class_init):
10161 * gst/gstxml.c: (gst_xml_class_init):
10162 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
10163 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10164 (gst_base_src_loop):
10165 * libs/gst/controller/gstcontroller.c:/
10166 (_gst_controller_class_init):
10167 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
10168 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
10169 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
10170 * tests/old/examples/plugins/example.c: (gst_example_class_init):
10171 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
10172 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
10174 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
10176 * gst/gstpad.c: (gst_pad_link):
10177 Must set peer pads before calling the link function, otherwise
10178 a task started from a link function might get a flow-not-linked
10179 result when trying to push because the other thread where the
10180 linking happens hasn't had a chance to set the peers yet. This
10181 might happen for example when a queue gets linked to a downstream
10182 element, as queue starts a streaming task when its source pad
10183 gets linked. Happens in real life when playing back flac/musepack
10184 files in playbin (#332390).
10186 2006-04-08 Stefan Kost <ensonic@users.sf.net>
10190 * libs/gst/base/gstadapter.h:
10191 * libs/gst/base/gstbasesink.h:
10192 * libs/gst/base/gstbasesrc.h:
10193 * libs/gst/base/gstbasetransform.h:
10194 * libs/gst/base/gstcollectpads.h:
10195 * libs/gst/base/gstpushsrc.h:
10196 Fix broken GObject macros
10198 2006-04-07 Wim Taymans <wim@fluendo.com>
10200 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10201 Initialize start and stop times, thanks valgrind.
10203 2006-04-07 Wim Taymans <wim@fluendo.com>
10205 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10206 Be a bit nicer to badly behaving upstream elements that expect
10207 us to deal with non TIME segments and timestamps (such as fakesrc
10210 2006-04-07 Wim Taymans <wim@fluendo.com>
10213 Small documentation clarification about the signal watch.
10215 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
10216 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
10217 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10218 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
10219 (gst_base_sink_get_position_last),
10220 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
10221 Convert and store timestamps in stream time and running time, the
10222 raw timestamps are not useful, also document this better.
10223 Use different window sizes for good and bad QoS observations so
10224 we react to badness a little quicker.
10225 Keep track of the amount of rendered and dropped buffers.
10226 Send QoS timestamps in running time.
10228 * libs/gst/base/gstbasetransform.c:
10229 (gst_base_transform_sink_eventfunc),
10230 (gst_base_transform_handle_buffer):
10231 Compare QoS timestamps against running time.
10233 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
10236 Typo fixes in docs.
10238 2006-04-06 Michael Smith <msmith@fluendo.com>
10240 * gst/gstpad.c: (gst_pad_set_property):
10241 Use g_value_get_object() instead of g_value_dup_gst_object(),
10242 to avoid double-reffing the pad template (which we then sink,
10243 so this worked previously if (and only if) the pad template
10246 * gst/gstpadtemplate.c: (gst_pad_template_init),
10247 (gst_pad_template_pad_created):
10248 Never return floating references to pad templates, create
10249 them as initially-sunken.
10251 Document an extra function (and make this stop sinking our
10252 pad template, since that is now guaranteed to do nothing,
10253 since we created it sunken).
10255 * gst/gstghostpad.c:
10258 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
10260 * gst/gstinfo.c: (__gst_in_valgrind):
10263 * plugins/elements/gsttypefindelement.c:
10264 (gst_type_find_element_chain):
10265 Don't leak buffer caps.
10267 2006-04-06 Michael Smith <msmith@fluendo.com>
10269 * gst/parse/grammar.y:
10270 Fix a leak in parse-launch for any source-or-sink named element
10273 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
10274 Unref the pipeline if it exists after we've failed parsing.
10276 2006-04-05 Michael Smith <msmith@fluendo.com>
10278 * gst/gstpipeline.c: (gst_pipeline_init):
10279 When we create a pipeline bus, initially create it in flushing mode.
10280 Fixes leaks in at least one test, and makes a new pipeline work the
10281 same as one that has gone to READY and then back to NULL.
10283 * gst/gstelement.c:
10286 2006-04-05 Michael Smith <msmith@fluendo.com>
10288 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
10289 Unref a pad we reffed.
10290 * tests/check/gst/gstutils.c: (GST_START_TEST):
10293 2006-04-05 Michael Smith <msmith@fluendo.com>
10295 * gst/gstquery.c: (gst_query_set_formats),
10296 (gst_query_set_formatsv):
10297 Fix leaking GValues in queries, as shown by valgrind/testsuite.
10299 2006-04-05 Michael Smith <msmith@fluendo.com>
10301 * tests/check/generic/sinks.c: (GST_START_TEST):
10302 Fix a variety of memleaks in sinks check, which are only sometimes
10303 shown by running the tests under valgrind (weird?).
10305 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
10307 * docs/version.entities.in:
10308 Fix the substituted entity name after thomas' changes on the
10311 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10313 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
10316 2006-04-05 Andy Wingo <wingo@pobox.com>
10318 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
10320 * libs/gst/base/gstbasetransform.c
10321 (gst_base_transform_sink_eventfunc): When resetting our segment on
10322 FLUSH_STOP, also update the flag saying we haven't seen a
10325 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
10327 Patch by: Paolo Borelli <pborelli at katamail dot com>
10329 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
10330 (gst_plugin_check_license):
10331 minor clean-ups: G_DEFINE_TYPE already takes care of the
10332 parent_class stuff, no need to do it twice. Mark array of
10333 license strings as constant. (#337103)
10335 2006-04-04 Michael Smith <msmith@fluendo.com>
10337 * tools/gst-inspect.c: (print_element_list):
10338 Free the right plugin list; fixes a memory leak.
10340 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
10342 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
10344 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
10345 Don't error out on empty buffers (#336945).
10347 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
10349 * docs/libs/gstreamer-libs-sections.txt:
10350 * gst/gsttaglist.c:
10351 * libs/gst/base/gstbasesink.c:
10352 * libs/gst/base/gstbasesink.h:
10353 * libs/gst/base/gstbasesrc.c:
10354 * libs/gst/base/gstbasesrc.h:
10355 Documentation updates. Make BaseSink and BaseSrc docs contain the
10356 class structure so that people can actually see the prototypes for
10357 virtual functions they're supposed to be overriding.
10359 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
10361 * plugins/elements/gsttypefindelement.c:
10362 (gst_type_find_element_chain):
10363 More debug info; when skipping typefinding, send cached
10364 events in all cases.
10366 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
10369 use new AS_VERSION and AS_NANO macros
10370 * gst/gst-i18n-lib.h:
10373 * gst/gstversion.h.in:
10374 * win32/common/config.h:
10375 * win32/common/config.h.in:
10378 2006-03-31 Michael Smith <msmith@fluendo.com>
10380 * plugins/elements/gsttypefindelement.c:
10381 (gst_type_find_element_chain):
10382 Do not typefind content if the buffers already have caps.
10383 Neccesary for icydemux (#333657), and the right thing to do anyway.
10385 2006-03-30 Wim Taymans <wim@fluendo.com>
10387 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10388 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
10389 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
10390 (gst_base_sink_record_qos_observation),
10391 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10392 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
10393 (gst_base_sink_change_state):
10394 More QoS measurements as described in the design doc.
10395 Get rid of ringbuffer with observations, running average is
10396 more simple and equally good.
10397 Calculates valid proportion now.
10398 Added beginning of flood measurement.
10400 2006-03-29 Wim Taymans <wim@fluendo.com>
10402 * docs/design/part-qos.txt:
10404 Small documentation updates and additions.
10406 2006-03-29 Wim Taymans <wim@fluendo.com>
10408 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
10409 (gst_base_src_send_event), (gst_base_src_loop),
10410 (gst_base_src_change_state):
10411 Perform the EOS logic when we reach the segment stop position.
10412 Fix compilation on gcc4.1
10414 2006-03-29 Wim Taymans <wim@fluendo.com>
10416 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
10418 * plugins/elements/gstqueue.c: (gst_queue_init),
10419 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
10420 (gst_queue_set_property):
10421 * plugins/elements/gstqueue.h:
10422 In queue, when EOS is received, if minimum threshold > max_size -
10423 current_level, there is chance that queue blocks forever in conditional
10424 item del wait. This is because the queue is not emptied completely due
10425 to minimum threshold. Here is another approach. Instead of setting
10426 cur_levels to max in EOS, just zero all minimum threshold levels. This
10427 should make sure that queue gives out all data. When going to READY
10428 (stop) state, just reset the original minimum threshold levels.
10431 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
10433 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
10434 (gst_type_find_element_handle_event),
10435 (gst_type_find_element_send_cached_events),
10436 (gst_type_find_element_change_state):
10437 * plugins/elements/gsttypefindelement.h:
10438 When typefinding is done in push mode, we should cache
10439 events we receive during typefinding instead of just
10440 dropping them (e.g. newsegment, custom events from
10441 dvdreadsrc etc.) and then send them out once we've
10442 determined the type of the stream (and decodebin
10443 has had a chance to plug in a decoder/demuxer).
10445 2006-03-27 Wim Taymans <wim@fluendo.com>
10447 * docs/design/part-qos.txt:
10450 2006-03-27 Wim Taymans <wim@fluendo.com>
10452 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
10454 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
10455 (gst_base_src_send_event), (gst_base_src_change_state):
10456 Handle element seek correctly when we are streaming.
10459 2006-03-24 Michael Smith <msmith@fluendo.com>
10461 * docs/faq/gst-uninstalled:
10462 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
10463 allow you to correctly run intalled applications built against old
10464 core, using plugins that require updated core (e.g. running
10465 installed totem against a full uninstalled gstreamer stack)
10467 2006-03-24 Stefan Kost <ensonic@users.sf.net>
10469 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
10472 2006-03-24 Wim Taymans <wim@fluendo.com>
10474 * docs/gst/gstreamer-sections.txt:
10475 Rearrange the order of the methods so that related methods
10476 are grouped together in sections.
10478 2006-03-24 Stefan Kost <ensonic@users.sf.net>
10480 * gst/gstelement.c:
10481 Little clarification in the docs
10483 2006-03-24 Stefan Kost <ensonic@users.sf.net>
10487 * plugins/elements/gstidentity.c:
10488 * plugins/elements/gstqueue.c:
10489 * plugins/elements/gsttee.c:
10490 * plugins/elements/gsttypefindelement.c:
10491 GST_ELEMENT_DETAILS formatting
10493 2006-03-24 Wim Taymans <wim@fluendo.com>
10495 * libs/gst/base/gstbasesink.h:
10496 Only add fields, not insert or we break ABI.
10498 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
10500 * win32/common/libgstbase.def:
10501 * win32/common/libgstreamer.def:
10502 Update, add recently added functions.
10504 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
10506 * docs/gst/gstreamer-sections.txt:
10507 * gst/gstutils.c: (gst_pad_query_peer_position),
10508 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
10510 API: add some new utility functions:
10511 - gst_pad_query_peer_position()
10512 - gst_pad_query_peer_duration()
10513 - gst_pad_query_peer_convert()
10515 2006-03-23 Wim Taymans <wim@fluendo.com>
10517 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10518 (gst_base_sink_init), (gst_base_sink_finalize),
10519 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
10520 (gst_base_sink_set_property), (gst_base_sink_get_property),
10521 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
10522 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
10523 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
10524 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10525 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
10526 (gst_base_sink_preroll_object), (gst_base_sink_event),
10527 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
10528 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
10529 (gst_base_sink_query), (gst_base_sink_change_state):
10530 Decouple max-lateness and the fact that QoS messages are generated
10531 with a new property (qos).
10532 added API: GstBaseSink::async_play()
10533 Add vmethod so subclasses can be notified of ASYNC playing
10535 Collect timestamp start and stop to report better current
10536 position in EOS/PLAYING/PAUSED/READY/NULL.
10537 Refactor QoS/frame dropping and other measurements.
10538 API: GstBaseSrc::qos
10541 * libs/gst/base/gstbasesink.h:
10542 Added Private struct.
10543 API: gst_base_sink_set_qos_enabled()
10544 API: gst_base_sink_is_qos_enabled()
10546 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
10548 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
10549 If compiling against GLib-2.8 or newer, try to read the
10550 registry file using GMappedFile first before falling back
10551 to fopen() + fread() (#332151).
10553 2006-03-22 Wim Taymans <wim@fluendo.com>
10555 * gst/gstinfo.c: (gst_debug_set_active),
10556 (gst_debug_category_set_threshold):
10557 Disable debugging unless explicitly activated.
10560 2006-03-22 Wim Taymans <wim@fluendo.com>
10562 * gst/gstelement.c: (gst_element_set_locked_state),
10563 (gst_element_dispose):
10564 Cleanup the error case.
10566 * gst/gstobject.c: (gst_object_dispose):
10567 print a critical when some object was disposed with
10568 a parent, also revive the object since it might
10571 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
10573 * tools/gst-launch.1.in:
10576 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
10579 * tests/check/Makefile.am:
10580 disable some tests when we don't have a registry
10581 * tests/check/gst/gstutils.c: (gst_utils_suite):
10582 don't build the part that needs parsing
10584 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
10587 * tests/examples/Makefile.am:
10588 fix --disable-parse build
10590 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
10592 * tools/gst-feedback.1.in:
10593 Fix typo: s/feeback/feedback/ (#133494).
10595 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
10597 * tools/Makefile.am:
10598 * tools/gst-launch.1.in:
10599 Add FILES section and correct entry about GST_REGISTRY_PATH
10600 environment variable (#133495; #133494).
10602 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
10604 * tools/Makefile.am:
10605 * tools/gst-md5sum.1.in:
10606 * tools/gst-md5sum.c:
10607 Remove gst-md5sum and man page (the md5sink element
10608 required was removed ages ago)
10610 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
10612 * gst/gststructure.c: (gst_structure_id_set_value):
10613 Make sure that string fields in structures/taglists
10614 contain valid UTF-8 - we don't want to pass rubbish to
10615 applications because of a buggy plugin (cp. #334167).
10617 2006-03-21 Edward Hervey <edward@fluendo.com>
10619 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
10620 (gst_bin_handle_message_func):
10621 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
10622 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
10623 (gst_element_set_bus_func):
10624 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
10625 * gst/gstminiobject.c: (gst_value_set_mini_object),
10626 (gst_value_take_mini_object):
10627 * gst/gstpad.c: (gst_pad_set_pad_template):
10628 * gst/gstpipeline.c: (gst_pipeline_dispose),
10629 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
10630 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
10631 (gst_collect_pads_chain):
10632 * libs/gst/net/gstnettimeprovider.c:
10633 (gst_net_time_provider_set_property):
10634 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
10635 It's in fact all issues with gst_*object_replace().
10637 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
10639 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
10641 * pkgconfig/gstreamer-check-uninstalled.pc.in:
10642 * pkgconfig/gstreamer-check.pc.in:
10643 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
10645 2006-03-21 Edward Hervey <edward@fluendo.com>
10649 * gst/gstmessage.h:
10650 gst_[buffer|event|message]_ref() macros are replaced by a static
10651 inline functions because gcc-4.1 will about if the return value
10653 * tests/check/gst/gstevent.c: (event_probe):
10654 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
10656 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
10659 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
10660 the type' case. (Closes: #335195 for now). In the future, when we
10661 depend on GLib 2.10, we could also intern the type name using
10662 g_intern_static_string()
10664 2006-03-20 Wim Taymans <wim@fluendo.com>
10666 * gst/gstbin.c: (gst_bin_handle_message_func),
10667 (bin_query_max_init), (bin_query_position_fold),
10668 (bin_query_position_done), (gst_bin_query):
10669 Position query should also take max of all streams.
10671 2006-03-20 Wim Taymans <wim@fluendo.com>
10673 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
10674 (gst_fake_src_finalize):
10675 Fix leaks in fakesrc.
10677 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10678 Fix leaks in the testcase.
10680 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
10682 * gst/gst_private.h:
10683 add win32 specific import decoration(__declspec(dllimport))
10684 for all extern GstDebugCategory * variables
10685 * win32/common/libgstbase.def:
10686 * win32/common/libgstcontroller.def:
10687 * win32/common/libgstreamer.def:
10688 Add some exports, remove empty lines
10689 * win32/common/libgstdataprotocol.def:
10690 * win32/common/libgstdataprotocol.dsp:
10691 * win32/common/libgstnet.def:
10692 * win32/common/libgstnet.dsp:
10693 new project files and exportation files added
10695 2006-03-19 Wim Taymans <wim@fluendo.com>
10697 * tests/check/libs/basesrc.c: (eos_event_counter):
10698 Use proper return value for probe.
10700 2006-03-17 Wim Taymans <wim@fluendo.com>
10702 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
10704 Don't leak buffers, caps and pads on negotiation errors.
10706 2006-03-16 Stefan Kost <ensonic@users.sf.net>
10708 * docs/faq/cvs.xml:
10709 * docs/faq/dependencies.xml:
10710 * docs/faq/developing.xml:
10711 * docs/faq/faq.xml:
10712 * docs/faq/general.xml:
10713 * docs/faq/getting.xml:
10714 * docs/faq/legal.xml:
10715 * docs/faq/troubleshooting.xml:
10716 * docs/faq/using.xml:
10717 Faq review and update.
10719 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
10721 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
10723 Don't pound the cpu to pieces by checking get_caps when accept_caps
10724 is called with the same caps as the pad already has.
10725 Use GST_DEBUG_OBJECT when outputting caps change information.
10727 2006-03-15 Wim Taymans <wim@fluendo.com>
10729 * gst/gstclock.c: (gst_clock_class_init):
10732 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
10737 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
10738 (gst_pad_accept_caps), (gst_pad_configure_sink),
10739 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
10740 Make the default acceptcaps behaviour be to check the requested
10741 caps against the gst_pad_get_caps output.
10743 Ensure that gst_pad_accept_caps is used to check caps when a pad
10744 doesn't have a setcaps function, so that pads automatically refuse
10745 caps that they don't allow in their pad template. (Fixes #332986)
10747 When a buffer with attached caps is pushed, ensure that the source
10748 pad receives those caps even if the element didn't call
10749 gst_pad_set_caps first.
10751 2006-03-15 Wim Taymans <wim@fluendo.com>
10753 * libs/gst/base/gstadapter.c:
10756 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
10758 * win32/common/libgstbase.def:
10759 * win32/common/libgstcontroller.def:
10760 * win32/common/libgstreamer.def:
10761 Add a whole bunch of missing functions (#334434).
10763 2006-03-14 Wim Taymans <wim@fluendo.com>
10765 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
10766 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
10767 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
10768 Better debug info when we receive a segment event.
10769 Reorganize a bit so we can pass the get_times() results around.
10770 Use the segment format when calculating the running time.
10771 Don't do QoS is sync is disabled or we have no clock or the
10772 element does not want us to sync to the clock.
10773 Don't drop buffers if QoS is disabled for now.
10775 2006-03-14 Wim Taymans <wim@fluendo.com>
10777 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
10778 Marked the stats property as unimplemented so people don't get
10780 Add debug message when regression goes wrong.
10781 Added some more docs.
10783 2006-03-14 Wim Taymans <wim@fluendo.com>
10785 * gst/gstsegment.c: (gst_segment_to_stream_time):
10786 Return correct return type in case of errors.
10788 2006-03-14 Wim Taymans <wim@fluendo.com>
10790 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
10791 Don't segfault on invalid formats.
10793 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
10795 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10796 Can't use gst_segment_to_running_time() when the segment
10797 is not in GST_TIME_FORMAT (like with filesink, for example).
10798 Stops flac encoding pipelines from spewing critical warnings
10801 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
10803 * gst/gstpipeline.c: (gst_pipeline_class_init):
10804 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
10806 * plugins/elements/gsttypefindelement.c:
10807 (gst_type_find_element_handle_event):
10808 Don't try to typefind empty streams.
10810 2006-03-14 Wim Taymans <wim@fluendo.com>
10812 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
10813 (gst_base_sink_do_qos):
10814 Separate QoS calculation.
10815 Only drop buffers when lateness is bigger than the
10816 duration of the buffer.
10818 2006-03-13 Wim Taymans <wim@fluendo.com>
10820 * gst/gstpipeline.c: (gst_pipeline_set_property),
10821 (gst_pipeline_get_property), (do_pipeline_seek),
10822 (gst_pipeline_change_state), (gst_pipeline_set_delay),
10823 (gst_pipeline_get_delay):
10824 Don't deadlock when reading properties.
10826 2006-03-13 Wim Taymans <wim@fluendo.com>
10828 * libs/gst/base/gstbasetransform.c:
10829 (gst_base_transform_class_init), (gst_base_transform_init),
10830 (gst_base_transform_sink_event),
10831 (gst_base_transform_sink_eventfunc),
10832 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
10833 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
10834 (gst_base_transform_set_property),
10835 (gst_base_transform_get_property),
10836 (gst_base_transform_change_state), (gst_base_transform_update_qos),
10837 (gst_base_transform_set_qos_enabled),
10838 (gst_base_transform_is_qos_enabled):
10839 * libs/gst/base/gstbasetransform.h:
10840 Make basetransform virtual method for src events too.
10841 Handle QOS in basetransform.
10842 API: gst_base_transform_update_qos()
10843 API: gst_base_transform_set_qos_enabled()
10844 API: gst_base_transform_is_qos_enabled()
10846 2006-03-13 Wim Taymans <wim@fluendo.com>
10848 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10849 (gst_base_sink_do_sync):
10851 Use QOS debug category.
10853 2006-03-13 Wim Taymans <wim@fluendo.com>
10855 * plugins/elements/gstqueue.c:
10856 Very small doc update.
10858 2006-03-13 Wim Taymans <wim@fluendo.com>
10860 * gst/gst_private.h:
10861 * gst/gstinfo.c: (_gst_debug_init):
10862 Added QOS debug category
10864 2006-03-13 Wim Taymans <wim@fluendo.com>
10866 * docs/gst/gstreamer-sections.txt:
10867 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
10869 * gst/gstbus.c: (gst_bus_class_init):
10872 * gst/gstelement.c: (gst_element_set_locked_state):
10873 * gst/gstsegment.c:
10874 Documentation updates.
10876 * gst/gstpipeline.c: (gst_pipeline_get_type),
10877 (gst_pipeline_class_init), (gst_pipeline_init),
10878 (gst_pipeline_dispose), (gst_pipeline_set_property),
10879 (gst_pipeline_get_property), (do_pipeline_seek),
10880 (gst_pipeline_send_event), (gst_pipeline_change_state),
10881 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
10882 (gst_pipeline_get_delay):
10883 * gst/gstpipeline.h:
10884 Added methods for setting the delay.
10885 API: gst_pipeline_set_delay()
10886 API: gst_pipeline_get_delay()
10887 Add pipeline debug category
10890 Don't reset stream time when seek failed.
10892 2006-03-13 Wim Taymans <wim@fluendo.com>
10894 * docs/design/draft-klass.txt:
10895 * docs/design/part-clocks.txt:
10896 * docs/design/part-events.txt:
10897 * docs/design/part-gstbin.txt:
10898 * docs/design/part-gstpipeline.txt:
10899 * docs/design/part-messages.txt:
10900 * docs/design/part-negotiation.txt:
10901 * docs/design/part-overview.txt:
10902 * docs/design/part-preroll.txt:
10903 * docs/design/part-seeking.txt:
10904 * docs/design/part-states.txt:
10905 * docs/design/part-streams.txt:
10906 Documentation updates.
10908 2006-03-12 Julien MOUTTE <julien@moutte.net>
10910 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
10911 us to leak strings...
10913 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
10915 * libs/gst/net/gstnettimeprovider.c:
10917 * win32/common/config.h:
10920 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
10922 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
10925 Don't check for libgnomeui (leftover from old examples
10926 that aren't built or disted any longer) (#334303).
10928 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
10930 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
10931 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
10932 Emit RESOURCE_NO_SPACE_LEFT error here as well when
10933 there's no space left on the device.
10935 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
10938 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
10939 to cast the input to GstClockTime before comparing with
10940 another GstClockTime value.
10942 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
10947 === release 0.10.4 ===
10949 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
10952 releasing 0.10.4, "Light"
10954 2006-03-10 Michael Smith <msmith@fluendo.com>
10956 * libs/gst/dataprotocol/dataprotocol.c:
10957 Fix docs for dataprocotol to not get the return types completely
10958 wrong for a few functions.
10960 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
10962 * docs/gst/gstreamer-sections.txt:
10963 * gst/gstpipeline.c: (gst_pipeline_class_init),
10964 (gst_pipeline_init), (gst_pipeline_set_property),
10965 (gst_pipeline_get_property), (gst_pipeline_change_state),
10966 (gst_pipeline_set_auto_flush_bus),
10967 (gst_pipeline_get_auto_flush_bus):
10968 * gst/gstpipeline.h:
10969 Add new API: gst_pipeline_set_auto_flush_bus() and
10970 gst_pipeline_get_auto_flush_bus() to disable automatic
10971 flushing of the pipeline's GstBus when going from READY
10972 to NULL state (#332045).
10974 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
10976 * docs/gst/gstreamer-sections.txt:
10977 * gst/gsturi.c: (gst_uri_has_protocol):
10979 Add new API: gst_uri_has_protocol() (#333779).
10981 2006-03-09 Wim Taymans <wim@fluendo.com>
10983 * gst/gstclock.c: (gst_clock_entry_new),
10984 (gst_clock_id_compare_func), (gst_clock_id_wait),
10985 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
10986 (gst_clock_init), (gst_clock_get_internal_time),
10987 (gst_clock_set_master), (do_linear_regression),
10988 (gst_clock_add_observation), (gst_clock_set_property):
10992 Fix a possible segfault when the window-size is made smaller.
10993 Calculate jitter before performing the clock wait. Ideally
10994 the clock implementation should calculate jitter but we need
10995 API breakage for that.
10997 * gst/gstsystemclock.c: (gst_system_clock_init):
11000 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11001 Remove leftover else
11003 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
11004 (gst_systemclock_suite):
11005 Added check to test GST_CLOCK_DIFF.
11007 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
11009 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
11010 (gst_type_find_helper_get_range):
11011 If we are provided with the size, we should implement
11012 GstTypeFind::get_length, so that typefind functions who
11013 want to can actually peek at the middle of a file.
11015 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
11017 * docs/manual/advanced-dataaccess.xml:
11018 Add some very very basic error checking.
11020 * docs/pwg/appendix-checklist.xml:
11021 Some updates to the list of things to check when writing an element.
11023 2006-03-08 Wim Taymans <wim@fluendo.com>
11025 * docs/design/part-element-transform.txt:
11026 Added some docs about the design of tranform elements.
11028 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
11029 (gst_base_src_loop), (gst_base_src_change_state):
11030 Mark buffers with the DISCONT flag.
11032 2006-03-08 Michael Smith <msmith@fluendo.com>
11034 * gst/gstregistry.h:
11035 * gst/gstregistryxml.c: (gst_registry_save),
11036 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
11037 (gst_registry_xml_save_pad_template),
11038 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
11039 (gst_registry_xml_write_cache):
11040 Rewrite registry-saving to avoid race conditions and check for
11043 2006-03-08 Wim Taymans <wim@fluendo.com>
11045 * libs/gst/base/gstbasetransform.c:
11046 (gst_base_transform_transform_caps),
11047 (gst_base_transform_transform_size),
11048 (gst_base_transform_prepare_output_buffer),
11049 (gst_base_transform_get_unit_size),
11050 (gst_base_transform_buffer_alloc),
11051 (gst_base_transform_handle_buffer),
11052 (gst_base_transform_change_state):
11053 Cleanups, separate normal flow from errors, add sensible
11055 Don't try to renegotiate when allocating an output buffer.
11056 Also copy DISCONT buffer flag when copying a buffer.
11057 Reset the transform after we finish streaming, not during.
11059 2006-03-08 Wim Taymans <wim@fluendo.com>
11061 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11062 Use last buffer timestamp in qos message.
11064 2006-03-07 Wim Taymans <wim@fluendo.com>
11066 Patch by: Christophe Fergeau
11068 * docs/pwg/advanced-tagging.xml:
11069 * docs/pwg/building-pads.xml:
11072 2006-03-07 Wim Taymans <wim@fluendo.com>
11074 * docs/libs/gstreamer-libs-sections.txt:
11075 Added basesink new methods.
11079 Docs updates. Flesh out the QoS docs.
11081 * libs/gst/base/gstadapter.c:
11082 Small doc clarification about ownership and flushing.
11084 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
11085 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
11086 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
11087 (gst_base_sink_get_property), (gst_base_sink_do_sync):
11088 * libs/gst/base/gstbasesink.h:
11090 Added new methods to allow subclass to control max-lateness
11092 Generate very basic QoS events based on last sync observation.
11093 Updated docs, fix typo, added some QoS blurb.
11095 * libs/gst/base/gstbasesrc.c:
11096 Remove obsolete _get_state() calls from docs.
11098 2006-03-07 Wim Taymans <wim@fluendo.com>
11100 * docs/libs/gstreamer-libs-sections.txt:
11101 * libs/gst/base/gstbasetransform.h:
11102 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
11103 Fix docs for GstBaseSrc.
11105 2006-03-07 Wim Taymans <wim@fluendo.com>
11107 * docs/gst/gstreamer-sections.txt:
11110 * libs/gst/base/gstbasetransform.h:
11111 Small documentation fixes.
11113 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
11116 Document thread-unsafety of gst_value_register_foo_func()
11117 when used at the same time as gst_value_foo() (#322628).
11119 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
11121 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
11122 (gst_push_src_check_get_range):
11123 Push sources don't support pull mode by default.
11125 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
11127 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11128 (gst_base_src_init), (gst_base_src_pad_check_get_range),
11129 (gst_base_src_default_check_get_range):
11130 * libs/gst/base/gstbasesrc.h:
11131 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
11132 provide default implementation, and rename
11133 gst_base_src_check_get_range() to
11134 gst_base_src_pad_check_get_range() for clarity.
11136 2006-03-06 Wim Taymans <wim@fluendo.com>
11138 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
11139 Make property overridable.
11141 2006-03-06 Wim Taymans <wim@fluendo.com>
11143 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
11144 (gst_base_sink_init), (gst_base_sink_set_property),
11145 (gst_base_sink_get_property), (gst_base_sink_do_sync):
11146 * libs/gst/base/gstbasesink.h:
11147 API addition: Make max-lateness a property.
11149 2006-03-06 Wim Taymans <wim@fluendo.com>
11151 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
11152 (gst_base_sink_do_sync), (gst_base_sink_render_object):
11153 Don't ever draw a frame that is >10ms late.
11155 2006-03-06 Michael Smith <msmith@fluendo.com>
11157 * gst/gstmessage.c: (_gst_message_copy):
11158 When copying a message, set the parent_refcount of the enclosed
11159 structure to point at the copy, not the original message.
11161 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
11163 Patch by: Christophe Fergeau
11166 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
11167 usable in c++ code (#333417)
11169 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
11172 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
11174 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
11176 * libs/gst/base/gstbasetransform.c:
11177 (gst_base_transform_transform_caps):
11178 Make sure caps are writable before passing them to
11181 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
11184 Fix some minor docs errors.
11186 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
11188 Patch by: Ross Burton <ross at burtonini dot com>
11190 * gst/gsterror.c: (_gst_resource_errors_init):
11192 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
11194 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
11197 Add a check and output a g_warning when GStreamer is built
11198 against GLib 2.6 but running against 2.8 or higher, and vice
11199 versa. (Closes: #323542)
11201 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
11203 * gst/parse/parse.l:
11204 Commit patch for parse_launch syntax from #331255. Removes
11205 support for quoted strings and mimetypes when writing filtered
11206 caps. See the bug report for more details - I'm pretty sure this
11207 obscure feature is not in use by _anyone_ anywhere.
11209 With this simple change, the size of the gstreamer.so here
11210 drops from 2193KB to 1565KB.
11212 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
11214 * plugins/elements/gsttypefindelement.h:
11215 * plugins/elements/gsttypefindelement.c:
11216 (gst_type_find_element_src_event), (start_typefinding),
11217 (stop_typefinding), (gst_type_find_element_handle_event),
11218 (gst_type_find_element_chain),
11219 (gst_type_find_element_chain_do_typefinding):
11220 Use gst_type_find_helper_for_buffer() for chain-based
11223 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
11225 * plugins/elements/gsttypefindelement.c:
11226 (gst_type_find_element_class_init),
11227 (gst_type_find_element_set_property),
11228 (gst_type_find_element_get_property):
11229 Deprecate "maximum" property (not only was it only taken into
11230 account for typefinding in push-mode anyway, it also was never
11231 actually possible to set it in the first place because the
11232 property was registered with the numeric property ID for the
11233 "minimum" property). Register "maximum" property correctly,
11234 for the sake of future copy'n'pasters. Remove some cruft
11235 from property get/set functions.
11237 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
11239 * plugins/elements/gsttypefindelement.c:
11240 (gst_type_find_element_activate):
11241 Use gst_type_find_helper_get_range() here, so we
11242 can honour the "minimum" property and also emit
11243 the signal with the correct probability of the found caps.
11245 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
11247 * docs/libs/gstreamer-libs-sections.txt:
11248 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
11249 (helper_find_suggest), (gst_type_find_helper_get_range),
11250 (gst_type_find_helper):
11251 * libs/gst/base/gsttypefindhelper.h:
11252 New API: gst_type_find_helper_get_range() (#333042).
11254 2006-03-02 Michael Smith <msmith@fluendo.com>
11256 * gst/gstregistryxml.c: (load_feature):
11257 Asserting on a failure to read part of the registry is Not Cool.
11258 Just log a warning and return NULL (which is already handled)
11260 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
11262 * win32/common/libgstbase.def:
11263 added export of gst_type_find_helper_for_buffer
11264 * win32/common/libgstbase.def:
11265 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
11266 gst_ghost_pad_get_target
11268 2006-02-28 Wim Taymans <wim@fluendo.com>
11270 * docs/design/draft-klass.txt:
11272 Added Connector to mark elements that are only used to
11273 allow pipeline connections.
11274 Moved Debug to extra feature since most of them are
11275 functionally something else.
11277 2006-02-28 Wim Taymans <wim@fluendo.com>
11279 * docs/design/draft-klass.txt:
11280 Some updates and clarifications.
11282 2006-02-28 Wim Taymans <wim@fluendo.com>
11284 * docs/design/draft-klass.txt:
11285 Proposal for klass field values.
11287 * docs/design/part-streams.txt:
11288 Start of a doc describing stream anatomy.
11290 2006-02-28 Wim Taymans <wim@fluendo.com>
11292 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
11293 Help the compiler a bit with type registration.
11294 Use existing forward cod path instead of duplicating it when
11295 handling a message.
11297 * gst/gstbus.c: (gst_bus_get_type):
11298 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
11299 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
11300 * gst/gstclock.c: (gst_clock_get_type):
11301 * gst/gstelement.c: (gst_element_get_type),
11302 * gst/gstelementfactory.c: (gst_element_factory_get_type):
11303 * gst/gstindexfactory.c: (gst_index_factory_get_type):
11304 * gst/gstminiobject.c: (gst_mini_object_get_type):
11305 * gst/gstpad.c: (gst_pad_get_type):
11306 * gst/gstsegment.c: (gst_segment_get_type):
11307 * gst/gststructure.c: (gst_structure_get_type):
11308 * gst/gstsystemclock.c: (gst_system_clock_get_type):
11309 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
11311 Help compiler with type registration.
11313 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
11316 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
11318 * plugins/elements/gsttypefindelement.c:
11319 (gst_type_find_element_handle_event):
11320 When we get an EOS event and have not found a type yet
11321 (most likely because we had not yet accumulated
11322 TYPE_FIND_MIN_SIZE of data yet), try to determine the
11323 type given the data we have so far. Fixes typefinding
11324 for very short streams again, most notably quicktime
11325 redirections as used on Apple's trailer site (#331701).
11327 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
11329 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
11330 (gst_type_find_helper):
11331 Try typefinding factories with the highest rank first.
11333 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
11335 * docs/libs/gstreamer-libs-docs.sgml:
11336 * docs/libs/gstreamer-libs-sections.txt:
11337 * libs/gst/base/gsttypefindhelper.c:
11338 Add section for typefind helper and add documentation
11339 for the old and the new function.
11341 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
11343 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
11344 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
11345 (gst_type_find_helper_for_buffer):
11346 * libs/gst/base/gsttypefindhelper.h:
11347 New API: gst_type_find_helper_for_buffer() (#332723).
11349 2006-02-27 Michael Smith <msmith@fluendo.com>
11351 Patch by: Loïc Minier
11354 * docs/Makefile.am:
11355 * docs/slides/Makefile.am:
11356 prevent CVS directories getting disted.
11358 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
11360 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
11361 Use the REFCOUNTING category for caps refcounting.
11363 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
11365 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
11366 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
11368 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
11370 * plugins/elements/gsttypefindelement.c:
11371 (gst_type_find_element_activate):
11372 Use gst_pad_check_pull_range() before _activate_pull()
11373 to avoid unnecessary open/close (see #331690).
11375 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
11378 Docs enhancement: make it crystal clear what the
11379 gst_pad_add_*_probe() callbacks should look like.
11381 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
11383 * libs/gst/base/gstbasesrc.c:
11384 Document how applications can stop recording from
11385 live sources (see #330996).
11387 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
11389 * tests/check/Makefile.am:
11390 * tests/check/libs/basesrc.c: (eos_event_counter),
11391 (basesrc_eos_events_pull), (basesrc_eos_events_push),
11392 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
11393 (gst_basesrc_suite), (main):
11394 ... and add some tests for the base source EOS stuff.
11396 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
11398 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
11399 Test case originally showed the problem fixed below,
11400 but was then amended. Add checks back at the place
11401 where they used to be.
11403 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
11405 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11406 (gst_base_src_init), (gst_base_src_loop),
11407 (gst_base_src_activate_push), (gst_base_src_activate_pull),
11408 (gst_base_src_change_state):
11409 * libs/gst/base/gstbasesrc.h:
11410 Don't unconditionally send EOS when going from PAUSED to
11411 READY state, esp. make sure we don't send two EOS events
11412 in some cases (e.g. one when reaching EOS and one when
11413 going from PAUSED to READY). Also, we don't want to send
11414 EOS events when operating in pull mode. However, we do
11415 want to send an EOS event when shutting down a live
11416 source explicitly, for example (fixes #330996).
11418 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
11420 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11421 Update src->read_position after a seek when not using mmap.
11422 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
11424 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
11430 Make things work with --disable-parse as they do with
11431 --disable-load-save - the symbols involved disappear, but the
11432 header is still installed and GST_DISABLE_PARSE is included via
11435 2006-02-20 Julien MOUTTE <julien@moutte.net>
11437 * libs/gst/base/gstbasetransform.c:
11438 (gst_base_transform_change_state): Fix a stupid bug. I was
11439 sure I compiled that.
11441 2006-02-20 Julien MOUTTE <julien@moutte.net>
11443 * gst/gstpad.c: (gst_pad_set_blocked_async):
11444 * gst/gstutils.c: (gst_pad_add_data_probe),
11445 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
11446 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
11447 (gst_pad_remove_buffer_probe): Make those function act on the
11448 ghostpad target when it's a ghostpad. (Closes #331727)
11450 2006-02-20 Julien MOUTTE <julien@moutte.net>
11452 * libs/gst/base/gstbasetransform.c:
11453 (gst_base_transform_change_state): Make basetransform reusable.
11456 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
11458 * docs/random/release:
11459 Move the current documentation of how to do a release to the top
11462 * gst/gstbin.c: (gst_bin_class_init),
11463 (gst_bin_handle_message_func):
11464 Allow multiple state-recalculation threads. (Closes #328873)
11466 2006-02-19 Julien MOUTTE <julien@moutte.net>
11468 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
11469 * gst/gstpad.c: (gst_pad_set_event_function),
11470 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11471 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
11472 2 strings. You can't use the STR_NULL macro on that.
11474 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
11476 * gst/gstpad.c: (gst_pad_set_event_function),
11477 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11478 (gst_pad_set_getcaps_function)
11479 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
11480 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
11481 So now, we can use --gst-debug-level=5 on Windows
11482 * win32/common/libgstcontroller.def:
11483 Added export of gst_controller_init
11484 * win32/vs6/libgstcontroller.dsp:
11485 Fixed Release post build configuration
11487 2006-02-17 Wim Taymans <wim@fluendo.com>
11489 * tests/check/gst/gstquery.c: (GST_START_TEST):
11490 Added another check.
11492 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
11494 * plugins/elements/gsttypefindelement.c: (find_peek):
11495 We can do peeks at non-zero offsets, as long as they
11496 fall within the buffer we have.
11498 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
11500 * tests/check/Makefile.am:
11501 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
11502 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
11503 (parse_suite), (main):
11504 Add testsuite for parse launch syntax
11506 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
11508 * plugins/elements/gsttypefindelement.c:
11509 (gst_type_find_element_chain):
11510 When typefinding is unsuccessful in the chain function, don't
11511 error out immediately. Only error out with NO_CAPS_FOUND if
11512 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
11513 otherwise simply wait for more data so we can try typefinding
11514 again with more data later. Also, don't attempt to typefind
11515 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
11516 this should improve typefinding from network sources where the
11517 size of the first buffer can be somewhat random.
11519 2006-02-14 Wim Taymans <wim@fluendo.com>
11521 * docs/gst/gstreamer-sections.txt:
11522 * gst/gstpadtemplate.c:
11523 * gst/gstpadtemplate.h:
11524 Fix padtemplate docs, fixes #328805.
11526 2006-02-14 Wim Taymans <wim@fluendo.com>
11528 * tools/gst-launch.c: (main):
11529 NO_PREROLL is not an ERROR so don't send confusing messages
11532 2006-02-14 Wim Taymans <wim@fluendo.com>
11534 Patch by: Torsten Schoenfeld
11536 * gst/gstregistry.c: (gst_registry_get_default),
11537 (_gst_registry_cleanup):
11538 Protect default registry with lock and ref/sink it.
11541 2006-02-14 Wim Taymans <wim@fluendo.com>
11544 * gst/gstquery.c: (gst_query_list_add_format),
11545 (gst_query_set_formatsv), (gst_query_parse_formats_length),
11546 (gst_query_parse_formats_nth):
11547 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
11550 2006-02-14 Wim Taymans <wim@fluendo.com>
11552 * docs/gst/gstreamer-sections.txt:
11553 Reworked query docs.
11555 * gst/gstquery.c: (gst_query_new_formats),
11556 (gst_query_list_add_format), (gst_query_set_formats),
11557 (gst_query_set_formatsv), (gst_query_parse_formats_length),
11558 (gst_query_parse_formats_nth):
11560 Flesh out formats query, added some new methods.
11561 Fix part of #324398.
11563 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
11564 Added query creation tests.
11566 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
11568 * gst/gstpad.c: (fixate_value):
11569 Add a default fixation for fraction lists.
11571 2006-02-13 Wim Taymans <wim@fluendo.com>
11573 * gst/gsttask.c: (gst_task_init), (gst_task_func),
11574 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
11577 Detect and warn for obvious deadlocks. fixes #320340
11578 Fix error case where lock was not released.
11580 * tests/check/Makefile.am:
11581 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
11582 (task_func), (gst_element_suite), (main):
11585 2006-02-13 Wim Taymans <wim@fluendo.com>
11587 * docs/gst/gstreamer-sections.txt:
11589 Add new functions to docs.
11591 2006-02-13 Wim Taymans <wim@fluendo.com>
11593 * docs/design/part-TODO.txt:
11594 Updated TODO list, basesrc supports seeking to non-bytes
11597 * docs/design/part-element-sink.txt:
11600 * gst/gstbin.c: (bin_replace_message),
11601 (gst_bin_handle_message_func):
11602 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
11603 * gst/gstevent.c: (gst_event_finalize):
11604 * gst/gstpad.c: (gst_pad_event_default_dispatch),
11605 (gst_pad_send_event):
11606 Use shiny new _TYPE_NAME macros.
11608 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
11609 Move debug statement up.
11611 * gst/gstelement.c: (gst_element_set_locked_state):
11612 Add some debugging.
11614 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
11616 * docs/gst/gstreamer-sections.txt:
11617 * gst/gstmessage.h:
11619 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
11620 macros (#330906). Also, document the already existing
11621 GST_QUERY_TYPE macro.
11623 2006-02-13 Wim Taymans <wim@fluendo.com>
11625 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
11626 (event_probe), (GST_START_TEST):
11627 Only events up to the pipeline EOS are counted, there are
11628 some more when going to NULL currently which we don't care
11631 2006-02-13 Wim Taymans <wim@fluendo.com>
11633 * gst/gstpad.c: (gst_pad_send_event):
11634 Correctly check flushing and emit probes. fixes #330125
11636 2006-02-10 Andy Wingo <wingo@pobox.com>
11638 * gst/gstbus.c (gst_bus_class_init): Declare our private data
11640 (gst_bus_init): Cache the location of the private data in the
11641 instance structure.
11642 (gst_bus_enable_sync_message_emission)
11643 (gst_bus_disable_sync_message_emission): Implement new public
11645 (gst_bus_post): Emit the sync-message signal if the user asked for
11648 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
11649 location of the bus-private structure.
11650 (gst_bus_enable_sync_message_emission)
11651 (gst_bus_disable_sync_message_emission): API addition
11653 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
11655 Patch by: Vincent Torri
11657 * docs/pwg/building-boiler.xml:
11658 PWG patch from #326800
11660 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
11663 * docs/Makefile.am:
11664 * docs/design/Makefile.am:
11667 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
11672 === release 0.10.3 ===
11674 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
11677 releasing 0.10.3, "Like a virgin"
11679 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
11682 2nd prerelease of 0.10.3
11683 Bump libtool versioning.
11685 2006-02-07 Andy Wingo <wingo@pobox.com>
11687 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
11688 update last_stop if we're in TIME format and the timestamp is
11691 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
11692 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
11693 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
11694 If we get a new newsegment with a different format, adapt
11697 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
11698 of 0. Not a problem, really.
11700 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
11703 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
11708 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
11711 project files updated to the default vs7 configuration
11712 * win32/common/libgstbase.def:
11713 * win32/common/libgstreamer.def:
11715 removed empty lines,
11716 sorted all exported symbols alphabetically
11717 * win32/common/dirent.c:
11718 * win32/common/dirent.h:
11719 * win32/common/gchar.h:
11720 use windows line end.
11722 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
11724 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
11725 Send EOS event when stopping.
11727 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
11730 Tell folks what to do if the plugin-foobar.xml file
11731 hasn't been generated for a newly-added plugin.
11733 2006-02-05 Julien MOUTTE <julien@moutte.net>
11735 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
11736 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11737 (gst_collect_pads_start), (gst_collect_pads_stop),
11738 (gst_collect_pads_event): Collectpads now holds a reference
11739 to the GstPad that was added. Indeed we don't want to look
11740 at pads that might just go away with no warning...
11742 2006-02-05 Julien MOUTTE <julien@moutte.net>
11744 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11745 (gst_collect_pads_start), (gst_collect_pads_stop),
11746 (gst_collect_pads_event), (gst_collect_pads_chain):
11747 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
11748 Mark Nauwelaerts's patch on bug #328491.
11750 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
11752 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
11754 Add some simple tests for gst_parse_bin_from_description() and
11755 gst_bin_find_unconnected_pad() (#329069).
11757 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
11759 * tools/gst-launch.c: (event_loop), (main):
11760 Catch errors during preroll (#320084).
11762 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
11764 * plugins/elements/gsttypefindelement.c:
11765 (gst_type_find_element_activate):
11766 Post TYPE_NOT_FOUND error message when typefinding
11767 is unsuccessful in the activate function as well.
11769 2006-02-02 Wim Taymans <wim@fluendo.com>
11771 * docs/design/part-element-sink.txt:
11774 2006-02-02 Wim Taymans <wim@fluendo.com>
11776 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
11777 (gst_base_sink_render_object),
11778 (gst_base_sink_queue_object_unlocked):
11779 Only keep track of prerollable items when we are
11781 Before rendering after preroll, always check if we
11783 Added some more debugging.
11785 2006-02-02 Wim Taymans <wim@fluendo.com>
11787 * gst/gstelement.c: (gst_element_continue_state),
11788 (gst_element_set_state_func), (gst_element_change_state):
11789 Fixed #326576, been running this for quite some time with
11790 no regressions at all.
11792 2006-02-02 Wim Taymans <wim@fluendo.com>
11795 Added more suppressions
11797 2006-02-02 Wim Taymans <wim@fluendo.com>
11799 * docs/design/part-element-sink.txt:
11802 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
11803 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
11804 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
11805 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
11806 (gst_base_sink_do_sync), (gst_base_sink_render_object),
11807 (gst_base_sink_preroll_object),
11808 (gst_base_sink_queue_object_unlocked),
11809 (gst_base_sink_queue_object), (gst_base_sink_event),
11810 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
11811 (gst_base_sink_loop), (gst_base_sink_activate_pull),
11812 (gst_base_sink_get_position), (gst_base_sink_change_state):
11813 * libs/gst/base/gstbasesink.h:
11814 Totally refactored matching the design doc.
11815 Use two segments, one to clip incomming buffers and another to
11817 Handle queueing correctly, bypass the queue when playing.
11818 Make EOS cancelable.
11819 Handle errors correctly when operating in pull based mode.
11821 * tests/check/elements/fakesink.c: (GST_START_TEST),
11823 Added new check for sinks.
11825 2006-02-02 Wim Taymans <wim@fluendo.com>
11827 * gst/gstsegment.c: (gst_segment_clip):
11828 No reason to refuse to clip when start == -1
11830 2006-02-02 Stefan Kost <ensonic@users.sf.net>
11833 * docs/manual/intro-basics.xml:
11834 * docs/manual/intro-preface.xml:
11835 * docs/manual/manual.xml:
11836 * docs/pwg/advanced-dparams.xml:
11837 * docs/pwg/intro-basics.xml:
11838 * docs/pwg/intro-preface.xml:
11839 * docs/pwg/pwg.xml:
11840 describe dparams (controller) for plugins
11841 unify docs a little more
11843 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
11845 * docs/gst/gstreamer-sections.txt:
11846 * gst/gstutils.c: (element_find_unconnected_pad),
11847 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
11849 Add new API: gst_parse_bin_from_description() and
11850 gst_bin_find_unconnected_pad() (#329069).
11852 2006-02-01 Stefan Kost <ensonic@users.sf.net>
11854 * docs/manual/README:
11855 uncover a nasty detail of the docs build
11857 2006-01-31 Wim Taymans <wim@fluendo.com>
11859 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
11860 Don't cache duration messages if we're not going to use or
11863 2006-01-31 Stefan Kost <ensonic@users.sf.net>
11865 * docs/manual/advanced-dparams.xml:
11866 * docs/pwg/advanced-dparams.xml:
11870 * libs/gst/controller/lib.c: (gst_controller_init):
11873 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
11875 * gst/gstelement.c: (gst_element_message_full):
11876 also show file/line/func if no additional debug was given
11878 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
11880 * win32/vs7/grammar.vcproj:
11881 activate copy of autogenerated files for Release mode
11883 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
11885 * win32/common/libgstreamer.def:
11886 export gst_value_compare
11888 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
11890 * plugins/elements/Makefile.am:
11891 * plugins/elements/gstelements.c:
11892 * plugins/elements/gstfdsink.c: (_do_init),
11893 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
11894 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
11895 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
11896 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
11897 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
11898 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
11899 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
11900 * plugins/elements/gstfdsink.h:
11901 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
11903 2006-01-30 Stefan Kost <ensonic@users.sf.net>
11905 * docs/manual/advanced-dparams.xml:
11906 describe controller
11907 * docs/manual/advanced-position.xml:
11908 * docs/manual/basics-init.xml:
11909 * docs/manual/manual.xml:
11910 * docs/manual/titlepage.xml:
11911 * docs/pwg/pwg.xml:
11912 * docs/pwg/titlepage.xml:
11913 cleanup xml (more to come)
11914 * libs/gst/controller/gstcontroller.c:
11917 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
11919 * win32/vs6/grammar.dsp:
11920 add autogen of gstmarshal.c,h for Release mode
11922 2006-01-30 Wim Taymans <wim@fluendo.com>
11924 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
11925 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
11926 (gst_base_sink_handle_object), (gst_base_sink_event),
11927 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
11928 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
11929 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
11930 (gst_base_sink_deactivate), (gst_base_sink_activate),
11931 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
11932 (gst_base_sink_query), (gst_base_sink_change_state):
11933 Basesink cleanups, remove some old code.
11934 Handle the case where a subclass can preroll in the render
11935 method (mostly audiosinks).
11936 Handle more events.
11937 Remove some locks around variables that are now protected
11938 with the PREROLL_LOCK (clock_id, flushing, ..).
11939 Optimize position query some more, do correct locking.
11940 Remove old code to push queue in state change, this is not
11941 needed anymore since preroll blocks on all prerollable items
11943 Almost implemented as described in design doc.
11945 2006-01-30 Wim Taymans <wim@fluendo.com>
11947 * tests/check/gst/gstbin.c: (GST_START_TEST):
11948 Wait for refcount to settle down before checking.
11950 2006-01-30 Wim Taymans <wim@fluendo.com>
11952 * docs/design/part-element-sink.txt:
11953 Pseudo code overview of desired sink behaviour regarding
11956 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
11957 * win32/vs6/grammar.dsp:
11958 fix some bugs in Release mode for autogenerated files
11960 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
11961 * win32/common/libgstbase.def:
11962 * win32/common/libgstreamer.def:
11963 export some new symbols: gst_base_src_set_format,
11964 gst_iterator_next, gst_structure_set_valist
11966 2006-01-29 Julien MOUTTE <julien@moutte.net>
11968 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
11969 Set pad functions unconditionally. Fixes #329105.
11971 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
11973 add vs8 project files created by Sergey Scobich
11975 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
11977 * gst/gstutils.c: (gst_element_unlink_pads):
11978 Don't leak pad references.
11980 * tests/check/elements/fakesink.c: (GST_START_TEST):
11981 * tests/check/generic/sinks.c: (GST_START_TEST):
11982 * tests/check/generic/states.c: (GST_START_TEST):
11983 * tests/check/gst/gstbin.c: (GST_START_TEST):
11984 * tests/check/gst/gstcaps.c: (GST_START_TEST):
11985 * tests/check/gst/gstelement.c: (GST_START_TEST):
11986 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11987 * tests/check/gst/gstiterator.c: (GST_START_TEST):
11988 * tests/check/gst/gstvalue.c: (GST_START_TEST):
11989 Fix a bunch of leaks. Make generic/sinks.c
11990 use a bit less cpu by slowing the buffer rate
11991 between fakesrc and fakesink.
11993 2006-01-27 Stefan Kost <ensonic@users.sf.net>
11995 * gst/gstelement.c: (gst_element_send_event):
11998 * gst/gstiterator.c:
11999 * gst/gstiterator.h:
12000 * gst/gstpad.c: (gst_pad_send_event):
12001 * gst/gststructure.c:
12005 * libs/gst/base/gstadapter.c:
12006 doc fixes, to link to function, just write gst_cool_function(), don't
12009 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
12011 * plugins/elements/gsttee.c: (gst_tee_do_push),
12012 (gst_tee_handle_buffer):
12013 Always prefer an actual return value from a src
12014 pad in place of NOT_LINKED. This means we return
12015 WRONG_STATE when all src pads are WRONG_STATE
12016 instead of NOT_LINKED.
12018 Lock when replacing the last message to prevent
12019 racing with the get_property method.
12023 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
12025 * tests/check/Makefile.am:
12026 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
12028 Add a very simple check that should have caught the memleak I fixed
12029 last night (if not for the slice allocator hiding it)
12031 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
12033 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
12034 (gst_bin_remove_func), (gst_bin_handle_message_func),
12035 (bin_query_duration_fold), (bin_query_generic_fold):
12036 Clean up references to the clock provider when disposed or when
12037 handling a clock-lost message from it.
12039 Unref sinks when performing a query via gst_iterator_fold, as the
12040 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
12042 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
12043 (gst_clock_set_master):
12044 Drop our reference to the master clock, if any, when we are disposed.
12046 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
12047 Chain up in dispose.
12049 2006-01-26 Wim Taymans <wim@fluendo.com>
12051 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
12052 Add some debugging.
12054 2006-01-26 Julien MOUTTE <julien@moutte.net>
12056 * plugins/elements/gsttee.c: (gst_tee_do_push),
12057 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
12058 handles pad being NOT_LINKED or in WRONG_STATE.
12060 2006-01-26 Stefan Kost <ensonic@users.sf.net>
12065 2006-01-26 Stefan Kost <ensonic@users.sf.net>
12068 remove obsolete entry
12070 2006-01-26 Stefan Kost <ensonic@users.sf.net>
12072 * docs/gst/gstreamer-sections.txt:
12073 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
12074 (gst_bin_iterate_sources), (gst_bin_send_event):
12076 * gst/gstelement.c: (gst_element_send_event):
12078 * gst/gstpad.c: (gst_pad_send_event):
12079 added code for downstream events, reviewed docs in gstevent.c
12081 2006-01-25 Julien MOUTTE <julien@moutte.net>
12083 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12084 We only query position using the clock in the playing state.
12085 Query peer in the other cases.
12086 * win32/common/config.h: Updates.
12088 2006-01-24 Wim Taymans <wim@fluendo.com>
12090 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12091 A clock entry that is scheduled for the exact time of the
12092 clock is still in time.
12094 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12095 (gst_base_sink_do_sync):
12096 Add some more debug info.
12098 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
12101 Add new vs7 project files and solution.
12103 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
12106 all files removed as they were out-dated.
12108 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
12110 * docs/random/release:
12112 * gst/gstbin.c: (gst_bin_init):
12113 * gst/gstbus.c: (gst_bus_new):
12115 * gst/gstpipeline.c: (gst_pipeline_init):
12116 use gst_bus_new(), improve logging, fix docs
12117 * win32/common/config.h:
12118 update for cvs build
12120 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
12123 up required version of automake to 1.7
12125 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
12127 * win32/common/libgstreamer.def:
12128 export gst_buffer_is_metadata_writable
12130 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
12132 * docs/gst/gstreamer-sections.txt:
12134 Add gst_event_replace() (#327001)
12136 2006-01-20 Wim Taymans <wim@fluendo.com>
12138 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
12139 Make it actually compile too..
12141 2006-01-20 Wim Taymans <wim@fluendo.com>
12144 Clarify behaviour of _is_equal() when passing NULL parameters.
12146 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
12147 (gst_pad_set_caps):
12148 Cleanups. Don't unref NULL caps.
12149 When setting the same caps, protect caps of the pad with
12151 Use full functionality of _is_equal() when comparing caps.
12153 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
12155 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
12156 Don't loop infinitely if there are no buffers to present. Partially
12157 fixes #327197, but collectpads is just broken for reusing elements
12158 to do multiple encodes atm.
12160 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
12162 * tools/gst-inspect.c: (print_element_features):
12163 * tools/gst-xmlinspect.c: (main):
12164 URL_HANDLER is not a plugin feature we can search for in
12167 2006-01-19 Edward Hervey <edward@fluendo.com>
12169 * gst/gstelement.c: (gst_element_pads_activate):
12170 When activating, do src pads first, then sink pads.
12171 When de-activating, do sink pads first, then src pads.
12173 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
12175 * docs/gst/gstreamer-sections.txt:
12176 Add gst_index_add_associationv to the docs
12178 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
12183 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
12184 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
12185 Do some refactoring. Doesn't actually change functionality,
12186 but makes landing the DRAIN event easier later.
12188 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
12190 * docs/pwg/advanced-scheduling.xml:
12191 Update from 0.9.x to 0.10 API and make example a bit
12194 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
12196 * docs/gst/gstreamer-sections.txt:
12197 Add gst_buffer_(is|make)_metadata_writable methods.
12199 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
12201 * docs/design/part-sparsestreams.txt:
12202 Update sparse streams doc, hopefully for greater clarity
12204 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
12206 * docs/design/part-events.txt:
12207 Remove mention of FILLER events.
12210 * docs/design/part-sparsestreams.txt:
12211 Write some things about using NEWSEGMENT to keep sparse streams
12214 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
12216 * gst/gstbin.c: (gst_bin_dispose):
12217 Guard gst_object_unref call against a NULL object (dispose
12218 can theoretically be called multiple times).
12220 2006-01-18 Wim Taymans <wim@fluendo.com>
12222 * gst/gstbin.c: (gst_bin_element_set_state):
12223 * gst/gstclock.c: (gst_clock_id_wait):
12224 Added some more debug info.
12226 * libs/gst/base/gstadapter.c:
12229 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12230 (gst_base_sink_do_sync), (gst_base_sink_chain):
12231 Added some comments.
12233 2006-01-18 Wim Taymans <wim@fluendo.com>
12235 * tests/check/Makefile.am:
12236 * tests/check/elements/fakesink.c: (chain_async_buffer),
12237 (chain_async), (chain_async_return), (GST_START_TEST),
12238 (fakesink_suite), (main):
12239 Added fakesink test that checks prerolling and clipping
12242 * tests/check/gst/gstutils.c: (GST_START_TEST):
12243 Make check run faster so that buildbots don't timeout.
12245 2006-01-18 Wim Taymans <wim@fluendo.com>
12247 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12248 (gst_base_sink_do_sync):
12250 When the sink finishes blocking on the preroll buffer, it can
12251 immediatly render it instead of rendering when the next buffer
12254 2006-01-18 Wim Taymans <wim@fluendo.com>
12256 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
12257 (gst_base_sink_get_property), (gst_base_sink_do_sync),
12258 (gst_base_sink_chain):
12260 GST_ELEMENT_CLOCK and sync are protected with LOCK.
12261 Don't store _last_stop if the buffer is dropped.
12263 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
12265 * plugins/elements/gsttypefindelement.c:
12266 (gst_type_find_element_class_init):
12267 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
12268 object method handler that sets the caps on the pad and we want
12269 that to happen before we emit the signal (fixes e.g. feeding a
12270 plain text file to decodebin).
12272 2006-01-18 Christian Schaller <Christian@fluendo.com>
12274 * gst/gstplugin.c: Add MPL and Proprietary as license options
12276 2006-01-18 Andy Wingo <wingo@pobox.com>
12278 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
12279 symbol was exported before, it appears this was just an oversight.
12281 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
12283 * gst/gstindex.c (gst_index_add_associationv): Changed int in
12284 prototype to gint. OK since this prototype was not in the header.
12286 2006-01-17 Andy Wingo <wingo@pobox.com>
12288 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
12289 registry while we remove plugins.
12291 * tools/gst-inspect.c (print_element_info): Don't unref the
12292 factory arg, that should be the responsibility of whatever code
12293 received the ref. Fixes a double-free when called from
12294 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
12295 (main): Unref the factory if we have one.
12296 (print_element_list): No change -- relies on the
12297 plugin_feature_list_free to free the list of features.
12299 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
12301 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
12302 (gst_buffer_make_metadata_writable):
12304 * libs/gst/base/gstbasetransform.c:
12305 (gst_base_transform_prepare_output_buf):
12306 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12307 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12308 Replace gst_buffer_(make|is)_metadata_writable patch now
12309 that the release is out.
12311 2006-01-17 Andy Wingo <wingo@pobox.com>
12313 * gst/gstregistry.c: Reflow design comment. Update so as to speak
12314 in the present tense without reference to versions.
12316 * gst/gstregistry.c (gst_registry_add_plugin)
12317 (gst_registry_remove_plugin, gst_registry_remove_feature)
12318 (gst_registry_find_feature, gst_registry_get_feature_list)
12319 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
12320 (gst_registry_lookup, gst_registry_scan_path)
12321 (_gst_registry_remove_cache_plugins)
12322 (gst_registry_get_feature_list_by_plugin): Add argument
12325 === release 0.10.2 ===
12327 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
12330 releasing 0.10.2, "If man is five"
12332 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
12336 * libs/gst/base/gstbasetransform.c:
12337 (gst_base_transform_prepare_output_buf):
12338 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12339 * tests/check/gst/gstbuffer.c: (gst_test_suite):
12340 Back out patch until after the release.
12342 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
12344 * gst/gstminiobject.c:
12345 Spelling fix in docs.
12346 * ChangeLog - remove conflict indicator
12348 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
12350 Reviewed By: Andy Wingo
12352 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
12353 (gst_buffer_make_metadata_writable):
12355 Add gst_buffer_(is|make)_metadata_writable as analogues of
12356 gst_buffer_(is|make)_writable.
12358 * libs/gst/base/gstbasetransform.c:
12359 (gst_base_transform_prepare_output_buf):
12360 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12361 Use name gst_buffer_(is|make)_metadata_writable functions.
12363 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12364 Test gst_buffer_(is|make)_metadata_writable
12368 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
12370 * docs/manual/Makefile.am:
12371 don't do parallel make
12374 * win32/common/config.h.in:
12375 add generations for HOST_CPU and GST_MAJORMINOR
12376 * win32/common/config.h:
12377 commit generated result
12379 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
12381 * docs/manual/appendix-integration.xml:
12382 Update GNOME integration section to use gst_init_get_option_group()
12383 instead of the old popt stuff (#322911). Also, GNOME applications
12384 should now use gconf*sink and gconf*src instead of the old gconf
12387 2006-01-13 Stefan Kost <ensonic@users.sf.net>
12390 * docs/gst/gstreamer-docs.sgml:
12391 * docs/gst/gstreamer-sections.txt:
12392 * docs/libs/gstreamer-libs-sections.txt:
12393 add new API entries to the docs
12394 * libs/gst/controller/Makefile.am:
12395 * libs/gst/controller/gstcontroller.c:
12396 * libs/gst/controller/gstcontroller.h:
12397 * libs/gst/controller/gstcontrollerprivate.h:
12398 * libs/gst/controller/gsthelper.c:
12399 * libs/gst/controller/gstinterpolation.c:
12400 move private structs to private header
12402 gstreamer-0.7 -> gstreamer-0.10
12403 * tests/check/libs/struct_i386.h:
12404 remove private structs
12406 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
12408 * plugins/indexers/Makefile.am:
12409 Fixes as part of #317048
12411 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
12413 * plugins/indexers/Makefile.am:
12414 fix #316086 - compilation when mmap is missing
12416 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
12418 * libs/gst/base/gstbasesink.c:
12419 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
12420 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
12421 * win32/common/config.h:
12422 added some defines GST_MAJORMINOR and HOST_CPU
12423 * win32/common/libgstbase.def:
12424 * win32/common/libgstreamer.def:
12425 added some exported functions.
12427 2006-01-12 Stefan Kost <ensonic@users.sf.net>
12429 * libs/gst/controller/gstcontroller.c:
12430 (gst_controlled_property_set_interpolation_mode),
12431 (gst_controlled_property_new):
12432 * libs/gst/controller/gstcontroller.h:
12433 * libs/gst/controller/gstinterpolation.c:
12434 (interpolate_none_get_string_value_array):
12435 make G_TYPE_STRING controlable
12437 2006-01-12 Stefan Kost <ensonic@users.sf.net>
12440 * tools/gst-feedback.1.in:
12441 * tools/gst-inspect.1.in:
12442 * tools/gst-launch.1.in:
12443 * tools/gst-md5sum.1.in:
12444 * tools/gst-typefind.1.in:
12445 * tools/gst-xmlinspect.1.in:
12446 * tools/gst-xmllaunch.1.in:
12447 cleanup man-pages, remove reference to gst-register, document env-vars
12449 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
12451 * gst/gstbuffer.c: (gst_buffer_span):
12452 gst_buffer_span should copy the timestamp of the first buffer
12453 if they were both originally overlapping subbuffers of the
12454 same parent, using the same logic as the 'slow copy' case.
12456 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
12458 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
12459 Need to awaken ALL the pads when we pop a buffer, otherwise
12460 collectpads only works when there is 2 input streams.
12462 2006-01-11 Stefan Kost <ensonic@users.sf.net>
12464 * docs/random/ensonic/media-device-daemon.txt:
12467 fix doc example, add clarification
12468 * tools/gst-launch.1.in:
12469 add initial info about GST_PLUGIN_PATH, needs more work
12471 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
12473 * docs/manual/basics-bins.xml:
12474 * docs/manual/basics-elements.xml:
12475 * docs/manual/intro-basics.xml:
12476 Some more minor docs additions and updates.
12478 2006-01-11 Wim Taymans <wim@fluendo.com>
12480 * docs/manual/basics-bins.xml:
12481 * docs/manual/basics-elements.xml:
12482 Some small fixes as pointed out by Ser-ver on IRC.
12484 2006-01-10 Edward Hervey <edward@fluendo.com>
12486 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12487 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
12488 the single-segment mode.
12490 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
12492 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
12494 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
12495 (gst_base_src_perform_seek), (gst_base_src_send_event),
12496 (gst_base_src_set_property), (gst_base_src_get_property),
12497 (gst_base_src_loop), (gst_base_src_start),
12498 (gst_base_src_activate_push):
12499 * libs/gst/base/gstbasesrc.h:
12500 Name (private) union; makes Sun's Forte compiler happy (#324900).
12502 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
12505 gst-register is gone.
12507 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
12509 * gst/gstvalue.c: (_gst_value_initialize):
12510 make the G_TYPE_DATE instantiation work if debug is disabled
12512 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
12514 * gst/gstmessage.c: (gst_message_parse_tag),
12515 (gst_message_parse_error), (gst_message_parse_warning):
12516 Don't crash when return location for error/warning debug
12517 string is NULL; add fact that return locations can be
12518 NULL to docs where appropriate.
12520 2006-01-05 Wim Taymans <wim@fluendo.com>
12522 * gst/gstplugin.c: (gst_plugin_load_file):
12523 Replace strdup by g_strdup.
12525 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
12527 * docs/pwg/advanced-types.xml:
12530 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
12532 submitted by: Abel Cheung
12536 Added Chinese (traditional) translation
12538 2006-01-04 Wim Taymans <wim@fluendo.com>
12540 * docs/manual/basics-pads.xml:
12541 * docs/plugins/Makefile.am:
12542 * docs/plugins/gstreamer-plugins-docs.sgml:
12543 * docs/plugins/gstreamer-plugins-sections.txt:
12544 * docs/pwg/advanced-clock.xml:
12545 * docs/pwg/advanced-scheduling.xml:
12546 * docs/pwg/advanced-types.xml:
12547 * plugins/elements/gstfdsink.c:
12548 * plugins/elements/gstfdsrc.c:
12549 * plugins/elements/gstfdsrc.h:
12550 * plugins/elements/gstidentity.c: (gst_identity_class_init):
12551 * plugins/elements/gstidentity.h:
12552 * plugins/elements/gstqueue.h:
12553 * plugins/elements/gsttee.c:
12554 * plugins/elements/gsttee.h:
12555 * plugins/elements/gsttypefindelement.c:
12556 (gst_type_find_element_class_init):
12557 * plugins/elements/gsttypefindelement.h:
12558 Small updates to various docs.
12559 Added core plugins to docs.
12561 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12564 add a suppression for liboil's uninitialized variable
12566 2006-01-02 James Livingston <jrl at ids dot org dot au>
12568 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
12571 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
12572 macro, so that gcc doesn't complain if the -Wmissing-prototypes
12573 compiler switch is being used (#325429).
12575 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
12577 * gst/gstbin.c: (gst_bin_query):
12578 Disable duration query caching in bins until it gets
12579 fixed (see #324807).
12581 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
12583 * tools/gst-inspect.c: (print_element_properties_info):
12584 Handle properties of POINTER and BOXED type.
12586 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
12588 * gst/gst.c: (init_post):
12589 Init tags stuff and some other things before loading
12590 any static plugins (there may be other static plugins
12591 than just the GStreamer ones, and they may want to
12592 register their own tags or formats or whatever, and
12593 preferably without segfaulting).
12595 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
12596 Print at least a warning in the debug logs if we drop a
12597 query just because we don't know how to adjust the value
12598 in the particular format.
12600 2005-12-24 David Schleef <ds@schleef.org>
12602 * tools/gstreamer-completion:
12603 Replacement for gst-complete written in sh and sed. Only
12604 completes names of features, but that's 90% of what I want
12605 it for. Properties are not available in registry.xml. (Maybe
12608 === release 0.10.1 ===
12610 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
12613 releasing 0.10.1, "Nollaig chridheil"
12615 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
12617 * docs/faq/cvs.xml:
12618 Add missing quote, should be make ERROR_CFLAGS="".
12620 2005-12-20 Wim Taymans <wim@fluendo.com>
12622 * docs/design/part-trickmodes.txt:
12623 More documentation on trickmodes.
12625 2005-12-20 Edward Hervey <edward@fluendo.com>
12627 * gst/gstcaps.c: (gst_static_caps_get_type):
12629 API addition: GST_TYPE_STATIC_CAPS
12630 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
12631 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
12632 * gst/gstpadtemplate.h:
12633 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
12634 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
12637 2005-12-18 Wim Taymans <wim@fluendo.com>
12639 * libs/gst/base/gstadapter.c:
12640 * libs/gst/base/gstadapter.h:
12641 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
12642 (gst_base_sink_get_position):
12643 * libs/gst/base/gstbasesink.h:
12644 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12645 (gst_base_src_default_query), (gst_base_src_default_do_seek),
12646 (gst_base_src_do_seek), (gst_base_src_perform_seek),
12647 (gst_base_src_send_event), (gst_base_src_update_length),
12648 (gst_base_src_get_range), (gst_base_src_loop),
12649 (gst_base_src_start):
12650 * libs/gst/base/gstbasesrc.h:
12651 * libs/gst/base/gstbasetransform.h:
12652 * libs/gst/base/gstcollectpads.h:
12653 * libs/gst/base/gstpushsrc.c:
12654 * libs/gst/base/gstpushsrc.h:
12655 * libs/gst/dataprotocol/dataprotocol.c:
12656 * libs/gst/dataprotocol/dataprotocol.h:
12657 * libs/gst/net/gstnetclientclock.h:
12658 * libs/gst/net/gstnettimeprovider.h:
12659 Documentation updates.
12661 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
12663 * docs/manual/basics-helloworld.xml:
12664 Remove superfluous closing bracket in helloworld example.
12666 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
12668 * tools/gst-launch.1.in:
12669 Update gst-launch man page; add a section with useful
12670 environment variables. Fixes #323882.
12672 2005-12-16 Stefan Kost <ensonic@users.sf.net>
12675 * gst/gst_private.h:
12676 change some char* into char[]
12678 2005-12-16 Wim Taymans <wim@fluendo.com>
12680 * gst/gstregistryxml.c: (load_feature):
12682 Don't use g_object_unref on GstObjects so that we avoid
12683 leaks on unsafe glibs.
12685 2005-12-16 Wim Taymans <wim@fluendo.com>
12687 * gst/gstbin.c: (gst_bin_recalc_state):
12690 2005-12-16 Wim Taymans <wim@fluendo.com>
12692 * common/check.mak:
12693 Added make forever target for check.
12695 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
12697 * gst/gst.c: (init_post):
12698 make the registry cache file HOST_CPU-dependent
12700 2005-12-16 Andy Wingo <wingo@pobox.com>
12702 * plugins/elements/gstbufferstore.c
12703 (gst_buffer_store_cleared_func): Pay attention to g_list_append
12706 * tests/check/gst/gstobject.c
12707 (test_fake_object_name_threaded_unique): Pay attention to
12708 g_list_sort return value.
12710 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
12712 * tools/gst-feedback-m.m:
12713 Update for 0.9/0.10 (fixes #323870).
12715 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
12717 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
12718 Fix lcopy for mini objects, the mini object needs to be ref'ed.
12720 * tests/check/gst/gstminiobject.c: (my_foo_init),
12721 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
12722 (test_value_collection), (gst_mini_object_suite):
12723 Add test to ensure refcounts end up as expected when passing
12724 GstMiniObjects through g_object_get() and g_object_set().
12726 2005-12-14 Julien MOUTTE <julien@moutte.net>
12728 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
12729 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
12730 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
12731 of collectpads. This version removes a lot of races without
12732 touching API/ABI. Yay !
12734 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
12736 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
12737 Don't allow activation of a srcpad in pull_range if it has no
12739 Change some debug statements to be a little clearer
12741 * plugins/elements/gsttypefindelement.c:
12742 (gst_type_find_handle_src_query):
12743 Check that we have a peer before executing queries thereupon.
12745 * tests/examples/metadata/read-metadata.c: (message_loop):
12746 Use gst_bus_pop instead of gst_bus_poll when we just want it to
12747 immediately return us any available message with 0 timeout.
12749 2005-12-12 Michael Smith <msmith@fluendo.com>
12751 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
12752 Don't unref factories after calling them.
12753 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
12754 * plugins/elements/gsttypefindelement.c:
12755 (gst_type_find_element_chain):
12756 Free lists of factories after using them. Fixing typefinding memory
12759 2005-12-12 Stefan Kost <ensonic@users.sf.net>
12761 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
12762 (gst_plugin_feature_load):
12763 more meaningful debug output
12765 * tests/Makefile.am:
12766 * tests/old/examples/Makefile.am:
12767 make make distcheck happy again
12769 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
12771 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
12772 Catch the special case where we are operating chain-based,
12773 but the downstream peer pad has no chain function. Emit a
12774 custom error message in this case instead of letting the
12775 core generate one implying that this is some sort of core
12776 bug. It's not, it just means that whatever got plugged
12777 into the pipeline downstream when we announced the type
12778 can only operate pull-based, while our source can only
12779 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
12780 Error string has not been marked for translation yet, as
12781 it probably needs some more work first.
12783 (gst_type_find_element_get_best_possibility):
12784 Add helper function to find the best of all available
12785 found possibilities that qualify given the min. threshold.
12787 (gst_type_find_element_handle_event):
12788 Fix the case where we get an EOS while still in TYPEFIND
12789 mode (we want to chose the best of all possible types,
12790 not just the first type that happens to be in our unsorted
12791 list of possible types).
12793 (gst_type_find_element_chain):
12794 Make sure we return GST_FLOW_ERROR when we errored out
12795 in stop_typefinding(); also, don't just find the best of
12796 all found type entries and then use the last examined
12797 type entry, but actually use the best entry.
12799 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
12801 * tests/examples/typefind/typefind.c: (type_found):
12802 * tests/examples/xml/runxml.c: (xml_loaded):
12803 More gcc4 fixes and a mem leak fix.
12805 2005-12-12 Stefan Kost <ensonic@users.sf.net>
12807 * tests/examples/xml/createxml.c: (object_saved):
12810 2005-12-12 Stefan Kost <ensonic@users.sf.net>
12812 * tests/Makefile.am:
12813 enable the examples even more
12815 2005-12-12 Andy Wingo <wingo@pobox.com>
12817 * libs/gst/net/gstnettimeprovider.c
12818 (gst_net_time_provider_class_init, gst_net_time_provider_init)
12819 (gst_net_time_provider_set_property)
12820 (gst_net_time_provider_get_property):
12821 API addition: Export "active" as a GObject property.
12822 (gst_net_time_provider_thread): Only respond to time queries if
12823 the time provider is active.
12825 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
12826 NetTimeProvider, preserving binary compat.
12828 2005-12-12 Stefan Kost <ensonic@users.sf.net>
12830 * tests/examples/controller/audio-example.c: (main):
12831 * tests/examples/launch/Makefile.am:
12832 convert comments again
12834 2005-12-12 Wim Taymans <wim@fluendo.com>
12836 * libs/gst/base/gstpushsrc.c:
12839 2005-12-12 Wim Taymans <wim@fluendo.com>
12841 * docs/libs/gstreamer-libs-sections.txt:
12842 Added new symbol to docs.
12844 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12845 (gst_base_src_init), (gst_base_src_set_format),
12846 (gst_base_src_default_query), (gst_base_src_query),
12847 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
12848 (gst_base_src_perform_seek), (gst_base_src_send_event),
12849 (gst_base_src_default_event), (gst_base_src_event_handler),
12850 (gst_base_src_set_property), (gst_base_src_get_property),
12851 (gst_base_src_wait), (gst_base_src_do_sync),
12852 (gst_base_src_update_length), (gst_base_src_get_range),
12853 (gst_base_src_check_get_range), (gst_base_src_loop),
12854 (gst_base_src_default_negotiate), (gst_base_src_start),
12855 (gst_base_src_activate_push), (gst_base_src_activate_pull),
12856 (gst_base_src_change_state):
12857 * libs/gst/base/gstbasesrc.h:
12858 Implement seeking to other formats than _BYTES.
12859 Implement more seeking methods correctly.
12861 Added query vmethod.
12862 Added do_seek vmethod to make life easier for subclasses
12864 API addition: gst_base_src_set_format()
12866 2005-12-12 Stefan Kost <ensonic@users.sf.net>
12868 * tests/examples/Makefile.am:
12871 2005-12-12 Stefan Kost <ensonic@users.sf.net>
12874 * docs/random/ensonic/media-device-daemon.txt:
12875 * tests/examples/controller/.cvsignore:
12876 * tests/examples/controller/Makefile.am:
12877 * tests/examples/controller/audio-example.c: (main):
12878 * tests/examples/helloworld/.cvsignore:
12879 * tests/examples/helloworld/Makefile.am:
12880 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
12881 * tests/examples/launch/.cvsignore:
12882 * tests/examples/launch/Makefile.am:
12883 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
12884 * tests/examples/metadata/.cvsignore:
12885 * tests/examples/metadata/Makefile.am:
12886 * tests/examples/metadata/read-metadata.c: (message_loop),
12887 (make_pipeline), (print_tag), (main):
12888 * tests/examples/queue/.cvsignore:
12889 * tests/examples/queue/Makefile.am:
12890 * tests/examples/queue/queue.c: (event_loop), (main):
12891 * tests/examples/typefind/.cvsignore:
12892 * tests/examples/typefind/Makefile.am:
12893 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
12895 * tests/examples/xml/.cvsignore:
12896 * tests/examples/xml/Makefile.am:
12897 * tests/examples/xml/createxml.c: (object_saved), (main):
12898 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
12899 * tests/old/examples/Makefile.am:
12900 * tests/old/examples/TODO:
12901 * tests/old/examples/controller/.cvsignore:
12902 * tests/old/examples/controller/Makefile.am:
12903 * tests/old/examples/controller/audio-example.c:
12904 * tests/old/examples/helloworld/.cvsignore:
12905 * tests/old/examples/helloworld/Makefile.am:
12906 * tests/old/examples/helloworld/helloworld.c:
12907 * tests/old/examples/launch/.cvsignore:
12908 * tests/old/examples/launch/Makefile.am:
12909 * tests/old/examples/launch/mp3parselaunch.c:
12910 * tests/old/examples/launch/mp3play:
12911 * tests/old/examples/manual/Makefile.am:
12912 * tests/old/examples/metadata/Makefile.am:
12913 * tests/old/examples/metadata/read-metadata.c:
12914 * tests/old/examples/queue/.cvsignore:
12915 * tests/old/examples/queue/Makefile.am:
12916 * tests/old/examples/queue/queue.c:
12917 * tests/old/examples/typefind/.cvsignore:
12918 * tests/old/examples/typefind/Makefile.am:
12919 * tests/old/examples/typefind/typefind.c:
12920 * tests/old/examples/xml/.cvsignore:
12921 * tests/old/examples/xml/Makefile.am:
12922 * tests/old/examples/xml/createxml.c:
12923 * tests/old/examples/xml/runxml.c:
12924 applied some simple fixing to some examples
12925 re-enabled the working examples
12927 2005-12-12 Wim Taymans <wim@fluendo.com>
12929 * gst/gstsegment.c: (gst_segment_init),
12930 (gst_segment_set_last_stop), (gst_segment_set_seek),
12931 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
12932 (gst_segment_to_running_time):
12933 Added more documentation.
12934 Make sure the last_pos value is updated properly.
12935 Make sure to_stream_time and to_running_time don't
12936 operate on wrong values.
12938 * tests/check/gst/gstsegment.c: (GST_START_TEST):
12941 2005-12-12 Michael Smith <msmith@fluendo.com>
12943 * plugins/elements/gsttypefindelement.c: (free_entry),
12944 (gst_type_find_element_chain):
12945 Now that we're not leaking factories, make sure we keep references
12946 to them while we need them.
12948 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
12950 * tests/check/gst/struct_i386.h:
12951 ifdef out the XML structs
12953 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
12955 * gst/gstvalue.c: (gst_value_transform_double_fraction):
12956 floor is not needed, F is always positive; this obviates the
12957 need for adding -lm when building without libxml
12959 2005-12-12 Wim Taymans <wim@fluendo.com>
12961 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12962 Take current playback rate into account when reporting
12965 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
12967 * docs/manual/mime-world.fig:
12968 Let's try this again, this time with a file that is
12969 actually in XFig format.
12971 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
12973 * docs/manual/mime-world.fig:
12974 Add audioconvert element to diagram so that it
12975 matches the text and the code (fixes #319526).
12977 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
12979 * docs/pwg/building-chainfn.xml:
12980 * docs/pwg/building-pads.xml:
12981 * docs/pwg/building-state.xml:
12982 * docs/pwg/other-source.xml:
12983 Update state change stuff for 0.10 (fixes #322969).
12985 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
12987 * docs/manual/advanced-dataaccess.xml:
12988 * docs/manual/appendix-checklist.xml:
12989 * docs/manual/appendix-programs.xml:
12990 * docs/manual/basics-pads.xml:
12991 * docs/manual/highlevel-components.xml:
12992 * docs/manual/manual.xml:
12993 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
12994 add converters in front of pipelines; remove curly
12995 brackets for threads stuff, they no longer exist; use
12996 GST_TYPE_FRACTION for framerates; update some pieces of
12997 code to 0.10, but there's plenty more to do.
12999 * docs/manual/appendix-porting.xml:
13000 Expand on asynchroneous state changes; s/0.9/0.10/;
13001 mention disappearance of gst_init_get_popt_table()
13004 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
13006 * docs/faq/using.xml:
13007 Spider no longer exists, and neither does gst-launch-ext.
13008 Update examples to use decodebin and playbin and put
13009 converters in front of sinks (fixes #323726).
13011 2005-12-09 Michael Smith <msmith@fluendo.com>
13013 * plugins/elements/gsttypefindelement.c: (find_peek),
13014 (gst_type_find_element_chain):
13015 Fix leaking element factories in typefinding.
13016 Fix problem where we forgot about a probable type on non-seekable
13017 files, and thus later mis-typefound it.
13019 2005-12-09 Michael Smith <msmith@fluendo.com>
13021 * common/m4/gst-makecontext.m4:
13022 * common/m4/gst-mcsc.m4:
13024 * win32/common/config.h:
13025 * win32/common/config.h.in:
13026 Remove makecontext stuff; not used in 0.10 and causes problems on
13027 HPUX according to bug #322441
13029 2005-12-07 Wim Taymans <wim@fluendo.com>
13031 * tests/check/Makefile.am:
13032 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
13034 * tests/check/libs/struct_i386.h:
13035 Added ABI check for libs
13037 2005-12-07 Wim Taymans <wim@fluendo.com>
13039 * tests/check/Makefile.am:
13040 And add the struct_i386.h to dist.
13042 2005-12-07 Wim Taymans <wim@fluendo.com>
13044 * tests/check/Makefile.am:
13045 * tests/check/gst/.cvsignore:
13046 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
13048 * tests/check/gst/struct_i386.h:
13049 Added check for ABI compatibility.
13051 2005-12-07 Wim Taymans <wim@fluendo.com>
13053 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13054 (gst_fake_src_get_times), (gst_fake_src_create):
13055 Fix broken sync option, fixes #323259
13057 2005-12-07 Wim Taymans <wim@fluendo.com>
13062 * gst/gstcaps.c: (gst_caps_is_equal):
13063 Don't assert on NULL <--> X. Fixes #323260
13065 * gst/gstminiobject.c: (gst_mini_object_replace):
13066 If we're doing atomic operations, we might just as well use
13067 the proper way to get an atomic pointer.
13069 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13070 Clean up debugging.
13072 2005-12-07 Michael Smith <msmith@fluendo.com>
13074 * gst/parse/grammar.y:
13075 Remove handling of { } for threads.
13077 2005-12-06 David Schleef <ds@schleef.org>
13079 * libs/gst/base/gstbasetransform.c: speling fix.
13081 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
13083 * docs/libs/tmpl/gstdataprotocol.sgml:
13084 * docs/random/omega/testing/gstobject.c:
13087 * gst/gstelement.c:
13088 * gst/gstelementfactory.c:
13091 * gst/gstghostpad.c:
13093 * gst/gstpadtemplate.c:
13094 * gst/gstregistryxml.c:
13095 * gst/gsttaglist.c:
13096 * gst/gsttagsetter.c:
13097 * gst/gsttypefind.c:
13099 * libs/gst/base/gstbasesrc.c:
13100 * libs/gst/net/gstnetclientclock.c:
13101 * libs/gst/net/gstnettimeprovider.c:
13102 * plugins/elements/gstfakesrc.c:
13103 * plugins/elements/gstfdsrc.c:
13104 * plugins/elements/gstfilesrc.c:
13105 * plugins/elements/gstidentity.c:
13106 * plugins/elements/gstqueue.c:
13107 * plugins/elements/gsttypefindelement.c:
13108 * plugins/indexers/gstfileindex.c:
13109 * plugins/indexers/gstmemindex.c:
13110 * tests/check/gst/gsttag.c:
13111 * tests/old/examples/cutter/cutter.c:
13112 * tests/old/examples/mixer/mixer.c:
13113 * tests/old/examples/xml/runxml.c: (main):
13114 * tests/old/testsuite/caps/normalisation.c:
13115 * tests/old/testsuite/debug/global.c:
13116 * tests/old/testsuite/parse/parse1.c:
13117 * tools/gst-xmlinspect.c:
13118 * win32/common/dirent.c:
13121 === release 0.10.0 ===
13123 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13126 releasing 0.10.0, "Maroilles"
13128 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
13130 submitted by: Funda Wang <fundawang@linux.net.cn>
13134 added Chinese (Traditional) translation
13136 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
13138 * docs/gst/gstreamer-sections.txt:
13139 * docs/libs/tmpl/gstdataprotocol.sgml:
13140 * docs/random/thomasvs/TODO:
13145 2005-12-05 Andy Wingo <wingo@pobox.com>
13147 patch by: Wim Taymans <wim@fluendo.com>
13149 * libs/gst/base/gstbasetransform.c
13150 (gst_base_transform_prepare_output_buf)
13151 (gst_base_transform_buffer_alloc):
13152 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
13153 alloc_buffer_and_set_caps.
13155 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
13156 set_caps on the source pad.
13157 (gst_pad_alloc_buffer_and_set_caps): New function, does what
13158 alloc_buffer used to do. Fixes #322874.
13160 * docs/gst/gstreamer-sections.txt:
13161 * docs/design/part-negotiation.txt:
13162 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
13165 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
13167 patch by: Sebastien Moutte
13170 * win32/common/config.h.in:
13171 * win32/vs6/libgstcontroller.dsp:
13174 2005-12-05 Wim Taymans <wim@fluendo.com>
13176 * gst/gstcaps.c: (gst_caps_is_equal):
13177 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13178 (gst_fake_src_create):
13179 Back out previous code changes, leave doc updates, file bugs
13182 2005-12-05 Wim Taymans <wim@fluendo.com>
13184 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13185 (gst_fake_src_get_times), (gst_fake_src_create):
13186 * plugins/elements/gstfakesrc.h:
13187 Fix broken sync code.
13189 2005-12-05 Wim Taymans <wim@fluendo.com>
13191 * gst/gstcaps.c: (gst_caps_is_equal):
13192 Comparing NULL against !NULL yields different caps, not a
13195 2005-12-05 Wim Taymans <wim@fluendo.com>
13197 * gst/gstpipeline.c:
13198 Fix small typo in docs.
13200 2005-12-05 Andy Wingo <wingo@pobox.com>
13202 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
13204 * gst/gst.c (init_post): remove hard-coded 0.9 location for
13205 registries/plugins with a MAJORMINOR one.
13206 (plugin_desc): Rename library from gstcoreleements to
13207 staticelements. Fixes #323222.
13209 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
13211 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
13212 Change debug category to 'collectpads' from 'collect_pads'
13215 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
13217 patch by: Sebastien Moutte
13219 * libs/gst/controller/gstinterpolation.c:
13220 use convert function for uint64/double
13221 * win32/vs6/libgstcontroller.dsp:
13224 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
13226 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
13227 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
13229 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13230 add tests that seem to show that the guint64/gdouble conversions
13233 2005-12-02 Wim Taymans <wim@fluendo.com>
13235 * gst/gstregistry.c: (gst_registry_add_path):
13236 * gst/gstregistry.h:
13237 * gst/gstregistryxml.c:
13240 2005-12-02 Wim Taymans <wim@fluendo.com>
13242 * gst/gstutils.c: (gst_util_uint64_scale_int64),
13243 (gst_util_uint64_scale_int):
13246 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13247 Add debug log line.
13249 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
13252 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
13255 * win32/common/config.h:
13256 * win32/vs6/gstreamer.dsw:
13257 * win32/vs6/libgstcoreelements.dsp:
13258 * win32/vs6/libgstelements.dsp:
13259 renamed core elements plugin
13261 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
13263 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
13265 do piece-wise major/minor comparison so 0.9 < 0.10
13266 also allow .exe extensions for tools
13268 2005-12-02 Michael Smith <msmith@fluendo.com>
13271 Escape a % to make gtkdoc happier; bug 322958.
13273 === release 0.9.7 ===
13275 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13278 releasing 0.9.7, "My Dog Has No Nose"
13280 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13282 * common/gst-xmlinspect.py:
13284 * docs/libs/tmpl/gstdataprotocol.sgml:
13285 * docs/random/release:
13304 * win32/common/config.h:
13305 * win32/common/config.h.in:
13306 * win32/vs6/gst_inspect.dsp:
13307 * win32/vs6/gst_launch.dsp:
13308 * win32/vs6/libgstbase.dsp:
13309 * win32/vs6/libgstelements.dsp:
13310 * win32/vs6/libgstreamer.dsp:
13311 * win32/vs7/GStreamer.vcproj:
13312 * win32/vs7/gst-inspect.vcproj:
13313 * win32/vs7/gst-launch.vcproj:
13314 * win32/vs7/libgstbase.vcproj:
13315 bump GST_MAJORMINOR to 0.10
13316 reset libtool version
13318 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13322 Added Bulgarian translation by (Alexander Shopov)
13324 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13326 * tests/check/gst/gstplugin.c:
13329 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13331 * common/gst-xmlinspect.py:
13332 * common/gtk-doc-plugins.mak:
13334 * docs/Makefile.am:
13335 * docs/gst/Makefile.am:
13336 * docs/gst/gstreamer-docs.sgml:
13337 * docs/gst/gstreamer-sections.txt:
13338 * docs/gst/gstreamer.types:
13339 * docs/gst/gstreamer.types.in:
13340 * docs/plugins/Makefile.am:
13341 * docs/plugins/gstreamer-plugins-docs.sgml:
13342 * docs/plugins/gstreamer-plugins-sections.txt:
13343 * docs/plugins/gstreamer-plugins.types:
13344 * docs/plugins/inspect.stamp:
13345 * docs/plugins/inspect/plugin-coreelements.xml:
13346 * docs/plugins/inspect/plugin-coreindexers.xml:
13347 * docs/plugins/scanobj-build.stamp:
13348 * gstreamer.spec.in:
13349 * plugins/elements/Makefile.am:
13350 * plugins/elements/gstelements.c:
13351 * plugins/elements/gstfakesink.c:
13352 * plugins/elements/gstfakesrc.c:
13353 * plugins/elements/gstfilesink.c:
13354 * plugins/elements/gstfilesrc.c:
13355 * plugins/elements/gstqueue.c:
13356 * plugins/indexers/Makefile.am:
13357 * plugins/indexers/gstindexers.c:
13358 document core plugins in a separate document just like all the
13360 rename these plugins to something starting with core
13362 2005-12-01 Andy Wingo <wingo@pobox.com>
13364 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
13365 padding here before, but it missed the commit.
13367 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
13369 * libs/gst/controller/gstinterpolation.c:
13370 whitespace prices have crashed, we should feel free to use some now
13371 use gst_guint64_to_gdouble
13373 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
13375 * libs/gst/controller/gstcontroller.c:
13376 * libs/gst/controller/gsthelper.c:
13377 * libs/gst/controller/gstinterpolation.c:
13378 * libs/gst/controller/lib.c:
13379 wrap config.h include
13381 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
13383 * docs/gst/gstreamer-sections.txt:
13386 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
13388 * plugins/elements/gstelements.c:
13389 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
13390 (gst_fd_sink__class_init), (gst_fd_sink__init),
13391 (gst_fd_sink__chain), (gst_fd_sink__set_property),
13392 (gst_fd_sink__get_property):
13393 * plugins/elements/gstfdsink.h:
13394 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
13395 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
13396 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
13397 (gst_fd_src_unlock), (gst_fd_src_set_property),
13398 (gst_fd_src_get_property), (gst_fd_src_create),
13399 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
13400 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
13401 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
13402 (gst_fd_src_uri_handler_init):
13403 * plugins/elements/gstfdsrc.h:
13404 * plugins/elements/gstqueue.c: (gst_queue_get_type):
13407 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13409 * docs/gst/Makefile.am:
13410 * docs/gst/gstreamer.types.in:
13414 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13420 * gst/gstregistry.h:
13421 * tests/benchmarks/complexity.c:
13422 * tests/benchmarks/mass-elements.c:
13423 * tests/check/Makefile.am:
13424 * tools/Makefile.am:
13425 * tools/gst-inspect.c:
13426 * tools/gst-xmlinspect.c:
13427 various fixes to make
13428 --disable-nls --disable-registry --disable-loadsave
13429 --disable-parse --disable-gst-debug
13430 work and get the core .so down to 360444 bytes after stripping
13432 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13437 * docs/random/thomasvs/TODO:
13438 * tests/Makefile.am:
13442 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13444 * win32/GStreamer.vcproj:
13447 * win32/Makefile.inspect:
13448 * win32/Makefile.launch:
13449 * win32/Makefile.register:
13450 * win32/README.txt:
13451 * win32/gst-inspect.vcproj:
13452 * win32/gst-launch.vcproj:
13453 * win32/gst-register.vcproj:
13454 * win32/gstelements.vcproj:
13455 * win32/gstgetbits.def:
13456 * win32/gstgetbits.vcproj:
13457 * win32/gstreamer-dbg.def:
13458 * win32/gstreamer.def:
13459 * win32/libgstbase.def:
13460 * win32/libgstbase.vcproj:
13461 * win32/link_oldruntime.c:
13465 * win32/msvc71.sln:
13466 move even more stuff, win32/ is nice and clean now
13468 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13470 * libs/gst/control/.cvsignore:
13475 * win32/gstbytestream.def:
13476 * win32/gstbytestream.vcproj:
13477 * win32/gstconfig.h:
13478 * win32/gstenumtypes.c:
13479 * win32/gstenumtypes.h:
13480 * win32/gstoptimalscheduler.vcproj:
13481 * win32/gstversion.h:
13483 * win32/testsuite/bins.vcproj:
13484 * win32/testsuite/bytestream.vcproj:
13485 * win32/testsuite/caps.vcproj:
13486 * win32/testsuite/cleanup.vcproj:
13487 * win32/testsuite/clock.vcproj:
13488 * win32/testsuite/debug.vcproj:
13489 * win32/testsuite/dlopen.vcproj:
13490 * win32/testsuite/dynparams.vcproj:
13491 * win32/testsuite/elements.vcproj:
13492 * win32/testsuite/ghostpads.vcproj:
13493 * win32/testsuite/indexers.vcproj:
13494 * win32/testsuite/negotiation.vcproj:
13495 * win32/testsuite/parse.vcproj:
13496 * win32/testsuite/plugin.vcproj:
13497 * win32/testsuite/refcounting.vcproj:
13498 * win32/testsuite/schedulers.vcproj:
13499 * win32/testsuite/states.vcproj:
13500 * win32/testsuite/tags.vcproj:
13501 * win32/testsuite/threads.vcproj:
13502 remove old win32 stuff that isn't maintained and should be
13505 2005-11-30 Andy Wingo <wingo@pobox.com>
13507 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
13508 loading the gst.interfaces python module bork.
13510 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
13511 available since GLib 2.2. Fixes #318031.
13513 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13516 * check/.cvsignore:
13517 * check/Makefile.am:
13518 * check/elements/.cvsignore:
13519 * check/elements/fakesrc.c:
13520 * check/elements/fdsrc.c:
13521 * check/elements/identity.c:
13522 * check/generic/.cvsignore:
13523 * check/generic/states.c:
13524 * check/gst-libs/.cvsignore:
13525 * check/gst-libs/controller.c:
13526 * check/gst-libs/gdp.c:
13527 * check/gst/.cvsignore:
13528 * check/gst/capslist.h:
13530 * check/gst/gstbin.c:
13531 * check/gst/gstbuffer.c:
13532 * check/gst/gstbus.c:
13533 * check/gst/gstcaps.c:
13534 * check/gst/gstelement.c:
13535 * check/gst/gstevent.c:
13536 * check/gst/gstghostpad.c:
13537 * check/gst/gstiterator.c:
13538 * check/gst/gstmessage.c:
13539 * check/gst/gstminiobject.c:
13540 * check/gst/gstobject.c:
13541 * check/gst/gstpad.c:
13542 * check/gst/gstpipeline.c:
13543 * check/gst/gstplugin.c:
13544 * check/gst/gstsegment.c:
13545 * check/gst/gststructure.c:
13546 * check/gst/gstsystemclock.c:
13547 * check/gst/gsttag.c:
13548 * check/gst/gstutils.c:
13549 * check/gst/gstvalue.c:
13550 * check/net/.cvsignore:
13551 * check/net/gstnetclientclock.c:
13552 * check/net/gstnettimeprovider.c:
13553 * check/pipelines/.cvsignore:
13554 * check/pipelines/cleanup.c:
13555 * check/pipelines/simple_launch_lines.c:
13556 * check/pipelines/stress.c:
13557 * check/states/.cvsignore:
13558 * check/states/sinks.c:
13560 * examples/Makefile.am:
13561 * examples/appreader/.cvsignore:
13562 * examples/appreader/Makefile.am:
13563 * examples/appreader/appreader.c:
13564 * examples/controller/.cvsignore:
13565 * examples/controller/Makefile.am:
13566 * examples/controller/audio-example.c:
13567 * examples/cutter/.cvsignore:
13568 * examples/cutter/Makefile.am:
13569 * examples/cutter/cutter.c:
13570 * examples/cutter/cutter.h:
13571 * examples/events/Makefile.am:
13572 * examples/events/seek.c:
13573 * examples/helloworld/.cvsignore:
13574 * examples/helloworld/Makefile.am:
13575 * examples/helloworld/helloworld.c:
13576 * examples/helloworld2/.cvsignore:
13577 * examples/helloworld2/Makefile.am:
13578 * examples/helloworld2/helloworld2.c:
13579 * examples/launch/.cvsignore:
13580 * examples/launch/Makefile.am:
13581 * examples/launch/mp3parselaunch.c:
13582 * examples/launch/mp3play:
13583 * examples/manual/.cvsignore:
13584 * examples/manual/Makefile.am:
13585 * examples/manual/extract.pl:
13586 * examples/metadata/Makefile.am:
13587 * examples/metadata/read-metadata.c:
13588 * examples/mixer/.cvsignore:
13589 * examples/mixer/Makefile.am:
13590 * examples/mixer/mixer.c:
13591 * examples/mixer/mixer.h:
13592 * examples/pingpong/.cvsignore:
13593 * examples/pingpong/Makefile.am:
13594 * examples/pingpong/pingpong.c:
13595 * examples/plugins/.cvsignore:
13596 * examples/plugins/Makefile.am:
13597 * examples/plugins/example.c:
13598 * examples/plugins/example.h:
13599 * examples/pwg/.cvsignore:
13600 * examples/pwg/Makefile.am:
13601 * examples/pwg/extract.pl:
13602 * examples/queue/.cvsignore:
13603 * examples/queue/Makefile.am:
13604 * examples/queue/queue.c:
13605 * examples/queue2/.cvsignore:
13606 * examples/queue2/Makefile.am:
13607 * examples/queue2/queue2.c:
13608 * examples/queue3/.cvsignore:
13609 * examples/queue3/Makefile.am:
13610 * examples/queue3/queue3.c:
13611 * examples/queue4/.cvsignore:
13612 * examples/queue4/Makefile.am:
13613 * examples/queue4/queue4.c:
13614 * examples/retag/.cvsignore:
13615 * examples/retag/Makefile.am:
13616 * examples/retag/retag.c:
13617 * examples/retag/transcode.c:
13618 * examples/thread/.cvsignore:
13619 * examples/thread/Makefile.am:
13620 * examples/thread/thread.c:
13621 * examples/typefind/.cvsignore:
13622 * examples/typefind/Makefile.am:
13623 * examples/typefind/typefind.c:
13624 * examples/xml/.cvsignore:
13625 * examples/xml/Makefile.am:
13626 * examples/xml/createxml.c:
13627 * examples/xml/runxml.c:
13628 * tests/Makefile.am:
13629 * tests/check/Makefile.am:
13630 * testsuite/.cvsignore:
13631 * testsuite/Makefile.am:
13633 * testsuite/caps/.cvsignore:
13634 * testsuite/caps/Makefile.am:
13635 * testsuite/caps/app_fixate.c:
13636 * testsuite/caps/audioscale.c:
13637 * testsuite/caps/caps.c:
13638 * testsuite/caps/caps.h:
13639 * testsuite/caps/caps_strings:
13640 * testsuite/caps/compatibility.c:
13641 * testsuite/caps/deserialize.c:
13642 * testsuite/caps/enumcaps.c:
13643 * testsuite/caps/eratosthenes.c:
13644 * testsuite/caps/filtercaps.c:
13645 * testsuite/caps/fixed.c:
13646 * testsuite/caps/fraction-convert.c:
13647 * testsuite/caps/fraction-multiply-and-zero.c:
13648 * testsuite/caps/intersect2.c:
13649 * testsuite/caps/intersection.c:
13650 * testsuite/caps/normalisation.c:
13651 * testsuite/caps/random.c:
13652 * testsuite/caps/renegotiate.c:
13653 * testsuite/caps/sets.c:
13654 * testsuite/caps/simplify.c:
13655 * testsuite/caps/string-conversions.c:
13656 * testsuite/caps/structure.c:
13657 * testsuite/caps/subtract.c:
13658 * testsuite/caps/union.c:
13659 * testsuite/debug/.cvsignore:
13660 * testsuite/debug/Makefile.am:
13661 * testsuite/debug/category.c:
13662 * testsuite/debug/commandline.c:
13663 * testsuite/debug/global.c:
13664 * testsuite/debug/output.c:
13665 * testsuite/debug/printf_extension.c:
13666 * testsuite/dlopen/.cvsignore:
13667 * testsuite/dlopen/Makefile.am:
13668 * testsuite/dlopen/dlopen_gst.c:
13669 * testsuite/dlopen/loadgst.c:
13670 * testsuite/elements/.cvsignore:
13671 * testsuite/elements/Makefile.am:
13672 * testsuite/elements/gst-inspect-check.in:
13673 * testsuite/elements/struct_i386.h:
13674 * testsuite/elements/struct_size.c:
13675 * testsuite/indexers/.cvsignore:
13676 * testsuite/indexers/Makefile.am:
13677 * testsuite/indexers/cache1.c:
13678 * testsuite/indexers/indexdump.c:
13679 * testsuite/parse/.cvsignore:
13680 * testsuite/parse/Makefile.am:
13681 * testsuite/parse/parse1.c:
13682 * testsuite/parse/parse2.c:
13683 * testsuite/plugin/.cvsignore:
13684 * testsuite/plugin/Makefile.am:
13685 * testsuite/plugin/README:
13686 * testsuite/plugin/dynamic.c:
13687 * testsuite/plugin/linked.c:
13688 * testsuite/plugin/loading.c:
13689 * testsuite/plugin/registry.c:
13690 * testsuite/plugin/static.c:
13691 * testsuite/plugin/static2.c:
13692 * testsuite/plugin/testplugin.c:
13693 * testsuite/plugin/testplugin2.c:
13694 * testsuite/plugin/testplugin2_s.c:
13695 * testsuite/plugin/testplugin_s.c:
13696 * testsuite/refcounting/.cvsignore:
13697 * testsuite/refcounting/Makefile.am:
13698 * testsuite/refcounting/bin.c:
13699 * testsuite/refcounting/element.c:
13700 * testsuite/refcounting/element_pad.c:
13701 * testsuite/refcounting/mainloop.c:
13702 * testsuite/refcounting/mem.c:
13703 * testsuite/refcounting/mem.h:
13704 * testsuite/refcounting/object.c:
13705 * testsuite/refcounting/pad.c:
13706 * testsuite/refcounting/sched.c:
13707 * testsuite/refcounting/thread.c:
13708 * testsuite/states/.cvsignore:
13709 * testsuite/states/Makefile.am:
13710 * testsuite/states/bin.c:
13711 * testsuite/states/locked.c:
13712 * testsuite/states/parent.c:
13713 * testsuite/threads/.cvsignore:
13714 * testsuite/threads/159566.c:
13715 * testsuite/threads/159852.c:
13716 * testsuite/threads/Makefile.am:
13717 * testsuite/threads/queue.c:
13718 * testsuite/threads/signals.c:
13719 * testsuite/threads/staticrec.c:
13720 * testsuite/threads/thread.c:
13721 * testsuite/threads/threadb.c:
13722 * testsuite/threads/threadc.c:
13723 * testsuite/threads/threadd.c:
13724 * testsuite/threads/threade.c:
13725 * testsuite/threads/threadf.c:
13726 * testsuite/threads/threadg.c:
13727 * testsuite/threads/threadh.c:
13728 * testsuite/threads/threadi.c:
13729 move all of these under tests
13731 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13734 * tests/Makefile.am:
13737 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13739 * docs/gst/gstreamer-sections.txt:
13740 * tests/sched/.cvsignore:
13741 * tests/sched/Makefile.am:
13742 * tests/sched/cases/(fs-fs).xml:
13743 * tests/sched/cases/(fs-i-fs).xml:
13744 * tests/sched/cases/(fs-i-i-fs).xml:
13745 * tests/sched/cases/(fs-i-q[i-fs]).xml:
13746 * tests/sched/dynamic-pipeline.c:
13747 * tests/sched/interrupt1.c:
13748 * tests/sched/interrupt2.c:
13749 * tests/sched/interrupt3.c:
13750 * tests/sched/runtestcases:
13751 * tests/sched/runxml.c:
13752 * tests/sched/sched-stress.c:
13753 * tests/sched/sort.c:
13754 * tests/sched/testcases:
13755 * tests/sched/testcases1.tc:
13756 * tests/seeking/.cvsignore:
13757 * tests/seeking/Makefile.am:
13758 * tests/seeking/seeking1.c:
13759 * tests/threadstate/.cvsignore:
13760 * tests/threadstate/Makefile.am:
13761 * tests/threadstate/test1.c:
13762 * tests/threadstate/test2.c:
13763 * tests/threadstate/threadstate1.c:
13764 * tests/threadstate/threadstate2.c:
13765 * tests/threadstate/threadstate3.c:
13766 * tests/threadstate/threadstate4.c:
13767 * tests/threadstate/threadstate5.c:
13768 remove obsolete tests
13770 * tests/bench-complexity.scm:
13771 * tests/bench-mass_elements.scm:
13772 * tests/complexity.c:
13773 * tests/complexity.gnuplot:
13774 * tests/instantiate/.cvsignore:
13775 * tests/instantiate/Makefile.am:
13776 * tests/instantiate/caps.c:
13777 * tests/mass_elements.c:
13778 * tests/network-clock-utils.scm:
13779 * tests/network-clock.scm:
13781 First pass at cleaning up tests/ dir before moving the rest
13782 Combined with CVS surgery
13784 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13787 queue has moved, update
13789 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13791 * docs/gst/gstreamer-sections.txt:
13792 remove double entries from the docs
13793 * gst/gst_private.h:
13794 * gst/gstinfo.c: (_gst_debug_init):
13795 remove the THREAD debug category
13799 * docs/gst/gstreamer.types:
13800 * plugins/elements/gstqueue.c: (gst_queue_get_type),
13801 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
13802 completely move queue and fix up debugging categories
13804 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13806 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
13807 make initialization portable, using LL is not
13809 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13811 * win32/common/gstconfig.h:
13814 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13816 * win32/common/libgstreamer.def:
13817 rename symbols; sort base section
13819 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13821 * gst/gstclock.c: (do_linear_regression):
13822 remove crack non-portable handrolled DEBUG macro
13824 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13826 * docs/random/release:
13828 * win32/common/gstenumtypes.c: (register_gst_object_flags),
13829 (gst_object_flags_get_type), (register_gst_bin_flags),
13830 (gst_bin_flags_get_type), (register_gst_buffer_flag),
13831 (gst_buffer_flag_get_type), (register_gst_bus_flags),
13832 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
13833 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
13834 (gst_caps_flags_get_type), (register_gst_clock_return),
13835 (gst_clock_return_get_type), (register_gst_clock_entry_type),
13836 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
13837 (gst_clock_flags_get_type), (register_gst_state),
13838 (gst_state_get_type), (register_gst_state_change_return),
13839 (gst_state_change_return_get_type), (register_gst_state_change),
13840 (gst_state_change_get_type), (register_gst_element_flags),
13841 (gst_element_flags_get_type), (register_gst_core_error),
13842 (gst_core_error_get_type), (register_gst_library_error),
13843 (gst_library_error_get_type), (register_gst_resource_error),
13844 (gst_resource_error_get_type), (register_gst_stream_error),
13845 (gst_stream_error_get_type), (register_gst_event_type_flags),
13846 (gst_event_type_flags_get_type), (register_gst_event_type),
13847 (gst_event_type_get_type), (register_gst_seek_type),
13848 (gst_seek_type_get_type), (register_gst_seek_flags),
13849 (gst_seek_flags_get_type), (register_gst_format),
13850 (gst_format_get_type), (register_gst_index_certainty),
13851 (gst_index_certainty_get_type), (register_gst_index_entry_type),
13852 (gst_index_entry_type_get_type),
13853 (register_gst_index_lookup_method),
13854 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
13855 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
13856 (gst_index_resolver_method_get_type), (register_gst_index_flags),
13857 (gst_index_flags_get_type), (register_gst_debug_level),
13858 (gst_debug_level_get_type), (register_gst_debug_color_flags),
13859 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
13860 (gst_iterator_result_get_type), (register_gst_iterator_item),
13861 (gst_iterator_item_get_type), (register_gst_message_type),
13862 (gst_message_type_get_type), (register_gst_mini_object_flags),
13863 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
13864 (gst_pad_link_return_get_type), (register_gst_flow_return),
13865 (gst_flow_return_get_type), (register_gst_activate_mode),
13866 (gst_activate_mode_get_type), (register_gst_pad_direction),
13867 (gst_pad_direction_get_type), (register_gst_pad_flags),
13868 (gst_pad_flags_get_type), (register_gst_pad_presence),
13869 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
13870 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
13871 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
13872 (gst_plugin_error_get_type), (register_gst_plugin_flags),
13873 (gst_plugin_flags_get_type), (register_gst_rank),
13874 (gst_rank_get_type), (register_gst_query_type),
13875 (gst_query_type_get_type), (register_gst_tag_merge_mode),
13876 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
13877 (gst_tag_flag_get_type), (register_gst_task_state),
13878 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
13879 (gst_alloc_trace_flags_get_type),
13880 (register_gst_type_find_probability),
13881 (gst_type_find_probability_get_type), (register_gst_uri_type),
13882 (gst_uri_type_get_type), (register_gst_parse_error),
13883 (gst_parse_error_get_type):
13884 * win32/common/gstenumtypes.h:
13885 * win32/common/gstversion.h:
13886 update visual studio generated files
13888 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13890 * win32/vs6/libgstbase.dsp:
13891 * win32/vs6/libgstelements.dsp:
13892 update project files for new locations
13894 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13899 reinstate and update
13904 * docs/random/LICENSE:
13907 2005-11-30 Edward Hervey <edward@fluendo.com>
13909 * gst/gsttypefind.c: (gst_type_find_register):
13910 * gst/gsttypefind.h:
13911 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
13912 (gst_type_find_factory_dispose):
13913 * gst/gsttypefindfactory.h:
13914 Fix memory leak in GstTypeFindFactory.
13916 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13919 * plugins/elements/Makefile.am:
13920 * plugins/elements/gstelements.c:
13921 * plugins/elements/gstqueue.c:
13922 move queue from core to the elements plugin
13924 2005-11-29 Andy Wingo <wingo@pobox.com>
13926 * libs/gst/base/gstbasetransform.h:
13927 * libs/gst/base/gstbasesrc.h:
13928 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
13930 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
13931 of pointers by which to pad very extensible base classes (like the
13932 ones in libs/gst/base).
13934 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13936 * docs/gst/gstreamer-docs.sgml:
13937 * docs/gst/gstreamer-sections.txt:
13938 * docs/libs/gstreamer-libs-docs.sgml:
13939 * docs/libs/gstreamer-libs-sections.txt:
13940 moving documentation from core to lib
13942 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13944 * check/Makefile.am:
13946 * docs/gst/Makefile.am:
13948 * gst/base/.cvsignore:
13949 * gst/base/Makefile.am:
13951 * gst/base/gstadapter.c:
13952 * gst/base/gstadapter.h:
13953 * gst/base/gstbasesink.c:
13954 * gst/base/gstbasesink.h:
13955 * gst/base/gstbasesrc.c:
13956 * gst/base/gstbasesrc.h:
13957 * gst/base/gstbasetransform.c:
13958 * gst/base/gstbasetransform.h:
13959 * gst/base/gstcollectpads.c:
13960 * gst/base/gstcollectpads.h:
13961 * gst/base/gstpushsrc.c:
13962 * gst/base/gstpushsrc.h:
13963 * gst/base/gsttypefindhelper.c:
13964 * gst/base/gsttypefindhelper.h:
13965 * gst/check/Makefile.am:
13966 * gst/check/gstcheck.c:
13967 * gst/check/gstcheck.h:
13968 * gst/net/Makefile.am:
13969 * gst/net/gstnet.h:
13970 * gst/net/gstnetclientclock.c:
13971 * gst/net/gstnetclientclock.h:
13972 * gst/net/gstnettimepacket.c:
13973 * gst/net/gstnettimepacket.h:
13974 * gst/net/gstnettimeprovider.c:
13975 * gst/net/gstnettimeprovider.h:
13976 * libs/gst/Makefile.am:
13977 * libs/gst/base/Makefile.am:
13978 * libs/gst/base/gstbasetransform.c:
13979 * libs/gst/check/Makefile.am:
13980 * plugins/elements/Makefile.am:
13982 CVS surgery + support to move base, check, and net out of gst
13985 2005-11-29 Andy Wingo <wingo@pobox.com>
13987 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
13989 * gst/gststructure.h (struct _GstStructure): Only one pointer of
13992 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
13994 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
13996 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
13998 * gst/gstobject.h: (struct _GstObject): Only one pointer of
13999 padding; reduces object size by about 30%. We don't expect
14000 anything else to go into gstobject.
14002 * gst/gstminiobject.h (struct _GstMiniObject)
14003 (struct _GstMiniObjectClass): Only one pointer of padding; the
14004 payload is only a pointer and two ints anyway. For the class there
14005 are only two methods as well.
14007 * gst/gstelement.h (struct _GstElementClass): Removed
14008 the state_changed signal callback, it is not used.
14010 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
14012 * docs/gst/gstreamer.types:
14013 fix includes, though they are a little dinky
14015 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14017 * check/Makefile.am:
14018 look in the right place for elements, a lot more chance of
14021 remove indexers and elements subdirs
14022 * plugins/Makefile.am:
14023 make indexers conditional
14025 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14029 * plugins/elements/Makefile.am:
14030 * plugins/elements/gstcapsfilter.c:
14031 * plugins/elements/gstfilesink.c:
14032 * plugins/elements/gstfilesrc.c:
14033 * plugins/elements/gstidentity.c:
14034 * plugins/indexers/Makefile.am:
14035 do CVS surgery and related build fixery to move elements
14036 and indexers in a new gstreamer/plugins directory, out of the
14039 2005-11-29 Andy Wingo <wingo@pobox.com>
14041 * check/Makefile.am:
14042 * pkgconfig/gstreamer-net-uninstalled.pc.in:
14043 * pkgconfig/gstreamer-net.pc.in:
14044 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
14047 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
14049 * tools/Makefile.am:
14050 * tools/gst-complete.1.in:
14051 * tools/gst-complete.c:
14052 * tools/gst-compprep.1.in:
14053 * tools/gst-compprep.c:
14054 removing -compprep and -complete
14056 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
14058 * gst/gstevent.c: (gst_event_new_new_segment),
14059 (gst_event_parse_new_segment):
14061 fix #320529 - clean up new_segment API and structure.
14062 Let's hope everyone was using the methods, and not the structure.
14064 2005-11-29 Edward Hervey <edward@fluendo.com>
14066 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14067 (gst_base_sink_event), (gst_base_sink_do_sync),
14068 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
14069 Properly handle non GST_FORMAT_TIME segment
14070 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
14071 Properly handle non GST_FORMAT_TIME segment
14072 * gst/gstsegment.c:
14073 This function is valid if the accumulator is 0 and the format
14074 is different from the requested format.
14076 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
14078 * docs/gst/gstreamer-sections.txt:
14079 Add gst_query_new_seeking and gst_query_parse_seeking to the
14082 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
14084 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
14085 Treat a pad alloc with new caps the same as if we were not
14086 negotiated, in order to allow a changing upstream output
14087 to produce a new format of data.
14089 2005-11-29 Edward Hervey <edward@fluendo.com>
14091 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
14092 (gst_base_transform_event), (gst_base_transform_eventfunc):
14093 The event virtual method is now properly implemented, with a default
14095 Sub classes should call the parent_class event method. They should
14096 return FALSE if they had a problem handling the given event, or don't
14097 want GstBaseTransform to send that even downstream
14098 * gst/elements/gstidentity.c: (gst_identity_class_init),
14099 (gst_identity_init), (gst_identity_event),
14100 (gst_identity_transform_ip), (gst_identity_set_property),
14101 (gst_identity_get_property):
14102 * gst/elements/gstidentity.h:
14103 Added the single-segment boolean property.
14104 If set to TRUE, it will output a single segment of data, starting from
14105 0, will eat up all incoming newsegment, and modify the timestamp of the
14106 buffers accordingly
14108 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
14110 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
14111 Don't ref NULL target pad (#322751). Improve docs.
14113 2005-11-29 Michael Smith <msmith@fluendo.com>
14115 * gst/gstregistryxml.c: (load_plugin):
14116 Don't crash if we failed to load a feature from a plugin.
14118 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
14120 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
14122 use more check API and less GLib API
14124 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
14127 don't run checks if we don't have check
14128 * common/check.mak:
14129 remove the registry when running make torture
14130 * docs/gst/gstreamer-sections.txt:
14131 remove second multiply
14132 * gst/gstqueue.c: (gst_queue_loop):
14133 fix a compile warning when disabling debug
14135 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
14138 Hey! Let's print the pad name if the pointer != NULL instead
14139 of when it == NULL :-)
14141 2005-11-28 Wim Taymans <wim@fluendo.com>
14143 * check/gst/gstutils.c: (GST_START_TEST):
14144 Updated check, add some scaling accuracy checking code.
14146 * gst/gstutils.c: (gst_util_div128_64),
14147 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
14148 (gst_util_uint64_scale_int):
14149 Fix 6 times faster division code. Optimize for common
14150 1/1 and less common X/1 cases.
14152 2005-11-28 Wim Taymans <wim@fluendo.com>
14154 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14157 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
14158 (do_linear_regression), (gst_clock_add_observation):
14160 Release lock when the clock cannot be slaved.
14161 Catch the case where the regression returned an invalid denominator.
14163 * gst/gstutils.c: (gst_util_div128_64_iterate),
14164 (gst_util_div128_64), (gst_util_uint64_scale_int64),
14165 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
14166 Add protentially more performant non-iterative 128/64 divide function
14167 that unfortunatly does not work yet.
14168 Shortcut the trivial 0/X = 0 case.
14169 Remove the warnings on overflow.
14171 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
14173 * gst/gstplugin.c: (gst_plugin_register_func):
14174 everything causing a plugin not to load should be at least a WARNING
14176 2005-11-28 Stefan Kost <ensonic@users.sf.net>
14178 * docs/random/ensonic/dparams.txt:
14179 some TODOs for the next dev cycle
14180 * libs/gst/controller/gstcontroller.c:
14181 (gst_controlled_property_set_interpolation_mode),
14182 (gst_controlled_property_new):
14183 * libs/gst/controller/gstcontroller.h:
14184 use base type to assign acccessor functions
14186 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
14188 * check/Makefile.am:
14189 Oops, that should have been top_srcdir
14191 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
14193 * check/Makefile.am:
14194 * check/elements/fdsrc.c: (GST_START_TEST):
14195 Use a cmdline define to specify the location of a file to use for
14196 testing, to avoid breaking distcheck.
14198 2005-11-28 Andy Wingo <wingo@pobox.com>
14200 * gst/gstpad.c (fixate_value): Use array functions for arrays.
14202 2005-11-28 Edward Hervey <edward@fluendo.com>
14204 * tools/gst-launch.c: (main):
14205 Clarify the output strings, makes it easier to translate.
14208 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
14211 don't try and build net if we don't even have <sys/socket.h>
14213 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
14215 * check/Makefile.am:
14216 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
14217 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
14218 Add tests for fdsrc seekability
14220 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
14221 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
14222 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
14223 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
14224 * gst/elements/gstfdsrc.h:
14225 fdsrc should not be a 'live' source.
14226 Implement seeking on seekable fd's.
14228 * gst/gstquery.c: (gst_query_new_seeking),
14229 (gst_query_parse_seeking):
14231 Implement SEEKING query functions:
14232 *_new_seeking and *_parse_seeking
14234 2005-11-27 Stefan Kost <ensonic@users.sf.net>
14236 * gst/gstelement.c: (gst_element_dispose):
14239 * gst/gstiterator.c:
14240 * gst/gststructure.c:
14243 * libs/gst/controller/gstcontroller.c:
14244 (gst_controlled_property_set_interpolation_mode):
14245 * libs/gst/controller/gstcontroller.h:
14246 * libs/gst/controller/gstinterpolation.c:
14247 (interpolate_none_get_enum_value_array):
14248 support controlling enums
14250 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
14253 Improve documentation for gst_value_union().
14256 Change return value for union, intersect and subtract functions
14257 from gint to gboolean.
14259 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
14261 * gst/gstvalue.c: (gst_value_serialize_any_list),
14262 (gst_value_transform_any_list_string),
14263 (gst_value_deserialize_list), (gst_value_deserialize_array),
14264 (gst_value_set_int_range), (gst_value_deserialize_int_range),
14265 (gst_value_set_double_range), (gst_value_deserialize_double_range),
14266 (gst_value_set_fraction_range_full),
14267 (gst_value_deserialize_fraction_range),
14268 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
14269 (gst_value_deserialize_boolean),
14270 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
14271 (gst_value_serialize_float), (gst_value_deserialize_float),
14272 (gst_string_wrap), (gst_value_deserialize_string),
14273 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
14274 (gst_value_union_int_range_int_range),
14275 (gst_value_intersect_int_range_int_range),
14276 (gst_value_intersect_double_range_double_range),
14277 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
14278 (gst_value_subtract_int_range_int_range),
14279 (gst_value_subtract_double_double_range),
14280 (gst_value_subtract_double_range_double_range),
14281 (gst_value_deserialize_fraction):
14283 Use gint, gdouble and gchar in our API instead of int, double and
14284 char (and make usage in gstvalue.c more consistent).
14286 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
14288 * check/Makefile.am:
14289 * libs/gst/controller/Makefile.am:
14290 * libs/gst/dataprotocol/Makefile.am:
14291 fix up Makefile.am and remove GST_ENABLE_NEW
14293 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
14297 * gst/base/Makefile.am:
14298 * gst/check/Makefile.am:
14299 * gst/elements/Makefile.am:
14300 * gst/net/Makefile.am:
14301 update LDFLAGS use some more
14303 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
14305 * common/m4/gst-doc.m4:
14308 2005-11-26 Edward Hervey <edward@fluendo.com>
14310 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
14311 This shouldn't issue a g_warning since it returns NULL if it
14312 couldn't find the plugin, and all functions using this behave
14313 properly on a NULL return. Switching to a GST_WARNING.
14315 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
14317 * gst/gstbin.c: (gst_bin_handle_message_func):
14318 Don't leak clock messages.
14320 2005-11-25 Wim Taymans <wim@fluendo.com>
14322 * gst/gstutils.c: (gst_util_uint64_scale_int64),
14323 (gst_util_uint64_scale_int):
14324 Optimisations, remove unneeded vars.
14326 2005-11-25 Wim Taymans <wim@fluendo.com>
14328 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14329 Added more checks for the high precision uint64 cases.
14331 * gst/gstutils.c: (gst_util_uint64_scale_int64),
14332 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
14333 Implement high precision (guint64 * guint64) / guint64.
14335 2005-11-24 Wim Taymans <wim@fluendo.com>
14337 * gst/base/gstbasesrc.c: (gst_base_src_query):
14338 Fix wrong percentage query.
14340 * gst/gstutils.c: (gst_util_uint64_scale),
14341 (gst_util_uint64_scale_int):
14342 Add some more common cases that can be handled
14343 efficiently to _scale.
14345 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
14347 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
14348 (gst_mini_object_suite):
14349 don't use check calls from threads; check probably isn't
14350 threadsafe and using a lock to make it threadsafe would
14351 defeat the purpose of this check
14352 * gst/check/gstcheck.c:
14353 * gst/check/gstcheck.h:
14354 use GST_DEBUG some more
14356 2005-11-24 Wim Taymans <wim@fluendo.com>
14358 * gst/gstutils.c: (gst_util_uint64_scale),
14359 (gst_util_uint64_scale_int):
14360 Chain trivial case to _scale_int.
14362 2005-11-24 Wim Taymans <wim@fluendo.com>
14364 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14365 Added test for scaling.
14370 * gst/gstutils.c: (gst_util_uint64_scale_int):
14371 Implemented high precision scaling code.
14373 2005-11-24 Stefan Kost <ensonic@users.sf.net>
14376 do not crash on pad==NULL
14378 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
14380 Patch by: Stefan Kost
14382 * common/gtk-doc.mak:
14383 * docs/gst/Makefile.am:
14384 * docs/libs/Makefile.am:
14385 Fix distcheck issues for the libraries docs build
14388 2005-11-24 Michael Smith <msmith@fluendo.com>
14390 * docs/manual/basics-helloworld.xml:
14391 Fix bug #315027: memory leak in example code in docs.
14393 2005-11-24 Michael Smith <msmith@fluendo.com>
14395 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14396 Unlock the PREROLL_LOCK in a failure case.
14398 2005-11-24 Wim Taymans <wim@fluendo.com>
14400 * docs/gst/gstreamer-sections.txt:
14401 * gst/base/gstadapter.h:
14402 * gst/base/gstbasesink.h:
14403 * gst/base/gstbasesrc.h:
14404 * gst/base/gstbasetransform.h:
14405 * gst/base/gstpushsrc.h:
14406 * gst/elements/gstfakesink.h:
14407 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
14408 * gst/elements/gstfakesrc.h:
14409 * gst/elements/gstfilesink.h:
14410 * gst/elements/gstfilesrc.h:
14413 * gst/gstbuffer.c: (_gst_buffer_copy):
14416 * gst/gstchildproxy.c:
14418 * gst/gstelement.c:
14419 * gst/gstelementfactory.c:
14420 * gst/gstelementfactory.h:
14422 * gst/gstghostpad.h:
14424 * gst/gstinterface.h:
14425 * gst/gstminiobject.c:
14426 * gst/gstminiobject.h:
14429 * gst/gstpadtemplate.h:
14430 * gst/gstpipeline.h:
14431 * gst/gstpluginfeature.h:
14434 * gst/gsttaglist.c:
14435 * gst/gsttaglist.h:
14436 * gst/gsttagsetter.c:
14437 * gst/gsttagsetter.h:
14440 * gst/gsttypefind.h:
14443 * gst/net/gstnetclientclock.c:
14444 * gst/net/gstnetclientclock.h:
14445 * gst/net/gstnettimepacket.c:
14446 * gst/net/gstnettimeprovider.c:
14447 * gst/net/gstnettimeprovider.h:
14450 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
14452 * configure.ac: back to HEAD
14454 === release 0.9.6 ===
14456 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
14459 releasing 0.9.6, "Always On Time"
14461 2005-11-23 Wim Taymans <wim@fluendo.com>
14463 * docs/gst/gstreamer-sections.txt:
14464 * gst/glib-compat.c:
14465 * gst/gsttagsetter.c:
14467 * gst/net/gstnetclientclock.c:
14468 * gst/net/gstnettimepacket.h:
14471 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
14473 * docs/faq/using.xml:
14474 * docs/libs/tmpl/gstcontrol.sgml:
14475 * docs/manual/advanced-dparams.xml:
14476 * docs/manual/appendix-checklist.xml:
14477 * docs/manual/basics-elements.xml:
14478 * docs/pwg/other-source.xml:
14479 * docs/random/moving-plugins:
14481 * tools/gst-launch.1.in:
14482 remove mentions of sinesrc
14484 2005-11-23 Michael Smith <msmith@fluendo.com>
14486 * docs/gst/gstreamer-sections.txt:
14487 Update for new API and API changes.
14489 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
14491 Documentation typo fix.
14492 * gst/net/gstnettimepacket.c:
14493 Documentation fixes for arguments.
14495 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
14497 * gst/gststructure.c: (gst_structure_get_fraction),
14498 (gst_structure_parse_value),
14499 (gst_structure_fixate_field_nearest_fraction):
14500 * gst/gststructure.h:
14501 * gst/gstutils.c: (gst_util_uint64_scale_int):
14503 * scripts/update-funcnames:
14505 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
14506 Make gst_structure_fixate_field_nearest_fraction take a numerator
14507 and denominator argument instead of a GValue
14508 add gst_structure_get_fraction helper function.
14510 2005-11-23 Wim Taymans <wim@fluendo.com>
14512 * docs/design/part-TODO.txt:
14515 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
14516 * gst/net/gstnetclientclock.h:
14517 Use parent fields for timeout and window_size.
14519 2005-11-23 Andy Wingo <wingo@pobox.com>
14521 * check/net/gstnetclientclock.c (test_functioning): Adjust to
14522 rate_num/rate_denom change.
14524 * gst/net/gstnetclientclock.c
14525 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
14526 OBJECT_LOCK. Don't call add_observation with the lock.
14528 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
14530 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
14532 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
14533 deal with rate as a fraction whose numerator and denominator are
14534 GstClockTime values.
14535 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
14536 master; the other fields are protected by the SLAVE_LOCK.
14537 (do_linear_regression): Note that this must be called with the
14539 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
14540 OBJECT_LOCK. Call set_calibration instead of touching the
14541 variables directly.
14542 (gst_clock_set_property, gst_clock_get_property): Protect
14543 master/slave parameters with the SLAVE_LOCK.
14545 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
14546 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
14547 note that all of the instance variables that add_observation and
14548 the set_master functions use are protected by that lock and not
14550 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
14552 * gst/gstclock.c (gst_clock_add_observation): No longer requires
14553 the caller to take the object lock.
14555 2005-11-23 Wim Taymans <wim@fluendo.com>
14557 * gst/gsterror.c: (_gst_core_errors_init):
14559 Add error for clock stuff.
14561 * gst/gstpipeline.c: (gst_pipeline_change_state),
14562 (gst_pipeline_set_clock):
14563 Post clock error when clock cannot be used in a pipeline.
14565 2005-11-23 Stefan Kost <ensonic@users.sf.net>
14567 * docs/gst/gstreamer-sections.txt:
14568 make two symbols from gstinfo private for the docs
14569 * gst/base/gstcollectpads.h:
14571 fix doc typos, update docs
14573 2005-11-22 Wim Taymans <wim@fluendo.com>
14575 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
14576 (gst_base_sink_wait), (gst_base_sink_do_sync),
14577 (gst_base_sink_handle_event):
14578 * gst/base/gstbasesink.h:
14579 No need to store the clock, the parent element class already
14582 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
14583 Updates for clock_set returning a gboolean
14585 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
14586 (gst_clock_id_wait_async), (gst_clock_class_init),
14587 (gst_clock_init), (gst_clock_finalize),
14588 (gst_clock_get_internal_time), (gst_clock_get_time),
14589 (gst_clock_slave_callback), (gst_clock_set_master),
14590 (gst_clock_get_master), (do_linear_regression),
14591 (gst_clock_add_observation), (gst_clock_set_property),
14592 (gst_clock_get_property):
14594 Implement master/slave. When setting a clock as a slave, a
14595 periodic timeout is scheduled to sample master and slave times.
14596 Then the slave clock is recalibrated to match offset and rate
14597 of the master clock.
14598 Update logging a bit.
14599 Add flag so that a clock can state that is cannot be slaved to
14602 * gst/gstelement.c: (gst_element_set_clock):
14603 * gst/gstelement.h:
14604 The set clock returns a gboolean for when an element cannot
14605 deal with the selected clock in the pipeline.
14607 * gst/gstpipeline.c: (gst_pipeline_change_state),
14608 (gst_pipeline_set_clock):
14609 * gst/gstpipeline.h:
14610 Handle the case where the selected clock cannot be set on
14613 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
14614 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
14615 (gst_net_client_clock_set_property),
14616 (gst_net_client_clock_get_property),
14617 (gst_net_client_clock_observe_times):
14618 * gst/net/gstnetclientclock.h:
14619 Use regression code in GstClock parent, remove duplicated
14622 2005-11-22 Michael Smith <msmith@fluendo.com>
14624 * gst/gstutils.c: (gst_util_clock_time_scale):
14626 * docs/gst/gstreamer-sections.txt:
14627 Rename method to have extra underscore.
14629 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
14631 * gst/elements/Makefile.am:
14632 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
14633 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
14634 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
14635 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
14636 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
14637 * gst/elements/gstfakesrc.h:
14638 * gst/gstqueue.c: (queue_leaky_get_type):
14639 correctly fix GEnumValues so that nick is the short lowercase
14641 * tools/gst-inspect.c: (print_element_properties_info):
14642 also show the nick, since it's useful to use from parse_launch
14646 2005-11-22 Michael Smith <msmith@fluendo.com>
14648 * gst/gstutils.c: (gst_util_clocktime_scale):
14650 * docs/gst/gstreamer-sections.txt:
14651 Add util method for scaling a clocktime by a fraction. Useful
14652 implementation is left as an exercise for the reader.
14654 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14656 * gst/gstvalue.c: (gst_value_collect_fraction_range):
14657 If needed, allocate storage in the destination value during
14660 2005-11-22 Edward Hervey <edward@fluendo.com>
14662 * docs/gst/gstreamer-sections.txt:
14665 * gst/gsturitype.c:
14666 * gst/gsturitype.h:
14667 * gst/gstutils.c: (gst_util_set_object_arg):
14668 * tools/gst-compprep.c: (main):
14669 * tools/gst-inspect.c: (print_element_properties_info):
14670 Removed GstURI, closes bug #321061
14672 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14674 * check/gst/gststructure.c: (GST_START_TEST):
14675 * gst/gststructure.c: (gst_structure_parse_value):
14676 Oops, broke automatic string type parsing.
14677 Add a test to catch it in future.
14679 2005-11-22 Andy Wingo <wingo@pobox.com>
14681 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
14682 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
14683 Actually rename the function implementations. Grr.
14685 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14687 * check/gst/capslist.h:
14689 * check/gst/gststructure.c: (GST_START_TEST),
14690 (gst_structure_suite):
14691 Test automatic value type detection in gst_structure_from_string.
14692 * gst/gststructure.c: (gst_structure_parse_value):
14693 Add fraction as a type we try and guess automatically in
14694 caps/structure strings.
14696 2005-11-22 Andy Wingo <wingo@pobox.com>
14698 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
14700 * gst/gsttagsetter.h:
14701 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
14702 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
14703 (gst_tag_setter_add_tag_valist)
14704 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
14705 _add_values, _add_valist, and _add_valist_values. Since this is an
14706 interface the function suffixes should be more explicit so
14707 language binding don't end up with element.add_valist ->
14708 gst_tag_setter_add_valist, for example. Fixes #322069.
14710 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14712 * check/gst/gstcaps.c: (GST_START_TEST):
14713 Extend caps string tests to check that a caps to string
14714 conversion is reversible and produces the same caps.
14716 * gst/gststructure.c: (gst_structure_value_get_generic_type):
14717 Output "fraction" as the generic type fraction range, so caps
14718 serialisation and deserialisation works.
14719 * check/gst/capslist.h:
14720 * gst/gstvalue.c: (gst_value_deserialize_fraction):
14721 Support 'MIN' and 'MAX' for deserialising fractions.
14723 2005-11-22 Andy Wingo <wingo@pobox.com>
14725 * gst/gstevent.h (gst_event_new_new_segment)
14726 (gst_event_parse_new_segment, gst_event_new_buffer_size)
14727 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
14728 Renamed from *_newsegment, *_buffersize, *_notarget.
14730 * scripts/update-funcnames: New script, performs the changes
14733 2005-11-22 Wim Taymans <wim@fluendo.com>
14735 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14736 Make sure the GstFlowReturn is returned.
14738 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
14739 (gst_bus_add_signal_watch):
14741 add gst_bus_add_signal_watch_full.
14743 * gst/gstplugin.c: (gst_plugin_load_file):
14744 Small style cleanup.
14746 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14748 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
14749 Block the fakesrc srcpad when we send an event, to avoid
14750 contention on the stream_lock causing random test failures.
14752 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14754 * check/gst/gstvalue.c: (GST_START_TEST):
14755 * gst/gstvalue.c: (gst_value_fraction_subtract):
14758 2005-11-22 Stefan Kost <ensonic@users.sf.net>
14761 include "gstchildproxy.h"
14762 * gst/gstchildproxy.h:
14763 * libs/gst/controller/gstcontroller.h:
14764 use G_GNUC_NULL_TERMINATED
14766 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14768 * check/gst/capslist.h:
14769 * check/gst/gstcaps.c: (GST_START_TEST):
14770 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14771 * gst/gststructure.c: (gst_structure_parse_range),
14772 (gst_structure_fixate_field_nearest_fraction):
14773 * gst/gststructure.h:
14774 * gst/gstvalue.c: (gst_value_init_fraction_range),
14775 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
14776 (gst_value_collect_fraction_range),
14777 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
14778 (gst_value_set_fraction_range_full),
14779 (gst_value_get_fraction_range_min),
14780 (gst_value_get_fraction_range_max),
14781 (gst_value_serialize_fraction_range),
14782 (gst_value_transform_fraction_range_string),
14783 (gst_value_compare_fraction_range),
14784 (gst_value_deserialize_fraction_range),
14785 (gst_value_intersect_fraction_fraction_range),
14786 (gst_value_intersect_fraction_range_fraction_range),
14787 (gst_value_subtract_fraction_fraction_range),
14788 (gst_value_subtract_fraction_range_fraction),
14789 (gst_value_subtract_fraction_range_fraction_range),
14790 (gst_value_collect_fraction), (gst_value_fraction_multiply),
14791 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
14792 (gst_value_transform_string_fraction), (_gst_value_initialize):
14794 Implement fraction ranges and extend GstFraction to support
14795 arithmetic subtraction, as well as deserialization from integer
14796 strings such as "100"
14797 Add a testsuite as for int and double range set operations
14799 2005-11-21 Andy Wingo <wingo@pobox.com>
14801 * gst/gsttaglist.h:
14803 * gst/gststructure.h: Add glib-compat.h.
14805 2005-11-21 Wim Taymans <wim@fluendo.com>
14807 * gst/gstbin.c: (gst_bin_change_state_func):
14810 2005-11-21 Wim Taymans <wim@fluendo.com>
14812 * gst/gstsegment.h:
14813 And add a nice define too.
14815 2005-11-21 Wim Taymans <wim@fluendo.com>
14817 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
14818 (gst_segment_new), (gst_segment_free), (gst_segment_init),
14819 (gst_segment_set_duration), (gst_segment_set_last_stop),
14820 (gst_segment_set_seek), (gst_segment_set_newsegment),
14821 (gst_segment_to_stream_time), (gst_segment_to_running_time),
14822 (gst_segment_clip):
14823 * gst/gstsegment.h:
14824 Make binding friendly.
14826 2005-11-21 Andy Wingo <wingo@pobox.com>
14828 * gst/gsttagsetter.h:
14829 * gst/gsttaglist.h:
14830 * gst/gststructure.h:
14832 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
14835 * gst/gsterror.c (_gst_core_errors_init):
14836 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
14839 * gst/Makefile.am (gst_headers): Add glib-compat.h.
14840 (noinst_HEADERS): noinst the -private.
14842 2005-11-21 Michael Smith <msmith@fluendo.com>
14845 * gst/gstregistry.h:
14846 Remove unimplemented declarations for which we can see no sensible
14849 2005-11-21 Andy Wingo <wingo@pobox.com>
14851 * gst/gst.h: Include glib-compat.h.
14853 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
14855 * gst/glib-compat.c: Include the public and the private header.
14857 * gst/glib-compat-private.h: Copied here from glib-compat.h.
14861 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
14863 * check/gst/gstevent.c (create_custom_events): Check that
14864 FLUSH_STOP is serialized.
14866 * check/elements/identity.c (event_func):
14867 * check/elements/fakesrc.c (event_func): No stream lock, the core
14870 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
14871 stream lock taking, yay.
14873 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
14874 ensure that core takes the stream lock.
14876 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
14879 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
14880 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
14881 it already. For the flush start we do take it though so we get the
14882 right preroll state change messages.
14884 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
14885 the stream lock here, the core does it for us.
14887 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
14888 GST_STREAM_GET_LOCK.
14889 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
14890 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
14891 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
14892 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
14893 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
14894 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
14896 * gst/gstpad.c: Update for stream lock name change.
14898 * gst/base/gstbasesink.c: Update for preroll lock name change.
14900 2005-11-21 Wim Taymans <wim@fluendo.com>
14902 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
14903 (gst_clock_get_master):
14905 * gst/gstsystemclock.c: (gst_system_clock_init):
14906 Convert Clock flags to object flags.
14907 Added methods to manage master/slave clocks.
14909 2005-11-21 Wim Taymans <wim@fluendo.com>
14911 * check/gst/gstsegment.c: (GST_START_TEST):
14912 * docs/design/part-TODO.txt:
14913 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14914 (gst_base_sink_event), (gst_base_sink_do_sync),
14915 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
14916 (gst_base_sink_query), (gst_base_sink_change_state):
14917 * gst/base/gstbasesink.h:
14918 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
14919 (gst_base_src_default_newsegment),
14920 (gst_base_src_configure_segment), (gst_base_src_do_seek),
14921 (gst_base_src_get_range), (gst_base_src_loop),
14922 (gst_base_src_change_state):
14923 * gst/base/gstbasesrc.h:
14924 * gst/base/gstbasetransform.c:
14925 (gst_base_transform_prepare_output_buf),
14926 (gst_base_transform_event), (gst_base_transform_change_state):
14927 * gst/base/gstbasetransform.h:
14928 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
14929 (gst_collect_pads_event):
14930 * gst/base/gstcollectpads.h:
14931 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
14932 (gst_fake_src_create):
14933 * gst/elements/gstfakesrc.h:
14934 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
14935 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
14936 (gst_segment_set_last_stop), (gst_segment_set_seek),
14937 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
14938 (gst_segment_to_running_time), (gst_segment_clip):
14939 * gst/gstsegment.h:
14940 More segment updates, replace code in plugins with segment
14943 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
14945 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
14946 Don't ignore sscanf results
14948 2005-11-21 Andy Wingo <wingo@pobox.com>
14950 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
14953 * *.c: Ran scripts/update-macros. Oh yes.
14955 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
14956 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
14959 * scripts/update-macros: New script. Run it on your files to
14960 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
14963 2005-11-21 Stefan Kost <ensonic@users.sf.net>
14965 * docs/gst/Makefile.am:
14966 * docs/gst/gstreamer-docs.sgml:
14967 * docs/gst/gstreamer-sections.txt:
14968 * docs/gst/gstreamer.types:
14970 more docs fixes, add new api to the docs
14972 2005-11-21 Andy Wingo <wingo@pobox.com>
14974 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
14975 state_broadcast call.
14977 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
14979 2005-11-21 Julien MOUTTE <julien@moutte.net>
14981 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
14982 function calls for arrays.
14984 2005-11-21 Stefan Kost <ensonic@users.sf.net>
14986 * docs/random/ensonic/media-device-daemon.txt:
14987 wild idea, can this be done?
14988 * docs/gst/gstreamer-sections.txt:
14993 * gst/gstpluginfeature.c:
14997 doc fixes and additions
14999 2005-11-21 Andy Wingo <wingo@pobox.com>
15001 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
15002 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
15003 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
15004 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
15005 private to the basesrc implementation.
15007 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
15008 behalf of event function if necessary. It should no longer be
15009 necessary to take the stream lock in pad's event functions. Fixes
15012 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
15013 * docs/gst/gstreamer-sections.txt:
15014 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
15015 (gst_structure_fixate_field_nearest_double),
15016 (gst_structure_fixate_field_boolean):
15017 * gst/gststructure.h:
15018 * win32/common/libgstreamer.def:
15019 * win32/gstreamer.def:
15021 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
15024 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
15026 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
15027 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
15028 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
15029 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
15030 (gst_fdsrc_uri_handler_init):
15031 * gst/elements/gstfdsrc.h:
15032 Port fd:// URI handler from 0.8 to fdsrc
15034 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
15036 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
15037 (gst_value_serialize_fourcc):
15039 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
15040 consistent with our other format defines (#320324).
15042 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
15044 * gst/gstvalue.c: (gst_value_is_fixed):
15045 Revert previous commit. Value lists are by definition
15046 not fixed, as they are a list of possible values.
15048 2005-11-21 Andy Wingo <wingo@pobox.com>
15050 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
15051 during the stable series if we need it. Fixes #319178.
15053 * gst/gstevent.c (gst_event_new_filler): Removed.
15055 * check/gst/gstevent.c: Update comment about filler events.
15057 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
15059 * gst/gstvalue.c: (gst_value_is_fixed):
15060 Should handle both value arrays and value lists.
15062 2005-11-21 Andy Wingo <wingo@pobox.com>
15064 patch by: Alessandro Dessina <alessandro nnva org>
15066 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
15067 functions to access arrays. Fixes #321962.
15069 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
15071 * docs/gst/gstreamer.types:
15072 gst_collectpads_get_type => gst_collect_pads_get_type.
15074 * gst/base/gstbasetransform.c:
15075 Remove unused SIGNAL_HANDOFF enum.
15077 2005-11-21 Andy Wingo <wingo@pobox.com>
15079 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
15080 the event type (upstream, downstream, serialized). Renamed
15081 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
15082 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
15083 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
15085 * gst/gstevent.c: Update for new CUSTOM event names.
15087 * check/gst/gstevent.c: Update check for new CUSTOM event names.
15090 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
15093 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
15095 * docs/gst/gstreamer-sections.txt:
15096 * win32/common/libgstbase.def:
15097 * win32/libgstbase.def:
15098 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15099 (gst_collect_pads_class_init), (gst_collect_pads_init),
15100 (gst_collect_pads_finalize), (gst_collect_pads_new),
15101 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
15102 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
15103 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
15104 (gst_collect_pads_start), (gst_collect_pads_stop),
15105 (gst_collect_pads_peek), (gst_collect_pads_pop),
15106 (gst_collect_pads_available), (gst_collect_pads_read),
15107 (gst_collect_pads_flush), (gst_collect_pads_event),
15108 (gst_collect_pads_chain):
15109 * gst/base/gstcollectpads.h:
15110 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
15111 unimplemented functions as unimplemented. Add padding to
15112 GstCollectData. (#320766, #320423)
15114 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
15116 * gst/gstmessage.c:
15117 Improve docs for DURATION message (usage of duration parameter)
15120 2005-11-20 Wim Taymans <wim@fluendo.com>
15122 * check/Makefile.am:
15123 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
15127 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
15128 (gst_segment_set_seek), (gst_segment_set_newsegment),
15129 (gst_segment_to_stream_time), (gst_segment_to_running_time),
15130 (gst_segment_clip):
15131 * gst/gstsegment.h:
15132 Added segment helper structure and methods. Not fully implemented
15134 Added segment check.
15136 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
15138 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15139 Add a deserialisation test for fractions
15140 * examples/metadata/read-metadata.c: (message_loop),
15141 (make_pipeline), (main):
15142 Fix up metadata reading sample.
15143 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15145 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15146 Don't try and fixate empty caps
15147 * gst/gst_private.h:
15148 Wrap in G_BEGIN_DECLS/G_END_DECLS
15149 * gst/gstvalue.c: (gst_value_collect_fraction),
15150 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
15151 (gst_value_transform_string_fraction),
15152 (gst_value_compare_fraction):
15153 Add some extra guards to ensure that we don't end up
15154 with an invalid denominator of 0 in a gstfraction and
15155 that fractions always get reduced.
15157 2005-11-20 Wim Taymans <wim@fluendo.com>
15159 * docs/gst/gstreamer-sections.txt:
15161 * gst/gstelement.c:
15170 2005-11-20 Wim Taymans <wim@fluendo.com>
15172 * docs/design/part-TODO.txt:
15174 Make a proper enum of the flag.
15176 2005-11-19 Wim Taymans <wim@fluendo.com>
15178 * docs/design/part-TODO.txt:
15179 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
15180 (gst_format_to_quark), (gst_format_register):
15182 * gst/gstquery.c: (_gst_query_initialize),
15183 (gst_query_type_get_name), (gst_query_type_to_quark),
15184 (gst_query_type_register):
15186 Add type to quark and type to string conversions.
15188 2005-11-19 Andy Wingo <wingo@pobox.com>
15190 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
15193 2005-11-19 Wim Taymans <wim@fluendo.com>
15195 * docs/design/part-TODO.txt:
15196 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
15197 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
15198 (gst_bin_handle_message_func):
15200 Make message handling overridable.
15202 2005-11-19 Andy Wingo <wingo@pobox.com>
15204 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
15207 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
15209 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
15210 is a GstClockTime. Fixes #321710.
15212 * gst/gstclock.h (GstClock): Remove offset property. Add
15213 internal_calibration and external_calibration. Fix padding. Pad
15214 also by GstClockTime so we don't run into problems.
15216 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
15217 (gst_clock_get_rate_offset): Remove.
15218 (gst_clock_set_time_adjust): Remove. Fixes #321712.
15221 * gst/gstutils.c (g_static_rec_cond_wait)
15222 (g_static_rec_cond_timed_wait): Removed, no longer needed.
15224 * gst/gstbin.c: Remove terrible continue_state prototype.
15226 * gst/gstelement.h (gst_element_continue_state): Make public.
15228 * gst/gstelement.h:
15229 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
15230 by continue_state. Fixes #319389.
15232 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
15233 Really fixes #168438. However I don't see anywhere where the
15234 filter function is called... stupid GStreamer...
15236 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
15237 don't have a dispose function, so it won't get called when the
15238 object is unreffed, but oh well!
15240 * gst/gstindex.c (gst_index_set_filter_full): New API function,
15241 allows a destroy function to be set so user_data can be freed.
15243 (gst_index_set_filter): Call gst_index_set_filter_full.
15245 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
15247 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
15248 string should produce an error, given the lack of a way to
15249 represent NULL strings. Fixes #165650.
15252 * gst/gstvalue.c (gst_value_array_append_value)
15253 (gst_value_array_prepend_value, gst_value_array_get_size)
15254 (gst_value_array_get_value): New API, copied from
15255 gst_value_list_*, only operates on arrays.
15256 (gst_value_list_append_value, gst_value_list_prepend_value)
15257 (gst_value_list_concat, gst_value_list_get_size)
15258 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
15260 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
15261 init_list, because it works on both.
15262 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
15263 (gst_value_copy_list_or_array): Renamed from copy_list.
15264 (gst_value_free_list_or_array): Renamed from free_list.
15265 (gst_value_collect_list_or_array): Renamed from collect_list.
15266 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
15267 (gst_value_list_or_array_peek_pointer): Renamed from
15269 (_gst_value_array_value_table, _gst_value_list_value_table):
15270 Update value table functions.
15271 (gst_value_compare_list_or_array): Renamed from compare_list.
15273 * gsttaglist.h: Whoops, foreach function returns void. Also fix
15276 * gst/gsttaglist.c:
15277 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
15278 GstTagList*. Fixes #143472.
15280 * gst/gststructure.h: Clarify what the foreach/map functions can
15281 or can't do to their arguments.
15283 2005-11-18 Wim Taymans <wim@fluendo.com>
15285 * gst/gstclock.c: (gst_clock_set_calibration),
15286 (gst_clock_get_calibration):
15288 Calibration can be set with internal time equal to current
15291 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
15297 2005-11-18 Andy Wingo <wingo@pobox.com>
15300 * pkgconfig/gstreamer-net.pc.in:
15301 * pkgconfig/gstreamer-net-uninstalled.pc.in:
15302 * pkgconfig/Makefile.am: Add net pkgconfig files.
15304 2005-11-18 Stefan Kost <ensonic@users.sf.net>
15307 * gst/gstghostpad.c:
15313 2005-11-18 Andy Wingo <wingo@pobox.com>
15315 * gst/net/gstnetclientclock.c: Turn off debugging.
15317 * check/net/gstnetclientclock.c (test_functioning): Assert that the
15318 times connverge somewhat. Can't make a real test.
15320 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
15321 integer arithmetic. Return the minimum of the domain, which can be
15322 set as "internal" for gst_clock_set_calibration.
15323 (gst_net_client_clock_observe_times): Call _set_calibration.
15324 (gst_net_client_clock_new): Call _set_calibration instead of
15327 * check/net/gstnetclientclock.c (test_functioning): Use the right
15331 * gst/gstclock.c (gst_clock_get_calibration)
15332 (gst_clock_set_calibration): New functions, obsolete the ones I
15333 added yesterday. Doh. Precision issues mean we have to extrapolate
15334 from a point in the more recent past than 1970.
15335 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
15337 (gst_clock_adjust_unlocked): Use the right calibration data.
15339 2005-11-18 Edward Hervey <edward@fluendo.com>
15341 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
15342 Also reset the ->current_* values in READY->PAUSED
15344 2005-11-18 Andy Wingo <wingo@pobox.com>
15346 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
15347 Whoops, check the right fd. Also add some debugging.
15348 (gst_net_client_clock_observe_times): Adjust for int64 offset.
15349 (do_linear_regression): Add a crapload of debugging. Subtract off
15350 the minimum values from the input series to discard unneeded bits.
15351 Use only int arithmetic. There is still double arithmetic when
15352 calculating the intercept that needs fixing. Return boolean to
15353 indicate success; FALSE would mean the domain or range is too
15354 great. Still needs fixes.
15356 2005-11-18 Wim Taymans <wim@fluendo.com>
15358 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
15359 For the current position in stream time, we need to subtract
15362 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
15363 Release lock before calling the callback function of async
15366 2005-11-18 Andy Wingo <wingo@pobox.com>
15368 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
15369 Port goes all the way to MAXUINT16.
15371 * gst/net/gstnettimeprovider.c: Make the port range the same as
15372 for the kernel: 0 assigns, otherwise ports are less than
15375 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
15378 * check/net/gstnetclientclock.c (test_functioning): Add the start
15381 2005-11-18 Wim Taymans <wim@fluendo.com>
15383 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
15384 (gst_bin_remove_func), (bin_bus_handler):
15386 Removing a clock provider from a bin, triggers a clock lost message
15387 so that a new clock will be selected.
15388 Adding a clock to a bin triggers a clock provider message.
15389 Make sure we reselect a clock when we received a clock lost message.
15390 Keep a reference to the element that provided the clock.
15392 2005-11-18 Andy Wingo <wingo@pobox.com>
15394 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
15395 the clock initially so it produces values around the base time.
15396 (gst_net_client_clock_class_init): Typo fix.
15397 (gst_net_client_clock_thread): Add note on when the socket gets
15400 2005-11-17 Wim Taymans <wim@fluendo.com>
15402 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
15403 Free remote and local time arrays.
15405 2005-11-17 Wim Taymans <wim@fluendo.com>
15407 * gst/net/gstnetclientclock.c: (do_linear_regression),
15408 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
15409 Fix compilation, uninitialized vars and a forgotten continue.
15411 2005-11-17 Andy Wingo <wingo@pobox.com>
15413 * check/Makefile.am (check_PROGRAMS):
15414 * check/net/gstnetclientclock.c: Add a most minimal test for the
15415 net client clock. More to come later.
15417 * gst/net/gstnet.h:
15418 * gst/net/Makefile.am: Add netclientclock.
15420 * gst/net/gstnetclientclock.h:
15421 * gst/net/gstnetclientclock.c: New files, implement an untested
15422 GstClock that takes its time from a network time provider.
15423 Implements the algorithm in network-clock.scm.
15425 * tests/network-clock.scm (*window-size*): Rename from
15427 * tests/network-clock.scm (network-time):
15428 * tests/network-clock-utils.scm (q-push): Update callers.
15430 2005-11-17 Wim Taymans <wim@fluendo.com>
15432 * gst/gstbin.c: (gst_bin_provide_clock_func),
15433 (gst_bin_sort_iterator_new):
15434 And unref the child too..
15436 2005-11-17 Wim Taymans <wim@fluendo.com>
15438 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15439 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
15440 Refactor the sort iterator so it can be used while holding the
15442 Make clock selection select a clock closest to the source.
15444 2005-11-17 Michael Smith <msmith@fluendo.com>
15446 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
15447 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
15449 Anonymous structs are a gcc (and some other compilers) extension, so
15450 don't use them. Since this is only for ABI-compatibility, and our
15451 API/ABI freeze is over in a few days, this whole thing will only
15452 last a few days, so don't bother trying to think up a meaningful
15453 name for the struct.
15455 2005-11-17 Andy Wingo <wingo@pobox.com>
15457 * gst/gstclock.h (GstClock): Add rate and offset properties,
15458 preserving ABI stability. Add rate/offset accessors. Will file bug
15459 for the freeze break.
15461 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
15462 and offset, trying to keep precision and avoiding
15463 underflow/overflow.
15464 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
15465 functions. Make gst_clock_set_time_adjust obsolete.
15466 (gst_clock_set_time_adjust): Note that this function is obsolete.
15467 Will file bug soon.
15469 * gst/base/gstbasetransform.h: Make the ABI-stability hack
15470 greppable by using GST_PADDING-1+1.
15472 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
15474 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
15476 * gst/gstmessage.c: (gst_message_parse_clock_lost):
15477 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
15479 * gst/gstpadtemplate.h:
15480 * gst/gstpluginfeature.h:
15481 Don't use c++ style comments in headers (#321638).
15483 2005-11-16 Andy Wingo <wingo@pobox.com>
15485 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
15488 * check/net/gstnettimeprovider.c: Check to see that the time
15489 provider actually provides times. Works, yo!
15491 2005-11-16 Wim Taymans <wim@fluendo.com>
15493 * check/Makefile.am:
15496 * check/elements/fakesrc.c: (GST_START_TEST):
15497 Set element to NULL before disposing it.
15499 2005-11-16 Andy Wingo <wingo@pobox.com>
15501 * gst/net/Makefile.am:
15502 * gst/net/gstnet.h:
15503 * gst/net/gstnettimeprovider.c:
15504 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
15505 provider, include it from gstnet.h, and add it to the build.
15507 * gst/net/gstnettimepacket.h:
15508 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
15509 sending and receiving.
15511 2005-11-16 Wim Taymans <wim@fluendo.com>
15513 * check/Makefile.am:
15514 Enable valgrind check.
15516 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
15517 (gst_fake_src_alloc_buffer):
15520 2005-11-16 Wim Taymans <wim@fluendo.com>
15522 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
15523 Call parent finalize too.
15525 2005-11-16 Wim Taymans <wim@fluendo.com>
15527 * check/Makefile.am:
15528 Enable valgrind check that should work fine now.
15530 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15531 * gst/gstqueue.c: (gst_queue_init):
15532 Fix memleaks in pad allocation.
15534 2005-11-16 Andy Wingo <wingo@pobox.com>
15536 * gst/net/Makefile.am:
15537 * gst/net/gstnet.h: New part of core to hold network elements and
15538 objects. Put in core because it exposes API that applications want
15539 to use. The library is named libgstnet-tempname right now because
15540 of the existing libgstnet in gst-plugins-base. Solution is
15541 probably to rename the one in plugins-base; will file a bug for
15544 * gst/net/gstnettimeprovider.c:
15545 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
15546 get_time call over the network.
15549 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
15551 * check/Makefile.am:
15552 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
15553 get additions shortly.
15555 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15557 * gst/gstpad.c: (gst_pad_new_from_static_template):
15559 add gst_pad_new_from_static_template functions
15560 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
15561 (gst_check_setup_sink_pad):
15562 * gst/elements/gsttee.c: (gst_tee_init):
15565 2005-11-16 Wim Taymans <wim@fluendo.com>
15567 * gst/gstpad.c: (gst_pad_pause_task):
15568 Removed warning, it's not really an error either.
15570 2005-11-16 Wim Taymans <wim@fluendo.com>
15572 * gst/base/gstbasetransform.c:
15573 (gst_base_transform_prepare_output_buf),
15574 (gst_base_transform_event):
15575 Check if the caps are NULL, this can happen if the element
15576 is shutting down and the pad caps are set to NULL.
15578 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15580 * gst/elements/gsttee.c: (gst_tee_init):
15581 fix pad template leak in tee
15583 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15585 * gst/glib-compat.c: (g_value_dup_gst_object):
15586 * gst/glib-compat.h:
15587 * gst/gstpad.c: (gst_pad_set_property):
15588 use gst_object_ref when setting the pad template; this will
15589 trigger the pad template leaks on GLib 2.6 and the slaves
15591 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15593 * gst/glib-compat.c: (gst_flags_get_first_value):
15594 * gst/glib-compat.h:
15595 * gst/gstregistryxml.c:
15596 remove functions copied from GLib 2.6
15598 2005-11-16 Michael Smith <msmith@fluendo.com>
15601 Don't link against VALGRIND_LIBS. That was always the wrong thing to
15602 do, but only breaks with newer valgrind versions. We're not a
15603 valgrind tool, we have no link-time dependencies on libcoregrind.
15605 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15607 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15609 * gst/gstmessage.h:
15612 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15614 * gst/base/gstbasesrc.c: (gst_base_src_init):
15615 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15616 * gst/gstqueue.c: (gst_queue_init):
15617 * gst/gstregistryxml.c: (load_feature):
15618 Revert all these unrefs, they don't even pass make check !
15620 2005-11-15 Johan Dahlin <johan@gnome.org>
15622 * gst/base/gstbasesrc.c: (gst_base_src_init):
15623 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15624 * gst/gstqueue.c: (gst_queue_init):
15625 Free pad templates, fixes a couple of leaks.
15627 2005-11-15 Daniel Fischer <dan at f3c dot com>
15629 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
15631 * gst/gstpad.c: (gst_pad_get_property):
15632 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
15633 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
15636 2005-11-15 Wim Taymans <wim@fluendo.com>
15641 2005-11-15 Andy Wingo <wingo@pobox.com>
15643 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
15645 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
15646 using GST_CLOCK_TIME_NONE to disable base time management.
15647 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
15648 time if it was NONE before.
15649 (gst_pipeline_change_state): Only munge the base time if
15650 stream_time != GST_CLOCK_TIME_NONE.
15652 * check/gst/gstpipeline.c (test_base_time): Punt around the
15653 problem of the probe not being called, because that's not the
15654 issue I'm looking at. Add a check that setting stream_time to NONE
15655 disables base time management.
15657 2005-11-15 Wim Taymans <wim@fluendo.com>
15659 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
15660 segment_stop == -1 at startup.
15662 * gst/base/gstbasetransform.c: (gst_base_transform_event),
15663 (gst_base_transform_change_state):
15664 Init segment values at start.
15666 2005-11-15 Wim Taymans <wim@fluendo.com>
15668 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15669 0 segment values are 0 in any format.
15671 * gst/base/gstbasetransform.c: (gst_base_transform_event):
15672 * gst/base/gstbasetransform.h:
15673 Parse newsegment correctly in basetransform
15675 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
15676 Sync to clock using updated segment values.
15678 2005-11-15 Andy Wingo <wingo@pobox.com>
15680 * check/gst/gstpipeline.c (test_base_time): Add check that the
15681 base time and stream time are reset correctly.
15683 2005-11-15 Wim Taymans <wim@fluendo.com>
15685 * docs/design/part-TODO.txt:
15686 Some more TODO items.
15688 2005-11-15 Andy Wingo <wingo@pobox.com>
15690 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
15691 error if the user selected "no clock" as the clocking method.
15693 * check/gst/gstpipeline.c (test_base_time): New test for buffer
15694 timestamps with live capture.
15696 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
15697 is 0 but we are a live source, timestamp the buffers using the
15700 2005-11-14 Stefan Kost <ensonic@users.sf.net>
15702 * docs/gst/gstreamer-sections.txt:
15704 * gst/gstghostpad.c:
15709 2005-11-14 Wim Taymans <wim@fluendo.com>
15712 add suppressions from Wim's Debian machine
15714 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
15717 add suppressions from Andy's AMD64 Ubuntu machine
15719 2005-11-14 Andy Wingo <wingo@pobox.com>
15721 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
15722 STATE_LOCK not necessary. Fixes #311489.
15724 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
15727 * gst/gstindex.c (gst_index_add_object): Note in the docs that
15728 this function is not implemented.
15730 2005-11-14 Julien MOUTTE <julien@moutte.net>
15732 * gst/base/gstbasetransform.c:
15733 (gst_base_transform_prepare_output_buf):
15734 Ref the source pad caps while we need them.
15737 2005-11-11 Wim Taymans <wim@fluendo.com>
15739 * docs/gst/gstreamer-sections.txt:
15740 Added some docs for GstCollectData.
15742 * gst/base/gstadapter.c:
15743 Some small code example fix.
15745 * gst/base/gstcollectpads.c:
15746 * gst/base/gstcollectpads.h:
15747 Document some more.
15749 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
15751 * configure.ac: back to HEAD
15753 === release 0.9.5 ===
15755 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
15758 releasing 0.9.5, "Bike Lunch Day"
15760 2005-11-11 Wim Taymans <wim@fluendo.com>
15762 * gst/gstbuffer.c: (_gst_buffer_copy):
15765 * gst/gstcaps.c: (gst_caps_is_equal):
15767 Make _is_equal fast in the trivial cases.
15769 * gst/gstminiobject.c:
15770 * gst/gstminiobject.h:
15771 More docs. Spifify .h file.
15776 2005-11-11 Wim Taymans <wim@fluendo.com>
15778 * gst/base/gstbasetransform.c:
15779 (gst_base_transform_prepare_output_buf),
15780 (gst_base_transform_handle_buffer):
15782 If we're processing a buffer and need to allocate an output
15783 buffer, we cannot accept a format change. If we did get a
15784 format change, we have to alloc a buffer ourselves of the
15787 2005-11-11 Wim Taymans <wim@fluendo.com>
15789 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
15790 While checking the flag for reentrancy in the gstcaps function
15791 is nice to detect recursive invocations, it also makes it
15792 impossible to call getcaps from multiple threads, which must be
15793 possible. So, checking for recursive calls has to go.
15795 2005-11-11 Michael Smith <msmith@fluendo.com>
15797 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15798 Don't sync on buffers that fall partially outside our current
15799 segment. Prevents an assertion failure/abort playing some files.
15801 2005-11-10 Andy Wingo <wingo@pobox.com>
15803 * check/gst/gstbin.c (test_message_state_changed_children): Style
15806 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
15807 gst_bus_poll with the signal watch. Ensures that poll and a signal
15808 watch see the same messages.
15810 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
15811 a poll and a watch at the same time get the same messages.
15813 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
15815 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
15816 * gst/gstcaps.c: (gst_caps_intersect):
15817 Don't call gst_caps_do_simplify - it doesn't respect order of caps
15818 and it's not needed.
15820 2005-11-10 Wim Taymans <wim@fluendo.com>
15822 * docs/design/part-TODO.txt:
15825 2005-11-10 Wim Taymans <wim@fluendo.com>
15827 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15828 * gst/base/gstbasesrc.c: (gst_base_src_wait),
15829 (gst_base_src_do_sync), (gst_base_src_get_range):
15830 Implement clock sync in base class.
15832 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
15834 patch by: Tim-Philipp Müller <tim at centricular dot net>
15836 * gst/gststructure.c: (gst_structure_parse_field),
15837 (gst_structure_from_string):
15838 Forward-port a 0.8 patch to handle escaped spaces in structure string,
15839 so that gst_parse_launch() can deal with spaces in filtered link
15840 caps (fixes #164479)
15841 * check/gst/capslist.h:
15842 * check/gst/gststructure.c: (GST_START_TEST):
15843 add unit tests for this change
15845 2005-11-10 Wim Taymans <wim@fluendo.com>
15847 * docs/gst/gstreamer-sections.txt:
15848 * gst/gstelement.c:
15849 * gst/gstelement.h:
15850 Fix docs, move some STATE macros to private.
15852 2005-11-10 Wim Taymans <wim@fluendo.com>
15854 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
15855 Added check for bug #317341
15859 Some more spiffifying.
15861 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
15862 Call peer linkfunction if we are a source pad. Totally fixes
15866 Update docs, source pads should call the peer linkfunction
15867 so they can atomically perform the pad link.
15869 2005-11-09 Wim Taymans <wim@fluendo.com>
15873 Uber-spiffy-spiffify some more.
15875 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
15877 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
15878 * gst/elements/gstfilesink.c: (gst_file_sink_init):
15879 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15880 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
15881 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
15882 * gst/gstpad.c: (gst_pad_init):
15883 Use GST_DEBUG_FUNCPTR() more extensively.
15885 2005-11-09 Wim Taymans <wim@fluendo.com>
15887 * gst/gstobject.c: (gst_object_class_init):
15889 Documentation fixes.
15891 2005-11-09 Edward Hervey <edward@fluendo.com>
15893 * gst/gsttypefindfactory.c:
15896 2005-11-09 Edward Hervey <edward@fluendo.com>
15898 * gst/base/gsttypefindhelper.c:
15899 * gst/gsttypefind.c:
15900 * gst/gsttypefind.h:
15903 2005-11-09 Wim Taymans <wim@fluendo.com>
15905 * gst/gstiterator.c:
15912 2005-11-09 Wim Taymans <wim@fluendo.com>
15918 2005-11-09 Wim Taymans <wim@fluendo.com>
15920 * docs/gst/gstreamer-sections.txt:
15921 Moved the message async delivery private lock and cond
15922 to the private section.
15924 * gst/gstmessage.c:
15925 * gst/gstmessage.h:
15928 2005-11-09 Edward Hervey <edward@fluendo.com>
15930 * docs/gst/gstreamer-sections.txt:
15933 Document GstURIHandler
15935 2005-11-09 Wim Taymans <wim@fluendo.com>
15937 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
15938 (gst_iterator_find_custom):
15939 * gst/gstiterator.h:
15942 2005-11-09 Wim Taymans <wim@fluendo.com>
15945 Document another field.
15947 * gst/gststructure.c:
15948 * gst/gststructure.h:
15951 2005-11-09 Wim Taymans <wim@fluendo.com>
15954 Documented structs.
15956 2005-11-09 Wim Taymans <wim@fluendo.com>
15958 * docs/gst/gstreamer-sections.txt:
15959 Added some new macros.
15966 2005-11-09 Wim Taymans <wim@fluendo.com>
15968 * docs/design/part-TODO.txt:
15969 Some more items for the TODO
15975 2005-11-09 Andy Wingo <wingo@pobox.com>
15977 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
15978 to work on something else now tho...
15980 * gst/base/gstadapter.c: More adapter docs.
15982 * gst/elements/gstfilesink.c (gst_file_sink_start)
15983 (gst_file_sink_stop): New functions, replace the state change
15985 (gst_file_sink_class_init): Hook up the start and stop functions.
15986 (gst_file_sink_base_init): Don't set the state change handler any
15987 more. It was a bit ugly too, being set from here...
15988 (gst_file_sink_get_property, gst_file_sink_set_property):
15990 (gst_file_sink_set_location): More robust check that doesn't call
15991 GST_STATE. Ugggggg.
15993 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
15995 * gst/base/gstbasetransform.c: (gst_base_transform_event):
15996 Hold STREAM_LOCK while pushing newsegment or tag events as well.
15998 2005-11-08 Wim Taymans <wim@fluendo.com>
16000 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16001 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
16002 (gst_base_sink_chain), (gst_base_sink_change_state):
16003 * gst/base/gstbasesink.h:
16004 * gst/base/gstbasesrc.h:
16005 * gst/gstelement.h:
16007 Avoid excessive typechecking in macros.
16009 * gst/gstminiobject.c: (gst_mini_object_get_type),
16010 (gst_mini_object_init), (gst_mini_object_new),
16011 (gst_mini_object_free):
16012 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
16013 (gst_object_finalize):
16014 Remove cruft code, optimize alloc_trace.
16016 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
16018 * docs/faq/gst-uninstalled:
16019 fix up PS1 for systems that try to reset it
16021 2005-11-07 Wim Taymans <wim@fluendo.com>
16023 * gst/base/gstbasesrc.c: (gst_base_src_init),
16024 (gst_base_src_get_range):
16025 Set the segment_end to -1 initially. Fixed typefind.
16027 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
16029 * gst/base/gstadapter.c:
16030 Debug category should be 'adapter', not 'GstAdapter'.
16032 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
16033 (gst_collectpads_class_init), (gst_collectpads_init),
16034 (gst_collectpads_peek), (gst_collectpads_pop),
16035 (gst_collectpads_event), (gst_collectpads_chain):
16036 Add debug category and some debugging output. Use boilerplate
16037 macros. Remove some extraneous words from docs.
16039 2005-11-05 Andy Wingo <wingo@pobox.com>
16041 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
16044 2005-11-04 Stefan Kost <ensonic@users.sf.net>
16046 * docs/gst/gstreamer-sections.txt:
16049 * gst/gstminiobject.h:
16054 2005-11-04 Wim Taymans <wim@fluendo.com>
16056 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
16057 Small update to stop at the configured segment_end
16060 2005-11-04 Stefan Kost <ensonic@users.sf.net>
16062 * gst/gstregistry.c:
16063 * gst/gstregistry.h:
16066 2005-11-04 Edward Hervey <edward@fluendo.com>
16068 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
16069 Check if we are doing a segment seek and have arrived at the
16070 end of that segment.
16072 2005-11-04 Wim Taymans <wim@fluendo.com>
16074 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
16075 Don't leak a mutex unlock in case of an error.
16080 2005-11-04 Wim Taymans <wim@fluendo.com>
16082 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
16084 Get the context to wake up only once.
16086 2005-11-03 Wim Taymans <wim@fluendo.com>
16088 * check/states/sinks.c: (GST_START_TEST):
16089 Uncomment fixed check.
16091 * docs/design/part-TODO.txt:
16094 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16095 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
16096 (gst_base_sink_get_position):
16097 If we are going to PLAYING, post the right pending state
16098 when we post the intermediate paused message.
16100 * gst/gstelement.c: (gst_element_continue_state),
16101 (gst_element_set_state_func), (gst_element_change_state):
16102 Don't post state changes that were between the same state
16103 and were not ASYNC.
16105 2005-11-03 Stefan Kost <ensonic@users.sf.net>
16107 * docs/gst/gstreamer-sections.txt:
16110 * gst/gstminiobject.h:
16113 more docs and doc style fixes
16115 2005-11-03 Stefan Kost <ensonic@users.sf.net>
16117 * docs/gst/gstreamer-sections.txt:
16118 * gst/gstelement.c:
16119 * gst/gstminiobject.c:
16122 2005-11-03 Andy Wingo <wingo@pobox.com>
16124 * check/states/sinks.c (test_livesrc_sink): Add checks that the
16125 state-changed messages actually have the right order and the right
16128 2005-11-03 Wim Taymans <wim@fluendo.com>
16130 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
16131 Added some more checks. Specifically the case where NO_PREROLL
16132 elements are in the pipeline.
16134 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16135 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
16136 (gst_base_sink_get_position):
16137 Post READY->PAUSED state change messages too.
16138 Fix bug where VOID was posted as pending state...
16140 * gst/gstbin.c: (gst_bin_recalc_state):
16141 use _element_continue_state() to continue the state change.
16143 * gst/gstelement.c: (gst_element_continue_state),
16144 (gst_element_commit_state), (gst_element_set_state_func),
16145 (gst_element_change_state), (gst_element_change_state_func):
16146 Lots of state change cleanups, assign the STATE_RETURN in
16147 a new continue_state() function that also propagates the
16148 last return value from a state change to the app.
16149 Update some debug statements with proper category.
16151 2005-11-03 Wim Taymans <wim@fluendo.com>
16153 * docs/design/part-events.txt:
16154 * docs/design/part-gstpipeline.txt:
16155 * docs/design/part-messages.txt:
16156 * docs/design/part-overview.txt:
16157 * docs/design/part-seeking.txt:
16158 * docs/design/part-states.txt:
16159 * docs/design/part-trickmodes.txt:
16160 * docs/manual/advanced-position.xml:
16161 Small docs updates.
16164 People think !! is ugly, this looks better.
16166 * gst/gstpad.c: (gst_pad_set_blocked_async):
16167 Remove !! since it's fixed elsewhere now.
16169 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
16171 * gst/gstminiobject.h:
16173 Add !! to _FLAG_IS_SET macros to make the result boolean.
16175 2005-11-03 Edward Hervey <edward@fluendo.com>
16177 * gst/gstpad.c: (gst_pad_set_blocked_async):
16178 comparing a flag and a gboolean rarely returns coherent results...
16179 Added two characters (!!) to make that work correctly.
16181 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
16183 * gst/gstbus.c: (gst_bus_class_init):
16186 * gst/gstqueue.c: (gst_queue_loop):
16187 Don't assume a miniobject that isn't a buffer is an
16188 event (it could be that there is a refcounting
16189 problem somewhere and the pointer is stale and
16190 refers to an already destroyed miniobject).
16192 2005-11-03 Julien MOUTTE <julien@moutte.net>
16194 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
16196 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
16198 * docs/manual/advanced-position.xml:
16199 Update seek example and explanations to current 0.9 API.
16201 * gst/elements/gsttypefindelement.c:
16202 (gst_type_find_element_activate):
16203 Remove FIXME comment now that the found caps
16206 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
16208 * gst/gstregistryxml.c: (load_feature):
16209 Add another GST_STR_NULL instance
16211 2005-11-02 Edward Hervey <edward@fluendo.com>
16213 * gst/gstpad.c: (handle_pad_block):
16214 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
16216 2005-11-02 Wim Taymans <wim@fluendo.com>
16221 * gst/gstelement.c: (gst_element_commit_state):
16222 Remove unused value.
16224 * gst/gstiterator.c:
16225 Mention that the returned element is reffed in the docs.
16227 2005-11-02 Wim Taymans <wim@fluendo.com>
16229 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
16230 (gst_pad_push), (gst_pad_push_event):
16231 Unlock blocked pads when they are flushed.
16233 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
16236 * docs/gst/gstreamer-sections.txt:
16239 * gst/gstregistry.c: (gst_registry_scan_path_level):
16240 fix for a nasty little missed situation where an installed plug-in
16241 which was in the cache did not get overridden by an uninstalled one
16242 which was earlier in the plugin path because the newly created plugin
16243 for the uninstalled one (not in the registry) didn't get its
16244 ->registered set to TRUE
16246 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
16248 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
16249 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
16250 (gst_collectpads_is_active), (gst_collectpads_collect),
16251 (gst_collectpads_collect_range), (gst_collectpads_start),
16252 (gst_collectpads_stop), (gst_collectpads_peek),
16253 (gst_collectpads_pop), (gst_collectpads_available),
16254 (gst_collectpads_read), (gst_collectpads_flush):
16255 Guard public API with assertions.
16258 Fix docs for gst_pad_set_link_function().
16260 2005-11-02 Johan Dahlin <johan@gnome.org>
16262 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
16263 Unref found_caps after we used it.
16265 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
16267 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
16268 Don't try to ref NULL.
16270 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
16272 * win32/common/config.h.in:
16273 provide a GST_FUNCTION that just gives a string for now
16275 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
16277 * win32/common/gstenumtypes.c: (register_gst_object_flags),
16278 (gst_object_flags_get_type), (register_gst_bin_flags),
16279 (gst_bin_flags_get_type), (register_gst_buffer_flag),
16280 (gst_buffer_flag_get_type), (register_gst_bus_flags),
16281 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
16282 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
16283 (gst_clock_return_get_type), (register_gst_clock_entry_type),
16284 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
16285 (gst_clock_flags_get_type), (register_gst_state),
16286 (gst_state_get_type), (register_gst_state_change_return),
16287 (gst_state_change_return_get_type), (register_gst_state_change),
16288 (gst_state_change_get_type), (register_gst_element_flags),
16289 (gst_element_flags_get_type), (register_gst_core_error),
16290 (gst_core_error_get_type), (register_gst_library_error),
16291 (gst_library_error_get_type), (register_gst_resource_error),
16292 (gst_resource_error_get_type), (register_gst_stream_error),
16293 (gst_stream_error_get_type), (register_gst_event_type),
16294 (gst_event_type_get_type), (register_gst_seek_type),
16295 (gst_seek_type_get_type), (register_gst_seek_flags),
16296 (gst_seek_flags_get_type), (register_gst_format),
16297 (gst_format_get_type), (register_gst_index_certainty),
16298 (gst_index_certainty_get_type), (register_gst_index_entry_type),
16299 (gst_index_entry_type_get_type),
16300 (register_gst_index_lookup_method),
16301 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
16302 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
16303 (gst_index_resolver_method_get_type), (register_gst_index_flags),
16304 (gst_index_flags_get_type), (register_gst_debug_level),
16305 (gst_debug_level_get_type), (register_gst_debug_color_flags),
16306 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
16307 (gst_iterator_result_get_type), (register_gst_iterator_item),
16308 (gst_iterator_item_get_type), (register_gst_message_type),
16309 (gst_message_type_get_type), (register_gst_mini_object_flags),
16310 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
16311 (gst_pad_link_return_get_type), (register_gst_flow_return),
16312 (gst_flow_return_get_type), (register_gst_activate_mode),
16313 (gst_activate_mode_get_type), (register_gst_pad_direction),
16314 (gst_pad_direction_get_type), (register_gst_pad_flags),
16315 (gst_pad_flags_get_type), (register_gst_pad_presence),
16316 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
16317 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
16318 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
16319 (gst_plugin_error_get_type), (register_gst_plugin_flags),
16320 (gst_plugin_flags_get_type), (register_gst_rank),
16321 (gst_rank_get_type), (register_gst_query_type),
16322 (gst_query_type_get_type), (register_gst_tag_merge_mode),
16323 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
16324 (gst_tag_flag_get_type), (register_gst_task_state),
16325 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
16326 (gst_alloc_trace_flags_get_type),
16327 (register_gst_type_find_probability),
16328 (gst_type_find_probability_get_type), (register_gst_uri_type),
16329 (gst_uri_type_get_type), (register_gst_parse_error),
16330 (gst_parse_error_get_type):
16331 * win32/common/gstversion.h:
16332 update win32 copies
16334 2005-11-01 Luca Ognibene <luogni@tin.it>
16337 fix docs. popt is dead, long live GOption.
16339 2005-10-31 Wim Taymans <wim@fluendo.com>
16344 2005-10-31 Andy Wingo <wingo@pobox.com>
16348 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
16350 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
16351 need to serialize property notifications on GLib 2.8. GLib 2.6 has
16352 the possibility of deadlocks here if code calling notify() or
16353 set() has a lock that can be taken in another notify handler (ABBA
16354 with class lock and e.g. python GIL state lock).
16356 2005-10-28 Julien MOUTTE <julien@moutte.net>
16358 * gst/gstbus.c: Doc updates.
16360 2005-10-28 Wim Taymans <wim@fluendo.com>
16362 * docs/design/part-TODO.txt:
16363 * gst/gstiterator.c:
16364 * gst/gstsystemclock.c:
16365 * gst/gstsystemclock.h:
16368 2005-10-28 Edward Hervey <edward@fluendo.com>
16370 * docs/gst/gstreamer-docs.sgml:
16371 * docs/gst/gstreamer-sections.txt:
16372 the GstURIType documentation page is private, it only defines GstURIType
16373 which should be defined in the GstURIHandler page
16375 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
16377 * gst/gstbin.c: (gst_bin_class_init):
16380 Documentation updates.
16382 2005-10-28 Wim Taymans <wim@fluendo.com>
16384 * docs/gst/gstreamer-sections.txt:
16387 Documented the clocks.
16389 2005-10-28 Stefan Kost <ensonic@users.sf.net>
16391 * docs/gst/gstreamer-sections.txt:
16392 move some macros to private sections
16393 * gst/gstminiobject.c:
16394 * gst/gstminiobject.h:
16395 add descriptions provided by ds and some more
16397 mark macro as to be removed
16399 2005-10-28 Wim Taymans <wim@fluendo.com>
16401 * docs/design/part-TODO.txt:
16402 Add an item to TODO.
16404 * gst/gstiterator.c: (gst_iterator_fold),
16405 (gst_iterator_find_custom):
16406 * gst/gstiterator.h:
16409 2005-10-28 Wim Taymans <wim@fluendo.com>
16411 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16412 (gst_base_transform_init):
16415 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
16416 An EOS event marks the queue as completely filled.
16418 2005-10-27 Wim Taymans <wim@fluendo.com>
16420 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16421 (gst_base_sink_do_sync), (gst_base_sink_get_position):
16422 Some more debugging.
16424 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
16425 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
16426 (gst_base_transform_event), (gst_base_transform_getrange),
16427 (gst_base_transform_chain):
16428 * gst/base/gstbasetransform.h:
16430 Protect transform and concurrent buffer alloc with a new lock.
16431 Try not to break ABI/API.
16433 2005-10-27 Wim Taymans <wim@fluendo.com>
16435 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16436 (gst_base_src_init), (gst_base_src_query),
16437 (gst_base_src_default_newsegment),
16438 (gst_base_src_configure_segment), (gst_base_src_do_seek),
16439 (gst_base_src_send_event), (gst_base_src_event_handler),
16440 (gst_base_src_pad_get_range), (gst_base_src_loop),
16441 (gst_base_src_unlock), (gst_base_src_default_negotiate),
16442 (gst_base_src_start), (gst_base_src_deactivate),
16443 (gst_base_src_activate_push), (gst_base_src_change_state):
16444 Move some stuff around and cleanup things.
16446 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
16448 * gst/base/gstbasesrc.c: (gst_base_src_query):
16449 Add missing break statements.
16451 2005-10-27 Wim Taymans <wim@fluendo.com>
16453 * check/gst/gstbin.c: (GST_START_TEST):
16454 An extra refcount is taken in basesrc.
16456 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
16457 (gst_base_src_get_range), (gst_base_src_pad_get_range),
16458 (gst_base_src_loop):
16459 Small cleanups, check for flushing after being unlocked from the
16460 LIVE_LOCK. take refcounts correctly (not yet everywhere).
16461 Don't send out EOS when going to READY.
16463 2005-10-27 Wim Taymans <wim@fluendo.com>
16465 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16466 (gst_base_sink_get_position):
16469 * gst/gstbin.c: (message_check), (bin_replace_message),
16470 (bin_remove_messages), (is_eos), (gst_bin_add_func),
16471 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16472 (bin_query_duration_init), (bin_query_duration_fold),
16473 (bin_query_duration_done), (bin_query_generic_fold),
16475 * tools/gst-launch.c: (main):
16478 2005-10-26 Stefan Kost <ensonic@users.sf.net>
16480 * examples/controller/audio-example.c: (main):
16481 * examples/queue/queue.c: (event_loop):
16482 * gst/base/gstbasetransform.h:
16483 * gst/gstelement.c: (gst_element_send_event):
16485 * gst/gstpad.c: (gst_pad_send_event):
16488 changing log priority in error situations
16490 2005-10-25 Wim Taymans <wim@fluendo.com>
16492 * gst/gstbin.c: (message_check), (bin_replace_message),
16493 (bin_remove_messages), (is_eos), (gst_bin_add_func),
16494 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16495 (bin_query_duration_init), (bin_query_duration_fold),
16496 (bin_query_duration_done), (bin_query_generic_fold),
16498 Some doc and debug updates.
16499 Cache previously requested query DURATION for speed. invalidate
16500 cached duration if element posts a DURATION message.
16502 2005-10-25 Wim Taymans <wim@fluendo.com>
16504 * docs/design/part-TODO.txt:
16507 * gst/gstbin.c: (message_check), (bin_replace_message),
16508 (bin_remove_messages), (is_eos), (gst_bin_add_func),
16509 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16510 (bin_query_duration_init), (bin_query_duration_fold),
16511 (bin_query_duration_done), (bin_query_generic_fold),
16513 Handle SEGMENT_START/DONE messages correctly.
16514 More evolved query algorithm that handles duration queries
16517 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
16518 (gst_element_get_state_func), (gst_element_abort_state),
16519 (gst_element_commit_state), (gst_element_lost_state):
16520 Some more debugging.
16522 * gst/gstmessage.h:
16525 2005-10-25 Wim Taymans <wim@fluendo.com>
16527 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
16528 Don't use invalid stream_time.
16530 * gst/gstevent.c: (gst_event_new_newsegment):
16531 stream_time in newsegment cannot be undefined.
16533 2005-10-24 Wim Taymans <wim@fluendo.com>
16538 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
16540 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
16542 2005-10-24 Stefan Kost <ensonic@users.sf.net>
16544 * docs/libs/tmpl/gstdparam.sgml:
16545 * docs/libs/tmpl/gstdplinint.sgml:
16546 * docs/libs/tmpl/gstdpman.sgml:
16547 * docs/libs/tmpl/gstdpsmooth.sgml:
16548 * docs/libs/tmpl/gstunitconvert.sgml:
16551 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
16556 === release 0.9.4 ===
16558 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
16561 releasing 0.9.4, "Tyrannosaurus Rex"
16563 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
16565 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
16566 (gst_file_sink_get_current_offset):
16567 Use fseeko() and ftello() if available. When falling back on
16568 lseek() to get the current offset, fflush() first to make sure
16569 everything is up-to-date and we get the right offset.
16571 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
16573 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16574 * gst/base/gstbasesrc.c: (gst_base_src_loop):
16575 * gst/gsterror.c: (_gst_stream_errors_init):
16577 * gst/gstqueue.c: (gst_queue_loop):
16579 remove prematurely added error category and clean up the instances
16581 2005-10-21 Wim Taymans <wim@fluendo.com>
16583 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16584 (gst_base_sink_get_position), (gst_base_sink_query),
16585 (gst_base_sink_change_state):
16586 Simply set the right flag when going to playing, that's all
16587 we need to do instead of calling a function inside the object
16588 lock (that could take the lock as well and deadlock)
16590 2005-10-21 Wim Taymans <wim@fluendo.com>
16592 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
16593 (gst_base_src_loop):
16594 Don't warn, the peer element knows what to do best when
16595 the seek failed, it might try something else.
16597 2005-10-21 Wim Taymans <wim@fluendo.com>
16599 * gst/base/gstbasesrc.c: (gst_base_src_init),
16600 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
16603 2005-10-21 Wim Taymans <wim@fluendo.com>
16605 * docs/design/part-segments.txt:
16608 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16609 Correctly set caps, even on the subbufer.
16611 2005-10-21 Wim Taymans <wim@fluendo.com>
16613 * docs/gst/gstreamer-docs.sgml:
16614 * docs/gst/gstreamer-sections.txt:
16615 * gst/gstelement.h:
16618 * gst/gstmessage.h:
16621 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
16625 And 2% more doc coverage.
16627 2005-10-21 Andy Wingo <wingo@pobox.com>
16629 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
16630 position reporting.
16632 2005-10-20 Wim Taymans <wim@fluendo.com>
16634 * gst/gsterror.c: (gst_error_get_message):
16637 * gst/gststructure.c:
16642 2005-10-20 Wim Taymans <wim@fluendo.com>
16647 Another 1% more coverage.
16649 2005-10-20 Wim Taymans <wim@fluendo.com>
16651 * docs/gst/gstreamer-sections.txt:
16652 * gst/gstelement.c: (gst_element_get_state_func),
16653 (gst_element_abort_state), (gst_element_commit_state),
16654 (gst_element_lost_state):
16656 * gst/gstquery.c: (gst_query_set_position),
16657 (gst_query_parse_position), (gst_query_set_duration),
16658 (gst_query_parse_duration), (gst_query_new_convert):
16660 Yay! 1% more docs coverage.
16662 2005-10-20 Wim Taymans <wim@fluendo.com>
16665 * gst/gstquery.c: (gst_query_set_position),
16666 (gst_query_parse_position), (gst_query_set_duration),
16667 (gst_query_parse_duration), (gst_query_new_convert):
16669 * gst/gstutils.c: (gst_element_query_convert):
16671 Docs and consistency fixes.
16673 2005-10-20 Wim Taymans <wim@fluendo.com>
16679 2005-10-20 Wim Taymans <wim@fluendo.com>
16681 * gst/gstbin.c: (message_check), (bin_replace_message),
16682 (bin_remove_messages), (is_eos), (gst_bin_add_func),
16683 (update_degree), (gst_bin_sort_iterator_next),
16684 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
16685 Reworked the message handling a bit, cache the messages instead of
16686 only the senders. alows us to do more in the future.
16688 2005-10-20 Wim Taymans <wim@fluendo.com>
16690 * docs/design/part-TODO.txt:
16693 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
16694 (gst_base_sink_query):
16695 Don't use clock time to report position when in EOS.
16697 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
16699 * tools/gst-inspect.c: (print_interfaces),
16700 (print_element_properties_info), (print_element_info):
16701 Fix interface output with gst-inspect -a; don't print
16702 newlines after double/float properties.
16704 2005-10-20 Wim Taymans <wim@fluendo.com>
16706 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
16707 (gst_base_sink_query):
16708 Speed up current position calculation.
16710 * gst/base/gstbasesrc.c: (gst_base_src_query),
16711 (gst_base_src_default_newsegment):
16712 Correctly set stream position in newsegment.
16714 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
16715 (update_degree), (gst_bin_sort_iterator_next),
16716 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
16717 * gst/gstmessage.c: (gst_message_new_custom):
16718 Clean up debugging info
16720 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
16721 (gst_queue_loop), (gst_queue_handle_src_query):
16724 2005-10-19 Wim Taymans <wim@fluendo.com>
16726 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16727 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
16728 Fix query handling again.
16730 2005-10-19 Wim Taymans <wim@fluendo.com>
16732 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16733 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
16734 * gst/base/gstbasesrc.c: (gst_base_src_query):
16735 * gst/elements/gstfilesink.c: (gst_file_sink_query):
16736 * gst/elements/gsttypefindelement.c:
16737 (gst_type_find_handle_src_query), (find_element_get_length),
16738 (gst_type_find_element_activate):
16741 * gst/gstquery.c: (gst_query_new_position),
16742 (gst_query_set_position), (gst_query_parse_position),
16743 (gst_query_new_duration), (gst_query_set_duration),
16744 (gst_query_parse_duration), (gst_query_set_segment),
16745 (gst_query_parse_segment):
16747 Bundling query position/duration is not a good idea since duration
16748 does not change much and we don't want to recalculate it for every
16749 position query, so they are separated again..
16750 Base value in segment query is not needed.
16752 * gst/gstqueue.c: (gst_queue_handle_src_query):
16753 * gst/gstutils.c: (gst_element_query_position),
16754 (gst_element_query_duration), (gst_pad_query_position),
16755 (gst_pad_query_duration):
16757 Updates for query API change.
16758 Added some docs here and there.
16760 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
16762 * check/gst/gstbin.c: (GST_START_TEST):
16763 * check/gst/gstghostpad.c: (GST_START_TEST):
16764 * check/pipelines/cleanup.c: (GST_START_TEST):
16765 wait on thread to die so we can check refcount correctly
16767 2005-10-18 Wim Taymans <wim@fluendo.com>
16769 * check/pipelines/stress.c: (GST_START_TEST):
16770 Make check a little more time consuming.
16772 2005-10-18 Wim Taymans <wim@fluendo.com>
16774 * check/Makefile.am:
16775 * check/pipelines/stress.c: (GST_START_TEST),
16776 (simple_launch_lines_suite), (main):
16777 Small state change torture test.
16779 * docs/design/part-states.txt:
16780 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16781 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
16782 (gst_base_sink_change_state):
16783 Never take state lock from streaming thread, clean up ugly
16784 hacks. Unfortunatly core does not yet support nice ways to
16785 async commit state.
16787 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
16789 Start state recalc if a STATE_DIRTY message is posted, but only
16790 on the toplevel bin.
16792 * gst/gstelement.c: (gst_element_sync_state_with_parent),
16793 (gst_element_get_state_func), (gst_element_abort_state),
16794 (gst_element_commit_state), (gst_element_lost_state),
16795 (gst_element_set_state_func), (gst_element_change_state):
16796 * gst/gstelement.h:
16797 State variables are now protected with the LOCK, the state
16798 lock is only used to serialize _set_state().
16800 2005-10-18 Wim Taymans <wim@fluendo.com>
16802 * check/gst/gstbin.c: (GST_START_TEST):
16803 * check/gst/gstmessage.c: (GST_START_TEST):
16804 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
16805 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
16807 * gst/gstelement.c: (gst_element_abort_state),
16808 (gst_element_commit_state), (gst_element_lost_state):
16809 * gst/gstmessage.c: (gst_message_new_state_changed),
16810 (gst_message_new_state_dirty), (gst_message_new_segment_start),
16811 (gst_message_new_segment_done), (gst_message_new_duration),
16812 (gst_message_parse_state_changed),
16813 (gst_message_parse_segment_start),
16814 (gst_message_parse_segment_done), (gst_message_parse_duration):
16815 * gst/gstmessage.h:
16816 * tools/gst-launch.c: (event_loop):
16817 Seriously, this is better than a previous commit as we only need
16818 to notify the fact that an element changed state in a streaming
16819 thread, marking the state of the parents dirty, hence the
16820 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
16823 2005-10-18 Wim Taymans <wim@fluendo.com>
16825 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
16826 (gst_bin_recalc_func):
16827 * gst/gstelement.c: (gst_element_set_clock),
16828 (gst_element_abort_state), (gst_element_lost_state):
16829 Cleanups, prepare for state change fixes.
16831 2005-10-18 Wim Taymans <wim@fluendo.com>
16834 * gst/gstelement.c: (gst_element_class_init),
16835 (gst_element_set_state), (gst_element_set_state_func):
16836 * gst/gstelement.h:
16837 Pending ABI changes.
16838 GThreadPool in GstBinClass to monitor async state changes.
16839 state_cookie in GstElement to detect concurrent gst/set state.
16840 set_state is now virtual too in case a very complicated element
16841 has to be constructed.
16843 2005-10-18 Wim Taymans <wim@fluendo.com>
16845 * check/gst/gstbin.c: (GST_START_TEST):
16846 * check/gst/gstmessage.c: (GST_START_TEST):
16847 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
16848 * gst/gstbin.c: (bin_bus_handler):
16849 * gst/gstelement.c: (gst_element_commit_state),
16850 (gst_element_lost_state):
16851 * gst/gstmessage.c: (gst_message_new_state_changed),
16852 (gst_message_new_segment_start), (gst_message_new_segment_done),
16853 (gst_message_new_duration), (gst_message_parse_state_changed),
16854 (gst_message_parse_segment_start),
16855 (gst_message_parse_segment_done), (gst_message_parse_duration):
16856 * gst/gstmessage.h:
16857 * tools/gst-launch.c: (event_loop):
16858 Make messages future proof.
16859 state-change gets a flag if it was a message comming from the
16861 segment-start/stop can also be specified in other formats.
16862 A message to notify an app that a pipeline changed playback
16864 Also fix a GstMessage leak in -launch
16866 2005-10-18 Andy Wingo <wingo@pobox.com>
16868 * gst/gstelement.c (gst_element_dispose): More helpful message.
16870 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
16872 reviewed by: <delete if not using a buddy>
16874 * common/gtk-doc.mak:
16876 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
16878 * gst/gstregistry.c: (gst_registry_scan_path_level):
16879 unref a plug-in we get that was already initialized
16881 2005-10-18 Stefan Kost <ensonic@users.sf.net>
16883 * docs/gst/gstreamer-sections.txt:
16884 * docs/libs/gstreamer-libs-sections.txt:
16885 * gst/gstelement.h:
16886 add new api entries
16887 hide internal macro
16889 2005-10-17 Andy Wingo <wingo@pobox.com>
16891 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
16894 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
16896 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
16898 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
16899 (gst_element_get_state_func): Better debug message.
16900 (gst_element_commit_state): s/INFO/DEBUG/.
16901 (gst_element_lost_state, gst_element_change_state):
16903 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
16904 (gst_message_new_custom): s/INFO/LOG/.
16906 2005-10-17 Michael Smith <msmith@fluendo.com>
16908 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16909 Check if end time is valid using end time, not start time.
16911 2005-10-17 Stefan Kost <ensonic@users.sf.net>
16913 * check/gst-libs/controller.c: (GST_START_TEST),
16914 (gst_controller_suite):
16915 * libs/gst/controller/gstcontroller.c:
16916 (gst_controlled_property_set_interpolation_mode):
16917 * libs/gst/controller/gstcontroller.h:
16918 * libs/gst/controller/gstinterpolation.c:
16919 * testsuite/controller/.cvsignore:
16920 * testsuite/controller/Makefile.am:
16921 * testsuite/controller/interpolator.c:
16922 merge controller testsuites
16924 remove mem-chunk from docs
16926 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
16928 * gst/gstmemchunk.c:
16929 * gst/gstmemchunk.h:
16930 * gst/gsttrashstack.c:
16931 * gst/gsttrashstack.h:
16932 out. get out. you're fired. to the Attic !
16934 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
16936 * gst/gstcaps.c: (gst_caps_intersect):
16937 fix signedness issues in a (hopefully) correct way
16938 * gst/gstelement.c: (gst_element_pads_activate):
16940 * gst/gstobject.c: (gst_object_set_parent):
16943 2005-10-17 Julien MOUTTE <julien@moutte.net>
16945 * gst/gstvalue.h: Fix prototypes.
16947 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16949 * docs/gst/gstreamer-sections.txt:
16950 * gst/gst.c: (gst_version_string):
16952 * gst/gstversion.h.in:
16953 * win32/common/libgstreamer.def:
16954 add gst_version_string ()
16956 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16960 * gst/gst.c: (init_post):
16961 * win32/common/config.h.in:
16963 * gst/gstcaps.c: (gst_caps_intersect):
16964 use gint64, the range could be bigger than a guint
16966 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16969 document potential problem in 2038
16971 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16973 * gst/gstcaps.c: (gst_caps_intersect):
16974 Fix guint j diving under 0
16976 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16979 * win32/common/config.h:
16980 * win32/common/config.h.in:
16981 check for process.h, declares getpid() on Windows
16983 include process.h if we have it
16984 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
16985 * gst/gstmemchunk.h:
16986 fix signedness issues
16987 * win32/common/libgstreamer.def:
16990 2005-10-16 Julien MOUTTE <julien@moutte.net>
16992 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
16993 fix. Because of unsigned ints, caps intersection was going nuts and
16994 trying to access structures with G_MAXUINT index. That fixes
16995 videotestsrc ! ffmpegcolorspace ! fakesink
16996 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
16999 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
17002 use the gettext macro
17003 * gst/elements/gstelements.c:
17005 * gst/indexers/gstindexers.c:
17006 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
17007 * win32/common/config.h:
17009 * win32/common/config.h.in:
17010 add the template to generate config.h
17011 * win32/common/gstenumtypes.c:
17012 * win32/common/gstversion.h:
17015 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
17017 * gst/gst.c: (gst_version):
17018 * gst/gstversion.h.in:
17021 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
17024 Oops, add missing closing bracket.
17026 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17029 use common m4's for argument checking
17031 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
17033 * docs/gst/gstreamer-sections.txt:
17035 Add GST_EVENT_TYPE_NAME() macro.
17037 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17040 * gst/gstpluginfeature.c:
17042 privatize more symbols
17044 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17047 add srcdir, builddir includes to GST_ALL_CFLAGS, since
17048 everything that uses GStreamer API should have the includes
17050 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17052 * docs/gst/gstreamer-sections.txt:
17053 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
17055 give each value a _get_type, removes the DATA exports
17057 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17061 remove _gst_registry_auto_load, not used anymore
17062 * gst/gstbin.c: (gst_bin_get_type):
17064 * gst/gstelement.c: (gst_element_get_type):
17065 * gst/gstelement.h:
17066 * gst/gstobject.c: (gst_object_get_type):
17068 * gst/gstpad.c: (gst_pad_get_type):
17070 make _get_type functions similar, fixes data export from library
17072 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17075 correctly make conditionals
17076 * gst/elements/Makefile.am:
17077 * gst/elements/gstelements.c:
17078 fix typo causing fdsrc not to build
17080 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17082 * testsuite/Makefile.am:
17083 * testsuite/bytestream/.cvsignore:
17084 * testsuite/bytestream/Makefile.am:
17085 * testsuite/bytestream/filepadsink.c:
17086 * testsuite/bytestream/gstbstest.c:
17087 * testsuite/bytestream/test1.c:
17088 * testsuite/bytestream/testfile1:
17089 * testsuite/caps/normalisation.c:
17090 * testsuite/caps/random.c: (main):
17091 * testsuite/cleanup/.cvsignore:
17092 * testsuite/cleanup/Makefile.am:
17093 * testsuite/cleanup/cleanup1.c:
17094 * testsuite/cleanup/cleanup2.c:
17095 * testsuite/cleanup/cleanup3.c:
17096 * testsuite/cleanup/cleanup4.c:
17097 * testsuite/cleanup/cleanup5.c:
17098 * testsuite/controller/interpolator.c:
17099 * testsuite/debug/printf_extension.c: (main):
17100 * testsuite/elements/tee.c:
17101 * testsuite/negotiation/.cvsignore:
17102 * testsuite/negotiation/Makefile.am:
17103 * testsuite/negotiation/pad_link.c:
17104 * testsuite/pad/Makefile.am:
17105 * testsuite/pad/chainnopull.c:
17106 * testsuite/pad/getnopush.c:
17107 * testsuite/pad/link.c:
17108 * testsuite/refcounting/sched.c: (create_pipeline):
17109 * testsuite/registry/Makefile.am:
17110 * testsuite/registry/gst-print-formats.c:
17111 * testsuite/schedulers/.cvsignore:
17112 * testsuite/schedulers/142183-2.c:
17113 * testsuite/schedulers/142183.c:
17114 * testsuite/schedulers/143777-2.c:
17115 * testsuite/schedulers/143777.c:
17116 * testsuite/schedulers/147713.c:
17117 * testsuite/schedulers/147819.c:
17118 * testsuite/schedulers/147894-2.c:
17119 * testsuite/schedulers/147894.c:
17120 * testsuite/schedulers/Makefile.am:
17121 * testsuite/schedulers/group_link.c:
17122 * testsuite/schedulers/queue_link.c:
17123 * testsuite/schedulers/relink.c:
17124 * testsuite/schedulers/unlink.c:
17125 * testsuite/schedulers/unref.c:
17126 * testsuite/schedulers/useless_iteration.c:
17127 * testsuite/states/bin.c:
17128 clean out/remove some stuff from the testsuite directories
17130 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17133 check for some headers
17134 * gst/elements/Makefile.am:
17135 * gst/elements/gstelements.c:
17136 don't compile fdsrc without sys/socket.h
17137 * gst/indexers/Makefile.am:
17138 * gst/indexers/gstindexers.c: (plugin_init):
17139 don't compile fileindex without mmap
17141 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17148 * check/Makefile.am:
17149 * docs/gst/Makefile.am:
17150 * examples/helloworld/Makefile.am:
17152 * gst/base/Makefile.am:
17153 * gst/check/Makefile.am:
17154 * gst/elements/Makefile.am:
17155 * gst/indexers/Makefile.am:
17156 * gst/parse/Makefile.am:
17157 * libs/gst/controller/Makefile.am:
17158 * libs/gst/dataprotocol/Makefile.am:
17159 * examples/helloworld/helloworld.c: (event_loop):
17160 compile fixes, though it's not being compiled currently
17162 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
17164 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
17165 Add some simple tests for the new taglist date API.
17167 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
17169 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
17170 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
17171 Beautify 'last-message' output: print 'none' for buffer timestamps
17172 and durations if none is set; improve alignment with next messages.
17174 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
17176 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
17177 * gst/gstpluginfeature.h:
17178 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
17179 * gst/gstregistry.h:
17180 * docs/gst/gstreamer-sections.txt:
17181 Add new API to check plugin feature version requirements.
17183 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
17184 Some basic tests for the above.
17186 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
17188 * gst/gststructure.c: (gst_structure_to_string):
17189 guard against NULL printf - happens when for example
17190 a message structure with GstClock gets serialized
17192 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
17194 * gst/base/gstcollectpads.c: (gst_collectpads_event):
17195 Fix presumable copy'n'pasto.
17197 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
17199 * gst/elements/gstfakesrc.h:
17200 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
17201 * gst/elements/gsttypefindelement.c:
17202 fix some signedness
17203 * gst/elements/gstfilesink.c: (gst_file_sink_render):
17204 I wonder if this could actually write +2GB files before
17206 2005-10-13 Andy Wingo <wingo@pobox.com>
17208 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
17209 Fix Timmeke Waymans bug.
17210 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
17211 string of the proper length to gst_caps_from_string. There's a
17212 potential for, before this fix, that this could cause someone
17213 connecting over the network to cause a segfault if the payload is
17214 not NUL-terminated.
17216 2005-10-13 Stefan Kost <ensonic@users.sf.net>
17218 * docs/design/draft-push-pull.txt:
17219 * docs/design/part-overview.txt:
17220 * docs/random/TODO-pre-0.9:
17221 * docs/random/old/ChangeLog.gstreamer:
17222 * gst/base/gstpushsrc.c:
17226 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
17228 * gst/glib-compat.c: (gst_flags_get_first_value):
17229 * gst/glib-compat.h:
17230 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
17231 (gst_value_compare_double), (gst_value_serialize_flags):
17232 GLib 2.6 g_flags_get_first_value has a bug that triggers an
17235 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
17237 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17238 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
17240 * tools/gst-launch.c: (event_loop):
17241 print out clock nicely
17243 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
17245 * docs/gst/gstreamer-sections.txt:
17246 * gst/gsttaglist.h:
17247 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
17248 (gst_tag_list_get_date_index):
17249 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
17250 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
17252 2005-10-13 Julien MOUTTE <julien@moutte.net>
17254 * gst/base/gstcollectpads.c: (gst_collectpads_event),
17255 (gst_collectpads_chain):
17256 * gst/base/gstcollectpads.h: Handle newsegment and store informations
17259 2005-10-13 Stefan Kost <ensonic@users.sf.net>
17261 * docs/gst/gstreamer-sections.txt:
17264 * tools/gst-inspect.c: (main):
17265 * tools/gst-launch.c: (main):
17266 * tools/gst-run.c: (main):
17267 * tools/gst-xmlinspect.c: (main):
17268 fix GOption context leaks
17271 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
17275 * win32/common/config.h:
17277 * win32/vs6/grammar.dsp:
17278 * win32/vs6/libgstelements.dsp:
17279 * win32/vs6/libgstreamer.dsp:
17282 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
17284 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17285 * gst/base/gstbasesrc.c: (gst_base_src_query):
17286 fix more guint64<->gdouble conversions
17288 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
17291 add win32-update target
17292 * win32/common/gstconfig.h:
17293 * win32/common/gstenumtypes.c:
17294 * win32/common/gstenumtypes.h:
17295 * win32/common/gstversion.h:
17296 add files that visual studio can't generate
17298 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
17301 add a win32-update target
17304 2005-10-12 Wim Taymans <wim@fluendo.com>
17306 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
17307 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
17308 * gst/gstelement.c: (gst_element_commit_state),
17309 (gst_element_set_state):
17310 Protect flags with proper lock.
17311 unref provided cached clock in dispose.
17313 2005-10-12 Stefan Kost <ensonic@users.sf.net>
17316 * gst/gstminiobject.h:
17318 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
17319 removed unused flags from miniobject
17322 2005-10-12 Wim Taymans <wim@fluendo.com>
17324 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
17325 (gst_file_sink_event), (gst_file_sink_render):
17326 Flush before seeking.
17328 2005-10-12 Andy Wingo <wingo@pobox.com>
17330 * gst/gst.c (gst_init_check): Ignore unknown options, as has
17331 always been the case.
17333 2005-10-12 Stefan Kost <ensonic@users.sf.net>
17335 * check/gst/gstbin.c: (GST_START_TEST):
17336 * docs/gst/gstreamer-sections.txt:
17337 * gst/base/gstbasesink.c: (gst_base_sink_init):
17338 * gst/base/gstbasesrc.c: (gst_base_src_init),
17339 (gst_base_src_get_range), (gst_base_src_check_get_range),
17340 (gst_base_src_start), (gst_base_src_stop):
17341 * gst/base/gstbasesrc.h:
17342 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
17343 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
17344 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
17348 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
17350 * gst/gstelement.c: (gst_element_is_locked_state),
17351 (gst_element_set_locked_state), (gst_element_commit_state),
17352 (gst_element_set_state):
17353 * gst/gstelement.h:
17354 * gst/gstindex.c: (gst_index_init):
17356 * gst/gstminiobject.h:
17357 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
17358 (gst_object_set_parent):
17360 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
17361 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
17363 * gst/gstpadtemplate.h:
17364 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
17365 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
17366 * gst/gstpipeline.h:
17367 * gst/indexers/gstfileindex.c: (gst_file_index_load),
17368 (gst_file_index_commit):
17369 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
17370 * testsuite/pad/link.c: (gst_test_src_init),
17371 (gst_test_filter_init), (gst_test_sink_init):
17372 * testsuite/states/locked.c: (main):
17373 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
17374 moved bitshift from macro to enum definition
17376 2005-10-12 Wim Taymans <wim@fluendo.com>
17378 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
17379 * gst/elements/gstfilesink.c: (gst_file_sink_event),
17380 (gst_file_sink_render):
17381 Some more debugging info.
17383 2005-10-12 Wim Taymans <wim@fluendo.com>
17385 * docs/design/part-states.txt:
17386 * tools/gst-launch.c: (main):
17388 Revert non-intentional change.
17390 2005-10-12 Wim Taymans <wim@fluendo.com>
17392 * check/gst/gstbin.c: (GST_START_TEST):
17393 * check/gst/gstelement.c: (GST_START_TEST):
17394 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
17395 * check/gst/gstghostpad.c: (GST_START_TEST):
17396 * check/gst/gstpipeline.c: (GST_START_TEST):
17397 * check/pipelines/simple_launch_lines.c: (run_pipeline):
17398 * check/states/sinks.c: (GST_START_TEST):
17399 * gst/elements/gsttypefindelement.c: (stop_typefinding):
17400 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
17401 (gst_bin_remove_func), (gst_bin_get_state_func),
17402 (gst_bin_recalc_state), (gst_bin_change_state_func),
17404 * gst/gstelement.c: (gst_element_get_state_func),
17405 (gst_element_get_state), (gst_element_abort_state),
17406 (gst_element_commit_state), (gst_element_set_state),
17407 (gst_element_change_state), (gst_element_change_state_func):
17408 * gst/gstelement.h:
17409 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
17410 (gst_pipeline_provide_clock_func):
17411 * gst/gstutils.c: (gst_element_link_pads_filtered):
17412 * tools/gst-launch.c: (main):
17413 * tools/gst-typefind.c: (main):
17414 Use GstClockTime in _get_state() instead of GTimeVal.
17415 Remove old code in gstutils.c
17417 2005-10-12 Andy Wingo <wingo@pobox.com>
17419 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
17422 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
17423 there is no task. Shouldn't affect any code, as nothing in our
17424 plugins checks this return value.
17425 (gst_pad_stop_task): Also take the stream lock if the pad has no
17426 task. Docs updated.
17428 2005-10-12 Wim Taymans <wim@fluendo.com>
17430 * gst/gstpad.c: (pre_activate), (post_activate),
17431 (gst_pad_activate_pull), (gst_pad_activate_push):
17432 Cleanup activation code. Reset old state if
17435 2005-10-12 Wim Taymans <wim@fluendo.com>
17437 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17438 (gst_base_sink_change_state):
17439 No need to prerol after receiving EOS.
17441 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
17442 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
17443 * gst/elements/gstidentity.c: (gst_identity_event):
17444 Print events more verbosely.
17446 2005-10-12 Wim Taymans <wim@fluendo.com>
17448 * check/Makefile.am:
17449 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
17450 * check/states/sinks2.c:
17451 Moved sinks2 testcode in sinks check.
17453 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
17454 (gst_bin_remove_func), (gst_bin_recalc_state),
17455 (gst_bin_change_state_func), (bin_bus_handler):
17456 Fix potential race condition when _get_state() iterated over an
17457 ASYNC element right before it posted a state completion.
17460 Do proper cast here.
17462 * gst/gstevent.c: (gst_event_new_newsegment),
17463 (gst_event_parse_newsegment):
17464 A playback rate of 0.0 is not allowed.
17466 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17468 * win32/common/config.h:
17469 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
17470 (_trewinddir), (_ttelldir), (_tseekdir):
17471 * win32/common/dirent.h:
17472 * win32/common/gtchar.h:
17473 * win32/common/libgstbase.def:
17474 * win32/common/libgstreamer.def:
17475 * win32/vs6/grammar.dsp:
17476 * win32/vs6/gst_inspect.dsp:
17477 * win32/vs6/gst_launch.dsp:
17478 * win32/vs6/gstreamer.dsw:
17479 * win32/vs6/libgstbase.dsp:
17480 * win32/vs6/libgstelements.dsp:
17481 * win32/vs6/libgstreamer.dsp:
17482 Visual Studio 6 project files, and a new common directory.
17485 2005-10-11 Wim Taymans <wim@fluendo.com>
17487 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17488 (gst_base_sink_do_sync), (gst_base_sink_query),
17489 (gst_base_sink_change_state):
17490 * gst/base/gstbasesink.h:
17491 Correctly parse newsegment info.
17493 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17495 * gst/gst.c: (init_post):
17496 split plugin paths correctly
17498 2005-10-11 Wim Taymans <wim@fluendo.com>
17500 * check/gst/gstevent.c: (GST_START_TEST):
17501 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17502 (gst_base_sink_change_state):
17503 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
17504 * gst/base/gstbasetransform.c: (gst_base_transform_event):
17505 * gst/elements/gstfilesink.c: (gst_file_sink_event):
17506 * gst/gstevent.c: (gst_event_new_newsegment),
17507 (gst_event_parse_newsegment):
17509 Added extra flag to newsegment for future API freeze.
17510 Updated check and base elements.
17512 2005-10-11 Julien MOUTTE <julien@moutte.net>
17514 * gst/base/gstcollectpads.c: (gst_collectpads_init),
17515 (gst_collectpads_add_pad), (gst_collectpads_pop),
17516 (gst_collectpads_event), (gst_collectpads_chain):
17517 * gst/base/gstcollectpads.h: Handle EOS correctly.
17519 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17521 * tools/gst-launch.c: (main):
17522 more null protecting
17524 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17526 * gst/gst-i18n-lib.h:
17527 check for ENABLE_NLS, not GETTEXT_PACKAGE
17528 * gst/gstregistry.c: (gst_registry_add_plugin),
17529 (gst_registry_scan_path_level),
17530 (_gst_registry_remove_cache_plugins):
17531 protect possibly NULL strings
17532 * gst/parse/types.h:
17533 config.h already included before
17534 * tools/gst-inspect.c: (main):
17535 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
17536 check for ENABLE_NLS, not GETTEXT_PACKAGE
17537 * tools/gst-launch.c: (main):
17538 check for ENABLE_NLS, not GETTEXT_PACKAGE
17540 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17543 if we don't have glib, fail before testing 2.8
17544 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
17545 fix a leak, should fix plugins-base testsuite
17547 2005-10-11 Andy Wingo <wingo@pobox.com>
17549 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
17550 take the mode we're going to as an arg. Go head and set the mode
17551 and flushing flags now, so that if the activate function starts a
17552 thread all the flags will be in the right state.
17553 (post_activate): Renamed also. Just handle making sure streaming
17554 finishes for the deactivation case, and setting the deactivated
17556 (gst_pad_set_active): Complain loudly if deactivation fails.
17557 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
17558 (gst_pad_activate_push): Adapt to pre/post_activate changes,
17559 remove the terrible hack.
17561 2005-10-11 Wim Taymans <wim@fluendo.com>
17563 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
17564 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
17565 (gst_bin_recalc_state), (gst_bin_change_state_func),
17566 (gst_bin_dispose), (bin_bus_handler):
17568 Prepare to make current EOS message queue more generic.
17571 * gst/gstevent.c: (gst_event_new_newsegment),
17572 (gst_event_parse_newsegment):
17574 Rename base to stream_time.
17576 * gst/gstmessage.h:
17579 2005-10-11 Wim Taymans <wim@fluendo.com>
17581 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
17582 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
17583 (gst_bin_change_state_func), (bin_bus_handler):
17585 Work on proper clock selection.
17587 2005-10-11 Edward Hervey <edward@fluendo.com>
17589 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
17590 * libs/gst/controller/gstcontroller.h:
17591 Added GList* version of _remove_properties() in order to be able to wrap
17594 2005-10-11 Wim Taymans <wim@fluendo.com>
17596 * docs/design/part-states.txt:
17599 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
17600 (gst_bin_change_state_func), (bin_bus_handler):
17601 Doc updates. Don't distribute the same clock over and over again.
17607 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
17608 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
17609 (gst_pad_send_event):
17611 Make probe emission threadsafe again.
17612 Register quarks and move _get_name() from utils.
17615 * gst/gstpipeline.c: (gst_pipeline_class_init),
17616 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
17617 Only redistribute the clock of it changed.
17619 * gst/gstsystemclock.h:
17624 Moved the _flow_get_name() to GstPad.
17626 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17628 * check/gst-libs/gdp.c: (GST_START_TEST):
17629 * check/gst/gstcaps.c: (GST_START_TEST):
17630 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
17631 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
17632 (gst_dp_packet_from_caps):
17633 fix more valgrind warnings before turning up the heat
17635 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17637 * gst/parse/grammar.y:
17638 some cleanup before the hacking
17640 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
17642 * gst/base/gstbasesrc.c: (gst_base_src_query):
17644 * gst/gstutils.c: (gst_guint64_to_gdouble),
17645 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
17647 externalize, basesrc uses it
17648 obviously the implementation needs testing
17650 2005-10-10 Wim Taymans <wim@fluendo.com>
17652 * tests/sched/Makefile.am:
17653 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
17654 (make_pipeline3), (make_pipeline4), (print_elem), (main):
17656 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
17658 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
17659 apparently converting from guint64 to double is not implemented
17662 2005-10-10 Wim Taymans <wim@fluendo.com>
17664 * check/Makefile.am:
17665 * check/generic/states.c: (GST_START_TEST):
17666 * check/gst/gstbin.c: (GST_START_TEST):
17667 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
17668 * check/states/sinks.c: (GST_START_TEST):
17669 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
17671 Check fixes, use API as stated in design docs, remove hacks.
17673 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17674 (gst_base_sink_change_state):
17675 Catch stopping our task while we're shutting down.
17677 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
17678 (gst_bin_remove_func), (gst_bin_get_state_func),
17679 (gst_bin_recalc_state), (gst_bin_change_state_func),
17682 * gst/gstelement.c: (gst_element_init),
17683 (gst_element_get_state_func), (gst_element_abort_state),
17684 (gst_element_commit_state), (gst_element_lost_state),
17685 (gst_element_set_state), (gst_element_change_state),
17686 (gst_element_change_state_func):
17687 * gst/gstelement.h:
17688 New state change algorithm (see #318116)
17690 * gst/gstpipeline.c: (gst_pipeline_class_init),
17691 (gst_pipeline_init), (gst_pipeline_set_property),
17692 (gst_pipeline_get_property), (do_pipeline_seek),
17693 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
17694 * gst/gstpipeline.h:
17695 Remove crude state change hacks.
17698 Remove crude hacks.
17700 * tools/gst-launch.c: (main):
17701 Fixes for state change. Needs some more work to fully use the
17704 2005-10-10 Andy Wingo <wingo@pobox.com>
17706 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
17708 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
17709 this flag, but it's not even in GLib 2.6. Odd. Hack around the
17712 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
17714 * gst/gstiterator.c: (gst_iterator_new):
17715 Fix my previous commit: GTypes passed to gst_iterator_new()
17716 can be fundamental types.
17718 2005-10-10 Wim Taymans <wim@fluendo.com>
17720 * gst/gstelement.c: (gst_element_iterate_pad_list),
17721 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
17722 (gst_element_iterate_sink_pads):
17723 Use src/sink pads lists for the respective iterators instead
17726 2005-10-10 Andy Wingo <wingo@pobox.com>
17728 Merged in popt removal + GOption addition patch from Ronald, bug
17731 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
17732 GstElement macros around, remove popt-related symbols, add goption
17735 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
17737 * docs/gst/Makefile.am:
17738 * docs/libs/Makefile.am: No POPT_CFLAGS.
17740 * examples/manual/Makefile.am:
17741 * docs/manual/basics-init.xml: Doc updates with an example.
17743 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
17744 (gst_init), (parse_one_option), (parse_goption_arg):
17745 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
17746 bit of hand merging and debugging to get the GOption stuff working
17749 * tests/Makefile.am:
17750 * tools/Makefile.am:
17751 * tools/gst-inspect.c: (main):
17752 * tools/gst-launch.c: (main):
17753 * tools/gst-run.c: (main):
17754 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
17756 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
17758 * gst/gstiterator.c: (gst_iterator_new):
17759 Add assertions to make sure passed GType is likely to really
17760 be a GType (as the compiler won't catch it if the size and
17761 GType arguments get mixed up, see #318447).
17763 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
17765 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
17767 * gst/gstbin.c: (gst_bin_iterate_sorted):
17768 Pass GType and size arguments to gst_iterator_new() in the right
17769 order (maybe we should make _new() take the GType as first argument
17770 just like _new_list()?) (#318447).
17773 2005-10-10 Wim Taymans <wim@fluendo.com>
17775 * gst/gstelement.c: (gst_element_finalize):
17776 And free the GStaticRecMutex too
17778 2005-10-10 Andy Wingo <wingo@pobox.com>
17780 * gst/gstelement.c (gst_element_init, gst_element_finalize):
17781 Allocate and free the mutex properly.
17783 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
17785 (GstElement): The state_lock is now recursive. Rebuild your
17786 plugins, suckers. Old macros adapted.
17788 * docs/gst/gstreamer-sections.txt: Doc updates.
17791 * gst/gstutils.c (g_static_rec_cond_timed_wait)
17792 (g_static_rec_cond_wait): Ported from state changes patch, while
17793 we wait on bug #317802 to be solved in a well-distributed GLib.
17795 * gst/gstelement.c (gst_element_change_state_func): Renamed from
17796 gst_element_change_state, variable name changes.
17797 (gst_element_change_state): Split out of gst_element_set_state in
17798 preparation for the state change merge. Doesn't pay attention to
17799 the 'transition' argument.
17800 (gst_element_set_state): Updates, hopefully purely cosmetic.
17801 (gst_element_sync_state_with_parent): MT-safety. Ported from the
17802 state change patch.
17803 (gst_element_get_state_func): Renamed from get_state, cosmetic
17806 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
17808 * gst/elements/gstelements.c:
17809 * win32/GStreamer.vcproj:
17811 * win32/dirent.c: (_tseekdir):
17812 * win32/gst-inspect.vcproj:
17813 * win32/gst-launch.vcproj:
17814 * win32/gstconfig.h:
17815 * win32/gstelements.vcproj:
17816 * win32/gstenumtypes.c: (gst_object_flags_get_type):
17817 * win32/gstreamer.def:
17818 * win32/msvc71.sln:
17819 updates for the win32 build (patch from Sebastien Moutte)
17821 2005-10-10 Andy Wingo <wingo@pobox.com>
17823 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
17824 gst_bin_get_state, cleaned up (but no logic changes).
17825 (bin_element_is_sink): Comment updates.
17826 (sink_iterator_filter): Remove needless cast.
17827 (gst_bin_iterate_sinks): Doc update.
17828 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
17829 cleaned up (but no logic changes).
17831 * check/states/sinks.c (test_src_sink): Cleanups from the state
17833 (test_livesrc_sink): Sync on the state.
17835 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
17836 the state change patch.
17838 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
17841 * check/gst/gstbin.c: Merge in some style fixes and additional
17842 checks from Wim's state change patch.
17844 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
17846 * gst/base/gsttypefindhelper.c: (helper_find_peek),
17847 (gst_type_find_helper):
17848 Check whether we have the requested data already in our list of
17849 cached buffers before pulling a new buffer; also make the buffer
17850 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
17852 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
17857 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
17858 don't use long long, it's not portable. Replacing with
17859 gint64 seems to work; let's hope no skeletons fall out of the closet.
17861 2005-10-10 Andy Wingo <wingo@pobox.com>
17863 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
17865 2005-10-09 Stefan Kost <ensonic@users.sf.net>
17867 * docs/gst/gstreamer-sections.txt:
17872 * gst/gstmessage.c: (gst_message_parse_state_changed):
17875 more docs, fix compilation
17877 2005-10-09 Philippe Khalaf <burger@speedy.org>
17878 * gst/gstmessage.c:
17879 Fixed a few forgotten variables on previous commit
17881 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
17883 * gst/base/gsttypefindhelper.c: (helper_find_peek):
17884 Fix evil typefind crasher: getrange() might return a short
17885 buffer at the end of a file, but gst_type_find_peek() must
17886 either return the full data as requested or NULL, but
17887 never a short buffer.
17889 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
17891 * gst/gstmessage.c: (gst_message_new_state_changed),
17892 (gst_message_parse_state_changed):
17893 * gst/gstmessage.h:
17894 don't use "new", it's a C++ keyword
17896 2005-10-08 Wim Taymans <wim@fluendo.com>
17898 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
17899 * gst/gstelement.c: (gst_element_post_message):
17900 * gst/gstpipeline.c: (gst_pipeline_change_state):
17901 Small docs and debug updates.
17903 2005-10-08 Stefan Kost <ensonic@users.sf.net>
17905 * docs/gst/gstreamer-sections.txt:
17906 * gst/gstelementfactory.c:
17908 * gst/gsttaglist.c:
17911 2005-10-08 Wim Taymans <wim@fluendo.com>
17913 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
17914 (gst_bin_dispose), (bin_bus_handler):
17915 Fix typos, add comments.
17916 Clear EOS list when going to PAUSED from any direction and do it
17917 in a threadsafe way.
17918 Get base time in a threadsafe way too.
17919 Fix confusing debug in the change_state function.
17920 Various other small cleanups.
17922 * gst/gstelement.c: (gst_element_post_message):
17923 Fix very verbose bus posting code.
17925 * gst/gstpipeline.c: (gst_pipeline_class_init),
17926 (gst_pipeline_set_property), (gst_pipeline_get_property),
17927 (gst_pipeline_change_state):
17928 Small ARG_ -> PROP_ cleanup
17930 2005-10-08 Wim Taymans <wim@fluendo.com>
17932 * gst/gstbin.c: (is_eos), (bin_bus_handler):
17933 Do a less CPU demanding EOS check because we can.
17935 2005-10-08 Wim Taymans <wim@fluendo.com>
17937 * libs/gst/dataprotocol/dataprotocol.c:
17938 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
17939 (gst_dp_packet_from_event):
17940 * libs/gst/dataprotocol/dataprotocol.h:
17941 * libs/gst/dataprotocol/dp-private.h:
17942 It's about time we bump the version number.
17943 Since event types don't fit in the guint8 anymore describing
17944 the payload type, make payload type 16 bits wide.
17946 2005-10-08 Wim Taymans <wim@fluendo.com>
17948 * docs/design/part-TODO.txt:
17949 * docs/design/part-clocks.txt:
17950 * docs/design/part-events.txt:
17951 * docs/design/part-gstbin.txt:
17952 * docs/design/part-gstelement.txt:
17953 * docs/design/part-gstpipeline.txt:
17954 * docs/design/part-live-source.txt:
17955 * docs/design/part-messages.txt:
17956 * docs/design/part-overview.txt:
17957 * docs/design/part-states.txt:
17960 2005-10-08 Wim Taymans <wim@fluendo.com>
17964 Fix event quark registration.
17965 Add some space between events so we can insert them in the
17968 2005-10-08 Wim Taymans <wim@fluendo.com>
17970 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17971 (gst_base_sink_handle_buffer):
17972 Better log message.
17975 * gst/gstelement.h:
17978 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
17979 (gst_queue_set_property), (gst_queue_get_property):
17981 Remove old unused properties.
17983 2005-10-08 Stefan Kost <ensonic@users.sf.net>
17984 * docs/gst/gstreamer-sections.txt:
17985 * gst/gstmessage.c:
17986 * gst/gstmessage.h:
17987 * gst/gstminiobject.c:
17988 * gst/gstminiobject.h:
17992 lots of new docs and doc fixes
17994 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
17996 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
17998 * gst/gstregistry.c: (gst_registry_lookup_locked),
17999 (gst_registry_scan_path_level):
18000 * gst/gstregistryxml.c: (load_plugin):
18001 Only ever load one plugin for a given plugin basename.
18002 This ensures correct overriding of GST_PLUGIN_PATH over
18003 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
18004 system installed plugins.
18006 2005-10-08 Wim Taymans <wim@fluendo.com>
18008 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18009 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
18010 Prepare for doing QOS.
18012 2005-10-08 Wim Taymans <wim@fluendo.com>
18014 * check/gst/gstbin.c: (GST_START_TEST):
18015 * check/pipelines/cleanup.c: (GST_START_TEST):
18016 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
18017 Allow new clock message too.
18019 2005-10-08 Wim Taymans <wim@fluendo.com>
18021 * gst/gstmessage.c: (gst_message_new_error),
18022 (gst_message_new_warning), (gst_message_new_tag),
18023 (gst_message_new_state_changed), (gst_message_new_clock_provide),
18024 (gst_message_new_clock_lost), (gst_message_new_new_clock),
18025 (gst_message_new_segment_start), (gst_message_new_segment_done),
18026 (gst_message_parse_state_changed),
18027 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
18028 (gst_message_parse_new_clock):
18029 * gst/gstmessage.h:
18030 Also carry the clock in question.
18032 2005-10-08 Wim Taymans <wim@fluendo.com>
18034 * gst/gstmessage.c: (gst_message_new_custom),
18035 (gst_message_new_eos), (gst_message_new_error),
18036 (gst_message_new_warning), (gst_message_new_tag),
18037 (gst_message_new_state_changed), (gst_message_new_clock_provide),
18038 (gst_message_new_new_clock), (gst_message_new_segment_start),
18039 (gst_message_new_segment_done), (gst_message_parse_state_changed),
18040 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
18041 * gst/gstmessage.h:
18043 Added clock related messages.
18045 * gst/gstpipeline.c: (gst_pipeline_change_state):
18046 Post message when the clock changed.
18048 * tools/gst-launch.c: (event_loop):
18051 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
18053 * tools/gst-inspect.c: (print_element_properties_info):
18054 Can't pass NULL strings to g_print() on windows.
18056 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
18058 * docs/Makefile.am:
18059 * docs/gst/Makefile.am:
18060 * docs/gst/gstreamer-docs.sgml:
18061 * docs/gst/running.xml:
18062 * docs/version.entities.in:
18063 add a chapter on running GStreamer.
18064 document GST_DEBUG and GST_PLUGIN* env vars
18066 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
18071 remove PLUGINS_BUILDDIR stuff
18072 * gst/gst.c: (init_post):
18073 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
18075 remove, it was condescending and not needed
18077 2005-10-08 Wim Taymans <wim@fluendo.com>
18079 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
18080 (gst_base_sink_handle_object), (gst_base_sink_event),
18081 (gst_base_sink_wait), (gst_base_sink_handle_event),
18082 (gst_base_sink_change_state):
18083 * gst/base/gstbasesink.h:
18084 Repost EOS message while going to PLAYING if still EOS.
18085 Make sure that when receiving a FLUSH_START we don't attempt
18086 to sync on the clock anymore.
18088 2005-10-08 Wim Taymans <wim@fluendo.com>
18090 * tools/gst-launch.c: (event_loop):
18091 Better message printout.
18093 2005-10-08 Wim Taymans <wim@fluendo.com>
18095 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
18096 (gst_bin_child_proxy_get_children_count):
18097 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
18098 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
18099 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
18100 (gst_child_proxy_set_valist):
18101 * gst/parse/grammar.y:
18102 Make ChildProxy threadsafe and fix mem leaks.
18104 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
18106 * gst/gst.c: (init_post):
18107 debug the GST_PLUGIN_ env vars
18109 2005-10-08 Wim Taymans <wim@fluendo.com>
18111 * check/gst/gstbin.c: (GST_START_TEST):
18112 * check/gst/gstmessage.c: (GST_START_TEST):
18113 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
18114 * gst/gstelement.c: (gst_element_commit_state),
18115 (gst_element_lost_state):
18116 * gst/gstmessage.c: (gst_message_new_state_changed),
18117 (gst_message_parse_state_changed):
18118 * gst/gstmessage.h:
18119 * tools/gst-launch.c: (event_loop):
18120 Added extra field to STATE_CHANGE message with the pending
18121 state, which will be different from the new state soon.
18123 2005-10-08 Wim Taymans <wim@fluendo.com>
18125 * gst/gstbus.c: (gst_bus_pop):
18127 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
18128 Small cleanups and doc updates.
18130 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
18132 * gst/gst.c: (init_pre):
18133 * gst/gstbin.c: (gst_bin_add_func):
18134 log distributing clocks and base time
18135 * gst/gstregistry.c: (gst_registry_add_plugin),
18136 (gst_registry_scan_path_level), (gst_registry_scan_path):
18137 clean up the debugging output a little
18138 * gst/gstutils.c: (gst_element_state_get_name):
18139 warn about a memleak (I've actually seen this be used, though
18140 it was probably a bug)
18142 2005-10-07 Wim Taymans <wim@fluendo.com>
18144 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18145 (gst_base_src_init), (gst_base_src_default_newsegment),
18146 (gst_base_src_newsegment), (gst_base_src_do_seek),
18147 (gst_base_src_loop), (gst_base_src_start):
18148 * gst/base/gstbasesrc.h:
18149 Make the newsegment event customizable by subclasses.
18151 2005-10-07 Wim Taymans <wim@fluendo.com>
18153 * gst/gstevent.c: (gst_event_new_buffersize),
18154 (gst_event_parse_buffersize):
18156 New event for future idea.
18158 2005-10-07 Andy Wingo <wingo@pobox.com>
18160 * gst/gstelement.c (gst_element_post_message): Doc update.
18162 * docs/gst/gstreamer-sections.txt: Update.
18164 * gst/gstmessage.c (gst_message_new_application): Made into a
18165 function like honest API calls.
18166 (gst_message_new_element): New message type.
18168 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
18170 * check/elements/fakesrc.c (test_no_preroll): New check, checks
18171 that setting a live fakesrc to PAUSED returns NO_PREROLL both
18174 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
18175 NO_PREROLL from gst_element_change_state to fall through.
18177 2005-10-07 Wim Taymans <wim@fluendo.com>
18179 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
18180 (gst_ghost_pad_do_activate_push):
18181 Activating a ghostpad with no internal pad in push mode
18184 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
18187 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
18188 Fixes compilation on Windows.
18190 2005-10-07 Michael Smith <msmith@fluendo.com>
18192 * tools/gst-inspect.c:
18193 Print out feature and plugin count at the end when printing out
18196 2005-10-04 Michael Smith <msmith@fluendo.com>
18198 * gst/gsterror.c: (_gst_stream_errors_init):
18199 Add another error string used in a few existing plugins.
18202 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
18203 * tools/gst-inspect.c: (print_element_info):
18204 When a feature disappears from a plugin (and the feature exists in
18205 the cached registry file), things went horribly wrong. This isn't a
18206 complete fix, we should actually be removing the 'missing' features
18207 from the features list when we load the actual plugin. That's not
18210 2005-10-04 Johan Dahlin <johan@gnome.org>
18212 * check/gst/gstiterator.c: (GST_START_TEST):
18213 * gst/gstbin.c: (gst_bin_iterate_elements),
18214 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
18215 * gst/gstelement.c: (gst_element_iterate_pads):
18216 * gst/gstformat.c: (gst_format_iterate_definitions):
18217 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
18218 (gst_iterator_new_list), (gst_iterator_filter):
18219 * gst/gstiterator.h:
18220 * gst/gstquery.c: (gst_query_type_iterate_definitions):
18221 Add a GType to GstIterator, update callsites and tests.
18223 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
18225 * gst/gstpad.c: (gst_pad_event_default_dispatch):
18226 give events a chance to be handled by event probes when the pad
18229 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
18231 * gst/gstevent.c: (gst_event_type_get_name),
18232 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
18234 add string representations for event types
18236 2005-10-06 Wim Taymans <wim@fluendo.com>
18238 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
18239 Don't use NULL pointers.
18241 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
18243 * gst/gst_private.h:
18245 * gst/gstelement.c:
18247 * gst/gstpluginfeature.c:
18248 widen the debug category in output to fit the biggest one we have
18249 add a bus category and use it
18250 play with the colors
18251 fix up some categories
18253 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
18255 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
18256 add push activation of sink ghost pads.
18257 Andye, please verify
18259 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
18261 * gst/gstutils.c: (gst_element_link_pads):
18262 fix a bug in the case where neither element has a pad
18263 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
18264 add a test for that case
18266 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
18268 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
18269 emit have-data before checking for peers. This allows
18270 for probe handlers to connect elements. This helps autopluggers.
18271 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
18273 add six checks, linked/unlinked with no/true/false probe
18275 2005-10-04 Wim Taymans <wim@fluendo.com>
18277 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
18278 (gst_fake_sink_event), (gst_fake_sink_preroll),
18279 (gst_fake_sink_render), (gst_fake_sink_change_state):
18280 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
18281 (gst_fake_src_get_property), (gst_fake_src_create),
18282 (gst_fake_src_stop):
18283 * gst/elements/gstidentity.c: (gst_identity_stop):
18284 Protect last_message with lock.
18286 2005-10-04 Edward Hervey <edward@fluendo.com>
18289 Added precision in the comments for GST_FORMAT_DEFAULT
18291 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
18293 * tools/gst-launch.c: (main):
18294 Don't try to run erroneous pipelines.
18296 2005-10-04 Julien MOUTTE <julien@moutte.net>
18298 * gst/gstbus.c: We don't need this header.
18300 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
18303 back to development
18305 === release 0.9.3 ===
18307 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
18311 Releasing 0.9.3, "Unregistered"
18313 2005-10-03 Andy Wingo <wingo@pobox.com>
18315 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
18316 whereby calling a pad's activatepush() function can start a thread
18317 that starts to push or pull before the pad gets the FLUSHING flag
18318 unset. Hack around it by holding the stream lock until the flag is
18319 set. Need to replace this with a proper solution. Together with
18320 the ghost pad fixes, this fixes mp3 playing/tagreading.
18322 * docs/design/part-gstghostpad.txt: Add a note about activation of
18323 proxy pads outside of ghost pads.
18325 * gst/gstghostpad.c: Implement the ghost pad activation design.
18327 2005-10-02 Andy Wingo <wingo@pobox.com>
18329 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
18330 It is volatile, after all.
18332 * docs/design/part-gstghostpad.txt: Flesh out activation with
18335 * gst/base/gstbasesrc.c (gst_base_src_init): Use
18338 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
18341 Fix (unused) AM_CONDITIONAL tests.
18343 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
18345 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18347 * gst/gstutils.c: (gst_pad_query_convert):
18348 Add assertion that makes sure src_val is >=0, just like
18349 gst_query_new_convert() has. (#315895)
18351 2005-09-30 Edward Hervey <edward@fluendo.com>
18353 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
18354 Let's not iterate pads we're not interested in, it avoids getting
18355 sky-high refcounts on sinkpad.
18357 2005-09-30 Wim Taymans <wim@fluendo.com>
18359 * gst/gstelement.c: (gst_element_set_state),
18360 (gst_element_change_state):
18361 Small tweak, element in ASYNC remains ASYNC.
18363 2005-09-30 Wim Taymans <wim@fluendo.com>
18365 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
18366 Only error is an error.
18368 * gst/gstbin.c: (gst_bin_change_state):
18371 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
18372 Also call pad_block in pad alloc.
18374 * gst/gstutils.c: (gst_flow_get_name):
18377 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
18379 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18380 (gst_base_src_get_range):
18381 Fix documentation typos. Add some more debug info.
18383 2005-09-29 David Schleef <ds@schleef.org>
18385 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
18386 more end-user friendly.
18387 * tools/gst-inspect.c: (main): Check if command-line argument is
18388 a file and attempt to load that file as a plugin.
18390 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
18392 * check/gst/gstbin.c:
18393 * check/states/sinks.c:
18394 fix tests for the new warning
18395 * check/gst/gstpipeline.c:
18396 add a test for pipeline and bus interaction
18397 * gst/gstelement.c:
18398 elements should be NULL if they get disposed; add a warning if not
18400 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
18403 for 2.6 refcounting, make debug log more correct by printing
18404 the actual refcounts at the time of swap (Wim)
18406 2005-09-29 Andy Wingo <wingo@pobox.com>
18408 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
18409 removes signal watches previously added via
18410 gst_bus_add_signal_watch.
18411 (gst_bus_add_signal_watch): Don't return the source id, just store
18412 it on the bus if there wasn't an id already.
18414 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
18415 add_signal_watch and remove_signal_watch.
18417 2005-09-29 Edward Hervey <edward@fluendo.com>
18419 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
18420 Better if we actually iterate the list :)
18422 2005-09-29 Wim Taymans <wim@fluendo.com>
18424 * check/gst/gstbin.c: (GST_START_TEST):
18425 Change for new bus API.
18427 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
18428 (send_messages), (GST_START_TEST), (gstbus_suite):
18429 Change for new bus signal API.
18431 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
18432 (gst_bus_source_prepare), (gst_bus_source_check),
18433 (gst_bus_create_watch), (gst_bus_add_watch_full),
18434 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
18435 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
18437 Remove support for multiple GSources operating on different
18438 message types as it is too complex and unneeded when using
18440 Added support for receiving signals from the bus.
18442 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
18444 * docs/libs/tmpl/gstdataprotocol.sgml:
18445 * docs/manual/advanced-dataaccess.xml:
18446 * gst/elements/gstcapsfilter.c:
18448 rename filter-caps to caps property
18450 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
18452 * gst/gstvalue.c: (gst_value_deserialize_fraction):
18453 More robust fraction string parsing.
18455 * docs/pwg/appendix-porting.xml:
18456 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
18458 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
18460 * gst/gstcaps.c: (gst_caps_do_simplify):
18461 Thou shalt not free a structure and then continue using it
18462 in the next loop iteration.
18464 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
18466 Add test case for caps simplification.
18468 2005-09-29 Wim Taymans <wim@fluendo.com>
18470 * check/gst/gstbin.c: (GST_START_TEST):
18473 2005-09-29 Wim Taymans <wim@fluendo.com>
18475 * check/gst/gstbin.c: (GST_START_TEST):
18478 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
18479 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
18480 (find_element), (gst_bin_sort_iterator_next),
18481 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18482 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18483 (gst_bin_change_state), (gst_bin_dispose):
18484 A bin does not have a bus, it gets the bus from the parent.
18486 * gst/gstelement.c: (gst_element_requires_clock),
18487 (gst_element_provides_clock), (gst_element_is_indexable),
18488 (gst_element_is_locked_state), (gst_element_change_state),
18489 (gst_element_set_bus_func):
18492 * gst/gstpipeline.c: (gst_pipeline_class_init),
18493 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
18494 The pipeline provides a bus.
18496 2005-09-28 Johan Dahlin <johan@gnome.org>
18498 * gst/gstmessage.c (gst_message_parse_state_changed): Use
18499 gst_structure_get_enum instead of gst_structure_get_int
18501 * gst/gststructure.c (gst_structure_get_enum): Impl.
18503 * gst/gststructure.h (gst_structure_get_enum): Add
18505 * docs/gst/gstreamer-sections.txt: Ditto
18507 * gst/gstmessage.c (gst_message_new_state_changed): Use
18508 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
18509 which does introspection.
18510 Reviewed by Christian Schaller
18512 2005-09-28 Stefan Kost <ensonic@users.sf.net>
18514 * gst/gstinfo.c: (gst_debug_log_default):
18515 don't do dummy g_strdup()s
18516 * libs/gst/controller/gstcontroller.c:
18517 (on_object_controlled_property_changed),
18518 (gst_controlled_property_new), (gst_controller_new_valist),
18519 (gst_controller_new_list),
18520 (gst_controller_remove_properties_valist), (gst_controller_set),
18521 (gst_controller_get), (gst_controller_sync_values),
18522 (gst_controller_get_value_array), (_gst_controller_class_init),
18523 (gst_controller_get_type):
18524 * libs/gst/controller/gstcontroller.h:
18525 * libs/gst/controller/gstinterpolation.c:
18526 (gst_controlled_property_find_timed_value_node):
18527 convert // to /**/ comments
18529 2005-09-28 Wim Taymans <wim@fluendo.com>
18531 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
18532 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
18533 (gst_bus_sync_signal_handler):
18535 Added async-message and sync-message signals to the bus.
18536 Added helper BusFunc to emit signals for all posted messages.
18538 * gst/gstmessage.c: (gst_message_type_get_name),
18539 (gst_message_type_to_quark), (gst_message_get_type):
18540 * gst/gstmessage.h:
18541 Register quarks for message names.
18543 2005-09-28 Stefan Kost <ensonic@users.sf.net>
18545 * docs/libs/gstreamer-libs-sections.txt:
18546 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
18547 (gst_controller_new_list):
18548 * libs/gst/controller/gstcontroller.h:
18549 added another constructor for language bindings
18551 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
18553 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
18557 * gst/gstinfo.c: (_gst_debug_init):
18558 slightly more readable color for refcount debugging
18560 2005-09-28 Wim Taymans <wim@fluendo.com>
18562 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
18563 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
18564 (find_element), (gst_bin_sort_iterator_next),
18565 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18566 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18567 (gst_bin_change_state), (gst_bin_dispose):
18568 Small doc fixes. get_clock -> provide_clock.
18570 * gst/gstelement.c: (gst_element_class_init),
18571 (gst_element_provides_clock), (gst_element_provide_clock),
18572 (gst_element_get_clock), (gst_element_commit_state),
18573 (gst_element_lost_state):
18574 * gst/gstelement.h:
18575 Make get/set_clock() symetric. Add provide_clock vmethod since
18576 that is actually what this function does.
18578 * gst/gstpipeline.c: (gst_pipeline_class_init),
18579 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
18580 (gst_pipeline_get_clock):
18581 get_clock -> provide_clock.
18583 2005-09-28 Andy Wingo <wingo@pobox.com>
18585 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
18586 lieu of real docs...
18588 * gst/elements/gstfdsrc.c: Cleaned up a bit.
18590 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
18592 * gst/elements/gstcapsfilter.c:
18593 * gst/elements/gstfakesink.c:
18594 * gst/elements/gstfakesrc.c:
18595 * gst/elements/gstfdsink.c:
18596 * gst/elements/gstfdsrc.c:
18597 * gst/elements/gstfilesink.c:
18598 * gst/elements/gstfilesrc.c:
18599 * gst/elements/gstidentity.c:
18600 * gst/elements/gsttee.c:
18601 * gst/elements/gsttypefindelement.c:
18602 Make element details static.
18604 2005-09-28 Wim Taymans <wim@fluendo.com>
18606 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18607 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18608 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18609 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18610 (gst_bin_change_state), (gst_bin_dispose):
18611 Some documentation updates.
18612 Clean up dispose handlers.
18614 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
18615 * gst/gstpad.c: (gst_pad_dispose):
18616 Clean up dispose handler.
18618 * gst/gstpipeline.c: (gst_pipeline_change_state):
18619 Removed spurious UNLOCK.
18621 2005-09-27 Stefan Kost <ensonic@users.sf.net>
18623 * docs/gst/gstreamer-sections.txt:
18624 * gst/base/gstbasesrc.h:
18625 * gst/gstelement.h:
18629 * gst/gstpipeline.c:
18630 * gst/gstpipeline.h:
18633 added two new functions to the docs
18634 documents all undocumented GstXXXFlags
18635 completed some incomplete docs
18637 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
18639 * gst/gstbin.c: (gst_bin_dispose):
18640 * gst/gstelement.c: (gst_element_dispose):
18641 remove now useless and leaky resurrection code in dispose
18642 * gst/base/gstbasesrc.c: (gst_base_src_init):
18643 * gst/gstelementfactory.c: (gst_element_factory_create):
18644 * gst/gstobject.c: (gst_object_set_parent):
18647 2005-09-27 Wim Taymans <wim@fluendo.com>
18649 * docs/design/part-TODO.txt:
18652 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18653 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18654 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18655 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18656 (gst_bin_change_state):
18657 * gst/gstelement.h:
18658 Remove element variable, we keep element info in the iterator now.
18660 2005-09-27 Andy Wingo <wingo@pobox.com>
18662 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
18665 2005-09-27 Wim Taymans <wim@fluendo.com>
18667 * check/gst/gstbin.c: (GST_START_TEST):
18668 Enable check that works now.
18670 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18671 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18672 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18673 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18674 (gst_bin_change_state):
18676 Redid the state change algorithm using a topological sort algo.
18677 Handles all cases correctly.
18678 Exposed iterator for state change order.
18680 * gst/gstelement.h:
18681 Temp storage for state changes. Need to get rid of this soon.
18683 2005-09-27 Wim Taymans <wim@fluendo.com>
18685 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
18686 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
18687 (link_fold_func), (gst_pad_proxy_setcaps):
18688 Leak fixes, the fold functions need to unref the passed object and
18689 _get_parent_*() returns ref to parent.
18691 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
18693 * check/gst/gstbuffer.c: (test_make_writable):
18694 Plug leak in test case and fix 'make check-valgrind'
18696 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
18698 * gst/gstbuffer.c: (gst_subbuffer_init):
18699 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
18700 works correctly in all circumstances (we could have just copied
18701 the parent buffer's readonly flag, but conceptually it seems
18702 cleaner to mark all subbuffers as read-only). (based on patch
18703 by Alessandro Decina, #314710).
18705 * check/gst/gstbuffer.c: (create_read_only_buffer),
18706 (test_make_writable), (test_subbuffer_make_writable),
18708 Add some tests for gst_buffer_make_writable().
18710 2005-09-27 Wim Taymans <wim@fluendo.com>
18712 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
18713 use gst_object_has_ancestor().
18715 * gst/gstobject.c: (gst_object_has_ancestor):
18717 gst_object_has_ancestor() copied from gstbin.c as it is a
18720 * tests/instantiate/create.c: (create_all_elements):
18721 * tests/lat.c: (handoff_src), (handoff_sink):
18722 * tests/sched/runxml.c: (main):
18723 * tests/seeking/seeking1.c: (main):
18724 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
18726 Fix compilation of some tests.
18728 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
18731 Remove comment. GST_TYPE_G_ERROR is here to stay,
18732 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
18733 (#316961, #300610).
18735 2005-09-26 Wim Taymans <wim@fluendo.com>
18737 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
18738 Added check that shows error in state change order.
18740 2005-09-26 Wim Taymans <wim@fluendo.com>
18742 * gst/gstbin.c: (gst_bin_change_state):
18743 Make state change function use 3 queues again, we were
18744 adding elements in the wrong order.
18746 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
18749 * gst/gstpad.c: (gst_pad_dispose):
18750 Added some debug info first.
18752 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
18754 * docs/design/draft-push-pull.txt:
18755 * docs/design/part-events.txt:
18756 * docs/design/part-overview.txt:
18757 * docs/design/part-scheduling.txt:
18758 Replace all _pull_region() with _pull_range()
18760 2005-09-26 Andy Wingo <wingo@pobox.com>
18762 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
18764 * check/gst-libs/controller.c: Update for controller api change.
18767 * tests/Makefile.am:
18768 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
18769 over by GLib bug 118439.
18771 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
18772 routines to a function.
18774 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
18776 * libs/gst/controller/gsthelper.c:
18777 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
18778 (gst_object_sync_values): Renamed from sink_values. Ugh.
18780 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
18782 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
18783 Renamed from controller_key, as it is exported.
18785 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
18787 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
18792 * gst/gstpadtemplate.h:
18795 * gst/gstqueryutils.c:
18796 * gst/gstqueryutils.h:
18797 remove queryutils headers after moving the two used functions
18798 to gstquery. also fixes build problem for gstsiddec
18800 2005-09-26 Michael Smith <msmith@fluendo.com>
18802 * tools/gst-launch.1.in:
18803 Correct documentation in manpage of debug syntax
18805 2005-09-26 Wim Taymans <wim@fluendo.com>
18807 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
18808 (gst_base_src_is_seekable), (gst_base_src_change_state):
18809 Some more debugging info.
18811 2005-09-25 Stefan Kost <ensonic@users.sf.net>
18813 * docs/gst/gstreamer-sections.txt:
18814 * gst/base/gstbasetransform.h:
18818 2005-09-25 Stefan Kost <ensonic@users.sf.net>
18820 * docs/gst/.cvsignore:
18821 * docs/gst/tmpl/.cvsignore:
18822 * docs/gst/tmpl/gstpipeline.sgml:
18823 * docs/gst/tmpl/gstplugin.sgml:
18824 * gst/gstpipeline.c:
18827 inlined the last two docs files
18828 removed the tmpl directory from cvs (no more conflicts here!)
18830 2005-09-25 Stefan Kost <ensonic@users.sf.net>
18832 * docs/gst/gstreamer-sections.txt:
18833 * docs/gst/tmpl/.cvsignore:
18834 * docs/gst/tmpl/gstpad.sgml:
18835 * docs/gst/tmpl/gstpadtemplate.sgml:
18837 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
18838 (gst_pad_finalize), (gst_pad_set_pad_template):
18840 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
18841 (gst_pad_template_class_init), (gst_pad_template_init),
18842 (gst_pad_template_dispose), (name_is_valid),
18843 (gst_static_pad_template_get), (gst_pad_template_new),
18844 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
18845 (gst_pad_template_pad_created):
18846 * gst/gstpadtemplate.h:
18847 inlined two more docs
18848 factored gstpadtemplate out of gstpad
18850 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
18852 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
18853 (test_children_state_change_order_semi_sink):
18854 Fix test case: we can't rely on a fixed state change order when
18855 going from READY => PAUSED because the sink might commit its
18856 new state first when the first buffer created by the source
18857 reaches the sink before the source has finished its change state.
18858 (Test case still fails at times, see #316856, comment 5 onwards)
18860 2005-09-24 Wim Taymans <wim@fluendo.com>
18862 * docs/design/part-events.txt:
18863 * docs/design/part-gstbus.txt:
18864 * docs/design/part-gstpipeline.txt:
18865 * docs/design/part-messages.txt:
18866 * docs/design/part-overview.txt:
18867 * docs/design/part-segments.txt:
18871 * gst/gstelement.c:
18874 * gst/gstiterator.c:
18875 Various documentation updates.
18877 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
18880 Well, that's embarassing. Luckily we weren't using
18881 GST_CLOCK_DIFF anywhere.
18883 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
18885 * common/gtk-doc.mak:
18886 don't fail on building XML, FC4 slave shows a bunch of doc
18887 missing bits that I don't get
18889 * gst/gstpipeline.c:
18890 * gst/gststructure.c:
18893 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
18895 * docs/design/part-gstbin.txt:
18896 * docs/design/part-gstbus.txt:
18898 Add blurb about how the bus goes into flushing mode and
18899 drops all messages when its bin goes from READY into NULL
18902 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
18904 * docs/gst/gstreamer-sections.txt:
18905 * gst/gststructure.c: (gst_structure_get_clock_time):
18906 * gst/gststructure.h:
18907 add a method to get a GstClockTime out of a structure
18909 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
18911 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
18912 (test_children_state_change_order_semi_sink), (gst_bin_suite):
18913 Added test to check state change order in bins (can still be made
18914 to fail here under heavy disk load; bails out with 'Push on pad
18915 fakesink:sink0, but it was not activated in push mode').
18917 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
18918 Fix state change order when there is only a semi sink (#316856)
18920 * gst/gstbus.c: (gst_bus_class_init):
18921 Use _class_peek_parent(), not _class_ref(); fix docs to say
18922 'default main context' instead of 'mainloop' where that is
18925 * gst/gstelement.c: (gst_element_commit_state),
18926 (gst_element_set_state):
18927 Fix typos in debug messages
18929 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
18932 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
18933 * gst/gstpluginfeature.c:
18935 various doc updates
18936 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18937 change an assert into an error until it gets fixed properly
18939 2005-09-23 Stefan Kost <ensonic@users.sf.net>
18941 * docs/gst/gstreamer-sections.txt:
18942 * docs/gst/tmpl/.cvsignore:
18943 * docs/gst/tmpl/gstelement.sgml:
18944 * docs/gst/tmpl/gstinfo.sgml:
18945 * docs/gst/tmpl/gstobject.sgml:
18946 * gst/gstelement.c:
18947 * gst/gstelement.h:
18950 * gst/gstobject.c: (gst_object_class_init):
18952 inlined 3 more biiiig doc files and added some missing docs on the fly
18954 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
18956 * check/gst/.cvsignore:
18957 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
18958 * gst/gstregistryxml.c: (load_plugin),
18959 (gst_registry_xml_save_plugin):
18960 put back source in registry. add checks for find_plugin.
18961 * testsuite/states/bin.c: (assert_state), (empty_bin),
18962 (test_adding_one_element), (main):
18963 * testsuite/states/locked.c: (main):
18964 some compile/run fixes
18966 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
18968 * check/gst/gstvalue.c: (GST_START_TEST):
18969 fix leaks in the test itself
18971 2005-09-22 Wim Taymans <wim@fluendo.com>
18973 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18974 (gst_base_sink_send_event), (gst_base_sink_peer_query),
18975 (gst_base_sink_query):
18976 Prepare for more accurate position reporting and query
18979 * gst/gstelement.c: (gst_element_send_event),
18980 (gst_element_set_state):
18983 2005-09-22 Wim Taymans <wim@fluendo.com>
18985 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
18986 (gst_query_parse_segment):
18988 More documentation.
18989 Add segment query for future use.
18991 2005-09-22 Wim Taymans <wim@fluendo.com>
18993 * gst/gstbin.c: (gst_bin_add_func):
18994 Some more debug info.
18996 * gst/gstelement.c: (gst_element_send_event):
18997 Simplify send_event
18999 * gst/gstelement.h:
19000 Don't know how flags got broken.
19005 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
19007 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
19008 Add simplistic test suite for GST_TYPE_DATE serialisation and
19011 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
19013 * docs/gst/gstreamer-sections.txt:
19014 * gst/gststructure.c: (gst_structure_set_valist),
19015 (gst_structure_get_date):
19016 * gst/gststructure.h:
19017 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
19018 (gst_date_copy), (gst_value_compare_date),
19019 (gst_value_serialize_date), (gst_value_deserialize_date),
19020 (gst_value_transform_date_string),
19021 (gst_value_transform_string_date), (_gst_value_initialize):
19023 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
19024 bunch of utility functions along with a hack that checks that
19025 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
19026 is required. Part of the grand scheme in #170777.
19028 2005-09-22 Andy Wingo <wingo@pobox.com>
19030 * gst/gstconfig.h.in: Psych out gtk-doc.
19032 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
19034 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
19036 * tools/gst-inspect.c (print_element_list): Plug some
19037 inconsequential leaks.
19039 * gst/gstregistry.c (gst_registry_get_default): Doc.
19041 * check/gst/gstplugin.c:
19042 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
19043 * gst/gstelementfactory.c (gst_element_factory_create):
19044 * gst/gstindexfactory.c (gst_index_factory_create): Update for
19047 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
19048 (gst_plugin_feature_load): Doc, don't eat refs.
19050 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
19051 (gst_plugin_list_free): Doc.
19052 (gst_plugin_load_file): Doc updates.
19054 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
19055 accessors returning refcounted objects, return a ref.
19057 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
19058 accessor for caps. IDEMPOTENCE. Oh yes.
19060 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
19062 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
19064 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
19065 (_gst_debug_register_funcptr):
19066 Add mutex to serialise access to the hash table with
19067 the function pointer => function name string mapping;
19068 make that hash table static scope (#316809).
19070 * gst/registries/.cvsignore:
19071 Remove left-over file.
19073 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
19075 * docs/pwg/appendix-porting.xml:
19076 And something about newsegment events and caps-on-buffers to
19077 the porting guide (feel free to improve).
19079 2005-09-21 Andy Wingo <wingo@pobox.com>
19081 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
19082 data and event probes on the same pad.
19083 (test_buffer_probe_once): Test that removing probes from within
19084 the probe functions works.
19086 2005-09-21 Andy Wingo <wingo@pobox.com>
19088 * check/gst/gstutils.c: New file.
19089 (test_buffer_probe_n_times): A simple buffer probe test. More to
19092 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
19093 have-data::buffer, not have-data.
19094 (gst_pad_add_event_probe): Likewise for have-data::event.
19095 (gst_pad_add_data_probe): More docs. The part about 'resolving the
19096 peer' isn't quite right yet though.
19097 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
19098 (gst_pad_remove_data_probe): Change to take the guint handler_id
19099 as their arg, not the function+data, which is more glib-like.
19101 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
19102 the signal emission to indicate if the data is a buffer or an
19104 (gst_pad_get_type): Initialize buffer and event quarks.
19105 (gst_pad_class_init): have-data is now a detailed signal, yes it
19108 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
19110 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
19111 * gst/gstutils.c: (gst_util_set_value_from_string),
19112 (gst_util_set_object_arg):
19113 Don't put functional code in g_return_if_fail() or
19114 g_return_val_if_fail() statements, otherwise things will
19115 break when G_DISABLE_CHECKS is defined during compilation.
19117 2005-09-21 Stefan Kost <ensonic@users.sf.net>
19119 * docs/gst/tmpl/.cvsignore:
19120 * docs/gst/tmpl/gstvalue.sgml:
19123 inlied another one and added some obvious docs
19125 2005-09-21 Wim Taymans <wim@fluendo.com>
19127 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
19128 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
19129 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
19130 (gst_fdsrc_get_property), (gst_fdsrc_create):
19131 * gst/elements/gstfdsrc.h:
19132 Properly implement fdsrc. Removed signal and timeout,
19133 better implemented somewhere else.
19135 2005-09-21 Stefan Kost <ensonic@users.sf.net>
19137 * docs/gst/tmpl/.cvsignore:
19138 * docs/gst/tmpl/gstimplementsinterface.sgml:
19139 * gst/gstinterface.c:
19142 2005-09-21 Stefan Kost <ensonic@users.sf.net>
19144 * docs/gst/gstreamer-sections.txt:
19145 * docs/gst/tmpl/.cvsignore:
19146 * docs/gst/tmpl/gstenumtypes.sgml:
19147 remove obsolete doc file
19149 2005-09-21 David Schleef <ds@schleef.org>
19151 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
19152 little beer, fix a little leak.
19154 2005-09-21 Stefan Kost <ensonic@users.sf.net>
19156 * docs/gst/gstreamer-docs.sgml:
19157 * docs/gst/gstreamer-sections.txt:
19158 * docs/gst/tmpl/.cvsignore:
19162 * gst/gstelement.h:
19163 * gst/gstindex.c: (gst_index_class_init):
19165 * gst/gstindexfactory.c: (gst_index_factory_get_type),
19166 (gst_index_factory_class_init), (gst_index_factory_init),
19167 (gst_index_factory_finalize), (gst_index_factory_new),
19168 (gst_index_factory_destroy), (gst_index_factory_find),
19169 (gst_index_factory_create), (gst_index_factory_make):
19170 * gst/gstindexfactory.h:
19171 * gst/gstpluginfeature.c:
19172 * gst/gstpluginfeature.h:
19173 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19174 more docs inlined, splitted gstindex.{c,h}
19176 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
19178 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19181 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
19183 * gst/elements/gstfilesink.c: (gst_file_sink_init):
19184 Set sync to FALSE by default.
19186 2005-09-20 Wim Taymans <wim@fluendo.com>
19188 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19189 (gst_base_sink_init):
19190 Make sync property settable from subclass.
19192 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
19193 (gst_fake_sink_change_state):
19194 Set sync to FALSE by default.
19196 2005-09-20 Wim Taymans <wim@fluendo.com>
19198 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
19199 * tools/gst-launch.c: (main):
19200 The timeout handler should have lower priority than the source
19201 so we don't timeout before popping a message with 0 timeout.
19202 Dump error messages after failed state change.
19204 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
19206 * tools/gst-inspect.c: (print_element_properties_info):
19209 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
19211 * check/gst/gstevent.c:
19212 * gst/elements/gstfakesink.c:
19213 * gst/elements/gstfakesink.h:
19214 remove the sync property from fakesink.
19215 has the side effect of setting sync TRUE
19216 for fakesink, which is a change. Anyone who knows how
19217 to fix this nicely in a GObject-y way, feel free.
19219 2005-09-20 Stefan Kost <ensonic@users.sf.net>
19221 * docs/gst/gstreamer-docs.sgml:
19222 remove probe refsection
19224 2005-09-20 Stefan Kost <ensonic@users.sf.net>
19226 * check/Makefile.am:
19227 disable valgrinding the controller test again
19228 * docs/gst/gstreamer-sections.txt:
19229 update for api-changes
19231 2005-09-20 Wim Taymans <wim@fluendo.com>
19233 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19234 (gst_base_sink_set_property), (gst_base_sink_get_property),
19235 (gst_base_sink_do_sync):
19236 * gst/base/gstbasesink.h:
19237 Added sync property to basesink to disable clock sync.
19239 2005-09-20 Andy Wingo <wingo@pobox.com>
19241 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
19242 eating the caller's refcount.
19244 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
19245 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
19248 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
19249 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
19250 of GLib 2.8 public, so we can know which refcount to check in
19253 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
19254 (gst_object_init): Only set the gst refcount if we're going ahead
19255 with the refcount hack.
19257 2005-09-20 Stefan Kost <ensonic@users.sf.net>
19259 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
19260 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19261 more leaks plumbed, added more debug-logging
19265 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
19267 * gst/gstmessage.c:
19268 remove include of gstmemchunk.h
19270 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
19272 * gst/gstclock.c: (_gst_clock_id_free):
19273 Commit from the Political Party For More Atomic CVS Commits,
19274 so that people don't waste too much of their day fishing
19275 out obvious leaks out of massive commits.
19276 Oh, and fix a pretty damn obvious leak in the memchunk
19279 2005-09-20 Stefan Kost <ensonic@users.sf.net>
19281 * check/Makefile.am:
19282 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
19283 plug mem-leak, re-add to valgrindable tests
19285 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
19288 unbreak the build for those who have chronic arthritis
19289 and typing "make check" is just too taxing on the hands
19291 2005-09-20 Andy Wingo <wingo@pobox.com>
19293 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
19294 really want it out, you should fix plugins at the same time.
19296 2005-09-19 Stefan Kost <ensonic@users.sf.net>
19299 * docs/gst/gstreamer-sections.txt:
19301 added missing symbols to api docs
19302 disable ref-count hack if we have glib >= 2.8
19304 2005-09-19 David Schleef <ds@schleef.org>
19306 * docs/gst/Makefile.am: Ignore a few more internal headers
19307 * docs/gst/gstreamer-docs.sgml: Remove old sections
19308 * docs/gst/gstreamer-sections.txt: Remove old sections
19309 * docs/gst/tmpl/gstobject.sgml: update
19310 * docs/gst/tmpl/gstplugin.sgml: update
19311 * docs/gst/tmpl/gstpluginfeature.sgml: update
19312 * docs/random/ds/0.9-suggested-changes: update.
19313 * gst/Makefile.am: remove memchunk and trashstack, since they're
19315 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
19316 * gst/gst.h: don't include some headers
19317 * gst/gstchildproxy.c: add gstmarshal.h
19318 * gst/gstclock.c: Don't use memchunks
19319 * gst/gstminiobject.c: Add some docs
19320 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
19321 * gst/gstobject.h: same
19322 * gst/gstplugin.c: include gstmacros.h
19323 * gst/gstplugin.h: don't include gstmacros.h, since it's private
19324 * gst/gstquery.c: don't use memchunks
19325 * gst/gstregistry.c: rename gst_registry_deinit()
19326 * gst/gstregistry.h: same
19328 2005-09-19 David Schleef <ds@schleef.org>
19330 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
19331 * docs/libs/gstreamer-libs-sections.txt:
19332 * docs/libs/tmpl/gstgetbits.sgml:
19333 * docs/libs/tmpl/gstputbits.sgml:
19335 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
19337 * win32/gstenumtypes.c:
19338 * win32/gstenumtypes.h:
19341 2005-09-19 Wim Taymans <wim@fluendo.com>
19343 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
19344 Automatically PAUSE and RESUME a pipeline when a flushing seek
19347 2005-09-19 Andy Wingo <wingo@pobox.com>
19349 * gst/gstregistry.h: Spacing fixen.
19351 2005-09-19 Wim Taymans <wim@fluendo.com>
19353 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
19354 Handle state change failure more correctly.
19356 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
19358 * check/Makefile.am:
19359 * check/pipelines/cleanup.c: (run_pipeline):
19360 * check/pipelines/simple_launch_lines.c: (run_pipeline),
19362 enable cleanup again after fixing the leak
19364 some more info on docs
19366 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
19368 * check/Makefile.am:
19369 re-enable tests now that leaks are plugged
19371 * check/gst/gstbin.c:
19372 * check/gst/gstpipeline.c:
19373 add some more tests while fixing leaks
19374 * common/check.mak:
19375 make sure binaries are uptodate when valgrinding/gdbing
19377 * gst/gstelementfactory.c:
19378 remove a ref too many, and add a FIXME for when we get
19379 round to disposing of classes
19381 fix the refcounting when loading a plugin from a file and
19382 the code pretends that the pointer is the same even though
19383 of course it can change
19384 * gst/gstpluginfeature.c:
19385 unref plugins marked cached (a bit confusing as a name)
19386 as the docs state should be done
19387 various doc additions to explain refcounting
19388 * gst/gstregistry.c:
19389 * gst/gstregistryxml.c:
19392 2005-09-19 Wim Taymans <wim@fluendo.com>
19394 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
19395 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
19396 (send_messages), (GST_START_TEST), (gstbus_suite):
19397 * check/gst/gstpipeline.c: (GST_START_TEST):
19398 * check/pipelines/cleanup.c: (run_pipeline):
19399 * check/pipelines/simple_launch_lines.c: (run_pipeline),
19401 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
19402 (gst_bus_source_check), (gst_bus_source_dispatch),
19403 (gst_bus_create_watch), (gst_bus_add_watch_full),
19404 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
19406 * tools/gst-launch.c: (event_loop):
19407 * tools/gst-md5sum.c: (event_loop):
19408 GstBusHandler -> GstBusFunc, return value has the same meaning as
19409 any other GSource (FALSE == remove source).
19410 _add_watch() and _add_watch_full() now take a MessageType mask to
19411 only handle specific types of messages.
19412 _poll() returns the GstMessage instead of the message type to avoid
19414 _have_pending() takes a MessageType mask now too.
19415 Added testsuite for multiple bus watches.
19416 Fix testsuites and applications for new bus API.
19418 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
19420 * check/Makefile.am:
19421 mark a bunch of the tests as to fix until we fix them
19423 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
19425 * common/check.mak:
19426 use GST_PLUGIN settings for valgrind tests as well, so we're
19427 valgrinding the correct thing
19428 * gst/gst.c: (init_post):
19431 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
19433 * gst/gst.c: (init_post), (gst_deinit):
19434 * gst/gstelementfactory.c: (gst_element_factory_class_init),
19435 (gst_element_factory_finalize), (gst_element_factory_cleanup):
19436 * gst/gstindex.c: (gst_index_factory_class_init),
19437 (gst_index_factory_finalize):
19438 * gst/gstobject.c: (gst_object_dispose):
19439 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
19440 (gst_plugin_load_file), (gst_plugin_desc_free):
19441 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
19442 (gst_plugin_feature_finalize):
19443 * gst/gstregistry.c: (gst_registry_class_init),
19444 (gst_registry_init), (gst_registry_finalize),
19445 (gst_registry_get_default), (gst_registry_deinit):
19446 * gst/gstregistry.h:
19447 * gst/gstregistryxml.c: (load_feature), (load_plugin):
19448 various cleanups and memleak plugging. make valgrind is happy now.
19450 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
19452 * common/check.mak:
19453 add a check-valgrind target
19455 2005-09-18 David Schleef <ds@schleef.org>
19457 * tools/gst-inspect.c: Revert the GOption code.
19459 2005-09-17 David Schleef <ds@schleef.org>
19461 * check/Makefile.am: Fix environment variables.
19462 * check/gst/gstplugin.c: Fix for API changes.
19463 * tools/gst-inspect.c: Fix for API changes.
19464 * tools/gst-xmlinspect.c: Fix for API changes.
19465 * gst/gstelementfactory.c:
19468 * gst/gstpluginfeature.c:
19469 * gst/gstpluginfeature.h:
19470 * gst/gstregistry.c:
19471 * gst/gstregistry.h:
19472 * gst/gstregistryxml.c:
19473 * gst/gsttypefind.c:
19474 * gst/gsttypefindfactory.c:
19475 * gst/indexers/gstfileindex.c:
19476 * gst/indexers/gstmemindex.c:
19477 * gst/schedulers/Makefile.am:
19478 Change registry to keep track of both plugins and features,
19479 removing the feature tracking from plugins themselves.
19481 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
19483 * check/Makefile.am:
19484 * tools/gst-register.1.in:
19485 remove gst-register
19487 2005-09-15 David Schleef <ds@schleef.org>
19489 * check/gst/gstplugin.c:
19490 * gst/gstelementfactory.c:
19492 * gst/gstpluginfeature.c:
19493 * gst/gstregistry.c:
19494 Getting tired of debugging. Disabled all the unreffing of
19495 plugins and features, which fixes the segfaults, but of
19496 course leaks like crazy. At least playbin works.
19498 2005-09-15 David Schleef <ds@schleef.org>
19500 * check/gst/gstplugin.c: (register_check_elements),
19501 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
19503 * gst/elements/gsttypefindelement.c: Fix refcounting.
19504 * gst/gsttypefind.c:
19505 * gst/gsttypefindfactory.c:
19506 * gst/gsttypefindfactory.h:
19508 2005-09-15 David Schleef <ds@schleef.org>
19510 * gst/gstindex.c: get refcounting correct.
19511 * gst/gstregistry.c: Handle the case where a feature/plugin is
19514 2005-09-15 David Schleef <ds@schleef.org>
19516 * check/Makefile.am:
19517 * check/gst/gstplugin.c: Add test
19518 * gst/gstplugin.c: Fix problems noticed by testsuite
19520 * gst/gstregistry.c:
19521 * gst/gstregistry.h:
19523 2005-09-15 David Schleef <ds@schleef.org>
19525 * gst/gstplugin.c: Implement semi-decent recounting and locking
19526 in plugins and plugin features.
19528 * gst/gstpluginfeature.c:
19529 * gst/gstpluginfeature.h:
19530 * gst/gstregistry.c:
19532 2005-09-15 Michael Smith <msmith@fluendo.com>
19534 * gst/gstregistry.c: (gst_registry_get_feature_list):
19535 Implement this. Makes oggdemux work; decodebin still broken.
19537 2005-09-14 David Schleef <ds@schleef.org>
19539 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
19541 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
19542 * gst/check/Makefile.am:
19543 * libs/gst/controller/Makefile.am:
19544 * libs/gst/dataprotocol/Makefile.am:
19546 2005-09-14 David Schleef <ds@schleef.org>
19548 * configure.ac: Remove getbits library. Nothing uses it, and
19549 it should be in something like liboil if someone did want
19551 * libs/gst/Makefile.am:
19552 * libs/gst/getbits/Makefile.am:
19553 * libs/gst/getbits/gbtest.c:
19554 * libs/gst/getbits/getbits.c:
19555 * libs/gst/getbits/getbits.h:
19556 * libs/gst/getbits/gstgetbits_generic.c:
19557 * libs/gst/getbits/gstgetbits_i386.s:
19558 * libs/gst/getbits/gstgetbits_inl.h:
19560 2005-09-14 David Schleef <ds@schleef.org>
19562 * gst/Makefile.am: Dist glib-compat.h
19564 2005-09-14 David Schleef <ds@schleef.org>
19566 * configure.ac: Remove gst/registries, since it's no longer used.
19567 * gst/registries/Makefile.am:
19568 * gst/registries/gstlibxmlregistry.c:
19569 * gst/registries/gstlibxmlregistry.h:
19570 * gst/registries/gstxmlregistry.c:
19571 * gst/registries/gstxmlregistry.h:
19572 * gst/registries/registrytest.c:
19574 2005-09-14 David Schleef <ds@schleef.org>
19576 * gst/glib-compat.h:
19577 * gst/gstregistryxml.c:
19578 Convergence is near. Seriously.
19580 2005-09-14 David Schleef <ds@schleef.org>
19582 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19583 * gst/glib-compat.h:
19584 Attempt #4 to appease the buildbots.
19586 2005-09-14 David Schleef <ds@schleef.org>
19588 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19591 2005-09-14 David Schleef <ds@schleef.org>
19593 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19596 2005-09-14 David Schleef <ds@schleef.org>
19598 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
19601 2005-09-14 David Schleef <ds@schleef.org>
19603 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19604 * gst/glib-compat.h: Add some functions that are in newer versions
19605 of glib than we care to require.
19606 * gst/gstregistryxml.c: Use them.
19608 2005-09-14 David Schleef <ds@schleef.org>
19610 * po/POTFILES.in: remove gst-register.c
19612 2005-09-14 David Schleef <ds@schleef.org>
19614 * docs/gst/gstreamer-docs.sgml:
19615 * docs/gst/gstreamer-sections.txt:
19616 * docs/gst/gstreamer.types:
19617 * docs/gst/tmpl/gstelement.sgml:
19618 * docs/gst/tmpl/gstplugin.sgml:
19619 * docs/gst/tmpl/gstpluginfeature.sgml:
19620 Documentation updates for registry changes.
19622 2005-09-14 David Schleef <ds@schleef.org>
19624 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
19625 because we don't require glib-2.8.
19627 2005-09-14 David Schleef <ds@schleef.org>
19629 * gst/gstregistryxml.c: Added. Essentially moved out of the
19630 registries directory.
19632 2005-09-14 David Schleef <ds@schleef.org>
19634 * check/Makefile.am:
19635 * check/generic/states.c:
19639 * gst/gst_private.h:
19640 * gst/gstelementfactory.c:
19645 * gst/gstpluginfeature.c:
19646 * gst/gstpluginfeature.h:
19647 * gst/gstregistry.c:
19648 * gst/gstregistry.h:
19649 * gst/gstregistrypool.c: remove
19650 * gst/gstregistrypool.h: remove
19651 * gst/gsttypefind.c:
19652 * gst/gsttypefindfactory.c:
19654 * tools/Makefile.am:
19655 * tools/gst-compprep.c:
19656 * tools/gst-inspect.c:
19657 * tools/gst-register.c: remove
19658 * tools/gst-xmlinspect.c:
19659 Registry rewrite. Changes registry from being a file created
19660 by a tool into a simple cache file created automatically by
19661 libgstreamer. Removed gst-register (because it's no longer
19662 needed). Remove registry pools, because we only have one
19663 registry implementation (XML). Fix up other subsystems as
19666 2005-09-13 Michael Smith <msmith@fluendo.com>
19668 * gst/gstconfig.h.in:
19669 Don't Use windows linking attributes for MinGW. Fixes #316157
19671 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
19673 * gst/gstutils.c: (set_state_async_thread_func),
19674 (gst_element_set_state_async):
19675 Apparently people think it's better if this function doesn't
19676 try to set the state to whatever state was asked for on the first
19677 call to this function for any object. Seriously.
19679 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
19681 * check/gst/gstpipeline.c: (GST_START_TEST):
19682 * docs/gst/gstreamer-sections.txt:
19683 * gst/gstutils.c: (set_state_async_thread_func),
19684 (gst_element_set_state_async):
19686 add a "gst_element_set_state_async" method that
19687 sets the state and starts a thread to make sure the state
19688 change completes as best as it can
19690 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
19692 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
19693 codify design+behaviour in testsuite after discussion
19695 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
19697 * docs/gst/tmpl/gstelement.sgml:
19698 * docs/manual/appendix-quotes.xml:
19700 * gst/gstelement.c: (gst_element_set_state):
19703 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
19705 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19706 (gst_base_transform_prepare_output_buf),
19707 (gst_base_transform_handle_buffer):
19708 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
19709 (gst_capsfilter_prepare_buf):
19710 Remove the requirement for sub-classes to call the parent
19711 implementation of prepare_output_buffer with a wrapper function.
19713 * gst/gsttaglist.h:
19714 * gst/gsttagsetter.h:
19715 Fix #define wrapper
19717 2005-09-11 Stefan Kost <ensonic@users.sf.net>
19719 * docs/gst/gstreamer-sections.txt:
19722 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
19724 * docs/gst/gstreamer-sections.txt:
19725 * docs/gst/tmpl/gstelement.sgml:
19726 * docs/gst/tmpl/gstplugin.sgml:
19727 * gst/gstminiobject.c:
19729 docs now stop throwing warnings
19731 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
19733 * docs/gst/gstreamer-sections.txt:
19734 * docs/gst/gstreamer.types:
19735 * docs/gst/tmpl/gstpad.sgml:
19736 * docs/gst/tmpl/gsttypes.sgml:
19737 * gst/base/gstadapter.h:
19738 * gst/base/gstbasesink.h:
19739 * gst/base/gstbasesrc.h:
19745 * gst/gstelement.h:
19747 * gst/gstmessage.h:
19749 * gst/gststructure.c:
19750 * gst/registries/gstlibxmlregistry.h:
19751 various documentation fixes
19753 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
19755 * docs/gst/gstreamer-sections.txt:
19756 * docs/gst/tmpl/gstvalue.sgml:
19757 rearrange gstvalue section
19758 * gst/gstutils.c: (gst_element_state_get_name):
19760 * gst/gstvalue.c: (_gst_value_initialize):
19764 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
19766 * check/gst-libs/controller.c:
19767 Header include fix.
19768 * gst/base/gstbasetransform.c:
19769 (gst_base_transform_default_prepare_buf),
19770 (gst_base_transform_handle_buffer):
19771 * gst/base/gstbasetransform.h:
19772 Some more basetransform changes and fixes to enable sub-classes
19773 that modify buffer metadata only.
19774 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
19775 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
19776 (gst_capsfilter_prepare_buf):
19777 If the output pad has fixed allowed caps and input buffers
19778 don't have any, set the fixed caps on outgoing buffers.
19780 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
19781 * check/elements/identity.c: (GST_START_TEST):
19782 Make the error a little clearer when the test fails because
19783 identity made a copy of the buffer.
19784 * docs/gst/gstreamer-sections.txt:
19785 New symbols in gstbasetransform.h
19786 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19787 (gst_base_transform_init), (gst_base_transform_transform_size),
19788 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
19789 (gst_base_transform_default_prepare_buf),
19790 (gst_base_transform_get_unit_size),
19791 (gst_base_transform_buffer_alloc),
19792 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
19793 (gst_base_transform_change_state),
19794 (gst_base_transform_set_passthrough),
19795 (gst_base_transform_set_in_place),
19796 (gst_base_transform_is_in_place):
19797 * gst/base/gstbasetransform.h:
19798 Change BaseTransform to separate in_place operate from same_caps
19799 output. in_place implies that the element can perform the transform
19800 on incoming buffers in-place, even if the caps on the output are
19802 Sub-class elements can now implement special buffer allocation
19803 methods for outgoing buffers if they wish to.
19804 Big documentation addition.
19805 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
19806 * gst/elements/gstelements.c:
19807 Changes for basetransform modifications.
19808 * gst/elements/Makefile.am:
19809 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
19810 Compile fix. Extra debug output.
19812 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
19814 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
19816 add tests for valid pad naming
19817 * gst/check/gstcheck.c: (gst_check_log_message_func),
19818 (gst_check_log_critical_func):
19820 remove printing of code, it is fragile when the code contains
19821 % and the line number is enough info
19822 * gst/check/gstcheck.h:
19823 * gst/gstpad.c: (gst_pad_template_new):
19826 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
19829 say what CHECK flags we use
19830 * docs/libs/gstreamer-libs.types:
19831 * libs/gst/controller/Makefile.am:
19832 * libs/gst/controller/gst-controller.c:
19833 * libs/gst/controller/gst-controller.h:
19834 * libs/gst/controller/gst-helper.c:
19835 * libs/gst/controller/gst-interpolation.c:
19836 * libs/gst/controller/gstcontroller.c:
19837 * libs/gst/controller/gsthelper.c:
19838 * libs/gst/controller/gstinterpolation.c:
19839 * tools/gst-inspect.c: (print_plugin_info):
19840 we don't use dashes in header names
19842 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
19844 * check/Makefile.am:
19845 * check/gst/.cvsignore:
19846 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
19847 (gst_pipeline_suite), (main):
19848 adding a test for pipelines and state changes
19849 * gst/gstutils.c: (get_state_func):
19851 * gstreamer.spec.in:
19854 2005-09-08 Michael Smith <msmith@fluendo.com>
19856 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
19857 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
19858 (gst_file_src_is_seekable), (gst_file_src_get_size),
19859 (gst_file_src_start):
19860 * gst/elements/gstfilesrc.h:
19861 Various fixes for unseekable, unmmapable, and non-normal files, so
19862 that fallback to read() rather than mmap() works.
19863 * gst/gstevent.c: (gst_event_new_newsegment):
19864 Allow newsegment events with segment_start == segment_end, as will
19865 correctly happen if you use filesrc on a zero-size file, for
19868 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
19870 * gst/gstplugin.c: (gst_plugin_load_file):
19871 Call g_module_close when we don't load the module
19873 * gst/registries/gstlibxmlregistry.c:
19874 (gst_xml_registry_get_property):
19875 Port leak fix from 0.8
19877 2005-09-07 Stefan Kost <ensonic@users.sf.net>
19879 * docs/gst/gstreamer-docs.sgml:
19880 * docs/gst/tmpl/.cvsignore:
19881 * docs/gst/tmpl/gsttrace.sgml:
19882 * docs/gst/tmpl/gsttrashstack.sgml:
19885 * gst/gstelement.h:
19887 * gst/gstmessage.c:
19888 * gst/gstmessage.h:
19891 * gst/gsttaginterface.c:
19892 * gst/gsttaginterface.h:
19893 * gst/gsttaglist.c:
19894 * gst/gsttaglist.h:
19895 * gst/gsttagsetter.c:
19896 * gst/gsttagsetter.h:
19899 * gst/gsttrashstack.c:
19900 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
19901 inlined docs for gsttrace, gsttrashstack
19903 2005-09-07 Stefan Kost <ensonic@users.sf.net>
19906 * gst/elements/gstbufferstore.h:
19907 * gst/elements/gsttypefindelement.c:
19908 * gst/elements/gsttypefindelement.h:
19910 * gst/gsttypefind.c:
19911 * gst/gsttypefind.h:
19912 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
19913 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
19914 (gst_type_find_factory_dispose),
19915 (gst_type_find_factory_unload_thyself),
19916 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
19917 (gst_type_find_factory_get_caps),
19918 (gst_type_find_factory_get_extensions),
19919 (gst_type_find_factory_call_function):
19920 * gst/gsttypefindfactory.h:
19921 * gst/registries/gstlibxmlregistry.c:
19922 * gst/registries/gstxmlregistry.c:
19923 splitted gsttypefind into gsttypefind, gsttypefindfactory
19925 2005-09-07 Andy Wingo <wingo@pobox.com>
19927 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
19928 condition whereby the pad's task function is entered before the
19929 pad_mode variable was set.
19931 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
19933 * gst/gstpad.c: (gst_pad_alloc_buffer):
19934 Catch misbehaving pad_alloc functions that don't
19935 set up caps and do it for them.
19937 2005-09-07 Stefan Kost <ensonic@users.sf.net>
19939 * check/pipelines/simple_launch_lines.c: (run_pipeline):
19940 test for pipe!=NULL
19941 * docs/gst/tmpl/.cvsignore:
19942 * docs/gst/tmpl/gstmemchunk.sgml:
19943 * docs/gst/tmpl/gstparse.sgml:
19944 * docs/gst/tmpl/gsttaglist.sgml:
19945 * docs/gst/tmpl/gsttagsetter.sgml:
19946 * docs/gst/tmpl/gsttypefind.sgml:
19947 * docs/gst/tmpl/gsttypefindfactory.sgml:
19948 * gst/gstmemchunk.c:
19951 * gst/gsttaginterface.c:
19952 * gst/gsttypefind.c:
19953 * gst/gsttypefind.h:
19956 === release 0.9.2 ===
19958 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
19963 releasing 0.9.2, "South"
19965 2005-09-05 Andy Wingo <wingo@pobox.com>
19967 * gst/registries/gstxmlregistry.h:
19968 * gst/registries/gstxmlregistry.c: Um... resurrect...
19970 * gst/registries/gstxmlregistry.h:
19971 * gst/registries/gstxmlregistry.c: and update to newer API.
19972 Incidentally they should be a bit faster now that they don't have
19975 2005-09-05 Andy Wingo <wingo@pobox.com>
19977 * gst/registries/gstxmlregistry.h:
19978 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
19979 replaced by the libxml registry a while back
19981 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
19983 * docs/gst/tmpl/gstplugin.sgml:
19984 * gst/elements/gstelements.c:
19986 * gst/gstplugin.c: (gst_plugin_register_func),
19987 (gst_plugin_desc_copy), (gst_plugin_desc_free),
19988 (gst_plugin_get_source):
19990 * gst/registries/gstlibxmlregistry.c: (load_plugin),
19991 (gst_xml_registry_save_plugin):
19992 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
19993 (gst_xml_registry_save_plugin):
19994 * tools/gst-inspect.c: (print_plugin_info):
19995 add a "source" plugin description field, to represent the source
19996 module this plugin is a part of. By default GST_PLUGIN_DEFINE
19997 will set it to PACKAGE, which is automake's idea of the name of
19998 the source project.
20000 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
20005 * docs/Makefile.am:
20006 * docs/faq/Makefile.am:
20007 * docs/gst/tmpl/gstelement.sgml:
20008 * docs/gst/tmpl/gsttypes.sgml:
20009 * docs/htmlinstall.mak:
20010 * docs/manual/Makefile.am:
20011 * docs/pwg/Makefile.am:
20012 reorganize doc build a little
20013 split out docbook and gtk-doc stuff
20014 have two separate --enable's and enable them through autogen
20015 but disable by default in configure (to be similar to other
20017 * gstreamer.spec.in:
20018 clean up docs install
20036 translation updates
20038 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
20040 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
20043 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
20044 (gst_fake_sink_change_state):
20045 Make state change function thread-safe.
20047 * gst/gstpad.c: (gst_pad_alloc_buffer):
20048 Set offset on generic buffer allocated by fallback.
20050 2005-09-03 Stefan Kost <ensonic@users.sf.net>
20052 * docs/gst/gstreamer-sections.txt:
20053 * docs/gst/tmpl/gstelement.sgml:
20055 * libs/gst/controller/gst-controller.c:
20056 (gst_controlled_property_set_interpolation_mode),
20057 (gst_controlled_property_new),
20058 (gst_controller_find_controlled_property):
20059 run the wingo-magic script against the docs
20061 2005-09-02 Stefan Kost <ensonic@users.sf.net>
20063 * docs/gst/gstreamer-docs.sgml:
20064 * docs/gst/gstreamer-sections.txt:
20065 * docs/gst/tmpl/.cvsignore:
20066 * docs/gst/tmpl/gstelementdetails.sgml:
20067 * docs/gst/tmpl/gstelementfactory.sgml:
20070 * gst/gstelementfactory.c:
20071 * gst/gstelementfactory.h:
20072 merged elementdetails docs into elementfactory docs
20075 2005-09-02 Andy Wingo <wingo@pobox.com>
20077 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
20078 consider this enum an enum and not a flags.
20080 2005-09-02 Stefan Kost <ensonic@users.sf.net>
20082 * docs/gst/gstreamer-docs.sgml:
20083 * docs/gst/tmpl/.cvsignore:
20084 * docs/gst/tmpl/gstghostpad.sgml:
20085 * docs/gst/tmpl/gstiterator.sgml:
20086 * docs/gst/tmpl/gstmacros.sgml:
20087 * docs/gst/tmpl/gstrealpad.sgml:
20088 * docs/gst/tmpl/gstregistry.sgml:
20089 * docs/gst/tmpl/gstregistrypool.sgml:
20090 * docs/gst/tmpl/gststructure.sgml:
20091 * docs/gst/tmpl/gstsystemclock.sgml:
20092 * docs/gst/tmpl/gsttrace.sgml:
20093 * gst/gstghostpad.c:
20095 * gst/gstmemchunk.c:
20096 * gst/gstmemchunk.h:
20098 * gst/gstregistry.c:
20099 * gst/gstregistrypool.c:
20100 * gst/gststructure.c:
20101 * gst/gstsystemclock.c:
20104 2005-09-02 Andy Wingo <wingo@pobox.com>
20106 * gst/gstelement.h (GstState): Renamed from GstElementState,
20107 changed to be a normal enum instead of flags.
20108 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
20109 munged to be GST_STATE_CHANGE_*.
20110 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
20111 work with the new state representation.
20112 (GstStateChange): New enumeration of possible state transitions.
20113 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
20114 (GstElementClass::change_state): Pass the GstStateChange along as
20115 an argument. Helps language bindings, so they don't have to use
20116 tricky lock-needing macros like GST_STATE_CHANGE ().
20118 * scripts/update-states (file): New script. Run it on a file to
20119 update it for state naming and API changes. Updates files in
20122 * All files updated for the new API.
20124 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
20126 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
20127 * gst/gstutils.c: (gst_util_set_value_from_string),
20128 (gst_util_set_object_arg):
20129 fix a bunch of unchecked return values
20130 * tools/gst-complete.c: (main):
20131 * gstreamer.spec.in:
20134 2005-09-01 Wim Taymans <wim@fluendo.com>
20136 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20137 (gst_base_sink_event), (gst_base_sink_do_sync),
20138 (gst_base_sink_handle_event):
20139 * gst/base/gstbasesink.h:
20140 Handle newsegments more correctly.
20145 * gst/gstevent.c: (gst_event_new_newsegment):
20146 A newsegment cannot have a start_time of -1
20148 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
20150 * win32/gstenumtypes.c:
20151 * win32/gstenumtypes.h:
20154 2005-08-31 Stefan Kost <ensonic@users.sf.net>
20156 * libs/gst/controller/gst-controller.c:
20157 (gst_controlled_property_set_interpolation_mode),
20158 (gst_controlled_property_new):
20159 fixed boolean again
20161 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
20163 * docs/faq/gst-uninstalled:
20168 * gst/gstutils.c: (gst_element_link_filtered):
20170 add gst_element_link_filtered
20172 2005-08-31 Stefan Kost <ensonic@users.sf.net>
20174 * docs/gst/gstreamer-docs.sgml:
20175 * docs/gst/gstreamer-sections.txt:
20176 * docs/gst/tmpl/.cvsignore:
20177 * docs/gst/tmpl/gsterror.sgml:
20178 * docs/gst/tmpl/gstfilter.sgml:
20179 * docs/gst/tmpl/gsturihandler.sgml:
20180 * docs/gst/tmpl/gsturitype.sgml:
20181 * docs/gst/tmpl/gstutils.sgml:
20182 * docs/gst/tmpl/gstxml.sgml:
20187 * gst/gsturitype.c:
20190 inlined more docs, fixed double id-ref
20192 2005-08-31 Wim Taymans <wim@fluendo.com>
20194 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
20195 (gst_base_transform_handle_buffer):
20196 Passthrough elements don't need the caps as they don't care.
20198 2005-08-31 Wim Taymans <wim@fluendo.com>
20200 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
20201 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
20202 Don't leak refcounts on buffers.
20204 2005-08-31 Wim Taymans <wim@fluendo.com>
20206 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
20207 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
20208 (gst_base_transform_chain), (gst_base_transform_change_state):
20209 * gst/base/gstbasetransform.h:
20210 Handle the case where we are not negotiated more gracefully.
20212 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
20214 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
20215 (gst_file_src_map_region):
20216 Set READONLY flag on mmap'ed buffers, otherwise
20217 gst_buffer_make_writable() won't work properly (#314708).
20219 2005-08-31 Wim Taymans <wim@fluendo.com>
20221 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
20222 passthrough elements can even do inplace on non writable
20223 buffers (as they don't touch them).
20225 2005-08-31 Stefan Kost <ensonic@users.sf.net>
20227 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
20228 (gst_test_mono_source_set_property),
20229 (gst_test_mono_source_class_init), (GST_START_TEST),
20230 (gst_controller_suite):
20231 more tests (hehe I have the most)
20233 describe popping messages whenusing mulltiple sources
20234 * libs/gst/controller/gst-controller.c:
20235 (gst_controlled_property_set_interpolation_mode),
20236 (gst_controlled_property_new):
20237 * libs/gst/controller/gst-controller.h:
20238 * libs/gst/controller/gst-interpolation.c:
20239 implement boolean properties
20241 2005-08-31 Wim Taymans <wim@fluendo.com>
20243 * gst/gstminiobject.c: (gst_mini_object_ref):
20244 Cannot assert that the refcount has to be positive
20245 since a disposed object can be resurrected.
20247 2005-08-31 Wim Taymans <wim@fluendo.com>
20249 * gst/gstpad.c: (gst_pad_init):
20250 Revert change, need to first fix badly behaving
20253 2005-08-30 Wim Taymans <wim@fluendo.com>
20255 * check/elements/fakesrc.c: (setup_fakesrc):
20256 * check/elements/identity.c: (setup_identity):
20257 Activate pads before using them.
20259 2005-08-30 Wim Taymans <wim@fluendo.com>
20261 * gst/base/gstadapter.c: (gst_adapter_flush):
20262 Flushing out 0 bytes is ok for this function.
20264 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20265 no newsegment gives a warning and sets the start/stop to
20268 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
20269 (gst_base_transform_set_passthrough):
20272 * gst/gstminiobject.c: (gst_mini_object_ref):
20273 Check refcount here too.
20275 * gst/gstpad.c: (gst_pad_init):
20276 Pads are initially flushing and refusing data.
20278 * gst/gstutils.c: (gst_element_link_pads_filtered):
20279 When adding a capsfilter element make sure it has the
20280 same state as the parent bin.
20282 2005-08-30 Stefan Kost <ensonic@users.sf.net>
20284 * docs/gst/tmpl/.cvsignore:
20285 * docs/gst/tmpl/gstformat.sgml:
20286 * docs/gst/tmpl/gstversion.sgml:
20290 * gst/gstversion.h.in:
20291 more docs and two more inlined
20293 2005-08-30 Wim Taymans <wim@fluendo.com>
20295 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
20296 Don't sync to clock.
20298 2005-08-30 Stefan Kost <ensonic@users.sf.net>
20300 * docs/gst/gstreamer-sections.txt:
20301 ultral33t func10ns deserve to appear in the docs actually
20302 * docs/gst/tmpl/.cvsignore:
20303 * docs/gst/tmpl/gstcompat.sgml:
20304 * docs/gst/tmpl/gstconfig.sgml:
20305 * gst/check/gstcheck.c:
20307 * gst/gstconfig.h.in:
20310 2005-08-30 Stefan Kost <ensonic@users.sf.net>
20312 * docs/gst/tmpl/.cvsignore:
20313 * docs/gst/tmpl/gstquery.sgml:
20314 * docs/gst/tmpl/gstutils.sgml:
20317 inlined and extended docs
20319 2005-08-30 Stefan Kost <ensonic@users.sf.net>
20321 * check/gst-libs/controller.c: (GST_START_TEST),
20322 (gst_controller_suite):
20324 * docs/gst/tmpl/gstutils.sgml:
20325 * docs/libs/gstreamer-libs-sections.txt:
20326 * docs/libs/tmpl/gstdataprotocol.sgml:
20328 * examples/controller/audio-example.c: (main):
20329 controller example works now
20332 * tools/gst-inspect.c: (print_element_properties_info):
20333 show param spec flags
20335 2005-08-29 Andy Wingo <wingo@pobox.com>
20337 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
20339 2005-08-28 Andy Wingo <wingo@pobox.com>
20341 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
20342 as having two arguments instead of just one. Allows superclasses
20343 to access information on subclasses -- see the terrible for() loop
20344 in gtype.c:g_type_create_instance for the reason why. All callers
20347 2005-08-27 Stefan Kost <ensonic@users.sf.net>
20349 * docs/design/part-messages.txt:
20351 * docs/gst/tmpl/.cvsignore:
20352 * docs/gst/tmpl/gstcaps.sgml:
20353 * docs/gst/tmpl/gstclock.sgml:
20359 * gst/gstmessage.c:
20360 added descriptions for bus and message
20361 inline caps and clock docs
20363 2005-08-27 Stefan Kost <ensonic@users.sf.net>
20365 * gst/gstmessage.c:
20366 * gst/gstmessage.h:
20369 2005-08-27 Stefan Kost <ensonic@users.sf.net>
20371 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
20374 2005-08-26 Andy Wingo <wingo@pobox.com>
20376 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
20377 element_set_state's return val.
20378 (test_2_elements): Add test that's been disabled for months.
20380 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
20381 can-activate-pull properties.
20383 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
20384 can-activate-pull properties. Implement is_seekable so fakesrc can
20385 operate in pull mode.
20387 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
20389 (gst_base_sink_activate, gst_base_sink_activate_pull)
20390 (gst_base_sink_activate_push): Make activation mode choosing work.
20392 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
20393 is right. Make pull mode work. Post an eos before pausing in pull
20395 (gst_base_sink_change_state): Pay attention to the core's
20396 change_state() return val.
20398 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
20399 has-getrange properties. Cleanups.
20401 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
20402 has_getrange and replace with can_activate_pull and
20405 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
20406 locking comments. Remove has_loop, has_chain and replace with
20407 can_activate_pull and can_activate_push.
20409 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
20412 * examples/Makefile.am:
20413 * examples/metadata/Makefile.am:
20414 * examples/metadata/read-metadata.c: (message_loop),
20415 (have_pad_handler), (make_pipeline), (print_tag), (main):
20416 Add metadata reading example that loops over a list of filenames,
20417 dumping any tags found.
20419 * gst/gstbus.c: (gst_bus_dispose):
20420 * gst/gstelement.c: (gst_element_dispose):
20421 Release a few potentially-held references in dispose.
20423 2005-08-26 Stefan Kost <ensonic@users.sf.net>
20425 * docs/gst/tmpl/gstminiobject.sgml:
20426 do *not* add tmpl/*.sgml files to CVS!
20428 2005-08-26 Stefan Kost <ensonic@users.sf.net>
20430 * libs/gst/bytestream/.cvsignore:
20431 * libs/gst/bytestream/Makefile.am:
20432 * libs/gst/bytestream/adapter.c:
20433 * libs/gst/bytestream/adapter.h:
20434 * libs/gst/bytestream/bytestream.c:
20435 * libs/gst/bytestream/bytestream.h:
20436 * libs/gst/bytestream/filepad.c:
20437 * libs/gst/bytestream/filepad.h:
20438 removing obsolete files
20440 2005-08-26 Stefan Kost <ensonic@users.sf.net>
20442 * docs/gst/gstreamer-docs.sgml:
20443 * docs/libs/gstreamer-libs-docs.sgml:
20444 disabed additional index entries again, as this makes docs-gen just
20445 slow and they aren't useful yet
20446 * docs/libs/gstreamer-libs-sections.txt:
20447 little -section.txt cleanup for libs
20449 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
20451 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20452 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
20453 fix up some debugging
20454 (gst_base_transform_get_unit_size),
20455 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
20456 (gst_base_transform_handle_buffer):
20457 * gst/base/gstbasetransform.h:
20458 handle and store timed NEWSEGMENT events so that subclasses that
20459 calculate time by counting samples have a segment_start time they
20460 need to add to their timestamps - see audioresample
20462 2005-08-26 Stefan Kost <ensonic@users.sf.net>
20465 removed ';' from the end of macro defs
20466 * docs/gst/gstreamer-docs.sgml:
20467 * docs/gst/gstreamer-sections.txt:
20468 * docs/gst/tmpl/.cvsignore:
20470 * gst/gstelement.c: (gst_element_class_init),
20471 (gst_element_set_state), (activate_pads),
20472 (gst_element_save_thyself):
20473 * gst/gstevent.c: (gst_event_new_newsegment):
20475 * gst/gstiterator.c:
20476 * gst/gstiterator.h:
20479 * gst/gstutils.c: (gst_pad_query_convert):
20481 fixed parameter name mismatches between source, header and docs
20482 added some more docs, resolved the last batch of unused elements in
20483 docs (now someone needs to doc them)
20485 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
20487 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
20488 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
20489 don't walk through the plugins backwards. Where is all this
20490 reversed logic coming from ?
20492 2005-08-25 Wim Taymans <wim@fluendo.com>
20494 * gst/base/gstbasetransform.c: (gst_base_transform_init),
20495 (gst_base_transform_transform_size),
20496 (gst_base_transform_configure_caps),
20497 (gst_base_transform_get_unit_size),
20498 (gst_base_transform_buffer_alloc),
20499 (gst_base_transform_change_state):
20500 * gst/base/gstbasetransform.h:
20501 Cache caps unit_size.
20502 Make sure we cannot negotiate up and downstream at the
20505 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
20507 * gst/gst.c: (init_pre), (init_post):
20508 register the installed plugin path after the env var
20509 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
20510 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
20511 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
20512 directories, so the tests can prefer uninstalled over installed
20514 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
20516 * gst/base/gstbasetransform.h:
20521 2005-08-25 Wim Taymans <wim@fluendo.com>
20523 * gst/gstbin.c: (bin_bus_handler):
20524 Be a bit more conservative about the posted message.
20526 * gst/gstbus.c: (gst_bus_post):
20527 Some cleanups, warn wrong return values.
20529 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
20531 * check/gst/gstbin.c: (GST_START_TEST):
20532 * gst/gstbin.c: (bin_bus_handler):
20533 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
20534 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
20535 (gst_message_new_warning), (gst_message_new_tag),
20536 (gst_message_new_state_changed), (gst_message_new_segment_start),
20537 (gst_message_new_segment_done), (gst_message_new_custom):
20538 * gst/gstmessage.h:
20539 * tools/gst-launch.c: (event_loop):
20540 * tools/gst-md5sum.c: (event_loop):
20541 Revert unpopular change for GST_MESSAGE_SRC to GObject.
20543 2005-08-25 Wim Taymans <wim@fluendo.com>
20545 * check/generic/states.c: (GST_START_TEST):
20546 Cleanup can be done at the end.
20548 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
20549 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
20550 (gst_task_get_state), (gst_task_start), (gst_task_pause):
20551 Oh boy.. Thanks for finding this, Thomas.
20553 2005-08-25 Stefan Kost <ensonic@users.sf.net>
20555 * docs/gst/gstreamer.types:
20556 added missing types
20558 2005-08-25 Stefan Kost <ensonic@users.sf.net>
20560 * docs/gst/gstreamer-docs.sgml:
20561 * docs/gst/gstreamer-sections.txt:
20562 * docs/gst/tmpl/.cvsignore:
20564 * gst/gstiterator.c:
20566 * gst/registries/gstxmlregistry.h:
20567 added missing classes and symbols (123 more to go)
20568 removed removed symbols from section file
20569 fixed many doc-comments
20571 2005-08-24 Wim Taymans <wim@fluendo.com>
20573 * check/generic/states.c: (GST_START_TEST):
20574 Make sure all tasks are stopped.
20576 * check/gst/gstbin.c: (GST_START_TEST):
20577 Unref after usage for proper valgrinding.
20579 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
20580 Really wait for the task to stop before destroying the
20583 * gst/gstqueue.c: (gst_queue_sink_activate_push),
20584 (gst_queue_src_activate_push):
20585 Small cleanups. Don't stop the task when we did not start
20588 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
20589 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
20590 (gst_task_get_state), (gst_task_start), (gst_task_pause),
20593 Protect the stream lock with the object lock.
20594 Disallow setting the stream lock when running.
20595 Add cleanup_all to wait for the threadpool to finish.
20596 Remove code to autoallocate a mutex if none was provided.
20597 Add _join() to wait for a task to stop.
20598 Protect the thread pool with a global lock.
20600 2005-08-24 Wim Taymans <wim@fluendo.com>
20602 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20603 (gst_base_sink_get_times), (gst_base_sink_do_sync),
20604 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
20605 * gst/base/gstbasesink.h:
20606 Handle newsegment events correctly.
20607 Drop buffers out of the segment range.
20609 2005-08-22 Andy Wingo <wingo@pobox.com>
20611 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
20612 macro, implements an interface and gstimplementsinterface for a
20615 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
20617 * check/Makefile.am:
20618 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
20619 add a test that does a bunch of state changes on elements
20620 needs some fixing for valgrind
20621 * check/states/sinks.c: (gst_object_suite):
20624 add prototype for gst_caps_is_equal_fixed
20626 * gst/gstregistrypool.c:
20629 2005-08-24 Andy Wingo <wingo@pobox.com>
20631 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
20632 convert a negative value. Doesn't make much sense. Mostly this is
20633 here to force callers to ensure -1 maps to -1.
20635 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
20637 * docs/pwg/advanced-types.xml:
20638 Well done to Michael for catching my deliberate introduction
20639 of this spelling mistake.
20640 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
20641 * gst/gstelement.h:
20642 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
20643 unlink pads before removing the element from the bin.
20645 2005-08-24 Andy Wingo <wingo@pobox.com>
20647 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
20648 the same thing as GST_DEBUG=*:4.
20649 (parse_debug_level, parse_debug_category): New helper parsers.
20651 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
20653 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20654 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
20655 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
20656 (gst_base_transform_buffer_alloc),
20657 (gst_base_transform_handle_buffer):
20658 use gboolean return values and pointers to size so we can use the
20659 full GST_BUFFER_SIZE range (guint) for buffer sizes
20660 use GstPadDirection for transform_caps
20661 * gst/base/gstbasetransform.h:
20662 rename get_size to get_unit_size since that's what it is
20663 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
20664 use GstPadDirection for transform_caps
20665 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20667 cleanup and debugging
20669 2005-08-24 Stefan Kost <ensonic@users.sf.net>
20671 * gst/gstelement.c: (gst_element_class_init),
20672 (gst_element_set_state), (activate_pads),
20673 (gst_element_save_thyself):
20674 * tools/gst-compprep.c: (main):
20675 * tools/gst-inspect.c: (print_element_properties_info):
20676 * tools/gst-xmlinspect.c: (print_element_properties):
20677 Fixed long standing mem-leak
20679 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
20681 * check/gst/gstbin.c: (GST_START_TEST):
20682 * gst/gstbin.c: (bin_bus_handler):
20683 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
20684 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
20685 (gst_message_new_warning), (gst_message_new_tag),
20686 (gst_message_new_state_changed), (gst_message_new_segment_start),
20687 (gst_message_new_segment_done), (gst_message_new_custom):
20688 * gst/gstmessage.h:
20689 * tools/gst-launch.c: (event_loop):
20690 * tools/gst-md5sum.c: (event_loop):
20691 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
20692 that applications can sensibly post custom messages with references
20693 to their own objects.
20695 2005-08-24 Andy Wingo <wingo@pobox.com>
20697 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
20700 2005-08-24 Wim Taymans <wim@fluendo.com>
20702 * gst/base/gstbasetransform.c: (gst_base_transform_init),
20703 (gst_base_transform_transform_caps),
20704 (gst_base_transform_transform_size),
20705 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20706 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
20707 (gst_base_transform_handle_buffer):
20708 * gst/base/gstbasetransform.h:
20709 Many fixes and new features added by Thomas. Can now also do
20710 transforms with variable sizes and a custom fixate_caps function.
20712 2005-08-24 Wim Taymans <wim@fluendo.com>
20714 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20718 Cast to ClockTime before formatting to time.
20723 2005-08-24 Stefan Kost <ensonic@users.sf.net>
20725 * check/gst-libs/controller.c: (GST_START_TEST),
20726 (gst_controller_suite):
20727 * docs/gst/tmpl/gstcaps.sgml:
20728 * docs/gst/tmpl/gstghostpad.sgml:
20729 * docs/gst/tmpl/gstquery.sgml:
20730 * docs/gst/tmpl/gstutils.sgml:
20731 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
20732 (gst_object_sink_values), (gst_object_get_value_arrays),
20733 (gst_object_get_value_array):
20734 gracefully handle helper method calls to objects that are not beeing
20735 controlled, added test case for that
20737 2005-08-23 Wim Taymans <wim@fluendo.com>
20739 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
20740 (gst_event_new_newsegment), (gst_event_parse_newsegment),
20741 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
20742 (gst_event_parse_qos), (gst_event_new_seek),
20743 (gst_event_parse_seek):
20745 Some more debugging output and doc cleanups.
20747 * gst/gstqueue.c: (gst_queue_handle_sink_event):
20748 Fix possible deadlock.
20750 2005-08-23 Stefan Kost <ensonic@users.sf.net>
20752 * docs/gst/gstreamer-docs.sgml:
20753 * docs/gst/gstreamer-sections.txt:
20754 * docs/gst/gstreamer.types:
20755 * docs/gst/tmpl/.cvsignore:
20758 * gst/gstelement.c:
20760 added 100 symbols from gstreamer-unused.txt to the right sections
20761 fixed more broken comments
20762 added GstBus to docs
20764 2005-08-23 Stefan Kost <ensonic@users.sf.net>
20766 * docs/gst/gstreamer-sections.txt:
20767 * docs/gst/tmpl/.cvsignore:
20768 * docs/gst/tmpl/gstbin.sgml:
20769 * docs/gst/tmpl/gstbuffer.sgml:
20770 * gst/base/gstbasesrc.c:
20771 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
20774 * tools/gst-launch.1.in:
20775 inlined more doc comments, added missing comments and fixed comments
20778 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
20780 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20784 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
20786 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
20787 * gst/gststructure.h:
20788 add a fixate function for booleans; add a FIXME that these func
20789 names should probably be gst_structure_fixate_*
20791 2005-08-23 Stefan Kost <ensonic@users.sf.net>
20793 * docs/gst/gstreamer-docs.sgml:
20794 * docs/gst/gstreamer-sections.txt:
20796 * gst/gstbin.c: (gst_bin_get_type),
20797 (gst_bin_child_proxy_get_child_by_index),
20798 (gst_bin_child_proxy_get_children_count),
20799 (gst_bin_child_proxy_init):
20800 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
20801 (gst_child_proxy_get_child_by_index),
20802 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
20803 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
20804 (gst_child_proxy_get), (gst_child_proxy_set_property),
20805 (gst_child_proxy_set_valist), (gst_child_proxy_set),
20806 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
20807 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
20808 * gst/gstchildproxy.h:
20809 * gst/parse/grammar.y:
20810 * tools/gst-inspect.c: (print_interfaces),
20811 (print_element_properties_info), (print_element_info):
20812 ported gstchildproxy over from 0.8
20813 ported gst-inspect fixes and enhancements over from 0.8
20815 2005-08-22 Wim Taymans <wim@fluendo.com>
20817 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20818 (gst_base_transform_handle_buffer):
20819 Also call the transform function if we have ANY caps.
20821 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
20824 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
20826 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
20827 Don't pretend to handle seek events if the source is not seekable
20829 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
20831 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20832 Remove extra parameter to debug output
20834 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20835 (gst_base_src_do_seek), (gst_base_src_activate_push):
20836 Fix seek event handling.
20838 * gst/gstpipeline.c: (gst_pipeline_change_state):
20839 * gst/gstqueue.c: (gst_queue_handle_sink_event),
20840 (gst_queue_src_activate_push):
20841 Don't start the src pad task on FLUSH_STOP if the pad
20845 2005-08-22 Wim Taymans <wim@fluendo.com>
20847 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
20848 Added check for gst_static_caps_get() refcounting.
20850 2005-08-22 Wim Taymans <wim@fluendo.com>
20852 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
20853 Make _static_caps_get() refcounting sane.
20855 * gst/gstelement.c: (gst_element_set_state):
20856 Add g_return_val_if_fail() to protect against segfaults.
20858 2005-08-22 Stefan Kost <ensonic@users.sf.net>
20860 * docs/gst/tmpl/gstevent.sgml:
20863 inlined remaining docs, added missing doc comments
20865 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
20867 * check/gst/gstbin.c: (GST_START_TEST):
20868 since we don't know when preroll is done, use refcount range
20870 * gst/check/gstcheck.h:
20871 add macro for checking refcount range
20873 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
20875 * check/Makefile.am:
20876 clean up environment for when registry gets built versus
20877 when actual tests are run; valgrind seems to not report
20878 leaks if GST_PLUGIN_PATH is set to some specific values
20879 * check/gst/gstbin.c: (GST_START_TEST):
20880 add more refcounting checks; maybe this exposes a
20882 * common/check.mak:
20883 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20884 * gst/check/gstcheck.h:
20885 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
20886 (gst_bin_change_state):
20887 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
20888 add/fix debugging/whitespace
20890 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
20892 * check/gst/gstevent.c: (event_probe), (test_event),
20894 Er, don't call gst_bin_watch_for_state_change you idiot.
20896 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
20898 * check/Makefile.am:
20899 Use CHECK_CFLAGS and CHECK_LIBS
20900 * check/gst/gstevent.c: (event_probe), (test_event),
20903 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20904 (gst_base_src_start), (gst_base_src_stop),
20905 (gst_base_src_activate_push), (gst_base_src_activate_pull),
20906 (gst_base_src_change_state):
20907 Sprinkle gst_base_src_stop liberally around error paths to fix
20908 problems reusing a source after failed state changes.
20909 * gst/base/gsttypefindhelper.c: (helper_find_peek),
20910 (helper_find_suggest), (gst_type_find_helper):
20911 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
20913 * docs/gst/tmpl/gstevent.sgml:
20914 Migrate part of the docs from the SGML file. Wait for ensonic to
20915 tell me how I did it wrong ;)
20916 * tools/gst-typefind.c: (main):
20917 Extra robustness to state changes between files.
20919 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
20921 * check/Makefile.am:
20922 don't valgrind the controller test - it's leaking - Stefan, HELP
20923 * gst/check/gstcheck.c: (gst_check_message_error),
20924 (gst_check_chain_func), (gst_check_setup_element),
20925 (gst_check_teardown_element), (gst_check_setup_src_pad),
20926 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
20927 (gst_check_teardown_sink_pad):
20928 * gst/check/gstcheck.h:
20929 add a bunch of methods to set up elements, and src and sink pads
20930 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
20931 * check/elements/identity.c: (setup_identity), (cleanup_identity),
20934 * gst/gstmessage.c:
20936 whitespace/doc fixes
20938 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
20940 * gst/gstelement.h:
20941 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
20942 be handled by the application and not always printed as well
20944 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
20946 * check/Makefile.am:
20948 * gst/check/gstcheck.c: (gst_check_message_error):
20949 * gst/check/gstcheck.h:
20950 add a fail_unless_equals_int
20951 add fail_unless for error messages
20953 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
20955 * check/Makefile.am:
20957 * common/Makefile.am:
20958 * common/check.mak:
20960 factor out some of the common stuff so we can use it
20962 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
20964 * check/Makefile.am:
20965 * check/gst/gstiterator.c: (GST_START_TEST):
20966 * check/gst/gstsystemclock.c: (GST_START_TEST),
20967 (gst_systemclock_suite):
20968 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
20970 valgrind more tests
20972 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
20974 * check/elements/.cvsignore:
20975 * check/elements/gstfakesrc.c:
20976 rename to name of element
20977 * check/elements/identity.c: (chain_func), (event_func),
20978 (setup_identity), (cleanup_identity), (GST_START_TEST),
20979 (identity_suite), (main):
20980 add a test for identity
20981 * check/Makefile.am:
20982 * pkgconfig/Makefile.am:
20983 * pkgconfig/gstreamer-check.pc.in:
20984 * pkgconfig/gstreamer-check-uninstalled.pc.in:
20988 move the check stuff to a library that gets installed
20989 * check/gst-libs/controller.c: (GST_START_TEST):
20990 * check/gst-libs/gdp.c:
20991 * check/gst/gst.c: (GST_START_TEST):
20992 * check/gst/gstbin.c:
20993 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
20994 * check/gst/gstbus.c:
20995 * check/gst/gstcaps.c: (GST_START_TEST):
20996 * check/gst/gstelement.c:
20997 * check/gst/gstghostpad.c:
20998 * check/gst/gstiterator.c:
20999 * check/gst/gstmessage.c:
21000 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
21001 * check/gst/gstobject.c:
21002 * check/gst/gstpad.c: (GST_START_TEST):
21003 * check/gst/gststructure.c: (GST_START_TEST):
21004 * check/gst/gstsystemclock.c: (GST_START_TEST),
21005 (gst_systemclock_suite):
21006 * check/gst/gsttag.c: (gst_tag_suite):
21007 * check/gst/gstvalue.c:
21008 * check/pipelines/cleanup.c:
21009 * check/pipelines/simple_launch_lines.c:
21010 * check/states/sinks.c:
21011 change include statement
21013 * docs/gst/gstreamer-sections.txt:
21014 * docs/gst/tmpl/gstpad.sgml:
21015 document more pad stuff
21016 * gst/gstminiobject.c: (gst_mini_object_ref),
21017 (gst_mini_object_unref):
21020 2005-08-19 Stefan Kost <ensonic@users.sf.net>
21022 * docs/gst/tmpl/gst.sgml:
21024 eliminate another tmpl file, fix spelling in the long-description
21026 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
21028 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21029 (test_event), (timediff), (gstevents_suite):
21030 Should fix build on 64-bit arch's
21032 2005-08-18 Andy Wingo <wingo@pobox.com>
21034 Make sure that when a pipeline goes to PLAYING, that data has
21035 actually hit the sink.
21037 * check/states/sinks.c (test_sink): A sink that doesn't get any
21038 data shouldn't return SUCCESS for going to either PLAYING or
21039 PAUSED. Test also the return values on the way back down.
21041 * gst/gstelement.c (gst_element_set_state): When changing the
21042 state of an element currently changing state asynchronously, go to
21043 lost-state after commiting the pending state. Makes future calls
21044 to get_state continue to return ASYNC.
21046 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
21047 ASYNC when going to PLAYING if we still don't have preroll, as can
21048 happen with live sources.
21050 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
21052 * docs/pwg/advanced-types.xml:
21053 Hack long paragraph into 2 chunks as a workaround for buggy
21054 jadetex version in sid and breezy that loops infinitely and
21057 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
21059 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21060 (test_event), (timediff), (gstevents_suite):
21061 Provide more error margin in clock measurements to allow for
21062 g_get_current_time inaccuracies.
21064 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
21066 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21067 (test_event), (timediff), (gstevents_suite):
21068 Fix error message output so I might be able to tell why the
21069 test works here but fails on the build farm.
21071 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
21073 * check/Makefile.am:
21074 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21075 (test_event), (timediff), (gstevents_suite), (main):
21078 * docs/design/part-seeking.txt:
21079 Spelling correction
21081 * docs/gst/tmpl/gstevent.sgml:
21082 * docs/gst/tmpl/gstfakesrc.sgml:
21085 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21086 Treat a buffer-without-newsegment the same as a receiving
21087 a newsegment not in time format, and disable syncing to the clock
21090 * gst/gstbus.c: (gst_bus_set_sync_handler):
21091 Assert if anyone tries to replace the existing sync_handler for bus,
21092 as only the owner should be setting it.
21095 Have a fixed set of custom event enums with events identified by
21096 their structure name (as in 0.8), rather than a free-for-all
21097 allowing collisions between enum values from different plugins.
21099 * gst/gstpad.c: (gst_pad_class_init):
21102 * gst/gstqueue.c: (gst_queue_handle_sink_event):
21103 Handle out-of-band downstream events from the sending thread.
21105 2005-08-17 Andy Wingo <wingo@pobox.com>
21107 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
21108 play-timeout==0 to mean no timeout at all. In that case, don't
21109 bother with a get_state or a warning, just return directly, even
21112 * gst/base/gstbasetransform.c: Debug changes.
21115 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
21116 ensure bins post state change messages. A bit of a hack but I can't
21117 think of a way to avoid it.
21119 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
21121 2005-08-16 Andy Wingo <wingo@pobox.com>
21123 * gst/base/gstadapter.h:
21124 * gst/base/gstadapter.c (gst_adapter_take): New function, like
21125 peek() but you own the data. Not terribly efficient atm.
21127 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21129 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
21130 (gst_element_found_tags):
21132 Add two utility functions for tag handling.
21134 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21136 * docs/manual/advanced-dataaccess.xml:
21137 * docs/manual/basics-helloworld.xml:
21138 Fix docs to use _bin_add() before _link(), which fixes the examples
21139 with recent core versions (reported by Madhan Raj M
21140 <raj_madan@rediffmail.com>, #313199).
21142 2005-08-16 Wim Taymans <wim@fluendo.com>
21144 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
21145 Added subtract checks.
21147 * docs/design/part-events.txt:
21148 Some more docs about newsegment
21150 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
21153 * gst/gstcaps.c: (gst_caps_to_string):
21154 Add comments, cleanups.
21156 * gst/gstelement.c: (gst_element_save_thyself):
21159 * gst/gstvalue.c: (gst_value_collect_int_range),
21160 (gst_string_unwrap), (gst_value_union_int_int_range),
21161 (gst_value_union_int_range_int_range),
21162 (gst_value_intersect_int_int_range),
21163 (gst_value_intersect_int_range_int_range),
21164 (gst_value_intersect_double_double_range),
21165 (gst_value_intersect_double_range_double_range),
21166 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
21167 (gst_value_subtract_int_range_int),
21168 (gst_value_subtract_double_range_double),
21169 (gst_value_subtract_double_range_double_range),
21170 (gst_value_subtract_from_list), (gst_value_subtract_list),
21171 (gst_value_can_compare), (gst_value_compare_fraction):
21172 Cleanups, add comments, remove unneeded asserts.
21174 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
21176 * tools/gst-launch.c: (event_loop):
21177 don't convert NULL structures to strings
21179 2005-08-15 Stefan Kost <ensonic@users.sf.net>
21181 * docs/gst/gstreamer-sections.txt:
21182 made some defines private
21183 * docs/gst/tmpl/gstconfig.sgml:
21184 * docs/gst/tmpl/gstqueue.sgml:
21185 * docs/gst/tmpl/gsttaglist.sgml:
21186 * docs/gst/tmpl/gsttypes.sgml:
21187 * docs/gst/tmpl/gstutils.sgml:
21188 * docs/pwg/appendix-porting.xml:
21189 * gst/base/gstbasesink.h:
21190 * gst/base/gstbasesrc.c:
21191 * gst/base/gstbasesrc.h:
21192 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
21193 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
21194 * gst/gstelement.c: (gst_element_class_init):
21195 * gst/gstpad.c: (gst_pad_class_init):
21196 * gst/gstqueue.c: (gst_queue_class_init):
21197 * gst/gstxml.c: (gst_xml_class_init):
21198 documented all undocumented signal inline
21199 * libs/gst/controller/gst-controller.h:
21202 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21204 * docs/pwg/appendix-porting.xml:
21205 Document _set_link_function -> _set_setcaps_function.
21207 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
21209 * check/Makefile.am:
21210 add a .check target for running the check
21211 * check/gst-libs/controller.c: (GST_START_TEST):
21213 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21214 complete checks for gstbuffer; would be nice if I could get the
21215 gcov stuff to work so I can see if I actually completed gstbuffer.c
21216 * check/gstcheck.h:
21217 add ASSERT_BUFFER_REFCOUNT
21219 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
21221 * docs/gst/gstreamer-sections.txt:
21222 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
21224 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
21225 spew out a warning if a tag that is already registered
21226 is re-registered, unless it is re-registered with a
21227 different type (#308438).
21229 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
21231 * docs/pwg/appendix-porting.xml:
21232 * docs/pwg/building-state.xml:
21233 Add some paragraphs about state changes in 0.9 to the PWG
21234 and the porting guide, in particular about the new meaning
21235 of GST_STATE_PAUSED and how to write state change functions
21236 with concurrent access by multiple threads in mind.
21238 2005-08-11 Stefan Kost <ensonic@users.sf.net>
21240 * docs/gst/gstreamer-docs.sgml:
21241 * docs/libs/gstreamer-libs-docs.sgml:
21242 added deprecation and since indexes
21243 * libs/gst/controller/gst-controller.c:
21244 * libs/gst/controller/gst-helper.c:
21248 2005-08-11 Wim Taymans <wim@fluendo.com>
21250 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
21251 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
21252 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
21253 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
21254 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
21255 (gst_ghost_pad_set_target):
21256 Actually implement (re)setting the target on a ghostpad
21257 as described in the docs.
21259 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
21261 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
21262 Check whether GST_DEBUG_NO_COLOR environment variable is
21263 set and disable coloured debug output if that is the case.
21265 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
21267 * gst/base/gsttypefindhelper.c: (helper_find_peek),
21268 (gst_type_find_helper):
21269 The memory returned by gst_type_find_peek() needs to
21270 stay valid until the end of a typefind function, and
21271 typefind functions may keep results from different
21272 offsets around, so we can't just unref the buffer from
21273 the previous _peek(), but have to save all buffers
21274 returned by _peek() until typefinding is done and only
21277 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
21279 * docs/gst/gstreamer-sections.txt:
21281 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
21283 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21285 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
21286 Fix a pretty good memleak.
21288 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
21290 * gst/gstiterator.h:
21291 Fix wrong include and 'make distcheck'.
21293 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21295 * gst/gstbin.c: (bin_bus_handler):
21296 Use gst_element_post_message() instead.
21298 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
21300 * gst/base/gstadapter.h:
21301 * gst/base/gstbasesink.h:
21302 * gst/base/gstbasesrc.h:
21303 * gst/base/gstbasetransform.h:
21304 * gst/base/gstcollectpads.h:
21305 * gst/base/gstpushsrc.h:
21306 * gst/gstiterator.h:
21307 Add padding to our base elements' class and instance structs and
21308 to GstIterator (you will need to rebuild all plugins and apps!)
21310 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21312 * gst/gstbin.c: (bin_bus_handler):
21313 Make default message forwarding from child->bus to bin->bus
21314 threadsafe and make it not emit warnings if the parent has no bus.
21316 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21318 * gst/gstelement.c: (activate_pads):
21319 On paused->ready, set pad->caps to NULL, as is the documented
21320 behaviour in this state change. Fixes playback of series of
21321 media files when visualization is enabled in Totem.
21323 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21325 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
21326 Allow NULL as filter-caps (which means "any").
21328 2005-08-05 Stefan Kost <ensonic@users.sf.net>
21330 * docs/libs/gstreamer-libs-sections.txt:
21331 * libs/gst/controller/gst-controller.c:
21332 * libs/gst/controller/gst-controller.h:
21333 * libs/gst/controller/gst-helper.c:
21334 adding more entries to the docs and fix small doc-bugs
21336 2005-08-05 Stefan Kost <ensonic@users.sf.net>
21338 * docs/gst/gstreamer-docs.sgml:
21339 * docs/gst/gstreamer-sections.txt:
21340 * docs/gst/gstreamer.types:
21341 * docs/gst/tmpl/gstbasesink.sgml:
21342 * docs/gst/tmpl/gstbasesrc.sgml:
21343 * docs/gst/tmpl/gstbasetransform.sgml:
21344 * docs/gst/tmpl/gstfakesrc.sgml:
21345 * gst/base/gstcollectpads.c:
21346 * gst/base/gstcollectpads.h:
21347 * libs/gst/controller/gst-controller.c:
21348 * libs/gst/controller/gst-controller.h:
21349 * libs/gst/controller/gst-helper.c:
21350 * libs/gst/controller/gst-interpolation.c:
21351 * libs/gst/controller/lib.c:
21352 added long/short desc for controller docs
21353 added collectpads base class docs
21354 added correct includes to base-class docs
21356 2005-08-05 Stefan Kost <ensonic@users.sf.net>
21358 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
21359 (gst_test_mono_source_set_property),
21360 (gst_test_mono_source_class_init), (GST_START_TEST),
21361 (gst_controller_suite):
21362 * docs/gst/gstreamer-docs.sgml:
21363 * docs/gst/gstreamer-sections.txt:
21364 * docs/gst/gstreamer.types:
21365 * docs/libs/gstreamer-libs-docs.sgml:
21366 * docs/libs/gstreamer-libs-sections.txt:
21367 * gst/base/gstadapter.c:
21368 * libs/gst/controller/gst-controller.c:
21369 (gst_controlled_property_new), (gst_controlled_property_free),
21370 (gst_controller_new_valist),
21371 (gst_controller_remove_properties_valist),
21372 (gst_controller_sink_values), (_gst_controller_finalize):
21373 * libs/gst/controller/gst-controller.h:
21374 * libs/gst/controller/gst-helper.c:
21375 (gst_object_control_properties), (gst_object_uncontrol_properties),
21376 (gst_object_get_controller), (gst_object_set_controller),
21377 (gst_object_sink_values), (gst_object_get_value_arrays),
21378 (gst_object_get_value_array):
21379 more tests (and fixes) for the controller
21380 more docs for the controller
21381 integrated companies docs for the adapter
21383 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
21385 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
21386 (GST_START_TEST), (fakesrc_suite):
21387 add tests for sizetype
21389 2005-08-04 Andy Wingo <wingo@pobox.com>
21391 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
21392 fixes buffer_alloc proxying among other things.
21394 * gst/base/gstbasetransform.c:
21395 * gst/base/gstbasetransform.h:
21396 Revert patch to gstbasetransform from 7-28 removing
21399 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
21400 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
21401 Semantics changed, should return not the size of the output buffer
21402 but the byte size of a buffer with a given caps.
21404 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
21406 (gst_base_transform_configure_caps): Don't set out_size here: (in,
21407 out) are not the pad caps until setcaps finishes.
21408 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
21409 not-in-place case as well. Deal with changing from in-place to
21410 not-in-place within calling pad_alloc_buffer. Still a bit
21411 concerned about the overhead here...
21413 2005-08-03 Andy Wingo <wingo@pobox.com>
21415 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
21416 fixating is an error.
21418 2005-08-04 Edward Hervey <edward@fluendo.com>
21420 * gst/base/gstadapter.h:
21421 Added gst_adapter_get_type() to the header
21423 2005-08-03 Stefan Kost <ensonic@users.sf.net>
21425 * check/Makefile.am:
21426 * check/gst-libs/controller.c:
21427 * libs/gst/controller/gst-controller.c:
21428 (gst_controller_new_valist):
21429 added check test suite for the controller
21430 * gst/base/gstpushsrc.c:
21433 2005-08-03 Stefan Kost <ensonic@users.sf.net>
21435 * docs/gst/Makefile.am:
21436 * docs/gst/gstreamer-docs.sgml:
21437 * docs/gst/gstreamer-sections.txt:
21438 * docs/gst/gstreamer.types:
21439 * docs/gst/tmpl/gstfakesrc.sgml:
21441 * gst/base/gstbasesink.c:
21442 * gst/base/gstbasesink.h:
21443 * gst/base/gstbasesrc.c:
21444 * gst/base/gstbasesrc.h:
21445 * gst/base/gstbasetransform.c:
21446 * gst/base/gstpushsrc.c:
21447 * gst/base/gstpushsrc.h:
21448 add short/long description docs to base classes
21449 add pushsrc to the docs
21450 remove consolidated doc fragments
21452 2005-08-03 Stefan Kost <ensonic@users.sf.net>
21455 * docs/libs/Makefile.am:
21456 * docs/libs/gstreamer-libs-docs.sgml:
21457 * docs/libs/gstreamer-libs-sections.txt:
21458 * docs/libs/gstreamer-libs.types:
21459 * examples/Makefile.am:
21460 * examples/controller/.cvsignore:
21461 * examples/controller/Makefile.am:
21462 * examples/controller/audio-example.c: (main):
21463 * libs/gst/Makefile.am:
21464 * libs/gst/controller/.cvsignore:
21465 * libs/gst/controller/Makefile.am:
21466 * libs/gst/controller/gst-controller.c:
21467 (on_object_controlled_property_changed), (gst_timed_value_compare),
21468 (gst_timed_value_find),
21469 (gst_controlled_property_set_interpolation_mode),
21470 (gst_controlled_property_new), (gst_controlled_property_free),
21471 (gst_controller_find_controlled_property),
21472 (gst_controller_new_valist), (gst_controller_new),
21473 (gst_controller_remove_properties_valist),
21474 (gst_controller_remove_properties), (gst_controller_set),
21475 (gst_controller_set_from_list), (gst_controller_unset),
21476 (gst_controller_get), (gst_controller_get_all),
21477 (gst_controller_sink_values), (gst_controller_get_value_arrays),
21478 (gst_controller_get_value_array),
21479 (gst_controller_set_interpolation_mode),
21480 (_gst_controller_finalize), (_gst_controller_init),
21481 (_gst_controller_class_init), (gst_controller_get_type):
21482 * libs/gst/controller/gst-controller.h:
21483 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
21484 (g_object_uncontrol_properties), (g_object_get_controller),
21485 (g_object_set_controller), (g_object_sink_values),
21486 (g_object_get_value_arrays), (g_object_get_value_array):
21487 * libs/gst/controller/gst-interpolation.c:
21488 (gst_controlled_property_find_timed_value_node),
21489 (interpolate_none_get), (interpolate_trigger_get),
21490 (interpolate_trigger_get_value_array):
21491 * libs/gst/controller/lib.c: (gst_controller_init):
21492 * pkgconfig/Makefile.am:
21493 * pkgconfig/gstreamer-control-uninstalled.pc.in:
21494 * pkgconfig/gstreamer-control.pc.in:
21495 * testsuite/Makefile.am:
21496 * testsuite/controller/.cvsignore:
21497 * testsuite/controller/Makefile.am:
21498 * testsuite/controller/interpolator.c: (main):
21499 added controller code
21500 removed dparam pc files
21502 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
21503 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
21504 (gst_collectpads_stop):
21505 Broadcast the condition when shutting down, to make sure we wake all
21506 threads up. Shut down pads on finalize, for safety.
21508 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
21509 * gst/base/gstbasetransform.c: (gst_base_transform_init),
21510 (gst_base_transform_handle_buffer),
21511 (gst_base_transform_change_state):
21512 Handle PAUSED->READY->PAUSED transition after negotiation
21514 * gst/gstmessage.c: (gst_message_init):
21515 Extra piece of debug for new messages.
21517 2005-08-01 Stefan Kost <ensonic@users.sf.net>
21520 * docs/gst/tmpl/gstbasesrc.sgml:
21521 * docs/gst/tmpl/gstelement.sgml:
21522 * docs/gst/tmpl/gstevent.sgml:
21523 * docs/gst/tmpl/gstfakesrc.sgml:
21524 * docs/gst/tmpl/gstformat.sgml:
21525 * docs/gst/tmpl/gstghostpad.sgml:
21526 * docs/gst/tmpl/gstpad.sgml:
21527 * docs/gst/tmpl/gstquery.sgml:
21528 * docs/gst/tmpl/gststructure.sgml:
21529 * docs/gst/tmpl/gsttaglist.sgml:
21530 * docs/gst/tmpl/gstvalue.sgml:
21531 * docs/libs/gstreamer-libs-docs.sgml:
21532 * docs/libs/gstreamer-libs-sections.txt:
21533 * docs/libs/gstreamer-libs.types:
21534 * libs/gst/Makefile.am:
21535 * libs/gst/control/.cvsignore:
21536 * libs/gst/control/Makefile.am:
21537 * libs/gst/control/control.c:
21538 * libs/gst/control/control.h:
21539 * libs/gst/control/dparam.c:
21540 * libs/gst/control/dparam.h:
21541 * libs/gst/control/dparam_smooth.c:
21542 * libs/gst/control/dparam_smooth.h:
21543 * libs/gst/control/dparamcommon.h:
21544 * libs/gst/control/dparammanager.c:
21545 * libs/gst/control/dparammanager.h:
21546 * libs/gst/control/dplinearinterp.c:
21547 * libs/gst/control/dplinearinterp.h:
21548 * libs/gst/control/unitconvert.c:
21549 * libs/gst/control/unitconvert.h:
21550 * testsuite/Makefile.am:
21551 * testsuite/dynparams/.cvsignore:
21552 * testsuite/dynparams/Makefile.am:
21553 * testsuite/dynparams/dparamstest.c:
21554 * tools/Makefile.am:
21555 * tools/gst-inspect.c: (print_element_info), (main):
21556 * tools/gst-xmlinspect.c: (print_element_info), (main):
21557 deactivate and remove dparams (libgstcontrol)
21559 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
21561 * gst/elements/gsttypefindelement.c:
21562 (gst_type_find_element_have_type), (gst_type_find_element_init),
21563 (stop_typefinding), (gst_type_find_element_handle_event),
21564 (gst_type_find_element_chain), (gst_type_find_element_getrange):
21565 * gst/elements/gsttypefindelement.h:
21566 Set caps on all outgoing buffers, not just the first one.
21568 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
21570 * gst/elements/gsttypefindelement.c:
21571 (gst_type_find_element_have_type),
21572 (gst_type_find_element_check_set_buffer_caps),
21573 (gst_type_find_element_init), (stop_typefinding),
21574 (gst_type_find_element_handle_event),
21575 (gst_type_find_element_chain), (gst_type_find_element_getrange):
21576 * gst/elements/gsttypefindelement.h:
21577 Set caps on first outgoing buffer when we've found the type.
21579 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
21581 * docs/gst/gstreamer-docs.sgml:
21582 * docs/gst/gstreamer-sections.txt:
21583 * docs/gst/tmpl/gstscheduler.sgml:
21584 * docs/gst/tmpl/gstschedulerfactory.sgml:
21585 Remove some old cruft from docs.
21587 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
21590 Fix inline docs for GstPadLinkReturn.
21592 * gst/gststructure.c: (gst_structure_has_name):
21593 * gst/gststructure.h:
21594 * docs/gst/gstreamer-sections.txt:
21595 New API: gst_structure_has_name().
21597 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
21600 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
21601 and _LARGEFILE_SOURCE in config.h as required. Do not
21602 export those flags in our .pc files any longer (#142209).
21604 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
21606 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
21607 (gst_file_sink_do_seek), (gst_file_sink_event),
21608 (gst_file_sink_get_current_offset), (gst_file_sink_render):
21609 Redo seek/tell calls with large file support in mind; add some
21610 debugging messages; add log message that tells us when large
21611 file support is unavailable or not enabled for some reason.
21613 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
21614 Add log message that tells us when large file support
21615 is unavailable or not enabled for some reason.
21617 2005-07-29 Wim Taymans <wim@fluendo.com>
21619 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21620 Added test for removing an element with ghostpad from a bin.
21621 Fixed test as current implementation does the right thing.
21623 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
21624 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
21625 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
21626 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
21627 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
21628 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
21629 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
21630 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
21631 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
21632 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
21633 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
21634 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
21635 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
21636 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
21637 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
21638 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
21639 * gst/gstghostpad.h:
21640 Clean up ghostpads, remove properties for internal stuff.
21643 Prepare for switching targets, not all use cases work yet.
21645 2005-07-29 Wim Taymans <wim@fluendo.com>
21647 * docs/design/part-gstghostpad.txt:
21650 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
21651 (gst_bin_remove_func):
21652 Unlinking pads while holding the bin LOCK is not a good
21655 * gst/gstpad.c: (gst_pad_class_init),
21656 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
21657 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
21658 No prob setting template after creating the pad.
21660 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
21662 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
21663 (gst_bus_peek), (gst_bus_source_dispatch),
21664 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
21665 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
21666 gst_bus_poll may be called from other threads. Handle
21667 this nicely by not making poll_data disappear off the
21668 stack once gst_bus_poll returns.
21669 gst_bus_peek now increments the refcount on the returned
21672 2005-07-29 Wim Taymans <wim@fluendo.com>
21674 * docs/design/part-gstghostpad.txt:
21675 Overview of current GhostPad datastructures and use
21676 cases for changing the target.
21678 2005-07-28 Wim Taymans <wim@fluendo.com>
21680 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
21681 Added checks for hierarchy consistency whan adding linked
21684 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
21685 Added check to test element scheduling without bin/pipeline.
21687 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21688 First add elements to bin, then link.
21690 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
21691 (gst_bin_remove_func):
21692 Unlink pads from elements added/removed from bin to maintain
21693 hierarchy consistency.
21695 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21697 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
21698 (gst_base_transform_handle_buffer):
21699 * gst/base/gstbasetransform.h:
21700 Remove broken delay_configure (fixes renegotiation of software
21701 scaling pipelines); remove some leftover printf()s.
21703 2005-07-28 Wim Taymans <wim@fluendo.com>
21705 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21706 Added some more tests for wrong hierarchy
21708 * docs/design/part-overview.txt:
21711 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
21714 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
21715 (gst_element_dispose):
21716 Some more cleanups.
21718 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
21719 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
21720 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21721 (gst_pad_set_caps), (gst_pad_send_event):
21722 Check for correct hierarchy when linking pads. Moving to
21723 strict requirement for ghostpads when linking elements in
21727 Clean ups. Added WRONG_HIERARCHY return value.
21729 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21731 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
21732 Better debug if no transform is possible.
21734 2005-07-27 Wim Taymans <wim@fluendo.com>
21736 * docs/random/wtay/network-transp:
21737 Some old doc I had.
21739 2005-07-27 Wim Taymans <wim@fluendo.com>
21741 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
21742 (gst_dp_event_from_packet):
21743 Fix serialization of seek events.
21745 2005-07-27 Wim Taymans <wim@fluendo.com>
21747 * check/gst-libs/gdp.c: (GST_START_TEST):
21748 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21749 Fix compilation and fix event serialization.
21751 2005-07-27 Wim Taymans <wim@fluendo.com>
21754 * docs/design/part-TODO.txt:
21755 * docs/design/part-events.txt:
21758 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21759 (gst_base_sink_event), (gst_base_sink_do_sync),
21760 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
21761 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21762 (gst_base_src_do_seek), (gst_base_src_event_handler),
21763 (gst_base_src_loop):
21764 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
21765 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21766 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
21767 (gst_base_transform_event), (gst_base_transform_handle_buffer),
21768 (gst_base_transform_set_passthrough),
21769 (gst_base_transform_is_passthrough):
21770 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21771 * gst/elements/gstfilesink.c: (gst_file_sink_event):
21777 * gst/gstelement.c: (gst_element_seek):
21778 * gst/gstelement.h:
21779 Update gst_element_seek.
21781 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
21782 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
21783 (gst_event_new_flush_start), (gst_event_new_flush_stop),
21784 (gst_event_new_eos), (gst_event_new_newsegment),
21785 (gst_event_parse_newsegment), (gst_event_new_tag),
21786 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
21787 (gst_event_parse_qos), (gst_event_new_seek),
21788 (gst_event_parse_seek), (gst_event_new_navigation):
21790 Make GstEvent use GstStructure. Add parsing code, make sure the
21791 API is sufficiently generic.
21792 Mark possible directions of events and serialization.
21794 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
21795 (_gst_message_copy), (gst_message_new_segment_start),
21796 (gst_message_new_segment_done), (gst_message_new_custom),
21797 (gst_message_parse_segment_start),
21798 (gst_message_parse_segment_done):
21801 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21802 (gst_pad_set_caps), (gst_pad_send_event):
21803 Update for new events.
21804 Catch events sent in wrong directions.
21806 * gst/gstqueue.c: (gst_queue_link_src),
21807 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
21808 (gst_queue_handle_src_query):
21813 Remove event code from this file.
21815 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
21816 (gst_dp_event_from_packet):
21819 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21821 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
21822 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21823 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
21824 Make debugging actually useful.
21826 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21828 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
21829 (gst_pad_fixate_caps):
21830 Implement default fixation once again, so that gst_pad_fixate()
21831 actually does anything at all. This probably needs to be some
21832 sort of a last resort, and use profile-based fixation first, but
21833 since that doesn't exist yet, this is the best we have. Fixes
21834 visualization in Totem.
21836 2005-07-22 Wim Taymans <wim@fluendo.com>
21838 * docs/design/part-events.txt:
21841 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21842 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
21843 (gst_base_sink_activate_pull):
21844 Some more comments.
21846 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
21847 (gst_fake_src_create):
21848 Fix handoff marshall.
21850 * gst/elements/gstidentity.c: (gst_identity_class_init),
21851 (gst_identity_transform_ip):
21852 We're a real inplace element.
21854 * gst/gstbus.c: (gst_bus_post):
21855 Added some comments.
21857 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
21858 * tests/muxing/case1.c: (main):
21859 * tests/sched/dynamic-pipeline.c: (main):
21860 * tests/sched/interrupt1.c: (main):
21861 * tests/sched/interrupt2.c: (main):
21862 * tests/sched/interrupt3.c: (main):
21863 * tests/sched/runxml.c: (main):
21864 * tests/sched/sched-stress.c: (main):
21865 * tests/seeking/seeking1.c: (event_received), (main):
21866 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
21868 * tests/threadstate/threadstate3.c: (main):
21869 * tests/threadstate/threadstate4.c: (main):
21870 * tests/threadstate/threadstate5.c: (main):
21873 2005-07-21 Wim Taymans <wim@fluendo.com>
21875 * docs/design/part-seeking.txt:
21876 Some small additions.
21878 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21879 (gst_base_sink_get_times), (gst_base_sink_do_sync),
21880 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
21881 * gst/base/gstbasesink.h:
21882 discont values are gint64, handle the math correctly.
21884 * gst/base/gstbasesrc.c: (gst_base_src_loop):
21885 Make the basesrc report error if the source pad is not linked.
21887 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
21888 (gst_queue_loop), (gst_queue_handle_src_query),
21889 (gst_queue_src_activate_push):
21890 Make queue collect data even if the srcpad is not linked.
21891 Start pushing out data as soon as it is linked.
21893 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
21895 Added gst_flow_get_name() to ease error reporting.
21897 2005-07-20 Wim Taymans <wim@fluendo.com>
21899 * gst/gstmessage.c: (gst_message_new_segment_start),
21900 (gst_message_new_segment_done), (gst_message_parse_segment_start),
21901 (gst_message_parse_segment_done):
21902 * gst/gstmessage.h:
21903 Added a bunch of messages for advanced seeking.
21905 * gst/parse/grammar.y:
21906 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
21907 (gst_dpman_state_changed):
21908 Fix some new-pad -> pad-added signals
21910 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21912 * docs/manual/appendix-porting.xml:
21913 * docs/pwg/appendix-porting.xml:
21914 Document new-pad/state-change signal renames and the FixedList
21917 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21919 * docs/manual/advanced-autoplugging.xml:
21920 * docs/manual/basics-helloworld.xml:
21921 * docs/manual/basics-pads.xml:
21922 * docs/random/ds/0.9-suggested-changes:
21923 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
21924 * gst/gstelement.h:
21928 * gst/gststructure.c: (gst_structure_value_get_generic_type),
21929 (gst_structure_parse_array), (gst_structure_parse_value):
21930 * gst/gstvalue.c: (gst_type_is_fixed),
21931 (gst_value_list_prepend_value), (gst_value_list_append_value),
21932 (gst_value_list_get_size), (gst_value_list_get_value),
21933 (gst_value_transform_array_string), (gst_value_serialize_array),
21934 (gst_value_deserialize_array), (gst_value_intersect_array),
21935 (gst_value_is_fixed), (_gst_value_initialize):
21937 GstElement::new-pad -> pad-added, GstElement::state-change ->
21938 state-changed, GstValueFixedList -> GstValueArray, add format and
21939 flags as their own arguments in gst_element_seek() (should improve
21940 "bindeability"), remove function generators since they don't work
21941 under a whole bunch of compilers (they were deprecated already
21944 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21946 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
21947 (_gst_debug_register_funcptr):
21949 Fix illegal cast on some platforms (#309253).
21951 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21953 * gst/gstmessage.c: (gst_message_new_custom):
21954 * gst/gstmessage.h:
21955 Add _new_custom, make _new_application a macro to _new_custom.
21957 2005-07-20 Wim Taymans <wim@fluendo.com>
21959 * gst/base/gstbasesrc.c: (gst_base_src_init),
21960 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
21961 * gst/base/gstbasesrc.h:
21962 Add a gboolean to decide when to push out a discont.
21964 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
21965 (gst_queue_loop), (gst_queue_handle_src_query),
21966 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
21967 (gst_queue_set_property), (gst_queue_get_property):
21970 * tests/threadstate/threadstate1.c: (main):
21971 Make a thread test compile and run... very silly..
21974 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21976 * docs/manual/appendix-porting.xml:
21977 Mention removal of libgstgconf-0.9.la and existence of gconf
21980 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21982 * docs/pwg/advanced-clock.xml:
21983 * docs/pwg/appendix-porting.xml:
21984 * docs/pwg/intro-preface.xml:
21985 * docs/pwg/other-base.xml:
21986 * docs/pwg/other-manager.xml:
21987 * docs/pwg/other-nton.xml:
21988 * docs/pwg/other-ntoone.xml:
21989 * docs/pwg/other-oneton.xml:
21990 * docs/pwg/pwg.xml:
21991 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
21992 demuxer), remove n-to-n (was never written), fix some code examples
21993 and links and update the porting section to include all this.
21995 2005-07-19 Wim Taymans <wim@fluendo.com>
21997 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
21998 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
21999 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
22000 (gst_queue_src_activate_push), (gst_queue_change_state),
22001 (gst_queue_get_property):
22003 Propagate GstFlowReturn more intelligently upstream and output
22004 an ERROR/EOS when streaming stopped due to fatal error.
22006 2005-07-19 Wim Taymans <wim@fluendo.com>
22008 * tools/gst-launch.c: (check_intr), (event_loop), (main):
22009 Don't block forever for the state change to complete, the
22010 pipeline already did with a sensible timeout.
22012 2005-07-19 Wim Taymans <wim@fluendo.com>
22014 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22015 Make sure we never call the create function is we
22018 2005-07-19 Andy Wingo <wingo@pobox.com>
22020 * gst/parse/parse.l: Attempt to solve bug #172815.
22022 2005-07-19 Wim Taymans <wim@fluendo.com>
22024 * docs/design/part-clocks.txt:
22025 * docs/design/part-events.txt:
22026 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
22027 Small docs updates.
22028 Only update the seeking values when we are not
22031 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
22033 * gst/base/gstbasesrc.c: (gst_base_src_loop):
22034 Oops, ignore the result of gst_pad_push_event here.
22036 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
22038 * gst/base/gstbasesrc.c: (gst_base_src_loop),
22039 (gst_base_src_activate_push):
22040 Send discont event from the loop function, as pads
22041 aren't activated yet in the activate_push handler.
22043 * gst/gstbin.c: (bin_bus_handler):
22044 Don't leak element name.
22046 2005-07-18 Andy Wingo <wingo@pobox.com>
22048 * configure.ac: Use AS_LIBTOOL_TAGS.
22050 2005-07-18 Wim Taymans <wim@fluendo.com>
22052 * docs/gst/gstreamer.types:
22053 Remove deleted types.
22055 2005-07-18 Wim Taymans <wim@fluendo.com>
22057 * check/elements/gstfakesrc.c: (GST_START_TEST):
22060 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
22061 (init_popt_callback):
22063 * gst/gst_private.h:
22064 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
22065 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
22068 * gst/gstconfig.h.in:
22069 * gst/gstelement.c: (gst_element_class_init),
22070 (gst_element_set_base_time), (gst_element_get_base_time),
22071 (iterator_fold_with_resync), (gst_element_change_state),
22072 (gst_element_dispose), (gst_element_get_bus):
22073 * gst/gstelement.h:
22074 * gst/gstelementfactory.h:
22075 * gst/gsterror.c: (_gst_core_errors_init):
22078 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
22080 * gst/gstinfo.c: (_gst_debug_init):
22081 * gst/gstmessage.c: (_gst_message_copy):
22082 * gst/gstmessage.h:
22083 * gst/gstminiobject.h:
22086 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22087 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
22090 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
22091 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
22092 (gst_pipeline_get_last_stream_time):
22093 * gst/gstpipeline.h:
22094 * gst/gstpluginfeature.h:
22096 * gst/gstscheduler.c:
22097 * gst/gstscheduler.h:
22098 * gst/gststructure.h:
22099 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
22100 (gst_task_finalize), (gst_task_func), (gst_task_create),
22101 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
22102 (gst_task_stop), (gst_task_pause):
22104 * gst/gsttypefind.h:
22106 * gst/registries/gstlibxmlregistry.c: (load_feature),
22107 (gst_xml_registry_load), (gst_xml_registry_save_feature):
22108 * gst/registries/gstxmlregistry.c:
22109 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
22110 * gst/schedulers/threadscheduler.c:
22111 * libs/gst/control/dparammanager.h:
22112 * tools/gst-inspect.c: (print_element_list),
22113 (print_plugin_features), (print_element_features):
22114 * tools/gst-xmlinspect.c: (print_element_list),
22115 (print_plugin_info), (main):
22116 Removed plugable schedulers.
22117 Removed Scheduler/Manager from elements.
22118 Removed gsttypes.h, rearranged includes.
22119 Removed dependency pad<->element, element<>pipeline, and
22120 various others, fix includes.
22121 implement gst_pad_get_parent() with gst_object_get_parent()
22122 Make GstTask sefcontained.
22123 Fix _get_state() on GstBin, it did not return ASYNC with a 0
22125 Fix endless loop in iterator_fold_with_resync.
22128 2005-07-18 Wim Taymans <wim@fluendo.com>
22134 2005-07-18 Wim Taymans <wim@fluendo.com>
22137 No more cothreads.h
22139 2005-07-18 Wim Taymans <wim@fluendo.com>
22143 Let's remove these.
22145 2005-07-18 Wim Taymans <wim@fluendo.com>
22147 * docs/design/part-dynamic.txt:
22148 * docs/design/part-events.txt:
22149 * docs/design/part-seeking.txt:
22150 Some more docs in the works.
22152 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
22153 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
22154 (gst_base_transform_setcaps), (gst_base_transform_get_size),
22155 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
22156 (gst_base_transform_handle_buffer),
22157 (gst_base_transform_sink_activate_push),
22158 (gst_base_transform_src_activate_pull),
22159 (gst_base_transform_set_passthrough),
22160 (gst_base_transform_is_passthrough):
22163 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
22166 * gst/gstevent.c: (gst_event_finalize):
22169 * gst/gstutils.c: (gst_element_unlink),
22170 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
22171 (gst_pad_proxy_setcaps):
22173 Add _get_parent_element() to get a pads parent as an element.
22175 2005-07-18 Wim Taymans <wim@fluendo.com>
22177 * check/gst/gstbin.c: (GST_START_TEST):
22180 2005-07-18 Wim Taymans <wim@fluendo.com>
22182 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
22183 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
22184 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
22185 (gst_base_sink_event), (gst_base_sink_do_sync),
22186 (gst_base_sink_chain), (gst_base_sink_loop),
22187 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
22188 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
22190 Fix logic for returning ASYNC when not prerolled.
22192 2005-07-18 Wim Taymans <wim@fluendo.com>
22194 * gst/gstqueue.c: (gst_queue_handle_sink_event):
22195 Fix nasty refcount bug.
22197 2005-07-16 Philippe Khalaf <burger@speedy.org>
22199 * gst/elements/gstfdsrc.c:
22200 * gst/elements/gstfdsrc.h:
22201 * gst/elements/gstelements.c:
22202 * gst/elements/Makefile.am:
22203 Ported fdsrc to 0.9.
22205 2005-07-16 Wim Taymans <wim@fluendo.com>
22207 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22208 (gst_base_sink_do_sync):
22211 2005-07-16 Wim Taymans <wim@fluendo.com>
22213 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22214 (gst_base_sink_event), (gst_base_sink_get_times),
22215 (gst_base_sink_do_sync), (gst_base_sink_change_state):
22216 * gst/base/gstbasesink.h:
22217 Store and use discont values when syncing buffers as described
22220 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
22221 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
22222 (gst_base_src_activate_push):
22223 Push discont event when starting.
22225 * gst/elements/gstidentity.c: (gst_identity_transform):
22228 * gst/gstbin.c: (gst_bin_change_state):
22229 Small cleanups in base_time distribution.
22231 * gst/gstelement.c: (gst_element_set_base_time),
22232 (gst_element_get_base_time), (gst_element_change_state):
22233 * gst/gstelement.h:
22234 Added methods for the base_time of the element.
22237 * gst/gstpipeline.c: (gst_pipeline_send_event),
22238 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
22239 (gst_pipeline_get_last_stream_time):
22240 * gst/gstpipeline.h:
22242 Handle seeking as described in design doc, remove stream_time
22244 Cleanups clock and stream_time selection code. Added accessors
22245 for the stream_time.
22248 2005-07-16 Andy Wingo <wingo@pobox.com>
22250 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
22253 2005-07-16 Wim Taymans <wim@fluendo.com>
22255 * check/gst/gstbin.c: (GST_START_TEST):
22256 Make elements silent as the deep_notify refs the
22257 parent, which might make the test fail.
22259 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
22260 Don't hold the lock for too long.
22262 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
22264 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
22265 Don't unref the caps we passed to gst_caps_make_writable() after
22266 passing them. gst_caps_make_writable() will do that for us.
22268 2005-07-15 Andy Wingo <wingo@pobox.com>
22270 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
22273 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
22274 own marshalling function for the handoff signal. Properly type the
22275 buffer as a buffer. Fixes some warnings. Should do a more general
22277 (gst_identity_class_init): Plug into the right marshaller.
22279 2005-07-15 Wim Taymans <wim@fluendo.com>
22281 * docs/design/part-TODO.txt:
22282 * docs/design/part-clocks.txt:
22283 * docs/design/part-element-sink.txt:
22284 * docs/design/part-events.txt:
22285 * docs/design/part-gstpipeline.txt:
22286 Updated docs, mostly DISCONT related.
22288 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
22290 * docs/pwg/building-pads.xml:
22291 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
22293 2005-07-15 Andy Wingo <wingo@pobox.com>
22295 * tools/gst-typefind.c: Update, add copyright block.
22297 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
22298 Normalize and truncate caps before fixation.
22301 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
22302 discards all but the first structure from its argument.
22304 2005-07-15 Wim Taymans <wim@fluendo.com>
22306 * gst/base/gstbasetransform.c: (gst_base_transform_init),
22307 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
22308 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22309 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
22310 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
22311 (gst_base_transform_chain), (gst_base_transform_change_state),
22312 (gst_base_transform_set_passthrough),
22313 (gst_base_transform_is_passthrough):
22314 * gst/base/gstbasetransform.h:
22315 Make passthrough work using the bufferpools.
22316 Changed API a bit, subclasses have to write into a buffer
22317 provided by the base class.
22318 More debug info in nego functions.
22320 * gst/elements/gstidentity.c: (gst_identity_init),
22321 (gst_identity_transform):
22322 Port to new base class.
22324 2005-07-15 Wim Taymans <wim@fluendo.com>
22326 * gst/gstmessage.c: (gst_message_new_state_changed):
22327 * tools/gst-launch.c: (event_loop), (main):
22328 Totally dump messages in -launch with the -m option.
22329 Fix message name for State messages,
22331 2005-07-14 Wim Taymans <wim@fluendo.com>
22333 * gst/base/gstbasesrc.c: (gst_base_src_loop):
22334 Post error messages on errors.
22336 2005-07-14 Wim Taymans <wim@fluendo.com>
22338 * gst/gstcaps.c: (gst_caps_do_simplify):
22342 Define error for stream stopped.
22344 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
22345 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
22346 Do proper return values.
22348 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22349 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
22350 (gst_pad_get_range):
22351 Better return values.
22354 Reorganise return values, add macro to check for fatal errors.
22356 * gst/gstqueue.c: (gst_queue_chain):
22357 Return proper GstFlowReturn values,
22359 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
22361 * docs/gst/gstreamer-sections.txt:
22362 * docs/gst/gstreamer.types:
22363 * docs/gst/tmpl/gst.sgml:
22364 * docs/gst/tmpl/gstbasesink.sgml:
22365 * docs/gst/tmpl/gstbasesrc.sgml:
22366 * docs/gst/tmpl/gstbasetransform.sgml:
22367 * docs/gst/tmpl/gstbin.sgml:
22368 * docs/gst/tmpl/gstbuffer.sgml:
22369 * docs/gst/tmpl/gstcaps.sgml:
22370 * docs/gst/tmpl/gstclock.sgml:
22371 * docs/gst/tmpl/gstcompat.sgml:
22372 * docs/gst/tmpl/gstconfig.sgml:
22373 * docs/gst/tmpl/gstelement.sgml:
22374 * docs/gst/tmpl/gstelementdetails.sgml:
22375 * docs/gst/tmpl/gstelementfactory.sgml:
22376 * docs/gst/tmpl/gstenumtypes.sgml:
22377 * docs/gst/tmpl/gsterror.sgml:
22378 * docs/gst/tmpl/gstevent.sgml:
22379 * docs/gst/tmpl/gstfakesink.sgml:
22380 * docs/gst/tmpl/gstfakesrc.sgml:
22381 * docs/gst/tmpl/gstfilesink.sgml:
22382 * docs/gst/tmpl/gstfilesrc.sgml:
22383 * docs/gst/tmpl/gstfilter.sgml:
22384 * docs/gst/tmpl/gstformat.sgml:
22385 * docs/gst/tmpl/gstghostpad.sgml:
22386 * docs/gst/tmpl/gstimplementsinterface.sgml:
22387 * docs/gst/tmpl/gstindex.sgml:
22388 * docs/gst/tmpl/gstindexfactory.sgml:
22389 * docs/gst/tmpl/gstinfo.sgml:
22390 * docs/gst/tmpl/gstiterator.sgml:
22391 * docs/gst/tmpl/gstmacros.sgml:
22392 * docs/gst/tmpl/gstmemchunk.sgml:
22393 * docs/gst/tmpl/gstminiobject.sgml:
22394 * docs/gst/tmpl/gstobject.sgml:
22395 * docs/gst/tmpl/gstpad.sgml:
22396 * docs/gst/tmpl/gstpadtemplate.sgml:
22397 * docs/gst/tmpl/gstparse.sgml:
22398 * docs/gst/tmpl/gstpipeline.sgml:
22399 * docs/gst/tmpl/gstplugin.sgml:
22400 * docs/gst/tmpl/gstpluginfeature.sgml:
22401 * docs/gst/tmpl/gstquery.sgml:
22402 * docs/gst/tmpl/gstqueue.sgml:
22403 * docs/gst/tmpl/gstregistry.sgml:
22404 * docs/gst/tmpl/gstregistrypool.sgml:
22405 * docs/gst/tmpl/gstscheduler.sgml:
22406 * docs/gst/tmpl/gstschedulerfactory.sgml:
22407 * docs/gst/tmpl/gststructure.sgml:
22408 * docs/gst/tmpl/gstsystemclock.sgml:
22409 * docs/gst/tmpl/gsttaglist.sgml:
22410 * docs/gst/tmpl/gsttagsetter.sgml:
22411 * docs/gst/tmpl/gsttrace.sgml:
22412 * docs/gst/tmpl/gsttrashstack.sgml:
22413 * docs/gst/tmpl/gsttypefind.sgml:
22414 * docs/gst/tmpl/gsttypefindfactory.sgml:
22415 * docs/gst/tmpl/gsttypes.sgml:
22416 * docs/gst/tmpl/gsturihandler.sgml:
22417 * docs/gst/tmpl/gsturitype.sgml:
22418 * docs/gst/tmpl/gstutils.sgml:
22419 * docs/gst/tmpl/gstvalue.sgml:
22420 * docs/gst/tmpl/gstversion.sgml:
22421 * docs/gst/tmpl/gstxml.sgml:
22422 * docs/libs/tmpl/gstcontrol.sgml:
22423 * docs/libs/tmpl/gstdataprotocol.sgml:
22424 * docs/libs/tmpl/gstdparam.sgml:
22425 * docs/libs/tmpl/gstdplinint.sgml:
22426 * docs/libs/tmpl/gstdpman.sgml:
22427 * docs/libs/tmpl/gstdpsmooth.sgml:
22428 * docs/libs/tmpl/gstgetbits.sgml:
22429 * docs/libs/tmpl/gstunitconvert.sgml:
22430 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
22431 (gst_push_src_base_init), (gst_push_src_class_init),
22432 (gst_push_src_init), (gst_push_src_create):
22433 * gst/base/gstpushsrc.h:
22434 * gst/elements/gstelements.c:
22435 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
22436 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
22437 (gst_fake_sink_init), (gst_fake_sink_set_property),
22438 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
22439 (gst_fake_sink_event), (gst_fake_sink_preroll),
22440 (gst_fake_sink_render), (gst_fake_sink_change_state):
22441 * gst/elements/gstfakesink.h:
22442 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
22443 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
22444 (gst_fake_src_base_init), (gst_fake_src_class_init),
22445 (gst_fake_src_init), (gst_fake_src_event_handler),
22446 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
22447 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
22448 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
22449 (gst_fake_src_create_buffer), (gst_fake_src_create),
22450 (gst_fake_src_start), (gst_fake_src_stop):
22451 * gst/elements/gstfakesrc.h:
22452 * gst/elements/gstfilesink.c: (_do_init),
22453 (gst_file_sink_base_init), (gst_file_sink_class_init),
22454 (gst_file_sink_init), (gst_file_sink_dispose),
22455 (gst_file_sink_set_location), (gst_file_sink_set_property),
22456 (gst_file_sink_get_property), (gst_file_sink_open_file),
22457 (gst_file_sink_close_file), (gst_file_sink_query),
22458 (gst_file_sink_event), (gst_file_sink_render),
22459 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
22460 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
22461 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
22462 * gst/elements/gstfilesink.h:
22463 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
22464 (gst_file_src_class_init), (gst_file_src_init),
22465 (gst_file_src_finalize), (gst_file_src_set_location),
22466 (gst_file_src_set_property), (gst_file_src_get_property),
22467 (gst_file_src_map_region), (gst_file_src_map_small_region),
22468 (gst_file_src_create_mmap), (gst_file_src_create_read),
22469 (gst_file_src_create), (gst_file_src_is_seekable),
22470 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
22471 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
22472 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
22473 (gst_file_src_uri_handler_init):
22474 * gst/elements/gstfilesrc.h:
22475 more autistic cleanliness in functions/names/defines
22477 2005-07-13 Andy Wingo <wingo@pobox.com>
22479 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
22480 source couldn't negotiate.
22482 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
22486 * gst/gstutils.c (gst_element_link_pads_filtered): New old
22487 function. I am channeling Hades. Put your boots on suckers!!!
22489 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
22491 * testsuite/caps/Makefile.am:
22492 * testsuite/caps/value_compare.c:
22493 * testsuite/caps/value_intersect.c:
22494 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
22495 move two testsuite apps over to the check dir
22497 2005-07-12 Wim Taymans <wim@fluendo.com>
22499 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
22500 Added more debug info in the negotiate process.
22502 * gst/gstmessage.h:
22503 Prepare for segment playback.
22505 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
22511 * tools/gst-launch.c: (main):
22512 NULL pipeline on errors.
22514 2005-07-12 Andy Wingo <wingo@pobox.com>
22516 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
22517 not it comes from a malloc region. Make sure our copy gets freed.
22519 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
22521 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
22522 * check/gst/gstmessage.c: (GST_START_TEST):
22523 * check/gst/gststructure.c: (GST_START_TEST),
22524 (gst_structure_suite), (main):
22526 * gst/gstelement.c: (gst_element_message_full):
22527 clean up GError and debug string now that they get copied
22528 * gst/gstmessage.c: (gst_message_new_error),
22529 (gst_message_new_warning), (gst_message_parse_error),
22530 (gst_message_parse_warning):
22531 use GST_TYPE_G_ERROR for structure_new, and take copies of
22532 arguments, so that we don't mess up refcounting
22534 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
22536 * check/Makefile.am:
22537 add per-test valgrind targets
22538 * check/gst-libs/gdp.c: (GST_START_TEST),
22539 (gst_data_protocol_suite), (main):
22542 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
22544 * check/Makefile.am:
22545 instate more valgrindable tests
22546 * check/elements/gstfakesrc.c: (chain_func), (event_func),
22547 (GST_START_TEST), (fakesrc_suite):
22548 * check/gst/gstpad.c: (GST_START_TEST):
22549 * check/gst/gststructure.c: (GST_START_TEST):
22551 * docs/gst/tmpl/gstminiobject.sgml:
22552 * gst/gstpad.c: (gst_pad_finalize):
22553 fix the static mutex leak
22555 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
22557 * check/Makefile.am:
22558 add two more tests for valgrinding
22559 * check/gst/gstvalue.c: (GST_START_TEST):
22560 test refcount of deserialized buffer, found a leak
22561 * docs/gst/gstreamer-docs.sgml:
22562 * docs/gst/gstreamer-sections.txt:
22563 * docs/gst/gstreamer.types:
22564 * docs/gst/tmpl/gstminiobject.sgml:
22565 add miniobject to docs
22566 * gst/gstminiobject.c:
22568 * gst/gstvalue.c: (gst_value_deserialize_buffer),
22569 (gst_string_unwrap):
22570 fix a hard-to-find invalid write for one of the tests
22571 fix a leak for deserialized buffers
22573 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22575 * docs/pwg/advanced-events.xml:
22576 * docs/pwg/advanced-request.xml:
22577 * docs/pwg/advanced-scheduling.xml:
22578 * docs/pwg/appendix-porting.xml:
22579 * docs/pwg/building-boiler.xml:
22580 * docs/pwg/intro-preface.xml:
22581 * docs/pwg/other-ntoone.xml:
22582 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
22583 of example code and explanation for pad activation, loop() and
22584 getrange() functions and a bit more. Remove old comments pointing
22586 * examples/pwg/Makefile.am:
22587 Add loop/getrange examples.
22589 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
22592 check for valgrind binary + some fixes
22594 valgrind suppressions for the tests
22595 * check/Makefile.am:
22596 add a valgrind: target that valgrinds the unit tests
22597 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
22598 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
22599 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22600 * check/gst/gstghostpad.c:
22602 * check/gst/gstdata.c:
22604 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
22605 (thread_unref), (gst_mini_object_suite), (main):
22607 * gst/gst.c: (gst_deinit):
22609 add a method to clean up.
22610 * gst/gstsystemclock.c: (gst_system_clock_dispose),
22611 (gst_system_clock_obtain):
22612 allow for disposing the system clock.
22613 * tools/gst-launch.c: (main):
22616 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
22618 * docs/gst/tmpl/gstbasesrc.sgml:
22619 * docs/gst/tmpl/gstfakesrc.sgml:
22620 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22621 (gst_base_src_init), (gst_base_src_set_property),
22622 (gst_base_src_get_property), (gst_base_src_get_range),
22623 (gst_base_src_start):
22624 * gst/base/gstbasesrc.h:
22625 add num-buffers property
22626 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22627 (gst_fakesrc_init), (gst_fakesrc_set_property),
22628 (gst_fakesrc_get_property), (gst_fakesrc_create),
22629 (gst_fakesrc_start):
22630 remove num-buffers property
22632 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
22634 * docs/gst/gstreamer-sections.txt:
22635 * docs/gst/tmpl/gstbasesink.sgml:
22636 * docs/gst/tmpl/gstbasesrc.sgml:
22637 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
22638 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
22639 (gst_base_sink_finalize), (gst_base_sink_set_clock),
22640 (gst_base_sink_set_property), (gst_base_sink_get_property),
22641 (gst_base_sink_handle_object), (gst_base_sink_event),
22642 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
22643 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
22644 (gst_base_sink_loop), (gst_base_sink_deactivate),
22645 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
22646 (gst_base_sink_change_state):
22647 * gst/base/gstbasesink.h:
22648 * gst/base/gstbasesrc.h:
22649 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
22650 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
22651 (gst_filesink_init):
22652 more macro splitting
22654 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
22656 * gst/gstelement.c: (gst_element_get_bus):
22658 * tools/gst-launch.c: (check_intr), (event_loop):
22661 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
22663 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
22666 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
22668 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22669 (gst_base_src_finalize):
22670 add finalize method and clean up properly
22671 * gst/gstpipeline.c: (gst_pipeline_dispose):
22674 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
22676 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
22678 add more things to check
22679 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
22680 * gst/gstelement.c:
22683 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
22685 * check/elements/gstfakesrc.c: (chain_func), (event_func),
22686 (GST_START_TEST), (fakesrc_suite):
22687 * check/gst-libs/gdp.c: (GST_START_TEST):
22688 * check/gst/gst.c: (GST_START_TEST):
22689 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22690 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22691 * check/gst/gstbus.c: (GST_START_TEST):
22692 * check/gst/gstcaps.c: (GST_START_TEST):
22693 * check/gst/gstdata.c: (GST_START_TEST):
22694 * check/gst/gstelement.c: (GST_START_TEST):
22695 * check/gst/gstghostpad.c: (GST_START_TEST):
22696 * check/gst/gstiterator.c: (GST_START_TEST):
22697 * check/gst/gstmessage.c: (GST_START_TEST):
22698 * check/gst/gstobject.c: (GST_START_TEST):
22699 * check/gst/gstpad.c: (GST_START_TEST):
22700 * check/gst/gststructure.c: (GST_START_TEST):
22701 * check/gst/gstsystemclock.c: (GST_START_TEST),
22702 (gst_systemclock_suite):
22703 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
22704 * check/gst/gstvalue.c: (GST_START_TEST):
22705 * check/pipelines/cleanup.c: (GST_START_TEST):
22706 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
22707 * check/states/sinks.c: (GST_START_TEST):
22708 * check/gstcheck.c: (gst_check_init):
22709 * check/gstcheck.h:
22710 add debugging category
22711 use GST_START_TEST now, so we add a debug line
22713 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
22715 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
22716 add test for state change message on a bin
22717 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
22719 * gst/gstbin.c: (gst_bin_init):
22720 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
22721 * gst/gstelement.c: (gst_element_post_message),
22722 (gst_element_set_state):
22723 * gst/gstelementfactory.c: (gst_element_factory_create):
22724 * gst/gstmessage.c: (gst_message_new):
22725 * gst/gstscheduler.c:
22726 various debugging additions and cleanups
22728 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
22730 * check/Makefile.am:
22731 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
22733 adding tests for elements
22734 * gst/gstelement.c: (gst_element_dispose):
22736 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
22738 * gst/registries/gstlibxmlregistry.c: (load_feature):
22739 plug more leaks. A simple gst_init() now is leakfree, yay.
22741 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
22743 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
22744 (gst_xml_registry_load):
22745 plug another memleak
22747 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
22750 use GST_SET_ERROR_CFLAGS
22751 * docs/faq/cvs.xml:
22752 change to ERROR_CFLAGS
22754 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
22757 make GST_ERROR_CFLAGS overridable and re-enable Werror
22758 * docs/faq/cvs.xml:
22759 add a note about error CFLAGS
22760 * docs/gst/tmpl/gstfakesrc.sgml:
22761 * gst/elements/gstfakesrc.c:
22762 comment out some unused code
22763 * gst/gst.c: (split_and_iterate):
22764 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
22768 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
22770 * common/Makefile.am:
22771 * common/gtk-doc.mak:
22772 * docs/gst/Makefile.am:
22773 factor out gtk-doc.mak
22775 2005-07-07 Wim Taymans <wim@fluendo.com>
22777 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
22778 (gst_thread_scheduler_dispose):
22779 Unlock the STREAM_LOCK completely.
22781 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
22783 * check/Makefile.am:
22784 * check/elements/.cvsignore:
22785 * check/elements/gstfakesrc.c: (chain_func), (event_func),
22786 (START_TEST), (fakesrc_suite), (main):
22787 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22788 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
22789 (gst_fakesrc_create), (gst_fakesrc_start):
22790 * gst/elements/gstfakesrc.h:
22791 adding a first element test
22793 2005-07-07 Andy Wingo <wingo@pobox.com>
22795 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
22798 2005-07-07 Wim Taymans <wim@fluendo.com>
22804 2005-07-07 Wim Taymans <wim@fluendo.com>
22806 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
22807 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
22808 Allow subclasses to implement their own negotiation.
22810 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
22812 * docs/design/part-gstbin.txt:
22813 * docs/design/part-gstpipeline.txt:
22814 Update design notes to reflect the movement of
22815 responsibility for bus handling from GstPipeline to
22818 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
22821 Remove unnecessary queue2/3/4 examples.
22823 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
22825 * examples/Makefile.am:
22826 * examples/helloworld/helloworld.c: (event_loop), (main):
22827 * examples/queue/queue.c: (event_loop), (main):
22828 * examples/queue2/queue2.c: (main):
22829 Update a couple of the examples to work again.
22831 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
22832 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
22833 Spelling corrections and extra debug.
22835 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
22836 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
22837 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
22839 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
22840 (gst_pipeline_change_state):
22841 * gst/gstpipeline.h:
22842 Move the bus handler for children to the GstBin, and create a
22843 separate bus for receiving messages from children to the one the
22844 bus sends 'upwards' on.
22846 2005-07-06 Wim Taymans <wim@fluendo.com>
22849 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
22850 (gst_base_sink_handle_object), (gst_base_sink_loop),
22851 (gst_base_sink_change_state):
22852 * gst/base/gstbasesink.h:
22853 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22854 (gst_base_src_init), (gst_base_src_setcaps),
22855 (gst_base_src_getcaps), (gst_base_src_loop),
22856 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
22857 (gst_base_src_start), (gst_base_src_change_state):
22858 * gst/base/gstbasesrc.h:
22859 Make basesrc negotiate.
22860 Handle the case where preroll fails in basesink.
22863 2005-07-06 Wim Taymans <wim@fluendo.com>
22865 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
22866 Implement the fixate function.
22867 Clean up acceptcaps.
22869 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22871 * docs/pwg/building-filterfactory.xml:
22872 * docs/pwg/pwg.xml:
22873 Remove never-written filter-factory chapter; I'll add the various
22874 base classes to part 4 ("other element types") later on.
22876 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22878 * docs/pwg/advanced-negotiation.xml:
22879 * docs/pwg/building-boiler.xml:
22880 * docs/pwg/building-pads.xml:
22881 * docs/pwg/pwg.xml:
22882 * examples/pwg/Makefile.am:
22883 Add a chapter on caps negotiation, simplify the original code
22884 samples a bit w.r.t. caps negotiation, add link to the advanced
22885 section. Add a bunch of examples showing different use cases of
22886 different types of caps negotiation. Upstream renegotiation isn't
22887 fully documented yet since nobody knows how that works.
22889 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
22891 * check/gst/gstpad.c:
22892 * check/gstcheck.c:
22893 * gst/gstpad.c: (gst_pad_get_internal_links_default):
22894 if pad has no parent, return NULL as list of internal links
22896 2005-07-05 Andy Wingo <wingo@pobox.com>
22898 * gst/elements/gstfilesrc.c:
22899 * gst/elements/gstfakesrc.c:
22900 * gst/base/gstpushsrc.c:
22901 * gst/base/gstbasesrc.h:
22902 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
22904 2005-07-05 Stefan Kost <ensonic@users.sf.net>
22907 better report generation target (lcov needs a patch)
22909 2005-07-05 Andy Wingo <wingo@pobox.com>
22911 * gst/elements, testsuite: Null if we got it...
22913 2005-07-05 Wim Taymans <wim@fluendo.com>
22916 * libs/gst/dataprotocol/Makefile.am:
22917 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
22918 * libs/gst/dataprotocol/dataprotocol.h:
22919 * pkgconfig/Makefile.am:
22920 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
22921 * pkgconfig/gstreamer-dataprotocol.pc.in:
22922 Ported dataprotol to 0.9.
22923 Added pkgconfig files.
22925 2005-07-05 Andy Wingo <wingo@pobox.com>
22927 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
22928 Default to returning TRUE for the case when tranform_caps returns
22929 a fixed caps, like for identity or volume.
22931 * check/gst/gstbus.c (pound_bus_with_messages):
22932 * check/gst/gstmessage.c (START_TEST):
22933 * check/pipelines/simple_launch_lines.c (got_handoff): Application
22934 message API change.
22936 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
22937 logic weaks here: always run transform_caps, trying passthrough
22938 operation only if the original caps intersects with the transform.
22940 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
22941 source and sink caps.
22943 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
22944 Intersect the peer caps with the pad template before going into
22946 (gst_base_transform_transform_caps): More debugging.
22948 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
22951 2005-07-04 Edward Hervey <edward@fluendo.com>
22955 (gst_pad_add_*_probe): now returns the signal id for better wrapping
22958 2005-07-04 Andy Wingo <wingo@pobox.com>
22960 * check/gst/gstpad.c: Only set explicit caps on pads.
22962 2005-07-01 Andy Wingo <wingo@pobox.com>
22964 * tests/network-clock.scm: Commentary update.
22966 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
22967 Didn't really make sense, not implementable with basetransform,
22969 (gst_identity_transform): Unref inbuf via make_writable. Feeble
22970 attempt at implementing the sync property, needs an unlock method.
22972 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
22973 New func, by default returns the same caps (the identity
22975 (gst_base_transform_getcaps): Uses transform_caps to return
22976 something sensible.
22977 (gst_base_transform_setcaps): Complicated logic to get caps on
22978 both pads, even if they are different, and to call set_caps once
22979 for every time both pads get their caps set.
22980 (gst_base_transform_handle_buffer): Give the ref to the transform
22981 function. Allows in-place modification of the buffer.
22983 * gst/base/gstbasetransform.h (transform_caps): New class method.
22984 Given caps on one side, what can I do on the other.
22985 (set_caps): Take two caps, one for each side of the element.
22988 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
22989 caps in place. This is safe because we can check the mutability of
22990 the caps, and a good idea because fixate functions are just called
22991 as a matter of last resort. (Not actually implemented.)
22992 (gst_pad_set_caps): If the caps we're setting is actually the same
22993 as the existing pad caps, just update the pointer without calling
22994 setcaps. Assert that caps is either NULL or fixed, as per the
22997 * gst/gstghostpad.c: Update for fixate changes.
22999 2005-07-02 Andy Wingo <wingo@pobox.com>
23002 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
23003 two refcounts makes it immutable, which is enough. Doc more.
23005 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
23007 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
23008 Put the mini_object into GValue as a mini_object,
23009 not a gpointer, since that's how we declared
23012 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23014 * examples/pwg/Makefile.am:
23015 Fix buildbot again.
23017 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23019 * docs/pwg/building-testapp.xml:
23021 * examples/pwg/Makefile.am:
23024 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23027 * examples/Makefile.am:
23028 * examples/pwg/Makefile.am:
23029 * examples/pwg/extract.pl:
23030 Enable building the PWG examples.
23031 * docs/pwg/advanced-interfaces.xml:
23032 Add URI interface stub.
23033 * docs/pwg/advanced-types.xml:
23034 * docs/pwg/other-autoplugger.xml:
23035 * docs/pwg/appendix-porting.xml:
23036 * docs/pwg/pwg.xml:
23037 Add porting guide (mostly stubs), remove autoplugging (see ADM).
23038 * docs/pwg/building-boiler.xml:
23039 * docs/pwg/building-chainfn.xml:
23040 * docs/pwg/building-pads.xml:
23041 * docs/pwg/building-props.xml:
23042 * docs/pwg/building-state.xml:
23043 * docs/pwg/building-testapp.xml:
23044 Update the building-*.xml parts for 0.9 changes. All examples
23045 code blocks compile in examples/pwg/*.
23047 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23049 * docs/manual/advanced-autoplugging.xml:
23050 * docs/manual/appendix-checklist.xml:
23051 * docs/manual/appendix-integration.xml:
23052 * docs/manual/highlevel-components.xml:
23053 Fix playbin/decodebin examples, update docs a bit, mention bus
23054 instead of signals in various places, mention kmplayer and
23055 kaffeine since they have a working GStreamer backend in the KDE
23058 2005-06-30 Wim Taymans <wim@fluendo.com>
23061 * docs/design/draft-ghostpads.txt:
23062 * docs/design/draft-push-pull.txt:
23063 * docs/design/draft-query.txt:
23064 * docs/design/part-TODO.txt:
23065 * docs/design/part-query.txt:
23066 Added CHANGES-0.9 doc, updated status of other docs.
23071 2005-06-30 Wim Taymans <wim@fluendo.com>
23073 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
23074 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
23075 (gst_base_sink_change_state):
23076 * gst/base/gstbasesink.h:
23077 Some tweaks, only EOS and a buffer complete a preroll.
23079 2005-06-30 Andy Wingo <wingo@pobox.com>
23081 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
23082 activate_push down to the internal pad as well.
23084 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
23086 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23088 * gst/gsttaginterface.c:
23089 Some documentation fixes (#307394 and #307397).
23091 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
23093 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23095 * gst/gstvalue.c: (gst_value_intersect_list):
23096 Fix memleak (#309125).
23098 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23100 * docs/manual/advanced-dataaccess.xml:
23101 Fix fakesrc example to compile; doesn't work, bug somewhere...?
23102 * docs/manual/basics-pads.xml:
23103 Add reference for filtered caps to above chapter.
23105 2005-06-30 Wim Taymans <wim@fluendo.com>
23107 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
23108 (gst_bin_change_state):
23110 Lame attempt at making the state change function a bit
23113 2005-06-30 Wim Taymans <wim@fluendo.com>
23115 * docs/design/part-clocks.txt:
23116 * docs/design/part-element-sink.txt:
23117 * docs/design/part-events.txt:
23118 * docs/design/part-preroll.txt:
23119 * docs/design/part-states.txt:
23120 Some more tweeks and additions to the docs.
23122 2005-06-30 Wim Taymans <wim@fluendo.com>
23124 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23125 (default_have_data), (gst_pad_class_init), (gst_pad_init),
23126 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
23127 (gst_pad_check_pull_range), (gst_pad_get_range),
23128 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
23130 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
23131 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
23132 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
23133 (gst_pad_remove_buffer_probe):
23134 Removed atomic operations, use existing LOCK.
23135 Move exception handling out of main code path.
23137 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23139 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23140 (silly_return_true_function), (gst_pad_class_init),
23141 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
23142 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
23143 (gst_pad_send_event):
23144 Fix accumulator, add default value by using _emitv() instead
23145 of _emit() for signal emission.
23147 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23149 * docs/manual/advanced-dataaccess.xml:
23150 * examples/manual/Makefile.am:
23152 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
23155 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
23157 * gst/elements/gstfilesink.c: (gst_filesink_render):
23158 Simplify code so that we don't have to handle short
23159 writes and return GST_FLOW_ERROR if an error occured.
23161 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23163 * docs/gst/gstreamer-docs.sgml:
23164 Remove probes more.
23166 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23168 * docs/gst/gstreamer-sections.txt:
23169 * docs/gst/tmpl/gstpad.sgml:
23170 * docs/gst/tmpl/gstprobe.sgml:
23172 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23173 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
23174 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
23175 (gst_pad_push_event), (gst_pad_send_event):
23177 * gst/gstutils.c: (gst_pad_add_data_probe),
23178 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
23179 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
23180 (gst_pad_remove_buffer_probe):
23182 Remove old probes, add new g-signal-based probes and some utility
23185 2005-06-29 Edward Hervey <edward@fluendo.com>
23187 * gst/gstelementfactory.c:
23190 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
23191 the definition to the header file.
23193 2005-06-29 Andy Wingo <wingo@pobox.com>
23195 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
23196 plugins from the source directory.
23198 2005-06-29 Wim Taymans <wim@fluendo.com>
23200 * docs/gst/tmpl/gstbuffer.sgml:
23201 * docs/gst/tmpl/gstclock.sgml:
23202 Some fixings for blantently wrong text.
23204 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
23206 * check/Makefile.am:
23207 * gst/gst.c: (add_path_func), (init_pre):
23208 * gst/gstregistry.c: (gst_registry_add_path):
23209 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
23210 only scan the GST_PLUGIN_PATH locations, and not add
23213 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
23215 * docs/gst/gstreamer-sections.txt:
23216 * docs/gst/tmpl/gstbasesrc.sgml:
23217 * gst/gstelement.c:
23218 * gst/gstelement.h:
23223 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23225 * docs/manual/advanced-autoplugging.xml:
23226 Fix autoplugging example.
23228 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23230 * docs/manual/advanced-autoplugging.xml:
23231 * docs/manual/mime-world.fig:
23232 Try to get autoplugging working, fix type detection. Fix text
23233 in hello-world image.
23235 2005-06-29 Wim Taymans <wim@fluendo.com>
23237 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23238 (gst_base_sink_change_state):
23242 map SIGNAL and BROADCAST to the right function.
23245 Remove redundant braces.
23247 * gst/gstpad.c: (gst_pad_set_caps):
23248 Don't call setcaps function when reseting caps to NULL.
23250 * gst/gstsystemclock.c: (gst_system_clock_dispose),
23251 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
23252 (gst_system_clock_id_unschedule):
23253 Use BROADCAST as this is what we do.
23255 2005-06-29 Wim Taymans <wim@fluendo.com>
23257 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23258 We are actually prerolling before commiting the state
23261 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23263 * docs/manual/advanced-clocks.xml:
23264 * docs/manual/advanced-interfaces.xml:
23265 * docs/manual/advanced-metadata.xml:
23266 * docs/manual/advanced-position.xml:
23267 * docs/manual/advanced-schedulers.xml:
23268 * docs/manual/advanced-threads.xml:
23269 * docs/manual/appendix-porting.xml:
23270 * docs/manual/basics-bins.xml:
23271 * docs/manual/basics-bus.xml:
23272 * docs/manual/basics-elements.xml:
23273 * docs/manual/basics-helloworld.xml:
23274 * docs/manual/basics-pads.xml:
23275 * docs/manual/highlevel-components.xml:
23276 * docs/manual/manual.xml:
23277 * docs/manual/thread.fig:
23278 Update (until threads/scheduling) Application Development Manual;
23279 remove GstThread, add GstBus, add simple porting checklist, add
23280 documentation for tag writing, clocks, make all examples until this
23281 part compile and run.
23282 * examples/manual/Makefile.am:
23283 Update from changes to Application Development Manual; add bus
23284 example, remove thread example.
23286 2005-06-28 Wim Taymans <wim@fluendo.com>
23288 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
23289 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
23290 (gst_bus_source_dispatch):
23291 Add debugging messages.
23292 Make internal methods static.
23293 Handle the case where the bus is flushed in the handler.
23295 * gst/gstelement.c: (gst_element_get_bus):
23296 Fix refcount in _get_bus();
23298 * gst/gstpipeline.c: (gst_pipeline_change_state),
23299 (gst_pipeline_get_clock_func):
23300 Clock refcounting fixes.
23301 Handle the case where preroll timed out more gracefully.
23303 * gst/gstsystemclock.c: (gst_system_clock_dispose):
23304 Clean up the internal thread in dispose. This is needed
23305 for subclasses that actually get disposed.
23307 * gst/schedulers/threadscheduler.c:
23308 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
23309 (gst_thread_scheduler_dispose):
23310 Free thread pool in dispose.
23312 2005-06-28 Andy Wingo <wingo@pobox.com>
23314 * tests/network-clock-utils.scm (debug, print-event): New utils.
23316 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
23317 (*packet-loss*): Unified loss probability.
23318 (network-time): Report out-of-band events.
23320 * tests/plot-data: Add support for out-of-band events. Hack it
23321 into this script instead of passing it down the pipe; should fix
23324 2005-06-28 Wim Taymans <wim@fluendo.com>
23326 * docs/gst/gstreamer.types:
23327 * docs/gst/tmpl/gstbasesrc.sgml:
23328 * docs/gst/tmpl/gstpad.sgml:
23331 2005-06-28 Wim Taymans <wim@fluendo.com>
23333 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23334 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
23335 (gst_proxy_pad_do_fixatecaps):
23336 Correctly proxy the check_pull_range function.
23338 2005-06-28 Andy Wingo <wingo@pobox.com>
23340 * tests/network-clock.scm: Removed need for slib.
23342 2005-06-28 Wim Taymans <wim@fluendo.com>
23344 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
23345 (gst_basesink_preroll_queue_flush):
23346 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
23347 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
23348 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23349 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
23350 (gst_proxy_pad_set_property):
23353 * gst/gstqueue.c: (gst_queue_init):
23354 The deprecated pad loop function is removed now.
23356 2005-06-28 Andy Wingo <wingo@pobox.com>
23358 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
23359 New parameters, simulate network packet loss.
23361 * tests/network-clock-utils.scm: Initialize the RNG.
23363 2005-06-28 Wim Taymans <wim@fluendo.com>
23365 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
23366 (gst_basesink_event), (gst_basesink_deactivate):
23367 Flushing the preroll queue always needs to unlock the waiters.
23369 2005-06-28 Edward Hervey <edward@fluendo.com>
23371 * gst/gstpipeline.c: (gst_pipeline_send_event):
23372 Wheen a seek was successful on a pipeline, set the stream_time to the
23373 seek offset in order to have a synchronized stream_time.
23375 2005-06-28 Wim Taymans <wim@fluendo.com>
23377 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23378 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
23379 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
23380 (gst_proxy_pad_do_fixatecaps):
23381 Call wrapper function instead of just calling the function
23382 pointers. This takes care of any locking and whatmore.
23384 2005-06-28 Wim Taymans <wim@fluendo.com>
23386 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
23387 (gst_pad_pull_range):
23389 CONNECTED -> LINKED.
23391 2005-06-28 Andy Wingo <wingo@pobox.com>
23393 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
23394 source-munging commit!!!
23396 * gst/gstobject.c (gst_object_unref, gst_object_ref)
23397 (gst_object_sink): Take gpointer arguments, not GstObject --
23398 avoids casts. Like GLib.
23400 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
23403 2005-06-27 Andy Wingo <wingo@pobox.com>
23405 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
23408 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
23409 returns a sorted copy of the trace list.
23410 (gst_alloc_trace_print_live): New API, only prints traces with
23411 live objects. Sort the list.
23412 (gst_alloc_trace_print_all): Sort the list.
23413 (gst_alloc_trace_print): Align columns.
23415 * gst/elements/gstttypefindelement.c:
23416 * gst/elements/gsttee.c:
23417 * gst/base/gstbasesrc.c:
23418 * gst/base/gstbasesink.c:
23419 * gst/base/gstbasetransform.c:
23420 * gst/gstqueue.c: Adapt for pad activation changes.
23422 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
23424 (gst_pipeline_dispose): Drop ref on sched.
23426 * gst/gstpad.c (gst_pad_init): Set the default activate func.
23427 (gst_pad_activate_default): Push mode by default.
23428 (pre_activate_switch, post_activate_switch): New stubs, things to
23429 do before and after switching activation modes on pads.
23430 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
23431 the pad's activate function to choose which mode to activate.
23432 Shortcut on deactivation and call the right function directly.
23433 (gst_pad_activate_pull): New API, (de)activates a pad in pull
23435 (gst_pad_activate_push): New API, same for push mode.
23436 (gst_pad_set_activate_function)
23437 (gst_pad_set_activatepull_function)
23438 (gst_pad_set_activatepush_function): Setters for new API.
23440 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
23441 Trace all miniobjects.
23442 (gst_mini_object_make_writable): Unref the arg if we copy, like
23443 gst_caps_make_writable.
23445 * gst/gstmessage.c (_gst_message_initialize): No trace init.
23447 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
23448 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
23449 Adapt for new pad API.
23451 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
23453 * gst/gstelement.h:
23454 * gst/gstelement.c (gst_element_iterate_src_pads)
23455 (gst_element_iterate_sink_pads): New API functions.
23457 * gst/gstelement.c (iterator_fold_with_resync): New utility,
23458 should fold into gstiterator.c in some form.
23459 (gst_element_pads_activate): Simplified via use of fold and
23460 delegation of decisions to gstpad->activate.
23462 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
23465 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
23466 class once in init, like gstmessage. Didn't run into this issue
23467 but it seems correct. Don't initialize a trace, gstminiobject does
23470 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
23471 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
23473 (assert_live_count): New util function, uses alloc traces to check
23476 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
23477 To be modified when unlink drops the internal pad.
23479 2005-06-27 Wim Taymans <wim@fluendo.com>
23481 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
23482 (gst_bin_change_state):
23483 Cleanup the get_state() function a little, make sure it
23484 iterates the same set of elements.
23485 Added stub iterate_state_order().
23487 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
23489 * docs/gst/gstreamer-docs.sgml:
23490 * docs/gst/gstreamer-sections.txt:
23491 * docs/gst/gstreamer.types:
23492 * docs/gst/tmpl/gstbasesink.sgml:
23493 * docs/gst/tmpl/gstbasesrc.sgml:
23494 * docs/gst/tmpl/gstbasetransform.sgml:
23495 * docs/gst/tmpl/gstelement.sgml:
23496 * docs/gst/tmpl/gstiterator.sgml:
23497 * gst/base/gstbasesrc.c:
23498 * gst/base/gstbasesrc.h:
23499 * gst/base/gstbasetransform.h:
23500 * gst/gstelement.c:
23501 * gst/gstiterator.h:
23502 adding basetransform and iterator docs
23504 2005-06-27 Andy Wingo <wingo@pobox.com>
23506 * docs/design/part-activation.txt: Notes on how activation should
23507 work -- not quite implemented yet.
23509 2005-06-25 Wim Taymans <wim@fluendo.com>
23511 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
23512 At least get the chain function correct, needs more
23515 2005-06-25 Wim Taymans <wim@fluendo.com>
23517 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
23518 (gst_basesink_handle_object), (gst_basesink_event),
23519 (gst_basesink_do_sync), (gst_basesink_handle_event),
23520 (gst_basesink_change_state):
23522 Right, two problems here: ghostpads don't take locks and
23523 glib _rec_mutex_lock_full() with depth==0 still locks.
23524 Catch illegal locking and g_warn them.
23526 2005-06-25 Wim Taymans <wim@fluendo.com>
23528 * check/states/sinks.c: (START_TEST), (gst_object_suite):
23529 Have to check for completion now...
23531 2005-06-25 Wim Taymans <wim@fluendo.com>
23533 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
23534 (gst_basesink_handle_object), (gst_basesink_event),
23535 (gst_basesink_do_sync), (gst_basesink_handle_event),
23536 (gst_basesink_change_state):
23538 Unlock STREAM_LOCK whatever the recursion was.
23540 2005-06-25 Wim Taymans <wim@fluendo.com>
23542 * gst/base/gstbasesink.c: (gst_basesink_set_property),
23543 (gst_basesink_preroll_queue_empty),
23544 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
23545 (gst_basesink_event), (gst_basesink_do_sync),
23546 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
23547 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
23548 (gst_basesink_change_state):
23549 Reworked the base sink, handle event and buffer serialisation
23550 correctly and removed possible deadlock.
23551 Handle EOS correctly.
23553 2005-06-25 Wim Taymans <wim@fluendo.com>
23555 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
23556 (gst_pipeline_change_state):
23557 * tools/gst-launch.c: (check_intr), (event_loop), (main):
23558 Allow elements to post EOS in the state change function.
23559 Fix up -launch, make it exit the poll loop when the
23560 pipeline actually changed state.
23561 Fix up warning parsing in -launch.
23563 2005-06-25 Wim Taymans <wim@fluendo.com>
23565 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
23566 (gst_tee_sink_activate):
23567 Core takes STREAM_LOCK for us now.
23569 2005-06-25 Wim Taymans <wim@fluendo.com>
23571 * gst/gstelement.c: (gst_element_get_state_func),
23572 (gst_element_set_state):
23573 * gst/gstelement.h:
23574 * gst/gstmessage.c: (gst_message_parse_error),
23575 (gst_message_parse_warning):
23576 Keep track of current target state while performing a state
23577 change so that subclasses can do something interesting.
23578 Fix parsing of warning/error messages when GError is NULL.
23580 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
23582 * docs/gst/Makefile.am:
23583 * docs/gst/gstreamer-docs.sgml:
23584 * docs/gst/gstreamer-sections.txt:
23585 * docs/gst/gstreamer.types:
23586 * docs/gst/tmpl/gstbasesink.sgml:
23587 * docs/gst/tmpl/gstbasesrc.sgml:
23588 * docs/gst/tmpl/gstbin.sgml:
23589 * docs/gst/tmpl/gstcompat.sgml:
23590 * docs/gst/tmpl/gstfakesink.sgml:
23591 * docs/gst/tmpl/gstfakesrc.sgml:
23592 * docs/gst/tmpl/gstfilesink.sgml:
23593 * docs/gst/tmpl/gstfilesrc.sgml:
23594 * docs/gst/tmpl/gstindex.sgml:
23595 * docs/manual/appendix-quotes.xml:
23596 * gst/base/gstbasesrc.h:
23597 * gst/elements/gstfakesrc.h:
23598 * gst/gstmessage.h:
23599 start pulling in base classes and elements in our docs
23601 2005-06-24 Stefan Kost <ensonic@users.sf.net>
23603 * docs/gst/Makefile.am:
23604 * docs/libs/Makefile.am:
23605 fixed make distcheck with gtk-doc 1.3
23607 2005-06-23 Wim Taymans <wim@fluendo.com>
23609 * gst/gstelement.c: (gst_element_get_state_func),
23610 (gst_element_set_state), (gst_element_change_state):
23611 When the state did not change, also report NO_PREROLL
23614 2005-06-23 Wim Taymans <wim@fluendo.com>
23616 * gst/gstpad.c: (gst_pad_event_default):
23617 * gst/gstqueue.c: (gst_queue_loop):
23618 No unsafe task pausing please.
23620 2005-06-23 Wim Taymans <wim@fluendo.com>
23622 * gst/schedulers/threadscheduler.c:
23623 (gst_thread_scheduler_task_start),
23624 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
23625 Ref the task before pushing it on the threadpool. This
23626 makes sure that we have a ref when the threadfunction is
23629 2005-06-23 Andy Wingo <wingo@pobox.com>
23631 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
23632 offset is greater than the file's size.
23634 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
23635 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
23636 * gst/gstobject.c (gst_object_class_init): Make the class lock
23637 recursive. Wim won't let me drop deep_notify. Decodebin works
23638 again, whoopdy doo.
23640 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
23641 internal pad, and hacks accordingly. Doesn't do it on the target
23642 pad because we change its caps. Probably catches all cases of
23644 (gst_ghost_pad_set_property): Connect to notify::caps as
23647 * tests/network-clock.scm (plot-simulation): Pipe data to the
23648 elite python skript.
23650 * tests/network-clock-utils.scm (define-parameter): New macro,
23651 defines a parameter that can be set via the command line.
23652 (set-parameter!, parse-parameter-arguments): Command line args
23655 * tests/plot-data: Simple matplotlib-based plotter, takes input on
23658 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
23660 * gst/elements/gsttypefindelement.c:
23661 (gst_type_find_element_handle_event):
23662 Don't restart typefinding on a discont.
23663 * gst/gstelement.c: (gst_element_set_state):
23664 Debug spelling fix.
23665 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
23666 Allow changing mode of an active pad.
23667 Debug output fixes.
23668 * gst/registries/gstlibxmlregistry.c: (load_feature):
23669 Don't cast a static pad template to a normal pad template.
23671 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
23673 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23674 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23675 remove gst_strtoll completely, since it didn't actually do
23676 anything more than what g_ascii_strtoull already does.
23677 check for range errors when deserializing
23678 do a cast for the unsigned cases; but further fixing needs
23679 a decision on what the interpretation of "(int)" and
23680 deserialization should be for values that fall outside the
23681 type's boundaries (ie, refuse, or interpret as casting)
23683 2005-06-23 Wim Taymans <wim@fluendo.com>
23685 * check/Makefile.am:
23686 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
23687 * docs/design/part-live-source.txt:
23688 * docs/design/part-states.txt:
23689 * gst/base/gstbasesrc.c: (gst_basesrc_init),
23690 (gst_basesrc_set_live), (gst_basesrc_is_live),
23691 (gst_basesrc_get_range), (gst_basesrc_activate),
23692 (gst_basesrc_change_state):
23693 * gst/base/gstbasesrc.h:
23694 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23695 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
23696 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
23697 * gst/gstelement.c: (gst_element_get_state_func),
23698 (gst_element_set_state):
23699 * gst/gstelement.h:
23701 * tools/gst-launch.c: (event_loop), (main):
23702 Added support for live sources and other elements that
23704 Updated design docs, added live-source design doc.
23705 Implemented live source functionality in basesrc
23706 Fix error condition in _bin_get_state()
23707 Implement live source handling in -launch.
23708 Added check for live sources.
23709 Fixed case in GstBin where elements were changed state
23713 2005-06-23 Andy Wingo <wingo@pobox.com>
23715 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
23716 borken refcounting.
23718 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
23719 gst_caps_replace takes care of this for us.
23721 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
23722 gst_pad_set_caps on the target, not just its setcaps() function.
23724 * tests/network-clock.scm:
23725 * tests/network-clock-utils.scm: A network clock simulator.
23726 Something of an algorithmic testbed before doing something in C.
23728 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
23730 * check/Makefile.am:
23731 * check/gst/capslist.h:
23732 copy over from 0.8, and add two with bitmasks specified with
23734 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
23735 add test to parse everything from capslist.h
23736 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
23738 add test for structure deserialization
23739 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23740 add tests for deserialization of strings to int types
23741 * gst/gststructure.c: (gst_structure_nth_field_name):
23742 * gst/gststructure.h:
23743 add a way to get the name of a field referenced by index
23744 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23745 instead of checking if the resulting long long lies between
23746 min and max, we check if the long long would fit into
23747 a number of bytes for the final type.
23748 This fixes cases where a string represents 2^32 - 1, which
23749 when cast to int would be the (valid) -1, but is bigger than
23752 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
23754 * gst/parse/grammar.y:
23755 add a log line for type deserialization
23757 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
23759 * check/gst/gstvalue.c: (START_TEST):
23760 * gst/gstvalue.c: (gst_value_deserialize):
23761 return long long, not int, so gint64 deserialization actually
23762 works. Is there any flag that makes the compiler check this ?
23765 2005-06-22 Wim Taymans <wim@fluendo.com>
23768 Added convenience macros for setting buffers in GValue.
23770 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
23772 * check/gst/.cvsignore:
23773 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23774 add a test deserializing int64, and comment part out because
23777 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
23779 * check/Makefile.am:
23780 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
23781 * testsuite/Makefile.am:
23782 * testsuite/caps/Makefile.am:
23783 * testsuite/caps/value_serialize.c:
23784 * testsuite/test_gst_init.c:
23785 move a value_serialize test over
23787 2005-06-20 Wim Taymans <wim@fluendo.com>
23792 * gst/gstvalue.c: (gst_value_compare_buffer),
23793 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
23794 (gst_value_compare_flags), (gst_value_serialize_flags),
23795 (gst_value_deserialize_flags), (_gst_value_initialize):
23796 Fix serialisation of buffers, they are not boxed types anymore
23798 2005-06-20 Wim Taymans <wim@fluendo.com>
23800 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
23801 Testcase to show error in buffer-on-caps serialisation.
23803 2005-06-20 Andy Wingo <wingo@pobox.com>
23805 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
23806 will be adding to later.
23808 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
23809 if its socks fill with rocks.
23810 (gst_system_clock_obtain): Set the name on object construction.
23811 Avoid double-checked locking.
23813 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
23815 * gst/gsturi.c: (gst_element_make_from_uri):
23816 Fix potential endless loop.
23818 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
23820 * check/Makefile.am:
23822 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
23824 move over from testsuite dir and clean up
23827 * testsuite/Makefile.am:
23828 * testsuite/tags/.cvsignore:
23829 * testsuite/tags/Makefile.am:
23830 * testsuite/tags/merge.c:
23831 remove testsuite/tags
23833 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
23835 * docs/gst/gstreamer-sections.txt:
23836 * docs/gst/tmpl/gstenumtypes.sgml:
23837 * win32/gstenumtypes.c:
23838 clean up documentation build a little
23840 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
23842 * check/gstcheck.h:
23843 add macros for checking refcounts on objects and caps
23844 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
23845 add some more unit tests
23846 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
23847 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
23848 fix leaked refcounts (I hope :)) so unittest works
23852 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
23854 * configure.ac: back to HEAD
23856 === release 0.9.1 ===
23858 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
23864 2005-06-17 Andy Wingo <wingo@pobox.com>
23866 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
23867 assert; it's always possible that the pad gets deactivated in
23868 between the checks in gstpad.c and the implementation. Rely on
23869 finish_preroll() to return a FLUSHING or similar instead of on the
23872 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
23873 clock and post an EOS message if we come out of finish_preroll in
23876 2005-06-16 David Schleef <ds@schleef.org>
23878 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
23879 (gst_capsfilter_set_property): Allow NULL as possible value
23880 for filter_caps property, indicating GST_CAPS_ANY.
23882 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
23884 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
23886 * gst/schedulers/Makefile.am:
23888 * gstreamer.spec.in:
23891 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
23893 * gstreamer.spec.in:
23896 2005-06-08 Andy Wingo <wingo@pobox.com>
23898 * gst/gstutils.c: RPAD fixes all around.
23899 (gst_element_link_pads): Refcounting fixes.
23901 * tools/gst-inspect.c:
23902 * tools/gst-xmlinspect.c:
23904 * gst/base/gsttypefindhelper.c:
23905 * gst/base/gstbasesink.c:
23906 * gst/gstqueue.c: RPAD fixes.
23908 * gst/gstghostpad.h:
23909 * gst/gstghostpad.c: New ghost pad implementation as full proxy
23910 pads. The tricky thing is they provide both source and sink
23911 interfaces, since they proxy the internal pad for the external
23912 pad, and vice versa. Implement with lower-level ProxyPad objects,
23913 with the interior proxy pad as a child of the exterior ghost pad.
23914 Should write a doc on this.
23916 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
23917 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
23920 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
23921 pads are real pads. No ghost pads in this file. Not documenting
23922 the myriad s/RPAD/PAD/ and REALIZE fixes.
23923 (gst_pad_class_init): Add properties for "direction" and
23924 "template". Both are construct-only, so they can't change during
23925 the life of the pad. Fixes properly deriving from GstPad.
23926 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
23927 derived objects, just set properties when creating the objects via
23929 (gst_pad_get_parent): Implement as a function, return NULL if the
23930 parent is not an element.
23931 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
23932 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
23934 * gst/gstobject.c (gst_object_class_init): Make name a construct
23935 property. Don't set it in the object init.
23937 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
23938 with UNKNOWN direction.
23939 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
23940 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
23941 (gst_element_remove_pad): Remove ghost-pad special cases.
23942 (gst_element_pads_activate): Remove rpad cruft.
23944 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
23945 catch the pad's-parent-not-an-element case.
23947 * gst/gst.h: Include gstghostpad.h.
23949 * gst/gst.c (init_post): No more real, ghost pads.
23951 * gst/Makefile.am: Add gstghostpad.[ch].
23953 * check/Makefile.am:
23954 * check/gst/gstbin.c:
23955 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
23956 into a bin creates ghost pads, and that the refcounts are right.
23957 Partly moved from gstbin.c.
23959 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
23961 * check/gst-libs/.cvsignore:
23962 * check/gst/.cvsignore:
23963 * check/pipelines/.cvsignore:
23965 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
23966 (START_TEST), (cleanup_suite), (main):
23967 add some tests related to cleanup after running pipelines
23969 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
23971 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
23972 add a testsuite for GstBuffer
23974 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
23976 * gst/gstminiobject.h:
23977 add defines for accessing the refcount
23979 2005-06-03 Stefan Kost <ensonic@users.sf.net>
23981 * Makefile.am: added support for html unit test coverage reports
23983 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
23985 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
23986 Free existing caps if the capsfilter changes. Add a FIXME about
23987 setting those caps on the pads.
23989 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
23990 Before adding a ghost pad to a parent bin, check that there isn't
23991 already one for the element on the bin. Prevents infinite recursion
23992 when using decodebin in parse pipelines. Andy says he'll rewrite the
23993 way this works anyway, so ignore the hack.
23995 2005-06-02 Andy Wingo <wingo@pobox.com>
23997 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
23998 file size, pass it on to the type find helper.
24000 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
24001 segment_start and segment_end properly according to the seek
24002 method. Segment_end is still a bit flaky because offset can be
24003 negative for CUR and END cases, but it takes -1 as an "unset"
24006 2005-06-02 Wim Taymans <wim@fluendo.com>
24008 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
24009 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
24010 (gst_basesink_activate):
24011 * gst/base/gstbasesink.h:
24012 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24013 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
24014 (gst_pad_query), (gst_pad_start_task):
24016 * gst/gstqueue.c: (gst_queue_bufferalloc),
24017 (gst_queue_handle_sink_event), (gst_queue_chain):
24018 Bufferalloc: return GstFlowReturn to more accuratly report
24019 why allocation failed.
24021 2005-06-02 Wim Taymans <wim@fluendo.com>
24023 * gst/gstpipeline.c: (gst_pipeline_send_event):
24024 Take snapshot of state without blocking.
24026 2005-06-02 Wim Taymans <wim@fluendo.com>
24028 * docs/design/part-TODO.txt:
24029 * docs/design/part-caps.txt:
24030 * docs/design/part-clocks.txt:
24031 * docs/design/part-negotiation.txt:
24032 * docs/design/part-preroll.txt:
24035 2005-05-30 Wim Taymans <wim@fluendo.com>
24037 * gst/elements/gstidentity.c: (gst_identity_event),
24038 (gst_identity_transform), (gst_identity_get_property):
24039 Protect last_message property as it is accessed from
24042 2005-05-30 Wim Taymans <wim@fluendo.com>
24044 * gst/gstelement.c: (gst_element_init),
24045 (gst_element_pads_activate), (gst_element_change_state):
24046 Slicker pad activation code.
24048 2005-05-30 Wim Taymans <wim@fluendo.com>
24051 * gst/gstelement.h:
24052 * gst/gstelementfactory.h:
24054 Move elementfactory methods to separate .h file.
24056 2005-05-30 Wim Taymans <wim@fluendo.com>
24058 * docs/design/part-overview.txt:
24059 * gst/gstsystemclock.h:
24060 Small typo fixes, doc updates.
24062 2005-05-30 Wim Taymans <wim@fluendo.com>
24064 * gst/gst.c: (gst_init_get_popt_table), (init_post),
24065 (init_popt_callback):
24066 Remove cpu-opt flag.
24068 2005-05-30 Wim Taymans <wim@fluendo.com>
24070 * gst/gstbuffer.c: (gst_subbuffer_finalize),
24071 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
24073 Avoid typechecking in places where not needed.
24074 Added accessor for malloc_data.
24076 2005-05-30 Wim Taymans <wim@fluendo.com>
24078 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
24079 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
24080 (gst_pad_configure_sink), (gst_pad_configure_src),
24081 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
24082 (gst_pad_start_task):
24083 Propagate errors from _set_caps() in configure_src/sink
24084 functions instead of returning TRUE.
24085 FLUSH events can travel up and downstream
24088 2005-05-30 Wim Taymans <wim@fluendo.com>
24090 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
24091 (gst_basesink_activate):
24092 Handle EOS in preroll.
24094 2005-05-30 Wim Taymans <wim@fluendo.com>
24096 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
24097 (gst_queue_loop), (gst_queue_handle_src_event):
24098 Remove old pieces of code
24099 Flushing the queue in an upstream event is a very bad idea.
24101 2005-05-26 Andy Wingo <wingo@pobox.com>
24103 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
24104 gst_value_set_mini_object so as to add a ref on the object (which
24105 will be removed when the value is unset).
24107 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
24108 arg type in ::handoff.
24110 * gst/gstelement.c (gst_element_change_state): Also deactivate
24111 pads in READY->NULL, just in case the element didn't make it to
24112 PAUSED. Wingo tested, Wim approved.
24114 2005-05-26 Wim Taymans <wim@fluendo.com>
24116 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24117 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
24118 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
24119 A flushing pad cannot be used to alloc_buffer from.
24121 2005-05-26 Wim Taymans <wim@fluendo.com>
24123 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
24124 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
24125 (gst_bus_source_dispatch), (gst_bus_source_finalize),
24126 (gst_bus_create_watch), (gst_bus_add_watch_full):
24128 Implement a real GSource and use g_main_context_wakeup() to
24129 signal new messages instead of the socketpair.
24131 2005-05-25 Wim Taymans <wim@fluendo.com>
24133 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
24134 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
24135 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24136 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
24137 (gst_pad_send_event), (gst_pad_start_task):
24138 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
24139 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
24140 (gst_queue_sink_activate), (gst_queue_src_activate),
24141 (gst_queue_change_state):
24143 Fix state changes for non sinks. We now change sinks, then elements
24144 with unconnected srcpads, then the rest.
24145 More efficient queue unlocking in flush and state changes.
24146 Set the pad activate mode even if it does not have an activate
24149 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24151 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
24152 Don't go in pull mode for non-seekable sources.
24153 * gst/elements/gsttypefindelement.h:
24154 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
24155 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
24156 (free_entry), (stop_typefinding),
24157 (gst_type_find_element_handle_event), (find_peek),
24158 (gst_type_find_element_chain), (do_pull_typefind),
24159 (gst_type_find_element_change_state):
24160 Allow typefinding (w/o seeking) in push-mode, simplified version
24161 of what was in 0.8.
24162 * gst/gstutils.c: (gst_buffer_join):
24164 gst_buffer_join() from 0.8.
24166 2005-05-25 Wim Taymans <wim@fluendo.com>
24168 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24169 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
24170 (gst_pad_send_event), (gst_pad_start_task):
24171 Disable attempt at mode switching until it is figured out.
24173 2005-05-25 Wim Taymans <wim@fluendo.com>
24175 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
24176 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
24177 (gst_basesink_finish_preroll), (gst_basesink_chain),
24178 (gst_basesink_loop), (gst_basesink_activate),
24179 (gst_basesink_change_state):
24180 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
24181 (gst_basesrc_get_range), (gst_basesrc_loop),
24182 (gst_basesrc_activate):
24183 * gst/elements/gsttee.c: (gst_tee_sink_activate):
24184 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
24185 (gst_real_pad_init), (gst_real_pad_set_property),
24186 (gst_real_pad_get_property), (gst_pad_set_active),
24187 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
24188 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
24189 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
24190 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
24191 (gst_pad_event_default_dispatch), (gst_pad_event_default),
24192 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
24193 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
24194 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
24195 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
24196 (gst_pad_stop_task):
24198 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
24199 (gst_queue_loop), (gst_queue_src_activate):
24200 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
24201 (gst_task_get_state):
24203 * gst/schedulers/threadscheduler.c:
24204 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
24205 Implement gst_pad_pause/start/stop_task(), take STREAM lock
24207 Remove ACTIVE pad flag, use FLUSHING everywhere
24208 Added _pad_chain(), _pad_get_range() to call chain/getrange
24210 Add locks around IS_FLUSHING when reading.
24211 Take STREAM lock in chain(), get_range() functions so plugins
24212 don't need to take it anymore.
24216 2005-05-25 Wim Taymans <wim@fluendo.com>
24218 * tools/gst-launch.c: (event_loop):
24219 Unref message after using its contents instead of
24222 2005-05-24 Wim Taymans <wim@fluendo.com>
24224 * docs/design/draft-ghostpads.txt:
24225 * docs/design/draft-push-pull.txt:
24226 * docs/design/draft-query.txt:
24227 * docs/design/part-overview.txt:
24228 Docs updates, added general overview doc.
24230 2005-05-21 David Schleef <ds@schleef.org>
24232 * docs/gst/tmpl/old/GstBin.sgml:
24233 * docs/gst/tmpl/old/GstBuffer.sgml:
24234 * docs/gst/tmpl/old/GstCaps.sgml:
24235 * docs/gst/tmpl/old/GstClock.sgml:
24236 * docs/gst/tmpl/old/GstCompat.sgml:
24237 * docs/gst/tmpl/old/GstData.sgml:
24238 * docs/gst/tmpl/old/GstElement.sgml:
24239 * docs/gst/tmpl/old/GstEvent.sgml:
24240 * docs/gst/tmpl/old/GstIndex.sgml:
24241 * docs/gst/tmpl/old/GstStructure.sgml:
24242 * docs/gst/tmpl/old/GstTag.sgml:
24243 * docs/gst/tmpl/old/cothreads.sgml:
24244 * docs/gst/tmpl/old/cothreads_compat.sgml:
24245 * docs/gst/tmpl/old/gettext.sgml:
24246 * docs/gst/tmpl/old/gobject2gtk.sgml:
24247 * docs/gst/tmpl/old/grammar.tab.sgml:
24248 * docs/gst/tmpl/old/gst-i18n-app.sgml:
24249 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
24250 * docs/gst/tmpl/old/gst_private.sgml:
24251 * docs/gst/tmpl/old/gstaggregator.sgml:
24252 * docs/gst/tmpl/old/gstarch.sgml:
24253 * docs/gst/tmpl/old/gstatomic_impl.sgml:
24254 * docs/gst/tmpl/old/gstbufferstore.sgml:
24255 * docs/gst/tmpl/old/gstdata_private.sgml:
24256 * docs/gst/tmpl/old/gstdisksink.sgml:
24257 * docs/gst/tmpl/old/gstdisksrc.sgml:
24258 * docs/gst/tmpl/old/gstelementfactory.sgml:
24259 * docs/gst/tmpl/old/gstextratypes.sgml:
24260 * docs/gst/tmpl/old/gstfakesink.sgml:
24261 * docs/gst/tmpl/old/gstfakesrc.sgml:
24262 * docs/gst/tmpl/old/gstfdsink.sgml:
24263 * docs/gst/tmpl/old/gstfdsrc.sgml:
24264 * docs/gst/tmpl/old/gstfilesink.sgml:
24265 * docs/gst/tmpl/old/gstfilesrc.sgml:
24266 * docs/gst/tmpl/old/gsthttpsrc.sgml:
24267 * docs/gst/tmpl/old/gstidentity.sgml:
24268 * docs/gst/tmpl/old/gstindexfactory.sgml:
24269 * docs/gst/tmpl/old/gstmarshal.sgml:
24270 * docs/gst/tmpl/old/gstmd5sink.sgml:
24271 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
24272 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
24273 * docs/gst/tmpl/old/gstpadtemplate.sgml:
24274 * docs/gst/tmpl/old/gstpipefilter.sgml:
24275 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
24276 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
24277 * docs/gst/tmpl/old/gstshaper.sgml:
24278 * docs/gst/tmpl/old/gstspider.sgml:
24279 * docs/gst/tmpl/old/gstspideridentity.sgml:
24280 * docs/gst/tmpl/old/gststatistics.sgml:
24281 * docs/gst/tmpl/old/gsttee.sgml:
24282 * docs/gst/tmpl/old/gsttimecache.sgml:
24283 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
24284 * docs/gst/tmpl/old/gstxmlregistry.sgml:
24285 * docs/gst/tmpl/old/gthread-cothreads.sgml:
24286 * docs/gst/tmpl/old/types.sgml:
24287 I didn't intend to add these or check them in.
24289 2005-05-19 David Schleef <ds@schleef.org>
24291 * configure.ac: Use -no-common everywhere. In a sane world, it
24292 would be the default in libtool, because without it, you can't
24293 build DLLs on Windows.
24294 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
24295 * docs/gst/gstreamer-sections.txt:
24296 * docs/gst/tmpl/gstcpu.sgml:
24297 * docs/gst/tmpl/gstdata.sgml:
24298 * docs/gst/tmpl/gstthread.sgml:
24300 2005-05-19 David Schleef <ds@schleef.org>
24302 * gst/gstminiobject.c: (gst_value_set_mini_object),
24303 (gst_value_take_mini_object), (gst_value_get_mini_object):
24304 * gst/gstminiobject.h: Add GValue set/get functions.
24306 2005-05-19 Wim Taymans <wim@fluendo.com>
24308 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
24309 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
24310 (gst_subbuffer_init), (gst_buffer_is_span_fast):
24312 * gst/gstbus.c: (gst_bus_post):
24313 * gst/gstelement.c: (gst_element_get_random_pad):
24314 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
24315 Make subbufer unref the parent in finalize.
24316 some more debugging info.
24319 2005-05-19 Wim Taymans <wim@fluendo.com>
24321 * gst/base/gstbasesink.c: (gst_basesink_class_init),
24322 (gst_basesink_init), (gst_basesink_finalize),
24323 (gst_basesink_activate), (gst_basesink_change_state):
24324 Don't free preroll queue too early.
24326 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24330 Hi, I'm outdated. Please shoot me.
24332 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24334 * gst/gstpipeline.c: (gst_pipeline_send_event):
24335 Do not access variables after they have been deleted.
24337 2005-05-19 Wim Taymans <wim@fluendo.com>
24339 * tools/gst-inspect.c: (print_plugin_features):
24340 A plugin feature does unfortunatly not use the
24343 2005-05-18 Wim Taymans <wim@fluendo.com>
24345 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
24346 Port _span() functions to new subbuffers.
24348 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24350 * gst/gstbin.c: (gst_bin_add_func):
24351 Fix clock settery in bins when adding kids after the clock has
24354 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24356 * gst/elements/gstidentity.c: (gst_identity_class_init):
24357 Workaround until signals support GstMiniObject.
24359 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
24362 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
24364 2005-05-18 Wim Taymans <wim@fluendo.com>
24366 * gst/base/Makefile.am:
24367 * gst/base/gstadapter.c: (gst_adapter_base_init),
24368 (gst_adapter_class_init), (gst_adapter_init),
24369 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
24370 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
24371 (gst_adapter_flush), (gst_adapter_available),
24372 (gst_adapter_available_fast):
24373 * gst/base/gstadapter.h:
24374 Ported and added adapter to the base classes.
24376 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
24379 * gst/gstmessage.c:
24380 Make sure the class is reffed/unreffed once before threads can be
24381 used. Fixes #304551.
24383 2005-05-17 Wim Taymans <wim@fluendo.com>
24385 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
24386 (gst_basesink_chain_unlocked), (gst_basesink_activate):
24387 * gst/gstminiobject.c: (gst_mini_object_get_type),
24388 (gst_mini_object_free):
24389 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
24390 (gst_pad_push), (gst_pad_push_event):
24391 * gst/gstqueue.c: (gst_queue_change_state):
24392 Don't queue buffers in basesink when we are flushing.
24393 Unref buffer when flushing in basesink.
24394 Flush queue when going to READY
24395 Unref buffer when _push() returns an error.
24396 Don't free MiniObject instance when refcount is incremented
24397 in _finalize() so that we can recover objects.
24399 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
24401 * docs/manual/advanced-schedulers.xml:
24402 * docs/manual/appendix-checklist.xml:
24403 * docs/pwg/advanced-clock.xml:
24404 * docs/pwg/advanced-interfaces.xml:
24405 * docs/pwg/advanced-request.xml:
24406 * docs/pwg/advanced-types.xml:
24407 * docs/pwg/intro-preface.xml:
24408 * examples/plugins/example.c: (gst_example_get_type),
24409 (gst_example_class_init), (gst_example_chain),
24410 (gst_example_set_property), (gst_example_get_property),
24411 (gst_example_change_state), (plugin_init):
24412 * examples/plugins/example.h:
24415 2005-05-17 Wim Taymans <wim@fluendo.com>
24417 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
24418 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
24419 * gst/gstqueue.c: (gst_queue_change_state):
24420 Clear queue when going to READY.
24421 Remove IN_SETCAPS flag too.
24423 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
24425 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
24426 Remove implicit cast from gboolean to GstElementStateReturn;
24427 make sure we still return failure in paused => ready case if
24428 the parent class fails to change state and our own stop
24431 2005-05-17 Wim Taymans <wim@fluendo.com>
24433 * tools/gst-launch.c: (event_loop):
24434 Message was unreffed too soon.
24436 2005-05-16 Andy Wingo <wingo@pobox.com>
24438 * gst/gstbin.c (sink_iterator_filter): Err... um...
24440 * check/gst/gstbin.c (test_ghost_pads): New test for the
24441 ghosting-if-elements-not-in-same-bin behavior.
24443 2005-05-16 David Schleef <ds@schleef.org>
24445 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
24446 accessing refcount directly.
24448 2005-05-15 David Schleef <ds@schleef.org>
24450 * check/Makefile.am: remove GstData checks
24451 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
24452 * gst/Makefile.am: add miniobject, remove data
24453 * gst/gst.h: add miniobject, remove data
24454 * gst/gstdata.c: remove
24455 * gst/gstdata.h: remove
24456 * gst/gstdata_private.h: remove
24457 * gst/gsttypes.h: remove GstEvent and GstMessage
24458 * gst/gstelement.c: (gst_element_post_message): fix for API changes
24459 * gst/gstmarshal.list: change BOXED -> OBJECT
24461 Implement GstMiniObject.
24462 * gst/gstminiobject.c:
24463 * gst/gstminiobject.h:
24465 Modify to be subclasses of GstMiniObject.
24466 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
24467 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
24468 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
24469 (gst_subbuffer_get_type), (gst_subbuffer_init),
24470 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
24473 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
24474 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
24475 (_gst_event_copy), (gst_event_new):
24477 * gst/gstmessage.c: (_gst_message_initialize),
24478 (gst_message_get_type), (gst_message_class_init),
24479 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
24480 (gst_message_new), (gst_message_new_error),
24481 (gst_message_new_warning), (gst_message_new_tag),
24482 (gst_message_new_state_changed), (gst_message_new_application):
24483 * gst/gstmessage.h:
24484 * gst/gstprobe.c: (gst_probe_perform),
24485 (gst_probe_dispatcher_dispatch):
24487 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
24488 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
24489 (_gst_query_copy), (gst_query_new):
24491 Update elements for GstData -> GstMiniObject changes
24493 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
24494 (gst_queue_chain), (gst_queue_loop):
24495 * gst/elements/gstbufferstore.c:
24496 (gst_buffer_store_add_buffer_func),
24497 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
24498 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
24499 (gst_fakesink_render):
24500 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
24501 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
24502 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
24503 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
24504 (gst_filesrc_create_read):
24505 * gst/elements/gstidentity.c: (gst_identity_class_init):
24506 * gst/elements/gsttypefindelement.c:
24507 (gst_type_find_element_src_event), (free_entry_buffers),
24508 (gst_type_find_element_handle_event):
24509 * libs/gst/dataprotocol/dataprotocol.c:
24510 (gst_dp_header_from_buffer):
24511 * libs/gst/dataprotocol/dataprotocol.h:
24512 * libs/gst/dataprotocol/dp-private.h:
24514 2005-05-15 David Schleef <ds@schleef.org>
24516 * gst/elements/gstelements.c: Don't include headers that were
24519 2005-05-15 David Schleef <ds@schleef.org>
24521 * gst/elements/Makefile.am: Remove some elements that don't
24522 need to be in the core (or even exist at all).
24523 * gst/elements/gstaggregator.c:
24524 * gst/elements/gstaggregator.h:
24525 * gst/elements/gstmd5sink.c:
24526 * gst/elements/gstmd5sink.h:
24527 * gst/elements/gstmultifilesrc.c:
24528 * gst/elements/gstmultifilesrc.h:
24529 * gst/elements/gstpipefilter.c:
24530 * gst/elements/gstpipefilter.h:
24531 * gst/elements/gstshaper.c:
24532 * gst/elements/gstshaper.h:
24533 * gst/elements/gststatistics.c:
24534 * gst/elements/gststatistics.h:
24535 * po/POTFILES.in: Remove above files.
24537 2005-05-14 Andy Wingo <wingo@pobox.com>
24539 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
24540 so as to get the refs right.
24541 (sink_iterator_filter): New function, wraps bin_element_is_sink,
24542 unreffing objects that don't pass the filter.
24544 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
24545 gst_element_set_bus.
24546 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
24547 normal cases, this will destroy the bus.
24549 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
24552 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
24555 2005-05-13 Andy Wingo <wingo@pobox.com>
24557 * gst/gstutils.c (gst_element_link_pads): Instead of calling
24558 gst_pad_link, call pad_link_maybe_ghosting,
24559 (pad_link_maybe_ghosting): Links pads, making sure that the
24560 elements being linked are in the same bin.
24561 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
24562 Helpers for pad_link_maybe_ghosting.
24564 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
24567 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
24569 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
24571 * docs/design/part-element-source.txt:
24574 2005-05-12 Wim Taymans <wim@fluendo.com>
24576 * gst/base/gstbasesink.c: (gst_basesink_init),
24577 (gst_basesink_activate):
24578 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
24579 (gst_basesrc_is_seekable):
24580 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
24581 (bin_element_is_sink), (gst_bin_change_state):
24582 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
24583 * gst/gstelement.h:
24584 Identify sinks by their flag to avoid overly complicated
24586 Do state changes even for elements not reachable from the
24588 BaseSink is a sink now :)
24589 Some more debugging info in the basesrc.
24592 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24594 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
24595 Implement _query on a bin, similar to _send_event.
24597 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
24599 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
24600 Discont event offset format should be GST_FORMAT_BYTES,
24601 not GST_FORMAT_TIME.
24603 2005-05-12 Wim Taymans <wim@fluendo.com>
24605 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
24606 Same fix as Ronald's but without the signal.
24608 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24610 * gst/gstutils.c: (gst_element_query_position):
24611 No, an element is not a pad.
24613 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24615 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
24616 (gst_bin_get_state):
24617 If a child is removed from a bin while we remove the child from
24618 the bin and while we're retrieving its state, signal this to the
24619 get_state function so we abort the wait (instead of waiting for
24620 a timeout) and can immediately re-iterate over all other elements.
24622 2005-05-12 Wim Taymans <wim@fluendo.com>
24624 * gst/base/Makefile.am:
24625 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
24626 (gst_basesrc_start):
24627 * gst/base/gstbasesrc.h:
24628 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
24629 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
24630 (gst_pushsrc_init), (gst_pushsrc_create):
24631 * gst/base/gstpushsrc.h:
24632 Added is_seekable to BaseSrc
24633 Added simple PushSrc.
24635 2005-05-11 Wim Taymans <wim@fluendo.com>
24637 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
24638 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24639 (gst_element_link_pads), (gst_element_query_position),
24640 (gst_element_query_convert), (intersect_caps_func),
24641 (gst_pad_query_position), (gst_pad_query_convert):
24642 Fix refcounting in utils function.
24643 No point in trying to activate a pad when it's added, it could
24644 be added from the state change function and then we deadlock, the
24645 element has to decide what to do.
24647 2005-05-10 Andy Wingo <wingo@pobox.com>
24649 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
24650 *all* the arguments.
24652 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
24653 stream lock if it's a FLUSH_DONE; normal flushes don't get the
24654 lock (according to the docs -- if this is wrong change the docs).
24656 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
24657 flush messages in the NULL state.
24659 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
24660 message immediately and return.
24661 (gst_bus_set_flushing): New function. If a bus is flushing, it
24662 flushes out any queued messages and immediately unrefs new
24663 messages. This is so when an element goes to NULL, all of the
24664 unhandled messages coming from it can be freed, and their
24665 references to the element dropped. In other words: message source
24666 ref considered harmful :P
24668 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
24669 we're finished with it.
24671 * gst/gstmessage.c (gst_message_new_state_changed):
24673 2005-05-10 Wim Taymans <wim@fluendo.com>
24675 * gst/gstvalue.c: (gst_value_compare_flags),
24676 (gst_value_serialize_flags), (gst_value_deserialize_flags),
24677 (_gst_value_initialize):
24678 Added flags serialize/deserialize/compare code.
24680 2005-05-09 Andy Wingo <wingo@pobox.com>
24682 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
24683 Intersect the peer's caps with our caps.
24685 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24687 * gst/base/gsttypefindhelper.c: (helper_find_peek):
24688 * gst/elements/gsttypefindelement.c: (find_peek):
24689 Handle negative offsets better. Fixes decodebin.
24691 2005-05-09 Wim Taymans <wim@fluendo.com>
24693 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
24694 (gst_base_transform_event):
24695 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
24696 Implement accept_caps.
24697 Fix silly lock/unlock mismatch in base class.
24699 2005-05-09 Wim Taymans <wim@fluendo.com>
24701 * docs/design/draft-push-pull.txt:
24702 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
24703 * gst/elements/gstfilesink.c: (gst_filesink_init),
24704 (gst_filesink_query):
24705 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
24706 (gst_type_find_handle_src_query), (find_element_get_length):
24707 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
24708 * gst/gstelement.h:
24709 * gst/gstmessage.c:
24710 * gst/gstmessage.h:
24711 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
24712 (gst_real_pad_get_caps_unlocked),
24713 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
24714 (gst_pad_event_default_dispatch), (gst_pad_event_default),
24715 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
24716 (gst_real_pad_dispose), (gst_real_pad_finalize),
24717 (gst_pad_load_and_link), (gst_pad_save_thyself),
24718 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
24719 (gst_pad_check_pull_range), (gst_pad_pull_range),
24720 (gst_pad_template_get_type), (gst_pad_template_class_init),
24721 (gst_pad_template_init), (gst_pad_template_dispose),
24722 (name_is_valid), (gst_static_pad_template_get),
24723 (gst_pad_template_new), (gst_static_pad_template_get_caps),
24724 (gst_pad_template_get_caps), (gst_pad_set_element_private),
24725 (gst_pad_get_element_private), (gst_pad_start_task),
24726 (gst_pad_pause_task), (gst_pad_stop_task),
24727 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
24728 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
24729 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
24730 (gst_ghost_pad_new):
24732 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
24733 (gst_query_new_position), (gst_query_set_position),
24734 (gst_query_parse_position), (gst_query_new_convert),
24735 (gst_query_set_convert), (gst_query_parse_convert):
24737 * gst/gstqueryutils.c:
24738 * gst/gstqueryutils.h:
24739 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
24740 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
24741 (gst_queue_handle_src_query):
24742 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24743 (gst_element_query_position), (gst_element_query_convert),
24744 (intersect_caps_func), (gst_pad_query_position),
24745 (gst_pad_query_convert):
24747 * tools/gst-inspect.c: (print_pad_info):
24748 * tools/gst-xmlinspect.c: (print_element_info):
24749 Remove old query functions. Ported old code.
24750 Added position/convert helper functions to gstutils.
24751 Reordered gstpad.c code, grouping relevant things.
24752 Remove gst_message_new(), always need to speficy a specific
24756 2005-05-09 Andy Wingo <wingo@pobox.com>
24758 * gst/gstiterator.h: Add some includes.
24760 * gst/gstqueryutils.h: Include more headers.
24763 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
24764 some uses of gst_pad_query.
24766 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
24767 NULL out parameters.
24768 (gst_query_new_position): New proc, allocates a new position
24771 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
24772 gstqueryutils.c to the build.
24774 * gst/gststructure.c (gst_structure_set_valist): Implement with
24775 the generic G_VALUE_COLLECT.
24777 2005-05-08 Edward Hervey <bilboed@bilboed.com>
24779 * gst/Makefile.am: (gst_headers):
24780 Added gstqueryutils.h to the list of headers to install, that was
24781 a 'nachty' move wingo :)
24783 2005-05-06 Andy Wingo <wingo@pobox.com>
24786 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
24787 GstData, init a memchunk.
24788 (standard_definitions): Add a few query types, deprecate a few.
24789 (gst_query_get_type): New proc.
24790 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
24792 (gst_query_new_application, gst_query_get_structure): New public
24795 * docs/design/draft-query.txt: Removed LINKS from the query types,
24796 because all the rest can be dispatched to other pads -- seemed
24797 ugly to have a query that couldn't be dispatched. internal_links
24798 is fine as a pad method.
24800 * gst/gstpad.h: Add query2 as a pad method, add the new functions
24801 in gstpad.c, but maintain binary compatibility for the moment.
24802 Will fix before 0.9 is out.
24804 * gst/gstqueryutils.c:
24805 * gst/gstqueryutils.h: New files, implement 3 methods for each
24806 query type: parse_query, parse_response, and set. Probably need an
24809 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
24811 * gst/elements/gstfilesink.c (gst_filesink_query2):
24812 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
24813 query_types, and formats methods.
24815 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
24816 (gst_pad_set_query2_function): New functions.
24817 (gst_real_pad_init): Set query2_default as the default query2
24818 function. Basically just dispatches to internally linked pads.
24822 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
24823 without using the atomic operations. Only one thread can possibly
24824 be accessing the data at this point. Changed so as to avoid
24825 gst_atomic operations.
24827 2005-05-06 Wim Taymans <wim@fluendo.com>
24829 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
24830 Also set caps if we use the fallback buffer alloc.
24832 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
24834 * docs/gst/Makefile.am:
24835 * docs/gst/gstreamer-docs.sgml:
24836 * docs/gst/gstreamer-sections.txt:
24837 * docs/gst/tmpl/gstatomic.sgml:
24838 * docs/gst/tmpl/gstmemchunk.sgml:
24839 * testsuite/elements/struct_i386.h:
24840 * win32/GStreamer.vcproj:
24842 Purge GstAtomic stuff from docs and win32 makefiles as well
24844 2005-05-06 Wim Taymans <wim@fluendo.com>
24846 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
24847 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
24848 * gst/gstpad.c: (gst_pad_peer_get_caps):
24849 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
24850 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
24851 (gst_queue_src_activate), (gst_queue_change_state):
24853 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24854 (intersect_caps_func):
24855 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
24856 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
24857 Some fixes for the peer_get_caps() change.
24859 2005-05-06 Wim Taymans <wim@fluendo.com>
24861 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
24862 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
24863 (gst_basesink_activate):
24864 Actually do something with error codes returned from the push
24867 2005-05-06 Wim Taymans <wim@fluendo.com>
24869 * docs/design/part-element-sink.txt:
24870 * docs/design/part-element-source.txt:
24871 * gst/base/gstbasesink.c: (gst_basesink_class_init),
24872 (gst_basesink_event), (gst_basesink_activate):
24873 * gst/base/gstbasesink.h:
24874 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
24875 (gst_basesrc_activate):
24876 * gst/base/gstbasesrc.h:
24877 * gst/gstelement.c: (gst_element_pads_activate):
24878 Some more documentation.
24879 Fixed scheduling decision in _pads_activate().
24881 2005-05-05 Andy Wingo <wingo@pobox.com>
24883 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
24886 2005-05-05 Wim Taymans <wim@fluendo.com>
24888 * gst/base/Makefile.am:
24889 * gst/base/gstbasesink.h:
24890 * gst/base/gstbasesrc.c: (gst_basesrc_init),
24891 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
24892 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
24893 (gst_collectpads_class_init), (gst_collectpads_init),
24894 (gst_collectpads_finalize), (gst_collectpads_new),
24895 (gst_collectpads_set_function), (gst_collectpads_add_pad),
24896 (find_pad), (gst_collectpads_remove_pad),
24897 (gst_collectpads_is_active), (gst_collectpads_collect),
24898 (gst_collectpads_collect_range), (gst_collectpads_start),
24899 (gst_collectpads_stop), (gst_collectpads_peek),
24900 (gst_collectpads_pop), (gst_collectpads_available),
24901 (gst_collectpads_read), (gst_collectpads_flush),
24902 (gst_collectpads_chain):
24903 * gst/base/gstcollectpads.h:
24904 * gst/elements/Makefile.am:
24905 * gst/elements/gstelements.c:
24906 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
24907 (gst_fakesink_get_times), (gst_fakesink_event),
24908 (gst_fakesink_preroll), (gst_fakesink_render):
24909 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
24910 (gst_filesink_init), (gst_filesink_set_location),
24911 (gst_filesink_open_file), (gst_filesink_close_file),
24912 (gst_filesink_pad_query), (gst_filesink_event),
24913 (gst_filesink_render), (gst_filesink_change_state):
24914 * gst/elements/gstfilesink.h:
24915 Added object to help in making collect pad based elements.
24917 Make event function in sink baseclass return gboolean.
24919 2005-05-05 Wim Taymans <wim@fluendo.com>
24921 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
24922 (gst_bin_get_by_name):
24924 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
24925 (gst_clock_finalize):
24926 * gst/gstdata.c: (gst_data_replace):
24928 * gst/gstelement.c: (gst_element_request_pad),
24929 (gst_element_pads_activate):
24930 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
24931 (gst_object_unref):
24932 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24933 (gst_pad_set_checkgetrange_function),
24934 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
24935 (gst_pad_check_pull_range), (gst_pad_pull_range),
24936 (gst_static_pad_template_get_caps), (gst_pad_start_task),
24937 (gst_pad_pause_task), (gst_pad_stop_task):
24938 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24939 (gst_element_request_pad), (gst_pad_proxy_getcaps):
24940 Fix name lookup in GstBin.
24941 Added _data_replace() function and _buffer_replace()
24942 Use finalize method to clean up clock.
24943 Fix refcounting on request pads.
24944 Fix pad schedule mode error.
24945 Some more object refcounting debug info,
24948 2005-05-04 Andy Wingo <wingo@pobox.com>
24950 * check/Makefile.am:
24951 * docs/gst/tmpl/gstatomic.sgml:
24952 * docs/gst/tmpl/gstplugin.sgml:
24953 * gst/base/gstbasesink.c: (gst_basesink_activate):
24954 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
24955 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
24956 (gst_basesrc_query), (gst_basesrc_set_property),
24957 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
24958 (gst_basesrc_activate):
24959 * gst/base/gstbasesrc.h:
24960 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
24961 (gst_base_transform_src_activate):
24962 * gst/elements/gstelements.c:
24963 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24964 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
24965 * gst/elements/gsttee.c: (gst_tee_sink_activate):
24966 * gst/elements/gsttypefindelement.c: (find_element_get_length),
24967 (gst_type_find_element_checkgetrange),
24968 (gst_type_find_element_activate):
24969 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
24970 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
24971 (gst_caps_load_thyself):
24972 * gst/gstelement.c: (gst_element_pads_activate),
24973 (gst_element_save_thyself), (gst_element_restore_thyself):
24974 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
24975 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
24977 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
24978 (gst_xml_parse_file), (gst_xml_parse_memory),
24979 (gst_xml_get_element), (gst_xml_make_element):
24980 * gst/indexers/gstfileindex.c: (gst_file_index_load),
24981 (_file_index_id_save_xml), (gst_file_index_commit):
24982 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
24983 (read_enum), (load_pad_template), (load_feature), (load_plugin),
24985 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
24986 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
24987 * tools/gst-complete.c: (main):
24988 * tools/gst-compprep.c: (main):
24989 * tools/gst-inspect.c: (print_element_properties_info):
24990 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
24991 * tools/gst-xmlinspect.c: (print_element_properties):
24994 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
24996 * gst/gstplugin.c: (gst_plugin_check_module),
24997 (gst_plugin_check_file), (gst_plugin_load_file):
24998 apply patch from #172526 to make register work on MacOSX
25000 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
25002 * docs/gst/tmpl/gstconfig.sgml:
25003 * gst/gstconfig.h.in:
25004 move documentation for some symbols. Add doc for GST_PTR_FORMAT
25005 * testsuite/debug/printf_extension.c: (main):
25006 Do not use GST_PTR_FORMAT on pointers to types with
25007 sizeof < sizeof(gpointer). Fixes test on 64-bit
25008 * testsuite/elements/property.h:
25009 use correct printf format
25011 2005-05-02 Wim Taymans <wim@fluendo.com>
25013 * docs/design/draft-push-pull.txt:
25014 * docs/design/draft-query.txt:
25015 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
25016 (gst_basesrc_start):
25017 Added draft for new query API.
25018 Added draft for better selecting scheduling methods.
25019 Make basesrc ignore length if the subclass does not support
25022 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
25025 possible fixes for automake-1.5 - _LIBADD is reserved
25027 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
25029 * docs/faq/Makefile.am:
25030 * docs/manual/Makefile.am:
25031 * docs/manuals.mak:
25032 * docs/pwg/Makefile.am:
25034 possible fixes for automake-1.5
25036 2005-04-28 Wim Taymans <wim@fluendo.com>
25038 * gst/base/gstbasesink.c: (gst_basesink_base_init),
25039 (gst_basesink_pad_getcaps), (gst_basesink_init),
25040 (gst_basesink_do_sync):
25041 * gst/gstclock.c: (gst_clock_entry_new):
25042 * gst/gstevent.c: (gst_event_discont_get_value):
25043 * gst/gstpipeline.c: (pipeline_bus_handler),
25044 (gst_pipeline_change_state):
25045 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
25046 Better debugging of clocking info.
25047 Allow NULL values when getting discont values.
25049 2005-04-27 Wim Taymans <wim@fluendo.com>
25051 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
25052 * check/gst/gstpad.c: (gst_pad_suite):
25053 Increase timeout for checks.
25055 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
25057 * check/Makefile.am:
25058 fix the broken rule for cleanup. Apparently this rule is
25059 only needed on FC2, so maybe this warrants further autotool
25062 2005-04-26 Wim Taymans <wim@fluendo.com>
25064 * gst/gsttrashstack.h:
25065 Ooohh. a nasty one! After having a failed pop() from the stack,
25066 it's possible that the stack is empty. In that case, don't
25067 follow the NULL pointer.
25069 2005-04-25 Wim Taymans <wim@fluendo.com>
25071 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25072 (gst_pad_set_checkgetrange_function),
25073 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
25074 (gst_pad_check_pull_range), (gst_pad_pull_range),
25075 (gst_static_pad_template_get_caps), (gst_pad_start_task),
25076 (gst_pad_pause_task), (gst_pad_stop_task):
25077 * gst/gstplugin.c: (gst_plugin_load):
25079 Remove gst_library_load as it does more harm than good with
25080 the new g_module flags.
25081 Revert bogus caps template check in pad linking, pad caps
25082 are important when linking not the template, which is more
25083 general than the current caps.
25085 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25087 * gst/autoplug/.cvsignore:
25088 * gst/autoplug/Makefile.am:
25089 * gst/autoplug/gstsearchfuncs.c:
25090 * gst/autoplug/gstsearchfuncs.h:
25091 * gst/autoplug/gstspider.c:
25092 * gst/autoplug/gstspider.h:
25093 * gst/autoplug/gstspideridentity.c:
25094 * gst/autoplug/gstspideridentity.h:
25095 * gst/autoplug/spidertest.c:
25098 2005-04-25 Wim Taymans <wim@fluendo.com>
25100 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25101 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
25102 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
25103 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
25105 Added stubs for unimplemented functions.
25107 2005-04-24 David Schleef <ds@schleef.org>
25109 * gst/gstpad.h: Disable some unimplemented functions. Wim,
25112 2005-04-24 David Schleef <ds@schleef.org>
25114 Convert everything from GstAtomicInt to g_atomic_int_*, and
25119 * gst/gstatomic_impl.h:
25127 * gst/gstdata_private.h:
25131 * gst/gstmessage.c:
25134 * gst/gststructure.c:
25135 * gst/gststructure.h:
25136 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
25139 2005-04-24 David Schleef <ds@schleef.org>
25141 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
25142 make the regressions tests work. Remove some code that is no
25144 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
25145 Disable warning for pads without templates.
25147 2005-04-24 David Schleef <ds@schleef.org>
25149 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
25150 functions that handle filtered links.
25151 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
25153 * gst/gstutils.c: Fix/remove utility functions that handle
25156 * gst/gstvalue.c: Add serialization/deserialization of caps
25157 * gst/parse/grammar.y: Ignore filtered caps when linking. This
25158 requires fixing so that the filter caps notation creates
25159 a capsfilter element and sets the filter_caps property. I
25160 think everyone probably wants to keep the shorthand notation.
25161 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
25162 * docs/gst/tmpl/gstpad.sgml:
25164 * gst/elements/gstelements.c: Register capsfilter element.
25165 * gst/Makefile.am: fix spacing
25166 * docs/random/ds/0.9-suggested-changes: random
25168 2005-04-23 David Schleef <ds@schleef.org>
25170 * gst/elements/Makefile.am:
25171 * gst/elements/gstcapsfilter.c: New element that acts like an
25172 identity, but filters caps. Will eventually replace filtered
25173 caps in pad linking.
25174 * gst/gstutils.c: (gst_element_create_all_pads): New function
25175 to create all the ALWAYS pads that are registered with an
25176 element class. This functionality should eventually be
25177 merged in with GstElement initialization.
25179 * testsuite/trigger/README: part of trigger test code that should
25180 have been checked in a long time ago.
25182 2005-04-23 David Schleef <ds@schleef.org>
25184 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
25185 needed with new versions of libtool (nobody will confirm this),
25186 and hard to carry around.
25187 * gst/autoplug/Makefile.am:
25188 * gst/base/Makefile.am:
25189 * gst/elements/Makefile.am:
25190 * gst/indexers/Makefile.am:
25191 * gst/schedulers/Makefile.am:
25192 * libs/gst/bytestream/Makefile.am:
25193 * libs/gst/control/Makefile.am:
25194 * libs/gst/dataprotocol/Makefile.am:
25195 * libs/gst/getbits/Makefile.am:
25197 2005-04-21 Wim Taymans <wim@fluendo.com>
25199 * docs/design/draft-push-pull.txt:
25200 * docs/design/part-MT-refcounting.txt:
25201 * docs/design/part-TODO.txt:
25202 * docs/design/part-caps.txt:
25203 * docs/design/part-events.txt:
25204 * docs/design/part-gstbus.txt:
25205 * docs/design/part-gstpipeline.txt:
25206 * docs/design/part-messages.txt:
25207 * docs/design/part-push-pull.txt:
25208 * docs/design/part-query.txt:
25211 2005-04-21 Wim Taymans <wim@fluendo.com>
25213 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
25214 (gst_message_new), (gst_message_new_error),
25215 (gst_message_new_warning), (gst_message_new_tag),
25216 (gst_message_new_state_changed), (gst_message_new_application),
25217 (gst_message_get_structure):
25218 * gst/gstmessage.h:
25219 * gst/gststructure.c: (gst_structure_set_parent_refcount),
25220 (gst_structure_copy_conditional):
25221 Use parent refcount in GstMessage to ensure GstStructure
25223 Cleaned up headers a bit.
25226 2005-04-20 Wim Taymans <wim@fluendo.com>
25228 * gst/base/gstbasesink.c: (gst_basesink_base_init),
25229 (gst_basesink_pad_getcaps), (gst_basesink_init),
25230 (gst_basesink_chain_unlocked):
25231 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
25232 (gst_type_find_helper):
25233 * gst/elements/gsttypefindelement.c:
25234 (gst_type_find_element_have_type), (gst_type_find_element_init),
25235 (stop_typefinding), (gst_type_find_element_handle_event),
25236 (find_suggest), (gst_type_find_element_chain),
25237 (gst_type_find_element_checkgetrange),
25238 (gst_type_find_element_getrange), (do_typefind),
25239 (gst_type_find_element_activate):
25240 * gst/gstbuffer.c: (_gst_buffer_sub_free),
25241 (gst_buffer_default_free), (gst_buffer_default_copy),
25242 (gst_buffer_set_caps):
25243 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
25244 (gst_caps_replace):
25245 * gst/gstmessage.c: (gst_message_new),
25246 (gst_message_new_state_changed):
25247 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25248 (gst_pad_set_checkgetrange_function),
25249 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
25250 (gst_pad_set_caps), (gst_pad_check_pull_range),
25251 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
25253 * gst/gsttypefind.c: (gst_type_find_register):
25254 Make gst_caps_replace() work like other _replace() functions.
25255 Use _caps_replace() where possible.
25256 Make sure _message_new() initialises its field.
25257 Add gst_static_pad_template_get_caps()
25260 2005-04-18 Andy Wingo <wingo@pobox.com>
25262 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
25263 on the peer, not the pad. I think that was a typo. Pass an extra
25264 arg to see if random access is possible. Activate the pads as
25265 PULL_RANGE if possible.
25267 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
25269 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
25270 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
25273 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25275 * docs/faq/using.xml:
25276 Add note on gstreamer-properties (#154996).
25278 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25280 * docs/random/bbb/optional-properties:
25281 Some analysis on optional properties.
25283 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25285 * docs/gst/tmpl/gstelementfactory.sgml:
25286 * gst/gstelement.h:
25287 * gst/gstelementfactory.c: (gst_element_factory_init),
25288 (gst_element_factory_cleanup), (gst_element_register),
25289 (__gst_element_factory_add_static_pad_template),
25290 (gst_element_factory_get_static_pad_templates),
25291 (gst_element_factory_can_src_caps),
25292 (gst_element_factory_can_sink_caps):
25293 * gst/registries/Makefile.am:
25294 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
25295 (gst_xml_registry_class_init), (gst_xml_registry_init),
25296 (gst_xml_registry_new), (gst_xml_registry_set_property),
25297 (gst_xml_registry_get_property), (get_time), (make_dir),
25298 (gst_xml_registry_get_perms_func),
25299 (plugin_times_older_than_recurse), (plugin_times_older_than),
25300 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
25301 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
25302 (add_to_char_array), (read_string), (read_uint), (read_enum),
25303 (load_pad_template), (load_feature), (load_plugin), (load_paths),
25304 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
25305 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
25306 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
25307 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
25308 (gst_xml_registry_rebuild):
25309 * gst/registries/gstlibxmlregistry.h:
25310 * tools/gst-compprep.c: (main):
25311 * tools/gst-inspect.c: (print_pad_templates_info):
25312 * tools/gst-xmlinspect.c: (print_element_info):
25313 Use libxml2 for registry parsing, use staticpadtemplates in
25314 elementfactories. Makes gst_init() +/- 10x faster.
25316 2005-04-12 Wim Taymans <wim@fluendo.com>
25318 * gst/base/Makefile.am:
25319 * gst/base/gstbasesink.c: (gst_basesink_base_init),
25320 (gst_basesink_pad_getcaps), (gst_basesink_init),
25321 (gst_basesink_event), (gst_basesink_change_state):
25322 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25323 (gst_basesrc_init), (gst_basesrc_query),
25324 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
25325 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
25326 (gst_basesrc_check_get_range), (gst_basesrc_loop),
25327 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
25328 (gst_basesrc_stop), (gst_basesrc_activate),
25329 (gst_basesrc_change_state):
25330 * gst/base/gsttypefindhelper.c: (helper_find_peek),
25331 (helper_find_suggest), (gst_type_find_helper):
25332 * gst/base/gsttypefindhelper.h:
25333 * gst/elements/Makefile.am:
25334 * gst/elements/gstelements.c:
25335 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
25336 (gst_fakesink_get_times), (gst_fakesink_event),
25337 (gst_fakesink_preroll), (gst_fakesink_render):
25338 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25339 (gst_fakesrc_init), (gst_fakesrc_event_handler),
25340 (gst_fakesrc_get_property), (gst_fakesrc_create),
25341 (gst_fakesrc_start), (gst_fakesrc_stop):
25342 * gst/elements/gstfakesrc.h:
25343 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
25344 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
25345 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
25346 (gst_filesrc_create_read), (gst_filesrc_create),
25347 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
25348 (gst_filesrc_start):
25349 * gst/elements/gsttypefindelement.c:
25350 (gst_type_find_element_have_type), (gst_type_find_element_init),
25351 (start_typefinding), (stop_typefinding), (push_buffer_store),
25352 (gst_type_find_element_handle_event),
25353 (gst_type_find_element_chain),
25354 (gst_type_find_element_checkgetrange),
25355 (gst_type_find_element_getrange), (do_typefind),
25356 (gst_type_find_element_activate),
25357 (gst_type_find_element_change_state):
25358 * gst/elements/gsttypefindelement.h:
25359 * gst/gstpipeline.c: (pipeline_bus_handler):
25360 Added typefind helper.
25361 Small preroll fix in the base sink.
25362 Disable typefind code in basesrc.
25363 Crude port of typefindelement.
25367 2005-04-11 Wim Taymans <wim@fluendo.com>
25369 * check/gst/gstbus.c: (gstbus_suite):
25370 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
25371 * check/gstcheck.h:
25372 Fix up the timeout so that the test does not fail.
25374 2005-04-06 Wim Taymans <wim@fluendo.com>
25377 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25378 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
25379 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
25380 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
25381 (gst_basesrc_check_get_range), (gst_basesrc_loop),
25382 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
25383 (gst_basesrc_stop), (gst_basesrc_activate),
25384 (gst_basesrc_change_state), (basesrc_find_peek),
25385 (basesrc_find_suggest), (gst_basesrc_type_find):
25386 * gst/base/gstbasesrc.h:
25387 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
25388 (gst_filesrc_class_init), (gst_filesrc_init),
25389 (gst_filesrc_finalize), (gst_filesrc_set_location),
25390 (gst_filesrc_set_property), (gst_filesrc_get_property),
25391 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
25392 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
25393 (gst_filesrc_create_read), (gst_filesrc_create),
25394 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
25395 * gst/elements/gstfilesrc.h:
25396 * gst/gstelement.c: (gst_element_get_state_func),
25397 (gst_element_lost_state), (gst_element_pads_activate):
25398 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25399 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
25400 (gst_pad_pull_range):
25402 More work on the generic source base class, implement seeking,
25404 Make filesrc extend the base source class.
25405 Added gst_pad_set_checkgetrange_function to GstPad.
25407 2005-04-06 Andy Wingo <wingo@pobox.com>
25409 * pkgconfig/gstreamer-base.pc.in:
25410 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
25412 * pkgconfig/Makefile.am:
25413 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
25415 2005-04-04 Wim Taymans <wim@fluendo.com>
25417 * gst/base/Makefile.am:
25419 * gst/base/gstbasesink.c: (gst_basesink_base_init),
25420 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
25421 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
25422 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
25423 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25424 (gst_basesrc_base_init), (gst_basesrc_class_init),
25425 (gst_basesrc_init), (gst_basesrc_get_formats),
25426 (gst_basesrc_get_query_types), (gst_basesrc_query),
25427 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
25428 (gst_basesrc_set_property), (gst_basesrc_get_property),
25429 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
25430 (gst_basesrc_loop), (gst_basesrc_activate),
25431 (gst_basesrc_change_state):
25432 * gst/base/gstbasesrc.h:
25433 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
25434 (gst_fakesrc_class_init), (gst_fakesrc_init),
25435 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
25436 (gst_fakesrc_get_property), (gst_fakesrc_create):
25437 * gst/elements/gstfakesrc.h:
25438 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
25439 (gst_filesrc_open_file), (gst_filesrc_loop),
25440 (gst_filesrc_activate), (filesrc_find_peek),
25441 (gst_filesrc_type_find):
25442 Made base source class, make fakesrc extend it.
25443 Add comments to basesink class.
25444 Some filesrc cleanup.
25446 2005-03-31 David Schleef <ds@schleef.org>
25448 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
25449 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
25450 expected to link against libgstreamer.
25451 * gst/base/Makefile.am: link against libgstreamer
25452 * gst/elements/Makefile.am: same
25454 2005-03-31 Andy Wingo <wingo@pobox.com>
25456 * tests/instantiate/Makefile.am:
25457 * tests/instantiate/caps.c: Add test to test speed of caps copy
25460 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
25461 GMemChunk to be fair.
25463 * gst/gsttrashstack.h: Remove warning about using the fallback
25464 trash stack implementation, it's still faster than malloc.
25466 2005-03-30 Andy Wingo <wingo@pobox.com>
25468 * tests/complexity.c: Add a copyright.
25470 2005-03-31 Wim Taymans <wim@fluendo.com>
25472 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
25473 (gst_base_transform_class_init), (gst_base_transform_init),
25474 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
25475 (gst_base_transform_get_property),
25476 (gst_base_transform_sink_activate),
25477 (gst_base_transform_src_activate),
25478 (gst_base_transform_change_state):
25479 * gst/base/gstbasetransform.h:
25480 * gst/elements/gstidentity.c: (gst_identity_class_init),
25481 (gst_identity_event), (gst_identity_check_perfect),
25482 (gst_identity_transform), (gst_identity_start),
25483 (gst_identity_stop):
25484 Added start/stop methods to transform base class so subclasses
25485 don't need to deal with state changes even.
25487 2005-03-31 Wim Taymans <wim@fluendo.com>
25489 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
25490 (gst_event_new_discontinuous), (gst_event_discont_get_value):
25492 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25493 (gst_pad_pull_range):
25494 Added rate to the discont event to prepare for variable speed
25495 and reverse playback.
25497 2005-03-29 David Schleef <ds@schleef.org>
25500 * testsuite/trigger/Makefile.am:
25501 * testsuite/trigger/trigger.c: A little example program to show
25502 how trigger-based elements can work.
25504 2005-03-29 Wim Taymans <wim@fluendo.com>
25506 * gst/base/Makefile.am:
25508 * gst/base/gstbasesink.c: (gst_basesink_get_type),
25509 (gst_basesink_base_init), (gst_basesink_class_init),
25510 (gst_basesink_pad_getcaps), (gst_basesink_init),
25511 (gst_basesink_activate), (gst_basesink_change_state):
25512 * gst/base/gstbasesink.h:
25513 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
25514 (gst_base_transform_base_init), (gst_base_transform_finalize),
25515 (gst_base_transform_class_init), (gst_base_transform_init),
25516 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
25517 (gst_base_transform_event), (gst_base_transform_getrange),
25518 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
25519 (gst_base_transform_set_property),
25520 (gst_base_transform_get_property),
25521 (gst_base_transform_sink_activate),
25522 (gst_base_transform_src_activate),
25523 (gst_base_transform_change_state):
25524 * gst/base/gstbasetransform.h:
25525 * gst/elements/gstidentity.c: (gst_identity_finalize),
25526 (gst_identity_class_init), (gst_identity_init),
25527 (gst_identity_event), (gst_identity_check_perfect),
25528 (gst_identity_transform), (gst_identity_set_property),
25529 (gst_identity_get_property), (gst_identity_change_state):
25530 * gst/elements/gstidentity.h:
25531 * gst/gstelement.c: (gst_element_get_state_func),
25532 (gst_element_lost_state), (gst_element_pads_activate):
25533 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25534 (gst_pad_check_pull_range), (gst_pad_pull_range):
25536 Simplify pad activation.
25537 Added function to check if pull_range can be performed.
25538 Error out when pulling inactive or flushing pads.
25539 Removed const from refcounted types as it does not make sense.
25540 Simplify pad templates in basesink
25541 Added base class for simple 1-to-1 transforms.
25542 Make identity subclass the base transform.
25544 2005-03-29 Andy Wingo <wingo@pobox.com>
25546 * docs/libs/gstreamer-libs-overrides.txt:
25547 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
25548 really don't understand what's going on, but like whatever. I want
25551 * docs/gst/Makefile.am:
25552 * docs/libs/Makefile.am: Dist the overrides files.
25554 * check/Makefile.am (clean-local): Remove .libs directories.
25556 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
25557 elements to EXTRA_DIST, so po/ files are happy.
25559 * po/POTFILES.in: Er, remove it here.
25561 * po/POTFILES: Remove gstspider.c.
25563 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
25565 * docs/libs/gstreamer-libs-docs.sgml:
25566 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
25569 * tests/complexity.c (main): Set the length of the preroll queue
25570 on the sinks to prevent a lockup.
25572 * libs/gst/dataprotocol/Makefile.am:
25573 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
25574 the same as the one in check/gst-libs/gdp.c.
25576 * po/, docs/gst/: Commit automatic changes to docs and po files.
25578 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
25579 the versioned libgstbase.
25581 * check/Makefile.am: Depend on an unversioned gst-register, seems
25582 to make autoconf happier.
25584 * gst/base/Makefile.am: Make libgstbase a versioned lib.
25586 2005-03-28 Wim Taymans <wim@fluendo.com>
25589 * docs/design/part-gstelement.txt:
25590 * docs/design/part-negotiation.txt:
25591 * docs/design/part-preroll.txt:
25592 * docs/design/part-scheduling.txt:
25593 * docs/design/part-states.txt:
25595 * gst/base/Makefile.am:
25597 * gst/base/gstbasesink.c: (gst_basesink_get_template),
25598 (gst_basesink_base_init), (gst_basesink_class_init),
25599 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
25600 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
25601 (gst_basesink_set_pad_functions),
25602 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
25603 (gst_basesink_set_property), (gst_basesink_get_property),
25604 (gst_base_sink_get_template), (gst_base_sink_get_caps),
25605 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
25606 (gst_basesink_preroll_queue_push),
25607 (gst_basesink_preroll_queue_empty),
25608 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
25609 (gst_basesink_event), (gst_basesink_get_times),
25610 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
25611 (gst_basesink_chain_unlocked), (gst_basesink_chain),
25612 (gst_basesink_loop), (gst_basesink_activate),
25613 (gst_basesink_change_state):
25614 * gst/base/gstbasesink.h:
25615 * gst/elements/Makefile.am:
25616 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
25617 (gst_fakesink_class_init), (gst_fakesink_init),
25618 (gst_fakesink_set_property), (gst_fakesink_get_property),
25619 (gst_fakesink_get_times), (gst_fakesink_event),
25620 (gst_fakesink_preroll), (gst_fakesink_render),
25621 (gst_fakesink_change_state):
25622 * gst/elements/gstfakesink.h:
25623 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
25624 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
25625 * gst/gstelement.c: (gst_element_add_pad),
25626 (gst_element_get_state_func), (gst_element_abort_state),
25627 (gst_element_commit_state), (gst_element_lost_state),
25628 (gst_element_set_state), (gst_element_pads_activate):
25629 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
25630 * gst/gstpipeline.c: (gst_pipeline_send_event),
25631 (gst_pipeline_change_state):
25632 Added state change code.
25633 Added/updated docs.
25634 Added sink base class, make fakesink extend the base class.
25635 Small cleanups in GstPipeline.
25637 2005-03-26 David Schleef <ds@schleef.org>
25639 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
25640 is broken and should be implemented in a different library.
25641 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
25642 * gst/gst.h: remove gstcpu.h
25643 * gst/gstcpu.c: remove
25644 * gst/gstcpu.h: remove
25645 * gst/Makefile.am.future: Remove this file. It's ancient.
25647 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25649 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
25650 (gst_bin_send_event):
25651 Add default event/set_manager handlers. The set_manager handler
25652 takes care that the manager is distributed over kids that were
25653 already in the bin before the manager was set. The event handler
25654 is a utility virtual function that sends the event over all sinks,
25655 so that gst_element_send_event (bin, event); has the expected
25657 * gst/gstpad.c: (gst_pad_event_default):
25658 Re-install default event handling for discontinuities, so that
25659 seeking works without requiring hacks in applications or extra
25661 * gst/gstpipeline.c: (gst_pipeline_class_init),
25662 (gst_pipeline_send_event):
25663 Half hack, half utility: set a pipeline to PAUSED for seek events,
25664 since that is the only way we can guarantee a/v sync. Means that
25665 you can do gst_element_seek (pipeline, method, pos); on a pipeline
25666 and it "just works".
25668 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25670 * gst/gstpipeline.c: (gst_pipeline_use_clock):
25671 Lock/unlock mismatch.
25673 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
25675 * docs/faq/gst-uninstalled:
25676 add gst-plugins-base
25677 * docs/gst/Makefile.am:
25678 don't error out until docs are fixed
25679 * docs/gst/gstreamer.types:
25682 2005-03-22 Wim Taymans <wim@fluendo.com>
25684 * check/Makefile.am:
25685 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
25686 * gst/gststructure.c: (gst_structure_set_valist),
25687 (gst_structure_copy_conditional):
25688 Activated more tests.
25689 Added message test.
25690 Added G_TYPE_POINTER to GstStructure.
25693 2005-03-22 Wim Taymans <wim@fluendo.com>
25695 * docs/design/part-TODO.txt:
25696 * docs/design/part-events.txt:
25697 * docs/design/part-gstbin.txt:
25698 * docs/design/part-gstbus.txt:
25699 * docs/design/part-gstpipeline.txt:
25700 * docs/design/part-messages.txt:
25702 * gst/gstmessage.c:
25705 2005-03-21 Wim Taymans <wim@fluendo.com>
25707 * gst/gstbus.c: (gst_bus_post):
25708 Fix copy-and-paste error.
25710 2005-03-21 Wim Taymans <wim@fluendo.com>
25712 * check/Makefile.am:
25714 * gst/elements/Makefile.am:
25715 * gst/elements/gstelements.c:
25716 * gst/elements/gstfakesink.c: (gst_fakesink_init),
25717 (gst_fakesink_event), (gst_fakesink_chain):
25718 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25719 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
25720 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
25721 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
25722 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
25723 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
25724 (gst_fakesrc_loop), (gst_fakesrc_activate),
25725 (gst_fakesrc_change_state):
25726 * gst/elements/gstfakesrc.h:
25727 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
25728 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
25729 (gst_filesrc_open_file), (gst_filesrc_loop),
25730 (gst_filesrc_activate), (gst_filesrc_change_state),
25731 (filesrc_find_peek), (filesrc_find_suggest),
25732 (gst_filesrc_type_find):
25733 * gst/elements/gstidentity.c: (gst_identity_finalize),
25734 (gst_identity_class_init), (gst_identity_init),
25735 (gst_identity_proxy_getcaps), (identity_queue_push),
25736 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
25737 (gst_identity_getrange), (gst_identity_chain),
25738 (gst_identity_sink_loop), (gst_identity_src_loop),
25739 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
25740 (gst_identity_set_property), (gst_identity_get_property),
25741 (gst_identity_change_state):
25742 * gst/elements/gstidentity.h:
25743 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
25744 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
25745 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
25746 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
25747 (gst_tee_sink_activate):
25748 * gst/elements/gsttee.h:
25749 * gst/gst.c: (gst_register_core_elements), (init_post):
25751 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
25752 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
25753 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
25754 (gst_bin_change_state):
25756 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
25757 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
25758 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
25759 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
25760 (gst_bus_set_sync_handler), (gst_bus_create_watch),
25761 (bus_watch_callback), (bus_watch_destroy),
25762 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
25763 (poll_timeout), (gst_bus_poll):
25767 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
25768 (gst_element_post_message), (gst_element_message_full),
25769 (gst_element_get_state_func), (gst_element_get_state),
25770 (gst_element_abort_state), (gst_element_commit_state),
25771 (gst_element_lost_state), (gst_element_set_state),
25772 (gst_element_pads_activate), (gst_element_change_state),
25773 (gst_element_dispose), (gst_element_set_manager_func),
25774 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
25775 (gst_element_set_manager), (gst_element_get_manager),
25776 (gst_element_set_bus), (gst_element_get_bus),
25777 (gst_element_set_scheduler), (gst_element_get_scheduler):
25778 * gst/gstelement.h:
25779 * gst/gstevent.c: (gst_event_new_segment_seek),
25780 (gst_event_new_flush):
25782 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
25783 (_gst_message_free), (gst_message_get_type), (gst_message_new),
25784 (gst_message_new_eos), (gst_message_new_error),
25785 (gst_message_new_warning), (gst_message_new_tag),
25786 (gst_message_new_state_changed), (gst_message_new_application),
25787 (gst_message_get_structure), (gst_message_parse_tag),
25788 (gst_message_parse_state_changed), (gst_message_parse_error),
25789 (gst_message_parse_warning):
25790 * gst/gstmessage.h:
25791 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
25792 (gst_real_pad_set_property), (gst_pad_set_active),
25793 (gst_pad_is_active), (gst_pad_set_blocked_async),
25794 (gst_pad_set_blocked), (gst_pad_is_blocked),
25795 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
25796 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
25797 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
25798 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
25799 (gst_pad_link_filtered), (gst_pad_relink_filtered),
25800 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
25801 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
25802 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
25803 (gst_pad_set_caps), (gst_pad_configure_sink),
25804 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
25805 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
25806 (gst_real_pad_dispose), (gst_real_pad_finalize),
25807 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
25808 (gst_pad_event_default_dispatch), (gst_pad_event_default),
25809 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
25811 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
25812 (pipeline_bus_handler), (gst_pipeline_change_state),
25813 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
25814 * gst/gstpipeline.h:
25816 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
25817 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
25818 (gst_queue_link_src), (gst_queue_bufferalloc),
25819 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
25820 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
25821 (gst_queue_loop), (gst_queue_handle_src_event),
25822 (gst_queue_handle_src_query), (gst_queue_src_activate),
25823 (gst_queue_change_state):
25825 * gst/gstscheduler.c: (gst_scheduler_init),
25826 (gst_scheduler_dispose), (gst_scheduler_create_task),
25827 (gst_scheduler_factory_create):
25828 * gst/gstscheduler.h:
25829 * gst/gststructure.c: (gst_structure_get_type),
25830 (gst_structure_copy_conditional):
25831 * gst/gststructure.h:
25832 * gst/gsttaginterface.h:
25833 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
25834 (gst_task_init), (gst_task_dispose), (gst_task_create),
25835 (gst_task_get_state), (gst_task_start), (gst_task_stop),
25841 * gst/schedulers/Makefile.am:
25842 * gst/schedulers/cothreads_compat.h:
25843 * gst/schedulers/entryscheduler.c:
25844 * gst/schedulers/faircothreads.c:
25845 * gst/schedulers/faircothreads.h:
25846 * gst/schedulers/fairscheduler.c:
25847 * gst/schedulers/gstbasicscheduler.c:
25848 * gst/schedulers/gstoptimalscheduler.c:
25849 * gst/schedulers/gthread-cothreads.h:
25850 * gst/schedulers/threadscheduler.c:
25851 (gst_thread_scheduler_task_get_type),
25852 (gst_thread_scheduler_task_class_init),
25853 (gst_thread_scheduler_task_init),
25854 (gst_thread_scheduler_task_start),
25855 (gst_thread_scheduler_task_stop),
25856 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
25857 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
25858 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
25859 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
25861 * libs/gst/Makefile.am:
25862 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
25863 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
25864 (gst_file_pad_parent_set):
25865 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25866 (gst_dp_event_from_packet):
25867 * tests/complexity.c: (main):
25868 * tests/mass_elements.c: (main):
25869 * testsuite/states/locked.c: (message_received), (main):
25870 * testsuite/states/parent.c: (main):
25871 * tools/gst-inspect.c: (print_element_flag_info),
25872 (print_implementation_info), (print_pad_info):
25873 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
25875 * tools/gst-md5sum.c: (event_loop), (main):
25876 * tools/gst-typefind.c: (main):
25877 * tools/gst-xmlinspect.c: (print_element_info):
25879 Added GstBus for mainloop integration.
25880 Added GstMessage for sending notifications on the bus.
25881 Added GstTask as an abstraction for pipeline entry points.
25883 Removed Schedulers.
25884 Simplified GstQueue for multithreaded core.
25885 Made _link threadsafe, removed old capsnego.
25886 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
25887 Added pad blocking functions.
25888 Reworked scheduling functions in GstPad to prepare for
25889 scheduling updates soon.
25890 Moved events out of data stream.
25891 Simplified GstEvent types.
25892 Added return values to push/pull.
25893 Removed clocking from GstElement.
25894 Added prototypes for state change function for next merge.
25895 Removed iterate from bins and state change management.
25896 Fixed some elements, disabled others for now.
25897 Fixed -inspect and -launch.
25898 Added check for GstBus.
25900 2005-03-10 Wim Taymans <wim@fluendo.com>
25902 * docs/design/part-MT-refcounting.txt:
25903 * docs/design/part-clocks.txt:
25904 * docs/design/part-gstelement.txt:
25905 * docs/design/part-gstobject.txt:
25906 * docs/design/part-standards.txt:
25907 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
25908 (gst_bin_remove_func), (gst_bin_remove):
25912 * testsuite/clock/clock1.c: (main):
25913 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
25915 * testsuite/dlopen/loadgst.c: (do_test):
25916 * testsuite/refcounting/bin.c: (add_remove_test1),
25917 (add_remove_test2), (main):
25918 * testsuite/refcounting/element.c: (main):
25919 * testsuite/refcounting/element_pad.c: (main):
25920 * testsuite/refcounting/pad.c: (main):
25921 * tools/gst-launch.c: (sigint_handler_sighandler):
25922 * tools/gst-typefind.c: (main):
25924 Added doc about clock.
25925 removed gst_bin_iterate_recurse_up(), marked methods
25927 Fix more testsuites.
25929 2005-03-09 Wim Taymans <wim@fluendo.com>
25931 * gst/gstpad.c: (gst_pad_get_direction),
25932 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
25933 (gst_pad_collect_valist):
25934 * testsuite/bins/interface.c: (main):
25935 * testsuite/caps/audioscale.c: (test_caps):
25936 * testsuite/caps/caps.c: (test1), (test2), (test3):
25937 * testsuite/caps/deserialize.c: (main):
25938 * testsuite/caps/enumcaps.c: (main):
25939 * testsuite/caps/filtercaps.c: (main):
25940 * testsuite/caps/intersect2.c: (main):
25941 * testsuite/caps/random.c: (main):
25942 * testsuite/caps/renegotiate.c: (my_fixate), (main):
25943 * testsuite/caps/sets.c: (check_caps):
25944 * testsuite/caps/simplify.c: (check_caps), (main):
25945 * testsuite/caps/subtract.c: (check_caps):
25946 Fix _pad_get_direction wrt ghostpads.
25947 Fix caps testsuite.
25949 2005-03-09 Wim Taymans <wim@fluendo.com>
25951 * check/Makefile.am:
25952 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
25953 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
25954 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
25955 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
25956 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
25957 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
25958 (gst_bin_remove), (gst_bin_iterate_recurse_up),
25959 (bin_element_is_sink), (gst_bin_iterate_sinks),
25960 (gst_bin_iterate_all_by_interface):
25962 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
25963 (gst_element_change_state), (gst_element_dispose),
25964 (gst_element_finalize), (gst_element_set_loop_function):
25965 * gst/gstelement.h:
25966 * gst/gstiterator.c: (find_custom_fold_func):
25967 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
25968 (gst_pad_collectv), (gst_pad_collect_valist),
25969 (gst_pad_template_new):
25970 * gst/gstpipeline.c: (gst_pipeline_class_init),
25971 (gst_pipeline_dispose), (gst_pipeline_set_property),
25972 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
25973 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
25974 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
25976 * gst/schedulers/entryscheduler.c:
25977 * gst/schedulers/gstbasicscheduler.c:
25978 (gst_basic_scheduler_cothreaded_chain),
25979 (gst_basic_scheduler_chain_add_element):
25980 * testsuite/bins/interface.c: (main):
25982 Added GstSystemClock test.
25983 Implemented clock distribution code in GstBin.
25984 Implemented iterate sinks method for future use.
25985 Rearranged gstelement.h
25986 Fix GstIterator comparison bug.
25987 Moved some code to GstPipeline, mostly clocking related.
25989 2005-03-09 Wim Taymans <wim@fluendo.com>
25992 * gst/gst_private.h:
25993 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
25994 (gst_bin_remove_func), (gst_bin_remove),
25995 (gst_bin_get_by_name_recurse_up):
25996 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
25997 (gst_clock_id_compare_func), (gst_clock_id_wait),
25998 (gst_clock_id_wait_async), (gst_clock_init),
25999 (gst_clock_adjust_unlocked), (gst_clock_get_time):
26000 * gst/gstelement.h:
26001 * gst/gstinfo.c: (_gst_debug_init):
26003 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
26004 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
26006 Bump version number, we're now 0.9.0
26007 Add future debugging category.
26008 Fix NULL _unref() in _get_by_name_recurse_up
26009 Rearrange gstpad.h.
26012 2005-03-08 Wim Taymans <wim@fluendo.com>
26014 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
26015 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
26016 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
26017 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
26018 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
26019 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
26020 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
26021 * gst/elements/gstidentity.c: (gst_identity_class_init):
26022 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
26023 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
26024 * gst/elements/gstshaper.c: (gst_shaper_class_init):
26025 * gst/elements/gststatistics.c: (gst_statistics_class_init):
26026 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
26028 * gst/gstelement.c: (gst_element_class_init),
26029 (gst_element_base_class_init), (gst_element_init),
26030 (gst_element_get_random_pad), (gst_element_wait_state_change),
26031 (gst_element_change_state), (gst_element_dispose),
26032 (gst_element_finalize), (gst_element_set_loop_function):
26033 * gst/gstelement.h:
26034 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
26035 * gst/gstthread.c: (gst_thread_class_init),
26036 (gst_thread_release_children_locks), (gst_thread_change_state):
26037 * gst/schedulers/gstbasicscheduler.c:
26038 (gst_basic_scheduler_loopfunc_wrapper),
26039 (gst_basic_scheduler_chain_wrapper),
26040 (gst_basic_scheduler_src_wrapper),
26041 (gst_basic_scheduler_remove_element):
26042 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
26043 Remove threadsafe properties. Fix elements because GObject
26044 complains when installing a property before declaring a
26045 set/get_property handler.
26046 Rearrange gstelement.h file, use STATE macros for state locks.
26047 Free mutexes in the finalize method instead of dispose.
26049 2005-03-08 Wim Taymans <wim@fluendo.com>
26051 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
26052 * gst/gstthread.c: (gst_thread_release_children_locks):
26053 Added parentage check.
26054 Fix build og GstThread again.
26056 2005-03-08 Wim Taymans <wim@fluendo.com>
26058 * docs/design/part-MT-refcounting.txt:
26059 * docs/design/part-conventions.txt:
26060 * docs/design/part-gstobject.txt:
26061 * docs/design/part-relations.txt:
26062 * docs/design/part-standards.txt:
26063 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
26064 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
26065 (gst_bin_get_by_name), (gst_bin_get_by_interface),
26066 (gst_bin_iterate_all_by_interface):
26069 * gst/gstelement.c: (gst_element_class_init),
26070 (gst_element_change_state), (gst_element_set_loop_function):
26071 * gst/gstelement.h:
26072 * gst/gstiterator.c:
26073 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
26074 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
26075 (gst_object_dispatch_properties_changed), (gst_object_set_name),
26076 (gst_object_set_parent), (gst_object_unparent),
26077 (gst_object_check_uniqueness):
26079 Docs updates, clean up some headers.
26081 2005-03-07 Wim Taymans <wim@fluendo.com>
26083 * check/.cvsignore:
26084 * check/Makefile.am:
26085 * check/gst-libs/.cvsignore:
26086 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
26087 * check/gst/.cvsignore:
26088 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
26089 (START_TEST), (gstbus_suite), (main):
26090 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
26091 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
26092 (gst_data_suite), (main):
26093 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
26094 (add_fold_func), (gstiterator_suite), (main):
26095 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
26096 (thread_name_object), (thread_name_object_default),
26097 (gst_object_name_compare), (gst_object_suite), (main):
26098 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
26099 (gst_pad_suite), (main):
26100 * check/gstcheck.c: (gst_check_log_message_func),
26101 (gst_check_log_critical_func), (gst_check_init):
26102 * check/gstcheck.h:
26103 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
26104 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
26107 2005-03-07 Wim Taymans <wim@fluendo.com>
26109 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
26110 (gst_list_iterator_next), (gst_list_iterator_resync),
26111 (gst_list_iterator_free), (gst_iterator_new_list),
26112 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
26113 (gst_iterator_free), (gst_iterator_push), (filter_next),
26114 (filter_resync), (filter_uninit), (filter_free),
26115 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
26116 (gst_iterator_foreach), (find_custom_fold_func),
26117 (gst_iterator_find_custom):
26118 * gst/gstiterator.h:
26119 Added missing files.
26121 2005-03-07 Wim Taymans <wim@fluendo.com>
26125 * docs/design/part-MT-refcounting.txt:
26126 * docs/design/part-conventions.txt:
26127 * docs/design/part-gstobject.txt:
26128 * docs/design/part-relations.txt:
26129 * examples/mixer/mixer.c: (main):
26130 * examples/thread/thread.c: (eos), (main):
26132 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
26133 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
26134 (gst_spider_plug_from_srcpad):
26135 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
26136 (gst_spider_identity_change_state),
26137 (gst_spider_identity_sink_loop_type_finding):
26138 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
26139 * gst/elements/gstidentity.c: (gst_identity_init):
26140 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
26141 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
26142 * gst/elements/gsttypefindelement.c: (free_entry):
26145 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
26146 (gst_bin_set_clock_func), (gst_bin_auto_clock),
26147 (gst_bin_set_index), (gst_bin_set_element_sched),
26148 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
26149 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
26150 (gst_bin_iterate_elements), (iterate_child_recurse),
26151 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
26152 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
26153 (compare_interface), (gst_bin_get_by_interface),
26154 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
26156 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
26157 (gst_buffer_default_free), (gst_buffer_default_copy),
26158 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
26159 (gst_buffer_create_sub):
26161 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
26162 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
26163 (gst_caps_unref), (gst_static_caps_get),
26164 (gst_caps_remove_and_get_structure), (gst_caps_append),
26165 (gst_caps_append_structure), (gst_caps_remove_structure),
26166 (gst_caps_copy_nth), (gst_caps_set_simple),
26167 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
26168 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
26169 (gst_caps_structure_intersect_field), (gst_caps_intersect),
26170 (gst_caps_structure_subtract_field), (gst_caps_subtract),
26171 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
26172 (gst_caps_structure_figure_out_union),
26173 (gst_caps_switch_structures), (gst_caps_do_simplify),
26174 (gst_caps_replace), (gst_caps_from_string),
26175 (gst_caps_copy_conditional):
26177 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
26178 (_gst_clock_id_free), (gst_clock_id_unref),
26179 (gst_clock_id_compare_func), (gst_clock_id_wait),
26180 (gst_clock_id_wait_async), (gst_clock_class_init),
26181 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
26182 (gst_clock_get_time), (gst_clock_set_time_adjust),
26183 (gst_clock_set_property), (gst_clock_get_property):
26186 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
26187 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
26189 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
26190 (gst_element_requires_clock), (gst_element_provides_clock),
26191 (gst_element_set_clock), (gst_element_clock_wait),
26192 (gst_element_wait), (gst_element_set_time_delay),
26193 (gst_element_is_indexable), (gst_element_add_pad),
26194 (gst_element_add_ghost_pad), (gst_element_remove_pad),
26195 (pad_compare_name), (gst_element_get_static_pad),
26196 (gst_element_request_pad), (gst_element_get_request_pad),
26197 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
26198 (gst_element_class_get_pad_template_list),
26199 (gst_element_class_get_pad_template), (gst_element_error_func),
26200 (gst_element_get_random_pad), (gst_element_get_event_masks),
26201 (gst_element_send_event), (gst_element_seek),
26202 (gst_element_get_query_types), (gst_element_query),
26203 (gst_element_get_formats), (gst_element_convert),
26204 (gst_element_is_locked_state), (gst_element_set_locked_state),
26205 (gst_element_sync_state_with_parent), (gst_element_change_state),
26206 (gst_element_finalize), (gst_element_yield),
26207 (gst_element_interrupt), (gst_element_set_scheduler),
26208 (gst_element_get_scheduler), (gst_element_set_loop_function):
26209 * gst/gstelement.h:
26211 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
26212 (gst_format_get_by_nick), (gst_format_get_details),
26213 (gst_format_iterate_definitions):
26215 * gst/gstindex.c: (gst_index_gtype_resolver):
26218 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
26219 (gst_mem_chunk_free):
26220 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
26221 (gst_object_ref), (gst_object_unref), (gst_object_sink),
26222 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
26223 (gst_object_dispatch_properties_changed),
26224 (gst_object_set_name_default), (gst_object_set_name),
26225 (gst_object_get_name), (gst_object_set_name_prefix),
26226 (gst_object_get_name_prefix), (gst_object_set_parent),
26227 (gst_object_get_parent), (gst_object_unparent),
26228 (gst_object_check_uniqueness), (gst_object_save_thyself),
26229 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
26230 (gst_object_set_property), (gst_object_get_property),
26231 (gst_object_get_path_string):
26233 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
26234 (gst_real_pad_init), (gst_real_pad_get_property),
26235 (gst_pad_custom_new), (gst_pad_get_direction),
26236 (gst_pad_set_active), (gst_pad_is_active),
26237 (gst_pad_set_event_function), (gst_pad_is_linked),
26238 (gst_pad_link_free), (gst_pad_link_intersect),
26239 (gst_pad_link_fixate), (gst_pad_set_caps),
26240 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
26241 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
26242 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
26243 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
26244 (gst_pad_get_caps), (gst_pad_peer_get_caps),
26245 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
26246 (gst_pad_realize), (gst_pad_get_allowed_caps),
26247 (gst_real_pad_dispose), (gst_real_pad_finalize),
26248 (gst_pad_collectv), (gst_pad_collect_valist),
26249 (gst_pad_template_dispose), (gst_pad_template_new),
26250 (gst_pad_get_internal_links):
26252 * gst/gstpipeline.c: (gst_pipeline_dispose),
26253 (gst_pipeline_change_state):
26254 * gst/gstpipeline.h:
26256 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
26257 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
26258 * gst/gstpluginfeature.h:
26259 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
26260 * gst/gstquery.c: (_gst_query_type_initialize),
26261 (gst_query_type_register), (gst_query_type_get_by_nick),
26262 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
26264 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
26265 * gst/gstscheduler.c: (gst_scheduler_add_element),
26266 (gst_scheduler_factory_create):
26267 * gst/gststructure.c: (gst_structure_set_parent_refcount),
26268 (gst_structure_free), (gst_structure_set_name),
26269 (gst_structure_id_set_value), (gst_structure_set_value),
26270 (gst_structure_set_valist), (gst_structure_remove_field),
26271 (gst_structure_remove_fields),
26272 (gst_structure_remove_fields_valist),
26273 (gst_structure_remove_all_fields), (gst_structure_foreach),
26274 (gst_structure_map_in_place),
26275 (gst_caps_structure_fixate_field_nearest_int),
26276 (gst_caps_structure_fixate_field_nearest_double):
26277 * gst/gststructure.h:
26278 * gst/gstsystemclock.c: (gst_system_clock_class_init),
26279 (gst_system_clock_init), (gst_system_clock_dispose),
26280 (gst_system_clock_async_thread),
26281 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
26282 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
26283 * gst/gstsystemclock.h:
26284 * gst/gsttag.c: (gst_tag_list_add_value_internal),
26285 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
26286 * gst/gsttaginterface.c:
26287 * gst/gstthread.c: (gst_thread_dispose),
26288 (gst_thread_release_children_locks), (gst_thread_change_state),
26289 (gst_thread_main_loop):
26290 * gst/gsttrashstack.h:
26291 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
26293 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26294 (gst_element_request_pad), (gst_element_get_pad_from_template),
26295 (gst_element_request_compatible_pad),
26296 (gst_element_get_compatible_pad_filtered),
26297 (gst_element_get_compatible_pad), (gst_element_state_get_name),
26298 (gst_element_link_pads_filtered), (gst_element_link_filtered),
26299 (gst_element_link_many), (gst_element_link),
26300 (gst_element_link_pads), (gst_element_unlink_pads),
26301 (gst_element_unlink_many), (gst_element_unlink),
26302 (gst_pad_can_link_filtered), (gst_pad_can_link),
26303 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
26304 (gst_object_default_error), (gst_bin_add_many),
26305 (gst_bin_remove_many), (gst_element_populate_std_props),
26306 (gst_element_class_install_std_props), (gst_buffer_merge),
26307 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
26308 (link_fold_func), (gst_pad_proxy_setcaps):
26310 * gst/gstvalue.c: (gst_value_deserialize_string):
26311 * gst/parse/grammar.y:
26312 * gst/schedulers/gstbasicscheduler.c:
26313 (gst_basic_scheduler_cothreaded_chain),
26314 (gst_basic_scheduler_chain_recursive_add),
26315 (gst_basic_scheduler_pad_link):
26316 * gst/schedulers/gstoptimalscheduler.c:
26317 (get_group_schedule_function),
26318 (gst_opt_scheduler_state_transition),
26319 (gst_opt_scheduler_add_element), (element_get_reachables_func):
26320 * libs/gst/bytestream/bytestream.c:
26321 * libs/gst/dataprotocol/dataprotocol.c:
26322 (gst_dp_header_from_buffer):
26325 * tests/threadstate/threadstate2.c: (eos):
26326 * tools/gst-compprep.c: (main):
26327 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
26328 (print_pad_info), (print_children_info):
26329 * tools/gst-launch.c: (idle_func), (main):
26330 * tools/gst-md5sum.c: (idle_func), (main):
26331 * tools/gst-xmlinspect.c: (print_element_info):
26332 First THREADED backport attempt, focusing on adding locks and
26333 making sure the API is threadsafe. Needs more work. More docs
26336 2005-02-24 Andy Wingo <wingo@pobox.com>
26338 * tests/bench-complexity.scm:
26339 * tests/complexity.gnuplot: New files, good for running complexity
26342 * tests/Makefile.am:
26343 * tests/complexity.c: New test, sets up N elements, at each level
26344 teeing into M streams per element. Eeeenteresting.
26346 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
26347 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
26348 running bench-mass_elements.scm.
26350 * tests/bench-mass_elements.scm: New script, runs mass_elements
26351 for various numbers of identities, outputting the results to a
26352 file. Requires guile 1.6. Just for testing.
26354 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
26356 * gst/schedulers/fairscheduler.c:
26357 compile with debug disabled
26359 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
26362 hunting season on 0.9 is now OPEN