1 2007-12-11 Stefan Kost <ensonic@users.sf.net>
4 Include "glib-compat-private.h" to fix the build on system with
5 glib < 2.10. Fixes #503131.
7 2007-12-11 Stefan Kost <ensonic@users.sf.net>
11 Actually its not PURE as it gets the time from elsewhere.
13 2007-12-11 Stefan Kost <ensonic@users.sf.net>
15 * docs/gst/gstreamer-sections.txt:
17 * gst/gstdebugutils.c:
21 * libs/gst/base/gstbasesink.c:
23 Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
24 uses as we don't have HAVE_POSIX_TIMERS in public headers.
25 Thanks Tim for spotting.
27 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
30 Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
32 2007-12-08 Tim-Philipp Müller <tim at centricular dot net>
34 * gst/gststructure.c: (gst_structure_validate_name),
35 (gst_structure_new_valist), (gst_structure_parse_value),
36 (gst_structure_from_string):
37 Don't crash in _from_string() if the structure name is not valid
38 (fixes #501560). Allow structure names to start with a number
39 again (this apparently broke the ubuntu codec installer).
41 * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
43 Add unit test for the crash; update unit tests for new behaviour.
45 2007-12-03 Wim Taymans <wim.taymans@gmail.com>
48 Clarify gst_element_get_compatible_pad() documentation.
51 2007-12-02 Sebastian Dröge <slomo@circular-chaos.org>
53 * tests/check/Makefile.am:
54 Don't forget to dist {gst,libs}/struct_hppa.h.
56 2007-11-28 Stefan Kost <ensonic@users.sf.net>
58 * libs/gst/base/gstbasesink.c:
59 Use new API to get elapsed time.
61 2007-11-28 Stefan Kost <ensonic@users.sf.net>
63 * gst/gstdebugutils.c:
65 Fix wrong order of args in GST_CLOCK_DIFF() usage.
68 Use new API to get elapsed time.
70 2007-11-28 Stefan Kost <ensonic@users.sf.net>
72 * docs/gst/gstreamer-sections.txt:
74 * gst/gstdebugutils.c:
76 Rename new API + ChangeLog surgery to remove old name from last entry..
77 API: GST_GET_TIMESTAMP
79 2007-11-28 Stefan Kost <ensonic@users.sf.net>
81 * docs/gst/gstreamer-sections.txt:
83 * gst/gstdebugutils.c:
85 Now hide the different clock stuff behind a macro.
87 2007-11-28 Stefan Kost <ensonic@users.sf.net>
90 * gst/gstdebugutils.c:
92 Apply the posix-timer check from #361155. Conditionally use the posix
93 timer for logging. This gives better timestamp precission, less
94 overhead and no ntp jitter.
96 2007-11-28 Sebastian Dröge <slomo@circular-chaos.org>
98 * gst/gstminiobject.c: (gst_mini_object_get_type),
99 (gst_mini_object_class_init), (gst_mini_object_copy_default),
100 (gst_mini_object_finalize), (gst_mini_object_copy),
101 (gst_mini_object_is_writable), (gst_mini_object_make_writable),
102 (gst_mini_object_replace), (param_mini_object_validate),
103 (gst_param_spec_mini_object_get_type):
104 Some cleanup and checking against invalid function parameters.
106 2007-11-28 Wim Taymans <wim.taymans@gmail.com>
108 * docs/gst/gstreamer-sections.txt:
110 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
111 (gst_systemclock_suite):
112 Start merging in the easy bits of #361155, the monotonic clock patch.
113 This one adds a few handy macros with docs and a testsuite.
115 2007-11-27 Wim Taymans <wim.taymans@gmail.com>
117 * plugins/elements/gstfilesink.c: (gst_file_sink_event):
118 Be a bit smarter when seeking, like, don't try to do a seek when it's
119 not needed. This avoids errors when the file is not seekable.
122 2007-11-26 Stefan Kost <ensonic@users.sf.net>
124 * docs/gst/gstreamer-docs.sgml:
125 * docs/gst/gstreamer-sections.txt:
126 * docs/gst/gstreamer.types.in:
131 * plugins/elements/gstqueue.c:
132 Due to popular request remove preset interface again. :-(.
134 2007-11-22 Stefan Kost <ensonic@users.sf.net>
136 * tools/gst-inspect.c:
137 Print 'default value' for enums and flags too.
139 2007-11-22 Stefan Kost <ensonic@users.sf.net>
141 * docs/random/ensonic/profiling.txt:
145 Fix typo and give better log output.
147 * gst/gstdebugutils.c:
148 * gst/gstdebugutils.h:
149 More ideas, make graphs a bit smaller and fix param name in macro.
151 2007-11-22 Stefan Kost <ensonic@users.sf.net>
154 Try harder to use the return value from fgets().
156 2007-11-21 Stefan Kost <ensonic@users.sf.net>
159 For theses two fgets we handle the error below.
161 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
163 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
164 Only send upstream events upstream. Fixes #498746.
166 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
168 Patch by: Laurent Glayal <spglegle at yahoo dot fr>
170 * plugins/elements/gstidentity.c: (gst_identity_class_init),
171 (gst_identity_init), (gst_identity_transform_ip),
172 (gst_identity_set_property), (gst_identity_get_property):
173 * plugins/elements/gstidentity.h:
174 Add property to disable handoff signal emission. Fixes #498694.
175 API: GstIdentity::signal-handoffs
177 2007-11-21 Julien Moutte <julien@fluendo.com>
179 * docs/faq/gst-uninstalled: Yet another missing library for the
180 uninstalled script (fft)
182 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
184 * docs/faq/developing.xml:
185 Add a question about how to submit new translations.
187 * docs/random/release:
188 Update the contact email address for the Translation Project
190 * plugins/elements/gstfdsrc.c:
191 The parent_class for fdsrc is pushsrc, not GstElement.
193 2007-11-20 Stefan Kost <ensonic@users.sf.net>
196 Plug a leak and fix saving.
198 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
200 * docs/gst/gstreamer-sections.txt:
201 Add new gst_preset__get_property_names() function to the docs
204 2007-11-20 Stefan Kost <ensonic@users.sf.net>
208 Change _get_preset_names API to return a strv with copies. Add
209 _get_property_names to allow implementations to filter and provide
210 good default implementation.
212 2007-11-20 Julien MOUTTE <julien@moutte.net>
214 * docs/faq/gst-uninstalled: Add another library to the uninstalled
217 2007-11-19 Stefan Kost <ensonic@users.sf.net>
220 More cleanups, docs, and TODOs from comments that now slowly come in.
222 2007-11-19 Julien MOUTTE <julien@moutte.net>
224 * docs/faq/gst-uninstalled: Add new base libraries in the LD
227 2007-11-19 Stefan Kost <ensonic@users.sf.net>
230 Fix bogus warning and make the property type specific code more
233 2007-11-19 Julien MOUTTE <julien@moutte.net>
235 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
238 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
240 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
241 (gst_bin_add_func), (gst_bin_remove_func),
242 (gst_bin_change_state_func), (gst_bin_continue_func):
243 Change email, cleanups add some more debug and comments.
244 Also set bus and clock on new elements when the pipeline was in error.
246 2007-11-18 Stefan Kost <ensonic@users.sf.net>
249 * gst/gstdebugutils.c:
250 Fix build with --disable-gst-debug. Fixes #497859.
251 Spotted by Sameer Naik.
253 2007-11-17 Stefan Kost <ensonic@users.sf.net>
256 Little documentation improvment.
259 More TODO cleanups. Remove c++ comments.
261 * libs/gst/controller/gstcontroller.c:
262 Add TODO and use quark from static string.
264 * tests/check/gst/gstmessage.c:
265 * tests/check/gst/gststructure.c:
266 Use quark from static string.
268 2007-11-17 Stefan Kost <ensonic@users.sf.net>
271 Add some comments and TODOs.
274 Add padding for future changes.
276 * plugins/elements/gstqueue.c:
279 2007-11-17 Stefan Kost <ensonic@users.sf.net>
281 * docs/gst/gstreamer-docs.sgml:
282 * docs/gst/gstreamer-sections.txt:
283 * docs/gst/gstreamer.types.in:
288 Add the preset interface (Fixes #396779). Do some doc cleanups along.
290 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
296 === release 0.10.15 ===
298 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
301 releasing 0.10.15, "October"
303 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
305 * win32/vs6/libgstreamer.dsp:
306 Convert line endings back to DOS.
308 2007-11-13 Stefan Kost <ensonic@users.sf.net>
310 * docs/design/draft-tagreading.txt:
311 * docs/random/ensonic/profiling.txt:
312 Update fast tagreading draft and performance profiling ideas.
314 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
316 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
317 Don't hold the object lock when unreffing a buffer because it could
318 cause a deadlock when the finalize function wants to grab the object
319 lock too. Fixes #495133.
321 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
323 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
324 (gst_segment_to_stream_time), (gst_segment_to_running_time):
325 Also accumulate time correctly when doing reverse playback. Fixes
327 When converting to running and stream time, use default values for
328 start/stop/time/accum when comparing different formats. Fixes #494245.
330 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
331 Do running/stream time in TIME format.
333 * tests/check/gst/gstsegment.c: (GST_START_TEST),
335 2 new unit tests for segment accumulation.
337 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
339 * gst/gst.c: (init_pre):
340 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
341 (_gst_debug_bin_to_dot_file):
342 Move getenv() back into gst_init, so everyone can live happily
343 ever after. Make sure the symbol isn't exported though.
345 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
347 Patch by: Sebastien Moutte <sebastien moutte net>
349 * win32/common/gstenumtypes.c:
350 * win32/common/gstenumtypes.h:
353 * win32/vs6/libgstreamer.dsp:
354 Update vs6 project files (#494343).
356 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
358 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
359 (gst_base_src_perform_seek), (gst_base_src_default_event),
360 (gst_base_src_set_flushing), (gst_base_src_activate_push),
361 (gst_base_src_activate_pull):
362 Unify flushing code, remove some old unlock code that is no longer used.
363 Take the streaming lock when seeking to avoid races. Fixes #492729.
364 Added some more comments.
366 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
368 * gst/gst.c: (_gst_disable_segtrap):
369 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
370 we can use gst_segtrap_is_enabled() there now that we have that API.
371 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
372 to do the getenv here (and export the variable).
374 * gst/gstdebugutils.c: (debug_dump_element),
375 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
376 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
378 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
379 (gst_debug_log_default):
380 Rename _gst_info_start_time to priv_gst_info_start_time so it
381 doesn't get exported (was never in any header).
383 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
384 (gst_plugin_loading_mutex):
385 Make static mutex gst_plugin_loading_mutex really static (was never
386 in any header), and use gst_segtrap_is_enabled() instead of
387 _gst_disable_segtrap.
389 * gst/gsttrace.c: (_gst_trace_default):
390 Make local _gst_trace_default static (was never in any header).
392 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
394 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
396 * win32/common/libgstbase.def:
397 * win32/common/libgstcontroller.def:
398 * win32/common/libgstdataprotocol.def:
399 * win32/common/libgstnet.def:
400 * win32/common/libgstreamer.def:
401 Add more missing symbols, remove some duplicates, and sort
402 as the 'sort' command sorts it (partially fixes #493983).
404 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
406 * gst/gstelement.c: (gst_element_set_state_func):
407 Only change the state cookie if a different state was set on the
408 element. See #492729.
410 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
413 Remove unused and uninitialised type variables that were still
414 exported for some reason (they were never in any header files
417 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
419 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
420 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
421 (gst_base_sink_event), (gst_base_sink_get_position_last),
422 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
423 (gst_base_sink_change_state):
424 Don't try to report a 0 position when we don't know, return -1 and FALSE
425 instead. This mostly happens when we are prerolling.
426 Make sure we can report the right position before we post the ASYNC_DONE
427 message so that a message handler can query position without races.
429 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
430 (async_done_handoff), (async_done_func), (send_buffer),
431 (async_done_eos_func), (gst_sinks_suite):
432 Add two tests for the above.
434 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
437 Update with new email address.
439 * docs/design/part-TODO.txt:
440 Add some more info about future pad-block and negotiation changes.
442 * docs/design/part-buffering.txt:
443 Add some ideas about buffering reporting.
445 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
447 * tests/check/gst/gstobject.c:
448 Disable silly racy test that always fails on this combination of CPU
451 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
453 Patch by: Murray Cumming <murrayc@murrayc.com>
456 Corrected the registration of the parent-set and parent-unset
457 signals: The parameter is a GstObject, not a GObject (#493134).
459 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
470 Move declaration of private _gst_foo_initialize() functions into
471 our private header file where they should have been all along.
473 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
475 * docs/plugins/gstreamer-plugins-sections.txt:
476 * gst/gstdebugutils.h:
478 * plugins/elements/gstqueue.c:
479 gtk-doc fixes; trailing-comma-in-enum fix.
481 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
483 * gst/gst.c: (gst_deinit):
484 Clean up on deinit (not the external ones though, doesn't seem to be
485 needed for some reason).
487 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
489 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
490 Remove __declspec(dllimport) for MSVC that was copied over into core
491 from a plugin, obviously without ever having been tested (note the
492 single underscore in _declspec in the initial commit), and that doesn't
493 really make sense. See #492077.
495 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
497 * gst/gst.c: (init_post):
498 * gst/gstevent.c: (_gst_event_initialize):
499 * gst/gstquery.c: (_gst_query_initialize):
500 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
501 g_type_class_ref() other types as well, see #349410 and #64764.
503 * gst/gstbuffer.c: (_gst_buffer_initialize):
504 * gst/gstmessage.c: (_gst_message_initialize):
505 Simplify existing g_type_class_ref().
507 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
509 * gst/gstformat.c: (_gst_format_initialize):
510 g_type_class_ref() our GstFormat type to make sure we avoid the
511 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
512 bug #64764. Should fix intermittent tee unit test failures (#474823).
514 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
516 * tests/check/elements/tee.c: (test_num_buffers):
517 Simplify, simplify, simplify - or not. Rewrite unit test
518 not to use gst_parse_launch(); allow N sub-streams. Increasing
519 the number of sub-streams seems to reproduce #474823 more easily.
521 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
523 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
526 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
527 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
528 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
529 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
530 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
531 so use _pipe() directly (#492077).
533 * win32/common/dirent.c: (_treaddir):
534 Add a couple of casts to make it build without warnings with MSVC.
536 * win32/common/libgstreamer.def:
537 Add some more symbols that need to be exported.
539 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
541 * tests/examples/metadata/read-metadata.c: (message_loop):
542 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
543 arriving in a second or third tag message are added to
544 the tag list as well.
546 2007-10-31 Stefan Kost <ensonic@users.sf.net>
548 * libs/gst/base/gstbasesrc.c:
549 Its "Since:" and not "@Since:". And remove an superflous cast.
551 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
553 * docs/libs/gstreamer-libs-sections.txt:
554 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
555 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
556 (gst_base_sink_get_property), (gst_base_sink_render_object),
557 (gst_base_sink_preroll_object),
558 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
559 (gst_base_sink_change_state):
560 * libs/gst/base/gstbasesink.h:
561 Add a new last-buffer property that contains the last buffer used in
562 basesink for preroll or rendering. useful for making snapshots.
563 API: gst_base_sink_get_last_buffer()
564 API: GstBaseSink::last-buffer
566 2007-10-29 Stefan Kost <ensonic@users.sf.net>
568 * docs/gst/running.xml:
570 * gst/gstdebugutils.c:
571 * gst/gstdebugutils.h:
572 * tools/gst-launch.c:
573 Improve bin graph dumping, by using the envvar to specify a path.
574 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
576 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
578 * plugins/elements/gsttypefindelement.c:
579 (gst_type_find_element_handle_event),
580 (gst_type_find_element_activate):
581 Post special error message if we can't determine the type of a stream
584 2007-10-29 Stefan Kost <ensonic@users.sf.net>
586 * docs/gst/running.xml:
587 * gst/gstdebugutils.c:
588 Document new env-var. Add one log-line after dumpng a graph.
590 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
593 Ugly hack to put the (recently removed and non-portable, apparently)
594 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
595 GNU ld, because without that 'make check' fails miserably on my debian
596 stable box. Someone with more knowledge of linker intricacies and
597 portability issues than me fix this properly please.
599 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
601 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
602 Reset last seen position after flushing so that we don't report the old
605 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
607 * gst/gstelementfactory.c: (gst_element_register):
609 Patch from Alessandro Decina adding get_type_full and
610 get_protocols_full private vfuncs to the URIHandler interface
611 to allow bindings to support creating URI handlers.
612 Partially fixes: #339279
613 API: GstURIHandlerInterface::get_type_full
614 API: GstURIHandlerInterface::get_protocols_full
616 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
618 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
619 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
620 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
621 Make it so that pads are considered linked until a buffer is pushed
622 and discovered otherwise. This avoids problems with decodebin2 hanging
623 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
626 Make sure we lock the multiqueue when updating the max-size properties.
628 Fix a crash on Solaris in a debug statement in get_request_pad that
629 passes a NULL string to GST_DEBUG.
631 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
632 (run_output_order_test):
633 Fix the test to allow the first buffer on not-linked pads to come out
634 of sequence while multiqueue discovers that they are not-linked.
636 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
639 * libs/gst/check/Makefile.am:
640 Use a custom export symbol regex for libgstcheck, as it needs
641 to export symbols that don't match the standard GStreamer gst_*
642 pattern, and --export-dynamic is not portable (only works on
645 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
646 (gst_check_setup_sink_pad):
647 Make sure to pass a message parameter to the fail_* macros.
649 * tests/check/gst/gstinfo.c: (GST_START_TEST):
650 Fix some compiler warnings.
652 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
654 * tests/check/gst/gststructure.c: (test_to_string):
655 Disable test that checks that white spaces are not allowed
656 in structure names or field names, since we need to
657 support that for now for backwards compatibility reasons.
659 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
661 * docs/gst/gstreamer-sections.txt:
664 API: add GST_TAG_ARTIST_SORTNAME
665 API: add GST_TAG_ALBUM_SORTNAME
666 API: add GST_TAG_TITLE_SORTNAME
667 Add tag variants for sorting (#414539).
669 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
671 * gst/gststructure.c:
672 Also allow white space for names so we don't break
673 backwards compatibility.
675 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
677 * docs/design/part-TODO.txt:
678 * docs/design/part-segments.txt:
679 * docs/design/part-streams.txt:
682 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
684 * docs/gst/gstreamer-sections.txt:
685 Fixed documentation from my previous commit (added new API add
686 gst_value_set_structure(), add gst_value_get_structure() and
687 GST_VALUE_HOLDS_STRUCTURE).
689 2007-10-22 Stefan Kost <ensonic@users.sf.net>
691 * gst/gstdebugutils.c:
692 Reflow code to fix uninitialized variable warning.
694 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
696 * gst/gstcaps.c: (gst_caps_to_string),
697 (gst_caps_from_string_inplace):
698 * gst/gststructure.c: (gst_structure_get_abbrs),
699 (gst_structure_to_string), (gst_structure_from_string):
700 * gst/gstvalue.c: (gst_value_set_structure),
701 (gst_value_get_structure), (gst_value_serialize_structure),
702 (gst_value_deserialize_structure), (_gst_value_initialize):
704 * tests/check/gst/gststructure.c: (GST_START_TEST),
705 (gst_structure_suite):
706 * tests/check/gst/gstvalue.c: (GST_START_TEST):
707 Added GstStructure to gst_value_table and its related functions.
708 Changed gst_structure_to_string to print ';' in the end.
709 Changed gst_caps_to_string to not print ';' beteween its
710 fields (structures) anymore and remove the lastes ';' from latest
711 structure. Now it is possible to have nested structures.
712 In addition, backward compatibilty is assured by accepting '\0' as
713 end delimiter. Fixes: #487969.
714 API: add gst_value_set_structure()
715 API: add gst_value_get_structure()
716 API: add GST_VALUE_HOLDS_STRUCTURE
718 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
721 When no GSource callback has been set up, tell developer
722 to use a function that actually exists.
724 2007-10-17 Stefan Kost <ensonic@users.sf.net>
726 * docs/gst/gstreamer-sections.txt:
730 * gst/gstdebugutils.c:
731 * gst/gstdebugutils.h:
734 * tools/gst-launch.c:
735 Allow dumping pipelines as dot graphs. Fixes #456573.
737 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
739 * gst/gststructure.c:
740 Allow '+' as well, it can be part of media or mime types
741 such as image/svg+xml.
743 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
745 * docs/gst/gstreamer-sections.txt:
748 API: add gst_bus_pop_filtered
749 API: add gst_bus_timed_pop_filtered
750 Two new functions for waiting for specific message types on the
751 bus for a specified amount of time without iterating any main
752 loops or main contexts.
754 * tests/check/gst/gstbus.c:
755 Some tests for the new functions.
757 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
759 * docs/libs/gstreamer-libs-sections.txt:
760 Make gtk-doc ignore stuff it should ignore.
762 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
764 * libs/gst/check/gstcheck.c:
765 * libs/gst/check/gstcheck.h:
766 Allow runtime selection of unit tests to run via the GST_CHECKS
767 environment variable (test case function names, comma-separated).
769 2007-10-16 Stefan Kost <ensonic@users.sf.net>
771 * gst/gststructure.c:
772 * tests/check/gst/gststructure.c:
773 Revert serialisation change and constrain structure-names after
774 consensus on irc. Update api documentation to reflect the change.
776 2007-10-16 Stefan Kost <ensonic@users.sf.net>
778 * gst/gststructure.c:
779 Improve serialization and fix tests.
781 * tests/check/gst/gststructure.c:
782 Add another test that covers why I actually did the previous structure
785 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
787 * tools/gst-inspect.c: (print_element_info):
788 Don't crash when inspecting an element.
790 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
792 * tests/check/gst/gststructure.c:
793 Add unit test for escaping of structure name when serialising
794 and deserialising to/from strings.
796 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
798 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
799 (gst_single_queue_new):
800 * plugins/elements/gstqueue.c: (gst_queue_init),
801 (gst_queue_push_one):
802 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
803 upstream is tricked into thinking it can suggest a format downstream
804 while downstream does not support that format. The real problem is that
805 core calls acceptcaps when pushing a buffer with new caps, for which we
806 do a little workaround by setting the caps on the srcpad ourselves
807 before pushing the buffer (until this is figured out). Fixes #486758.
809 2007-10-15 Stefan Kost <ensonic@users.sf.net>
811 * gst/gststructure.c:
813 Add some more comments and debug output. Quote structure name to fix
814 deserialisation of some strings.
816 2007-10-15 Stefan Kost <ensonic@users.sf.net>
819 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
820 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
822 2007-10-15 Stefan Kost <ensonic@users.sf.net>
824 * tools/gst-inspect.c:
825 Save approx. 400 1 byte allocs when printing. Use API to acces element
831 * tools/gst-xmlinspect.c:
832 Use API to acces element details.
834 2007-10-15 Stefan Kost <ensonic@users.sf.net>
837 Fix some spelling errors.
839 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
841 * gst/gstbin.c: (bin_handle_async_done):
842 Correctly set the next state if all of our async children commited their
843 state. This makes sure we can actually cancel the state change in
844 progress. Fixes a regression in Rhythmbox when seeking.
846 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
849 Don't shadow local variable.
852 Don't shadow global function name.
854 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
856 * gst/gstelementfactory.c:
857 * gst/gstpluginfeature.c:
858 * gst/gstpluginfeature.h:
859 * gst/gstregistrybinary.c:
860 * gst/gstregistryxml.c:
862 Use already-interned string for the private GstPluginFeature
865 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
867 * docs/libs/gstreamer-libs-sections.txt:
868 Add new API to docs; fixes the build.
870 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
872 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
874 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
875 (gst_base_sink_event):
876 * libs/gst/base/gstbasesink.h:
877 Add function to wait for EOS, subclasses can use this to correctly wait
878 for devices to drain before performing the EOS logic. Fixes #485343.
879 API: gst_base_sink_wait_eos()
881 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
884 Cast description string constants in GST_PLUGIN_DEFINE macros
885 to a (gchar*) to make C++ code using these macros compile
886 without warning with g++-4.2 (see #462737). Even if slightly
887 ugly, this seems preferable to putting the description strings
888 into the GLib quark table or making the structure member a
889 const gchar * and doing casts in core code that allocs and
890 frees these strings, or requiring a cast in the C++ code.
892 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
895 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
896 to print the entire class/function signature into the log
897 file for C++ code. This only affects C++ code, for C code
898 everything remains the same.
900 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
902 * gst/gstbin.c: (remove_from_queue):
903 Work around a problem with pipelines containing (semi)loops until a
904 proper, more complicated solution is ready. See #475455.
906 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
910 * gst/gstregistrybinary.c:
911 * gst/gstregistryxml.c:
912 Put more strings into the GLib quark table. No need to keep
913 a hundred-something copies of identical version strings,
914 license strings, package name strings and package origin
917 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
919 * docs/manual/advanced-dataaccess.xml:
920 Don't imply that it's okay to unconditionally change
921 buffer data or buffer metadata in a pad probe callback,
922 and a bunch of other comments. Fixes #430031.
924 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
926 * win32/common/gstenumtypes.c:
927 * win32/common/gstenumtypes.h:
928 * win32/common/gstversion.h:
929 Update generated files.
931 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
933 * docs/manual/advanced-autoplugging.xml:
934 Prefix section with broken code with a warning (see #342432).
936 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
938 * docs/manual/appendix-integration.xml:
939 * docs/manual/basics-init.xml:
940 Call g_thread_init() before g_option_context_new() to
941 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
943 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
945 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
946 (gst_base_sink_queue_object_unlocked),
947 (gst_base_sink_queue_object), (gst_base_sink_event),
948 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
949 When we received EOS and are waiting for when to post the EOS message,
950 our state is prerolled and we should not return ASYNC.
951 Reorganize some code paths to implement this behavior.
953 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
955 Add unit test to verify above EOS fix.
957 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
959 * plugins/elements/gsttypefindelement.c:
960 (gst_type_find_element_have_type), (gst_type_find_element_init),
961 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
962 Move detecting the input caps of the sinkpad to the setcaps function.
963 This allows us to update the output caps when we receive new input caps
964 instead of always using the first detected caps.
966 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
968 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
969 (gst_base_sink_get_position):
970 Don't try to preroll non-async elements after a flush.
971 Subtract latency form clock times when reporting position.
973 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
975 * gst/gstpad.c: (gst_pad_pause_task):
977 Small comment and documentation update.
979 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
981 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
982 (gst_base_src_set_live), (gst_base_src_is_live),
983 (gst_base_src_query_latency), (gst_base_src_perform_seek),
984 (gst_base_src_default_event), (gst_base_src_wait),
985 (gst_base_src_do_sync), (gst_base_src_get_range),
986 (gst_base_src_pad_get_range), (gst_base_src_loop),
987 (gst_base_src_unlock), (gst_base_src_unlock_stop),
988 (gst_base_src_set_flushing), (gst_base_src_set_playing),
989 (gst_base_src_activate_push), (gst_base_src_activate_pull),
990 (gst_base_src_change_state):
991 Rework the locking of basesrc in a similar fashion to basesink. We
992 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
993 us to handle live sources and semi live ones much better.
995 Fix unlocking when seeking, shutting down and pausing in live sources.
997 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
999 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
1000 Fix compilation again.
1002 2007-10-03 Stefan Kost <ensonic@users.sf.net>
1005 Use meaningful categories for the logs to clean the default one.
1007 2007-10-03 Stefan Kost <ensonic@users.sf.net>
1009 * tests/check/pipelines/cleanup.c:
1010 Print message name and not just number.
1012 2007-10-03 Stefan Kost <ensonic@users.sf.net>
1014 * docs/design/draft-tagreading.txt:
1015 Add some more thoughts.
1017 2007-10-03 Stefan Kost <ensonic@users.sf.net>
1019 * tests/check/pipelines/simple-launch-lines.c:
1020 Print message name and not just number.
1022 2007-10-03 Stefan Kost <ensonic@users.sf.net>
1024 * libs/gst/base/gsttypefindhelper.c:
1025 Speedup typefinding. This is work in progress (see #459862).
1027 2007-10-03 Stefan Kost <ensonic@users.sf.net>
1030 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
1031 Spotted by Josep Torra Valles <josep@fluendo.com>.
1033 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
1036 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
1037 field has moved to GstObject.
1039 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
1041 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
1042 (gst_base_src_get_range), (gst_base_src_change_state):
1043 Call unlock for live sources so that they can't get stuck in _create and
1044 produce a buffer before they are set back to PLAYING.
1046 2007-10-02 Edward Hervey <bilboed@bilboed.com>
1048 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
1049 (gst_queue_locked_dequeue):
1050 Comment the segment-related code... in the PROPER function.
1051 See #482147 and my commit from yesterday.
1053 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
1055 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
1056 Also initialize the counter that calculates the first timestamp on a
1057 buffer correctly for non-live sources.
1059 2007-10-01 Edward Hervey <bilboed@bilboed.com>
1061 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
1062 Disable code that's breaking the current-time-level reporting.
1065 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
1067 * docs/gst/gstreamer-sections.txt:
1068 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
1069 as they shouldn't show up. Fixes the docs build.
1071 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
1074 Add an explicit variable importation needed on VS6 (only for MSC_VER)
1075 Define M_PI which is used in files which are including gstinfo.h.
1076 VS6 includes doesn't define it.
1077 * win32/common/libgstbase.def:
1078 * win32/common/libgstcontroller.def:
1079 * win32/common/libgstreamer.def:
1080 Add new exported functions and variables.
1081 * win32/vs6/libgstcontroller.dsp:
1082 * win32/vs6/libgstreamer.dsp:
1083 Update the list of files to build.
1085 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
1087 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
1089 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
1090 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
1091 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
1092 Improve debugging. Fixes #480858.
1094 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
1096 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
1098 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
1099 First patch of code cleanups, use the macros and right arguments in the
1100 macros to signal and lock the queue. See #480858.
1102 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
1104 * gst/gstbus.c: (poll_func):
1105 Improve debugging when dealing with _poll().
1107 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
1109 * gst/gstregistryxml.c:
1110 Fix memory leak I introduced a few days ago.
1112 2007-09-26 Michael Smith <msmith@fluendo.com>
1114 * gst/gstbuffer.c: (gst_buffer_finalize):
1115 Make it once again possible to free GstBuffers in the default
1117 The poisoning scribbles on parts of the miniobject we need in
1121 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
1123 * docs/gst/gstreamer-sections.txt:
1126 API: add GST_TAG_COMPOSER, fixes #459809.
1128 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
1132 Add the 3-clause BSD license and the MIT/X11 license to the license
1133 list. Fixes #479784.
1135 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
1137 * docs/faq/getting.xml:
1138 Add Q+A about different GStreamer versions (#364056).
1140 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
1142 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1143 (gst_base_sink_event), (gst_base_sink_change_state):
1144 Return correct gboolean from query function.
1146 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
1148 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1149 (gst_base_sink_event), (gst_base_sink_query),
1150 (gst_base_sink_change_state):
1151 Simplify latency query.
1152 When not synchronizing, we can report latency without querying the peer
1155 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
1159 Fix small typos in the docs.
1161 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
1163 * docs/design/draft-latency.txt:
1164 * docs/design/draft-push-pull.txt:
1165 * docs/design/draft-tagreading.txt:
1166 * docs/design/part-MT-refcounting.txt:
1167 * docs/design/part-activation.txt:
1168 * docs/design/part-block.txt:
1169 * docs/design/part-element-source.txt:
1170 * docs/design/part-events.txt:
1171 * docs/design/part-gstbin.txt:
1172 * docs/design/part-gstelement.txt:
1173 * docs/design/part-gstobject.txt:
1174 * docs/design/part-gstpipeline.txt:
1175 * docs/design/part-messages.txt:
1176 * docs/design/part-preroll.txt:
1177 * docs/design/part-push-pull.txt:
1178 * docs/design/part-qos.txt:
1179 * docs/design/part-query.txt:
1180 * docs/design/part-scheduling.txt:
1181 * docs/design/part-seeking.txt:
1182 * docs/design/part-segments.txt:
1183 * docs/design/part-states.txt:
1184 Documentation updates and typo fixes.
1186 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
1188 * plugins/elements/gstfakesink.c:
1189 Add some debug text to error message to indicate that
1190 we errored out on request.
1192 * tools/gst-launch.c:
1193 When the state change to PLAYING fails, check for an
1194 error message on the bus and print it.
1196 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
1198 translated by: Jorge González González <aloriel@gmail.com>
1202 Added Spanish translation.
1204 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
1206 * plugins/elements/gstqueue.c: (gst_queue_push_one):
1207 Fix printf arguments.
1209 2007-09-20 Stefan Kost <ensonic@users.sf.net>
1211 * tests/check/generic/states.c:
1212 Improved state change unit test.
1214 2007-09-20 Stefan Kost <ensonic@users.sf.net>
1217 Move priv to the right place.
1219 * gst/gstsystemclock.c:
1220 Add FIXME: and improve log.
1222 * tests/check/Makefile.am:
1223 * tests/examples/manual/Makefile.am:
1224 Work with all types of registries.
1226 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
1228 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
1229 Don't unref the event after pushing it. Fixes #478401.
1231 2007-09-19 Stefan Kost <ensonic@users.sf.net>
1234 * tests/examples/manual/.cvsignore:
1235 Ignore registries in any format.
1237 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
1239 * gst/glib-compat-private.h:
1240 Add compatibility macro for g_intern_string() for
1241 GLib-2.8 (any reason we can't just bump the
1242 requirement to at least 2.10?)
1244 * gst/gstpadtemplate.h:
1245 * gst/gstelementfactory.c:
1246 * gst/gstregistryxml.c:
1247 * gst/gstregistrybinary.c:
1248 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
1249 up the internal code accordingly. This shouldn't be a problem, since
1250 there is no reason external code could ever assume the string in such
1251 a structure is dynamically allocated unless it did that itself; the
1252 use of g_strdup() is private to element factories. The new code also
1253 saves some memory by putting pad template name strings into the GLib
1254 quark table instead of allocating them dynamically.
1255 Declaring this field constant fixes warnings with g++-4.2 when using
1256 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
1258 2007-09-19 Stefan Kost <ensonic@users.sf.net>
1260 * gst/gstelementfactory.c:
1261 Release static caps. Fixes #475723.
1263 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
1267 Make some internal API take const gchar * instead of just
1268 gchar * to avoid compiler warnings with g++-4.2.2 when
1269 passing string constants (partially fixes #478092).
1271 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
1273 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
1274 A latency query fails when one of the sinks fail.
1276 * gst/gstelement.c: (gst_element_set_base_time):
1279 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
1281 * gst/gstbin.c: (gst_bin_continue_func):
1282 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
1283 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
1284 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
1286 Fix minor compilation warnings shown with Forte.
1288 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
1290 * plugins/elements/gstqueue.c: (apply_buffer),
1291 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
1292 Measure queue level based on the diff between head and tail timestamps
1293 even when pushing the first buffer.
1295 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
1297 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1298 (gst_base_sink_event), (gst_base_sink_change_state):
1299 Sinks that don't preroll can always be queried for the latency.
1300 Don't post ASYNC start when we are not async.
1302 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
1304 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
1305 (gst_queue_handle_sink_event), (gst_queue_chain),
1306 (gst_queue_push_one), (gst_queue_handle_src_query),
1307 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
1308 * plugins/elements/gstqueue.h:
1309 When downstream returns UNEXPECTED from pushing a buffer, don't try to
1310 push more buffers but allow pushing of EOS and NEWSEGMENT.
1311 Add some more debug info here and there. Fixes #476514.
1313 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
1315 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1316 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
1317 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
1318 (gst_base_sink_set_flushing), (gst_base_sink_query),
1319 (gst_base_sink_change_state):
1320 Latency query is allowed after we are prerolled. Introduce a new flag
1321 for this and stop abusing other variables.
1323 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
1325 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
1326 Push OOB events downstream when we get them in send_event. This allows
1327 the application to insert events in the pipeline.
1328 Add some more comments.
1330 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
1332 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
1333 (do_bin_latency), (gst_bin_change_state_func):
1334 * gst/gstpipeline.c: (gst_pipeline_change_state):
1335 Move latency query from GstPipeline to GstBin so that we can also
1336 use it when async-handling is enabled on bins.
1338 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
1340 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1341 (gst_base_src_do_sync), (gst_base_src_change_state):
1343 Clean up the timestamping and syncing code for pseudo live sources.
1345 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
1347 Patch by: Steve Fink <sphink gmail com>
1349 * docs/manual/appendix-checklist.xml:
1350 Mention less -R switch in the section about debug output (#474055).
1352 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
1354 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
1355 Queue can latency to the pipeline up to the configured max size in time.
1356 Report this fact in the latency query.
1358 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
1360 Patch by: Sebastien Moutte <sebastien at moutte dot net>
1362 * libs/gst/controller/gstinterpolation.c:
1363 * libs/gst/controller/gstlfocontrolsource.c:
1364 Use gst_guint64_to_gdouble() when converting from a uint64 or
1365 GstClockTime to double to fix the build on win32. Fixes #474371.
1367 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
1369 * gst/gstbuffer.c: (gst_buffer_finalize):
1370 Implement poisoning for GstBuffer if --enable-poisoning is specified.
1371 When finalizing a buffer the complete struct is filled with 0xff,
1372 thus making a use of the buffer after the final unref impossible.
1374 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
1376 * tests/check/libs/controller.c: (GST_START_TEST):
1377 Use fail_unless_equals_int(a, b) instead of
1378 fail_unless_equals (a == b) to get better output on failures.
1380 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
1382 * tests/check/gst/gsturi.c:
1383 Also check for the other file URI variant on win32.
1385 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
1387 * gst/gsturi.c: (gst_uri_get_location):
1388 If there's no hostname, we want to return 'c:/foo/bar.txt'
1389 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
1391 * tests/check/gst/gsturi.c:
1392 Unit test for the above and a few more things.
1394 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
1396 * docs/design/part-live-source.txt:
1397 Add docs on how live sources should timestamp.
1399 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
1400 Add some more debug info.
1401 For subclasses that are live and like to sync, add aditional startup
1402 latency to sync time and timestamps so that we timstamp according to the
1405 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
1408 Also do a g_type_class_ref() for the subbuffer type in
1411 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
1413 * docs/gst/gstreamer-sections.txt:
1414 * gst/gstpad.c: (gst_pad_peer_query):
1416 Add function to perform a query on the peer of a pad.
1417 API: gst_pad_peer_query()
1419 2007-09-11 Stefan Kost <ensonic@users.sf.net>
1421 * tests/check/gst/gstsystemclock.c:
1422 Cleanup the test a little (use gst-logging and not g_message). Improve
1423 test to check if a wait reached the target.
1425 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
1427 * docs/libs/gstreamer-libs-sections.txt:
1428 Add new API to docs and fix the build.
1430 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
1432 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1433 (gst_base_src_init), (gst_base_src_set_do_timestamp),
1434 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
1435 (gst_base_src_get_property), (gst_base_src_do_sync):
1436 * libs/gst/base/gstbasesrc.h:
1437 Add property to make the basesrc timestamp buffers based on the current
1439 API: GstBaseSrc::do-timestamp
1440 API: gst_base_src_set_do_timestamp()
1441 API: gst_base_src_get_do_timestamp()
1443 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
1445 * docs/random/release:
1446 Really make sure translations are up-to-date before
1447 a release (#465010).
1449 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
1451 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1452 Always destroy the timer, also in error cases.
1454 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
1456 * docs/manual/highlevel-xml.xml:
1457 Fix XML example code. Fixes #472714.
1459 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
1461 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1462 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
1463 (gst_base_sink_query):
1464 Protect eos and have_preroll with the OBJECT lock so we don't need to
1465 take the PREROLL lock when querying the latency. Fixes #473846.
1467 2007-09-05 Stefan Kost <ensonic@users.sf.net>
1470 Give some log-messages a category.
1472 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
1474 * gst/gststructure.c:
1475 (gst_structure_fixate_field_nearest_fraction):
1476 Fix fraction list fixation code. Take the fraction with the smallest
1477 difference with the target instead of the first one in the list.
1479 * tests/check/gst/gststructure.c: (GST_START_TEST),
1480 (gst_structure_suite):
1481 Added test to verify correct fraction list fixation behaviour.
1483 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
1485 * win32/common/libgstreamer.def:
1486 Export gst_bus_add_signal_watch too.
1488 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
1490 * docs/libs/gstreamer-libs-sections.txt:
1491 Add new methods to docs.
1493 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1494 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
1495 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
1496 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
1497 * libs/gst/base/gstbasesink.h:
1498 Add ts-offset property to fine-tune the synchronisation.
1499 API: GstBaseSink::ts-offset property
1500 API: gst_base_sink_set_ts_offset()
1501 API: gst_base_sink_get_ts_offset()
1503 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
1505 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1506 (gst_base_sink_init), (gst_base_sink_set_sync),
1507 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
1508 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
1509 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
1510 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
1511 (gst_base_sink_get_property), (gst_base_sink_change_state):
1512 * libs/gst/base/gstbasesink.h:
1513 Add async property to instruct the sink never to inform the parent about
1514 ASYNC state changes, update docs.
1515 Check argument with g_return_* for the public functions.
1516 API: GstBaseSink::async property
1517 API: gst_base_sink_set_async_enabled()
1518 API: gst_base_sink_is_async_enabled()
1520 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
1522 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
1525 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1526 (gst_base_src_default_query), (gst_base_src_wait),
1527 (gst_base_src_do_sync), (gst_base_src_change_state):
1528 Rearrange some code so that we can add support for measuring the
1531 2007-08-27 Stefan Kost <ensonic@users.sf.net>
1533 * docs/random/ensonic/dynlink.txt:
1534 More thoughs on this.
1536 * plugins/elements/gstcapsfilter.c:
1537 Add bugzilla ticket number to FIXME comment.
1539 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
1541 * docs/design/part-TODO.txt:
1542 * docs/design/part-block.txt:
1545 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
1548 Revert patch which uses $(gst_headers) instead of $^ because it
1551 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
1553 * tests/check/gst/gstbin.c: (GST_START_TEST):
1554 Fix leaks in the new unit test.
1556 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
1559 Don't use GST_INFO before the debug system is actually initialised
1560 (shouldn't do any harm, but won't print anything either, so we can
1561 just as well remove it).
1564 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
1565 compilers that don't support variadic macros (such as MSVC), should
1566 check for debug_level <= __gst_debug_min as well, since that's the
1567 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
1568 inline helper functions. Should improve performance a bit, but also
1569 makes sure uses of GST_INFO et.al are ignored if the debugging
1570 system isn't initialised yet (instead of printing an assertion
1573 2007-08-23 Stefan Kost <ensonic@users.sf.net>
1575 patch by: David Nečas <yeti@physics.muni.cz>
1578 Replace some non portable makefile constructs.
1580 2007-08-21 Stefan Kost <ensonic@users.sf.net>
1582 * common/gtk-doc-plugins.mak:
1583 Grrrrr. Don't remove the types file on make clean.
1585 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
1587 * tools/gst-launch.1.in:
1588 Add colorspace to example pipeline. Fixes #458274.
1590 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
1592 * docs/random/release:
1593 The release manager should run 'make download-po' before making a
1594 release to make sure translations are up-to-date.
1600 Add some new translations.
1602 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
1604 * tools/gst-launch.c: (event_loop), (main):
1605 Don´t try to do any state management when a live pipeline posts
1607 Also make the buffering string translatable.
1609 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
1611 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
1612 (bin_handle_async_start), (gst_bin_handle_message_func):
1614 When adding elements, insert messages into the bus of the newly added
1615 element and make sure the element is the source of the message. This
1616 allows the parent bin to intercept the message and do the
1617 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
1618 messages to the app (which is not allowed).
1621 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1622 Fix testsuite so that is does not work around messages that should not
1623 have been posted in the first place.
1625 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
1627 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
1628 (update_degree), (gst_bin_sort_iterator_next):
1629 Fix annoying bug in the sorted iterator where a sink that is not really
1630 a sink (when it has downstream links) screwed up the iterator.
1632 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
1633 Unit test to verify the fix.
1635 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
1638 Add some more docs for the messages.
1640 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1641 (gst_base_sink_query):
1642 Add some more debugging.
1644 * tools/gst-launch.c: (event_loop):
1645 When interrupting, don't try to set pipeline to PAUSED twice.
1647 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
1650 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
1651 (bin_handle_async_start), (gst_bin_handle_message_func):
1652 Move ASYNC_START message posting to where it belongs, similar to
1654 Don't post ASYNC_START when we are in error.
1655 Post ASYNC_START when we added an async element to a bin.
1657 2007-08-14 Julien MOUTTE <julien@moutte.net>
1659 * gst/gstindex.c: (gst_index_add_association): Fix index entry
1660 generation from vargs. Fixes #466595.
1662 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
1664 * gst/gstbin.c: (gst_bin_element_set_state):
1665 Always change the state of a NO_PREROLL element even if it has ASYNC
1666 elements inside (in case of a bin).
1668 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
1669 Unit test for this case.
1671 2007-08-13 Stefan Kost <ensonic@users.sf.net>
1673 * libs/gst/check/gstbufferstraw.c:
1674 * libs/gst/check/gstcheck.h:
1675 * libs/gst/controller/gstcontroller.c:
1676 * libs/gst/controller/gstcontrolsource.h:
1677 * libs/gst/controller/gstlfocontrolsource.h:
1678 * plugins/elements/gstcapsfilter.h:
1679 * plugins/elements/gstfdsink.h:
1680 * plugins/elements/gstfdsrc.h:
1681 Add more missing docs.
1683 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
1685 * gst/gststructure.c:
1686 Add Since tag to docs.
1688 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
1690 * docs/gst/gstreamer-sections.txt:
1691 * gst/gststructure.c: (gst_structure_get_uint):
1692 * gst/gststructure.h:
1693 Add function to get uint from a structure.
1694 API: gst_structure_get_uint()
1696 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
1698 * gst/gstcaps.c: (gst_caps_set_simple_valist),
1699 (gst_caps_intersect):
1700 Fix proper check for simple caps.
1702 2007-08-10 Stefan Kost <ensonic@users.sf.net>
1704 * docs/gst/Makefile.am:
1705 * docs/libs/Makefile.am:
1706 Remove cruft and do some cleanups.
1708 * docs/gst/gstreamer-docs.sgml:
1709 * docs/libs/gstreamer-libs-docs.sgml:
1710 Prepare for comming gtkdoc features (rebase against online docs).
1712 2007-08-10 Michael Smith <msmith@fluendo.com>
1714 * docs/gst/gstreamer-sections.txt:
1715 Add gst_registry_add_path to docs.
1717 2007-08-10 Michael Smith <msmith@fluendo.com>
1719 * gst/gstregistry.h:
1720 Add gst_registry_add_path, which was missing from this header.
1722 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
1724 * libs/gst/controller/gstlfocontrolsource.c:
1727 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
1729 * libs/gst/base/gstbasesink.c:
1730 Don't send an async_start message during downwards state change if
1731 target state is less than READY
1733 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
1735 translated by: Gabor Kelemen <kelemeng@gnome.hu>
1739 Added Hungarian translation.
1741 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
1748 Updated translations.
1750 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
1752 * libs/gst/controller/Makefile.am:
1753 Dist gstlfocontrolsourceprivate.h
1755 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
1757 * docs/libs/gstreamer-libs.types:
1758 Don't register the enum type gst_lfo_waveform_get_type() in the
1759 .types file - only GObject derived types belong.
1761 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
1763 Patch by: <arenevier at fdn dot fr>
1766 Remove comma from last element in enum to avoid compile errors when
1767 using -pendantic. Fixes #464366.
1769 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
1771 * docs/design/part-TODO.txt:
1772 Add some more TODO items
1774 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
1777 * gst/gstcaps.c: (gst_caps_intersect):
1778 Optimize trivial intersection case between identical caps pointers.
1780 * gst/gstelement.c: (gst_element_continue_state),
1781 (gst_element_set_state_func):
1783 Fix spelling and grammar mistakes.
1785 2007-08-05 Stefan Kost <ensonic@users.sf.net>
1789 Update POTFILES. Fixes #461599.
1791 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
1794 Fix confusing typo in debug output.
1796 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
1798 reviewed by: Stefan Kost <ensonic@users.sf.net>
1800 * libs/gst/controller/Makefile.am:
1801 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
1802 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
1803 (gst_lfo_control_source_new),
1804 (gst_lfo_control_source_set_waveform),
1805 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
1806 (gst_lfo_control_source_finalize),
1807 (gst_lfo_control_source_dispose),
1808 (gst_lfo_control_source_set_property),
1809 (gst_lfo_control_source_get_property),
1810 (gst_lfo_control_source_class_init):
1811 * libs/gst/controller/gstlfocontrolsource.h:
1812 * libs/gst/controller/gstlfocontrolsourceprivate.h:
1813 API: Add GstLFOControlSource, a control source that gives values
1814 for specific timestamps based on several periodic waveforms.
1817 * tests/check/libs/controller.c: (GST_START_TEST),
1818 (gst_controller_suite):
1819 * docs/libs/gstreamer-libs-docs.sgml:
1820 * docs/libs/gstreamer-libs-sections.txt:
1821 * docs/libs/gstreamer-libs.types:
1822 Add documentation and unit tests for GstLFOControlSource.
1824 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
1829 === release 0.10.14 ===
1831 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
1834 releasing 0.10.14, "Breathing Vacuum"
1836 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
1838 * gst/gstelement.c: (gst_element_class_set_details_simple):
1840 Make strings passed to gst_element_class_set_details_simple()
1841 constant, as they should be (#462752).
1843 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
1845 * gst/gstbin.c: (gst_bin_change_state_func),
1846 (bin_handle_async_done), (gst_bin_handle_message_func):
1847 Don't forget about the fact that some element went ASYNC even after a
1848 resync. This makes us post the ASYNC_DONE message correctly.
1851 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
1853 * gst/gstregistry.c: (gst_registry_add_feature):
1854 When replacing an existing feature in the registry, make sure to
1855 continue holding a reference until we've replaced the name string
1856 within our feature hash table. Make sure to use g_hash_table_replace
1857 instead of g_hash_table_insert to ensure the new name string is used
1858 as a key instead of the old one that we're about to free.
1861 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
1863 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
1864 (gst_plugin_feature_set_name):
1865 Revert patch from #459466 until after the release and we can work
1866 out exactly what the problem is (if any).
1868 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
1870 * docs/gst/gstreamer-sections.txt:
1873 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
1875 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
1877 * docs/libs/Makefile.am:
1878 Include our build-prefix libs and includes before the generic ones to
1879 avoid linking against the installed libs when we want the build-tree
1882 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
1884 Patch by: Steve Fink <sphink gmail com>
1886 * docs/pwg/building-testapp.xml:
1887 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
1888 if people try to build or install the example from the plugin
1889 template against a GStreamer from package using the configure
1892 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
1894 Patch by: Steve Fink <sphink gmail com>
1896 * tools/gst-inspect.1.in:
1897 Document --print-all and --print-plugin-auto-install-info command
1898 line options in man page.
1900 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
1902 * docs/gst/gstreamer-sections.txt:
1903 Add docs for new api function.
1905 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
1907 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
1908 * gst/gstelementfactory.h:
1909 API: gst_element_factory_has_interface()
1910 Added method to check if an element factory implements a named
1913 2007-07-25 Stefan Kost <ensonic@users.sf.net>
1916 * docs/gst/gstreamer.types.in:
1917 Another conditional doc check.
1920 * gst/gstparamspecs.h:
1921 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1926 2007-07-24 Stefan Kost <ensonic@users.sf.net>
1928 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
1929 (gst_registry_binary_load_feature),
1930 (gst_registry_binary_load_plugin),
1931 (gst_registry_binary_read_cache):
1932 Print error just once and with additional info.
1934 2007-07-24 Stefan Kost <ensonic@users.sf.net>
1936 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
1937 (helper_find_suggest), (helper_find_get_length),
1938 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
1939 (gst_type_find_helper_for_buffer):
1940 Cleanup the typefindhelper code and add private doc comments.
1942 2007-07-24 Edward Hervey <bilboed@bilboed.com>
1944 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
1945 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
1946 Fix capsfilter for cases where the caps set on capsfilter will provide
1947 additional information.
1950 2007-07-24 Stefan Kost <ensonic@users.sf.net>
1952 * gst/gsttypefindfactory.c:
1953 Fix docs that recommened wrong function to use.
1955 2007-07-23 Stefan Kost <ensonic@users.sf.net>
1957 * tools/gst-inspect.c: (print_plugin_features):
1958 Also give media-type for typefinders in element output.
1960 2007-07-23 Stefan Kost <ensonic@users.sf.net>
1962 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
1963 (gst_registry_remove_features_for_plugin_unlocked),
1964 (gst_registry_add_feature), (gst_registry_remove_feature),
1965 (gst_registry_lookup_feature_locked):
1966 * gst/gstregistry.h:
1967 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
1970 2007-07-23 Stefan Kost <ensonic@users.sf.net>
1972 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
1973 (gst_plugin_feature_set_name):
1974 Avoid double memory usage for pluginfeature names. Fixes #459466.
1976 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
1979 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
1980 driving the pipeline may need to explicitly check for NOT_LINKED as
1981 well, since IS_FATAL doesn't cover that.
1983 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
1985 * docs/pwg/advanced-types.xml:
1986 Fix typo and duplicate entry in video formats list.
1988 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
1990 * libs/gst/controller/gstinterpolation.c:
1991 Also round to the nearest int when using cubic interpolation.
1993 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
1995 * libs/gst/controller/gstinterpolation.c:
1996 When linearly interpolating integer types, round to the nearest int
1997 by adding 0.5. Don't do it for float/double types.
1998 Fixes the failing controller test on my machine, which is somehow
1999 rounding differently than on the buildbots.
2001 2007-07-20 Stefan Kost <ensonic@users.sf.net>
2003 * tools/gst-plot-timeline.py:
2004 Better log parsing (categories can have -). Adjust text vs. lines, so
2005 that they span the same y-range.
2007 2007-07-20 Stefan Kost <ensonic@users.sf.net>
2009 * docs/random/ensonic/audiobaseclasses.txt:
2010 * docs/random/ensonic/dynlink.txt:
2011 * docs/random/ensonic/profiling.txt:
2014 * docs/random/moving-plugins:
2015 Add note to use g_assert type macros.
2017 2007-07-20 Stefan Kost <ensonic@users.sf.net>
2020 * libs/gst/check/Makefile.am:
2021 Add libm check as we use in for plugins.
2023 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
2025 * gst/gstbin.c: (gst_bin_continue_func):
2026 Check that the state_cookie hasn't changed since the continue_func
2027 was scheduled. Avoids problems where the state changes back to
2028 something it shouldn't be because it was changed in the meantime.
2030 2007-07-17 Stefan Kost <ensonic@users.sf.net>
2032 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
2033 (gst_registry_binary_save_string),
2034 (gst_registry_binary_save_pad_template),
2035 (gst_registry_binary_save_feature),
2036 (gst_registry_binary_save_plugin),
2037 (gst_registry_binary_load_feature),
2038 (gst_registry_binary_load_plugin),
2039 (gst_registry_binary_read_cache):
2040 Fix memory leak. Be less verbose in the log.
2042 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
2044 * tests/check/elements/.cvsignore:
2045 Add file to cvsignore as commanded.
2047 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
2049 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
2050 (mq_dummypad_event), (run_output_order_test):
2051 Use a GStaticMutex to protect all cases where libcheck
2052 fail_if/fail_unless macros might be called from multiple threads
2053 simultaneously to avoid errors like:
2054 "check_pack.c:107: :-1081725400:Bad message type arg"
2056 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
2058 * tests/check/pipelines/stress.c: (GST_START_TEST):
2059 Make sure we set the pipeline back to the NULL state before
2060 dropping our final reference.
2062 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
2064 * tests/check/elements/tee.c: (GST_START_TEST):
2065 Make the tee stress-test a little less stressful so it doesn't just
2066 time out on slow-machines, and remove a small race when it's starting
2067 up by adding a get_state() call.
2069 2007-07-16 Stefan Kost <ensonic@users.sf.net>
2072 Avoid reading registry twice on startup. Fixes #457322.
2074 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
2076 * pkgconfig/gstreamer-check-uninstalled.pc.in:
2077 * pkgconfig/gstreamer-check.pc.in:
2078 Substitute the CFLAGS for libcheck into our .pc file too so that
2079 dependent modules will pick it up properly if libcheck is installed
2080 into some other prefix.
2082 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
2085 Revert the pkg-config check for libcheck, since it pulls in the
2086 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
2087 a proper solution, either from the check project, or something else.
2089 2007-07-12 Stefan Kost <ensonic@users.sf.net>
2092 Use pkg-config to locate check.
2094 2007-07-10 Stefan Kost <ensonic@users.sf.net>
2101 Add deprecation guards.
2103 * libs/gst/base/gstcollectpads.h:
2104 Don't document object (this is implicitly private).
2106 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
2108 * gst/gststructure.c: (gst_structure_parse_value):
2109 When deserialising foo=bar without a type cast, check if it's a
2110 boolean before falling back to a string type, otherwise things like
2111 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
2112 because the filtercaps end up having a signed=(string)true field,
2113 which causes problems later when intersection caps.
2115 * tests/check/gst/gststructure.c: (GST_START_TEST):
2116 Add a unit test for this.
2118 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
2120 Reviewed by: Stefan Kost <ensonic@users.sf.net>
2122 * libs/gst/controller/Makefile.am:
2123 * libs/gst/controller/gstcontroller.c:
2124 (gst_controlled_property_add_interpolation_control_source),
2125 (gst_controlled_property_new), (gst_controlled_property_free),
2126 (gst_controller_find_controlled_property),
2127 (gst_controller_new_valist), (gst_controller_new_list),
2128 (gst_controller_new), (gst_controller_remove_properties_valist),
2129 (gst_controller_remove_properties_list),
2130 (gst_controller_remove_properties),
2131 (gst_controller_set_property_disabled),
2132 (gst_controller_set_disabled), (gst_controller_set_control_source),
2133 (gst_controller_get_control_source), (gst_controller_get),
2134 (gst_controller_sync_values), (gst_controller_get_value_array),
2135 (_gst_controller_dispose), (gst_controller_get_type),
2136 (gst_controlled_property_set_interpolation_mode),
2137 (gst_controller_set), (gst_controller_set_from_list),
2138 (gst_controller_unset), (gst_controller_unset_all),
2139 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
2140 * libs/gst/controller/gstcontroller.h:
2141 * libs/gst/controller/gstcontrollerprivate.h:
2142 * libs/gst/controller/gstcontrolsource.c:
2143 (gst_control_source_class_init), (gst_control_source_init),
2144 (gst_control_source_get_value),
2145 (gst_control_source_get_value_array), (gst_control_source_bind):
2146 * libs/gst/controller/gstcontrolsource.h:
2147 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
2148 (gst_object_get_control_source):
2149 * libs/gst/controller/gstinterpolation.c:
2150 (gst_interpolation_control_source_find_control_point_node),
2151 (gst_interpolation_control_source_get_first_value),
2152 (_interpolate_none_get), (interpolate_none_get),
2153 (interpolate_none_get_boolean_value_array),
2154 (interpolate_none_get_enum_value_array),
2155 (interpolate_none_get_string_value_array),
2156 (_interpolate_trigger_get), (interpolate_trigger_get),
2157 (interpolate_trigger_get_boolean_value_array),
2158 (interpolate_trigger_get_enum_value_array),
2159 (interpolate_trigger_get_string_value_array):
2160 * libs/gst/controller/gstinterpolationcontrolsource.c:
2161 (gst_control_point_free), (gst_interpolation_control_source_reset),
2162 (gst_interpolation_control_source_new),
2163 (gst_interpolation_control_source_set_interpolation_mode),
2164 (gst_interpolation_control_source_bind),
2165 (gst_control_point_compare), (gst_control_point_find),
2166 (gst_interpolation_control_source_set_internal),
2167 (gst_interpolation_control_source_set),
2168 (gst_interpolation_control_source_set_from_list),
2169 (gst_interpolation_control_source_unset),
2170 (gst_interpolation_control_source_unset_all),
2171 (gst_interpolation_control_source_get_all),
2172 (gst_interpolation_control_source_get_count),
2173 (gst_interpolation_control_source_init),
2174 (gst_interpolation_control_source_finalize),
2175 (gst_interpolation_control_source_dispose),
2176 (gst_interpolation_control_source_class_init):
2177 * libs/gst/controller/gstinterpolationcontrolsource.h:
2178 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
2179 API: Refactor GstController into the core controller which can take
2180 a GstControlSource for providing actual values for timestamps.
2181 Implement a interpolation control source and use this for backward
2182 compatibility, deprecate a bunch of functions that are now handled
2183 by GstControlSource or GstInterpolationControlSource.
2184 Make it possible to disable the controller completely or only for
2185 specific properties. Fixes #450711.
2186 * docs/libs/gstreamer-libs-docs.sgml:
2187 * docs/libs/gstreamer-libs-sections.txt:
2188 * docs/libs/gstreamer-libs.types:
2189 Add new functions and classes to the docs.
2190 * tests/check/libs/controller.c: (GST_START_TEST),
2191 (gst_controller_suite):
2192 * tests/examples/controller/audio-example.c: (main):
2193 Port unit test and example to the new API and add some new
2196 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
2198 Patch by: Mark Nauwelaerts <manauw at skynet be>
2200 * plugins/elements/gstmultiqueue.c:
2201 (gst_multi_queue_get_internal_links), (apply_buffer),
2202 (single_queue_overrun_cb), (gst_single_queue_new):
2203 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
2204 the pipeline layout can be tracked correctly. Fixes #453732.
2206 2007-07-05 Stefan Kost <ensonic@users.sf.net>
2208 * docs/gst/Makefile.am:
2209 * docs/libs/Makefile.am:
2210 * docs/plugins/Makefile.am:
2211 Simplify --extra-dir as gtkdoc scans recursively.
2213 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
2215 * tools/gst-launch.c: (main):
2216 When we got an error, there is no point in waiting for preroll when
2219 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
2221 * plugins/elements/gsttee.c: (gst_tee_base_init),
2222 (gst_tee_request_new_pad), (gst_tee_release_pad),
2223 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
2224 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
2226 Be a lot smarter when deciding what srcpad to use for proxying
2227 the buffer_alloc. Also handle pad added/removed when doing so.
2229 Keep track of what pads we already pushed on in case we have pads
2230 added/removed while pushing. Fixes #374639
2232 * tests/check/Makefile.am:
2233 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
2235 Added unit test for pad resync.
2237 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
2241 Updated translations.
2243 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
2245 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
2249 Added new Finnish translation.
2251 2007-06-28 Wim Taymans <wim@fluendo.com>
2253 * plugins/elements/gstmultiqueue.c: (apply_buffer),
2254 (single_queue_overrun_cb):
2255 When figuring out when a queue is filled, use our internal time estimate
2256 based on segments, just like check_full does.
2258 2007-06-27 Stefan Kost <ensonic@users.sf.net>
2260 * gst/gstminiobject.c: (gst_mini_object_get_type):
2261 Remove 3 do-nothing methods.
2263 2007-06-27 Wim Taymans <wim@fluendo.com>
2265 Patch by: Tim Angus <tim at ngus dot net>
2267 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
2268 (gst_capsfilter_set_property):
2269 Take a reference instead of a copy when setting "caps".
2270 Fix documentation to clarify this behaviour. Fixes #449414.
2272 2007-06-27 Stefan Kost <ensonic@users.sf.net>
2274 * gst/gstindexfactory.c: (gst_index_factory_get_type):
2275 * gst/gstplugin.c: (gst_plugin_init):
2276 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
2277 * gst/gstquery.c: (gst_query_get_type):
2278 * gst/gstregistry.c: (gst_registry_init):
2279 * gst/gsturi.c: (gst_uri_handler_base_init):
2280 Remove empty instance_init() functions to save relocs and lessen the
2281 noise. Remove some of the function prototypes that are doubled by
2284 2007-06-27 Wim Taymans <wim@fluendo.com>
2286 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
2288 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
2289 Add peer and direction in the XML serialisation of ghostpads.
2292 2007-06-26 Stefan Kost <ensonic@users.sf.net>
2295 Preserve useful information, thanks Tim.
2297 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
2299 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
2300 (gst_single_queue_flush), (apply_segment), (apply_buffer),
2301 (gst_single_queue_push_one), (gst_multi_queue_loop),
2302 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2303 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
2304 (compute_high_id), (gst_single_queue_new):
2305 * plugins/elements/gstmultiqueue.h:
2306 Take the multiqueue lock when updating the fill level so we don't get
2309 After applying a buffer or event on the src pad segment, make sure to
2310 call gst_data_queue_limits_changed() to get the data queue to unblock
2311 and check the filled state again.
2313 Rework the not-linked pad handling so the logic is that not-linked
2314 pads can push as fast as they like, but only so they never get
2315 ahead of any linked pads.
2317 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
2318 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
2319 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
2321 Add a test to check that not-linked pads always stay behind
2326 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
2328 * docs/random/release:
2329 Some updates to the release procedure.
2331 2007-06-26 Stefan Kost <ensonic@users.sf.net>
2333 * gst/gstelementfactory.c: (__gst_element_details_clear):
2334 Microoptimization that saves stunning 80 bytes.
2336 2007-06-25 Stefan Kost <ensonic@users.sf.net>
2338 * docs/plugins/gstreamer-plugins.args:
2339 * docs/plugins/inspect/plugin-coreelements.xml:
2340 * docs/plugins/inspect/plugin-coreindexers.xml:
2341 Update docs with caps info.
2343 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
2346 Updated Italian translation.
2348 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
2352 Update Vietnamese translations.
2354 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
2356 * libs/gst/base/gstbasesink.c:
2357 Remove unused signal enum.
2359 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
2361 * docs/gst/gstreamer-sections.txt:
2363 * gst/gstutils.c: (gst_type_register_static_full):
2364 Beef up and include the docs for gst_type_register_static_full and
2365 gst_element_class_set_details_simple and add the API keyword
2368 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
2370 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
2371 (update_time_level), (gst_single_queue_push_one),
2372 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
2373 (single_queue_overrun_cb), (single_queue_underrun_cb),
2374 (single_queue_check_full):
2375 Fix setting max-* properties after adding queues.
2376 Use IS_FILLED for checking visible items.
2377 Signal overrun if multiple queues overrun.
2378 Add extra debug output.
2379 Patch by: Wim Taymans <wim@fluendo.com>
2381 2007-06-21 Stefan Kost <ensonic@users.sf.net>
2383 * gst/gstelement.c: (gst_element_class_set_details_simple):
2385 * gst/gstutils.c: (gst_type_register_static_full):
2387 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
2388 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
2389 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
2390 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
2391 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
2392 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
2393 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
2394 * plugins/elements/gstidentity.c: (gst_identity_base_init):
2395 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
2396 * plugins/elements/gstqueue.c: (gst_queue_base_init),
2397 (apply_buffer), (gst_queue_chain):
2398 * plugins/elements/gsttee.c: (gst_tee_base_init):
2399 * plugins/elements/gsttypefindelement.c:
2400 (gst_type_find_element_base_init),
2401 (gst_type_find_element_class_init):
2402 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
2403 API: add gst_type_register_static_full
2404 API: add gst_element_class_set_details_simple
2406 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
2408 * docs/pwg/advanced-types.xml:
2409 Fix typo in iana.org URI.
2411 2007-06-19 Andy Wingo <wingo@pobox.com>
2413 * tests/check/pipelines/simple-launch-lines.c
2414 (test_state_change_returns): Enable pull-mode tests now that
2415 basesink has been fixed.
2417 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
2418 Changed from gst_base_sink_is_prerolled, reversing the sense of
2419 the return value. Returns FALSE also if the sink is in pull mode,
2420 in which case it needs no preroll.
2421 (gst_base_sink_query, gst_base_sink_change_state): Update for
2422 needs_preroll change.
2423 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
2424 chaining up, in which we return SUCCESS directly if we activated
2425 in pull mode instead of ASYNC. Involves countering an async_start
2426 message sent before chaining up; not sure if this is correct, in
2427 an ideal world we only send async-start when activating in push
2430 * tests/check/pipelines/simple-launch-lines.c
2431 (test_state_change_returns): New test, partially disabled until
2434 2007-06-19 Wim Taymans <wim@fluendo.com>
2436 * plugins/elements/gstmultiqueue.c: (apply_buffer),
2437 (gst_multi_queue_sink_event):
2440 2007-06-19 Wim Taymans <wim@fluendo.com>
2442 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
2443 (gst_bin_change_state_func), (bin_push_state_continue),
2444 (bin_handle_async_start), (bin_handle_async_done),
2445 (gst_bin_handle_message_func):
2446 Move the common code for posting state-change messages into
2448 Broadcast the state signal after we posted the messages.
2449 Mark the bin as busy when it's doing a state-change.
2450 Make sure async-start/done messages don't interfere with the bin's
2451 state when it's busy.
2452 After the state change, let the bin check which elements completed the
2453 state change while it was busy so that it can update its state.
2455 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
2457 * docs/random/release:
2458 Add a note about updating the doap file to the release checklist
2460 2007-06-18 Wim Taymans <wim@fluendo.com>
2462 * plugins/elements/gstmultiqueue.c: (apply_buffer),
2463 (gst_single_queue_push_one), (gst_multi_queue_chain),
2464 (gst_multi_queue_sink_event):
2465 Make sure we don't reference the buffer/event after we have given away
2466 ownership in the queue.
2468 2007-06-18 Wim Taymans <wim@fluendo.com>
2470 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
2471 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
2472 Update queue state _after_ adding the item in the queue because else we
2473 could end up being full without the element added yet.
2475 2007-06-18 Wim Taymans <wim@fluendo.com>
2477 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
2478 (gst_bin_remove_func), (gst_bin_get_state_func),
2479 (gst_bin_element_set_state), (gst_bin_continue_func),
2480 (bin_push_state_continue), (bin_handle_async_start),
2481 (bin_handle_async_done), (gst_bin_handle_message_func):
2483 Immediatly commit the toplevel bin state when receiving an async-done
2484 message. This enables us to avoid spawning a thread to commit the state
2485 in some common cases and it also avoids some races.
2486 Avoid spawning a state thread when adding/removing async elements to a
2487 toplevel bin. Instead we immediatly update the bin state.
2488 Get rid of iterating all the children when getting the state in the bin
2489 because it is now always up-to-date.
2490 Fix bug where locked elements would always return _SUCCESS even it they
2491 returned NO_PREROLL before being locked.
2492 Fix the order of the state_change, async-start/done messages that was
2493 sometimes incorrect.
2494 Mark the state_dirty field as deprecated, we don't need it anymore as we
2495 are always up-to-date.
2497 * gst/gstelement.c: (gst_element_get_state_func),
2498 (gst_element_continue_state):
2499 Small debug inprovements.
2500 Return the previous element state return when nothing is pending instead
2501 of blindly returning SUCCESS.
2503 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
2505 Add a whole bunch of new testcases.
2507 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
2511 Update translations.
2513 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
2516 Fix typo in the docs.
2518 2007-06-15 Wim Taymans <wim@fluendo.com>
2520 * docs/libs/gstreamer-libs-sections.txt:
2521 Add docs for new methods.
2523 2007-06-15 Wim Taymans <wim@fluendo.com>
2525 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
2526 (gst_multi_queue_item_new):
2527 Don't use GSlice because we don't depend on >= 2.10 yet.
2529 2007-06-15 Wim Taymans <wim@fluendo.com>
2531 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
2532 (update_time_level), (apply_segment), (apply_buffer),
2533 (gst_single_queue_push_one), (gst_multi_queue_item_new),
2534 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
2535 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
2536 (single_queue_underrun_cb), (single_queue_check_full):
2537 Remove debug printf.
2539 2007-06-15 Wim Taymans <wim@fluendo.com>
2541 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
2542 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
2543 (gst_data_queue_set_flushing), (gst_data_queue_push),
2544 (gst_data_queue_pop), (gst_data_queue_drop_head),
2545 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
2546 * libs/gst/base/gstdataqueue.h:
2548 Added methods to get the current levels and to inform the queue that the
2549 'full' limits changed.
2551 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
2552 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
2553 (gst_single_queue_flush), (update_time_level), (apply_segment),
2554 (apply_buffer), (gst_single_queue_push_one),
2555 (gst_multi_queue_item_steal_object),
2556 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
2557 (gst_multi_queue_loop), (gst_multi_queue_chain),
2558 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2559 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
2560 (gst_multi_queue_src_query), (single_queue_overrun_cb),
2561 (single_queue_underrun_cb), (single_queue_check_full),
2562 (gst_single_queue_new):
2563 Keep track of time in the queue by measuring the difference between
2564 running_time on input and output. This gives more accurate results and
2565 can compensate for segments correctly.
2566 Make a queue by default only 5 buffers deep. We will now increase the
2567 buffer size depending on the filledness of the other queues.
2568 Factor out commong flush code.
2569 Make sure we don't add additional refcounts to buffers when we can avoid
2571 Propagate GstFlowReturn differently.
2572 Use GSlice for intermediate GstMultiQueueItems.
2574 Resize queues on over and underruns based on filled level of other
2576 When checking if the queue is filled, prefer to measure in time if we
2577 can and fall back to bytes when no time is known.
2579 * plugins/elements/gstqueue.c:
2582 2007-06-15 Wim Taymans <wim@fluendo.com>
2584 * libs/gst/base/gstbasetransform.c:
2585 (gst_base_transform_sink_event):
2586 Work around the brokenness of the event vmethod in basetransform. Prefer
2587 to return TRUE when the subclass returned FALSE (meaning don't forward
2590 * libs/gst/base/gstbasetransform.h:
2593 2007-06-15 Wim Taymans <wim@fluendo.com>
2595 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
2596 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
2597 (gst_base_src_default_query), (gst_base_src_get_range),
2598 (gst_base_src_start):
2599 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
2602 2007-06-15 Stefan Kost <ensonic@users.sf.net>
2604 * docs/pwg/advanced-types.xml:
2605 Added more formats to caps table.
2607 2007-06-15 Stefan Kost <ensonic@users.sf.net>
2609 * tools/gst-launch.c: (main):
2610 Remove crufy code. GOption does not need this workaround.
2612 2007-06-14 Stefan Kost <ensonic@users.sf.net>
2614 * libs/gst/controller/gstcontroller.c:
2615 (gst_controlled_property_set_interpolation_mode):
2616 Fix wrong getter for enums in controller.
2618 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
2620 * libs/gst/check/gstcheck.c: (gst_check_init):
2621 Intercept criticals and warnings in the Gst-Phonon log domain, so
2622 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
2625 2007-06-14 Edward Hervey <edward@fluendo.com>
2627 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
2628 Since this file doesn't include "gst.h" it will not go through the
2629 macros that disable GST_LOG if debugging was disabled.
2631 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
2633 * libs/gst/check/Makefile.am:
2634 * libs/gst/check/gstcheck.h:
2635 * pkgconfig/gstreamer-check-uninstalled.pc.in:
2636 * pkgconfig/gstreamer-check.pc.in:
2637 Ugly 'fix' for the controller unit test on the p5 bot: in
2638 fail_unless_equals_float() check whether the values are 'almost
2639 equal' by allowing a small absolute error, which should be good
2640 enough for our use cases (normal numbers and values close to 0).
2641 Proper fixage left to floating point arithmetic aficionados.
2643 2007-06-14 Stefan Kost <ensonic@users.sf.net>
2645 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
2646 (gst_base_sink_render_object), (gst_base_sink_get_position):
2647 Add two breaks thats where missing.
2649 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
2651 * docs/libs/gstreamer-libs-sections.txt:
2652 * libs/gst/check/gstcheck.h:
2653 API: add fail_unless_equals_float() and assert_equals_float().
2654 Add documentation for some of the macros.
2656 * tests/check/libs/controller.c: (GST_START_TEST):
2657 Use newly-added asserts.
2659 2007-06-14 Stefan Kost <ensonic@users.sf.net>
2661 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
2662 Show the caps change in the log to help spotting the case of not
2663 exactly matching caps.
2665 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
2667 * docs/pwg/building-boiler.xml:
2668 Fix typos, spotted by Thijs Vermeir (#447190).
2670 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
2672 * docs/plugins/tmpl/.cvsignore:
2673 Ignore file to keep the buildbots happy
2675 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
2677 * docs/plugins/Makefile.am:
2678 * docs/plugins/gstreamer-plugins-docs.sgml:
2679 * docs/plugins/gstreamer-plugins-sections.txt:
2680 Pull fdsink into the docs too.
2682 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
2684 * libs/gst/controller/gstinterpolation.c:
2685 Actually use the new functions with min/max checks for the trigger and
2686 none interpolation modes for get() and get_value_array() instead of
2689 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
2691 * libs/gst/controller/gstcontroller.c:
2692 (gst_controlled_property_free):
2693 Unset the minimum and maximum GValues when freeing the corresponding
2694 GstControllerProperty struct.
2696 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
2698 * libs/gst/controller/gstcontroller.c:
2699 (gst_controlled_property_new):
2700 * libs/gst/controller/gstcontrollerprivate.h:
2701 * libs/gst/controller/gstinterpolation.c:
2702 (gst_controlled_property_find_control_point_node),
2703 (interpolate_none_get), (interpolate_none_get_enum_value_array),
2704 (interpolate_none_get_string_value_array),
2705 (interpolate_trigger_get),
2706 (interpolate_trigger_get_enum_value_array),
2707 (interpolate_trigger_get_string_value_array):
2708 Protect against values larger or smaller than the minimum or maximum
2709 allowed value for the property when using values that can be compared.
2711 Optimize trigger interpolator a bit by taking the last requested value
2712 into account instead of always looping through the complete list.
2714 Fix coding style a bit, everywhere else we use "return foo" instead
2717 * tests/check/libs/controller.c: (GST_START_TEST),
2718 (gst_controller_suite):
2719 Add unit test for the protection against too large or too small
2722 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
2724 * docs/random/slomo/controller.txt:
2725 Add some thoughts about the future of the controller.
2727 2007-06-08 Wim Taymans <wim@fluendo.com>
2729 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
2730 Don't overflow in retimestamping code.
2732 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
2734 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
2735 Use gst_util_guint64_to_gdouble for conversions.
2736 * win32/common/libgstreamer.def:
2737 Add new exported functions.
2739 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
2742 Small docs addition.
2744 2007-06-07 Stefan Kost <ensonic@users.sf.net>
2747 Remove that test line again.
2749 2007-06-07 Stefan Kost <ensonic@users.sf.net>
2752 Test commit mail sending.
2754 2007-06-07 Stefan Kost <ensonic@users.sf.net>
2757 Fix typo and test commit mail sending.
2759 2007-06-07 Stefan Kost <ensonic@users.sf.net>
2761 * tests/examples/controller/audio-example.c:
2762 Improve comment and test commit mail sending.
2764 2007-06-07 Wim Taymans <wim@fluendo.com>
2766 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
2767 (gst_bin_remove_func), (gst_bin_element_set_state),
2768 (bin_handle_async_start), (bin_handle_async_done),
2769 (gst_bin_handle_message_func):
2770 Add helper function to find messages.
2771 Generate the async-done messages together with the state change
2773 Small cleanups in handling toplevel bins.
2775 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
2777 * libs/gst/base/gstdataqueue.c:
2778 * libs/gst/base/gstdataqueue.h:
2779 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
2780 (gst_multi_queue_item_new), (gst_multi_queue_chain),
2781 (gst_multi_queue_sink_event):
2782 * tests/check/elements/multiqueue.c: (multiqueue_suite):
2783 Fix multiqueue leaking buffers and events when downstream or the
2784 queue are flushing. Make refcounting assumptions explicit and
2785 document them (shouldn't break existing code that uses it other than
2786 maybe leak miniobjects, but that already happens anyway). Add unit
2787 test for the most common flushing case. Fixes #423700.
2789 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
2791 * libs/gst/controller/gstcontroller.c:
2792 Clarify docs: The get_all, get_value_array(s) functions
2793 don't modify the GObject properties.
2795 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
2797 * libs/gst/controller/gstcontroller.c:
2798 (gst_controlled_property_set_interpolation_mode),
2799 (gst_controlled_property_prepend_default),
2800 (gst_controlled_property_new), (gst_controller_set_unlocked),
2801 (gst_controller_set), (gst_controller_set_from_list),
2802 (gst_controller_unset), (gst_controller_unset_all):
2803 * libs/gst/controller/gstcontrollerprivate.h:
2804 * libs/gst/controller/gstinterpolation.c:
2805 Factor out the 'set' logic into gst_controller_set_unlocked for the
2806 gst_controller_set and gst_controller_set_from_list functions.
2808 To make life of the interpolators easier always add a control point
2809 at timestamp zero with the default value.
2811 In the linear interpolator make things more obvious by better variable
2814 Implement cubic interpolation mode (by using a natural cubic spline)
2815 and map the quadratic interpolation mode to this too (as quadratic
2816 doesn't make much sense, see discussion on the list).
2818 * tests/check/libs/controller.c: (GST_START_TEST),
2819 (gst_controller_suite):
2820 Add unit test for the cubic interpolation mode and check everywhere
2821 if the interpolation mode could be set as expected.
2823 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
2825 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
2826 Don't use GLib-2.10 functions, we still depend on
2827 GLib-how-old-is-it-again-2.8.
2829 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
2831 * docs/gst/gstreamer-sections.txt:
2835 * gst/gstparamspecs.c: (_gst_param_fraction_init),
2836 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
2837 (_gst_param_fraction_values_cmp),
2838 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
2839 * gst/gstparamspecs.h:
2841 * tests/check/Makefile.am:
2842 * tests/check/gst/.cvsignore:
2843 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
2844 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
2845 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
2846 (GST_START_TEST), (gst_param_spec_suite):
2847 API: add GstParamSpecFraction, so elements can have fraction
2848 properties without lots of painful string parsing (#444648).
2850 2007-06-05 Wim Taymans <wim@fluendo.com>
2852 * gst/gstobject.c: (gst_object_class_init):
2853 Fix signal signature.
2856 Add small clarification in the api docs.
2858 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
2859 States are protected with object lock.
2861 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
2864 I should probably be listed as an author by now.
2866 * docs/random/release:
2867 Update the release doc
2869 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
2872 Make docs for gst_value_compare() mention return enums that
2875 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
2880 === release 0.10.13 ===
2882 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
2885 releasing 0.10.13, "With or without you"
2887 2007-05-25 Wim Taymans <wim@fluendo.com>
2889 * gst/gstbin.c: (bin_handle_async_done):
2890 Make sure that the child bin stops after completing the async state
2891 change so that the parent can continue the state change to PLAYING.
2894 2007-05-25 Wim Taymans <wim@fluendo.com>
2896 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
2897 (unref_data), (gst_collect_pads_remove_pad),
2898 (gst_collect_pads_check_pads):
2899 Use additional refcounting to avoid crashes when dynamically adding and
2900 removing pads. Fixes #420206.
2902 2007-05-24 Wim Taymans <wim@fluendo.com>
2904 * tools/gst-launch.c: (event_loop):
2905 When buffering goes from a two digit to a single digit number, make sure
2906 to remove the old second digit by writing a blank over it.
2908 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
2910 * libs/gst/base/gstdataqueue.c:
2911 Eliminate tabs and trailing comma in enum list; fix some typos.
2913 2007-05-24 Wim Taymans <wim@fluendo.com>
2915 * tests/check/gst/gstbin.c: (GST_START_TEST):
2916 Allow refcount of 3 and 4 because some state thread might still be busy
2919 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
2921 * plugins/elements/Makefile.am:
2922 * plugins/elements/gstmultiqueue.h:
2923 * plugins/elements/gstqueue.h:
2924 These are not installed headers, no need for padding.
2926 2007-05-24 Wim Taymans <wim@fluendo.com>
2928 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
2929 (gst_bin_continue_func):
2930 Enable latency for next release.
2931 Restore STATE_LOCK around recalc_state that was left out during the
2932 rewrite and could result in racy behaviour when _get_state and
2933 recalc_state are run concurrently. See #440463.
2935 2007-05-23 Wim Taymans <wim@fluendo.com>
2937 * tests/check/gst/gstsystemclock.c: (store_callback),
2939 Improve test_async_order to also work when both timers are already
2940 expired when we get scheduled to check it.
2942 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
2944 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
2945 (gst_bin_set_property), (gst_bin_get_property),
2946 (gst_bin_remove_func), (gst_bin_handle_message_func):
2948 'private' is a c++ keyword, let's not use that in header files,
2949 otherwise c++ compilers will throw a tantrum.
2951 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
2953 * plugins/elements/gstelements.c:
2954 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
2955 (gst_file_sink_get_current_offset):
2956 * plugins/indexers/gstindexers.c: (plugin_init):
2957 Use #ifdef for HAVE_XYZ for consistency.
2959 * tests/check/Makefile.am:
2960 * tests/check/elements/.cvsignore:
2961 * tests/check/elements/filesink.c: (setup_filesink),
2962 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
2963 Add some unit tests for filesink.
2965 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
2967 Patch by: Mark Nauwelaerts <manauw at skynet be>
2969 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
2970 (gst_file_sink_query), (gst_file_sink_do_seek),
2971 (gst_file_sink_get_current_offset), (gst_file_sink_render):
2972 * plugins/elements/gstfilesink.h:
2973 Fix position reporting; rename data_written member to current_pos to
2974 reflect its real meaning (fixes #412648).
2976 2007-05-22 Edward Hervey <edward@fluendo.com>
2978 * docs/gst/gstreamer-sections.txt:
2979 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2980 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
2981 (gst_bin_remove_func), (gst_bin_handle_message_func):
2983 Add a property for bins that handle the state change of their childs.
2986 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2988 * libs/gst/controller/gstinterpolation.c:
2989 Use an array of the correct type when using _get_value_array with
2990 linear interpolation.
2992 2007-05-22 Stefan Kost <ensonic@users.sf.net>
2994 * gst/gstelement.c (gst_element_requires_clock,
2995 gst_element_provides_clock, gst_element_request_pad,
2996 gst_element_class_set_details, gst_element_class_set_details_simple,
2997 gst_element_default_send_event, gst_element_abort_state,
2998 gst_element_continue_state, gst_element_set_state,
2999 gst_element_set_state_func, iterator_activate_fold_with_resync):
3000 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
3001 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
3002 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
3003 gst_pad_get_range, gst_pad_pull_range):
3004 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
3005 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
3006 GstPadActivateModeFunction, GstPadChainFunction,
3007 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
3008 GstPadFixateCapsFunction, GstPadTemplate):
3009 * gst/gstpipeline.c (gst_pipeline_change_state,
3010 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
3011 gst_pipeline_set_clock, gst_pipeline_auto_clock,
3012 gst_pipeline_get_delay):
3013 Whitespace and docs fixes.
3015 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
3017 * libs/gst/controller/gstinterpolation.c:
3018 (interpolate_trigger_get_enum_value_array),
3019 (interpolate_trigger_get_string_value_array):
3020 Add support for retrieving value arrays when using the trigger
3023 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
3025 * libs/gst/controller/gstcontroller.c:
3026 (gst_controller_get_value_array):
3027 * libs/gst/controller/gstcontroller.h:
3028 Clarify the docs of gst_controller_get_value_array(): The array where
3029 the values should be written to must be allocated as there seems to be
3030 no way to get the size of a random GType. This doesn't change any
3031 behaviour. Also fix some typos all over the place and remove an unused,
3032 commented function that is not necessary as g_object_set() could be
3034 * tests/check/libs/controller.c: (GST_START_TEST),
3035 (gst_controller_suite):
3036 Add unit test for gst_controller_get_value_array().
3038 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
3040 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
3042 Disable part of the gst_buffer_try_new_and_alloc test, because
3043 it can happily succeed on 64-bit systems where there's more address
3046 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
3048 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
3049 Add unit test for the improved caps checking from bug #421543.
3051 2007-05-21 Wim Taymans <wim@fluendo.com>
3053 * docs/design/part-synchronisation.txt:
3056 * gst/gstbin.c: (gst_bin_query):
3057 * plugins/elements/gstqueue.c: (apply_segment):
3063 2007-05-21 Wim Taymans <wim@fluendo.com>
3065 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
3066 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
3067 (gst_pad_configure_src):
3068 Added simple version of improved caps checking. It was previously
3069 assumed that a setcaps function would check the validity of the caps but
3070 people prefer us to check caps against the template automatically.
3073 2007-05-21 Wim Taymans <wim@fluendo.com>
3075 * libs/gst/base/gstbasetransform.h:
3076 Fix macro for locking/unlocking the transform lock.
3078 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
3080 * docs/plugins/tmpl/.cvsignore:
3083 2007-05-18 Edward Hervey <edward@fluendo.com>
3085 * plugins/elements/gstqueue.c: (gst_queue_loop):
3086 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
3087 for the subtle art of warning a potentially blocking thread that it
3088 should check the source pad return value, and relay the information
3091 2007-05-18 Edward Hervey <edward@fluendo.com>
3093 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
3094 Release the queue lock !
3096 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
3098 * docs/libs/gstreamer-libs-sections.txt:
3099 Add the two new controller functions to the appropiate places.
3101 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
3103 reviewed by: Stefan Kost <ensonic@users.sf.net>
3105 * libs/gst/controller/gstcontroller.c:
3106 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
3107 (_gst_controller_get_property), (_gst_controller_set_property),
3108 (_gst_controller_init), (_gst_controller_class_init):
3109 * libs/gst/controller/gstcontroller.h:
3110 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
3111 (gst_object_get_control_rate), (gst_object_set_control_rate):
3112 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
3113 Add API that provides sync suggestion timestamps for elements that
3114 call gst_object_sync_values() from which those elements can subdivide
3115 their processing loop to get the best results for the controlled
3116 properties. For now it just suggests last_sync + control_rate as
3117 new timestamp but this will be improved in the future.
3119 While doing that change the control-rate property to a GstClockTime
3120 from guint and change it's meaning from samples to nanoseconds as
3121 the GstController doesn't know anything about sampling rate. Strictly
3122 speaking this breaks ABI but as the control-rate property didn't do
3123 anything in the past and as such couldn't be used this should be no
3126 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
3128 reviewed by: Stefan Kost <ensonic@users.sf.net>
3130 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
3131 (gst_controller_unset_all):
3132 * libs/gst/controller/gstcontrollerprivate.h:
3133 * libs/gst/controller/gstinterpolation.c:
3134 (gst_controlled_property_find_control_point_node):
3135 Save last synced value from the list to continue searching from there
3136 in future syncs. This speeds everything up a bit.
3138 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
3140 reviewed by: Stefan Kost <ensonic@users.sf.net>
3142 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
3143 (gst_control_point_find), (gst_controlled_property_new),
3144 (gst_control_point_free), (gst_controlled_property_free),
3145 (gst_controller_set), (gst_controller_set_from_list),
3146 (gst_controller_unset), (gst_controller_unset_all),
3147 (gst_controller_sync_values):
3148 * libs/gst/controller/gstcontroller.h:
3149 * libs/gst/controller/gstcontrollerprivate.h:
3150 * libs/gst/controller/gstinterpolation.c:
3151 (gst_controlled_property_find_control_point_node),
3152 (interpolate_none_get), (interpolate_trigger_get):
3153 Add a new private GstControlPoint struct which "inherits" from
3154 GstTimedValue to allow different interpolators to store internal
3155 values next to each control point. From the outside everything is
3156 still a GstControlPoint so we don't loose binary compatibility.
3157 Also fixup all the GValue handling to not leak GValues or list nodes.
3158 * tests/check/libs/controller.c: (GST_START_TEST):
3159 Free the list nodes and GValues in the controller_misc test.
3161 2007-05-17 Edward Hervey <edward@fluendo.com>
3166 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
3168 * gst/gstplugin.c: (gst_plugin_load_file):
3169 If we fail to load a plugin because of unresolved symbols or missing
3170 libraries and spew a warning to stderr, we may just as well mention
3171 which plugin it was that failed to load.
3173 2007-05-13 David Schleef <ds@schleef.org>
3175 * docs/Makefile.am: the gtk-doc makefile snippet correctly
3176 handles the case when ENABLE_GTK_DOC is false, and installs
3177 the prebuilt documentation. So gtk-doc subdirs are
3178 unconditionally enabled. Fixes: #349099.
3180 2007-05-13 David Schleef <ds@schleef.org>
3182 * gst/gstutils.h: Reword some documentation.
3184 2007-05-12 David Schleef <ds@schleef.org>
3186 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
3187 do anything with the passed "module" parameter, so remove it.
3188 Allows removal of additional vestigal code.
3190 2007-05-12 David Schleef <ds@schleef.org>
3193 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
3194 Switch to using g_stat() because it's more portable.
3196 2007-05-12 David Schleef <ds@schleef.org>
3199 Add GST_DISABLE_OPTION_PARSING, in order to disable option
3200 parsing for embedded systems.
3201 * gst/gstelementfactory.c:
3202 Allow gst_element_register() to be called with plugin==NULL.
3203 Did nobody notice that static elements were broken?
3205 2007-05-12 Wim Taymans <wim@fluendo.com>
3207 * tools/gst-launch.c: (event_loop):
3208 Give more interesting info when buffering starts and stops.
3209 Fix case where buffering starts but we fail to update the buffering flag
3210 because the target state is not PLAYING.
3212 2007-05-12 Wim Taymans <wim@fluendo.com>
3214 * plugins/elements/gstqueue.c: (gst_queue_init),
3215 (gst_queue_finalize), (update_time_level), (apply_segment),
3216 (apply_buffer), (gst_queue_locked_flush),
3217 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
3218 (gst_queue_handle_sink_event), (gst_queue_chain),
3219 (gst_queue_push_one), (gst_queue_loop):
3220 * plugins/elements/gstqueue.h:
3221 Refactor an cleanup queue a bit.
3222 Do better time level calculations that also work when the srcpad is not
3224 Remove some unneeded debug lines.
3226 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
3227 Added testcase for time level measurement.
3228 Try to make some stuff more racefree.
3230 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
3232 * gst/gsturi.c: (gst_element_make_from_uri):
3233 Don't leak plugin feature.
3235 * tests/check/Makefile.am:
3236 * tests/check/gst/.cvsignore:
3237 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
3238 Add brain-dead unit test.
3240 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
3242 Patch by: Jeroen Wouters <woutersj at gmail com>
3244 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
3245 Treat protocol strings in a case-insensitive way (#437563).
3247 2007-05-11 Michael Smith <msmith@fluendo.com>
3249 * gst/gstplugin.c: (gst_plugin_load_file):
3250 * gst/gstregistry.c: (gst_registry_scan_path_level):
3251 Don't print a g_warning for any failure to load a shared object.
3252 Instead, push this down into gstplugin.c, and warn _only_ if we
3253 failed to open the module (i.e. failure to link).
3254 Avoids warnings on normal, working, non-plugin .so files.
3256 2007-05-11 Stefan Kost <ensonic@users.sf.net>
3258 * gst/gstplugin.c (gst_plugin_load_file):
3259 * gst/gstregistry.c (GST_CAT_DEFAULT,
3260 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
3261 Print a g_warning if there was an error when loading a plugins during
3262 registry scan. The shuld help beginners starting with gst-plugin
3265 2007-05-10 Wim Taymans <wim@fluendo.com>
3267 * plugins/elements/gstqueue.c: (gst_queue_class_init),
3268 (update_time_level), (gst_queue_locked_flush),
3269 (gst_queue_handle_sink_event), (gst_queue_chain),
3270 (gst_queue_push_one), (gst_queue_loop):
3271 * plugins/elements/gstqueue.h:
3272 Be smarter when calculating the current amount of data in the queue by
3273 measuring the difference between start and end timestamps (in running
3274 time) inside the queue. Fixes #432876.
3275 API: GstQueue::pushing to notify elements that we are pushing data again
3276 since the running signal is rather broken for this purpose.
3278 2007-05-10 Stefan Kost <ensonic@users.sf.net>
3280 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
3281 gst_queue_base_init, gst_queue_init):
3284 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
3286 * win32/common/libgstreamer.def:
3287 Add new exported functions.
3288 * win32/vs6/grammar.dsp:
3289 Use grammar pre-generated files.
3291 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
3293 Based on patch by: Peter Kjellerstedt <pkj at axis com>
3296 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
3298 * gst/gstutils.c: (gst_parse_bin_from_description):
3300 Maintain API and ABI when --disable-parse is used. Now that
3301 we have an appropriate error code, we can just return NULL and the
3302 appropriate error when gst_parse_launch() is used despite it having
3303 been disabled (#342564).
3305 * tests/check/Makefile.am:
3306 * tests/check/pipelines/.cvsignore:
3307 * tests/check/pipelines/parse-disabled.c:
3308 Make sure these functions exist and return NULL plus a GError when
3309 --disable-parse is used.
3311 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
3313 * tests/benchmarks/complexity.c: (main):
3314 * tests/benchmarks/mass-elements.c: (main):
3315 Set a good example and don't leak messages.
3317 2007-05-06 Stefan Kost <ensonic@users.sf.net>
3319 * docs/gst/Makefile.am:
3320 * docs/libs/Makefile.am:
3321 Correct fixxrefs options.
3323 * docs/plugins/Makefile.am:
3324 * docs/plugins/gstreamer-plugins-docs.sgml:
3325 * docs/plugins/gstreamer-plugins-sections.txt:
3326 * plugins/elements/Makefile.am:
3327 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
3328 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
3329 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
3330 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
3331 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
3332 _GstCapsFilterClass, trans_class):
3333 * plugins/elements/gstelements.c (name, rank, type, _elements):
3334 * plugins/elements/gstidentity.c
3335 (gst_identity_check_imperfect_timestamp,
3336 gst_identity_check_imperfect_offset):
3337 Document capsfilter and add doc-blurb to identity.
3339 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
3341 * libs/gst/controller/gstcontroller.c:
3342 (gst_controlled_property_set_interpolation_mode):
3343 * libs/gst/controller/gstinterpolation.c:
3344 Don't crash if someone tries to set an interpolation mode that
3345 is invalid or that isn't supported yet. Fixes #422295.
3347 * tests/check/libs/controller.c: (GST_START_TEST),
3348 (gst_controller_suite):
3349 Add a test case for the above.
3351 2007-05-03 Edward Hervey <edward@fluendo.com>
3353 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
3354 Properly set the last_stop position on GstSegment. This will only happen
3355 if there is a buffer to push out.
3357 2007-05-03 Wim Taymans <wim@fluendo.com>
3359 * libs/gst/base/gstbasetransform.c:
3360 (gst_base_transform_buffer_alloc):
3361 always_in_place does not mean that the sink and source caps are the
3362 same! Make sure we don't blindly proxy the buffer_alloc in this case.
3364 2007-05-03 Wim Taymans <wim@fluendo.com>
3366 * docs/libs/gstreamer-libs-sections.txt:
3367 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
3368 (gst_base_src_default_query), (gst_base_src_get_range):
3369 * libs/gst/base/gstbasesrc.h:
3370 API: gst_base_src_query_latency(). Added method so that subclasses can
3371 easily get the latency values of the base source class.
3373 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
3375 * tools/gst-inspect.c (print_implementation_info):
3378 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
3380 * tools/Makefile.am:
3381 * tools/gst-launch.1.in:
3382 Don't create a customised man page based on the host architecture,
3383 describe the default registry path generically. That way the man
3384 page is the same for all architectures and packagers have one
3385 multilib issue less to deal with. Fixes #434926.
3387 2007-05-02 Wim Taymans <wim@fluendo.com>
3390 Fix documentation as spotted by rg on IRC.
3392 2007-04-29 Stefan Kost <ensonic@users.sf.net>
3395 Improve docs for gst_element_{link,unlink}.
3397 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
3399 * docs/design/part-events.txt:
3400 * docs/design/part-overview.txt:
3404 * libs/gst/base/gstbasesink.c:
3405 Typo fixes; minor docs addition.
3407 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
3409 * docs/gst/gstreamer-sections.txt:
3410 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
3411 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
3413 API: Add gst_uri_protocol_is_supported(), which checks if a sink
3414 or src that supports a given URI protocol exists.
3416 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
3418 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3419 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3420 Set the location to NULL if "file://" is set as URI. Otherwise
3421 some random previous URI would still be set if "file://" is
3422 set on an already used filesink/filesrc.
3424 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
3426 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3427 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3428 Special case the "file://" URI as as this is used by some
3429 applications to test with gst_element_make_from_uri if there's
3430 an element that supports the URI protocol.
3431 Also move the g_path_is_absolute() check for the location part
3432 of the URI to also check this for "file://localhost/bla" URIs.
3434 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
3436 * docs/gst/gstreamer-sections.txt:
3437 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
3439 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
3441 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
3443 2007-04-26 Stefan Kost <ensonic@users.sf.net>
3445 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
3446 (gst_registry_binary_load_pad_template),
3447 (gst_registry_binary_load_plugin),
3448 (gst_registry_binary_read_cache):
3449 * gst/gstregistrybinary.h:
3450 Implement no-mmap alternative for registry reading. Do code cleanups.
3451 Add more comments about avoiding strdups for all text data. Comments
3454 2007-04-25 Stefan Kost <ensonic@users.sf.net>
3456 * gst/gstregistrybinary.h (GstBinaryPluginElement,
3457 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
3458 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
3459 Comment structs and reformat to fix the build (that stuff should go
3460 into a priv. header).
3462 2007-04-25 Stefan Kost <ensonic@users.sf.net>
3464 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3465 (gst_registry_binary_load_feature):
3466 * gst/gstregistrybinary.h:
3467 Refactor so that we can implement multiple features. Add support for
3468 TypeFindFactory features.
3470 2007-04-24 Stefan Kost <ensonic@users.sf.net>
3472 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
3475 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
3477 2007-04-23 Stefan Kost <ensonic@users.sf.net>
3479 * gst/gstbin.c: (gst_bin_element_set_state),
3480 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
3481 (bin_handle_async_done), (gst_bin_handle_message_func):
3482 Fix build with --gst-disable-gst-debug
3484 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
3486 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
3487 Make sure streaming has finished before calling the ::stop() vfunc,
3488 since that vfunc might clear state which is being used in the
3489 streaming thread. This fixes a race that caused crashes in
3490 audioresample when shutting down a pipeline (#420106).
3492 2007-04-20 Stefan Kost <ensonic@users.sf.net>
3494 * docs/gst/gstreamer-sections.txt:
3495 That was one byte missing.
3497 2007-04-20 Stefan Kost <ensonic@users.sf.net>
3500 * docs/gst/gstreamer-sections.txt:
3502 * gst/gstconfig.h.in:
3503 * gst/gstobject.c: (gst_object_class_init),
3504 (gst_signal_object_class_init):
3506 2nd attempt to have a xml-less build as a joined effort of #413123
3509 2007-04-20 Stefan Kost <ensonic@users.sf.net>
3511 * docs/design/draft-tagreading.txt:
3512 Added open issues/thoughts to draft.
3514 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3516 * gst/parse/grammar.tab.pre.c:
3517 * gst/parse/grammar.tab.pre.h:
3518 * gst/parse/lex._gst_parse_yy.pre.c:
3519 Update the prebuild parser sources.
3521 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3523 * gst/parse/Makefile.am:
3524 And now fix the building of the flex sources. Now everything should
3527 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3529 * gst/parse/Makefile.am:
3530 Now hopefully fix the build failures by setting proper rule
3531 dependencies and moving instead of copying.
3533 2007-04-19 Stefan Kost <ensonic@users.sf.net>
3535 * tests/benchmarks/complexity.gnuplot:
3536 * tests/benchmarks/complexity.scm:
3537 * tests/benchmarks/mass-elements.gnuplot:
3538 * tests/benchmarks/mass-elements.scm:
3539 Total licensification.
3541 2007-04-19 Stefan Kost <ensonic@users.sf.net>
3543 * gst/parse/Makefile.am:
3544 Fix the build by correcting the rule that gave wrong files to flex.
3546 2007-04-19 Stefan Kost <ensonic@users.sf.net>
3548 * tests/benchmarks/complexity.c:
3549 * tests/benchmarks/mass-elements.c:
3550 Change licence to LGPL as granted by Benjamin and Andy.
3552 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3554 * gst/parse/Makefile.am:
3555 Add correct grammar.tab.h dependency if compiling without new enough
3556 flex. Fixes #431150.
3558 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
3560 * gst/parse/Makefile.am:
3561 Fix typo and use outdated sources if the flex/bison sources are newer
3562 than the pregenerated ones but flex is too old. Print a warning in
3563 that case. This should fix the build on the build bot.
3565 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
3567 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
3568 * gst/parse/Makefile.am:
3569 * gst/parse/grammar.y:
3570 * gst/parse/parse.l:
3571 Make the parser reentrant and recursively callable. This requires flex
3572 >= 2.5.31, for older versions pregenerated sources are used as we
3573 can't bump the build dependency. Finally fixes #349180.
3575 * gst/gstparse.c: (gst_parse_launch):
3576 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
3579 * docs/gst/Makefile.am:
3580 * docs/gst/Makefile.am:
3581 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
3582 (__gst_parse_strfree), (__gst_parse_link_new),
3583 (__gst_parse_link_free), (__gst_parse_chain_new),
3584 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
3585 (gst_parse_element_set), (gst_parse_free_link),
3586 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
3587 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
3588 (_gst_parse_launch):
3589 * gst/parse/grammar.tab.pre.h:
3590 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
3591 (yy_get_previous_state), (yy_try_NUL_trans), (input),
3592 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
3593 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
3594 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
3595 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
3596 (_gst_parse_yypop_buffer_state),
3597 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
3598 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
3599 (yy_fatal_error), (_gst_parse_yyget_extra),
3600 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
3601 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
3602 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
3603 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
3604 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
3605 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
3606 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
3607 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
3608 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
3609 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
3610 (_gst_parse_yyfree):
3611 If the installed flex version is too old use pre-generated parser
3612 sources. These pre-generated parser sources are always updated when
3613 the actual flex/bison sources change but require everybody who wants
3614 to change something in the parser to have flex >= 2.5.31 installed.
3616 2007-04-18 Stefan Kost <ensonic@users.sf.net>
3618 * common/m4/gst-gettext.m4:
3619 * gst/gst-i18n-lib.h:
3620 Make --disable-nls to work
3622 2007-04-17 Wim Taymans <wim@fluendo.com>
3624 * gst/gstconfig.h.in:
3625 Revert previous change that broke the build.
3627 2007-04-17 Stefan Kost <ensonic@users.sf.net>
3631 * gst/gstconfig.h.in:
3632 Drop libxml2 dependency when building with
3633 --enable-binary-registry --disable-loadsave
3635 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
3637 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
3638 (gst_registry_binary_read_cache):
3639 * gst/gstregistrybinary.h:
3640 Remove unnecessary <sys/mman.h> include which broke the win32 build
3641 with MingW; move includes from header file to .c file, even if the
3642 header file isn't installed; use g_strerror() where UTF-8 strings
3643 are expected, such as in GST_DEBUG messages.
3645 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
3647 * docs/libs/gstreamer-libs-sections.txt:
3648 Remove bogus addition for API I didn't end up keeping.
3650 * libs/gst/base/gstbasesrc.h:
3651 Mention Since: 0.10.13 in the documentation.
3653 Add the API keyword to the previous ChangeLog entry.
3655 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
3657 * docs/libs/gstreamer-libs-sections.txt:
3658 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3659 (gst_base_src_default_prepare_seek_segment),
3660 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
3661 * libs/gst/base/gstbasesrc.h:
3662 Allow basesrc derived classes to execute seeks in other formats
3663 by providing a prepare_seek_segment vmethod. Sub-classes can choose
3664 to prepare the GstSegment in any format that their perform_seek method
3665 will be able to understand. The default implementation provides the
3666 old behaviour of attempting to convert the seek offsets to the
3667 configured native format.
3669 API: basesrc::prepare_seek_segment vmethod.
3671 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
3673 * gst/gstelement.c: (gst_element_get_state_func):
3674 Don't output the same debug statement twice.
3676 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
3677 (gst_adapter_peek), (gst_adapter_take_buffer):
3678 Optimise the case where we have buffers at the head of the queue that
3679 can be joined quickly (because they're contiguous sub-buffers) by
3680 merging them together rather than copying data out into new memory.
3682 * gst/parse/grammar.y:
3683 * tests/check/pipelines/parse-launch.c:
3684 Fix a leak in an error path for parse_launch, and add a check
3685 for it to the testsuite.
3687 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
3689 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
3690 Don't deadlock when releasing a pad - gst_pad_set_active may try
3691 and take the multiqueue lock too.
3693 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
3695 * gst/gsterror.c: (_gst_core_errors_init):
3697 API: add GST_CORE_ERROR_DISABLED (#392804).
3699 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
3701 * docs/faq/gst-uninstalled:
3702 don't get empty paths on the PATH variables
3703 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
3704 Don't format for the uncommon terminal width of 84 characters.
3706 2007-04-06 Wim Taymans <wim@fluendo.com>
3708 * gst/gstpipeline.c: (reset_stream_time),
3709 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
3710 Only try to select a different pipeline clock when we went back to
3711 PAUSED and not when we merely got flushed.
3713 2007-04-05 Michael Smith <msmith@fluendo.com>
3715 * tools/gst-launch.1.in:
3716 fractions are better supported in gstreamer than ractions, so
3717 suggest using those.
3719 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
3721 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
3725 Added Danish translation.
3727 2007-04-05 Wim Taymans <wim@fluendo.com>
3729 * libs/gst/base/gstbasesink.c:
3730 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
3731 Fix leak caused when refusing newsegment after EOS.
3733 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
3734 (gst_fake_sink_init), (gst_fake_sink_set_property),
3735 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
3736 (gst_fake_sink_render), (gst_fake_sink_change_state):
3737 * plugins/elements/gstfakesink.h:
3738 Add num-buffers property to make the element generate EOS after a
3739 configurable amount of buffers.
3740 API: fakesink::num-buffers property.
3742 * tests/check/elements/fakesink.c: (GST_START_TEST),
3744 Fix GstBus leak in test.
3745 Test for fakesink num-buffers.
3747 2007-04-05 Wim Taymans <wim@fluendo.com>
3749 * libs/gst/base/gstbasesink.c:
3750 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
3751 (gst_base_sink_change_state):
3752 Don't accept anything after an EOS, return UNEXPECTED instead.
3754 * tests/check/elements/fakesink.c: (GST_START_TEST),
3756 Unit test for new EOS behaviour.
3758 2007-04-05 Wim Taymans <wim@fluendo.com>
3760 * gst/gstelement.c: (gst_element_get_request_pad):
3761 Make padtemplates also work when they don't contain %s or %d.
3763 2007-04-05 Wim Taymans <wim@fluendo.com>
3765 * docs/gst/gstreamer-sections.txt:
3766 * gst/gstclock.c: (gst_clock_adjust_unlocked),
3767 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
3769 Improve _adjust_unlocked() so that it overflows less.
3770 Add gst_clock_unadjust_unlocked to convert from external time to
3771 internal time based on calibration.
3772 Add some more debug.
3773 API: GstClock::gst_clock_unadjust_unlocked()
3775 2007-04-03 Wim Taymans <wim@fluendo.com>
3777 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
3779 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
3780 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
3781 when releasing sink pad. Fixes #425400.
3783 2007-04-02 Stefan Kost <ensonic@users.sf.net>
3785 * docs/random/ensonic/dynlink.txt:
3786 More work on proposal for new core api.
3788 * docs/libs/gstreamer-libs-sections.txt:
3789 * libs/gst/base/gstbasetransform.h:
3790 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
3792 * libs/gst/controller/gstcontroller.c:
3793 (on_object_controlled_property_changed),
3794 (gst_controller_sync_values),
3795 (gst_controller_set_interpolation_mode):
3796 * libs/gst/controller/gstcontroller.h:
3797 Less verbose logging add docs for unimplemented parts and correctly
3798 return when using unavailable parts.
3800 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
3802 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
3803 Move all the debug to the CLOCK category, and associate it with
3806 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
3808 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
3809 Make take_buffer a bit quicker by removing redundant checks
3810 caused by calling gst_adapter_take.
3812 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
3814 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
3817 * tests/check/Makefile.am:
3818 * tests/check/elements/.cvsignore:
3819 * tests/check/elements/multiqueue.c: (setup_multiqueue),
3820 (GST_START_TEST), (multiqueue_suite):
3821 Add some dead simple unit tests for the 'multiqueue' element
3822 (some bits don't work yet and are disabled for now).
3824 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
3826 * gst/gstelement.c: (gst_element_get_request_pad),
3827 (gst_element_class_get_request_pad_template):
3828 Make gst_element_get_request_pad() create request pads only for
3829 request pad templates and not for, say, sometimes pad templates.
3831 2007-03-28 Stefan Kost <ensonic@users.sf.net>
3833 * docs/design/draft-klass.txt:
3834 Add example that needs more thinking.
3836 * docs/design/draft-missing-plugins.txt:
3837 More thoughts about wrapper plugins.
3839 * docs/random/ensonic/embedded.txt:
3840 * docs/random/ensonic/profiling.txt:
3843 2007-03-25 Wim Taymans <wim@fluendo.com>
3845 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
3846 (gst_base_src_loop):
3847 Only push the segment events in the PLAYING state for live sources.
3849 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
3851 * gst/gstpipeline.c: (gst_pipeline_change_state):
3852 Modify the clock distribution path in PAUSED->PLAYING so that we
3853 never attempt to choose a new clock unless we're actually leaving
3854 the PAUSED state for the first time. This prevents choosing a
3855 different clock when the state_change gets called for a 2nd time due
3856 to some element doing an async state change.
3858 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
3860 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
3861 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
3862 (gst_pad_chain_unchecked), (gst_pad_push):
3863 Revert last commit. This needs some more thoughts.
3865 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
3867 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
3868 (gst_pad_chain_unchecked), (gst_pad_push):
3869 Check in set_caps if the caps are compatible with the pad and remove
3870 two functions that are redundant now. Fixes #421543.
3872 2007-03-22 Wim Taymans <wim@fluendo.com>
3874 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
3875 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
3876 Unref some more to make valgrind happy.
3878 2007-03-22 Wim Taymans <wim@fluendo.com>
3880 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
3881 (gst_system_clock_id_wait_jitter),
3882 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
3883 Fix anoying regression that survived a few releases. When adding an
3884 async entry while blocking on a sync entry, the sync entry will unblock
3885 but still be busy, so it should continue to wait instead of returning
3887 Add some comments here and there.
3889 * tests/check/gst/gstsystemclock.c: (mixed_thread),
3890 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
3891 Add testcase for this.
3893 2007-03-22 Wim Taymans <wim@fluendo.com>
3895 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
3896 Handle errors from the clock sync better, only UNSCHEDULED indicates a
3897 WRONG_STATE and can silently pause the task. All other cases should
3900 2007-03-22 Wim Taymans <wim@fluendo.com>
3902 Patch by: Ville Syrjala <syrjala at sci dot fi>
3904 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
3905 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
3908 2007-03-21 Michael Smith <msmith@fluendo.com>
3910 * docs/pwg/advanced-types.xml:
3911 Fix some errors in the typefinding docs pointed out on irc.
3913 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
3915 * libs/gst/base/gstbasesrc.c:
3916 Clarify FIXME comment in the face of having added unlock_stop()
3918 2007-03-21 Wim Taymans <wim@fluendo.com>
3920 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
3921 Prepare for release where we warn against possible app breakage in the
3922 case of live pipelines along with an env var to enable/disable live
3923 preroll mode (GST_COMPAT=[no-]live-preroll).
3925 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3927 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
3928 So we should use correct constants for checking for None offset.
3930 2007-03-20 Wim Taymans <wim@fluendo.com>
3932 * docs/design/part-block.txt:
3933 Mention the fact that the newly switched element should be set to at
3936 2007-03-20 Wim Taymans <wim@fluendo.com>
3939 Fix compilation with registry disabled as spotted by Saur.
3941 2007-03-20 Wim Taymans <wim@fluendo.com>
3943 Patch by: Olivier Crete <tester at tester dot ca>
3945 * gst/gstelement.c: (gst_element_sync_state_with_parent):
3946 Look at the pending state too when syncing the element state to the
3947 parent. Fixes #420133.
3949 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
3951 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
3952 (gst_base_sink_change_state):
3953 * libs/gst/base/gstbasesink.h:
3954 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3955 (gst_base_src_default_event), (gst_base_src_unlock_stop),
3956 (gst_base_src_deactivate):
3957 * libs/gst/base/gstbasesrc.h:
3958 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
3959 for sub-classes to correctly clear any state they set trying to
3960 unlock, such as clearing out unlock commands from a command fd.
3961 API: basesrc::unlock_stop
3962 API: basesink::unlock_stop
3964 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
3965 (gst_fd_sink_render), (gst_fd_sink_unlock),
3966 (gst_fd_sink_unlock_stop):
3967 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
3968 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
3969 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
3971 Implement unlock_stop in fdsrc and fdsink.
3972 Implement seeking in fdsrc when a seekable fd is passed, as in
3973 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
3975 2007-03-19 Wim Taymans <wim@fluendo.com>
3977 Patch by: Evan Nemerson <evan at coeus dash group dot com>
3979 * gst/gstelement.c: (gst_element_class_init):
3980 Fix pad-added and pad-removed signal signatures so that the pad type is
3981 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
3983 2007-03-19 Wim Taymans <wim@fluendo.com>
3985 * docs/gst/gstreamer-sections.txt:
3986 Add new element field and method.
3988 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3989 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
3990 (gst_bin_recalc_state), (gst_bin_get_state_func),
3991 (gst_bin_element_set_state), (gst_bin_change_state_func),
3992 (gst_bin_continue_func), (bin_bus_handler),
3993 (bin_push_state_continue), (bin_handle_async_start),
3994 (bin_handle_async_done), (gst_bin_handle_message_func):
3995 Make async state changes a bit smarter by using new ASYNC_START and
3996 ASYNC_DONE messages. This reduces the number of times we run the state
3997 recalculation thread.
3998 Don't change state of element with a pending ASYNC_START message.
3999 Deprecate STATE_DIRTY messages.
4001 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
4002 (gst_element_get_state_func), (gst_element_continue_state),
4003 (gst_element_lost_state), (gst_element_set_state_func),
4004 (gst_element_change_state):
4006 Keep the state that was last set by the app in a new element field.
4007 Don't allow state changes when handling an element event.
4008 Post ASYNC_START and ASYNC_DONE messages.
4009 Change lost_state so that we go to PAUSED and wait for the parent to set
4010 us to PLAYING again (so latency calculation can be performed)
4011 Export gst_element_change_state() method so that subclasses can use it.
4012 API: gst_element_change_state()
4013 API: GST_STATE_TARGET
4015 * gst/gstpipeline.c: (gst_pipeline_class_init),
4016 (reset_stream_time), (gst_pipeline_change_state),
4017 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
4018 Using the new ASYNC_START message we can reset the base_time when
4019 needed. This can then be used to implement base_time redistribution in
4020 flushing seeks so that we can remove the explicit seek handling.
4021 Perform latency query and configuration when going to PLAYING.
4023 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4024 (gst_base_sink_query), (gst_base_sink_change_state):
4025 Post new ASYNC_START/ASYNC_DONE messages.
4027 * tests/check/generic/sinks.c: (GST_START_TEST):
4028 Fix test because the bin will not set the async element to PLAYING right
4031 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
4032 Make the message check a little stronger.
4033 Handle ASYNC messages.
4035 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
4036 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
4037 Expect ASYNC_DONE messages.
4039 2007-03-19 Wim Taymans <wim@fluendo.com>
4041 * docs/gst/gstreamer-sections.txt:
4042 * gst/gstmessage.c: (gst_message_new_async_start),
4043 (gst_message_new_async_done), (gst_message_parse_info),
4044 (gst_message_parse_async_start):
4046 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
4049 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
4051 * tools/gst-inspect.c:
4052 (print_plugin_automatic_install_info_codecs):
4053 Now that we don't check for the 'Codec' keyword any longer in the
4054 klass, we shouldn't spew a warning if the klass isn't a decoder or
4055 encoder (since it might be a Source/Network, for example).
4057 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
4059 * tools/gst-inspect.c:
4060 (print_plugin_automatic_install_info_codecs):
4061 Don't require decoder/demuxer/depayloader elements or
4062 encoder/muxer/paylader elements to have 'Codec' as part of their
4063 factory class string when introspecting a plugin's capabilities.
4064 draft-klass.txt mentions that it might be removed in future, and
4065 flump3dec doesn't have it as part of its class string, so chances
4066 are others might also not have it.
4068 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
4090 Update translations from translation project
4092 2007-03-14 Stefan Kost <ensonic@users.sf.net>
4094 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
4095 (gst_child_proxy_set_property):
4096 Invert precondition check to be alike the ones in the mimiced gobject
4099 2007-03-13 Stefan Kost <ensonic@users.sf.net>
4101 * docs/design/draft-tagreading.txt:
4102 * docs/random/ensonic/audiobaseclasses.txt:
4103 Do some Architect work.
4105 * gst/gstobject.c: (gst_object_set_name):
4109 Add docs that point from gst_pad_get_range to gst_pad_pull_range
4111 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
4113 * gst/gstsystemclock.c: (gst_system_clock_init),
4114 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
4115 Defer starting the async system clock thread until the first async
4116 wait is scheduled. Fixes #414986.
4118 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
4120 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
4121 (gst_single_queue_free):
4122 Fix small leak (free GstSingleQueue structure too, not only contents).
4124 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
4126 * gst/gstbin.c:(gst_bin_add):
4127 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
4128 * win32/common/libgstbase.def:
4129 * win32/common/libgstreamer.def:
4130 Add new exported functions.
4132 2007-03-09 Wim Taymans <wim@fluendo.com>
4134 * docs/plugins/gstreamer-plugins-sections.txt:
4137 2007-03-09 Wim Taymans <wim@fluendo.com>
4139 * docs/gst/gstreamer-sections.txt:
4140 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
4142 Add metadata copy functions. Fixes #393099.
4143 API: gst_buffer_copy_metadata()
4145 * gst/gstutils.c: (gst_buffer_stamp):
4146 * libs/gst/base/gstbasetransform.c:
4147 (gst_base_transform_prepare_output_buffer):
4148 Use new metadata copy functions.
4150 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
4152 * plugins/elements/gstidentity.c: (gst_identity_class_init),
4153 (gst_identity_init), (gst_identity_check_perfect),
4154 (gst_identity_check_imperfect_timestamp),
4155 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
4156 (gst_identity_set_property), (gst_identity_get_property):
4157 * plugins/elements/gstidentity.h:
4158 Separate out check-imperfect-timestamp and check-imperfect-offset.
4159 Put back check-perfect as it was to keep compatibility.
4161 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
4163 * gst/gstelement.c: (gst_element_dispose):
4164 There's no need to warn if VOID_PENDING is not NONE here, as
4165 long as the state is NULL it's ok, and that's checked immediately
4168 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4170 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4171 Fix check for perfect stream to ignore buffers with -1
4172 offsets/offset ends when checking data contiguity.
4174 2007-03-08 Wim Taymans <wim@fluendo.com>
4176 * tools/gst-launch.c: (event_loop):
4177 Print INFO messages.
4179 2007-03-08 Wim Taymans <wim@fluendo.com>
4181 * libs/gst/base/gstbasetransform.c:
4182 (gst_base_transform_sink_eventfunc),
4183 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
4184 (gst_base_transform_activate):
4185 * libs/gst/base/gstbasetransform.h:
4186 Add support for dropping buffers with custom GstFlowReturn.
4187 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
4188 buffers or dropped buffers.
4190 * docs/libs/gstreamer-libs-sections.txt:
4191 docs for new custom return code.
4193 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
4194 Use drop support in base class to implement drop-probability.
4196 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
4198 * gst/gst.c: (load_plugin_func):
4199 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
4200 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4201 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
4202 Remove newlines at end of debug log strings.
4204 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4206 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4207 Only post bus message at max, once per buffer received.
4209 2007-03-07 Wim Taymans <wim@fluendo.com>
4211 * docs/design/Makefile.am:
4212 * docs/design/part-synchronisation.txt:
4213 Add doc about synchronisation
4215 * docs/design/draft-latency.txt:
4216 * docs/design/part-TODO.txt:
4217 * docs/design/part-clocks.txt:
4218 * docs/design/part-events.txt:
4219 * docs/design/part-gstbus.txt:
4220 * docs/design/part-gstpipeline.txt:
4221 * docs/design/part-live-source.txt:
4222 * docs/design/part-messages.txt:
4223 * docs/design/part-overview.txt:
4224 * docs/design/part-streams.txt:
4225 * docs/design/part-trickmodes.txt:
4226 Documentation updates.
4228 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
4231 Update the doap file.
4233 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4235 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4236 Rename non-perfect to imperfect for Mike and for the sanctity of the
4238 Also make sure bus message gets emitted for data-incontiguities.
4240 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4242 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
4243 (gst_identity_start):
4244 * plugins/elements/gstidentity.h:
4245 Emit bus message if check-perfect is true and we encounter a
4246 non-perfect stream between 2 consecutive buffers.
4249 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
4254 === release 0.10.12 ===
4256 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
4259 releasing 0.10.12, "Inevitable Demise"
4261 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
4264 Version 0.10.11.2 (0.10.12 pre-release)
4265 Bump libtool versioning.
4267 2007-03-01 Stefan Kost <ensonic@users.sf.net>
4269 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
4270 Log flow-names and not numbers.
4272 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
4275 Convert to new AG_GST style.
4277 2007-02-28 Wim Taymans <wim@fluendo.com>
4279 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
4280 Don't unref query twice.
4282 2007-02-28 Wim Taymans <wim@fluendo.com>
4284 * gst/gstvalue.c: (gst_value_transform_object_string),
4285 (_gst_value_initialize):
4286 Implement GstObject -> string transform so we print object names
4287 when serializing GValues containing GstObjects.
4289 2007-02-28 Wim Taymans <wim@fluendo.com>
4291 * docs/gst/gstreamer-sections.txt:
4292 Add new stuff to docs.
4294 2007-02-28 Wim Taymans <wim@fluendo.com>
4296 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4297 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
4298 (gst_base_sink_change_state):
4299 Improve latency query code.
4300 Don't leak latency events.
4302 * tests/check/gst/gstbin.c: (GST_START_TEST):
4305 2007-02-28 Wim Taymans <wim@fluendo.com>
4307 * gst/gstelement.c: (gst_element_message_full),
4308 (gst_element_get_state_func):
4310 Improve docs a little. Added Since: for new macro.
4312 * gst/gstobject.c: (gst_object_sink):
4313 * gst/gstpipeline.c: (gst_pipeline_change_state),
4314 (gst_pipeline_set_new_stream_time):
4315 * gst/gstpipeline.h:
4316 Improve debugging and docs.
4318 * gst/gstutils.c: (gst_element_state_change_return_get_name):
4321 2007-02-28 Wim Taymans <wim@fluendo.com>
4323 * gst/gstelement.c: (gst_element_message_full),
4324 (gst_element_set_locked_state), (gst_element_get_state_func),
4325 (gst_element_change_state):
4326 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
4327 Documentation updates.
4328 Small code cleanups.
4330 * gst/gstmessage.c: (gst_message_new_info),
4331 (gst_message_parse_info):
4333 API: gst_message_new_info()
4334 API: gst_message_parse_info()
4335 Add INFO message create and parse code.
4337 2007-02-28 Wim Taymans <wim@fluendo.com>
4339 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
4340 (bin_query_latency_done):
4341 Also report the live parameter of a latency query.
4343 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
4345 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
4346 Copy the current generic/states example from -base and adapt so
4347 we can use the exact same code everywhere.
4348 Check a STATES_IGNORE_ELEMENTS env var which can be used
4349 to ignore certain element factories for this test, which is
4350 what is being done in -base
4351 * tests/check/Makefile.am:
4352 Mention this environment variable.
4354 2007-02-27 Wim Taymans <wim@fluendo.com>
4356 * docs/gst/gstreamer-sections.txt:
4357 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
4358 (gst_bus_timed_pop), (gst_bus_pop):
4360 API: gst_bus_timed_pop()
4361 Implement gst_bus_timed_pop() to do a blocking timed wait for a
4362 message to arrive on the bus.
4364 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
4366 Two unit tests for new _timed_pop() function.
4368 2007-02-23 Wim Taymans <wim@fluendo.com>
4370 * gst/gstpipeline.c: (gst_pipeline_change_state),
4371 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
4372 Don't ref a NULL clock in _provide_clock_func().
4373 Don't allow an INVALID delay.
4374 Don't try to calculate base_time with an invalid start_time.
4375 Also distribute and notify a NULL clock when it was selected.
4377 * tools/gst-launch.c: (event_loop):
4378 Don't crash when a NULL clock was selected in the pipeline.
4380 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
4382 * docs/design/Makefile.am:
4383 * docs/design/draft-missing-plugins.txt:
4384 * docs/random/draft-missing-plugins.txt:
4385 Some small updates: update plugin system identifier prefix
4386 ('gstreamer.net' to 'gstreamer'), mention our new install
4387 API in libgstbaseutils rather than libgimme-codec, add
4388 reference to the online docs.
4390 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
4392 * win32/common/config.h:
4393 Pretty sure Bill never made a powerpc version. Powerpc hackers,
4394 use moap cl ci to only check in what is mentioned in the ChangeLog.
4396 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
4398 * docs/gst/gstreamer-sections.txt:
4400 Fix up documentation to link to the correct GstGError section.
4401 Add GST_ELEMENT_INFO macro since someone else added a Info message.
4403 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
4405 * tools/gst-launch.c: (event_loop):
4406 Make sure that we actually show the important message part of a
4408 No need to check if the gerror is not NULL to free; first of all
4409 g_free accepts NULL; and second the default error handler would
4410 segfault if gerror was NULL.
4412 2007-02-21 Wim Taymans <wim@fluendo.com>
4414 * docs/gst/gstreamer-sections.txt:
4415 Removed docs as well.
4417 2007-02-21 Wim Taymans <wim@fluendo.com>
4419 * gst/gstmessage.c: (gst_message_parse_duration):
4421 Remove new messages for release.
4423 2007-02-20 Wim Taymans <wim@fluendo.com>
4425 * docs/design/part-gstghostpad.txt:
4426 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
4427 (gst_ghost_pad_new_full):
4428 Make the ghostpad a parent of the internal pad again for better backward
4429 compatibility. Don't write code that relies on this however.
4431 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
4432 (gst_pad_link_check_hierarchy):
4433 Require that parents should be GstElements in the hierarchy check.
4435 2007-02-20 Wim Taymans <wim@fluendo.com>
4437 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
4438 (gst_bin_change_state_func), (bin_query_min_max_init),
4439 (bin_query_latency_fold), (bin_query_latency_done),
4442 Implement latency query.
4444 2007-02-20 Wim Taymans <wim@fluendo.com>
4446 * docs/design/part-gstghostpad.txt:
4447 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
4448 (gst_ghost_pad_internal_do_activate_push),
4449 (gst_ghost_pad_internal_do_activate_pull),
4450 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
4451 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
4452 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
4453 Do not set the internal pad as a parent anymore so we can avoid
4454 hierarchy linking errors when the ghostpad has no parent yet. This also
4455 fixes failed activation because of unlinked internal pads, which in
4456 turn fixes the impossible case where you have to activate a pad before
4457 you can add it to a running element.
4460 * gst/gstpad.c: (pre_activate), (post_activate),
4461 (gst_pad_set_active), (gst_pad_activate_pull),
4462 (gst_pad_activate_push), (gst_pad_check_pull_range):
4463 Add some more debug info.
4464 Mark activation mode in pre_activate so that we don't try to activate in
4465 endless loops. Fixes #385084.
4467 2007-02-19 Wim Taymans <wim@fluendo.com>
4469 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
4470 (gst_base_transform_check_get_range):
4471 Implement a checkgetrange function instead of relying on the default
4472 core behaviour that assumes we can operate in pull mode if we have a
4473 getrange function. First step at fixing #385084.
4475 2007-02-15 Stefan Kost <ensonic@users.sf.net>
4477 * gst/gstchildproxy.h:
4478 * libs/gst/base/gstbasesink.h:
4479 * libs/gst/base/gstbasesrc.h:
4480 * libs/gst/base/gstbasetransform.h:
4481 More docs coverage and some ChangeLog surgery (add missing names)
4483 2007-02-15 Wim Taymans <wim@fluendo.com>
4485 * docs/design/part-TODO.txt:
4486 * docs/design/part-activation.txt:
4487 * docs/design/part-block.txt:
4488 * docs/design/part-buffering.txt:
4489 * docs/design/part-clocks.txt:
4490 * docs/design/part-element-source.txt:
4491 * docs/design/part-events.txt:
4492 * docs/design/part-gstbin.txt:
4493 * docs/design/part-gstbus.txt:
4494 * docs/design/part-gstpipeline.txt:
4495 * docs/design/part-live-source.txt:
4496 * docs/design/part-messages.txt:
4497 * docs/design/part-overview.txt:
4498 * docs/design/part-qos.txt:
4499 * docs/design/part-query.txt:
4500 * docs/design/part-states.txt:
4501 * docs/design/part-trickmodes.txt:
4502 Some doc updates. Start renaming from stream_time to running_time where
4503 it was used wrongly.
4505 2007-02-15 Wim Taymans <wim@fluendo.com>
4507 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
4508 Answer LATENCY query.
4510 2007-02-15 Wim Taymans <wim@fluendo.com>
4512 * tests/check/gst/gstevent.c: (event_probe), (test_event),
4516 2007-02-15 Wim Taymans <wim@fluendo.com>
4518 * gst/gstpad.c: (gst_pad_get_internal_links_default),
4519 (gst_pad_dispatcher):
4520 Improve debugging of default pad dispatcher and query functions.
4522 2007-02-15 Wim Taymans <wim@fluendo.com>
4524 * docs/gst/gstreamer-sections.txt:
4525 Remove old unused method.
4527 2007-02-13 Wim Taymans <wim@fluendo.com>
4529 * tests/check/gst/gstsegment.c: (GST_START_TEST):
4532 2007-02-13 Wim Taymans <wim@fluendo.com>
4534 * docs/design/part-seeking.txt:
4537 * gst/gstsegment.c: (gst_segment_set_seek):
4538 Revert old bogus change that should make seeking work again.
4540 2007-02-13 Stefan Kost <ensonic@users.sf.net>
4542 * docs/random/ensonic/dynlink.txt:
4543 * docs/random/ensonic/interfaces.txt:
4544 * docs/random/ensonic/receipies.txt:
4545 Possible dynamic reconnection api, plus some type fixes the other two
4548 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
4550 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4551 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4552 Also check for an absolute path following file:// in the filesrc
4553 element. Remove redundant check and call g_path_is_absolute() on the
4556 2007-02-13 Stefan Kost <ensonic@users.sf.net>
4558 * docs/design/draft-klass.txt:
4559 Add existing category analysis.
4562 Fix doc example, framerate is a fraction.
4564 2007-02-12 Stefan Kost <ensonic@users.sf.net>
4567 * docs/gst/Makefile.am:
4568 * docs/gst/gstreamer-sections.txt:
4569 * docs/libs/Makefile.am:
4570 Erm, forgot a bunch of --extra-dir.
4572 2007-02-12 Stefan Kost <ensonic@users.sf.net>
4575 * docs/gst/Makefile.am:
4576 * docs/libs/Makefile.am:
4577 * docs/plugins/Makefile.am:
4578 Add crossreferences to glib/gobject docs.
4580 2007-02-12 Wim Taymans <wim@fluendo.com>
4582 * docs/design/draft-latency.txt:
4585 * docs/libs/gstreamer-libs-sections.txt:
4586 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4587 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
4588 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
4589 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
4590 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
4591 (gst_base_sink_get_position), (gst_base_sink_query),
4592 (gst_base_sink_change_state):
4593 * libs/gst/base/gstbasesink.h:
4594 API: gst_base_sink_query_latency() to let subclasses query the upstream
4596 API: gst_base_sink_get_latency() to let subclasses query the configured
4597 latency in the sink.
4598 Implement query and set latency.
4600 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
4601 don't continue preroll when we are flushing. Fixes #405284.
4603 * tests/check/pipelines/stress.c: (change_state_timeout),
4604 (quit_timeout), (GST_START_TEST), (stress_suite):
4607 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
4609 Patch by: René Stadler <mail at renestadler de>
4611 * docs/gst/gstreamer-sections.txt:
4612 * gst/gsttaglist.c: (_gst_tag_initialize):
4614 API: add GST_TAG_REFERENCE_LEVEL (#403597).
4616 2007-02-11 Stefan Kost <ensonic@users.sf.net>
4618 * docs/libs/Makefile.am:
4619 Fix path to core docs.
4621 * gst/gstbin.c: (gst_bin_get_by_interface),
4622 (gst_bin_iterate_all_by_interface):
4623 Refix docs by also renaming 'interface' to 'iface' in implementation.
4625 * docs/gst/gstreamer-sections.txt:
4627 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
4628 * gst/gstchildproxy.h:
4629 * gst/gstelementfactory.c:
4630 * gst/gstpadtemplate.h:
4631 * libs/gst/controller/gstcontroller.c:
4632 (gst_controlled_property_new):
4635 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
4637 * gst/gstbin.h:(gst_bin_get_by_interface),
4638 (gst_bin_iterate_all_by_interface):
4639 Replace interface parameter name by iface as interface is
4640 a reserved keyword in Visual Studio for C++ projects so it removes
4641 a build error for application developpers using VS.
4642 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
4643 Fix a bug on Windows in uri format check. Now the prefix checked
4644 is file:// and next we check if the path after file:// is absolute.
4645 * win32/common/libgstbase.def:
4646 * win32/common/libgstdataprotocol.def:
4647 * win32/common/libgstgstreamer.def:
4648 Add new exported functions.
4650 2007-02-09 Andy Wingo <wingo@pobox.com>
4652 * tests/check/pipelines/simple-launch-lines.c
4653 (simple_launch_lines_suite, test_tee): Disable tee test until I
4654 have time to fix it :-(
4656 * tests/check/Makefile.am (noinst_HEADERS):
4657 * tests/check/libs/libsabi.c:
4658 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
4659 * tests/check/gst/gstabi.c:
4660 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
4662 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
4663 tests for push and pull tee behavior.
4665 * plugins/elements/gsttee.h:
4666 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
4667 mark as deprecated as well as unimplemented. It was a crack idea.
4668 Add support for tee operating in pull mode, off by default.
4670 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
4671 normal-case logs down to LOG, raise errors to WARNING.
4672 (gst_registry_xml_read_cache): Don't log before calling a function
4675 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
4676 exit (registry finalize).
4677 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
4678 DEBUG log when we emit signals that people don't even have the
4679 chance to connect to.
4680 (gst_registry_scan_path_level): Less logging in the normal case.
4682 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
4684 Patch by: Michal Benes <michal dot benes at itonis dot tv>
4686 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4687 Correctly generate EOS for non-seekable files. We don't have a total
4688 length for them and would get an unexpected end of file if we only
4689 special-cased for regular files. (Fixes: #404569)
4691 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
4693 * tests/check/elements/filesrc.c: (GST_START_TEST),
4695 Add unit test for the GstURIHandler interface in filesrc. This also
4696 tests the newly added file://localhost/foo/bar support.
4698 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
4700 * gst/gstelementfactory.h:
4701 The klass string is not a hierarchy. Add reference to the design doc
4702 for more information and common types.
4704 2007-02-02 Wim Taymans <wim@fluendo.com>
4706 * gst/gstquery.c: (gst_query_new_latency):
4707 Remove old structure field.
4709 2007-02-02 Stefan Kost <ensonic@users.sf.net>
4711 * tools/gst-launch.1.in:
4712 Give example for network streaming (#351998)
4714 2007-02-02 Wim Taymans <wim@fluendo.com>
4716 * docs/gst/gstreamer-sections.txt:
4717 Add docs for new methods.
4719 * gst/gstevent.c: (gst_event_new_latency),
4720 (gst_event_parse_latency):
4722 Add new LATENCY event to configure latency in a pipeline.
4723 API: gst_event_new_latency
4724 API: gst_event_parse_latency
4726 * gst/gstmessage.c: (gst_message_new_buffering),
4727 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
4728 (gst_message_new_latency), (gst_message_parse_buffering),
4729 (gst_message_parse_lost_preroll):
4731 Added messages used in draft-latency.
4732 API: gst_message_new_lost_preroll
4733 API: gst_message_parse_lost_preroll
4734 API: gst_message_new_prerolled
4735 API: gst_message_new_latency
4737 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
4738 (gst_query_parse_latency):
4740 Implemented new latency query as in design doc.
4741 API: gst_query_new_latency
4742 API: gst_query_set_latency
4743 API: gst_query_parse_latency
4745 2007-02-02 Wim Taymans <wim@fluendo.com>
4747 * docs/design/draft-latency.txt:
4748 Slight redesign to allow for dynamic latency adjustments.
4750 * docs/design/part-negotiation.txt:
4753 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
4755 reviewed by: Wim Taymans <wim@fluendo.com>
4757 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4758 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4759 Allow file://localhost/foo/bar URLs and correctly fail for every other
4760 hostname that one sets. This was gnomevfssrc is linked for those if
4761 installed as it can handle it (#403172)
4763 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
4765 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4767 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4768 (unref_data), (gst_collect_pads_add_pad_full):
4769 * libs/gst/base/gstcollectpads.h:
4770 Don't put the previously added destroy notify in the GstCollectData
4771 struct as all it's padding is already used and we don't want to break
4772 ABI. Instead put in the pad's GObject data for now. This should be
4773 cleaned up for 0.11 (#402393).
4775 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
4777 reviewed by: Wim Taymans <wim@fluendo.com>
4779 * docs/libs/gstreamer-libs-sections.txt:
4780 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4781 (unref_data), (gst_collect_pads_add_pad),
4782 (gst_collect_pads_add_pad_full):
4783 * libs/gst/base/gstcollectpads.h:
4784 API: Add function to specify a destroy notification for custom
4785 GstCollectData when adding new pads in GstCollectPads (#402393).
4787 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
4790 Update Swedish translation (#378255).
4792 2007-01-31 Stefan Kost <ensonic@users.sf.net>
4794 * docs/design/draft-klass.txt:
4795 Fix the previous change, this is a list of categories and not a hierarchy.
4797 2007-01-31 Stefan Kost <ensonic@users.sf.net>
4799 * docs/design/draft-klass.txt:
4800 Add info about how to get a list of used classes.
4802 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
4804 * plugins/elements/gsttypefindelement.c:
4805 (gst_type_find_element_chain_do_typefinding),
4806 (gst_type_find_element_change_state):
4807 Don't leak found caps in chain function (no idea why that never
4808 showed up as a leak anywhere).
4810 2007-01-30 Stefan Kost <ensonic@users.sf.net>
4813 Fix and expand GstPluginDesc API docs.
4815 2007-01-29 Stefan Kost <ensonic@users.sf.net>
4818 * gst/gstelementfactory.c:
4819 * gst/gstpadtemplate.h:
4822 * libs/gst/controller/gstcontroller.c:
4823 (gst_controlled_property_new):
4824 * tests/examples/controller/audio-example.c:
4827 2007-01-29 Stefan Kost <ensonic@users.sf.net>
4830 comment about refining the xml deps
4833 comments about moving away from jade for docs
4836 recommit the ifdefs to use the binary registry
4838 * gst/gstbin.c: (gst_bin_change_state_func):
4839 this break is obsolete
4841 * gst/gstelementfactory.h:
4842 better GST_ELEMENT_DETAILS docs, add comment about translation
4847 * gst/gstobject.c: (gst_signal_object_get_type):
4848 add G_UNLIKELY as usual
4850 * gst/gstpad.c: (gst_pad_event_default):
4851 add fall trhu comment
4853 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4854 (gst_registry_binary_initialize_magic),
4855 (gst_registry_binary_save_string),
4856 (gst_registry_binary_save_pad_template),
4857 (gst_registry_binary_save_feature),
4858 (gst_registry_binary_save_plugin),
4859 (gst_registry_binary_write_cache),
4860 (gst_registry_binary_check_magic),
4861 (gst_registry_binary_load_pad_template),
4862 (gst_registry_binary_load_feature),
4863 (gst_registry_binary_load_plugin),
4864 (gst_registry_binary_read_cache):
4865 comment typo and formatting
4867 * gst/gstutils.c: (gst_element_state_get_name),
4868 (gst_element_state_change_return_get_name):
4869 remove obsolete breaks
4871 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
4872 add FIXME 0.11 and remove cpp comment
4874 2007-01-29 Edward Hervey <edward@fluendo.com>
4876 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4877 Fix print statement in an even more portable way.
4879 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
4881 * docs/gst/gstreamer-sections.txt:
4883 API: add GST_ROUND_DOWN_* macros (#401781).
4885 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
4887 * docs/gst/gstreamer.types.in:
4888 * gst/gstregistry.c: (gst_registry_class_init):
4889 Document registry signals and make gtk-doc pick them up (#401381).
4891 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
4893 * docs/pwg/building-testapp.xml:
4894 Add some audioconverts and audioresample to the pipeline, and some
4895 more comments and error handling.
4897 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
4899 * docs/manual/manual.xml:
4903 2007-01-26 Wim Taymans <wim@fluendo.com>
4905 * gst/gstcaps.c: (gst_static_caps_get):
4906 Init caps flags too.
4908 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
4910 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
4912 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
4913 If not using mmap'ed files try to seek to the end instead of the
4914 start to determine whether we can seek at all. This fixes the case
4915 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
4916 seeks for everything afterwards fail. Fixes #400656
4918 2007-01-25 Wim Taymans <wim@fluendo.com>
4920 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
4921 Add some refcount debugging.
4922 Make gst_static_caps_get threadsafe, which is needed when autoplugging
4923 in multiple streaming threads.
4925 2007-01-25 Wim Taymans <wim@fluendo.com>
4927 Patch by: David Schleef <ds at schleef dot org>
4929 * docs/libs/gstreamer-libs-sections.txt:
4930 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
4931 * libs/gst/base/gstadapter.h:
4932 API: gst_adapter_copy() that can reduce the amount of memcpy when
4933 getting data from the adapter. Fixes #388201.
4935 2007-01-25 Edward Hervey <edward@fluendo.com>
4937 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4938 In print statements, "%x" is for guint. Fixes build on macosx.
4940 2007-01-24 Edward Hervey <edward@fluendo.com>
4942 * plugins/elements/gstmultiqueue.c:
4943 (gst_multi_queue_loop):
4945 (single_queue_overrun_cb), (single_queue_underrun_cb),
4946 (single_queue_check_full), (gst_single_queue_new):
4947 Implement single queue growth system.
4948 This uses the extra-size properties, and will grow single queues by
4949 that much if one goes full whereas there are others empty. This is
4950 called extra-mode in the code.
4951 When a single queue's levels go back below the initial max-size
4952 limits, it is no longer in extra-mode. This is to ensure we don't
4953 consume too much memory.
4956 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
4958 * gst/gst.c: (gst_init_get_option_group):
4959 Make warning about late g_thread_init() calls a bit more explicit,
4960 so that it's more obvious to application developers what they need
4961 to do if a user files a bug against their application.
4963 2007-01-22 Edward Hervey <edward@fluendo.com>
4965 * plugins/elements/gstmultiqueue.c:
4966 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
4967 Remove previous hack of unsetting the flushing flag for the source pad
4968 instead of activating it. Instead, fix the source pad activate function
4969 so that it no longer depends on having a parent set or not.
4971 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
4973 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
4975 * docs/manual/basics-bus.xml:
4976 Fix example code, gst_element_unref() doesn't exist any longer.
4978 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
4980 Patch by: Mark Nauwelaerts <manauw at skynet be>
4983 Fix two docs typoes (#399094).
4985 2007-01-19 Edward Hervey <edward@fluendo.com>
4987 * docs/faq/gst-uninstalled:
4988 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
4989 depending on libgstbaseutils can work in uninstalled environment.
4991 2007-01-18 Stefan Kost <ensonic@users.sf.net>
4994 * gst/gsttagsetter.c:
4995 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
4996 statement for new tag.
4998 2007-01-17 Edward Hervey <edward@fluendo.com>
5000 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
5001 When dynamically creating single queues, activate sinkpad before adding
5003 We should be doing the same thing for the source pad, but we can't
5004 since it would call a method which needs the parent to be set in order
5005 to work propertly. Instead of activating the source pad, we just unset
5006 the flushing flag, which is the minimal requirement for adding a pad
5007 to an element in a state greater than READY.
5009 2007-01-17 Edward Hervey <edward@fluendo.com>
5011 * docs/faq/gst-uninstalled:
5012 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
5015 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
5017 * tests/check/gst/gstabi.c:
5018 * tests/check/gst/struct_hppa.h:
5019 * tests/check/libs/libsabi.c:
5020 * tests/check/libs/struct_hppa.h:
5021 Add ABI structs for HPPA (see #393796).
5023 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
5025 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
5026 Actually write ABI structs to the file specified in the GST_ABI
5027 environment variable, as the message we print claims we would.
5029 2007-01-15 Stefan Kost <ensonic@users.sf.net>
5031 * tests/check/gst/gsttask.c:
5034 2007-01-15 Stefan Kost <ensonic@users.sf.net>
5036 * gst/gsttaglist.c: (_gst_tag_initialize):
5037 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
5038 previous two entries.
5040 2007-01-15 Stefan Kost <ensonic@users.sf.net>
5042 * docs/gst/gstreamer-sections.txt:
5043 * gst/gsttaglist.c: (_gst_tag_initialize):
5045 Add tag support for beat-per-minute.
5047 2007-01-15 Stefan Kost <ensonic@users.sf.net>
5049 * gst/gstregistrybinary.c: (gst_registry_binary_write),
5050 (gst_registry_binary_initialize_magic),
5051 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
5052 (gst_registry_binary_save_pad_template),
5053 (gst_registry_binary_save_feature),
5054 (gst_registry_binary_save_plugin),
5055 (gst_registry_binary_write_cache),
5056 (gst_registry_binary_check_magic),
5057 (gst_registry_binary_load_pad_template),
5058 (gst_registry_binary_load_feature),
5059 (gst_registry_binary_load_plugin),
5060 (gst_registry_binary_read_cache):
5061 * gst/gstregistrybinary.h:
5062 Use glib types, cleanup comments, impement interfaces and uri-types.
5064 2007-01-13 Andy Wingo <wingo@pobox.com>
5066 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
5067 getrange() to return buffers with other caps, while we fix
5068 demuxers and typefind, or otherwise change part-negotiation.txt.
5070 2007-01-12 Andy Wingo <wingo@pobox.com>
5072 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
5073 Factor start/stop into this private function instead of partially
5074 in activate functions and partially in the change_state function.
5075 Fixes setup before the element has changed from READY->PAUSED, as
5076 is the case in pull-mode pipelines.
5077 (gst_base_transform_sink_activate_push)
5078 (gst_base_transform_src_activate_pull): Refactor to use
5079 gst_base_transform_activate().
5080 (gst_base_transform_change_state): Removed, not needed any more.
5082 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
5083 Truncate before fixating.
5085 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
5086 Don't set_caps() if the result of fixating is ANY, as it's not
5087 supported, and not necessary in the case of a link with no
5088 template caps on either side. Fixes tests/check/libs/basesrc in
5089 some pull-mode tests.
5091 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
5092 (gst_base_transform_init, gst_base_transform_sink_activate_push)
5093 (gst_base_transform_src_activate_pull):
5094 Track the activation mode.
5095 (gst_base_transform_setcaps): In pull mode, when activating the
5096 src pad, after activating the sink pad, activate the sink pad's
5097 peer, as discussed in part-negotiation.txt.
5099 * libs/gst/base/gstbasesrc.h:
5100 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
5101 vmethod, as in basesink.
5103 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
5105 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
5106 mode, first proxy the setcaps to the peer pad.
5107 (gst_base_sink_pad_fixate): Add a fixate function that calls the
5109 (gst_base_sink_default_activate_pull): Rename from
5110 gst_base_sink_activate_pull.
5111 (gst_base_sink_negotiate_pull): New function, performs negotiation
5112 in pull mode before calling ::activate_pull().
5113 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
5114 vmethod instead of the default implementation. I have no idea how
5115 this worked before. Negotiate before calling activate_pull.
5117 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
5118 sink pads in pull mode. In addition to being correct, fixes
5119 filesrc ! decodebin ! identity ! fakesink.
5120 (gst_pad_get_range, gst_pad_pull_range): Don't call
5121 gst_pad_set_caps() if the caps changes; instead error out with
5122 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
5124 2007-01-12 Andy Wingo <wingo@pobox.com>
5126 * docs/design/part-negotiation.txt: Update with more policy.
5128 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
5130 * libs/gst/check/gstbufferstraw.h:
5131 * libs/gst/check/gstcheck.h:
5132 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
5135 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
5137 * tests/check/Makefile.am:
5138 * tests/check/gst/.cvsignore:
5139 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
5140 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
5141 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
5142 (GST_START_TEST), (gst_tag_setter_suite):
5143 Add minimal unit test for beforementioned GstTagSetter bug.
5145 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
5147 Patch by: René Stadler <mail at renestadler dot de>
5149 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
5150 gst_tag_list_merge() returns a new list, so it's not the best idea
5151 to ingore its return value. Effectively meant that tags could only
5152 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
5153 Also add function guard to require a non-NULL taglist as input (has
5154 always been so due to gst_tag_list_copy(), just making it explicit).
5156 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
5158 * docs/random/draft-missing-plugins.txt:
5159 Some additions: mention new API that is supposed to be used at the
5160 various stages; short blob about new gst-inspect introspection
5161 option; mention potential future problem with plugins that have
5162 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
5164 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
5166 * tools/gst-inspect.c:
5167 (print_plugin_automatic_install_info_codecs),
5168 (print_plugin_automatic_install_info_protocols),
5169 (print_plugin_automatic_install_info), (main):
5170 Add --print-plugin-auto-install-info option to gst-inspect, so we can
5171 introspect plugin files and get machine-parsable output that corresponds
5172 to the last bit of the missing-plugin installer string (small gotcha:
5173 doesn't take into account ranks).
5175 2007-01-11 Stefan Kost <ensonic@users.sf.net>
5178 * docs/gst/gstreamer-sections.txt:
5180 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
5181 (gst_registry_lookup_locked):
5182 * gst/gstregistry.h:
5183 * gst/gstregistrybinary.c: (gst_registry_binary_write),
5184 (gst_registry_binary_initialize_magic),
5185 (gst_registry_binary_save_string),
5186 (gst_registry_binary_save_pad_template),
5187 (gst_registry_binary_save_feature),
5188 (gst_registry_binary_save_plugin),
5189 (gst_registry_binary_write_cache),
5190 (gst_registry_binary_check_magic),
5191 (gst_registry_binary_load_pad_template),
5192 (gst_registry_binary_load_feature),
5193 (gst_registry_binary_load_plugin),
5194 (gst_registry_binary_read_cache):
5195 * gst/gstregistrybinary.h:
5196 * gst/gstregistryxml.c: (load_feature),
5197 (gst_registry_xml_read_cache):
5198 commit binary registry (disabled by default, see #359653)
5200 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
5202 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
5203 Fix 'make check' too.
5205 2007-01-10 Andy Wingo <wingo@pobox.com>
5207 * docs/design/part-negotiation.txt: Fix a typo, add a couple
5210 * docs/design/part-negotiation.txt: Update with, um, one way that
5211 pull-mode negotiation might work?
5214 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
5215 that the pad must be a src pad; makes sense to call it the other
5216 way in pull mode, and the logic is symmetric anyway.
5218 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
5220 * plugins/elements/gstfilesink.c:
5221 Include <stdio.h> for fseeko().
5223 2007-01-10 Wim Taymans <wim@fluendo.com>
5227 Reserve LATENCY event.
5229 2007-01-09 Wim Taymans <wim@fluendo.com>
5231 * docs/design/draft-latency.txt:
5234 2007-01-09 Wim Taymans <wim@fluendo.com>
5236 * docs/design/draft-latency.txt:
5240 * gst/gststructure.c:
5244 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
5246 * tests/check/.cvsignore:
5247 Ignore test-registry.xml as well.
5249 2007-01-09 Wim Taymans <wim@fluendo.com>
5251 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
5252 unref data at the end when we are done with the pad.
5254 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
5256 * docs/gst/gstreamer-sections.txt:
5257 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
5258 (init_post), (gst_deinit), (gst_update_registry):
5260 API: add gst_update_registry() (#391296).
5262 * tests/check/Makefile.am:
5263 * tests/check/gst/gstregistry.c:
5264 * tests/check/gst/.cvsignore:
5265 Simple unit test for the above.
5267 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
5269 * gst/gstregistry.c: (gst_registry_scan_path_level):
5270 Plugin extension on HP-UX is .sl, add that to the list of approved
5271 plugin extensions (see #393796).
5273 * tests/check/gst/gstpad.c: (GST_START_TEST):
5274 ulong => gulong. Fixes compilation with HP-UX compiler.
5276 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
5277 Fix compilation if valgrind headers are not available.
5279 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
5281 * win32/common/libgstreamer.def:
5282 Add new exported function.
5283 * win32/vs6/libgstbase.dsp:
5284 Add gstdataqueue.c to the build.
5285 * win32/vs6/libgstcoreelements.dsp:
5286 Add gstmultiqueue.c to the build.
5288 2007-01-06 Andy Wingo <wingo@pobox.com>
5290 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
5291 activate_pull(), providing for a way to specialize the process of
5292 spawning a thread to pull on the sink pad. There is a default
5295 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
5296 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
5297 (gst_base_sink_init): Renamed pad activation functions (inserting
5298 "_pad" in their names). Refactor to use the new activate_pull
5299 vmethod, as appropriate.
5300 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
5301 default activate_pull function to start a task pulling from the
5302 sink pad, as before.
5304 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
5305 on the pads if necessary, as in push()/chain(). Update docs.
5306 Shouldn't affect existing pull() usage as it is currently only
5307 being used on buffers without caps.
5309 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
5311 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
5313 Call g_thread_init() first thing in gst_init() / gst_check_init().
5314 When initialisation is done via gst_init_get_option_group() and
5315 GOption parsing, issue a warning if the GLib thread system has not
5316 been initialised yet by the time gst_init_get_option_group() is
5317 called, as it's quite likely other GLib functions such as
5318 g_option_context_new() have been called already then, and
5319 g_thread_init() must be called before any other GLib function. The
5320 application in question must be fixed in that case, since memory
5321 corruption might happen otherwise.
5322 We issue the warning because even if the GLib folks decide to work
5323 around the problem on their end in future, this is still an issue
5324 with all GLib versions >= 2.10.0, so we should warn until we depend
5325 on a GLib version we know to be safe.
5326 Update documentation as well.
5329 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
5331 * tools/gst-inspect.c: (main):
5332 * tools/gst-launch.c: (main):
5333 * tools/gst-typefind.c: (main):
5334 * tools/gst-xmlinspect.c: (main):
5335 Call g_thread_init() really really early, before any other GLib
5336 function (see #342564 and recent discussion on gtk-devel-list).
5338 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
5340 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
5342 * gst/gst_private.h:
5343 * gst/gstconfig.h.in:
5345 On win32, all the __declspec stuff for symbol exporting is
5346 apparently only needed with MSVC, but doesn't work with MingW.
5347 Fixes compilation with MingW and #391909.
5349 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
5351 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
5352 Change some GST_ERROR_OBJECT that aren't really errors to
5353 GST_WARNING_OBJECT in order to reduce terminal spam.
5355 2007-01-04 Stefan Kost <ensonic@users.sf.net>
5357 * tests/check/Makefile.am:
5358 disable test again, as there seem to be still race problems
5360 2007-01-04 Stefan Kost <ensonic@users.sf.net>
5362 * tests/check/Makefile.am:
5363 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5364 (GST_START_TEST), (queue_suite):
5365 enable queue test again, add tests for the leaky behaviour
5367 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
5370 * tests/examples/Makefile.am:
5371 Compile adapter test/example only if the required headers are
5372 available (fixes #391915).
5374 2007-01-01 David Schleef <ds@schleef.org>
5377 Restore the previous signal handler for SIGSEGV instead of
5378 setting to default, since we may have stolen it away from
5379 someone. (i.e., Mono)
5381 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
5383 * docs/random/draft-missing-plugins.txt:
5384 Some small additions and clarifications.
5386 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
5388 * gst/gstregistryxml.c: (gst_registry_save_escaped):
5389 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
5390 since that can lead to random memory corruptions and crashes
5391 (may or may not be related to #383244, #386711, and #386711).
5393 2006-12-21 Stefan Kost <ensonic@users.sf.net>
5395 * tests/check/.cvsignore:
5396 * tests/check/Makefile.am:
5397 sync .cvsignome and CLEANFILES
5399 2006-12-21 Stefan Kost <ensonic@users.sf.net>
5401 * tests/check/Makefile.am:
5404 2006-12-21 Stefan Kost <ensonic@users.sf.net>
5406 * docs/design/part-states.txt:
5407 two tiny additional comments
5409 * gst/gststructure.c:
5412 * tests/check/Makefile.am:
5413 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5415 disable test for now, unless it gets fixed
5417 2006-12-21 Stefan Kost <ensonic@users.sf.net>
5419 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5421 fix race in underrun test
5423 2006-12-21 Stefan Kost <ensonic@users.sf.net>
5425 * tests/check/elements/.cvsignore:
5428 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5430 try to narrow test failure
5432 2006-12-21 David Schleef <ds@schleef.org>
5434 * plugins/elements/gstfakesrc.c:
5435 Use g_random_int_range(), since it produces better random
5436 numbers in a range than almost-correct floating point code.
5438 2006-12-21 Stefan Kost <ensonic@users.sf.net>
5440 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
5441 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
5442 (gst_check_teardown_sink_pad):
5443 do not automatically (de)activate pads
5445 * tests/check/Makefile.am:
5446 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5447 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
5448 add new, yet simple tests for queue
5450 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
5451 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
5452 * tests/check/elements/filesrc.c: (cleanup_filesrc),
5454 * tests/check/elements/identity.c: (cleanup_identity):
5455 consistent pad (de)activation
5457 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
5459 Patch by: Sebastian Dröge <slomo ubuntu com>
5461 * libs/gst/base/gstcollectpads.c:
5462 Fix two doc typos (#387866).
5464 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
5466 * docs/manual/advanced-dparams.xml:
5467 Fix typo (g_object_control_properties() doesn't exist).
5469 2006-12-19 Edward Hervey <edward@fluendo.com>
5471 * gst/gstsegment.c: (gst_segment_set_seek):
5472 Fine tune the cases where the segment start/stop values are really
5474 * tests/check/gst/gstsegment.c: (GST_START_TEST):
5475 Add tests for the return values of gst_segment_set_seek().
5477 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
5482 * plugins/elements/gstqueue.c: (gst_queue_class_init),
5484 Fix incorrect documentation and flesh it out a bit more.
5485 Set default values for the max properties on the GParamSpec as well,
5486 so it shows up correctly in gst-inspect.
5488 2006-12-18 Stefan Kost <ensonic@users.sf.net>
5490 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
5491 Correct docs of queue, add more detail and crosslink it more.
5493 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
5495 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
5496 Print additional debug info when the stream isn't perfectly
5497 timestamped; don't try to use invalid durations.
5499 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
5501 * docs/design/Makefile.am:
5502 Dist new design docs.
5504 2006-12-16 Wim Taymans <wim@fluendo.com>
5506 Patch by: Sjoerd Simons <sjoerd at luon dot net>
5508 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
5509 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
5510 (gst_collect_pads_stop), (gst_collect_pads_event),
5511 (gst_collect_pads_chain):
5512 * libs/gst/base/gstcollectpads.h:
5513 Add refcounting to the collectpads data so we can track when it's safe
5514 to free the data. Fixes #383382.
5516 2006-12-15 Wim Taymans <wim@fluendo.com>
5518 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
5519 (gst_collect_pads_remove_pad):
5520 Automatically activate/deactivate pads when they are added to a
5521 started/stoped collectpads.
5523 2006-12-15 Wim Taymans <wim@fluendo.com>
5525 * gst/gstelement.c: (gst_element_add_pad):
5526 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
5527 * gst/gstpad.c: (gst_pad_init):
5528 Set pads to FLUSHING when they are created. Check, warn and fix when a
5529 demuxer adds an inactive pad to itself when running. Fixes #339326.
5531 2006-12-15 Wim Taymans <wim@fluendo.com>
5533 * gst/gstelement.c: (gst_element_class_init),
5534 (gst_element_default_send_event), (gst_element_send_event),
5535 (gst_element_default_query), (gst_element_query):
5536 Expose default element send_event and query handling as vmethods that
5537 subclasses can chain up to.
5539 2006-12-15 Wim Taymans <wim@fluendo.com>
5541 * gst/gstelement.c: (gst_element_set_state_func):
5542 Small documentation fixes.
5544 2006-12-15 Wim Taymans <wim@fluendo.com>
5546 * docs/design/draft-latency.txt:
5547 Checked in draft for handling latency in pipelines.
5549 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
5553 * gstreamer.spec.in:
5556 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
5558 * gst/gst.c: (init_pre), (init_post):
5559 init_pre() and init_post() might be called via our GOptionGroup or
5560 from gst_init(), and we should skip both of them if we've already
5561 been initialised, otherwise we will init some things twice or add
5562 two default log functions.
5564 2006-12-13 Edward Hervey <edward@fluendo.com>
5566 * docs/manual/basics-bus.xml:
5567 No, gst_main_loop does not exist. Its g_main_loop.
5568 Discovered by somebody who abused the copy-paste technique of coding :)
5570 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
5572 * gst/gstghostpad.c:
5573 Log ghostpad debug stuff to the GST_PADS category as well rather
5574 than just to the default category.
5576 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
5579 * gst/gst.c: (init_pre):
5580 Add some basic system details such as OS and architecture
5581 to the debug output if possible, courtesy of uname().
5583 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
5585 * docs/gst/running.xml:
5586 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
5587 environment variables.
5589 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
5591 * tests/check/gst/gstbin.c: (GST_START_TEST):
5592 It is acceptable to have a refcount of 2 or 3 at this point in the
5593 test, because the pipeline might be just posting its state_change
5594 message. The next line then waits for that message to appear using
5595 bus_poll, so that should be fine too.
5597 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
5599 * gst/gst.c: (ensure_current_registry_forking):
5600 Ignore EINTR when reading from the child registry pipe.
5601 Explicitly ignore the return value from close, since it makes no
5604 * gst/gstminiobject.c: (gst_mini_object_ref),
5605 (gst_mini_object_unref):
5606 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
5608 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
5609 When removing cached plugins, remove their features too, so they're
5610 not visible after they've disappeared.
5612 * gst/gstutils.c: (prepare_link_maybe_ghosting):
5613 In the unlikely case that we are linking pads with no parents, don't
5614 crash trying to get the non-existent parent bin.
5616 * gst/parse/grammar.y:
5617 Output debug in the PIPELINE category
5619 2005-03-08 Wim Taymans <wim@fluendo.com>
5621 Patch by: René Stadler <mail at renestadler dot de>
5623 * gst/gstclock.c: (gst_clock_new_periodic_id):
5624 Reject invalid clock times for interval of periodic ids.
5627 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
5629 * gst/gstelementfactory.c: (gst_element_factory_create):
5630 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
5631 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
5632 * tools/gst-inspect.c: (print_element_info):
5633 Fix refcounting of gst_plugin_feature_load to match the docs.
5636 2006-12-07 Wim Taymans <wim@fluendo.com>
5638 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
5639 (gst_base_sink_get_position):
5640 Improve debugging of events.
5642 2006-12-07 Wim Taymans <wim@fluendo.com>
5644 Patch by: René Stadler <mail at renestadler dot de>
5646 * gst/gstclock.c: (gst_clock_id_wait):
5647 Make period ids add the interval to the origial requested time instead
5648 of the possibly updated time which can be wrong when there are multiple
5649 waiters for the same id. Fixes #382592.
5651 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
5652 (gst_system_clock_id_wait_jitter_unlocked),
5653 (gst_system_clock_id_wait_jitter):
5654 Fix restart in the async notify thread when an async entry is added to
5655 the front of the list. Fixes #381492.
5657 * tests/check/gst/gstsystemclock.c: (store_callback),
5658 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
5659 Added test for multiple async waits.
5660 Added test for async wait order.
5662 2006-12-07 Wim Taymans <wim@fluendo.com>
5664 * gst/gstbin.c: (gst_bin_query):
5665 Add some more docs about the POSITION query.
5667 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
5670 Bump version nano - back to CVS.
5672 === release 0.10.11 ===
5674 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
5677 releasing 0.10.11, "Love never runs on time"
5679 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
5681 * win32/common/libgstbase.def:
5682 * win32/common/libgstreamer.def:
5683 * win32/vs8/libgstbase.vcproj:
5684 * win32/vs8/libgstcoreelements.vcproj:
5685 * win32/vs8/libgstreamer.vcproj:
5686 Fix compilation on win32 under VS8
5687 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
5688 Partially fixes #381175
5690 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
5692 * gst/gstvalue.c: (gst_value_compare_fraction):
5693 If someone is foolish enough to compare 2 fractions with denominator =
5694 0, return UNORDERED rather than aborting.
5696 2006-11-28 Edward Hervey <edward@fluendo.com>
5698 * libs/gst/base/Makefile.am:
5699 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
5700 (gst_data_queue_base_init), (gst_data_queue_class_init),
5701 (gst_data_queue_init), (gst_data_queue_new),
5702 (gst_data_queue_cleanup), (gst_data_queue_finalize),
5703 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
5704 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
5705 (gst_data_queue_is_empty), (gst_data_queue_is_full),
5706 (gst_data_queue_set_flushing), (gst_data_queue_push),
5707 (gst_data_queue_pop), (gst_data_queue_drop_head),
5708 (gst_data_queue_set_property), (gst_data_queue_get_property):
5709 * libs/gst/base/gstdataqueue.h:
5710 New GstDataQueue object for threadsafe queueing. Most useful for
5711 elements that need some queueing functionnality.
5712 * docs/libs/gstreamer-libs-docs.sgml:
5713 * docs/libs/gstreamer-libs-sections.txt:
5714 Insert documentation for GstDataQueue
5715 * plugins/elements/Makefile.am:
5716 * plugins/elements/gstelements.c:
5717 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
5718 (gst_multi_queue_class_init), (gst_multi_queue_init),
5719 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
5720 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
5721 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
5722 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
5723 (gst_multi_queue_loop), (gst_multi_queue_chain),
5724 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5725 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
5726 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
5727 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
5728 (wake_up_next_non_linked), (compute_next_non_linked),
5729 (single_queue_overrun_cb), (single_queue_underrun_cb),
5730 (single_queue_check_full), (gst_single_queue_new):
5731 * plugins/elements/gstmultiqueue.h:
5732 New multiqueue element, using GstDataQueue. Used for queuing multiple
5734 Closes #344639 and #347785
5736 2006-11-22 Stefan Kost <ensonic@users.sf.net>
5738 * docs/pwg/advanced-types.xml:
5739 add more missing type details
5741 * tools/gst-run.c: (main):
5742 remove unused variable
5744 2006-11-21 Stefan Kost <ensonic@users.sf.net>
5746 * docs/libs/Makefile.am:
5747 * docs/libs/gstreamer-libs.types:
5748 add types of base classes to enable gobject specific stuff in the docs
5750 * docs/random/ensonic/embedded.txt:
5751 more ideas about isolating platform specific things
5753 2006-11-20 Wim Taymans <wim@fluendo.com>
5755 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
5757 * libs/gst/check/gstcheck.h:
5758 Fix compilation and running against 0.9.4. Fixes #377332.
5760 2006-11-20 Wim Taymans <wim@fluendo.com>
5762 * gst/gstsegment.c: (gst_segment_set_seek),
5763 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5764 (gst_segment_to_running_time):
5765 Fix boundary checking in to_running_time() and to_stream_time().
5768 * tests/check/gst/gstsegment.c: (GST_START_TEST):
5769 stream and running time can now be calculated for the complete
5772 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
5774 * gst/gstpad.c: (gst_pad_push_event):
5775 Can't access event structure after giving away ownership of
5778 2006-11-15 Stefan Kost <ensonic@users.sf.net>
5780 * docs/random/ensonic/embedded.txt:
5781 * docs/random/ensonic/profiling.txt:
5782 * docs/random/ensonic/receipies.txt:
5785 2006-11-13 Wim Taymans <wim@fluendo.com>
5787 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5790 Fix documentation for gst_pad_dispatcher. Fixes #374475.
5792 2006-11-13 Wim Taymans <wim@fluendo.com>
5794 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
5796 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
5797 Store new length in segment duration so we don't keep on calling the
5798 potentially expensize get_size() call. Fixes #370865.
5800 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
5802 Patch by: Sergey Scobich <sergey.scobich at gmail com>
5804 * win32/common/libgstreamer.def:
5805 Add two missing symbols (#366492).
5807 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
5809 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
5810 (gst_adapter_take_buffer):
5811 Fix format string to use all its arguments.
5812 Remove useless >= check on a guint
5814 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
5816 * tests/examples/adapter/.cvsignore:
5817 Ignore build file as commanded by the build-bot
5819 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
5821 * tests/examples/adapter/Makefile.am:
5822 * tests/examples/adapter/adapter_test.c: (run_test_take),
5823 (run_test_take_buffer), (run_tests), (main):
5825 Add new files from the previous commit
5827 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
5831 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
5832 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
5833 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
5834 * libs/gst/base/gstadapter.h:
5835 * tests/check/libs/adapter.c: (create_and_fill_adapter),
5836 (GST_START_TEST), (gst_adapter_suite):
5837 * tests/examples/Makefile.am:
5838 Do some optimisation work in GstAdapter to avoid copies in more cases.
5839 It could still do slightly better by merging buffers when
5840 gst_buffer_is_span_fast is true, but is already faster.
5842 Also, avoid traversing a single-linked list to append each incoming
5843 buffer inside the adapter.
5845 Add simple test app that times the adapter behaviour in different
5846 situations, and extend the unit test to check that bytes enter and
5847 exit the adapter in their original order.
5849 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
5851 * docs/random/draft-missing-plugins.txt:
5852 Update: use element message instead of adding a new message
5853 type to the core; don't provide GStreamer API to initiate the
5854 plugin download, just provide API to compose the strings needed
5855 and let an external libgimmestuff handle the rest.
5857 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
5859 * tools/gst-inspect.c: (print_element_properties_info):
5860 Print a string instead of 'unknown type' for GValueArray properties
5862 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
5864 * docs/random/draft-missing-plugins.txt:
5867 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
5869 * tests/examples/typefind/typefind.c: (type_found), (main):
5870 Make typefind element example work again (#371894); add a
5873 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
5875 * docs/random/draft-missing-plugins.txt:
5876 Commit initial draft about how to deal with missing plugins,
5877 needs work (API too).
5879 2006-11-07 Stefan Kost <ensonic@users.sf.net>
5881 * docs/pwg/advanced-types.xml:
5882 documents the new caps elements (see #363118)
5884 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
5886 * gst/gstplugin.c: (gst_plugin_load_file):
5887 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
5888 (gst_file_src_map_region), (gst_file_src_start):
5889 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
5890 (gst_file_index_commit):
5891 Use g_strerror() instead of strerror() - we want UTF-8.
5893 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
5895 Patch by: Peter Kjellerstedt <pkj at axis com>
5897 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
5898 Another printf fix (#371493).
5900 2006-11-06 Stefan Kost <ensonic@users.sf.net>
5902 * tests/check/gst/gsttag.c:
5903 relicence (okay with author=company)
5905 2006-11-06 Stefan Kost <ensonic@users.sf.net>
5907 * gst/gstpad.c: (gst_pad_event_default_dispatch),
5908 (gst_pad_push_event):
5909 Enhance debug and improve docs
5914 2006-11-06 Stefan Kost <ensonic@users.sf.net>
5916 * docs/random/ensonic/distributed.txt:
5917 * docs/random/ensonic/profiling.txt:
5920 2006-11-06 Stefan Kost <ensonic@users.sf.net>
5922 * docs/gst/gstreamer-sections.txt:
5923 add new API and fix the build
5925 * gst/gstbin.c: (gst_bin_recalc_state):
5926 * gst/gstelement.c: (gst_element_message_full),
5927 (gst_element_get_state_func), (gst_element_set_state_func):
5928 use new API and improve logging
5930 * gst/gstutils.c: (gst_element_state_change_return_get_name):
5932 API: add function to get StateChangereturn names to improve logs
5934 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
5936 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
5937 I'm considering shooting the next person to put strerror stuff
5938 in the translateable part of the message.
5940 2006-11-03 Wim Taymans <wim@fluendo.com>
5942 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
5943 Get the type and printf conversion specifiers right.
5945 2006-11-03 Wim Taymans <wim@fluendo.com>
5947 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5949 * gst/gstpad.c: (gst_pad_init), (pre_activate),
5950 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
5951 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
5952 Some small cleanups. Improve debugging.
5954 Signal all waiting threads with a broadcast instead of just one.
5957 2006-11-03 Wim Taymans <wim@fluendo.com>
5959 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
5960 (gst_fd_src_create):
5962 Only update fd when it's different from the old.
5964 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
5966 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
5967 Printf fixes for PPC/OSX, take two (#369366).
5969 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
5971 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
5973 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
5974 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
5975 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
5976 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
5977 don't cast to long long for portability reasons, but use
5978 GLib's types instead.
5980 2006-10-30 Michael Smith <msmith@fluendo.com>
5982 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
5983 Get the arguments to lseek() the right way around.
5986 2006-10-30 Wim Taymans <wim@fluendo.com>
5988 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
5991 _declspec should be __declspec (two underscores, not one). Fixes 366572.
5993 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
5995 Patch by: Kjartan Maraas <kmaraas at gnome org>
5997 * docs/design/part-MT-refcounting.txt:
5998 * docs/random/wtay/capsnego2-docs:
6001 Typo fixes (#366212).
6003 2006-10-28 Wim Taymans <wim@fluendo.com>
6005 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
6008 * win32/common/libgstbase.def:
6009 * win32/common/libgstreamer.def:
6010 * win32/vs8/libgstbase.vcproj:
6011 * win32/vs8/libgstcontroller.vcproj:
6012 Add needed entries in .def files.
6014 Rearrange def files in vs8 solutions. Fixes #366286.
6016 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
6018 * win32/common/gstconfig.h:
6019 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
6020 hand-made win32 gstconfig.h. Fixes #366321.
6022 2006-10-27 Wim Taymans <wim@fluendo.com>
6024 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
6025 (gst_ghost_pad_new_full):
6026 Make acceptcaps return TRUE when we don't have a target, just like
6029 2006-10-27 Wim Taymans <wim@fluendo.com>
6031 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
6032 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
6034 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
6036 * gst/gststructure.c: (gst_structure_id_set_value):
6037 If someone tries to set a non-UTF8 string field on a structure,
6038 don't just print a warning, but also ignore the request and do
6039 not change/add that field to the structure.
6041 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6044 2006-10-25 David Schleef <ds@schleef.org>
6047 g_hash_table_insert() needs a cast to a non-const pointer duh.
6049 2006-10-25 David Schleef <ds@schleef.org>
6053 Change name parameter of _gst_debug_register_funcptr to const
6054 to reflect the constness of its use in the function as well
6055 as to quiet a gcc warning.
6057 2006-10-25 Edward Hervey <edward@fluendo.com>
6059 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
6060 Don't push the buffer if it's empty.
6063 2006-10-24 Wim Taymans <wim@fluendo.com>
6068 * libs/gst/base/gstbasetransform.c:
6069 (gst_base_transform_sink_eventfunc):
6070 Debug segment values *after* updating them as this is more
6073 2006-10-23 Wim Taymans <wim@fluendo.com>
6075 * docs/design/part-events.txt:
6078 * docs/design/part-block.txt:
6079 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
6080 (gst_pad_push_event):
6081 Revert BLOCKING patch, it tries to be smart without really having a
6082 clear idea what or how. So, now we discard all FLUSHING events again on
6083 a blocking pad. Should fix gnonlin again.
6085 2006-10-23 Wim Taymans <wim@fluendo.com>
6087 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
6089 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6090 (gst_base_src_start), (gst_base_src_activate_push):
6091 Make sure size is always initialized. Fixes #364388.
6093 2006-10-20 Stefan Kost <ensonic@users.sf.net>
6095 * docs/random/ensonic/distributed.txt:
6096 add some ideas about doing distributed processing
6098 * docs/random/ensonic/profiling.txt:
6099 get_rusage look promising
6101 2006-10-18 Stefan Kost <ensonic@users.sf.net>
6103 * docs/manual/basics-helloworld.xml:
6104 Add a cast in example to fix compile warning
6106 2006-10-18 Wim Taymans <wim@fluendo.com>
6108 * gst/gstsegment.c: (gst_segment_set_last_stop),
6109 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
6110 Relax arg checking again, -1 is allowed.
6112 2006-10-18 Wim Taymans <wim@fluendo.com>
6114 * gst/gstsegment.c: (gst_segment_set_last_stop),
6115 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
6116 _set_last_stop() must be with a value != -1
6117 A _TYPE_SET to -1 means seek to 0.
6118 Calc last_stop correctly for negative rates.
6119 Make sure we work with positive durations when updating a segment.
6121 2006-10-18 Wim Taymans <wim@fluendo.com>
6123 * docs/design/part-live-source.txt:
6127 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
6130 Add an explicit cast to GstBuffer** to keep old code that added an
6131 explicit cast to GstMiniObject** for gst_mini_object_replace()
6132 compiling without warning.
6134 2006-10-18 Stefan Kost <ensonic@users.sf.net>
6136 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
6137 check for validity of dates
6139 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
6141 * docs/gst/gstreamer-sections.txt:
6142 Forgot this one, makes gtk-doc shut up.
6144 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
6146 Patch by: Peter Kjellerstedt <pkj at axis com>
6149 Don't define xmlNodePtr to gpointer if the core was built with
6150 --disable-loadsave and --disable-registry, this will break
6151 applications that want to use libxml2 but are buildling against a
6152 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
6153 instead so we don't have to mess with the libxml2 namespace
6156 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
6159 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
6160 type-punned pointer warnings.
6162 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
6165 Add casts to the correct return type to state <=> state transition
6168 2006-10-16 Stefan Kost <ensonic@users.sf.net>
6170 * docs/design/part-live-source.txt:
6171 describe howto handle latency
6173 * docs/random/ensonic/profiling.txt:
6176 * tools/gst-plot-timeline.py:
6177 fix log parsing for solaris, remove unused function
6179 2006-10-16 Wim Taymans <wim@fluendo.com>
6181 * docs/design/part-trickmodes.txt:
6183 Update some docs regarding reverse playback.
6185 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
6187 Patch by: Marcus Granado <mrc dot gran at gmail com>
6189 * win32/vs8/grammar.vcproj:
6190 Error out with a warning if glib-genmarshal.exe is not in path,
6191 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
6193 2006-10-13 Wim Taymans <wim@fluendo.com>
6195 * gst/gstsegment.c: (gst_segment_set_seek):
6196 When seeking to stop -1, set last_stop (current position) to the
6197 duration of the segment.
6199 2006-10-13 Wim Taymans <wim@fluendo.com>
6202 Clarify _NO_PREROLL a bit more.
6207 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
6208 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
6209 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
6210 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
6211 due to wrong locking order. Fixes #361769.
6212 Remove some redundant/misplaced checks in pad_block.
6214 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6215 For negative rates, count backwards from the duration.
6217 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
6219 * gst/gsterror.c: (_gst_library_errors_init):
6220 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
6221 up with something better).
6223 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
6225 * win32/vs6/libgstreamer.dsp:
6226 * win32/vs7/libgstreamer.vcproj:
6227 * win32/vs8/libgstreamer.vcproj:
6228 Don't reference glib-compat.c which is currently not used and not
6229 disted; add gstquark.c which was recently added. Fixes #361730.
6231 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
6233 * win32/common/libgstbase.def:
6234 * win32/common/libgstcontroller.def:
6235 * win32/common/libgstreamer.def:
6236 Add gst_caps_merge() and a bunch of other recently-added functions.
6239 2006-10-11 Wim Taymans <wim@fluendo.com>
6241 * docs/plugins/gstreamer-plugins.args:
6242 * docs/plugins/inspect/plugin-coreelements.xml:
6243 * docs/plugins/inspect/plugin-coreindexers.xml:
6244 Update element args.
6246 * gst/gstsystemclock.c:
6247 Small comment update.
6249 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
6250 (gst_tee_request_new_pad), (gst_tee_release_pad),
6251 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
6252 (gst_tee_sink_activate_pull):
6253 * plugins/elements/gsttee.h:
6255 Add default property defines.
6256 Implement release pad function.
6257 Give properties better blubs etc.
6258 Activate pads before adding them to a running tee.
6259 Do simple buffer_alloc on the first requested pad.
6260 Post error when activation fails.
6262 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
6264 * gst/gst.c: (ensure_current_registry_forking):
6265 Check return value of write() to make compiler happy.
6267 2006-10-11 Wim Taymans <wim@fluendo.com>
6269 Patch by: Sjoerd Simons <sjoerd at luon dot net>
6271 * plugins/elements/gstqueue.c: (gst_queue_chain):
6272 Recheck queue filledness after signalling the overrun when we're about
6273 to leak downstream because we released the lock when emitting the signal
6274 and the queue could be empty again. Fixes #352345.
6276 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
6278 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
6279 Fix refcounting here too, just like we did for _new_valist() a few
6280 days ago (#357180) (thanks to René Stadler). Also remove all those
6281 'Since: 0.9' from the gtk-doc blobs.
6283 * tests/check/libs/controller.c: (controller_refcount_new_list),
6284 (gst_controller_suite):
6285 Unit test for the above.
6287 2006-10-10 Wim Taymans <wim@fluendo.com>
6289 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
6291 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
6292 (gst_pad_save_thyself):
6294 Write pad direction in XML output. Fixes #345496.
6296 2006-10-10 Wim Taymans <wim@fluendo.com>
6298 Patch by: René Stadler <mail at renestadler dot de>
6300 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6301 (gst_controller_new_list), (_gst_controller_dispose),
6302 (_gst_controller_finalize), (_gst_controller_class_init):
6303 Take ref to controlled object so that it cannot disappear.
6306 2006-10-10 Wim Taymans <wim@fluendo.com>
6308 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6309 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
6310 (gst_check_teardown_sink_pad):
6311 Activate/deactivate pads in setup/teardown respectively.
6313 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6315 Patch by: Josep Torre Valles <josep@fluendo.com>
6318 Cast values when making gstenumtypes.h. This pacifies Forte
6319 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
6322 2006-10-09 Wim Taymans <wim@fluendo.com>
6324 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
6325 Rename some more @cur to @start to fix docs.
6327 * gst/gstsegment.c: (gst_segment_set_seek):
6329 time and start must always stay in sync as defined in design doc.
6331 * gst/gsttaglist.c: (gst_tag_list_is_empty):
6332 Rename param to fix docs.
6334 * tests/check/gst/gstsegment.c: (GST_START_TEST):
6335 Check that start and time are in sync.
6337 * tests/check/pipelines/parse-launch.c:
6338 (gst_parse_test_element_change_state):
6339 Activate pad before adding to the element.
6341 2006-10-09 Wim Taymans <wim@fluendo.com>
6343 * docs/design/part-qos.txt:
6348 Update seek event docs regarding negative rates.
6349 Rename @cur to @start.
6351 * gst/gstsegment.c: (gst_segment_set_seek):
6353 Update set_seek docs regarding negative rates.
6354 Correctly update last_stop to @stop when dealing with negative
6356 Rename @cur to @start.
6358 * tests/check/gst/gstpad.c: (GST_START_TEST):
6359 Activate pads before trying to use them.
6361 * tests/check/gst/gstsegment.c: (GST_START_TEST),
6362 (gst_segment_suite):
6363 Add simple check for segments and negative rates.
6365 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
6367 * gst/gsttaglist.c: (gst_tag_list_is_empty):
6369 * docs/gst/gstreamer-sections.txt:
6370 API: add gst_tag_list_is_empty() (#360467).
6372 * tests/check/gst/gsttag.c: (GST_START_TEST):
6375 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6378 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
6379 a value that doesn't fit on enumeration.
6381 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6383 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6384 Remove local debugging system and use Gstreamer's instead.
6386 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6388 Patch by: Josep Torre Valles <josep@fluendo.com>
6390 * common/m4/gst-error.m4:
6391 Disable warning of statement not reached on Forte.
6393 Fix warning on Forte (value doesn't fit on enumeration).
6394 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
6395 Fix warning on Forte (value doesn't fit on enumeration).
6396 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6397 DEBUG macro says it takes minimum of 2 args and so Forte
6398 complains about the use with just 1 arg.
6399 * plugins/elements/gstfdsink.c:
6400 * plugins/elements/gstfdsrc.c:
6401 * plugins/elements/gstfilesink.c:
6402 * plugins/elements/gstfilesrc.c:
6403 Use correct return type for the uri handler implementations.
6405 All these fix warnings in Forte. Fixes bug #360860.
6407 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
6410 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
6411 format string, so don't use G_GNUC_PRINTF for those versions.
6413 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
6415 * gst/gsttaglist.c: (gst_is_tag_list):
6417 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
6419 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6420 Small test for the above.
6422 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
6425 Less tabs, more spaces.
6427 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
6430 Those two function declarations do actually belong there, revert
6431 commit from yesterday that turned them intro macros.
6433 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6435 Patch by: Josep Torre Valles <josep@fluendo.com>
6437 * gst/gst.c: (gst_init_get_option_group):
6438 Fix empty declaration and type mismatch.
6439 * gst/gstbin.c: (gst_bin_change_state_func):
6441 * gst/gstelement.c: (gst_element_continue_state),
6442 (gst_element_set_state_func), (gst_element_change_state),
6443 (gst_element_change_state_func):
6444 Fix type mismatches.
6445 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
6446 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
6447 Cast as appropriate.
6448 * gst/gstobject.c: (gst_class_signal_connect):
6449 Cast as appropriate. The function pointer parameter really
6450 has the wrong type but would break API if we change it.
6452 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
6453 order of including string.h.
6454 * gst/gstutils.c: (gst_element_state_get_name):
6455 Remove unreachable line.
6456 * gst/gstxml.c: (gst_xml_parse_doc):
6458 All these caught by Forte.
6460 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6462 Patch by: Josep Torre Valles <josep@fluendo.com>
6464 * common/m4/gst-error.m4:
6466 We need to disable warnings on Forte for empty declarations
6467 due to gst-indent adding ;s to lines that just use macros
6468 where the macro actually doesn't need a ; at end to end
6471 2006-10-06 Wim Taymans <wim@fluendo.com>
6473 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6474 (gst_file_sink_close_file), (gst_file_sink_event),
6475 (gst_file_sink_render):
6476 Add some FIXME for the NEWSEGMENT handling.
6478 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6480 * gst/parse/grammar.y:
6481 Remove static function gst_parse_element_lock as all it does
6482 is return. Looks like cruft from 0.8.
6484 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6486 Patch by: Josep Torre Valles <josep@fluendo.com>
6488 * common/m4/gst-error.m4:
6490 * libs/gst/net/Makefile.am:
6491 Fix a compilation issue with Forte on Solaris. inet_aton is in
6494 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
6496 * gst/gstpad.c: (pre_activate):
6497 * gst/gstregistry.c: (gst_registry_scan_path_level):
6498 * gst/gstregistryxml.c: (load_plugin):
6499 * libs/gst/controller/gstcontroller.c:
6500 (gst_controlled_property_set_interpolation_mode):
6501 * libs/gst/dataprotocol/dataprotocol.c:
6502 (gst_dp_packet_from_event_1_0):
6503 * libs/gst/net/gstnetclientclock.c:
6504 (gst_net_client_clock_observe_times):
6505 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
6508 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
6511 * docs/gst/gstreamer-sections.txt:
6512 * gst/gstconfig.h.in:
6515 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
6516 whether we can use G_GNUC_PRINTF in other header files and at
6517 least check the printf format/arguments of debug messages and
6518 GST_ELEMENT_ERROR messages when the printf extension is not
6520 Replace more tabs with spaces in gstinfo.h and remove two spurious
6521 function declarations in GST_DISABLE_DEBUG part with macros.
6523 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
6525 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
6526 More docs for the sync-message signal (mention that it is not
6527 emitted by default); log message structures of messages posted on
6530 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
6532 * gst/gst.c: (ensure_current_registry_forking):
6533 Use a pipe pair to receive status results from the forked child, and
6534 ignore the result from waitpid. Fixes #355499
6536 2006-10-02 Wim Taymans <wim@fluendo.com>
6538 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
6539 (gst_ghost_pad_suite):
6542 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
6545 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
6547 2006-10-02 Edward Hervey <edward@fluendo.com>
6549 * docs/design/part-block.txt:
6550 Further explain the use of flushing on blocked pads.
6551 * docs/gst/gstreamer-sections.txt:
6552 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
6553 (gst_pad_push_event):
6555 Added new GstPadFlag : GST_PAD_BLOCKING.
6556 Adds the notion of pads really blocking, which enables to properly
6557 handle FLUSH_START/FLUSH_STOP events on blocked pads.
6559 API: gst_pad_is_blocking()
6560 API: GST_PAD_IS_BLOCKING() macro
6561 API: GST_PAD_BLOCKING GstPadFlag
6563 2006-10-02 Wim Taymans <wim@fluendo.com>
6565 Patch by: mrcgran <mrc.gran at gmail dot com>
6567 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
6568 Filter the proxied caps against the padtemplate if we have one.
6570 * gst/gstquery.c: (gst_query_new_segment):
6571 Add include for gstinfo.h so that compilation with
6572 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
6574 2006-10-02 Wim Taymans <wim@fluendo.com>
6576 Patch by: Alessandro Decina <alessandro at nnva org>
6578 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
6579 (gst_file_sink_set_location), (gst_file_sink_open_file),
6580 (gst_file_sink_close_file), (gst_file_sink_event),
6581 (gst_file_sink_render):
6582 Set file to NULL when closing filesink so that we can set a new filename
6583 in READY. Fixes #358613.
6585 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
6587 Patch by: Alessandro Decina <alessandro at nnva org>
6589 * gst/gstevent.c: (_gst_event_copy):
6590 Fix gst_mini_object_make_writable() and gst_event_copy() for events
6591 with event structures by setting the parent refcount address of the
6592 copied structure to the address of the refcount member of the newly
6593 copied event rather than the address of the refcount member of the
6594 original event. Fixes #358737.
6596 * tests/check/gst/gstevent.c: (GST_START_TEST):
6597 Unit test for the above.
6599 2006-09-29 Stefan Kost <ensonic@users.sf.net>
6601 * docs/design/Makefile.am:
6602 Dist some more files.
6604 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
6606 * tests/check/libs/controller.c: (GST_START_TEST),
6607 (gst_controller_suite):
6608 Add test for the previous fix; add some more tests
6609 for correct refcounting behaviour; fix a few leaks
6610 in test cases; call gst_controller_init() at start
6613 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
6615 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6616 (gst_controller_set_from_list):
6617 Don't g_return_val_if_fail() on timed values with invalid timestamps
6618 inside a critical section without unlocking the mutex. Spotted by
6619 René Stadler. (#357617)
6620 Also, fix up refcounting properly: when returning an existing
6621 controller, we should increase the reference only once and not
6622 once per property and when trying to control a property again
6623 we should also increase the refcount.
6625 2006-09-29 Wim Taymans <wim@fluendo.com>
6627 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6628 * libs/gst/net/gstnettimeprovider.c:
6629 (gst_net_time_provider_thread):
6630 Stop reading commands when EOF as well.
6632 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
6633 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
6634 * plugins/elements/gstidentity.c: (gst_identity_class_init):
6635 Unify description of the dump property.
6637 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
6639 * tests/examples/manual/.cvsignore:
6640 OK, so it's actually cvsignore that needs changing. Stop laughing.
6642 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
6644 * tests/examples/manual/Makefile.am:
6645 Gah, declare vars *before* using them
6647 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
6649 * gst/gst.c: (init_pre), (scan_and_update_registry),
6650 (ensure_current_registry_nonforking),
6651 (ensure_current_registry_forking), (ensure_current_registry),
6652 (init_post), (gst_debug_help), (gst_deinit):
6653 * gst/gst_private.h:
6654 * gst/gstregistry.c: (gst_registry_finalize),
6655 (gst_registry_remove_features_for_plugin_unlocked),
6656 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6657 (gst_registry_scan_path),
6658 (_priv_gst_registry_remove_cache_plugins),
6659 (_priv_gst_registry_cleanup):
6660 * gst/gstregistry.h:
6661 Re-commit the registry changes, along with an extra fix:
6662 When a cached plugin is encountered at a different file path,
6663 update the stored path in the registry cache so that the parent
6664 process knows where it actually is now when it re-reads the registry
6665 cache. Fixes the thing that broke distcheck with the previous commit.
6667 * tests/check/Makefile.am:
6668 Clean up files named 'core' too when running make clean.
6670 * tests/examples/manual/Makefile.am:
6671 Set up a registry path for running these tests, and clean it properly
6674 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
6677 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
6678 want gmodule-no-export-2.0.pc instead so that we don't drag in
6679 --export-dynamic on every project that links to GStreamer.
6681 Also, make our export regex only match the start of symbols, rather
6682 than any symbol that contains '_gst' somewhere.
6684 * libs/gst/check/Makefile.am:
6685 The libgstcheck we build does however need export-dynamic, as it
6686 produces some symbols that don't match our _gst... style regex.
6689 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
6691 * gst/gst.c: (init_pre), (scan_and_update_registry),
6692 (ensure_current_registry_nonforking),
6693 (ensure_current_registry_forking), (ensure_current_registry),
6694 (init_post), (gst_debug_help), (gst_deinit):
6695 * gst/gst_private.h:
6696 * gst/gstregistry.c: (gst_registry_finalize),
6697 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6698 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
6699 (_gst_registry_cleanup):
6700 * gst/gstregistry.h:
6701 Revert previous change until I figure out why it breaks distcheck.
6703 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
6705 * gst/gst.c: (init_pre), (scan_and_update_registry),
6706 (ensure_current_registry_nonforking),
6707 (ensure_current_registry_forking), (ensure_current_registry),
6708 (init_post), (gst_debug_help), (gst_deinit):
6710 Make init_pre and init_post take the full complement of GOptionFunc
6711 args so they can return useful GErrors. Make the registry updating
6714 Call _priv_gst_registry_remove_cache_plugins after scanning files to
6715 ensure that the registry we're about to write out doesn't contain
6716 stale information about old-deleted plugin files.
6718 Make _priv_gst_registry_remove_cache_plugins return a boolean so
6719 that deletion of plugin files is considered a registry change.
6721 * gst/gst_private.h:
6722 * gst/gstregistry.c: (gst_registry_finalize),
6723 (gst_registry_remove_features_for_plugin_unlocked),
6724 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6725 (gst_registry_scan_path),
6726 (_priv_gst_registry_remove_cache_plugins),
6727 (_priv_gst_registry_cleanup):
6728 * gst/gstregistry.h:
6729 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
6730 by adding _priv prefix, so that they won't appear in the global
6731 symbol table. They still do atm though because of #318031. Move the
6732 prototypes to gst_private.h
6734 When removing a plugin, remove all features for that plugin too.
6737 2006-09-27 Wim Taymans <wim@fluendo.com>
6739 * docs/random/moving-plugins:
6740 Make it clear that the "compiled-in descriptions" really mean
6741 the element details.
6743 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6744 (gst_base_sink_wait_preroll):
6747 * docs/libs/gstreamer-libs-sections.txt:
6748 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6749 (gst_base_src_get_range), (gst_base_src_activate_push):
6750 * libs/gst/base/gstbasesrc.h:
6751 Added function to block while waiting for PLAYING, this function
6752 is used by live sources that block on the clock.
6753 API: gst_base_src_wait_playing()
6755 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
6757 Patch by: Peter Kjellerstedt <pkj at axis com>
6760 gst-element-check.m4 is generated and should therefore be
6761 copied from the build dir rather than the source dir (#357593).
6762 'make distcheck' hasn't noticed this because we were disting
6763 the file as well, so stop doing that.
6765 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
6767 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6768 Add some tests for gst_caps_intersect().
6770 * tools/gst-launch.c: (event_loop):
6771 Print all buffering percentages we get, even the 100% one.
6773 2006-09-26 Wim Taymans <wim@fluendo.com>
6775 * tools/gst-inspect.c: (print_element_properties_info),
6776 (print_signal_info):
6777 Fix printing of flags to match the look of enums.
6779 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
6781 * gst/gstelementfactory.c:
6782 Fix typo in docs blurb.
6784 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
6786 * gst/gsturi.c: (search_by_entry):
6787 Don't assert/crash here if a uri handler doesn't return any
6788 supported protocols. The list of protocols could be generated
6789 dynamically at runtime or at plugin registration, and an error
6790 in the underlying library shouldn't be fatal (#353301).
6792 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
6795 Fix warning if HAVE_PRINTF_EXTENSION is undefined
6796 (spotted by Peter Kjellerstedt).
6798 2006-09-23 Wim Taymans <wim@fluendo.com>
6800 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
6802 * libs/gst/base/gstbasesrc.c:
6803 (gst_base_src_default_check_get_range), (gst_base_src_start),
6804 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6805 (gst_base_src_change_state):
6806 Match _start/_stop calls in the activate functions. Remove redundant
6807 _stop call from the state change function. Fixes #356910.
6808 Turn failure DEBUG into ERROR.
6810 2006-09-22 Wim Taymans <wim@fluendo.com>
6812 * docs/design/part-buffering.txt:
6813 * gst/gstmessage.c: (gst_message_new_buffering),
6814 (gst_message_parse_buffering):
6815 Update docs about buffering.
6817 * docs/design/part-trickmodes.txt:
6820 2006-09-22 Stefan Kost <ensonic@users.sf.net>
6822 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6823 (gst_controller_new_list):
6824 Ref instances when returning them again (fixes #357180)
6826 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
6828 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
6829 Don't forget to release proxy lock when there's an error.
6831 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
6834 Add extra initialisers for Caps things, to fix some plugin warnings
6837 2006-09-18 Wim Taymans <wim@fluendo.com>
6839 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
6840 Also set template on the internal pad so that a getcaps from the
6841 target pad returns the template caps.
6843 2006-09-18 Wim Taymans <wim@fluendo.com>
6845 * gst/gstelement.c: (gst_element_post_message),
6846 (gst_element_dispose):
6847 Use _DEBUG_OBJECT some more.
6849 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6852 * tools/gst-launch.c: (main):
6853 If the toplevel element is not a GstPipeline, it must be put in a
6854 pipeline so that a bus and clock is selected.
6856 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
6858 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
6859 JITTER, RATE, and LATENCY query should be handled by the
6860 default case and not by the CONVERT query code.
6862 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
6864 * gst/gstformat.c: (gst_format_register):
6865 Fix locking order (must take lock before using n_values).
6867 * gst/gstvalue.c: (gst_value_serialize_enum),
6868 (gst_value_deserialize_enum_iter_cmp),
6869 (gst_value_deserialize_enum):
6870 Fix serialisation/deserialisation of custom registered GstFormats.
6872 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6873 Unit test for custom format serialisation/deserialisation.
6875 2006-09-17 Stefan Kost <ensonic@users.sf.net>
6877 * docs/pwg/building-boiler.xml:
6878 * plugins/elements/gstcapsfilter.c:
6879 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
6882 2006-09-16 Edward Hervey <edward@fluendo.com>
6884 * libs/gst/base/gstbasetransform.c:
6885 (gst_base_transform_buffer_alloc):
6886 Check if requested caps are the same as the sinks caps IF
6887 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
6889 This fixes the renegotiation issues stated in #352827.
6891 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
6894 * docs/manual/advanced-autoplugging.xml:
6895 * tests/examples/Makefile.am:
6896 * tests/examples/manual/.cvsignore:
6897 * tests/examples/manual/Makefile.am:
6898 * tests/examples/manual/extract.pl:
6899 Extract the manual examples again like we used to do.
6902 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
6904 * win32/common/config.h:
6907 2006-09-16 Stefan Kost <ensonic@users.sf.net>
6910 Documents how to receive errors.
6912 2006-09-15 Wim Taymans <wim@fluendo.com>
6914 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
6915 (event_loop), (main):
6916 Added some comments here and there.
6917 Post an application message when an interrupt is caught instead of doing
6918 an uncontrolled state change.
6919 Clean up the event loop.
6920 Handle buffering messages, pause/resume the pipeline.
6921 Make shutdown because of an interrupt more reliable.
6923 2006-09-15 Wim Taymans <wim@fluendo.com>
6925 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6926 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
6927 (gst_base_sink_preroll_object):
6928 Make sure that our internal state is correct when we commit our state
6929 asynchronously. This solves a race where a state change to PLAYING
6930 could cause the sink to remain blocked in preroll in some situations.
6932 2006-09-15 Wim Taymans <wim@fluendo.com>
6934 * tools/gst-inspect.c: (print_element_properties_info),
6935 (print_signal_info):
6936 List flags as hex so it's easier to deal with.
6938 2006-09-15 Wim Taymans <wim@fluendo.com>
6940 * docs/libs/gstreamer-libs-sections.txt:
6941 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
6942 (gst_base_sink_do_sync):
6943 * libs/gst/base/gstbasesink.h:
6944 Expose logic to wait for preroll so that subclasses such as audiosink
6945 can also use this method.
6946 API: gst_base_sink_wait_preroll()
6948 2006-09-15 Wim Taymans <wim@fluendo.com>
6950 * gst/gstobject.c: (gst_object_set_parent):
6951 * gst/gstpipeline.c: (do_pipeline_seek):
6952 Small cleanups in docs and code.
6954 * gst/gstsegment.c: (gst_segment_clip):
6955 * tests/check/gst/gstsegment.c: (GST_START_TEST):
6956 if stop == start and start is in the segment, no clipping should be
6957 done. Also add a test for this.
6959 2006-09-15 Wim Taymans <wim@fluendo.com>
6961 * docs/design/part-buffering.txt:
6962 * docs/gst/gstreamer-sections.txt:
6963 * gst/gstmessage.c: (gst_message_new_buffering),
6964 (gst_message_parse_buffering):
6966 Added methods to create and parse BUFFERING messages.
6967 Added preliminary docs about buffering.
6968 API: gst_message_new_buffering
6969 API: gst_message_parse_buffering
6971 2006-09-06 Wim Taymans <wim@fluendo.com>
6974 Update documentation.
6976 * gst/gstelement.c: (gst_element_class_init),
6977 (gst_element_release_request_pad), (gst_element_set_clock),
6978 (gst_element_get_index), (gst_element_add_pad),
6979 (gst_element_remove_pad), (gst_element_get_random_pad),
6980 (gst_element_send_event), (gst_element_get_query_types),
6981 (gst_element_query), (gst_element_post_message),
6982 (gst_element_message_full), (gst_element_continue_state),
6983 (gst_element_lost_state), (gst_element_save_thyself),
6984 (gst_element_restore_thyself):
6985 Documentation updates.
6986 Rename last bit of the new-pad -> pad-added signal rename.
6987 Fix the case where an element query would only work if the source
6989 Avoid some useless type checking in message handling.
6994 Documentation updates.
6996 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
6998 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
6999 add an INFO line for when we actually update the fd
7001 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
7006 === release 0.10.10 ===
7008 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
7011 releasing 0.10.10, "Pais"
7013 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
7015 * docs/manual/advanced-position.xml:
7016 Fix typo in sample code.
7018 2006-09-05 Wim Taymans <wim@fluendo.com>
7020 * libs/gst/net/gstnetclientclock.c: (inet_aton),
7021 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
7022 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
7023 * libs/gst/net/gstnetclientclock.h:
7024 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
7025 * libs/gst/net/gstnettimepacket.h:
7026 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
7027 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
7028 (gst_net_time_provider_thread), (gst_net_time_provider_new):
7029 * libs/gst/net/gstnettimeprovider.h:
7030 Make stuff compile on windows. Fixes #345295.
7032 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
7034 * gst/gst.c: (ensure_current_registry_forking):
7035 Print better details when child was terminated by signal.
7037 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
7039 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
7040 Print a warning rather than g_assert() if a plugin feature
7041 is a URI handler but returns no protocols (#353976).
7043 2006-09-02 Stefan Kost <ensonic@users.sf.net>
7045 * docs/random/moving-plugins:
7048 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
7050 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
7051 Fix locking order, handle NULL function values properly.
7056 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
7057 Initialise variable before using it and fix debug statement to
7058 print the address of the function rather than the address of the
7059 variable on the stack holding the address of the function.
7061 2006-09-01 Wim Taymans <wim@fluendo.com>
7063 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
7064 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
7065 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
7066 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
7067 (gst_ghost_pad_parent_unset),
7068 (gst_ghost_pad_internal_do_activate_push),
7069 (gst_ghost_pad_internal_do_activate_pull),
7070 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7071 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7072 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
7073 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
7074 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
7075 (gst_ghost_pad_new_no_target_from_template),
7076 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
7078 Avoid needless typechecking in macros.
7079 Since the internal pad is always present and never changes, there is
7080 no need to locking or ref when retrieving it.
7081 Improve debugging a bit.
7082 Handle link errors when setting the target. Fixes #341029.
7084 2006-09-01 Wim Taymans <wim@fluendo.com>
7086 * docs/libs/gstreamer-libs-sections.txt:
7087 * docs/plugins/gstreamer-plugins-sections.txt:
7090 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
7091 (gst_collect_pads_event):
7092 * libs/gst/base/gstcollectpads.h:
7093 Documentation updates.
7094 Free queued buffer when removing a pad.
7096 2006-08-31 Michael Smith <msmith@fluendo.com>
7098 * gst/gstutils.c: (gst_element_link_pads),
7099 (gst_element_link_pads_filtered):
7100 Ensure that we set a capsfilter to NULL if we failed to link it
7101 when doing filtered linking, to avoid criticals.
7103 No need to check for unreffing srcpad, which is explicly NULLed
7104 above (a trivial code cleanup).
7106 2006-08-31 Wim Taymans <wim@fluendo.com>
7108 * docs/design/part-gstghostpad.txt:
7109 Update ascii art in documentation.
7111 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
7112 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
7113 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
7114 (gst_ghost_pad_internal_do_activate_push),
7115 (gst_ghost_pad_internal_do_activate_pull),
7116 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7117 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7118 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
7119 (gst_ghost_pad_set_target):
7120 Small cleanups and leak fixes.
7121 Remove some checks now that the internal pad is never NULL.
7122 Fix the case where linking pads without a target would create nasty
7123 criticals. Fixes #341029.
7124 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
7125 value of _set_target().
7127 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
7128 (gst_ghost_pad_suite):
7129 Some more tests for creating and linking untargeted ghostpads.
7131 2006-08-31 Edward Hervey <edward@fluendo.com>
7133 * docs/gst/gstreamer-sections.txt:
7134 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
7135 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
7136 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
7137 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
7138 (gst_ghost_pad_new_from_template),
7139 (gst_ghost_pad_new_no_target_from_template):
7140 * gst/gstghostpad.h:
7141 Refactored *_new() functions.
7142 Templates are now used as a g_object_new() parameter.
7143 Use template in _do_getcaps() if we don't have a target.
7144 Small documentation cleanups.
7145 Added two new constructors:
7146 gst_ghost_pad_new_from_template()
7147 gst_ghost_pad_new_no_target_from_template()
7148 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
7149 (gst_ghost_pad_suite):
7150 Added tests for new ghostpad instanciation functions.
7152 API additions: gst_ghost_pad_new_from_template,
7153 gst_ghost_pad_new_no_target_from_template
7155 2006-08-30 Stefan Kost <ensonic@users.sf.net>
7157 * docs/random/ensonic/profiling.txt:
7158 Ideas about qos profiling.
7160 2006-08-29 Wim Taymans <wim@fluendo.com>
7162 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
7166 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
7169 Improve and detypofy docs.
7171 * tests/check/Makefile.am:
7172 * tests/check/gst/.cvsignore:
7173 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
7174 Add a basic test suite for GstXML.
7176 2006-08-29 Wim Taymans <wim@fluendo.com>
7178 * gst/gstelement.c: (activate_pads), (clear_caps),
7179 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
7180 Clear the pad caps when the element shut down all of the pads and
7181 is not streaming data that could modify the caps.
7184 2006-08-28 Michael Smith <msmith@fluendo.com>
7186 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7187 Revert previous change; I misunderstood single-segment mode.
7189 2006-08-28 Michael Smith <msmith@fluendo.com>
7191 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7192 Unset DISCONT on buffers when using single-segment mode.
7194 2006-08-28 Wim Taymans <wim@fluendo.com>
7196 * gst/gstcaps.c: (gst_caps_merge_structure):
7198 Fix docs and indentation again.
7200 * tests/check/gst/gstquery.c: (GST_START_TEST):
7201 Fix leak in tests and add some more tests.
7203 2006-08-28 Edward Hervey <edward@fluendo.com>
7205 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
7206 Inform GstSegment of the last stop position in order for the current
7207 segment to have a proper duration if it doesn't have a specific stop
7208 position from which a duration could be calculated.
7209 This bug was noticeable when a non-flushing, non-update new segment was
7210 followed by another segment (all buffers from the new segment were being
7213 2006-08-28 Wim Taymans <wim@fluendo.com>
7215 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
7216 Small comment update.
7218 * plugins/elements/gstidentity.c: (gst_identity_class_init),
7219 (gst_identity_transform_ip):
7220 Drop-probability is broken, mention this in the code with a
7221 FIXME and also in the property description.
7222 Make silent also be silent about the drop messages.
7224 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
7226 * docs/manual/appendix-win32.xml:
7227 Remove mention of popt, we don't depend on that any
7228 longer (#353136). Add some comments pointing out that
7229 this section is slightly outdated.
7231 2006-08-28 Wim Taymans <wim@fluendo.com>
7233 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
7235 * gst/gstquery.c: (gst_query_new_segment):
7236 * tests/check/gst/gstquery.c: (GST_START_TEST):
7237 Initialize variables when creating a new segment query.
7240 2006-08-28 Wim Taymans <wim@fluendo.com>
7242 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
7244 * gst/gstelement.c: (gst_element_get_bus):
7245 * tests/check/gst/gstelement.c: (GST_START_TEST):
7246 Check for NULL before _reffing the bus. Fixes #353122.
7248 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
7250 * docs/manual/basics-bus.xml:
7251 Docs update: fix wrong callback return value explanation; add
7252 some lines about the implicit relationship between main loop
7253 and main context; remove duplicate main loop variable declaration.
7255 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
7257 * tests/check/gst/gstcaps.c: (GST_START_TEST):
7258 Don't leak caps in unit test; add a few more simple
7261 2006-08-24 Stefan Kost <ensonic@users.sf.net>
7263 * docs/gst/gstreamer-sections.txt:
7264 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
7265 (gst_caps_structure_is_subset), (gst_caps_merge),
7266 (gst_caps_merge_structure):
7268 * libs/gst/base/gstbasetransform.c:
7269 (gst_base_transform_transform_caps):
7270 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7271 implement caps merging (fixes #352580)
7273 2006-08-23 Stefan Kost <ensonic@users.sf.net>
7275 * tools/Makefile.am:
7276 * tools/gst-plot-timeline.py:
7277 add debug-log plotting developer tool (#340674)
7279 2006-08-23 Wim Taymans <wim@fluendo.com>
7281 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
7282 (gst_pad_stop_task):
7283 Improve debugging for task functions.
7285 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
7286 (gst_task_start), (gst_task_pause), (gst_task_join):
7287 Make sure that the task function started and finished after a
7289 Don't try to push the task function on the threadpool multiple
7291 Improve the g_warning message with some useful suggestions
7292 about how to fix the problem.
7294 2006-08-23 Wim Taymans <wim@fluendo.com>
7296 * gst/gstutils.c: (gst_pad_proxy_getcaps):
7297 Handle RESYNC correctly in _proxy_getcaps.
7299 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
7301 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
7302 (gst_xml_parse_memory), (gst_xml_get_element):
7303 Chain up to parent class in dispose function and also
7304 unref the elements in the toplevel_elements GList.
7305 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
7306 Always return a reference in gst_xml_get_element() rather
7307 than only sometimes.
7309 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
7310 Don't leak GstXml object.
7312 2006-08-21 Stefan Kost <ensonic@users.sf.net>
7314 * docs/gst/gstreamer-sections.txt:
7315 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
7318 * libs/gst/base/gstbasetransform.c:
7319 (gst_base_transform_transform_caps):
7320 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
7323 2006-08-21 Edward Hervey <edward@fluendo.com>
7325 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
7326 Implement GObject::dispose virtual method in GstXML so we can free the
7329 2006-08-21 Wim Taymans <wim@fluendo.com>
7331 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
7332 (gst_buffer_create_sub):
7333 Copy duration/offset_end/caps when creating a subbuffer of the
7335 Make the subbuffer read-only when we make the metadata writable for
7338 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
7339 Added check for metadata copy when creating subbuffers.
7341 2006-08-21 Edward Hervey <edward@fluendo.com>
7343 * libs/gst/base/gstbasetransform.c:
7344 (gst_base_transform_buffer_alloc):
7345 Only call downstream buffer_alloc if transform element is passthrough
7346 or always_in_place. Closes #350449.
7348 2006-08-20 Stefan Kost <ensonic@users.sf.net>
7351 ChangeLog surgery to add comments to previous changes
7353 2006-08-20 Stefan Kost <ensonic@users.sf.net>
7358 * gst/gstpad.c: (gst_pad_set_active):
7359 Be more verbose in the log
7361 * libs/gst/base/gstbasetransform.c:
7362 (gst_base_transform_transform_caps):
7363 Simplify caps to get rid of duplicates, fixes #345444
7365 2006-08-20 Stefan Kost <ensonic@users.sf.net>
7369 Use these optimizations only internally.
7371 2006-08-20 Stefan Kost <ensonic@users.sf.net>
7373 * gst/gstvalue.c: (gst_value_compare_list),
7374 (gst_value_compare_fraction_range),
7375 (gst_value_intersect_fraction_fraction_range),
7376 (gst_value_intersect_fraction_range_fraction_range),
7377 (gst_value_subtract_fraction_fraction_range),
7378 (gst_value_subtract_fraction_range_fraction_range),
7379 (gst_value_get_compare_func), (gst_value_compare),
7380 (gst_value_compare_with_func):
7382 Saves the expensive lookup of the compare function in many cases
7385 2006-08-18 Edward Hervey <edward@fluendo.com>
7387 * tests/check/gst/gstinfo.c: (gst_info_suite):
7388 Disable test that require gstdebug if it wasn't built in core.
7390 2006-08-18 Stefan Kost <ensonic@users.sf.net>
7392 * docs/random/ensonic/logging.txt:
7395 * gst/gstinfo.c: (gst_debug_log_default):
7396 reorder fields, save some columns, add optional color codes for log
7399 2006-08-18 Stefan Kost <ensonic@users.sf.net>
7401 * docs/random/ensonic/logging.txt:
7402 add ideas about making the logs a bit more useful
7404 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
7406 * docs/pwg/advanced-events.xml:
7407 * docs/pwg/titlepage.xml:
7408 Update for 0.10 API (#340627). Add myself
7411 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
7413 * docs/libs/gstreamer-libs-docs.sgml:
7414 * docs/libs/gstreamer-libs-sections.txt:
7415 * libs/gst/check/gstbufferstraw.c:
7416 Make gstcheck stuff show up in docs (still needs to
7417 be documented properly though).
7419 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
7421 * docs/gst/gstreamer-sections.txt:
7423 * gst/gst.c: (init_post):
7424 * gst/gst_private.h:
7425 * gst/gstquark.c: (_priv_gst_quarks_initialize):
7427 * gst/gstquery.c: (gst_query_new_position),
7428 (gst_query_set_position), (gst_query_parse_position),
7429 (gst_query_new_duration), (gst_query_set_duration),
7430 (gst_query_parse_duration), (gst_query_new_convert),
7431 (gst_query_set_convert), (gst_query_parse_convert),
7432 (gst_query_new_segment), (gst_query_set_segment),
7433 (gst_query_parse_segment), (gst_query_new_seeking),
7434 (gst_query_set_seeking), (gst_query_parse_seeking):
7435 Add internal helpers for pre-registering quarks from static strings
7436 and using the quark values directly instead of looking them up when
7437 creating and parsing queries. Can be used for event construction too.
7440 2006-08-16 Wim Taymans <wim@fluendo.com>
7445 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
7447 * gst/gstutils.c: (gst_util_set_value_from_string):
7448 Fix memleak (#351502).
7450 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7451 Add unit test for most of gst_util_set_value_from_string()
7452 (not that one would want to encourage use of this function).
7454 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
7456 * libs/gst/check/gstcheck.h:
7457 Use const gchar * variables in fail_unless_equals_string
7458 macro to avoid compiler warnings (and don't use tabs for
7461 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
7463 * tools/gst-launch.c: (print_tag):
7464 More space on the left for the tag names, to cater
7465 for the 'extended comment' tag (not touching the
7466 string for the first line since it's translated).
7468 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
7470 * libs/gst/check/gstcheck.h:
7471 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
7472 print something when they fail.
7474 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
7476 * docs/gst/gstreamer-sections.txt:
7477 * gst/gsttaglist.c: (_gst_tag_initialize):
7479 API: add GST_TAG_EXTENDED_COMMENT (#350935).
7480 Also change merge function for GST_TAG_COMMENT to
7483 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
7485 * gst/gstinfo.c: (gst_debug_print_object):
7486 Make GST_PTR_FORMAT print messages as well.
7488 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
7489 (GST_START_TEST), (gst_info_suite):
7492 2006-08-14 Edward Hervey <edward@fluendo.com>
7494 * gst/gstelementfactory.c: (gst_element_register):
7495 If the GstElementClass doesn't have a GstElementDetails with all fields
7496 filled up correctly (longname, description AND author), then error out
7497 nicely instead of crashing.
7499 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
7501 * gst/gststructure.c:
7502 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
7505 Expand on the difference between arrays and lists as we use them.
7507 2006-08-14 Wim Taymans <wim@fluendo.com>
7509 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
7510 If the parent state change function failed, don't assume we can safely
7511 stop the source, this will be done when the pads are deactivated.
7513 2006-08-14 Wim Taymans <wim@fluendo.com>
7516 * gst/gsttask.c: (gst_task_join):
7519 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
7520 (gst_pad_stop_task):
7521 When pad (de)activation failed for some reason, restore the old
7522 activation mode and set the pad to flushing instead of assuming the
7524 If the _task_join() failed, reinstall the task on the pad so that it can
7525 be stopped later and return an error.
7527 2006-08-11 Andy Wingo <wingo@pobox.com>
7530 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
7531 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
7532 is only for users of API that don't want to see deprecated
7533 functions in the headers; people that want to compile out
7534 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
7535 CFLAGS. Fixes the build of multifdsink, or will soon..
7537 2006-08-11 Wim Taymans <wim@fluendo.com>
7539 * docs/gst/gstreamer-sections.txt:
7540 Add GstClockClass vmethod docs.
7543 Mark #endif with comment for associated #if
7545 * gst/gstclock.c: (gst_clock_id_wait):
7547 Add vmethod wait_jitter to avoid an unneeded _get_time() for
7548 most clock implementations.
7550 Flesh out docs about resolution methods.
7551 API: GstClockClass::wait_jitter
7553 * gst/gstsystemclock.c: (gst_system_clock_class_init),
7554 (gst_system_clock_async_thread),
7555 (gst_system_clock_id_wait_jitter_unlocked),
7556 (gst_system_clock_id_wait_jitter):
7557 Use base class wait_jitter variant for improved performance
7558 due to less clock polling.
7560 2006-08-11 Edward Hervey <edward@fluendo.com>
7562 * gst/gst.c: (gst_init_check), (init_post):
7563 Set gst as being initialized before scanning/updating the registry,
7564 since there might be my python plugin loader that calls gst_init() and
7565 we don't want to loop back in.
7568 2006-08-11 Wim Taymans <wim@fluendo.com>
7570 * docs/design/part-qos.txt:
7571 Bring docs in line with the code. Mostly the sign of the jitter was
7572 wrong in the docs. Fixes #349943.
7575 Fix the docs for the jitter.
7577 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
7578 (gst_event_parse_tag), (gst_event_new_buffer_size),
7579 (gst_event_parse_buffer_size), (gst_event_parse_qos),
7580 (gst_event_new_seek), (gst_event_parse_seek),
7581 (gst_event_new_navigation):
7582 Make sure the GstStructure has no parent when creating custom
7584 Add some more argument checking so that we avoid 0.0 rates.
7585 Flesh out the docs for the QoS event some more.
7587 2006-08-11 Wim Taymans <wim@fluendo.com>
7589 * docs/gst/gstreamer-sections.txt:
7590 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
7591 (ensure_current_registry_forking), (ensure_current_registry),
7592 (parse_one_option), (parse_goption_arg), (gst_deinit),
7593 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
7596 Added API and command line option to disable registry forking in
7597 addition to the environment variable.
7598 Constify some static arrays.
7599 Added some more debug.
7601 API: gst_registry_fork_is_enabled()
7602 API: gst_registry_fork_set_enabled()
7603 API: --gst-disable-registry-fork command line option
7606 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
7608 * gst/gst.c: (gst_init):
7609 Fix typo in error message.
7611 2006-08-10 Stefan Kost <ensonic@users.sf.net>
7613 * libs/gst/controller/gstcontroller.h:
7614 fix ABI size-correction
7616 * tests/check/libs/gdp.c: (gst_dp_suite):
7617 make tests that use deprecated API conditional
7619 2006-08-10 Stefan Kost <ensonic@users.sf.net>
7621 * docs/libs/gstreamer-libs-sections.txt:
7622 * libs/gst/controller/gstcontroller.c:
7623 (_gst_controller_get_property), (_gst_controller_set_property),
7624 (_gst_controller_init), (_gst_controller_class_init):
7625 * libs/gst/controller/gstcontroller.h:
7626 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
7627 (gst_object_set_control_rate):
7628 API: add gst_object_{s,g}et_control_rate(), add private data section,
7631 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
7632 * libs/gst/dataprotocol/dataprotocol.h:
7633 add deprecation guards to make gtk-doc happy and allow disabling cruft
7635 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
7637 * tests/check/Makefile.am:
7638 * tests/check/gst/.cvsignore:
7639 Let's enable the new unit test as well.
7641 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
7644 * docs/gst/gstreamer-sections.txt:
7645 * gst/gstconfig.h.in:
7646 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
7647 (_gst_info_printf_extension_ptr),
7648 (_gst_info_printf_extension_segment):
7649 API: add GST_SEGMENT_FORMAT, which is a printf extension we
7650 register that lets us easily dump GstSegments into debug
7653 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
7654 (info_segment_format_printf_extension), (gst_info_suite):
7655 Add simple unit test that logs a bunch of different segments (not
7656 valgrinded at the moment because of leaks in
7657 gst_debug_add_log_function).
7659 2006-08-09 Edward Hervey <edward@fluendo.com>
7661 * libs/gst/base/gstbasetransform.c:
7662 (gst_base_transform_buffer_alloc):
7663 Even if we can't figure out the proper format to request downstream,
7664 call buffer_alloc() downstream with the input parameters without setting
7665 the caps on the srcpad. This will force negotiation in the chain
7669 2006-08-08 Edward Hervey <edward@fluendo.com>
7671 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
7672 Unlinking from a pad without a target is now a perfectly valid case
7673 which should NOT raise an assertion.
7674 This case would happen if a linked ghostpad its target set to NULL after
7675 it was previously linked.
7677 2006-08-08 Edward Hervey <edward@fluendo.com>
7679 * tests/check/libs/gdp.c:
7680 Also comment out the test (see below).
7682 2006-08-08 Edward Hervey <edward@fluendo.com>
7684 * tests/check/libs/gdp.c: (gst_dp_suite):
7685 Use the architecture information from config.h and not gcc macros
7686 in order to properly disable a test that fails on PPC64.
7688 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
7690 * gst/gstelement.c: (gst_element_remove_pad):
7691 Don't crash printing the warning if the pad has no parent.
7693 2006-08-02 Wim Taymans <wim@fluendo.com>
7695 * libs/gst/dataprotocol/dataprotocol.c:
7696 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
7697 (gst_dp_crc), (gst_dp_header_payload_length),
7698 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
7699 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
7700 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
7701 (gst_dp_event_from_packet), (gst_dp_validate_header),
7702 (gst_dp_validate_payload):
7703 Make debug category static
7704 Constify the crc table.
7705 Do some more arg checking in public functions.
7706 Fix some docs and do some small cleanups.
7708 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
7709 Add some more checks to see if GDP deals with bogus input.
7711 2006-07-31 Wim Taymans <wim@fluendo.com>
7713 * gst/gstvalue.c: (gst_value_compare_list):
7714 Fix GstValueList comparison code. Fixes #347293.
7716 * tests/check/gst/gstvalue.c: (GST_START_TEST):
7717 Check to test GstValueList comparison.
7719 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7721 * gst/gstelementfactory.c: (gst_element_factory_create):
7722 Remove unnecessary ref/unref pair
7724 * gst/parse/grammar.y:
7725 Make sure to free the parse buffer on all code paths.
7726 Move a g_free up to the error handler where it's easier to see.
7728 * tests/check/gst/gstevent.c: (test_event):
7729 Extending timeout for downstream travelling events to 10 seconds to
7730 hopefully avoid intermittent failure on the buildbots.
7732 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
7733 Don't manually set the state of the src element - it will happen as a
7734 natural consequence of the pipeline changing state, and that way it
7735 will do it in the right order too.
7737 2006-07-31 Wim Taymans <wim@fluendo.com>
7739 * libs/gst/base/gstbasetransform.c:
7740 (gst_base_transform_buffer_alloc):
7741 Use OBJECT_LOCK and refcounting to get the pad caps in the
7742 buffer_alloc function because the caps could change while we are
7743 busy with them. Fixes #349105
7745 2006-07-31 Wim Taymans <wim@fluendo.com>
7747 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
7748 Protect _PAD_CAPS with OBJECT_LOCK.
7750 2006-07-31 Wim Taymans <wim@fluendo.com>
7752 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
7753 (gst_pad_get_property), (gst_pad_activate_pull),
7754 (gst_pad_activate_push), (gst_pad_set_blocked_async),
7755 (gst_pad_set_activate_function),
7756 (gst_pad_set_activatepull_function),
7757 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
7758 (gst_pad_set_getrange_function),
7759 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
7760 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
7761 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
7762 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
7763 (gst_pad_set_acceptcaps_function),
7764 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
7765 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
7766 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
7767 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
7768 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
7769 (gst_pad_configure_sink), (gst_pad_configure_src),
7770 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
7771 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
7772 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
7773 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
7774 (gst_pad_send_event):
7775 Use _DEBUG_OBJECT when it makes sense.
7776 Protect GST_PAD_CAPS with the OBJECT_LOCK.
7777 Small cleanups and code reflows.
7778 Avoid caps refcounting in _accept_caps.
7779 Refactor alloc_buffer so that the code performed on the peer is in a
7780 separate function. Also if the pad does not implement a buffer alloc
7781 function, we should still check if the pad is flushing before falling
7782 back to the default allocator.
7784 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7786 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7787 Make all uses of identity and fakesink have silent=true to avoid
7788 serialising every passing data structure, which is breaking tests
7789 on FC4 for some unknown reason.
7791 2006-07-30 Stefan Kost <ensonic@users.sf.net>
7793 * gst/parse/Makefile.am:
7794 * gst/parse/grammar.y:
7795 * gst/parse/parse.l:
7796 Reverted previous patch as it required to bump the flex dependency to
7797 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
7799 2006-07-30 Stefan Kost <ensonic@users.sf.net>
7801 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
7803 * gst/parse/Makefile.am:
7804 * gst/parse/grammar.y:
7805 * gst/parse/parse.l:
7806 push & pop the state of the lexer for reentrant use case
7809 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
7811 * libs/gst/base/gstbasesrc.h:
7812 Note in the docs that the ::newsegment vfunc is not actually used by
7815 2006-07-28 Wim Taymans <wim@fluendo.com>
7817 * libs/gst/base/gstcollectpads.c:
7818 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
7819 (gst_collect_pads_clear), (gst_collect_pads_flush),
7820 (gst_collect_pads_event), (gst_collect_pads_chain):
7821 When flushing a pad, also clear the queued buffer so that we don't
7822 accidentally use it when we shouldn't.
7823 Fix leaks by inreffing incomming buffer.
7824 Flush out queued buffers in case of errors.
7827 2006-07-28 Wim Taymans <wim@fluendo.com>
7829 * docs/random/phonon-gst:
7830 Random notes about a Phonon backend.
7832 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
7834 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
7836 * tests/check/libs/gdp.c: (gst_dp_suite):
7837 Take a whack at fixing the ppc compile using a different define to
7838 disable the broken test.
7840 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7841 Remove excess g_print()
7843 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
7845 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
7846 Oops, meant to uncomment this line too to dampen the noise a bit.
7848 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
7850 * gst/parse/grammar.y:
7851 * gst/parse/parse.l:
7852 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
7853 (GST_START_TEST), (parse_suite):
7854 Fix some of the leaks exposed by extending the parse-launch testsuite,
7855 and move the 3 I can't figure out into a separate test that won't run
7856 the pipelines unless the appropriate line is uncommented.
7858 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
7860 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7861 Requesting 0 bytes before the end of the file should result in
7862 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
7865 2006-07-27 Wim Taymans <wim@fluendo.com>
7867 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
7868 Fix useless assert, a uint is always positive.
7870 * gst/gststructure.c: (gst_structure_nth_field_name),
7871 (gst_structure_foreach), (gst_structure_map_in_place):
7872 Check input arguments for public functions to avoid obvious crashes.
7874 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
7875 * plugins/elements/gstfakesink.h:
7876 Do less useless typechecking.
7878 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
7880 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
7881 Do not use mmap() by default since there are a number of error
7882 conditions that we would like to handle in a non-fatal way that
7883 will result in a SIGBUS if we use mmap(). Examples: external
7884 devices (USB harddrive, portable music player) being unplugged
7885 while in use; file on mounted CD/DVD that can't be read because
7886 the medium is partly damaged. Fixes #348455 and #348475.
7888 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
7891 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
7894 2006-07-26 Stefan Kost <ensonic@users.sf.net>
7896 * gst/gstregistry.c:
7897 Move big documentation comment into class section header, so that it
7898 appears in the API docs.
7900 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
7902 * docs/gst/gstreamer-sections.txt:
7903 Oops. Commit the docs additions too for new API.
7904 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
7906 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
7908 * gst/gststructure.c: (gst_structure_id_set),
7909 (gst_structure_id_set_valist):
7910 * gst/gststructure.h:
7911 Add API for setting values into structures without performing
7912 a quark lookup, if the appropriate quark is already known.
7914 API: gst_structure_id_set
7915 API: gst_structure_id_set_valist
7917 * gst/parse/grammar.y:
7918 * gst/parse/parse.l:
7919 Remove some dead code shown by the coverage information.
7920 Don't throw a critical g_warning when encountering a syntax error,
7921 just warn and let the normal error path handle it.
7923 * plugins/elements/gstelements.c:
7924 Bump the rank of filesink up to PRIMARY so that it is preferred over
7925 gnomevfssink for file:// sink uri's
7927 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
7928 (GST_START_TEST), (run_delayed_test),
7929 (gst_parse_test_element_base_init),
7930 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
7931 (gst_parse_test_element_change_state),
7932 (gst_register_parse_element), (parse_suite):
7933 Beef up the tests for parse syntax to check that more error cases
7934 fail as they are supposed to. Increases the test coverage a bit.
7936 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
7938 * docs/manual/basics-elements.xml:
7939 Fix gst_element_link() example.
7942 Mention in API docs that one should usually gst_bin_add()
7943 elements to a bin or pipeline before doing the linking.
7945 2006-07-26 Wim Taymans <wim@fluendo.com>
7947 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
7948 (gst_subbuffer_get_type), (gst_buffer_create_sub):
7949 Avoid function call for known types by keeping the buffer and
7950 subbuffer GType global.
7952 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7953 Random silly optimisations in read() path.
7955 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
7957 * tools/gst-launch.c: (main):
7958 If the top-level of the parse is a normal bin, it doesn't do the
7959 right logic to run as a top-level element, so place it inside a
7962 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
7964 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
7965 Remove superfluous g_object_notify() calls, GObject does
7966 that for us automatically.
7968 2006-07-25 Stefan Kost <ensonic@users.sf.net>
7971 on Win32, use dllspec to export the debug category symbols
7973 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
7975 * gst/gsttaglist.c: (_gst_tag_initialize):
7976 Allow more than one GST_TAG_IMAGE per taglist.
7978 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
7980 * gst/gstminiobject.c:
7982 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
7983 (gst_fd_src_create):
7984 log recurring events at LOG level
7985 add more debug for when the fd gets set
7987 2006-07-21 Stefan Kost <ensonic@users.sf.net>
7989 * gst/gstparse.c: (gst_parse_launch):
7990 Also remove reentrance checks if flex is MT safe (#348179)
7991 Fix my empty ChangeLog entry below
7993 2006-07-21 Andy Wingo <wingo@pobox.com>
7995 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
7997 * libs/gst/check/Makefile.am
7998 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
7999 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
8000 * libs/gst/check/gstbufferstraw.h:
8001 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
8002 functions, thus proving I am still a GStreamer haxor. OK I wrote
8003 them a long time ago, but anyways.
8005 2006-07-21 Stefan Kost <ensonic@users.sf.net>
8008 * gst/gstparse.c: (gst_parse_launch):
8009 Check for flex version and omit mutex if we have a MT save flex
8012 2006-07-21 Wim Taymans <wim@fluendo.com>
8014 * gst/gstparse.c: (gst_parse_launch):
8015 Protect recursive calls to _parse with a recursive mutex
8018 2006-07-21 Wim Taymans <wim@fluendo.com>
8020 * tests/check/gst/gstpad.c: (GST_START_TEST):
8023 2006-07-20 Stefan Kost <ensonic@users.sf.net>
8025 * gst/gstparse.c: (gst_parse_launch):
8026 Do not hang on recursive usage of gst_parse_launch()
8028 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
8031 Add some more docs, comments and FIXME 0.11s here and there
8032 and also fix some typos.
8034 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
8037 Convert tabs to spaces for better readability.
8039 2006-07-20 Edward Hervey <edward@fluendo.com>
8041 * tests/check/libs/gdp.c: (gst_dp_suite):
8042 the test_buffer test fails at line 140 on ppc64 at the following
8044 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
8045 GST_BUFFER_FLAG_IN_CAPS),
8046 "GST_BUFFER_IN_CAPS flag should have been copied !");
8047 See bug #348114 for more details.
8049 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
8051 * docs/pwg/advanced-scheduling.xml:
8053 Fix typos (#348000).
8055 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
8057 * docs/pwg/intro-basics.xml:
8058 Fix wrong links (#347927).
8060 2006-07-18 Stefan Kost <ensonic@users.sf.net>
8062 * gst/gstregistry.h:
8063 * gst/gstregistryxml.c: (load_feature),
8064 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
8065 * win32/common/config.h:
8066 make --disable-index work (#342564)
8068 2006-07-18 Wim Taymans <wim@fluendo.com>
8070 Patch by: Peter Kjellerstedt <pkj at axis dot com>
8074 The attached patch adds two missing defines to gsttrace.h when tracing
8075 is disabled. It also corrects one existing define.
8078 2006-07-17 Wim Taymans <wim@fluendo.com>
8080 * docs/gst/gstreamer-sections.txt:
8081 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
8083 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
8084 Add two functions to check and change the SIGSEGV behaviour
8085 when loading plugins.
8086 Don't mess with the SIGSEGV handler when we were told not to.
8088 API: gst_segtrap_is_enabled
8089 API: gst_segtrap_set_enabled
8091 2006-07-14 Wim Taymans <wim@fluendo.com>
8093 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
8094 * tests/check/elements/filesrc.c: (GST_START_TEST):
8095 Revert fix for regression in #347408 after release.
8097 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
8099 Patch by: Antoine Tremblay <hexa00 at gmail com>
8101 * gst/gstutils.c: (gst_element_unlink):
8102 Free iterator when done (#347311).
8104 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8105 And add a test case for this.
8107 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
8110 Bump nano back to CVS
8112 === release 0.10.9 ===
8114 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
8117 releasing 0.10.9, "On the road again"
8119 2006-07-13 Wim Taymans <wim@fluendo.com>
8121 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
8122 * tests/check/elements/filesrc.c: (GST_START_TEST):
8123 Revert pull-0 fix for release. Disable check. Fixes #347408.
8125 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
8127 * libs/gst/dataprotocol/dataprotocol.c:
8128 (gst_dp_event_from_packet_1_0):
8129 Fixes #347337: failure to deserialize event packets with
8130 empty payload (only event type)
8132 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
8135 do not install a .c file in the header directory
8137 2006-07-13 Edward Hervey <edward@fluendo.com>
8139 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
8140 GhostPad no longer implicitely use the padtemplates of the targets.
8143 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
8145 * gst/gstvalue.c: (gst_value_compare_list),
8146 (gst_value_compare_array), (_gst_value_initialize):
8147 * tests/check/gst/gstvalue.c: (GST_START_TEST):
8148 Make GstValueArray comparison be order dependent as designed.
8149 Add checks for value lists and value array comparisons.
8152 2006-07-11 Edward Hervey <edward@fluendo.com>
8154 * gst/gstbin.c: (activate_pads),
8155 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
8156 (gst_bin_change_state_func):
8157 (de)activate src pads before calling state_change on the childs.
8158 This is to avoid the case where a src ghostpad is blocked (holding the
8159 stream lock), which would block the deactivation of the ghostpad's
8161 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
8162 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
8163 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
8164 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
8165 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
8166 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
8167 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
8168 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
8169 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
8170 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
8171 (gst_ghost_pad_class_init),
8172 (gst_ghost_pad_internal_do_activate_push),
8173 (gst_ghost_pad_internal_do_activate_pull),
8174 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
8175 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8176 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
8177 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
8178 GhostPads now create their internal GstProxyPad at creation (and not
8179 when they're linked, as it was being done previously).
8180 The internal and target pads are linked straight away.
8181 The data will also travel through the other pad in order to make
8182 pad blocking and probes non-hackish (the probe/block now really happens
8183 on the GhostPad and not on the target).
8184 * gst/gstpad.c: (gst_pad_set_blocked_async),
8185 (gst_pad_link_prepare), (gst_pad_push_event):
8186 Remove previous ghostpad cruft.
8187 * gst/gstutils.c: (gst_pad_add_data_probe),
8188 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
8189 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
8190 (gst_pad_remove_buffer_probe):
8191 Remove previous ghost pad cruft.
8192 Added more detailed debug statements.
8193 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8194 Fix the testsuite for refcounting changes.
8195 The comments about who has references were correct, but the refcount
8196 being checked wasn't the same (!?!).
8200 2006-07-10 Stefan Kost <ensonic@users.sf.net>
8202 * docs/gst/gstreamer-sections.txt:
8203 * gst/gstconfig.h.in:
8204 More docs for configuration options, add docs to gtk-doc.
8206 2006-07-10 Stefan Kost <ensonic@users.sf.net>
8209 * gst/gstconfig.h.in:
8210 * win32/common/config.h:
8211 Fix build when disabling tracing (fixes #344016). Also start to document
8212 the defines that disable the sub-systems.
8214 2006-07-10 Edward Hervey <edward@fluendo.com>
8216 * gst/gst.c: (ensure_current_registry_forking):
8217 let's make valgrind happy...
8219 2006-07-09 Wim Taymans <wim@fluendo.com>
8221 * gst/gstelement.c: (activate_pads),
8222 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
8223 Better pad activation code: Reset the collect value too on resync.
8226 2006-07-09 Wim Taymans <wim@fluendo.com>
8228 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
8229 (gst_pad_activate_push):
8230 Use some more macros where it makes sense.
8231 Allow pad mode switching instead of asserting. When a pad
8232 is activated in one mode and we activate it in another,
8233 deactivate it first before activating it in a different mode.
8236 2006-07-08 Andy Wingo <wingo@pobox.com>
8238 * tools/gst-launch.c (main): Handle err == NULL.
8240 * gst/gst.c (init_post, ensure_current_registry)
8241 (ensure_current_registry_forking)
8242 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
8243 factoring out the registry scanning into separate functions. Don't
8244 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
8245 Better environment var name/interface suggestions accepted.
8247 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
8249 * gst/gstobject.c: (gst_object_set_name_default),
8250 (gst_object_set_name):
8251 Random micro-optimisation: don't use a hash table
8252 with strings as keys and the usual strdup/strcmp
8253 involved, but rather just use the GQuark of the
8254 type name as key, since it needs to be looked up
8255 anyway to get the type name string.
8257 * tests/check/gst/gstobject.c: (GST_START_TEST):
8260 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
8262 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
8263 (gst_bin_iterate_all_by_interface):
8264 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
8265 GTypes are gulongs and thus the top 4 bytes might be cut
8266 off on some platforms when doing GPOINTER_TO_INT, leading
8267 to invalid GTypes and bad things happening (see RH bug #179654).
8268 Also add a check to make sure the type passed in is really
8271 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
8276 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
8280 * gst-element-check.m4:
8281 * gst-element-check.m4.in:
8282 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
8283 instead of the unversioned gst-inspect (#324176, #168659).
8285 2006-07-06 Wim Taymans <wim@fluendo.com>
8288 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
8291 2006-07-06 Wim Taymans <wim@fluendo.com>
8293 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8294 (gst_base_src_wait), (gst_base_src_update_length),
8295 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
8296 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
8297 (gst_base_src_loop), (gst_base_src_start),
8298 (gst_base_src_activate_pull):
8300 blocksize == 0 now means the default blocksize when working in push
8302 Remove some pointless asserts in _wait function.
8303 Fix offset/length calculations and EOS handling. We can now pull 0
8304 bytes as well, which is allowed.
8305 use _check_get_range() to decide if we can operate in _pull based
8307 Fix refcounting leak when check_get_range function was not
8309 API GstBaseSrc::blocksize range can be 0 too now (default)
8311 * tests/check/elements/filesrc.c: (GST_START_TEST),
8313 Added check to test _get_range() behaviour.
8315 2006-07-06 Wim Taymans <wim@fluendo.com>
8317 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
8318 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
8319 (gst_pad_pull_range):
8321 Lots of comments and docs added to the pad functions.
8322 Flesh out the expected behaviour of the get_range() functions.
8324 2006-07-06 Wim Taymans <wim@fluendo.com>
8329 * gst/gstiterator.h:
8333 Remove comma at end of enumerator list.
8335 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
8337 * win32/common/libgstbase.def:
8338 * win32/common/libgstdataprotocol.def:
8339 * win32/common/libsgtreamer.def:
8340 Add new exported functions.
8342 2006-07-05 Wim Taymans <wim@fluendo.com>
8344 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
8345 Add some more docs here and there.
8347 2006-07-05 Wim Taymans <wim@fluendo.com>
8349 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
8350 (gst_base_sink_loop), (gst_base_sink_get_position):
8351 When operating in pull mode update the offset so that we
8354 2006-07-05 Wim Taymans <wim@fluendo.com>
8356 * gst/gstregistryxml.c: (read_string):
8357 Avoid strdup. (will happen in libxml, but hey!)
8362 2006-07-05 Wim Taymans <wim@fluendo.com>
8364 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
8365 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
8367 No point in checking if the size of the subbuffer > 0, the
8368 code handles it correclty as demonstrated by unit test.
8369 Also add a unit test for the zero sized _new_and_alloc and
8370 _copy. Fixes #346663.
8372 2006-07-05 Wim Taymans <wim@fluendo.com>
8374 * libs/gst/base/gstbasetransform.c:
8375 (gst_base_transform_prepare_output_buffer),
8376 (gst_base_transform_buffer_alloc),
8377 (gst_base_transform_handle_buffer):
8378 Make sure the buffer we pass to transform_ip has a refcount of
8379 1 and thus is writable. Fixes #343196
8381 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
8383 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
8384 (gst_file_src_init), (gst_file_src_set_property),
8385 (gst_file_src_get_property), (gst_file_src_map_region):
8386 * plugins/elements/gstfilesrc.h:
8387 Add "sequential" property, off by default, to use madvise and hint
8388 to the kernel that sequential access is desired.
8389 Touch all retrieved pages by default to ensure they are pulled
8390 into memory. (Closes #345720)
8392 2006-07-03 Wim Taymans <wim@fluendo.com>
8394 * docs/design/part-block.txt:
8395 * docs/design/part-dynamic.txt:
8398 2006-07-03 Wim Taymans <wim@fluendo.com>
8400 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
8401 (gst_caps_unref), (gst_static_caps_get),
8402 (gst_caps_append_structure):
8403 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
8404 Use GSlice when the glib we build against is >= 2.10
8406 2006-07-03 Wim Taymans <wim@fluendo.com>
8408 * gst/gstelement.c: (gst_element_pads_activate):
8409 Small cleanup in pad activation code.
8411 2006-07-03 Wim Taymans <wim@fluendo.com>
8413 Patch by: Peter Kjellerstedt <pkj at axis dot com>
8415 * gst/gst-i18n-app.h:
8416 * gst/gst-i18n-lib.h:
8417 * tools/gst-inspect.c: (print_signal_info):
8418 The attached patch will make the inclusion of gettext.h unconditional in
8419 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
8420 libintl.h in tools/gst-inspect.c.
8421 This allows use of --disable-nls again and fixes #344642.
8423 2006-07-03 Edward Hervey <edward@fluendo.com>
8425 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
8426 Implement pad blocking on events according to part-block.txt.
8427 More comments on behaviour.
8428 * tests/check/gst/gstevent.c: (test_event):
8429 Send event to peer pad of blocked pad (else it will block).
8431 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
8433 * libs/gst/check/gstcheck.c: (gst_check_message_error),
8434 (gst_check_run_suite):
8435 if we get the wrong message, give us the types as string
8436 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8438 * tests/check/elements/filesrc.c: (GST_START_TEST):
8439 add a test for trying to open a non-existing file
8441 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
8443 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8444 add a test for adding self
8446 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
8448 * libs/gst/check/gstcheck.h:
8449 add some assert_ as alias for fail_unless_*
8450 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
8451 increase test coverage
8453 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8456 include lcov.mak for lcov coverage generation
8457 * tools/Makefile.am:
8460 2006-07-02 Edward Hervey <edward@fluendo.com>
8462 * tests/check/elements/.cvsignore:
8465 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8468 don't set CFLAGS and friends for gcov, done from GST_GCOV now
8469 * tests/check/Makefile.am:
8472 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8474 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
8475 remove gst_caps_simplify; it was not declared and not used
8476 and deprecated in 0.8
8478 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8480 * docs/faq/gst-uninstalled:
8481 don't put empty paths on PYTHONPATH
8482 * docs/gst/gstreamer-sections.txt:
8483 remove some symbols that are not there
8485 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8487 * gst/gstcaps.c: (gst_caps_compare_structures):
8489 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8490 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
8493 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8495 * libs/gst/dataprotocol/Makefile.am:
8496 build dataprotocol test by linking to the lib, instead of
8497 compiling the source, so we get coverage
8498 * tests/check/Makefile.am:
8499 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
8500 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
8501 add a test for filesrc
8503 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8505 * tests/check/gst/gststructure.c: (GST_START_TEST),
8506 (gst_structure_suite):
8507 Push coverage from 59.04% to 70.00%
8509 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8511 * tests/check/Makefile.am:
8512 gst-inspect every element; this makes sure that we also get
8513 coverage on element's get/set functions
8515 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8518 set CFLAGS and friends to -O0 if gcov is being used
8521 * libs/gst/base/Makefile.am:
8522 * libs/gst/check/Makefile.am:
8523 * libs/gst/controller/Makefile.am:
8524 * libs/gst/dataprotocol/Makefile.am:
8525 * libs/gst/net/Makefile.am:
8526 * plugins/elements/Makefile.am:
8527 * plugins/indexers/Makefile.am:
8528 add makefile rules to generate gcov data and clean up
8529 * tests/check/Makefile.am:
8530 add a coverage target that generates an html overview
8533 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
8535 * tests/check/elements/fakesink.c:
8536 * tests/check/elements/fakesrc.c:
8537 * tests/check/elements/fdsrc.c:
8538 * tests/check/elements/identity.c:
8539 * tests/check/generic/sinks.c: (gst_sinks_suite):
8540 * tests/check/generic/states.c:
8541 * tests/check/gst/gst.c:
8542 * tests/check/gst/gstabi.c:
8543 * tests/check/gst/gstbin.c:
8544 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
8545 * tests/check/gst/gstbus.c: (gst_bus_suite):
8546 * tests/check/gst/gstcaps.c: (GST_START_TEST):
8547 * tests/check/gst/gstelement.c:
8548 * tests/check/gst/gstevent.c: (gst_event_suite):
8549 * tests/check/gst/gstghostpad.c:
8550 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
8551 * tests/check/gst/gstmessage.c: (gst_message_suite):
8552 * tests/check/gst/gstminiobject.c:
8553 * tests/check/gst/gstobject.c:
8554 * tests/check/gst/gstpad.c:
8555 * tests/check/gst/gstpipeline.c:
8556 * tests/check/gst/gstplugin.c:
8557 * tests/check/gst/gstquery.c: (gst_query_suite):
8558 * tests/check/gst/gstsegment.c: (gst_segment_suite):
8559 * tests/check/gst/gststructure.c:
8560 * tests/check/gst/gstsystemclock.c:
8561 * tests/check/gst/gsttag.c:
8562 * tests/check/gst/gsttask.c: (gst_task_suite):
8563 * tests/check/gst/gstutils.c:
8564 * tests/check/gst/gstvalue.c:
8565 * tests/check/libs/adapter.c:
8566 * tests/check/libs/basesrc.c:
8567 * tests/check/libs/collectpads.c:
8568 * tests/check/libs/controller.c:
8569 * tests/check/libs/gdp.c: (gst_dp_suite):
8570 * tests/check/libs/gstnetclientclock.c:
8571 * tests/check/libs/gstnettimeprovider.c:
8572 * tests/check/libs/libsabi.c: (libsabi_suite):
8573 * tests/check/libs/typefindhelper.c:
8574 * tests/check/pipelines/cleanup.c:
8575 * tests/check/pipelines/parse-launch.c:
8576 * tests/check/pipelines/simple-launch-lines.c:
8577 * tests/check/pipelines/stress.c: (stress_suite):
8580 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
8582 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
8583 * libs/gst/check/gstcheck.h:
8584 create a macro and function so that the simple unit test
8585 case can be just one macro to create main()
8587 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
8589 * gst/gstbin.c: (gst_bin_restore_thyself):
8590 * gst/gstxml.c: (gst_xml_make_element):
8591 Fix deserialisation from XML. Set parent manually
8592 instead of using gst_bin_add(), since gst_bin_add()
8593 will unlink all pads of the element being added.
8596 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
8598 Patch by: Peter Kjellerstedt <pkj at axis com>
8600 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
8601 Fix missing g_strdup() and double free when using the
8602 --gst-plugin-load command line option (#346097).
8604 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
8607 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
8609 * libs/gst/net/gstnetclientclock.c:
8610 * libs/gst/net/gstnettimeprovider.c:
8611 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
8613 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
8615 * docs/manual/advanced-dataaccess.xml:
8616 Fix buffer probe example compilation in
8619 2006-06-22 Edward Hervey <edward@fluendo.com>
8621 * gst/gstelement.c: (gst_element_pads_activate):
8622 We need to deactivate src pads first and then sink pads.
8623 The reason is the src pads might be blocking while holding the streaming
8624 lock, so we need to deactivate them first so that deactivating the sink
8625 pads doesn't block (since it will require the streaming lock).
8627 2006-06-22 Wim Taymans <wim@fluendo.com>
8629 * libs/gst/base/gstbasetransform.c:
8630 (gst_base_transform_buffer_alloc):
8631 Forgot to remove two unneeded unrefs.
8632 Simplify a check _is_equal allready checks the obvious case.
8634 2006-06-22 Wim Taymans <wim@fluendo.com>
8636 * docs/design/part-block.txt:
8637 Some docs about what pad_block should do.
8639 2006-06-22 Wim Taymans <wim@fluendo.com>
8641 * gst/gstcaps.c: (gst_caps_replace):
8642 Fix crasher when passed NULL. Doc clarification.
8643 Optimize for the trivial case.
8645 * gst/gstpipeline.c: (gst_pipeline_change_state):
8648 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
8649 Small documentation cleanup.
8651 * libs/gst/base/gstbasetransform.c:
8652 (gst_base_transform_buffer_alloc):
8653 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
8654 is what we need and it avoids a whole lot of redundant
8655 refcount operations.
8657 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
8659 Patch by: Philip Jägenstedt <philip at lysator liu se>
8661 * docs/manual/advanced-dataaccess.xml:
8662 Fix 'Embedding static elements' section to use
8663 GST_PLUGIN_DEFINE_STATIC (#345607).
8665 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
8667 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
8668 Attempt to 'fix' spuriously failing test case: it seems like the
8669 timeout of half a second is simply too small when the system is under
8670 load otherwise, and the timeout doesn't really seem to serve any
8671 particular purpose here. Give the pipeline a few seconds to preroll
8672 first, and then give it another half a second to go from PAUSED to
8673 PLAYING and marshal the message into the main thread.
8675 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
8677 * tools/gst-feedback-m.m:
8678 Don't only use unversioned tools, try versioned tools as well
8681 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
8683 * gst/gstbus.c: (gst_bus_class_init):
8684 Fix some typos, make docs more explicit.
8686 2006-06-20 Wim Taymans <wim@fluendo.com>
8688 * tests/check/gst/gstghostpad.c: (block_callback),
8689 (GST_START_TEST), (gst_ghost_pad_suite):
8690 Added some more ghostpad tests, mainly blocking
8693 2006-06-16 Wim Taymans <wim@fluendo.com>
8695 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8696 (gst_file_sink_close_file), (gst_file_sink_do_seek),
8697 (gst_file_sink_event), (gst_file_sink_render):
8698 * plugins/elements/gstfilesink.h:
8699 Check if we can seek in the file instead of assuming
8700 we always can. Post an error when we are asked to seek in a
8701 non-seekable file (like a fifo). Fixes #343312.
8704 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
8706 * tools/gst-launch.1.in:
8707 Un-garble (fourcc) bit in filtered caps section.
8709 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
8711 * docs/manual/advanced-autoplugging.xml:
8712 * docs/manual/basics-helloworld.xml:
8713 * docs/manual/highlevel-components.xml:
8714 Don't leak bus reference in sample code.
8716 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
8719 Add default for new --enable-plugin-docs switch.
8722 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
8726 Use new ENABLE_PLUGIN_DOCS conditional.
8728 2006-06-14 Wim Taymans <wim@fluendo.com>
8730 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
8731 Make it clear with a FIXME and a real define what the #if 0
8732 previously disabled.
8734 2006-06-14 Wim Taymans <wim@fluendo.com>
8736 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
8737 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
8738 * libs/gst/base/gstbasetransform.c:
8739 (gst_base_transform_sink_eventfunc):
8740 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
8741 Don't randomly and silently reset a segment when the format
8742 changes as this is a bug somewhere upstream. Fixes #330379.
8744 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
8746 Patch by: Wouter Paesen <wouter at kangaroot net>
8748 * libs/gst/controller/gstcontroller.c:
8749 (gst_controlled_property_new):
8750 Fix controlling of float properties (#344849).
8752 * tests/check/libs/controller.c:
8753 (gst_test_mono_source_get_property),
8754 (gst_test_mono_source_set_property),
8755 (gst_test_mono_source_class_init), (GST_START_TEST):
8756 While we're at it, add some float stuff to unit test.
8758 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
8761 * docs/images/gdp-header.svg:
8763 * docs/libs/Makefile.am:
8764 * docs/libs/gdp-header.png:
8765 * libs/gst/dataprotocol/dataprotocol.c:
8766 add it to the API docs
8767 * docs/manual/intro-motivation.xml:
8770 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
8772 * gst/gst.c: (scan_and_update_registry), (init_post):
8773 If the fork()'ed child process can't write the updated registry cache
8774 file to disk for some reason, make it exit with a failure exit code,
8775 so that the parent can then re-scan the plugins itself and update the
8776 registry structures in memory and work with that (rather than failing
8777 when creating elements because seemingly no plugins are available).
8778 Refactor registry scanning code into separate function for this and
8779 also separate fork() and non-fork() code paths. Fixes #344748.
8781 2006-06-13 Wim Taymans <wim@fluendo.com>
8783 * docs/manual/advanced-dataaccess.xml:
8784 Fix wrong PluginDesc. Fixes #344755.
8786 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
8788 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
8789 Fix silly bug that prevented us from creating
8790 ~/.gstreamer-0.10 and writing the registry in one
8791 go (the first call to g_mkstemp() would overwrite the
8792 placeholder in the template string, so the second call
8793 to g_mkstemp() after creating the missing directory
8794 would then error out with 'invalid argument').
8796 2006-06-13 Edward Hervey <edward@fluendo.com>
8798 * gst/gst.c: (init_post):
8801 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
8803 * gst/glib-compat-private.h:
8804 * gst/glib-compat.c:
8805 * gst/glib-compat.h:
8806 * gst/gstvalue.c: (gst_value_serialize_flags):
8807 remove GLib 2.6 compatibility code
8809 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
8811 * gst/parse/Makefile.am:
8812 Fix build with 'make -j N' even more (#340016).
8814 2006-06-12 Wim Taymans <wim@fluendo.com>
8816 * docs/gst/gstreamer-sections.txt:
8819 2006-06-12 Wim Taymans <wim@fluendo.com>
8821 * gst/gstsegment.c: (gst_segment_set_duration),
8822 (gst_segment_set_last_stop), (gst_segment_set_seek),
8823 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
8824 (gst_segment_to_running_time), (gst_segment_clip):
8825 Use G_UNLIKELY to help the compiler a bit.
8827 2006-06-12 Wim Taymans <wim@fluendo.com>
8829 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
8831 * gst/gstevent.c: (gst_event_get_type):
8833 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
8835 constify quark registration strings. Fixes #344115
8836 Avoid unneeded type checking is _pad_push() by internally
8837 calling gst_pad_chain_unchecked().
8839 2006-06-12 Wim Taymans <wim@fluendo.com>
8841 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
8842 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
8843 (gst_subbuffer_finalize), (gst_buffer_create_sub),
8844 (gst_buffer_is_span_fast), (gst_buffer_span):
8845 Init _type for consistency.
8846 Use _FLAGS macro to avoid type check.
8847 Avoid unneeded type checks in subbufer code.
8849 2006-06-12 Wim Taymans <wim@fluendo.com>
8851 * gst/gst.c: (gst_debug_help):
8852 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
8853 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
8854 (gst_plugin_feature_list_free):
8855 * gst/gstregistry.c: (gst_registry_add_plugin),
8856 (gst_registry_add_feature), (gst_registry_plugin_filter),
8857 (gst_registry_feature_filter), (gst_registry_find_plugin),
8858 (gst_registry_find_feature), (gst_registry_get_plugin_list),
8859 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
8860 * gst/gstregistryxml.c: (load_feature),
8861 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
8862 * gst/gstminiobject.c: (gst_mini_object_unref),
8863 (gst_mini_object_replace), (gst_value_mini_object_free),
8864 (gst_value_mini_object_copy):
8865 Use _CAST macros to avoid unneeded type checking.
8866 Added some more G_UNLIKELY.
8868 2006-06-12 Wim Taymans <wim@fluendo.com>
8871 Avoid unneeded type checking.
8872 API: GST_BUFFER_IS_DISCONT
8874 * gst/gstminiobject.h:
8875 Avoid type check in flag accessor.
8877 * gst/gstelementfactory.h:
8879 * gst/gstpluginfeature.h:
8881 API: GST_ELEMENT_FACTORY_CAST
8882 API: GST_PLUGIN_CAST
8883 API: GST_PLUGIN_FEATURE_CAST
8885 2006-06-12 Wim Taymans <wim@fluendo.com>
8887 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
8889 Add G_UNLIKELY in type registration.
8890 Avoid type check in _ref/_unref since that is also
8893 2006-06-12 Wim Taymans <wim@fluendo.com>
8895 * gst/gsterror.c: (gst_g_error_get_type):
8896 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
8897 (gst_static_pad_template_get_type):
8898 * gst/gsttaglist.c: (gst_tag_list_get_type):
8899 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
8900 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
8901 * gst/gsturi.c: (gst_uri_handler_get_type):
8902 * gst/gstvalue.c: (gst_date_get_type):
8903 * gst/gstxml.c: (gst_xml_get_type):
8904 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
8905 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
8906 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
8907 Add G_UNLIKELY in type registration.
8909 2006-06-12 Wim Taymans <wim@fluendo.com>
8911 * tools/gst-inspect.c: (print_signal_info):
8912 Properly print enum values.
8914 2006-06-12 Wim Taymans <wim@fluendo.com>
8916 * gst/gstinfo.c: (gst_debug_set_active),
8917 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
8919 Add some G_[UN]LIKELY.
8920 Maintain __gst_debug_min to avoid formatting the arguments of
8921 debug messages that will be dropped anyway to avoid a lot of
8922 overhead from the debugging system.
8924 2006-06-11 Stefan Kost <ensonic@users.sf.net>
8928 add missing files containing translatable strings, tell intltool about
8931 2006-06-11 Stefan Kost <ensonic@users.sf.net>
8933 * tests/check/libs/.cvsignore:
8934 add test-binary to ignore list
8936 2006-06-11 Stefan Kost <ensonic@users.sf.net>
8938 * docs/libs/gstreamer-libs-docs.sgml:
8939 reorder (put dp into a chapter) and indent
8941 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
8946 === release 0.10.8 ===
8948 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
8951 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
8953 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
8955 * gst/gst.c: (init_post):
8956 move pid declaration to declaration block
8958 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
8960 * gst/gst.c: (init_post):
8961 use _exit() instead of exit() in our forked child; this ensures
8962 that none of the registered exit handlers from whatever is using
8963 GStreamer get executed. This fixes gnome-mixer-applet failing
8964 to load, because ORBit would shut down.
8965 Spotted by: Edward Hervey <edward@fluendo.com>
8966 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
8969 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
8974 === release 0.10.7 ===
8976 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
8979 releasing 0.10.7, "Soepeke, ik zie ou"
8981 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
9004 * win32/common/config.h:
9007 2006-06-07 Wim Taymans <wim@fluendo.com>
9009 * gst/gstindex.c: (gst_index_gtype_resolver):
9010 * tools/gst-xmlinspect.c: (print_plugin_info):
9011 Fix leak spotted by coverity checker. Fixes #343827
9012 Fix another other leak found by paolo borelli.
9014 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
9016 * libs/gst/dataprotocol/dataprotocol.c:
9017 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
9018 (gst_dp_version_get_type), (gst_dp_init),
9019 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
9020 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
9021 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
9022 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
9023 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
9024 (gst_dp_packetizer_free):
9025 * libs/gst/dataprotocol/dataprotocol.h:
9026 API: add a GstDPPacketizer object, and create/free functions
9027 API: add GstDPVersion enum
9028 Add 1.0 event function that uses the string serialization
9029 Serialize more useful buffer flags
9032 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
9034 * tests/check/Makefile.am:
9035 * tests/check/gst/gstabi.c:
9036 * tests/check/gst/struct_ppc64.h:
9037 * tests/check/libs/libsabi.c:
9038 * tests/check/libs/struct_ppc64.h:
9039 add ppc64 structure sizes
9041 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
9043 * tests/check/Makefile.am:
9044 * tests/check/gst/gstabi.c:
9045 * tests/check/gst/struct_x86_64.h:
9046 * tests/check/libs/libsabi.c:
9047 * tests/check/libs/struct_x86_64.h:
9048 generate and add structure size lists for x86_64
9050 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
9052 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
9053 * libs/gst/check/gstcheck.h:
9054 factor out the method from tests that checks size of structures,
9055 and add code to generate the header containing these sizes
9056 * tests/check/gst/gstabi.c: (GST_START_TEST):
9057 * tests/check/gst/struct_i386.h:
9058 * tests/check/libs/libsabi.c: (GST_START_TEST):
9059 * tests/check/libs/struct_i386.h:
9062 2006-06-06 Michael Smith <msmith@fluendo.com>
9065 Don't use c++-style comments, fixes #343929
9067 2006-06-05 Edward Hervey <edward@fluendo.com>
9070 plugin_paths is not used if we build without registry support.
9072 * gst/gstsegment.c: (gst_segment_copy):
9073 _copy() was always returning NULL...
9075 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
9077 * libs/gst/dataprotocol/dataprotocol.c:
9078 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
9079 (gst_dp_packet_from_event):
9082 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
9084 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
9085 make sure we unset caps
9087 2006-06-02 Michael Smith <msmith@fluendo.com>
9089 * libs/gst/check/gstcheck.c: (gst_check_init),
9090 (gst_check_chain_func):
9091 * libs/gst/check/gstcheck.h:
9092 Add a cond/mutex to the check support lib, signal this whenever we
9093 add to the buffers list. This will allow tests to not busy-wait on
9096 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
9098 * libs/gst/dataprotocol/dataprotocol.c:
9099 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
9100 (gst_dp_packet_from_event):
9101 factor out some common header init code
9103 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
9105 * docs/libs/gstreamer-libs-sections.txt:
9106 * docs/libs/tmpl/gstdataprotocol.sgml:
9107 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
9108 * libs/gst/dataprotocol/dataprotocol.h:
9109 API: make gst_dp_crc() public
9111 2006-06-01 Stefan Kost <ensonic@users.sf.net>
9113 * plugins/indexers/gstindexers.c: (plugin_init):
9114 conditionally register fileindexer (fixes #343598)
9116 2006-06-01 Stefan Kost <ensonic@users.sf.net>
9118 * gst/gsttagsetter.h:
9119 Can't cast ifaces to a class
9121 * libs/gst/net/gstnetclientclock.h:
9122 * libs/gst/net/gstnettimeprovider.h:
9123 * plugins/elements/gstfakesink.h:
9124 * plugins/elements/gstfakesrc.h:
9125 * plugins/elements/gstfdsink.h:
9126 * plugins/elements/gstfdsrc.h:
9127 * plugins/elements/gstfilesink.h:
9128 * plugins/elements/gstfilesrc.h:
9129 * plugins/elements/gstidentity.h:
9130 * plugins/elements/gstqueue.h:
9131 * plugins/elements/gsttee.h:
9132 * plugins/indexers/gstfileindex.c:
9133 * plugins/indexers/gstmemindex.c:
9134 * tests/old/examples/plugins/example.h:
9135 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
9137 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
9139 * libs/gst/dataprotocol/dataprotocol.c:
9140 (gst_dp_header_from_buffer):
9141 make sure we zero the whole ABI-compatible area
9143 2006-06-01 Wim Taymans <wim@fluendo.com>
9145 Patch by: Alessandro Decina <alessandro at nnva dot org>
9147 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
9148 Make sure the EOS flag is cleared from pads after a flush
9149 or stop. Fixes #343538.
9151 * tests/check/libs/collectpads.c: (GST_START_TEST),
9152 (gst_collect_pads_suite):
9153 Added test for collectpads reusage after EOS.
9155 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
9158 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
9159 * win32/common/libgstbase.def:
9160 export gst_collect_pads_set_flushing
9161 * win32/common/libgstreamer.def:
9162 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
9163 gst_value_fraction_multiply
9164 * win32/vs6/gst_inspect.dsp:
9165 add a link to intl.lib
9167 2006-05-30 Wim Taymans <wim@fluendo.com>
9169 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
9170 (gst_collect_pads_chain):
9171 Handle the case where a pad is removed from the collection
9172 that could cause the other pads to become collectable.
9174 2006-05-30 Wim Taymans <wim@fluendo.com>
9177 Clarify the use of _release_request_pad() and
9178 _get_request_pad() a bit better.
9180 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
9181 (gst_adapter_take_buffer):
9182 Fix some doc and comment typos.
9184 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9186 * docs/gst/gstreamer-sections.txt:
9187 * docs/libs/gstreamer-libs-sections.txt:
9188 add declared symbols
9190 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
9192 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
9193 Add debug that can be enabled using a #define at the top of the file,
9194 for dumping stats about how late/early we were when waking up from
9195 waiting on the clock.
9197 2006-05-30 Wim Taymans <wim@fluendo.com>
9199 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
9200 When rebuilding the pad list, don't leak the previous list.
9202 2006-05-30 Wim Taymans <wim@fluendo.com>
9204 Patch by: Lutz Mueller <lutz at topfrose dot de>
9206 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9207 (gst_base_src_get_query_types), (gst_base_src_update_length):
9208 Publish supported query types.
9209 Update last_stop field in get_range mode so the position
9210 query works. Fixes #342321.
9212 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
9214 * docs/gst/gstreamer-sections.txt:
9215 * gst/gsttaglist.c: (_gst_tag_initialize):
9217 API: add GST_TAG_PREVIEW_IMAGE (#343341).
9219 2006-05-30 Wim Taymans <wim@fluendo.com>
9221 Patch by: Alessandro Decina <alessandro at nnva dot org>
9223 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
9224 Unlock mutex when removing an unknown pad.
9227 * tests/check/Makefile.am:
9228 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
9229 (push_event), (setup), (teardown), (GST_START_TEST),
9230 (gst_collect_pads_suite), (main):
9231 Added collecpads check, disabled for now as check crashes for
9234 2006-05-29 Wim Taymans <wim@fluendo.com>
9236 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
9237 Don't leak pads lists.
9239 2006-05-29 Wim Taymans <wim@fluendo.com>
9241 * docs/libs/gstreamer-libs-sections.txt:
9242 * libs/gst/base/gstcollectpads.c:
9243 (gst_collect_pads_set_flushing_unlocked),
9244 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
9245 (gst_collect_pads_stop):
9246 * libs/gst/base/gstcollectpads.h:
9247 API: gst_collect_pads_set_flushing()
9248 Added api to set the pads to flushing, useful for seeking
9249 code in elements using collectpads.
9250 Clear segment when receiving a flush.
9252 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
9254 * gst/gst.c: (add_path_func), (init_post):
9255 Don't scan registry paths passed via --gst-plugin-path immediately
9256 (will crash, because absolutely nothing is set up and no types are
9257 registered etc.); do this later in init_post(). Fixes #343057.
9259 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
9261 * gst/gst.c: (init_post):
9262 if we have fork, fork while reading/rebuilding the registry
9263 so the parent doesn't take the hit of having all plugins loaded
9264 in memory. Fixes #342777.
9266 Check if we have fork()
9267 * win32/common/config.h.in:
9270 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
9272 * plugins/elements/gstelements.c:
9273 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9274 (gst_file_src_init), (gst_file_src_set_property),
9275 (gst_file_src_get_property), (gst_file_src_start):
9276 * plugins/elements/gstfilesrc.h:
9277 API: GstFileSrc::use-mmap
9279 Add a use-mmap property to enable easier testing of all code paths.
9280 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
9281 in the absence of gnomevfssrc. (Closes #340501)
9283 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9285 * tools/gst-inspect.c:
9286 Add missing include, removes warning of ngettext not being defined on
9289 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
9291 * gst/gstvalue.c: (gst_value_deserialize_fraction):
9292 Handle NULL input and output pointers silently as a failed conversion,
9293 rather than g_warnings.
9295 2006-05-25 Wim Taymans <wim@fluendo.com>
9297 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
9298 Initialize variable before using. Fixes #342820.
9300 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
9302 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
9303 Fix off-by-one bug that would only allow peeks of N-1 bytes
9304 from the start even if the buffer to typefind on contains
9305 in fact N bytes of data (makes vorbis typefinding from a
9306 vorbis identification header buffer work).
9308 * tests/check/Makefile.am:
9309 * tests/check/libs/.cvsignore:
9310 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
9311 (gst_typefindhelper_suite), (main), (foobar_typefind),
9313 Add very basic unit test for gst_type_find_helper_for_buffer()
9314 that checks for the problem fixed above.
9316 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
9318 * tools/gst-inspect.c: (print_interfaces),
9319 (print_element_properties_info), (print_element_list), (main):
9320 add more translatable strings
9322 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
9324 Patch by: Julien Moutte <julien at moutte net>
9326 * docs/gst/gstreamer-sections.txt:
9327 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
9329 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9330 (gst_fake_sink_preroll):
9331 * plugins/elements/gstfakesink.h:
9332 API: Add new GstFakeSink::preroll-handoff signal (#337100).
9334 2006-05-23 Wim Taymans <wim@fluendo.com>
9336 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
9338 Added _CUSTOM error and success GstFlowReturn that can be
9339 used be elements internally.
9340 Added macro to check for SUCCESS flowreturns.
9341 API: GST_FLOW_CUSTOM_SUCCESS
9342 API: GST_FLOW_CUSTOM_ERROR
9343 API: GST_FLOW_IS_SUCCESS
9345 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
9346 Added check for GstFlowReturn sanity.
9348 2006-05-23 Wim Taymans <wim@fluendo.com>
9350 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9352 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
9353 (gst_collect_pads_event):
9354 clear/reset segment info in FLUSH_STOP.
9357 2006-05-22 Stefan Kost <ensonic@users.sf.net>
9359 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
9360 (gst_collect_pads_check_collected):
9361 Flush queued buffer on _stop(), fixes playing again (#342454)
9363 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
9365 * tests/check/gst/gststructure.c: (GST_START_TEST),
9366 (gst_structure_suite):
9367 add a test for a complete structure
9369 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
9371 * docs/faq/developing.xml:
9373 * docs/faq/troubleshooting.xml:
9374 * docs/faq/using.xml:
9375 Some minor FAQ updates that won't change the fact that
9376 our FAQ is badly structured, full of information hardly
9377 anyone new to GStreamer needs to know and lacking lots
9378 of information people constantly ask for.
9380 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
9382 * gst/gstpad.c: (gst_pad_set_caps):
9383 Short-circuit gst_pad_set_caps if setting the existing
9384 caps pointer again, and avoid printing debug and
9385 reffing/unreffing the caps.
9387 * plugins/elements/gstqueue.c: (gst_queue_push_one):
9388 There's actually no need to set the caps before pushing -
9389 the acceptcaps method will handle it anyway.
9391 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
9393 * docs/gst/gstreamer-sections.txt:
9394 * win32/common/libgstreamer.def:
9395 * gst/gstutils.c: (gst_element_seek_simple):
9397 API: add gst_element_seek_simple() (#342238).
9399 2006-05-18 Edward Hervey <edward@fluendo.com>
9401 * gst/gsttypefind.c: (gst_type_find_get_type):
9402 * gst/gsttypefind.h:
9403 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
9404 registered for GstTypeFind pointers. This allows wrapping the structure
9405 in bindings (i.e. gst-python).
9407 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
9409 * gst/gsttagsetter.c:
9410 Docs additions and fixes (see #339918).
9412 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
9414 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9415 The caps intersection algorithm can produce multiple copies of the
9416 caps. Until that is fixed, we need to simplify the result to be
9417 sure whether the allowed caps are fixed or not.
9419 * plugins/elements/gstqueue.c: (gst_queue_init),
9420 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
9421 (gst_queue_push_one):
9422 Proxied buffer alloc should not set the caps on the source pad.
9423 When pushing buffers, we always accept the caps change that triggers.
9424 This prevents negotiation errors caused by caps changing mid-stream
9425 and then being refused on our source pad (because upstream is now
9426 refusing those caps).
9428 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
9430 * tests/examples/helloworld/helloworld.c: (main):
9431 Must plug audioconvert and audioresample between decoder
9434 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
9436 * gst/gstregistryxml.c: (read_string), (load_pad_template),
9437 (load_feature), (load_plugin):
9438 Allow empty strings for some of the plugin fields so we don't
9439 drop valid plugin entries that were written out correctly
9442 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
9444 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
9445 Use g_remove and g_rename instead of remove and rename that don't
9446 handle utf8 characters. rename was failing for users who had specific
9447 characters in their name then the registry was built at each
9449 * win32/vs6/gst_inspect.dsp:
9450 * win32/vs6/gst_launch.dsp:
9451 * win32/vs6/libgstbase.dsp:
9452 * win32/vs6/libgstcoreelements.dsp:
9453 * win32/vs6/libgstreamer.dsp:
9454 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
9455 build of libgstreamer and clean unused libraries in projects link
9458 2006-05-17 Edward Hervey <edward@fluendo.com>
9460 * plugins/elements/gstqueue.c: (gst_queue_push_one):
9461 The queue is not responsible for pushing an EOS when receiving a fatal
9462 flow error. It's up to the real element driving the pipeline to do that.
9464 2006-05-16 Edward Hervey <edward@fluendo.com>
9466 * plugins/elements/gstqueue.c: (gst_queue_push_one):
9467 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
9468 buffer returned a fatal error. It should just send an EOS and stop
9470 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
9471 when pushing buffers on the queue and will be able to handle the event.
9473 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
9475 * docs/manual/basics-bins.xml:
9476 * docs/manual/basics-init.xml:
9477 Fix typos and minor errors in sample code (#341856).
9479 2006-05-16 Wim Taymans <wim@fluendo.com>
9481 * docs/design/part-qos.txt:
9482 Fix indexes in formulas to make more sense.
9484 2006-05-15 Wim Taymans <wim@fluendo.com>
9486 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9487 Don't report POSITION based on clock time if sync is
9490 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
9493 Add cast to make compiler happy - refcount variable was a gint
9494 in GstObject but is a guint in GObject and g_atomic_int_get()
9497 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
9499 * gst/parse/Makefile.am:
9500 chain commands using &&, which also makes parallel make work
9502 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
9504 * docs/gst/gstreamer-sections.txt:
9510 === release 0.10.6 ===
9512 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
9515 releasing 0.10.6, "Take the cannoli"
9517 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
9519 * tools/gst-launch.c: (print_tag):
9520 Fix use of uninitialized variable in the hypothetical
9521 case that some broken plugin creates a GST_TAG_IMAGE
9522 tag containing a NULL buffer (#341667).
9524 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
9526 * tools/gst-launch.c: (print_tag):
9527 Print something more intelligible for image tags when
9528 using the -t switch (#341556).
9530 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
9535 define GST_MAJORMINOR so we have it available in win32/common/config.h
9536 Possibly remove it from our Makefile.am files later
9537 * win32/common/config.h:
9538 * win32/common/config.h.in:
9539 added GST_MAJORMINOR
9540 * win32/common/gstenumtypes.c: (register_gst_resource_error):
9541 * win32/common/gstversion.h:
9544 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
9547 Update win32 files listing.
9548 * win32/common/gstversion.h:
9549 Add GST_MAJORMINOR definition.
9550 * win32/common/libgstreamer.def:
9551 Add new exported functions.
9553 2006-05-12 Michael Smith <msmith@fluendo.com>
9555 * gst/gstplugin.c: (gst_plugin_load_file):
9556 If an so file has no plugin entry point, unload the module.
9558 2006-05-11 Wim Taymans <wim@fluendo.com>
9560 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
9561 (gst_queue_set_property):
9562 Don't forget to signal the _chain or _loop function
9563 when the queue size or thresholds change since that might
9564 cause them to make progres again.
9566 2006-05-11 Stefan Kost <ensonic@users.sf.net>
9568 * gst/gstclock.c: (gst_clock_class_init):
9569 * gst/gstindex.c: (gst_index_class_init):
9570 * gst/gstobject.c: (gst_object_class_init):
9571 * gst/gstpad.c: (gst_pad_class_init):
9572 * gst/gstpipeline.c: (gst_pipeline_class_init):
9573 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
9574 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
9575 * libs/gst/base/gstbasetransform.c:
9576 (gst_base_transform_class_init):
9577 * libs/gst/net/gstnetclientclock.c:
9578 (gst_net_client_clock_class_init):
9579 * libs/gst/net/gstnettimeprovider.c:
9580 (gst_net_time_provider_class_init):
9581 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
9582 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
9583 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
9584 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
9585 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
9586 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
9587 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
9588 * plugins/elements/gstidentity.c: (gst_identity_class_init):
9589 * plugins/elements/gsttee.c: (gst_tee_class_init):
9590 * tests/old/examples/plugins/example.c: (gst_example_class_init):
9591 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
9592 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
9594 2006-05-11 Wim Taymans <wim@fluendo.com>
9596 * gst/gstbuffer.c: (_gst_buffer_initialize):
9597 Register subbufer along with the buffer type so that
9598 it does not accidentally gets registered from N
9599 different streaming threads in a non threadsafe way.
9601 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
9606 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
9607 gst_event_ref() and gst_message_ref() functions again
9608 (ugly hack, please do fix if there's a better way besides
9609 overrides.txt, which doesn't seem to work).
9611 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
9613 * libs/gst/check/gstcheck.h:
9614 add an assert for setting state to avoid lots of repetitive code
9617 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
9619 * gst/gstvalue.c: (gst_value_serialize_flags):
9620 fix a leak if no flags are set
9621 * tests/check/gst/gstvalue.c: (GST_START_TEST):
9624 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
9626 * docs/manual/basics-pads.xml:
9627 Expand a bit on caps and filtered links and update
9628 examples that were still using the no longer existing
9629 gst_pad_link_filtered() (#338206).
9631 2006-05-10 Wim Taymans <wim@fluendo.com>
9633 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
9634 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
9635 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
9636 (gst_collect_pads_stop):
9637 * libs/gst/base/gstcollectpads.h:
9638 No need to call _stop in _finalize.
9639 Iterate the main pad list in _finalize.
9640 Added some more debug.
9641 Free lists and data in the right order.
9642 Also free data whem doing _remove_pad when stopped for
9643 backward compatibility protect ::started with PAD_LOCK as
9646 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
9648 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
9649 (gst_structure_parse_value):
9651 rename a method so that it actually says what it does better
9653 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
9655 * gst/gstevent.c: (_gst_event_initialize):
9656 * gst/gstformat.c: (_gst_format_initialize):
9657 make sure some essential types used by events are registered
9658 as part of gst_init()
9659 * gst/gstvalue.c: (gst_value_serialize_flags):
9660 if no flags are set, serialize them to a value that represents NONE
9661 so that deserializing them works
9662 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9663 add tests for serialization and deserialization of flags
9665 2006-05-10 Wim Taymans <wim@fluendo.com>
9667 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
9668 (gst_collect_pads_collect_range), (gst_collect_pads_available),
9669 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
9670 (gst_collect_pads_event), (gst_collect_pads_chain):
9673 Catch and return errors from the collect function
9674 Refuse data on eos pads.
9676 2006-05-10 Edward Hervey <edward@fluendo.com>
9678 * gst/gstinterface.h:
9679 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
9680 GInterface type checking.
9681 They were previously using non-defined macros.
9683 2006-05-09 Wim Taymans <wim@fluendo.com>
9685 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
9686 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
9687 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
9688 (gst_collect_pads_start), (gst_collect_pads_stop),
9689 (gst_collect_pads_peek), (gst_collect_pads_pop),
9690 (gst_collect_pads_available), (gst_collect_pads_read),
9691 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
9692 (gst_collect_pads_is_collected), (gst_collect_pads_event),
9693 (gst_collect_pads_chain):
9694 * libs/gst/base/gstcollectpads.h:
9695 Clean up the mess that is collectpads, add comments and
9696 FIXMEs where needed.
9697 Maintain a separate pad list so we can add pads while
9698 collecting the other ones. For this we need a new separate
9700 Fix memory leak in finalize.
9701 Refactor some weird code to set/unset pad flushing flags, mark
9703 Don't crash in _available, _read, _flush when we're EOS.
9705 * tests/check/libs/.cvsignore:
9706 Ignore adapter check binary.
9708 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
9710 * gst/gstindex.c: (gst_index_resolver_get_type):
9711 * plugins/elements/gstfakesink.c:
9712 (gst_fake_sink_state_error_get_type):
9713 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
9714 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
9715 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
9716 Const-ify GEnumValue arrays.
9718 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
9720 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
9721 Add test case for flags + gst_buffer_make_metadata_writable().
9723 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
9725 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
9726 gst_buffer_make_metadata_writable() should maintain the
9727 buffer flags (those that make sense at least) (see #340859).
9729 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
9731 * tools/gst-inspect.c:
9732 * tools/gst-launch.c:
9733 * tools/gst-typefind.c:
9734 * tools/gst-xmlinspect.c:
9736 Fix up includes: need to include stdlib.h in tools.h for exit().
9738 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
9740 * gst/gsttaglist.c: (_gst_tag_initialize):
9742 API: add GST_TAG_IMAGE tag (#340721).
9744 2006-05-08 Wim Taymans <wim@fluendo.com>
9747 Added some docs for the segment query.
9749 2006-05-08 Wim Taymans <wim@fluendo.com>
9751 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9752 (gst_base_src_loop), (gst_base_src_change_state):
9753 Always push non-flushing serialized events in the streaming
9756 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
9758 * gst/gsterror.c: (_gst_stream_errors_init):
9759 Add a missing error string.
9761 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
9763 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
9764 Add applied_rate to the debug
9766 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
9767 Copy applied_rate into the outgoing NEWSEGMENT event
9769 2006-05-08 Wim Taymans <wim@fluendo.com>
9771 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
9773 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9774 (gst_base_sink_change_state):
9775 call ::unlock before taking the PREROLL_LOCK so we can safely
9776 handle elements that lock in ::render.
9779 2006-05-08 Edward Hervey <edward@fluendo.com>
9781 * autogen.sh: (CONFIGURE_DEF_OPT):
9782 Darwin's libtoolize is in fact called glibtoolize.
9783 Adding glibtoolize to the list of accepted names for libtoolize.
9785 2006-05-08 Wim Taymans <wim@fluendo.com>
9787 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9788 Unify error handling, don't post an error message
9789 when a push() returns EOS but perform our normal EOS
9790 handling code. Fixes #340772.
9792 2006-05-08 Wim Taymans <wim@fluendo.com>
9794 * docs/design/part-overview.txt:
9795 Make upsteam/downstream concepts more clear.
9796 Give an example of serialized/non-serialized events.
9798 * docs/design/part-events.txt:
9799 * docs/design/part-streams.txt:
9800 Mention applied_rate.
9802 * docs/design/part-trickmodes.txt:
9803 Mention applied rate, flesh out some more use cases.
9805 * gst/gstevent.c: (gst_event_new_new_segment),
9806 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
9807 (gst_event_parse_new_segment_full), (gst_event_new_tag),
9808 (gst_event_parse_tag), (gst_event_new_buffer_size),
9809 (gst_event_parse_buffer_size), (gst_event_new_qos),
9810 (gst_event_parse_qos), (gst_event_parse_seek),
9811 (gst_event_new_navigation):
9813 Add applied_rate field to NEWSEGMENT event.
9814 API: gst_event_new_new_segment_full()
9815 API: gst_event_parse_new_segment_full()
9817 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
9818 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
9819 (gst_segment_to_stream_time), (gst_segment_to_running_time):
9821 Add applied_rate to GstSegment structure.
9822 Make calculation of stream_time and running_time more correct
9823 wrt rate/applied_rate.
9825 API: GstSegment::applied_rate field
9826 API: gst_segment_set_newsegment_full();
9828 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
9829 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
9830 * libs/gst/base/gstbasetransform.c:
9831 (gst_base_transform_sink_eventfunc),
9832 (gst_base_transform_handle_buffer):
9833 Parse and use applied_rate in the GstSegment field.
9835 * tests/check/gst/gstevent.c: (GST_START_TEST):
9836 Add check for applied_rate field.
9838 * tests/check/gst/gstsegment.c: (GST_START_TEST),
9839 (gstsegments_suite):
9840 Add more checks for various GstSegment operations.
9842 2006-05-08 Wim Taymans <wim@fluendo.com>
9844 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
9845 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
9846 (gst_base_sink_get_position), (gst_base_sink_change_state):
9847 Store the sync time of the buffer end position separatly in a
9848 new variable eos_rtime so we can properly sync the EOS event.
9850 Fix the docs for gst_base_sink_set_qos_enabled().
9851 Don't set segment start to invalid value when we receive a
9852 non TIME newsegment.
9853 get closer to handling position reporting for negative rates
9856 2006-05-07 Stefan Kost <ensonic@users.sf.net>
9859 Docs about how to print caps for debug purposes.
9861 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
9862 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
9864 2006-05-07 Stefan Kost <ensonic@users.sf.net>
9867 use full enum names and preprend a '%' in docs strings to make recent
9868 gtk-doc turn that into a link
9870 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
9872 * docs/manual/basics-bins.xml:
9873 * docs/manual/basics-bus.xml:
9874 * docs/manual/basics-pads.xml:
9875 Some typo fixes, some additions, some clarifications.
9877 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
9879 * tools/gst-inspect.c: (main):
9880 * tools/gst-launch.c: (main):
9881 * tools/gst-run.c: (main):
9882 * tools/gst-typefind.c: (main):
9883 * tools/gst-xmlinspect.c: (main):
9884 Use the string passed to g_option_context_new() for
9885 what it's intended for - the program name is already
9888 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
9890 * tools/Makefile.am:
9891 * tools/gst-inspect.c: (main):
9892 * tools/gst-launch.c: (main):
9893 * tools/gst-xmlinspect.c: (main):
9895 Add back --version command line option (#340460).
9897 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
9898 Add --version option and use GOption for argument parsing; refactor a
9899 bit; accept directories as arguments and recurse into them; lastly,
9900 print a decent error message when things go wrong.
9902 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
9904 * docs/manual/basics-bins.xml:
9905 Don't mention GstThread (#340611)
9906 * docs/manual/basics-elements.xml:
9907 Update link to GObject tutorial (#340607)
9909 2006-05-05 Wim Taymans <wim@fluendo.com>
9912 * gst/gstminiobject.c:
9913 Add note about refcounting and miniobject/buffer writeability
9914 to docs. Fixes #340604
9916 * gst/gstelementfactory.h:
9917 Added some explanation about @klass.
9919 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
9921 * docs/manual/intro-motivation.xml:
9922 * docs/manual/manual.xml:
9923 Avoid CORBA & Bonobo references (#340598)
9925 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
9927 * docs/manual/basics-bus.xml:
9928 * docs/manual/basics-pads.xml:
9929 Fix up some inaccuracies and omissions (#340609)
9931 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
9933 * gst/gstghostpad.c:
9934 Small typo in docs (#340625)
9936 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
9938 * gst/parse/Makefile.am:
9939 Make 'make -j' proof (see #340698).
9941 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
9944 Require GLib-2.8 here as well.
9946 2006-05-05 Wim Taymans <wim@fluendo.com>
9948 * gst/glib-compat.c:
9949 * gst/gst.c: (init_pre):
9950 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
9951 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
9952 (gst_object_dispatch_properties_changed):
9954 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
9955 * gst/gststructure.c: (gst_structure_set_valist):
9956 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
9957 Remove pre glib2.8 compatibility, fixes #340508
9959 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
9962 Mention type of tags in doc blurbs.
9964 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
9966 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
9967 (gst_pad_configure_src), (gst_pad_push):
9968 Restore acceptcaps checking behaviour now that good plugins have
9971 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
9973 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
9984 * gst/parse/Makefile.am:
9985 * libs/gst/base/gstadapter.c:
9986 * libs/gst/base/gstbasesrc.c:
9987 * libs/gst/base/gstpushsrc.c:
9988 * libs/gst/base/gsttypefindhelper.c:
9989 * plugins/elements/gstfakesrc.c:
9990 * plugins/elements/gstidentity.c:
9991 Make sure gstprivate.h and/or config.h are
9992 always included first, otherwise some of our
9993 defines (like _FILE_OFFSET_BITS) might be
9994 redefined in the system headers. Fixes build
9995 on opensolaris (#340016).
9997 2006-05-04 Wim Taymans <wim@fluendo.com>
9999 * docs/libs/gstreamer-libs-sections.txt:
10000 API: addition: gst_adapter_take_buffer()
10002 * libs/gst/base/gstadapter.c: (gst_adapter_push),
10003 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
10004 (gst_adapter_available_fast):
10005 * libs/gst/base/gstadapter.h:
10006 Prepare for optimizing the hell out of this hugely inefficient
10008 Added gst_adapter_take_buffer() so we can at least start thinking
10009 about subbuffering and merging.
10010 Added some comments.
10012 * tests/check/Makefile.am:
10013 * tests/check/libs/adapter.c: (GST_START_TEST),
10014 (gst_adapter_suite), (main):
10015 Added GstAdapter check.
10017 2006-05-04 Wim Taymans <wim@fluendo.com>
10019 * docs/design/part-overview.txt:
10020 Fix some typos, add blurb about buffer flags.
10022 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
10024 * docs/libs/gstreamer-libs-sections.txt:
10025 make sure GstBaseTransformClass shows up in the docs
10026 * libs/gst/base/gstbasetransform.c:
10027 * libs/gst/base/gstbasetransform.h:
10028 move docs so gtk-doc picks it up now
10030 2006-05-02 Stefan Kost <ensonic@users.sf.net>
10032 * docs/libs/gstreamer-libs-sections.txt:
10033 add missing symbols to docs
10035 2006-05-02 Stefan Kost <ensonic@users.sf.net>
10037 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
10038 back out the newsegment handling change, see #340060 for ongoing
10041 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
10043 * tools/gst-run.c: (get_candidates), (main):
10044 Fix wrong g_file_test() usage (see glib docs for why it doesn't
10045 work); fix typo in error message. Fixes #340079.
10047 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
10049 * common/Makefile.am:
10050 * docs/Makefile.am:
10051 * docs/faq/Makefile.am:
10052 * docs/gst/Makefile.am:
10053 * docs/libs/Makefile.am:
10054 * docs/manual/Makefile.am:
10055 * docs/plugins/Makefile.am:
10056 * docs/pwg/Makefile.am:
10057 * docs/slides/Makefile.am:
10059 * common/upload.mak:
10060 move upload.mak to common
10062 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
10064 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
10065 add more asserts on refcounts
10066 do more cleanup at end of tests
10067 fix test leaks showing in FC5
10069 2006-04-29 Stefan Kost <ensonic@users.sf.net>
10071 * plugins/elements/gsttypefindelement.c:
10072 (gst_type_find_element_handle_event):
10073 reverted wrong change and reflowed code to avoid others falling into
10076 2006-04-28 Stefan Kost <ensonic@users.sf.net>
10078 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
10079 fix changelog entry about last collectpads change,
10080 add notes about proper fix
10082 2006-04-28 Stefan Kost <ensonic@users.sf.net>
10085 * gst/gstregistry.c: (gst_registry_scan_path_level),
10086 (gst_registry_scan_path):
10087 * gst/gstregistry.h:
10088 only write out registry if it has changed, fixes #338339
10090 2006-04-28 Stefan Kost <ensonic@users.sf.net>
10093 * gst/gstpipeline.c:
10094 * plugins/elements/gstcapsfilter.c:
10095 * plugins/elements/gstfakesink.c:
10096 * plugins/elements/gstfakesrc.c:
10097 * plugins/elements/gstfdsink.c:
10098 * plugins/elements/gstfdsrc.c:
10099 * plugins/elements/gstfilesink.c:
10100 * plugins/elements/gstfilesrc.c:
10101 * plugins/elements/gstidentity.c:
10102 * plugins/elements/gstqueue.c:
10103 * plugins/elements/gsttee.c:
10104 * plugins/elements/gsttypefindelement.c:
10105 (gst_type_find_element_handle_event):
10106 make GstElementDetails const
10108 2006-04-28 Stefan Kost <ensonic@users.sf.net>
10110 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
10111 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
10112 (gst_collect_pads_is_collected), (gst_collect_pads_event):
10113 more detailed debug and formatting cleanup,
10114 forward newsegments to src-pad (so that e.g. adder not eats them)
10116 2006-04-28 Stefan Kost <ensonic@users.sf.net>
10118 * gst/gstutils.c: (gst_element_link_pads):
10119 cleanup double code
10121 2006-04-28 Stefan Kost <ensonic@users.sf.net>
10123 * libs/gst/controller/gstcontroller.c:
10124 (gst_controller_sync_values):
10126 * tests/check/libs/controller.c: (GST_START_TEST),
10127 (gst_controller_suite):
10128 a new test for live value handling
10130 2006-04-28 Wim Taymans <wim@fluendo.com>
10132 * gst/gstutils.c: (push_and_ref):
10133 Added some more docs.
10134 Fix refcount issue whith gst_element_found_tags() helper
10135 function. Fixes #338335
10137 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10138 Added testsuite for gst_element_found_tags().
10140 2006-04-28 Michael Smith <msmith@fluendo.com>
10142 * gst/gstvalue.c: (gst_value_serialize_flags):
10143 Avoid NULL dereference when trying to serialize flags containing
10146 2006-04-28 Michael Smith <msmith@fluendo.com>
10148 * plugins/elements/gsttypefindelement.c:
10149 (gst_type_find_element_handle_event):
10150 If we get EOS before any data is accumulated, don't use
10151 uninitialised local variables.
10153 2006-04-28 Michael Smith <msmith@fluendo.com>
10155 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
10156 (gst_dp_event_from_packet):
10157 Fixes in reading/writing events over GDP (not currently used?) -
10158 dereferencing NULL events for unknown/invalid event types, memory
10159 leak, and change g_warning to GST_WARNING.
10161 2006-04-28 Wim Taymans <wim@fluendo.com>
10163 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
10164 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
10165 (gst_base_sink_get_position), (gst_base_sink_change_state):
10166 When frame dropping is enabled, we should not ignore frames
10167 without a duration.
10168 Update some documentation.
10170 2006-04-28 Wim Taymans <wim@fluendo.com>
10172 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
10173 (gst_base_src_send_event), (gst_base_src_change_state):
10174 Documentation updates.
10176 2006-04-28 Wim Taymans <wim@fluendo.com>
10178 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
10179 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
10180 handle EAGAIN, EINTR and short writes correctly. Also clean
10181 up some error cases, avoid a deadlock on bad file descriptors and
10182 use GST_DEBUG_OBJECT.
10185 2006-04-28 Wim Taymans <wim@fluendo.com>
10187 * gst/gstvalue.c: (gst_value_serialize_buffer),
10188 (gst_value_deserialize_buffer):
10189 Don't try to serialize a GValue with a NULL buffer.
10192 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10193 Added check for serialisation of NULL buffers.
10195 2006-04-28 Wim Taymans <wim@fluendo.com>
10197 * gst/gstminiobject.c: (gst_value_take_mini_object):
10198 Taking a NULL miniobject is valid, fix the case where
10199 we try to unref the NULL miniobject.
10201 2006-04-28 Wim Taymans <wim@fluendo.com>
10203 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
10205 * gst/gstbin.c: (gst_bin_handle_message_func):
10207 Don't leak bin refcount when a state recalc is
10208 in progress and we delay another one #339808.
10210 2006-04-28 Wim Taymans <wim@fluendo.com>
10212 * docs/design/part-TODO.txt:
10213 Mention QoS as an ongoing work item.
10215 * docs/design/part-buffering.txt:
10216 New doc about buffering that needs to be fleshed out
10219 * docs/design/part-qos.txt:
10220 More QoS policy for decoders/demuxers/transforms
10222 * docs/design/part-trickmodes.txt:
10225 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
10230 === release 0.10.5 ===
10232 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
10235 releasing 0.10.5, "Fogo"
10237 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
10239 patch by: Wim Taymans
10241 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
10242 (gst_pad_configure_src), (gst_pad_push):
10243 * gst/gstpipeline.c: (gst_pipeline_init):
10244 Fix internal data flow errors. Fixes #338711.
10246 2006-04-12 Wim Taymans <wim@fluendo.com>
10248 * tests/check/gst/gstelement.c: (GST_START_TEST):
10249 Don't leak the factory.
10251 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
10254 * win32/common/config.h:
10257 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
10259 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
10260 (gst_controller_unset_all):
10261 Free allocated GstTimedValues when freeing list nodes.
10262 Should fix leaks 'make check-valgrind' complains about.
10264 * win32/common/libgstcontroller.def:
10265 Add gst_controller_unset_all.
10267 2006-04-11 Stefan Kost <ensonic@users.sf.net>
10269 * docs/libs/gstreamer-libs-sections.txt:
10270 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
10271 (gst_controller_unset_all):
10272 * libs/gst/controller/gstcontroller.h:
10273 API: Added new method gst_controller_unset_all()
10274 fixed gst_controller_unset()
10275 * tests/check/libs/controller.c: (GST_START_TEST),
10276 (gst_controller_suite):
10277 Added two testcases for new and fixed method
10279 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
10281 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
10282 MSG_DONTWAIT is not defined on Cygwin, so work
10283 around that (fixes #317048).
10285 2006-04-11 Wim Taymans <wim@fluendo.com>
10287 * gst/gstelementfactory.c: (gst_element_register),
10288 (gst_element_factory_create), (gst_element_factory_make):
10291 Updated docs (Fixes #131079)
10293 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
10296 * tests/check/gst/gstelement.c: (GST_START_TEST),
10297 (gst_element_suite):
10298 Added testcase for elementfactory class field.
10300 2006-04-10 Wim Taymans <wim@fluendo.com>
10302 * gst/gstsegment.c:
10303 Added some more docs.
10305 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
10306 (gst_base_sink_reset_qos):
10307 Calculate more accurate rate values.
10309 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
10311 * gst/gst_private.h:
10312 add a new #ifdef to use __declspec(dllimport) only for
10313 other modules and not for gstreamer core
10314 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
10315 use gst_guint64_to_gdouble for conversion
10316 * win32/common/libgstreamer.def:
10317 add new exported functions
10318 * win32/vs6/gst_inspect.dsp:
10319 * win32/vs6/gst_launch.dsp:
10320 * win32/vs6/libgstbase.dsp:
10321 * win32/vs6/libgstcontroller.dsp:
10322 * win32/vs6/libgstcoreelements.dsp:
10323 * win32/vs6/libgstdataprotocol.dsp:
10324 * win32/vs6/libgstnet.dsp:
10325 update project files
10327 2006-04-08 Stefan Kost <ensonic@users.sf.net>
10329 * gst/gstbuffer.c: (gst_subbuffer_class_init):
10330 * gst/gstclock.c: (gst_clock_class_init):
10331 * gst/gstelement.c: (gst_element_class_init):
10332 * gst/gstindex.c: (gst_index_class_init):
10333 * gst/gstindexfactory.c: (gst_index_factory_class_init):
10334 * gst/gstobject.c: (gst_object_class_init),
10335 (gst_signal_object_class_init):
10336 * gst/gstpad.c: (gst_pad_class_init):
10337 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
10338 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
10339 * gst/gstregistry.c: (gst_registry_class_init):
10340 * gst/gstsystemclock.c: (gst_system_clock_class_init):
10341 * gst/gsttask.c: (gst_task_class_init):
10342 * gst/gstxml.c: (gst_xml_class_init):
10343 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
10344 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10345 (gst_base_src_loop):
10346 * libs/gst/controller/gstcontroller.c:/
10347 (_gst_controller_class_init):
10348 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
10349 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
10350 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
10351 * tests/old/examples/plugins/example.c: (gst_example_class_init):
10352 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
10353 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
10355 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
10357 * gst/gstpad.c: (gst_pad_link):
10358 Must set peer pads before calling the link function, otherwise
10359 a task started from a link function might get a flow-not-linked
10360 result when trying to push because the other thread where the
10361 linking happens hasn't had a chance to set the peers yet. This
10362 might happen for example when a queue gets linked to a downstream
10363 element, as queue starts a streaming task when its source pad
10364 gets linked. Happens in real life when playing back flac/musepack
10365 files in playbin (#332390).
10367 2006-04-08 Stefan Kost <ensonic@users.sf.net>
10371 * libs/gst/base/gstadapter.h:
10372 * libs/gst/base/gstbasesink.h:
10373 * libs/gst/base/gstbasesrc.h:
10374 * libs/gst/base/gstbasetransform.h:
10375 * libs/gst/base/gstcollectpads.h:
10376 * libs/gst/base/gstpushsrc.h:
10377 Fix broken GObject macros
10379 2006-04-07 Wim Taymans <wim@fluendo.com>
10381 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10382 Initialize start and stop times, thanks valgrind.
10384 2006-04-07 Wim Taymans <wim@fluendo.com>
10386 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10387 Be a bit nicer to badly behaving upstream elements that expect
10388 us to deal with non TIME segments and timestamps (such as fakesrc
10391 2006-04-07 Wim Taymans <wim@fluendo.com>
10394 Small documentation clarification about the signal watch.
10396 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
10397 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
10398 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10399 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
10400 (gst_base_sink_get_position_last),
10401 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
10402 Convert and store timestamps in stream time and running time, the
10403 raw timestamps are not useful, also document this better.
10404 Use different window sizes for good and bad QoS observations so
10405 we react to badness a little quicker.
10406 Keep track of the amount of rendered and dropped buffers.
10407 Send QoS timestamps in running time.
10409 * libs/gst/base/gstbasetransform.c:
10410 (gst_base_transform_sink_eventfunc),
10411 (gst_base_transform_handle_buffer):
10412 Compare QoS timestamps against running time.
10414 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
10417 Typo fixes in docs.
10419 2006-04-06 Michael Smith <msmith@fluendo.com>
10421 * gst/gstpad.c: (gst_pad_set_property):
10422 Use g_value_get_object() instead of g_value_dup_gst_object(),
10423 to avoid double-reffing the pad template (which we then sink,
10424 so this worked previously if (and only if) the pad template
10427 * gst/gstpadtemplate.c: (gst_pad_template_init),
10428 (gst_pad_template_pad_created):
10429 Never return floating references to pad templates, create
10430 them as initially-sunken.
10432 Document an extra function (and make this stop sinking our
10433 pad template, since that is now guaranteed to do nothing,
10434 since we created it sunken).
10436 * gst/gstghostpad.c:
10439 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
10441 * gst/gstinfo.c: (__gst_in_valgrind):
10444 * plugins/elements/gsttypefindelement.c:
10445 (gst_type_find_element_chain):
10446 Don't leak buffer caps.
10448 2006-04-06 Michael Smith <msmith@fluendo.com>
10450 * gst/parse/grammar.y:
10451 Fix a leak in parse-launch for any source-or-sink named element
10454 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
10455 Unref the pipeline if it exists after we've failed parsing.
10457 2006-04-05 Michael Smith <msmith@fluendo.com>
10459 * gst/gstpipeline.c: (gst_pipeline_init):
10460 When we create a pipeline bus, initially create it in flushing mode.
10461 Fixes leaks in at least one test, and makes a new pipeline work the
10462 same as one that has gone to READY and then back to NULL.
10464 * gst/gstelement.c:
10467 2006-04-05 Michael Smith <msmith@fluendo.com>
10469 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
10470 Unref a pad we reffed.
10471 * tests/check/gst/gstutils.c: (GST_START_TEST):
10474 2006-04-05 Michael Smith <msmith@fluendo.com>
10476 * gst/gstquery.c: (gst_query_set_formats),
10477 (gst_query_set_formatsv):
10478 Fix leaking GValues in queries, as shown by valgrind/testsuite.
10480 2006-04-05 Michael Smith <msmith@fluendo.com>
10482 * tests/check/generic/sinks.c: (GST_START_TEST):
10483 Fix a variety of memleaks in sinks check, which are only sometimes
10484 shown by running the tests under valgrind (weird?).
10486 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
10488 * docs/version.entities.in:
10489 Fix the substituted entity name after thomas' changes on the
10492 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10494 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
10497 2006-04-05 Andy Wingo <wingo@pobox.com>
10499 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
10501 * libs/gst/base/gstbasetransform.c
10502 (gst_base_transform_sink_eventfunc): When resetting our segment on
10503 FLUSH_STOP, also update the flag saying we haven't seen a
10506 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
10508 Patch by: Paolo Borelli <pborelli at katamail dot com>
10510 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
10511 (gst_plugin_check_license):
10512 minor clean-ups: G_DEFINE_TYPE already takes care of the
10513 parent_class stuff, no need to do it twice. Mark array of
10514 license strings as constant. (#337103)
10516 2006-04-04 Michael Smith <msmith@fluendo.com>
10518 * tools/gst-inspect.c: (print_element_list):
10519 Free the right plugin list; fixes a memory leak.
10521 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
10523 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
10525 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
10526 Don't error out on empty buffers (#336945).
10528 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
10530 * docs/libs/gstreamer-libs-sections.txt:
10531 * gst/gsttaglist.c:
10532 * libs/gst/base/gstbasesink.c:
10533 * libs/gst/base/gstbasesink.h:
10534 * libs/gst/base/gstbasesrc.c:
10535 * libs/gst/base/gstbasesrc.h:
10536 Documentation updates. Make BaseSink and BaseSrc docs contain the
10537 class structure so that people can actually see the prototypes for
10538 virtual functions they're supposed to be overriding.
10540 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
10542 * plugins/elements/gsttypefindelement.c:
10543 (gst_type_find_element_chain):
10544 More debug info; when skipping typefinding, send cached
10545 events in all cases.
10547 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
10550 use new AS_VERSION and AS_NANO macros
10551 * gst/gst-i18n-lib.h:
10554 * gst/gstversion.h.in:
10555 * win32/common/config.h:
10556 * win32/common/config.h.in:
10559 2006-03-31 Michael Smith <msmith@fluendo.com>
10561 * plugins/elements/gsttypefindelement.c:
10562 (gst_type_find_element_chain):
10563 Do not typefind content if the buffers already have caps.
10564 Neccesary for icydemux (#333657), and the right thing to do anyway.
10566 2006-03-30 Wim Taymans <wim@fluendo.com>
10568 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10569 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
10570 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
10571 (gst_base_sink_record_qos_observation),
10572 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10573 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
10574 (gst_base_sink_change_state):
10575 More QoS measurements as described in the design doc.
10576 Get rid of ringbuffer with observations, running average is
10577 more simple and equally good.
10578 Calculates valid proportion now.
10579 Added beginning of flood measurement.
10581 2006-03-29 Wim Taymans <wim@fluendo.com>
10583 * docs/design/part-qos.txt:
10585 Small documentation updates and additions.
10587 2006-03-29 Wim Taymans <wim@fluendo.com>
10589 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
10590 (gst_base_src_send_event), (gst_base_src_loop),
10591 (gst_base_src_change_state):
10592 Perform the EOS logic when we reach the segment stop position.
10593 Fix compilation on gcc4.1
10595 2006-03-29 Wim Taymans <wim@fluendo.com>
10597 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
10599 * plugins/elements/gstqueue.c: (gst_queue_init),
10600 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
10601 (gst_queue_set_property):
10602 * plugins/elements/gstqueue.h:
10603 In queue, when EOS is received, if minimum threshold > max_size -
10604 current_level, there is chance that queue blocks forever in conditional
10605 item del wait. This is because the queue is not emptied completely due
10606 to minimum threshold. Here is another approach. Instead of setting
10607 cur_levels to max in EOS, just zero all minimum threshold levels. This
10608 should make sure that queue gives out all data. When going to READY
10609 (stop) state, just reset the original minimum threshold levels.
10612 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
10614 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
10615 (gst_type_find_element_handle_event),
10616 (gst_type_find_element_send_cached_events),
10617 (gst_type_find_element_change_state):
10618 * plugins/elements/gsttypefindelement.h:
10619 When typefinding is done in push mode, we should cache
10620 events we receive during typefinding instead of just
10621 dropping them (e.g. newsegment, custom events from
10622 dvdreadsrc etc.) and then send them out once we've
10623 determined the type of the stream (and decodebin
10624 has had a chance to plug in a decoder/demuxer).
10626 2006-03-27 Wim Taymans <wim@fluendo.com>
10628 * docs/design/part-qos.txt:
10631 2006-03-27 Wim Taymans <wim@fluendo.com>
10633 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
10635 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
10636 (gst_base_src_send_event), (gst_base_src_change_state):
10637 Handle element seek correctly when we are streaming.
10640 2006-03-24 Michael Smith <msmith@fluendo.com>
10642 * docs/faq/gst-uninstalled:
10643 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
10644 allow you to correctly run intalled applications built against old
10645 core, using plugins that require updated core (e.g. running
10646 installed totem against a full uninstalled gstreamer stack)
10648 2006-03-24 Stefan Kost <ensonic@users.sf.net>
10650 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
10653 2006-03-24 Wim Taymans <wim@fluendo.com>
10655 * docs/gst/gstreamer-sections.txt:
10656 Rearrange the order of the methods so that related methods
10657 are grouped together in sections.
10659 2006-03-24 Stefan Kost <ensonic@users.sf.net>
10661 * gst/gstelement.c:
10662 Little clarification in the docs
10664 2006-03-24 Stefan Kost <ensonic@users.sf.net>
10668 * plugins/elements/gstidentity.c:
10669 * plugins/elements/gstqueue.c:
10670 * plugins/elements/gsttee.c:
10671 * plugins/elements/gsttypefindelement.c:
10672 GST_ELEMENT_DETAILS formatting
10674 2006-03-24 Wim Taymans <wim@fluendo.com>
10676 * libs/gst/base/gstbasesink.h:
10677 Only add fields, not insert or we break ABI.
10679 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
10681 * win32/common/libgstbase.def:
10682 * win32/common/libgstreamer.def:
10683 Update, add recently added functions.
10685 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
10687 * docs/gst/gstreamer-sections.txt:
10688 * gst/gstutils.c: (gst_pad_query_peer_position),
10689 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
10691 API: add some new utility functions:
10692 - gst_pad_query_peer_position()
10693 - gst_pad_query_peer_duration()
10694 - gst_pad_query_peer_convert()
10696 2006-03-23 Wim Taymans <wim@fluendo.com>
10698 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10699 (gst_base_sink_init), (gst_base_sink_finalize),
10700 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
10701 (gst_base_sink_set_property), (gst_base_sink_get_property),
10702 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
10703 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
10704 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
10705 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10706 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
10707 (gst_base_sink_preroll_object), (gst_base_sink_event),
10708 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
10709 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
10710 (gst_base_sink_query), (gst_base_sink_change_state):
10711 Decouple max-lateness and the fact that QoS messages are generated
10712 with a new property (qos).
10713 added API: GstBaseSink::async_play()
10714 Add vmethod so subclasses can be notified of ASYNC playing
10716 Collect timestamp start and stop to report better current
10717 position in EOS/PLAYING/PAUSED/READY/NULL.
10718 Refactor QoS/frame dropping and other measurements.
10719 API: GstBaseSrc::qos
10722 * libs/gst/base/gstbasesink.h:
10723 Added Private struct.
10724 API: gst_base_sink_set_qos_enabled()
10725 API: gst_base_sink_is_qos_enabled()
10727 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
10729 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
10730 If compiling against GLib-2.8 or newer, try to read the
10731 registry file using GMappedFile first before falling back
10732 to fopen() + fread() (#332151).
10734 2006-03-22 Wim Taymans <wim@fluendo.com>
10736 * gst/gstinfo.c: (gst_debug_set_active),
10737 (gst_debug_category_set_threshold):
10738 Disable debugging unless explicitly activated.
10741 2006-03-22 Wim Taymans <wim@fluendo.com>
10743 * gst/gstelement.c: (gst_element_set_locked_state),
10744 (gst_element_dispose):
10745 Cleanup the error case.
10747 * gst/gstobject.c: (gst_object_dispose):
10748 print a critical when some object was disposed with
10749 a parent, also revive the object since it might
10752 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
10754 * tools/gst-launch.1.in:
10757 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
10760 * tests/check/Makefile.am:
10761 disable some tests when we don't have a registry
10762 * tests/check/gst/gstutils.c: (gst_utils_suite):
10763 don't build the part that needs parsing
10765 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
10768 * tests/examples/Makefile.am:
10769 fix --disable-parse build
10771 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
10773 * tools/gst-feedback.1.in:
10774 Fix typo: s/feeback/feedback/ (#133494).
10776 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
10778 * tools/Makefile.am:
10779 * tools/gst-launch.1.in:
10780 Add FILES section and correct entry about GST_REGISTRY_PATH
10781 environment variable (#133495; #133494).
10783 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
10785 * tools/Makefile.am:
10786 * tools/gst-md5sum.1.in:
10787 * tools/gst-md5sum.c:
10788 Remove gst-md5sum and man page (the md5sink element
10789 required was removed ages ago)
10791 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
10793 * gst/gststructure.c: (gst_structure_id_set_value):
10794 Make sure that string fields in structures/taglists
10795 contain valid UTF-8 - we don't want to pass rubbish to
10796 applications because of a buggy plugin (cp. #334167).
10798 2006-03-21 Edward Hervey <edward@fluendo.com>
10800 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
10801 (gst_bin_handle_message_func):
10802 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
10803 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
10804 (gst_element_set_bus_func):
10805 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
10806 * gst/gstminiobject.c: (gst_value_set_mini_object),
10807 (gst_value_take_mini_object):
10808 * gst/gstpad.c: (gst_pad_set_pad_template):
10809 * gst/gstpipeline.c: (gst_pipeline_dispose),
10810 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
10811 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
10812 (gst_collect_pads_chain):
10813 * libs/gst/net/gstnettimeprovider.c:
10814 (gst_net_time_provider_set_property):
10815 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
10816 It's in fact all issues with gst_*object_replace().
10818 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
10820 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
10822 * pkgconfig/gstreamer-check-uninstalled.pc.in:
10823 * pkgconfig/gstreamer-check.pc.in:
10824 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
10826 2006-03-21 Edward Hervey <edward@fluendo.com>
10830 * gst/gstmessage.h:
10831 gst_[buffer|event|message]_ref() macros are replaced by a static
10832 inline functions because gcc-4.1 will about if the return value
10834 * tests/check/gst/gstevent.c: (event_probe):
10835 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
10837 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
10840 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
10841 the type' case. (Closes: #335195 for now). In the future, when we
10842 depend on GLib 2.10, we could also intern the type name using
10843 g_intern_static_string()
10845 2006-03-20 Wim Taymans <wim@fluendo.com>
10847 * gst/gstbin.c: (gst_bin_handle_message_func),
10848 (bin_query_max_init), (bin_query_position_fold),
10849 (bin_query_position_done), (gst_bin_query):
10850 Position query should also take max of all streams.
10852 2006-03-20 Wim Taymans <wim@fluendo.com>
10854 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
10855 (gst_fake_src_finalize):
10856 Fix leaks in fakesrc.
10858 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10859 Fix leaks in the testcase.
10861 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
10863 * gst/gst_private.h:
10864 add win32 specific import decoration(__declspec(dllimport))
10865 for all extern GstDebugCategory * variables
10866 * win32/common/libgstbase.def:
10867 * win32/common/libgstcontroller.def:
10868 * win32/common/libgstreamer.def:
10869 Add some exports, remove empty lines
10870 * win32/common/libgstdataprotocol.def:
10871 * win32/common/libgstdataprotocol.dsp:
10872 * win32/common/libgstnet.def:
10873 * win32/common/libgstnet.dsp:
10874 new project files and exportation files added
10876 2006-03-19 Wim Taymans <wim@fluendo.com>
10878 * tests/check/libs/basesrc.c: (eos_event_counter):
10879 Use proper return value for probe.
10881 2006-03-17 Wim Taymans <wim@fluendo.com>
10883 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
10885 Don't leak buffers, caps and pads on negotiation errors.
10887 2006-03-16 Stefan Kost <ensonic@users.sf.net>
10889 * docs/faq/cvs.xml:
10890 * docs/faq/dependencies.xml:
10891 * docs/faq/developing.xml:
10892 * docs/faq/faq.xml:
10893 * docs/faq/general.xml:
10894 * docs/faq/getting.xml:
10895 * docs/faq/legal.xml:
10896 * docs/faq/troubleshooting.xml:
10897 * docs/faq/using.xml:
10898 Faq review and update.
10900 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
10902 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
10904 Don't pound the cpu to pieces by checking get_caps when accept_caps
10905 is called with the same caps as the pad already has.
10906 Use GST_DEBUG_OBJECT when outputting caps change information.
10908 2006-03-15 Wim Taymans <wim@fluendo.com>
10910 * gst/gstclock.c: (gst_clock_class_init):
10913 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
10918 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
10919 (gst_pad_accept_caps), (gst_pad_configure_sink),
10920 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
10921 Make the default acceptcaps behaviour be to check the requested
10922 caps against the gst_pad_get_caps output.
10924 Ensure that gst_pad_accept_caps is used to check caps when a pad
10925 doesn't have a setcaps function, so that pads automatically refuse
10926 caps that they don't allow in their pad template. (Fixes #332986)
10928 When a buffer with attached caps is pushed, ensure that the source
10929 pad receives those caps even if the element didn't call
10930 gst_pad_set_caps first.
10932 2006-03-15 Wim Taymans <wim@fluendo.com>
10934 * libs/gst/base/gstadapter.c:
10937 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
10939 * win32/common/libgstbase.def:
10940 * win32/common/libgstcontroller.def:
10941 * win32/common/libgstreamer.def:
10942 Add a whole bunch of missing functions (#334434).
10944 2006-03-14 Wim Taymans <wim@fluendo.com>
10946 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
10947 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
10948 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
10949 Better debug info when we receive a segment event.
10950 Reorganize a bit so we can pass the get_times() results around.
10951 Use the segment format when calculating the running time.
10952 Don't do QoS is sync is disabled or we have no clock or the
10953 element does not want us to sync to the clock.
10954 Don't drop buffers if QoS is disabled for now.
10956 2006-03-14 Wim Taymans <wim@fluendo.com>
10958 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
10959 Marked the stats property as unimplemented so people don't get
10961 Add debug message when regression goes wrong.
10962 Added some more docs.
10964 2006-03-14 Wim Taymans <wim@fluendo.com>
10966 * gst/gstsegment.c: (gst_segment_to_stream_time):
10967 Return correct return type in case of errors.
10969 2006-03-14 Wim Taymans <wim@fluendo.com>
10971 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
10972 Don't segfault on invalid formats.
10974 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
10976 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10977 Can't use gst_segment_to_running_time() when the segment
10978 is not in GST_TIME_FORMAT (like with filesink, for example).
10979 Stops flac encoding pipelines from spewing critical warnings
10982 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
10984 * gst/gstpipeline.c: (gst_pipeline_class_init):
10985 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
10987 * plugins/elements/gsttypefindelement.c:
10988 (gst_type_find_element_handle_event):
10989 Don't try to typefind empty streams.
10991 2006-03-14 Wim Taymans <wim@fluendo.com>
10993 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
10994 (gst_base_sink_do_qos):
10995 Separate QoS calculation.
10996 Only drop buffers when lateness is bigger than the
10997 duration of the buffer.
10999 2006-03-13 Wim Taymans <wim@fluendo.com>
11001 * gst/gstpipeline.c: (gst_pipeline_set_property),
11002 (gst_pipeline_get_property), (do_pipeline_seek),
11003 (gst_pipeline_change_state), (gst_pipeline_set_delay),
11004 (gst_pipeline_get_delay):
11005 Don't deadlock when reading properties.
11007 2006-03-13 Wim Taymans <wim@fluendo.com>
11009 * libs/gst/base/gstbasetransform.c:
11010 (gst_base_transform_class_init), (gst_base_transform_init),
11011 (gst_base_transform_sink_event),
11012 (gst_base_transform_sink_eventfunc),
11013 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
11014 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
11015 (gst_base_transform_set_property),
11016 (gst_base_transform_get_property),
11017 (gst_base_transform_change_state), (gst_base_transform_update_qos),
11018 (gst_base_transform_set_qos_enabled),
11019 (gst_base_transform_is_qos_enabled):
11020 * libs/gst/base/gstbasetransform.h:
11021 Make basetransform virtual method for src events too.
11022 Handle QOS in basetransform.
11023 API: gst_base_transform_update_qos()
11024 API: gst_base_transform_set_qos_enabled()
11025 API: gst_base_transform_is_qos_enabled()
11027 2006-03-13 Wim Taymans <wim@fluendo.com>
11029 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
11030 (gst_base_sink_do_sync):
11032 Use QOS debug category.
11034 2006-03-13 Wim Taymans <wim@fluendo.com>
11036 * plugins/elements/gstqueue.c:
11037 Very small doc update.
11039 2006-03-13 Wim Taymans <wim@fluendo.com>
11041 * gst/gst_private.h:
11042 * gst/gstinfo.c: (_gst_debug_init):
11043 Added QOS debug category
11045 2006-03-13 Wim Taymans <wim@fluendo.com>
11047 * docs/gst/gstreamer-sections.txt:
11048 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
11050 * gst/gstbus.c: (gst_bus_class_init):
11053 * gst/gstelement.c: (gst_element_set_locked_state):
11054 * gst/gstsegment.c:
11055 Documentation updates.
11057 * gst/gstpipeline.c: (gst_pipeline_get_type),
11058 (gst_pipeline_class_init), (gst_pipeline_init),
11059 (gst_pipeline_dispose), (gst_pipeline_set_property),
11060 (gst_pipeline_get_property), (do_pipeline_seek),
11061 (gst_pipeline_send_event), (gst_pipeline_change_state),
11062 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
11063 (gst_pipeline_get_delay):
11064 * gst/gstpipeline.h:
11065 Added methods for setting the delay.
11066 API: gst_pipeline_set_delay()
11067 API: gst_pipeline_get_delay()
11068 Add pipeline debug category
11071 Don't reset stream time when seek failed.
11073 2006-03-13 Wim Taymans <wim@fluendo.com>
11075 * docs/design/draft-klass.txt:
11076 * docs/design/part-clocks.txt:
11077 * docs/design/part-events.txt:
11078 * docs/design/part-gstbin.txt:
11079 * docs/design/part-gstpipeline.txt:
11080 * docs/design/part-messages.txt:
11081 * docs/design/part-negotiation.txt:
11082 * docs/design/part-overview.txt:
11083 * docs/design/part-preroll.txt:
11084 * docs/design/part-seeking.txt:
11085 * docs/design/part-states.txt:
11086 * docs/design/part-streams.txt:
11087 Documentation updates.
11089 2006-03-12 Julien MOUTTE <julien@moutte.net>
11091 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
11092 us to leak strings...
11094 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
11096 * libs/gst/net/gstnettimeprovider.c:
11098 * win32/common/config.h:
11101 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
11103 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
11106 Don't check for libgnomeui (leftover from old examples
11107 that aren't built or disted any longer) (#334303).
11109 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
11111 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
11112 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
11113 Emit RESOURCE_NO_SPACE_LEFT error here as well when
11114 there's no space left on the device.
11116 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
11119 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
11120 to cast the input to GstClockTime before comparing with
11121 another GstClockTime value.
11123 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
11128 === release 0.10.4 ===
11130 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
11133 releasing 0.10.4, "Light"
11135 2006-03-10 Michael Smith <msmith@fluendo.com>
11137 * libs/gst/dataprotocol/dataprotocol.c:
11138 Fix docs for dataprocotol to not get the return types completely
11139 wrong for a few functions.
11141 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
11143 * docs/gst/gstreamer-sections.txt:
11144 * gst/gstpipeline.c: (gst_pipeline_class_init),
11145 (gst_pipeline_init), (gst_pipeline_set_property),
11146 (gst_pipeline_get_property), (gst_pipeline_change_state),
11147 (gst_pipeline_set_auto_flush_bus),
11148 (gst_pipeline_get_auto_flush_bus):
11149 * gst/gstpipeline.h:
11150 Add new API: gst_pipeline_set_auto_flush_bus() and
11151 gst_pipeline_get_auto_flush_bus() to disable automatic
11152 flushing of the pipeline's GstBus when going from READY
11153 to NULL state (#332045).
11155 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
11157 * docs/gst/gstreamer-sections.txt:
11158 * gst/gsturi.c: (gst_uri_has_protocol):
11160 Add new API: gst_uri_has_protocol() (#333779).
11162 2006-03-09 Wim Taymans <wim@fluendo.com>
11164 * gst/gstclock.c: (gst_clock_entry_new),
11165 (gst_clock_id_compare_func), (gst_clock_id_wait),
11166 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
11167 (gst_clock_init), (gst_clock_get_internal_time),
11168 (gst_clock_set_master), (do_linear_regression),
11169 (gst_clock_add_observation), (gst_clock_set_property):
11173 Fix a possible segfault when the window-size is made smaller.
11174 Calculate jitter before performing the clock wait. Ideally
11175 the clock implementation should calculate jitter but we need
11176 API breakage for that.
11178 * gst/gstsystemclock.c: (gst_system_clock_init):
11181 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11182 Remove leftover else
11184 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
11185 (gst_systemclock_suite):
11186 Added check to test GST_CLOCK_DIFF.
11188 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
11190 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
11191 (gst_type_find_helper_get_range):
11192 If we are provided with the size, we should implement
11193 GstTypeFind::get_length, so that typefind functions who
11194 want to can actually peek at the middle of a file.
11196 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
11198 * docs/manual/advanced-dataaccess.xml:
11199 Add some very very basic error checking.
11201 * docs/pwg/appendix-checklist.xml:
11202 Some updates to the list of things to check when writing an element.
11204 2006-03-08 Wim Taymans <wim@fluendo.com>
11206 * docs/design/part-element-transform.txt:
11207 Added some docs about the design of tranform elements.
11209 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
11210 (gst_base_src_loop), (gst_base_src_change_state):
11211 Mark buffers with the DISCONT flag.
11213 2006-03-08 Michael Smith <msmith@fluendo.com>
11215 * gst/gstregistry.h:
11216 * gst/gstregistryxml.c: (gst_registry_save),
11217 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
11218 (gst_registry_xml_save_pad_template),
11219 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
11220 (gst_registry_xml_write_cache):
11221 Rewrite registry-saving to avoid race conditions and check for
11224 2006-03-08 Wim Taymans <wim@fluendo.com>
11226 * libs/gst/base/gstbasetransform.c:
11227 (gst_base_transform_transform_caps),
11228 (gst_base_transform_transform_size),
11229 (gst_base_transform_prepare_output_buffer),
11230 (gst_base_transform_get_unit_size),
11231 (gst_base_transform_buffer_alloc),
11232 (gst_base_transform_handle_buffer),
11233 (gst_base_transform_change_state):
11234 Cleanups, separate normal flow from errors, add sensible
11236 Don't try to renegotiate when allocating an output buffer.
11237 Also copy DISCONT buffer flag when copying a buffer.
11238 Reset the transform after we finish streaming, not during.
11240 2006-03-08 Wim Taymans <wim@fluendo.com>
11242 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11243 Use last buffer timestamp in qos message.
11245 2006-03-07 Wim Taymans <wim@fluendo.com>
11247 Patch by: Christophe Fergeau
11249 * docs/pwg/advanced-tagging.xml:
11250 * docs/pwg/building-pads.xml:
11253 2006-03-07 Wim Taymans <wim@fluendo.com>
11255 * docs/libs/gstreamer-libs-sections.txt:
11256 Added basesink new methods.
11260 Docs updates. Flesh out the QoS docs.
11262 * libs/gst/base/gstadapter.c:
11263 Small doc clarification about ownership and flushing.
11265 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
11266 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
11267 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
11268 (gst_base_sink_get_property), (gst_base_sink_do_sync):
11269 * libs/gst/base/gstbasesink.h:
11271 Added new methods to allow subclass to control max-lateness
11273 Generate very basic QoS events based on last sync observation.
11274 Updated docs, fix typo, added some QoS blurb.
11276 * libs/gst/base/gstbasesrc.c:
11277 Remove obsolete _get_state() calls from docs.
11279 2006-03-07 Wim Taymans <wim@fluendo.com>
11281 * docs/libs/gstreamer-libs-sections.txt:
11282 * libs/gst/base/gstbasetransform.h:
11283 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
11284 Fix docs for GstBaseSrc.
11286 2006-03-07 Wim Taymans <wim@fluendo.com>
11288 * docs/gst/gstreamer-sections.txt:
11291 * libs/gst/base/gstbasetransform.h:
11292 Small documentation fixes.
11294 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
11297 Document thread-unsafety of gst_value_register_foo_func()
11298 when used at the same time as gst_value_foo() (#322628).
11300 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
11302 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
11303 (gst_push_src_check_get_range):
11304 Push sources don't support pull mode by default.
11306 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
11308 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11309 (gst_base_src_init), (gst_base_src_pad_check_get_range),
11310 (gst_base_src_default_check_get_range):
11311 * libs/gst/base/gstbasesrc.h:
11312 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
11313 provide default implementation, and rename
11314 gst_base_src_check_get_range() to
11315 gst_base_src_pad_check_get_range() for clarity.
11317 2006-03-06 Wim Taymans <wim@fluendo.com>
11319 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
11320 Make property overridable.
11322 2006-03-06 Wim Taymans <wim@fluendo.com>
11324 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
11325 (gst_base_sink_init), (gst_base_sink_set_property),
11326 (gst_base_sink_get_property), (gst_base_sink_do_sync):
11327 * libs/gst/base/gstbasesink.h:
11328 API addition: Make max-lateness a property.
11330 2006-03-06 Wim Taymans <wim@fluendo.com>
11332 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
11333 (gst_base_sink_do_sync), (gst_base_sink_render_object):
11334 Don't ever draw a frame that is >10ms late.
11336 2006-03-06 Michael Smith <msmith@fluendo.com>
11338 * gst/gstmessage.c: (_gst_message_copy):
11339 When copying a message, set the parent_refcount of the enclosed
11340 structure to point at the copy, not the original message.
11342 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
11344 Patch by: Christophe Fergeau
11347 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
11348 usable in c++ code (#333417)
11350 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
11353 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
11355 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
11357 * libs/gst/base/gstbasetransform.c:
11358 (gst_base_transform_transform_caps):
11359 Make sure caps are writable before passing them to
11362 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
11365 Fix some minor docs errors.
11367 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
11369 Patch by: Ross Burton <ross at burtonini dot com>
11371 * gst/gsterror.c: (_gst_resource_errors_init):
11373 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
11375 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
11378 Add a check and output a g_warning when GStreamer is built
11379 against GLib 2.6 but running against 2.8 or higher, and vice
11380 versa. (Closes: #323542)
11382 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
11384 * gst/parse/parse.l:
11385 Commit patch for parse_launch syntax from #331255. Removes
11386 support for quoted strings and mimetypes when writing filtered
11387 caps. See the bug report for more details - I'm pretty sure this
11388 obscure feature is not in use by _anyone_ anywhere.
11390 With this simple change, the size of the gstreamer.so here
11391 drops from 2193KB to 1565KB.
11393 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
11395 * plugins/elements/gsttypefindelement.h:
11396 * plugins/elements/gsttypefindelement.c:
11397 (gst_type_find_element_src_event), (start_typefinding),
11398 (stop_typefinding), (gst_type_find_element_handle_event),
11399 (gst_type_find_element_chain),
11400 (gst_type_find_element_chain_do_typefinding):
11401 Use gst_type_find_helper_for_buffer() for chain-based
11404 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
11406 * plugins/elements/gsttypefindelement.c:
11407 (gst_type_find_element_class_init),
11408 (gst_type_find_element_set_property),
11409 (gst_type_find_element_get_property):
11410 Deprecate "maximum" property (not only was it only taken into
11411 account for typefinding in push-mode anyway, it also was never
11412 actually possible to set it in the first place because the
11413 property was registered with the numeric property ID for the
11414 "minimum" property). Register "maximum" property correctly,
11415 for the sake of future copy'n'pasters. Remove some cruft
11416 from property get/set functions.
11418 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
11420 * plugins/elements/gsttypefindelement.c:
11421 (gst_type_find_element_activate):
11422 Use gst_type_find_helper_get_range() here, so we
11423 can honour the "minimum" property and also emit
11424 the signal with the correct probability of the found caps.
11426 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
11428 * docs/libs/gstreamer-libs-sections.txt:
11429 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
11430 (helper_find_suggest), (gst_type_find_helper_get_range),
11431 (gst_type_find_helper):
11432 * libs/gst/base/gsttypefindhelper.h:
11433 New API: gst_type_find_helper_get_range() (#333042).
11435 2006-03-02 Michael Smith <msmith@fluendo.com>
11437 * gst/gstregistryxml.c: (load_feature):
11438 Asserting on a failure to read part of the registry is Not Cool.
11439 Just log a warning and return NULL (which is already handled)
11441 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
11443 * win32/common/libgstbase.def:
11444 added export of gst_type_find_helper_for_buffer
11445 * win32/common/libgstbase.def:
11446 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
11447 gst_ghost_pad_get_target
11449 2006-02-28 Wim Taymans <wim@fluendo.com>
11451 * docs/design/draft-klass.txt:
11453 Added Connector to mark elements that are only used to
11454 allow pipeline connections.
11455 Moved Debug to extra feature since most of them are
11456 functionally something else.
11458 2006-02-28 Wim Taymans <wim@fluendo.com>
11460 * docs/design/draft-klass.txt:
11461 Some updates and clarifications.
11463 2006-02-28 Wim Taymans <wim@fluendo.com>
11465 * docs/design/draft-klass.txt:
11466 Proposal for klass field values.
11468 * docs/design/part-streams.txt:
11469 Start of a doc describing stream anatomy.
11471 2006-02-28 Wim Taymans <wim@fluendo.com>
11473 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
11474 Help the compiler a bit with type registration.
11475 Use existing forward cod path instead of duplicating it when
11476 handling a message.
11478 * gst/gstbus.c: (gst_bus_get_type):
11479 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
11480 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
11481 * gst/gstclock.c: (gst_clock_get_type):
11482 * gst/gstelement.c: (gst_element_get_type),
11483 * gst/gstelementfactory.c: (gst_element_factory_get_type):
11484 * gst/gstindexfactory.c: (gst_index_factory_get_type):
11485 * gst/gstminiobject.c: (gst_mini_object_get_type):
11486 * gst/gstpad.c: (gst_pad_get_type):
11487 * gst/gstsegment.c: (gst_segment_get_type):
11488 * gst/gststructure.c: (gst_structure_get_type):
11489 * gst/gstsystemclock.c: (gst_system_clock_get_type):
11490 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
11492 Help compiler with type registration.
11494 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
11497 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
11499 * plugins/elements/gsttypefindelement.c:
11500 (gst_type_find_element_handle_event):
11501 When we get an EOS event and have not found a type yet
11502 (most likely because we had not yet accumulated
11503 TYPE_FIND_MIN_SIZE of data yet), try to determine the
11504 type given the data we have so far. Fixes typefinding
11505 for very short streams again, most notably quicktime
11506 redirections as used on Apple's trailer site (#331701).
11508 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
11510 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
11511 (gst_type_find_helper):
11512 Try typefinding factories with the highest rank first.
11514 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
11516 * docs/libs/gstreamer-libs-docs.sgml:
11517 * docs/libs/gstreamer-libs-sections.txt:
11518 * libs/gst/base/gsttypefindhelper.c:
11519 Add section for typefind helper and add documentation
11520 for the old and the new function.
11522 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
11524 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
11525 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
11526 (gst_type_find_helper_for_buffer):
11527 * libs/gst/base/gsttypefindhelper.h:
11528 New API: gst_type_find_helper_for_buffer() (#332723).
11530 2006-02-27 Michael Smith <msmith@fluendo.com>
11532 Patch by: Loïc Minier
11535 * docs/Makefile.am:
11536 * docs/slides/Makefile.am:
11537 prevent CVS directories getting disted.
11539 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
11541 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
11542 Use the REFCOUNTING category for caps refcounting.
11544 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
11546 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
11547 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
11549 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
11551 * plugins/elements/gsttypefindelement.c:
11552 (gst_type_find_element_activate):
11553 Use gst_pad_check_pull_range() before _activate_pull()
11554 to avoid unnecessary open/close (see #331690).
11556 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
11559 Docs enhancement: make it crystal clear what the
11560 gst_pad_add_*_probe() callbacks should look like.
11562 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
11564 * libs/gst/base/gstbasesrc.c:
11565 Document how applications can stop recording from
11566 live sources (see #330996).
11568 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
11570 * tests/check/Makefile.am:
11571 * tests/check/libs/basesrc.c: (eos_event_counter),
11572 (basesrc_eos_events_pull), (basesrc_eos_events_push),
11573 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
11574 (gst_basesrc_suite), (main):
11575 ... and add some tests for the base source EOS stuff.
11577 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
11579 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
11580 Test case originally showed the problem fixed below,
11581 but was then amended. Add checks back at the place
11582 where they used to be.
11584 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
11586 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11587 (gst_base_src_init), (gst_base_src_loop),
11588 (gst_base_src_activate_push), (gst_base_src_activate_pull),
11589 (gst_base_src_change_state):
11590 * libs/gst/base/gstbasesrc.h:
11591 Don't unconditionally send EOS when going from PAUSED to
11592 READY state, esp. make sure we don't send two EOS events
11593 in some cases (e.g. one when reaching EOS and one when
11594 going from PAUSED to READY). Also, we don't want to send
11595 EOS events when operating in pull mode. However, we do
11596 want to send an EOS event when shutting down a live
11597 source explicitly, for example (fixes #330996).
11599 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
11601 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11602 Update src->read_position after a seek when not using mmap.
11603 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
11605 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
11611 Make things work with --disable-parse as they do with
11612 --disable-load-save - the symbols involved disappear, but the
11613 header is still installed and GST_DISABLE_PARSE is included via
11616 2006-02-20 Julien MOUTTE <julien@moutte.net>
11618 * libs/gst/base/gstbasetransform.c:
11619 (gst_base_transform_change_state): Fix a stupid bug. I was
11620 sure I compiled that.
11622 2006-02-20 Julien MOUTTE <julien@moutte.net>
11624 * gst/gstpad.c: (gst_pad_set_blocked_async):
11625 * gst/gstutils.c: (gst_pad_add_data_probe),
11626 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
11627 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
11628 (gst_pad_remove_buffer_probe): Make those function act on the
11629 ghostpad target when it's a ghostpad. (Closes #331727)
11631 2006-02-20 Julien MOUTTE <julien@moutte.net>
11633 * libs/gst/base/gstbasetransform.c:
11634 (gst_base_transform_change_state): Make basetransform reusable.
11637 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
11639 * docs/random/release:
11640 Move the current documentation of how to do a release to the top
11643 * gst/gstbin.c: (gst_bin_class_init),
11644 (gst_bin_handle_message_func):
11645 Allow multiple state-recalculation threads. (Closes #328873)
11647 2006-02-19 Julien MOUTTE <julien@moutte.net>
11649 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
11650 * gst/gstpad.c: (gst_pad_set_event_function),
11651 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11652 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
11653 2 strings. You can't use the STR_NULL macro on that.
11655 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
11657 * gst/gstpad.c: (gst_pad_set_event_function),
11658 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11659 (gst_pad_set_getcaps_function)
11660 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
11661 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
11662 So now, we can use --gst-debug-level=5 on Windows
11663 * win32/common/libgstcontroller.def:
11664 Added export of gst_controller_init
11665 * win32/vs6/libgstcontroller.dsp:
11666 Fixed Release post build configuration
11668 2006-02-17 Wim Taymans <wim@fluendo.com>
11670 * tests/check/gst/gstquery.c: (GST_START_TEST):
11671 Added another check.
11673 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
11675 * plugins/elements/gsttypefindelement.c: (find_peek):
11676 We can do peeks at non-zero offsets, as long as they
11677 fall within the buffer we have.
11679 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
11681 * tests/check/Makefile.am:
11682 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
11683 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
11684 (parse_suite), (main):
11685 Add testsuite for parse launch syntax
11687 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
11689 * plugins/elements/gsttypefindelement.c:
11690 (gst_type_find_element_chain):
11691 When typefinding is unsuccessful in the chain function, don't
11692 error out immediately. Only error out with NO_CAPS_FOUND if
11693 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
11694 otherwise simply wait for more data so we can try typefinding
11695 again with more data later. Also, don't attempt to typefind
11696 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
11697 this should improve typefinding from network sources where the
11698 size of the first buffer can be somewhat random.
11700 2006-02-14 Wim Taymans <wim@fluendo.com>
11702 * docs/gst/gstreamer-sections.txt:
11703 * gst/gstpadtemplate.c:
11704 * gst/gstpadtemplate.h:
11705 Fix padtemplate docs, fixes #328805.
11707 2006-02-14 Wim Taymans <wim@fluendo.com>
11709 * tools/gst-launch.c: (main):
11710 NO_PREROLL is not an ERROR so don't send confusing messages
11713 2006-02-14 Wim Taymans <wim@fluendo.com>
11715 Patch by: Torsten Schoenfeld
11717 * gst/gstregistry.c: (gst_registry_get_default),
11718 (_gst_registry_cleanup):
11719 Protect default registry with lock and ref/sink it.
11722 2006-02-14 Wim Taymans <wim@fluendo.com>
11725 * gst/gstquery.c: (gst_query_list_add_format),
11726 (gst_query_set_formatsv), (gst_query_parse_formats_length),
11727 (gst_query_parse_formats_nth):
11728 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
11731 2006-02-14 Wim Taymans <wim@fluendo.com>
11733 * docs/gst/gstreamer-sections.txt:
11734 Reworked query docs.
11736 * gst/gstquery.c: (gst_query_new_formats),
11737 (gst_query_list_add_format), (gst_query_set_formats),
11738 (gst_query_set_formatsv), (gst_query_parse_formats_length),
11739 (gst_query_parse_formats_nth):
11741 Flesh out formats query, added some new methods.
11742 Fix part of #324398.
11744 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
11745 Added query creation tests.
11747 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
11749 * gst/gstpad.c: (fixate_value):
11750 Add a default fixation for fraction lists.
11752 2006-02-13 Wim Taymans <wim@fluendo.com>
11754 * gst/gsttask.c: (gst_task_init), (gst_task_func),
11755 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
11758 Detect and warn for obvious deadlocks. fixes #320340
11759 Fix error case where lock was not released.
11761 * tests/check/Makefile.am:
11762 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
11763 (task_func), (gst_element_suite), (main):
11766 2006-02-13 Wim Taymans <wim@fluendo.com>
11768 * docs/gst/gstreamer-sections.txt:
11770 Add new functions to docs.
11772 2006-02-13 Wim Taymans <wim@fluendo.com>
11774 * docs/design/part-TODO.txt:
11775 Updated TODO list, basesrc supports seeking to non-bytes
11778 * docs/design/part-element-sink.txt:
11781 * gst/gstbin.c: (bin_replace_message),
11782 (gst_bin_handle_message_func):
11783 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
11784 * gst/gstevent.c: (gst_event_finalize):
11785 * gst/gstpad.c: (gst_pad_event_default_dispatch),
11786 (gst_pad_send_event):
11787 Use shiny new _TYPE_NAME macros.
11789 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
11790 Move debug statement up.
11792 * gst/gstelement.c: (gst_element_set_locked_state):
11793 Add some debugging.
11795 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
11797 * docs/gst/gstreamer-sections.txt:
11798 * gst/gstmessage.h:
11800 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
11801 macros (#330906). Also, document the already existing
11802 GST_QUERY_TYPE macro.
11804 2006-02-13 Wim Taymans <wim@fluendo.com>
11806 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
11807 (event_probe), (GST_START_TEST):
11808 Only events up to the pipeline EOS are counted, there are
11809 some more when going to NULL currently which we don't care
11812 2006-02-13 Wim Taymans <wim@fluendo.com>
11814 * gst/gstpad.c: (gst_pad_send_event):
11815 Correctly check flushing and emit probes. fixes #330125
11817 2006-02-10 Andy Wingo <wingo@pobox.com>
11819 * gst/gstbus.c (gst_bus_class_init): Declare our private data
11821 (gst_bus_init): Cache the location of the private data in the
11822 instance structure.
11823 (gst_bus_enable_sync_message_emission)
11824 (gst_bus_disable_sync_message_emission): Implement new public
11826 (gst_bus_post): Emit the sync-message signal if the user asked for
11829 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
11830 location of the bus-private structure.
11831 (gst_bus_enable_sync_message_emission)
11832 (gst_bus_disable_sync_message_emission): API addition
11834 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
11836 Patch by: Vincent Torri
11838 * docs/pwg/building-boiler.xml:
11839 PWG patch from #326800
11841 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
11844 * docs/Makefile.am:
11845 * docs/design/Makefile.am:
11848 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
11853 === release 0.10.3 ===
11855 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
11858 releasing 0.10.3, "Like a virgin"
11860 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
11863 2nd prerelease of 0.10.3
11864 Bump libtool versioning.
11866 2006-02-07 Andy Wingo <wingo@pobox.com>
11868 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
11869 update last_stop if we're in TIME format and the timestamp is
11872 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
11873 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
11874 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
11875 If we get a new newsegment with a different format, adapt
11878 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
11879 of 0. Not a problem, really.
11881 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
11884 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
11889 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
11892 project files updated to the default vs7 configuration
11893 * win32/common/libgstbase.def:
11894 * win32/common/libgstreamer.def:
11896 removed empty lines,
11897 sorted all exported symbols alphabetically
11898 * win32/common/dirent.c:
11899 * win32/common/dirent.h:
11900 * win32/common/gchar.h:
11901 use windows line end.
11903 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
11905 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
11906 Send EOS event when stopping.
11908 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
11911 Tell folks what to do if the plugin-foobar.xml file
11912 hasn't been generated for a newly-added plugin.
11914 2006-02-05 Julien MOUTTE <julien@moutte.net>
11916 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
11917 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11918 (gst_collect_pads_start), (gst_collect_pads_stop),
11919 (gst_collect_pads_event): Collectpads now holds a reference
11920 to the GstPad that was added. Indeed we don't want to look
11921 at pads that might just go away with no warning...
11923 2006-02-05 Julien MOUTTE <julien@moutte.net>
11925 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11926 (gst_collect_pads_start), (gst_collect_pads_stop),
11927 (gst_collect_pads_event), (gst_collect_pads_chain):
11928 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
11929 Mark Nauwelaerts's patch on bug #328491.
11931 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
11933 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
11935 Add some simple tests for gst_parse_bin_from_description() and
11936 gst_bin_find_unconnected_pad() (#329069).
11938 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
11940 * tools/gst-launch.c: (event_loop), (main):
11941 Catch errors during preroll (#320084).
11943 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
11945 * plugins/elements/gsttypefindelement.c:
11946 (gst_type_find_element_activate):
11947 Post TYPE_NOT_FOUND error message when typefinding
11948 is unsuccessful in the activate function as well.
11950 2006-02-02 Wim Taymans <wim@fluendo.com>
11952 * docs/design/part-element-sink.txt:
11955 2006-02-02 Wim Taymans <wim@fluendo.com>
11957 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
11958 (gst_base_sink_render_object),
11959 (gst_base_sink_queue_object_unlocked):
11960 Only keep track of prerollable items when we are
11962 Before rendering after preroll, always check if we
11964 Added some more debugging.
11966 2006-02-02 Wim Taymans <wim@fluendo.com>
11968 * gst/gstelement.c: (gst_element_continue_state),
11969 (gst_element_set_state_func), (gst_element_change_state):
11970 Fixed #326576, been running this for quite some time with
11971 no regressions at all.
11973 2006-02-02 Wim Taymans <wim@fluendo.com>
11976 Added more suppressions
11978 2006-02-02 Wim Taymans <wim@fluendo.com>
11980 * docs/design/part-element-sink.txt:
11983 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
11984 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
11985 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
11986 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
11987 (gst_base_sink_do_sync), (gst_base_sink_render_object),
11988 (gst_base_sink_preroll_object),
11989 (gst_base_sink_queue_object_unlocked),
11990 (gst_base_sink_queue_object), (gst_base_sink_event),
11991 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
11992 (gst_base_sink_loop), (gst_base_sink_activate_pull),
11993 (gst_base_sink_get_position), (gst_base_sink_change_state):
11994 * libs/gst/base/gstbasesink.h:
11995 Totally refactored matching the design doc.
11996 Use two segments, one to clip incomming buffers and another to
11998 Handle queueing correctly, bypass the queue when playing.
11999 Make EOS cancelable.
12000 Handle errors correctly when operating in pull based mode.
12002 * tests/check/elements/fakesink.c: (GST_START_TEST),
12004 Added new check for sinks.
12006 2006-02-02 Wim Taymans <wim@fluendo.com>
12008 * gst/gstsegment.c: (gst_segment_clip):
12009 No reason to refuse to clip when start == -1
12011 2006-02-02 Stefan Kost <ensonic@users.sf.net>
12014 * docs/manual/intro-basics.xml:
12015 * docs/manual/intro-preface.xml:
12016 * docs/manual/manual.xml:
12017 * docs/pwg/advanced-dparams.xml:
12018 * docs/pwg/intro-basics.xml:
12019 * docs/pwg/intro-preface.xml:
12020 * docs/pwg/pwg.xml:
12021 describe dparams (controller) for plugins
12022 unify docs a little more
12024 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
12026 * docs/gst/gstreamer-sections.txt:
12027 * gst/gstutils.c: (element_find_unconnected_pad),
12028 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
12030 Add new API: gst_parse_bin_from_description() and
12031 gst_bin_find_unconnected_pad() (#329069).
12033 2006-02-01 Stefan Kost <ensonic@users.sf.net>
12035 * docs/manual/README:
12036 uncover a nasty detail of the docs build
12038 2006-01-31 Wim Taymans <wim@fluendo.com>
12040 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
12041 Don't cache duration messages if we're not going to use or
12044 2006-01-31 Stefan Kost <ensonic@users.sf.net>
12046 * docs/manual/advanced-dparams.xml:
12047 * docs/pwg/advanced-dparams.xml:
12051 * libs/gst/controller/lib.c: (gst_controller_init):
12054 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
12056 * gst/gstelement.c: (gst_element_message_full):
12057 also show file/line/func if no additional debug was given
12059 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
12061 * win32/vs7/grammar.vcproj:
12062 activate copy of autogenerated files for Release mode
12064 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
12066 * win32/common/libgstreamer.def:
12067 export gst_value_compare
12069 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
12071 * plugins/elements/Makefile.am:
12072 * plugins/elements/gstelements.c:
12073 * plugins/elements/gstfdsink.c: (_do_init),
12074 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
12075 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
12076 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
12077 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
12078 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
12079 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
12080 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
12081 * plugins/elements/gstfdsink.h:
12082 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
12084 2006-01-30 Stefan Kost <ensonic@users.sf.net>
12086 * docs/manual/advanced-dparams.xml:
12087 describe controller
12088 * docs/manual/advanced-position.xml:
12089 * docs/manual/basics-init.xml:
12090 * docs/manual/manual.xml:
12091 * docs/manual/titlepage.xml:
12092 * docs/pwg/pwg.xml:
12093 * docs/pwg/titlepage.xml:
12094 cleanup xml (more to come)
12095 * libs/gst/controller/gstcontroller.c:
12098 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
12100 * win32/vs6/grammar.dsp:
12101 add autogen of gstmarshal.c,h for Release mode
12103 2006-01-30 Wim Taymans <wim@fluendo.com>
12105 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
12106 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
12107 (gst_base_sink_handle_object), (gst_base_sink_event),
12108 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
12109 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
12110 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
12111 (gst_base_sink_deactivate), (gst_base_sink_activate),
12112 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
12113 (gst_base_sink_query), (gst_base_sink_change_state):
12114 Basesink cleanups, remove some old code.
12115 Handle the case where a subclass can preroll in the render
12116 method (mostly audiosinks).
12117 Handle more events.
12118 Remove some locks around variables that are now protected
12119 with the PREROLL_LOCK (clock_id, flushing, ..).
12120 Optimize position query some more, do correct locking.
12121 Remove old code to push queue in state change, this is not
12122 needed anymore since preroll blocks on all prerollable items
12124 Almost implemented as described in design doc.
12126 2006-01-30 Wim Taymans <wim@fluendo.com>
12128 * tests/check/gst/gstbin.c: (GST_START_TEST):
12129 Wait for refcount to settle down before checking.
12131 2006-01-30 Wim Taymans <wim@fluendo.com>
12133 * docs/design/part-element-sink.txt:
12134 Pseudo code overview of desired sink behaviour regarding
12137 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
12138 * win32/vs6/grammar.dsp:
12139 fix some bugs in Release mode for autogenerated files
12141 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
12142 * win32/common/libgstbase.def:
12143 * win32/common/libgstreamer.def:
12144 export some new symbols: gst_base_src_set_format,
12145 gst_iterator_next, gst_structure_set_valist
12147 2006-01-29 Julien MOUTTE <julien@moutte.net>
12149 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
12150 Set pad functions unconditionally. Fixes #329105.
12152 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
12154 add vs8 project files created by Sergey Scobich
12156 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
12158 * gst/gstutils.c: (gst_element_unlink_pads):
12159 Don't leak pad references.
12161 * tests/check/elements/fakesink.c: (GST_START_TEST):
12162 * tests/check/generic/sinks.c: (GST_START_TEST):
12163 * tests/check/generic/states.c: (GST_START_TEST):
12164 * tests/check/gst/gstbin.c: (GST_START_TEST):
12165 * tests/check/gst/gstcaps.c: (GST_START_TEST):
12166 * tests/check/gst/gstelement.c: (GST_START_TEST):
12167 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
12168 * tests/check/gst/gstiterator.c: (GST_START_TEST):
12169 * tests/check/gst/gstvalue.c: (GST_START_TEST):
12170 Fix a bunch of leaks. Make generic/sinks.c
12171 use a bit less cpu by slowing the buffer rate
12172 between fakesrc and fakesink.
12174 2006-01-27 Stefan Kost <ensonic@users.sf.net>
12176 * gst/gstelement.c: (gst_element_send_event):
12179 * gst/gstiterator.c:
12180 * gst/gstiterator.h:
12181 * gst/gstpad.c: (gst_pad_send_event):
12182 * gst/gststructure.c:
12186 * libs/gst/base/gstadapter.c:
12187 doc fixes, to link to function, just write gst_cool_function(), don't
12190 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
12192 * plugins/elements/gsttee.c: (gst_tee_do_push),
12193 (gst_tee_handle_buffer):
12194 Always prefer an actual return value from a src
12195 pad in place of NOT_LINKED. This means we return
12196 WRONG_STATE when all src pads are WRONG_STATE
12197 instead of NOT_LINKED.
12199 Lock when replacing the last message to prevent
12200 racing with the get_property method.
12204 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
12206 * tests/check/Makefile.am:
12207 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
12209 Add a very simple check that should have caught the memleak I fixed
12210 last night (if not for the slice allocator hiding it)
12212 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
12214 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
12215 (gst_bin_remove_func), (gst_bin_handle_message_func),
12216 (bin_query_duration_fold), (bin_query_generic_fold):
12217 Clean up references to the clock provider when disposed or when
12218 handling a clock-lost message from it.
12220 Unref sinks when performing a query via gst_iterator_fold, as the
12221 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
12223 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
12224 (gst_clock_set_master):
12225 Drop our reference to the master clock, if any, when we are disposed.
12227 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
12228 Chain up in dispose.
12230 2006-01-26 Wim Taymans <wim@fluendo.com>
12232 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
12233 Add some debugging.
12235 2006-01-26 Julien MOUTTE <julien@moutte.net>
12237 * plugins/elements/gsttee.c: (gst_tee_do_push),
12238 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
12239 handles pad being NOT_LINKED or in WRONG_STATE.
12241 2006-01-26 Stefan Kost <ensonic@users.sf.net>
12246 2006-01-26 Stefan Kost <ensonic@users.sf.net>
12249 remove obsolete entry
12251 2006-01-26 Stefan Kost <ensonic@users.sf.net>
12253 * docs/gst/gstreamer-sections.txt:
12254 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
12255 (gst_bin_iterate_sources), (gst_bin_send_event):
12257 * gst/gstelement.c: (gst_element_send_event):
12259 * gst/gstpad.c: (gst_pad_send_event):
12260 added code for downstream events, reviewed docs in gstevent.c
12262 2006-01-25 Julien MOUTTE <julien@moutte.net>
12264 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12265 We only query position using the clock in the playing state.
12266 Query peer in the other cases.
12267 * win32/common/config.h: Updates.
12269 2006-01-24 Wim Taymans <wim@fluendo.com>
12271 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12272 A clock entry that is scheduled for the exact time of the
12273 clock is still in time.
12275 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12276 (gst_base_sink_do_sync):
12277 Add some more debug info.
12279 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
12282 Add new vs7 project files and solution.
12284 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
12287 all files removed as they were out-dated.
12289 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
12291 * docs/random/release:
12293 * gst/gstbin.c: (gst_bin_init):
12294 * gst/gstbus.c: (gst_bus_new):
12296 * gst/gstpipeline.c: (gst_pipeline_init):
12297 use gst_bus_new(), improve logging, fix docs
12298 * win32/common/config.h:
12299 update for cvs build
12301 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
12304 up required version of automake to 1.7
12306 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
12308 * win32/common/libgstreamer.def:
12309 export gst_buffer_is_metadata_writable
12311 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
12313 * docs/gst/gstreamer-sections.txt:
12315 Add gst_event_replace() (#327001)
12317 2006-01-20 Wim Taymans <wim@fluendo.com>
12319 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
12320 Make it actually compile too..
12322 2006-01-20 Wim Taymans <wim@fluendo.com>
12325 Clarify behaviour of _is_equal() when passing NULL parameters.
12327 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
12328 (gst_pad_set_caps):
12329 Cleanups. Don't unref NULL caps.
12330 When setting the same caps, protect caps of the pad with
12332 Use full functionality of _is_equal() when comparing caps.
12334 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
12336 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
12337 Don't loop infinitely if there are no buffers to present. Partially
12338 fixes #327197, but collectpads is just broken for reusing elements
12339 to do multiple encodes atm.
12341 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
12343 * tools/gst-inspect.c: (print_element_features):
12344 * tools/gst-xmlinspect.c: (main):
12345 URL_HANDLER is not a plugin feature we can search for in
12348 2006-01-19 Edward Hervey <edward@fluendo.com>
12350 * gst/gstelement.c: (gst_element_pads_activate):
12351 When activating, do src pads first, then sink pads.
12352 When de-activating, do sink pads first, then src pads.
12354 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
12356 * docs/gst/gstreamer-sections.txt:
12357 Add gst_index_add_associationv to the docs
12359 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
12364 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
12365 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
12366 Do some refactoring. Doesn't actually change functionality,
12367 but makes landing the DRAIN event easier later.
12369 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
12371 * docs/pwg/advanced-scheduling.xml:
12372 Update from 0.9.x to 0.10 API and make example a bit
12375 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
12377 * docs/gst/gstreamer-sections.txt:
12378 Add gst_buffer_(is|make)_metadata_writable methods.
12380 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
12382 * docs/design/part-sparsestreams.txt:
12383 Update sparse streams doc, hopefully for greater clarity
12385 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
12387 * docs/design/part-events.txt:
12388 Remove mention of FILLER events.
12391 * docs/design/part-sparsestreams.txt:
12392 Write some things about using NEWSEGMENT to keep sparse streams
12395 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
12397 * gst/gstbin.c: (gst_bin_dispose):
12398 Guard gst_object_unref call against a NULL object (dispose
12399 can theoretically be called multiple times).
12401 2006-01-18 Wim Taymans <wim@fluendo.com>
12403 * gst/gstbin.c: (gst_bin_element_set_state):
12404 * gst/gstclock.c: (gst_clock_id_wait):
12405 Added some more debug info.
12407 * libs/gst/base/gstadapter.c:
12410 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12411 (gst_base_sink_do_sync), (gst_base_sink_chain):
12412 Added some comments.
12414 2006-01-18 Wim Taymans <wim@fluendo.com>
12416 * tests/check/Makefile.am:
12417 * tests/check/elements/fakesink.c: (chain_async_buffer),
12418 (chain_async), (chain_async_return), (GST_START_TEST),
12419 (fakesink_suite), (main):
12420 Added fakesink test that checks prerolling and clipping
12423 * tests/check/gst/gstutils.c: (GST_START_TEST):
12424 Make check run faster so that buildbots don't timeout.
12426 2006-01-18 Wim Taymans <wim@fluendo.com>
12428 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12429 (gst_base_sink_do_sync):
12431 When the sink finishes blocking on the preroll buffer, it can
12432 immediatly render it instead of rendering when the next buffer
12435 2006-01-18 Wim Taymans <wim@fluendo.com>
12437 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
12438 (gst_base_sink_get_property), (gst_base_sink_do_sync),
12439 (gst_base_sink_chain):
12441 GST_ELEMENT_CLOCK and sync are protected with LOCK.
12442 Don't store _last_stop if the buffer is dropped.
12444 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
12446 * plugins/elements/gsttypefindelement.c:
12447 (gst_type_find_element_class_init):
12448 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
12449 object method handler that sets the caps on the pad and we want
12450 that to happen before we emit the signal (fixes e.g. feeding a
12451 plain text file to decodebin).
12453 2006-01-18 Christian Schaller <Christian@fluendo.com>
12455 * gst/gstplugin.c: Add MPL and Proprietary as license options
12457 2006-01-18 Andy Wingo <wingo@pobox.com>
12459 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
12460 symbol was exported before, it appears this was just an oversight.
12462 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
12464 * gst/gstindex.c (gst_index_add_associationv): Changed int in
12465 prototype to gint. OK since this prototype was not in the header.
12467 2006-01-17 Andy Wingo <wingo@pobox.com>
12469 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
12470 registry while we remove plugins.
12472 * tools/gst-inspect.c (print_element_info): Don't unref the
12473 factory arg, that should be the responsibility of whatever code
12474 received the ref. Fixes a double-free when called from
12475 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
12476 (main): Unref the factory if we have one.
12477 (print_element_list): No change -- relies on the
12478 plugin_feature_list_free to free the list of features.
12480 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
12482 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
12483 (gst_buffer_make_metadata_writable):
12485 * libs/gst/base/gstbasetransform.c:
12486 (gst_base_transform_prepare_output_buf):
12487 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12488 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12489 Replace gst_buffer_(make|is)_metadata_writable patch now
12490 that the release is out.
12492 2006-01-17 Andy Wingo <wingo@pobox.com>
12494 * gst/gstregistry.c: Reflow design comment. Update so as to speak
12495 in the present tense without reference to versions.
12497 * gst/gstregistry.c (gst_registry_add_plugin)
12498 (gst_registry_remove_plugin, gst_registry_remove_feature)
12499 (gst_registry_find_feature, gst_registry_get_feature_list)
12500 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
12501 (gst_registry_lookup, gst_registry_scan_path)
12502 (_gst_registry_remove_cache_plugins)
12503 (gst_registry_get_feature_list_by_plugin): Add argument
12506 === release 0.10.2 ===
12508 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
12511 releasing 0.10.2, "If man is five"
12513 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
12517 * libs/gst/base/gstbasetransform.c:
12518 (gst_base_transform_prepare_output_buf):
12519 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12520 * tests/check/gst/gstbuffer.c: (gst_test_suite):
12521 Back out patch until after the release.
12523 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
12525 * gst/gstminiobject.c:
12526 Spelling fix in docs.
12527 * ChangeLog - remove conflict indicator
12529 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
12531 Reviewed By: Andy Wingo
12533 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
12534 (gst_buffer_make_metadata_writable):
12536 Add gst_buffer_(is|make)_metadata_writable as analogues of
12537 gst_buffer_(is|make)_writable.
12539 * libs/gst/base/gstbasetransform.c:
12540 (gst_base_transform_prepare_output_buf):
12541 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12542 Use name gst_buffer_(is|make)_metadata_writable functions.
12544 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12545 Test gst_buffer_(is|make)_metadata_writable
12549 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
12551 * docs/manual/Makefile.am:
12552 don't do parallel make
12555 * win32/common/config.h.in:
12556 add generations for HOST_CPU and GST_MAJORMINOR
12557 * win32/common/config.h:
12558 commit generated result
12560 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
12562 * docs/manual/appendix-integration.xml:
12563 Update GNOME integration section to use gst_init_get_option_group()
12564 instead of the old popt stuff (#322911). Also, GNOME applications
12565 should now use gconf*sink and gconf*src instead of the old gconf
12568 2006-01-13 Stefan Kost <ensonic@users.sf.net>
12571 * docs/gst/gstreamer-docs.sgml:
12572 * docs/gst/gstreamer-sections.txt:
12573 * docs/libs/gstreamer-libs-sections.txt:
12574 add new API entries to the docs
12575 * libs/gst/controller/Makefile.am:
12576 * libs/gst/controller/gstcontroller.c:
12577 * libs/gst/controller/gstcontroller.h:
12578 * libs/gst/controller/gstcontrollerprivate.h:
12579 * libs/gst/controller/gsthelper.c:
12580 * libs/gst/controller/gstinterpolation.c:
12581 move private structs to private header
12583 gstreamer-0.7 -> gstreamer-0.10
12584 * tests/check/libs/struct_i386.h:
12585 remove private structs
12587 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
12589 * plugins/indexers/Makefile.am:
12590 Fixes as part of #317048
12592 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
12594 * plugins/indexers/Makefile.am:
12595 fix #316086 - compilation when mmap is missing
12597 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
12599 * libs/gst/base/gstbasesink.c:
12600 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
12601 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
12602 * win32/common/config.h:
12603 added some defines GST_MAJORMINOR and HOST_CPU
12604 * win32/common/libgstbase.def:
12605 * win32/common/libgstreamer.def:
12606 added some exported functions.
12608 2006-01-12 Stefan Kost <ensonic@users.sf.net>
12610 * libs/gst/controller/gstcontroller.c:
12611 (gst_controlled_property_set_interpolation_mode),
12612 (gst_controlled_property_new):
12613 * libs/gst/controller/gstcontroller.h:
12614 * libs/gst/controller/gstinterpolation.c:
12615 (interpolate_none_get_string_value_array):
12616 make G_TYPE_STRING controlable
12618 2006-01-12 Stefan Kost <ensonic@users.sf.net>
12621 * tools/gst-feedback.1.in:
12622 * tools/gst-inspect.1.in:
12623 * tools/gst-launch.1.in:
12624 * tools/gst-md5sum.1.in:
12625 * tools/gst-typefind.1.in:
12626 * tools/gst-xmlinspect.1.in:
12627 * tools/gst-xmllaunch.1.in:
12628 cleanup man-pages, remove reference to gst-register, document env-vars
12630 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
12632 * gst/gstbuffer.c: (gst_buffer_span):
12633 gst_buffer_span should copy the timestamp of the first buffer
12634 if they were both originally overlapping subbuffers of the
12635 same parent, using the same logic as the 'slow copy' case.
12637 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
12639 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
12640 Need to awaken ALL the pads when we pop a buffer, otherwise
12641 collectpads only works when there is 2 input streams.
12643 2006-01-11 Stefan Kost <ensonic@users.sf.net>
12645 * docs/random/ensonic/media-device-daemon.txt:
12648 fix doc example, add clarification
12649 * tools/gst-launch.1.in:
12650 add initial info about GST_PLUGIN_PATH, needs more work
12652 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
12654 * docs/manual/basics-bins.xml:
12655 * docs/manual/basics-elements.xml:
12656 * docs/manual/intro-basics.xml:
12657 Some more minor docs additions and updates.
12659 2006-01-11 Wim Taymans <wim@fluendo.com>
12661 * docs/manual/basics-bins.xml:
12662 * docs/manual/basics-elements.xml:
12663 Some small fixes as pointed out by Ser-ver on IRC.
12665 2006-01-10 Edward Hervey <edward@fluendo.com>
12667 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12668 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
12669 the single-segment mode.
12671 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
12673 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
12675 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
12676 (gst_base_src_perform_seek), (gst_base_src_send_event),
12677 (gst_base_src_set_property), (gst_base_src_get_property),
12678 (gst_base_src_loop), (gst_base_src_start),
12679 (gst_base_src_activate_push):
12680 * libs/gst/base/gstbasesrc.h:
12681 Name (private) union; makes Sun's Forte compiler happy (#324900).
12683 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
12686 gst-register is gone.
12688 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
12690 * gst/gstvalue.c: (_gst_value_initialize):
12691 make the G_TYPE_DATE instantiation work if debug is disabled
12693 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
12695 * gst/gstmessage.c: (gst_message_parse_tag),
12696 (gst_message_parse_error), (gst_message_parse_warning):
12697 Don't crash when return location for error/warning debug
12698 string is NULL; add fact that return locations can be
12699 NULL to docs where appropriate.
12701 2006-01-05 Wim Taymans <wim@fluendo.com>
12703 * gst/gstplugin.c: (gst_plugin_load_file):
12704 Replace strdup by g_strdup.
12706 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
12708 * docs/pwg/advanced-types.xml:
12711 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
12713 submitted by: Abel Cheung
12717 Added Chinese (traditional) translation
12719 2006-01-04 Wim Taymans <wim@fluendo.com>
12721 * docs/manual/basics-pads.xml:
12722 * docs/plugins/Makefile.am:
12723 * docs/plugins/gstreamer-plugins-docs.sgml:
12724 * docs/plugins/gstreamer-plugins-sections.txt:
12725 * docs/pwg/advanced-clock.xml:
12726 * docs/pwg/advanced-scheduling.xml:
12727 * docs/pwg/advanced-types.xml:
12728 * plugins/elements/gstfdsink.c:
12729 * plugins/elements/gstfdsrc.c:
12730 * plugins/elements/gstfdsrc.h:
12731 * plugins/elements/gstidentity.c: (gst_identity_class_init):
12732 * plugins/elements/gstidentity.h:
12733 * plugins/elements/gstqueue.h:
12734 * plugins/elements/gsttee.c:
12735 * plugins/elements/gsttee.h:
12736 * plugins/elements/gsttypefindelement.c:
12737 (gst_type_find_element_class_init):
12738 * plugins/elements/gsttypefindelement.h:
12739 Small updates to various docs.
12740 Added core plugins to docs.
12742 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12745 add a suppression for liboil's uninitialized variable
12747 2006-01-02 James Livingston <jrl at ids dot org dot au>
12749 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
12752 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
12753 macro, so that gcc doesn't complain if the -Wmissing-prototypes
12754 compiler switch is being used (#325429).
12756 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
12758 * gst/gstbin.c: (gst_bin_query):
12759 Disable duration query caching in bins until it gets
12760 fixed (see #324807).
12762 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
12764 * tools/gst-inspect.c: (print_element_properties_info):
12765 Handle properties of POINTER and BOXED type.
12767 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
12769 * gst/gst.c: (init_post):
12770 Init tags stuff and some other things before loading
12771 any static plugins (there may be other static plugins
12772 than just the GStreamer ones, and they may want to
12773 register their own tags or formats or whatever, and
12774 preferably without segfaulting).
12776 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
12777 Print at least a warning in the debug logs if we drop a
12778 query just because we don't know how to adjust the value
12779 in the particular format.
12781 2005-12-24 David Schleef <ds@schleef.org>
12783 * tools/gstreamer-completion:
12784 Replacement for gst-complete written in sh and sed. Only
12785 completes names of features, but that's 90% of what I want
12786 it for. Properties are not available in registry.xml. (Maybe
12789 === release 0.10.1 ===
12791 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
12794 releasing 0.10.1, "Nollaig chridheil"
12796 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
12798 * docs/faq/cvs.xml:
12799 Add missing quote, should be make ERROR_CFLAGS="".
12801 2005-12-20 Wim Taymans <wim@fluendo.com>
12803 * docs/design/part-trickmodes.txt:
12804 More documentation on trickmodes.
12806 2005-12-20 Edward Hervey <edward@fluendo.com>
12808 * gst/gstcaps.c: (gst_static_caps_get_type):
12810 API addition: GST_TYPE_STATIC_CAPS
12811 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
12812 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
12813 * gst/gstpadtemplate.h:
12814 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
12815 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
12818 2005-12-18 Wim Taymans <wim@fluendo.com>
12820 * libs/gst/base/gstadapter.c:
12821 * libs/gst/base/gstadapter.h:
12822 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
12823 (gst_base_sink_get_position):
12824 * libs/gst/base/gstbasesink.h:
12825 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12826 (gst_base_src_default_query), (gst_base_src_default_do_seek),
12827 (gst_base_src_do_seek), (gst_base_src_perform_seek),
12828 (gst_base_src_send_event), (gst_base_src_update_length),
12829 (gst_base_src_get_range), (gst_base_src_loop),
12830 (gst_base_src_start):
12831 * libs/gst/base/gstbasesrc.h:
12832 * libs/gst/base/gstbasetransform.h:
12833 * libs/gst/base/gstcollectpads.h:
12834 * libs/gst/base/gstpushsrc.c:
12835 * libs/gst/base/gstpushsrc.h:
12836 * libs/gst/dataprotocol/dataprotocol.c:
12837 * libs/gst/dataprotocol/dataprotocol.h:
12838 * libs/gst/net/gstnetclientclock.h:
12839 * libs/gst/net/gstnettimeprovider.h:
12840 Documentation updates.
12842 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
12844 * docs/manual/basics-helloworld.xml:
12845 Remove superfluous closing bracket in helloworld example.
12847 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
12849 * tools/gst-launch.1.in:
12850 Update gst-launch man page; add a section with useful
12851 environment variables. Fixes #323882.
12853 2005-12-16 Stefan Kost <ensonic@users.sf.net>
12856 * gst/gst_private.h:
12857 change some char* into char[]
12859 2005-12-16 Wim Taymans <wim@fluendo.com>
12861 * gst/gstregistryxml.c: (load_feature):
12863 Don't use g_object_unref on GstObjects so that we avoid
12864 leaks on unsafe glibs.
12866 2005-12-16 Wim Taymans <wim@fluendo.com>
12868 * gst/gstbin.c: (gst_bin_recalc_state):
12871 2005-12-16 Wim Taymans <wim@fluendo.com>
12873 * common/check.mak:
12874 Added make forever target for check.
12876 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
12878 * gst/gst.c: (init_post):
12879 make the registry cache file HOST_CPU-dependent
12881 2005-12-16 Andy Wingo <wingo@pobox.com>
12883 * plugins/elements/gstbufferstore.c
12884 (gst_buffer_store_cleared_func): Pay attention to g_list_append
12887 * tests/check/gst/gstobject.c
12888 (test_fake_object_name_threaded_unique): Pay attention to
12889 g_list_sort return value.
12891 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
12893 * tools/gst-feedback-m.m:
12894 Update for 0.9/0.10 (fixes #323870).
12896 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
12898 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
12899 Fix lcopy for mini objects, the mini object needs to be ref'ed.
12901 * tests/check/gst/gstminiobject.c: (my_foo_init),
12902 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
12903 (test_value_collection), (gst_mini_object_suite):
12904 Add test to ensure refcounts end up as expected when passing
12905 GstMiniObjects through g_object_get() and g_object_set().
12907 2005-12-14 Julien MOUTTE <julien@moutte.net>
12909 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
12910 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
12911 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
12912 of collectpads. This version removes a lot of races without
12913 touching API/ABI. Yay !
12915 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
12917 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
12918 Don't allow activation of a srcpad in pull_range if it has no
12920 Change some debug statements to be a little clearer
12922 * plugins/elements/gsttypefindelement.c:
12923 (gst_type_find_handle_src_query):
12924 Check that we have a peer before executing queries thereupon.
12926 * tests/examples/metadata/read-metadata.c: (message_loop):
12927 Use gst_bus_pop instead of gst_bus_poll when we just want it to
12928 immediately return us any available message with 0 timeout.
12930 2005-12-12 Michael Smith <msmith@fluendo.com>
12932 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
12933 Don't unref factories after calling them.
12934 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
12935 * plugins/elements/gsttypefindelement.c:
12936 (gst_type_find_element_chain):
12937 Free lists of factories after using them. Fixing typefinding memory
12940 2005-12-12 Stefan Kost <ensonic@users.sf.net>
12942 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
12943 (gst_plugin_feature_load):
12944 more meaningful debug output
12946 * tests/Makefile.am:
12947 * tests/old/examples/Makefile.am:
12948 make make distcheck happy again
12950 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
12952 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
12953 Catch the special case where we are operating chain-based,
12954 but the downstream peer pad has no chain function. Emit a
12955 custom error message in this case instead of letting the
12956 core generate one implying that this is some sort of core
12957 bug. It's not, it just means that whatever got plugged
12958 into the pipeline downstream when we announced the type
12959 can only operate pull-based, while our source can only
12960 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
12961 Error string has not been marked for translation yet, as
12962 it probably needs some more work first.
12964 (gst_type_find_element_get_best_possibility):
12965 Add helper function to find the best of all available
12966 found possibilities that qualify given the min. threshold.
12968 (gst_type_find_element_handle_event):
12969 Fix the case where we get an EOS while still in TYPEFIND
12970 mode (we want to chose the best of all possible types,
12971 not just the first type that happens to be in our unsorted
12972 list of possible types).
12974 (gst_type_find_element_chain):
12975 Make sure we return GST_FLOW_ERROR when we errored out
12976 in stop_typefinding(); also, don't just find the best of
12977 all found type entries and then use the last examined
12978 type entry, but actually use the best entry.
12980 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
12982 * tests/examples/typefind/typefind.c: (type_found):
12983 * tests/examples/xml/runxml.c: (xml_loaded):
12984 More gcc4 fixes and a mem leak fix.
12986 2005-12-12 Stefan Kost <ensonic@users.sf.net>
12988 * tests/examples/xml/createxml.c: (object_saved):
12991 2005-12-12 Stefan Kost <ensonic@users.sf.net>
12993 * tests/Makefile.am:
12994 enable the examples even more
12996 2005-12-12 Andy Wingo <wingo@pobox.com>
12998 * libs/gst/net/gstnettimeprovider.c
12999 (gst_net_time_provider_class_init, gst_net_time_provider_init)
13000 (gst_net_time_provider_set_property)
13001 (gst_net_time_provider_get_property):
13002 API addition: Export "active" as a GObject property.
13003 (gst_net_time_provider_thread): Only respond to time queries if
13004 the time provider is active.
13006 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
13007 NetTimeProvider, preserving binary compat.
13009 2005-12-12 Stefan Kost <ensonic@users.sf.net>
13011 * tests/examples/controller/audio-example.c: (main):
13012 * tests/examples/launch/Makefile.am:
13013 convert comments again
13015 2005-12-12 Wim Taymans <wim@fluendo.com>
13017 * libs/gst/base/gstpushsrc.c:
13020 2005-12-12 Wim Taymans <wim@fluendo.com>
13022 * docs/libs/gstreamer-libs-sections.txt:
13023 Added new symbol to docs.
13025 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13026 (gst_base_src_init), (gst_base_src_set_format),
13027 (gst_base_src_default_query), (gst_base_src_query),
13028 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
13029 (gst_base_src_perform_seek), (gst_base_src_send_event),
13030 (gst_base_src_default_event), (gst_base_src_event_handler),
13031 (gst_base_src_set_property), (gst_base_src_get_property),
13032 (gst_base_src_wait), (gst_base_src_do_sync),
13033 (gst_base_src_update_length), (gst_base_src_get_range),
13034 (gst_base_src_check_get_range), (gst_base_src_loop),
13035 (gst_base_src_default_negotiate), (gst_base_src_start),
13036 (gst_base_src_activate_push), (gst_base_src_activate_pull),
13037 (gst_base_src_change_state):
13038 * libs/gst/base/gstbasesrc.h:
13039 Implement seeking to other formats than _BYTES.
13040 Implement more seeking methods correctly.
13042 Added query vmethod.
13043 Added do_seek vmethod to make life easier for subclasses
13045 API addition: gst_base_src_set_format()
13047 2005-12-12 Stefan Kost <ensonic@users.sf.net>
13049 * tests/examples/Makefile.am:
13052 2005-12-12 Stefan Kost <ensonic@users.sf.net>
13055 * docs/random/ensonic/media-device-daemon.txt:
13056 * tests/examples/controller/.cvsignore:
13057 * tests/examples/controller/Makefile.am:
13058 * tests/examples/controller/audio-example.c: (main):
13059 * tests/examples/helloworld/.cvsignore:
13060 * tests/examples/helloworld/Makefile.am:
13061 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
13062 * tests/examples/launch/.cvsignore:
13063 * tests/examples/launch/Makefile.am:
13064 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
13065 * tests/examples/metadata/.cvsignore:
13066 * tests/examples/metadata/Makefile.am:
13067 * tests/examples/metadata/read-metadata.c: (message_loop),
13068 (make_pipeline), (print_tag), (main):
13069 * tests/examples/queue/.cvsignore:
13070 * tests/examples/queue/Makefile.am:
13071 * tests/examples/queue/queue.c: (event_loop), (main):
13072 * tests/examples/typefind/.cvsignore:
13073 * tests/examples/typefind/Makefile.am:
13074 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
13076 * tests/examples/xml/.cvsignore:
13077 * tests/examples/xml/Makefile.am:
13078 * tests/examples/xml/createxml.c: (object_saved), (main):
13079 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
13080 * tests/old/examples/Makefile.am:
13081 * tests/old/examples/TODO:
13082 * tests/old/examples/controller/.cvsignore:
13083 * tests/old/examples/controller/Makefile.am:
13084 * tests/old/examples/controller/audio-example.c:
13085 * tests/old/examples/helloworld/.cvsignore:
13086 * tests/old/examples/helloworld/Makefile.am:
13087 * tests/old/examples/helloworld/helloworld.c:
13088 * tests/old/examples/launch/.cvsignore:
13089 * tests/old/examples/launch/Makefile.am:
13090 * tests/old/examples/launch/mp3parselaunch.c:
13091 * tests/old/examples/launch/mp3play:
13092 * tests/old/examples/manual/Makefile.am:
13093 * tests/old/examples/metadata/Makefile.am:
13094 * tests/old/examples/metadata/read-metadata.c:
13095 * tests/old/examples/queue/.cvsignore:
13096 * tests/old/examples/queue/Makefile.am:
13097 * tests/old/examples/queue/queue.c:
13098 * tests/old/examples/typefind/.cvsignore:
13099 * tests/old/examples/typefind/Makefile.am:
13100 * tests/old/examples/typefind/typefind.c:
13101 * tests/old/examples/xml/.cvsignore:
13102 * tests/old/examples/xml/Makefile.am:
13103 * tests/old/examples/xml/createxml.c:
13104 * tests/old/examples/xml/runxml.c:
13105 applied some simple fixing to some examples
13106 re-enabled the working examples
13108 2005-12-12 Wim Taymans <wim@fluendo.com>
13110 * gst/gstsegment.c: (gst_segment_init),
13111 (gst_segment_set_last_stop), (gst_segment_set_seek),
13112 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
13113 (gst_segment_to_running_time):
13114 Added more documentation.
13115 Make sure the last_pos value is updated properly.
13116 Make sure to_stream_time and to_running_time don't
13117 operate on wrong values.
13119 * tests/check/gst/gstsegment.c: (GST_START_TEST):
13122 2005-12-12 Michael Smith <msmith@fluendo.com>
13124 * plugins/elements/gsttypefindelement.c: (free_entry),
13125 (gst_type_find_element_chain):
13126 Now that we're not leaking factories, make sure we keep references
13127 to them while we need them.
13129 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
13131 * tests/check/gst/struct_i386.h:
13132 ifdef out the XML structs
13134 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
13136 * gst/gstvalue.c: (gst_value_transform_double_fraction):
13137 floor is not needed, F is always positive; this obviates the
13138 need for adding -lm when building without libxml
13140 2005-12-12 Wim Taymans <wim@fluendo.com>
13142 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13143 Take current playback rate into account when reporting
13146 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
13148 * docs/manual/mime-world.fig:
13149 Let's try this again, this time with a file that is
13150 actually in XFig format.
13152 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
13154 * docs/manual/mime-world.fig:
13155 Add audioconvert element to diagram so that it
13156 matches the text and the code (fixes #319526).
13158 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
13160 * docs/pwg/building-chainfn.xml:
13161 * docs/pwg/building-pads.xml:
13162 * docs/pwg/building-state.xml:
13163 * docs/pwg/other-source.xml:
13164 Update state change stuff for 0.10 (fixes #322969).
13166 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
13168 * docs/manual/advanced-dataaccess.xml:
13169 * docs/manual/appendix-checklist.xml:
13170 * docs/manual/appendix-programs.xml:
13171 * docs/manual/basics-pads.xml:
13172 * docs/manual/highlevel-components.xml:
13173 * docs/manual/manual.xml:
13174 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
13175 add converters in front of pipelines; remove curly
13176 brackets for threads stuff, they no longer exist; use
13177 GST_TYPE_FRACTION for framerates; update some pieces of
13178 code to 0.10, but there's plenty more to do.
13180 * docs/manual/appendix-porting.xml:
13181 Expand on asynchroneous state changes; s/0.9/0.10/;
13182 mention disappearance of gst_init_get_popt_table()
13185 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
13187 * docs/faq/using.xml:
13188 Spider no longer exists, and neither does gst-launch-ext.
13189 Update examples to use decodebin and playbin and put
13190 converters in front of sinks (fixes #323726).
13192 2005-12-09 Michael Smith <msmith@fluendo.com>
13194 * plugins/elements/gsttypefindelement.c: (find_peek),
13195 (gst_type_find_element_chain):
13196 Fix leaking element factories in typefinding.
13197 Fix problem where we forgot about a probable type on non-seekable
13198 files, and thus later mis-typefound it.
13200 2005-12-09 Michael Smith <msmith@fluendo.com>
13202 * common/m4/gst-makecontext.m4:
13203 * common/m4/gst-mcsc.m4:
13205 * win32/common/config.h:
13206 * win32/common/config.h.in:
13207 Remove makecontext stuff; not used in 0.10 and causes problems on
13208 HPUX according to bug #322441
13210 2005-12-07 Wim Taymans <wim@fluendo.com>
13212 * tests/check/Makefile.am:
13213 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
13215 * tests/check/libs/struct_i386.h:
13216 Added ABI check for libs
13218 2005-12-07 Wim Taymans <wim@fluendo.com>
13220 * tests/check/Makefile.am:
13221 And add the struct_i386.h to dist.
13223 2005-12-07 Wim Taymans <wim@fluendo.com>
13225 * tests/check/Makefile.am:
13226 * tests/check/gst/.cvsignore:
13227 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
13229 * tests/check/gst/struct_i386.h:
13230 Added check for ABI compatibility.
13232 2005-12-07 Wim Taymans <wim@fluendo.com>
13234 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13235 (gst_fake_src_get_times), (gst_fake_src_create):
13236 Fix broken sync option, fixes #323259
13238 2005-12-07 Wim Taymans <wim@fluendo.com>
13243 * gst/gstcaps.c: (gst_caps_is_equal):
13244 Don't assert on NULL <--> X. Fixes #323260
13246 * gst/gstminiobject.c: (gst_mini_object_replace):
13247 If we're doing atomic operations, we might just as well use
13248 the proper way to get an atomic pointer.
13250 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13251 Clean up debugging.
13253 2005-12-07 Michael Smith <msmith@fluendo.com>
13255 * gst/parse/grammar.y:
13256 Remove handling of { } for threads.
13258 2005-12-06 David Schleef <ds@schleef.org>
13260 * libs/gst/base/gstbasetransform.c: speling fix.
13262 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
13264 * docs/libs/tmpl/gstdataprotocol.sgml:
13265 * docs/random/omega/testing/gstobject.c:
13268 * gst/gstelement.c:
13269 * gst/gstelementfactory.c:
13272 * gst/gstghostpad.c:
13274 * gst/gstpadtemplate.c:
13275 * gst/gstregistryxml.c:
13276 * gst/gsttaglist.c:
13277 * gst/gsttagsetter.c:
13278 * gst/gsttypefind.c:
13280 * libs/gst/base/gstbasesrc.c:
13281 * libs/gst/net/gstnetclientclock.c:
13282 * libs/gst/net/gstnettimeprovider.c:
13283 * plugins/elements/gstfakesrc.c:
13284 * plugins/elements/gstfdsrc.c:
13285 * plugins/elements/gstfilesrc.c:
13286 * plugins/elements/gstidentity.c:
13287 * plugins/elements/gstqueue.c:
13288 * plugins/elements/gsttypefindelement.c:
13289 * plugins/indexers/gstfileindex.c:
13290 * plugins/indexers/gstmemindex.c:
13291 * tests/check/gst/gsttag.c:
13292 * tests/old/examples/cutter/cutter.c:
13293 * tests/old/examples/mixer/mixer.c:
13294 * tests/old/examples/xml/runxml.c: (main):
13295 * tests/old/testsuite/caps/normalisation.c:
13296 * tests/old/testsuite/debug/global.c:
13297 * tests/old/testsuite/parse/parse1.c:
13298 * tools/gst-xmlinspect.c:
13299 * win32/common/dirent.c:
13302 === release 0.10.0 ===
13304 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13307 releasing 0.10.0, "Maroilles"
13309 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
13311 submitted by: Funda Wang <fundawang@linux.net.cn>
13315 added Chinese (Traditional) translation
13317 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
13319 * docs/gst/gstreamer-sections.txt:
13320 * docs/libs/tmpl/gstdataprotocol.sgml:
13321 * docs/random/thomasvs/TODO:
13326 2005-12-05 Andy Wingo <wingo@pobox.com>
13328 patch by: Wim Taymans <wim@fluendo.com>
13330 * libs/gst/base/gstbasetransform.c
13331 (gst_base_transform_prepare_output_buf)
13332 (gst_base_transform_buffer_alloc):
13333 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
13334 alloc_buffer_and_set_caps.
13336 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
13337 set_caps on the source pad.
13338 (gst_pad_alloc_buffer_and_set_caps): New function, does what
13339 alloc_buffer used to do. Fixes #322874.
13341 * docs/gst/gstreamer-sections.txt:
13342 * docs/design/part-negotiation.txt:
13343 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
13346 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
13348 patch by: Sebastien Moutte
13351 * win32/common/config.h.in:
13352 * win32/vs6/libgstcontroller.dsp:
13355 2005-12-05 Wim Taymans <wim@fluendo.com>
13357 * gst/gstcaps.c: (gst_caps_is_equal):
13358 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13359 (gst_fake_src_create):
13360 Back out previous code changes, leave doc updates, file bugs
13363 2005-12-05 Wim Taymans <wim@fluendo.com>
13365 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13366 (gst_fake_src_get_times), (gst_fake_src_create):
13367 * plugins/elements/gstfakesrc.h:
13368 Fix broken sync code.
13370 2005-12-05 Wim Taymans <wim@fluendo.com>
13372 * gst/gstcaps.c: (gst_caps_is_equal):
13373 Comparing NULL against !NULL yields different caps, not a
13376 2005-12-05 Wim Taymans <wim@fluendo.com>
13378 * gst/gstpipeline.c:
13379 Fix small typo in docs.
13381 2005-12-05 Andy Wingo <wingo@pobox.com>
13383 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
13385 * gst/gst.c (init_post): remove hard-coded 0.9 location for
13386 registries/plugins with a MAJORMINOR one.
13387 (plugin_desc): Rename library from gstcoreleements to
13388 staticelements. Fixes #323222.
13390 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
13392 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
13393 Change debug category to 'collectpads' from 'collect_pads'
13396 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
13398 patch by: Sebastien Moutte
13400 * libs/gst/controller/gstinterpolation.c:
13401 use convert function for uint64/double
13402 * win32/vs6/libgstcontroller.dsp:
13405 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
13407 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
13408 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
13410 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13411 add tests that seem to show that the guint64/gdouble conversions
13414 2005-12-02 Wim Taymans <wim@fluendo.com>
13416 * gst/gstregistry.c: (gst_registry_add_path):
13417 * gst/gstregistry.h:
13418 * gst/gstregistryxml.c:
13421 2005-12-02 Wim Taymans <wim@fluendo.com>
13423 * gst/gstutils.c: (gst_util_uint64_scale_int64),
13424 (gst_util_uint64_scale_int):
13427 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13428 Add debug log line.
13430 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
13433 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
13436 * win32/common/config.h:
13437 * win32/vs6/gstreamer.dsw:
13438 * win32/vs6/libgstcoreelements.dsp:
13439 * win32/vs6/libgstelements.dsp:
13440 renamed core elements plugin
13442 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
13444 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
13446 do piece-wise major/minor comparison so 0.9 < 0.10
13447 also allow .exe extensions for tools
13449 2005-12-02 Michael Smith <msmith@fluendo.com>
13452 Escape a % to make gtkdoc happier; bug 322958.
13454 === release 0.9.7 ===
13456 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13459 releasing 0.9.7, "My Dog Has No Nose"
13461 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13463 * common/gst-xmlinspect.py:
13465 * docs/libs/tmpl/gstdataprotocol.sgml:
13466 * docs/random/release:
13485 * win32/common/config.h:
13486 * win32/common/config.h.in:
13487 * win32/vs6/gst_inspect.dsp:
13488 * win32/vs6/gst_launch.dsp:
13489 * win32/vs6/libgstbase.dsp:
13490 * win32/vs6/libgstelements.dsp:
13491 * win32/vs6/libgstreamer.dsp:
13492 * win32/vs7/GStreamer.vcproj:
13493 * win32/vs7/gst-inspect.vcproj:
13494 * win32/vs7/gst-launch.vcproj:
13495 * win32/vs7/libgstbase.vcproj:
13496 bump GST_MAJORMINOR to 0.10
13497 reset libtool version
13499 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13503 Added Bulgarian translation by (Alexander Shopov)
13505 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13507 * tests/check/gst/gstplugin.c:
13510 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13512 * common/gst-xmlinspect.py:
13513 * common/gtk-doc-plugins.mak:
13515 * docs/Makefile.am:
13516 * docs/gst/Makefile.am:
13517 * docs/gst/gstreamer-docs.sgml:
13518 * docs/gst/gstreamer-sections.txt:
13519 * docs/gst/gstreamer.types:
13520 * docs/gst/gstreamer.types.in:
13521 * docs/plugins/Makefile.am:
13522 * docs/plugins/gstreamer-plugins-docs.sgml:
13523 * docs/plugins/gstreamer-plugins-sections.txt:
13524 * docs/plugins/gstreamer-plugins.types:
13525 * docs/plugins/inspect.stamp:
13526 * docs/plugins/inspect/plugin-coreelements.xml:
13527 * docs/plugins/inspect/plugin-coreindexers.xml:
13528 * docs/plugins/scanobj-build.stamp:
13529 * gstreamer.spec.in:
13530 * plugins/elements/Makefile.am:
13531 * plugins/elements/gstelements.c:
13532 * plugins/elements/gstfakesink.c:
13533 * plugins/elements/gstfakesrc.c:
13534 * plugins/elements/gstfilesink.c:
13535 * plugins/elements/gstfilesrc.c:
13536 * plugins/elements/gstqueue.c:
13537 * plugins/indexers/Makefile.am:
13538 * plugins/indexers/gstindexers.c:
13539 document core plugins in a separate document just like all the
13541 rename these plugins to something starting with core
13543 2005-12-01 Andy Wingo <wingo@pobox.com>
13545 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
13546 padding here before, but it missed the commit.
13548 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
13550 * libs/gst/controller/gstinterpolation.c:
13551 whitespace prices have crashed, we should feel free to use some now
13552 use gst_guint64_to_gdouble
13554 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
13556 * libs/gst/controller/gstcontroller.c:
13557 * libs/gst/controller/gsthelper.c:
13558 * libs/gst/controller/gstinterpolation.c:
13559 * libs/gst/controller/lib.c:
13560 wrap config.h include
13562 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
13564 * docs/gst/gstreamer-sections.txt:
13567 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
13569 * plugins/elements/gstelements.c:
13570 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
13571 (gst_fd_sink__class_init), (gst_fd_sink__init),
13572 (gst_fd_sink__chain), (gst_fd_sink__set_property),
13573 (gst_fd_sink__get_property):
13574 * plugins/elements/gstfdsink.h:
13575 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
13576 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
13577 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
13578 (gst_fd_src_unlock), (gst_fd_src_set_property),
13579 (gst_fd_src_get_property), (gst_fd_src_create),
13580 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
13581 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
13582 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
13583 (gst_fd_src_uri_handler_init):
13584 * plugins/elements/gstfdsrc.h:
13585 * plugins/elements/gstqueue.c: (gst_queue_get_type):
13588 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13590 * docs/gst/Makefile.am:
13591 * docs/gst/gstreamer.types.in:
13595 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13601 * gst/gstregistry.h:
13602 * tests/benchmarks/complexity.c:
13603 * tests/benchmarks/mass-elements.c:
13604 * tests/check/Makefile.am:
13605 * tools/Makefile.am:
13606 * tools/gst-inspect.c:
13607 * tools/gst-xmlinspect.c:
13608 various fixes to make
13609 --disable-nls --disable-registry --disable-loadsave
13610 --disable-parse --disable-gst-debug
13611 work and get the core .so down to 360444 bytes after stripping
13613 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13618 * docs/random/thomasvs/TODO:
13619 * tests/Makefile.am:
13623 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13625 * win32/GStreamer.vcproj:
13628 * win32/Makefile.inspect:
13629 * win32/Makefile.launch:
13630 * win32/Makefile.register:
13631 * win32/README.txt:
13632 * win32/gst-inspect.vcproj:
13633 * win32/gst-launch.vcproj:
13634 * win32/gst-register.vcproj:
13635 * win32/gstelements.vcproj:
13636 * win32/gstgetbits.def:
13637 * win32/gstgetbits.vcproj:
13638 * win32/gstreamer-dbg.def:
13639 * win32/gstreamer.def:
13640 * win32/libgstbase.def:
13641 * win32/libgstbase.vcproj:
13642 * win32/link_oldruntime.c:
13646 * win32/msvc71.sln:
13647 move even more stuff, win32/ is nice and clean now
13649 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13651 * libs/gst/control/.cvsignore:
13656 * win32/gstbytestream.def:
13657 * win32/gstbytestream.vcproj:
13658 * win32/gstconfig.h:
13659 * win32/gstenumtypes.c:
13660 * win32/gstenumtypes.h:
13661 * win32/gstoptimalscheduler.vcproj:
13662 * win32/gstversion.h:
13664 * win32/testsuite/bins.vcproj:
13665 * win32/testsuite/bytestream.vcproj:
13666 * win32/testsuite/caps.vcproj:
13667 * win32/testsuite/cleanup.vcproj:
13668 * win32/testsuite/clock.vcproj:
13669 * win32/testsuite/debug.vcproj:
13670 * win32/testsuite/dlopen.vcproj:
13671 * win32/testsuite/dynparams.vcproj:
13672 * win32/testsuite/elements.vcproj:
13673 * win32/testsuite/ghostpads.vcproj:
13674 * win32/testsuite/indexers.vcproj:
13675 * win32/testsuite/negotiation.vcproj:
13676 * win32/testsuite/parse.vcproj:
13677 * win32/testsuite/plugin.vcproj:
13678 * win32/testsuite/refcounting.vcproj:
13679 * win32/testsuite/schedulers.vcproj:
13680 * win32/testsuite/states.vcproj:
13681 * win32/testsuite/tags.vcproj:
13682 * win32/testsuite/threads.vcproj:
13683 remove old win32 stuff that isn't maintained and should be
13686 2005-11-30 Andy Wingo <wingo@pobox.com>
13688 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
13689 loading the gst.interfaces python module bork.
13691 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
13692 available since GLib 2.2. Fixes #318031.
13694 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13697 * check/.cvsignore:
13698 * check/Makefile.am:
13699 * check/elements/.cvsignore:
13700 * check/elements/fakesrc.c:
13701 * check/elements/fdsrc.c:
13702 * check/elements/identity.c:
13703 * check/generic/.cvsignore:
13704 * check/generic/states.c:
13705 * check/gst-libs/.cvsignore:
13706 * check/gst-libs/controller.c:
13707 * check/gst-libs/gdp.c:
13708 * check/gst/.cvsignore:
13709 * check/gst/capslist.h:
13711 * check/gst/gstbin.c:
13712 * check/gst/gstbuffer.c:
13713 * check/gst/gstbus.c:
13714 * check/gst/gstcaps.c:
13715 * check/gst/gstelement.c:
13716 * check/gst/gstevent.c:
13717 * check/gst/gstghostpad.c:
13718 * check/gst/gstiterator.c:
13719 * check/gst/gstmessage.c:
13720 * check/gst/gstminiobject.c:
13721 * check/gst/gstobject.c:
13722 * check/gst/gstpad.c:
13723 * check/gst/gstpipeline.c:
13724 * check/gst/gstplugin.c:
13725 * check/gst/gstsegment.c:
13726 * check/gst/gststructure.c:
13727 * check/gst/gstsystemclock.c:
13728 * check/gst/gsttag.c:
13729 * check/gst/gstutils.c:
13730 * check/gst/gstvalue.c:
13731 * check/net/.cvsignore:
13732 * check/net/gstnetclientclock.c:
13733 * check/net/gstnettimeprovider.c:
13734 * check/pipelines/.cvsignore:
13735 * check/pipelines/cleanup.c:
13736 * check/pipelines/simple_launch_lines.c:
13737 * check/pipelines/stress.c:
13738 * check/states/.cvsignore:
13739 * check/states/sinks.c:
13741 * examples/Makefile.am:
13742 * examples/appreader/.cvsignore:
13743 * examples/appreader/Makefile.am:
13744 * examples/appreader/appreader.c:
13745 * examples/controller/.cvsignore:
13746 * examples/controller/Makefile.am:
13747 * examples/controller/audio-example.c:
13748 * examples/cutter/.cvsignore:
13749 * examples/cutter/Makefile.am:
13750 * examples/cutter/cutter.c:
13751 * examples/cutter/cutter.h:
13752 * examples/events/Makefile.am:
13753 * examples/events/seek.c:
13754 * examples/helloworld/.cvsignore:
13755 * examples/helloworld/Makefile.am:
13756 * examples/helloworld/helloworld.c:
13757 * examples/helloworld2/.cvsignore:
13758 * examples/helloworld2/Makefile.am:
13759 * examples/helloworld2/helloworld2.c:
13760 * examples/launch/.cvsignore:
13761 * examples/launch/Makefile.am:
13762 * examples/launch/mp3parselaunch.c:
13763 * examples/launch/mp3play:
13764 * examples/manual/.cvsignore:
13765 * examples/manual/Makefile.am:
13766 * examples/manual/extract.pl:
13767 * examples/metadata/Makefile.am:
13768 * examples/metadata/read-metadata.c:
13769 * examples/mixer/.cvsignore:
13770 * examples/mixer/Makefile.am:
13771 * examples/mixer/mixer.c:
13772 * examples/mixer/mixer.h:
13773 * examples/pingpong/.cvsignore:
13774 * examples/pingpong/Makefile.am:
13775 * examples/pingpong/pingpong.c:
13776 * examples/plugins/.cvsignore:
13777 * examples/plugins/Makefile.am:
13778 * examples/plugins/example.c:
13779 * examples/plugins/example.h:
13780 * examples/pwg/.cvsignore:
13781 * examples/pwg/Makefile.am:
13782 * examples/pwg/extract.pl:
13783 * examples/queue/.cvsignore:
13784 * examples/queue/Makefile.am:
13785 * examples/queue/queue.c:
13786 * examples/queue2/.cvsignore:
13787 * examples/queue2/Makefile.am:
13788 * examples/queue2/queue2.c:
13789 * examples/queue3/.cvsignore:
13790 * examples/queue3/Makefile.am:
13791 * examples/queue3/queue3.c:
13792 * examples/queue4/.cvsignore:
13793 * examples/queue4/Makefile.am:
13794 * examples/queue4/queue4.c:
13795 * examples/retag/.cvsignore:
13796 * examples/retag/Makefile.am:
13797 * examples/retag/retag.c:
13798 * examples/retag/transcode.c:
13799 * examples/thread/.cvsignore:
13800 * examples/thread/Makefile.am:
13801 * examples/thread/thread.c:
13802 * examples/typefind/.cvsignore:
13803 * examples/typefind/Makefile.am:
13804 * examples/typefind/typefind.c:
13805 * examples/xml/.cvsignore:
13806 * examples/xml/Makefile.am:
13807 * examples/xml/createxml.c:
13808 * examples/xml/runxml.c:
13809 * tests/Makefile.am:
13810 * tests/check/Makefile.am:
13811 * testsuite/.cvsignore:
13812 * testsuite/Makefile.am:
13814 * testsuite/caps/.cvsignore:
13815 * testsuite/caps/Makefile.am:
13816 * testsuite/caps/app_fixate.c:
13817 * testsuite/caps/audioscale.c:
13818 * testsuite/caps/caps.c:
13819 * testsuite/caps/caps.h:
13820 * testsuite/caps/caps_strings:
13821 * testsuite/caps/compatibility.c:
13822 * testsuite/caps/deserialize.c:
13823 * testsuite/caps/enumcaps.c:
13824 * testsuite/caps/eratosthenes.c:
13825 * testsuite/caps/filtercaps.c:
13826 * testsuite/caps/fixed.c:
13827 * testsuite/caps/fraction-convert.c:
13828 * testsuite/caps/fraction-multiply-and-zero.c:
13829 * testsuite/caps/intersect2.c:
13830 * testsuite/caps/intersection.c:
13831 * testsuite/caps/normalisation.c:
13832 * testsuite/caps/random.c:
13833 * testsuite/caps/renegotiate.c:
13834 * testsuite/caps/sets.c:
13835 * testsuite/caps/simplify.c:
13836 * testsuite/caps/string-conversions.c:
13837 * testsuite/caps/structure.c:
13838 * testsuite/caps/subtract.c:
13839 * testsuite/caps/union.c:
13840 * testsuite/debug/.cvsignore:
13841 * testsuite/debug/Makefile.am:
13842 * testsuite/debug/category.c:
13843 * testsuite/debug/commandline.c:
13844 * testsuite/debug/global.c:
13845 * testsuite/debug/output.c:
13846 * testsuite/debug/printf_extension.c:
13847 * testsuite/dlopen/.cvsignore:
13848 * testsuite/dlopen/Makefile.am:
13849 * testsuite/dlopen/dlopen_gst.c:
13850 * testsuite/dlopen/loadgst.c:
13851 * testsuite/elements/.cvsignore:
13852 * testsuite/elements/Makefile.am:
13853 * testsuite/elements/gst-inspect-check.in:
13854 * testsuite/elements/struct_i386.h:
13855 * testsuite/elements/struct_size.c:
13856 * testsuite/indexers/.cvsignore:
13857 * testsuite/indexers/Makefile.am:
13858 * testsuite/indexers/cache1.c:
13859 * testsuite/indexers/indexdump.c:
13860 * testsuite/parse/.cvsignore:
13861 * testsuite/parse/Makefile.am:
13862 * testsuite/parse/parse1.c:
13863 * testsuite/parse/parse2.c:
13864 * testsuite/plugin/.cvsignore:
13865 * testsuite/plugin/Makefile.am:
13866 * testsuite/plugin/README:
13867 * testsuite/plugin/dynamic.c:
13868 * testsuite/plugin/linked.c:
13869 * testsuite/plugin/loading.c:
13870 * testsuite/plugin/registry.c:
13871 * testsuite/plugin/static.c:
13872 * testsuite/plugin/static2.c:
13873 * testsuite/plugin/testplugin.c:
13874 * testsuite/plugin/testplugin2.c:
13875 * testsuite/plugin/testplugin2_s.c:
13876 * testsuite/plugin/testplugin_s.c:
13877 * testsuite/refcounting/.cvsignore:
13878 * testsuite/refcounting/Makefile.am:
13879 * testsuite/refcounting/bin.c:
13880 * testsuite/refcounting/element.c:
13881 * testsuite/refcounting/element_pad.c:
13882 * testsuite/refcounting/mainloop.c:
13883 * testsuite/refcounting/mem.c:
13884 * testsuite/refcounting/mem.h:
13885 * testsuite/refcounting/object.c:
13886 * testsuite/refcounting/pad.c:
13887 * testsuite/refcounting/sched.c:
13888 * testsuite/refcounting/thread.c:
13889 * testsuite/states/.cvsignore:
13890 * testsuite/states/Makefile.am:
13891 * testsuite/states/bin.c:
13892 * testsuite/states/locked.c:
13893 * testsuite/states/parent.c:
13894 * testsuite/threads/.cvsignore:
13895 * testsuite/threads/159566.c:
13896 * testsuite/threads/159852.c:
13897 * testsuite/threads/Makefile.am:
13898 * testsuite/threads/queue.c:
13899 * testsuite/threads/signals.c:
13900 * testsuite/threads/staticrec.c:
13901 * testsuite/threads/thread.c:
13902 * testsuite/threads/threadb.c:
13903 * testsuite/threads/threadc.c:
13904 * testsuite/threads/threadd.c:
13905 * testsuite/threads/threade.c:
13906 * testsuite/threads/threadf.c:
13907 * testsuite/threads/threadg.c:
13908 * testsuite/threads/threadh.c:
13909 * testsuite/threads/threadi.c:
13910 move all of these under tests
13912 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13915 * tests/Makefile.am:
13918 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13920 * docs/gst/gstreamer-sections.txt:
13921 * tests/sched/.cvsignore:
13922 * tests/sched/Makefile.am:
13923 * tests/sched/cases/(fs-fs).xml:
13924 * tests/sched/cases/(fs-i-fs).xml:
13925 * tests/sched/cases/(fs-i-i-fs).xml:
13926 * tests/sched/cases/(fs-i-q[i-fs]).xml:
13927 * tests/sched/dynamic-pipeline.c:
13928 * tests/sched/interrupt1.c:
13929 * tests/sched/interrupt2.c:
13930 * tests/sched/interrupt3.c:
13931 * tests/sched/runtestcases:
13932 * tests/sched/runxml.c:
13933 * tests/sched/sched-stress.c:
13934 * tests/sched/sort.c:
13935 * tests/sched/testcases:
13936 * tests/sched/testcases1.tc:
13937 * tests/seeking/.cvsignore:
13938 * tests/seeking/Makefile.am:
13939 * tests/seeking/seeking1.c:
13940 * tests/threadstate/.cvsignore:
13941 * tests/threadstate/Makefile.am:
13942 * tests/threadstate/test1.c:
13943 * tests/threadstate/test2.c:
13944 * tests/threadstate/threadstate1.c:
13945 * tests/threadstate/threadstate2.c:
13946 * tests/threadstate/threadstate3.c:
13947 * tests/threadstate/threadstate4.c:
13948 * tests/threadstate/threadstate5.c:
13949 remove obsolete tests
13951 * tests/bench-complexity.scm:
13952 * tests/bench-mass_elements.scm:
13953 * tests/complexity.c:
13954 * tests/complexity.gnuplot:
13955 * tests/instantiate/.cvsignore:
13956 * tests/instantiate/Makefile.am:
13957 * tests/instantiate/caps.c:
13958 * tests/mass_elements.c:
13959 * tests/network-clock-utils.scm:
13960 * tests/network-clock.scm:
13962 First pass at cleaning up tests/ dir before moving the rest
13963 Combined with CVS surgery
13965 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13968 queue has moved, update
13970 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13972 * docs/gst/gstreamer-sections.txt:
13973 remove double entries from the docs
13974 * gst/gst_private.h:
13975 * gst/gstinfo.c: (_gst_debug_init):
13976 remove the THREAD debug category
13980 * docs/gst/gstreamer.types:
13981 * plugins/elements/gstqueue.c: (gst_queue_get_type),
13982 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
13983 completely move queue and fix up debugging categories
13985 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13987 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
13988 make initialization portable, using LL is not
13990 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13992 * win32/common/gstconfig.h:
13995 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13997 * win32/common/libgstreamer.def:
13998 rename symbols; sort base section
14000 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14002 * gst/gstclock.c: (do_linear_regression):
14003 remove crack non-portable handrolled DEBUG macro
14005 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14007 * docs/random/release:
14009 * win32/common/gstenumtypes.c: (register_gst_object_flags),
14010 (gst_object_flags_get_type), (register_gst_bin_flags),
14011 (gst_bin_flags_get_type), (register_gst_buffer_flag),
14012 (gst_buffer_flag_get_type), (register_gst_bus_flags),
14013 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
14014 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
14015 (gst_caps_flags_get_type), (register_gst_clock_return),
14016 (gst_clock_return_get_type), (register_gst_clock_entry_type),
14017 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
14018 (gst_clock_flags_get_type), (register_gst_state),
14019 (gst_state_get_type), (register_gst_state_change_return),
14020 (gst_state_change_return_get_type), (register_gst_state_change),
14021 (gst_state_change_get_type), (register_gst_element_flags),
14022 (gst_element_flags_get_type), (register_gst_core_error),
14023 (gst_core_error_get_type), (register_gst_library_error),
14024 (gst_library_error_get_type), (register_gst_resource_error),
14025 (gst_resource_error_get_type), (register_gst_stream_error),
14026 (gst_stream_error_get_type), (register_gst_event_type_flags),
14027 (gst_event_type_flags_get_type), (register_gst_event_type),
14028 (gst_event_type_get_type), (register_gst_seek_type),
14029 (gst_seek_type_get_type), (register_gst_seek_flags),
14030 (gst_seek_flags_get_type), (register_gst_format),
14031 (gst_format_get_type), (register_gst_index_certainty),
14032 (gst_index_certainty_get_type), (register_gst_index_entry_type),
14033 (gst_index_entry_type_get_type),
14034 (register_gst_index_lookup_method),
14035 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
14036 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
14037 (gst_index_resolver_method_get_type), (register_gst_index_flags),
14038 (gst_index_flags_get_type), (register_gst_debug_level),
14039 (gst_debug_level_get_type), (register_gst_debug_color_flags),
14040 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
14041 (gst_iterator_result_get_type), (register_gst_iterator_item),
14042 (gst_iterator_item_get_type), (register_gst_message_type),
14043 (gst_message_type_get_type), (register_gst_mini_object_flags),
14044 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
14045 (gst_pad_link_return_get_type), (register_gst_flow_return),
14046 (gst_flow_return_get_type), (register_gst_activate_mode),
14047 (gst_activate_mode_get_type), (register_gst_pad_direction),
14048 (gst_pad_direction_get_type), (register_gst_pad_flags),
14049 (gst_pad_flags_get_type), (register_gst_pad_presence),
14050 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
14051 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
14052 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
14053 (gst_plugin_error_get_type), (register_gst_plugin_flags),
14054 (gst_plugin_flags_get_type), (register_gst_rank),
14055 (gst_rank_get_type), (register_gst_query_type),
14056 (gst_query_type_get_type), (register_gst_tag_merge_mode),
14057 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
14058 (gst_tag_flag_get_type), (register_gst_task_state),
14059 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
14060 (gst_alloc_trace_flags_get_type),
14061 (register_gst_type_find_probability),
14062 (gst_type_find_probability_get_type), (register_gst_uri_type),
14063 (gst_uri_type_get_type), (register_gst_parse_error),
14064 (gst_parse_error_get_type):
14065 * win32/common/gstenumtypes.h:
14066 * win32/common/gstversion.h:
14067 update visual studio generated files
14069 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14071 * win32/vs6/libgstbase.dsp:
14072 * win32/vs6/libgstelements.dsp:
14073 update project files for new locations
14075 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14080 reinstate and update
14085 * docs/random/LICENSE:
14088 2005-11-30 Edward Hervey <edward@fluendo.com>
14090 * gst/gsttypefind.c: (gst_type_find_register):
14091 * gst/gsttypefind.h:
14092 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
14093 (gst_type_find_factory_dispose):
14094 * gst/gsttypefindfactory.h:
14095 Fix memory leak in GstTypeFindFactory.
14097 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14100 * plugins/elements/Makefile.am:
14101 * plugins/elements/gstelements.c:
14102 * plugins/elements/gstqueue.c:
14103 move queue from core to the elements plugin
14105 2005-11-29 Andy Wingo <wingo@pobox.com>
14107 * libs/gst/base/gstbasetransform.h:
14108 * libs/gst/base/gstbasesrc.h:
14109 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
14111 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
14112 of pointers by which to pad very extensible base classes (like the
14113 ones in libs/gst/base).
14115 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14117 * docs/gst/gstreamer-docs.sgml:
14118 * docs/gst/gstreamer-sections.txt:
14119 * docs/libs/gstreamer-libs-docs.sgml:
14120 * docs/libs/gstreamer-libs-sections.txt:
14121 moving documentation from core to lib
14123 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14125 * check/Makefile.am:
14127 * docs/gst/Makefile.am:
14129 * gst/base/.cvsignore:
14130 * gst/base/Makefile.am:
14132 * gst/base/gstadapter.c:
14133 * gst/base/gstadapter.h:
14134 * gst/base/gstbasesink.c:
14135 * gst/base/gstbasesink.h:
14136 * gst/base/gstbasesrc.c:
14137 * gst/base/gstbasesrc.h:
14138 * gst/base/gstbasetransform.c:
14139 * gst/base/gstbasetransform.h:
14140 * gst/base/gstcollectpads.c:
14141 * gst/base/gstcollectpads.h:
14142 * gst/base/gstpushsrc.c:
14143 * gst/base/gstpushsrc.h:
14144 * gst/base/gsttypefindhelper.c:
14145 * gst/base/gsttypefindhelper.h:
14146 * gst/check/Makefile.am:
14147 * gst/check/gstcheck.c:
14148 * gst/check/gstcheck.h:
14149 * gst/net/Makefile.am:
14150 * gst/net/gstnet.h:
14151 * gst/net/gstnetclientclock.c:
14152 * gst/net/gstnetclientclock.h:
14153 * gst/net/gstnettimepacket.c:
14154 * gst/net/gstnettimepacket.h:
14155 * gst/net/gstnettimeprovider.c:
14156 * gst/net/gstnettimeprovider.h:
14157 * libs/gst/Makefile.am:
14158 * libs/gst/base/Makefile.am:
14159 * libs/gst/base/gstbasetransform.c:
14160 * libs/gst/check/Makefile.am:
14161 * plugins/elements/Makefile.am:
14163 CVS surgery + support to move base, check, and net out of gst
14166 2005-11-29 Andy Wingo <wingo@pobox.com>
14168 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
14170 * gst/gststructure.h (struct _GstStructure): Only one pointer of
14173 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
14175 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
14177 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
14179 * gst/gstobject.h: (struct _GstObject): Only one pointer of
14180 padding; reduces object size by about 30%. We don't expect
14181 anything else to go into gstobject.
14183 * gst/gstminiobject.h (struct _GstMiniObject)
14184 (struct _GstMiniObjectClass): Only one pointer of padding; the
14185 payload is only a pointer and two ints anyway. For the class there
14186 are only two methods as well.
14188 * gst/gstelement.h (struct _GstElementClass): Removed
14189 the state_changed signal callback, it is not used.
14191 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
14193 * docs/gst/gstreamer.types:
14194 fix includes, though they are a little dinky
14196 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14198 * check/Makefile.am:
14199 look in the right place for elements, a lot more chance of
14202 remove indexers and elements subdirs
14203 * plugins/Makefile.am:
14204 make indexers conditional
14206 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14210 * plugins/elements/Makefile.am:
14211 * plugins/elements/gstcapsfilter.c:
14212 * plugins/elements/gstfilesink.c:
14213 * plugins/elements/gstfilesrc.c:
14214 * plugins/elements/gstidentity.c:
14215 * plugins/indexers/Makefile.am:
14216 do CVS surgery and related build fixery to move elements
14217 and indexers in a new gstreamer/plugins directory, out of the
14220 2005-11-29 Andy Wingo <wingo@pobox.com>
14222 * check/Makefile.am:
14223 * pkgconfig/gstreamer-net-uninstalled.pc.in:
14224 * pkgconfig/gstreamer-net.pc.in:
14225 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
14228 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
14230 * tools/Makefile.am:
14231 * tools/gst-complete.1.in:
14232 * tools/gst-complete.c:
14233 * tools/gst-compprep.1.in:
14234 * tools/gst-compprep.c:
14235 removing -compprep and -complete
14237 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
14239 * gst/gstevent.c: (gst_event_new_new_segment),
14240 (gst_event_parse_new_segment):
14242 fix #320529 - clean up new_segment API and structure.
14243 Let's hope everyone was using the methods, and not the structure.
14245 2005-11-29 Edward Hervey <edward@fluendo.com>
14247 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14248 (gst_base_sink_event), (gst_base_sink_do_sync),
14249 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
14250 Properly handle non GST_FORMAT_TIME segment
14251 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
14252 Properly handle non GST_FORMAT_TIME segment
14253 * gst/gstsegment.c:
14254 This function is valid if the accumulator is 0 and the format
14255 is different from the requested format.
14257 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
14259 * docs/gst/gstreamer-sections.txt:
14260 Add gst_query_new_seeking and gst_query_parse_seeking to the
14263 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
14265 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
14266 Treat a pad alloc with new caps the same as if we were not
14267 negotiated, in order to allow a changing upstream output
14268 to produce a new format of data.
14270 2005-11-29 Edward Hervey <edward@fluendo.com>
14272 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
14273 (gst_base_transform_event), (gst_base_transform_eventfunc):
14274 The event virtual method is now properly implemented, with a default
14276 Sub classes should call the parent_class event method. They should
14277 return FALSE if they had a problem handling the given event, or don't
14278 want GstBaseTransform to send that even downstream
14279 * gst/elements/gstidentity.c: (gst_identity_class_init),
14280 (gst_identity_init), (gst_identity_event),
14281 (gst_identity_transform_ip), (gst_identity_set_property),
14282 (gst_identity_get_property):
14283 * gst/elements/gstidentity.h:
14284 Added the single-segment boolean property.
14285 If set to TRUE, it will output a single segment of data, starting from
14286 0, will eat up all incoming newsegment, and modify the timestamp of the
14287 buffers accordingly
14289 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
14291 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
14292 Don't ref NULL target pad (#322751). Improve docs.
14294 2005-11-29 Michael Smith <msmith@fluendo.com>
14296 * gst/gstregistryxml.c: (load_plugin):
14297 Don't crash if we failed to load a feature from a plugin.
14299 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
14301 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
14303 use more check API and less GLib API
14305 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
14308 don't run checks if we don't have check
14309 * common/check.mak:
14310 remove the registry when running make torture
14311 * docs/gst/gstreamer-sections.txt:
14312 remove second multiply
14313 * gst/gstqueue.c: (gst_queue_loop):
14314 fix a compile warning when disabling debug
14316 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
14319 Hey! Let's print the pad name if the pointer != NULL instead
14320 of when it == NULL :-)
14322 2005-11-28 Wim Taymans <wim@fluendo.com>
14324 * check/gst/gstutils.c: (GST_START_TEST):
14325 Updated check, add some scaling accuracy checking code.
14327 * gst/gstutils.c: (gst_util_div128_64),
14328 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
14329 (gst_util_uint64_scale_int):
14330 Fix 6 times faster division code. Optimize for common
14331 1/1 and less common X/1 cases.
14333 2005-11-28 Wim Taymans <wim@fluendo.com>
14335 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14338 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
14339 (do_linear_regression), (gst_clock_add_observation):
14341 Release lock when the clock cannot be slaved.
14342 Catch the case where the regression returned an invalid denominator.
14344 * gst/gstutils.c: (gst_util_div128_64_iterate),
14345 (gst_util_div128_64), (gst_util_uint64_scale_int64),
14346 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
14347 Add protentially more performant non-iterative 128/64 divide function
14348 that unfortunatly does not work yet.
14349 Shortcut the trivial 0/X = 0 case.
14350 Remove the warnings on overflow.
14352 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
14354 * gst/gstplugin.c: (gst_plugin_register_func):
14355 everything causing a plugin not to load should be at least a WARNING
14357 2005-11-28 Stefan Kost <ensonic@users.sf.net>
14359 * docs/random/ensonic/dparams.txt:
14360 some TODOs for the next dev cycle
14361 * libs/gst/controller/gstcontroller.c:
14362 (gst_controlled_property_set_interpolation_mode),
14363 (gst_controlled_property_new):
14364 * libs/gst/controller/gstcontroller.h:
14365 use base type to assign acccessor functions
14367 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
14369 * check/Makefile.am:
14370 Oops, that should have been top_srcdir
14372 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
14374 * check/Makefile.am:
14375 * check/elements/fdsrc.c: (GST_START_TEST):
14376 Use a cmdline define to specify the location of a file to use for
14377 testing, to avoid breaking distcheck.
14379 2005-11-28 Andy Wingo <wingo@pobox.com>
14381 * gst/gstpad.c (fixate_value): Use array functions for arrays.
14383 2005-11-28 Edward Hervey <edward@fluendo.com>
14385 * tools/gst-launch.c: (main):
14386 Clarify the output strings, makes it easier to translate.
14389 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
14392 don't try and build net if we don't even have <sys/socket.h>
14394 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
14396 * check/Makefile.am:
14397 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
14398 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
14399 Add tests for fdsrc seekability
14401 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
14402 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
14403 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
14404 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
14405 * gst/elements/gstfdsrc.h:
14406 fdsrc should not be a 'live' source.
14407 Implement seeking on seekable fd's.
14409 * gst/gstquery.c: (gst_query_new_seeking),
14410 (gst_query_parse_seeking):
14412 Implement SEEKING query functions:
14413 *_new_seeking and *_parse_seeking
14415 2005-11-27 Stefan Kost <ensonic@users.sf.net>
14417 * gst/gstelement.c: (gst_element_dispose):
14420 * gst/gstiterator.c:
14421 * gst/gststructure.c:
14424 * libs/gst/controller/gstcontroller.c:
14425 (gst_controlled_property_set_interpolation_mode):
14426 * libs/gst/controller/gstcontroller.h:
14427 * libs/gst/controller/gstinterpolation.c:
14428 (interpolate_none_get_enum_value_array):
14429 support controlling enums
14431 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
14434 Improve documentation for gst_value_union().
14437 Change return value for union, intersect and subtract functions
14438 from gint to gboolean.
14440 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
14442 * gst/gstvalue.c: (gst_value_serialize_any_list),
14443 (gst_value_transform_any_list_string),
14444 (gst_value_deserialize_list), (gst_value_deserialize_array),
14445 (gst_value_set_int_range), (gst_value_deserialize_int_range),
14446 (gst_value_set_double_range), (gst_value_deserialize_double_range),
14447 (gst_value_set_fraction_range_full),
14448 (gst_value_deserialize_fraction_range),
14449 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
14450 (gst_value_deserialize_boolean),
14451 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
14452 (gst_value_serialize_float), (gst_value_deserialize_float),
14453 (gst_string_wrap), (gst_value_deserialize_string),
14454 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
14455 (gst_value_union_int_range_int_range),
14456 (gst_value_intersect_int_range_int_range),
14457 (gst_value_intersect_double_range_double_range),
14458 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
14459 (gst_value_subtract_int_range_int_range),
14460 (gst_value_subtract_double_double_range),
14461 (gst_value_subtract_double_range_double_range),
14462 (gst_value_deserialize_fraction):
14464 Use gint, gdouble and gchar in our API instead of int, double and
14465 char (and make usage in gstvalue.c more consistent).
14467 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
14469 * check/Makefile.am:
14470 * libs/gst/controller/Makefile.am:
14471 * libs/gst/dataprotocol/Makefile.am:
14472 fix up Makefile.am and remove GST_ENABLE_NEW
14474 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
14478 * gst/base/Makefile.am:
14479 * gst/check/Makefile.am:
14480 * gst/elements/Makefile.am:
14481 * gst/net/Makefile.am:
14482 update LDFLAGS use some more
14484 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
14486 * common/m4/gst-doc.m4:
14489 2005-11-26 Edward Hervey <edward@fluendo.com>
14491 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
14492 This shouldn't issue a g_warning since it returns NULL if it
14493 couldn't find the plugin, and all functions using this behave
14494 properly on a NULL return. Switching to a GST_WARNING.
14496 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
14498 * gst/gstbin.c: (gst_bin_handle_message_func):
14499 Don't leak clock messages.
14501 2005-11-25 Wim Taymans <wim@fluendo.com>
14503 * gst/gstutils.c: (gst_util_uint64_scale_int64),
14504 (gst_util_uint64_scale_int):
14505 Optimisations, remove unneeded vars.
14507 2005-11-25 Wim Taymans <wim@fluendo.com>
14509 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14510 Added more checks for the high precision uint64 cases.
14512 * gst/gstutils.c: (gst_util_uint64_scale_int64),
14513 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
14514 Implement high precision (guint64 * guint64) / guint64.
14516 2005-11-24 Wim Taymans <wim@fluendo.com>
14518 * gst/base/gstbasesrc.c: (gst_base_src_query):
14519 Fix wrong percentage query.
14521 * gst/gstutils.c: (gst_util_uint64_scale),
14522 (gst_util_uint64_scale_int):
14523 Add some more common cases that can be handled
14524 efficiently to _scale.
14526 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
14528 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
14529 (gst_mini_object_suite):
14530 don't use check calls from threads; check probably isn't
14531 threadsafe and using a lock to make it threadsafe would
14532 defeat the purpose of this check
14533 * gst/check/gstcheck.c:
14534 * gst/check/gstcheck.h:
14535 use GST_DEBUG some more
14537 2005-11-24 Wim Taymans <wim@fluendo.com>
14539 * gst/gstutils.c: (gst_util_uint64_scale),
14540 (gst_util_uint64_scale_int):
14541 Chain trivial case to _scale_int.
14543 2005-11-24 Wim Taymans <wim@fluendo.com>
14545 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14546 Added test for scaling.
14551 * gst/gstutils.c: (gst_util_uint64_scale_int):
14552 Implemented high precision scaling code.
14554 2005-11-24 Stefan Kost <ensonic@users.sf.net>
14557 do not crash on pad==NULL
14559 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
14561 Patch by: Stefan Kost
14563 * common/gtk-doc.mak:
14564 * docs/gst/Makefile.am:
14565 * docs/libs/Makefile.am:
14566 Fix distcheck issues for the libraries docs build
14569 2005-11-24 Michael Smith <msmith@fluendo.com>
14571 * docs/manual/basics-helloworld.xml:
14572 Fix bug #315027: memory leak in example code in docs.
14574 2005-11-24 Michael Smith <msmith@fluendo.com>
14576 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14577 Unlock the PREROLL_LOCK in a failure case.
14579 2005-11-24 Wim Taymans <wim@fluendo.com>
14581 * docs/gst/gstreamer-sections.txt:
14582 * gst/base/gstadapter.h:
14583 * gst/base/gstbasesink.h:
14584 * gst/base/gstbasesrc.h:
14585 * gst/base/gstbasetransform.h:
14586 * gst/base/gstpushsrc.h:
14587 * gst/elements/gstfakesink.h:
14588 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
14589 * gst/elements/gstfakesrc.h:
14590 * gst/elements/gstfilesink.h:
14591 * gst/elements/gstfilesrc.h:
14594 * gst/gstbuffer.c: (_gst_buffer_copy):
14597 * gst/gstchildproxy.c:
14599 * gst/gstelement.c:
14600 * gst/gstelementfactory.c:
14601 * gst/gstelementfactory.h:
14603 * gst/gstghostpad.h:
14605 * gst/gstinterface.h:
14606 * gst/gstminiobject.c:
14607 * gst/gstminiobject.h:
14610 * gst/gstpadtemplate.h:
14611 * gst/gstpipeline.h:
14612 * gst/gstpluginfeature.h:
14615 * gst/gsttaglist.c:
14616 * gst/gsttaglist.h:
14617 * gst/gsttagsetter.c:
14618 * gst/gsttagsetter.h:
14621 * gst/gsttypefind.h:
14624 * gst/net/gstnetclientclock.c:
14625 * gst/net/gstnetclientclock.h:
14626 * gst/net/gstnettimepacket.c:
14627 * gst/net/gstnettimeprovider.c:
14628 * gst/net/gstnettimeprovider.h:
14631 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
14633 * configure.ac: back to HEAD
14635 === release 0.9.6 ===
14637 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
14640 releasing 0.9.6, "Always On Time"
14642 2005-11-23 Wim Taymans <wim@fluendo.com>
14644 * docs/gst/gstreamer-sections.txt:
14645 * gst/glib-compat.c:
14646 * gst/gsttagsetter.c:
14648 * gst/net/gstnetclientclock.c:
14649 * gst/net/gstnettimepacket.h:
14652 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
14654 * docs/faq/using.xml:
14655 * docs/libs/tmpl/gstcontrol.sgml:
14656 * docs/manual/advanced-dparams.xml:
14657 * docs/manual/appendix-checklist.xml:
14658 * docs/manual/basics-elements.xml:
14659 * docs/pwg/other-source.xml:
14660 * docs/random/moving-plugins:
14662 * tools/gst-launch.1.in:
14663 remove mentions of sinesrc
14665 2005-11-23 Michael Smith <msmith@fluendo.com>
14667 * docs/gst/gstreamer-sections.txt:
14668 Update for new API and API changes.
14670 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
14672 Documentation typo fix.
14673 * gst/net/gstnettimepacket.c:
14674 Documentation fixes for arguments.
14676 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
14678 * gst/gststructure.c: (gst_structure_get_fraction),
14679 (gst_structure_parse_value),
14680 (gst_structure_fixate_field_nearest_fraction):
14681 * gst/gststructure.h:
14682 * gst/gstutils.c: (gst_util_uint64_scale_int):
14684 * scripts/update-funcnames:
14686 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
14687 Make gst_structure_fixate_field_nearest_fraction take a numerator
14688 and denominator argument instead of a GValue
14689 add gst_structure_get_fraction helper function.
14691 2005-11-23 Wim Taymans <wim@fluendo.com>
14693 * docs/design/part-TODO.txt:
14696 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
14697 * gst/net/gstnetclientclock.h:
14698 Use parent fields for timeout and window_size.
14700 2005-11-23 Andy Wingo <wingo@pobox.com>
14702 * check/net/gstnetclientclock.c (test_functioning): Adjust to
14703 rate_num/rate_denom change.
14705 * gst/net/gstnetclientclock.c
14706 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
14707 OBJECT_LOCK. Don't call add_observation with the lock.
14709 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
14711 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
14713 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
14714 deal with rate as a fraction whose numerator and denominator are
14715 GstClockTime values.
14716 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
14717 master; the other fields are protected by the SLAVE_LOCK.
14718 (do_linear_regression): Note that this must be called with the
14720 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
14721 OBJECT_LOCK. Call set_calibration instead of touching the
14722 variables directly.
14723 (gst_clock_set_property, gst_clock_get_property): Protect
14724 master/slave parameters with the SLAVE_LOCK.
14726 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
14727 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
14728 note that all of the instance variables that add_observation and
14729 the set_master functions use are protected by that lock and not
14731 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
14733 * gst/gstclock.c (gst_clock_add_observation): No longer requires
14734 the caller to take the object lock.
14736 2005-11-23 Wim Taymans <wim@fluendo.com>
14738 * gst/gsterror.c: (_gst_core_errors_init):
14740 Add error for clock stuff.
14742 * gst/gstpipeline.c: (gst_pipeline_change_state),
14743 (gst_pipeline_set_clock):
14744 Post clock error when clock cannot be used in a pipeline.
14746 2005-11-23 Stefan Kost <ensonic@users.sf.net>
14748 * docs/gst/gstreamer-sections.txt:
14749 make two symbols from gstinfo private for the docs
14750 * gst/base/gstcollectpads.h:
14752 fix doc typos, update docs
14754 2005-11-22 Wim Taymans <wim@fluendo.com>
14756 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
14757 (gst_base_sink_wait), (gst_base_sink_do_sync),
14758 (gst_base_sink_handle_event):
14759 * gst/base/gstbasesink.h:
14760 No need to store the clock, the parent element class already
14763 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
14764 Updates for clock_set returning a gboolean
14766 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
14767 (gst_clock_id_wait_async), (gst_clock_class_init),
14768 (gst_clock_init), (gst_clock_finalize),
14769 (gst_clock_get_internal_time), (gst_clock_get_time),
14770 (gst_clock_slave_callback), (gst_clock_set_master),
14771 (gst_clock_get_master), (do_linear_regression),
14772 (gst_clock_add_observation), (gst_clock_set_property),
14773 (gst_clock_get_property):
14775 Implement master/slave. When setting a clock as a slave, a
14776 periodic timeout is scheduled to sample master and slave times.
14777 Then the slave clock is recalibrated to match offset and rate
14778 of the master clock.
14779 Update logging a bit.
14780 Add flag so that a clock can state that is cannot be slaved to
14783 * gst/gstelement.c: (gst_element_set_clock):
14784 * gst/gstelement.h:
14785 The set clock returns a gboolean for when an element cannot
14786 deal with the selected clock in the pipeline.
14788 * gst/gstpipeline.c: (gst_pipeline_change_state),
14789 (gst_pipeline_set_clock):
14790 * gst/gstpipeline.h:
14791 Handle the case where the selected clock cannot be set on
14794 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
14795 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
14796 (gst_net_client_clock_set_property),
14797 (gst_net_client_clock_get_property),
14798 (gst_net_client_clock_observe_times):
14799 * gst/net/gstnetclientclock.h:
14800 Use regression code in GstClock parent, remove duplicated
14803 2005-11-22 Michael Smith <msmith@fluendo.com>
14805 * gst/gstutils.c: (gst_util_clock_time_scale):
14807 * docs/gst/gstreamer-sections.txt:
14808 Rename method to have extra underscore.
14810 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
14812 * gst/elements/Makefile.am:
14813 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
14814 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
14815 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
14816 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
14817 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
14818 * gst/elements/gstfakesrc.h:
14819 * gst/gstqueue.c: (queue_leaky_get_type):
14820 correctly fix GEnumValues so that nick is the short lowercase
14822 * tools/gst-inspect.c: (print_element_properties_info):
14823 also show the nick, since it's useful to use from parse_launch
14827 2005-11-22 Michael Smith <msmith@fluendo.com>
14829 * gst/gstutils.c: (gst_util_clocktime_scale):
14831 * docs/gst/gstreamer-sections.txt:
14832 Add util method for scaling a clocktime by a fraction. Useful
14833 implementation is left as an exercise for the reader.
14835 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14837 * gst/gstvalue.c: (gst_value_collect_fraction_range):
14838 If needed, allocate storage in the destination value during
14841 2005-11-22 Edward Hervey <edward@fluendo.com>
14843 * docs/gst/gstreamer-sections.txt:
14846 * gst/gsturitype.c:
14847 * gst/gsturitype.h:
14848 * gst/gstutils.c: (gst_util_set_object_arg):
14849 * tools/gst-compprep.c: (main):
14850 * tools/gst-inspect.c: (print_element_properties_info):
14851 Removed GstURI, closes bug #321061
14853 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14855 * check/gst/gststructure.c: (GST_START_TEST):
14856 * gst/gststructure.c: (gst_structure_parse_value):
14857 Oops, broke automatic string type parsing.
14858 Add a test to catch it in future.
14860 2005-11-22 Andy Wingo <wingo@pobox.com>
14862 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
14863 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
14864 Actually rename the function implementations. Grr.
14866 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14868 * check/gst/capslist.h:
14870 * check/gst/gststructure.c: (GST_START_TEST),
14871 (gst_structure_suite):
14872 Test automatic value type detection in gst_structure_from_string.
14873 * gst/gststructure.c: (gst_structure_parse_value):
14874 Add fraction as a type we try and guess automatically in
14875 caps/structure strings.
14877 2005-11-22 Andy Wingo <wingo@pobox.com>
14879 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
14881 * gst/gsttagsetter.h:
14882 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
14883 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
14884 (gst_tag_setter_add_tag_valist)
14885 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
14886 _add_values, _add_valist, and _add_valist_values. Since this is an
14887 interface the function suffixes should be more explicit so
14888 language binding don't end up with element.add_valist ->
14889 gst_tag_setter_add_valist, for example. Fixes #322069.
14891 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14893 * check/gst/gstcaps.c: (GST_START_TEST):
14894 Extend caps string tests to check that a caps to string
14895 conversion is reversible and produces the same caps.
14897 * gst/gststructure.c: (gst_structure_value_get_generic_type):
14898 Output "fraction" as the generic type fraction range, so caps
14899 serialisation and deserialisation works.
14900 * check/gst/capslist.h:
14901 * gst/gstvalue.c: (gst_value_deserialize_fraction):
14902 Support 'MIN' and 'MAX' for deserialising fractions.
14904 2005-11-22 Andy Wingo <wingo@pobox.com>
14906 * gst/gstevent.h (gst_event_new_new_segment)
14907 (gst_event_parse_new_segment, gst_event_new_buffer_size)
14908 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
14909 Renamed from *_newsegment, *_buffersize, *_notarget.
14911 * scripts/update-funcnames: New script, performs the changes
14914 2005-11-22 Wim Taymans <wim@fluendo.com>
14916 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14917 Make sure the GstFlowReturn is returned.
14919 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
14920 (gst_bus_add_signal_watch):
14922 add gst_bus_add_signal_watch_full.
14924 * gst/gstplugin.c: (gst_plugin_load_file):
14925 Small style cleanup.
14927 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14929 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
14930 Block the fakesrc srcpad when we send an event, to avoid
14931 contention on the stream_lock causing random test failures.
14933 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14935 * check/gst/gstvalue.c: (GST_START_TEST):
14936 * gst/gstvalue.c: (gst_value_fraction_subtract):
14939 2005-11-22 Stefan Kost <ensonic@users.sf.net>
14942 include "gstchildproxy.h"
14943 * gst/gstchildproxy.h:
14944 * libs/gst/controller/gstcontroller.h:
14945 use G_GNUC_NULL_TERMINATED
14947 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14949 * check/gst/capslist.h:
14950 * check/gst/gstcaps.c: (GST_START_TEST):
14951 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14952 * gst/gststructure.c: (gst_structure_parse_range),
14953 (gst_structure_fixate_field_nearest_fraction):
14954 * gst/gststructure.h:
14955 * gst/gstvalue.c: (gst_value_init_fraction_range),
14956 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
14957 (gst_value_collect_fraction_range),
14958 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
14959 (gst_value_set_fraction_range_full),
14960 (gst_value_get_fraction_range_min),
14961 (gst_value_get_fraction_range_max),
14962 (gst_value_serialize_fraction_range),
14963 (gst_value_transform_fraction_range_string),
14964 (gst_value_compare_fraction_range),
14965 (gst_value_deserialize_fraction_range),
14966 (gst_value_intersect_fraction_fraction_range),
14967 (gst_value_intersect_fraction_range_fraction_range),
14968 (gst_value_subtract_fraction_fraction_range),
14969 (gst_value_subtract_fraction_range_fraction),
14970 (gst_value_subtract_fraction_range_fraction_range),
14971 (gst_value_collect_fraction), (gst_value_fraction_multiply),
14972 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
14973 (gst_value_transform_string_fraction), (_gst_value_initialize):
14975 Implement fraction ranges and extend GstFraction to support
14976 arithmetic subtraction, as well as deserialization from integer
14977 strings such as "100"
14978 Add a testsuite as for int and double range set operations
14980 2005-11-21 Andy Wingo <wingo@pobox.com>
14982 * gst/gsttaglist.h:
14984 * gst/gststructure.h: Add glib-compat.h.
14986 2005-11-21 Wim Taymans <wim@fluendo.com>
14988 * gst/gstbin.c: (gst_bin_change_state_func):
14991 2005-11-21 Wim Taymans <wim@fluendo.com>
14993 * gst/gstsegment.h:
14994 And add a nice define too.
14996 2005-11-21 Wim Taymans <wim@fluendo.com>
14998 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
14999 (gst_segment_new), (gst_segment_free), (gst_segment_init),
15000 (gst_segment_set_duration), (gst_segment_set_last_stop),
15001 (gst_segment_set_seek), (gst_segment_set_newsegment),
15002 (gst_segment_to_stream_time), (gst_segment_to_running_time),
15003 (gst_segment_clip):
15004 * gst/gstsegment.h:
15005 Make binding friendly.
15007 2005-11-21 Andy Wingo <wingo@pobox.com>
15009 * gst/gsttagsetter.h:
15010 * gst/gsttaglist.h:
15011 * gst/gststructure.h:
15013 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
15016 * gst/gsterror.c (_gst_core_errors_init):
15017 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
15020 * gst/Makefile.am (gst_headers): Add glib-compat.h.
15021 (noinst_HEADERS): noinst the -private.
15023 2005-11-21 Michael Smith <msmith@fluendo.com>
15026 * gst/gstregistry.h:
15027 Remove unimplemented declarations for which we can see no sensible
15030 2005-11-21 Andy Wingo <wingo@pobox.com>
15032 * gst/gst.h: Include glib-compat.h.
15034 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
15036 * gst/glib-compat.c: Include the public and the private header.
15038 * gst/glib-compat-private.h: Copied here from glib-compat.h.
15042 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
15044 * check/gst/gstevent.c (create_custom_events): Check that
15045 FLUSH_STOP is serialized.
15047 * check/elements/identity.c (event_func):
15048 * check/elements/fakesrc.c (event_func): No stream lock, the core
15051 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
15052 stream lock taking, yay.
15054 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
15055 ensure that core takes the stream lock.
15057 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
15060 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
15061 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
15062 it already. For the flush start we do take it though so we get the
15063 right preroll state change messages.
15065 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
15066 the stream lock here, the core does it for us.
15068 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
15069 GST_STREAM_GET_LOCK.
15070 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
15071 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
15072 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
15073 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
15074 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
15075 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
15077 * gst/gstpad.c: Update for stream lock name change.
15079 * gst/base/gstbasesink.c: Update for preroll lock name change.
15081 2005-11-21 Wim Taymans <wim@fluendo.com>
15083 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
15084 (gst_clock_get_master):
15086 * gst/gstsystemclock.c: (gst_system_clock_init):
15087 Convert Clock flags to object flags.
15088 Added methods to manage master/slave clocks.
15090 2005-11-21 Wim Taymans <wim@fluendo.com>
15092 * check/gst/gstsegment.c: (GST_START_TEST):
15093 * docs/design/part-TODO.txt:
15094 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15095 (gst_base_sink_event), (gst_base_sink_do_sync),
15096 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
15097 (gst_base_sink_query), (gst_base_sink_change_state):
15098 * gst/base/gstbasesink.h:
15099 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
15100 (gst_base_src_default_newsegment),
15101 (gst_base_src_configure_segment), (gst_base_src_do_seek),
15102 (gst_base_src_get_range), (gst_base_src_loop),
15103 (gst_base_src_change_state):
15104 * gst/base/gstbasesrc.h:
15105 * gst/base/gstbasetransform.c:
15106 (gst_base_transform_prepare_output_buf),
15107 (gst_base_transform_event), (gst_base_transform_change_state):
15108 * gst/base/gstbasetransform.h:
15109 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
15110 (gst_collect_pads_event):
15111 * gst/base/gstcollectpads.h:
15112 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
15113 (gst_fake_src_create):
15114 * gst/elements/gstfakesrc.h:
15115 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
15116 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
15117 (gst_segment_set_last_stop), (gst_segment_set_seek),
15118 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
15119 (gst_segment_to_running_time), (gst_segment_clip):
15120 * gst/gstsegment.h:
15121 More segment updates, replace code in plugins with segment
15124 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
15126 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
15127 Don't ignore sscanf results
15129 2005-11-21 Andy Wingo <wingo@pobox.com>
15131 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
15134 * *.c: Ran scripts/update-macros. Oh yes.
15136 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
15137 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
15140 * scripts/update-macros: New script. Run it on your files to
15141 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
15144 2005-11-21 Stefan Kost <ensonic@users.sf.net>
15146 * docs/gst/Makefile.am:
15147 * docs/gst/gstreamer-docs.sgml:
15148 * docs/gst/gstreamer-sections.txt:
15149 * docs/gst/gstreamer.types:
15151 more docs fixes, add new api to the docs
15153 2005-11-21 Andy Wingo <wingo@pobox.com>
15155 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
15156 state_broadcast call.
15158 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
15160 2005-11-21 Julien MOUTTE <julien@moutte.net>
15162 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
15163 function calls for arrays.
15165 2005-11-21 Stefan Kost <ensonic@users.sf.net>
15167 * docs/random/ensonic/media-device-daemon.txt:
15168 wild idea, can this be done?
15169 * docs/gst/gstreamer-sections.txt:
15174 * gst/gstpluginfeature.c:
15178 doc fixes and additions
15180 2005-11-21 Andy Wingo <wingo@pobox.com>
15182 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
15183 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
15184 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
15185 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
15186 private to the basesrc implementation.
15188 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
15189 behalf of event function if necessary. It should no longer be
15190 necessary to take the stream lock in pad's event functions. Fixes
15193 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
15194 * docs/gst/gstreamer-sections.txt:
15195 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
15196 (gst_structure_fixate_field_nearest_double),
15197 (gst_structure_fixate_field_boolean):
15198 * gst/gststructure.h:
15199 * win32/common/libgstreamer.def:
15200 * win32/gstreamer.def:
15202 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
15205 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
15207 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
15208 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
15209 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
15210 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
15211 (gst_fdsrc_uri_handler_init):
15212 * gst/elements/gstfdsrc.h:
15213 Port fd:// URI handler from 0.8 to fdsrc
15215 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
15217 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
15218 (gst_value_serialize_fourcc):
15220 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
15221 consistent with our other format defines (#320324).
15223 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
15225 * gst/gstvalue.c: (gst_value_is_fixed):
15226 Revert previous commit. Value lists are by definition
15227 not fixed, as they are a list of possible values.
15229 2005-11-21 Andy Wingo <wingo@pobox.com>
15231 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
15232 during the stable series if we need it. Fixes #319178.
15234 * gst/gstevent.c (gst_event_new_filler): Removed.
15236 * check/gst/gstevent.c: Update comment about filler events.
15238 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
15240 * gst/gstvalue.c: (gst_value_is_fixed):
15241 Should handle both value arrays and value lists.
15243 2005-11-21 Andy Wingo <wingo@pobox.com>
15245 patch by: Alessandro Dessina <alessandro nnva org>
15247 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
15248 functions to access arrays. Fixes #321962.
15250 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
15252 * docs/gst/gstreamer.types:
15253 gst_collectpads_get_type => gst_collect_pads_get_type.
15255 * gst/base/gstbasetransform.c:
15256 Remove unused SIGNAL_HANDOFF enum.
15258 2005-11-21 Andy Wingo <wingo@pobox.com>
15260 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
15261 the event type (upstream, downstream, serialized). Renamed
15262 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
15263 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
15264 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
15266 * gst/gstevent.c: Update for new CUSTOM event names.
15268 * check/gst/gstevent.c: Update check for new CUSTOM event names.
15271 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
15274 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
15276 * docs/gst/gstreamer-sections.txt:
15277 * win32/common/libgstbase.def:
15278 * win32/libgstbase.def:
15279 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15280 (gst_collect_pads_class_init), (gst_collect_pads_init),
15281 (gst_collect_pads_finalize), (gst_collect_pads_new),
15282 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
15283 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
15284 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
15285 (gst_collect_pads_start), (gst_collect_pads_stop),
15286 (gst_collect_pads_peek), (gst_collect_pads_pop),
15287 (gst_collect_pads_available), (gst_collect_pads_read),
15288 (gst_collect_pads_flush), (gst_collect_pads_event),
15289 (gst_collect_pads_chain):
15290 * gst/base/gstcollectpads.h:
15291 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
15292 unimplemented functions as unimplemented. Add padding to
15293 GstCollectData. (#320766, #320423)
15295 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
15297 * gst/gstmessage.c:
15298 Improve docs for DURATION message (usage of duration parameter)
15301 2005-11-20 Wim Taymans <wim@fluendo.com>
15303 * check/Makefile.am:
15304 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
15308 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
15309 (gst_segment_set_seek), (gst_segment_set_newsegment),
15310 (gst_segment_to_stream_time), (gst_segment_to_running_time),
15311 (gst_segment_clip):
15312 * gst/gstsegment.h:
15313 Added segment helper structure and methods. Not fully implemented
15315 Added segment check.
15317 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
15319 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15320 Add a deserialisation test for fractions
15321 * examples/metadata/read-metadata.c: (message_loop),
15322 (make_pipeline), (main):
15323 Fix up metadata reading sample.
15324 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15326 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15327 Don't try and fixate empty caps
15328 * gst/gst_private.h:
15329 Wrap in G_BEGIN_DECLS/G_END_DECLS
15330 * gst/gstvalue.c: (gst_value_collect_fraction),
15331 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
15332 (gst_value_transform_string_fraction),
15333 (gst_value_compare_fraction):
15334 Add some extra guards to ensure that we don't end up
15335 with an invalid denominator of 0 in a gstfraction and
15336 that fractions always get reduced.
15338 2005-11-20 Wim Taymans <wim@fluendo.com>
15340 * docs/gst/gstreamer-sections.txt:
15342 * gst/gstelement.c:
15351 2005-11-20 Wim Taymans <wim@fluendo.com>
15353 * docs/design/part-TODO.txt:
15355 Make a proper enum of the flag.
15357 2005-11-19 Wim Taymans <wim@fluendo.com>
15359 * docs/design/part-TODO.txt:
15360 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
15361 (gst_format_to_quark), (gst_format_register):
15363 * gst/gstquery.c: (_gst_query_initialize),
15364 (gst_query_type_get_name), (gst_query_type_to_quark),
15365 (gst_query_type_register):
15367 Add type to quark and type to string conversions.
15369 2005-11-19 Andy Wingo <wingo@pobox.com>
15371 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
15374 2005-11-19 Wim Taymans <wim@fluendo.com>
15376 * docs/design/part-TODO.txt:
15377 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
15378 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
15379 (gst_bin_handle_message_func):
15381 Make message handling overridable.
15383 2005-11-19 Andy Wingo <wingo@pobox.com>
15385 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
15388 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
15390 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
15391 is a GstClockTime. Fixes #321710.
15393 * gst/gstclock.h (GstClock): Remove offset property. Add
15394 internal_calibration and external_calibration. Fix padding. Pad
15395 also by GstClockTime so we don't run into problems.
15397 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
15398 (gst_clock_get_rate_offset): Remove.
15399 (gst_clock_set_time_adjust): Remove. Fixes #321712.
15402 * gst/gstutils.c (g_static_rec_cond_wait)
15403 (g_static_rec_cond_timed_wait): Removed, no longer needed.
15405 * gst/gstbin.c: Remove terrible continue_state prototype.
15407 * gst/gstelement.h (gst_element_continue_state): Make public.
15409 * gst/gstelement.h:
15410 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
15411 by continue_state. Fixes #319389.
15413 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
15414 Really fixes #168438. However I don't see anywhere where the
15415 filter function is called... stupid GStreamer...
15417 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
15418 don't have a dispose function, so it won't get called when the
15419 object is unreffed, but oh well!
15421 * gst/gstindex.c (gst_index_set_filter_full): New API function,
15422 allows a destroy function to be set so user_data can be freed.
15424 (gst_index_set_filter): Call gst_index_set_filter_full.
15426 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
15428 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
15429 string should produce an error, given the lack of a way to
15430 represent NULL strings. Fixes #165650.
15433 * gst/gstvalue.c (gst_value_array_append_value)
15434 (gst_value_array_prepend_value, gst_value_array_get_size)
15435 (gst_value_array_get_value): New API, copied from
15436 gst_value_list_*, only operates on arrays.
15437 (gst_value_list_append_value, gst_value_list_prepend_value)
15438 (gst_value_list_concat, gst_value_list_get_size)
15439 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
15441 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
15442 init_list, because it works on both.
15443 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
15444 (gst_value_copy_list_or_array): Renamed from copy_list.
15445 (gst_value_free_list_or_array): Renamed from free_list.
15446 (gst_value_collect_list_or_array): Renamed from collect_list.
15447 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
15448 (gst_value_list_or_array_peek_pointer): Renamed from
15450 (_gst_value_array_value_table, _gst_value_list_value_table):
15451 Update value table functions.
15452 (gst_value_compare_list_or_array): Renamed from compare_list.
15454 * gsttaglist.h: Whoops, foreach function returns void. Also fix
15457 * gst/gsttaglist.c:
15458 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
15459 GstTagList*. Fixes #143472.
15461 * gst/gststructure.h: Clarify what the foreach/map functions can
15462 or can't do to their arguments.
15464 2005-11-18 Wim Taymans <wim@fluendo.com>
15466 * gst/gstclock.c: (gst_clock_set_calibration),
15467 (gst_clock_get_calibration):
15469 Calibration can be set with internal time equal to current
15472 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
15478 2005-11-18 Andy Wingo <wingo@pobox.com>
15481 * pkgconfig/gstreamer-net.pc.in:
15482 * pkgconfig/gstreamer-net-uninstalled.pc.in:
15483 * pkgconfig/Makefile.am: Add net pkgconfig files.
15485 2005-11-18 Stefan Kost <ensonic@users.sf.net>
15488 * gst/gstghostpad.c:
15494 2005-11-18 Andy Wingo <wingo@pobox.com>
15496 * gst/net/gstnetclientclock.c: Turn off debugging.
15498 * check/net/gstnetclientclock.c (test_functioning): Assert that the
15499 times connverge somewhat. Can't make a real test.
15501 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
15502 integer arithmetic. Return the minimum of the domain, which can be
15503 set as "internal" for gst_clock_set_calibration.
15504 (gst_net_client_clock_observe_times): Call _set_calibration.
15505 (gst_net_client_clock_new): Call _set_calibration instead of
15508 * check/net/gstnetclientclock.c (test_functioning): Use the right
15512 * gst/gstclock.c (gst_clock_get_calibration)
15513 (gst_clock_set_calibration): New functions, obsolete the ones I
15514 added yesterday. Doh. Precision issues mean we have to extrapolate
15515 from a point in the more recent past than 1970.
15516 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
15518 (gst_clock_adjust_unlocked): Use the right calibration data.
15520 2005-11-18 Edward Hervey <edward@fluendo.com>
15522 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
15523 Also reset the ->current_* values in READY->PAUSED
15525 2005-11-18 Andy Wingo <wingo@pobox.com>
15527 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
15528 Whoops, check the right fd. Also add some debugging.
15529 (gst_net_client_clock_observe_times): Adjust for int64 offset.
15530 (do_linear_regression): Add a crapload of debugging. Subtract off
15531 the minimum values from the input series to discard unneeded bits.
15532 Use only int arithmetic. There is still double arithmetic when
15533 calculating the intercept that needs fixing. Return boolean to
15534 indicate success; FALSE would mean the domain or range is too
15535 great. Still needs fixes.
15537 2005-11-18 Wim Taymans <wim@fluendo.com>
15539 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
15540 For the current position in stream time, we need to subtract
15543 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
15544 Release lock before calling the callback function of async
15547 2005-11-18 Andy Wingo <wingo@pobox.com>
15549 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
15550 Port goes all the way to MAXUINT16.
15552 * gst/net/gstnettimeprovider.c: Make the port range the same as
15553 for the kernel: 0 assigns, otherwise ports are less than
15556 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
15559 * check/net/gstnetclientclock.c (test_functioning): Add the start
15562 2005-11-18 Wim Taymans <wim@fluendo.com>
15564 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
15565 (gst_bin_remove_func), (bin_bus_handler):
15567 Removing a clock provider from a bin, triggers a clock lost message
15568 so that a new clock will be selected.
15569 Adding a clock to a bin triggers a clock provider message.
15570 Make sure we reselect a clock when we received a clock lost message.
15571 Keep a reference to the element that provided the clock.
15573 2005-11-18 Andy Wingo <wingo@pobox.com>
15575 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
15576 the clock initially so it produces values around the base time.
15577 (gst_net_client_clock_class_init): Typo fix.
15578 (gst_net_client_clock_thread): Add note on when the socket gets
15581 2005-11-17 Wim Taymans <wim@fluendo.com>
15583 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
15584 Free remote and local time arrays.
15586 2005-11-17 Wim Taymans <wim@fluendo.com>
15588 * gst/net/gstnetclientclock.c: (do_linear_regression),
15589 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
15590 Fix compilation, uninitialized vars and a forgotten continue.
15592 2005-11-17 Andy Wingo <wingo@pobox.com>
15594 * check/Makefile.am (check_PROGRAMS):
15595 * check/net/gstnetclientclock.c: Add a most minimal test for the
15596 net client clock. More to come later.
15598 * gst/net/gstnet.h:
15599 * gst/net/Makefile.am: Add netclientclock.
15601 * gst/net/gstnetclientclock.h:
15602 * gst/net/gstnetclientclock.c: New files, implement an untested
15603 GstClock that takes its time from a network time provider.
15604 Implements the algorithm in network-clock.scm.
15606 * tests/network-clock.scm (*window-size*): Rename from
15608 * tests/network-clock.scm (network-time):
15609 * tests/network-clock-utils.scm (q-push): Update callers.
15611 2005-11-17 Wim Taymans <wim@fluendo.com>
15613 * gst/gstbin.c: (gst_bin_provide_clock_func),
15614 (gst_bin_sort_iterator_new):
15615 And unref the child too..
15617 2005-11-17 Wim Taymans <wim@fluendo.com>
15619 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15620 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
15621 Refactor the sort iterator so it can be used while holding the
15623 Make clock selection select a clock closest to the source.
15625 2005-11-17 Michael Smith <msmith@fluendo.com>
15627 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
15628 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
15630 Anonymous structs are a gcc (and some other compilers) extension, so
15631 don't use them. Since this is only for ABI-compatibility, and our
15632 API/ABI freeze is over in a few days, this whole thing will only
15633 last a few days, so don't bother trying to think up a meaningful
15634 name for the struct.
15636 2005-11-17 Andy Wingo <wingo@pobox.com>
15638 * gst/gstclock.h (GstClock): Add rate and offset properties,
15639 preserving ABI stability. Add rate/offset accessors. Will file bug
15640 for the freeze break.
15642 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
15643 and offset, trying to keep precision and avoiding
15644 underflow/overflow.
15645 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
15646 functions. Make gst_clock_set_time_adjust obsolete.
15647 (gst_clock_set_time_adjust): Note that this function is obsolete.
15648 Will file bug soon.
15650 * gst/base/gstbasetransform.h: Make the ABI-stability hack
15651 greppable by using GST_PADDING-1+1.
15653 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
15655 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
15657 * gst/gstmessage.c: (gst_message_parse_clock_lost):
15658 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
15660 * gst/gstpadtemplate.h:
15661 * gst/gstpluginfeature.h:
15662 Don't use c++ style comments in headers (#321638).
15664 2005-11-16 Andy Wingo <wingo@pobox.com>
15666 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
15669 * check/net/gstnettimeprovider.c: Check to see that the time
15670 provider actually provides times. Works, yo!
15672 2005-11-16 Wim Taymans <wim@fluendo.com>
15674 * check/Makefile.am:
15677 * check/elements/fakesrc.c: (GST_START_TEST):
15678 Set element to NULL before disposing it.
15680 2005-11-16 Andy Wingo <wingo@pobox.com>
15682 * gst/net/Makefile.am:
15683 * gst/net/gstnet.h:
15684 * gst/net/gstnettimeprovider.c:
15685 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
15686 provider, include it from gstnet.h, and add it to the build.
15688 * gst/net/gstnettimepacket.h:
15689 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
15690 sending and receiving.
15692 2005-11-16 Wim Taymans <wim@fluendo.com>
15694 * check/Makefile.am:
15695 Enable valgrind check.
15697 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
15698 (gst_fake_src_alloc_buffer):
15701 2005-11-16 Wim Taymans <wim@fluendo.com>
15703 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
15704 Call parent finalize too.
15706 2005-11-16 Wim Taymans <wim@fluendo.com>
15708 * check/Makefile.am:
15709 Enable valgrind check that should work fine now.
15711 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15712 * gst/gstqueue.c: (gst_queue_init):
15713 Fix memleaks in pad allocation.
15715 2005-11-16 Andy Wingo <wingo@pobox.com>
15717 * gst/net/Makefile.am:
15718 * gst/net/gstnet.h: New part of core to hold network elements and
15719 objects. Put in core because it exposes API that applications want
15720 to use. The library is named libgstnet-tempname right now because
15721 of the existing libgstnet in gst-plugins-base. Solution is
15722 probably to rename the one in plugins-base; will file a bug for
15725 * gst/net/gstnettimeprovider.c:
15726 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
15727 get_time call over the network.
15730 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
15732 * check/Makefile.am:
15733 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
15734 get additions shortly.
15736 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15738 * gst/gstpad.c: (gst_pad_new_from_static_template):
15740 add gst_pad_new_from_static_template functions
15741 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
15742 (gst_check_setup_sink_pad):
15743 * gst/elements/gsttee.c: (gst_tee_init):
15746 2005-11-16 Wim Taymans <wim@fluendo.com>
15748 * gst/gstpad.c: (gst_pad_pause_task):
15749 Removed warning, it's not really an error either.
15751 2005-11-16 Wim Taymans <wim@fluendo.com>
15753 * gst/base/gstbasetransform.c:
15754 (gst_base_transform_prepare_output_buf),
15755 (gst_base_transform_event):
15756 Check if the caps are NULL, this can happen if the element
15757 is shutting down and the pad caps are set to NULL.
15759 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15761 * gst/elements/gsttee.c: (gst_tee_init):
15762 fix pad template leak in tee
15764 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15766 * gst/glib-compat.c: (g_value_dup_gst_object):
15767 * gst/glib-compat.h:
15768 * gst/gstpad.c: (gst_pad_set_property):
15769 use gst_object_ref when setting the pad template; this will
15770 trigger the pad template leaks on GLib 2.6 and the slaves
15772 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15774 * gst/glib-compat.c: (gst_flags_get_first_value):
15775 * gst/glib-compat.h:
15776 * gst/gstregistryxml.c:
15777 remove functions copied from GLib 2.6
15779 2005-11-16 Michael Smith <msmith@fluendo.com>
15782 Don't link against VALGRIND_LIBS. That was always the wrong thing to
15783 do, but only breaks with newer valgrind versions. We're not a
15784 valgrind tool, we have no link-time dependencies on libcoregrind.
15786 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15788 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15790 * gst/gstmessage.h:
15793 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15795 * gst/base/gstbasesrc.c: (gst_base_src_init):
15796 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15797 * gst/gstqueue.c: (gst_queue_init):
15798 * gst/gstregistryxml.c: (load_feature):
15799 Revert all these unrefs, they don't even pass make check !
15801 2005-11-15 Johan Dahlin <johan@gnome.org>
15803 * gst/base/gstbasesrc.c: (gst_base_src_init):
15804 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15805 * gst/gstqueue.c: (gst_queue_init):
15806 Free pad templates, fixes a couple of leaks.
15808 2005-11-15 Daniel Fischer <dan at f3c dot com>
15810 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
15812 * gst/gstpad.c: (gst_pad_get_property):
15813 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
15814 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
15817 2005-11-15 Wim Taymans <wim@fluendo.com>
15822 2005-11-15 Andy Wingo <wingo@pobox.com>
15824 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
15826 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
15827 using GST_CLOCK_TIME_NONE to disable base time management.
15828 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
15829 time if it was NONE before.
15830 (gst_pipeline_change_state): Only munge the base time if
15831 stream_time != GST_CLOCK_TIME_NONE.
15833 * check/gst/gstpipeline.c (test_base_time): Punt around the
15834 problem of the probe not being called, because that's not the
15835 issue I'm looking at. Add a check that setting stream_time to NONE
15836 disables base time management.
15838 2005-11-15 Wim Taymans <wim@fluendo.com>
15840 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
15841 segment_stop == -1 at startup.
15843 * gst/base/gstbasetransform.c: (gst_base_transform_event),
15844 (gst_base_transform_change_state):
15845 Init segment values at start.
15847 2005-11-15 Wim Taymans <wim@fluendo.com>
15849 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15850 0 segment values are 0 in any format.
15852 * gst/base/gstbasetransform.c: (gst_base_transform_event):
15853 * gst/base/gstbasetransform.h:
15854 Parse newsegment correctly in basetransform
15856 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
15857 Sync to clock using updated segment values.
15859 2005-11-15 Andy Wingo <wingo@pobox.com>
15861 * check/gst/gstpipeline.c (test_base_time): Add check that the
15862 base time and stream time are reset correctly.
15864 2005-11-15 Wim Taymans <wim@fluendo.com>
15866 * docs/design/part-TODO.txt:
15867 Some more TODO items.
15869 2005-11-15 Andy Wingo <wingo@pobox.com>
15871 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
15872 error if the user selected "no clock" as the clocking method.
15874 * check/gst/gstpipeline.c (test_base_time): New test for buffer
15875 timestamps with live capture.
15877 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
15878 is 0 but we are a live source, timestamp the buffers using the
15881 2005-11-14 Stefan Kost <ensonic@users.sf.net>
15883 * docs/gst/gstreamer-sections.txt:
15885 * gst/gstghostpad.c:
15890 2005-11-14 Wim Taymans <wim@fluendo.com>
15893 add suppressions from Wim's Debian machine
15895 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
15898 add suppressions from Andy's AMD64 Ubuntu machine
15900 2005-11-14 Andy Wingo <wingo@pobox.com>
15902 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
15903 STATE_LOCK not necessary. Fixes #311489.
15905 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
15908 * gst/gstindex.c (gst_index_add_object): Note in the docs that
15909 this function is not implemented.
15911 2005-11-14 Julien MOUTTE <julien@moutte.net>
15913 * gst/base/gstbasetransform.c:
15914 (gst_base_transform_prepare_output_buf):
15915 Ref the source pad caps while we need them.
15918 2005-11-11 Wim Taymans <wim@fluendo.com>
15920 * docs/gst/gstreamer-sections.txt:
15921 Added some docs for GstCollectData.
15923 * gst/base/gstadapter.c:
15924 Some small code example fix.
15926 * gst/base/gstcollectpads.c:
15927 * gst/base/gstcollectpads.h:
15928 Document some more.
15930 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
15932 * configure.ac: back to HEAD
15934 === release 0.9.5 ===
15936 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
15939 releasing 0.9.5, "Bike Lunch Day"
15941 2005-11-11 Wim Taymans <wim@fluendo.com>
15943 * gst/gstbuffer.c: (_gst_buffer_copy):
15946 * gst/gstcaps.c: (gst_caps_is_equal):
15948 Make _is_equal fast in the trivial cases.
15950 * gst/gstminiobject.c:
15951 * gst/gstminiobject.h:
15952 More docs. Spifify .h file.
15957 2005-11-11 Wim Taymans <wim@fluendo.com>
15959 * gst/base/gstbasetransform.c:
15960 (gst_base_transform_prepare_output_buf),
15961 (gst_base_transform_handle_buffer):
15963 If we're processing a buffer and need to allocate an output
15964 buffer, we cannot accept a format change. If we did get a
15965 format change, we have to alloc a buffer ourselves of the
15968 2005-11-11 Wim Taymans <wim@fluendo.com>
15970 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
15971 While checking the flag for reentrancy in the gstcaps function
15972 is nice to detect recursive invocations, it also makes it
15973 impossible to call getcaps from multiple threads, which must be
15974 possible. So, checking for recursive calls has to go.
15976 2005-11-11 Michael Smith <msmith@fluendo.com>
15978 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15979 Don't sync on buffers that fall partially outside our current
15980 segment. Prevents an assertion failure/abort playing some files.
15982 2005-11-10 Andy Wingo <wingo@pobox.com>
15984 * check/gst/gstbin.c (test_message_state_changed_children): Style
15987 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
15988 gst_bus_poll with the signal watch. Ensures that poll and a signal
15989 watch see the same messages.
15991 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
15992 a poll and a watch at the same time get the same messages.
15994 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
15996 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
15997 * gst/gstcaps.c: (gst_caps_intersect):
15998 Don't call gst_caps_do_simplify - it doesn't respect order of caps
15999 and it's not needed.
16001 2005-11-10 Wim Taymans <wim@fluendo.com>
16003 * docs/design/part-TODO.txt:
16006 2005-11-10 Wim Taymans <wim@fluendo.com>
16008 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16009 * gst/base/gstbasesrc.c: (gst_base_src_wait),
16010 (gst_base_src_do_sync), (gst_base_src_get_range):
16011 Implement clock sync in base class.
16013 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
16015 patch by: Tim-Philipp Müller <tim at centricular dot net>
16017 * gst/gststructure.c: (gst_structure_parse_field),
16018 (gst_structure_from_string):
16019 Forward-port a 0.8 patch to handle escaped spaces in structure string,
16020 so that gst_parse_launch() can deal with spaces in filtered link
16021 caps (fixes #164479)
16022 * check/gst/capslist.h:
16023 * check/gst/gststructure.c: (GST_START_TEST):
16024 add unit tests for this change
16026 2005-11-10 Wim Taymans <wim@fluendo.com>
16028 * docs/gst/gstreamer-sections.txt:
16029 * gst/gstelement.c:
16030 * gst/gstelement.h:
16031 Fix docs, move some STATE macros to private.
16033 2005-11-10 Wim Taymans <wim@fluendo.com>
16035 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
16036 Added check for bug #317341
16040 Some more spiffifying.
16042 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
16043 Call peer linkfunction if we are a source pad. Totally fixes
16047 Update docs, source pads should call the peer linkfunction
16048 so they can atomically perform the pad link.
16050 2005-11-09 Wim Taymans <wim@fluendo.com>
16054 Uber-spiffy-spiffify some more.
16056 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
16058 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
16059 * gst/elements/gstfilesink.c: (gst_file_sink_init):
16060 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
16061 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
16062 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
16063 * gst/gstpad.c: (gst_pad_init):
16064 Use GST_DEBUG_FUNCPTR() more extensively.
16066 2005-11-09 Wim Taymans <wim@fluendo.com>
16068 * gst/gstobject.c: (gst_object_class_init):
16070 Documentation fixes.
16072 2005-11-09 Edward Hervey <edward@fluendo.com>
16074 * gst/gsttypefindfactory.c:
16077 2005-11-09 Edward Hervey <edward@fluendo.com>
16079 * gst/base/gsttypefindhelper.c:
16080 * gst/gsttypefind.c:
16081 * gst/gsttypefind.h:
16084 2005-11-09 Wim Taymans <wim@fluendo.com>
16086 * gst/gstiterator.c:
16093 2005-11-09 Wim Taymans <wim@fluendo.com>
16099 2005-11-09 Wim Taymans <wim@fluendo.com>
16101 * docs/gst/gstreamer-sections.txt:
16102 Moved the message async delivery private lock and cond
16103 to the private section.
16105 * gst/gstmessage.c:
16106 * gst/gstmessage.h:
16109 2005-11-09 Edward Hervey <edward@fluendo.com>
16111 * docs/gst/gstreamer-sections.txt:
16114 Document GstURIHandler
16116 2005-11-09 Wim Taymans <wim@fluendo.com>
16118 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
16119 (gst_iterator_find_custom):
16120 * gst/gstiterator.h:
16123 2005-11-09 Wim Taymans <wim@fluendo.com>
16126 Document another field.
16128 * gst/gststructure.c:
16129 * gst/gststructure.h:
16132 2005-11-09 Wim Taymans <wim@fluendo.com>
16135 Documented structs.
16137 2005-11-09 Wim Taymans <wim@fluendo.com>
16139 * docs/gst/gstreamer-sections.txt:
16140 Added some new macros.
16147 2005-11-09 Wim Taymans <wim@fluendo.com>
16149 * docs/design/part-TODO.txt:
16150 Some more items for the TODO
16156 2005-11-09 Andy Wingo <wingo@pobox.com>
16158 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
16159 to work on something else now tho...
16161 * gst/base/gstadapter.c: More adapter docs.
16163 * gst/elements/gstfilesink.c (gst_file_sink_start)
16164 (gst_file_sink_stop): New functions, replace the state change
16166 (gst_file_sink_class_init): Hook up the start and stop functions.
16167 (gst_file_sink_base_init): Don't set the state change handler any
16168 more. It was a bit ugly too, being set from here...
16169 (gst_file_sink_get_property, gst_file_sink_set_property):
16171 (gst_file_sink_set_location): More robust check that doesn't call
16172 GST_STATE. Ugggggg.
16174 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
16176 * gst/base/gstbasetransform.c: (gst_base_transform_event):
16177 Hold STREAM_LOCK while pushing newsegment or tag events as well.
16179 2005-11-08 Wim Taymans <wim@fluendo.com>
16181 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16182 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
16183 (gst_base_sink_chain), (gst_base_sink_change_state):
16184 * gst/base/gstbasesink.h:
16185 * gst/base/gstbasesrc.h:
16186 * gst/gstelement.h:
16188 Avoid excessive typechecking in macros.
16190 * gst/gstminiobject.c: (gst_mini_object_get_type),
16191 (gst_mini_object_init), (gst_mini_object_new),
16192 (gst_mini_object_free):
16193 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
16194 (gst_object_finalize):
16195 Remove cruft code, optimize alloc_trace.
16197 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
16199 * docs/faq/gst-uninstalled:
16200 fix up PS1 for systems that try to reset it
16202 2005-11-07 Wim Taymans <wim@fluendo.com>
16204 * gst/base/gstbasesrc.c: (gst_base_src_init),
16205 (gst_base_src_get_range):
16206 Set the segment_end to -1 initially. Fixed typefind.
16208 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
16210 * gst/base/gstadapter.c:
16211 Debug category should be 'adapter', not 'GstAdapter'.
16213 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
16214 (gst_collectpads_class_init), (gst_collectpads_init),
16215 (gst_collectpads_peek), (gst_collectpads_pop),
16216 (gst_collectpads_event), (gst_collectpads_chain):
16217 Add debug category and some debugging output. Use boilerplate
16218 macros. Remove some extraneous words from docs.
16220 2005-11-05 Andy Wingo <wingo@pobox.com>
16222 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
16225 2005-11-04 Stefan Kost <ensonic@users.sf.net>
16227 * docs/gst/gstreamer-sections.txt:
16230 * gst/gstminiobject.h:
16235 2005-11-04 Wim Taymans <wim@fluendo.com>
16237 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
16238 Small update to stop at the configured segment_end
16241 2005-11-04 Stefan Kost <ensonic@users.sf.net>
16243 * gst/gstregistry.c:
16244 * gst/gstregistry.h:
16247 2005-11-04 Edward Hervey <edward@fluendo.com>
16249 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
16250 Check if we are doing a segment seek and have arrived at the
16251 end of that segment.
16253 2005-11-04 Wim Taymans <wim@fluendo.com>
16255 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
16256 Don't leak a mutex unlock in case of an error.
16261 2005-11-04 Wim Taymans <wim@fluendo.com>
16263 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
16265 Get the context to wake up only once.
16267 2005-11-03 Wim Taymans <wim@fluendo.com>
16269 * check/states/sinks.c: (GST_START_TEST):
16270 Uncomment fixed check.
16272 * docs/design/part-TODO.txt:
16275 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16276 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
16277 (gst_base_sink_get_position):
16278 If we are going to PLAYING, post the right pending state
16279 when we post the intermediate paused message.
16281 * gst/gstelement.c: (gst_element_continue_state),
16282 (gst_element_set_state_func), (gst_element_change_state):
16283 Don't post state changes that were between the same state
16284 and were not ASYNC.
16286 2005-11-03 Stefan Kost <ensonic@users.sf.net>
16288 * docs/gst/gstreamer-sections.txt:
16291 * gst/gstminiobject.h:
16294 more docs and doc style fixes
16296 2005-11-03 Stefan Kost <ensonic@users.sf.net>
16298 * docs/gst/gstreamer-sections.txt:
16299 * gst/gstelement.c:
16300 * gst/gstminiobject.c:
16303 2005-11-03 Andy Wingo <wingo@pobox.com>
16305 * check/states/sinks.c (test_livesrc_sink): Add checks that the
16306 state-changed messages actually have the right order and the right
16309 2005-11-03 Wim Taymans <wim@fluendo.com>
16311 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
16312 Added some more checks. Specifically the case where NO_PREROLL
16313 elements are in the pipeline.
16315 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16316 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
16317 (gst_base_sink_get_position):
16318 Post READY->PAUSED state change messages too.
16319 Fix bug where VOID was posted as pending state...
16321 * gst/gstbin.c: (gst_bin_recalc_state):
16322 use _element_continue_state() to continue the state change.
16324 * gst/gstelement.c: (gst_element_continue_state),
16325 (gst_element_commit_state), (gst_element_set_state_func),
16326 (gst_element_change_state), (gst_element_change_state_func):
16327 Lots of state change cleanups, assign the STATE_RETURN in
16328 a new continue_state() function that also propagates the
16329 last return value from a state change to the app.
16330 Update some debug statements with proper category.
16332 2005-11-03 Wim Taymans <wim@fluendo.com>
16334 * docs/design/part-events.txt:
16335 * docs/design/part-gstpipeline.txt:
16336 * docs/design/part-messages.txt:
16337 * docs/design/part-overview.txt:
16338 * docs/design/part-seeking.txt:
16339 * docs/design/part-states.txt:
16340 * docs/design/part-trickmodes.txt:
16341 * docs/manual/advanced-position.xml:
16342 Small docs updates.
16345 People think !! is ugly, this looks better.
16347 * gst/gstpad.c: (gst_pad_set_blocked_async):
16348 Remove !! since it's fixed elsewhere now.
16350 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
16352 * gst/gstminiobject.h:
16354 Add !! to _FLAG_IS_SET macros to make the result boolean.
16356 2005-11-03 Edward Hervey <edward@fluendo.com>
16358 * gst/gstpad.c: (gst_pad_set_blocked_async):
16359 comparing a flag and a gboolean rarely returns coherent results...
16360 Added two characters (!!) to make that work correctly.
16362 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
16364 * gst/gstbus.c: (gst_bus_class_init):
16367 * gst/gstqueue.c: (gst_queue_loop):
16368 Don't assume a miniobject that isn't a buffer is an
16369 event (it could be that there is a refcounting
16370 problem somewhere and the pointer is stale and
16371 refers to an already destroyed miniobject).
16373 2005-11-03 Julien MOUTTE <julien@moutte.net>
16375 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
16377 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
16379 * docs/manual/advanced-position.xml:
16380 Update seek example and explanations to current 0.9 API.
16382 * gst/elements/gsttypefindelement.c:
16383 (gst_type_find_element_activate):
16384 Remove FIXME comment now that the found caps
16387 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
16389 * gst/gstregistryxml.c: (load_feature):
16390 Add another GST_STR_NULL instance
16392 2005-11-02 Edward Hervey <edward@fluendo.com>
16394 * gst/gstpad.c: (handle_pad_block):
16395 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
16397 2005-11-02 Wim Taymans <wim@fluendo.com>
16402 * gst/gstelement.c: (gst_element_commit_state):
16403 Remove unused value.
16405 * gst/gstiterator.c:
16406 Mention that the returned element is reffed in the docs.
16408 2005-11-02 Wim Taymans <wim@fluendo.com>
16410 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
16411 (gst_pad_push), (gst_pad_push_event):
16412 Unlock blocked pads when they are flushed.
16414 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
16417 * docs/gst/gstreamer-sections.txt:
16420 * gst/gstregistry.c: (gst_registry_scan_path_level):
16421 fix for a nasty little missed situation where an installed plug-in
16422 which was in the cache did not get overridden by an uninstalled one
16423 which was earlier in the plugin path because the newly created plugin
16424 for the uninstalled one (not in the registry) didn't get its
16425 ->registered set to TRUE
16427 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
16429 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
16430 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
16431 (gst_collectpads_is_active), (gst_collectpads_collect),
16432 (gst_collectpads_collect_range), (gst_collectpads_start),
16433 (gst_collectpads_stop), (gst_collectpads_peek),
16434 (gst_collectpads_pop), (gst_collectpads_available),
16435 (gst_collectpads_read), (gst_collectpads_flush):
16436 Guard public API with assertions.
16439 Fix docs for gst_pad_set_link_function().
16441 2005-11-02 Johan Dahlin <johan@gnome.org>
16443 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
16444 Unref found_caps after we used it.
16446 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
16448 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
16449 Don't try to ref NULL.
16451 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
16453 * win32/common/config.h.in:
16454 provide a GST_FUNCTION that just gives a string for now
16456 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
16458 * win32/common/gstenumtypes.c: (register_gst_object_flags),
16459 (gst_object_flags_get_type), (register_gst_bin_flags),
16460 (gst_bin_flags_get_type), (register_gst_buffer_flag),
16461 (gst_buffer_flag_get_type), (register_gst_bus_flags),
16462 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
16463 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
16464 (gst_clock_return_get_type), (register_gst_clock_entry_type),
16465 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
16466 (gst_clock_flags_get_type), (register_gst_state),
16467 (gst_state_get_type), (register_gst_state_change_return),
16468 (gst_state_change_return_get_type), (register_gst_state_change),
16469 (gst_state_change_get_type), (register_gst_element_flags),
16470 (gst_element_flags_get_type), (register_gst_core_error),
16471 (gst_core_error_get_type), (register_gst_library_error),
16472 (gst_library_error_get_type), (register_gst_resource_error),
16473 (gst_resource_error_get_type), (register_gst_stream_error),
16474 (gst_stream_error_get_type), (register_gst_event_type),
16475 (gst_event_type_get_type), (register_gst_seek_type),
16476 (gst_seek_type_get_type), (register_gst_seek_flags),
16477 (gst_seek_flags_get_type), (register_gst_format),
16478 (gst_format_get_type), (register_gst_index_certainty),
16479 (gst_index_certainty_get_type), (register_gst_index_entry_type),
16480 (gst_index_entry_type_get_type),
16481 (register_gst_index_lookup_method),
16482 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
16483 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
16484 (gst_index_resolver_method_get_type), (register_gst_index_flags),
16485 (gst_index_flags_get_type), (register_gst_debug_level),
16486 (gst_debug_level_get_type), (register_gst_debug_color_flags),
16487 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
16488 (gst_iterator_result_get_type), (register_gst_iterator_item),
16489 (gst_iterator_item_get_type), (register_gst_message_type),
16490 (gst_message_type_get_type), (register_gst_mini_object_flags),
16491 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
16492 (gst_pad_link_return_get_type), (register_gst_flow_return),
16493 (gst_flow_return_get_type), (register_gst_activate_mode),
16494 (gst_activate_mode_get_type), (register_gst_pad_direction),
16495 (gst_pad_direction_get_type), (register_gst_pad_flags),
16496 (gst_pad_flags_get_type), (register_gst_pad_presence),
16497 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
16498 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
16499 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
16500 (gst_plugin_error_get_type), (register_gst_plugin_flags),
16501 (gst_plugin_flags_get_type), (register_gst_rank),
16502 (gst_rank_get_type), (register_gst_query_type),
16503 (gst_query_type_get_type), (register_gst_tag_merge_mode),
16504 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
16505 (gst_tag_flag_get_type), (register_gst_task_state),
16506 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
16507 (gst_alloc_trace_flags_get_type),
16508 (register_gst_type_find_probability),
16509 (gst_type_find_probability_get_type), (register_gst_uri_type),
16510 (gst_uri_type_get_type), (register_gst_parse_error),
16511 (gst_parse_error_get_type):
16512 * win32/common/gstversion.h:
16513 update win32 copies
16515 2005-11-01 Luca Ognibene <luogni@tin.it>
16518 fix docs. popt is dead, long live GOption.
16520 2005-10-31 Wim Taymans <wim@fluendo.com>
16525 2005-10-31 Andy Wingo <wingo@pobox.com>
16529 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
16531 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
16532 need to serialize property notifications on GLib 2.8. GLib 2.6 has
16533 the possibility of deadlocks here if code calling notify() or
16534 set() has a lock that can be taken in another notify handler (ABBA
16535 with class lock and e.g. python GIL state lock).
16537 2005-10-28 Julien MOUTTE <julien@moutte.net>
16539 * gst/gstbus.c: Doc updates.
16541 2005-10-28 Wim Taymans <wim@fluendo.com>
16543 * docs/design/part-TODO.txt:
16544 * gst/gstiterator.c:
16545 * gst/gstsystemclock.c:
16546 * gst/gstsystemclock.h:
16549 2005-10-28 Edward Hervey <edward@fluendo.com>
16551 * docs/gst/gstreamer-docs.sgml:
16552 * docs/gst/gstreamer-sections.txt:
16553 the GstURIType documentation page is private, it only defines GstURIType
16554 which should be defined in the GstURIHandler page
16556 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
16558 * gst/gstbin.c: (gst_bin_class_init):
16561 Documentation updates.
16563 2005-10-28 Wim Taymans <wim@fluendo.com>
16565 * docs/gst/gstreamer-sections.txt:
16568 Documented the clocks.
16570 2005-10-28 Stefan Kost <ensonic@users.sf.net>
16572 * docs/gst/gstreamer-sections.txt:
16573 move some macros to private sections
16574 * gst/gstminiobject.c:
16575 * gst/gstminiobject.h:
16576 add descriptions provided by ds and some more
16578 mark macro as to be removed
16580 2005-10-28 Wim Taymans <wim@fluendo.com>
16582 * docs/design/part-TODO.txt:
16583 Add an item to TODO.
16585 * gst/gstiterator.c: (gst_iterator_fold),
16586 (gst_iterator_find_custom):
16587 * gst/gstiterator.h:
16590 2005-10-28 Wim Taymans <wim@fluendo.com>
16592 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16593 (gst_base_transform_init):
16596 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
16597 An EOS event marks the queue as completely filled.
16599 2005-10-27 Wim Taymans <wim@fluendo.com>
16601 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16602 (gst_base_sink_do_sync), (gst_base_sink_get_position):
16603 Some more debugging.
16605 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
16606 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
16607 (gst_base_transform_event), (gst_base_transform_getrange),
16608 (gst_base_transform_chain):
16609 * gst/base/gstbasetransform.h:
16611 Protect transform and concurrent buffer alloc with a new lock.
16612 Try not to break ABI/API.
16614 2005-10-27 Wim Taymans <wim@fluendo.com>
16616 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16617 (gst_base_src_init), (gst_base_src_query),
16618 (gst_base_src_default_newsegment),
16619 (gst_base_src_configure_segment), (gst_base_src_do_seek),
16620 (gst_base_src_send_event), (gst_base_src_event_handler),
16621 (gst_base_src_pad_get_range), (gst_base_src_loop),
16622 (gst_base_src_unlock), (gst_base_src_default_negotiate),
16623 (gst_base_src_start), (gst_base_src_deactivate),
16624 (gst_base_src_activate_push), (gst_base_src_change_state):
16625 Move some stuff around and cleanup things.
16627 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
16629 * gst/base/gstbasesrc.c: (gst_base_src_query):
16630 Add missing break statements.
16632 2005-10-27 Wim Taymans <wim@fluendo.com>
16634 * check/gst/gstbin.c: (GST_START_TEST):
16635 An extra refcount is taken in basesrc.
16637 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
16638 (gst_base_src_get_range), (gst_base_src_pad_get_range),
16639 (gst_base_src_loop):
16640 Small cleanups, check for flushing after being unlocked from the
16641 LIVE_LOCK. take refcounts correctly (not yet everywhere).
16642 Don't send out EOS when going to READY.
16644 2005-10-27 Wim Taymans <wim@fluendo.com>
16646 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16647 (gst_base_sink_get_position):
16650 * gst/gstbin.c: (message_check), (bin_replace_message),
16651 (bin_remove_messages), (is_eos), (gst_bin_add_func),
16652 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16653 (bin_query_duration_init), (bin_query_duration_fold),
16654 (bin_query_duration_done), (bin_query_generic_fold),
16656 * tools/gst-launch.c: (main):
16659 2005-10-26 Stefan Kost <ensonic@users.sf.net>
16661 * examples/controller/audio-example.c: (main):
16662 * examples/queue/queue.c: (event_loop):
16663 * gst/base/gstbasetransform.h:
16664 * gst/gstelement.c: (gst_element_send_event):
16666 * gst/gstpad.c: (gst_pad_send_event):
16669 changing log priority in error situations
16671 2005-10-25 Wim Taymans <wim@fluendo.com>
16673 * gst/gstbin.c: (message_check), (bin_replace_message),
16674 (bin_remove_messages), (is_eos), (gst_bin_add_func),
16675 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16676 (bin_query_duration_init), (bin_query_duration_fold),
16677 (bin_query_duration_done), (bin_query_generic_fold),
16679 Some doc and debug updates.
16680 Cache previously requested query DURATION for speed. invalidate
16681 cached duration if element posts a DURATION message.
16683 2005-10-25 Wim Taymans <wim@fluendo.com>
16685 * docs/design/part-TODO.txt:
16688 * gst/gstbin.c: (message_check), (bin_replace_message),
16689 (bin_remove_messages), (is_eos), (gst_bin_add_func),
16690 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16691 (bin_query_duration_init), (bin_query_duration_fold),
16692 (bin_query_duration_done), (bin_query_generic_fold),
16694 Handle SEGMENT_START/DONE messages correctly.
16695 More evolved query algorithm that handles duration queries
16698 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
16699 (gst_element_get_state_func), (gst_element_abort_state),
16700 (gst_element_commit_state), (gst_element_lost_state):
16701 Some more debugging.
16703 * gst/gstmessage.h:
16706 2005-10-25 Wim Taymans <wim@fluendo.com>
16708 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
16709 Don't use invalid stream_time.
16711 * gst/gstevent.c: (gst_event_new_newsegment):
16712 stream_time in newsegment cannot be undefined.
16714 2005-10-24 Wim Taymans <wim@fluendo.com>
16719 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
16721 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
16723 2005-10-24 Stefan Kost <ensonic@users.sf.net>
16725 * docs/libs/tmpl/gstdparam.sgml:
16726 * docs/libs/tmpl/gstdplinint.sgml:
16727 * docs/libs/tmpl/gstdpman.sgml:
16728 * docs/libs/tmpl/gstdpsmooth.sgml:
16729 * docs/libs/tmpl/gstunitconvert.sgml:
16732 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
16737 === release 0.9.4 ===
16739 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
16742 releasing 0.9.4, "Tyrannosaurus Rex"
16744 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
16746 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
16747 (gst_file_sink_get_current_offset):
16748 Use fseeko() and ftello() if available. When falling back on
16749 lseek() to get the current offset, fflush() first to make sure
16750 everything is up-to-date and we get the right offset.
16752 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
16754 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16755 * gst/base/gstbasesrc.c: (gst_base_src_loop):
16756 * gst/gsterror.c: (_gst_stream_errors_init):
16758 * gst/gstqueue.c: (gst_queue_loop):
16760 remove prematurely added error category and clean up the instances
16762 2005-10-21 Wim Taymans <wim@fluendo.com>
16764 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16765 (gst_base_sink_get_position), (gst_base_sink_query),
16766 (gst_base_sink_change_state):
16767 Simply set the right flag when going to playing, that's all
16768 we need to do instead of calling a function inside the object
16769 lock (that could take the lock as well and deadlock)
16771 2005-10-21 Wim Taymans <wim@fluendo.com>
16773 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
16774 (gst_base_src_loop):
16775 Don't warn, the peer element knows what to do best when
16776 the seek failed, it might try something else.
16778 2005-10-21 Wim Taymans <wim@fluendo.com>
16780 * gst/base/gstbasesrc.c: (gst_base_src_init),
16781 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
16784 2005-10-21 Wim Taymans <wim@fluendo.com>
16786 * docs/design/part-segments.txt:
16789 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16790 Correctly set caps, even on the subbufer.
16792 2005-10-21 Wim Taymans <wim@fluendo.com>
16794 * docs/gst/gstreamer-docs.sgml:
16795 * docs/gst/gstreamer-sections.txt:
16796 * gst/gstelement.h:
16799 * gst/gstmessage.h:
16802 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
16806 And 2% more doc coverage.
16808 2005-10-21 Andy Wingo <wingo@pobox.com>
16810 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
16811 position reporting.
16813 2005-10-20 Wim Taymans <wim@fluendo.com>
16815 * gst/gsterror.c: (gst_error_get_message):
16818 * gst/gststructure.c:
16823 2005-10-20 Wim Taymans <wim@fluendo.com>
16828 Another 1% more coverage.
16830 2005-10-20 Wim Taymans <wim@fluendo.com>
16832 * docs/gst/gstreamer-sections.txt:
16833 * gst/gstelement.c: (gst_element_get_state_func),
16834 (gst_element_abort_state), (gst_element_commit_state),
16835 (gst_element_lost_state):
16837 * gst/gstquery.c: (gst_query_set_position),
16838 (gst_query_parse_position), (gst_query_set_duration),
16839 (gst_query_parse_duration), (gst_query_new_convert):
16841 Yay! 1% more docs coverage.
16843 2005-10-20 Wim Taymans <wim@fluendo.com>
16846 * gst/gstquery.c: (gst_query_set_position),
16847 (gst_query_parse_position), (gst_query_set_duration),
16848 (gst_query_parse_duration), (gst_query_new_convert):
16850 * gst/gstutils.c: (gst_element_query_convert):
16852 Docs and consistency fixes.
16854 2005-10-20 Wim Taymans <wim@fluendo.com>
16860 2005-10-20 Wim Taymans <wim@fluendo.com>
16862 * gst/gstbin.c: (message_check), (bin_replace_message),
16863 (bin_remove_messages), (is_eos), (gst_bin_add_func),
16864 (update_degree), (gst_bin_sort_iterator_next),
16865 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
16866 Reworked the message handling a bit, cache the messages instead of
16867 only the senders. alows us to do more in the future.
16869 2005-10-20 Wim Taymans <wim@fluendo.com>
16871 * docs/design/part-TODO.txt:
16874 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
16875 (gst_base_sink_query):
16876 Don't use clock time to report position when in EOS.
16878 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
16880 * tools/gst-inspect.c: (print_interfaces),
16881 (print_element_properties_info), (print_element_info):
16882 Fix interface output with gst-inspect -a; don't print
16883 newlines after double/float properties.
16885 2005-10-20 Wim Taymans <wim@fluendo.com>
16887 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
16888 (gst_base_sink_query):
16889 Speed up current position calculation.
16891 * gst/base/gstbasesrc.c: (gst_base_src_query),
16892 (gst_base_src_default_newsegment):
16893 Correctly set stream position in newsegment.
16895 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
16896 (update_degree), (gst_bin_sort_iterator_next),
16897 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
16898 * gst/gstmessage.c: (gst_message_new_custom):
16899 Clean up debugging info
16901 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
16902 (gst_queue_loop), (gst_queue_handle_src_query):
16905 2005-10-19 Wim Taymans <wim@fluendo.com>
16907 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16908 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
16909 Fix query handling again.
16911 2005-10-19 Wim Taymans <wim@fluendo.com>
16913 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16914 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
16915 * gst/base/gstbasesrc.c: (gst_base_src_query):
16916 * gst/elements/gstfilesink.c: (gst_file_sink_query):
16917 * gst/elements/gsttypefindelement.c:
16918 (gst_type_find_handle_src_query), (find_element_get_length),
16919 (gst_type_find_element_activate):
16922 * gst/gstquery.c: (gst_query_new_position),
16923 (gst_query_set_position), (gst_query_parse_position),
16924 (gst_query_new_duration), (gst_query_set_duration),
16925 (gst_query_parse_duration), (gst_query_set_segment),
16926 (gst_query_parse_segment):
16928 Bundling query position/duration is not a good idea since duration
16929 does not change much and we don't want to recalculate it for every
16930 position query, so they are separated again..
16931 Base value in segment query is not needed.
16933 * gst/gstqueue.c: (gst_queue_handle_src_query):
16934 * gst/gstutils.c: (gst_element_query_position),
16935 (gst_element_query_duration), (gst_pad_query_position),
16936 (gst_pad_query_duration):
16938 Updates for query API change.
16939 Added some docs here and there.
16941 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
16943 * check/gst/gstbin.c: (GST_START_TEST):
16944 * check/gst/gstghostpad.c: (GST_START_TEST):
16945 * check/pipelines/cleanup.c: (GST_START_TEST):
16946 wait on thread to die so we can check refcount correctly
16948 2005-10-18 Wim Taymans <wim@fluendo.com>
16950 * check/pipelines/stress.c: (GST_START_TEST):
16951 Make check a little more time consuming.
16953 2005-10-18 Wim Taymans <wim@fluendo.com>
16955 * check/Makefile.am:
16956 * check/pipelines/stress.c: (GST_START_TEST),
16957 (simple_launch_lines_suite), (main):
16958 Small state change torture test.
16960 * docs/design/part-states.txt:
16961 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16962 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
16963 (gst_base_sink_change_state):
16964 Never take state lock from streaming thread, clean up ugly
16965 hacks. Unfortunatly core does not yet support nice ways to
16966 async commit state.
16968 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
16970 Start state recalc if a STATE_DIRTY message is posted, but only
16971 on the toplevel bin.
16973 * gst/gstelement.c: (gst_element_sync_state_with_parent),
16974 (gst_element_get_state_func), (gst_element_abort_state),
16975 (gst_element_commit_state), (gst_element_lost_state),
16976 (gst_element_set_state_func), (gst_element_change_state):
16977 * gst/gstelement.h:
16978 State variables are now protected with the LOCK, the state
16979 lock is only used to serialize _set_state().
16981 2005-10-18 Wim Taymans <wim@fluendo.com>
16983 * check/gst/gstbin.c: (GST_START_TEST):
16984 * check/gst/gstmessage.c: (GST_START_TEST):
16985 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
16986 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
16988 * gst/gstelement.c: (gst_element_abort_state),
16989 (gst_element_commit_state), (gst_element_lost_state):
16990 * gst/gstmessage.c: (gst_message_new_state_changed),
16991 (gst_message_new_state_dirty), (gst_message_new_segment_start),
16992 (gst_message_new_segment_done), (gst_message_new_duration),
16993 (gst_message_parse_state_changed),
16994 (gst_message_parse_segment_start),
16995 (gst_message_parse_segment_done), (gst_message_parse_duration):
16996 * gst/gstmessage.h:
16997 * tools/gst-launch.c: (event_loop):
16998 Seriously, this is better than a previous commit as we only need
16999 to notify the fact that an element changed state in a streaming
17000 thread, marking the state of the parents dirty, hence the
17001 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
17004 2005-10-18 Wim Taymans <wim@fluendo.com>
17006 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
17007 (gst_bin_recalc_func):
17008 * gst/gstelement.c: (gst_element_set_clock),
17009 (gst_element_abort_state), (gst_element_lost_state):
17010 Cleanups, prepare for state change fixes.
17012 2005-10-18 Wim Taymans <wim@fluendo.com>
17015 * gst/gstelement.c: (gst_element_class_init),
17016 (gst_element_set_state), (gst_element_set_state_func):
17017 * gst/gstelement.h:
17018 Pending ABI changes.
17019 GThreadPool in GstBinClass to monitor async state changes.
17020 state_cookie in GstElement to detect concurrent gst/set state.
17021 set_state is now virtual too in case a very complicated element
17022 has to be constructed.
17024 2005-10-18 Wim Taymans <wim@fluendo.com>
17026 * check/gst/gstbin.c: (GST_START_TEST):
17027 * check/gst/gstmessage.c: (GST_START_TEST):
17028 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
17029 * gst/gstbin.c: (bin_bus_handler):
17030 * gst/gstelement.c: (gst_element_commit_state),
17031 (gst_element_lost_state):
17032 * gst/gstmessage.c: (gst_message_new_state_changed),
17033 (gst_message_new_segment_start), (gst_message_new_segment_done),
17034 (gst_message_new_duration), (gst_message_parse_state_changed),
17035 (gst_message_parse_segment_start),
17036 (gst_message_parse_segment_done), (gst_message_parse_duration):
17037 * gst/gstmessage.h:
17038 * tools/gst-launch.c: (event_loop):
17039 Make messages future proof.
17040 state-change gets a flag if it was a message comming from the
17042 segment-start/stop can also be specified in other formats.
17043 A message to notify an app that a pipeline changed playback
17045 Also fix a GstMessage leak in -launch
17047 2005-10-18 Andy Wingo <wingo@pobox.com>
17049 * gst/gstelement.c (gst_element_dispose): More helpful message.
17051 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
17053 reviewed by: <delete if not using a buddy>
17055 * common/gtk-doc.mak:
17057 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
17059 * gst/gstregistry.c: (gst_registry_scan_path_level):
17060 unref a plug-in we get that was already initialized
17062 2005-10-18 Stefan Kost <ensonic@users.sf.net>
17064 * docs/gst/gstreamer-sections.txt:
17065 * docs/libs/gstreamer-libs-sections.txt:
17066 * gst/gstelement.h:
17067 add new api entries
17068 hide internal macro
17070 2005-10-17 Andy Wingo <wingo@pobox.com>
17072 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
17075 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
17077 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
17079 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
17080 (gst_element_get_state_func): Better debug message.
17081 (gst_element_commit_state): s/INFO/DEBUG/.
17082 (gst_element_lost_state, gst_element_change_state):
17084 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
17085 (gst_message_new_custom): s/INFO/LOG/.
17087 2005-10-17 Michael Smith <msmith@fluendo.com>
17089 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
17090 Check if end time is valid using end time, not start time.
17092 2005-10-17 Stefan Kost <ensonic@users.sf.net>
17094 * check/gst-libs/controller.c: (GST_START_TEST),
17095 (gst_controller_suite):
17096 * libs/gst/controller/gstcontroller.c:
17097 (gst_controlled_property_set_interpolation_mode):
17098 * libs/gst/controller/gstcontroller.h:
17099 * libs/gst/controller/gstinterpolation.c:
17100 * testsuite/controller/.cvsignore:
17101 * testsuite/controller/Makefile.am:
17102 * testsuite/controller/interpolator.c:
17103 merge controller testsuites
17105 remove mem-chunk from docs
17107 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
17109 * gst/gstmemchunk.c:
17110 * gst/gstmemchunk.h:
17111 * gst/gsttrashstack.c:
17112 * gst/gsttrashstack.h:
17113 out. get out. you're fired. to the Attic !
17115 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
17117 * gst/gstcaps.c: (gst_caps_intersect):
17118 fix signedness issues in a (hopefully) correct way
17119 * gst/gstelement.c: (gst_element_pads_activate):
17121 * gst/gstobject.c: (gst_object_set_parent):
17124 2005-10-17 Julien MOUTTE <julien@moutte.net>
17126 * gst/gstvalue.h: Fix prototypes.
17128 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
17130 * docs/gst/gstreamer-sections.txt:
17131 * gst/gst.c: (gst_version_string):
17133 * gst/gstversion.h.in:
17134 * win32/common/libgstreamer.def:
17135 add gst_version_string ()
17137 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
17141 * gst/gst.c: (init_post):
17142 * win32/common/config.h.in:
17144 * gst/gstcaps.c: (gst_caps_intersect):
17145 use gint64, the range could be bigger than a guint
17147 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
17150 document potential problem in 2038
17152 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
17154 * gst/gstcaps.c: (gst_caps_intersect):
17155 Fix guint j diving under 0
17157 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
17160 * win32/common/config.h:
17161 * win32/common/config.h.in:
17162 check for process.h, declares getpid() on Windows
17164 include process.h if we have it
17165 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
17166 * gst/gstmemchunk.h:
17167 fix signedness issues
17168 * win32/common/libgstreamer.def:
17171 2005-10-16 Julien MOUTTE <julien@moutte.net>
17173 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
17174 fix. Because of unsigned ints, caps intersection was going nuts and
17175 trying to access structures with G_MAXUINT index. That fixes
17176 videotestsrc ! ffmpegcolorspace ! fakesink
17177 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
17180 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
17183 use the gettext macro
17184 * gst/elements/gstelements.c:
17186 * gst/indexers/gstindexers.c:
17187 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
17188 * win32/common/config.h:
17190 * win32/common/config.h.in:
17191 add the template to generate config.h
17192 * win32/common/gstenumtypes.c:
17193 * win32/common/gstversion.h:
17196 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
17198 * gst/gst.c: (gst_version):
17199 * gst/gstversion.h.in:
17202 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
17205 Oops, add missing closing bracket.
17207 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17210 use common m4's for argument checking
17212 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
17214 * docs/gst/gstreamer-sections.txt:
17216 Add GST_EVENT_TYPE_NAME() macro.
17218 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17221 * gst/gstpluginfeature.c:
17223 privatize more symbols
17225 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17228 add srcdir, builddir includes to GST_ALL_CFLAGS, since
17229 everything that uses GStreamer API should have the includes
17231 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17233 * docs/gst/gstreamer-sections.txt:
17234 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
17236 give each value a _get_type, removes the DATA exports
17238 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17242 remove _gst_registry_auto_load, not used anymore
17243 * gst/gstbin.c: (gst_bin_get_type):
17245 * gst/gstelement.c: (gst_element_get_type):
17246 * gst/gstelement.h:
17247 * gst/gstobject.c: (gst_object_get_type):
17249 * gst/gstpad.c: (gst_pad_get_type):
17251 make _get_type functions similar, fixes data export from library
17253 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17256 correctly make conditionals
17257 * gst/elements/Makefile.am:
17258 * gst/elements/gstelements.c:
17259 fix typo causing fdsrc not to build
17261 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17263 * testsuite/Makefile.am:
17264 * testsuite/bytestream/.cvsignore:
17265 * testsuite/bytestream/Makefile.am:
17266 * testsuite/bytestream/filepadsink.c:
17267 * testsuite/bytestream/gstbstest.c:
17268 * testsuite/bytestream/test1.c:
17269 * testsuite/bytestream/testfile1:
17270 * testsuite/caps/normalisation.c:
17271 * testsuite/caps/random.c: (main):
17272 * testsuite/cleanup/.cvsignore:
17273 * testsuite/cleanup/Makefile.am:
17274 * testsuite/cleanup/cleanup1.c:
17275 * testsuite/cleanup/cleanup2.c:
17276 * testsuite/cleanup/cleanup3.c:
17277 * testsuite/cleanup/cleanup4.c:
17278 * testsuite/cleanup/cleanup5.c:
17279 * testsuite/controller/interpolator.c:
17280 * testsuite/debug/printf_extension.c: (main):
17281 * testsuite/elements/tee.c:
17282 * testsuite/negotiation/.cvsignore:
17283 * testsuite/negotiation/Makefile.am:
17284 * testsuite/negotiation/pad_link.c:
17285 * testsuite/pad/Makefile.am:
17286 * testsuite/pad/chainnopull.c:
17287 * testsuite/pad/getnopush.c:
17288 * testsuite/pad/link.c:
17289 * testsuite/refcounting/sched.c: (create_pipeline):
17290 * testsuite/registry/Makefile.am:
17291 * testsuite/registry/gst-print-formats.c:
17292 * testsuite/schedulers/.cvsignore:
17293 * testsuite/schedulers/142183-2.c:
17294 * testsuite/schedulers/142183.c:
17295 * testsuite/schedulers/143777-2.c:
17296 * testsuite/schedulers/143777.c:
17297 * testsuite/schedulers/147713.c:
17298 * testsuite/schedulers/147819.c:
17299 * testsuite/schedulers/147894-2.c:
17300 * testsuite/schedulers/147894.c:
17301 * testsuite/schedulers/Makefile.am:
17302 * testsuite/schedulers/group_link.c:
17303 * testsuite/schedulers/queue_link.c:
17304 * testsuite/schedulers/relink.c:
17305 * testsuite/schedulers/unlink.c:
17306 * testsuite/schedulers/unref.c:
17307 * testsuite/schedulers/useless_iteration.c:
17308 * testsuite/states/bin.c:
17309 clean out/remove some stuff from the testsuite directories
17311 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17314 check for some headers
17315 * gst/elements/Makefile.am:
17316 * gst/elements/gstelements.c:
17317 don't compile fdsrc without sys/socket.h
17318 * gst/indexers/Makefile.am:
17319 * gst/indexers/gstindexers.c: (plugin_init):
17320 don't compile fileindex without mmap
17322 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17329 * check/Makefile.am:
17330 * docs/gst/Makefile.am:
17331 * examples/helloworld/Makefile.am:
17333 * gst/base/Makefile.am:
17334 * gst/check/Makefile.am:
17335 * gst/elements/Makefile.am:
17336 * gst/indexers/Makefile.am:
17337 * gst/parse/Makefile.am:
17338 * libs/gst/controller/Makefile.am:
17339 * libs/gst/dataprotocol/Makefile.am:
17340 * examples/helloworld/helloworld.c: (event_loop):
17341 compile fixes, though it's not being compiled currently
17343 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
17345 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
17346 Add some simple tests for the new taglist date API.
17348 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
17350 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
17351 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
17352 Beautify 'last-message' output: print 'none' for buffer timestamps
17353 and durations if none is set; improve alignment with next messages.
17355 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
17357 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
17358 * gst/gstpluginfeature.h:
17359 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
17360 * gst/gstregistry.h:
17361 * docs/gst/gstreamer-sections.txt:
17362 Add new API to check plugin feature version requirements.
17364 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
17365 Some basic tests for the above.
17367 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
17369 * gst/gststructure.c: (gst_structure_to_string):
17370 guard against NULL printf - happens when for example
17371 a message structure with GstClock gets serialized
17373 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
17375 * gst/base/gstcollectpads.c: (gst_collectpads_event):
17376 Fix presumable copy'n'pasto.
17378 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
17380 * gst/elements/gstfakesrc.h:
17381 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
17382 * gst/elements/gsttypefindelement.c:
17383 fix some signedness
17384 * gst/elements/gstfilesink.c: (gst_file_sink_render):
17385 I wonder if this could actually write +2GB files before
17387 2005-10-13 Andy Wingo <wingo@pobox.com>
17389 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
17390 Fix Timmeke Waymans bug.
17391 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
17392 string of the proper length to gst_caps_from_string. There's a
17393 potential for, before this fix, that this could cause someone
17394 connecting over the network to cause a segfault if the payload is
17395 not NUL-terminated.
17397 2005-10-13 Stefan Kost <ensonic@users.sf.net>
17399 * docs/design/draft-push-pull.txt:
17400 * docs/design/part-overview.txt:
17401 * docs/random/TODO-pre-0.9:
17402 * docs/random/old/ChangeLog.gstreamer:
17403 * gst/base/gstpushsrc.c:
17407 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
17409 * gst/glib-compat.c: (gst_flags_get_first_value):
17410 * gst/glib-compat.h:
17411 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
17412 (gst_value_compare_double), (gst_value_serialize_flags):
17413 GLib 2.6 g_flags_get_first_value has a bug that triggers an
17416 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
17418 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17419 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
17421 * tools/gst-launch.c: (event_loop):
17422 print out clock nicely
17424 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
17426 * docs/gst/gstreamer-sections.txt:
17427 * gst/gsttaglist.h:
17428 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
17429 (gst_tag_list_get_date_index):
17430 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
17431 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
17433 2005-10-13 Julien MOUTTE <julien@moutte.net>
17435 * gst/base/gstcollectpads.c: (gst_collectpads_event),
17436 (gst_collectpads_chain):
17437 * gst/base/gstcollectpads.h: Handle newsegment and store informations
17440 2005-10-13 Stefan Kost <ensonic@users.sf.net>
17442 * docs/gst/gstreamer-sections.txt:
17445 * tools/gst-inspect.c: (main):
17446 * tools/gst-launch.c: (main):
17447 * tools/gst-run.c: (main):
17448 * tools/gst-xmlinspect.c: (main):
17449 fix GOption context leaks
17452 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
17456 * win32/common/config.h:
17458 * win32/vs6/grammar.dsp:
17459 * win32/vs6/libgstelements.dsp:
17460 * win32/vs6/libgstreamer.dsp:
17463 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
17465 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17466 * gst/base/gstbasesrc.c: (gst_base_src_query):
17467 fix more guint64<->gdouble conversions
17469 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
17472 add win32-update target
17473 * win32/common/gstconfig.h:
17474 * win32/common/gstenumtypes.c:
17475 * win32/common/gstenumtypes.h:
17476 * win32/common/gstversion.h:
17477 add files that visual studio can't generate
17479 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
17482 add a win32-update target
17485 2005-10-12 Wim Taymans <wim@fluendo.com>
17487 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
17488 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
17489 * gst/gstelement.c: (gst_element_commit_state),
17490 (gst_element_set_state):
17491 Protect flags with proper lock.
17492 unref provided cached clock in dispose.
17494 2005-10-12 Stefan Kost <ensonic@users.sf.net>
17497 * gst/gstminiobject.h:
17499 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
17500 removed unused flags from miniobject
17503 2005-10-12 Wim Taymans <wim@fluendo.com>
17505 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
17506 (gst_file_sink_event), (gst_file_sink_render):
17507 Flush before seeking.
17509 2005-10-12 Andy Wingo <wingo@pobox.com>
17511 * gst/gst.c (gst_init_check): Ignore unknown options, as has
17512 always been the case.
17514 2005-10-12 Stefan Kost <ensonic@users.sf.net>
17516 * check/gst/gstbin.c: (GST_START_TEST):
17517 * docs/gst/gstreamer-sections.txt:
17518 * gst/base/gstbasesink.c: (gst_base_sink_init):
17519 * gst/base/gstbasesrc.c: (gst_base_src_init),
17520 (gst_base_src_get_range), (gst_base_src_check_get_range),
17521 (gst_base_src_start), (gst_base_src_stop):
17522 * gst/base/gstbasesrc.h:
17523 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
17524 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
17525 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
17529 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
17531 * gst/gstelement.c: (gst_element_is_locked_state),
17532 (gst_element_set_locked_state), (gst_element_commit_state),
17533 (gst_element_set_state):
17534 * gst/gstelement.h:
17535 * gst/gstindex.c: (gst_index_init):
17537 * gst/gstminiobject.h:
17538 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
17539 (gst_object_set_parent):
17541 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
17542 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
17544 * gst/gstpadtemplate.h:
17545 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
17546 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
17547 * gst/gstpipeline.h:
17548 * gst/indexers/gstfileindex.c: (gst_file_index_load),
17549 (gst_file_index_commit):
17550 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
17551 * testsuite/pad/link.c: (gst_test_src_init),
17552 (gst_test_filter_init), (gst_test_sink_init):
17553 * testsuite/states/locked.c: (main):
17554 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
17555 moved bitshift from macro to enum definition
17557 2005-10-12 Wim Taymans <wim@fluendo.com>
17559 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
17560 * gst/elements/gstfilesink.c: (gst_file_sink_event),
17561 (gst_file_sink_render):
17562 Some more debugging info.
17564 2005-10-12 Wim Taymans <wim@fluendo.com>
17566 * docs/design/part-states.txt:
17567 * tools/gst-launch.c: (main):
17569 Revert non-intentional change.
17571 2005-10-12 Wim Taymans <wim@fluendo.com>
17573 * check/gst/gstbin.c: (GST_START_TEST):
17574 * check/gst/gstelement.c: (GST_START_TEST):
17575 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
17576 * check/gst/gstghostpad.c: (GST_START_TEST):
17577 * check/gst/gstpipeline.c: (GST_START_TEST):
17578 * check/pipelines/simple_launch_lines.c: (run_pipeline):
17579 * check/states/sinks.c: (GST_START_TEST):
17580 * gst/elements/gsttypefindelement.c: (stop_typefinding):
17581 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
17582 (gst_bin_remove_func), (gst_bin_get_state_func),
17583 (gst_bin_recalc_state), (gst_bin_change_state_func),
17585 * gst/gstelement.c: (gst_element_get_state_func),
17586 (gst_element_get_state), (gst_element_abort_state),
17587 (gst_element_commit_state), (gst_element_set_state),
17588 (gst_element_change_state), (gst_element_change_state_func):
17589 * gst/gstelement.h:
17590 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
17591 (gst_pipeline_provide_clock_func):
17592 * gst/gstutils.c: (gst_element_link_pads_filtered):
17593 * tools/gst-launch.c: (main):
17594 * tools/gst-typefind.c: (main):
17595 Use GstClockTime in _get_state() instead of GTimeVal.
17596 Remove old code in gstutils.c
17598 2005-10-12 Andy Wingo <wingo@pobox.com>
17600 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
17603 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
17604 there is no task. Shouldn't affect any code, as nothing in our
17605 plugins checks this return value.
17606 (gst_pad_stop_task): Also take the stream lock if the pad has no
17607 task. Docs updated.
17609 2005-10-12 Wim Taymans <wim@fluendo.com>
17611 * gst/gstpad.c: (pre_activate), (post_activate),
17612 (gst_pad_activate_pull), (gst_pad_activate_push):
17613 Cleanup activation code. Reset old state if
17616 2005-10-12 Wim Taymans <wim@fluendo.com>
17618 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17619 (gst_base_sink_change_state):
17620 No need to prerol after receiving EOS.
17622 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
17623 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
17624 * gst/elements/gstidentity.c: (gst_identity_event):
17625 Print events more verbosely.
17627 2005-10-12 Wim Taymans <wim@fluendo.com>
17629 * check/Makefile.am:
17630 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
17631 * check/states/sinks2.c:
17632 Moved sinks2 testcode in sinks check.
17634 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
17635 (gst_bin_remove_func), (gst_bin_recalc_state),
17636 (gst_bin_change_state_func), (bin_bus_handler):
17637 Fix potential race condition when _get_state() iterated over an
17638 ASYNC element right before it posted a state completion.
17641 Do proper cast here.
17643 * gst/gstevent.c: (gst_event_new_newsegment),
17644 (gst_event_parse_newsegment):
17645 A playback rate of 0.0 is not allowed.
17647 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17649 * win32/common/config.h:
17650 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
17651 (_trewinddir), (_ttelldir), (_tseekdir):
17652 * win32/common/dirent.h:
17653 * win32/common/gtchar.h:
17654 * win32/common/libgstbase.def:
17655 * win32/common/libgstreamer.def:
17656 * win32/vs6/grammar.dsp:
17657 * win32/vs6/gst_inspect.dsp:
17658 * win32/vs6/gst_launch.dsp:
17659 * win32/vs6/gstreamer.dsw:
17660 * win32/vs6/libgstbase.dsp:
17661 * win32/vs6/libgstelements.dsp:
17662 * win32/vs6/libgstreamer.dsp:
17663 Visual Studio 6 project files, and a new common directory.
17666 2005-10-11 Wim Taymans <wim@fluendo.com>
17668 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17669 (gst_base_sink_do_sync), (gst_base_sink_query),
17670 (gst_base_sink_change_state):
17671 * gst/base/gstbasesink.h:
17672 Correctly parse newsegment info.
17674 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17676 * gst/gst.c: (init_post):
17677 split plugin paths correctly
17679 2005-10-11 Wim Taymans <wim@fluendo.com>
17681 * check/gst/gstevent.c: (GST_START_TEST):
17682 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17683 (gst_base_sink_change_state):
17684 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
17685 * gst/base/gstbasetransform.c: (gst_base_transform_event):
17686 * gst/elements/gstfilesink.c: (gst_file_sink_event):
17687 * gst/gstevent.c: (gst_event_new_newsegment),
17688 (gst_event_parse_newsegment):
17690 Added extra flag to newsegment for future API freeze.
17691 Updated check and base elements.
17693 2005-10-11 Julien MOUTTE <julien@moutte.net>
17695 * gst/base/gstcollectpads.c: (gst_collectpads_init),
17696 (gst_collectpads_add_pad), (gst_collectpads_pop),
17697 (gst_collectpads_event), (gst_collectpads_chain):
17698 * gst/base/gstcollectpads.h: Handle EOS correctly.
17700 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17702 * tools/gst-launch.c: (main):
17703 more null protecting
17705 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17707 * gst/gst-i18n-lib.h:
17708 check for ENABLE_NLS, not GETTEXT_PACKAGE
17709 * gst/gstregistry.c: (gst_registry_add_plugin),
17710 (gst_registry_scan_path_level),
17711 (_gst_registry_remove_cache_plugins):
17712 protect possibly NULL strings
17713 * gst/parse/types.h:
17714 config.h already included before
17715 * tools/gst-inspect.c: (main):
17716 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
17717 check for ENABLE_NLS, not GETTEXT_PACKAGE
17718 * tools/gst-launch.c: (main):
17719 check for ENABLE_NLS, not GETTEXT_PACKAGE
17721 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17724 if we don't have glib, fail before testing 2.8
17725 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
17726 fix a leak, should fix plugins-base testsuite
17728 2005-10-11 Andy Wingo <wingo@pobox.com>
17730 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
17731 take the mode we're going to as an arg. Go head and set the mode
17732 and flushing flags now, so that if the activate function starts a
17733 thread all the flags will be in the right state.
17734 (post_activate): Renamed also. Just handle making sure streaming
17735 finishes for the deactivation case, and setting the deactivated
17737 (gst_pad_set_active): Complain loudly if deactivation fails.
17738 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
17739 (gst_pad_activate_push): Adapt to pre/post_activate changes,
17740 remove the terrible hack.
17742 2005-10-11 Wim Taymans <wim@fluendo.com>
17744 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
17745 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
17746 (gst_bin_recalc_state), (gst_bin_change_state_func),
17747 (gst_bin_dispose), (bin_bus_handler):
17749 Prepare to make current EOS message queue more generic.
17752 * gst/gstevent.c: (gst_event_new_newsegment),
17753 (gst_event_parse_newsegment):
17755 Rename base to stream_time.
17757 * gst/gstmessage.h:
17760 2005-10-11 Wim Taymans <wim@fluendo.com>
17762 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
17763 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
17764 (gst_bin_change_state_func), (bin_bus_handler):
17766 Work on proper clock selection.
17768 2005-10-11 Edward Hervey <edward@fluendo.com>
17770 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
17771 * libs/gst/controller/gstcontroller.h:
17772 Added GList* version of _remove_properties() in order to be able to wrap
17775 2005-10-11 Wim Taymans <wim@fluendo.com>
17777 * docs/design/part-states.txt:
17780 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
17781 (gst_bin_change_state_func), (bin_bus_handler):
17782 Doc updates. Don't distribute the same clock over and over again.
17788 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
17789 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
17790 (gst_pad_send_event):
17792 Make probe emission threadsafe again.
17793 Register quarks and move _get_name() from utils.
17796 * gst/gstpipeline.c: (gst_pipeline_class_init),
17797 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
17798 Only redistribute the clock of it changed.
17800 * gst/gstsystemclock.h:
17805 Moved the _flow_get_name() to GstPad.
17807 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17809 * check/gst-libs/gdp.c: (GST_START_TEST):
17810 * check/gst/gstcaps.c: (GST_START_TEST):
17811 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
17812 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
17813 (gst_dp_packet_from_caps):
17814 fix more valgrind warnings before turning up the heat
17816 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17818 * gst/parse/grammar.y:
17819 some cleanup before the hacking
17821 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
17823 * gst/base/gstbasesrc.c: (gst_base_src_query):
17825 * gst/gstutils.c: (gst_guint64_to_gdouble),
17826 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
17828 externalize, basesrc uses it
17829 obviously the implementation needs testing
17831 2005-10-10 Wim Taymans <wim@fluendo.com>
17833 * tests/sched/Makefile.am:
17834 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
17835 (make_pipeline3), (make_pipeline4), (print_elem), (main):
17837 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
17839 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
17840 apparently converting from guint64 to double is not implemented
17843 2005-10-10 Wim Taymans <wim@fluendo.com>
17845 * check/Makefile.am:
17846 * check/generic/states.c: (GST_START_TEST):
17847 * check/gst/gstbin.c: (GST_START_TEST):
17848 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
17849 * check/states/sinks.c: (GST_START_TEST):
17850 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
17852 Check fixes, use API as stated in design docs, remove hacks.
17854 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17855 (gst_base_sink_change_state):
17856 Catch stopping our task while we're shutting down.
17858 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
17859 (gst_bin_remove_func), (gst_bin_get_state_func),
17860 (gst_bin_recalc_state), (gst_bin_change_state_func),
17863 * gst/gstelement.c: (gst_element_init),
17864 (gst_element_get_state_func), (gst_element_abort_state),
17865 (gst_element_commit_state), (gst_element_lost_state),
17866 (gst_element_set_state), (gst_element_change_state),
17867 (gst_element_change_state_func):
17868 * gst/gstelement.h:
17869 New state change algorithm (see #318116)
17871 * gst/gstpipeline.c: (gst_pipeline_class_init),
17872 (gst_pipeline_init), (gst_pipeline_set_property),
17873 (gst_pipeline_get_property), (do_pipeline_seek),
17874 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
17875 * gst/gstpipeline.h:
17876 Remove crude state change hacks.
17879 Remove crude hacks.
17881 * tools/gst-launch.c: (main):
17882 Fixes for state change. Needs some more work to fully use the
17885 2005-10-10 Andy Wingo <wingo@pobox.com>
17887 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
17889 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
17890 this flag, but it's not even in GLib 2.6. Odd. Hack around the
17893 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
17895 * gst/gstiterator.c: (gst_iterator_new):
17896 Fix my previous commit: GTypes passed to gst_iterator_new()
17897 can be fundamental types.
17899 2005-10-10 Wim Taymans <wim@fluendo.com>
17901 * gst/gstelement.c: (gst_element_iterate_pad_list),
17902 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
17903 (gst_element_iterate_sink_pads):
17904 Use src/sink pads lists for the respective iterators instead
17907 2005-10-10 Andy Wingo <wingo@pobox.com>
17909 Merged in popt removal + GOption addition patch from Ronald, bug
17912 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
17913 GstElement macros around, remove popt-related symbols, add goption
17916 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
17918 * docs/gst/Makefile.am:
17919 * docs/libs/Makefile.am: No POPT_CFLAGS.
17921 * examples/manual/Makefile.am:
17922 * docs/manual/basics-init.xml: Doc updates with an example.
17924 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
17925 (gst_init), (parse_one_option), (parse_goption_arg):
17926 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
17927 bit of hand merging and debugging to get the GOption stuff working
17930 * tests/Makefile.am:
17931 * tools/Makefile.am:
17932 * tools/gst-inspect.c: (main):
17933 * tools/gst-launch.c: (main):
17934 * tools/gst-run.c: (main):
17935 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
17937 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
17939 * gst/gstiterator.c: (gst_iterator_new):
17940 Add assertions to make sure passed GType is likely to really
17941 be a GType (as the compiler won't catch it if the size and
17942 GType arguments get mixed up, see #318447).
17944 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
17946 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
17948 * gst/gstbin.c: (gst_bin_iterate_sorted):
17949 Pass GType and size arguments to gst_iterator_new() in the right
17950 order (maybe we should make _new() take the GType as first argument
17951 just like _new_list()?) (#318447).
17954 2005-10-10 Wim Taymans <wim@fluendo.com>
17956 * gst/gstelement.c: (gst_element_finalize):
17957 And free the GStaticRecMutex too
17959 2005-10-10 Andy Wingo <wingo@pobox.com>
17961 * gst/gstelement.c (gst_element_init, gst_element_finalize):
17962 Allocate and free the mutex properly.
17964 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
17966 (GstElement): The state_lock is now recursive. Rebuild your
17967 plugins, suckers. Old macros adapted.
17969 * docs/gst/gstreamer-sections.txt: Doc updates.
17972 * gst/gstutils.c (g_static_rec_cond_timed_wait)
17973 (g_static_rec_cond_wait): Ported from state changes patch, while
17974 we wait on bug #317802 to be solved in a well-distributed GLib.
17976 * gst/gstelement.c (gst_element_change_state_func): Renamed from
17977 gst_element_change_state, variable name changes.
17978 (gst_element_change_state): Split out of gst_element_set_state in
17979 preparation for the state change merge. Doesn't pay attention to
17980 the 'transition' argument.
17981 (gst_element_set_state): Updates, hopefully purely cosmetic.
17982 (gst_element_sync_state_with_parent): MT-safety. Ported from the
17983 state change patch.
17984 (gst_element_get_state_func): Renamed from get_state, cosmetic
17987 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
17989 * gst/elements/gstelements.c:
17990 * win32/GStreamer.vcproj:
17992 * win32/dirent.c: (_tseekdir):
17993 * win32/gst-inspect.vcproj:
17994 * win32/gst-launch.vcproj:
17995 * win32/gstconfig.h:
17996 * win32/gstelements.vcproj:
17997 * win32/gstenumtypes.c: (gst_object_flags_get_type):
17998 * win32/gstreamer.def:
17999 * win32/msvc71.sln:
18000 updates for the win32 build (patch from Sebastien Moutte)
18002 2005-10-10 Andy Wingo <wingo@pobox.com>
18004 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
18005 gst_bin_get_state, cleaned up (but no logic changes).
18006 (bin_element_is_sink): Comment updates.
18007 (sink_iterator_filter): Remove needless cast.
18008 (gst_bin_iterate_sinks): Doc update.
18009 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
18010 cleaned up (but no logic changes).
18012 * check/states/sinks.c (test_src_sink): Cleanups from the state
18014 (test_livesrc_sink): Sync on the state.
18016 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
18017 the state change patch.
18019 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
18022 * check/gst/gstbin.c: Merge in some style fixes and additional
18023 checks from Wim's state change patch.
18025 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
18027 * gst/base/gsttypefindhelper.c: (helper_find_peek),
18028 (gst_type_find_helper):
18029 Check whether we have the requested data already in our list of
18030 cached buffers before pulling a new buffer; also make the buffer
18031 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
18033 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
18038 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
18039 don't use long long, it's not portable. Replacing with
18040 gint64 seems to work; let's hope no skeletons fall out of the closet.
18042 2005-10-10 Andy Wingo <wingo@pobox.com>
18044 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
18046 2005-10-09 Stefan Kost <ensonic@users.sf.net>
18048 * docs/gst/gstreamer-sections.txt:
18053 * gst/gstmessage.c: (gst_message_parse_state_changed):
18056 more docs, fix compilation
18058 2005-10-09 Philippe Khalaf <burger@speedy.org>
18059 * gst/gstmessage.c:
18060 Fixed a few forgotten variables on previous commit
18062 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
18064 * gst/base/gsttypefindhelper.c: (helper_find_peek):
18065 Fix evil typefind crasher: getrange() might return a short
18066 buffer at the end of a file, but gst_type_find_peek() must
18067 either return the full data as requested or NULL, but
18068 never a short buffer.
18070 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
18072 * gst/gstmessage.c: (gst_message_new_state_changed),
18073 (gst_message_parse_state_changed):
18074 * gst/gstmessage.h:
18075 don't use "new", it's a C++ keyword
18077 2005-10-08 Wim Taymans <wim@fluendo.com>
18079 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
18080 * gst/gstelement.c: (gst_element_post_message):
18081 * gst/gstpipeline.c: (gst_pipeline_change_state):
18082 Small docs and debug updates.
18084 2005-10-08 Stefan Kost <ensonic@users.sf.net>
18086 * docs/gst/gstreamer-sections.txt:
18087 * gst/gstelementfactory.c:
18089 * gst/gsttaglist.c:
18092 2005-10-08 Wim Taymans <wim@fluendo.com>
18094 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
18095 (gst_bin_dispose), (bin_bus_handler):
18096 Fix typos, add comments.
18097 Clear EOS list when going to PAUSED from any direction and do it
18098 in a threadsafe way.
18099 Get base time in a threadsafe way too.
18100 Fix confusing debug in the change_state function.
18101 Various other small cleanups.
18103 * gst/gstelement.c: (gst_element_post_message):
18104 Fix very verbose bus posting code.
18106 * gst/gstpipeline.c: (gst_pipeline_class_init),
18107 (gst_pipeline_set_property), (gst_pipeline_get_property),
18108 (gst_pipeline_change_state):
18109 Small ARG_ -> PROP_ cleanup
18111 2005-10-08 Wim Taymans <wim@fluendo.com>
18113 * gst/gstbin.c: (is_eos), (bin_bus_handler):
18114 Do a less CPU demanding EOS check because we can.
18116 2005-10-08 Wim Taymans <wim@fluendo.com>
18118 * libs/gst/dataprotocol/dataprotocol.c:
18119 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
18120 (gst_dp_packet_from_event):
18121 * libs/gst/dataprotocol/dataprotocol.h:
18122 * libs/gst/dataprotocol/dp-private.h:
18123 It's about time we bump the version number.
18124 Since event types don't fit in the guint8 anymore describing
18125 the payload type, make payload type 16 bits wide.
18127 2005-10-08 Wim Taymans <wim@fluendo.com>
18129 * docs/design/part-TODO.txt:
18130 * docs/design/part-clocks.txt:
18131 * docs/design/part-events.txt:
18132 * docs/design/part-gstbin.txt:
18133 * docs/design/part-gstelement.txt:
18134 * docs/design/part-gstpipeline.txt:
18135 * docs/design/part-live-source.txt:
18136 * docs/design/part-messages.txt:
18137 * docs/design/part-overview.txt:
18138 * docs/design/part-states.txt:
18141 2005-10-08 Wim Taymans <wim@fluendo.com>
18145 Fix event quark registration.
18146 Add some space between events so we can insert them in the
18149 2005-10-08 Wim Taymans <wim@fluendo.com>
18151 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18152 (gst_base_sink_handle_buffer):
18153 Better log message.
18156 * gst/gstelement.h:
18159 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
18160 (gst_queue_set_property), (gst_queue_get_property):
18162 Remove old unused properties.
18164 2005-10-08 Stefan Kost <ensonic@users.sf.net>
18165 * docs/gst/gstreamer-sections.txt:
18166 * gst/gstmessage.c:
18167 * gst/gstmessage.h:
18168 * gst/gstminiobject.c:
18169 * gst/gstminiobject.h:
18173 lots of new docs and doc fixes
18175 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
18177 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
18179 * gst/gstregistry.c: (gst_registry_lookup_locked),
18180 (gst_registry_scan_path_level):
18181 * gst/gstregistryxml.c: (load_plugin):
18182 Only ever load one plugin for a given plugin basename.
18183 This ensures correct overriding of GST_PLUGIN_PATH over
18184 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
18185 system installed plugins.
18187 2005-10-08 Wim Taymans <wim@fluendo.com>
18189 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18190 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
18191 Prepare for doing QOS.
18193 2005-10-08 Wim Taymans <wim@fluendo.com>
18195 * check/gst/gstbin.c: (GST_START_TEST):
18196 * check/pipelines/cleanup.c: (GST_START_TEST):
18197 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
18198 Allow new clock message too.
18200 2005-10-08 Wim Taymans <wim@fluendo.com>
18202 * gst/gstmessage.c: (gst_message_new_error),
18203 (gst_message_new_warning), (gst_message_new_tag),
18204 (gst_message_new_state_changed), (gst_message_new_clock_provide),
18205 (gst_message_new_clock_lost), (gst_message_new_new_clock),
18206 (gst_message_new_segment_start), (gst_message_new_segment_done),
18207 (gst_message_parse_state_changed),
18208 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
18209 (gst_message_parse_new_clock):
18210 * gst/gstmessage.h:
18211 Also carry the clock in question.
18213 2005-10-08 Wim Taymans <wim@fluendo.com>
18215 * gst/gstmessage.c: (gst_message_new_custom),
18216 (gst_message_new_eos), (gst_message_new_error),
18217 (gst_message_new_warning), (gst_message_new_tag),
18218 (gst_message_new_state_changed), (gst_message_new_clock_provide),
18219 (gst_message_new_new_clock), (gst_message_new_segment_start),
18220 (gst_message_new_segment_done), (gst_message_parse_state_changed),
18221 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
18222 * gst/gstmessage.h:
18224 Added clock related messages.
18226 * gst/gstpipeline.c: (gst_pipeline_change_state):
18227 Post message when the clock changed.
18229 * tools/gst-launch.c: (event_loop):
18232 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
18234 * tools/gst-inspect.c: (print_element_properties_info):
18235 Can't pass NULL strings to g_print() on windows.
18237 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
18239 * docs/Makefile.am:
18240 * docs/gst/Makefile.am:
18241 * docs/gst/gstreamer-docs.sgml:
18242 * docs/gst/running.xml:
18243 * docs/version.entities.in:
18244 add a chapter on running GStreamer.
18245 document GST_DEBUG and GST_PLUGIN* env vars
18247 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
18252 remove PLUGINS_BUILDDIR stuff
18253 * gst/gst.c: (init_post):
18254 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
18256 remove, it was condescending and not needed
18258 2005-10-08 Wim Taymans <wim@fluendo.com>
18260 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
18261 (gst_base_sink_handle_object), (gst_base_sink_event),
18262 (gst_base_sink_wait), (gst_base_sink_handle_event),
18263 (gst_base_sink_change_state):
18264 * gst/base/gstbasesink.h:
18265 Repost EOS message while going to PLAYING if still EOS.
18266 Make sure that when receiving a FLUSH_START we don't attempt
18267 to sync on the clock anymore.
18269 2005-10-08 Wim Taymans <wim@fluendo.com>
18271 * tools/gst-launch.c: (event_loop):
18272 Better message printout.
18274 2005-10-08 Wim Taymans <wim@fluendo.com>
18276 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
18277 (gst_bin_child_proxy_get_children_count):
18278 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
18279 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
18280 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
18281 (gst_child_proxy_set_valist):
18282 * gst/parse/grammar.y:
18283 Make ChildProxy threadsafe and fix mem leaks.
18285 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
18287 * gst/gst.c: (init_post):
18288 debug the GST_PLUGIN_ env vars
18290 2005-10-08 Wim Taymans <wim@fluendo.com>
18292 * check/gst/gstbin.c: (GST_START_TEST):
18293 * check/gst/gstmessage.c: (GST_START_TEST):
18294 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
18295 * gst/gstelement.c: (gst_element_commit_state),
18296 (gst_element_lost_state):
18297 * gst/gstmessage.c: (gst_message_new_state_changed),
18298 (gst_message_parse_state_changed):
18299 * gst/gstmessage.h:
18300 * tools/gst-launch.c: (event_loop):
18301 Added extra field to STATE_CHANGE message with the pending
18302 state, which will be different from the new state soon.
18304 2005-10-08 Wim Taymans <wim@fluendo.com>
18306 * gst/gstbus.c: (gst_bus_pop):
18308 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
18309 Small cleanups and doc updates.
18311 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
18313 * gst/gst.c: (init_pre):
18314 * gst/gstbin.c: (gst_bin_add_func):
18315 log distributing clocks and base time
18316 * gst/gstregistry.c: (gst_registry_add_plugin),
18317 (gst_registry_scan_path_level), (gst_registry_scan_path):
18318 clean up the debugging output a little
18319 * gst/gstutils.c: (gst_element_state_get_name):
18320 warn about a memleak (I've actually seen this be used, though
18321 it was probably a bug)
18323 2005-10-07 Wim Taymans <wim@fluendo.com>
18325 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18326 (gst_base_src_init), (gst_base_src_default_newsegment),
18327 (gst_base_src_newsegment), (gst_base_src_do_seek),
18328 (gst_base_src_loop), (gst_base_src_start):
18329 * gst/base/gstbasesrc.h:
18330 Make the newsegment event customizable by subclasses.
18332 2005-10-07 Wim Taymans <wim@fluendo.com>
18334 * gst/gstevent.c: (gst_event_new_buffersize),
18335 (gst_event_parse_buffersize):
18337 New event for future idea.
18339 2005-10-07 Andy Wingo <wingo@pobox.com>
18341 * gst/gstelement.c (gst_element_post_message): Doc update.
18343 * docs/gst/gstreamer-sections.txt: Update.
18345 * gst/gstmessage.c (gst_message_new_application): Made into a
18346 function like honest API calls.
18347 (gst_message_new_element): New message type.
18349 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
18351 * check/elements/fakesrc.c (test_no_preroll): New check, checks
18352 that setting a live fakesrc to PAUSED returns NO_PREROLL both
18355 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
18356 NO_PREROLL from gst_element_change_state to fall through.
18358 2005-10-07 Wim Taymans <wim@fluendo.com>
18360 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
18361 (gst_ghost_pad_do_activate_push):
18362 Activating a ghostpad with no internal pad in push mode
18365 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
18368 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
18369 Fixes compilation on Windows.
18371 2005-10-07 Michael Smith <msmith@fluendo.com>
18373 * tools/gst-inspect.c:
18374 Print out feature and plugin count at the end when printing out
18377 2005-10-04 Michael Smith <msmith@fluendo.com>
18379 * gst/gsterror.c: (_gst_stream_errors_init):
18380 Add another error string used in a few existing plugins.
18383 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
18384 * tools/gst-inspect.c: (print_element_info):
18385 When a feature disappears from a plugin (and the feature exists in
18386 the cached registry file), things went horribly wrong. This isn't a
18387 complete fix, we should actually be removing the 'missing' features
18388 from the features list when we load the actual plugin. That's not
18391 2005-10-04 Johan Dahlin <johan@gnome.org>
18393 * check/gst/gstiterator.c: (GST_START_TEST):
18394 * gst/gstbin.c: (gst_bin_iterate_elements),
18395 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
18396 * gst/gstelement.c: (gst_element_iterate_pads):
18397 * gst/gstformat.c: (gst_format_iterate_definitions):
18398 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
18399 (gst_iterator_new_list), (gst_iterator_filter):
18400 * gst/gstiterator.h:
18401 * gst/gstquery.c: (gst_query_type_iterate_definitions):
18402 Add a GType to GstIterator, update callsites and tests.
18404 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
18406 * gst/gstpad.c: (gst_pad_event_default_dispatch):
18407 give events a chance to be handled by event probes when the pad
18410 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
18412 * gst/gstevent.c: (gst_event_type_get_name),
18413 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
18415 add string representations for event types
18417 2005-10-06 Wim Taymans <wim@fluendo.com>
18419 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
18420 Don't use NULL pointers.
18422 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
18424 * gst/gst_private.h:
18426 * gst/gstelement.c:
18428 * gst/gstpluginfeature.c:
18429 widen the debug category in output to fit the biggest one we have
18430 add a bus category and use it
18431 play with the colors
18432 fix up some categories
18434 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
18436 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
18437 add push activation of sink ghost pads.
18438 Andye, please verify
18440 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
18442 * gst/gstutils.c: (gst_element_link_pads):
18443 fix a bug in the case where neither element has a pad
18444 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
18445 add a test for that case
18447 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
18449 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
18450 emit have-data before checking for peers. This allows
18451 for probe handlers to connect elements. This helps autopluggers.
18452 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
18454 add six checks, linked/unlinked with no/true/false probe
18456 2005-10-04 Wim Taymans <wim@fluendo.com>
18458 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
18459 (gst_fake_sink_event), (gst_fake_sink_preroll),
18460 (gst_fake_sink_render), (gst_fake_sink_change_state):
18461 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
18462 (gst_fake_src_get_property), (gst_fake_src_create),
18463 (gst_fake_src_stop):
18464 * gst/elements/gstidentity.c: (gst_identity_stop):
18465 Protect last_message with lock.
18467 2005-10-04 Edward Hervey <edward@fluendo.com>
18470 Added precision in the comments for GST_FORMAT_DEFAULT
18472 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
18474 * tools/gst-launch.c: (main):
18475 Don't try to run erroneous pipelines.
18477 2005-10-04 Julien MOUTTE <julien@moutte.net>
18479 * gst/gstbus.c: We don't need this header.
18481 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
18484 back to development
18486 === release 0.9.3 ===
18488 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
18492 Releasing 0.9.3, "Unregistered"
18494 2005-10-03 Andy Wingo <wingo@pobox.com>
18496 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
18497 whereby calling a pad's activatepush() function can start a thread
18498 that starts to push or pull before the pad gets the FLUSHING flag
18499 unset. Hack around it by holding the stream lock until the flag is
18500 set. Need to replace this with a proper solution. Together with
18501 the ghost pad fixes, this fixes mp3 playing/tagreading.
18503 * docs/design/part-gstghostpad.txt: Add a note about activation of
18504 proxy pads outside of ghost pads.
18506 * gst/gstghostpad.c: Implement the ghost pad activation design.
18508 2005-10-02 Andy Wingo <wingo@pobox.com>
18510 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
18511 It is volatile, after all.
18513 * docs/design/part-gstghostpad.txt: Flesh out activation with
18516 * gst/base/gstbasesrc.c (gst_base_src_init): Use
18519 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
18522 Fix (unused) AM_CONDITIONAL tests.
18524 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
18526 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18528 * gst/gstutils.c: (gst_pad_query_convert):
18529 Add assertion that makes sure src_val is >=0, just like
18530 gst_query_new_convert() has. (#315895)
18532 2005-09-30 Edward Hervey <edward@fluendo.com>
18534 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
18535 Let's not iterate pads we're not interested in, it avoids getting
18536 sky-high refcounts on sinkpad.
18538 2005-09-30 Wim Taymans <wim@fluendo.com>
18540 * gst/gstelement.c: (gst_element_set_state),
18541 (gst_element_change_state):
18542 Small tweak, element in ASYNC remains ASYNC.
18544 2005-09-30 Wim Taymans <wim@fluendo.com>
18546 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
18547 Only error is an error.
18549 * gst/gstbin.c: (gst_bin_change_state):
18552 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
18553 Also call pad_block in pad alloc.
18555 * gst/gstutils.c: (gst_flow_get_name):
18558 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
18560 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18561 (gst_base_src_get_range):
18562 Fix documentation typos. Add some more debug info.
18564 2005-09-29 David Schleef <ds@schleef.org>
18566 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
18567 more end-user friendly.
18568 * tools/gst-inspect.c: (main): Check if command-line argument is
18569 a file and attempt to load that file as a plugin.
18571 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
18573 * check/gst/gstbin.c:
18574 * check/states/sinks.c:
18575 fix tests for the new warning
18576 * check/gst/gstpipeline.c:
18577 add a test for pipeline and bus interaction
18578 * gst/gstelement.c:
18579 elements should be NULL if they get disposed; add a warning if not
18581 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
18584 for 2.6 refcounting, make debug log more correct by printing
18585 the actual refcounts at the time of swap (Wim)
18587 2005-09-29 Andy Wingo <wingo@pobox.com>
18589 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
18590 removes signal watches previously added via
18591 gst_bus_add_signal_watch.
18592 (gst_bus_add_signal_watch): Don't return the source id, just store
18593 it on the bus if there wasn't an id already.
18595 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
18596 add_signal_watch and remove_signal_watch.
18598 2005-09-29 Edward Hervey <edward@fluendo.com>
18600 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
18601 Better if we actually iterate the list :)
18603 2005-09-29 Wim Taymans <wim@fluendo.com>
18605 * check/gst/gstbin.c: (GST_START_TEST):
18606 Change for new bus API.
18608 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
18609 (send_messages), (GST_START_TEST), (gstbus_suite):
18610 Change for new bus signal API.
18612 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
18613 (gst_bus_source_prepare), (gst_bus_source_check),
18614 (gst_bus_create_watch), (gst_bus_add_watch_full),
18615 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
18616 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
18618 Remove support for multiple GSources operating on different
18619 message types as it is too complex and unneeded when using
18621 Added support for receiving signals from the bus.
18623 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
18625 * docs/libs/tmpl/gstdataprotocol.sgml:
18626 * docs/manual/advanced-dataaccess.xml:
18627 * gst/elements/gstcapsfilter.c:
18629 rename filter-caps to caps property
18631 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
18633 * gst/gstvalue.c: (gst_value_deserialize_fraction):
18634 More robust fraction string parsing.
18636 * docs/pwg/appendix-porting.xml:
18637 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
18639 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
18641 * gst/gstcaps.c: (gst_caps_do_simplify):
18642 Thou shalt not free a structure and then continue using it
18643 in the next loop iteration.
18645 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
18647 Add test case for caps simplification.
18649 2005-09-29 Wim Taymans <wim@fluendo.com>
18651 * check/gst/gstbin.c: (GST_START_TEST):
18654 2005-09-29 Wim Taymans <wim@fluendo.com>
18656 * check/gst/gstbin.c: (GST_START_TEST):
18659 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
18660 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
18661 (find_element), (gst_bin_sort_iterator_next),
18662 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18663 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18664 (gst_bin_change_state), (gst_bin_dispose):
18665 A bin does not have a bus, it gets the bus from the parent.
18667 * gst/gstelement.c: (gst_element_requires_clock),
18668 (gst_element_provides_clock), (gst_element_is_indexable),
18669 (gst_element_is_locked_state), (gst_element_change_state),
18670 (gst_element_set_bus_func):
18673 * gst/gstpipeline.c: (gst_pipeline_class_init),
18674 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
18675 The pipeline provides a bus.
18677 2005-09-28 Johan Dahlin <johan@gnome.org>
18679 * gst/gstmessage.c (gst_message_parse_state_changed): Use
18680 gst_structure_get_enum instead of gst_structure_get_int
18682 * gst/gststructure.c (gst_structure_get_enum): Impl.
18684 * gst/gststructure.h (gst_structure_get_enum): Add
18686 * docs/gst/gstreamer-sections.txt: Ditto
18688 * gst/gstmessage.c (gst_message_new_state_changed): Use
18689 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
18690 which does introspection.
18691 Reviewed by Christian Schaller
18693 2005-09-28 Stefan Kost <ensonic@users.sf.net>
18695 * gst/gstinfo.c: (gst_debug_log_default):
18696 don't do dummy g_strdup()s
18697 * libs/gst/controller/gstcontroller.c:
18698 (on_object_controlled_property_changed),
18699 (gst_controlled_property_new), (gst_controller_new_valist),
18700 (gst_controller_new_list),
18701 (gst_controller_remove_properties_valist), (gst_controller_set),
18702 (gst_controller_get), (gst_controller_sync_values),
18703 (gst_controller_get_value_array), (_gst_controller_class_init),
18704 (gst_controller_get_type):
18705 * libs/gst/controller/gstcontroller.h:
18706 * libs/gst/controller/gstinterpolation.c:
18707 (gst_controlled_property_find_timed_value_node):
18708 convert // to /**/ comments
18710 2005-09-28 Wim Taymans <wim@fluendo.com>
18712 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
18713 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
18714 (gst_bus_sync_signal_handler):
18716 Added async-message and sync-message signals to the bus.
18717 Added helper BusFunc to emit signals for all posted messages.
18719 * gst/gstmessage.c: (gst_message_type_get_name),
18720 (gst_message_type_to_quark), (gst_message_get_type):
18721 * gst/gstmessage.h:
18722 Register quarks for message names.
18724 2005-09-28 Stefan Kost <ensonic@users.sf.net>
18726 * docs/libs/gstreamer-libs-sections.txt:
18727 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
18728 (gst_controller_new_list):
18729 * libs/gst/controller/gstcontroller.h:
18730 added another constructor for language bindings
18732 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
18734 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
18738 * gst/gstinfo.c: (_gst_debug_init):
18739 slightly more readable color for refcount debugging
18741 2005-09-28 Wim Taymans <wim@fluendo.com>
18743 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
18744 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
18745 (find_element), (gst_bin_sort_iterator_next),
18746 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18747 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18748 (gst_bin_change_state), (gst_bin_dispose):
18749 Small doc fixes. get_clock -> provide_clock.
18751 * gst/gstelement.c: (gst_element_class_init),
18752 (gst_element_provides_clock), (gst_element_provide_clock),
18753 (gst_element_get_clock), (gst_element_commit_state),
18754 (gst_element_lost_state):
18755 * gst/gstelement.h:
18756 Make get/set_clock() symetric. Add provide_clock vmethod since
18757 that is actually what this function does.
18759 * gst/gstpipeline.c: (gst_pipeline_class_init),
18760 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
18761 (gst_pipeline_get_clock):
18762 get_clock -> provide_clock.
18764 2005-09-28 Andy Wingo <wingo@pobox.com>
18766 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
18767 lieu of real docs...
18769 * gst/elements/gstfdsrc.c: Cleaned up a bit.
18771 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
18773 * gst/elements/gstcapsfilter.c:
18774 * gst/elements/gstfakesink.c:
18775 * gst/elements/gstfakesrc.c:
18776 * gst/elements/gstfdsink.c:
18777 * gst/elements/gstfdsrc.c:
18778 * gst/elements/gstfilesink.c:
18779 * gst/elements/gstfilesrc.c:
18780 * gst/elements/gstidentity.c:
18781 * gst/elements/gsttee.c:
18782 * gst/elements/gsttypefindelement.c:
18783 Make element details static.
18785 2005-09-28 Wim Taymans <wim@fluendo.com>
18787 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18788 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18789 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18790 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18791 (gst_bin_change_state), (gst_bin_dispose):
18792 Some documentation updates.
18793 Clean up dispose handlers.
18795 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
18796 * gst/gstpad.c: (gst_pad_dispose):
18797 Clean up dispose handler.
18799 * gst/gstpipeline.c: (gst_pipeline_change_state):
18800 Removed spurious UNLOCK.
18802 2005-09-27 Stefan Kost <ensonic@users.sf.net>
18804 * docs/gst/gstreamer-sections.txt:
18805 * gst/base/gstbasesrc.h:
18806 * gst/gstelement.h:
18810 * gst/gstpipeline.c:
18811 * gst/gstpipeline.h:
18814 added two new functions to the docs
18815 documents all undocumented GstXXXFlags
18816 completed some incomplete docs
18818 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
18820 * gst/gstbin.c: (gst_bin_dispose):
18821 * gst/gstelement.c: (gst_element_dispose):
18822 remove now useless and leaky resurrection code in dispose
18823 * gst/base/gstbasesrc.c: (gst_base_src_init):
18824 * gst/gstelementfactory.c: (gst_element_factory_create):
18825 * gst/gstobject.c: (gst_object_set_parent):
18828 2005-09-27 Wim Taymans <wim@fluendo.com>
18830 * docs/design/part-TODO.txt:
18833 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18834 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18835 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18836 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18837 (gst_bin_change_state):
18838 * gst/gstelement.h:
18839 Remove element variable, we keep element info in the iterator now.
18841 2005-09-27 Andy Wingo <wingo@pobox.com>
18843 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
18846 2005-09-27 Wim Taymans <wim@fluendo.com>
18848 * check/gst/gstbin.c: (GST_START_TEST):
18849 Enable check that works now.
18851 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18852 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18853 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18854 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18855 (gst_bin_change_state):
18857 Redid the state change algorithm using a topological sort algo.
18858 Handles all cases correctly.
18859 Exposed iterator for state change order.
18861 * gst/gstelement.h:
18862 Temp storage for state changes. Need to get rid of this soon.
18864 2005-09-27 Wim Taymans <wim@fluendo.com>
18866 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
18867 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
18868 (link_fold_func), (gst_pad_proxy_setcaps):
18869 Leak fixes, the fold functions need to unref the passed object and
18870 _get_parent_*() returns ref to parent.
18872 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
18874 * check/gst/gstbuffer.c: (test_make_writable):
18875 Plug leak in test case and fix 'make check-valgrind'
18877 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
18879 * gst/gstbuffer.c: (gst_subbuffer_init):
18880 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
18881 works correctly in all circumstances (we could have just copied
18882 the parent buffer's readonly flag, but conceptually it seems
18883 cleaner to mark all subbuffers as read-only). (based on patch
18884 by Alessandro Decina, #314710).
18886 * check/gst/gstbuffer.c: (create_read_only_buffer),
18887 (test_make_writable), (test_subbuffer_make_writable),
18889 Add some tests for gst_buffer_make_writable().
18891 2005-09-27 Wim Taymans <wim@fluendo.com>
18893 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
18894 use gst_object_has_ancestor().
18896 * gst/gstobject.c: (gst_object_has_ancestor):
18898 gst_object_has_ancestor() copied from gstbin.c as it is a
18901 * tests/instantiate/create.c: (create_all_elements):
18902 * tests/lat.c: (handoff_src), (handoff_sink):
18903 * tests/sched/runxml.c: (main):
18904 * tests/seeking/seeking1.c: (main):
18905 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
18907 Fix compilation of some tests.
18909 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
18912 Remove comment. GST_TYPE_G_ERROR is here to stay,
18913 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
18914 (#316961, #300610).
18916 2005-09-26 Wim Taymans <wim@fluendo.com>
18918 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
18919 Added check that shows error in state change order.
18921 2005-09-26 Wim Taymans <wim@fluendo.com>
18923 * gst/gstbin.c: (gst_bin_change_state):
18924 Make state change function use 3 queues again, we were
18925 adding elements in the wrong order.
18927 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
18930 * gst/gstpad.c: (gst_pad_dispose):
18931 Added some debug info first.
18933 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
18935 * docs/design/draft-push-pull.txt:
18936 * docs/design/part-events.txt:
18937 * docs/design/part-overview.txt:
18938 * docs/design/part-scheduling.txt:
18939 Replace all _pull_region() with _pull_range()
18941 2005-09-26 Andy Wingo <wingo@pobox.com>
18943 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
18945 * check/gst-libs/controller.c: Update for controller api change.
18948 * tests/Makefile.am:
18949 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
18950 over by GLib bug 118439.
18952 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
18953 routines to a function.
18955 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
18957 * libs/gst/controller/gsthelper.c:
18958 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
18959 (gst_object_sync_values): Renamed from sink_values. Ugh.
18961 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
18963 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
18964 Renamed from controller_key, as it is exported.
18966 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
18968 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
18973 * gst/gstpadtemplate.h:
18976 * gst/gstqueryutils.c:
18977 * gst/gstqueryutils.h:
18978 remove queryutils headers after moving the two used functions
18979 to gstquery. also fixes build problem for gstsiddec
18981 2005-09-26 Michael Smith <msmith@fluendo.com>
18983 * tools/gst-launch.1.in:
18984 Correct documentation in manpage of debug syntax
18986 2005-09-26 Wim Taymans <wim@fluendo.com>
18988 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
18989 (gst_base_src_is_seekable), (gst_base_src_change_state):
18990 Some more debugging info.
18992 2005-09-25 Stefan Kost <ensonic@users.sf.net>
18994 * docs/gst/gstreamer-sections.txt:
18995 * gst/base/gstbasetransform.h:
18999 2005-09-25 Stefan Kost <ensonic@users.sf.net>
19001 * docs/gst/.cvsignore:
19002 * docs/gst/tmpl/.cvsignore:
19003 * docs/gst/tmpl/gstpipeline.sgml:
19004 * docs/gst/tmpl/gstplugin.sgml:
19005 * gst/gstpipeline.c:
19008 inlined the last two docs files
19009 removed the tmpl directory from cvs (no more conflicts here!)
19011 2005-09-25 Stefan Kost <ensonic@users.sf.net>
19013 * docs/gst/gstreamer-sections.txt:
19014 * docs/gst/tmpl/.cvsignore:
19015 * docs/gst/tmpl/gstpad.sgml:
19016 * docs/gst/tmpl/gstpadtemplate.sgml:
19018 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
19019 (gst_pad_finalize), (gst_pad_set_pad_template):
19021 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
19022 (gst_pad_template_class_init), (gst_pad_template_init),
19023 (gst_pad_template_dispose), (name_is_valid),
19024 (gst_static_pad_template_get), (gst_pad_template_new),
19025 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
19026 (gst_pad_template_pad_created):
19027 * gst/gstpadtemplate.h:
19028 inlined two more docs
19029 factored gstpadtemplate out of gstpad
19031 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
19033 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
19034 (test_children_state_change_order_semi_sink):
19035 Fix test case: we can't rely on a fixed state change order when
19036 going from READY => PAUSED because the sink might commit its
19037 new state first when the first buffer created by the source
19038 reaches the sink before the source has finished its change state.
19039 (Test case still fails at times, see #316856, comment 5 onwards)
19041 2005-09-24 Wim Taymans <wim@fluendo.com>
19043 * docs/design/part-events.txt:
19044 * docs/design/part-gstbus.txt:
19045 * docs/design/part-gstpipeline.txt:
19046 * docs/design/part-messages.txt:
19047 * docs/design/part-overview.txt:
19048 * docs/design/part-segments.txt:
19052 * gst/gstelement.c:
19055 * gst/gstiterator.c:
19056 Various documentation updates.
19058 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
19061 Well, that's embarassing. Luckily we weren't using
19062 GST_CLOCK_DIFF anywhere.
19064 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
19066 * common/gtk-doc.mak:
19067 don't fail on building XML, FC4 slave shows a bunch of doc
19068 missing bits that I don't get
19070 * gst/gstpipeline.c:
19071 * gst/gststructure.c:
19074 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
19076 * docs/design/part-gstbin.txt:
19077 * docs/design/part-gstbus.txt:
19079 Add blurb about how the bus goes into flushing mode and
19080 drops all messages when its bin goes from READY into NULL
19083 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
19085 * docs/gst/gstreamer-sections.txt:
19086 * gst/gststructure.c: (gst_structure_get_clock_time):
19087 * gst/gststructure.h:
19088 add a method to get a GstClockTime out of a structure
19090 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
19092 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
19093 (test_children_state_change_order_semi_sink), (gst_bin_suite):
19094 Added test to check state change order in bins (can still be made
19095 to fail here under heavy disk load; bails out with 'Push on pad
19096 fakesink:sink0, but it was not activated in push mode').
19098 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
19099 Fix state change order when there is only a semi sink (#316856)
19101 * gst/gstbus.c: (gst_bus_class_init):
19102 Use _class_peek_parent(), not _class_ref(); fix docs to say
19103 'default main context' instead of 'mainloop' where that is
19106 * gst/gstelement.c: (gst_element_commit_state),
19107 (gst_element_set_state):
19108 Fix typos in debug messages
19110 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
19113 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
19114 * gst/gstpluginfeature.c:
19116 various doc updates
19117 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19118 change an assert into an error until it gets fixed properly
19120 2005-09-23 Stefan Kost <ensonic@users.sf.net>
19122 * docs/gst/gstreamer-sections.txt:
19123 * docs/gst/tmpl/.cvsignore:
19124 * docs/gst/tmpl/gstelement.sgml:
19125 * docs/gst/tmpl/gstinfo.sgml:
19126 * docs/gst/tmpl/gstobject.sgml:
19127 * gst/gstelement.c:
19128 * gst/gstelement.h:
19131 * gst/gstobject.c: (gst_object_class_init):
19133 inlined 3 more biiiig doc files and added some missing docs on the fly
19135 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
19137 * check/gst/.cvsignore:
19138 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
19139 * gst/gstregistryxml.c: (load_plugin),
19140 (gst_registry_xml_save_plugin):
19141 put back source in registry. add checks for find_plugin.
19142 * testsuite/states/bin.c: (assert_state), (empty_bin),
19143 (test_adding_one_element), (main):
19144 * testsuite/states/locked.c: (main):
19145 some compile/run fixes
19147 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
19149 * check/gst/gstvalue.c: (GST_START_TEST):
19150 fix leaks in the test itself
19152 2005-09-22 Wim Taymans <wim@fluendo.com>
19154 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19155 (gst_base_sink_send_event), (gst_base_sink_peer_query),
19156 (gst_base_sink_query):
19157 Prepare for more accurate position reporting and query
19160 * gst/gstelement.c: (gst_element_send_event),
19161 (gst_element_set_state):
19164 2005-09-22 Wim Taymans <wim@fluendo.com>
19166 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
19167 (gst_query_parse_segment):
19169 More documentation.
19170 Add segment query for future use.
19172 2005-09-22 Wim Taymans <wim@fluendo.com>
19174 * gst/gstbin.c: (gst_bin_add_func):
19175 Some more debug info.
19177 * gst/gstelement.c: (gst_element_send_event):
19178 Simplify send_event
19180 * gst/gstelement.h:
19181 Don't know how flags got broken.
19186 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
19188 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
19189 Add simplistic test suite for GST_TYPE_DATE serialisation and
19192 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
19194 * docs/gst/gstreamer-sections.txt:
19195 * gst/gststructure.c: (gst_structure_set_valist),
19196 (gst_structure_get_date):
19197 * gst/gststructure.h:
19198 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
19199 (gst_date_copy), (gst_value_compare_date),
19200 (gst_value_serialize_date), (gst_value_deserialize_date),
19201 (gst_value_transform_date_string),
19202 (gst_value_transform_string_date), (_gst_value_initialize):
19204 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
19205 bunch of utility functions along with a hack that checks that
19206 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
19207 is required. Part of the grand scheme in #170777.
19209 2005-09-22 Andy Wingo <wingo@pobox.com>
19211 * gst/gstconfig.h.in: Psych out gtk-doc.
19213 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
19215 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
19217 * tools/gst-inspect.c (print_element_list): Plug some
19218 inconsequential leaks.
19220 * gst/gstregistry.c (gst_registry_get_default): Doc.
19222 * check/gst/gstplugin.c:
19223 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
19224 * gst/gstelementfactory.c (gst_element_factory_create):
19225 * gst/gstindexfactory.c (gst_index_factory_create): Update for
19228 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
19229 (gst_plugin_feature_load): Doc, don't eat refs.
19231 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
19232 (gst_plugin_list_free): Doc.
19233 (gst_plugin_load_file): Doc updates.
19235 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
19236 accessors returning refcounted objects, return a ref.
19238 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
19239 accessor for caps. IDEMPOTENCE. Oh yes.
19241 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
19243 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
19245 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
19246 (_gst_debug_register_funcptr):
19247 Add mutex to serialise access to the hash table with
19248 the function pointer => function name string mapping;
19249 make that hash table static scope (#316809).
19251 * gst/registries/.cvsignore:
19252 Remove left-over file.
19254 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
19256 * docs/pwg/appendix-porting.xml:
19257 And something about newsegment events and caps-on-buffers to
19258 the porting guide (feel free to improve).
19260 2005-09-21 Andy Wingo <wingo@pobox.com>
19262 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
19263 data and event probes on the same pad.
19264 (test_buffer_probe_once): Test that removing probes from within
19265 the probe functions works.
19267 2005-09-21 Andy Wingo <wingo@pobox.com>
19269 * check/gst/gstutils.c: New file.
19270 (test_buffer_probe_n_times): A simple buffer probe test. More to
19273 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
19274 have-data::buffer, not have-data.
19275 (gst_pad_add_event_probe): Likewise for have-data::event.
19276 (gst_pad_add_data_probe): More docs. The part about 'resolving the
19277 peer' isn't quite right yet though.
19278 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
19279 (gst_pad_remove_data_probe): Change to take the guint handler_id
19280 as their arg, not the function+data, which is more glib-like.
19282 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
19283 the signal emission to indicate if the data is a buffer or an
19285 (gst_pad_get_type): Initialize buffer and event quarks.
19286 (gst_pad_class_init): have-data is now a detailed signal, yes it
19289 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
19291 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
19292 * gst/gstutils.c: (gst_util_set_value_from_string),
19293 (gst_util_set_object_arg):
19294 Don't put functional code in g_return_if_fail() or
19295 g_return_val_if_fail() statements, otherwise things will
19296 break when G_DISABLE_CHECKS is defined during compilation.
19298 2005-09-21 Stefan Kost <ensonic@users.sf.net>
19300 * docs/gst/tmpl/.cvsignore:
19301 * docs/gst/tmpl/gstvalue.sgml:
19304 inlied another one and added some obvious docs
19306 2005-09-21 Wim Taymans <wim@fluendo.com>
19308 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
19309 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
19310 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
19311 (gst_fdsrc_get_property), (gst_fdsrc_create):
19312 * gst/elements/gstfdsrc.h:
19313 Properly implement fdsrc. Removed signal and timeout,
19314 better implemented somewhere else.
19316 2005-09-21 Stefan Kost <ensonic@users.sf.net>
19318 * docs/gst/tmpl/.cvsignore:
19319 * docs/gst/tmpl/gstimplementsinterface.sgml:
19320 * gst/gstinterface.c:
19323 2005-09-21 Stefan Kost <ensonic@users.sf.net>
19325 * docs/gst/gstreamer-sections.txt:
19326 * docs/gst/tmpl/.cvsignore:
19327 * docs/gst/tmpl/gstenumtypes.sgml:
19328 remove obsolete doc file
19330 2005-09-21 David Schleef <ds@schleef.org>
19332 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
19333 little beer, fix a little leak.
19335 2005-09-21 Stefan Kost <ensonic@users.sf.net>
19337 * docs/gst/gstreamer-docs.sgml:
19338 * docs/gst/gstreamer-sections.txt:
19339 * docs/gst/tmpl/.cvsignore:
19343 * gst/gstelement.h:
19344 * gst/gstindex.c: (gst_index_class_init):
19346 * gst/gstindexfactory.c: (gst_index_factory_get_type),
19347 (gst_index_factory_class_init), (gst_index_factory_init),
19348 (gst_index_factory_finalize), (gst_index_factory_new),
19349 (gst_index_factory_destroy), (gst_index_factory_find),
19350 (gst_index_factory_create), (gst_index_factory_make):
19351 * gst/gstindexfactory.h:
19352 * gst/gstpluginfeature.c:
19353 * gst/gstpluginfeature.h:
19354 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19355 more docs inlined, splitted gstindex.{c,h}
19357 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
19359 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19362 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
19364 * gst/elements/gstfilesink.c: (gst_file_sink_init):
19365 Set sync to FALSE by default.
19367 2005-09-20 Wim Taymans <wim@fluendo.com>
19369 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19370 (gst_base_sink_init):
19371 Make sync property settable from subclass.
19373 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
19374 (gst_fake_sink_change_state):
19375 Set sync to FALSE by default.
19377 2005-09-20 Wim Taymans <wim@fluendo.com>
19379 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
19380 * tools/gst-launch.c: (main):
19381 The timeout handler should have lower priority than the source
19382 so we don't timeout before popping a message with 0 timeout.
19383 Dump error messages after failed state change.
19385 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
19387 * tools/gst-inspect.c: (print_element_properties_info):
19390 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
19392 * check/gst/gstevent.c:
19393 * gst/elements/gstfakesink.c:
19394 * gst/elements/gstfakesink.h:
19395 remove the sync property from fakesink.
19396 has the side effect of setting sync TRUE
19397 for fakesink, which is a change. Anyone who knows how
19398 to fix this nicely in a GObject-y way, feel free.
19400 2005-09-20 Stefan Kost <ensonic@users.sf.net>
19402 * docs/gst/gstreamer-docs.sgml:
19403 remove probe refsection
19405 2005-09-20 Stefan Kost <ensonic@users.sf.net>
19407 * check/Makefile.am:
19408 disable valgrinding the controller test again
19409 * docs/gst/gstreamer-sections.txt:
19410 update for api-changes
19412 2005-09-20 Wim Taymans <wim@fluendo.com>
19414 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19415 (gst_base_sink_set_property), (gst_base_sink_get_property),
19416 (gst_base_sink_do_sync):
19417 * gst/base/gstbasesink.h:
19418 Added sync property to basesink to disable clock sync.
19420 2005-09-20 Andy Wingo <wingo@pobox.com>
19422 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
19423 eating the caller's refcount.
19425 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
19426 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
19429 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
19430 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
19431 of GLib 2.8 public, so we can know which refcount to check in
19434 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
19435 (gst_object_init): Only set the gst refcount if we're going ahead
19436 with the refcount hack.
19438 2005-09-20 Stefan Kost <ensonic@users.sf.net>
19440 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
19441 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19442 more leaks plumbed, added more debug-logging
19446 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
19448 * gst/gstmessage.c:
19449 remove include of gstmemchunk.h
19451 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
19453 * gst/gstclock.c: (_gst_clock_id_free):
19454 Commit from the Political Party For More Atomic CVS Commits,
19455 so that people don't waste too much of their day fishing
19456 out obvious leaks out of massive commits.
19457 Oh, and fix a pretty damn obvious leak in the memchunk
19460 2005-09-20 Stefan Kost <ensonic@users.sf.net>
19462 * check/Makefile.am:
19463 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
19464 plug mem-leak, re-add to valgrindable tests
19466 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
19469 unbreak the build for those who have chronic arthritis
19470 and typing "make check" is just too taxing on the hands
19472 2005-09-20 Andy Wingo <wingo@pobox.com>
19474 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
19475 really want it out, you should fix plugins at the same time.
19477 2005-09-19 Stefan Kost <ensonic@users.sf.net>
19480 * docs/gst/gstreamer-sections.txt:
19482 added missing symbols to api docs
19483 disable ref-count hack if we have glib >= 2.8
19485 2005-09-19 David Schleef <ds@schleef.org>
19487 * docs/gst/Makefile.am: Ignore a few more internal headers
19488 * docs/gst/gstreamer-docs.sgml: Remove old sections
19489 * docs/gst/gstreamer-sections.txt: Remove old sections
19490 * docs/gst/tmpl/gstobject.sgml: update
19491 * docs/gst/tmpl/gstplugin.sgml: update
19492 * docs/gst/tmpl/gstpluginfeature.sgml: update
19493 * docs/random/ds/0.9-suggested-changes: update.
19494 * gst/Makefile.am: remove memchunk and trashstack, since they're
19496 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
19497 * gst/gst.h: don't include some headers
19498 * gst/gstchildproxy.c: add gstmarshal.h
19499 * gst/gstclock.c: Don't use memchunks
19500 * gst/gstminiobject.c: Add some docs
19501 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
19502 * gst/gstobject.h: same
19503 * gst/gstplugin.c: include gstmacros.h
19504 * gst/gstplugin.h: don't include gstmacros.h, since it's private
19505 * gst/gstquery.c: don't use memchunks
19506 * gst/gstregistry.c: rename gst_registry_deinit()
19507 * gst/gstregistry.h: same
19509 2005-09-19 David Schleef <ds@schleef.org>
19511 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
19512 * docs/libs/gstreamer-libs-sections.txt:
19513 * docs/libs/tmpl/gstgetbits.sgml:
19514 * docs/libs/tmpl/gstputbits.sgml:
19516 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
19518 * win32/gstenumtypes.c:
19519 * win32/gstenumtypes.h:
19522 2005-09-19 Wim Taymans <wim@fluendo.com>
19524 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
19525 Automatically PAUSE and RESUME a pipeline when a flushing seek
19528 2005-09-19 Andy Wingo <wingo@pobox.com>
19530 * gst/gstregistry.h: Spacing fixen.
19532 2005-09-19 Wim Taymans <wim@fluendo.com>
19534 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
19535 Handle state change failure more correctly.
19537 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
19539 * check/Makefile.am:
19540 * check/pipelines/cleanup.c: (run_pipeline):
19541 * check/pipelines/simple_launch_lines.c: (run_pipeline),
19543 enable cleanup again after fixing the leak
19545 some more info on docs
19547 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
19549 * check/Makefile.am:
19550 re-enable tests now that leaks are plugged
19552 * check/gst/gstbin.c:
19553 * check/gst/gstpipeline.c:
19554 add some more tests while fixing leaks
19555 * common/check.mak:
19556 make sure binaries are uptodate when valgrinding/gdbing
19558 * gst/gstelementfactory.c:
19559 remove a ref too many, and add a FIXME for when we get
19560 round to disposing of classes
19562 fix the refcounting when loading a plugin from a file and
19563 the code pretends that the pointer is the same even though
19564 of course it can change
19565 * gst/gstpluginfeature.c:
19566 unref plugins marked cached (a bit confusing as a name)
19567 as the docs state should be done
19568 various doc additions to explain refcounting
19569 * gst/gstregistry.c:
19570 * gst/gstregistryxml.c:
19573 2005-09-19 Wim Taymans <wim@fluendo.com>
19575 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
19576 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
19577 (send_messages), (GST_START_TEST), (gstbus_suite):
19578 * check/gst/gstpipeline.c: (GST_START_TEST):
19579 * check/pipelines/cleanup.c: (run_pipeline):
19580 * check/pipelines/simple_launch_lines.c: (run_pipeline),
19582 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
19583 (gst_bus_source_check), (gst_bus_source_dispatch),
19584 (gst_bus_create_watch), (gst_bus_add_watch_full),
19585 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
19587 * tools/gst-launch.c: (event_loop):
19588 * tools/gst-md5sum.c: (event_loop):
19589 GstBusHandler -> GstBusFunc, return value has the same meaning as
19590 any other GSource (FALSE == remove source).
19591 _add_watch() and _add_watch_full() now take a MessageType mask to
19592 only handle specific types of messages.
19593 _poll() returns the GstMessage instead of the message type to avoid
19595 _have_pending() takes a MessageType mask now too.
19596 Added testsuite for multiple bus watches.
19597 Fix testsuites and applications for new bus API.
19599 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
19601 * check/Makefile.am:
19602 mark a bunch of the tests as to fix until we fix them
19604 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
19606 * common/check.mak:
19607 use GST_PLUGIN settings for valgrind tests as well, so we're
19608 valgrinding the correct thing
19609 * gst/gst.c: (init_post):
19612 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
19614 * gst/gst.c: (init_post), (gst_deinit):
19615 * gst/gstelementfactory.c: (gst_element_factory_class_init),
19616 (gst_element_factory_finalize), (gst_element_factory_cleanup):
19617 * gst/gstindex.c: (gst_index_factory_class_init),
19618 (gst_index_factory_finalize):
19619 * gst/gstobject.c: (gst_object_dispose):
19620 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
19621 (gst_plugin_load_file), (gst_plugin_desc_free):
19622 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
19623 (gst_plugin_feature_finalize):
19624 * gst/gstregistry.c: (gst_registry_class_init),
19625 (gst_registry_init), (gst_registry_finalize),
19626 (gst_registry_get_default), (gst_registry_deinit):
19627 * gst/gstregistry.h:
19628 * gst/gstregistryxml.c: (load_feature), (load_plugin):
19629 various cleanups and memleak plugging. make valgrind is happy now.
19631 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
19633 * common/check.mak:
19634 add a check-valgrind target
19636 2005-09-18 David Schleef <ds@schleef.org>
19638 * tools/gst-inspect.c: Revert the GOption code.
19640 2005-09-17 David Schleef <ds@schleef.org>
19642 * check/Makefile.am: Fix environment variables.
19643 * check/gst/gstplugin.c: Fix for API changes.
19644 * tools/gst-inspect.c: Fix for API changes.
19645 * tools/gst-xmlinspect.c: Fix for API changes.
19646 * gst/gstelementfactory.c:
19649 * gst/gstpluginfeature.c:
19650 * gst/gstpluginfeature.h:
19651 * gst/gstregistry.c:
19652 * gst/gstregistry.h:
19653 * gst/gstregistryxml.c:
19654 * gst/gsttypefind.c:
19655 * gst/gsttypefindfactory.c:
19656 * gst/indexers/gstfileindex.c:
19657 * gst/indexers/gstmemindex.c:
19658 * gst/schedulers/Makefile.am:
19659 Change registry to keep track of both plugins and features,
19660 removing the feature tracking from plugins themselves.
19662 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
19664 * check/Makefile.am:
19665 * tools/gst-register.1.in:
19666 remove gst-register
19668 2005-09-15 David Schleef <ds@schleef.org>
19670 * check/gst/gstplugin.c:
19671 * gst/gstelementfactory.c:
19673 * gst/gstpluginfeature.c:
19674 * gst/gstregistry.c:
19675 Getting tired of debugging. Disabled all the unreffing of
19676 plugins and features, which fixes the segfaults, but of
19677 course leaks like crazy. At least playbin works.
19679 2005-09-15 David Schleef <ds@schleef.org>
19681 * check/gst/gstplugin.c: (register_check_elements),
19682 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
19684 * gst/elements/gsttypefindelement.c: Fix refcounting.
19685 * gst/gsttypefind.c:
19686 * gst/gsttypefindfactory.c:
19687 * gst/gsttypefindfactory.h:
19689 2005-09-15 David Schleef <ds@schleef.org>
19691 * gst/gstindex.c: get refcounting correct.
19692 * gst/gstregistry.c: Handle the case where a feature/plugin is
19695 2005-09-15 David Schleef <ds@schleef.org>
19697 * check/Makefile.am:
19698 * check/gst/gstplugin.c: Add test
19699 * gst/gstplugin.c: Fix problems noticed by testsuite
19701 * gst/gstregistry.c:
19702 * gst/gstregistry.h:
19704 2005-09-15 David Schleef <ds@schleef.org>
19706 * gst/gstplugin.c: Implement semi-decent recounting and locking
19707 in plugins and plugin features.
19709 * gst/gstpluginfeature.c:
19710 * gst/gstpluginfeature.h:
19711 * gst/gstregistry.c:
19713 2005-09-15 Michael Smith <msmith@fluendo.com>
19715 * gst/gstregistry.c: (gst_registry_get_feature_list):
19716 Implement this. Makes oggdemux work; decodebin still broken.
19718 2005-09-14 David Schleef <ds@schleef.org>
19720 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
19722 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
19723 * gst/check/Makefile.am:
19724 * libs/gst/controller/Makefile.am:
19725 * libs/gst/dataprotocol/Makefile.am:
19727 2005-09-14 David Schleef <ds@schleef.org>
19729 * configure.ac: Remove getbits library. Nothing uses it, and
19730 it should be in something like liboil if someone did want
19732 * libs/gst/Makefile.am:
19733 * libs/gst/getbits/Makefile.am:
19734 * libs/gst/getbits/gbtest.c:
19735 * libs/gst/getbits/getbits.c:
19736 * libs/gst/getbits/getbits.h:
19737 * libs/gst/getbits/gstgetbits_generic.c:
19738 * libs/gst/getbits/gstgetbits_i386.s:
19739 * libs/gst/getbits/gstgetbits_inl.h:
19741 2005-09-14 David Schleef <ds@schleef.org>
19743 * gst/Makefile.am: Dist glib-compat.h
19745 2005-09-14 David Schleef <ds@schleef.org>
19747 * configure.ac: Remove gst/registries, since it's no longer used.
19748 * gst/registries/Makefile.am:
19749 * gst/registries/gstlibxmlregistry.c:
19750 * gst/registries/gstlibxmlregistry.h:
19751 * gst/registries/gstxmlregistry.c:
19752 * gst/registries/gstxmlregistry.h:
19753 * gst/registries/registrytest.c:
19755 2005-09-14 David Schleef <ds@schleef.org>
19757 * gst/glib-compat.h:
19758 * gst/gstregistryxml.c:
19759 Convergence is near. Seriously.
19761 2005-09-14 David Schleef <ds@schleef.org>
19763 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19764 * gst/glib-compat.h:
19765 Attempt #4 to appease the buildbots.
19767 2005-09-14 David Schleef <ds@schleef.org>
19769 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19772 2005-09-14 David Schleef <ds@schleef.org>
19774 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19777 2005-09-14 David Schleef <ds@schleef.org>
19779 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
19782 2005-09-14 David Schleef <ds@schleef.org>
19784 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19785 * gst/glib-compat.h: Add some functions that are in newer versions
19786 of glib than we care to require.
19787 * gst/gstregistryxml.c: Use them.
19789 2005-09-14 David Schleef <ds@schleef.org>
19791 * po/POTFILES.in: remove gst-register.c
19793 2005-09-14 David Schleef <ds@schleef.org>
19795 * docs/gst/gstreamer-docs.sgml:
19796 * docs/gst/gstreamer-sections.txt:
19797 * docs/gst/gstreamer.types:
19798 * docs/gst/tmpl/gstelement.sgml:
19799 * docs/gst/tmpl/gstplugin.sgml:
19800 * docs/gst/tmpl/gstpluginfeature.sgml:
19801 Documentation updates for registry changes.
19803 2005-09-14 David Schleef <ds@schleef.org>
19805 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
19806 because we don't require glib-2.8.
19808 2005-09-14 David Schleef <ds@schleef.org>
19810 * gst/gstregistryxml.c: Added. Essentially moved out of the
19811 registries directory.
19813 2005-09-14 David Schleef <ds@schleef.org>
19815 * check/Makefile.am:
19816 * check/generic/states.c:
19820 * gst/gst_private.h:
19821 * gst/gstelementfactory.c:
19826 * gst/gstpluginfeature.c:
19827 * gst/gstpluginfeature.h:
19828 * gst/gstregistry.c:
19829 * gst/gstregistry.h:
19830 * gst/gstregistrypool.c: remove
19831 * gst/gstregistrypool.h: remove
19832 * gst/gsttypefind.c:
19833 * gst/gsttypefindfactory.c:
19835 * tools/Makefile.am:
19836 * tools/gst-compprep.c:
19837 * tools/gst-inspect.c:
19838 * tools/gst-register.c: remove
19839 * tools/gst-xmlinspect.c:
19840 Registry rewrite. Changes registry from being a file created
19841 by a tool into a simple cache file created automatically by
19842 libgstreamer. Removed gst-register (because it's no longer
19843 needed). Remove registry pools, because we only have one
19844 registry implementation (XML). Fix up other subsystems as
19847 2005-09-13 Michael Smith <msmith@fluendo.com>
19849 * gst/gstconfig.h.in:
19850 Don't Use windows linking attributes for MinGW. Fixes #316157
19852 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
19854 * gst/gstutils.c: (set_state_async_thread_func),
19855 (gst_element_set_state_async):
19856 Apparently people think it's better if this function doesn't
19857 try to set the state to whatever state was asked for on the first
19858 call to this function for any object. Seriously.
19860 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
19862 * check/gst/gstpipeline.c: (GST_START_TEST):
19863 * docs/gst/gstreamer-sections.txt:
19864 * gst/gstutils.c: (set_state_async_thread_func),
19865 (gst_element_set_state_async):
19867 add a "gst_element_set_state_async" method that
19868 sets the state and starts a thread to make sure the state
19869 change completes as best as it can
19871 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
19873 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
19874 codify design+behaviour in testsuite after discussion
19876 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
19878 * docs/gst/tmpl/gstelement.sgml:
19879 * docs/manual/appendix-quotes.xml:
19881 * gst/gstelement.c: (gst_element_set_state):
19884 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
19886 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19887 (gst_base_transform_prepare_output_buf),
19888 (gst_base_transform_handle_buffer):
19889 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
19890 (gst_capsfilter_prepare_buf):
19891 Remove the requirement for sub-classes to call the parent
19892 implementation of prepare_output_buffer with a wrapper function.
19894 * gst/gsttaglist.h:
19895 * gst/gsttagsetter.h:
19896 Fix #define wrapper
19898 2005-09-11 Stefan Kost <ensonic@users.sf.net>
19900 * docs/gst/gstreamer-sections.txt:
19903 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
19905 * docs/gst/gstreamer-sections.txt:
19906 * docs/gst/tmpl/gstelement.sgml:
19907 * docs/gst/tmpl/gstplugin.sgml:
19908 * gst/gstminiobject.c:
19910 docs now stop throwing warnings
19912 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
19914 * docs/gst/gstreamer-sections.txt:
19915 * docs/gst/gstreamer.types:
19916 * docs/gst/tmpl/gstpad.sgml:
19917 * docs/gst/tmpl/gsttypes.sgml:
19918 * gst/base/gstadapter.h:
19919 * gst/base/gstbasesink.h:
19920 * gst/base/gstbasesrc.h:
19926 * gst/gstelement.h:
19928 * gst/gstmessage.h:
19930 * gst/gststructure.c:
19931 * gst/registries/gstlibxmlregistry.h:
19932 various documentation fixes
19934 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
19936 * docs/gst/gstreamer-sections.txt:
19937 * docs/gst/tmpl/gstvalue.sgml:
19938 rearrange gstvalue section
19939 * gst/gstutils.c: (gst_element_state_get_name):
19941 * gst/gstvalue.c: (_gst_value_initialize):
19945 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
19947 * check/gst-libs/controller.c:
19948 Header include fix.
19949 * gst/base/gstbasetransform.c:
19950 (gst_base_transform_default_prepare_buf),
19951 (gst_base_transform_handle_buffer):
19952 * gst/base/gstbasetransform.h:
19953 Some more basetransform changes and fixes to enable sub-classes
19954 that modify buffer metadata only.
19955 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
19956 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
19957 (gst_capsfilter_prepare_buf):
19958 If the output pad has fixed allowed caps and input buffers
19959 don't have any, set the fixed caps on outgoing buffers.
19961 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
19962 * check/elements/identity.c: (GST_START_TEST):
19963 Make the error a little clearer when the test fails because
19964 identity made a copy of the buffer.
19965 * docs/gst/gstreamer-sections.txt:
19966 New symbols in gstbasetransform.h
19967 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19968 (gst_base_transform_init), (gst_base_transform_transform_size),
19969 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
19970 (gst_base_transform_default_prepare_buf),
19971 (gst_base_transform_get_unit_size),
19972 (gst_base_transform_buffer_alloc),
19973 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
19974 (gst_base_transform_change_state),
19975 (gst_base_transform_set_passthrough),
19976 (gst_base_transform_set_in_place),
19977 (gst_base_transform_is_in_place):
19978 * gst/base/gstbasetransform.h:
19979 Change BaseTransform to separate in_place operate from same_caps
19980 output. in_place implies that the element can perform the transform
19981 on incoming buffers in-place, even if the caps on the output are
19983 Sub-class elements can now implement special buffer allocation
19984 methods for outgoing buffers if they wish to.
19985 Big documentation addition.
19986 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
19987 * gst/elements/gstelements.c:
19988 Changes for basetransform modifications.
19989 * gst/elements/Makefile.am:
19990 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
19991 Compile fix. Extra debug output.
19993 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
19995 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
19997 add tests for valid pad naming
19998 * gst/check/gstcheck.c: (gst_check_log_message_func),
19999 (gst_check_log_critical_func):
20001 remove printing of code, it is fragile when the code contains
20002 % and the line number is enough info
20003 * gst/check/gstcheck.h:
20004 * gst/gstpad.c: (gst_pad_template_new):
20007 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
20010 say what CHECK flags we use
20011 * docs/libs/gstreamer-libs.types:
20012 * libs/gst/controller/Makefile.am:
20013 * libs/gst/controller/gst-controller.c:
20014 * libs/gst/controller/gst-controller.h:
20015 * libs/gst/controller/gst-helper.c:
20016 * libs/gst/controller/gst-interpolation.c:
20017 * libs/gst/controller/gstcontroller.c:
20018 * libs/gst/controller/gsthelper.c:
20019 * libs/gst/controller/gstinterpolation.c:
20020 * tools/gst-inspect.c: (print_plugin_info):
20021 we don't use dashes in header names
20023 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
20025 * check/Makefile.am:
20026 * check/gst/.cvsignore:
20027 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
20028 (gst_pipeline_suite), (main):
20029 adding a test for pipelines and state changes
20030 * gst/gstutils.c: (get_state_func):
20032 * gstreamer.spec.in:
20035 2005-09-08 Michael Smith <msmith@fluendo.com>
20037 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
20038 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
20039 (gst_file_src_is_seekable), (gst_file_src_get_size),
20040 (gst_file_src_start):
20041 * gst/elements/gstfilesrc.h:
20042 Various fixes for unseekable, unmmapable, and non-normal files, so
20043 that fallback to read() rather than mmap() works.
20044 * gst/gstevent.c: (gst_event_new_newsegment):
20045 Allow newsegment events with segment_start == segment_end, as will
20046 correctly happen if you use filesrc on a zero-size file, for
20049 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
20051 * gst/gstplugin.c: (gst_plugin_load_file):
20052 Call g_module_close when we don't load the module
20054 * gst/registries/gstlibxmlregistry.c:
20055 (gst_xml_registry_get_property):
20056 Port leak fix from 0.8
20058 2005-09-07 Stefan Kost <ensonic@users.sf.net>
20060 * docs/gst/gstreamer-docs.sgml:
20061 * docs/gst/tmpl/.cvsignore:
20062 * docs/gst/tmpl/gsttrace.sgml:
20063 * docs/gst/tmpl/gsttrashstack.sgml:
20066 * gst/gstelement.h:
20068 * gst/gstmessage.c:
20069 * gst/gstmessage.h:
20072 * gst/gsttaginterface.c:
20073 * gst/gsttaginterface.h:
20074 * gst/gsttaglist.c:
20075 * gst/gsttaglist.h:
20076 * gst/gsttagsetter.c:
20077 * gst/gsttagsetter.h:
20080 * gst/gsttrashstack.c:
20081 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
20082 inlined docs for gsttrace, gsttrashstack
20084 2005-09-07 Stefan Kost <ensonic@users.sf.net>
20087 * gst/elements/gstbufferstore.h:
20088 * gst/elements/gsttypefindelement.c:
20089 * gst/elements/gsttypefindelement.h:
20091 * gst/gsttypefind.c:
20092 * gst/gsttypefind.h:
20093 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
20094 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
20095 (gst_type_find_factory_dispose),
20096 (gst_type_find_factory_unload_thyself),
20097 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
20098 (gst_type_find_factory_get_caps),
20099 (gst_type_find_factory_get_extensions),
20100 (gst_type_find_factory_call_function):
20101 * gst/gsttypefindfactory.h:
20102 * gst/registries/gstlibxmlregistry.c:
20103 * gst/registries/gstxmlregistry.c:
20104 splitted gsttypefind into gsttypefind, gsttypefindfactory
20106 2005-09-07 Andy Wingo <wingo@pobox.com>
20108 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
20109 condition whereby the pad's task function is entered before the
20110 pad_mode variable was set.
20112 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
20114 * gst/gstpad.c: (gst_pad_alloc_buffer):
20115 Catch misbehaving pad_alloc functions that don't
20116 set up caps and do it for them.
20118 2005-09-07 Stefan Kost <ensonic@users.sf.net>
20120 * check/pipelines/simple_launch_lines.c: (run_pipeline):
20121 test for pipe!=NULL
20122 * docs/gst/tmpl/.cvsignore:
20123 * docs/gst/tmpl/gstmemchunk.sgml:
20124 * docs/gst/tmpl/gstparse.sgml:
20125 * docs/gst/tmpl/gsttaglist.sgml:
20126 * docs/gst/tmpl/gsttagsetter.sgml:
20127 * docs/gst/tmpl/gsttypefind.sgml:
20128 * docs/gst/tmpl/gsttypefindfactory.sgml:
20129 * gst/gstmemchunk.c:
20132 * gst/gsttaginterface.c:
20133 * gst/gsttypefind.c:
20134 * gst/gsttypefind.h:
20137 === release 0.9.2 ===
20139 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
20144 releasing 0.9.2, "South"
20146 2005-09-05 Andy Wingo <wingo@pobox.com>
20148 * gst/registries/gstxmlregistry.h:
20149 * gst/registries/gstxmlregistry.c: Um... resurrect...
20151 * gst/registries/gstxmlregistry.h:
20152 * gst/registries/gstxmlregistry.c: and update to newer API.
20153 Incidentally they should be a bit faster now that they don't have
20156 2005-09-05 Andy Wingo <wingo@pobox.com>
20158 * gst/registries/gstxmlregistry.h:
20159 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
20160 replaced by the libxml registry a while back
20162 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
20164 * docs/gst/tmpl/gstplugin.sgml:
20165 * gst/elements/gstelements.c:
20167 * gst/gstplugin.c: (gst_plugin_register_func),
20168 (gst_plugin_desc_copy), (gst_plugin_desc_free),
20169 (gst_plugin_get_source):
20171 * gst/registries/gstlibxmlregistry.c: (load_plugin),
20172 (gst_xml_registry_save_plugin):
20173 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
20174 (gst_xml_registry_save_plugin):
20175 * tools/gst-inspect.c: (print_plugin_info):
20176 add a "source" plugin description field, to represent the source
20177 module this plugin is a part of. By default GST_PLUGIN_DEFINE
20178 will set it to PACKAGE, which is automake's idea of the name of
20179 the source project.
20181 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
20186 * docs/Makefile.am:
20187 * docs/faq/Makefile.am:
20188 * docs/gst/tmpl/gstelement.sgml:
20189 * docs/gst/tmpl/gsttypes.sgml:
20190 * docs/htmlinstall.mak:
20191 * docs/manual/Makefile.am:
20192 * docs/pwg/Makefile.am:
20193 reorganize doc build a little
20194 split out docbook and gtk-doc stuff
20195 have two separate --enable's and enable them through autogen
20196 but disable by default in configure (to be similar to other
20198 * gstreamer.spec.in:
20199 clean up docs install
20217 translation updates
20219 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
20221 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
20224 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
20225 (gst_fake_sink_change_state):
20226 Make state change function thread-safe.
20228 * gst/gstpad.c: (gst_pad_alloc_buffer):
20229 Set offset on generic buffer allocated by fallback.
20231 2005-09-03 Stefan Kost <ensonic@users.sf.net>
20233 * docs/gst/gstreamer-sections.txt:
20234 * docs/gst/tmpl/gstelement.sgml:
20236 * libs/gst/controller/gst-controller.c:
20237 (gst_controlled_property_set_interpolation_mode),
20238 (gst_controlled_property_new),
20239 (gst_controller_find_controlled_property):
20240 run the wingo-magic script against the docs
20242 2005-09-02 Stefan Kost <ensonic@users.sf.net>
20244 * docs/gst/gstreamer-docs.sgml:
20245 * docs/gst/gstreamer-sections.txt:
20246 * docs/gst/tmpl/.cvsignore:
20247 * docs/gst/tmpl/gstelementdetails.sgml:
20248 * docs/gst/tmpl/gstelementfactory.sgml:
20251 * gst/gstelementfactory.c:
20252 * gst/gstelementfactory.h:
20253 merged elementdetails docs into elementfactory docs
20256 2005-09-02 Andy Wingo <wingo@pobox.com>
20258 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
20259 consider this enum an enum and not a flags.
20261 2005-09-02 Stefan Kost <ensonic@users.sf.net>
20263 * docs/gst/gstreamer-docs.sgml:
20264 * docs/gst/tmpl/.cvsignore:
20265 * docs/gst/tmpl/gstghostpad.sgml:
20266 * docs/gst/tmpl/gstiterator.sgml:
20267 * docs/gst/tmpl/gstmacros.sgml:
20268 * docs/gst/tmpl/gstrealpad.sgml:
20269 * docs/gst/tmpl/gstregistry.sgml:
20270 * docs/gst/tmpl/gstregistrypool.sgml:
20271 * docs/gst/tmpl/gststructure.sgml:
20272 * docs/gst/tmpl/gstsystemclock.sgml:
20273 * docs/gst/tmpl/gsttrace.sgml:
20274 * gst/gstghostpad.c:
20276 * gst/gstmemchunk.c:
20277 * gst/gstmemchunk.h:
20279 * gst/gstregistry.c:
20280 * gst/gstregistrypool.c:
20281 * gst/gststructure.c:
20282 * gst/gstsystemclock.c:
20285 2005-09-02 Andy Wingo <wingo@pobox.com>
20287 * gst/gstelement.h (GstState): Renamed from GstElementState,
20288 changed to be a normal enum instead of flags.
20289 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
20290 munged to be GST_STATE_CHANGE_*.
20291 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
20292 work with the new state representation.
20293 (GstStateChange): New enumeration of possible state transitions.
20294 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
20295 (GstElementClass::change_state): Pass the GstStateChange along as
20296 an argument. Helps language bindings, so they don't have to use
20297 tricky lock-needing macros like GST_STATE_CHANGE ().
20299 * scripts/update-states (file): New script. Run it on a file to
20300 update it for state naming and API changes. Updates files in
20303 * All files updated for the new API.
20305 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
20307 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
20308 * gst/gstutils.c: (gst_util_set_value_from_string),
20309 (gst_util_set_object_arg):
20310 fix a bunch of unchecked return values
20311 * tools/gst-complete.c: (main):
20312 * gstreamer.spec.in:
20315 2005-09-01 Wim Taymans <wim@fluendo.com>
20317 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20318 (gst_base_sink_event), (gst_base_sink_do_sync),
20319 (gst_base_sink_handle_event):
20320 * gst/base/gstbasesink.h:
20321 Handle newsegments more correctly.
20326 * gst/gstevent.c: (gst_event_new_newsegment):
20327 A newsegment cannot have a start_time of -1
20329 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
20331 * win32/gstenumtypes.c:
20332 * win32/gstenumtypes.h:
20335 2005-08-31 Stefan Kost <ensonic@users.sf.net>
20337 * libs/gst/controller/gst-controller.c:
20338 (gst_controlled_property_set_interpolation_mode),
20339 (gst_controlled_property_new):
20340 fixed boolean again
20342 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
20344 * docs/faq/gst-uninstalled:
20349 * gst/gstutils.c: (gst_element_link_filtered):
20351 add gst_element_link_filtered
20353 2005-08-31 Stefan Kost <ensonic@users.sf.net>
20355 * docs/gst/gstreamer-docs.sgml:
20356 * docs/gst/gstreamer-sections.txt:
20357 * docs/gst/tmpl/.cvsignore:
20358 * docs/gst/tmpl/gsterror.sgml:
20359 * docs/gst/tmpl/gstfilter.sgml:
20360 * docs/gst/tmpl/gsturihandler.sgml:
20361 * docs/gst/tmpl/gsturitype.sgml:
20362 * docs/gst/tmpl/gstutils.sgml:
20363 * docs/gst/tmpl/gstxml.sgml:
20368 * gst/gsturitype.c:
20371 inlined more docs, fixed double id-ref
20373 2005-08-31 Wim Taymans <wim@fluendo.com>
20375 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
20376 (gst_base_transform_handle_buffer):
20377 Passthrough elements don't need the caps as they don't care.
20379 2005-08-31 Wim Taymans <wim@fluendo.com>
20381 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
20382 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
20383 Don't leak refcounts on buffers.
20385 2005-08-31 Wim Taymans <wim@fluendo.com>
20387 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
20388 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
20389 (gst_base_transform_chain), (gst_base_transform_change_state):
20390 * gst/base/gstbasetransform.h:
20391 Handle the case where we are not negotiated more gracefully.
20393 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
20395 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
20396 (gst_file_src_map_region):
20397 Set READONLY flag on mmap'ed buffers, otherwise
20398 gst_buffer_make_writable() won't work properly (#314708).
20400 2005-08-31 Wim Taymans <wim@fluendo.com>
20402 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
20403 passthrough elements can even do inplace on non writable
20404 buffers (as they don't touch them).
20406 2005-08-31 Stefan Kost <ensonic@users.sf.net>
20408 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
20409 (gst_test_mono_source_set_property),
20410 (gst_test_mono_source_class_init), (GST_START_TEST),
20411 (gst_controller_suite):
20412 more tests (hehe I have the most)
20414 describe popping messages whenusing mulltiple sources
20415 * libs/gst/controller/gst-controller.c:
20416 (gst_controlled_property_set_interpolation_mode),
20417 (gst_controlled_property_new):
20418 * libs/gst/controller/gst-controller.h:
20419 * libs/gst/controller/gst-interpolation.c:
20420 implement boolean properties
20422 2005-08-31 Wim Taymans <wim@fluendo.com>
20424 * gst/gstminiobject.c: (gst_mini_object_ref):
20425 Cannot assert that the refcount has to be positive
20426 since a disposed object can be resurrected.
20428 2005-08-31 Wim Taymans <wim@fluendo.com>
20430 * gst/gstpad.c: (gst_pad_init):
20431 Revert change, need to first fix badly behaving
20434 2005-08-30 Wim Taymans <wim@fluendo.com>
20436 * check/elements/fakesrc.c: (setup_fakesrc):
20437 * check/elements/identity.c: (setup_identity):
20438 Activate pads before using them.
20440 2005-08-30 Wim Taymans <wim@fluendo.com>
20442 * gst/base/gstadapter.c: (gst_adapter_flush):
20443 Flushing out 0 bytes is ok for this function.
20445 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20446 no newsegment gives a warning and sets the start/stop to
20449 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
20450 (gst_base_transform_set_passthrough):
20453 * gst/gstminiobject.c: (gst_mini_object_ref):
20454 Check refcount here too.
20456 * gst/gstpad.c: (gst_pad_init):
20457 Pads are initially flushing and refusing data.
20459 * gst/gstutils.c: (gst_element_link_pads_filtered):
20460 When adding a capsfilter element make sure it has the
20461 same state as the parent bin.
20463 2005-08-30 Stefan Kost <ensonic@users.sf.net>
20465 * docs/gst/tmpl/.cvsignore:
20466 * docs/gst/tmpl/gstformat.sgml:
20467 * docs/gst/tmpl/gstversion.sgml:
20471 * gst/gstversion.h.in:
20472 more docs and two more inlined
20474 2005-08-30 Wim Taymans <wim@fluendo.com>
20476 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
20477 Don't sync to clock.
20479 2005-08-30 Stefan Kost <ensonic@users.sf.net>
20481 * docs/gst/gstreamer-sections.txt:
20482 ultral33t func10ns deserve to appear in the docs actually
20483 * docs/gst/tmpl/.cvsignore:
20484 * docs/gst/tmpl/gstcompat.sgml:
20485 * docs/gst/tmpl/gstconfig.sgml:
20486 * gst/check/gstcheck.c:
20488 * gst/gstconfig.h.in:
20491 2005-08-30 Stefan Kost <ensonic@users.sf.net>
20493 * docs/gst/tmpl/.cvsignore:
20494 * docs/gst/tmpl/gstquery.sgml:
20495 * docs/gst/tmpl/gstutils.sgml:
20498 inlined and extended docs
20500 2005-08-30 Stefan Kost <ensonic@users.sf.net>
20502 * check/gst-libs/controller.c: (GST_START_TEST),
20503 (gst_controller_suite):
20505 * docs/gst/tmpl/gstutils.sgml:
20506 * docs/libs/gstreamer-libs-sections.txt:
20507 * docs/libs/tmpl/gstdataprotocol.sgml:
20509 * examples/controller/audio-example.c: (main):
20510 controller example works now
20513 * tools/gst-inspect.c: (print_element_properties_info):
20514 show param spec flags
20516 2005-08-29 Andy Wingo <wingo@pobox.com>
20518 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
20520 2005-08-28 Andy Wingo <wingo@pobox.com>
20522 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
20523 as having two arguments instead of just one. Allows superclasses
20524 to access information on subclasses -- see the terrible for() loop
20525 in gtype.c:g_type_create_instance for the reason why. All callers
20528 2005-08-27 Stefan Kost <ensonic@users.sf.net>
20530 * docs/design/part-messages.txt:
20532 * docs/gst/tmpl/.cvsignore:
20533 * docs/gst/tmpl/gstcaps.sgml:
20534 * docs/gst/tmpl/gstclock.sgml:
20540 * gst/gstmessage.c:
20541 added descriptions for bus and message
20542 inline caps and clock docs
20544 2005-08-27 Stefan Kost <ensonic@users.sf.net>
20546 * gst/gstmessage.c:
20547 * gst/gstmessage.h:
20550 2005-08-27 Stefan Kost <ensonic@users.sf.net>
20552 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
20555 2005-08-26 Andy Wingo <wingo@pobox.com>
20557 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
20558 element_set_state's return val.
20559 (test_2_elements): Add test that's been disabled for months.
20561 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
20562 can-activate-pull properties.
20564 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
20565 can-activate-pull properties. Implement is_seekable so fakesrc can
20566 operate in pull mode.
20568 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
20570 (gst_base_sink_activate, gst_base_sink_activate_pull)
20571 (gst_base_sink_activate_push): Make activation mode choosing work.
20573 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
20574 is right. Make pull mode work. Post an eos before pausing in pull
20576 (gst_base_sink_change_state): Pay attention to the core's
20577 change_state() return val.
20579 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
20580 has-getrange properties. Cleanups.
20582 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
20583 has_getrange and replace with can_activate_pull and
20586 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
20587 locking comments. Remove has_loop, has_chain and replace with
20588 can_activate_pull and can_activate_push.
20590 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
20593 * examples/Makefile.am:
20594 * examples/metadata/Makefile.am:
20595 * examples/metadata/read-metadata.c: (message_loop),
20596 (have_pad_handler), (make_pipeline), (print_tag), (main):
20597 Add metadata reading example that loops over a list of filenames,
20598 dumping any tags found.
20600 * gst/gstbus.c: (gst_bus_dispose):
20601 * gst/gstelement.c: (gst_element_dispose):
20602 Release a few potentially-held references in dispose.
20604 2005-08-26 Stefan Kost <ensonic@users.sf.net>
20606 * docs/gst/tmpl/gstminiobject.sgml:
20607 do *not* add tmpl/*.sgml files to CVS!
20609 2005-08-26 Stefan Kost <ensonic@users.sf.net>
20611 * libs/gst/bytestream/.cvsignore:
20612 * libs/gst/bytestream/Makefile.am:
20613 * libs/gst/bytestream/adapter.c:
20614 * libs/gst/bytestream/adapter.h:
20615 * libs/gst/bytestream/bytestream.c:
20616 * libs/gst/bytestream/bytestream.h:
20617 * libs/gst/bytestream/filepad.c:
20618 * libs/gst/bytestream/filepad.h:
20619 removing obsolete files
20621 2005-08-26 Stefan Kost <ensonic@users.sf.net>
20623 * docs/gst/gstreamer-docs.sgml:
20624 * docs/libs/gstreamer-libs-docs.sgml:
20625 disabed additional index entries again, as this makes docs-gen just
20626 slow and they aren't useful yet
20627 * docs/libs/gstreamer-libs-sections.txt:
20628 little -section.txt cleanup for libs
20630 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
20632 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20633 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
20634 fix up some debugging
20635 (gst_base_transform_get_unit_size),
20636 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
20637 (gst_base_transform_handle_buffer):
20638 * gst/base/gstbasetransform.h:
20639 handle and store timed NEWSEGMENT events so that subclasses that
20640 calculate time by counting samples have a segment_start time they
20641 need to add to their timestamps - see audioresample
20643 2005-08-26 Stefan Kost <ensonic@users.sf.net>
20646 removed ';' from the end of macro defs
20647 * docs/gst/gstreamer-docs.sgml:
20648 * docs/gst/gstreamer-sections.txt:
20649 * docs/gst/tmpl/.cvsignore:
20651 * gst/gstelement.c: (gst_element_class_init),
20652 (gst_element_set_state), (activate_pads),
20653 (gst_element_save_thyself):
20654 * gst/gstevent.c: (gst_event_new_newsegment):
20656 * gst/gstiterator.c:
20657 * gst/gstiterator.h:
20660 * gst/gstutils.c: (gst_pad_query_convert):
20662 fixed parameter name mismatches between source, header and docs
20663 added some more docs, resolved the last batch of unused elements in
20664 docs (now someone needs to doc them)
20666 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
20668 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
20669 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
20670 don't walk through the plugins backwards. Where is all this
20671 reversed logic coming from ?
20673 2005-08-25 Wim Taymans <wim@fluendo.com>
20675 * gst/base/gstbasetransform.c: (gst_base_transform_init),
20676 (gst_base_transform_transform_size),
20677 (gst_base_transform_configure_caps),
20678 (gst_base_transform_get_unit_size),
20679 (gst_base_transform_buffer_alloc),
20680 (gst_base_transform_change_state):
20681 * gst/base/gstbasetransform.h:
20682 Cache caps unit_size.
20683 Make sure we cannot negotiate up and downstream at the
20686 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
20688 * gst/gst.c: (init_pre), (init_post):
20689 register the installed plugin path after the env var
20690 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
20691 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
20692 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
20693 directories, so the tests can prefer uninstalled over installed
20695 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
20697 * gst/base/gstbasetransform.h:
20702 2005-08-25 Wim Taymans <wim@fluendo.com>
20704 * gst/gstbin.c: (bin_bus_handler):
20705 Be a bit more conservative about the posted message.
20707 * gst/gstbus.c: (gst_bus_post):
20708 Some cleanups, warn wrong return values.
20710 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
20712 * check/gst/gstbin.c: (GST_START_TEST):
20713 * gst/gstbin.c: (bin_bus_handler):
20714 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
20715 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
20716 (gst_message_new_warning), (gst_message_new_tag),
20717 (gst_message_new_state_changed), (gst_message_new_segment_start),
20718 (gst_message_new_segment_done), (gst_message_new_custom):
20719 * gst/gstmessage.h:
20720 * tools/gst-launch.c: (event_loop):
20721 * tools/gst-md5sum.c: (event_loop):
20722 Revert unpopular change for GST_MESSAGE_SRC to GObject.
20724 2005-08-25 Wim Taymans <wim@fluendo.com>
20726 * check/generic/states.c: (GST_START_TEST):
20727 Cleanup can be done at the end.
20729 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
20730 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
20731 (gst_task_get_state), (gst_task_start), (gst_task_pause):
20732 Oh boy.. Thanks for finding this, Thomas.
20734 2005-08-25 Stefan Kost <ensonic@users.sf.net>
20736 * docs/gst/gstreamer.types:
20737 added missing types
20739 2005-08-25 Stefan Kost <ensonic@users.sf.net>
20741 * docs/gst/gstreamer-docs.sgml:
20742 * docs/gst/gstreamer-sections.txt:
20743 * docs/gst/tmpl/.cvsignore:
20745 * gst/gstiterator.c:
20747 * gst/registries/gstxmlregistry.h:
20748 added missing classes and symbols (123 more to go)
20749 removed removed symbols from section file
20750 fixed many doc-comments
20752 2005-08-24 Wim Taymans <wim@fluendo.com>
20754 * check/generic/states.c: (GST_START_TEST):
20755 Make sure all tasks are stopped.
20757 * check/gst/gstbin.c: (GST_START_TEST):
20758 Unref after usage for proper valgrinding.
20760 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
20761 Really wait for the task to stop before destroying the
20764 * gst/gstqueue.c: (gst_queue_sink_activate_push),
20765 (gst_queue_src_activate_push):
20766 Small cleanups. Don't stop the task when we did not start
20769 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
20770 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
20771 (gst_task_get_state), (gst_task_start), (gst_task_pause),
20774 Protect the stream lock with the object lock.
20775 Disallow setting the stream lock when running.
20776 Add cleanup_all to wait for the threadpool to finish.
20777 Remove code to autoallocate a mutex if none was provided.
20778 Add _join() to wait for a task to stop.
20779 Protect the thread pool with a global lock.
20781 2005-08-24 Wim Taymans <wim@fluendo.com>
20783 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20784 (gst_base_sink_get_times), (gst_base_sink_do_sync),
20785 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
20786 * gst/base/gstbasesink.h:
20787 Handle newsegment events correctly.
20788 Drop buffers out of the segment range.
20790 2005-08-22 Andy Wingo <wingo@pobox.com>
20792 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
20793 macro, implements an interface and gstimplementsinterface for a
20796 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
20798 * check/Makefile.am:
20799 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
20800 add a test that does a bunch of state changes on elements
20801 needs some fixing for valgrind
20802 * check/states/sinks.c: (gst_object_suite):
20805 add prototype for gst_caps_is_equal_fixed
20807 * gst/gstregistrypool.c:
20810 2005-08-24 Andy Wingo <wingo@pobox.com>
20812 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
20813 convert a negative value. Doesn't make much sense. Mostly this is
20814 here to force callers to ensure -1 maps to -1.
20816 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
20818 * docs/pwg/advanced-types.xml:
20819 Well done to Michael for catching my deliberate introduction
20820 of this spelling mistake.
20821 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
20822 * gst/gstelement.h:
20823 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
20824 unlink pads before removing the element from the bin.
20826 2005-08-24 Andy Wingo <wingo@pobox.com>
20828 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
20829 the same thing as GST_DEBUG=*:4.
20830 (parse_debug_level, parse_debug_category): New helper parsers.
20832 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
20834 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20835 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
20836 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
20837 (gst_base_transform_buffer_alloc),
20838 (gst_base_transform_handle_buffer):
20839 use gboolean return values and pointers to size so we can use the
20840 full GST_BUFFER_SIZE range (guint) for buffer sizes
20841 use GstPadDirection for transform_caps
20842 * gst/base/gstbasetransform.h:
20843 rename get_size to get_unit_size since that's what it is
20844 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
20845 use GstPadDirection for transform_caps
20846 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20848 cleanup and debugging
20850 2005-08-24 Stefan Kost <ensonic@users.sf.net>
20852 * gst/gstelement.c: (gst_element_class_init),
20853 (gst_element_set_state), (activate_pads),
20854 (gst_element_save_thyself):
20855 * tools/gst-compprep.c: (main):
20856 * tools/gst-inspect.c: (print_element_properties_info):
20857 * tools/gst-xmlinspect.c: (print_element_properties):
20858 Fixed long standing mem-leak
20860 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
20862 * check/gst/gstbin.c: (GST_START_TEST):
20863 * gst/gstbin.c: (bin_bus_handler):
20864 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
20865 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
20866 (gst_message_new_warning), (gst_message_new_tag),
20867 (gst_message_new_state_changed), (gst_message_new_segment_start),
20868 (gst_message_new_segment_done), (gst_message_new_custom):
20869 * gst/gstmessage.h:
20870 * tools/gst-launch.c: (event_loop):
20871 * tools/gst-md5sum.c: (event_loop):
20872 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
20873 that applications can sensibly post custom messages with references
20874 to their own objects.
20876 2005-08-24 Andy Wingo <wingo@pobox.com>
20878 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
20881 2005-08-24 Wim Taymans <wim@fluendo.com>
20883 * gst/base/gstbasetransform.c: (gst_base_transform_init),
20884 (gst_base_transform_transform_caps),
20885 (gst_base_transform_transform_size),
20886 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20887 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
20888 (gst_base_transform_handle_buffer):
20889 * gst/base/gstbasetransform.h:
20890 Many fixes and new features added by Thomas. Can now also do
20891 transforms with variable sizes and a custom fixate_caps function.
20893 2005-08-24 Wim Taymans <wim@fluendo.com>
20895 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20899 Cast to ClockTime before formatting to time.
20904 2005-08-24 Stefan Kost <ensonic@users.sf.net>
20906 * check/gst-libs/controller.c: (GST_START_TEST),
20907 (gst_controller_suite):
20908 * docs/gst/tmpl/gstcaps.sgml:
20909 * docs/gst/tmpl/gstghostpad.sgml:
20910 * docs/gst/tmpl/gstquery.sgml:
20911 * docs/gst/tmpl/gstutils.sgml:
20912 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
20913 (gst_object_sink_values), (gst_object_get_value_arrays),
20914 (gst_object_get_value_array):
20915 gracefully handle helper method calls to objects that are not beeing
20916 controlled, added test case for that
20918 2005-08-23 Wim Taymans <wim@fluendo.com>
20920 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
20921 (gst_event_new_newsegment), (gst_event_parse_newsegment),
20922 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
20923 (gst_event_parse_qos), (gst_event_new_seek),
20924 (gst_event_parse_seek):
20926 Some more debugging output and doc cleanups.
20928 * gst/gstqueue.c: (gst_queue_handle_sink_event):
20929 Fix possible deadlock.
20931 2005-08-23 Stefan Kost <ensonic@users.sf.net>
20933 * docs/gst/gstreamer-docs.sgml:
20934 * docs/gst/gstreamer-sections.txt:
20935 * docs/gst/gstreamer.types:
20936 * docs/gst/tmpl/.cvsignore:
20939 * gst/gstelement.c:
20941 added 100 symbols from gstreamer-unused.txt to the right sections
20942 fixed more broken comments
20943 added GstBus to docs
20945 2005-08-23 Stefan Kost <ensonic@users.sf.net>
20947 * docs/gst/gstreamer-sections.txt:
20948 * docs/gst/tmpl/.cvsignore:
20949 * docs/gst/tmpl/gstbin.sgml:
20950 * docs/gst/tmpl/gstbuffer.sgml:
20951 * gst/base/gstbasesrc.c:
20952 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
20955 * tools/gst-launch.1.in:
20956 inlined more doc comments, added missing comments and fixed comments
20959 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
20961 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20965 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
20967 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
20968 * gst/gststructure.h:
20969 add a fixate function for booleans; add a FIXME that these func
20970 names should probably be gst_structure_fixate_*
20972 2005-08-23 Stefan Kost <ensonic@users.sf.net>
20974 * docs/gst/gstreamer-docs.sgml:
20975 * docs/gst/gstreamer-sections.txt:
20977 * gst/gstbin.c: (gst_bin_get_type),
20978 (gst_bin_child_proxy_get_child_by_index),
20979 (gst_bin_child_proxy_get_children_count),
20980 (gst_bin_child_proxy_init):
20981 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
20982 (gst_child_proxy_get_child_by_index),
20983 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
20984 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
20985 (gst_child_proxy_get), (gst_child_proxy_set_property),
20986 (gst_child_proxy_set_valist), (gst_child_proxy_set),
20987 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
20988 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
20989 * gst/gstchildproxy.h:
20990 * gst/parse/grammar.y:
20991 * tools/gst-inspect.c: (print_interfaces),
20992 (print_element_properties_info), (print_element_info):
20993 ported gstchildproxy over from 0.8
20994 ported gst-inspect fixes and enhancements over from 0.8
20996 2005-08-22 Wim Taymans <wim@fluendo.com>
20998 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20999 (gst_base_transform_handle_buffer):
21000 Also call the transform function if we have ANY caps.
21002 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
21005 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
21007 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
21008 Don't pretend to handle seek events if the source is not seekable
21010 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
21012 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21013 Remove extra parameter to debug output
21015 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21016 (gst_base_src_do_seek), (gst_base_src_activate_push):
21017 Fix seek event handling.
21019 * gst/gstpipeline.c: (gst_pipeline_change_state):
21020 * gst/gstqueue.c: (gst_queue_handle_sink_event),
21021 (gst_queue_src_activate_push):
21022 Don't start the src pad task on FLUSH_STOP if the pad
21026 2005-08-22 Wim Taymans <wim@fluendo.com>
21028 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
21029 Added check for gst_static_caps_get() refcounting.
21031 2005-08-22 Wim Taymans <wim@fluendo.com>
21033 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
21034 Make _static_caps_get() refcounting sane.
21036 * gst/gstelement.c: (gst_element_set_state):
21037 Add g_return_val_if_fail() to protect against segfaults.
21039 2005-08-22 Stefan Kost <ensonic@users.sf.net>
21041 * docs/gst/tmpl/gstevent.sgml:
21044 inlined remaining docs, added missing doc comments
21046 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
21048 * check/gst/gstbin.c: (GST_START_TEST):
21049 since we don't know when preroll is done, use refcount range
21051 * gst/check/gstcheck.h:
21052 add macro for checking refcount range
21054 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
21056 * check/Makefile.am:
21057 clean up environment for when registry gets built versus
21058 when actual tests are run; valgrind seems to not report
21059 leaks if GST_PLUGIN_PATH is set to some specific values
21060 * check/gst/gstbin.c: (GST_START_TEST):
21061 add more refcounting checks; maybe this exposes a
21063 * common/check.mak:
21064 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21065 * gst/check/gstcheck.h:
21066 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
21067 (gst_bin_change_state):
21068 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
21069 add/fix debugging/whitespace
21071 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
21073 * check/gst/gstevent.c: (event_probe), (test_event),
21075 Er, don't call gst_bin_watch_for_state_change you idiot.
21077 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
21079 * check/Makefile.am:
21080 Use CHECK_CFLAGS and CHECK_LIBS
21081 * check/gst/gstevent.c: (event_probe), (test_event),
21084 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21085 (gst_base_src_start), (gst_base_src_stop),
21086 (gst_base_src_activate_push), (gst_base_src_activate_pull),
21087 (gst_base_src_change_state):
21088 Sprinkle gst_base_src_stop liberally around error paths to fix
21089 problems reusing a source after failed state changes.
21090 * gst/base/gsttypefindhelper.c: (helper_find_peek),
21091 (helper_find_suggest), (gst_type_find_helper):
21092 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
21094 * docs/gst/tmpl/gstevent.sgml:
21095 Migrate part of the docs from the SGML file. Wait for ensonic to
21096 tell me how I did it wrong ;)
21097 * tools/gst-typefind.c: (main):
21098 Extra robustness to state changes between files.
21100 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
21102 * check/Makefile.am:
21103 don't valgrind the controller test - it's leaking - Stefan, HELP
21104 * gst/check/gstcheck.c: (gst_check_message_error),
21105 (gst_check_chain_func), (gst_check_setup_element),
21106 (gst_check_teardown_element), (gst_check_setup_src_pad),
21107 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
21108 (gst_check_teardown_sink_pad):
21109 * gst/check/gstcheck.h:
21110 add a bunch of methods to set up elements, and src and sink pads
21111 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
21112 * check/elements/identity.c: (setup_identity), (cleanup_identity),
21115 * gst/gstmessage.c:
21117 whitespace/doc fixes
21119 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
21121 * gst/gstelement.h:
21122 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
21123 be handled by the application and not always printed as well
21125 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
21127 * check/Makefile.am:
21129 * gst/check/gstcheck.c: (gst_check_message_error):
21130 * gst/check/gstcheck.h:
21131 add a fail_unless_equals_int
21132 add fail_unless for error messages
21134 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
21136 * check/Makefile.am:
21138 * common/Makefile.am:
21139 * common/check.mak:
21141 factor out some of the common stuff so we can use it
21143 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
21145 * check/Makefile.am:
21146 * check/gst/gstiterator.c: (GST_START_TEST):
21147 * check/gst/gstsystemclock.c: (GST_START_TEST),
21148 (gst_systemclock_suite):
21149 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
21151 valgrind more tests
21153 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
21155 * check/elements/.cvsignore:
21156 * check/elements/gstfakesrc.c:
21157 rename to name of element
21158 * check/elements/identity.c: (chain_func), (event_func),
21159 (setup_identity), (cleanup_identity), (GST_START_TEST),
21160 (identity_suite), (main):
21161 add a test for identity
21162 * check/Makefile.am:
21163 * pkgconfig/Makefile.am:
21164 * pkgconfig/gstreamer-check.pc.in:
21165 * pkgconfig/gstreamer-check-uninstalled.pc.in:
21169 move the check stuff to a library that gets installed
21170 * check/gst-libs/controller.c: (GST_START_TEST):
21171 * check/gst-libs/gdp.c:
21172 * check/gst/gst.c: (GST_START_TEST):
21173 * check/gst/gstbin.c:
21174 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21175 * check/gst/gstbus.c:
21176 * check/gst/gstcaps.c: (GST_START_TEST):
21177 * check/gst/gstelement.c:
21178 * check/gst/gstghostpad.c:
21179 * check/gst/gstiterator.c:
21180 * check/gst/gstmessage.c:
21181 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
21182 * check/gst/gstobject.c:
21183 * check/gst/gstpad.c: (GST_START_TEST):
21184 * check/gst/gststructure.c: (GST_START_TEST):
21185 * check/gst/gstsystemclock.c: (GST_START_TEST),
21186 (gst_systemclock_suite):
21187 * check/gst/gsttag.c: (gst_tag_suite):
21188 * check/gst/gstvalue.c:
21189 * check/pipelines/cleanup.c:
21190 * check/pipelines/simple_launch_lines.c:
21191 * check/states/sinks.c:
21192 change include statement
21194 * docs/gst/gstreamer-sections.txt:
21195 * docs/gst/tmpl/gstpad.sgml:
21196 document more pad stuff
21197 * gst/gstminiobject.c: (gst_mini_object_ref),
21198 (gst_mini_object_unref):
21201 2005-08-19 Stefan Kost <ensonic@users.sf.net>
21203 * docs/gst/tmpl/gst.sgml:
21205 eliminate another tmpl file, fix spelling in the long-description
21207 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
21209 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21210 (test_event), (timediff), (gstevents_suite):
21211 Should fix build on 64-bit arch's
21213 2005-08-18 Andy Wingo <wingo@pobox.com>
21215 Make sure that when a pipeline goes to PLAYING, that data has
21216 actually hit the sink.
21218 * check/states/sinks.c (test_sink): A sink that doesn't get any
21219 data shouldn't return SUCCESS for going to either PLAYING or
21220 PAUSED. Test also the return values on the way back down.
21222 * gst/gstelement.c (gst_element_set_state): When changing the
21223 state of an element currently changing state asynchronously, go to
21224 lost-state after commiting the pending state. Makes future calls
21225 to get_state continue to return ASYNC.
21227 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
21228 ASYNC when going to PLAYING if we still don't have preroll, as can
21229 happen with live sources.
21231 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
21233 * docs/pwg/advanced-types.xml:
21234 Hack long paragraph into 2 chunks as a workaround for buggy
21235 jadetex version in sid and breezy that loops infinitely and
21238 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
21240 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21241 (test_event), (timediff), (gstevents_suite):
21242 Provide more error margin in clock measurements to allow for
21243 g_get_current_time inaccuracies.
21245 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
21247 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21248 (test_event), (timediff), (gstevents_suite):
21249 Fix error message output so I might be able to tell why the
21250 test works here but fails on the build farm.
21252 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
21254 * check/Makefile.am:
21255 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21256 (test_event), (timediff), (gstevents_suite), (main):
21259 * docs/design/part-seeking.txt:
21260 Spelling correction
21262 * docs/gst/tmpl/gstevent.sgml:
21263 * docs/gst/tmpl/gstfakesrc.sgml:
21266 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21267 Treat a buffer-without-newsegment the same as a receiving
21268 a newsegment not in time format, and disable syncing to the clock
21271 * gst/gstbus.c: (gst_bus_set_sync_handler):
21272 Assert if anyone tries to replace the existing sync_handler for bus,
21273 as only the owner should be setting it.
21276 Have a fixed set of custom event enums with events identified by
21277 their structure name (as in 0.8), rather than a free-for-all
21278 allowing collisions between enum values from different plugins.
21280 * gst/gstpad.c: (gst_pad_class_init):
21283 * gst/gstqueue.c: (gst_queue_handle_sink_event):
21284 Handle out-of-band downstream events from the sending thread.
21286 2005-08-17 Andy Wingo <wingo@pobox.com>
21288 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
21289 play-timeout==0 to mean no timeout at all. In that case, don't
21290 bother with a get_state or a warning, just return directly, even
21293 * gst/base/gstbasetransform.c: Debug changes.
21296 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
21297 ensure bins post state change messages. A bit of a hack but I can't
21298 think of a way to avoid it.
21300 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
21302 2005-08-16 Andy Wingo <wingo@pobox.com>
21304 * gst/base/gstadapter.h:
21305 * gst/base/gstadapter.c (gst_adapter_take): New function, like
21306 peek() but you own the data. Not terribly efficient atm.
21308 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21310 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
21311 (gst_element_found_tags):
21313 Add two utility functions for tag handling.
21315 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21317 * docs/manual/advanced-dataaccess.xml:
21318 * docs/manual/basics-helloworld.xml:
21319 Fix docs to use _bin_add() before _link(), which fixes the examples
21320 with recent core versions (reported by Madhan Raj M
21321 <raj_madan@rediffmail.com>, #313199).
21323 2005-08-16 Wim Taymans <wim@fluendo.com>
21325 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
21326 Added subtract checks.
21328 * docs/design/part-events.txt:
21329 Some more docs about newsegment
21331 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
21334 * gst/gstcaps.c: (gst_caps_to_string):
21335 Add comments, cleanups.
21337 * gst/gstelement.c: (gst_element_save_thyself):
21340 * gst/gstvalue.c: (gst_value_collect_int_range),
21341 (gst_string_unwrap), (gst_value_union_int_int_range),
21342 (gst_value_union_int_range_int_range),
21343 (gst_value_intersect_int_int_range),
21344 (gst_value_intersect_int_range_int_range),
21345 (gst_value_intersect_double_double_range),
21346 (gst_value_intersect_double_range_double_range),
21347 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
21348 (gst_value_subtract_int_range_int),
21349 (gst_value_subtract_double_range_double),
21350 (gst_value_subtract_double_range_double_range),
21351 (gst_value_subtract_from_list), (gst_value_subtract_list),
21352 (gst_value_can_compare), (gst_value_compare_fraction):
21353 Cleanups, add comments, remove unneeded asserts.
21355 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
21357 * tools/gst-launch.c: (event_loop):
21358 don't convert NULL structures to strings
21360 2005-08-15 Stefan Kost <ensonic@users.sf.net>
21362 * docs/gst/gstreamer-sections.txt:
21363 made some defines private
21364 * docs/gst/tmpl/gstconfig.sgml:
21365 * docs/gst/tmpl/gstqueue.sgml:
21366 * docs/gst/tmpl/gsttaglist.sgml:
21367 * docs/gst/tmpl/gsttypes.sgml:
21368 * docs/gst/tmpl/gstutils.sgml:
21369 * docs/pwg/appendix-porting.xml:
21370 * gst/base/gstbasesink.h:
21371 * gst/base/gstbasesrc.c:
21372 * gst/base/gstbasesrc.h:
21373 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
21374 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
21375 * gst/gstelement.c: (gst_element_class_init):
21376 * gst/gstpad.c: (gst_pad_class_init):
21377 * gst/gstqueue.c: (gst_queue_class_init):
21378 * gst/gstxml.c: (gst_xml_class_init):
21379 documented all undocumented signal inline
21380 * libs/gst/controller/gst-controller.h:
21383 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21385 * docs/pwg/appendix-porting.xml:
21386 Document _set_link_function -> _set_setcaps_function.
21388 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
21390 * check/Makefile.am:
21391 add a .check target for running the check
21392 * check/gst-libs/controller.c: (GST_START_TEST):
21394 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21395 complete checks for gstbuffer; would be nice if I could get the
21396 gcov stuff to work so I can see if I actually completed gstbuffer.c
21397 * check/gstcheck.h:
21398 add ASSERT_BUFFER_REFCOUNT
21400 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
21402 * docs/gst/gstreamer-sections.txt:
21403 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
21405 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
21406 spew out a warning if a tag that is already registered
21407 is re-registered, unless it is re-registered with a
21408 different type (#308438).
21410 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
21412 * docs/pwg/appendix-porting.xml:
21413 * docs/pwg/building-state.xml:
21414 Add some paragraphs about state changes in 0.9 to the PWG
21415 and the porting guide, in particular about the new meaning
21416 of GST_STATE_PAUSED and how to write state change functions
21417 with concurrent access by multiple threads in mind.
21419 2005-08-11 Stefan Kost <ensonic@users.sf.net>
21421 * docs/gst/gstreamer-docs.sgml:
21422 * docs/libs/gstreamer-libs-docs.sgml:
21423 added deprecation and since indexes
21424 * libs/gst/controller/gst-controller.c:
21425 * libs/gst/controller/gst-helper.c:
21429 2005-08-11 Wim Taymans <wim@fluendo.com>
21431 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
21432 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
21433 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
21434 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
21435 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
21436 (gst_ghost_pad_set_target):
21437 Actually implement (re)setting the target on a ghostpad
21438 as described in the docs.
21440 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
21442 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
21443 Check whether GST_DEBUG_NO_COLOR environment variable is
21444 set and disable coloured debug output if that is the case.
21446 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
21448 * gst/base/gsttypefindhelper.c: (helper_find_peek),
21449 (gst_type_find_helper):
21450 The memory returned by gst_type_find_peek() needs to
21451 stay valid until the end of a typefind function, and
21452 typefind functions may keep results from different
21453 offsets around, so we can't just unref the buffer from
21454 the previous _peek(), but have to save all buffers
21455 returned by _peek() until typefinding is done and only
21458 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
21460 * docs/gst/gstreamer-sections.txt:
21462 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
21464 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21466 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
21467 Fix a pretty good memleak.
21469 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
21471 * gst/gstiterator.h:
21472 Fix wrong include and 'make distcheck'.
21474 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21476 * gst/gstbin.c: (bin_bus_handler):
21477 Use gst_element_post_message() instead.
21479 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
21481 * gst/base/gstadapter.h:
21482 * gst/base/gstbasesink.h:
21483 * gst/base/gstbasesrc.h:
21484 * gst/base/gstbasetransform.h:
21485 * gst/base/gstcollectpads.h:
21486 * gst/base/gstpushsrc.h:
21487 * gst/gstiterator.h:
21488 Add padding to our base elements' class and instance structs and
21489 to GstIterator (you will need to rebuild all plugins and apps!)
21491 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21493 * gst/gstbin.c: (bin_bus_handler):
21494 Make default message forwarding from child->bus to bin->bus
21495 threadsafe and make it not emit warnings if the parent has no bus.
21497 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21499 * gst/gstelement.c: (activate_pads):
21500 On paused->ready, set pad->caps to NULL, as is the documented
21501 behaviour in this state change. Fixes playback of series of
21502 media files when visualization is enabled in Totem.
21504 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21506 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
21507 Allow NULL as filter-caps (which means "any").
21509 2005-08-05 Stefan Kost <ensonic@users.sf.net>
21511 * docs/libs/gstreamer-libs-sections.txt:
21512 * libs/gst/controller/gst-controller.c:
21513 * libs/gst/controller/gst-controller.h:
21514 * libs/gst/controller/gst-helper.c:
21515 adding more entries to the docs and fix small doc-bugs
21517 2005-08-05 Stefan Kost <ensonic@users.sf.net>
21519 * docs/gst/gstreamer-docs.sgml:
21520 * docs/gst/gstreamer-sections.txt:
21521 * docs/gst/gstreamer.types:
21522 * docs/gst/tmpl/gstbasesink.sgml:
21523 * docs/gst/tmpl/gstbasesrc.sgml:
21524 * docs/gst/tmpl/gstbasetransform.sgml:
21525 * docs/gst/tmpl/gstfakesrc.sgml:
21526 * gst/base/gstcollectpads.c:
21527 * gst/base/gstcollectpads.h:
21528 * libs/gst/controller/gst-controller.c:
21529 * libs/gst/controller/gst-controller.h:
21530 * libs/gst/controller/gst-helper.c:
21531 * libs/gst/controller/gst-interpolation.c:
21532 * libs/gst/controller/lib.c:
21533 added long/short desc for controller docs
21534 added collectpads base class docs
21535 added correct includes to base-class docs
21537 2005-08-05 Stefan Kost <ensonic@users.sf.net>
21539 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
21540 (gst_test_mono_source_set_property),
21541 (gst_test_mono_source_class_init), (GST_START_TEST),
21542 (gst_controller_suite):
21543 * docs/gst/gstreamer-docs.sgml:
21544 * docs/gst/gstreamer-sections.txt:
21545 * docs/gst/gstreamer.types:
21546 * docs/libs/gstreamer-libs-docs.sgml:
21547 * docs/libs/gstreamer-libs-sections.txt:
21548 * gst/base/gstadapter.c:
21549 * libs/gst/controller/gst-controller.c:
21550 (gst_controlled_property_new), (gst_controlled_property_free),
21551 (gst_controller_new_valist),
21552 (gst_controller_remove_properties_valist),
21553 (gst_controller_sink_values), (_gst_controller_finalize):
21554 * libs/gst/controller/gst-controller.h:
21555 * libs/gst/controller/gst-helper.c:
21556 (gst_object_control_properties), (gst_object_uncontrol_properties),
21557 (gst_object_get_controller), (gst_object_set_controller),
21558 (gst_object_sink_values), (gst_object_get_value_arrays),
21559 (gst_object_get_value_array):
21560 more tests (and fixes) for the controller
21561 more docs for the controller
21562 integrated companies docs for the adapter
21564 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
21566 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
21567 (GST_START_TEST), (fakesrc_suite):
21568 add tests for sizetype
21570 2005-08-04 Andy Wingo <wingo@pobox.com>
21572 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
21573 fixes buffer_alloc proxying among other things.
21575 * gst/base/gstbasetransform.c:
21576 * gst/base/gstbasetransform.h:
21577 Revert patch to gstbasetransform from 7-28 removing
21580 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
21581 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
21582 Semantics changed, should return not the size of the output buffer
21583 but the byte size of a buffer with a given caps.
21585 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
21587 (gst_base_transform_configure_caps): Don't set out_size here: (in,
21588 out) are not the pad caps until setcaps finishes.
21589 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
21590 not-in-place case as well. Deal with changing from in-place to
21591 not-in-place within calling pad_alloc_buffer. Still a bit
21592 concerned about the overhead here...
21594 2005-08-03 Andy Wingo <wingo@pobox.com>
21596 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
21597 fixating is an error.
21599 2005-08-04 Edward Hervey <edward@fluendo.com>
21601 * gst/base/gstadapter.h:
21602 Added gst_adapter_get_type() to the header
21604 2005-08-03 Stefan Kost <ensonic@users.sf.net>
21606 * check/Makefile.am:
21607 * check/gst-libs/controller.c:
21608 * libs/gst/controller/gst-controller.c:
21609 (gst_controller_new_valist):
21610 added check test suite for the controller
21611 * gst/base/gstpushsrc.c:
21614 2005-08-03 Stefan Kost <ensonic@users.sf.net>
21616 * docs/gst/Makefile.am:
21617 * docs/gst/gstreamer-docs.sgml:
21618 * docs/gst/gstreamer-sections.txt:
21619 * docs/gst/gstreamer.types:
21620 * docs/gst/tmpl/gstfakesrc.sgml:
21622 * gst/base/gstbasesink.c:
21623 * gst/base/gstbasesink.h:
21624 * gst/base/gstbasesrc.c:
21625 * gst/base/gstbasesrc.h:
21626 * gst/base/gstbasetransform.c:
21627 * gst/base/gstpushsrc.c:
21628 * gst/base/gstpushsrc.h:
21629 add short/long description docs to base classes
21630 add pushsrc to the docs
21631 remove consolidated doc fragments
21633 2005-08-03 Stefan Kost <ensonic@users.sf.net>
21636 * docs/libs/Makefile.am:
21637 * docs/libs/gstreamer-libs-docs.sgml:
21638 * docs/libs/gstreamer-libs-sections.txt:
21639 * docs/libs/gstreamer-libs.types:
21640 * examples/Makefile.am:
21641 * examples/controller/.cvsignore:
21642 * examples/controller/Makefile.am:
21643 * examples/controller/audio-example.c: (main):
21644 * libs/gst/Makefile.am:
21645 * libs/gst/controller/.cvsignore:
21646 * libs/gst/controller/Makefile.am:
21647 * libs/gst/controller/gst-controller.c:
21648 (on_object_controlled_property_changed), (gst_timed_value_compare),
21649 (gst_timed_value_find),
21650 (gst_controlled_property_set_interpolation_mode),
21651 (gst_controlled_property_new), (gst_controlled_property_free),
21652 (gst_controller_find_controlled_property),
21653 (gst_controller_new_valist), (gst_controller_new),
21654 (gst_controller_remove_properties_valist),
21655 (gst_controller_remove_properties), (gst_controller_set),
21656 (gst_controller_set_from_list), (gst_controller_unset),
21657 (gst_controller_get), (gst_controller_get_all),
21658 (gst_controller_sink_values), (gst_controller_get_value_arrays),
21659 (gst_controller_get_value_array),
21660 (gst_controller_set_interpolation_mode),
21661 (_gst_controller_finalize), (_gst_controller_init),
21662 (_gst_controller_class_init), (gst_controller_get_type):
21663 * libs/gst/controller/gst-controller.h:
21664 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
21665 (g_object_uncontrol_properties), (g_object_get_controller),
21666 (g_object_set_controller), (g_object_sink_values),
21667 (g_object_get_value_arrays), (g_object_get_value_array):
21668 * libs/gst/controller/gst-interpolation.c:
21669 (gst_controlled_property_find_timed_value_node),
21670 (interpolate_none_get), (interpolate_trigger_get),
21671 (interpolate_trigger_get_value_array):
21672 * libs/gst/controller/lib.c: (gst_controller_init):
21673 * pkgconfig/Makefile.am:
21674 * pkgconfig/gstreamer-control-uninstalled.pc.in:
21675 * pkgconfig/gstreamer-control.pc.in:
21676 * testsuite/Makefile.am:
21677 * testsuite/controller/.cvsignore:
21678 * testsuite/controller/Makefile.am:
21679 * testsuite/controller/interpolator.c: (main):
21680 added controller code
21681 removed dparam pc files
21683 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
21684 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
21685 (gst_collectpads_stop):
21686 Broadcast the condition when shutting down, to make sure we wake all
21687 threads up. Shut down pads on finalize, for safety.
21689 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
21690 * gst/base/gstbasetransform.c: (gst_base_transform_init),
21691 (gst_base_transform_handle_buffer),
21692 (gst_base_transform_change_state):
21693 Handle PAUSED->READY->PAUSED transition after negotiation
21695 * gst/gstmessage.c: (gst_message_init):
21696 Extra piece of debug for new messages.
21698 2005-08-01 Stefan Kost <ensonic@users.sf.net>
21701 * docs/gst/tmpl/gstbasesrc.sgml:
21702 * docs/gst/tmpl/gstelement.sgml:
21703 * docs/gst/tmpl/gstevent.sgml:
21704 * docs/gst/tmpl/gstfakesrc.sgml:
21705 * docs/gst/tmpl/gstformat.sgml:
21706 * docs/gst/tmpl/gstghostpad.sgml:
21707 * docs/gst/tmpl/gstpad.sgml:
21708 * docs/gst/tmpl/gstquery.sgml:
21709 * docs/gst/tmpl/gststructure.sgml:
21710 * docs/gst/tmpl/gsttaglist.sgml:
21711 * docs/gst/tmpl/gstvalue.sgml:
21712 * docs/libs/gstreamer-libs-docs.sgml:
21713 * docs/libs/gstreamer-libs-sections.txt:
21714 * docs/libs/gstreamer-libs.types:
21715 * libs/gst/Makefile.am:
21716 * libs/gst/control/.cvsignore:
21717 * libs/gst/control/Makefile.am:
21718 * libs/gst/control/control.c:
21719 * libs/gst/control/control.h:
21720 * libs/gst/control/dparam.c:
21721 * libs/gst/control/dparam.h:
21722 * libs/gst/control/dparam_smooth.c:
21723 * libs/gst/control/dparam_smooth.h:
21724 * libs/gst/control/dparamcommon.h:
21725 * libs/gst/control/dparammanager.c:
21726 * libs/gst/control/dparammanager.h:
21727 * libs/gst/control/dplinearinterp.c:
21728 * libs/gst/control/dplinearinterp.h:
21729 * libs/gst/control/unitconvert.c:
21730 * libs/gst/control/unitconvert.h:
21731 * testsuite/Makefile.am:
21732 * testsuite/dynparams/.cvsignore:
21733 * testsuite/dynparams/Makefile.am:
21734 * testsuite/dynparams/dparamstest.c:
21735 * tools/Makefile.am:
21736 * tools/gst-inspect.c: (print_element_info), (main):
21737 * tools/gst-xmlinspect.c: (print_element_info), (main):
21738 deactivate and remove dparams (libgstcontrol)
21740 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
21742 * gst/elements/gsttypefindelement.c:
21743 (gst_type_find_element_have_type), (gst_type_find_element_init),
21744 (stop_typefinding), (gst_type_find_element_handle_event),
21745 (gst_type_find_element_chain), (gst_type_find_element_getrange):
21746 * gst/elements/gsttypefindelement.h:
21747 Set caps on all outgoing buffers, not just the first one.
21749 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
21751 * gst/elements/gsttypefindelement.c:
21752 (gst_type_find_element_have_type),
21753 (gst_type_find_element_check_set_buffer_caps),
21754 (gst_type_find_element_init), (stop_typefinding),
21755 (gst_type_find_element_handle_event),
21756 (gst_type_find_element_chain), (gst_type_find_element_getrange):
21757 * gst/elements/gsttypefindelement.h:
21758 Set caps on first outgoing buffer when we've found the type.
21760 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
21762 * docs/gst/gstreamer-docs.sgml:
21763 * docs/gst/gstreamer-sections.txt:
21764 * docs/gst/tmpl/gstscheduler.sgml:
21765 * docs/gst/tmpl/gstschedulerfactory.sgml:
21766 Remove some old cruft from docs.
21768 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
21771 Fix inline docs for GstPadLinkReturn.
21773 * gst/gststructure.c: (gst_structure_has_name):
21774 * gst/gststructure.h:
21775 * docs/gst/gstreamer-sections.txt:
21776 New API: gst_structure_has_name().
21778 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
21781 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
21782 and _LARGEFILE_SOURCE in config.h as required. Do not
21783 export those flags in our .pc files any longer (#142209).
21785 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
21787 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
21788 (gst_file_sink_do_seek), (gst_file_sink_event),
21789 (gst_file_sink_get_current_offset), (gst_file_sink_render):
21790 Redo seek/tell calls with large file support in mind; add some
21791 debugging messages; add log message that tells us when large
21792 file support is unavailable or not enabled for some reason.
21794 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
21795 Add log message that tells us when large file support
21796 is unavailable or not enabled for some reason.
21798 2005-07-29 Wim Taymans <wim@fluendo.com>
21800 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21801 Added test for removing an element with ghostpad from a bin.
21802 Fixed test as current implementation does the right thing.
21804 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
21805 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
21806 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
21807 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
21808 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
21809 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
21810 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
21811 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
21812 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
21813 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
21814 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
21815 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
21816 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
21817 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
21818 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
21819 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
21820 * gst/gstghostpad.h:
21821 Clean up ghostpads, remove properties for internal stuff.
21824 Prepare for switching targets, not all use cases work yet.
21826 2005-07-29 Wim Taymans <wim@fluendo.com>
21828 * docs/design/part-gstghostpad.txt:
21831 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
21832 (gst_bin_remove_func):
21833 Unlinking pads while holding the bin LOCK is not a good
21836 * gst/gstpad.c: (gst_pad_class_init),
21837 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
21838 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
21839 No prob setting template after creating the pad.
21841 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
21843 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
21844 (gst_bus_peek), (gst_bus_source_dispatch),
21845 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
21846 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
21847 gst_bus_poll may be called from other threads. Handle
21848 this nicely by not making poll_data disappear off the
21849 stack once gst_bus_poll returns.
21850 gst_bus_peek now increments the refcount on the returned
21853 2005-07-29 Wim Taymans <wim@fluendo.com>
21855 * docs/design/part-gstghostpad.txt:
21856 Overview of current GhostPad datastructures and use
21857 cases for changing the target.
21859 2005-07-28 Wim Taymans <wim@fluendo.com>
21861 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
21862 Added checks for hierarchy consistency whan adding linked
21865 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
21866 Added check to test element scheduling without bin/pipeline.
21868 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21869 First add elements to bin, then link.
21871 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
21872 (gst_bin_remove_func):
21873 Unlink pads from elements added/removed from bin to maintain
21874 hierarchy consistency.
21876 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21878 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
21879 (gst_base_transform_handle_buffer):
21880 * gst/base/gstbasetransform.h:
21881 Remove broken delay_configure (fixes renegotiation of software
21882 scaling pipelines); remove some leftover printf()s.
21884 2005-07-28 Wim Taymans <wim@fluendo.com>
21886 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21887 Added some more tests for wrong hierarchy
21889 * docs/design/part-overview.txt:
21892 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
21895 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
21896 (gst_element_dispose):
21897 Some more cleanups.
21899 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
21900 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
21901 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21902 (gst_pad_set_caps), (gst_pad_send_event):
21903 Check for correct hierarchy when linking pads. Moving to
21904 strict requirement for ghostpads when linking elements in
21908 Clean ups. Added WRONG_HIERARCHY return value.
21910 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21912 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
21913 Better debug if no transform is possible.
21915 2005-07-27 Wim Taymans <wim@fluendo.com>
21917 * docs/random/wtay/network-transp:
21918 Some old doc I had.
21920 2005-07-27 Wim Taymans <wim@fluendo.com>
21922 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
21923 (gst_dp_event_from_packet):
21924 Fix serialization of seek events.
21926 2005-07-27 Wim Taymans <wim@fluendo.com>
21928 * check/gst-libs/gdp.c: (GST_START_TEST):
21929 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21930 Fix compilation and fix event serialization.
21932 2005-07-27 Wim Taymans <wim@fluendo.com>
21935 * docs/design/part-TODO.txt:
21936 * docs/design/part-events.txt:
21939 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21940 (gst_base_sink_event), (gst_base_sink_do_sync),
21941 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
21942 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21943 (gst_base_src_do_seek), (gst_base_src_event_handler),
21944 (gst_base_src_loop):
21945 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
21946 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21947 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
21948 (gst_base_transform_event), (gst_base_transform_handle_buffer),
21949 (gst_base_transform_set_passthrough),
21950 (gst_base_transform_is_passthrough):
21951 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21952 * gst/elements/gstfilesink.c: (gst_file_sink_event):
21958 * gst/gstelement.c: (gst_element_seek):
21959 * gst/gstelement.h:
21960 Update gst_element_seek.
21962 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
21963 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
21964 (gst_event_new_flush_start), (gst_event_new_flush_stop),
21965 (gst_event_new_eos), (gst_event_new_newsegment),
21966 (gst_event_parse_newsegment), (gst_event_new_tag),
21967 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
21968 (gst_event_parse_qos), (gst_event_new_seek),
21969 (gst_event_parse_seek), (gst_event_new_navigation):
21971 Make GstEvent use GstStructure. Add parsing code, make sure the
21972 API is sufficiently generic.
21973 Mark possible directions of events and serialization.
21975 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
21976 (_gst_message_copy), (gst_message_new_segment_start),
21977 (gst_message_new_segment_done), (gst_message_new_custom),
21978 (gst_message_parse_segment_start),
21979 (gst_message_parse_segment_done):
21982 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21983 (gst_pad_set_caps), (gst_pad_send_event):
21984 Update for new events.
21985 Catch events sent in wrong directions.
21987 * gst/gstqueue.c: (gst_queue_link_src),
21988 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
21989 (gst_queue_handle_src_query):
21994 Remove event code from this file.
21996 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
21997 (gst_dp_event_from_packet):
22000 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22002 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
22003 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22004 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
22005 Make debugging actually useful.
22007 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22009 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
22010 (gst_pad_fixate_caps):
22011 Implement default fixation once again, so that gst_pad_fixate()
22012 actually does anything at all. This probably needs to be some
22013 sort of a last resort, and use profile-based fixation first, but
22014 since that doesn't exist yet, this is the best we have. Fixes
22015 visualization in Totem.
22017 2005-07-22 Wim Taymans <wim@fluendo.com>
22019 * docs/design/part-events.txt:
22022 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22023 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
22024 (gst_base_sink_activate_pull):
22025 Some more comments.
22027 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
22028 (gst_fake_src_create):
22029 Fix handoff marshall.
22031 * gst/elements/gstidentity.c: (gst_identity_class_init),
22032 (gst_identity_transform_ip):
22033 We're a real inplace element.
22035 * gst/gstbus.c: (gst_bus_post):
22036 Added some comments.
22038 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
22039 * tests/muxing/case1.c: (main):
22040 * tests/sched/dynamic-pipeline.c: (main):
22041 * tests/sched/interrupt1.c: (main):
22042 * tests/sched/interrupt2.c: (main):
22043 * tests/sched/interrupt3.c: (main):
22044 * tests/sched/runxml.c: (main):
22045 * tests/sched/sched-stress.c: (main):
22046 * tests/seeking/seeking1.c: (event_received), (main):
22047 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
22049 * tests/threadstate/threadstate3.c: (main):
22050 * tests/threadstate/threadstate4.c: (main):
22051 * tests/threadstate/threadstate5.c: (main):
22054 2005-07-21 Wim Taymans <wim@fluendo.com>
22056 * docs/design/part-seeking.txt:
22057 Some small additions.
22059 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22060 (gst_base_sink_get_times), (gst_base_sink_do_sync),
22061 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
22062 * gst/base/gstbasesink.h:
22063 discont values are gint64, handle the math correctly.
22065 * gst/base/gstbasesrc.c: (gst_base_src_loop):
22066 Make the basesrc report error if the source pad is not linked.
22068 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22069 (gst_queue_loop), (gst_queue_handle_src_query),
22070 (gst_queue_src_activate_push):
22071 Make queue collect data even if the srcpad is not linked.
22072 Start pushing out data as soon as it is linked.
22074 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
22076 Added gst_flow_get_name() to ease error reporting.
22078 2005-07-20 Wim Taymans <wim@fluendo.com>
22080 * gst/gstmessage.c: (gst_message_new_segment_start),
22081 (gst_message_new_segment_done), (gst_message_parse_segment_start),
22082 (gst_message_parse_segment_done):
22083 * gst/gstmessage.h:
22084 Added a bunch of messages for advanced seeking.
22086 * gst/parse/grammar.y:
22087 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
22088 (gst_dpman_state_changed):
22089 Fix some new-pad -> pad-added signals
22091 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22093 * docs/manual/appendix-porting.xml:
22094 * docs/pwg/appendix-porting.xml:
22095 Document new-pad/state-change signal renames and the FixedList
22098 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22100 * docs/manual/advanced-autoplugging.xml:
22101 * docs/manual/basics-helloworld.xml:
22102 * docs/manual/basics-pads.xml:
22103 * docs/random/ds/0.9-suggested-changes:
22104 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
22105 * gst/gstelement.h:
22109 * gst/gststructure.c: (gst_structure_value_get_generic_type),
22110 (gst_structure_parse_array), (gst_structure_parse_value):
22111 * gst/gstvalue.c: (gst_type_is_fixed),
22112 (gst_value_list_prepend_value), (gst_value_list_append_value),
22113 (gst_value_list_get_size), (gst_value_list_get_value),
22114 (gst_value_transform_array_string), (gst_value_serialize_array),
22115 (gst_value_deserialize_array), (gst_value_intersect_array),
22116 (gst_value_is_fixed), (_gst_value_initialize):
22118 GstElement::new-pad -> pad-added, GstElement::state-change ->
22119 state-changed, GstValueFixedList -> GstValueArray, add format and
22120 flags as their own arguments in gst_element_seek() (should improve
22121 "bindeability"), remove function generators since they don't work
22122 under a whole bunch of compilers (they were deprecated already
22125 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22127 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
22128 (_gst_debug_register_funcptr):
22130 Fix illegal cast on some platforms (#309253).
22132 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22134 * gst/gstmessage.c: (gst_message_new_custom):
22135 * gst/gstmessage.h:
22136 Add _new_custom, make _new_application a macro to _new_custom.
22138 2005-07-20 Wim Taymans <wim@fluendo.com>
22140 * gst/base/gstbasesrc.c: (gst_base_src_init),
22141 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22142 * gst/base/gstbasesrc.h:
22143 Add a gboolean to decide when to push out a discont.
22145 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22146 (gst_queue_loop), (gst_queue_handle_src_query),
22147 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
22148 (gst_queue_set_property), (gst_queue_get_property):
22151 * tests/threadstate/threadstate1.c: (main):
22152 Make a thread test compile and run... very silly..
22155 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22157 * docs/manual/appendix-porting.xml:
22158 Mention removal of libgstgconf-0.9.la and existence of gconf
22161 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22163 * docs/pwg/advanced-clock.xml:
22164 * docs/pwg/appendix-porting.xml:
22165 * docs/pwg/intro-preface.xml:
22166 * docs/pwg/other-base.xml:
22167 * docs/pwg/other-manager.xml:
22168 * docs/pwg/other-nton.xml:
22169 * docs/pwg/other-ntoone.xml:
22170 * docs/pwg/other-oneton.xml:
22171 * docs/pwg/pwg.xml:
22172 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
22173 demuxer), remove n-to-n (was never written), fix some code examples
22174 and links and update the porting section to include all this.
22176 2005-07-19 Wim Taymans <wim@fluendo.com>
22178 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
22179 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
22180 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
22181 (gst_queue_src_activate_push), (gst_queue_change_state),
22182 (gst_queue_get_property):
22184 Propagate GstFlowReturn more intelligently upstream and output
22185 an ERROR/EOS when streaming stopped due to fatal error.
22187 2005-07-19 Wim Taymans <wim@fluendo.com>
22189 * tools/gst-launch.c: (check_intr), (event_loop), (main):
22190 Don't block forever for the state change to complete, the
22191 pipeline already did with a sensible timeout.
22193 2005-07-19 Wim Taymans <wim@fluendo.com>
22195 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22196 Make sure we never call the create function is we
22199 2005-07-19 Andy Wingo <wingo@pobox.com>
22201 * gst/parse/parse.l: Attempt to solve bug #172815.
22203 2005-07-19 Wim Taymans <wim@fluendo.com>
22205 * docs/design/part-clocks.txt:
22206 * docs/design/part-events.txt:
22207 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
22208 Small docs updates.
22209 Only update the seeking values when we are not
22212 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
22214 * gst/base/gstbasesrc.c: (gst_base_src_loop):
22215 Oops, ignore the result of gst_pad_push_event here.
22217 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
22219 * gst/base/gstbasesrc.c: (gst_base_src_loop),
22220 (gst_base_src_activate_push):
22221 Send discont event from the loop function, as pads
22222 aren't activated yet in the activate_push handler.
22224 * gst/gstbin.c: (bin_bus_handler):
22225 Don't leak element name.
22227 2005-07-18 Andy Wingo <wingo@pobox.com>
22229 * configure.ac: Use AS_LIBTOOL_TAGS.
22231 2005-07-18 Wim Taymans <wim@fluendo.com>
22233 * docs/gst/gstreamer.types:
22234 Remove deleted types.
22236 2005-07-18 Wim Taymans <wim@fluendo.com>
22238 * check/elements/gstfakesrc.c: (GST_START_TEST):
22241 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
22242 (init_popt_callback):
22244 * gst/gst_private.h:
22245 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
22246 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
22249 * gst/gstconfig.h.in:
22250 * gst/gstelement.c: (gst_element_class_init),
22251 (gst_element_set_base_time), (gst_element_get_base_time),
22252 (iterator_fold_with_resync), (gst_element_change_state),
22253 (gst_element_dispose), (gst_element_get_bus):
22254 * gst/gstelement.h:
22255 * gst/gstelementfactory.h:
22256 * gst/gsterror.c: (_gst_core_errors_init):
22259 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
22261 * gst/gstinfo.c: (_gst_debug_init):
22262 * gst/gstmessage.c: (_gst_message_copy):
22263 * gst/gstmessage.h:
22264 * gst/gstminiobject.h:
22267 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22268 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
22271 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
22272 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
22273 (gst_pipeline_get_last_stream_time):
22274 * gst/gstpipeline.h:
22275 * gst/gstpluginfeature.h:
22277 * gst/gstscheduler.c:
22278 * gst/gstscheduler.h:
22279 * gst/gststructure.h:
22280 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
22281 (gst_task_finalize), (gst_task_func), (gst_task_create),
22282 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
22283 (gst_task_stop), (gst_task_pause):
22285 * gst/gsttypefind.h:
22287 * gst/registries/gstlibxmlregistry.c: (load_feature),
22288 (gst_xml_registry_load), (gst_xml_registry_save_feature):
22289 * gst/registries/gstxmlregistry.c:
22290 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
22291 * gst/schedulers/threadscheduler.c:
22292 * libs/gst/control/dparammanager.h:
22293 * tools/gst-inspect.c: (print_element_list),
22294 (print_plugin_features), (print_element_features):
22295 * tools/gst-xmlinspect.c: (print_element_list),
22296 (print_plugin_info), (main):
22297 Removed plugable schedulers.
22298 Removed Scheduler/Manager from elements.
22299 Removed gsttypes.h, rearranged includes.
22300 Removed dependency pad<->element, element<>pipeline, and
22301 various others, fix includes.
22302 implement gst_pad_get_parent() with gst_object_get_parent()
22303 Make GstTask sefcontained.
22304 Fix _get_state() on GstBin, it did not return ASYNC with a 0
22306 Fix endless loop in iterator_fold_with_resync.
22309 2005-07-18 Wim Taymans <wim@fluendo.com>
22315 2005-07-18 Wim Taymans <wim@fluendo.com>
22318 No more cothreads.h
22320 2005-07-18 Wim Taymans <wim@fluendo.com>
22324 Let's remove these.
22326 2005-07-18 Wim Taymans <wim@fluendo.com>
22328 * docs/design/part-dynamic.txt:
22329 * docs/design/part-events.txt:
22330 * docs/design/part-seeking.txt:
22331 Some more docs in the works.
22333 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
22334 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
22335 (gst_base_transform_setcaps), (gst_base_transform_get_size),
22336 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
22337 (gst_base_transform_handle_buffer),
22338 (gst_base_transform_sink_activate_push),
22339 (gst_base_transform_src_activate_pull),
22340 (gst_base_transform_set_passthrough),
22341 (gst_base_transform_is_passthrough):
22344 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
22347 * gst/gstevent.c: (gst_event_finalize):
22350 * gst/gstutils.c: (gst_element_unlink),
22351 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
22352 (gst_pad_proxy_setcaps):
22354 Add _get_parent_element() to get a pads parent as an element.
22356 2005-07-18 Wim Taymans <wim@fluendo.com>
22358 * check/gst/gstbin.c: (GST_START_TEST):
22361 2005-07-18 Wim Taymans <wim@fluendo.com>
22363 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
22364 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
22365 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
22366 (gst_base_sink_event), (gst_base_sink_do_sync),
22367 (gst_base_sink_chain), (gst_base_sink_loop),
22368 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
22369 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
22371 Fix logic for returning ASYNC when not prerolled.
22373 2005-07-18 Wim Taymans <wim@fluendo.com>
22375 * gst/gstqueue.c: (gst_queue_handle_sink_event):
22376 Fix nasty refcount bug.
22378 2005-07-16 Philippe Khalaf <burger@speedy.org>
22380 * gst/elements/gstfdsrc.c:
22381 * gst/elements/gstfdsrc.h:
22382 * gst/elements/gstelements.c:
22383 * gst/elements/Makefile.am:
22384 Ported fdsrc to 0.9.
22386 2005-07-16 Wim Taymans <wim@fluendo.com>
22388 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22389 (gst_base_sink_do_sync):
22392 2005-07-16 Wim Taymans <wim@fluendo.com>
22394 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22395 (gst_base_sink_event), (gst_base_sink_get_times),
22396 (gst_base_sink_do_sync), (gst_base_sink_change_state):
22397 * gst/base/gstbasesink.h:
22398 Store and use discont values when syncing buffers as described
22401 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
22402 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
22403 (gst_base_src_activate_push):
22404 Push discont event when starting.
22406 * gst/elements/gstidentity.c: (gst_identity_transform):
22409 * gst/gstbin.c: (gst_bin_change_state):
22410 Small cleanups in base_time distribution.
22412 * gst/gstelement.c: (gst_element_set_base_time),
22413 (gst_element_get_base_time), (gst_element_change_state):
22414 * gst/gstelement.h:
22415 Added methods for the base_time of the element.
22418 * gst/gstpipeline.c: (gst_pipeline_send_event),
22419 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
22420 (gst_pipeline_get_last_stream_time):
22421 * gst/gstpipeline.h:
22423 Handle seeking as described in design doc, remove stream_time
22425 Cleanups clock and stream_time selection code. Added accessors
22426 for the stream_time.
22429 2005-07-16 Andy Wingo <wingo@pobox.com>
22431 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
22434 2005-07-16 Wim Taymans <wim@fluendo.com>
22436 * check/gst/gstbin.c: (GST_START_TEST):
22437 Make elements silent as the deep_notify refs the
22438 parent, which might make the test fail.
22440 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
22441 Don't hold the lock for too long.
22443 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
22445 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
22446 Don't unref the caps we passed to gst_caps_make_writable() after
22447 passing them. gst_caps_make_writable() will do that for us.
22449 2005-07-15 Andy Wingo <wingo@pobox.com>
22451 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
22454 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
22455 own marshalling function for the handoff signal. Properly type the
22456 buffer as a buffer. Fixes some warnings. Should do a more general
22458 (gst_identity_class_init): Plug into the right marshaller.
22460 2005-07-15 Wim Taymans <wim@fluendo.com>
22462 * docs/design/part-TODO.txt:
22463 * docs/design/part-clocks.txt:
22464 * docs/design/part-element-sink.txt:
22465 * docs/design/part-events.txt:
22466 * docs/design/part-gstpipeline.txt:
22467 Updated docs, mostly DISCONT related.
22469 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
22471 * docs/pwg/building-pads.xml:
22472 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
22474 2005-07-15 Andy Wingo <wingo@pobox.com>
22476 * tools/gst-typefind.c: Update, add copyright block.
22478 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
22479 Normalize and truncate caps before fixation.
22482 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
22483 discards all but the first structure from its argument.
22485 2005-07-15 Wim Taymans <wim@fluendo.com>
22487 * gst/base/gstbasetransform.c: (gst_base_transform_init),
22488 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
22489 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22490 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
22491 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
22492 (gst_base_transform_chain), (gst_base_transform_change_state),
22493 (gst_base_transform_set_passthrough),
22494 (gst_base_transform_is_passthrough):
22495 * gst/base/gstbasetransform.h:
22496 Make passthrough work using the bufferpools.
22497 Changed API a bit, subclasses have to write into a buffer
22498 provided by the base class.
22499 More debug info in nego functions.
22501 * gst/elements/gstidentity.c: (gst_identity_init),
22502 (gst_identity_transform):
22503 Port to new base class.
22505 2005-07-15 Wim Taymans <wim@fluendo.com>
22507 * gst/gstmessage.c: (gst_message_new_state_changed):
22508 * tools/gst-launch.c: (event_loop), (main):
22509 Totally dump messages in -launch with the -m option.
22510 Fix message name for State messages,
22512 2005-07-14 Wim Taymans <wim@fluendo.com>
22514 * gst/base/gstbasesrc.c: (gst_base_src_loop):
22515 Post error messages on errors.
22517 2005-07-14 Wim Taymans <wim@fluendo.com>
22519 * gst/gstcaps.c: (gst_caps_do_simplify):
22523 Define error for stream stopped.
22525 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
22526 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
22527 Do proper return values.
22529 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22530 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
22531 (gst_pad_get_range):
22532 Better return values.
22535 Reorganise return values, add macro to check for fatal errors.
22537 * gst/gstqueue.c: (gst_queue_chain):
22538 Return proper GstFlowReturn values,
22540 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
22542 * docs/gst/gstreamer-sections.txt:
22543 * docs/gst/gstreamer.types:
22544 * docs/gst/tmpl/gst.sgml:
22545 * docs/gst/tmpl/gstbasesink.sgml:
22546 * docs/gst/tmpl/gstbasesrc.sgml:
22547 * docs/gst/tmpl/gstbasetransform.sgml:
22548 * docs/gst/tmpl/gstbin.sgml:
22549 * docs/gst/tmpl/gstbuffer.sgml:
22550 * docs/gst/tmpl/gstcaps.sgml:
22551 * docs/gst/tmpl/gstclock.sgml:
22552 * docs/gst/tmpl/gstcompat.sgml:
22553 * docs/gst/tmpl/gstconfig.sgml:
22554 * docs/gst/tmpl/gstelement.sgml:
22555 * docs/gst/tmpl/gstelementdetails.sgml:
22556 * docs/gst/tmpl/gstelementfactory.sgml:
22557 * docs/gst/tmpl/gstenumtypes.sgml:
22558 * docs/gst/tmpl/gsterror.sgml:
22559 * docs/gst/tmpl/gstevent.sgml:
22560 * docs/gst/tmpl/gstfakesink.sgml:
22561 * docs/gst/tmpl/gstfakesrc.sgml:
22562 * docs/gst/tmpl/gstfilesink.sgml:
22563 * docs/gst/tmpl/gstfilesrc.sgml:
22564 * docs/gst/tmpl/gstfilter.sgml:
22565 * docs/gst/tmpl/gstformat.sgml:
22566 * docs/gst/tmpl/gstghostpad.sgml:
22567 * docs/gst/tmpl/gstimplementsinterface.sgml:
22568 * docs/gst/tmpl/gstindex.sgml:
22569 * docs/gst/tmpl/gstindexfactory.sgml:
22570 * docs/gst/tmpl/gstinfo.sgml:
22571 * docs/gst/tmpl/gstiterator.sgml:
22572 * docs/gst/tmpl/gstmacros.sgml:
22573 * docs/gst/tmpl/gstmemchunk.sgml:
22574 * docs/gst/tmpl/gstminiobject.sgml:
22575 * docs/gst/tmpl/gstobject.sgml:
22576 * docs/gst/tmpl/gstpad.sgml:
22577 * docs/gst/tmpl/gstpadtemplate.sgml:
22578 * docs/gst/tmpl/gstparse.sgml:
22579 * docs/gst/tmpl/gstpipeline.sgml:
22580 * docs/gst/tmpl/gstplugin.sgml:
22581 * docs/gst/tmpl/gstpluginfeature.sgml:
22582 * docs/gst/tmpl/gstquery.sgml:
22583 * docs/gst/tmpl/gstqueue.sgml:
22584 * docs/gst/tmpl/gstregistry.sgml:
22585 * docs/gst/tmpl/gstregistrypool.sgml:
22586 * docs/gst/tmpl/gstscheduler.sgml:
22587 * docs/gst/tmpl/gstschedulerfactory.sgml:
22588 * docs/gst/tmpl/gststructure.sgml:
22589 * docs/gst/tmpl/gstsystemclock.sgml:
22590 * docs/gst/tmpl/gsttaglist.sgml:
22591 * docs/gst/tmpl/gsttagsetter.sgml:
22592 * docs/gst/tmpl/gsttrace.sgml:
22593 * docs/gst/tmpl/gsttrashstack.sgml:
22594 * docs/gst/tmpl/gsttypefind.sgml:
22595 * docs/gst/tmpl/gsttypefindfactory.sgml:
22596 * docs/gst/tmpl/gsttypes.sgml:
22597 * docs/gst/tmpl/gsturihandler.sgml:
22598 * docs/gst/tmpl/gsturitype.sgml:
22599 * docs/gst/tmpl/gstutils.sgml:
22600 * docs/gst/tmpl/gstvalue.sgml:
22601 * docs/gst/tmpl/gstversion.sgml:
22602 * docs/gst/tmpl/gstxml.sgml:
22603 * docs/libs/tmpl/gstcontrol.sgml:
22604 * docs/libs/tmpl/gstdataprotocol.sgml:
22605 * docs/libs/tmpl/gstdparam.sgml:
22606 * docs/libs/tmpl/gstdplinint.sgml:
22607 * docs/libs/tmpl/gstdpman.sgml:
22608 * docs/libs/tmpl/gstdpsmooth.sgml:
22609 * docs/libs/tmpl/gstgetbits.sgml:
22610 * docs/libs/tmpl/gstunitconvert.sgml:
22611 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
22612 (gst_push_src_base_init), (gst_push_src_class_init),
22613 (gst_push_src_init), (gst_push_src_create):
22614 * gst/base/gstpushsrc.h:
22615 * gst/elements/gstelements.c:
22616 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
22617 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
22618 (gst_fake_sink_init), (gst_fake_sink_set_property),
22619 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
22620 (gst_fake_sink_event), (gst_fake_sink_preroll),
22621 (gst_fake_sink_render), (gst_fake_sink_change_state):
22622 * gst/elements/gstfakesink.h:
22623 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
22624 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
22625 (gst_fake_src_base_init), (gst_fake_src_class_init),
22626 (gst_fake_src_init), (gst_fake_src_event_handler),
22627 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
22628 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
22629 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
22630 (gst_fake_src_create_buffer), (gst_fake_src_create),
22631 (gst_fake_src_start), (gst_fake_src_stop):
22632 * gst/elements/gstfakesrc.h:
22633 * gst/elements/gstfilesink.c: (_do_init),
22634 (gst_file_sink_base_init), (gst_file_sink_class_init),
22635 (gst_file_sink_init), (gst_file_sink_dispose),
22636 (gst_file_sink_set_location), (gst_file_sink_set_property),
22637 (gst_file_sink_get_property), (gst_file_sink_open_file),
22638 (gst_file_sink_close_file), (gst_file_sink_query),
22639 (gst_file_sink_event), (gst_file_sink_render),
22640 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
22641 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
22642 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
22643 * gst/elements/gstfilesink.h:
22644 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
22645 (gst_file_src_class_init), (gst_file_src_init),
22646 (gst_file_src_finalize), (gst_file_src_set_location),
22647 (gst_file_src_set_property), (gst_file_src_get_property),
22648 (gst_file_src_map_region), (gst_file_src_map_small_region),
22649 (gst_file_src_create_mmap), (gst_file_src_create_read),
22650 (gst_file_src_create), (gst_file_src_is_seekable),
22651 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
22652 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
22653 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
22654 (gst_file_src_uri_handler_init):
22655 * gst/elements/gstfilesrc.h:
22656 more autistic cleanliness in functions/names/defines
22658 2005-07-13 Andy Wingo <wingo@pobox.com>
22660 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
22661 source couldn't negotiate.
22663 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
22667 * gst/gstutils.c (gst_element_link_pads_filtered): New old
22668 function. I am channeling Hades. Put your boots on suckers!!!
22670 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
22672 * testsuite/caps/Makefile.am:
22673 * testsuite/caps/value_compare.c:
22674 * testsuite/caps/value_intersect.c:
22675 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
22676 move two testsuite apps over to the check dir
22678 2005-07-12 Wim Taymans <wim@fluendo.com>
22680 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
22681 Added more debug info in the negotiate process.
22683 * gst/gstmessage.h:
22684 Prepare for segment playback.
22686 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
22692 * tools/gst-launch.c: (main):
22693 NULL pipeline on errors.
22695 2005-07-12 Andy Wingo <wingo@pobox.com>
22697 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
22698 not it comes from a malloc region. Make sure our copy gets freed.
22700 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
22702 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
22703 * check/gst/gstmessage.c: (GST_START_TEST):
22704 * check/gst/gststructure.c: (GST_START_TEST),
22705 (gst_structure_suite), (main):
22707 * gst/gstelement.c: (gst_element_message_full):
22708 clean up GError and debug string now that they get copied
22709 * gst/gstmessage.c: (gst_message_new_error),
22710 (gst_message_new_warning), (gst_message_parse_error),
22711 (gst_message_parse_warning):
22712 use GST_TYPE_G_ERROR for structure_new, and take copies of
22713 arguments, so that we don't mess up refcounting
22715 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
22717 * check/Makefile.am:
22718 add per-test valgrind targets
22719 * check/gst-libs/gdp.c: (GST_START_TEST),
22720 (gst_data_protocol_suite), (main):
22723 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
22725 * check/Makefile.am:
22726 instate more valgrindable tests
22727 * check/elements/gstfakesrc.c: (chain_func), (event_func),
22728 (GST_START_TEST), (fakesrc_suite):
22729 * check/gst/gstpad.c: (GST_START_TEST):
22730 * check/gst/gststructure.c: (GST_START_TEST):
22732 * docs/gst/tmpl/gstminiobject.sgml:
22733 * gst/gstpad.c: (gst_pad_finalize):
22734 fix the static mutex leak
22736 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
22738 * check/Makefile.am:
22739 add two more tests for valgrinding
22740 * check/gst/gstvalue.c: (GST_START_TEST):
22741 test refcount of deserialized buffer, found a leak
22742 * docs/gst/gstreamer-docs.sgml:
22743 * docs/gst/gstreamer-sections.txt:
22744 * docs/gst/gstreamer.types:
22745 * docs/gst/tmpl/gstminiobject.sgml:
22746 add miniobject to docs
22747 * gst/gstminiobject.c:
22749 * gst/gstvalue.c: (gst_value_deserialize_buffer),
22750 (gst_string_unwrap):
22751 fix a hard-to-find invalid write for one of the tests
22752 fix a leak for deserialized buffers
22754 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22756 * docs/pwg/advanced-events.xml:
22757 * docs/pwg/advanced-request.xml:
22758 * docs/pwg/advanced-scheduling.xml:
22759 * docs/pwg/appendix-porting.xml:
22760 * docs/pwg/building-boiler.xml:
22761 * docs/pwg/intro-preface.xml:
22762 * docs/pwg/other-ntoone.xml:
22763 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
22764 of example code and explanation for pad activation, loop() and
22765 getrange() functions and a bit more. Remove old comments pointing
22767 * examples/pwg/Makefile.am:
22768 Add loop/getrange examples.
22770 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
22773 check for valgrind binary + some fixes
22775 valgrind suppressions for the tests
22776 * check/Makefile.am:
22777 add a valgrind: target that valgrinds the unit tests
22778 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
22779 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
22780 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22781 * check/gst/gstghostpad.c:
22783 * check/gst/gstdata.c:
22785 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
22786 (thread_unref), (gst_mini_object_suite), (main):
22788 * gst/gst.c: (gst_deinit):
22790 add a method to clean up.
22791 * gst/gstsystemclock.c: (gst_system_clock_dispose),
22792 (gst_system_clock_obtain):
22793 allow for disposing the system clock.
22794 * tools/gst-launch.c: (main):
22797 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
22799 * docs/gst/tmpl/gstbasesrc.sgml:
22800 * docs/gst/tmpl/gstfakesrc.sgml:
22801 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22802 (gst_base_src_init), (gst_base_src_set_property),
22803 (gst_base_src_get_property), (gst_base_src_get_range),
22804 (gst_base_src_start):
22805 * gst/base/gstbasesrc.h:
22806 add num-buffers property
22807 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22808 (gst_fakesrc_init), (gst_fakesrc_set_property),
22809 (gst_fakesrc_get_property), (gst_fakesrc_create),
22810 (gst_fakesrc_start):
22811 remove num-buffers property
22813 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
22815 * docs/gst/gstreamer-sections.txt:
22816 * docs/gst/tmpl/gstbasesink.sgml:
22817 * docs/gst/tmpl/gstbasesrc.sgml:
22818 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
22819 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
22820 (gst_base_sink_finalize), (gst_base_sink_set_clock),
22821 (gst_base_sink_set_property), (gst_base_sink_get_property),
22822 (gst_base_sink_handle_object), (gst_base_sink_event),
22823 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
22824 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
22825 (gst_base_sink_loop), (gst_base_sink_deactivate),
22826 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
22827 (gst_base_sink_change_state):
22828 * gst/base/gstbasesink.h:
22829 * gst/base/gstbasesrc.h:
22830 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
22831 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
22832 (gst_filesink_init):
22833 more macro splitting
22835 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
22837 * gst/gstelement.c: (gst_element_get_bus):
22839 * tools/gst-launch.c: (check_intr), (event_loop):
22842 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
22844 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
22847 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
22849 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22850 (gst_base_src_finalize):
22851 add finalize method and clean up properly
22852 * gst/gstpipeline.c: (gst_pipeline_dispose):
22855 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
22857 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
22859 add more things to check
22860 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
22861 * gst/gstelement.c:
22864 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
22866 * check/elements/gstfakesrc.c: (chain_func), (event_func),
22867 (GST_START_TEST), (fakesrc_suite):
22868 * check/gst-libs/gdp.c: (GST_START_TEST):
22869 * check/gst/gst.c: (GST_START_TEST):
22870 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22871 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22872 * check/gst/gstbus.c: (GST_START_TEST):
22873 * check/gst/gstcaps.c: (GST_START_TEST):
22874 * check/gst/gstdata.c: (GST_START_TEST):
22875 * check/gst/gstelement.c: (GST_START_TEST):
22876 * check/gst/gstghostpad.c: (GST_START_TEST):
22877 * check/gst/gstiterator.c: (GST_START_TEST):
22878 * check/gst/gstmessage.c: (GST_START_TEST):
22879 * check/gst/gstobject.c: (GST_START_TEST):
22880 * check/gst/gstpad.c: (GST_START_TEST):
22881 * check/gst/gststructure.c: (GST_START_TEST):
22882 * check/gst/gstsystemclock.c: (GST_START_TEST),
22883 (gst_systemclock_suite):
22884 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
22885 * check/gst/gstvalue.c: (GST_START_TEST):
22886 * check/pipelines/cleanup.c: (GST_START_TEST):
22887 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
22888 * check/states/sinks.c: (GST_START_TEST):
22889 * check/gstcheck.c: (gst_check_init):
22890 * check/gstcheck.h:
22891 add debugging category
22892 use GST_START_TEST now, so we add a debug line
22894 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
22896 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
22897 add test for state change message on a bin
22898 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
22900 * gst/gstbin.c: (gst_bin_init):
22901 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
22902 * gst/gstelement.c: (gst_element_post_message),
22903 (gst_element_set_state):
22904 * gst/gstelementfactory.c: (gst_element_factory_create):
22905 * gst/gstmessage.c: (gst_message_new):
22906 * gst/gstscheduler.c:
22907 various debugging additions and cleanups
22909 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
22911 * check/Makefile.am:
22912 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
22914 adding tests for elements
22915 * gst/gstelement.c: (gst_element_dispose):
22917 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
22919 * gst/registries/gstlibxmlregistry.c: (load_feature):
22920 plug more leaks. A simple gst_init() now is leakfree, yay.
22922 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
22924 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
22925 (gst_xml_registry_load):
22926 plug another memleak
22928 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
22931 use GST_SET_ERROR_CFLAGS
22932 * docs/faq/cvs.xml:
22933 change to ERROR_CFLAGS
22935 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
22938 make GST_ERROR_CFLAGS overridable and re-enable Werror
22939 * docs/faq/cvs.xml:
22940 add a note about error CFLAGS
22941 * docs/gst/tmpl/gstfakesrc.sgml:
22942 * gst/elements/gstfakesrc.c:
22943 comment out some unused code
22944 * gst/gst.c: (split_and_iterate):
22945 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
22949 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
22951 * common/Makefile.am:
22952 * common/gtk-doc.mak:
22953 * docs/gst/Makefile.am:
22954 factor out gtk-doc.mak
22956 2005-07-07 Wim Taymans <wim@fluendo.com>
22958 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
22959 (gst_thread_scheduler_dispose):
22960 Unlock the STREAM_LOCK completely.
22962 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
22964 * check/Makefile.am:
22965 * check/elements/.cvsignore:
22966 * check/elements/gstfakesrc.c: (chain_func), (event_func),
22967 (START_TEST), (fakesrc_suite), (main):
22968 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22969 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
22970 (gst_fakesrc_create), (gst_fakesrc_start):
22971 * gst/elements/gstfakesrc.h:
22972 adding a first element test
22974 2005-07-07 Andy Wingo <wingo@pobox.com>
22976 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
22979 2005-07-07 Wim Taymans <wim@fluendo.com>
22985 2005-07-07 Wim Taymans <wim@fluendo.com>
22987 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
22988 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
22989 Allow subclasses to implement their own negotiation.
22991 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
22993 * docs/design/part-gstbin.txt:
22994 * docs/design/part-gstpipeline.txt:
22995 Update design notes to reflect the movement of
22996 responsibility for bus handling from GstPipeline to
22999 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
23002 Remove unnecessary queue2/3/4 examples.
23004 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
23006 * examples/Makefile.am:
23007 * examples/helloworld/helloworld.c: (event_loop), (main):
23008 * examples/queue/queue.c: (event_loop), (main):
23009 * examples/queue2/queue2.c: (main):
23010 Update a couple of the examples to work again.
23012 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
23013 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
23014 Spelling corrections and extra debug.
23016 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
23017 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
23018 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
23020 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
23021 (gst_pipeline_change_state):
23022 * gst/gstpipeline.h:
23023 Move the bus handler for children to the GstBin, and create a
23024 separate bus for receiving messages from children to the one the
23025 bus sends 'upwards' on.
23027 2005-07-06 Wim Taymans <wim@fluendo.com>
23030 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
23031 (gst_base_sink_handle_object), (gst_base_sink_loop),
23032 (gst_base_sink_change_state):
23033 * gst/base/gstbasesink.h:
23034 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23035 (gst_base_src_init), (gst_base_src_setcaps),
23036 (gst_base_src_getcaps), (gst_base_src_loop),
23037 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
23038 (gst_base_src_start), (gst_base_src_change_state):
23039 * gst/base/gstbasesrc.h:
23040 Make basesrc negotiate.
23041 Handle the case where preroll fails in basesink.
23044 2005-07-06 Wim Taymans <wim@fluendo.com>
23046 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
23047 Implement the fixate function.
23048 Clean up acceptcaps.
23050 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23052 * docs/pwg/building-filterfactory.xml:
23053 * docs/pwg/pwg.xml:
23054 Remove never-written filter-factory chapter; I'll add the various
23055 base classes to part 4 ("other element types") later on.
23057 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23059 * docs/pwg/advanced-negotiation.xml:
23060 * docs/pwg/building-boiler.xml:
23061 * docs/pwg/building-pads.xml:
23062 * docs/pwg/pwg.xml:
23063 * examples/pwg/Makefile.am:
23064 Add a chapter on caps negotiation, simplify the original code
23065 samples a bit w.r.t. caps negotiation, add link to the advanced
23066 section. Add a bunch of examples showing different use cases of
23067 different types of caps negotiation. Upstream renegotiation isn't
23068 fully documented yet since nobody knows how that works.
23070 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
23072 * check/gst/gstpad.c:
23073 * check/gstcheck.c:
23074 * gst/gstpad.c: (gst_pad_get_internal_links_default):
23075 if pad has no parent, return NULL as list of internal links
23077 2005-07-05 Andy Wingo <wingo@pobox.com>
23079 * gst/elements/gstfilesrc.c:
23080 * gst/elements/gstfakesrc.c:
23081 * gst/base/gstpushsrc.c:
23082 * gst/base/gstbasesrc.h:
23083 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
23085 2005-07-05 Stefan Kost <ensonic@users.sf.net>
23088 better report generation target (lcov needs a patch)
23090 2005-07-05 Andy Wingo <wingo@pobox.com>
23092 * gst/elements, testsuite: Null if we got it...
23094 2005-07-05 Wim Taymans <wim@fluendo.com>
23097 * libs/gst/dataprotocol/Makefile.am:
23098 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
23099 * libs/gst/dataprotocol/dataprotocol.h:
23100 * pkgconfig/Makefile.am:
23101 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
23102 * pkgconfig/gstreamer-dataprotocol.pc.in:
23103 Ported dataprotol to 0.9.
23104 Added pkgconfig files.
23106 2005-07-05 Andy Wingo <wingo@pobox.com>
23108 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
23109 Default to returning TRUE for the case when tranform_caps returns
23110 a fixed caps, like for identity or volume.
23112 * check/gst/gstbus.c (pound_bus_with_messages):
23113 * check/gst/gstmessage.c (START_TEST):
23114 * check/pipelines/simple_launch_lines.c (got_handoff): Application
23115 message API change.
23117 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
23118 logic weaks here: always run transform_caps, trying passthrough
23119 operation only if the original caps intersects with the transform.
23121 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
23122 source and sink caps.
23124 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
23125 Intersect the peer caps with the pad template before going into
23127 (gst_base_transform_transform_caps): More debugging.
23129 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
23132 2005-07-04 Edward Hervey <edward@fluendo.com>
23136 (gst_pad_add_*_probe): now returns the signal id for better wrapping
23139 2005-07-04 Andy Wingo <wingo@pobox.com>
23141 * check/gst/gstpad.c: Only set explicit caps on pads.
23143 2005-07-01 Andy Wingo <wingo@pobox.com>
23145 * tests/network-clock.scm: Commentary update.
23147 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
23148 Didn't really make sense, not implementable with basetransform,
23150 (gst_identity_transform): Unref inbuf via make_writable. Feeble
23151 attempt at implementing the sync property, needs an unlock method.
23153 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
23154 New func, by default returns the same caps (the identity
23156 (gst_base_transform_getcaps): Uses transform_caps to return
23157 something sensible.
23158 (gst_base_transform_setcaps): Complicated logic to get caps on
23159 both pads, even if they are different, and to call set_caps once
23160 for every time both pads get their caps set.
23161 (gst_base_transform_handle_buffer): Give the ref to the transform
23162 function. Allows in-place modification of the buffer.
23164 * gst/base/gstbasetransform.h (transform_caps): New class method.
23165 Given caps on one side, what can I do on the other.
23166 (set_caps): Take two caps, one for each side of the element.
23169 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
23170 caps in place. This is safe because we can check the mutability of
23171 the caps, and a good idea because fixate functions are just called
23172 as a matter of last resort. (Not actually implemented.)
23173 (gst_pad_set_caps): If the caps we're setting is actually the same
23174 as the existing pad caps, just update the pointer without calling
23175 setcaps. Assert that caps is either NULL or fixed, as per the
23178 * gst/gstghostpad.c: Update for fixate changes.
23180 2005-07-02 Andy Wingo <wingo@pobox.com>
23183 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
23184 two refcounts makes it immutable, which is enough. Doc more.
23186 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
23188 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
23189 Put the mini_object into GValue as a mini_object,
23190 not a gpointer, since that's how we declared
23193 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23195 * examples/pwg/Makefile.am:
23196 Fix buildbot again.
23198 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23200 * docs/pwg/building-testapp.xml:
23202 * examples/pwg/Makefile.am:
23205 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23208 * examples/Makefile.am:
23209 * examples/pwg/Makefile.am:
23210 * examples/pwg/extract.pl:
23211 Enable building the PWG examples.
23212 * docs/pwg/advanced-interfaces.xml:
23213 Add URI interface stub.
23214 * docs/pwg/advanced-types.xml:
23215 * docs/pwg/other-autoplugger.xml:
23216 * docs/pwg/appendix-porting.xml:
23217 * docs/pwg/pwg.xml:
23218 Add porting guide (mostly stubs), remove autoplugging (see ADM).
23219 * docs/pwg/building-boiler.xml:
23220 * docs/pwg/building-chainfn.xml:
23221 * docs/pwg/building-pads.xml:
23222 * docs/pwg/building-props.xml:
23223 * docs/pwg/building-state.xml:
23224 * docs/pwg/building-testapp.xml:
23225 Update the building-*.xml parts for 0.9 changes. All examples
23226 code blocks compile in examples/pwg/*.
23228 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23230 * docs/manual/advanced-autoplugging.xml:
23231 * docs/manual/appendix-checklist.xml:
23232 * docs/manual/appendix-integration.xml:
23233 * docs/manual/highlevel-components.xml:
23234 Fix playbin/decodebin examples, update docs a bit, mention bus
23235 instead of signals in various places, mention kmplayer and
23236 kaffeine since they have a working GStreamer backend in the KDE
23239 2005-06-30 Wim Taymans <wim@fluendo.com>
23242 * docs/design/draft-ghostpads.txt:
23243 * docs/design/draft-push-pull.txt:
23244 * docs/design/draft-query.txt:
23245 * docs/design/part-TODO.txt:
23246 * docs/design/part-query.txt:
23247 Added CHANGES-0.9 doc, updated status of other docs.
23252 2005-06-30 Wim Taymans <wim@fluendo.com>
23254 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
23255 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
23256 (gst_base_sink_change_state):
23257 * gst/base/gstbasesink.h:
23258 Some tweaks, only EOS and a buffer complete a preroll.
23260 2005-06-30 Andy Wingo <wingo@pobox.com>
23262 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
23263 activate_push down to the internal pad as well.
23265 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
23267 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23269 * gst/gsttaginterface.c:
23270 Some documentation fixes (#307394 and #307397).
23272 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
23274 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23276 * gst/gstvalue.c: (gst_value_intersect_list):
23277 Fix memleak (#309125).
23279 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23281 * docs/manual/advanced-dataaccess.xml:
23282 Fix fakesrc example to compile; doesn't work, bug somewhere...?
23283 * docs/manual/basics-pads.xml:
23284 Add reference for filtered caps to above chapter.
23286 2005-06-30 Wim Taymans <wim@fluendo.com>
23288 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
23289 (gst_bin_change_state):
23291 Lame attempt at making the state change function a bit
23294 2005-06-30 Wim Taymans <wim@fluendo.com>
23296 * docs/design/part-clocks.txt:
23297 * docs/design/part-element-sink.txt:
23298 * docs/design/part-events.txt:
23299 * docs/design/part-preroll.txt:
23300 * docs/design/part-states.txt:
23301 Some more tweeks and additions to the docs.
23303 2005-06-30 Wim Taymans <wim@fluendo.com>
23305 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23306 (default_have_data), (gst_pad_class_init), (gst_pad_init),
23307 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
23308 (gst_pad_check_pull_range), (gst_pad_get_range),
23309 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
23311 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
23312 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
23313 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
23314 (gst_pad_remove_buffer_probe):
23315 Removed atomic operations, use existing LOCK.
23316 Move exception handling out of main code path.
23318 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23320 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23321 (silly_return_true_function), (gst_pad_class_init),
23322 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
23323 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
23324 (gst_pad_send_event):
23325 Fix accumulator, add default value by using _emitv() instead
23326 of _emit() for signal emission.
23328 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23330 * docs/manual/advanced-dataaccess.xml:
23331 * examples/manual/Makefile.am:
23333 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
23336 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
23338 * gst/elements/gstfilesink.c: (gst_filesink_render):
23339 Simplify code so that we don't have to handle short
23340 writes and return GST_FLOW_ERROR if an error occured.
23342 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23344 * docs/gst/gstreamer-docs.sgml:
23345 Remove probes more.
23347 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23349 * docs/gst/gstreamer-sections.txt:
23350 * docs/gst/tmpl/gstpad.sgml:
23351 * docs/gst/tmpl/gstprobe.sgml:
23353 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23354 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
23355 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
23356 (gst_pad_push_event), (gst_pad_send_event):
23358 * gst/gstutils.c: (gst_pad_add_data_probe),
23359 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
23360 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
23361 (gst_pad_remove_buffer_probe):
23363 Remove old probes, add new g-signal-based probes and some utility
23366 2005-06-29 Edward Hervey <edward@fluendo.com>
23368 * gst/gstelementfactory.c:
23371 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
23372 the definition to the header file.
23374 2005-06-29 Andy Wingo <wingo@pobox.com>
23376 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
23377 plugins from the source directory.
23379 2005-06-29 Wim Taymans <wim@fluendo.com>
23381 * docs/gst/tmpl/gstbuffer.sgml:
23382 * docs/gst/tmpl/gstclock.sgml:
23383 Some fixings for blantently wrong text.
23385 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
23387 * check/Makefile.am:
23388 * gst/gst.c: (add_path_func), (init_pre):
23389 * gst/gstregistry.c: (gst_registry_add_path):
23390 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
23391 only scan the GST_PLUGIN_PATH locations, and not add
23394 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
23396 * docs/gst/gstreamer-sections.txt:
23397 * docs/gst/tmpl/gstbasesrc.sgml:
23398 * gst/gstelement.c:
23399 * gst/gstelement.h:
23404 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23406 * docs/manual/advanced-autoplugging.xml:
23407 Fix autoplugging example.
23409 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23411 * docs/manual/advanced-autoplugging.xml:
23412 * docs/manual/mime-world.fig:
23413 Try to get autoplugging working, fix type detection. Fix text
23414 in hello-world image.
23416 2005-06-29 Wim Taymans <wim@fluendo.com>
23418 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23419 (gst_base_sink_change_state):
23423 map SIGNAL and BROADCAST to the right function.
23426 Remove redundant braces.
23428 * gst/gstpad.c: (gst_pad_set_caps):
23429 Don't call setcaps function when reseting caps to NULL.
23431 * gst/gstsystemclock.c: (gst_system_clock_dispose),
23432 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
23433 (gst_system_clock_id_unschedule):
23434 Use BROADCAST as this is what we do.
23436 2005-06-29 Wim Taymans <wim@fluendo.com>
23438 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23439 We are actually prerolling before commiting the state
23442 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23444 * docs/manual/advanced-clocks.xml:
23445 * docs/manual/advanced-interfaces.xml:
23446 * docs/manual/advanced-metadata.xml:
23447 * docs/manual/advanced-position.xml:
23448 * docs/manual/advanced-schedulers.xml:
23449 * docs/manual/advanced-threads.xml:
23450 * docs/manual/appendix-porting.xml:
23451 * docs/manual/basics-bins.xml:
23452 * docs/manual/basics-bus.xml:
23453 * docs/manual/basics-elements.xml:
23454 * docs/manual/basics-helloworld.xml:
23455 * docs/manual/basics-pads.xml:
23456 * docs/manual/highlevel-components.xml:
23457 * docs/manual/manual.xml:
23458 * docs/manual/thread.fig:
23459 Update (until threads/scheduling) Application Development Manual;
23460 remove GstThread, add GstBus, add simple porting checklist, add
23461 documentation for tag writing, clocks, make all examples until this
23462 part compile and run.
23463 * examples/manual/Makefile.am:
23464 Update from changes to Application Development Manual; add bus
23465 example, remove thread example.
23467 2005-06-28 Wim Taymans <wim@fluendo.com>
23469 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
23470 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
23471 (gst_bus_source_dispatch):
23472 Add debugging messages.
23473 Make internal methods static.
23474 Handle the case where the bus is flushed in the handler.
23476 * gst/gstelement.c: (gst_element_get_bus):
23477 Fix refcount in _get_bus();
23479 * gst/gstpipeline.c: (gst_pipeline_change_state),
23480 (gst_pipeline_get_clock_func):
23481 Clock refcounting fixes.
23482 Handle the case where preroll timed out more gracefully.
23484 * gst/gstsystemclock.c: (gst_system_clock_dispose):
23485 Clean up the internal thread in dispose. This is needed
23486 for subclasses that actually get disposed.
23488 * gst/schedulers/threadscheduler.c:
23489 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
23490 (gst_thread_scheduler_dispose):
23491 Free thread pool in dispose.
23493 2005-06-28 Andy Wingo <wingo@pobox.com>
23495 * tests/network-clock-utils.scm (debug, print-event): New utils.
23497 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
23498 (*packet-loss*): Unified loss probability.
23499 (network-time): Report out-of-band events.
23501 * tests/plot-data: Add support for out-of-band events. Hack it
23502 into this script instead of passing it down the pipe; should fix
23505 2005-06-28 Wim Taymans <wim@fluendo.com>
23507 * docs/gst/gstreamer.types:
23508 * docs/gst/tmpl/gstbasesrc.sgml:
23509 * docs/gst/tmpl/gstpad.sgml:
23512 2005-06-28 Wim Taymans <wim@fluendo.com>
23514 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23515 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
23516 (gst_proxy_pad_do_fixatecaps):
23517 Correctly proxy the check_pull_range function.
23519 2005-06-28 Andy Wingo <wingo@pobox.com>
23521 * tests/network-clock.scm: Removed need for slib.
23523 2005-06-28 Wim Taymans <wim@fluendo.com>
23525 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
23526 (gst_basesink_preroll_queue_flush):
23527 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
23528 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
23529 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23530 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
23531 (gst_proxy_pad_set_property):
23534 * gst/gstqueue.c: (gst_queue_init):
23535 The deprecated pad loop function is removed now.
23537 2005-06-28 Andy Wingo <wingo@pobox.com>
23539 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
23540 New parameters, simulate network packet loss.
23542 * tests/network-clock-utils.scm: Initialize the RNG.
23544 2005-06-28 Wim Taymans <wim@fluendo.com>
23546 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
23547 (gst_basesink_event), (gst_basesink_deactivate):
23548 Flushing the preroll queue always needs to unlock the waiters.
23550 2005-06-28 Edward Hervey <edward@fluendo.com>
23552 * gst/gstpipeline.c: (gst_pipeline_send_event):
23553 Wheen a seek was successful on a pipeline, set the stream_time to the
23554 seek offset in order to have a synchronized stream_time.
23556 2005-06-28 Wim Taymans <wim@fluendo.com>
23558 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23559 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
23560 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
23561 (gst_proxy_pad_do_fixatecaps):
23562 Call wrapper function instead of just calling the function
23563 pointers. This takes care of any locking and whatmore.
23565 2005-06-28 Wim Taymans <wim@fluendo.com>
23567 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
23568 (gst_pad_pull_range):
23570 CONNECTED -> LINKED.
23572 2005-06-28 Andy Wingo <wingo@pobox.com>
23574 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
23575 source-munging commit!!!
23577 * gst/gstobject.c (gst_object_unref, gst_object_ref)
23578 (gst_object_sink): Take gpointer arguments, not GstObject --
23579 avoids casts. Like GLib.
23581 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
23584 2005-06-27 Andy Wingo <wingo@pobox.com>
23586 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
23589 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
23590 returns a sorted copy of the trace list.
23591 (gst_alloc_trace_print_live): New API, only prints traces with
23592 live objects. Sort the list.
23593 (gst_alloc_trace_print_all): Sort the list.
23594 (gst_alloc_trace_print): Align columns.
23596 * gst/elements/gstttypefindelement.c:
23597 * gst/elements/gsttee.c:
23598 * gst/base/gstbasesrc.c:
23599 * gst/base/gstbasesink.c:
23600 * gst/base/gstbasetransform.c:
23601 * gst/gstqueue.c: Adapt for pad activation changes.
23603 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
23605 (gst_pipeline_dispose): Drop ref on sched.
23607 * gst/gstpad.c (gst_pad_init): Set the default activate func.
23608 (gst_pad_activate_default): Push mode by default.
23609 (pre_activate_switch, post_activate_switch): New stubs, things to
23610 do before and after switching activation modes on pads.
23611 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
23612 the pad's activate function to choose which mode to activate.
23613 Shortcut on deactivation and call the right function directly.
23614 (gst_pad_activate_pull): New API, (de)activates a pad in pull
23616 (gst_pad_activate_push): New API, same for push mode.
23617 (gst_pad_set_activate_function)
23618 (gst_pad_set_activatepull_function)
23619 (gst_pad_set_activatepush_function): Setters for new API.
23621 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
23622 Trace all miniobjects.
23623 (gst_mini_object_make_writable): Unref the arg if we copy, like
23624 gst_caps_make_writable.
23626 * gst/gstmessage.c (_gst_message_initialize): No trace init.
23628 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
23629 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
23630 Adapt for new pad API.
23632 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
23634 * gst/gstelement.h:
23635 * gst/gstelement.c (gst_element_iterate_src_pads)
23636 (gst_element_iterate_sink_pads): New API functions.
23638 * gst/gstelement.c (iterator_fold_with_resync): New utility,
23639 should fold into gstiterator.c in some form.
23640 (gst_element_pads_activate): Simplified via use of fold and
23641 delegation of decisions to gstpad->activate.
23643 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
23646 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
23647 class once in init, like gstmessage. Didn't run into this issue
23648 but it seems correct. Don't initialize a trace, gstminiobject does
23651 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
23652 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
23654 (assert_live_count): New util function, uses alloc traces to check
23657 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
23658 To be modified when unlink drops the internal pad.
23660 2005-06-27 Wim Taymans <wim@fluendo.com>
23662 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
23663 (gst_bin_change_state):
23664 Cleanup the get_state() function a little, make sure it
23665 iterates the same set of elements.
23666 Added stub iterate_state_order().
23668 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
23670 * docs/gst/gstreamer-docs.sgml:
23671 * docs/gst/gstreamer-sections.txt:
23672 * docs/gst/gstreamer.types:
23673 * docs/gst/tmpl/gstbasesink.sgml:
23674 * docs/gst/tmpl/gstbasesrc.sgml:
23675 * docs/gst/tmpl/gstbasetransform.sgml:
23676 * docs/gst/tmpl/gstelement.sgml:
23677 * docs/gst/tmpl/gstiterator.sgml:
23678 * gst/base/gstbasesrc.c:
23679 * gst/base/gstbasesrc.h:
23680 * gst/base/gstbasetransform.h:
23681 * gst/gstelement.c:
23682 * gst/gstiterator.h:
23683 adding basetransform and iterator docs
23685 2005-06-27 Andy Wingo <wingo@pobox.com>
23687 * docs/design/part-activation.txt: Notes on how activation should
23688 work -- not quite implemented yet.
23690 2005-06-25 Wim Taymans <wim@fluendo.com>
23692 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
23693 At least get the chain function correct, needs more
23696 2005-06-25 Wim Taymans <wim@fluendo.com>
23698 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
23699 (gst_basesink_handle_object), (gst_basesink_event),
23700 (gst_basesink_do_sync), (gst_basesink_handle_event),
23701 (gst_basesink_change_state):
23703 Right, two problems here: ghostpads don't take locks and
23704 glib _rec_mutex_lock_full() with depth==0 still locks.
23705 Catch illegal locking and g_warn them.
23707 2005-06-25 Wim Taymans <wim@fluendo.com>
23709 * check/states/sinks.c: (START_TEST), (gst_object_suite):
23710 Have to check for completion now...
23712 2005-06-25 Wim Taymans <wim@fluendo.com>
23714 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
23715 (gst_basesink_handle_object), (gst_basesink_event),
23716 (gst_basesink_do_sync), (gst_basesink_handle_event),
23717 (gst_basesink_change_state):
23719 Unlock STREAM_LOCK whatever the recursion was.
23721 2005-06-25 Wim Taymans <wim@fluendo.com>
23723 * gst/base/gstbasesink.c: (gst_basesink_set_property),
23724 (gst_basesink_preroll_queue_empty),
23725 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
23726 (gst_basesink_event), (gst_basesink_do_sync),
23727 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
23728 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
23729 (gst_basesink_change_state):
23730 Reworked the base sink, handle event and buffer serialisation
23731 correctly and removed possible deadlock.
23732 Handle EOS correctly.
23734 2005-06-25 Wim Taymans <wim@fluendo.com>
23736 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
23737 (gst_pipeline_change_state):
23738 * tools/gst-launch.c: (check_intr), (event_loop), (main):
23739 Allow elements to post EOS in the state change function.
23740 Fix up -launch, make it exit the poll loop when the
23741 pipeline actually changed state.
23742 Fix up warning parsing in -launch.
23744 2005-06-25 Wim Taymans <wim@fluendo.com>
23746 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
23747 (gst_tee_sink_activate):
23748 Core takes STREAM_LOCK for us now.
23750 2005-06-25 Wim Taymans <wim@fluendo.com>
23752 * gst/gstelement.c: (gst_element_get_state_func),
23753 (gst_element_set_state):
23754 * gst/gstelement.h:
23755 * gst/gstmessage.c: (gst_message_parse_error),
23756 (gst_message_parse_warning):
23757 Keep track of current target state while performing a state
23758 change so that subclasses can do something interesting.
23759 Fix parsing of warning/error messages when GError is NULL.
23761 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
23763 * docs/gst/Makefile.am:
23764 * docs/gst/gstreamer-docs.sgml:
23765 * docs/gst/gstreamer-sections.txt:
23766 * docs/gst/gstreamer.types:
23767 * docs/gst/tmpl/gstbasesink.sgml:
23768 * docs/gst/tmpl/gstbasesrc.sgml:
23769 * docs/gst/tmpl/gstbin.sgml:
23770 * docs/gst/tmpl/gstcompat.sgml:
23771 * docs/gst/tmpl/gstfakesink.sgml:
23772 * docs/gst/tmpl/gstfakesrc.sgml:
23773 * docs/gst/tmpl/gstfilesink.sgml:
23774 * docs/gst/tmpl/gstfilesrc.sgml:
23775 * docs/gst/tmpl/gstindex.sgml:
23776 * docs/manual/appendix-quotes.xml:
23777 * gst/base/gstbasesrc.h:
23778 * gst/elements/gstfakesrc.h:
23779 * gst/gstmessage.h:
23780 start pulling in base classes and elements in our docs
23782 2005-06-24 Stefan Kost <ensonic@users.sf.net>
23784 * docs/gst/Makefile.am:
23785 * docs/libs/Makefile.am:
23786 fixed make distcheck with gtk-doc 1.3
23788 2005-06-23 Wim Taymans <wim@fluendo.com>
23790 * gst/gstelement.c: (gst_element_get_state_func),
23791 (gst_element_set_state), (gst_element_change_state):
23792 When the state did not change, also report NO_PREROLL
23795 2005-06-23 Wim Taymans <wim@fluendo.com>
23797 * gst/gstpad.c: (gst_pad_event_default):
23798 * gst/gstqueue.c: (gst_queue_loop):
23799 No unsafe task pausing please.
23801 2005-06-23 Wim Taymans <wim@fluendo.com>
23803 * gst/schedulers/threadscheduler.c:
23804 (gst_thread_scheduler_task_start),
23805 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
23806 Ref the task before pushing it on the threadpool. This
23807 makes sure that we have a ref when the threadfunction is
23810 2005-06-23 Andy Wingo <wingo@pobox.com>
23812 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
23813 offset is greater than the file's size.
23815 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
23816 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
23817 * gst/gstobject.c (gst_object_class_init): Make the class lock
23818 recursive. Wim won't let me drop deep_notify. Decodebin works
23819 again, whoopdy doo.
23821 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
23822 internal pad, and hacks accordingly. Doesn't do it on the target
23823 pad because we change its caps. Probably catches all cases of
23825 (gst_ghost_pad_set_property): Connect to notify::caps as
23828 * tests/network-clock.scm (plot-simulation): Pipe data to the
23829 elite python skript.
23831 * tests/network-clock-utils.scm (define-parameter): New macro,
23832 defines a parameter that can be set via the command line.
23833 (set-parameter!, parse-parameter-arguments): Command line args
23836 * tests/plot-data: Simple matplotlib-based plotter, takes input on
23839 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
23841 * gst/elements/gsttypefindelement.c:
23842 (gst_type_find_element_handle_event):
23843 Don't restart typefinding on a discont.
23844 * gst/gstelement.c: (gst_element_set_state):
23845 Debug spelling fix.
23846 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
23847 Allow changing mode of an active pad.
23848 Debug output fixes.
23849 * gst/registries/gstlibxmlregistry.c: (load_feature):
23850 Don't cast a static pad template to a normal pad template.
23852 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
23854 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23855 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23856 remove gst_strtoll completely, since it didn't actually do
23857 anything more than what g_ascii_strtoull already does.
23858 check for range errors when deserializing
23859 do a cast for the unsigned cases; but further fixing needs
23860 a decision on what the interpretation of "(int)" and
23861 deserialization should be for values that fall outside the
23862 type's boundaries (ie, refuse, or interpret as casting)
23864 2005-06-23 Wim Taymans <wim@fluendo.com>
23866 * check/Makefile.am:
23867 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
23868 * docs/design/part-live-source.txt:
23869 * docs/design/part-states.txt:
23870 * gst/base/gstbasesrc.c: (gst_basesrc_init),
23871 (gst_basesrc_set_live), (gst_basesrc_is_live),
23872 (gst_basesrc_get_range), (gst_basesrc_activate),
23873 (gst_basesrc_change_state):
23874 * gst/base/gstbasesrc.h:
23875 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23876 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
23877 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
23878 * gst/gstelement.c: (gst_element_get_state_func),
23879 (gst_element_set_state):
23880 * gst/gstelement.h:
23882 * tools/gst-launch.c: (event_loop), (main):
23883 Added support for live sources and other elements that
23885 Updated design docs, added live-source design doc.
23886 Implemented live source functionality in basesrc
23887 Fix error condition in _bin_get_state()
23888 Implement live source handling in -launch.
23889 Added check for live sources.
23890 Fixed case in GstBin where elements were changed state
23894 2005-06-23 Andy Wingo <wingo@pobox.com>
23896 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
23897 borken refcounting.
23899 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
23900 gst_caps_replace takes care of this for us.
23902 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
23903 gst_pad_set_caps on the target, not just its setcaps() function.
23905 * tests/network-clock.scm:
23906 * tests/network-clock-utils.scm: A network clock simulator.
23907 Something of an algorithmic testbed before doing something in C.
23909 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
23911 * check/Makefile.am:
23912 * check/gst/capslist.h:
23913 copy over from 0.8, and add two with bitmasks specified with
23915 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
23916 add test to parse everything from capslist.h
23917 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
23919 add test for structure deserialization
23920 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23921 add tests for deserialization of strings to int types
23922 * gst/gststructure.c: (gst_structure_nth_field_name):
23923 * gst/gststructure.h:
23924 add a way to get the name of a field referenced by index
23925 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23926 instead of checking if the resulting long long lies between
23927 min and max, we check if the long long would fit into
23928 a number of bytes for the final type.
23929 This fixes cases where a string represents 2^32 - 1, which
23930 when cast to int would be the (valid) -1, but is bigger than
23933 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
23935 * gst/parse/grammar.y:
23936 add a log line for type deserialization
23938 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
23940 * check/gst/gstvalue.c: (START_TEST):
23941 * gst/gstvalue.c: (gst_value_deserialize):
23942 return long long, not int, so gint64 deserialization actually
23943 works. Is there any flag that makes the compiler check this ?
23946 2005-06-22 Wim Taymans <wim@fluendo.com>
23949 Added convenience macros for setting buffers in GValue.
23951 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
23953 * check/gst/.cvsignore:
23954 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23955 add a test deserializing int64, and comment part out because
23958 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
23960 * check/Makefile.am:
23961 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
23962 * testsuite/Makefile.am:
23963 * testsuite/caps/Makefile.am:
23964 * testsuite/caps/value_serialize.c:
23965 * testsuite/test_gst_init.c:
23966 move a value_serialize test over
23968 2005-06-20 Wim Taymans <wim@fluendo.com>
23973 * gst/gstvalue.c: (gst_value_compare_buffer),
23974 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
23975 (gst_value_compare_flags), (gst_value_serialize_flags),
23976 (gst_value_deserialize_flags), (_gst_value_initialize):
23977 Fix serialisation of buffers, they are not boxed types anymore
23979 2005-06-20 Wim Taymans <wim@fluendo.com>
23981 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
23982 Testcase to show error in buffer-on-caps serialisation.
23984 2005-06-20 Andy Wingo <wingo@pobox.com>
23986 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
23987 will be adding to later.
23989 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
23990 if its socks fill with rocks.
23991 (gst_system_clock_obtain): Set the name on object construction.
23992 Avoid double-checked locking.
23994 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
23996 * gst/gsturi.c: (gst_element_make_from_uri):
23997 Fix potential endless loop.
23999 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
24001 * check/Makefile.am:
24003 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
24005 move over from testsuite dir and clean up
24008 * testsuite/Makefile.am:
24009 * testsuite/tags/.cvsignore:
24010 * testsuite/tags/Makefile.am:
24011 * testsuite/tags/merge.c:
24012 remove testsuite/tags
24014 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
24016 * docs/gst/gstreamer-sections.txt:
24017 * docs/gst/tmpl/gstenumtypes.sgml:
24018 * win32/gstenumtypes.c:
24019 clean up documentation build a little
24021 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
24023 * check/gstcheck.h:
24024 add macros for checking refcounts on objects and caps
24025 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
24026 add some more unit tests
24027 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
24028 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
24029 fix leaked refcounts (I hope :)) so unittest works
24033 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
24035 * configure.ac: back to HEAD
24037 === release 0.9.1 ===
24039 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
24045 2005-06-17 Andy Wingo <wingo@pobox.com>
24047 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
24048 assert; it's always possible that the pad gets deactivated in
24049 between the checks in gstpad.c and the implementation. Rely on
24050 finish_preroll() to return a FLUSHING or similar instead of on the
24053 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
24054 clock and post an EOS message if we come out of finish_preroll in
24057 2005-06-16 David Schleef <ds@schleef.org>
24059 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
24060 (gst_capsfilter_set_property): Allow NULL as possible value
24061 for filter_caps property, indicating GST_CAPS_ANY.
24063 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
24065 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
24067 * gst/schedulers/Makefile.am:
24069 * gstreamer.spec.in:
24072 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
24074 * gstreamer.spec.in:
24077 2005-06-08 Andy Wingo <wingo@pobox.com>
24079 * gst/gstutils.c: RPAD fixes all around.
24080 (gst_element_link_pads): Refcounting fixes.
24082 * tools/gst-inspect.c:
24083 * tools/gst-xmlinspect.c:
24085 * gst/base/gsttypefindhelper.c:
24086 * gst/base/gstbasesink.c:
24087 * gst/gstqueue.c: RPAD fixes.
24089 * gst/gstghostpad.h:
24090 * gst/gstghostpad.c: New ghost pad implementation as full proxy
24091 pads. The tricky thing is they provide both source and sink
24092 interfaces, since they proxy the internal pad for the external
24093 pad, and vice versa. Implement with lower-level ProxyPad objects,
24094 with the interior proxy pad as a child of the exterior ghost pad.
24095 Should write a doc on this.
24097 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
24098 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
24101 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
24102 pads are real pads. No ghost pads in this file. Not documenting
24103 the myriad s/RPAD/PAD/ and REALIZE fixes.
24104 (gst_pad_class_init): Add properties for "direction" and
24105 "template". Both are construct-only, so they can't change during
24106 the life of the pad. Fixes properly deriving from GstPad.
24107 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
24108 derived objects, just set properties when creating the objects via
24110 (gst_pad_get_parent): Implement as a function, return NULL if the
24111 parent is not an element.
24112 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
24113 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
24115 * gst/gstobject.c (gst_object_class_init): Make name a construct
24116 property. Don't set it in the object init.
24118 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
24119 with UNKNOWN direction.
24120 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
24121 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
24122 (gst_element_remove_pad): Remove ghost-pad special cases.
24123 (gst_element_pads_activate): Remove rpad cruft.
24125 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
24126 catch the pad's-parent-not-an-element case.
24128 * gst/gst.h: Include gstghostpad.h.
24130 * gst/gst.c (init_post): No more real, ghost pads.
24132 * gst/Makefile.am: Add gstghostpad.[ch].
24134 * check/Makefile.am:
24135 * check/gst/gstbin.c:
24136 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
24137 into a bin creates ghost pads, and that the refcounts are right.
24138 Partly moved from gstbin.c.
24140 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
24142 * check/gst-libs/.cvsignore:
24143 * check/gst/.cvsignore:
24144 * check/pipelines/.cvsignore:
24146 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
24147 (START_TEST), (cleanup_suite), (main):
24148 add some tests related to cleanup after running pipelines
24150 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
24152 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
24153 add a testsuite for GstBuffer
24155 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
24157 * gst/gstminiobject.h:
24158 add defines for accessing the refcount
24160 2005-06-03 Stefan Kost <ensonic@users.sf.net>
24162 * Makefile.am: added support for html unit test coverage reports
24164 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
24166 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
24167 Free existing caps if the capsfilter changes. Add a FIXME about
24168 setting those caps on the pads.
24170 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
24171 Before adding a ghost pad to a parent bin, check that there isn't
24172 already one for the element on the bin. Prevents infinite recursion
24173 when using decodebin in parse pipelines. Andy says he'll rewrite the
24174 way this works anyway, so ignore the hack.
24176 2005-06-02 Andy Wingo <wingo@pobox.com>
24178 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
24179 file size, pass it on to the type find helper.
24181 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
24182 segment_start and segment_end properly according to the seek
24183 method. Segment_end is still a bit flaky because offset can be
24184 negative for CUR and END cases, but it takes -1 as an "unset"
24187 2005-06-02 Wim Taymans <wim@fluendo.com>
24189 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
24190 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
24191 (gst_basesink_activate):
24192 * gst/base/gstbasesink.h:
24193 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24194 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
24195 (gst_pad_query), (gst_pad_start_task):
24197 * gst/gstqueue.c: (gst_queue_bufferalloc),
24198 (gst_queue_handle_sink_event), (gst_queue_chain):
24199 Bufferalloc: return GstFlowReturn to more accuratly report
24200 why allocation failed.
24202 2005-06-02 Wim Taymans <wim@fluendo.com>
24204 * gst/gstpipeline.c: (gst_pipeline_send_event):
24205 Take snapshot of state without blocking.
24207 2005-06-02 Wim Taymans <wim@fluendo.com>
24209 * docs/design/part-TODO.txt:
24210 * docs/design/part-caps.txt:
24211 * docs/design/part-clocks.txt:
24212 * docs/design/part-negotiation.txt:
24213 * docs/design/part-preroll.txt:
24216 2005-05-30 Wim Taymans <wim@fluendo.com>
24218 * gst/elements/gstidentity.c: (gst_identity_event),
24219 (gst_identity_transform), (gst_identity_get_property):
24220 Protect last_message property as it is accessed from
24223 2005-05-30 Wim Taymans <wim@fluendo.com>
24225 * gst/gstelement.c: (gst_element_init),
24226 (gst_element_pads_activate), (gst_element_change_state):
24227 Slicker pad activation code.
24229 2005-05-30 Wim Taymans <wim@fluendo.com>
24232 * gst/gstelement.h:
24233 * gst/gstelementfactory.h:
24235 Move elementfactory methods to separate .h file.
24237 2005-05-30 Wim Taymans <wim@fluendo.com>
24239 * docs/design/part-overview.txt:
24240 * gst/gstsystemclock.h:
24241 Small typo fixes, doc updates.
24243 2005-05-30 Wim Taymans <wim@fluendo.com>
24245 * gst/gst.c: (gst_init_get_popt_table), (init_post),
24246 (init_popt_callback):
24247 Remove cpu-opt flag.
24249 2005-05-30 Wim Taymans <wim@fluendo.com>
24251 * gst/gstbuffer.c: (gst_subbuffer_finalize),
24252 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
24254 Avoid typechecking in places where not needed.
24255 Added accessor for malloc_data.
24257 2005-05-30 Wim Taymans <wim@fluendo.com>
24259 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
24260 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
24261 (gst_pad_configure_sink), (gst_pad_configure_src),
24262 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
24263 (gst_pad_start_task):
24264 Propagate errors from _set_caps() in configure_src/sink
24265 functions instead of returning TRUE.
24266 FLUSH events can travel up and downstream
24269 2005-05-30 Wim Taymans <wim@fluendo.com>
24271 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
24272 (gst_basesink_activate):
24273 Handle EOS in preroll.
24275 2005-05-30 Wim Taymans <wim@fluendo.com>
24277 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
24278 (gst_queue_loop), (gst_queue_handle_src_event):
24279 Remove old pieces of code
24280 Flushing the queue in an upstream event is a very bad idea.
24282 2005-05-26 Andy Wingo <wingo@pobox.com>
24284 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
24285 gst_value_set_mini_object so as to add a ref on the object (which
24286 will be removed when the value is unset).
24288 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
24289 arg type in ::handoff.
24291 * gst/gstelement.c (gst_element_change_state): Also deactivate
24292 pads in READY->NULL, just in case the element didn't make it to
24293 PAUSED. Wingo tested, Wim approved.
24295 2005-05-26 Wim Taymans <wim@fluendo.com>
24297 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24298 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
24299 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
24300 A flushing pad cannot be used to alloc_buffer from.
24302 2005-05-26 Wim Taymans <wim@fluendo.com>
24304 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
24305 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
24306 (gst_bus_source_dispatch), (gst_bus_source_finalize),
24307 (gst_bus_create_watch), (gst_bus_add_watch_full):
24309 Implement a real GSource and use g_main_context_wakeup() to
24310 signal new messages instead of the socketpair.
24312 2005-05-25 Wim Taymans <wim@fluendo.com>
24314 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
24315 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
24316 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24317 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
24318 (gst_pad_send_event), (gst_pad_start_task):
24319 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
24320 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
24321 (gst_queue_sink_activate), (gst_queue_src_activate),
24322 (gst_queue_change_state):
24324 Fix state changes for non sinks. We now change sinks, then elements
24325 with unconnected srcpads, then the rest.
24326 More efficient queue unlocking in flush and state changes.
24327 Set the pad activate mode even if it does not have an activate
24330 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24332 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
24333 Don't go in pull mode for non-seekable sources.
24334 * gst/elements/gsttypefindelement.h:
24335 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
24336 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
24337 (free_entry), (stop_typefinding),
24338 (gst_type_find_element_handle_event), (find_peek),
24339 (gst_type_find_element_chain), (do_pull_typefind),
24340 (gst_type_find_element_change_state):
24341 Allow typefinding (w/o seeking) in push-mode, simplified version
24342 of what was in 0.8.
24343 * gst/gstutils.c: (gst_buffer_join):
24345 gst_buffer_join() from 0.8.
24347 2005-05-25 Wim Taymans <wim@fluendo.com>
24349 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24350 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
24351 (gst_pad_send_event), (gst_pad_start_task):
24352 Disable attempt at mode switching until it is figured out.
24354 2005-05-25 Wim Taymans <wim@fluendo.com>
24356 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
24357 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
24358 (gst_basesink_finish_preroll), (gst_basesink_chain),
24359 (gst_basesink_loop), (gst_basesink_activate),
24360 (gst_basesink_change_state):
24361 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
24362 (gst_basesrc_get_range), (gst_basesrc_loop),
24363 (gst_basesrc_activate):
24364 * gst/elements/gsttee.c: (gst_tee_sink_activate):
24365 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
24366 (gst_real_pad_init), (gst_real_pad_set_property),
24367 (gst_real_pad_get_property), (gst_pad_set_active),
24368 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
24369 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
24370 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
24371 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
24372 (gst_pad_event_default_dispatch), (gst_pad_event_default),
24373 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
24374 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
24375 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
24376 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
24377 (gst_pad_stop_task):
24379 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
24380 (gst_queue_loop), (gst_queue_src_activate):
24381 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
24382 (gst_task_get_state):
24384 * gst/schedulers/threadscheduler.c:
24385 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
24386 Implement gst_pad_pause/start/stop_task(), take STREAM lock
24388 Remove ACTIVE pad flag, use FLUSHING everywhere
24389 Added _pad_chain(), _pad_get_range() to call chain/getrange
24391 Add locks around IS_FLUSHING when reading.
24392 Take STREAM lock in chain(), get_range() functions so plugins
24393 don't need to take it anymore.
24397 2005-05-25 Wim Taymans <wim@fluendo.com>
24399 * tools/gst-launch.c: (event_loop):
24400 Unref message after using its contents instead of
24403 2005-05-24 Wim Taymans <wim@fluendo.com>
24405 * docs/design/draft-ghostpads.txt:
24406 * docs/design/draft-push-pull.txt:
24407 * docs/design/draft-query.txt:
24408 * docs/design/part-overview.txt:
24409 Docs updates, added general overview doc.
24411 2005-05-21 David Schleef <ds@schleef.org>
24413 * docs/gst/tmpl/old/GstBin.sgml:
24414 * docs/gst/tmpl/old/GstBuffer.sgml:
24415 * docs/gst/tmpl/old/GstCaps.sgml:
24416 * docs/gst/tmpl/old/GstClock.sgml:
24417 * docs/gst/tmpl/old/GstCompat.sgml:
24418 * docs/gst/tmpl/old/GstData.sgml:
24419 * docs/gst/tmpl/old/GstElement.sgml:
24420 * docs/gst/tmpl/old/GstEvent.sgml:
24421 * docs/gst/tmpl/old/GstIndex.sgml:
24422 * docs/gst/tmpl/old/GstStructure.sgml:
24423 * docs/gst/tmpl/old/GstTag.sgml:
24424 * docs/gst/tmpl/old/cothreads.sgml:
24425 * docs/gst/tmpl/old/cothreads_compat.sgml:
24426 * docs/gst/tmpl/old/gettext.sgml:
24427 * docs/gst/tmpl/old/gobject2gtk.sgml:
24428 * docs/gst/tmpl/old/grammar.tab.sgml:
24429 * docs/gst/tmpl/old/gst-i18n-app.sgml:
24430 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
24431 * docs/gst/tmpl/old/gst_private.sgml:
24432 * docs/gst/tmpl/old/gstaggregator.sgml:
24433 * docs/gst/tmpl/old/gstarch.sgml:
24434 * docs/gst/tmpl/old/gstatomic_impl.sgml:
24435 * docs/gst/tmpl/old/gstbufferstore.sgml:
24436 * docs/gst/tmpl/old/gstdata_private.sgml:
24437 * docs/gst/tmpl/old/gstdisksink.sgml:
24438 * docs/gst/tmpl/old/gstdisksrc.sgml:
24439 * docs/gst/tmpl/old/gstelementfactory.sgml:
24440 * docs/gst/tmpl/old/gstextratypes.sgml:
24441 * docs/gst/tmpl/old/gstfakesink.sgml:
24442 * docs/gst/tmpl/old/gstfakesrc.sgml:
24443 * docs/gst/tmpl/old/gstfdsink.sgml:
24444 * docs/gst/tmpl/old/gstfdsrc.sgml:
24445 * docs/gst/tmpl/old/gstfilesink.sgml:
24446 * docs/gst/tmpl/old/gstfilesrc.sgml:
24447 * docs/gst/tmpl/old/gsthttpsrc.sgml:
24448 * docs/gst/tmpl/old/gstidentity.sgml:
24449 * docs/gst/tmpl/old/gstindexfactory.sgml:
24450 * docs/gst/tmpl/old/gstmarshal.sgml:
24451 * docs/gst/tmpl/old/gstmd5sink.sgml:
24452 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
24453 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
24454 * docs/gst/tmpl/old/gstpadtemplate.sgml:
24455 * docs/gst/tmpl/old/gstpipefilter.sgml:
24456 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
24457 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
24458 * docs/gst/tmpl/old/gstshaper.sgml:
24459 * docs/gst/tmpl/old/gstspider.sgml:
24460 * docs/gst/tmpl/old/gstspideridentity.sgml:
24461 * docs/gst/tmpl/old/gststatistics.sgml:
24462 * docs/gst/tmpl/old/gsttee.sgml:
24463 * docs/gst/tmpl/old/gsttimecache.sgml:
24464 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
24465 * docs/gst/tmpl/old/gstxmlregistry.sgml:
24466 * docs/gst/tmpl/old/gthread-cothreads.sgml:
24467 * docs/gst/tmpl/old/types.sgml:
24468 I didn't intend to add these or check them in.
24470 2005-05-19 David Schleef <ds@schleef.org>
24472 * configure.ac: Use -no-common everywhere. In a sane world, it
24473 would be the default in libtool, because without it, you can't
24474 build DLLs on Windows.
24475 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
24476 * docs/gst/gstreamer-sections.txt:
24477 * docs/gst/tmpl/gstcpu.sgml:
24478 * docs/gst/tmpl/gstdata.sgml:
24479 * docs/gst/tmpl/gstthread.sgml:
24481 2005-05-19 David Schleef <ds@schleef.org>
24483 * gst/gstminiobject.c: (gst_value_set_mini_object),
24484 (gst_value_take_mini_object), (gst_value_get_mini_object):
24485 * gst/gstminiobject.h: Add GValue set/get functions.
24487 2005-05-19 Wim Taymans <wim@fluendo.com>
24489 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
24490 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
24491 (gst_subbuffer_init), (gst_buffer_is_span_fast):
24493 * gst/gstbus.c: (gst_bus_post):
24494 * gst/gstelement.c: (gst_element_get_random_pad):
24495 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
24496 Make subbufer unref the parent in finalize.
24497 some more debugging info.
24500 2005-05-19 Wim Taymans <wim@fluendo.com>
24502 * gst/base/gstbasesink.c: (gst_basesink_class_init),
24503 (gst_basesink_init), (gst_basesink_finalize),
24504 (gst_basesink_activate), (gst_basesink_change_state):
24505 Don't free preroll queue too early.
24507 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24511 Hi, I'm outdated. Please shoot me.
24513 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24515 * gst/gstpipeline.c: (gst_pipeline_send_event):
24516 Do not access variables after they have been deleted.
24518 2005-05-19 Wim Taymans <wim@fluendo.com>
24520 * tools/gst-inspect.c: (print_plugin_features):
24521 A plugin feature does unfortunatly not use the
24524 2005-05-18 Wim Taymans <wim@fluendo.com>
24526 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
24527 Port _span() functions to new subbuffers.
24529 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24531 * gst/gstbin.c: (gst_bin_add_func):
24532 Fix clock settery in bins when adding kids after the clock has
24535 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24537 * gst/elements/gstidentity.c: (gst_identity_class_init):
24538 Workaround until signals support GstMiniObject.
24540 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
24543 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
24545 2005-05-18 Wim Taymans <wim@fluendo.com>
24547 * gst/base/Makefile.am:
24548 * gst/base/gstadapter.c: (gst_adapter_base_init),
24549 (gst_adapter_class_init), (gst_adapter_init),
24550 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
24551 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
24552 (gst_adapter_flush), (gst_adapter_available),
24553 (gst_adapter_available_fast):
24554 * gst/base/gstadapter.h:
24555 Ported and added adapter to the base classes.
24557 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
24560 * gst/gstmessage.c:
24561 Make sure the class is reffed/unreffed once before threads can be
24562 used. Fixes #304551.
24564 2005-05-17 Wim Taymans <wim@fluendo.com>
24566 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
24567 (gst_basesink_chain_unlocked), (gst_basesink_activate):
24568 * gst/gstminiobject.c: (gst_mini_object_get_type),
24569 (gst_mini_object_free):
24570 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
24571 (gst_pad_push), (gst_pad_push_event):
24572 * gst/gstqueue.c: (gst_queue_change_state):
24573 Don't queue buffers in basesink when we are flushing.
24574 Unref buffer when flushing in basesink.
24575 Flush queue when going to READY
24576 Unref buffer when _push() returns an error.
24577 Don't free MiniObject instance when refcount is incremented
24578 in _finalize() so that we can recover objects.
24580 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
24582 * docs/manual/advanced-schedulers.xml:
24583 * docs/manual/appendix-checklist.xml:
24584 * docs/pwg/advanced-clock.xml:
24585 * docs/pwg/advanced-interfaces.xml:
24586 * docs/pwg/advanced-request.xml:
24587 * docs/pwg/advanced-types.xml:
24588 * docs/pwg/intro-preface.xml:
24589 * examples/plugins/example.c: (gst_example_get_type),
24590 (gst_example_class_init), (gst_example_chain),
24591 (gst_example_set_property), (gst_example_get_property),
24592 (gst_example_change_state), (plugin_init):
24593 * examples/plugins/example.h:
24596 2005-05-17 Wim Taymans <wim@fluendo.com>
24598 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
24599 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
24600 * gst/gstqueue.c: (gst_queue_change_state):
24601 Clear queue when going to READY.
24602 Remove IN_SETCAPS flag too.
24604 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
24606 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
24607 Remove implicit cast from gboolean to GstElementStateReturn;
24608 make sure we still return failure in paused => ready case if
24609 the parent class fails to change state and our own stop
24612 2005-05-17 Wim Taymans <wim@fluendo.com>
24614 * tools/gst-launch.c: (event_loop):
24615 Message was unreffed too soon.
24617 2005-05-16 Andy Wingo <wingo@pobox.com>
24619 * gst/gstbin.c (sink_iterator_filter): Err... um...
24621 * check/gst/gstbin.c (test_ghost_pads): New test for the
24622 ghosting-if-elements-not-in-same-bin behavior.
24624 2005-05-16 David Schleef <ds@schleef.org>
24626 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
24627 accessing refcount directly.
24629 2005-05-15 David Schleef <ds@schleef.org>
24631 * check/Makefile.am: remove GstData checks
24632 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
24633 * gst/Makefile.am: add miniobject, remove data
24634 * gst/gst.h: add miniobject, remove data
24635 * gst/gstdata.c: remove
24636 * gst/gstdata.h: remove
24637 * gst/gstdata_private.h: remove
24638 * gst/gsttypes.h: remove GstEvent and GstMessage
24639 * gst/gstelement.c: (gst_element_post_message): fix for API changes
24640 * gst/gstmarshal.list: change BOXED -> OBJECT
24642 Implement GstMiniObject.
24643 * gst/gstminiobject.c:
24644 * gst/gstminiobject.h:
24646 Modify to be subclasses of GstMiniObject.
24647 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
24648 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
24649 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
24650 (gst_subbuffer_get_type), (gst_subbuffer_init),
24651 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
24654 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
24655 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
24656 (_gst_event_copy), (gst_event_new):
24658 * gst/gstmessage.c: (_gst_message_initialize),
24659 (gst_message_get_type), (gst_message_class_init),
24660 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
24661 (gst_message_new), (gst_message_new_error),
24662 (gst_message_new_warning), (gst_message_new_tag),
24663 (gst_message_new_state_changed), (gst_message_new_application):
24664 * gst/gstmessage.h:
24665 * gst/gstprobe.c: (gst_probe_perform),
24666 (gst_probe_dispatcher_dispatch):
24668 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
24669 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
24670 (_gst_query_copy), (gst_query_new):
24672 Update elements for GstData -> GstMiniObject changes
24674 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
24675 (gst_queue_chain), (gst_queue_loop):
24676 * gst/elements/gstbufferstore.c:
24677 (gst_buffer_store_add_buffer_func),
24678 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
24679 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
24680 (gst_fakesink_render):
24681 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
24682 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
24683 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
24684 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
24685 (gst_filesrc_create_read):
24686 * gst/elements/gstidentity.c: (gst_identity_class_init):
24687 * gst/elements/gsttypefindelement.c:
24688 (gst_type_find_element_src_event), (free_entry_buffers),
24689 (gst_type_find_element_handle_event):
24690 * libs/gst/dataprotocol/dataprotocol.c:
24691 (gst_dp_header_from_buffer):
24692 * libs/gst/dataprotocol/dataprotocol.h:
24693 * libs/gst/dataprotocol/dp-private.h:
24695 2005-05-15 David Schleef <ds@schleef.org>
24697 * gst/elements/gstelements.c: Don't include headers that were
24700 2005-05-15 David Schleef <ds@schleef.org>
24702 * gst/elements/Makefile.am: Remove some elements that don't
24703 need to be in the core (or even exist at all).
24704 * gst/elements/gstaggregator.c:
24705 * gst/elements/gstaggregator.h:
24706 * gst/elements/gstmd5sink.c:
24707 * gst/elements/gstmd5sink.h:
24708 * gst/elements/gstmultifilesrc.c:
24709 * gst/elements/gstmultifilesrc.h:
24710 * gst/elements/gstpipefilter.c:
24711 * gst/elements/gstpipefilter.h:
24712 * gst/elements/gstshaper.c:
24713 * gst/elements/gstshaper.h:
24714 * gst/elements/gststatistics.c:
24715 * gst/elements/gststatistics.h:
24716 * po/POTFILES.in: Remove above files.
24718 2005-05-14 Andy Wingo <wingo@pobox.com>
24720 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
24721 so as to get the refs right.
24722 (sink_iterator_filter): New function, wraps bin_element_is_sink,
24723 unreffing objects that don't pass the filter.
24725 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
24726 gst_element_set_bus.
24727 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
24728 normal cases, this will destroy the bus.
24730 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
24733 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
24736 2005-05-13 Andy Wingo <wingo@pobox.com>
24738 * gst/gstutils.c (gst_element_link_pads): Instead of calling
24739 gst_pad_link, call pad_link_maybe_ghosting,
24740 (pad_link_maybe_ghosting): Links pads, making sure that the
24741 elements being linked are in the same bin.
24742 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
24743 Helpers for pad_link_maybe_ghosting.
24745 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
24748 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
24750 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
24752 * docs/design/part-element-source.txt:
24755 2005-05-12 Wim Taymans <wim@fluendo.com>
24757 * gst/base/gstbasesink.c: (gst_basesink_init),
24758 (gst_basesink_activate):
24759 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
24760 (gst_basesrc_is_seekable):
24761 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
24762 (bin_element_is_sink), (gst_bin_change_state):
24763 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
24764 * gst/gstelement.h:
24765 Identify sinks by their flag to avoid overly complicated
24767 Do state changes even for elements not reachable from the
24769 BaseSink is a sink now :)
24770 Some more debugging info in the basesrc.
24773 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24775 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
24776 Implement _query on a bin, similar to _send_event.
24778 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
24780 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
24781 Discont event offset format should be GST_FORMAT_BYTES,
24782 not GST_FORMAT_TIME.
24784 2005-05-12 Wim Taymans <wim@fluendo.com>
24786 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
24787 Same fix as Ronald's but without the signal.
24789 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24791 * gst/gstutils.c: (gst_element_query_position):
24792 No, an element is not a pad.
24794 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24796 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
24797 (gst_bin_get_state):
24798 If a child is removed from a bin while we remove the child from
24799 the bin and while we're retrieving its state, signal this to the
24800 get_state function so we abort the wait (instead of waiting for
24801 a timeout) and can immediately re-iterate over all other elements.
24803 2005-05-12 Wim Taymans <wim@fluendo.com>
24805 * gst/base/Makefile.am:
24806 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
24807 (gst_basesrc_start):
24808 * gst/base/gstbasesrc.h:
24809 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
24810 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
24811 (gst_pushsrc_init), (gst_pushsrc_create):
24812 * gst/base/gstpushsrc.h:
24813 Added is_seekable to BaseSrc
24814 Added simple PushSrc.
24816 2005-05-11 Wim Taymans <wim@fluendo.com>
24818 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
24819 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24820 (gst_element_link_pads), (gst_element_query_position),
24821 (gst_element_query_convert), (intersect_caps_func),
24822 (gst_pad_query_position), (gst_pad_query_convert):
24823 Fix refcounting in utils function.
24824 No point in trying to activate a pad when it's added, it could
24825 be added from the state change function and then we deadlock, the
24826 element has to decide what to do.
24828 2005-05-10 Andy Wingo <wingo@pobox.com>
24830 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
24831 *all* the arguments.
24833 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
24834 stream lock if it's a FLUSH_DONE; normal flushes don't get the
24835 lock (according to the docs -- if this is wrong change the docs).
24837 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
24838 flush messages in the NULL state.
24840 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
24841 message immediately and return.
24842 (gst_bus_set_flushing): New function. If a bus is flushing, it
24843 flushes out any queued messages and immediately unrefs new
24844 messages. This is so when an element goes to NULL, all of the
24845 unhandled messages coming from it can be freed, and their
24846 references to the element dropped. In other words: message source
24847 ref considered harmful :P
24849 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
24850 we're finished with it.
24852 * gst/gstmessage.c (gst_message_new_state_changed):
24854 2005-05-10 Wim Taymans <wim@fluendo.com>
24856 * gst/gstvalue.c: (gst_value_compare_flags),
24857 (gst_value_serialize_flags), (gst_value_deserialize_flags),
24858 (_gst_value_initialize):
24859 Added flags serialize/deserialize/compare code.
24861 2005-05-09 Andy Wingo <wingo@pobox.com>
24863 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
24864 Intersect the peer's caps with our caps.
24866 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24868 * gst/base/gsttypefindhelper.c: (helper_find_peek):
24869 * gst/elements/gsttypefindelement.c: (find_peek):
24870 Handle negative offsets better. Fixes decodebin.
24872 2005-05-09 Wim Taymans <wim@fluendo.com>
24874 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
24875 (gst_base_transform_event):
24876 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
24877 Implement accept_caps.
24878 Fix silly lock/unlock mismatch in base class.
24880 2005-05-09 Wim Taymans <wim@fluendo.com>
24882 * docs/design/draft-push-pull.txt:
24883 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
24884 * gst/elements/gstfilesink.c: (gst_filesink_init),
24885 (gst_filesink_query):
24886 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
24887 (gst_type_find_handle_src_query), (find_element_get_length):
24888 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
24889 * gst/gstelement.h:
24890 * gst/gstmessage.c:
24891 * gst/gstmessage.h:
24892 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
24893 (gst_real_pad_get_caps_unlocked),
24894 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
24895 (gst_pad_event_default_dispatch), (gst_pad_event_default),
24896 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
24897 (gst_real_pad_dispose), (gst_real_pad_finalize),
24898 (gst_pad_load_and_link), (gst_pad_save_thyself),
24899 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
24900 (gst_pad_check_pull_range), (gst_pad_pull_range),
24901 (gst_pad_template_get_type), (gst_pad_template_class_init),
24902 (gst_pad_template_init), (gst_pad_template_dispose),
24903 (name_is_valid), (gst_static_pad_template_get),
24904 (gst_pad_template_new), (gst_static_pad_template_get_caps),
24905 (gst_pad_template_get_caps), (gst_pad_set_element_private),
24906 (gst_pad_get_element_private), (gst_pad_start_task),
24907 (gst_pad_pause_task), (gst_pad_stop_task),
24908 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
24909 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
24910 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
24911 (gst_ghost_pad_new):
24913 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
24914 (gst_query_new_position), (gst_query_set_position),
24915 (gst_query_parse_position), (gst_query_new_convert),
24916 (gst_query_set_convert), (gst_query_parse_convert):
24918 * gst/gstqueryutils.c:
24919 * gst/gstqueryutils.h:
24920 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
24921 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
24922 (gst_queue_handle_src_query):
24923 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24924 (gst_element_query_position), (gst_element_query_convert),
24925 (intersect_caps_func), (gst_pad_query_position),
24926 (gst_pad_query_convert):
24928 * tools/gst-inspect.c: (print_pad_info):
24929 * tools/gst-xmlinspect.c: (print_element_info):
24930 Remove old query functions. Ported old code.
24931 Added position/convert helper functions to gstutils.
24932 Reordered gstpad.c code, grouping relevant things.
24933 Remove gst_message_new(), always need to speficy a specific
24937 2005-05-09 Andy Wingo <wingo@pobox.com>
24939 * gst/gstiterator.h: Add some includes.
24941 * gst/gstqueryutils.h: Include more headers.
24944 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
24945 some uses of gst_pad_query.
24947 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
24948 NULL out parameters.
24949 (gst_query_new_position): New proc, allocates a new position
24952 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
24953 gstqueryutils.c to the build.
24955 * gst/gststructure.c (gst_structure_set_valist): Implement with
24956 the generic G_VALUE_COLLECT.
24958 2005-05-08 Edward Hervey <bilboed@bilboed.com>
24960 * gst/Makefile.am: (gst_headers):
24961 Added gstqueryutils.h to the list of headers to install, that was
24962 a 'nachty' move wingo :)
24964 2005-05-06 Andy Wingo <wingo@pobox.com>
24967 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
24968 GstData, init a memchunk.
24969 (standard_definitions): Add a few query types, deprecate a few.
24970 (gst_query_get_type): New proc.
24971 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
24973 (gst_query_new_application, gst_query_get_structure): New public
24976 * docs/design/draft-query.txt: Removed LINKS from the query types,
24977 because all the rest can be dispatched to other pads -- seemed
24978 ugly to have a query that couldn't be dispatched. internal_links
24979 is fine as a pad method.
24981 * gst/gstpad.h: Add query2 as a pad method, add the new functions
24982 in gstpad.c, but maintain binary compatibility for the moment.
24983 Will fix before 0.9 is out.
24985 * gst/gstqueryutils.c:
24986 * gst/gstqueryutils.h: New files, implement 3 methods for each
24987 query type: parse_query, parse_response, and set. Probably need an
24990 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
24992 * gst/elements/gstfilesink.c (gst_filesink_query2):
24993 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
24994 query_types, and formats methods.
24996 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
24997 (gst_pad_set_query2_function): New functions.
24998 (gst_real_pad_init): Set query2_default as the default query2
24999 function. Basically just dispatches to internally linked pads.
25003 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
25004 without using the atomic operations. Only one thread can possibly
25005 be accessing the data at this point. Changed so as to avoid
25006 gst_atomic operations.
25008 2005-05-06 Wim Taymans <wim@fluendo.com>
25010 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
25011 Also set caps if we use the fallback buffer alloc.
25013 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
25015 * docs/gst/Makefile.am:
25016 * docs/gst/gstreamer-docs.sgml:
25017 * docs/gst/gstreamer-sections.txt:
25018 * docs/gst/tmpl/gstatomic.sgml:
25019 * docs/gst/tmpl/gstmemchunk.sgml:
25020 * testsuite/elements/struct_i386.h:
25021 * win32/GStreamer.vcproj:
25023 Purge GstAtomic stuff from docs and win32 makefiles as well
25025 2005-05-06 Wim Taymans <wim@fluendo.com>
25027 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
25028 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
25029 * gst/gstpad.c: (gst_pad_peer_get_caps):
25030 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
25031 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
25032 (gst_queue_src_activate), (gst_queue_change_state):
25034 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
25035 (intersect_caps_func):
25036 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
25037 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
25038 Some fixes for the peer_get_caps() change.
25040 2005-05-06 Wim Taymans <wim@fluendo.com>
25042 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
25043 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
25044 (gst_basesink_activate):
25045 Actually do something with error codes returned from the push
25048 2005-05-06 Wim Taymans <wim@fluendo.com>
25050 * docs/design/part-element-sink.txt:
25051 * docs/design/part-element-source.txt:
25052 * gst/base/gstbasesink.c: (gst_basesink_class_init),
25053 (gst_basesink_event), (gst_basesink_activate):
25054 * gst/base/gstbasesink.h:
25055 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
25056 (gst_basesrc_activate):
25057 * gst/base/gstbasesrc.h:
25058 * gst/gstelement.c: (gst_element_pads_activate):
25059 Some more documentation.
25060 Fixed scheduling decision in _pads_activate().
25062 2005-05-05 Andy Wingo <wingo@pobox.com>
25064 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
25067 2005-05-05 Wim Taymans <wim@fluendo.com>
25069 * gst/base/Makefile.am:
25070 * gst/base/gstbasesink.h:
25071 * gst/base/gstbasesrc.c: (gst_basesrc_init),
25072 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
25073 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
25074 (gst_collectpads_class_init), (gst_collectpads_init),
25075 (gst_collectpads_finalize), (gst_collectpads_new),
25076 (gst_collectpads_set_function), (gst_collectpads_add_pad),
25077 (find_pad), (gst_collectpads_remove_pad),
25078 (gst_collectpads_is_active), (gst_collectpads_collect),
25079 (gst_collectpads_collect_range), (gst_collectpads_start),
25080 (gst_collectpads_stop), (gst_collectpads_peek),
25081 (gst_collectpads_pop), (gst_collectpads_available),
25082 (gst_collectpads_read), (gst_collectpads_flush),
25083 (gst_collectpads_chain):
25084 * gst/base/gstcollectpads.h:
25085 * gst/elements/Makefile.am:
25086 * gst/elements/gstelements.c:
25087 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
25088 (gst_fakesink_get_times), (gst_fakesink_event),
25089 (gst_fakesink_preroll), (gst_fakesink_render):
25090 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
25091 (gst_filesink_init), (gst_filesink_set_location),
25092 (gst_filesink_open_file), (gst_filesink_close_file),
25093 (gst_filesink_pad_query), (gst_filesink_event),
25094 (gst_filesink_render), (gst_filesink_change_state):
25095 * gst/elements/gstfilesink.h:
25096 Added object to help in making collect pad based elements.
25098 Make event function in sink baseclass return gboolean.
25100 2005-05-05 Wim Taymans <wim@fluendo.com>
25102 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
25103 (gst_bin_get_by_name):
25105 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
25106 (gst_clock_finalize):
25107 * gst/gstdata.c: (gst_data_replace):
25109 * gst/gstelement.c: (gst_element_request_pad),
25110 (gst_element_pads_activate):
25111 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
25112 (gst_object_unref):
25113 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25114 (gst_pad_set_checkgetrange_function),
25115 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
25116 (gst_pad_check_pull_range), (gst_pad_pull_range),
25117 (gst_static_pad_template_get_caps), (gst_pad_start_task),
25118 (gst_pad_pause_task), (gst_pad_stop_task):
25119 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
25120 (gst_element_request_pad), (gst_pad_proxy_getcaps):
25121 Fix name lookup in GstBin.
25122 Added _data_replace() function and _buffer_replace()
25123 Use finalize method to clean up clock.
25124 Fix refcounting on request pads.
25125 Fix pad schedule mode error.
25126 Some more object refcounting debug info,
25129 2005-05-04 Andy Wingo <wingo@pobox.com>
25131 * check/Makefile.am:
25132 * docs/gst/tmpl/gstatomic.sgml:
25133 * docs/gst/tmpl/gstplugin.sgml:
25134 * gst/base/gstbasesink.c: (gst_basesink_activate):
25135 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
25136 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
25137 (gst_basesrc_query), (gst_basesrc_set_property),
25138 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
25139 (gst_basesrc_activate):
25140 * gst/base/gstbasesrc.h:
25141 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
25142 (gst_base_transform_src_activate):
25143 * gst/elements/gstelements.c:
25144 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25145 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
25146 * gst/elements/gsttee.c: (gst_tee_sink_activate):
25147 * gst/elements/gsttypefindelement.c: (find_element_get_length),
25148 (gst_type_find_element_checkgetrange),
25149 (gst_type_find_element_activate):
25150 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
25151 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
25152 (gst_caps_load_thyself):
25153 * gst/gstelement.c: (gst_element_pads_activate),
25154 (gst_element_save_thyself), (gst_element_restore_thyself):
25155 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
25156 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
25158 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
25159 (gst_xml_parse_file), (gst_xml_parse_memory),
25160 (gst_xml_get_element), (gst_xml_make_element):
25161 * gst/indexers/gstfileindex.c: (gst_file_index_load),
25162 (_file_index_id_save_xml), (gst_file_index_commit):
25163 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
25164 (read_enum), (load_pad_template), (load_feature), (load_plugin),
25166 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
25167 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
25168 * tools/gst-complete.c: (main):
25169 * tools/gst-compprep.c: (main):
25170 * tools/gst-inspect.c: (print_element_properties_info):
25171 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
25172 * tools/gst-xmlinspect.c: (print_element_properties):
25175 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
25177 * gst/gstplugin.c: (gst_plugin_check_module),
25178 (gst_plugin_check_file), (gst_plugin_load_file):
25179 apply patch from #172526 to make register work on MacOSX
25181 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
25183 * docs/gst/tmpl/gstconfig.sgml:
25184 * gst/gstconfig.h.in:
25185 move documentation for some symbols. Add doc for GST_PTR_FORMAT
25186 * testsuite/debug/printf_extension.c: (main):
25187 Do not use GST_PTR_FORMAT on pointers to types with
25188 sizeof < sizeof(gpointer). Fixes test on 64-bit
25189 * testsuite/elements/property.h:
25190 use correct printf format
25192 2005-05-02 Wim Taymans <wim@fluendo.com>
25194 * docs/design/draft-push-pull.txt:
25195 * docs/design/draft-query.txt:
25196 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
25197 (gst_basesrc_start):
25198 Added draft for new query API.
25199 Added draft for better selecting scheduling methods.
25200 Make basesrc ignore length if the subclass does not support
25203 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
25206 possible fixes for automake-1.5 - _LIBADD is reserved
25208 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
25210 * docs/faq/Makefile.am:
25211 * docs/manual/Makefile.am:
25212 * docs/manuals.mak:
25213 * docs/pwg/Makefile.am:
25215 possible fixes for automake-1.5
25217 2005-04-28 Wim Taymans <wim@fluendo.com>
25219 * gst/base/gstbasesink.c: (gst_basesink_base_init),
25220 (gst_basesink_pad_getcaps), (gst_basesink_init),
25221 (gst_basesink_do_sync):
25222 * gst/gstclock.c: (gst_clock_entry_new):
25223 * gst/gstevent.c: (gst_event_discont_get_value):
25224 * gst/gstpipeline.c: (pipeline_bus_handler),
25225 (gst_pipeline_change_state):
25226 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
25227 Better debugging of clocking info.
25228 Allow NULL values when getting discont values.
25230 2005-04-27 Wim Taymans <wim@fluendo.com>
25232 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
25233 * check/gst/gstpad.c: (gst_pad_suite):
25234 Increase timeout for checks.
25236 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
25238 * check/Makefile.am:
25239 fix the broken rule for cleanup. Apparently this rule is
25240 only needed on FC2, so maybe this warrants further autotool
25243 2005-04-26 Wim Taymans <wim@fluendo.com>
25245 * gst/gsttrashstack.h:
25246 Ooohh. a nasty one! After having a failed pop() from the stack,
25247 it's possible that the stack is empty. In that case, don't
25248 follow the NULL pointer.
25250 2005-04-25 Wim Taymans <wim@fluendo.com>
25252 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25253 (gst_pad_set_checkgetrange_function),
25254 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
25255 (gst_pad_check_pull_range), (gst_pad_pull_range),
25256 (gst_static_pad_template_get_caps), (gst_pad_start_task),
25257 (gst_pad_pause_task), (gst_pad_stop_task):
25258 * gst/gstplugin.c: (gst_plugin_load):
25260 Remove gst_library_load as it does more harm than good with
25261 the new g_module flags.
25262 Revert bogus caps template check in pad linking, pad caps
25263 are important when linking not the template, which is more
25264 general than the current caps.
25266 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25268 * gst/autoplug/.cvsignore:
25269 * gst/autoplug/Makefile.am:
25270 * gst/autoplug/gstsearchfuncs.c:
25271 * gst/autoplug/gstsearchfuncs.h:
25272 * gst/autoplug/gstspider.c:
25273 * gst/autoplug/gstspider.h:
25274 * gst/autoplug/gstspideridentity.c:
25275 * gst/autoplug/gstspideridentity.h:
25276 * gst/autoplug/spidertest.c:
25279 2005-04-25 Wim Taymans <wim@fluendo.com>
25281 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25282 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
25283 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
25284 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
25286 Added stubs for unimplemented functions.
25288 2005-04-24 David Schleef <ds@schleef.org>
25290 * gst/gstpad.h: Disable some unimplemented functions. Wim,
25293 2005-04-24 David Schleef <ds@schleef.org>
25295 Convert everything from GstAtomicInt to g_atomic_int_*, and
25300 * gst/gstatomic_impl.h:
25308 * gst/gstdata_private.h:
25312 * gst/gstmessage.c:
25315 * gst/gststructure.c:
25316 * gst/gststructure.h:
25317 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
25320 2005-04-24 David Schleef <ds@schleef.org>
25322 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
25323 make the regressions tests work. Remove some code that is no
25325 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
25326 Disable warning for pads without templates.
25328 2005-04-24 David Schleef <ds@schleef.org>
25330 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
25331 functions that handle filtered links.
25332 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
25334 * gst/gstutils.c: Fix/remove utility functions that handle
25337 * gst/gstvalue.c: Add serialization/deserialization of caps
25338 * gst/parse/grammar.y: Ignore filtered caps when linking. This
25339 requires fixing so that the filter caps notation creates
25340 a capsfilter element and sets the filter_caps property. I
25341 think everyone probably wants to keep the shorthand notation.
25342 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
25343 * docs/gst/tmpl/gstpad.sgml:
25345 * gst/elements/gstelements.c: Register capsfilter element.
25346 * gst/Makefile.am: fix spacing
25347 * docs/random/ds/0.9-suggested-changes: random
25349 2005-04-23 David Schleef <ds@schleef.org>
25351 * gst/elements/Makefile.am:
25352 * gst/elements/gstcapsfilter.c: New element that acts like an
25353 identity, but filters caps. Will eventually replace filtered
25354 caps in pad linking.
25355 * gst/gstutils.c: (gst_element_create_all_pads): New function
25356 to create all the ALWAYS pads that are registered with an
25357 element class. This functionality should eventually be
25358 merged in with GstElement initialization.
25360 * testsuite/trigger/README: part of trigger test code that should
25361 have been checked in a long time ago.
25363 2005-04-23 David Schleef <ds@schleef.org>
25365 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
25366 needed with new versions of libtool (nobody will confirm this),
25367 and hard to carry around.
25368 * gst/autoplug/Makefile.am:
25369 * gst/base/Makefile.am:
25370 * gst/elements/Makefile.am:
25371 * gst/indexers/Makefile.am:
25372 * gst/schedulers/Makefile.am:
25373 * libs/gst/bytestream/Makefile.am:
25374 * libs/gst/control/Makefile.am:
25375 * libs/gst/dataprotocol/Makefile.am:
25376 * libs/gst/getbits/Makefile.am:
25378 2005-04-21 Wim Taymans <wim@fluendo.com>
25380 * docs/design/draft-push-pull.txt:
25381 * docs/design/part-MT-refcounting.txt:
25382 * docs/design/part-TODO.txt:
25383 * docs/design/part-caps.txt:
25384 * docs/design/part-events.txt:
25385 * docs/design/part-gstbus.txt:
25386 * docs/design/part-gstpipeline.txt:
25387 * docs/design/part-messages.txt:
25388 * docs/design/part-push-pull.txt:
25389 * docs/design/part-query.txt:
25392 2005-04-21 Wim Taymans <wim@fluendo.com>
25394 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
25395 (gst_message_new), (gst_message_new_error),
25396 (gst_message_new_warning), (gst_message_new_tag),
25397 (gst_message_new_state_changed), (gst_message_new_application),
25398 (gst_message_get_structure):
25399 * gst/gstmessage.h:
25400 * gst/gststructure.c: (gst_structure_set_parent_refcount),
25401 (gst_structure_copy_conditional):
25402 Use parent refcount in GstMessage to ensure GstStructure
25404 Cleaned up headers a bit.
25407 2005-04-20 Wim Taymans <wim@fluendo.com>
25409 * gst/base/gstbasesink.c: (gst_basesink_base_init),
25410 (gst_basesink_pad_getcaps), (gst_basesink_init),
25411 (gst_basesink_chain_unlocked):
25412 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
25413 (gst_type_find_helper):
25414 * gst/elements/gsttypefindelement.c:
25415 (gst_type_find_element_have_type), (gst_type_find_element_init),
25416 (stop_typefinding), (gst_type_find_element_handle_event),
25417 (find_suggest), (gst_type_find_element_chain),
25418 (gst_type_find_element_checkgetrange),
25419 (gst_type_find_element_getrange), (do_typefind),
25420 (gst_type_find_element_activate):
25421 * gst/gstbuffer.c: (_gst_buffer_sub_free),
25422 (gst_buffer_default_free), (gst_buffer_default_copy),
25423 (gst_buffer_set_caps):
25424 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
25425 (gst_caps_replace):
25426 * gst/gstmessage.c: (gst_message_new),
25427 (gst_message_new_state_changed):
25428 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25429 (gst_pad_set_checkgetrange_function),
25430 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
25431 (gst_pad_set_caps), (gst_pad_check_pull_range),
25432 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
25434 * gst/gsttypefind.c: (gst_type_find_register):
25435 Make gst_caps_replace() work like other _replace() functions.
25436 Use _caps_replace() where possible.
25437 Make sure _message_new() initialises its field.
25438 Add gst_static_pad_template_get_caps()
25441 2005-04-18 Andy Wingo <wingo@pobox.com>
25443 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
25444 on the peer, not the pad. I think that was a typo. Pass an extra
25445 arg to see if random access is possible. Activate the pads as
25446 PULL_RANGE if possible.
25448 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
25450 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
25451 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
25454 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25456 * docs/faq/using.xml:
25457 Add note on gstreamer-properties (#154996).
25459 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25461 * docs/random/bbb/optional-properties:
25462 Some analysis on optional properties.
25464 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25466 * docs/gst/tmpl/gstelementfactory.sgml:
25467 * gst/gstelement.h:
25468 * gst/gstelementfactory.c: (gst_element_factory_init),
25469 (gst_element_factory_cleanup), (gst_element_register),
25470 (__gst_element_factory_add_static_pad_template),
25471 (gst_element_factory_get_static_pad_templates),
25472 (gst_element_factory_can_src_caps),
25473 (gst_element_factory_can_sink_caps):
25474 * gst/registries/Makefile.am:
25475 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
25476 (gst_xml_registry_class_init), (gst_xml_registry_init),
25477 (gst_xml_registry_new), (gst_xml_registry_set_property),
25478 (gst_xml_registry_get_property), (get_time), (make_dir),
25479 (gst_xml_registry_get_perms_func),
25480 (plugin_times_older_than_recurse), (plugin_times_older_than),
25481 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
25482 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
25483 (add_to_char_array), (read_string), (read_uint), (read_enum),
25484 (load_pad_template), (load_feature), (load_plugin), (load_paths),
25485 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
25486 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
25487 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
25488 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
25489 (gst_xml_registry_rebuild):
25490 * gst/registries/gstlibxmlregistry.h:
25491 * tools/gst-compprep.c: (main):
25492 * tools/gst-inspect.c: (print_pad_templates_info):
25493 * tools/gst-xmlinspect.c: (print_element_info):
25494 Use libxml2 for registry parsing, use staticpadtemplates in
25495 elementfactories. Makes gst_init() +/- 10x faster.
25497 2005-04-12 Wim Taymans <wim@fluendo.com>
25499 * gst/base/Makefile.am:
25500 * gst/base/gstbasesink.c: (gst_basesink_base_init),
25501 (gst_basesink_pad_getcaps), (gst_basesink_init),
25502 (gst_basesink_event), (gst_basesink_change_state):
25503 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25504 (gst_basesrc_init), (gst_basesrc_query),
25505 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
25506 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
25507 (gst_basesrc_check_get_range), (gst_basesrc_loop),
25508 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
25509 (gst_basesrc_stop), (gst_basesrc_activate),
25510 (gst_basesrc_change_state):
25511 * gst/base/gsttypefindhelper.c: (helper_find_peek),
25512 (helper_find_suggest), (gst_type_find_helper):
25513 * gst/base/gsttypefindhelper.h:
25514 * gst/elements/Makefile.am:
25515 * gst/elements/gstelements.c:
25516 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
25517 (gst_fakesink_get_times), (gst_fakesink_event),
25518 (gst_fakesink_preroll), (gst_fakesink_render):
25519 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25520 (gst_fakesrc_init), (gst_fakesrc_event_handler),
25521 (gst_fakesrc_get_property), (gst_fakesrc_create),
25522 (gst_fakesrc_start), (gst_fakesrc_stop):
25523 * gst/elements/gstfakesrc.h:
25524 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
25525 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
25526 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
25527 (gst_filesrc_create_read), (gst_filesrc_create),
25528 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
25529 (gst_filesrc_start):
25530 * gst/elements/gsttypefindelement.c:
25531 (gst_type_find_element_have_type), (gst_type_find_element_init),
25532 (start_typefinding), (stop_typefinding), (push_buffer_store),
25533 (gst_type_find_element_handle_event),
25534 (gst_type_find_element_chain),
25535 (gst_type_find_element_checkgetrange),
25536 (gst_type_find_element_getrange), (do_typefind),
25537 (gst_type_find_element_activate),
25538 (gst_type_find_element_change_state):
25539 * gst/elements/gsttypefindelement.h:
25540 * gst/gstpipeline.c: (pipeline_bus_handler):
25541 Added typefind helper.
25542 Small preroll fix in the base sink.
25543 Disable typefind code in basesrc.
25544 Crude port of typefindelement.
25548 2005-04-11 Wim Taymans <wim@fluendo.com>
25550 * check/gst/gstbus.c: (gstbus_suite):
25551 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
25552 * check/gstcheck.h:
25553 Fix up the timeout so that the test does not fail.
25555 2005-04-06 Wim Taymans <wim@fluendo.com>
25558 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25559 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
25560 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
25561 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
25562 (gst_basesrc_check_get_range), (gst_basesrc_loop),
25563 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
25564 (gst_basesrc_stop), (gst_basesrc_activate),
25565 (gst_basesrc_change_state), (basesrc_find_peek),
25566 (basesrc_find_suggest), (gst_basesrc_type_find):
25567 * gst/base/gstbasesrc.h:
25568 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
25569 (gst_filesrc_class_init), (gst_filesrc_init),
25570 (gst_filesrc_finalize), (gst_filesrc_set_location),
25571 (gst_filesrc_set_property), (gst_filesrc_get_property),
25572 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
25573 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
25574 (gst_filesrc_create_read), (gst_filesrc_create),
25575 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
25576 * gst/elements/gstfilesrc.h:
25577 * gst/gstelement.c: (gst_element_get_state_func),
25578 (gst_element_lost_state), (gst_element_pads_activate):
25579 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25580 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
25581 (gst_pad_pull_range):
25583 More work on the generic source base class, implement seeking,
25585 Make filesrc extend the base source class.
25586 Added gst_pad_set_checkgetrange_function to GstPad.
25588 2005-04-06 Andy Wingo <wingo@pobox.com>
25590 * pkgconfig/gstreamer-base.pc.in:
25591 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
25593 * pkgconfig/Makefile.am:
25594 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
25596 2005-04-04 Wim Taymans <wim@fluendo.com>
25598 * gst/base/Makefile.am:
25600 * gst/base/gstbasesink.c: (gst_basesink_base_init),
25601 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
25602 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
25603 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
25604 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25605 (gst_basesrc_base_init), (gst_basesrc_class_init),
25606 (gst_basesrc_init), (gst_basesrc_get_formats),
25607 (gst_basesrc_get_query_types), (gst_basesrc_query),
25608 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
25609 (gst_basesrc_set_property), (gst_basesrc_get_property),
25610 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
25611 (gst_basesrc_loop), (gst_basesrc_activate),
25612 (gst_basesrc_change_state):
25613 * gst/base/gstbasesrc.h:
25614 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
25615 (gst_fakesrc_class_init), (gst_fakesrc_init),
25616 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
25617 (gst_fakesrc_get_property), (gst_fakesrc_create):
25618 * gst/elements/gstfakesrc.h:
25619 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
25620 (gst_filesrc_open_file), (gst_filesrc_loop),
25621 (gst_filesrc_activate), (filesrc_find_peek),
25622 (gst_filesrc_type_find):
25623 Made base source class, make fakesrc extend it.
25624 Add comments to basesink class.
25625 Some filesrc cleanup.
25627 2005-03-31 David Schleef <ds@schleef.org>
25629 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
25630 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
25631 expected to link against libgstreamer.
25632 * gst/base/Makefile.am: link against libgstreamer
25633 * gst/elements/Makefile.am: same
25635 2005-03-31 Andy Wingo <wingo@pobox.com>
25637 * tests/instantiate/Makefile.am:
25638 * tests/instantiate/caps.c: Add test to test speed of caps copy
25641 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
25642 GMemChunk to be fair.
25644 * gst/gsttrashstack.h: Remove warning about using the fallback
25645 trash stack implementation, it's still faster than malloc.
25647 2005-03-30 Andy Wingo <wingo@pobox.com>
25649 * tests/complexity.c: Add a copyright.
25651 2005-03-31 Wim Taymans <wim@fluendo.com>
25653 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
25654 (gst_base_transform_class_init), (gst_base_transform_init),
25655 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
25656 (gst_base_transform_get_property),
25657 (gst_base_transform_sink_activate),
25658 (gst_base_transform_src_activate),
25659 (gst_base_transform_change_state):
25660 * gst/base/gstbasetransform.h:
25661 * gst/elements/gstidentity.c: (gst_identity_class_init),
25662 (gst_identity_event), (gst_identity_check_perfect),
25663 (gst_identity_transform), (gst_identity_start),
25664 (gst_identity_stop):
25665 Added start/stop methods to transform base class so subclasses
25666 don't need to deal with state changes even.
25668 2005-03-31 Wim Taymans <wim@fluendo.com>
25670 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
25671 (gst_event_new_discontinuous), (gst_event_discont_get_value):
25673 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25674 (gst_pad_pull_range):
25675 Added rate to the discont event to prepare for variable speed
25676 and reverse playback.
25678 2005-03-29 David Schleef <ds@schleef.org>
25681 * testsuite/trigger/Makefile.am:
25682 * testsuite/trigger/trigger.c: A little example program to show
25683 how trigger-based elements can work.
25685 2005-03-29 Wim Taymans <wim@fluendo.com>
25687 * gst/base/Makefile.am:
25689 * gst/base/gstbasesink.c: (gst_basesink_get_type),
25690 (gst_basesink_base_init), (gst_basesink_class_init),
25691 (gst_basesink_pad_getcaps), (gst_basesink_init),
25692 (gst_basesink_activate), (gst_basesink_change_state):
25693 * gst/base/gstbasesink.h:
25694 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
25695 (gst_base_transform_base_init), (gst_base_transform_finalize),
25696 (gst_base_transform_class_init), (gst_base_transform_init),
25697 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
25698 (gst_base_transform_event), (gst_base_transform_getrange),
25699 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
25700 (gst_base_transform_set_property),
25701 (gst_base_transform_get_property),
25702 (gst_base_transform_sink_activate),
25703 (gst_base_transform_src_activate),
25704 (gst_base_transform_change_state):
25705 * gst/base/gstbasetransform.h:
25706 * gst/elements/gstidentity.c: (gst_identity_finalize),
25707 (gst_identity_class_init), (gst_identity_init),
25708 (gst_identity_event), (gst_identity_check_perfect),
25709 (gst_identity_transform), (gst_identity_set_property),
25710 (gst_identity_get_property), (gst_identity_change_state):
25711 * gst/elements/gstidentity.h:
25712 * gst/gstelement.c: (gst_element_get_state_func),
25713 (gst_element_lost_state), (gst_element_pads_activate):
25714 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25715 (gst_pad_check_pull_range), (gst_pad_pull_range):
25717 Simplify pad activation.
25718 Added function to check if pull_range can be performed.
25719 Error out when pulling inactive or flushing pads.
25720 Removed const from refcounted types as it does not make sense.
25721 Simplify pad templates in basesink
25722 Added base class for simple 1-to-1 transforms.
25723 Make identity subclass the base transform.
25725 2005-03-29 Andy Wingo <wingo@pobox.com>
25727 * docs/libs/gstreamer-libs-overrides.txt:
25728 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
25729 really don't understand what's going on, but like whatever. I want
25732 * docs/gst/Makefile.am:
25733 * docs/libs/Makefile.am: Dist the overrides files.
25735 * check/Makefile.am (clean-local): Remove .libs directories.
25737 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
25738 elements to EXTRA_DIST, so po/ files are happy.
25740 * po/POTFILES.in: Er, remove it here.
25742 * po/POTFILES: Remove gstspider.c.
25744 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
25746 * docs/libs/gstreamer-libs-docs.sgml:
25747 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
25750 * tests/complexity.c (main): Set the length of the preroll queue
25751 on the sinks to prevent a lockup.
25753 * libs/gst/dataprotocol/Makefile.am:
25754 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
25755 the same as the one in check/gst-libs/gdp.c.
25757 * po/, docs/gst/: Commit automatic changes to docs and po files.
25759 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
25760 the versioned libgstbase.
25762 * check/Makefile.am: Depend on an unversioned gst-register, seems
25763 to make autoconf happier.
25765 * gst/base/Makefile.am: Make libgstbase a versioned lib.
25767 2005-03-28 Wim Taymans <wim@fluendo.com>
25770 * docs/design/part-gstelement.txt:
25771 * docs/design/part-negotiation.txt:
25772 * docs/design/part-preroll.txt:
25773 * docs/design/part-scheduling.txt:
25774 * docs/design/part-states.txt:
25776 * gst/base/Makefile.am:
25778 * gst/base/gstbasesink.c: (gst_basesink_get_template),
25779 (gst_basesink_base_init), (gst_basesink_class_init),
25780 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
25781 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
25782 (gst_basesink_set_pad_functions),
25783 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
25784 (gst_basesink_set_property), (gst_basesink_get_property),
25785 (gst_base_sink_get_template), (gst_base_sink_get_caps),
25786 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
25787 (gst_basesink_preroll_queue_push),
25788 (gst_basesink_preroll_queue_empty),
25789 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
25790 (gst_basesink_event), (gst_basesink_get_times),
25791 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
25792 (gst_basesink_chain_unlocked), (gst_basesink_chain),
25793 (gst_basesink_loop), (gst_basesink_activate),
25794 (gst_basesink_change_state):
25795 * gst/base/gstbasesink.h:
25796 * gst/elements/Makefile.am:
25797 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
25798 (gst_fakesink_class_init), (gst_fakesink_init),
25799 (gst_fakesink_set_property), (gst_fakesink_get_property),
25800 (gst_fakesink_get_times), (gst_fakesink_event),
25801 (gst_fakesink_preroll), (gst_fakesink_render),
25802 (gst_fakesink_change_state):
25803 * gst/elements/gstfakesink.h:
25804 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
25805 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
25806 * gst/gstelement.c: (gst_element_add_pad),
25807 (gst_element_get_state_func), (gst_element_abort_state),
25808 (gst_element_commit_state), (gst_element_lost_state),
25809 (gst_element_set_state), (gst_element_pads_activate):
25810 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
25811 * gst/gstpipeline.c: (gst_pipeline_send_event),
25812 (gst_pipeline_change_state):
25813 Added state change code.
25814 Added/updated docs.
25815 Added sink base class, make fakesink extend the base class.
25816 Small cleanups in GstPipeline.
25818 2005-03-26 David Schleef <ds@schleef.org>
25820 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
25821 is broken and should be implemented in a different library.
25822 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
25823 * gst/gst.h: remove gstcpu.h
25824 * gst/gstcpu.c: remove
25825 * gst/gstcpu.h: remove
25826 * gst/Makefile.am.future: Remove this file. It's ancient.
25828 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25830 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
25831 (gst_bin_send_event):
25832 Add default event/set_manager handlers. The set_manager handler
25833 takes care that the manager is distributed over kids that were
25834 already in the bin before the manager was set. The event handler
25835 is a utility virtual function that sends the event over all sinks,
25836 so that gst_element_send_event (bin, event); has the expected
25838 * gst/gstpad.c: (gst_pad_event_default):
25839 Re-install default event handling for discontinuities, so that
25840 seeking works without requiring hacks in applications or extra
25842 * gst/gstpipeline.c: (gst_pipeline_class_init),
25843 (gst_pipeline_send_event):
25844 Half hack, half utility: set a pipeline to PAUSED for seek events,
25845 since that is the only way we can guarantee a/v sync. Means that
25846 you can do gst_element_seek (pipeline, method, pos); on a pipeline
25847 and it "just works".
25849 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25851 * gst/gstpipeline.c: (gst_pipeline_use_clock):
25852 Lock/unlock mismatch.
25854 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
25856 * docs/faq/gst-uninstalled:
25857 add gst-plugins-base
25858 * docs/gst/Makefile.am:
25859 don't error out until docs are fixed
25860 * docs/gst/gstreamer.types:
25863 2005-03-22 Wim Taymans <wim@fluendo.com>
25865 * check/Makefile.am:
25866 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
25867 * gst/gststructure.c: (gst_structure_set_valist),
25868 (gst_structure_copy_conditional):
25869 Activated more tests.
25870 Added message test.
25871 Added G_TYPE_POINTER to GstStructure.
25874 2005-03-22 Wim Taymans <wim@fluendo.com>
25876 * docs/design/part-TODO.txt:
25877 * docs/design/part-events.txt:
25878 * docs/design/part-gstbin.txt:
25879 * docs/design/part-gstbus.txt:
25880 * docs/design/part-gstpipeline.txt:
25881 * docs/design/part-messages.txt:
25883 * gst/gstmessage.c:
25886 2005-03-21 Wim Taymans <wim@fluendo.com>
25888 * gst/gstbus.c: (gst_bus_post):
25889 Fix copy-and-paste error.
25891 2005-03-21 Wim Taymans <wim@fluendo.com>
25893 * check/Makefile.am:
25895 * gst/elements/Makefile.am:
25896 * gst/elements/gstelements.c:
25897 * gst/elements/gstfakesink.c: (gst_fakesink_init),
25898 (gst_fakesink_event), (gst_fakesink_chain):
25899 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25900 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
25901 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
25902 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
25903 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
25904 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
25905 (gst_fakesrc_loop), (gst_fakesrc_activate),
25906 (gst_fakesrc_change_state):
25907 * gst/elements/gstfakesrc.h:
25908 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
25909 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
25910 (gst_filesrc_open_file), (gst_filesrc_loop),
25911 (gst_filesrc_activate), (gst_filesrc_change_state),
25912 (filesrc_find_peek), (filesrc_find_suggest),
25913 (gst_filesrc_type_find):
25914 * gst/elements/gstidentity.c: (gst_identity_finalize),
25915 (gst_identity_class_init), (gst_identity_init),
25916 (gst_identity_proxy_getcaps), (identity_queue_push),
25917 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
25918 (gst_identity_getrange), (gst_identity_chain),
25919 (gst_identity_sink_loop), (gst_identity_src_loop),
25920 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
25921 (gst_identity_set_property), (gst_identity_get_property),
25922 (gst_identity_change_state):
25923 * gst/elements/gstidentity.h:
25924 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
25925 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
25926 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
25927 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
25928 (gst_tee_sink_activate):
25929 * gst/elements/gsttee.h:
25930 * gst/gst.c: (gst_register_core_elements), (init_post):
25932 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
25933 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
25934 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
25935 (gst_bin_change_state):
25937 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
25938 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
25939 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
25940 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
25941 (gst_bus_set_sync_handler), (gst_bus_create_watch),
25942 (bus_watch_callback), (bus_watch_destroy),
25943 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
25944 (poll_timeout), (gst_bus_poll):
25948 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
25949 (gst_element_post_message), (gst_element_message_full),
25950 (gst_element_get_state_func), (gst_element_get_state),
25951 (gst_element_abort_state), (gst_element_commit_state),
25952 (gst_element_lost_state), (gst_element_set_state),
25953 (gst_element_pads_activate), (gst_element_change_state),
25954 (gst_element_dispose), (gst_element_set_manager_func),
25955 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
25956 (gst_element_set_manager), (gst_element_get_manager),
25957 (gst_element_set_bus), (gst_element_get_bus),
25958 (gst_element_set_scheduler), (gst_element_get_scheduler):
25959 * gst/gstelement.h:
25960 * gst/gstevent.c: (gst_event_new_segment_seek),
25961 (gst_event_new_flush):
25963 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
25964 (_gst_message_free), (gst_message_get_type), (gst_message_new),
25965 (gst_message_new_eos), (gst_message_new_error),
25966 (gst_message_new_warning), (gst_message_new_tag),
25967 (gst_message_new_state_changed), (gst_message_new_application),
25968 (gst_message_get_structure), (gst_message_parse_tag),
25969 (gst_message_parse_state_changed), (gst_message_parse_error),
25970 (gst_message_parse_warning):
25971 * gst/gstmessage.h:
25972 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
25973 (gst_real_pad_set_property), (gst_pad_set_active),
25974 (gst_pad_is_active), (gst_pad_set_blocked_async),
25975 (gst_pad_set_blocked), (gst_pad_is_blocked),
25976 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
25977 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
25978 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
25979 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
25980 (gst_pad_link_filtered), (gst_pad_relink_filtered),
25981 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
25982 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
25983 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
25984 (gst_pad_set_caps), (gst_pad_configure_sink),
25985 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
25986 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
25987 (gst_real_pad_dispose), (gst_real_pad_finalize),
25988 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
25989 (gst_pad_event_default_dispatch), (gst_pad_event_default),
25990 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
25992 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
25993 (pipeline_bus_handler), (gst_pipeline_change_state),
25994 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
25995 * gst/gstpipeline.h:
25997 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
25998 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
25999 (gst_queue_link_src), (gst_queue_bufferalloc),
26000 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
26001 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
26002 (gst_queue_loop), (gst_queue_handle_src_event),
26003 (gst_queue_handle_src_query), (gst_queue_src_activate),
26004 (gst_queue_change_state):
26006 * gst/gstscheduler.c: (gst_scheduler_init),
26007 (gst_scheduler_dispose), (gst_scheduler_create_task),
26008 (gst_scheduler_factory_create):
26009 * gst/gstscheduler.h:
26010 * gst/gststructure.c: (gst_structure_get_type),
26011 (gst_structure_copy_conditional):
26012 * gst/gststructure.h:
26013 * gst/gsttaginterface.h:
26014 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
26015 (gst_task_init), (gst_task_dispose), (gst_task_create),
26016 (gst_task_get_state), (gst_task_start), (gst_task_stop),
26022 * gst/schedulers/Makefile.am:
26023 * gst/schedulers/cothreads_compat.h:
26024 * gst/schedulers/entryscheduler.c:
26025 * gst/schedulers/faircothreads.c:
26026 * gst/schedulers/faircothreads.h:
26027 * gst/schedulers/fairscheduler.c:
26028 * gst/schedulers/gstbasicscheduler.c:
26029 * gst/schedulers/gstoptimalscheduler.c:
26030 * gst/schedulers/gthread-cothreads.h:
26031 * gst/schedulers/threadscheduler.c:
26032 (gst_thread_scheduler_task_get_type),
26033 (gst_thread_scheduler_task_class_init),
26034 (gst_thread_scheduler_task_init),
26035 (gst_thread_scheduler_task_start),
26036 (gst_thread_scheduler_task_stop),
26037 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
26038 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
26039 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
26040 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
26042 * libs/gst/Makefile.am:
26043 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
26044 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
26045 (gst_file_pad_parent_set):
26046 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
26047 (gst_dp_event_from_packet):
26048 * tests/complexity.c: (main):
26049 * tests/mass_elements.c: (main):
26050 * testsuite/states/locked.c: (message_received), (main):
26051 * testsuite/states/parent.c: (main):
26052 * tools/gst-inspect.c: (print_element_flag_info),
26053 (print_implementation_info), (print_pad_info):
26054 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
26056 * tools/gst-md5sum.c: (event_loop), (main):
26057 * tools/gst-typefind.c: (main):
26058 * tools/gst-xmlinspect.c: (print_element_info):
26060 Added GstBus for mainloop integration.
26061 Added GstMessage for sending notifications on the bus.
26062 Added GstTask as an abstraction for pipeline entry points.
26064 Removed Schedulers.
26065 Simplified GstQueue for multithreaded core.
26066 Made _link threadsafe, removed old capsnego.
26067 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
26068 Added pad blocking functions.
26069 Reworked scheduling functions in GstPad to prepare for
26070 scheduling updates soon.
26071 Moved events out of data stream.
26072 Simplified GstEvent types.
26073 Added return values to push/pull.
26074 Removed clocking from GstElement.
26075 Added prototypes for state change function for next merge.
26076 Removed iterate from bins and state change management.
26077 Fixed some elements, disabled others for now.
26078 Fixed -inspect and -launch.
26079 Added check for GstBus.
26081 2005-03-10 Wim Taymans <wim@fluendo.com>
26083 * docs/design/part-MT-refcounting.txt:
26084 * docs/design/part-clocks.txt:
26085 * docs/design/part-gstelement.txt:
26086 * docs/design/part-gstobject.txt:
26087 * docs/design/part-standards.txt:
26088 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
26089 (gst_bin_remove_func), (gst_bin_remove):
26093 * testsuite/clock/clock1.c: (main):
26094 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
26096 * testsuite/dlopen/loadgst.c: (do_test):
26097 * testsuite/refcounting/bin.c: (add_remove_test1),
26098 (add_remove_test2), (main):
26099 * testsuite/refcounting/element.c: (main):
26100 * testsuite/refcounting/element_pad.c: (main):
26101 * testsuite/refcounting/pad.c: (main):
26102 * tools/gst-launch.c: (sigint_handler_sighandler):
26103 * tools/gst-typefind.c: (main):
26105 Added doc about clock.
26106 removed gst_bin_iterate_recurse_up(), marked methods
26108 Fix more testsuites.
26110 2005-03-09 Wim Taymans <wim@fluendo.com>
26112 * gst/gstpad.c: (gst_pad_get_direction),
26113 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
26114 (gst_pad_collect_valist):
26115 * testsuite/bins/interface.c: (main):
26116 * testsuite/caps/audioscale.c: (test_caps):
26117 * testsuite/caps/caps.c: (test1), (test2), (test3):
26118 * testsuite/caps/deserialize.c: (main):
26119 * testsuite/caps/enumcaps.c: (main):
26120 * testsuite/caps/filtercaps.c: (main):
26121 * testsuite/caps/intersect2.c: (main):
26122 * testsuite/caps/random.c: (main):
26123 * testsuite/caps/renegotiate.c: (my_fixate), (main):
26124 * testsuite/caps/sets.c: (check_caps):
26125 * testsuite/caps/simplify.c: (check_caps), (main):
26126 * testsuite/caps/subtract.c: (check_caps):
26127 Fix _pad_get_direction wrt ghostpads.
26128 Fix caps testsuite.
26130 2005-03-09 Wim Taymans <wim@fluendo.com>
26132 * check/Makefile.am:
26133 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
26134 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
26135 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
26136 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
26137 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
26138 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
26139 (gst_bin_remove), (gst_bin_iterate_recurse_up),
26140 (bin_element_is_sink), (gst_bin_iterate_sinks),
26141 (gst_bin_iterate_all_by_interface):
26143 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
26144 (gst_element_change_state), (gst_element_dispose),
26145 (gst_element_finalize), (gst_element_set_loop_function):
26146 * gst/gstelement.h:
26147 * gst/gstiterator.c: (find_custom_fold_func):
26148 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
26149 (gst_pad_collectv), (gst_pad_collect_valist),
26150 (gst_pad_template_new):
26151 * gst/gstpipeline.c: (gst_pipeline_class_init),
26152 (gst_pipeline_dispose), (gst_pipeline_set_property),
26153 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
26154 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
26155 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
26157 * gst/schedulers/entryscheduler.c:
26158 * gst/schedulers/gstbasicscheduler.c:
26159 (gst_basic_scheduler_cothreaded_chain),
26160 (gst_basic_scheduler_chain_add_element):
26161 * testsuite/bins/interface.c: (main):
26163 Added GstSystemClock test.
26164 Implemented clock distribution code in GstBin.
26165 Implemented iterate sinks method for future use.
26166 Rearranged gstelement.h
26167 Fix GstIterator comparison bug.
26168 Moved some code to GstPipeline, mostly clocking related.
26170 2005-03-09 Wim Taymans <wim@fluendo.com>
26173 * gst/gst_private.h:
26174 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
26175 (gst_bin_remove_func), (gst_bin_remove),
26176 (gst_bin_get_by_name_recurse_up):
26177 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
26178 (gst_clock_id_compare_func), (gst_clock_id_wait),
26179 (gst_clock_id_wait_async), (gst_clock_init),
26180 (gst_clock_adjust_unlocked), (gst_clock_get_time):
26181 * gst/gstelement.h:
26182 * gst/gstinfo.c: (_gst_debug_init):
26184 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
26185 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
26187 Bump version number, we're now 0.9.0
26188 Add future debugging category.
26189 Fix NULL _unref() in _get_by_name_recurse_up
26190 Rearrange gstpad.h.
26193 2005-03-08 Wim Taymans <wim@fluendo.com>
26195 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
26196 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
26197 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
26198 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
26199 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
26200 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
26201 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
26202 * gst/elements/gstidentity.c: (gst_identity_class_init):
26203 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
26204 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
26205 * gst/elements/gstshaper.c: (gst_shaper_class_init):
26206 * gst/elements/gststatistics.c: (gst_statistics_class_init):
26207 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
26209 * gst/gstelement.c: (gst_element_class_init),
26210 (gst_element_base_class_init), (gst_element_init),
26211 (gst_element_get_random_pad), (gst_element_wait_state_change),
26212 (gst_element_change_state), (gst_element_dispose),
26213 (gst_element_finalize), (gst_element_set_loop_function):
26214 * gst/gstelement.h:
26215 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
26216 * gst/gstthread.c: (gst_thread_class_init),
26217 (gst_thread_release_children_locks), (gst_thread_change_state):
26218 * gst/schedulers/gstbasicscheduler.c:
26219 (gst_basic_scheduler_loopfunc_wrapper),
26220 (gst_basic_scheduler_chain_wrapper),
26221 (gst_basic_scheduler_src_wrapper),
26222 (gst_basic_scheduler_remove_element):
26223 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
26224 Remove threadsafe properties. Fix elements because GObject
26225 complains when installing a property before declaring a
26226 set/get_property handler.
26227 Rearrange gstelement.h file, use STATE macros for state locks.
26228 Free mutexes in the finalize method instead of dispose.
26230 2005-03-08 Wim Taymans <wim@fluendo.com>
26232 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
26233 * gst/gstthread.c: (gst_thread_release_children_locks):
26234 Added parentage check.
26235 Fix build og GstThread again.
26237 2005-03-08 Wim Taymans <wim@fluendo.com>
26239 * docs/design/part-MT-refcounting.txt:
26240 * docs/design/part-conventions.txt:
26241 * docs/design/part-gstobject.txt:
26242 * docs/design/part-relations.txt:
26243 * docs/design/part-standards.txt:
26244 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
26245 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
26246 (gst_bin_get_by_name), (gst_bin_get_by_interface),
26247 (gst_bin_iterate_all_by_interface):
26250 * gst/gstelement.c: (gst_element_class_init),
26251 (gst_element_change_state), (gst_element_set_loop_function):
26252 * gst/gstelement.h:
26253 * gst/gstiterator.c:
26254 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
26255 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
26256 (gst_object_dispatch_properties_changed), (gst_object_set_name),
26257 (gst_object_set_parent), (gst_object_unparent),
26258 (gst_object_check_uniqueness):
26260 Docs updates, clean up some headers.
26262 2005-03-07 Wim Taymans <wim@fluendo.com>
26264 * check/.cvsignore:
26265 * check/Makefile.am:
26266 * check/gst-libs/.cvsignore:
26267 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
26268 * check/gst/.cvsignore:
26269 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
26270 (START_TEST), (gstbus_suite), (main):
26271 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
26272 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
26273 (gst_data_suite), (main):
26274 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
26275 (add_fold_func), (gstiterator_suite), (main):
26276 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
26277 (thread_name_object), (thread_name_object_default),
26278 (gst_object_name_compare), (gst_object_suite), (main):
26279 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
26280 (gst_pad_suite), (main):
26281 * check/gstcheck.c: (gst_check_log_message_func),
26282 (gst_check_log_critical_func), (gst_check_init):
26283 * check/gstcheck.h:
26284 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
26285 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
26288 2005-03-07 Wim Taymans <wim@fluendo.com>
26290 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
26291 (gst_list_iterator_next), (gst_list_iterator_resync),
26292 (gst_list_iterator_free), (gst_iterator_new_list),
26293 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
26294 (gst_iterator_free), (gst_iterator_push), (filter_next),
26295 (filter_resync), (filter_uninit), (filter_free),
26296 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
26297 (gst_iterator_foreach), (find_custom_fold_func),
26298 (gst_iterator_find_custom):
26299 * gst/gstiterator.h:
26300 Added missing files.
26302 2005-03-07 Wim Taymans <wim@fluendo.com>
26306 * docs/design/part-MT-refcounting.txt:
26307 * docs/design/part-conventions.txt:
26308 * docs/design/part-gstobject.txt:
26309 * docs/design/part-relations.txt:
26310 * examples/mixer/mixer.c: (main):
26311 * examples/thread/thread.c: (eos), (main):
26313 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
26314 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
26315 (gst_spider_plug_from_srcpad):
26316 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
26317 (gst_spider_identity_change_state),
26318 (gst_spider_identity_sink_loop_type_finding):
26319 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
26320 * gst/elements/gstidentity.c: (gst_identity_init):
26321 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
26322 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
26323 * gst/elements/gsttypefindelement.c: (free_entry):
26326 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
26327 (gst_bin_set_clock_func), (gst_bin_auto_clock),
26328 (gst_bin_set_index), (gst_bin_set_element_sched),
26329 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
26330 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
26331 (gst_bin_iterate_elements), (iterate_child_recurse),
26332 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
26333 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
26334 (compare_interface), (gst_bin_get_by_interface),
26335 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
26337 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
26338 (gst_buffer_default_free), (gst_buffer_default_copy),
26339 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
26340 (gst_buffer_create_sub):
26342 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
26343 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
26344 (gst_caps_unref), (gst_static_caps_get),
26345 (gst_caps_remove_and_get_structure), (gst_caps_append),
26346 (gst_caps_append_structure), (gst_caps_remove_structure),
26347 (gst_caps_copy_nth), (gst_caps_set_simple),
26348 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
26349 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
26350 (gst_caps_structure_intersect_field), (gst_caps_intersect),
26351 (gst_caps_structure_subtract_field), (gst_caps_subtract),
26352 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
26353 (gst_caps_structure_figure_out_union),
26354 (gst_caps_switch_structures), (gst_caps_do_simplify),
26355 (gst_caps_replace), (gst_caps_from_string),
26356 (gst_caps_copy_conditional):
26358 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
26359 (_gst_clock_id_free), (gst_clock_id_unref),
26360 (gst_clock_id_compare_func), (gst_clock_id_wait),
26361 (gst_clock_id_wait_async), (gst_clock_class_init),
26362 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
26363 (gst_clock_get_time), (gst_clock_set_time_adjust),
26364 (gst_clock_set_property), (gst_clock_get_property):
26367 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
26368 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
26370 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
26371 (gst_element_requires_clock), (gst_element_provides_clock),
26372 (gst_element_set_clock), (gst_element_clock_wait),
26373 (gst_element_wait), (gst_element_set_time_delay),
26374 (gst_element_is_indexable), (gst_element_add_pad),
26375 (gst_element_add_ghost_pad), (gst_element_remove_pad),
26376 (pad_compare_name), (gst_element_get_static_pad),
26377 (gst_element_request_pad), (gst_element_get_request_pad),
26378 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
26379 (gst_element_class_get_pad_template_list),
26380 (gst_element_class_get_pad_template), (gst_element_error_func),
26381 (gst_element_get_random_pad), (gst_element_get_event_masks),
26382 (gst_element_send_event), (gst_element_seek),
26383 (gst_element_get_query_types), (gst_element_query),
26384 (gst_element_get_formats), (gst_element_convert),
26385 (gst_element_is_locked_state), (gst_element_set_locked_state),
26386 (gst_element_sync_state_with_parent), (gst_element_change_state),
26387 (gst_element_finalize), (gst_element_yield),
26388 (gst_element_interrupt), (gst_element_set_scheduler),
26389 (gst_element_get_scheduler), (gst_element_set_loop_function):
26390 * gst/gstelement.h:
26392 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
26393 (gst_format_get_by_nick), (gst_format_get_details),
26394 (gst_format_iterate_definitions):
26396 * gst/gstindex.c: (gst_index_gtype_resolver):
26399 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
26400 (gst_mem_chunk_free):
26401 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
26402 (gst_object_ref), (gst_object_unref), (gst_object_sink),
26403 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
26404 (gst_object_dispatch_properties_changed),
26405 (gst_object_set_name_default), (gst_object_set_name),
26406 (gst_object_get_name), (gst_object_set_name_prefix),
26407 (gst_object_get_name_prefix), (gst_object_set_parent),
26408 (gst_object_get_parent), (gst_object_unparent),
26409 (gst_object_check_uniqueness), (gst_object_save_thyself),
26410 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
26411 (gst_object_set_property), (gst_object_get_property),
26412 (gst_object_get_path_string):
26414 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
26415 (gst_real_pad_init), (gst_real_pad_get_property),
26416 (gst_pad_custom_new), (gst_pad_get_direction),
26417 (gst_pad_set_active), (gst_pad_is_active),
26418 (gst_pad_set_event_function), (gst_pad_is_linked),
26419 (gst_pad_link_free), (gst_pad_link_intersect),
26420 (gst_pad_link_fixate), (gst_pad_set_caps),
26421 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
26422 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
26423 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
26424 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
26425 (gst_pad_get_caps), (gst_pad_peer_get_caps),
26426 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
26427 (gst_pad_realize), (gst_pad_get_allowed_caps),
26428 (gst_real_pad_dispose), (gst_real_pad_finalize),
26429 (gst_pad_collectv), (gst_pad_collect_valist),
26430 (gst_pad_template_dispose), (gst_pad_template_new),
26431 (gst_pad_get_internal_links):
26433 * gst/gstpipeline.c: (gst_pipeline_dispose),
26434 (gst_pipeline_change_state):
26435 * gst/gstpipeline.h:
26437 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
26438 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
26439 * gst/gstpluginfeature.h:
26440 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
26441 * gst/gstquery.c: (_gst_query_type_initialize),
26442 (gst_query_type_register), (gst_query_type_get_by_nick),
26443 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
26445 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
26446 * gst/gstscheduler.c: (gst_scheduler_add_element),
26447 (gst_scheduler_factory_create):
26448 * gst/gststructure.c: (gst_structure_set_parent_refcount),
26449 (gst_structure_free), (gst_structure_set_name),
26450 (gst_structure_id_set_value), (gst_structure_set_value),
26451 (gst_structure_set_valist), (gst_structure_remove_field),
26452 (gst_structure_remove_fields),
26453 (gst_structure_remove_fields_valist),
26454 (gst_structure_remove_all_fields), (gst_structure_foreach),
26455 (gst_structure_map_in_place),
26456 (gst_caps_structure_fixate_field_nearest_int),
26457 (gst_caps_structure_fixate_field_nearest_double):
26458 * gst/gststructure.h:
26459 * gst/gstsystemclock.c: (gst_system_clock_class_init),
26460 (gst_system_clock_init), (gst_system_clock_dispose),
26461 (gst_system_clock_async_thread),
26462 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
26463 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
26464 * gst/gstsystemclock.h:
26465 * gst/gsttag.c: (gst_tag_list_add_value_internal),
26466 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
26467 * gst/gsttaginterface.c:
26468 * gst/gstthread.c: (gst_thread_dispose),
26469 (gst_thread_release_children_locks), (gst_thread_change_state),
26470 (gst_thread_main_loop):
26471 * gst/gsttrashstack.h:
26472 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
26474 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26475 (gst_element_request_pad), (gst_element_get_pad_from_template),
26476 (gst_element_request_compatible_pad),
26477 (gst_element_get_compatible_pad_filtered),
26478 (gst_element_get_compatible_pad), (gst_element_state_get_name),
26479 (gst_element_link_pads_filtered), (gst_element_link_filtered),
26480 (gst_element_link_many), (gst_element_link),
26481 (gst_element_link_pads), (gst_element_unlink_pads),
26482 (gst_element_unlink_many), (gst_element_unlink),
26483 (gst_pad_can_link_filtered), (gst_pad_can_link),
26484 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
26485 (gst_object_default_error), (gst_bin_add_many),
26486 (gst_bin_remove_many), (gst_element_populate_std_props),
26487 (gst_element_class_install_std_props), (gst_buffer_merge),
26488 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
26489 (link_fold_func), (gst_pad_proxy_setcaps):
26491 * gst/gstvalue.c: (gst_value_deserialize_string):
26492 * gst/parse/grammar.y:
26493 * gst/schedulers/gstbasicscheduler.c:
26494 (gst_basic_scheduler_cothreaded_chain),
26495 (gst_basic_scheduler_chain_recursive_add),
26496 (gst_basic_scheduler_pad_link):
26497 * gst/schedulers/gstoptimalscheduler.c:
26498 (get_group_schedule_function),
26499 (gst_opt_scheduler_state_transition),
26500 (gst_opt_scheduler_add_element), (element_get_reachables_func):
26501 * libs/gst/bytestream/bytestream.c:
26502 * libs/gst/dataprotocol/dataprotocol.c:
26503 (gst_dp_header_from_buffer):
26506 * tests/threadstate/threadstate2.c: (eos):
26507 * tools/gst-compprep.c: (main):
26508 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
26509 (print_pad_info), (print_children_info):
26510 * tools/gst-launch.c: (idle_func), (main):
26511 * tools/gst-md5sum.c: (idle_func), (main):
26512 * tools/gst-xmlinspect.c: (print_element_info):
26513 First THREADED backport attempt, focusing on adding locks and
26514 making sure the API is threadsafe. Needs more work. More docs
26517 2005-02-24 Andy Wingo <wingo@pobox.com>
26519 * tests/bench-complexity.scm:
26520 * tests/complexity.gnuplot: New files, good for running complexity
26523 * tests/Makefile.am:
26524 * tests/complexity.c: New test, sets up N elements, at each level
26525 teeing into M streams per element. Eeeenteresting.
26527 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
26528 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
26529 running bench-mass_elements.scm.
26531 * tests/bench-mass_elements.scm: New script, runs mass_elements
26532 for various numbers of identities, outputting the results to a
26533 file. Requires guile 1.6. Just for testing.
26535 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
26537 * gst/schedulers/fairscheduler.c:
26538 compile with debug disabled
26540 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
26543 hunting season on 0.9 is now OPEN