1 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
4 Add default for new --enable-plugin-docs switch.
7 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
11 Use new ENABLE_PLUGIN_DOCS conditional.
13 2006-06-14 Wim Taymans <wim@fluendo.com>
15 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
16 Make it clear with a FIXME and a real define what the #if 0
19 2006-06-14 Wim Taymans <wim@fluendo.com>
21 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
22 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
23 * libs/gst/base/gstbasetransform.c:
24 (gst_base_transform_sink_eventfunc):
25 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
26 Don't randomly and silently reset a segment when the format
27 changes as this is a bug somewhere upstream. Fixes #330379.
29 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
31 Patch by: Wouter Paesen <wouter at kangaroot net>
33 * libs/gst/controller/gstcontroller.c:
34 (gst_controlled_property_new):
35 Fix controlling of float properties (#344849).
37 * tests/check/libs/controller.c:
38 (gst_test_mono_source_get_property),
39 (gst_test_mono_source_set_property),
40 (gst_test_mono_source_class_init), (GST_START_TEST):
41 While we're at it, add some float stuff to unit test.
43 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
46 * docs/images/gdp-header.svg:
48 * docs/libs/Makefile.am:
49 * docs/libs/gdp-header.png:
50 * libs/gst/dataprotocol/dataprotocol.c:
51 add it to the API docs
52 * docs/manual/intro-motivation.xml:
55 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
57 * gst/gst.c: (scan_and_update_registry), (init_post):
58 If the fork()'ed child process can't write the updated registry cache
59 file to disk for some reason, make it exit with a failure exit code,
60 so that the parent can then re-scan the plugins itself and update the
61 registry structures in memory and work with that (rather than failing
62 when creating elements because seemingly no plugins are available).
63 Refactor registry scanning code into separate function for this and
64 also separate fork() and non-fork() code paths. Fixes #344748.
66 2006-06-13 Wim Taymans <wim@fluendo.com>
68 * docs/manual/advanced-dataaccess.xml:
69 Fix wrong PluginDesc. Fixes #344755.
71 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
73 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
74 Fix silly bug that prevented us from creating
75 ~/.gstreamer-0.10 and writing the registry in one
76 go (the first call to g_mkstemp() would overwrite the
77 placeholder in the template string, so the second call
78 to g_mkstemp() after creating the missing directory
79 would then error out with 'invalid argument').
81 2006-06-13 Edward Hervey <edward@fluendo.com>
83 * gst/gst.c: (init_post):
86 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
88 * gst/glib-compat-private.h:
91 * gst/gstvalue.c: (gst_value_serialize_flags):
92 remove GLib 2.6 compatibility code
94 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
96 * gst/parse/Makefile.am:
97 Fix build with 'make -j N' even more (#340016).
99 2006-06-12 Wim Taymans <wim@fluendo.com>
101 * docs/gst/gstreamer-sections.txt:
104 2006-06-12 Wim Taymans <wim@fluendo.com>
106 * gst/gstsegment.c: (gst_segment_set_duration),
107 (gst_segment_set_last_stop), (gst_segment_set_seek),
108 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
109 (gst_segment_to_running_time), (gst_segment_clip):
110 Use G_UNLIKELY to help the compiler a bit.
112 2006-06-12 Wim Taymans <wim@fluendo.com>
114 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
116 * gst/gstevent.c: (gst_event_get_type):
118 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
120 constify quark registration strings. Fixes #344115
121 Avoid unneeded type checking is _pad_push() by internally
122 calling gst_pad_chain_unchecked().
124 2006-06-12 Wim Taymans <wim@fluendo.com>
126 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
127 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
128 (gst_subbuffer_finalize), (gst_buffer_create_sub),
129 (gst_buffer_is_span_fast), (gst_buffer_span):
130 Init _type for consistency.
131 Use _FLAGS macro to avoid type check.
132 Avoid unneeded type checks in subbufer code.
134 2006-06-12 Wim Taymans <wim@fluendo.com>
136 * gst/gst.c: (gst_debug_help):
137 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
138 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
139 (gst_plugin_feature_list_free):
140 * gst/gstregistry.c: (gst_registry_add_plugin),
141 (gst_registry_add_feature), (gst_registry_plugin_filter),
142 (gst_registry_feature_filter), (gst_registry_find_plugin),
143 (gst_registry_find_feature), (gst_registry_get_plugin_list),
144 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
145 * gst/gstregistryxml.c: (load_feature),
146 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
147 * gst/gstminiobject.c: (gst_mini_object_unref),
148 (gst_mini_object_replace), (gst_value_mini_object_free),
149 (gst_value_mini_object_copy):
150 Use _CAST macros to avoid unneeded type checking.
151 Added some more G_UNLIKELY.
153 2006-06-12 Wim Taymans <wim@fluendo.com>
156 Avoid unneeded type checking.
157 API: GST_BUFFER_IS_DISCONT
159 * gst/gstminiobject.h:
160 Avoid type check in flag accessor.
162 * gst/gstelementfactory.h:
164 * gst/gstpluginfeature.h:
166 API: GST_ELEMENT_FACTORY_CAST
168 API: GST_PLUGIN_FEATURE_CAST
170 2006-06-12 Wim Taymans <wim@fluendo.com>
172 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
174 Add G_UNLIKELY in type registration.
175 Avoid type check in _ref/_unref since that is also
178 2006-06-12 Wim Taymans <wim@fluendo.com>
180 * gst/gsterror.c: (gst_g_error_get_type):
181 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
182 (gst_static_pad_template_get_type):
183 * gst/gsttaglist.c: (gst_tag_list_get_type):
184 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
185 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
186 * gst/gsturi.c: (gst_uri_handler_get_type):
187 * gst/gstvalue.c: (gst_date_get_type):
188 * gst/gstxml.c: (gst_xml_get_type):
189 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
190 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
191 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
192 Add G_UNLIKELY in type registration.
194 2006-06-12 Wim Taymans <wim@fluendo.com>
196 * tools/gst-inspect.c: (print_signal_info):
197 Properly print enum values.
199 2006-06-12 Wim Taymans <wim@fluendo.com>
201 * gst/gstinfo.c: (gst_debug_set_active),
202 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
204 Add some G_[UN]LIKELY.
205 Maintain __gst_debug_min to avoid formatting the arguments of
206 debug messages that will be dropped anyway to avoid a lot of
207 overhead from the debugging system.
209 2006-06-11 Stefan Kost <ensonic@users.sf.net>
213 add missing files containing translatable strings, tell intltool about
216 2006-06-11 Stefan Kost <ensonic@users.sf.net>
218 * tests/check/libs/.cvsignore:
219 add test-binary to ignore list
221 2006-06-11 Stefan Kost <ensonic@users.sf.net>
223 * docs/libs/gstreamer-libs-docs.sgml:
224 reorder (put dp into a chapter) and indent
226 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
231 === release 0.10.8 ===
233 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
236 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
238 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
240 * gst/gst.c: (init_post):
241 move pid declaration to declaration block
243 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
245 * gst/gst.c: (init_post):
246 use _exit() instead of exit() in our forked child; this ensures
247 that none of the registered exit handlers from whatever is using
248 GStreamer get executed. This fixes gnome-mixer-applet failing
249 to load, because ORBit would shut down.
250 Spotted by: Edward Hervey <edward@fluendo.com>
251 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
254 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
259 === release 0.10.7 ===
261 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
264 releasing 0.10.7, "Soepeke, ik zie ou"
266 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
289 * win32/common/config.h:
292 2006-06-07 Wim Taymans <wim@fluendo.com>
294 * gst/gstindex.c: (gst_index_gtype_resolver):
295 * tools/gst-xmlinspect.c: (print_plugin_info):
296 Fix leak spotted by coverity checker. Fixes #343827
297 Fix another other leak found by paolo borelli.
299 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
301 * libs/gst/dataprotocol/dataprotocol.c:
302 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
303 (gst_dp_version_get_type), (gst_dp_init),
304 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
305 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
306 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
307 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
308 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
309 (gst_dp_packetizer_free):
310 * libs/gst/dataprotocol/dataprotocol.h:
311 API: add a GstDPPacketizer object, and create/free functions
312 API: add GstDPVersion enum
313 Add 1.0 event function that uses the string serialization
314 Serialize more useful buffer flags
317 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
319 * tests/check/Makefile.am:
320 * tests/check/gst/gstabi.c:
321 * tests/check/gst/struct_ppc64.h:
322 * tests/check/libs/libsabi.c:
323 * tests/check/libs/struct_ppc64.h:
324 add ppc64 structure sizes
326 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
328 * tests/check/Makefile.am:
329 * tests/check/gst/gstabi.c:
330 * tests/check/gst/struct_x86_64.h:
331 * tests/check/libs/libsabi.c:
332 * tests/check/libs/struct_x86_64.h:
333 generate and add structure size lists for x86_64
335 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
337 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
338 * libs/gst/check/gstcheck.h:
339 factor out the method from tests that checks size of structures,
340 and add code to generate the header containing these sizes
341 * tests/check/gst/gstabi.c: (GST_START_TEST):
342 * tests/check/gst/struct_i386.h:
343 * tests/check/libs/libsabi.c: (GST_START_TEST):
344 * tests/check/libs/struct_i386.h:
347 2006-06-06 Michael Smith <msmith@fluendo.com>
350 Don't use c++-style comments, fixes #343929
352 2006-06-05 Edward Hervey <edward@fluendo.com>
355 plugin_paths is not used if we build without registry support.
357 * gst/gstsegment.c: (gst_segment_copy):
358 _copy() was always returning NULL...
360 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
362 * libs/gst/dataprotocol/dataprotocol.c:
363 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
364 (gst_dp_packet_from_event):
367 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
369 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
370 make sure we unset caps
372 2006-06-02 Michael Smith <msmith@fluendo.com>
374 * libs/gst/check/gstcheck.c: (gst_check_init),
375 (gst_check_chain_func):
376 * libs/gst/check/gstcheck.h:
377 Add a cond/mutex to the check support lib, signal this whenever we
378 add to the buffers list. This will allow tests to not busy-wait on
381 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
383 * libs/gst/dataprotocol/dataprotocol.c:
384 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
385 (gst_dp_packet_from_event):
386 factor out some common header init code
388 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
390 * docs/libs/gstreamer-libs-sections.txt:
391 * docs/libs/tmpl/gstdataprotocol.sgml:
392 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
393 * libs/gst/dataprotocol/dataprotocol.h:
394 API: make gst_dp_crc() public
396 2006-06-01 Stefan Kost <ensonic@users.sf.net>
398 * plugins/indexers/gstindexers.c: (plugin_init):
399 conditionally register fileindexer (fixes #343598)
401 2006-06-01 Stefan Kost <ensonic@users.sf.net>
403 * gst/gsttagsetter.h:
404 Can't cast ifaces to a class
406 * libs/gst/net/gstnetclientclock.h:
407 * libs/gst/net/gstnettimeprovider.h:
408 * plugins/elements/gstfakesink.h:
409 * plugins/elements/gstfakesrc.h:
410 * plugins/elements/gstfdsink.h:
411 * plugins/elements/gstfdsrc.h:
412 * plugins/elements/gstfilesink.h:
413 * plugins/elements/gstfilesrc.h:
414 * plugins/elements/gstidentity.h:
415 * plugins/elements/gstqueue.h:
416 * plugins/elements/gsttee.h:
417 * plugins/indexers/gstfileindex.c:
418 * plugins/indexers/gstmemindex.c:
419 * tests/old/examples/plugins/example.h:
420 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
422 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
424 * libs/gst/dataprotocol/dataprotocol.c:
425 (gst_dp_header_from_buffer):
426 make sure we zero the whole ABI-compatible area
428 2006-06-01 Wim Taymans <wim@fluendo.com>
430 Patch by: Alessandro Decina <alessandro at nnva dot org>
432 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
433 Make sure the EOS flag is cleared from pads after a flush
434 or stop. Fixes #343538.
436 * tests/check/libs/collectpads.c: (GST_START_TEST),
437 (gst_collect_pads_suite):
438 Added test for collectpads reusage after EOS.
440 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
443 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
444 * win32/common/libgstbase.def:
445 export gst_collect_pads_set_flushing
446 * win32/common/libgstreamer.def:
447 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
448 gst_value_fraction_multiply
449 * win32/vs6/gst_inspect.dsp:
450 add a link to intl.lib
452 2006-05-30 Wim Taymans <wim@fluendo.com>
454 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
455 (gst_collect_pads_chain):
456 Handle the case where a pad is removed from the collection
457 that could cause the other pads to become collectable.
459 2006-05-30 Wim Taymans <wim@fluendo.com>
462 Clarify the use of _release_request_pad() and
463 _get_request_pad() a bit better.
465 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
466 (gst_adapter_take_buffer):
467 Fix some doc and comment typos.
469 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
471 * docs/gst/gstreamer-sections.txt:
472 * docs/libs/gstreamer-libs-sections.txt:
475 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
477 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
478 Add debug that can be enabled using a #define at the top of the file,
479 for dumping stats about how late/early we were when waking up from
480 waiting on the clock.
482 2006-05-30 Wim Taymans <wim@fluendo.com>
484 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
485 When rebuilding the pad list, don't leak the previous list.
487 2006-05-30 Wim Taymans <wim@fluendo.com>
489 Patch by: Lutz Mueller <lutz at topfrose dot de>
491 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
492 (gst_base_src_get_query_types), (gst_base_src_update_length):
493 Publish supported query types.
494 Update last_stop field in get_range mode so the position
495 query works. Fixes #342321.
497 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
499 * docs/gst/gstreamer-sections.txt:
500 * gst/gsttaglist.c: (_gst_tag_initialize):
502 API: add GST_TAG_PREVIEW_IMAGE (#343341).
504 2006-05-30 Wim Taymans <wim@fluendo.com>
506 Patch by: Alessandro Decina <alessandro at nnva dot org>
508 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
509 Unlock mutex when removing an unknown pad.
512 * tests/check/Makefile.am:
513 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
514 (push_event), (setup), (teardown), (GST_START_TEST),
515 (gst_collect_pads_suite), (main):
516 Added collecpads check, disabled for now as check crashes for
519 2006-05-29 Wim Taymans <wim@fluendo.com>
521 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
522 Don't leak pads lists.
524 2006-05-29 Wim Taymans <wim@fluendo.com>
526 * docs/libs/gstreamer-libs-sections.txt:
527 * libs/gst/base/gstcollectpads.c:
528 (gst_collect_pads_set_flushing_unlocked),
529 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
530 (gst_collect_pads_stop):
531 * libs/gst/base/gstcollectpads.h:
532 API: gst_collect_pads_set_flushing()
533 Added api to set the pads to flushing, useful for seeking
534 code in elements using collectpads.
535 Clear segment when receiving a flush.
537 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
539 * gst/gst.c: (add_path_func), (init_post):
540 Don't scan registry paths passed via --gst-plugin-path immediately
541 (will crash, because absolutely nothing is set up and no types are
542 registered etc.); do this later in init_post(). Fixes #343057.
544 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
546 * gst/gst.c: (init_post):
547 if we have fork, fork while reading/rebuilding the registry
548 so the parent doesn't take the hit of having all plugins loaded
549 in memory. Fixes #342777.
551 Check if we have fork()
552 * win32/common/config.h.in:
555 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
557 * plugins/elements/gstelements.c:
558 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
559 (gst_file_src_init), (gst_file_src_set_property),
560 (gst_file_src_get_property), (gst_file_src_start):
561 * plugins/elements/gstfilesrc.h:
562 API: GstFileSrc::use-mmap
564 Add a use-mmap property to enable easier testing of all code paths.
565 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
566 in the absence of gnomevfssrc. (Closes #340501)
568 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
570 * tools/gst-inspect.c:
571 Add missing include, removes warning of ngettext not being defined on
574 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
576 * gst/gstvalue.c: (gst_value_deserialize_fraction):
577 Handle NULL input and output pointers silently as a failed conversion,
578 rather than g_warnings.
580 2006-05-25 Wim Taymans <wim@fluendo.com>
582 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
583 Initialize variable before using. Fixes #342820.
585 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
587 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
588 Fix off-by-one bug that would only allow peeks of N-1 bytes
589 from the start even if the buffer to typefind on contains
590 in fact N bytes of data (makes vorbis typefinding from a
591 vorbis identification header buffer work).
593 * tests/check/Makefile.am:
594 * tests/check/libs/.cvsignore:
595 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
596 (gst_typefindhelper_suite), (main), (foobar_typefind),
598 Add very basic unit test for gst_type_find_helper_for_buffer()
599 that checks for the problem fixed above.
601 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
603 * tools/gst-inspect.c: (print_interfaces),
604 (print_element_properties_info), (print_element_list), (main):
605 add more translatable strings
607 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
609 Patch by: Julien Moutte <julien at moutte net>
611 * docs/gst/gstreamer-sections.txt:
612 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
614 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
615 (gst_fake_sink_preroll):
616 * plugins/elements/gstfakesink.h:
617 API: Add new GstFakeSink::preroll-handoff signal (#337100).
619 2006-05-23 Wim Taymans <wim@fluendo.com>
621 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
623 Added _CUSTOM error and success GstFlowReturn that can be
624 used be elements internally.
625 Added macro to check for SUCCESS flowreturns.
626 API: GST_FLOW_CUSTOM_SUCCESS
627 API: GST_FLOW_CUSTOM_ERROR
628 API: GST_FLOW_IS_SUCCESS
630 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
631 Added check for GstFlowReturn sanity.
633 2006-05-23 Wim Taymans <wim@fluendo.com>
635 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
637 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
638 (gst_collect_pads_event):
639 clear/reset segment info in FLUSH_STOP.
642 2006-05-22 Stefan Kost <ensonic@users.sf.net>
644 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
645 (gst_collect_pads_check_collected):
646 Flush queued buffer on _stop(), fixes playing again (#342454)
648 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
650 * tests/check/gst/gststructure.c: (GST_START_TEST),
651 (gst_structure_suite):
652 add a test for a complete structure
654 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
656 * docs/faq/developing.xml:
658 * docs/faq/troubleshooting.xml:
659 * docs/faq/using.xml:
660 Some minor FAQ updates that won't change the fact that
661 our FAQ is badly structured, full of information hardly
662 anyone new to GStreamer needs to know and lacking lots
663 of information people constantly ask for.
665 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
667 * gst/gstpad.c: (gst_pad_set_caps):
668 Short-circuit gst_pad_set_caps if setting the existing
669 caps pointer again, and avoid printing debug and
670 reffing/unreffing the caps.
672 * plugins/elements/gstqueue.c: (gst_queue_push_one):
673 There's actually no need to set the caps before pushing -
674 the acceptcaps method will handle it anyway.
676 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
678 * docs/gst/gstreamer-sections.txt:
679 * win32/common/libgstreamer.def:
680 * gst/gstutils.c: (gst_element_seek_simple):
682 API: add gst_element_seek_simple() (#342238).
684 2006-05-18 Edward Hervey <edward@fluendo.com>
686 * gst/gsttypefind.c: (gst_type_find_get_type):
688 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
689 registered for GstTypeFind pointers. This allows wrapping the structure
690 in bindings (i.e. gst-python).
692 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
694 * gst/gsttagsetter.c:
695 Docs additions and fixes (see #339918).
697 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
699 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
700 The caps intersection algorithm can produce multiple copies of the
701 caps. Until that is fixed, we need to simplify the result to be
702 sure whether the allowed caps are fixed or not.
704 * plugins/elements/gstqueue.c: (gst_queue_init),
705 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
706 (gst_queue_push_one):
707 Proxied buffer alloc should not set the caps on the source pad.
708 When pushing buffers, we always accept the caps change that triggers.
709 This prevents negotiation errors caused by caps changing mid-stream
710 and then being refused on our source pad (because upstream is now
711 refusing those caps).
713 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
715 * tests/examples/helloworld/helloworld.c: (main):
716 Must plug audioconvert and audioresample between decoder
719 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
721 * gst/gstregistryxml.c: (read_string), (load_pad_template),
722 (load_feature), (load_plugin):
723 Allow empty strings for some of the plugin fields so we don't
724 drop valid plugin entries that were written out correctly
727 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
729 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
730 Use g_remove and g_rename instead of remove and rename that don't
731 handle utf8 characters. rename was failing for users who had specific
732 characters in their name then the registry was built at each
734 * win32/vs6/gst_inspect.dsp:
735 * win32/vs6/gst_launch.dsp:
736 * win32/vs6/libgstbase.dsp:
737 * win32/vs6/libgstcoreelements.dsp:
738 * win32/vs6/libgstreamer.dsp:
739 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
740 build of libgstreamer and clean unused libraries in projects link
743 2006-05-17 Edward Hervey <edward@fluendo.com>
745 * plugins/elements/gstqueue.c: (gst_queue_push_one):
746 The queue is not responsible for pushing an EOS when receiving a fatal
747 flow error. It's up to the real element driving the pipeline to do that.
749 2006-05-16 Edward Hervey <edward@fluendo.com>
751 * plugins/elements/gstqueue.c: (gst_queue_push_one):
752 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
753 buffer returned a fatal error. It should just send an EOS and stop
755 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
756 when pushing buffers on the queue and will be able to handle the event.
758 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
760 * docs/manual/basics-bins.xml:
761 * docs/manual/basics-init.xml:
762 Fix typos and minor errors in sample code (#341856).
764 2006-05-16 Wim Taymans <wim@fluendo.com>
766 * docs/design/part-qos.txt:
767 Fix indexes in formulas to make more sense.
769 2006-05-15 Wim Taymans <wim@fluendo.com>
771 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
772 Don't report POSITION based on clock time if sync is
775 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
778 Add cast to make compiler happy - refcount variable was a gint
779 in GstObject but is a guint in GObject and g_atomic_int_get()
782 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
784 * gst/parse/Makefile.am:
785 chain commands using &&, which also makes parallel make work
787 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
789 * docs/gst/gstreamer-sections.txt:
795 === release 0.10.6 ===
797 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
800 releasing 0.10.6, "Take the cannoli"
802 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
804 * tools/gst-launch.c: (print_tag):
805 Fix use of uninitialized variable in the hypothetical
806 case that some broken plugin creates a GST_TAG_IMAGE
807 tag containing a NULL buffer (#341667).
809 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
811 * tools/gst-launch.c: (print_tag):
812 Print something more intelligible for image tags when
813 using the -t switch (#341556).
815 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
820 define GST_MAJORMINOR so we have it available in win32/common/config.h
821 Possibly remove it from our Makefile.am files later
822 * win32/common/config.h:
823 * win32/common/config.h.in:
825 * win32/common/gstenumtypes.c: (register_gst_resource_error):
826 * win32/common/gstversion.h:
829 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
832 Update win32 files listing.
833 * win32/common/gstversion.h:
834 Add GST_MAJORMINOR definition.
835 * win32/common/libgstreamer.def:
836 Add new exported functions.
838 2006-05-12 Michael Smith <msmith@fluendo.com>
840 * gst/gstplugin.c: (gst_plugin_load_file):
841 If an so file has no plugin entry point, unload the module.
843 2006-05-11 Wim Taymans <wim@fluendo.com>
845 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
846 (gst_queue_set_property):
847 Don't forget to signal the _chain or _loop function
848 when the queue size or thresholds change since that might
849 cause them to make progres again.
851 2006-05-11 Stefan Kost <ensonic@users.sf.net>
853 * gst/gstclock.c: (gst_clock_class_init):
854 * gst/gstindex.c: (gst_index_class_init):
855 * gst/gstobject.c: (gst_object_class_init):
856 * gst/gstpad.c: (gst_pad_class_init):
857 * gst/gstpipeline.c: (gst_pipeline_class_init):
858 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
859 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
860 * libs/gst/base/gstbasetransform.c:
861 (gst_base_transform_class_init):
862 * libs/gst/net/gstnetclientclock.c:
863 (gst_net_client_clock_class_init):
864 * libs/gst/net/gstnettimeprovider.c:
865 (gst_net_time_provider_class_init):
866 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
867 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
868 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
869 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
870 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
871 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
872 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
873 * plugins/elements/gstidentity.c: (gst_identity_class_init):
874 * plugins/elements/gsttee.c: (gst_tee_class_init):
875 * tests/old/examples/plugins/example.c: (gst_example_class_init):
876 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
877 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
879 2006-05-11 Wim Taymans <wim@fluendo.com>
881 * gst/gstbuffer.c: (_gst_buffer_initialize):
882 Register subbufer along with the buffer type so that
883 it does not accidentally gets registered from N
884 different streaming threads in a non threadsafe way.
886 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
891 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
892 gst_event_ref() and gst_message_ref() functions again
893 (ugly hack, please do fix if there's a better way besides
894 overrides.txt, which doesn't seem to work).
896 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
898 * libs/gst/check/gstcheck.h:
899 add an assert for setting state to avoid lots of repetitive code
902 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
904 * gst/gstvalue.c: (gst_value_serialize_flags):
905 fix a leak if no flags are set
906 * tests/check/gst/gstvalue.c: (GST_START_TEST):
909 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
911 * docs/manual/basics-pads.xml:
912 Expand a bit on caps and filtered links and update
913 examples that were still using the no longer existing
914 gst_pad_link_filtered() (#338206).
916 2006-05-10 Wim Taymans <wim@fluendo.com>
918 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
919 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
920 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
921 (gst_collect_pads_stop):
922 * libs/gst/base/gstcollectpads.h:
923 No need to call _stop in _finalize.
924 Iterate the main pad list in _finalize.
925 Added some more debug.
926 Free lists and data in the right order.
927 Also free data whem doing _remove_pad when stopped for
928 backward compatibility protect ::started with PAD_LOCK as
931 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
933 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
934 (gst_structure_parse_value):
936 rename a method so that it actually says what it does better
938 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
940 * gst/gstevent.c: (_gst_event_initialize):
941 * gst/gstformat.c: (_gst_format_initialize):
942 make sure some essential types used by events are registered
943 as part of gst_init()
944 * gst/gstvalue.c: (gst_value_serialize_flags):
945 if no flags are set, serialize them to a value that represents NONE
946 so that deserializing them works
947 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
948 add tests for serialization and deserialization of flags
950 2006-05-10 Wim Taymans <wim@fluendo.com>
952 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
953 (gst_collect_pads_collect_range), (gst_collect_pads_available),
954 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
955 (gst_collect_pads_event), (gst_collect_pads_chain):
958 Catch and return errors from the collect function
959 Refuse data on eos pads.
961 2006-05-10 Edward Hervey <edward@fluendo.com>
963 * gst/gstinterface.h:
964 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
965 GInterface type checking.
966 They were previously using non-defined macros.
968 2006-05-09 Wim Taymans <wim@fluendo.com>
970 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
971 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
972 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
973 (gst_collect_pads_start), (gst_collect_pads_stop),
974 (gst_collect_pads_peek), (gst_collect_pads_pop),
975 (gst_collect_pads_available), (gst_collect_pads_read),
976 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
977 (gst_collect_pads_is_collected), (gst_collect_pads_event),
978 (gst_collect_pads_chain):
979 * libs/gst/base/gstcollectpads.h:
980 Clean up the mess that is collectpads, add comments and
982 Maintain a separate pad list so we can add pads while
983 collecting the other ones. For this we need a new separate
985 Fix memory leak in finalize.
986 Refactor some weird code to set/unset pad flushing flags, mark
988 Don't crash in _available, _read, _flush when we're EOS.
990 * tests/check/libs/.cvsignore:
991 Ignore adapter check binary.
993 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
995 * gst/gstindex.c: (gst_index_resolver_get_type):
996 * plugins/elements/gstfakesink.c:
997 (gst_fake_sink_state_error_get_type):
998 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
999 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
1000 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
1001 Const-ify GEnumValue arrays.
1003 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
1005 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
1006 Add test case for flags + gst_buffer_make_metadata_writable().
1008 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
1010 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
1011 gst_buffer_make_metadata_writable() should maintain the
1012 buffer flags (those that make sense at least) (see #340859).
1014 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
1016 * tools/gst-inspect.c:
1017 * tools/gst-launch.c:
1018 * tools/gst-typefind.c:
1019 * tools/gst-xmlinspect.c:
1021 Fix up includes: need to include stdlib.h in tools.h for exit().
1023 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
1025 * gst/gsttaglist.c: (_gst_tag_initialize):
1027 API: add GST_TAG_IMAGE tag (#340721).
1029 2006-05-08 Wim Taymans <wim@fluendo.com>
1032 Added some docs for the segment query.
1034 2006-05-08 Wim Taymans <wim@fluendo.com>
1036 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
1037 (gst_base_src_loop), (gst_base_src_change_state):
1038 Always push non-flushing serialized events in the streaming
1041 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
1043 * gst/gsterror.c: (_gst_stream_errors_init):
1044 Add a missing error string.
1046 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
1048 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
1049 Add applied_rate to the debug
1051 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
1052 Copy applied_rate into the outgoing NEWSEGMENT event
1054 2006-05-08 Wim Taymans <wim@fluendo.com>
1056 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
1058 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
1059 (gst_base_sink_change_state):
1060 call ::unlock before taking the PREROLL_LOCK so we can safely
1061 handle elements that lock in ::render.
1064 2006-05-08 Edward Hervey <edward@fluendo.com>
1066 * autogen.sh: (CONFIGURE_DEF_OPT):
1067 Darwin's libtoolize is in fact called glibtoolize.
1068 Adding glibtoolize to the list of accepted names for libtoolize.
1070 2006-05-08 Wim Taymans <wim@fluendo.com>
1072 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
1073 Unify error handling, don't post an error message
1074 when a push() returns EOS but perform our normal EOS
1075 handling code. Fixes #340772.
1077 2006-05-08 Wim Taymans <wim@fluendo.com>
1079 * docs/design/part-overview.txt:
1080 Make upsteam/downstream concepts more clear.
1081 Give an example of serialized/non-serialized events.
1083 * docs/design/part-events.txt:
1084 * docs/design/part-streams.txt:
1085 Mention applied_rate.
1087 * docs/design/part-trickmodes.txt:
1088 Mention applied rate, flesh out some more use cases.
1090 * gst/gstevent.c: (gst_event_new_new_segment),
1091 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
1092 (gst_event_parse_new_segment_full), (gst_event_new_tag),
1093 (gst_event_parse_tag), (gst_event_new_buffer_size),
1094 (gst_event_parse_buffer_size), (gst_event_new_qos),
1095 (gst_event_parse_qos), (gst_event_parse_seek),
1096 (gst_event_new_navigation):
1098 Add applied_rate field to NEWSEGMENT event.
1099 API: gst_event_new_new_segment_full()
1100 API: gst_event_parse_new_segment_full()
1102 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
1103 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
1104 (gst_segment_to_stream_time), (gst_segment_to_running_time):
1106 Add applied_rate to GstSegment structure.
1107 Make calculation of stream_time and running_time more correct
1108 wrt rate/applied_rate.
1110 API: GstSegment::applied_rate field
1111 API: gst_segment_set_newsegment_full();
1113 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
1114 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
1115 * libs/gst/base/gstbasetransform.c:
1116 (gst_base_transform_sink_eventfunc),
1117 (gst_base_transform_handle_buffer):
1118 Parse and use applied_rate in the GstSegment field.
1120 * tests/check/gst/gstevent.c: (GST_START_TEST):
1121 Add check for applied_rate field.
1123 * tests/check/gst/gstsegment.c: (GST_START_TEST),
1124 (gstsegments_suite):
1125 Add more checks for various GstSegment operations.
1127 2006-05-08 Wim Taymans <wim@fluendo.com>
1129 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
1130 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
1131 (gst_base_sink_get_position), (gst_base_sink_change_state):
1132 Store the sync time of the buffer end position separatly in a
1133 new variable eos_rtime so we can properly sync the EOS event.
1135 Fix the docs for gst_base_sink_set_qos_enabled().
1136 Don't set segment start to invalid value when we receive a
1137 non TIME newsegment.
1138 get closer to handling position reporting for negative rates
1141 2006-05-07 Stefan Kost <ensonic@users.sf.net>
1144 Docs about how to print caps for debug purposes.
1146 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
1147 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
1149 2006-05-07 Stefan Kost <ensonic@users.sf.net>
1152 use full enum names and preprend a '%' in docs strings to make recent
1153 gtk-doc turn that into a link
1155 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
1157 * docs/manual/basics-bins.xml:
1158 * docs/manual/basics-bus.xml:
1159 * docs/manual/basics-pads.xml:
1160 Some typo fixes, some additions, some clarifications.
1162 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
1164 * tools/gst-inspect.c: (main):
1165 * tools/gst-launch.c: (main):
1166 * tools/gst-run.c: (main):
1167 * tools/gst-typefind.c: (main):
1168 * tools/gst-xmlinspect.c: (main):
1169 Use the string passed to g_option_context_new() for
1170 what it's intended for - the program name is already
1173 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
1175 * tools/Makefile.am:
1176 * tools/gst-inspect.c: (main):
1177 * tools/gst-launch.c: (main):
1178 * tools/gst-xmlinspect.c: (main):
1180 Add back --version command line option (#340460).
1182 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
1183 Add --version option and use GOption for argument parsing; refactor a
1184 bit; accept directories as arguments and recurse into them; lastly,
1185 print a decent error message when things go wrong.
1187 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
1189 * docs/manual/basics-bins.xml:
1190 Don't mention GstThread (#340611)
1191 * docs/manual/basics-elements.xml:
1192 Update link to GObject tutorial (#340607)
1194 2006-05-05 Wim Taymans <wim@fluendo.com>
1197 * gst/gstminiobject.c:
1198 Add note about refcounting and miniobject/buffer writeability
1199 to docs. Fixes #340604
1201 * gst/gstelementfactory.h:
1202 Added some explanation about @klass.
1204 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
1206 * docs/manual/intro-motivation.xml:
1207 * docs/manual/manual.xml:
1208 Avoid CORBA & Bonobo references (#340598)
1210 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
1212 * docs/manual/basics-bus.xml:
1213 * docs/manual/basics-pads.xml:
1214 Fix up some inaccuracies and omissions (#340609)
1216 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
1218 * gst/gstghostpad.c:
1219 Small typo in docs (#340625)
1221 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
1223 * gst/parse/Makefile.am:
1224 Make 'make -j' proof (see #340698).
1226 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
1229 Require GLib-2.8 here as well.
1231 2006-05-05 Wim Taymans <wim@fluendo.com>
1233 * gst/glib-compat.c:
1234 * gst/gst.c: (init_pre):
1235 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
1236 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
1237 (gst_object_dispatch_properties_changed):
1239 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
1240 * gst/gststructure.c: (gst_structure_set_valist):
1241 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
1242 Remove pre glib2.8 compatibility, fixes #340508
1244 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
1247 Mention type of tags in doc blurbs.
1249 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
1251 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
1252 (gst_pad_configure_src), (gst_pad_push):
1253 Restore acceptcaps checking behaviour now that good plugins have
1256 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
1258 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
1269 * gst/parse/Makefile.am:
1270 * libs/gst/base/gstadapter.c:
1271 * libs/gst/base/gstbasesrc.c:
1272 * libs/gst/base/gstpushsrc.c:
1273 * libs/gst/base/gsttypefindhelper.c:
1274 * plugins/elements/gstfakesrc.c:
1275 * plugins/elements/gstidentity.c:
1276 Make sure gstprivate.h and/or config.h are
1277 always included first, otherwise some of our
1278 defines (like _FILE_OFFSET_BITS) might be
1279 redefined in the system headers. Fixes build
1280 on opensolaris (#340016).
1282 2006-05-04 Wim Taymans <wim@fluendo.com>
1284 * docs/libs/gstreamer-libs-sections.txt:
1285 API: addition: gst_adapter_take_buffer()
1287 * libs/gst/base/gstadapter.c: (gst_adapter_push),
1288 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
1289 (gst_adapter_available_fast):
1290 * libs/gst/base/gstadapter.h:
1291 Prepare for optimizing the hell out of this hugely inefficient
1293 Added gst_adapter_take_buffer() so we can at least start thinking
1294 about subbuffering and merging.
1295 Added some comments.
1297 * tests/check/Makefile.am:
1298 * tests/check/libs/adapter.c: (GST_START_TEST),
1299 (gst_adapter_suite), (main):
1300 Added GstAdapter check.
1302 2006-05-04 Wim Taymans <wim@fluendo.com>
1304 * docs/design/part-overview.txt:
1305 Fix some typos, add blurb about buffer flags.
1307 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
1309 * docs/libs/gstreamer-libs-sections.txt:
1310 make sure GstBaseTransformClass shows up in the docs
1311 * libs/gst/base/gstbasetransform.c:
1312 * libs/gst/base/gstbasetransform.h:
1313 move docs so gtk-doc picks it up now
1315 2006-05-02 Stefan Kost <ensonic@users.sf.net>
1317 * docs/libs/gstreamer-libs-sections.txt:
1318 add missing symbols to docs
1320 2006-05-02 Stefan Kost <ensonic@users.sf.net>
1322 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
1323 back out the newsegment handling change, see #340060 for ongoing
1326 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
1328 * tools/gst-run.c: (get_candidates), (main):
1329 Fix wrong g_file_test() usage (see glib docs for why it doesn't
1330 work); fix typo in error message. Fixes #340079.
1332 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
1334 * common/Makefile.am:
1336 * docs/faq/Makefile.am:
1337 * docs/gst/Makefile.am:
1338 * docs/libs/Makefile.am:
1339 * docs/manual/Makefile.am:
1340 * docs/plugins/Makefile.am:
1341 * docs/pwg/Makefile.am:
1342 * docs/slides/Makefile.am:
1344 * common/upload.mak:
1345 move upload.mak to common
1347 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
1349 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1350 add more asserts on refcounts
1351 do more cleanup at end of tests
1352 fix test leaks showing in FC5
1354 2006-04-29 Stefan Kost <ensonic@users.sf.net>
1356 * plugins/elements/gsttypefindelement.c:
1357 (gst_type_find_element_handle_event):
1358 reverted wrong change and reflowed code to avoid others falling into
1361 2006-04-28 Stefan Kost <ensonic@users.sf.net>
1363 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
1364 fix changelog entry about last collectpads change,
1365 add notes about proper fix
1367 2006-04-28 Stefan Kost <ensonic@users.sf.net>
1370 * gst/gstregistry.c: (gst_registry_scan_path_level),
1371 (gst_registry_scan_path):
1372 * gst/gstregistry.h:
1373 only write out registry if it has changed, fixes #338339
1375 2006-04-28 Stefan Kost <ensonic@users.sf.net>
1378 * gst/gstpipeline.c:
1379 * plugins/elements/gstcapsfilter.c:
1380 * plugins/elements/gstfakesink.c:
1381 * plugins/elements/gstfakesrc.c:
1382 * plugins/elements/gstfdsink.c:
1383 * plugins/elements/gstfdsrc.c:
1384 * plugins/elements/gstfilesink.c:
1385 * plugins/elements/gstfilesrc.c:
1386 * plugins/elements/gstidentity.c:
1387 * plugins/elements/gstqueue.c:
1388 * plugins/elements/gsttee.c:
1389 * plugins/elements/gsttypefindelement.c:
1390 (gst_type_find_element_handle_event):
1391 make GstElementDetails const
1393 2006-04-28 Stefan Kost <ensonic@users.sf.net>
1395 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
1396 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
1397 (gst_collect_pads_is_collected), (gst_collect_pads_event):
1398 more detailed debug and formatting cleanup,
1399 forward newsegments to src-pad (so that e.g. adder not eats them)
1401 2006-04-28 Stefan Kost <ensonic@users.sf.net>
1403 * gst/gstutils.c: (gst_element_link_pads):
1406 2006-04-28 Stefan Kost <ensonic@users.sf.net>
1408 * libs/gst/controller/gstcontroller.c:
1409 (gst_controller_sync_values):
1411 * tests/check/libs/controller.c: (GST_START_TEST),
1412 (gst_controller_suite):
1413 a new test for live value handling
1415 2006-04-28 Wim Taymans <wim@fluendo.com>
1417 * gst/gstutils.c: (push_and_ref):
1418 Added some more docs.
1419 Fix refcount issue whith gst_element_found_tags() helper
1420 function. Fixes #338335
1422 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1423 Added testsuite for gst_element_found_tags().
1425 2006-04-28 Michael Smith <msmith@fluendo.com>
1427 * gst/gstvalue.c: (gst_value_serialize_flags):
1428 Avoid NULL dereference when trying to serialize flags containing
1431 2006-04-28 Michael Smith <msmith@fluendo.com>
1433 * plugins/elements/gsttypefindelement.c:
1434 (gst_type_find_element_handle_event):
1435 If we get EOS before any data is accumulated, don't use
1436 uninitialised local variables.
1438 2006-04-28 Michael Smith <msmith@fluendo.com>
1440 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
1441 (gst_dp_event_from_packet):
1442 Fixes in reading/writing events over GDP (not currently used?) -
1443 dereferencing NULL events for unknown/invalid event types, memory
1444 leak, and change g_warning to GST_WARNING.
1446 2006-04-28 Wim Taymans <wim@fluendo.com>
1448 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
1449 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
1450 (gst_base_sink_get_position), (gst_base_sink_change_state):
1451 When frame dropping is enabled, we should not ignore frames
1453 Update some documentation.
1455 2006-04-28 Wim Taymans <wim@fluendo.com>
1457 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
1458 (gst_base_src_send_event), (gst_base_src_change_state):
1459 Documentation updates.
1461 2006-04-28 Wim Taymans <wim@fluendo.com>
1463 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
1464 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
1465 handle EAGAIN, EINTR and short writes correctly. Also clean
1466 up some error cases, avoid a deadlock on bad file descriptors and
1467 use GST_DEBUG_OBJECT.
1470 2006-04-28 Wim Taymans <wim@fluendo.com>
1472 * gst/gstvalue.c: (gst_value_serialize_buffer),
1473 (gst_value_deserialize_buffer):
1474 Don't try to serialize a GValue with a NULL buffer.
1477 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1478 Added check for serialisation of NULL buffers.
1480 2006-04-28 Wim Taymans <wim@fluendo.com>
1482 * gst/gstminiobject.c: (gst_value_take_mini_object):
1483 Taking a NULL miniobject is valid, fix the case where
1484 we try to unref the NULL miniobject.
1486 2006-04-28 Wim Taymans <wim@fluendo.com>
1488 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
1490 * gst/gstbin.c: (gst_bin_handle_message_func):
1492 Don't leak bin refcount when a state recalc is
1493 in progress and we delay another one #339808.
1495 2006-04-28 Wim Taymans <wim@fluendo.com>
1497 * docs/design/part-TODO.txt:
1498 Mention QoS as an ongoing work item.
1500 * docs/design/part-buffering.txt:
1501 New doc about buffering that needs to be fleshed out
1504 * docs/design/part-qos.txt:
1505 More QoS policy for decoders/demuxers/transforms
1507 * docs/design/part-trickmodes.txt:
1510 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
1515 === release 0.10.5 ===
1517 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
1520 releasing 0.10.5, "Fogo"
1522 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
1524 patch by: Wim Taymans
1526 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
1527 (gst_pad_configure_src), (gst_pad_push):
1528 * gst/gstpipeline.c: (gst_pipeline_init):
1529 Fix internal data flow errors. Fixes #338711.
1531 2006-04-12 Wim Taymans <wim@fluendo.com>
1533 * tests/check/gst/gstelement.c: (GST_START_TEST):
1534 Don't leak the factory.
1536 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
1539 * win32/common/config.h:
1542 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
1544 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
1545 (gst_controller_unset_all):
1546 Free allocated GstTimedValues when freeing list nodes.
1547 Should fix leaks 'make check-valgrind' complains about.
1549 * win32/common/libgstcontroller.def:
1550 Add gst_controller_unset_all.
1552 2006-04-11 Stefan Kost <ensonic@users.sf.net>
1554 * docs/libs/gstreamer-libs-sections.txt:
1555 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
1556 (gst_controller_unset_all):
1557 * libs/gst/controller/gstcontroller.h:
1558 API: Added new method gst_controller_unset_all()
1559 fixed gst_controller_unset()
1560 * tests/check/libs/controller.c: (GST_START_TEST),
1561 (gst_controller_suite):
1562 Added two testcases for new and fixed method
1564 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
1566 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
1567 MSG_DONTWAIT is not defined on Cygwin, so work
1568 around that (fixes #317048).
1570 2006-04-11 Wim Taymans <wim@fluendo.com>
1572 * gst/gstelementfactory.c: (gst_element_register),
1573 (gst_element_factory_create), (gst_element_factory_make):
1576 Updated docs (Fixes #131079)
1578 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
1581 * tests/check/gst/gstelement.c: (GST_START_TEST),
1582 (gst_element_suite):
1583 Added testcase for elementfactory class field.
1585 2006-04-10 Wim Taymans <wim@fluendo.com>
1588 Added some more docs.
1590 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
1591 (gst_base_sink_reset_qos):
1592 Calculate more accurate rate values.
1594 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
1596 * gst/gst_private.h:
1597 add a new #ifdef to use __declspec(dllimport) only for
1598 other modules and not for gstreamer core
1599 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
1600 use gst_guint64_to_gdouble for conversion
1601 * win32/common/libgstreamer.def:
1602 add new exported functions
1603 * win32/vs6/gst_inspect.dsp:
1604 * win32/vs6/gst_launch.dsp:
1605 * win32/vs6/libgstbase.dsp:
1606 * win32/vs6/libgstcontroller.dsp:
1607 * win32/vs6/libgstcoreelements.dsp:
1608 * win32/vs6/libgstdataprotocol.dsp:
1609 * win32/vs6/libgstnet.dsp:
1610 update project files
1612 2006-04-08 Stefan Kost <ensonic@users.sf.net>
1614 * gst/gstbuffer.c: (gst_subbuffer_class_init):
1615 * gst/gstclock.c: (gst_clock_class_init):
1616 * gst/gstelement.c: (gst_element_class_init):
1617 * gst/gstindex.c: (gst_index_class_init):
1618 * gst/gstindexfactory.c: (gst_index_factory_class_init):
1619 * gst/gstobject.c: (gst_object_class_init),
1620 (gst_signal_object_class_init):
1621 * gst/gstpad.c: (gst_pad_class_init):
1622 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
1623 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
1624 * gst/gstregistry.c: (gst_registry_class_init):
1625 * gst/gstsystemclock.c: (gst_system_clock_class_init):
1626 * gst/gsttask.c: (gst_task_class_init):
1627 * gst/gstxml.c: (gst_xml_class_init):
1628 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
1629 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1630 (gst_base_src_loop):
1631 * libs/gst/controller/gstcontroller.c:/
1632 (_gst_controller_class_init):
1633 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
1634 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
1635 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
1636 * tests/old/examples/plugins/example.c: (gst_example_class_init):
1637 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
1638 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
1640 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
1642 * gst/gstpad.c: (gst_pad_link):
1643 Must set peer pads before calling the link function, otherwise
1644 a task started from a link function might get a flow-not-linked
1645 result when trying to push because the other thread where the
1646 linking happens hasn't had a chance to set the peers yet. This
1647 might happen for example when a queue gets linked to a downstream
1648 element, as queue starts a streaming task when its source pad
1649 gets linked. Happens in real life when playing back flac/musepack
1650 files in playbin (#332390).
1652 2006-04-08 Stefan Kost <ensonic@users.sf.net>
1656 * libs/gst/base/gstadapter.h:
1657 * libs/gst/base/gstbasesink.h:
1658 * libs/gst/base/gstbasesrc.h:
1659 * libs/gst/base/gstbasetransform.h:
1660 * libs/gst/base/gstcollectpads.h:
1661 * libs/gst/base/gstpushsrc.h:
1662 Fix broken GObject macros
1664 2006-04-07 Wim Taymans <wim@fluendo.com>
1666 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
1667 Initialize start and stop times, thanks valgrind.
1669 2006-04-07 Wim Taymans <wim@fluendo.com>
1671 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
1672 Be a bit nicer to badly behaving upstream elements that expect
1673 us to deal with non TIME segments and timestamps (such as fakesrc
1676 2006-04-07 Wim Taymans <wim@fluendo.com>
1679 Small documentation clarification about the signal watch.
1681 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
1682 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
1683 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
1684 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
1685 (gst_base_sink_get_position_last),
1686 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
1687 Convert and store timestamps in stream time and running time, the
1688 raw timestamps are not usefull, also document this better.
1689 Use different window sizes for good and bad QoS observations so
1690 we react to badness a little quicker.
1691 Keep track of the amount of rendered and dropped buffers.
1692 Send QoS timestamps in running time.
1694 * libs/gst/base/gstbasetransform.c:
1695 (gst_base_transform_sink_eventfunc),
1696 (gst_base_transform_handle_buffer):
1697 Compare QoS timestamps against running time.
1699 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
1704 2006-04-06 Michael Smith <msmith@fluendo.com>
1706 * gst/gstpad.c: (gst_pad_set_property):
1707 Use g_value_get_object() instead of g_value_dup_gst_object(),
1708 to avoid double-reffing the pad template (which we then sink,
1709 so this worked previously if (and only if) the pad template
1712 * gst/gstpadtemplate.c: (gst_pad_template_init),
1713 (gst_pad_template_pad_created):
1714 Never return floating references to pad templates, create
1715 them as initially-sunken.
1717 Document an extra function (and make this stop sinking our
1718 pad template, since that is now guaranteed to do nothing,
1719 since we created it sunken).
1721 * gst/gstghostpad.c:
1724 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
1726 * gst/gstinfo.c: (__gst_in_valgrind):
1729 * plugins/elements/gsttypefindelement.c:
1730 (gst_type_find_element_chain):
1731 Don't leak buffer caps.
1733 2006-04-06 Michael Smith <msmith@fluendo.com>
1735 * gst/parse/grammar.y:
1736 Fix a leak in parse-launch for any source-or-sink named element
1739 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
1740 Unref the pipeline if it exists after we've failed parsing.
1742 2006-04-05 Michael Smith <msmith@fluendo.com>
1744 * gst/gstpipeline.c: (gst_pipeline_init):
1745 When we create a pipeline bus, initially create it in flushing mode.
1746 Fixes leaks in at least one test, and makes a new pipeline work the
1747 same as one that has gone to READY and then back to NULL.
1752 2006-04-05 Michael Smith <msmith@fluendo.com>
1754 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1755 Unref a pad we reffed.
1756 * tests/check/gst/gstutils.c: (GST_START_TEST):
1759 2006-04-05 Michael Smith <msmith@fluendo.com>
1761 * gst/gstquery.c: (gst_query_set_formats),
1762 (gst_query_set_formatsv):
1763 Fix leaking GValues in queries, as shown by valgrind/testsuite.
1765 2006-04-05 Michael Smith <msmith@fluendo.com>
1767 * tests/check/generic/sinks.c: (GST_START_TEST):
1768 Fix a variety of memleaks in sinks check, which are only sometimes
1769 shown by running the tests under valgrind (weird?).
1771 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
1773 * docs/version.entities.in:
1774 Fix the substituted entity name after thomas' changes on the
1777 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
1779 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
1782 2006-04-05 Andy Wingo <wingo@pobox.com>
1784 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
1786 * libs/gst/base/gstbasetransform.c
1787 (gst_base_transform_sink_eventfunc): When resetting our segment on
1788 FLUSH_STOP, also update the flag saying we haven't seen a
1791 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
1793 Patch by: Paolo Borelli <pborelli at katamail dot com>
1795 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
1796 (gst_plugin_check_license):
1797 minor clean-ups: G_DEFINE_TYPE already takes care of the
1798 parent_class stuff, no need to do it twice. Mark array of
1799 license strings as constant. (#337103)
1801 2006-04-04 Michael Smith <msmith@fluendo.com>
1803 * tools/gst-inspect.c: (print_element_list):
1804 Free the right plugin list; fixes a memory leak.
1806 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
1808 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
1810 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
1811 Don't error out on empty buffers (#336945).
1813 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
1815 * docs/libs/gstreamer-libs-sections.txt:
1817 * libs/gst/base/gstbasesink.c:
1818 * libs/gst/base/gstbasesink.h:
1819 * libs/gst/base/gstbasesrc.c:
1820 * libs/gst/base/gstbasesrc.h:
1821 Documentation updates. Make BaseSink and BaseSrc docs contain the
1822 class structure so that people can actually see the prototypes for
1823 virtual functions they're supposed to be overriding.
1825 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
1827 * plugins/elements/gsttypefindelement.c:
1828 (gst_type_find_element_chain):
1829 More debug info; when skipping typefinding, send cached
1830 events in all cases.
1832 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
1835 use new AS_VERSION and AS_NANO macros
1836 * gst/gst-i18n-lib.h:
1839 * gst/gstversion.h.in:
1840 * win32/common/config.h:
1841 * win32/common/config.h.in:
1844 2006-03-31 Michael Smith <msmith@fluendo.com>
1846 * plugins/elements/gsttypefindelement.c:
1847 (gst_type_find_element_chain):
1848 Do not typefind content if the buffers already have caps.
1849 Neccesary for icydemux (#333657), and the right thing to do anyway.
1851 2006-03-30 Wim Taymans <wim@fluendo.com>
1853 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1854 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
1855 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
1856 (gst_base_sink_record_qos_observation),
1857 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
1858 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
1859 (gst_base_sink_change_state):
1860 More QoS measurements as described in the design doc.
1861 Get rid of ringbuffer with observations, running average is
1862 more simple and equally good.
1863 Calculates valid proportion now.
1864 Added beginning of flood measurement.
1866 2006-03-29 Wim Taymans <wim@fluendo.com>
1868 * docs/design/part-qos.txt:
1870 Small documentation updates and additions.
1872 2006-03-29 Wim Taymans <wim@fluendo.com>
1874 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
1875 (gst_base_src_send_event), (gst_base_src_loop),
1876 (gst_base_src_change_state):
1877 Perform the EOS logic when we reach the segment stop position.
1878 Fix compilation on gcc4.1
1880 2006-03-29 Wim Taymans <wim@fluendo.com>
1882 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
1884 * plugins/elements/gstqueue.c: (gst_queue_init),
1885 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
1886 (gst_queue_set_property):
1887 * plugins/elements/gstqueue.h:
1888 In queue, when EOS is received, if minimum threshold > max_size -
1889 current_level, there is chance that queue blocks forever in conditional
1890 item del wait. This is because the queue is not emptied completely due
1891 to minimum threshold. Here is another approach. Instead of setting
1892 cur_levels to max in EOS, just zero all minimum threshold levels. This
1893 should make sure that queue gives out all data. When going to READY
1894 (stop) state, just reset the original minimum threshold levels.
1897 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
1899 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
1900 (gst_type_find_element_handle_event),
1901 (gst_type_find_element_send_cached_events),
1902 (gst_type_find_element_change_state):
1903 * plugins/elements/gsttypefindelement.h:
1904 When typefinding is done in push mode, we should cache
1905 events we receive during typefinding instead of just
1906 dropping them (e.g. newsegment, custom events from
1907 dvdreadsrc etc.) and then send them out once we've
1908 determined the type of the stream (and decodebin
1909 has had a chance to plug in a decoder/demuxer).
1911 2006-03-27 Wim Taymans <wim@fluendo.com>
1913 * docs/design/part-qos.txt:
1916 2006-03-27 Wim Taymans <wim@fluendo.com>
1918 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
1920 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
1921 (gst_base_src_send_event), (gst_base_src_change_state):
1922 Handle element seek correctly when we are streaming.
1925 2006-03-24 Michael Smith <msmith@fluendo.com>
1927 * docs/faq/gst-uninstalled:
1928 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
1929 allow you to correctly run intalled applications built against old
1930 core, using plugins that require updated core (e.g. running
1931 installed totem against a full uninstalled gstreamer stack)
1933 2006-03-24 Stefan Kost <ensonic@users.sf.net>
1935 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
1938 2006-03-24 Wim Taymans <wim@fluendo.com>
1940 * docs/gst/gstreamer-sections.txt:
1941 Rearrange the order of the methods so that related methods
1942 are grouped together in sections.
1944 2006-03-24 Stefan Kost <ensonic@users.sf.net>
1947 Little clarification in the docs
1949 2006-03-24 Stefan Kost <ensonic@users.sf.net>
1953 * plugins/elements/gstidentity.c:
1954 * plugins/elements/gstqueue.c:
1955 * plugins/elements/gsttee.c:
1956 * plugins/elements/gsttypefindelement.c:
1957 GST_ELEMENT_DETAILS formatting
1959 2006-03-24 Wim Taymans <wim@fluendo.com>
1961 * libs/gst/base/gstbasesink.h:
1962 Only add fields, not insert or we break ABI.
1964 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
1966 * win32/common/libgstbase.def:
1967 * win32/common/libgstreamer.def:
1968 Update, add recently added functions.
1970 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
1972 * docs/gst/gstreamer-sections.txt:
1973 * gst/gstutils.c: (gst_pad_query_peer_position),
1974 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
1976 API: add some new utility functions:
1977 - gst_pad_query_peer_position()
1978 - gst_pad_query_peer_duration()
1979 - gst_pad_query_peer_convert()
1981 2006-03-23 Wim Taymans <wim@fluendo.com>
1983 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1984 (gst_base_sink_init), (gst_base_sink_finalize),
1985 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
1986 (gst_base_sink_set_property), (gst_base_sink_get_property),
1987 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
1988 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
1989 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
1990 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
1991 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
1992 (gst_base_sink_preroll_object), (gst_base_sink_event),
1993 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
1994 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
1995 (gst_base_sink_query), (gst_base_sink_change_state):
1996 Decouple max-lateness and the fact that QoS messages are generated
1997 with a new property (qos).
1998 added API: GstBaseSink::async_play()
1999 Add vmethod so subclasses can be notified of ASYNC playing
2001 Collect timestamp start and stop to report better current
2002 position in EOS/PLAYING/PAUSED/READY/NULL.
2003 Refactor QoS/frame dropping and other measurements.
2004 API: GstBaseSrc::qos
2007 * libs/gst/base/gstbasesink.h:
2008 Added Private struct.
2009 API: gst_base_sink_set_qos_enabled()
2010 API: gst_base_sink_is_qos_enabled()
2012 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
2014 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
2015 If compiling against GLib-2.8 or newer, try to read the
2016 registry file using GMappedFile first before falling back
2017 to fopen() + fread() (#332151).
2019 2006-03-22 Wim Taymans <wim@fluendo.com>
2021 * gst/gstinfo.c: (gst_debug_set_active),
2022 (gst_debug_category_set_threshold):
2023 Disable debugging unless explicitly activated.
2026 2006-03-22 Wim Taymans <wim@fluendo.com>
2028 * gst/gstelement.c: (gst_element_set_locked_state),
2029 (gst_element_dispose):
2030 Cleanup the error case.
2032 * gst/gstobject.c: (gst_object_dispose):
2033 print a critical when some object was disposed with
2034 a parent, also revive the object since it might
2037 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
2039 * tools/gst-launch.1.in:
2042 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
2045 * tests/check/Makefile.am:
2046 disable some tests when we don't have a registry
2047 * tests/check/gst/gstutils.c: (gst_utils_suite):
2048 don't build the part that needs parsing
2050 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
2053 * tests/examples/Makefile.am:
2054 fix --disable-parse build
2056 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
2058 * tools/gst-feedback.1.in:
2059 Fix typo: s/feeback/feedback/ (#133494).
2061 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
2063 * tools/Makefile.am:
2064 * tools/gst-launch.1.in:
2065 Add FILES section and correct entry about GST_REGISTRY_PATH
2066 environment variable (#133495; #133494).
2068 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
2070 * tools/Makefile.am:
2071 * tools/gst-md5sum.1.in:
2072 * tools/gst-md5sum.c:
2073 Remove gst-md5sum and man page (the md5sink element
2074 required was removed ages ago)
2076 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
2078 * gst/gststructure.c: (gst_structure_id_set_value):
2079 Make sure that string fields in structures/taglists
2080 contain valid UTF-8 - we don't want to pass rubbish to
2081 applications because of a buggy plugin (cp. #334167).
2083 2006-03-21 Edward Hervey <edward@fluendo.com>
2085 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
2086 (gst_bin_handle_message_func):
2087 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
2088 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
2089 (gst_element_set_bus_func):
2090 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
2091 * gst/gstminiobject.c: (gst_value_set_mini_object),
2092 (gst_value_take_mini_object):
2093 * gst/gstpad.c: (gst_pad_set_pad_template):
2094 * gst/gstpipeline.c: (gst_pipeline_dispose),
2095 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
2096 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
2097 (gst_collect_pads_chain):
2098 * libs/gst/net/gstnettimeprovider.c:
2099 (gst_net_time_provider_set_property):
2100 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
2101 It's in fact all issues with gst_*object_replace().
2103 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
2105 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
2107 * pkgconfig/gstreamer-check-uninstalled.pc.in:
2108 * pkgconfig/gstreamer-check.pc.in:
2109 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
2111 2006-03-21 Edward Hervey <edward@fluendo.com>
2116 gst_[buffer|event|message]_ref() macros are replaced by a static
2117 inline functions because gcc-4.1 will about if the return value
2119 * tests/check/gst/gstevent.c: (event_probe):
2120 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
2122 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
2125 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
2126 the type' case. (Closes: #335195 for now). In the future, when we
2127 depend on GLib 2.10, we could also intern the type name using
2128 g_intern_static_string()
2130 2006-03-20 Wim Taymans <wim@fluendo.com>
2132 * gst/gstbin.c: (gst_bin_handle_message_func),
2133 (bin_query_max_init), (bin_query_position_fold),
2134 (bin_query_position_done), (gst_bin_query):
2135 Position query should also take max of all streams.
2137 2006-03-20 Wim Taymans <wim@fluendo.com>
2139 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
2140 (gst_fake_src_finalize):
2141 Fix leaks in fakesrc.
2143 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
2144 Fix leaks in the testcase.
2146 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
2148 * gst/gst_private.h:
2149 add win32 specific import decoration(__declspec(dllimport))
2150 for all extern GstDebugCategory * variables
2151 * win32/common/libgstbase.def:
2152 * win32/common/libgstcontroller.def:
2153 * win32/common/libgstreamer.def:
2154 Add some exports, remove empty lines
2155 * win32/common/libgstdataprotocol.def:
2156 * win32/common/libgstdataprotocol.dsp:
2157 * win32/common/libgstnet.def:
2158 * win32/common/libgstnet.dsp:
2159 new project files and exportation files added
2161 2006-03-19 Wim Taymans <wim@fluendo.com>
2163 * tests/check/libs/basesrc.c: (eos_event_counter):
2164 Use proper return value for probe.
2166 2006-03-17 Wim Taymans <wim@fluendo.com>
2168 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
2170 Don't leak buffers, caps and pads on negotiation errors.
2172 2006-03-16 Stefan Kost <ensonic@users.sf.net>
2175 * docs/faq/dependencies.xml:
2176 * docs/faq/developing.xml:
2178 * docs/faq/general.xml:
2179 * docs/faq/getting.xml:
2180 * docs/faq/legal.xml:
2181 * docs/faq/troubleshooting.xml:
2182 * docs/faq/using.xml:
2183 Faq review and update.
2185 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
2187 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
2189 Don't pound the cpu to pieces by checking get_caps when accept_caps
2190 is called with the same caps as the pad already has.
2191 Use GST_DEBUG_OBJECT when outputting caps change information.
2193 2006-03-15 Wim Taymans <wim@fluendo.com>
2195 * gst/gstclock.c: (gst_clock_class_init):
2198 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
2203 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
2204 (gst_pad_accept_caps), (gst_pad_configure_sink),
2205 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
2206 Make the default acceptcaps behaviour be to check the requested
2207 caps against the gst_pad_get_caps output.
2209 Ensure that gst_pad_accept_caps is used to check caps when a pad
2210 doesn't have a setcaps function, so that pads automatically refuse
2211 caps that they don't allow in their pad template. (Fixes #332986)
2213 When a buffer with attached caps is pushed, ensure that the source
2214 pad receives those caps even if the element didn't call
2215 gst_pad_set_caps first.
2217 2006-03-15 Wim Taymans <wim@fluendo.com>
2219 * libs/gst/base/gstadapter.c:
2222 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
2224 * win32/common/libgstbase.def:
2225 * win32/common/libgstcontroller.def:
2226 * win32/common/libgstreamer.def:
2227 Add a whole bunch of missing functions (#334434).
2229 2006-03-14 Wim Taymans <wim@fluendo.com>
2231 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
2232 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
2233 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
2234 Better debug info when we receive a segment event.
2235 Reorganize a bit so we can pass the get_times() results around.
2236 Use the segment format when calculating the running time.
2237 Don't do QoS is sync is disabled or we have no clock or the
2238 element does not want us to sync to the clock.
2239 Don't drop buffers if QoS is disabled for now.
2241 2006-03-14 Wim Taymans <wim@fluendo.com>
2243 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
2244 Marked the stats property as unimplemented so people don't get
2246 Add debug message when regression goes wrong.
2247 Added some more docs.
2249 2006-03-14 Wim Taymans <wim@fluendo.com>
2251 * gst/gstsegment.c: (gst_segment_to_stream_time):
2252 Return correct return type in case of errors.
2254 2006-03-14 Wim Taymans <wim@fluendo.com>
2256 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
2257 Don't segfault on invalid formats.
2259 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
2261 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2262 Can't use gst_segment_to_running_time() when the segment
2263 is not in GST_TIME_FORMAT (like with filesink, for example).
2264 Stops flac encoding pipelines from spewing critical warnings
2267 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
2269 * gst/gstpipeline.c: (gst_pipeline_class_init):
2270 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
2272 * plugins/elements/gsttypefindelement.c:
2273 (gst_type_find_element_handle_event):
2274 Don't try to typefind empty streams.
2276 2006-03-14 Wim Taymans <wim@fluendo.com>
2278 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
2279 (gst_base_sink_do_qos):
2280 Separate QoS calculation.
2281 Only drop buffers when lateness is bigger than the
2282 duration of the buffer.
2284 2006-03-13 Wim Taymans <wim@fluendo.com>
2286 * gst/gstpipeline.c: (gst_pipeline_set_property),
2287 (gst_pipeline_get_property), (do_pipeline_seek),
2288 (gst_pipeline_change_state), (gst_pipeline_set_delay),
2289 (gst_pipeline_get_delay):
2290 Don't deadlock when reading properties.
2292 2006-03-13 Wim Taymans <wim@fluendo.com>
2294 * libs/gst/base/gstbasetransform.c:
2295 (gst_base_transform_class_init), (gst_base_transform_init),
2296 (gst_base_transform_sink_event),
2297 (gst_base_transform_sink_eventfunc),
2298 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
2299 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
2300 (gst_base_transform_set_property),
2301 (gst_base_transform_get_property),
2302 (gst_base_transform_change_state), (gst_base_transform_update_qos),
2303 (gst_base_transform_set_qos_enabled),
2304 (gst_base_transform_is_qos_enabled):
2305 * libs/gst/base/gstbasetransform.h:
2306 Make basetransform virtual method for src events too.
2307 Handle QOS in basetransform.
2308 API: gst_base_transform_update_qos()
2309 API: gst_base_transform_set_qos_enabled()
2310 API: gst_base_transform_is_qos_enabled()
2312 2006-03-13 Wim Taymans <wim@fluendo.com>
2314 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2315 (gst_base_sink_do_sync):
2317 Use QOS debug category.
2319 2006-03-13 Wim Taymans <wim@fluendo.com>
2321 * plugins/elements/gstqueue.c:
2322 Very small doc update.
2324 2006-03-13 Wim Taymans <wim@fluendo.com>
2326 * gst/gst_private.h:
2327 * gst/gstinfo.c: (_gst_debug_init):
2328 Added QOS debug category
2330 2006-03-13 Wim Taymans <wim@fluendo.com>
2332 * docs/gst/gstreamer-sections.txt:
2333 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
2335 * gst/gstbus.c: (gst_bus_class_init):
2338 * gst/gstelement.c: (gst_element_set_locked_state):
2340 Documentation updates.
2342 * gst/gstpipeline.c: (gst_pipeline_get_type),
2343 (gst_pipeline_class_init), (gst_pipeline_init),
2344 (gst_pipeline_dispose), (gst_pipeline_set_property),
2345 (gst_pipeline_get_property), (do_pipeline_seek),
2346 (gst_pipeline_send_event), (gst_pipeline_change_state),
2347 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
2348 (gst_pipeline_get_delay):
2349 * gst/gstpipeline.h:
2350 Added methods for setting the delay.
2351 API: gst_pipeline_set_delay()
2352 API: gst_pipeline_get_delay()
2353 Add pipeline debug category
2356 Don't reset stream time when seek failed.
2358 2006-03-13 Wim Taymans <wim@fluendo.com>
2360 * docs/design/draft-klass.txt:
2361 * docs/design/part-clocks.txt:
2362 * docs/design/part-events.txt:
2363 * docs/design/part-gstbin.txt:
2364 * docs/design/part-gstpipeline.txt:
2365 * docs/design/part-messages.txt:
2366 * docs/design/part-negotiation.txt:
2367 * docs/design/part-overview.txt:
2368 * docs/design/part-preroll.txt:
2369 * docs/design/part-seeking.txt:
2370 * docs/design/part-states.txt:
2371 * docs/design/part-streams.txt:
2372 Documentation updates.
2374 2006-03-12 Julien MOUTTE <julien@moutte.net>
2376 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
2377 us to leak strings...
2379 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
2381 * libs/gst/net/gstnettimeprovider.c:
2383 * win32/common/config.h:
2386 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
2388 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
2391 Don't check for libgnomeui (leftover from old examples
2392 that aren't built or disted any longer) (#334303).
2394 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
2396 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
2397 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
2398 Emit RESOURCE_NO_SPACE_LEFT error here as well when
2399 there's no space left on the device.
2401 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
2404 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
2405 to cast the input to GstClockTime before comparing with
2406 another GstClockTime value.
2408 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
2413 === release 0.10.4 ===
2415 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
2418 releasing 0.10.4, "Light"
2420 2006-03-10 Michael Smith <msmith@fluendo.com>
2422 * libs/gst/dataprotocol/dataprotocol.c:
2423 Fix docs for dataprocotol to not get the return types completely
2424 wrong for a few functions.
2426 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
2428 * docs/gst/gstreamer-sections.txt:
2429 * gst/gstpipeline.c: (gst_pipeline_class_init),
2430 (gst_pipeline_init), (gst_pipeline_set_property),
2431 (gst_pipeline_get_property), (gst_pipeline_change_state),
2432 (gst_pipeline_set_auto_flush_bus),
2433 (gst_pipeline_get_auto_flush_bus):
2434 * gst/gstpipeline.h:
2435 Add new API: gst_pipeline_set_auto_flush_bus() and
2436 gst_pipeline_get_auto_flush_bus() to disable automatic
2437 flushing of the pipeline's GstBus when going from READY
2438 to NULL state (#332045).
2440 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
2442 * docs/gst/gstreamer-sections.txt:
2443 * gst/gsturi.c: (gst_uri_has_protocol):
2445 Add new API: gst_uri_has_protocol() (#333779).
2447 2006-03-09 Wim Taymans <wim@fluendo.com>
2449 * gst/gstclock.c: (gst_clock_entry_new),
2450 (gst_clock_id_compare_func), (gst_clock_id_wait),
2451 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
2452 (gst_clock_init), (gst_clock_get_internal_time),
2453 (gst_clock_set_master), (do_linear_regression),
2454 (gst_clock_add_observation), (gst_clock_set_property):
2458 Fix a possible segfault when the window-size is made smaller.
2459 Calculate jitter before performing the clock wait. Ideally
2460 the clock implementation should calculate jitter but we need
2461 API breakage for that.
2463 * gst/gstsystemclock.c: (gst_system_clock_init):
2466 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2467 Remove leftover else
2469 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
2470 (gst_systemclock_suite):
2471 Added check to test GST_CLOCK_DIFF.
2473 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
2475 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
2476 (gst_type_find_helper_get_range):
2477 If we are provided with the size, we should implement
2478 GstTypeFind::get_length, so that typefind functions who
2479 want to can actually peek at the middle of a file.
2481 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
2483 * docs/manual/advanced-dataaccess.xml:
2484 Add some very very basic error checking.
2486 * docs/pwg/appendix-checklist.xml:
2487 Some updates to the list of things to check when writing an element.
2489 2006-03-08 Wim Taymans <wim@fluendo.com>
2491 * docs/design/part-element-transform.txt:
2492 Added some docs about the design of tranform elements.
2494 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
2495 (gst_base_src_loop), (gst_base_src_change_state):
2496 Mark buffers with the DISCONT flag.
2498 2006-03-08 Michael Smith <msmith@fluendo.com>
2500 * gst/gstregistry.h:
2501 * gst/gstregistryxml.c: (gst_registry_save),
2502 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
2503 (gst_registry_xml_save_pad_template),
2504 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
2505 (gst_registry_xml_write_cache):
2506 Rewrite registry-saving to avoid race conditions and check for
2509 2006-03-08 Wim Taymans <wim@fluendo.com>
2511 * libs/gst/base/gstbasetransform.c:
2512 (gst_base_transform_transform_caps),
2513 (gst_base_transform_transform_size),
2514 (gst_base_transform_prepare_output_buffer),
2515 (gst_base_transform_get_unit_size),
2516 (gst_base_transform_buffer_alloc),
2517 (gst_base_transform_handle_buffer),
2518 (gst_base_transform_change_state):
2519 Cleanups, separate normal flow from errors, add sensible
2521 Don't try to renegotiate when allocating an output buffer.
2522 Also copy DISCONT buffer flag when copying a buffer.
2523 Reset the transform after we finish streaming, not during.
2525 2006-03-08 Wim Taymans <wim@fluendo.com>
2527 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2528 Use last buffer timestamp in qos message.
2530 2006-03-07 Wim Taymans <wim@fluendo.com>
2532 Patch by: Christophe Fergeau
2534 * docs/pwg/advanced-tagging.xml:
2535 * docs/pwg/building-pads.xml:
2538 2006-03-07 Wim Taymans <wim@fluendo.com>
2540 * docs/libs/gstreamer-libs-sections.txt:
2541 Added basesink new methods.
2545 Docs updates. Flesh out the QoS docs.
2547 * libs/gst/base/gstadapter.c:
2548 Small doc clarification about ownership and flushing.
2550 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
2551 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
2552 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
2553 (gst_base_sink_get_property), (gst_base_sink_do_sync):
2554 * libs/gst/base/gstbasesink.h:
2556 Added new methods to allow subclass to control max-lateness
2558 Generate very basic QoS events based on last sync observation.
2559 Updated docs, fix typo, added some QoS blurb.
2561 * libs/gst/base/gstbasesrc.c:
2562 Remove obsolete _get_state() calls from docs.
2564 2006-03-07 Wim Taymans <wim@fluendo.com>
2566 * docs/libs/gstreamer-libs-sections.txt:
2567 * libs/gst/base/gstbasetransform.h:
2568 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
2569 Fix docs for GstBaseSrc.
2571 2006-03-07 Wim Taymans <wim@fluendo.com>
2573 * docs/gst/gstreamer-sections.txt:
2576 * libs/gst/base/gstbasetransform.h:
2577 Small documentation fixes.
2579 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
2582 Document thread-unsafety of gst_value_register_foo_func()
2583 when used at the same time as gst_value_foo() (#322628).
2585 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
2587 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
2588 (gst_push_src_check_get_range):
2589 Push sources don't support pull mode by default.
2591 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
2593 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2594 (gst_base_src_init), (gst_base_src_pad_check_get_range),
2595 (gst_base_src_default_check_get_range):
2596 * libs/gst/base/gstbasesrc.h:
2597 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
2598 provide default implementation, and rename
2599 gst_base_src_check_get_range() to
2600 gst_base_src_pad_check_get_range() for clarity.
2602 2006-03-06 Wim Taymans <wim@fluendo.com>
2604 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2605 Make property overridable.
2607 2006-03-06 Wim Taymans <wim@fluendo.com>
2609 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
2610 (gst_base_sink_init), (gst_base_sink_set_property),
2611 (gst_base_sink_get_property), (gst_base_sink_do_sync):
2612 * libs/gst/base/gstbasesink.h:
2613 API addition: Make max-lateness a property.
2615 2006-03-06 Wim Taymans <wim@fluendo.com>
2617 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
2618 (gst_base_sink_do_sync), (gst_base_sink_render_object):
2619 Don't ever draw a frame that is >10ms late.
2621 2006-03-06 Michael Smith <msmith@fluendo.com>
2623 * gst/gstmessage.c: (_gst_message_copy):
2624 When copying a message, set the parent_refcount of the enclosed
2625 structure to point at the copy, not the original message.
2627 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
2629 Patch by: Christophe Fergeau
2632 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
2633 usable in c++ code (#333417)
2635 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
2638 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
2640 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
2642 * libs/gst/base/gstbasetransform.c:
2643 (gst_base_transform_transform_caps):
2644 Make sure caps are writable before passing them to
2647 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
2650 Fix some minor docs errors.
2652 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
2654 Patch by: Ross Burton <ross at burtonini dot com>
2656 * gst/gsterror.c: (_gst_resource_errors_init):
2658 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
2660 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
2663 Add a check and output a g_warning when GStreamer is built
2664 against GLib 2.6 but running against 2.8 or higher, and vice
2665 versa. (Closes: #323542)
2667 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
2669 * gst/parse/parse.l:
2670 Commit patch for parse_launch syntax from #331255. Removes
2671 support for quoted strings and mimetypes when writing filtered
2672 caps. See the bug report for more details - I'm pretty sure this
2673 obscure feature is not in use by _anyone_ anywhere.
2675 With this simple change, the size of the gstreamer.so here
2676 drops from 2193KB to 1565KB.
2678 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
2680 * plugins/elements/gsttypefindelement.h:
2681 * plugins/elements/gsttypefindelement.c:
2682 (gst_type_find_element_src_event), (start_typefinding),
2683 (stop_typefinding), (gst_type_find_element_handle_event),
2684 (gst_type_find_element_chain),
2685 (gst_type_find_element_chain_do_typefinding):
2686 Use gst_type_find_helper_for_buffer() for chain-based
2689 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
2691 * plugins/elements/gsttypefindelement.c:
2692 (gst_type_find_element_class_init),
2693 (gst_type_find_element_set_property),
2694 (gst_type_find_element_get_property):
2695 Deprecate "maximum" property (not only was it only taken into
2696 account for typefinding in push-mode anyway, it also was never
2697 actually possible to set it in the first place because the
2698 property was registered with the numeric property ID for the
2699 "minimum" property). Register "maximum" property correctly,
2700 for the sake of future copy'n'pasters. Remove some cruft
2701 from property get/set functions.
2703 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
2705 * plugins/elements/gsttypefindelement.c:
2706 (gst_type_find_element_activate):
2707 Use gst_type_find_helper_get_range() here, so we
2708 can honour the "minimum" property and also emit
2709 the signal with the correct probability of the found caps.
2711 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
2713 * docs/libs/gstreamer-libs-sections.txt:
2714 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
2715 (helper_find_suggest), (gst_type_find_helper_get_range),
2716 (gst_type_find_helper):
2717 * libs/gst/base/gsttypefindhelper.h:
2718 New API: gst_type_find_helper_get_range() (#333042).
2720 2006-03-02 Michael Smith <msmith@fluendo.com>
2722 * gst/gstregistryxml.c: (load_feature):
2723 Asserting on a failure to read part of the registry is Not Cool.
2724 Just log a warning and return NULL (which is already handled)
2726 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
2728 * win32/common/libgstbase.def:
2729 added export of gst_type_find_helper_for_buffer
2730 * win32/common/libgstbase.def:
2731 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
2732 gst_ghost_pad_get_target
2734 2006-02-28 Wim Taymans <wim@fluendo.com>
2736 * docs/design/draft-klass.txt:
2738 Added Connector to mark elements that are only used to
2739 allow pipeline connections.
2740 Moved Debug to extra feature since most of them are
2741 functionally something else.
2743 2006-02-28 Wim Taymans <wim@fluendo.com>
2745 * docs/design/draft-klass.txt:
2746 Some updates and clarifications.
2748 2006-02-28 Wim Taymans <wim@fluendo.com>
2750 * docs/design/draft-klass.txt:
2751 Proposal for klass field values.
2753 * docs/design/part-streams.txt:
2754 Start of a doc describing stream anatomy.
2756 2006-02-28 Wim Taymans <wim@fluendo.com>
2758 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
2759 Help the compiler a bit with type registration.
2760 Use existing forward cod path instead of duplicating it when
2763 * gst/gstbus.c: (gst_bus_get_type):
2764 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
2765 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
2766 * gst/gstclock.c: (gst_clock_get_type):
2767 * gst/gstelement.c: (gst_element_get_type),
2768 * gst/gstelementfactory.c: (gst_element_factory_get_type):
2769 * gst/gstindexfactory.c: (gst_index_factory_get_type):
2770 * gst/gstminiobject.c: (gst_mini_object_get_type):
2771 * gst/gstpad.c: (gst_pad_get_type):
2772 * gst/gstsegment.c: (gst_segment_get_type):
2773 * gst/gststructure.c: (gst_structure_get_type):
2774 * gst/gstsystemclock.c: (gst_system_clock_get_type):
2775 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
2777 Help compiler with type registration.
2779 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
2782 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
2784 * plugins/elements/gsttypefindelement.c:
2785 (gst_type_find_element_handle_event):
2786 When we get an EOS event and have not found a type yet
2787 (most likely because we had not yet accumulated
2788 TYPE_FIND_MIN_SIZE of data yet), try to determine the
2789 type given the data we have so far. Fixes typefinding
2790 for very short streams again, most notably quicktime
2791 redirections as used on Apple's trailer site (#331701).
2793 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
2795 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
2796 (gst_type_find_helper):
2797 Try typefinding factories with the highest rank first.
2799 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
2801 * docs/libs/gstreamer-libs-docs.sgml:
2802 * docs/libs/gstreamer-libs-sections.txt:
2803 * libs/gst/base/gsttypefindhelper.c:
2804 Add section for typefind helper and add documentation
2805 for the old and the new function.
2807 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
2809 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
2810 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
2811 (gst_type_find_helper_for_buffer):
2812 * libs/gst/base/gsttypefindhelper.h:
2813 New API: gst_type_find_helper_for_buffer() (#332723).
2815 2006-02-27 Michael Smith <msmith@fluendo.com>
2817 Patch by: Loïc Minier
2821 * docs/slides/Makefile.am:
2822 prevent CVS directories getting disted.
2824 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
2826 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
2827 Use the REFCOUNTING category for caps refcounting.
2829 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
2831 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
2832 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
2834 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
2836 * plugins/elements/gsttypefindelement.c:
2837 (gst_type_find_element_activate):
2838 Use gst_pad_check_pull_range() before _activate_pull()
2839 to avoid unnecessary open/close (see #331690).
2841 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
2844 Docs enhancement: make it crystal clear what the
2845 gst_pad_add_*_probe() callbacks should look like.
2847 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
2849 * libs/gst/base/gstbasesrc.c:
2850 Document how applications can stop recording from
2851 live sources (see #330996).
2853 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
2855 * tests/check/Makefile.am:
2856 * tests/check/libs/basesrc.c: (eos_event_counter),
2857 (basesrc_eos_events_pull), (basesrc_eos_events_push),
2858 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
2859 (gst_basesrc_suite), (main):
2860 ... and add some tests for the base source EOS stuff.
2862 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
2864 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
2865 Test case originally showed the problem fixed below,
2866 but was then amended. Add checks back at the place
2867 where they used to be.
2869 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
2871 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2872 (gst_base_src_init), (gst_base_src_loop),
2873 (gst_base_src_activate_push), (gst_base_src_activate_pull),
2874 (gst_base_src_change_state):
2875 * libs/gst/base/gstbasesrc.h:
2876 Don't unconditionally send EOS when going from PAUSED to
2877 READY state, esp. make sure we don't send two EOS events
2878 in some cases (e.g. one when reaching EOS and one when
2879 going from PAUSED to READY). Also, we don't want to send
2880 EOS events when operating in pull mode. However, we do
2881 want to send an EOS event when shutting down a live
2882 source explicitly, for example (fixes #330996).
2884 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
2886 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
2887 Update src->read_position after a seek when not using mmap.
2888 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
2890 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
2896 Make things work with --disable-parse as they do with
2897 --disable-load-save - the symbols involved disappear, but the
2898 header is still installed and GST_DISABLE_PARSE is included via
2901 2006-02-20 Julien MOUTTE <julien@moutte.net>
2903 * libs/gst/base/gstbasetransform.c:
2904 (gst_base_transform_change_state): Fix a stupid bug. I was
2905 sure I compiled that.
2907 2006-02-20 Julien MOUTTE <julien@moutte.net>
2909 * gst/gstpad.c: (gst_pad_set_blocked_async):
2910 * gst/gstutils.c: (gst_pad_add_data_probe),
2911 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
2912 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
2913 (gst_pad_remove_buffer_probe): Make those function act on the
2914 ghostpad target when it's a ghostpad. (Closes #331727)
2916 2006-02-20 Julien MOUTTE <julien@moutte.net>
2918 * libs/gst/base/gstbasetransform.c:
2919 (gst_base_transform_change_state): Make basetransform reusable.
2922 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
2924 * docs/random/release:
2925 Move the current documentation of how to do a release to the top
2928 * gst/gstbin.c: (gst_bin_class_init),
2929 (gst_bin_handle_message_func):
2930 Allow multiple state-recalculation threads. (Closes #328873)
2932 2006-02-19 Julien MOUTTE <julien@moutte.net>
2934 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
2935 * gst/gstpad.c: (gst_pad_set_event_function),
2936 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
2937 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
2938 2 strings. You can't use the STR_NULL macro on that.
2940 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
2942 * gst/gstpad.c: (gst_pad_set_event_function),
2943 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
2944 (gst_pad_set_getcaps_function)
2945 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
2946 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
2947 So now, we can use --gst-debug-level=5 on Windows
2948 * win32/common/libgstcontroller.def:
2949 Added export of gst_controller_init
2950 * win32/vs6/libgstcontroller.dsp:
2951 Fixed Release post build configuration
2953 2006-02-17 Wim Taymans <wim@fluendo.com>
2955 * tests/check/gst/gstquery.c: (GST_START_TEST):
2956 Added another check.
2958 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
2960 * plugins/elements/gsttypefindelement.c: (find_peek):
2961 We can do peeks at non-zero offsets, as long as they
2962 fall within the buffer we have.
2964 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
2966 * tests/check/Makefile.am:
2967 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
2968 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
2969 (parse_suite), (main):
2970 Add testsuite for parse launch syntax
2972 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
2974 * plugins/elements/gsttypefindelement.c:
2975 (gst_type_find_element_chain):
2976 When typefinding is unsuccessful in the chain function, don't
2977 error out immediately. Only error out with NO_CAPS_FOUND if
2978 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
2979 otherwise simply wait for more data so we can try typefinding
2980 again with more data later. Also, don't attempt to typefind
2981 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
2982 this should improve typefinding from network sources where the
2983 size of the first buffer can be somewhat random.
2985 2006-02-14 Wim Taymans <wim@fluendo.com>
2987 * docs/gst/gstreamer-sections.txt:
2988 * gst/gstpadtemplate.c:
2989 * gst/gstpadtemplate.h:
2990 Fix padtemplate docs, fixes #328805.
2992 2006-02-14 Wim Taymans <wim@fluendo.com>
2994 * tools/gst-launch.c: (main):
2995 NO_PREROLL is not an ERROR so don't send confusing messages
2998 2006-02-14 Wim Taymans <wim@fluendo.com>
3000 Patch by: Torsten Schoenfeld
3002 * gst/gstregistry.c: (gst_registry_get_default),
3003 (_gst_registry_cleanup):
3004 Protect default registry with lock and ref/sink it.
3007 2006-02-14 Wim Taymans <wim@fluendo.com>
3010 * gst/gstquery.c: (gst_query_list_add_format),
3011 (gst_query_set_formatsv), (gst_query_parse_formats_length),
3012 (gst_query_parse_formats_nth):
3013 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3016 2006-02-14 Wim Taymans <wim@fluendo.com>
3018 * docs/gst/gstreamer-sections.txt:
3019 Reworked query docs.
3021 * gst/gstquery.c: (gst_query_new_formats),
3022 (gst_query_list_add_format), (gst_query_set_formats),
3023 (gst_query_set_formatsv), (gst_query_parse_formats_length),
3024 (gst_query_parse_formats_nth):
3026 Flesh out formats query, added some new methods.
3027 Fix part of #324398.
3029 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
3030 Added query creation tests.
3032 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
3034 * gst/gstpad.c: (fixate_value):
3035 Add a default fixation for fraction lists.
3037 2006-02-13 Wim Taymans <wim@fluendo.com>
3039 * gst/gsttask.c: (gst_task_init), (gst_task_func),
3040 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
3043 Detect and warn for obvious deadlocks. fixes #320340
3044 Fix error case where lock was not released.
3046 * tests/check/Makefile.am:
3047 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
3048 (task_func), (gst_element_suite), (main):
3051 2006-02-13 Wim Taymans <wim@fluendo.com>
3053 * docs/gst/gstreamer-sections.txt:
3055 Add new functions to docs.
3057 2006-02-13 Wim Taymans <wim@fluendo.com>
3059 * docs/design/part-TODO.txt:
3060 Updated TODO list, basesrc supports seeking to non-bytes
3063 * docs/design/part-element-sink.txt:
3066 * gst/gstbin.c: (bin_replace_message),
3067 (gst_bin_handle_message_func):
3068 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
3069 * gst/gstevent.c: (gst_event_finalize):
3070 * gst/gstpad.c: (gst_pad_event_default_dispatch),
3071 (gst_pad_send_event):
3072 Use shiny new _TYPE_NAME macros.
3074 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
3075 Move debug statement up.
3077 * gst/gstelement.c: (gst_element_set_locked_state):
3080 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
3082 * docs/gst/gstreamer-sections.txt:
3085 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
3086 macros (#330906). Also, document the already existing
3087 GST_QUERY_TYPE macro.
3089 2006-02-13 Wim Taymans <wim@fluendo.com>
3091 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
3092 (event_probe), (GST_START_TEST):
3093 Only events up to the pipeline EOS are counted, there are
3094 some more when going to NULL currently which we don't care
3097 2006-02-13 Wim Taymans <wim@fluendo.com>
3099 * gst/gstpad.c: (gst_pad_send_event):
3100 Correctly check flushing and emit probes. fixes #330125
3102 2006-02-10 Andy Wingo <wingo@pobox.com>
3104 * gst/gstbus.c (gst_bus_class_init): Declare our private data
3106 (gst_bus_init): Cache the location of the private data in the
3108 (gst_bus_enable_sync_message_emission)
3109 (gst_bus_disable_sync_message_emission): Implement new public
3111 (gst_bus_post): Emit the sync-message signal if the user asked for
3114 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
3115 location of the bus-private structure.
3116 (gst_bus_enable_sync_message_emission)
3117 (gst_bus_disable_sync_message_emission): API addition
3119 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
3121 Patch by: Vincent Torri
3123 * docs/pwg/building-boiler.xml:
3124 PWG patch from #326800
3126 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
3130 * docs/design/Makefile.am:
3133 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
3138 === release 0.10.3 ===
3140 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
3143 releasing 0.10.3, "Like a virgin"
3145 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
3148 2nd prerelease of 0.10.3
3149 Bump libtool versioning.
3151 2006-02-07 Andy Wingo <wingo@pobox.com>
3153 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
3154 update last_stop if we're in TIME format and the timestamp is
3157 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
3158 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
3159 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
3160 If we get a new newsegment with a different format, adapt
3163 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
3164 of 0. Not a problem, really.
3166 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
3169 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
3174 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
3177 project files updated to the default vs7 configuration
3178 * win32/common/libgstbase.def:
3179 * win32/common/libgstreamer.def:
3181 removed empty lines,
3182 sorted all exported symbols alphabetically
3183 * win32/common/dirent.c:
3184 * win32/common/dirent.h:
3185 * win32/common/gchar.h:
3186 use windows line end.
3188 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
3190 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
3191 Send EOS event when stopping.
3193 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
3196 Tell folks what to do if the plugin-foobar.xml file
3197 hasn't been generated for a newly-added plugin.
3199 2006-02-05 Julien MOUTTE <julien@moutte.net>
3201 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
3202 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
3203 (gst_collect_pads_start), (gst_collect_pads_stop),
3204 (gst_collect_pads_event): Collectpads now holds a reference
3205 to the GstPad that was added. Indeed we don't want to look
3206 at pads that might just go away with no warning...
3208 2006-02-05 Julien MOUTTE <julien@moutte.net>
3210 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
3211 (gst_collect_pads_start), (gst_collect_pads_stop),
3212 (gst_collect_pads_event), (gst_collect_pads_chain):
3213 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
3214 Mark Nauwelaerts's patch on bug #328491.
3216 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
3218 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
3220 Add some simple tests for gst_parse_bin_from_description() and
3221 gst_bin_find_unconnected_pad() (#329069).
3223 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
3225 * tools/gst-launch.c: (event_loop), (main):
3226 Catch errors during preroll (#320084).
3228 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
3230 * plugins/elements/gsttypefindelement.c:
3231 (gst_type_find_element_activate):
3232 Post TYPE_NOT_FOUND error message when typefinding
3233 is unsuccessful in the activate function as well.
3235 2006-02-02 Wim Taymans <wim@fluendo.com>
3237 * docs/design/part-element-sink.txt:
3240 2006-02-02 Wim Taymans <wim@fluendo.com>
3242 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
3243 (gst_base_sink_render_object),
3244 (gst_base_sink_queue_object_unlocked):
3245 Only keep track of prerollable items when we are
3247 Before rendering after preroll, always check if we
3249 Added some more debugging.
3251 2006-02-02 Wim Taymans <wim@fluendo.com>
3253 * gst/gstelement.c: (gst_element_continue_state),
3254 (gst_element_set_state_func), (gst_element_change_state):
3255 Fixed #326576, been running this for quite some time with
3256 no regressions at all.
3258 2006-02-02 Wim Taymans <wim@fluendo.com>
3261 Added more suppressions
3263 2006-02-02 Wim Taymans <wim@fluendo.com>
3265 * docs/design/part-element-sink.txt:
3268 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3269 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
3270 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
3271 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
3272 (gst_base_sink_do_sync), (gst_base_sink_render_object),
3273 (gst_base_sink_preroll_object),
3274 (gst_base_sink_queue_object_unlocked),
3275 (gst_base_sink_queue_object), (gst_base_sink_event),
3276 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
3277 (gst_base_sink_loop), (gst_base_sink_activate_pull),
3278 (gst_base_sink_get_position), (gst_base_sink_change_state):
3279 * libs/gst/base/gstbasesink.h:
3280 Totally refactored matching the design doc.
3281 Use two segments, one to clip incomming buffers and another to
3283 Handle queueing correctly, bypass the queue when playing.
3284 Make EOS cancelable.
3285 Handle errors correctly when operating in pull based mode.
3287 * tests/check/elements/fakesink.c: (GST_START_TEST),
3289 Added new check for sinks.
3291 2006-02-02 Wim Taymans <wim@fluendo.com>
3293 * gst/gstsegment.c: (gst_segment_clip):
3294 No reason to refuse to clip when start == -1
3296 2006-02-02 Stefan Kost <ensonic@users.sf.net>
3299 * docs/manual/intro-basics.xml:
3300 * docs/manual/intro-preface.xml:
3301 * docs/manual/manual.xml:
3302 * docs/pwg/advanced-dparams.xml:
3303 * docs/pwg/intro-basics.xml:
3304 * docs/pwg/intro-preface.xml:
3306 describe dparams (controller) for plugins
3307 unify docs a little more
3309 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
3311 * docs/gst/gstreamer-sections.txt:
3312 * gst/gstutils.c: (element_find_unconnected_pad),
3313 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
3315 Add new API: gst_parse_bin_from_description() and
3316 gst_bin_find_unconnected_pad() (#329069).
3318 2006-02-01 Stefan Kost <ensonic@users.sf.net>
3320 * docs/manual/README:
3321 uncover a nasty detail of the docs build
3323 2006-01-31 Wim Taymans <wim@fluendo.com>
3325 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
3326 Don't cache duration messages if we're not going to use or
3329 2006-01-31 Stefan Kost <ensonic@users.sf.net>
3331 * docs/manual/advanced-dparams.xml:
3332 * docs/pwg/advanced-dparams.xml:
3336 * libs/gst/controller/lib.c: (gst_controller_init):
3339 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
3341 * gst/gstelement.c: (gst_element_message_full):
3342 also show file/line/func if no additional debug was given
3344 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
3346 * win32/vs7/grammar.vcproj:
3347 activate copy of autogenerated files for Release mode
3349 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
3351 * win32/common/libgstreamer.def:
3352 export gst_value_compare
3354 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
3356 * plugins/elements/Makefile.am:
3357 * plugins/elements/gstelements.c:
3358 * plugins/elements/gstfdsink.c: (_do_init),
3359 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
3360 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
3361 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
3362 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
3363 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
3364 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
3365 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
3366 * plugins/elements/gstfdsink.h:
3367 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
3369 2006-01-30 Stefan Kost <ensonic@users.sf.net>
3371 * docs/manual/advanced-dparams.xml:
3373 * docs/manual/advanced-position.xml:
3374 * docs/manual/basics-init.xml:
3375 * docs/manual/manual.xml:
3376 * docs/manual/titlepage.xml:
3378 * docs/pwg/titlepage.xml:
3379 cleanup xml (more to come)
3380 * libs/gst/controller/gstcontroller.c:
3383 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
3385 * win32/vs6/grammar.dsp:
3386 add autogen of gstmarshal.c,h for Release mode
3388 2006-01-30 Wim Taymans <wim@fluendo.com>
3390 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3391 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
3392 (gst_base_sink_handle_object), (gst_base_sink_event),
3393 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
3394 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
3395 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
3396 (gst_base_sink_deactivate), (gst_base_sink_activate),
3397 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
3398 (gst_base_sink_query), (gst_base_sink_change_state):
3399 Basesink cleanups, remove some old code.
3400 Handle the case where a subclass can preroll in the render
3401 method (mostly audiosinks).
3403 Remove some locks around variables that are now protected
3404 with the PREROLL_LOCK (clock_id, flushing, ..).
3405 Optimize position query some more, do correct locking.
3406 Remove old code to push queue in state change, this is not
3407 needed anymore since preroll blocks on all prerollable items
3409 Almost implemented as described in design doc.
3411 2006-01-30 Wim Taymans <wim@fluendo.com>
3413 * tests/check/gst/gstbin.c: (GST_START_TEST):
3414 Wait for refcount to settle down before checking.
3416 2006-01-30 Wim Taymans <wim@fluendo.com>
3418 * docs/design/part-element-sink.txt:
3419 Pseudo code overview of desired sink behaviour regarding
3422 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
3423 * win32/vs6/grammar.dsp:
3424 fix some bugs in Release mode for autogenerated files
3426 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
3427 * win32/common/libgstbase.def:
3428 * win32/common/libgstreamer.def:
3429 export some new symbols: gst_base_src_set_format,
3430 gst_iterator_next, gst_structure_set_valist
3432 2006-01-29 Julien MOUTTE <julien@moutte.net>
3434 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
3435 Set pad functions unconditionally. Fixes #329105.
3437 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
3439 add vs8 project files created by Sergey Scobich
3441 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
3443 * gst/gstutils.c: (gst_element_unlink_pads):
3444 Don't leak pad references.
3446 * tests/check/elements/fakesink.c: (GST_START_TEST):
3447 * tests/check/generic/sinks.c: (GST_START_TEST):
3448 * tests/check/generic/states.c: (GST_START_TEST):
3449 * tests/check/gst/gstbin.c: (GST_START_TEST):
3450 * tests/check/gst/gstcaps.c: (GST_START_TEST):
3451 * tests/check/gst/gstelement.c: (GST_START_TEST):
3452 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3453 * tests/check/gst/gstiterator.c: (GST_START_TEST):
3454 * tests/check/gst/gstvalue.c: (GST_START_TEST):
3455 Fix a bunch of leaks. Make generic/sinks.c
3456 use a bit less cpu by slowing the buffer rate
3457 between fakesrc and fakesink.
3459 2006-01-27 Stefan Kost <ensonic@users.sf.net>
3461 * gst/gstelement.c: (gst_element_send_event):
3464 * gst/gstiterator.c:
3465 * gst/gstiterator.h:
3466 * gst/gstpad.c: (gst_pad_send_event):
3467 * gst/gststructure.c:
3471 * libs/gst/base/gstadapter.c:
3472 doc fixes, to link to function, just write gst_cool_function(), don't
3475 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
3477 * plugins/elements/gsttee.c: (gst_tee_do_push),
3478 (gst_tee_handle_buffer):
3479 Always prefer an actual return value from a src
3480 pad in place of NOT_LINKED. This means we return
3481 WRONG_STATE when all src pads are WRONG_STATE
3482 instead of NOT_LINKED.
3484 Lock when replacing the last message to prevent
3485 racing with the get_property method.
3489 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
3491 * tests/check/Makefile.am:
3492 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
3494 Add a very simple check that should have caught the memleak I fixed
3495 last night (if not for the slice allocator hiding it)
3497 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
3499 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
3500 (gst_bin_remove_func), (gst_bin_handle_message_func),
3501 (bin_query_duration_fold), (bin_query_generic_fold):
3502 Clean up references to the clock provider when disposed or when
3503 handling a clock-lost message from it.
3505 Unref sinks when performing a query via gst_iterator_fold, as the
3506 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
3508 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
3509 (gst_clock_set_master):
3510 Drop our reference to the master clock, if any, when we are disposed.
3512 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
3513 Chain up in dispose.
3515 2006-01-26 Wim Taymans <wim@fluendo.com>
3517 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
3520 2006-01-26 Julien MOUTTE <julien@moutte.net>
3522 * plugins/elements/gsttee.c: (gst_tee_do_push),
3523 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
3524 handles pad being NOT_LINKED or in WRONG_STATE.
3526 2006-01-26 Stefan Kost <ensonic@users.sf.net>
3531 2006-01-26 Stefan Kost <ensonic@users.sf.net>
3534 remove obsolete entry
3536 2006-01-26 Stefan Kost <ensonic@users.sf.net>
3538 * docs/gst/gstreamer-sections.txt:
3539 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
3540 (gst_bin_iterate_sources), (gst_bin_send_event):
3542 * gst/gstelement.c: (gst_element_send_event):
3544 * gst/gstpad.c: (gst_pad_send_event):
3545 added code for downstream events, reviewed docs in gstevent.c
3547 2006-01-25 Julien MOUTTE <julien@moutte.net>
3549 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
3550 We only query position using the clock in the playing state.
3551 Query peer in the other cases.
3552 * win32/common/config.h: Updates.
3554 2006-01-24 Wim Taymans <wim@fluendo.com>
3556 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
3557 A clock entry that is scheduled for the exact time of the
3558 clock is still in time.
3560 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3561 (gst_base_sink_do_sync):
3562 Add some more debug info.
3564 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
3567 Add new vs7 project files and solution.
3569 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
3572 all files removed as they were out-dated.
3574 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
3576 * docs/random/release:
3578 * gst/gstbin.c: (gst_bin_init):
3579 * gst/gstbus.c: (gst_bus_new):
3581 * gst/gstpipeline.c: (gst_pipeline_init):
3582 use gst_bus_new(), improve logging, fix docs
3583 * win32/common/config.h:
3584 update for cvs build
3586 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
3589 up required version of automake to 1.7
3591 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
3593 * win32/common/libgstreamer.def:
3594 export gst_buffer_is_metadata_writable
3596 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
3598 * docs/gst/gstreamer-sections.txt:
3600 Add gst_event_replace() (#327001)
3602 2006-01-20 Wim Taymans <wim@fluendo.com>
3604 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
3605 Make it actually compile too..
3607 2006-01-20 Wim Taymans <wim@fluendo.com>
3610 Clarify behaviour of _is_equal() when passing NULL parameters.
3612 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
3614 Cleanups. Don't unref NULL caps.
3615 When setting the same caps, protect caps of the pad with
3617 Use full functionality of _is_equal() when comparing caps.
3619 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
3621 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
3622 Don't loop infinitely if there are no buffers to present. Partially
3623 fixes #327197, but collectpads is just broken for reusing elements
3624 to do multiple encodes atm.
3626 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
3628 * tools/gst-inspect.c: (print_element_features):
3629 * tools/gst-xmlinspect.c: (main):
3630 URL_HANDLER is not a plugin feature we can search for in
3633 2006-01-19 Edward Hervey <edward@fluendo.com>
3635 * gst/gstelement.c: (gst_element_pads_activate):
3636 When activating, do src pads first, then sink pads.
3637 When de-activating, do sink pads first, then src pads.
3639 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
3641 * docs/gst/gstreamer-sections.txt:
3642 Add gst_index_add_associationv to the docs
3644 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
3649 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
3650 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
3651 Do some refactoring. Doesn't actually change functionality,
3652 but makes landing the DRAIN event easier later.
3654 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
3656 * docs/pwg/advanced-scheduling.xml:
3657 Update from 0.9.x to 0.10 API and make example a bit
3660 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
3662 * docs/gst/gstreamer-sections.txt:
3663 Add gst_buffer_(is|make)_metadata_writable methods.
3665 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
3667 * docs/design/part-sparsestreams.txt:
3668 Update sparse streams doc, hopefully for greater clarity
3670 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
3672 * docs/design/part-events.txt:
3673 Remove mention of FILLER events.
3676 * docs/design/part-sparsestreams.txt:
3677 Write some things about using NEWSEGMENT to keep sparse streams
3680 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
3682 * gst/gstbin.c: (gst_bin_dispose):
3683 Guard gst_object_unref call against a NULL object (dispose
3684 can theoretically be called multiple times).
3686 2006-01-18 Wim Taymans <wim@fluendo.com>
3688 * gst/gstbin.c: (gst_bin_element_set_state):
3689 * gst/gstclock.c: (gst_clock_id_wait):
3690 Added some more debug info.
3692 * libs/gst/base/gstadapter.c:
3695 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3696 (gst_base_sink_do_sync), (gst_base_sink_chain):
3697 Added some comments.
3699 2006-01-18 Wim Taymans <wim@fluendo.com>
3701 * tests/check/Makefile.am:
3702 * tests/check/elements/fakesink.c: (chain_async_buffer),
3703 (chain_async), (chain_async_return), (GST_START_TEST),
3704 (fakesink_suite), (main):
3705 Added fakesink test that checks prerolling and clipping
3708 * tests/check/gst/gstutils.c: (GST_START_TEST):
3709 Make check run faster so that buildbots don't timeout.
3711 2006-01-18 Wim Taymans <wim@fluendo.com>
3713 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3714 (gst_base_sink_do_sync):
3716 When the sink finishes blocking on the preroll buffer, it can
3717 immediatly render it instead of rendering when the next buffer
3720 2006-01-18 Wim Taymans <wim@fluendo.com>
3722 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
3723 (gst_base_sink_get_property), (gst_base_sink_do_sync),
3724 (gst_base_sink_chain):
3726 GST_ELEMENT_CLOCK and sync are protected with LOCK.
3727 Don't store _last_stop if the buffer is dropped.
3729 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
3731 * plugins/elements/gsttypefindelement.c:
3732 (gst_type_find_element_class_init):
3733 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
3734 object method handler that sets the caps on the pad and we want
3735 that to happen before we emit the signal (fixes e.g. feeding a
3736 plain text file to decodebin).
3738 2006-01-18 Christian Schaller <Christian@fluendo.com>
3740 * gst/gstplugin.c: Add MPL and Proprietary as license options
3742 2006-01-18 Andy Wingo <wingo@pobox.com>
3744 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
3745 symbol was exported before, it appears this was just an oversight.
3747 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
3749 * gst/gstindex.c (gst_index_add_associationv): Changed int in
3750 prototype to gint. OK since this prototype was not in the header.
3752 2006-01-17 Andy Wingo <wingo@pobox.com>
3754 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
3755 registry while we remove plugins.
3757 * tools/gst-inspect.c (print_element_info): Don't unref the
3758 factory arg, that should be the responsibility of whatever code
3759 received the ref. Fixes a double-free when called from
3760 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
3761 (main): Unref the factory if we have one.
3762 (print_element_list): No change -- relies on the
3763 plugin_feature_list_free to free the list of features.
3765 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
3767 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
3768 (gst_buffer_make_metadata_writable):
3770 * libs/gst/base/gstbasetransform.c:
3771 (gst_base_transform_prepare_output_buf):
3772 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
3773 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
3774 Replace gst_buffer_(make|is)_metadata_writable patch now
3775 that the release is out.
3777 2006-01-17 Andy Wingo <wingo@pobox.com>
3779 * gst/gstregistry.c: Reflow design comment. Update so as to speak
3780 in the present tense without reference to versions.
3782 * gst/gstregistry.c (gst_registry_add_plugin)
3783 (gst_registry_remove_plugin, gst_registry_remove_feature)
3784 (gst_registry_find_feature, gst_registry_get_feature_list)
3785 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
3786 (gst_registry_lookup, gst_registry_scan_path)
3787 (_gst_registry_remove_cache_plugins)
3788 (gst_registry_get_feature_list_by_plugin): Add argument
3791 === release 0.10.2 ===
3793 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
3796 releasing 0.10.2, "If man is five"
3798 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
3802 * libs/gst/base/gstbasetransform.c:
3803 (gst_base_transform_prepare_output_buf):
3804 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
3805 * tests/check/gst/gstbuffer.c: (gst_test_suite):
3806 Back out patch until after the release.
3808 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
3810 * gst/gstminiobject.c:
3811 Spelling fix in docs.
3812 * ChangeLog - remove conflict indicator
3814 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
3816 Reviewed By: Andy Wingo
3818 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
3819 (gst_buffer_make_metadata_writable):
3821 Add gst_buffer_(is|make)_metadata_writable as analogues of
3822 gst_buffer_(is|make)_writable.
3824 * libs/gst/base/gstbasetransform.c:
3825 (gst_base_transform_prepare_output_buf):
3826 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
3827 Use name gst_buffer_(is|make)_metadata_writable functions.
3829 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
3830 Test gst_buffer_(is|make)_metadata_writable
3834 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
3836 * docs/manual/Makefile.am:
3837 don't do parallel make
3840 * win32/common/config.h.in:
3841 add generations for HOST_CPU and GST_MAJORMINOR
3842 * win32/common/config.h:
3843 commit generated result
3845 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
3847 * docs/manual/appendix-integration.xml:
3848 Update GNOME integration section to use gst_init_get_option_group()
3849 instead of the old popt stuff (#322911). Also, GNOME applications
3850 should now use gconf*sink and gconf*src instead of the old gconf
3853 2006-01-13 Stefan Kost <ensonic@users.sf.net>
3856 * docs/gst/gstreamer-docs.sgml:
3857 * docs/gst/gstreamer-sections.txt:
3858 * docs/libs/gstreamer-libs-sections.txt:
3859 add new API entries to the docs
3860 * libs/gst/controller/Makefile.am:
3861 * libs/gst/controller/gstcontroller.c:
3862 * libs/gst/controller/gstcontroller.h:
3863 * libs/gst/controller/gstcontrollerprivate.h:
3864 * libs/gst/controller/gsthelper.c:
3865 * libs/gst/controller/gstinterpolation.c:
3866 move private structs to private header
3868 gstreamer-0.7 -> gstreamer-0.10
3869 * tests/check/libs/struct_i386.h:
3870 remove private structs
3872 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
3874 * plugins/indexers/Makefile.am:
3875 Fixes as part of #317048
3877 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
3879 * plugins/indexers/Makefile.am:
3880 fix #316086 - compilation when mmap is missing
3882 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
3884 * libs/gst/base/gstbasesink.c:
3885 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
3886 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
3887 * win32/common/config.h:
3888 added some defines GST_MAJORMINOR and HOST_CPU
3889 * win32/common/libgstbase.def:
3890 * win32/common/libgstreamer.def:
3891 added some exported functions.
3893 2006-01-12 Stefan Kost <ensonic@users.sf.net>
3895 * libs/gst/controller/gstcontroller.c:
3896 (gst_controlled_property_set_interpolation_mode),
3897 (gst_controlled_property_new):
3898 * libs/gst/controller/gstcontroller.h:
3899 * libs/gst/controller/gstinterpolation.c:
3900 (interpolate_none_get_string_value_array):
3901 make G_TYPE_STRING controlable
3903 2006-01-12 Stefan Kost <ensonic@users.sf.net>
3906 * tools/gst-feedback.1.in:
3907 * tools/gst-inspect.1.in:
3908 * tools/gst-launch.1.in:
3909 * tools/gst-md5sum.1.in:
3910 * tools/gst-typefind.1.in:
3911 * tools/gst-xmlinspect.1.in:
3912 * tools/gst-xmllaunch.1.in:
3913 cleanup man-pages, remove reference to gst-register, document env-vars
3915 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
3917 * gst/gstbuffer.c: (gst_buffer_span):
3918 gst_buffer_span should copy the timestamp of the first buffer
3919 if they were both originally overlapping subbuffers of the
3920 same parent, using the same logic as the 'slow copy' case.
3922 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
3924 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
3925 Need to awaken ALL the pads when we pop a buffer, otherwise
3926 collectpads only works when there is 2 input streams.
3928 2006-01-11 Stefan Kost <ensonic@users.sf.net>
3930 * docs/random/ensonic/media-device-daemon.txt:
3933 fix doc example, add clarification
3934 * tools/gst-launch.1.in:
3935 add initial info about GST_PLUGIN_PATH, needs more work
3937 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
3939 * docs/manual/basics-bins.xml:
3940 * docs/manual/basics-elements.xml:
3941 * docs/manual/intro-basics.xml:
3942 Some more minor docs additions and updates.
3944 2006-01-11 Wim Taymans <wim@fluendo.com>
3946 * docs/manual/basics-bins.xml:
3947 * docs/manual/basics-elements.xml:
3948 Some small fixes as pointed out by Ser-ver on IRC.
3950 2006-01-10 Edward Hervey <edward@fluendo.com>
3952 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3953 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
3954 the single-segment mode.
3956 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
3958 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
3960 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
3961 (gst_base_src_perform_seek), (gst_base_src_send_event),
3962 (gst_base_src_set_property), (gst_base_src_get_property),
3963 (gst_base_src_loop), (gst_base_src_start),
3964 (gst_base_src_activate_push):
3965 * libs/gst/base/gstbasesrc.h:
3966 Name (private) union; makes Sun's Forte compiler happy (#324900).
3968 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
3971 gst-register is gone.
3973 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
3975 * gst/gstvalue.c: (_gst_value_initialize):
3976 make the G_TYPE_DATE instantiation work if debug is disabled
3978 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
3980 * gst/gstmessage.c: (gst_message_parse_tag),
3981 (gst_message_parse_error), (gst_message_parse_warning):
3982 Don't crash when return location for error/warning debug
3983 string is NULL; add fact that return locations can be
3984 NULL to docs where appropriate.
3986 2006-01-05 Wim Taymans <wim@fluendo.com>
3988 * gst/gstplugin.c: (gst_plugin_load_file):
3989 Replace strdup by g_strdup.
3991 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
3993 * docs/pwg/advanced-types.xml:
3996 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
3998 submitted by: Abel Cheung
4002 Added Chinese (traditional) translation
4004 2006-01-04 Wim Taymans <wim@fluendo.com>
4006 * docs/manual/basics-pads.xml:
4007 * docs/plugins/Makefile.am:
4008 * docs/plugins/gstreamer-plugins-docs.sgml:
4009 * docs/plugins/gstreamer-plugins-sections.txt:
4010 * docs/pwg/advanced-clock.xml:
4011 * docs/pwg/advanced-scheduling.xml:
4012 * docs/pwg/advanced-types.xml:
4013 * plugins/elements/gstfdsink.c:
4014 * plugins/elements/gstfdsrc.c:
4015 * plugins/elements/gstfdsrc.h:
4016 * plugins/elements/gstidentity.c: (gst_identity_class_init):
4017 * plugins/elements/gstidentity.h:
4018 * plugins/elements/gstqueue.h:
4019 * plugins/elements/gsttee.c:
4020 * plugins/elements/gsttee.h:
4021 * plugins/elements/gsttypefindelement.c:
4022 (gst_type_find_element_class_init):
4023 * plugins/elements/gsttypefindelement.h:
4024 Small updates to various docs.
4025 Added core plugins to docs.
4027 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
4030 add a suppression for liboil's uninitialized variable
4032 2006-01-02 James Livingston <jrl at ids dot org dot au>
4034 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4037 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
4038 macro, so that gcc doesn't complain if the -Wmissing-prototypes
4039 compiler switch is being used (#325429).
4041 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
4043 * gst/gstbin.c: (gst_bin_query):
4044 Disable duration query caching in bins until it gets
4045 fixed (see #324807).
4047 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
4049 * tools/gst-inspect.c: (print_element_properties_info):
4050 Handle properties of POINTER and BOXED type.
4052 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
4054 * gst/gst.c: (init_post):
4055 Init tags stuff and some other things before loading
4056 any static plugins (there may be other static plugins
4057 than just the GStreamer ones, and they may want to
4058 register their own tags or formats or whatever, and
4059 preferably without segfaulting).
4061 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
4062 Print at least a warning in the debug logs if we drop a
4063 query just because we don't know how to adjust the value
4064 in the particular format.
4066 2005-12-24 David Schleef <ds@schleef.org>
4068 * tools/gstreamer-completion:
4069 Replacement for gst-complete written in sh and sed. Only
4070 completes names of features, but that's 90% of what I want
4071 it for. Properties are not available in registry.xml. (Maybe
4074 === release 0.10.1 ===
4076 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
4079 releasing 0.10.1, "Nollaig chridheil"
4081 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
4084 Add missing quote, should be make ERROR_CFLAGS="".
4086 2005-12-20 Wim Taymans <wim@fluendo.com>
4088 * docs/design/part-trickmodes.txt:
4089 More documentation on trickmodes.
4091 2005-12-20 Edward Hervey <edward@fluendo.com>
4093 * gst/gstcaps.c: (gst_static_caps_get_type):
4095 API addition: GST_TYPE_STATIC_CAPS
4096 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
4097 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
4098 * gst/gstpadtemplate.h:
4099 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
4100 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
4103 2005-12-18 Wim Taymans <wim@fluendo.com>
4105 * libs/gst/base/gstadapter.c:
4106 * libs/gst/base/gstadapter.h:
4107 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4108 (gst_base_sink_get_position):
4109 * libs/gst/base/gstbasesink.h:
4110 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4111 (gst_base_src_default_query), (gst_base_src_default_do_seek),
4112 (gst_base_src_do_seek), (gst_base_src_perform_seek),
4113 (gst_base_src_send_event), (gst_base_src_update_length),
4114 (gst_base_src_get_range), (gst_base_src_loop),
4115 (gst_base_src_start):
4116 * libs/gst/base/gstbasesrc.h:
4117 * libs/gst/base/gstbasetransform.h:
4118 * libs/gst/base/gstcollectpads.h:
4119 * libs/gst/base/gstpushsrc.c:
4120 * libs/gst/base/gstpushsrc.h:
4121 * libs/gst/dataprotocol/dataprotocol.c:
4122 * libs/gst/dataprotocol/dataprotocol.h:
4123 * libs/gst/net/gstnetclientclock.h:
4124 * libs/gst/net/gstnettimeprovider.h:
4125 Documentation updates.
4127 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
4129 * docs/manual/basics-helloworld.xml:
4130 Remove superfluous closing bracket in helloworld example.
4132 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
4134 * tools/gst-launch.1.in:
4135 Update gst-launch man page; add a section with useful
4136 environment variables. Fixes #323882.
4138 2005-12-16 Stefan Kost <ensonic@users.sf.net>
4141 * gst/gst_private.h:
4142 change some char* into char[]
4144 2005-12-16 Wim Taymans <wim@fluendo.com>
4146 * gst/gstregistryxml.c: (load_feature):
4148 Don't use g_object_unref on GstObjects so that we avoid
4149 leaks on unsafe glibs.
4151 2005-12-16 Wim Taymans <wim@fluendo.com>
4153 * gst/gstbin.c: (gst_bin_recalc_state):
4156 2005-12-16 Wim Taymans <wim@fluendo.com>
4159 Added make forever target for check.
4161 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
4163 * gst/gst.c: (init_post):
4164 make the registry cache file HOST_CPU-dependent
4166 2005-12-16 Andy Wingo <wingo@pobox.com>
4168 * plugins/elements/gstbufferstore.c
4169 (gst_buffer_store_cleared_func): Pay attention to g_list_append
4172 * tests/check/gst/gstobject.c
4173 (test_fake_object_name_threaded_unique): Pay attention to
4174 g_list_sort return value.
4176 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
4178 * tools/gst-feedback-m.m:
4179 Update for 0.9/0.10 (fixes #323870).
4181 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
4183 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
4184 Fix lcopy for mini objects, the mini object needs to be ref'ed.
4186 * tests/check/gst/gstminiobject.c: (my_foo_init),
4187 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
4188 (test_value_collection), (gst_mini_object_suite):
4189 Add test to ensure refcounts end up as expected when passing
4190 GstMiniObjects through g_object_get() and g_object_set().
4192 2005-12-14 Julien MOUTTE <julien@moutte.net>
4194 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
4195 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
4196 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
4197 of collectpads. This version removes a lot of races without
4198 touching API/ABI. Yay !
4200 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
4202 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
4203 Don't allow activation of a srcpad in pull_range if it has no
4205 Change some debug statements to be a little clearer
4207 * plugins/elements/gsttypefindelement.c:
4208 (gst_type_find_handle_src_query):
4209 Check that we have a peer before executing queries thereupon.
4211 * tests/examples/metadata/read-metadata.c: (message_loop):
4212 Use gst_bus_pop instead of gst_bus_poll when we just want it to
4213 immediately return us any available message with 0 timeout.
4215 2005-12-12 Michael Smith <msmith@fluendo.com>
4217 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
4218 Don't unref factories after calling them.
4219 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
4220 * plugins/elements/gsttypefindelement.c:
4221 (gst_type_find_element_chain):
4222 Free lists of factories after using them. Fixing typefinding memory
4225 2005-12-12 Stefan Kost <ensonic@users.sf.net>
4227 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
4228 (gst_plugin_feature_load):
4229 more meaningful debug output
4231 * tests/Makefile.am:
4232 * tests/old/examples/Makefile.am:
4233 make make distcheck happy again
4235 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
4237 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
4238 Catch the special case where we are operating chain-based,
4239 but the downstream peer pad has no chain function. Emit a
4240 custom error message in this case instead of letting the
4241 core generate one implying that this is some sort of core
4242 bug. It's not, it just means that whatever got plugged
4243 into the pipeline downstream when we announced the type
4244 can only operate pull-based, while our source can only
4245 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
4246 Error string has not been marked for translation yet, as
4247 it probably needs some more work first.
4249 (gst_type_find_element_get_best_possibility):
4250 Add helper function to find the best of all available
4251 found possibilities that qualify given the min. threshold.
4253 (gst_type_find_element_handle_event):
4254 Fix the case where we get an EOS while still in TYPEFIND
4255 mode (we want to chose the best of all possible types,
4256 not just the first type that happens to be in our unsorted
4257 list of possible types).
4259 (gst_type_find_element_chain):
4260 Make sure we return GST_FLOW_ERROR when we errored out
4261 in stop_typefinding(); also, don't just find the best of
4262 all found type entries and then use the last examined
4263 type entry, but actually use the best entry.
4265 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
4267 * tests/examples/typefind/typefind.c: (type_found):
4268 * tests/examples/xml/runxml.c: (xml_loaded):
4269 More gcc4 fixes and a mem leak fix.
4271 2005-12-12 Stefan Kost <ensonic@users.sf.net>
4273 * tests/examples/xml/createxml.c: (object_saved):
4276 2005-12-12 Stefan Kost <ensonic@users.sf.net>
4278 * tests/Makefile.am:
4279 enable the examples even more
4281 2005-12-12 Andy Wingo <wingo@pobox.com>
4283 * libs/gst/net/gstnettimeprovider.c
4284 (gst_net_time_provider_class_init, gst_net_time_provider_init)
4285 (gst_net_time_provider_set_property)
4286 (gst_net_time_provider_get_property):
4287 API addition: Export "active" as a GObject property.
4288 (gst_net_time_provider_thread): Only respond to time queries if
4289 the time provider is active.
4291 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
4292 NetTimeProvider, preserving binary compat.
4294 2005-12-12 Stefan Kost <ensonic@users.sf.net>
4296 * tests/examples/controller/audio-example.c: (main):
4297 * tests/examples/launch/Makefile.am:
4298 convert comments again
4300 2005-12-12 Wim Taymans <wim@fluendo.com>
4302 * libs/gst/base/gstpushsrc.c:
4305 2005-12-12 Wim Taymans <wim@fluendo.com>
4307 * docs/libs/gstreamer-libs-sections.txt:
4308 Added new symbol to docs.
4310 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4311 (gst_base_src_init), (gst_base_src_set_format),
4312 (gst_base_src_default_query), (gst_base_src_query),
4313 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
4314 (gst_base_src_perform_seek), (gst_base_src_send_event),
4315 (gst_base_src_default_event), (gst_base_src_event_handler),
4316 (gst_base_src_set_property), (gst_base_src_get_property),
4317 (gst_base_src_wait), (gst_base_src_do_sync),
4318 (gst_base_src_update_length), (gst_base_src_get_range),
4319 (gst_base_src_check_get_range), (gst_base_src_loop),
4320 (gst_base_src_default_negotiate), (gst_base_src_start),
4321 (gst_base_src_activate_push), (gst_base_src_activate_pull),
4322 (gst_base_src_change_state):
4323 * libs/gst/base/gstbasesrc.h:
4324 Implement seeking to other formats than _BYTES.
4325 Implement more seeking methods correctly.
4327 Added query vmethod.
4328 Added do_seek vmethod to make life easier for subclasses
4330 API addition: gst_base_src_set_format()
4332 2005-12-12 Stefan Kost <ensonic@users.sf.net>
4334 * tests/examples/Makefile.am:
4337 2005-12-12 Stefan Kost <ensonic@users.sf.net>
4340 * docs/random/ensonic/media-device-daemon.txt:
4341 * tests/examples/controller/.cvsignore:
4342 * tests/examples/controller/Makefile.am:
4343 * tests/examples/controller/audio-example.c: (main):
4344 * tests/examples/helloworld/.cvsignore:
4345 * tests/examples/helloworld/Makefile.am:
4346 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
4347 * tests/examples/launch/.cvsignore:
4348 * tests/examples/launch/Makefile.am:
4349 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
4350 * tests/examples/metadata/.cvsignore:
4351 * tests/examples/metadata/Makefile.am:
4352 * tests/examples/metadata/read-metadata.c: (message_loop),
4353 (make_pipeline), (print_tag), (main):
4354 * tests/examples/queue/.cvsignore:
4355 * tests/examples/queue/Makefile.am:
4356 * tests/examples/queue/queue.c: (event_loop), (main):
4357 * tests/examples/typefind/.cvsignore:
4358 * tests/examples/typefind/Makefile.am:
4359 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
4361 * tests/examples/xml/.cvsignore:
4362 * tests/examples/xml/Makefile.am:
4363 * tests/examples/xml/createxml.c: (object_saved), (main):
4364 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
4365 * tests/old/examples/Makefile.am:
4366 * tests/old/examples/TODO:
4367 * tests/old/examples/controller/.cvsignore:
4368 * tests/old/examples/controller/Makefile.am:
4369 * tests/old/examples/controller/audio-example.c:
4370 * tests/old/examples/helloworld/.cvsignore:
4371 * tests/old/examples/helloworld/Makefile.am:
4372 * tests/old/examples/helloworld/helloworld.c:
4373 * tests/old/examples/launch/.cvsignore:
4374 * tests/old/examples/launch/Makefile.am:
4375 * tests/old/examples/launch/mp3parselaunch.c:
4376 * tests/old/examples/launch/mp3play:
4377 * tests/old/examples/manual/Makefile.am:
4378 * tests/old/examples/metadata/Makefile.am:
4379 * tests/old/examples/metadata/read-metadata.c:
4380 * tests/old/examples/queue/.cvsignore:
4381 * tests/old/examples/queue/Makefile.am:
4382 * tests/old/examples/queue/queue.c:
4383 * tests/old/examples/typefind/.cvsignore:
4384 * tests/old/examples/typefind/Makefile.am:
4385 * tests/old/examples/typefind/typefind.c:
4386 * tests/old/examples/xml/.cvsignore:
4387 * tests/old/examples/xml/Makefile.am:
4388 * tests/old/examples/xml/createxml.c:
4389 * tests/old/examples/xml/runxml.c:
4390 applied some simple fixing to some examples
4391 re-enabled the working examples
4393 2005-12-12 Wim Taymans <wim@fluendo.com>
4395 * gst/gstsegment.c: (gst_segment_init),
4396 (gst_segment_set_last_stop), (gst_segment_set_seek),
4397 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
4398 (gst_segment_to_running_time):
4399 Added more documentation.
4400 Make sure the last_pos value is updated properly.
4401 Make sure to_stream_time and to_running_time don't
4402 operate on wrong values.
4404 * tests/check/gst/gstsegment.c: (GST_START_TEST):
4407 2005-12-12 Michael Smith <msmith@fluendo.com>
4409 * plugins/elements/gsttypefindelement.c: (free_entry),
4410 (gst_type_find_element_chain):
4411 Now that we're not leaking factories, make sure we keep references
4412 to them while we need them.
4414 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
4416 * tests/check/gst/struct_i386.h:
4417 ifdef out the XML structs
4419 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
4421 * gst/gstvalue.c: (gst_value_transform_double_fraction):
4422 floor is not needed, F is always positive; this obviates the
4423 need for adding -lm when building without libxml
4425 2005-12-12 Wim Taymans <wim@fluendo.com>
4427 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
4428 Take current playback rate into account when reporting
4431 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
4433 * docs/manual/mime-world.fig:
4434 Let's try this again, this time with a file that is
4435 actually in XFig format.
4437 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
4439 * docs/manual/mime-world.fig:
4440 Add audioconvert element to diagram so that it
4441 matches the text and the code (fixes #319526).
4443 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
4445 * docs/pwg/building-chainfn.xml:
4446 * docs/pwg/building-pads.xml:
4447 * docs/pwg/building-state.xml:
4448 * docs/pwg/other-source.xml:
4449 Update state change stuff for 0.10 (fixes #322969).
4451 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
4453 * docs/manual/advanced-dataaccess.xml:
4454 * docs/manual/appendix-checklist.xml:
4455 * docs/manual/appendix-programs.xml:
4456 * docs/manual/basics-pads.xml:
4457 * docs/manual/highlevel-components.xml:
4458 * docs/manual/manual.xml:
4459 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
4460 add converters in front of pipelines; remove curly
4461 brackets for threads stuff, they no longer exist; use
4462 GST_TYPE_FRACTION for framerates; update some pieces of
4463 code to 0.10, but there's plenty more to do.
4465 * docs/manual/appendix-porting.xml:
4466 Expand on asynchroneous state changes; s/0.9/0.10/;
4467 mention disappearance of gst_init_get_popt_table()
4470 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
4472 * docs/faq/using.xml:
4473 Spider no longer exists, and neither does gst-launch-ext.
4474 Update examples to use decodebin and playbin and put
4475 converters in front of sinks (fixes #323726).
4477 2005-12-09 Michael Smith <msmith@fluendo.com>
4479 * plugins/elements/gsttypefindelement.c: (find_peek),
4480 (gst_type_find_element_chain):
4481 Fix leaking element factories in typefinding.
4482 Fix problem where we forgot about a probable type on non-seekable
4483 files, and thus later mis-typefound it.
4485 2005-12-09 Michael Smith <msmith@fluendo.com>
4487 * common/m4/gst-makecontext.m4:
4488 * common/m4/gst-mcsc.m4:
4490 * win32/common/config.h:
4491 * win32/common/config.h.in:
4492 Remove makecontext stuff; not used in 0.10 and causes problems on
4493 HPUX according to bug #322441
4495 2005-12-07 Wim Taymans <wim@fluendo.com>
4497 * tests/check/Makefile.am:
4498 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
4500 * tests/check/libs/struct_i386.h:
4501 Added ABI check for libs
4503 2005-12-07 Wim Taymans <wim@fluendo.com>
4505 * tests/check/Makefile.am:
4506 And add the struct_i386.h to dist.
4508 2005-12-07 Wim Taymans <wim@fluendo.com>
4510 * tests/check/Makefile.am:
4511 * tests/check/gst/.cvsignore:
4512 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
4514 * tests/check/gst/struct_i386.h:
4515 Added check for ABI compatibility.
4517 2005-12-07 Wim Taymans <wim@fluendo.com>
4519 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
4520 (gst_fake_src_get_times), (gst_fake_src_create):
4521 Fix broken sync option, fixes #323259
4523 2005-12-07 Wim Taymans <wim@fluendo.com>
4528 * gst/gstcaps.c: (gst_caps_is_equal):
4529 Don't assert on NULL <--> X. Fixes #323260
4531 * gst/gstminiobject.c: (gst_mini_object_replace):
4532 If we're doing atomic operations, we might just as well use
4533 the proper way to get an atomic pointer.
4535 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
4538 2005-12-07 Michael Smith <msmith@fluendo.com>
4540 * gst/parse/grammar.y:
4541 Remove handling of { } for threads.
4543 2005-12-06 David Schleef <ds@schleef.org>
4545 * libs/gst/base/gstbasetransform.c: speling fix.
4547 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
4549 * docs/libs/tmpl/gstdataprotocol.sgml:
4550 * docs/random/omega/testing/gstobject.c:
4554 * gst/gstelementfactory.c:
4557 * gst/gstghostpad.c:
4559 * gst/gstpadtemplate.c:
4560 * gst/gstregistryxml.c:
4562 * gst/gsttagsetter.c:
4563 * gst/gsttypefind.c:
4565 * libs/gst/base/gstbasesrc.c:
4566 * libs/gst/net/gstnetclientclock.c:
4567 * libs/gst/net/gstnettimeprovider.c:
4568 * plugins/elements/gstfakesrc.c:
4569 * plugins/elements/gstfdsrc.c:
4570 * plugins/elements/gstfilesrc.c:
4571 * plugins/elements/gstidentity.c:
4572 * plugins/elements/gstqueue.c:
4573 * plugins/elements/gsttypefindelement.c:
4574 * plugins/indexers/gstfileindex.c:
4575 * plugins/indexers/gstmemindex.c:
4576 * tests/check/gst/gsttag.c:
4577 * tests/old/examples/cutter/cutter.c:
4578 * tests/old/examples/mixer/mixer.c:
4579 * tests/old/examples/xml/runxml.c: (main):
4580 * tests/old/testsuite/caps/normalisation.c:
4581 * tests/old/testsuite/debug/global.c:
4582 * tests/old/testsuite/parse/parse1.c:
4583 * tools/gst-xmlinspect.c:
4584 * win32/common/dirent.c:
4587 === release 0.10.0 ===
4589 2005-12-05 <thomas (at) apestaart (dot) org>
4592 releasing 0.10.0, "Maroilles"
4594 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
4596 submitted by: Funda Wang <fundawang@linux.net.cn>
4600 added Chinese (Traditional) translation
4602 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
4604 * docs/gst/gstreamer-sections.txt:
4605 * docs/libs/tmpl/gstdataprotocol.sgml:
4606 * docs/random/thomasvs/TODO:
4611 2005-12-05 Andy Wingo <wingo@pobox.com>
4613 patch by: Wim Taymans <wim@fluendo.com>
4615 * libs/gst/base/gstbasetransform.c
4616 (gst_base_transform_prepare_output_buf)
4617 (gst_base_transform_buffer_alloc):
4618 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
4619 alloc_buffer_and_set_caps.
4621 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
4622 set_caps on the source pad.
4623 (gst_pad_alloc_buffer_and_set_caps): New function, does what
4624 alloc_buffer used to do. Fixes #322874.
4626 * docs/gst/gstreamer-sections.txt:
4627 * docs/design/part-negotiation.txt:
4628 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
4631 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
4633 patch by: Sebastien Moutte
4636 * win32/common/config.h.in:
4637 * win32/vs6/libgstcontroller.dsp:
4640 2005-12-05 Wim Taymans <wim@fluendo.com>
4642 * gst/gstcaps.c: (gst_caps_is_equal):
4643 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
4644 (gst_fake_src_create):
4645 Back out previous code changes, leave doc updates, file bugs
4648 2005-12-05 Wim Taymans <wim@fluendo.com>
4650 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
4651 (gst_fake_src_get_times), (gst_fake_src_create):
4652 * plugins/elements/gstfakesrc.h:
4653 Fix broken sync code.
4655 2005-12-05 Wim Taymans <wim@fluendo.com>
4657 * gst/gstcaps.c: (gst_caps_is_equal):
4658 Comparing NULL against !NULL yields different caps, not a
4661 2005-12-05 Wim Taymans <wim@fluendo.com>
4663 * gst/gstpipeline.c:
4664 Fix small typo in docs.
4666 2005-12-05 Andy Wingo <wingo@pobox.com>
4668 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
4670 * gst/gst.c (init_post): remove hard-coded 0.9 location for
4671 registries/plugins with a MAJORMINOR one.
4672 (plugin_desc): Rename library from gstcoreleements to
4673 staticelements. Fixes #323222.
4675 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
4677 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
4678 Change debug category to 'collectpads' from 'collect_pads'
4681 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
4683 patch by: Sebastien Moutte
4685 * libs/gst/controller/gstinterpolation.c:
4686 use convert function for uint64/double
4687 * win32/vs6/libgstcontroller.dsp:
4690 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
4692 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
4693 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
4695 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
4696 add tests that seem to show that the guint64/gdouble conversions
4699 2005-12-02 Wim Taymans <wim@fluendo.com>
4701 * gst/gstregistry.c: (gst_registry_add_path):
4702 * gst/gstregistry.h:
4703 * gst/gstregistryxml.c:
4706 2005-12-02 Wim Taymans <wim@fluendo.com>
4708 * gst/gstutils.c: (gst_util_uint64_scale_int64),
4709 (gst_util_uint64_scale_int):
4712 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4715 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
4718 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
4721 * win32/common/config.h:
4722 * win32/vs6/gstreamer.dsw:
4723 * win32/vs6/libgstcoreelements.dsp:
4724 * win32/vs6/libgstelements.dsp:
4725 renamed core elements plugin
4727 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
4729 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
4731 do piece-wise major/minor comparison so 0.9 < 0.10
4732 also allow .exe extensions for tools
4734 2005-12-02 Michael Smith <msmith@fluendo.com>
4737 Escape a % to make gtkdoc happier; bug 322958.
4739 === release 0.9.7 ===
4741 2005-12-01 <thomas (at) apestaart (dot) org>
4744 releasing 0.9.7, "My Dog Has No Nose"
4746 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
4748 * common/gst-xmlinspect.py:
4750 * docs/libs/tmpl/gstdataprotocol.sgml:
4751 * docs/random/release:
4770 * win32/common/config.h:
4771 * win32/common/config.h.in:
4772 * win32/vs6/gst_inspect.dsp:
4773 * win32/vs6/gst_launch.dsp:
4774 * win32/vs6/libgstbase.dsp:
4775 * win32/vs6/libgstelements.dsp:
4776 * win32/vs6/libgstreamer.dsp:
4777 * win32/vs7/GStreamer.vcproj:
4778 * win32/vs7/gst-inspect.vcproj:
4779 * win32/vs7/gst-launch.vcproj:
4780 * win32/vs7/libgstbase.vcproj:
4781 bump GST_MAJORMINOR to 0.10
4782 reset libtool version
4784 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
4788 Added Bulgarian translation by (Alexander Shopov)
4790 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
4792 * tests/check/gst/gstplugin.c:
4795 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
4797 * common/gst-xmlinspect.py:
4798 * common/gtk-doc-plugins.mak:
4801 * docs/gst/Makefile.am:
4802 * docs/gst/gstreamer-docs.sgml:
4803 * docs/gst/gstreamer-sections.txt:
4804 * docs/gst/gstreamer.types:
4805 * docs/gst/gstreamer.types.in:
4806 * docs/plugins/Makefile.am:
4807 * docs/plugins/gstreamer-plugins-docs.sgml:
4808 * docs/plugins/gstreamer-plugins-sections.txt:
4809 * docs/plugins/gstreamer-plugins.types:
4810 * docs/plugins/inspect.stamp:
4811 * docs/plugins/inspect/plugin-coreelements.xml:
4812 * docs/plugins/inspect/plugin-coreindexers.xml:
4813 * docs/plugins/scanobj-build.stamp:
4814 * gstreamer.spec.in:
4815 * plugins/elements/Makefile.am:
4816 * plugins/elements/gstelements.c:
4817 * plugins/elements/gstfakesink.c:
4818 * plugins/elements/gstfakesrc.c:
4819 * plugins/elements/gstfilesink.c:
4820 * plugins/elements/gstfilesrc.c:
4821 * plugins/elements/gstqueue.c:
4822 * plugins/indexers/Makefile.am:
4823 * plugins/indexers/gstindexers.c:
4824 document core plugins in a separate document just like all the
4826 rename these plugins to something starting with core
4828 2005-12-01 Andy Wingo <wingo@pobox.com>
4830 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
4831 padding here before, but it missed the commit.
4833 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
4835 * libs/gst/controller/gstinterpolation.c:
4836 whitespace prices have crashed, we should feel free to use some now
4837 use gst_guint64_to_gdouble
4839 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
4841 * libs/gst/controller/gstcontroller.c:
4842 * libs/gst/controller/gsthelper.c:
4843 * libs/gst/controller/gstinterpolation.c:
4844 * libs/gst/controller/lib.c:
4845 wrap config.h include
4847 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
4849 * docs/gst/gstreamer-sections.txt:
4852 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
4854 * plugins/elements/gstelements.c:
4855 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
4856 (gst_fd_sink__class_init), (gst_fd_sink__init),
4857 (gst_fd_sink__chain), (gst_fd_sink__set_property),
4858 (gst_fd_sink__get_property):
4859 * plugins/elements/gstfdsink.h:
4860 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
4861 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
4862 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
4863 (gst_fd_src_unlock), (gst_fd_src_set_property),
4864 (gst_fd_src_get_property), (gst_fd_src_create),
4865 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
4866 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
4867 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
4868 (gst_fd_src_uri_handler_init):
4869 * plugins/elements/gstfdsrc.h:
4870 * plugins/elements/gstqueue.c: (gst_queue_get_type):
4873 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
4875 * docs/gst/Makefile.am:
4876 * docs/gst/gstreamer.types.in:
4880 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
4886 * gst/gstregistry.h:
4887 * tests/benchmarks/complexity.c:
4888 * tests/benchmarks/mass-elements.c:
4889 * tests/check/Makefile.am:
4890 * tools/Makefile.am:
4891 * tools/gst-inspect.c:
4892 * tools/gst-xmlinspect.c:
4893 various fixes to make
4894 --disable-nls --disable-registry --disable-loadsave
4895 --disable-parse --disable-gst-debug
4896 work and get the core .so down to 360444 bytes after stripping
4898 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
4903 * docs/random/thomasvs/TODO:
4904 * tests/Makefile.am:
4908 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
4910 * win32/GStreamer.vcproj:
4913 * win32/Makefile.inspect:
4914 * win32/Makefile.launch:
4915 * win32/Makefile.register:
4917 * win32/gst-inspect.vcproj:
4918 * win32/gst-launch.vcproj:
4919 * win32/gst-register.vcproj:
4920 * win32/gstelements.vcproj:
4921 * win32/gstgetbits.def:
4922 * win32/gstgetbits.vcproj:
4923 * win32/gstreamer-dbg.def:
4924 * win32/gstreamer.def:
4925 * win32/libgstbase.def:
4926 * win32/libgstbase.vcproj:
4927 * win32/link_oldruntime.c:
4932 move even more stuff, win32/ is nice and clean now
4934 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
4936 * libs/gst/control/.cvsignore:
4941 * win32/gstbytestream.def:
4942 * win32/gstbytestream.vcproj:
4943 * win32/gstconfig.h:
4944 * win32/gstenumtypes.c:
4945 * win32/gstenumtypes.h:
4946 * win32/gstoptimalscheduler.vcproj:
4947 * win32/gstversion.h:
4949 * win32/testsuite/bins.vcproj:
4950 * win32/testsuite/bytestream.vcproj:
4951 * win32/testsuite/caps.vcproj:
4952 * win32/testsuite/cleanup.vcproj:
4953 * win32/testsuite/clock.vcproj:
4954 * win32/testsuite/debug.vcproj:
4955 * win32/testsuite/dlopen.vcproj:
4956 * win32/testsuite/dynparams.vcproj:
4957 * win32/testsuite/elements.vcproj:
4958 * win32/testsuite/ghostpads.vcproj:
4959 * win32/testsuite/indexers.vcproj:
4960 * win32/testsuite/negotiation.vcproj:
4961 * win32/testsuite/parse.vcproj:
4962 * win32/testsuite/plugin.vcproj:
4963 * win32/testsuite/refcounting.vcproj:
4964 * win32/testsuite/schedulers.vcproj:
4965 * win32/testsuite/states.vcproj:
4966 * win32/testsuite/tags.vcproj:
4967 * win32/testsuite/threads.vcproj:
4968 remove old win32 stuff that isn't maintained and should be
4971 2005-11-30 Andy Wingo <wingo@pobox.com>
4973 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
4974 loading the gst.interfaces python module bork.
4976 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
4977 available since GLib 2.2. Fixes #318031.
4979 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
4983 * check/Makefile.am:
4984 * check/elements/.cvsignore:
4985 * check/elements/fakesrc.c:
4986 * check/elements/fdsrc.c:
4987 * check/elements/identity.c:
4988 * check/generic/.cvsignore:
4989 * check/generic/states.c:
4990 * check/gst-libs/.cvsignore:
4991 * check/gst-libs/controller.c:
4992 * check/gst-libs/gdp.c:
4993 * check/gst/.cvsignore:
4994 * check/gst/capslist.h:
4996 * check/gst/gstbin.c:
4997 * check/gst/gstbuffer.c:
4998 * check/gst/gstbus.c:
4999 * check/gst/gstcaps.c:
5000 * check/gst/gstelement.c:
5001 * check/gst/gstevent.c:
5002 * check/gst/gstghostpad.c:
5003 * check/gst/gstiterator.c:
5004 * check/gst/gstmessage.c:
5005 * check/gst/gstminiobject.c:
5006 * check/gst/gstobject.c:
5007 * check/gst/gstpad.c:
5008 * check/gst/gstpipeline.c:
5009 * check/gst/gstplugin.c:
5010 * check/gst/gstsegment.c:
5011 * check/gst/gststructure.c:
5012 * check/gst/gstsystemclock.c:
5013 * check/gst/gsttag.c:
5014 * check/gst/gstutils.c:
5015 * check/gst/gstvalue.c:
5016 * check/net/.cvsignore:
5017 * check/net/gstnetclientclock.c:
5018 * check/net/gstnettimeprovider.c:
5019 * check/pipelines/.cvsignore:
5020 * check/pipelines/cleanup.c:
5021 * check/pipelines/simple_launch_lines.c:
5022 * check/pipelines/stress.c:
5023 * check/states/.cvsignore:
5024 * check/states/sinks.c:
5026 * examples/Makefile.am:
5027 * examples/appreader/.cvsignore:
5028 * examples/appreader/Makefile.am:
5029 * examples/appreader/appreader.c:
5030 * examples/controller/.cvsignore:
5031 * examples/controller/Makefile.am:
5032 * examples/controller/audio-example.c:
5033 * examples/cutter/.cvsignore:
5034 * examples/cutter/Makefile.am:
5035 * examples/cutter/cutter.c:
5036 * examples/cutter/cutter.h:
5037 * examples/events/Makefile.am:
5038 * examples/events/seek.c:
5039 * examples/helloworld/.cvsignore:
5040 * examples/helloworld/Makefile.am:
5041 * examples/helloworld/helloworld.c:
5042 * examples/helloworld2/.cvsignore:
5043 * examples/helloworld2/Makefile.am:
5044 * examples/helloworld2/helloworld2.c:
5045 * examples/launch/.cvsignore:
5046 * examples/launch/Makefile.am:
5047 * examples/launch/mp3parselaunch.c:
5048 * examples/launch/mp3play:
5049 * examples/manual/.cvsignore:
5050 * examples/manual/Makefile.am:
5051 * examples/manual/extract.pl:
5052 * examples/metadata/Makefile.am:
5053 * examples/metadata/read-metadata.c:
5054 * examples/mixer/.cvsignore:
5055 * examples/mixer/Makefile.am:
5056 * examples/mixer/mixer.c:
5057 * examples/mixer/mixer.h:
5058 * examples/pingpong/.cvsignore:
5059 * examples/pingpong/Makefile.am:
5060 * examples/pingpong/pingpong.c:
5061 * examples/plugins/.cvsignore:
5062 * examples/plugins/Makefile.am:
5063 * examples/plugins/example.c:
5064 * examples/plugins/example.h:
5065 * examples/pwg/.cvsignore:
5066 * examples/pwg/Makefile.am:
5067 * examples/pwg/extract.pl:
5068 * examples/queue/.cvsignore:
5069 * examples/queue/Makefile.am:
5070 * examples/queue/queue.c:
5071 * examples/queue2/.cvsignore:
5072 * examples/queue2/Makefile.am:
5073 * examples/queue2/queue2.c:
5074 * examples/queue3/.cvsignore:
5075 * examples/queue3/Makefile.am:
5076 * examples/queue3/queue3.c:
5077 * examples/queue4/.cvsignore:
5078 * examples/queue4/Makefile.am:
5079 * examples/queue4/queue4.c:
5080 * examples/retag/.cvsignore:
5081 * examples/retag/Makefile.am:
5082 * examples/retag/retag.c:
5083 * examples/retag/transcode.c:
5084 * examples/thread/.cvsignore:
5085 * examples/thread/Makefile.am:
5086 * examples/thread/thread.c:
5087 * examples/typefind/.cvsignore:
5088 * examples/typefind/Makefile.am:
5089 * examples/typefind/typefind.c:
5090 * examples/xml/.cvsignore:
5091 * examples/xml/Makefile.am:
5092 * examples/xml/createxml.c:
5093 * examples/xml/runxml.c:
5094 * tests/Makefile.am:
5095 * tests/check/Makefile.am:
5096 * testsuite/.cvsignore:
5097 * testsuite/Makefile.am:
5099 * testsuite/caps/.cvsignore:
5100 * testsuite/caps/Makefile.am:
5101 * testsuite/caps/app_fixate.c:
5102 * testsuite/caps/audioscale.c:
5103 * testsuite/caps/caps.c:
5104 * testsuite/caps/caps.h:
5105 * testsuite/caps/caps_strings:
5106 * testsuite/caps/compatibility.c:
5107 * testsuite/caps/deserialize.c:
5108 * testsuite/caps/enumcaps.c:
5109 * testsuite/caps/eratosthenes.c:
5110 * testsuite/caps/filtercaps.c:
5111 * testsuite/caps/fixed.c:
5112 * testsuite/caps/fraction-convert.c:
5113 * testsuite/caps/fraction-multiply-and-zero.c:
5114 * testsuite/caps/intersect2.c:
5115 * testsuite/caps/intersection.c:
5116 * testsuite/caps/normalisation.c:
5117 * testsuite/caps/random.c:
5118 * testsuite/caps/renegotiate.c:
5119 * testsuite/caps/sets.c:
5120 * testsuite/caps/simplify.c:
5121 * testsuite/caps/string-conversions.c:
5122 * testsuite/caps/structure.c:
5123 * testsuite/caps/subtract.c:
5124 * testsuite/caps/union.c:
5125 * testsuite/debug/.cvsignore:
5126 * testsuite/debug/Makefile.am:
5127 * testsuite/debug/category.c:
5128 * testsuite/debug/commandline.c:
5129 * testsuite/debug/global.c:
5130 * testsuite/debug/output.c:
5131 * testsuite/debug/printf_extension.c:
5132 * testsuite/dlopen/.cvsignore:
5133 * testsuite/dlopen/Makefile.am:
5134 * testsuite/dlopen/dlopen_gst.c:
5135 * testsuite/dlopen/loadgst.c:
5136 * testsuite/elements/.cvsignore:
5137 * testsuite/elements/Makefile.am:
5138 * testsuite/elements/gst-inspect-check.in:
5139 * testsuite/elements/struct_i386.h:
5140 * testsuite/elements/struct_size.c:
5141 * testsuite/indexers/.cvsignore:
5142 * testsuite/indexers/Makefile.am:
5143 * testsuite/indexers/cache1.c:
5144 * testsuite/indexers/indexdump.c:
5145 * testsuite/parse/.cvsignore:
5146 * testsuite/parse/Makefile.am:
5147 * testsuite/parse/parse1.c:
5148 * testsuite/parse/parse2.c:
5149 * testsuite/plugin/.cvsignore:
5150 * testsuite/plugin/Makefile.am:
5151 * testsuite/plugin/README:
5152 * testsuite/plugin/dynamic.c:
5153 * testsuite/plugin/linked.c:
5154 * testsuite/plugin/loading.c:
5155 * testsuite/plugin/registry.c:
5156 * testsuite/plugin/static.c:
5157 * testsuite/plugin/static2.c:
5158 * testsuite/plugin/testplugin.c:
5159 * testsuite/plugin/testplugin2.c:
5160 * testsuite/plugin/testplugin2_s.c:
5161 * testsuite/plugin/testplugin_s.c:
5162 * testsuite/refcounting/.cvsignore:
5163 * testsuite/refcounting/Makefile.am:
5164 * testsuite/refcounting/bin.c:
5165 * testsuite/refcounting/element.c:
5166 * testsuite/refcounting/element_pad.c:
5167 * testsuite/refcounting/mainloop.c:
5168 * testsuite/refcounting/mem.c:
5169 * testsuite/refcounting/mem.h:
5170 * testsuite/refcounting/object.c:
5171 * testsuite/refcounting/pad.c:
5172 * testsuite/refcounting/sched.c:
5173 * testsuite/refcounting/thread.c:
5174 * testsuite/states/.cvsignore:
5175 * testsuite/states/Makefile.am:
5176 * testsuite/states/bin.c:
5177 * testsuite/states/locked.c:
5178 * testsuite/states/parent.c:
5179 * testsuite/threads/.cvsignore:
5180 * testsuite/threads/159566.c:
5181 * testsuite/threads/159852.c:
5182 * testsuite/threads/Makefile.am:
5183 * testsuite/threads/queue.c:
5184 * testsuite/threads/signals.c:
5185 * testsuite/threads/staticrec.c:
5186 * testsuite/threads/thread.c:
5187 * testsuite/threads/threadb.c:
5188 * testsuite/threads/threadc.c:
5189 * testsuite/threads/threadd.c:
5190 * testsuite/threads/threade.c:
5191 * testsuite/threads/threadf.c:
5192 * testsuite/threads/threadg.c:
5193 * testsuite/threads/threadh.c:
5194 * testsuite/threads/threadi.c:
5195 move all of these under tests
5197 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5200 * tests/Makefile.am:
5203 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5205 * docs/gst/gstreamer-sections.txt:
5206 * tests/sched/.cvsignore:
5207 * tests/sched/Makefile.am:
5208 * tests/sched/cases/(fs-fs).xml:
5209 * tests/sched/cases/(fs-i-fs).xml:
5210 * tests/sched/cases/(fs-i-i-fs).xml:
5211 * tests/sched/cases/(fs-i-q[i-fs]).xml:
5212 * tests/sched/dynamic-pipeline.c:
5213 * tests/sched/interrupt1.c:
5214 * tests/sched/interrupt2.c:
5215 * tests/sched/interrupt3.c:
5216 * tests/sched/runtestcases:
5217 * tests/sched/runxml.c:
5218 * tests/sched/sched-stress.c:
5219 * tests/sched/sort.c:
5220 * tests/sched/testcases:
5221 * tests/sched/testcases1.tc:
5222 * tests/seeking/.cvsignore:
5223 * tests/seeking/Makefile.am:
5224 * tests/seeking/seeking1.c:
5225 * tests/threadstate/.cvsignore:
5226 * tests/threadstate/Makefile.am:
5227 * tests/threadstate/test1.c:
5228 * tests/threadstate/test2.c:
5229 * tests/threadstate/threadstate1.c:
5230 * tests/threadstate/threadstate2.c:
5231 * tests/threadstate/threadstate3.c:
5232 * tests/threadstate/threadstate4.c:
5233 * tests/threadstate/threadstate5.c:
5234 remove obsolete tests
5236 * tests/bench-complexity.scm:
5237 * tests/bench-mass_elements.scm:
5238 * tests/complexity.c:
5239 * tests/complexity.gnuplot:
5240 * tests/instantiate/.cvsignore:
5241 * tests/instantiate/Makefile.am:
5242 * tests/instantiate/caps.c:
5243 * tests/mass_elements.c:
5244 * tests/network-clock-utils.scm:
5245 * tests/network-clock.scm:
5247 First pass at cleaning up tests/ dir before moving the rest
5248 Combined with CVS surgery
5250 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5253 queue has moved, update
5255 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5257 * docs/gst/gstreamer-sections.txt:
5258 remove double entries from the docs
5259 * gst/gst_private.h:
5260 * gst/gstinfo.c: (_gst_debug_init):
5261 remove the THREAD debug category
5265 * docs/gst/gstreamer.types:
5266 * plugins/elements/gstqueue.c: (gst_queue_get_type),
5267 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
5268 completely move queue and fix up debugging categories
5270 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5272 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
5273 make initialization portable, using LL is not
5275 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5277 * win32/common/gstconfig.h:
5280 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5282 * win32/common/libgstreamer.def:
5283 rename symbols; sort base section
5285 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5287 * gst/gstclock.c: (do_linear_regression):
5288 remove crack non-portable handrolled DEBUG macro
5290 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5292 * docs/random/release:
5294 * win32/common/gstenumtypes.c: (register_gst_object_flags),
5295 (gst_object_flags_get_type), (register_gst_bin_flags),
5296 (gst_bin_flags_get_type), (register_gst_buffer_flag),
5297 (gst_buffer_flag_get_type), (register_gst_bus_flags),
5298 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
5299 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
5300 (gst_caps_flags_get_type), (register_gst_clock_return),
5301 (gst_clock_return_get_type), (register_gst_clock_entry_type),
5302 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
5303 (gst_clock_flags_get_type), (register_gst_state),
5304 (gst_state_get_type), (register_gst_state_change_return),
5305 (gst_state_change_return_get_type), (register_gst_state_change),
5306 (gst_state_change_get_type), (register_gst_element_flags),
5307 (gst_element_flags_get_type), (register_gst_core_error),
5308 (gst_core_error_get_type), (register_gst_library_error),
5309 (gst_library_error_get_type), (register_gst_resource_error),
5310 (gst_resource_error_get_type), (register_gst_stream_error),
5311 (gst_stream_error_get_type), (register_gst_event_type_flags),
5312 (gst_event_type_flags_get_type), (register_gst_event_type),
5313 (gst_event_type_get_type), (register_gst_seek_type),
5314 (gst_seek_type_get_type), (register_gst_seek_flags),
5315 (gst_seek_flags_get_type), (register_gst_format),
5316 (gst_format_get_type), (register_gst_index_certainty),
5317 (gst_index_certainty_get_type), (register_gst_index_entry_type),
5318 (gst_index_entry_type_get_type),
5319 (register_gst_index_lookup_method),
5320 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
5321 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
5322 (gst_index_resolver_method_get_type), (register_gst_index_flags),
5323 (gst_index_flags_get_type), (register_gst_debug_level),
5324 (gst_debug_level_get_type), (register_gst_debug_color_flags),
5325 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
5326 (gst_iterator_result_get_type), (register_gst_iterator_item),
5327 (gst_iterator_item_get_type), (register_gst_message_type),
5328 (gst_message_type_get_type), (register_gst_mini_object_flags),
5329 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
5330 (gst_pad_link_return_get_type), (register_gst_flow_return),
5331 (gst_flow_return_get_type), (register_gst_activate_mode),
5332 (gst_activate_mode_get_type), (register_gst_pad_direction),
5333 (gst_pad_direction_get_type), (register_gst_pad_flags),
5334 (gst_pad_flags_get_type), (register_gst_pad_presence),
5335 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
5336 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
5337 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
5338 (gst_plugin_error_get_type), (register_gst_plugin_flags),
5339 (gst_plugin_flags_get_type), (register_gst_rank),
5340 (gst_rank_get_type), (register_gst_query_type),
5341 (gst_query_type_get_type), (register_gst_tag_merge_mode),
5342 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
5343 (gst_tag_flag_get_type), (register_gst_task_state),
5344 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
5345 (gst_alloc_trace_flags_get_type),
5346 (register_gst_type_find_probability),
5347 (gst_type_find_probability_get_type), (register_gst_uri_type),
5348 (gst_uri_type_get_type), (register_gst_parse_error),
5349 (gst_parse_error_get_type):
5350 * win32/common/gstenumtypes.h:
5351 * win32/common/gstversion.h:
5352 update visual studio generated files
5354 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5356 * win32/vs6/libgstbase.dsp:
5357 * win32/vs6/libgstelements.dsp:
5358 update project files for new locations
5360 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5365 reinstate and update
5370 * docs/random/LICENSE:
5373 2005-11-30 Edward Hervey <edward@fluendo.com>
5375 * gst/gsttypefind.c: (gst_type_find_register):
5376 * gst/gsttypefind.h:
5377 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
5378 (gst_type_find_factory_dispose):
5379 * gst/gsttypefindfactory.h:
5380 Fix memory leak in GstTypeFindFactory.
5382 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5385 * plugins/elements/Makefile.am:
5386 * plugins/elements/gstelements.c:
5387 * plugins/elements/gstqueue.c:
5388 move queue from core to the elements plugin
5390 2005-11-29 Andy Wingo <wingo@pobox.com>
5392 * libs/gst/base/gstbasetransform.h:
5393 * libs/gst/base/gstbasesrc.h:
5394 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
5396 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
5397 of pointers by which to pad very extensible base classes (like the
5398 ones in libs/gst/base).
5400 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5402 * docs/gst/gstreamer-docs.sgml:
5403 * docs/gst/gstreamer-sections.txt:
5404 * docs/libs/gstreamer-libs-docs.sgml:
5405 * docs/libs/gstreamer-libs-sections.txt:
5406 moving documentation from core to lib
5408 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5410 * check/Makefile.am:
5412 * docs/gst/Makefile.am:
5414 * gst/base/.cvsignore:
5415 * gst/base/Makefile.am:
5417 * gst/base/gstadapter.c:
5418 * gst/base/gstadapter.h:
5419 * gst/base/gstbasesink.c:
5420 * gst/base/gstbasesink.h:
5421 * gst/base/gstbasesrc.c:
5422 * gst/base/gstbasesrc.h:
5423 * gst/base/gstbasetransform.c:
5424 * gst/base/gstbasetransform.h:
5425 * gst/base/gstcollectpads.c:
5426 * gst/base/gstcollectpads.h:
5427 * gst/base/gstpushsrc.c:
5428 * gst/base/gstpushsrc.h:
5429 * gst/base/gsttypefindhelper.c:
5430 * gst/base/gsttypefindhelper.h:
5431 * gst/check/Makefile.am:
5432 * gst/check/gstcheck.c:
5433 * gst/check/gstcheck.h:
5434 * gst/net/Makefile.am:
5436 * gst/net/gstnetclientclock.c:
5437 * gst/net/gstnetclientclock.h:
5438 * gst/net/gstnettimepacket.c:
5439 * gst/net/gstnettimepacket.h:
5440 * gst/net/gstnettimeprovider.c:
5441 * gst/net/gstnettimeprovider.h:
5442 * libs/gst/Makefile.am:
5443 * libs/gst/base/Makefile.am:
5444 * libs/gst/base/gstbasetransform.c:
5445 * libs/gst/check/Makefile.am:
5446 * plugins/elements/Makefile.am:
5448 CVS surgery + support to move base, check, and net out of gst
5451 2005-11-29 Andy Wingo <wingo@pobox.com>
5453 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
5455 * gst/gststructure.h (struct _GstStructure): Only one pointer of
5458 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
5460 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
5462 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
5464 * gst/gstobject.h: (struct _GstObject): Only one pointer of
5465 padding; reduces object size by about 30%. We don't expect
5466 anything else to go into gstobject.
5468 * gst/gstminiobject.h (struct _GstMiniObject)
5469 (struct _GstMiniObjectClass): Only one pointer of padding; the
5470 payload is only a pointer and two ints anyway. For the class there
5471 are only two methods as well.
5473 * gst/gstelement.h (struct _GstElementClass): Removed
5474 the state_changed signal callback, it is not used.
5476 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
5478 * docs/gst/gstreamer.types:
5479 fix includes, though they are a little dinky
5481 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5483 * check/Makefile.am:
5484 look in the right place for elements, a lot more chance of
5487 remove indexers and elements subdirs
5488 * plugins/Makefile.am:
5489 make indexers conditional
5491 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5495 * plugins/elements/Makefile.am:
5496 * plugins/elements/gstcapsfilter.c:
5497 * plugins/elements/gstfilesink.c:
5498 * plugins/elements/gstfilesrc.c:
5499 * plugins/elements/gstidentity.c:
5500 * plugins/indexers/Makefile.am:
5501 do CVS surgery and related build fixery to move elements
5502 and indexers in a new gstreamer/plugins directory, out of the
5505 2005-11-29 Andy Wingo <wingo@pobox.com>
5507 * check/Makefile.am:
5508 * pkgconfig/gstreamer-net-uninstalled.pc.in:
5509 * pkgconfig/gstreamer-net.pc.in:
5510 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
5513 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
5515 * tools/Makefile.am:
5516 * tools/gst-complete.1.in:
5517 * tools/gst-complete.c:
5518 * tools/gst-compprep.1.in:
5519 * tools/gst-compprep.c:
5520 removing -compprep and -complete
5522 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
5524 * gst/gstevent.c: (gst_event_new_new_segment),
5525 (gst_event_parse_new_segment):
5527 fix #320529 - clean up new_segment API and structure.
5528 Let's hope everyone was using the methods, and not the structure.
5530 2005-11-29 Edward Hervey <edward@fluendo.com>
5532 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5533 (gst_base_sink_event), (gst_base_sink_do_sync),
5534 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
5535 Properly handle non GST_FORMAT_TIME segment
5536 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
5537 Properly handle non GST_FORMAT_TIME segment
5539 This function is valid if the accumulator is 0 and the format
5540 is different from the requested format.
5542 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
5544 * docs/gst/gstreamer-sections.txt:
5545 Add gst_query_new_seeking and gst_query_parse_seeking to the
5548 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
5550 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
5551 Treat a pad alloc with new caps the same as if we were not
5552 negotiated, in order to allow a changing upstream output
5553 to produce a new format of data.
5555 2005-11-29 Edward Hervey <edward@fluendo.com>
5557 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
5558 (gst_base_transform_event), (gst_base_transform_eventfunc):
5559 The event virtual method is now properly implemented, with a default
5561 Sub classes should call the parent_class event method. They should
5562 return FALSE if they had a problem handling the given event, or don't
5563 want GstBaseTransform to send that even downstream
5564 * gst/elements/gstidentity.c: (gst_identity_class_init),
5565 (gst_identity_init), (gst_identity_event),
5566 (gst_identity_transform_ip), (gst_identity_set_property),
5567 (gst_identity_get_property):
5568 * gst/elements/gstidentity.h:
5569 Added the single-segment boolean property.
5570 If set to TRUE, it will output a single segment of data, starting from
5571 0, will eat up all incoming newsegment, and modify the timestamp of the
5574 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
5576 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
5577 Don't ref NULL target pad (#322751). Improve docs.
5579 2005-11-29 Michael Smith <msmith@fluendo.com>
5581 * gst/gstregistryxml.c: (load_plugin):
5582 Don't crash if we failed to load a feature from a plugin.
5584 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
5586 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
5588 use more check API and less GLib API
5590 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
5593 don't run checks if we don't have check
5595 remove the registry when running make torture
5596 * docs/gst/gstreamer-sections.txt:
5597 remove second multiply
5598 * gst/gstqueue.c: (gst_queue_loop):
5599 fix a compile warning when disabling debug
5601 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
5604 Hey! Let's print the pad name if the pointer != NULL instead
5605 of when it == NULL :-)
5607 2005-11-28 Wim Taymans <wim@fluendo.com>
5609 * check/gst/gstutils.c: (GST_START_TEST):
5610 Updated check, add some scaling accuracy checking code.
5612 * gst/gstutils.c: (gst_util_div128_64),
5613 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
5614 (gst_util_uint64_scale_int):
5615 Fix 6 times faster division code. Optimize for common
5616 1/1 and less common X/1 cases.
5618 2005-11-28 Wim Taymans <wim@fluendo.com>
5620 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
5623 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
5624 (do_linear_regression), (gst_clock_add_observation):
5626 Release lock when the clock cannot be slaved.
5627 Catch the case where the regression returned an invalid denominator.
5629 * gst/gstutils.c: (gst_util_div128_64_iterate),
5630 (gst_util_div128_64), (gst_util_uint64_scale_int64),
5631 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
5632 Add protentially more performant non-iterative 128/64 divide function
5633 that unfortunatly does not work yet.
5634 Shortcut the trivial 0/X = 0 case.
5635 Remove the warnings on overflow.
5637 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
5639 * gst/gstplugin.c: (gst_plugin_register_func):
5640 everything causing a plugin not to load should be at least a WARNING
5642 2005-11-28 Stefan Kost <ensonic@users.sf.net>
5644 * docs/random/ensonic/dparams.txt:
5645 some TODOs for the next dev cycle
5646 * libs/gst/controller/gstcontroller.c:
5647 (gst_controlled_property_set_interpolation_mode),
5648 (gst_controlled_property_new):
5649 * libs/gst/controller/gstcontroller.h:
5650 use base type to assign acccessor functions
5652 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
5654 * check/Makefile.am:
5655 Oops, that should have been top_srcdir
5657 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
5659 * check/Makefile.am:
5660 * check/elements/fdsrc.c: (GST_START_TEST):
5661 Use a cmdline define to specify the location of a file to use for
5662 testing, to avoid breaking distcheck.
5664 2005-11-28 Andy Wingo <wingo@pobox.com>
5666 * gst/gstpad.c (fixate_value): Use array functions for arrays.
5668 2005-11-28 Edward Hervey <edward@fluendo.com>
5670 * tools/gst-launch.c: (main):
5671 Clarify the output strings, makes it easier to translate.
5674 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
5677 don't try and build net if we don't even have <sys/socket.h>
5679 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
5681 * check/Makefile.am:
5682 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
5683 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
5684 Add tests for fdsrc seekability
5686 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
5687 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
5688 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
5689 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
5690 * gst/elements/gstfdsrc.h:
5691 fdsrc should not be a 'live' source.
5692 Implement seeking on seekable fd's.
5694 * gst/gstquery.c: (gst_query_new_seeking),
5695 (gst_query_parse_seeking):
5697 Implement SEEKING query functions:
5698 *_new_seeking and *_parse_seeking
5700 2005-11-27 Stefan Kost <ensonic@users.sf.net>
5702 * gst/gstelement.c: (gst_element_dispose):
5705 * gst/gstiterator.c:
5706 * gst/gststructure.c:
5709 * libs/gst/controller/gstcontroller.c:
5710 (gst_controlled_property_set_interpolation_mode):
5711 * libs/gst/controller/gstcontroller.h:
5712 * libs/gst/controller/gstinterpolation.c:
5713 (interpolate_none_get_enum_value_array):
5714 support controlling enums
5716 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
5719 Improve documentation for gst_value_union().
5722 Change return value for union, intersect and subtract functions
5723 from gint to gboolean.
5725 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
5727 * gst/gstvalue.c: (gst_value_serialize_any_list),
5728 (gst_value_transform_any_list_string),
5729 (gst_value_deserialize_list), (gst_value_deserialize_array),
5730 (gst_value_set_int_range), (gst_value_deserialize_int_range),
5731 (gst_value_set_double_range), (gst_value_deserialize_double_range),
5732 (gst_value_set_fraction_range_full),
5733 (gst_value_deserialize_fraction_range),
5734 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
5735 (gst_value_deserialize_boolean),
5736 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
5737 (gst_value_serialize_float), (gst_value_deserialize_float),
5738 (gst_string_wrap), (gst_value_deserialize_string),
5739 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
5740 (gst_value_union_int_range_int_range),
5741 (gst_value_intersect_int_range_int_range),
5742 (gst_value_intersect_double_range_double_range),
5743 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
5744 (gst_value_subtract_int_range_int_range),
5745 (gst_value_subtract_double_double_range),
5746 (gst_value_subtract_double_range_double_range),
5747 (gst_value_deserialize_fraction):
5749 Use gint, gdouble and gchar in our API instead of int, double and
5750 char (and make usage in gstvalue.c more consistent).
5752 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
5754 * check/Makefile.am:
5755 * libs/gst/controller/Makefile.am:
5756 * libs/gst/dataprotocol/Makefile.am:
5757 fix up Makefile.am and remove GST_ENABLE_NEW
5759 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
5763 * gst/base/Makefile.am:
5764 * gst/check/Makefile.am:
5765 * gst/elements/Makefile.am:
5766 * gst/net/Makefile.am:
5767 update LDFLAGS use some more
5769 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
5771 * common/m4/gst-doc.m4:
5774 2005-11-26 Edward Hervey <edward@fluendo.com>
5776 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
5777 This shouldn't issue a g_warning since it returns NULL if it
5778 couldn't find the plugin, and all functions using this behave
5779 properly on a NULL return. Switching to a GST_WARNING.
5781 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
5783 * gst/gstbin.c: (gst_bin_handle_message_func):
5784 Don't leak clock messages.
5786 2005-11-25 Wim Taymans <wim@fluendo.com>
5788 * gst/gstutils.c: (gst_util_uint64_scale_int64),
5789 (gst_util_uint64_scale_int):
5790 Optimisations, remove unneeded vars.
5792 2005-11-25 Wim Taymans <wim@fluendo.com>
5794 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
5795 Added more checks for the high precision uint64 cases.
5797 * gst/gstutils.c: (gst_util_uint64_scale_int64),
5798 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
5799 Implement high precision (guint64 * guint64) / guint64.
5801 2005-11-24 Wim Taymans <wim@fluendo.com>
5803 * gst/base/gstbasesrc.c: (gst_base_src_query):
5804 Fix wrong percentage query.
5806 * gst/gstutils.c: (gst_util_uint64_scale),
5807 (gst_util_uint64_scale_int):
5808 Add some more common cases that can be handled
5809 efficiently to _scale.
5811 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
5813 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
5814 (gst_mini_object_suite):
5815 don't use check calls from threads; check probably isn't
5816 threadsafe and using a lock to make it threadsafe would
5817 defeat the purpose of this check
5818 * gst/check/gstcheck.c:
5819 * gst/check/gstcheck.h:
5820 use GST_DEBUG some more
5822 2005-11-24 Wim Taymans <wim@fluendo.com>
5824 * gst/gstutils.c: (gst_util_uint64_scale),
5825 (gst_util_uint64_scale_int):
5826 Chain trivial case to _scale_int.
5828 2005-11-24 Wim Taymans <wim@fluendo.com>
5830 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
5831 Added test for scaling.
5836 * gst/gstutils.c: (gst_util_uint64_scale_int):
5837 Implemented high precision scaling code.
5839 2005-11-24 Stefan Kost <ensonic@users.sf.net>
5842 do not crash on pad==NULL
5844 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
5846 Patch by: Stefan Kost
5848 * common/gtk-doc.mak:
5849 * docs/gst/Makefile.am:
5850 * docs/libs/Makefile.am:
5851 Fix distcheck issues for the libraries docs build
5854 2005-11-24 Michael Smith <msmith@fluendo.com>
5856 * docs/manual/basics-helloworld.xml:
5857 Fix bug #315027: memory leak in example code in docs.
5859 2005-11-24 Michael Smith <msmith@fluendo.com>
5861 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5862 Unlock the PREROLL_LOCK in a failure case.
5864 2005-11-24 Wim Taymans <wim@fluendo.com>
5866 * docs/gst/gstreamer-sections.txt:
5867 * gst/base/gstadapter.h:
5868 * gst/base/gstbasesink.h:
5869 * gst/base/gstbasesrc.h:
5870 * gst/base/gstbasetransform.h:
5871 * gst/base/gstpushsrc.h:
5872 * gst/elements/gstfakesink.h:
5873 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
5874 * gst/elements/gstfakesrc.h:
5875 * gst/elements/gstfilesink.h:
5876 * gst/elements/gstfilesrc.h:
5879 * gst/gstbuffer.c: (_gst_buffer_copy):
5882 * gst/gstchildproxy.c:
5885 * gst/gstelementfactory.c:
5886 * gst/gstelementfactory.h:
5888 * gst/gstghostpad.h:
5890 * gst/gstinterface.h:
5891 * gst/gstminiobject.c:
5892 * gst/gstminiobject.h:
5895 * gst/gstpadtemplate.h:
5896 * gst/gstpipeline.h:
5897 * gst/gstpluginfeature.h:
5902 * gst/gsttagsetter.c:
5903 * gst/gsttagsetter.h:
5906 * gst/gsttypefind.h:
5909 * gst/net/gstnetclientclock.c:
5910 * gst/net/gstnetclientclock.h:
5911 * gst/net/gstnettimepacket.c:
5912 * gst/net/gstnettimeprovider.c:
5913 * gst/net/gstnettimeprovider.h:
5916 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
5918 * configure.ac: back to HEAD
5920 === release 0.9.6 ===
5922 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
5925 releasing 0.9.6, "Always On Time"
5927 2005-11-23 Wim Taymans <wim@fluendo.com>
5929 * docs/gst/gstreamer-sections.txt:
5930 * gst/glib-compat.c:
5931 * gst/gsttagsetter.c:
5933 * gst/net/gstnetclientclock.c:
5934 * gst/net/gstnettimepacket.h:
5937 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
5939 * docs/faq/using.xml:
5940 * docs/libs/tmpl/gstcontrol.sgml:
5941 * docs/manual/advanced-dparams.xml:
5942 * docs/manual/appendix-checklist.xml:
5943 * docs/manual/basics-elements.xml:
5944 * docs/pwg/other-source.xml:
5945 * docs/random/moving-plugins:
5947 * tools/gst-launch.1.in:
5948 remove mentions of sinesrc
5950 2005-11-23 Michael Smith <msmith@fluendo.com>
5952 * docs/gst/gstreamer-sections.txt:
5953 Update for new API and API changes.
5955 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
5957 Documentation typo fix.
5958 * gst/net/gstnettimepacket.c:
5959 Documentation fixes for arguments.
5961 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
5963 * gst/gststructure.c: (gst_structure_get_fraction),
5964 (gst_structure_parse_value),
5965 (gst_structure_fixate_field_nearest_fraction):
5966 * gst/gststructure.h:
5967 * gst/gstutils.c: (gst_util_uint64_scale_int):
5969 * scripts/update-funcnames:
5971 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
5972 Make gst_structure_fixate_field_nearest_fraction take a numerator
5973 and denominator argument instead of a GValue
5974 add gst_structure_get_fraction helper function.
5976 2005-11-23 Wim Taymans <wim@fluendo.com>
5978 * docs/design/part-TODO.txt:
5981 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
5982 * gst/net/gstnetclientclock.h:
5983 Use parent fields for timeout and window_size.
5985 2005-11-23 Andy Wingo <wingo@pobox.com>
5987 * check/net/gstnetclientclock.c (test_functioning): Adjust to
5988 rate_num/rate_denom change.
5990 * gst/net/gstnetclientclock.c
5991 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
5992 OBJECT_LOCK. Don't call add_observation with the lock.
5994 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
5996 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
5998 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
5999 deal with rate as a fraction whose numerator and denominator are
6000 GstClockTime values.
6001 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
6002 master; the other fields are protected by the SLAVE_LOCK.
6003 (do_linear_regression): Note that this must be called with the
6005 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
6006 OBJECT_LOCK. Call set_calibration instead of touching the
6008 (gst_clock_set_property, gst_clock_get_property): Protect
6009 master/slave parameters with the SLAVE_LOCK.
6011 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
6012 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
6013 note that all of the instance variables that add_observation and
6014 the set_master functions use are protected by that lock and not
6016 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
6018 * gst/gstclock.c (gst_clock_add_observation): No longer requires
6019 the caller to take the object lock.
6021 2005-11-23 Wim Taymans <wim@fluendo.com>
6023 * gst/gsterror.c: (_gst_core_errors_init):
6025 Add error for clock stuff.
6027 * gst/gstpipeline.c: (gst_pipeline_change_state),
6028 (gst_pipeline_set_clock):
6029 Post clock error when clock cannot be used in a pipeline.
6031 2005-11-23 Stefan Kost <ensonic@users.sf.net>
6033 * docs/gst/gstreamer-sections.txt:
6034 make two symbols from gstinfo private for the docs
6035 * gst/base/gstcollectpads.h:
6037 fix doc typos, update docs
6039 2005-11-22 Wim Taymans <wim@fluendo.com>
6041 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6042 (gst_base_sink_wait), (gst_base_sink_do_sync),
6043 (gst_base_sink_handle_event):
6044 * gst/base/gstbasesink.h:
6045 No need to store the clock, the parent element class already
6048 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
6049 Updates for clock_set returning a gboolean
6051 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
6052 (gst_clock_id_wait_async), (gst_clock_class_init),
6053 (gst_clock_init), (gst_clock_finalize),
6054 (gst_clock_get_internal_time), (gst_clock_get_time),
6055 (gst_clock_slave_callback), (gst_clock_set_master),
6056 (gst_clock_get_master), (do_linear_regression),
6057 (gst_clock_add_observation), (gst_clock_set_property),
6058 (gst_clock_get_property):
6060 Implement master/slave. When setting a clock as a slave, a
6061 periodic timeout is scheduled to sample master and slave times.
6062 Then the slave clock is recalibrated to match offset and rate
6063 of the master clock.
6064 Update logging a bit.
6065 Add flag so that a clock can state that is cannot be slaved to
6068 * gst/gstelement.c: (gst_element_set_clock):
6070 The set clock returns a gboolean for when an element cannot
6071 deal with the selected clock in the pipeline.
6073 * gst/gstpipeline.c: (gst_pipeline_change_state),
6074 (gst_pipeline_set_clock):
6075 * gst/gstpipeline.h:
6076 Handle the case where the selected clock cannot be set on
6079 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
6080 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
6081 (gst_net_client_clock_set_property),
6082 (gst_net_client_clock_get_property),
6083 (gst_net_client_clock_observe_times):
6084 * gst/net/gstnetclientclock.h:
6085 Use regression code in GstClock parent, remove duplicated
6088 2005-11-22 Michael Smith <msmith@fluendo.com>
6090 * gst/gstutils.c: (gst_util_clock_time_scale):
6092 * docs/gst/gstreamer-sections.txt:
6093 Rename method to have extra underscore.
6095 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
6097 * gst/elements/Makefile.am:
6098 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
6099 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
6100 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
6101 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
6102 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
6103 * gst/elements/gstfakesrc.h:
6104 * gst/gstqueue.c: (queue_leaky_get_type):
6105 correctly fix GEnumValues so that nick is the short lowercase
6107 * tools/gst-inspect.c: (print_element_properties_info):
6108 also show the nick, since it's useful to use from parse_launch
6112 2005-11-22 Michael Smith <msmith@fluendo.com>
6114 * gst/gstutils.c: (gst_util_clocktime_scale):
6116 * docs/gst/gstreamer-sections.txt:
6117 Add util method for scaling a clocktime by a fraction. Useful
6118 implementation is left as an exercise for the reader.
6120 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
6122 * gst/gstvalue.c: (gst_value_collect_fraction_range):
6123 If needed, allocate storage in the destination value during
6126 2005-11-22 Edward Hervey <edward@fluendo.com>
6128 * docs/gst/gstreamer-sections.txt:
6133 * gst/gstutils.c: (gst_util_set_object_arg):
6134 * tools/gst-compprep.c: (main):
6135 * tools/gst-inspect.c: (print_element_properties_info):
6136 Removed GstURI, closes bug #321061
6138 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
6140 * check/gst/gststructure.c: (GST_START_TEST):
6141 * gst/gststructure.c: (gst_structure_parse_value):
6142 Oops, broke automatic string type parsing.
6143 Add a test to catch it in future.
6145 2005-11-22 Andy Wingo <wingo@pobox.com>
6147 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
6148 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
6149 Actually rename the function implementations. Grr.
6151 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
6153 * check/gst/capslist.h:
6155 * check/gst/gststructure.c: (GST_START_TEST),
6156 (gst_structure_suite):
6157 Test automatic value type detection in gst_structure_from_string.
6158 * gst/gststructure.c: (gst_structure_parse_value):
6159 Add fraction as a type we try and guess automatically in
6160 caps/structure strings.
6162 2005-11-22 Andy Wingo <wingo@pobox.com>
6164 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
6166 * gst/gsttagsetter.h:
6167 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
6168 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
6169 (gst_tag_setter_add_tag_valist)
6170 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
6171 _add_values, _add_valist, and _add_valist_values. Since this is an
6172 interface the function suffixes should be more explicit so
6173 language binding don't end up with element.add_valist ->
6174 gst_tag_setter_add_valist, for example. Fixes #322069.
6176 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
6178 * check/gst/gstcaps.c: (GST_START_TEST):
6179 Extend caps string tests to check that a caps to string
6180 conversion is reversible and produces the same caps.
6182 * gst/gststructure.c: (gst_structure_value_get_generic_type):
6183 Output "fraction" as the generic type fraction range, so caps
6184 serialisation and deserialisation works.
6185 * check/gst/capslist.h:
6186 * gst/gstvalue.c: (gst_value_deserialize_fraction):
6187 Support 'MIN' and 'MAX' for deserialising fractions.
6189 2005-11-22 Andy Wingo <wingo@pobox.com>
6191 * gst/gstevent.h (gst_event_new_new_segment)
6192 (gst_event_parse_new_segment, gst_event_new_buffer_size)
6193 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
6194 Renamed from *_newsegment, *_buffersize, *_notarget.
6196 * scripts/update-funcnames: New script, performs the changes
6199 2005-11-22 Wim Taymans <wim@fluendo.com>
6201 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6202 Make sure the GstFlowReturn is returned.
6204 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
6205 (gst_bus_add_signal_watch):
6207 add gst_bus_add_signal_watch_full.
6209 * gst/gstplugin.c: (gst_plugin_load_file):
6210 Small style cleanup.
6212 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
6214 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
6215 Block the fakesrc srcpad when we send an event, to avoid
6216 contention on the stream_lock causing random test failures.
6218 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
6220 * check/gst/gstvalue.c: (GST_START_TEST):
6221 * gst/gstvalue.c: (gst_value_fraction_subtract):
6224 2005-11-22 Stefan Kost <ensonic@users.sf.net>
6227 include "gstchildproxy.h"
6228 * gst/gstchildproxy.h:
6229 * libs/gst/controller/gstcontroller.h:
6230 use G_GNUC_NULL_TERMINATED
6232 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
6234 * check/gst/capslist.h:
6235 * check/gst/gstcaps.c: (GST_START_TEST):
6236 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6237 * gst/gststructure.c: (gst_structure_parse_range),
6238 (gst_structure_fixate_field_nearest_fraction):
6239 * gst/gststructure.h:
6240 * gst/gstvalue.c: (gst_value_init_fraction_range),
6241 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
6242 (gst_value_collect_fraction_range),
6243 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
6244 (gst_value_set_fraction_range_full),
6245 (gst_value_get_fraction_range_min),
6246 (gst_value_get_fraction_range_max),
6247 (gst_value_serialize_fraction_range),
6248 (gst_value_transform_fraction_range_string),
6249 (gst_value_compare_fraction_range),
6250 (gst_value_deserialize_fraction_range),
6251 (gst_value_intersect_fraction_fraction_range),
6252 (gst_value_intersect_fraction_range_fraction_range),
6253 (gst_value_subtract_fraction_fraction_range),
6254 (gst_value_subtract_fraction_range_fraction),
6255 (gst_value_subtract_fraction_range_fraction_range),
6256 (gst_value_collect_fraction), (gst_value_fraction_multiply),
6257 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
6258 (gst_value_transform_string_fraction), (_gst_value_initialize):
6260 Implement fraction ranges and extend GstFraction to support
6261 arithmetic subtraction, as well as deserialization from integer
6262 strings such as "100"
6263 Add a testsuite as for int and double range set operations
6265 2005-11-21 Andy Wingo <wingo@pobox.com>
6269 * gst/gststructure.h: Add glib-compat.h.
6271 2005-11-21 Wim Taymans <wim@fluendo.com>
6273 * gst/gstbin.c: (gst_bin_change_state_func):
6276 2005-11-21 Wim Taymans <wim@fluendo.com>
6279 And add a nice define too.
6281 2005-11-21 Wim Taymans <wim@fluendo.com>
6283 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
6284 (gst_segment_new), (gst_segment_free), (gst_segment_init),
6285 (gst_segment_set_duration), (gst_segment_set_last_stop),
6286 (gst_segment_set_seek), (gst_segment_set_newsegment),
6287 (gst_segment_to_stream_time), (gst_segment_to_running_time),
6290 Make binding friendly.
6292 2005-11-21 Andy Wingo <wingo@pobox.com>
6294 * gst/gsttagsetter.h:
6296 * gst/gststructure.h:
6298 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
6301 * gst/gsterror.c (_gst_core_errors_init):
6302 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
6305 * gst/Makefile.am (gst_headers): Add glib-compat.h.
6306 (noinst_HEADERS): noinst the -private.
6308 2005-11-21 Michael Smith <msmith@fluendo.com>
6311 * gst/gstregistry.h:
6312 Remove unimplemented declarations for which we can see no sensible
6315 2005-11-21 Andy Wingo <wingo@pobox.com>
6317 * gst/gst.h: Include glib-compat.h.
6319 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
6321 * gst/glib-compat.c: Include the public and the private header.
6323 * gst/glib-compat-private.h: Copied here from glib-compat.h.
6327 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
6329 * check/gst/gstevent.c (create_custom_events): Check that
6330 FLUSH_STOP is serialized.
6332 * check/elements/identity.c (event_func):
6333 * check/elements/fakesrc.c (event_func): No stream lock, the core
6336 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
6337 stream lock taking, yay.
6339 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
6340 ensure that core takes the stream lock.
6342 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
6345 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
6346 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
6347 it already. For the flush start we do take it though so we get the
6348 right preroll state change messages.
6350 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
6351 the stream lock here, the core does it for us.
6353 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
6354 GST_STREAM_GET_LOCK.
6355 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
6356 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
6357 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
6358 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
6359 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
6360 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
6362 * gst/gstpad.c: Update for stream lock name change.
6364 * gst/base/gstbasesink.c: Update for preroll lock name change.
6366 2005-11-21 Wim Taymans <wim@fluendo.com>
6368 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
6369 (gst_clock_get_master):
6371 * gst/gstsystemclock.c: (gst_system_clock_init):
6372 Convert Clock flags to object flags.
6373 Added methods to manage master/slave clocks.
6375 2005-11-21 Wim Taymans <wim@fluendo.com>
6377 * check/gst/gstsegment.c: (GST_START_TEST):
6378 * docs/design/part-TODO.txt:
6379 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6380 (gst_base_sink_event), (gst_base_sink_do_sync),
6381 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
6382 (gst_base_sink_query), (gst_base_sink_change_state):
6383 * gst/base/gstbasesink.h:
6384 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
6385 (gst_base_src_default_newsegment),
6386 (gst_base_src_configure_segment), (gst_base_src_do_seek),
6387 (gst_base_src_get_range), (gst_base_src_loop),
6388 (gst_base_src_change_state):
6389 * gst/base/gstbasesrc.h:
6390 * gst/base/gstbasetransform.c:
6391 (gst_base_transform_prepare_output_buf),
6392 (gst_base_transform_event), (gst_base_transform_change_state):
6393 * gst/base/gstbasetransform.h:
6394 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
6395 (gst_collect_pads_event):
6396 * gst/base/gstcollectpads.h:
6397 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
6398 (gst_fake_src_create):
6399 * gst/elements/gstfakesrc.h:
6400 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
6401 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
6402 (gst_segment_set_last_stop), (gst_segment_set_seek),
6403 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
6404 (gst_segment_to_running_time), (gst_segment_clip):
6406 More segment updates, replace code in plugins with segment
6409 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
6411 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
6412 Don't ignore sscanf results
6414 2005-11-21 Andy Wingo <wingo@pobox.com>
6416 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
6419 * *.c: Ran scripts/update-macros. Oh yes.
6421 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
6422 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
6425 * scripts/update-macros: New script. Run it on your files to
6426 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
6429 2005-11-21 Stefan Kost <ensonic@users.sf.net>
6431 * docs/gst/Makefile.am:
6432 * docs/gst/gstreamer-docs.sgml:
6433 * docs/gst/gstreamer-sections.txt:
6434 * docs/gst/gstreamer.types:
6436 more docs fixes, add new api to the docs
6438 2005-11-21 Andy Wingo <wingo@pobox.com>
6440 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
6441 state_broadcast call.
6443 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
6445 2005-11-21 Julien MOUTTE <julien@moutte.net>
6447 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
6448 function calls for arrays.
6450 2005-11-21 Stefan Kost <ensonic@users.sf.net>
6452 * docs/random/ensonic/media-device-daemon.txt:
6453 wild idea, can this be done?
6454 * docs/gst/gstreamer-sections.txt:
6459 * gst/gstpluginfeature.c:
6463 doc fixes and additions
6465 2005-11-21 Andy Wingo <wingo@pobox.com>
6467 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
6468 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
6469 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
6470 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
6471 private to the basesrc implementation.
6473 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
6474 behalf of event function if necessary. It should no longer be
6475 necessary to take the stream lock in pad's event functions. Fixes
6478 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
6479 * docs/gst/gstreamer-sections.txt:
6480 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
6481 (gst_structure_fixate_field_nearest_double),
6482 (gst_structure_fixate_field_boolean):
6483 * gst/gststructure.h:
6484 * win32/common/libgstreamer.def:
6485 * win32/gstreamer.def:
6487 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
6490 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
6492 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
6493 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
6494 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
6495 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
6496 (gst_fdsrc_uri_handler_init):
6497 * gst/elements/gstfdsrc.h:
6498 Port fd:// URI handler from 0.8 to fdsrc
6500 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
6502 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
6503 (gst_value_serialize_fourcc):
6505 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
6506 consistent with our other format defines (#320324).
6508 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
6510 * gst/gstvalue.c: (gst_value_is_fixed):
6511 Revert previous commit. Value lists are by definition
6512 not fixed, as they are a list of possible values.
6514 2005-11-21 Andy Wingo <wingo@pobox.com>
6516 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
6517 during the stable series if we need it. Fixes #319178.
6519 * gst/gstevent.c (gst_event_new_filler): Removed.
6521 * check/gst/gstevent.c: Update comment about filler events.
6523 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
6525 * gst/gstvalue.c: (gst_value_is_fixed):
6526 Should handle both value arrays and value lists.
6528 2005-11-21 Andy Wingo <wingo@pobox.com>
6530 patch by: Alessandro Dessina <alessandro nnva org>
6532 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
6533 functions to access arrays. Fixes #321962.
6535 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
6537 * docs/gst/gstreamer.types:
6538 gst_collectpads_get_type => gst_collect_pads_get_type.
6540 * gst/base/gstbasetransform.c:
6541 Remove unused SIGNAL_HANDOFF enum.
6543 2005-11-21 Andy Wingo <wingo@pobox.com>
6545 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
6546 the event type (upstream, downstream, serialized). Renamed
6547 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
6548 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
6549 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
6551 * gst/gstevent.c: Update for new CUSTOM event names.
6553 * check/gst/gstevent.c: Update check for new CUSTOM event names.
6556 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
6559 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
6561 * docs/gst/gstreamer-sections.txt:
6562 * win32/common/libgstbase.def:
6563 * win32/libgstbase.def:
6564 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
6565 (gst_collect_pads_class_init), (gst_collect_pads_init),
6566 (gst_collect_pads_finalize), (gst_collect_pads_new),
6567 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
6568 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
6569 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
6570 (gst_collect_pads_start), (gst_collect_pads_stop),
6571 (gst_collect_pads_peek), (gst_collect_pads_pop),
6572 (gst_collect_pads_available), (gst_collect_pads_read),
6573 (gst_collect_pads_flush), (gst_collect_pads_event),
6574 (gst_collect_pads_chain):
6575 * gst/base/gstcollectpads.h:
6576 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
6577 unimplemented functions as unimplemented. Add padding to
6578 GstCollectData. (#320766, #320423)
6580 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
6583 Improve docs for DURATION message (usage of duration parameter)
6586 2005-11-20 Wim Taymans <wim@fluendo.com>
6588 * check/Makefile.am:
6589 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
6593 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
6594 (gst_segment_set_seek), (gst_segment_set_newsegment),
6595 (gst_segment_to_stream_time), (gst_segment_to_running_time),
6598 Added segment helper structure and methods. Not fully implemented
6600 Added segment check.
6602 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
6604 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6605 Add a deserialisation test for fractions
6606 * examples/metadata/read-metadata.c: (message_loop),
6607 (make_pipeline), (main):
6608 Fix up metadata reading sample.
6609 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
6611 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
6612 Don't try and fixate empty caps
6613 * gst/gst_private.h:
6614 Wrap in G_BEGIN_DECLS/G_END_DECLS
6615 * gst/gstvalue.c: (gst_value_collect_fraction),
6616 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
6617 (gst_value_transform_string_fraction),
6618 (gst_value_compare_fraction):
6619 Add some extra guards to ensure that we don't end up
6620 with an invalid denominator of 0 in a gstfraction and
6621 that fractions always get reduced.
6623 2005-11-20 Wim Taymans <wim@fluendo.com>
6625 * docs/gst/gstreamer-sections.txt:
6636 2005-11-20 Wim Taymans <wim@fluendo.com>
6638 * docs/design/part-TODO.txt:
6640 Make a proper enum of the flag.
6642 2005-11-19 Wim Taymans <wim@fluendo.com>
6644 * docs/design/part-TODO.txt:
6645 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
6646 (gst_format_to_quark), (gst_format_register):
6648 * gst/gstquery.c: (_gst_query_initialize),
6649 (gst_query_type_get_name), (gst_query_type_to_quark),
6650 (gst_query_type_register):
6652 Add type to quark and type to string conversions.
6654 2005-11-19 Andy Wingo <wingo@pobox.com>
6656 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
6659 2005-11-19 Wim Taymans <wim@fluendo.com>
6661 * docs/design/part-TODO.txt:
6662 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
6663 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
6664 (gst_bin_handle_message_func):
6666 Make message handling overridable.
6668 2005-11-19 Andy Wingo <wingo@pobox.com>
6670 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
6673 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
6675 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
6676 is a GstClockTime. Fixes #321710.
6678 * gst/gstclock.h (GstClock): Remove offset property. Add
6679 internal_calibration and external_calibration. Fix padding. Pad
6680 also by GstClockTime so we don't run into problems.
6682 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
6683 (gst_clock_get_rate_offset): Remove.
6684 (gst_clock_set_time_adjust): Remove. Fixes #321712.
6687 * gst/gstutils.c (g_static_rec_cond_wait)
6688 (g_static_rec_cond_timed_wait): Removed, no longer needed.
6690 * gst/gstbin.c: Remove terrible continue_state prototype.
6692 * gst/gstelement.h (gst_element_continue_state): Make public.
6695 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
6696 by continue_state. Fixes #319389.
6698 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
6699 Really fixes #168438. However I don't see anywhere where the
6700 filter function is called... stupid GStreamer...
6702 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
6703 don't have a dispose function, so it won't get called when the
6704 object is unreffed, but oh well!
6706 * gst/gstindex.c (gst_index_set_filter_full): New API function,
6707 allows a destroy function to be set so user_data can be freed.
6709 (gst_index_set_filter): Call gst_index_set_filter_full.
6711 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
6713 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
6714 string should produce an error, given the lack of a way to
6715 represent NULL strings. Fixes #165650.
6718 * gst/gstvalue.c (gst_value_array_append_value)
6719 (gst_value_array_prepend_value, gst_value_array_get_size)
6720 (gst_value_array_get_value): New API, copied from
6721 gst_value_list_*, only operates on arrays.
6722 (gst_value_list_append_value, gst_value_list_prepend_value)
6723 (gst_value_list_concat, gst_value_list_get_size)
6724 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
6726 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
6727 init_list, because it works on both.
6728 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
6729 (gst_value_copy_list_or_array): Renamed from copy_list.
6730 (gst_value_free_list_or_array): Renamed from free_list.
6731 (gst_value_collect_list_or_array): Renamed from collect_list.
6732 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
6733 (gst_value_list_or_array_peek_pointer): Renamed from
6735 (_gst_value_array_value_table, _gst_value_list_value_table):
6736 Update value table functions.
6737 (gst_value_compare_list_or_array): Renamed from compare_list.
6739 * gsttaglist.h: Whoops, foreach function returns void. Also fix
6743 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
6744 GstTagList*. Fixes #143472.
6746 * gst/gststructure.h: Clarify what the foreach/map functions can
6747 or can't do to their arguments.
6749 2005-11-18 Wim Taymans <wim@fluendo.com>
6751 * gst/gstclock.c: (gst_clock_set_calibration),
6752 (gst_clock_get_calibration):
6754 Calibration can be set with internal time equal to current
6757 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
6763 2005-11-18 Andy Wingo <wingo@pobox.com>
6766 * pkgconfig/gstreamer-net.pc.in:
6767 * pkgconfig/gstreamer-net-uninstalled.pc.in:
6768 * pkgconfig/Makefile.am: Add net pkgconfig files.
6770 2005-11-18 Stefan Kost <ensonic@users.sf.net>
6773 * gst/gstghostpad.c:
6779 2005-11-18 Andy Wingo <wingo@pobox.com>
6781 * gst/net/gstnetclientclock.c: Turn off debugging.
6783 * check/net/gstnetclientclock.c (test_functioning): Assert that the
6784 times connverge somewhat. Can't make a real test.
6786 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
6787 integer arithmetic. Return the minimum of the domain, which can be
6788 set as "internal" for gst_clock_set_calibration.
6789 (gst_net_client_clock_observe_times): Call _set_calibration.
6790 (gst_net_client_clock_new): Call _set_calibration instead of
6793 * check/net/gstnetclientclock.c (test_functioning): Use the right
6797 * gst/gstclock.c (gst_clock_get_calibration)
6798 (gst_clock_set_calibration): New functions, obsolete the ones I
6799 added yesterday. Doh. Precision issues mean we have to extrapolate
6800 from a point in the more recent past than 1970.
6801 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
6803 (gst_clock_adjust_unlocked): Use the right calibration data.
6805 2005-11-18 Edward Hervey <edward@fluendo.com>
6807 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
6808 Also reset the ->current_* values in READY->PAUSED
6810 2005-11-18 Andy Wingo <wingo@pobox.com>
6812 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
6813 Whoops, check the right fd. Also add some debugging.
6814 (gst_net_client_clock_observe_times): Adjust for int64 offset.
6815 (do_linear_regression): Add a crapload of debugging. Subtract off
6816 the minimum values from the input series to discard unneeded bits.
6817 Use only int arithmetic. There is still double arithmetic when
6818 calculating the intercept that needs fixing. Return boolean to
6819 indicate success; FALSE would mean the domain or range is too
6820 great. Still needs fixes.
6822 2005-11-18 Wim Taymans <wim@fluendo.com>
6824 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
6825 For the current position in stream time, we need to subtract
6828 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
6829 Release lock before calling the callback function of async
6832 2005-11-18 Andy Wingo <wingo@pobox.com>
6834 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
6835 Port goes all the way to MAXUINT16.
6837 * gst/net/gstnettimeprovider.c: Make the port range the same as
6838 for the kernel: 0 assigns, otherwise ports are less than
6841 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
6844 * check/net/gstnetclientclock.c (test_functioning): Add the start
6847 2005-11-18 Wim Taymans <wim@fluendo.com>
6849 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
6850 (gst_bin_remove_func), (bin_bus_handler):
6852 Removing a clock provider from a bin, triggers a clock lost message
6853 so that a new clock will be selected.
6854 Adding a clock to a bin triggers a clock provider message.
6855 Make sure we reselect a clock when we received a clock lost message.
6856 Keep a reference to the element that provided the clock.
6858 2005-11-18 Andy Wingo <wingo@pobox.com>
6860 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
6861 the clock initially so it produces values around the base time.
6862 (gst_net_client_clock_class_init): Typo fix.
6863 (gst_net_client_clock_thread): Add note on when the socket gets
6866 2005-11-17 Wim Taymans <wim@fluendo.com>
6868 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
6869 Free remote and local time arrays.
6871 2005-11-17 Wim Taymans <wim@fluendo.com>
6873 * gst/net/gstnetclientclock.c: (do_linear_regression),
6874 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
6875 Fix compilation, uninitialized vars and a forgotten continue.
6877 2005-11-17 Andy Wingo <wingo@pobox.com>
6879 * check/Makefile.am (check_PROGRAMS):
6880 * check/net/gstnetclientclock.c: Add a most minimal test for the
6881 net client clock. More to come later.
6884 * gst/net/Makefile.am: Add netclientclock.
6886 * gst/net/gstnetclientclock.h:
6887 * gst/net/gstnetclientclock.c: New files, implement an untested
6888 GstClock that takes its time from a network time provider.
6889 Implements the algorithm in network-clock.scm.
6891 * tests/network-clock.scm (*window-size*): Rename from
6893 * tests/network-clock.scm (network-time):
6894 * tests/network-clock-utils.scm (q-push): Update callers.
6896 2005-11-17 Wim Taymans <wim@fluendo.com>
6898 * gst/gstbin.c: (gst_bin_provide_clock_func),
6899 (gst_bin_sort_iterator_new):
6900 And unref the child too..
6902 2005-11-17 Wim Taymans <wim@fluendo.com>
6904 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
6905 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
6906 Refactor the sort iterator so it can be used while holding the
6908 Make clock selection select a clock closest to the source.
6910 2005-11-17 Michael Smith <msmith@fluendo.com>
6912 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
6913 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
6915 Anonymous structs are a gcc (and some other compilers) extension, so
6916 don't use them. Since this is only for ABI-compatibility, and our
6917 API/ABI freeze is over in a few days, this whole thing will only
6918 last a few days, so don't bother trying to think up a meaningful
6919 name for the struct.
6921 2005-11-17 Andy Wingo <wingo@pobox.com>
6923 * gst/gstclock.h (GstClock): Add rate and offset properties,
6924 preserving ABI stability. Add rate/offset accessors. Will file bug
6925 for the freeze break.
6927 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
6928 and offset, trying to keep precision and avoiding
6930 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
6931 functions. Make gst_clock_set_time_adjust obsolete.
6932 (gst_clock_set_time_adjust): Note that this function is obsolete.
6935 * gst/base/gstbasetransform.h: Make the ABI-stability hack
6936 greppable by using GST_PADDING-1+1.
6938 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
6940 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
6942 * gst/gstmessage.c: (gst_message_parse_clock_lost):
6943 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
6945 * gst/gstpadtemplate.h:
6946 * gst/gstpluginfeature.h:
6947 Don't use c++ style comments in headers (#321638).
6949 2005-11-16 Andy Wingo <wingo@pobox.com>
6951 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
6954 * check/net/gstnettimeprovider.c: Check to see that the time
6955 provider actually provides times. Works, yo!
6957 2005-11-16 Wim Taymans <wim@fluendo.com>
6959 * check/Makefile.am:
6962 * check/elements/fakesrc.c: (GST_START_TEST):
6963 Set element to NULL before disposing it.
6965 2005-11-16 Andy Wingo <wingo@pobox.com>
6967 * gst/net/Makefile.am:
6969 * gst/net/gstnettimeprovider.c:
6970 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
6971 provider, include it from gstnet.h, and add it to the build.
6973 * gst/net/gstnettimepacket.h:
6974 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
6975 sending and receiving.
6977 2005-11-16 Wim Taymans <wim@fluendo.com>
6979 * check/Makefile.am:
6980 Enable valgrind check.
6982 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
6983 (gst_fake_src_alloc_buffer):
6986 2005-11-16 Wim Taymans <wim@fluendo.com>
6988 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
6989 Call parent finalize too.
6991 2005-11-16 Wim Taymans <wim@fluendo.com>
6993 * check/Makefile.am:
6994 Enable valgrind check that should work fine now.
6996 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
6997 * gst/gstqueue.c: (gst_queue_init):
6998 Fix memleaks in pad allocation.
7000 2005-11-16 Andy Wingo <wingo@pobox.com>
7002 * gst/net/Makefile.am:
7003 * gst/net/gstnet.h: New part of core to hold network elements and
7004 objects. Put in core because it exposes API that applications want
7005 to use. The library is named libgstnet-tempname right now because
7006 of the existing libgstnet in gst-plugins-base. Solution is
7007 probably to rename the one in plugins-base; will file a bug for
7010 * gst/net/gstnettimeprovider.c:
7011 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
7012 get_time call over the network.
7015 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
7017 * check/Makefile.am:
7018 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
7019 get additions shortly.
7021 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
7023 * gst/gstpad.c: (gst_pad_new_from_static_template):
7025 add gst_pad_new_from_static_template functions
7026 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
7027 (gst_check_setup_sink_pad):
7028 * gst/elements/gsttee.c: (gst_tee_init):
7031 2005-11-16 Wim Taymans <wim@fluendo.com>
7033 * gst/gstpad.c: (gst_pad_pause_task):
7034 Removed warning, it's not really an error either.
7036 2005-11-16 Wim Taymans <wim@fluendo.com>
7038 * gst/base/gstbasetransform.c:
7039 (gst_base_transform_prepare_output_buf),
7040 (gst_base_transform_event):
7041 Check if the caps are NULL, this can happen if the element
7042 is shutting down and the pad caps are set to NULL.
7044 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
7046 * gst/elements/gsttee.c: (gst_tee_init):
7047 fix pad template leak in tee
7049 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
7051 * gst/glib-compat.c: (g_value_dup_gst_object):
7052 * gst/glib-compat.h:
7053 * gst/gstpad.c: (gst_pad_set_property):
7054 use gst_object_ref when setting the pad template; this will
7055 trigger the pad template leaks on GLib 2.6 and the slaves
7057 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
7059 * gst/glib-compat.c: (gst_flags_get_first_value):
7060 * gst/glib-compat.h:
7061 * gst/gstregistryxml.c:
7062 remove functions copied from GLib 2.6
7064 2005-11-16 Michael Smith <msmith@fluendo.com>
7067 Don't link against VALGRIND_LIBS. That was always the wrong thing to
7068 do, but only breaks with newer valgrind versions. We're not a
7069 valgrind tool, we have no link-time dependencies on libcoregrind.
7071 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
7073 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
7078 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
7080 * gst/base/gstbasesrc.c: (gst_base_src_init):
7081 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
7082 * gst/gstqueue.c: (gst_queue_init):
7083 * gst/gstregistryxml.c: (load_feature):
7084 Revert all these unrefs, they don't even pass make check !
7086 2005-11-15 Johan Dahlin <johan@gnome.org>
7088 * gst/base/gstbasesrc.c: (gst_base_src_init):
7089 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
7090 * gst/gstqueue.c: (gst_queue_init):
7091 Free pad templates, fixes a couple of leaks.
7093 2005-11-15 Daniel Fischer <dan at f3c dot com>
7095 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
7097 * gst/gstpad.c: (gst_pad_get_property):
7098 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
7099 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
7102 2005-11-15 Wim Taymans <wim@fluendo.com>
7107 2005-11-15 Andy Wingo <wingo@pobox.com>
7109 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
7111 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
7112 using GST_CLOCK_TIME_NONE to disable base time management.
7113 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
7114 time if it was NONE before.
7115 (gst_pipeline_change_state): Only munge the base time if
7116 stream_time != GST_CLOCK_TIME_NONE.
7118 * check/gst/gstpipeline.c (test_base_time): Punt around the
7119 problem of the probe not being called, because that's not the
7120 issue I'm looking at. Add a check that setting stream_time to NONE
7121 disables base time management.
7123 2005-11-15 Wim Taymans <wim@fluendo.com>
7125 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
7126 segment_stop == -1 at startup.
7128 * gst/base/gstbasetransform.c: (gst_base_transform_event),
7129 (gst_base_transform_change_state):
7130 Init segment values at start.
7132 2005-11-15 Wim Taymans <wim@fluendo.com>
7134 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7135 0 segment values are 0 in any format.
7137 * gst/base/gstbasetransform.c: (gst_base_transform_event):
7138 * gst/base/gstbasetransform.h:
7139 Parse newsegment correctly in basetransform
7141 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
7142 Sync to clock using updated segment values.
7144 2005-11-15 Andy Wingo <wingo@pobox.com>
7146 * check/gst/gstpipeline.c (test_base_time): Add check that the
7147 base time and stream time are reset correctly.
7149 2005-11-15 Wim Taymans <wim@fluendo.com>
7151 * docs/design/part-TODO.txt:
7152 Some more TODO items.
7154 2005-11-15 Andy Wingo <wingo@pobox.com>
7156 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
7157 error if the user selected "no clock" as the clocking method.
7159 * check/gst/gstpipeline.c (test_base_time): New test for buffer
7160 timestamps with live capture.
7162 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
7163 is 0 but we are a live source, timestamp the buffers using the
7166 2005-11-14 Stefan Kost <ensonic@users.sf.net>
7168 * docs/gst/gstreamer-sections.txt:
7170 * gst/gstghostpad.c:
7175 2005-11-14 Wim Taymans <wim@fluendo.com>
7178 add suppressions from Wim's Debian machine
7180 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
7183 add suppressions from Andy's AMD64 Ubuntu machine
7185 2005-11-14 Andy Wingo <wingo@pobox.com>
7187 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
7188 STATE_LOCK not necessary. Fixes #311489.
7190 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
7193 * gst/gstindex.c (gst_index_add_object): Note in the docs that
7194 this function is not implemented.
7196 2005-11-14 Julien MOUTTE <julien@moutte.net>
7198 * gst/base/gstbasetransform.c:
7199 (gst_base_transform_prepare_output_buf):
7200 Ref the source pad caps while we need them.
7203 2005-11-11 Wim Taymans <wim@fluendo.com>
7205 * docs/gst/gstreamer-sections.txt:
7206 Added some docs for GstCollectData.
7208 * gst/base/gstadapter.c:
7209 Some small code example fix.
7211 * gst/base/gstcollectpads.c:
7212 * gst/base/gstcollectpads.h:
7215 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
7217 * configure.ac: back to HEAD
7219 === release 0.9.5 ===
7221 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
7224 releasing 0.9.5, "Bike Lunch Day"
7226 2005-11-11 Wim Taymans <wim@fluendo.com>
7228 * gst/gstbuffer.c: (_gst_buffer_copy):
7231 * gst/gstcaps.c: (gst_caps_is_equal):
7233 Make _is_equal fast in the trivial cases.
7235 * gst/gstminiobject.c:
7236 * gst/gstminiobject.h:
7237 More docs. Spifify .h file.
7242 2005-11-11 Wim Taymans <wim@fluendo.com>
7244 * gst/base/gstbasetransform.c:
7245 (gst_base_transform_prepare_output_buf),
7246 (gst_base_transform_handle_buffer):
7248 If we're processing a buffer and need to allocate an output
7249 buffer, we cannot accept a format change. If we did get a
7250 format change, we have to alloc a buffer ourselves of the
7253 2005-11-11 Wim Taymans <wim@fluendo.com>
7255 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
7256 While checking the flag for reentrancy in the gstcaps function
7257 is nice to detect recursive invocations, it also makes it
7258 impossible to call getcaps from multiple threads, which must be
7259 possible. So, checking for recursive calls has to go.
7261 2005-11-11 Michael Smith <msmith@fluendo.com>
7263 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
7264 Don't sync on buffers that fall partially outside our current
7265 segment. Prevents an assertion failure/abort playing some files.
7267 2005-11-10 Andy Wingo <wingo@pobox.com>
7269 * check/gst/gstbin.c (test_message_state_changed_children): Style
7272 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
7273 gst_bus_poll with the signal watch. Ensures that poll and a signal
7274 watch see the same messages.
7276 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
7277 a poll and a watch at the same time get the same messages.
7279 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
7281 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
7282 * gst/gstcaps.c: (gst_caps_intersect):
7283 Don't call gst_caps_do_simplify - it doesn't respect order of caps
7284 and it's not needed.
7286 2005-11-10 Wim Taymans <wim@fluendo.com>
7288 * docs/design/part-TODO.txt:
7291 2005-11-10 Wim Taymans <wim@fluendo.com>
7293 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
7294 * gst/base/gstbasesrc.c: (gst_base_src_wait),
7295 (gst_base_src_do_sync), (gst_base_src_get_range):
7296 Implement clock sync in base class.
7298 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
7300 patch by: Tim-Philipp Müller <tim at centricular dot net>
7302 * gst/gststructure.c: (gst_structure_parse_field),
7303 (gst_structure_from_string):
7304 Forward-port a 0.8 patch to handle escaped spaces in structure string,
7305 so that gst_parse_launch() can deal with spaces in filtered link
7306 caps (fixes #164479)
7307 * check/gst/capslist.h:
7308 * check/gst/gststructure.c: (GST_START_TEST):
7309 add unit tests for this change
7311 2005-11-10 Wim Taymans <wim@fluendo.com>
7313 * docs/gst/gstreamer-sections.txt:
7316 Fix docs, move some STATE macros to private.
7318 2005-11-10 Wim Taymans <wim@fluendo.com>
7320 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
7321 Added check for bug #317341
7325 Some more spiffifying.
7327 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
7328 Call peer linkfunction if we are a source pad. Totally fixes
7332 Update docs, source pads should call the peer linkfunction
7333 so they can atomically perform the pad link.
7335 2005-11-09 Wim Taymans <wim@fluendo.com>
7339 Uber-spiffy-spiffify some more.
7341 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
7343 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
7344 * gst/elements/gstfilesink.c: (gst_file_sink_init):
7345 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
7346 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
7347 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
7348 * gst/gstpad.c: (gst_pad_init):
7349 Use GST_DEBUG_FUNCPTR() more extensively.
7351 2005-11-09 Wim Taymans <wim@fluendo.com>
7353 * gst/gstobject.c: (gst_object_class_init):
7355 Documentation fixes.
7357 2005-11-09 Edward Hervey <edward@fluendo.com>
7359 * gst/gsttypefindfactory.c:
7362 2005-11-09 Edward Hervey <edward@fluendo.com>
7364 * gst/base/gsttypefindhelper.c:
7365 * gst/gsttypefind.c:
7366 * gst/gsttypefind.h:
7369 2005-11-09 Wim Taymans <wim@fluendo.com>
7371 * gst/gstiterator.c:
7378 2005-11-09 Wim Taymans <wim@fluendo.com>
7384 2005-11-09 Wim Taymans <wim@fluendo.com>
7386 * docs/gst/gstreamer-sections.txt:
7387 Moved the message async delivery private lock and cond
7388 to the private section.
7394 2005-11-09 Edward Hervey <edward@fluendo.com>
7396 * docs/gst/gstreamer-sections.txt:
7399 Document GstURIHandler
7401 2005-11-09 Wim Taymans <wim@fluendo.com>
7403 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
7404 (gst_iterator_find_custom):
7405 * gst/gstiterator.h:
7408 2005-11-09 Wim Taymans <wim@fluendo.com>
7411 Document another field.
7413 * gst/gststructure.c:
7414 * gst/gststructure.h:
7417 2005-11-09 Wim Taymans <wim@fluendo.com>
7422 2005-11-09 Wim Taymans <wim@fluendo.com>
7424 * docs/gst/gstreamer-sections.txt:
7425 Added some new macros.
7432 2005-11-09 Wim Taymans <wim@fluendo.com>
7434 * docs/design/part-TODO.txt:
7435 Some more items for the TODO
7441 2005-11-09 Andy Wingo <wingo@pobox.com>
7443 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
7444 to work on something else now tho...
7446 * gst/base/gstadapter.c: More adapter docs.
7448 * gst/elements/gstfilesink.c (gst_file_sink_start)
7449 (gst_file_sink_stop): New functions, replace the state change
7451 (gst_file_sink_class_init): Hook up the start and stop functions.
7452 (gst_file_sink_base_init): Don't set the state change handler any
7453 more. It was a bit ugly too, being set from here...
7454 (gst_file_sink_get_property, gst_file_sink_set_property):
7456 (gst_file_sink_set_location): More robust check that doesn't call
7459 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
7461 * gst/base/gstbasetransform.c: (gst_base_transform_event):
7462 Hold STREAM_LOCK while pushing newsegment or tag events as well.
7464 2005-11-08 Wim Taymans <wim@fluendo.com>
7466 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
7467 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
7468 (gst_base_sink_chain), (gst_base_sink_change_state):
7469 * gst/base/gstbasesink.h:
7470 * gst/base/gstbasesrc.h:
7473 Avoid excessive typechecking in macros.
7475 * gst/gstminiobject.c: (gst_mini_object_get_type),
7476 (gst_mini_object_init), (gst_mini_object_new),
7477 (gst_mini_object_free):
7478 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
7479 (gst_object_finalize):
7480 Remove cruft code, optimize alloc_trace.
7482 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
7484 * docs/faq/gst-uninstalled:
7485 fix up PS1 for systems that try to reset it
7487 2005-11-07 Wim Taymans <wim@fluendo.com>
7489 * gst/base/gstbasesrc.c: (gst_base_src_init),
7490 (gst_base_src_get_range):
7491 Set the segment_end to -1 initially. Fixed typefind.
7493 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
7495 * gst/base/gstadapter.c:
7496 Debug category should be 'adapter', not 'GstAdapter'.
7498 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
7499 (gst_collectpads_class_init), (gst_collectpads_init),
7500 (gst_collectpads_peek), (gst_collectpads_pop),
7501 (gst_collectpads_event), (gst_collectpads_chain):
7502 Add debug category and some debugging output. Use boilerplate
7503 macros. Remove some extraneous words from docs.
7505 2005-11-05 Andy Wingo <wingo@pobox.com>
7507 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
7510 2005-11-04 Stefan Kost <ensonic@users.sf.net>
7512 * docs/gst/gstreamer-sections.txt:
7515 * gst/gstminiobject.h:
7520 2005-11-04 Wim Taymans <wim@fluendo.com>
7522 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
7523 Small update to stop at the configured segment_end
7526 2005-11-04 Stefan Kost <ensonic@users.sf.net>
7528 * gst/gstregistry.c:
7529 * gst/gstregistry.h:
7532 2005-11-04 Edward Hervey <edward@fluendo.com>
7534 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
7535 Check if we are doing a segment seek and have arrived at the
7536 end of that segment.
7538 2005-11-04 Wim Taymans <wim@fluendo.com>
7540 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
7541 Don't leak a mutex unlock in case of an error.
7546 2005-11-04 Wim Taymans <wim@fluendo.com>
7548 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
7550 Get the context to wake up only once.
7552 2005-11-03 Wim Taymans <wim@fluendo.com>
7554 * check/states/sinks.c: (GST_START_TEST):
7555 Uncomment fixed check.
7557 * docs/design/part-TODO.txt:
7560 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7561 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
7562 (gst_base_sink_get_position):
7563 If we are going to PLAYING, post the right pending state
7564 when we post the intermediate paused message.
7566 * gst/gstelement.c: (gst_element_continue_state),
7567 (gst_element_set_state_func), (gst_element_change_state):
7568 Don't post state changes that were between the same state
7571 2005-11-03 Stefan Kost <ensonic@users.sf.net>
7573 * docs/gst/gstreamer-sections.txt:
7576 * gst/gstminiobject.h:
7579 more docs and doc style fixes
7581 2005-11-03 Stefan Kost <ensonic@users.sf.net>
7583 * docs/gst/gstreamer-sections.txt:
7585 * gst/gstminiobject.c:
7588 2005-11-03 Andy Wingo <wingo@pobox.com>
7590 * check/states/sinks.c (test_livesrc_sink): Add checks that the
7591 state-changed messages actually have the right order and the right
7594 2005-11-03 Wim Taymans <wim@fluendo.com>
7596 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
7597 Added some more checks. Specifically the case where NO_PREROLL
7598 elements are in the pipeline.
7600 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7601 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
7602 (gst_base_sink_get_position):
7603 Post READY->PAUSED state change messages too.
7604 Fix bug where VOID was posted as pending state...
7606 * gst/gstbin.c: (gst_bin_recalc_state):
7607 use _element_continue_state() to continue the state change.
7609 * gst/gstelement.c: (gst_element_continue_state),
7610 (gst_element_commit_state), (gst_element_set_state_func),
7611 (gst_element_change_state), (gst_element_change_state_func):
7612 Lots of state change cleanups, assign the STATE_RETURN in
7613 a new continue_state() function that also propagates the
7614 last return value from a state change to the app.
7615 Update some debug statements with proper category.
7617 2005-11-03 Wim Taymans <wim@fluendo.com>
7619 * docs/design/part-events.txt:
7620 * docs/design/part-gstpipeline.txt:
7621 * docs/design/part-messages.txt:
7622 * docs/design/part-overview.txt:
7623 * docs/design/part-seeking.txt:
7624 * docs/design/part-states.txt:
7625 * docs/design/part-trickmodes.txt:
7626 * docs/manual/advanced-position.xml:
7630 People think !! is ugly, this looks better.
7632 * gst/gstpad.c: (gst_pad_set_blocked_async):
7633 Remove !! since it's fixed elsewhere now.
7635 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
7637 * gst/gstminiobject.h:
7639 Add !! to _FLAG_IS_SET macros to make the result boolean.
7641 2005-11-03 Edward Hervey <edward@fluendo.com>
7643 * gst/gstpad.c: (gst_pad_set_blocked_async):
7644 comparing a flag and a gboolean rarely returns coherent results...
7645 Added two characters (!!) to make that work correctly.
7647 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
7649 * gst/gstbus.c: (gst_bus_class_init):
7652 * gst/gstqueue.c: (gst_queue_loop):
7653 Don't assume a miniobject that isn't a buffer is an
7654 event (it could be that there is a refcounting
7655 problem somewhere and the pointer is stale and
7656 refers to an already destroyed miniobject).
7658 2005-11-03 Julien MOUTTE <julien@moutte.net>
7660 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
7662 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
7664 * docs/manual/advanced-position.xml:
7665 Update seek example and explanations to current 0.9 API.
7667 * gst/elements/gsttypefindelement.c:
7668 (gst_type_find_element_activate):
7669 Remove FIXME comment now that the found caps
7672 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
7674 * gst/gstregistryxml.c: (load_feature):
7675 Add another GST_STR_NULL instance
7677 2005-11-02 Edward Hervey <edward@fluendo.com>
7679 * gst/gstpad.c: (handle_pad_block):
7680 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
7682 2005-11-02 Wim Taymans <wim@fluendo.com>
7687 * gst/gstelement.c: (gst_element_commit_state):
7688 Remove unused value.
7690 * gst/gstiterator.c:
7691 Mention that the returned element is reffed in the docs.
7693 2005-11-02 Wim Taymans <wim@fluendo.com>
7695 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
7696 (gst_pad_push), (gst_pad_push_event):
7697 Unlock blocked pads when they are flushed.
7699 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
7702 * docs/gst/gstreamer-sections.txt:
7705 * gst/gstregistry.c: (gst_registry_scan_path_level):
7706 fix for a nasty little missed situation where an installed plug-in
7707 which was in the cache did not get overridden by an uninstalled one
7708 which was earlier in the plugin path because the newly created plugin
7709 for the uninstalled one (not in the registry) didn't get its
7710 ->registered set to TRUE
7712 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
7714 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
7715 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
7716 (gst_collectpads_is_active), (gst_collectpads_collect),
7717 (gst_collectpads_collect_range), (gst_collectpads_start),
7718 (gst_collectpads_stop), (gst_collectpads_peek),
7719 (gst_collectpads_pop), (gst_collectpads_available),
7720 (gst_collectpads_read), (gst_collectpads_flush):
7721 Guard public API with assertions.
7724 Fix docs for gst_pad_set_link_function().
7726 2005-11-02 Johan Dahlin <johan@gnome.org>
7728 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
7729 Unref found_caps after we used it.
7731 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
7733 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
7734 Don't try to ref NULL.
7736 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
7738 * win32/common/config.h.in:
7739 provide a GST_FUNCTION that just gives a string for now
7741 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
7743 * win32/common/gstenumtypes.c: (register_gst_object_flags),
7744 (gst_object_flags_get_type), (register_gst_bin_flags),
7745 (gst_bin_flags_get_type), (register_gst_buffer_flag),
7746 (gst_buffer_flag_get_type), (register_gst_bus_flags),
7747 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
7748 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
7749 (gst_clock_return_get_type), (register_gst_clock_entry_type),
7750 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
7751 (gst_clock_flags_get_type), (register_gst_state),
7752 (gst_state_get_type), (register_gst_state_change_return),
7753 (gst_state_change_return_get_type), (register_gst_state_change),
7754 (gst_state_change_get_type), (register_gst_element_flags),
7755 (gst_element_flags_get_type), (register_gst_core_error),
7756 (gst_core_error_get_type), (register_gst_library_error),
7757 (gst_library_error_get_type), (register_gst_resource_error),
7758 (gst_resource_error_get_type), (register_gst_stream_error),
7759 (gst_stream_error_get_type), (register_gst_event_type),
7760 (gst_event_type_get_type), (register_gst_seek_type),
7761 (gst_seek_type_get_type), (register_gst_seek_flags),
7762 (gst_seek_flags_get_type), (register_gst_format),
7763 (gst_format_get_type), (register_gst_index_certainty),
7764 (gst_index_certainty_get_type), (register_gst_index_entry_type),
7765 (gst_index_entry_type_get_type),
7766 (register_gst_index_lookup_method),
7767 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
7768 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
7769 (gst_index_resolver_method_get_type), (register_gst_index_flags),
7770 (gst_index_flags_get_type), (register_gst_debug_level),
7771 (gst_debug_level_get_type), (register_gst_debug_color_flags),
7772 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
7773 (gst_iterator_result_get_type), (register_gst_iterator_item),
7774 (gst_iterator_item_get_type), (register_gst_message_type),
7775 (gst_message_type_get_type), (register_gst_mini_object_flags),
7776 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
7777 (gst_pad_link_return_get_type), (register_gst_flow_return),
7778 (gst_flow_return_get_type), (register_gst_activate_mode),
7779 (gst_activate_mode_get_type), (register_gst_pad_direction),
7780 (gst_pad_direction_get_type), (register_gst_pad_flags),
7781 (gst_pad_flags_get_type), (register_gst_pad_presence),
7782 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
7783 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
7784 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
7785 (gst_plugin_error_get_type), (register_gst_plugin_flags),
7786 (gst_plugin_flags_get_type), (register_gst_rank),
7787 (gst_rank_get_type), (register_gst_query_type),
7788 (gst_query_type_get_type), (register_gst_tag_merge_mode),
7789 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
7790 (gst_tag_flag_get_type), (register_gst_task_state),
7791 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
7792 (gst_alloc_trace_flags_get_type),
7793 (register_gst_type_find_probability),
7794 (gst_type_find_probability_get_type), (register_gst_uri_type),
7795 (gst_uri_type_get_type), (register_gst_parse_error),
7796 (gst_parse_error_get_type):
7797 * win32/common/gstversion.h:
7800 2005-11-01 Luca Ognibene <luogni@tin.it>
7803 fix docs. popt is dead, long live GOption.
7805 2005-10-31 Wim Taymans <wim@fluendo.com>
7810 2005-10-31 Andy Wingo <wingo@pobox.com>
7814 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
7816 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
7817 need to serialize property notifications on GLib 2.8. GLib 2.6 has
7818 the possibility of deadlocks here if code calling notify() or
7819 set() has a lock that can be taken in another notify handler (ABBA
7820 with class lock and e.g. python GIL state lock).
7822 2005-10-28 Julien MOUTTE <julien@moutte.net>
7824 * gst/gstbus.c: Doc updates.
7826 2005-10-28 Wim Taymans <wim@fluendo.com>
7828 * docs/design/part-TODO.txt:
7829 * gst/gstiterator.c:
7830 * gst/gstsystemclock.c:
7831 * gst/gstsystemclock.h:
7834 2005-10-28 Edward Hervey <edward@fluendo.com>
7836 * docs/gst/gstreamer-docs.sgml:
7837 * docs/gst/gstreamer-sections.txt:
7838 the GstURIType documentation page is private, it only defines GstURIType
7839 which should be defined in the GstURIHandler page
7841 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
7843 * gst/gstbin.c: (gst_bin_class_init):
7846 Documentation updates.
7848 2005-10-28 Wim Taymans <wim@fluendo.com>
7850 * docs/gst/gstreamer-sections.txt:
7853 Documented the clocks.
7855 2005-10-28 Stefan Kost <ensonic@users.sf.net>
7857 * docs/gst/gstreamer-sections.txt:
7858 move some macros to private sections
7859 * gst/gstminiobject.c:
7860 * gst/gstminiobject.h:
7861 add descriptions provided by ds and some more
7863 mark macro as to be removed
7865 2005-10-28 Wim Taymans <wim@fluendo.com>
7867 * docs/design/part-TODO.txt:
7868 Add an item to TODO.
7870 * gst/gstiterator.c: (gst_iterator_fold),
7871 (gst_iterator_find_custom):
7872 * gst/gstiterator.h:
7875 2005-10-28 Wim Taymans <wim@fluendo.com>
7877 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
7878 (gst_base_transform_init):
7881 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
7882 An EOS event marks the queue as completely filled.
7884 2005-10-27 Wim Taymans <wim@fluendo.com>
7886 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7887 (gst_base_sink_do_sync), (gst_base_sink_get_position):
7888 Some more debugging.
7890 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
7891 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
7892 (gst_base_transform_event), (gst_base_transform_getrange),
7893 (gst_base_transform_chain):
7894 * gst/base/gstbasetransform.h:
7896 Protect transform and concurrent buffer alloc with a new lock.
7897 Try not to break ABI/API.
7899 2005-10-27 Wim Taymans <wim@fluendo.com>
7901 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
7902 (gst_base_src_init), (gst_base_src_query),
7903 (gst_base_src_default_newsegment),
7904 (gst_base_src_configure_segment), (gst_base_src_do_seek),
7905 (gst_base_src_send_event), (gst_base_src_event_handler),
7906 (gst_base_src_pad_get_range), (gst_base_src_loop),
7907 (gst_base_src_unlock), (gst_base_src_default_negotiate),
7908 (gst_base_src_start), (gst_base_src_deactivate),
7909 (gst_base_src_activate_push), (gst_base_src_change_state):
7910 Move some stuff around and cleanup things.
7912 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
7914 * gst/base/gstbasesrc.c: (gst_base_src_query):
7915 Add missing break statements.
7917 2005-10-27 Wim Taymans <wim@fluendo.com>
7919 * check/gst/gstbin.c: (GST_START_TEST):
7920 An extra refcount is taken in basesrc.
7922 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
7923 (gst_base_src_get_range), (gst_base_src_pad_get_range),
7924 (gst_base_src_loop):
7925 Small cleanups, check for flushing after being unlocked from the
7926 LIVE_LOCK. take refcounts correctly (not yet everywhere).
7927 Don't send out EOS when going to READY.
7929 2005-10-27 Wim Taymans <wim@fluendo.com>
7931 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7932 (gst_base_sink_get_position):
7935 * gst/gstbin.c: (message_check), (bin_replace_message),
7936 (bin_remove_messages), (is_eos), (gst_bin_add_func),
7937 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
7938 (bin_query_duration_init), (bin_query_duration_fold),
7939 (bin_query_duration_done), (bin_query_generic_fold),
7941 * tools/gst-launch.c: (main):
7944 2005-10-26 Stefan Kost <ensonic@users.sf.net>
7946 * examples/controller/audio-example.c: (main):
7947 * examples/queue/queue.c: (event_loop):
7948 * gst/base/gstbasetransform.h:
7949 * gst/gstelement.c: (gst_element_send_event):
7951 * gst/gstpad.c: (gst_pad_send_event):
7954 changing log priority in error situations
7956 2005-10-25 Wim Taymans <wim@fluendo.com>
7958 * gst/gstbin.c: (message_check), (bin_replace_message),
7959 (bin_remove_messages), (is_eos), (gst_bin_add_func),
7960 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
7961 (bin_query_duration_init), (bin_query_duration_fold),
7962 (bin_query_duration_done), (bin_query_generic_fold),
7964 Some doc and debug updates.
7965 Cache previously requested query DURATION for speed. invalidate
7966 cached duration if element posts a DURATION message.
7968 2005-10-25 Wim Taymans <wim@fluendo.com>
7970 * docs/design/part-TODO.txt:
7973 * gst/gstbin.c: (message_check), (bin_replace_message),
7974 (bin_remove_messages), (is_eos), (gst_bin_add_func),
7975 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
7976 (bin_query_duration_init), (bin_query_duration_fold),
7977 (bin_query_duration_done), (bin_query_generic_fold),
7979 Handle SEGMENT_START/DONE messages correctly.
7980 More evolved query algorithm that handles duration queries
7983 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
7984 (gst_element_get_state_func), (gst_element_abort_state),
7985 (gst_element_commit_state), (gst_element_lost_state):
7986 Some more debugging.
7991 2005-10-25 Wim Taymans <wim@fluendo.com>
7993 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
7994 Don't use invalid stream_time.
7996 * gst/gstevent.c: (gst_event_new_newsegment):
7997 stream_time in newsegment cannot be undefined.
7999 2005-10-24 Wim Taymans <wim@fluendo.com>
8004 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8006 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
8008 2005-10-24 Stefan Kost <ensonic@users.sf.net>
8010 * docs/libs/tmpl/gstdparam.sgml:
8011 * docs/libs/tmpl/gstdplinint.sgml:
8012 * docs/libs/tmpl/gstdpman.sgml:
8013 * docs/libs/tmpl/gstdpsmooth.sgml:
8014 * docs/libs/tmpl/gstunitconvert.sgml:
8017 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
8022 === release 0.9.4 ===
8024 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
8027 releasing 0.9.4, "Tyrannosaurus Rex"
8029 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
8031 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
8032 (gst_file_sink_get_current_offset):
8033 Use fseeko() and ftello() if available. When falling back on
8034 lseek() to get the current offset, fflush() first to make sure
8035 everything is up-to-date and we get the right offset.
8037 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
8039 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8040 * gst/base/gstbasesrc.c: (gst_base_src_loop):
8041 * gst/gsterror.c: (_gst_stream_errors_init):
8043 * gst/gstqueue.c: (gst_queue_loop):
8045 remove prematurely added error category and clean up the instances
8047 2005-10-21 Wim Taymans <wim@fluendo.com>
8049 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8050 (gst_base_sink_get_position), (gst_base_sink_query),
8051 (gst_base_sink_change_state):
8052 Simply set the right flag when going to playing, that's all
8053 we need to do instead of calling a function inside the object
8054 lock (that could take the lock as well and deadlock)
8056 2005-10-21 Wim Taymans <wim@fluendo.com>
8058 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
8059 (gst_base_src_loop):
8060 Don't warn, the peer element knows what to do best when
8061 the seek failed, it might try something else.
8063 2005-10-21 Wim Taymans <wim@fluendo.com>
8065 * gst/base/gstbasesrc.c: (gst_base_src_init),
8066 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
8069 2005-10-21 Wim Taymans <wim@fluendo.com>
8071 * docs/design/part-segments.txt:
8074 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
8075 Correctly set caps, even on the subbufer.
8077 2005-10-21 Wim Taymans <wim@fluendo.com>
8079 * docs/gst/gstreamer-docs.sgml:
8080 * docs/gst/gstreamer-sections.txt:
8087 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
8091 And 2% more doc coverage.
8093 2005-10-21 Andy Wingo <wingo@pobox.com>
8095 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
8098 2005-10-20 Wim Taymans <wim@fluendo.com>
8100 * gst/gsterror.c: (gst_error_get_message):
8103 * gst/gststructure.c:
8108 2005-10-20 Wim Taymans <wim@fluendo.com>
8113 Another 1% more coverage.
8115 2005-10-20 Wim Taymans <wim@fluendo.com>
8117 * docs/gst/gstreamer-sections.txt:
8118 * gst/gstelement.c: (gst_element_get_state_func),
8119 (gst_element_abort_state), (gst_element_commit_state),
8120 (gst_element_lost_state):
8122 * gst/gstquery.c: (gst_query_set_position),
8123 (gst_query_parse_position), (gst_query_set_duration),
8124 (gst_query_parse_duration), (gst_query_new_convert):
8126 Yay! 1% more docs coverage.
8128 2005-10-20 Wim Taymans <wim@fluendo.com>
8131 * gst/gstquery.c: (gst_query_set_position),
8132 (gst_query_parse_position), (gst_query_set_duration),
8133 (gst_query_parse_duration), (gst_query_new_convert):
8135 * gst/gstutils.c: (gst_element_query_convert):
8137 Docs and consistency fixes.
8139 2005-10-20 Wim Taymans <wim@fluendo.com>
8145 2005-10-20 Wim Taymans <wim@fluendo.com>
8147 * gst/gstbin.c: (message_check), (bin_replace_message),
8148 (bin_remove_messages), (is_eos), (gst_bin_add_func),
8149 (update_degree), (gst_bin_sort_iterator_next),
8150 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
8151 Reworked the message handling a bit, cache the messages instead of
8152 only the senders. alows us to do more in the future.
8154 2005-10-20 Wim Taymans <wim@fluendo.com>
8156 * docs/design/part-TODO.txt:
8159 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
8160 (gst_base_sink_query):
8161 Don't use clock time to report position when in EOS.
8163 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
8165 * tools/gst-inspect.c: (print_interfaces),
8166 (print_element_properties_info), (print_element_info):
8167 Fix interface output with gst-inspect -a; don't print
8168 newlines after double/float properties.
8170 2005-10-20 Wim Taymans <wim@fluendo.com>
8172 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
8173 (gst_base_sink_query):
8174 Speed up current position calculation.
8176 * gst/base/gstbasesrc.c: (gst_base_src_query),
8177 (gst_base_src_default_newsegment):
8178 Correctly set stream position in newsegment.
8180 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
8181 (update_degree), (gst_bin_sort_iterator_next),
8182 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
8183 * gst/gstmessage.c: (gst_message_new_custom):
8184 Clean up debugging info
8186 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
8187 (gst_queue_loop), (gst_queue_handle_src_query):
8190 2005-10-19 Wim Taymans <wim@fluendo.com>
8192 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8193 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
8194 Fix query handling again.
8196 2005-10-19 Wim Taymans <wim@fluendo.com>
8198 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8199 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
8200 * gst/base/gstbasesrc.c: (gst_base_src_query):
8201 * gst/elements/gstfilesink.c: (gst_file_sink_query):
8202 * gst/elements/gsttypefindelement.c:
8203 (gst_type_find_handle_src_query), (find_element_get_length),
8204 (gst_type_find_element_activate):
8207 * gst/gstquery.c: (gst_query_new_position),
8208 (gst_query_set_position), (gst_query_parse_position),
8209 (gst_query_new_duration), (gst_query_set_duration),
8210 (gst_query_parse_duration), (gst_query_set_segment),
8211 (gst_query_parse_segment):
8213 Bundling query position/duration is not a good idea since duration
8214 does not change much and we don't want to recalculate it for every
8215 position query, so they are separated again..
8216 Base value in segment query is not needed.
8218 * gst/gstqueue.c: (gst_queue_handle_src_query):
8219 * gst/gstutils.c: (gst_element_query_position),
8220 (gst_element_query_duration), (gst_pad_query_position),
8221 (gst_pad_query_duration):
8223 Updates for query API change.
8224 Added some docs here and there.
8226 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
8228 * check/gst/gstbin.c: (GST_START_TEST):
8229 * check/gst/gstghostpad.c: (GST_START_TEST):
8230 * check/pipelines/cleanup.c: (GST_START_TEST):
8231 wait on thread to die so we can check refcount correctly
8233 2005-10-18 Wim Taymans <wim@fluendo.com>
8235 * check/pipelines/stress.c: (GST_START_TEST):
8236 Make check a little more time consuming.
8238 2005-10-18 Wim Taymans <wim@fluendo.com>
8240 * check/Makefile.am:
8241 * check/pipelines/stress.c: (GST_START_TEST),
8242 (simple_launch_lines_suite), (main):
8243 Small state change torture test.
8245 * docs/design/part-states.txt:
8246 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8247 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
8248 (gst_base_sink_change_state):
8249 Never take state lock from streaming thread, clean up ugly
8250 hacks. Unfortunatly core does not yet support nice ways to
8253 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
8255 Start state recalc if a STATE_DIRTY message is posted, but only
8256 on the toplevel bin.
8258 * gst/gstelement.c: (gst_element_sync_state_with_parent),
8259 (gst_element_get_state_func), (gst_element_abort_state),
8260 (gst_element_commit_state), (gst_element_lost_state),
8261 (gst_element_set_state_func), (gst_element_change_state):
8263 State variables are now protected with the LOCK, the state
8264 lock is only used to serialize _set_state().
8266 2005-10-18 Wim Taymans <wim@fluendo.com>
8268 * check/gst/gstbin.c: (GST_START_TEST):
8269 * check/gst/gstmessage.c: (GST_START_TEST):
8270 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
8271 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
8273 * gst/gstelement.c: (gst_element_abort_state),
8274 (gst_element_commit_state), (gst_element_lost_state):
8275 * gst/gstmessage.c: (gst_message_new_state_changed),
8276 (gst_message_new_state_dirty), (gst_message_new_segment_start),
8277 (gst_message_new_segment_done), (gst_message_new_duration),
8278 (gst_message_parse_state_changed),
8279 (gst_message_parse_segment_start),
8280 (gst_message_parse_segment_done), (gst_message_parse_duration):
8282 * tools/gst-launch.c: (event_loop):
8283 Seriously, this is better than a previous commit as we only need
8284 to notify the fact that an element changed state in a streaming
8285 thread, marking the state of the parents dirty, hence the
8286 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
8289 2005-10-18 Wim Taymans <wim@fluendo.com>
8291 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8292 (gst_bin_recalc_func):
8293 * gst/gstelement.c: (gst_element_set_clock),
8294 (gst_element_abort_state), (gst_element_lost_state):
8295 Cleanups, prepare for state change fixes.
8297 2005-10-18 Wim Taymans <wim@fluendo.com>
8300 * gst/gstelement.c: (gst_element_class_init),
8301 (gst_element_set_state), (gst_element_set_state_func):
8303 Pending ABI changes.
8304 GThreadPool in GstBinClass to monitor async state changes.
8305 state_cookie in GstElement to detect concurrent gst/set state.
8306 set_state is now virtual too in case a very complicated element
8307 has to be constructed.
8309 2005-10-18 Wim Taymans <wim@fluendo.com>
8311 * check/gst/gstbin.c: (GST_START_TEST):
8312 * check/gst/gstmessage.c: (GST_START_TEST):
8313 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
8314 * gst/gstbin.c: (bin_bus_handler):
8315 * gst/gstelement.c: (gst_element_commit_state),
8316 (gst_element_lost_state):
8317 * gst/gstmessage.c: (gst_message_new_state_changed),
8318 (gst_message_new_segment_start), (gst_message_new_segment_done),
8319 (gst_message_new_duration), (gst_message_parse_state_changed),
8320 (gst_message_parse_segment_start),
8321 (gst_message_parse_segment_done), (gst_message_parse_duration):
8323 * tools/gst-launch.c: (event_loop):
8324 Make messages future proof.
8325 state-change gets a flag if it was a message comming from the
8327 segment-start/stop can also be specified in other formats.
8328 A message to notify an app that a pipeline changed playback
8330 Also fix a GstMessage leak in -launch
8332 2005-10-18 Andy Wingo <wingo@pobox.com>
8334 * gst/gstelement.c (gst_element_dispose): More helpful message.
8336 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
8338 reviewed by: <delete if not using a buddy>
8340 * common/gtk-doc.mak:
8342 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
8344 * gst/gstregistry.c: (gst_registry_scan_path_level):
8345 unref a plug-in we get that was already initialized
8347 2005-10-18 Stefan Kost <ensonic@users.sf.net>
8349 * docs/gst/gstreamer-sections.txt:
8350 * docs/libs/gstreamer-libs-sections.txt:
8355 2005-10-17 Andy Wingo <wingo@pobox.com>
8357 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
8360 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
8362 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
8364 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
8365 (gst_element_get_state_func): Better debug message.
8366 (gst_element_commit_state): s/INFO/DEBUG/.
8367 (gst_element_lost_state, gst_element_change_state):
8369 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
8370 (gst_message_new_custom): s/INFO/LOG/.
8372 2005-10-17 Michael Smith <msmith@fluendo.com>
8374 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
8375 Check if end time is valid using end time, not start time.
8377 2005-10-17 Stefan Kost <ensonic@users.sf.net>
8379 * check/gst-libs/controller.c: (GST_START_TEST),
8380 (gst_controller_suite):
8381 * libs/gst/controller/gstcontroller.c:
8382 (gst_controlled_property_set_interpolation_mode):
8383 * libs/gst/controller/gstcontroller.h:
8384 * libs/gst/controller/gstinterpolation.c:
8385 * testsuite/controller/.cvsignore:
8386 * testsuite/controller/Makefile.am:
8387 * testsuite/controller/interpolator.c:
8388 merge controller testsuites
8390 remove mem-chunk from docs
8392 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
8394 * gst/gstmemchunk.c:
8395 * gst/gstmemchunk.h:
8396 * gst/gsttrashstack.c:
8397 * gst/gsttrashstack.h:
8398 out. get out. you're fired. to the Attic !
8400 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
8402 * gst/gstcaps.c: (gst_caps_intersect):
8403 fix signedness issues in a (hopefully) correct way
8404 * gst/gstelement.c: (gst_element_pads_activate):
8406 * gst/gstobject.c: (gst_object_set_parent):
8409 2005-10-17 Julien MOUTTE <julien@moutte.net>
8411 * gst/gstvalue.h: Fix prototypes.
8413 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
8415 * docs/gst/gstreamer-sections.txt:
8416 * gst/gst.c: (gst_version_string):
8418 * gst/gstversion.h.in:
8419 * win32/common/libgstreamer.def:
8420 add gst_version_string ()
8422 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
8426 * gst/gst.c: (init_post):
8427 * win32/common/config.h.in:
8429 * gst/gstcaps.c: (gst_caps_intersect):
8430 use gint64, the range could be bigger than a guint
8432 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
8435 document potential problem in 2038
8437 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
8439 * gst/gstcaps.c: (gst_caps_intersect):
8440 Fix guint j diving under 0
8442 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
8445 * win32/common/config.h:
8446 * win32/common/config.h.in:
8447 check for process.h, declares getpid() on Windows
8449 include process.h if we have it
8450 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
8451 * gst/gstmemchunk.h:
8452 fix signedness issues
8453 * win32/common/libgstreamer.def:
8456 2005-10-16 Julien MOUTTE <julien@moutte.net>
8458 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
8459 fix. Because of unsigned ints, caps intersection was going nuts and
8460 trying to access structures with G_MAXUINT index. That fixes
8461 videotestsrc ! ffmpegcolorspace ! fakesink
8462 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
8465 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
8468 use the gettext macro
8469 * gst/elements/gstelements.c:
8471 * gst/indexers/gstindexers.c:
8472 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
8473 * win32/common/config.h:
8475 * win32/common/config.h.in:
8476 add the template to generate config.h
8477 * win32/common/gstenumtypes.c:
8478 * win32/common/gstversion.h:
8481 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
8483 * gst/gst.c: (gst_version):
8484 * gst/gstversion.h.in:
8487 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
8490 Oops, add missing closing bracket.
8492 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
8495 use common m4's for argument checking
8497 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
8499 * docs/gst/gstreamer-sections.txt:
8501 Add GST_EVENT_TYPE_NAME() macro.
8503 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
8506 * gst/gstpluginfeature.c:
8508 privatize more symbols
8510 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
8513 add srcdir, builddir includes to GST_ALL_CFLAGS, since
8514 everything that uses GStreamer API should have the includes
8516 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
8518 * docs/gst/gstreamer-sections.txt:
8519 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
8521 give each value a _get_type, removes the DATA exports
8523 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
8527 remove _gst_registry_auto_load, not used anymore
8528 * gst/gstbin.c: (gst_bin_get_type):
8530 * gst/gstelement.c: (gst_element_get_type):
8532 * gst/gstobject.c: (gst_object_get_type):
8534 * gst/gstpad.c: (gst_pad_get_type):
8536 make _get_type functions similar, fixes data export from library
8538 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
8541 correctly make conditionals
8542 * gst/elements/Makefile.am:
8543 * gst/elements/gstelements.c:
8544 fix typo causing fdsrc not to build
8546 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
8548 * testsuite/Makefile.am:
8549 * testsuite/bytestream/.cvsignore:
8550 * testsuite/bytestream/Makefile.am:
8551 * testsuite/bytestream/filepadsink.c:
8552 * testsuite/bytestream/gstbstest.c:
8553 * testsuite/bytestream/test1.c:
8554 * testsuite/bytestream/testfile1:
8555 * testsuite/caps/normalisation.c:
8556 * testsuite/caps/random.c: (main):
8557 * testsuite/cleanup/.cvsignore:
8558 * testsuite/cleanup/Makefile.am:
8559 * testsuite/cleanup/cleanup1.c:
8560 * testsuite/cleanup/cleanup2.c:
8561 * testsuite/cleanup/cleanup3.c:
8562 * testsuite/cleanup/cleanup4.c:
8563 * testsuite/cleanup/cleanup5.c:
8564 * testsuite/controller/interpolator.c:
8565 * testsuite/debug/printf_extension.c: (main):
8566 * testsuite/elements/tee.c:
8567 * testsuite/negotiation/.cvsignore:
8568 * testsuite/negotiation/Makefile.am:
8569 * testsuite/negotiation/pad_link.c:
8570 * testsuite/pad/Makefile.am:
8571 * testsuite/pad/chainnopull.c:
8572 * testsuite/pad/getnopush.c:
8573 * testsuite/pad/link.c:
8574 * testsuite/refcounting/sched.c: (create_pipeline):
8575 * testsuite/registry/Makefile.am:
8576 * testsuite/registry/gst-print-formats.c:
8577 * testsuite/schedulers/.cvsignore:
8578 * testsuite/schedulers/142183-2.c:
8579 * testsuite/schedulers/142183.c:
8580 * testsuite/schedulers/143777-2.c:
8581 * testsuite/schedulers/143777.c:
8582 * testsuite/schedulers/147713.c:
8583 * testsuite/schedulers/147819.c:
8584 * testsuite/schedulers/147894-2.c:
8585 * testsuite/schedulers/147894.c:
8586 * testsuite/schedulers/Makefile.am:
8587 * testsuite/schedulers/group_link.c:
8588 * testsuite/schedulers/queue_link.c:
8589 * testsuite/schedulers/relink.c:
8590 * testsuite/schedulers/unlink.c:
8591 * testsuite/schedulers/unref.c:
8592 * testsuite/schedulers/useless_iteration.c:
8593 * testsuite/states/bin.c:
8594 clean out/remove some stuff from the testsuite directories
8596 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
8599 check for some headers
8600 * gst/elements/Makefile.am:
8601 * gst/elements/gstelements.c:
8602 don't compile fdsrc without sys/socket.h
8603 * gst/indexers/Makefile.am:
8604 * gst/indexers/gstindexers.c: (plugin_init):
8605 don't compile fileindex without mmap
8607 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
8614 * check/Makefile.am:
8615 * docs/gst/Makefile.am:
8616 * examples/helloworld/Makefile.am:
8618 * gst/base/Makefile.am:
8619 * gst/check/Makefile.am:
8620 * gst/elements/Makefile.am:
8621 * gst/indexers/Makefile.am:
8622 * gst/parse/Makefile.am:
8623 * libs/gst/controller/Makefile.am:
8624 * libs/gst/dataprotocol/Makefile.am:
8625 * examples/helloworld/helloworld.c: (event_loop):
8626 compile fixes, though it's not being compiled currently
8628 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
8630 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
8631 Add some simple tests for the new taglist date API.
8633 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
8635 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
8636 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
8637 Beautify 'last-message' output: print 'none' for buffer timestamps
8638 and durations if none is set; improve alignment with next messages.
8640 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
8642 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
8643 * gst/gstpluginfeature.h:
8644 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
8645 * gst/gstregistry.h:
8646 * docs/gst/gstreamer-sections.txt:
8647 Add new API to check plugin feature version requirements.
8649 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
8650 Some basic tests for the above.
8652 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
8654 * gst/gststructure.c: (gst_structure_to_string):
8655 guard against NULL printf - happens when for example
8656 a message structure with GstClock gets serialized
8658 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
8660 * gst/base/gstcollectpads.c: (gst_collectpads_event):
8661 Fix presumable copy'n'pasto.
8663 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
8665 * gst/elements/gstfakesrc.h:
8666 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
8667 * gst/elements/gsttypefindelement.c:
8669 * gst/elements/gstfilesink.c: (gst_file_sink_render):
8670 I wonder if this could actually write +2GB files before
8672 2005-10-13 Andy Wingo <wingo@pobox.com>
8674 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
8675 Fix Timmeke Waymans bug.
8676 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
8677 string of the proper length to gst_caps_from_string. There's a
8678 potential for, before this fix, that this could cause someone
8679 connecting over the network to cause a segfault if the payload is
8682 2005-10-13 Stefan Kost <ensonic@users.sf.net>
8684 * docs/design/draft-push-pull.txt:
8685 * docs/design/part-overview.txt:
8686 * docs/random/TODO-pre-0.9:
8687 * docs/random/old/ChangeLog.gstreamer:
8688 * gst/base/gstpushsrc.c:
8692 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
8694 * gst/glib-compat.c: (gst_flags_get_first_value):
8695 * gst/glib-compat.h:
8696 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
8697 (gst_value_compare_double), (gst_value_serialize_flags):
8698 GLib 2.6 g_flags_get_first_value has a bug that triggers an
8701 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
8703 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8704 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
8706 * tools/gst-launch.c: (event_loop):
8707 print out clock nicely
8709 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
8711 * docs/gst/gstreamer-sections.txt:
8713 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
8714 (gst_tag_list_get_date_index):
8715 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
8716 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
8718 2005-10-13 Julien MOUTTE <julien@moutte.net>
8720 * gst/base/gstcollectpads.c: (gst_collectpads_event),
8721 (gst_collectpads_chain):
8722 * gst/base/gstcollectpads.h: Handle newsegment and store informations
8725 2005-10-13 Stefan Kost <ensonic@users.sf.net>
8727 * docs/gst/gstreamer-sections.txt:
8730 * tools/gst-inspect.c: (main):
8731 * tools/gst-launch.c: (main):
8732 * tools/gst-run.c: (main):
8733 * tools/gst-xmlinspect.c: (main):
8734 fix GOption context leaks
8737 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
8741 * win32/common/config.h:
8743 * win32/vs6/grammar.dsp:
8744 * win32/vs6/libgstelements.dsp:
8745 * win32/vs6/libgstreamer.dsp:
8748 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
8750 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8751 * gst/base/gstbasesrc.c: (gst_base_src_query):
8752 fix more guint64<->gdouble conversions
8754 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
8757 add win32-update target
8758 * win32/common/gstconfig.h:
8759 * win32/common/gstenumtypes.c:
8760 * win32/common/gstenumtypes.h:
8761 * win32/common/gstversion.h:
8762 add files that visual studio can't generate
8764 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
8767 add a win32-update target
8770 2005-10-12 Wim Taymans <wim@fluendo.com>
8772 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8773 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
8774 * gst/gstelement.c: (gst_element_commit_state),
8775 (gst_element_set_state):
8776 Protect flags with proper lock.
8777 unref provided cached clock in dispose.
8779 2005-10-12 Stefan Kost <ensonic@users.sf.net>
8782 * gst/gstminiobject.h:
8784 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
8785 removed unused flags from miniobject
8788 2005-10-12 Wim Taymans <wim@fluendo.com>
8790 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
8791 (gst_file_sink_event), (gst_file_sink_render):
8792 Flush before seeking.
8794 2005-10-12 Andy Wingo <wingo@pobox.com>
8796 * gst/gst.c (gst_init_check): Ignore unknown options, as has
8797 always been the case.
8799 2005-10-12 Stefan Kost <ensonic@users.sf.net>
8801 * check/gst/gstbin.c: (GST_START_TEST):
8802 * docs/gst/gstreamer-sections.txt:
8803 * gst/base/gstbasesink.c: (gst_base_sink_init):
8804 * gst/base/gstbasesrc.c: (gst_base_src_init),
8805 (gst_base_src_get_range), (gst_base_src_check_get_range),
8806 (gst_base_src_start), (gst_base_src_stop):
8807 * gst/base/gstbasesrc.h:
8808 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
8809 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8810 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
8814 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
8816 * gst/gstelement.c: (gst_element_is_locked_state),
8817 (gst_element_set_locked_state), (gst_element_commit_state),
8818 (gst_element_set_state):
8820 * gst/gstindex.c: (gst_index_init):
8822 * gst/gstminiobject.h:
8823 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
8824 (gst_object_set_parent):
8826 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
8827 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
8829 * gst/gstpadtemplate.h:
8830 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
8831 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
8832 * gst/gstpipeline.h:
8833 * gst/indexers/gstfileindex.c: (gst_file_index_load),
8834 (gst_file_index_commit):
8835 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
8836 * testsuite/pad/link.c: (gst_test_src_init),
8837 (gst_test_filter_init), (gst_test_sink_init):
8838 * testsuite/states/locked.c: (main):
8839 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
8840 moved bitshift from macro to enum definition
8842 2005-10-12 Wim Taymans <wim@fluendo.com>
8844 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
8845 * gst/elements/gstfilesink.c: (gst_file_sink_event),
8846 (gst_file_sink_render):
8847 Some more debugging info.
8849 2005-10-12 Wim Taymans <wim@fluendo.com>
8851 * docs/design/part-states.txt:
8852 * tools/gst-launch.c: (main):
8854 Revert non-intentional change.
8856 2005-10-12 Wim Taymans <wim@fluendo.com>
8858 * check/gst/gstbin.c: (GST_START_TEST):
8859 * check/gst/gstelement.c: (GST_START_TEST):
8860 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
8861 * check/gst/gstghostpad.c: (GST_START_TEST):
8862 * check/gst/gstpipeline.c: (GST_START_TEST):
8863 * check/pipelines/simple_launch_lines.c: (run_pipeline):
8864 * check/states/sinks.c: (GST_START_TEST):
8865 * gst/elements/gsttypefindelement.c: (stop_typefinding):
8866 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
8867 (gst_bin_remove_func), (gst_bin_get_state_func),
8868 (gst_bin_recalc_state), (gst_bin_change_state_func),
8870 * gst/gstelement.c: (gst_element_get_state_func),
8871 (gst_element_get_state), (gst_element_abort_state),
8872 (gst_element_commit_state), (gst_element_set_state),
8873 (gst_element_change_state), (gst_element_change_state_func):
8875 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
8876 (gst_pipeline_provide_clock_func):
8877 * gst/gstutils.c: (gst_element_link_pads_filtered):
8878 * tools/gst-launch.c: (main):
8879 * tools/gst-typefind.c: (main):
8880 Use GstClockTime in _get_state() instead of GTimeVal.
8881 Remove old code in gstutils.c
8883 2005-10-12 Andy Wingo <wingo@pobox.com>
8885 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
8888 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
8889 there is no task. Shouldn't affect any code, as nothing in our
8890 plugins checks this return value.
8891 (gst_pad_stop_task): Also take the stream lock if the pad has no
8894 2005-10-12 Wim Taymans <wim@fluendo.com>
8896 * gst/gstpad.c: (pre_activate), (post_activate),
8897 (gst_pad_activate_pull), (gst_pad_activate_push):
8898 Cleanup activation code. Reset old state if
8901 2005-10-12 Wim Taymans <wim@fluendo.com>
8903 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8904 (gst_base_sink_change_state):
8905 No need to prerol after receiving EOS.
8907 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8908 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
8909 * gst/elements/gstidentity.c: (gst_identity_event):
8910 Print events more verbosely.
8912 2005-10-12 Wim Taymans <wim@fluendo.com>
8914 * check/Makefile.am:
8915 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
8916 * check/states/sinks2.c:
8917 Moved sinks2 testcode in sinks check.
8919 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
8920 (gst_bin_remove_func), (gst_bin_recalc_state),
8921 (gst_bin_change_state_func), (bin_bus_handler):
8922 Fix potential race condition when _get_state() iterated over an
8923 ASYNC element right before it posted a state completion.
8926 Do proper cast here.
8928 * gst/gstevent.c: (gst_event_new_newsegment),
8929 (gst_event_parse_newsegment):
8930 A playback rate of 0.0 is not allowed.
8932 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
8934 * win32/common/config.h:
8935 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
8936 (_trewinddir), (_ttelldir), (_tseekdir):
8937 * win32/common/dirent.h:
8938 * win32/common/gtchar.h:
8939 * win32/common/libgstbase.def:
8940 * win32/common/libgstreamer.def:
8941 * win32/vs6/grammar.dsp:
8942 * win32/vs6/gst_inspect.dsp:
8943 * win32/vs6/gst_launch.dsp:
8944 * win32/vs6/gstreamer.dsw:
8945 * win32/vs6/libgstbase.dsp:
8946 * win32/vs6/libgstelements.dsp:
8947 * win32/vs6/libgstreamer.dsp:
8948 Visual Studio 6 project files, and a new common directory.
8951 2005-10-11 Wim Taymans <wim@fluendo.com>
8953 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8954 (gst_base_sink_do_sync), (gst_base_sink_query),
8955 (gst_base_sink_change_state):
8956 * gst/base/gstbasesink.h:
8957 Correctly parse newsegment info.
8959 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
8961 * gst/gst.c: (init_post):
8962 split plugin paths correctly
8964 2005-10-11 Wim Taymans <wim@fluendo.com>
8966 * check/gst/gstevent.c: (GST_START_TEST):
8967 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8968 (gst_base_sink_change_state):
8969 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
8970 * gst/base/gstbasetransform.c: (gst_base_transform_event):
8971 * gst/elements/gstfilesink.c: (gst_file_sink_event):
8972 * gst/gstevent.c: (gst_event_new_newsegment),
8973 (gst_event_parse_newsegment):
8975 Added extra flag to newsegment for future API freeze.
8976 Updated check and base elements.
8978 2005-10-11 Julien MOUTTE <julien@moutte.net>
8980 * gst/base/gstcollectpads.c: (gst_collectpads_init),
8981 (gst_collectpads_add_pad), (gst_collectpads_pop),
8982 (gst_collectpads_event), (gst_collectpads_chain):
8983 * gst/base/gstcollectpads.h: Handle EOS correctly.
8985 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
8987 * tools/gst-launch.c: (main):
8988 more null protecting
8990 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
8992 * gst/gst-i18n-lib.h:
8993 check for ENABLE_NLS, not GETTEXT_PACKAGE
8994 * gst/gstregistry.c: (gst_registry_add_plugin),
8995 (gst_registry_scan_path_level),
8996 (_gst_registry_remove_cache_plugins):
8997 protect possibly NULL strings
8998 * gst/parse/types.h:
8999 config.h already included before
9000 * tools/gst-inspect.c: (main):
9001 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
9002 check for ENABLE_NLS, not GETTEXT_PACKAGE
9003 * tools/gst-launch.c: (main):
9004 check for ENABLE_NLS, not GETTEXT_PACKAGE
9006 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
9009 if we don't have glib, fail before testing 2.8
9010 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
9011 fix a leak, should fix plugins-base testsuite
9013 2005-10-11 Andy Wingo <wingo@pobox.com>
9015 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
9016 take the mode we're going to as an arg. Go head and set the mode
9017 and flushing flags now, so that if the activate function starts a
9018 thread all the flags will be in the right state.
9019 (post_activate): Renamed also. Just handle making sure streaming
9020 finishes for the deactivation case, and setting the deactivated
9022 (gst_pad_set_active): Complain loudly if deactivation fails.
9023 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
9024 (gst_pad_activate_push): Adapt to pre/post_activate changes,
9025 remove the terrible hack.
9027 2005-10-11 Wim Taymans <wim@fluendo.com>
9029 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
9030 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
9031 (gst_bin_recalc_state), (gst_bin_change_state_func),
9032 (gst_bin_dispose), (bin_bus_handler):
9034 Prepare to make current EOS message queue more generic.
9037 * gst/gstevent.c: (gst_event_new_newsegment),
9038 (gst_event_parse_newsegment):
9040 Rename base to stream_time.
9045 2005-10-11 Wim Taymans <wim@fluendo.com>
9047 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
9048 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
9049 (gst_bin_change_state_func), (bin_bus_handler):
9051 Work on proper clock selection.
9053 2005-10-11 Edward Hervey <edward@fluendo.com>
9055 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
9056 * libs/gst/controller/gstcontroller.h:
9057 Added GList* version of _remove_properties() in order to be able to wrap
9060 2005-10-11 Wim Taymans <wim@fluendo.com>
9062 * docs/design/part-states.txt:
9065 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
9066 (gst_bin_change_state_func), (bin_bus_handler):
9067 Doc updates. Don't distribute the same clock over and over again.
9073 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
9074 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
9075 (gst_pad_send_event):
9077 Make probe emission threadsafe again.
9078 Register quarks and move _get_name() from utils.
9081 * gst/gstpipeline.c: (gst_pipeline_class_init),
9082 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
9083 Only redistribute the clock of it changed.
9085 * gst/gstsystemclock.h:
9090 Moved the _flow_get_name() to GstPad.
9092 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
9094 * check/gst-libs/gdp.c: (GST_START_TEST):
9095 * check/gst/gstcaps.c: (GST_START_TEST):
9096 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
9097 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
9098 (gst_dp_packet_from_caps):
9099 fix more valgrind warnings before turning up the heat
9101 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
9103 * gst/parse/grammar.y:
9104 some cleanup before the hacking
9106 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
9108 * gst/base/gstbasesrc.c: (gst_base_src_query):
9110 * gst/gstutils.c: (gst_guint64_to_gdouble),
9111 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
9113 externalize, basesrc uses it
9114 obviously the implementation needs testing
9116 2005-10-10 Wim Taymans <wim@fluendo.com>
9118 * tests/sched/Makefile.am:
9119 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
9120 (make_pipeline3), (make_pipeline4), (print_elem), (main):
9122 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
9124 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
9125 apparently converting from guint64 to double is not implemented
9128 2005-10-10 Wim Taymans <wim@fluendo.com>
9130 * check/Makefile.am:
9131 * check/generic/states.c: (GST_START_TEST):
9132 * check/gst/gstbin.c: (GST_START_TEST):
9133 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
9134 * check/states/sinks.c: (GST_START_TEST):
9135 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
9137 Check fixes, use API as stated in design docs, remove hacks.
9139 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9140 (gst_base_sink_change_state):
9141 Catch stopping our task while we're shutting down.
9143 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
9144 (gst_bin_remove_func), (gst_bin_get_state_func),
9145 (gst_bin_recalc_state), (gst_bin_change_state_func),
9148 * gst/gstelement.c: (gst_element_init),
9149 (gst_element_get_state_func), (gst_element_abort_state),
9150 (gst_element_commit_state), (gst_element_lost_state),
9151 (gst_element_set_state), (gst_element_change_state),
9152 (gst_element_change_state_func):
9154 New state change algorithm (see #318116)
9156 * gst/gstpipeline.c: (gst_pipeline_class_init),
9157 (gst_pipeline_init), (gst_pipeline_set_property),
9158 (gst_pipeline_get_property), (do_pipeline_seek),
9159 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
9160 * gst/gstpipeline.h:
9161 Remove crude state change hacks.
9166 * tools/gst-launch.c: (main):
9167 Fixes for state change. Needs some more work to fully use the
9170 2005-10-10 Andy Wingo <wingo@pobox.com>
9172 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
9174 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
9175 this flag, but it's not even in GLib 2.6. Odd. Hack around the
9178 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
9180 * gst/gstiterator.c: (gst_iterator_new):
9181 Fix my previous commit: GTypes passed to gst_iterator_new()
9182 can be fundamental types.
9184 2005-10-10 Wim Taymans <wim@fluendo.com>
9186 * gst/gstelement.c: (gst_element_iterate_pad_list),
9187 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
9188 (gst_element_iterate_sink_pads):
9189 Use src/sink pads lists for the respective iterators instead
9192 2005-10-10 Andy Wingo <wingo@pobox.com>
9194 Merged in popt removal + GOption addition patch from Ronald, bug
9197 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
9198 GstElement macros around, remove popt-related symbols, add goption
9201 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
9203 * docs/gst/Makefile.am:
9204 * docs/libs/Makefile.am: No POPT_CFLAGS.
9206 * examples/manual/Makefile.am:
9207 * docs/manual/basics-init.xml: Doc updates with an example.
9209 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
9210 (gst_init), (parse_one_option), (parse_goption_arg):
9211 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
9212 bit of hand merging and debugging to get the GOption stuff working
9215 * tests/Makefile.am:
9216 * tools/Makefile.am:
9217 * tools/gst-inspect.c: (main):
9218 * tools/gst-launch.c: (main):
9219 * tools/gst-run.c: (main):
9220 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
9222 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
9224 * gst/gstiterator.c: (gst_iterator_new):
9225 Add assertions to make sure passed GType is likely to really
9226 be a GType (as the compiler won't catch it if the size and
9227 GType arguments get mixed up, see #318447).
9229 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
9231 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
9233 * gst/gstbin.c: (gst_bin_iterate_sorted):
9234 Pass GType and size arguments to gst_iterator_new() in the right
9235 order (maybe we should make _new() take the GType as first argument
9236 just like _new_list()?) (#318447).
9239 2005-10-10 Wim Taymans <wim@fluendo.com>
9241 * gst/gstelement.c: (gst_element_finalize):
9242 And free the GStaticRecMutex too
9244 2005-10-10 Andy Wingo <wingo@pobox.com>
9246 * gst/gstelement.c (gst_element_init, gst_element_finalize):
9247 Allocate and free the mutex properly.
9249 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
9251 (GstElement): The state_lock is now recursive. Rebuild your
9252 plugins, suckers. Old macros adapted.
9254 * docs/gst/gstreamer-sections.txt: Doc updates.
9257 * gst/gstutils.c (g_static_rec_cond_timed_wait)
9258 (g_static_rec_cond_wait): Ported from state changes patch, while
9259 we wait on bug #317802 to be solved in a well-distributed GLib.
9261 * gst/gstelement.c (gst_element_change_state_func): Renamed from
9262 gst_element_change_state, variable name changes.
9263 (gst_element_change_state): Split out of gst_element_set_state in
9264 preparation for the state change merge. Doesn't pay attention to
9265 the 'transition' argument.
9266 (gst_element_set_state): Updates, hopefully purely cosmetic.
9267 (gst_element_sync_state_with_parent): MT-safety. Ported from the
9269 (gst_element_get_state_func): Renamed from get_state, cosmetic
9272 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
9274 * gst/elements/gstelements.c:
9275 * win32/GStreamer.vcproj:
9277 * win32/dirent.c: (_tseekdir):
9278 * win32/gst-inspect.vcproj:
9279 * win32/gst-launch.vcproj:
9280 * win32/gstconfig.h:
9281 * win32/gstelements.vcproj:
9282 * win32/gstenumtypes.c: (gst_object_flags_get_type):
9283 * win32/gstreamer.def:
9285 updates for the win32 build (patch from Sebastien Moutte)
9287 2005-10-10 Andy Wingo <wingo@pobox.com>
9289 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
9290 gst_bin_get_state, cleaned up (but no logic changes).
9291 (bin_element_is_sink): Comment updates.
9292 (sink_iterator_filter): Remove needless cast.
9293 (gst_bin_iterate_sinks): Doc update.
9294 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
9295 cleaned up (but no logic changes).
9297 * check/states/sinks.c (test_src_sink): Cleanups from the state
9299 (test_livesrc_sink): Sync on the state.
9301 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
9302 the state change patch.
9304 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
9307 * check/gst/gstbin.c: Merge in some style fixes and additional
9308 checks from Wim's state change patch.
9310 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
9312 * gst/base/gsttypefindhelper.c: (helper_find_peek),
9313 (gst_type_find_helper):
9314 Check whether we have the requested data already in our list of
9315 cached buffers before pulling a new buffer; also make the buffer
9316 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
9318 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
9323 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
9324 don't use long long, it's not portable. Replacing with
9325 gint64 seems to work; let's hope no skeletons fall out of the closet.
9327 2005-10-10 Andy Wingo <wingo@pobox.com>
9329 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
9331 2005-10-09 Stefan Kost <ensonic@users.sf.net>
9333 * docs/gst/gstreamer-sections.txt:
9338 * gst/gstmessage.c: (gst_message_parse_state_changed):
9341 more docs, fix compilation
9343 2005-10-09 Philippe Khalaf <burger@speedy.org>
9345 Fixed a few forgotten variables on previous commit
9347 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
9349 * gst/base/gsttypefindhelper.c: (helper_find_peek):
9350 Fix evil typefind crasher: getrange() might return a short
9351 buffer at the end of a file, but gst_type_find_peek() must
9352 either return the full data as requested or NULL, but
9353 never a short buffer.
9355 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
9357 * gst/gstmessage.c: (gst_message_new_state_changed),
9358 (gst_message_parse_state_changed):
9360 don't use "new", it's a C++ keyword
9362 2005-10-08 Wim Taymans <wim@fluendo.com>
9364 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
9365 * gst/gstelement.c: (gst_element_post_message):
9366 * gst/gstpipeline.c: (gst_pipeline_change_state):
9367 Small docs and debug updates.
9369 2005-10-08 Stefan Kost <ensonic@users.sf.net>
9371 * docs/gst/gstreamer-sections.txt:
9372 * gst/gstelementfactory.c:
9377 2005-10-08 Wim Taymans <wim@fluendo.com>
9379 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
9380 (gst_bin_dispose), (bin_bus_handler):
9381 Fix typos, add comments.
9382 Clear EOS list when going to PAUSED from any direction and do it
9383 in a threadsafe way.
9384 Get base time in a threadsafe way too.
9385 Fix confusing debug in the change_state function.
9386 Various other small cleanups.
9388 * gst/gstelement.c: (gst_element_post_message):
9389 Fix very verbose bus posting code.
9391 * gst/gstpipeline.c: (gst_pipeline_class_init),
9392 (gst_pipeline_set_property), (gst_pipeline_get_property),
9393 (gst_pipeline_change_state):
9394 Small ARG_ -> PROP_ cleanup
9396 2005-10-08 Wim Taymans <wim@fluendo.com>
9398 * gst/gstbin.c: (is_eos), (bin_bus_handler):
9399 Do a less CPU demanding EOS check because we can.
9401 2005-10-08 Wim Taymans <wim@fluendo.com>
9403 * libs/gst/dataprotocol/dataprotocol.c:
9404 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
9405 (gst_dp_packet_from_event):
9406 * libs/gst/dataprotocol/dataprotocol.h:
9407 * libs/gst/dataprotocol/dp-private.h:
9408 It's about time we bump the version number.
9409 Since event types don't fit in the guint8 anymore describing
9410 the payload type, make payload type 16 bits wide.
9412 2005-10-08 Wim Taymans <wim@fluendo.com>
9414 * docs/design/part-TODO.txt:
9415 * docs/design/part-clocks.txt:
9416 * docs/design/part-events.txt:
9417 * docs/design/part-gstbin.txt:
9418 * docs/design/part-gstelement.txt:
9419 * docs/design/part-gstpipeline.txt:
9420 * docs/design/part-live-source.txt:
9421 * docs/design/part-messages.txt:
9422 * docs/design/part-overview.txt:
9423 * docs/design/part-states.txt:
9426 2005-10-08 Wim Taymans <wim@fluendo.com>
9430 Fix event quark registration.
9431 Add some space between events so we can insert them in the
9434 2005-10-08 Wim Taymans <wim@fluendo.com>
9436 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9437 (gst_base_sink_handle_buffer):
9444 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
9445 (gst_queue_set_property), (gst_queue_get_property):
9447 Remove old unused properties.
9449 2005-10-08 Stefan Kost <ensonic@users.sf.net>
9450 * docs/gst/gstreamer-sections.txt:
9453 * gst/gstminiobject.c:
9454 * gst/gstminiobject.h:
9458 lots of new docs and doc fixes
9460 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
9462 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
9464 * gst/gstregistry.c: (gst_registry_lookup_locked),
9465 (gst_registry_scan_path_level):
9466 * gst/gstregistryxml.c: (load_plugin):
9467 Only ever load one plugin for a given plugin basename.
9468 This ensures correct overriding of GST_PLUGIN_PATH over
9469 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
9470 system installed plugins.
9472 2005-10-08 Wim Taymans <wim@fluendo.com>
9474 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9475 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
9476 Prepare for doing QOS.
9478 2005-10-08 Wim Taymans <wim@fluendo.com>
9480 * check/gst/gstbin.c: (GST_START_TEST):
9481 * check/pipelines/cleanup.c: (GST_START_TEST):
9482 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
9483 Allow new clock message too.
9485 2005-10-08 Wim Taymans <wim@fluendo.com>
9487 * gst/gstmessage.c: (gst_message_new_error),
9488 (gst_message_new_warning), (gst_message_new_tag),
9489 (gst_message_new_state_changed), (gst_message_new_clock_provide),
9490 (gst_message_new_clock_lost), (gst_message_new_new_clock),
9491 (gst_message_new_segment_start), (gst_message_new_segment_done),
9492 (gst_message_parse_state_changed),
9493 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
9494 (gst_message_parse_new_clock):
9496 Also carry the clock in question.
9498 2005-10-08 Wim Taymans <wim@fluendo.com>
9500 * gst/gstmessage.c: (gst_message_new_custom),
9501 (gst_message_new_eos), (gst_message_new_error),
9502 (gst_message_new_warning), (gst_message_new_tag),
9503 (gst_message_new_state_changed), (gst_message_new_clock_provide),
9504 (gst_message_new_new_clock), (gst_message_new_segment_start),
9505 (gst_message_new_segment_done), (gst_message_parse_state_changed),
9506 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
9509 Added clock related messages.
9511 * gst/gstpipeline.c: (gst_pipeline_change_state):
9512 Post message when the clock changed.
9514 * tools/gst-launch.c: (event_loop):
9517 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
9519 * tools/gst-inspect.c: (print_element_properties_info):
9520 Can't pass NULL strings to g_print() on windows.
9522 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
9525 * docs/gst/Makefile.am:
9526 * docs/gst/gstreamer-docs.sgml:
9527 * docs/gst/running.xml:
9528 * docs/version.entities.in:
9529 add a chapter on running GStreamer.
9530 document GST_DEBUG and GST_PLUGIN* env vars
9532 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
9537 remove PLUGINS_BUILDDIR stuff
9538 * gst/gst.c: (init_post):
9539 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
9541 remove, it was condescending and not needed
9543 2005-10-08 Wim Taymans <wim@fluendo.com>
9545 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
9546 (gst_base_sink_handle_object), (gst_base_sink_event),
9547 (gst_base_sink_wait), (gst_base_sink_handle_event),
9548 (gst_base_sink_change_state):
9549 * gst/base/gstbasesink.h:
9550 Repost EOS message while going to PLAYING if still EOS.
9551 Make sure that when receiving a FLUSH_START we don't attempt
9552 to sync on the clock anymore.
9554 2005-10-08 Wim Taymans <wim@fluendo.com>
9556 * tools/gst-launch.c: (event_loop):
9557 Better message printout.
9559 2005-10-08 Wim Taymans <wim@fluendo.com>
9561 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
9562 (gst_bin_child_proxy_get_children_count):
9563 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
9564 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
9565 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
9566 (gst_child_proxy_set_valist):
9567 * gst/parse/grammar.y:
9568 Make ChildProxy threadsafe and fix mem leaks.
9570 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
9572 * gst/gst.c: (init_post):
9573 debug the GST_PLUGIN_ env vars
9575 2005-10-08 Wim Taymans <wim@fluendo.com>
9577 * check/gst/gstbin.c: (GST_START_TEST):
9578 * check/gst/gstmessage.c: (GST_START_TEST):
9579 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
9580 * gst/gstelement.c: (gst_element_commit_state),
9581 (gst_element_lost_state):
9582 * gst/gstmessage.c: (gst_message_new_state_changed),
9583 (gst_message_parse_state_changed):
9585 * tools/gst-launch.c: (event_loop):
9586 Added extra field to STATE_CHANGE message with the pending
9587 state, which will be different from the new state soon.
9589 2005-10-08 Wim Taymans <wim@fluendo.com>
9591 * gst/gstbus.c: (gst_bus_pop):
9593 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
9594 Small cleanups and doc updates.
9596 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
9598 * gst/gst.c: (init_pre):
9599 * gst/gstbin.c: (gst_bin_add_func):
9600 log distributing clocks and base time
9601 * gst/gstregistry.c: (gst_registry_add_plugin),
9602 (gst_registry_scan_path_level), (gst_registry_scan_path):
9603 clean up the debugging output a little
9604 * gst/gstutils.c: (gst_element_state_get_name):
9605 warn about a memleak (I've actually seen this be used, though
9606 it was probably a bug)
9608 2005-10-07 Wim Taymans <wim@fluendo.com>
9610 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9611 (gst_base_src_init), (gst_base_src_default_newsegment),
9612 (gst_base_src_newsegment), (gst_base_src_do_seek),
9613 (gst_base_src_loop), (gst_base_src_start):
9614 * gst/base/gstbasesrc.h:
9615 Make the newsegment event customizable by subclasses.
9617 2005-10-07 Wim Taymans <wim@fluendo.com>
9619 * gst/gstevent.c: (gst_event_new_buffersize),
9620 (gst_event_parse_buffersize):
9622 New event for future idea.
9624 2005-10-07 Andy Wingo <wingo@pobox.com>
9626 * gst/gstelement.c (gst_element_post_message): Doc update.
9628 * docs/gst/gstreamer-sections.txt: Update.
9630 * gst/gstmessage.c (gst_message_new_application): Made into a
9631 function like honest API calls.
9632 (gst_message_new_element): New message type.
9634 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
9636 * check/elements/fakesrc.c (test_no_preroll): New check, checks
9637 that setting a live fakesrc to PAUSED returns NO_PREROLL both
9640 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
9641 NO_PREROLL from gst_element_change_state to fall through.
9643 2005-10-07 Wim Taymans <wim@fluendo.com>
9645 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
9646 (gst_ghost_pad_do_activate_push):
9647 Activating a ghostpad with no internal pad in push mode
9650 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
9653 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
9654 Fixes compilation on Windows.
9656 2005-10-07 Michael Smith <msmith@fluendo.com>
9658 * tools/gst-inspect.c:
9659 Print out feature and plugin count at the end when printing out
9662 2005-10-04 Michael Smith <msmith@fluendo.com>
9664 * gst/gsterror.c: (_gst_stream_errors_init):
9665 Add another error string used in a few existing plugins.
9668 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
9669 * tools/gst-inspect.c: (print_element_info):
9670 When a feature disappears from a plugin (and the feature exists in
9671 the cached registry file), things went horribly wrong. This isn't a
9672 complete fix, we should actually be removing the 'missing' features
9673 from the features list when we load the actual plugin. That's not
9676 2005-10-04 Johan Dahlin <johan@gnome.org>
9678 * check/gst/gstiterator.c: (GST_START_TEST):
9679 * gst/gstbin.c: (gst_bin_iterate_elements),
9680 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
9681 * gst/gstelement.c: (gst_element_iterate_pads):
9682 * gst/gstformat.c: (gst_format_iterate_definitions):
9683 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
9684 (gst_iterator_new_list), (gst_iterator_filter):
9685 * gst/gstiterator.h:
9686 * gst/gstquery.c: (gst_query_type_iterate_definitions):
9687 Add a GType to GstIterator, update callsites and tests.
9689 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
9691 * gst/gstpad.c: (gst_pad_event_default_dispatch):
9692 give events a chance to be handled by event probes when the pad
9695 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
9697 * gst/gstevent.c: (gst_event_type_get_name),
9698 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
9700 add string representations for event types
9702 2005-10-06 Wim Taymans <wim@fluendo.com>
9704 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
9705 Don't use NULL pointers.
9707 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
9709 * gst/gst_private.h:
9713 * gst/gstpluginfeature.c:
9714 widen the debug category in output to fit the biggest one we have
9715 add a bus category and use it
9716 play with the colors
9717 fix up some categories
9719 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
9721 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
9722 add push activation of sink ghost pads.
9723 Andye, please verify
9725 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
9727 * gst/gstutils.c: (gst_element_link_pads):
9728 fix a bug in the case where neither element has a pad
9729 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
9730 add a test for that case
9732 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
9734 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
9735 emit have-data before checking for peers. This allows
9736 for probe handlers to connect elements. This helps autopluggers.
9737 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
9739 add six checks, linked/unlinked with no/true/false probe
9741 2005-10-04 Wim Taymans <wim@fluendo.com>
9743 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
9744 (gst_fake_sink_event), (gst_fake_sink_preroll),
9745 (gst_fake_sink_render), (gst_fake_sink_change_state):
9746 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
9747 (gst_fake_src_get_property), (gst_fake_src_create),
9748 (gst_fake_src_stop):
9749 * gst/elements/gstidentity.c: (gst_identity_stop):
9750 Protect last_message with lock.
9752 2005-10-04 Edward Hervey <edward@fluendo.com>
9755 Added precision in the comments for GST_FORMAT_DEFAULT
9757 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
9759 * tools/gst-launch.c: (main):
9760 Don't try to run erroneous pipelines.
9762 2005-10-04 Julien MOUTTE <julien@moutte.net>
9764 * gst/gstbus.c: We don't need this header.
9766 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
9771 === release 0.9.3 ===
9773 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
9777 Releasing 0.9.3, "Unregistered"
9779 2005-10-03 Andy Wingo <wingo@pobox.com>
9781 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
9782 whereby calling a pad's activatepush() function can start a thread
9783 that starts to push or pull before the pad gets the FLUSHING flag
9784 unset. Hack around it by holding the stream lock until the flag is
9785 set. Need to replace this with a proper solution. Together with
9786 the ghost pad fixes, this fixes mp3 playing/tagreading.
9788 * docs/design/part-gstghostpad.txt: Add a note about activation of
9789 proxy pads outside of ghost pads.
9791 * gst/gstghostpad.c: Implement the ghost pad activation design.
9793 2005-10-02 Andy Wingo <wingo@pobox.com>
9795 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
9796 It is volatile, after all.
9798 * docs/design/part-gstghostpad.txt: Flesh out activation with
9801 * gst/base/gstbasesrc.c (gst_base_src_init): Use
9804 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
9807 Fix (unused) AM_CONDITIONAL tests.
9809 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
9811 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
9813 * gst/gstutils.c: (gst_pad_query_convert):
9814 Add assertion that makes sure src_val is >=0, just like
9815 gst_query_new_convert() has. (#315895)
9817 2005-09-30 Edward Hervey <edward@fluendo.com>
9819 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
9820 Let's not iterate pads we're not interested in, it avoids getting
9821 sky-high refcounts on sinkpad.
9823 2005-09-30 Wim Taymans <wim@fluendo.com>
9825 * gst/gstelement.c: (gst_element_set_state),
9826 (gst_element_change_state):
9827 Small tweak, element in ASYNC remains ASYNC.
9829 2005-09-30 Wim Taymans <wim@fluendo.com>
9831 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
9832 Only error is an error.
9834 * gst/gstbin.c: (gst_bin_change_state):
9837 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
9838 Also call pad_block in pad alloc.
9840 * gst/gstutils.c: (gst_flow_get_name):
9843 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
9845 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9846 (gst_base_src_get_range):
9847 Fix documentation typos. Add some more debug info.
9849 2005-09-29 David Schleef <ds@schleef.org>
9851 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
9852 more end-user friendly.
9853 * tools/gst-inspect.c: (main): Check if command-line argument is
9854 a file and attempt to load that file as a plugin.
9856 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
9858 * check/gst/gstbin.c:
9859 * check/states/sinks.c:
9860 fix tests for the new warning
9861 * check/gst/gstpipeline.c:
9862 add a test for pipeline and bus interaction
9864 elements should be NULL if they get disposed; add a warning if not
9866 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
9869 for 2.6 refcounting, make debug log more correct by printing
9870 the actual refcounts at the time of swap (Wim)
9872 2005-09-29 Andy Wingo <wingo@pobox.com>
9874 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
9875 removes signal watches previously added via
9876 gst_bus_add_signal_watch.
9877 (gst_bus_add_signal_watch): Don't return the source id, just store
9878 it on the bus if there wasn't an id already.
9880 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
9881 add_signal_watch and remove_signal_watch.
9883 2005-09-29 Edward Hervey <edward@fluendo.com>
9885 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
9886 Better if we actually iterate the list :)
9888 2005-09-29 Wim Taymans <wim@fluendo.com>
9890 * check/gst/gstbin.c: (GST_START_TEST):
9891 Change for new bus API.
9893 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
9894 (send_messages), (GST_START_TEST), (gstbus_suite):
9895 Change for new bus signal API.
9897 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
9898 (gst_bus_source_prepare), (gst_bus_source_check),
9899 (gst_bus_create_watch), (gst_bus_add_watch_full),
9900 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
9901 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
9903 Remove support for multiple GSources operating on different
9904 message types as it is too complex and unneeded when using
9906 Added support for receiving signals from the bus.
9908 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
9910 * docs/libs/tmpl/gstdataprotocol.sgml:
9911 * docs/manual/advanced-dataaccess.xml:
9912 * gst/elements/gstcapsfilter.c:
9914 rename filter-caps to caps property
9916 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
9918 * gst/gstvalue.c: (gst_value_deserialize_fraction):
9919 More robust fraction string parsing.
9921 * docs/pwg/appendix-porting.xml:
9922 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
9924 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
9926 * gst/gstcaps.c: (gst_caps_do_simplify):
9927 Thou shalt not free a structure and then continue using it
9928 in the next loop iteration.
9930 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
9932 Add test case for caps simplification.
9934 2005-09-29 Wim Taymans <wim@fluendo.com>
9936 * check/gst/gstbin.c: (GST_START_TEST):
9939 2005-09-29 Wim Taymans <wim@fluendo.com>
9941 * check/gst/gstbin.c: (GST_START_TEST):
9944 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9945 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
9946 (find_element), (gst_bin_sort_iterator_next),
9947 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
9948 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
9949 (gst_bin_change_state), (gst_bin_dispose):
9950 A bin does not have a bus, it gets the bus from the parent.
9952 * gst/gstelement.c: (gst_element_requires_clock),
9953 (gst_element_provides_clock), (gst_element_is_indexable),
9954 (gst_element_is_locked_state), (gst_element_change_state),
9955 (gst_element_set_bus_func):
9958 * gst/gstpipeline.c: (gst_pipeline_class_init),
9959 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
9960 The pipeline provides a bus.
9962 2005-09-28 Johan Dahlin <johan@gnome.org>
9964 * gst/gstmessage.c (gst_message_parse_state_changed): Use
9965 gst_structure_get_enum instead of gst_structure_get_int
9967 * gst/gststructure.c (gst_structure_get_enum): Impl.
9969 * gst/gststructure.h (gst_structure_get_enum): Add
9971 * docs/gst/gstreamer-sections.txt: Ditto
9973 * gst/gstmessage.c (gst_message_new_state_changed): Use
9974 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
9975 which does introspection.
9976 Reviewed by Christian Schaller
9978 2005-09-28 Stefan Kost <ensonic@users.sf.net>
9980 * gst/gstinfo.c: (gst_debug_log_default):
9981 don't do dummy g_strdup()s
9982 * libs/gst/controller/gstcontroller.c:
9983 (on_object_controlled_property_changed),
9984 (gst_controlled_property_new), (gst_controller_new_valist),
9985 (gst_controller_new_list),
9986 (gst_controller_remove_properties_valist), (gst_controller_set),
9987 (gst_controller_get), (gst_controller_sync_values),
9988 (gst_controller_get_value_array), (_gst_controller_class_init),
9989 (gst_controller_get_type):
9990 * libs/gst/controller/gstcontroller.h:
9991 * libs/gst/controller/gstinterpolation.c:
9992 (gst_controlled_property_find_timed_value_node):
9993 convert // to /**/ comments
9995 2005-09-28 Wim Taymans <wim@fluendo.com>
9997 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
9998 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
9999 (gst_bus_sync_signal_handler):
10001 Added async-message and sync-message signals to the bus.
10002 Added helper BusFunc to emit signals for all posted messages.
10004 * gst/gstmessage.c: (gst_message_type_get_name),
10005 (gst_message_type_to_quark), (gst_message_get_type):
10006 * gst/gstmessage.h:
10007 Register quarks for message names.
10009 2005-09-28 Stefan Kost <ensonic@users.sf.net>
10011 * docs/libs/gstreamer-libs-sections.txt:
10012 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10013 (gst_controller_new_list):
10014 * libs/gst/controller/gstcontroller.h:
10015 added another constructor for language bindings
10017 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
10019 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
10023 * gst/gstinfo.c: (_gst_debug_init):
10024 slightly more readable color for refcount debugging
10026 2005-09-28 Wim Taymans <wim@fluendo.com>
10028 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
10029 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
10030 (find_element), (gst_bin_sort_iterator_next),
10031 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
10032 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
10033 (gst_bin_change_state), (gst_bin_dispose):
10034 Small doc fixes. get_clock -> provide_clock.
10036 * gst/gstelement.c: (gst_element_class_init),
10037 (gst_element_provides_clock), (gst_element_provide_clock),
10038 (gst_element_get_clock), (gst_element_commit_state),
10039 (gst_element_lost_state):
10040 * gst/gstelement.h:
10041 Make get/set_clock() symetric. Add provide_clock vmethod since
10042 that is actually what this function does.
10044 * gst/gstpipeline.c: (gst_pipeline_class_init),
10045 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
10046 (gst_pipeline_get_clock):
10047 get_clock -> provide_clock.
10049 2005-09-28 Andy Wingo <wingo@pobox.com>
10051 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
10052 lieu of real docs...
10054 * gst/elements/gstfdsrc.c: Cleaned up a bit.
10056 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
10058 * gst/elements/gstcapsfilter.c:
10059 * gst/elements/gstfakesink.c:
10060 * gst/elements/gstfakesrc.c:
10061 * gst/elements/gstfdsink.c:
10062 * gst/elements/gstfdsrc.c:
10063 * gst/elements/gstfilesink.c:
10064 * gst/elements/gstfilesrc.c:
10065 * gst/elements/gstidentity.c:
10066 * gst/elements/gsttee.c:
10067 * gst/elements/gsttypefindelement.c:
10068 Make element details static.
10070 2005-09-28 Wim Taymans <wim@fluendo.com>
10072 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
10073 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
10074 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
10075 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
10076 (gst_bin_change_state), (gst_bin_dispose):
10077 Some documentation updates.
10078 Clean up dispose handlers.
10080 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
10081 * gst/gstpad.c: (gst_pad_dispose):
10082 Clean up dispose handler.
10084 * gst/gstpipeline.c: (gst_pipeline_change_state):
10085 Removed spurious UNLOCK.
10087 2005-09-27 Stefan Kost <ensonic@users.sf.net>
10089 * docs/gst/gstreamer-sections.txt:
10090 * gst/base/gstbasesrc.h:
10091 * gst/gstelement.h:
10095 * gst/gstpipeline.c:
10096 * gst/gstpipeline.h:
10099 added two new functions to the docs
10100 documents all undocumented GstXXXFlags
10101 completed some incomplete docs
10103 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
10105 * gst/gstbin.c: (gst_bin_dispose):
10106 * gst/gstelement.c: (gst_element_dispose):
10107 remove now useless and leaky resurrection code in dispose
10108 * gst/base/gstbasesrc.c: (gst_base_src_init):
10109 * gst/gstelementfactory.c: (gst_element_factory_create):
10110 * gst/gstobject.c: (gst_object_set_parent):
10113 2005-09-27 Wim Taymans <wim@fluendo.com>
10115 * docs/design/part-TODO.txt:
10118 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
10119 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
10120 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
10121 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
10122 (gst_bin_change_state):
10123 * gst/gstelement.h:
10124 Remove element variable, we keep element info in the iterator now.
10126 2005-09-27 Andy Wingo <wingo@pobox.com>
10128 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
10131 2005-09-27 Wim Taymans <wim@fluendo.com>
10133 * check/gst/gstbin.c: (GST_START_TEST):
10134 Enable check that works now.
10136 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
10137 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
10138 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
10139 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
10140 (gst_bin_change_state):
10142 Redid the state change algorithm using a topological sort algo.
10143 Handles all cases correctly.
10144 Exposed iterator for state change order.
10146 * gst/gstelement.h:
10147 Temp storage for state changes. Need to get rid of this soon.
10149 2005-09-27 Wim Taymans <wim@fluendo.com>
10151 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
10152 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
10153 (link_fold_func), (gst_pad_proxy_setcaps):
10154 Leak fixes, the fold functions need to unref the passed object and
10155 _get_parent_*() returns ref to parent.
10157 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
10159 * check/gst/gstbuffer.c: (test_make_writable):
10160 Plug leak in test case and fix 'make check-valgrind'
10162 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
10164 * gst/gstbuffer.c: (gst_subbuffer_init):
10165 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
10166 works correctly in all circumstances (we could have just copied
10167 the parent buffer's readonly flag, but conceptually it seems
10168 cleaner to mark all subbuffers as read-only). (based on patch
10169 by Alessandro Decina, #314710).
10171 * check/gst/gstbuffer.c: (create_read_only_buffer),
10172 (test_make_writable), (test_subbuffer_make_writable),
10174 Add some tests for gst_buffer_make_writable().
10176 2005-09-27 Wim Taymans <wim@fluendo.com>
10178 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
10179 use gst_object_has_ancestor().
10181 * gst/gstobject.c: (gst_object_has_ancestor):
10183 gst_object_has_ancestor() copied from gstbin.c as it is a
10186 * tests/instantiate/create.c: (create_all_elements):
10187 * tests/lat.c: (handoff_src), (handoff_sink):
10188 * tests/sched/runxml.c: (main):
10189 * tests/seeking/seeking1.c: (main):
10190 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
10192 Fix compilation of some tests.
10194 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
10197 Remove comment. GST_TYPE_G_ERROR is here to stay,
10198 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
10199 (#316961, #300610).
10201 2005-09-26 Wim Taymans <wim@fluendo.com>
10203 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
10204 Added check that shows error in state change order.
10206 2005-09-26 Wim Taymans <wim@fluendo.com>
10208 * gst/gstbin.c: (gst_bin_change_state):
10209 Make state change function use 3 queues again, we were
10210 adding elements in the wrong order.
10212 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
10215 * gst/gstpad.c: (gst_pad_dispose):
10216 Added some debug info first.
10218 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
10220 * docs/design/draft-push-pull.txt:
10221 * docs/design/part-events.txt:
10222 * docs/design/part-overview.txt:
10223 * docs/design/part-scheduling.txt:
10224 Replace all _pull_region() with _pull_range()
10226 2005-09-26 Andy Wingo <wingo@pobox.com>
10228 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
10230 * check/gst-libs/controller.c: Update for controller api change.
10233 * tests/Makefile.am:
10234 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
10235 over by GLib bug 118439.
10237 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
10238 routines to a function.
10240 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
10242 * libs/gst/controller/gsthelper.c:
10243 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
10244 (gst_object_sync_values): Renamed from sink_values. Ugh.
10246 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
10248 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
10249 Renamed from controller_key, as it is exported.
10251 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
10253 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
10258 * gst/gstpadtemplate.h:
10261 * gst/gstqueryutils.c:
10262 * gst/gstqueryutils.h:
10263 remove queryutils headers after moving the two used functions
10264 to gstquery. also fixes build problem for gstsiddec
10266 2005-09-26 Michael Smith <msmith@fluendo.com>
10268 * tools/gst-launch.1.in:
10269 Correct documentation in manpage of debug syntax
10271 2005-09-26 Wim Taymans <wim@fluendo.com>
10273 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
10274 (gst_base_src_is_seekable), (gst_base_src_change_state):
10275 Some more debugging info.
10277 2005-09-25 Stefan Kost <ensonic@users.sf.net>
10279 * docs/gst/gstreamer-sections.txt:
10280 * gst/base/gstbasetransform.h:
10284 2005-09-25 Stefan Kost <ensonic@users.sf.net>
10286 * docs/gst/.cvsignore:
10287 * docs/gst/tmpl/.cvsignore:
10288 * docs/gst/tmpl/gstpipeline.sgml:
10289 * docs/gst/tmpl/gstplugin.sgml:
10290 * gst/gstpipeline.c:
10293 inlined the last two docs files
10294 removed the tmpl directory from cvs (no more conflicts here!)
10296 2005-09-25 Stefan Kost <ensonic@users.sf.net>
10298 * docs/gst/gstreamer-sections.txt:
10299 * docs/gst/tmpl/.cvsignore:
10300 * docs/gst/tmpl/gstpad.sgml:
10301 * docs/gst/tmpl/gstpadtemplate.sgml:
10303 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
10304 (gst_pad_finalize), (gst_pad_set_pad_template):
10306 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
10307 (gst_pad_template_class_init), (gst_pad_template_init),
10308 (gst_pad_template_dispose), (name_is_valid),
10309 (gst_static_pad_template_get), (gst_pad_template_new),
10310 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
10311 (gst_pad_template_pad_created):
10312 * gst/gstpadtemplate.h:
10313 inlined two more docs
10314 factored gstpadtemplate out of gstpad
10316 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
10318 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
10319 (test_children_state_change_order_semi_sink):
10320 Fix test case: we can't rely on a fixed state change order when
10321 going from READY => PAUSED because the sink might commit its
10322 new state first when the first buffer created by the source
10323 reaches the sink before the source has finished its change state.
10324 (Test case still fails at times, see #316856, comment 5 onwards)
10326 2005-09-24 Wim Taymans <wim@fluendo.com>
10328 * docs/design/part-events.txt:
10329 * docs/design/part-gstbus.txt:
10330 * docs/design/part-gstpipeline.txt:
10331 * docs/design/part-messages.txt:
10332 * docs/design/part-overview.txt:
10333 * docs/design/part-segments.txt:
10337 * gst/gstelement.c:
10340 * gst/gstiterator.c:
10341 Various documentation updates.
10343 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
10346 Well, that's embarassing. Luckily we weren't using
10347 GST_CLOCK_DIFF anywhere.
10349 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
10351 * common/gtk-doc.mak:
10352 don't fail on building XML, FC4 slave shows a bunch of doc
10353 missing bits that I don't get
10355 * gst/gstpipeline.c:
10356 * gst/gststructure.c:
10359 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
10361 * docs/design/part-gstbin.txt:
10362 * docs/design/part-gstbus.txt:
10364 Add blurb about how the bus goes into flushing mode and
10365 drops all messages when its bin goes from READY into NULL
10368 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
10370 * docs/gst/gstreamer-sections.txt:
10371 * gst/gststructure.c: (gst_structure_get_clock_time):
10372 * gst/gststructure.h:
10373 add a method to get a GstClockTime out of a structure
10375 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
10377 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
10378 (test_children_state_change_order_semi_sink), (gst_bin_suite):
10379 Added test to check state change order in bins (can still be made
10380 to fail here under heavy disk load; bails out with 'Push on pad
10381 fakesink:sink0, but it was not activated in push mode').
10383 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
10384 Fix state change order when there is only a semi sink (#316856)
10386 * gst/gstbus.c: (gst_bus_class_init):
10387 Use _class_peek_parent(), not _class_ref(); fix docs to say
10388 'default main context' instead of 'mainloop' where that is
10391 * gst/gstelement.c: (gst_element_commit_state),
10392 (gst_element_set_state):
10393 Fix typos in debug messages
10395 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
10398 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
10399 * gst/gstpluginfeature.c:
10401 various doc updates
10402 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10403 change an assert into an error until it gets fixed properly
10405 2005-09-23 Stefan Kost <ensonic@users.sf.net>
10407 * docs/gst/gstreamer-sections.txt:
10408 * docs/gst/tmpl/.cvsignore:
10409 * docs/gst/tmpl/gstelement.sgml:
10410 * docs/gst/tmpl/gstinfo.sgml:
10411 * docs/gst/tmpl/gstobject.sgml:
10412 * gst/gstelement.c:
10413 * gst/gstelement.h:
10416 * gst/gstobject.c: (gst_object_class_init):
10418 inlined 3 more biiiig doc files and added some missing docs on the fly
10420 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
10422 * check/gst/.cvsignore:
10423 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
10424 * gst/gstregistryxml.c: (load_plugin),
10425 (gst_registry_xml_save_plugin):
10426 put back source in registry. add checks for find_plugin.
10427 * testsuite/states/bin.c: (assert_state), (empty_bin),
10428 (test_adding_one_element), (main):
10429 * testsuite/states/locked.c: (main):
10430 some compile/run fixes
10432 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
10434 * check/gst/gstvalue.c: (GST_START_TEST):
10435 fix leaks in the test itself
10437 2005-09-22 Wim Taymans <wim@fluendo.com>
10439 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
10440 (gst_base_sink_send_event), (gst_base_sink_peer_query),
10441 (gst_base_sink_query):
10442 Prepare for more accurate position reporting and query
10445 * gst/gstelement.c: (gst_element_send_event),
10446 (gst_element_set_state):
10449 2005-09-22 Wim Taymans <wim@fluendo.com>
10451 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
10452 (gst_query_parse_segment):
10454 More documentation.
10455 Add segment query for future use.
10457 2005-09-22 Wim Taymans <wim@fluendo.com>
10459 * gst/gstbin.c: (gst_bin_add_func):
10460 Some more debug info.
10462 * gst/gstelement.c: (gst_element_send_event):
10463 Simplify send_event
10465 * gst/gstelement.h:
10466 Don't know how flags got broken.
10471 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
10473 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
10474 Add simplistic test suite for GST_TYPE_DATE serialisation and
10477 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
10479 * docs/gst/gstreamer-sections.txt:
10480 * gst/gststructure.c: (gst_structure_set_valist),
10481 (gst_structure_get_date):
10482 * gst/gststructure.h:
10483 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
10484 (gst_date_copy), (gst_value_compare_date),
10485 (gst_value_serialize_date), (gst_value_deserialize_date),
10486 (gst_value_transform_date_string),
10487 (gst_value_transform_string_date), (_gst_value_initialize):
10489 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
10490 bunch of utility functions along with a hack that checks that
10491 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
10492 is required. Part of the grand scheme in #170777.
10494 2005-09-22 Andy Wingo <wingo@pobox.com>
10496 * gst/gstconfig.h.in: Psych out gtk-doc.
10498 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
10500 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
10502 * tools/gst-inspect.c (print_element_list): Plug some
10503 inconsequential leaks.
10505 * gst/gstregistry.c (gst_registry_get_default): Doc.
10507 * check/gst/gstplugin.c:
10508 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
10509 * gst/gstelementfactory.c (gst_element_factory_create):
10510 * gst/gstindexfactory.c (gst_index_factory_create): Update for
10513 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
10514 (gst_plugin_feature_load): Doc, don't eat refs.
10516 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
10517 (gst_plugin_list_free): Doc.
10518 (gst_plugin_load_file): Doc updates.
10520 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
10521 accessors returning refcounted objects, return a ref.
10523 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
10524 accessor for caps. IDEMPOTENCE. Oh yes.
10526 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
10528 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10530 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
10531 (_gst_debug_register_funcptr):
10532 Add mutex to serialise access to the hash table with
10533 the function pointer => function name string mapping;
10534 make that hash table static scope (#316809).
10536 * gst/registries/.cvsignore:
10537 Remove left-over file.
10539 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
10541 * docs/pwg/appendix-porting.xml:
10542 And something about newsegment events and caps-on-buffers to
10543 the porting guide (feel free to improve).
10545 2005-09-21 Andy Wingo <wingo@pobox.com>
10547 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
10548 data and event probes on the same pad.
10549 (test_buffer_probe_once): Test that removing probes from within
10550 the probe functions works.
10552 2005-09-21 Andy Wingo <wingo@pobox.com>
10554 * check/gst/gstutils.c: New file.
10555 (test_buffer_probe_n_times): A simple buffer probe test. More to
10558 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
10559 have-data::buffer, not have-data.
10560 (gst_pad_add_event_probe): Likewise for have-data::event.
10561 (gst_pad_add_data_probe): More docs. The part about 'resolving the
10562 peer' isn't quite right yet though.
10563 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
10564 (gst_pad_remove_data_probe): Change to take the guint handler_id
10565 as their arg, not the function+data, which is more glib-like.
10567 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
10568 the signal emission to indicate if the data is a buffer or an
10570 (gst_pad_get_type): Initialize buffer and event quarks.
10571 (gst_pad_class_init): have-data is now a detailed signal, yes it
10574 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
10576 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
10577 * gst/gstutils.c: (gst_util_set_value_from_string),
10578 (gst_util_set_object_arg):
10579 Don't put functional code in g_return_if_fail() or
10580 g_return_val_if_fail() statements, otherwise things will
10581 break when G_DISABLE_CHECKS is defined during compilation.
10583 2005-09-21 Stefan Kost <ensonic@users.sf.net>
10585 * docs/gst/tmpl/.cvsignore:
10586 * docs/gst/tmpl/gstvalue.sgml:
10589 inlied another one and added some obvious docs
10591 2005-09-21 Wim Taymans <wim@fluendo.com>
10593 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
10594 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
10595 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
10596 (gst_fdsrc_get_property), (gst_fdsrc_create):
10597 * gst/elements/gstfdsrc.h:
10598 Properly implement fdsrc. Removed signal and timeout,
10599 better implemented somewhere else.
10601 2005-09-21 Stefan Kost <ensonic@users.sf.net>
10603 * docs/gst/tmpl/.cvsignore:
10604 * docs/gst/tmpl/gstimplementsinterface.sgml:
10605 * gst/gstinterface.c:
10608 2005-09-21 Stefan Kost <ensonic@users.sf.net>
10610 * docs/gst/gstreamer-sections.txt:
10611 * docs/gst/tmpl/.cvsignore:
10612 * docs/gst/tmpl/gstenumtypes.sgml:
10613 remove obsolete doc file
10615 2005-09-21 David Schleef <ds@schleef.org>
10617 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
10618 little beer, fix a little leak.
10620 2005-09-21 Stefan Kost <ensonic@users.sf.net>
10622 * docs/gst/gstreamer-docs.sgml:
10623 * docs/gst/gstreamer-sections.txt:
10624 * docs/gst/tmpl/.cvsignore:
10628 * gst/gstelement.h:
10629 * gst/gstindex.c: (gst_index_class_init):
10631 * gst/gstindexfactory.c: (gst_index_factory_get_type),
10632 (gst_index_factory_class_init), (gst_index_factory_init),
10633 (gst_index_factory_finalize), (gst_index_factory_new),
10634 (gst_index_factory_destroy), (gst_index_factory_find),
10635 (gst_index_factory_create), (gst_index_factory_make):
10636 * gst/gstindexfactory.h:
10637 * gst/gstpluginfeature.c:
10638 * gst/gstpluginfeature.h:
10639 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
10640 more docs inlined, splitted gstindex.{c,h}
10642 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
10644 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
10647 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
10649 * gst/elements/gstfilesink.c: (gst_file_sink_init):
10650 Set sync to FALSE by default.
10652 2005-09-20 Wim Taymans <wim@fluendo.com>
10654 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
10655 (gst_base_sink_init):
10656 Make sync property settable from subclass.
10658 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
10659 (gst_fake_sink_change_state):
10660 Set sync to FALSE by default.
10662 2005-09-20 Wim Taymans <wim@fluendo.com>
10664 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
10665 * tools/gst-launch.c: (main):
10666 The timeout handler should have lower priority than the source
10667 so we don't timeout before popping a message with 0 timeout.
10668 Dump error messages after failed state change.
10670 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
10672 * tools/gst-inspect.c: (print_element_properties_info):
10675 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
10677 * check/gst/gstevent.c:
10678 * gst/elements/gstfakesink.c:
10679 * gst/elements/gstfakesink.h:
10680 remove the sync property from fakesink.
10681 has the side effect of setting sync TRUE
10682 for fakesink, which is a change. Anyone who knows how
10683 to fix this nicely in a GObject-y way, feel free.
10685 2005-09-20 Stefan Kost <ensonic@users.sf.net>
10687 * docs/gst/gstreamer-docs.sgml:
10688 remove probe refsection
10690 2005-09-20 Stefan Kost <ensonic@users.sf.net>
10692 * check/Makefile.am:
10693 disable valgrinding the controller test again
10694 * docs/gst/gstreamer-sections.txt:
10695 update for api-changes
10697 2005-09-20 Wim Taymans <wim@fluendo.com>
10699 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
10700 (gst_base_sink_set_property), (gst_base_sink_get_property),
10701 (gst_base_sink_do_sync):
10702 * gst/base/gstbasesink.h:
10703 Added sync property to basesink to disable clock sync.
10705 2005-09-20 Andy Wingo <wingo@pobox.com>
10707 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
10708 eating the caller's refcount.
10710 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
10711 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
10714 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
10715 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
10716 of GLib 2.8 public, so we can know which refcount to check in
10719 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
10720 (gst_object_init): Only set the gst refcount if we're going ahead
10721 with the refcount hack.
10723 2005-09-20 Stefan Kost <ensonic@users.sf.net>
10725 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
10726 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
10727 more leaks plumbed, added more debug-logging
10731 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
10733 * gst/gstmessage.c:
10734 remove include of gstmemchunk.h
10736 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
10738 * gst/gstclock.c: (_gst_clock_id_free):
10739 Commit from the Political Party For More Atomic CVS Commits,
10740 so that people don't waste too much of their day fishing
10741 out obvious leaks out of massive commits.
10742 Oh, and fix a pretty damn obvious leak in the memchunk
10745 2005-09-20 Stefan Kost <ensonic@users.sf.net>
10747 * check/Makefile.am:
10748 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
10749 plug mem-leak, re-add to valgrindable tests
10751 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
10754 unbreak the build for those who have chronic arthritis
10755 and typing "make check" is just too taxing on the hands
10757 2005-09-20 Andy Wingo <wingo@pobox.com>
10759 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
10760 really want it out, you should fix plugins at the same time.
10762 2005-09-19 Stefan Kost <ensonic@users.sf.net>
10765 * docs/gst/gstreamer-sections.txt:
10767 added missing symbols to api docs
10768 disable ref-count hack if we have glib >= 2.8
10770 2005-09-19 David Schleef <ds@schleef.org>
10772 * docs/gst/Makefile.am: Ignore a few more internal headers
10773 * docs/gst/gstreamer-docs.sgml: Remove old sections
10774 * docs/gst/gstreamer-sections.txt: Remove old sections
10775 * docs/gst/tmpl/gstobject.sgml: update
10776 * docs/gst/tmpl/gstplugin.sgml: update
10777 * docs/gst/tmpl/gstpluginfeature.sgml: update
10778 * docs/random/ds/0.9-suggested-changes: update.
10779 * gst/Makefile.am: remove memchunk and trashstack, since they're
10781 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
10782 * gst/gst.h: don't include some headers
10783 * gst/gstchildproxy.c: add gstmarshal.h
10784 * gst/gstclock.c: Don't use memchunks
10785 * gst/gstminiobject.c: Add some docs
10786 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
10787 * gst/gstobject.h: same
10788 * gst/gstplugin.c: include gstmacros.h
10789 * gst/gstplugin.h: don't include gstmacros.h, since it's private
10790 * gst/gstquery.c: don't use memchunks
10791 * gst/gstregistry.c: rename gst_registry_deinit()
10792 * gst/gstregistry.h: same
10794 2005-09-19 David Schleef <ds@schleef.org>
10796 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
10797 * docs/libs/gstreamer-libs-sections.txt:
10798 * docs/libs/tmpl/gstgetbits.sgml:
10799 * docs/libs/tmpl/gstputbits.sgml:
10801 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
10803 * win32/gstenumtypes.c:
10804 * win32/gstenumtypes.h:
10807 2005-09-19 Wim Taymans <wim@fluendo.com>
10809 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
10810 Automatically PAUSE and RESUME a pipeline when a flushing seek
10813 2005-09-19 Andy Wingo <wingo@pobox.com>
10815 * gst/gstregistry.h: Spacing fixen.
10817 2005-09-19 Wim Taymans <wim@fluendo.com>
10819 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
10820 Handle state change failure more correctly.
10822 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
10824 * check/Makefile.am:
10825 * check/pipelines/cleanup.c: (run_pipeline):
10826 * check/pipelines/simple_launch_lines.c: (run_pipeline),
10828 enable cleanup again after fixing the leak
10830 some more info on docs
10832 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
10834 * check/Makefile.am:
10835 re-enable tests now that leaks are plugged
10837 * check/gst/gstbin.c:
10838 * check/gst/gstpipeline.c:
10839 add some more tests while fixing leaks
10840 * common/check.mak:
10841 make sure binaries are uptodate when valgrinding/gdbing
10843 * gst/gstelementfactory.c:
10844 remove a ref too many, and add a FIXME for when we get
10845 round to disposing of classes
10847 fix the refcounting when loading a plugin from a file and
10848 the code pretends that the pointer is the same even though
10849 of course it can change
10850 * gst/gstpluginfeature.c:
10851 unref plugins marked cached (a bit confusing as a name)
10852 as the docs state should be done
10853 various doc additions to explain refcounting
10854 * gst/gstregistry.c:
10855 * gst/gstregistryxml.c:
10858 2005-09-19 Wim Taymans <wim@fluendo.com>
10860 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
10861 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
10862 (send_messages), (GST_START_TEST), (gstbus_suite):
10863 * check/gst/gstpipeline.c: (GST_START_TEST):
10864 * check/pipelines/cleanup.c: (run_pipeline):
10865 * check/pipelines/simple_launch_lines.c: (run_pipeline),
10867 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
10868 (gst_bus_source_check), (gst_bus_source_dispatch),
10869 (gst_bus_create_watch), (gst_bus_add_watch_full),
10870 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
10872 * tools/gst-launch.c: (event_loop):
10873 * tools/gst-md5sum.c: (event_loop):
10874 GstBusHandler -> GstBusFunc, return value has the same meaning as
10875 any other GSource (FALSE == remove source).
10876 _add_watch() and _add_watch_full() now take a MessageType mask to
10877 only handle specific types of messages.
10878 _poll() returns the GstMessage instead of the message type to avoid
10880 _have_pending() takes a MessageType mask now too.
10881 Added testsuite for multiple bus watches.
10882 Fix testsuites and applications for new bus API.
10884 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
10886 * check/Makefile.am:
10887 mark a bunch of the tests as to fix until we fix them
10889 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
10891 * common/check.mak:
10892 use GST_PLUGIN settings for valgrind tests as well, so we're
10893 valgrinding the correct thing
10894 * gst/gst.c: (init_post):
10897 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
10899 * gst/gst.c: (init_post), (gst_deinit):
10900 * gst/gstelementfactory.c: (gst_element_factory_class_init),
10901 (gst_element_factory_finalize), (gst_element_factory_cleanup):
10902 * gst/gstindex.c: (gst_index_factory_class_init),
10903 (gst_index_factory_finalize):
10904 * gst/gstobject.c: (gst_object_dispose):
10905 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
10906 (gst_plugin_load_file), (gst_plugin_desc_free):
10907 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
10908 (gst_plugin_feature_finalize):
10909 * gst/gstregistry.c: (gst_registry_class_init),
10910 (gst_registry_init), (gst_registry_finalize),
10911 (gst_registry_get_default), (gst_registry_deinit):
10912 * gst/gstregistry.h:
10913 * gst/gstregistryxml.c: (load_feature), (load_plugin):
10914 various cleanups and memleak plugging. make valgrind is happy now.
10916 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
10918 * common/check.mak:
10919 add a check-valgrind target
10921 2005-09-18 David Schleef <ds@schleef.org>
10923 * tools/gst-inspect.c: Revert the GOption code.
10925 2005-09-17 David Schleef <ds@schleef.org>
10927 * check/Makefile.am: Fix environment variables.
10928 * check/gst/gstplugin.c: Fix for API changes.
10929 * tools/gst-inspect.c: Fix for API changes.
10930 * tools/gst-xmlinspect.c: Fix for API changes.
10931 * gst/gstelementfactory.c:
10934 * gst/gstpluginfeature.c:
10935 * gst/gstpluginfeature.h:
10936 * gst/gstregistry.c:
10937 * gst/gstregistry.h:
10938 * gst/gstregistryxml.c:
10939 * gst/gsttypefind.c:
10940 * gst/gsttypefindfactory.c:
10941 * gst/indexers/gstfileindex.c:
10942 * gst/indexers/gstmemindex.c:
10943 * gst/schedulers/Makefile.am:
10944 Change registry to keep track of both plugins and features,
10945 removing the feature tracking from plugins themselves.
10947 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
10949 * check/Makefile.am:
10950 * tools/gst-register.1.in:
10951 remove gst-register
10953 2005-09-15 David Schleef <ds@schleef.org>
10955 * check/gst/gstplugin.c:
10956 * gst/gstelementfactory.c:
10958 * gst/gstpluginfeature.c:
10959 * gst/gstregistry.c:
10960 Getting tired of debugging. Disabled all the unreffing of
10961 plugins and features, which fixes the segfaults, but of
10962 course leaks like crazy. At least playbin works.
10964 2005-09-15 David Schleef <ds@schleef.org>
10966 * check/gst/gstplugin.c: (register_check_elements),
10967 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
10969 * gst/elements/gsttypefindelement.c: Fix refcounting.
10970 * gst/gsttypefind.c:
10971 * gst/gsttypefindfactory.c:
10972 * gst/gsttypefindfactory.h:
10974 2005-09-15 David Schleef <ds@schleef.org>
10976 * gst/gstindex.c: get refcounting correct.
10977 * gst/gstregistry.c: Handle the case where a feature/plugin is
10980 2005-09-15 David Schleef <ds@schleef.org>
10982 * check/Makefile.am:
10983 * check/gst/gstplugin.c: Add test
10984 * gst/gstplugin.c: Fix problems noticed by testsuite
10986 * gst/gstregistry.c:
10987 * gst/gstregistry.h:
10989 2005-09-15 David Schleef <ds@schleef.org>
10991 * gst/gstplugin.c: Implement semi-decent recounting and locking
10992 in plugins and plugin features.
10994 * gst/gstpluginfeature.c:
10995 * gst/gstpluginfeature.h:
10996 * gst/gstregistry.c:
10998 2005-09-15 Michael Smith <msmith@fluendo.com>
11000 * gst/gstregistry.c: (gst_registry_get_feature_list):
11001 Implement this. Makes oggdemux work; decodebin still broken.
11003 2005-09-14 David Schleef <ds@schleef.org>
11005 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
11007 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
11008 * gst/check/Makefile.am:
11009 * libs/gst/controller/Makefile.am:
11010 * libs/gst/dataprotocol/Makefile.am:
11012 2005-09-14 David Schleef <ds@schleef.org>
11014 * configure.ac: Remove getbits library. Nothing uses it, and
11015 it should be in something like liboil if someone did want
11017 * libs/gst/Makefile.am:
11018 * libs/gst/getbits/Makefile.am:
11019 * libs/gst/getbits/gbtest.c:
11020 * libs/gst/getbits/getbits.c:
11021 * libs/gst/getbits/getbits.h:
11022 * libs/gst/getbits/gstgetbits_generic.c:
11023 * libs/gst/getbits/gstgetbits_i386.s:
11024 * libs/gst/getbits/gstgetbits_inl.h:
11026 2005-09-14 David Schleef <ds@schleef.org>
11028 * gst/Makefile.am: Dist glib-compat.h
11030 2005-09-14 David Schleef <ds@schleef.org>
11032 * configure.ac: Remove gst/registries, since it's no longer used.
11033 * gst/registries/Makefile.am:
11034 * gst/registries/gstlibxmlregistry.c:
11035 * gst/registries/gstlibxmlregistry.h:
11036 * gst/registries/gstxmlregistry.c:
11037 * gst/registries/gstxmlregistry.h:
11038 * gst/registries/registrytest.c:
11040 2005-09-14 David Schleef <ds@schleef.org>
11042 * gst/glib-compat.h:
11043 * gst/gstregistryxml.c:
11044 Convergence is near. Seriously.
11046 2005-09-14 David Schleef <ds@schleef.org>
11048 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
11049 * gst/glib-compat.h:
11050 Attempt #4 to appease the buildbots.
11052 2005-09-14 David Schleef <ds@schleef.org>
11054 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
11057 2005-09-14 David Schleef <ds@schleef.org>
11059 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
11062 2005-09-14 David Schleef <ds@schleef.org>
11064 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
11067 2005-09-14 David Schleef <ds@schleef.org>
11069 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
11070 * gst/glib-compat.h: Add some functions that are in newer versions
11071 of glib than we care to require.
11072 * gst/gstregistryxml.c: Use them.
11074 2005-09-14 David Schleef <ds@schleef.org>
11076 * po/POTFILES.in: remove gst-register.c
11078 2005-09-14 David Schleef <ds@schleef.org>
11080 * docs/gst/gstreamer-docs.sgml:
11081 * docs/gst/gstreamer-sections.txt:
11082 * docs/gst/gstreamer.types:
11083 * docs/gst/tmpl/gstelement.sgml:
11084 * docs/gst/tmpl/gstplugin.sgml:
11085 * docs/gst/tmpl/gstpluginfeature.sgml:
11086 Documentation updates for registry changes.
11088 2005-09-14 David Schleef <ds@schleef.org>
11090 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
11091 because we don't require glib-2.8.
11093 2005-09-14 David Schleef <ds@schleef.org>
11095 * gst/gstregistryxml.c: Added. Essentially moved out of the
11096 registries directory.
11098 2005-09-14 David Schleef <ds@schleef.org>
11100 * check/Makefile.am:
11101 * check/generic/states.c:
11105 * gst/gst_private.h:
11106 * gst/gstelementfactory.c:
11111 * gst/gstpluginfeature.c:
11112 * gst/gstpluginfeature.h:
11113 * gst/gstregistry.c:
11114 * gst/gstregistry.h:
11115 * gst/gstregistrypool.c: remove
11116 * gst/gstregistrypool.h: remove
11117 * gst/gsttypefind.c:
11118 * gst/gsttypefindfactory.c:
11120 * tools/Makefile.am:
11121 * tools/gst-compprep.c:
11122 * tools/gst-inspect.c:
11123 * tools/gst-register.c: remove
11124 * tools/gst-xmlinspect.c:
11125 Registry rewrite. Changes registry from being a file created
11126 by a tool into a simple cache file created automatically by
11127 libgstreamer. Removed gst-register (because it's no longer
11128 needed). Remove registry pools, because we only have one
11129 registry implementation (XML). Fix up other subsystems as
11132 2005-09-13 Michael Smith <msmith@fluendo.com>
11134 * gst/gstconfig.h.in:
11135 Don't Use windows linking attributes for MinGW. Fixes #316157
11137 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
11139 * gst/gstutils.c: (set_state_async_thread_func),
11140 (gst_element_set_state_async):
11141 Apparently people think it's better if this function doesn't
11142 try to set the state to whatever state was asked for on the first
11143 call to this function for any object. Seriously.
11145 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
11147 * check/gst/gstpipeline.c: (GST_START_TEST):
11148 * docs/gst/gstreamer-sections.txt:
11149 * gst/gstutils.c: (set_state_async_thread_func),
11150 (gst_element_set_state_async):
11152 add a "gst_element_set_state_async" method that
11153 sets the state and starts a thread to make sure the state
11154 change completes as best as it can
11156 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
11158 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
11159 codify design+behaviour in testsuite after discussion
11161 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
11163 * docs/gst/tmpl/gstelement.sgml:
11164 * docs/manual/appendix-quotes.xml:
11166 * gst/gstelement.c: (gst_element_set_state):
11169 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
11171 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
11172 (gst_base_transform_prepare_output_buf),
11173 (gst_base_transform_handle_buffer):
11174 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
11175 (gst_capsfilter_prepare_buf):
11176 Remove the requirement for sub-classes to call the parent
11177 implementation of prepare_output_buffer with a wrapper function.
11179 * gst/gsttaglist.h:
11180 * gst/gsttagsetter.h:
11181 Fix #define wrapper
11183 2005-09-11 Stefan Kost <ensonic@users.sf.net>
11185 * docs/gst/gstreamer-sections.txt:
11188 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
11190 * docs/gst/gstreamer-sections.txt:
11191 * docs/gst/tmpl/gstelement.sgml:
11192 * docs/gst/tmpl/gstplugin.sgml:
11193 * gst/gstminiobject.c:
11195 docs now stop throwing warnings
11197 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
11199 * docs/gst/gstreamer-sections.txt:
11200 * docs/gst/gstreamer.types:
11201 * docs/gst/tmpl/gstpad.sgml:
11202 * docs/gst/tmpl/gsttypes.sgml:
11203 * gst/base/gstadapter.h:
11204 * gst/base/gstbasesink.h:
11205 * gst/base/gstbasesrc.h:
11211 * gst/gstelement.h:
11213 * gst/gstmessage.h:
11215 * gst/gststructure.c:
11216 * gst/registries/gstlibxmlregistry.h:
11217 various documentation fixes
11219 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
11221 * docs/gst/gstreamer-sections.txt:
11222 * docs/gst/tmpl/gstvalue.sgml:
11223 rearrange gstvalue section
11224 * gst/gstutils.c: (gst_element_state_get_name):
11226 * gst/gstvalue.c: (_gst_value_initialize):
11230 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
11232 * check/gst-libs/controller.c:
11233 Header include fix.
11234 * gst/base/gstbasetransform.c:
11235 (gst_base_transform_default_prepare_buf),
11236 (gst_base_transform_handle_buffer):
11237 * gst/base/gstbasetransform.h:
11238 Some more basetransform changes and fixes to enable sub-classes
11239 that modify buffer metadata only.
11240 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
11241 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
11242 (gst_capsfilter_prepare_buf):
11243 If the output pad has fixed allowed caps and input buffers
11244 don't have any, set the fixed caps on outgoing buffers.
11246 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
11247 * check/elements/identity.c: (GST_START_TEST):
11248 Make the error a little clearer when the test fails because
11249 identity made a copy of the buffer.
11250 * docs/gst/gstreamer-sections.txt:
11251 New symbols in gstbasetransform.h
11252 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
11253 (gst_base_transform_init), (gst_base_transform_transform_size),
11254 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
11255 (gst_base_transform_default_prepare_buf),
11256 (gst_base_transform_get_unit_size),
11257 (gst_base_transform_buffer_alloc),
11258 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
11259 (gst_base_transform_change_state),
11260 (gst_base_transform_set_passthrough),
11261 (gst_base_transform_set_in_place),
11262 (gst_base_transform_is_in_place):
11263 * gst/base/gstbasetransform.h:
11264 Change BaseTransform to separate in_place operate from same_caps
11265 output. in_place implies that the element can perform the transform
11266 on incoming buffers in-place, even if the caps on the output are
11268 Sub-class elements can now implement special buffer allocation
11269 methods for outgoing buffers if they wish to.
11270 Big documentation addition.
11271 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
11272 * gst/elements/gstelements.c:
11273 Changes for basetransform modifications.
11274 * gst/elements/Makefile.am:
11275 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
11276 Compile fix. Extra debug output.
11278 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
11280 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
11282 add tests for valid pad naming
11283 * gst/check/gstcheck.c: (gst_check_log_message_func),
11284 (gst_check_log_critical_func):
11286 remove printing of code, it is fragile when the code contains
11287 % and the line number is enough info
11288 * gst/check/gstcheck.h:
11289 * gst/gstpad.c: (gst_pad_template_new):
11292 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
11295 say what CHECK flags we use
11296 * docs/libs/gstreamer-libs.types:
11297 * libs/gst/controller/Makefile.am:
11298 * libs/gst/controller/gst-controller.c:
11299 * libs/gst/controller/gst-controller.h:
11300 * libs/gst/controller/gst-helper.c:
11301 * libs/gst/controller/gst-interpolation.c:
11302 * libs/gst/controller/gstcontroller.c:
11303 * libs/gst/controller/gsthelper.c:
11304 * libs/gst/controller/gstinterpolation.c:
11305 * tools/gst-inspect.c: (print_plugin_info):
11306 we don't use dashes in header names
11308 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
11310 * check/Makefile.am:
11311 * check/gst/.cvsignore:
11312 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
11313 (gst_pipeline_suite), (main):
11314 adding a test for pipelines and state changes
11315 * gst/gstutils.c: (get_state_func):
11317 * gstreamer.spec.in:
11320 2005-09-08 Michael Smith <msmith@fluendo.com>
11322 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
11323 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
11324 (gst_file_src_is_seekable), (gst_file_src_get_size),
11325 (gst_file_src_start):
11326 * gst/elements/gstfilesrc.h:
11327 Various fixes for unseekable, unmmapable, and non-normal files, so
11328 that fallback to read() rather than mmap() works.
11329 * gst/gstevent.c: (gst_event_new_newsegment):
11330 Allow newsegment events with segment_start == segment_end, as will
11331 correctly happen if you use filesrc on a zero-size file, for
11334 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
11336 * gst/gstplugin.c: (gst_plugin_load_file):
11337 Call g_module_close when we don't load the module
11339 * gst/registries/gstlibxmlregistry.c:
11340 (gst_xml_registry_get_property):
11341 Port leak fix from 0.8
11343 2005-09-07 Stefan Kost <ensonic@users.sf.net>
11345 * docs/gst/gstreamer-docs.sgml:
11346 * docs/gst/tmpl/.cvsignore:
11347 * docs/gst/tmpl/gsttrace.sgml:
11348 * docs/gst/tmpl/gsttrashstack.sgml:
11351 * gst/gstelement.h:
11353 * gst/gstmessage.c:
11354 * gst/gstmessage.h:
11357 * gst/gsttaginterface.c:
11358 * gst/gsttaginterface.h:
11359 * gst/gsttaglist.c:
11360 * gst/gsttaglist.h:
11361 * gst/gsttagsetter.c:
11362 * gst/gsttagsetter.h:
11365 * gst/gsttrashstack.c:
11366 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
11367 inlined docs for gsttrace, gsttrashstack
11369 2005-09-07 Stefan Kost <ensonic@users.sf.net>
11372 * gst/elements/gstbufferstore.h:
11373 * gst/elements/gsttypefindelement.c:
11374 * gst/elements/gsttypefindelement.h:
11376 * gst/gsttypefind.c:
11377 * gst/gsttypefind.h:
11378 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
11379 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
11380 (gst_type_find_factory_dispose),
11381 (gst_type_find_factory_unload_thyself),
11382 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
11383 (gst_type_find_factory_get_caps),
11384 (gst_type_find_factory_get_extensions),
11385 (gst_type_find_factory_call_function):
11386 * gst/gsttypefindfactory.h:
11387 * gst/registries/gstlibxmlregistry.c:
11388 * gst/registries/gstxmlregistry.c:
11389 splitted gsttypefind into gsttypefind, gsttypefindfactory
11391 2005-09-07 Andy Wingo <wingo@pobox.com>
11393 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
11394 condition whereby the pad's task function is entered before the
11395 pad_mode variable was set.
11397 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
11399 * gst/gstpad.c: (gst_pad_alloc_buffer):
11400 Catch misbehaving pad_alloc functions that don't
11401 set up caps and do it for them.
11403 2005-09-07 Stefan Kost <ensonic@users.sf.net>
11405 * check/pipelines/simple_launch_lines.c: (run_pipeline):
11406 test for pipe!=NULL
11407 * docs/gst/tmpl/.cvsignore:
11408 * docs/gst/tmpl/gstmemchunk.sgml:
11409 * docs/gst/tmpl/gstparse.sgml:
11410 * docs/gst/tmpl/gsttaglist.sgml:
11411 * docs/gst/tmpl/gsttagsetter.sgml:
11412 * docs/gst/tmpl/gsttypefind.sgml:
11413 * docs/gst/tmpl/gsttypefindfactory.sgml:
11414 * gst/gstmemchunk.c:
11417 * gst/gsttaginterface.c:
11418 * gst/gsttypefind.c:
11419 * gst/gsttypefind.h:
11422 === release 0.9.2 ===
11424 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
11429 releasing 0.9.2, "South"
11431 2005-09-05 Andy Wingo <wingo@pobox.com>
11433 * gst/registries/gstxmlregistry.h:
11434 * gst/registries/gstxmlregistry.c: Um... resurrect...
11436 * gst/registries/gstxmlregistry.h:
11437 * gst/registries/gstxmlregistry.c: and update to newer API.
11438 Incidentally they should be a bit faster now that they don't have
11441 2005-09-05 Andy Wingo <wingo@pobox.com>
11443 * gst/registries/gstxmlregistry.h:
11444 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
11445 replaced by the libxml registry a while back
11447 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
11449 * docs/gst/tmpl/gstplugin.sgml:
11450 * gst/elements/gstelements.c:
11452 * gst/gstplugin.c: (gst_plugin_register_func),
11453 (gst_plugin_desc_copy), (gst_plugin_desc_free),
11454 (gst_plugin_get_source):
11456 * gst/registries/gstlibxmlregistry.c: (load_plugin),
11457 (gst_xml_registry_save_plugin):
11458 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
11459 (gst_xml_registry_save_plugin):
11460 * tools/gst-inspect.c: (print_plugin_info):
11461 add a "source" plugin description field, to represent the source
11462 module this plugin is a part of. By default GST_PLUGIN_DEFINE
11463 will set it to PACKAGE, which is automake's idea of the name of
11464 the source project.
11466 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
11471 * docs/Makefile.am:
11472 * docs/faq/Makefile.am:
11473 * docs/gst/tmpl/gstelement.sgml:
11474 * docs/gst/tmpl/gsttypes.sgml:
11475 * docs/htmlinstall.mak:
11476 * docs/manual/Makefile.am:
11477 * docs/pwg/Makefile.am:
11478 reorganize doc build a little
11479 split out docbook and gtk-doc stuff
11480 have two separate --enable's and enable them through autogen
11481 but disable by default in configure (to be similar to other
11483 * gstreamer.spec.in:
11484 clean up docs install
11502 translation updates
11504 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
11506 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
11509 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
11510 (gst_fake_sink_change_state):
11511 Make state change function thread-safe.
11513 * gst/gstpad.c: (gst_pad_alloc_buffer):
11514 Set offset on generic buffer allocated by fallback.
11516 2005-09-03 Stefan Kost <ensonic@users.sf.net>
11518 * docs/gst/gstreamer-sections.txt:
11519 * docs/gst/tmpl/gstelement.sgml:
11521 * libs/gst/controller/gst-controller.c:
11522 (gst_controlled_property_set_interpolation_mode),
11523 (gst_controlled_property_new),
11524 (gst_controller_find_controlled_property):
11525 run the wingo-magic script against the docs
11527 2005-09-02 Stefan Kost <ensonic@users.sf.net>
11529 * docs/gst/gstreamer-docs.sgml:
11530 * docs/gst/gstreamer-sections.txt:
11531 * docs/gst/tmpl/.cvsignore:
11532 * docs/gst/tmpl/gstelementdetails.sgml:
11533 * docs/gst/tmpl/gstelementfactory.sgml:
11536 * gst/gstelementfactory.c:
11537 * gst/gstelementfactory.h:
11538 merged elementdetails docs into elementfactory docs
11541 2005-09-02 Andy Wingo <wingo@pobox.com>
11543 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
11544 consider this enum an enum and not a flags.
11546 2005-09-02 Stefan Kost <ensonic@users.sf.net>
11548 * docs/gst/gstreamer-docs.sgml:
11549 * docs/gst/tmpl/.cvsignore:
11550 * docs/gst/tmpl/gstghostpad.sgml:
11551 * docs/gst/tmpl/gstiterator.sgml:
11552 * docs/gst/tmpl/gstmacros.sgml:
11553 * docs/gst/tmpl/gstrealpad.sgml:
11554 * docs/gst/tmpl/gstregistry.sgml:
11555 * docs/gst/tmpl/gstregistrypool.sgml:
11556 * docs/gst/tmpl/gststructure.sgml:
11557 * docs/gst/tmpl/gstsystemclock.sgml:
11558 * docs/gst/tmpl/gsttrace.sgml:
11559 * gst/gstghostpad.c:
11561 * gst/gstmemchunk.c:
11562 * gst/gstmemchunk.h:
11564 * gst/gstregistry.c:
11565 * gst/gstregistrypool.c:
11566 * gst/gststructure.c:
11567 * gst/gstsystemclock.c:
11570 2005-09-02 Andy Wingo <wingo@pobox.com>
11572 * gst/gstelement.h (GstState): Renamed from GstElementState,
11573 changed to be a normal enum instead of flags.
11574 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
11575 munged to be GST_STATE_CHANGE_*.
11576 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
11577 work with the new state representation.
11578 (GstStateChange): New enumeration of possible state transitions.
11579 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
11580 (GstElementClass::change_state): Pass the GstStateChange along as
11581 an argument. Helps language bindings, so they don't have to use
11582 tricky lock-needing macros like GST_STATE_CHANGE ().
11584 * scripts/update-states (file): New script. Run it on a file to
11585 update it for state naming and API changes. Updates files in
11588 * All files updated for the new API.
11590 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
11592 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
11593 * gst/gstutils.c: (gst_util_set_value_from_string),
11594 (gst_util_set_object_arg):
11595 fix a bunch of unchecked return values
11596 * tools/gst-complete.c: (main):
11597 * gstreamer.spec.in:
11600 2005-09-01 Wim Taymans <wim@fluendo.com>
11602 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11603 (gst_base_sink_event), (gst_base_sink_do_sync),
11604 (gst_base_sink_handle_event):
11605 * gst/base/gstbasesink.h:
11606 Handle newsegments more correctly.
11611 * gst/gstevent.c: (gst_event_new_newsegment):
11612 A newsegment cannot have a start_time of -1
11614 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
11616 * win32/gstenumtypes.c:
11617 * win32/gstenumtypes.h:
11620 2005-08-31 Stefan Kost <ensonic@users.sf.net>
11622 * libs/gst/controller/gst-controller.c:
11623 (gst_controlled_property_set_interpolation_mode),
11624 (gst_controlled_property_new):
11625 fixed boolean again
11627 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
11629 * docs/faq/gst-uninstalled:
11634 * gst/gstutils.c: (gst_element_link_filtered):
11636 add gst_element_link_filtered
11638 2005-08-31 Stefan Kost <ensonic@users.sf.net>
11640 * docs/gst/gstreamer-docs.sgml:
11641 * docs/gst/gstreamer-sections.txt:
11642 * docs/gst/tmpl/.cvsignore:
11643 * docs/gst/tmpl/gsterror.sgml:
11644 * docs/gst/tmpl/gstfilter.sgml:
11645 * docs/gst/tmpl/gsturihandler.sgml:
11646 * docs/gst/tmpl/gsturitype.sgml:
11647 * docs/gst/tmpl/gstutils.sgml:
11648 * docs/gst/tmpl/gstxml.sgml:
11653 * gst/gsturitype.c:
11656 inlined more docs, fixed double id-ref
11658 2005-08-31 Wim Taymans <wim@fluendo.com>
11660 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
11661 (gst_base_transform_handle_buffer):
11662 Passthrough elements don't need the caps as they don't care.
11664 2005-08-31 Wim Taymans <wim@fluendo.com>
11666 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
11667 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
11668 Don't leak refcounts on buffers.
11670 2005-08-31 Wim Taymans <wim@fluendo.com>
11672 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
11673 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
11674 (gst_base_transform_chain), (gst_base_transform_change_state):
11675 * gst/base/gstbasetransform.h:
11676 Handle the case where we are not negotiated more gracefully.
11678 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
11680 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
11681 (gst_file_src_map_region):
11682 Set READONLY flag on mmap'ed buffers, otherwise
11683 gst_buffer_make_writable() won't work properly (#314708).
11685 2005-08-31 Wim Taymans <wim@fluendo.com>
11687 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
11688 passthrough elements can even do inplace on non writable
11689 buffers (as they don't touch them).
11691 2005-08-31 Stefan Kost <ensonic@users.sf.net>
11693 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
11694 (gst_test_mono_source_set_property),
11695 (gst_test_mono_source_class_init), (GST_START_TEST),
11696 (gst_controller_suite):
11697 more tests (hehe I have the most)
11699 describe popping messages whenusing mulltiple sources
11700 * libs/gst/controller/gst-controller.c:
11701 (gst_controlled_property_set_interpolation_mode),
11702 (gst_controlled_property_new):
11703 * libs/gst/controller/gst-controller.h:
11704 * libs/gst/controller/gst-interpolation.c:
11705 implement boolean properties
11707 2005-08-31 Wim Taymans <wim@fluendo.com>
11709 * gst/gstminiobject.c: (gst_mini_object_ref):
11710 Cannot assert that the refcount has to be positive
11711 since a disposed object can be resurrected.
11713 2005-08-31 Wim Taymans <wim@fluendo.com>
11715 * gst/gstpad.c: (gst_pad_init):
11716 Revert change, need to first fix badly behaving
11719 2005-08-30 Wim Taymans <wim@fluendo.com>
11721 * check/elements/fakesrc.c: (setup_fakesrc):
11722 * check/elements/identity.c: (setup_identity):
11723 Activate pads before using them.
11725 2005-08-30 Wim Taymans <wim@fluendo.com>
11727 * gst/base/gstadapter.c: (gst_adapter_flush):
11728 Flushing out 0 bytes is ok for this function.
11730 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11731 no newsegment gives a warning and sets the start/stop to
11734 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
11735 (gst_base_transform_set_passthrough):
11738 * gst/gstminiobject.c: (gst_mini_object_ref):
11739 Check refcount here too.
11741 * gst/gstpad.c: (gst_pad_init):
11742 Pads are initially flushing and refusing data.
11744 * gst/gstutils.c: (gst_element_link_pads_filtered):
11745 When adding a capsfilter element make sure it has the
11746 same state as the parent bin.
11748 2005-08-30 Stefan Kost <ensonic@users.sf.net>
11750 * docs/gst/tmpl/.cvsignore:
11751 * docs/gst/tmpl/gstformat.sgml:
11752 * docs/gst/tmpl/gstversion.sgml:
11756 * gst/gstversion.h.in:
11757 more docs and two more inlined
11759 2005-08-30 Wim Taymans <wim@fluendo.com>
11761 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
11762 Don't sync to clock.
11764 2005-08-30 Stefan Kost <ensonic@users.sf.net>
11766 * docs/gst/gstreamer-sections.txt:
11767 ultral33t func10ns deserve to appear in the docs actually
11768 * docs/gst/tmpl/.cvsignore:
11769 * docs/gst/tmpl/gstcompat.sgml:
11770 * docs/gst/tmpl/gstconfig.sgml:
11771 * gst/check/gstcheck.c:
11773 * gst/gstconfig.h.in:
11776 2005-08-30 Stefan Kost <ensonic@users.sf.net>
11778 * docs/gst/tmpl/.cvsignore:
11779 * docs/gst/tmpl/gstquery.sgml:
11780 * docs/gst/tmpl/gstutils.sgml:
11783 inlined and extended docs
11785 2005-08-30 Stefan Kost <ensonic@users.sf.net>
11787 * check/gst-libs/controller.c: (GST_START_TEST),
11788 (gst_controller_suite):
11790 * docs/gst/tmpl/gstutils.sgml:
11791 * docs/libs/gstreamer-libs-sections.txt:
11792 * docs/libs/tmpl/gstdataprotocol.sgml:
11794 * examples/controller/audio-example.c: (main):
11795 controller example works now
11798 * tools/gst-inspect.c: (print_element_properties_info):
11799 show param spec flags
11801 2005-08-29 Andy Wingo <wingo@pobox.com>
11803 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
11805 2005-08-28 Andy Wingo <wingo@pobox.com>
11807 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
11808 as having two arguments instead of just one. Allows superclasses
11809 to access information on subclasses -- see the terrible for() loop
11810 in gtype.c:g_type_create_instance for the reason why. All callers
11813 2005-08-27 Stefan Kost <ensonic@users.sf.net>
11815 * docs/design/part-messages.txt:
11817 * docs/gst/tmpl/.cvsignore:
11818 * docs/gst/tmpl/gstcaps.sgml:
11819 * docs/gst/tmpl/gstclock.sgml:
11825 * gst/gstmessage.c:
11826 added descriptions for bus and message
11827 inline caps and clock docs
11829 2005-08-27 Stefan Kost <ensonic@users.sf.net>
11831 * gst/gstmessage.c:
11832 * gst/gstmessage.h:
11835 2005-08-27 Stefan Kost <ensonic@users.sf.net>
11837 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
11840 2005-08-26 Andy Wingo <wingo@pobox.com>
11842 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
11843 element_set_state's return val.
11844 (test_2_elements): Add test that's been disabled for months.
11846 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
11847 can-activate-pull properties.
11849 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
11850 can-activate-pull properties. Implement is_seekable so fakesrc can
11851 operate in pull mode.
11853 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
11855 (gst_base_sink_activate, gst_base_sink_activate_pull)
11856 (gst_base_sink_activate_push): Make activation mode choosing work.
11858 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
11859 is right. Make pull mode work. Post an eos before pausing in pull
11861 (gst_base_sink_change_state): Pay attention to the core's
11862 change_state() return val.
11864 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
11865 has-getrange properties. Cleanups.
11867 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
11868 has_getrange and replace with can_activate_pull and
11871 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
11872 locking comments. Remove has_loop, has_chain and replace with
11873 can_activate_pull and can_activate_push.
11875 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
11878 * examples/Makefile.am:
11879 * examples/metadata/Makefile.am:
11880 * examples/metadata/read-metadata.c: (message_loop),
11881 (have_pad_handler), (make_pipeline), (print_tag), (main):
11882 Add metadata reading example that loops over a list of filenames,
11883 dumping any tags found.
11885 * gst/gstbus.c: (gst_bus_dispose):
11886 * gst/gstelement.c: (gst_element_dispose):
11887 Release a few potentially-held references in dispose.
11889 2005-08-26 Stefan Kost <ensonic@users.sf.net>
11891 * docs/gst/tmpl/gstminiobject.sgml:
11892 do *not* add tmpl/*.sgml files to CVS!
11894 2005-08-26 Stefan Kost <ensonic@users.sf.net>
11896 * libs/gst/bytestream/.cvsignore:
11897 * libs/gst/bytestream/Makefile.am:
11898 * libs/gst/bytestream/adapter.c:
11899 * libs/gst/bytestream/adapter.h:
11900 * libs/gst/bytestream/bytestream.c:
11901 * libs/gst/bytestream/bytestream.h:
11902 * libs/gst/bytestream/filepad.c:
11903 * libs/gst/bytestream/filepad.h:
11904 removing obsolete files
11906 2005-08-26 Stefan Kost <ensonic@users.sf.net>
11908 * docs/gst/gstreamer-docs.sgml:
11909 * docs/libs/gstreamer-libs-docs.sgml:
11910 disabed additional index entries again, as this makes docs-gen just
11911 slow and they aren't useful yet
11912 * docs/libs/gstreamer-libs-sections.txt:
11913 little -section.txt cleanup for libs
11915 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
11917 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11918 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
11919 fix up some debugging
11920 (gst_base_transform_get_unit_size),
11921 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
11922 (gst_base_transform_handle_buffer):
11923 * gst/base/gstbasetransform.h:
11924 handle and store timed NEWSEGMENT events so that subclasses that
11925 calculate time by counting samples have a segment_start time they
11926 need to add to their timestamps - see audioresample
11928 2005-08-26 Stefan Kost <ensonic@users.sf.net>
11931 removed ';' from the end of macro defs
11932 * docs/gst/gstreamer-docs.sgml:
11933 * docs/gst/gstreamer-sections.txt:
11934 * docs/gst/tmpl/.cvsignore:
11936 * gst/gstelement.c: (gst_element_class_init),
11937 (gst_element_set_state), (activate_pads),
11938 (gst_element_save_thyself):
11939 * gst/gstevent.c: (gst_event_new_newsegment):
11941 * gst/gstiterator.c:
11942 * gst/gstiterator.h:
11945 * gst/gstutils.c: (gst_pad_query_convert):
11947 fixed parameter name mismatches between source, header and docs
11948 added some more docs, resolved the last batch of unused elements in
11949 docs (now someone needs to doc them)
11951 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
11953 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
11954 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
11955 don't walk through the plugins backwards. Where is all this
11956 reversed logic coming from ?
11958 2005-08-25 Wim Taymans <wim@fluendo.com>
11960 * gst/base/gstbasetransform.c: (gst_base_transform_init),
11961 (gst_base_transform_transform_size),
11962 (gst_base_transform_configure_caps),
11963 (gst_base_transform_get_unit_size),
11964 (gst_base_transform_buffer_alloc),
11965 (gst_base_transform_change_state):
11966 * gst/base/gstbasetransform.h:
11967 Cache caps unit_size.
11968 Make sure we cannot negotiate up and downstream at the
11971 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
11973 * gst/gst.c: (init_pre), (init_post):
11974 register the installed plugin path after the env var
11975 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
11976 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
11977 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
11978 directories, so the tests can prefer uninstalled over installed
11980 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
11982 * gst/base/gstbasetransform.h:
11987 2005-08-25 Wim Taymans <wim@fluendo.com>
11989 * gst/gstbin.c: (bin_bus_handler):
11990 Be a bit more conservative about the posted message.
11992 * gst/gstbus.c: (gst_bus_post):
11993 Some cleanups, warn wrong return values.
11995 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
11997 * check/gst/gstbin.c: (GST_START_TEST):
11998 * gst/gstbin.c: (bin_bus_handler):
11999 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
12000 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
12001 (gst_message_new_warning), (gst_message_new_tag),
12002 (gst_message_new_state_changed), (gst_message_new_segment_start),
12003 (gst_message_new_segment_done), (gst_message_new_custom):
12004 * gst/gstmessage.h:
12005 * tools/gst-launch.c: (event_loop):
12006 * tools/gst-md5sum.c: (event_loop):
12007 Revert unpopular change for GST_MESSAGE_SRC to GObject.
12009 2005-08-25 Wim Taymans <wim@fluendo.com>
12011 * check/generic/states.c: (GST_START_TEST):
12012 Cleanup can be done at the end.
12014 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
12015 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
12016 (gst_task_get_state), (gst_task_start), (gst_task_pause):
12017 Oh boy.. Thanks for finding this, Thomas.
12019 2005-08-25 Stefan Kost <ensonic@users.sf.net>
12021 * docs/gst/gstreamer.types:
12022 added missing types
12024 2005-08-25 Stefan Kost <ensonic@users.sf.net>
12026 * docs/gst/gstreamer-docs.sgml:
12027 * docs/gst/gstreamer-sections.txt:
12028 * docs/gst/tmpl/.cvsignore:
12030 * gst/gstiterator.c:
12032 * gst/registries/gstxmlregistry.h:
12033 added missing classes and symbols (123 more to go)
12034 removed removed symbols from section file
12035 fixed many doc-comments
12037 2005-08-24 Wim Taymans <wim@fluendo.com>
12039 * check/generic/states.c: (GST_START_TEST):
12040 Make sure all tasks are stopped.
12042 * check/gst/gstbin.c: (GST_START_TEST):
12043 Unref after usage for proper valgrinding.
12045 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
12046 Really wait for the task to stop before destroying the
12049 * gst/gstqueue.c: (gst_queue_sink_activate_push),
12050 (gst_queue_src_activate_push):
12051 Small cleanups. Don't stop the task when we did not start
12054 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
12055 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
12056 (gst_task_get_state), (gst_task_start), (gst_task_pause),
12059 Protect the stream lock with the object lock.
12060 Disallow setting the stream lock when running.
12061 Add cleanup_all to wait for the threadpool to finish.
12062 Remove code to autoallocate a mutex if none was provided.
12063 Add _join() to wait for a task to stop.
12064 Protect the thread pool with a global lock.
12066 2005-08-24 Wim Taymans <wim@fluendo.com>
12068 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12069 (gst_base_sink_get_times), (gst_base_sink_do_sync),
12070 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
12071 * gst/base/gstbasesink.h:
12072 Handle newsegment events correctly.
12073 Drop buffers out of the segment range.
12075 2005-08-22 Andy Wingo <wingo@pobox.com>
12077 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
12078 macro, implements an interface and gstimplementsinterface for a
12081 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
12083 * check/Makefile.am:
12084 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
12085 add a test that does a bunch of state changes on elements
12086 needs some fixing for valgrind
12087 * check/states/sinks.c: (gst_object_suite):
12090 add prototype for gst_caps_is_equal_fixed
12092 * gst/gstregistrypool.c:
12095 2005-08-24 Andy Wingo <wingo@pobox.com>
12097 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
12098 convert a negative value. Doesn't make much sense. Mostly this is
12099 here to force callers to ensure -1 maps to -1.
12101 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
12103 * docs/pwg/advanced-types.xml:
12104 Well done to Michael for catching my deliberate introduction
12105 of this spelling mistake.
12106 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
12107 * gst/gstelement.h:
12108 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
12109 unlink pads before removing the element from the bin.
12111 2005-08-24 Andy Wingo <wingo@pobox.com>
12113 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
12114 the same thing as GST_DEBUG=*:4.
12115 (parse_debug_level, parse_debug_category): New helper parsers.
12117 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
12119 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
12120 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
12121 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
12122 (gst_base_transform_buffer_alloc),
12123 (gst_base_transform_handle_buffer):
12124 use gboolean return values and pointers to size so we can use the
12125 full GST_BUFFER_SIZE range (guint) for buffer sizes
12126 use GstPadDirection for transform_caps
12127 * gst/base/gstbasetransform.h:
12128 rename get_size to get_unit_size since that's what it is
12129 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
12130 use GstPadDirection for transform_caps
12131 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
12133 cleanup and debugging
12135 2005-08-24 Stefan Kost <ensonic@users.sf.net>
12137 * gst/gstelement.c: (gst_element_class_init),
12138 (gst_element_set_state), (activate_pads),
12139 (gst_element_save_thyself):
12140 * tools/gst-compprep.c: (main):
12141 * tools/gst-inspect.c: (print_element_properties_info):
12142 * tools/gst-xmlinspect.c: (print_element_properties):
12143 Fixed long standing mem-leak
12145 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
12147 * check/gst/gstbin.c: (GST_START_TEST):
12148 * gst/gstbin.c: (bin_bus_handler):
12149 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
12150 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
12151 (gst_message_new_warning), (gst_message_new_tag),
12152 (gst_message_new_state_changed), (gst_message_new_segment_start),
12153 (gst_message_new_segment_done), (gst_message_new_custom):
12154 * gst/gstmessage.h:
12155 * tools/gst-launch.c: (event_loop):
12156 * tools/gst-md5sum.c: (event_loop):
12157 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
12158 that applications can sensibly post custom messages with references
12159 to their own objects.
12161 2005-08-24 Andy Wingo <wingo@pobox.com>
12163 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
12166 2005-08-24 Wim Taymans <wim@fluendo.com>
12168 * gst/base/gstbasetransform.c: (gst_base_transform_init),
12169 (gst_base_transform_transform_caps),
12170 (gst_base_transform_transform_size),
12171 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
12172 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
12173 (gst_base_transform_handle_buffer):
12174 * gst/base/gstbasetransform.h:
12175 Many fixes and new features added by Thomas. Can now also do
12176 transforms with variable sizes and a custom fixate_caps function.
12178 2005-08-24 Wim Taymans <wim@fluendo.com>
12180 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
12184 Cast to ClockTime before formatting to time.
12189 2005-08-24 Stefan Kost <ensonic@users.sf.net>
12191 * check/gst-libs/controller.c: (GST_START_TEST),
12192 (gst_controller_suite):
12193 * docs/gst/tmpl/gstcaps.sgml:
12194 * docs/gst/tmpl/gstghostpad.sgml:
12195 * docs/gst/tmpl/gstquery.sgml:
12196 * docs/gst/tmpl/gstutils.sgml:
12197 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
12198 (gst_object_sink_values), (gst_object_get_value_arrays),
12199 (gst_object_get_value_array):
12200 gracefully handle helper method calls to objects that are not beeing
12201 controlled, added test case for that
12203 2005-08-23 Wim Taymans <wim@fluendo.com>
12205 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
12206 (gst_event_new_newsegment), (gst_event_parse_newsegment),
12207 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
12208 (gst_event_parse_qos), (gst_event_new_seek),
12209 (gst_event_parse_seek):
12211 Some more debugging output and doc cleanups.
12213 * gst/gstqueue.c: (gst_queue_handle_sink_event):
12214 Fix possible deadlock.
12216 2005-08-23 Stefan Kost <ensonic@users.sf.net>
12218 * docs/gst/gstreamer-docs.sgml:
12219 * docs/gst/gstreamer-sections.txt:
12220 * docs/gst/gstreamer.types:
12221 * docs/gst/tmpl/.cvsignore:
12224 * gst/gstelement.c:
12226 added 100 symbols from gstreamer-unused.txt to the right sections
12227 fixed more broken comments
12228 added GstBus to docs
12230 2005-08-23 Stefan Kost <ensonic@users.sf.net>
12232 * docs/gst/gstreamer-sections.txt:
12233 * docs/gst/tmpl/.cvsignore:
12234 * docs/gst/tmpl/gstbin.sgml:
12235 * docs/gst/tmpl/gstbuffer.sgml:
12236 * gst/base/gstbasesrc.c:
12237 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
12240 * tools/gst-launch.1.in:
12241 inlined more doc comments, added missing comments and fixed comments
12244 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
12246 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
12250 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
12252 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
12253 * gst/gststructure.h:
12254 add a fixate function for booleans; add a FIXME that these func
12255 names should probably be gst_structure_fixate_*
12257 2005-08-23 Stefan Kost <ensonic@users.sf.net>
12259 * docs/gst/gstreamer-docs.sgml:
12260 * docs/gst/gstreamer-sections.txt:
12262 * gst/gstbin.c: (gst_bin_get_type),
12263 (gst_bin_child_proxy_get_child_by_index),
12264 (gst_bin_child_proxy_get_children_count),
12265 (gst_bin_child_proxy_init):
12266 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
12267 (gst_child_proxy_get_child_by_index),
12268 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
12269 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
12270 (gst_child_proxy_get), (gst_child_proxy_set_property),
12271 (gst_child_proxy_set_valist), (gst_child_proxy_set),
12272 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
12273 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
12274 * gst/gstchildproxy.h:
12275 * gst/parse/grammar.y:
12276 * tools/gst-inspect.c: (print_interfaces),
12277 (print_element_properties_info), (print_element_info):
12278 ported gstchildproxy over from 0.8
12279 ported gst-inspect fixes and enhancements over from 0.8
12281 2005-08-22 Wim Taymans <wim@fluendo.com>
12283 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
12284 (gst_base_transform_handle_buffer):
12285 Also call the transform function if we have ANY caps.
12287 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
12290 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
12292 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
12293 Don't pretend to handle seek events if the source is not seekable
12295 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
12297 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12298 Remove extra parameter to debug output
12300 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
12301 (gst_base_src_do_seek), (gst_base_src_activate_push):
12302 Fix seek event handling.
12304 * gst/gstpipeline.c: (gst_pipeline_change_state):
12305 * gst/gstqueue.c: (gst_queue_handle_sink_event),
12306 (gst_queue_src_activate_push):
12307 Don't start the src pad task on FLUSH_STOP if the pad
12311 2005-08-22 Wim Taymans <wim@fluendo.com>
12313 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12314 Added check for gst_static_caps_get() refcounting.
12316 2005-08-22 Wim Taymans <wim@fluendo.com>
12318 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
12319 Make _static_caps_get() refcounting sane.
12321 * gst/gstelement.c: (gst_element_set_state):
12322 Add g_return_val_if_fail() to protect against segfaults.
12324 2005-08-22 Stefan Kost <ensonic@users.sf.net>
12326 * docs/gst/tmpl/gstevent.sgml:
12329 inlined remaining docs, added missing doc comments
12331 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
12333 * check/gst/gstbin.c: (GST_START_TEST):
12334 since we don't know when preroll is done, use refcount range
12336 * gst/check/gstcheck.h:
12337 add macro for checking refcount range
12339 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
12341 * check/Makefile.am:
12342 clean up environment for when registry gets built versus
12343 when actual tests are run; valgrind seems to not report
12344 leaks if GST_PLUGIN_PATH is set to some specific values
12345 * check/gst/gstbin.c: (GST_START_TEST):
12346 add more refcounting checks; maybe this exposes a
12348 * common/check.mak:
12349 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12350 * gst/check/gstcheck.h:
12351 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
12352 (gst_bin_change_state):
12353 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
12354 add/fix debugging/whitespace
12356 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
12358 * check/gst/gstevent.c: (event_probe), (test_event),
12360 Er, don't call gst_bin_watch_for_state_change you idiot.
12362 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
12364 * check/Makefile.am:
12365 Use CHECK_CFLAGS and CHECK_LIBS
12366 * check/gst/gstevent.c: (event_probe), (test_event),
12369 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
12370 (gst_base_src_start), (gst_base_src_stop),
12371 (gst_base_src_activate_push), (gst_base_src_activate_pull),
12372 (gst_base_src_change_state):
12373 Sprinkle gst_base_src_stop liberally around error paths to fix
12374 problems reusing a source after failed state changes.
12375 * gst/base/gsttypefindhelper.c: (helper_find_peek),
12376 (helper_find_suggest), (gst_type_find_helper):
12377 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
12379 * docs/gst/tmpl/gstevent.sgml:
12380 Migrate part of the docs from the SGML file. Wait for ensonic to
12381 tell me how I did it wrong ;)
12382 * tools/gst-typefind.c: (main):
12383 Extra robustness to state changes between files.
12385 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
12387 * check/Makefile.am:
12388 don't valgrind the controller test - it's leaking - Stefan, HELP
12389 * gst/check/gstcheck.c: (gst_check_message_error),
12390 (gst_check_chain_func), (gst_check_setup_element),
12391 (gst_check_teardown_element), (gst_check_setup_src_pad),
12392 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
12393 (gst_check_teardown_sink_pad):
12394 * gst/check/gstcheck.h:
12395 add a bunch of methods to set up elements, and src and sink pads
12396 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
12397 * check/elements/identity.c: (setup_identity), (cleanup_identity),
12400 * gst/gstmessage.c:
12402 whitespace/doc fixes
12404 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
12406 * gst/gstelement.h:
12407 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
12408 be handled by the application and not always printed as well
12410 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
12412 * check/Makefile.am:
12414 * gst/check/gstcheck.c: (gst_check_message_error):
12415 * gst/check/gstcheck.h:
12416 add a fail_unless_equals_int
12417 add fail_unless for error messages
12419 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
12421 * check/Makefile.am:
12423 * common/Makefile.am:
12424 * common/check.mak:
12426 factor out some of the common stuff so we can use it
12428 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
12430 * check/Makefile.am:
12431 * check/gst/gstiterator.c: (GST_START_TEST):
12432 * check/gst/gstsystemclock.c: (GST_START_TEST),
12433 (gst_systemclock_suite):
12434 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
12436 valgrind more tests
12438 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
12440 * check/elements/.cvsignore:
12441 * check/elements/gstfakesrc.c:
12442 rename to name of element
12443 * check/elements/identity.c: (chain_func), (event_func),
12444 (setup_identity), (cleanup_identity), (GST_START_TEST),
12445 (identity_suite), (main):
12446 add a test for identity
12447 * check/Makefile.am:
12448 * pkgconfig/Makefile.am:
12449 * pkgconfig/gstreamer-check.pc.in:
12450 * pkgconfig/gstreamer-check-uninstalled.pc.in:
12454 move the check stuff to a library that gets installed
12455 * check/gst-libs/controller.c: (GST_START_TEST):
12456 * check/gst-libs/gdp.c:
12457 * check/gst/gst.c: (GST_START_TEST):
12458 * check/gst/gstbin.c:
12459 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12460 * check/gst/gstbus.c:
12461 * check/gst/gstcaps.c: (GST_START_TEST):
12462 * check/gst/gstelement.c:
12463 * check/gst/gstghostpad.c:
12464 * check/gst/gstiterator.c:
12465 * check/gst/gstmessage.c:
12466 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
12467 * check/gst/gstobject.c:
12468 * check/gst/gstpad.c: (GST_START_TEST):
12469 * check/gst/gststructure.c: (GST_START_TEST):
12470 * check/gst/gstsystemclock.c: (GST_START_TEST),
12471 (gst_systemclock_suite):
12472 * check/gst/gsttag.c: (gst_tag_suite):
12473 * check/gst/gstvalue.c:
12474 * check/pipelines/cleanup.c:
12475 * check/pipelines/simple_launch_lines.c:
12476 * check/states/sinks.c:
12477 change include statement
12479 * docs/gst/gstreamer-sections.txt:
12480 * docs/gst/tmpl/gstpad.sgml:
12481 document more pad stuff
12482 * gst/gstminiobject.c: (gst_mini_object_ref),
12483 (gst_mini_object_unref):
12486 2005-08-19 Stefan Kost <ensonic@users.sf.net>
12488 * docs/gst/tmpl/gst.sgml:
12490 eliminate another tmpl file, fix spelling in the long-description
12492 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
12494 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
12495 (test_event), (timediff), (gstevents_suite):
12496 Should fix build on 64-bit arch's
12498 2005-08-18 Andy Wingo <wingo@pobox.com>
12500 Make sure that when a pipeline goes to PLAYING, that data has
12501 actually hit the sink.
12503 * check/states/sinks.c (test_sink): A sink that doesn't get any
12504 data shouldn't return SUCCESS for going to either PLAYING or
12505 PAUSED. Test also the return values on the way back down.
12507 * gst/gstelement.c (gst_element_set_state): When changing the
12508 state of an element currently changing state asynchronously, go to
12509 lost-state after commiting the pending state. Makes future calls
12510 to get_state continue to return ASYNC.
12512 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
12513 ASYNC when going to PLAYING if we still don't have preroll, as can
12514 happen with live sources.
12516 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
12518 * docs/pwg/advanced-types.xml:
12519 Hack long paragraph into 2 chunks as a workaround for buggy
12520 jadetex version in sid and breezy that loops infinitely and
12523 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
12525 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
12526 (test_event), (timediff), (gstevents_suite):
12527 Provide more error margin in clock measurements to allow for
12528 g_get_current_time inaccuracies.
12530 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
12532 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
12533 (test_event), (timediff), (gstevents_suite):
12534 Fix error message output so I might be able to tell why the
12535 test works here but fails on the build farm.
12537 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
12539 * check/Makefile.am:
12540 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
12541 (test_event), (timediff), (gstevents_suite), (main):
12544 * docs/design/part-seeking.txt:
12545 Spelling correction
12547 * docs/gst/tmpl/gstevent.sgml:
12548 * docs/gst/tmpl/gstfakesrc.sgml:
12551 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12552 Treat a buffer-without-newsegment the same as a receiving
12553 a newsegment not in time format, and disable syncing to the clock
12556 * gst/gstbus.c: (gst_bus_set_sync_handler):
12557 Assert if anyone tries to replace the existing sync_handler for bus,
12558 as only the owner should be setting it.
12561 Have a fixed set of custom event enums with events identified by
12562 their structure name (as in 0.8), rather than a free-for-all
12563 allowing collisions between enum values from different plugins.
12565 * gst/gstpad.c: (gst_pad_class_init):
12568 * gst/gstqueue.c: (gst_queue_handle_sink_event):
12569 Handle out-of-band downstream events from the sending thread.
12571 2005-08-17 Andy Wingo <wingo@pobox.com>
12573 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
12574 play-timeout==0 to mean no timeout at all. In that case, don't
12575 bother with a get_state or a warning, just return directly, even
12578 * gst/base/gstbasetransform.c: Debug changes.
12581 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
12582 ensure bins post state change messages. A bit of a hack but I can't
12583 think of a way to avoid it.
12585 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
12587 2005-08-16 Andy Wingo <wingo@pobox.com>
12589 * gst/base/gstadapter.h:
12590 * gst/base/gstadapter.c (gst_adapter_take): New function, like
12591 peek() but you own the data. Not terribly efficient atm.
12593 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12595 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
12596 (gst_element_found_tags):
12598 Add two utility functions for tag handling.
12600 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12602 * docs/manual/advanced-dataaccess.xml:
12603 * docs/manual/basics-helloworld.xml:
12604 Fix docs to use _bin_add() before _link(), which fixes the examples
12605 with recent core versions (reported by Madhan Raj M
12606 <raj_madan@rediffmail.com>, #313199).
12608 2005-08-16 Wim Taymans <wim@fluendo.com>
12610 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12611 Added subtract checks.
12613 * docs/design/part-events.txt:
12614 Some more docs about newsegment
12616 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
12619 * gst/gstcaps.c: (gst_caps_to_string):
12620 Add comments, cleanups.
12622 * gst/gstelement.c: (gst_element_save_thyself):
12625 * gst/gstvalue.c: (gst_value_collect_int_range),
12626 (gst_string_unwrap), (gst_value_union_int_int_range),
12627 (gst_value_union_int_range_int_range),
12628 (gst_value_intersect_int_int_range),
12629 (gst_value_intersect_int_range_int_range),
12630 (gst_value_intersect_double_double_range),
12631 (gst_value_intersect_double_range_double_range),
12632 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
12633 (gst_value_subtract_int_range_int),
12634 (gst_value_subtract_double_range_double),
12635 (gst_value_subtract_double_range_double_range),
12636 (gst_value_subtract_from_list), (gst_value_subtract_list),
12637 (gst_value_can_compare), (gst_value_compare_fraction):
12638 Cleanups, add comments, remove unneeded asserts.
12640 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
12642 * tools/gst-launch.c: (event_loop):
12643 don't convert NULL structures to strings
12645 2005-08-15 Stefan Kost <ensonic@users.sf.net>
12647 * docs/gst/gstreamer-sections.txt:
12648 made some defines private
12649 * docs/gst/tmpl/gstconfig.sgml:
12650 * docs/gst/tmpl/gstqueue.sgml:
12651 * docs/gst/tmpl/gsttaglist.sgml:
12652 * docs/gst/tmpl/gsttypes.sgml:
12653 * docs/gst/tmpl/gstutils.sgml:
12654 * docs/pwg/appendix-porting.xml:
12655 * gst/base/gstbasesink.h:
12656 * gst/base/gstbasesrc.c:
12657 * gst/base/gstbasesrc.h:
12658 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
12659 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
12660 * gst/gstelement.c: (gst_element_class_init):
12661 * gst/gstpad.c: (gst_pad_class_init):
12662 * gst/gstqueue.c: (gst_queue_class_init):
12663 * gst/gstxml.c: (gst_xml_class_init):
12664 documented all undocumented signal inline
12665 * libs/gst/controller/gst-controller.h:
12668 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12670 * docs/pwg/appendix-porting.xml:
12671 Document _set_link_function -> _set_setcaps_function.
12673 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
12675 * check/Makefile.am:
12676 add a .check target for running the check
12677 * check/gst-libs/controller.c: (GST_START_TEST):
12679 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12680 complete checks for gstbuffer; would be nice if I could get the
12681 gcov stuff to work so I can see if I actually completed gstbuffer.c
12682 * check/gstcheck.h:
12683 add ASSERT_BUFFER_REFCOUNT
12685 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
12687 * docs/gst/gstreamer-sections.txt:
12688 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
12690 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
12691 spew out a warning if a tag that is already registered
12692 is re-registered, unless it is re-registered with a
12693 different type (#308438).
12695 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
12697 * docs/pwg/appendix-porting.xml:
12698 * docs/pwg/building-state.xml:
12699 Add some paragraphs about state changes in 0.9 to the PWG
12700 and the porting guide, in particular about the new meaning
12701 of GST_STATE_PAUSED and how to write state change functions
12702 with concurrent access by multiple threads in mind.
12704 2005-08-11 Stefan Kost <ensonic@users.sf.net>
12706 * docs/gst/gstreamer-docs.sgml:
12707 * docs/libs/gstreamer-libs-docs.sgml:
12708 added deprecation and since indexes
12709 * libs/gst/controller/gst-controller.c:
12710 * libs/gst/controller/gst-helper.c:
12714 2005-08-11 Wim Taymans <wim@fluendo.com>
12716 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
12717 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
12718 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
12719 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
12720 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
12721 (gst_ghost_pad_set_target):
12722 Actually implement (re)setting the target on a ghostpad
12723 as described in the docs.
12725 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
12727 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
12728 Check whether GST_DEBUG_NO_COLOR environment variable is
12729 set and disable coloured debug output if that is the case.
12731 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
12733 * gst/base/gsttypefindhelper.c: (helper_find_peek),
12734 (gst_type_find_helper):
12735 The memory returned by gst_type_find_peek() needs to
12736 stay valid until the end of a typefind function, and
12737 typefind functions may keep results from different
12738 offsets around, so we can't just unref the buffer from
12739 the previous _peek(), but have to save all buffers
12740 returned by _peek() until typefinding is done and only
12743 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
12745 * docs/gst/gstreamer-sections.txt:
12747 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
12749 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12751 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
12752 Fix a pretty good memleak.
12754 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
12756 * gst/gstiterator.h:
12757 Fix wrong include and 'make distcheck'.
12759 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12761 * gst/gstbin.c: (bin_bus_handler):
12762 Use gst_element_post_message() instead.
12764 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
12766 * gst/base/gstadapter.h:
12767 * gst/base/gstbasesink.h:
12768 * gst/base/gstbasesrc.h:
12769 * gst/base/gstbasetransform.h:
12770 * gst/base/gstcollectpads.h:
12771 * gst/base/gstpushsrc.h:
12772 * gst/gstiterator.h:
12773 Add padding to our base elements' class and instance structs and
12774 to GstIterator (you will need to rebuild all plugins and apps!)
12776 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12778 * gst/gstbin.c: (bin_bus_handler):
12779 Make default message forwarding from child->bus to bin->bus
12780 threadsafe and make it not emit warnings if the parent has no bus.
12782 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12784 * gst/gstelement.c: (activate_pads):
12785 On paused->ready, set pad->caps to NULL, as is the documented
12786 behaviour in this state change. Fixes playback of series of
12787 media files when visualization is enabled in Totem.
12789 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12791 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
12792 Allow NULL as filter-caps (which means "any").
12794 2005-08-05 Stefan Kost <ensonic@users.sf.net>
12796 * docs/libs/gstreamer-libs-sections.txt:
12797 * libs/gst/controller/gst-controller.c:
12798 * libs/gst/controller/gst-controller.h:
12799 * libs/gst/controller/gst-helper.c:
12800 adding more entries to the docs and fix small doc-bugs
12802 2005-08-05 Stefan Kost <ensonic@users.sf.net>
12804 * docs/gst/gstreamer-docs.sgml:
12805 * docs/gst/gstreamer-sections.txt:
12806 * docs/gst/gstreamer.types:
12807 * docs/gst/tmpl/gstbasesink.sgml:
12808 * docs/gst/tmpl/gstbasesrc.sgml:
12809 * docs/gst/tmpl/gstbasetransform.sgml:
12810 * docs/gst/tmpl/gstfakesrc.sgml:
12811 * gst/base/gstcollectpads.c:
12812 * gst/base/gstcollectpads.h:
12813 * libs/gst/controller/gst-controller.c:
12814 * libs/gst/controller/gst-controller.h:
12815 * libs/gst/controller/gst-helper.c:
12816 * libs/gst/controller/gst-interpolation.c:
12817 * libs/gst/controller/lib.c:
12818 added long/short desc for controller docs
12819 added collectpads base class docs
12820 added correct includes to base-class docs
12822 2005-08-05 Stefan Kost <ensonic@users.sf.net>
12824 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
12825 (gst_test_mono_source_set_property),
12826 (gst_test_mono_source_class_init), (GST_START_TEST),
12827 (gst_controller_suite):
12828 * docs/gst/gstreamer-docs.sgml:
12829 * docs/gst/gstreamer-sections.txt:
12830 * docs/gst/gstreamer.types:
12831 * docs/libs/gstreamer-libs-docs.sgml:
12832 * docs/libs/gstreamer-libs-sections.txt:
12833 * gst/base/gstadapter.c:
12834 * libs/gst/controller/gst-controller.c:
12835 (gst_controlled_property_new), (gst_controlled_property_free),
12836 (gst_controller_new_valist),
12837 (gst_controller_remove_properties_valist),
12838 (gst_controller_sink_values), (_gst_controller_finalize):
12839 * libs/gst/controller/gst-controller.h:
12840 * libs/gst/controller/gst-helper.c:
12841 (gst_object_control_properties), (gst_object_uncontrol_properties),
12842 (gst_object_get_controller), (gst_object_set_controller),
12843 (gst_object_sink_values), (gst_object_get_value_arrays),
12844 (gst_object_get_value_array):
12845 more tests (and fixes) for the controller
12846 more docs for the controller
12847 integrated companies docs for the adapter
12849 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
12851 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
12852 (GST_START_TEST), (fakesrc_suite):
12853 add tests for sizetype
12855 2005-08-04 Andy Wingo <wingo@pobox.com>
12857 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
12858 fixes buffer_alloc proxying among other things.
12860 * gst/base/gstbasetransform.c:
12861 * gst/base/gstbasetransform.h:
12862 Revert patch to gstbasetransform from 7-28 removing
12865 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
12866 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
12867 Semantics changed, should return not the size of the output buffer
12868 but the byte size of a buffer with a given caps.
12870 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
12872 (gst_base_transform_configure_caps): Don't set out_size here: (in,
12873 out) are not the pad caps until setcaps finishes.
12874 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
12875 not-in-place case as well. Deal with changing from in-place to
12876 not-in-place within calling pad_alloc_buffer. Still a bit
12877 concerned about the overhead here...
12879 2005-08-03 Andy Wingo <wingo@pobox.com>
12881 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
12882 fixating is an error.
12884 2005-08-04 Edward Hervey <edward@fluendo.com>
12886 * gst/base/gstadapter.h:
12887 Added gst_adapter_get_type() to the header
12889 2005-08-03 Stefan Kost <ensonic@users.sf.net>
12891 * check/Makefile.am:
12892 * check/gst-libs/controller.c:
12893 * libs/gst/controller/gst-controller.c:
12894 (gst_controller_new_valist):
12895 added check test suite for the controller
12896 * gst/base/gstpushsrc.c:
12899 2005-08-03 Stefan Kost <ensonic@users.sf.net>
12901 * docs/gst/Makefile.am:
12902 * docs/gst/gstreamer-docs.sgml:
12903 * docs/gst/gstreamer-sections.txt:
12904 * docs/gst/gstreamer.types:
12905 * docs/gst/tmpl/gstfakesrc.sgml:
12907 * gst/base/gstbasesink.c:
12908 * gst/base/gstbasesink.h:
12909 * gst/base/gstbasesrc.c:
12910 * gst/base/gstbasesrc.h:
12911 * gst/base/gstbasetransform.c:
12912 * gst/base/gstpushsrc.c:
12913 * gst/base/gstpushsrc.h:
12914 add short/long description docs to base classes
12915 add pushsrc to the docs
12916 remove consolidated doc fragments
12918 2005-08-03 Stefan Kost <ensonic@users.sf.net>
12921 * docs/libs/Makefile.am:
12922 * docs/libs/gstreamer-libs-docs.sgml:
12923 * docs/libs/gstreamer-libs-sections.txt:
12924 * docs/libs/gstreamer-libs.types:
12925 * examples/Makefile.am:
12926 * examples/controller/.cvsignore:
12927 * examples/controller/Makefile.am:
12928 * examples/controller/audio-example.c: (main):
12929 * libs/gst/Makefile.am:
12930 * libs/gst/controller/.cvsignore:
12931 * libs/gst/controller/Makefile.am:
12932 * libs/gst/controller/gst-controller.c:
12933 (on_object_controlled_property_changed), (gst_timed_value_compare),
12934 (gst_timed_value_find),
12935 (gst_controlled_property_set_interpolation_mode),
12936 (gst_controlled_property_new), (gst_controlled_property_free),
12937 (gst_controller_find_controlled_property),
12938 (gst_controller_new_valist), (gst_controller_new),
12939 (gst_controller_remove_properties_valist),
12940 (gst_controller_remove_properties), (gst_controller_set),
12941 (gst_controller_set_from_list), (gst_controller_unset),
12942 (gst_controller_get), (gst_controller_get_all),
12943 (gst_controller_sink_values), (gst_controller_get_value_arrays),
12944 (gst_controller_get_value_array),
12945 (gst_controller_set_interpolation_mode),
12946 (_gst_controller_finalize), (_gst_controller_init),
12947 (_gst_controller_class_init), (gst_controller_get_type):
12948 * libs/gst/controller/gst-controller.h:
12949 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
12950 (g_object_uncontrol_properties), (g_object_get_controller),
12951 (g_object_set_controller), (g_object_sink_values),
12952 (g_object_get_value_arrays), (g_object_get_value_array):
12953 * libs/gst/controller/gst-interpolation.c:
12954 (gst_controlled_property_find_timed_value_node),
12955 (interpolate_none_get), (interpolate_trigger_get),
12956 (interpolate_trigger_get_value_array):
12957 * libs/gst/controller/lib.c: (gst_controller_init):
12958 * pkgconfig/Makefile.am:
12959 * pkgconfig/gstreamer-control-uninstalled.pc.in:
12960 * pkgconfig/gstreamer-control.pc.in:
12961 * testsuite/Makefile.am:
12962 * testsuite/controller/.cvsignore:
12963 * testsuite/controller/Makefile.am:
12964 * testsuite/controller/interpolator.c: (main):
12965 added controller code
12966 removed dparam pc files
12968 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
12969 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
12970 (gst_collectpads_stop):
12971 Broadcast the condition when shutting down, to make sure we wake all
12972 threads up. Shut down pads on finalize, for safety.
12974 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
12975 * gst/base/gstbasetransform.c: (gst_base_transform_init),
12976 (gst_base_transform_handle_buffer),
12977 (gst_base_transform_change_state):
12978 Handle PAUSED->READY->PAUSED transition after negotiation
12980 * gst/gstmessage.c: (gst_message_init):
12981 Extra piece of debug for new messages.
12983 2005-08-01 Stefan Kost <ensonic@users.sf.net>
12986 * docs/gst/tmpl/gstbasesrc.sgml:
12987 * docs/gst/tmpl/gstelement.sgml:
12988 * docs/gst/tmpl/gstevent.sgml:
12989 * docs/gst/tmpl/gstfakesrc.sgml:
12990 * docs/gst/tmpl/gstformat.sgml:
12991 * docs/gst/tmpl/gstghostpad.sgml:
12992 * docs/gst/tmpl/gstpad.sgml:
12993 * docs/gst/tmpl/gstquery.sgml:
12994 * docs/gst/tmpl/gststructure.sgml:
12995 * docs/gst/tmpl/gsttaglist.sgml:
12996 * docs/gst/tmpl/gstvalue.sgml:
12997 * docs/libs/gstreamer-libs-docs.sgml:
12998 * docs/libs/gstreamer-libs-sections.txt:
12999 * docs/libs/gstreamer-libs.types:
13000 * libs/gst/Makefile.am:
13001 * libs/gst/control/.cvsignore:
13002 * libs/gst/control/Makefile.am:
13003 * libs/gst/control/control.c:
13004 * libs/gst/control/control.h:
13005 * libs/gst/control/dparam.c:
13006 * libs/gst/control/dparam.h:
13007 * libs/gst/control/dparam_smooth.c:
13008 * libs/gst/control/dparam_smooth.h:
13009 * libs/gst/control/dparamcommon.h:
13010 * libs/gst/control/dparammanager.c:
13011 * libs/gst/control/dparammanager.h:
13012 * libs/gst/control/dplinearinterp.c:
13013 * libs/gst/control/dplinearinterp.h:
13014 * libs/gst/control/unitconvert.c:
13015 * libs/gst/control/unitconvert.h:
13016 * testsuite/Makefile.am:
13017 * testsuite/dynparams/.cvsignore:
13018 * testsuite/dynparams/Makefile.am:
13019 * testsuite/dynparams/dparamstest.c:
13020 * tools/Makefile.am:
13021 * tools/gst-inspect.c: (print_element_info), (main):
13022 * tools/gst-xmlinspect.c: (print_element_info), (main):
13023 deactivate and remove dparams (libgstcontrol)
13025 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
13027 * gst/elements/gsttypefindelement.c:
13028 (gst_type_find_element_have_type), (gst_type_find_element_init),
13029 (stop_typefinding), (gst_type_find_element_handle_event),
13030 (gst_type_find_element_chain), (gst_type_find_element_getrange):
13031 * gst/elements/gsttypefindelement.h:
13032 Set caps on all outgoing buffers, not just the first one.
13034 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
13036 * gst/elements/gsttypefindelement.c:
13037 (gst_type_find_element_have_type),
13038 (gst_type_find_element_check_set_buffer_caps),
13039 (gst_type_find_element_init), (stop_typefinding),
13040 (gst_type_find_element_handle_event),
13041 (gst_type_find_element_chain), (gst_type_find_element_getrange):
13042 * gst/elements/gsttypefindelement.h:
13043 Set caps on first outgoing buffer when we've found the type.
13045 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
13047 * docs/gst/gstreamer-docs.sgml:
13048 * docs/gst/gstreamer-sections.txt:
13049 * docs/gst/tmpl/gstscheduler.sgml:
13050 * docs/gst/tmpl/gstschedulerfactory.sgml:
13051 Remove some old cruft from docs.
13053 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
13056 Fix inline docs for GstPadLinkReturn.
13058 * gst/gststructure.c: (gst_structure_has_name):
13059 * gst/gststructure.h:
13060 * docs/gst/gstreamer-sections.txt:
13061 New API: gst_structure_has_name().
13063 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
13066 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
13067 and _LARGEFILE_SOURCE in config.h as required. Do not
13068 export those flags in our .pc files any longer (#142209).
13070 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
13072 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
13073 (gst_file_sink_do_seek), (gst_file_sink_event),
13074 (gst_file_sink_get_current_offset), (gst_file_sink_render):
13075 Redo seek/tell calls with large file support in mind; add some
13076 debugging messages; add log message that tells us when large
13077 file support is unavailable or not enabled for some reason.
13079 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
13080 Add log message that tells us when large file support
13081 is unavailable or not enabled for some reason.
13083 2005-07-29 Wim Taymans <wim@fluendo.com>
13085 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
13086 Added test for removing an element with ghostpad from a bin.
13087 Fixed test as current implementation does the right thing.
13089 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
13090 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
13091 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
13092 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
13093 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
13094 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13095 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13096 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13097 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
13098 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
13099 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
13100 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
13101 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
13102 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
13103 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
13104 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
13105 * gst/gstghostpad.h:
13106 Clean up ghostpads, remove properties for internal stuff.
13109 Prepare for switching targets, not all use cases work yet.
13111 2005-07-29 Wim Taymans <wim@fluendo.com>
13113 * docs/design/part-gstghostpad.txt:
13116 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
13117 (gst_bin_remove_func):
13118 Unlinking pads while holding the bin LOCK is not a good
13121 * gst/gstpad.c: (gst_pad_class_init),
13122 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
13123 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
13124 No prob setting template after creating the pad.
13126 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
13128 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
13129 (gst_bus_peek), (gst_bus_source_dispatch),
13130 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
13131 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
13132 gst_bus_poll may be called from other threads. Handle
13133 this nicely by not making poll_data disappear off the
13134 stack once gst_bus_poll returns.
13135 gst_bus_peek now increments the refcount on the returned
13138 2005-07-29 Wim Taymans <wim@fluendo.com>
13140 * docs/design/part-gstghostpad.txt:
13141 Overview of current GhostPad datastructures and use
13142 cases for changing the target.
13144 2005-07-28 Wim Taymans <wim@fluendo.com>
13146 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
13147 Added checks for hierarchy consistency whan adding linked
13150 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
13151 Added check to test element scheduling without bin/pipeline.
13153 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
13154 First add elements to bin, then link.
13156 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
13157 (gst_bin_remove_func):
13158 Unlink pads from elements added/removed from bin to maintain
13159 hierarchy consistency.
13161 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13163 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
13164 (gst_base_transform_handle_buffer):
13165 * gst/base/gstbasetransform.h:
13166 Remove broken delay_configure (fixes renegotiation of software
13167 scaling pipelines); remove some leftover printf()s.
13169 2005-07-28 Wim Taymans <wim@fluendo.com>
13171 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
13172 Added some more tests for wrong hierarchy
13174 * docs/design/part-overview.txt:
13177 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
13180 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
13181 (gst_element_dispose):
13182 Some more cleanups.
13184 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
13185 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
13186 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
13187 (gst_pad_set_caps), (gst_pad_send_event):
13188 Check for correct hierarchy when linking pads. Moving to
13189 strict requirement for ghostpads when linking elements in
13193 Clean ups. Added WRONG_HIERARCHY return value.
13195 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13197 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13198 Better debug if no transform is possible.
13200 2005-07-27 Wim Taymans <wim@fluendo.com>
13202 * docs/random/wtay/network-transp:
13203 Some old doc I had.
13205 2005-07-27 Wim Taymans <wim@fluendo.com>
13207 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
13208 (gst_dp_event_from_packet):
13209 Fix serialization of seek events.
13211 2005-07-27 Wim Taymans <wim@fluendo.com>
13213 * check/gst-libs/gdp.c: (GST_START_TEST):
13214 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
13215 Fix compilation and fix event serialization.
13217 2005-07-27 Wim Taymans <wim@fluendo.com>
13220 * docs/design/part-TODO.txt:
13221 * docs/design/part-events.txt:
13224 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13225 (gst_base_sink_event), (gst_base_sink_do_sync),
13226 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
13227 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
13228 (gst_base_src_do_seek), (gst_base_src_event_handler),
13229 (gst_base_src_loop):
13230 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
13231 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
13232 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
13233 (gst_base_transform_event), (gst_base_transform_handle_buffer),
13234 (gst_base_transform_set_passthrough),
13235 (gst_base_transform_is_passthrough):
13236 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
13237 * gst/elements/gstfilesink.c: (gst_file_sink_event):
13243 * gst/gstelement.c: (gst_element_seek):
13244 * gst/gstelement.h:
13245 Update gst_element_seek.
13247 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
13248 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
13249 (gst_event_new_flush_start), (gst_event_new_flush_stop),
13250 (gst_event_new_eos), (gst_event_new_newsegment),
13251 (gst_event_parse_newsegment), (gst_event_new_tag),
13252 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
13253 (gst_event_parse_qos), (gst_event_new_seek),
13254 (gst_event_parse_seek), (gst_event_new_navigation):
13256 Make GstEvent use GstStructure. Add parsing code, make sure the
13257 API is sufficiently generic.
13258 Mark possible directions of events and serialization.
13260 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
13261 (_gst_message_copy), (gst_message_new_segment_start),
13262 (gst_message_new_segment_done), (gst_message_new_custom),
13263 (gst_message_parse_segment_start),
13264 (gst_message_parse_segment_done):
13267 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
13268 (gst_pad_set_caps), (gst_pad_send_event):
13269 Update for new events.
13270 Catch events sent in wrong directions.
13272 * gst/gstqueue.c: (gst_queue_link_src),
13273 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
13274 (gst_queue_handle_src_query):
13279 Remove event code from this file.
13281 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
13282 (gst_dp_event_from_packet):
13285 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13287 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
13288 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
13289 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
13290 Make debugging actually useful.
13292 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13294 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
13295 (gst_pad_fixate_caps):
13296 Implement default fixation once again, so that gst_pad_fixate()
13297 actually does anything at all. This probably needs to be some
13298 sort of a last resort, and use profile-based fixation first, but
13299 since that doesn't exist yet, this is the best we have. Fixes
13300 visualization in Totem.
13302 2005-07-22 Wim Taymans <wim@fluendo.com>
13304 * docs/design/part-events.txt:
13307 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13308 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
13309 (gst_base_sink_activate_pull):
13310 Some more comments.
13312 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
13313 (gst_fake_src_create):
13314 Fix handoff marshall.
13316 * gst/elements/gstidentity.c: (gst_identity_class_init),
13317 (gst_identity_transform_ip):
13318 We're a real inplace element.
13320 * gst/gstbus.c: (gst_bus_post):
13321 Added some comments.
13323 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
13324 * tests/muxing/case1.c: (main):
13325 * tests/sched/dynamic-pipeline.c: (main):
13326 * tests/sched/interrupt1.c: (main):
13327 * tests/sched/interrupt2.c: (main):
13328 * tests/sched/interrupt3.c: (main):
13329 * tests/sched/runxml.c: (main):
13330 * tests/sched/sched-stress.c: (main):
13331 * tests/seeking/seeking1.c: (event_received), (main):
13332 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
13334 * tests/threadstate/threadstate3.c: (main):
13335 * tests/threadstate/threadstate4.c: (main):
13336 * tests/threadstate/threadstate5.c: (main):
13339 2005-07-21 Wim Taymans <wim@fluendo.com>
13341 * docs/design/part-seeking.txt:
13342 Some small additions.
13344 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13345 (gst_base_sink_get_times), (gst_base_sink_do_sync),
13346 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
13347 * gst/base/gstbasesink.h:
13348 discont values are gint64, handle the math correctly.
13350 * gst/base/gstbasesrc.c: (gst_base_src_loop):
13351 Make the basesrc report error if the source pad is not linked.
13353 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
13354 (gst_queue_loop), (gst_queue_handle_src_query),
13355 (gst_queue_src_activate_push):
13356 Make queue collect data even if the srcpad is not linked.
13357 Start pushing out data as soon as it is linked.
13359 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
13361 Added gst_flow_get_name() to ease error reporting.
13363 2005-07-20 Wim Taymans <wim@fluendo.com>
13365 * gst/gstmessage.c: (gst_message_new_segment_start),
13366 (gst_message_new_segment_done), (gst_message_parse_segment_start),
13367 (gst_message_parse_segment_done):
13368 * gst/gstmessage.h:
13369 Added a bunch of messages for advanced seeking.
13371 * gst/parse/grammar.y:
13372 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
13373 (gst_dpman_state_changed):
13374 Fix some new-pad -> pad-added signals
13376 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13378 * docs/manual/appendix-porting.xml:
13379 * docs/pwg/appendix-porting.xml:
13380 Document new-pad/state-change signal renames and the FixedList
13383 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13385 * docs/manual/advanced-autoplugging.xml:
13386 * docs/manual/basics-helloworld.xml:
13387 * docs/manual/basics-pads.xml:
13388 * docs/random/ds/0.9-suggested-changes:
13389 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
13390 * gst/gstelement.h:
13394 * gst/gststructure.c: (gst_structure_value_get_generic_type),
13395 (gst_structure_parse_array), (gst_structure_parse_value):
13396 * gst/gstvalue.c: (gst_type_is_fixed),
13397 (gst_value_list_prepend_value), (gst_value_list_append_value),
13398 (gst_value_list_get_size), (gst_value_list_get_value),
13399 (gst_value_transform_array_string), (gst_value_serialize_array),
13400 (gst_value_deserialize_array), (gst_value_intersect_array),
13401 (gst_value_is_fixed), (_gst_value_initialize):
13403 GstElement::new-pad -> pad-added, GstElement::state-change ->
13404 state-changed, GstValueFixedList -> GstValueArray, add format and
13405 flags as their own arguments in gst_element_seek() (should improve
13406 "bindeability"), remove function generators since they don't work
13407 under a whole bunch of compilers (they were deprecated already
13410 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13412 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
13413 (_gst_debug_register_funcptr):
13415 Fix illegal cast on some platforms (#309253).
13417 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13419 * gst/gstmessage.c: (gst_message_new_custom):
13420 * gst/gstmessage.h:
13421 Add _new_custom, make _new_application a macro to _new_custom.
13423 2005-07-20 Wim Taymans <wim@fluendo.com>
13425 * gst/base/gstbasesrc.c: (gst_base_src_init),
13426 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
13427 * gst/base/gstbasesrc.h:
13428 Add a gboolean to decide when to push out a discont.
13430 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
13431 (gst_queue_loop), (gst_queue_handle_src_query),
13432 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
13433 (gst_queue_set_property), (gst_queue_get_property):
13436 * tests/threadstate/threadstate1.c: (main):
13437 Make a thread test compile and run... very silly..
13440 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13442 * docs/manual/appendix-porting.xml:
13443 Mention removal of libgstgconf-0.9.la and existence of gconf
13446 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13448 * docs/pwg/advanced-clock.xml:
13449 * docs/pwg/appendix-porting.xml:
13450 * docs/pwg/intro-preface.xml:
13451 * docs/pwg/other-base.xml:
13452 * docs/pwg/other-manager.xml:
13453 * docs/pwg/other-nton.xml:
13454 * docs/pwg/other-ntoone.xml:
13455 * docs/pwg/other-oneton.xml:
13456 * docs/pwg/pwg.xml:
13457 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
13458 demuxer), remove n-to-n (was never written), fix some code examples
13459 and links and update the porting section to include all this.
13461 2005-07-19 Wim Taymans <wim@fluendo.com>
13463 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
13464 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
13465 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
13466 (gst_queue_src_activate_push), (gst_queue_change_state),
13467 (gst_queue_get_property):
13469 Propagate GstFlowReturn more intelligently upstream and output
13470 an ERROR/EOS when streaming stopped due to fatal error.
13472 2005-07-19 Wim Taymans <wim@fluendo.com>
13474 * tools/gst-launch.c: (check_intr), (event_loop), (main):
13475 Don't block forever for the state change to complete, the
13476 pipeline already did with a sensible timeout.
13478 2005-07-19 Wim Taymans <wim@fluendo.com>
13480 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
13481 Make sure we never call the create function is we
13484 2005-07-19 Andy Wingo <wingo@pobox.com>
13486 * gst/parse/parse.l: Attempt to solve bug #172815.
13488 2005-07-19 Wim Taymans <wim@fluendo.com>
13490 * docs/design/part-clocks.txt:
13491 * docs/design/part-events.txt:
13492 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
13493 Small docs updates.
13494 Only update the seeking values when we are not
13497 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
13499 * gst/base/gstbasesrc.c: (gst_base_src_loop):
13500 Oops, ignore the result of gst_pad_push_event here.
13502 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
13504 * gst/base/gstbasesrc.c: (gst_base_src_loop),
13505 (gst_base_src_activate_push):
13506 Send discont event from the loop function, as pads
13507 aren't activated yet in the activate_push handler.
13509 * gst/gstbin.c: (bin_bus_handler):
13510 Don't leak element name.
13512 2005-07-18 Andy Wingo <wingo@pobox.com>
13514 * configure.ac: Use AS_LIBTOOL_TAGS.
13516 2005-07-18 Wim Taymans <wim@fluendo.com>
13518 * docs/gst/gstreamer.types:
13519 Remove deleted types.
13521 2005-07-18 Wim Taymans <wim@fluendo.com>
13523 * check/elements/gstfakesrc.c: (GST_START_TEST):
13526 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
13527 (init_popt_callback):
13529 * gst/gst_private.h:
13530 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
13531 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
13534 * gst/gstconfig.h.in:
13535 * gst/gstelement.c: (gst_element_class_init),
13536 (gst_element_set_base_time), (gst_element_get_base_time),
13537 (iterator_fold_with_resync), (gst_element_change_state),
13538 (gst_element_dispose), (gst_element_get_bus):
13539 * gst/gstelement.h:
13540 * gst/gstelementfactory.h:
13541 * gst/gsterror.c: (_gst_core_errors_init):
13544 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
13546 * gst/gstinfo.c: (_gst_debug_init):
13547 * gst/gstmessage.c: (_gst_message_copy):
13548 * gst/gstmessage.h:
13549 * gst/gstminiobject.h:
13552 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
13553 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
13556 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
13557 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
13558 (gst_pipeline_get_last_stream_time):
13559 * gst/gstpipeline.h:
13560 * gst/gstpluginfeature.h:
13562 * gst/gstscheduler.c:
13563 * gst/gstscheduler.h:
13564 * gst/gststructure.h:
13565 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
13566 (gst_task_finalize), (gst_task_func), (gst_task_create),
13567 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
13568 (gst_task_stop), (gst_task_pause):
13570 * gst/gsttypefind.h:
13572 * gst/registries/gstlibxmlregistry.c: (load_feature),
13573 (gst_xml_registry_load), (gst_xml_registry_save_feature):
13574 * gst/registries/gstxmlregistry.c:
13575 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
13576 * gst/schedulers/threadscheduler.c:
13577 * libs/gst/control/dparammanager.h:
13578 * tools/gst-inspect.c: (print_element_list),
13579 (print_plugin_features), (print_element_features):
13580 * tools/gst-xmlinspect.c: (print_element_list),
13581 (print_plugin_info), (main):
13582 Removed plugable schedulers.
13583 Removed Scheduler/Manager from elements.
13584 Removed gsttypes.h, rearranged includes.
13585 Removed dependency pad<->element, element<>pipeline, and
13586 various others, fix includes.
13587 implement gst_pad_get_parent() with gst_object_get_parent()
13588 Make GstTask sefcontained.
13589 Fix _get_state() on GstBin, it did not return ASYNC with a 0
13591 Fix endless loop in iterator_fold_with_resync.
13594 2005-07-18 Wim Taymans <wim@fluendo.com>
13600 2005-07-18 Wim Taymans <wim@fluendo.com>
13603 No more cothreads.h
13605 2005-07-18 Wim Taymans <wim@fluendo.com>
13609 Let's remove these.
13611 2005-07-18 Wim Taymans <wim@fluendo.com>
13613 * docs/design/part-dynamic.txt:
13614 * docs/design/part-events.txt:
13615 * docs/design/part-seeking.txt:
13616 Some more docs in the works.
13618 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
13619 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
13620 (gst_base_transform_setcaps), (gst_base_transform_get_size),
13621 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
13622 (gst_base_transform_handle_buffer),
13623 (gst_base_transform_sink_activate_push),
13624 (gst_base_transform_src_activate_pull),
13625 (gst_base_transform_set_passthrough),
13626 (gst_base_transform_is_passthrough):
13629 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
13632 * gst/gstevent.c: (gst_event_finalize):
13635 * gst/gstutils.c: (gst_element_unlink),
13636 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
13637 (gst_pad_proxy_setcaps):
13639 Add _get_parent_element() to get a pads parent as an element.
13641 2005-07-18 Wim Taymans <wim@fluendo.com>
13643 * check/gst/gstbin.c: (GST_START_TEST):
13646 2005-07-18 Wim Taymans <wim@fluendo.com>
13648 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
13649 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
13650 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
13651 (gst_base_sink_event), (gst_base_sink_do_sync),
13652 (gst_base_sink_chain), (gst_base_sink_loop),
13653 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
13654 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
13656 Fix logic for returning ASYNC when not prerolled.
13658 2005-07-18 Wim Taymans <wim@fluendo.com>
13660 * gst/gstqueue.c: (gst_queue_handle_sink_event):
13661 Fix nasty refcount bug.
13663 2005-07-16 Philippe Khalaf <burger@speedy.org>
13665 * gst/elements/gstfdsrc.c:
13666 * gst/elements/gstfdsrc.h:
13667 * gst/elements/gstelements.c:
13668 * gst/elements/Makefile.am:
13669 Ported fdsrc to 0.9.
13671 2005-07-16 Wim Taymans <wim@fluendo.com>
13673 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13674 (gst_base_sink_do_sync):
13677 2005-07-16 Wim Taymans <wim@fluendo.com>
13679 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13680 (gst_base_sink_event), (gst_base_sink_get_times),
13681 (gst_base_sink_do_sync), (gst_base_sink_change_state):
13682 * gst/base/gstbasesink.h:
13683 Store and use discont values when syncing buffers as described
13686 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
13687 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
13688 (gst_base_src_activate_push):
13689 Push discont event when starting.
13691 * gst/elements/gstidentity.c: (gst_identity_transform):
13694 * gst/gstbin.c: (gst_bin_change_state):
13695 Small cleanups in base_time distribution.
13697 * gst/gstelement.c: (gst_element_set_base_time),
13698 (gst_element_get_base_time), (gst_element_change_state):
13699 * gst/gstelement.h:
13700 Added methods for the base_time of the element.
13703 * gst/gstpipeline.c: (gst_pipeline_send_event),
13704 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
13705 (gst_pipeline_get_last_stream_time):
13706 * gst/gstpipeline.h:
13708 Handle seeking as described in design doc, remove stream_time
13710 Cleanups clock and stream_time selection code. Added accessors
13711 for the stream_time.
13714 2005-07-16 Andy Wingo <wingo@pobox.com>
13716 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
13719 2005-07-16 Wim Taymans <wim@fluendo.com>
13721 * check/gst/gstbin.c: (GST_START_TEST):
13722 Make elements silent as the deep_notify refs the
13723 parent, which might make the test fail.
13725 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
13726 Don't hold the lock for too long.
13728 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
13730 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
13731 Don't unref the caps we passed to gst_caps_make_writable() after
13732 passing them. gst_caps_make_writable() will do that for us.
13734 2005-07-15 Andy Wingo <wingo@pobox.com>
13736 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
13739 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
13740 own marshalling function for the handoff signal. Properly type the
13741 buffer as a buffer. Fixes some warnings. Should do a more general
13743 (gst_identity_class_init): Plug into the right marshaller.
13745 2005-07-15 Wim Taymans <wim@fluendo.com>
13747 * docs/design/part-TODO.txt:
13748 * docs/design/part-clocks.txt:
13749 * docs/design/part-element-sink.txt:
13750 * docs/design/part-events.txt:
13751 * docs/design/part-gstpipeline.txt:
13752 Updated docs, mostly DISCONT related.
13754 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
13756 * docs/pwg/building-pads.xml:
13757 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
13759 2005-07-15 Andy Wingo <wingo@pobox.com>
13761 * tools/gst-typefind.c: Update, add copyright block.
13763 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
13764 Normalize and truncate caps before fixation.
13767 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
13768 discards all but the first structure from its argument.
13770 2005-07-15 Wim Taymans <wim@fluendo.com>
13772 * gst/base/gstbasetransform.c: (gst_base_transform_init),
13773 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
13774 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
13775 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
13776 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
13777 (gst_base_transform_chain), (gst_base_transform_change_state),
13778 (gst_base_transform_set_passthrough),
13779 (gst_base_transform_is_passthrough):
13780 * gst/base/gstbasetransform.h:
13781 Make passthrough work using the bufferpools.
13782 Changed API a bit, subclasses have to write into a buffer
13783 provided by the base class.
13784 More debug info in nego functions.
13786 * gst/elements/gstidentity.c: (gst_identity_init),
13787 (gst_identity_transform):
13788 Port to new base class.
13790 2005-07-15 Wim Taymans <wim@fluendo.com>
13792 * gst/gstmessage.c: (gst_message_new_state_changed):
13793 * tools/gst-launch.c: (event_loop), (main):
13794 Totally dump messages in -launch with the -m option.
13795 Fix message name for State messages,
13797 2005-07-14 Wim Taymans <wim@fluendo.com>
13799 * gst/base/gstbasesrc.c: (gst_base_src_loop):
13800 Post error messages on errors.
13802 2005-07-14 Wim Taymans <wim@fluendo.com>
13804 * gst/gstcaps.c: (gst_caps_do_simplify):
13808 Define error for stream stopped.
13810 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
13811 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
13812 Do proper return values.
13814 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
13815 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
13816 (gst_pad_get_range):
13817 Better return values.
13820 Reorganise return values, add macro to check for fatal errors.
13822 * gst/gstqueue.c: (gst_queue_chain):
13823 Return proper GstFlowReturn values,
13825 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
13827 * docs/gst/gstreamer-sections.txt:
13828 * docs/gst/gstreamer.types:
13829 * docs/gst/tmpl/gst.sgml:
13830 * docs/gst/tmpl/gstbasesink.sgml:
13831 * docs/gst/tmpl/gstbasesrc.sgml:
13832 * docs/gst/tmpl/gstbasetransform.sgml:
13833 * docs/gst/tmpl/gstbin.sgml:
13834 * docs/gst/tmpl/gstbuffer.sgml:
13835 * docs/gst/tmpl/gstcaps.sgml:
13836 * docs/gst/tmpl/gstclock.sgml:
13837 * docs/gst/tmpl/gstcompat.sgml:
13838 * docs/gst/tmpl/gstconfig.sgml:
13839 * docs/gst/tmpl/gstelement.sgml:
13840 * docs/gst/tmpl/gstelementdetails.sgml:
13841 * docs/gst/tmpl/gstelementfactory.sgml:
13842 * docs/gst/tmpl/gstenumtypes.sgml:
13843 * docs/gst/tmpl/gsterror.sgml:
13844 * docs/gst/tmpl/gstevent.sgml:
13845 * docs/gst/tmpl/gstfakesink.sgml:
13846 * docs/gst/tmpl/gstfakesrc.sgml:
13847 * docs/gst/tmpl/gstfilesink.sgml:
13848 * docs/gst/tmpl/gstfilesrc.sgml:
13849 * docs/gst/tmpl/gstfilter.sgml:
13850 * docs/gst/tmpl/gstformat.sgml:
13851 * docs/gst/tmpl/gstghostpad.sgml:
13852 * docs/gst/tmpl/gstimplementsinterface.sgml:
13853 * docs/gst/tmpl/gstindex.sgml:
13854 * docs/gst/tmpl/gstindexfactory.sgml:
13855 * docs/gst/tmpl/gstinfo.sgml:
13856 * docs/gst/tmpl/gstiterator.sgml:
13857 * docs/gst/tmpl/gstmacros.sgml:
13858 * docs/gst/tmpl/gstmemchunk.sgml:
13859 * docs/gst/tmpl/gstminiobject.sgml:
13860 * docs/gst/tmpl/gstobject.sgml:
13861 * docs/gst/tmpl/gstpad.sgml:
13862 * docs/gst/tmpl/gstpadtemplate.sgml:
13863 * docs/gst/tmpl/gstparse.sgml:
13864 * docs/gst/tmpl/gstpipeline.sgml:
13865 * docs/gst/tmpl/gstplugin.sgml:
13866 * docs/gst/tmpl/gstpluginfeature.sgml:
13867 * docs/gst/tmpl/gstquery.sgml:
13868 * docs/gst/tmpl/gstqueue.sgml:
13869 * docs/gst/tmpl/gstregistry.sgml:
13870 * docs/gst/tmpl/gstregistrypool.sgml:
13871 * docs/gst/tmpl/gstscheduler.sgml:
13872 * docs/gst/tmpl/gstschedulerfactory.sgml:
13873 * docs/gst/tmpl/gststructure.sgml:
13874 * docs/gst/tmpl/gstsystemclock.sgml:
13875 * docs/gst/tmpl/gsttaglist.sgml:
13876 * docs/gst/tmpl/gsttagsetter.sgml:
13877 * docs/gst/tmpl/gsttrace.sgml:
13878 * docs/gst/tmpl/gsttrashstack.sgml:
13879 * docs/gst/tmpl/gsttypefind.sgml:
13880 * docs/gst/tmpl/gsttypefindfactory.sgml:
13881 * docs/gst/tmpl/gsttypes.sgml:
13882 * docs/gst/tmpl/gsturihandler.sgml:
13883 * docs/gst/tmpl/gsturitype.sgml:
13884 * docs/gst/tmpl/gstutils.sgml:
13885 * docs/gst/tmpl/gstvalue.sgml:
13886 * docs/gst/tmpl/gstversion.sgml:
13887 * docs/gst/tmpl/gstxml.sgml:
13888 * docs/libs/tmpl/gstcontrol.sgml:
13889 * docs/libs/tmpl/gstdataprotocol.sgml:
13890 * docs/libs/tmpl/gstdparam.sgml:
13891 * docs/libs/tmpl/gstdplinint.sgml:
13892 * docs/libs/tmpl/gstdpman.sgml:
13893 * docs/libs/tmpl/gstdpsmooth.sgml:
13894 * docs/libs/tmpl/gstgetbits.sgml:
13895 * docs/libs/tmpl/gstunitconvert.sgml:
13896 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
13897 (gst_push_src_base_init), (gst_push_src_class_init),
13898 (gst_push_src_init), (gst_push_src_create):
13899 * gst/base/gstpushsrc.h:
13900 * gst/elements/gstelements.c:
13901 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
13902 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
13903 (gst_fake_sink_init), (gst_fake_sink_set_property),
13904 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
13905 (gst_fake_sink_event), (gst_fake_sink_preroll),
13906 (gst_fake_sink_render), (gst_fake_sink_change_state):
13907 * gst/elements/gstfakesink.h:
13908 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
13909 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
13910 (gst_fake_src_base_init), (gst_fake_src_class_init),
13911 (gst_fake_src_init), (gst_fake_src_event_handler),
13912 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
13913 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
13914 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
13915 (gst_fake_src_create_buffer), (gst_fake_src_create),
13916 (gst_fake_src_start), (gst_fake_src_stop):
13917 * gst/elements/gstfakesrc.h:
13918 * gst/elements/gstfilesink.c: (_do_init),
13919 (gst_file_sink_base_init), (gst_file_sink_class_init),
13920 (gst_file_sink_init), (gst_file_sink_dispose),
13921 (gst_file_sink_set_location), (gst_file_sink_set_property),
13922 (gst_file_sink_get_property), (gst_file_sink_open_file),
13923 (gst_file_sink_close_file), (gst_file_sink_query),
13924 (gst_file_sink_event), (gst_file_sink_render),
13925 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
13926 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
13927 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
13928 * gst/elements/gstfilesink.h:
13929 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
13930 (gst_file_src_class_init), (gst_file_src_init),
13931 (gst_file_src_finalize), (gst_file_src_set_location),
13932 (gst_file_src_set_property), (gst_file_src_get_property),
13933 (gst_file_src_map_region), (gst_file_src_map_small_region),
13934 (gst_file_src_create_mmap), (gst_file_src_create_read),
13935 (gst_file_src_create), (gst_file_src_is_seekable),
13936 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
13937 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
13938 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
13939 (gst_file_src_uri_handler_init):
13940 * gst/elements/gstfilesrc.h:
13941 more autistic cleanliness in functions/names/defines
13943 2005-07-13 Andy Wingo <wingo@pobox.com>
13945 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
13946 source couldn't negotiate.
13948 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
13952 * gst/gstutils.c (gst_element_link_pads_filtered): New old
13953 function. I am channeling Hades. Put your boots on suckers!!!
13955 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13957 * testsuite/caps/Makefile.am:
13958 * testsuite/caps/value_compare.c:
13959 * testsuite/caps/value_intersect.c:
13960 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13961 move two testsuite apps over to the check dir
13963 2005-07-12 Wim Taymans <wim@fluendo.com>
13965 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13966 Added more debug info in the negotiate process.
13968 * gst/gstmessage.h:
13969 Prepare for segment playback.
13971 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
13977 * tools/gst-launch.c: (main):
13978 NULL pipeline on errors.
13980 2005-07-12 Andy Wingo <wingo@pobox.com>
13982 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
13983 not it comes from a malloc region. Make sure our copy gets freed.
13985 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
13987 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
13988 * check/gst/gstmessage.c: (GST_START_TEST):
13989 * check/gst/gststructure.c: (GST_START_TEST),
13990 (gst_structure_suite), (main):
13992 * gst/gstelement.c: (gst_element_message_full):
13993 clean up GError and debug string now that they get copied
13994 * gst/gstmessage.c: (gst_message_new_error),
13995 (gst_message_new_warning), (gst_message_parse_error),
13996 (gst_message_parse_warning):
13997 use GST_TYPE_G_ERROR for structure_new, and take copies of
13998 arguments, so that we don't mess up refcounting
14000 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
14002 * check/Makefile.am:
14003 add per-test valgrind targets
14004 * check/gst-libs/gdp.c: (GST_START_TEST),
14005 (gst_data_protocol_suite), (main):
14008 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
14010 * check/Makefile.am:
14011 instate more valgrindable tests
14012 * check/elements/gstfakesrc.c: (chain_func), (event_func),
14013 (GST_START_TEST), (fakesrc_suite):
14014 * check/gst/gstpad.c: (GST_START_TEST):
14015 * check/gst/gststructure.c: (GST_START_TEST):
14017 * docs/gst/tmpl/gstminiobject.sgml:
14018 * gst/gstpad.c: (gst_pad_finalize):
14019 fix the static mutex leak
14021 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
14023 * check/Makefile.am:
14024 add two more tests for valgrinding
14025 * check/gst/gstvalue.c: (GST_START_TEST):
14026 test refcount of deserialized buffer, found a leak
14027 * docs/gst/gstreamer-docs.sgml:
14028 * docs/gst/gstreamer-sections.txt:
14029 * docs/gst/gstreamer.types:
14030 * docs/gst/tmpl/gstminiobject.sgml:
14031 add miniobject to docs
14032 * gst/gstminiobject.c:
14034 * gst/gstvalue.c: (gst_value_deserialize_buffer),
14035 (gst_string_unwrap):
14036 fix a hard-to-find invalid write for one of the tests
14037 fix a leak for deserialized buffers
14039 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14041 * docs/pwg/advanced-events.xml:
14042 * docs/pwg/advanced-request.xml:
14043 * docs/pwg/advanced-scheduling.xml:
14044 * docs/pwg/appendix-porting.xml:
14045 * docs/pwg/building-boiler.xml:
14046 * docs/pwg/intro-preface.xml:
14047 * docs/pwg/other-ntoone.xml:
14048 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
14049 of example code and explanation for pad activation, loop() and
14050 getrange() functions and a bit more. Remove old comments pointing
14052 * examples/pwg/Makefile.am:
14053 Add loop/getrange examples.
14055 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
14058 check for valgrind binary + some fixes
14060 valgrind suppressions for the tests
14061 * check/Makefile.am:
14062 add a valgrind: target that valgrinds the unit tests
14063 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
14064 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
14065 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14066 * check/gst/gstghostpad.c:
14068 * check/gst/gstdata.c:
14070 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
14071 (thread_unref), (gst_mini_object_suite), (main):
14073 * gst/gst.c: (gst_deinit):
14075 add a method to clean up.
14076 * gst/gstsystemclock.c: (gst_system_clock_dispose),
14077 (gst_system_clock_obtain):
14078 allow for disposing the system clock.
14079 * tools/gst-launch.c: (main):
14082 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
14084 * docs/gst/tmpl/gstbasesrc.sgml:
14085 * docs/gst/tmpl/gstfakesrc.sgml:
14086 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14087 (gst_base_src_init), (gst_base_src_set_property),
14088 (gst_base_src_get_property), (gst_base_src_get_range),
14089 (gst_base_src_start):
14090 * gst/base/gstbasesrc.h:
14091 add num-buffers property
14092 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
14093 (gst_fakesrc_init), (gst_fakesrc_set_property),
14094 (gst_fakesrc_get_property), (gst_fakesrc_create),
14095 (gst_fakesrc_start):
14096 remove num-buffers property
14098 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
14100 * docs/gst/gstreamer-sections.txt:
14101 * docs/gst/tmpl/gstbasesink.sgml:
14102 * docs/gst/tmpl/gstbasesrc.sgml:
14103 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
14104 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
14105 (gst_base_sink_finalize), (gst_base_sink_set_clock),
14106 (gst_base_sink_set_property), (gst_base_sink_get_property),
14107 (gst_base_sink_handle_object), (gst_base_sink_event),
14108 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
14109 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
14110 (gst_base_sink_loop), (gst_base_sink_deactivate),
14111 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
14112 (gst_base_sink_change_state):
14113 * gst/base/gstbasesink.h:
14114 * gst/base/gstbasesrc.h:
14115 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
14116 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
14117 (gst_filesink_init):
14118 more macro splitting
14120 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
14122 * gst/gstelement.c: (gst_element_get_bus):
14124 * tools/gst-launch.c: (check_intr), (event_loop):
14127 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
14129 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
14132 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
14134 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14135 (gst_base_src_finalize):
14136 add finalize method and clean up properly
14137 * gst/gstpipeline.c: (gst_pipeline_dispose):
14140 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
14142 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
14144 add more things to check
14145 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
14146 * gst/gstelement.c:
14149 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
14151 * check/elements/gstfakesrc.c: (chain_func), (event_func),
14152 (GST_START_TEST), (fakesrc_suite):
14153 * check/gst-libs/gdp.c: (GST_START_TEST):
14154 * check/gst/gst.c: (GST_START_TEST):
14155 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
14156 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14157 * check/gst/gstbus.c: (GST_START_TEST):
14158 * check/gst/gstcaps.c: (GST_START_TEST):
14159 * check/gst/gstdata.c: (GST_START_TEST):
14160 * check/gst/gstelement.c: (GST_START_TEST):
14161 * check/gst/gstghostpad.c: (GST_START_TEST):
14162 * check/gst/gstiterator.c: (GST_START_TEST):
14163 * check/gst/gstmessage.c: (GST_START_TEST):
14164 * check/gst/gstobject.c: (GST_START_TEST):
14165 * check/gst/gstpad.c: (GST_START_TEST):
14166 * check/gst/gststructure.c: (GST_START_TEST):
14167 * check/gst/gstsystemclock.c: (GST_START_TEST),
14168 (gst_systemclock_suite):
14169 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
14170 * check/gst/gstvalue.c: (GST_START_TEST):
14171 * check/pipelines/cleanup.c: (GST_START_TEST):
14172 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
14173 * check/states/sinks.c: (GST_START_TEST):
14174 * check/gstcheck.c: (gst_check_init):
14175 * check/gstcheck.h:
14176 add debugging category
14177 use GST_START_TEST now, so we add a debug line
14179 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
14181 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
14182 add test for state change message on a bin
14183 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
14185 * gst/gstbin.c: (gst_bin_init):
14186 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
14187 * gst/gstelement.c: (gst_element_post_message),
14188 (gst_element_set_state):
14189 * gst/gstelementfactory.c: (gst_element_factory_create):
14190 * gst/gstmessage.c: (gst_message_new):
14191 * gst/gstscheduler.c:
14192 various debugging additions and cleanups
14194 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
14196 * check/Makefile.am:
14197 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
14199 adding tests for elements
14200 * gst/gstelement.c: (gst_element_dispose):
14202 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
14204 * gst/registries/gstlibxmlregistry.c: (load_feature):
14205 plug more leaks. A simple gst_init() now is leakfree, yay.
14207 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
14209 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
14210 (gst_xml_registry_load):
14211 plug another memleak
14213 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
14216 use GST_SET_ERROR_CFLAGS
14217 * docs/faq/cvs.xml:
14218 change to ERROR_CFLAGS
14220 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
14223 make GST_ERROR_CFLAGS overridable and re-enable Werror
14224 * docs/faq/cvs.xml:
14225 add a note about error CFLAGS
14226 * docs/gst/tmpl/gstfakesrc.sgml:
14227 * gst/elements/gstfakesrc.c:
14228 comment out some unused code
14229 * gst/gst.c: (split_and_iterate):
14230 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
14234 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
14236 * common/Makefile.am:
14237 * common/gtk-doc.mak:
14238 * docs/gst/Makefile.am:
14239 factor out gtk-doc.mak
14241 2005-07-07 Wim Taymans <wim@fluendo.com>
14243 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
14244 (gst_thread_scheduler_dispose):
14245 Unlock the STREAM_LOCK completely.
14247 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
14249 * check/Makefile.am:
14250 * check/elements/.cvsignore:
14251 * check/elements/gstfakesrc.c: (chain_func), (event_func),
14252 (START_TEST), (fakesrc_suite), (main):
14253 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
14254 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
14255 (gst_fakesrc_create), (gst_fakesrc_start):
14256 * gst/elements/gstfakesrc.h:
14257 adding a first element test
14259 2005-07-07 Andy Wingo <wingo@pobox.com>
14261 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
14264 2005-07-07 Wim Taymans <wim@fluendo.com>
14270 2005-07-07 Wim Taymans <wim@fluendo.com>
14272 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
14273 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
14274 Allow subclasses to implement their own negotiation.
14276 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
14278 * docs/design/part-gstbin.txt:
14279 * docs/design/part-gstpipeline.txt:
14280 Update design notes to reflect the movement of
14281 responsibility for bus handling from GstPipeline to
14284 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
14287 Remove unnecessary queue2/3/4 examples.
14289 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
14291 * examples/Makefile.am:
14292 * examples/helloworld/helloworld.c: (event_loop), (main):
14293 * examples/queue/queue.c: (event_loop), (main):
14294 * examples/queue2/queue2.c: (main):
14295 Update a couple of the examples to work again.
14297 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
14298 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
14299 Spelling corrections and extra debug.
14301 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
14302 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
14303 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
14305 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
14306 (gst_pipeline_change_state):
14307 * gst/gstpipeline.h:
14308 Move the bus handler for children to the GstBin, and create a
14309 separate bus for receiving messages from children to the one the
14310 bus sends 'upwards' on.
14312 2005-07-06 Wim Taymans <wim@fluendo.com>
14315 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
14316 (gst_base_sink_handle_object), (gst_base_sink_loop),
14317 (gst_base_sink_change_state):
14318 * gst/base/gstbasesink.h:
14319 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14320 (gst_base_src_init), (gst_base_src_setcaps),
14321 (gst_base_src_getcaps), (gst_base_src_loop),
14322 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
14323 (gst_base_src_start), (gst_base_src_change_state):
14324 * gst/base/gstbasesrc.h:
14325 Make basesrc negotiate.
14326 Handle the case where preroll fails in basesink.
14329 2005-07-06 Wim Taymans <wim@fluendo.com>
14331 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
14332 Implement the fixate function.
14333 Clean up acceptcaps.
14335 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14337 * docs/pwg/building-filterfactory.xml:
14338 * docs/pwg/pwg.xml:
14339 Remove never-written filter-factory chapter; I'll add the various
14340 base classes to part 4 ("other element types") later on.
14342 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14344 * docs/pwg/advanced-negotiation.xml:
14345 * docs/pwg/building-boiler.xml:
14346 * docs/pwg/building-pads.xml:
14347 * docs/pwg/pwg.xml:
14348 * examples/pwg/Makefile.am:
14349 Add a chapter on caps negotiation, simplify the original code
14350 samples a bit w.r.t. caps negotiation, add link to the advanced
14351 section. Add a bunch of examples showing different use cases of
14352 different types of caps negotiation. Upstream renegotiation isn't
14353 fully documented yet since nobody knows how that works.
14355 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
14357 * check/gst/gstpad.c:
14358 * check/gstcheck.c:
14359 * gst/gstpad.c: (gst_pad_get_internal_links_default):
14360 if pad has no parent, return NULL as list of internal links
14362 2005-07-05 Andy Wingo <wingo@pobox.com>
14364 * gst/elements/gstfilesrc.c:
14365 * gst/elements/gstfakesrc.c:
14366 * gst/base/gstpushsrc.c:
14367 * gst/base/gstbasesrc.h:
14368 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
14370 2005-07-05 Stefan Kost <ensonic@users.sf.net>
14373 better report generation target (lcov needs a patch)
14375 2005-07-05 Andy Wingo <wingo@pobox.com>
14377 * gst/elements, testsuite: Null if we got it...
14379 2005-07-05 Wim Taymans <wim@fluendo.com>
14382 * libs/gst/dataprotocol/Makefile.am:
14383 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
14384 * libs/gst/dataprotocol/dataprotocol.h:
14385 * pkgconfig/Makefile.am:
14386 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
14387 * pkgconfig/gstreamer-dataprotocol.pc.in:
14388 Ported dataprotol to 0.9.
14389 Added pkgconfig files.
14391 2005-07-05 Andy Wingo <wingo@pobox.com>
14393 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
14394 Default to returning TRUE for the case when tranform_caps returns
14395 a fixed caps, like for identity or volume.
14397 * check/gst/gstbus.c (pound_bus_with_messages):
14398 * check/gst/gstmessage.c (START_TEST):
14399 * check/pipelines/simple_launch_lines.c (got_handoff): Application
14400 message API change.
14402 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
14403 logic weaks here: always run transform_caps, trying passthrough
14404 operation only if the original caps intersects with the transform.
14406 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
14407 source and sink caps.
14409 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
14410 Intersect the peer caps with the pad template before going into
14412 (gst_base_transform_transform_caps): More debugging.
14414 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
14417 2005-07-04 Edward Hervey <edward@fluendo.com>
14421 (gst_pad_add_*_probe): now returns the signal id for better wrapping
14424 2005-07-04 Andy Wingo <wingo@pobox.com>
14426 * check/gst/gstpad.c: Only set explicit caps on pads.
14428 2005-07-01 Andy Wingo <wingo@pobox.com>
14430 * tests/network-clock.scm: Commentary update.
14432 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
14433 Didn't really make sense, not implementable with basetransform,
14435 (gst_identity_transform): Unref inbuf via make_writable. Feeble
14436 attempt at implementing the sync property, needs an unlock method.
14438 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
14439 New func, by default returns the same caps (the identity
14441 (gst_base_transform_getcaps): Uses transform_caps to return
14442 something sensible.
14443 (gst_base_transform_setcaps): Complicated logic to get caps on
14444 both pads, even if they are different, and to call set_caps once
14445 for every time both pads get their caps set.
14446 (gst_base_transform_handle_buffer): Give the ref to the transform
14447 function. Allows in-place modification of the buffer.
14449 * gst/base/gstbasetransform.h (transform_caps): New class method.
14450 Given caps on one side, what can I do on the other.
14451 (set_caps): Take two caps, one for each side of the element.
14454 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
14455 caps in place. This is safe because we can check the mutability of
14456 the caps, and a good idea because fixate functions are just called
14457 as a matter of last resort. (Not actually implemented.)
14458 (gst_pad_set_caps): If the caps we're setting is actually the same
14459 as the existing pad caps, just update the pointer without calling
14460 setcaps. Assert that caps is either NULL or fixed, as per the
14463 * gst/gstghostpad.c: Update for fixate changes.
14465 2005-07-02 Andy Wingo <wingo@pobox.com>
14468 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
14469 two refcounts makes it immutable, which is enough. Doc more.
14471 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
14473 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
14474 Put the mini_object into GValue as a mini_object,
14475 not a gpointer, since that's how we declared
14478 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14480 * examples/pwg/Makefile.am:
14481 Fix buildbot again.
14483 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14485 * docs/pwg/building-testapp.xml:
14487 * examples/pwg/Makefile.am:
14490 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14493 * examples/Makefile.am:
14494 * examples/pwg/Makefile.am:
14495 * examples/pwg/extract.pl:
14496 Enable building the PWG examples.
14497 * docs/pwg/advanced-interfaces.xml:
14498 Add URI interface stub.
14499 * docs/pwg/advanced-types.xml:
14500 * docs/pwg/other-autoplugger.xml:
14501 * docs/pwg/appendix-porting.xml:
14502 * docs/pwg/pwg.xml:
14503 Add porting guide (mostly stubs), remove autoplugging (see ADM).
14504 * docs/pwg/building-boiler.xml:
14505 * docs/pwg/building-chainfn.xml:
14506 * docs/pwg/building-pads.xml:
14507 * docs/pwg/building-props.xml:
14508 * docs/pwg/building-state.xml:
14509 * docs/pwg/building-testapp.xml:
14510 Update the building-*.xml parts for 0.9 changes. All examples
14511 code blocks compile in examples/pwg/*.
14513 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14515 * docs/manual/advanced-autoplugging.xml:
14516 * docs/manual/appendix-checklist.xml:
14517 * docs/manual/appendix-integration.xml:
14518 * docs/manual/highlevel-components.xml:
14519 Fix playbin/decodebin examples, update docs a bit, mention bus
14520 instead of signals in various places, mention kmplayer and
14521 kaffeine since they have a working GStreamer backend in the KDE
14524 2005-06-30 Wim Taymans <wim@fluendo.com>
14527 * docs/design/draft-ghostpads.txt:
14528 * docs/design/draft-push-pull.txt:
14529 * docs/design/draft-query.txt:
14530 * docs/design/part-TODO.txt:
14531 * docs/design/part-query.txt:
14532 Added CHANGES-0.9 doc, updated status of other docs.
14537 2005-06-30 Wim Taymans <wim@fluendo.com>
14539 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
14540 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
14541 (gst_base_sink_change_state):
14542 * gst/base/gstbasesink.h:
14543 Some tweaks, only EOS and a buffer complete a preroll.
14545 2005-06-30 Andy Wingo <wingo@pobox.com>
14547 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
14548 activate_push down to the internal pad as well.
14550 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
14552 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14554 * gst/gsttaginterface.c:
14555 Some documentation fixes (#307394 and #307397).
14557 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
14559 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14561 * gst/gstvalue.c: (gst_value_intersect_list):
14562 Fix memleak (#309125).
14564 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14566 * docs/manual/advanced-dataaccess.xml:
14567 Fix fakesrc example to compile; doesn't work, bug somewhere...?
14568 * docs/manual/basics-pads.xml:
14569 Add reference for filtered caps to above chapter.
14571 2005-06-30 Wim Taymans <wim@fluendo.com>
14573 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
14574 (gst_bin_change_state):
14576 Lame attempt at making the state change function a bit
14579 2005-06-30 Wim Taymans <wim@fluendo.com>
14581 * docs/design/part-clocks.txt:
14582 * docs/design/part-element-sink.txt:
14583 * docs/design/part-events.txt:
14584 * docs/design/part-preroll.txt:
14585 * docs/design/part-states.txt:
14586 Some more tweeks and additions to the docs.
14588 2005-06-30 Wim Taymans <wim@fluendo.com>
14590 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
14591 (default_have_data), (gst_pad_class_init), (gst_pad_init),
14592 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
14593 (gst_pad_check_pull_range), (gst_pad_get_range),
14594 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
14596 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
14597 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
14598 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
14599 (gst_pad_remove_buffer_probe):
14600 Removed atomic operations, use existing LOCK.
14601 Move exception handling out of main code path.
14603 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14605 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
14606 (silly_return_true_function), (gst_pad_class_init),
14607 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
14608 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
14609 (gst_pad_send_event):
14610 Fix accumulator, add default value by using _emitv() instead
14611 of _emit() for signal emission.
14613 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14615 * docs/manual/advanced-dataaccess.xml:
14616 * examples/manual/Makefile.am:
14618 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
14621 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
14623 * gst/elements/gstfilesink.c: (gst_filesink_render):
14624 Simplify code so that we don't have to handle short
14625 writes and return GST_FLOW_ERROR if an error occured.
14627 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14629 * docs/gst/gstreamer-docs.sgml:
14630 Remove probes more.
14632 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14634 * docs/gst/gstreamer-sections.txt:
14635 * docs/gst/tmpl/gstpad.sgml:
14636 * docs/gst/tmpl/gstprobe.sgml:
14638 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
14639 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
14640 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
14641 (gst_pad_push_event), (gst_pad_send_event):
14643 * gst/gstutils.c: (gst_pad_add_data_probe),
14644 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
14645 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
14646 (gst_pad_remove_buffer_probe):
14648 Remove old probes, add new g-signal-based probes and some utility
14651 2005-06-29 Edward Hervey <edward@fluendo.com>
14653 * gst/gstelementfactory.c:
14656 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
14657 the definition to the header file.
14659 2005-06-29 Andy Wingo <wingo@pobox.com>
14661 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
14662 plugins from the source directory.
14664 2005-06-29 Wim Taymans <wim@fluendo.com>
14666 * docs/gst/tmpl/gstbuffer.sgml:
14667 * docs/gst/tmpl/gstclock.sgml:
14668 Some fixings for blantently wrong text.
14670 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
14672 * check/Makefile.am:
14673 * gst/gst.c: (add_path_func), (init_pre):
14674 * gst/gstregistry.c: (gst_registry_add_path):
14675 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
14676 only scan the GST_PLUGIN_PATH locations, and not add
14679 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
14681 * docs/gst/gstreamer-sections.txt:
14682 * docs/gst/tmpl/gstbasesrc.sgml:
14683 * gst/gstelement.c:
14684 * gst/gstelement.h:
14689 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14691 * docs/manual/advanced-autoplugging.xml:
14692 Fix autoplugging example.
14694 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14696 * docs/manual/advanced-autoplugging.xml:
14697 * docs/manual/mime-world.fig:
14698 Try to get autoplugging working, fix type detection. Fix text
14699 in hello-world image.
14701 2005-06-29 Wim Taymans <wim@fluendo.com>
14703 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14704 (gst_base_sink_change_state):
14708 map SIGNAL and BROADCAST to the right function.
14711 Remove redundant braces.
14713 * gst/gstpad.c: (gst_pad_set_caps):
14714 Don't call setcaps function when reseting caps to NULL.
14716 * gst/gstsystemclock.c: (gst_system_clock_dispose),
14717 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
14718 (gst_system_clock_id_unschedule):
14719 Use BROADCAST as this is what we do.
14721 2005-06-29 Wim Taymans <wim@fluendo.com>
14723 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14724 We are actually prerolling before commiting the state
14727 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14729 * docs/manual/advanced-clocks.xml:
14730 * docs/manual/advanced-interfaces.xml:
14731 * docs/manual/advanced-metadata.xml:
14732 * docs/manual/advanced-position.xml:
14733 * docs/manual/advanced-schedulers.xml:
14734 * docs/manual/advanced-threads.xml:
14735 * docs/manual/appendix-porting.xml:
14736 * docs/manual/basics-bins.xml:
14737 * docs/manual/basics-bus.xml:
14738 * docs/manual/basics-elements.xml:
14739 * docs/manual/basics-helloworld.xml:
14740 * docs/manual/basics-pads.xml:
14741 * docs/manual/highlevel-components.xml:
14742 * docs/manual/manual.xml:
14743 * docs/manual/thread.fig:
14744 Update (until threads/scheduling) Application Development Manual;
14745 remove GstThread, add GstBus, add simple porting checklist, add
14746 documentation for tag writing, clocks, make all examples until this
14747 part compile and run.
14748 * examples/manual/Makefile.am:
14749 Update from changes to Application Development Manual; add bus
14750 example, remove thread example.
14752 2005-06-28 Wim Taymans <wim@fluendo.com>
14754 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
14755 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
14756 (gst_bus_source_dispatch):
14757 Add debugging messages.
14758 Make internal methods static.
14759 Handle the case where the bus is flushed in the handler.
14761 * gst/gstelement.c: (gst_element_get_bus):
14762 Fix refcount in _get_bus();
14764 * gst/gstpipeline.c: (gst_pipeline_change_state),
14765 (gst_pipeline_get_clock_func):
14766 Clock refcounting fixes.
14767 Handle the case where preroll timed out more gracefully.
14769 * gst/gstsystemclock.c: (gst_system_clock_dispose):
14770 Clean up the internal thread in dispose. This is needed
14771 for subclasses that actually get disposed.
14773 * gst/schedulers/threadscheduler.c:
14774 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
14775 (gst_thread_scheduler_dispose):
14776 Free thread pool in dispose.
14778 2005-06-28 Andy Wingo <wingo@pobox.com>
14780 * tests/network-clock-utils.scm (debug, print-event): New utils.
14782 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
14783 (*packet-loss*): Unified loss probability.
14784 (network-time): Report out-of-band events.
14786 * tests/plot-data: Add support for out-of-band events. Hack it
14787 into this script instead of passing it down the pipe; should fix
14790 2005-06-28 Wim Taymans <wim@fluendo.com>
14792 * docs/gst/gstreamer.types:
14793 * docs/gst/tmpl/gstbasesrc.sgml:
14794 * docs/gst/tmpl/gstpad.sgml:
14797 2005-06-28 Wim Taymans <wim@fluendo.com>
14799 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
14800 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
14801 (gst_proxy_pad_do_fixatecaps):
14802 Correctly proxy the check_pull_range function.
14804 2005-06-28 Andy Wingo <wingo@pobox.com>
14806 * tests/network-clock.scm: Removed need for slib.
14808 2005-06-28 Wim Taymans <wim@fluendo.com>
14810 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
14811 (gst_basesink_preroll_queue_flush):
14812 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
14813 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
14814 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
14815 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
14816 (gst_proxy_pad_set_property):
14819 * gst/gstqueue.c: (gst_queue_init):
14820 The deprecated pad loop function is removed now.
14822 2005-06-28 Andy Wingo <wingo@pobox.com>
14824 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
14825 New parameters, simulate network packet loss.
14827 * tests/network-clock-utils.scm: Initialize the RNG.
14829 2005-06-28 Wim Taymans <wim@fluendo.com>
14831 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
14832 (gst_basesink_event), (gst_basesink_deactivate):
14833 Flushing the preroll queue always needs to unlock the waiters.
14835 2005-06-28 Edward Hervey <edward@fluendo.com>
14837 * gst/gstpipeline.c: (gst_pipeline_send_event):
14838 Wheen a seek was successful on a pipeline, set the stream_time to the
14839 seek offset in order to have a synchronized stream_time.
14841 2005-06-28 Wim Taymans <wim@fluendo.com>
14843 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
14844 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
14845 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
14846 (gst_proxy_pad_do_fixatecaps):
14847 Call wrapper function instead of just calling the function
14848 pointers. This takes care of any locking and whatmore.
14850 2005-06-28 Wim Taymans <wim@fluendo.com>
14852 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
14853 (gst_pad_pull_range):
14855 CONNECTED -> LINKED.
14857 2005-06-28 Andy Wingo <wingo@pobox.com>
14859 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
14860 source-munging commit!!!
14862 * gst/gstobject.c (gst_object_unref, gst_object_ref)
14863 (gst_object_sink): Take gpointer arguments, not GstObject --
14864 avoids casts. Like GLib.
14866 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
14869 2005-06-27 Andy Wingo <wingo@pobox.com>
14871 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
14874 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
14875 returns a sorted copy of the trace list.
14876 (gst_alloc_trace_print_live): New API, only prints traces with
14877 live objects. Sort the list.
14878 (gst_alloc_trace_print_all): Sort the list.
14879 (gst_alloc_trace_print): Align columns.
14881 * gst/elements/gstttypefindelement.c:
14882 * gst/elements/gsttee.c:
14883 * gst/base/gstbasesrc.c:
14884 * gst/base/gstbasesink.c:
14885 * gst/base/gstbasetransform.c:
14886 * gst/gstqueue.c: Adapt for pad activation changes.
14888 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
14890 (gst_pipeline_dispose): Drop ref on sched.
14892 * gst/gstpad.c (gst_pad_init): Set the default activate func.
14893 (gst_pad_activate_default): Push mode by default.
14894 (pre_activate_switch, post_activate_switch): New stubs, things to
14895 do before and after switching activation modes on pads.
14896 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
14897 the pad's activate function to choose which mode to activate.
14898 Shortcut on deactivation and call the right function directly.
14899 (gst_pad_activate_pull): New API, (de)activates a pad in pull
14901 (gst_pad_activate_push): New API, same for push mode.
14902 (gst_pad_set_activate_function)
14903 (gst_pad_set_activatepull_function)
14904 (gst_pad_set_activatepush_function): Setters for new API.
14906 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
14907 Trace all miniobjects.
14908 (gst_mini_object_make_writable): Unref the arg if we copy, like
14909 gst_caps_make_writable.
14911 * gst/gstmessage.c (_gst_message_initialize): No trace init.
14913 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
14914 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
14915 Adapt for new pad API.
14917 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
14919 * gst/gstelement.h:
14920 * gst/gstelement.c (gst_element_iterate_src_pads)
14921 (gst_element_iterate_sink_pads): New API functions.
14923 * gst/gstelement.c (iterator_fold_with_resync): New utility,
14924 should fold into gstiterator.c in some form.
14925 (gst_element_pads_activate): Simplified via use of fold and
14926 delegation of decisions to gstpad->activate.
14928 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
14931 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
14932 class once in init, like gstmessage. Didn't run into this issue
14933 but it seems correct. Don't initialize a trace, gstminiobject does
14936 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
14937 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
14939 (assert_live_count): New util function, uses alloc traces to check
14942 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
14943 To be modified when unlink drops the internal pad.
14945 2005-06-27 Wim Taymans <wim@fluendo.com>
14947 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
14948 (gst_bin_change_state):
14949 Cleanup the get_state() function a little, make sure it
14950 iterates the same set of elements.
14951 Added stub iterate_state_order().
14953 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
14955 * docs/gst/gstreamer-docs.sgml:
14956 * docs/gst/gstreamer-sections.txt:
14957 * docs/gst/gstreamer.types:
14958 * docs/gst/tmpl/gstbasesink.sgml:
14959 * docs/gst/tmpl/gstbasesrc.sgml:
14960 * docs/gst/tmpl/gstbasetransform.sgml:
14961 * docs/gst/tmpl/gstelement.sgml:
14962 * docs/gst/tmpl/gstiterator.sgml:
14963 * gst/base/gstbasesrc.c:
14964 * gst/base/gstbasesrc.h:
14965 * gst/base/gstbasetransform.h:
14966 * gst/gstelement.c:
14967 * gst/gstiterator.h:
14968 adding basetransform and iterator docs
14970 2005-06-27 Andy Wingo <wingo@pobox.com>
14972 * docs/design/part-activation.txt: Notes on how activation should
14973 work -- not quite implemented yet.
14975 2005-06-25 Wim Taymans <wim@fluendo.com>
14977 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
14978 At least get the chain function correct, needs more
14981 2005-06-25 Wim Taymans <wim@fluendo.com>
14983 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
14984 (gst_basesink_handle_object), (gst_basesink_event),
14985 (gst_basesink_do_sync), (gst_basesink_handle_event),
14986 (gst_basesink_change_state):
14988 Right, two problems here: ghostpads don't take locks and
14989 glib _rec_mutex_lock_full() with depth==0 still locks.
14990 Catch illegal locking and g_warn them.
14992 2005-06-25 Wim Taymans <wim@fluendo.com>
14994 * check/states/sinks.c: (START_TEST), (gst_object_suite):
14995 Have to check for completion now...
14997 2005-06-25 Wim Taymans <wim@fluendo.com>
14999 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
15000 (gst_basesink_handle_object), (gst_basesink_event),
15001 (gst_basesink_do_sync), (gst_basesink_handle_event),
15002 (gst_basesink_change_state):
15004 Unlock STREAM_LOCK whatever the recursion was.
15006 2005-06-25 Wim Taymans <wim@fluendo.com>
15008 * gst/base/gstbasesink.c: (gst_basesink_set_property),
15009 (gst_basesink_preroll_queue_empty),
15010 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
15011 (gst_basesink_event), (gst_basesink_do_sync),
15012 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
15013 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
15014 (gst_basesink_change_state):
15015 Reworked the base sink, handle event and buffer serialisation
15016 correctly and removed possible deadlock.
15017 Handle EOS correctly.
15019 2005-06-25 Wim Taymans <wim@fluendo.com>
15021 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
15022 (gst_pipeline_change_state):
15023 * tools/gst-launch.c: (check_intr), (event_loop), (main):
15024 Allow elements to post EOS in the state change function.
15025 Fix up -launch, make it exit the poll loop when the
15026 pipeline actually changed state.
15027 Fix up warning parsing in -launch.
15029 2005-06-25 Wim Taymans <wim@fluendo.com>
15031 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
15032 (gst_tee_sink_activate):
15033 Core takes STREAM_LOCK for us now.
15035 2005-06-25 Wim Taymans <wim@fluendo.com>
15037 * gst/gstelement.c: (gst_element_get_state_func),
15038 (gst_element_set_state):
15039 * gst/gstelement.h:
15040 * gst/gstmessage.c: (gst_message_parse_error),
15041 (gst_message_parse_warning):
15042 Keep track of current target state while performing a state
15043 change so that subclasses can do something interesting.
15044 Fix parsing of warning/error messages when GError is NULL.
15046 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
15048 * docs/gst/Makefile.am:
15049 * docs/gst/gstreamer-docs.sgml:
15050 * docs/gst/gstreamer-sections.txt:
15051 * docs/gst/gstreamer.types:
15052 * docs/gst/tmpl/gstbasesink.sgml:
15053 * docs/gst/tmpl/gstbasesrc.sgml:
15054 * docs/gst/tmpl/gstbin.sgml:
15055 * docs/gst/tmpl/gstcompat.sgml:
15056 * docs/gst/tmpl/gstfakesink.sgml:
15057 * docs/gst/tmpl/gstfakesrc.sgml:
15058 * docs/gst/tmpl/gstfilesink.sgml:
15059 * docs/gst/tmpl/gstfilesrc.sgml:
15060 * docs/gst/tmpl/gstindex.sgml:
15061 * docs/manual/appendix-quotes.xml:
15062 * gst/base/gstbasesrc.h:
15063 * gst/elements/gstfakesrc.h:
15064 * gst/gstmessage.h:
15065 start pulling in base classes and elements in our docs
15067 2005-06-24 Stefan Kost <ensonic@users.sf.net>
15069 * docs/gst/Makefile.am:
15070 * docs/libs/Makefile.am:
15071 fixed make distcheck with gtk-doc 1.3
15073 2005-06-23 Wim Taymans <wim@fluendo.com>
15075 * gst/gstelement.c: (gst_element_get_state_func),
15076 (gst_element_set_state), (gst_element_change_state):
15077 When the state did not change, also report NO_PREROLL
15080 2005-06-23 Wim Taymans <wim@fluendo.com>
15082 * gst/gstpad.c: (gst_pad_event_default):
15083 * gst/gstqueue.c: (gst_queue_loop):
15084 No unsafe task pausing please.
15086 2005-06-23 Wim Taymans <wim@fluendo.com>
15088 * gst/schedulers/threadscheduler.c:
15089 (gst_thread_scheduler_task_start),
15090 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
15091 Ref the task before pushing it on the threadpool. This
15092 makes sure that we have a ref when the threadfunction is
15095 2005-06-23 Andy Wingo <wingo@pobox.com>
15097 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
15098 offset is greater than the file's size.
15100 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
15101 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
15102 * gst/gstobject.c (gst_object_class_init): Make the class lock
15103 recursive. Wim won't let me drop deep_notify. Decodebin works
15104 again, whoopdy doo.
15106 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
15107 internal pad, and hacks accordingly. Doesn't do it on the target
15108 pad because we change its caps. Probably catches all cases of
15110 (gst_ghost_pad_set_property): Connect to notify::caps as
15113 * tests/network-clock.scm (plot-simulation): Pipe data to the
15114 elite python skript.
15116 * tests/network-clock-utils.scm (define-parameter): New macro,
15117 defines a parameter that can be set via the command line.
15118 (set-parameter!, parse-parameter-arguments): Command line args
15121 * tests/plot-data: Simple matplotlib-based plotter, takes input on
15124 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
15126 * gst/elements/gsttypefindelement.c:
15127 (gst_type_find_element_handle_event):
15128 Don't restart typefinding on a discont.
15129 * gst/gstelement.c: (gst_element_set_state):
15130 Debug spelling fix.
15131 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
15132 Allow changing mode of an active pad.
15133 Debug output fixes.
15134 * gst/registries/gstlibxmlregistry.c: (load_feature):
15135 Don't cast a static pad template to a normal pad template.
15137 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
15139 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
15140 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
15141 remove gst_strtoll completely, since it didn't actually do
15142 anything more than what g_ascii_strtoull already does.
15143 check for range errors when deserializing
15144 do a cast for the unsigned cases; but further fixing needs
15145 a decision on what the interpretation of "(int)" and
15146 deserialization should be for values that fall outside the
15147 type's boundaries (ie, refuse, or interpret as casting)
15149 2005-06-23 Wim Taymans <wim@fluendo.com>
15151 * check/Makefile.am:
15152 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
15153 * docs/design/part-live-source.txt:
15154 * docs/design/part-states.txt:
15155 * gst/base/gstbasesrc.c: (gst_basesrc_init),
15156 (gst_basesrc_set_live), (gst_basesrc_is_live),
15157 (gst_basesrc_get_range), (gst_basesrc_activate),
15158 (gst_basesrc_change_state):
15159 * gst/base/gstbasesrc.h:
15160 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
15161 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
15162 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
15163 * gst/gstelement.c: (gst_element_get_state_func),
15164 (gst_element_set_state):
15165 * gst/gstelement.h:
15167 * tools/gst-launch.c: (event_loop), (main):
15168 Added support for live sources and other elements that
15170 Updated design docs, added live-source design doc.
15171 Implemented live source functionality in basesrc
15172 Fix error condition in _bin_get_state()
15173 Implement live source handling in -launch.
15174 Added check for live sources.
15175 Fixed case in GstBin where elements were changed state
15179 2005-06-23 Andy Wingo <wingo@pobox.com>
15181 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
15182 borken refcounting.
15184 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
15185 gst_caps_replace takes care of this for us.
15187 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
15188 gst_pad_set_caps on the target, not just its setcaps() function.
15190 * tests/network-clock.scm:
15191 * tests/network-clock-utils.scm: A network clock simulator.
15192 Something of an algorithmic testbed before doing something in C.
15194 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
15196 * check/Makefile.am:
15197 * check/gst/capslist.h:
15198 copy over from 0.8, and add two with bitmasks specified with
15200 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
15201 add test to parse everything from capslist.h
15202 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
15204 add test for structure deserialization
15205 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
15206 add tests for deserialization of strings to int types
15207 * gst/gststructure.c: (gst_structure_nth_field_name):
15208 * gst/gststructure.h:
15209 add a way to get the name of a field referenced by index
15210 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
15211 instead of checking if the resulting long long lies between
15212 min and max, we check if the long long would fit into
15213 a number of bytes for the final type.
15214 This fixes cases where a string represents 2^32 - 1, which
15215 when cast to int would be the (valid) -1, but is bigger than
15218 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
15220 * gst/parse/grammar.y:
15221 add a log line for type deserialization
15223 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
15225 * check/gst/gstvalue.c: (START_TEST):
15226 * gst/gstvalue.c: (gst_value_deserialize):
15227 return long long, not int, so gint64 deserialization actually
15228 works. Is there any flag that makes the compiler check this ?
15231 2005-06-22 Wim Taymans <wim@fluendo.com>
15234 Added convenience macros for setting buffers in GValue.
15236 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
15238 * check/gst/.cvsignore:
15239 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
15240 add a test deserializing int64, and comment part out because
15243 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
15245 * check/Makefile.am:
15246 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
15247 * testsuite/Makefile.am:
15248 * testsuite/caps/Makefile.am:
15249 * testsuite/caps/value_serialize.c:
15250 * testsuite/test_gst_init.c:
15251 move a value_serialize test over
15253 2005-06-20 Wim Taymans <wim@fluendo.com>
15258 * gst/gstvalue.c: (gst_value_compare_buffer),
15259 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
15260 (gst_value_compare_flags), (gst_value_serialize_flags),
15261 (gst_value_deserialize_flags), (_gst_value_initialize):
15262 Fix serialisation of buffers, they are not boxed types anymore
15264 2005-06-20 Wim Taymans <wim@fluendo.com>
15266 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
15267 Testcase to show error in buffer-on-caps serialisation.
15269 2005-06-20 Andy Wingo <wingo@pobox.com>
15271 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
15272 will be adding to later.
15274 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
15275 if its socks fill with rocks.
15276 (gst_system_clock_obtain): Set the name on object construction.
15277 Avoid double-checked locking.
15279 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
15281 * gst/gsturi.c: (gst_element_make_from_uri):
15282 Fix potential endless loop.
15284 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
15286 * check/Makefile.am:
15288 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
15290 move over from testsuite dir and clean up
15293 * testsuite/Makefile.am:
15294 * testsuite/tags/.cvsignore:
15295 * testsuite/tags/Makefile.am:
15296 * testsuite/tags/merge.c:
15297 remove testsuite/tags
15299 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
15301 * docs/gst/gstreamer-sections.txt:
15302 * docs/gst/tmpl/gstenumtypes.sgml:
15303 * win32/gstenumtypes.c:
15304 clean up documentation build a little
15306 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
15308 * check/gstcheck.h:
15309 add macros for checking refcounts on objects and caps
15310 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
15311 add some more unit tests
15312 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
15313 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
15314 fix leaked refcounts (I hope :)) so unittest works
15318 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
15320 * configure.ac: back to HEAD
15322 === release 0.9.1 ===
15324 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
15330 2005-06-17 Andy Wingo <wingo@pobox.com>
15332 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
15333 assert; it's always possible that the pad gets deactivated in
15334 between the checks in gstpad.c and the implementation. Rely on
15335 finish_preroll() to return a FLUSHING or similar instead of on the
15338 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
15339 clock and post an EOS message if we come out of finish_preroll in
15342 2005-06-16 David Schleef <ds@schleef.org>
15344 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
15345 (gst_capsfilter_set_property): Allow NULL as possible value
15346 for filter_caps property, indicating GST_CAPS_ANY.
15348 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
15350 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
15352 * gst/schedulers/Makefile.am:
15354 * gstreamer.spec.in:
15357 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
15359 * gstreamer.spec.in:
15362 2005-06-08 Andy Wingo <wingo@pobox.com>
15364 * gst/gstutils.c: RPAD fixes all around.
15365 (gst_element_link_pads): Refcounting fixes.
15367 * tools/gst-inspect.c:
15368 * tools/gst-xmlinspect.c:
15370 * gst/base/gsttypefindhelper.c:
15371 * gst/base/gstbasesink.c:
15372 * gst/gstqueue.c: RPAD fixes.
15374 * gst/gstghostpad.h:
15375 * gst/gstghostpad.c: New ghost pad implementation as full proxy
15376 pads. The tricky thing is they provide both source and sink
15377 interfaces, since they proxy the internal pad for the external
15378 pad, and vice versa. Implement with lower-level ProxyPad objects,
15379 with the interior proxy pad as a child of the exterior ghost pad.
15380 Should write a doc on this.
15382 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
15383 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
15386 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
15387 pads are real pads. No ghost pads in this file. Not documenting
15388 the myriad s/RPAD/PAD/ and REALIZE fixes.
15389 (gst_pad_class_init): Add properties for "direction" and
15390 "template". Both are construct-only, so they can't change during
15391 the life of the pad. Fixes properly deriving from GstPad.
15392 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
15393 derived objects, just set properties when creating the objects via
15395 (gst_pad_get_parent): Implement as a function, return NULL if the
15396 parent is not an element.
15397 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
15398 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
15400 * gst/gstobject.c (gst_object_class_init): Make name a construct
15401 property. Don't set it in the object init.
15403 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
15404 with UNKNOWN direction.
15405 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
15406 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
15407 (gst_element_remove_pad): Remove ghost-pad special cases.
15408 (gst_element_pads_activate): Remove rpad cruft.
15410 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
15411 catch the pad's-parent-not-an-element case.
15413 * gst/gst.h: Include gstghostpad.h.
15415 * gst/gst.c (init_post): No more real, ghost pads.
15417 * gst/Makefile.am: Add gstghostpad.[ch].
15419 * check/Makefile.am:
15420 * check/gst/gstbin.c:
15421 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
15422 into a bin creates ghost pads, and that the refcounts are right.
15423 Partly moved from gstbin.c.
15425 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
15427 * check/gst-libs/.cvsignore:
15428 * check/gst/.cvsignore:
15429 * check/pipelines/.cvsignore:
15431 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
15432 (START_TEST), (cleanup_suite), (main):
15433 add some tests related to cleanup after running pipelines
15435 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
15437 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
15438 add a testsuite for GstBuffer
15440 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
15442 * gst/gstminiobject.h:
15443 add defines for accessing the refcount
15445 2005-06-03 Stefan Kost <ensonic@users.sf.net>
15447 * Makefile.am: added support for html unit test coverage reports
15449 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
15451 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
15452 Free existing caps if the capsfilter changes. Add a FIXME about
15453 setting those caps on the pads.
15455 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
15456 Before adding a ghost pad to a parent bin, check that there isn't
15457 already one for the element on the bin. Prevents infinite recursion
15458 when using decodebin in parse pipelines. Andy says he'll rewrite the
15459 way this works anyway, so ignore the hack.
15461 2005-06-02 Andy Wingo <wingo@pobox.com>
15463 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
15464 file size, pass it on to the type find helper.
15466 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
15467 segment_start and segment_end properly according to the seek
15468 method. Segment_end is still a bit flaky because offset can be
15469 negative for CUR and END cases, but it takes -1 as an "unset"
15472 2005-06-02 Wim Taymans <wim@fluendo.com>
15474 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
15475 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
15476 (gst_basesink_activate):
15477 * gst/base/gstbasesink.h:
15478 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
15479 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
15480 (gst_pad_query), (gst_pad_start_task):
15482 * gst/gstqueue.c: (gst_queue_bufferalloc),
15483 (gst_queue_handle_sink_event), (gst_queue_chain):
15484 Bufferalloc: return GstFlowReturn to more accuratly report
15485 why allocation failed.
15487 2005-06-02 Wim Taymans <wim@fluendo.com>
15489 * gst/gstpipeline.c: (gst_pipeline_send_event):
15490 Take snapshot of state without blocking.
15492 2005-06-02 Wim Taymans <wim@fluendo.com>
15494 * docs/design/part-TODO.txt:
15495 * docs/design/part-caps.txt:
15496 * docs/design/part-clocks.txt:
15497 * docs/design/part-negotiation.txt:
15498 * docs/design/part-preroll.txt:
15501 2005-05-30 Wim Taymans <wim@fluendo.com>
15503 * gst/elements/gstidentity.c: (gst_identity_event),
15504 (gst_identity_transform), (gst_identity_get_property):
15505 Protect last_message property as it is accessed from
15508 2005-05-30 Wim Taymans <wim@fluendo.com>
15510 * gst/gstelement.c: (gst_element_init),
15511 (gst_element_pads_activate), (gst_element_change_state):
15512 Slicker pad activation code.
15514 2005-05-30 Wim Taymans <wim@fluendo.com>
15517 * gst/gstelement.h:
15518 * gst/gstelementfactory.h:
15520 Move elementfactory methods to separate .h file.
15522 2005-05-30 Wim Taymans <wim@fluendo.com>
15524 * docs/design/part-overview.txt:
15525 * gst/gstsystemclock.h:
15526 Small typo fixes, doc updates.
15528 2005-05-30 Wim Taymans <wim@fluendo.com>
15530 * gst/gst.c: (gst_init_get_popt_table), (init_post),
15531 (init_popt_callback):
15532 Remove cpu-opt flag.
15534 2005-05-30 Wim Taymans <wim@fluendo.com>
15536 * gst/gstbuffer.c: (gst_subbuffer_finalize),
15537 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
15539 Avoid typechecking in places where not needed.
15540 Added accessor for malloc_data.
15542 2005-05-30 Wim Taymans <wim@fluendo.com>
15544 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
15545 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
15546 (gst_pad_configure_sink), (gst_pad_configure_src),
15547 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
15548 (gst_pad_start_task):
15549 Propagate errors from _set_caps() in configure_src/sink
15550 functions instead of returning TRUE.
15551 FLUSH events can travel up and downstream
15554 2005-05-30 Wim Taymans <wim@fluendo.com>
15556 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
15557 (gst_basesink_activate):
15558 Handle EOS in preroll.
15560 2005-05-30 Wim Taymans <wim@fluendo.com>
15562 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
15563 (gst_queue_loop), (gst_queue_handle_src_event):
15564 Remove old pieces of code
15565 Flushing the queue in an upstream event is a very bad idea.
15567 2005-05-26 Andy Wingo <wingo@pobox.com>
15569 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
15570 gst_value_set_mini_object so as to add a ref on the object (which
15571 will be removed when the value is unset).
15573 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
15574 arg type in ::handoff.
15576 * gst/gstelement.c (gst_element_change_state): Also deactivate
15577 pads in READY->NULL, just in case the element didn't make it to
15578 PAUSED. Wingo tested, Wim approved.
15580 2005-05-26 Wim Taymans <wim@fluendo.com>
15582 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
15583 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
15584 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
15585 A flushing pad cannot be used to alloc_buffer from.
15587 2005-05-26 Wim Taymans <wim@fluendo.com>
15589 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
15590 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
15591 (gst_bus_source_dispatch), (gst_bus_source_finalize),
15592 (gst_bus_create_watch), (gst_bus_add_watch_full):
15594 Implement a real GSource and use g_main_context_wakeup() to
15595 signal new messages instead of the socketpair.
15597 2005-05-25 Wim Taymans <wim@fluendo.com>
15599 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
15600 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
15601 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
15602 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
15603 (gst_pad_send_event), (gst_pad_start_task):
15604 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
15605 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
15606 (gst_queue_sink_activate), (gst_queue_src_activate),
15607 (gst_queue_change_state):
15609 Fix state changes for non sinks. We now change sinks, then elements
15610 with unconnected srcpads, then the rest.
15611 More efficient queue unlocking in flush and state changes.
15612 Set the pad activate mode even if it does not have an activate
15615 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15617 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
15618 Don't go in pull mode for non-seekable sources.
15619 * gst/elements/gsttypefindelement.h:
15620 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
15621 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
15622 (free_entry), (stop_typefinding),
15623 (gst_type_find_element_handle_event), (find_peek),
15624 (gst_type_find_element_chain), (do_pull_typefind),
15625 (gst_type_find_element_change_state):
15626 Allow typefinding (w/o seeking) in push-mode, simplified version
15627 of what was in 0.8.
15628 * gst/gstutils.c: (gst_buffer_join):
15630 gst_buffer_join() from 0.8.
15632 2005-05-25 Wim Taymans <wim@fluendo.com>
15634 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
15635 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
15636 (gst_pad_send_event), (gst_pad_start_task):
15637 Disable attempt at mode switching until it is figured out.
15639 2005-05-25 Wim Taymans <wim@fluendo.com>
15641 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
15642 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
15643 (gst_basesink_finish_preroll), (gst_basesink_chain),
15644 (gst_basesink_loop), (gst_basesink_activate),
15645 (gst_basesink_change_state):
15646 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
15647 (gst_basesrc_get_range), (gst_basesrc_loop),
15648 (gst_basesrc_activate):
15649 * gst/elements/gsttee.c: (gst_tee_sink_activate):
15650 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
15651 (gst_real_pad_init), (gst_real_pad_set_property),
15652 (gst_real_pad_get_property), (gst_pad_set_active),
15653 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
15654 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
15655 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
15656 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
15657 (gst_pad_event_default_dispatch), (gst_pad_event_default),
15658 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
15659 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
15660 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
15661 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
15662 (gst_pad_stop_task):
15664 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
15665 (gst_queue_loop), (gst_queue_src_activate):
15666 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
15667 (gst_task_get_state):
15669 * gst/schedulers/threadscheduler.c:
15670 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
15671 Implement gst_pad_pause/start/stop_task(), take STREAM lock
15673 Remove ACTIVE pad flag, use FLUSHING everywhere
15674 Added _pad_chain(), _pad_get_range() to call chain/getrange
15676 Add locks around IS_FLUSHING when reading.
15677 Take STREAM lock in chain(), get_range() functions so plugins
15678 don't need to take it anymore.
15682 2005-05-25 Wim Taymans <wim@fluendo.com>
15684 * tools/gst-launch.c: (event_loop):
15685 Unref message after using its contents instead of
15688 2005-05-24 Wim Taymans <wim@fluendo.com>
15690 * docs/design/draft-ghostpads.txt:
15691 * docs/design/draft-push-pull.txt:
15692 * docs/design/draft-query.txt:
15693 * docs/design/part-overview.txt:
15694 Docs updates, added general overview doc.
15696 2005-05-21 David Schleef <ds@schleef.org>
15698 * docs/gst/tmpl/old/GstBin.sgml:
15699 * docs/gst/tmpl/old/GstBuffer.sgml:
15700 * docs/gst/tmpl/old/GstCaps.sgml:
15701 * docs/gst/tmpl/old/GstClock.sgml:
15702 * docs/gst/tmpl/old/GstCompat.sgml:
15703 * docs/gst/tmpl/old/GstData.sgml:
15704 * docs/gst/tmpl/old/GstElement.sgml:
15705 * docs/gst/tmpl/old/GstEvent.sgml:
15706 * docs/gst/tmpl/old/GstIndex.sgml:
15707 * docs/gst/tmpl/old/GstStructure.sgml:
15708 * docs/gst/tmpl/old/GstTag.sgml:
15709 * docs/gst/tmpl/old/cothreads.sgml:
15710 * docs/gst/tmpl/old/cothreads_compat.sgml:
15711 * docs/gst/tmpl/old/gettext.sgml:
15712 * docs/gst/tmpl/old/gobject2gtk.sgml:
15713 * docs/gst/tmpl/old/grammar.tab.sgml:
15714 * docs/gst/tmpl/old/gst-i18n-app.sgml:
15715 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
15716 * docs/gst/tmpl/old/gst_private.sgml:
15717 * docs/gst/tmpl/old/gstaggregator.sgml:
15718 * docs/gst/tmpl/old/gstarch.sgml:
15719 * docs/gst/tmpl/old/gstatomic_impl.sgml:
15720 * docs/gst/tmpl/old/gstbufferstore.sgml:
15721 * docs/gst/tmpl/old/gstdata_private.sgml:
15722 * docs/gst/tmpl/old/gstdisksink.sgml:
15723 * docs/gst/tmpl/old/gstdisksrc.sgml:
15724 * docs/gst/tmpl/old/gstelementfactory.sgml:
15725 * docs/gst/tmpl/old/gstextratypes.sgml:
15726 * docs/gst/tmpl/old/gstfakesink.sgml:
15727 * docs/gst/tmpl/old/gstfakesrc.sgml:
15728 * docs/gst/tmpl/old/gstfdsink.sgml:
15729 * docs/gst/tmpl/old/gstfdsrc.sgml:
15730 * docs/gst/tmpl/old/gstfilesink.sgml:
15731 * docs/gst/tmpl/old/gstfilesrc.sgml:
15732 * docs/gst/tmpl/old/gsthttpsrc.sgml:
15733 * docs/gst/tmpl/old/gstidentity.sgml:
15734 * docs/gst/tmpl/old/gstindexfactory.sgml:
15735 * docs/gst/tmpl/old/gstmarshal.sgml:
15736 * docs/gst/tmpl/old/gstmd5sink.sgml:
15737 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
15738 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
15739 * docs/gst/tmpl/old/gstpadtemplate.sgml:
15740 * docs/gst/tmpl/old/gstpipefilter.sgml:
15741 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
15742 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
15743 * docs/gst/tmpl/old/gstshaper.sgml:
15744 * docs/gst/tmpl/old/gstspider.sgml:
15745 * docs/gst/tmpl/old/gstspideridentity.sgml:
15746 * docs/gst/tmpl/old/gststatistics.sgml:
15747 * docs/gst/tmpl/old/gsttee.sgml:
15748 * docs/gst/tmpl/old/gsttimecache.sgml:
15749 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
15750 * docs/gst/tmpl/old/gstxmlregistry.sgml:
15751 * docs/gst/tmpl/old/gthread-cothreads.sgml:
15752 * docs/gst/tmpl/old/types.sgml:
15753 I didn't intend to add these or check them in.
15755 2005-05-19 David Schleef <ds@schleef.org>
15757 * configure.ac: Use -no-common everywhere. In a sane world, it
15758 would be the default in libtool, because without it, you can't
15759 build DLLs on Windows.
15760 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
15761 * docs/gst/gstreamer-sections.txt:
15762 * docs/gst/tmpl/gstcpu.sgml:
15763 * docs/gst/tmpl/gstdata.sgml:
15764 * docs/gst/tmpl/gstthread.sgml:
15766 2005-05-19 David Schleef <ds@schleef.org>
15768 * gst/gstminiobject.c: (gst_value_set_mini_object),
15769 (gst_value_take_mini_object), (gst_value_get_mini_object):
15770 * gst/gstminiobject.h: Add GValue set/get functions.
15772 2005-05-19 Wim Taymans <wim@fluendo.com>
15774 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
15775 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
15776 (gst_subbuffer_init), (gst_buffer_is_span_fast):
15778 * gst/gstbus.c: (gst_bus_post):
15779 * gst/gstelement.c: (gst_element_get_random_pad):
15780 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
15781 Make subbufer unref the parent in finalize.
15782 some more debugging info.
15785 2005-05-19 Wim Taymans <wim@fluendo.com>
15787 * gst/base/gstbasesink.c: (gst_basesink_class_init),
15788 (gst_basesink_init), (gst_basesink_finalize),
15789 (gst_basesink_activate), (gst_basesink_change_state):
15790 Don't free preroll queue too early.
15792 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15796 Hi, I'm outdated. Please shoot me.
15798 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15800 * gst/gstpipeline.c: (gst_pipeline_send_event):
15801 Do not access variables after they have been deleted.
15803 2005-05-19 Wim Taymans <wim@fluendo.com>
15805 * tools/gst-inspect.c: (print_plugin_features):
15806 A plugin feature does unfortunatly not use the
15809 2005-05-18 Wim Taymans <wim@fluendo.com>
15811 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
15812 Port _span() functions to new subbuffers.
15814 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15816 * gst/gstbin.c: (gst_bin_add_func):
15817 Fix clock settery in bins when adding kids after the clock has
15820 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15822 * gst/elements/gstidentity.c: (gst_identity_class_init):
15823 Workaround until signals support GstMiniObject.
15825 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
15828 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
15830 2005-05-18 Wim Taymans <wim@fluendo.com>
15832 * gst/base/Makefile.am:
15833 * gst/base/gstadapter.c: (gst_adapter_base_init),
15834 (gst_adapter_class_init), (gst_adapter_init),
15835 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
15836 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
15837 (gst_adapter_flush), (gst_adapter_available),
15838 (gst_adapter_available_fast):
15839 * gst/base/gstadapter.h:
15840 Ported and added adapter to the base classes.
15842 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
15845 * gst/gstmessage.c:
15846 Make sure the class is reffed/unreffed once before threads can be
15847 used. Fixes #304551.
15849 2005-05-17 Wim Taymans <wim@fluendo.com>
15851 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
15852 (gst_basesink_chain_unlocked), (gst_basesink_activate):
15853 * gst/gstminiobject.c: (gst_mini_object_get_type),
15854 (gst_mini_object_free):
15855 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
15856 (gst_pad_push), (gst_pad_push_event):
15857 * gst/gstqueue.c: (gst_queue_change_state):
15858 Don't queue buffers in basesink when we are flushing.
15859 Unref buffer when flushing in basesink.
15860 Flush queue when going to READY
15861 Unref buffer when _push() returns an error.
15862 Don't free MiniObject instance when refcount is incremented
15863 in _finalize() so that we can recover objects.
15865 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
15867 * docs/manual/advanced-schedulers.xml:
15868 * docs/manual/appendix-checklist.xml:
15869 * docs/pwg/advanced-clock.xml:
15870 * docs/pwg/advanced-interfaces.xml:
15871 * docs/pwg/advanced-request.xml:
15872 * docs/pwg/advanced-types.xml:
15873 * docs/pwg/intro-preface.xml:
15874 * examples/plugins/example.c: (gst_example_get_type),
15875 (gst_example_class_init), (gst_example_chain),
15876 (gst_example_set_property), (gst_example_get_property),
15877 (gst_example_change_state), (plugin_init):
15878 * examples/plugins/example.h:
15881 2005-05-17 Wim Taymans <wim@fluendo.com>
15883 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
15884 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
15885 * gst/gstqueue.c: (gst_queue_change_state):
15886 Clear queue when going to READY.
15887 Remove IN_SETCAPS flag too.
15889 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
15891 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
15892 Remove implicit cast from gboolean to GstElementStateReturn;
15893 make sure we still return failure in paused => ready case if
15894 the parent class fails to change state and our own stop
15897 2005-05-17 Wim Taymans <wim@fluendo.com>
15899 * tools/gst-launch.c: (event_loop):
15900 Message was unreffed too soon.
15902 2005-05-16 Andy Wingo <wingo@pobox.com>
15904 * gst/gstbin.c (sink_iterator_filter): Err... um...
15906 * check/gst/gstbin.c (test_ghost_pads): New test for the
15907 ghosting-if-elements-not-in-same-bin behavior.
15909 2005-05-16 David Schleef <ds@schleef.org>
15911 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
15912 accessing refcount directly.
15914 2005-05-15 David Schleef <ds@schleef.org>
15916 * check/Makefile.am: remove GstData checks
15917 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
15918 * gst/Makefile.am: add miniobject, remove data
15919 * gst/gst.h: add miniobject, remove data
15920 * gst/gstdata.c: remove
15921 * gst/gstdata.h: remove
15922 * gst/gstdata_private.h: remove
15923 * gst/gsttypes.h: remove GstEvent and GstMessage
15924 * gst/gstelement.c: (gst_element_post_message): fix for API changes
15925 * gst/gstmarshal.list: change BOXED -> OBJECT
15927 Implement GstMiniObject.
15928 * gst/gstminiobject.c:
15929 * gst/gstminiobject.h:
15931 Modify to be subclasses of GstMiniObject.
15932 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
15933 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
15934 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
15935 (gst_subbuffer_get_type), (gst_subbuffer_init),
15936 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
15939 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
15940 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
15941 (_gst_event_copy), (gst_event_new):
15943 * gst/gstmessage.c: (_gst_message_initialize),
15944 (gst_message_get_type), (gst_message_class_init),
15945 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
15946 (gst_message_new), (gst_message_new_error),
15947 (gst_message_new_warning), (gst_message_new_tag),
15948 (gst_message_new_state_changed), (gst_message_new_application):
15949 * gst/gstmessage.h:
15950 * gst/gstprobe.c: (gst_probe_perform),
15951 (gst_probe_dispatcher_dispatch):
15953 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
15954 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
15955 (_gst_query_copy), (gst_query_new):
15957 Update elements for GstData -> GstMiniObject changes
15959 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
15960 (gst_queue_chain), (gst_queue_loop):
15961 * gst/elements/gstbufferstore.c:
15962 (gst_buffer_store_add_buffer_func),
15963 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
15964 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
15965 (gst_fakesink_render):
15966 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
15967 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
15968 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
15969 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
15970 (gst_filesrc_create_read):
15971 * gst/elements/gstidentity.c: (gst_identity_class_init):
15972 * gst/elements/gsttypefindelement.c:
15973 (gst_type_find_element_src_event), (free_entry_buffers),
15974 (gst_type_find_element_handle_event):
15975 * libs/gst/dataprotocol/dataprotocol.c:
15976 (gst_dp_header_from_buffer):
15977 * libs/gst/dataprotocol/dataprotocol.h:
15978 * libs/gst/dataprotocol/dp-private.h:
15980 2005-05-15 David Schleef <ds@schleef.org>
15982 * gst/elements/gstelements.c: Don't include headers that were
15985 2005-05-15 David Schleef <ds@schleef.org>
15987 * gst/elements/Makefile.am: Remove some elements that don't
15988 need to be in the core (or even exist at all).
15989 * gst/elements/gstaggregator.c:
15990 * gst/elements/gstaggregator.h:
15991 * gst/elements/gstmd5sink.c:
15992 * gst/elements/gstmd5sink.h:
15993 * gst/elements/gstmultifilesrc.c:
15994 * gst/elements/gstmultifilesrc.h:
15995 * gst/elements/gstpipefilter.c:
15996 * gst/elements/gstpipefilter.h:
15997 * gst/elements/gstshaper.c:
15998 * gst/elements/gstshaper.h:
15999 * gst/elements/gststatistics.c:
16000 * gst/elements/gststatistics.h:
16001 * po/POTFILES.in: Remove above files.
16003 2005-05-14 Andy Wingo <wingo@pobox.com>
16005 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
16006 so as to get the refs right.
16007 (sink_iterator_filter): New function, wraps bin_element_is_sink,
16008 unreffing objects that don't pass the filter.
16010 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
16011 gst_element_set_bus.
16012 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
16013 normal cases, this will destroy the bus.
16015 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
16018 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
16021 2005-05-13 Andy Wingo <wingo@pobox.com>
16023 * gst/gstutils.c (gst_element_link_pads): Instead of calling
16024 gst_pad_link, call pad_link_maybe_ghosting,
16025 (pad_link_maybe_ghosting): Links pads, making sure that the
16026 elements being linked are in the same bin.
16027 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
16028 Helpers for pad_link_maybe_ghosting.
16030 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
16033 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
16035 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
16037 * docs/design/part-element-source.txt:
16040 2005-05-12 Wim Taymans <wim@fluendo.com>
16042 * gst/base/gstbasesink.c: (gst_basesink_init),
16043 (gst_basesink_activate):
16044 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
16045 (gst_basesrc_is_seekable):
16046 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
16047 (bin_element_is_sink), (gst_bin_change_state):
16048 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
16049 * gst/gstelement.h:
16050 Identify sinks by their flag to avoid overly complicated
16052 Do state changes even for elements not reachable from the
16054 BaseSink is a sink now :)
16055 Some more debugging info in the basesrc.
16058 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16060 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
16061 Implement _query on a bin, similar to _send_event.
16063 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
16065 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
16066 Discont event offset format should be GST_FORMAT_BYTES,
16067 not GST_FORMAT_TIME.
16069 2005-05-12 Wim Taymans <wim@fluendo.com>
16071 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
16072 Same fix as Ronald's but without the signal.
16074 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16076 * gst/gstutils.c: (gst_element_query_position):
16077 No, an element is not a pad.
16079 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16081 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
16082 (gst_bin_get_state):
16083 If a child is removed from a bin while we remove the child from
16084 the bin and while we're retrieving its state, signal this to the
16085 get_state function so we abort the wait (instead of waiting for
16086 a timeout) and can immediately re-iterate over all other elements.
16088 2005-05-12 Wim Taymans <wim@fluendo.com>
16090 * gst/base/Makefile.am:
16091 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
16092 (gst_basesrc_start):
16093 * gst/base/gstbasesrc.h:
16094 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
16095 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
16096 (gst_pushsrc_init), (gst_pushsrc_create):
16097 * gst/base/gstpushsrc.h:
16098 Added is_seekable to BaseSrc
16099 Added simple PushSrc.
16101 2005-05-11 Wim Taymans <wim@fluendo.com>
16103 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
16104 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
16105 (gst_element_link_pads), (gst_element_query_position),
16106 (gst_element_query_convert), (intersect_caps_func),
16107 (gst_pad_query_position), (gst_pad_query_convert):
16108 Fix refcounting in utils function.
16109 No point in trying to activate a pad when it's added, it could
16110 be added from the state change function and then we deadlock, the
16111 element has to decide what to do.
16113 2005-05-10 Andy Wingo <wingo@pobox.com>
16115 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
16116 *all* the arguments.
16118 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
16119 stream lock if it's a FLUSH_DONE; normal flushes don't get the
16120 lock (according to the docs -- if this is wrong change the docs).
16122 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
16123 flush messages in the NULL state.
16125 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
16126 message immediately and return.
16127 (gst_bus_set_flushing): New function. If a bus is flushing, it
16128 flushes out any queued messages and immediately unrefs new
16129 messages. This is so when an element goes to NULL, all of the
16130 unhandled messages coming from it can be freed, and their
16131 references to the element dropped. In other words: message source
16132 ref considered harmful :P
16134 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
16135 we're finished with it.
16137 * gst/gstmessage.c (gst_message_new_state_changed):
16139 2005-05-10 Wim Taymans <wim@fluendo.com>
16141 * gst/gstvalue.c: (gst_value_compare_flags),
16142 (gst_value_serialize_flags), (gst_value_deserialize_flags),
16143 (_gst_value_initialize):
16144 Added flags serialize/deserialize/compare code.
16146 2005-05-09 Andy Wingo <wingo@pobox.com>
16148 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
16149 Intersect the peer's caps with our caps.
16151 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16153 * gst/base/gsttypefindhelper.c: (helper_find_peek):
16154 * gst/elements/gsttypefindelement.c: (find_peek):
16155 Handle negative offsets better. Fixes decodebin.
16157 2005-05-09 Wim Taymans <wim@fluendo.com>
16159 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
16160 (gst_base_transform_event):
16161 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
16162 Implement accept_caps.
16163 Fix silly lock/unlock mismatch in base class.
16165 2005-05-09 Wim Taymans <wim@fluendo.com>
16167 * docs/design/draft-push-pull.txt:
16168 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
16169 * gst/elements/gstfilesink.c: (gst_filesink_init),
16170 (gst_filesink_query):
16171 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
16172 (gst_type_find_handle_src_query), (find_element_get_length):
16173 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
16174 * gst/gstelement.h:
16175 * gst/gstmessage.c:
16176 * gst/gstmessage.h:
16177 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
16178 (gst_real_pad_get_caps_unlocked),
16179 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
16180 (gst_pad_event_default_dispatch), (gst_pad_event_default),
16181 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
16182 (gst_real_pad_dispose), (gst_real_pad_finalize),
16183 (gst_pad_load_and_link), (gst_pad_save_thyself),
16184 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
16185 (gst_pad_check_pull_range), (gst_pad_pull_range),
16186 (gst_pad_template_get_type), (gst_pad_template_class_init),
16187 (gst_pad_template_init), (gst_pad_template_dispose),
16188 (name_is_valid), (gst_static_pad_template_get),
16189 (gst_pad_template_new), (gst_static_pad_template_get_caps),
16190 (gst_pad_template_get_caps), (gst_pad_set_element_private),
16191 (gst_pad_get_element_private), (gst_pad_start_task),
16192 (gst_pad_pause_task), (gst_pad_stop_task),
16193 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
16194 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
16195 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
16196 (gst_ghost_pad_new):
16198 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
16199 (gst_query_new_position), (gst_query_set_position),
16200 (gst_query_parse_position), (gst_query_new_convert),
16201 (gst_query_set_convert), (gst_query_parse_convert):
16203 * gst/gstqueryutils.c:
16204 * gst/gstqueryutils.h:
16205 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
16206 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
16207 (gst_queue_handle_src_query):
16208 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
16209 (gst_element_query_position), (gst_element_query_convert),
16210 (intersect_caps_func), (gst_pad_query_position),
16211 (gst_pad_query_convert):
16213 * tools/gst-inspect.c: (print_pad_info):
16214 * tools/gst-xmlinspect.c: (print_element_info):
16215 Remove old query functions. Ported old code.
16216 Added position/convert helper functions to gstutils.
16217 Reordered gstpad.c code, grouping relevant things.
16218 Remove gst_message_new(), always need to speficy a specific
16222 2005-05-09 Andy Wingo <wingo@pobox.com>
16224 * gst/gstiterator.h: Add some includes.
16226 * gst/gstqueryutils.h: Include more headers.
16229 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
16230 some uses of gst_pad_query.
16232 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
16233 NULL out parameters.
16234 (gst_query_new_position): New proc, allocates a new position
16237 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
16238 gstqueryutils.c to the build.
16240 * gst/gststructure.c (gst_structure_set_valist): Implement with
16241 the generic G_VALUE_COLLECT.
16243 2005-05-08 Edward Hervey <bilboed@bilboed.com>
16245 * gst/Makefile.am: (gst_headers):
16246 Added gstqueryutils.h to the list of headers to install, that was
16247 a 'nachty' move wingo :)
16249 2005-05-06 Andy Wingo <wingo@pobox.com>
16252 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
16253 GstData, init a memchunk.
16254 (standard_definitions): Add a few query types, deprecate a few.
16255 (gst_query_get_type): New proc.
16256 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
16258 (gst_query_new_application, gst_query_get_structure): New public
16261 * docs/design/draft-query.txt: Removed LINKS from the query types,
16262 because all the rest can be dispatched to other pads -- seemed
16263 ugly to have a query that couldn't be dispatched. internal_links
16264 is fine as a pad method.
16266 * gst/gstpad.h: Add query2 as a pad method, add the new functions
16267 in gstpad.c, but maintain binary compatibility for the moment.
16268 Will fix before 0.9 is out.
16270 * gst/gstqueryutils.c:
16271 * gst/gstqueryutils.h: New files, implement 3 methods for each
16272 query type: parse_query, parse_response, and set. Probably need an
16275 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
16277 * gst/elements/gstfilesink.c (gst_filesink_query2):
16278 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
16279 query_types, and formats methods.
16281 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
16282 (gst_pad_set_query2_function): New functions.
16283 (gst_real_pad_init): Set query2_default as the default query2
16284 function. Basically just dispatches to internally linked pads.
16288 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
16289 without using the atomic operations. Only one thread can possibly
16290 be accessing the data at this point. Changed so as to avoid
16291 gst_atomic operations.
16293 2005-05-06 Wim Taymans <wim@fluendo.com>
16295 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
16296 Also set caps if we use the fallback buffer alloc.
16298 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
16300 * docs/gst/Makefile.am:
16301 * docs/gst/gstreamer-docs.sgml:
16302 * docs/gst/gstreamer-sections.txt:
16303 * docs/gst/tmpl/gstatomic.sgml:
16304 * docs/gst/tmpl/gstmemchunk.sgml:
16305 * testsuite/elements/struct_i386.h:
16306 * win32/GStreamer.vcproj:
16308 Purge GstAtomic stuff from docs and win32 makefiles as well
16310 2005-05-06 Wim Taymans <wim@fluendo.com>
16312 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
16313 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
16314 * gst/gstpad.c: (gst_pad_peer_get_caps):
16315 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
16316 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
16317 (gst_queue_src_activate), (gst_queue_change_state):
16319 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
16320 (intersect_caps_func):
16321 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
16322 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
16323 Some fixes for the peer_get_caps() change.
16325 2005-05-06 Wim Taymans <wim@fluendo.com>
16327 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
16328 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
16329 (gst_basesink_activate):
16330 Actually do something with error codes returned from the push
16333 2005-05-06 Wim Taymans <wim@fluendo.com>
16335 * docs/design/part-element-sink.txt:
16336 * docs/design/part-element-source.txt:
16337 * gst/base/gstbasesink.c: (gst_basesink_class_init),
16338 (gst_basesink_event), (gst_basesink_activate):
16339 * gst/base/gstbasesink.h:
16340 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
16341 (gst_basesrc_activate):
16342 * gst/base/gstbasesrc.h:
16343 * gst/gstelement.c: (gst_element_pads_activate):
16344 Some more documentation.
16345 Fixed scheduling decision in _pads_activate().
16347 2005-05-05 Andy Wingo <wingo@pobox.com>
16349 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
16352 2005-05-05 Wim Taymans <wim@fluendo.com>
16354 * gst/base/Makefile.am:
16355 * gst/base/gstbasesink.h:
16356 * gst/base/gstbasesrc.c: (gst_basesrc_init),
16357 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
16358 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
16359 (gst_collectpads_class_init), (gst_collectpads_init),
16360 (gst_collectpads_finalize), (gst_collectpads_new),
16361 (gst_collectpads_set_function), (gst_collectpads_add_pad),
16362 (find_pad), (gst_collectpads_remove_pad),
16363 (gst_collectpads_is_active), (gst_collectpads_collect),
16364 (gst_collectpads_collect_range), (gst_collectpads_start),
16365 (gst_collectpads_stop), (gst_collectpads_peek),
16366 (gst_collectpads_pop), (gst_collectpads_available),
16367 (gst_collectpads_read), (gst_collectpads_flush),
16368 (gst_collectpads_chain):
16369 * gst/base/gstcollectpads.h:
16370 * gst/elements/Makefile.am:
16371 * gst/elements/gstelements.c:
16372 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
16373 (gst_fakesink_get_times), (gst_fakesink_event),
16374 (gst_fakesink_preroll), (gst_fakesink_render):
16375 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
16376 (gst_filesink_init), (gst_filesink_set_location),
16377 (gst_filesink_open_file), (gst_filesink_close_file),
16378 (gst_filesink_pad_query), (gst_filesink_event),
16379 (gst_filesink_render), (gst_filesink_change_state):
16380 * gst/elements/gstfilesink.h:
16381 Added object to help in making collect pad based elements.
16383 Make event function in sink baseclass return gboolean.
16385 2005-05-05 Wim Taymans <wim@fluendo.com>
16387 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
16388 (gst_bin_get_by_name):
16390 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
16391 (gst_clock_finalize):
16392 * gst/gstdata.c: (gst_data_replace):
16394 * gst/gstelement.c: (gst_element_request_pad),
16395 (gst_element_pads_activate):
16396 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
16397 (gst_object_unref):
16398 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
16399 (gst_pad_set_checkgetrange_function),
16400 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
16401 (gst_pad_check_pull_range), (gst_pad_pull_range),
16402 (gst_static_pad_template_get_caps), (gst_pad_start_task),
16403 (gst_pad_pause_task), (gst_pad_stop_task):
16404 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
16405 (gst_element_request_pad), (gst_pad_proxy_getcaps):
16406 Fix name lookup in GstBin.
16407 Added _data_replace() function and _buffer_replace()
16408 Use finalize method to clean up clock.
16409 Fix refcounting on request pads.
16410 Fix pad schedule mode error.
16411 Some more object refcounting debug info,
16414 2005-05-04 Andy Wingo <wingo@pobox.com>
16416 * check/Makefile.am:
16417 * docs/gst/tmpl/gstatomic.sgml:
16418 * docs/gst/tmpl/gstplugin.sgml:
16419 * gst/base/gstbasesink.c: (gst_basesink_activate):
16420 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
16421 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
16422 (gst_basesrc_query), (gst_basesrc_set_property),
16423 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
16424 (gst_basesrc_activate):
16425 * gst/base/gstbasesrc.h:
16426 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
16427 (gst_base_transform_src_activate):
16428 * gst/elements/gstelements.c:
16429 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16430 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
16431 * gst/elements/gsttee.c: (gst_tee_sink_activate):
16432 * gst/elements/gsttypefindelement.c: (find_element_get_length),
16433 (gst_type_find_element_checkgetrange),
16434 (gst_type_find_element_activate):
16435 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
16436 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
16437 (gst_caps_load_thyself):
16438 * gst/gstelement.c: (gst_element_pads_activate),
16439 (gst_element_save_thyself), (gst_element_restore_thyself):
16440 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
16441 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
16443 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
16444 (gst_xml_parse_file), (gst_xml_parse_memory),
16445 (gst_xml_get_element), (gst_xml_make_element):
16446 * gst/indexers/gstfileindex.c: (gst_file_index_load),
16447 (_file_index_id_save_xml), (gst_file_index_commit):
16448 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
16449 (read_enum), (load_pad_template), (load_feature), (load_plugin),
16451 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
16452 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
16453 * tools/gst-complete.c: (main):
16454 * tools/gst-compprep.c: (main):
16455 * tools/gst-inspect.c: (print_element_properties_info):
16456 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
16457 * tools/gst-xmlinspect.c: (print_element_properties):
16460 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
16462 * gst/gstplugin.c: (gst_plugin_check_module),
16463 (gst_plugin_check_file), (gst_plugin_load_file):
16464 apply patch from #172526 to make register work on MacOSX
16466 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
16468 * docs/gst/tmpl/gstconfig.sgml:
16469 * gst/gstconfig.h.in:
16470 move documentation for some symbols. Add doc for GST_PTR_FORMAT
16471 * testsuite/debug/printf_extension.c: (main):
16472 Do not use GST_PTR_FORMAT on pointers to types with
16473 sizeof < sizeof(gpointer). Fixes test on 64-bit
16474 * testsuite/elements/property.h:
16475 use correct printf format
16477 2005-05-02 Wim Taymans <wim@fluendo.com>
16479 * docs/design/draft-push-pull.txt:
16480 * docs/design/draft-query.txt:
16481 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
16482 (gst_basesrc_start):
16483 Added draft for new query API.
16484 Added draft for better selecting scheduling methods.
16485 Make basesrc ignore length if the subclass does not support
16488 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
16491 possible fixes for automake-1.5 - _LIBADD is reserved
16493 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
16495 * docs/faq/Makefile.am:
16496 * docs/manual/Makefile.am:
16497 * docs/manuals.mak:
16498 * docs/pwg/Makefile.am:
16500 possible fixes for automake-1.5
16502 2005-04-28 Wim Taymans <wim@fluendo.com>
16504 * gst/base/gstbasesink.c: (gst_basesink_base_init),
16505 (gst_basesink_pad_getcaps), (gst_basesink_init),
16506 (gst_basesink_do_sync):
16507 * gst/gstclock.c: (gst_clock_entry_new):
16508 * gst/gstevent.c: (gst_event_discont_get_value):
16509 * gst/gstpipeline.c: (pipeline_bus_handler),
16510 (gst_pipeline_change_state):
16511 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
16512 Better debugging of clocking info.
16513 Allow NULL values when getting discont values.
16515 2005-04-27 Wim Taymans <wim@fluendo.com>
16517 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
16518 * check/gst/gstpad.c: (gst_pad_suite):
16519 Increase timeout for checks.
16521 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16523 * check/Makefile.am:
16524 fix the broken rule for cleanup. Apparently this rule is
16525 only needed on FC2, so maybe this warrants further autotool
16528 2005-04-26 Wim Taymans <wim@fluendo.com>
16530 * gst/gsttrashstack.h:
16531 Ooohh. a nasty one! After having a failed pop() from the stack,
16532 it's possible that the stack is empty. In that case, don't
16533 follow the NULL pointer.
16535 2005-04-25 Wim Taymans <wim@fluendo.com>
16537 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
16538 (gst_pad_set_checkgetrange_function),
16539 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
16540 (gst_pad_check_pull_range), (gst_pad_pull_range),
16541 (gst_static_pad_template_get_caps), (gst_pad_start_task),
16542 (gst_pad_pause_task), (gst_pad_stop_task):
16543 * gst/gstplugin.c: (gst_plugin_load):
16545 Remove gst_library_load as it does more harm than good with
16546 the new g_module flags.
16547 Revert bogus caps template check in pad linking, pad caps
16548 are important when linking not the template, which is more
16549 general than the current caps.
16551 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16553 * gst/autoplug/.cvsignore:
16554 * gst/autoplug/Makefile.am:
16555 * gst/autoplug/gstsearchfuncs.c:
16556 * gst/autoplug/gstsearchfuncs.h:
16557 * gst/autoplug/gstspider.c:
16558 * gst/autoplug/gstspider.h:
16559 * gst/autoplug/gstspideridentity.c:
16560 * gst/autoplug/gstspideridentity.h:
16561 * gst/autoplug/spidertest.c:
16564 2005-04-25 Wim Taymans <wim@fluendo.com>
16566 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
16567 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
16568 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
16569 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
16571 Added stubs for unimplemented functions.
16573 2005-04-24 David Schleef <ds@schleef.org>
16575 * gst/gstpad.h: Disable some unimplemented functions. Wim,
16578 2005-04-24 David Schleef <ds@schleef.org>
16580 Convert everything from GstAtomicInt to g_atomic_int_*, and
16585 * gst/gstatomic_impl.h:
16593 * gst/gstdata_private.h:
16597 * gst/gstmessage.c:
16600 * gst/gststructure.c:
16601 * gst/gststructure.h:
16602 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
16605 2005-04-24 David Schleef <ds@schleef.org>
16607 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
16608 make the regressions tests work. Remove some code that is no
16610 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
16611 Disable warning for pads without templates.
16613 2005-04-24 David Schleef <ds@schleef.org>
16615 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
16616 functions that handle filtered links.
16617 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
16619 * gst/gstutils.c: Fix/remove utility functions that handle
16622 * gst/gstvalue.c: Add serialization/deserialization of caps
16623 * gst/parse/grammar.y: Ignore filtered caps when linking. This
16624 requires fixing so that the filter caps notation creates
16625 a capsfilter element and sets the filter_caps property. I
16626 think everyone probably wants to keep the shorthand notation.
16627 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
16628 * docs/gst/tmpl/gstpad.sgml:
16630 * gst/elements/gstelements.c: Register capsfilter element.
16631 * gst/Makefile.am: fix spacing
16632 * docs/random/ds/0.9-suggested-changes: random
16634 2005-04-23 David Schleef <ds@schleef.org>
16636 * gst/elements/Makefile.am:
16637 * gst/elements/gstcapsfilter.c: New element that acts like an
16638 identity, but filters caps. Will eventually replace filtered
16639 caps in pad linking.
16640 * gst/gstutils.c: (gst_element_create_all_pads): New function
16641 to create all the ALWAYS pads that are registered with an
16642 element class. This functionality should eventually be
16643 merged in with GstElement initialization.
16645 * testsuite/trigger/README: part of trigger test code that should
16646 have been checked in a long time ago.
16648 2005-04-23 David Schleef <ds@schleef.org>
16650 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
16651 needed with new versions of libtool (nobody will confirm this),
16652 and hard to carry around.
16653 * gst/autoplug/Makefile.am:
16654 * gst/base/Makefile.am:
16655 * gst/elements/Makefile.am:
16656 * gst/indexers/Makefile.am:
16657 * gst/schedulers/Makefile.am:
16658 * libs/gst/bytestream/Makefile.am:
16659 * libs/gst/control/Makefile.am:
16660 * libs/gst/dataprotocol/Makefile.am:
16661 * libs/gst/getbits/Makefile.am:
16663 2005-04-21 Wim Taymans <wim@fluendo.com>
16665 * docs/design/draft-push-pull.txt:
16666 * docs/design/part-MT-refcounting.txt:
16667 * docs/design/part-TODO.txt:
16668 * docs/design/part-caps.txt:
16669 * docs/design/part-events.txt:
16670 * docs/design/part-gstbus.txt:
16671 * docs/design/part-gstpipeline.txt:
16672 * docs/design/part-messages.txt:
16673 * docs/design/part-push-pull.txt:
16674 * docs/design/part-query.txt:
16677 2005-04-21 Wim Taymans <wim@fluendo.com>
16679 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
16680 (gst_message_new), (gst_message_new_error),
16681 (gst_message_new_warning), (gst_message_new_tag),
16682 (gst_message_new_state_changed), (gst_message_new_application),
16683 (gst_message_get_structure):
16684 * gst/gstmessage.h:
16685 * gst/gststructure.c: (gst_structure_set_parent_refcount),
16686 (gst_structure_copy_conditional):
16687 Use parent refcount in GstMessage to ensure GstStructure
16689 Cleaned up headers a bit.
16692 2005-04-20 Wim Taymans <wim@fluendo.com>
16694 * gst/base/gstbasesink.c: (gst_basesink_base_init),
16695 (gst_basesink_pad_getcaps), (gst_basesink_init),
16696 (gst_basesink_chain_unlocked):
16697 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
16698 (gst_type_find_helper):
16699 * gst/elements/gsttypefindelement.c:
16700 (gst_type_find_element_have_type), (gst_type_find_element_init),
16701 (stop_typefinding), (gst_type_find_element_handle_event),
16702 (find_suggest), (gst_type_find_element_chain),
16703 (gst_type_find_element_checkgetrange),
16704 (gst_type_find_element_getrange), (do_typefind),
16705 (gst_type_find_element_activate):
16706 * gst/gstbuffer.c: (_gst_buffer_sub_free),
16707 (gst_buffer_default_free), (gst_buffer_default_copy),
16708 (gst_buffer_set_caps):
16709 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
16710 (gst_caps_replace):
16711 * gst/gstmessage.c: (gst_message_new),
16712 (gst_message_new_state_changed):
16713 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
16714 (gst_pad_set_checkgetrange_function),
16715 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
16716 (gst_pad_set_caps), (gst_pad_check_pull_range),
16717 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
16719 * gst/gsttypefind.c: (gst_type_find_register):
16720 Make gst_caps_replace() work like other _replace() functions.
16721 Use _caps_replace() where possible.
16722 Make sure _message_new() initialises its field.
16723 Add gst_static_pad_template_get_caps()
16726 2005-04-18 Andy Wingo <wingo@pobox.com>
16728 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
16729 on the peer, not the pad. I think that was a typo. Pass an extra
16730 arg to see if random access is possible. Activate the pads as
16731 PULL_RANGE if possible.
16733 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
16735 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
16736 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
16739 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16741 * docs/faq/using.xml:
16742 Add note on gstreamer-properties (#154996).
16744 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16746 * docs/random/bbb/optional-properties:
16747 Some analysis on optional properties.
16749 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16751 * docs/gst/tmpl/gstelementfactory.sgml:
16752 * gst/gstelement.h:
16753 * gst/gstelementfactory.c: (gst_element_factory_init),
16754 (gst_element_factory_cleanup), (gst_element_register),
16755 (__gst_element_factory_add_static_pad_template),
16756 (gst_element_factory_get_static_pad_templates),
16757 (gst_element_factory_can_src_caps),
16758 (gst_element_factory_can_sink_caps):
16759 * gst/registries/Makefile.am:
16760 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
16761 (gst_xml_registry_class_init), (gst_xml_registry_init),
16762 (gst_xml_registry_new), (gst_xml_registry_set_property),
16763 (gst_xml_registry_get_property), (get_time), (make_dir),
16764 (gst_xml_registry_get_perms_func),
16765 (plugin_times_older_than_recurse), (plugin_times_older_than),
16766 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
16767 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
16768 (add_to_char_array), (read_string), (read_uint), (read_enum),
16769 (load_pad_template), (load_feature), (load_plugin), (load_paths),
16770 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
16771 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
16772 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
16773 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
16774 (gst_xml_registry_rebuild):
16775 * gst/registries/gstlibxmlregistry.h:
16776 * tools/gst-compprep.c: (main):
16777 * tools/gst-inspect.c: (print_pad_templates_info):
16778 * tools/gst-xmlinspect.c: (print_element_info):
16779 Use libxml2 for registry parsing, use staticpadtemplates in
16780 elementfactories. Makes gst_init() +/- 10x faster.
16782 2005-04-12 Wim Taymans <wim@fluendo.com>
16784 * gst/base/Makefile.am:
16785 * gst/base/gstbasesink.c: (gst_basesink_base_init),
16786 (gst_basesink_pad_getcaps), (gst_basesink_init),
16787 (gst_basesink_event), (gst_basesink_change_state):
16788 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
16789 (gst_basesrc_init), (gst_basesrc_query),
16790 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
16791 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
16792 (gst_basesrc_check_get_range), (gst_basesrc_loop),
16793 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
16794 (gst_basesrc_stop), (gst_basesrc_activate),
16795 (gst_basesrc_change_state):
16796 * gst/base/gsttypefindhelper.c: (helper_find_peek),
16797 (helper_find_suggest), (gst_type_find_helper):
16798 * gst/base/gsttypefindhelper.h:
16799 * gst/elements/Makefile.am:
16800 * gst/elements/gstelements.c:
16801 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
16802 (gst_fakesink_get_times), (gst_fakesink_event),
16803 (gst_fakesink_preroll), (gst_fakesink_render):
16804 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16805 (gst_fakesrc_init), (gst_fakesrc_event_handler),
16806 (gst_fakesrc_get_property), (gst_fakesrc_create),
16807 (gst_fakesrc_start), (gst_fakesrc_stop):
16808 * gst/elements/gstfakesrc.h:
16809 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
16810 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
16811 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
16812 (gst_filesrc_create_read), (gst_filesrc_create),
16813 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
16814 (gst_filesrc_start):
16815 * gst/elements/gsttypefindelement.c:
16816 (gst_type_find_element_have_type), (gst_type_find_element_init),
16817 (start_typefinding), (stop_typefinding), (push_buffer_store),
16818 (gst_type_find_element_handle_event),
16819 (gst_type_find_element_chain),
16820 (gst_type_find_element_checkgetrange),
16821 (gst_type_find_element_getrange), (do_typefind),
16822 (gst_type_find_element_activate),
16823 (gst_type_find_element_change_state):
16824 * gst/elements/gsttypefindelement.h:
16825 * gst/gstpipeline.c: (pipeline_bus_handler):
16826 Added typefind helper.
16827 Small preroll fix in the base sink.
16828 Disable typefind code in basesrc.
16829 Crude port of typefindelement.
16833 2005-04-11 Wim Taymans <wim@fluendo.com>
16835 * check/gst/gstbus.c: (gstbus_suite):
16836 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
16837 * check/gstcheck.h:
16838 Fix up the timeout so that the test does not fail.
16840 2005-04-06 Wim Taymans <wim@fluendo.com>
16843 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
16844 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
16845 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
16846 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
16847 (gst_basesrc_check_get_range), (gst_basesrc_loop),
16848 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
16849 (gst_basesrc_stop), (gst_basesrc_activate),
16850 (gst_basesrc_change_state), (basesrc_find_peek),
16851 (basesrc_find_suggest), (gst_basesrc_type_find):
16852 * gst/base/gstbasesrc.h:
16853 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
16854 (gst_filesrc_class_init), (gst_filesrc_init),
16855 (gst_filesrc_finalize), (gst_filesrc_set_location),
16856 (gst_filesrc_set_property), (gst_filesrc_get_property),
16857 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
16858 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
16859 (gst_filesrc_create_read), (gst_filesrc_create),
16860 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
16861 * gst/elements/gstfilesrc.h:
16862 * gst/gstelement.c: (gst_element_get_state_func),
16863 (gst_element_lost_state), (gst_element_pads_activate):
16864 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
16865 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
16866 (gst_pad_pull_range):
16868 More work on the generic source base class, implement seeking,
16870 Make filesrc extend the base source class.
16871 Added gst_pad_set_checkgetrange_function to GstPad.
16873 2005-04-06 Andy Wingo <wingo@pobox.com>
16875 * pkgconfig/gstreamer-base.pc.in:
16876 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
16878 * pkgconfig/Makefile.am:
16879 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
16881 2005-04-04 Wim Taymans <wim@fluendo.com>
16883 * gst/base/Makefile.am:
16885 * gst/base/gstbasesink.c: (gst_basesink_base_init),
16886 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
16887 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
16888 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
16889 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
16890 (gst_basesrc_base_init), (gst_basesrc_class_init),
16891 (gst_basesrc_init), (gst_basesrc_get_formats),
16892 (gst_basesrc_get_query_types), (gst_basesrc_query),
16893 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
16894 (gst_basesrc_set_property), (gst_basesrc_get_property),
16895 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
16896 (gst_basesrc_loop), (gst_basesrc_activate),
16897 (gst_basesrc_change_state):
16898 * gst/base/gstbasesrc.h:
16899 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
16900 (gst_fakesrc_class_init), (gst_fakesrc_init),
16901 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
16902 (gst_fakesrc_get_property), (gst_fakesrc_create):
16903 * gst/elements/gstfakesrc.h:
16904 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
16905 (gst_filesrc_open_file), (gst_filesrc_loop),
16906 (gst_filesrc_activate), (filesrc_find_peek),
16907 (gst_filesrc_type_find):
16908 Made base source class, make fakesrc extend it.
16909 Add comments to basesink class.
16910 Some filesrc cleanup.
16912 2005-03-31 David Schleef <ds@schleef.org>
16914 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
16915 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
16916 expected to link against libgstreamer.
16917 * gst/base/Makefile.am: link against libgstreamer
16918 * gst/elements/Makefile.am: same
16920 2005-03-31 Andy Wingo <wingo@pobox.com>
16922 * tests/instantiate/Makefile.am:
16923 * tests/instantiate/caps.c: Add test to test speed of caps copy
16926 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
16927 GMemChunk to be fair.
16929 * gst/gsttrashstack.h: Remove warning about using the fallback
16930 trash stack implementation, it's still faster than malloc.
16932 2005-03-30 Andy Wingo <wingo@pobox.com>
16934 * tests/complexity.c: Add a copyright.
16936 2005-03-31 Wim Taymans <wim@fluendo.com>
16938 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
16939 (gst_base_transform_class_init), (gst_base_transform_init),
16940 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
16941 (gst_base_transform_get_property),
16942 (gst_base_transform_sink_activate),
16943 (gst_base_transform_src_activate),
16944 (gst_base_transform_change_state):
16945 * gst/base/gstbasetransform.h:
16946 * gst/elements/gstidentity.c: (gst_identity_class_init),
16947 (gst_identity_event), (gst_identity_check_perfect),
16948 (gst_identity_transform), (gst_identity_start),
16949 (gst_identity_stop):
16950 Added start/stop methods to transform base class so subclasses
16951 don't need to deal with state changes even.
16953 2005-03-31 Wim Taymans <wim@fluendo.com>
16955 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
16956 (gst_event_new_discontinuous), (gst_event_discont_get_value):
16958 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
16959 (gst_pad_pull_range):
16960 Added rate to the discont event to prepare for variable speed
16961 and reverse playback.
16963 2005-03-29 David Schleef <ds@schleef.org>
16966 * testsuite/trigger/Makefile.am:
16967 * testsuite/trigger/trigger.c: A little example program to show
16968 how trigger-based elements can work.
16970 2005-03-29 Wim Taymans <wim@fluendo.com>
16972 * gst/base/Makefile.am:
16974 * gst/base/gstbasesink.c: (gst_basesink_get_type),
16975 (gst_basesink_base_init), (gst_basesink_class_init),
16976 (gst_basesink_pad_getcaps), (gst_basesink_init),
16977 (gst_basesink_activate), (gst_basesink_change_state):
16978 * gst/base/gstbasesink.h:
16979 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
16980 (gst_base_transform_base_init), (gst_base_transform_finalize),
16981 (gst_base_transform_class_init), (gst_base_transform_init),
16982 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
16983 (gst_base_transform_event), (gst_base_transform_getrange),
16984 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
16985 (gst_base_transform_set_property),
16986 (gst_base_transform_get_property),
16987 (gst_base_transform_sink_activate),
16988 (gst_base_transform_src_activate),
16989 (gst_base_transform_change_state):
16990 * gst/base/gstbasetransform.h:
16991 * gst/elements/gstidentity.c: (gst_identity_finalize),
16992 (gst_identity_class_init), (gst_identity_init),
16993 (gst_identity_event), (gst_identity_check_perfect),
16994 (gst_identity_transform), (gst_identity_set_property),
16995 (gst_identity_get_property), (gst_identity_change_state):
16996 * gst/elements/gstidentity.h:
16997 * gst/gstelement.c: (gst_element_get_state_func),
16998 (gst_element_lost_state), (gst_element_pads_activate):
16999 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
17000 (gst_pad_check_pull_range), (gst_pad_pull_range):
17002 Simplify pad activation.
17003 Added function to check if pull_range can be performed.
17004 Error out when pulling inactive or flushing pads.
17005 Removed const from refcounted types as it does not make sense.
17006 Simplify pad templates in basesink
17007 Added base class for simple 1-to-1 transforms.
17008 Make identity subclass the base transform.
17010 2005-03-29 Andy Wingo <wingo@pobox.com>
17012 * docs/libs/gstreamer-libs-overrides.txt:
17013 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
17014 really don't understand what's going on, but like whatever. I want
17017 * docs/gst/Makefile.am:
17018 * docs/libs/Makefile.am: Dist the overrides files.
17020 * check/Makefile.am (clean-local): Remove .libs directories.
17022 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
17023 elements to EXTRA_DIST, so po/ files are happy.
17025 * po/POTFILES.in: Er, remove it here.
17027 * po/POTFILES: Remove gstspider.c.
17029 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
17031 * docs/libs/gstreamer-libs-docs.sgml:
17032 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
17035 * tests/complexity.c (main): Set the length of the preroll queue
17036 on the sinks to prevent a lockup.
17038 * libs/gst/dataprotocol/Makefile.am:
17039 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
17040 the same as the one in check/gst-libs/gdp.c.
17042 * po/, docs/gst/: Commit automatic changes to docs and po files.
17044 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
17045 the versioned libgstbase.
17047 * check/Makefile.am: Depend on an unversioned gst-register, seems
17048 to make autoconf happier.
17050 * gst/base/Makefile.am: Make libgstbase a versioned lib.
17052 2005-03-28 Wim Taymans <wim@fluendo.com>
17055 * docs/design/part-gstelement.txt:
17056 * docs/design/part-negotiation.txt:
17057 * docs/design/part-preroll.txt:
17058 * docs/design/part-scheduling.txt:
17059 * docs/design/part-states.txt:
17061 * gst/base/Makefile.am:
17063 * gst/base/gstbasesink.c: (gst_basesink_get_template),
17064 (gst_basesink_base_init), (gst_basesink_class_init),
17065 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
17066 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
17067 (gst_basesink_set_pad_functions),
17068 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
17069 (gst_basesink_set_property), (gst_basesink_get_property),
17070 (gst_base_sink_get_template), (gst_base_sink_get_caps),
17071 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
17072 (gst_basesink_preroll_queue_push),
17073 (gst_basesink_preroll_queue_empty),
17074 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
17075 (gst_basesink_event), (gst_basesink_get_times),
17076 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
17077 (gst_basesink_chain_unlocked), (gst_basesink_chain),
17078 (gst_basesink_loop), (gst_basesink_activate),
17079 (gst_basesink_change_state):
17080 * gst/base/gstbasesink.h:
17081 * gst/elements/Makefile.am:
17082 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
17083 (gst_fakesink_class_init), (gst_fakesink_init),
17084 (gst_fakesink_set_property), (gst_fakesink_get_property),
17085 (gst_fakesink_get_times), (gst_fakesink_event),
17086 (gst_fakesink_preroll), (gst_fakesink_render),
17087 (gst_fakesink_change_state):
17088 * gst/elements/gstfakesink.h:
17089 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
17090 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
17091 * gst/gstelement.c: (gst_element_add_pad),
17092 (gst_element_get_state_func), (gst_element_abort_state),
17093 (gst_element_commit_state), (gst_element_lost_state),
17094 (gst_element_set_state), (gst_element_pads_activate):
17095 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
17096 * gst/gstpipeline.c: (gst_pipeline_send_event),
17097 (gst_pipeline_change_state):
17098 Added state change code.
17099 Added/updated docs.
17100 Added sink base class, make fakesink extend the base class.
17101 Small cleanups in GstPipeline.
17103 2005-03-26 David Schleef <ds@schleef.org>
17105 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
17106 is broken and should be implemented in a different library.
17107 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
17108 * gst/gst.h: remove gstcpu.h
17109 * gst/gstcpu.c: remove
17110 * gst/gstcpu.h: remove
17111 * gst/Makefile.am.future: Remove this file. It's ancient.
17113 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17115 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
17116 (gst_bin_send_event):
17117 Add default event/set_manager handlers. The set_manager handler
17118 takes care that the manager is distributed over kids that were
17119 already in the bin before the manager was set. The event handler
17120 is a utility virtual function that sends the event over all sinks,
17121 so that gst_element_send_event (bin, event); has the expected
17123 * gst/gstpad.c: (gst_pad_event_default):
17124 Re-install default event handling for discontinuities, so that
17125 seeking works without requiring hacks in applications or extra
17127 * gst/gstpipeline.c: (gst_pipeline_class_init),
17128 (gst_pipeline_send_event):
17129 Half hack, half utility: set a pipeline to PAUSED for seek events,
17130 since that is the only way we can guarantee a/v sync. Means that
17131 you can do gst_element_seek (pipeline, method, pos); on a pipeline
17132 and it "just works".
17134 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17136 * gst/gstpipeline.c: (gst_pipeline_use_clock):
17137 Lock/unlock mismatch.
17139 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
17141 * docs/faq/gst-uninstalled:
17142 add gst-plugins-base
17143 * docs/gst/Makefile.am:
17144 don't error out until docs are fixed
17145 * docs/gst/gstreamer.types:
17148 2005-03-22 Wim Taymans <wim@fluendo.com>
17150 * check/Makefile.am:
17151 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
17152 * gst/gststructure.c: (gst_structure_set_valist),
17153 (gst_structure_copy_conditional):
17154 Activated more tests.
17155 Added message test.
17156 Added G_TYPE_POINTER to GstStructure.
17159 2005-03-22 Wim Taymans <wim@fluendo.com>
17161 * docs/design/part-TODO.txt:
17162 * docs/design/part-events.txt:
17163 * docs/design/part-gstbin.txt:
17164 * docs/design/part-gstbus.txt:
17165 * docs/design/part-gstpipeline.txt:
17166 * docs/design/part-messages.txt:
17168 * gst/gstmessage.c:
17171 2005-03-21 Wim Taymans <wim@fluendo.com>
17173 * gst/gstbus.c: (gst_bus_post):
17174 Fix copy-and-paste error.
17176 2005-03-21 Wim Taymans <wim@fluendo.com>
17178 * check/Makefile.am:
17180 * gst/elements/Makefile.am:
17181 * gst/elements/gstelements.c:
17182 * gst/elements/gstfakesink.c: (gst_fakesink_init),
17183 (gst_fakesink_event), (gst_fakesink_chain):
17184 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
17185 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
17186 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
17187 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
17188 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
17189 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
17190 (gst_fakesrc_loop), (gst_fakesrc_activate),
17191 (gst_fakesrc_change_state):
17192 * gst/elements/gstfakesrc.h:
17193 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
17194 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
17195 (gst_filesrc_open_file), (gst_filesrc_loop),
17196 (gst_filesrc_activate), (gst_filesrc_change_state),
17197 (filesrc_find_peek), (filesrc_find_suggest),
17198 (gst_filesrc_type_find):
17199 * gst/elements/gstidentity.c: (gst_identity_finalize),
17200 (gst_identity_class_init), (gst_identity_init),
17201 (gst_identity_proxy_getcaps), (identity_queue_push),
17202 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
17203 (gst_identity_getrange), (gst_identity_chain),
17204 (gst_identity_sink_loop), (gst_identity_src_loop),
17205 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
17206 (gst_identity_set_property), (gst_identity_get_property),
17207 (gst_identity_change_state):
17208 * gst/elements/gstidentity.h:
17209 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
17210 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
17211 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
17212 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
17213 (gst_tee_sink_activate):
17214 * gst/elements/gsttee.h:
17215 * gst/gst.c: (gst_register_core_elements), (init_post):
17217 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
17218 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
17219 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
17220 (gst_bin_change_state):
17222 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
17223 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
17224 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
17225 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
17226 (gst_bus_set_sync_handler), (gst_bus_create_watch),
17227 (bus_watch_callback), (bus_watch_destroy),
17228 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
17229 (poll_timeout), (gst_bus_poll):
17233 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
17234 (gst_element_post_message), (gst_element_message_full),
17235 (gst_element_get_state_func), (gst_element_get_state),
17236 (gst_element_abort_state), (gst_element_commit_state),
17237 (gst_element_lost_state), (gst_element_set_state),
17238 (gst_element_pads_activate), (gst_element_change_state),
17239 (gst_element_dispose), (gst_element_set_manager_func),
17240 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
17241 (gst_element_set_manager), (gst_element_get_manager),
17242 (gst_element_set_bus), (gst_element_get_bus),
17243 (gst_element_set_scheduler), (gst_element_get_scheduler):
17244 * gst/gstelement.h:
17245 * gst/gstevent.c: (gst_event_new_segment_seek),
17246 (gst_event_new_flush):
17248 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
17249 (_gst_message_free), (gst_message_get_type), (gst_message_new),
17250 (gst_message_new_eos), (gst_message_new_error),
17251 (gst_message_new_warning), (gst_message_new_tag),
17252 (gst_message_new_state_changed), (gst_message_new_application),
17253 (gst_message_get_structure), (gst_message_parse_tag),
17254 (gst_message_parse_state_changed), (gst_message_parse_error),
17255 (gst_message_parse_warning):
17256 * gst/gstmessage.h:
17257 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
17258 (gst_real_pad_set_property), (gst_pad_set_active),
17259 (gst_pad_is_active), (gst_pad_set_blocked_async),
17260 (gst_pad_set_blocked), (gst_pad_is_blocked),
17261 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
17262 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
17263 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
17264 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
17265 (gst_pad_link_filtered), (gst_pad_relink_filtered),
17266 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
17267 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
17268 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
17269 (gst_pad_set_caps), (gst_pad_configure_sink),
17270 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
17271 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
17272 (gst_real_pad_dispose), (gst_real_pad_finalize),
17273 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
17274 (gst_pad_event_default_dispatch), (gst_pad_event_default),
17275 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
17277 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
17278 (pipeline_bus_handler), (gst_pipeline_change_state),
17279 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
17280 * gst/gstpipeline.h:
17282 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
17283 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
17284 (gst_queue_link_src), (gst_queue_bufferalloc),
17285 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
17286 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
17287 (gst_queue_loop), (gst_queue_handle_src_event),
17288 (gst_queue_handle_src_query), (gst_queue_src_activate),
17289 (gst_queue_change_state):
17291 * gst/gstscheduler.c: (gst_scheduler_init),
17292 (gst_scheduler_dispose), (gst_scheduler_create_task),
17293 (gst_scheduler_factory_create):
17294 * gst/gstscheduler.h:
17295 * gst/gststructure.c: (gst_structure_get_type),
17296 (gst_structure_copy_conditional):
17297 * gst/gststructure.h:
17298 * gst/gsttaginterface.h:
17299 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
17300 (gst_task_init), (gst_task_dispose), (gst_task_create),
17301 (gst_task_get_state), (gst_task_start), (gst_task_stop),
17307 * gst/schedulers/Makefile.am:
17308 * gst/schedulers/cothreads_compat.h:
17309 * gst/schedulers/entryscheduler.c:
17310 * gst/schedulers/faircothreads.c:
17311 * gst/schedulers/faircothreads.h:
17312 * gst/schedulers/fairscheduler.c:
17313 * gst/schedulers/gstbasicscheduler.c:
17314 * gst/schedulers/gstoptimalscheduler.c:
17315 * gst/schedulers/gthread-cothreads.h:
17316 * gst/schedulers/threadscheduler.c:
17317 (gst_thread_scheduler_task_get_type),
17318 (gst_thread_scheduler_task_class_init),
17319 (gst_thread_scheduler_task_init),
17320 (gst_thread_scheduler_task_start),
17321 (gst_thread_scheduler_task_stop),
17322 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
17323 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
17324 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
17325 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
17327 * libs/gst/Makefile.am:
17328 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
17329 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
17330 (gst_file_pad_parent_set):
17331 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
17332 (gst_dp_event_from_packet):
17333 * tests/complexity.c: (main):
17334 * tests/mass_elements.c: (main):
17335 * testsuite/states/locked.c: (message_received), (main):
17336 * testsuite/states/parent.c: (main):
17337 * tools/gst-inspect.c: (print_element_flag_info),
17338 (print_implementation_info), (print_pad_info):
17339 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
17341 * tools/gst-md5sum.c: (event_loop), (main):
17342 * tools/gst-typefind.c: (main):
17343 * tools/gst-xmlinspect.c: (print_element_info):
17345 Added GstBus for mainloop integration.
17346 Added GstMessage for sending notifications on the bus.
17347 Added GstTask as an abstraction for pipeline entry points.
17349 Removed Schedulers.
17350 Simplified GstQueue for multithreaded core.
17351 Made _link threadsafe, removed old capsnego.
17352 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
17353 Added pad blocking functions.
17354 Reworked scheduling functions in GstPad to prepare for
17355 scheduling updates soon.
17356 Moved events out of data stream.
17357 Simplified GstEvent types.
17358 Added return values to push/pull.
17359 Removed clocking from GstElement.
17360 Added prototypes for state change function for next merge.
17361 Removed iterate from bins and state change management.
17362 Fixed some elements, disabled others for now.
17363 Fixed -inspect and -launch.
17364 Added check for GstBus.
17366 2005-03-10 Wim Taymans <wim@fluendo.com>
17368 * docs/design/part-MT-refcounting.txt:
17369 * docs/design/part-clocks.txt:
17370 * docs/design/part-gstelement.txt:
17371 * docs/design/part-gstobject.txt:
17372 * docs/design/part-standards.txt:
17373 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
17374 (gst_bin_remove_func), (gst_bin_remove):
17378 * testsuite/clock/clock1.c: (main):
17379 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
17381 * testsuite/dlopen/loadgst.c: (do_test):
17382 * testsuite/refcounting/bin.c: (add_remove_test1),
17383 (add_remove_test2), (main):
17384 * testsuite/refcounting/element.c: (main):
17385 * testsuite/refcounting/element_pad.c: (main):
17386 * testsuite/refcounting/pad.c: (main):
17387 * tools/gst-launch.c: (sigint_handler_sighandler):
17388 * tools/gst-typefind.c: (main):
17390 Added doc about clock.
17391 removed gst_bin_iterate_recurse_up(), marked methods
17393 Fix more testsuites.
17395 2005-03-09 Wim Taymans <wim@fluendo.com>
17397 * gst/gstpad.c: (gst_pad_get_direction),
17398 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
17399 (gst_pad_collect_valist):
17400 * testsuite/bins/interface.c: (main):
17401 * testsuite/caps/audioscale.c: (test_caps):
17402 * testsuite/caps/caps.c: (test1), (test2), (test3):
17403 * testsuite/caps/deserialize.c: (main):
17404 * testsuite/caps/enumcaps.c: (main):
17405 * testsuite/caps/filtercaps.c: (main):
17406 * testsuite/caps/intersect2.c: (main):
17407 * testsuite/caps/random.c: (main):
17408 * testsuite/caps/renegotiate.c: (my_fixate), (main):
17409 * testsuite/caps/sets.c: (check_caps):
17410 * testsuite/caps/simplify.c: (check_caps), (main):
17411 * testsuite/caps/subtract.c: (check_caps):
17412 Fix _pad_get_direction wrt ghostpads.
17413 Fix caps testsuite.
17415 2005-03-09 Wim Taymans <wim@fluendo.com>
17417 * check/Makefile.am:
17418 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
17419 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
17420 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
17421 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
17422 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
17423 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
17424 (gst_bin_remove), (gst_bin_iterate_recurse_up),
17425 (bin_element_is_sink), (gst_bin_iterate_sinks),
17426 (gst_bin_iterate_all_by_interface):
17428 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
17429 (gst_element_change_state), (gst_element_dispose),
17430 (gst_element_finalize), (gst_element_set_loop_function):
17431 * gst/gstelement.h:
17432 * gst/gstiterator.c: (find_custom_fold_func):
17433 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
17434 (gst_pad_collectv), (gst_pad_collect_valist),
17435 (gst_pad_template_new):
17436 * gst/gstpipeline.c: (gst_pipeline_class_init),
17437 (gst_pipeline_dispose), (gst_pipeline_set_property),
17438 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
17439 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
17440 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
17442 * gst/schedulers/entryscheduler.c:
17443 * gst/schedulers/gstbasicscheduler.c:
17444 (gst_basic_scheduler_cothreaded_chain),
17445 (gst_basic_scheduler_chain_add_element):
17446 * testsuite/bins/interface.c: (main):
17448 Added GstSystemClock test.
17449 Implemented clock distribution code in GstBin.
17450 Implemented iterate sinks method for future use.
17451 Rearranged gstelement.h
17452 Fix GstIterator comparison bug.
17453 Moved some code to GstPipeline, mostly clocking related.
17455 2005-03-09 Wim Taymans <wim@fluendo.com>
17458 * gst/gst_private.h:
17459 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
17460 (gst_bin_remove_func), (gst_bin_remove),
17461 (gst_bin_get_by_name_recurse_up):
17462 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
17463 (gst_clock_id_compare_func), (gst_clock_id_wait),
17464 (gst_clock_id_wait_async), (gst_clock_init),
17465 (gst_clock_adjust_unlocked), (gst_clock_get_time):
17466 * gst/gstelement.h:
17467 * gst/gstinfo.c: (_gst_debug_init):
17469 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
17470 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
17472 Bump version number, we're now 0.9.0
17473 Add future debugging category.
17474 Fix NULL _unref() in _get_by_name_recurse_up
17475 Rearrange gstpad.h.
17478 2005-03-08 Wim Taymans <wim@fluendo.com>
17480 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
17481 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
17482 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
17483 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
17484 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
17485 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
17486 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
17487 * gst/elements/gstidentity.c: (gst_identity_class_init):
17488 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
17489 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
17490 * gst/elements/gstshaper.c: (gst_shaper_class_init):
17491 * gst/elements/gststatistics.c: (gst_statistics_class_init):
17492 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
17494 * gst/gstelement.c: (gst_element_class_init),
17495 (gst_element_base_class_init), (gst_element_init),
17496 (gst_element_get_random_pad), (gst_element_wait_state_change),
17497 (gst_element_change_state), (gst_element_dispose),
17498 (gst_element_finalize), (gst_element_set_loop_function):
17499 * gst/gstelement.h:
17500 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
17501 * gst/gstthread.c: (gst_thread_class_init),
17502 (gst_thread_release_children_locks), (gst_thread_change_state):
17503 * gst/schedulers/gstbasicscheduler.c:
17504 (gst_basic_scheduler_loopfunc_wrapper),
17505 (gst_basic_scheduler_chain_wrapper),
17506 (gst_basic_scheduler_src_wrapper),
17507 (gst_basic_scheduler_remove_element):
17508 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
17509 Remove threadsafe properties. Fix elements because GObject
17510 complains when installing a property before declaring a
17511 set/get_property handler.
17512 Rearrange gstelement.h file, use STATE macros for state locks.
17513 Free mutexes in the finalize method instead of dispose.
17515 2005-03-08 Wim Taymans <wim@fluendo.com>
17517 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
17518 * gst/gstthread.c: (gst_thread_release_children_locks):
17519 Added parentage check.
17520 Fix build og GstThread again.
17522 2005-03-08 Wim Taymans <wim@fluendo.com>
17524 * docs/design/part-MT-refcounting.txt:
17525 * docs/design/part-conventions.txt:
17526 * docs/design/part-gstobject.txt:
17527 * docs/design/part-relations.txt:
17528 * docs/design/part-standards.txt:
17529 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
17530 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
17531 (gst_bin_get_by_name), (gst_bin_get_by_interface),
17532 (gst_bin_iterate_all_by_interface):
17535 * gst/gstelement.c: (gst_element_class_init),
17536 (gst_element_change_state), (gst_element_set_loop_function):
17537 * gst/gstelement.h:
17538 * gst/gstiterator.c:
17539 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
17540 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
17541 (gst_object_dispatch_properties_changed), (gst_object_set_name),
17542 (gst_object_set_parent), (gst_object_unparent),
17543 (gst_object_check_uniqueness):
17545 Docs updates, clean up some headers.
17547 2005-03-07 Wim Taymans <wim@fluendo.com>
17549 * check/.cvsignore:
17550 * check/Makefile.am:
17551 * check/gst-libs/.cvsignore:
17552 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
17553 * check/gst/.cvsignore:
17554 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
17555 (START_TEST), (gstbus_suite), (main):
17556 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
17557 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
17558 (gst_data_suite), (main):
17559 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
17560 (add_fold_func), (gstiterator_suite), (main):
17561 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
17562 (thread_name_object), (thread_name_object_default),
17563 (gst_object_name_compare), (gst_object_suite), (main):
17564 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
17565 (gst_pad_suite), (main):
17566 * check/gstcheck.c: (gst_check_log_message_func),
17567 (gst_check_log_critical_func), (gst_check_init):
17568 * check/gstcheck.h:
17569 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
17570 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
17573 2005-03-07 Wim Taymans <wim@fluendo.com>
17575 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
17576 (gst_list_iterator_next), (gst_list_iterator_resync),
17577 (gst_list_iterator_free), (gst_iterator_new_list),
17578 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
17579 (gst_iterator_free), (gst_iterator_push), (filter_next),
17580 (filter_resync), (filter_uninit), (filter_free),
17581 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
17582 (gst_iterator_foreach), (find_custom_fold_func),
17583 (gst_iterator_find_custom):
17584 * gst/gstiterator.h:
17585 Added missing files.
17587 2005-03-07 Wim Taymans <wim@fluendo.com>
17591 * docs/design/part-MT-refcounting.txt:
17592 * docs/design/part-conventions.txt:
17593 * docs/design/part-gstobject.txt:
17594 * docs/design/part-relations.txt:
17595 * examples/mixer/mixer.c: (main):
17596 * examples/thread/thread.c: (eos), (main):
17598 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
17599 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
17600 (gst_spider_plug_from_srcpad):
17601 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
17602 (gst_spider_identity_change_state),
17603 (gst_spider_identity_sink_loop_type_finding):
17604 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
17605 * gst/elements/gstidentity.c: (gst_identity_init):
17606 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
17607 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
17608 * gst/elements/gsttypefindelement.c: (free_entry):
17611 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
17612 (gst_bin_set_clock_func), (gst_bin_auto_clock),
17613 (gst_bin_set_index), (gst_bin_set_element_sched),
17614 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
17615 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
17616 (gst_bin_iterate_elements), (iterate_child_recurse),
17617 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
17618 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
17619 (compare_interface), (gst_bin_get_by_interface),
17620 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
17622 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
17623 (gst_buffer_default_free), (gst_buffer_default_copy),
17624 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
17625 (gst_buffer_create_sub):
17627 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
17628 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
17629 (gst_caps_unref), (gst_static_caps_get),
17630 (gst_caps_remove_and_get_structure), (gst_caps_append),
17631 (gst_caps_append_structure), (gst_caps_remove_structure),
17632 (gst_caps_copy_nth), (gst_caps_set_simple),
17633 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
17634 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
17635 (gst_caps_structure_intersect_field), (gst_caps_intersect),
17636 (gst_caps_structure_subtract_field), (gst_caps_subtract),
17637 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
17638 (gst_caps_structure_figure_out_union),
17639 (gst_caps_switch_structures), (gst_caps_do_simplify),
17640 (gst_caps_replace), (gst_caps_from_string),
17641 (gst_caps_copy_conditional):
17643 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
17644 (_gst_clock_id_free), (gst_clock_id_unref),
17645 (gst_clock_id_compare_func), (gst_clock_id_wait),
17646 (gst_clock_id_wait_async), (gst_clock_class_init),
17647 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
17648 (gst_clock_get_time), (gst_clock_set_time_adjust),
17649 (gst_clock_set_property), (gst_clock_get_property):
17652 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
17653 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
17655 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
17656 (gst_element_requires_clock), (gst_element_provides_clock),
17657 (gst_element_set_clock), (gst_element_clock_wait),
17658 (gst_element_wait), (gst_element_set_time_delay),
17659 (gst_element_is_indexable), (gst_element_add_pad),
17660 (gst_element_add_ghost_pad), (gst_element_remove_pad),
17661 (pad_compare_name), (gst_element_get_static_pad),
17662 (gst_element_request_pad), (gst_element_get_request_pad),
17663 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
17664 (gst_element_class_get_pad_template_list),
17665 (gst_element_class_get_pad_template), (gst_element_error_func),
17666 (gst_element_get_random_pad), (gst_element_get_event_masks),
17667 (gst_element_send_event), (gst_element_seek),
17668 (gst_element_get_query_types), (gst_element_query),
17669 (gst_element_get_formats), (gst_element_convert),
17670 (gst_element_is_locked_state), (gst_element_set_locked_state),
17671 (gst_element_sync_state_with_parent), (gst_element_change_state),
17672 (gst_element_finalize), (gst_element_yield),
17673 (gst_element_interrupt), (gst_element_set_scheduler),
17674 (gst_element_get_scheduler), (gst_element_set_loop_function):
17675 * gst/gstelement.h:
17677 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
17678 (gst_format_get_by_nick), (gst_format_get_details),
17679 (gst_format_iterate_definitions):
17681 * gst/gstindex.c: (gst_index_gtype_resolver):
17684 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
17685 (gst_mem_chunk_free):
17686 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
17687 (gst_object_ref), (gst_object_unref), (gst_object_sink),
17688 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
17689 (gst_object_dispatch_properties_changed),
17690 (gst_object_set_name_default), (gst_object_set_name),
17691 (gst_object_get_name), (gst_object_set_name_prefix),
17692 (gst_object_get_name_prefix), (gst_object_set_parent),
17693 (gst_object_get_parent), (gst_object_unparent),
17694 (gst_object_check_uniqueness), (gst_object_save_thyself),
17695 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
17696 (gst_object_set_property), (gst_object_get_property),
17697 (gst_object_get_path_string):
17699 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
17700 (gst_real_pad_init), (gst_real_pad_get_property),
17701 (gst_pad_custom_new), (gst_pad_get_direction),
17702 (gst_pad_set_active), (gst_pad_is_active),
17703 (gst_pad_set_event_function), (gst_pad_is_linked),
17704 (gst_pad_link_free), (gst_pad_link_intersect),
17705 (gst_pad_link_fixate), (gst_pad_set_caps),
17706 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
17707 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
17708 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
17709 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
17710 (gst_pad_get_caps), (gst_pad_peer_get_caps),
17711 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
17712 (gst_pad_realize), (gst_pad_get_allowed_caps),
17713 (gst_real_pad_dispose), (gst_real_pad_finalize),
17714 (gst_pad_collectv), (gst_pad_collect_valist),
17715 (gst_pad_template_dispose), (gst_pad_template_new),
17716 (gst_pad_get_internal_links):
17718 * gst/gstpipeline.c: (gst_pipeline_dispose),
17719 (gst_pipeline_change_state):
17720 * gst/gstpipeline.h:
17722 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
17723 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
17724 * gst/gstpluginfeature.h:
17725 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
17726 * gst/gstquery.c: (_gst_query_type_initialize),
17727 (gst_query_type_register), (gst_query_type_get_by_nick),
17728 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
17730 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
17731 * gst/gstscheduler.c: (gst_scheduler_add_element),
17732 (gst_scheduler_factory_create):
17733 * gst/gststructure.c: (gst_structure_set_parent_refcount),
17734 (gst_structure_free), (gst_structure_set_name),
17735 (gst_structure_id_set_value), (gst_structure_set_value),
17736 (gst_structure_set_valist), (gst_structure_remove_field),
17737 (gst_structure_remove_fields),
17738 (gst_structure_remove_fields_valist),
17739 (gst_structure_remove_all_fields), (gst_structure_foreach),
17740 (gst_structure_map_in_place),
17741 (gst_caps_structure_fixate_field_nearest_int),
17742 (gst_caps_structure_fixate_field_nearest_double):
17743 * gst/gststructure.h:
17744 * gst/gstsystemclock.c: (gst_system_clock_class_init),
17745 (gst_system_clock_init), (gst_system_clock_dispose),
17746 (gst_system_clock_async_thread),
17747 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
17748 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
17749 * gst/gstsystemclock.h:
17750 * gst/gsttag.c: (gst_tag_list_add_value_internal),
17751 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
17752 * gst/gsttaginterface.c:
17753 * gst/gstthread.c: (gst_thread_dispose),
17754 (gst_thread_release_children_locks), (gst_thread_change_state),
17755 (gst_thread_main_loop):
17756 * gst/gsttrashstack.h:
17757 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
17759 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
17760 (gst_element_request_pad), (gst_element_get_pad_from_template),
17761 (gst_element_request_compatible_pad),
17762 (gst_element_get_compatible_pad_filtered),
17763 (gst_element_get_compatible_pad), (gst_element_state_get_name),
17764 (gst_element_link_pads_filtered), (gst_element_link_filtered),
17765 (gst_element_link_many), (gst_element_link),
17766 (gst_element_link_pads), (gst_element_unlink_pads),
17767 (gst_element_unlink_many), (gst_element_unlink),
17768 (gst_pad_can_link_filtered), (gst_pad_can_link),
17769 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
17770 (gst_object_default_error), (gst_bin_add_many),
17771 (gst_bin_remove_many), (gst_element_populate_std_props),
17772 (gst_element_class_install_std_props), (gst_buffer_merge),
17773 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
17774 (link_fold_func), (gst_pad_proxy_setcaps):
17776 * gst/gstvalue.c: (gst_value_deserialize_string):
17777 * gst/parse/grammar.y:
17778 * gst/schedulers/gstbasicscheduler.c:
17779 (gst_basic_scheduler_cothreaded_chain),
17780 (gst_basic_scheduler_chain_recursive_add),
17781 (gst_basic_scheduler_pad_link):
17782 * gst/schedulers/gstoptimalscheduler.c:
17783 (get_group_schedule_function),
17784 (gst_opt_scheduler_state_transition),
17785 (gst_opt_scheduler_add_element), (element_get_reachables_func):
17786 * libs/gst/bytestream/bytestream.c:
17787 * libs/gst/dataprotocol/dataprotocol.c:
17788 (gst_dp_header_from_buffer):
17791 * tests/threadstate/threadstate2.c: (eos):
17792 * tools/gst-compprep.c: (main):
17793 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
17794 (print_pad_info), (print_children_info):
17795 * tools/gst-launch.c: (idle_func), (main):
17796 * tools/gst-md5sum.c: (idle_func), (main):
17797 * tools/gst-xmlinspect.c: (print_element_info):
17798 First THREADED backport attempt, focusing on adding locks and
17799 making sure the API is threadsafe. Needs more work. More docs
17802 2005-02-24 Andy Wingo <wingo@pobox.com>
17804 * tests/bench-complexity.scm:
17805 * tests/complexity.gnuplot: New files, good for running complexity
17808 * tests/Makefile.am:
17809 * tests/complexity.c: New test, sets up N elements, at each level
17810 teeing into M streams per element. Eeeenteresting.
17812 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
17813 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
17814 running bench-mass_elements.scm.
17816 * tests/bench-mass_elements.scm: New script, runs mass_elements
17817 for various numbers of identities, outputting the results to a
17818 file. Requires guile 1.6. Just for testing.
17820 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
17822 * gst/schedulers/fairscheduler.c:
17823 compile with debug disabled
17825 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
17828 hunting season on 0.9 is now OPEN