1 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
4 Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
6 2007-12-08 Tim-Philipp Müller <tim at centricular dot net>
8 * gst/gststructure.c: (gst_structure_validate_name),
9 (gst_structure_new_valist), (gst_structure_parse_value),
10 (gst_structure_from_string):
11 Don't crash in _from_string() if the structure name is not valid
12 (fixes #501560). Allow structure names to start with a number
13 again (this apparently broke the ubuntu codec installer).
15 * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
17 Add unit test for the crash; update unit tests for new behaviour.
19 2007-12-03 Wim Taymans <wim.taymans@gmail.com>
22 Clarify gst_element_get_compatible_pad() documentation.
25 2007-12-02 Sebastian Dröge <slomo@circular-chaos.org>
27 * tests/check/Makefile.am:
28 Don't forget to dist {gst,libs}/struct_hppa.h.
30 2007-11-28 Stefan Kost <ensonic@users.sf.net>
32 * libs/gst/base/gstbasesink.c:
33 Use new API to get elapsed time.
35 2007-11-28 Stefan Kost <ensonic@users.sf.net>
37 * gst/gstdebugutils.c:
39 Fix wrong order of args in GST_CLOCK_DIFF() usage.
42 Use new API to get elapsed time.
44 2007-11-28 Stefan Kost <ensonic@users.sf.net>
46 * docs/gst/gstreamer-sections.txt:
48 * gst/gstdebugutils.c:
50 Rename new API + ChangeLog surgery to remove old name from last entry..
51 API: GST_GET_TIMESTAMP
53 2007-11-28 Stefan Kost <ensonic@users.sf.net>
55 * docs/gst/gstreamer-sections.txt:
57 * gst/gstdebugutils.c:
59 Now hide the different clock stuff behind a macro.
61 2007-11-28 Stefan Kost <ensonic@users.sf.net>
64 * gst/gstdebugutils.c:
66 Apply the posix-timer check from #361155. Conditionally use the posix
67 timer for logging. This gives better timestamp precission, less
68 overhead and no ntp jitter.
70 2007-11-28 Sebastian Dröge <slomo@circular-chaos.org>
72 * gst/gstminiobject.c: (gst_mini_object_get_type),
73 (gst_mini_object_class_init), (gst_mini_object_copy_default),
74 (gst_mini_object_finalize), (gst_mini_object_copy),
75 (gst_mini_object_is_writable), (gst_mini_object_make_writable),
76 (gst_mini_object_replace), (param_mini_object_validate),
77 (gst_param_spec_mini_object_get_type):
78 Some cleanup and checking against invalid function parameters.
80 2007-11-28 Wim Taymans <wim.taymans@gmail.com>
82 * docs/gst/gstreamer-sections.txt:
84 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
85 (gst_systemclock_suite):
86 Start merging in the easy bits of #361155, the monotonic clock patch.
87 This one adds a few handy macros with docs and a testsuite.
89 2007-11-27 Wim Taymans <wim.taymans@gmail.com>
91 * plugins/elements/gstfilesink.c: (gst_file_sink_event):
92 Be a bit smarter when seeking, like, don't try to do a seek when it's
93 not needed. This avoids errors when the file is not seekable.
96 2007-11-26 Stefan Kost <ensonic@users.sf.net>
98 * docs/gst/gstreamer-docs.sgml:
99 * docs/gst/gstreamer-sections.txt:
100 * docs/gst/gstreamer.types.in:
105 * plugins/elements/gstqueue.c:
106 Due to popular request remove preset interface again. :-(.
108 2007-11-22 Stefan Kost <ensonic@users.sf.net>
110 * tools/gst-inspect.c:
111 Print 'default value' for enums and flags too.
113 2007-11-22 Stefan Kost <ensonic@users.sf.net>
115 * docs/random/ensonic/profiling.txt:
119 Fix typo and give better log output.
121 * gst/gstdebugutils.c:
122 * gst/gstdebugutils.h:
123 More ideas, make graphs a bit smaller and fix param name in macro.
125 2007-11-22 Stefan Kost <ensonic@users.sf.net>
128 Try harder to use the return value from fgets().
130 2007-11-21 Stefan Kost <ensonic@users.sf.net>
133 For theses two fgets we handle the error below.
135 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
137 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
138 Only send upstream events upstream. Fixes #498746.
140 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
142 Patch by: Laurent Glayal <spglegle at yahoo dot fr>
144 * plugins/elements/gstidentity.c: (gst_identity_class_init),
145 (gst_identity_init), (gst_identity_transform_ip),
146 (gst_identity_set_property), (gst_identity_get_property):
147 * plugins/elements/gstidentity.h:
148 Add property to disable handoff signal emission. Fixes #498694.
149 API: GstIdentity::signal-handoffs
151 2007-11-21 Julien Moutte <julien@fluendo.com>
153 * docs/faq/gst-uninstalled: Yet another missing library for the
154 uninstalled script (fft)
156 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
158 * docs/faq/developing.xml:
159 Add a question about how to submit new translations.
161 * docs/random/release:
162 Update the contact email address for the Translation Project
164 * plugins/elements/gstfdsrc.c:
165 The parent_class for fdsrc is pushsrc, not GstElement.
167 2007-11-20 Stefan Kost <ensonic@users.sf.net>
170 Plug a leak and fix saving.
172 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
174 * docs/gst/gstreamer-sections.txt:
175 Add new gst_preset__get_property_names() function to the docs
178 2007-11-20 Stefan Kost <ensonic@users.sf.net>
182 Change _get_preset_names API to return a strv with copies. Add
183 _get_property_names to allow implementations to filter and provide
184 good default implementation.
186 2007-11-20 Julien MOUTTE <julien@moutte.net>
188 * docs/faq/gst-uninstalled: Add another library to the uninstalled
191 2007-11-19 Stefan Kost <ensonic@users.sf.net>
194 More cleanups, docs, and TODOs from comments that now slowly come in.
196 2007-11-19 Julien MOUTTE <julien@moutte.net>
198 * docs/faq/gst-uninstalled: Add new base libraries in the LD
201 2007-11-19 Stefan Kost <ensonic@users.sf.net>
204 Fix bogus warning and make the property type specific code more
207 2007-11-19 Julien MOUTTE <julien@moutte.net>
209 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
212 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
214 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
215 (gst_bin_add_func), (gst_bin_remove_func),
216 (gst_bin_change_state_func), (gst_bin_continue_func):
217 Change email, cleanups add some more debug and comments.
218 Also set bus and clock on new elements when the pipeline was in error.
220 2007-11-18 Stefan Kost <ensonic@users.sf.net>
223 * gst/gstdebugutils.c:
224 Fix build with --disable-gst-debug. Fixes #497859.
225 Spotted by Sameer Naik.
227 2007-11-17 Stefan Kost <ensonic@users.sf.net>
230 Little documentation improvment.
233 More TODO cleanups. Remove c++ comments.
235 * libs/gst/controller/gstcontroller.c:
236 Add TODO and use quark from static string.
238 * tests/check/gst/gstmessage.c:
239 * tests/check/gst/gststructure.c:
240 Use quark from static string.
242 2007-11-17 Stefan Kost <ensonic@users.sf.net>
245 Add some comments and TODOs.
248 Add padding for future changes.
250 * plugins/elements/gstqueue.c:
253 2007-11-17 Stefan Kost <ensonic@users.sf.net>
255 * docs/gst/gstreamer-docs.sgml:
256 * docs/gst/gstreamer-sections.txt:
257 * docs/gst/gstreamer.types.in:
262 Add the preset interface (Fixes #396779). Do some doc cleanups along.
264 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
270 === release 0.10.15 ===
272 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
275 releasing 0.10.15, "October"
277 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
279 * win32/vs6/libgstreamer.dsp:
280 Convert line endings back to DOS.
282 2007-11-13 Stefan Kost <ensonic@users.sf.net>
284 * docs/design/draft-tagreading.txt:
285 * docs/random/ensonic/profiling.txt:
286 Update fast tagreading draft and performance profiling ideas.
288 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
290 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
291 Don't hold the object lock when unreffing a buffer because it could
292 cause a deadlock when the finalize function wants to grab the object
293 lock too. Fixes #495133.
295 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
297 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
298 (gst_segment_to_stream_time), (gst_segment_to_running_time):
299 Also accumulate time correctly when doing reverse playback. Fixes
301 When converting to running and stream time, use default values for
302 start/stop/time/accum when comparing different formats. Fixes #494245.
304 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
305 Do running/stream time in TIME format.
307 * tests/check/gst/gstsegment.c: (GST_START_TEST),
309 2 new unit tests for segment accumulation.
311 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
313 * gst/gst.c: (init_pre):
314 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
315 (_gst_debug_bin_to_dot_file):
316 Move getenv() back into gst_init, so everyone can live happily
317 ever after. Make sure the symbol isn't exported though.
319 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
321 Patch by: Sebastien Moutte <sebastien moutte net>
323 * win32/common/gstenumtypes.c:
324 * win32/common/gstenumtypes.h:
327 * win32/vs6/libgstreamer.dsp:
328 Update vs6 project files (#494343).
330 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
332 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
333 (gst_base_src_perform_seek), (gst_base_src_default_event),
334 (gst_base_src_set_flushing), (gst_base_src_activate_push),
335 (gst_base_src_activate_pull):
336 Unify flushing code, remove some old unlock code that is no longer used.
337 Take the streaming lock when seeking to avoid races. Fixes #492729.
338 Added some more comments.
340 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
342 * gst/gst.c: (_gst_disable_segtrap):
343 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
344 we can use gst_segtrap_is_enabled() there now that we have that API.
345 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
346 to do the getenv here (and export the variable).
348 * gst/gstdebugutils.c: (debug_dump_element),
349 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
350 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
352 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
353 (gst_debug_log_default):
354 Rename _gst_info_start_time to priv_gst_info_start_time so it
355 doesn't get exported (was never in any header).
357 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
358 (gst_plugin_loading_mutex):
359 Make static mutex gst_plugin_loading_mutex really static (was never
360 in any header), and use gst_segtrap_is_enabled() instead of
361 _gst_disable_segtrap.
363 * gst/gsttrace.c: (_gst_trace_default):
364 Make local _gst_trace_default static (was never in any header).
366 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
368 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
370 * win32/common/libgstbase.def:
371 * win32/common/libgstcontroller.def:
372 * win32/common/libgstdataprotocol.def:
373 * win32/common/libgstnet.def:
374 * win32/common/libgstreamer.def:
375 Add more missing symbols, remove some duplicates, and sort
376 as the 'sort' command sorts it (partially fixes #493983).
378 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
380 * gst/gstelement.c: (gst_element_set_state_func):
381 Only change the state cookie if a different state was set on the
382 element. See #492729.
384 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
387 Remove unused and uninitialised type variables that were still
388 exported for some reason (they were never in any header files
391 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
393 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
394 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
395 (gst_base_sink_event), (gst_base_sink_get_position_last),
396 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
397 (gst_base_sink_change_state):
398 Don't try to report a 0 position when we don't know, return -1 and FALSE
399 instead. This mostly happens when we are prerolling.
400 Make sure we can report the right position before we post the ASYNC_DONE
401 message so that a message handler can query position without races.
403 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
404 (async_done_handoff), (async_done_func), (send_buffer),
405 (async_done_eos_func), (gst_sinks_suite):
406 Add two tests for the above.
408 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
411 Update with new email address.
413 * docs/design/part-TODO.txt:
414 Add some more info about future pad-block and negotiation changes.
416 * docs/design/part-buffering.txt:
417 Add some ideas about buffering reporting.
419 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
421 * tests/check/gst/gstobject.c:
422 Disable silly racy test that always fails on this combination of CPU
425 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
427 Patch by: Murray Cumming <murrayc@murrayc.com>
430 Corrected the registration of the parent-set and parent-unset
431 signals: The parameter is a GstObject, not a GObject (#493134).
433 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
444 Move declaration of private _gst_foo_initialize() functions into
445 our private header file where they should have been all along.
447 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
449 * docs/plugins/gstreamer-plugins-sections.txt:
450 * gst/gstdebugutils.h:
452 * plugins/elements/gstqueue.c:
453 gtk-doc fixes; trailing-comma-in-enum fix.
455 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
457 * gst/gst.c: (gst_deinit):
458 Clean up on deinit (not the external ones though, doesn't seem to be
459 needed for some reason).
461 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
463 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
464 Remove __declspec(dllimport) for MSVC that was copied over into core
465 from a plugin, obviously without ever having been tested (note the
466 single underscore in _declspec in the initial commit), and that doesn't
467 really make sense. See #492077.
469 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
471 * gst/gst.c: (init_post):
472 * gst/gstevent.c: (_gst_event_initialize):
473 * gst/gstquery.c: (_gst_query_initialize):
474 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
475 g_type_class_ref() other types as well, see #349410 and #64764.
477 * gst/gstbuffer.c: (_gst_buffer_initialize):
478 * gst/gstmessage.c: (_gst_message_initialize):
479 Simplify existing g_type_class_ref().
481 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
483 * gst/gstformat.c: (_gst_format_initialize):
484 g_type_class_ref() our GstFormat type to make sure we avoid the
485 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
486 bug #64764. Should fix intermittent tee unit test failures (#474823).
488 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
490 * tests/check/elements/tee.c: (test_num_buffers):
491 Simplify, simplify, simplify - or not. Rewrite unit test
492 not to use gst_parse_launch(); allow N sub-streams. Increasing
493 the number of sub-streams seems to reproduce #474823 more easily.
495 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
497 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
500 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
501 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
502 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
503 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
504 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
505 so use _pipe() directly (#492077).
507 * win32/common/dirent.c: (_treaddir):
508 Add a couple of casts to make it build without warnings with MSVC.
510 * win32/common/libgstreamer.def:
511 Add some more symbols that need to be exported.
513 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
515 * tests/examples/metadata/read-metadata.c: (message_loop):
516 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
517 arriving in a second or third tag message are added to
518 the tag list as well.
520 2007-10-31 Stefan Kost <ensonic@users.sf.net>
522 * libs/gst/base/gstbasesrc.c:
523 Its "Since:" and not "@Since:". And remove an superflous cast.
525 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
527 * docs/libs/gstreamer-libs-sections.txt:
528 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
529 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
530 (gst_base_sink_get_property), (gst_base_sink_render_object),
531 (gst_base_sink_preroll_object),
532 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
533 (gst_base_sink_change_state):
534 * libs/gst/base/gstbasesink.h:
535 Add a new last-buffer property that contains the last buffer used in
536 basesink for preroll or rendering. useful for making snapshots.
537 API: gst_base_sink_get_last_buffer()
538 API: GstBaseSink::last-buffer
540 2007-10-29 Stefan Kost <ensonic@users.sf.net>
542 * docs/gst/running.xml:
544 * gst/gstdebugutils.c:
545 * gst/gstdebugutils.h:
546 * tools/gst-launch.c:
547 Improve bin graph dumping, by using the envvar to specify a path.
548 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
550 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
552 * plugins/elements/gsttypefindelement.c:
553 (gst_type_find_element_handle_event),
554 (gst_type_find_element_activate):
555 Post special error message if we can't determine the type of a stream
558 2007-10-29 Stefan Kost <ensonic@users.sf.net>
560 * docs/gst/running.xml:
561 * gst/gstdebugutils.c:
562 Document new env-var. Add one log-line after dumpng a graph.
564 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
567 Ugly hack to put the (recently removed and non-portable, apparently)
568 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
569 GNU ld, because without that 'make check' fails miserably on my debian
570 stable box. Someone with more knowledge of linker intricacies and
571 portability issues than me fix this properly please.
573 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
575 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
576 Reset last seen position after flushing so that we don't report the old
579 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
581 * gst/gstelementfactory.c: (gst_element_register):
583 Patch from Alessandro Decina adding get_type_full and
584 get_protocols_full private vfuncs to the URIHandler interface
585 to allow bindings to support creating URI handlers.
586 Partially fixes: #339279
587 API: GstURIHandlerInterface::get_type_full
588 API: GstURIHandlerInterface::get_protocols_full
590 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
592 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
593 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
594 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
595 Make it so that pads are considered linked until a buffer is pushed
596 and discovered otherwise. This avoids problems with decodebin2 hanging
597 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
600 Make sure we lock the multiqueue when updating the max-size properties.
602 Fix a crash on Solaris in a debug statement in get_request_pad that
603 passes a NULL string to GST_DEBUG.
605 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
606 (run_output_order_test):
607 Fix the test to allow the first buffer on not-linked pads to come out
608 of sequence while multiqueue discovers that they are not-linked.
610 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
613 * libs/gst/check/Makefile.am:
614 Use a custom export symbol regex for libgstcheck, as it needs
615 to export symbols that don't match the standard GStreamer gst_*
616 pattern, and --export-dynamic is not portable (only works on
619 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
620 (gst_check_setup_sink_pad):
621 Make sure to pass a message parameter to the fail_* macros.
623 * tests/check/gst/gstinfo.c: (GST_START_TEST):
624 Fix some compiler warnings.
626 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
628 * tests/check/gst/gststructure.c: (test_to_string):
629 Disable test that checks that white spaces are not allowed
630 in structure names or field names, since we need to
631 support that for now for backwards compatibility reasons.
633 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
635 * docs/gst/gstreamer-sections.txt:
638 API: add GST_TAG_ARTIST_SORTNAME
639 API: add GST_TAG_ALBUM_SORTNAME
640 API: add GST_TAG_TITLE_SORTNAME
641 Add tag variants for sorting (#414539).
643 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
645 * gst/gststructure.c:
646 Also allow white space for names so we don't break
647 backwards compatibility.
649 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
651 * docs/design/part-TODO.txt:
652 * docs/design/part-segments.txt:
653 * docs/design/part-streams.txt:
656 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
658 * docs/gst/gstreamer-sections.txt:
659 Fixed documentation from my previous commit (added new API add
660 gst_value_set_structure(), add gst_value_get_structure() and
661 GST_VALUE_HOLDS_STRUCTURE).
663 2007-10-22 Stefan Kost <ensonic@users.sf.net>
665 * gst/gstdebugutils.c:
666 Reflow code to fix uninitialized variable warning.
668 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
670 * gst/gstcaps.c: (gst_caps_to_string),
671 (gst_caps_from_string_inplace):
672 * gst/gststructure.c: (gst_structure_get_abbrs),
673 (gst_structure_to_string), (gst_structure_from_string):
674 * gst/gstvalue.c: (gst_value_set_structure),
675 (gst_value_get_structure), (gst_value_serialize_structure),
676 (gst_value_deserialize_structure), (_gst_value_initialize):
678 * tests/check/gst/gststructure.c: (GST_START_TEST),
679 (gst_structure_suite):
680 * tests/check/gst/gstvalue.c: (GST_START_TEST):
681 Added GstStructure to gst_value_table and its related functions.
682 Changed gst_structure_to_string to print ';' in the end.
683 Changed gst_caps_to_string to not print ';' beteween its
684 fields (structures) anymore and remove the lastes ';' from latest
685 structure. Now it is possible to have nested structures.
686 In addition, backward compatibilty is assured by accepting '\0' as
687 end delimiter. Fixes: #487969.
688 API: add gst_value_set_structure()
689 API: add gst_value_get_structure()
690 API: add GST_VALUE_HOLDS_STRUCTURE
692 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
695 When no GSource callback has been set up, tell developer
696 to use a function that actually exists.
698 2007-10-17 Stefan Kost <ensonic@users.sf.net>
700 * docs/gst/gstreamer-sections.txt:
704 * gst/gstdebugutils.c:
705 * gst/gstdebugutils.h:
708 * tools/gst-launch.c:
709 Allow dumping pipelines as dot graphs. Fixes #456573.
711 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
713 * gst/gststructure.c:
714 Allow '+' as well, it can be part of media or mime types
715 such as image/svg+xml.
717 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
719 * docs/gst/gstreamer-sections.txt:
722 API: add gst_bus_pop_filtered
723 API: add gst_bus_timed_pop_filtered
724 Two new functions for waiting for specific message types on the
725 bus for a specified amount of time without iterating any main
726 loops or main contexts.
728 * tests/check/gst/gstbus.c:
729 Some tests for the new functions.
731 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
733 * docs/libs/gstreamer-libs-sections.txt:
734 Make gtk-doc ignore stuff it should ignore.
736 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
738 * libs/gst/check/gstcheck.c:
739 * libs/gst/check/gstcheck.h:
740 Allow runtime selection of unit tests to run via the GST_CHECKS
741 environment variable (test case function names, comma-separated).
743 2007-10-16 Stefan Kost <ensonic@users.sf.net>
745 * gst/gststructure.c:
746 * tests/check/gst/gststructure.c:
747 Revert serialisation change and constrain structure-names after
748 consensus on irc. Update api documentation to reflect the change.
750 2007-10-16 Stefan Kost <ensonic@users.sf.net>
752 * gst/gststructure.c:
753 Improve serialization and fix tests.
755 * tests/check/gst/gststructure.c:
756 Add another test that covers why I actually did the previous structure
759 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
761 * tools/gst-inspect.c: (print_element_info):
762 Don't crash when inspecting an element.
764 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
766 * tests/check/gst/gststructure.c:
767 Add unit test for escaping of structure name when serialising
768 and deserialising to/from strings.
770 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
772 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
773 (gst_single_queue_new):
774 * plugins/elements/gstqueue.c: (gst_queue_init),
775 (gst_queue_push_one):
776 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
777 upstream is tricked into thinking it can suggest a format downstream
778 while downstream does not support that format. The real problem is that
779 core calls acceptcaps when pushing a buffer with new caps, for which we
780 do a little workaround by setting the caps on the srcpad ourselves
781 before pushing the buffer (until this is figured out). Fixes #486758.
783 2007-10-15 Stefan Kost <ensonic@users.sf.net>
785 * gst/gststructure.c:
787 Add some more comments and debug output. Quote structure name to fix
788 deserialisation of some strings.
790 2007-10-15 Stefan Kost <ensonic@users.sf.net>
793 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
794 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
796 2007-10-15 Stefan Kost <ensonic@users.sf.net>
798 * tools/gst-inspect.c:
799 Save approx. 400 1 byte allocs when printing. Use API to acces element
805 * tools/gst-xmlinspect.c:
806 Use API to acces element details.
808 2007-10-15 Stefan Kost <ensonic@users.sf.net>
811 Fix some spelling errors.
813 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
815 * gst/gstbin.c: (bin_handle_async_done):
816 Correctly set the next state if all of our async children commited their
817 state. This makes sure we can actually cancel the state change in
818 progress. Fixes a regression in Rhythmbox when seeking.
820 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
823 Don't shadow local variable.
826 Don't shadow global function name.
828 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
830 * gst/gstelementfactory.c:
831 * gst/gstpluginfeature.c:
832 * gst/gstpluginfeature.h:
833 * gst/gstregistrybinary.c:
834 * gst/gstregistryxml.c:
836 Use already-interned string for the private GstPluginFeature
839 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
841 * docs/libs/gstreamer-libs-sections.txt:
842 Add new API to docs; fixes the build.
844 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
846 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
848 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
849 (gst_base_sink_event):
850 * libs/gst/base/gstbasesink.h:
851 Add function to wait for EOS, subclasses can use this to correctly wait
852 for devices to drain before performing the EOS logic. Fixes #485343.
853 API: gst_base_sink_wait_eos()
855 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
858 Cast description string constants in GST_PLUGIN_DEFINE macros
859 to a (gchar*) to make C++ code using these macros compile
860 without warning with g++-4.2 (see #462737). Even if slightly
861 ugly, this seems preferable to putting the description strings
862 into the GLib quark table or making the structure member a
863 const gchar * and doing casts in core code that allocs and
864 frees these strings, or requiring a cast in the C++ code.
866 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
869 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
870 to print the entire class/function signature into the log
871 file for C++ code. This only affects C++ code, for C code
872 everything remains the same.
874 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
876 * gst/gstbin.c: (remove_from_queue):
877 Work around a problem with pipelines containing (semi)loops until a
878 proper, more complicated solution is ready. See #475455.
880 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
884 * gst/gstregistrybinary.c:
885 * gst/gstregistryxml.c:
886 Put more strings into the GLib quark table. No need to keep
887 a hundred-something copies of identical version strings,
888 license strings, package name strings and package origin
891 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
893 * docs/manual/advanced-dataaccess.xml:
894 Don't imply that it's okay to unconditionally change
895 buffer data or buffer metadata in a pad probe callback,
896 and a bunch of other comments. Fixes #430031.
898 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
900 * win32/common/gstenumtypes.c:
901 * win32/common/gstenumtypes.h:
902 * win32/common/gstversion.h:
903 Update generated files.
905 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
907 * docs/manual/advanced-autoplugging.xml:
908 Prefix section with broken code with a warning (see #342432).
910 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
912 * docs/manual/appendix-integration.xml:
913 * docs/manual/basics-init.xml:
914 Call g_thread_init() before g_option_context_new() to
915 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
917 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
919 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
920 (gst_base_sink_queue_object_unlocked),
921 (gst_base_sink_queue_object), (gst_base_sink_event),
922 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
923 When we received EOS and are waiting for when to post the EOS message,
924 our state is prerolled and we should not return ASYNC.
925 Reorganize some code paths to implement this behavior.
927 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
929 Add unit test to verify above EOS fix.
931 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
933 * plugins/elements/gsttypefindelement.c:
934 (gst_type_find_element_have_type), (gst_type_find_element_init),
935 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
936 Move detecting the input caps of the sinkpad to the setcaps function.
937 This allows us to update the output caps when we receive new input caps
938 instead of always using the first detected caps.
940 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
942 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
943 (gst_base_sink_get_position):
944 Don't try to preroll non-async elements after a flush.
945 Subtract latency form clock times when reporting position.
947 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
949 * gst/gstpad.c: (gst_pad_pause_task):
951 Small comment and documentation update.
953 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
955 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
956 (gst_base_src_set_live), (gst_base_src_is_live),
957 (gst_base_src_query_latency), (gst_base_src_perform_seek),
958 (gst_base_src_default_event), (gst_base_src_wait),
959 (gst_base_src_do_sync), (gst_base_src_get_range),
960 (gst_base_src_pad_get_range), (gst_base_src_loop),
961 (gst_base_src_unlock), (gst_base_src_unlock_stop),
962 (gst_base_src_set_flushing), (gst_base_src_set_playing),
963 (gst_base_src_activate_push), (gst_base_src_activate_pull),
964 (gst_base_src_change_state):
965 Rework the locking of basesrc in a similar fashion to basesink. We
966 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
967 us to handle live sources and semi live ones much better.
969 Fix unlocking when seeking, shutting down and pausing in live sources.
971 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
973 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
974 Fix compilation again.
976 2007-10-03 Stefan Kost <ensonic@users.sf.net>
979 Use meaningful categories for the logs to clean the default one.
981 2007-10-03 Stefan Kost <ensonic@users.sf.net>
983 * tests/check/pipelines/cleanup.c:
984 Print message name and not just number.
986 2007-10-03 Stefan Kost <ensonic@users.sf.net>
988 * docs/design/draft-tagreading.txt:
989 Add some more thoughts.
991 2007-10-03 Stefan Kost <ensonic@users.sf.net>
993 * tests/check/pipelines/simple-launch-lines.c:
994 Print message name and not just number.
996 2007-10-03 Stefan Kost <ensonic@users.sf.net>
998 * libs/gst/base/gsttypefindhelper.c:
999 Speedup typefinding. This is work in progress (see #459862).
1001 2007-10-03 Stefan Kost <ensonic@users.sf.net>
1004 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
1005 Spotted by Josep Torra Valles <josep@fluendo.com>.
1007 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
1010 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
1011 field has moved to GstObject.
1013 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
1015 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
1016 (gst_base_src_get_range), (gst_base_src_change_state):
1017 Call unlock for live sources so that they can't get stuck in _create and
1018 produce a buffer before they are set back to PLAYING.
1020 2007-10-02 Edward Hervey <bilboed@bilboed.com>
1022 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
1023 (gst_queue_locked_dequeue):
1024 Comment the segment-related code... in the PROPER function.
1025 See #482147 and my commit from yesterday.
1027 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
1029 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
1030 Also initialize the counter that calculates the first timestamp on a
1031 buffer correctly for non-live sources.
1033 2007-10-01 Edward Hervey <bilboed@bilboed.com>
1035 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
1036 Disable code that's breaking the current-time-level reporting.
1039 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
1041 * docs/gst/gstreamer-sections.txt:
1042 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
1043 as they shouldn't show up. Fixes the docs build.
1045 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
1048 Add an explicit variable importation needed on VS6 (only for MSC_VER)
1049 Define M_PI which is used in files which are including gstinfo.h.
1050 VS6 includes doesn't define it.
1051 * win32/common/libgstbase.def:
1052 * win32/common/libgstcontroller.def:
1053 * win32/common/libgstreamer.def:
1054 Add new exported functions and variables.
1055 * win32/vs6/libgstcontroller.dsp:
1056 * win32/vs6/libgstreamer.dsp:
1057 Update the list of files to build.
1059 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
1061 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
1063 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
1064 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
1065 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
1066 Improve debugging. Fixes #480858.
1068 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
1070 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
1072 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
1073 First patch of code cleanups, use the macros and right arguments in the
1074 macros to signal and lock the queue. See #480858.
1076 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
1078 * gst/gstbus.c: (poll_func):
1079 Improve debugging when dealing with _poll().
1081 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
1083 * gst/gstregistryxml.c:
1084 Fix memory leak I introduced a few days ago.
1086 2007-09-26 Michael Smith <msmith@fluendo.com>
1088 * gst/gstbuffer.c: (gst_buffer_finalize):
1089 Make it once again possible to free GstBuffers in the default
1091 The poisoning scribbles on parts of the miniobject we need in
1095 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
1097 * docs/gst/gstreamer-sections.txt:
1100 API: add GST_TAG_COMPOSER, fixes #459809.
1102 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
1106 Add the 3-clause BSD license and the MIT/X11 license to the license
1107 list. Fixes #479784.
1109 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
1111 * docs/faq/getting.xml:
1112 Add Q+A about different GStreamer versions (#364056).
1114 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
1116 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1117 (gst_base_sink_event), (gst_base_sink_change_state):
1118 Return correct gboolean from query function.
1120 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
1122 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1123 (gst_base_sink_event), (gst_base_sink_query),
1124 (gst_base_sink_change_state):
1125 Simplify latency query.
1126 When not synchronizing, we can report latency without querying the peer
1129 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
1133 Fix small typos in the docs.
1135 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
1137 * docs/design/draft-latency.txt:
1138 * docs/design/draft-push-pull.txt:
1139 * docs/design/draft-tagreading.txt:
1140 * docs/design/part-MT-refcounting.txt:
1141 * docs/design/part-activation.txt:
1142 * docs/design/part-block.txt:
1143 * docs/design/part-element-source.txt:
1144 * docs/design/part-events.txt:
1145 * docs/design/part-gstbin.txt:
1146 * docs/design/part-gstelement.txt:
1147 * docs/design/part-gstobject.txt:
1148 * docs/design/part-gstpipeline.txt:
1149 * docs/design/part-messages.txt:
1150 * docs/design/part-preroll.txt:
1151 * docs/design/part-push-pull.txt:
1152 * docs/design/part-qos.txt:
1153 * docs/design/part-query.txt:
1154 * docs/design/part-scheduling.txt:
1155 * docs/design/part-seeking.txt:
1156 * docs/design/part-segments.txt:
1157 * docs/design/part-states.txt:
1158 Documentation updates and typo fixes.
1160 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
1162 * plugins/elements/gstfakesink.c:
1163 Add some debug text to error message to indicate that
1164 we errored out on request.
1166 * tools/gst-launch.c:
1167 When the state change to PLAYING fails, check for an
1168 error message on the bus and print it.
1170 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
1172 translated by: Jorge González González <aloriel@gmail.com>
1176 Added Spanish translation.
1178 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
1180 * plugins/elements/gstqueue.c: (gst_queue_push_one):
1181 Fix printf arguments.
1183 2007-09-20 Stefan Kost <ensonic@users.sf.net>
1185 * tests/check/generic/states.c:
1186 Improved state change unit test.
1188 2007-09-20 Stefan Kost <ensonic@users.sf.net>
1191 Move priv to the right place.
1193 * gst/gstsystemclock.c:
1194 Add FIXME: and improve log.
1196 * tests/check/Makefile.am:
1197 * tests/examples/manual/Makefile.am:
1198 Work with all types of registries.
1200 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
1202 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
1203 Don't unref the event after pushing it. Fixes #478401.
1205 2007-09-19 Stefan Kost <ensonic@users.sf.net>
1208 * tests/examples/manual/.cvsignore:
1209 Ignore registries in any format.
1211 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
1213 * gst/glib-compat-private.h:
1214 Add compatibility macro for g_intern_string() for
1215 GLib-2.8 (any reason we can't just bump the
1216 requirement to at least 2.10?)
1218 * gst/gstpadtemplate.h:
1219 * gst/gstelementfactory.c:
1220 * gst/gstregistryxml.c:
1221 * gst/gstregistrybinary.c:
1222 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
1223 up the internal code accordingly. This shouldn't be a problem, since
1224 there is no reason external code could ever assume the string in such
1225 a structure is dynamically allocated unless it did that itself; the
1226 use of g_strdup() is private to element factories. The new code also
1227 saves some memory by putting pad template name strings into the GLib
1228 quark table instead of allocating them dynamically.
1229 Declaring this field constant fixes warnings with g++-4.2 when using
1230 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
1232 2007-09-19 Stefan Kost <ensonic@users.sf.net>
1234 * gst/gstelementfactory.c:
1235 Release static caps. Fixes #475723.
1237 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
1241 Make some internal API take const gchar * instead of just
1242 gchar * to avoid compiler warnings with g++-4.2.2 when
1243 passing string constants (partially fixes #478092).
1245 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
1247 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
1248 A latency query fails when one of the sinks fail.
1250 * gst/gstelement.c: (gst_element_set_base_time):
1253 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
1255 * gst/gstbin.c: (gst_bin_continue_func):
1256 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
1257 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
1258 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
1260 Fix minor compilation warnings shown with Forte.
1262 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
1264 * plugins/elements/gstqueue.c: (apply_buffer),
1265 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
1266 Measure queue level based on the diff between head and tail timestamps
1267 even when pushing the first buffer.
1269 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
1271 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1272 (gst_base_sink_event), (gst_base_sink_change_state):
1273 Sinks that don't preroll can always be queried for the latency.
1274 Don't post ASYNC start when we are not async.
1276 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
1278 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
1279 (gst_queue_handle_sink_event), (gst_queue_chain),
1280 (gst_queue_push_one), (gst_queue_handle_src_query),
1281 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
1282 * plugins/elements/gstqueue.h:
1283 When downstream returns UNEXPECTED from pushing a buffer, don't try to
1284 push more buffers but allow pushing of EOS and NEWSEGMENT.
1285 Add some more debug info here and there. Fixes #476514.
1287 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
1289 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1290 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
1291 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
1292 (gst_base_sink_set_flushing), (gst_base_sink_query),
1293 (gst_base_sink_change_state):
1294 Latency query is allowed after we are prerolled. Introduce a new flag
1295 for this and stop abusing other variables.
1297 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
1299 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
1300 Push OOB events downstream when we get them in send_event. This allows
1301 the application to insert events in the pipeline.
1302 Add some more comments.
1304 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
1306 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
1307 (do_bin_latency), (gst_bin_change_state_func):
1308 * gst/gstpipeline.c: (gst_pipeline_change_state):
1309 Move latency query from GstPipeline to GstBin so that we can also
1310 use it when async-handling is enabled on bins.
1312 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
1314 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1315 (gst_base_src_do_sync), (gst_base_src_change_state):
1317 Clean up the timestamping and syncing code for pseudo live sources.
1319 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
1321 Patch by: Steve Fink <sphink gmail com>
1323 * docs/manual/appendix-checklist.xml:
1324 Mention less -R switch in the section about debug output (#474055).
1326 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
1328 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
1329 Queue can latency to the pipeline up to the configured max size in time.
1330 Report this fact in the latency query.
1332 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
1334 Patch by: Sebastien Moutte <sebastien at moutte dot net>
1336 * libs/gst/controller/gstinterpolation.c:
1337 * libs/gst/controller/gstlfocontrolsource.c:
1338 Use gst_guint64_to_gdouble() when converting from a uint64 or
1339 GstClockTime to double to fix the build on win32. Fixes #474371.
1341 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
1343 * gst/gstbuffer.c: (gst_buffer_finalize):
1344 Implement poisoning for GstBuffer if --enable-poisoning is specified.
1345 When finalizing a buffer the complete struct is filled with 0xff,
1346 thus making a use of the buffer after the final unref impossible.
1348 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
1350 * tests/check/libs/controller.c: (GST_START_TEST):
1351 Use fail_unless_equals_int(a, b) instead of
1352 fail_unless_equals (a == b) to get better output on failures.
1354 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
1356 * tests/check/gst/gsturi.c:
1357 Also check for the other file URI variant on win32.
1359 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
1361 * gst/gsturi.c: (gst_uri_get_location):
1362 If there's no hostname, we want to return 'c:/foo/bar.txt'
1363 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
1365 * tests/check/gst/gsturi.c:
1366 Unit test for the above and a few more things.
1368 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
1370 * docs/design/part-live-source.txt:
1371 Add docs on how live sources should timestamp.
1373 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
1374 Add some more debug info.
1375 For subclasses that are live and like to sync, add aditional startup
1376 latency to sync time and timestamps so that we timstamp according to the
1379 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
1382 Also do a g_type_class_ref() for the subbuffer type in
1385 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
1387 * docs/gst/gstreamer-sections.txt:
1388 * gst/gstpad.c: (gst_pad_peer_query):
1390 Add function to perform a query on the peer of a pad.
1391 API: gst_pad_peer_query()
1393 2007-09-11 Stefan Kost <ensonic@users.sf.net>
1395 * tests/check/gst/gstsystemclock.c:
1396 Cleanup the test a little (use gst-logging and not g_message). Improve
1397 test to check if a wait reached the target.
1399 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
1401 * docs/libs/gstreamer-libs-sections.txt:
1402 Add new API to docs and fix the build.
1404 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
1406 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1407 (gst_base_src_init), (gst_base_src_set_do_timestamp),
1408 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
1409 (gst_base_src_get_property), (gst_base_src_do_sync):
1410 * libs/gst/base/gstbasesrc.h:
1411 Add property to make the basesrc timestamp buffers based on the current
1413 API: GstBaseSrc::do-timestamp
1414 API: gst_base_src_set_do_timestamp()
1415 API: gst_base_src_get_do_timestamp()
1417 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
1419 * docs/random/release:
1420 Really make sure translations are up-to-date before
1421 a release (#465010).
1423 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
1425 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1426 Always destroy the timer, also in error cases.
1428 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
1430 * docs/manual/highlevel-xml.xml:
1431 Fix XML example code. Fixes #472714.
1433 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
1435 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1436 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
1437 (gst_base_sink_query):
1438 Protect eos and have_preroll with the OBJECT lock so we don't need to
1439 take the PREROLL lock when querying the latency. Fixes #473846.
1441 2007-09-05 Stefan Kost <ensonic@users.sf.net>
1444 Give some log-messages a category.
1446 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
1448 * gst/gststructure.c:
1449 (gst_structure_fixate_field_nearest_fraction):
1450 Fix fraction list fixation code. Take the fraction with the smallest
1451 difference with the target instead of the first one in the list.
1453 * tests/check/gst/gststructure.c: (GST_START_TEST),
1454 (gst_structure_suite):
1455 Added test to verify correct fraction list fixation behaviour.
1457 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
1459 * win32/common/libgstreamer.def:
1460 Export gst_bus_add_signal_watch too.
1462 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
1464 * docs/libs/gstreamer-libs-sections.txt:
1465 Add new methods to docs.
1467 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1468 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
1469 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
1470 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
1471 * libs/gst/base/gstbasesink.h:
1472 Add ts-offset property to fine-tune the synchronisation.
1473 API: GstBaseSink::ts-offset property
1474 API: gst_base_sink_set_ts_offset()
1475 API: gst_base_sink_get_ts_offset()
1477 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
1479 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1480 (gst_base_sink_init), (gst_base_sink_set_sync),
1481 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
1482 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
1483 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
1484 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
1485 (gst_base_sink_get_property), (gst_base_sink_change_state):
1486 * libs/gst/base/gstbasesink.h:
1487 Add async property to instruct the sink never to inform the parent about
1488 ASYNC state changes, update docs.
1489 Check argument with g_return_* for the public functions.
1490 API: GstBaseSink::async property
1491 API: gst_base_sink_set_async_enabled()
1492 API: gst_base_sink_is_async_enabled()
1494 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
1496 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
1499 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1500 (gst_base_src_default_query), (gst_base_src_wait),
1501 (gst_base_src_do_sync), (gst_base_src_change_state):
1502 Rearrange some code so that we can add support for measuring the
1505 2007-08-27 Stefan Kost <ensonic@users.sf.net>
1507 * docs/random/ensonic/dynlink.txt:
1508 More thoughs on this.
1510 * plugins/elements/gstcapsfilter.c:
1511 Add bugzilla ticket number to FIXME comment.
1513 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
1515 * docs/design/part-TODO.txt:
1516 * docs/design/part-block.txt:
1519 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
1522 Revert patch which uses $(gst_headers) instead of $^ because it
1525 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
1527 * tests/check/gst/gstbin.c: (GST_START_TEST):
1528 Fix leaks in the new unit test.
1530 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
1533 Don't use GST_INFO before the debug system is actually initialised
1534 (shouldn't do any harm, but won't print anything either, so we can
1535 just as well remove it).
1538 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
1539 compilers that don't support variadic macros (such as MSVC), should
1540 check for debug_level <= __gst_debug_min as well, since that's the
1541 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
1542 inline helper functions. Should improve performance a bit, but also
1543 makes sure uses of GST_INFO et.al are ignored if the debugging
1544 system isn't initialised yet (instead of printing an assertion
1547 2007-08-23 Stefan Kost <ensonic@users.sf.net>
1549 patch by: David Nečas <yeti@physics.muni.cz>
1552 Replace some non portable makefile constructs.
1554 2007-08-21 Stefan Kost <ensonic@users.sf.net>
1556 * common/gtk-doc-plugins.mak:
1557 Grrrrr. Don't remove the types file on make clean.
1559 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
1561 * tools/gst-launch.1.in:
1562 Add colorspace to example pipeline. Fixes #458274.
1564 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
1566 * docs/random/release:
1567 The release manager should run 'make download-po' before making a
1568 release to make sure translations are up-to-date.
1574 Add some new translations.
1576 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
1578 * tools/gst-launch.c: (event_loop), (main):
1579 Don´t try to do any state management when a live pipeline posts
1581 Also make the buffering string translatable.
1583 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
1585 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
1586 (bin_handle_async_start), (gst_bin_handle_message_func):
1588 When adding elements, insert messages into the bus of the newly added
1589 element and make sure the element is the source of the message. This
1590 allows the parent bin to intercept the message and do the
1591 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
1592 messages to the app (which is not allowed).
1595 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1596 Fix testsuite so that is does not work around messages that should not
1597 have been posted in the first place.
1599 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
1601 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
1602 (update_degree), (gst_bin_sort_iterator_next):
1603 Fix annoying bug in the sorted iterator where a sink that is not really
1604 a sink (when it has downstream links) screwed up the iterator.
1606 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
1607 Unit test to verify the fix.
1609 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
1612 Add some more docs for the messages.
1614 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1615 (gst_base_sink_query):
1616 Add some more debugging.
1618 * tools/gst-launch.c: (event_loop):
1619 When interrupting, don't try to set pipeline to PAUSED twice.
1621 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
1624 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
1625 (bin_handle_async_start), (gst_bin_handle_message_func):
1626 Move ASYNC_START message posting to where it belongs, similar to
1628 Don't post ASYNC_START when we are in error.
1629 Post ASYNC_START when we added an async element to a bin.
1631 2007-08-14 Julien MOUTTE <julien@moutte.net>
1633 * gst/gstindex.c: (gst_index_add_association): Fix index entry
1634 generation from vargs. Fixes #466595.
1636 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
1638 * gst/gstbin.c: (gst_bin_element_set_state):
1639 Always change the state of a NO_PREROLL element even if it has ASYNC
1640 elements inside (in case of a bin).
1642 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
1643 Unit test for this case.
1645 2007-08-13 Stefan Kost <ensonic@users.sf.net>
1647 * libs/gst/check/gstbufferstraw.c:
1648 * libs/gst/check/gstcheck.h:
1649 * libs/gst/controller/gstcontroller.c:
1650 * libs/gst/controller/gstcontrolsource.h:
1651 * libs/gst/controller/gstlfocontrolsource.h:
1652 * plugins/elements/gstcapsfilter.h:
1653 * plugins/elements/gstfdsink.h:
1654 * plugins/elements/gstfdsrc.h:
1655 Add more missing docs.
1657 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
1659 * gst/gststructure.c:
1660 Add Since tag to docs.
1662 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
1664 * docs/gst/gstreamer-sections.txt:
1665 * gst/gststructure.c: (gst_structure_get_uint):
1666 * gst/gststructure.h:
1667 Add function to get uint from a structure.
1668 API: gst_structure_get_uint()
1670 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
1672 * gst/gstcaps.c: (gst_caps_set_simple_valist),
1673 (gst_caps_intersect):
1674 Fix proper check for simple caps.
1676 2007-08-10 Stefan Kost <ensonic@users.sf.net>
1678 * docs/gst/Makefile.am:
1679 * docs/libs/Makefile.am:
1680 Remove cruft and do some cleanups.
1682 * docs/gst/gstreamer-docs.sgml:
1683 * docs/libs/gstreamer-libs-docs.sgml:
1684 Prepare for comming gtkdoc features (rebase against online docs).
1686 2007-08-10 Michael Smith <msmith@fluendo.com>
1688 * docs/gst/gstreamer-sections.txt:
1689 Add gst_registry_add_path to docs.
1691 2007-08-10 Michael Smith <msmith@fluendo.com>
1693 * gst/gstregistry.h:
1694 Add gst_registry_add_path, which was missing from this header.
1696 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
1698 * libs/gst/controller/gstlfocontrolsource.c:
1701 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
1703 * libs/gst/base/gstbasesink.c:
1704 Don't send an async_start message during downwards state change if
1705 target state is less than READY
1707 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
1709 translated by: Gabor Kelemen <kelemeng@gnome.hu>
1713 Added Hungarian translation.
1715 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
1722 Updated translations.
1724 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
1726 * libs/gst/controller/Makefile.am:
1727 Dist gstlfocontrolsourceprivate.h
1729 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
1731 * docs/libs/gstreamer-libs.types:
1732 Don't register the enum type gst_lfo_waveform_get_type() in the
1733 .types file - only GObject derived types belong.
1735 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
1737 Patch by: <arenevier at fdn dot fr>
1740 Remove comma from last element in enum to avoid compile errors when
1741 using -pendantic. Fixes #464366.
1743 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
1745 * docs/design/part-TODO.txt:
1746 Add some more TODO items
1748 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
1751 * gst/gstcaps.c: (gst_caps_intersect):
1752 Optimize trivial intersection case between identical caps pointers.
1754 * gst/gstelement.c: (gst_element_continue_state),
1755 (gst_element_set_state_func):
1757 Fix spelling and grammar mistakes.
1759 2007-08-05 Stefan Kost <ensonic@users.sf.net>
1763 Update POTFILES. Fixes #461599.
1765 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
1768 Fix confusing typo in debug output.
1770 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
1772 reviewed by: Stefan Kost <ensonic@users.sf.net>
1774 * libs/gst/controller/Makefile.am:
1775 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
1776 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
1777 (gst_lfo_control_source_new),
1778 (gst_lfo_control_source_set_waveform),
1779 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
1780 (gst_lfo_control_source_finalize),
1781 (gst_lfo_control_source_dispose),
1782 (gst_lfo_control_source_set_property),
1783 (gst_lfo_control_source_get_property),
1784 (gst_lfo_control_source_class_init):
1785 * libs/gst/controller/gstlfocontrolsource.h:
1786 * libs/gst/controller/gstlfocontrolsourceprivate.h:
1787 API: Add GstLFOControlSource, a control source that gives values
1788 for specific timestamps based on several periodic waveforms.
1791 * tests/check/libs/controller.c: (GST_START_TEST),
1792 (gst_controller_suite):
1793 * docs/libs/gstreamer-libs-docs.sgml:
1794 * docs/libs/gstreamer-libs-sections.txt:
1795 * docs/libs/gstreamer-libs.types:
1796 Add documentation and unit tests for GstLFOControlSource.
1798 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
1803 === release 0.10.14 ===
1805 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
1808 releasing 0.10.14, "Breathing Vacuum"
1810 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
1812 * gst/gstelement.c: (gst_element_class_set_details_simple):
1814 Make strings passed to gst_element_class_set_details_simple()
1815 constant, as they should be (#462752).
1817 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
1819 * gst/gstbin.c: (gst_bin_change_state_func),
1820 (bin_handle_async_done), (gst_bin_handle_message_func):
1821 Don't forget about the fact that some element went ASYNC even after a
1822 resync. This makes us post the ASYNC_DONE message correctly.
1825 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
1827 * gst/gstregistry.c: (gst_registry_add_feature):
1828 When replacing an existing feature in the registry, make sure to
1829 continue holding a reference until we've replaced the name string
1830 within our feature hash table. Make sure to use g_hash_table_replace
1831 instead of g_hash_table_insert to ensure the new name string is used
1832 as a key instead of the old one that we're about to free.
1835 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
1837 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
1838 (gst_plugin_feature_set_name):
1839 Revert patch from #459466 until after the release and we can work
1840 out exactly what the problem is (if any).
1842 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
1844 * docs/gst/gstreamer-sections.txt:
1847 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
1849 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
1851 * docs/libs/Makefile.am:
1852 Include our build-prefix libs and includes before the generic ones to
1853 avoid linking against the installed libs when we want the build-tree
1856 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
1858 Patch by: Steve Fink <sphink gmail com>
1860 * docs/pwg/building-testapp.xml:
1861 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
1862 if people try to build or install the example from the plugin
1863 template against a GStreamer from package using the configure
1866 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
1868 Patch by: Steve Fink <sphink gmail com>
1870 * tools/gst-inspect.1.in:
1871 Document --print-all and --print-plugin-auto-install-info command
1872 line options in man page.
1874 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
1876 * docs/gst/gstreamer-sections.txt:
1877 Add docs for new api function.
1879 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
1881 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
1882 * gst/gstelementfactory.h:
1883 API: gst_element_factory_has_interface()
1884 Added method to check if an element factory implements a named
1887 2007-07-25 Stefan Kost <ensonic@users.sf.net>
1890 * docs/gst/gstreamer.types.in:
1891 Another conditional doc check.
1894 * gst/gstparamspecs.h:
1895 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1900 2007-07-24 Stefan Kost <ensonic@users.sf.net>
1902 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
1903 (gst_registry_binary_load_feature),
1904 (gst_registry_binary_load_plugin),
1905 (gst_registry_binary_read_cache):
1906 Print error just once and with additional info.
1908 2007-07-24 Stefan Kost <ensonic@users.sf.net>
1910 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
1911 (helper_find_suggest), (helper_find_get_length),
1912 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
1913 (gst_type_find_helper_for_buffer):
1914 Cleanup the typefindhelper code and add private doc comments.
1916 2007-07-24 Edward Hervey <bilboed@bilboed.com>
1918 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
1919 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
1920 Fix capsfilter for cases where the caps set on capsfilter will provide
1921 additional information.
1924 2007-07-24 Stefan Kost <ensonic@users.sf.net>
1926 * gst/gsttypefindfactory.c:
1927 Fix docs that recommened wrong function to use.
1929 2007-07-23 Stefan Kost <ensonic@users.sf.net>
1931 * tools/gst-inspect.c: (print_plugin_features):
1932 Also give media-type for typefinders in element output.
1934 2007-07-23 Stefan Kost <ensonic@users.sf.net>
1936 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
1937 (gst_registry_remove_features_for_plugin_unlocked),
1938 (gst_registry_add_feature), (gst_registry_remove_feature),
1939 (gst_registry_lookup_feature_locked):
1940 * gst/gstregistry.h:
1941 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
1944 2007-07-23 Stefan Kost <ensonic@users.sf.net>
1946 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
1947 (gst_plugin_feature_set_name):
1948 Avoid double memory usage for pluginfeature names. Fixes #459466.
1950 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
1953 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
1954 driving the pipeline may need to explicitly check for NOT_LINKED as
1955 well, since IS_FATAL doesn't cover that.
1957 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
1959 * docs/pwg/advanced-types.xml:
1960 Fix typo and duplicate entry in video formats list.
1962 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
1964 * libs/gst/controller/gstinterpolation.c:
1965 Also round to the nearest int when using cubic interpolation.
1967 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
1969 * libs/gst/controller/gstinterpolation.c:
1970 When linearly interpolating integer types, round to the nearest int
1971 by adding 0.5. Don't do it for float/double types.
1972 Fixes the failing controller test on my machine, which is somehow
1973 rounding differently than on the buildbots.
1975 2007-07-20 Stefan Kost <ensonic@users.sf.net>
1977 * tools/gst-plot-timeline.py:
1978 Better log parsing (categories can have -). Adjust text vs. lines, so
1979 that they span the same y-range.
1981 2007-07-20 Stefan Kost <ensonic@users.sf.net>
1983 * docs/random/ensonic/audiobaseclasses.txt:
1984 * docs/random/ensonic/dynlink.txt:
1985 * docs/random/ensonic/profiling.txt:
1988 * docs/random/moving-plugins:
1989 Add note to use g_assert type macros.
1991 2007-07-20 Stefan Kost <ensonic@users.sf.net>
1994 * libs/gst/check/Makefile.am:
1995 Add libm check as we use in for plugins.
1997 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
1999 * gst/gstbin.c: (gst_bin_continue_func):
2000 Check that the state_cookie hasn't changed since the continue_func
2001 was scheduled. Avoids problems where the state changes back to
2002 something it shouldn't be because it was changed in the meantime.
2004 2007-07-17 Stefan Kost <ensonic@users.sf.net>
2006 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
2007 (gst_registry_binary_save_string),
2008 (gst_registry_binary_save_pad_template),
2009 (gst_registry_binary_save_feature),
2010 (gst_registry_binary_save_plugin),
2011 (gst_registry_binary_load_feature),
2012 (gst_registry_binary_load_plugin),
2013 (gst_registry_binary_read_cache):
2014 Fix memory leak. Be less verbose in the log.
2016 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
2018 * tests/check/elements/.cvsignore:
2019 Add file to cvsignore as commanded.
2021 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
2023 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
2024 (mq_dummypad_event), (run_output_order_test):
2025 Use a GStaticMutex to protect all cases where libcheck
2026 fail_if/fail_unless macros might be called from multiple threads
2027 simultaneously to avoid errors like:
2028 "check_pack.c:107: :-1081725400:Bad message type arg"
2030 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
2032 * tests/check/pipelines/stress.c: (GST_START_TEST):
2033 Make sure we set the pipeline back to the NULL state before
2034 dropping our final reference.
2036 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
2038 * tests/check/elements/tee.c: (GST_START_TEST):
2039 Make the tee stress-test a little less stressful so it doesn't just
2040 time out on slow-machines, and remove a small race when it's starting
2041 up by adding a get_state() call.
2043 2007-07-16 Stefan Kost <ensonic@users.sf.net>
2046 Avoid reading registry twice on startup. Fixes #457322.
2048 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
2050 * pkgconfig/gstreamer-check-uninstalled.pc.in:
2051 * pkgconfig/gstreamer-check.pc.in:
2052 Substitute the CFLAGS for libcheck into our .pc file too so that
2053 dependent modules will pick it up properly if libcheck is installed
2054 into some other prefix.
2056 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
2059 Revert the pkg-config check for libcheck, since it pulls in the
2060 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
2061 a proper solution, either from the check project, or something else.
2063 2007-07-12 Stefan Kost <ensonic@users.sf.net>
2066 Use pkg-config to locate check.
2068 2007-07-10 Stefan Kost <ensonic@users.sf.net>
2075 Add deprecation guards.
2077 * libs/gst/base/gstcollectpads.h:
2078 Don't document object (this is implicitly private).
2080 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
2082 * gst/gststructure.c: (gst_structure_parse_value):
2083 When deserialising foo=bar without a type cast, check if it's a
2084 boolean before falling back to a string type, otherwise things like
2085 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
2086 because the filtercaps end up having a signed=(string)true field,
2087 which causes problems later when intersection caps.
2089 * tests/check/gst/gststructure.c: (GST_START_TEST):
2090 Add a unit test for this.
2092 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
2094 Reviewed by: Stefan Kost <ensonic@users.sf.net>
2096 * libs/gst/controller/Makefile.am:
2097 * libs/gst/controller/gstcontroller.c:
2098 (gst_controlled_property_add_interpolation_control_source),
2099 (gst_controlled_property_new), (gst_controlled_property_free),
2100 (gst_controller_find_controlled_property),
2101 (gst_controller_new_valist), (gst_controller_new_list),
2102 (gst_controller_new), (gst_controller_remove_properties_valist),
2103 (gst_controller_remove_properties_list),
2104 (gst_controller_remove_properties),
2105 (gst_controller_set_property_disabled),
2106 (gst_controller_set_disabled), (gst_controller_set_control_source),
2107 (gst_controller_get_control_source), (gst_controller_get),
2108 (gst_controller_sync_values), (gst_controller_get_value_array),
2109 (_gst_controller_dispose), (gst_controller_get_type),
2110 (gst_controlled_property_set_interpolation_mode),
2111 (gst_controller_set), (gst_controller_set_from_list),
2112 (gst_controller_unset), (gst_controller_unset_all),
2113 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
2114 * libs/gst/controller/gstcontroller.h:
2115 * libs/gst/controller/gstcontrollerprivate.h:
2116 * libs/gst/controller/gstcontrolsource.c:
2117 (gst_control_source_class_init), (gst_control_source_init),
2118 (gst_control_source_get_value),
2119 (gst_control_source_get_value_array), (gst_control_source_bind):
2120 * libs/gst/controller/gstcontrolsource.h:
2121 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
2122 (gst_object_get_control_source):
2123 * libs/gst/controller/gstinterpolation.c:
2124 (gst_interpolation_control_source_find_control_point_node),
2125 (gst_interpolation_control_source_get_first_value),
2126 (_interpolate_none_get), (interpolate_none_get),
2127 (interpolate_none_get_boolean_value_array),
2128 (interpolate_none_get_enum_value_array),
2129 (interpolate_none_get_string_value_array),
2130 (_interpolate_trigger_get), (interpolate_trigger_get),
2131 (interpolate_trigger_get_boolean_value_array),
2132 (interpolate_trigger_get_enum_value_array),
2133 (interpolate_trigger_get_string_value_array):
2134 * libs/gst/controller/gstinterpolationcontrolsource.c:
2135 (gst_control_point_free), (gst_interpolation_control_source_reset),
2136 (gst_interpolation_control_source_new),
2137 (gst_interpolation_control_source_set_interpolation_mode),
2138 (gst_interpolation_control_source_bind),
2139 (gst_control_point_compare), (gst_control_point_find),
2140 (gst_interpolation_control_source_set_internal),
2141 (gst_interpolation_control_source_set),
2142 (gst_interpolation_control_source_set_from_list),
2143 (gst_interpolation_control_source_unset),
2144 (gst_interpolation_control_source_unset_all),
2145 (gst_interpolation_control_source_get_all),
2146 (gst_interpolation_control_source_get_count),
2147 (gst_interpolation_control_source_init),
2148 (gst_interpolation_control_source_finalize),
2149 (gst_interpolation_control_source_dispose),
2150 (gst_interpolation_control_source_class_init):
2151 * libs/gst/controller/gstinterpolationcontrolsource.h:
2152 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
2153 API: Refactor GstController into the core controller which can take
2154 a GstControlSource for providing actual values for timestamps.
2155 Implement a interpolation control source and use this for backward
2156 compatibility, deprecate a bunch of functions that are now handled
2157 by GstControlSource or GstInterpolationControlSource.
2158 Make it possible to disable the controller completely or only for
2159 specific properties. Fixes #450711.
2160 * docs/libs/gstreamer-libs-docs.sgml:
2161 * docs/libs/gstreamer-libs-sections.txt:
2162 * docs/libs/gstreamer-libs.types:
2163 Add new functions and classes to the docs.
2164 * tests/check/libs/controller.c: (GST_START_TEST),
2165 (gst_controller_suite):
2166 * tests/examples/controller/audio-example.c: (main):
2167 Port unit test and example to the new API and add some new
2170 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
2172 Patch by: Mark Nauwelaerts <manauw at skynet be>
2174 * plugins/elements/gstmultiqueue.c:
2175 (gst_multi_queue_get_internal_links), (apply_buffer),
2176 (single_queue_overrun_cb), (gst_single_queue_new):
2177 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
2178 the pipeline layout can be tracked correctly. Fixes #453732.
2180 2007-07-05 Stefan Kost <ensonic@users.sf.net>
2182 * docs/gst/Makefile.am:
2183 * docs/libs/Makefile.am:
2184 * docs/plugins/Makefile.am:
2185 Simplify --extra-dir as gtkdoc scans recursively.
2187 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
2189 * tools/gst-launch.c: (main):
2190 When we got an error, there is no point in waiting for preroll when
2193 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
2195 * plugins/elements/gsttee.c: (gst_tee_base_init),
2196 (gst_tee_request_new_pad), (gst_tee_release_pad),
2197 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
2198 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
2200 Be a lot smarter when deciding what srcpad to use for proxying
2201 the buffer_alloc. Also handle pad added/removed when doing so.
2203 Keep track of what pads we already pushed on in case we have pads
2204 added/removed while pushing. Fixes #374639
2206 * tests/check/Makefile.am:
2207 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
2209 Added unit test for pad resync.
2211 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
2215 Updated translations.
2217 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
2219 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
2223 Added new Finnish translation.
2225 2007-06-28 Wim Taymans <wim@fluendo.com>
2227 * plugins/elements/gstmultiqueue.c: (apply_buffer),
2228 (single_queue_overrun_cb):
2229 When figuring out when a queue is filled, use our internal time estimate
2230 based on segments, just like check_full does.
2232 2007-06-27 Stefan Kost <ensonic@users.sf.net>
2234 * gst/gstminiobject.c: (gst_mini_object_get_type):
2235 Remove 3 do-nothing methods.
2237 2007-06-27 Wim Taymans <wim@fluendo.com>
2239 Patch by: Tim Angus <tim at ngus dot net>
2241 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
2242 (gst_capsfilter_set_property):
2243 Take a reference instead of a copy when setting "caps".
2244 Fix documentation to clarify this behaviour. Fixes #449414.
2246 2007-06-27 Stefan Kost <ensonic@users.sf.net>
2248 * gst/gstindexfactory.c: (gst_index_factory_get_type):
2249 * gst/gstplugin.c: (gst_plugin_init):
2250 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
2251 * gst/gstquery.c: (gst_query_get_type):
2252 * gst/gstregistry.c: (gst_registry_init):
2253 * gst/gsturi.c: (gst_uri_handler_base_init):
2254 Remove empty instance_init() functions to save relocs and lessen the
2255 noise. Remove some of the function prototypes that are doubled by
2258 2007-06-27 Wim Taymans <wim@fluendo.com>
2260 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
2262 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
2263 Add peer and direction in the XML serialisation of ghostpads.
2266 2007-06-26 Stefan Kost <ensonic@users.sf.net>
2269 Preserve useful information, thanks Tim.
2271 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
2273 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
2274 (gst_single_queue_flush), (apply_segment), (apply_buffer),
2275 (gst_single_queue_push_one), (gst_multi_queue_loop),
2276 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2277 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
2278 (compute_high_id), (gst_single_queue_new):
2279 * plugins/elements/gstmultiqueue.h:
2280 Take the multiqueue lock when updating the fill level so we don't get
2283 After applying a buffer or event on the src pad segment, make sure to
2284 call gst_data_queue_limits_changed() to get the data queue to unblock
2285 and check the filled state again.
2287 Rework the not-linked pad handling so the logic is that not-linked
2288 pads can push as fast as they like, but only so they never get
2289 ahead of any linked pads.
2291 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
2292 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
2293 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
2295 Add a test to check that not-linked pads always stay behind
2300 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
2302 * docs/random/release:
2303 Some updates to the release procedure.
2305 2007-06-26 Stefan Kost <ensonic@users.sf.net>
2307 * gst/gstelementfactory.c: (__gst_element_details_clear):
2308 Microoptimization that saves stunning 80 bytes.
2310 2007-06-25 Stefan Kost <ensonic@users.sf.net>
2312 * docs/plugins/gstreamer-plugins.args:
2313 * docs/plugins/inspect/plugin-coreelements.xml:
2314 * docs/plugins/inspect/plugin-coreindexers.xml:
2315 Update docs with caps info.
2317 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
2320 Updated Italian translation.
2322 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
2326 Update Vietnamese translations.
2328 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
2330 * libs/gst/base/gstbasesink.c:
2331 Remove unused signal enum.
2333 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
2335 * docs/gst/gstreamer-sections.txt:
2337 * gst/gstutils.c: (gst_type_register_static_full):
2338 Beef up and include the docs for gst_type_register_static_full and
2339 gst_element_class_set_details_simple and add the API keyword
2342 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
2344 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
2345 (update_time_level), (gst_single_queue_push_one),
2346 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
2347 (single_queue_overrun_cb), (single_queue_underrun_cb),
2348 (single_queue_check_full):
2349 Fix setting max-* properties after adding queues.
2350 Use IS_FILLED for checking visible items.
2351 Signal overrun if multiple queues overrun.
2352 Add extra debug output.
2353 Patch by: Wim Taymans <wim@fluendo.com>
2355 2007-06-21 Stefan Kost <ensonic@users.sf.net>
2357 * gst/gstelement.c: (gst_element_class_set_details_simple):
2359 * gst/gstutils.c: (gst_type_register_static_full):
2361 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
2362 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
2363 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
2364 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
2365 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
2366 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
2367 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
2368 * plugins/elements/gstidentity.c: (gst_identity_base_init):
2369 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
2370 * plugins/elements/gstqueue.c: (gst_queue_base_init),
2371 (apply_buffer), (gst_queue_chain):
2372 * plugins/elements/gsttee.c: (gst_tee_base_init):
2373 * plugins/elements/gsttypefindelement.c:
2374 (gst_type_find_element_base_init),
2375 (gst_type_find_element_class_init):
2376 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
2377 API: add gst_type_register_static_full
2378 API: add gst_element_class_set_details_simple
2380 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
2382 * docs/pwg/advanced-types.xml:
2383 Fix typo in iana.org URI.
2385 2007-06-19 Andy Wingo <wingo@pobox.com>
2387 * tests/check/pipelines/simple-launch-lines.c
2388 (test_state_change_returns): Enable pull-mode tests now that
2389 basesink has been fixed.
2391 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
2392 Changed from gst_base_sink_is_prerolled, reversing the sense of
2393 the return value. Returns FALSE also if the sink is in pull mode,
2394 in which case it needs no preroll.
2395 (gst_base_sink_query, gst_base_sink_change_state): Update for
2396 needs_preroll change.
2397 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
2398 chaining up, in which we return SUCCESS directly if we activated
2399 in pull mode instead of ASYNC. Involves countering an async_start
2400 message sent before chaining up; not sure if this is correct, in
2401 an ideal world we only send async-start when activating in push
2404 * tests/check/pipelines/simple-launch-lines.c
2405 (test_state_change_returns): New test, partially disabled until
2408 2007-06-19 Wim Taymans <wim@fluendo.com>
2410 * plugins/elements/gstmultiqueue.c: (apply_buffer),
2411 (gst_multi_queue_sink_event):
2414 2007-06-19 Wim Taymans <wim@fluendo.com>
2416 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
2417 (gst_bin_change_state_func), (bin_push_state_continue),
2418 (bin_handle_async_start), (bin_handle_async_done),
2419 (gst_bin_handle_message_func):
2420 Move the common code for posting state-change messages into
2422 Broadcast the state signal after we posted the messages.
2423 Mark the bin as busy when it's doing a state-change.
2424 Make sure async-start/done messages don't interfere with the bin's
2425 state when it's busy.
2426 After the state change, let the bin check which elements completed the
2427 state change while it was busy so that it can update its state.
2429 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
2431 * docs/random/release:
2432 Add a note about updating the doap file to the release checklist
2434 2007-06-18 Wim Taymans <wim@fluendo.com>
2436 * plugins/elements/gstmultiqueue.c: (apply_buffer),
2437 (gst_single_queue_push_one), (gst_multi_queue_chain),
2438 (gst_multi_queue_sink_event):
2439 Make sure we don't reference the buffer/event after we have given away
2440 ownership in the queue.
2442 2007-06-18 Wim Taymans <wim@fluendo.com>
2444 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
2445 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
2446 Update queue state _after_ adding the item in the queue because else we
2447 could end up being full without the element added yet.
2449 2007-06-18 Wim Taymans <wim@fluendo.com>
2451 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
2452 (gst_bin_remove_func), (gst_bin_get_state_func),
2453 (gst_bin_element_set_state), (gst_bin_continue_func),
2454 (bin_push_state_continue), (bin_handle_async_start),
2455 (bin_handle_async_done), (gst_bin_handle_message_func):
2457 Immediatly commit the toplevel bin state when receiving an async-done
2458 message. This enables us to avoid spawning a thread to commit the state
2459 in some common cases and it also avoids some races.
2460 Avoid spawning a state thread when adding/removing async elements to a
2461 toplevel bin. Instead we immediatly update the bin state.
2462 Get rid of iterating all the children when getting the state in the bin
2463 because it is now always up-to-date.
2464 Fix bug where locked elements would always return _SUCCESS even it they
2465 returned NO_PREROLL before being locked.
2466 Fix the order of the state_change, async-start/done messages that was
2467 sometimes incorrect.
2468 Mark the state_dirty field as deprecated, we don't need it anymore as we
2469 are always up-to-date.
2471 * gst/gstelement.c: (gst_element_get_state_func),
2472 (gst_element_continue_state):
2473 Small debug inprovements.
2474 Return the previous element state return when nothing is pending instead
2475 of blindly returning SUCCESS.
2477 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
2479 Add a whole bunch of new testcases.
2481 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
2485 Update translations.
2487 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
2490 Fix typo in the docs.
2492 2007-06-15 Wim Taymans <wim@fluendo.com>
2494 * docs/libs/gstreamer-libs-sections.txt:
2495 Add docs for new methods.
2497 2007-06-15 Wim Taymans <wim@fluendo.com>
2499 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
2500 (gst_multi_queue_item_new):
2501 Don't use GSlice because we don't depend on >= 2.10 yet.
2503 2007-06-15 Wim Taymans <wim@fluendo.com>
2505 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
2506 (update_time_level), (apply_segment), (apply_buffer),
2507 (gst_single_queue_push_one), (gst_multi_queue_item_new),
2508 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
2509 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
2510 (single_queue_underrun_cb), (single_queue_check_full):
2511 Remove debug printf.
2513 2007-06-15 Wim Taymans <wim@fluendo.com>
2515 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
2516 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
2517 (gst_data_queue_set_flushing), (gst_data_queue_push),
2518 (gst_data_queue_pop), (gst_data_queue_drop_head),
2519 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
2520 * libs/gst/base/gstdataqueue.h:
2522 Added methods to get the current levels and to inform the queue that the
2523 'full' limits changed.
2525 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
2526 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
2527 (gst_single_queue_flush), (update_time_level), (apply_segment),
2528 (apply_buffer), (gst_single_queue_push_one),
2529 (gst_multi_queue_item_steal_object),
2530 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
2531 (gst_multi_queue_loop), (gst_multi_queue_chain),
2532 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2533 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
2534 (gst_multi_queue_src_query), (single_queue_overrun_cb),
2535 (single_queue_underrun_cb), (single_queue_check_full),
2536 (gst_single_queue_new):
2537 Keep track of time in the queue by measuring the difference between
2538 running_time on input and output. This gives more accurate results and
2539 can compensate for segments correctly.
2540 Make a queue by default only 5 buffers deep. We will now increase the
2541 buffer size depending on the filledness of the other queues.
2542 Factor out commong flush code.
2543 Make sure we don't add additional refcounts to buffers when we can avoid
2545 Propagate GstFlowReturn differently.
2546 Use GSlice for intermediate GstMultiQueueItems.
2548 Resize queues on over and underruns based on filled level of other
2550 When checking if the queue is filled, prefer to measure in time if we
2551 can and fall back to bytes when no time is known.
2553 * plugins/elements/gstqueue.c:
2556 2007-06-15 Wim Taymans <wim@fluendo.com>
2558 * libs/gst/base/gstbasetransform.c:
2559 (gst_base_transform_sink_event):
2560 Work around the brokenness of the event vmethod in basetransform. Prefer
2561 to return TRUE when the subclass returned FALSE (meaning don't forward
2564 * libs/gst/base/gstbasetransform.h:
2567 2007-06-15 Wim Taymans <wim@fluendo.com>
2569 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
2570 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
2571 (gst_base_src_default_query), (gst_base_src_get_range),
2572 (gst_base_src_start):
2573 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
2576 2007-06-15 Stefan Kost <ensonic@users.sf.net>
2578 * docs/pwg/advanced-types.xml:
2579 Added more formats to caps table.
2581 2007-06-15 Stefan Kost <ensonic@users.sf.net>
2583 * tools/gst-launch.c: (main):
2584 Remove crufy code. GOption does not need this workaround.
2586 2007-06-14 Stefan Kost <ensonic@users.sf.net>
2588 * libs/gst/controller/gstcontroller.c:
2589 (gst_controlled_property_set_interpolation_mode):
2590 Fix wrong getter for enums in controller.
2592 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
2594 * libs/gst/check/gstcheck.c: (gst_check_init):
2595 Intercept criticals and warnings in the Gst-Phonon log domain, so
2596 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
2599 2007-06-14 Edward Hervey <edward@fluendo.com>
2601 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
2602 Since this file doesn't include "gst.h" it will not go through the
2603 macros that disable GST_LOG if debugging was disabled.
2605 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
2607 * libs/gst/check/Makefile.am:
2608 * libs/gst/check/gstcheck.h:
2609 * pkgconfig/gstreamer-check-uninstalled.pc.in:
2610 * pkgconfig/gstreamer-check.pc.in:
2611 Ugly 'fix' for the controller unit test on the p5 bot: in
2612 fail_unless_equals_float() check whether the values are 'almost
2613 equal' by allowing a small absolute error, which should be good
2614 enough for our use cases (normal numbers and values close to 0).
2615 Proper fixage left to floating point arithmetic aficionados.
2617 2007-06-14 Stefan Kost <ensonic@users.sf.net>
2619 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
2620 (gst_base_sink_render_object), (gst_base_sink_get_position):
2621 Add two breaks thats where missing.
2623 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
2625 * docs/libs/gstreamer-libs-sections.txt:
2626 * libs/gst/check/gstcheck.h:
2627 API: add fail_unless_equals_float() and assert_equals_float().
2628 Add documentation for some of the macros.
2630 * tests/check/libs/controller.c: (GST_START_TEST):
2631 Use newly-added asserts.
2633 2007-06-14 Stefan Kost <ensonic@users.sf.net>
2635 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
2636 Show the caps change in the log to help spotting the case of not
2637 exactly matching caps.
2639 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
2641 * docs/pwg/building-boiler.xml:
2642 Fix typos, spotted by Thijs Vermeir (#447190).
2644 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
2646 * docs/plugins/tmpl/.cvsignore:
2647 Ignore file to keep the buildbots happy
2649 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
2651 * docs/plugins/Makefile.am:
2652 * docs/plugins/gstreamer-plugins-docs.sgml:
2653 * docs/plugins/gstreamer-plugins-sections.txt:
2654 Pull fdsink into the docs too.
2656 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
2658 * libs/gst/controller/gstinterpolation.c:
2659 Actually use the new functions with min/max checks for the trigger and
2660 none interpolation modes for get() and get_value_array() instead of
2663 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
2665 * libs/gst/controller/gstcontroller.c:
2666 (gst_controlled_property_free):
2667 Unset the minimum and maximum GValues when freeing the corresponding
2668 GstControllerProperty struct.
2670 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
2672 * libs/gst/controller/gstcontroller.c:
2673 (gst_controlled_property_new):
2674 * libs/gst/controller/gstcontrollerprivate.h:
2675 * libs/gst/controller/gstinterpolation.c:
2676 (gst_controlled_property_find_control_point_node),
2677 (interpolate_none_get), (interpolate_none_get_enum_value_array),
2678 (interpolate_none_get_string_value_array),
2679 (interpolate_trigger_get),
2680 (interpolate_trigger_get_enum_value_array),
2681 (interpolate_trigger_get_string_value_array):
2682 Protect against values larger or smaller than the minimum or maximum
2683 allowed value for the property when using values that can be compared.
2685 Optimize trigger interpolator a bit by taking the last requested value
2686 into account instead of always looping through the complete list.
2688 Fix coding style a bit, everywhere else we use "return foo" instead
2691 * tests/check/libs/controller.c: (GST_START_TEST),
2692 (gst_controller_suite):
2693 Add unit test for the protection against too large or too small
2696 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
2698 * docs/random/slomo/controller.txt:
2699 Add some thoughts about the future of the controller.
2701 2007-06-08 Wim Taymans <wim@fluendo.com>
2703 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
2704 Don't overflow in retimestamping code.
2706 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
2708 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
2709 Use gst_util_guint64_to_gdouble for conversions.
2710 * win32/common/libgstreamer.def:
2711 Add new exported functions.
2713 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
2716 Small docs addition.
2718 2007-06-07 Stefan Kost <ensonic@users.sf.net>
2721 Remove that test line again.
2723 2007-06-07 Stefan Kost <ensonic@users.sf.net>
2726 Test commit mail sending.
2728 2007-06-07 Stefan Kost <ensonic@users.sf.net>
2731 Fix typo and test commit mail sending.
2733 2007-06-07 Stefan Kost <ensonic@users.sf.net>
2735 * tests/examples/controller/audio-example.c:
2736 Improve comment and test commit mail sending.
2738 2007-06-07 Wim Taymans <wim@fluendo.com>
2740 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
2741 (gst_bin_remove_func), (gst_bin_element_set_state),
2742 (bin_handle_async_start), (bin_handle_async_done),
2743 (gst_bin_handle_message_func):
2744 Add helper function to find messages.
2745 Generate the async-done messages together with the state change
2747 Small cleanups in handling toplevel bins.
2749 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
2751 * libs/gst/base/gstdataqueue.c:
2752 * libs/gst/base/gstdataqueue.h:
2753 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
2754 (gst_multi_queue_item_new), (gst_multi_queue_chain),
2755 (gst_multi_queue_sink_event):
2756 * tests/check/elements/multiqueue.c: (multiqueue_suite):
2757 Fix multiqueue leaking buffers and events when downstream or the
2758 queue are flushing. Make refcounting assumptions explicit and
2759 document them (shouldn't break existing code that uses it other than
2760 maybe leak miniobjects, but that already happens anyway). Add unit
2761 test for the most common flushing case. Fixes #423700.
2763 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
2765 * libs/gst/controller/gstcontroller.c:
2766 Clarify docs: The get_all, get_value_array(s) functions
2767 don't modify the GObject properties.
2769 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
2771 * libs/gst/controller/gstcontroller.c:
2772 (gst_controlled_property_set_interpolation_mode),
2773 (gst_controlled_property_prepend_default),
2774 (gst_controlled_property_new), (gst_controller_set_unlocked),
2775 (gst_controller_set), (gst_controller_set_from_list),
2776 (gst_controller_unset), (gst_controller_unset_all):
2777 * libs/gst/controller/gstcontrollerprivate.h:
2778 * libs/gst/controller/gstinterpolation.c:
2779 Factor out the 'set' logic into gst_controller_set_unlocked for the
2780 gst_controller_set and gst_controller_set_from_list functions.
2782 To make life of the interpolators easier always add a control point
2783 at timestamp zero with the default value.
2785 In the linear interpolator make things more obvious by better variable
2788 Implement cubic interpolation mode (by using a natural cubic spline)
2789 and map the quadratic interpolation mode to this too (as quadratic
2790 doesn't make much sense, see discussion on the list).
2792 * tests/check/libs/controller.c: (GST_START_TEST),
2793 (gst_controller_suite):
2794 Add unit test for the cubic interpolation mode and check everywhere
2795 if the interpolation mode could be set as expected.
2797 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
2799 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
2800 Don't use GLib-2.10 functions, we still depend on
2801 GLib-how-old-is-it-again-2.8.
2803 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
2805 * docs/gst/gstreamer-sections.txt:
2809 * gst/gstparamspecs.c: (_gst_param_fraction_init),
2810 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
2811 (_gst_param_fraction_values_cmp),
2812 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
2813 * gst/gstparamspecs.h:
2815 * tests/check/Makefile.am:
2816 * tests/check/gst/.cvsignore:
2817 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
2818 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
2819 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
2820 (GST_START_TEST), (gst_param_spec_suite):
2821 API: add GstParamSpecFraction, so elements can have fraction
2822 properties without lots of painful string parsing (#444648).
2824 2007-06-05 Wim Taymans <wim@fluendo.com>
2826 * gst/gstobject.c: (gst_object_class_init):
2827 Fix signal signature.
2830 Add small clarification in the api docs.
2832 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
2833 States are protected with object lock.
2835 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
2838 I should probably be listed as an author by now.
2840 * docs/random/release:
2841 Update the release doc
2843 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
2846 Make docs for gst_value_compare() mention return enums that
2849 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
2854 === release 0.10.13 ===
2856 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
2859 releasing 0.10.13, "With or without you"
2861 2007-05-25 Wim Taymans <wim@fluendo.com>
2863 * gst/gstbin.c: (bin_handle_async_done):
2864 Make sure that the child bin stops after completing the async state
2865 change so that the parent can continue the state change to PLAYING.
2868 2007-05-25 Wim Taymans <wim@fluendo.com>
2870 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
2871 (unref_data), (gst_collect_pads_remove_pad),
2872 (gst_collect_pads_check_pads):
2873 Use additional refcounting to avoid crashes when dynamically adding and
2874 removing pads. Fixes #420206.
2876 2007-05-24 Wim Taymans <wim@fluendo.com>
2878 * tools/gst-launch.c: (event_loop):
2879 When buffering goes from a two digit to a single digit number, make sure
2880 to remove the old second digit by writing a blank over it.
2882 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
2884 * libs/gst/base/gstdataqueue.c:
2885 Eliminate tabs and trailing comma in enum list; fix some typos.
2887 2007-05-24 Wim Taymans <wim@fluendo.com>
2889 * tests/check/gst/gstbin.c: (GST_START_TEST):
2890 Allow refcount of 3 and 4 because some state thread might still be busy
2893 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
2895 * plugins/elements/Makefile.am:
2896 * plugins/elements/gstmultiqueue.h:
2897 * plugins/elements/gstqueue.h:
2898 These are not installed headers, no need for padding.
2900 2007-05-24 Wim Taymans <wim@fluendo.com>
2902 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
2903 (gst_bin_continue_func):
2904 Enable latency for next release.
2905 Restore STATE_LOCK around recalc_state that was left out during the
2906 rewrite and could result in racy behaviour when _get_state and
2907 recalc_state are run concurrently. See #440463.
2909 2007-05-23 Wim Taymans <wim@fluendo.com>
2911 * tests/check/gst/gstsystemclock.c: (store_callback),
2913 Improve test_async_order to also work when both timers are already
2914 expired when we get scheduled to check it.
2916 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
2918 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
2919 (gst_bin_set_property), (gst_bin_get_property),
2920 (gst_bin_remove_func), (gst_bin_handle_message_func):
2922 'private' is a c++ keyword, let's not use that in header files,
2923 otherwise c++ compilers will throw a tantrum.
2925 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
2927 * plugins/elements/gstelements.c:
2928 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
2929 (gst_file_sink_get_current_offset):
2930 * plugins/indexers/gstindexers.c: (plugin_init):
2931 Use #ifdef for HAVE_XYZ for consistency.
2933 * tests/check/Makefile.am:
2934 * tests/check/elements/.cvsignore:
2935 * tests/check/elements/filesink.c: (setup_filesink),
2936 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
2937 Add some unit tests for filesink.
2939 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
2941 Patch by: Mark Nauwelaerts <manauw at skynet be>
2943 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
2944 (gst_file_sink_query), (gst_file_sink_do_seek),
2945 (gst_file_sink_get_current_offset), (gst_file_sink_render):
2946 * plugins/elements/gstfilesink.h:
2947 Fix position reporting; rename data_written member to current_pos to
2948 reflect its real meaning (fixes #412648).
2950 2007-05-22 Edward Hervey <edward@fluendo.com>
2952 * docs/gst/gstreamer-sections.txt:
2953 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2954 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
2955 (gst_bin_remove_func), (gst_bin_handle_message_func):
2957 Add a property for bins that handle the state change of their childs.
2960 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2962 * libs/gst/controller/gstinterpolation.c:
2963 Use an array of the correct type when using _get_value_array with
2964 linear interpolation.
2966 2007-05-22 Stefan Kost <ensonic@users.sf.net>
2968 * gst/gstelement.c (gst_element_requires_clock,
2969 gst_element_provides_clock, gst_element_request_pad,
2970 gst_element_class_set_details, gst_element_class_set_details_simple,
2971 gst_element_default_send_event, gst_element_abort_state,
2972 gst_element_continue_state, gst_element_set_state,
2973 gst_element_set_state_func, iterator_activate_fold_with_resync):
2974 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
2975 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
2976 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
2977 gst_pad_get_range, gst_pad_pull_range):
2978 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
2979 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
2980 GstPadActivateModeFunction, GstPadChainFunction,
2981 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
2982 GstPadFixateCapsFunction, GstPadTemplate):
2983 * gst/gstpipeline.c (gst_pipeline_change_state,
2984 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
2985 gst_pipeline_set_clock, gst_pipeline_auto_clock,
2986 gst_pipeline_get_delay):
2987 Whitespace and docs fixes.
2989 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
2991 * libs/gst/controller/gstinterpolation.c:
2992 (interpolate_trigger_get_enum_value_array),
2993 (interpolate_trigger_get_string_value_array):
2994 Add support for retrieving value arrays when using the trigger
2997 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
2999 * libs/gst/controller/gstcontroller.c:
3000 (gst_controller_get_value_array):
3001 * libs/gst/controller/gstcontroller.h:
3002 Clarify the docs of gst_controller_get_value_array(): The array where
3003 the values should be written to must be allocated as there seems to be
3004 no way to get the size of a random GType. This doesn't change any
3005 behaviour. Also fix some typos all over the place and remove an unused,
3006 commented function that is not necessary as g_object_set() could be
3008 * tests/check/libs/controller.c: (GST_START_TEST),
3009 (gst_controller_suite):
3010 Add unit test for gst_controller_get_value_array().
3012 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
3014 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
3016 Disable part of the gst_buffer_try_new_and_alloc test, because
3017 it can happily succeed on 64-bit systems where there's more address
3020 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
3022 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
3023 Add unit test for the improved caps checking from bug #421543.
3025 2007-05-21 Wim Taymans <wim@fluendo.com>
3027 * docs/design/part-synchronisation.txt:
3030 * gst/gstbin.c: (gst_bin_query):
3031 * plugins/elements/gstqueue.c: (apply_segment):
3037 2007-05-21 Wim Taymans <wim@fluendo.com>
3039 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
3040 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
3041 (gst_pad_configure_src):
3042 Added simple version of improved caps checking. It was previously
3043 assumed that a setcaps function would check the validity of the caps but
3044 people prefer us to check caps against the template automatically.
3047 2007-05-21 Wim Taymans <wim@fluendo.com>
3049 * libs/gst/base/gstbasetransform.h:
3050 Fix macro for locking/unlocking the transform lock.
3052 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
3054 * docs/plugins/tmpl/.cvsignore:
3057 2007-05-18 Edward Hervey <edward@fluendo.com>
3059 * plugins/elements/gstqueue.c: (gst_queue_loop):
3060 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
3061 for the subtle art of warning a potentially blocking thread that it
3062 should check the source pad return value, and relay the information
3065 2007-05-18 Edward Hervey <edward@fluendo.com>
3067 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
3068 Release the queue lock !
3070 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
3072 * docs/libs/gstreamer-libs-sections.txt:
3073 Add the two new controller functions to the appropiate places.
3075 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
3077 reviewed by: Stefan Kost <ensonic@users.sf.net>
3079 * libs/gst/controller/gstcontroller.c:
3080 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
3081 (_gst_controller_get_property), (_gst_controller_set_property),
3082 (_gst_controller_init), (_gst_controller_class_init):
3083 * libs/gst/controller/gstcontroller.h:
3084 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
3085 (gst_object_get_control_rate), (gst_object_set_control_rate):
3086 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
3087 Add API that provides sync suggestion timestamps for elements that
3088 call gst_object_sync_values() from which those elements can subdivide
3089 their processing loop to get the best results for the controlled
3090 properties. For now it just suggests last_sync + control_rate as
3091 new timestamp but this will be improved in the future.
3093 While doing that change the control-rate property to a GstClockTime
3094 from guint and change it's meaning from samples to nanoseconds as
3095 the GstController doesn't know anything about sampling rate. Strictly
3096 speaking this breaks ABI but as the control-rate property didn't do
3097 anything in the past and as such couldn't be used this should be no
3100 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
3102 reviewed by: Stefan Kost <ensonic@users.sf.net>
3104 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
3105 (gst_controller_unset_all):
3106 * libs/gst/controller/gstcontrollerprivate.h:
3107 * libs/gst/controller/gstinterpolation.c:
3108 (gst_controlled_property_find_control_point_node):
3109 Save last synced value from the list to continue searching from there
3110 in future syncs. This speeds everything up a bit.
3112 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
3114 reviewed by: Stefan Kost <ensonic@users.sf.net>
3116 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
3117 (gst_control_point_find), (gst_controlled_property_new),
3118 (gst_control_point_free), (gst_controlled_property_free),
3119 (gst_controller_set), (gst_controller_set_from_list),
3120 (gst_controller_unset), (gst_controller_unset_all),
3121 (gst_controller_sync_values):
3122 * libs/gst/controller/gstcontroller.h:
3123 * libs/gst/controller/gstcontrollerprivate.h:
3124 * libs/gst/controller/gstinterpolation.c:
3125 (gst_controlled_property_find_control_point_node),
3126 (interpolate_none_get), (interpolate_trigger_get):
3127 Add a new private GstControlPoint struct which "inherits" from
3128 GstTimedValue to allow different interpolators to store internal
3129 values next to each control point. From the outside everything is
3130 still a GstControlPoint so we don't loose binary compatibility.
3131 Also fixup all the GValue handling to not leak GValues or list nodes.
3132 * tests/check/libs/controller.c: (GST_START_TEST):
3133 Free the list nodes and GValues in the controller_misc test.
3135 2007-05-17 Edward Hervey <edward@fluendo.com>
3140 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
3142 * gst/gstplugin.c: (gst_plugin_load_file):
3143 If we fail to load a plugin because of unresolved symbols or missing
3144 libraries and spew a warning to stderr, we may just as well mention
3145 which plugin it was that failed to load.
3147 2007-05-13 David Schleef <ds@schleef.org>
3149 * docs/Makefile.am: the gtk-doc makefile snippet correctly
3150 handles the case when ENABLE_GTK_DOC is false, and installs
3151 the prebuilt documentation. So gtk-doc subdirs are
3152 unconditionally enabled. Fixes: #349099.
3154 2007-05-13 David Schleef <ds@schleef.org>
3156 * gst/gstutils.h: Reword some documentation.
3158 2007-05-12 David Schleef <ds@schleef.org>
3160 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
3161 do anything with the passed "module" parameter, so remove it.
3162 Allows removal of additional vestigal code.
3164 2007-05-12 David Schleef <ds@schleef.org>
3167 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
3168 Switch to using g_stat() because it's more portable.
3170 2007-05-12 David Schleef <ds@schleef.org>
3173 Add GST_DISABLE_OPTION_PARSING, in order to disable option
3174 parsing for embedded systems.
3175 * gst/gstelementfactory.c:
3176 Allow gst_element_register() to be called with plugin==NULL.
3177 Did nobody notice that static elements were broken?
3179 2007-05-12 Wim Taymans <wim@fluendo.com>
3181 * tools/gst-launch.c: (event_loop):
3182 Give more interesting info when buffering starts and stops.
3183 Fix case where buffering starts but we fail to update the buffering flag
3184 because the target state is not PLAYING.
3186 2007-05-12 Wim Taymans <wim@fluendo.com>
3188 * plugins/elements/gstqueue.c: (gst_queue_init),
3189 (gst_queue_finalize), (update_time_level), (apply_segment),
3190 (apply_buffer), (gst_queue_locked_flush),
3191 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
3192 (gst_queue_handle_sink_event), (gst_queue_chain),
3193 (gst_queue_push_one), (gst_queue_loop):
3194 * plugins/elements/gstqueue.h:
3195 Refactor an cleanup queue a bit.
3196 Do better time level calculations that also work when the srcpad is not
3198 Remove some unneeded debug lines.
3200 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
3201 Added testcase for time level measurement.
3202 Try to make some stuff more racefree.
3204 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
3206 * gst/gsturi.c: (gst_element_make_from_uri):
3207 Don't leak plugin feature.
3209 * tests/check/Makefile.am:
3210 * tests/check/gst/.cvsignore:
3211 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
3212 Add brain-dead unit test.
3214 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
3216 Patch by: Jeroen Wouters <woutersj at gmail com>
3218 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
3219 Treat protocol strings in a case-insensitive way (#437563).
3221 2007-05-11 Michael Smith <msmith@fluendo.com>
3223 * gst/gstplugin.c: (gst_plugin_load_file):
3224 * gst/gstregistry.c: (gst_registry_scan_path_level):
3225 Don't print a g_warning for any failure to load a shared object.
3226 Instead, push this down into gstplugin.c, and warn _only_ if we
3227 failed to open the module (i.e. failure to link).
3228 Avoids warnings on normal, working, non-plugin .so files.
3230 2007-05-11 Stefan Kost <ensonic@users.sf.net>
3232 * gst/gstplugin.c (gst_plugin_load_file):
3233 * gst/gstregistry.c (GST_CAT_DEFAULT,
3234 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
3235 Print a g_warning if there was an error when loading a plugins during
3236 registry scan. The shuld help beginners starting with gst-plugin
3239 2007-05-10 Wim Taymans <wim@fluendo.com>
3241 * plugins/elements/gstqueue.c: (gst_queue_class_init),
3242 (update_time_level), (gst_queue_locked_flush),
3243 (gst_queue_handle_sink_event), (gst_queue_chain),
3244 (gst_queue_push_one), (gst_queue_loop):
3245 * plugins/elements/gstqueue.h:
3246 Be smarter when calculating the current amount of data in the queue by
3247 measuring the difference between start and end timestamps (in running
3248 time) inside the queue. Fixes #432876.
3249 API: GstQueue::pushing to notify elements that we are pushing data again
3250 since the running signal is rather broken for this purpose.
3252 2007-05-10 Stefan Kost <ensonic@users.sf.net>
3254 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
3255 gst_queue_base_init, gst_queue_init):
3258 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
3260 * win32/common/libgstreamer.def:
3261 Add new exported functions.
3262 * win32/vs6/grammar.dsp:
3263 Use grammar pre-generated files.
3265 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
3267 Based on patch by: Peter Kjellerstedt <pkj at axis com>
3270 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
3272 * gst/gstutils.c: (gst_parse_bin_from_description):
3274 Maintain API and ABI when --disable-parse is used. Now that
3275 we have an appropriate error code, we can just return NULL and the
3276 appropriate error when gst_parse_launch() is used despite it having
3277 been disabled (#342564).
3279 * tests/check/Makefile.am:
3280 * tests/check/pipelines/.cvsignore:
3281 * tests/check/pipelines/parse-disabled.c:
3282 Make sure these functions exist and return NULL plus a GError when
3283 --disable-parse is used.
3285 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
3287 * tests/benchmarks/complexity.c: (main):
3288 * tests/benchmarks/mass-elements.c: (main):
3289 Set a good example and don't leak messages.
3291 2007-05-06 Stefan Kost <ensonic@users.sf.net>
3293 * docs/gst/Makefile.am:
3294 * docs/libs/Makefile.am:
3295 Correct fixxrefs options.
3297 * docs/plugins/Makefile.am:
3298 * docs/plugins/gstreamer-plugins-docs.sgml:
3299 * docs/plugins/gstreamer-plugins-sections.txt:
3300 * plugins/elements/Makefile.am:
3301 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
3302 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
3303 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
3304 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
3305 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
3306 _GstCapsFilterClass, trans_class):
3307 * plugins/elements/gstelements.c (name, rank, type, _elements):
3308 * plugins/elements/gstidentity.c
3309 (gst_identity_check_imperfect_timestamp,
3310 gst_identity_check_imperfect_offset):
3311 Document capsfilter and add doc-blurb to identity.
3313 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
3315 * libs/gst/controller/gstcontroller.c:
3316 (gst_controlled_property_set_interpolation_mode):
3317 * libs/gst/controller/gstinterpolation.c:
3318 Don't crash if someone tries to set an interpolation mode that
3319 is invalid or that isn't supported yet. Fixes #422295.
3321 * tests/check/libs/controller.c: (GST_START_TEST),
3322 (gst_controller_suite):
3323 Add a test case for the above.
3325 2007-05-03 Edward Hervey <edward@fluendo.com>
3327 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
3328 Properly set the last_stop position on GstSegment. This will only happen
3329 if there is a buffer to push out.
3331 2007-05-03 Wim Taymans <wim@fluendo.com>
3333 * libs/gst/base/gstbasetransform.c:
3334 (gst_base_transform_buffer_alloc):
3335 always_in_place does not mean that the sink and source caps are the
3336 same! Make sure we don't blindly proxy the buffer_alloc in this case.
3338 2007-05-03 Wim Taymans <wim@fluendo.com>
3340 * docs/libs/gstreamer-libs-sections.txt:
3341 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
3342 (gst_base_src_default_query), (gst_base_src_get_range):
3343 * libs/gst/base/gstbasesrc.h:
3344 API: gst_base_src_query_latency(). Added method so that subclasses can
3345 easily get the latency values of the base source class.
3347 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
3349 * tools/gst-inspect.c (print_implementation_info):
3352 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
3354 * tools/Makefile.am:
3355 * tools/gst-launch.1.in:
3356 Don't create a customised man page based on the host architecture,
3357 describe the default registry path generically. That way the man
3358 page is the same for all architectures and packagers have one
3359 multilib issue less to deal with. Fixes #434926.
3361 2007-05-02 Wim Taymans <wim@fluendo.com>
3364 Fix documentation as spotted by rg on IRC.
3366 2007-04-29 Stefan Kost <ensonic@users.sf.net>
3369 Improve docs for gst_element_{link,unlink}.
3371 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
3373 * docs/design/part-events.txt:
3374 * docs/design/part-overview.txt:
3378 * libs/gst/base/gstbasesink.c:
3379 Typo fixes; minor docs addition.
3381 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
3383 * docs/gst/gstreamer-sections.txt:
3384 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
3385 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
3387 API: Add gst_uri_protocol_is_supported(), which checks if a sink
3388 or src that supports a given URI protocol exists.
3390 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
3392 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3393 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3394 Set the location to NULL if "file://" is set as URI. Otherwise
3395 some random previous URI would still be set if "file://" is
3396 set on an already used filesink/filesrc.
3398 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
3400 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3401 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3402 Special case the "file://" URI as as this is used by some
3403 applications to test with gst_element_make_from_uri if there's
3404 an element that supports the URI protocol.
3405 Also move the g_path_is_absolute() check for the location part
3406 of the URI to also check this for "file://localhost/bla" URIs.
3408 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
3410 * docs/gst/gstreamer-sections.txt:
3411 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
3413 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
3415 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
3417 2007-04-26 Stefan Kost <ensonic@users.sf.net>
3419 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
3420 (gst_registry_binary_load_pad_template),
3421 (gst_registry_binary_load_plugin),
3422 (gst_registry_binary_read_cache):
3423 * gst/gstregistrybinary.h:
3424 Implement no-mmap alternative for registry reading. Do code cleanups.
3425 Add more comments about avoiding strdups for all text data. Comments
3428 2007-04-25 Stefan Kost <ensonic@users.sf.net>
3430 * gst/gstregistrybinary.h (GstBinaryPluginElement,
3431 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
3432 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
3433 Comment structs and reformat to fix the build (that stuff should go
3434 into a priv. header).
3436 2007-04-25 Stefan Kost <ensonic@users.sf.net>
3438 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3439 (gst_registry_binary_load_feature):
3440 * gst/gstregistrybinary.h:
3441 Refactor so that we can implement multiple features. Add support for
3442 TypeFindFactory features.
3444 2007-04-24 Stefan Kost <ensonic@users.sf.net>
3446 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
3449 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
3451 2007-04-23 Stefan Kost <ensonic@users.sf.net>
3453 * gst/gstbin.c: (gst_bin_element_set_state),
3454 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
3455 (bin_handle_async_done), (gst_bin_handle_message_func):
3456 Fix build with --gst-disable-gst-debug
3458 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
3460 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
3461 Make sure streaming has finished before calling the ::stop() vfunc,
3462 since that vfunc might clear state which is being used in the
3463 streaming thread. This fixes a race that caused crashes in
3464 audioresample when shutting down a pipeline (#420106).
3466 2007-04-20 Stefan Kost <ensonic@users.sf.net>
3468 * docs/gst/gstreamer-sections.txt:
3469 That was one byte missing.
3471 2007-04-20 Stefan Kost <ensonic@users.sf.net>
3474 * docs/gst/gstreamer-sections.txt:
3476 * gst/gstconfig.h.in:
3477 * gst/gstobject.c: (gst_object_class_init),
3478 (gst_signal_object_class_init):
3480 2nd attempt to have a xml-less build as a joined effort of #413123
3483 2007-04-20 Stefan Kost <ensonic@users.sf.net>
3485 * docs/design/draft-tagreading.txt:
3486 Added open issues/thoughts to draft.
3488 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3490 * gst/parse/grammar.tab.pre.c:
3491 * gst/parse/grammar.tab.pre.h:
3492 * gst/parse/lex._gst_parse_yy.pre.c:
3493 Update the prebuild parser sources.
3495 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3497 * gst/parse/Makefile.am:
3498 And now fix the building of the flex sources. Now everything should
3501 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3503 * gst/parse/Makefile.am:
3504 Now hopefully fix the build failures by setting proper rule
3505 dependencies and moving instead of copying.
3507 2007-04-19 Stefan Kost <ensonic@users.sf.net>
3509 * tests/benchmarks/complexity.gnuplot:
3510 * tests/benchmarks/complexity.scm:
3511 * tests/benchmarks/mass-elements.gnuplot:
3512 * tests/benchmarks/mass-elements.scm:
3513 Total licensification.
3515 2007-04-19 Stefan Kost <ensonic@users.sf.net>
3517 * gst/parse/Makefile.am:
3518 Fix the build by correcting the rule that gave wrong files to flex.
3520 2007-04-19 Stefan Kost <ensonic@users.sf.net>
3522 * tests/benchmarks/complexity.c:
3523 * tests/benchmarks/mass-elements.c:
3524 Change licence to LGPL as granted by Benjamin and Andy.
3526 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3528 * gst/parse/Makefile.am:
3529 Add correct grammar.tab.h dependency if compiling without new enough
3530 flex. Fixes #431150.
3532 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
3534 * gst/parse/Makefile.am:
3535 Fix typo and use outdated sources if the flex/bison sources are newer
3536 than the pregenerated ones but flex is too old. Print a warning in
3537 that case. This should fix the build on the build bot.
3539 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
3541 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
3542 * gst/parse/Makefile.am:
3543 * gst/parse/grammar.y:
3544 * gst/parse/parse.l:
3545 Make the parser reentrant and recursively callable. This requires flex
3546 >= 2.5.31, for older versions pregenerated sources are used as we
3547 can't bump the build dependency. Finally fixes #349180.
3549 * gst/gstparse.c: (gst_parse_launch):
3550 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
3553 * docs/gst/Makefile.am:
3554 * docs/gst/Makefile.am:
3555 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
3556 (__gst_parse_strfree), (__gst_parse_link_new),
3557 (__gst_parse_link_free), (__gst_parse_chain_new),
3558 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
3559 (gst_parse_element_set), (gst_parse_free_link),
3560 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
3561 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
3562 (_gst_parse_launch):
3563 * gst/parse/grammar.tab.pre.h:
3564 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
3565 (yy_get_previous_state), (yy_try_NUL_trans), (input),
3566 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
3567 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
3568 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
3569 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
3570 (_gst_parse_yypop_buffer_state),
3571 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
3572 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
3573 (yy_fatal_error), (_gst_parse_yyget_extra),
3574 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
3575 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
3576 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
3577 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
3578 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
3579 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
3580 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
3581 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
3582 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
3583 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
3584 (_gst_parse_yyfree):
3585 If the installed flex version is too old use pre-generated parser
3586 sources. These pre-generated parser sources are always updated when
3587 the actual flex/bison sources change but require everybody who wants
3588 to change something in the parser to have flex >= 2.5.31 installed.
3590 2007-04-18 Stefan Kost <ensonic@users.sf.net>
3592 * common/m4/gst-gettext.m4:
3593 * gst/gst-i18n-lib.h:
3594 Make --disable-nls to work
3596 2007-04-17 Wim Taymans <wim@fluendo.com>
3598 * gst/gstconfig.h.in:
3599 Revert previous change that broke the build.
3601 2007-04-17 Stefan Kost <ensonic@users.sf.net>
3605 * gst/gstconfig.h.in:
3606 Drop libxml2 dependency when building with
3607 --enable-binary-registry --disable-loadsave
3609 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
3611 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
3612 (gst_registry_binary_read_cache):
3613 * gst/gstregistrybinary.h:
3614 Remove unnecessary <sys/mman.h> include which broke the win32 build
3615 with MingW; move includes from header file to .c file, even if the
3616 header file isn't installed; use g_strerror() where UTF-8 strings
3617 are expected, such as in GST_DEBUG messages.
3619 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
3621 * docs/libs/gstreamer-libs-sections.txt:
3622 Remove bogus addition for API I didn't end up keeping.
3624 * libs/gst/base/gstbasesrc.h:
3625 Mention Since: 0.10.13 in the documentation.
3627 Add the API keyword to the previous ChangeLog entry.
3629 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
3631 * docs/libs/gstreamer-libs-sections.txt:
3632 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3633 (gst_base_src_default_prepare_seek_segment),
3634 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
3635 * libs/gst/base/gstbasesrc.h:
3636 Allow basesrc derived classes to execute seeks in other formats
3637 by providing a prepare_seek_segment vmethod. Sub-classes can choose
3638 to prepare the GstSegment in any format that their perform_seek method
3639 will be able to understand. The default implementation provides the
3640 old behaviour of attempting to convert the seek offsets to the
3641 configured native format.
3643 API: basesrc::prepare_seek_segment vmethod.
3645 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
3647 * gst/gstelement.c: (gst_element_get_state_func):
3648 Don't output the same debug statement twice.
3650 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
3651 (gst_adapter_peek), (gst_adapter_take_buffer):
3652 Optimise the case where we have buffers at the head of the queue that
3653 can be joined quickly (because they're contiguous sub-buffers) by
3654 merging them together rather than copying data out into new memory.
3656 * gst/parse/grammar.y:
3657 * tests/check/pipelines/parse-launch.c:
3658 Fix a leak in an error path for parse_launch, and add a check
3659 for it to the testsuite.
3661 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
3663 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
3664 Don't deadlock when releasing a pad - gst_pad_set_active may try
3665 and take the multiqueue lock too.
3667 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
3669 * gst/gsterror.c: (_gst_core_errors_init):
3671 API: add GST_CORE_ERROR_DISABLED (#392804).
3673 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
3675 * docs/faq/gst-uninstalled:
3676 don't get empty paths on the PATH variables
3677 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
3678 Don't format for the uncommon terminal width of 84 characters.
3680 2007-04-06 Wim Taymans <wim@fluendo.com>
3682 * gst/gstpipeline.c: (reset_stream_time),
3683 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
3684 Only try to select a different pipeline clock when we went back to
3685 PAUSED and not when we merely got flushed.
3687 2007-04-05 Michael Smith <msmith@fluendo.com>
3689 * tools/gst-launch.1.in:
3690 fractions are better supported in gstreamer than ractions, so
3691 suggest using those.
3693 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
3695 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
3699 Added Danish translation.
3701 2007-04-05 Wim Taymans <wim@fluendo.com>
3703 * libs/gst/base/gstbasesink.c:
3704 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
3705 Fix leak caused when refusing newsegment after EOS.
3707 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
3708 (gst_fake_sink_init), (gst_fake_sink_set_property),
3709 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
3710 (gst_fake_sink_render), (gst_fake_sink_change_state):
3711 * plugins/elements/gstfakesink.h:
3712 Add num-buffers property to make the element generate EOS after a
3713 configurable amount of buffers.
3714 API: fakesink::num-buffers property.
3716 * tests/check/elements/fakesink.c: (GST_START_TEST),
3718 Fix GstBus leak in test.
3719 Test for fakesink num-buffers.
3721 2007-04-05 Wim Taymans <wim@fluendo.com>
3723 * libs/gst/base/gstbasesink.c:
3724 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
3725 (gst_base_sink_change_state):
3726 Don't accept anything after an EOS, return UNEXPECTED instead.
3728 * tests/check/elements/fakesink.c: (GST_START_TEST),
3730 Unit test for new EOS behaviour.
3732 2007-04-05 Wim Taymans <wim@fluendo.com>
3734 * gst/gstelement.c: (gst_element_get_request_pad):
3735 Make padtemplates also work when they don't contain %s or %d.
3737 2007-04-05 Wim Taymans <wim@fluendo.com>
3739 * docs/gst/gstreamer-sections.txt:
3740 * gst/gstclock.c: (gst_clock_adjust_unlocked),
3741 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
3743 Improve _adjust_unlocked() so that it overflows less.
3744 Add gst_clock_unadjust_unlocked to convert from external time to
3745 internal time based on calibration.
3746 Add some more debug.
3747 API: GstClock::gst_clock_unadjust_unlocked()
3749 2007-04-03 Wim Taymans <wim@fluendo.com>
3751 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
3753 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
3754 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
3755 when releasing sink pad. Fixes #425400.
3757 2007-04-02 Stefan Kost <ensonic@users.sf.net>
3759 * docs/random/ensonic/dynlink.txt:
3760 More work on proposal for new core api.
3762 * docs/libs/gstreamer-libs-sections.txt:
3763 * libs/gst/base/gstbasetransform.h:
3764 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
3766 * libs/gst/controller/gstcontroller.c:
3767 (on_object_controlled_property_changed),
3768 (gst_controller_sync_values),
3769 (gst_controller_set_interpolation_mode):
3770 * libs/gst/controller/gstcontroller.h:
3771 Less verbose logging add docs for unimplemented parts and correctly
3772 return when using unavailable parts.
3774 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
3776 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
3777 Move all the debug to the CLOCK category, and associate it with
3780 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
3782 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
3783 Make take_buffer a bit quicker by removing redundant checks
3784 caused by calling gst_adapter_take.
3786 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
3788 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
3791 * tests/check/Makefile.am:
3792 * tests/check/elements/.cvsignore:
3793 * tests/check/elements/multiqueue.c: (setup_multiqueue),
3794 (GST_START_TEST), (multiqueue_suite):
3795 Add some dead simple unit tests for the 'multiqueue' element
3796 (some bits don't work yet and are disabled for now).
3798 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
3800 * gst/gstelement.c: (gst_element_get_request_pad),
3801 (gst_element_class_get_request_pad_template):
3802 Make gst_element_get_request_pad() create request pads only for
3803 request pad templates and not for, say, sometimes pad templates.
3805 2007-03-28 Stefan Kost <ensonic@users.sf.net>
3807 * docs/design/draft-klass.txt:
3808 Add example that needs more thinking.
3810 * docs/design/draft-missing-plugins.txt:
3811 More thoughts about wrapper plugins.
3813 * docs/random/ensonic/embedded.txt:
3814 * docs/random/ensonic/profiling.txt:
3817 2007-03-25 Wim Taymans <wim@fluendo.com>
3819 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
3820 (gst_base_src_loop):
3821 Only push the segment events in the PLAYING state for live sources.
3823 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
3825 * gst/gstpipeline.c: (gst_pipeline_change_state):
3826 Modify the clock distribution path in PAUSED->PLAYING so that we
3827 never attempt to choose a new clock unless we're actually leaving
3828 the PAUSED state for the first time. This prevents choosing a
3829 different clock when the state_change gets called for a 2nd time due
3830 to some element doing an async state change.
3832 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
3834 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
3835 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
3836 (gst_pad_chain_unchecked), (gst_pad_push):
3837 Revert last commit. This needs some more thoughts.
3839 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
3841 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
3842 (gst_pad_chain_unchecked), (gst_pad_push):
3843 Check in set_caps if the caps are compatible with the pad and remove
3844 two functions that are redundant now. Fixes #421543.
3846 2007-03-22 Wim Taymans <wim@fluendo.com>
3848 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
3849 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
3850 Unref some more to make valgrind happy.
3852 2007-03-22 Wim Taymans <wim@fluendo.com>
3854 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
3855 (gst_system_clock_id_wait_jitter),
3856 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
3857 Fix anoying regression that survived a few releases. When adding an
3858 async entry while blocking on a sync entry, the sync entry will unblock
3859 but still be busy, so it should continue to wait instead of returning
3861 Add some comments here and there.
3863 * tests/check/gst/gstsystemclock.c: (mixed_thread),
3864 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
3865 Add testcase for this.
3867 2007-03-22 Wim Taymans <wim@fluendo.com>
3869 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
3870 Handle errors from the clock sync better, only UNSCHEDULED indicates a
3871 WRONG_STATE and can silently pause the task. All other cases should
3874 2007-03-22 Wim Taymans <wim@fluendo.com>
3876 Patch by: Ville Syrjala <syrjala at sci dot fi>
3878 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
3879 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
3882 2007-03-21 Michael Smith <msmith@fluendo.com>
3884 * docs/pwg/advanced-types.xml:
3885 Fix some errors in the typefinding docs pointed out on irc.
3887 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
3889 * libs/gst/base/gstbasesrc.c:
3890 Clarify FIXME comment in the face of having added unlock_stop()
3892 2007-03-21 Wim Taymans <wim@fluendo.com>
3894 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
3895 Prepare for release where we warn against possible app breakage in the
3896 case of live pipelines along with an env var to enable/disable live
3897 preroll mode (GST_COMPAT=[no-]live-preroll).
3899 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3901 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
3902 So we should use correct constants for checking for None offset.
3904 2007-03-20 Wim Taymans <wim@fluendo.com>
3906 * docs/design/part-block.txt:
3907 Mention the fact that the newly switched element should be set to at
3910 2007-03-20 Wim Taymans <wim@fluendo.com>
3913 Fix compilation with registry disabled as spotted by Saur.
3915 2007-03-20 Wim Taymans <wim@fluendo.com>
3917 Patch by: Olivier Crete <tester at tester dot ca>
3919 * gst/gstelement.c: (gst_element_sync_state_with_parent):
3920 Look at the pending state too when syncing the element state to the
3921 parent. Fixes #420133.
3923 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
3925 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
3926 (gst_base_sink_change_state):
3927 * libs/gst/base/gstbasesink.h:
3928 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3929 (gst_base_src_default_event), (gst_base_src_unlock_stop),
3930 (gst_base_src_deactivate):
3931 * libs/gst/base/gstbasesrc.h:
3932 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
3933 for sub-classes to correctly clear any state they set trying to
3934 unlock, such as clearing out unlock commands from a command fd.
3935 API: basesrc::unlock_stop
3936 API: basesink::unlock_stop
3938 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
3939 (gst_fd_sink_render), (gst_fd_sink_unlock),
3940 (gst_fd_sink_unlock_stop):
3941 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
3942 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
3943 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
3945 Implement unlock_stop in fdsrc and fdsink.
3946 Implement seeking in fdsrc when a seekable fd is passed, as in
3947 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
3949 2007-03-19 Wim Taymans <wim@fluendo.com>
3951 Patch by: Evan Nemerson <evan at coeus dash group dot com>
3953 * gst/gstelement.c: (gst_element_class_init):
3954 Fix pad-added and pad-removed signal signatures so that the pad type is
3955 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
3957 2007-03-19 Wim Taymans <wim@fluendo.com>
3959 * docs/gst/gstreamer-sections.txt:
3960 Add new element field and method.
3962 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3963 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
3964 (gst_bin_recalc_state), (gst_bin_get_state_func),
3965 (gst_bin_element_set_state), (gst_bin_change_state_func),
3966 (gst_bin_continue_func), (bin_bus_handler),
3967 (bin_push_state_continue), (bin_handle_async_start),
3968 (bin_handle_async_done), (gst_bin_handle_message_func):
3969 Make async state changes a bit smarter by using new ASYNC_START and
3970 ASYNC_DONE messages. This reduces the number of times we run the state
3971 recalculation thread.
3972 Don't change state of element with a pending ASYNC_START message.
3973 Deprecate STATE_DIRTY messages.
3975 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
3976 (gst_element_get_state_func), (gst_element_continue_state),
3977 (gst_element_lost_state), (gst_element_set_state_func),
3978 (gst_element_change_state):
3980 Keep the state that was last set by the app in a new element field.
3981 Don't allow state changes when handling an element event.
3982 Post ASYNC_START and ASYNC_DONE messages.
3983 Change lost_state so that we go to PAUSED and wait for the parent to set
3984 us to PLAYING again (so latency calculation can be performed)
3985 Export gst_element_change_state() method so that subclasses can use it.
3986 API: gst_element_change_state()
3987 API: GST_STATE_TARGET
3989 * gst/gstpipeline.c: (gst_pipeline_class_init),
3990 (reset_stream_time), (gst_pipeline_change_state),
3991 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
3992 Using the new ASYNC_START message we can reset the base_time when
3993 needed. This can then be used to implement base_time redistribution in
3994 flushing seeks so that we can remove the explicit seek handling.
3995 Perform latency query and configuration when going to PLAYING.
3997 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3998 (gst_base_sink_query), (gst_base_sink_change_state):
3999 Post new ASYNC_START/ASYNC_DONE messages.
4001 * tests/check/generic/sinks.c: (GST_START_TEST):
4002 Fix test because the bin will not set the async element to PLAYING right
4005 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
4006 Make the message check a little stronger.
4007 Handle ASYNC messages.
4009 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
4010 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
4011 Expect ASYNC_DONE messages.
4013 2007-03-19 Wim Taymans <wim@fluendo.com>
4015 * docs/gst/gstreamer-sections.txt:
4016 * gst/gstmessage.c: (gst_message_new_async_start),
4017 (gst_message_new_async_done), (gst_message_parse_info),
4018 (gst_message_parse_async_start):
4020 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
4023 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
4025 * tools/gst-inspect.c:
4026 (print_plugin_automatic_install_info_codecs):
4027 Now that we don't check for the 'Codec' keyword any longer in the
4028 klass, we shouldn't spew a warning if the klass isn't a decoder or
4029 encoder (since it might be a Source/Network, for example).
4031 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
4033 * tools/gst-inspect.c:
4034 (print_plugin_automatic_install_info_codecs):
4035 Don't require decoder/demuxer/depayloader elements or
4036 encoder/muxer/paylader elements to have 'Codec' as part of their
4037 factory class string when introspecting a plugin's capabilities.
4038 draft-klass.txt mentions that it might be removed in future, and
4039 flump3dec doesn't have it as part of its class string, so chances
4040 are others might also not have it.
4042 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
4064 Update translations from translation project
4066 2007-03-14 Stefan Kost <ensonic@users.sf.net>
4068 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
4069 (gst_child_proxy_set_property):
4070 Invert precondition check to be alike the ones in the mimiced gobject
4073 2007-03-13 Stefan Kost <ensonic@users.sf.net>
4075 * docs/design/draft-tagreading.txt:
4076 * docs/random/ensonic/audiobaseclasses.txt:
4077 Do some Architect work.
4079 * gst/gstobject.c: (gst_object_set_name):
4083 Add docs that point from gst_pad_get_range to gst_pad_pull_range
4085 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
4087 * gst/gstsystemclock.c: (gst_system_clock_init),
4088 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
4089 Defer starting the async system clock thread until the first async
4090 wait is scheduled. Fixes #414986.
4092 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
4094 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
4095 (gst_single_queue_free):
4096 Fix small leak (free GstSingleQueue structure too, not only contents).
4098 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
4100 * gst/gstbin.c:(gst_bin_add):
4101 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
4102 * win32/common/libgstbase.def:
4103 * win32/common/libgstreamer.def:
4104 Add new exported functions.
4106 2007-03-09 Wim Taymans <wim@fluendo.com>
4108 * docs/plugins/gstreamer-plugins-sections.txt:
4111 2007-03-09 Wim Taymans <wim@fluendo.com>
4113 * docs/gst/gstreamer-sections.txt:
4114 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
4116 Add metadata copy functions. Fixes #393099.
4117 API: gst_buffer_copy_metadata()
4119 * gst/gstutils.c: (gst_buffer_stamp):
4120 * libs/gst/base/gstbasetransform.c:
4121 (gst_base_transform_prepare_output_buffer):
4122 Use new metadata copy functions.
4124 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
4126 * plugins/elements/gstidentity.c: (gst_identity_class_init),
4127 (gst_identity_init), (gst_identity_check_perfect),
4128 (gst_identity_check_imperfect_timestamp),
4129 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
4130 (gst_identity_set_property), (gst_identity_get_property):
4131 * plugins/elements/gstidentity.h:
4132 Separate out check-imperfect-timestamp and check-imperfect-offset.
4133 Put back check-perfect as it was to keep compatibility.
4135 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
4137 * gst/gstelement.c: (gst_element_dispose):
4138 There's no need to warn if VOID_PENDING is not NONE here, as
4139 long as the state is NULL it's ok, and that's checked immediately
4142 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4144 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4145 Fix check for perfect stream to ignore buffers with -1
4146 offsets/offset ends when checking data contiguity.
4148 2007-03-08 Wim Taymans <wim@fluendo.com>
4150 * tools/gst-launch.c: (event_loop):
4151 Print INFO messages.
4153 2007-03-08 Wim Taymans <wim@fluendo.com>
4155 * libs/gst/base/gstbasetransform.c:
4156 (gst_base_transform_sink_eventfunc),
4157 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
4158 (gst_base_transform_activate):
4159 * libs/gst/base/gstbasetransform.h:
4160 Add support for dropping buffers with custom GstFlowReturn.
4161 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
4162 buffers or dropped buffers.
4164 * docs/libs/gstreamer-libs-sections.txt:
4165 docs for new custom return code.
4167 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
4168 Use drop support in base class to implement drop-probability.
4170 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
4172 * gst/gst.c: (load_plugin_func):
4173 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
4174 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4175 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
4176 Remove newlines at end of debug log strings.
4178 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4180 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4181 Only post bus message at max, once per buffer received.
4183 2007-03-07 Wim Taymans <wim@fluendo.com>
4185 * docs/design/Makefile.am:
4186 * docs/design/part-synchronisation.txt:
4187 Add doc about synchronisation
4189 * docs/design/draft-latency.txt:
4190 * docs/design/part-TODO.txt:
4191 * docs/design/part-clocks.txt:
4192 * docs/design/part-events.txt:
4193 * docs/design/part-gstbus.txt:
4194 * docs/design/part-gstpipeline.txt:
4195 * docs/design/part-live-source.txt:
4196 * docs/design/part-messages.txt:
4197 * docs/design/part-overview.txt:
4198 * docs/design/part-streams.txt:
4199 * docs/design/part-trickmodes.txt:
4200 Documentation updates.
4202 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
4205 Update the doap file.
4207 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4209 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4210 Rename non-perfect to imperfect for Mike and for the sanctity of the
4212 Also make sure bus message gets emitted for data-incontiguities.
4214 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4216 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
4217 (gst_identity_start):
4218 * plugins/elements/gstidentity.h:
4219 Emit bus message if check-perfect is true and we encounter a
4220 non-perfect stream between 2 consecutive buffers.
4223 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
4228 === release 0.10.12 ===
4230 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
4233 releasing 0.10.12, "Inevitable Demise"
4235 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
4238 Version 0.10.11.2 (0.10.12 pre-release)
4239 Bump libtool versioning.
4241 2007-03-01 Stefan Kost <ensonic@users.sf.net>
4243 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
4244 Log flow-names and not numbers.
4246 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
4249 Convert to new AG_GST style.
4251 2007-02-28 Wim Taymans <wim@fluendo.com>
4253 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
4254 Don't unref query twice.
4256 2007-02-28 Wim Taymans <wim@fluendo.com>
4258 * gst/gstvalue.c: (gst_value_transform_object_string),
4259 (_gst_value_initialize):
4260 Implement GstObject -> string transform so we print object names
4261 when serializing GValues containing GstObjects.
4263 2007-02-28 Wim Taymans <wim@fluendo.com>
4265 * docs/gst/gstreamer-sections.txt:
4266 Add new stuff to docs.
4268 2007-02-28 Wim Taymans <wim@fluendo.com>
4270 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4271 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
4272 (gst_base_sink_change_state):
4273 Improve latency query code.
4274 Don't leak latency events.
4276 * tests/check/gst/gstbin.c: (GST_START_TEST):
4279 2007-02-28 Wim Taymans <wim@fluendo.com>
4281 * gst/gstelement.c: (gst_element_message_full),
4282 (gst_element_get_state_func):
4284 Improve docs a little. Added Since: for new macro.
4286 * gst/gstobject.c: (gst_object_sink):
4287 * gst/gstpipeline.c: (gst_pipeline_change_state),
4288 (gst_pipeline_set_new_stream_time):
4289 * gst/gstpipeline.h:
4290 Improve debugging and docs.
4292 * gst/gstutils.c: (gst_element_state_change_return_get_name):
4295 2007-02-28 Wim Taymans <wim@fluendo.com>
4297 * gst/gstelement.c: (gst_element_message_full),
4298 (gst_element_set_locked_state), (gst_element_get_state_func),
4299 (gst_element_change_state):
4300 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
4301 Documentation updates.
4302 Small code cleanups.
4304 * gst/gstmessage.c: (gst_message_new_info),
4305 (gst_message_parse_info):
4307 API: gst_message_new_info()
4308 API: gst_message_parse_info()
4309 Add INFO message create and parse code.
4311 2007-02-28 Wim Taymans <wim@fluendo.com>
4313 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
4314 (bin_query_latency_done):
4315 Also report the live parameter of a latency query.
4317 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
4319 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
4320 Copy the current generic/states example from -base and adapt so
4321 we can use the exact same code everywhere.
4322 Check a STATES_IGNORE_ELEMENTS env var which can be used
4323 to ignore certain element factories for this test, which is
4324 what is being done in -base
4325 * tests/check/Makefile.am:
4326 Mention this environment variable.
4328 2007-02-27 Wim Taymans <wim@fluendo.com>
4330 * docs/gst/gstreamer-sections.txt:
4331 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
4332 (gst_bus_timed_pop), (gst_bus_pop):
4334 API: gst_bus_timed_pop()
4335 Implement gst_bus_timed_pop() to do a blocking timed wait for a
4336 message to arrive on the bus.
4338 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
4340 Two unit tests for new _timed_pop() function.
4342 2007-02-23 Wim Taymans <wim@fluendo.com>
4344 * gst/gstpipeline.c: (gst_pipeline_change_state),
4345 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
4346 Don't ref a NULL clock in _provide_clock_func().
4347 Don't allow an INVALID delay.
4348 Don't try to calculate base_time with an invalid start_time.
4349 Also distribute and notify a NULL clock when it was selected.
4351 * tools/gst-launch.c: (event_loop):
4352 Don't crash when a NULL clock was selected in the pipeline.
4354 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
4356 * docs/design/Makefile.am:
4357 * docs/design/draft-missing-plugins.txt:
4358 * docs/random/draft-missing-plugins.txt:
4359 Some small updates: update plugin system identifier prefix
4360 ('gstreamer.net' to 'gstreamer'), mention our new install
4361 API in libgstbaseutils rather than libgimme-codec, add
4362 reference to the online docs.
4364 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
4366 * win32/common/config.h:
4367 Pretty sure Bill never made a powerpc version. Powerpc hackers,
4368 use moap cl ci to only check in what is mentioned in the ChangeLog.
4370 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
4372 * docs/gst/gstreamer-sections.txt:
4374 Fix up documentation to link to the correct GstGError section.
4375 Add GST_ELEMENT_INFO macro since someone else added a Info message.
4377 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
4379 * tools/gst-launch.c: (event_loop):
4380 Make sure that we actually show the important message part of a
4382 No need to check if the gerror is not NULL to free; first of all
4383 g_free accepts NULL; and second the default error handler would
4384 segfault if gerror was NULL.
4386 2007-02-21 Wim Taymans <wim@fluendo.com>
4388 * docs/gst/gstreamer-sections.txt:
4389 Removed docs as well.
4391 2007-02-21 Wim Taymans <wim@fluendo.com>
4393 * gst/gstmessage.c: (gst_message_parse_duration):
4395 Remove new messages for release.
4397 2007-02-20 Wim Taymans <wim@fluendo.com>
4399 * docs/design/part-gstghostpad.txt:
4400 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
4401 (gst_ghost_pad_new_full):
4402 Make the ghostpad a parent of the internal pad again for better backward
4403 compatibility. Don't write code that relies on this however.
4405 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
4406 (gst_pad_link_check_hierarchy):
4407 Require that parents should be GstElements in the hierarchy check.
4409 2007-02-20 Wim Taymans <wim@fluendo.com>
4411 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
4412 (gst_bin_change_state_func), (bin_query_min_max_init),
4413 (bin_query_latency_fold), (bin_query_latency_done),
4416 Implement latency query.
4418 2007-02-20 Wim Taymans <wim@fluendo.com>
4420 * docs/design/part-gstghostpad.txt:
4421 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
4422 (gst_ghost_pad_internal_do_activate_push),
4423 (gst_ghost_pad_internal_do_activate_pull),
4424 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
4425 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
4426 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
4427 Do not set the internal pad as a parent anymore so we can avoid
4428 hierarchy linking errors when the ghostpad has no parent yet. This also
4429 fixes failed activation because of unlinked internal pads, which in
4430 turn fixes the impossible case where you have to activate a pad before
4431 you can add it to a running element.
4434 * gst/gstpad.c: (pre_activate), (post_activate),
4435 (gst_pad_set_active), (gst_pad_activate_pull),
4436 (gst_pad_activate_push), (gst_pad_check_pull_range):
4437 Add some more debug info.
4438 Mark activation mode in pre_activate so that we don't try to activate in
4439 endless loops. Fixes #385084.
4441 2007-02-19 Wim Taymans <wim@fluendo.com>
4443 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
4444 (gst_base_transform_check_get_range):
4445 Implement a checkgetrange function instead of relying on the default
4446 core behaviour that assumes we can operate in pull mode if we have a
4447 getrange function. First step at fixing #385084.
4449 2007-02-15 Stefan Kost <ensonic@users.sf.net>
4451 * gst/gstchildproxy.h:
4452 * libs/gst/base/gstbasesink.h:
4453 * libs/gst/base/gstbasesrc.h:
4454 * libs/gst/base/gstbasetransform.h:
4455 More docs coverage and some ChangeLog surgery (add missing names)
4457 2007-02-15 Wim Taymans <wim@fluendo.com>
4459 * docs/design/part-TODO.txt:
4460 * docs/design/part-activation.txt:
4461 * docs/design/part-block.txt:
4462 * docs/design/part-buffering.txt:
4463 * docs/design/part-clocks.txt:
4464 * docs/design/part-element-source.txt:
4465 * docs/design/part-events.txt:
4466 * docs/design/part-gstbin.txt:
4467 * docs/design/part-gstbus.txt:
4468 * docs/design/part-gstpipeline.txt:
4469 * docs/design/part-live-source.txt:
4470 * docs/design/part-messages.txt:
4471 * docs/design/part-overview.txt:
4472 * docs/design/part-qos.txt:
4473 * docs/design/part-query.txt:
4474 * docs/design/part-states.txt:
4475 * docs/design/part-trickmodes.txt:
4476 Some doc updates. Start renaming from stream_time to running_time where
4477 it was used wrongly.
4479 2007-02-15 Wim Taymans <wim@fluendo.com>
4481 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
4482 Answer LATENCY query.
4484 2007-02-15 Wim Taymans <wim@fluendo.com>
4486 * tests/check/gst/gstevent.c: (event_probe), (test_event),
4490 2007-02-15 Wim Taymans <wim@fluendo.com>
4492 * gst/gstpad.c: (gst_pad_get_internal_links_default),
4493 (gst_pad_dispatcher):
4494 Improve debugging of default pad dispatcher and query functions.
4496 2007-02-15 Wim Taymans <wim@fluendo.com>
4498 * docs/gst/gstreamer-sections.txt:
4499 Remove old unused method.
4501 2007-02-13 Wim Taymans <wim@fluendo.com>
4503 * tests/check/gst/gstsegment.c: (GST_START_TEST):
4506 2007-02-13 Wim Taymans <wim@fluendo.com>
4508 * docs/design/part-seeking.txt:
4511 * gst/gstsegment.c: (gst_segment_set_seek):
4512 Revert old bogus change that should make seeking work again.
4514 2007-02-13 Stefan Kost <ensonic@users.sf.net>
4516 * docs/random/ensonic/dynlink.txt:
4517 * docs/random/ensonic/interfaces.txt:
4518 * docs/random/ensonic/receipies.txt:
4519 Possible dynamic reconnection api, plus some type fixes the other two
4522 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
4524 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4525 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4526 Also check for an absolute path following file:// in the filesrc
4527 element. Remove redundant check and call g_path_is_absolute() on the
4530 2007-02-13 Stefan Kost <ensonic@users.sf.net>
4532 * docs/design/draft-klass.txt:
4533 Add existing category analysis.
4536 Fix doc example, framerate is a fraction.
4538 2007-02-12 Stefan Kost <ensonic@users.sf.net>
4541 * docs/gst/Makefile.am:
4542 * docs/gst/gstreamer-sections.txt:
4543 * docs/libs/Makefile.am:
4544 Erm, forgot a bunch of --extra-dir.
4546 2007-02-12 Stefan Kost <ensonic@users.sf.net>
4549 * docs/gst/Makefile.am:
4550 * docs/libs/Makefile.am:
4551 * docs/plugins/Makefile.am:
4552 Add crossreferences to glib/gobject docs.
4554 2007-02-12 Wim Taymans <wim@fluendo.com>
4556 * docs/design/draft-latency.txt:
4559 * docs/libs/gstreamer-libs-sections.txt:
4560 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4561 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
4562 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
4563 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
4564 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
4565 (gst_base_sink_get_position), (gst_base_sink_query),
4566 (gst_base_sink_change_state):
4567 * libs/gst/base/gstbasesink.h:
4568 API: gst_base_sink_query_latency() to let subclasses query the upstream
4570 API: gst_base_sink_get_latency() to let subclasses query the configured
4571 latency in the sink.
4572 Implement query and set latency.
4574 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
4575 don't continue preroll when we are flushing. Fixes #405284.
4577 * tests/check/pipelines/stress.c: (change_state_timeout),
4578 (quit_timeout), (GST_START_TEST), (stress_suite):
4581 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
4583 Patch by: René Stadler <mail at renestadler de>
4585 * docs/gst/gstreamer-sections.txt:
4586 * gst/gsttaglist.c: (_gst_tag_initialize):
4588 API: add GST_TAG_REFERENCE_LEVEL (#403597).
4590 2007-02-11 Stefan Kost <ensonic@users.sf.net>
4592 * docs/libs/Makefile.am:
4593 Fix path to core docs.
4595 * gst/gstbin.c: (gst_bin_get_by_interface),
4596 (gst_bin_iterate_all_by_interface):
4597 Refix docs by also renaming 'interface' to 'iface' in implementation.
4599 * docs/gst/gstreamer-sections.txt:
4601 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
4602 * gst/gstchildproxy.h:
4603 * gst/gstelementfactory.c:
4604 * gst/gstpadtemplate.h:
4605 * libs/gst/controller/gstcontroller.c:
4606 (gst_controlled_property_new):
4609 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
4611 * gst/gstbin.h:(gst_bin_get_by_interface),
4612 (gst_bin_iterate_all_by_interface):
4613 Replace interface parameter name by iface as interface is
4614 a reserved keyword in Visual Studio for C++ projects so it removes
4615 a build error for application developpers using VS.
4616 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
4617 Fix a bug on Windows in uri format check. Now the prefix checked
4618 is file:// and next we check if the path after file:// is absolute.
4619 * win32/common/libgstbase.def:
4620 * win32/common/libgstdataprotocol.def:
4621 * win32/common/libgstgstreamer.def:
4622 Add new exported functions.
4624 2007-02-09 Andy Wingo <wingo@pobox.com>
4626 * tests/check/pipelines/simple-launch-lines.c
4627 (simple_launch_lines_suite, test_tee): Disable tee test until I
4628 have time to fix it :-(
4630 * tests/check/Makefile.am (noinst_HEADERS):
4631 * tests/check/libs/libsabi.c:
4632 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
4633 * tests/check/gst/gstabi.c:
4634 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
4636 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
4637 tests for push and pull tee behavior.
4639 * plugins/elements/gsttee.h:
4640 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
4641 mark as deprecated as well as unimplemented. It was a crack idea.
4642 Add support for tee operating in pull mode, off by default.
4644 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
4645 normal-case logs down to LOG, raise errors to WARNING.
4646 (gst_registry_xml_read_cache): Don't log before calling a function
4649 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
4650 exit (registry finalize).
4651 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
4652 DEBUG log when we emit signals that people don't even have the
4653 chance to connect to.
4654 (gst_registry_scan_path_level): Less logging in the normal case.
4656 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
4658 Patch by: Michal Benes <michal dot benes at itonis dot tv>
4660 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4661 Correctly generate EOS for non-seekable files. We don't have a total
4662 length for them and would get an unexpected end of file if we only
4663 special-cased for regular files. (Fixes: #404569)
4665 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
4667 * tests/check/elements/filesrc.c: (GST_START_TEST),
4669 Add unit test for the GstURIHandler interface in filesrc. This also
4670 tests the newly added file://localhost/foo/bar support.
4672 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
4674 * gst/gstelementfactory.h:
4675 The klass string is not a hierarchy. Add reference to the design doc
4676 for more information and common types.
4678 2007-02-02 Wim Taymans <wim@fluendo.com>
4680 * gst/gstquery.c: (gst_query_new_latency):
4681 Remove old structure field.
4683 2007-02-02 Stefan Kost <ensonic@users.sf.net>
4685 * tools/gst-launch.1.in:
4686 Give example for network streaming (#351998)
4688 2007-02-02 Wim Taymans <wim@fluendo.com>
4690 * docs/gst/gstreamer-sections.txt:
4691 Add docs for new methods.
4693 * gst/gstevent.c: (gst_event_new_latency),
4694 (gst_event_parse_latency):
4696 Add new LATENCY event to configure latency in a pipeline.
4697 API: gst_event_new_latency
4698 API: gst_event_parse_latency
4700 * gst/gstmessage.c: (gst_message_new_buffering),
4701 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
4702 (gst_message_new_latency), (gst_message_parse_buffering),
4703 (gst_message_parse_lost_preroll):
4705 Added messages used in draft-latency.
4706 API: gst_message_new_lost_preroll
4707 API: gst_message_parse_lost_preroll
4708 API: gst_message_new_prerolled
4709 API: gst_message_new_latency
4711 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
4712 (gst_query_parse_latency):
4714 Implemented new latency query as in design doc.
4715 API: gst_query_new_latency
4716 API: gst_query_set_latency
4717 API: gst_query_parse_latency
4719 2007-02-02 Wim Taymans <wim@fluendo.com>
4721 * docs/design/draft-latency.txt:
4722 Slight redesign to allow for dynamic latency adjustments.
4724 * docs/design/part-negotiation.txt:
4727 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
4729 reviewed by: Wim Taymans <wim@fluendo.com>
4731 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4732 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4733 Allow file://localhost/foo/bar URLs and correctly fail for every other
4734 hostname that one sets. This was gnomevfssrc is linked for those if
4735 installed as it can handle it (#403172)
4737 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
4739 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4741 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4742 (unref_data), (gst_collect_pads_add_pad_full):
4743 * libs/gst/base/gstcollectpads.h:
4744 Don't put the previously added destroy notify in the GstCollectData
4745 struct as all it's padding is already used and we don't want to break
4746 ABI. Instead put in the pad's GObject data for now. This should be
4747 cleaned up for 0.11 (#402393).
4749 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
4751 reviewed by: Wim Taymans <wim@fluendo.com>
4753 * docs/libs/gstreamer-libs-sections.txt:
4754 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4755 (unref_data), (gst_collect_pads_add_pad),
4756 (gst_collect_pads_add_pad_full):
4757 * libs/gst/base/gstcollectpads.h:
4758 API: Add function to specify a destroy notification for custom
4759 GstCollectData when adding new pads in GstCollectPads (#402393).
4761 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
4764 Update Swedish translation (#378255).
4766 2007-01-31 Stefan Kost <ensonic@users.sf.net>
4768 * docs/design/draft-klass.txt:
4769 Fix the previous change, this is a list of categories and not a hierarchy.
4771 2007-01-31 Stefan Kost <ensonic@users.sf.net>
4773 * docs/design/draft-klass.txt:
4774 Add info about how to get a list of used classes.
4776 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
4778 * plugins/elements/gsttypefindelement.c:
4779 (gst_type_find_element_chain_do_typefinding),
4780 (gst_type_find_element_change_state):
4781 Don't leak found caps in chain function (no idea why that never
4782 showed up as a leak anywhere).
4784 2007-01-30 Stefan Kost <ensonic@users.sf.net>
4787 Fix and expand GstPluginDesc API docs.
4789 2007-01-29 Stefan Kost <ensonic@users.sf.net>
4792 * gst/gstelementfactory.c:
4793 * gst/gstpadtemplate.h:
4796 * libs/gst/controller/gstcontroller.c:
4797 (gst_controlled_property_new):
4798 * tests/examples/controller/audio-example.c:
4801 2007-01-29 Stefan Kost <ensonic@users.sf.net>
4804 comment about refining the xml deps
4807 comments about moving away from jade for docs
4810 recommit the ifdefs to use the binary registry
4812 * gst/gstbin.c: (gst_bin_change_state_func):
4813 this break is obsolete
4815 * gst/gstelementfactory.h:
4816 better GST_ELEMENT_DETAILS docs, add comment about translation
4821 * gst/gstobject.c: (gst_signal_object_get_type):
4822 add G_UNLIKELY as usual
4824 * gst/gstpad.c: (gst_pad_event_default):
4825 add fall trhu comment
4827 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4828 (gst_registry_binary_initialize_magic),
4829 (gst_registry_binary_save_string),
4830 (gst_registry_binary_save_pad_template),
4831 (gst_registry_binary_save_feature),
4832 (gst_registry_binary_save_plugin),
4833 (gst_registry_binary_write_cache),
4834 (gst_registry_binary_check_magic),
4835 (gst_registry_binary_load_pad_template),
4836 (gst_registry_binary_load_feature),
4837 (gst_registry_binary_load_plugin),
4838 (gst_registry_binary_read_cache):
4839 comment typo and formatting
4841 * gst/gstutils.c: (gst_element_state_get_name),
4842 (gst_element_state_change_return_get_name):
4843 remove obsolete breaks
4845 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
4846 add FIXME 0.11 and remove cpp comment
4848 2007-01-29 Edward Hervey <edward@fluendo.com>
4850 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4851 Fix print statement in an even more portable way.
4853 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
4855 * docs/gst/gstreamer-sections.txt:
4857 API: add GST_ROUND_DOWN_* macros (#401781).
4859 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
4861 * docs/gst/gstreamer.types.in:
4862 * gst/gstregistry.c: (gst_registry_class_init):
4863 Document registry signals and make gtk-doc pick them up (#401381).
4865 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
4867 * docs/pwg/building-testapp.xml:
4868 Add some audioconverts and audioresample to the pipeline, and some
4869 more comments and error handling.
4871 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
4873 * docs/manual/manual.xml:
4877 2007-01-26 Wim Taymans <wim@fluendo.com>
4879 * gst/gstcaps.c: (gst_static_caps_get):
4880 Init caps flags too.
4882 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
4884 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
4886 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
4887 If not using mmap'ed files try to seek to the end instead of the
4888 start to determine whether we can seek at all. This fixes the case
4889 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
4890 seeks for everything afterwards fail. Fixes #400656
4892 2007-01-25 Wim Taymans <wim@fluendo.com>
4894 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
4895 Add some refcount debugging.
4896 Make gst_static_caps_get threadsafe, which is needed when autoplugging
4897 in multiple streaming threads.
4899 2007-01-25 Wim Taymans <wim@fluendo.com>
4901 Patch by: David Schleef <ds at schleef dot org>
4903 * docs/libs/gstreamer-libs-sections.txt:
4904 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
4905 * libs/gst/base/gstadapter.h:
4906 API: gst_adapter_copy() that can reduce the amount of memcpy when
4907 getting data from the adapter. Fixes #388201.
4909 2007-01-25 Edward Hervey <edward@fluendo.com>
4911 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4912 In print statements, "%x" is for guint. Fixes build on macosx.
4914 2007-01-24 Edward Hervey <edward@fluendo.com>
4916 * plugins/elements/gstmultiqueue.c:
4917 (gst_multi_queue_loop):
4919 (single_queue_overrun_cb), (single_queue_underrun_cb),
4920 (single_queue_check_full), (gst_single_queue_new):
4921 Implement single queue growth system.
4922 This uses the extra-size properties, and will grow single queues by
4923 that much if one goes full whereas there are others empty. This is
4924 called extra-mode in the code.
4925 When a single queue's levels go back below the initial max-size
4926 limits, it is no longer in extra-mode. This is to ensure we don't
4927 consume too much memory.
4930 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
4932 * gst/gst.c: (gst_init_get_option_group):
4933 Make warning about late g_thread_init() calls a bit more explicit,
4934 so that it's more obvious to application developers what they need
4935 to do if a user files a bug against their application.
4937 2007-01-22 Edward Hervey <edward@fluendo.com>
4939 * plugins/elements/gstmultiqueue.c:
4940 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
4941 Remove previous hack of unsetting the flushing flag for the source pad
4942 instead of activating it. Instead, fix the source pad activate function
4943 so that it no longer depends on having a parent set or not.
4945 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
4947 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
4949 * docs/manual/basics-bus.xml:
4950 Fix example code, gst_element_unref() doesn't exist any longer.
4952 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
4954 Patch by: Mark Nauwelaerts <manauw at skynet be>
4957 Fix two docs typoes (#399094).
4959 2007-01-19 Edward Hervey <edward@fluendo.com>
4961 * docs/faq/gst-uninstalled:
4962 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
4963 depending on libgstbaseutils can work in uninstalled environment.
4965 2007-01-18 Stefan Kost <ensonic@users.sf.net>
4968 * gst/gsttagsetter.c:
4969 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
4970 statement for new tag.
4972 2007-01-17 Edward Hervey <edward@fluendo.com>
4974 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
4975 When dynamically creating single queues, activate sinkpad before adding
4977 We should be doing the same thing for the source pad, but we can't
4978 since it would call a method which needs the parent to be set in order
4979 to work propertly. Instead of activating the source pad, we just unset
4980 the flushing flag, which is the minimal requirement for adding a pad
4981 to an element in a state greater than READY.
4983 2007-01-17 Edward Hervey <edward@fluendo.com>
4985 * docs/faq/gst-uninstalled:
4986 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
4989 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
4991 * tests/check/gst/gstabi.c:
4992 * tests/check/gst/struct_hppa.h:
4993 * tests/check/libs/libsabi.c:
4994 * tests/check/libs/struct_hppa.h:
4995 Add ABI structs for HPPA (see #393796).
4997 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
4999 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
5000 Actually write ABI structs to the file specified in the GST_ABI
5001 environment variable, as the message we print claims we would.
5003 2007-01-15 Stefan Kost <ensonic@users.sf.net>
5005 * tests/check/gst/gsttask.c:
5008 2007-01-15 Stefan Kost <ensonic@users.sf.net>
5010 * gst/gsttaglist.c: (_gst_tag_initialize):
5011 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
5012 previous two entries.
5014 2007-01-15 Stefan Kost <ensonic@users.sf.net>
5016 * docs/gst/gstreamer-sections.txt:
5017 * gst/gsttaglist.c: (_gst_tag_initialize):
5019 Add tag support for beat-per-minute.
5021 2007-01-15 Stefan Kost <ensonic@users.sf.net>
5023 * gst/gstregistrybinary.c: (gst_registry_binary_write),
5024 (gst_registry_binary_initialize_magic),
5025 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
5026 (gst_registry_binary_save_pad_template),
5027 (gst_registry_binary_save_feature),
5028 (gst_registry_binary_save_plugin),
5029 (gst_registry_binary_write_cache),
5030 (gst_registry_binary_check_magic),
5031 (gst_registry_binary_load_pad_template),
5032 (gst_registry_binary_load_feature),
5033 (gst_registry_binary_load_plugin),
5034 (gst_registry_binary_read_cache):
5035 * gst/gstregistrybinary.h:
5036 Use glib types, cleanup comments, impement interfaces and uri-types.
5038 2007-01-13 Andy Wingo <wingo@pobox.com>
5040 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
5041 getrange() to return buffers with other caps, while we fix
5042 demuxers and typefind, or otherwise change part-negotiation.txt.
5044 2007-01-12 Andy Wingo <wingo@pobox.com>
5046 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
5047 Factor start/stop into this private function instead of partially
5048 in activate functions and partially in the change_state function.
5049 Fixes setup before the element has changed from READY->PAUSED, as
5050 is the case in pull-mode pipelines.
5051 (gst_base_transform_sink_activate_push)
5052 (gst_base_transform_src_activate_pull): Refactor to use
5053 gst_base_transform_activate().
5054 (gst_base_transform_change_state): Removed, not needed any more.
5056 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
5057 Truncate before fixating.
5059 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
5060 Don't set_caps() if the result of fixating is ANY, as it's not
5061 supported, and not necessary in the case of a link with no
5062 template caps on either side. Fixes tests/check/libs/basesrc in
5063 some pull-mode tests.
5065 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
5066 (gst_base_transform_init, gst_base_transform_sink_activate_push)
5067 (gst_base_transform_src_activate_pull):
5068 Track the activation mode.
5069 (gst_base_transform_setcaps): In pull mode, when activating the
5070 src pad, after activating the sink pad, activate the sink pad's
5071 peer, as discussed in part-negotiation.txt.
5073 * libs/gst/base/gstbasesrc.h:
5074 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
5075 vmethod, as in basesink.
5077 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
5079 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
5080 mode, first proxy the setcaps to the peer pad.
5081 (gst_base_sink_pad_fixate): Add a fixate function that calls the
5083 (gst_base_sink_default_activate_pull): Rename from
5084 gst_base_sink_activate_pull.
5085 (gst_base_sink_negotiate_pull): New function, performs negotiation
5086 in pull mode before calling ::activate_pull().
5087 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
5088 vmethod instead of the default implementation. I have no idea how
5089 this worked before. Negotiate before calling activate_pull.
5091 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
5092 sink pads in pull mode. In addition to being correct, fixes
5093 filesrc ! decodebin ! identity ! fakesink.
5094 (gst_pad_get_range, gst_pad_pull_range): Don't call
5095 gst_pad_set_caps() if the caps changes; instead error out with
5096 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
5098 2007-01-12 Andy Wingo <wingo@pobox.com>
5100 * docs/design/part-negotiation.txt: Update with more policy.
5102 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
5104 * libs/gst/check/gstbufferstraw.h:
5105 * libs/gst/check/gstcheck.h:
5106 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
5109 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
5111 * tests/check/Makefile.am:
5112 * tests/check/gst/.cvsignore:
5113 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
5114 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
5115 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
5116 (GST_START_TEST), (gst_tag_setter_suite):
5117 Add minimal unit test for beforementioned GstTagSetter bug.
5119 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
5121 Patch by: René Stadler <mail at renestadler dot de>
5123 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
5124 gst_tag_list_merge() returns a new list, so it's not the best idea
5125 to ingore its return value. Effectively meant that tags could only
5126 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
5127 Also add function guard to require a non-NULL taglist as input (has
5128 always been so due to gst_tag_list_copy(), just making it explicit).
5130 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
5132 * docs/random/draft-missing-plugins.txt:
5133 Some additions: mention new API that is supposed to be used at the
5134 various stages; short blob about new gst-inspect introspection
5135 option; mention potential future problem with plugins that have
5136 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
5138 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
5140 * tools/gst-inspect.c:
5141 (print_plugin_automatic_install_info_codecs),
5142 (print_plugin_automatic_install_info_protocols),
5143 (print_plugin_automatic_install_info), (main):
5144 Add --print-plugin-auto-install-info option to gst-inspect, so we can
5145 introspect plugin files and get machine-parsable output that corresponds
5146 to the last bit of the missing-plugin installer string (small gotcha:
5147 doesn't take into account ranks).
5149 2007-01-11 Stefan Kost <ensonic@users.sf.net>
5152 * docs/gst/gstreamer-sections.txt:
5154 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
5155 (gst_registry_lookup_locked):
5156 * gst/gstregistry.h:
5157 * gst/gstregistrybinary.c: (gst_registry_binary_write),
5158 (gst_registry_binary_initialize_magic),
5159 (gst_registry_binary_save_string),
5160 (gst_registry_binary_save_pad_template),
5161 (gst_registry_binary_save_feature),
5162 (gst_registry_binary_save_plugin),
5163 (gst_registry_binary_write_cache),
5164 (gst_registry_binary_check_magic),
5165 (gst_registry_binary_load_pad_template),
5166 (gst_registry_binary_load_feature),
5167 (gst_registry_binary_load_plugin),
5168 (gst_registry_binary_read_cache):
5169 * gst/gstregistrybinary.h:
5170 * gst/gstregistryxml.c: (load_feature),
5171 (gst_registry_xml_read_cache):
5172 commit binary registry (disabled by default, see #359653)
5174 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
5176 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
5177 Fix 'make check' too.
5179 2007-01-10 Andy Wingo <wingo@pobox.com>
5181 * docs/design/part-negotiation.txt: Fix a typo, add a couple
5184 * docs/design/part-negotiation.txt: Update with, um, one way that
5185 pull-mode negotiation might work?
5188 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
5189 that the pad must be a src pad; makes sense to call it the other
5190 way in pull mode, and the logic is symmetric anyway.
5192 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
5194 * plugins/elements/gstfilesink.c:
5195 Include <stdio.h> for fseeko().
5197 2007-01-10 Wim Taymans <wim@fluendo.com>
5201 Reserve LATENCY event.
5203 2007-01-09 Wim Taymans <wim@fluendo.com>
5205 * docs/design/draft-latency.txt:
5208 2007-01-09 Wim Taymans <wim@fluendo.com>
5210 * docs/design/draft-latency.txt:
5214 * gst/gststructure.c:
5218 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
5220 * tests/check/.cvsignore:
5221 Ignore test-registry.xml as well.
5223 2007-01-09 Wim Taymans <wim@fluendo.com>
5225 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
5226 unref data at the end when we are done with the pad.
5228 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
5230 * docs/gst/gstreamer-sections.txt:
5231 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
5232 (init_post), (gst_deinit), (gst_update_registry):
5234 API: add gst_update_registry() (#391296).
5236 * tests/check/Makefile.am:
5237 * tests/check/gst/gstregistry.c:
5238 * tests/check/gst/.cvsignore:
5239 Simple unit test for the above.
5241 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
5243 * gst/gstregistry.c: (gst_registry_scan_path_level):
5244 Plugin extension on HP-UX is .sl, add that to the list of approved
5245 plugin extensions (see #393796).
5247 * tests/check/gst/gstpad.c: (GST_START_TEST):
5248 ulong => gulong. Fixes compilation with HP-UX compiler.
5250 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
5251 Fix compilation if valgrind headers are not available.
5253 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
5255 * win32/common/libgstreamer.def:
5256 Add new exported function.
5257 * win32/vs6/libgstbase.dsp:
5258 Add gstdataqueue.c to the build.
5259 * win32/vs6/libgstcoreelements.dsp:
5260 Add gstmultiqueue.c to the build.
5262 2007-01-06 Andy Wingo <wingo@pobox.com>
5264 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
5265 activate_pull(), providing for a way to specialize the process of
5266 spawning a thread to pull on the sink pad. There is a default
5269 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
5270 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
5271 (gst_base_sink_init): Renamed pad activation functions (inserting
5272 "_pad" in their names). Refactor to use the new activate_pull
5273 vmethod, as appropriate.
5274 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
5275 default activate_pull function to start a task pulling from the
5276 sink pad, as before.
5278 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
5279 on the pads if necessary, as in push()/chain(). Update docs.
5280 Shouldn't affect existing pull() usage as it is currently only
5281 being used on buffers without caps.
5283 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
5285 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
5287 Call g_thread_init() first thing in gst_init() / gst_check_init().
5288 When initialisation is done via gst_init_get_option_group() and
5289 GOption parsing, issue a warning if the GLib thread system has not
5290 been initialised yet by the time gst_init_get_option_group() is
5291 called, as it's quite likely other GLib functions such as
5292 g_option_context_new() have been called already then, and
5293 g_thread_init() must be called before any other GLib function. The
5294 application in question must be fixed in that case, since memory
5295 corruption might happen otherwise.
5296 We issue the warning because even if the GLib folks decide to work
5297 around the problem on their end in future, this is still an issue
5298 with all GLib versions >= 2.10.0, so we should warn until we depend
5299 on a GLib version we know to be safe.
5300 Update documentation as well.
5303 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
5305 * tools/gst-inspect.c: (main):
5306 * tools/gst-launch.c: (main):
5307 * tools/gst-typefind.c: (main):
5308 * tools/gst-xmlinspect.c: (main):
5309 Call g_thread_init() really really early, before any other GLib
5310 function (see #342564 and recent discussion on gtk-devel-list).
5312 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
5314 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
5316 * gst/gst_private.h:
5317 * gst/gstconfig.h.in:
5319 On win32, all the __declspec stuff for symbol exporting is
5320 apparently only needed with MSVC, but doesn't work with MingW.
5321 Fixes compilation with MingW and #391909.
5323 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
5325 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
5326 Change some GST_ERROR_OBJECT that aren't really errors to
5327 GST_WARNING_OBJECT in order to reduce terminal spam.
5329 2007-01-04 Stefan Kost <ensonic@users.sf.net>
5331 * tests/check/Makefile.am:
5332 disable test again, as there seem to be still race problems
5334 2007-01-04 Stefan Kost <ensonic@users.sf.net>
5336 * tests/check/Makefile.am:
5337 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5338 (GST_START_TEST), (queue_suite):
5339 enable queue test again, add tests for the leaky behaviour
5341 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
5344 * tests/examples/Makefile.am:
5345 Compile adapter test/example only if the required headers are
5346 available (fixes #391915).
5348 2007-01-01 David Schleef <ds@schleef.org>
5351 Restore the previous signal handler for SIGSEGV instead of
5352 setting to default, since we may have stolen it away from
5353 someone. (i.e., Mono)
5355 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
5357 * docs/random/draft-missing-plugins.txt:
5358 Some small additions and clarifications.
5360 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
5362 * gst/gstregistryxml.c: (gst_registry_save_escaped):
5363 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
5364 since that can lead to random memory corruptions and crashes
5365 (may or may not be related to #383244, #386711, and #386711).
5367 2006-12-21 Stefan Kost <ensonic@users.sf.net>
5369 * tests/check/.cvsignore:
5370 * tests/check/Makefile.am:
5371 sync .cvsignome and CLEANFILES
5373 2006-12-21 Stefan Kost <ensonic@users.sf.net>
5375 * tests/check/Makefile.am:
5378 2006-12-21 Stefan Kost <ensonic@users.sf.net>
5380 * docs/design/part-states.txt:
5381 two tiny additional comments
5383 * gst/gststructure.c:
5386 * tests/check/Makefile.am:
5387 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5389 disable test for now, unless it gets fixed
5391 2006-12-21 Stefan Kost <ensonic@users.sf.net>
5393 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5395 fix race in underrun test
5397 2006-12-21 Stefan Kost <ensonic@users.sf.net>
5399 * tests/check/elements/.cvsignore:
5402 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5404 try to narrow test failure
5406 2006-12-21 David Schleef <ds@schleef.org>
5408 * plugins/elements/gstfakesrc.c:
5409 Use g_random_int_range(), since it produces better random
5410 numbers in a range than almost-correct floating point code.
5412 2006-12-21 Stefan Kost <ensonic@users.sf.net>
5414 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
5415 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
5416 (gst_check_teardown_sink_pad):
5417 do not automatically (de)activate pads
5419 * tests/check/Makefile.am:
5420 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5421 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
5422 add new, yet simple tests for queue
5424 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
5425 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
5426 * tests/check/elements/filesrc.c: (cleanup_filesrc),
5428 * tests/check/elements/identity.c: (cleanup_identity):
5429 consistent pad (de)activation
5431 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
5433 Patch by: Sebastian Dröge <slomo ubuntu com>
5435 * libs/gst/base/gstcollectpads.c:
5436 Fix two doc typos (#387866).
5438 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
5440 * docs/manual/advanced-dparams.xml:
5441 Fix typo (g_object_control_properties() doesn't exist).
5443 2006-12-19 Edward Hervey <edward@fluendo.com>
5445 * gst/gstsegment.c: (gst_segment_set_seek):
5446 Fine tune the cases where the segment start/stop values are really
5448 * tests/check/gst/gstsegment.c: (GST_START_TEST):
5449 Add tests for the return values of gst_segment_set_seek().
5451 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
5456 * plugins/elements/gstqueue.c: (gst_queue_class_init),
5458 Fix incorrect documentation and flesh it out a bit more.
5459 Set default values for the max properties on the GParamSpec as well,
5460 so it shows up correctly in gst-inspect.
5462 2006-12-18 Stefan Kost <ensonic@users.sf.net>
5464 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
5465 Correct docs of queue, add more detail and crosslink it more.
5467 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
5469 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
5470 Print additional debug info when the stream isn't perfectly
5471 timestamped; don't try to use invalid durations.
5473 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
5475 * docs/design/Makefile.am:
5476 Dist new design docs.
5478 2006-12-16 Wim Taymans <wim@fluendo.com>
5480 Patch by: Sjoerd Simons <sjoerd at luon dot net>
5482 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
5483 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
5484 (gst_collect_pads_stop), (gst_collect_pads_event),
5485 (gst_collect_pads_chain):
5486 * libs/gst/base/gstcollectpads.h:
5487 Add refcounting to the collectpads data so we can track when it's safe
5488 to free the data. Fixes #383382.
5490 2006-12-15 Wim Taymans <wim@fluendo.com>
5492 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
5493 (gst_collect_pads_remove_pad):
5494 Automatically activate/deactivate pads when they are added to a
5495 started/stoped collectpads.
5497 2006-12-15 Wim Taymans <wim@fluendo.com>
5499 * gst/gstelement.c: (gst_element_add_pad):
5500 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
5501 * gst/gstpad.c: (gst_pad_init):
5502 Set pads to FLUSHING when they are created. Check, warn and fix when a
5503 demuxer adds an inactive pad to itself when running. Fixes #339326.
5505 2006-12-15 Wim Taymans <wim@fluendo.com>
5507 * gst/gstelement.c: (gst_element_class_init),
5508 (gst_element_default_send_event), (gst_element_send_event),
5509 (gst_element_default_query), (gst_element_query):
5510 Expose default element send_event and query handling as vmethods that
5511 subclasses can chain up to.
5513 2006-12-15 Wim Taymans <wim@fluendo.com>
5515 * gst/gstelement.c: (gst_element_set_state_func):
5516 Small documentation fixes.
5518 2006-12-15 Wim Taymans <wim@fluendo.com>
5520 * docs/design/draft-latency.txt:
5521 Checked in draft for handling latency in pipelines.
5523 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
5527 * gstreamer.spec.in:
5530 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
5532 * gst/gst.c: (init_pre), (init_post):
5533 init_pre() and init_post() might be called via our GOptionGroup or
5534 from gst_init(), and we should skip both of them if we've already
5535 been initialised, otherwise we will init some things twice or add
5536 two default log functions.
5538 2006-12-13 Edward Hervey <edward@fluendo.com>
5540 * docs/manual/basics-bus.xml:
5541 No, gst_main_loop does not exist. Its g_main_loop.
5542 Discovered by somebody who abused the copy-paste technique of coding :)
5544 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
5546 * gst/gstghostpad.c:
5547 Log ghostpad debug stuff to the GST_PADS category as well rather
5548 than just to the default category.
5550 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
5553 * gst/gst.c: (init_pre):
5554 Add some basic system details such as OS and architecture
5555 to the debug output if possible, courtesy of uname().
5557 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
5559 * docs/gst/running.xml:
5560 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
5561 environment variables.
5563 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
5565 * tests/check/gst/gstbin.c: (GST_START_TEST):
5566 It is acceptable to have a refcount of 2 or 3 at this point in the
5567 test, because the pipeline might be just posting its state_change
5568 message. The next line then waits for that message to appear using
5569 bus_poll, so that should be fine too.
5571 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
5573 * gst/gst.c: (ensure_current_registry_forking):
5574 Ignore EINTR when reading from the child registry pipe.
5575 Explicitly ignore the return value from close, since it makes no
5578 * gst/gstminiobject.c: (gst_mini_object_ref),
5579 (gst_mini_object_unref):
5580 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
5582 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
5583 When removing cached plugins, remove their features too, so they're
5584 not visible after they've disappeared.
5586 * gst/gstutils.c: (prepare_link_maybe_ghosting):
5587 In the unlikely case that we are linking pads with no parents, don't
5588 crash trying to get the non-existent parent bin.
5590 * gst/parse/grammar.y:
5591 Output debug in the PIPELINE category
5593 2005-03-08 Wim Taymans <wim@fluendo.com>
5595 Patch by: René Stadler <mail at renestadler dot de>
5597 * gst/gstclock.c: (gst_clock_new_periodic_id):
5598 Reject invalid clock times for interval of periodic ids.
5601 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
5603 * gst/gstelementfactory.c: (gst_element_factory_create):
5604 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
5605 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
5606 * tools/gst-inspect.c: (print_element_info):
5607 Fix refcounting of gst_plugin_feature_load to match the docs.
5610 2006-12-07 Wim Taymans <wim@fluendo.com>
5612 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
5613 (gst_base_sink_get_position):
5614 Improve debugging of events.
5616 2006-12-07 Wim Taymans <wim@fluendo.com>
5618 Patch by: René Stadler <mail at renestadler dot de>
5620 * gst/gstclock.c: (gst_clock_id_wait):
5621 Make period ids add the interval to the origial requested time instead
5622 of the possibly updated time which can be wrong when there are multiple
5623 waiters for the same id. Fixes #382592.
5625 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
5626 (gst_system_clock_id_wait_jitter_unlocked),
5627 (gst_system_clock_id_wait_jitter):
5628 Fix restart in the async notify thread when an async entry is added to
5629 the front of the list. Fixes #381492.
5631 * tests/check/gst/gstsystemclock.c: (store_callback),
5632 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
5633 Added test for multiple async waits.
5634 Added test for async wait order.
5636 2006-12-07 Wim Taymans <wim@fluendo.com>
5638 * gst/gstbin.c: (gst_bin_query):
5639 Add some more docs about the POSITION query.
5641 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
5644 Bump version nano - back to CVS.
5646 === release 0.10.11 ===
5648 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
5651 releasing 0.10.11, "Love never runs on time"
5653 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
5655 * win32/common/libgstbase.def:
5656 * win32/common/libgstreamer.def:
5657 * win32/vs8/libgstbase.vcproj:
5658 * win32/vs8/libgstcoreelements.vcproj:
5659 * win32/vs8/libgstreamer.vcproj:
5660 Fix compilation on win32 under VS8
5661 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
5662 Partially fixes #381175
5664 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
5666 * gst/gstvalue.c: (gst_value_compare_fraction):
5667 If someone is foolish enough to compare 2 fractions with denominator =
5668 0, return UNORDERED rather than aborting.
5670 2006-11-28 Edward Hervey <edward@fluendo.com>
5672 * libs/gst/base/Makefile.am:
5673 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
5674 (gst_data_queue_base_init), (gst_data_queue_class_init),
5675 (gst_data_queue_init), (gst_data_queue_new),
5676 (gst_data_queue_cleanup), (gst_data_queue_finalize),
5677 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
5678 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
5679 (gst_data_queue_is_empty), (gst_data_queue_is_full),
5680 (gst_data_queue_set_flushing), (gst_data_queue_push),
5681 (gst_data_queue_pop), (gst_data_queue_drop_head),
5682 (gst_data_queue_set_property), (gst_data_queue_get_property):
5683 * libs/gst/base/gstdataqueue.h:
5684 New GstDataQueue object for threadsafe queueing. Most useful for
5685 elements that need some queueing functionnality.
5686 * docs/libs/gstreamer-libs-docs.sgml:
5687 * docs/libs/gstreamer-libs-sections.txt:
5688 Insert documentation for GstDataQueue
5689 * plugins/elements/Makefile.am:
5690 * plugins/elements/gstelements.c:
5691 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
5692 (gst_multi_queue_class_init), (gst_multi_queue_init),
5693 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
5694 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
5695 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
5696 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
5697 (gst_multi_queue_loop), (gst_multi_queue_chain),
5698 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5699 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
5700 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
5701 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
5702 (wake_up_next_non_linked), (compute_next_non_linked),
5703 (single_queue_overrun_cb), (single_queue_underrun_cb),
5704 (single_queue_check_full), (gst_single_queue_new):
5705 * plugins/elements/gstmultiqueue.h:
5706 New multiqueue element, using GstDataQueue. Used for queuing multiple
5708 Closes #344639 and #347785
5710 2006-11-22 Stefan Kost <ensonic@users.sf.net>
5712 * docs/pwg/advanced-types.xml:
5713 add more missing type details
5715 * tools/gst-run.c: (main):
5716 remove unused variable
5718 2006-11-21 Stefan Kost <ensonic@users.sf.net>
5720 * docs/libs/Makefile.am:
5721 * docs/libs/gstreamer-libs.types:
5722 add types of base classes to enable gobject specific stuff in the docs
5724 * docs/random/ensonic/embedded.txt:
5725 more ideas about isolating platform specific things
5727 2006-11-20 Wim Taymans <wim@fluendo.com>
5729 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
5731 * libs/gst/check/gstcheck.h:
5732 Fix compilation and running against 0.9.4. Fixes #377332.
5734 2006-11-20 Wim Taymans <wim@fluendo.com>
5736 * gst/gstsegment.c: (gst_segment_set_seek),
5737 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5738 (gst_segment_to_running_time):
5739 Fix boundary checking in to_running_time() and to_stream_time().
5742 * tests/check/gst/gstsegment.c: (GST_START_TEST):
5743 stream and running time can now be calculated for the complete
5746 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
5748 * gst/gstpad.c: (gst_pad_push_event):
5749 Can't access event structure after giving away ownership of
5752 2006-11-15 Stefan Kost <ensonic@users.sf.net>
5754 * docs/random/ensonic/embedded.txt:
5755 * docs/random/ensonic/profiling.txt:
5756 * docs/random/ensonic/receipies.txt:
5759 2006-11-13 Wim Taymans <wim@fluendo.com>
5761 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5764 Fix documentation for gst_pad_dispatcher. Fixes #374475.
5766 2006-11-13 Wim Taymans <wim@fluendo.com>
5768 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
5770 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
5771 Store new length in segment duration so we don't keep on calling the
5772 potentially expensize get_size() call. Fixes #370865.
5774 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
5776 Patch by: Sergey Scobich <sergey.scobich at gmail com>
5778 * win32/common/libgstreamer.def:
5779 Add two missing symbols (#366492).
5781 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
5783 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
5784 (gst_adapter_take_buffer):
5785 Fix format string to use all its arguments.
5786 Remove useless >= check on a guint
5788 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
5790 * tests/examples/adapter/.cvsignore:
5791 Ignore build file as commanded by the build-bot
5793 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
5795 * tests/examples/adapter/Makefile.am:
5796 * tests/examples/adapter/adapter_test.c: (run_test_take),
5797 (run_test_take_buffer), (run_tests), (main):
5799 Add new files from the previous commit
5801 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
5805 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
5806 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
5807 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
5808 * libs/gst/base/gstadapter.h:
5809 * tests/check/libs/adapter.c: (create_and_fill_adapter),
5810 (GST_START_TEST), (gst_adapter_suite):
5811 * tests/examples/Makefile.am:
5812 Do some optimisation work in GstAdapter to avoid copies in more cases.
5813 It could still do slightly better by merging buffers when
5814 gst_buffer_is_span_fast is true, but is already faster.
5816 Also, avoid traversing a single-linked list to append each incoming
5817 buffer inside the adapter.
5819 Add simple test app that times the adapter behaviour in different
5820 situations, and extend the unit test to check that bytes enter and
5821 exit the adapter in their original order.
5823 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
5825 * docs/random/draft-missing-plugins.txt:
5826 Update: use element message instead of adding a new message
5827 type to the core; don't provide GStreamer API to initiate the
5828 plugin download, just provide API to compose the strings needed
5829 and let an external libgimmestuff handle the rest.
5831 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
5833 * tools/gst-inspect.c: (print_element_properties_info):
5834 Print a string instead of 'unknown type' for GValueArray properties
5836 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
5838 * docs/random/draft-missing-plugins.txt:
5841 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
5843 * tests/examples/typefind/typefind.c: (type_found), (main):
5844 Make typefind element example work again (#371894); add a
5847 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
5849 * docs/random/draft-missing-plugins.txt:
5850 Commit initial draft about how to deal with missing plugins,
5851 needs work (API too).
5853 2006-11-07 Stefan Kost <ensonic@users.sf.net>
5855 * docs/pwg/advanced-types.xml:
5856 documents the new caps elements (see #363118)
5858 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
5860 * gst/gstplugin.c: (gst_plugin_load_file):
5861 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
5862 (gst_file_src_map_region), (gst_file_src_start):
5863 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
5864 (gst_file_index_commit):
5865 Use g_strerror() instead of strerror() - we want UTF-8.
5867 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
5869 Patch by: Peter Kjellerstedt <pkj at axis com>
5871 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
5872 Another printf fix (#371493).
5874 2006-11-06 Stefan Kost <ensonic@users.sf.net>
5876 * tests/check/gst/gsttag.c:
5877 relicence (okay with author=company)
5879 2006-11-06 Stefan Kost <ensonic@users.sf.net>
5881 * gst/gstpad.c: (gst_pad_event_default_dispatch),
5882 (gst_pad_push_event):
5883 Enhance debug and improve docs
5888 2006-11-06 Stefan Kost <ensonic@users.sf.net>
5890 * docs/random/ensonic/distributed.txt:
5891 * docs/random/ensonic/profiling.txt:
5894 2006-11-06 Stefan Kost <ensonic@users.sf.net>
5896 * docs/gst/gstreamer-sections.txt:
5897 add new API and fix the build
5899 * gst/gstbin.c: (gst_bin_recalc_state):
5900 * gst/gstelement.c: (gst_element_message_full),
5901 (gst_element_get_state_func), (gst_element_set_state_func):
5902 use new API and improve logging
5904 * gst/gstutils.c: (gst_element_state_change_return_get_name):
5906 API: add function to get StateChangereturn names to improve logs
5908 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
5910 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
5911 I'm considering shooting the next person to put strerror stuff
5912 in the translateable part of the message.
5914 2006-11-03 Wim Taymans <wim@fluendo.com>
5916 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
5917 Get the type and printf conversion specifiers right.
5919 2006-11-03 Wim Taymans <wim@fluendo.com>
5921 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5923 * gst/gstpad.c: (gst_pad_init), (pre_activate),
5924 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
5925 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
5926 Some small cleanups. Improve debugging.
5928 Signal all waiting threads with a broadcast instead of just one.
5931 2006-11-03 Wim Taymans <wim@fluendo.com>
5933 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
5934 (gst_fd_src_create):
5936 Only update fd when it's different from the old.
5938 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
5940 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
5941 Printf fixes for PPC/OSX, take two (#369366).
5943 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
5945 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
5947 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
5948 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
5949 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
5950 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
5951 don't cast to long long for portability reasons, but use
5952 GLib's types instead.
5954 2006-10-30 Michael Smith <msmith@fluendo.com>
5956 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
5957 Get the arguments to lseek() the right way around.
5960 2006-10-30 Wim Taymans <wim@fluendo.com>
5962 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
5965 _declspec should be __declspec (two underscores, not one). Fixes 366572.
5967 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
5969 Patch by: Kjartan Maraas <kmaraas at gnome org>
5971 * docs/design/part-MT-refcounting.txt:
5972 * docs/random/wtay/capsnego2-docs:
5975 Typo fixes (#366212).
5977 2006-10-28 Wim Taymans <wim@fluendo.com>
5979 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
5982 * win32/common/libgstbase.def:
5983 * win32/common/libgstreamer.def:
5984 * win32/vs8/libgstbase.vcproj:
5985 * win32/vs8/libgstcontroller.vcproj:
5986 Add needed entries in .def files.
5988 Rearrange def files in vs8 solutions. Fixes #366286.
5990 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
5992 * win32/common/gstconfig.h:
5993 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
5994 hand-made win32 gstconfig.h. Fixes #366321.
5996 2006-10-27 Wim Taymans <wim@fluendo.com>
5998 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
5999 (gst_ghost_pad_new_full):
6000 Make acceptcaps return TRUE when we don't have a target, just like
6003 2006-10-27 Wim Taymans <wim@fluendo.com>
6005 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
6006 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
6008 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
6010 * gst/gststructure.c: (gst_structure_id_set_value):
6011 If someone tries to set a non-UTF8 string field on a structure,
6012 don't just print a warning, but also ignore the request and do
6013 not change/add that field to the structure.
6015 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6018 2006-10-25 David Schleef <ds@schleef.org>
6021 g_hash_table_insert() needs a cast to a non-const pointer duh.
6023 2006-10-25 David Schleef <ds@schleef.org>
6027 Change name parameter of _gst_debug_register_funcptr to const
6028 to reflect the constness of its use in the function as well
6029 as to quiet a gcc warning.
6031 2006-10-25 Edward Hervey <edward@fluendo.com>
6033 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
6034 Don't push the buffer if it's empty.
6037 2006-10-24 Wim Taymans <wim@fluendo.com>
6042 * libs/gst/base/gstbasetransform.c:
6043 (gst_base_transform_sink_eventfunc):
6044 Debug segment values *after* updating them as this is more
6047 2006-10-23 Wim Taymans <wim@fluendo.com>
6049 * docs/design/part-events.txt:
6052 * docs/design/part-block.txt:
6053 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
6054 (gst_pad_push_event):
6055 Revert BLOCKING patch, it tries to be smart without really having a
6056 clear idea what or how. So, now we discard all FLUSHING events again on
6057 a blocking pad. Should fix gnonlin again.
6059 2006-10-23 Wim Taymans <wim@fluendo.com>
6061 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
6063 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6064 (gst_base_src_start), (gst_base_src_activate_push):
6065 Make sure size is always initialized. Fixes #364388.
6067 2006-10-20 Stefan Kost <ensonic@users.sf.net>
6069 * docs/random/ensonic/distributed.txt:
6070 add some ideas about doing distributed processing
6072 * docs/random/ensonic/profiling.txt:
6073 get_rusage look promising
6075 2006-10-18 Stefan Kost <ensonic@users.sf.net>
6077 * docs/manual/basics-helloworld.xml:
6078 Add a cast in example to fix compile warning
6080 2006-10-18 Wim Taymans <wim@fluendo.com>
6082 * gst/gstsegment.c: (gst_segment_set_last_stop),
6083 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
6084 Relax arg checking again, -1 is allowed.
6086 2006-10-18 Wim Taymans <wim@fluendo.com>
6088 * gst/gstsegment.c: (gst_segment_set_last_stop),
6089 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
6090 _set_last_stop() must be with a value != -1
6091 A _TYPE_SET to -1 means seek to 0.
6092 Calc last_stop correctly for negative rates.
6093 Make sure we work with positive durations when updating a segment.
6095 2006-10-18 Wim Taymans <wim@fluendo.com>
6097 * docs/design/part-live-source.txt:
6101 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
6104 Add an explicit cast to GstBuffer** to keep old code that added an
6105 explicit cast to GstMiniObject** for gst_mini_object_replace()
6106 compiling without warning.
6108 2006-10-18 Stefan Kost <ensonic@users.sf.net>
6110 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
6111 check for validity of dates
6113 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
6115 * docs/gst/gstreamer-sections.txt:
6116 Forgot this one, makes gtk-doc shut up.
6118 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
6120 Patch by: Peter Kjellerstedt <pkj at axis com>
6123 Don't define xmlNodePtr to gpointer if the core was built with
6124 --disable-loadsave and --disable-registry, this will break
6125 applications that want to use libxml2 but are buildling against a
6126 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
6127 instead so we don't have to mess with the libxml2 namespace
6130 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
6133 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
6134 type-punned pointer warnings.
6136 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
6139 Add casts to the correct return type to state <=> state transition
6142 2006-10-16 Stefan Kost <ensonic@users.sf.net>
6144 * docs/design/part-live-source.txt:
6145 describe howto handle latency
6147 * docs/random/ensonic/profiling.txt:
6150 * tools/gst-plot-timeline.py:
6151 fix log parsing for solaris, remove unused function
6153 2006-10-16 Wim Taymans <wim@fluendo.com>
6155 * docs/design/part-trickmodes.txt:
6157 Update some docs regarding reverse playback.
6159 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
6161 Patch by: Marcus Granado <mrc dot gran at gmail com>
6163 * win32/vs8/grammar.vcproj:
6164 Error out with a warning if glib-genmarshal.exe is not in path,
6165 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
6167 2006-10-13 Wim Taymans <wim@fluendo.com>
6169 * gst/gstsegment.c: (gst_segment_set_seek):
6170 When seeking to stop -1, set last_stop (current position) to the
6171 duration of the segment.
6173 2006-10-13 Wim Taymans <wim@fluendo.com>
6176 Clarify _NO_PREROLL a bit more.
6181 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
6182 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
6183 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
6184 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
6185 due to wrong locking order. Fixes #361769.
6186 Remove some redundant/misplaced checks in pad_block.
6188 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6189 For negative rates, count backwards from the duration.
6191 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
6193 * gst/gsterror.c: (_gst_library_errors_init):
6194 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
6195 up with something better).
6197 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
6199 * win32/vs6/libgstreamer.dsp:
6200 * win32/vs7/libgstreamer.vcproj:
6201 * win32/vs8/libgstreamer.vcproj:
6202 Don't reference glib-compat.c which is currently not used and not
6203 disted; add gstquark.c which was recently added. Fixes #361730.
6205 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
6207 * win32/common/libgstbase.def:
6208 * win32/common/libgstcontroller.def:
6209 * win32/common/libgstreamer.def:
6210 Add gst_caps_merge() and a bunch of other recently-added functions.
6213 2006-10-11 Wim Taymans <wim@fluendo.com>
6215 * docs/plugins/gstreamer-plugins.args:
6216 * docs/plugins/inspect/plugin-coreelements.xml:
6217 * docs/plugins/inspect/plugin-coreindexers.xml:
6218 Update element args.
6220 * gst/gstsystemclock.c:
6221 Small comment update.
6223 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
6224 (gst_tee_request_new_pad), (gst_tee_release_pad),
6225 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
6226 (gst_tee_sink_activate_pull):
6227 * plugins/elements/gsttee.h:
6229 Add default property defines.
6230 Implement release pad function.
6231 Give properties better blubs etc.
6232 Activate pads before adding them to a running tee.
6233 Do simple buffer_alloc on the first requested pad.
6234 Post error when activation fails.
6236 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
6238 * gst/gst.c: (ensure_current_registry_forking):
6239 Check return value of write() to make compiler happy.
6241 2006-10-11 Wim Taymans <wim@fluendo.com>
6243 Patch by: Sjoerd Simons <sjoerd at luon dot net>
6245 * plugins/elements/gstqueue.c: (gst_queue_chain):
6246 Recheck queue filledness after signalling the overrun when we're about
6247 to leak downstream because we released the lock when emitting the signal
6248 and the queue could be empty again. Fixes #352345.
6250 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
6252 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
6253 Fix refcounting here too, just like we did for _new_valist() a few
6254 days ago (#357180) (thanks to René Stadler). Also remove all those
6255 'Since: 0.9' from the gtk-doc blobs.
6257 * tests/check/libs/controller.c: (controller_refcount_new_list),
6258 (gst_controller_suite):
6259 Unit test for the above.
6261 2006-10-10 Wim Taymans <wim@fluendo.com>
6263 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
6265 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
6266 (gst_pad_save_thyself):
6268 Write pad direction in XML output. Fixes #345496.
6270 2006-10-10 Wim Taymans <wim@fluendo.com>
6272 Patch by: René Stadler <mail at renestadler dot de>
6274 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6275 (gst_controller_new_list), (_gst_controller_dispose),
6276 (_gst_controller_finalize), (_gst_controller_class_init):
6277 Take ref to controlled object so that it cannot disappear.
6280 2006-10-10 Wim Taymans <wim@fluendo.com>
6282 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6283 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
6284 (gst_check_teardown_sink_pad):
6285 Activate/deactivate pads in setup/teardown respectively.
6287 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6289 Patch by: Josep Torre Valles <josep@fluendo.com>
6292 Cast values when making gstenumtypes.h. This pacifies Forte
6293 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
6296 2006-10-09 Wim Taymans <wim@fluendo.com>
6298 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
6299 Rename some more @cur to @start to fix docs.
6301 * gst/gstsegment.c: (gst_segment_set_seek):
6303 time and start must always stay in sync as defined in design doc.
6305 * gst/gsttaglist.c: (gst_tag_list_is_empty):
6306 Rename param to fix docs.
6308 * tests/check/gst/gstsegment.c: (GST_START_TEST):
6309 Check that start and time are in sync.
6311 * tests/check/pipelines/parse-launch.c:
6312 (gst_parse_test_element_change_state):
6313 Activate pad before adding to the element.
6315 2006-10-09 Wim Taymans <wim@fluendo.com>
6317 * docs/design/part-qos.txt:
6322 Update seek event docs regarding negative rates.
6323 Rename @cur to @start.
6325 * gst/gstsegment.c: (gst_segment_set_seek):
6327 Update set_seek docs regarding negative rates.
6328 Correctly update last_stop to @stop when dealing with negative
6330 Rename @cur to @start.
6332 * tests/check/gst/gstpad.c: (GST_START_TEST):
6333 Activate pads before trying to use them.
6335 * tests/check/gst/gstsegment.c: (GST_START_TEST),
6336 (gst_segment_suite):
6337 Add simple check for segments and negative rates.
6339 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
6341 * gst/gsttaglist.c: (gst_tag_list_is_empty):
6343 * docs/gst/gstreamer-sections.txt:
6344 API: add gst_tag_list_is_empty() (#360467).
6346 * tests/check/gst/gsttag.c: (GST_START_TEST):
6349 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6352 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
6353 a value that doesn't fit on enumeration.
6355 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6357 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6358 Remove local debugging system and use Gstreamer's instead.
6360 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6362 Patch by: Josep Torre Valles <josep@fluendo.com>
6364 * common/m4/gst-error.m4:
6365 Disable warning of statement not reached on Forte.
6367 Fix warning on Forte (value doesn't fit on enumeration).
6368 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
6369 Fix warning on Forte (value doesn't fit on enumeration).
6370 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6371 DEBUG macro says it takes minimum of 2 args and so Forte
6372 complains about the use with just 1 arg.
6373 * plugins/elements/gstfdsink.c:
6374 * plugins/elements/gstfdsrc.c:
6375 * plugins/elements/gstfilesink.c:
6376 * plugins/elements/gstfilesrc.c:
6377 Use correct return type for the uri handler implementations.
6379 All these fix warnings in Forte. Fixes bug #360860.
6381 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
6384 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
6385 format string, so don't use G_GNUC_PRINTF for those versions.
6387 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
6389 * gst/gsttaglist.c: (gst_is_tag_list):
6391 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
6393 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6394 Small test for the above.
6396 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
6399 Less tabs, more spaces.
6401 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
6404 Those two function declarations do actually belong there, revert
6405 commit from yesterday that turned them intro macros.
6407 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6409 Patch by: Josep Torre Valles <josep@fluendo.com>
6411 * gst/gst.c: (gst_init_get_option_group):
6412 Fix empty declaration and type mismatch.
6413 * gst/gstbin.c: (gst_bin_change_state_func):
6415 * gst/gstelement.c: (gst_element_continue_state),
6416 (gst_element_set_state_func), (gst_element_change_state),
6417 (gst_element_change_state_func):
6418 Fix type mismatches.
6419 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
6420 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
6421 Cast as appropriate.
6422 * gst/gstobject.c: (gst_class_signal_connect):
6423 Cast as appropriate. The function pointer parameter really
6424 has the wrong type but would break API if we change it.
6426 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
6427 order of including string.h.
6428 * gst/gstutils.c: (gst_element_state_get_name):
6429 Remove unreachable line.
6430 * gst/gstxml.c: (gst_xml_parse_doc):
6432 All these caught by Forte.
6434 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6436 Patch by: Josep Torre Valles <josep@fluendo.com>
6438 * common/m4/gst-error.m4:
6440 We need to disable warnings on Forte for empty declarations
6441 due to gst-indent adding ;s to lines that just use macros
6442 where the macro actually doesn't need a ; at end to end
6445 2006-10-06 Wim Taymans <wim@fluendo.com>
6447 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6448 (gst_file_sink_close_file), (gst_file_sink_event),
6449 (gst_file_sink_render):
6450 Add some FIXME for the NEWSEGMENT handling.
6452 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6454 * gst/parse/grammar.y:
6455 Remove static function gst_parse_element_lock as all it does
6456 is return. Looks like cruft from 0.8.
6458 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6460 Patch by: Josep Torre Valles <josep@fluendo.com>
6462 * common/m4/gst-error.m4:
6464 * libs/gst/net/Makefile.am:
6465 Fix a compilation issue with Forte on Solaris. inet_aton is in
6468 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
6470 * gst/gstpad.c: (pre_activate):
6471 * gst/gstregistry.c: (gst_registry_scan_path_level):
6472 * gst/gstregistryxml.c: (load_plugin):
6473 * libs/gst/controller/gstcontroller.c:
6474 (gst_controlled_property_set_interpolation_mode):
6475 * libs/gst/dataprotocol/dataprotocol.c:
6476 (gst_dp_packet_from_event_1_0):
6477 * libs/gst/net/gstnetclientclock.c:
6478 (gst_net_client_clock_observe_times):
6479 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
6482 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
6485 * docs/gst/gstreamer-sections.txt:
6486 * gst/gstconfig.h.in:
6489 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
6490 whether we can use G_GNUC_PRINTF in other header files and at
6491 least check the printf format/arguments of debug messages and
6492 GST_ELEMENT_ERROR messages when the printf extension is not
6494 Replace more tabs with spaces in gstinfo.h and remove two spurious
6495 function declarations in GST_DISABLE_DEBUG part with macros.
6497 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
6499 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
6500 More docs for the sync-message signal (mention that it is not
6501 emitted by default); log message structures of messages posted on
6504 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
6506 * gst/gst.c: (ensure_current_registry_forking):
6507 Use a pipe pair to receive status results from the forked child, and
6508 ignore the result from waitpid. Fixes #355499
6510 2006-10-02 Wim Taymans <wim@fluendo.com>
6512 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
6513 (gst_ghost_pad_suite):
6516 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
6519 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
6521 2006-10-02 Edward Hervey <edward@fluendo.com>
6523 * docs/design/part-block.txt:
6524 Further explain the use of flushing on blocked pads.
6525 * docs/gst/gstreamer-sections.txt:
6526 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
6527 (gst_pad_push_event):
6529 Added new GstPadFlag : GST_PAD_BLOCKING.
6530 Adds the notion of pads really blocking, which enables to properly
6531 handle FLUSH_START/FLUSH_STOP events on blocked pads.
6533 API: gst_pad_is_blocking()
6534 API: GST_PAD_IS_BLOCKING() macro
6535 API: GST_PAD_BLOCKING GstPadFlag
6537 2006-10-02 Wim Taymans <wim@fluendo.com>
6539 Patch by: mrcgran <mrc.gran at gmail dot com>
6541 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
6542 Filter the proxied caps against the padtemplate if we have one.
6544 * gst/gstquery.c: (gst_query_new_segment):
6545 Add include for gstinfo.h so that compilation with
6546 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
6548 2006-10-02 Wim Taymans <wim@fluendo.com>
6550 Patch by: Alessandro Decina <alessandro at nnva org>
6552 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
6553 (gst_file_sink_set_location), (gst_file_sink_open_file),
6554 (gst_file_sink_close_file), (gst_file_sink_event),
6555 (gst_file_sink_render):
6556 Set file to NULL when closing filesink so that we can set a new filename
6557 in READY. Fixes #358613.
6559 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
6561 Patch by: Alessandro Decina <alessandro at nnva org>
6563 * gst/gstevent.c: (_gst_event_copy):
6564 Fix gst_mini_object_make_writable() and gst_event_copy() for events
6565 with event structures by setting the parent refcount address of the
6566 copied structure to the address of the refcount member of the newly
6567 copied event rather than the address of the refcount member of the
6568 original event. Fixes #358737.
6570 * tests/check/gst/gstevent.c: (GST_START_TEST):
6571 Unit test for the above.
6573 2006-09-29 Stefan Kost <ensonic@users.sf.net>
6575 * docs/design/Makefile.am:
6576 Dist some more files.
6578 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
6580 * tests/check/libs/controller.c: (GST_START_TEST),
6581 (gst_controller_suite):
6582 Add test for the previous fix; add some more tests
6583 for correct refcounting behaviour; fix a few leaks
6584 in test cases; call gst_controller_init() at start
6587 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
6589 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6590 (gst_controller_set_from_list):
6591 Don't g_return_val_if_fail() on timed values with invalid timestamps
6592 inside a critical section without unlocking the mutex. Spotted by
6593 René Stadler. (#357617)
6594 Also, fix up refcounting properly: when returning an existing
6595 controller, we should increase the reference only once and not
6596 once per property and when trying to control a property again
6597 we should also increase the refcount.
6599 2006-09-29 Wim Taymans <wim@fluendo.com>
6601 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6602 * libs/gst/net/gstnettimeprovider.c:
6603 (gst_net_time_provider_thread):
6604 Stop reading commands when EOF as well.
6606 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
6607 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
6608 * plugins/elements/gstidentity.c: (gst_identity_class_init):
6609 Unify description of the dump property.
6611 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
6613 * tests/examples/manual/.cvsignore:
6614 OK, so it's actually cvsignore that needs changing. Stop laughing.
6616 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
6618 * tests/examples/manual/Makefile.am:
6619 Gah, declare vars *before* using them
6621 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
6623 * gst/gst.c: (init_pre), (scan_and_update_registry),
6624 (ensure_current_registry_nonforking),
6625 (ensure_current_registry_forking), (ensure_current_registry),
6626 (init_post), (gst_debug_help), (gst_deinit):
6627 * gst/gst_private.h:
6628 * gst/gstregistry.c: (gst_registry_finalize),
6629 (gst_registry_remove_features_for_plugin_unlocked),
6630 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6631 (gst_registry_scan_path),
6632 (_priv_gst_registry_remove_cache_plugins),
6633 (_priv_gst_registry_cleanup):
6634 * gst/gstregistry.h:
6635 Re-commit the registry changes, along with an extra fix:
6636 When a cached plugin is encountered at a different file path,
6637 update the stored path in the registry cache so that the parent
6638 process knows where it actually is now when it re-reads the registry
6639 cache. Fixes the thing that broke distcheck with the previous commit.
6641 * tests/check/Makefile.am:
6642 Clean up files named 'core' too when running make clean.
6644 * tests/examples/manual/Makefile.am:
6645 Set up a registry path for running these tests, and clean it properly
6648 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
6651 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
6652 want gmodule-no-export-2.0.pc instead so that we don't drag in
6653 --export-dynamic on every project that links to GStreamer.
6655 Also, make our export regex only match the start of symbols, rather
6656 than any symbol that contains '_gst' somewhere.
6658 * libs/gst/check/Makefile.am:
6659 The libgstcheck we build does however need export-dynamic, as it
6660 produces some symbols that don't match our _gst... style regex.
6663 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
6665 * gst/gst.c: (init_pre), (scan_and_update_registry),
6666 (ensure_current_registry_nonforking),
6667 (ensure_current_registry_forking), (ensure_current_registry),
6668 (init_post), (gst_debug_help), (gst_deinit):
6669 * gst/gst_private.h:
6670 * gst/gstregistry.c: (gst_registry_finalize),
6671 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6672 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
6673 (_gst_registry_cleanup):
6674 * gst/gstregistry.h:
6675 Revert previous change until I figure out why it breaks distcheck.
6677 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
6679 * gst/gst.c: (init_pre), (scan_and_update_registry),
6680 (ensure_current_registry_nonforking),
6681 (ensure_current_registry_forking), (ensure_current_registry),
6682 (init_post), (gst_debug_help), (gst_deinit):
6684 Make init_pre and init_post take the full complement of GOptionFunc
6685 args so they can return useful GErrors. Make the registry updating
6688 Call _priv_gst_registry_remove_cache_plugins after scanning files to
6689 ensure that the registry we're about to write out doesn't contain
6690 stale information about old-deleted plugin files.
6692 Make _priv_gst_registry_remove_cache_plugins return a boolean so
6693 that deletion of plugin files is considered a registry change.
6695 * gst/gst_private.h:
6696 * gst/gstregistry.c: (gst_registry_finalize),
6697 (gst_registry_remove_features_for_plugin_unlocked),
6698 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6699 (gst_registry_scan_path),
6700 (_priv_gst_registry_remove_cache_plugins),
6701 (_priv_gst_registry_cleanup):
6702 * gst/gstregistry.h:
6703 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
6704 by adding _priv prefix, so that they won't appear in the global
6705 symbol table. They still do atm though because of #318031. Move the
6706 prototypes to gst_private.h
6708 When removing a plugin, remove all features for that plugin too.
6711 2006-09-27 Wim Taymans <wim@fluendo.com>
6713 * docs/random/moving-plugins:
6714 Make it clear that the "compiled-in descriptions" really mean
6715 the element details.
6717 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6718 (gst_base_sink_wait_preroll):
6721 * docs/libs/gstreamer-libs-sections.txt:
6722 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6723 (gst_base_src_get_range), (gst_base_src_activate_push):
6724 * libs/gst/base/gstbasesrc.h:
6725 Added function to block while waiting for PLAYING, this function
6726 is used by live sources that block on the clock.
6727 API: gst_base_src_wait_playing()
6729 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
6731 Patch by: Peter Kjellerstedt <pkj at axis com>
6734 gst-element-check.m4 is generated and should therefore be
6735 copied from the build dir rather than the source dir (#357593).
6736 'make distcheck' hasn't noticed this because we were disting
6737 the file as well, so stop doing that.
6739 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
6741 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6742 Add some tests for gst_caps_intersect().
6744 * tools/gst-launch.c: (event_loop):
6745 Print all buffering percentages we get, even the 100% one.
6747 2006-09-26 Wim Taymans <wim@fluendo.com>
6749 * tools/gst-inspect.c: (print_element_properties_info),
6750 (print_signal_info):
6751 Fix printing of flags to match the look of enums.
6753 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
6755 * gst/gstelementfactory.c:
6756 Fix typo in docs blurb.
6758 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
6760 * gst/gsturi.c: (search_by_entry):
6761 Don't assert/crash here if a uri handler doesn't return any
6762 supported protocols. The list of protocols could be generated
6763 dynamically at runtime or at plugin registration, and an error
6764 in the underlying library shouldn't be fatal (#353301).
6766 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
6769 Fix warning if HAVE_PRINTF_EXTENSION is undefined
6770 (spotted by Peter Kjellerstedt).
6772 2006-09-23 Wim Taymans <wim@fluendo.com>
6774 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
6776 * libs/gst/base/gstbasesrc.c:
6777 (gst_base_src_default_check_get_range), (gst_base_src_start),
6778 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6779 (gst_base_src_change_state):
6780 Match _start/_stop calls in the activate functions. Remove redundant
6781 _stop call from the state change function. Fixes #356910.
6782 Turn failure DEBUG into ERROR.
6784 2006-09-22 Wim Taymans <wim@fluendo.com>
6786 * docs/design/part-buffering.txt:
6787 * gst/gstmessage.c: (gst_message_new_buffering),
6788 (gst_message_parse_buffering):
6789 Update docs about buffering.
6791 * docs/design/part-trickmodes.txt:
6794 2006-09-22 Stefan Kost <ensonic@users.sf.net>
6796 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6797 (gst_controller_new_list):
6798 Ref instances when returning them again (fixes #357180)
6800 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
6802 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
6803 Don't forget to release proxy lock when there's an error.
6805 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
6808 Add extra initialisers for Caps things, to fix some plugin warnings
6811 2006-09-18 Wim Taymans <wim@fluendo.com>
6813 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
6814 Also set template on the internal pad so that a getcaps from the
6815 target pad returns the template caps.
6817 2006-09-18 Wim Taymans <wim@fluendo.com>
6819 * gst/gstelement.c: (gst_element_post_message),
6820 (gst_element_dispose):
6821 Use _DEBUG_OBJECT some more.
6823 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6826 * tools/gst-launch.c: (main):
6827 If the toplevel element is not a GstPipeline, it must be put in a
6828 pipeline so that a bus and clock is selected.
6830 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
6832 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
6833 JITTER, RATE, and LATENCY query should be handled by the
6834 default case and not by the CONVERT query code.
6836 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
6838 * gst/gstformat.c: (gst_format_register):
6839 Fix locking order (must take lock before using n_values).
6841 * gst/gstvalue.c: (gst_value_serialize_enum),
6842 (gst_value_deserialize_enum_iter_cmp),
6843 (gst_value_deserialize_enum):
6844 Fix serialisation/deserialisation of custom registered GstFormats.
6846 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6847 Unit test for custom format serialisation/deserialisation.
6849 2006-09-17 Stefan Kost <ensonic@users.sf.net>
6851 * docs/pwg/building-boiler.xml:
6852 * plugins/elements/gstcapsfilter.c:
6853 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
6856 2006-09-16 Edward Hervey <edward@fluendo.com>
6858 * libs/gst/base/gstbasetransform.c:
6859 (gst_base_transform_buffer_alloc):
6860 Check if requested caps are the same as the sinks caps IF
6861 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
6863 This fixes the renegotiation issues stated in #352827.
6865 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
6868 * docs/manual/advanced-autoplugging.xml:
6869 * tests/examples/Makefile.am:
6870 * tests/examples/manual/.cvsignore:
6871 * tests/examples/manual/Makefile.am:
6872 * tests/examples/manual/extract.pl:
6873 Extract the manual examples again like we used to do.
6876 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
6878 * win32/common/config.h:
6881 2006-09-16 Stefan Kost <ensonic@users.sf.net>
6884 Documents how to receive errors.
6886 2006-09-15 Wim Taymans <wim@fluendo.com>
6888 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
6889 (event_loop), (main):
6890 Added some comments here and there.
6891 Post an application message when an interrupt is caught instead of doing
6892 an uncontrolled state change.
6893 Clean up the event loop.
6894 Handle buffering messages, pause/resume the pipeline.
6895 Make shutdown because of an interrupt more reliable.
6897 2006-09-15 Wim Taymans <wim@fluendo.com>
6899 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6900 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
6901 (gst_base_sink_preroll_object):
6902 Make sure that our internal state is correct when we commit our state
6903 asynchronously. This solves a race where a state change to PLAYING
6904 could cause the sink to remain blocked in preroll in some situations.
6906 2006-09-15 Wim Taymans <wim@fluendo.com>
6908 * tools/gst-inspect.c: (print_element_properties_info),
6909 (print_signal_info):
6910 List flags as hex so it's easier to deal with.
6912 2006-09-15 Wim Taymans <wim@fluendo.com>
6914 * docs/libs/gstreamer-libs-sections.txt:
6915 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
6916 (gst_base_sink_do_sync):
6917 * libs/gst/base/gstbasesink.h:
6918 Expose logic to wait for preroll so that subclasses such as audiosink
6919 can also use this method.
6920 API: gst_base_sink_wait_preroll()
6922 2006-09-15 Wim Taymans <wim@fluendo.com>
6924 * gst/gstobject.c: (gst_object_set_parent):
6925 * gst/gstpipeline.c: (do_pipeline_seek):
6926 Small cleanups in docs and code.
6928 * gst/gstsegment.c: (gst_segment_clip):
6929 * tests/check/gst/gstsegment.c: (GST_START_TEST):
6930 if stop == start and start is in the segment, no clipping should be
6931 done. Also add a test for this.
6933 2006-09-15 Wim Taymans <wim@fluendo.com>
6935 * docs/design/part-buffering.txt:
6936 * docs/gst/gstreamer-sections.txt:
6937 * gst/gstmessage.c: (gst_message_new_buffering),
6938 (gst_message_parse_buffering):
6940 Added methods to create and parse BUFFERING messages.
6941 Added preliminary docs about buffering.
6942 API: gst_message_new_buffering
6943 API: gst_message_parse_buffering
6945 2006-09-06 Wim Taymans <wim@fluendo.com>
6948 Update documentation.
6950 * gst/gstelement.c: (gst_element_class_init),
6951 (gst_element_release_request_pad), (gst_element_set_clock),
6952 (gst_element_get_index), (gst_element_add_pad),
6953 (gst_element_remove_pad), (gst_element_get_random_pad),
6954 (gst_element_send_event), (gst_element_get_query_types),
6955 (gst_element_query), (gst_element_post_message),
6956 (gst_element_message_full), (gst_element_continue_state),
6957 (gst_element_lost_state), (gst_element_save_thyself),
6958 (gst_element_restore_thyself):
6959 Documentation updates.
6960 Rename last bit of the new-pad -> pad-added signal rename.
6961 Fix the case where an element query would only work if the source
6963 Avoid some useless type checking in message handling.
6968 Documentation updates.
6970 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
6972 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
6973 add an INFO line for when we actually update the fd
6975 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
6980 === release 0.10.10 ===
6982 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
6985 releasing 0.10.10, "Pais"
6987 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
6989 * docs/manual/advanced-position.xml:
6990 Fix typo in sample code.
6992 2006-09-05 Wim Taymans <wim@fluendo.com>
6994 * libs/gst/net/gstnetclientclock.c: (inet_aton),
6995 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
6996 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
6997 * libs/gst/net/gstnetclientclock.h:
6998 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6999 * libs/gst/net/gstnettimepacket.h:
7000 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
7001 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
7002 (gst_net_time_provider_thread), (gst_net_time_provider_new):
7003 * libs/gst/net/gstnettimeprovider.h:
7004 Make stuff compile on windows. Fixes #345295.
7006 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
7008 * gst/gst.c: (ensure_current_registry_forking):
7009 Print better details when child was terminated by signal.
7011 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
7013 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
7014 Print a warning rather than g_assert() if a plugin feature
7015 is a URI handler but returns no protocols (#353976).
7017 2006-09-02 Stefan Kost <ensonic@users.sf.net>
7019 * docs/random/moving-plugins:
7022 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
7024 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
7025 Fix locking order, handle NULL function values properly.
7030 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
7031 Initialise variable before using it and fix debug statement to
7032 print the address of the function rather than the address of the
7033 variable on the stack holding the address of the function.
7035 2006-09-01 Wim Taymans <wim@fluendo.com>
7037 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
7038 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
7039 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
7040 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
7041 (gst_ghost_pad_parent_unset),
7042 (gst_ghost_pad_internal_do_activate_push),
7043 (gst_ghost_pad_internal_do_activate_pull),
7044 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7045 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7046 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
7047 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
7048 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
7049 (gst_ghost_pad_new_no_target_from_template),
7050 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
7052 Avoid needless typechecking in macros.
7053 Since the internal pad is always present and never changes, there is
7054 no need to locking or ref when retrieving it.
7055 Improve debugging a bit.
7056 Handle link errors when setting the target. Fixes #341029.
7058 2006-09-01 Wim Taymans <wim@fluendo.com>
7060 * docs/libs/gstreamer-libs-sections.txt:
7061 * docs/plugins/gstreamer-plugins-sections.txt:
7064 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
7065 (gst_collect_pads_event):
7066 * libs/gst/base/gstcollectpads.h:
7067 Documentation updates.
7068 Free queued buffer when removing a pad.
7070 2006-08-31 Michael Smith <msmith@fluendo.com>
7072 * gst/gstutils.c: (gst_element_link_pads),
7073 (gst_element_link_pads_filtered):
7074 Ensure that we set a capsfilter to NULL if we failed to link it
7075 when doing filtered linking, to avoid criticals.
7077 No need to check for unreffing srcpad, which is explicly NULLed
7078 above (a trivial code cleanup).
7080 2006-08-31 Wim Taymans <wim@fluendo.com>
7082 * docs/design/part-gstghostpad.txt:
7083 Update ascii art in documentation.
7085 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
7086 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
7087 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
7088 (gst_ghost_pad_internal_do_activate_push),
7089 (gst_ghost_pad_internal_do_activate_pull),
7090 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7091 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7092 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
7093 (gst_ghost_pad_set_target):
7094 Small cleanups and leak fixes.
7095 Remove some checks now that the internal pad is never NULL.
7096 Fix the case where linking pads without a target would create nasty
7097 criticals. Fixes #341029.
7098 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
7099 value of _set_target().
7101 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
7102 (gst_ghost_pad_suite):
7103 Some more tests for creating and linking untargeted ghostpads.
7105 2006-08-31 Edward Hervey <edward@fluendo.com>
7107 * docs/gst/gstreamer-sections.txt:
7108 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
7109 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
7110 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
7111 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
7112 (gst_ghost_pad_new_from_template),
7113 (gst_ghost_pad_new_no_target_from_template):
7114 * gst/gstghostpad.h:
7115 Refactored *_new() functions.
7116 Templates are now used as a g_object_new() parameter.
7117 Use template in _do_getcaps() if we don't have a target.
7118 Small documentation cleanups.
7119 Added two new constructors:
7120 gst_ghost_pad_new_from_template()
7121 gst_ghost_pad_new_no_target_from_template()
7122 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
7123 (gst_ghost_pad_suite):
7124 Added tests for new ghostpad instanciation functions.
7126 API additions: gst_ghost_pad_new_from_template,
7127 gst_ghost_pad_new_no_target_from_template
7129 2006-08-30 Stefan Kost <ensonic@users.sf.net>
7131 * docs/random/ensonic/profiling.txt:
7132 Ideas about qos profiling.
7134 2006-08-29 Wim Taymans <wim@fluendo.com>
7136 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
7140 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
7143 Improve and detypofy docs.
7145 * tests/check/Makefile.am:
7146 * tests/check/gst/.cvsignore:
7147 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
7148 Add a basic test suite for GstXML.
7150 2006-08-29 Wim Taymans <wim@fluendo.com>
7152 * gst/gstelement.c: (activate_pads), (clear_caps),
7153 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
7154 Clear the pad caps when the element shut down all of the pads and
7155 is not streaming data that could modify the caps.
7158 2006-08-28 Michael Smith <msmith@fluendo.com>
7160 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7161 Revert previous change; I misunderstood single-segment mode.
7163 2006-08-28 Michael Smith <msmith@fluendo.com>
7165 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7166 Unset DISCONT on buffers when using single-segment mode.
7168 2006-08-28 Wim Taymans <wim@fluendo.com>
7170 * gst/gstcaps.c: (gst_caps_merge_structure):
7172 Fix docs and indentation again.
7174 * tests/check/gst/gstquery.c: (GST_START_TEST):
7175 Fix leak in tests and add some more tests.
7177 2006-08-28 Edward Hervey <edward@fluendo.com>
7179 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
7180 Inform GstSegment of the last stop position in order for the current
7181 segment to have a proper duration if it doesn't have a specific stop
7182 position from which a duration could be calculated.
7183 This bug was noticeable when a non-flushing, non-update new segment was
7184 followed by another segment (all buffers from the new segment were being
7187 2006-08-28 Wim Taymans <wim@fluendo.com>
7189 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
7190 Small comment update.
7192 * plugins/elements/gstidentity.c: (gst_identity_class_init),
7193 (gst_identity_transform_ip):
7194 Drop-probability is broken, mention this in the code with a
7195 FIXME and also in the property description.
7196 Make silent also be silent about the drop messages.
7198 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
7200 * docs/manual/appendix-win32.xml:
7201 Remove mention of popt, we don't depend on that any
7202 longer (#353136). Add some comments pointing out that
7203 this section is slightly outdated.
7205 2006-08-28 Wim Taymans <wim@fluendo.com>
7207 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
7209 * gst/gstquery.c: (gst_query_new_segment):
7210 * tests/check/gst/gstquery.c: (GST_START_TEST):
7211 Initialize variables when creating a new segment query.
7214 2006-08-28 Wim Taymans <wim@fluendo.com>
7216 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
7218 * gst/gstelement.c: (gst_element_get_bus):
7219 * tests/check/gst/gstelement.c: (GST_START_TEST):
7220 Check for NULL before _reffing the bus. Fixes #353122.
7222 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
7224 * docs/manual/basics-bus.xml:
7225 Docs update: fix wrong callback return value explanation; add
7226 some lines about the implicit relationship between main loop
7227 and main context; remove duplicate main loop variable declaration.
7229 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
7231 * tests/check/gst/gstcaps.c: (GST_START_TEST):
7232 Don't leak caps in unit test; add a few more simple
7235 2006-08-24 Stefan Kost <ensonic@users.sf.net>
7237 * docs/gst/gstreamer-sections.txt:
7238 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
7239 (gst_caps_structure_is_subset), (gst_caps_merge),
7240 (gst_caps_merge_structure):
7242 * libs/gst/base/gstbasetransform.c:
7243 (gst_base_transform_transform_caps):
7244 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7245 implement caps merging (fixes #352580)
7247 2006-08-23 Stefan Kost <ensonic@users.sf.net>
7249 * tools/Makefile.am:
7250 * tools/gst-plot-timeline.py:
7251 add debug-log plotting developer tool (#340674)
7253 2006-08-23 Wim Taymans <wim@fluendo.com>
7255 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
7256 (gst_pad_stop_task):
7257 Improve debugging for task functions.
7259 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
7260 (gst_task_start), (gst_task_pause), (gst_task_join):
7261 Make sure that the task function started and finished after a
7263 Don't try to push the task function on the threadpool multiple
7265 Improve the g_warning message with some useful suggestions
7266 about how to fix the problem.
7268 2006-08-23 Wim Taymans <wim@fluendo.com>
7270 * gst/gstutils.c: (gst_pad_proxy_getcaps):
7271 Handle RESYNC correctly in _proxy_getcaps.
7273 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
7275 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
7276 (gst_xml_parse_memory), (gst_xml_get_element):
7277 Chain up to parent class in dispose function and also
7278 unref the elements in the toplevel_elements GList.
7279 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
7280 Always return a reference in gst_xml_get_element() rather
7281 than only sometimes.
7283 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
7284 Don't leak GstXml object.
7286 2006-08-21 Stefan Kost <ensonic@users.sf.net>
7288 * docs/gst/gstreamer-sections.txt:
7289 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
7292 * libs/gst/base/gstbasetransform.c:
7293 (gst_base_transform_transform_caps):
7294 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
7297 2006-08-21 Edward Hervey <edward@fluendo.com>
7299 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
7300 Implement GObject::dispose virtual method in GstXML so we can free the
7303 2006-08-21 Wim Taymans <wim@fluendo.com>
7305 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
7306 (gst_buffer_create_sub):
7307 Copy duration/offset_end/caps when creating a subbuffer of the
7309 Make the subbuffer read-only when we make the metadata writable for
7312 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
7313 Added check for metadata copy when creating subbuffers.
7315 2006-08-21 Edward Hervey <edward@fluendo.com>
7317 * libs/gst/base/gstbasetransform.c:
7318 (gst_base_transform_buffer_alloc):
7319 Only call downstream buffer_alloc if transform element is passthrough
7320 or always_in_place. Closes #350449.
7322 2006-08-20 Stefan Kost <ensonic@users.sf.net>
7325 ChangeLog surgery to add comments to previous changes
7327 2006-08-20 Stefan Kost <ensonic@users.sf.net>
7332 * gst/gstpad.c: (gst_pad_set_active):
7333 Be more verbose in the log
7335 * libs/gst/base/gstbasetransform.c:
7336 (gst_base_transform_transform_caps):
7337 Simplify caps to get rid of duplicates, fixes #345444
7339 2006-08-20 Stefan Kost <ensonic@users.sf.net>
7343 Use these optimizations only internally.
7345 2006-08-20 Stefan Kost <ensonic@users.sf.net>
7347 * gst/gstvalue.c: (gst_value_compare_list),
7348 (gst_value_compare_fraction_range),
7349 (gst_value_intersect_fraction_fraction_range),
7350 (gst_value_intersect_fraction_range_fraction_range),
7351 (gst_value_subtract_fraction_fraction_range),
7352 (gst_value_subtract_fraction_range_fraction_range),
7353 (gst_value_get_compare_func), (gst_value_compare),
7354 (gst_value_compare_with_func):
7356 Saves the expensive lookup of the compare function in many cases
7359 2006-08-18 Edward Hervey <edward@fluendo.com>
7361 * tests/check/gst/gstinfo.c: (gst_info_suite):
7362 Disable test that require gstdebug if it wasn't built in core.
7364 2006-08-18 Stefan Kost <ensonic@users.sf.net>
7366 * docs/random/ensonic/logging.txt:
7369 * gst/gstinfo.c: (gst_debug_log_default):
7370 reorder fields, save some columns, add optional color codes for log
7373 2006-08-18 Stefan Kost <ensonic@users.sf.net>
7375 * docs/random/ensonic/logging.txt:
7376 add ideas about making the logs a bit more useful
7378 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
7380 * docs/pwg/advanced-events.xml:
7381 * docs/pwg/titlepage.xml:
7382 Update for 0.10 API (#340627). Add myself
7385 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
7387 * docs/libs/gstreamer-libs-docs.sgml:
7388 * docs/libs/gstreamer-libs-sections.txt:
7389 * libs/gst/check/gstbufferstraw.c:
7390 Make gstcheck stuff show up in docs (still needs to
7391 be documented properly though).
7393 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
7395 * docs/gst/gstreamer-sections.txt:
7397 * gst/gst.c: (init_post):
7398 * gst/gst_private.h:
7399 * gst/gstquark.c: (_priv_gst_quarks_initialize):
7401 * gst/gstquery.c: (gst_query_new_position),
7402 (gst_query_set_position), (gst_query_parse_position),
7403 (gst_query_new_duration), (gst_query_set_duration),
7404 (gst_query_parse_duration), (gst_query_new_convert),
7405 (gst_query_set_convert), (gst_query_parse_convert),
7406 (gst_query_new_segment), (gst_query_set_segment),
7407 (gst_query_parse_segment), (gst_query_new_seeking),
7408 (gst_query_set_seeking), (gst_query_parse_seeking):
7409 Add internal helpers for pre-registering quarks from static strings
7410 and using the quark values directly instead of looking them up when
7411 creating and parsing queries. Can be used for event construction too.
7414 2006-08-16 Wim Taymans <wim@fluendo.com>
7419 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
7421 * gst/gstutils.c: (gst_util_set_value_from_string):
7422 Fix memleak (#351502).
7424 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7425 Add unit test for most of gst_util_set_value_from_string()
7426 (not that one would want to encourage use of this function).
7428 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
7430 * libs/gst/check/gstcheck.h:
7431 Use const gchar * variables in fail_unless_equals_string
7432 macro to avoid compiler warnings (and don't use tabs for
7435 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
7437 * tools/gst-launch.c: (print_tag):
7438 More space on the left for the tag names, to cater
7439 for the 'extended comment' tag (not touching the
7440 string for the first line since it's translated).
7442 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
7444 * libs/gst/check/gstcheck.h:
7445 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
7446 print something when they fail.
7448 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
7450 * docs/gst/gstreamer-sections.txt:
7451 * gst/gsttaglist.c: (_gst_tag_initialize):
7453 API: add GST_TAG_EXTENDED_COMMENT (#350935).
7454 Also change merge function for GST_TAG_COMMENT to
7457 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
7459 * gst/gstinfo.c: (gst_debug_print_object):
7460 Make GST_PTR_FORMAT print messages as well.
7462 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
7463 (GST_START_TEST), (gst_info_suite):
7466 2006-08-14 Edward Hervey <edward@fluendo.com>
7468 * gst/gstelementfactory.c: (gst_element_register):
7469 If the GstElementClass doesn't have a GstElementDetails with all fields
7470 filled up correctly (longname, description AND author), then error out
7471 nicely instead of crashing.
7473 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
7475 * gst/gststructure.c:
7476 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
7479 Expand on the difference between arrays and lists as we use them.
7481 2006-08-14 Wim Taymans <wim@fluendo.com>
7483 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
7484 If the parent state change function failed, don't assume we can safely
7485 stop the source, this will be done when the pads are deactivated.
7487 2006-08-14 Wim Taymans <wim@fluendo.com>
7490 * gst/gsttask.c: (gst_task_join):
7493 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
7494 (gst_pad_stop_task):
7495 When pad (de)activation failed for some reason, restore the old
7496 activation mode and set the pad to flushing instead of assuming the
7498 If the _task_join() failed, reinstall the task on the pad so that it can
7499 be stopped later and return an error.
7501 2006-08-11 Andy Wingo <wingo@pobox.com>
7504 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
7505 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
7506 is only for users of API that don't want to see deprecated
7507 functions in the headers; people that want to compile out
7508 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
7509 CFLAGS. Fixes the build of multifdsink, or will soon..
7511 2006-08-11 Wim Taymans <wim@fluendo.com>
7513 * docs/gst/gstreamer-sections.txt:
7514 Add GstClockClass vmethod docs.
7517 Mark #endif with comment for associated #if
7519 * gst/gstclock.c: (gst_clock_id_wait):
7521 Add vmethod wait_jitter to avoid an unneeded _get_time() for
7522 most clock implementations.
7524 Flesh out docs about resolution methods.
7525 API: GstClockClass::wait_jitter
7527 * gst/gstsystemclock.c: (gst_system_clock_class_init),
7528 (gst_system_clock_async_thread),
7529 (gst_system_clock_id_wait_jitter_unlocked),
7530 (gst_system_clock_id_wait_jitter):
7531 Use base class wait_jitter variant for improved performance
7532 due to less clock polling.
7534 2006-08-11 Edward Hervey <edward@fluendo.com>
7536 * gst/gst.c: (gst_init_check), (init_post):
7537 Set gst as being initialized before scanning/updating the registry,
7538 since there might be my python plugin loader that calls gst_init() and
7539 we don't want to loop back in.
7542 2006-08-11 Wim Taymans <wim@fluendo.com>
7544 * docs/design/part-qos.txt:
7545 Bring docs in line with the code. Mostly the sign of the jitter was
7546 wrong in the docs. Fixes #349943.
7549 Fix the docs for the jitter.
7551 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
7552 (gst_event_parse_tag), (gst_event_new_buffer_size),
7553 (gst_event_parse_buffer_size), (gst_event_parse_qos),
7554 (gst_event_new_seek), (gst_event_parse_seek),
7555 (gst_event_new_navigation):
7556 Make sure the GstStructure has no parent when creating custom
7558 Add some more argument checking so that we avoid 0.0 rates.
7559 Flesh out the docs for the QoS event some more.
7561 2006-08-11 Wim Taymans <wim@fluendo.com>
7563 * docs/gst/gstreamer-sections.txt:
7564 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
7565 (ensure_current_registry_forking), (ensure_current_registry),
7566 (parse_one_option), (parse_goption_arg), (gst_deinit),
7567 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
7570 Added API and command line option to disable registry forking in
7571 addition to the environment variable.
7572 Constify some static arrays.
7573 Added some more debug.
7575 API: gst_registry_fork_is_enabled()
7576 API: gst_registry_fork_set_enabled()
7577 API: --gst-disable-registry-fork command line option
7580 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
7582 * gst/gst.c: (gst_init):
7583 Fix typo in error message.
7585 2006-08-10 Stefan Kost <ensonic@users.sf.net>
7587 * libs/gst/controller/gstcontroller.h:
7588 fix ABI size-correction
7590 * tests/check/libs/gdp.c: (gst_dp_suite):
7591 make tests that use deprecated API conditional
7593 2006-08-10 Stefan Kost <ensonic@users.sf.net>
7595 * docs/libs/gstreamer-libs-sections.txt:
7596 * libs/gst/controller/gstcontroller.c:
7597 (_gst_controller_get_property), (_gst_controller_set_property),
7598 (_gst_controller_init), (_gst_controller_class_init):
7599 * libs/gst/controller/gstcontroller.h:
7600 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
7601 (gst_object_set_control_rate):
7602 API: add gst_object_{s,g}et_control_rate(), add private data section,
7605 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
7606 * libs/gst/dataprotocol/dataprotocol.h:
7607 add deprecation guards to make gtk-doc happy and allow disabling cruft
7609 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
7611 * tests/check/Makefile.am:
7612 * tests/check/gst/.cvsignore:
7613 Let's enable the new unit test as well.
7615 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
7618 * docs/gst/gstreamer-sections.txt:
7619 * gst/gstconfig.h.in:
7620 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
7621 (_gst_info_printf_extension_ptr),
7622 (_gst_info_printf_extension_segment):
7623 API: add GST_SEGMENT_FORMAT, which is a printf extension we
7624 register that lets us easily dump GstSegments into debug
7627 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
7628 (info_segment_format_printf_extension), (gst_info_suite):
7629 Add simple unit test that logs a bunch of different segments (not
7630 valgrinded at the moment because of leaks in
7631 gst_debug_add_log_function).
7633 2006-08-09 Edward Hervey <edward@fluendo.com>
7635 * libs/gst/base/gstbasetransform.c:
7636 (gst_base_transform_buffer_alloc):
7637 Even if we can't figure out the proper format to request downstream,
7638 call buffer_alloc() downstream with the input parameters without setting
7639 the caps on the srcpad. This will force negotiation in the chain
7643 2006-08-08 Edward Hervey <edward@fluendo.com>
7645 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
7646 Unlinking from a pad without a target is now a perfectly valid case
7647 which should NOT raise an assertion.
7648 This case would happen if a linked ghostpad its target set to NULL after
7649 it was previously linked.
7651 2006-08-08 Edward Hervey <edward@fluendo.com>
7653 * tests/check/libs/gdp.c:
7654 Also comment out the test (see below).
7656 2006-08-08 Edward Hervey <edward@fluendo.com>
7658 * tests/check/libs/gdp.c: (gst_dp_suite):
7659 Use the architecture information from config.h and not gcc macros
7660 in order to properly disable a test that fails on PPC64.
7662 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
7664 * gst/gstelement.c: (gst_element_remove_pad):
7665 Don't crash printing the warning if the pad has no parent.
7667 2006-08-02 Wim Taymans <wim@fluendo.com>
7669 * libs/gst/dataprotocol/dataprotocol.c:
7670 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
7671 (gst_dp_crc), (gst_dp_header_payload_length),
7672 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
7673 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
7674 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
7675 (gst_dp_event_from_packet), (gst_dp_validate_header),
7676 (gst_dp_validate_payload):
7677 Make debug category static
7678 Constify the crc table.
7679 Do some more arg checking in public functions.
7680 Fix some docs and do some small cleanups.
7682 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
7683 Add some more checks to see if GDP deals with bogus input.
7685 2006-07-31 Wim Taymans <wim@fluendo.com>
7687 * gst/gstvalue.c: (gst_value_compare_list):
7688 Fix GstValueList comparison code. Fixes #347293.
7690 * tests/check/gst/gstvalue.c: (GST_START_TEST):
7691 Check to test GstValueList comparison.
7693 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7695 * gst/gstelementfactory.c: (gst_element_factory_create):
7696 Remove unnecessary ref/unref pair
7698 * gst/parse/grammar.y:
7699 Make sure to free the parse buffer on all code paths.
7700 Move a g_free up to the error handler where it's easier to see.
7702 * tests/check/gst/gstevent.c: (test_event):
7703 Extending timeout for downstream travelling events to 10 seconds to
7704 hopefully avoid intermittent failure on the buildbots.
7706 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
7707 Don't manually set the state of the src element - it will happen as a
7708 natural consequence of the pipeline changing state, and that way it
7709 will do it in the right order too.
7711 2006-07-31 Wim Taymans <wim@fluendo.com>
7713 * libs/gst/base/gstbasetransform.c:
7714 (gst_base_transform_buffer_alloc):
7715 Use OBJECT_LOCK and refcounting to get the pad caps in the
7716 buffer_alloc function because the caps could change while we are
7717 busy with them. Fixes #349105
7719 2006-07-31 Wim Taymans <wim@fluendo.com>
7721 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
7722 Protect _PAD_CAPS with OBJECT_LOCK.
7724 2006-07-31 Wim Taymans <wim@fluendo.com>
7726 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
7727 (gst_pad_get_property), (gst_pad_activate_pull),
7728 (gst_pad_activate_push), (gst_pad_set_blocked_async),
7729 (gst_pad_set_activate_function),
7730 (gst_pad_set_activatepull_function),
7731 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
7732 (gst_pad_set_getrange_function),
7733 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
7734 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
7735 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
7736 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
7737 (gst_pad_set_acceptcaps_function),
7738 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
7739 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
7740 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
7741 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
7742 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
7743 (gst_pad_configure_sink), (gst_pad_configure_src),
7744 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
7745 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
7746 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
7747 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
7748 (gst_pad_send_event):
7749 Use _DEBUG_OBJECT when it makes sense.
7750 Protect GST_PAD_CAPS with the OBJECT_LOCK.
7751 Small cleanups and code reflows.
7752 Avoid caps refcounting in _accept_caps.
7753 Refactor alloc_buffer so that the code performed on the peer is in a
7754 separate function. Also if the pad does not implement a buffer alloc
7755 function, we should still check if the pad is flushing before falling
7756 back to the default allocator.
7758 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7760 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7761 Make all uses of identity and fakesink have silent=true to avoid
7762 serialising every passing data structure, which is breaking tests
7763 on FC4 for some unknown reason.
7765 2006-07-30 Stefan Kost <ensonic@users.sf.net>
7767 * gst/parse/Makefile.am:
7768 * gst/parse/grammar.y:
7769 * gst/parse/parse.l:
7770 Reverted previous patch as it required to bump the flex dependency to
7771 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
7773 2006-07-30 Stefan Kost <ensonic@users.sf.net>
7775 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
7777 * gst/parse/Makefile.am:
7778 * gst/parse/grammar.y:
7779 * gst/parse/parse.l:
7780 push & pop the state of the lexer for reentrant use case
7783 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
7785 * libs/gst/base/gstbasesrc.h:
7786 Note in the docs that the ::newsegment vfunc is not actually used by
7789 2006-07-28 Wim Taymans <wim@fluendo.com>
7791 * libs/gst/base/gstcollectpads.c:
7792 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
7793 (gst_collect_pads_clear), (gst_collect_pads_flush),
7794 (gst_collect_pads_event), (gst_collect_pads_chain):
7795 When flushing a pad, also clear the queued buffer so that we don't
7796 accidentally use it when we shouldn't.
7797 Fix leaks by inreffing incomming buffer.
7798 Flush out queued buffers in case of errors.
7801 2006-07-28 Wim Taymans <wim@fluendo.com>
7803 * docs/random/phonon-gst:
7804 Random notes about a Phonon backend.
7806 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
7808 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
7810 * tests/check/libs/gdp.c: (gst_dp_suite):
7811 Take a whack at fixing the ppc compile using a different define to
7812 disable the broken test.
7814 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7815 Remove excess g_print()
7817 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
7819 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
7820 Oops, meant to uncomment this line too to dampen the noise a bit.
7822 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
7824 * gst/parse/grammar.y:
7825 * gst/parse/parse.l:
7826 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
7827 (GST_START_TEST), (parse_suite):
7828 Fix some of the leaks exposed by extending the parse-launch testsuite,
7829 and move the 3 I can't figure out into a separate test that won't run
7830 the pipelines unless the appropriate line is uncommented.
7832 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
7834 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7835 Requesting 0 bytes before the end of the file should result in
7836 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
7839 2006-07-27 Wim Taymans <wim@fluendo.com>
7841 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
7842 Fix useless assert, a uint is always positive.
7844 * gst/gststructure.c: (gst_structure_nth_field_name),
7845 (gst_structure_foreach), (gst_structure_map_in_place):
7846 Check input arguments for public functions to avoid obvious crashes.
7848 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
7849 * plugins/elements/gstfakesink.h:
7850 Do less useless typechecking.
7852 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
7854 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
7855 Do not use mmap() by default since there are a number of error
7856 conditions that we would like to handle in a non-fatal way that
7857 will result in a SIGBUS if we use mmap(). Examples: external
7858 devices (USB harddrive, portable music player) being unplugged
7859 while in use; file on mounted CD/DVD that can't be read because
7860 the medium is partly damaged. Fixes #348455 and #348475.
7862 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
7865 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
7868 2006-07-26 Stefan Kost <ensonic@users.sf.net>
7870 * gst/gstregistry.c:
7871 Move big documentation comment into class section header, so that it
7872 appears in the API docs.
7874 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
7876 * docs/gst/gstreamer-sections.txt:
7877 Oops. Commit the docs additions too for new API.
7878 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
7880 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
7882 * gst/gststructure.c: (gst_structure_id_set),
7883 (gst_structure_id_set_valist):
7884 * gst/gststructure.h:
7885 Add API for setting values into structures without performing
7886 a quark lookup, if the appropriate quark is already known.
7888 API: gst_structure_id_set
7889 API: gst_structure_id_set_valist
7891 * gst/parse/grammar.y:
7892 * gst/parse/parse.l:
7893 Remove some dead code shown by the coverage information.
7894 Don't throw a critical g_warning when encountering a syntax error,
7895 just warn and let the normal error path handle it.
7897 * plugins/elements/gstelements.c:
7898 Bump the rank of filesink up to PRIMARY so that it is preferred over
7899 gnomevfssink for file:// sink uri's
7901 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
7902 (GST_START_TEST), (run_delayed_test),
7903 (gst_parse_test_element_base_init),
7904 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
7905 (gst_parse_test_element_change_state),
7906 (gst_register_parse_element), (parse_suite):
7907 Beef up the tests for parse syntax to check that more error cases
7908 fail as they are supposed to. Increases the test coverage a bit.
7910 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
7912 * docs/manual/basics-elements.xml:
7913 Fix gst_element_link() example.
7916 Mention in API docs that one should usually gst_bin_add()
7917 elements to a bin or pipeline before doing the linking.
7919 2006-07-26 Wim Taymans <wim@fluendo.com>
7921 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
7922 (gst_subbuffer_get_type), (gst_buffer_create_sub):
7923 Avoid function call for known types by keeping the buffer and
7924 subbuffer GType global.
7926 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7927 Random silly optimisations in read() path.
7929 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
7931 * tools/gst-launch.c: (main):
7932 If the top-level of the parse is a normal bin, it doesn't do the
7933 right logic to run as a top-level element, so place it inside a
7936 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
7938 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
7939 Remove superfluous g_object_notify() calls, GObject does
7940 that for us automatically.
7942 2006-07-25 Stefan Kost <ensonic@users.sf.net>
7945 on Win32, use dllspec to export the debug category symbols
7947 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
7949 * gst/gsttaglist.c: (_gst_tag_initialize):
7950 Allow more than one GST_TAG_IMAGE per taglist.
7952 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
7954 * gst/gstminiobject.c:
7956 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
7957 (gst_fd_src_create):
7958 log recurring events at LOG level
7959 add more debug for when the fd gets set
7961 2006-07-21 Stefan Kost <ensonic@users.sf.net>
7963 * gst/gstparse.c: (gst_parse_launch):
7964 Also remove reentrance checks if flex is MT safe (#348179)
7965 Fix my empty ChangeLog entry below
7967 2006-07-21 Andy Wingo <wingo@pobox.com>
7969 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
7971 * libs/gst/check/Makefile.am
7972 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
7973 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
7974 * libs/gst/check/gstbufferstraw.h:
7975 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
7976 functions, thus proving I am still a GStreamer haxor. OK I wrote
7977 them a long time ago, but anyways.
7979 2006-07-21 Stefan Kost <ensonic@users.sf.net>
7982 * gst/gstparse.c: (gst_parse_launch):
7983 Check for flex version and omit mutex if we have a MT save flex
7986 2006-07-21 Wim Taymans <wim@fluendo.com>
7988 * gst/gstparse.c: (gst_parse_launch):
7989 Protect recursive calls to _parse with a recursive mutex
7992 2006-07-21 Wim Taymans <wim@fluendo.com>
7994 * tests/check/gst/gstpad.c: (GST_START_TEST):
7997 2006-07-20 Stefan Kost <ensonic@users.sf.net>
7999 * gst/gstparse.c: (gst_parse_launch):
8000 Do not hang on recursive usage of gst_parse_launch()
8002 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
8005 Add some more docs, comments and FIXME 0.11s here and there
8006 and also fix some typos.
8008 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
8011 Convert tabs to spaces for better readability.
8013 2006-07-20 Edward Hervey <edward@fluendo.com>
8015 * tests/check/libs/gdp.c: (gst_dp_suite):
8016 the test_buffer test fails at line 140 on ppc64 at the following
8018 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
8019 GST_BUFFER_FLAG_IN_CAPS),
8020 "GST_BUFFER_IN_CAPS flag should have been copied !");
8021 See bug #348114 for more details.
8023 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
8025 * docs/pwg/advanced-scheduling.xml:
8027 Fix typos (#348000).
8029 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
8031 * docs/pwg/intro-basics.xml:
8032 Fix wrong links (#347927).
8034 2006-07-18 Stefan Kost <ensonic@users.sf.net>
8036 * gst/gstregistry.h:
8037 * gst/gstregistryxml.c: (load_feature),
8038 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
8039 * win32/common/config.h:
8040 make --disable-index work (#342564)
8042 2006-07-18 Wim Taymans <wim@fluendo.com>
8044 Patch by: Peter Kjellerstedt <pkj at axis dot com>
8048 The attached patch adds two missing defines to gsttrace.h when tracing
8049 is disabled. It also corrects one existing define.
8052 2006-07-17 Wim Taymans <wim@fluendo.com>
8054 * docs/gst/gstreamer-sections.txt:
8055 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
8057 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
8058 Add two functions to check and change the SIGSEGV behaviour
8059 when loading plugins.
8060 Don't mess with the SIGSEGV handler when we were told not to.
8062 API: gst_segtrap_is_enabled
8063 API: gst_segtrap_set_enabled
8065 2006-07-14 Wim Taymans <wim@fluendo.com>
8067 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
8068 * tests/check/elements/filesrc.c: (GST_START_TEST):
8069 Revert fix for regression in #347408 after release.
8071 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
8073 Patch by: Antoine Tremblay <hexa00 at gmail com>
8075 * gst/gstutils.c: (gst_element_unlink):
8076 Free iterator when done (#347311).
8078 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8079 And add a test case for this.
8081 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
8084 Bump nano back to CVS
8086 === release 0.10.9 ===
8088 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
8091 releasing 0.10.9, "On the road again"
8093 2006-07-13 Wim Taymans <wim@fluendo.com>
8095 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
8096 * tests/check/elements/filesrc.c: (GST_START_TEST):
8097 Revert pull-0 fix for release. Disable check. Fixes #347408.
8099 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
8101 * libs/gst/dataprotocol/dataprotocol.c:
8102 (gst_dp_event_from_packet_1_0):
8103 Fixes #347337: failure to deserialize event packets with
8104 empty payload (only event type)
8106 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
8109 do not install a .c file in the header directory
8111 2006-07-13 Edward Hervey <edward@fluendo.com>
8113 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
8114 GhostPad no longer implicitely use the padtemplates of the targets.
8117 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
8119 * gst/gstvalue.c: (gst_value_compare_list),
8120 (gst_value_compare_array), (_gst_value_initialize):
8121 * tests/check/gst/gstvalue.c: (GST_START_TEST):
8122 Make GstValueArray comparison be order dependent as designed.
8123 Add checks for value lists and value array comparisons.
8126 2006-07-11 Edward Hervey <edward@fluendo.com>
8128 * gst/gstbin.c: (activate_pads),
8129 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
8130 (gst_bin_change_state_func):
8131 (de)activate src pads before calling state_change on the childs.
8132 This is to avoid the case where a src ghostpad is blocked (holding the
8133 stream lock), which would block the deactivation of the ghostpad's
8135 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
8136 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
8137 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
8138 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
8139 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
8140 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
8141 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
8142 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
8143 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
8144 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
8145 (gst_ghost_pad_class_init),
8146 (gst_ghost_pad_internal_do_activate_push),
8147 (gst_ghost_pad_internal_do_activate_pull),
8148 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
8149 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8150 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
8151 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
8152 GhostPads now create their internal GstProxyPad at creation (and not
8153 when they're linked, as it was being done previously).
8154 The internal and target pads are linked straight away.
8155 The data will also travel through the other pad in order to make
8156 pad blocking and probes non-hackish (the probe/block now really happens
8157 on the GhostPad and not on the target).
8158 * gst/gstpad.c: (gst_pad_set_blocked_async),
8159 (gst_pad_link_prepare), (gst_pad_push_event):
8160 Remove previous ghostpad cruft.
8161 * gst/gstutils.c: (gst_pad_add_data_probe),
8162 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
8163 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
8164 (gst_pad_remove_buffer_probe):
8165 Remove previous ghost pad cruft.
8166 Added more detailed debug statements.
8167 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8168 Fix the testsuite for refcounting changes.
8169 The comments about who has references were correct, but the refcount
8170 being checked wasn't the same (!?!).
8174 2006-07-10 Stefan Kost <ensonic@users.sf.net>
8176 * docs/gst/gstreamer-sections.txt:
8177 * gst/gstconfig.h.in:
8178 More docs for configuration options, add docs to gtk-doc.
8180 2006-07-10 Stefan Kost <ensonic@users.sf.net>
8183 * gst/gstconfig.h.in:
8184 * win32/common/config.h:
8185 Fix build when disabling tracing (fixes #344016). Also start to document
8186 the defines that disable the sub-systems.
8188 2006-07-10 Edward Hervey <edward@fluendo.com>
8190 * gst/gst.c: (ensure_current_registry_forking):
8191 let's make valgrind happy...
8193 2006-07-09 Wim Taymans <wim@fluendo.com>
8195 * gst/gstelement.c: (activate_pads),
8196 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
8197 Better pad activation code: Reset the collect value too on resync.
8200 2006-07-09 Wim Taymans <wim@fluendo.com>
8202 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
8203 (gst_pad_activate_push):
8204 Use some more macros where it makes sense.
8205 Allow pad mode switching instead of asserting. When a pad
8206 is activated in one mode and we activate it in another,
8207 deactivate it first before activating it in a different mode.
8210 2006-07-08 Andy Wingo <wingo@pobox.com>
8212 * tools/gst-launch.c (main): Handle err == NULL.
8214 * gst/gst.c (init_post, ensure_current_registry)
8215 (ensure_current_registry_forking)
8216 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
8217 factoring out the registry scanning into separate functions. Don't
8218 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
8219 Better environment var name/interface suggestions accepted.
8221 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
8223 * gst/gstobject.c: (gst_object_set_name_default),
8224 (gst_object_set_name):
8225 Random micro-optimisation: don't use a hash table
8226 with strings as keys and the usual strdup/strcmp
8227 involved, but rather just use the GQuark of the
8228 type name as key, since it needs to be looked up
8229 anyway to get the type name string.
8231 * tests/check/gst/gstobject.c: (GST_START_TEST):
8234 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
8236 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
8237 (gst_bin_iterate_all_by_interface):
8238 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
8239 GTypes are gulongs and thus the top 4 bytes might be cut
8240 off on some platforms when doing GPOINTER_TO_INT, leading
8241 to invalid GTypes and bad things happening (see RH bug #179654).
8242 Also add a check to make sure the type passed in is really
8245 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
8250 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
8254 * gst-element-check.m4:
8255 * gst-element-check.m4.in:
8256 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
8257 instead of the unversioned gst-inspect (#324176, #168659).
8259 2006-07-06 Wim Taymans <wim@fluendo.com>
8262 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
8265 2006-07-06 Wim Taymans <wim@fluendo.com>
8267 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8268 (gst_base_src_wait), (gst_base_src_update_length),
8269 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
8270 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
8271 (gst_base_src_loop), (gst_base_src_start),
8272 (gst_base_src_activate_pull):
8274 blocksize == 0 now means the default blocksize when working in push
8276 Remove some pointless asserts in _wait function.
8277 Fix offset/length calculations and EOS handling. We can now pull 0
8278 bytes as well, which is allowed.
8279 use _check_get_range() to decide if we can operate in _pull based
8281 Fix refcounting leak when check_get_range function was not
8283 API GstBaseSrc::blocksize range can be 0 too now (default)
8285 * tests/check/elements/filesrc.c: (GST_START_TEST),
8287 Added check to test _get_range() behaviour.
8289 2006-07-06 Wim Taymans <wim@fluendo.com>
8291 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
8292 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
8293 (gst_pad_pull_range):
8295 Lots of comments and docs added to the pad functions.
8296 Flesh out the expected behaviour of the get_range() functions.
8298 2006-07-06 Wim Taymans <wim@fluendo.com>
8303 * gst/gstiterator.h:
8307 Remove comma at end of enumerator list.
8309 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
8311 * win32/common/libgstbase.def:
8312 * win32/common/libgstdataprotocol.def:
8313 * win32/common/libsgtreamer.def:
8314 Add new exported functions.
8316 2006-07-05 Wim Taymans <wim@fluendo.com>
8318 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
8319 Add some more docs here and there.
8321 2006-07-05 Wim Taymans <wim@fluendo.com>
8323 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
8324 (gst_base_sink_loop), (gst_base_sink_get_position):
8325 When operating in pull mode update the offset so that we
8328 2006-07-05 Wim Taymans <wim@fluendo.com>
8330 * gst/gstregistryxml.c: (read_string):
8331 Avoid strdup. (will happen in libxml, but hey!)
8336 2006-07-05 Wim Taymans <wim@fluendo.com>
8338 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
8339 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
8341 No point in checking if the size of the subbuffer > 0, the
8342 code handles it correclty as demonstrated by unit test.
8343 Also add a unit test for the zero sized _new_and_alloc and
8344 _copy. Fixes #346663.
8346 2006-07-05 Wim Taymans <wim@fluendo.com>
8348 * libs/gst/base/gstbasetransform.c:
8349 (gst_base_transform_prepare_output_buffer),
8350 (gst_base_transform_buffer_alloc),
8351 (gst_base_transform_handle_buffer):
8352 Make sure the buffer we pass to transform_ip has a refcount of
8353 1 and thus is writable. Fixes #343196
8355 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
8357 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
8358 (gst_file_src_init), (gst_file_src_set_property),
8359 (gst_file_src_get_property), (gst_file_src_map_region):
8360 * plugins/elements/gstfilesrc.h:
8361 Add "sequential" property, off by default, to use madvise and hint
8362 to the kernel that sequential access is desired.
8363 Touch all retrieved pages by default to ensure they are pulled
8364 into memory. (Closes #345720)
8366 2006-07-03 Wim Taymans <wim@fluendo.com>
8368 * docs/design/part-block.txt:
8369 * docs/design/part-dynamic.txt:
8372 2006-07-03 Wim Taymans <wim@fluendo.com>
8374 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
8375 (gst_caps_unref), (gst_static_caps_get),
8376 (gst_caps_append_structure):
8377 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
8378 Use GSlice when the glib we build against is >= 2.10
8380 2006-07-03 Wim Taymans <wim@fluendo.com>
8382 * gst/gstelement.c: (gst_element_pads_activate):
8383 Small cleanup in pad activation code.
8385 2006-07-03 Wim Taymans <wim@fluendo.com>
8387 Patch by: Peter Kjellerstedt <pkj at axis dot com>
8389 * gst/gst-i18n-app.h:
8390 * gst/gst-i18n-lib.h:
8391 * tools/gst-inspect.c: (print_signal_info):
8392 The attached patch will make the inclusion of gettext.h unconditional in
8393 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
8394 libintl.h in tools/gst-inspect.c.
8395 This allows use of --disable-nls again and fixes #344642.
8397 2006-07-03 Edward Hervey <edward@fluendo.com>
8399 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
8400 Implement pad blocking on events according to part-block.txt.
8401 More comments on behaviour.
8402 * tests/check/gst/gstevent.c: (test_event):
8403 Send event to peer pad of blocked pad (else it will block).
8405 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
8407 * libs/gst/check/gstcheck.c: (gst_check_message_error),
8408 (gst_check_run_suite):
8409 if we get the wrong message, give us the types as string
8410 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8412 * tests/check/elements/filesrc.c: (GST_START_TEST):
8413 add a test for trying to open a non-existing file
8415 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
8417 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8418 add a test for adding self
8420 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
8422 * libs/gst/check/gstcheck.h:
8423 add some assert_ as alias for fail_unless_*
8424 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
8425 increase test coverage
8427 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8430 include lcov.mak for lcov coverage generation
8431 * tools/Makefile.am:
8434 2006-07-02 Edward Hervey <edward@fluendo.com>
8436 * tests/check/elements/.cvsignore:
8439 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8442 don't set CFLAGS and friends for gcov, done from GST_GCOV now
8443 * tests/check/Makefile.am:
8446 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8448 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
8449 remove gst_caps_simplify; it was not declared and not used
8450 and deprecated in 0.8
8452 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8454 * docs/faq/gst-uninstalled:
8455 don't put empty paths on PYTHONPATH
8456 * docs/gst/gstreamer-sections.txt:
8457 remove some symbols that are not there
8459 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8461 * gst/gstcaps.c: (gst_caps_compare_structures):
8463 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8464 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
8467 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8469 * libs/gst/dataprotocol/Makefile.am:
8470 build dataprotocol test by linking to the lib, instead of
8471 compiling the source, so we get coverage
8472 * tests/check/Makefile.am:
8473 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
8474 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
8475 add a test for filesrc
8477 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8479 * tests/check/gst/gststructure.c: (GST_START_TEST),
8480 (gst_structure_suite):
8481 Push coverage from 59.04% to 70.00%
8483 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8485 * tests/check/Makefile.am:
8486 gst-inspect every element; this makes sure that we also get
8487 coverage on element's get/set functions
8489 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8492 set CFLAGS and friends to -O0 if gcov is being used
8495 * libs/gst/base/Makefile.am:
8496 * libs/gst/check/Makefile.am:
8497 * libs/gst/controller/Makefile.am:
8498 * libs/gst/dataprotocol/Makefile.am:
8499 * libs/gst/net/Makefile.am:
8500 * plugins/elements/Makefile.am:
8501 * plugins/indexers/Makefile.am:
8502 add makefile rules to generate gcov data and clean up
8503 * tests/check/Makefile.am:
8504 add a coverage target that generates an html overview
8507 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
8509 * tests/check/elements/fakesink.c:
8510 * tests/check/elements/fakesrc.c:
8511 * tests/check/elements/fdsrc.c:
8512 * tests/check/elements/identity.c:
8513 * tests/check/generic/sinks.c: (gst_sinks_suite):
8514 * tests/check/generic/states.c:
8515 * tests/check/gst/gst.c:
8516 * tests/check/gst/gstabi.c:
8517 * tests/check/gst/gstbin.c:
8518 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
8519 * tests/check/gst/gstbus.c: (gst_bus_suite):
8520 * tests/check/gst/gstcaps.c: (GST_START_TEST):
8521 * tests/check/gst/gstelement.c:
8522 * tests/check/gst/gstevent.c: (gst_event_suite):
8523 * tests/check/gst/gstghostpad.c:
8524 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
8525 * tests/check/gst/gstmessage.c: (gst_message_suite):
8526 * tests/check/gst/gstminiobject.c:
8527 * tests/check/gst/gstobject.c:
8528 * tests/check/gst/gstpad.c:
8529 * tests/check/gst/gstpipeline.c:
8530 * tests/check/gst/gstplugin.c:
8531 * tests/check/gst/gstquery.c: (gst_query_suite):
8532 * tests/check/gst/gstsegment.c: (gst_segment_suite):
8533 * tests/check/gst/gststructure.c:
8534 * tests/check/gst/gstsystemclock.c:
8535 * tests/check/gst/gsttag.c:
8536 * tests/check/gst/gsttask.c: (gst_task_suite):
8537 * tests/check/gst/gstutils.c:
8538 * tests/check/gst/gstvalue.c:
8539 * tests/check/libs/adapter.c:
8540 * tests/check/libs/basesrc.c:
8541 * tests/check/libs/collectpads.c:
8542 * tests/check/libs/controller.c:
8543 * tests/check/libs/gdp.c: (gst_dp_suite):
8544 * tests/check/libs/gstnetclientclock.c:
8545 * tests/check/libs/gstnettimeprovider.c:
8546 * tests/check/libs/libsabi.c: (libsabi_suite):
8547 * tests/check/libs/typefindhelper.c:
8548 * tests/check/pipelines/cleanup.c:
8549 * tests/check/pipelines/parse-launch.c:
8550 * tests/check/pipelines/simple-launch-lines.c:
8551 * tests/check/pipelines/stress.c: (stress_suite):
8554 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
8556 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
8557 * libs/gst/check/gstcheck.h:
8558 create a macro and function so that the simple unit test
8559 case can be just one macro to create main()
8561 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
8563 * gst/gstbin.c: (gst_bin_restore_thyself):
8564 * gst/gstxml.c: (gst_xml_make_element):
8565 Fix deserialisation from XML. Set parent manually
8566 instead of using gst_bin_add(), since gst_bin_add()
8567 will unlink all pads of the element being added.
8570 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
8572 Patch by: Peter Kjellerstedt <pkj at axis com>
8574 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
8575 Fix missing g_strdup() and double free when using the
8576 --gst-plugin-load command line option (#346097).
8578 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
8581 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
8583 * libs/gst/net/gstnetclientclock.c:
8584 * libs/gst/net/gstnettimeprovider.c:
8585 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
8587 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
8589 * docs/manual/advanced-dataaccess.xml:
8590 Fix buffer probe example compilation in
8593 2006-06-22 Edward Hervey <edward@fluendo.com>
8595 * gst/gstelement.c: (gst_element_pads_activate):
8596 We need to deactivate src pads first and then sink pads.
8597 The reason is the src pads might be blocking while holding the streaming
8598 lock, so we need to deactivate them first so that deactivating the sink
8599 pads doesn't block (since it will require the streaming lock).
8601 2006-06-22 Wim Taymans <wim@fluendo.com>
8603 * libs/gst/base/gstbasetransform.c:
8604 (gst_base_transform_buffer_alloc):
8605 Forgot to remove two unneeded unrefs.
8606 Simplify a check _is_equal allready checks the obvious case.
8608 2006-06-22 Wim Taymans <wim@fluendo.com>
8610 * docs/design/part-block.txt:
8611 Some docs about what pad_block should do.
8613 2006-06-22 Wim Taymans <wim@fluendo.com>
8615 * gst/gstcaps.c: (gst_caps_replace):
8616 Fix crasher when passed NULL. Doc clarification.
8617 Optimize for the trivial case.
8619 * gst/gstpipeline.c: (gst_pipeline_change_state):
8622 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
8623 Small documentation cleanup.
8625 * libs/gst/base/gstbasetransform.c:
8626 (gst_base_transform_buffer_alloc):
8627 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
8628 is what we need and it avoids a whole lot of redundant
8629 refcount operations.
8631 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
8633 Patch by: Philip Jägenstedt <philip at lysator liu se>
8635 * docs/manual/advanced-dataaccess.xml:
8636 Fix 'Embedding static elements' section to use
8637 GST_PLUGIN_DEFINE_STATIC (#345607).
8639 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
8641 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
8642 Attempt to 'fix' spuriously failing test case: it seems like the
8643 timeout of half a second is simply too small when the system is under
8644 load otherwise, and the timeout doesn't really seem to serve any
8645 particular purpose here. Give the pipeline a few seconds to preroll
8646 first, and then give it another half a second to go from PAUSED to
8647 PLAYING and marshal the message into the main thread.
8649 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
8651 * tools/gst-feedback-m.m:
8652 Don't only use unversioned tools, try versioned tools as well
8655 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
8657 * gst/gstbus.c: (gst_bus_class_init):
8658 Fix some typos, make docs more explicit.
8660 2006-06-20 Wim Taymans <wim@fluendo.com>
8662 * tests/check/gst/gstghostpad.c: (block_callback),
8663 (GST_START_TEST), (gst_ghost_pad_suite):
8664 Added some more ghostpad tests, mainly blocking
8667 2006-06-16 Wim Taymans <wim@fluendo.com>
8669 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8670 (gst_file_sink_close_file), (gst_file_sink_do_seek),
8671 (gst_file_sink_event), (gst_file_sink_render):
8672 * plugins/elements/gstfilesink.h:
8673 Check if we can seek in the file instead of assuming
8674 we always can. Post an error when we are asked to seek in a
8675 non-seekable file (like a fifo). Fixes #343312.
8678 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
8680 * tools/gst-launch.1.in:
8681 Un-garble (fourcc) bit in filtered caps section.
8683 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
8685 * docs/manual/advanced-autoplugging.xml:
8686 * docs/manual/basics-helloworld.xml:
8687 * docs/manual/highlevel-components.xml:
8688 Don't leak bus reference in sample code.
8690 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
8693 Add default for new --enable-plugin-docs switch.
8696 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
8700 Use new ENABLE_PLUGIN_DOCS conditional.
8702 2006-06-14 Wim Taymans <wim@fluendo.com>
8704 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
8705 Make it clear with a FIXME and a real define what the #if 0
8706 previously disabled.
8708 2006-06-14 Wim Taymans <wim@fluendo.com>
8710 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
8711 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
8712 * libs/gst/base/gstbasetransform.c:
8713 (gst_base_transform_sink_eventfunc):
8714 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
8715 Don't randomly and silently reset a segment when the format
8716 changes as this is a bug somewhere upstream. Fixes #330379.
8718 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
8720 Patch by: Wouter Paesen <wouter at kangaroot net>
8722 * libs/gst/controller/gstcontroller.c:
8723 (gst_controlled_property_new):
8724 Fix controlling of float properties (#344849).
8726 * tests/check/libs/controller.c:
8727 (gst_test_mono_source_get_property),
8728 (gst_test_mono_source_set_property),
8729 (gst_test_mono_source_class_init), (GST_START_TEST):
8730 While we're at it, add some float stuff to unit test.
8732 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
8735 * docs/images/gdp-header.svg:
8737 * docs/libs/Makefile.am:
8738 * docs/libs/gdp-header.png:
8739 * libs/gst/dataprotocol/dataprotocol.c:
8740 add it to the API docs
8741 * docs/manual/intro-motivation.xml:
8744 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
8746 * gst/gst.c: (scan_and_update_registry), (init_post):
8747 If the fork()'ed child process can't write the updated registry cache
8748 file to disk for some reason, make it exit with a failure exit code,
8749 so that the parent can then re-scan the plugins itself and update the
8750 registry structures in memory and work with that (rather than failing
8751 when creating elements because seemingly no plugins are available).
8752 Refactor registry scanning code into separate function for this and
8753 also separate fork() and non-fork() code paths. Fixes #344748.
8755 2006-06-13 Wim Taymans <wim@fluendo.com>
8757 * docs/manual/advanced-dataaccess.xml:
8758 Fix wrong PluginDesc. Fixes #344755.
8760 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
8762 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
8763 Fix silly bug that prevented us from creating
8764 ~/.gstreamer-0.10 and writing the registry in one
8765 go (the first call to g_mkstemp() would overwrite the
8766 placeholder in the template string, so the second call
8767 to g_mkstemp() after creating the missing directory
8768 would then error out with 'invalid argument').
8770 2006-06-13 Edward Hervey <edward@fluendo.com>
8772 * gst/gst.c: (init_post):
8775 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
8777 * gst/glib-compat-private.h:
8778 * gst/glib-compat.c:
8779 * gst/glib-compat.h:
8780 * gst/gstvalue.c: (gst_value_serialize_flags):
8781 remove GLib 2.6 compatibility code
8783 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
8785 * gst/parse/Makefile.am:
8786 Fix build with 'make -j N' even more (#340016).
8788 2006-06-12 Wim Taymans <wim@fluendo.com>
8790 * docs/gst/gstreamer-sections.txt:
8793 2006-06-12 Wim Taymans <wim@fluendo.com>
8795 * gst/gstsegment.c: (gst_segment_set_duration),
8796 (gst_segment_set_last_stop), (gst_segment_set_seek),
8797 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
8798 (gst_segment_to_running_time), (gst_segment_clip):
8799 Use G_UNLIKELY to help the compiler a bit.
8801 2006-06-12 Wim Taymans <wim@fluendo.com>
8803 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
8805 * gst/gstevent.c: (gst_event_get_type):
8807 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
8809 constify quark registration strings. Fixes #344115
8810 Avoid unneeded type checking is _pad_push() by internally
8811 calling gst_pad_chain_unchecked().
8813 2006-06-12 Wim Taymans <wim@fluendo.com>
8815 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
8816 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
8817 (gst_subbuffer_finalize), (gst_buffer_create_sub),
8818 (gst_buffer_is_span_fast), (gst_buffer_span):
8819 Init _type for consistency.
8820 Use _FLAGS macro to avoid type check.
8821 Avoid unneeded type checks in subbufer code.
8823 2006-06-12 Wim Taymans <wim@fluendo.com>
8825 * gst/gst.c: (gst_debug_help):
8826 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
8827 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
8828 (gst_plugin_feature_list_free):
8829 * gst/gstregistry.c: (gst_registry_add_plugin),
8830 (gst_registry_add_feature), (gst_registry_plugin_filter),
8831 (gst_registry_feature_filter), (gst_registry_find_plugin),
8832 (gst_registry_find_feature), (gst_registry_get_plugin_list),
8833 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
8834 * gst/gstregistryxml.c: (load_feature),
8835 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
8836 * gst/gstminiobject.c: (gst_mini_object_unref),
8837 (gst_mini_object_replace), (gst_value_mini_object_free),
8838 (gst_value_mini_object_copy):
8839 Use _CAST macros to avoid unneeded type checking.
8840 Added some more G_UNLIKELY.
8842 2006-06-12 Wim Taymans <wim@fluendo.com>
8845 Avoid unneeded type checking.
8846 API: GST_BUFFER_IS_DISCONT
8848 * gst/gstminiobject.h:
8849 Avoid type check in flag accessor.
8851 * gst/gstelementfactory.h:
8853 * gst/gstpluginfeature.h:
8855 API: GST_ELEMENT_FACTORY_CAST
8856 API: GST_PLUGIN_CAST
8857 API: GST_PLUGIN_FEATURE_CAST
8859 2006-06-12 Wim Taymans <wim@fluendo.com>
8861 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
8863 Add G_UNLIKELY in type registration.
8864 Avoid type check in _ref/_unref since that is also
8867 2006-06-12 Wim Taymans <wim@fluendo.com>
8869 * gst/gsterror.c: (gst_g_error_get_type):
8870 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
8871 (gst_static_pad_template_get_type):
8872 * gst/gsttaglist.c: (gst_tag_list_get_type):
8873 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
8874 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
8875 * gst/gsturi.c: (gst_uri_handler_get_type):
8876 * gst/gstvalue.c: (gst_date_get_type):
8877 * gst/gstxml.c: (gst_xml_get_type):
8878 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
8879 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
8880 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
8881 Add G_UNLIKELY in type registration.
8883 2006-06-12 Wim Taymans <wim@fluendo.com>
8885 * tools/gst-inspect.c: (print_signal_info):
8886 Properly print enum values.
8888 2006-06-12 Wim Taymans <wim@fluendo.com>
8890 * gst/gstinfo.c: (gst_debug_set_active),
8891 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
8893 Add some G_[UN]LIKELY.
8894 Maintain __gst_debug_min to avoid formatting the arguments of
8895 debug messages that will be dropped anyway to avoid a lot of
8896 overhead from the debugging system.
8898 2006-06-11 Stefan Kost <ensonic@users.sf.net>
8902 add missing files containing translatable strings, tell intltool about
8905 2006-06-11 Stefan Kost <ensonic@users.sf.net>
8907 * tests/check/libs/.cvsignore:
8908 add test-binary to ignore list
8910 2006-06-11 Stefan Kost <ensonic@users.sf.net>
8912 * docs/libs/gstreamer-libs-docs.sgml:
8913 reorder (put dp into a chapter) and indent
8915 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
8920 === release 0.10.8 ===
8922 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
8925 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
8927 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
8929 * gst/gst.c: (init_post):
8930 move pid declaration to declaration block
8932 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
8934 * gst/gst.c: (init_post):
8935 use _exit() instead of exit() in our forked child; this ensures
8936 that none of the registered exit handlers from whatever is using
8937 GStreamer get executed. This fixes gnome-mixer-applet failing
8938 to load, because ORBit would shut down.
8939 Spotted by: Edward Hervey <edward@fluendo.com>
8940 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
8943 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
8948 === release 0.10.7 ===
8950 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
8953 releasing 0.10.7, "Soepeke, ik zie ou"
8955 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
8978 * win32/common/config.h:
8981 2006-06-07 Wim Taymans <wim@fluendo.com>
8983 * gst/gstindex.c: (gst_index_gtype_resolver):
8984 * tools/gst-xmlinspect.c: (print_plugin_info):
8985 Fix leak spotted by coverity checker. Fixes #343827
8986 Fix another other leak found by paolo borelli.
8988 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
8990 * libs/gst/dataprotocol/dataprotocol.c:
8991 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
8992 (gst_dp_version_get_type), (gst_dp_init),
8993 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
8994 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
8995 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
8996 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
8997 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
8998 (gst_dp_packetizer_free):
8999 * libs/gst/dataprotocol/dataprotocol.h:
9000 API: add a GstDPPacketizer object, and create/free functions
9001 API: add GstDPVersion enum
9002 Add 1.0 event function that uses the string serialization
9003 Serialize more useful buffer flags
9006 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
9008 * tests/check/Makefile.am:
9009 * tests/check/gst/gstabi.c:
9010 * tests/check/gst/struct_ppc64.h:
9011 * tests/check/libs/libsabi.c:
9012 * tests/check/libs/struct_ppc64.h:
9013 add ppc64 structure sizes
9015 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
9017 * tests/check/Makefile.am:
9018 * tests/check/gst/gstabi.c:
9019 * tests/check/gst/struct_x86_64.h:
9020 * tests/check/libs/libsabi.c:
9021 * tests/check/libs/struct_x86_64.h:
9022 generate and add structure size lists for x86_64
9024 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
9026 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
9027 * libs/gst/check/gstcheck.h:
9028 factor out the method from tests that checks size of structures,
9029 and add code to generate the header containing these sizes
9030 * tests/check/gst/gstabi.c: (GST_START_TEST):
9031 * tests/check/gst/struct_i386.h:
9032 * tests/check/libs/libsabi.c: (GST_START_TEST):
9033 * tests/check/libs/struct_i386.h:
9036 2006-06-06 Michael Smith <msmith@fluendo.com>
9039 Don't use c++-style comments, fixes #343929
9041 2006-06-05 Edward Hervey <edward@fluendo.com>
9044 plugin_paths is not used if we build without registry support.
9046 * gst/gstsegment.c: (gst_segment_copy):
9047 _copy() was always returning NULL...
9049 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
9051 * libs/gst/dataprotocol/dataprotocol.c:
9052 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
9053 (gst_dp_packet_from_event):
9056 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
9058 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
9059 make sure we unset caps
9061 2006-06-02 Michael Smith <msmith@fluendo.com>
9063 * libs/gst/check/gstcheck.c: (gst_check_init),
9064 (gst_check_chain_func):
9065 * libs/gst/check/gstcheck.h:
9066 Add a cond/mutex to the check support lib, signal this whenever we
9067 add to the buffers list. This will allow tests to not busy-wait on
9070 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
9072 * libs/gst/dataprotocol/dataprotocol.c:
9073 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
9074 (gst_dp_packet_from_event):
9075 factor out some common header init code
9077 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
9079 * docs/libs/gstreamer-libs-sections.txt:
9080 * docs/libs/tmpl/gstdataprotocol.sgml:
9081 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
9082 * libs/gst/dataprotocol/dataprotocol.h:
9083 API: make gst_dp_crc() public
9085 2006-06-01 Stefan Kost <ensonic@users.sf.net>
9087 * plugins/indexers/gstindexers.c: (plugin_init):
9088 conditionally register fileindexer (fixes #343598)
9090 2006-06-01 Stefan Kost <ensonic@users.sf.net>
9092 * gst/gsttagsetter.h:
9093 Can't cast ifaces to a class
9095 * libs/gst/net/gstnetclientclock.h:
9096 * libs/gst/net/gstnettimeprovider.h:
9097 * plugins/elements/gstfakesink.h:
9098 * plugins/elements/gstfakesrc.h:
9099 * plugins/elements/gstfdsink.h:
9100 * plugins/elements/gstfdsrc.h:
9101 * plugins/elements/gstfilesink.h:
9102 * plugins/elements/gstfilesrc.h:
9103 * plugins/elements/gstidentity.h:
9104 * plugins/elements/gstqueue.h:
9105 * plugins/elements/gsttee.h:
9106 * plugins/indexers/gstfileindex.c:
9107 * plugins/indexers/gstmemindex.c:
9108 * tests/old/examples/plugins/example.h:
9109 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
9111 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
9113 * libs/gst/dataprotocol/dataprotocol.c:
9114 (gst_dp_header_from_buffer):
9115 make sure we zero the whole ABI-compatible area
9117 2006-06-01 Wim Taymans <wim@fluendo.com>
9119 Patch by: Alessandro Decina <alessandro at nnva dot org>
9121 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
9122 Make sure the EOS flag is cleared from pads after a flush
9123 or stop. Fixes #343538.
9125 * tests/check/libs/collectpads.c: (GST_START_TEST),
9126 (gst_collect_pads_suite):
9127 Added test for collectpads reusage after EOS.
9129 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
9132 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
9133 * win32/common/libgstbase.def:
9134 export gst_collect_pads_set_flushing
9135 * win32/common/libgstreamer.def:
9136 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
9137 gst_value_fraction_multiply
9138 * win32/vs6/gst_inspect.dsp:
9139 add a link to intl.lib
9141 2006-05-30 Wim Taymans <wim@fluendo.com>
9143 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
9144 (gst_collect_pads_chain):
9145 Handle the case where a pad is removed from the collection
9146 that could cause the other pads to become collectable.
9148 2006-05-30 Wim Taymans <wim@fluendo.com>
9151 Clarify the use of _release_request_pad() and
9152 _get_request_pad() a bit better.
9154 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
9155 (gst_adapter_take_buffer):
9156 Fix some doc and comment typos.
9158 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9160 * docs/gst/gstreamer-sections.txt:
9161 * docs/libs/gstreamer-libs-sections.txt:
9162 add declared symbols
9164 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
9166 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
9167 Add debug that can be enabled using a #define at the top of the file,
9168 for dumping stats about how late/early we were when waking up from
9169 waiting on the clock.
9171 2006-05-30 Wim Taymans <wim@fluendo.com>
9173 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
9174 When rebuilding the pad list, don't leak the previous list.
9176 2006-05-30 Wim Taymans <wim@fluendo.com>
9178 Patch by: Lutz Mueller <lutz at topfrose dot de>
9180 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9181 (gst_base_src_get_query_types), (gst_base_src_update_length):
9182 Publish supported query types.
9183 Update last_stop field in get_range mode so the position
9184 query works. Fixes #342321.
9186 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
9188 * docs/gst/gstreamer-sections.txt:
9189 * gst/gsttaglist.c: (_gst_tag_initialize):
9191 API: add GST_TAG_PREVIEW_IMAGE (#343341).
9193 2006-05-30 Wim Taymans <wim@fluendo.com>
9195 Patch by: Alessandro Decina <alessandro at nnva dot org>
9197 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
9198 Unlock mutex when removing an unknown pad.
9201 * tests/check/Makefile.am:
9202 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
9203 (push_event), (setup), (teardown), (GST_START_TEST),
9204 (gst_collect_pads_suite), (main):
9205 Added collecpads check, disabled for now as check crashes for
9208 2006-05-29 Wim Taymans <wim@fluendo.com>
9210 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
9211 Don't leak pads lists.
9213 2006-05-29 Wim Taymans <wim@fluendo.com>
9215 * docs/libs/gstreamer-libs-sections.txt:
9216 * libs/gst/base/gstcollectpads.c:
9217 (gst_collect_pads_set_flushing_unlocked),
9218 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
9219 (gst_collect_pads_stop):
9220 * libs/gst/base/gstcollectpads.h:
9221 API: gst_collect_pads_set_flushing()
9222 Added api to set the pads to flushing, useful for seeking
9223 code in elements using collectpads.
9224 Clear segment when receiving a flush.
9226 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
9228 * gst/gst.c: (add_path_func), (init_post):
9229 Don't scan registry paths passed via --gst-plugin-path immediately
9230 (will crash, because absolutely nothing is set up and no types are
9231 registered etc.); do this later in init_post(). Fixes #343057.
9233 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
9235 * gst/gst.c: (init_post):
9236 if we have fork, fork while reading/rebuilding the registry
9237 so the parent doesn't take the hit of having all plugins loaded
9238 in memory. Fixes #342777.
9240 Check if we have fork()
9241 * win32/common/config.h.in:
9244 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
9246 * plugins/elements/gstelements.c:
9247 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9248 (gst_file_src_init), (gst_file_src_set_property),
9249 (gst_file_src_get_property), (gst_file_src_start):
9250 * plugins/elements/gstfilesrc.h:
9251 API: GstFileSrc::use-mmap
9253 Add a use-mmap property to enable easier testing of all code paths.
9254 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
9255 in the absence of gnomevfssrc. (Closes #340501)
9257 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9259 * tools/gst-inspect.c:
9260 Add missing include, removes warning of ngettext not being defined on
9263 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
9265 * gst/gstvalue.c: (gst_value_deserialize_fraction):
9266 Handle NULL input and output pointers silently as a failed conversion,
9267 rather than g_warnings.
9269 2006-05-25 Wim Taymans <wim@fluendo.com>
9271 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
9272 Initialize variable before using. Fixes #342820.
9274 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
9276 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
9277 Fix off-by-one bug that would only allow peeks of N-1 bytes
9278 from the start even if the buffer to typefind on contains
9279 in fact N bytes of data (makes vorbis typefinding from a
9280 vorbis identification header buffer work).
9282 * tests/check/Makefile.am:
9283 * tests/check/libs/.cvsignore:
9284 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
9285 (gst_typefindhelper_suite), (main), (foobar_typefind),
9287 Add very basic unit test for gst_type_find_helper_for_buffer()
9288 that checks for the problem fixed above.
9290 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
9292 * tools/gst-inspect.c: (print_interfaces),
9293 (print_element_properties_info), (print_element_list), (main):
9294 add more translatable strings
9296 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
9298 Patch by: Julien Moutte <julien at moutte net>
9300 * docs/gst/gstreamer-sections.txt:
9301 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
9303 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9304 (gst_fake_sink_preroll):
9305 * plugins/elements/gstfakesink.h:
9306 API: Add new GstFakeSink::preroll-handoff signal (#337100).
9308 2006-05-23 Wim Taymans <wim@fluendo.com>
9310 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
9312 Added _CUSTOM error and success GstFlowReturn that can be
9313 used be elements internally.
9314 Added macro to check for SUCCESS flowreturns.
9315 API: GST_FLOW_CUSTOM_SUCCESS
9316 API: GST_FLOW_CUSTOM_ERROR
9317 API: GST_FLOW_IS_SUCCESS
9319 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
9320 Added check for GstFlowReturn sanity.
9322 2006-05-23 Wim Taymans <wim@fluendo.com>
9324 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9326 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
9327 (gst_collect_pads_event):
9328 clear/reset segment info in FLUSH_STOP.
9331 2006-05-22 Stefan Kost <ensonic@users.sf.net>
9333 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
9334 (gst_collect_pads_check_collected):
9335 Flush queued buffer on _stop(), fixes playing again (#342454)
9337 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
9339 * tests/check/gst/gststructure.c: (GST_START_TEST),
9340 (gst_structure_suite):
9341 add a test for a complete structure
9343 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
9345 * docs/faq/developing.xml:
9347 * docs/faq/troubleshooting.xml:
9348 * docs/faq/using.xml:
9349 Some minor FAQ updates that won't change the fact that
9350 our FAQ is badly structured, full of information hardly
9351 anyone new to GStreamer needs to know and lacking lots
9352 of information people constantly ask for.
9354 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
9356 * gst/gstpad.c: (gst_pad_set_caps):
9357 Short-circuit gst_pad_set_caps if setting the existing
9358 caps pointer again, and avoid printing debug and
9359 reffing/unreffing the caps.
9361 * plugins/elements/gstqueue.c: (gst_queue_push_one):
9362 There's actually no need to set the caps before pushing -
9363 the acceptcaps method will handle it anyway.
9365 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
9367 * docs/gst/gstreamer-sections.txt:
9368 * win32/common/libgstreamer.def:
9369 * gst/gstutils.c: (gst_element_seek_simple):
9371 API: add gst_element_seek_simple() (#342238).
9373 2006-05-18 Edward Hervey <edward@fluendo.com>
9375 * gst/gsttypefind.c: (gst_type_find_get_type):
9376 * gst/gsttypefind.h:
9377 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
9378 registered for GstTypeFind pointers. This allows wrapping the structure
9379 in bindings (i.e. gst-python).
9381 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
9383 * gst/gsttagsetter.c:
9384 Docs additions and fixes (see #339918).
9386 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
9388 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9389 The caps intersection algorithm can produce multiple copies of the
9390 caps. Until that is fixed, we need to simplify the result to be
9391 sure whether the allowed caps are fixed or not.
9393 * plugins/elements/gstqueue.c: (gst_queue_init),
9394 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
9395 (gst_queue_push_one):
9396 Proxied buffer alloc should not set the caps on the source pad.
9397 When pushing buffers, we always accept the caps change that triggers.
9398 This prevents negotiation errors caused by caps changing mid-stream
9399 and then being refused on our source pad (because upstream is now
9400 refusing those caps).
9402 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
9404 * tests/examples/helloworld/helloworld.c: (main):
9405 Must plug audioconvert and audioresample between decoder
9408 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
9410 * gst/gstregistryxml.c: (read_string), (load_pad_template),
9411 (load_feature), (load_plugin):
9412 Allow empty strings for some of the plugin fields so we don't
9413 drop valid plugin entries that were written out correctly
9416 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
9418 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
9419 Use g_remove and g_rename instead of remove and rename that don't
9420 handle utf8 characters. rename was failing for users who had specific
9421 characters in their name then the registry was built at each
9423 * win32/vs6/gst_inspect.dsp:
9424 * win32/vs6/gst_launch.dsp:
9425 * win32/vs6/libgstbase.dsp:
9426 * win32/vs6/libgstcoreelements.dsp:
9427 * win32/vs6/libgstreamer.dsp:
9428 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
9429 build of libgstreamer and clean unused libraries in projects link
9432 2006-05-17 Edward Hervey <edward@fluendo.com>
9434 * plugins/elements/gstqueue.c: (gst_queue_push_one):
9435 The queue is not responsible for pushing an EOS when receiving a fatal
9436 flow error. It's up to the real element driving the pipeline to do that.
9438 2006-05-16 Edward Hervey <edward@fluendo.com>
9440 * plugins/elements/gstqueue.c: (gst_queue_push_one):
9441 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
9442 buffer returned a fatal error. It should just send an EOS and stop
9444 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
9445 when pushing buffers on the queue and will be able to handle the event.
9447 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
9449 * docs/manual/basics-bins.xml:
9450 * docs/manual/basics-init.xml:
9451 Fix typos and minor errors in sample code (#341856).
9453 2006-05-16 Wim Taymans <wim@fluendo.com>
9455 * docs/design/part-qos.txt:
9456 Fix indexes in formulas to make more sense.
9458 2006-05-15 Wim Taymans <wim@fluendo.com>
9460 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9461 Don't report POSITION based on clock time if sync is
9464 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
9467 Add cast to make compiler happy - refcount variable was a gint
9468 in GstObject but is a guint in GObject and g_atomic_int_get()
9471 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
9473 * gst/parse/Makefile.am:
9474 chain commands using &&, which also makes parallel make work
9476 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
9478 * docs/gst/gstreamer-sections.txt:
9484 === release 0.10.6 ===
9486 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
9489 releasing 0.10.6, "Take the cannoli"
9491 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
9493 * tools/gst-launch.c: (print_tag):
9494 Fix use of uninitialized variable in the hypothetical
9495 case that some broken plugin creates a GST_TAG_IMAGE
9496 tag containing a NULL buffer (#341667).
9498 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
9500 * tools/gst-launch.c: (print_tag):
9501 Print something more intelligible for image tags when
9502 using the -t switch (#341556).
9504 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
9509 define GST_MAJORMINOR so we have it available in win32/common/config.h
9510 Possibly remove it from our Makefile.am files later
9511 * win32/common/config.h:
9512 * win32/common/config.h.in:
9513 added GST_MAJORMINOR
9514 * win32/common/gstenumtypes.c: (register_gst_resource_error):
9515 * win32/common/gstversion.h:
9518 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
9521 Update win32 files listing.
9522 * win32/common/gstversion.h:
9523 Add GST_MAJORMINOR definition.
9524 * win32/common/libgstreamer.def:
9525 Add new exported functions.
9527 2006-05-12 Michael Smith <msmith@fluendo.com>
9529 * gst/gstplugin.c: (gst_plugin_load_file):
9530 If an so file has no plugin entry point, unload the module.
9532 2006-05-11 Wim Taymans <wim@fluendo.com>
9534 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
9535 (gst_queue_set_property):
9536 Don't forget to signal the _chain or _loop function
9537 when the queue size or thresholds change since that might
9538 cause them to make progres again.
9540 2006-05-11 Stefan Kost <ensonic@users.sf.net>
9542 * gst/gstclock.c: (gst_clock_class_init):
9543 * gst/gstindex.c: (gst_index_class_init):
9544 * gst/gstobject.c: (gst_object_class_init):
9545 * gst/gstpad.c: (gst_pad_class_init):
9546 * gst/gstpipeline.c: (gst_pipeline_class_init):
9547 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
9548 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
9549 * libs/gst/base/gstbasetransform.c:
9550 (gst_base_transform_class_init):
9551 * libs/gst/net/gstnetclientclock.c:
9552 (gst_net_client_clock_class_init):
9553 * libs/gst/net/gstnettimeprovider.c:
9554 (gst_net_time_provider_class_init):
9555 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
9556 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
9557 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
9558 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
9559 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
9560 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
9561 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
9562 * plugins/elements/gstidentity.c: (gst_identity_class_init):
9563 * plugins/elements/gsttee.c: (gst_tee_class_init):
9564 * tests/old/examples/plugins/example.c: (gst_example_class_init):
9565 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
9566 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
9568 2006-05-11 Wim Taymans <wim@fluendo.com>
9570 * gst/gstbuffer.c: (_gst_buffer_initialize):
9571 Register subbufer along with the buffer type so that
9572 it does not accidentally gets registered from N
9573 different streaming threads in a non threadsafe way.
9575 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
9580 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
9581 gst_event_ref() and gst_message_ref() functions again
9582 (ugly hack, please do fix if there's a better way besides
9583 overrides.txt, which doesn't seem to work).
9585 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
9587 * libs/gst/check/gstcheck.h:
9588 add an assert for setting state to avoid lots of repetitive code
9591 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
9593 * gst/gstvalue.c: (gst_value_serialize_flags):
9594 fix a leak if no flags are set
9595 * tests/check/gst/gstvalue.c: (GST_START_TEST):
9598 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
9600 * docs/manual/basics-pads.xml:
9601 Expand a bit on caps and filtered links and update
9602 examples that were still using the no longer existing
9603 gst_pad_link_filtered() (#338206).
9605 2006-05-10 Wim Taymans <wim@fluendo.com>
9607 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
9608 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
9609 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
9610 (gst_collect_pads_stop):
9611 * libs/gst/base/gstcollectpads.h:
9612 No need to call _stop in _finalize.
9613 Iterate the main pad list in _finalize.
9614 Added some more debug.
9615 Free lists and data in the right order.
9616 Also free data whem doing _remove_pad when stopped for
9617 backward compatibility protect ::started with PAD_LOCK as
9620 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
9622 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
9623 (gst_structure_parse_value):
9625 rename a method so that it actually says what it does better
9627 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
9629 * gst/gstevent.c: (_gst_event_initialize):
9630 * gst/gstformat.c: (_gst_format_initialize):
9631 make sure some essential types used by events are registered
9632 as part of gst_init()
9633 * gst/gstvalue.c: (gst_value_serialize_flags):
9634 if no flags are set, serialize them to a value that represents NONE
9635 so that deserializing them works
9636 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9637 add tests for serialization and deserialization of flags
9639 2006-05-10 Wim Taymans <wim@fluendo.com>
9641 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
9642 (gst_collect_pads_collect_range), (gst_collect_pads_available),
9643 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
9644 (gst_collect_pads_event), (gst_collect_pads_chain):
9647 Catch and return errors from the collect function
9648 Refuse data on eos pads.
9650 2006-05-10 Edward Hervey <edward@fluendo.com>
9652 * gst/gstinterface.h:
9653 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
9654 GInterface type checking.
9655 They were previously using non-defined macros.
9657 2006-05-09 Wim Taymans <wim@fluendo.com>
9659 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
9660 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
9661 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
9662 (gst_collect_pads_start), (gst_collect_pads_stop),
9663 (gst_collect_pads_peek), (gst_collect_pads_pop),
9664 (gst_collect_pads_available), (gst_collect_pads_read),
9665 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
9666 (gst_collect_pads_is_collected), (gst_collect_pads_event),
9667 (gst_collect_pads_chain):
9668 * libs/gst/base/gstcollectpads.h:
9669 Clean up the mess that is collectpads, add comments and
9670 FIXMEs where needed.
9671 Maintain a separate pad list so we can add pads while
9672 collecting the other ones. For this we need a new separate
9674 Fix memory leak in finalize.
9675 Refactor some weird code to set/unset pad flushing flags, mark
9677 Don't crash in _available, _read, _flush when we're EOS.
9679 * tests/check/libs/.cvsignore:
9680 Ignore adapter check binary.
9682 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
9684 * gst/gstindex.c: (gst_index_resolver_get_type):
9685 * plugins/elements/gstfakesink.c:
9686 (gst_fake_sink_state_error_get_type):
9687 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
9688 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
9689 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
9690 Const-ify GEnumValue arrays.
9692 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
9694 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
9695 Add test case for flags + gst_buffer_make_metadata_writable().
9697 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
9699 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
9700 gst_buffer_make_metadata_writable() should maintain the
9701 buffer flags (those that make sense at least) (see #340859).
9703 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
9705 * tools/gst-inspect.c:
9706 * tools/gst-launch.c:
9707 * tools/gst-typefind.c:
9708 * tools/gst-xmlinspect.c:
9710 Fix up includes: need to include stdlib.h in tools.h for exit().
9712 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
9714 * gst/gsttaglist.c: (_gst_tag_initialize):
9716 API: add GST_TAG_IMAGE tag (#340721).
9718 2006-05-08 Wim Taymans <wim@fluendo.com>
9721 Added some docs for the segment query.
9723 2006-05-08 Wim Taymans <wim@fluendo.com>
9725 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9726 (gst_base_src_loop), (gst_base_src_change_state):
9727 Always push non-flushing serialized events in the streaming
9730 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
9732 * gst/gsterror.c: (_gst_stream_errors_init):
9733 Add a missing error string.
9735 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
9737 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
9738 Add applied_rate to the debug
9740 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
9741 Copy applied_rate into the outgoing NEWSEGMENT event
9743 2006-05-08 Wim Taymans <wim@fluendo.com>
9745 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
9747 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9748 (gst_base_sink_change_state):
9749 call ::unlock before taking the PREROLL_LOCK so we can safely
9750 handle elements that lock in ::render.
9753 2006-05-08 Edward Hervey <edward@fluendo.com>
9755 * autogen.sh: (CONFIGURE_DEF_OPT):
9756 Darwin's libtoolize is in fact called glibtoolize.
9757 Adding glibtoolize to the list of accepted names for libtoolize.
9759 2006-05-08 Wim Taymans <wim@fluendo.com>
9761 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9762 Unify error handling, don't post an error message
9763 when a push() returns EOS but perform our normal EOS
9764 handling code. Fixes #340772.
9766 2006-05-08 Wim Taymans <wim@fluendo.com>
9768 * docs/design/part-overview.txt:
9769 Make upsteam/downstream concepts more clear.
9770 Give an example of serialized/non-serialized events.
9772 * docs/design/part-events.txt:
9773 * docs/design/part-streams.txt:
9774 Mention applied_rate.
9776 * docs/design/part-trickmodes.txt:
9777 Mention applied rate, flesh out some more use cases.
9779 * gst/gstevent.c: (gst_event_new_new_segment),
9780 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
9781 (gst_event_parse_new_segment_full), (gst_event_new_tag),
9782 (gst_event_parse_tag), (gst_event_new_buffer_size),
9783 (gst_event_parse_buffer_size), (gst_event_new_qos),
9784 (gst_event_parse_qos), (gst_event_parse_seek),
9785 (gst_event_new_navigation):
9787 Add applied_rate field to NEWSEGMENT event.
9788 API: gst_event_new_new_segment_full()
9789 API: gst_event_parse_new_segment_full()
9791 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
9792 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
9793 (gst_segment_to_stream_time), (gst_segment_to_running_time):
9795 Add applied_rate to GstSegment structure.
9796 Make calculation of stream_time and running_time more correct
9797 wrt rate/applied_rate.
9799 API: GstSegment::applied_rate field
9800 API: gst_segment_set_newsegment_full();
9802 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
9803 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
9804 * libs/gst/base/gstbasetransform.c:
9805 (gst_base_transform_sink_eventfunc),
9806 (gst_base_transform_handle_buffer):
9807 Parse and use applied_rate in the GstSegment field.
9809 * tests/check/gst/gstevent.c: (GST_START_TEST):
9810 Add check for applied_rate field.
9812 * tests/check/gst/gstsegment.c: (GST_START_TEST),
9813 (gstsegments_suite):
9814 Add more checks for various GstSegment operations.
9816 2006-05-08 Wim Taymans <wim@fluendo.com>
9818 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
9819 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
9820 (gst_base_sink_get_position), (gst_base_sink_change_state):
9821 Store the sync time of the buffer end position separatly in a
9822 new variable eos_rtime so we can properly sync the EOS event.
9824 Fix the docs for gst_base_sink_set_qos_enabled().
9825 Don't set segment start to invalid value when we receive a
9826 non TIME newsegment.
9827 get closer to handling position reporting for negative rates
9830 2006-05-07 Stefan Kost <ensonic@users.sf.net>
9833 Docs about how to print caps for debug purposes.
9835 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
9836 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
9838 2006-05-07 Stefan Kost <ensonic@users.sf.net>
9841 use full enum names and preprend a '%' in docs strings to make recent
9842 gtk-doc turn that into a link
9844 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
9846 * docs/manual/basics-bins.xml:
9847 * docs/manual/basics-bus.xml:
9848 * docs/manual/basics-pads.xml:
9849 Some typo fixes, some additions, some clarifications.
9851 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
9853 * tools/gst-inspect.c: (main):
9854 * tools/gst-launch.c: (main):
9855 * tools/gst-run.c: (main):
9856 * tools/gst-typefind.c: (main):
9857 * tools/gst-xmlinspect.c: (main):
9858 Use the string passed to g_option_context_new() for
9859 what it's intended for - the program name is already
9862 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
9864 * tools/Makefile.am:
9865 * tools/gst-inspect.c: (main):
9866 * tools/gst-launch.c: (main):
9867 * tools/gst-xmlinspect.c: (main):
9869 Add back --version command line option (#340460).
9871 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
9872 Add --version option and use GOption for argument parsing; refactor a
9873 bit; accept directories as arguments and recurse into them; lastly,
9874 print a decent error message when things go wrong.
9876 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
9878 * docs/manual/basics-bins.xml:
9879 Don't mention GstThread (#340611)
9880 * docs/manual/basics-elements.xml:
9881 Update link to GObject tutorial (#340607)
9883 2006-05-05 Wim Taymans <wim@fluendo.com>
9886 * gst/gstminiobject.c:
9887 Add note about refcounting and miniobject/buffer writeability
9888 to docs. Fixes #340604
9890 * gst/gstelementfactory.h:
9891 Added some explanation about @klass.
9893 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
9895 * docs/manual/intro-motivation.xml:
9896 * docs/manual/manual.xml:
9897 Avoid CORBA & Bonobo references (#340598)
9899 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
9901 * docs/manual/basics-bus.xml:
9902 * docs/manual/basics-pads.xml:
9903 Fix up some inaccuracies and omissions (#340609)
9905 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
9907 * gst/gstghostpad.c:
9908 Small typo in docs (#340625)
9910 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
9912 * gst/parse/Makefile.am:
9913 Make 'make -j' proof (see #340698).
9915 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
9918 Require GLib-2.8 here as well.
9920 2006-05-05 Wim Taymans <wim@fluendo.com>
9922 * gst/glib-compat.c:
9923 * gst/gst.c: (init_pre):
9924 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
9925 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
9926 (gst_object_dispatch_properties_changed):
9928 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
9929 * gst/gststructure.c: (gst_structure_set_valist):
9930 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
9931 Remove pre glib2.8 compatibility, fixes #340508
9933 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
9936 Mention type of tags in doc blurbs.
9938 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
9940 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
9941 (gst_pad_configure_src), (gst_pad_push):
9942 Restore acceptcaps checking behaviour now that good plugins have
9945 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
9947 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
9958 * gst/parse/Makefile.am:
9959 * libs/gst/base/gstadapter.c:
9960 * libs/gst/base/gstbasesrc.c:
9961 * libs/gst/base/gstpushsrc.c:
9962 * libs/gst/base/gsttypefindhelper.c:
9963 * plugins/elements/gstfakesrc.c:
9964 * plugins/elements/gstidentity.c:
9965 Make sure gstprivate.h and/or config.h are
9966 always included first, otherwise some of our
9967 defines (like _FILE_OFFSET_BITS) might be
9968 redefined in the system headers. Fixes build
9969 on opensolaris (#340016).
9971 2006-05-04 Wim Taymans <wim@fluendo.com>
9973 * docs/libs/gstreamer-libs-sections.txt:
9974 API: addition: gst_adapter_take_buffer()
9976 * libs/gst/base/gstadapter.c: (gst_adapter_push),
9977 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
9978 (gst_adapter_available_fast):
9979 * libs/gst/base/gstadapter.h:
9980 Prepare for optimizing the hell out of this hugely inefficient
9982 Added gst_adapter_take_buffer() so we can at least start thinking
9983 about subbuffering and merging.
9984 Added some comments.
9986 * tests/check/Makefile.am:
9987 * tests/check/libs/adapter.c: (GST_START_TEST),
9988 (gst_adapter_suite), (main):
9989 Added GstAdapter check.
9991 2006-05-04 Wim Taymans <wim@fluendo.com>
9993 * docs/design/part-overview.txt:
9994 Fix some typos, add blurb about buffer flags.
9996 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
9998 * docs/libs/gstreamer-libs-sections.txt:
9999 make sure GstBaseTransformClass shows up in the docs
10000 * libs/gst/base/gstbasetransform.c:
10001 * libs/gst/base/gstbasetransform.h:
10002 move docs so gtk-doc picks it up now
10004 2006-05-02 Stefan Kost <ensonic@users.sf.net>
10006 * docs/libs/gstreamer-libs-sections.txt:
10007 add missing symbols to docs
10009 2006-05-02 Stefan Kost <ensonic@users.sf.net>
10011 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
10012 back out the newsegment handling change, see #340060 for ongoing
10015 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
10017 * tools/gst-run.c: (get_candidates), (main):
10018 Fix wrong g_file_test() usage (see glib docs for why it doesn't
10019 work); fix typo in error message. Fixes #340079.
10021 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
10023 * common/Makefile.am:
10024 * docs/Makefile.am:
10025 * docs/faq/Makefile.am:
10026 * docs/gst/Makefile.am:
10027 * docs/libs/Makefile.am:
10028 * docs/manual/Makefile.am:
10029 * docs/plugins/Makefile.am:
10030 * docs/pwg/Makefile.am:
10031 * docs/slides/Makefile.am:
10033 * common/upload.mak:
10034 move upload.mak to common
10036 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
10038 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
10039 add more asserts on refcounts
10040 do more cleanup at end of tests
10041 fix test leaks showing in FC5
10043 2006-04-29 Stefan Kost <ensonic@users.sf.net>
10045 * plugins/elements/gsttypefindelement.c:
10046 (gst_type_find_element_handle_event):
10047 reverted wrong change and reflowed code to avoid others falling into
10050 2006-04-28 Stefan Kost <ensonic@users.sf.net>
10052 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
10053 fix changelog entry about last collectpads change,
10054 add notes about proper fix
10056 2006-04-28 Stefan Kost <ensonic@users.sf.net>
10059 * gst/gstregistry.c: (gst_registry_scan_path_level),
10060 (gst_registry_scan_path):
10061 * gst/gstregistry.h:
10062 only write out registry if it has changed, fixes #338339
10064 2006-04-28 Stefan Kost <ensonic@users.sf.net>
10067 * gst/gstpipeline.c:
10068 * plugins/elements/gstcapsfilter.c:
10069 * plugins/elements/gstfakesink.c:
10070 * plugins/elements/gstfakesrc.c:
10071 * plugins/elements/gstfdsink.c:
10072 * plugins/elements/gstfdsrc.c:
10073 * plugins/elements/gstfilesink.c:
10074 * plugins/elements/gstfilesrc.c:
10075 * plugins/elements/gstidentity.c:
10076 * plugins/elements/gstqueue.c:
10077 * plugins/elements/gsttee.c:
10078 * plugins/elements/gsttypefindelement.c:
10079 (gst_type_find_element_handle_event):
10080 make GstElementDetails const
10082 2006-04-28 Stefan Kost <ensonic@users.sf.net>
10084 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
10085 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
10086 (gst_collect_pads_is_collected), (gst_collect_pads_event):
10087 more detailed debug and formatting cleanup,
10088 forward newsegments to src-pad (so that e.g. adder not eats them)
10090 2006-04-28 Stefan Kost <ensonic@users.sf.net>
10092 * gst/gstutils.c: (gst_element_link_pads):
10093 cleanup double code
10095 2006-04-28 Stefan Kost <ensonic@users.sf.net>
10097 * libs/gst/controller/gstcontroller.c:
10098 (gst_controller_sync_values):
10100 * tests/check/libs/controller.c: (GST_START_TEST),
10101 (gst_controller_suite):
10102 a new test for live value handling
10104 2006-04-28 Wim Taymans <wim@fluendo.com>
10106 * gst/gstutils.c: (push_and_ref):
10107 Added some more docs.
10108 Fix refcount issue whith gst_element_found_tags() helper
10109 function. Fixes #338335
10111 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10112 Added testsuite for gst_element_found_tags().
10114 2006-04-28 Michael Smith <msmith@fluendo.com>
10116 * gst/gstvalue.c: (gst_value_serialize_flags):
10117 Avoid NULL dereference when trying to serialize flags containing
10120 2006-04-28 Michael Smith <msmith@fluendo.com>
10122 * plugins/elements/gsttypefindelement.c:
10123 (gst_type_find_element_handle_event):
10124 If we get EOS before any data is accumulated, don't use
10125 uninitialised local variables.
10127 2006-04-28 Michael Smith <msmith@fluendo.com>
10129 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
10130 (gst_dp_event_from_packet):
10131 Fixes in reading/writing events over GDP (not currently used?) -
10132 dereferencing NULL events for unknown/invalid event types, memory
10133 leak, and change g_warning to GST_WARNING.
10135 2006-04-28 Wim Taymans <wim@fluendo.com>
10137 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
10138 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
10139 (gst_base_sink_get_position), (gst_base_sink_change_state):
10140 When frame dropping is enabled, we should not ignore frames
10141 without a duration.
10142 Update some documentation.
10144 2006-04-28 Wim Taymans <wim@fluendo.com>
10146 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
10147 (gst_base_src_send_event), (gst_base_src_change_state):
10148 Documentation updates.
10150 2006-04-28 Wim Taymans <wim@fluendo.com>
10152 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
10153 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
10154 handle EAGAIN, EINTR and short writes correctly. Also clean
10155 up some error cases, avoid a deadlock on bad file descriptors and
10156 use GST_DEBUG_OBJECT.
10159 2006-04-28 Wim Taymans <wim@fluendo.com>
10161 * gst/gstvalue.c: (gst_value_serialize_buffer),
10162 (gst_value_deserialize_buffer):
10163 Don't try to serialize a GValue with a NULL buffer.
10166 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10167 Added check for serialisation of NULL buffers.
10169 2006-04-28 Wim Taymans <wim@fluendo.com>
10171 * gst/gstminiobject.c: (gst_value_take_mini_object):
10172 Taking a NULL miniobject is valid, fix the case where
10173 we try to unref the NULL miniobject.
10175 2006-04-28 Wim Taymans <wim@fluendo.com>
10177 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
10179 * gst/gstbin.c: (gst_bin_handle_message_func):
10181 Don't leak bin refcount when a state recalc is
10182 in progress and we delay another one #339808.
10184 2006-04-28 Wim Taymans <wim@fluendo.com>
10186 * docs/design/part-TODO.txt:
10187 Mention QoS as an ongoing work item.
10189 * docs/design/part-buffering.txt:
10190 New doc about buffering that needs to be fleshed out
10193 * docs/design/part-qos.txt:
10194 More QoS policy for decoders/demuxers/transforms
10196 * docs/design/part-trickmodes.txt:
10199 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
10204 === release 0.10.5 ===
10206 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
10209 releasing 0.10.5, "Fogo"
10211 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
10213 patch by: Wim Taymans
10215 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
10216 (gst_pad_configure_src), (gst_pad_push):
10217 * gst/gstpipeline.c: (gst_pipeline_init):
10218 Fix internal data flow errors. Fixes #338711.
10220 2006-04-12 Wim Taymans <wim@fluendo.com>
10222 * tests/check/gst/gstelement.c: (GST_START_TEST):
10223 Don't leak the factory.
10225 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
10228 * win32/common/config.h:
10231 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
10233 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
10234 (gst_controller_unset_all):
10235 Free allocated GstTimedValues when freeing list nodes.
10236 Should fix leaks 'make check-valgrind' complains about.
10238 * win32/common/libgstcontroller.def:
10239 Add gst_controller_unset_all.
10241 2006-04-11 Stefan Kost <ensonic@users.sf.net>
10243 * docs/libs/gstreamer-libs-sections.txt:
10244 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
10245 (gst_controller_unset_all):
10246 * libs/gst/controller/gstcontroller.h:
10247 API: Added new method gst_controller_unset_all()
10248 fixed gst_controller_unset()
10249 * tests/check/libs/controller.c: (GST_START_TEST),
10250 (gst_controller_suite):
10251 Added two testcases for new and fixed method
10253 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
10255 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
10256 MSG_DONTWAIT is not defined on Cygwin, so work
10257 around that (fixes #317048).
10259 2006-04-11 Wim Taymans <wim@fluendo.com>
10261 * gst/gstelementfactory.c: (gst_element_register),
10262 (gst_element_factory_create), (gst_element_factory_make):
10265 Updated docs (Fixes #131079)
10267 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
10270 * tests/check/gst/gstelement.c: (GST_START_TEST),
10271 (gst_element_suite):
10272 Added testcase for elementfactory class field.
10274 2006-04-10 Wim Taymans <wim@fluendo.com>
10276 * gst/gstsegment.c:
10277 Added some more docs.
10279 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
10280 (gst_base_sink_reset_qos):
10281 Calculate more accurate rate values.
10283 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
10285 * gst/gst_private.h:
10286 add a new #ifdef to use __declspec(dllimport) only for
10287 other modules and not for gstreamer core
10288 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
10289 use gst_guint64_to_gdouble for conversion
10290 * win32/common/libgstreamer.def:
10291 add new exported functions
10292 * win32/vs6/gst_inspect.dsp:
10293 * win32/vs6/gst_launch.dsp:
10294 * win32/vs6/libgstbase.dsp:
10295 * win32/vs6/libgstcontroller.dsp:
10296 * win32/vs6/libgstcoreelements.dsp:
10297 * win32/vs6/libgstdataprotocol.dsp:
10298 * win32/vs6/libgstnet.dsp:
10299 update project files
10301 2006-04-08 Stefan Kost <ensonic@users.sf.net>
10303 * gst/gstbuffer.c: (gst_subbuffer_class_init):
10304 * gst/gstclock.c: (gst_clock_class_init):
10305 * gst/gstelement.c: (gst_element_class_init):
10306 * gst/gstindex.c: (gst_index_class_init):
10307 * gst/gstindexfactory.c: (gst_index_factory_class_init):
10308 * gst/gstobject.c: (gst_object_class_init),
10309 (gst_signal_object_class_init):
10310 * gst/gstpad.c: (gst_pad_class_init):
10311 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
10312 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
10313 * gst/gstregistry.c: (gst_registry_class_init):
10314 * gst/gstsystemclock.c: (gst_system_clock_class_init):
10315 * gst/gsttask.c: (gst_task_class_init):
10316 * gst/gstxml.c: (gst_xml_class_init):
10317 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
10318 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10319 (gst_base_src_loop):
10320 * libs/gst/controller/gstcontroller.c:/
10321 (_gst_controller_class_init):
10322 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
10323 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
10324 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
10325 * tests/old/examples/plugins/example.c: (gst_example_class_init):
10326 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
10327 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
10329 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
10331 * gst/gstpad.c: (gst_pad_link):
10332 Must set peer pads before calling the link function, otherwise
10333 a task started from a link function might get a flow-not-linked
10334 result when trying to push because the other thread where the
10335 linking happens hasn't had a chance to set the peers yet. This
10336 might happen for example when a queue gets linked to a downstream
10337 element, as queue starts a streaming task when its source pad
10338 gets linked. Happens in real life when playing back flac/musepack
10339 files in playbin (#332390).
10341 2006-04-08 Stefan Kost <ensonic@users.sf.net>
10345 * libs/gst/base/gstadapter.h:
10346 * libs/gst/base/gstbasesink.h:
10347 * libs/gst/base/gstbasesrc.h:
10348 * libs/gst/base/gstbasetransform.h:
10349 * libs/gst/base/gstcollectpads.h:
10350 * libs/gst/base/gstpushsrc.h:
10351 Fix broken GObject macros
10353 2006-04-07 Wim Taymans <wim@fluendo.com>
10355 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10356 Initialize start and stop times, thanks valgrind.
10358 2006-04-07 Wim Taymans <wim@fluendo.com>
10360 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10361 Be a bit nicer to badly behaving upstream elements that expect
10362 us to deal with non TIME segments and timestamps (such as fakesrc
10365 2006-04-07 Wim Taymans <wim@fluendo.com>
10368 Small documentation clarification about the signal watch.
10370 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
10371 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
10372 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10373 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
10374 (gst_base_sink_get_position_last),
10375 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
10376 Convert and store timestamps in stream time and running time, the
10377 raw timestamps are not useful, also document this better.
10378 Use different window sizes for good and bad QoS observations so
10379 we react to badness a little quicker.
10380 Keep track of the amount of rendered and dropped buffers.
10381 Send QoS timestamps in running time.
10383 * libs/gst/base/gstbasetransform.c:
10384 (gst_base_transform_sink_eventfunc),
10385 (gst_base_transform_handle_buffer):
10386 Compare QoS timestamps against running time.
10388 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
10391 Typo fixes in docs.
10393 2006-04-06 Michael Smith <msmith@fluendo.com>
10395 * gst/gstpad.c: (gst_pad_set_property):
10396 Use g_value_get_object() instead of g_value_dup_gst_object(),
10397 to avoid double-reffing the pad template (which we then sink,
10398 so this worked previously if (and only if) the pad template
10401 * gst/gstpadtemplate.c: (gst_pad_template_init),
10402 (gst_pad_template_pad_created):
10403 Never return floating references to pad templates, create
10404 them as initially-sunken.
10406 Document an extra function (and make this stop sinking our
10407 pad template, since that is now guaranteed to do nothing,
10408 since we created it sunken).
10410 * gst/gstghostpad.c:
10413 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
10415 * gst/gstinfo.c: (__gst_in_valgrind):
10418 * plugins/elements/gsttypefindelement.c:
10419 (gst_type_find_element_chain):
10420 Don't leak buffer caps.
10422 2006-04-06 Michael Smith <msmith@fluendo.com>
10424 * gst/parse/grammar.y:
10425 Fix a leak in parse-launch for any source-or-sink named element
10428 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
10429 Unref the pipeline if it exists after we've failed parsing.
10431 2006-04-05 Michael Smith <msmith@fluendo.com>
10433 * gst/gstpipeline.c: (gst_pipeline_init):
10434 When we create a pipeline bus, initially create it in flushing mode.
10435 Fixes leaks in at least one test, and makes a new pipeline work the
10436 same as one that has gone to READY and then back to NULL.
10438 * gst/gstelement.c:
10441 2006-04-05 Michael Smith <msmith@fluendo.com>
10443 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
10444 Unref a pad we reffed.
10445 * tests/check/gst/gstutils.c: (GST_START_TEST):
10448 2006-04-05 Michael Smith <msmith@fluendo.com>
10450 * gst/gstquery.c: (gst_query_set_formats),
10451 (gst_query_set_formatsv):
10452 Fix leaking GValues in queries, as shown by valgrind/testsuite.
10454 2006-04-05 Michael Smith <msmith@fluendo.com>
10456 * tests/check/generic/sinks.c: (GST_START_TEST):
10457 Fix a variety of memleaks in sinks check, which are only sometimes
10458 shown by running the tests under valgrind (weird?).
10460 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
10462 * docs/version.entities.in:
10463 Fix the substituted entity name after thomas' changes on the
10466 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10468 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
10471 2006-04-05 Andy Wingo <wingo@pobox.com>
10473 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
10475 * libs/gst/base/gstbasetransform.c
10476 (gst_base_transform_sink_eventfunc): When resetting our segment on
10477 FLUSH_STOP, also update the flag saying we haven't seen a
10480 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
10482 Patch by: Paolo Borelli <pborelli at katamail dot com>
10484 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
10485 (gst_plugin_check_license):
10486 minor clean-ups: G_DEFINE_TYPE already takes care of the
10487 parent_class stuff, no need to do it twice. Mark array of
10488 license strings as constant. (#337103)
10490 2006-04-04 Michael Smith <msmith@fluendo.com>
10492 * tools/gst-inspect.c: (print_element_list):
10493 Free the right plugin list; fixes a memory leak.
10495 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
10497 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
10499 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
10500 Don't error out on empty buffers (#336945).
10502 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
10504 * docs/libs/gstreamer-libs-sections.txt:
10505 * gst/gsttaglist.c:
10506 * libs/gst/base/gstbasesink.c:
10507 * libs/gst/base/gstbasesink.h:
10508 * libs/gst/base/gstbasesrc.c:
10509 * libs/gst/base/gstbasesrc.h:
10510 Documentation updates. Make BaseSink and BaseSrc docs contain the
10511 class structure so that people can actually see the prototypes for
10512 virtual functions they're supposed to be overriding.
10514 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
10516 * plugins/elements/gsttypefindelement.c:
10517 (gst_type_find_element_chain):
10518 More debug info; when skipping typefinding, send cached
10519 events in all cases.
10521 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
10524 use new AS_VERSION and AS_NANO macros
10525 * gst/gst-i18n-lib.h:
10528 * gst/gstversion.h.in:
10529 * win32/common/config.h:
10530 * win32/common/config.h.in:
10533 2006-03-31 Michael Smith <msmith@fluendo.com>
10535 * plugins/elements/gsttypefindelement.c:
10536 (gst_type_find_element_chain):
10537 Do not typefind content if the buffers already have caps.
10538 Neccesary for icydemux (#333657), and the right thing to do anyway.
10540 2006-03-30 Wim Taymans <wim@fluendo.com>
10542 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10543 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
10544 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
10545 (gst_base_sink_record_qos_observation),
10546 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10547 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
10548 (gst_base_sink_change_state):
10549 More QoS measurements as described in the design doc.
10550 Get rid of ringbuffer with observations, running average is
10551 more simple and equally good.
10552 Calculates valid proportion now.
10553 Added beginning of flood measurement.
10555 2006-03-29 Wim Taymans <wim@fluendo.com>
10557 * docs/design/part-qos.txt:
10559 Small documentation updates and additions.
10561 2006-03-29 Wim Taymans <wim@fluendo.com>
10563 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
10564 (gst_base_src_send_event), (gst_base_src_loop),
10565 (gst_base_src_change_state):
10566 Perform the EOS logic when we reach the segment stop position.
10567 Fix compilation on gcc4.1
10569 2006-03-29 Wim Taymans <wim@fluendo.com>
10571 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
10573 * plugins/elements/gstqueue.c: (gst_queue_init),
10574 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
10575 (gst_queue_set_property):
10576 * plugins/elements/gstqueue.h:
10577 In queue, when EOS is received, if minimum threshold > max_size -
10578 current_level, there is chance that queue blocks forever in conditional
10579 item del wait. This is because the queue is not emptied completely due
10580 to minimum threshold. Here is another approach. Instead of setting
10581 cur_levels to max in EOS, just zero all minimum threshold levels. This
10582 should make sure that queue gives out all data. When going to READY
10583 (stop) state, just reset the original minimum threshold levels.
10586 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
10588 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
10589 (gst_type_find_element_handle_event),
10590 (gst_type_find_element_send_cached_events),
10591 (gst_type_find_element_change_state):
10592 * plugins/elements/gsttypefindelement.h:
10593 When typefinding is done in push mode, we should cache
10594 events we receive during typefinding instead of just
10595 dropping them (e.g. newsegment, custom events from
10596 dvdreadsrc etc.) and then send them out once we've
10597 determined the type of the stream (and decodebin
10598 has had a chance to plug in a decoder/demuxer).
10600 2006-03-27 Wim Taymans <wim@fluendo.com>
10602 * docs/design/part-qos.txt:
10605 2006-03-27 Wim Taymans <wim@fluendo.com>
10607 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
10609 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
10610 (gst_base_src_send_event), (gst_base_src_change_state):
10611 Handle element seek correctly when we are streaming.
10614 2006-03-24 Michael Smith <msmith@fluendo.com>
10616 * docs/faq/gst-uninstalled:
10617 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
10618 allow you to correctly run intalled applications built against old
10619 core, using plugins that require updated core (e.g. running
10620 installed totem against a full uninstalled gstreamer stack)
10622 2006-03-24 Stefan Kost <ensonic@users.sf.net>
10624 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
10627 2006-03-24 Wim Taymans <wim@fluendo.com>
10629 * docs/gst/gstreamer-sections.txt:
10630 Rearrange the order of the methods so that related methods
10631 are grouped together in sections.
10633 2006-03-24 Stefan Kost <ensonic@users.sf.net>
10635 * gst/gstelement.c:
10636 Little clarification in the docs
10638 2006-03-24 Stefan Kost <ensonic@users.sf.net>
10642 * plugins/elements/gstidentity.c:
10643 * plugins/elements/gstqueue.c:
10644 * plugins/elements/gsttee.c:
10645 * plugins/elements/gsttypefindelement.c:
10646 GST_ELEMENT_DETAILS formatting
10648 2006-03-24 Wim Taymans <wim@fluendo.com>
10650 * libs/gst/base/gstbasesink.h:
10651 Only add fields, not insert or we break ABI.
10653 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
10655 * win32/common/libgstbase.def:
10656 * win32/common/libgstreamer.def:
10657 Update, add recently added functions.
10659 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
10661 * docs/gst/gstreamer-sections.txt:
10662 * gst/gstutils.c: (gst_pad_query_peer_position),
10663 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
10665 API: add some new utility functions:
10666 - gst_pad_query_peer_position()
10667 - gst_pad_query_peer_duration()
10668 - gst_pad_query_peer_convert()
10670 2006-03-23 Wim Taymans <wim@fluendo.com>
10672 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10673 (gst_base_sink_init), (gst_base_sink_finalize),
10674 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
10675 (gst_base_sink_set_property), (gst_base_sink_get_property),
10676 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
10677 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
10678 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
10679 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10680 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
10681 (gst_base_sink_preroll_object), (gst_base_sink_event),
10682 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
10683 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
10684 (gst_base_sink_query), (gst_base_sink_change_state):
10685 Decouple max-lateness and the fact that QoS messages are generated
10686 with a new property (qos).
10687 added API: GstBaseSink::async_play()
10688 Add vmethod so subclasses can be notified of ASYNC playing
10690 Collect timestamp start and stop to report better current
10691 position in EOS/PLAYING/PAUSED/READY/NULL.
10692 Refactor QoS/frame dropping and other measurements.
10693 API: GstBaseSrc::qos
10696 * libs/gst/base/gstbasesink.h:
10697 Added Private struct.
10698 API: gst_base_sink_set_qos_enabled()
10699 API: gst_base_sink_is_qos_enabled()
10701 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
10703 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
10704 If compiling against GLib-2.8 or newer, try to read the
10705 registry file using GMappedFile first before falling back
10706 to fopen() + fread() (#332151).
10708 2006-03-22 Wim Taymans <wim@fluendo.com>
10710 * gst/gstinfo.c: (gst_debug_set_active),
10711 (gst_debug_category_set_threshold):
10712 Disable debugging unless explicitly activated.
10715 2006-03-22 Wim Taymans <wim@fluendo.com>
10717 * gst/gstelement.c: (gst_element_set_locked_state),
10718 (gst_element_dispose):
10719 Cleanup the error case.
10721 * gst/gstobject.c: (gst_object_dispose):
10722 print a critical when some object was disposed with
10723 a parent, also revive the object since it might
10726 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
10728 * tools/gst-launch.1.in:
10731 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
10734 * tests/check/Makefile.am:
10735 disable some tests when we don't have a registry
10736 * tests/check/gst/gstutils.c: (gst_utils_suite):
10737 don't build the part that needs parsing
10739 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
10742 * tests/examples/Makefile.am:
10743 fix --disable-parse build
10745 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
10747 * tools/gst-feedback.1.in:
10748 Fix typo: s/feeback/feedback/ (#133494).
10750 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
10752 * tools/Makefile.am:
10753 * tools/gst-launch.1.in:
10754 Add FILES section and correct entry about GST_REGISTRY_PATH
10755 environment variable (#133495; #133494).
10757 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
10759 * tools/Makefile.am:
10760 * tools/gst-md5sum.1.in:
10761 * tools/gst-md5sum.c:
10762 Remove gst-md5sum and man page (the md5sink element
10763 required was removed ages ago)
10765 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
10767 * gst/gststructure.c: (gst_structure_id_set_value):
10768 Make sure that string fields in structures/taglists
10769 contain valid UTF-8 - we don't want to pass rubbish to
10770 applications because of a buggy plugin (cp. #334167).
10772 2006-03-21 Edward Hervey <edward@fluendo.com>
10774 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
10775 (gst_bin_handle_message_func):
10776 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
10777 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
10778 (gst_element_set_bus_func):
10779 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
10780 * gst/gstminiobject.c: (gst_value_set_mini_object),
10781 (gst_value_take_mini_object):
10782 * gst/gstpad.c: (gst_pad_set_pad_template):
10783 * gst/gstpipeline.c: (gst_pipeline_dispose),
10784 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
10785 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
10786 (gst_collect_pads_chain):
10787 * libs/gst/net/gstnettimeprovider.c:
10788 (gst_net_time_provider_set_property):
10789 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
10790 It's in fact all issues with gst_*object_replace().
10792 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
10794 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
10796 * pkgconfig/gstreamer-check-uninstalled.pc.in:
10797 * pkgconfig/gstreamer-check.pc.in:
10798 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
10800 2006-03-21 Edward Hervey <edward@fluendo.com>
10804 * gst/gstmessage.h:
10805 gst_[buffer|event|message]_ref() macros are replaced by a static
10806 inline functions because gcc-4.1 will about if the return value
10808 * tests/check/gst/gstevent.c: (event_probe):
10809 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
10811 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
10814 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
10815 the type' case. (Closes: #335195 for now). In the future, when we
10816 depend on GLib 2.10, we could also intern the type name using
10817 g_intern_static_string()
10819 2006-03-20 Wim Taymans <wim@fluendo.com>
10821 * gst/gstbin.c: (gst_bin_handle_message_func),
10822 (bin_query_max_init), (bin_query_position_fold),
10823 (bin_query_position_done), (gst_bin_query):
10824 Position query should also take max of all streams.
10826 2006-03-20 Wim Taymans <wim@fluendo.com>
10828 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
10829 (gst_fake_src_finalize):
10830 Fix leaks in fakesrc.
10832 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10833 Fix leaks in the testcase.
10835 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
10837 * gst/gst_private.h:
10838 add win32 specific import decoration(__declspec(dllimport))
10839 for all extern GstDebugCategory * variables
10840 * win32/common/libgstbase.def:
10841 * win32/common/libgstcontroller.def:
10842 * win32/common/libgstreamer.def:
10843 Add some exports, remove empty lines
10844 * win32/common/libgstdataprotocol.def:
10845 * win32/common/libgstdataprotocol.dsp:
10846 * win32/common/libgstnet.def:
10847 * win32/common/libgstnet.dsp:
10848 new project files and exportation files added
10850 2006-03-19 Wim Taymans <wim@fluendo.com>
10852 * tests/check/libs/basesrc.c: (eos_event_counter):
10853 Use proper return value for probe.
10855 2006-03-17 Wim Taymans <wim@fluendo.com>
10857 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
10859 Don't leak buffers, caps and pads on negotiation errors.
10861 2006-03-16 Stefan Kost <ensonic@users.sf.net>
10863 * docs/faq/cvs.xml:
10864 * docs/faq/dependencies.xml:
10865 * docs/faq/developing.xml:
10866 * docs/faq/faq.xml:
10867 * docs/faq/general.xml:
10868 * docs/faq/getting.xml:
10869 * docs/faq/legal.xml:
10870 * docs/faq/troubleshooting.xml:
10871 * docs/faq/using.xml:
10872 Faq review and update.
10874 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
10876 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
10878 Don't pound the cpu to pieces by checking get_caps when accept_caps
10879 is called with the same caps as the pad already has.
10880 Use GST_DEBUG_OBJECT when outputting caps change information.
10882 2006-03-15 Wim Taymans <wim@fluendo.com>
10884 * gst/gstclock.c: (gst_clock_class_init):
10887 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
10892 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
10893 (gst_pad_accept_caps), (gst_pad_configure_sink),
10894 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
10895 Make the default acceptcaps behaviour be to check the requested
10896 caps against the gst_pad_get_caps output.
10898 Ensure that gst_pad_accept_caps is used to check caps when a pad
10899 doesn't have a setcaps function, so that pads automatically refuse
10900 caps that they don't allow in their pad template. (Fixes #332986)
10902 When a buffer with attached caps is pushed, ensure that the source
10903 pad receives those caps even if the element didn't call
10904 gst_pad_set_caps first.
10906 2006-03-15 Wim Taymans <wim@fluendo.com>
10908 * libs/gst/base/gstadapter.c:
10911 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
10913 * win32/common/libgstbase.def:
10914 * win32/common/libgstcontroller.def:
10915 * win32/common/libgstreamer.def:
10916 Add a whole bunch of missing functions (#334434).
10918 2006-03-14 Wim Taymans <wim@fluendo.com>
10920 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
10921 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
10922 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
10923 Better debug info when we receive a segment event.
10924 Reorganize a bit so we can pass the get_times() results around.
10925 Use the segment format when calculating the running time.
10926 Don't do QoS is sync is disabled or we have no clock or the
10927 element does not want us to sync to the clock.
10928 Don't drop buffers if QoS is disabled for now.
10930 2006-03-14 Wim Taymans <wim@fluendo.com>
10932 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
10933 Marked the stats property as unimplemented so people don't get
10935 Add debug message when regression goes wrong.
10936 Added some more docs.
10938 2006-03-14 Wim Taymans <wim@fluendo.com>
10940 * gst/gstsegment.c: (gst_segment_to_stream_time):
10941 Return correct return type in case of errors.
10943 2006-03-14 Wim Taymans <wim@fluendo.com>
10945 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
10946 Don't segfault on invalid formats.
10948 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
10950 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10951 Can't use gst_segment_to_running_time() when the segment
10952 is not in GST_TIME_FORMAT (like with filesink, for example).
10953 Stops flac encoding pipelines from spewing critical warnings
10956 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
10958 * gst/gstpipeline.c: (gst_pipeline_class_init):
10959 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
10961 * plugins/elements/gsttypefindelement.c:
10962 (gst_type_find_element_handle_event):
10963 Don't try to typefind empty streams.
10965 2006-03-14 Wim Taymans <wim@fluendo.com>
10967 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
10968 (gst_base_sink_do_qos):
10969 Separate QoS calculation.
10970 Only drop buffers when lateness is bigger than the
10971 duration of the buffer.
10973 2006-03-13 Wim Taymans <wim@fluendo.com>
10975 * gst/gstpipeline.c: (gst_pipeline_set_property),
10976 (gst_pipeline_get_property), (do_pipeline_seek),
10977 (gst_pipeline_change_state), (gst_pipeline_set_delay),
10978 (gst_pipeline_get_delay):
10979 Don't deadlock when reading properties.
10981 2006-03-13 Wim Taymans <wim@fluendo.com>
10983 * libs/gst/base/gstbasetransform.c:
10984 (gst_base_transform_class_init), (gst_base_transform_init),
10985 (gst_base_transform_sink_event),
10986 (gst_base_transform_sink_eventfunc),
10987 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
10988 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
10989 (gst_base_transform_set_property),
10990 (gst_base_transform_get_property),
10991 (gst_base_transform_change_state), (gst_base_transform_update_qos),
10992 (gst_base_transform_set_qos_enabled),
10993 (gst_base_transform_is_qos_enabled):
10994 * libs/gst/base/gstbasetransform.h:
10995 Make basetransform virtual method for src events too.
10996 Handle QOS in basetransform.
10997 API: gst_base_transform_update_qos()
10998 API: gst_base_transform_set_qos_enabled()
10999 API: gst_base_transform_is_qos_enabled()
11001 2006-03-13 Wim Taymans <wim@fluendo.com>
11003 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
11004 (gst_base_sink_do_sync):
11006 Use QOS debug category.
11008 2006-03-13 Wim Taymans <wim@fluendo.com>
11010 * plugins/elements/gstqueue.c:
11011 Very small doc update.
11013 2006-03-13 Wim Taymans <wim@fluendo.com>
11015 * gst/gst_private.h:
11016 * gst/gstinfo.c: (_gst_debug_init):
11017 Added QOS debug category
11019 2006-03-13 Wim Taymans <wim@fluendo.com>
11021 * docs/gst/gstreamer-sections.txt:
11022 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
11024 * gst/gstbus.c: (gst_bus_class_init):
11027 * gst/gstelement.c: (gst_element_set_locked_state):
11028 * gst/gstsegment.c:
11029 Documentation updates.
11031 * gst/gstpipeline.c: (gst_pipeline_get_type),
11032 (gst_pipeline_class_init), (gst_pipeline_init),
11033 (gst_pipeline_dispose), (gst_pipeline_set_property),
11034 (gst_pipeline_get_property), (do_pipeline_seek),
11035 (gst_pipeline_send_event), (gst_pipeline_change_state),
11036 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
11037 (gst_pipeline_get_delay):
11038 * gst/gstpipeline.h:
11039 Added methods for setting the delay.
11040 API: gst_pipeline_set_delay()
11041 API: gst_pipeline_get_delay()
11042 Add pipeline debug category
11045 Don't reset stream time when seek failed.
11047 2006-03-13 Wim Taymans <wim@fluendo.com>
11049 * docs/design/draft-klass.txt:
11050 * docs/design/part-clocks.txt:
11051 * docs/design/part-events.txt:
11052 * docs/design/part-gstbin.txt:
11053 * docs/design/part-gstpipeline.txt:
11054 * docs/design/part-messages.txt:
11055 * docs/design/part-negotiation.txt:
11056 * docs/design/part-overview.txt:
11057 * docs/design/part-preroll.txt:
11058 * docs/design/part-seeking.txt:
11059 * docs/design/part-states.txt:
11060 * docs/design/part-streams.txt:
11061 Documentation updates.
11063 2006-03-12 Julien MOUTTE <julien@moutte.net>
11065 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
11066 us to leak strings...
11068 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
11070 * libs/gst/net/gstnettimeprovider.c:
11072 * win32/common/config.h:
11075 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
11077 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
11080 Don't check for libgnomeui (leftover from old examples
11081 that aren't built or disted any longer) (#334303).
11083 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
11085 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
11086 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
11087 Emit RESOURCE_NO_SPACE_LEFT error here as well when
11088 there's no space left on the device.
11090 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
11093 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
11094 to cast the input to GstClockTime before comparing with
11095 another GstClockTime value.
11097 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
11102 === release 0.10.4 ===
11104 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
11107 releasing 0.10.4, "Light"
11109 2006-03-10 Michael Smith <msmith@fluendo.com>
11111 * libs/gst/dataprotocol/dataprotocol.c:
11112 Fix docs for dataprocotol to not get the return types completely
11113 wrong for a few functions.
11115 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
11117 * docs/gst/gstreamer-sections.txt:
11118 * gst/gstpipeline.c: (gst_pipeline_class_init),
11119 (gst_pipeline_init), (gst_pipeline_set_property),
11120 (gst_pipeline_get_property), (gst_pipeline_change_state),
11121 (gst_pipeline_set_auto_flush_bus),
11122 (gst_pipeline_get_auto_flush_bus):
11123 * gst/gstpipeline.h:
11124 Add new API: gst_pipeline_set_auto_flush_bus() and
11125 gst_pipeline_get_auto_flush_bus() to disable automatic
11126 flushing of the pipeline's GstBus when going from READY
11127 to NULL state (#332045).
11129 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
11131 * docs/gst/gstreamer-sections.txt:
11132 * gst/gsturi.c: (gst_uri_has_protocol):
11134 Add new API: gst_uri_has_protocol() (#333779).
11136 2006-03-09 Wim Taymans <wim@fluendo.com>
11138 * gst/gstclock.c: (gst_clock_entry_new),
11139 (gst_clock_id_compare_func), (gst_clock_id_wait),
11140 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
11141 (gst_clock_init), (gst_clock_get_internal_time),
11142 (gst_clock_set_master), (do_linear_regression),
11143 (gst_clock_add_observation), (gst_clock_set_property):
11147 Fix a possible segfault when the window-size is made smaller.
11148 Calculate jitter before performing the clock wait. Ideally
11149 the clock implementation should calculate jitter but we need
11150 API breakage for that.
11152 * gst/gstsystemclock.c: (gst_system_clock_init):
11155 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11156 Remove leftover else
11158 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
11159 (gst_systemclock_suite):
11160 Added check to test GST_CLOCK_DIFF.
11162 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
11164 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
11165 (gst_type_find_helper_get_range):
11166 If we are provided with the size, we should implement
11167 GstTypeFind::get_length, so that typefind functions who
11168 want to can actually peek at the middle of a file.
11170 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
11172 * docs/manual/advanced-dataaccess.xml:
11173 Add some very very basic error checking.
11175 * docs/pwg/appendix-checklist.xml:
11176 Some updates to the list of things to check when writing an element.
11178 2006-03-08 Wim Taymans <wim@fluendo.com>
11180 * docs/design/part-element-transform.txt:
11181 Added some docs about the design of tranform elements.
11183 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
11184 (gst_base_src_loop), (gst_base_src_change_state):
11185 Mark buffers with the DISCONT flag.
11187 2006-03-08 Michael Smith <msmith@fluendo.com>
11189 * gst/gstregistry.h:
11190 * gst/gstregistryxml.c: (gst_registry_save),
11191 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
11192 (gst_registry_xml_save_pad_template),
11193 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
11194 (gst_registry_xml_write_cache):
11195 Rewrite registry-saving to avoid race conditions and check for
11198 2006-03-08 Wim Taymans <wim@fluendo.com>
11200 * libs/gst/base/gstbasetransform.c:
11201 (gst_base_transform_transform_caps),
11202 (gst_base_transform_transform_size),
11203 (gst_base_transform_prepare_output_buffer),
11204 (gst_base_transform_get_unit_size),
11205 (gst_base_transform_buffer_alloc),
11206 (gst_base_transform_handle_buffer),
11207 (gst_base_transform_change_state):
11208 Cleanups, separate normal flow from errors, add sensible
11210 Don't try to renegotiate when allocating an output buffer.
11211 Also copy DISCONT buffer flag when copying a buffer.
11212 Reset the transform after we finish streaming, not during.
11214 2006-03-08 Wim Taymans <wim@fluendo.com>
11216 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11217 Use last buffer timestamp in qos message.
11219 2006-03-07 Wim Taymans <wim@fluendo.com>
11221 Patch by: Christophe Fergeau
11223 * docs/pwg/advanced-tagging.xml:
11224 * docs/pwg/building-pads.xml:
11227 2006-03-07 Wim Taymans <wim@fluendo.com>
11229 * docs/libs/gstreamer-libs-sections.txt:
11230 Added basesink new methods.
11234 Docs updates. Flesh out the QoS docs.
11236 * libs/gst/base/gstadapter.c:
11237 Small doc clarification about ownership and flushing.
11239 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
11240 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
11241 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
11242 (gst_base_sink_get_property), (gst_base_sink_do_sync):
11243 * libs/gst/base/gstbasesink.h:
11245 Added new methods to allow subclass to control max-lateness
11247 Generate very basic QoS events based on last sync observation.
11248 Updated docs, fix typo, added some QoS blurb.
11250 * libs/gst/base/gstbasesrc.c:
11251 Remove obsolete _get_state() calls from docs.
11253 2006-03-07 Wim Taymans <wim@fluendo.com>
11255 * docs/libs/gstreamer-libs-sections.txt:
11256 * libs/gst/base/gstbasetransform.h:
11257 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
11258 Fix docs for GstBaseSrc.
11260 2006-03-07 Wim Taymans <wim@fluendo.com>
11262 * docs/gst/gstreamer-sections.txt:
11265 * libs/gst/base/gstbasetransform.h:
11266 Small documentation fixes.
11268 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
11271 Document thread-unsafety of gst_value_register_foo_func()
11272 when used at the same time as gst_value_foo() (#322628).
11274 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
11276 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
11277 (gst_push_src_check_get_range):
11278 Push sources don't support pull mode by default.
11280 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
11282 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11283 (gst_base_src_init), (gst_base_src_pad_check_get_range),
11284 (gst_base_src_default_check_get_range):
11285 * libs/gst/base/gstbasesrc.h:
11286 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
11287 provide default implementation, and rename
11288 gst_base_src_check_get_range() to
11289 gst_base_src_pad_check_get_range() for clarity.
11291 2006-03-06 Wim Taymans <wim@fluendo.com>
11293 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
11294 Make property overridable.
11296 2006-03-06 Wim Taymans <wim@fluendo.com>
11298 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
11299 (gst_base_sink_init), (gst_base_sink_set_property),
11300 (gst_base_sink_get_property), (gst_base_sink_do_sync):
11301 * libs/gst/base/gstbasesink.h:
11302 API addition: Make max-lateness a property.
11304 2006-03-06 Wim Taymans <wim@fluendo.com>
11306 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
11307 (gst_base_sink_do_sync), (gst_base_sink_render_object):
11308 Don't ever draw a frame that is >10ms late.
11310 2006-03-06 Michael Smith <msmith@fluendo.com>
11312 * gst/gstmessage.c: (_gst_message_copy):
11313 When copying a message, set the parent_refcount of the enclosed
11314 structure to point at the copy, not the original message.
11316 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
11318 Patch by: Christophe Fergeau
11321 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
11322 usable in c++ code (#333417)
11324 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
11327 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
11329 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
11331 * libs/gst/base/gstbasetransform.c:
11332 (gst_base_transform_transform_caps):
11333 Make sure caps are writable before passing them to
11336 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
11339 Fix some minor docs errors.
11341 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
11343 Patch by: Ross Burton <ross at burtonini dot com>
11345 * gst/gsterror.c: (_gst_resource_errors_init):
11347 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
11349 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
11352 Add a check and output a g_warning when GStreamer is built
11353 against GLib 2.6 but running against 2.8 or higher, and vice
11354 versa. (Closes: #323542)
11356 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
11358 * gst/parse/parse.l:
11359 Commit patch for parse_launch syntax from #331255. Removes
11360 support for quoted strings and mimetypes when writing filtered
11361 caps. See the bug report for more details - I'm pretty sure this
11362 obscure feature is not in use by _anyone_ anywhere.
11364 With this simple change, the size of the gstreamer.so here
11365 drops from 2193KB to 1565KB.
11367 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
11369 * plugins/elements/gsttypefindelement.h:
11370 * plugins/elements/gsttypefindelement.c:
11371 (gst_type_find_element_src_event), (start_typefinding),
11372 (stop_typefinding), (gst_type_find_element_handle_event),
11373 (gst_type_find_element_chain),
11374 (gst_type_find_element_chain_do_typefinding):
11375 Use gst_type_find_helper_for_buffer() for chain-based
11378 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
11380 * plugins/elements/gsttypefindelement.c:
11381 (gst_type_find_element_class_init),
11382 (gst_type_find_element_set_property),
11383 (gst_type_find_element_get_property):
11384 Deprecate "maximum" property (not only was it only taken into
11385 account for typefinding in push-mode anyway, it also was never
11386 actually possible to set it in the first place because the
11387 property was registered with the numeric property ID for the
11388 "minimum" property). Register "maximum" property correctly,
11389 for the sake of future copy'n'pasters. Remove some cruft
11390 from property get/set functions.
11392 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
11394 * plugins/elements/gsttypefindelement.c:
11395 (gst_type_find_element_activate):
11396 Use gst_type_find_helper_get_range() here, so we
11397 can honour the "minimum" property and also emit
11398 the signal with the correct probability of the found caps.
11400 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
11402 * docs/libs/gstreamer-libs-sections.txt:
11403 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
11404 (helper_find_suggest), (gst_type_find_helper_get_range),
11405 (gst_type_find_helper):
11406 * libs/gst/base/gsttypefindhelper.h:
11407 New API: gst_type_find_helper_get_range() (#333042).
11409 2006-03-02 Michael Smith <msmith@fluendo.com>
11411 * gst/gstregistryxml.c: (load_feature):
11412 Asserting on a failure to read part of the registry is Not Cool.
11413 Just log a warning and return NULL (which is already handled)
11415 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
11417 * win32/common/libgstbase.def:
11418 added export of gst_type_find_helper_for_buffer
11419 * win32/common/libgstbase.def:
11420 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
11421 gst_ghost_pad_get_target
11423 2006-02-28 Wim Taymans <wim@fluendo.com>
11425 * docs/design/draft-klass.txt:
11427 Added Connector to mark elements that are only used to
11428 allow pipeline connections.
11429 Moved Debug to extra feature since most of them are
11430 functionally something else.
11432 2006-02-28 Wim Taymans <wim@fluendo.com>
11434 * docs/design/draft-klass.txt:
11435 Some updates and clarifications.
11437 2006-02-28 Wim Taymans <wim@fluendo.com>
11439 * docs/design/draft-klass.txt:
11440 Proposal for klass field values.
11442 * docs/design/part-streams.txt:
11443 Start of a doc describing stream anatomy.
11445 2006-02-28 Wim Taymans <wim@fluendo.com>
11447 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
11448 Help the compiler a bit with type registration.
11449 Use existing forward cod path instead of duplicating it when
11450 handling a message.
11452 * gst/gstbus.c: (gst_bus_get_type):
11453 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
11454 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
11455 * gst/gstclock.c: (gst_clock_get_type):
11456 * gst/gstelement.c: (gst_element_get_type),
11457 * gst/gstelementfactory.c: (gst_element_factory_get_type):
11458 * gst/gstindexfactory.c: (gst_index_factory_get_type):
11459 * gst/gstminiobject.c: (gst_mini_object_get_type):
11460 * gst/gstpad.c: (gst_pad_get_type):
11461 * gst/gstsegment.c: (gst_segment_get_type):
11462 * gst/gststructure.c: (gst_structure_get_type):
11463 * gst/gstsystemclock.c: (gst_system_clock_get_type):
11464 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
11466 Help compiler with type registration.
11468 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
11471 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
11473 * plugins/elements/gsttypefindelement.c:
11474 (gst_type_find_element_handle_event):
11475 When we get an EOS event and have not found a type yet
11476 (most likely because we had not yet accumulated
11477 TYPE_FIND_MIN_SIZE of data yet), try to determine the
11478 type given the data we have so far. Fixes typefinding
11479 for very short streams again, most notably quicktime
11480 redirections as used on Apple's trailer site (#331701).
11482 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
11484 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
11485 (gst_type_find_helper):
11486 Try typefinding factories with the highest rank first.
11488 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
11490 * docs/libs/gstreamer-libs-docs.sgml:
11491 * docs/libs/gstreamer-libs-sections.txt:
11492 * libs/gst/base/gsttypefindhelper.c:
11493 Add section for typefind helper and add documentation
11494 for the old and the new function.
11496 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
11498 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
11499 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
11500 (gst_type_find_helper_for_buffer):
11501 * libs/gst/base/gsttypefindhelper.h:
11502 New API: gst_type_find_helper_for_buffer() (#332723).
11504 2006-02-27 Michael Smith <msmith@fluendo.com>
11506 Patch by: Loïc Minier
11509 * docs/Makefile.am:
11510 * docs/slides/Makefile.am:
11511 prevent CVS directories getting disted.
11513 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
11515 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
11516 Use the REFCOUNTING category for caps refcounting.
11518 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
11520 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
11521 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
11523 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
11525 * plugins/elements/gsttypefindelement.c:
11526 (gst_type_find_element_activate):
11527 Use gst_pad_check_pull_range() before _activate_pull()
11528 to avoid unnecessary open/close (see #331690).
11530 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
11533 Docs enhancement: make it crystal clear what the
11534 gst_pad_add_*_probe() callbacks should look like.
11536 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
11538 * libs/gst/base/gstbasesrc.c:
11539 Document how applications can stop recording from
11540 live sources (see #330996).
11542 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
11544 * tests/check/Makefile.am:
11545 * tests/check/libs/basesrc.c: (eos_event_counter),
11546 (basesrc_eos_events_pull), (basesrc_eos_events_push),
11547 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
11548 (gst_basesrc_suite), (main):
11549 ... and add some tests for the base source EOS stuff.
11551 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
11553 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
11554 Test case originally showed the problem fixed below,
11555 but was then amended. Add checks back at the place
11556 where they used to be.
11558 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
11560 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11561 (gst_base_src_init), (gst_base_src_loop),
11562 (gst_base_src_activate_push), (gst_base_src_activate_pull),
11563 (gst_base_src_change_state):
11564 * libs/gst/base/gstbasesrc.h:
11565 Don't unconditionally send EOS when going from PAUSED to
11566 READY state, esp. make sure we don't send two EOS events
11567 in some cases (e.g. one when reaching EOS and one when
11568 going from PAUSED to READY). Also, we don't want to send
11569 EOS events when operating in pull mode. However, we do
11570 want to send an EOS event when shutting down a live
11571 source explicitly, for example (fixes #330996).
11573 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
11575 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11576 Update src->read_position after a seek when not using mmap.
11577 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
11579 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
11585 Make things work with --disable-parse as they do with
11586 --disable-load-save - the symbols involved disappear, but the
11587 header is still installed and GST_DISABLE_PARSE is included via
11590 2006-02-20 Julien MOUTTE <julien@moutte.net>
11592 * libs/gst/base/gstbasetransform.c:
11593 (gst_base_transform_change_state): Fix a stupid bug. I was
11594 sure I compiled that.
11596 2006-02-20 Julien MOUTTE <julien@moutte.net>
11598 * gst/gstpad.c: (gst_pad_set_blocked_async):
11599 * gst/gstutils.c: (gst_pad_add_data_probe),
11600 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
11601 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
11602 (gst_pad_remove_buffer_probe): Make those function act on the
11603 ghostpad target when it's a ghostpad. (Closes #331727)
11605 2006-02-20 Julien MOUTTE <julien@moutte.net>
11607 * libs/gst/base/gstbasetransform.c:
11608 (gst_base_transform_change_state): Make basetransform reusable.
11611 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
11613 * docs/random/release:
11614 Move the current documentation of how to do a release to the top
11617 * gst/gstbin.c: (gst_bin_class_init),
11618 (gst_bin_handle_message_func):
11619 Allow multiple state-recalculation threads. (Closes #328873)
11621 2006-02-19 Julien MOUTTE <julien@moutte.net>
11623 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
11624 * gst/gstpad.c: (gst_pad_set_event_function),
11625 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11626 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
11627 2 strings. You can't use the STR_NULL macro on that.
11629 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
11631 * gst/gstpad.c: (gst_pad_set_event_function),
11632 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11633 (gst_pad_set_getcaps_function)
11634 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
11635 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
11636 So now, we can use --gst-debug-level=5 on Windows
11637 * win32/common/libgstcontroller.def:
11638 Added export of gst_controller_init
11639 * win32/vs6/libgstcontroller.dsp:
11640 Fixed Release post build configuration
11642 2006-02-17 Wim Taymans <wim@fluendo.com>
11644 * tests/check/gst/gstquery.c: (GST_START_TEST):
11645 Added another check.
11647 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
11649 * plugins/elements/gsttypefindelement.c: (find_peek):
11650 We can do peeks at non-zero offsets, as long as they
11651 fall within the buffer we have.
11653 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
11655 * tests/check/Makefile.am:
11656 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
11657 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
11658 (parse_suite), (main):
11659 Add testsuite for parse launch syntax
11661 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
11663 * plugins/elements/gsttypefindelement.c:
11664 (gst_type_find_element_chain):
11665 When typefinding is unsuccessful in the chain function, don't
11666 error out immediately. Only error out with NO_CAPS_FOUND if
11667 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
11668 otherwise simply wait for more data so we can try typefinding
11669 again with more data later. Also, don't attempt to typefind
11670 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
11671 this should improve typefinding from network sources where the
11672 size of the first buffer can be somewhat random.
11674 2006-02-14 Wim Taymans <wim@fluendo.com>
11676 * docs/gst/gstreamer-sections.txt:
11677 * gst/gstpadtemplate.c:
11678 * gst/gstpadtemplate.h:
11679 Fix padtemplate docs, fixes #328805.
11681 2006-02-14 Wim Taymans <wim@fluendo.com>
11683 * tools/gst-launch.c: (main):
11684 NO_PREROLL is not an ERROR so don't send confusing messages
11687 2006-02-14 Wim Taymans <wim@fluendo.com>
11689 Patch by: Torsten Schoenfeld
11691 * gst/gstregistry.c: (gst_registry_get_default),
11692 (_gst_registry_cleanup):
11693 Protect default registry with lock and ref/sink it.
11696 2006-02-14 Wim Taymans <wim@fluendo.com>
11699 * gst/gstquery.c: (gst_query_list_add_format),
11700 (gst_query_set_formatsv), (gst_query_parse_formats_length),
11701 (gst_query_parse_formats_nth):
11702 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
11705 2006-02-14 Wim Taymans <wim@fluendo.com>
11707 * docs/gst/gstreamer-sections.txt:
11708 Reworked query docs.
11710 * gst/gstquery.c: (gst_query_new_formats),
11711 (gst_query_list_add_format), (gst_query_set_formats),
11712 (gst_query_set_formatsv), (gst_query_parse_formats_length),
11713 (gst_query_parse_formats_nth):
11715 Flesh out formats query, added some new methods.
11716 Fix part of #324398.
11718 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
11719 Added query creation tests.
11721 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
11723 * gst/gstpad.c: (fixate_value):
11724 Add a default fixation for fraction lists.
11726 2006-02-13 Wim Taymans <wim@fluendo.com>
11728 * gst/gsttask.c: (gst_task_init), (gst_task_func),
11729 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
11732 Detect and warn for obvious deadlocks. fixes #320340
11733 Fix error case where lock was not released.
11735 * tests/check/Makefile.am:
11736 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
11737 (task_func), (gst_element_suite), (main):
11740 2006-02-13 Wim Taymans <wim@fluendo.com>
11742 * docs/gst/gstreamer-sections.txt:
11744 Add new functions to docs.
11746 2006-02-13 Wim Taymans <wim@fluendo.com>
11748 * docs/design/part-TODO.txt:
11749 Updated TODO list, basesrc supports seeking to non-bytes
11752 * docs/design/part-element-sink.txt:
11755 * gst/gstbin.c: (bin_replace_message),
11756 (gst_bin_handle_message_func):
11757 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
11758 * gst/gstevent.c: (gst_event_finalize):
11759 * gst/gstpad.c: (gst_pad_event_default_dispatch),
11760 (gst_pad_send_event):
11761 Use shiny new _TYPE_NAME macros.
11763 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
11764 Move debug statement up.
11766 * gst/gstelement.c: (gst_element_set_locked_state):
11767 Add some debugging.
11769 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
11771 * docs/gst/gstreamer-sections.txt:
11772 * gst/gstmessage.h:
11774 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
11775 macros (#330906). Also, document the already existing
11776 GST_QUERY_TYPE macro.
11778 2006-02-13 Wim Taymans <wim@fluendo.com>
11780 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
11781 (event_probe), (GST_START_TEST):
11782 Only events up to the pipeline EOS are counted, there are
11783 some more when going to NULL currently which we don't care
11786 2006-02-13 Wim Taymans <wim@fluendo.com>
11788 * gst/gstpad.c: (gst_pad_send_event):
11789 Correctly check flushing and emit probes. fixes #330125
11791 2006-02-10 Andy Wingo <wingo@pobox.com>
11793 * gst/gstbus.c (gst_bus_class_init): Declare our private data
11795 (gst_bus_init): Cache the location of the private data in the
11796 instance structure.
11797 (gst_bus_enable_sync_message_emission)
11798 (gst_bus_disable_sync_message_emission): Implement new public
11800 (gst_bus_post): Emit the sync-message signal if the user asked for
11803 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
11804 location of the bus-private structure.
11805 (gst_bus_enable_sync_message_emission)
11806 (gst_bus_disable_sync_message_emission): API addition
11808 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
11810 Patch by: Vincent Torri
11812 * docs/pwg/building-boiler.xml:
11813 PWG patch from #326800
11815 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
11818 * docs/Makefile.am:
11819 * docs/design/Makefile.am:
11822 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
11827 === release 0.10.3 ===
11829 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
11832 releasing 0.10.3, "Like a virgin"
11834 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
11837 2nd prerelease of 0.10.3
11838 Bump libtool versioning.
11840 2006-02-07 Andy Wingo <wingo@pobox.com>
11842 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
11843 update last_stop if we're in TIME format and the timestamp is
11846 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
11847 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
11848 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
11849 If we get a new newsegment with a different format, adapt
11852 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
11853 of 0. Not a problem, really.
11855 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
11858 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
11863 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
11866 project files updated to the default vs7 configuration
11867 * win32/common/libgstbase.def:
11868 * win32/common/libgstreamer.def:
11870 removed empty lines,
11871 sorted all exported symbols alphabetically
11872 * win32/common/dirent.c:
11873 * win32/common/dirent.h:
11874 * win32/common/gchar.h:
11875 use windows line end.
11877 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
11879 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
11880 Send EOS event when stopping.
11882 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
11885 Tell folks what to do if the plugin-foobar.xml file
11886 hasn't been generated for a newly-added plugin.
11888 2006-02-05 Julien MOUTTE <julien@moutte.net>
11890 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
11891 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11892 (gst_collect_pads_start), (gst_collect_pads_stop),
11893 (gst_collect_pads_event): Collectpads now holds a reference
11894 to the GstPad that was added. Indeed we don't want to look
11895 at pads that might just go away with no warning...
11897 2006-02-05 Julien MOUTTE <julien@moutte.net>
11899 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11900 (gst_collect_pads_start), (gst_collect_pads_stop),
11901 (gst_collect_pads_event), (gst_collect_pads_chain):
11902 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
11903 Mark Nauwelaerts's patch on bug #328491.
11905 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
11907 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
11909 Add some simple tests for gst_parse_bin_from_description() and
11910 gst_bin_find_unconnected_pad() (#329069).
11912 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
11914 * tools/gst-launch.c: (event_loop), (main):
11915 Catch errors during preroll (#320084).
11917 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
11919 * plugins/elements/gsttypefindelement.c:
11920 (gst_type_find_element_activate):
11921 Post TYPE_NOT_FOUND error message when typefinding
11922 is unsuccessful in the activate function as well.
11924 2006-02-02 Wim Taymans <wim@fluendo.com>
11926 * docs/design/part-element-sink.txt:
11929 2006-02-02 Wim Taymans <wim@fluendo.com>
11931 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
11932 (gst_base_sink_render_object),
11933 (gst_base_sink_queue_object_unlocked):
11934 Only keep track of prerollable items when we are
11936 Before rendering after preroll, always check if we
11938 Added some more debugging.
11940 2006-02-02 Wim Taymans <wim@fluendo.com>
11942 * gst/gstelement.c: (gst_element_continue_state),
11943 (gst_element_set_state_func), (gst_element_change_state):
11944 Fixed #326576, been running this for quite some time with
11945 no regressions at all.
11947 2006-02-02 Wim Taymans <wim@fluendo.com>
11950 Added more suppressions
11952 2006-02-02 Wim Taymans <wim@fluendo.com>
11954 * docs/design/part-element-sink.txt:
11957 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
11958 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
11959 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
11960 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
11961 (gst_base_sink_do_sync), (gst_base_sink_render_object),
11962 (gst_base_sink_preroll_object),
11963 (gst_base_sink_queue_object_unlocked),
11964 (gst_base_sink_queue_object), (gst_base_sink_event),
11965 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
11966 (gst_base_sink_loop), (gst_base_sink_activate_pull),
11967 (gst_base_sink_get_position), (gst_base_sink_change_state):
11968 * libs/gst/base/gstbasesink.h:
11969 Totally refactored matching the design doc.
11970 Use two segments, one to clip incomming buffers and another to
11972 Handle queueing correctly, bypass the queue when playing.
11973 Make EOS cancelable.
11974 Handle errors correctly when operating in pull based mode.
11976 * tests/check/elements/fakesink.c: (GST_START_TEST),
11978 Added new check for sinks.
11980 2006-02-02 Wim Taymans <wim@fluendo.com>
11982 * gst/gstsegment.c: (gst_segment_clip):
11983 No reason to refuse to clip when start == -1
11985 2006-02-02 Stefan Kost <ensonic@users.sf.net>
11988 * docs/manual/intro-basics.xml:
11989 * docs/manual/intro-preface.xml:
11990 * docs/manual/manual.xml:
11991 * docs/pwg/advanced-dparams.xml:
11992 * docs/pwg/intro-basics.xml:
11993 * docs/pwg/intro-preface.xml:
11994 * docs/pwg/pwg.xml:
11995 describe dparams (controller) for plugins
11996 unify docs a little more
11998 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
12000 * docs/gst/gstreamer-sections.txt:
12001 * gst/gstutils.c: (element_find_unconnected_pad),
12002 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
12004 Add new API: gst_parse_bin_from_description() and
12005 gst_bin_find_unconnected_pad() (#329069).
12007 2006-02-01 Stefan Kost <ensonic@users.sf.net>
12009 * docs/manual/README:
12010 uncover a nasty detail of the docs build
12012 2006-01-31 Wim Taymans <wim@fluendo.com>
12014 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
12015 Don't cache duration messages if we're not going to use or
12018 2006-01-31 Stefan Kost <ensonic@users.sf.net>
12020 * docs/manual/advanced-dparams.xml:
12021 * docs/pwg/advanced-dparams.xml:
12025 * libs/gst/controller/lib.c: (gst_controller_init):
12028 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
12030 * gst/gstelement.c: (gst_element_message_full):
12031 also show file/line/func if no additional debug was given
12033 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
12035 * win32/vs7/grammar.vcproj:
12036 activate copy of autogenerated files for Release mode
12038 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
12040 * win32/common/libgstreamer.def:
12041 export gst_value_compare
12043 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
12045 * plugins/elements/Makefile.am:
12046 * plugins/elements/gstelements.c:
12047 * plugins/elements/gstfdsink.c: (_do_init),
12048 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
12049 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
12050 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
12051 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
12052 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
12053 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
12054 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
12055 * plugins/elements/gstfdsink.h:
12056 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
12058 2006-01-30 Stefan Kost <ensonic@users.sf.net>
12060 * docs/manual/advanced-dparams.xml:
12061 describe controller
12062 * docs/manual/advanced-position.xml:
12063 * docs/manual/basics-init.xml:
12064 * docs/manual/manual.xml:
12065 * docs/manual/titlepage.xml:
12066 * docs/pwg/pwg.xml:
12067 * docs/pwg/titlepage.xml:
12068 cleanup xml (more to come)
12069 * libs/gst/controller/gstcontroller.c:
12072 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
12074 * win32/vs6/grammar.dsp:
12075 add autogen of gstmarshal.c,h for Release mode
12077 2006-01-30 Wim Taymans <wim@fluendo.com>
12079 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
12080 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
12081 (gst_base_sink_handle_object), (gst_base_sink_event),
12082 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
12083 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
12084 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
12085 (gst_base_sink_deactivate), (gst_base_sink_activate),
12086 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
12087 (gst_base_sink_query), (gst_base_sink_change_state):
12088 Basesink cleanups, remove some old code.
12089 Handle the case where a subclass can preroll in the render
12090 method (mostly audiosinks).
12091 Handle more events.
12092 Remove some locks around variables that are now protected
12093 with the PREROLL_LOCK (clock_id, flushing, ..).
12094 Optimize position query some more, do correct locking.
12095 Remove old code to push queue in state change, this is not
12096 needed anymore since preroll blocks on all prerollable items
12098 Almost implemented as described in design doc.
12100 2006-01-30 Wim Taymans <wim@fluendo.com>
12102 * tests/check/gst/gstbin.c: (GST_START_TEST):
12103 Wait for refcount to settle down before checking.
12105 2006-01-30 Wim Taymans <wim@fluendo.com>
12107 * docs/design/part-element-sink.txt:
12108 Pseudo code overview of desired sink behaviour regarding
12111 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
12112 * win32/vs6/grammar.dsp:
12113 fix some bugs in Release mode for autogenerated files
12115 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
12116 * win32/common/libgstbase.def:
12117 * win32/common/libgstreamer.def:
12118 export some new symbols: gst_base_src_set_format,
12119 gst_iterator_next, gst_structure_set_valist
12121 2006-01-29 Julien MOUTTE <julien@moutte.net>
12123 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
12124 Set pad functions unconditionally. Fixes #329105.
12126 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
12128 add vs8 project files created by Sergey Scobich
12130 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
12132 * gst/gstutils.c: (gst_element_unlink_pads):
12133 Don't leak pad references.
12135 * tests/check/elements/fakesink.c: (GST_START_TEST):
12136 * tests/check/generic/sinks.c: (GST_START_TEST):
12137 * tests/check/generic/states.c: (GST_START_TEST):
12138 * tests/check/gst/gstbin.c: (GST_START_TEST):
12139 * tests/check/gst/gstcaps.c: (GST_START_TEST):
12140 * tests/check/gst/gstelement.c: (GST_START_TEST):
12141 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
12142 * tests/check/gst/gstiterator.c: (GST_START_TEST):
12143 * tests/check/gst/gstvalue.c: (GST_START_TEST):
12144 Fix a bunch of leaks. Make generic/sinks.c
12145 use a bit less cpu by slowing the buffer rate
12146 between fakesrc and fakesink.
12148 2006-01-27 Stefan Kost <ensonic@users.sf.net>
12150 * gst/gstelement.c: (gst_element_send_event):
12153 * gst/gstiterator.c:
12154 * gst/gstiterator.h:
12155 * gst/gstpad.c: (gst_pad_send_event):
12156 * gst/gststructure.c:
12160 * libs/gst/base/gstadapter.c:
12161 doc fixes, to link to function, just write gst_cool_function(), don't
12164 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
12166 * plugins/elements/gsttee.c: (gst_tee_do_push),
12167 (gst_tee_handle_buffer):
12168 Always prefer an actual return value from a src
12169 pad in place of NOT_LINKED. This means we return
12170 WRONG_STATE when all src pads are WRONG_STATE
12171 instead of NOT_LINKED.
12173 Lock when replacing the last message to prevent
12174 racing with the get_property method.
12178 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
12180 * tests/check/Makefile.am:
12181 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
12183 Add a very simple check that should have caught the memleak I fixed
12184 last night (if not for the slice allocator hiding it)
12186 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
12188 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
12189 (gst_bin_remove_func), (gst_bin_handle_message_func),
12190 (bin_query_duration_fold), (bin_query_generic_fold):
12191 Clean up references to the clock provider when disposed or when
12192 handling a clock-lost message from it.
12194 Unref sinks when performing a query via gst_iterator_fold, as the
12195 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
12197 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
12198 (gst_clock_set_master):
12199 Drop our reference to the master clock, if any, when we are disposed.
12201 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
12202 Chain up in dispose.
12204 2006-01-26 Wim Taymans <wim@fluendo.com>
12206 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
12207 Add some debugging.
12209 2006-01-26 Julien MOUTTE <julien@moutte.net>
12211 * plugins/elements/gsttee.c: (gst_tee_do_push),
12212 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
12213 handles pad being NOT_LINKED or in WRONG_STATE.
12215 2006-01-26 Stefan Kost <ensonic@users.sf.net>
12220 2006-01-26 Stefan Kost <ensonic@users.sf.net>
12223 remove obsolete entry
12225 2006-01-26 Stefan Kost <ensonic@users.sf.net>
12227 * docs/gst/gstreamer-sections.txt:
12228 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
12229 (gst_bin_iterate_sources), (gst_bin_send_event):
12231 * gst/gstelement.c: (gst_element_send_event):
12233 * gst/gstpad.c: (gst_pad_send_event):
12234 added code for downstream events, reviewed docs in gstevent.c
12236 2006-01-25 Julien MOUTTE <julien@moutte.net>
12238 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12239 We only query position using the clock in the playing state.
12240 Query peer in the other cases.
12241 * win32/common/config.h: Updates.
12243 2006-01-24 Wim Taymans <wim@fluendo.com>
12245 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12246 A clock entry that is scheduled for the exact time of the
12247 clock is still in time.
12249 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12250 (gst_base_sink_do_sync):
12251 Add some more debug info.
12253 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
12256 Add new vs7 project files and solution.
12258 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
12261 all files removed as they were out-dated.
12263 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
12265 * docs/random/release:
12267 * gst/gstbin.c: (gst_bin_init):
12268 * gst/gstbus.c: (gst_bus_new):
12270 * gst/gstpipeline.c: (gst_pipeline_init):
12271 use gst_bus_new(), improve logging, fix docs
12272 * win32/common/config.h:
12273 update for cvs build
12275 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
12278 up required version of automake to 1.7
12280 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
12282 * win32/common/libgstreamer.def:
12283 export gst_buffer_is_metadata_writable
12285 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
12287 * docs/gst/gstreamer-sections.txt:
12289 Add gst_event_replace() (#327001)
12291 2006-01-20 Wim Taymans <wim@fluendo.com>
12293 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
12294 Make it actually compile too..
12296 2006-01-20 Wim Taymans <wim@fluendo.com>
12299 Clarify behaviour of _is_equal() when passing NULL parameters.
12301 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
12302 (gst_pad_set_caps):
12303 Cleanups. Don't unref NULL caps.
12304 When setting the same caps, protect caps of the pad with
12306 Use full functionality of _is_equal() when comparing caps.
12308 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
12310 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
12311 Don't loop infinitely if there are no buffers to present. Partially
12312 fixes #327197, but collectpads is just broken for reusing elements
12313 to do multiple encodes atm.
12315 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
12317 * tools/gst-inspect.c: (print_element_features):
12318 * tools/gst-xmlinspect.c: (main):
12319 URL_HANDLER is not a plugin feature we can search for in
12322 2006-01-19 Edward Hervey <edward@fluendo.com>
12324 * gst/gstelement.c: (gst_element_pads_activate):
12325 When activating, do src pads first, then sink pads.
12326 When de-activating, do sink pads first, then src pads.
12328 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
12330 * docs/gst/gstreamer-sections.txt:
12331 Add gst_index_add_associationv to the docs
12333 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
12338 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
12339 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
12340 Do some refactoring. Doesn't actually change functionality,
12341 but makes landing the DRAIN event easier later.
12343 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
12345 * docs/pwg/advanced-scheduling.xml:
12346 Update from 0.9.x to 0.10 API and make example a bit
12349 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
12351 * docs/gst/gstreamer-sections.txt:
12352 Add gst_buffer_(is|make)_metadata_writable methods.
12354 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
12356 * docs/design/part-sparsestreams.txt:
12357 Update sparse streams doc, hopefully for greater clarity
12359 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
12361 * docs/design/part-events.txt:
12362 Remove mention of FILLER events.
12365 * docs/design/part-sparsestreams.txt:
12366 Write some things about using NEWSEGMENT to keep sparse streams
12369 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
12371 * gst/gstbin.c: (gst_bin_dispose):
12372 Guard gst_object_unref call against a NULL object (dispose
12373 can theoretically be called multiple times).
12375 2006-01-18 Wim Taymans <wim@fluendo.com>
12377 * gst/gstbin.c: (gst_bin_element_set_state):
12378 * gst/gstclock.c: (gst_clock_id_wait):
12379 Added some more debug info.
12381 * libs/gst/base/gstadapter.c:
12384 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12385 (gst_base_sink_do_sync), (gst_base_sink_chain):
12386 Added some comments.
12388 2006-01-18 Wim Taymans <wim@fluendo.com>
12390 * tests/check/Makefile.am:
12391 * tests/check/elements/fakesink.c: (chain_async_buffer),
12392 (chain_async), (chain_async_return), (GST_START_TEST),
12393 (fakesink_suite), (main):
12394 Added fakesink test that checks prerolling and clipping
12397 * tests/check/gst/gstutils.c: (GST_START_TEST):
12398 Make check run faster so that buildbots don't timeout.
12400 2006-01-18 Wim Taymans <wim@fluendo.com>
12402 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12403 (gst_base_sink_do_sync):
12405 When the sink finishes blocking on the preroll buffer, it can
12406 immediatly render it instead of rendering when the next buffer
12409 2006-01-18 Wim Taymans <wim@fluendo.com>
12411 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
12412 (gst_base_sink_get_property), (gst_base_sink_do_sync),
12413 (gst_base_sink_chain):
12415 GST_ELEMENT_CLOCK and sync are protected with LOCK.
12416 Don't store _last_stop if the buffer is dropped.
12418 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
12420 * plugins/elements/gsttypefindelement.c:
12421 (gst_type_find_element_class_init):
12422 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
12423 object method handler that sets the caps on the pad and we want
12424 that to happen before we emit the signal (fixes e.g. feeding a
12425 plain text file to decodebin).
12427 2006-01-18 Christian Schaller <Christian@fluendo.com>
12429 * gst/gstplugin.c: Add MPL and Proprietary as license options
12431 2006-01-18 Andy Wingo <wingo@pobox.com>
12433 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
12434 symbol was exported before, it appears this was just an oversight.
12436 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
12438 * gst/gstindex.c (gst_index_add_associationv): Changed int in
12439 prototype to gint. OK since this prototype was not in the header.
12441 2006-01-17 Andy Wingo <wingo@pobox.com>
12443 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
12444 registry while we remove plugins.
12446 * tools/gst-inspect.c (print_element_info): Don't unref the
12447 factory arg, that should be the responsibility of whatever code
12448 received the ref. Fixes a double-free when called from
12449 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
12450 (main): Unref the factory if we have one.
12451 (print_element_list): No change -- relies on the
12452 plugin_feature_list_free to free the list of features.
12454 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
12456 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
12457 (gst_buffer_make_metadata_writable):
12459 * libs/gst/base/gstbasetransform.c:
12460 (gst_base_transform_prepare_output_buf):
12461 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12462 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12463 Replace gst_buffer_(make|is)_metadata_writable patch now
12464 that the release is out.
12466 2006-01-17 Andy Wingo <wingo@pobox.com>
12468 * gst/gstregistry.c: Reflow design comment. Update so as to speak
12469 in the present tense without reference to versions.
12471 * gst/gstregistry.c (gst_registry_add_plugin)
12472 (gst_registry_remove_plugin, gst_registry_remove_feature)
12473 (gst_registry_find_feature, gst_registry_get_feature_list)
12474 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
12475 (gst_registry_lookup, gst_registry_scan_path)
12476 (_gst_registry_remove_cache_plugins)
12477 (gst_registry_get_feature_list_by_plugin): Add argument
12480 === release 0.10.2 ===
12482 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
12485 releasing 0.10.2, "If man is five"
12487 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
12491 * libs/gst/base/gstbasetransform.c:
12492 (gst_base_transform_prepare_output_buf):
12493 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12494 * tests/check/gst/gstbuffer.c: (gst_test_suite):
12495 Back out patch until after the release.
12497 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
12499 * gst/gstminiobject.c:
12500 Spelling fix in docs.
12501 * ChangeLog - remove conflict indicator
12503 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
12505 Reviewed By: Andy Wingo
12507 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
12508 (gst_buffer_make_metadata_writable):
12510 Add gst_buffer_(is|make)_metadata_writable as analogues of
12511 gst_buffer_(is|make)_writable.
12513 * libs/gst/base/gstbasetransform.c:
12514 (gst_base_transform_prepare_output_buf):
12515 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12516 Use name gst_buffer_(is|make)_metadata_writable functions.
12518 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12519 Test gst_buffer_(is|make)_metadata_writable
12523 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
12525 * docs/manual/Makefile.am:
12526 don't do parallel make
12529 * win32/common/config.h.in:
12530 add generations for HOST_CPU and GST_MAJORMINOR
12531 * win32/common/config.h:
12532 commit generated result
12534 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
12536 * docs/manual/appendix-integration.xml:
12537 Update GNOME integration section to use gst_init_get_option_group()
12538 instead of the old popt stuff (#322911). Also, GNOME applications
12539 should now use gconf*sink and gconf*src instead of the old gconf
12542 2006-01-13 Stefan Kost <ensonic@users.sf.net>
12545 * docs/gst/gstreamer-docs.sgml:
12546 * docs/gst/gstreamer-sections.txt:
12547 * docs/libs/gstreamer-libs-sections.txt:
12548 add new API entries to the docs
12549 * libs/gst/controller/Makefile.am:
12550 * libs/gst/controller/gstcontroller.c:
12551 * libs/gst/controller/gstcontroller.h:
12552 * libs/gst/controller/gstcontrollerprivate.h:
12553 * libs/gst/controller/gsthelper.c:
12554 * libs/gst/controller/gstinterpolation.c:
12555 move private structs to private header
12557 gstreamer-0.7 -> gstreamer-0.10
12558 * tests/check/libs/struct_i386.h:
12559 remove private structs
12561 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
12563 * plugins/indexers/Makefile.am:
12564 Fixes as part of #317048
12566 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
12568 * plugins/indexers/Makefile.am:
12569 fix #316086 - compilation when mmap is missing
12571 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
12573 * libs/gst/base/gstbasesink.c:
12574 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
12575 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
12576 * win32/common/config.h:
12577 added some defines GST_MAJORMINOR and HOST_CPU
12578 * win32/common/libgstbase.def:
12579 * win32/common/libgstreamer.def:
12580 added some exported functions.
12582 2006-01-12 Stefan Kost <ensonic@users.sf.net>
12584 * libs/gst/controller/gstcontroller.c:
12585 (gst_controlled_property_set_interpolation_mode),
12586 (gst_controlled_property_new):
12587 * libs/gst/controller/gstcontroller.h:
12588 * libs/gst/controller/gstinterpolation.c:
12589 (interpolate_none_get_string_value_array):
12590 make G_TYPE_STRING controlable
12592 2006-01-12 Stefan Kost <ensonic@users.sf.net>
12595 * tools/gst-feedback.1.in:
12596 * tools/gst-inspect.1.in:
12597 * tools/gst-launch.1.in:
12598 * tools/gst-md5sum.1.in:
12599 * tools/gst-typefind.1.in:
12600 * tools/gst-xmlinspect.1.in:
12601 * tools/gst-xmllaunch.1.in:
12602 cleanup man-pages, remove reference to gst-register, document env-vars
12604 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
12606 * gst/gstbuffer.c: (gst_buffer_span):
12607 gst_buffer_span should copy the timestamp of the first buffer
12608 if they were both originally overlapping subbuffers of the
12609 same parent, using the same logic as the 'slow copy' case.
12611 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
12613 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
12614 Need to awaken ALL the pads when we pop a buffer, otherwise
12615 collectpads only works when there is 2 input streams.
12617 2006-01-11 Stefan Kost <ensonic@users.sf.net>
12619 * docs/random/ensonic/media-device-daemon.txt:
12622 fix doc example, add clarification
12623 * tools/gst-launch.1.in:
12624 add initial info about GST_PLUGIN_PATH, needs more work
12626 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
12628 * docs/manual/basics-bins.xml:
12629 * docs/manual/basics-elements.xml:
12630 * docs/manual/intro-basics.xml:
12631 Some more minor docs additions and updates.
12633 2006-01-11 Wim Taymans <wim@fluendo.com>
12635 * docs/manual/basics-bins.xml:
12636 * docs/manual/basics-elements.xml:
12637 Some small fixes as pointed out by Ser-ver on IRC.
12639 2006-01-10 Edward Hervey <edward@fluendo.com>
12641 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12642 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
12643 the single-segment mode.
12645 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
12647 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
12649 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
12650 (gst_base_src_perform_seek), (gst_base_src_send_event),
12651 (gst_base_src_set_property), (gst_base_src_get_property),
12652 (gst_base_src_loop), (gst_base_src_start),
12653 (gst_base_src_activate_push):
12654 * libs/gst/base/gstbasesrc.h:
12655 Name (private) union; makes Sun's Forte compiler happy (#324900).
12657 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
12660 gst-register is gone.
12662 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
12664 * gst/gstvalue.c: (_gst_value_initialize):
12665 make the G_TYPE_DATE instantiation work if debug is disabled
12667 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
12669 * gst/gstmessage.c: (gst_message_parse_tag),
12670 (gst_message_parse_error), (gst_message_parse_warning):
12671 Don't crash when return location for error/warning debug
12672 string is NULL; add fact that return locations can be
12673 NULL to docs where appropriate.
12675 2006-01-05 Wim Taymans <wim@fluendo.com>
12677 * gst/gstplugin.c: (gst_plugin_load_file):
12678 Replace strdup by g_strdup.
12680 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
12682 * docs/pwg/advanced-types.xml:
12685 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
12687 submitted by: Abel Cheung
12691 Added Chinese (traditional) translation
12693 2006-01-04 Wim Taymans <wim@fluendo.com>
12695 * docs/manual/basics-pads.xml:
12696 * docs/plugins/Makefile.am:
12697 * docs/plugins/gstreamer-plugins-docs.sgml:
12698 * docs/plugins/gstreamer-plugins-sections.txt:
12699 * docs/pwg/advanced-clock.xml:
12700 * docs/pwg/advanced-scheduling.xml:
12701 * docs/pwg/advanced-types.xml:
12702 * plugins/elements/gstfdsink.c:
12703 * plugins/elements/gstfdsrc.c:
12704 * plugins/elements/gstfdsrc.h:
12705 * plugins/elements/gstidentity.c: (gst_identity_class_init):
12706 * plugins/elements/gstidentity.h:
12707 * plugins/elements/gstqueue.h:
12708 * plugins/elements/gsttee.c:
12709 * plugins/elements/gsttee.h:
12710 * plugins/elements/gsttypefindelement.c:
12711 (gst_type_find_element_class_init):
12712 * plugins/elements/gsttypefindelement.h:
12713 Small updates to various docs.
12714 Added core plugins to docs.
12716 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12719 add a suppression for liboil's uninitialized variable
12721 2006-01-02 James Livingston <jrl at ids dot org dot au>
12723 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
12726 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
12727 macro, so that gcc doesn't complain if the -Wmissing-prototypes
12728 compiler switch is being used (#325429).
12730 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
12732 * gst/gstbin.c: (gst_bin_query):
12733 Disable duration query caching in bins until it gets
12734 fixed (see #324807).
12736 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
12738 * tools/gst-inspect.c: (print_element_properties_info):
12739 Handle properties of POINTER and BOXED type.
12741 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
12743 * gst/gst.c: (init_post):
12744 Init tags stuff and some other things before loading
12745 any static plugins (there may be other static plugins
12746 than just the GStreamer ones, and they may want to
12747 register their own tags or formats or whatever, and
12748 preferably without segfaulting).
12750 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
12751 Print at least a warning in the debug logs if we drop a
12752 query just because we don't know how to adjust the value
12753 in the particular format.
12755 2005-12-24 David Schleef <ds@schleef.org>
12757 * tools/gstreamer-completion:
12758 Replacement for gst-complete written in sh and sed. Only
12759 completes names of features, but that's 90% of what I want
12760 it for. Properties are not available in registry.xml. (Maybe
12763 === release 0.10.1 ===
12765 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
12768 releasing 0.10.1, "Nollaig chridheil"
12770 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
12772 * docs/faq/cvs.xml:
12773 Add missing quote, should be make ERROR_CFLAGS="".
12775 2005-12-20 Wim Taymans <wim@fluendo.com>
12777 * docs/design/part-trickmodes.txt:
12778 More documentation on trickmodes.
12780 2005-12-20 Edward Hervey <edward@fluendo.com>
12782 * gst/gstcaps.c: (gst_static_caps_get_type):
12784 API addition: GST_TYPE_STATIC_CAPS
12785 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
12786 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
12787 * gst/gstpadtemplate.h:
12788 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
12789 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
12792 2005-12-18 Wim Taymans <wim@fluendo.com>
12794 * libs/gst/base/gstadapter.c:
12795 * libs/gst/base/gstadapter.h:
12796 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
12797 (gst_base_sink_get_position):
12798 * libs/gst/base/gstbasesink.h:
12799 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12800 (gst_base_src_default_query), (gst_base_src_default_do_seek),
12801 (gst_base_src_do_seek), (gst_base_src_perform_seek),
12802 (gst_base_src_send_event), (gst_base_src_update_length),
12803 (gst_base_src_get_range), (gst_base_src_loop),
12804 (gst_base_src_start):
12805 * libs/gst/base/gstbasesrc.h:
12806 * libs/gst/base/gstbasetransform.h:
12807 * libs/gst/base/gstcollectpads.h:
12808 * libs/gst/base/gstpushsrc.c:
12809 * libs/gst/base/gstpushsrc.h:
12810 * libs/gst/dataprotocol/dataprotocol.c:
12811 * libs/gst/dataprotocol/dataprotocol.h:
12812 * libs/gst/net/gstnetclientclock.h:
12813 * libs/gst/net/gstnettimeprovider.h:
12814 Documentation updates.
12816 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
12818 * docs/manual/basics-helloworld.xml:
12819 Remove superfluous closing bracket in helloworld example.
12821 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
12823 * tools/gst-launch.1.in:
12824 Update gst-launch man page; add a section with useful
12825 environment variables. Fixes #323882.
12827 2005-12-16 Stefan Kost <ensonic@users.sf.net>
12830 * gst/gst_private.h:
12831 change some char* into char[]
12833 2005-12-16 Wim Taymans <wim@fluendo.com>
12835 * gst/gstregistryxml.c: (load_feature):
12837 Don't use g_object_unref on GstObjects so that we avoid
12838 leaks on unsafe glibs.
12840 2005-12-16 Wim Taymans <wim@fluendo.com>
12842 * gst/gstbin.c: (gst_bin_recalc_state):
12845 2005-12-16 Wim Taymans <wim@fluendo.com>
12847 * common/check.mak:
12848 Added make forever target for check.
12850 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
12852 * gst/gst.c: (init_post):
12853 make the registry cache file HOST_CPU-dependent
12855 2005-12-16 Andy Wingo <wingo@pobox.com>
12857 * plugins/elements/gstbufferstore.c
12858 (gst_buffer_store_cleared_func): Pay attention to g_list_append
12861 * tests/check/gst/gstobject.c
12862 (test_fake_object_name_threaded_unique): Pay attention to
12863 g_list_sort return value.
12865 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
12867 * tools/gst-feedback-m.m:
12868 Update for 0.9/0.10 (fixes #323870).
12870 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
12872 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
12873 Fix lcopy for mini objects, the mini object needs to be ref'ed.
12875 * tests/check/gst/gstminiobject.c: (my_foo_init),
12876 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
12877 (test_value_collection), (gst_mini_object_suite):
12878 Add test to ensure refcounts end up as expected when passing
12879 GstMiniObjects through g_object_get() and g_object_set().
12881 2005-12-14 Julien MOUTTE <julien@moutte.net>
12883 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
12884 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
12885 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
12886 of collectpads. This version removes a lot of races without
12887 touching API/ABI. Yay !
12889 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
12891 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
12892 Don't allow activation of a srcpad in pull_range if it has no
12894 Change some debug statements to be a little clearer
12896 * plugins/elements/gsttypefindelement.c:
12897 (gst_type_find_handle_src_query):
12898 Check that we have a peer before executing queries thereupon.
12900 * tests/examples/metadata/read-metadata.c: (message_loop):
12901 Use gst_bus_pop instead of gst_bus_poll when we just want it to
12902 immediately return us any available message with 0 timeout.
12904 2005-12-12 Michael Smith <msmith@fluendo.com>
12906 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
12907 Don't unref factories after calling them.
12908 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
12909 * plugins/elements/gsttypefindelement.c:
12910 (gst_type_find_element_chain):
12911 Free lists of factories after using them. Fixing typefinding memory
12914 2005-12-12 Stefan Kost <ensonic@users.sf.net>
12916 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
12917 (gst_plugin_feature_load):
12918 more meaningful debug output
12920 * tests/Makefile.am:
12921 * tests/old/examples/Makefile.am:
12922 make make distcheck happy again
12924 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
12926 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
12927 Catch the special case where we are operating chain-based,
12928 but the downstream peer pad has no chain function. Emit a
12929 custom error message in this case instead of letting the
12930 core generate one implying that this is some sort of core
12931 bug. It's not, it just means that whatever got plugged
12932 into the pipeline downstream when we announced the type
12933 can only operate pull-based, while our source can only
12934 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
12935 Error string has not been marked for translation yet, as
12936 it probably needs some more work first.
12938 (gst_type_find_element_get_best_possibility):
12939 Add helper function to find the best of all available
12940 found possibilities that qualify given the min. threshold.
12942 (gst_type_find_element_handle_event):
12943 Fix the case where we get an EOS while still in TYPEFIND
12944 mode (we want to chose the best of all possible types,
12945 not just the first type that happens to be in our unsorted
12946 list of possible types).
12948 (gst_type_find_element_chain):
12949 Make sure we return GST_FLOW_ERROR when we errored out
12950 in stop_typefinding(); also, don't just find the best of
12951 all found type entries and then use the last examined
12952 type entry, but actually use the best entry.
12954 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
12956 * tests/examples/typefind/typefind.c: (type_found):
12957 * tests/examples/xml/runxml.c: (xml_loaded):
12958 More gcc4 fixes and a mem leak fix.
12960 2005-12-12 Stefan Kost <ensonic@users.sf.net>
12962 * tests/examples/xml/createxml.c: (object_saved):
12965 2005-12-12 Stefan Kost <ensonic@users.sf.net>
12967 * tests/Makefile.am:
12968 enable the examples even more
12970 2005-12-12 Andy Wingo <wingo@pobox.com>
12972 * libs/gst/net/gstnettimeprovider.c
12973 (gst_net_time_provider_class_init, gst_net_time_provider_init)
12974 (gst_net_time_provider_set_property)
12975 (gst_net_time_provider_get_property):
12976 API addition: Export "active" as a GObject property.
12977 (gst_net_time_provider_thread): Only respond to time queries if
12978 the time provider is active.
12980 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
12981 NetTimeProvider, preserving binary compat.
12983 2005-12-12 Stefan Kost <ensonic@users.sf.net>
12985 * tests/examples/controller/audio-example.c: (main):
12986 * tests/examples/launch/Makefile.am:
12987 convert comments again
12989 2005-12-12 Wim Taymans <wim@fluendo.com>
12991 * libs/gst/base/gstpushsrc.c:
12994 2005-12-12 Wim Taymans <wim@fluendo.com>
12996 * docs/libs/gstreamer-libs-sections.txt:
12997 Added new symbol to docs.
12999 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13000 (gst_base_src_init), (gst_base_src_set_format),
13001 (gst_base_src_default_query), (gst_base_src_query),
13002 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
13003 (gst_base_src_perform_seek), (gst_base_src_send_event),
13004 (gst_base_src_default_event), (gst_base_src_event_handler),
13005 (gst_base_src_set_property), (gst_base_src_get_property),
13006 (gst_base_src_wait), (gst_base_src_do_sync),
13007 (gst_base_src_update_length), (gst_base_src_get_range),
13008 (gst_base_src_check_get_range), (gst_base_src_loop),
13009 (gst_base_src_default_negotiate), (gst_base_src_start),
13010 (gst_base_src_activate_push), (gst_base_src_activate_pull),
13011 (gst_base_src_change_state):
13012 * libs/gst/base/gstbasesrc.h:
13013 Implement seeking to other formats than _BYTES.
13014 Implement more seeking methods correctly.
13016 Added query vmethod.
13017 Added do_seek vmethod to make life easier for subclasses
13019 API addition: gst_base_src_set_format()
13021 2005-12-12 Stefan Kost <ensonic@users.sf.net>
13023 * tests/examples/Makefile.am:
13026 2005-12-12 Stefan Kost <ensonic@users.sf.net>
13029 * docs/random/ensonic/media-device-daemon.txt:
13030 * tests/examples/controller/.cvsignore:
13031 * tests/examples/controller/Makefile.am:
13032 * tests/examples/controller/audio-example.c: (main):
13033 * tests/examples/helloworld/.cvsignore:
13034 * tests/examples/helloworld/Makefile.am:
13035 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
13036 * tests/examples/launch/.cvsignore:
13037 * tests/examples/launch/Makefile.am:
13038 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
13039 * tests/examples/metadata/.cvsignore:
13040 * tests/examples/metadata/Makefile.am:
13041 * tests/examples/metadata/read-metadata.c: (message_loop),
13042 (make_pipeline), (print_tag), (main):
13043 * tests/examples/queue/.cvsignore:
13044 * tests/examples/queue/Makefile.am:
13045 * tests/examples/queue/queue.c: (event_loop), (main):
13046 * tests/examples/typefind/.cvsignore:
13047 * tests/examples/typefind/Makefile.am:
13048 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
13050 * tests/examples/xml/.cvsignore:
13051 * tests/examples/xml/Makefile.am:
13052 * tests/examples/xml/createxml.c: (object_saved), (main):
13053 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
13054 * tests/old/examples/Makefile.am:
13055 * tests/old/examples/TODO:
13056 * tests/old/examples/controller/.cvsignore:
13057 * tests/old/examples/controller/Makefile.am:
13058 * tests/old/examples/controller/audio-example.c:
13059 * tests/old/examples/helloworld/.cvsignore:
13060 * tests/old/examples/helloworld/Makefile.am:
13061 * tests/old/examples/helloworld/helloworld.c:
13062 * tests/old/examples/launch/.cvsignore:
13063 * tests/old/examples/launch/Makefile.am:
13064 * tests/old/examples/launch/mp3parselaunch.c:
13065 * tests/old/examples/launch/mp3play:
13066 * tests/old/examples/manual/Makefile.am:
13067 * tests/old/examples/metadata/Makefile.am:
13068 * tests/old/examples/metadata/read-metadata.c:
13069 * tests/old/examples/queue/.cvsignore:
13070 * tests/old/examples/queue/Makefile.am:
13071 * tests/old/examples/queue/queue.c:
13072 * tests/old/examples/typefind/.cvsignore:
13073 * tests/old/examples/typefind/Makefile.am:
13074 * tests/old/examples/typefind/typefind.c:
13075 * tests/old/examples/xml/.cvsignore:
13076 * tests/old/examples/xml/Makefile.am:
13077 * tests/old/examples/xml/createxml.c:
13078 * tests/old/examples/xml/runxml.c:
13079 applied some simple fixing to some examples
13080 re-enabled the working examples
13082 2005-12-12 Wim Taymans <wim@fluendo.com>
13084 * gst/gstsegment.c: (gst_segment_init),
13085 (gst_segment_set_last_stop), (gst_segment_set_seek),
13086 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
13087 (gst_segment_to_running_time):
13088 Added more documentation.
13089 Make sure the last_pos value is updated properly.
13090 Make sure to_stream_time and to_running_time don't
13091 operate on wrong values.
13093 * tests/check/gst/gstsegment.c: (GST_START_TEST):
13096 2005-12-12 Michael Smith <msmith@fluendo.com>
13098 * plugins/elements/gsttypefindelement.c: (free_entry),
13099 (gst_type_find_element_chain):
13100 Now that we're not leaking factories, make sure we keep references
13101 to them while we need them.
13103 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
13105 * tests/check/gst/struct_i386.h:
13106 ifdef out the XML structs
13108 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
13110 * gst/gstvalue.c: (gst_value_transform_double_fraction):
13111 floor is not needed, F is always positive; this obviates the
13112 need for adding -lm when building without libxml
13114 2005-12-12 Wim Taymans <wim@fluendo.com>
13116 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13117 Take current playback rate into account when reporting
13120 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
13122 * docs/manual/mime-world.fig:
13123 Let's try this again, this time with a file that is
13124 actually in XFig format.
13126 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
13128 * docs/manual/mime-world.fig:
13129 Add audioconvert element to diagram so that it
13130 matches the text and the code (fixes #319526).
13132 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
13134 * docs/pwg/building-chainfn.xml:
13135 * docs/pwg/building-pads.xml:
13136 * docs/pwg/building-state.xml:
13137 * docs/pwg/other-source.xml:
13138 Update state change stuff for 0.10 (fixes #322969).
13140 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
13142 * docs/manual/advanced-dataaccess.xml:
13143 * docs/manual/appendix-checklist.xml:
13144 * docs/manual/appendix-programs.xml:
13145 * docs/manual/basics-pads.xml:
13146 * docs/manual/highlevel-components.xml:
13147 * docs/manual/manual.xml:
13148 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
13149 add converters in front of pipelines; remove curly
13150 brackets for threads stuff, they no longer exist; use
13151 GST_TYPE_FRACTION for framerates; update some pieces of
13152 code to 0.10, but there's plenty more to do.
13154 * docs/manual/appendix-porting.xml:
13155 Expand on asynchroneous state changes; s/0.9/0.10/;
13156 mention disappearance of gst_init_get_popt_table()
13159 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
13161 * docs/faq/using.xml:
13162 Spider no longer exists, and neither does gst-launch-ext.
13163 Update examples to use decodebin and playbin and put
13164 converters in front of sinks (fixes #323726).
13166 2005-12-09 Michael Smith <msmith@fluendo.com>
13168 * plugins/elements/gsttypefindelement.c: (find_peek),
13169 (gst_type_find_element_chain):
13170 Fix leaking element factories in typefinding.
13171 Fix problem where we forgot about a probable type on non-seekable
13172 files, and thus later mis-typefound it.
13174 2005-12-09 Michael Smith <msmith@fluendo.com>
13176 * common/m4/gst-makecontext.m4:
13177 * common/m4/gst-mcsc.m4:
13179 * win32/common/config.h:
13180 * win32/common/config.h.in:
13181 Remove makecontext stuff; not used in 0.10 and causes problems on
13182 HPUX according to bug #322441
13184 2005-12-07 Wim Taymans <wim@fluendo.com>
13186 * tests/check/Makefile.am:
13187 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
13189 * tests/check/libs/struct_i386.h:
13190 Added ABI check for libs
13192 2005-12-07 Wim Taymans <wim@fluendo.com>
13194 * tests/check/Makefile.am:
13195 And add the struct_i386.h to dist.
13197 2005-12-07 Wim Taymans <wim@fluendo.com>
13199 * tests/check/Makefile.am:
13200 * tests/check/gst/.cvsignore:
13201 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
13203 * tests/check/gst/struct_i386.h:
13204 Added check for ABI compatibility.
13206 2005-12-07 Wim Taymans <wim@fluendo.com>
13208 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13209 (gst_fake_src_get_times), (gst_fake_src_create):
13210 Fix broken sync option, fixes #323259
13212 2005-12-07 Wim Taymans <wim@fluendo.com>
13217 * gst/gstcaps.c: (gst_caps_is_equal):
13218 Don't assert on NULL <--> X. Fixes #323260
13220 * gst/gstminiobject.c: (gst_mini_object_replace):
13221 If we're doing atomic operations, we might just as well use
13222 the proper way to get an atomic pointer.
13224 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13225 Clean up debugging.
13227 2005-12-07 Michael Smith <msmith@fluendo.com>
13229 * gst/parse/grammar.y:
13230 Remove handling of { } for threads.
13232 2005-12-06 David Schleef <ds@schleef.org>
13234 * libs/gst/base/gstbasetransform.c: speling fix.
13236 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
13238 * docs/libs/tmpl/gstdataprotocol.sgml:
13239 * docs/random/omega/testing/gstobject.c:
13242 * gst/gstelement.c:
13243 * gst/gstelementfactory.c:
13246 * gst/gstghostpad.c:
13248 * gst/gstpadtemplate.c:
13249 * gst/gstregistryxml.c:
13250 * gst/gsttaglist.c:
13251 * gst/gsttagsetter.c:
13252 * gst/gsttypefind.c:
13254 * libs/gst/base/gstbasesrc.c:
13255 * libs/gst/net/gstnetclientclock.c:
13256 * libs/gst/net/gstnettimeprovider.c:
13257 * plugins/elements/gstfakesrc.c:
13258 * plugins/elements/gstfdsrc.c:
13259 * plugins/elements/gstfilesrc.c:
13260 * plugins/elements/gstidentity.c:
13261 * plugins/elements/gstqueue.c:
13262 * plugins/elements/gsttypefindelement.c:
13263 * plugins/indexers/gstfileindex.c:
13264 * plugins/indexers/gstmemindex.c:
13265 * tests/check/gst/gsttag.c:
13266 * tests/old/examples/cutter/cutter.c:
13267 * tests/old/examples/mixer/mixer.c:
13268 * tests/old/examples/xml/runxml.c: (main):
13269 * tests/old/testsuite/caps/normalisation.c:
13270 * tests/old/testsuite/debug/global.c:
13271 * tests/old/testsuite/parse/parse1.c:
13272 * tools/gst-xmlinspect.c:
13273 * win32/common/dirent.c:
13276 === release 0.10.0 ===
13278 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13281 releasing 0.10.0, "Maroilles"
13283 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
13285 submitted by: Funda Wang <fundawang@linux.net.cn>
13289 added Chinese (Traditional) translation
13291 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
13293 * docs/gst/gstreamer-sections.txt:
13294 * docs/libs/tmpl/gstdataprotocol.sgml:
13295 * docs/random/thomasvs/TODO:
13300 2005-12-05 Andy Wingo <wingo@pobox.com>
13302 patch by: Wim Taymans <wim@fluendo.com>
13304 * libs/gst/base/gstbasetransform.c
13305 (gst_base_transform_prepare_output_buf)
13306 (gst_base_transform_buffer_alloc):
13307 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
13308 alloc_buffer_and_set_caps.
13310 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
13311 set_caps on the source pad.
13312 (gst_pad_alloc_buffer_and_set_caps): New function, does what
13313 alloc_buffer used to do. Fixes #322874.
13315 * docs/gst/gstreamer-sections.txt:
13316 * docs/design/part-negotiation.txt:
13317 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
13320 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
13322 patch by: Sebastien Moutte
13325 * win32/common/config.h.in:
13326 * win32/vs6/libgstcontroller.dsp:
13329 2005-12-05 Wim Taymans <wim@fluendo.com>
13331 * gst/gstcaps.c: (gst_caps_is_equal):
13332 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13333 (gst_fake_src_create):
13334 Back out previous code changes, leave doc updates, file bugs
13337 2005-12-05 Wim Taymans <wim@fluendo.com>
13339 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13340 (gst_fake_src_get_times), (gst_fake_src_create):
13341 * plugins/elements/gstfakesrc.h:
13342 Fix broken sync code.
13344 2005-12-05 Wim Taymans <wim@fluendo.com>
13346 * gst/gstcaps.c: (gst_caps_is_equal):
13347 Comparing NULL against !NULL yields different caps, not a
13350 2005-12-05 Wim Taymans <wim@fluendo.com>
13352 * gst/gstpipeline.c:
13353 Fix small typo in docs.
13355 2005-12-05 Andy Wingo <wingo@pobox.com>
13357 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
13359 * gst/gst.c (init_post): remove hard-coded 0.9 location for
13360 registries/plugins with a MAJORMINOR one.
13361 (plugin_desc): Rename library from gstcoreleements to
13362 staticelements. Fixes #323222.
13364 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
13366 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
13367 Change debug category to 'collectpads' from 'collect_pads'
13370 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
13372 patch by: Sebastien Moutte
13374 * libs/gst/controller/gstinterpolation.c:
13375 use convert function for uint64/double
13376 * win32/vs6/libgstcontroller.dsp:
13379 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
13381 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
13382 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
13384 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13385 add tests that seem to show that the guint64/gdouble conversions
13388 2005-12-02 Wim Taymans <wim@fluendo.com>
13390 * gst/gstregistry.c: (gst_registry_add_path):
13391 * gst/gstregistry.h:
13392 * gst/gstregistryxml.c:
13395 2005-12-02 Wim Taymans <wim@fluendo.com>
13397 * gst/gstutils.c: (gst_util_uint64_scale_int64),
13398 (gst_util_uint64_scale_int):
13401 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13402 Add debug log line.
13404 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
13407 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
13410 * win32/common/config.h:
13411 * win32/vs6/gstreamer.dsw:
13412 * win32/vs6/libgstcoreelements.dsp:
13413 * win32/vs6/libgstelements.dsp:
13414 renamed core elements plugin
13416 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
13418 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
13420 do piece-wise major/minor comparison so 0.9 < 0.10
13421 also allow .exe extensions for tools
13423 2005-12-02 Michael Smith <msmith@fluendo.com>
13426 Escape a % to make gtkdoc happier; bug 322958.
13428 === release 0.9.7 ===
13430 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13433 releasing 0.9.7, "My Dog Has No Nose"
13435 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13437 * common/gst-xmlinspect.py:
13439 * docs/libs/tmpl/gstdataprotocol.sgml:
13440 * docs/random/release:
13459 * win32/common/config.h:
13460 * win32/common/config.h.in:
13461 * win32/vs6/gst_inspect.dsp:
13462 * win32/vs6/gst_launch.dsp:
13463 * win32/vs6/libgstbase.dsp:
13464 * win32/vs6/libgstelements.dsp:
13465 * win32/vs6/libgstreamer.dsp:
13466 * win32/vs7/GStreamer.vcproj:
13467 * win32/vs7/gst-inspect.vcproj:
13468 * win32/vs7/gst-launch.vcproj:
13469 * win32/vs7/libgstbase.vcproj:
13470 bump GST_MAJORMINOR to 0.10
13471 reset libtool version
13473 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13477 Added Bulgarian translation by (Alexander Shopov)
13479 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13481 * tests/check/gst/gstplugin.c:
13484 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13486 * common/gst-xmlinspect.py:
13487 * common/gtk-doc-plugins.mak:
13489 * docs/Makefile.am:
13490 * docs/gst/Makefile.am:
13491 * docs/gst/gstreamer-docs.sgml:
13492 * docs/gst/gstreamer-sections.txt:
13493 * docs/gst/gstreamer.types:
13494 * docs/gst/gstreamer.types.in:
13495 * docs/plugins/Makefile.am:
13496 * docs/plugins/gstreamer-plugins-docs.sgml:
13497 * docs/plugins/gstreamer-plugins-sections.txt:
13498 * docs/plugins/gstreamer-plugins.types:
13499 * docs/plugins/inspect.stamp:
13500 * docs/plugins/inspect/plugin-coreelements.xml:
13501 * docs/plugins/inspect/plugin-coreindexers.xml:
13502 * docs/plugins/scanobj-build.stamp:
13503 * gstreamer.spec.in:
13504 * plugins/elements/Makefile.am:
13505 * plugins/elements/gstelements.c:
13506 * plugins/elements/gstfakesink.c:
13507 * plugins/elements/gstfakesrc.c:
13508 * plugins/elements/gstfilesink.c:
13509 * plugins/elements/gstfilesrc.c:
13510 * plugins/elements/gstqueue.c:
13511 * plugins/indexers/Makefile.am:
13512 * plugins/indexers/gstindexers.c:
13513 document core plugins in a separate document just like all the
13515 rename these plugins to something starting with core
13517 2005-12-01 Andy Wingo <wingo@pobox.com>
13519 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
13520 padding here before, but it missed the commit.
13522 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
13524 * libs/gst/controller/gstinterpolation.c:
13525 whitespace prices have crashed, we should feel free to use some now
13526 use gst_guint64_to_gdouble
13528 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
13530 * libs/gst/controller/gstcontroller.c:
13531 * libs/gst/controller/gsthelper.c:
13532 * libs/gst/controller/gstinterpolation.c:
13533 * libs/gst/controller/lib.c:
13534 wrap config.h include
13536 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
13538 * docs/gst/gstreamer-sections.txt:
13541 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
13543 * plugins/elements/gstelements.c:
13544 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
13545 (gst_fd_sink__class_init), (gst_fd_sink__init),
13546 (gst_fd_sink__chain), (gst_fd_sink__set_property),
13547 (gst_fd_sink__get_property):
13548 * plugins/elements/gstfdsink.h:
13549 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
13550 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
13551 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
13552 (gst_fd_src_unlock), (gst_fd_src_set_property),
13553 (gst_fd_src_get_property), (gst_fd_src_create),
13554 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
13555 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
13556 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
13557 (gst_fd_src_uri_handler_init):
13558 * plugins/elements/gstfdsrc.h:
13559 * plugins/elements/gstqueue.c: (gst_queue_get_type):
13562 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13564 * docs/gst/Makefile.am:
13565 * docs/gst/gstreamer.types.in:
13569 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13575 * gst/gstregistry.h:
13576 * tests/benchmarks/complexity.c:
13577 * tests/benchmarks/mass-elements.c:
13578 * tests/check/Makefile.am:
13579 * tools/Makefile.am:
13580 * tools/gst-inspect.c:
13581 * tools/gst-xmlinspect.c:
13582 various fixes to make
13583 --disable-nls --disable-registry --disable-loadsave
13584 --disable-parse --disable-gst-debug
13585 work and get the core .so down to 360444 bytes after stripping
13587 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13592 * docs/random/thomasvs/TODO:
13593 * tests/Makefile.am:
13597 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13599 * win32/GStreamer.vcproj:
13602 * win32/Makefile.inspect:
13603 * win32/Makefile.launch:
13604 * win32/Makefile.register:
13605 * win32/README.txt:
13606 * win32/gst-inspect.vcproj:
13607 * win32/gst-launch.vcproj:
13608 * win32/gst-register.vcproj:
13609 * win32/gstelements.vcproj:
13610 * win32/gstgetbits.def:
13611 * win32/gstgetbits.vcproj:
13612 * win32/gstreamer-dbg.def:
13613 * win32/gstreamer.def:
13614 * win32/libgstbase.def:
13615 * win32/libgstbase.vcproj:
13616 * win32/link_oldruntime.c:
13620 * win32/msvc71.sln:
13621 move even more stuff, win32/ is nice and clean now
13623 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13625 * libs/gst/control/.cvsignore:
13630 * win32/gstbytestream.def:
13631 * win32/gstbytestream.vcproj:
13632 * win32/gstconfig.h:
13633 * win32/gstenumtypes.c:
13634 * win32/gstenumtypes.h:
13635 * win32/gstoptimalscheduler.vcproj:
13636 * win32/gstversion.h:
13638 * win32/testsuite/bins.vcproj:
13639 * win32/testsuite/bytestream.vcproj:
13640 * win32/testsuite/caps.vcproj:
13641 * win32/testsuite/cleanup.vcproj:
13642 * win32/testsuite/clock.vcproj:
13643 * win32/testsuite/debug.vcproj:
13644 * win32/testsuite/dlopen.vcproj:
13645 * win32/testsuite/dynparams.vcproj:
13646 * win32/testsuite/elements.vcproj:
13647 * win32/testsuite/ghostpads.vcproj:
13648 * win32/testsuite/indexers.vcproj:
13649 * win32/testsuite/negotiation.vcproj:
13650 * win32/testsuite/parse.vcproj:
13651 * win32/testsuite/plugin.vcproj:
13652 * win32/testsuite/refcounting.vcproj:
13653 * win32/testsuite/schedulers.vcproj:
13654 * win32/testsuite/states.vcproj:
13655 * win32/testsuite/tags.vcproj:
13656 * win32/testsuite/threads.vcproj:
13657 remove old win32 stuff that isn't maintained and should be
13660 2005-11-30 Andy Wingo <wingo@pobox.com>
13662 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
13663 loading the gst.interfaces python module bork.
13665 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
13666 available since GLib 2.2. Fixes #318031.
13668 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13671 * check/.cvsignore:
13672 * check/Makefile.am:
13673 * check/elements/.cvsignore:
13674 * check/elements/fakesrc.c:
13675 * check/elements/fdsrc.c:
13676 * check/elements/identity.c:
13677 * check/generic/.cvsignore:
13678 * check/generic/states.c:
13679 * check/gst-libs/.cvsignore:
13680 * check/gst-libs/controller.c:
13681 * check/gst-libs/gdp.c:
13682 * check/gst/.cvsignore:
13683 * check/gst/capslist.h:
13685 * check/gst/gstbin.c:
13686 * check/gst/gstbuffer.c:
13687 * check/gst/gstbus.c:
13688 * check/gst/gstcaps.c:
13689 * check/gst/gstelement.c:
13690 * check/gst/gstevent.c:
13691 * check/gst/gstghostpad.c:
13692 * check/gst/gstiterator.c:
13693 * check/gst/gstmessage.c:
13694 * check/gst/gstminiobject.c:
13695 * check/gst/gstobject.c:
13696 * check/gst/gstpad.c:
13697 * check/gst/gstpipeline.c:
13698 * check/gst/gstplugin.c:
13699 * check/gst/gstsegment.c:
13700 * check/gst/gststructure.c:
13701 * check/gst/gstsystemclock.c:
13702 * check/gst/gsttag.c:
13703 * check/gst/gstutils.c:
13704 * check/gst/gstvalue.c:
13705 * check/net/.cvsignore:
13706 * check/net/gstnetclientclock.c:
13707 * check/net/gstnettimeprovider.c:
13708 * check/pipelines/.cvsignore:
13709 * check/pipelines/cleanup.c:
13710 * check/pipelines/simple_launch_lines.c:
13711 * check/pipelines/stress.c:
13712 * check/states/.cvsignore:
13713 * check/states/sinks.c:
13715 * examples/Makefile.am:
13716 * examples/appreader/.cvsignore:
13717 * examples/appreader/Makefile.am:
13718 * examples/appreader/appreader.c:
13719 * examples/controller/.cvsignore:
13720 * examples/controller/Makefile.am:
13721 * examples/controller/audio-example.c:
13722 * examples/cutter/.cvsignore:
13723 * examples/cutter/Makefile.am:
13724 * examples/cutter/cutter.c:
13725 * examples/cutter/cutter.h:
13726 * examples/events/Makefile.am:
13727 * examples/events/seek.c:
13728 * examples/helloworld/.cvsignore:
13729 * examples/helloworld/Makefile.am:
13730 * examples/helloworld/helloworld.c:
13731 * examples/helloworld2/.cvsignore:
13732 * examples/helloworld2/Makefile.am:
13733 * examples/helloworld2/helloworld2.c:
13734 * examples/launch/.cvsignore:
13735 * examples/launch/Makefile.am:
13736 * examples/launch/mp3parselaunch.c:
13737 * examples/launch/mp3play:
13738 * examples/manual/.cvsignore:
13739 * examples/manual/Makefile.am:
13740 * examples/manual/extract.pl:
13741 * examples/metadata/Makefile.am:
13742 * examples/metadata/read-metadata.c:
13743 * examples/mixer/.cvsignore:
13744 * examples/mixer/Makefile.am:
13745 * examples/mixer/mixer.c:
13746 * examples/mixer/mixer.h:
13747 * examples/pingpong/.cvsignore:
13748 * examples/pingpong/Makefile.am:
13749 * examples/pingpong/pingpong.c:
13750 * examples/plugins/.cvsignore:
13751 * examples/plugins/Makefile.am:
13752 * examples/plugins/example.c:
13753 * examples/plugins/example.h:
13754 * examples/pwg/.cvsignore:
13755 * examples/pwg/Makefile.am:
13756 * examples/pwg/extract.pl:
13757 * examples/queue/.cvsignore:
13758 * examples/queue/Makefile.am:
13759 * examples/queue/queue.c:
13760 * examples/queue2/.cvsignore:
13761 * examples/queue2/Makefile.am:
13762 * examples/queue2/queue2.c:
13763 * examples/queue3/.cvsignore:
13764 * examples/queue3/Makefile.am:
13765 * examples/queue3/queue3.c:
13766 * examples/queue4/.cvsignore:
13767 * examples/queue4/Makefile.am:
13768 * examples/queue4/queue4.c:
13769 * examples/retag/.cvsignore:
13770 * examples/retag/Makefile.am:
13771 * examples/retag/retag.c:
13772 * examples/retag/transcode.c:
13773 * examples/thread/.cvsignore:
13774 * examples/thread/Makefile.am:
13775 * examples/thread/thread.c:
13776 * examples/typefind/.cvsignore:
13777 * examples/typefind/Makefile.am:
13778 * examples/typefind/typefind.c:
13779 * examples/xml/.cvsignore:
13780 * examples/xml/Makefile.am:
13781 * examples/xml/createxml.c:
13782 * examples/xml/runxml.c:
13783 * tests/Makefile.am:
13784 * tests/check/Makefile.am:
13785 * testsuite/.cvsignore:
13786 * testsuite/Makefile.am:
13788 * testsuite/caps/.cvsignore:
13789 * testsuite/caps/Makefile.am:
13790 * testsuite/caps/app_fixate.c:
13791 * testsuite/caps/audioscale.c:
13792 * testsuite/caps/caps.c:
13793 * testsuite/caps/caps.h:
13794 * testsuite/caps/caps_strings:
13795 * testsuite/caps/compatibility.c:
13796 * testsuite/caps/deserialize.c:
13797 * testsuite/caps/enumcaps.c:
13798 * testsuite/caps/eratosthenes.c:
13799 * testsuite/caps/filtercaps.c:
13800 * testsuite/caps/fixed.c:
13801 * testsuite/caps/fraction-convert.c:
13802 * testsuite/caps/fraction-multiply-and-zero.c:
13803 * testsuite/caps/intersect2.c:
13804 * testsuite/caps/intersection.c:
13805 * testsuite/caps/normalisation.c:
13806 * testsuite/caps/random.c:
13807 * testsuite/caps/renegotiate.c:
13808 * testsuite/caps/sets.c:
13809 * testsuite/caps/simplify.c:
13810 * testsuite/caps/string-conversions.c:
13811 * testsuite/caps/structure.c:
13812 * testsuite/caps/subtract.c:
13813 * testsuite/caps/union.c:
13814 * testsuite/debug/.cvsignore:
13815 * testsuite/debug/Makefile.am:
13816 * testsuite/debug/category.c:
13817 * testsuite/debug/commandline.c:
13818 * testsuite/debug/global.c:
13819 * testsuite/debug/output.c:
13820 * testsuite/debug/printf_extension.c:
13821 * testsuite/dlopen/.cvsignore:
13822 * testsuite/dlopen/Makefile.am:
13823 * testsuite/dlopen/dlopen_gst.c:
13824 * testsuite/dlopen/loadgst.c:
13825 * testsuite/elements/.cvsignore:
13826 * testsuite/elements/Makefile.am:
13827 * testsuite/elements/gst-inspect-check.in:
13828 * testsuite/elements/struct_i386.h:
13829 * testsuite/elements/struct_size.c:
13830 * testsuite/indexers/.cvsignore:
13831 * testsuite/indexers/Makefile.am:
13832 * testsuite/indexers/cache1.c:
13833 * testsuite/indexers/indexdump.c:
13834 * testsuite/parse/.cvsignore:
13835 * testsuite/parse/Makefile.am:
13836 * testsuite/parse/parse1.c:
13837 * testsuite/parse/parse2.c:
13838 * testsuite/plugin/.cvsignore:
13839 * testsuite/plugin/Makefile.am:
13840 * testsuite/plugin/README:
13841 * testsuite/plugin/dynamic.c:
13842 * testsuite/plugin/linked.c:
13843 * testsuite/plugin/loading.c:
13844 * testsuite/plugin/registry.c:
13845 * testsuite/plugin/static.c:
13846 * testsuite/plugin/static2.c:
13847 * testsuite/plugin/testplugin.c:
13848 * testsuite/plugin/testplugin2.c:
13849 * testsuite/plugin/testplugin2_s.c:
13850 * testsuite/plugin/testplugin_s.c:
13851 * testsuite/refcounting/.cvsignore:
13852 * testsuite/refcounting/Makefile.am:
13853 * testsuite/refcounting/bin.c:
13854 * testsuite/refcounting/element.c:
13855 * testsuite/refcounting/element_pad.c:
13856 * testsuite/refcounting/mainloop.c:
13857 * testsuite/refcounting/mem.c:
13858 * testsuite/refcounting/mem.h:
13859 * testsuite/refcounting/object.c:
13860 * testsuite/refcounting/pad.c:
13861 * testsuite/refcounting/sched.c:
13862 * testsuite/refcounting/thread.c:
13863 * testsuite/states/.cvsignore:
13864 * testsuite/states/Makefile.am:
13865 * testsuite/states/bin.c:
13866 * testsuite/states/locked.c:
13867 * testsuite/states/parent.c:
13868 * testsuite/threads/.cvsignore:
13869 * testsuite/threads/159566.c:
13870 * testsuite/threads/159852.c:
13871 * testsuite/threads/Makefile.am:
13872 * testsuite/threads/queue.c:
13873 * testsuite/threads/signals.c:
13874 * testsuite/threads/staticrec.c:
13875 * testsuite/threads/thread.c:
13876 * testsuite/threads/threadb.c:
13877 * testsuite/threads/threadc.c:
13878 * testsuite/threads/threadd.c:
13879 * testsuite/threads/threade.c:
13880 * testsuite/threads/threadf.c:
13881 * testsuite/threads/threadg.c:
13882 * testsuite/threads/threadh.c:
13883 * testsuite/threads/threadi.c:
13884 move all of these under tests
13886 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13889 * tests/Makefile.am:
13892 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13894 * docs/gst/gstreamer-sections.txt:
13895 * tests/sched/.cvsignore:
13896 * tests/sched/Makefile.am:
13897 * tests/sched/cases/(fs-fs).xml:
13898 * tests/sched/cases/(fs-i-fs).xml:
13899 * tests/sched/cases/(fs-i-i-fs).xml:
13900 * tests/sched/cases/(fs-i-q[i-fs]).xml:
13901 * tests/sched/dynamic-pipeline.c:
13902 * tests/sched/interrupt1.c:
13903 * tests/sched/interrupt2.c:
13904 * tests/sched/interrupt3.c:
13905 * tests/sched/runtestcases:
13906 * tests/sched/runxml.c:
13907 * tests/sched/sched-stress.c:
13908 * tests/sched/sort.c:
13909 * tests/sched/testcases:
13910 * tests/sched/testcases1.tc:
13911 * tests/seeking/.cvsignore:
13912 * tests/seeking/Makefile.am:
13913 * tests/seeking/seeking1.c:
13914 * tests/threadstate/.cvsignore:
13915 * tests/threadstate/Makefile.am:
13916 * tests/threadstate/test1.c:
13917 * tests/threadstate/test2.c:
13918 * tests/threadstate/threadstate1.c:
13919 * tests/threadstate/threadstate2.c:
13920 * tests/threadstate/threadstate3.c:
13921 * tests/threadstate/threadstate4.c:
13922 * tests/threadstate/threadstate5.c:
13923 remove obsolete tests
13925 * tests/bench-complexity.scm:
13926 * tests/bench-mass_elements.scm:
13927 * tests/complexity.c:
13928 * tests/complexity.gnuplot:
13929 * tests/instantiate/.cvsignore:
13930 * tests/instantiate/Makefile.am:
13931 * tests/instantiate/caps.c:
13932 * tests/mass_elements.c:
13933 * tests/network-clock-utils.scm:
13934 * tests/network-clock.scm:
13936 First pass at cleaning up tests/ dir before moving the rest
13937 Combined with CVS surgery
13939 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13942 queue has moved, update
13944 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13946 * docs/gst/gstreamer-sections.txt:
13947 remove double entries from the docs
13948 * gst/gst_private.h:
13949 * gst/gstinfo.c: (_gst_debug_init):
13950 remove the THREAD debug category
13954 * docs/gst/gstreamer.types:
13955 * plugins/elements/gstqueue.c: (gst_queue_get_type),
13956 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
13957 completely move queue and fix up debugging categories
13959 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13961 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
13962 make initialization portable, using LL is not
13964 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13966 * win32/common/gstconfig.h:
13969 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13971 * win32/common/libgstreamer.def:
13972 rename symbols; sort base section
13974 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13976 * gst/gstclock.c: (do_linear_regression):
13977 remove crack non-portable handrolled DEBUG macro
13979 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13981 * docs/random/release:
13983 * win32/common/gstenumtypes.c: (register_gst_object_flags),
13984 (gst_object_flags_get_type), (register_gst_bin_flags),
13985 (gst_bin_flags_get_type), (register_gst_buffer_flag),
13986 (gst_buffer_flag_get_type), (register_gst_bus_flags),
13987 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
13988 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
13989 (gst_caps_flags_get_type), (register_gst_clock_return),
13990 (gst_clock_return_get_type), (register_gst_clock_entry_type),
13991 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
13992 (gst_clock_flags_get_type), (register_gst_state),
13993 (gst_state_get_type), (register_gst_state_change_return),
13994 (gst_state_change_return_get_type), (register_gst_state_change),
13995 (gst_state_change_get_type), (register_gst_element_flags),
13996 (gst_element_flags_get_type), (register_gst_core_error),
13997 (gst_core_error_get_type), (register_gst_library_error),
13998 (gst_library_error_get_type), (register_gst_resource_error),
13999 (gst_resource_error_get_type), (register_gst_stream_error),
14000 (gst_stream_error_get_type), (register_gst_event_type_flags),
14001 (gst_event_type_flags_get_type), (register_gst_event_type),
14002 (gst_event_type_get_type), (register_gst_seek_type),
14003 (gst_seek_type_get_type), (register_gst_seek_flags),
14004 (gst_seek_flags_get_type), (register_gst_format),
14005 (gst_format_get_type), (register_gst_index_certainty),
14006 (gst_index_certainty_get_type), (register_gst_index_entry_type),
14007 (gst_index_entry_type_get_type),
14008 (register_gst_index_lookup_method),
14009 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
14010 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
14011 (gst_index_resolver_method_get_type), (register_gst_index_flags),
14012 (gst_index_flags_get_type), (register_gst_debug_level),
14013 (gst_debug_level_get_type), (register_gst_debug_color_flags),
14014 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
14015 (gst_iterator_result_get_type), (register_gst_iterator_item),
14016 (gst_iterator_item_get_type), (register_gst_message_type),
14017 (gst_message_type_get_type), (register_gst_mini_object_flags),
14018 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
14019 (gst_pad_link_return_get_type), (register_gst_flow_return),
14020 (gst_flow_return_get_type), (register_gst_activate_mode),
14021 (gst_activate_mode_get_type), (register_gst_pad_direction),
14022 (gst_pad_direction_get_type), (register_gst_pad_flags),
14023 (gst_pad_flags_get_type), (register_gst_pad_presence),
14024 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
14025 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
14026 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
14027 (gst_plugin_error_get_type), (register_gst_plugin_flags),
14028 (gst_plugin_flags_get_type), (register_gst_rank),
14029 (gst_rank_get_type), (register_gst_query_type),
14030 (gst_query_type_get_type), (register_gst_tag_merge_mode),
14031 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
14032 (gst_tag_flag_get_type), (register_gst_task_state),
14033 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
14034 (gst_alloc_trace_flags_get_type),
14035 (register_gst_type_find_probability),
14036 (gst_type_find_probability_get_type), (register_gst_uri_type),
14037 (gst_uri_type_get_type), (register_gst_parse_error),
14038 (gst_parse_error_get_type):
14039 * win32/common/gstenumtypes.h:
14040 * win32/common/gstversion.h:
14041 update visual studio generated files
14043 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14045 * win32/vs6/libgstbase.dsp:
14046 * win32/vs6/libgstelements.dsp:
14047 update project files for new locations
14049 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14054 reinstate and update
14059 * docs/random/LICENSE:
14062 2005-11-30 Edward Hervey <edward@fluendo.com>
14064 * gst/gsttypefind.c: (gst_type_find_register):
14065 * gst/gsttypefind.h:
14066 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
14067 (gst_type_find_factory_dispose):
14068 * gst/gsttypefindfactory.h:
14069 Fix memory leak in GstTypeFindFactory.
14071 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14074 * plugins/elements/Makefile.am:
14075 * plugins/elements/gstelements.c:
14076 * plugins/elements/gstqueue.c:
14077 move queue from core to the elements plugin
14079 2005-11-29 Andy Wingo <wingo@pobox.com>
14081 * libs/gst/base/gstbasetransform.h:
14082 * libs/gst/base/gstbasesrc.h:
14083 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
14085 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
14086 of pointers by which to pad very extensible base classes (like the
14087 ones in libs/gst/base).
14089 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14091 * docs/gst/gstreamer-docs.sgml:
14092 * docs/gst/gstreamer-sections.txt:
14093 * docs/libs/gstreamer-libs-docs.sgml:
14094 * docs/libs/gstreamer-libs-sections.txt:
14095 moving documentation from core to lib
14097 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14099 * check/Makefile.am:
14101 * docs/gst/Makefile.am:
14103 * gst/base/.cvsignore:
14104 * gst/base/Makefile.am:
14106 * gst/base/gstadapter.c:
14107 * gst/base/gstadapter.h:
14108 * gst/base/gstbasesink.c:
14109 * gst/base/gstbasesink.h:
14110 * gst/base/gstbasesrc.c:
14111 * gst/base/gstbasesrc.h:
14112 * gst/base/gstbasetransform.c:
14113 * gst/base/gstbasetransform.h:
14114 * gst/base/gstcollectpads.c:
14115 * gst/base/gstcollectpads.h:
14116 * gst/base/gstpushsrc.c:
14117 * gst/base/gstpushsrc.h:
14118 * gst/base/gsttypefindhelper.c:
14119 * gst/base/gsttypefindhelper.h:
14120 * gst/check/Makefile.am:
14121 * gst/check/gstcheck.c:
14122 * gst/check/gstcheck.h:
14123 * gst/net/Makefile.am:
14124 * gst/net/gstnet.h:
14125 * gst/net/gstnetclientclock.c:
14126 * gst/net/gstnetclientclock.h:
14127 * gst/net/gstnettimepacket.c:
14128 * gst/net/gstnettimepacket.h:
14129 * gst/net/gstnettimeprovider.c:
14130 * gst/net/gstnettimeprovider.h:
14131 * libs/gst/Makefile.am:
14132 * libs/gst/base/Makefile.am:
14133 * libs/gst/base/gstbasetransform.c:
14134 * libs/gst/check/Makefile.am:
14135 * plugins/elements/Makefile.am:
14137 CVS surgery + support to move base, check, and net out of gst
14140 2005-11-29 Andy Wingo <wingo@pobox.com>
14142 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
14144 * gst/gststructure.h (struct _GstStructure): Only one pointer of
14147 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
14149 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
14151 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
14153 * gst/gstobject.h: (struct _GstObject): Only one pointer of
14154 padding; reduces object size by about 30%. We don't expect
14155 anything else to go into gstobject.
14157 * gst/gstminiobject.h (struct _GstMiniObject)
14158 (struct _GstMiniObjectClass): Only one pointer of padding; the
14159 payload is only a pointer and two ints anyway. For the class there
14160 are only two methods as well.
14162 * gst/gstelement.h (struct _GstElementClass): Removed
14163 the state_changed signal callback, it is not used.
14165 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
14167 * docs/gst/gstreamer.types:
14168 fix includes, though they are a little dinky
14170 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14172 * check/Makefile.am:
14173 look in the right place for elements, a lot more chance of
14176 remove indexers and elements subdirs
14177 * plugins/Makefile.am:
14178 make indexers conditional
14180 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14184 * plugins/elements/Makefile.am:
14185 * plugins/elements/gstcapsfilter.c:
14186 * plugins/elements/gstfilesink.c:
14187 * plugins/elements/gstfilesrc.c:
14188 * plugins/elements/gstidentity.c:
14189 * plugins/indexers/Makefile.am:
14190 do CVS surgery and related build fixery to move elements
14191 and indexers in a new gstreamer/plugins directory, out of the
14194 2005-11-29 Andy Wingo <wingo@pobox.com>
14196 * check/Makefile.am:
14197 * pkgconfig/gstreamer-net-uninstalled.pc.in:
14198 * pkgconfig/gstreamer-net.pc.in:
14199 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
14202 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
14204 * tools/Makefile.am:
14205 * tools/gst-complete.1.in:
14206 * tools/gst-complete.c:
14207 * tools/gst-compprep.1.in:
14208 * tools/gst-compprep.c:
14209 removing -compprep and -complete
14211 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
14213 * gst/gstevent.c: (gst_event_new_new_segment),
14214 (gst_event_parse_new_segment):
14216 fix #320529 - clean up new_segment API and structure.
14217 Let's hope everyone was using the methods, and not the structure.
14219 2005-11-29 Edward Hervey <edward@fluendo.com>
14221 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14222 (gst_base_sink_event), (gst_base_sink_do_sync),
14223 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
14224 Properly handle non GST_FORMAT_TIME segment
14225 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
14226 Properly handle non GST_FORMAT_TIME segment
14227 * gst/gstsegment.c:
14228 This function is valid if the accumulator is 0 and the format
14229 is different from the requested format.
14231 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
14233 * docs/gst/gstreamer-sections.txt:
14234 Add gst_query_new_seeking and gst_query_parse_seeking to the
14237 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
14239 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
14240 Treat a pad alloc with new caps the same as if we were not
14241 negotiated, in order to allow a changing upstream output
14242 to produce a new format of data.
14244 2005-11-29 Edward Hervey <edward@fluendo.com>
14246 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
14247 (gst_base_transform_event), (gst_base_transform_eventfunc):
14248 The event virtual method is now properly implemented, with a default
14250 Sub classes should call the parent_class event method. They should
14251 return FALSE if they had a problem handling the given event, or don't
14252 want GstBaseTransform to send that even downstream
14253 * gst/elements/gstidentity.c: (gst_identity_class_init),
14254 (gst_identity_init), (gst_identity_event),
14255 (gst_identity_transform_ip), (gst_identity_set_property),
14256 (gst_identity_get_property):
14257 * gst/elements/gstidentity.h:
14258 Added the single-segment boolean property.
14259 If set to TRUE, it will output a single segment of data, starting from
14260 0, will eat up all incoming newsegment, and modify the timestamp of the
14261 buffers accordingly
14263 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
14265 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
14266 Don't ref NULL target pad (#322751). Improve docs.
14268 2005-11-29 Michael Smith <msmith@fluendo.com>
14270 * gst/gstregistryxml.c: (load_plugin):
14271 Don't crash if we failed to load a feature from a plugin.
14273 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
14275 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
14277 use more check API and less GLib API
14279 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
14282 don't run checks if we don't have check
14283 * common/check.mak:
14284 remove the registry when running make torture
14285 * docs/gst/gstreamer-sections.txt:
14286 remove second multiply
14287 * gst/gstqueue.c: (gst_queue_loop):
14288 fix a compile warning when disabling debug
14290 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
14293 Hey! Let's print the pad name if the pointer != NULL instead
14294 of when it == NULL :-)
14296 2005-11-28 Wim Taymans <wim@fluendo.com>
14298 * check/gst/gstutils.c: (GST_START_TEST):
14299 Updated check, add some scaling accuracy checking code.
14301 * gst/gstutils.c: (gst_util_div128_64),
14302 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
14303 (gst_util_uint64_scale_int):
14304 Fix 6 times faster division code. Optimize for common
14305 1/1 and less common X/1 cases.
14307 2005-11-28 Wim Taymans <wim@fluendo.com>
14309 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14312 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
14313 (do_linear_regression), (gst_clock_add_observation):
14315 Release lock when the clock cannot be slaved.
14316 Catch the case where the regression returned an invalid denominator.
14318 * gst/gstutils.c: (gst_util_div128_64_iterate),
14319 (gst_util_div128_64), (gst_util_uint64_scale_int64),
14320 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
14321 Add protentially more performant non-iterative 128/64 divide function
14322 that unfortunatly does not work yet.
14323 Shortcut the trivial 0/X = 0 case.
14324 Remove the warnings on overflow.
14326 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
14328 * gst/gstplugin.c: (gst_plugin_register_func):
14329 everything causing a plugin not to load should be at least a WARNING
14331 2005-11-28 Stefan Kost <ensonic@users.sf.net>
14333 * docs/random/ensonic/dparams.txt:
14334 some TODOs for the next dev cycle
14335 * libs/gst/controller/gstcontroller.c:
14336 (gst_controlled_property_set_interpolation_mode),
14337 (gst_controlled_property_new):
14338 * libs/gst/controller/gstcontroller.h:
14339 use base type to assign acccessor functions
14341 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
14343 * check/Makefile.am:
14344 Oops, that should have been top_srcdir
14346 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
14348 * check/Makefile.am:
14349 * check/elements/fdsrc.c: (GST_START_TEST):
14350 Use a cmdline define to specify the location of a file to use for
14351 testing, to avoid breaking distcheck.
14353 2005-11-28 Andy Wingo <wingo@pobox.com>
14355 * gst/gstpad.c (fixate_value): Use array functions for arrays.
14357 2005-11-28 Edward Hervey <edward@fluendo.com>
14359 * tools/gst-launch.c: (main):
14360 Clarify the output strings, makes it easier to translate.
14363 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
14366 don't try and build net if we don't even have <sys/socket.h>
14368 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
14370 * check/Makefile.am:
14371 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
14372 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
14373 Add tests for fdsrc seekability
14375 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
14376 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
14377 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
14378 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
14379 * gst/elements/gstfdsrc.h:
14380 fdsrc should not be a 'live' source.
14381 Implement seeking on seekable fd's.
14383 * gst/gstquery.c: (gst_query_new_seeking),
14384 (gst_query_parse_seeking):
14386 Implement SEEKING query functions:
14387 *_new_seeking and *_parse_seeking
14389 2005-11-27 Stefan Kost <ensonic@users.sf.net>
14391 * gst/gstelement.c: (gst_element_dispose):
14394 * gst/gstiterator.c:
14395 * gst/gststructure.c:
14398 * libs/gst/controller/gstcontroller.c:
14399 (gst_controlled_property_set_interpolation_mode):
14400 * libs/gst/controller/gstcontroller.h:
14401 * libs/gst/controller/gstinterpolation.c:
14402 (interpolate_none_get_enum_value_array):
14403 support controlling enums
14405 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
14408 Improve documentation for gst_value_union().
14411 Change return value for union, intersect and subtract functions
14412 from gint to gboolean.
14414 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
14416 * gst/gstvalue.c: (gst_value_serialize_any_list),
14417 (gst_value_transform_any_list_string),
14418 (gst_value_deserialize_list), (gst_value_deserialize_array),
14419 (gst_value_set_int_range), (gst_value_deserialize_int_range),
14420 (gst_value_set_double_range), (gst_value_deserialize_double_range),
14421 (gst_value_set_fraction_range_full),
14422 (gst_value_deserialize_fraction_range),
14423 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
14424 (gst_value_deserialize_boolean),
14425 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
14426 (gst_value_serialize_float), (gst_value_deserialize_float),
14427 (gst_string_wrap), (gst_value_deserialize_string),
14428 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
14429 (gst_value_union_int_range_int_range),
14430 (gst_value_intersect_int_range_int_range),
14431 (gst_value_intersect_double_range_double_range),
14432 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
14433 (gst_value_subtract_int_range_int_range),
14434 (gst_value_subtract_double_double_range),
14435 (gst_value_subtract_double_range_double_range),
14436 (gst_value_deserialize_fraction):
14438 Use gint, gdouble and gchar in our API instead of int, double and
14439 char (and make usage in gstvalue.c more consistent).
14441 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
14443 * check/Makefile.am:
14444 * libs/gst/controller/Makefile.am:
14445 * libs/gst/dataprotocol/Makefile.am:
14446 fix up Makefile.am and remove GST_ENABLE_NEW
14448 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
14452 * gst/base/Makefile.am:
14453 * gst/check/Makefile.am:
14454 * gst/elements/Makefile.am:
14455 * gst/net/Makefile.am:
14456 update LDFLAGS use some more
14458 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
14460 * common/m4/gst-doc.m4:
14463 2005-11-26 Edward Hervey <edward@fluendo.com>
14465 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
14466 This shouldn't issue a g_warning since it returns NULL if it
14467 couldn't find the plugin, and all functions using this behave
14468 properly on a NULL return. Switching to a GST_WARNING.
14470 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
14472 * gst/gstbin.c: (gst_bin_handle_message_func):
14473 Don't leak clock messages.
14475 2005-11-25 Wim Taymans <wim@fluendo.com>
14477 * gst/gstutils.c: (gst_util_uint64_scale_int64),
14478 (gst_util_uint64_scale_int):
14479 Optimisations, remove unneeded vars.
14481 2005-11-25 Wim Taymans <wim@fluendo.com>
14483 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14484 Added more checks for the high precision uint64 cases.
14486 * gst/gstutils.c: (gst_util_uint64_scale_int64),
14487 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
14488 Implement high precision (guint64 * guint64) / guint64.
14490 2005-11-24 Wim Taymans <wim@fluendo.com>
14492 * gst/base/gstbasesrc.c: (gst_base_src_query):
14493 Fix wrong percentage query.
14495 * gst/gstutils.c: (gst_util_uint64_scale),
14496 (gst_util_uint64_scale_int):
14497 Add some more common cases that can be handled
14498 efficiently to _scale.
14500 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
14502 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
14503 (gst_mini_object_suite):
14504 don't use check calls from threads; check probably isn't
14505 threadsafe and using a lock to make it threadsafe would
14506 defeat the purpose of this check
14507 * gst/check/gstcheck.c:
14508 * gst/check/gstcheck.h:
14509 use GST_DEBUG some more
14511 2005-11-24 Wim Taymans <wim@fluendo.com>
14513 * gst/gstutils.c: (gst_util_uint64_scale),
14514 (gst_util_uint64_scale_int):
14515 Chain trivial case to _scale_int.
14517 2005-11-24 Wim Taymans <wim@fluendo.com>
14519 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14520 Added test for scaling.
14525 * gst/gstutils.c: (gst_util_uint64_scale_int):
14526 Implemented high precision scaling code.
14528 2005-11-24 Stefan Kost <ensonic@users.sf.net>
14531 do not crash on pad==NULL
14533 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
14535 Patch by: Stefan Kost
14537 * common/gtk-doc.mak:
14538 * docs/gst/Makefile.am:
14539 * docs/libs/Makefile.am:
14540 Fix distcheck issues for the libraries docs build
14543 2005-11-24 Michael Smith <msmith@fluendo.com>
14545 * docs/manual/basics-helloworld.xml:
14546 Fix bug #315027: memory leak in example code in docs.
14548 2005-11-24 Michael Smith <msmith@fluendo.com>
14550 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14551 Unlock the PREROLL_LOCK in a failure case.
14553 2005-11-24 Wim Taymans <wim@fluendo.com>
14555 * docs/gst/gstreamer-sections.txt:
14556 * gst/base/gstadapter.h:
14557 * gst/base/gstbasesink.h:
14558 * gst/base/gstbasesrc.h:
14559 * gst/base/gstbasetransform.h:
14560 * gst/base/gstpushsrc.h:
14561 * gst/elements/gstfakesink.h:
14562 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
14563 * gst/elements/gstfakesrc.h:
14564 * gst/elements/gstfilesink.h:
14565 * gst/elements/gstfilesrc.h:
14568 * gst/gstbuffer.c: (_gst_buffer_copy):
14571 * gst/gstchildproxy.c:
14573 * gst/gstelement.c:
14574 * gst/gstelementfactory.c:
14575 * gst/gstelementfactory.h:
14577 * gst/gstghostpad.h:
14579 * gst/gstinterface.h:
14580 * gst/gstminiobject.c:
14581 * gst/gstminiobject.h:
14584 * gst/gstpadtemplate.h:
14585 * gst/gstpipeline.h:
14586 * gst/gstpluginfeature.h:
14589 * gst/gsttaglist.c:
14590 * gst/gsttaglist.h:
14591 * gst/gsttagsetter.c:
14592 * gst/gsttagsetter.h:
14595 * gst/gsttypefind.h:
14598 * gst/net/gstnetclientclock.c:
14599 * gst/net/gstnetclientclock.h:
14600 * gst/net/gstnettimepacket.c:
14601 * gst/net/gstnettimeprovider.c:
14602 * gst/net/gstnettimeprovider.h:
14605 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
14607 * configure.ac: back to HEAD
14609 === release 0.9.6 ===
14611 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
14614 releasing 0.9.6, "Always On Time"
14616 2005-11-23 Wim Taymans <wim@fluendo.com>
14618 * docs/gst/gstreamer-sections.txt:
14619 * gst/glib-compat.c:
14620 * gst/gsttagsetter.c:
14622 * gst/net/gstnetclientclock.c:
14623 * gst/net/gstnettimepacket.h:
14626 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
14628 * docs/faq/using.xml:
14629 * docs/libs/tmpl/gstcontrol.sgml:
14630 * docs/manual/advanced-dparams.xml:
14631 * docs/manual/appendix-checklist.xml:
14632 * docs/manual/basics-elements.xml:
14633 * docs/pwg/other-source.xml:
14634 * docs/random/moving-plugins:
14636 * tools/gst-launch.1.in:
14637 remove mentions of sinesrc
14639 2005-11-23 Michael Smith <msmith@fluendo.com>
14641 * docs/gst/gstreamer-sections.txt:
14642 Update for new API and API changes.
14644 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
14646 Documentation typo fix.
14647 * gst/net/gstnettimepacket.c:
14648 Documentation fixes for arguments.
14650 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
14652 * gst/gststructure.c: (gst_structure_get_fraction),
14653 (gst_structure_parse_value),
14654 (gst_structure_fixate_field_nearest_fraction):
14655 * gst/gststructure.h:
14656 * gst/gstutils.c: (gst_util_uint64_scale_int):
14658 * scripts/update-funcnames:
14660 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
14661 Make gst_structure_fixate_field_nearest_fraction take a numerator
14662 and denominator argument instead of a GValue
14663 add gst_structure_get_fraction helper function.
14665 2005-11-23 Wim Taymans <wim@fluendo.com>
14667 * docs/design/part-TODO.txt:
14670 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
14671 * gst/net/gstnetclientclock.h:
14672 Use parent fields for timeout and window_size.
14674 2005-11-23 Andy Wingo <wingo@pobox.com>
14676 * check/net/gstnetclientclock.c (test_functioning): Adjust to
14677 rate_num/rate_denom change.
14679 * gst/net/gstnetclientclock.c
14680 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
14681 OBJECT_LOCK. Don't call add_observation with the lock.
14683 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
14685 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
14687 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
14688 deal with rate as a fraction whose numerator and denominator are
14689 GstClockTime values.
14690 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
14691 master; the other fields are protected by the SLAVE_LOCK.
14692 (do_linear_regression): Note that this must be called with the
14694 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
14695 OBJECT_LOCK. Call set_calibration instead of touching the
14696 variables directly.
14697 (gst_clock_set_property, gst_clock_get_property): Protect
14698 master/slave parameters with the SLAVE_LOCK.
14700 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
14701 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
14702 note that all of the instance variables that add_observation and
14703 the set_master functions use are protected by that lock and not
14705 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
14707 * gst/gstclock.c (gst_clock_add_observation): No longer requires
14708 the caller to take the object lock.
14710 2005-11-23 Wim Taymans <wim@fluendo.com>
14712 * gst/gsterror.c: (_gst_core_errors_init):
14714 Add error for clock stuff.
14716 * gst/gstpipeline.c: (gst_pipeline_change_state),
14717 (gst_pipeline_set_clock):
14718 Post clock error when clock cannot be used in a pipeline.
14720 2005-11-23 Stefan Kost <ensonic@users.sf.net>
14722 * docs/gst/gstreamer-sections.txt:
14723 make two symbols from gstinfo private for the docs
14724 * gst/base/gstcollectpads.h:
14726 fix doc typos, update docs
14728 2005-11-22 Wim Taymans <wim@fluendo.com>
14730 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
14731 (gst_base_sink_wait), (gst_base_sink_do_sync),
14732 (gst_base_sink_handle_event):
14733 * gst/base/gstbasesink.h:
14734 No need to store the clock, the parent element class already
14737 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
14738 Updates for clock_set returning a gboolean
14740 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
14741 (gst_clock_id_wait_async), (gst_clock_class_init),
14742 (gst_clock_init), (gst_clock_finalize),
14743 (gst_clock_get_internal_time), (gst_clock_get_time),
14744 (gst_clock_slave_callback), (gst_clock_set_master),
14745 (gst_clock_get_master), (do_linear_regression),
14746 (gst_clock_add_observation), (gst_clock_set_property),
14747 (gst_clock_get_property):
14749 Implement master/slave. When setting a clock as a slave, a
14750 periodic timeout is scheduled to sample master and slave times.
14751 Then the slave clock is recalibrated to match offset and rate
14752 of the master clock.
14753 Update logging a bit.
14754 Add flag so that a clock can state that is cannot be slaved to
14757 * gst/gstelement.c: (gst_element_set_clock):
14758 * gst/gstelement.h:
14759 The set clock returns a gboolean for when an element cannot
14760 deal with the selected clock in the pipeline.
14762 * gst/gstpipeline.c: (gst_pipeline_change_state),
14763 (gst_pipeline_set_clock):
14764 * gst/gstpipeline.h:
14765 Handle the case where the selected clock cannot be set on
14768 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
14769 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
14770 (gst_net_client_clock_set_property),
14771 (gst_net_client_clock_get_property),
14772 (gst_net_client_clock_observe_times):
14773 * gst/net/gstnetclientclock.h:
14774 Use regression code in GstClock parent, remove duplicated
14777 2005-11-22 Michael Smith <msmith@fluendo.com>
14779 * gst/gstutils.c: (gst_util_clock_time_scale):
14781 * docs/gst/gstreamer-sections.txt:
14782 Rename method to have extra underscore.
14784 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
14786 * gst/elements/Makefile.am:
14787 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
14788 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
14789 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
14790 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
14791 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
14792 * gst/elements/gstfakesrc.h:
14793 * gst/gstqueue.c: (queue_leaky_get_type):
14794 correctly fix GEnumValues so that nick is the short lowercase
14796 * tools/gst-inspect.c: (print_element_properties_info):
14797 also show the nick, since it's useful to use from parse_launch
14801 2005-11-22 Michael Smith <msmith@fluendo.com>
14803 * gst/gstutils.c: (gst_util_clocktime_scale):
14805 * docs/gst/gstreamer-sections.txt:
14806 Add util method for scaling a clocktime by a fraction. Useful
14807 implementation is left as an exercise for the reader.
14809 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14811 * gst/gstvalue.c: (gst_value_collect_fraction_range):
14812 If needed, allocate storage in the destination value during
14815 2005-11-22 Edward Hervey <edward@fluendo.com>
14817 * docs/gst/gstreamer-sections.txt:
14820 * gst/gsturitype.c:
14821 * gst/gsturitype.h:
14822 * gst/gstutils.c: (gst_util_set_object_arg):
14823 * tools/gst-compprep.c: (main):
14824 * tools/gst-inspect.c: (print_element_properties_info):
14825 Removed GstURI, closes bug #321061
14827 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14829 * check/gst/gststructure.c: (GST_START_TEST):
14830 * gst/gststructure.c: (gst_structure_parse_value):
14831 Oops, broke automatic string type parsing.
14832 Add a test to catch it in future.
14834 2005-11-22 Andy Wingo <wingo@pobox.com>
14836 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
14837 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
14838 Actually rename the function implementations. Grr.
14840 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14842 * check/gst/capslist.h:
14844 * check/gst/gststructure.c: (GST_START_TEST),
14845 (gst_structure_suite):
14846 Test automatic value type detection in gst_structure_from_string.
14847 * gst/gststructure.c: (gst_structure_parse_value):
14848 Add fraction as a type we try and guess automatically in
14849 caps/structure strings.
14851 2005-11-22 Andy Wingo <wingo@pobox.com>
14853 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
14855 * gst/gsttagsetter.h:
14856 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
14857 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
14858 (gst_tag_setter_add_tag_valist)
14859 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
14860 _add_values, _add_valist, and _add_valist_values. Since this is an
14861 interface the function suffixes should be more explicit so
14862 language binding don't end up with element.add_valist ->
14863 gst_tag_setter_add_valist, for example. Fixes #322069.
14865 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14867 * check/gst/gstcaps.c: (GST_START_TEST):
14868 Extend caps string tests to check that a caps to string
14869 conversion is reversible and produces the same caps.
14871 * gst/gststructure.c: (gst_structure_value_get_generic_type):
14872 Output "fraction" as the generic type fraction range, so caps
14873 serialisation and deserialisation works.
14874 * check/gst/capslist.h:
14875 * gst/gstvalue.c: (gst_value_deserialize_fraction):
14876 Support 'MIN' and 'MAX' for deserialising fractions.
14878 2005-11-22 Andy Wingo <wingo@pobox.com>
14880 * gst/gstevent.h (gst_event_new_new_segment)
14881 (gst_event_parse_new_segment, gst_event_new_buffer_size)
14882 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
14883 Renamed from *_newsegment, *_buffersize, *_notarget.
14885 * scripts/update-funcnames: New script, performs the changes
14888 2005-11-22 Wim Taymans <wim@fluendo.com>
14890 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14891 Make sure the GstFlowReturn is returned.
14893 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
14894 (gst_bus_add_signal_watch):
14896 add gst_bus_add_signal_watch_full.
14898 * gst/gstplugin.c: (gst_plugin_load_file):
14899 Small style cleanup.
14901 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14903 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
14904 Block the fakesrc srcpad when we send an event, to avoid
14905 contention on the stream_lock causing random test failures.
14907 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14909 * check/gst/gstvalue.c: (GST_START_TEST):
14910 * gst/gstvalue.c: (gst_value_fraction_subtract):
14913 2005-11-22 Stefan Kost <ensonic@users.sf.net>
14916 include "gstchildproxy.h"
14917 * gst/gstchildproxy.h:
14918 * libs/gst/controller/gstcontroller.h:
14919 use G_GNUC_NULL_TERMINATED
14921 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14923 * check/gst/capslist.h:
14924 * check/gst/gstcaps.c: (GST_START_TEST):
14925 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14926 * gst/gststructure.c: (gst_structure_parse_range),
14927 (gst_structure_fixate_field_nearest_fraction):
14928 * gst/gststructure.h:
14929 * gst/gstvalue.c: (gst_value_init_fraction_range),
14930 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
14931 (gst_value_collect_fraction_range),
14932 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
14933 (gst_value_set_fraction_range_full),
14934 (gst_value_get_fraction_range_min),
14935 (gst_value_get_fraction_range_max),
14936 (gst_value_serialize_fraction_range),
14937 (gst_value_transform_fraction_range_string),
14938 (gst_value_compare_fraction_range),
14939 (gst_value_deserialize_fraction_range),
14940 (gst_value_intersect_fraction_fraction_range),
14941 (gst_value_intersect_fraction_range_fraction_range),
14942 (gst_value_subtract_fraction_fraction_range),
14943 (gst_value_subtract_fraction_range_fraction),
14944 (gst_value_subtract_fraction_range_fraction_range),
14945 (gst_value_collect_fraction), (gst_value_fraction_multiply),
14946 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
14947 (gst_value_transform_string_fraction), (_gst_value_initialize):
14949 Implement fraction ranges and extend GstFraction to support
14950 arithmetic subtraction, as well as deserialization from integer
14951 strings such as "100"
14952 Add a testsuite as for int and double range set operations
14954 2005-11-21 Andy Wingo <wingo@pobox.com>
14956 * gst/gsttaglist.h:
14958 * gst/gststructure.h: Add glib-compat.h.
14960 2005-11-21 Wim Taymans <wim@fluendo.com>
14962 * gst/gstbin.c: (gst_bin_change_state_func):
14965 2005-11-21 Wim Taymans <wim@fluendo.com>
14967 * gst/gstsegment.h:
14968 And add a nice define too.
14970 2005-11-21 Wim Taymans <wim@fluendo.com>
14972 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
14973 (gst_segment_new), (gst_segment_free), (gst_segment_init),
14974 (gst_segment_set_duration), (gst_segment_set_last_stop),
14975 (gst_segment_set_seek), (gst_segment_set_newsegment),
14976 (gst_segment_to_stream_time), (gst_segment_to_running_time),
14977 (gst_segment_clip):
14978 * gst/gstsegment.h:
14979 Make binding friendly.
14981 2005-11-21 Andy Wingo <wingo@pobox.com>
14983 * gst/gsttagsetter.h:
14984 * gst/gsttaglist.h:
14985 * gst/gststructure.h:
14987 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
14990 * gst/gsterror.c (_gst_core_errors_init):
14991 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
14994 * gst/Makefile.am (gst_headers): Add glib-compat.h.
14995 (noinst_HEADERS): noinst the -private.
14997 2005-11-21 Michael Smith <msmith@fluendo.com>
15000 * gst/gstregistry.h:
15001 Remove unimplemented declarations for which we can see no sensible
15004 2005-11-21 Andy Wingo <wingo@pobox.com>
15006 * gst/gst.h: Include glib-compat.h.
15008 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
15010 * gst/glib-compat.c: Include the public and the private header.
15012 * gst/glib-compat-private.h: Copied here from glib-compat.h.
15016 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
15018 * check/gst/gstevent.c (create_custom_events): Check that
15019 FLUSH_STOP is serialized.
15021 * check/elements/identity.c (event_func):
15022 * check/elements/fakesrc.c (event_func): No stream lock, the core
15025 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
15026 stream lock taking, yay.
15028 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
15029 ensure that core takes the stream lock.
15031 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
15034 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
15035 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
15036 it already. For the flush start we do take it though so we get the
15037 right preroll state change messages.
15039 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
15040 the stream lock here, the core does it for us.
15042 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
15043 GST_STREAM_GET_LOCK.
15044 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
15045 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
15046 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
15047 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
15048 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
15049 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
15051 * gst/gstpad.c: Update for stream lock name change.
15053 * gst/base/gstbasesink.c: Update for preroll lock name change.
15055 2005-11-21 Wim Taymans <wim@fluendo.com>
15057 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
15058 (gst_clock_get_master):
15060 * gst/gstsystemclock.c: (gst_system_clock_init):
15061 Convert Clock flags to object flags.
15062 Added methods to manage master/slave clocks.
15064 2005-11-21 Wim Taymans <wim@fluendo.com>
15066 * check/gst/gstsegment.c: (GST_START_TEST):
15067 * docs/design/part-TODO.txt:
15068 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15069 (gst_base_sink_event), (gst_base_sink_do_sync),
15070 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
15071 (gst_base_sink_query), (gst_base_sink_change_state):
15072 * gst/base/gstbasesink.h:
15073 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
15074 (gst_base_src_default_newsegment),
15075 (gst_base_src_configure_segment), (gst_base_src_do_seek),
15076 (gst_base_src_get_range), (gst_base_src_loop),
15077 (gst_base_src_change_state):
15078 * gst/base/gstbasesrc.h:
15079 * gst/base/gstbasetransform.c:
15080 (gst_base_transform_prepare_output_buf),
15081 (gst_base_transform_event), (gst_base_transform_change_state):
15082 * gst/base/gstbasetransform.h:
15083 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
15084 (gst_collect_pads_event):
15085 * gst/base/gstcollectpads.h:
15086 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
15087 (gst_fake_src_create):
15088 * gst/elements/gstfakesrc.h:
15089 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
15090 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
15091 (gst_segment_set_last_stop), (gst_segment_set_seek),
15092 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
15093 (gst_segment_to_running_time), (gst_segment_clip):
15094 * gst/gstsegment.h:
15095 More segment updates, replace code in plugins with segment
15098 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
15100 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
15101 Don't ignore sscanf results
15103 2005-11-21 Andy Wingo <wingo@pobox.com>
15105 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
15108 * *.c: Ran scripts/update-macros. Oh yes.
15110 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
15111 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
15114 * scripts/update-macros: New script. Run it on your files to
15115 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
15118 2005-11-21 Stefan Kost <ensonic@users.sf.net>
15120 * docs/gst/Makefile.am:
15121 * docs/gst/gstreamer-docs.sgml:
15122 * docs/gst/gstreamer-sections.txt:
15123 * docs/gst/gstreamer.types:
15125 more docs fixes, add new api to the docs
15127 2005-11-21 Andy Wingo <wingo@pobox.com>
15129 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
15130 state_broadcast call.
15132 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
15134 2005-11-21 Julien MOUTTE <julien@moutte.net>
15136 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
15137 function calls for arrays.
15139 2005-11-21 Stefan Kost <ensonic@users.sf.net>
15141 * docs/random/ensonic/media-device-daemon.txt:
15142 wild idea, can this be done?
15143 * docs/gst/gstreamer-sections.txt:
15148 * gst/gstpluginfeature.c:
15152 doc fixes and additions
15154 2005-11-21 Andy Wingo <wingo@pobox.com>
15156 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
15157 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
15158 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
15159 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
15160 private to the basesrc implementation.
15162 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
15163 behalf of event function if necessary. It should no longer be
15164 necessary to take the stream lock in pad's event functions. Fixes
15167 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
15168 * docs/gst/gstreamer-sections.txt:
15169 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
15170 (gst_structure_fixate_field_nearest_double),
15171 (gst_structure_fixate_field_boolean):
15172 * gst/gststructure.h:
15173 * win32/common/libgstreamer.def:
15174 * win32/gstreamer.def:
15176 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
15179 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
15181 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
15182 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
15183 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
15184 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
15185 (gst_fdsrc_uri_handler_init):
15186 * gst/elements/gstfdsrc.h:
15187 Port fd:// URI handler from 0.8 to fdsrc
15189 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
15191 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
15192 (gst_value_serialize_fourcc):
15194 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
15195 consistent with our other format defines (#320324).
15197 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
15199 * gst/gstvalue.c: (gst_value_is_fixed):
15200 Revert previous commit. Value lists are by definition
15201 not fixed, as they are a list of possible values.
15203 2005-11-21 Andy Wingo <wingo@pobox.com>
15205 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
15206 during the stable series if we need it. Fixes #319178.
15208 * gst/gstevent.c (gst_event_new_filler): Removed.
15210 * check/gst/gstevent.c: Update comment about filler events.
15212 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
15214 * gst/gstvalue.c: (gst_value_is_fixed):
15215 Should handle both value arrays and value lists.
15217 2005-11-21 Andy Wingo <wingo@pobox.com>
15219 patch by: Alessandro Dessina <alessandro nnva org>
15221 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
15222 functions to access arrays. Fixes #321962.
15224 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
15226 * docs/gst/gstreamer.types:
15227 gst_collectpads_get_type => gst_collect_pads_get_type.
15229 * gst/base/gstbasetransform.c:
15230 Remove unused SIGNAL_HANDOFF enum.
15232 2005-11-21 Andy Wingo <wingo@pobox.com>
15234 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
15235 the event type (upstream, downstream, serialized). Renamed
15236 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
15237 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
15238 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
15240 * gst/gstevent.c: Update for new CUSTOM event names.
15242 * check/gst/gstevent.c: Update check for new CUSTOM event names.
15245 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
15248 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
15250 * docs/gst/gstreamer-sections.txt:
15251 * win32/common/libgstbase.def:
15252 * win32/libgstbase.def:
15253 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15254 (gst_collect_pads_class_init), (gst_collect_pads_init),
15255 (gst_collect_pads_finalize), (gst_collect_pads_new),
15256 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
15257 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
15258 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
15259 (gst_collect_pads_start), (gst_collect_pads_stop),
15260 (gst_collect_pads_peek), (gst_collect_pads_pop),
15261 (gst_collect_pads_available), (gst_collect_pads_read),
15262 (gst_collect_pads_flush), (gst_collect_pads_event),
15263 (gst_collect_pads_chain):
15264 * gst/base/gstcollectpads.h:
15265 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
15266 unimplemented functions as unimplemented. Add padding to
15267 GstCollectData. (#320766, #320423)
15269 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
15271 * gst/gstmessage.c:
15272 Improve docs for DURATION message (usage of duration parameter)
15275 2005-11-20 Wim Taymans <wim@fluendo.com>
15277 * check/Makefile.am:
15278 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
15282 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
15283 (gst_segment_set_seek), (gst_segment_set_newsegment),
15284 (gst_segment_to_stream_time), (gst_segment_to_running_time),
15285 (gst_segment_clip):
15286 * gst/gstsegment.h:
15287 Added segment helper structure and methods. Not fully implemented
15289 Added segment check.
15291 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
15293 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15294 Add a deserialisation test for fractions
15295 * examples/metadata/read-metadata.c: (message_loop),
15296 (make_pipeline), (main):
15297 Fix up metadata reading sample.
15298 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15300 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15301 Don't try and fixate empty caps
15302 * gst/gst_private.h:
15303 Wrap in G_BEGIN_DECLS/G_END_DECLS
15304 * gst/gstvalue.c: (gst_value_collect_fraction),
15305 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
15306 (gst_value_transform_string_fraction),
15307 (gst_value_compare_fraction):
15308 Add some extra guards to ensure that we don't end up
15309 with an invalid denominator of 0 in a gstfraction and
15310 that fractions always get reduced.
15312 2005-11-20 Wim Taymans <wim@fluendo.com>
15314 * docs/gst/gstreamer-sections.txt:
15316 * gst/gstelement.c:
15325 2005-11-20 Wim Taymans <wim@fluendo.com>
15327 * docs/design/part-TODO.txt:
15329 Make a proper enum of the flag.
15331 2005-11-19 Wim Taymans <wim@fluendo.com>
15333 * docs/design/part-TODO.txt:
15334 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
15335 (gst_format_to_quark), (gst_format_register):
15337 * gst/gstquery.c: (_gst_query_initialize),
15338 (gst_query_type_get_name), (gst_query_type_to_quark),
15339 (gst_query_type_register):
15341 Add type to quark and type to string conversions.
15343 2005-11-19 Andy Wingo <wingo@pobox.com>
15345 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
15348 2005-11-19 Wim Taymans <wim@fluendo.com>
15350 * docs/design/part-TODO.txt:
15351 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
15352 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
15353 (gst_bin_handle_message_func):
15355 Make message handling overridable.
15357 2005-11-19 Andy Wingo <wingo@pobox.com>
15359 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
15362 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
15364 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
15365 is a GstClockTime. Fixes #321710.
15367 * gst/gstclock.h (GstClock): Remove offset property. Add
15368 internal_calibration and external_calibration. Fix padding. Pad
15369 also by GstClockTime so we don't run into problems.
15371 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
15372 (gst_clock_get_rate_offset): Remove.
15373 (gst_clock_set_time_adjust): Remove. Fixes #321712.
15376 * gst/gstutils.c (g_static_rec_cond_wait)
15377 (g_static_rec_cond_timed_wait): Removed, no longer needed.
15379 * gst/gstbin.c: Remove terrible continue_state prototype.
15381 * gst/gstelement.h (gst_element_continue_state): Make public.
15383 * gst/gstelement.h:
15384 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
15385 by continue_state. Fixes #319389.
15387 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
15388 Really fixes #168438. However I don't see anywhere where the
15389 filter function is called... stupid GStreamer...
15391 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
15392 don't have a dispose function, so it won't get called when the
15393 object is unreffed, but oh well!
15395 * gst/gstindex.c (gst_index_set_filter_full): New API function,
15396 allows a destroy function to be set so user_data can be freed.
15398 (gst_index_set_filter): Call gst_index_set_filter_full.
15400 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
15402 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
15403 string should produce an error, given the lack of a way to
15404 represent NULL strings. Fixes #165650.
15407 * gst/gstvalue.c (gst_value_array_append_value)
15408 (gst_value_array_prepend_value, gst_value_array_get_size)
15409 (gst_value_array_get_value): New API, copied from
15410 gst_value_list_*, only operates on arrays.
15411 (gst_value_list_append_value, gst_value_list_prepend_value)
15412 (gst_value_list_concat, gst_value_list_get_size)
15413 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
15415 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
15416 init_list, because it works on both.
15417 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
15418 (gst_value_copy_list_or_array): Renamed from copy_list.
15419 (gst_value_free_list_or_array): Renamed from free_list.
15420 (gst_value_collect_list_or_array): Renamed from collect_list.
15421 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
15422 (gst_value_list_or_array_peek_pointer): Renamed from
15424 (_gst_value_array_value_table, _gst_value_list_value_table):
15425 Update value table functions.
15426 (gst_value_compare_list_or_array): Renamed from compare_list.
15428 * gsttaglist.h: Whoops, foreach function returns void. Also fix
15431 * gst/gsttaglist.c:
15432 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
15433 GstTagList*. Fixes #143472.
15435 * gst/gststructure.h: Clarify what the foreach/map functions can
15436 or can't do to their arguments.
15438 2005-11-18 Wim Taymans <wim@fluendo.com>
15440 * gst/gstclock.c: (gst_clock_set_calibration),
15441 (gst_clock_get_calibration):
15443 Calibration can be set with internal time equal to current
15446 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
15452 2005-11-18 Andy Wingo <wingo@pobox.com>
15455 * pkgconfig/gstreamer-net.pc.in:
15456 * pkgconfig/gstreamer-net-uninstalled.pc.in:
15457 * pkgconfig/Makefile.am: Add net pkgconfig files.
15459 2005-11-18 Stefan Kost <ensonic@users.sf.net>
15462 * gst/gstghostpad.c:
15468 2005-11-18 Andy Wingo <wingo@pobox.com>
15470 * gst/net/gstnetclientclock.c: Turn off debugging.
15472 * check/net/gstnetclientclock.c (test_functioning): Assert that the
15473 times connverge somewhat. Can't make a real test.
15475 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
15476 integer arithmetic. Return the minimum of the domain, which can be
15477 set as "internal" for gst_clock_set_calibration.
15478 (gst_net_client_clock_observe_times): Call _set_calibration.
15479 (gst_net_client_clock_new): Call _set_calibration instead of
15482 * check/net/gstnetclientclock.c (test_functioning): Use the right
15486 * gst/gstclock.c (gst_clock_get_calibration)
15487 (gst_clock_set_calibration): New functions, obsolete the ones I
15488 added yesterday. Doh. Precision issues mean we have to extrapolate
15489 from a point in the more recent past than 1970.
15490 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
15492 (gst_clock_adjust_unlocked): Use the right calibration data.
15494 2005-11-18 Edward Hervey <edward@fluendo.com>
15496 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
15497 Also reset the ->current_* values in READY->PAUSED
15499 2005-11-18 Andy Wingo <wingo@pobox.com>
15501 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
15502 Whoops, check the right fd. Also add some debugging.
15503 (gst_net_client_clock_observe_times): Adjust for int64 offset.
15504 (do_linear_regression): Add a crapload of debugging. Subtract off
15505 the minimum values from the input series to discard unneeded bits.
15506 Use only int arithmetic. There is still double arithmetic when
15507 calculating the intercept that needs fixing. Return boolean to
15508 indicate success; FALSE would mean the domain or range is too
15509 great. Still needs fixes.
15511 2005-11-18 Wim Taymans <wim@fluendo.com>
15513 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
15514 For the current position in stream time, we need to subtract
15517 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
15518 Release lock before calling the callback function of async
15521 2005-11-18 Andy Wingo <wingo@pobox.com>
15523 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
15524 Port goes all the way to MAXUINT16.
15526 * gst/net/gstnettimeprovider.c: Make the port range the same as
15527 for the kernel: 0 assigns, otherwise ports are less than
15530 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
15533 * check/net/gstnetclientclock.c (test_functioning): Add the start
15536 2005-11-18 Wim Taymans <wim@fluendo.com>
15538 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
15539 (gst_bin_remove_func), (bin_bus_handler):
15541 Removing a clock provider from a bin, triggers a clock lost message
15542 so that a new clock will be selected.
15543 Adding a clock to a bin triggers a clock provider message.
15544 Make sure we reselect a clock when we received a clock lost message.
15545 Keep a reference to the element that provided the clock.
15547 2005-11-18 Andy Wingo <wingo@pobox.com>
15549 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
15550 the clock initially so it produces values around the base time.
15551 (gst_net_client_clock_class_init): Typo fix.
15552 (gst_net_client_clock_thread): Add note on when the socket gets
15555 2005-11-17 Wim Taymans <wim@fluendo.com>
15557 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
15558 Free remote and local time arrays.
15560 2005-11-17 Wim Taymans <wim@fluendo.com>
15562 * gst/net/gstnetclientclock.c: (do_linear_regression),
15563 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
15564 Fix compilation, uninitialized vars and a forgotten continue.
15566 2005-11-17 Andy Wingo <wingo@pobox.com>
15568 * check/Makefile.am (check_PROGRAMS):
15569 * check/net/gstnetclientclock.c: Add a most minimal test for the
15570 net client clock. More to come later.
15572 * gst/net/gstnet.h:
15573 * gst/net/Makefile.am: Add netclientclock.
15575 * gst/net/gstnetclientclock.h:
15576 * gst/net/gstnetclientclock.c: New files, implement an untested
15577 GstClock that takes its time from a network time provider.
15578 Implements the algorithm in network-clock.scm.
15580 * tests/network-clock.scm (*window-size*): Rename from
15582 * tests/network-clock.scm (network-time):
15583 * tests/network-clock-utils.scm (q-push): Update callers.
15585 2005-11-17 Wim Taymans <wim@fluendo.com>
15587 * gst/gstbin.c: (gst_bin_provide_clock_func),
15588 (gst_bin_sort_iterator_new):
15589 And unref the child too..
15591 2005-11-17 Wim Taymans <wim@fluendo.com>
15593 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15594 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
15595 Refactor the sort iterator so it can be used while holding the
15597 Make clock selection select a clock closest to the source.
15599 2005-11-17 Michael Smith <msmith@fluendo.com>
15601 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
15602 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
15604 Anonymous structs are a gcc (and some other compilers) extension, so
15605 don't use them. Since this is only for ABI-compatibility, and our
15606 API/ABI freeze is over in a few days, this whole thing will only
15607 last a few days, so don't bother trying to think up a meaningful
15608 name for the struct.
15610 2005-11-17 Andy Wingo <wingo@pobox.com>
15612 * gst/gstclock.h (GstClock): Add rate and offset properties,
15613 preserving ABI stability. Add rate/offset accessors. Will file bug
15614 for the freeze break.
15616 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
15617 and offset, trying to keep precision and avoiding
15618 underflow/overflow.
15619 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
15620 functions. Make gst_clock_set_time_adjust obsolete.
15621 (gst_clock_set_time_adjust): Note that this function is obsolete.
15622 Will file bug soon.
15624 * gst/base/gstbasetransform.h: Make the ABI-stability hack
15625 greppable by using GST_PADDING-1+1.
15627 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
15629 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
15631 * gst/gstmessage.c: (gst_message_parse_clock_lost):
15632 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
15634 * gst/gstpadtemplate.h:
15635 * gst/gstpluginfeature.h:
15636 Don't use c++ style comments in headers (#321638).
15638 2005-11-16 Andy Wingo <wingo@pobox.com>
15640 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
15643 * check/net/gstnettimeprovider.c: Check to see that the time
15644 provider actually provides times. Works, yo!
15646 2005-11-16 Wim Taymans <wim@fluendo.com>
15648 * check/Makefile.am:
15651 * check/elements/fakesrc.c: (GST_START_TEST):
15652 Set element to NULL before disposing it.
15654 2005-11-16 Andy Wingo <wingo@pobox.com>
15656 * gst/net/Makefile.am:
15657 * gst/net/gstnet.h:
15658 * gst/net/gstnettimeprovider.c:
15659 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
15660 provider, include it from gstnet.h, and add it to the build.
15662 * gst/net/gstnettimepacket.h:
15663 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
15664 sending and receiving.
15666 2005-11-16 Wim Taymans <wim@fluendo.com>
15668 * check/Makefile.am:
15669 Enable valgrind check.
15671 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
15672 (gst_fake_src_alloc_buffer):
15675 2005-11-16 Wim Taymans <wim@fluendo.com>
15677 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
15678 Call parent finalize too.
15680 2005-11-16 Wim Taymans <wim@fluendo.com>
15682 * check/Makefile.am:
15683 Enable valgrind check that should work fine now.
15685 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15686 * gst/gstqueue.c: (gst_queue_init):
15687 Fix memleaks in pad allocation.
15689 2005-11-16 Andy Wingo <wingo@pobox.com>
15691 * gst/net/Makefile.am:
15692 * gst/net/gstnet.h: New part of core to hold network elements and
15693 objects. Put in core because it exposes API that applications want
15694 to use. The library is named libgstnet-tempname right now because
15695 of the existing libgstnet in gst-plugins-base. Solution is
15696 probably to rename the one in plugins-base; will file a bug for
15699 * gst/net/gstnettimeprovider.c:
15700 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
15701 get_time call over the network.
15704 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
15706 * check/Makefile.am:
15707 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
15708 get additions shortly.
15710 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15712 * gst/gstpad.c: (gst_pad_new_from_static_template):
15714 add gst_pad_new_from_static_template functions
15715 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
15716 (gst_check_setup_sink_pad):
15717 * gst/elements/gsttee.c: (gst_tee_init):
15720 2005-11-16 Wim Taymans <wim@fluendo.com>
15722 * gst/gstpad.c: (gst_pad_pause_task):
15723 Removed warning, it's not really an error either.
15725 2005-11-16 Wim Taymans <wim@fluendo.com>
15727 * gst/base/gstbasetransform.c:
15728 (gst_base_transform_prepare_output_buf),
15729 (gst_base_transform_event):
15730 Check if the caps are NULL, this can happen if the element
15731 is shutting down and the pad caps are set to NULL.
15733 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15735 * gst/elements/gsttee.c: (gst_tee_init):
15736 fix pad template leak in tee
15738 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15740 * gst/glib-compat.c: (g_value_dup_gst_object):
15741 * gst/glib-compat.h:
15742 * gst/gstpad.c: (gst_pad_set_property):
15743 use gst_object_ref when setting the pad template; this will
15744 trigger the pad template leaks on GLib 2.6 and the slaves
15746 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15748 * gst/glib-compat.c: (gst_flags_get_first_value):
15749 * gst/glib-compat.h:
15750 * gst/gstregistryxml.c:
15751 remove functions copied from GLib 2.6
15753 2005-11-16 Michael Smith <msmith@fluendo.com>
15756 Don't link against VALGRIND_LIBS. That was always the wrong thing to
15757 do, but only breaks with newer valgrind versions. We're not a
15758 valgrind tool, we have no link-time dependencies on libcoregrind.
15760 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15762 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15764 * gst/gstmessage.h:
15767 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15769 * gst/base/gstbasesrc.c: (gst_base_src_init):
15770 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15771 * gst/gstqueue.c: (gst_queue_init):
15772 * gst/gstregistryxml.c: (load_feature):
15773 Revert all these unrefs, they don't even pass make check !
15775 2005-11-15 Johan Dahlin <johan@gnome.org>
15777 * gst/base/gstbasesrc.c: (gst_base_src_init):
15778 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15779 * gst/gstqueue.c: (gst_queue_init):
15780 Free pad templates, fixes a couple of leaks.
15782 2005-11-15 Daniel Fischer <dan at f3c dot com>
15784 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
15786 * gst/gstpad.c: (gst_pad_get_property):
15787 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
15788 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
15791 2005-11-15 Wim Taymans <wim@fluendo.com>
15796 2005-11-15 Andy Wingo <wingo@pobox.com>
15798 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
15800 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
15801 using GST_CLOCK_TIME_NONE to disable base time management.
15802 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
15803 time if it was NONE before.
15804 (gst_pipeline_change_state): Only munge the base time if
15805 stream_time != GST_CLOCK_TIME_NONE.
15807 * check/gst/gstpipeline.c (test_base_time): Punt around the
15808 problem of the probe not being called, because that's not the
15809 issue I'm looking at. Add a check that setting stream_time to NONE
15810 disables base time management.
15812 2005-11-15 Wim Taymans <wim@fluendo.com>
15814 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
15815 segment_stop == -1 at startup.
15817 * gst/base/gstbasetransform.c: (gst_base_transform_event),
15818 (gst_base_transform_change_state):
15819 Init segment values at start.
15821 2005-11-15 Wim Taymans <wim@fluendo.com>
15823 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15824 0 segment values are 0 in any format.
15826 * gst/base/gstbasetransform.c: (gst_base_transform_event):
15827 * gst/base/gstbasetransform.h:
15828 Parse newsegment correctly in basetransform
15830 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
15831 Sync to clock using updated segment values.
15833 2005-11-15 Andy Wingo <wingo@pobox.com>
15835 * check/gst/gstpipeline.c (test_base_time): Add check that the
15836 base time and stream time are reset correctly.
15838 2005-11-15 Wim Taymans <wim@fluendo.com>
15840 * docs/design/part-TODO.txt:
15841 Some more TODO items.
15843 2005-11-15 Andy Wingo <wingo@pobox.com>
15845 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
15846 error if the user selected "no clock" as the clocking method.
15848 * check/gst/gstpipeline.c (test_base_time): New test for buffer
15849 timestamps with live capture.
15851 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
15852 is 0 but we are a live source, timestamp the buffers using the
15855 2005-11-14 Stefan Kost <ensonic@users.sf.net>
15857 * docs/gst/gstreamer-sections.txt:
15859 * gst/gstghostpad.c:
15864 2005-11-14 Wim Taymans <wim@fluendo.com>
15867 add suppressions from Wim's Debian machine
15869 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
15872 add suppressions from Andy's AMD64 Ubuntu machine
15874 2005-11-14 Andy Wingo <wingo@pobox.com>
15876 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
15877 STATE_LOCK not necessary. Fixes #311489.
15879 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
15882 * gst/gstindex.c (gst_index_add_object): Note in the docs that
15883 this function is not implemented.
15885 2005-11-14 Julien MOUTTE <julien@moutte.net>
15887 * gst/base/gstbasetransform.c:
15888 (gst_base_transform_prepare_output_buf):
15889 Ref the source pad caps while we need them.
15892 2005-11-11 Wim Taymans <wim@fluendo.com>
15894 * docs/gst/gstreamer-sections.txt:
15895 Added some docs for GstCollectData.
15897 * gst/base/gstadapter.c:
15898 Some small code example fix.
15900 * gst/base/gstcollectpads.c:
15901 * gst/base/gstcollectpads.h:
15902 Document some more.
15904 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
15906 * configure.ac: back to HEAD
15908 === release 0.9.5 ===
15910 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
15913 releasing 0.9.5, "Bike Lunch Day"
15915 2005-11-11 Wim Taymans <wim@fluendo.com>
15917 * gst/gstbuffer.c: (_gst_buffer_copy):
15920 * gst/gstcaps.c: (gst_caps_is_equal):
15922 Make _is_equal fast in the trivial cases.
15924 * gst/gstminiobject.c:
15925 * gst/gstminiobject.h:
15926 More docs. Spifify .h file.
15931 2005-11-11 Wim Taymans <wim@fluendo.com>
15933 * gst/base/gstbasetransform.c:
15934 (gst_base_transform_prepare_output_buf),
15935 (gst_base_transform_handle_buffer):
15937 If we're processing a buffer and need to allocate an output
15938 buffer, we cannot accept a format change. If we did get a
15939 format change, we have to alloc a buffer ourselves of the
15942 2005-11-11 Wim Taymans <wim@fluendo.com>
15944 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
15945 While checking the flag for reentrancy in the gstcaps function
15946 is nice to detect recursive invocations, it also makes it
15947 impossible to call getcaps from multiple threads, which must be
15948 possible. So, checking for recursive calls has to go.
15950 2005-11-11 Michael Smith <msmith@fluendo.com>
15952 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15953 Don't sync on buffers that fall partially outside our current
15954 segment. Prevents an assertion failure/abort playing some files.
15956 2005-11-10 Andy Wingo <wingo@pobox.com>
15958 * check/gst/gstbin.c (test_message_state_changed_children): Style
15961 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
15962 gst_bus_poll with the signal watch. Ensures that poll and a signal
15963 watch see the same messages.
15965 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
15966 a poll and a watch at the same time get the same messages.
15968 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
15970 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
15971 * gst/gstcaps.c: (gst_caps_intersect):
15972 Don't call gst_caps_do_simplify - it doesn't respect order of caps
15973 and it's not needed.
15975 2005-11-10 Wim Taymans <wim@fluendo.com>
15977 * docs/design/part-TODO.txt:
15980 2005-11-10 Wim Taymans <wim@fluendo.com>
15982 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15983 * gst/base/gstbasesrc.c: (gst_base_src_wait),
15984 (gst_base_src_do_sync), (gst_base_src_get_range):
15985 Implement clock sync in base class.
15987 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
15989 patch by: Tim-Philipp Müller <tim at centricular dot net>
15991 * gst/gststructure.c: (gst_structure_parse_field),
15992 (gst_structure_from_string):
15993 Forward-port a 0.8 patch to handle escaped spaces in structure string,
15994 so that gst_parse_launch() can deal with spaces in filtered link
15995 caps (fixes #164479)
15996 * check/gst/capslist.h:
15997 * check/gst/gststructure.c: (GST_START_TEST):
15998 add unit tests for this change
16000 2005-11-10 Wim Taymans <wim@fluendo.com>
16002 * docs/gst/gstreamer-sections.txt:
16003 * gst/gstelement.c:
16004 * gst/gstelement.h:
16005 Fix docs, move some STATE macros to private.
16007 2005-11-10 Wim Taymans <wim@fluendo.com>
16009 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
16010 Added check for bug #317341
16014 Some more spiffifying.
16016 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
16017 Call peer linkfunction if we are a source pad. Totally fixes
16021 Update docs, source pads should call the peer linkfunction
16022 so they can atomically perform the pad link.
16024 2005-11-09 Wim Taymans <wim@fluendo.com>
16028 Uber-spiffy-spiffify some more.
16030 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
16032 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
16033 * gst/elements/gstfilesink.c: (gst_file_sink_init):
16034 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
16035 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
16036 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
16037 * gst/gstpad.c: (gst_pad_init):
16038 Use GST_DEBUG_FUNCPTR() more extensively.
16040 2005-11-09 Wim Taymans <wim@fluendo.com>
16042 * gst/gstobject.c: (gst_object_class_init):
16044 Documentation fixes.
16046 2005-11-09 Edward Hervey <edward@fluendo.com>
16048 * gst/gsttypefindfactory.c:
16051 2005-11-09 Edward Hervey <edward@fluendo.com>
16053 * gst/base/gsttypefindhelper.c:
16054 * gst/gsttypefind.c:
16055 * gst/gsttypefind.h:
16058 2005-11-09 Wim Taymans <wim@fluendo.com>
16060 * gst/gstiterator.c:
16067 2005-11-09 Wim Taymans <wim@fluendo.com>
16073 2005-11-09 Wim Taymans <wim@fluendo.com>
16075 * docs/gst/gstreamer-sections.txt:
16076 Moved the message async delivery private lock and cond
16077 to the private section.
16079 * gst/gstmessage.c:
16080 * gst/gstmessage.h:
16083 2005-11-09 Edward Hervey <edward@fluendo.com>
16085 * docs/gst/gstreamer-sections.txt:
16088 Document GstURIHandler
16090 2005-11-09 Wim Taymans <wim@fluendo.com>
16092 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
16093 (gst_iterator_find_custom):
16094 * gst/gstiterator.h:
16097 2005-11-09 Wim Taymans <wim@fluendo.com>
16100 Document another field.
16102 * gst/gststructure.c:
16103 * gst/gststructure.h:
16106 2005-11-09 Wim Taymans <wim@fluendo.com>
16109 Documented structs.
16111 2005-11-09 Wim Taymans <wim@fluendo.com>
16113 * docs/gst/gstreamer-sections.txt:
16114 Added some new macros.
16121 2005-11-09 Wim Taymans <wim@fluendo.com>
16123 * docs/design/part-TODO.txt:
16124 Some more items for the TODO
16130 2005-11-09 Andy Wingo <wingo@pobox.com>
16132 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
16133 to work on something else now tho...
16135 * gst/base/gstadapter.c: More adapter docs.
16137 * gst/elements/gstfilesink.c (gst_file_sink_start)
16138 (gst_file_sink_stop): New functions, replace the state change
16140 (gst_file_sink_class_init): Hook up the start and stop functions.
16141 (gst_file_sink_base_init): Don't set the state change handler any
16142 more. It was a bit ugly too, being set from here...
16143 (gst_file_sink_get_property, gst_file_sink_set_property):
16145 (gst_file_sink_set_location): More robust check that doesn't call
16146 GST_STATE. Ugggggg.
16148 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
16150 * gst/base/gstbasetransform.c: (gst_base_transform_event):
16151 Hold STREAM_LOCK while pushing newsegment or tag events as well.
16153 2005-11-08 Wim Taymans <wim@fluendo.com>
16155 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16156 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
16157 (gst_base_sink_chain), (gst_base_sink_change_state):
16158 * gst/base/gstbasesink.h:
16159 * gst/base/gstbasesrc.h:
16160 * gst/gstelement.h:
16162 Avoid excessive typechecking in macros.
16164 * gst/gstminiobject.c: (gst_mini_object_get_type),
16165 (gst_mini_object_init), (gst_mini_object_new),
16166 (gst_mini_object_free):
16167 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
16168 (gst_object_finalize):
16169 Remove cruft code, optimize alloc_trace.
16171 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
16173 * docs/faq/gst-uninstalled:
16174 fix up PS1 for systems that try to reset it
16176 2005-11-07 Wim Taymans <wim@fluendo.com>
16178 * gst/base/gstbasesrc.c: (gst_base_src_init),
16179 (gst_base_src_get_range):
16180 Set the segment_end to -1 initially. Fixed typefind.
16182 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
16184 * gst/base/gstadapter.c:
16185 Debug category should be 'adapter', not 'GstAdapter'.
16187 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
16188 (gst_collectpads_class_init), (gst_collectpads_init),
16189 (gst_collectpads_peek), (gst_collectpads_pop),
16190 (gst_collectpads_event), (gst_collectpads_chain):
16191 Add debug category and some debugging output. Use boilerplate
16192 macros. Remove some extraneous words from docs.
16194 2005-11-05 Andy Wingo <wingo@pobox.com>
16196 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
16199 2005-11-04 Stefan Kost <ensonic@users.sf.net>
16201 * docs/gst/gstreamer-sections.txt:
16204 * gst/gstminiobject.h:
16209 2005-11-04 Wim Taymans <wim@fluendo.com>
16211 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
16212 Small update to stop at the configured segment_end
16215 2005-11-04 Stefan Kost <ensonic@users.sf.net>
16217 * gst/gstregistry.c:
16218 * gst/gstregistry.h:
16221 2005-11-04 Edward Hervey <edward@fluendo.com>
16223 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
16224 Check if we are doing a segment seek and have arrived at the
16225 end of that segment.
16227 2005-11-04 Wim Taymans <wim@fluendo.com>
16229 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
16230 Don't leak a mutex unlock in case of an error.
16235 2005-11-04 Wim Taymans <wim@fluendo.com>
16237 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
16239 Get the context to wake up only once.
16241 2005-11-03 Wim Taymans <wim@fluendo.com>
16243 * check/states/sinks.c: (GST_START_TEST):
16244 Uncomment fixed check.
16246 * docs/design/part-TODO.txt:
16249 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16250 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
16251 (gst_base_sink_get_position):
16252 If we are going to PLAYING, post the right pending state
16253 when we post the intermediate paused message.
16255 * gst/gstelement.c: (gst_element_continue_state),
16256 (gst_element_set_state_func), (gst_element_change_state):
16257 Don't post state changes that were between the same state
16258 and were not ASYNC.
16260 2005-11-03 Stefan Kost <ensonic@users.sf.net>
16262 * docs/gst/gstreamer-sections.txt:
16265 * gst/gstminiobject.h:
16268 more docs and doc style fixes
16270 2005-11-03 Stefan Kost <ensonic@users.sf.net>
16272 * docs/gst/gstreamer-sections.txt:
16273 * gst/gstelement.c:
16274 * gst/gstminiobject.c:
16277 2005-11-03 Andy Wingo <wingo@pobox.com>
16279 * check/states/sinks.c (test_livesrc_sink): Add checks that the
16280 state-changed messages actually have the right order and the right
16283 2005-11-03 Wim Taymans <wim@fluendo.com>
16285 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
16286 Added some more checks. Specifically the case where NO_PREROLL
16287 elements are in the pipeline.
16289 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16290 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
16291 (gst_base_sink_get_position):
16292 Post READY->PAUSED state change messages too.
16293 Fix bug where VOID was posted as pending state...
16295 * gst/gstbin.c: (gst_bin_recalc_state):
16296 use _element_continue_state() to continue the state change.
16298 * gst/gstelement.c: (gst_element_continue_state),
16299 (gst_element_commit_state), (gst_element_set_state_func),
16300 (gst_element_change_state), (gst_element_change_state_func):
16301 Lots of state change cleanups, assign the STATE_RETURN in
16302 a new continue_state() function that also propagates the
16303 last return value from a state change to the app.
16304 Update some debug statements with proper category.
16306 2005-11-03 Wim Taymans <wim@fluendo.com>
16308 * docs/design/part-events.txt:
16309 * docs/design/part-gstpipeline.txt:
16310 * docs/design/part-messages.txt:
16311 * docs/design/part-overview.txt:
16312 * docs/design/part-seeking.txt:
16313 * docs/design/part-states.txt:
16314 * docs/design/part-trickmodes.txt:
16315 * docs/manual/advanced-position.xml:
16316 Small docs updates.
16319 People think !! is ugly, this looks better.
16321 * gst/gstpad.c: (gst_pad_set_blocked_async):
16322 Remove !! since it's fixed elsewhere now.
16324 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
16326 * gst/gstminiobject.h:
16328 Add !! to _FLAG_IS_SET macros to make the result boolean.
16330 2005-11-03 Edward Hervey <edward@fluendo.com>
16332 * gst/gstpad.c: (gst_pad_set_blocked_async):
16333 comparing a flag and a gboolean rarely returns coherent results...
16334 Added two characters (!!) to make that work correctly.
16336 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
16338 * gst/gstbus.c: (gst_bus_class_init):
16341 * gst/gstqueue.c: (gst_queue_loop):
16342 Don't assume a miniobject that isn't a buffer is an
16343 event (it could be that there is a refcounting
16344 problem somewhere and the pointer is stale and
16345 refers to an already destroyed miniobject).
16347 2005-11-03 Julien MOUTTE <julien@moutte.net>
16349 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
16351 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
16353 * docs/manual/advanced-position.xml:
16354 Update seek example and explanations to current 0.9 API.
16356 * gst/elements/gsttypefindelement.c:
16357 (gst_type_find_element_activate):
16358 Remove FIXME comment now that the found caps
16361 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
16363 * gst/gstregistryxml.c: (load_feature):
16364 Add another GST_STR_NULL instance
16366 2005-11-02 Edward Hervey <edward@fluendo.com>
16368 * gst/gstpad.c: (handle_pad_block):
16369 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
16371 2005-11-02 Wim Taymans <wim@fluendo.com>
16376 * gst/gstelement.c: (gst_element_commit_state):
16377 Remove unused value.
16379 * gst/gstiterator.c:
16380 Mention that the returned element is reffed in the docs.
16382 2005-11-02 Wim Taymans <wim@fluendo.com>
16384 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
16385 (gst_pad_push), (gst_pad_push_event):
16386 Unlock blocked pads when they are flushed.
16388 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
16391 * docs/gst/gstreamer-sections.txt:
16394 * gst/gstregistry.c: (gst_registry_scan_path_level):
16395 fix for a nasty little missed situation where an installed plug-in
16396 which was in the cache did not get overridden by an uninstalled one
16397 which was earlier in the plugin path because the newly created plugin
16398 for the uninstalled one (not in the registry) didn't get its
16399 ->registered set to TRUE
16401 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
16403 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
16404 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
16405 (gst_collectpads_is_active), (gst_collectpads_collect),
16406 (gst_collectpads_collect_range), (gst_collectpads_start),
16407 (gst_collectpads_stop), (gst_collectpads_peek),
16408 (gst_collectpads_pop), (gst_collectpads_available),
16409 (gst_collectpads_read), (gst_collectpads_flush):
16410 Guard public API with assertions.
16413 Fix docs for gst_pad_set_link_function().
16415 2005-11-02 Johan Dahlin <johan@gnome.org>
16417 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
16418 Unref found_caps after we used it.
16420 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
16422 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
16423 Don't try to ref NULL.
16425 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
16427 * win32/common/config.h.in:
16428 provide a GST_FUNCTION that just gives a string for now
16430 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
16432 * win32/common/gstenumtypes.c: (register_gst_object_flags),
16433 (gst_object_flags_get_type), (register_gst_bin_flags),
16434 (gst_bin_flags_get_type), (register_gst_buffer_flag),
16435 (gst_buffer_flag_get_type), (register_gst_bus_flags),
16436 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
16437 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
16438 (gst_clock_return_get_type), (register_gst_clock_entry_type),
16439 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
16440 (gst_clock_flags_get_type), (register_gst_state),
16441 (gst_state_get_type), (register_gst_state_change_return),
16442 (gst_state_change_return_get_type), (register_gst_state_change),
16443 (gst_state_change_get_type), (register_gst_element_flags),
16444 (gst_element_flags_get_type), (register_gst_core_error),
16445 (gst_core_error_get_type), (register_gst_library_error),
16446 (gst_library_error_get_type), (register_gst_resource_error),
16447 (gst_resource_error_get_type), (register_gst_stream_error),
16448 (gst_stream_error_get_type), (register_gst_event_type),
16449 (gst_event_type_get_type), (register_gst_seek_type),
16450 (gst_seek_type_get_type), (register_gst_seek_flags),
16451 (gst_seek_flags_get_type), (register_gst_format),
16452 (gst_format_get_type), (register_gst_index_certainty),
16453 (gst_index_certainty_get_type), (register_gst_index_entry_type),
16454 (gst_index_entry_type_get_type),
16455 (register_gst_index_lookup_method),
16456 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
16457 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
16458 (gst_index_resolver_method_get_type), (register_gst_index_flags),
16459 (gst_index_flags_get_type), (register_gst_debug_level),
16460 (gst_debug_level_get_type), (register_gst_debug_color_flags),
16461 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
16462 (gst_iterator_result_get_type), (register_gst_iterator_item),
16463 (gst_iterator_item_get_type), (register_gst_message_type),
16464 (gst_message_type_get_type), (register_gst_mini_object_flags),
16465 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
16466 (gst_pad_link_return_get_type), (register_gst_flow_return),
16467 (gst_flow_return_get_type), (register_gst_activate_mode),
16468 (gst_activate_mode_get_type), (register_gst_pad_direction),
16469 (gst_pad_direction_get_type), (register_gst_pad_flags),
16470 (gst_pad_flags_get_type), (register_gst_pad_presence),
16471 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
16472 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
16473 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
16474 (gst_plugin_error_get_type), (register_gst_plugin_flags),
16475 (gst_plugin_flags_get_type), (register_gst_rank),
16476 (gst_rank_get_type), (register_gst_query_type),
16477 (gst_query_type_get_type), (register_gst_tag_merge_mode),
16478 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
16479 (gst_tag_flag_get_type), (register_gst_task_state),
16480 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
16481 (gst_alloc_trace_flags_get_type),
16482 (register_gst_type_find_probability),
16483 (gst_type_find_probability_get_type), (register_gst_uri_type),
16484 (gst_uri_type_get_type), (register_gst_parse_error),
16485 (gst_parse_error_get_type):
16486 * win32/common/gstversion.h:
16487 update win32 copies
16489 2005-11-01 Luca Ognibene <luogni@tin.it>
16492 fix docs. popt is dead, long live GOption.
16494 2005-10-31 Wim Taymans <wim@fluendo.com>
16499 2005-10-31 Andy Wingo <wingo@pobox.com>
16503 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
16505 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
16506 need to serialize property notifications on GLib 2.8. GLib 2.6 has
16507 the possibility of deadlocks here if code calling notify() or
16508 set() has a lock that can be taken in another notify handler (ABBA
16509 with class lock and e.g. python GIL state lock).
16511 2005-10-28 Julien MOUTTE <julien@moutte.net>
16513 * gst/gstbus.c: Doc updates.
16515 2005-10-28 Wim Taymans <wim@fluendo.com>
16517 * docs/design/part-TODO.txt:
16518 * gst/gstiterator.c:
16519 * gst/gstsystemclock.c:
16520 * gst/gstsystemclock.h:
16523 2005-10-28 Edward Hervey <edward@fluendo.com>
16525 * docs/gst/gstreamer-docs.sgml:
16526 * docs/gst/gstreamer-sections.txt:
16527 the GstURIType documentation page is private, it only defines GstURIType
16528 which should be defined in the GstURIHandler page
16530 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
16532 * gst/gstbin.c: (gst_bin_class_init):
16535 Documentation updates.
16537 2005-10-28 Wim Taymans <wim@fluendo.com>
16539 * docs/gst/gstreamer-sections.txt:
16542 Documented the clocks.
16544 2005-10-28 Stefan Kost <ensonic@users.sf.net>
16546 * docs/gst/gstreamer-sections.txt:
16547 move some macros to private sections
16548 * gst/gstminiobject.c:
16549 * gst/gstminiobject.h:
16550 add descriptions provided by ds and some more
16552 mark macro as to be removed
16554 2005-10-28 Wim Taymans <wim@fluendo.com>
16556 * docs/design/part-TODO.txt:
16557 Add an item to TODO.
16559 * gst/gstiterator.c: (gst_iterator_fold),
16560 (gst_iterator_find_custom):
16561 * gst/gstiterator.h:
16564 2005-10-28 Wim Taymans <wim@fluendo.com>
16566 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16567 (gst_base_transform_init):
16570 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
16571 An EOS event marks the queue as completely filled.
16573 2005-10-27 Wim Taymans <wim@fluendo.com>
16575 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16576 (gst_base_sink_do_sync), (gst_base_sink_get_position):
16577 Some more debugging.
16579 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
16580 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
16581 (gst_base_transform_event), (gst_base_transform_getrange),
16582 (gst_base_transform_chain):
16583 * gst/base/gstbasetransform.h:
16585 Protect transform and concurrent buffer alloc with a new lock.
16586 Try not to break ABI/API.
16588 2005-10-27 Wim Taymans <wim@fluendo.com>
16590 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16591 (gst_base_src_init), (gst_base_src_query),
16592 (gst_base_src_default_newsegment),
16593 (gst_base_src_configure_segment), (gst_base_src_do_seek),
16594 (gst_base_src_send_event), (gst_base_src_event_handler),
16595 (gst_base_src_pad_get_range), (gst_base_src_loop),
16596 (gst_base_src_unlock), (gst_base_src_default_negotiate),
16597 (gst_base_src_start), (gst_base_src_deactivate),
16598 (gst_base_src_activate_push), (gst_base_src_change_state):
16599 Move some stuff around and cleanup things.
16601 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
16603 * gst/base/gstbasesrc.c: (gst_base_src_query):
16604 Add missing break statements.
16606 2005-10-27 Wim Taymans <wim@fluendo.com>
16608 * check/gst/gstbin.c: (GST_START_TEST):
16609 An extra refcount is taken in basesrc.
16611 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
16612 (gst_base_src_get_range), (gst_base_src_pad_get_range),
16613 (gst_base_src_loop):
16614 Small cleanups, check for flushing after being unlocked from the
16615 LIVE_LOCK. take refcounts correctly (not yet everywhere).
16616 Don't send out EOS when going to READY.
16618 2005-10-27 Wim Taymans <wim@fluendo.com>
16620 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16621 (gst_base_sink_get_position):
16624 * gst/gstbin.c: (message_check), (bin_replace_message),
16625 (bin_remove_messages), (is_eos), (gst_bin_add_func),
16626 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16627 (bin_query_duration_init), (bin_query_duration_fold),
16628 (bin_query_duration_done), (bin_query_generic_fold),
16630 * tools/gst-launch.c: (main):
16633 2005-10-26 Stefan Kost <ensonic@users.sf.net>
16635 * examples/controller/audio-example.c: (main):
16636 * examples/queue/queue.c: (event_loop):
16637 * gst/base/gstbasetransform.h:
16638 * gst/gstelement.c: (gst_element_send_event):
16640 * gst/gstpad.c: (gst_pad_send_event):
16643 changing log priority in error situations
16645 2005-10-25 Wim Taymans <wim@fluendo.com>
16647 * gst/gstbin.c: (message_check), (bin_replace_message),
16648 (bin_remove_messages), (is_eos), (gst_bin_add_func),
16649 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16650 (bin_query_duration_init), (bin_query_duration_fold),
16651 (bin_query_duration_done), (bin_query_generic_fold),
16653 Some doc and debug updates.
16654 Cache previously requested query DURATION for speed. invalidate
16655 cached duration if element posts a DURATION message.
16657 2005-10-25 Wim Taymans <wim@fluendo.com>
16659 * docs/design/part-TODO.txt:
16662 * gst/gstbin.c: (message_check), (bin_replace_message),
16663 (bin_remove_messages), (is_eos), (gst_bin_add_func),
16664 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16665 (bin_query_duration_init), (bin_query_duration_fold),
16666 (bin_query_duration_done), (bin_query_generic_fold),
16668 Handle SEGMENT_START/DONE messages correctly.
16669 More evolved query algorithm that handles duration queries
16672 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
16673 (gst_element_get_state_func), (gst_element_abort_state),
16674 (gst_element_commit_state), (gst_element_lost_state):
16675 Some more debugging.
16677 * gst/gstmessage.h:
16680 2005-10-25 Wim Taymans <wim@fluendo.com>
16682 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
16683 Don't use invalid stream_time.
16685 * gst/gstevent.c: (gst_event_new_newsegment):
16686 stream_time in newsegment cannot be undefined.
16688 2005-10-24 Wim Taymans <wim@fluendo.com>
16693 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
16695 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
16697 2005-10-24 Stefan Kost <ensonic@users.sf.net>
16699 * docs/libs/tmpl/gstdparam.sgml:
16700 * docs/libs/tmpl/gstdplinint.sgml:
16701 * docs/libs/tmpl/gstdpman.sgml:
16702 * docs/libs/tmpl/gstdpsmooth.sgml:
16703 * docs/libs/tmpl/gstunitconvert.sgml:
16706 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
16711 === release 0.9.4 ===
16713 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
16716 releasing 0.9.4, "Tyrannosaurus Rex"
16718 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
16720 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
16721 (gst_file_sink_get_current_offset):
16722 Use fseeko() and ftello() if available. When falling back on
16723 lseek() to get the current offset, fflush() first to make sure
16724 everything is up-to-date and we get the right offset.
16726 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
16728 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16729 * gst/base/gstbasesrc.c: (gst_base_src_loop):
16730 * gst/gsterror.c: (_gst_stream_errors_init):
16732 * gst/gstqueue.c: (gst_queue_loop):
16734 remove prematurely added error category and clean up the instances
16736 2005-10-21 Wim Taymans <wim@fluendo.com>
16738 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16739 (gst_base_sink_get_position), (gst_base_sink_query),
16740 (gst_base_sink_change_state):
16741 Simply set the right flag when going to playing, that's all
16742 we need to do instead of calling a function inside the object
16743 lock (that could take the lock as well and deadlock)
16745 2005-10-21 Wim Taymans <wim@fluendo.com>
16747 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
16748 (gst_base_src_loop):
16749 Don't warn, the peer element knows what to do best when
16750 the seek failed, it might try something else.
16752 2005-10-21 Wim Taymans <wim@fluendo.com>
16754 * gst/base/gstbasesrc.c: (gst_base_src_init),
16755 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
16758 2005-10-21 Wim Taymans <wim@fluendo.com>
16760 * docs/design/part-segments.txt:
16763 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16764 Correctly set caps, even on the subbufer.
16766 2005-10-21 Wim Taymans <wim@fluendo.com>
16768 * docs/gst/gstreamer-docs.sgml:
16769 * docs/gst/gstreamer-sections.txt:
16770 * gst/gstelement.h:
16773 * gst/gstmessage.h:
16776 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
16780 And 2% more doc coverage.
16782 2005-10-21 Andy Wingo <wingo@pobox.com>
16784 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
16785 position reporting.
16787 2005-10-20 Wim Taymans <wim@fluendo.com>
16789 * gst/gsterror.c: (gst_error_get_message):
16792 * gst/gststructure.c:
16797 2005-10-20 Wim Taymans <wim@fluendo.com>
16802 Another 1% more coverage.
16804 2005-10-20 Wim Taymans <wim@fluendo.com>
16806 * docs/gst/gstreamer-sections.txt:
16807 * gst/gstelement.c: (gst_element_get_state_func),
16808 (gst_element_abort_state), (gst_element_commit_state),
16809 (gst_element_lost_state):
16811 * gst/gstquery.c: (gst_query_set_position),
16812 (gst_query_parse_position), (gst_query_set_duration),
16813 (gst_query_parse_duration), (gst_query_new_convert):
16815 Yay! 1% more docs coverage.
16817 2005-10-20 Wim Taymans <wim@fluendo.com>
16820 * gst/gstquery.c: (gst_query_set_position),
16821 (gst_query_parse_position), (gst_query_set_duration),
16822 (gst_query_parse_duration), (gst_query_new_convert):
16824 * gst/gstutils.c: (gst_element_query_convert):
16826 Docs and consistency fixes.
16828 2005-10-20 Wim Taymans <wim@fluendo.com>
16834 2005-10-20 Wim Taymans <wim@fluendo.com>
16836 * gst/gstbin.c: (message_check), (bin_replace_message),
16837 (bin_remove_messages), (is_eos), (gst_bin_add_func),
16838 (update_degree), (gst_bin_sort_iterator_next),
16839 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
16840 Reworked the message handling a bit, cache the messages instead of
16841 only the senders. alows us to do more in the future.
16843 2005-10-20 Wim Taymans <wim@fluendo.com>
16845 * docs/design/part-TODO.txt:
16848 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
16849 (gst_base_sink_query):
16850 Don't use clock time to report position when in EOS.
16852 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
16854 * tools/gst-inspect.c: (print_interfaces),
16855 (print_element_properties_info), (print_element_info):
16856 Fix interface output with gst-inspect -a; don't print
16857 newlines after double/float properties.
16859 2005-10-20 Wim Taymans <wim@fluendo.com>
16861 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
16862 (gst_base_sink_query):
16863 Speed up current position calculation.
16865 * gst/base/gstbasesrc.c: (gst_base_src_query),
16866 (gst_base_src_default_newsegment):
16867 Correctly set stream position in newsegment.
16869 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
16870 (update_degree), (gst_bin_sort_iterator_next),
16871 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
16872 * gst/gstmessage.c: (gst_message_new_custom):
16873 Clean up debugging info
16875 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
16876 (gst_queue_loop), (gst_queue_handle_src_query):
16879 2005-10-19 Wim Taymans <wim@fluendo.com>
16881 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16882 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
16883 Fix query handling again.
16885 2005-10-19 Wim Taymans <wim@fluendo.com>
16887 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16888 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
16889 * gst/base/gstbasesrc.c: (gst_base_src_query):
16890 * gst/elements/gstfilesink.c: (gst_file_sink_query):
16891 * gst/elements/gsttypefindelement.c:
16892 (gst_type_find_handle_src_query), (find_element_get_length),
16893 (gst_type_find_element_activate):
16896 * gst/gstquery.c: (gst_query_new_position),
16897 (gst_query_set_position), (gst_query_parse_position),
16898 (gst_query_new_duration), (gst_query_set_duration),
16899 (gst_query_parse_duration), (gst_query_set_segment),
16900 (gst_query_parse_segment):
16902 Bundling query position/duration is not a good idea since duration
16903 does not change much and we don't want to recalculate it for every
16904 position query, so they are separated again..
16905 Base value in segment query is not needed.
16907 * gst/gstqueue.c: (gst_queue_handle_src_query):
16908 * gst/gstutils.c: (gst_element_query_position),
16909 (gst_element_query_duration), (gst_pad_query_position),
16910 (gst_pad_query_duration):
16912 Updates for query API change.
16913 Added some docs here and there.
16915 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
16917 * check/gst/gstbin.c: (GST_START_TEST):
16918 * check/gst/gstghostpad.c: (GST_START_TEST):
16919 * check/pipelines/cleanup.c: (GST_START_TEST):
16920 wait on thread to die so we can check refcount correctly
16922 2005-10-18 Wim Taymans <wim@fluendo.com>
16924 * check/pipelines/stress.c: (GST_START_TEST):
16925 Make check a little more time consuming.
16927 2005-10-18 Wim Taymans <wim@fluendo.com>
16929 * check/Makefile.am:
16930 * check/pipelines/stress.c: (GST_START_TEST),
16931 (simple_launch_lines_suite), (main):
16932 Small state change torture test.
16934 * docs/design/part-states.txt:
16935 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16936 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
16937 (gst_base_sink_change_state):
16938 Never take state lock from streaming thread, clean up ugly
16939 hacks. Unfortunatly core does not yet support nice ways to
16940 async commit state.
16942 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
16944 Start state recalc if a STATE_DIRTY message is posted, but only
16945 on the toplevel bin.
16947 * gst/gstelement.c: (gst_element_sync_state_with_parent),
16948 (gst_element_get_state_func), (gst_element_abort_state),
16949 (gst_element_commit_state), (gst_element_lost_state),
16950 (gst_element_set_state_func), (gst_element_change_state):
16951 * gst/gstelement.h:
16952 State variables are now protected with the LOCK, the state
16953 lock is only used to serialize _set_state().
16955 2005-10-18 Wim Taymans <wim@fluendo.com>
16957 * check/gst/gstbin.c: (GST_START_TEST):
16958 * check/gst/gstmessage.c: (GST_START_TEST):
16959 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
16960 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
16962 * gst/gstelement.c: (gst_element_abort_state),
16963 (gst_element_commit_state), (gst_element_lost_state):
16964 * gst/gstmessage.c: (gst_message_new_state_changed),
16965 (gst_message_new_state_dirty), (gst_message_new_segment_start),
16966 (gst_message_new_segment_done), (gst_message_new_duration),
16967 (gst_message_parse_state_changed),
16968 (gst_message_parse_segment_start),
16969 (gst_message_parse_segment_done), (gst_message_parse_duration):
16970 * gst/gstmessage.h:
16971 * tools/gst-launch.c: (event_loop):
16972 Seriously, this is better than a previous commit as we only need
16973 to notify the fact that an element changed state in a streaming
16974 thread, marking the state of the parents dirty, hence the
16975 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
16978 2005-10-18 Wim Taymans <wim@fluendo.com>
16980 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
16981 (gst_bin_recalc_func):
16982 * gst/gstelement.c: (gst_element_set_clock),
16983 (gst_element_abort_state), (gst_element_lost_state):
16984 Cleanups, prepare for state change fixes.
16986 2005-10-18 Wim Taymans <wim@fluendo.com>
16989 * gst/gstelement.c: (gst_element_class_init),
16990 (gst_element_set_state), (gst_element_set_state_func):
16991 * gst/gstelement.h:
16992 Pending ABI changes.
16993 GThreadPool in GstBinClass to monitor async state changes.
16994 state_cookie in GstElement to detect concurrent gst/set state.
16995 set_state is now virtual too in case a very complicated element
16996 has to be constructed.
16998 2005-10-18 Wim Taymans <wim@fluendo.com>
17000 * check/gst/gstbin.c: (GST_START_TEST):
17001 * check/gst/gstmessage.c: (GST_START_TEST):
17002 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
17003 * gst/gstbin.c: (bin_bus_handler):
17004 * gst/gstelement.c: (gst_element_commit_state),
17005 (gst_element_lost_state):
17006 * gst/gstmessage.c: (gst_message_new_state_changed),
17007 (gst_message_new_segment_start), (gst_message_new_segment_done),
17008 (gst_message_new_duration), (gst_message_parse_state_changed),
17009 (gst_message_parse_segment_start),
17010 (gst_message_parse_segment_done), (gst_message_parse_duration):
17011 * gst/gstmessage.h:
17012 * tools/gst-launch.c: (event_loop):
17013 Make messages future proof.
17014 state-change gets a flag if it was a message comming from the
17016 segment-start/stop can also be specified in other formats.
17017 A message to notify an app that a pipeline changed playback
17019 Also fix a GstMessage leak in -launch
17021 2005-10-18 Andy Wingo <wingo@pobox.com>
17023 * gst/gstelement.c (gst_element_dispose): More helpful message.
17025 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
17027 reviewed by: <delete if not using a buddy>
17029 * common/gtk-doc.mak:
17031 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
17033 * gst/gstregistry.c: (gst_registry_scan_path_level):
17034 unref a plug-in we get that was already initialized
17036 2005-10-18 Stefan Kost <ensonic@users.sf.net>
17038 * docs/gst/gstreamer-sections.txt:
17039 * docs/libs/gstreamer-libs-sections.txt:
17040 * gst/gstelement.h:
17041 add new api entries
17042 hide internal macro
17044 2005-10-17 Andy Wingo <wingo@pobox.com>
17046 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
17049 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
17051 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
17053 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
17054 (gst_element_get_state_func): Better debug message.
17055 (gst_element_commit_state): s/INFO/DEBUG/.
17056 (gst_element_lost_state, gst_element_change_state):
17058 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
17059 (gst_message_new_custom): s/INFO/LOG/.
17061 2005-10-17 Michael Smith <msmith@fluendo.com>
17063 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
17064 Check if end time is valid using end time, not start time.
17066 2005-10-17 Stefan Kost <ensonic@users.sf.net>
17068 * check/gst-libs/controller.c: (GST_START_TEST),
17069 (gst_controller_suite):
17070 * libs/gst/controller/gstcontroller.c:
17071 (gst_controlled_property_set_interpolation_mode):
17072 * libs/gst/controller/gstcontroller.h:
17073 * libs/gst/controller/gstinterpolation.c:
17074 * testsuite/controller/.cvsignore:
17075 * testsuite/controller/Makefile.am:
17076 * testsuite/controller/interpolator.c:
17077 merge controller testsuites
17079 remove mem-chunk from docs
17081 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
17083 * gst/gstmemchunk.c:
17084 * gst/gstmemchunk.h:
17085 * gst/gsttrashstack.c:
17086 * gst/gsttrashstack.h:
17087 out. get out. you're fired. to the Attic !
17089 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
17091 * gst/gstcaps.c: (gst_caps_intersect):
17092 fix signedness issues in a (hopefully) correct way
17093 * gst/gstelement.c: (gst_element_pads_activate):
17095 * gst/gstobject.c: (gst_object_set_parent):
17098 2005-10-17 Julien MOUTTE <julien@moutte.net>
17100 * gst/gstvalue.h: Fix prototypes.
17102 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
17104 * docs/gst/gstreamer-sections.txt:
17105 * gst/gst.c: (gst_version_string):
17107 * gst/gstversion.h.in:
17108 * win32/common/libgstreamer.def:
17109 add gst_version_string ()
17111 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
17115 * gst/gst.c: (init_post):
17116 * win32/common/config.h.in:
17118 * gst/gstcaps.c: (gst_caps_intersect):
17119 use gint64, the range could be bigger than a guint
17121 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
17124 document potential problem in 2038
17126 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
17128 * gst/gstcaps.c: (gst_caps_intersect):
17129 Fix guint j diving under 0
17131 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
17134 * win32/common/config.h:
17135 * win32/common/config.h.in:
17136 check for process.h, declares getpid() on Windows
17138 include process.h if we have it
17139 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
17140 * gst/gstmemchunk.h:
17141 fix signedness issues
17142 * win32/common/libgstreamer.def:
17145 2005-10-16 Julien MOUTTE <julien@moutte.net>
17147 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
17148 fix. Because of unsigned ints, caps intersection was going nuts and
17149 trying to access structures with G_MAXUINT index. That fixes
17150 videotestsrc ! ffmpegcolorspace ! fakesink
17151 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
17154 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
17157 use the gettext macro
17158 * gst/elements/gstelements.c:
17160 * gst/indexers/gstindexers.c:
17161 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
17162 * win32/common/config.h:
17164 * win32/common/config.h.in:
17165 add the template to generate config.h
17166 * win32/common/gstenumtypes.c:
17167 * win32/common/gstversion.h:
17170 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
17172 * gst/gst.c: (gst_version):
17173 * gst/gstversion.h.in:
17176 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
17179 Oops, add missing closing bracket.
17181 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17184 use common m4's for argument checking
17186 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
17188 * docs/gst/gstreamer-sections.txt:
17190 Add GST_EVENT_TYPE_NAME() macro.
17192 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17195 * gst/gstpluginfeature.c:
17197 privatize more symbols
17199 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17202 add srcdir, builddir includes to GST_ALL_CFLAGS, since
17203 everything that uses GStreamer API should have the includes
17205 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17207 * docs/gst/gstreamer-sections.txt:
17208 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
17210 give each value a _get_type, removes the DATA exports
17212 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17216 remove _gst_registry_auto_load, not used anymore
17217 * gst/gstbin.c: (gst_bin_get_type):
17219 * gst/gstelement.c: (gst_element_get_type):
17220 * gst/gstelement.h:
17221 * gst/gstobject.c: (gst_object_get_type):
17223 * gst/gstpad.c: (gst_pad_get_type):
17225 make _get_type functions similar, fixes data export from library
17227 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17230 correctly make conditionals
17231 * gst/elements/Makefile.am:
17232 * gst/elements/gstelements.c:
17233 fix typo causing fdsrc not to build
17235 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17237 * testsuite/Makefile.am:
17238 * testsuite/bytestream/.cvsignore:
17239 * testsuite/bytestream/Makefile.am:
17240 * testsuite/bytestream/filepadsink.c:
17241 * testsuite/bytestream/gstbstest.c:
17242 * testsuite/bytestream/test1.c:
17243 * testsuite/bytestream/testfile1:
17244 * testsuite/caps/normalisation.c:
17245 * testsuite/caps/random.c: (main):
17246 * testsuite/cleanup/.cvsignore:
17247 * testsuite/cleanup/Makefile.am:
17248 * testsuite/cleanup/cleanup1.c:
17249 * testsuite/cleanup/cleanup2.c:
17250 * testsuite/cleanup/cleanup3.c:
17251 * testsuite/cleanup/cleanup4.c:
17252 * testsuite/cleanup/cleanup5.c:
17253 * testsuite/controller/interpolator.c:
17254 * testsuite/debug/printf_extension.c: (main):
17255 * testsuite/elements/tee.c:
17256 * testsuite/negotiation/.cvsignore:
17257 * testsuite/negotiation/Makefile.am:
17258 * testsuite/negotiation/pad_link.c:
17259 * testsuite/pad/Makefile.am:
17260 * testsuite/pad/chainnopull.c:
17261 * testsuite/pad/getnopush.c:
17262 * testsuite/pad/link.c:
17263 * testsuite/refcounting/sched.c: (create_pipeline):
17264 * testsuite/registry/Makefile.am:
17265 * testsuite/registry/gst-print-formats.c:
17266 * testsuite/schedulers/.cvsignore:
17267 * testsuite/schedulers/142183-2.c:
17268 * testsuite/schedulers/142183.c:
17269 * testsuite/schedulers/143777-2.c:
17270 * testsuite/schedulers/143777.c:
17271 * testsuite/schedulers/147713.c:
17272 * testsuite/schedulers/147819.c:
17273 * testsuite/schedulers/147894-2.c:
17274 * testsuite/schedulers/147894.c:
17275 * testsuite/schedulers/Makefile.am:
17276 * testsuite/schedulers/group_link.c:
17277 * testsuite/schedulers/queue_link.c:
17278 * testsuite/schedulers/relink.c:
17279 * testsuite/schedulers/unlink.c:
17280 * testsuite/schedulers/unref.c:
17281 * testsuite/schedulers/useless_iteration.c:
17282 * testsuite/states/bin.c:
17283 clean out/remove some stuff from the testsuite directories
17285 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17288 check for some headers
17289 * gst/elements/Makefile.am:
17290 * gst/elements/gstelements.c:
17291 don't compile fdsrc without sys/socket.h
17292 * gst/indexers/Makefile.am:
17293 * gst/indexers/gstindexers.c: (plugin_init):
17294 don't compile fileindex without mmap
17296 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17303 * check/Makefile.am:
17304 * docs/gst/Makefile.am:
17305 * examples/helloworld/Makefile.am:
17307 * gst/base/Makefile.am:
17308 * gst/check/Makefile.am:
17309 * gst/elements/Makefile.am:
17310 * gst/indexers/Makefile.am:
17311 * gst/parse/Makefile.am:
17312 * libs/gst/controller/Makefile.am:
17313 * libs/gst/dataprotocol/Makefile.am:
17314 * examples/helloworld/helloworld.c: (event_loop):
17315 compile fixes, though it's not being compiled currently
17317 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
17319 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
17320 Add some simple tests for the new taglist date API.
17322 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
17324 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
17325 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
17326 Beautify 'last-message' output: print 'none' for buffer timestamps
17327 and durations if none is set; improve alignment with next messages.
17329 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
17331 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
17332 * gst/gstpluginfeature.h:
17333 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
17334 * gst/gstregistry.h:
17335 * docs/gst/gstreamer-sections.txt:
17336 Add new API to check plugin feature version requirements.
17338 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
17339 Some basic tests for the above.
17341 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
17343 * gst/gststructure.c: (gst_structure_to_string):
17344 guard against NULL printf - happens when for example
17345 a message structure with GstClock gets serialized
17347 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
17349 * gst/base/gstcollectpads.c: (gst_collectpads_event):
17350 Fix presumable copy'n'pasto.
17352 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
17354 * gst/elements/gstfakesrc.h:
17355 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
17356 * gst/elements/gsttypefindelement.c:
17357 fix some signedness
17358 * gst/elements/gstfilesink.c: (gst_file_sink_render):
17359 I wonder if this could actually write +2GB files before
17361 2005-10-13 Andy Wingo <wingo@pobox.com>
17363 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
17364 Fix Timmeke Waymans bug.
17365 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
17366 string of the proper length to gst_caps_from_string. There's a
17367 potential for, before this fix, that this could cause someone
17368 connecting over the network to cause a segfault if the payload is
17369 not NUL-terminated.
17371 2005-10-13 Stefan Kost <ensonic@users.sf.net>
17373 * docs/design/draft-push-pull.txt:
17374 * docs/design/part-overview.txt:
17375 * docs/random/TODO-pre-0.9:
17376 * docs/random/old/ChangeLog.gstreamer:
17377 * gst/base/gstpushsrc.c:
17381 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
17383 * gst/glib-compat.c: (gst_flags_get_first_value):
17384 * gst/glib-compat.h:
17385 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
17386 (gst_value_compare_double), (gst_value_serialize_flags):
17387 GLib 2.6 g_flags_get_first_value has a bug that triggers an
17390 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
17392 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17393 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
17395 * tools/gst-launch.c: (event_loop):
17396 print out clock nicely
17398 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
17400 * docs/gst/gstreamer-sections.txt:
17401 * gst/gsttaglist.h:
17402 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
17403 (gst_tag_list_get_date_index):
17404 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
17405 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
17407 2005-10-13 Julien MOUTTE <julien@moutte.net>
17409 * gst/base/gstcollectpads.c: (gst_collectpads_event),
17410 (gst_collectpads_chain):
17411 * gst/base/gstcollectpads.h: Handle newsegment and store informations
17414 2005-10-13 Stefan Kost <ensonic@users.sf.net>
17416 * docs/gst/gstreamer-sections.txt:
17419 * tools/gst-inspect.c: (main):
17420 * tools/gst-launch.c: (main):
17421 * tools/gst-run.c: (main):
17422 * tools/gst-xmlinspect.c: (main):
17423 fix GOption context leaks
17426 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
17430 * win32/common/config.h:
17432 * win32/vs6/grammar.dsp:
17433 * win32/vs6/libgstelements.dsp:
17434 * win32/vs6/libgstreamer.dsp:
17437 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
17439 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17440 * gst/base/gstbasesrc.c: (gst_base_src_query):
17441 fix more guint64<->gdouble conversions
17443 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
17446 add win32-update target
17447 * win32/common/gstconfig.h:
17448 * win32/common/gstenumtypes.c:
17449 * win32/common/gstenumtypes.h:
17450 * win32/common/gstversion.h:
17451 add files that visual studio can't generate
17453 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
17456 add a win32-update target
17459 2005-10-12 Wim Taymans <wim@fluendo.com>
17461 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
17462 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
17463 * gst/gstelement.c: (gst_element_commit_state),
17464 (gst_element_set_state):
17465 Protect flags with proper lock.
17466 unref provided cached clock in dispose.
17468 2005-10-12 Stefan Kost <ensonic@users.sf.net>
17471 * gst/gstminiobject.h:
17473 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
17474 removed unused flags from miniobject
17477 2005-10-12 Wim Taymans <wim@fluendo.com>
17479 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
17480 (gst_file_sink_event), (gst_file_sink_render):
17481 Flush before seeking.
17483 2005-10-12 Andy Wingo <wingo@pobox.com>
17485 * gst/gst.c (gst_init_check): Ignore unknown options, as has
17486 always been the case.
17488 2005-10-12 Stefan Kost <ensonic@users.sf.net>
17490 * check/gst/gstbin.c: (GST_START_TEST):
17491 * docs/gst/gstreamer-sections.txt:
17492 * gst/base/gstbasesink.c: (gst_base_sink_init):
17493 * gst/base/gstbasesrc.c: (gst_base_src_init),
17494 (gst_base_src_get_range), (gst_base_src_check_get_range),
17495 (gst_base_src_start), (gst_base_src_stop):
17496 * gst/base/gstbasesrc.h:
17497 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
17498 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
17499 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
17503 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
17505 * gst/gstelement.c: (gst_element_is_locked_state),
17506 (gst_element_set_locked_state), (gst_element_commit_state),
17507 (gst_element_set_state):
17508 * gst/gstelement.h:
17509 * gst/gstindex.c: (gst_index_init):
17511 * gst/gstminiobject.h:
17512 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
17513 (gst_object_set_parent):
17515 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
17516 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
17518 * gst/gstpadtemplate.h:
17519 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
17520 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
17521 * gst/gstpipeline.h:
17522 * gst/indexers/gstfileindex.c: (gst_file_index_load),
17523 (gst_file_index_commit):
17524 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
17525 * testsuite/pad/link.c: (gst_test_src_init),
17526 (gst_test_filter_init), (gst_test_sink_init):
17527 * testsuite/states/locked.c: (main):
17528 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
17529 moved bitshift from macro to enum definition
17531 2005-10-12 Wim Taymans <wim@fluendo.com>
17533 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
17534 * gst/elements/gstfilesink.c: (gst_file_sink_event),
17535 (gst_file_sink_render):
17536 Some more debugging info.
17538 2005-10-12 Wim Taymans <wim@fluendo.com>
17540 * docs/design/part-states.txt:
17541 * tools/gst-launch.c: (main):
17543 Revert non-intentional change.
17545 2005-10-12 Wim Taymans <wim@fluendo.com>
17547 * check/gst/gstbin.c: (GST_START_TEST):
17548 * check/gst/gstelement.c: (GST_START_TEST):
17549 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
17550 * check/gst/gstghostpad.c: (GST_START_TEST):
17551 * check/gst/gstpipeline.c: (GST_START_TEST):
17552 * check/pipelines/simple_launch_lines.c: (run_pipeline):
17553 * check/states/sinks.c: (GST_START_TEST):
17554 * gst/elements/gsttypefindelement.c: (stop_typefinding):
17555 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
17556 (gst_bin_remove_func), (gst_bin_get_state_func),
17557 (gst_bin_recalc_state), (gst_bin_change_state_func),
17559 * gst/gstelement.c: (gst_element_get_state_func),
17560 (gst_element_get_state), (gst_element_abort_state),
17561 (gst_element_commit_state), (gst_element_set_state),
17562 (gst_element_change_state), (gst_element_change_state_func):
17563 * gst/gstelement.h:
17564 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
17565 (gst_pipeline_provide_clock_func):
17566 * gst/gstutils.c: (gst_element_link_pads_filtered):
17567 * tools/gst-launch.c: (main):
17568 * tools/gst-typefind.c: (main):
17569 Use GstClockTime in _get_state() instead of GTimeVal.
17570 Remove old code in gstutils.c
17572 2005-10-12 Andy Wingo <wingo@pobox.com>
17574 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
17577 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
17578 there is no task. Shouldn't affect any code, as nothing in our
17579 plugins checks this return value.
17580 (gst_pad_stop_task): Also take the stream lock if the pad has no
17581 task. Docs updated.
17583 2005-10-12 Wim Taymans <wim@fluendo.com>
17585 * gst/gstpad.c: (pre_activate), (post_activate),
17586 (gst_pad_activate_pull), (gst_pad_activate_push):
17587 Cleanup activation code. Reset old state if
17590 2005-10-12 Wim Taymans <wim@fluendo.com>
17592 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17593 (gst_base_sink_change_state):
17594 No need to prerol after receiving EOS.
17596 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
17597 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
17598 * gst/elements/gstidentity.c: (gst_identity_event):
17599 Print events more verbosely.
17601 2005-10-12 Wim Taymans <wim@fluendo.com>
17603 * check/Makefile.am:
17604 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
17605 * check/states/sinks2.c:
17606 Moved sinks2 testcode in sinks check.
17608 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
17609 (gst_bin_remove_func), (gst_bin_recalc_state),
17610 (gst_bin_change_state_func), (bin_bus_handler):
17611 Fix potential race condition when _get_state() iterated over an
17612 ASYNC element right before it posted a state completion.
17615 Do proper cast here.
17617 * gst/gstevent.c: (gst_event_new_newsegment),
17618 (gst_event_parse_newsegment):
17619 A playback rate of 0.0 is not allowed.
17621 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17623 * win32/common/config.h:
17624 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
17625 (_trewinddir), (_ttelldir), (_tseekdir):
17626 * win32/common/dirent.h:
17627 * win32/common/gtchar.h:
17628 * win32/common/libgstbase.def:
17629 * win32/common/libgstreamer.def:
17630 * win32/vs6/grammar.dsp:
17631 * win32/vs6/gst_inspect.dsp:
17632 * win32/vs6/gst_launch.dsp:
17633 * win32/vs6/gstreamer.dsw:
17634 * win32/vs6/libgstbase.dsp:
17635 * win32/vs6/libgstelements.dsp:
17636 * win32/vs6/libgstreamer.dsp:
17637 Visual Studio 6 project files, and a new common directory.
17640 2005-10-11 Wim Taymans <wim@fluendo.com>
17642 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17643 (gst_base_sink_do_sync), (gst_base_sink_query),
17644 (gst_base_sink_change_state):
17645 * gst/base/gstbasesink.h:
17646 Correctly parse newsegment info.
17648 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17650 * gst/gst.c: (init_post):
17651 split plugin paths correctly
17653 2005-10-11 Wim Taymans <wim@fluendo.com>
17655 * check/gst/gstevent.c: (GST_START_TEST):
17656 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17657 (gst_base_sink_change_state):
17658 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
17659 * gst/base/gstbasetransform.c: (gst_base_transform_event):
17660 * gst/elements/gstfilesink.c: (gst_file_sink_event):
17661 * gst/gstevent.c: (gst_event_new_newsegment),
17662 (gst_event_parse_newsegment):
17664 Added extra flag to newsegment for future API freeze.
17665 Updated check and base elements.
17667 2005-10-11 Julien MOUTTE <julien@moutte.net>
17669 * gst/base/gstcollectpads.c: (gst_collectpads_init),
17670 (gst_collectpads_add_pad), (gst_collectpads_pop),
17671 (gst_collectpads_event), (gst_collectpads_chain):
17672 * gst/base/gstcollectpads.h: Handle EOS correctly.
17674 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17676 * tools/gst-launch.c: (main):
17677 more null protecting
17679 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17681 * gst/gst-i18n-lib.h:
17682 check for ENABLE_NLS, not GETTEXT_PACKAGE
17683 * gst/gstregistry.c: (gst_registry_add_plugin),
17684 (gst_registry_scan_path_level),
17685 (_gst_registry_remove_cache_plugins):
17686 protect possibly NULL strings
17687 * gst/parse/types.h:
17688 config.h already included before
17689 * tools/gst-inspect.c: (main):
17690 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
17691 check for ENABLE_NLS, not GETTEXT_PACKAGE
17692 * tools/gst-launch.c: (main):
17693 check for ENABLE_NLS, not GETTEXT_PACKAGE
17695 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17698 if we don't have glib, fail before testing 2.8
17699 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
17700 fix a leak, should fix plugins-base testsuite
17702 2005-10-11 Andy Wingo <wingo@pobox.com>
17704 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
17705 take the mode we're going to as an arg. Go head and set the mode
17706 and flushing flags now, so that if the activate function starts a
17707 thread all the flags will be in the right state.
17708 (post_activate): Renamed also. Just handle making sure streaming
17709 finishes for the deactivation case, and setting the deactivated
17711 (gst_pad_set_active): Complain loudly if deactivation fails.
17712 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
17713 (gst_pad_activate_push): Adapt to pre/post_activate changes,
17714 remove the terrible hack.
17716 2005-10-11 Wim Taymans <wim@fluendo.com>
17718 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
17719 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
17720 (gst_bin_recalc_state), (gst_bin_change_state_func),
17721 (gst_bin_dispose), (bin_bus_handler):
17723 Prepare to make current EOS message queue more generic.
17726 * gst/gstevent.c: (gst_event_new_newsegment),
17727 (gst_event_parse_newsegment):
17729 Rename base to stream_time.
17731 * gst/gstmessage.h:
17734 2005-10-11 Wim Taymans <wim@fluendo.com>
17736 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
17737 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
17738 (gst_bin_change_state_func), (bin_bus_handler):
17740 Work on proper clock selection.
17742 2005-10-11 Edward Hervey <edward@fluendo.com>
17744 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
17745 * libs/gst/controller/gstcontroller.h:
17746 Added GList* version of _remove_properties() in order to be able to wrap
17749 2005-10-11 Wim Taymans <wim@fluendo.com>
17751 * docs/design/part-states.txt:
17754 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
17755 (gst_bin_change_state_func), (bin_bus_handler):
17756 Doc updates. Don't distribute the same clock over and over again.
17762 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
17763 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
17764 (gst_pad_send_event):
17766 Make probe emission threadsafe again.
17767 Register quarks and move _get_name() from utils.
17770 * gst/gstpipeline.c: (gst_pipeline_class_init),
17771 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
17772 Only redistribute the clock of it changed.
17774 * gst/gstsystemclock.h:
17779 Moved the _flow_get_name() to GstPad.
17781 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17783 * check/gst-libs/gdp.c: (GST_START_TEST):
17784 * check/gst/gstcaps.c: (GST_START_TEST):
17785 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
17786 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
17787 (gst_dp_packet_from_caps):
17788 fix more valgrind warnings before turning up the heat
17790 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17792 * gst/parse/grammar.y:
17793 some cleanup before the hacking
17795 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
17797 * gst/base/gstbasesrc.c: (gst_base_src_query):
17799 * gst/gstutils.c: (gst_guint64_to_gdouble),
17800 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
17802 externalize, basesrc uses it
17803 obviously the implementation needs testing
17805 2005-10-10 Wim Taymans <wim@fluendo.com>
17807 * tests/sched/Makefile.am:
17808 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
17809 (make_pipeline3), (make_pipeline4), (print_elem), (main):
17811 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
17813 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
17814 apparently converting from guint64 to double is not implemented
17817 2005-10-10 Wim Taymans <wim@fluendo.com>
17819 * check/Makefile.am:
17820 * check/generic/states.c: (GST_START_TEST):
17821 * check/gst/gstbin.c: (GST_START_TEST):
17822 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
17823 * check/states/sinks.c: (GST_START_TEST):
17824 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
17826 Check fixes, use API as stated in design docs, remove hacks.
17828 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17829 (gst_base_sink_change_state):
17830 Catch stopping our task while we're shutting down.
17832 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
17833 (gst_bin_remove_func), (gst_bin_get_state_func),
17834 (gst_bin_recalc_state), (gst_bin_change_state_func),
17837 * gst/gstelement.c: (gst_element_init),
17838 (gst_element_get_state_func), (gst_element_abort_state),
17839 (gst_element_commit_state), (gst_element_lost_state),
17840 (gst_element_set_state), (gst_element_change_state),
17841 (gst_element_change_state_func):
17842 * gst/gstelement.h:
17843 New state change algorithm (see #318116)
17845 * gst/gstpipeline.c: (gst_pipeline_class_init),
17846 (gst_pipeline_init), (gst_pipeline_set_property),
17847 (gst_pipeline_get_property), (do_pipeline_seek),
17848 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
17849 * gst/gstpipeline.h:
17850 Remove crude state change hacks.
17853 Remove crude hacks.
17855 * tools/gst-launch.c: (main):
17856 Fixes for state change. Needs some more work to fully use the
17859 2005-10-10 Andy Wingo <wingo@pobox.com>
17861 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
17863 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
17864 this flag, but it's not even in GLib 2.6. Odd. Hack around the
17867 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
17869 * gst/gstiterator.c: (gst_iterator_new):
17870 Fix my previous commit: GTypes passed to gst_iterator_new()
17871 can be fundamental types.
17873 2005-10-10 Wim Taymans <wim@fluendo.com>
17875 * gst/gstelement.c: (gst_element_iterate_pad_list),
17876 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
17877 (gst_element_iterate_sink_pads):
17878 Use src/sink pads lists for the respective iterators instead
17881 2005-10-10 Andy Wingo <wingo@pobox.com>
17883 Merged in popt removal + GOption addition patch from Ronald, bug
17886 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
17887 GstElement macros around, remove popt-related symbols, add goption
17890 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
17892 * docs/gst/Makefile.am:
17893 * docs/libs/Makefile.am: No POPT_CFLAGS.
17895 * examples/manual/Makefile.am:
17896 * docs/manual/basics-init.xml: Doc updates with an example.
17898 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
17899 (gst_init), (parse_one_option), (parse_goption_arg):
17900 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
17901 bit of hand merging and debugging to get the GOption stuff working
17904 * tests/Makefile.am:
17905 * tools/Makefile.am:
17906 * tools/gst-inspect.c: (main):
17907 * tools/gst-launch.c: (main):
17908 * tools/gst-run.c: (main):
17909 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
17911 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
17913 * gst/gstiterator.c: (gst_iterator_new):
17914 Add assertions to make sure passed GType is likely to really
17915 be a GType (as the compiler won't catch it if the size and
17916 GType arguments get mixed up, see #318447).
17918 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
17920 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
17922 * gst/gstbin.c: (gst_bin_iterate_sorted):
17923 Pass GType and size arguments to gst_iterator_new() in the right
17924 order (maybe we should make _new() take the GType as first argument
17925 just like _new_list()?) (#318447).
17928 2005-10-10 Wim Taymans <wim@fluendo.com>
17930 * gst/gstelement.c: (gst_element_finalize):
17931 And free the GStaticRecMutex too
17933 2005-10-10 Andy Wingo <wingo@pobox.com>
17935 * gst/gstelement.c (gst_element_init, gst_element_finalize):
17936 Allocate and free the mutex properly.
17938 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
17940 (GstElement): The state_lock is now recursive. Rebuild your
17941 plugins, suckers. Old macros adapted.
17943 * docs/gst/gstreamer-sections.txt: Doc updates.
17946 * gst/gstutils.c (g_static_rec_cond_timed_wait)
17947 (g_static_rec_cond_wait): Ported from state changes patch, while
17948 we wait on bug #317802 to be solved in a well-distributed GLib.
17950 * gst/gstelement.c (gst_element_change_state_func): Renamed from
17951 gst_element_change_state, variable name changes.
17952 (gst_element_change_state): Split out of gst_element_set_state in
17953 preparation for the state change merge. Doesn't pay attention to
17954 the 'transition' argument.
17955 (gst_element_set_state): Updates, hopefully purely cosmetic.
17956 (gst_element_sync_state_with_parent): MT-safety. Ported from the
17957 state change patch.
17958 (gst_element_get_state_func): Renamed from get_state, cosmetic
17961 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
17963 * gst/elements/gstelements.c:
17964 * win32/GStreamer.vcproj:
17966 * win32/dirent.c: (_tseekdir):
17967 * win32/gst-inspect.vcproj:
17968 * win32/gst-launch.vcproj:
17969 * win32/gstconfig.h:
17970 * win32/gstelements.vcproj:
17971 * win32/gstenumtypes.c: (gst_object_flags_get_type):
17972 * win32/gstreamer.def:
17973 * win32/msvc71.sln:
17974 updates for the win32 build (patch from Sebastien Moutte)
17976 2005-10-10 Andy Wingo <wingo@pobox.com>
17978 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
17979 gst_bin_get_state, cleaned up (but no logic changes).
17980 (bin_element_is_sink): Comment updates.
17981 (sink_iterator_filter): Remove needless cast.
17982 (gst_bin_iterate_sinks): Doc update.
17983 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
17984 cleaned up (but no logic changes).
17986 * check/states/sinks.c (test_src_sink): Cleanups from the state
17988 (test_livesrc_sink): Sync on the state.
17990 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
17991 the state change patch.
17993 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
17996 * check/gst/gstbin.c: Merge in some style fixes and additional
17997 checks from Wim's state change patch.
17999 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
18001 * gst/base/gsttypefindhelper.c: (helper_find_peek),
18002 (gst_type_find_helper):
18003 Check whether we have the requested data already in our list of
18004 cached buffers before pulling a new buffer; also make the buffer
18005 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
18007 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
18012 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
18013 don't use long long, it's not portable. Replacing with
18014 gint64 seems to work; let's hope no skeletons fall out of the closet.
18016 2005-10-10 Andy Wingo <wingo@pobox.com>
18018 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
18020 2005-10-09 Stefan Kost <ensonic@users.sf.net>
18022 * docs/gst/gstreamer-sections.txt:
18027 * gst/gstmessage.c: (gst_message_parse_state_changed):
18030 more docs, fix compilation
18032 2005-10-09 Philippe Khalaf <burger@speedy.org>
18033 * gst/gstmessage.c:
18034 Fixed a few forgotten variables on previous commit
18036 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
18038 * gst/base/gsttypefindhelper.c: (helper_find_peek):
18039 Fix evil typefind crasher: getrange() might return a short
18040 buffer at the end of a file, but gst_type_find_peek() must
18041 either return the full data as requested or NULL, but
18042 never a short buffer.
18044 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
18046 * gst/gstmessage.c: (gst_message_new_state_changed),
18047 (gst_message_parse_state_changed):
18048 * gst/gstmessage.h:
18049 don't use "new", it's a C++ keyword
18051 2005-10-08 Wim Taymans <wim@fluendo.com>
18053 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
18054 * gst/gstelement.c: (gst_element_post_message):
18055 * gst/gstpipeline.c: (gst_pipeline_change_state):
18056 Small docs and debug updates.
18058 2005-10-08 Stefan Kost <ensonic@users.sf.net>
18060 * docs/gst/gstreamer-sections.txt:
18061 * gst/gstelementfactory.c:
18063 * gst/gsttaglist.c:
18066 2005-10-08 Wim Taymans <wim@fluendo.com>
18068 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
18069 (gst_bin_dispose), (bin_bus_handler):
18070 Fix typos, add comments.
18071 Clear EOS list when going to PAUSED from any direction and do it
18072 in a threadsafe way.
18073 Get base time in a threadsafe way too.
18074 Fix confusing debug in the change_state function.
18075 Various other small cleanups.
18077 * gst/gstelement.c: (gst_element_post_message):
18078 Fix very verbose bus posting code.
18080 * gst/gstpipeline.c: (gst_pipeline_class_init),
18081 (gst_pipeline_set_property), (gst_pipeline_get_property),
18082 (gst_pipeline_change_state):
18083 Small ARG_ -> PROP_ cleanup
18085 2005-10-08 Wim Taymans <wim@fluendo.com>
18087 * gst/gstbin.c: (is_eos), (bin_bus_handler):
18088 Do a less CPU demanding EOS check because we can.
18090 2005-10-08 Wim Taymans <wim@fluendo.com>
18092 * libs/gst/dataprotocol/dataprotocol.c:
18093 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
18094 (gst_dp_packet_from_event):
18095 * libs/gst/dataprotocol/dataprotocol.h:
18096 * libs/gst/dataprotocol/dp-private.h:
18097 It's about time we bump the version number.
18098 Since event types don't fit in the guint8 anymore describing
18099 the payload type, make payload type 16 bits wide.
18101 2005-10-08 Wim Taymans <wim@fluendo.com>
18103 * docs/design/part-TODO.txt:
18104 * docs/design/part-clocks.txt:
18105 * docs/design/part-events.txt:
18106 * docs/design/part-gstbin.txt:
18107 * docs/design/part-gstelement.txt:
18108 * docs/design/part-gstpipeline.txt:
18109 * docs/design/part-live-source.txt:
18110 * docs/design/part-messages.txt:
18111 * docs/design/part-overview.txt:
18112 * docs/design/part-states.txt:
18115 2005-10-08 Wim Taymans <wim@fluendo.com>
18119 Fix event quark registration.
18120 Add some space between events so we can insert them in the
18123 2005-10-08 Wim Taymans <wim@fluendo.com>
18125 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18126 (gst_base_sink_handle_buffer):
18127 Better log message.
18130 * gst/gstelement.h:
18133 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
18134 (gst_queue_set_property), (gst_queue_get_property):
18136 Remove old unused properties.
18138 2005-10-08 Stefan Kost <ensonic@users.sf.net>
18139 * docs/gst/gstreamer-sections.txt:
18140 * gst/gstmessage.c:
18141 * gst/gstmessage.h:
18142 * gst/gstminiobject.c:
18143 * gst/gstminiobject.h:
18147 lots of new docs and doc fixes
18149 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
18151 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
18153 * gst/gstregistry.c: (gst_registry_lookup_locked),
18154 (gst_registry_scan_path_level):
18155 * gst/gstregistryxml.c: (load_plugin):
18156 Only ever load one plugin for a given plugin basename.
18157 This ensures correct overriding of GST_PLUGIN_PATH over
18158 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
18159 system installed plugins.
18161 2005-10-08 Wim Taymans <wim@fluendo.com>
18163 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18164 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
18165 Prepare for doing QOS.
18167 2005-10-08 Wim Taymans <wim@fluendo.com>
18169 * check/gst/gstbin.c: (GST_START_TEST):
18170 * check/pipelines/cleanup.c: (GST_START_TEST):
18171 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
18172 Allow new clock message too.
18174 2005-10-08 Wim Taymans <wim@fluendo.com>
18176 * gst/gstmessage.c: (gst_message_new_error),
18177 (gst_message_new_warning), (gst_message_new_tag),
18178 (gst_message_new_state_changed), (gst_message_new_clock_provide),
18179 (gst_message_new_clock_lost), (gst_message_new_new_clock),
18180 (gst_message_new_segment_start), (gst_message_new_segment_done),
18181 (gst_message_parse_state_changed),
18182 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
18183 (gst_message_parse_new_clock):
18184 * gst/gstmessage.h:
18185 Also carry the clock in question.
18187 2005-10-08 Wim Taymans <wim@fluendo.com>
18189 * gst/gstmessage.c: (gst_message_new_custom),
18190 (gst_message_new_eos), (gst_message_new_error),
18191 (gst_message_new_warning), (gst_message_new_tag),
18192 (gst_message_new_state_changed), (gst_message_new_clock_provide),
18193 (gst_message_new_new_clock), (gst_message_new_segment_start),
18194 (gst_message_new_segment_done), (gst_message_parse_state_changed),
18195 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
18196 * gst/gstmessage.h:
18198 Added clock related messages.
18200 * gst/gstpipeline.c: (gst_pipeline_change_state):
18201 Post message when the clock changed.
18203 * tools/gst-launch.c: (event_loop):
18206 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
18208 * tools/gst-inspect.c: (print_element_properties_info):
18209 Can't pass NULL strings to g_print() on windows.
18211 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
18213 * docs/Makefile.am:
18214 * docs/gst/Makefile.am:
18215 * docs/gst/gstreamer-docs.sgml:
18216 * docs/gst/running.xml:
18217 * docs/version.entities.in:
18218 add a chapter on running GStreamer.
18219 document GST_DEBUG and GST_PLUGIN* env vars
18221 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
18226 remove PLUGINS_BUILDDIR stuff
18227 * gst/gst.c: (init_post):
18228 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
18230 remove, it was condescending and not needed
18232 2005-10-08 Wim Taymans <wim@fluendo.com>
18234 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
18235 (gst_base_sink_handle_object), (gst_base_sink_event),
18236 (gst_base_sink_wait), (gst_base_sink_handle_event),
18237 (gst_base_sink_change_state):
18238 * gst/base/gstbasesink.h:
18239 Repost EOS message while going to PLAYING if still EOS.
18240 Make sure that when receiving a FLUSH_START we don't attempt
18241 to sync on the clock anymore.
18243 2005-10-08 Wim Taymans <wim@fluendo.com>
18245 * tools/gst-launch.c: (event_loop):
18246 Better message printout.
18248 2005-10-08 Wim Taymans <wim@fluendo.com>
18250 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
18251 (gst_bin_child_proxy_get_children_count):
18252 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
18253 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
18254 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
18255 (gst_child_proxy_set_valist):
18256 * gst/parse/grammar.y:
18257 Make ChildProxy threadsafe and fix mem leaks.
18259 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
18261 * gst/gst.c: (init_post):
18262 debug the GST_PLUGIN_ env vars
18264 2005-10-08 Wim Taymans <wim@fluendo.com>
18266 * check/gst/gstbin.c: (GST_START_TEST):
18267 * check/gst/gstmessage.c: (GST_START_TEST):
18268 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
18269 * gst/gstelement.c: (gst_element_commit_state),
18270 (gst_element_lost_state):
18271 * gst/gstmessage.c: (gst_message_new_state_changed),
18272 (gst_message_parse_state_changed):
18273 * gst/gstmessage.h:
18274 * tools/gst-launch.c: (event_loop):
18275 Added extra field to STATE_CHANGE message with the pending
18276 state, which will be different from the new state soon.
18278 2005-10-08 Wim Taymans <wim@fluendo.com>
18280 * gst/gstbus.c: (gst_bus_pop):
18282 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
18283 Small cleanups and doc updates.
18285 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
18287 * gst/gst.c: (init_pre):
18288 * gst/gstbin.c: (gst_bin_add_func):
18289 log distributing clocks and base time
18290 * gst/gstregistry.c: (gst_registry_add_plugin),
18291 (gst_registry_scan_path_level), (gst_registry_scan_path):
18292 clean up the debugging output a little
18293 * gst/gstutils.c: (gst_element_state_get_name):
18294 warn about a memleak (I've actually seen this be used, though
18295 it was probably a bug)
18297 2005-10-07 Wim Taymans <wim@fluendo.com>
18299 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18300 (gst_base_src_init), (gst_base_src_default_newsegment),
18301 (gst_base_src_newsegment), (gst_base_src_do_seek),
18302 (gst_base_src_loop), (gst_base_src_start):
18303 * gst/base/gstbasesrc.h:
18304 Make the newsegment event customizable by subclasses.
18306 2005-10-07 Wim Taymans <wim@fluendo.com>
18308 * gst/gstevent.c: (gst_event_new_buffersize),
18309 (gst_event_parse_buffersize):
18311 New event for future idea.
18313 2005-10-07 Andy Wingo <wingo@pobox.com>
18315 * gst/gstelement.c (gst_element_post_message): Doc update.
18317 * docs/gst/gstreamer-sections.txt: Update.
18319 * gst/gstmessage.c (gst_message_new_application): Made into a
18320 function like honest API calls.
18321 (gst_message_new_element): New message type.
18323 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
18325 * check/elements/fakesrc.c (test_no_preroll): New check, checks
18326 that setting a live fakesrc to PAUSED returns NO_PREROLL both
18329 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
18330 NO_PREROLL from gst_element_change_state to fall through.
18332 2005-10-07 Wim Taymans <wim@fluendo.com>
18334 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
18335 (gst_ghost_pad_do_activate_push):
18336 Activating a ghostpad with no internal pad in push mode
18339 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
18342 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
18343 Fixes compilation on Windows.
18345 2005-10-07 Michael Smith <msmith@fluendo.com>
18347 * tools/gst-inspect.c:
18348 Print out feature and plugin count at the end when printing out
18351 2005-10-04 Michael Smith <msmith@fluendo.com>
18353 * gst/gsterror.c: (_gst_stream_errors_init):
18354 Add another error string used in a few existing plugins.
18357 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
18358 * tools/gst-inspect.c: (print_element_info):
18359 When a feature disappears from a plugin (and the feature exists in
18360 the cached registry file), things went horribly wrong. This isn't a
18361 complete fix, we should actually be removing the 'missing' features
18362 from the features list when we load the actual plugin. That's not
18365 2005-10-04 Johan Dahlin <johan@gnome.org>
18367 * check/gst/gstiterator.c: (GST_START_TEST):
18368 * gst/gstbin.c: (gst_bin_iterate_elements),
18369 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
18370 * gst/gstelement.c: (gst_element_iterate_pads):
18371 * gst/gstformat.c: (gst_format_iterate_definitions):
18372 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
18373 (gst_iterator_new_list), (gst_iterator_filter):
18374 * gst/gstiterator.h:
18375 * gst/gstquery.c: (gst_query_type_iterate_definitions):
18376 Add a GType to GstIterator, update callsites and tests.
18378 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
18380 * gst/gstpad.c: (gst_pad_event_default_dispatch):
18381 give events a chance to be handled by event probes when the pad
18384 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
18386 * gst/gstevent.c: (gst_event_type_get_name),
18387 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
18389 add string representations for event types
18391 2005-10-06 Wim Taymans <wim@fluendo.com>
18393 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
18394 Don't use NULL pointers.
18396 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
18398 * gst/gst_private.h:
18400 * gst/gstelement.c:
18402 * gst/gstpluginfeature.c:
18403 widen the debug category in output to fit the biggest one we have
18404 add a bus category and use it
18405 play with the colors
18406 fix up some categories
18408 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
18410 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
18411 add push activation of sink ghost pads.
18412 Andye, please verify
18414 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
18416 * gst/gstutils.c: (gst_element_link_pads):
18417 fix a bug in the case where neither element has a pad
18418 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
18419 add a test for that case
18421 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
18423 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
18424 emit have-data before checking for peers. This allows
18425 for probe handlers to connect elements. This helps autopluggers.
18426 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
18428 add six checks, linked/unlinked with no/true/false probe
18430 2005-10-04 Wim Taymans <wim@fluendo.com>
18432 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
18433 (gst_fake_sink_event), (gst_fake_sink_preroll),
18434 (gst_fake_sink_render), (gst_fake_sink_change_state):
18435 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
18436 (gst_fake_src_get_property), (gst_fake_src_create),
18437 (gst_fake_src_stop):
18438 * gst/elements/gstidentity.c: (gst_identity_stop):
18439 Protect last_message with lock.
18441 2005-10-04 Edward Hervey <edward@fluendo.com>
18444 Added precision in the comments for GST_FORMAT_DEFAULT
18446 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
18448 * tools/gst-launch.c: (main):
18449 Don't try to run erroneous pipelines.
18451 2005-10-04 Julien MOUTTE <julien@moutte.net>
18453 * gst/gstbus.c: We don't need this header.
18455 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
18458 back to development
18460 === release 0.9.3 ===
18462 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
18466 Releasing 0.9.3, "Unregistered"
18468 2005-10-03 Andy Wingo <wingo@pobox.com>
18470 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
18471 whereby calling a pad's activatepush() function can start a thread
18472 that starts to push or pull before the pad gets the FLUSHING flag
18473 unset. Hack around it by holding the stream lock until the flag is
18474 set. Need to replace this with a proper solution. Together with
18475 the ghost pad fixes, this fixes mp3 playing/tagreading.
18477 * docs/design/part-gstghostpad.txt: Add a note about activation of
18478 proxy pads outside of ghost pads.
18480 * gst/gstghostpad.c: Implement the ghost pad activation design.
18482 2005-10-02 Andy Wingo <wingo@pobox.com>
18484 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
18485 It is volatile, after all.
18487 * docs/design/part-gstghostpad.txt: Flesh out activation with
18490 * gst/base/gstbasesrc.c (gst_base_src_init): Use
18493 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
18496 Fix (unused) AM_CONDITIONAL tests.
18498 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
18500 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18502 * gst/gstutils.c: (gst_pad_query_convert):
18503 Add assertion that makes sure src_val is >=0, just like
18504 gst_query_new_convert() has. (#315895)
18506 2005-09-30 Edward Hervey <edward@fluendo.com>
18508 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
18509 Let's not iterate pads we're not interested in, it avoids getting
18510 sky-high refcounts on sinkpad.
18512 2005-09-30 Wim Taymans <wim@fluendo.com>
18514 * gst/gstelement.c: (gst_element_set_state),
18515 (gst_element_change_state):
18516 Small tweak, element in ASYNC remains ASYNC.
18518 2005-09-30 Wim Taymans <wim@fluendo.com>
18520 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
18521 Only error is an error.
18523 * gst/gstbin.c: (gst_bin_change_state):
18526 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
18527 Also call pad_block in pad alloc.
18529 * gst/gstutils.c: (gst_flow_get_name):
18532 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
18534 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18535 (gst_base_src_get_range):
18536 Fix documentation typos. Add some more debug info.
18538 2005-09-29 David Schleef <ds@schleef.org>
18540 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
18541 more end-user friendly.
18542 * tools/gst-inspect.c: (main): Check if command-line argument is
18543 a file and attempt to load that file as a plugin.
18545 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
18547 * check/gst/gstbin.c:
18548 * check/states/sinks.c:
18549 fix tests for the new warning
18550 * check/gst/gstpipeline.c:
18551 add a test for pipeline and bus interaction
18552 * gst/gstelement.c:
18553 elements should be NULL if they get disposed; add a warning if not
18555 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
18558 for 2.6 refcounting, make debug log more correct by printing
18559 the actual refcounts at the time of swap (Wim)
18561 2005-09-29 Andy Wingo <wingo@pobox.com>
18563 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
18564 removes signal watches previously added via
18565 gst_bus_add_signal_watch.
18566 (gst_bus_add_signal_watch): Don't return the source id, just store
18567 it on the bus if there wasn't an id already.
18569 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
18570 add_signal_watch and remove_signal_watch.
18572 2005-09-29 Edward Hervey <edward@fluendo.com>
18574 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
18575 Better if we actually iterate the list :)
18577 2005-09-29 Wim Taymans <wim@fluendo.com>
18579 * check/gst/gstbin.c: (GST_START_TEST):
18580 Change for new bus API.
18582 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
18583 (send_messages), (GST_START_TEST), (gstbus_suite):
18584 Change for new bus signal API.
18586 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
18587 (gst_bus_source_prepare), (gst_bus_source_check),
18588 (gst_bus_create_watch), (gst_bus_add_watch_full),
18589 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
18590 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
18592 Remove support for multiple GSources operating on different
18593 message types as it is too complex and unneeded when using
18595 Added support for receiving signals from the bus.
18597 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
18599 * docs/libs/tmpl/gstdataprotocol.sgml:
18600 * docs/manual/advanced-dataaccess.xml:
18601 * gst/elements/gstcapsfilter.c:
18603 rename filter-caps to caps property
18605 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
18607 * gst/gstvalue.c: (gst_value_deserialize_fraction):
18608 More robust fraction string parsing.
18610 * docs/pwg/appendix-porting.xml:
18611 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
18613 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
18615 * gst/gstcaps.c: (gst_caps_do_simplify):
18616 Thou shalt not free a structure and then continue using it
18617 in the next loop iteration.
18619 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
18621 Add test case for caps simplification.
18623 2005-09-29 Wim Taymans <wim@fluendo.com>
18625 * check/gst/gstbin.c: (GST_START_TEST):
18628 2005-09-29 Wim Taymans <wim@fluendo.com>
18630 * check/gst/gstbin.c: (GST_START_TEST):
18633 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
18634 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
18635 (find_element), (gst_bin_sort_iterator_next),
18636 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18637 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18638 (gst_bin_change_state), (gst_bin_dispose):
18639 A bin does not have a bus, it gets the bus from the parent.
18641 * gst/gstelement.c: (gst_element_requires_clock),
18642 (gst_element_provides_clock), (gst_element_is_indexable),
18643 (gst_element_is_locked_state), (gst_element_change_state),
18644 (gst_element_set_bus_func):
18647 * gst/gstpipeline.c: (gst_pipeline_class_init),
18648 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
18649 The pipeline provides a bus.
18651 2005-09-28 Johan Dahlin <johan@gnome.org>
18653 * gst/gstmessage.c (gst_message_parse_state_changed): Use
18654 gst_structure_get_enum instead of gst_structure_get_int
18656 * gst/gststructure.c (gst_structure_get_enum): Impl.
18658 * gst/gststructure.h (gst_structure_get_enum): Add
18660 * docs/gst/gstreamer-sections.txt: Ditto
18662 * gst/gstmessage.c (gst_message_new_state_changed): Use
18663 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
18664 which does introspection.
18665 Reviewed by Christian Schaller
18667 2005-09-28 Stefan Kost <ensonic@users.sf.net>
18669 * gst/gstinfo.c: (gst_debug_log_default):
18670 don't do dummy g_strdup()s
18671 * libs/gst/controller/gstcontroller.c:
18672 (on_object_controlled_property_changed),
18673 (gst_controlled_property_new), (gst_controller_new_valist),
18674 (gst_controller_new_list),
18675 (gst_controller_remove_properties_valist), (gst_controller_set),
18676 (gst_controller_get), (gst_controller_sync_values),
18677 (gst_controller_get_value_array), (_gst_controller_class_init),
18678 (gst_controller_get_type):
18679 * libs/gst/controller/gstcontroller.h:
18680 * libs/gst/controller/gstinterpolation.c:
18681 (gst_controlled_property_find_timed_value_node):
18682 convert // to /**/ comments
18684 2005-09-28 Wim Taymans <wim@fluendo.com>
18686 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
18687 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
18688 (gst_bus_sync_signal_handler):
18690 Added async-message and sync-message signals to the bus.
18691 Added helper BusFunc to emit signals for all posted messages.
18693 * gst/gstmessage.c: (gst_message_type_get_name),
18694 (gst_message_type_to_quark), (gst_message_get_type):
18695 * gst/gstmessage.h:
18696 Register quarks for message names.
18698 2005-09-28 Stefan Kost <ensonic@users.sf.net>
18700 * docs/libs/gstreamer-libs-sections.txt:
18701 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
18702 (gst_controller_new_list):
18703 * libs/gst/controller/gstcontroller.h:
18704 added another constructor for language bindings
18706 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
18708 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
18712 * gst/gstinfo.c: (_gst_debug_init):
18713 slightly more readable color for refcount debugging
18715 2005-09-28 Wim Taymans <wim@fluendo.com>
18717 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
18718 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
18719 (find_element), (gst_bin_sort_iterator_next),
18720 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18721 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18722 (gst_bin_change_state), (gst_bin_dispose):
18723 Small doc fixes. get_clock -> provide_clock.
18725 * gst/gstelement.c: (gst_element_class_init),
18726 (gst_element_provides_clock), (gst_element_provide_clock),
18727 (gst_element_get_clock), (gst_element_commit_state),
18728 (gst_element_lost_state):
18729 * gst/gstelement.h:
18730 Make get/set_clock() symetric. Add provide_clock vmethod since
18731 that is actually what this function does.
18733 * gst/gstpipeline.c: (gst_pipeline_class_init),
18734 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
18735 (gst_pipeline_get_clock):
18736 get_clock -> provide_clock.
18738 2005-09-28 Andy Wingo <wingo@pobox.com>
18740 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
18741 lieu of real docs...
18743 * gst/elements/gstfdsrc.c: Cleaned up a bit.
18745 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
18747 * gst/elements/gstcapsfilter.c:
18748 * gst/elements/gstfakesink.c:
18749 * gst/elements/gstfakesrc.c:
18750 * gst/elements/gstfdsink.c:
18751 * gst/elements/gstfdsrc.c:
18752 * gst/elements/gstfilesink.c:
18753 * gst/elements/gstfilesrc.c:
18754 * gst/elements/gstidentity.c:
18755 * gst/elements/gsttee.c:
18756 * gst/elements/gsttypefindelement.c:
18757 Make element details static.
18759 2005-09-28 Wim Taymans <wim@fluendo.com>
18761 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18762 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18763 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18764 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18765 (gst_bin_change_state), (gst_bin_dispose):
18766 Some documentation updates.
18767 Clean up dispose handlers.
18769 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
18770 * gst/gstpad.c: (gst_pad_dispose):
18771 Clean up dispose handler.
18773 * gst/gstpipeline.c: (gst_pipeline_change_state):
18774 Removed spurious UNLOCK.
18776 2005-09-27 Stefan Kost <ensonic@users.sf.net>
18778 * docs/gst/gstreamer-sections.txt:
18779 * gst/base/gstbasesrc.h:
18780 * gst/gstelement.h:
18784 * gst/gstpipeline.c:
18785 * gst/gstpipeline.h:
18788 added two new functions to the docs
18789 documents all undocumented GstXXXFlags
18790 completed some incomplete docs
18792 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
18794 * gst/gstbin.c: (gst_bin_dispose):
18795 * gst/gstelement.c: (gst_element_dispose):
18796 remove now useless and leaky resurrection code in dispose
18797 * gst/base/gstbasesrc.c: (gst_base_src_init):
18798 * gst/gstelementfactory.c: (gst_element_factory_create):
18799 * gst/gstobject.c: (gst_object_set_parent):
18802 2005-09-27 Wim Taymans <wim@fluendo.com>
18804 * docs/design/part-TODO.txt:
18807 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18808 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18809 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18810 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18811 (gst_bin_change_state):
18812 * gst/gstelement.h:
18813 Remove element variable, we keep element info in the iterator now.
18815 2005-09-27 Andy Wingo <wingo@pobox.com>
18817 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
18820 2005-09-27 Wim Taymans <wim@fluendo.com>
18822 * check/gst/gstbin.c: (GST_START_TEST):
18823 Enable check that works now.
18825 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18826 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18827 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18828 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18829 (gst_bin_change_state):
18831 Redid the state change algorithm using a topological sort algo.
18832 Handles all cases correctly.
18833 Exposed iterator for state change order.
18835 * gst/gstelement.h:
18836 Temp storage for state changes. Need to get rid of this soon.
18838 2005-09-27 Wim Taymans <wim@fluendo.com>
18840 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
18841 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
18842 (link_fold_func), (gst_pad_proxy_setcaps):
18843 Leak fixes, the fold functions need to unref the passed object and
18844 _get_parent_*() returns ref to parent.
18846 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
18848 * check/gst/gstbuffer.c: (test_make_writable):
18849 Plug leak in test case and fix 'make check-valgrind'
18851 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
18853 * gst/gstbuffer.c: (gst_subbuffer_init):
18854 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
18855 works correctly in all circumstances (we could have just copied
18856 the parent buffer's readonly flag, but conceptually it seems
18857 cleaner to mark all subbuffers as read-only). (based on patch
18858 by Alessandro Decina, #314710).
18860 * check/gst/gstbuffer.c: (create_read_only_buffer),
18861 (test_make_writable), (test_subbuffer_make_writable),
18863 Add some tests for gst_buffer_make_writable().
18865 2005-09-27 Wim Taymans <wim@fluendo.com>
18867 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
18868 use gst_object_has_ancestor().
18870 * gst/gstobject.c: (gst_object_has_ancestor):
18872 gst_object_has_ancestor() copied from gstbin.c as it is a
18875 * tests/instantiate/create.c: (create_all_elements):
18876 * tests/lat.c: (handoff_src), (handoff_sink):
18877 * tests/sched/runxml.c: (main):
18878 * tests/seeking/seeking1.c: (main):
18879 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
18881 Fix compilation of some tests.
18883 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
18886 Remove comment. GST_TYPE_G_ERROR is here to stay,
18887 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
18888 (#316961, #300610).
18890 2005-09-26 Wim Taymans <wim@fluendo.com>
18892 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
18893 Added check that shows error in state change order.
18895 2005-09-26 Wim Taymans <wim@fluendo.com>
18897 * gst/gstbin.c: (gst_bin_change_state):
18898 Make state change function use 3 queues again, we were
18899 adding elements in the wrong order.
18901 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
18904 * gst/gstpad.c: (gst_pad_dispose):
18905 Added some debug info first.
18907 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
18909 * docs/design/draft-push-pull.txt:
18910 * docs/design/part-events.txt:
18911 * docs/design/part-overview.txt:
18912 * docs/design/part-scheduling.txt:
18913 Replace all _pull_region() with _pull_range()
18915 2005-09-26 Andy Wingo <wingo@pobox.com>
18917 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
18919 * check/gst-libs/controller.c: Update for controller api change.
18922 * tests/Makefile.am:
18923 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
18924 over by GLib bug 118439.
18926 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
18927 routines to a function.
18929 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
18931 * libs/gst/controller/gsthelper.c:
18932 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
18933 (gst_object_sync_values): Renamed from sink_values. Ugh.
18935 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
18937 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
18938 Renamed from controller_key, as it is exported.
18940 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
18942 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
18947 * gst/gstpadtemplate.h:
18950 * gst/gstqueryutils.c:
18951 * gst/gstqueryutils.h:
18952 remove queryutils headers after moving the two used functions
18953 to gstquery. also fixes build problem for gstsiddec
18955 2005-09-26 Michael Smith <msmith@fluendo.com>
18957 * tools/gst-launch.1.in:
18958 Correct documentation in manpage of debug syntax
18960 2005-09-26 Wim Taymans <wim@fluendo.com>
18962 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
18963 (gst_base_src_is_seekable), (gst_base_src_change_state):
18964 Some more debugging info.
18966 2005-09-25 Stefan Kost <ensonic@users.sf.net>
18968 * docs/gst/gstreamer-sections.txt:
18969 * gst/base/gstbasetransform.h:
18973 2005-09-25 Stefan Kost <ensonic@users.sf.net>
18975 * docs/gst/.cvsignore:
18976 * docs/gst/tmpl/.cvsignore:
18977 * docs/gst/tmpl/gstpipeline.sgml:
18978 * docs/gst/tmpl/gstplugin.sgml:
18979 * gst/gstpipeline.c:
18982 inlined the last two docs files
18983 removed the tmpl directory from cvs (no more conflicts here!)
18985 2005-09-25 Stefan Kost <ensonic@users.sf.net>
18987 * docs/gst/gstreamer-sections.txt:
18988 * docs/gst/tmpl/.cvsignore:
18989 * docs/gst/tmpl/gstpad.sgml:
18990 * docs/gst/tmpl/gstpadtemplate.sgml:
18992 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
18993 (gst_pad_finalize), (gst_pad_set_pad_template):
18995 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
18996 (gst_pad_template_class_init), (gst_pad_template_init),
18997 (gst_pad_template_dispose), (name_is_valid),
18998 (gst_static_pad_template_get), (gst_pad_template_new),
18999 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
19000 (gst_pad_template_pad_created):
19001 * gst/gstpadtemplate.h:
19002 inlined two more docs
19003 factored gstpadtemplate out of gstpad
19005 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
19007 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
19008 (test_children_state_change_order_semi_sink):
19009 Fix test case: we can't rely on a fixed state change order when
19010 going from READY => PAUSED because the sink might commit its
19011 new state first when the first buffer created by the source
19012 reaches the sink before the source has finished its change state.
19013 (Test case still fails at times, see #316856, comment 5 onwards)
19015 2005-09-24 Wim Taymans <wim@fluendo.com>
19017 * docs/design/part-events.txt:
19018 * docs/design/part-gstbus.txt:
19019 * docs/design/part-gstpipeline.txt:
19020 * docs/design/part-messages.txt:
19021 * docs/design/part-overview.txt:
19022 * docs/design/part-segments.txt:
19026 * gst/gstelement.c:
19029 * gst/gstiterator.c:
19030 Various documentation updates.
19032 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
19035 Well, that's embarassing. Luckily we weren't using
19036 GST_CLOCK_DIFF anywhere.
19038 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
19040 * common/gtk-doc.mak:
19041 don't fail on building XML, FC4 slave shows a bunch of doc
19042 missing bits that I don't get
19044 * gst/gstpipeline.c:
19045 * gst/gststructure.c:
19048 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
19050 * docs/design/part-gstbin.txt:
19051 * docs/design/part-gstbus.txt:
19053 Add blurb about how the bus goes into flushing mode and
19054 drops all messages when its bin goes from READY into NULL
19057 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
19059 * docs/gst/gstreamer-sections.txt:
19060 * gst/gststructure.c: (gst_structure_get_clock_time):
19061 * gst/gststructure.h:
19062 add a method to get a GstClockTime out of a structure
19064 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
19066 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
19067 (test_children_state_change_order_semi_sink), (gst_bin_suite):
19068 Added test to check state change order in bins (can still be made
19069 to fail here under heavy disk load; bails out with 'Push on pad
19070 fakesink:sink0, but it was not activated in push mode').
19072 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
19073 Fix state change order when there is only a semi sink (#316856)
19075 * gst/gstbus.c: (gst_bus_class_init):
19076 Use _class_peek_parent(), not _class_ref(); fix docs to say
19077 'default main context' instead of 'mainloop' where that is
19080 * gst/gstelement.c: (gst_element_commit_state),
19081 (gst_element_set_state):
19082 Fix typos in debug messages
19084 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
19087 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
19088 * gst/gstpluginfeature.c:
19090 various doc updates
19091 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19092 change an assert into an error until it gets fixed properly
19094 2005-09-23 Stefan Kost <ensonic@users.sf.net>
19096 * docs/gst/gstreamer-sections.txt:
19097 * docs/gst/tmpl/.cvsignore:
19098 * docs/gst/tmpl/gstelement.sgml:
19099 * docs/gst/tmpl/gstinfo.sgml:
19100 * docs/gst/tmpl/gstobject.sgml:
19101 * gst/gstelement.c:
19102 * gst/gstelement.h:
19105 * gst/gstobject.c: (gst_object_class_init):
19107 inlined 3 more biiiig doc files and added some missing docs on the fly
19109 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
19111 * check/gst/.cvsignore:
19112 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
19113 * gst/gstregistryxml.c: (load_plugin),
19114 (gst_registry_xml_save_plugin):
19115 put back source in registry. add checks for find_plugin.
19116 * testsuite/states/bin.c: (assert_state), (empty_bin),
19117 (test_adding_one_element), (main):
19118 * testsuite/states/locked.c: (main):
19119 some compile/run fixes
19121 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
19123 * check/gst/gstvalue.c: (GST_START_TEST):
19124 fix leaks in the test itself
19126 2005-09-22 Wim Taymans <wim@fluendo.com>
19128 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19129 (gst_base_sink_send_event), (gst_base_sink_peer_query),
19130 (gst_base_sink_query):
19131 Prepare for more accurate position reporting and query
19134 * gst/gstelement.c: (gst_element_send_event),
19135 (gst_element_set_state):
19138 2005-09-22 Wim Taymans <wim@fluendo.com>
19140 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
19141 (gst_query_parse_segment):
19143 More documentation.
19144 Add segment query for future use.
19146 2005-09-22 Wim Taymans <wim@fluendo.com>
19148 * gst/gstbin.c: (gst_bin_add_func):
19149 Some more debug info.
19151 * gst/gstelement.c: (gst_element_send_event):
19152 Simplify send_event
19154 * gst/gstelement.h:
19155 Don't know how flags got broken.
19160 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
19162 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
19163 Add simplistic test suite for GST_TYPE_DATE serialisation and
19166 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
19168 * docs/gst/gstreamer-sections.txt:
19169 * gst/gststructure.c: (gst_structure_set_valist),
19170 (gst_structure_get_date):
19171 * gst/gststructure.h:
19172 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
19173 (gst_date_copy), (gst_value_compare_date),
19174 (gst_value_serialize_date), (gst_value_deserialize_date),
19175 (gst_value_transform_date_string),
19176 (gst_value_transform_string_date), (_gst_value_initialize):
19178 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
19179 bunch of utility functions along with a hack that checks that
19180 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
19181 is required. Part of the grand scheme in #170777.
19183 2005-09-22 Andy Wingo <wingo@pobox.com>
19185 * gst/gstconfig.h.in: Psych out gtk-doc.
19187 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
19189 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
19191 * tools/gst-inspect.c (print_element_list): Plug some
19192 inconsequential leaks.
19194 * gst/gstregistry.c (gst_registry_get_default): Doc.
19196 * check/gst/gstplugin.c:
19197 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
19198 * gst/gstelementfactory.c (gst_element_factory_create):
19199 * gst/gstindexfactory.c (gst_index_factory_create): Update for
19202 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
19203 (gst_plugin_feature_load): Doc, don't eat refs.
19205 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
19206 (gst_plugin_list_free): Doc.
19207 (gst_plugin_load_file): Doc updates.
19209 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
19210 accessors returning refcounted objects, return a ref.
19212 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
19213 accessor for caps. IDEMPOTENCE. Oh yes.
19215 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
19217 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
19219 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
19220 (_gst_debug_register_funcptr):
19221 Add mutex to serialise access to the hash table with
19222 the function pointer => function name string mapping;
19223 make that hash table static scope (#316809).
19225 * gst/registries/.cvsignore:
19226 Remove left-over file.
19228 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
19230 * docs/pwg/appendix-porting.xml:
19231 And something about newsegment events and caps-on-buffers to
19232 the porting guide (feel free to improve).
19234 2005-09-21 Andy Wingo <wingo@pobox.com>
19236 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
19237 data and event probes on the same pad.
19238 (test_buffer_probe_once): Test that removing probes from within
19239 the probe functions works.
19241 2005-09-21 Andy Wingo <wingo@pobox.com>
19243 * check/gst/gstutils.c: New file.
19244 (test_buffer_probe_n_times): A simple buffer probe test. More to
19247 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
19248 have-data::buffer, not have-data.
19249 (gst_pad_add_event_probe): Likewise for have-data::event.
19250 (gst_pad_add_data_probe): More docs. The part about 'resolving the
19251 peer' isn't quite right yet though.
19252 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
19253 (gst_pad_remove_data_probe): Change to take the guint handler_id
19254 as their arg, not the function+data, which is more glib-like.
19256 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
19257 the signal emission to indicate if the data is a buffer or an
19259 (gst_pad_get_type): Initialize buffer and event quarks.
19260 (gst_pad_class_init): have-data is now a detailed signal, yes it
19263 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
19265 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
19266 * gst/gstutils.c: (gst_util_set_value_from_string),
19267 (gst_util_set_object_arg):
19268 Don't put functional code in g_return_if_fail() or
19269 g_return_val_if_fail() statements, otherwise things will
19270 break when G_DISABLE_CHECKS is defined during compilation.
19272 2005-09-21 Stefan Kost <ensonic@users.sf.net>
19274 * docs/gst/tmpl/.cvsignore:
19275 * docs/gst/tmpl/gstvalue.sgml:
19278 inlied another one and added some obvious docs
19280 2005-09-21 Wim Taymans <wim@fluendo.com>
19282 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
19283 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
19284 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
19285 (gst_fdsrc_get_property), (gst_fdsrc_create):
19286 * gst/elements/gstfdsrc.h:
19287 Properly implement fdsrc. Removed signal and timeout,
19288 better implemented somewhere else.
19290 2005-09-21 Stefan Kost <ensonic@users.sf.net>
19292 * docs/gst/tmpl/.cvsignore:
19293 * docs/gst/tmpl/gstimplementsinterface.sgml:
19294 * gst/gstinterface.c:
19297 2005-09-21 Stefan Kost <ensonic@users.sf.net>
19299 * docs/gst/gstreamer-sections.txt:
19300 * docs/gst/tmpl/.cvsignore:
19301 * docs/gst/tmpl/gstenumtypes.sgml:
19302 remove obsolete doc file
19304 2005-09-21 David Schleef <ds@schleef.org>
19306 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
19307 little beer, fix a little leak.
19309 2005-09-21 Stefan Kost <ensonic@users.sf.net>
19311 * docs/gst/gstreamer-docs.sgml:
19312 * docs/gst/gstreamer-sections.txt:
19313 * docs/gst/tmpl/.cvsignore:
19317 * gst/gstelement.h:
19318 * gst/gstindex.c: (gst_index_class_init):
19320 * gst/gstindexfactory.c: (gst_index_factory_get_type),
19321 (gst_index_factory_class_init), (gst_index_factory_init),
19322 (gst_index_factory_finalize), (gst_index_factory_new),
19323 (gst_index_factory_destroy), (gst_index_factory_find),
19324 (gst_index_factory_create), (gst_index_factory_make):
19325 * gst/gstindexfactory.h:
19326 * gst/gstpluginfeature.c:
19327 * gst/gstpluginfeature.h:
19328 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19329 more docs inlined, splitted gstindex.{c,h}
19331 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
19333 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19336 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
19338 * gst/elements/gstfilesink.c: (gst_file_sink_init):
19339 Set sync to FALSE by default.
19341 2005-09-20 Wim Taymans <wim@fluendo.com>
19343 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19344 (gst_base_sink_init):
19345 Make sync property settable from subclass.
19347 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
19348 (gst_fake_sink_change_state):
19349 Set sync to FALSE by default.
19351 2005-09-20 Wim Taymans <wim@fluendo.com>
19353 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
19354 * tools/gst-launch.c: (main):
19355 The timeout handler should have lower priority than the source
19356 so we don't timeout before popping a message with 0 timeout.
19357 Dump error messages after failed state change.
19359 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
19361 * tools/gst-inspect.c: (print_element_properties_info):
19364 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
19366 * check/gst/gstevent.c:
19367 * gst/elements/gstfakesink.c:
19368 * gst/elements/gstfakesink.h:
19369 remove the sync property from fakesink.
19370 has the side effect of setting sync TRUE
19371 for fakesink, which is a change. Anyone who knows how
19372 to fix this nicely in a GObject-y way, feel free.
19374 2005-09-20 Stefan Kost <ensonic@users.sf.net>
19376 * docs/gst/gstreamer-docs.sgml:
19377 remove probe refsection
19379 2005-09-20 Stefan Kost <ensonic@users.sf.net>
19381 * check/Makefile.am:
19382 disable valgrinding the controller test again
19383 * docs/gst/gstreamer-sections.txt:
19384 update for api-changes
19386 2005-09-20 Wim Taymans <wim@fluendo.com>
19388 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19389 (gst_base_sink_set_property), (gst_base_sink_get_property),
19390 (gst_base_sink_do_sync):
19391 * gst/base/gstbasesink.h:
19392 Added sync property to basesink to disable clock sync.
19394 2005-09-20 Andy Wingo <wingo@pobox.com>
19396 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
19397 eating the caller's refcount.
19399 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
19400 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
19403 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
19404 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
19405 of GLib 2.8 public, so we can know which refcount to check in
19408 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
19409 (gst_object_init): Only set the gst refcount if we're going ahead
19410 with the refcount hack.
19412 2005-09-20 Stefan Kost <ensonic@users.sf.net>
19414 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
19415 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19416 more leaks plumbed, added more debug-logging
19420 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
19422 * gst/gstmessage.c:
19423 remove include of gstmemchunk.h
19425 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
19427 * gst/gstclock.c: (_gst_clock_id_free):
19428 Commit from the Political Party For More Atomic CVS Commits,
19429 so that people don't waste too much of their day fishing
19430 out obvious leaks out of massive commits.
19431 Oh, and fix a pretty damn obvious leak in the memchunk
19434 2005-09-20 Stefan Kost <ensonic@users.sf.net>
19436 * check/Makefile.am:
19437 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
19438 plug mem-leak, re-add to valgrindable tests
19440 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
19443 unbreak the build for those who have chronic arthritis
19444 and typing "make check" is just too taxing on the hands
19446 2005-09-20 Andy Wingo <wingo@pobox.com>
19448 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
19449 really want it out, you should fix plugins at the same time.
19451 2005-09-19 Stefan Kost <ensonic@users.sf.net>
19454 * docs/gst/gstreamer-sections.txt:
19456 added missing symbols to api docs
19457 disable ref-count hack if we have glib >= 2.8
19459 2005-09-19 David Schleef <ds@schleef.org>
19461 * docs/gst/Makefile.am: Ignore a few more internal headers
19462 * docs/gst/gstreamer-docs.sgml: Remove old sections
19463 * docs/gst/gstreamer-sections.txt: Remove old sections
19464 * docs/gst/tmpl/gstobject.sgml: update
19465 * docs/gst/tmpl/gstplugin.sgml: update
19466 * docs/gst/tmpl/gstpluginfeature.sgml: update
19467 * docs/random/ds/0.9-suggested-changes: update.
19468 * gst/Makefile.am: remove memchunk and trashstack, since they're
19470 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
19471 * gst/gst.h: don't include some headers
19472 * gst/gstchildproxy.c: add gstmarshal.h
19473 * gst/gstclock.c: Don't use memchunks
19474 * gst/gstminiobject.c: Add some docs
19475 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
19476 * gst/gstobject.h: same
19477 * gst/gstplugin.c: include gstmacros.h
19478 * gst/gstplugin.h: don't include gstmacros.h, since it's private
19479 * gst/gstquery.c: don't use memchunks
19480 * gst/gstregistry.c: rename gst_registry_deinit()
19481 * gst/gstregistry.h: same
19483 2005-09-19 David Schleef <ds@schleef.org>
19485 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
19486 * docs/libs/gstreamer-libs-sections.txt:
19487 * docs/libs/tmpl/gstgetbits.sgml:
19488 * docs/libs/tmpl/gstputbits.sgml:
19490 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
19492 * win32/gstenumtypes.c:
19493 * win32/gstenumtypes.h:
19496 2005-09-19 Wim Taymans <wim@fluendo.com>
19498 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
19499 Automatically PAUSE and RESUME a pipeline when a flushing seek
19502 2005-09-19 Andy Wingo <wingo@pobox.com>
19504 * gst/gstregistry.h: Spacing fixen.
19506 2005-09-19 Wim Taymans <wim@fluendo.com>
19508 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
19509 Handle state change failure more correctly.
19511 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
19513 * check/Makefile.am:
19514 * check/pipelines/cleanup.c: (run_pipeline):
19515 * check/pipelines/simple_launch_lines.c: (run_pipeline),
19517 enable cleanup again after fixing the leak
19519 some more info on docs
19521 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
19523 * check/Makefile.am:
19524 re-enable tests now that leaks are plugged
19526 * check/gst/gstbin.c:
19527 * check/gst/gstpipeline.c:
19528 add some more tests while fixing leaks
19529 * common/check.mak:
19530 make sure binaries are uptodate when valgrinding/gdbing
19532 * gst/gstelementfactory.c:
19533 remove a ref too many, and add a FIXME for when we get
19534 round to disposing of classes
19536 fix the refcounting when loading a plugin from a file and
19537 the code pretends that the pointer is the same even though
19538 of course it can change
19539 * gst/gstpluginfeature.c:
19540 unref plugins marked cached (a bit confusing as a name)
19541 as the docs state should be done
19542 various doc additions to explain refcounting
19543 * gst/gstregistry.c:
19544 * gst/gstregistryxml.c:
19547 2005-09-19 Wim Taymans <wim@fluendo.com>
19549 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
19550 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
19551 (send_messages), (GST_START_TEST), (gstbus_suite):
19552 * check/gst/gstpipeline.c: (GST_START_TEST):
19553 * check/pipelines/cleanup.c: (run_pipeline):
19554 * check/pipelines/simple_launch_lines.c: (run_pipeline),
19556 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
19557 (gst_bus_source_check), (gst_bus_source_dispatch),
19558 (gst_bus_create_watch), (gst_bus_add_watch_full),
19559 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
19561 * tools/gst-launch.c: (event_loop):
19562 * tools/gst-md5sum.c: (event_loop):
19563 GstBusHandler -> GstBusFunc, return value has the same meaning as
19564 any other GSource (FALSE == remove source).
19565 _add_watch() and _add_watch_full() now take a MessageType mask to
19566 only handle specific types of messages.
19567 _poll() returns the GstMessage instead of the message type to avoid
19569 _have_pending() takes a MessageType mask now too.
19570 Added testsuite for multiple bus watches.
19571 Fix testsuites and applications for new bus API.
19573 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
19575 * check/Makefile.am:
19576 mark a bunch of the tests as to fix until we fix them
19578 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
19580 * common/check.mak:
19581 use GST_PLUGIN settings for valgrind tests as well, so we're
19582 valgrinding the correct thing
19583 * gst/gst.c: (init_post):
19586 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
19588 * gst/gst.c: (init_post), (gst_deinit):
19589 * gst/gstelementfactory.c: (gst_element_factory_class_init),
19590 (gst_element_factory_finalize), (gst_element_factory_cleanup):
19591 * gst/gstindex.c: (gst_index_factory_class_init),
19592 (gst_index_factory_finalize):
19593 * gst/gstobject.c: (gst_object_dispose):
19594 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
19595 (gst_plugin_load_file), (gst_plugin_desc_free):
19596 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
19597 (gst_plugin_feature_finalize):
19598 * gst/gstregistry.c: (gst_registry_class_init),
19599 (gst_registry_init), (gst_registry_finalize),
19600 (gst_registry_get_default), (gst_registry_deinit):
19601 * gst/gstregistry.h:
19602 * gst/gstregistryxml.c: (load_feature), (load_plugin):
19603 various cleanups and memleak plugging. make valgrind is happy now.
19605 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
19607 * common/check.mak:
19608 add a check-valgrind target
19610 2005-09-18 David Schleef <ds@schleef.org>
19612 * tools/gst-inspect.c: Revert the GOption code.
19614 2005-09-17 David Schleef <ds@schleef.org>
19616 * check/Makefile.am: Fix environment variables.
19617 * check/gst/gstplugin.c: Fix for API changes.
19618 * tools/gst-inspect.c: Fix for API changes.
19619 * tools/gst-xmlinspect.c: Fix for API changes.
19620 * gst/gstelementfactory.c:
19623 * gst/gstpluginfeature.c:
19624 * gst/gstpluginfeature.h:
19625 * gst/gstregistry.c:
19626 * gst/gstregistry.h:
19627 * gst/gstregistryxml.c:
19628 * gst/gsttypefind.c:
19629 * gst/gsttypefindfactory.c:
19630 * gst/indexers/gstfileindex.c:
19631 * gst/indexers/gstmemindex.c:
19632 * gst/schedulers/Makefile.am:
19633 Change registry to keep track of both plugins and features,
19634 removing the feature tracking from plugins themselves.
19636 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
19638 * check/Makefile.am:
19639 * tools/gst-register.1.in:
19640 remove gst-register
19642 2005-09-15 David Schleef <ds@schleef.org>
19644 * check/gst/gstplugin.c:
19645 * gst/gstelementfactory.c:
19647 * gst/gstpluginfeature.c:
19648 * gst/gstregistry.c:
19649 Getting tired of debugging. Disabled all the unreffing of
19650 plugins and features, which fixes the segfaults, but of
19651 course leaks like crazy. At least playbin works.
19653 2005-09-15 David Schleef <ds@schleef.org>
19655 * check/gst/gstplugin.c: (register_check_elements),
19656 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
19658 * gst/elements/gsttypefindelement.c: Fix refcounting.
19659 * gst/gsttypefind.c:
19660 * gst/gsttypefindfactory.c:
19661 * gst/gsttypefindfactory.h:
19663 2005-09-15 David Schleef <ds@schleef.org>
19665 * gst/gstindex.c: get refcounting correct.
19666 * gst/gstregistry.c: Handle the case where a feature/plugin is
19669 2005-09-15 David Schleef <ds@schleef.org>
19671 * check/Makefile.am:
19672 * check/gst/gstplugin.c: Add test
19673 * gst/gstplugin.c: Fix problems noticed by testsuite
19675 * gst/gstregistry.c:
19676 * gst/gstregistry.h:
19678 2005-09-15 David Schleef <ds@schleef.org>
19680 * gst/gstplugin.c: Implement semi-decent recounting and locking
19681 in plugins and plugin features.
19683 * gst/gstpluginfeature.c:
19684 * gst/gstpluginfeature.h:
19685 * gst/gstregistry.c:
19687 2005-09-15 Michael Smith <msmith@fluendo.com>
19689 * gst/gstregistry.c: (gst_registry_get_feature_list):
19690 Implement this. Makes oggdemux work; decodebin still broken.
19692 2005-09-14 David Schleef <ds@schleef.org>
19694 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
19696 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
19697 * gst/check/Makefile.am:
19698 * libs/gst/controller/Makefile.am:
19699 * libs/gst/dataprotocol/Makefile.am:
19701 2005-09-14 David Schleef <ds@schleef.org>
19703 * configure.ac: Remove getbits library. Nothing uses it, and
19704 it should be in something like liboil if someone did want
19706 * libs/gst/Makefile.am:
19707 * libs/gst/getbits/Makefile.am:
19708 * libs/gst/getbits/gbtest.c:
19709 * libs/gst/getbits/getbits.c:
19710 * libs/gst/getbits/getbits.h:
19711 * libs/gst/getbits/gstgetbits_generic.c:
19712 * libs/gst/getbits/gstgetbits_i386.s:
19713 * libs/gst/getbits/gstgetbits_inl.h:
19715 2005-09-14 David Schleef <ds@schleef.org>
19717 * gst/Makefile.am: Dist glib-compat.h
19719 2005-09-14 David Schleef <ds@schleef.org>
19721 * configure.ac: Remove gst/registries, since it's no longer used.
19722 * gst/registries/Makefile.am:
19723 * gst/registries/gstlibxmlregistry.c:
19724 * gst/registries/gstlibxmlregistry.h:
19725 * gst/registries/gstxmlregistry.c:
19726 * gst/registries/gstxmlregistry.h:
19727 * gst/registries/registrytest.c:
19729 2005-09-14 David Schleef <ds@schleef.org>
19731 * gst/glib-compat.h:
19732 * gst/gstregistryxml.c:
19733 Convergence is near. Seriously.
19735 2005-09-14 David Schleef <ds@schleef.org>
19737 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19738 * gst/glib-compat.h:
19739 Attempt #4 to appease the buildbots.
19741 2005-09-14 David Schleef <ds@schleef.org>
19743 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19746 2005-09-14 David Schleef <ds@schleef.org>
19748 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19751 2005-09-14 David Schleef <ds@schleef.org>
19753 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
19756 2005-09-14 David Schleef <ds@schleef.org>
19758 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19759 * gst/glib-compat.h: Add some functions that are in newer versions
19760 of glib than we care to require.
19761 * gst/gstregistryxml.c: Use them.
19763 2005-09-14 David Schleef <ds@schleef.org>
19765 * po/POTFILES.in: remove gst-register.c
19767 2005-09-14 David Schleef <ds@schleef.org>
19769 * docs/gst/gstreamer-docs.sgml:
19770 * docs/gst/gstreamer-sections.txt:
19771 * docs/gst/gstreamer.types:
19772 * docs/gst/tmpl/gstelement.sgml:
19773 * docs/gst/tmpl/gstplugin.sgml:
19774 * docs/gst/tmpl/gstpluginfeature.sgml:
19775 Documentation updates for registry changes.
19777 2005-09-14 David Schleef <ds@schleef.org>
19779 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
19780 because we don't require glib-2.8.
19782 2005-09-14 David Schleef <ds@schleef.org>
19784 * gst/gstregistryxml.c: Added. Essentially moved out of the
19785 registries directory.
19787 2005-09-14 David Schleef <ds@schleef.org>
19789 * check/Makefile.am:
19790 * check/generic/states.c:
19794 * gst/gst_private.h:
19795 * gst/gstelementfactory.c:
19800 * gst/gstpluginfeature.c:
19801 * gst/gstpluginfeature.h:
19802 * gst/gstregistry.c:
19803 * gst/gstregistry.h:
19804 * gst/gstregistrypool.c: remove
19805 * gst/gstregistrypool.h: remove
19806 * gst/gsttypefind.c:
19807 * gst/gsttypefindfactory.c:
19809 * tools/Makefile.am:
19810 * tools/gst-compprep.c:
19811 * tools/gst-inspect.c:
19812 * tools/gst-register.c: remove
19813 * tools/gst-xmlinspect.c:
19814 Registry rewrite. Changes registry from being a file created
19815 by a tool into a simple cache file created automatically by
19816 libgstreamer. Removed gst-register (because it's no longer
19817 needed). Remove registry pools, because we only have one
19818 registry implementation (XML). Fix up other subsystems as
19821 2005-09-13 Michael Smith <msmith@fluendo.com>
19823 * gst/gstconfig.h.in:
19824 Don't Use windows linking attributes for MinGW. Fixes #316157
19826 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
19828 * gst/gstutils.c: (set_state_async_thread_func),
19829 (gst_element_set_state_async):
19830 Apparently people think it's better if this function doesn't
19831 try to set the state to whatever state was asked for on the first
19832 call to this function for any object. Seriously.
19834 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
19836 * check/gst/gstpipeline.c: (GST_START_TEST):
19837 * docs/gst/gstreamer-sections.txt:
19838 * gst/gstutils.c: (set_state_async_thread_func),
19839 (gst_element_set_state_async):
19841 add a "gst_element_set_state_async" method that
19842 sets the state and starts a thread to make sure the state
19843 change completes as best as it can
19845 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
19847 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
19848 codify design+behaviour in testsuite after discussion
19850 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
19852 * docs/gst/tmpl/gstelement.sgml:
19853 * docs/manual/appendix-quotes.xml:
19855 * gst/gstelement.c: (gst_element_set_state):
19858 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
19860 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19861 (gst_base_transform_prepare_output_buf),
19862 (gst_base_transform_handle_buffer):
19863 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
19864 (gst_capsfilter_prepare_buf):
19865 Remove the requirement for sub-classes to call the parent
19866 implementation of prepare_output_buffer with a wrapper function.
19868 * gst/gsttaglist.h:
19869 * gst/gsttagsetter.h:
19870 Fix #define wrapper
19872 2005-09-11 Stefan Kost <ensonic@users.sf.net>
19874 * docs/gst/gstreamer-sections.txt:
19877 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
19879 * docs/gst/gstreamer-sections.txt:
19880 * docs/gst/tmpl/gstelement.sgml:
19881 * docs/gst/tmpl/gstplugin.sgml:
19882 * gst/gstminiobject.c:
19884 docs now stop throwing warnings
19886 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
19888 * docs/gst/gstreamer-sections.txt:
19889 * docs/gst/gstreamer.types:
19890 * docs/gst/tmpl/gstpad.sgml:
19891 * docs/gst/tmpl/gsttypes.sgml:
19892 * gst/base/gstadapter.h:
19893 * gst/base/gstbasesink.h:
19894 * gst/base/gstbasesrc.h:
19900 * gst/gstelement.h:
19902 * gst/gstmessage.h:
19904 * gst/gststructure.c:
19905 * gst/registries/gstlibxmlregistry.h:
19906 various documentation fixes
19908 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
19910 * docs/gst/gstreamer-sections.txt:
19911 * docs/gst/tmpl/gstvalue.sgml:
19912 rearrange gstvalue section
19913 * gst/gstutils.c: (gst_element_state_get_name):
19915 * gst/gstvalue.c: (_gst_value_initialize):
19919 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
19921 * check/gst-libs/controller.c:
19922 Header include fix.
19923 * gst/base/gstbasetransform.c:
19924 (gst_base_transform_default_prepare_buf),
19925 (gst_base_transform_handle_buffer):
19926 * gst/base/gstbasetransform.h:
19927 Some more basetransform changes and fixes to enable sub-classes
19928 that modify buffer metadata only.
19929 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
19930 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
19931 (gst_capsfilter_prepare_buf):
19932 If the output pad has fixed allowed caps and input buffers
19933 don't have any, set the fixed caps on outgoing buffers.
19935 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
19936 * check/elements/identity.c: (GST_START_TEST):
19937 Make the error a little clearer when the test fails because
19938 identity made a copy of the buffer.
19939 * docs/gst/gstreamer-sections.txt:
19940 New symbols in gstbasetransform.h
19941 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19942 (gst_base_transform_init), (gst_base_transform_transform_size),
19943 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
19944 (gst_base_transform_default_prepare_buf),
19945 (gst_base_transform_get_unit_size),
19946 (gst_base_transform_buffer_alloc),
19947 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
19948 (gst_base_transform_change_state),
19949 (gst_base_transform_set_passthrough),
19950 (gst_base_transform_set_in_place),
19951 (gst_base_transform_is_in_place):
19952 * gst/base/gstbasetransform.h:
19953 Change BaseTransform to separate in_place operate from same_caps
19954 output. in_place implies that the element can perform the transform
19955 on incoming buffers in-place, even if the caps on the output are
19957 Sub-class elements can now implement special buffer allocation
19958 methods for outgoing buffers if they wish to.
19959 Big documentation addition.
19960 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
19961 * gst/elements/gstelements.c:
19962 Changes for basetransform modifications.
19963 * gst/elements/Makefile.am:
19964 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
19965 Compile fix. Extra debug output.
19967 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
19969 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
19971 add tests for valid pad naming
19972 * gst/check/gstcheck.c: (gst_check_log_message_func),
19973 (gst_check_log_critical_func):
19975 remove printing of code, it is fragile when the code contains
19976 % and the line number is enough info
19977 * gst/check/gstcheck.h:
19978 * gst/gstpad.c: (gst_pad_template_new):
19981 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
19984 say what CHECK flags we use
19985 * docs/libs/gstreamer-libs.types:
19986 * libs/gst/controller/Makefile.am:
19987 * libs/gst/controller/gst-controller.c:
19988 * libs/gst/controller/gst-controller.h:
19989 * libs/gst/controller/gst-helper.c:
19990 * libs/gst/controller/gst-interpolation.c:
19991 * libs/gst/controller/gstcontroller.c:
19992 * libs/gst/controller/gsthelper.c:
19993 * libs/gst/controller/gstinterpolation.c:
19994 * tools/gst-inspect.c: (print_plugin_info):
19995 we don't use dashes in header names
19997 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
19999 * check/Makefile.am:
20000 * check/gst/.cvsignore:
20001 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
20002 (gst_pipeline_suite), (main):
20003 adding a test for pipelines and state changes
20004 * gst/gstutils.c: (get_state_func):
20006 * gstreamer.spec.in:
20009 2005-09-08 Michael Smith <msmith@fluendo.com>
20011 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
20012 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
20013 (gst_file_src_is_seekable), (gst_file_src_get_size),
20014 (gst_file_src_start):
20015 * gst/elements/gstfilesrc.h:
20016 Various fixes for unseekable, unmmapable, and non-normal files, so
20017 that fallback to read() rather than mmap() works.
20018 * gst/gstevent.c: (gst_event_new_newsegment):
20019 Allow newsegment events with segment_start == segment_end, as will
20020 correctly happen if you use filesrc on a zero-size file, for
20023 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
20025 * gst/gstplugin.c: (gst_plugin_load_file):
20026 Call g_module_close when we don't load the module
20028 * gst/registries/gstlibxmlregistry.c:
20029 (gst_xml_registry_get_property):
20030 Port leak fix from 0.8
20032 2005-09-07 Stefan Kost <ensonic@users.sf.net>
20034 * docs/gst/gstreamer-docs.sgml:
20035 * docs/gst/tmpl/.cvsignore:
20036 * docs/gst/tmpl/gsttrace.sgml:
20037 * docs/gst/tmpl/gsttrashstack.sgml:
20040 * gst/gstelement.h:
20042 * gst/gstmessage.c:
20043 * gst/gstmessage.h:
20046 * gst/gsttaginterface.c:
20047 * gst/gsttaginterface.h:
20048 * gst/gsttaglist.c:
20049 * gst/gsttaglist.h:
20050 * gst/gsttagsetter.c:
20051 * gst/gsttagsetter.h:
20054 * gst/gsttrashstack.c:
20055 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
20056 inlined docs for gsttrace, gsttrashstack
20058 2005-09-07 Stefan Kost <ensonic@users.sf.net>
20061 * gst/elements/gstbufferstore.h:
20062 * gst/elements/gsttypefindelement.c:
20063 * gst/elements/gsttypefindelement.h:
20065 * gst/gsttypefind.c:
20066 * gst/gsttypefind.h:
20067 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
20068 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
20069 (gst_type_find_factory_dispose),
20070 (gst_type_find_factory_unload_thyself),
20071 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
20072 (gst_type_find_factory_get_caps),
20073 (gst_type_find_factory_get_extensions),
20074 (gst_type_find_factory_call_function):
20075 * gst/gsttypefindfactory.h:
20076 * gst/registries/gstlibxmlregistry.c:
20077 * gst/registries/gstxmlregistry.c:
20078 splitted gsttypefind into gsttypefind, gsttypefindfactory
20080 2005-09-07 Andy Wingo <wingo@pobox.com>
20082 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
20083 condition whereby the pad's task function is entered before the
20084 pad_mode variable was set.
20086 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
20088 * gst/gstpad.c: (gst_pad_alloc_buffer):
20089 Catch misbehaving pad_alloc functions that don't
20090 set up caps and do it for them.
20092 2005-09-07 Stefan Kost <ensonic@users.sf.net>
20094 * check/pipelines/simple_launch_lines.c: (run_pipeline):
20095 test for pipe!=NULL
20096 * docs/gst/tmpl/.cvsignore:
20097 * docs/gst/tmpl/gstmemchunk.sgml:
20098 * docs/gst/tmpl/gstparse.sgml:
20099 * docs/gst/tmpl/gsttaglist.sgml:
20100 * docs/gst/tmpl/gsttagsetter.sgml:
20101 * docs/gst/tmpl/gsttypefind.sgml:
20102 * docs/gst/tmpl/gsttypefindfactory.sgml:
20103 * gst/gstmemchunk.c:
20106 * gst/gsttaginterface.c:
20107 * gst/gsttypefind.c:
20108 * gst/gsttypefind.h:
20111 === release 0.9.2 ===
20113 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
20118 releasing 0.9.2, "South"
20120 2005-09-05 Andy Wingo <wingo@pobox.com>
20122 * gst/registries/gstxmlregistry.h:
20123 * gst/registries/gstxmlregistry.c: Um... resurrect...
20125 * gst/registries/gstxmlregistry.h:
20126 * gst/registries/gstxmlregistry.c: and update to newer API.
20127 Incidentally they should be a bit faster now that they don't have
20130 2005-09-05 Andy Wingo <wingo@pobox.com>
20132 * gst/registries/gstxmlregistry.h:
20133 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
20134 replaced by the libxml registry a while back
20136 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
20138 * docs/gst/tmpl/gstplugin.sgml:
20139 * gst/elements/gstelements.c:
20141 * gst/gstplugin.c: (gst_plugin_register_func),
20142 (gst_plugin_desc_copy), (gst_plugin_desc_free),
20143 (gst_plugin_get_source):
20145 * gst/registries/gstlibxmlregistry.c: (load_plugin),
20146 (gst_xml_registry_save_plugin):
20147 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
20148 (gst_xml_registry_save_plugin):
20149 * tools/gst-inspect.c: (print_plugin_info):
20150 add a "source" plugin description field, to represent the source
20151 module this plugin is a part of. By default GST_PLUGIN_DEFINE
20152 will set it to PACKAGE, which is automake's idea of the name of
20153 the source project.
20155 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
20160 * docs/Makefile.am:
20161 * docs/faq/Makefile.am:
20162 * docs/gst/tmpl/gstelement.sgml:
20163 * docs/gst/tmpl/gsttypes.sgml:
20164 * docs/htmlinstall.mak:
20165 * docs/manual/Makefile.am:
20166 * docs/pwg/Makefile.am:
20167 reorganize doc build a little
20168 split out docbook and gtk-doc stuff
20169 have two separate --enable's and enable them through autogen
20170 but disable by default in configure (to be similar to other
20172 * gstreamer.spec.in:
20173 clean up docs install
20191 translation updates
20193 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
20195 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
20198 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
20199 (gst_fake_sink_change_state):
20200 Make state change function thread-safe.
20202 * gst/gstpad.c: (gst_pad_alloc_buffer):
20203 Set offset on generic buffer allocated by fallback.
20205 2005-09-03 Stefan Kost <ensonic@users.sf.net>
20207 * docs/gst/gstreamer-sections.txt:
20208 * docs/gst/tmpl/gstelement.sgml:
20210 * libs/gst/controller/gst-controller.c:
20211 (gst_controlled_property_set_interpolation_mode),
20212 (gst_controlled_property_new),
20213 (gst_controller_find_controlled_property):
20214 run the wingo-magic script against the docs
20216 2005-09-02 Stefan Kost <ensonic@users.sf.net>
20218 * docs/gst/gstreamer-docs.sgml:
20219 * docs/gst/gstreamer-sections.txt:
20220 * docs/gst/tmpl/.cvsignore:
20221 * docs/gst/tmpl/gstelementdetails.sgml:
20222 * docs/gst/tmpl/gstelementfactory.sgml:
20225 * gst/gstelementfactory.c:
20226 * gst/gstelementfactory.h:
20227 merged elementdetails docs into elementfactory docs
20230 2005-09-02 Andy Wingo <wingo@pobox.com>
20232 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
20233 consider this enum an enum and not a flags.
20235 2005-09-02 Stefan Kost <ensonic@users.sf.net>
20237 * docs/gst/gstreamer-docs.sgml:
20238 * docs/gst/tmpl/.cvsignore:
20239 * docs/gst/tmpl/gstghostpad.sgml:
20240 * docs/gst/tmpl/gstiterator.sgml:
20241 * docs/gst/tmpl/gstmacros.sgml:
20242 * docs/gst/tmpl/gstrealpad.sgml:
20243 * docs/gst/tmpl/gstregistry.sgml:
20244 * docs/gst/tmpl/gstregistrypool.sgml:
20245 * docs/gst/tmpl/gststructure.sgml:
20246 * docs/gst/tmpl/gstsystemclock.sgml:
20247 * docs/gst/tmpl/gsttrace.sgml:
20248 * gst/gstghostpad.c:
20250 * gst/gstmemchunk.c:
20251 * gst/gstmemchunk.h:
20253 * gst/gstregistry.c:
20254 * gst/gstregistrypool.c:
20255 * gst/gststructure.c:
20256 * gst/gstsystemclock.c:
20259 2005-09-02 Andy Wingo <wingo@pobox.com>
20261 * gst/gstelement.h (GstState): Renamed from GstElementState,
20262 changed to be a normal enum instead of flags.
20263 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
20264 munged to be GST_STATE_CHANGE_*.
20265 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
20266 work with the new state representation.
20267 (GstStateChange): New enumeration of possible state transitions.
20268 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
20269 (GstElementClass::change_state): Pass the GstStateChange along as
20270 an argument. Helps language bindings, so they don't have to use
20271 tricky lock-needing macros like GST_STATE_CHANGE ().
20273 * scripts/update-states (file): New script. Run it on a file to
20274 update it for state naming and API changes. Updates files in
20277 * All files updated for the new API.
20279 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
20281 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
20282 * gst/gstutils.c: (gst_util_set_value_from_string),
20283 (gst_util_set_object_arg):
20284 fix a bunch of unchecked return values
20285 * tools/gst-complete.c: (main):
20286 * gstreamer.spec.in:
20289 2005-09-01 Wim Taymans <wim@fluendo.com>
20291 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20292 (gst_base_sink_event), (gst_base_sink_do_sync),
20293 (gst_base_sink_handle_event):
20294 * gst/base/gstbasesink.h:
20295 Handle newsegments more correctly.
20300 * gst/gstevent.c: (gst_event_new_newsegment):
20301 A newsegment cannot have a start_time of -1
20303 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
20305 * win32/gstenumtypes.c:
20306 * win32/gstenumtypes.h:
20309 2005-08-31 Stefan Kost <ensonic@users.sf.net>
20311 * libs/gst/controller/gst-controller.c:
20312 (gst_controlled_property_set_interpolation_mode),
20313 (gst_controlled_property_new):
20314 fixed boolean again
20316 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
20318 * docs/faq/gst-uninstalled:
20323 * gst/gstutils.c: (gst_element_link_filtered):
20325 add gst_element_link_filtered
20327 2005-08-31 Stefan Kost <ensonic@users.sf.net>
20329 * docs/gst/gstreamer-docs.sgml:
20330 * docs/gst/gstreamer-sections.txt:
20331 * docs/gst/tmpl/.cvsignore:
20332 * docs/gst/tmpl/gsterror.sgml:
20333 * docs/gst/tmpl/gstfilter.sgml:
20334 * docs/gst/tmpl/gsturihandler.sgml:
20335 * docs/gst/tmpl/gsturitype.sgml:
20336 * docs/gst/tmpl/gstutils.sgml:
20337 * docs/gst/tmpl/gstxml.sgml:
20342 * gst/gsturitype.c:
20345 inlined more docs, fixed double id-ref
20347 2005-08-31 Wim Taymans <wim@fluendo.com>
20349 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
20350 (gst_base_transform_handle_buffer):
20351 Passthrough elements don't need the caps as they don't care.
20353 2005-08-31 Wim Taymans <wim@fluendo.com>
20355 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
20356 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
20357 Don't leak refcounts on buffers.
20359 2005-08-31 Wim Taymans <wim@fluendo.com>
20361 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
20362 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
20363 (gst_base_transform_chain), (gst_base_transform_change_state):
20364 * gst/base/gstbasetransform.h:
20365 Handle the case where we are not negotiated more gracefully.
20367 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
20369 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
20370 (gst_file_src_map_region):
20371 Set READONLY flag on mmap'ed buffers, otherwise
20372 gst_buffer_make_writable() won't work properly (#314708).
20374 2005-08-31 Wim Taymans <wim@fluendo.com>
20376 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
20377 passthrough elements can even do inplace on non writable
20378 buffers (as they don't touch them).
20380 2005-08-31 Stefan Kost <ensonic@users.sf.net>
20382 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
20383 (gst_test_mono_source_set_property),
20384 (gst_test_mono_source_class_init), (GST_START_TEST),
20385 (gst_controller_suite):
20386 more tests (hehe I have the most)
20388 describe popping messages whenusing mulltiple sources
20389 * libs/gst/controller/gst-controller.c:
20390 (gst_controlled_property_set_interpolation_mode),
20391 (gst_controlled_property_new):
20392 * libs/gst/controller/gst-controller.h:
20393 * libs/gst/controller/gst-interpolation.c:
20394 implement boolean properties
20396 2005-08-31 Wim Taymans <wim@fluendo.com>
20398 * gst/gstminiobject.c: (gst_mini_object_ref):
20399 Cannot assert that the refcount has to be positive
20400 since a disposed object can be resurrected.
20402 2005-08-31 Wim Taymans <wim@fluendo.com>
20404 * gst/gstpad.c: (gst_pad_init):
20405 Revert change, need to first fix badly behaving
20408 2005-08-30 Wim Taymans <wim@fluendo.com>
20410 * check/elements/fakesrc.c: (setup_fakesrc):
20411 * check/elements/identity.c: (setup_identity):
20412 Activate pads before using them.
20414 2005-08-30 Wim Taymans <wim@fluendo.com>
20416 * gst/base/gstadapter.c: (gst_adapter_flush):
20417 Flushing out 0 bytes is ok for this function.
20419 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20420 no newsegment gives a warning and sets the start/stop to
20423 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
20424 (gst_base_transform_set_passthrough):
20427 * gst/gstminiobject.c: (gst_mini_object_ref):
20428 Check refcount here too.
20430 * gst/gstpad.c: (gst_pad_init):
20431 Pads are initially flushing and refusing data.
20433 * gst/gstutils.c: (gst_element_link_pads_filtered):
20434 When adding a capsfilter element make sure it has the
20435 same state as the parent bin.
20437 2005-08-30 Stefan Kost <ensonic@users.sf.net>
20439 * docs/gst/tmpl/.cvsignore:
20440 * docs/gst/tmpl/gstformat.sgml:
20441 * docs/gst/tmpl/gstversion.sgml:
20445 * gst/gstversion.h.in:
20446 more docs and two more inlined
20448 2005-08-30 Wim Taymans <wim@fluendo.com>
20450 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
20451 Don't sync to clock.
20453 2005-08-30 Stefan Kost <ensonic@users.sf.net>
20455 * docs/gst/gstreamer-sections.txt:
20456 ultral33t func10ns deserve to appear in the docs actually
20457 * docs/gst/tmpl/.cvsignore:
20458 * docs/gst/tmpl/gstcompat.sgml:
20459 * docs/gst/tmpl/gstconfig.sgml:
20460 * gst/check/gstcheck.c:
20462 * gst/gstconfig.h.in:
20465 2005-08-30 Stefan Kost <ensonic@users.sf.net>
20467 * docs/gst/tmpl/.cvsignore:
20468 * docs/gst/tmpl/gstquery.sgml:
20469 * docs/gst/tmpl/gstutils.sgml:
20472 inlined and extended docs
20474 2005-08-30 Stefan Kost <ensonic@users.sf.net>
20476 * check/gst-libs/controller.c: (GST_START_TEST),
20477 (gst_controller_suite):
20479 * docs/gst/tmpl/gstutils.sgml:
20480 * docs/libs/gstreamer-libs-sections.txt:
20481 * docs/libs/tmpl/gstdataprotocol.sgml:
20483 * examples/controller/audio-example.c: (main):
20484 controller example works now
20487 * tools/gst-inspect.c: (print_element_properties_info):
20488 show param spec flags
20490 2005-08-29 Andy Wingo <wingo@pobox.com>
20492 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
20494 2005-08-28 Andy Wingo <wingo@pobox.com>
20496 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
20497 as having two arguments instead of just one. Allows superclasses
20498 to access information on subclasses -- see the terrible for() loop
20499 in gtype.c:g_type_create_instance for the reason why. All callers
20502 2005-08-27 Stefan Kost <ensonic@users.sf.net>
20504 * docs/design/part-messages.txt:
20506 * docs/gst/tmpl/.cvsignore:
20507 * docs/gst/tmpl/gstcaps.sgml:
20508 * docs/gst/tmpl/gstclock.sgml:
20514 * gst/gstmessage.c:
20515 added descriptions for bus and message
20516 inline caps and clock docs
20518 2005-08-27 Stefan Kost <ensonic@users.sf.net>
20520 * gst/gstmessage.c:
20521 * gst/gstmessage.h:
20524 2005-08-27 Stefan Kost <ensonic@users.sf.net>
20526 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
20529 2005-08-26 Andy Wingo <wingo@pobox.com>
20531 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
20532 element_set_state's return val.
20533 (test_2_elements): Add test that's been disabled for months.
20535 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
20536 can-activate-pull properties.
20538 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
20539 can-activate-pull properties. Implement is_seekable so fakesrc can
20540 operate in pull mode.
20542 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
20544 (gst_base_sink_activate, gst_base_sink_activate_pull)
20545 (gst_base_sink_activate_push): Make activation mode choosing work.
20547 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
20548 is right. Make pull mode work. Post an eos before pausing in pull
20550 (gst_base_sink_change_state): Pay attention to the core's
20551 change_state() return val.
20553 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
20554 has-getrange properties. Cleanups.
20556 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
20557 has_getrange and replace with can_activate_pull and
20560 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
20561 locking comments. Remove has_loop, has_chain and replace with
20562 can_activate_pull and can_activate_push.
20564 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
20567 * examples/Makefile.am:
20568 * examples/metadata/Makefile.am:
20569 * examples/metadata/read-metadata.c: (message_loop),
20570 (have_pad_handler), (make_pipeline), (print_tag), (main):
20571 Add metadata reading example that loops over a list of filenames,
20572 dumping any tags found.
20574 * gst/gstbus.c: (gst_bus_dispose):
20575 * gst/gstelement.c: (gst_element_dispose):
20576 Release a few potentially-held references in dispose.
20578 2005-08-26 Stefan Kost <ensonic@users.sf.net>
20580 * docs/gst/tmpl/gstminiobject.sgml:
20581 do *not* add tmpl/*.sgml files to CVS!
20583 2005-08-26 Stefan Kost <ensonic@users.sf.net>
20585 * libs/gst/bytestream/.cvsignore:
20586 * libs/gst/bytestream/Makefile.am:
20587 * libs/gst/bytestream/adapter.c:
20588 * libs/gst/bytestream/adapter.h:
20589 * libs/gst/bytestream/bytestream.c:
20590 * libs/gst/bytestream/bytestream.h:
20591 * libs/gst/bytestream/filepad.c:
20592 * libs/gst/bytestream/filepad.h:
20593 removing obsolete files
20595 2005-08-26 Stefan Kost <ensonic@users.sf.net>
20597 * docs/gst/gstreamer-docs.sgml:
20598 * docs/libs/gstreamer-libs-docs.sgml:
20599 disabed additional index entries again, as this makes docs-gen just
20600 slow and they aren't useful yet
20601 * docs/libs/gstreamer-libs-sections.txt:
20602 little -section.txt cleanup for libs
20604 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
20606 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20607 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
20608 fix up some debugging
20609 (gst_base_transform_get_unit_size),
20610 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
20611 (gst_base_transform_handle_buffer):
20612 * gst/base/gstbasetransform.h:
20613 handle and store timed NEWSEGMENT events so that subclasses that
20614 calculate time by counting samples have a segment_start time they
20615 need to add to their timestamps - see audioresample
20617 2005-08-26 Stefan Kost <ensonic@users.sf.net>
20620 removed ';' from the end of macro defs
20621 * docs/gst/gstreamer-docs.sgml:
20622 * docs/gst/gstreamer-sections.txt:
20623 * docs/gst/tmpl/.cvsignore:
20625 * gst/gstelement.c: (gst_element_class_init),
20626 (gst_element_set_state), (activate_pads),
20627 (gst_element_save_thyself):
20628 * gst/gstevent.c: (gst_event_new_newsegment):
20630 * gst/gstiterator.c:
20631 * gst/gstiterator.h:
20634 * gst/gstutils.c: (gst_pad_query_convert):
20636 fixed parameter name mismatches between source, header and docs
20637 added some more docs, resolved the last batch of unused elements in
20638 docs (now someone needs to doc them)
20640 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
20642 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
20643 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
20644 don't walk through the plugins backwards. Where is all this
20645 reversed logic coming from ?
20647 2005-08-25 Wim Taymans <wim@fluendo.com>
20649 * gst/base/gstbasetransform.c: (gst_base_transform_init),
20650 (gst_base_transform_transform_size),
20651 (gst_base_transform_configure_caps),
20652 (gst_base_transform_get_unit_size),
20653 (gst_base_transform_buffer_alloc),
20654 (gst_base_transform_change_state):
20655 * gst/base/gstbasetransform.h:
20656 Cache caps unit_size.
20657 Make sure we cannot negotiate up and downstream at the
20660 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
20662 * gst/gst.c: (init_pre), (init_post):
20663 register the installed plugin path after the env var
20664 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
20665 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
20666 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
20667 directories, so the tests can prefer uninstalled over installed
20669 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
20671 * gst/base/gstbasetransform.h:
20676 2005-08-25 Wim Taymans <wim@fluendo.com>
20678 * gst/gstbin.c: (bin_bus_handler):
20679 Be a bit more conservative about the posted message.
20681 * gst/gstbus.c: (gst_bus_post):
20682 Some cleanups, warn wrong return values.
20684 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
20686 * check/gst/gstbin.c: (GST_START_TEST):
20687 * gst/gstbin.c: (bin_bus_handler):
20688 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
20689 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
20690 (gst_message_new_warning), (gst_message_new_tag),
20691 (gst_message_new_state_changed), (gst_message_new_segment_start),
20692 (gst_message_new_segment_done), (gst_message_new_custom):
20693 * gst/gstmessage.h:
20694 * tools/gst-launch.c: (event_loop):
20695 * tools/gst-md5sum.c: (event_loop):
20696 Revert unpopular change for GST_MESSAGE_SRC to GObject.
20698 2005-08-25 Wim Taymans <wim@fluendo.com>
20700 * check/generic/states.c: (GST_START_TEST):
20701 Cleanup can be done at the end.
20703 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
20704 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
20705 (gst_task_get_state), (gst_task_start), (gst_task_pause):
20706 Oh boy.. Thanks for finding this, Thomas.
20708 2005-08-25 Stefan Kost <ensonic@users.sf.net>
20710 * docs/gst/gstreamer.types:
20711 added missing types
20713 2005-08-25 Stefan Kost <ensonic@users.sf.net>
20715 * docs/gst/gstreamer-docs.sgml:
20716 * docs/gst/gstreamer-sections.txt:
20717 * docs/gst/tmpl/.cvsignore:
20719 * gst/gstiterator.c:
20721 * gst/registries/gstxmlregistry.h:
20722 added missing classes and symbols (123 more to go)
20723 removed removed symbols from section file
20724 fixed many doc-comments
20726 2005-08-24 Wim Taymans <wim@fluendo.com>
20728 * check/generic/states.c: (GST_START_TEST):
20729 Make sure all tasks are stopped.
20731 * check/gst/gstbin.c: (GST_START_TEST):
20732 Unref after usage for proper valgrinding.
20734 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
20735 Really wait for the task to stop before destroying the
20738 * gst/gstqueue.c: (gst_queue_sink_activate_push),
20739 (gst_queue_src_activate_push):
20740 Small cleanups. Don't stop the task when we did not start
20743 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
20744 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
20745 (gst_task_get_state), (gst_task_start), (gst_task_pause),
20748 Protect the stream lock with the object lock.
20749 Disallow setting the stream lock when running.
20750 Add cleanup_all to wait for the threadpool to finish.
20751 Remove code to autoallocate a mutex if none was provided.
20752 Add _join() to wait for a task to stop.
20753 Protect the thread pool with a global lock.
20755 2005-08-24 Wim Taymans <wim@fluendo.com>
20757 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20758 (gst_base_sink_get_times), (gst_base_sink_do_sync),
20759 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
20760 * gst/base/gstbasesink.h:
20761 Handle newsegment events correctly.
20762 Drop buffers out of the segment range.
20764 2005-08-22 Andy Wingo <wingo@pobox.com>
20766 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
20767 macro, implements an interface and gstimplementsinterface for a
20770 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
20772 * check/Makefile.am:
20773 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
20774 add a test that does a bunch of state changes on elements
20775 needs some fixing for valgrind
20776 * check/states/sinks.c: (gst_object_suite):
20779 add prototype for gst_caps_is_equal_fixed
20781 * gst/gstregistrypool.c:
20784 2005-08-24 Andy Wingo <wingo@pobox.com>
20786 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
20787 convert a negative value. Doesn't make much sense. Mostly this is
20788 here to force callers to ensure -1 maps to -1.
20790 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
20792 * docs/pwg/advanced-types.xml:
20793 Well done to Michael for catching my deliberate introduction
20794 of this spelling mistake.
20795 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
20796 * gst/gstelement.h:
20797 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
20798 unlink pads before removing the element from the bin.
20800 2005-08-24 Andy Wingo <wingo@pobox.com>
20802 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
20803 the same thing as GST_DEBUG=*:4.
20804 (parse_debug_level, parse_debug_category): New helper parsers.
20806 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
20808 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20809 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
20810 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
20811 (gst_base_transform_buffer_alloc),
20812 (gst_base_transform_handle_buffer):
20813 use gboolean return values and pointers to size so we can use the
20814 full GST_BUFFER_SIZE range (guint) for buffer sizes
20815 use GstPadDirection for transform_caps
20816 * gst/base/gstbasetransform.h:
20817 rename get_size to get_unit_size since that's what it is
20818 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
20819 use GstPadDirection for transform_caps
20820 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20822 cleanup and debugging
20824 2005-08-24 Stefan Kost <ensonic@users.sf.net>
20826 * gst/gstelement.c: (gst_element_class_init),
20827 (gst_element_set_state), (activate_pads),
20828 (gst_element_save_thyself):
20829 * tools/gst-compprep.c: (main):
20830 * tools/gst-inspect.c: (print_element_properties_info):
20831 * tools/gst-xmlinspect.c: (print_element_properties):
20832 Fixed long standing mem-leak
20834 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
20836 * check/gst/gstbin.c: (GST_START_TEST):
20837 * gst/gstbin.c: (bin_bus_handler):
20838 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
20839 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
20840 (gst_message_new_warning), (gst_message_new_tag),
20841 (gst_message_new_state_changed), (gst_message_new_segment_start),
20842 (gst_message_new_segment_done), (gst_message_new_custom):
20843 * gst/gstmessage.h:
20844 * tools/gst-launch.c: (event_loop):
20845 * tools/gst-md5sum.c: (event_loop):
20846 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
20847 that applications can sensibly post custom messages with references
20848 to their own objects.
20850 2005-08-24 Andy Wingo <wingo@pobox.com>
20852 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
20855 2005-08-24 Wim Taymans <wim@fluendo.com>
20857 * gst/base/gstbasetransform.c: (gst_base_transform_init),
20858 (gst_base_transform_transform_caps),
20859 (gst_base_transform_transform_size),
20860 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20861 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
20862 (gst_base_transform_handle_buffer):
20863 * gst/base/gstbasetransform.h:
20864 Many fixes and new features added by Thomas. Can now also do
20865 transforms with variable sizes and a custom fixate_caps function.
20867 2005-08-24 Wim Taymans <wim@fluendo.com>
20869 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20873 Cast to ClockTime before formatting to time.
20878 2005-08-24 Stefan Kost <ensonic@users.sf.net>
20880 * check/gst-libs/controller.c: (GST_START_TEST),
20881 (gst_controller_suite):
20882 * docs/gst/tmpl/gstcaps.sgml:
20883 * docs/gst/tmpl/gstghostpad.sgml:
20884 * docs/gst/tmpl/gstquery.sgml:
20885 * docs/gst/tmpl/gstutils.sgml:
20886 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
20887 (gst_object_sink_values), (gst_object_get_value_arrays),
20888 (gst_object_get_value_array):
20889 gracefully handle helper method calls to objects that are not beeing
20890 controlled, added test case for that
20892 2005-08-23 Wim Taymans <wim@fluendo.com>
20894 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
20895 (gst_event_new_newsegment), (gst_event_parse_newsegment),
20896 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
20897 (gst_event_parse_qos), (gst_event_new_seek),
20898 (gst_event_parse_seek):
20900 Some more debugging output and doc cleanups.
20902 * gst/gstqueue.c: (gst_queue_handle_sink_event):
20903 Fix possible deadlock.
20905 2005-08-23 Stefan Kost <ensonic@users.sf.net>
20907 * docs/gst/gstreamer-docs.sgml:
20908 * docs/gst/gstreamer-sections.txt:
20909 * docs/gst/gstreamer.types:
20910 * docs/gst/tmpl/.cvsignore:
20913 * gst/gstelement.c:
20915 added 100 symbols from gstreamer-unused.txt to the right sections
20916 fixed more broken comments
20917 added GstBus to docs
20919 2005-08-23 Stefan Kost <ensonic@users.sf.net>
20921 * docs/gst/gstreamer-sections.txt:
20922 * docs/gst/tmpl/.cvsignore:
20923 * docs/gst/tmpl/gstbin.sgml:
20924 * docs/gst/tmpl/gstbuffer.sgml:
20925 * gst/base/gstbasesrc.c:
20926 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
20929 * tools/gst-launch.1.in:
20930 inlined more doc comments, added missing comments and fixed comments
20933 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
20935 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20939 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
20941 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
20942 * gst/gststructure.h:
20943 add a fixate function for booleans; add a FIXME that these func
20944 names should probably be gst_structure_fixate_*
20946 2005-08-23 Stefan Kost <ensonic@users.sf.net>
20948 * docs/gst/gstreamer-docs.sgml:
20949 * docs/gst/gstreamer-sections.txt:
20951 * gst/gstbin.c: (gst_bin_get_type),
20952 (gst_bin_child_proxy_get_child_by_index),
20953 (gst_bin_child_proxy_get_children_count),
20954 (gst_bin_child_proxy_init):
20955 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
20956 (gst_child_proxy_get_child_by_index),
20957 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
20958 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
20959 (gst_child_proxy_get), (gst_child_proxy_set_property),
20960 (gst_child_proxy_set_valist), (gst_child_proxy_set),
20961 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
20962 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
20963 * gst/gstchildproxy.h:
20964 * gst/parse/grammar.y:
20965 * tools/gst-inspect.c: (print_interfaces),
20966 (print_element_properties_info), (print_element_info):
20967 ported gstchildproxy over from 0.8
20968 ported gst-inspect fixes and enhancements over from 0.8
20970 2005-08-22 Wim Taymans <wim@fluendo.com>
20972 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20973 (gst_base_transform_handle_buffer):
20974 Also call the transform function if we have ANY caps.
20976 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
20979 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
20981 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
20982 Don't pretend to handle seek events if the source is not seekable
20984 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
20986 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20987 Remove extra parameter to debug output
20989 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20990 (gst_base_src_do_seek), (gst_base_src_activate_push):
20991 Fix seek event handling.
20993 * gst/gstpipeline.c: (gst_pipeline_change_state):
20994 * gst/gstqueue.c: (gst_queue_handle_sink_event),
20995 (gst_queue_src_activate_push):
20996 Don't start the src pad task on FLUSH_STOP if the pad
21000 2005-08-22 Wim Taymans <wim@fluendo.com>
21002 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
21003 Added check for gst_static_caps_get() refcounting.
21005 2005-08-22 Wim Taymans <wim@fluendo.com>
21007 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
21008 Make _static_caps_get() refcounting sane.
21010 * gst/gstelement.c: (gst_element_set_state):
21011 Add g_return_val_if_fail() to protect against segfaults.
21013 2005-08-22 Stefan Kost <ensonic@users.sf.net>
21015 * docs/gst/tmpl/gstevent.sgml:
21018 inlined remaining docs, added missing doc comments
21020 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
21022 * check/gst/gstbin.c: (GST_START_TEST):
21023 since we don't know when preroll is done, use refcount range
21025 * gst/check/gstcheck.h:
21026 add macro for checking refcount range
21028 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
21030 * check/Makefile.am:
21031 clean up environment for when registry gets built versus
21032 when actual tests are run; valgrind seems to not report
21033 leaks if GST_PLUGIN_PATH is set to some specific values
21034 * check/gst/gstbin.c: (GST_START_TEST):
21035 add more refcounting checks; maybe this exposes a
21037 * common/check.mak:
21038 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21039 * gst/check/gstcheck.h:
21040 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
21041 (gst_bin_change_state):
21042 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
21043 add/fix debugging/whitespace
21045 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
21047 * check/gst/gstevent.c: (event_probe), (test_event),
21049 Er, don't call gst_bin_watch_for_state_change you idiot.
21051 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
21053 * check/Makefile.am:
21054 Use CHECK_CFLAGS and CHECK_LIBS
21055 * check/gst/gstevent.c: (event_probe), (test_event),
21058 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21059 (gst_base_src_start), (gst_base_src_stop),
21060 (gst_base_src_activate_push), (gst_base_src_activate_pull),
21061 (gst_base_src_change_state):
21062 Sprinkle gst_base_src_stop liberally around error paths to fix
21063 problems reusing a source after failed state changes.
21064 * gst/base/gsttypefindhelper.c: (helper_find_peek),
21065 (helper_find_suggest), (gst_type_find_helper):
21066 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
21068 * docs/gst/tmpl/gstevent.sgml:
21069 Migrate part of the docs from the SGML file. Wait for ensonic to
21070 tell me how I did it wrong ;)
21071 * tools/gst-typefind.c: (main):
21072 Extra robustness to state changes between files.
21074 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
21076 * check/Makefile.am:
21077 don't valgrind the controller test - it's leaking - Stefan, HELP
21078 * gst/check/gstcheck.c: (gst_check_message_error),
21079 (gst_check_chain_func), (gst_check_setup_element),
21080 (gst_check_teardown_element), (gst_check_setup_src_pad),
21081 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
21082 (gst_check_teardown_sink_pad):
21083 * gst/check/gstcheck.h:
21084 add a bunch of methods to set up elements, and src and sink pads
21085 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
21086 * check/elements/identity.c: (setup_identity), (cleanup_identity),
21089 * gst/gstmessage.c:
21091 whitespace/doc fixes
21093 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
21095 * gst/gstelement.h:
21096 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
21097 be handled by the application and not always printed as well
21099 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
21101 * check/Makefile.am:
21103 * gst/check/gstcheck.c: (gst_check_message_error):
21104 * gst/check/gstcheck.h:
21105 add a fail_unless_equals_int
21106 add fail_unless for error messages
21108 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
21110 * check/Makefile.am:
21112 * common/Makefile.am:
21113 * common/check.mak:
21115 factor out some of the common stuff so we can use it
21117 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
21119 * check/Makefile.am:
21120 * check/gst/gstiterator.c: (GST_START_TEST):
21121 * check/gst/gstsystemclock.c: (GST_START_TEST),
21122 (gst_systemclock_suite):
21123 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
21125 valgrind more tests
21127 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
21129 * check/elements/.cvsignore:
21130 * check/elements/gstfakesrc.c:
21131 rename to name of element
21132 * check/elements/identity.c: (chain_func), (event_func),
21133 (setup_identity), (cleanup_identity), (GST_START_TEST),
21134 (identity_suite), (main):
21135 add a test for identity
21136 * check/Makefile.am:
21137 * pkgconfig/Makefile.am:
21138 * pkgconfig/gstreamer-check.pc.in:
21139 * pkgconfig/gstreamer-check-uninstalled.pc.in:
21143 move the check stuff to a library that gets installed
21144 * check/gst-libs/controller.c: (GST_START_TEST):
21145 * check/gst-libs/gdp.c:
21146 * check/gst/gst.c: (GST_START_TEST):
21147 * check/gst/gstbin.c:
21148 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21149 * check/gst/gstbus.c:
21150 * check/gst/gstcaps.c: (GST_START_TEST):
21151 * check/gst/gstelement.c:
21152 * check/gst/gstghostpad.c:
21153 * check/gst/gstiterator.c:
21154 * check/gst/gstmessage.c:
21155 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
21156 * check/gst/gstobject.c:
21157 * check/gst/gstpad.c: (GST_START_TEST):
21158 * check/gst/gststructure.c: (GST_START_TEST):
21159 * check/gst/gstsystemclock.c: (GST_START_TEST),
21160 (gst_systemclock_suite):
21161 * check/gst/gsttag.c: (gst_tag_suite):
21162 * check/gst/gstvalue.c:
21163 * check/pipelines/cleanup.c:
21164 * check/pipelines/simple_launch_lines.c:
21165 * check/states/sinks.c:
21166 change include statement
21168 * docs/gst/gstreamer-sections.txt:
21169 * docs/gst/tmpl/gstpad.sgml:
21170 document more pad stuff
21171 * gst/gstminiobject.c: (gst_mini_object_ref),
21172 (gst_mini_object_unref):
21175 2005-08-19 Stefan Kost <ensonic@users.sf.net>
21177 * docs/gst/tmpl/gst.sgml:
21179 eliminate another tmpl file, fix spelling in the long-description
21181 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
21183 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21184 (test_event), (timediff), (gstevents_suite):
21185 Should fix build on 64-bit arch's
21187 2005-08-18 Andy Wingo <wingo@pobox.com>
21189 Make sure that when a pipeline goes to PLAYING, that data has
21190 actually hit the sink.
21192 * check/states/sinks.c (test_sink): A sink that doesn't get any
21193 data shouldn't return SUCCESS for going to either PLAYING or
21194 PAUSED. Test also the return values on the way back down.
21196 * gst/gstelement.c (gst_element_set_state): When changing the
21197 state of an element currently changing state asynchronously, go to
21198 lost-state after commiting the pending state. Makes future calls
21199 to get_state continue to return ASYNC.
21201 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
21202 ASYNC when going to PLAYING if we still don't have preroll, as can
21203 happen with live sources.
21205 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
21207 * docs/pwg/advanced-types.xml:
21208 Hack long paragraph into 2 chunks as a workaround for buggy
21209 jadetex version in sid and breezy that loops infinitely and
21212 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
21214 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21215 (test_event), (timediff), (gstevents_suite):
21216 Provide more error margin in clock measurements to allow for
21217 g_get_current_time inaccuracies.
21219 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
21221 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21222 (test_event), (timediff), (gstevents_suite):
21223 Fix error message output so I might be able to tell why the
21224 test works here but fails on the build farm.
21226 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
21228 * check/Makefile.am:
21229 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21230 (test_event), (timediff), (gstevents_suite), (main):
21233 * docs/design/part-seeking.txt:
21234 Spelling correction
21236 * docs/gst/tmpl/gstevent.sgml:
21237 * docs/gst/tmpl/gstfakesrc.sgml:
21240 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21241 Treat a buffer-without-newsegment the same as a receiving
21242 a newsegment not in time format, and disable syncing to the clock
21245 * gst/gstbus.c: (gst_bus_set_sync_handler):
21246 Assert if anyone tries to replace the existing sync_handler for bus,
21247 as only the owner should be setting it.
21250 Have a fixed set of custom event enums with events identified by
21251 their structure name (as in 0.8), rather than a free-for-all
21252 allowing collisions between enum values from different plugins.
21254 * gst/gstpad.c: (gst_pad_class_init):
21257 * gst/gstqueue.c: (gst_queue_handle_sink_event):
21258 Handle out-of-band downstream events from the sending thread.
21260 2005-08-17 Andy Wingo <wingo@pobox.com>
21262 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
21263 play-timeout==0 to mean no timeout at all. In that case, don't
21264 bother with a get_state or a warning, just return directly, even
21267 * gst/base/gstbasetransform.c: Debug changes.
21270 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
21271 ensure bins post state change messages. A bit of a hack but I can't
21272 think of a way to avoid it.
21274 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
21276 2005-08-16 Andy Wingo <wingo@pobox.com>
21278 * gst/base/gstadapter.h:
21279 * gst/base/gstadapter.c (gst_adapter_take): New function, like
21280 peek() but you own the data. Not terribly efficient atm.
21282 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21284 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
21285 (gst_element_found_tags):
21287 Add two utility functions for tag handling.
21289 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21291 * docs/manual/advanced-dataaccess.xml:
21292 * docs/manual/basics-helloworld.xml:
21293 Fix docs to use _bin_add() before _link(), which fixes the examples
21294 with recent core versions (reported by Madhan Raj M
21295 <raj_madan@rediffmail.com>, #313199).
21297 2005-08-16 Wim Taymans <wim@fluendo.com>
21299 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
21300 Added subtract checks.
21302 * docs/design/part-events.txt:
21303 Some more docs about newsegment
21305 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
21308 * gst/gstcaps.c: (gst_caps_to_string):
21309 Add comments, cleanups.
21311 * gst/gstelement.c: (gst_element_save_thyself):
21314 * gst/gstvalue.c: (gst_value_collect_int_range),
21315 (gst_string_unwrap), (gst_value_union_int_int_range),
21316 (gst_value_union_int_range_int_range),
21317 (gst_value_intersect_int_int_range),
21318 (gst_value_intersect_int_range_int_range),
21319 (gst_value_intersect_double_double_range),
21320 (gst_value_intersect_double_range_double_range),
21321 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
21322 (gst_value_subtract_int_range_int),
21323 (gst_value_subtract_double_range_double),
21324 (gst_value_subtract_double_range_double_range),
21325 (gst_value_subtract_from_list), (gst_value_subtract_list),
21326 (gst_value_can_compare), (gst_value_compare_fraction):
21327 Cleanups, add comments, remove unneeded asserts.
21329 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
21331 * tools/gst-launch.c: (event_loop):
21332 don't convert NULL structures to strings
21334 2005-08-15 Stefan Kost <ensonic@users.sf.net>
21336 * docs/gst/gstreamer-sections.txt:
21337 made some defines private
21338 * docs/gst/tmpl/gstconfig.sgml:
21339 * docs/gst/tmpl/gstqueue.sgml:
21340 * docs/gst/tmpl/gsttaglist.sgml:
21341 * docs/gst/tmpl/gsttypes.sgml:
21342 * docs/gst/tmpl/gstutils.sgml:
21343 * docs/pwg/appendix-porting.xml:
21344 * gst/base/gstbasesink.h:
21345 * gst/base/gstbasesrc.c:
21346 * gst/base/gstbasesrc.h:
21347 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
21348 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
21349 * gst/gstelement.c: (gst_element_class_init):
21350 * gst/gstpad.c: (gst_pad_class_init):
21351 * gst/gstqueue.c: (gst_queue_class_init):
21352 * gst/gstxml.c: (gst_xml_class_init):
21353 documented all undocumented signal inline
21354 * libs/gst/controller/gst-controller.h:
21357 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21359 * docs/pwg/appendix-porting.xml:
21360 Document _set_link_function -> _set_setcaps_function.
21362 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
21364 * check/Makefile.am:
21365 add a .check target for running the check
21366 * check/gst-libs/controller.c: (GST_START_TEST):
21368 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21369 complete checks for gstbuffer; would be nice if I could get the
21370 gcov stuff to work so I can see if I actually completed gstbuffer.c
21371 * check/gstcheck.h:
21372 add ASSERT_BUFFER_REFCOUNT
21374 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
21376 * docs/gst/gstreamer-sections.txt:
21377 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
21379 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
21380 spew out a warning if a tag that is already registered
21381 is re-registered, unless it is re-registered with a
21382 different type (#308438).
21384 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
21386 * docs/pwg/appendix-porting.xml:
21387 * docs/pwg/building-state.xml:
21388 Add some paragraphs about state changes in 0.9 to the PWG
21389 and the porting guide, in particular about the new meaning
21390 of GST_STATE_PAUSED and how to write state change functions
21391 with concurrent access by multiple threads in mind.
21393 2005-08-11 Stefan Kost <ensonic@users.sf.net>
21395 * docs/gst/gstreamer-docs.sgml:
21396 * docs/libs/gstreamer-libs-docs.sgml:
21397 added deprecation and since indexes
21398 * libs/gst/controller/gst-controller.c:
21399 * libs/gst/controller/gst-helper.c:
21403 2005-08-11 Wim Taymans <wim@fluendo.com>
21405 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
21406 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
21407 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
21408 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
21409 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
21410 (gst_ghost_pad_set_target):
21411 Actually implement (re)setting the target on a ghostpad
21412 as described in the docs.
21414 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
21416 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
21417 Check whether GST_DEBUG_NO_COLOR environment variable is
21418 set and disable coloured debug output if that is the case.
21420 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
21422 * gst/base/gsttypefindhelper.c: (helper_find_peek),
21423 (gst_type_find_helper):
21424 The memory returned by gst_type_find_peek() needs to
21425 stay valid until the end of a typefind function, and
21426 typefind functions may keep results from different
21427 offsets around, so we can't just unref the buffer from
21428 the previous _peek(), but have to save all buffers
21429 returned by _peek() until typefinding is done and only
21432 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
21434 * docs/gst/gstreamer-sections.txt:
21436 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
21438 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21440 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
21441 Fix a pretty good memleak.
21443 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
21445 * gst/gstiterator.h:
21446 Fix wrong include and 'make distcheck'.
21448 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21450 * gst/gstbin.c: (bin_bus_handler):
21451 Use gst_element_post_message() instead.
21453 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
21455 * gst/base/gstadapter.h:
21456 * gst/base/gstbasesink.h:
21457 * gst/base/gstbasesrc.h:
21458 * gst/base/gstbasetransform.h:
21459 * gst/base/gstcollectpads.h:
21460 * gst/base/gstpushsrc.h:
21461 * gst/gstiterator.h:
21462 Add padding to our base elements' class and instance structs and
21463 to GstIterator (you will need to rebuild all plugins and apps!)
21465 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21467 * gst/gstbin.c: (bin_bus_handler):
21468 Make default message forwarding from child->bus to bin->bus
21469 threadsafe and make it not emit warnings if the parent has no bus.
21471 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21473 * gst/gstelement.c: (activate_pads):
21474 On paused->ready, set pad->caps to NULL, as is the documented
21475 behaviour in this state change. Fixes playback of series of
21476 media files when visualization is enabled in Totem.
21478 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21480 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
21481 Allow NULL as filter-caps (which means "any").
21483 2005-08-05 Stefan Kost <ensonic@users.sf.net>
21485 * docs/libs/gstreamer-libs-sections.txt:
21486 * libs/gst/controller/gst-controller.c:
21487 * libs/gst/controller/gst-controller.h:
21488 * libs/gst/controller/gst-helper.c:
21489 adding more entries to the docs and fix small doc-bugs
21491 2005-08-05 Stefan Kost <ensonic@users.sf.net>
21493 * docs/gst/gstreamer-docs.sgml:
21494 * docs/gst/gstreamer-sections.txt:
21495 * docs/gst/gstreamer.types:
21496 * docs/gst/tmpl/gstbasesink.sgml:
21497 * docs/gst/tmpl/gstbasesrc.sgml:
21498 * docs/gst/tmpl/gstbasetransform.sgml:
21499 * docs/gst/tmpl/gstfakesrc.sgml:
21500 * gst/base/gstcollectpads.c:
21501 * gst/base/gstcollectpads.h:
21502 * libs/gst/controller/gst-controller.c:
21503 * libs/gst/controller/gst-controller.h:
21504 * libs/gst/controller/gst-helper.c:
21505 * libs/gst/controller/gst-interpolation.c:
21506 * libs/gst/controller/lib.c:
21507 added long/short desc for controller docs
21508 added collectpads base class docs
21509 added correct includes to base-class docs
21511 2005-08-05 Stefan Kost <ensonic@users.sf.net>
21513 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
21514 (gst_test_mono_source_set_property),
21515 (gst_test_mono_source_class_init), (GST_START_TEST),
21516 (gst_controller_suite):
21517 * docs/gst/gstreamer-docs.sgml:
21518 * docs/gst/gstreamer-sections.txt:
21519 * docs/gst/gstreamer.types:
21520 * docs/libs/gstreamer-libs-docs.sgml:
21521 * docs/libs/gstreamer-libs-sections.txt:
21522 * gst/base/gstadapter.c:
21523 * libs/gst/controller/gst-controller.c:
21524 (gst_controlled_property_new), (gst_controlled_property_free),
21525 (gst_controller_new_valist),
21526 (gst_controller_remove_properties_valist),
21527 (gst_controller_sink_values), (_gst_controller_finalize):
21528 * libs/gst/controller/gst-controller.h:
21529 * libs/gst/controller/gst-helper.c:
21530 (gst_object_control_properties), (gst_object_uncontrol_properties),
21531 (gst_object_get_controller), (gst_object_set_controller),
21532 (gst_object_sink_values), (gst_object_get_value_arrays),
21533 (gst_object_get_value_array):
21534 more tests (and fixes) for the controller
21535 more docs for the controller
21536 integrated companies docs for the adapter
21538 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
21540 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
21541 (GST_START_TEST), (fakesrc_suite):
21542 add tests for sizetype
21544 2005-08-04 Andy Wingo <wingo@pobox.com>
21546 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
21547 fixes buffer_alloc proxying among other things.
21549 * gst/base/gstbasetransform.c:
21550 * gst/base/gstbasetransform.h:
21551 Revert patch to gstbasetransform from 7-28 removing
21554 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
21555 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
21556 Semantics changed, should return not the size of the output buffer
21557 but the byte size of a buffer with a given caps.
21559 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
21561 (gst_base_transform_configure_caps): Don't set out_size here: (in,
21562 out) are not the pad caps until setcaps finishes.
21563 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
21564 not-in-place case as well. Deal with changing from in-place to
21565 not-in-place within calling pad_alloc_buffer. Still a bit
21566 concerned about the overhead here...
21568 2005-08-03 Andy Wingo <wingo@pobox.com>
21570 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
21571 fixating is an error.
21573 2005-08-04 Edward Hervey <edward@fluendo.com>
21575 * gst/base/gstadapter.h:
21576 Added gst_adapter_get_type() to the header
21578 2005-08-03 Stefan Kost <ensonic@users.sf.net>
21580 * check/Makefile.am:
21581 * check/gst-libs/controller.c:
21582 * libs/gst/controller/gst-controller.c:
21583 (gst_controller_new_valist):
21584 added check test suite for the controller
21585 * gst/base/gstpushsrc.c:
21588 2005-08-03 Stefan Kost <ensonic@users.sf.net>
21590 * docs/gst/Makefile.am:
21591 * docs/gst/gstreamer-docs.sgml:
21592 * docs/gst/gstreamer-sections.txt:
21593 * docs/gst/gstreamer.types:
21594 * docs/gst/tmpl/gstfakesrc.sgml:
21596 * gst/base/gstbasesink.c:
21597 * gst/base/gstbasesink.h:
21598 * gst/base/gstbasesrc.c:
21599 * gst/base/gstbasesrc.h:
21600 * gst/base/gstbasetransform.c:
21601 * gst/base/gstpushsrc.c:
21602 * gst/base/gstpushsrc.h:
21603 add short/long description docs to base classes
21604 add pushsrc to the docs
21605 remove consolidated doc fragments
21607 2005-08-03 Stefan Kost <ensonic@users.sf.net>
21610 * docs/libs/Makefile.am:
21611 * docs/libs/gstreamer-libs-docs.sgml:
21612 * docs/libs/gstreamer-libs-sections.txt:
21613 * docs/libs/gstreamer-libs.types:
21614 * examples/Makefile.am:
21615 * examples/controller/.cvsignore:
21616 * examples/controller/Makefile.am:
21617 * examples/controller/audio-example.c: (main):
21618 * libs/gst/Makefile.am:
21619 * libs/gst/controller/.cvsignore:
21620 * libs/gst/controller/Makefile.am:
21621 * libs/gst/controller/gst-controller.c:
21622 (on_object_controlled_property_changed), (gst_timed_value_compare),
21623 (gst_timed_value_find),
21624 (gst_controlled_property_set_interpolation_mode),
21625 (gst_controlled_property_new), (gst_controlled_property_free),
21626 (gst_controller_find_controlled_property),
21627 (gst_controller_new_valist), (gst_controller_new),
21628 (gst_controller_remove_properties_valist),
21629 (gst_controller_remove_properties), (gst_controller_set),
21630 (gst_controller_set_from_list), (gst_controller_unset),
21631 (gst_controller_get), (gst_controller_get_all),
21632 (gst_controller_sink_values), (gst_controller_get_value_arrays),
21633 (gst_controller_get_value_array),
21634 (gst_controller_set_interpolation_mode),
21635 (_gst_controller_finalize), (_gst_controller_init),
21636 (_gst_controller_class_init), (gst_controller_get_type):
21637 * libs/gst/controller/gst-controller.h:
21638 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
21639 (g_object_uncontrol_properties), (g_object_get_controller),
21640 (g_object_set_controller), (g_object_sink_values),
21641 (g_object_get_value_arrays), (g_object_get_value_array):
21642 * libs/gst/controller/gst-interpolation.c:
21643 (gst_controlled_property_find_timed_value_node),
21644 (interpolate_none_get), (interpolate_trigger_get),
21645 (interpolate_trigger_get_value_array):
21646 * libs/gst/controller/lib.c: (gst_controller_init):
21647 * pkgconfig/Makefile.am:
21648 * pkgconfig/gstreamer-control-uninstalled.pc.in:
21649 * pkgconfig/gstreamer-control.pc.in:
21650 * testsuite/Makefile.am:
21651 * testsuite/controller/.cvsignore:
21652 * testsuite/controller/Makefile.am:
21653 * testsuite/controller/interpolator.c: (main):
21654 added controller code
21655 removed dparam pc files
21657 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
21658 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
21659 (gst_collectpads_stop):
21660 Broadcast the condition when shutting down, to make sure we wake all
21661 threads up. Shut down pads on finalize, for safety.
21663 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
21664 * gst/base/gstbasetransform.c: (gst_base_transform_init),
21665 (gst_base_transform_handle_buffer),
21666 (gst_base_transform_change_state):
21667 Handle PAUSED->READY->PAUSED transition after negotiation
21669 * gst/gstmessage.c: (gst_message_init):
21670 Extra piece of debug for new messages.
21672 2005-08-01 Stefan Kost <ensonic@users.sf.net>
21675 * docs/gst/tmpl/gstbasesrc.sgml:
21676 * docs/gst/tmpl/gstelement.sgml:
21677 * docs/gst/tmpl/gstevent.sgml:
21678 * docs/gst/tmpl/gstfakesrc.sgml:
21679 * docs/gst/tmpl/gstformat.sgml:
21680 * docs/gst/tmpl/gstghostpad.sgml:
21681 * docs/gst/tmpl/gstpad.sgml:
21682 * docs/gst/tmpl/gstquery.sgml:
21683 * docs/gst/tmpl/gststructure.sgml:
21684 * docs/gst/tmpl/gsttaglist.sgml:
21685 * docs/gst/tmpl/gstvalue.sgml:
21686 * docs/libs/gstreamer-libs-docs.sgml:
21687 * docs/libs/gstreamer-libs-sections.txt:
21688 * docs/libs/gstreamer-libs.types:
21689 * libs/gst/Makefile.am:
21690 * libs/gst/control/.cvsignore:
21691 * libs/gst/control/Makefile.am:
21692 * libs/gst/control/control.c:
21693 * libs/gst/control/control.h:
21694 * libs/gst/control/dparam.c:
21695 * libs/gst/control/dparam.h:
21696 * libs/gst/control/dparam_smooth.c:
21697 * libs/gst/control/dparam_smooth.h:
21698 * libs/gst/control/dparamcommon.h:
21699 * libs/gst/control/dparammanager.c:
21700 * libs/gst/control/dparammanager.h:
21701 * libs/gst/control/dplinearinterp.c:
21702 * libs/gst/control/dplinearinterp.h:
21703 * libs/gst/control/unitconvert.c:
21704 * libs/gst/control/unitconvert.h:
21705 * testsuite/Makefile.am:
21706 * testsuite/dynparams/.cvsignore:
21707 * testsuite/dynparams/Makefile.am:
21708 * testsuite/dynparams/dparamstest.c:
21709 * tools/Makefile.am:
21710 * tools/gst-inspect.c: (print_element_info), (main):
21711 * tools/gst-xmlinspect.c: (print_element_info), (main):
21712 deactivate and remove dparams (libgstcontrol)
21714 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
21716 * gst/elements/gsttypefindelement.c:
21717 (gst_type_find_element_have_type), (gst_type_find_element_init),
21718 (stop_typefinding), (gst_type_find_element_handle_event),
21719 (gst_type_find_element_chain), (gst_type_find_element_getrange):
21720 * gst/elements/gsttypefindelement.h:
21721 Set caps on all outgoing buffers, not just the first one.
21723 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
21725 * gst/elements/gsttypefindelement.c:
21726 (gst_type_find_element_have_type),
21727 (gst_type_find_element_check_set_buffer_caps),
21728 (gst_type_find_element_init), (stop_typefinding),
21729 (gst_type_find_element_handle_event),
21730 (gst_type_find_element_chain), (gst_type_find_element_getrange):
21731 * gst/elements/gsttypefindelement.h:
21732 Set caps on first outgoing buffer when we've found the type.
21734 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
21736 * docs/gst/gstreamer-docs.sgml:
21737 * docs/gst/gstreamer-sections.txt:
21738 * docs/gst/tmpl/gstscheduler.sgml:
21739 * docs/gst/tmpl/gstschedulerfactory.sgml:
21740 Remove some old cruft from docs.
21742 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
21745 Fix inline docs for GstPadLinkReturn.
21747 * gst/gststructure.c: (gst_structure_has_name):
21748 * gst/gststructure.h:
21749 * docs/gst/gstreamer-sections.txt:
21750 New API: gst_structure_has_name().
21752 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
21755 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
21756 and _LARGEFILE_SOURCE in config.h as required. Do not
21757 export those flags in our .pc files any longer (#142209).
21759 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
21761 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
21762 (gst_file_sink_do_seek), (gst_file_sink_event),
21763 (gst_file_sink_get_current_offset), (gst_file_sink_render):
21764 Redo seek/tell calls with large file support in mind; add some
21765 debugging messages; add log message that tells us when large
21766 file support is unavailable or not enabled for some reason.
21768 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
21769 Add log message that tells us when large file support
21770 is unavailable or not enabled for some reason.
21772 2005-07-29 Wim Taymans <wim@fluendo.com>
21774 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21775 Added test for removing an element with ghostpad from a bin.
21776 Fixed test as current implementation does the right thing.
21778 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
21779 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
21780 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
21781 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
21782 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
21783 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
21784 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
21785 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
21786 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
21787 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
21788 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
21789 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
21790 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
21791 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
21792 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
21793 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
21794 * gst/gstghostpad.h:
21795 Clean up ghostpads, remove properties for internal stuff.
21798 Prepare for switching targets, not all use cases work yet.
21800 2005-07-29 Wim Taymans <wim@fluendo.com>
21802 * docs/design/part-gstghostpad.txt:
21805 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
21806 (gst_bin_remove_func):
21807 Unlinking pads while holding the bin LOCK is not a good
21810 * gst/gstpad.c: (gst_pad_class_init),
21811 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
21812 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
21813 No prob setting template after creating the pad.
21815 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
21817 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
21818 (gst_bus_peek), (gst_bus_source_dispatch),
21819 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
21820 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
21821 gst_bus_poll may be called from other threads. Handle
21822 this nicely by not making poll_data disappear off the
21823 stack once gst_bus_poll returns.
21824 gst_bus_peek now increments the refcount on the returned
21827 2005-07-29 Wim Taymans <wim@fluendo.com>
21829 * docs/design/part-gstghostpad.txt:
21830 Overview of current GhostPad datastructures and use
21831 cases for changing the target.
21833 2005-07-28 Wim Taymans <wim@fluendo.com>
21835 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
21836 Added checks for hierarchy consistency whan adding linked
21839 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
21840 Added check to test element scheduling without bin/pipeline.
21842 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21843 First add elements to bin, then link.
21845 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
21846 (gst_bin_remove_func):
21847 Unlink pads from elements added/removed from bin to maintain
21848 hierarchy consistency.
21850 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21852 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
21853 (gst_base_transform_handle_buffer):
21854 * gst/base/gstbasetransform.h:
21855 Remove broken delay_configure (fixes renegotiation of software
21856 scaling pipelines); remove some leftover printf()s.
21858 2005-07-28 Wim Taymans <wim@fluendo.com>
21860 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21861 Added some more tests for wrong hierarchy
21863 * docs/design/part-overview.txt:
21866 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
21869 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
21870 (gst_element_dispose):
21871 Some more cleanups.
21873 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
21874 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
21875 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21876 (gst_pad_set_caps), (gst_pad_send_event):
21877 Check for correct hierarchy when linking pads. Moving to
21878 strict requirement for ghostpads when linking elements in
21882 Clean ups. Added WRONG_HIERARCHY return value.
21884 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21886 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
21887 Better debug if no transform is possible.
21889 2005-07-27 Wim Taymans <wim@fluendo.com>
21891 * docs/random/wtay/network-transp:
21892 Some old doc I had.
21894 2005-07-27 Wim Taymans <wim@fluendo.com>
21896 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
21897 (gst_dp_event_from_packet):
21898 Fix serialization of seek events.
21900 2005-07-27 Wim Taymans <wim@fluendo.com>
21902 * check/gst-libs/gdp.c: (GST_START_TEST):
21903 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21904 Fix compilation and fix event serialization.
21906 2005-07-27 Wim Taymans <wim@fluendo.com>
21909 * docs/design/part-TODO.txt:
21910 * docs/design/part-events.txt:
21913 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21914 (gst_base_sink_event), (gst_base_sink_do_sync),
21915 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
21916 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21917 (gst_base_src_do_seek), (gst_base_src_event_handler),
21918 (gst_base_src_loop):
21919 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
21920 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21921 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
21922 (gst_base_transform_event), (gst_base_transform_handle_buffer),
21923 (gst_base_transform_set_passthrough),
21924 (gst_base_transform_is_passthrough):
21925 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21926 * gst/elements/gstfilesink.c: (gst_file_sink_event):
21932 * gst/gstelement.c: (gst_element_seek):
21933 * gst/gstelement.h:
21934 Update gst_element_seek.
21936 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
21937 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
21938 (gst_event_new_flush_start), (gst_event_new_flush_stop),
21939 (gst_event_new_eos), (gst_event_new_newsegment),
21940 (gst_event_parse_newsegment), (gst_event_new_tag),
21941 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
21942 (gst_event_parse_qos), (gst_event_new_seek),
21943 (gst_event_parse_seek), (gst_event_new_navigation):
21945 Make GstEvent use GstStructure. Add parsing code, make sure the
21946 API is sufficiently generic.
21947 Mark possible directions of events and serialization.
21949 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
21950 (_gst_message_copy), (gst_message_new_segment_start),
21951 (gst_message_new_segment_done), (gst_message_new_custom),
21952 (gst_message_parse_segment_start),
21953 (gst_message_parse_segment_done):
21956 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21957 (gst_pad_set_caps), (gst_pad_send_event):
21958 Update for new events.
21959 Catch events sent in wrong directions.
21961 * gst/gstqueue.c: (gst_queue_link_src),
21962 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
21963 (gst_queue_handle_src_query):
21968 Remove event code from this file.
21970 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
21971 (gst_dp_event_from_packet):
21974 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21976 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
21977 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21978 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
21979 Make debugging actually useful.
21981 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21983 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
21984 (gst_pad_fixate_caps):
21985 Implement default fixation once again, so that gst_pad_fixate()
21986 actually does anything at all. This probably needs to be some
21987 sort of a last resort, and use profile-based fixation first, but
21988 since that doesn't exist yet, this is the best we have. Fixes
21989 visualization in Totem.
21991 2005-07-22 Wim Taymans <wim@fluendo.com>
21993 * docs/design/part-events.txt:
21996 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21997 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
21998 (gst_base_sink_activate_pull):
21999 Some more comments.
22001 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
22002 (gst_fake_src_create):
22003 Fix handoff marshall.
22005 * gst/elements/gstidentity.c: (gst_identity_class_init),
22006 (gst_identity_transform_ip):
22007 We're a real inplace element.
22009 * gst/gstbus.c: (gst_bus_post):
22010 Added some comments.
22012 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
22013 * tests/muxing/case1.c: (main):
22014 * tests/sched/dynamic-pipeline.c: (main):
22015 * tests/sched/interrupt1.c: (main):
22016 * tests/sched/interrupt2.c: (main):
22017 * tests/sched/interrupt3.c: (main):
22018 * tests/sched/runxml.c: (main):
22019 * tests/sched/sched-stress.c: (main):
22020 * tests/seeking/seeking1.c: (event_received), (main):
22021 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
22023 * tests/threadstate/threadstate3.c: (main):
22024 * tests/threadstate/threadstate4.c: (main):
22025 * tests/threadstate/threadstate5.c: (main):
22028 2005-07-21 Wim Taymans <wim@fluendo.com>
22030 * docs/design/part-seeking.txt:
22031 Some small additions.
22033 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22034 (gst_base_sink_get_times), (gst_base_sink_do_sync),
22035 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
22036 * gst/base/gstbasesink.h:
22037 discont values are gint64, handle the math correctly.
22039 * gst/base/gstbasesrc.c: (gst_base_src_loop):
22040 Make the basesrc report error if the source pad is not linked.
22042 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22043 (gst_queue_loop), (gst_queue_handle_src_query),
22044 (gst_queue_src_activate_push):
22045 Make queue collect data even if the srcpad is not linked.
22046 Start pushing out data as soon as it is linked.
22048 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
22050 Added gst_flow_get_name() to ease error reporting.
22052 2005-07-20 Wim Taymans <wim@fluendo.com>
22054 * gst/gstmessage.c: (gst_message_new_segment_start),
22055 (gst_message_new_segment_done), (gst_message_parse_segment_start),
22056 (gst_message_parse_segment_done):
22057 * gst/gstmessage.h:
22058 Added a bunch of messages for advanced seeking.
22060 * gst/parse/grammar.y:
22061 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
22062 (gst_dpman_state_changed):
22063 Fix some new-pad -> pad-added signals
22065 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22067 * docs/manual/appendix-porting.xml:
22068 * docs/pwg/appendix-porting.xml:
22069 Document new-pad/state-change signal renames and the FixedList
22072 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22074 * docs/manual/advanced-autoplugging.xml:
22075 * docs/manual/basics-helloworld.xml:
22076 * docs/manual/basics-pads.xml:
22077 * docs/random/ds/0.9-suggested-changes:
22078 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
22079 * gst/gstelement.h:
22083 * gst/gststructure.c: (gst_structure_value_get_generic_type),
22084 (gst_structure_parse_array), (gst_structure_parse_value):
22085 * gst/gstvalue.c: (gst_type_is_fixed),
22086 (gst_value_list_prepend_value), (gst_value_list_append_value),
22087 (gst_value_list_get_size), (gst_value_list_get_value),
22088 (gst_value_transform_array_string), (gst_value_serialize_array),
22089 (gst_value_deserialize_array), (gst_value_intersect_array),
22090 (gst_value_is_fixed), (_gst_value_initialize):
22092 GstElement::new-pad -> pad-added, GstElement::state-change ->
22093 state-changed, GstValueFixedList -> GstValueArray, add format and
22094 flags as their own arguments in gst_element_seek() (should improve
22095 "bindeability"), remove function generators since they don't work
22096 under a whole bunch of compilers (they were deprecated already
22099 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22101 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
22102 (_gst_debug_register_funcptr):
22104 Fix illegal cast on some platforms (#309253).
22106 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22108 * gst/gstmessage.c: (gst_message_new_custom):
22109 * gst/gstmessage.h:
22110 Add _new_custom, make _new_application a macro to _new_custom.
22112 2005-07-20 Wim Taymans <wim@fluendo.com>
22114 * gst/base/gstbasesrc.c: (gst_base_src_init),
22115 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22116 * gst/base/gstbasesrc.h:
22117 Add a gboolean to decide when to push out a discont.
22119 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22120 (gst_queue_loop), (gst_queue_handle_src_query),
22121 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
22122 (gst_queue_set_property), (gst_queue_get_property):
22125 * tests/threadstate/threadstate1.c: (main):
22126 Make a thread test compile and run... very silly..
22129 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22131 * docs/manual/appendix-porting.xml:
22132 Mention removal of libgstgconf-0.9.la and existence of gconf
22135 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22137 * docs/pwg/advanced-clock.xml:
22138 * docs/pwg/appendix-porting.xml:
22139 * docs/pwg/intro-preface.xml:
22140 * docs/pwg/other-base.xml:
22141 * docs/pwg/other-manager.xml:
22142 * docs/pwg/other-nton.xml:
22143 * docs/pwg/other-ntoone.xml:
22144 * docs/pwg/other-oneton.xml:
22145 * docs/pwg/pwg.xml:
22146 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
22147 demuxer), remove n-to-n (was never written), fix some code examples
22148 and links and update the porting section to include all this.
22150 2005-07-19 Wim Taymans <wim@fluendo.com>
22152 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
22153 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
22154 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
22155 (gst_queue_src_activate_push), (gst_queue_change_state),
22156 (gst_queue_get_property):
22158 Propagate GstFlowReturn more intelligently upstream and output
22159 an ERROR/EOS when streaming stopped due to fatal error.
22161 2005-07-19 Wim Taymans <wim@fluendo.com>
22163 * tools/gst-launch.c: (check_intr), (event_loop), (main):
22164 Don't block forever for the state change to complete, the
22165 pipeline already did with a sensible timeout.
22167 2005-07-19 Wim Taymans <wim@fluendo.com>
22169 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22170 Make sure we never call the create function is we
22173 2005-07-19 Andy Wingo <wingo@pobox.com>
22175 * gst/parse/parse.l: Attempt to solve bug #172815.
22177 2005-07-19 Wim Taymans <wim@fluendo.com>
22179 * docs/design/part-clocks.txt:
22180 * docs/design/part-events.txt:
22181 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
22182 Small docs updates.
22183 Only update the seeking values when we are not
22186 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
22188 * gst/base/gstbasesrc.c: (gst_base_src_loop):
22189 Oops, ignore the result of gst_pad_push_event here.
22191 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
22193 * gst/base/gstbasesrc.c: (gst_base_src_loop),
22194 (gst_base_src_activate_push):
22195 Send discont event from the loop function, as pads
22196 aren't activated yet in the activate_push handler.
22198 * gst/gstbin.c: (bin_bus_handler):
22199 Don't leak element name.
22201 2005-07-18 Andy Wingo <wingo@pobox.com>
22203 * configure.ac: Use AS_LIBTOOL_TAGS.
22205 2005-07-18 Wim Taymans <wim@fluendo.com>
22207 * docs/gst/gstreamer.types:
22208 Remove deleted types.
22210 2005-07-18 Wim Taymans <wim@fluendo.com>
22212 * check/elements/gstfakesrc.c: (GST_START_TEST):
22215 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
22216 (init_popt_callback):
22218 * gst/gst_private.h:
22219 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
22220 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
22223 * gst/gstconfig.h.in:
22224 * gst/gstelement.c: (gst_element_class_init),
22225 (gst_element_set_base_time), (gst_element_get_base_time),
22226 (iterator_fold_with_resync), (gst_element_change_state),
22227 (gst_element_dispose), (gst_element_get_bus):
22228 * gst/gstelement.h:
22229 * gst/gstelementfactory.h:
22230 * gst/gsterror.c: (_gst_core_errors_init):
22233 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
22235 * gst/gstinfo.c: (_gst_debug_init):
22236 * gst/gstmessage.c: (_gst_message_copy):
22237 * gst/gstmessage.h:
22238 * gst/gstminiobject.h:
22241 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22242 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
22245 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
22246 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
22247 (gst_pipeline_get_last_stream_time):
22248 * gst/gstpipeline.h:
22249 * gst/gstpluginfeature.h:
22251 * gst/gstscheduler.c:
22252 * gst/gstscheduler.h:
22253 * gst/gststructure.h:
22254 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
22255 (gst_task_finalize), (gst_task_func), (gst_task_create),
22256 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
22257 (gst_task_stop), (gst_task_pause):
22259 * gst/gsttypefind.h:
22261 * gst/registries/gstlibxmlregistry.c: (load_feature),
22262 (gst_xml_registry_load), (gst_xml_registry_save_feature):
22263 * gst/registries/gstxmlregistry.c:
22264 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
22265 * gst/schedulers/threadscheduler.c:
22266 * libs/gst/control/dparammanager.h:
22267 * tools/gst-inspect.c: (print_element_list),
22268 (print_plugin_features), (print_element_features):
22269 * tools/gst-xmlinspect.c: (print_element_list),
22270 (print_plugin_info), (main):
22271 Removed plugable schedulers.
22272 Removed Scheduler/Manager from elements.
22273 Removed gsttypes.h, rearranged includes.
22274 Removed dependency pad<->element, element<>pipeline, and
22275 various others, fix includes.
22276 implement gst_pad_get_parent() with gst_object_get_parent()
22277 Make GstTask sefcontained.
22278 Fix _get_state() on GstBin, it did not return ASYNC with a 0
22280 Fix endless loop in iterator_fold_with_resync.
22283 2005-07-18 Wim Taymans <wim@fluendo.com>
22289 2005-07-18 Wim Taymans <wim@fluendo.com>
22292 No more cothreads.h
22294 2005-07-18 Wim Taymans <wim@fluendo.com>
22298 Let's remove these.
22300 2005-07-18 Wim Taymans <wim@fluendo.com>
22302 * docs/design/part-dynamic.txt:
22303 * docs/design/part-events.txt:
22304 * docs/design/part-seeking.txt:
22305 Some more docs in the works.
22307 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
22308 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
22309 (gst_base_transform_setcaps), (gst_base_transform_get_size),
22310 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
22311 (gst_base_transform_handle_buffer),
22312 (gst_base_transform_sink_activate_push),
22313 (gst_base_transform_src_activate_pull),
22314 (gst_base_transform_set_passthrough),
22315 (gst_base_transform_is_passthrough):
22318 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
22321 * gst/gstevent.c: (gst_event_finalize):
22324 * gst/gstutils.c: (gst_element_unlink),
22325 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
22326 (gst_pad_proxy_setcaps):
22328 Add _get_parent_element() to get a pads parent as an element.
22330 2005-07-18 Wim Taymans <wim@fluendo.com>
22332 * check/gst/gstbin.c: (GST_START_TEST):
22335 2005-07-18 Wim Taymans <wim@fluendo.com>
22337 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
22338 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
22339 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
22340 (gst_base_sink_event), (gst_base_sink_do_sync),
22341 (gst_base_sink_chain), (gst_base_sink_loop),
22342 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
22343 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
22345 Fix logic for returning ASYNC when not prerolled.
22347 2005-07-18 Wim Taymans <wim@fluendo.com>
22349 * gst/gstqueue.c: (gst_queue_handle_sink_event):
22350 Fix nasty refcount bug.
22352 2005-07-16 Philippe Khalaf <burger@speedy.org>
22354 * gst/elements/gstfdsrc.c:
22355 * gst/elements/gstfdsrc.h:
22356 * gst/elements/gstelements.c:
22357 * gst/elements/Makefile.am:
22358 Ported fdsrc to 0.9.
22360 2005-07-16 Wim Taymans <wim@fluendo.com>
22362 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22363 (gst_base_sink_do_sync):
22366 2005-07-16 Wim Taymans <wim@fluendo.com>
22368 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22369 (gst_base_sink_event), (gst_base_sink_get_times),
22370 (gst_base_sink_do_sync), (gst_base_sink_change_state):
22371 * gst/base/gstbasesink.h:
22372 Store and use discont values when syncing buffers as described
22375 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
22376 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
22377 (gst_base_src_activate_push):
22378 Push discont event when starting.
22380 * gst/elements/gstidentity.c: (gst_identity_transform):
22383 * gst/gstbin.c: (gst_bin_change_state):
22384 Small cleanups in base_time distribution.
22386 * gst/gstelement.c: (gst_element_set_base_time),
22387 (gst_element_get_base_time), (gst_element_change_state):
22388 * gst/gstelement.h:
22389 Added methods for the base_time of the element.
22392 * gst/gstpipeline.c: (gst_pipeline_send_event),
22393 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
22394 (gst_pipeline_get_last_stream_time):
22395 * gst/gstpipeline.h:
22397 Handle seeking as described in design doc, remove stream_time
22399 Cleanups clock and stream_time selection code. Added accessors
22400 for the stream_time.
22403 2005-07-16 Andy Wingo <wingo@pobox.com>
22405 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
22408 2005-07-16 Wim Taymans <wim@fluendo.com>
22410 * check/gst/gstbin.c: (GST_START_TEST):
22411 Make elements silent as the deep_notify refs the
22412 parent, which might make the test fail.
22414 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
22415 Don't hold the lock for too long.
22417 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
22419 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
22420 Don't unref the caps we passed to gst_caps_make_writable() after
22421 passing them. gst_caps_make_writable() will do that for us.
22423 2005-07-15 Andy Wingo <wingo@pobox.com>
22425 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
22428 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
22429 own marshalling function for the handoff signal. Properly type the
22430 buffer as a buffer. Fixes some warnings. Should do a more general
22432 (gst_identity_class_init): Plug into the right marshaller.
22434 2005-07-15 Wim Taymans <wim@fluendo.com>
22436 * docs/design/part-TODO.txt:
22437 * docs/design/part-clocks.txt:
22438 * docs/design/part-element-sink.txt:
22439 * docs/design/part-events.txt:
22440 * docs/design/part-gstpipeline.txt:
22441 Updated docs, mostly DISCONT related.
22443 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
22445 * docs/pwg/building-pads.xml:
22446 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
22448 2005-07-15 Andy Wingo <wingo@pobox.com>
22450 * tools/gst-typefind.c: Update, add copyright block.
22452 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
22453 Normalize and truncate caps before fixation.
22456 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
22457 discards all but the first structure from its argument.
22459 2005-07-15 Wim Taymans <wim@fluendo.com>
22461 * gst/base/gstbasetransform.c: (gst_base_transform_init),
22462 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
22463 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22464 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
22465 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
22466 (gst_base_transform_chain), (gst_base_transform_change_state),
22467 (gst_base_transform_set_passthrough),
22468 (gst_base_transform_is_passthrough):
22469 * gst/base/gstbasetransform.h:
22470 Make passthrough work using the bufferpools.
22471 Changed API a bit, subclasses have to write into a buffer
22472 provided by the base class.
22473 More debug info in nego functions.
22475 * gst/elements/gstidentity.c: (gst_identity_init),
22476 (gst_identity_transform):
22477 Port to new base class.
22479 2005-07-15 Wim Taymans <wim@fluendo.com>
22481 * gst/gstmessage.c: (gst_message_new_state_changed):
22482 * tools/gst-launch.c: (event_loop), (main):
22483 Totally dump messages in -launch with the -m option.
22484 Fix message name for State messages,
22486 2005-07-14 Wim Taymans <wim@fluendo.com>
22488 * gst/base/gstbasesrc.c: (gst_base_src_loop):
22489 Post error messages on errors.
22491 2005-07-14 Wim Taymans <wim@fluendo.com>
22493 * gst/gstcaps.c: (gst_caps_do_simplify):
22497 Define error for stream stopped.
22499 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
22500 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
22501 Do proper return values.
22503 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22504 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
22505 (gst_pad_get_range):
22506 Better return values.
22509 Reorganise return values, add macro to check for fatal errors.
22511 * gst/gstqueue.c: (gst_queue_chain):
22512 Return proper GstFlowReturn values,
22514 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
22516 * docs/gst/gstreamer-sections.txt:
22517 * docs/gst/gstreamer.types:
22518 * docs/gst/tmpl/gst.sgml:
22519 * docs/gst/tmpl/gstbasesink.sgml:
22520 * docs/gst/tmpl/gstbasesrc.sgml:
22521 * docs/gst/tmpl/gstbasetransform.sgml:
22522 * docs/gst/tmpl/gstbin.sgml:
22523 * docs/gst/tmpl/gstbuffer.sgml:
22524 * docs/gst/tmpl/gstcaps.sgml:
22525 * docs/gst/tmpl/gstclock.sgml:
22526 * docs/gst/tmpl/gstcompat.sgml:
22527 * docs/gst/tmpl/gstconfig.sgml:
22528 * docs/gst/tmpl/gstelement.sgml:
22529 * docs/gst/tmpl/gstelementdetails.sgml:
22530 * docs/gst/tmpl/gstelementfactory.sgml:
22531 * docs/gst/tmpl/gstenumtypes.sgml:
22532 * docs/gst/tmpl/gsterror.sgml:
22533 * docs/gst/tmpl/gstevent.sgml:
22534 * docs/gst/tmpl/gstfakesink.sgml:
22535 * docs/gst/tmpl/gstfakesrc.sgml:
22536 * docs/gst/tmpl/gstfilesink.sgml:
22537 * docs/gst/tmpl/gstfilesrc.sgml:
22538 * docs/gst/tmpl/gstfilter.sgml:
22539 * docs/gst/tmpl/gstformat.sgml:
22540 * docs/gst/tmpl/gstghostpad.sgml:
22541 * docs/gst/tmpl/gstimplementsinterface.sgml:
22542 * docs/gst/tmpl/gstindex.sgml:
22543 * docs/gst/tmpl/gstindexfactory.sgml:
22544 * docs/gst/tmpl/gstinfo.sgml:
22545 * docs/gst/tmpl/gstiterator.sgml:
22546 * docs/gst/tmpl/gstmacros.sgml:
22547 * docs/gst/tmpl/gstmemchunk.sgml:
22548 * docs/gst/tmpl/gstminiobject.sgml:
22549 * docs/gst/tmpl/gstobject.sgml:
22550 * docs/gst/tmpl/gstpad.sgml:
22551 * docs/gst/tmpl/gstpadtemplate.sgml:
22552 * docs/gst/tmpl/gstparse.sgml:
22553 * docs/gst/tmpl/gstpipeline.sgml:
22554 * docs/gst/tmpl/gstplugin.sgml:
22555 * docs/gst/tmpl/gstpluginfeature.sgml:
22556 * docs/gst/tmpl/gstquery.sgml:
22557 * docs/gst/tmpl/gstqueue.sgml:
22558 * docs/gst/tmpl/gstregistry.sgml:
22559 * docs/gst/tmpl/gstregistrypool.sgml:
22560 * docs/gst/tmpl/gstscheduler.sgml:
22561 * docs/gst/tmpl/gstschedulerfactory.sgml:
22562 * docs/gst/tmpl/gststructure.sgml:
22563 * docs/gst/tmpl/gstsystemclock.sgml:
22564 * docs/gst/tmpl/gsttaglist.sgml:
22565 * docs/gst/tmpl/gsttagsetter.sgml:
22566 * docs/gst/tmpl/gsttrace.sgml:
22567 * docs/gst/tmpl/gsttrashstack.sgml:
22568 * docs/gst/tmpl/gsttypefind.sgml:
22569 * docs/gst/tmpl/gsttypefindfactory.sgml:
22570 * docs/gst/tmpl/gsttypes.sgml:
22571 * docs/gst/tmpl/gsturihandler.sgml:
22572 * docs/gst/tmpl/gsturitype.sgml:
22573 * docs/gst/tmpl/gstutils.sgml:
22574 * docs/gst/tmpl/gstvalue.sgml:
22575 * docs/gst/tmpl/gstversion.sgml:
22576 * docs/gst/tmpl/gstxml.sgml:
22577 * docs/libs/tmpl/gstcontrol.sgml:
22578 * docs/libs/tmpl/gstdataprotocol.sgml:
22579 * docs/libs/tmpl/gstdparam.sgml:
22580 * docs/libs/tmpl/gstdplinint.sgml:
22581 * docs/libs/tmpl/gstdpman.sgml:
22582 * docs/libs/tmpl/gstdpsmooth.sgml:
22583 * docs/libs/tmpl/gstgetbits.sgml:
22584 * docs/libs/tmpl/gstunitconvert.sgml:
22585 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
22586 (gst_push_src_base_init), (gst_push_src_class_init),
22587 (gst_push_src_init), (gst_push_src_create):
22588 * gst/base/gstpushsrc.h:
22589 * gst/elements/gstelements.c:
22590 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
22591 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
22592 (gst_fake_sink_init), (gst_fake_sink_set_property),
22593 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
22594 (gst_fake_sink_event), (gst_fake_sink_preroll),
22595 (gst_fake_sink_render), (gst_fake_sink_change_state):
22596 * gst/elements/gstfakesink.h:
22597 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
22598 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
22599 (gst_fake_src_base_init), (gst_fake_src_class_init),
22600 (gst_fake_src_init), (gst_fake_src_event_handler),
22601 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
22602 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
22603 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
22604 (gst_fake_src_create_buffer), (gst_fake_src_create),
22605 (gst_fake_src_start), (gst_fake_src_stop):
22606 * gst/elements/gstfakesrc.h:
22607 * gst/elements/gstfilesink.c: (_do_init),
22608 (gst_file_sink_base_init), (gst_file_sink_class_init),
22609 (gst_file_sink_init), (gst_file_sink_dispose),
22610 (gst_file_sink_set_location), (gst_file_sink_set_property),
22611 (gst_file_sink_get_property), (gst_file_sink_open_file),
22612 (gst_file_sink_close_file), (gst_file_sink_query),
22613 (gst_file_sink_event), (gst_file_sink_render),
22614 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
22615 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
22616 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
22617 * gst/elements/gstfilesink.h:
22618 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
22619 (gst_file_src_class_init), (gst_file_src_init),
22620 (gst_file_src_finalize), (gst_file_src_set_location),
22621 (gst_file_src_set_property), (gst_file_src_get_property),
22622 (gst_file_src_map_region), (gst_file_src_map_small_region),
22623 (gst_file_src_create_mmap), (gst_file_src_create_read),
22624 (gst_file_src_create), (gst_file_src_is_seekable),
22625 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
22626 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
22627 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
22628 (gst_file_src_uri_handler_init):
22629 * gst/elements/gstfilesrc.h:
22630 more autistic cleanliness in functions/names/defines
22632 2005-07-13 Andy Wingo <wingo@pobox.com>
22634 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
22635 source couldn't negotiate.
22637 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
22641 * gst/gstutils.c (gst_element_link_pads_filtered): New old
22642 function. I am channeling Hades. Put your boots on suckers!!!
22644 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
22646 * testsuite/caps/Makefile.am:
22647 * testsuite/caps/value_compare.c:
22648 * testsuite/caps/value_intersect.c:
22649 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
22650 move two testsuite apps over to the check dir
22652 2005-07-12 Wim Taymans <wim@fluendo.com>
22654 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
22655 Added more debug info in the negotiate process.
22657 * gst/gstmessage.h:
22658 Prepare for segment playback.
22660 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
22666 * tools/gst-launch.c: (main):
22667 NULL pipeline on errors.
22669 2005-07-12 Andy Wingo <wingo@pobox.com>
22671 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
22672 not it comes from a malloc region. Make sure our copy gets freed.
22674 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
22676 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
22677 * check/gst/gstmessage.c: (GST_START_TEST):
22678 * check/gst/gststructure.c: (GST_START_TEST),
22679 (gst_structure_suite), (main):
22681 * gst/gstelement.c: (gst_element_message_full):
22682 clean up GError and debug string now that they get copied
22683 * gst/gstmessage.c: (gst_message_new_error),
22684 (gst_message_new_warning), (gst_message_parse_error),
22685 (gst_message_parse_warning):
22686 use GST_TYPE_G_ERROR for structure_new, and take copies of
22687 arguments, so that we don't mess up refcounting
22689 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
22691 * check/Makefile.am:
22692 add per-test valgrind targets
22693 * check/gst-libs/gdp.c: (GST_START_TEST),
22694 (gst_data_protocol_suite), (main):
22697 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
22699 * check/Makefile.am:
22700 instate more valgrindable tests
22701 * check/elements/gstfakesrc.c: (chain_func), (event_func),
22702 (GST_START_TEST), (fakesrc_suite):
22703 * check/gst/gstpad.c: (GST_START_TEST):
22704 * check/gst/gststructure.c: (GST_START_TEST):
22706 * docs/gst/tmpl/gstminiobject.sgml:
22707 * gst/gstpad.c: (gst_pad_finalize):
22708 fix the static mutex leak
22710 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
22712 * check/Makefile.am:
22713 add two more tests for valgrinding
22714 * check/gst/gstvalue.c: (GST_START_TEST):
22715 test refcount of deserialized buffer, found a leak
22716 * docs/gst/gstreamer-docs.sgml:
22717 * docs/gst/gstreamer-sections.txt:
22718 * docs/gst/gstreamer.types:
22719 * docs/gst/tmpl/gstminiobject.sgml:
22720 add miniobject to docs
22721 * gst/gstminiobject.c:
22723 * gst/gstvalue.c: (gst_value_deserialize_buffer),
22724 (gst_string_unwrap):
22725 fix a hard-to-find invalid write for one of the tests
22726 fix a leak for deserialized buffers
22728 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22730 * docs/pwg/advanced-events.xml:
22731 * docs/pwg/advanced-request.xml:
22732 * docs/pwg/advanced-scheduling.xml:
22733 * docs/pwg/appendix-porting.xml:
22734 * docs/pwg/building-boiler.xml:
22735 * docs/pwg/intro-preface.xml:
22736 * docs/pwg/other-ntoone.xml:
22737 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
22738 of example code and explanation for pad activation, loop() and
22739 getrange() functions and a bit more. Remove old comments pointing
22741 * examples/pwg/Makefile.am:
22742 Add loop/getrange examples.
22744 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
22747 check for valgrind binary + some fixes
22749 valgrind suppressions for the tests
22750 * check/Makefile.am:
22751 add a valgrind: target that valgrinds the unit tests
22752 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
22753 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
22754 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22755 * check/gst/gstghostpad.c:
22757 * check/gst/gstdata.c:
22759 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
22760 (thread_unref), (gst_mini_object_suite), (main):
22762 * gst/gst.c: (gst_deinit):
22764 add a method to clean up.
22765 * gst/gstsystemclock.c: (gst_system_clock_dispose),
22766 (gst_system_clock_obtain):
22767 allow for disposing the system clock.
22768 * tools/gst-launch.c: (main):
22771 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
22773 * docs/gst/tmpl/gstbasesrc.sgml:
22774 * docs/gst/tmpl/gstfakesrc.sgml:
22775 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22776 (gst_base_src_init), (gst_base_src_set_property),
22777 (gst_base_src_get_property), (gst_base_src_get_range),
22778 (gst_base_src_start):
22779 * gst/base/gstbasesrc.h:
22780 add num-buffers property
22781 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22782 (gst_fakesrc_init), (gst_fakesrc_set_property),
22783 (gst_fakesrc_get_property), (gst_fakesrc_create),
22784 (gst_fakesrc_start):
22785 remove num-buffers property
22787 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
22789 * docs/gst/gstreamer-sections.txt:
22790 * docs/gst/tmpl/gstbasesink.sgml:
22791 * docs/gst/tmpl/gstbasesrc.sgml:
22792 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
22793 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
22794 (gst_base_sink_finalize), (gst_base_sink_set_clock),
22795 (gst_base_sink_set_property), (gst_base_sink_get_property),
22796 (gst_base_sink_handle_object), (gst_base_sink_event),
22797 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
22798 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
22799 (gst_base_sink_loop), (gst_base_sink_deactivate),
22800 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
22801 (gst_base_sink_change_state):
22802 * gst/base/gstbasesink.h:
22803 * gst/base/gstbasesrc.h:
22804 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
22805 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
22806 (gst_filesink_init):
22807 more macro splitting
22809 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
22811 * gst/gstelement.c: (gst_element_get_bus):
22813 * tools/gst-launch.c: (check_intr), (event_loop):
22816 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
22818 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
22821 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
22823 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22824 (gst_base_src_finalize):
22825 add finalize method and clean up properly
22826 * gst/gstpipeline.c: (gst_pipeline_dispose):
22829 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
22831 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
22833 add more things to check
22834 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
22835 * gst/gstelement.c:
22838 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
22840 * check/elements/gstfakesrc.c: (chain_func), (event_func),
22841 (GST_START_TEST), (fakesrc_suite):
22842 * check/gst-libs/gdp.c: (GST_START_TEST):
22843 * check/gst/gst.c: (GST_START_TEST):
22844 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22845 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22846 * check/gst/gstbus.c: (GST_START_TEST):
22847 * check/gst/gstcaps.c: (GST_START_TEST):
22848 * check/gst/gstdata.c: (GST_START_TEST):
22849 * check/gst/gstelement.c: (GST_START_TEST):
22850 * check/gst/gstghostpad.c: (GST_START_TEST):
22851 * check/gst/gstiterator.c: (GST_START_TEST):
22852 * check/gst/gstmessage.c: (GST_START_TEST):
22853 * check/gst/gstobject.c: (GST_START_TEST):
22854 * check/gst/gstpad.c: (GST_START_TEST):
22855 * check/gst/gststructure.c: (GST_START_TEST):
22856 * check/gst/gstsystemclock.c: (GST_START_TEST),
22857 (gst_systemclock_suite):
22858 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
22859 * check/gst/gstvalue.c: (GST_START_TEST):
22860 * check/pipelines/cleanup.c: (GST_START_TEST):
22861 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
22862 * check/states/sinks.c: (GST_START_TEST):
22863 * check/gstcheck.c: (gst_check_init):
22864 * check/gstcheck.h:
22865 add debugging category
22866 use GST_START_TEST now, so we add a debug line
22868 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
22870 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
22871 add test for state change message on a bin
22872 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
22874 * gst/gstbin.c: (gst_bin_init):
22875 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
22876 * gst/gstelement.c: (gst_element_post_message),
22877 (gst_element_set_state):
22878 * gst/gstelementfactory.c: (gst_element_factory_create):
22879 * gst/gstmessage.c: (gst_message_new):
22880 * gst/gstscheduler.c:
22881 various debugging additions and cleanups
22883 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
22885 * check/Makefile.am:
22886 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
22888 adding tests for elements
22889 * gst/gstelement.c: (gst_element_dispose):
22891 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
22893 * gst/registries/gstlibxmlregistry.c: (load_feature):
22894 plug more leaks. A simple gst_init() now is leakfree, yay.
22896 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
22898 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
22899 (gst_xml_registry_load):
22900 plug another memleak
22902 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
22905 use GST_SET_ERROR_CFLAGS
22906 * docs/faq/cvs.xml:
22907 change to ERROR_CFLAGS
22909 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
22912 make GST_ERROR_CFLAGS overridable and re-enable Werror
22913 * docs/faq/cvs.xml:
22914 add a note about error CFLAGS
22915 * docs/gst/tmpl/gstfakesrc.sgml:
22916 * gst/elements/gstfakesrc.c:
22917 comment out some unused code
22918 * gst/gst.c: (split_and_iterate):
22919 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
22923 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
22925 * common/Makefile.am:
22926 * common/gtk-doc.mak:
22927 * docs/gst/Makefile.am:
22928 factor out gtk-doc.mak
22930 2005-07-07 Wim Taymans <wim@fluendo.com>
22932 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
22933 (gst_thread_scheduler_dispose):
22934 Unlock the STREAM_LOCK completely.
22936 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
22938 * check/Makefile.am:
22939 * check/elements/.cvsignore:
22940 * check/elements/gstfakesrc.c: (chain_func), (event_func),
22941 (START_TEST), (fakesrc_suite), (main):
22942 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22943 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
22944 (gst_fakesrc_create), (gst_fakesrc_start):
22945 * gst/elements/gstfakesrc.h:
22946 adding a first element test
22948 2005-07-07 Andy Wingo <wingo@pobox.com>
22950 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
22953 2005-07-07 Wim Taymans <wim@fluendo.com>
22959 2005-07-07 Wim Taymans <wim@fluendo.com>
22961 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
22962 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
22963 Allow subclasses to implement their own negotiation.
22965 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
22967 * docs/design/part-gstbin.txt:
22968 * docs/design/part-gstpipeline.txt:
22969 Update design notes to reflect the movement of
22970 responsibility for bus handling from GstPipeline to
22973 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
22976 Remove unnecessary queue2/3/4 examples.
22978 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
22980 * examples/Makefile.am:
22981 * examples/helloworld/helloworld.c: (event_loop), (main):
22982 * examples/queue/queue.c: (event_loop), (main):
22983 * examples/queue2/queue2.c: (main):
22984 Update a couple of the examples to work again.
22986 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
22987 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
22988 Spelling corrections and extra debug.
22990 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
22991 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
22992 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
22994 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
22995 (gst_pipeline_change_state):
22996 * gst/gstpipeline.h:
22997 Move the bus handler for children to the GstBin, and create a
22998 separate bus for receiving messages from children to the one the
22999 bus sends 'upwards' on.
23001 2005-07-06 Wim Taymans <wim@fluendo.com>
23004 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
23005 (gst_base_sink_handle_object), (gst_base_sink_loop),
23006 (gst_base_sink_change_state):
23007 * gst/base/gstbasesink.h:
23008 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23009 (gst_base_src_init), (gst_base_src_setcaps),
23010 (gst_base_src_getcaps), (gst_base_src_loop),
23011 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
23012 (gst_base_src_start), (gst_base_src_change_state):
23013 * gst/base/gstbasesrc.h:
23014 Make basesrc negotiate.
23015 Handle the case where preroll fails in basesink.
23018 2005-07-06 Wim Taymans <wim@fluendo.com>
23020 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
23021 Implement the fixate function.
23022 Clean up acceptcaps.
23024 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23026 * docs/pwg/building-filterfactory.xml:
23027 * docs/pwg/pwg.xml:
23028 Remove never-written filter-factory chapter; I'll add the various
23029 base classes to part 4 ("other element types") later on.
23031 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23033 * docs/pwg/advanced-negotiation.xml:
23034 * docs/pwg/building-boiler.xml:
23035 * docs/pwg/building-pads.xml:
23036 * docs/pwg/pwg.xml:
23037 * examples/pwg/Makefile.am:
23038 Add a chapter on caps negotiation, simplify the original code
23039 samples a bit w.r.t. caps negotiation, add link to the advanced
23040 section. Add a bunch of examples showing different use cases of
23041 different types of caps negotiation. Upstream renegotiation isn't
23042 fully documented yet since nobody knows how that works.
23044 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
23046 * check/gst/gstpad.c:
23047 * check/gstcheck.c:
23048 * gst/gstpad.c: (gst_pad_get_internal_links_default):
23049 if pad has no parent, return NULL as list of internal links
23051 2005-07-05 Andy Wingo <wingo@pobox.com>
23053 * gst/elements/gstfilesrc.c:
23054 * gst/elements/gstfakesrc.c:
23055 * gst/base/gstpushsrc.c:
23056 * gst/base/gstbasesrc.h:
23057 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
23059 2005-07-05 Stefan Kost <ensonic@users.sf.net>
23062 better report generation target (lcov needs a patch)
23064 2005-07-05 Andy Wingo <wingo@pobox.com>
23066 * gst/elements, testsuite: Null if we got it...
23068 2005-07-05 Wim Taymans <wim@fluendo.com>
23071 * libs/gst/dataprotocol/Makefile.am:
23072 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
23073 * libs/gst/dataprotocol/dataprotocol.h:
23074 * pkgconfig/Makefile.am:
23075 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
23076 * pkgconfig/gstreamer-dataprotocol.pc.in:
23077 Ported dataprotol to 0.9.
23078 Added pkgconfig files.
23080 2005-07-05 Andy Wingo <wingo@pobox.com>
23082 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
23083 Default to returning TRUE for the case when tranform_caps returns
23084 a fixed caps, like for identity or volume.
23086 * check/gst/gstbus.c (pound_bus_with_messages):
23087 * check/gst/gstmessage.c (START_TEST):
23088 * check/pipelines/simple_launch_lines.c (got_handoff): Application
23089 message API change.
23091 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
23092 logic weaks here: always run transform_caps, trying passthrough
23093 operation only if the original caps intersects with the transform.
23095 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
23096 source and sink caps.
23098 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
23099 Intersect the peer caps with the pad template before going into
23101 (gst_base_transform_transform_caps): More debugging.
23103 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
23106 2005-07-04 Edward Hervey <edward@fluendo.com>
23110 (gst_pad_add_*_probe): now returns the signal id for better wrapping
23113 2005-07-04 Andy Wingo <wingo@pobox.com>
23115 * check/gst/gstpad.c: Only set explicit caps on pads.
23117 2005-07-01 Andy Wingo <wingo@pobox.com>
23119 * tests/network-clock.scm: Commentary update.
23121 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
23122 Didn't really make sense, not implementable with basetransform,
23124 (gst_identity_transform): Unref inbuf via make_writable. Feeble
23125 attempt at implementing the sync property, needs an unlock method.
23127 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
23128 New func, by default returns the same caps (the identity
23130 (gst_base_transform_getcaps): Uses transform_caps to return
23131 something sensible.
23132 (gst_base_transform_setcaps): Complicated logic to get caps on
23133 both pads, even if they are different, and to call set_caps once
23134 for every time both pads get their caps set.
23135 (gst_base_transform_handle_buffer): Give the ref to the transform
23136 function. Allows in-place modification of the buffer.
23138 * gst/base/gstbasetransform.h (transform_caps): New class method.
23139 Given caps on one side, what can I do on the other.
23140 (set_caps): Take two caps, one for each side of the element.
23143 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
23144 caps in place. This is safe because we can check the mutability of
23145 the caps, and a good idea because fixate functions are just called
23146 as a matter of last resort. (Not actually implemented.)
23147 (gst_pad_set_caps): If the caps we're setting is actually the same
23148 as the existing pad caps, just update the pointer without calling
23149 setcaps. Assert that caps is either NULL or fixed, as per the
23152 * gst/gstghostpad.c: Update for fixate changes.
23154 2005-07-02 Andy Wingo <wingo@pobox.com>
23157 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
23158 two refcounts makes it immutable, which is enough. Doc more.
23160 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
23162 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
23163 Put the mini_object into GValue as a mini_object,
23164 not a gpointer, since that's how we declared
23167 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23169 * examples/pwg/Makefile.am:
23170 Fix buildbot again.
23172 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23174 * docs/pwg/building-testapp.xml:
23176 * examples/pwg/Makefile.am:
23179 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23182 * examples/Makefile.am:
23183 * examples/pwg/Makefile.am:
23184 * examples/pwg/extract.pl:
23185 Enable building the PWG examples.
23186 * docs/pwg/advanced-interfaces.xml:
23187 Add URI interface stub.
23188 * docs/pwg/advanced-types.xml:
23189 * docs/pwg/other-autoplugger.xml:
23190 * docs/pwg/appendix-porting.xml:
23191 * docs/pwg/pwg.xml:
23192 Add porting guide (mostly stubs), remove autoplugging (see ADM).
23193 * docs/pwg/building-boiler.xml:
23194 * docs/pwg/building-chainfn.xml:
23195 * docs/pwg/building-pads.xml:
23196 * docs/pwg/building-props.xml:
23197 * docs/pwg/building-state.xml:
23198 * docs/pwg/building-testapp.xml:
23199 Update the building-*.xml parts for 0.9 changes. All examples
23200 code blocks compile in examples/pwg/*.
23202 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23204 * docs/manual/advanced-autoplugging.xml:
23205 * docs/manual/appendix-checklist.xml:
23206 * docs/manual/appendix-integration.xml:
23207 * docs/manual/highlevel-components.xml:
23208 Fix playbin/decodebin examples, update docs a bit, mention bus
23209 instead of signals in various places, mention kmplayer and
23210 kaffeine since they have a working GStreamer backend in the KDE
23213 2005-06-30 Wim Taymans <wim@fluendo.com>
23216 * docs/design/draft-ghostpads.txt:
23217 * docs/design/draft-push-pull.txt:
23218 * docs/design/draft-query.txt:
23219 * docs/design/part-TODO.txt:
23220 * docs/design/part-query.txt:
23221 Added CHANGES-0.9 doc, updated status of other docs.
23226 2005-06-30 Wim Taymans <wim@fluendo.com>
23228 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
23229 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
23230 (gst_base_sink_change_state):
23231 * gst/base/gstbasesink.h:
23232 Some tweaks, only EOS and a buffer complete a preroll.
23234 2005-06-30 Andy Wingo <wingo@pobox.com>
23236 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
23237 activate_push down to the internal pad as well.
23239 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
23241 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23243 * gst/gsttaginterface.c:
23244 Some documentation fixes (#307394 and #307397).
23246 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
23248 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23250 * gst/gstvalue.c: (gst_value_intersect_list):
23251 Fix memleak (#309125).
23253 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23255 * docs/manual/advanced-dataaccess.xml:
23256 Fix fakesrc example to compile; doesn't work, bug somewhere...?
23257 * docs/manual/basics-pads.xml:
23258 Add reference for filtered caps to above chapter.
23260 2005-06-30 Wim Taymans <wim@fluendo.com>
23262 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
23263 (gst_bin_change_state):
23265 Lame attempt at making the state change function a bit
23268 2005-06-30 Wim Taymans <wim@fluendo.com>
23270 * docs/design/part-clocks.txt:
23271 * docs/design/part-element-sink.txt:
23272 * docs/design/part-events.txt:
23273 * docs/design/part-preroll.txt:
23274 * docs/design/part-states.txt:
23275 Some more tweeks and additions to the docs.
23277 2005-06-30 Wim Taymans <wim@fluendo.com>
23279 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23280 (default_have_data), (gst_pad_class_init), (gst_pad_init),
23281 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
23282 (gst_pad_check_pull_range), (gst_pad_get_range),
23283 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
23285 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
23286 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
23287 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
23288 (gst_pad_remove_buffer_probe):
23289 Removed atomic operations, use existing LOCK.
23290 Move exception handling out of main code path.
23292 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23294 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23295 (silly_return_true_function), (gst_pad_class_init),
23296 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
23297 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
23298 (gst_pad_send_event):
23299 Fix accumulator, add default value by using _emitv() instead
23300 of _emit() for signal emission.
23302 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23304 * docs/manual/advanced-dataaccess.xml:
23305 * examples/manual/Makefile.am:
23307 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
23310 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
23312 * gst/elements/gstfilesink.c: (gst_filesink_render):
23313 Simplify code so that we don't have to handle short
23314 writes and return GST_FLOW_ERROR if an error occured.
23316 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23318 * docs/gst/gstreamer-docs.sgml:
23319 Remove probes more.
23321 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23323 * docs/gst/gstreamer-sections.txt:
23324 * docs/gst/tmpl/gstpad.sgml:
23325 * docs/gst/tmpl/gstprobe.sgml:
23327 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23328 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
23329 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
23330 (gst_pad_push_event), (gst_pad_send_event):
23332 * gst/gstutils.c: (gst_pad_add_data_probe),
23333 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
23334 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
23335 (gst_pad_remove_buffer_probe):
23337 Remove old probes, add new g-signal-based probes and some utility
23340 2005-06-29 Edward Hervey <edward@fluendo.com>
23342 * gst/gstelementfactory.c:
23345 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
23346 the definition to the header file.
23348 2005-06-29 Andy Wingo <wingo@pobox.com>
23350 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
23351 plugins from the source directory.
23353 2005-06-29 Wim Taymans <wim@fluendo.com>
23355 * docs/gst/tmpl/gstbuffer.sgml:
23356 * docs/gst/tmpl/gstclock.sgml:
23357 Some fixings for blantently wrong text.
23359 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
23361 * check/Makefile.am:
23362 * gst/gst.c: (add_path_func), (init_pre):
23363 * gst/gstregistry.c: (gst_registry_add_path):
23364 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
23365 only scan the GST_PLUGIN_PATH locations, and not add
23368 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
23370 * docs/gst/gstreamer-sections.txt:
23371 * docs/gst/tmpl/gstbasesrc.sgml:
23372 * gst/gstelement.c:
23373 * gst/gstelement.h:
23378 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23380 * docs/manual/advanced-autoplugging.xml:
23381 Fix autoplugging example.
23383 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23385 * docs/manual/advanced-autoplugging.xml:
23386 * docs/manual/mime-world.fig:
23387 Try to get autoplugging working, fix type detection. Fix text
23388 in hello-world image.
23390 2005-06-29 Wim Taymans <wim@fluendo.com>
23392 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23393 (gst_base_sink_change_state):
23397 map SIGNAL and BROADCAST to the right function.
23400 Remove redundant braces.
23402 * gst/gstpad.c: (gst_pad_set_caps):
23403 Don't call setcaps function when reseting caps to NULL.
23405 * gst/gstsystemclock.c: (gst_system_clock_dispose),
23406 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
23407 (gst_system_clock_id_unschedule):
23408 Use BROADCAST as this is what we do.
23410 2005-06-29 Wim Taymans <wim@fluendo.com>
23412 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23413 We are actually prerolling before commiting the state
23416 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23418 * docs/manual/advanced-clocks.xml:
23419 * docs/manual/advanced-interfaces.xml:
23420 * docs/manual/advanced-metadata.xml:
23421 * docs/manual/advanced-position.xml:
23422 * docs/manual/advanced-schedulers.xml:
23423 * docs/manual/advanced-threads.xml:
23424 * docs/manual/appendix-porting.xml:
23425 * docs/manual/basics-bins.xml:
23426 * docs/manual/basics-bus.xml:
23427 * docs/manual/basics-elements.xml:
23428 * docs/manual/basics-helloworld.xml:
23429 * docs/manual/basics-pads.xml:
23430 * docs/manual/highlevel-components.xml:
23431 * docs/manual/manual.xml:
23432 * docs/manual/thread.fig:
23433 Update (until threads/scheduling) Application Development Manual;
23434 remove GstThread, add GstBus, add simple porting checklist, add
23435 documentation for tag writing, clocks, make all examples until this
23436 part compile and run.
23437 * examples/manual/Makefile.am:
23438 Update from changes to Application Development Manual; add bus
23439 example, remove thread example.
23441 2005-06-28 Wim Taymans <wim@fluendo.com>
23443 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
23444 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
23445 (gst_bus_source_dispatch):
23446 Add debugging messages.
23447 Make internal methods static.
23448 Handle the case where the bus is flushed in the handler.
23450 * gst/gstelement.c: (gst_element_get_bus):
23451 Fix refcount in _get_bus();
23453 * gst/gstpipeline.c: (gst_pipeline_change_state),
23454 (gst_pipeline_get_clock_func):
23455 Clock refcounting fixes.
23456 Handle the case where preroll timed out more gracefully.
23458 * gst/gstsystemclock.c: (gst_system_clock_dispose):
23459 Clean up the internal thread in dispose. This is needed
23460 for subclasses that actually get disposed.
23462 * gst/schedulers/threadscheduler.c:
23463 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
23464 (gst_thread_scheduler_dispose):
23465 Free thread pool in dispose.
23467 2005-06-28 Andy Wingo <wingo@pobox.com>
23469 * tests/network-clock-utils.scm (debug, print-event): New utils.
23471 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
23472 (*packet-loss*): Unified loss probability.
23473 (network-time): Report out-of-band events.
23475 * tests/plot-data: Add support for out-of-band events. Hack it
23476 into this script instead of passing it down the pipe; should fix
23479 2005-06-28 Wim Taymans <wim@fluendo.com>
23481 * docs/gst/gstreamer.types:
23482 * docs/gst/tmpl/gstbasesrc.sgml:
23483 * docs/gst/tmpl/gstpad.sgml:
23486 2005-06-28 Wim Taymans <wim@fluendo.com>
23488 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23489 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
23490 (gst_proxy_pad_do_fixatecaps):
23491 Correctly proxy the check_pull_range function.
23493 2005-06-28 Andy Wingo <wingo@pobox.com>
23495 * tests/network-clock.scm: Removed need for slib.
23497 2005-06-28 Wim Taymans <wim@fluendo.com>
23499 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
23500 (gst_basesink_preroll_queue_flush):
23501 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
23502 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
23503 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23504 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
23505 (gst_proxy_pad_set_property):
23508 * gst/gstqueue.c: (gst_queue_init):
23509 The deprecated pad loop function is removed now.
23511 2005-06-28 Andy Wingo <wingo@pobox.com>
23513 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
23514 New parameters, simulate network packet loss.
23516 * tests/network-clock-utils.scm: Initialize the RNG.
23518 2005-06-28 Wim Taymans <wim@fluendo.com>
23520 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
23521 (gst_basesink_event), (gst_basesink_deactivate):
23522 Flushing the preroll queue always needs to unlock the waiters.
23524 2005-06-28 Edward Hervey <edward@fluendo.com>
23526 * gst/gstpipeline.c: (gst_pipeline_send_event):
23527 Wheen a seek was successful on a pipeline, set the stream_time to the
23528 seek offset in order to have a synchronized stream_time.
23530 2005-06-28 Wim Taymans <wim@fluendo.com>
23532 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23533 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
23534 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
23535 (gst_proxy_pad_do_fixatecaps):
23536 Call wrapper function instead of just calling the function
23537 pointers. This takes care of any locking and whatmore.
23539 2005-06-28 Wim Taymans <wim@fluendo.com>
23541 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
23542 (gst_pad_pull_range):
23544 CONNECTED -> LINKED.
23546 2005-06-28 Andy Wingo <wingo@pobox.com>
23548 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
23549 source-munging commit!!!
23551 * gst/gstobject.c (gst_object_unref, gst_object_ref)
23552 (gst_object_sink): Take gpointer arguments, not GstObject --
23553 avoids casts. Like GLib.
23555 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
23558 2005-06-27 Andy Wingo <wingo@pobox.com>
23560 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
23563 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
23564 returns a sorted copy of the trace list.
23565 (gst_alloc_trace_print_live): New API, only prints traces with
23566 live objects. Sort the list.
23567 (gst_alloc_trace_print_all): Sort the list.
23568 (gst_alloc_trace_print): Align columns.
23570 * gst/elements/gstttypefindelement.c:
23571 * gst/elements/gsttee.c:
23572 * gst/base/gstbasesrc.c:
23573 * gst/base/gstbasesink.c:
23574 * gst/base/gstbasetransform.c:
23575 * gst/gstqueue.c: Adapt for pad activation changes.
23577 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
23579 (gst_pipeline_dispose): Drop ref on sched.
23581 * gst/gstpad.c (gst_pad_init): Set the default activate func.
23582 (gst_pad_activate_default): Push mode by default.
23583 (pre_activate_switch, post_activate_switch): New stubs, things to
23584 do before and after switching activation modes on pads.
23585 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
23586 the pad's activate function to choose which mode to activate.
23587 Shortcut on deactivation and call the right function directly.
23588 (gst_pad_activate_pull): New API, (de)activates a pad in pull
23590 (gst_pad_activate_push): New API, same for push mode.
23591 (gst_pad_set_activate_function)
23592 (gst_pad_set_activatepull_function)
23593 (gst_pad_set_activatepush_function): Setters for new API.
23595 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
23596 Trace all miniobjects.
23597 (gst_mini_object_make_writable): Unref the arg if we copy, like
23598 gst_caps_make_writable.
23600 * gst/gstmessage.c (_gst_message_initialize): No trace init.
23602 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
23603 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
23604 Adapt for new pad API.
23606 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
23608 * gst/gstelement.h:
23609 * gst/gstelement.c (gst_element_iterate_src_pads)
23610 (gst_element_iterate_sink_pads): New API functions.
23612 * gst/gstelement.c (iterator_fold_with_resync): New utility,
23613 should fold into gstiterator.c in some form.
23614 (gst_element_pads_activate): Simplified via use of fold and
23615 delegation of decisions to gstpad->activate.
23617 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
23620 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
23621 class once in init, like gstmessage. Didn't run into this issue
23622 but it seems correct. Don't initialize a trace, gstminiobject does
23625 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
23626 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
23628 (assert_live_count): New util function, uses alloc traces to check
23631 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
23632 To be modified when unlink drops the internal pad.
23634 2005-06-27 Wim Taymans <wim@fluendo.com>
23636 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
23637 (gst_bin_change_state):
23638 Cleanup the get_state() function a little, make sure it
23639 iterates the same set of elements.
23640 Added stub iterate_state_order().
23642 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
23644 * docs/gst/gstreamer-docs.sgml:
23645 * docs/gst/gstreamer-sections.txt:
23646 * docs/gst/gstreamer.types:
23647 * docs/gst/tmpl/gstbasesink.sgml:
23648 * docs/gst/tmpl/gstbasesrc.sgml:
23649 * docs/gst/tmpl/gstbasetransform.sgml:
23650 * docs/gst/tmpl/gstelement.sgml:
23651 * docs/gst/tmpl/gstiterator.sgml:
23652 * gst/base/gstbasesrc.c:
23653 * gst/base/gstbasesrc.h:
23654 * gst/base/gstbasetransform.h:
23655 * gst/gstelement.c:
23656 * gst/gstiterator.h:
23657 adding basetransform and iterator docs
23659 2005-06-27 Andy Wingo <wingo@pobox.com>
23661 * docs/design/part-activation.txt: Notes on how activation should
23662 work -- not quite implemented yet.
23664 2005-06-25 Wim Taymans <wim@fluendo.com>
23666 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
23667 At least get the chain function correct, needs more
23670 2005-06-25 Wim Taymans <wim@fluendo.com>
23672 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
23673 (gst_basesink_handle_object), (gst_basesink_event),
23674 (gst_basesink_do_sync), (gst_basesink_handle_event),
23675 (gst_basesink_change_state):
23677 Right, two problems here: ghostpads don't take locks and
23678 glib _rec_mutex_lock_full() with depth==0 still locks.
23679 Catch illegal locking and g_warn them.
23681 2005-06-25 Wim Taymans <wim@fluendo.com>
23683 * check/states/sinks.c: (START_TEST), (gst_object_suite):
23684 Have to check for completion now...
23686 2005-06-25 Wim Taymans <wim@fluendo.com>
23688 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
23689 (gst_basesink_handle_object), (gst_basesink_event),
23690 (gst_basesink_do_sync), (gst_basesink_handle_event),
23691 (gst_basesink_change_state):
23693 Unlock STREAM_LOCK whatever the recursion was.
23695 2005-06-25 Wim Taymans <wim@fluendo.com>
23697 * gst/base/gstbasesink.c: (gst_basesink_set_property),
23698 (gst_basesink_preroll_queue_empty),
23699 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
23700 (gst_basesink_event), (gst_basesink_do_sync),
23701 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
23702 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
23703 (gst_basesink_change_state):
23704 Reworked the base sink, handle event and buffer serialisation
23705 correctly and removed possible deadlock.
23706 Handle EOS correctly.
23708 2005-06-25 Wim Taymans <wim@fluendo.com>
23710 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
23711 (gst_pipeline_change_state):
23712 * tools/gst-launch.c: (check_intr), (event_loop), (main):
23713 Allow elements to post EOS in the state change function.
23714 Fix up -launch, make it exit the poll loop when the
23715 pipeline actually changed state.
23716 Fix up warning parsing in -launch.
23718 2005-06-25 Wim Taymans <wim@fluendo.com>
23720 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
23721 (gst_tee_sink_activate):
23722 Core takes STREAM_LOCK for us now.
23724 2005-06-25 Wim Taymans <wim@fluendo.com>
23726 * gst/gstelement.c: (gst_element_get_state_func),
23727 (gst_element_set_state):
23728 * gst/gstelement.h:
23729 * gst/gstmessage.c: (gst_message_parse_error),
23730 (gst_message_parse_warning):
23731 Keep track of current target state while performing a state
23732 change so that subclasses can do something interesting.
23733 Fix parsing of warning/error messages when GError is NULL.
23735 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
23737 * docs/gst/Makefile.am:
23738 * docs/gst/gstreamer-docs.sgml:
23739 * docs/gst/gstreamer-sections.txt:
23740 * docs/gst/gstreamer.types:
23741 * docs/gst/tmpl/gstbasesink.sgml:
23742 * docs/gst/tmpl/gstbasesrc.sgml:
23743 * docs/gst/tmpl/gstbin.sgml:
23744 * docs/gst/tmpl/gstcompat.sgml:
23745 * docs/gst/tmpl/gstfakesink.sgml:
23746 * docs/gst/tmpl/gstfakesrc.sgml:
23747 * docs/gst/tmpl/gstfilesink.sgml:
23748 * docs/gst/tmpl/gstfilesrc.sgml:
23749 * docs/gst/tmpl/gstindex.sgml:
23750 * docs/manual/appendix-quotes.xml:
23751 * gst/base/gstbasesrc.h:
23752 * gst/elements/gstfakesrc.h:
23753 * gst/gstmessage.h:
23754 start pulling in base classes and elements in our docs
23756 2005-06-24 Stefan Kost <ensonic@users.sf.net>
23758 * docs/gst/Makefile.am:
23759 * docs/libs/Makefile.am:
23760 fixed make distcheck with gtk-doc 1.3
23762 2005-06-23 Wim Taymans <wim@fluendo.com>
23764 * gst/gstelement.c: (gst_element_get_state_func),
23765 (gst_element_set_state), (gst_element_change_state):
23766 When the state did not change, also report NO_PREROLL
23769 2005-06-23 Wim Taymans <wim@fluendo.com>
23771 * gst/gstpad.c: (gst_pad_event_default):
23772 * gst/gstqueue.c: (gst_queue_loop):
23773 No unsafe task pausing please.
23775 2005-06-23 Wim Taymans <wim@fluendo.com>
23777 * gst/schedulers/threadscheduler.c:
23778 (gst_thread_scheduler_task_start),
23779 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
23780 Ref the task before pushing it on the threadpool. This
23781 makes sure that we have a ref when the threadfunction is
23784 2005-06-23 Andy Wingo <wingo@pobox.com>
23786 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
23787 offset is greater than the file's size.
23789 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
23790 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
23791 * gst/gstobject.c (gst_object_class_init): Make the class lock
23792 recursive. Wim won't let me drop deep_notify. Decodebin works
23793 again, whoopdy doo.
23795 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
23796 internal pad, and hacks accordingly. Doesn't do it on the target
23797 pad because we change its caps. Probably catches all cases of
23799 (gst_ghost_pad_set_property): Connect to notify::caps as
23802 * tests/network-clock.scm (plot-simulation): Pipe data to the
23803 elite python skript.
23805 * tests/network-clock-utils.scm (define-parameter): New macro,
23806 defines a parameter that can be set via the command line.
23807 (set-parameter!, parse-parameter-arguments): Command line args
23810 * tests/plot-data: Simple matplotlib-based plotter, takes input on
23813 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
23815 * gst/elements/gsttypefindelement.c:
23816 (gst_type_find_element_handle_event):
23817 Don't restart typefinding on a discont.
23818 * gst/gstelement.c: (gst_element_set_state):
23819 Debug spelling fix.
23820 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
23821 Allow changing mode of an active pad.
23822 Debug output fixes.
23823 * gst/registries/gstlibxmlregistry.c: (load_feature):
23824 Don't cast a static pad template to a normal pad template.
23826 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
23828 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23829 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23830 remove gst_strtoll completely, since it didn't actually do
23831 anything more than what g_ascii_strtoull already does.
23832 check for range errors when deserializing
23833 do a cast for the unsigned cases; but further fixing needs
23834 a decision on what the interpretation of "(int)" and
23835 deserialization should be for values that fall outside the
23836 type's boundaries (ie, refuse, or interpret as casting)
23838 2005-06-23 Wim Taymans <wim@fluendo.com>
23840 * check/Makefile.am:
23841 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
23842 * docs/design/part-live-source.txt:
23843 * docs/design/part-states.txt:
23844 * gst/base/gstbasesrc.c: (gst_basesrc_init),
23845 (gst_basesrc_set_live), (gst_basesrc_is_live),
23846 (gst_basesrc_get_range), (gst_basesrc_activate),
23847 (gst_basesrc_change_state):
23848 * gst/base/gstbasesrc.h:
23849 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23850 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
23851 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
23852 * gst/gstelement.c: (gst_element_get_state_func),
23853 (gst_element_set_state):
23854 * gst/gstelement.h:
23856 * tools/gst-launch.c: (event_loop), (main):
23857 Added support for live sources and other elements that
23859 Updated design docs, added live-source design doc.
23860 Implemented live source functionality in basesrc
23861 Fix error condition in _bin_get_state()
23862 Implement live source handling in -launch.
23863 Added check for live sources.
23864 Fixed case in GstBin where elements were changed state
23868 2005-06-23 Andy Wingo <wingo@pobox.com>
23870 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
23871 borken refcounting.
23873 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
23874 gst_caps_replace takes care of this for us.
23876 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
23877 gst_pad_set_caps on the target, not just its setcaps() function.
23879 * tests/network-clock.scm:
23880 * tests/network-clock-utils.scm: A network clock simulator.
23881 Something of an algorithmic testbed before doing something in C.
23883 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
23885 * check/Makefile.am:
23886 * check/gst/capslist.h:
23887 copy over from 0.8, and add two with bitmasks specified with
23889 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
23890 add test to parse everything from capslist.h
23891 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
23893 add test for structure deserialization
23894 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23895 add tests for deserialization of strings to int types
23896 * gst/gststructure.c: (gst_structure_nth_field_name):
23897 * gst/gststructure.h:
23898 add a way to get the name of a field referenced by index
23899 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23900 instead of checking if the resulting long long lies between
23901 min and max, we check if the long long would fit into
23902 a number of bytes for the final type.
23903 This fixes cases where a string represents 2^32 - 1, which
23904 when cast to int would be the (valid) -1, but is bigger than
23907 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
23909 * gst/parse/grammar.y:
23910 add a log line for type deserialization
23912 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
23914 * check/gst/gstvalue.c: (START_TEST):
23915 * gst/gstvalue.c: (gst_value_deserialize):
23916 return long long, not int, so gint64 deserialization actually
23917 works. Is there any flag that makes the compiler check this ?
23920 2005-06-22 Wim Taymans <wim@fluendo.com>
23923 Added convenience macros for setting buffers in GValue.
23925 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
23927 * check/gst/.cvsignore:
23928 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23929 add a test deserializing int64, and comment part out because
23932 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
23934 * check/Makefile.am:
23935 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
23936 * testsuite/Makefile.am:
23937 * testsuite/caps/Makefile.am:
23938 * testsuite/caps/value_serialize.c:
23939 * testsuite/test_gst_init.c:
23940 move a value_serialize test over
23942 2005-06-20 Wim Taymans <wim@fluendo.com>
23947 * gst/gstvalue.c: (gst_value_compare_buffer),
23948 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
23949 (gst_value_compare_flags), (gst_value_serialize_flags),
23950 (gst_value_deserialize_flags), (_gst_value_initialize):
23951 Fix serialisation of buffers, they are not boxed types anymore
23953 2005-06-20 Wim Taymans <wim@fluendo.com>
23955 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
23956 Testcase to show error in buffer-on-caps serialisation.
23958 2005-06-20 Andy Wingo <wingo@pobox.com>
23960 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
23961 will be adding to later.
23963 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
23964 if its socks fill with rocks.
23965 (gst_system_clock_obtain): Set the name on object construction.
23966 Avoid double-checked locking.
23968 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
23970 * gst/gsturi.c: (gst_element_make_from_uri):
23971 Fix potential endless loop.
23973 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
23975 * check/Makefile.am:
23977 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
23979 move over from testsuite dir and clean up
23982 * testsuite/Makefile.am:
23983 * testsuite/tags/.cvsignore:
23984 * testsuite/tags/Makefile.am:
23985 * testsuite/tags/merge.c:
23986 remove testsuite/tags
23988 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
23990 * docs/gst/gstreamer-sections.txt:
23991 * docs/gst/tmpl/gstenumtypes.sgml:
23992 * win32/gstenumtypes.c:
23993 clean up documentation build a little
23995 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
23997 * check/gstcheck.h:
23998 add macros for checking refcounts on objects and caps
23999 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
24000 add some more unit tests
24001 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
24002 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
24003 fix leaked refcounts (I hope :)) so unittest works
24007 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
24009 * configure.ac: back to HEAD
24011 === release 0.9.1 ===
24013 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
24019 2005-06-17 Andy Wingo <wingo@pobox.com>
24021 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
24022 assert; it's always possible that the pad gets deactivated in
24023 between the checks in gstpad.c and the implementation. Rely on
24024 finish_preroll() to return a FLUSHING or similar instead of on the
24027 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
24028 clock and post an EOS message if we come out of finish_preroll in
24031 2005-06-16 David Schleef <ds@schleef.org>
24033 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
24034 (gst_capsfilter_set_property): Allow NULL as possible value
24035 for filter_caps property, indicating GST_CAPS_ANY.
24037 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
24039 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
24041 * gst/schedulers/Makefile.am:
24043 * gstreamer.spec.in:
24046 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
24048 * gstreamer.spec.in:
24051 2005-06-08 Andy Wingo <wingo@pobox.com>
24053 * gst/gstutils.c: RPAD fixes all around.
24054 (gst_element_link_pads): Refcounting fixes.
24056 * tools/gst-inspect.c:
24057 * tools/gst-xmlinspect.c:
24059 * gst/base/gsttypefindhelper.c:
24060 * gst/base/gstbasesink.c:
24061 * gst/gstqueue.c: RPAD fixes.
24063 * gst/gstghostpad.h:
24064 * gst/gstghostpad.c: New ghost pad implementation as full proxy
24065 pads. The tricky thing is they provide both source and sink
24066 interfaces, since they proxy the internal pad for the external
24067 pad, and vice versa. Implement with lower-level ProxyPad objects,
24068 with the interior proxy pad as a child of the exterior ghost pad.
24069 Should write a doc on this.
24071 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
24072 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
24075 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
24076 pads are real pads. No ghost pads in this file. Not documenting
24077 the myriad s/RPAD/PAD/ and REALIZE fixes.
24078 (gst_pad_class_init): Add properties for "direction" and
24079 "template". Both are construct-only, so they can't change during
24080 the life of the pad. Fixes properly deriving from GstPad.
24081 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
24082 derived objects, just set properties when creating the objects via
24084 (gst_pad_get_parent): Implement as a function, return NULL if the
24085 parent is not an element.
24086 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
24087 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
24089 * gst/gstobject.c (gst_object_class_init): Make name a construct
24090 property. Don't set it in the object init.
24092 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
24093 with UNKNOWN direction.
24094 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
24095 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
24096 (gst_element_remove_pad): Remove ghost-pad special cases.
24097 (gst_element_pads_activate): Remove rpad cruft.
24099 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
24100 catch the pad's-parent-not-an-element case.
24102 * gst/gst.h: Include gstghostpad.h.
24104 * gst/gst.c (init_post): No more real, ghost pads.
24106 * gst/Makefile.am: Add gstghostpad.[ch].
24108 * check/Makefile.am:
24109 * check/gst/gstbin.c:
24110 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
24111 into a bin creates ghost pads, and that the refcounts are right.
24112 Partly moved from gstbin.c.
24114 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
24116 * check/gst-libs/.cvsignore:
24117 * check/gst/.cvsignore:
24118 * check/pipelines/.cvsignore:
24120 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
24121 (START_TEST), (cleanup_suite), (main):
24122 add some tests related to cleanup after running pipelines
24124 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
24126 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
24127 add a testsuite for GstBuffer
24129 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
24131 * gst/gstminiobject.h:
24132 add defines for accessing the refcount
24134 2005-06-03 Stefan Kost <ensonic@users.sf.net>
24136 * Makefile.am: added support for html unit test coverage reports
24138 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
24140 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
24141 Free existing caps if the capsfilter changes. Add a FIXME about
24142 setting those caps on the pads.
24144 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
24145 Before adding a ghost pad to a parent bin, check that there isn't
24146 already one for the element on the bin. Prevents infinite recursion
24147 when using decodebin in parse pipelines. Andy says he'll rewrite the
24148 way this works anyway, so ignore the hack.
24150 2005-06-02 Andy Wingo <wingo@pobox.com>
24152 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
24153 file size, pass it on to the type find helper.
24155 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
24156 segment_start and segment_end properly according to the seek
24157 method. Segment_end is still a bit flaky because offset can be
24158 negative for CUR and END cases, but it takes -1 as an "unset"
24161 2005-06-02 Wim Taymans <wim@fluendo.com>
24163 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
24164 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
24165 (gst_basesink_activate):
24166 * gst/base/gstbasesink.h:
24167 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24168 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
24169 (gst_pad_query), (gst_pad_start_task):
24171 * gst/gstqueue.c: (gst_queue_bufferalloc),
24172 (gst_queue_handle_sink_event), (gst_queue_chain):
24173 Bufferalloc: return GstFlowReturn to more accuratly report
24174 why allocation failed.
24176 2005-06-02 Wim Taymans <wim@fluendo.com>
24178 * gst/gstpipeline.c: (gst_pipeline_send_event):
24179 Take snapshot of state without blocking.
24181 2005-06-02 Wim Taymans <wim@fluendo.com>
24183 * docs/design/part-TODO.txt:
24184 * docs/design/part-caps.txt:
24185 * docs/design/part-clocks.txt:
24186 * docs/design/part-negotiation.txt:
24187 * docs/design/part-preroll.txt:
24190 2005-05-30 Wim Taymans <wim@fluendo.com>
24192 * gst/elements/gstidentity.c: (gst_identity_event),
24193 (gst_identity_transform), (gst_identity_get_property):
24194 Protect last_message property as it is accessed from
24197 2005-05-30 Wim Taymans <wim@fluendo.com>
24199 * gst/gstelement.c: (gst_element_init),
24200 (gst_element_pads_activate), (gst_element_change_state):
24201 Slicker pad activation code.
24203 2005-05-30 Wim Taymans <wim@fluendo.com>
24206 * gst/gstelement.h:
24207 * gst/gstelementfactory.h:
24209 Move elementfactory methods to separate .h file.
24211 2005-05-30 Wim Taymans <wim@fluendo.com>
24213 * docs/design/part-overview.txt:
24214 * gst/gstsystemclock.h:
24215 Small typo fixes, doc updates.
24217 2005-05-30 Wim Taymans <wim@fluendo.com>
24219 * gst/gst.c: (gst_init_get_popt_table), (init_post),
24220 (init_popt_callback):
24221 Remove cpu-opt flag.
24223 2005-05-30 Wim Taymans <wim@fluendo.com>
24225 * gst/gstbuffer.c: (gst_subbuffer_finalize),
24226 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
24228 Avoid typechecking in places where not needed.
24229 Added accessor for malloc_data.
24231 2005-05-30 Wim Taymans <wim@fluendo.com>
24233 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
24234 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
24235 (gst_pad_configure_sink), (gst_pad_configure_src),
24236 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
24237 (gst_pad_start_task):
24238 Propagate errors from _set_caps() in configure_src/sink
24239 functions instead of returning TRUE.
24240 FLUSH events can travel up and downstream
24243 2005-05-30 Wim Taymans <wim@fluendo.com>
24245 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
24246 (gst_basesink_activate):
24247 Handle EOS in preroll.
24249 2005-05-30 Wim Taymans <wim@fluendo.com>
24251 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
24252 (gst_queue_loop), (gst_queue_handle_src_event):
24253 Remove old pieces of code
24254 Flushing the queue in an upstream event is a very bad idea.
24256 2005-05-26 Andy Wingo <wingo@pobox.com>
24258 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
24259 gst_value_set_mini_object so as to add a ref on the object (which
24260 will be removed when the value is unset).
24262 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
24263 arg type in ::handoff.
24265 * gst/gstelement.c (gst_element_change_state): Also deactivate
24266 pads in READY->NULL, just in case the element didn't make it to
24267 PAUSED. Wingo tested, Wim approved.
24269 2005-05-26 Wim Taymans <wim@fluendo.com>
24271 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24272 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
24273 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
24274 A flushing pad cannot be used to alloc_buffer from.
24276 2005-05-26 Wim Taymans <wim@fluendo.com>
24278 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
24279 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
24280 (gst_bus_source_dispatch), (gst_bus_source_finalize),
24281 (gst_bus_create_watch), (gst_bus_add_watch_full):
24283 Implement a real GSource and use g_main_context_wakeup() to
24284 signal new messages instead of the socketpair.
24286 2005-05-25 Wim Taymans <wim@fluendo.com>
24288 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
24289 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
24290 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24291 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
24292 (gst_pad_send_event), (gst_pad_start_task):
24293 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
24294 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
24295 (gst_queue_sink_activate), (gst_queue_src_activate),
24296 (gst_queue_change_state):
24298 Fix state changes for non sinks. We now change sinks, then elements
24299 with unconnected srcpads, then the rest.
24300 More efficient queue unlocking in flush and state changes.
24301 Set the pad activate mode even if it does not have an activate
24304 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24306 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
24307 Don't go in pull mode for non-seekable sources.
24308 * gst/elements/gsttypefindelement.h:
24309 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
24310 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
24311 (free_entry), (stop_typefinding),
24312 (gst_type_find_element_handle_event), (find_peek),
24313 (gst_type_find_element_chain), (do_pull_typefind),
24314 (gst_type_find_element_change_state):
24315 Allow typefinding (w/o seeking) in push-mode, simplified version
24316 of what was in 0.8.
24317 * gst/gstutils.c: (gst_buffer_join):
24319 gst_buffer_join() from 0.8.
24321 2005-05-25 Wim Taymans <wim@fluendo.com>
24323 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24324 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
24325 (gst_pad_send_event), (gst_pad_start_task):
24326 Disable attempt at mode switching until it is figured out.
24328 2005-05-25 Wim Taymans <wim@fluendo.com>
24330 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
24331 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
24332 (gst_basesink_finish_preroll), (gst_basesink_chain),
24333 (gst_basesink_loop), (gst_basesink_activate),
24334 (gst_basesink_change_state):
24335 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
24336 (gst_basesrc_get_range), (gst_basesrc_loop),
24337 (gst_basesrc_activate):
24338 * gst/elements/gsttee.c: (gst_tee_sink_activate):
24339 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
24340 (gst_real_pad_init), (gst_real_pad_set_property),
24341 (gst_real_pad_get_property), (gst_pad_set_active),
24342 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
24343 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
24344 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
24345 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
24346 (gst_pad_event_default_dispatch), (gst_pad_event_default),
24347 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
24348 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
24349 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
24350 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
24351 (gst_pad_stop_task):
24353 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
24354 (gst_queue_loop), (gst_queue_src_activate):
24355 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
24356 (gst_task_get_state):
24358 * gst/schedulers/threadscheduler.c:
24359 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
24360 Implement gst_pad_pause/start/stop_task(), take STREAM lock
24362 Remove ACTIVE pad flag, use FLUSHING everywhere
24363 Added _pad_chain(), _pad_get_range() to call chain/getrange
24365 Add locks around IS_FLUSHING when reading.
24366 Take STREAM lock in chain(), get_range() functions so plugins
24367 don't need to take it anymore.
24371 2005-05-25 Wim Taymans <wim@fluendo.com>
24373 * tools/gst-launch.c: (event_loop):
24374 Unref message after using its contents instead of
24377 2005-05-24 Wim Taymans <wim@fluendo.com>
24379 * docs/design/draft-ghostpads.txt:
24380 * docs/design/draft-push-pull.txt:
24381 * docs/design/draft-query.txt:
24382 * docs/design/part-overview.txt:
24383 Docs updates, added general overview doc.
24385 2005-05-21 David Schleef <ds@schleef.org>
24387 * docs/gst/tmpl/old/GstBin.sgml:
24388 * docs/gst/tmpl/old/GstBuffer.sgml:
24389 * docs/gst/tmpl/old/GstCaps.sgml:
24390 * docs/gst/tmpl/old/GstClock.sgml:
24391 * docs/gst/tmpl/old/GstCompat.sgml:
24392 * docs/gst/tmpl/old/GstData.sgml:
24393 * docs/gst/tmpl/old/GstElement.sgml:
24394 * docs/gst/tmpl/old/GstEvent.sgml:
24395 * docs/gst/tmpl/old/GstIndex.sgml:
24396 * docs/gst/tmpl/old/GstStructure.sgml:
24397 * docs/gst/tmpl/old/GstTag.sgml:
24398 * docs/gst/tmpl/old/cothreads.sgml:
24399 * docs/gst/tmpl/old/cothreads_compat.sgml:
24400 * docs/gst/tmpl/old/gettext.sgml:
24401 * docs/gst/tmpl/old/gobject2gtk.sgml:
24402 * docs/gst/tmpl/old/grammar.tab.sgml:
24403 * docs/gst/tmpl/old/gst-i18n-app.sgml:
24404 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
24405 * docs/gst/tmpl/old/gst_private.sgml:
24406 * docs/gst/tmpl/old/gstaggregator.sgml:
24407 * docs/gst/tmpl/old/gstarch.sgml:
24408 * docs/gst/tmpl/old/gstatomic_impl.sgml:
24409 * docs/gst/tmpl/old/gstbufferstore.sgml:
24410 * docs/gst/tmpl/old/gstdata_private.sgml:
24411 * docs/gst/tmpl/old/gstdisksink.sgml:
24412 * docs/gst/tmpl/old/gstdisksrc.sgml:
24413 * docs/gst/tmpl/old/gstelementfactory.sgml:
24414 * docs/gst/tmpl/old/gstextratypes.sgml:
24415 * docs/gst/tmpl/old/gstfakesink.sgml:
24416 * docs/gst/tmpl/old/gstfakesrc.sgml:
24417 * docs/gst/tmpl/old/gstfdsink.sgml:
24418 * docs/gst/tmpl/old/gstfdsrc.sgml:
24419 * docs/gst/tmpl/old/gstfilesink.sgml:
24420 * docs/gst/tmpl/old/gstfilesrc.sgml:
24421 * docs/gst/tmpl/old/gsthttpsrc.sgml:
24422 * docs/gst/tmpl/old/gstidentity.sgml:
24423 * docs/gst/tmpl/old/gstindexfactory.sgml:
24424 * docs/gst/tmpl/old/gstmarshal.sgml:
24425 * docs/gst/tmpl/old/gstmd5sink.sgml:
24426 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
24427 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
24428 * docs/gst/tmpl/old/gstpadtemplate.sgml:
24429 * docs/gst/tmpl/old/gstpipefilter.sgml:
24430 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
24431 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
24432 * docs/gst/tmpl/old/gstshaper.sgml:
24433 * docs/gst/tmpl/old/gstspider.sgml:
24434 * docs/gst/tmpl/old/gstspideridentity.sgml:
24435 * docs/gst/tmpl/old/gststatistics.sgml:
24436 * docs/gst/tmpl/old/gsttee.sgml:
24437 * docs/gst/tmpl/old/gsttimecache.sgml:
24438 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
24439 * docs/gst/tmpl/old/gstxmlregistry.sgml:
24440 * docs/gst/tmpl/old/gthread-cothreads.sgml:
24441 * docs/gst/tmpl/old/types.sgml:
24442 I didn't intend to add these or check them in.
24444 2005-05-19 David Schleef <ds@schleef.org>
24446 * configure.ac: Use -no-common everywhere. In a sane world, it
24447 would be the default in libtool, because without it, you can't
24448 build DLLs on Windows.
24449 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
24450 * docs/gst/gstreamer-sections.txt:
24451 * docs/gst/tmpl/gstcpu.sgml:
24452 * docs/gst/tmpl/gstdata.sgml:
24453 * docs/gst/tmpl/gstthread.sgml:
24455 2005-05-19 David Schleef <ds@schleef.org>
24457 * gst/gstminiobject.c: (gst_value_set_mini_object),
24458 (gst_value_take_mini_object), (gst_value_get_mini_object):
24459 * gst/gstminiobject.h: Add GValue set/get functions.
24461 2005-05-19 Wim Taymans <wim@fluendo.com>
24463 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
24464 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
24465 (gst_subbuffer_init), (gst_buffer_is_span_fast):
24467 * gst/gstbus.c: (gst_bus_post):
24468 * gst/gstelement.c: (gst_element_get_random_pad):
24469 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
24470 Make subbufer unref the parent in finalize.
24471 some more debugging info.
24474 2005-05-19 Wim Taymans <wim@fluendo.com>
24476 * gst/base/gstbasesink.c: (gst_basesink_class_init),
24477 (gst_basesink_init), (gst_basesink_finalize),
24478 (gst_basesink_activate), (gst_basesink_change_state):
24479 Don't free preroll queue too early.
24481 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24485 Hi, I'm outdated. Please shoot me.
24487 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24489 * gst/gstpipeline.c: (gst_pipeline_send_event):
24490 Do not access variables after they have been deleted.
24492 2005-05-19 Wim Taymans <wim@fluendo.com>
24494 * tools/gst-inspect.c: (print_plugin_features):
24495 A plugin feature does unfortunatly not use the
24498 2005-05-18 Wim Taymans <wim@fluendo.com>
24500 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
24501 Port _span() functions to new subbuffers.
24503 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24505 * gst/gstbin.c: (gst_bin_add_func):
24506 Fix clock settery in bins when adding kids after the clock has
24509 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24511 * gst/elements/gstidentity.c: (gst_identity_class_init):
24512 Workaround until signals support GstMiniObject.
24514 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
24517 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
24519 2005-05-18 Wim Taymans <wim@fluendo.com>
24521 * gst/base/Makefile.am:
24522 * gst/base/gstadapter.c: (gst_adapter_base_init),
24523 (gst_adapter_class_init), (gst_adapter_init),
24524 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
24525 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
24526 (gst_adapter_flush), (gst_adapter_available),
24527 (gst_adapter_available_fast):
24528 * gst/base/gstadapter.h:
24529 Ported and added adapter to the base classes.
24531 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
24534 * gst/gstmessage.c:
24535 Make sure the class is reffed/unreffed once before threads can be
24536 used. Fixes #304551.
24538 2005-05-17 Wim Taymans <wim@fluendo.com>
24540 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
24541 (gst_basesink_chain_unlocked), (gst_basesink_activate):
24542 * gst/gstminiobject.c: (gst_mini_object_get_type),
24543 (gst_mini_object_free):
24544 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
24545 (gst_pad_push), (gst_pad_push_event):
24546 * gst/gstqueue.c: (gst_queue_change_state):
24547 Don't queue buffers in basesink when we are flushing.
24548 Unref buffer when flushing in basesink.
24549 Flush queue when going to READY
24550 Unref buffer when _push() returns an error.
24551 Don't free MiniObject instance when refcount is incremented
24552 in _finalize() so that we can recover objects.
24554 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
24556 * docs/manual/advanced-schedulers.xml:
24557 * docs/manual/appendix-checklist.xml:
24558 * docs/pwg/advanced-clock.xml:
24559 * docs/pwg/advanced-interfaces.xml:
24560 * docs/pwg/advanced-request.xml:
24561 * docs/pwg/advanced-types.xml:
24562 * docs/pwg/intro-preface.xml:
24563 * examples/plugins/example.c: (gst_example_get_type),
24564 (gst_example_class_init), (gst_example_chain),
24565 (gst_example_set_property), (gst_example_get_property),
24566 (gst_example_change_state), (plugin_init):
24567 * examples/plugins/example.h:
24570 2005-05-17 Wim Taymans <wim@fluendo.com>
24572 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
24573 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
24574 * gst/gstqueue.c: (gst_queue_change_state):
24575 Clear queue when going to READY.
24576 Remove IN_SETCAPS flag too.
24578 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
24580 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
24581 Remove implicit cast from gboolean to GstElementStateReturn;
24582 make sure we still return failure in paused => ready case if
24583 the parent class fails to change state and our own stop
24586 2005-05-17 Wim Taymans <wim@fluendo.com>
24588 * tools/gst-launch.c: (event_loop):
24589 Message was unreffed too soon.
24591 2005-05-16 Andy Wingo <wingo@pobox.com>
24593 * gst/gstbin.c (sink_iterator_filter): Err... um...
24595 * check/gst/gstbin.c (test_ghost_pads): New test for the
24596 ghosting-if-elements-not-in-same-bin behavior.
24598 2005-05-16 David Schleef <ds@schleef.org>
24600 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
24601 accessing refcount directly.
24603 2005-05-15 David Schleef <ds@schleef.org>
24605 * check/Makefile.am: remove GstData checks
24606 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
24607 * gst/Makefile.am: add miniobject, remove data
24608 * gst/gst.h: add miniobject, remove data
24609 * gst/gstdata.c: remove
24610 * gst/gstdata.h: remove
24611 * gst/gstdata_private.h: remove
24612 * gst/gsttypes.h: remove GstEvent and GstMessage
24613 * gst/gstelement.c: (gst_element_post_message): fix for API changes
24614 * gst/gstmarshal.list: change BOXED -> OBJECT
24616 Implement GstMiniObject.
24617 * gst/gstminiobject.c:
24618 * gst/gstminiobject.h:
24620 Modify to be subclasses of GstMiniObject.
24621 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
24622 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
24623 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
24624 (gst_subbuffer_get_type), (gst_subbuffer_init),
24625 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
24628 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
24629 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
24630 (_gst_event_copy), (gst_event_new):
24632 * gst/gstmessage.c: (_gst_message_initialize),
24633 (gst_message_get_type), (gst_message_class_init),
24634 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
24635 (gst_message_new), (gst_message_new_error),
24636 (gst_message_new_warning), (gst_message_new_tag),
24637 (gst_message_new_state_changed), (gst_message_new_application):
24638 * gst/gstmessage.h:
24639 * gst/gstprobe.c: (gst_probe_perform),
24640 (gst_probe_dispatcher_dispatch):
24642 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
24643 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
24644 (_gst_query_copy), (gst_query_new):
24646 Update elements for GstData -> GstMiniObject changes
24648 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
24649 (gst_queue_chain), (gst_queue_loop):
24650 * gst/elements/gstbufferstore.c:
24651 (gst_buffer_store_add_buffer_func),
24652 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
24653 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
24654 (gst_fakesink_render):
24655 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
24656 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
24657 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
24658 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
24659 (gst_filesrc_create_read):
24660 * gst/elements/gstidentity.c: (gst_identity_class_init):
24661 * gst/elements/gsttypefindelement.c:
24662 (gst_type_find_element_src_event), (free_entry_buffers),
24663 (gst_type_find_element_handle_event):
24664 * libs/gst/dataprotocol/dataprotocol.c:
24665 (gst_dp_header_from_buffer):
24666 * libs/gst/dataprotocol/dataprotocol.h:
24667 * libs/gst/dataprotocol/dp-private.h:
24669 2005-05-15 David Schleef <ds@schleef.org>
24671 * gst/elements/gstelements.c: Don't include headers that were
24674 2005-05-15 David Schleef <ds@schleef.org>
24676 * gst/elements/Makefile.am: Remove some elements that don't
24677 need to be in the core (or even exist at all).
24678 * gst/elements/gstaggregator.c:
24679 * gst/elements/gstaggregator.h:
24680 * gst/elements/gstmd5sink.c:
24681 * gst/elements/gstmd5sink.h:
24682 * gst/elements/gstmultifilesrc.c:
24683 * gst/elements/gstmultifilesrc.h:
24684 * gst/elements/gstpipefilter.c:
24685 * gst/elements/gstpipefilter.h:
24686 * gst/elements/gstshaper.c:
24687 * gst/elements/gstshaper.h:
24688 * gst/elements/gststatistics.c:
24689 * gst/elements/gststatistics.h:
24690 * po/POTFILES.in: Remove above files.
24692 2005-05-14 Andy Wingo <wingo@pobox.com>
24694 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
24695 so as to get the refs right.
24696 (sink_iterator_filter): New function, wraps bin_element_is_sink,
24697 unreffing objects that don't pass the filter.
24699 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
24700 gst_element_set_bus.
24701 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
24702 normal cases, this will destroy the bus.
24704 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
24707 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
24710 2005-05-13 Andy Wingo <wingo@pobox.com>
24712 * gst/gstutils.c (gst_element_link_pads): Instead of calling
24713 gst_pad_link, call pad_link_maybe_ghosting,
24714 (pad_link_maybe_ghosting): Links pads, making sure that the
24715 elements being linked are in the same bin.
24716 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
24717 Helpers for pad_link_maybe_ghosting.
24719 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
24722 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
24724 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
24726 * docs/design/part-element-source.txt:
24729 2005-05-12 Wim Taymans <wim@fluendo.com>
24731 * gst/base/gstbasesink.c: (gst_basesink_init),
24732 (gst_basesink_activate):
24733 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
24734 (gst_basesrc_is_seekable):
24735 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
24736 (bin_element_is_sink), (gst_bin_change_state):
24737 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
24738 * gst/gstelement.h:
24739 Identify sinks by their flag to avoid overly complicated
24741 Do state changes even for elements not reachable from the
24743 BaseSink is a sink now :)
24744 Some more debugging info in the basesrc.
24747 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24749 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
24750 Implement _query on a bin, similar to _send_event.
24752 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
24754 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
24755 Discont event offset format should be GST_FORMAT_BYTES,
24756 not GST_FORMAT_TIME.
24758 2005-05-12 Wim Taymans <wim@fluendo.com>
24760 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
24761 Same fix as Ronald's but without the signal.
24763 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24765 * gst/gstutils.c: (gst_element_query_position):
24766 No, an element is not a pad.
24768 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24770 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
24771 (gst_bin_get_state):
24772 If a child is removed from a bin while we remove the child from
24773 the bin and while we're retrieving its state, signal this to the
24774 get_state function so we abort the wait (instead of waiting for
24775 a timeout) and can immediately re-iterate over all other elements.
24777 2005-05-12 Wim Taymans <wim@fluendo.com>
24779 * gst/base/Makefile.am:
24780 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
24781 (gst_basesrc_start):
24782 * gst/base/gstbasesrc.h:
24783 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
24784 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
24785 (gst_pushsrc_init), (gst_pushsrc_create):
24786 * gst/base/gstpushsrc.h:
24787 Added is_seekable to BaseSrc
24788 Added simple PushSrc.
24790 2005-05-11 Wim Taymans <wim@fluendo.com>
24792 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
24793 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24794 (gst_element_link_pads), (gst_element_query_position),
24795 (gst_element_query_convert), (intersect_caps_func),
24796 (gst_pad_query_position), (gst_pad_query_convert):
24797 Fix refcounting in utils function.
24798 No point in trying to activate a pad when it's added, it could
24799 be added from the state change function and then we deadlock, the
24800 element has to decide what to do.
24802 2005-05-10 Andy Wingo <wingo@pobox.com>
24804 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
24805 *all* the arguments.
24807 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
24808 stream lock if it's a FLUSH_DONE; normal flushes don't get the
24809 lock (according to the docs -- if this is wrong change the docs).
24811 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
24812 flush messages in the NULL state.
24814 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
24815 message immediately and return.
24816 (gst_bus_set_flushing): New function. If a bus is flushing, it
24817 flushes out any queued messages and immediately unrefs new
24818 messages. This is so when an element goes to NULL, all of the
24819 unhandled messages coming from it can be freed, and their
24820 references to the element dropped. In other words: message source
24821 ref considered harmful :P
24823 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
24824 we're finished with it.
24826 * gst/gstmessage.c (gst_message_new_state_changed):
24828 2005-05-10 Wim Taymans <wim@fluendo.com>
24830 * gst/gstvalue.c: (gst_value_compare_flags),
24831 (gst_value_serialize_flags), (gst_value_deserialize_flags),
24832 (_gst_value_initialize):
24833 Added flags serialize/deserialize/compare code.
24835 2005-05-09 Andy Wingo <wingo@pobox.com>
24837 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
24838 Intersect the peer's caps with our caps.
24840 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24842 * gst/base/gsttypefindhelper.c: (helper_find_peek):
24843 * gst/elements/gsttypefindelement.c: (find_peek):
24844 Handle negative offsets better. Fixes decodebin.
24846 2005-05-09 Wim Taymans <wim@fluendo.com>
24848 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
24849 (gst_base_transform_event):
24850 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
24851 Implement accept_caps.
24852 Fix silly lock/unlock mismatch in base class.
24854 2005-05-09 Wim Taymans <wim@fluendo.com>
24856 * docs/design/draft-push-pull.txt:
24857 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
24858 * gst/elements/gstfilesink.c: (gst_filesink_init),
24859 (gst_filesink_query):
24860 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
24861 (gst_type_find_handle_src_query), (find_element_get_length):
24862 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
24863 * gst/gstelement.h:
24864 * gst/gstmessage.c:
24865 * gst/gstmessage.h:
24866 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
24867 (gst_real_pad_get_caps_unlocked),
24868 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
24869 (gst_pad_event_default_dispatch), (gst_pad_event_default),
24870 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
24871 (gst_real_pad_dispose), (gst_real_pad_finalize),
24872 (gst_pad_load_and_link), (gst_pad_save_thyself),
24873 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
24874 (gst_pad_check_pull_range), (gst_pad_pull_range),
24875 (gst_pad_template_get_type), (gst_pad_template_class_init),
24876 (gst_pad_template_init), (gst_pad_template_dispose),
24877 (name_is_valid), (gst_static_pad_template_get),
24878 (gst_pad_template_new), (gst_static_pad_template_get_caps),
24879 (gst_pad_template_get_caps), (gst_pad_set_element_private),
24880 (gst_pad_get_element_private), (gst_pad_start_task),
24881 (gst_pad_pause_task), (gst_pad_stop_task),
24882 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
24883 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
24884 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
24885 (gst_ghost_pad_new):
24887 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
24888 (gst_query_new_position), (gst_query_set_position),
24889 (gst_query_parse_position), (gst_query_new_convert),
24890 (gst_query_set_convert), (gst_query_parse_convert):
24892 * gst/gstqueryutils.c:
24893 * gst/gstqueryutils.h:
24894 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
24895 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
24896 (gst_queue_handle_src_query):
24897 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24898 (gst_element_query_position), (gst_element_query_convert),
24899 (intersect_caps_func), (gst_pad_query_position),
24900 (gst_pad_query_convert):
24902 * tools/gst-inspect.c: (print_pad_info):
24903 * tools/gst-xmlinspect.c: (print_element_info):
24904 Remove old query functions. Ported old code.
24905 Added position/convert helper functions to gstutils.
24906 Reordered gstpad.c code, grouping relevant things.
24907 Remove gst_message_new(), always need to speficy a specific
24911 2005-05-09 Andy Wingo <wingo@pobox.com>
24913 * gst/gstiterator.h: Add some includes.
24915 * gst/gstqueryutils.h: Include more headers.
24918 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
24919 some uses of gst_pad_query.
24921 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
24922 NULL out parameters.
24923 (gst_query_new_position): New proc, allocates a new position
24926 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
24927 gstqueryutils.c to the build.
24929 * gst/gststructure.c (gst_structure_set_valist): Implement with
24930 the generic G_VALUE_COLLECT.
24932 2005-05-08 Edward Hervey <bilboed@bilboed.com>
24934 * gst/Makefile.am: (gst_headers):
24935 Added gstqueryutils.h to the list of headers to install, that was
24936 a 'nachty' move wingo :)
24938 2005-05-06 Andy Wingo <wingo@pobox.com>
24941 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
24942 GstData, init a memchunk.
24943 (standard_definitions): Add a few query types, deprecate a few.
24944 (gst_query_get_type): New proc.
24945 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
24947 (gst_query_new_application, gst_query_get_structure): New public
24950 * docs/design/draft-query.txt: Removed LINKS from the query types,
24951 because all the rest can be dispatched to other pads -- seemed
24952 ugly to have a query that couldn't be dispatched. internal_links
24953 is fine as a pad method.
24955 * gst/gstpad.h: Add query2 as a pad method, add the new functions
24956 in gstpad.c, but maintain binary compatibility for the moment.
24957 Will fix before 0.9 is out.
24959 * gst/gstqueryutils.c:
24960 * gst/gstqueryutils.h: New files, implement 3 methods for each
24961 query type: parse_query, parse_response, and set. Probably need an
24964 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
24966 * gst/elements/gstfilesink.c (gst_filesink_query2):
24967 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
24968 query_types, and formats methods.
24970 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
24971 (gst_pad_set_query2_function): New functions.
24972 (gst_real_pad_init): Set query2_default as the default query2
24973 function. Basically just dispatches to internally linked pads.
24977 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
24978 without using the atomic operations. Only one thread can possibly
24979 be accessing the data at this point. Changed so as to avoid
24980 gst_atomic operations.
24982 2005-05-06 Wim Taymans <wim@fluendo.com>
24984 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
24985 Also set caps if we use the fallback buffer alloc.
24987 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
24989 * docs/gst/Makefile.am:
24990 * docs/gst/gstreamer-docs.sgml:
24991 * docs/gst/gstreamer-sections.txt:
24992 * docs/gst/tmpl/gstatomic.sgml:
24993 * docs/gst/tmpl/gstmemchunk.sgml:
24994 * testsuite/elements/struct_i386.h:
24995 * win32/GStreamer.vcproj:
24997 Purge GstAtomic stuff from docs and win32 makefiles as well
24999 2005-05-06 Wim Taymans <wim@fluendo.com>
25001 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
25002 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
25003 * gst/gstpad.c: (gst_pad_peer_get_caps):
25004 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
25005 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
25006 (gst_queue_src_activate), (gst_queue_change_state):
25008 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
25009 (intersect_caps_func):
25010 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
25011 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
25012 Some fixes for the peer_get_caps() change.
25014 2005-05-06 Wim Taymans <wim@fluendo.com>
25016 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
25017 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
25018 (gst_basesink_activate):
25019 Actually do something with error codes returned from the push
25022 2005-05-06 Wim Taymans <wim@fluendo.com>
25024 * docs/design/part-element-sink.txt:
25025 * docs/design/part-element-source.txt:
25026 * gst/base/gstbasesink.c: (gst_basesink_class_init),
25027 (gst_basesink_event), (gst_basesink_activate):
25028 * gst/base/gstbasesink.h:
25029 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
25030 (gst_basesrc_activate):
25031 * gst/base/gstbasesrc.h:
25032 * gst/gstelement.c: (gst_element_pads_activate):
25033 Some more documentation.
25034 Fixed scheduling decision in _pads_activate().
25036 2005-05-05 Andy Wingo <wingo@pobox.com>
25038 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
25041 2005-05-05 Wim Taymans <wim@fluendo.com>
25043 * gst/base/Makefile.am:
25044 * gst/base/gstbasesink.h:
25045 * gst/base/gstbasesrc.c: (gst_basesrc_init),
25046 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
25047 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
25048 (gst_collectpads_class_init), (gst_collectpads_init),
25049 (gst_collectpads_finalize), (gst_collectpads_new),
25050 (gst_collectpads_set_function), (gst_collectpads_add_pad),
25051 (find_pad), (gst_collectpads_remove_pad),
25052 (gst_collectpads_is_active), (gst_collectpads_collect),
25053 (gst_collectpads_collect_range), (gst_collectpads_start),
25054 (gst_collectpads_stop), (gst_collectpads_peek),
25055 (gst_collectpads_pop), (gst_collectpads_available),
25056 (gst_collectpads_read), (gst_collectpads_flush),
25057 (gst_collectpads_chain):
25058 * gst/base/gstcollectpads.h:
25059 * gst/elements/Makefile.am:
25060 * gst/elements/gstelements.c:
25061 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
25062 (gst_fakesink_get_times), (gst_fakesink_event),
25063 (gst_fakesink_preroll), (gst_fakesink_render):
25064 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
25065 (gst_filesink_init), (gst_filesink_set_location),
25066 (gst_filesink_open_file), (gst_filesink_close_file),
25067 (gst_filesink_pad_query), (gst_filesink_event),
25068 (gst_filesink_render), (gst_filesink_change_state):
25069 * gst/elements/gstfilesink.h:
25070 Added object to help in making collect pad based elements.
25072 Make event function in sink baseclass return gboolean.
25074 2005-05-05 Wim Taymans <wim@fluendo.com>
25076 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
25077 (gst_bin_get_by_name):
25079 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
25080 (gst_clock_finalize):
25081 * gst/gstdata.c: (gst_data_replace):
25083 * gst/gstelement.c: (gst_element_request_pad),
25084 (gst_element_pads_activate):
25085 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
25086 (gst_object_unref):
25087 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25088 (gst_pad_set_checkgetrange_function),
25089 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
25090 (gst_pad_check_pull_range), (gst_pad_pull_range),
25091 (gst_static_pad_template_get_caps), (gst_pad_start_task),
25092 (gst_pad_pause_task), (gst_pad_stop_task):
25093 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
25094 (gst_element_request_pad), (gst_pad_proxy_getcaps):
25095 Fix name lookup in GstBin.
25096 Added _data_replace() function and _buffer_replace()
25097 Use finalize method to clean up clock.
25098 Fix refcounting on request pads.
25099 Fix pad schedule mode error.
25100 Some more object refcounting debug info,
25103 2005-05-04 Andy Wingo <wingo@pobox.com>
25105 * check/Makefile.am:
25106 * docs/gst/tmpl/gstatomic.sgml:
25107 * docs/gst/tmpl/gstplugin.sgml:
25108 * gst/base/gstbasesink.c: (gst_basesink_activate):
25109 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
25110 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
25111 (gst_basesrc_query), (gst_basesrc_set_property),
25112 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
25113 (gst_basesrc_activate):
25114 * gst/base/gstbasesrc.h:
25115 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
25116 (gst_base_transform_src_activate):
25117 * gst/elements/gstelements.c:
25118 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25119 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
25120 * gst/elements/gsttee.c: (gst_tee_sink_activate):
25121 * gst/elements/gsttypefindelement.c: (find_element_get_length),
25122 (gst_type_find_element_checkgetrange),
25123 (gst_type_find_element_activate):
25124 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
25125 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
25126 (gst_caps_load_thyself):
25127 * gst/gstelement.c: (gst_element_pads_activate),
25128 (gst_element_save_thyself), (gst_element_restore_thyself):
25129 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
25130 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
25132 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
25133 (gst_xml_parse_file), (gst_xml_parse_memory),
25134 (gst_xml_get_element), (gst_xml_make_element):
25135 * gst/indexers/gstfileindex.c: (gst_file_index_load),
25136 (_file_index_id_save_xml), (gst_file_index_commit):
25137 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
25138 (read_enum), (load_pad_template), (load_feature), (load_plugin),
25140 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
25141 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
25142 * tools/gst-complete.c: (main):
25143 * tools/gst-compprep.c: (main):
25144 * tools/gst-inspect.c: (print_element_properties_info):
25145 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
25146 * tools/gst-xmlinspect.c: (print_element_properties):
25149 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
25151 * gst/gstplugin.c: (gst_plugin_check_module),
25152 (gst_plugin_check_file), (gst_plugin_load_file):
25153 apply patch from #172526 to make register work on MacOSX
25155 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
25157 * docs/gst/tmpl/gstconfig.sgml:
25158 * gst/gstconfig.h.in:
25159 move documentation for some symbols. Add doc for GST_PTR_FORMAT
25160 * testsuite/debug/printf_extension.c: (main):
25161 Do not use GST_PTR_FORMAT on pointers to types with
25162 sizeof < sizeof(gpointer). Fixes test on 64-bit
25163 * testsuite/elements/property.h:
25164 use correct printf format
25166 2005-05-02 Wim Taymans <wim@fluendo.com>
25168 * docs/design/draft-push-pull.txt:
25169 * docs/design/draft-query.txt:
25170 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
25171 (gst_basesrc_start):
25172 Added draft for new query API.
25173 Added draft for better selecting scheduling methods.
25174 Make basesrc ignore length if the subclass does not support
25177 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
25180 possible fixes for automake-1.5 - _LIBADD is reserved
25182 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
25184 * docs/faq/Makefile.am:
25185 * docs/manual/Makefile.am:
25186 * docs/manuals.mak:
25187 * docs/pwg/Makefile.am:
25189 possible fixes for automake-1.5
25191 2005-04-28 Wim Taymans <wim@fluendo.com>
25193 * gst/base/gstbasesink.c: (gst_basesink_base_init),
25194 (gst_basesink_pad_getcaps), (gst_basesink_init),
25195 (gst_basesink_do_sync):
25196 * gst/gstclock.c: (gst_clock_entry_new):
25197 * gst/gstevent.c: (gst_event_discont_get_value):
25198 * gst/gstpipeline.c: (pipeline_bus_handler),
25199 (gst_pipeline_change_state):
25200 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
25201 Better debugging of clocking info.
25202 Allow NULL values when getting discont values.
25204 2005-04-27 Wim Taymans <wim@fluendo.com>
25206 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
25207 * check/gst/gstpad.c: (gst_pad_suite):
25208 Increase timeout for checks.
25210 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
25212 * check/Makefile.am:
25213 fix the broken rule for cleanup. Apparently this rule is
25214 only needed on FC2, so maybe this warrants further autotool
25217 2005-04-26 Wim Taymans <wim@fluendo.com>
25219 * gst/gsttrashstack.h:
25220 Ooohh. a nasty one! After having a failed pop() from the stack,
25221 it's possible that the stack is empty. In that case, don't
25222 follow the NULL pointer.
25224 2005-04-25 Wim Taymans <wim@fluendo.com>
25226 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25227 (gst_pad_set_checkgetrange_function),
25228 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
25229 (gst_pad_check_pull_range), (gst_pad_pull_range),
25230 (gst_static_pad_template_get_caps), (gst_pad_start_task),
25231 (gst_pad_pause_task), (gst_pad_stop_task):
25232 * gst/gstplugin.c: (gst_plugin_load):
25234 Remove gst_library_load as it does more harm than good with
25235 the new g_module flags.
25236 Revert bogus caps template check in pad linking, pad caps
25237 are important when linking not the template, which is more
25238 general than the current caps.
25240 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25242 * gst/autoplug/.cvsignore:
25243 * gst/autoplug/Makefile.am:
25244 * gst/autoplug/gstsearchfuncs.c:
25245 * gst/autoplug/gstsearchfuncs.h:
25246 * gst/autoplug/gstspider.c:
25247 * gst/autoplug/gstspider.h:
25248 * gst/autoplug/gstspideridentity.c:
25249 * gst/autoplug/gstspideridentity.h:
25250 * gst/autoplug/spidertest.c:
25253 2005-04-25 Wim Taymans <wim@fluendo.com>
25255 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25256 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
25257 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
25258 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
25260 Added stubs for unimplemented functions.
25262 2005-04-24 David Schleef <ds@schleef.org>
25264 * gst/gstpad.h: Disable some unimplemented functions. Wim,
25267 2005-04-24 David Schleef <ds@schleef.org>
25269 Convert everything from GstAtomicInt to g_atomic_int_*, and
25274 * gst/gstatomic_impl.h:
25282 * gst/gstdata_private.h:
25286 * gst/gstmessage.c:
25289 * gst/gststructure.c:
25290 * gst/gststructure.h:
25291 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
25294 2005-04-24 David Schleef <ds@schleef.org>
25296 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
25297 make the regressions tests work. Remove some code that is no
25299 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
25300 Disable warning for pads without templates.
25302 2005-04-24 David Schleef <ds@schleef.org>
25304 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
25305 functions that handle filtered links.
25306 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
25308 * gst/gstutils.c: Fix/remove utility functions that handle
25311 * gst/gstvalue.c: Add serialization/deserialization of caps
25312 * gst/parse/grammar.y: Ignore filtered caps when linking. This
25313 requires fixing so that the filter caps notation creates
25314 a capsfilter element and sets the filter_caps property. I
25315 think everyone probably wants to keep the shorthand notation.
25316 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
25317 * docs/gst/tmpl/gstpad.sgml:
25319 * gst/elements/gstelements.c: Register capsfilter element.
25320 * gst/Makefile.am: fix spacing
25321 * docs/random/ds/0.9-suggested-changes: random
25323 2005-04-23 David Schleef <ds@schleef.org>
25325 * gst/elements/Makefile.am:
25326 * gst/elements/gstcapsfilter.c: New element that acts like an
25327 identity, but filters caps. Will eventually replace filtered
25328 caps in pad linking.
25329 * gst/gstutils.c: (gst_element_create_all_pads): New function
25330 to create all the ALWAYS pads that are registered with an
25331 element class. This functionality should eventually be
25332 merged in with GstElement initialization.
25334 * testsuite/trigger/README: part of trigger test code that should
25335 have been checked in a long time ago.
25337 2005-04-23 David Schleef <ds@schleef.org>
25339 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
25340 needed with new versions of libtool (nobody will confirm this),
25341 and hard to carry around.
25342 * gst/autoplug/Makefile.am:
25343 * gst/base/Makefile.am:
25344 * gst/elements/Makefile.am:
25345 * gst/indexers/Makefile.am:
25346 * gst/schedulers/Makefile.am:
25347 * libs/gst/bytestream/Makefile.am:
25348 * libs/gst/control/Makefile.am:
25349 * libs/gst/dataprotocol/Makefile.am:
25350 * libs/gst/getbits/Makefile.am:
25352 2005-04-21 Wim Taymans <wim@fluendo.com>
25354 * docs/design/draft-push-pull.txt:
25355 * docs/design/part-MT-refcounting.txt:
25356 * docs/design/part-TODO.txt:
25357 * docs/design/part-caps.txt:
25358 * docs/design/part-events.txt:
25359 * docs/design/part-gstbus.txt:
25360 * docs/design/part-gstpipeline.txt:
25361 * docs/design/part-messages.txt:
25362 * docs/design/part-push-pull.txt:
25363 * docs/design/part-query.txt:
25366 2005-04-21 Wim Taymans <wim@fluendo.com>
25368 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
25369 (gst_message_new), (gst_message_new_error),
25370 (gst_message_new_warning), (gst_message_new_tag),
25371 (gst_message_new_state_changed), (gst_message_new_application),
25372 (gst_message_get_structure):
25373 * gst/gstmessage.h:
25374 * gst/gststructure.c: (gst_structure_set_parent_refcount),
25375 (gst_structure_copy_conditional):
25376 Use parent refcount in GstMessage to ensure GstStructure
25378 Cleaned up headers a bit.
25381 2005-04-20 Wim Taymans <wim@fluendo.com>
25383 * gst/base/gstbasesink.c: (gst_basesink_base_init),
25384 (gst_basesink_pad_getcaps), (gst_basesink_init),
25385 (gst_basesink_chain_unlocked):
25386 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
25387 (gst_type_find_helper):
25388 * gst/elements/gsttypefindelement.c:
25389 (gst_type_find_element_have_type), (gst_type_find_element_init),
25390 (stop_typefinding), (gst_type_find_element_handle_event),
25391 (find_suggest), (gst_type_find_element_chain),
25392 (gst_type_find_element_checkgetrange),
25393 (gst_type_find_element_getrange), (do_typefind),
25394 (gst_type_find_element_activate):
25395 * gst/gstbuffer.c: (_gst_buffer_sub_free),
25396 (gst_buffer_default_free), (gst_buffer_default_copy),
25397 (gst_buffer_set_caps):
25398 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
25399 (gst_caps_replace):
25400 * gst/gstmessage.c: (gst_message_new),
25401 (gst_message_new_state_changed):
25402 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25403 (gst_pad_set_checkgetrange_function),
25404 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
25405 (gst_pad_set_caps), (gst_pad_check_pull_range),
25406 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
25408 * gst/gsttypefind.c: (gst_type_find_register):
25409 Make gst_caps_replace() work like other _replace() functions.
25410 Use _caps_replace() where possible.
25411 Make sure _message_new() initialises its field.
25412 Add gst_static_pad_template_get_caps()
25415 2005-04-18 Andy Wingo <wingo@pobox.com>
25417 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
25418 on the peer, not the pad. I think that was a typo. Pass an extra
25419 arg to see if random access is possible. Activate the pads as
25420 PULL_RANGE if possible.
25422 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
25424 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
25425 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
25428 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25430 * docs/faq/using.xml:
25431 Add note on gstreamer-properties (#154996).
25433 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25435 * docs/random/bbb/optional-properties:
25436 Some analysis on optional properties.
25438 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25440 * docs/gst/tmpl/gstelementfactory.sgml:
25441 * gst/gstelement.h:
25442 * gst/gstelementfactory.c: (gst_element_factory_init),
25443 (gst_element_factory_cleanup), (gst_element_register),
25444 (__gst_element_factory_add_static_pad_template),
25445 (gst_element_factory_get_static_pad_templates),
25446 (gst_element_factory_can_src_caps),
25447 (gst_element_factory_can_sink_caps):
25448 * gst/registries/Makefile.am:
25449 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
25450 (gst_xml_registry_class_init), (gst_xml_registry_init),
25451 (gst_xml_registry_new), (gst_xml_registry_set_property),
25452 (gst_xml_registry_get_property), (get_time), (make_dir),
25453 (gst_xml_registry_get_perms_func),
25454 (plugin_times_older_than_recurse), (plugin_times_older_than),
25455 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
25456 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
25457 (add_to_char_array), (read_string), (read_uint), (read_enum),
25458 (load_pad_template), (load_feature), (load_plugin), (load_paths),
25459 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
25460 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
25461 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
25462 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
25463 (gst_xml_registry_rebuild):
25464 * gst/registries/gstlibxmlregistry.h:
25465 * tools/gst-compprep.c: (main):
25466 * tools/gst-inspect.c: (print_pad_templates_info):
25467 * tools/gst-xmlinspect.c: (print_element_info):
25468 Use libxml2 for registry parsing, use staticpadtemplates in
25469 elementfactories. Makes gst_init() +/- 10x faster.
25471 2005-04-12 Wim Taymans <wim@fluendo.com>
25473 * gst/base/Makefile.am:
25474 * gst/base/gstbasesink.c: (gst_basesink_base_init),
25475 (gst_basesink_pad_getcaps), (gst_basesink_init),
25476 (gst_basesink_event), (gst_basesink_change_state):
25477 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25478 (gst_basesrc_init), (gst_basesrc_query),
25479 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
25480 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
25481 (gst_basesrc_check_get_range), (gst_basesrc_loop),
25482 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
25483 (gst_basesrc_stop), (gst_basesrc_activate),
25484 (gst_basesrc_change_state):
25485 * gst/base/gsttypefindhelper.c: (helper_find_peek),
25486 (helper_find_suggest), (gst_type_find_helper):
25487 * gst/base/gsttypefindhelper.h:
25488 * gst/elements/Makefile.am:
25489 * gst/elements/gstelements.c:
25490 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
25491 (gst_fakesink_get_times), (gst_fakesink_event),
25492 (gst_fakesink_preroll), (gst_fakesink_render):
25493 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25494 (gst_fakesrc_init), (gst_fakesrc_event_handler),
25495 (gst_fakesrc_get_property), (gst_fakesrc_create),
25496 (gst_fakesrc_start), (gst_fakesrc_stop):
25497 * gst/elements/gstfakesrc.h:
25498 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
25499 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
25500 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
25501 (gst_filesrc_create_read), (gst_filesrc_create),
25502 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
25503 (gst_filesrc_start):
25504 * gst/elements/gsttypefindelement.c:
25505 (gst_type_find_element_have_type), (gst_type_find_element_init),
25506 (start_typefinding), (stop_typefinding), (push_buffer_store),
25507 (gst_type_find_element_handle_event),
25508 (gst_type_find_element_chain),
25509 (gst_type_find_element_checkgetrange),
25510 (gst_type_find_element_getrange), (do_typefind),
25511 (gst_type_find_element_activate),
25512 (gst_type_find_element_change_state):
25513 * gst/elements/gsttypefindelement.h:
25514 * gst/gstpipeline.c: (pipeline_bus_handler):
25515 Added typefind helper.
25516 Small preroll fix in the base sink.
25517 Disable typefind code in basesrc.
25518 Crude port of typefindelement.
25522 2005-04-11 Wim Taymans <wim@fluendo.com>
25524 * check/gst/gstbus.c: (gstbus_suite):
25525 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
25526 * check/gstcheck.h:
25527 Fix up the timeout so that the test does not fail.
25529 2005-04-06 Wim Taymans <wim@fluendo.com>
25532 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25533 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
25534 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
25535 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
25536 (gst_basesrc_check_get_range), (gst_basesrc_loop),
25537 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
25538 (gst_basesrc_stop), (gst_basesrc_activate),
25539 (gst_basesrc_change_state), (basesrc_find_peek),
25540 (basesrc_find_suggest), (gst_basesrc_type_find):
25541 * gst/base/gstbasesrc.h:
25542 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
25543 (gst_filesrc_class_init), (gst_filesrc_init),
25544 (gst_filesrc_finalize), (gst_filesrc_set_location),
25545 (gst_filesrc_set_property), (gst_filesrc_get_property),
25546 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
25547 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
25548 (gst_filesrc_create_read), (gst_filesrc_create),
25549 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
25550 * gst/elements/gstfilesrc.h:
25551 * gst/gstelement.c: (gst_element_get_state_func),
25552 (gst_element_lost_state), (gst_element_pads_activate):
25553 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25554 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
25555 (gst_pad_pull_range):
25557 More work on the generic source base class, implement seeking,
25559 Make filesrc extend the base source class.
25560 Added gst_pad_set_checkgetrange_function to GstPad.
25562 2005-04-06 Andy Wingo <wingo@pobox.com>
25564 * pkgconfig/gstreamer-base.pc.in:
25565 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
25567 * pkgconfig/Makefile.am:
25568 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
25570 2005-04-04 Wim Taymans <wim@fluendo.com>
25572 * gst/base/Makefile.am:
25574 * gst/base/gstbasesink.c: (gst_basesink_base_init),
25575 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
25576 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
25577 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
25578 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25579 (gst_basesrc_base_init), (gst_basesrc_class_init),
25580 (gst_basesrc_init), (gst_basesrc_get_formats),
25581 (gst_basesrc_get_query_types), (gst_basesrc_query),
25582 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
25583 (gst_basesrc_set_property), (gst_basesrc_get_property),
25584 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
25585 (gst_basesrc_loop), (gst_basesrc_activate),
25586 (gst_basesrc_change_state):
25587 * gst/base/gstbasesrc.h:
25588 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
25589 (gst_fakesrc_class_init), (gst_fakesrc_init),
25590 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
25591 (gst_fakesrc_get_property), (gst_fakesrc_create):
25592 * gst/elements/gstfakesrc.h:
25593 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
25594 (gst_filesrc_open_file), (gst_filesrc_loop),
25595 (gst_filesrc_activate), (filesrc_find_peek),
25596 (gst_filesrc_type_find):
25597 Made base source class, make fakesrc extend it.
25598 Add comments to basesink class.
25599 Some filesrc cleanup.
25601 2005-03-31 David Schleef <ds@schleef.org>
25603 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
25604 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
25605 expected to link against libgstreamer.
25606 * gst/base/Makefile.am: link against libgstreamer
25607 * gst/elements/Makefile.am: same
25609 2005-03-31 Andy Wingo <wingo@pobox.com>
25611 * tests/instantiate/Makefile.am:
25612 * tests/instantiate/caps.c: Add test to test speed of caps copy
25615 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
25616 GMemChunk to be fair.
25618 * gst/gsttrashstack.h: Remove warning about using the fallback
25619 trash stack implementation, it's still faster than malloc.
25621 2005-03-30 Andy Wingo <wingo@pobox.com>
25623 * tests/complexity.c: Add a copyright.
25625 2005-03-31 Wim Taymans <wim@fluendo.com>
25627 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
25628 (gst_base_transform_class_init), (gst_base_transform_init),
25629 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
25630 (gst_base_transform_get_property),
25631 (gst_base_transform_sink_activate),
25632 (gst_base_transform_src_activate),
25633 (gst_base_transform_change_state):
25634 * gst/base/gstbasetransform.h:
25635 * gst/elements/gstidentity.c: (gst_identity_class_init),
25636 (gst_identity_event), (gst_identity_check_perfect),
25637 (gst_identity_transform), (gst_identity_start),
25638 (gst_identity_stop):
25639 Added start/stop methods to transform base class so subclasses
25640 don't need to deal with state changes even.
25642 2005-03-31 Wim Taymans <wim@fluendo.com>
25644 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
25645 (gst_event_new_discontinuous), (gst_event_discont_get_value):
25647 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25648 (gst_pad_pull_range):
25649 Added rate to the discont event to prepare for variable speed
25650 and reverse playback.
25652 2005-03-29 David Schleef <ds@schleef.org>
25655 * testsuite/trigger/Makefile.am:
25656 * testsuite/trigger/trigger.c: A little example program to show
25657 how trigger-based elements can work.
25659 2005-03-29 Wim Taymans <wim@fluendo.com>
25661 * gst/base/Makefile.am:
25663 * gst/base/gstbasesink.c: (gst_basesink_get_type),
25664 (gst_basesink_base_init), (gst_basesink_class_init),
25665 (gst_basesink_pad_getcaps), (gst_basesink_init),
25666 (gst_basesink_activate), (gst_basesink_change_state):
25667 * gst/base/gstbasesink.h:
25668 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
25669 (gst_base_transform_base_init), (gst_base_transform_finalize),
25670 (gst_base_transform_class_init), (gst_base_transform_init),
25671 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
25672 (gst_base_transform_event), (gst_base_transform_getrange),
25673 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
25674 (gst_base_transform_set_property),
25675 (gst_base_transform_get_property),
25676 (gst_base_transform_sink_activate),
25677 (gst_base_transform_src_activate),
25678 (gst_base_transform_change_state):
25679 * gst/base/gstbasetransform.h:
25680 * gst/elements/gstidentity.c: (gst_identity_finalize),
25681 (gst_identity_class_init), (gst_identity_init),
25682 (gst_identity_event), (gst_identity_check_perfect),
25683 (gst_identity_transform), (gst_identity_set_property),
25684 (gst_identity_get_property), (gst_identity_change_state):
25685 * gst/elements/gstidentity.h:
25686 * gst/gstelement.c: (gst_element_get_state_func),
25687 (gst_element_lost_state), (gst_element_pads_activate):
25688 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25689 (gst_pad_check_pull_range), (gst_pad_pull_range):
25691 Simplify pad activation.
25692 Added function to check if pull_range can be performed.
25693 Error out when pulling inactive or flushing pads.
25694 Removed const from refcounted types as it does not make sense.
25695 Simplify pad templates in basesink
25696 Added base class for simple 1-to-1 transforms.
25697 Make identity subclass the base transform.
25699 2005-03-29 Andy Wingo <wingo@pobox.com>
25701 * docs/libs/gstreamer-libs-overrides.txt:
25702 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
25703 really don't understand what's going on, but like whatever. I want
25706 * docs/gst/Makefile.am:
25707 * docs/libs/Makefile.am: Dist the overrides files.
25709 * check/Makefile.am (clean-local): Remove .libs directories.
25711 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
25712 elements to EXTRA_DIST, so po/ files are happy.
25714 * po/POTFILES.in: Er, remove it here.
25716 * po/POTFILES: Remove gstspider.c.
25718 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
25720 * docs/libs/gstreamer-libs-docs.sgml:
25721 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
25724 * tests/complexity.c (main): Set the length of the preroll queue
25725 on the sinks to prevent a lockup.
25727 * libs/gst/dataprotocol/Makefile.am:
25728 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
25729 the same as the one in check/gst-libs/gdp.c.
25731 * po/, docs/gst/: Commit automatic changes to docs and po files.
25733 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
25734 the versioned libgstbase.
25736 * check/Makefile.am: Depend on an unversioned gst-register, seems
25737 to make autoconf happier.
25739 * gst/base/Makefile.am: Make libgstbase a versioned lib.
25741 2005-03-28 Wim Taymans <wim@fluendo.com>
25744 * docs/design/part-gstelement.txt:
25745 * docs/design/part-negotiation.txt:
25746 * docs/design/part-preroll.txt:
25747 * docs/design/part-scheduling.txt:
25748 * docs/design/part-states.txt:
25750 * gst/base/Makefile.am:
25752 * gst/base/gstbasesink.c: (gst_basesink_get_template),
25753 (gst_basesink_base_init), (gst_basesink_class_init),
25754 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
25755 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
25756 (gst_basesink_set_pad_functions),
25757 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
25758 (gst_basesink_set_property), (gst_basesink_get_property),
25759 (gst_base_sink_get_template), (gst_base_sink_get_caps),
25760 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
25761 (gst_basesink_preroll_queue_push),
25762 (gst_basesink_preroll_queue_empty),
25763 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
25764 (gst_basesink_event), (gst_basesink_get_times),
25765 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
25766 (gst_basesink_chain_unlocked), (gst_basesink_chain),
25767 (gst_basesink_loop), (gst_basesink_activate),
25768 (gst_basesink_change_state):
25769 * gst/base/gstbasesink.h:
25770 * gst/elements/Makefile.am:
25771 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
25772 (gst_fakesink_class_init), (gst_fakesink_init),
25773 (gst_fakesink_set_property), (gst_fakesink_get_property),
25774 (gst_fakesink_get_times), (gst_fakesink_event),
25775 (gst_fakesink_preroll), (gst_fakesink_render),
25776 (gst_fakesink_change_state):
25777 * gst/elements/gstfakesink.h:
25778 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
25779 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
25780 * gst/gstelement.c: (gst_element_add_pad),
25781 (gst_element_get_state_func), (gst_element_abort_state),
25782 (gst_element_commit_state), (gst_element_lost_state),
25783 (gst_element_set_state), (gst_element_pads_activate):
25784 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
25785 * gst/gstpipeline.c: (gst_pipeline_send_event),
25786 (gst_pipeline_change_state):
25787 Added state change code.
25788 Added/updated docs.
25789 Added sink base class, make fakesink extend the base class.
25790 Small cleanups in GstPipeline.
25792 2005-03-26 David Schleef <ds@schleef.org>
25794 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
25795 is broken and should be implemented in a different library.
25796 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
25797 * gst/gst.h: remove gstcpu.h
25798 * gst/gstcpu.c: remove
25799 * gst/gstcpu.h: remove
25800 * gst/Makefile.am.future: Remove this file. It's ancient.
25802 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25804 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
25805 (gst_bin_send_event):
25806 Add default event/set_manager handlers. The set_manager handler
25807 takes care that the manager is distributed over kids that were
25808 already in the bin before the manager was set. The event handler
25809 is a utility virtual function that sends the event over all sinks,
25810 so that gst_element_send_event (bin, event); has the expected
25812 * gst/gstpad.c: (gst_pad_event_default):
25813 Re-install default event handling for discontinuities, so that
25814 seeking works without requiring hacks in applications or extra
25816 * gst/gstpipeline.c: (gst_pipeline_class_init),
25817 (gst_pipeline_send_event):
25818 Half hack, half utility: set a pipeline to PAUSED for seek events,
25819 since that is the only way we can guarantee a/v sync. Means that
25820 you can do gst_element_seek (pipeline, method, pos); on a pipeline
25821 and it "just works".
25823 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25825 * gst/gstpipeline.c: (gst_pipeline_use_clock):
25826 Lock/unlock mismatch.
25828 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
25830 * docs/faq/gst-uninstalled:
25831 add gst-plugins-base
25832 * docs/gst/Makefile.am:
25833 don't error out until docs are fixed
25834 * docs/gst/gstreamer.types:
25837 2005-03-22 Wim Taymans <wim@fluendo.com>
25839 * check/Makefile.am:
25840 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
25841 * gst/gststructure.c: (gst_structure_set_valist),
25842 (gst_structure_copy_conditional):
25843 Activated more tests.
25844 Added message test.
25845 Added G_TYPE_POINTER to GstStructure.
25848 2005-03-22 Wim Taymans <wim@fluendo.com>
25850 * docs/design/part-TODO.txt:
25851 * docs/design/part-events.txt:
25852 * docs/design/part-gstbin.txt:
25853 * docs/design/part-gstbus.txt:
25854 * docs/design/part-gstpipeline.txt:
25855 * docs/design/part-messages.txt:
25857 * gst/gstmessage.c:
25860 2005-03-21 Wim Taymans <wim@fluendo.com>
25862 * gst/gstbus.c: (gst_bus_post):
25863 Fix copy-and-paste error.
25865 2005-03-21 Wim Taymans <wim@fluendo.com>
25867 * check/Makefile.am:
25869 * gst/elements/Makefile.am:
25870 * gst/elements/gstelements.c:
25871 * gst/elements/gstfakesink.c: (gst_fakesink_init),
25872 (gst_fakesink_event), (gst_fakesink_chain):
25873 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25874 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
25875 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
25876 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
25877 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
25878 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
25879 (gst_fakesrc_loop), (gst_fakesrc_activate),
25880 (gst_fakesrc_change_state):
25881 * gst/elements/gstfakesrc.h:
25882 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
25883 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
25884 (gst_filesrc_open_file), (gst_filesrc_loop),
25885 (gst_filesrc_activate), (gst_filesrc_change_state),
25886 (filesrc_find_peek), (filesrc_find_suggest),
25887 (gst_filesrc_type_find):
25888 * gst/elements/gstidentity.c: (gst_identity_finalize),
25889 (gst_identity_class_init), (gst_identity_init),
25890 (gst_identity_proxy_getcaps), (identity_queue_push),
25891 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
25892 (gst_identity_getrange), (gst_identity_chain),
25893 (gst_identity_sink_loop), (gst_identity_src_loop),
25894 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
25895 (gst_identity_set_property), (gst_identity_get_property),
25896 (gst_identity_change_state):
25897 * gst/elements/gstidentity.h:
25898 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
25899 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
25900 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
25901 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
25902 (gst_tee_sink_activate):
25903 * gst/elements/gsttee.h:
25904 * gst/gst.c: (gst_register_core_elements), (init_post):
25906 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
25907 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
25908 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
25909 (gst_bin_change_state):
25911 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
25912 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
25913 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
25914 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
25915 (gst_bus_set_sync_handler), (gst_bus_create_watch),
25916 (bus_watch_callback), (bus_watch_destroy),
25917 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
25918 (poll_timeout), (gst_bus_poll):
25922 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
25923 (gst_element_post_message), (gst_element_message_full),
25924 (gst_element_get_state_func), (gst_element_get_state),
25925 (gst_element_abort_state), (gst_element_commit_state),
25926 (gst_element_lost_state), (gst_element_set_state),
25927 (gst_element_pads_activate), (gst_element_change_state),
25928 (gst_element_dispose), (gst_element_set_manager_func),
25929 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
25930 (gst_element_set_manager), (gst_element_get_manager),
25931 (gst_element_set_bus), (gst_element_get_bus),
25932 (gst_element_set_scheduler), (gst_element_get_scheduler):
25933 * gst/gstelement.h:
25934 * gst/gstevent.c: (gst_event_new_segment_seek),
25935 (gst_event_new_flush):
25937 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
25938 (_gst_message_free), (gst_message_get_type), (gst_message_new),
25939 (gst_message_new_eos), (gst_message_new_error),
25940 (gst_message_new_warning), (gst_message_new_tag),
25941 (gst_message_new_state_changed), (gst_message_new_application),
25942 (gst_message_get_structure), (gst_message_parse_tag),
25943 (gst_message_parse_state_changed), (gst_message_parse_error),
25944 (gst_message_parse_warning):
25945 * gst/gstmessage.h:
25946 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
25947 (gst_real_pad_set_property), (gst_pad_set_active),
25948 (gst_pad_is_active), (gst_pad_set_blocked_async),
25949 (gst_pad_set_blocked), (gst_pad_is_blocked),
25950 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
25951 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
25952 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
25953 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
25954 (gst_pad_link_filtered), (gst_pad_relink_filtered),
25955 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
25956 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
25957 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
25958 (gst_pad_set_caps), (gst_pad_configure_sink),
25959 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
25960 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
25961 (gst_real_pad_dispose), (gst_real_pad_finalize),
25962 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
25963 (gst_pad_event_default_dispatch), (gst_pad_event_default),
25964 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
25966 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
25967 (pipeline_bus_handler), (gst_pipeline_change_state),
25968 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
25969 * gst/gstpipeline.h:
25971 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
25972 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
25973 (gst_queue_link_src), (gst_queue_bufferalloc),
25974 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
25975 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
25976 (gst_queue_loop), (gst_queue_handle_src_event),
25977 (gst_queue_handle_src_query), (gst_queue_src_activate),
25978 (gst_queue_change_state):
25980 * gst/gstscheduler.c: (gst_scheduler_init),
25981 (gst_scheduler_dispose), (gst_scheduler_create_task),
25982 (gst_scheduler_factory_create):
25983 * gst/gstscheduler.h:
25984 * gst/gststructure.c: (gst_structure_get_type),
25985 (gst_structure_copy_conditional):
25986 * gst/gststructure.h:
25987 * gst/gsttaginterface.h:
25988 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
25989 (gst_task_init), (gst_task_dispose), (gst_task_create),
25990 (gst_task_get_state), (gst_task_start), (gst_task_stop),
25996 * gst/schedulers/Makefile.am:
25997 * gst/schedulers/cothreads_compat.h:
25998 * gst/schedulers/entryscheduler.c:
25999 * gst/schedulers/faircothreads.c:
26000 * gst/schedulers/faircothreads.h:
26001 * gst/schedulers/fairscheduler.c:
26002 * gst/schedulers/gstbasicscheduler.c:
26003 * gst/schedulers/gstoptimalscheduler.c:
26004 * gst/schedulers/gthread-cothreads.h:
26005 * gst/schedulers/threadscheduler.c:
26006 (gst_thread_scheduler_task_get_type),
26007 (gst_thread_scheduler_task_class_init),
26008 (gst_thread_scheduler_task_init),
26009 (gst_thread_scheduler_task_start),
26010 (gst_thread_scheduler_task_stop),
26011 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
26012 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
26013 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
26014 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
26016 * libs/gst/Makefile.am:
26017 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
26018 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
26019 (gst_file_pad_parent_set):
26020 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
26021 (gst_dp_event_from_packet):
26022 * tests/complexity.c: (main):
26023 * tests/mass_elements.c: (main):
26024 * testsuite/states/locked.c: (message_received), (main):
26025 * testsuite/states/parent.c: (main):
26026 * tools/gst-inspect.c: (print_element_flag_info),
26027 (print_implementation_info), (print_pad_info):
26028 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
26030 * tools/gst-md5sum.c: (event_loop), (main):
26031 * tools/gst-typefind.c: (main):
26032 * tools/gst-xmlinspect.c: (print_element_info):
26034 Added GstBus for mainloop integration.
26035 Added GstMessage for sending notifications on the bus.
26036 Added GstTask as an abstraction for pipeline entry points.
26038 Removed Schedulers.
26039 Simplified GstQueue for multithreaded core.
26040 Made _link threadsafe, removed old capsnego.
26041 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
26042 Added pad blocking functions.
26043 Reworked scheduling functions in GstPad to prepare for
26044 scheduling updates soon.
26045 Moved events out of data stream.
26046 Simplified GstEvent types.
26047 Added return values to push/pull.
26048 Removed clocking from GstElement.
26049 Added prototypes for state change function for next merge.
26050 Removed iterate from bins and state change management.
26051 Fixed some elements, disabled others for now.
26052 Fixed -inspect and -launch.
26053 Added check for GstBus.
26055 2005-03-10 Wim Taymans <wim@fluendo.com>
26057 * docs/design/part-MT-refcounting.txt:
26058 * docs/design/part-clocks.txt:
26059 * docs/design/part-gstelement.txt:
26060 * docs/design/part-gstobject.txt:
26061 * docs/design/part-standards.txt:
26062 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
26063 (gst_bin_remove_func), (gst_bin_remove):
26067 * testsuite/clock/clock1.c: (main):
26068 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
26070 * testsuite/dlopen/loadgst.c: (do_test):
26071 * testsuite/refcounting/bin.c: (add_remove_test1),
26072 (add_remove_test2), (main):
26073 * testsuite/refcounting/element.c: (main):
26074 * testsuite/refcounting/element_pad.c: (main):
26075 * testsuite/refcounting/pad.c: (main):
26076 * tools/gst-launch.c: (sigint_handler_sighandler):
26077 * tools/gst-typefind.c: (main):
26079 Added doc about clock.
26080 removed gst_bin_iterate_recurse_up(), marked methods
26082 Fix more testsuites.
26084 2005-03-09 Wim Taymans <wim@fluendo.com>
26086 * gst/gstpad.c: (gst_pad_get_direction),
26087 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
26088 (gst_pad_collect_valist):
26089 * testsuite/bins/interface.c: (main):
26090 * testsuite/caps/audioscale.c: (test_caps):
26091 * testsuite/caps/caps.c: (test1), (test2), (test3):
26092 * testsuite/caps/deserialize.c: (main):
26093 * testsuite/caps/enumcaps.c: (main):
26094 * testsuite/caps/filtercaps.c: (main):
26095 * testsuite/caps/intersect2.c: (main):
26096 * testsuite/caps/random.c: (main):
26097 * testsuite/caps/renegotiate.c: (my_fixate), (main):
26098 * testsuite/caps/sets.c: (check_caps):
26099 * testsuite/caps/simplify.c: (check_caps), (main):
26100 * testsuite/caps/subtract.c: (check_caps):
26101 Fix _pad_get_direction wrt ghostpads.
26102 Fix caps testsuite.
26104 2005-03-09 Wim Taymans <wim@fluendo.com>
26106 * check/Makefile.am:
26107 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
26108 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
26109 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
26110 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
26111 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
26112 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
26113 (gst_bin_remove), (gst_bin_iterate_recurse_up),
26114 (bin_element_is_sink), (gst_bin_iterate_sinks),
26115 (gst_bin_iterate_all_by_interface):
26117 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
26118 (gst_element_change_state), (gst_element_dispose),
26119 (gst_element_finalize), (gst_element_set_loop_function):
26120 * gst/gstelement.h:
26121 * gst/gstiterator.c: (find_custom_fold_func):
26122 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
26123 (gst_pad_collectv), (gst_pad_collect_valist),
26124 (gst_pad_template_new):
26125 * gst/gstpipeline.c: (gst_pipeline_class_init),
26126 (gst_pipeline_dispose), (gst_pipeline_set_property),
26127 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
26128 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
26129 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
26131 * gst/schedulers/entryscheduler.c:
26132 * gst/schedulers/gstbasicscheduler.c:
26133 (gst_basic_scheduler_cothreaded_chain),
26134 (gst_basic_scheduler_chain_add_element):
26135 * testsuite/bins/interface.c: (main):
26137 Added GstSystemClock test.
26138 Implemented clock distribution code in GstBin.
26139 Implemented iterate sinks method for future use.
26140 Rearranged gstelement.h
26141 Fix GstIterator comparison bug.
26142 Moved some code to GstPipeline, mostly clocking related.
26144 2005-03-09 Wim Taymans <wim@fluendo.com>
26147 * gst/gst_private.h:
26148 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
26149 (gst_bin_remove_func), (gst_bin_remove),
26150 (gst_bin_get_by_name_recurse_up):
26151 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
26152 (gst_clock_id_compare_func), (gst_clock_id_wait),
26153 (gst_clock_id_wait_async), (gst_clock_init),
26154 (gst_clock_adjust_unlocked), (gst_clock_get_time):
26155 * gst/gstelement.h:
26156 * gst/gstinfo.c: (_gst_debug_init):
26158 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
26159 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
26161 Bump version number, we're now 0.9.0
26162 Add future debugging category.
26163 Fix NULL _unref() in _get_by_name_recurse_up
26164 Rearrange gstpad.h.
26167 2005-03-08 Wim Taymans <wim@fluendo.com>
26169 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
26170 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
26171 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
26172 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
26173 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
26174 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
26175 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
26176 * gst/elements/gstidentity.c: (gst_identity_class_init):
26177 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
26178 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
26179 * gst/elements/gstshaper.c: (gst_shaper_class_init):
26180 * gst/elements/gststatistics.c: (gst_statistics_class_init):
26181 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
26183 * gst/gstelement.c: (gst_element_class_init),
26184 (gst_element_base_class_init), (gst_element_init),
26185 (gst_element_get_random_pad), (gst_element_wait_state_change),
26186 (gst_element_change_state), (gst_element_dispose),
26187 (gst_element_finalize), (gst_element_set_loop_function):
26188 * gst/gstelement.h:
26189 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
26190 * gst/gstthread.c: (gst_thread_class_init),
26191 (gst_thread_release_children_locks), (gst_thread_change_state):
26192 * gst/schedulers/gstbasicscheduler.c:
26193 (gst_basic_scheduler_loopfunc_wrapper),
26194 (gst_basic_scheduler_chain_wrapper),
26195 (gst_basic_scheduler_src_wrapper),
26196 (gst_basic_scheduler_remove_element):
26197 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
26198 Remove threadsafe properties. Fix elements because GObject
26199 complains when installing a property before declaring a
26200 set/get_property handler.
26201 Rearrange gstelement.h file, use STATE macros for state locks.
26202 Free mutexes in the finalize method instead of dispose.
26204 2005-03-08 Wim Taymans <wim@fluendo.com>
26206 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
26207 * gst/gstthread.c: (gst_thread_release_children_locks):
26208 Added parentage check.
26209 Fix build og GstThread again.
26211 2005-03-08 Wim Taymans <wim@fluendo.com>
26213 * docs/design/part-MT-refcounting.txt:
26214 * docs/design/part-conventions.txt:
26215 * docs/design/part-gstobject.txt:
26216 * docs/design/part-relations.txt:
26217 * docs/design/part-standards.txt:
26218 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
26219 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
26220 (gst_bin_get_by_name), (gst_bin_get_by_interface),
26221 (gst_bin_iterate_all_by_interface):
26224 * gst/gstelement.c: (gst_element_class_init),
26225 (gst_element_change_state), (gst_element_set_loop_function):
26226 * gst/gstelement.h:
26227 * gst/gstiterator.c:
26228 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
26229 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
26230 (gst_object_dispatch_properties_changed), (gst_object_set_name),
26231 (gst_object_set_parent), (gst_object_unparent),
26232 (gst_object_check_uniqueness):
26234 Docs updates, clean up some headers.
26236 2005-03-07 Wim Taymans <wim@fluendo.com>
26238 * check/.cvsignore:
26239 * check/Makefile.am:
26240 * check/gst-libs/.cvsignore:
26241 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
26242 * check/gst/.cvsignore:
26243 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
26244 (START_TEST), (gstbus_suite), (main):
26245 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
26246 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
26247 (gst_data_suite), (main):
26248 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
26249 (add_fold_func), (gstiterator_suite), (main):
26250 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
26251 (thread_name_object), (thread_name_object_default),
26252 (gst_object_name_compare), (gst_object_suite), (main):
26253 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
26254 (gst_pad_suite), (main):
26255 * check/gstcheck.c: (gst_check_log_message_func),
26256 (gst_check_log_critical_func), (gst_check_init):
26257 * check/gstcheck.h:
26258 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
26259 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
26262 2005-03-07 Wim Taymans <wim@fluendo.com>
26264 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
26265 (gst_list_iterator_next), (gst_list_iterator_resync),
26266 (gst_list_iterator_free), (gst_iterator_new_list),
26267 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
26268 (gst_iterator_free), (gst_iterator_push), (filter_next),
26269 (filter_resync), (filter_uninit), (filter_free),
26270 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
26271 (gst_iterator_foreach), (find_custom_fold_func),
26272 (gst_iterator_find_custom):
26273 * gst/gstiterator.h:
26274 Added missing files.
26276 2005-03-07 Wim Taymans <wim@fluendo.com>
26280 * docs/design/part-MT-refcounting.txt:
26281 * docs/design/part-conventions.txt:
26282 * docs/design/part-gstobject.txt:
26283 * docs/design/part-relations.txt:
26284 * examples/mixer/mixer.c: (main):
26285 * examples/thread/thread.c: (eos), (main):
26287 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
26288 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
26289 (gst_spider_plug_from_srcpad):
26290 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
26291 (gst_spider_identity_change_state),
26292 (gst_spider_identity_sink_loop_type_finding):
26293 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
26294 * gst/elements/gstidentity.c: (gst_identity_init):
26295 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
26296 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
26297 * gst/elements/gsttypefindelement.c: (free_entry):
26300 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
26301 (gst_bin_set_clock_func), (gst_bin_auto_clock),
26302 (gst_bin_set_index), (gst_bin_set_element_sched),
26303 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
26304 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
26305 (gst_bin_iterate_elements), (iterate_child_recurse),
26306 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
26307 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
26308 (compare_interface), (gst_bin_get_by_interface),
26309 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
26311 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
26312 (gst_buffer_default_free), (gst_buffer_default_copy),
26313 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
26314 (gst_buffer_create_sub):
26316 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
26317 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
26318 (gst_caps_unref), (gst_static_caps_get),
26319 (gst_caps_remove_and_get_structure), (gst_caps_append),
26320 (gst_caps_append_structure), (gst_caps_remove_structure),
26321 (gst_caps_copy_nth), (gst_caps_set_simple),
26322 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
26323 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
26324 (gst_caps_structure_intersect_field), (gst_caps_intersect),
26325 (gst_caps_structure_subtract_field), (gst_caps_subtract),
26326 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
26327 (gst_caps_structure_figure_out_union),
26328 (gst_caps_switch_structures), (gst_caps_do_simplify),
26329 (gst_caps_replace), (gst_caps_from_string),
26330 (gst_caps_copy_conditional):
26332 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
26333 (_gst_clock_id_free), (gst_clock_id_unref),
26334 (gst_clock_id_compare_func), (gst_clock_id_wait),
26335 (gst_clock_id_wait_async), (gst_clock_class_init),
26336 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
26337 (gst_clock_get_time), (gst_clock_set_time_adjust),
26338 (gst_clock_set_property), (gst_clock_get_property):
26341 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
26342 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
26344 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
26345 (gst_element_requires_clock), (gst_element_provides_clock),
26346 (gst_element_set_clock), (gst_element_clock_wait),
26347 (gst_element_wait), (gst_element_set_time_delay),
26348 (gst_element_is_indexable), (gst_element_add_pad),
26349 (gst_element_add_ghost_pad), (gst_element_remove_pad),
26350 (pad_compare_name), (gst_element_get_static_pad),
26351 (gst_element_request_pad), (gst_element_get_request_pad),
26352 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
26353 (gst_element_class_get_pad_template_list),
26354 (gst_element_class_get_pad_template), (gst_element_error_func),
26355 (gst_element_get_random_pad), (gst_element_get_event_masks),
26356 (gst_element_send_event), (gst_element_seek),
26357 (gst_element_get_query_types), (gst_element_query),
26358 (gst_element_get_formats), (gst_element_convert),
26359 (gst_element_is_locked_state), (gst_element_set_locked_state),
26360 (gst_element_sync_state_with_parent), (gst_element_change_state),
26361 (gst_element_finalize), (gst_element_yield),
26362 (gst_element_interrupt), (gst_element_set_scheduler),
26363 (gst_element_get_scheduler), (gst_element_set_loop_function):
26364 * gst/gstelement.h:
26366 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
26367 (gst_format_get_by_nick), (gst_format_get_details),
26368 (gst_format_iterate_definitions):
26370 * gst/gstindex.c: (gst_index_gtype_resolver):
26373 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
26374 (gst_mem_chunk_free):
26375 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
26376 (gst_object_ref), (gst_object_unref), (gst_object_sink),
26377 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
26378 (gst_object_dispatch_properties_changed),
26379 (gst_object_set_name_default), (gst_object_set_name),
26380 (gst_object_get_name), (gst_object_set_name_prefix),
26381 (gst_object_get_name_prefix), (gst_object_set_parent),
26382 (gst_object_get_parent), (gst_object_unparent),
26383 (gst_object_check_uniqueness), (gst_object_save_thyself),
26384 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
26385 (gst_object_set_property), (gst_object_get_property),
26386 (gst_object_get_path_string):
26388 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
26389 (gst_real_pad_init), (gst_real_pad_get_property),
26390 (gst_pad_custom_new), (gst_pad_get_direction),
26391 (gst_pad_set_active), (gst_pad_is_active),
26392 (gst_pad_set_event_function), (gst_pad_is_linked),
26393 (gst_pad_link_free), (gst_pad_link_intersect),
26394 (gst_pad_link_fixate), (gst_pad_set_caps),
26395 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
26396 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
26397 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
26398 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
26399 (gst_pad_get_caps), (gst_pad_peer_get_caps),
26400 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
26401 (gst_pad_realize), (gst_pad_get_allowed_caps),
26402 (gst_real_pad_dispose), (gst_real_pad_finalize),
26403 (gst_pad_collectv), (gst_pad_collect_valist),
26404 (gst_pad_template_dispose), (gst_pad_template_new),
26405 (gst_pad_get_internal_links):
26407 * gst/gstpipeline.c: (gst_pipeline_dispose),
26408 (gst_pipeline_change_state):
26409 * gst/gstpipeline.h:
26411 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
26412 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
26413 * gst/gstpluginfeature.h:
26414 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
26415 * gst/gstquery.c: (_gst_query_type_initialize),
26416 (gst_query_type_register), (gst_query_type_get_by_nick),
26417 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
26419 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
26420 * gst/gstscheduler.c: (gst_scheduler_add_element),
26421 (gst_scheduler_factory_create):
26422 * gst/gststructure.c: (gst_structure_set_parent_refcount),
26423 (gst_structure_free), (gst_structure_set_name),
26424 (gst_structure_id_set_value), (gst_structure_set_value),
26425 (gst_structure_set_valist), (gst_structure_remove_field),
26426 (gst_structure_remove_fields),
26427 (gst_structure_remove_fields_valist),
26428 (gst_structure_remove_all_fields), (gst_structure_foreach),
26429 (gst_structure_map_in_place),
26430 (gst_caps_structure_fixate_field_nearest_int),
26431 (gst_caps_structure_fixate_field_nearest_double):
26432 * gst/gststructure.h:
26433 * gst/gstsystemclock.c: (gst_system_clock_class_init),
26434 (gst_system_clock_init), (gst_system_clock_dispose),
26435 (gst_system_clock_async_thread),
26436 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
26437 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
26438 * gst/gstsystemclock.h:
26439 * gst/gsttag.c: (gst_tag_list_add_value_internal),
26440 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
26441 * gst/gsttaginterface.c:
26442 * gst/gstthread.c: (gst_thread_dispose),
26443 (gst_thread_release_children_locks), (gst_thread_change_state),
26444 (gst_thread_main_loop):
26445 * gst/gsttrashstack.h:
26446 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
26448 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26449 (gst_element_request_pad), (gst_element_get_pad_from_template),
26450 (gst_element_request_compatible_pad),
26451 (gst_element_get_compatible_pad_filtered),
26452 (gst_element_get_compatible_pad), (gst_element_state_get_name),
26453 (gst_element_link_pads_filtered), (gst_element_link_filtered),
26454 (gst_element_link_many), (gst_element_link),
26455 (gst_element_link_pads), (gst_element_unlink_pads),
26456 (gst_element_unlink_many), (gst_element_unlink),
26457 (gst_pad_can_link_filtered), (gst_pad_can_link),
26458 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
26459 (gst_object_default_error), (gst_bin_add_many),
26460 (gst_bin_remove_many), (gst_element_populate_std_props),
26461 (gst_element_class_install_std_props), (gst_buffer_merge),
26462 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
26463 (link_fold_func), (gst_pad_proxy_setcaps):
26465 * gst/gstvalue.c: (gst_value_deserialize_string):
26466 * gst/parse/grammar.y:
26467 * gst/schedulers/gstbasicscheduler.c:
26468 (gst_basic_scheduler_cothreaded_chain),
26469 (gst_basic_scheduler_chain_recursive_add),
26470 (gst_basic_scheduler_pad_link):
26471 * gst/schedulers/gstoptimalscheduler.c:
26472 (get_group_schedule_function),
26473 (gst_opt_scheduler_state_transition),
26474 (gst_opt_scheduler_add_element), (element_get_reachables_func):
26475 * libs/gst/bytestream/bytestream.c:
26476 * libs/gst/dataprotocol/dataprotocol.c:
26477 (gst_dp_header_from_buffer):
26480 * tests/threadstate/threadstate2.c: (eos):
26481 * tools/gst-compprep.c: (main):
26482 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
26483 (print_pad_info), (print_children_info):
26484 * tools/gst-launch.c: (idle_func), (main):
26485 * tools/gst-md5sum.c: (idle_func), (main):
26486 * tools/gst-xmlinspect.c: (print_element_info):
26487 First THREADED backport attempt, focusing on adding locks and
26488 making sure the API is threadsafe. Needs more work. More docs
26491 2005-02-24 Andy Wingo <wingo@pobox.com>
26493 * tests/bench-complexity.scm:
26494 * tests/complexity.gnuplot: New files, good for running complexity
26497 * tests/Makefile.am:
26498 * tests/complexity.c: New test, sets up N elements, at each level
26499 teeing into M streams per element. Eeeenteresting.
26501 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
26502 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
26503 running bench-mass_elements.scm.
26505 * tests/bench-mass_elements.scm: New script, runs mass_elements
26506 for various numbers of identities, outputting the results to a
26507 file. Requires guile 1.6. Just for testing.
26509 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
26511 * gst/schedulers/fairscheduler.c:
26512 compile with debug disabled
26514 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
26517 hunting season on 0.9 is now OPEN