1 2006-06-13 Edward Hervey <edward@fluendo.com>
3 * gst/gst.c: (init_post):
6 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
8 * gst/glib-compat-private.h:
11 * gst/gstvalue.c: (gst_value_serialize_flags):
12 remove GLib 2.6 compatibility code
14 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
16 * gst/parse/Makefile.am:
17 Fix build with 'make -j N' even more (#340016).
19 2006-06-12 Wim Taymans <wim@fluendo.com>
21 * docs/gst/gstreamer-sections.txt:
24 2006-06-12 Wim Taymans <wim@fluendo.com>
26 * gst/gstsegment.c: (gst_segment_set_duration),
27 (gst_segment_set_last_stop), (gst_segment_set_seek),
28 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
29 (gst_segment_to_running_time), (gst_segment_clip):
30 Use G_UNLIKELY to help the compiler a bit.
32 2006-06-12 Wim Taymans <wim@fluendo.com>
34 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
36 * gst/gstevent.c: (gst_event_get_type):
38 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
40 constify quark registration strings. Fixes #344115
41 Avoid unneeded type checking is _pad_push() by internally
42 calling gst_pad_chain_unchecked().
44 2006-06-12 Wim Taymans <wim@fluendo.com>
46 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
47 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
48 (gst_subbuffer_finalize), (gst_buffer_create_sub),
49 (gst_buffer_is_span_fast), (gst_buffer_span):
50 Init _type for consistency.
51 Use _FLAGS macro to avoid type check.
52 Avoid unneeded type checks in subbufer code.
54 2006-06-12 Wim Taymans <wim@fluendo.com>
56 * gst/gst.c: (gst_debug_help):
57 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
58 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
59 (gst_plugin_feature_list_free):
60 * gst/gstregistry.c: (gst_registry_add_plugin),
61 (gst_registry_add_feature), (gst_registry_plugin_filter),
62 (gst_registry_feature_filter), (gst_registry_find_plugin),
63 (gst_registry_find_feature), (gst_registry_get_plugin_list),
64 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
65 * gst/gstregistryxml.c: (load_feature),
66 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
67 * gst/gstminiobject.c: (gst_mini_object_unref),
68 (gst_mini_object_replace), (gst_value_mini_object_free),
69 (gst_value_mini_object_copy):
70 Use _CAST macros to avoid unneeded type checking.
71 Added some more G_UNLIKELY.
73 2006-06-12 Wim Taymans <wim@fluendo.com>
76 Avoid unneeded type checking.
77 API: GST_BUFFER_IS_DISCONT
79 * gst/gstminiobject.h:
80 Avoid type check in flag accessor.
82 * gst/gstelementfactory.h:
84 * gst/gstpluginfeature.h:
86 API: GST_ELEMENT_FACTORY_CAST
88 API: GST_PLUGIN_FEATURE_CAST
90 2006-06-12 Wim Taymans <wim@fluendo.com>
92 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
94 Add G_UNLIKELY in type registration.
95 Avoid type check in _ref/_unref since that is also
98 2006-06-12 Wim Taymans <wim@fluendo.com>
100 * gst/gsterror.c: (gst_g_error_get_type):
101 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
102 (gst_static_pad_template_get_type):
103 * gst/gsttaglist.c: (gst_tag_list_get_type):
104 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
105 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
106 * gst/gsturi.c: (gst_uri_handler_get_type):
107 * gst/gstvalue.c: (gst_date_get_type):
108 * gst/gstxml.c: (gst_xml_get_type):
109 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
110 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
111 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
112 Add G_UNLIKELY in type registration.
114 2006-06-12 Wim Taymans <wim@fluendo.com>
116 * tools/gst-inspect.c: (print_signal_info):
117 Properly print enum values.
119 2006-06-12 Wim Taymans <wim@fluendo.com>
121 * gst/gstinfo.c: (gst_debug_set_active),
122 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
124 Add some G_[UN]LIKELY.
125 Maintain __gst_debug_min to avoid formatting the arguments of
126 debug messages that will be dropped anyway to avoid a lot of
127 overhead from the debugging system.
129 2006-06-11 Stefan Kost <ensonic@users.sf.net>
133 add missing files containing translatable strings, tell intltool about
136 2006-06-11 Stefan Kost <ensonic@users.sf.net>
138 * tests/check/libs/.cvsignore:
139 add test-binary to ignore list
141 2006-06-11 Stefan Kost <ensonic@users.sf.net>
143 * docs/libs/gstreamer-libs-docs.sgml:
144 reorder (put dp into a chapter) and indent
146 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
151 === release 0.10.8 ===
153 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
156 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
158 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
160 * gst/gst.c: (init_post):
161 move pid declaration to declaration block
163 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
165 * gst/gst.c: (init_post):
166 use _exit() instead of exit() in our forked child; this ensures
167 that none of the registered exit handlers from whatever is using
168 GStreamer get executed. This fixes gnome-mixer-applet failing
169 to load, because ORBit would shut down.
170 Spotted by: Edward Hervey <edward@fluendo.com>
171 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
174 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
179 === release 0.10.7 ===
181 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
184 releasing 0.10.7, "Soepeke, ik zie ou"
186 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
209 * win32/common/config.h:
212 2006-06-07 Wim Taymans <wim@fluendo.com>
214 * gst/gstindex.c: (gst_index_gtype_resolver):
215 * tools/gst-xmlinspect.c: (print_plugin_info):
216 Fix leak spotted by coverity checker. Fixes #343827
217 Fix another other leak found by paolo borelli.
219 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
221 * libs/gst/dataprotocol/dataprotocol.c:
222 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
223 (gst_dp_version_get_type), (gst_dp_init),
224 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
225 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
226 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
227 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
228 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
229 (gst_dp_packetizer_free):
230 * libs/gst/dataprotocol/dataprotocol.h:
231 API: add a GstDPPacketizer object, and create/free functions
232 API: add GstDPVersion enum
233 Add 1.0 event function that uses the string serialization
234 Serialize more useful buffer flags
237 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
239 * tests/check/Makefile.am:
240 * tests/check/gst/gstabi.c:
241 * tests/check/gst/struct_ppc64.h:
242 * tests/check/libs/libsabi.c:
243 * tests/check/libs/struct_ppc64.h:
244 add ppc64 structure sizes
246 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
248 * tests/check/Makefile.am:
249 * tests/check/gst/gstabi.c:
250 * tests/check/gst/struct_x86_64.h:
251 * tests/check/libs/libsabi.c:
252 * tests/check/libs/struct_x86_64.h:
253 generate and add structure size lists for x86_64
255 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
257 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
258 * libs/gst/check/gstcheck.h:
259 factor out the method from tests that checks size of structures,
260 and add code to generate the header containing these sizes
261 * tests/check/gst/gstabi.c: (GST_START_TEST):
262 * tests/check/gst/struct_i386.h:
263 * tests/check/libs/libsabi.c: (GST_START_TEST):
264 * tests/check/libs/struct_i386.h:
267 2006-06-06 Michael Smith <msmith@fluendo.com>
270 Don't use c++-style comments, fixes #343929
272 2006-06-05 Edward Hervey <edward@fluendo.com>
275 plugin_paths is not used if we build without registry support.
277 * gst/gstsegment.c: (gst_segment_copy):
278 _copy() was always returning NULL...
280 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
282 * libs/gst/dataprotocol/dataprotocol.c:
283 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
284 (gst_dp_packet_from_event):
287 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
289 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
290 make sure we unset caps
292 2006-06-02 Michael Smith <msmith@fluendo.com>
294 * libs/gst/check/gstcheck.c: (gst_check_init),
295 (gst_check_chain_func):
296 * libs/gst/check/gstcheck.h:
297 Add a cond/mutex to the check support lib, signal this whenever we
298 add to the buffers list. This will allow tests to not busy-wait on
301 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
303 * libs/gst/dataprotocol/dataprotocol.c:
304 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
305 (gst_dp_packet_from_event):
306 factor out some common header init code
308 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
310 * docs/libs/gstreamer-libs-sections.txt:
311 * docs/libs/tmpl/gstdataprotocol.sgml:
312 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
313 * libs/gst/dataprotocol/dataprotocol.h:
314 API: make gst_dp_crc() public
316 2006-06-01 Stefan Kost <ensonic@users.sf.net>
318 * plugins/indexers/gstindexers.c: (plugin_init):
319 conditionally register fileindexer (fixes #343598)
321 2006-06-01 Stefan Kost <ensonic@users.sf.net>
323 * gst/gsttagsetter.h:
324 Can't cast ifaces to a class
326 * libs/gst/net/gstnetclientclock.h:
327 * libs/gst/net/gstnettimeprovider.h:
328 * plugins/elements/gstfakesink.h:
329 * plugins/elements/gstfakesrc.h:
330 * plugins/elements/gstfdsink.h:
331 * plugins/elements/gstfdsrc.h:
332 * plugins/elements/gstfilesink.h:
333 * plugins/elements/gstfilesrc.h:
334 * plugins/elements/gstidentity.h:
335 * plugins/elements/gstqueue.h:
336 * plugins/elements/gsttee.h:
337 * plugins/indexers/gstfileindex.c:
338 * plugins/indexers/gstmemindex.c:
339 * tests/old/examples/plugins/example.h:
340 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
342 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
344 * libs/gst/dataprotocol/dataprotocol.c:
345 (gst_dp_header_from_buffer):
346 make sure we zero the whole ABI-compatible area
348 2006-06-01 Wim Taymans <wim@fluendo.com>
350 Patch by: Alessandro Decina <alessandro at nnva dot org>
352 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
353 Make sure the EOS flag is cleared from pads after a flush
354 or stop. Fixes #343538.
356 * tests/check/libs/collectpads.c: (GST_START_TEST),
357 (gst_collect_pads_suite):
358 Added test for collectpads reusage after EOS.
360 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
363 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
364 * win32/common/libgstbase.def:
365 export gst_collect_pads_set_flushing
366 * win32/common/libgstreamer.def:
367 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
368 gst_value_fraction_multiply
369 * win32/vs6/gst_inspect.dsp:
370 add a link to intl.lib
372 2006-05-30 Wim Taymans <wim@fluendo.com>
374 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
375 (gst_collect_pads_chain):
376 Handle the case where a pad is removed from the collection
377 that could cause the other pads to become collectable.
379 2006-05-30 Wim Taymans <wim@fluendo.com>
382 Clarify the use of _release_request_pad() and
383 _get_request_pad() a bit better.
385 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
386 (gst_adapter_take_buffer):
387 Fix some doc and comment typos.
389 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
391 * docs/gst/gstreamer-sections.txt:
392 * docs/libs/gstreamer-libs-sections.txt:
395 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
397 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
398 Add debug that can be enabled using a #define at the top of the file,
399 for dumping stats about how late/early we were when waking up from
400 waiting on the clock.
402 2006-05-30 Wim Taymans <wim@fluendo.com>
404 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
405 When rebuilding the pad list, don't leak the previous list.
407 2006-05-30 Wim Taymans <wim@fluendo.com>
409 Patch by: Lutz Mueller <lutz at topfrose dot de>
411 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
412 (gst_base_src_get_query_types), (gst_base_src_update_length):
413 Publish supported query types.
414 Update last_stop field in get_range mode so the position
415 query works. Fixes #342321.
417 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
419 * docs/gst/gstreamer-sections.txt:
420 * gst/gsttaglist.c: (_gst_tag_initialize):
422 API: add GST_TAG_PREVIEW_IMAGE (#343341).
424 2006-05-30 Wim Taymans <wim@fluendo.com>
426 Patch by: Alessandro Decina <alessandro at nnva dot org>
428 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
429 Unlock mutex when removing an unknown pad.
432 * tests/check/Makefile.am:
433 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
434 (push_event), (setup), (teardown), (GST_START_TEST),
435 (gst_collect_pads_suite), (main):
436 Added collecpads check, disabled for now as check crashes for
439 2006-05-29 Wim Taymans <wim@fluendo.com>
441 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
442 Don't leak pads lists.
444 2006-05-29 Wim Taymans <wim@fluendo.com>
446 * docs/libs/gstreamer-libs-sections.txt:
447 * libs/gst/base/gstcollectpads.c:
448 (gst_collect_pads_set_flushing_unlocked),
449 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
450 (gst_collect_pads_stop):
451 * libs/gst/base/gstcollectpads.h:
452 API: gst_collect_pads_set_flushing()
453 Added api to set the pads to flushing, useful for seeking
454 code in elements using collectpads.
455 Clear segment when receiving a flush.
457 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
459 * gst/gst.c: (add_path_func), (init_post):
460 Don't scan registry paths passed via --gst-plugin-path immediately
461 (will crash, because absolutely nothing is set up and no types are
462 registered etc.); do this later in init_post(). Fixes #343057.
464 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
466 * gst/gst.c: (init_post):
467 if we have fork, fork while reading/rebuilding the registry
468 so the parent doesn't take the hit of having all plugins loaded
469 in memory. Fixes #342777.
471 Check if we have fork()
472 * win32/common/config.h.in:
475 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
477 * plugins/elements/gstelements.c:
478 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
479 (gst_file_src_init), (gst_file_src_set_property),
480 (gst_file_src_get_property), (gst_file_src_start):
481 * plugins/elements/gstfilesrc.h:
482 API: GstFileSrc::use-mmap
484 Add a use-mmap property to enable easier testing of all code paths.
485 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
486 in the absence of gnomevfssrc. (Closes #340501)
488 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
490 * tools/gst-inspect.c:
491 Add missing include, removes warning of ngettext not being defined on
494 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
496 * gst/gstvalue.c: (gst_value_deserialize_fraction):
497 Handle NULL input and output pointers silently as a failed conversion,
498 rather than g_warnings.
500 2006-05-25 Wim Taymans <wim@fluendo.com>
502 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
503 Initialize variable before using. Fixes #342820.
505 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
507 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
508 Fix off-by-one bug that would only allow peeks of N-1 bytes
509 from the start even if the buffer to typefind on contains
510 in fact N bytes of data (makes vorbis typefinding from a
511 vorbis identification header buffer work).
513 * tests/check/Makefile.am:
514 * tests/check/libs/.cvsignore:
515 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
516 (gst_typefindhelper_suite), (main), (foobar_typefind),
518 Add very basic unit test for gst_type_find_helper_for_buffer()
519 that checks for the problem fixed above.
521 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
523 * tools/gst-inspect.c: (print_interfaces),
524 (print_element_properties_info), (print_element_list), (main):
525 add more translatable strings
527 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
529 Patch by: Julien Moutte <julien at moutte net>
531 * docs/gst/gstreamer-sections.txt:
532 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
534 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
535 (gst_fake_sink_preroll):
536 * plugins/elements/gstfakesink.h:
537 API: Add new GstFakeSink::preroll-handoff signal (#337100).
539 2006-05-23 Wim Taymans <wim@fluendo.com>
541 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
543 Added _CUSTOM error and success GstFlowReturn that can be
544 used be elements internally.
545 Added macro to check for SUCCESS flowreturns.
546 API: GST_FLOW_CUSTOM_SUCCESS
547 API: GST_FLOW_CUSTOM_ERROR
548 API: GST_FLOW_IS_SUCCESS
550 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
551 Added check for GstFlowReturn sanity.
553 2006-05-23 Wim Taymans <wim@fluendo.com>
555 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
557 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
558 (gst_collect_pads_event):
559 clear/reset segment info in FLUSH_STOP.
562 2006-05-22 Stefan Kost <ensonic@users.sf.net>
564 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
565 (gst_collect_pads_check_collected):
566 Flush queued buffer on _stop(), fixes playing again (#342454)
568 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
570 * tests/check/gst/gststructure.c: (GST_START_TEST),
571 (gst_structure_suite):
572 add a test for a complete structure
574 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
576 * docs/faq/developing.xml:
578 * docs/faq/troubleshooting.xml:
579 * docs/faq/using.xml:
580 Some minor FAQ updates that won't change the fact that
581 our FAQ is badly structured, full of information hardly
582 anyone new to GStreamer needs to know and lacking lots
583 of information people constantly ask for.
585 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
587 * gst/gstpad.c: (gst_pad_set_caps):
588 Short-circuit gst_pad_set_caps if setting the existing
589 caps pointer again, and avoid printing debug and
590 reffing/unreffing the caps.
592 * plugins/elements/gstqueue.c: (gst_queue_push_one):
593 There's actually no need to set the caps before pushing -
594 the acceptcaps method will handle it anyway.
596 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
598 * docs/gst/gstreamer-sections.txt:
599 * win32/common/libgstreamer.def:
600 * gst/gstutils.c: (gst_element_seek_simple):
602 API: add gst_element_seek_simple() (#342238).
604 2006-05-18 Edward Hervey <edward@fluendo.com>
606 * gst/gsttypefind.c: (gst_type_find_get_type):
608 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
609 registered for GstTypeFind pointers. This allows wrapping the structure
610 in bindings (i.e. gst-python).
612 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
614 * gst/gsttagsetter.c:
615 Docs additions and fixes (see #339918).
617 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
619 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
620 The caps intersection algorithm can produce multiple copies of the
621 caps. Until that is fixed, we need to simplify the result to be
622 sure whether the allowed caps are fixed or not.
624 * plugins/elements/gstqueue.c: (gst_queue_init),
625 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
626 (gst_queue_push_one):
627 Proxied buffer alloc should not set the caps on the source pad.
628 When pushing buffers, we always accept the caps change that triggers.
629 This prevents negotiation errors caused by caps changing mid-stream
630 and then being refused on our source pad (because upstream is now
631 refusing those caps).
633 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
635 * tests/examples/helloworld/helloworld.c: (main):
636 Must plug audioconvert and audioresample between decoder
639 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
641 * gst/gstregistryxml.c: (read_string), (load_pad_template),
642 (load_feature), (load_plugin):
643 Allow empty strings for some of the plugin fields so we don't
644 drop valid plugin entries that were written out correctly
647 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
649 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
650 Use g_remove and g_rename instead of remove and rename that don't
651 handle utf8 characters. rename was failing for users who had specific
652 characters in their name then the registry was built at each
654 * win32/vs6/gst_inspect.dsp:
655 * win32/vs6/gst_launch.dsp:
656 * win32/vs6/libgstbase.dsp:
657 * win32/vs6/libgstcoreelements.dsp:
658 * win32/vs6/libgstreamer.dsp:
659 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
660 build of libgstreamer and clean unused libraries in projects link
663 2006-05-17 Edward Hervey <edward@fluendo.com>
665 * plugins/elements/gstqueue.c: (gst_queue_push_one):
666 The queue is not responsible for pushing an EOS when receiving a fatal
667 flow error. It's up to the real element driving the pipeline to do that.
669 2006-05-16 Edward Hervey <edward@fluendo.com>
671 * plugins/elements/gstqueue.c: (gst_queue_push_one):
672 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
673 buffer returned a fatal error. It should just send an EOS and stop
675 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
676 when pushing buffers on the queue and will be able to handle the event.
678 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
680 * docs/manual/basics-bins.xml:
681 * docs/manual/basics-init.xml:
682 Fix typos and minor errors in sample code (#341856).
684 2006-05-16 Wim Taymans <wim@fluendo.com>
686 * docs/design/part-qos.txt:
687 Fix indexes in formulas to make more sense.
689 2006-05-15 Wim Taymans <wim@fluendo.com>
691 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
692 Don't report POSITION based on clock time if sync is
695 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
698 Add cast to make compiler happy - refcount variable was a gint
699 in GstObject but is a guint in GObject and g_atomic_int_get()
702 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
704 * gst/parse/Makefile.am:
705 chain commands using &&, which also makes parallel make work
707 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
709 * docs/gst/gstreamer-sections.txt:
715 === release 0.10.6 ===
717 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
720 releasing 0.10.6, "Take the cannoli"
722 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
724 * tools/gst-launch.c: (print_tag):
725 Fix use of uninitialized variable in the hypothetical
726 case that some broken plugin creates a GST_TAG_IMAGE
727 tag containing a NULL buffer (#341667).
729 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
731 * tools/gst-launch.c: (print_tag):
732 Print something more intelligible for image tags when
733 using the -t switch (#341556).
735 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
740 define GST_MAJORMINOR so we have it available in win32/common/config.h
741 Possibly remove it from our Makefile.am files later
742 * win32/common/config.h:
743 * win32/common/config.h.in:
745 * win32/common/gstenumtypes.c: (register_gst_resource_error):
746 * win32/common/gstversion.h:
749 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
752 Update win32 files listing.
753 * win32/common/gstversion.h:
754 Add GST_MAJORMINOR definition.
755 * win32/common/libgstreamer.def:
756 Add new exported functions.
758 2006-05-12 Michael Smith <msmith@fluendo.com>
760 * gst/gstplugin.c: (gst_plugin_load_file):
761 If an so file has no plugin entry point, unload the module.
763 2006-05-11 Wim Taymans <wim@fluendo.com>
765 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
766 (gst_queue_set_property):
767 Don't forget to signal the _chain or _loop function
768 when the queue size or thresholds change since that might
769 cause them to make progres again.
771 2006-05-11 Stefan Kost <ensonic@users.sf.net>
773 * gst/gstclock.c: (gst_clock_class_init):
774 * gst/gstindex.c: (gst_index_class_init):
775 * gst/gstobject.c: (gst_object_class_init):
776 * gst/gstpad.c: (gst_pad_class_init):
777 * gst/gstpipeline.c: (gst_pipeline_class_init):
778 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
779 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
780 * libs/gst/base/gstbasetransform.c:
781 (gst_base_transform_class_init):
782 * libs/gst/net/gstnetclientclock.c:
783 (gst_net_client_clock_class_init):
784 * libs/gst/net/gstnettimeprovider.c:
785 (gst_net_time_provider_class_init):
786 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
787 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
788 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
789 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
790 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
791 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
792 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
793 * plugins/elements/gstidentity.c: (gst_identity_class_init):
794 * plugins/elements/gsttee.c: (gst_tee_class_init):
795 * tests/old/examples/plugins/example.c: (gst_example_class_init):
796 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
797 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
799 2006-05-11 Wim Taymans <wim@fluendo.com>
801 * gst/gstbuffer.c: (_gst_buffer_initialize):
802 Register subbufer along with the buffer type so that
803 it does not accidentally gets registered from N
804 different streaming threads in a non threadsafe way.
806 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
811 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
812 gst_event_ref() and gst_message_ref() functions again
813 (ugly hack, please do fix if there's a better way besides
814 overrides.txt, which doesn't seem to work).
816 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
818 * libs/gst/check/gstcheck.h:
819 add an assert for setting state to avoid lots of repetitive code
822 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
824 * gst/gstvalue.c: (gst_value_serialize_flags):
825 fix a leak if no flags are set
826 * tests/check/gst/gstvalue.c: (GST_START_TEST):
829 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
831 * docs/manual/basics-pads.xml:
832 Expand a bit on caps and filtered links and update
833 examples that were still using the no longer existing
834 gst_pad_link_filtered() (#338206).
836 2006-05-10 Wim Taymans <wim@fluendo.com>
838 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
839 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
840 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
841 (gst_collect_pads_stop):
842 * libs/gst/base/gstcollectpads.h:
843 No need to call _stop in _finalize.
844 Iterate the main pad list in _finalize.
845 Added some more debug.
846 Free lists and data in the right order.
847 Also free data whem doing _remove_pad when stopped for
848 backward compatibility protect ::started with PAD_LOCK as
851 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
853 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
854 (gst_structure_parse_value):
856 rename a method so that it actually says what it does better
858 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
860 * gst/gstevent.c: (_gst_event_initialize):
861 * gst/gstformat.c: (_gst_format_initialize):
862 make sure some essential types used by events are registered
863 as part of gst_init()
864 * gst/gstvalue.c: (gst_value_serialize_flags):
865 if no flags are set, serialize them to a value that represents NONE
866 so that deserializing them works
867 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
868 add tests for serialization and deserialization of flags
870 2006-05-10 Wim Taymans <wim@fluendo.com>
872 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
873 (gst_collect_pads_collect_range), (gst_collect_pads_available),
874 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
875 (gst_collect_pads_event), (gst_collect_pads_chain):
878 Catch and return errors from the collect function
879 Refuse data on eos pads.
881 2006-05-10 Edward Hervey <edward@fluendo.com>
883 * gst/gstinterface.h:
884 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
885 GInterface type checking.
886 They were previously using non-defined macros.
888 2006-05-09 Wim Taymans <wim@fluendo.com>
890 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
891 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
892 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
893 (gst_collect_pads_start), (gst_collect_pads_stop),
894 (gst_collect_pads_peek), (gst_collect_pads_pop),
895 (gst_collect_pads_available), (gst_collect_pads_read),
896 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
897 (gst_collect_pads_is_collected), (gst_collect_pads_event),
898 (gst_collect_pads_chain):
899 * libs/gst/base/gstcollectpads.h:
900 Clean up the mess that is collectpads, add comments and
902 Maintain a separate pad list so we can add pads while
903 collecting the other ones. For this we need a new separate
905 Fix memory leak in finalize.
906 Refactor some weird code to set/unset pad flushing flags, mark
908 Don't crash in _available, _read, _flush when we're EOS.
910 * tests/check/libs/.cvsignore:
911 Ignore adapter check binary.
913 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
915 * gst/gstindex.c: (gst_index_resolver_get_type):
916 * plugins/elements/gstfakesink.c:
917 (gst_fake_sink_state_error_get_type):
918 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
919 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
920 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
921 Const-ify GEnumValue arrays.
923 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
925 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
926 Add test case for flags + gst_buffer_make_metadata_writable().
928 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
930 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
931 gst_buffer_make_metadata_writable() should maintain the
932 buffer flags (those that make sense at least) (see #340859).
934 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
936 * tools/gst-inspect.c:
937 * tools/gst-launch.c:
938 * tools/gst-typefind.c:
939 * tools/gst-xmlinspect.c:
941 Fix up includes: need to include stdlib.h in tools.h for exit().
943 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
945 * gst/gsttaglist.c: (_gst_tag_initialize):
947 API: add GST_TAG_IMAGE tag (#340721).
949 2006-05-08 Wim Taymans <wim@fluendo.com>
952 Added some docs for the segment query.
954 2006-05-08 Wim Taymans <wim@fluendo.com>
956 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
957 (gst_base_src_loop), (gst_base_src_change_state):
958 Always push non-flushing serialized events in the streaming
961 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
963 * gst/gsterror.c: (_gst_stream_errors_init):
964 Add a missing error string.
966 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
968 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
969 Add applied_rate to the debug
971 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
972 Copy applied_rate into the outgoing NEWSEGMENT event
974 2006-05-08 Wim Taymans <wim@fluendo.com>
976 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
978 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
979 (gst_base_sink_change_state):
980 call ::unlock before taking the PREROLL_LOCK so we can safely
981 handle elements that lock in ::render.
984 2006-05-08 Edward Hervey <edward@fluendo.com>
986 * autogen.sh: (CONFIGURE_DEF_OPT):
987 Darwin's libtoolize is in fact called glibtoolize.
988 Adding glibtoolize to the list of accepted names for libtoolize.
990 2006-05-08 Wim Taymans <wim@fluendo.com>
992 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
993 Unify error handling, don't post an error message
994 when a push() returns EOS but perform our normal EOS
995 handling code. Fixes #340772.
997 2006-05-08 Wim Taymans <wim@fluendo.com>
999 * docs/design/part-overview.txt:
1000 Make upsteam/downstream concepts more clear.
1001 Give an example of serialized/non-serialized events.
1003 * docs/design/part-events.txt:
1004 * docs/design/part-streams.txt:
1005 Mention applied_rate.
1007 * docs/design/part-trickmodes.txt:
1008 Mention applied rate, flesh out some more use cases.
1010 * gst/gstevent.c: (gst_event_new_new_segment),
1011 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
1012 (gst_event_parse_new_segment_full), (gst_event_new_tag),
1013 (gst_event_parse_tag), (gst_event_new_buffer_size),
1014 (gst_event_parse_buffer_size), (gst_event_new_qos),
1015 (gst_event_parse_qos), (gst_event_parse_seek),
1016 (gst_event_new_navigation):
1018 Add applied_rate field to NEWSEGMENT event.
1019 API: gst_event_new_new_segment_full()
1020 API: gst_event_parse_new_segment_full()
1022 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
1023 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
1024 (gst_segment_to_stream_time), (gst_segment_to_running_time):
1026 Add applied_rate to GstSegment structure.
1027 Make calculation of stream_time and running_time more correct
1028 wrt rate/applied_rate.
1030 API: GstSegment::applied_rate field
1031 API: gst_segment_set_newsegment_full();
1033 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
1034 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
1035 * libs/gst/base/gstbasetransform.c:
1036 (gst_base_transform_sink_eventfunc),
1037 (gst_base_transform_handle_buffer):
1038 Parse and use applied_rate in the GstSegment field.
1040 * tests/check/gst/gstevent.c: (GST_START_TEST):
1041 Add check for applied_rate field.
1043 * tests/check/gst/gstsegment.c: (GST_START_TEST),
1044 (gstsegments_suite):
1045 Add more checks for various GstSegment operations.
1047 2006-05-08 Wim Taymans <wim@fluendo.com>
1049 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
1050 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
1051 (gst_base_sink_get_position), (gst_base_sink_change_state):
1052 Store the sync time of the buffer end position separatly in a
1053 new variable eos_rtime so we can properly sync the EOS event.
1055 Fix the docs for gst_base_sink_set_qos_enabled().
1056 Don't set segment start to invalid value when we receive a
1057 non TIME newsegment.
1058 get closer to handling position reporting for negative rates
1061 2006-05-07 Stefan Kost <ensonic@users.sf.net>
1064 Docs about how to print caps for debug purposes.
1066 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
1067 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
1069 2006-05-07 Stefan Kost <ensonic@users.sf.net>
1072 use full enum names and preprend a '%' in docs strings to make recent
1073 gtk-doc turn that into a link
1075 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
1077 * docs/manual/basics-bins.xml:
1078 * docs/manual/basics-bus.xml:
1079 * docs/manual/basics-pads.xml:
1080 Some typo fixes, some additions, some clarifications.
1082 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
1084 * tools/gst-inspect.c: (main):
1085 * tools/gst-launch.c: (main):
1086 * tools/gst-run.c: (main):
1087 * tools/gst-typefind.c: (main):
1088 * tools/gst-xmlinspect.c: (main):
1089 Use the string passed to g_option_context_new() for
1090 what it's intended for - the program name is already
1093 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
1095 * tools/Makefile.am:
1096 * tools/gst-inspect.c: (main):
1097 * tools/gst-launch.c: (main):
1098 * tools/gst-xmlinspect.c: (main):
1100 Add back --version command line option (#340460).
1102 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
1103 Add --version option and use GOption for argument parsing; refactor a
1104 bit; accept directories as arguments and recurse into them; lastly,
1105 print a decent error message when things go wrong.
1107 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
1109 * docs/manual/basics-bins.xml:
1110 Don't mention GstThread (#340611)
1111 * docs/manual/basics-elements.xml:
1112 Update link to GObject tutorial (#340607)
1114 2006-05-05 Wim Taymans <wim@fluendo.com>
1117 * gst/gstminiobject.c:
1118 Add note about refcounting and miniobject/buffer writeability
1119 to docs. Fixes #340604
1121 * gst/gstelementfactory.h:
1122 Added some explanation about @klass.
1124 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
1126 * docs/manual/intro-motivation.xml:
1127 * docs/manual/manual.xml:
1128 Avoid CORBA & Bonobo references (#340598)
1130 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
1132 * docs/manual/basics-bus.xml:
1133 * docs/manual/basics-pads.xml:
1134 Fix up some inaccuracies and omissions (#340609)
1136 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
1138 * gst/gstghostpad.c:
1139 Small typo in docs (#340625)
1141 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
1143 * gst/parse/Makefile.am:
1144 Make 'make -j' proof (see #340698).
1146 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
1149 Require GLib-2.8 here as well.
1151 2006-05-05 Wim Taymans <wim@fluendo.com>
1153 * gst/glib-compat.c:
1154 * gst/gst.c: (init_pre):
1155 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
1156 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
1157 (gst_object_dispatch_properties_changed):
1159 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
1160 * gst/gststructure.c: (gst_structure_set_valist):
1161 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
1162 Remove pre glib2.8 compatibility, fixes #340508
1164 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
1167 Mention type of tags in doc blurbs.
1169 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
1171 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
1172 (gst_pad_configure_src), (gst_pad_push):
1173 Restore acceptcaps checking behaviour now that good plugins have
1176 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
1178 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
1189 * gst/parse/Makefile.am:
1190 * libs/gst/base/gstadapter.c:
1191 * libs/gst/base/gstbasesrc.c:
1192 * libs/gst/base/gstpushsrc.c:
1193 * libs/gst/base/gsttypefindhelper.c:
1194 * plugins/elements/gstfakesrc.c:
1195 * plugins/elements/gstidentity.c:
1196 Make sure gstprivate.h and/or config.h are
1197 always included first, otherwise some of our
1198 defines (like _FILE_OFFSET_BITS) might be
1199 redefined in the system headers. Fixes build
1200 on opensolaris (#340016).
1202 2006-05-04 Wim Taymans <wim@fluendo.com>
1204 * docs/libs/gstreamer-libs-sections.txt:
1205 API: addition: gst_adapter_take_buffer()
1207 * libs/gst/base/gstadapter.c: (gst_adapter_push),
1208 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
1209 (gst_adapter_available_fast):
1210 * libs/gst/base/gstadapter.h:
1211 Prepare for optimizing the hell out of this hugely inefficient
1213 Added gst_adapter_take_buffer() so we can at least start thinking
1214 about subbuffering and merging.
1215 Added some comments.
1217 * tests/check/Makefile.am:
1218 * tests/check/libs/adapter.c: (GST_START_TEST),
1219 (gst_adapter_suite), (main):
1220 Added GstAdapter check.
1222 2006-05-04 Wim Taymans <wim@fluendo.com>
1224 * docs/design/part-overview.txt:
1225 Fix some typos, add blurb about buffer flags.
1227 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
1229 * docs/libs/gstreamer-libs-sections.txt:
1230 make sure GstBaseTransformClass shows up in the docs
1231 * libs/gst/base/gstbasetransform.c:
1232 * libs/gst/base/gstbasetransform.h:
1233 move docs so gtk-doc picks it up now
1235 2006-05-02 Stefan Kost <ensonic@users.sf.net>
1237 * docs/libs/gstreamer-libs-sections.txt:
1238 add missing symbols to docs
1240 2006-05-02 Stefan Kost <ensonic@users.sf.net>
1242 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
1243 back out the newsegment handling change, see #340060 for ongoing
1246 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
1248 * tools/gst-run.c: (get_candidates), (main):
1249 Fix wrong g_file_test() usage (see glib docs for why it doesn't
1250 work); fix typo in error message. Fixes #340079.
1252 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
1254 * common/Makefile.am:
1256 * docs/faq/Makefile.am:
1257 * docs/gst/Makefile.am:
1258 * docs/libs/Makefile.am:
1259 * docs/manual/Makefile.am:
1260 * docs/plugins/Makefile.am:
1261 * docs/pwg/Makefile.am:
1262 * docs/slides/Makefile.am:
1264 * common/upload.mak:
1265 move upload.mak to common
1267 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
1269 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1270 add more asserts on refcounts
1271 do more cleanup at end of tests
1272 fix test leaks showing in FC5
1274 2006-04-29 Stefan Kost <ensonic@users.sf.net>
1276 * plugins/elements/gsttypefindelement.c:
1277 (gst_type_find_element_handle_event):
1278 reverted wrong change and reflowed code to avoid others falling into
1281 2006-04-28 Stefan Kost <ensonic@users.sf.net>
1283 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
1284 fix changelog entry about last collectpads change,
1285 add notes about proper fix
1287 2006-04-28 Stefan Kost <ensonic@users.sf.net>
1290 * gst/gstregistry.c: (gst_registry_scan_path_level),
1291 (gst_registry_scan_path):
1292 * gst/gstregistry.h:
1293 only write out registry if it has changed, fixes #338339
1295 2006-04-28 Stefan Kost <ensonic@users.sf.net>
1298 * gst/gstpipeline.c:
1299 * plugins/elements/gstcapsfilter.c:
1300 * plugins/elements/gstfakesink.c:
1301 * plugins/elements/gstfakesrc.c:
1302 * plugins/elements/gstfdsink.c:
1303 * plugins/elements/gstfdsrc.c:
1304 * plugins/elements/gstfilesink.c:
1305 * plugins/elements/gstfilesrc.c:
1306 * plugins/elements/gstidentity.c:
1307 * plugins/elements/gstqueue.c:
1308 * plugins/elements/gsttee.c:
1309 * plugins/elements/gsttypefindelement.c:
1310 (gst_type_find_element_handle_event):
1311 make GstElementDetails const
1313 2006-04-28 Stefan Kost <ensonic@users.sf.net>
1315 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
1316 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
1317 (gst_collect_pads_is_collected), (gst_collect_pads_event):
1318 more detailed debug and formatting cleanup,
1319 forward newsegments to src-pad (so that e.g. adder not eats them)
1321 2006-04-28 Stefan Kost <ensonic@users.sf.net>
1323 * gst/gstutils.c: (gst_element_link_pads):
1326 2006-04-28 Stefan Kost <ensonic@users.sf.net>
1328 * libs/gst/controller/gstcontroller.c:
1329 (gst_controller_sync_values):
1331 * tests/check/libs/controller.c: (GST_START_TEST),
1332 (gst_controller_suite):
1333 a new test for live value handling
1335 2006-04-28 Wim Taymans <wim@fluendo.com>
1337 * gst/gstutils.c: (push_and_ref):
1338 Added some more docs.
1339 Fix refcount issue whith gst_element_found_tags() helper
1340 function. Fixes #338335
1342 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1343 Added testsuite for gst_element_found_tags().
1345 2006-04-28 Michael Smith <msmith@fluendo.com>
1347 * gst/gstvalue.c: (gst_value_serialize_flags):
1348 Avoid NULL dereference when trying to serialize flags containing
1351 2006-04-28 Michael Smith <msmith@fluendo.com>
1353 * plugins/elements/gsttypefindelement.c:
1354 (gst_type_find_element_handle_event):
1355 If we get EOS before any data is accumulated, don't use
1356 uninitialised local variables.
1358 2006-04-28 Michael Smith <msmith@fluendo.com>
1360 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
1361 (gst_dp_event_from_packet):
1362 Fixes in reading/writing events over GDP (not currently used?) -
1363 dereferencing NULL events for unknown/invalid event types, memory
1364 leak, and change g_warning to GST_WARNING.
1366 2006-04-28 Wim Taymans <wim@fluendo.com>
1368 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
1369 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
1370 (gst_base_sink_get_position), (gst_base_sink_change_state):
1371 When frame dropping is enabled, we should not ignore frames
1373 Update some documentation.
1375 2006-04-28 Wim Taymans <wim@fluendo.com>
1377 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
1378 (gst_base_src_send_event), (gst_base_src_change_state):
1379 Documentation updates.
1381 2006-04-28 Wim Taymans <wim@fluendo.com>
1383 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
1384 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
1385 handle EAGAIN, EINTR and short writes correctly. Also clean
1386 up some error cases, avoid a deadlock on bad file descriptors and
1387 use GST_DEBUG_OBJECT.
1390 2006-04-28 Wim Taymans <wim@fluendo.com>
1392 * gst/gstvalue.c: (gst_value_serialize_buffer),
1393 (gst_value_deserialize_buffer):
1394 Don't try to serialize a GValue with a NULL buffer.
1397 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1398 Added check for serialisation of NULL buffers.
1400 2006-04-28 Wim Taymans <wim@fluendo.com>
1402 * gst/gstminiobject.c: (gst_value_take_mini_object):
1403 Taking a NULL miniobject is valid, fix the case where
1404 we try to unref the NULL miniobject.
1406 2006-04-28 Wim Taymans <wim@fluendo.com>
1408 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
1410 * gst/gstbin.c: (gst_bin_handle_message_func):
1412 Don't leak bin refcount when a state recalc is
1413 in progress and we delay another one #339808.
1415 2006-04-28 Wim Taymans <wim@fluendo.com>
1417 * docs/design/part-TODO.txt:
1418 Mention QoS as an ongoing work item.
1420 * docs/design/part-buffering.txt:
1421 New doc about buffering that needs to be fleshed out
1424 * docs/design/part-qos.txt:
1425 More QoS policy for decoders/demuxers/transforms
1427 * docs/design/part-trickmodes.txt:
1430 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
1435 === release 0.10.5 ===
1437 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
1440 releasing 0.10.5, "Fogo"
1442 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
1444 patch by: Wim Taymans
1446 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
1447 (gst_pad_configure_src), (gst_pad_push):
1448 * gst/gstpipeline.c: (gst_pipeline_init):
1449 Fix internal data flow errors. Fixes #338711.
1451 2006-04-12 Wim Taymans <wim@fluendo.com>
1453 * tests/check/gst/gstelement.c: (GST_START_TEST):
1454 Don't leak the factory.
1456 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
1459 * win32/common/config.h:
1462 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
1464 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
1465 (gst_controller_unset_all):
1466 Free allocated GstTimedValues when freeing list nodes.
1467 Should fix leaks 'make check-valgrind' complains about.
1469 * win32/common/libgstcontroller.def:
1470 Add gst_controller_unset_all.
1472 2006-04-11 Stefan Kost <ensonic@users.sf.net>
1474 * docs/libs/gstreamer-libs-sections.txt:
1475 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
1476 (gst_controller_unset_all):
1477 * libs/gst/controller/gstcontroller.h:
1478 API: Added new method gst_controller_unset_all()
1479 fixed gst_controller_unset()
1480 * tests/check/libs/controller.c: (GST_START_TEST),
1481 (gst_controller_suite):
1482 Added two testcases for new and fixed method
1484 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
1486 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
1487 MSG_DONTWAIT is not defined on Cygwin, so work
1488 around that (fixes #317048).
1490 2006-04-11 Wim Taymans <wim@fluendo.com>
1492 * gst/gstelementfactory.c: (gst_element_register),
1493 (gst_element_factory_create), (gst_element_factory_make):
1496 Updated docs (Fixes #131079)
1498 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
1501 * tests/check/gst/gstelement.c: (GST_START_TEST),
1502 (gst_element_suite):
1503 Added testcase for elementfactory class field.
1505 2006-04-10 Wim Taymans <wim@fluendo.com>
1508 Added some more docs.
1510 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
1511 (gst_base_sink_reset_qos):
1512 Calculate more accurate rate values.
1514 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
1516 * gst/gst_private.h:
1517 add a new #ifdef to use __declspec(dllimport) only for
1518 other modules and not for gstreamer core
1519 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
1520 use gst_guint64_to_gdouble for conversion
1521 * win32/common/libgstreamer.def:
1522 add new exported functions
1523 * win32/vs6/gst_inspect.dsp:
1524 * win32/vs6/gst_launch.dsp:
1525 * win32/vs6/libgstbase.dsp:
1526 * win32/vs6/libgstcontroller.dsp:
1527 * win32/vs6/libgstcoreelements.dsp:
1528 * win32/vs6/libgstdataprotocol.dsp:
1529 * win32/vs6/libgstnet.dsp:
1530 update project files
1532 2006-04-08 Stefan Kost <ensonic@users.sf.net>
1534 * gst/gstbuffer.c: (gst_subbuffer_class_init):
1535 * gst/gstclock.c: (gst_clock_class_init):
1536 * gst/gstelement.c: (gst_element_class_init):
1537 * gst/gstindex.c: (gst_index_class_init):
1538 * gst/gstindexfactory.c: (gst_index_factory_class_init):
1539 * gst/gstobject.c: (gst_object_class_init),
1540 (gst_signal_object_class_init):
1541 * gst/gstpad.c: (gst_pad_class_init):
1542 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
1543 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
1544 * gst/gstregistry.c: (gst_registry_class_init):
1545 * gst/gstsystemclock.c: (gst_system_clock_class_init):
1546 * gst/gsttask.c: (gst_task_class_init):
1547 * gst/gstxml.c: (gst_xml_class_init):
1548 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
1549 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1550 (gst_base_src_loop):
1551 * libs/gst/controller/gstcontroller.c:/
1552 (_gst_controller_class_init):
1553 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
1554 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
1555 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
1556 * tests/old/examples/plugins/example.c: (gst_example_class_init):
1557 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
1558 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
1560 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
1562 * gst/gstpad.c: (gst_pad_link):
1563 Must set peer pads before calling the link function, otherwise
1564 a task started from a link function might get a flow-not-linked
1565 result when trying to push because the other thread where the
1566 linking happens hasn't had a chance to set the peers yet. This
1567 might happen for example when a queue gets linked to a downstream
1568 element, as queue starts a streaming task when its source pad
1569 gets linked. Happens in real life when playing back flac/musepack
1570 files in playbin (#332390).
1572 2006-04-08 Stefan Kost <ensonic@users.sf.net>
1576 * libs/gst/base/gstadapter.h:
1577 * libs/gst/base/gstbasesink.h:
1578 * libs/gst/base/gstbasesrc.h:
1579 * libs/gst/base/gstbasetransform.h:
1580 * libs/gst/base/gstcollectpads.h:
1581 * libs/gst/base/gstpushsrc.h:
1582 Fix broken GObject macros
1584 2006-04-07 Wim Taymans <wim@fluendo.com>
1586 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
1587 Initialize start and stop times, thanks valgrind.
1589 2006-04-07 Wim Taymans <wim@fluendo.com>
1591 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
1592 Be a bit nicer to badly behaving upstream elements that expect
1593 us to deal with non TIME segments and timestamps (such as fakesrc
1596 2006-04-07 Wim Taymans <wim@fluendo.com>
1599 Small documentation clarification about the signal watch.
1601 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
1602 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
1603 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
1604 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
1605 (gst_base_sink_get_position_last),
1606 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
1607 Convert and store timestamps in stream time and running time, the
1608 raw timestamps are not usefull, also document this better.
1609 Use different window sizes for good and bad QoS observations so
1610 we react to badness a little quicker.
1611 Keep track of the amount of rendered and dropped buffers.
1612 Send QoS timestamps in running time.
1614 * libs/gst/base/gstbasetransform.c:
1615 (gst_base_transform_sink_eventfunc),
1616 (gst_base_transform_handle_buffer):
1617 Compare QoS timestamps against running time.
1619 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
1624 2006-04-06 Michael Smith <msmith@fluendo.com>
1626 * gst/gstpad.c: (gst_pad_set_property):
1627 Use g_value_get_object() instead of g_value_dup_gst_object(),
1628 to avoid double-reffing the pad template (which we then sink,
1629 so this worked previously if (and only if) the pad template
1632 * gst/gstpadtemplate.c: (gst_pad_template_init),
1633 (gst_pad_template_pad_created):
1634 Never return floating references to pad templates, create
1635 them as initially-sunken.
1637 Document an extra function (and make this stop sinking our
1638 pad template, since that is now guaranteed to do nothing,
1639 since we created it sunken).
1641 * gst/gstghostpad.c:
1644 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
1646 * gst/gstinfo.c: (__gst_in_valgrind):
1649 * plugins/elements/gsttypefindelement.c:
1650 (gst_type_find_element_chain):
1651 Don't leak buffer caps.
1653 2006-04-06 Michael Smith <msmith@fluendo.com>
1655 * gst/parse/grammar.y:
1656 Fix a leak in parse-launch for any source-or-sink named element
1659 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
1660 Unref the pipeline if it exists after we've failed parsing.
1662 2006-04-05 Michael Smith <msmith@fluendo.com>
1664 * gst/gstpipeline.c: (gst_pipeline_init):
1665 When we create a pipeline bus, initially create it in flushing mode.
1666 Fixes leaks in at least one test, and makes a new pipeline work the
1667 same as one that has gone to READY and then back to NULL.
1672 2006-04-05 Michael Smith <msmith@fluendo.com>
1674 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1675 Unref a pad we reffed.
1676 * tests/check/gst/gstutils.c: (GST_START_TEST):
1679 2006-04-05 Michael Smith <msmith@fluendo.com>
1681 * gst/gstquery.c: (gst_query_set_formats),
1682 (gst_query_set_formatsv):
1683 Fix leaking GValues in queries, as shown by valgrind/testsuite.
1685 2006-04-05 Michael Smith <msmith@fluendo.com>
1687 * tests/check/generic/sinks.c: (GST_START_TEST):
1688 Fix a variety of memleaks in sinks check, which are only sometimes
1689 shown by running the tests under valgrind (weird?).
1691 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
1693 * docs/version.entities.in:
1694 Fix the substituted entity name after thomas' changes on the
1697 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
1699 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
1702 2006-04-05 Andy Wingo <wingo@pobox.com>
1704 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
1706 * libs/gst/base/gstbasetransform.c
1707 (gst_base_transform_sink_eventfunc): When resetting our segment on
1708 FLUSH_STOP, also update the flag saying we haven't seen a
1711 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
1713 Patch by: Paolo Borelli <pborelli at katamail dot com>
1715 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
1716 (gst_plugin_check_license):
1717 minor clean-ups: G_DEFINE_TYPE already takes care of the
1718 parent_class stuff, no need to do it twice. Mark array of
1719 license strings as constant. (#337103)
1721 2006-04-04 Michael Smith <msmith@fluendo.com>
1723 * tools/gst-inspect.c: (print_element_list):
1724 Free the right plugin list; fixes a memory leak.
1726 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
1728 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
1730 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
1731 Don't error out on empty buffers (#336945).
1733 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
1735 * docs/libs/gstreamer-libs-sections.txt:
1737 * libs/gst/base/gstbasesink.c:
1738 * libs/gst/base/gstbasesink.h:
1739 * libs/gst/base/gstbasesrc.c:
1740 * libs/gst/base/gstbasesrc.h:
1741 Documentation updates. Make BaseSink and BaseSrc docs contain the
1742 class structure so that people can actually see the prototypes for
1743 virtual functions they're supposed to be overriding.
1745 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
1747 * plugins/elements/gsttypefindelement.c:
1748 (gst_type_find_element_chain):
1749 More debug info; when skipping typefinding, send cached
1750 events in all cases.
1752 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
1755 use new AS_VERSION and AS_NANO macros
1756 * gst/gst-i18n-lib.h:
1759 * gst/gstversion.h.in:
1760 * win32/common/config.h:
1761 * win32/common/config.h.in:
1764 2006-03-31 Michael Smith <msmith@fluendo.com>
1766 * plugins/elements/gsttypefindelement.c:
1767 (gst_type_find_element_chain):
1768 Do not typefind content if the buffers already have caps.
1769 Neccesary for icydemux (#333657), and the right thing to do anyway.
1771 2006-03-30 Wim Taymans <wim@fluendo.com>
1773 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1774 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
1775 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
1776 (gst_base_sink_record_qos_observation),
1777 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
1778 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
1779 (gst_base_sink_change_state):
1780 More QoS measurements as described in the design doc.
1781 Get rid of ringbuffer with observations, running average is
1782 more simple and equally good.
1783 Calculates valid proportion now.
1784 Added beginning of flood measurement.
1786 2006-03-29 Wim Taymans <wim@fluendo.com>
1788 * docs/design/part-qos.txt:
1790 Small documentation updates and additions.
1792 2006-03-29 Wim Taymans <wim@fluendo.com>
1794 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
1795 (gst_base_src_send_event), (gst_base_src_loop),
1796 (gst_base_src_change_state):
1797 Perform the EOS logic when we reach the segment stop position.
1798 Fix compilation on gcc4.1
1800 2006-03-29 Wim Taymans <wim@fluendo.com>
1802 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
1804 * plugins/elements/gstqueue.c: (gst_queue_init),
1805 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
1806 (gst_queue_set_property):
1807 * plugins/elements/gstqueue.h:
1808 In queue, when EOS is received, if minimum threshold > max_size -
1809 current_level, there is chance that queue blocks forever in conditional
1810 item del wait. This is because the queue is not emptied completely due
1811 to minimum threshold. Here is another approach. Instead of setting
1812 cur_levels to max in EOS, just zero all minimum threshold levels. This
1813 should make sure that queue gives out all data. When going to READY
1814 (stop) state, just reset the original minimum threshold levels.
1817 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
1819 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
1820 (gst_type_find_element_handle_event),
1821 (gst_type_find_element_send_cached_events),
1822 (gst_type_find_element_change_state):
1823 * plugins/elements/gsttypefindelement.h:
1824 When typefinding is done in push mode, we should cache
1825 events we receive during typefinding instead of just
1826 dropping them (e.g. newsegment, custom events from
1827 dvdreadsrc etc.) and then send them out once we've
1828 determined the type of the stream (and decodebin
1829 has had a chance to plug in a decoder/demuxer).
1831 2006-03-27 Wim Taymans <wim@fluendo.com>
1833 * docs/design/part-qos.txt:
1836 2006-03-27 Wim Taymans <wim@fluendo.com>
1838 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
1840 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
1841 (gst_base_src_send_event), (gst_base_src_change_state):
1842 Handle element seek correctly when we are streaming.
1845 2006-03-24 Michael Smith <msmith@fluendo.com>
1847 * docs/faq/gst-uninstalled:
1848 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
1849 allow you to correctly run intalled applications built against old
1850 core, using plugins that require updated core (e.g. running
1851 installed totem against a full uninstalled gstreamer stack)
1853 2006-03-24 Stefan Kost <ensonic@users.sf.net>
1855 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
1858 2006-03-24 Wim Taymans <wim@fluendo.com>
1860 * docs/gst/gstreamer-sections.txt:
1861 Rearrange the order of the methods so that related methods
1862 are grouped together in sections.
1864 2006-03-24 Stefan Kost <ensonic@users.sf.net>
1867 Little clarification in the docs
1869 2006-03-24 Stefan Kost <ensonic@users.sf.net>
1873 * plugins/elements/gstidentity.c:
1874 * plugins/elements/gstqueue.c:
1875 * plugins/elements/gsttee.c:
1876 * plugins/elements/gsttypefindelement.c:
1877 GST_ELEMENT_DETAILS formatting
1879 2006-03-24 Wim Taymans <wim@fluendo.com>
1881 * libs/gst/base/gstbasesink.h:
1882 Only add fields, not insert or we break ABI.
1884 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
1886 * win32/common/libgstbase.def:
1887 * win32/common/libgstreamer.def:
1888 Update, add recently added functions.
1890 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
1892 * docs/gst/gstreamer-sections.txt:
1893 * gst/gstutils.c: (gst_pad_query_peer_position),
1894 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
1896 API: add some new utility functions:
1897 - gst_pad_query_peer_position()
1898 - gst_pad_query_peer_duration()
1899 - gst_pad_query_peer_convert()
1901 2006-03-23 Wim Taymans <wim@fluendo.com>
1903 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1904 (gst_base_sink_init), (gst_base_sink_finalize),
1905 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
1906 (gst_base_sink_set_property), (gst_base_sink_get_property),
1907 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
1908 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
1909 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
1910 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
1911 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
1912 (gst_base_sink_preroll_object), (gst_base_sink_event),
1913 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
1914 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
1915 (gst_base_sink_query), (gst_base_sink_change_state):
1916 Decouple max-lateness and the fact that QoS messages are generated
1917 with a new property (qos).
1918 added API: GstBaseSink::async_play()
1919 Add vmethod so subclasses can be notified of ASYNC playing
1921 Collect timestamp start and stop to report better current
1922 position in EOS/PLAYING/PAUSED/READY/NULL.
1923 Refactor QoS/frame dropping and other measurements.
1924 API: GstBaseSrc::qos
1927 * libs/gst/base/gstbasesink.h:
1928 Added Private struct.
1929 API: gst_base_sink_set_qos_enabled()
1930 API: gst_base_sink_is_qos_enabled()
1932 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
1934 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
1935 If compiling against GLib-2.8 or newer, try to read the
1936 registry file using GMappedFile first before falling back
1937 to fopen() + fread() (#332151).
1939 2006-03-22 Wim Taymans <wim@fluendo.com>
1941 * gst/gstinfo.c: (gst_debug_set_active),
1942 (gst_debug_category_set_threshold):
1943 Disable debugging unless explicitly activated.
1946 2006-03-22 Wim Taymans <wim@fluendo.com>
1948 * gst/gstelement.c: (gst_element_set_locked_state),
1949 (gst_element_dispose):
1950 Cleanup the error case.
1952 * gst/gstobject.c: (gst_object_dispose):
1953 print a critical when some object was disposed with
1954 a parent, also revive the object since it might
1957 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
1959 * tools/gst-launch.1.in:
1962 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
1965 * tests/check/Makefile.am:
1966 disable some tests when we don't have a registry
1967 * tests/check/gst/gstutils.c: (gst_utils_suite):
1968 don't build the part that needs parsing
1970 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
1973 * tests/examples/Makefile.am:
1974 fix --disable-parse build
1976 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
1978 * tools/gst-feedback.1.in:
1979 Fix typo: s/feeback/feedback/ (#133494).
1981 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
1983 * tools/Makefile.am:
1984 * tools/gst-launch.1.in:
1985 Add FILES section and correct entry about GST_REGISTRY_PATH
1986 environment variable (#133495; #133494).
1988 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
1990 * tools/Makefile.am:
1991 * tools/gst-md5sum.1.in:
1992 * tools/gst-md5sum.c:
1993 Remove gst-md5sum and man page (the md5sink element
1994 required was removed ages ago)
1996 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
1998 * gst/gststructure.c: (gst_structure_id_set_value):
1999 Make sure that string fields in structures/taglists
2000 contain valid UTF-8 - we don't want to pass rubbish to
2001 applications because of a buggy plugin (cp. #334167).
2003 2006-03-21 Edward Hervey <edward@fluendo.com>
2005 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
2006 (gst_bin_handle_message_func):
2007 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
2008 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
2009 (gst_element_set_bus_func):
2010 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
2011 * gst/gstminiobject.c: (gst_value_set_mini_object),
2012 (gst_value_take_mini_object):
2013 * gst/gstpad.c: (gst_pad_set_pad_template):
2014 * gst/gstpipeline.c: (gst_pipeline_dispose),
2015 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
2016 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
2017 (gst_collect_pads_chain):
2018 * libs/gst/net/gstnettimeprovider.c:
2019 (gst_net_time_provider_set_property):
2020 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
2021 It's in fact all issues with gst_*object_replace().
2023 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
2025 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
2027 * pkgconfig/gstreamer-check-uninstalled.pc.in:
2028 * pkgconfig/gstreamer-check.pc.in:
2029 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
2031 2006-03-21 Edward Hervey <edward@fluendo.com>
2036 gst_[buffer|event|message]_ref() macros are replaced by a static
2037 inline functions because gcc-4.1 will about if the return value
2039 * tests/check/gst/gstevent.c: (event_probe):
2040 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
2042 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
2045 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
2046 the type' case. (Closes: #335195 for now). In the future, when we
2047 depend on GLib 2.10, we could also intern the type name using
2048 g_intern_static_string()
2050 2006-03-20 Wim Taymans <wim@fluendo.com>
2052 * gst/gstbin.c: (gst_bin_handle_message_func),
2053 (bin_query_max_init), (bin_query_position_fold),
2054 (bin_query_position_done), (gst_bin_query):
2055 Position query should also take max of all streams.
2057 2006-03-20 Wim Taymans <wim@fluendo.com>
2059 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
2060 (gst_fake_src_finalize):
2061 Fix leaks in fakesrc.
2063 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
2064 Fix leaks in the testcase.
2066 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
2068 * gst/gst_private.h:
2069 add win32 specific import decoration(__declspec(dllimport))
2070 for all extern GstDebugCategory * variables
2071 * win32/common/libgstbase.def:
2072 * win32/common/libgstcontroller.def:
2073 * win32/common/libgstreamer.def:
2074 Add some exports, remove empty lines
2075 * win32/common/libgstdataprotocol.def:
2076 * win32/common/libgstdataprotocol.dsp:
2077 * win32/common/libgstnet.def:
2078 * win32/common/libgstnet.dsp:
2079 new project files and exportation files added
2081 2006-03-19 Wim Taymans <wim@fluendo.com>
2083 * tests/check/libs/basesrc.c: (eos_event_counter):
2084 Use proper return value for probe.
2086 2006-03-17 Wim Taymans <wim@fluendo.com>
2088 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
2090 Don't leak buffers, caps and pads on negotiation errors.
2092 2006-03-16 Stefan Kost <ensonic@users.sf.net>
2095 * docs/faq/dependencies.xml:
2096 * docs/faq/developing.xml:
2098 * docs/faq/general.xml:
2099 * docs/faq/getting.xml:
2100 * docs/faq/legal.xml:
2101 * docs/faq/troubleshooting.xml:
2102 * docs/faq/using.xml:
2103 Faq review and update.
2105 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
2107 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
2109 Don't pound the cpu to pieces by checking get_caps when accept_caps
2110 is called with the same caps as the pad already has.
2111 Use GST_DEBUG_OBJECT when outputting caps change information.
2113 2006-03-15 Wim Taymans <wim@fluendo.com>
2115 * gst/gstclock.c: (gst_clock_class_init):
2118 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
2123 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
2124 (gst_pad_accept_caps), (gst_pad_configure_sink),
2125 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
2126 Make the default acceptcaps behaviour be to check the requested
2127 caps against the gst_pad_get_caps output.
2129 Ensure that gst_pad_accept_caps is used to check caps when a pad
2130 doesn't have a setcaps function, so that pads automatically refuse
2131 caps that they don't allow in their pad template. (Fixes #332986)
2133 When a buffer with attached caps is pushed, ensure that the source
2134 pad receives those caps even if the element didn't call
2135 gst_pad_set_caps first.
2137 2006-03-15 Wim Taymans <wim@fluendo.com>
2139 * libs/gst/base/gstadapter.c:
2142 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
2144 * win32/common/libgstbase.def:
2145 * win32/common/libgstcontroller.def:
2146 * win32/common/libgstreamer.def:
2147 Add a whole bunch of missing functions (#334434).
2149 2006-03-14 Wim Taymans <wim@fluendo.com>
2151 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
2152 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
2153 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
2154 Better debug info when we receive a segment event.
2155 Reorganize a bit so we can pass the get_times() results around.
2156 Use the segment format when calculating the running time.
2157 Don't do QoS is sync is disabled or we have no clock or the
2158 element does not want us to sync to the clock.
2159 Don't drop buffers if QoS is disabled for now.
2161 2006-03-14 Wim Taymans <wim@fluendo.com>
2163 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
2164 Marked the stats property as unimplemented so people don't get
2166 Add debug message when regression goes wrong.
2167 Added some more docs.
2169 2006-03-14 Wim Taymans <wim@fluendo.com>
2171 * gst/gstsegment.c: (gst_segment_to_stream_time):
2172 Return correct return type in case of errors.
2174 2006-03-14 Wim Taymans <wim@fluendo.com>
2176 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
2177 Don't segfault on invalid formats.
2179 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
2181 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2182 Can't use gst_segment_to_running_time() when the segment
2183 is not in GST_TIME_FORMAT (like with filesink, for example).
2184 Stops flac encoding pipelines from spewing critical warnings
2187 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
2189 * gst/gstpipeline.c: (gst_pipeline_class_init):
2190 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
2192 * plugins/elements/gsttypefindelement.c:
2193 (gst_type_find_element_handle_event):
2194 Don't try to typefind empty streams.
2196 2006-03-14 Wim Taymans <wim@fluendo.com>
2198 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
2199 (gst_base_sink_do_qos):
2200 Separate QoS calculation.
2201 Only drop buffers when lateness is bigger than the
2202 duration of the buffer.
2204 2006-03-13 Wim Taymans <wim@fluendo.com>
2206 * gst/gstpipeline.c: (gst_pipeline_set_property),
2207 (gst_pipeline_get_property), (do_pipeline_seek),
2208 (gst_pipeline_change_state), (gst_pipeline_set_delay),
2209 (gst_pipeline_get_delay):
2210 Don't deadlock when reading properties.
2212 2006-03-13 Wim Taymans <wim@fluendo.com>
2214 * libs/gst/base/gstbasetransform.c:
2215 (gst_base_transform_class_init), (gst_base_transform_init),
2216 (gst_base_transform_sink_event),
2217 (gst_base_transform_sink_eventfunc),
2218 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
2219 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
2220 (gst_base_transform_set_property),
2221 (gst_base_transform_get_property),
2222 (gst_base_transform_change_state), (gst_base_transform_update_qos),
2223 (gst_base_transform_set_qos_enabled),
2224 (gst_base_transform_is_qos_enabled):
2225 * libs/gst/base/gstbasetransform.h:
2226 Make basetransform virtual method for src events too.
2227 Handle QOS in basetransform.
2228 API: gst_base_transform_update_qos()
2229 API: gst_base_transform_set_qos_enabled()
2230 API: gst_base_transform_is_qos_enabled()
2232 2006-03-13 Wim Taymans <wim@fluendo.com>
2234 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2235 (gst_base_sink_do_sync):
2237 Use QOS debug category.
2239 2006-03-13 Wim Taymans <wim@fluendo.com>
2241 * plugins/elements/gstqueue.c:
2242 Very small doc update.
2244 2006-03-13 Wim Taymans <wim@fluendo.com>
2246 * gst/gst_private.h:
2247 * gst/gstinfo.c: (_gst_debug_init):
2248 Added QOS debug category
2250 2006-03-13 Wim Taymans <wim@fluendo.com>
2252 * docs/gst/gstreamer-sections.txt:
2253 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
2255 * gst/gstbus.c: (gst_bus_class_init):
2258 * gst/gstelement.c: (gst_element_set_locked_state):
2260 Documentation updates.
2262 * gst/gstpipeline.c: (gst_pipeline_get_type),
2263 (gst_pipeline_class_init), (gst_pipeline_init),
2264 (gst_pipeline_dispose), (gst_pipeline_set_property),
2265 (gst_pipeline_get_property), (do_pipeline_seek),
2266 (gst_pipeline_send_event), (gst_pipeline_change_state),
2267 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
2268 (gst_pipeline_get_delay):
2269 * gst/gstpipeline.h:
2270 Added methods for setting the delay.
2271 API: gst_pipeline_set_delay()
2272 API: gst_pipeline_get_delay()
2273 Add pipeline debug category
2276 Don't reset stream time when seek failed.
2278 2006-03-13 Wim Taymans <wim@fluendo.com>
2280 * docs/design/draft-klass.txt:
2281 * docs/design/part-clocks.txt:
2282 * docs/design/part-events.txt:
2283 * docs/design/part-gstbin.txt:
2284 * docs/design/part-gstpipeline.txt:
2285 * docs/design/part-messages.txt:
2286 * docs/design/part-negotiation.txt:
2287 * docs/design/part-overview.txt:
2288 * docs/design/part-preroll.txt:
2289 * docs/design/part-seeking.txt:
2290 * docs/design/part-states.txt:
2291 * docs/design/part-streams.txt:
2292 Documentation updates.
2294 2006-03-12 Julien MOUTTE <julien@moutte.net>
2296 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
2297 us to leak strings...
2299 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
2301 * libs/gst/net/gstnettimeprovider.c:
2303 * win32/common/config.h:
2306 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
2308 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
2311 Don't check for libgnomeui (leftover from old examples
2312 that aren't built or disted any longer) (#334303).
2314 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
2316 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
2317 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
2318 Emit RESOURCE_NO_SPACE_LEFT error here as well when
2319 there's no space left on the device.
2321 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
2324 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
2325 to cast the input to GstClockTime before comparing with
2326 another GstClockTime value.
2328 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
2333 === release 0.10.4 ===
2335 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
2338 releasing 0.10.4, "Light"
2340 2006-03-10 Michael Smith <msmith@fluendo.com>
2342 * libs/gst/dataprotocol/dataprotocol.c:
2343 Fix docs for dataprocotol to not get the return types completely
2344 wrong for a few functions.
2346 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
2348 * docs/gst/gstreamer-sections.txt:
2349 * gst/gstpipeline.c: (gst_pipeline_class_init),
2350 (gst_pipeline_init), (gst_pipeline_set_property),
2351 (gst_pipeline_get_property), (gst_pipeline_change_state),
2352 (gst_pipeline_set_auto_flush_bus),
2353 (gst_pipeline_get_auto_flush_bus):
2354 * gst/gstpipeline.h:
2355 Add new API: gst_pipeline_set_auto_flush_bus() and
2356 gst_pipeline_get_auto_flush_bus() to disable automatic
2357 flushing of the pipeline's GstBus when going from READY
2358 to NULL state (#332045).
2360 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
2362 * docs/gst/gstreamer-sections.txt:
2363 * gst/gsturi.c: (gst_uri_has_protocol):
2365 Add new API: gst_uri_has_protocol() (#333779).
2367 2006-03-09 Wim Taymans <wim@fluendo.com>
2369 * gst/gstclock.c: (gst_clock_entry_new),
2370 (gst_clock_id_compare_func), (gst_clock_id_wait),
2371 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
2372 (gst_clock_init), (gst_clock_get_internal_time),
2373 (gst_clock_set_master), (do_linear_regression),
2374 (gst_clock_add_observation), (gst_clock_set_property):
2378 Fix a possible segfault when the window-size is made smaller.
2379 Calculate jitter before performing the clock wait. Ideally
2380 the clock implementation should calculate jitter but we need
2381 API breakage for that.
2383 * gst/gstsystemclock.c: (gst_system_clock_init):
2386 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2387 Remove leftover else
2389 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
2390 (gst_systemclock_suite):
2391 Added check to test GST_CLOCK_DIFF.
2393 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
2395 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
2396 (gst_type_find_helper_get_range):
2397 If we are provided with the size, we should implement
2398 GstTypeFind::get_length, so that typefind functions who
2399 want to can actually peek at the middle of a file.
2401 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
2403 * docs/manual/advanced-dataaccess.xml:
2404 Add some very very basic error checking.
2406 * docs/pwg/appendix-checklist.xml:
2407 Some updates to the list of things to check when writing an element.
2409 2006-03-08 Wim Taymans <wim@fluendo.com>
2411 * docs/design/part-element-transform.txt:
2412 Added some docs about the design of tranform elements.
2414 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
2415 (gst_base_src_loop), (gst_base_src_change_state):
2416 Mark buffers with the DISCONT flag.
2418 2006-03-08 Michael Smith <msmith@fluendo.com>
2420 * gst/gstregistry.h:
2421 * gst/gstregistryxml.c: (gst_registry_save),
2422 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
2423 (gst_registry_xml_save_pad_template),
2424 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
2425 (gst_registry_xml_write_cache):
2426 Rewrite registry-saving to avoid race conditions and check for
2429 2006-03-08 Wim Taymans <wim@fluendo.com>
2431 * libs/gst/base/gstbasetransform.c:
2432 (gst_base_transform_transform_caps),
2433 (gst_base_transform_transform_size),
2434 (gst_base_transform_prepare_output_buffer),
2435 (gst_base_transform_get_unit_size),
2436 (gst_base_transform_buffer_alloc),
2437 (gst_base_transform_handle_buffer),
2438 (gst_base_transform_change_state):
2439 Cleanups, separate normal flow from errors, add sensible
2441 Don't try to renegotiate when allocating an output buffer.
2442 Also copy DISCONT buffer flag when copying a buffer.
2443 Reset the transform after we finish streaming, not during.
2445 2006-03-08 Wim Taymans <wim@fluendo.com>
2447 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2448 Use last buffer timestamp in qos message.
2450 2006-03-07 Wim Taymans <wim@fluendo.com>
2452 Patch by: Christophe Fergeau
2454 * docs/pwg/advanced-tagging.xml:
2455 * docs/pwg/building-pads.xml:
2458 2006-03-07 Wim Taymans <wim@fluendo.com>
2460 * docs/libs/gstreamer-libs-sections.txt:
2461 Added basesink new methods.
2465 Docs updates. Flesh out the QoS docs.
2467 * libs/gst/base/gstadapter.c:
2468 Small doc clarification about ownership and flushing.
2470 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
2471 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
2472 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
2473 (gst_base_sink_get_property), (gst_base_sink_do_sync):
2474 * libs/gst/base/gstbasesink.h:
2476 Added new methods to allow subclass to control max-lateness
2478 Generate very basic QoS events based on last sync observation.
2479 Updated docs, fix typo, added some QoS blurb.
2481 * libs/gst/base/gstbasesrc.c:
2482 Remove obsolete _get_state() calls from docs.
2484 2006-03-07 Wim Taymans <wim@fluendo.com>
2486 * docs/libs/gstreamer-libs-sections.txt:
2487 * libs/gst/base/gstbasetransform.h:
2488 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
2489 Fix docs for GstBaseSrc.
2491 2006-03-07 Wim Taymans <wim@fluendo.com>
2493 * docs/gst/gstreamer-sections.txt:
2496 * libs/gst/base/gstbasetransform.h:
2497 Small documentation fixes.
2499 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
2502 Document thread-unsafety of gst_value_register_foo_func()
2503 when used at the same time as gst_value_foo() (#322628).
2505 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
2507 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
2508 (gst_push_src_check_get_range):
2509 Push sources don't support pull mode by default.
2511 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
2513 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2514 (gst_base_src_init), (gst_base_src_pad_check_get_range),
2515 (gst_base_src_default_check_get_range):
2516 * libs/gst/base/gstbasesrc.h:
2517 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
2518 provide default implementation, and rename
2519 gst_base_src_check_get_range() to
2520 gst_base_src_pad_check_get_range() for clarity.
2522 2006-03-06 Wim Taymans <wim@fluendo.com>
2524 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2525 Make property overridable.
2527 2006-03-06 Wim Taymans <wim@fluendo.com>
2529 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
2530 (gst_base_sink_init), (gst_base_sink_set_property),
2531 (gst_base_sink_get_property), (gst_base_sink_do_sync):
2532 * libs/gst/base/gstbasesink.h:
2533 API addition: Make max-lateness a property.
2535 2006-03-06 Wim Taymans <wim@fluendo.com>
2537 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
2538 (gst_base_sink_do_sync), (gst_base_sink_render_object):
2539 Don't ever draw a frame that is >10ms late.
2541 2006-03-06 Michael Smith <msmith@fluendo.com>
2543 * gst/gstmessage.c: (_gst_message_copy):
2544 When copying a message, set the parent_refcount of the enclosed
2545 structure to point at the copy, not the original message.
2547 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
2549 Patch by: Christophe Fergeau
2552 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
2553 usable in c++ code (#333417)
2555 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
2558 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
2560 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
2562 * libs/gst/base/gstbasetransform.c:
2563 (gst_base_transform_transform_caps):
2564 Make sure caps are writable before passing them to
2567 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
2570 Fix some minor docs errors.
2572 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
2574 Patch by: Ross Burton <ross at burtonini dot com>
2576 * gst/gsterror.c: (_gst_resource_errors_init):
2578 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
2580 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
2583 Add a check and output a g_warning when GStreamer is built
2584 against GLib 2.6 but running against 2.8 or higher, and vice
2585 versa. (Closes: #323542)
2587 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
2589 * gst/parse/parse.l:
2590 Commit patch for parse_launch syntax from #331255. Removes
2591 support for quoted strings and mimetypes when writing filtered
2592 caps. See the bug report for more details - I'm pretty sure this
2593 obscure feature is not in use by _anyone_ anywhere.
2595 With this simple change, the size of the gstreamer.so here
2596 drops from 2193KB to 1565KB.
2598 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
2600 * plugins/elements/gsttypefindelement.h:
2601 * plugins/elements/gsttypefindelement.c:
2602 (gst_type_find_element_src_event), (start_typefinding),
2603 (stop_typefinding), (gst_type_find_element_handle_event),
2604 (gst_type_find_element_chain),
2605 (gst_type_find_element_chain_do_typefinding):
2606 Use gst_type_find_helper_for_buffer() for chain-based
2609 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
2611 * plugins/elements/gsttypefindelement.c:
2612 (gst_type_find_element_class_init),
2613 (gst_type_find_element_set_property),
2614 (gst_type_find_element_get_property):
2615 Deprecate "maximum" property (not only was it only taken into
2616 account for typefinding in push-mode anyway, it also was never
2617 actually possible to set it in the first place because the
2618 property was registered with the numeric property ID for the
2619 "minimum" property). Register "maximum" property correctly,
2620 for the sake of future copy'n'pasters. Remove some cruft
2621 from property get/set functions.
2623 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
2625 * plugins/elements/gsttypefindelement.c:
2626 (gst_type_find_element_activate):
2627 Use gst_type_find_helper_get_range() here, so we
2628 can honour the "minimum" property and also emit
2629 the signal with the correct probability of the found caps.
2631 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
2633 * docs/libs/gstreamer-libs-sections.txt:
2634 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
2635 (helper_find_suggest), (gst_type_find_helper_get_range),
2636 (gst_type_find_helper):
2637 * libs/gst/base/gsttypefindhelper.h:
2638 New API: gst_type_find_helper_get_range() (#333042).
2640 2006-03-02 Michael Smith <msmith@fluendo.com>
2642 * gst/gstregistryxml.c: (load_feature):
2643 Asserting on a failure to read part of the registry is Not Cool.
2644 Just log a warning and return NULL (which is already handled)
2646 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
2648 * win32/common/libgstbase.def:
2649 added export of gst_type_find_helper_for_buffer
2650 * win32/common/libgstbase.def:
2651 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
2652 gst_ghost_pad_get_target
2654 2006-02-28 Wim Taymans <wim@fluendo.com>
2656 * docs/design/draft-klass.txt:
2658 Added Connector to mark elements that are only used to
2659 allow pipeline connections.
2660 Moved Debug to extra feature since most of them are
2661 functionally something else.
2663 2006-02-28 Wim Taymans <wim@fluendo.com>
2665 * docs/design/draft-klass.txt:
2666 Some updates and clarifications.
2668 2006-02-28 Wim Taymans <wim@fluendo.com>
2670 * docs/design/draft-klass.txt:
2671 Proposal for klass field values.
2673 * docs/design/part-streams.txt:
2674 Start of a doc describing stream anatomy.
2676 2006-02-28 Wim Taymans <wim@fluendo.com>
2678 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
2679 Help the compiler a bit with type registration.
2680 Use existing forward cod path instead of duplicating it when
2683 * gst/gstbus.c: (gst_bus_get_type):
2684 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
2685 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
2686 * gst/gstclock.c: (gst_clock_get_type):
2687 * gst/gstelement.c: (gst_element_get_type),
2688 * gst/gstelementfactory.c: (gst_element_factory_get_type):
2689 * gst/gstindexfactory.c: (gst_index_factory_get_type):
2690 * gst/gstminiobject.c: (gst_mini_object_get_type):
2691 * gst/gstpad.c: (gst_pad_get_type):
2692 * gst/gstsegment.c: (gst_segment_get_type):
2693 * gst/gststructure.c: (gst_structure_get_type):
2694 * gst/gstsystemclock.c: (gst_system_clock_get_type):
2695 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
2697 Help compiler with type registration.
2699 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
2702 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
2704 * plugins/elements/gsttypefindelement.c:
2705 (gst_type_find_element_handle_event):
2706 When we get an EOS event and have not found a type yet
2707 (most likely because we had not yet accumulated
2708 TYPE_FIND_MIN_SIZE of data yet), try to determine the
2709 type given the data we have so far. Fixes typefinding
2710 for very short streams again, most notably quicktime
2711 redirections as used on Apple's trailer site (#331701).
2713 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
2715 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
2716 (gst_type_find_helper):
2717 Try typefinding factories with the highest rank first.
2719 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
2721 * docs/libs/gstreamer-libs-docs.sgml:
2722 * docs/libs/gstreamer-libs-sections.txt:
2723 * libs/gst/base/gsttypefindhelper.c:
2724 Add section for typefind helper and add documentation
2725 for the old and the new function.
2727 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
2729 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
2730 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
2731 (gst_type_find_helper_for_buffer):
2732 * libs/gst/base/gsttypefindhelper.h:
2733 New API: gst_type_find_helper_for_buffer() (#332723).
2735 2006-02-27 Michael Smith <msmith@fluendo.com>
2737 Patch by: Loïc Minier
2741 * docs/slides/Makefile.am:
2742 prevent CVS directories getting disted.
2744 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
2746 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
2747 Use the REFCOUNTING category for caps refcounting.
2749 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
2751 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
2752 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
2754 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
2756 * plugins/elements/gsttypefindelement.c:
2757 (gst_type_find_element_activate):
2758 Use gst_pad_check_pull_range() before _activate_pull()
2759 to avoid unnecessary open/close (see #331690).
2761 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
2764 Docs enhancement: make it crystal clear what the
2765 gst_pad_add_*_probe() callbacks should look like.
2767 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
2769 * libs/gst/base/gstbasesrc.c:
2770 Document how applications can stop recording from
2771 live sources (see #330996).
2773 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
2775 * tests/check/Makefile.am:
2776 * tests/check/libs/basesrc.c: (eos_event_counter),
2777 (basesrc_eos_events_pull), (basesrc_eos_events_push),
2778 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
2779 (gst_basesrc_suite), (main):
2780 ... and add some tests for the base source EOS stuff.
2782 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
2784 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
2785 Test case originally showed the problem fixed below,
2786 but was then amended. Add checks back at the place
2787 where they used to be.
2789 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
2791 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2792 (gst_base_src_init), (gst_base_src_loop),
2793 (gst_base_src_activate_push), (gst_base_src_activate_pull),
2794 (gst_base_src_change_state):
2795 * libs/gst/base/gstbasesrc.h:
2796 Don't unconditionally send EOS when going from PAUSED to
2797 READY state, esp. make sure we don't send two EOS events
2798 in some cases (e.g. one when reaching EOS and one when
2799 going from PAUSED to READY). Also, we don't want to send
2800 EOS events when operating in pull mode. However, we do
2801 want to send an EOS event when shutting down a live
2802 source explicitly, for example (fixes #330996).
2804 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
2806 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
2807 Update src->read_position after a seek when not using mmap.
2808 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
2810 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
2816 Make things work with --disable-parse as they do with
2817 --disable-load-save - the symbols involved disappear, but the
2818 header is still installed and GST_DISABLE_PARSE is included via
2821 2006-02-20 Julien MOUTTE <julien@moutte.net>
2823 * libs/gst/base/gstbasetransform.c:
2824 (gst_base_transform_change_state): Fix a stupid bug. I was
2825 sure I compiled that.
2827 2006-02-20 Julien MOUTTE <julien@moutte.net>
2829 * gst/gstpad.c: (gst_pad_set_blocked_async):
2830 * gst/gstutils.c: (gst_pad_add_data_probe),
2831 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
2832 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
2833 (gst_pad_remove_buffer_probe): Make those function act on the
2834 ghostpad target when it's a ghostpad. (Closes #331727)
2836 2006-02-20 Julien MOUTTE <julien@moutte.net>
2838 * libs/gst/base/gstbasetransform.c:
2839 (gst_base_transform_change_state): Make basetransform reusable.
2842 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
2844 * docs/random/release:
2845 Move the current documentation of how to do a release to the top
2848 * gst/gstbin.c: (gst_bin_class_init),
2849 (gst_bin_handle_message_func):
2850 Allow multiple state-recalculation threads. (Closes #328873)
2852 2006-02-19 Julien MOUTTE <julien@moutte.net>
2854 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
2855 * gst/gstpad.c: (gst_pad_set_event_function),
2856 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
2857 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
2858 2 strings. You can't use the STR_NULL macro on that.
2860 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
2862 * gst/gstpad.c: (gst_pad_set_event_function),
2863 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
2864 (gst_pad_set_getcaps_function)
2865 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
2866 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
2867 So now, we can use --gst-debug-level=5 on Windows
2868 * win32/common/libgstcontroller.def:
2869 Added export of gst_controller_init
2870 * win32/vs6/libgstcontroller.dsp:
2871 Fixed Release post build configuration
2873 2006-02-17 Wim Taymans <wim@fluendo.com>
2875 * tests/check/gst/gstquery.c: (GST_START_TEST):
2876 Added another check.
2878 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
2880 * plugins/elements/gsttypefindelement.c: (find_peek):
2881 We can do peeks at non-zero offsets, as long as they
2882 fall within the buffer we have.
2884 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
2886 * tests/check/Makefile.am:
2887 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
2888 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
2889 (parse_suite), (main):
2890 Add testsuite for parse launch syntax
2892 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
2894 * plugins/elements/gsttypefindelement.c:
2895 (gst_type_find_element_chain):
2896 When typefinding is unsuccessful in the chain function, don't
2897 error out immediately. Only error out with NO_CAPS_FOUND if
2898 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
2899 otherwise simply wait for more data so we can try typefinding
2900 again with more data later. Also, don't attempt to typefind
2901 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
2902 this should improve typefinding from network sources where the
2903 size of the first buffer can be somewhat random.
2905 2006-02-14 Wim Taymans <wim@fluendo.com>
2907 * docs/gst/gstreamer-sections.txt:
2908 * gst/gstpadtemplate.c:
2909 * gst/gstpadtemplate.h:
2910 Fix padtemplate docs, fixes #328805.
2912 2006-02-14 Wim Taymans <wim@fluendo.com>
2914 * tools/gst-launch.c: (main):
2915 NO_PREROLL is not an ERROR so don't send confusing messages
2918 2006-02-14 Wim Taymans <wim@fluendo.com>
2920 Patch by: Torsten Schoenfeld
2922 * gst/gstregistry.c: (gst_registry_get_default),
2923 (_gst_registry_cleanup):
2924 Protect default registry with lock and ref/sink it.
2927 2006-02-14 Wim Taymans <wim@fluendo.com>
2930 * gst/gstquery.c: (gst_query_list_add_format),
2931 (gst_query_set_formatsv), (gst_query_parse_formats_length),
2932 (gst_query_parse_formats_nth):
2933 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2936 2006-02-14 Wim Taymans <wim@fluendo.com>
2938 * docs/gst/gstreamer-sections.txt:
2939 Reworked query docs.
2941 * gst/gstquery.c: (gst_query_new_formats),
2942 (gst_query_list_add_format), (gst_query_set_formats),
2943 (gst_query_set_formatsv), (gst_query_parse_formats_length),
2944 (gst_query_parse_formats_nth):
2946 Flesh out formats query, added some new methods.
2947 Fix part of #324398.
2949 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
2950 Added query creation tests.
2952 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
2954 * gst/gstpad.c: (fixate_value):
2955 Add a default fixation for fraction lists.
2957 2006-02-13 Wim Taymans <wim@fluendo.com>
2959 * gst/gsttask.c: (gst_task_init), (gst_task_func),
2960 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
2963 Detect and warn for obvious deadlocks. fixes #320340
2964 Fix error case where lock was not released.
2966 * tests/check/Makefile.am:
2967 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
2968 (task_func), (gst_element_suite), (main):
2971 2006-02-13 Wim Taymans <wim@fluendo.com>
2973 * docs/gst/gstreamer-sections.txt:
2975 Add new functions to docs.
2977 2006-02-13 Wim Taymans <wim@fluendo.com>
2979 * docs/design/part-TODO.txt:
2980 Updated TODO list, basesrc supports seeking to non-bytes
2983 * docs/design/part-element-sink.txt:
2986 * gst/gstbin.c: (bin_replace_message),
2987 (gst_bin_handle_message_func):
2988 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
2989 * gst/gstevent.c: (gst_event_finalize):
2990 * gst/gstpad.c: (gst_pad_event_default_dispatch),
2991 (gst_pad_send_event):
2992 Use shiny new _TYPE_NAME macros.
2994 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
2995 Move debug statement up.
2997 * gst/gstelement.c: (gst_element_set_locked_state):
3000 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
3002 * docs/gst/gstreamer-sections.txt:
3005 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
3006 macros (#330906). Also, document the already existing
3007 GST_QUERY_TYPE macro.
3009 2006-02-13 Wim Taymans <wim@fluendo.com>
3011 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
3012 (event_probe), (GST_START_TEST):
3013 Only events up to the pipeline EOS are counted, there are
3014 some more when going to NULL currently which we don't care
3017 2006-02-13 Wim Taymans <wim@fluendo.com>
3019 * gst/gstpad.c: (gst_pad_send_event):
3020 Correctly check flushing and emit probes. fixes #330125
3022 2006-02-10 Andy Wingo <wingo@pobox.com>
3024 * gst/gstbus.c (gst_bus_class_init): Declare our private data
3026 (gst_bus_init): Cache the location of the private data in the
3028 (gst_bus_enable_sync_message_emission)
3029 (gst_bus_disable_sync_message_emission): Implement new public
3031 (gst_bus_post): Emit the sync-message signal if the user asked for
3034 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
3035 location of the bus-private structure.
3036 (gst_bus_enable_sync_message_emission)
3037 (gst_bus_disable_sync_message_emission): API addition
3039 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
3041 Patch by: Vincent Torri
3043 * docs/pwg/building-boiler.xml:
3044 PWG patch from #326800
3046 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
3050 * docs/design/Makefile.am:
3053 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
3058 === release 0.10.3 ===
3060 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
3063 releasing 0.10.3, "Like a virgin"
3065 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
3068 2nd prerelease of 0.10.3
3069 Bump libtool versioning.
3071 2006-02-07 Andy Wingo <wingo@pobox.com>
3073 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
3074 update last_stop if we're in TIME format and the timestamp is
3077 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
3078 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
3079 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
3080 If we get a new newsegment with a different format, adapt
3083 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
3084 of 0. Not a problem, really.
3086 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
3089 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
3094 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
3097 project files updated to the default vs7 configuration
3098 * win32/common/libgstbase.def:
3099 * win32/common/libgstreamer.def:
3101 removed empty lines,
3102 sorted all exported symbols alphabetically
3103 * win32/common/dirent.c:
3104 * win32/common/dirent.h:
3105 * win32/common/gchar.h:
3106 use windows line end.
3108 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
3110 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
3111 Send EOS event when stopping.
3113 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
3116 Tell folks what to do if the plugin-foobar.xml file
3117 hasn't been generated for a newly-added plugin.
3119 2006-02-05 Julien MOUTTE <julien@moutte.net>
3121 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
3122 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
3123 (gst_collect_pads_start), (gst_collect_pads_stop),
3124 (gst_collect_pads_event): Collectpads now holds a reference
3125 to the GstPad that was added. Indeed we don't want to look
3126 at pads that might just go away with no warning...
3128 2006-02-05 Julien MOUTTE <julien@moutte.net>
3130 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
3131 (gst_collect_pads_start), (gst_collect_pads_stop),
3132 (gst_collect_pads_event), (gst_collect_pads_chain):
3133 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
3134 Mark Nauwelaerts's patch on bug #328491.
3136 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
3138 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
3140 Add some simple tests for gst_parse_bin_from_description() and
3141 gst_bin_find_unconnected_pad() (#329069).
3143 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
3145 * tools/gst-launch.c: (event_loop), (main):
3146 Catch errors during preroll (#320084).
3148 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
3150 * plugins/elements/gsttypefindelement.c:
3151 (gst_type_find_element_activate):
3152 Post TYPE_NOT_FOUND error message when typefinding
3153 is unsuccessful in the activate function as well.
3155 2006-02-02 Wim Taymans <wim@fluendo.com>
3157 * docs/design/part-element-sink.txt:
3160 2006-02-02 Wim Taymans <wim@fluendo.com>
3162 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
3163 (gst_base_sink_render_object),
3164 (gst_base_sink_queue_object_unlocked):
3165 Only keep track of prerollable items when we are
3167 Before rendering after preroll, always check if we
3169 Added some more debugging.
3171 2006-02-02 Wim Taymans <wim@fluendo.com>
3173 * gst/gstelement.c: (gst_element_continue_state),
3174 (gst_element_set_state_func), (gst_element_change_state):
3175 Fixed #326576, been running this for quite some time with
3176 no regressions at all.
3178 2006-02-02 Wim Taymans <wim@fluendo.com>
3181 Added more suppressions
3183 2006-02-02 Wim Taymans <wim@fluendo.com>
3185 * docs/design/part-element-sink.txt:
3188 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3189 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
3190 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
3191 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
3192 (gst_base_sink_do_sync), (gst_base_sink_render_object),
3193 (gst_base_sink_preroll_object),
3194 (gst_base_sink_queue_object_unlocked),
3195 (gst_base_sink_queue_object), (gst_base_sink_event),
3196 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
3197 (gst_base_sink_loop), (gst_base_sink_activate_pull),
3198 (gst_base_sink_get_position), (gst_base_sink_change_state):
3199 * libs/gst/base/gstbasesink.h:
3200 Totally refactored matching the design doc.
3201 Use two segments, one to clip incomming buffers and another to
3203 Handle queueing correctly, bypass the queue when playing.
3204 Make EOS cancelable.
3205 Handle errors correctly when operating in pull based mode.
3207 * tests/check/elements/fakesink.c: (GST_START_TEST),
3209 Added new check for sinks.
3211 2006-02-02 Wim Taymans <wim@fluendo.com>
3213 * gst/gstsegment.c: (gst_segment_clip):
3214 No reason to refuse to clip when start == -1
3216 2006-02-02 Stefan Kost <ensonic@users.sf.net>
3219 * docs/manual/intro-basics.xml:
3220 * docs/manual/intro-preface.xml:
3221 * docs/manual/manual.xml:
3222 * docs/pwg/advanced-dparams.xml:
3223 * docs/pwg/intro-basics.xml:
3224 * docs/pwg/intro-preface.xml:
3226 describe dparams (controller) for plugins
3227 unify docs a little more
3229 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
3231 * docs/gst/gstreamer-sections.txt:
3232 * gst/gstutils.c: (element_find_unconnected_pad),
3233 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
3235 Add new API: gst_parse_bin_from_description() and
3236 gst_bin_find_unconnected_pad() (#329069).
3238 2006-02-01 Stefan Kost <ensonic@users.sf.net>
3240 * docs/manual/README:
3241 uncover a nasty detail of the docs build
3243 2006-01-31 Wim Taymans <wim@fluendo.com>
3245 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
3246 Don't cache duration messages if we're not going to use or
3249 2006-01-31 Stefan Kost <ensonic@users.sf.net>
3251 * docs/manual/advanced-dparams.xml:
3252 * docs/pwg/advanced-dparams.xml:
3256 * libs/gst/controller/lib.c: (gst_controller_init):
3259 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
3261 * gst/gstelement.c: (gst_element_message_full):
3262 also show file/line/func if no additional debug was given
3264 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
3266 * win32/vs7/grammar.vcproj:
3267 activate copy of autogenerated files for Release mode
3269 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
3271 * win32/common/libgstreamer.def:
3272 export gst_value_compare
3274 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
3276 * plugins/elements/Makefile.am:
3277 * plugins/elements/gstelements.c:
3278 * plugins/elements/gstfdsink.c: (_do_init),
3279 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
3280 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
3281 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
3282 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
3283 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
3284 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
3285 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
3286 * plugins/elements/gstfdsink.h:
3287 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
3289 2006-01-30 Stefan Kost <ensonic@users.sf.net>
3291 * docs/manual/advanced-dparams.xml:
3293 * docs/manual/advanced-position.xml:
3294 * docs/manual/basics-init.xml:
3295 * docs/manual/manual.xml:
3296 * docs/manual/titlepage.xml:
3298 * docs/pwg/titlepage.xml:
3299 cleanup xml (more to come)
3300 * libs/gst/controller/gstcontroller.c:
3303 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
3305 * win32/vs6/grammar.dsp:
3306 add autogen of gstmarshal.c,h for Release mode
3308 2006-01-30 Wim Taymans <wim@fluendo.com>
3310 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3311 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
3312 (gst_base_sink_handle_object), (gst_base_sink_event),
3313 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
3314 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
3315 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
3316 (gst_base_sink_deactivate), (gst_base_sink_activate),
3317 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
3318 (gst_base_sink_query), (gst_base_sink_change_state):
3319 Basesink cleanups, remove some old code.
3320 Handle the case where a subclass can preroll in the render
3321 method (mostly audiosinks).
3323 Remove some locks around variables that are now protected
3324 with the PREROLL_LOCK (clock_id, flushing, ..).
3325 Optimize position query some more, do correct locking.
3326 Remove old code to push queue in state change, this is not
3327 needed anymore since preroll blocks on all prerollable items
3329 Almost implemented as described in design doc.
3331 2006-01-30 Wim Taymans <wim@fluendo.com>
3333 * tests/check/gst/gstbin.c: (GST_START_TEST):
3334 Wait for refcount to settle down before checking.
3336 2006-01-30 Wim Taymans <wim@fluendo.com>
3338 * docs/design/part-element-sink.txt:
3339 Pseudo code overview of desired sink behaviour regarding
3342 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
3343 * win32/vs6/grammar.dsp:
3344 fix some bugs in Release mode for autogenerated files
3346 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
3347 * win32/common/libgstbase.def:
3348 * win32/common/libgstreamer.def:
3349 export some new symbols: gst_base_src_set_format,
3350 gst_iterator_next, gst_structure_set_valist
3352 2006-01-29 Julien MOUTTE <julien@moutte.net>
3354 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
3355 Set pad functions unconditionally. Fixes #329105.
3357 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
3359 add vs8 project files created by Sergey Scobich
3361 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
3363 * gst/gstutils.c: (gst_element_unlink_pads):
3364 Don't leak pad references.
3366 * tests/check/elements/fakesink.c: (GST_START_TEST):
3367 * tests/check/generic/sinks.c: (GST_START_TEST):
3368 * tests/check/generic/states.c: (GST_START_TEST):
3369 * tests/check/gst/gstbin.c: (GST_START_TEST):
3370 * tests/check/gst/gstcaps.c: (GST_START_TEST):
3371 * tests/check/gst/gstelement.c: (GST_START_TEST):
3372 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3373 * tests/check/gst/gstiterator.c: (GST_START_TEST):
3374 * tests/check/gst/gstvalue.c: (GST_START_TEST):
3375 Fix a bunch of leaks. Make generic/sinks.c
3376 use a bit less cpu by slowing the buffer rate
3377 between fakesrc and fakesink.
3379 2006-01-27 Stefan Kost <ensonic@users.sf.net>
3381 * gst/gstelement.c: (gst_element_send_event):
3384 * gst/gstiterator.c:
3385 * gst/gstiterator.h:
3386 * gst/gstpad.c: (gst_pad_send_event):
3387 * gst/gststructure.c:
3391 * libs/gst/base/gstadapter.c:
3392 doc fixes, to link to function, just write gst_cool_function(), don't
3395 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
3397 * plugins/elements/gsttee.c: (gst_tee_do_push),
3398 (gst_tee_handle_buffer):
3399 Always prefer an actual return value from a src
3400 pad in place of NOT_LINKED. This means we return
3401 WRONG_STATE when all src pads are WRONG_STATE
3402 instead of NOT_LINKED.
3404 Lock when replacing the last message to prevent
3405 racing with the get_property method.
3409 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
3411 * tests/check/Makefile.am:
3412 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
3414 Add a very simple check that should have caught the memleak I fixed
3415 last night (if not for the slice allocator hiding it)
3417 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
3419 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
3420 (gst_bin_remove_func), (gst_bin_handle_message_func),
3421 (bin_query_duration_fold), (bin_query_generic_fold):
3422 Clean up references to the clock provider when disposed or when
3423 handling a clock-lost message from it.
3425 Unref sinks when performing a query via gst_iterator_fold, as the
3426 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
3428 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
3429 (gst_clock_set_master):
3430 Drop our reference to the master clock, if any, when we are disposed.
3432 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
3433 Chain up in dispose.
3435 2006-01-26 Wim Taymans <wim@fluendo.com>
3437 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
3440 2006-01-26 Julien MOUTTE <julien@moutte.net>
3442 * plugins/elements/gsttee.c: (gst_tee_do_push),
3443 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
3444 handles pad being NOT_LINKED or in WRONG_STATE.
3446 2006-01-26 Stefan Kost <ensonic@users.sf.net>
3451 2006-01-26 Stefan Kost <ensonic@users.sf.net>
3454 remove obsolete entry
3456 2006-01-26 Stefan Kost <ensonic@users.sf.net>
3458 * docs/gst/gstreamer-sections.txt:
3459 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
3460 (gst_bin_iterate_sources), (gst_bin_send_event):
3462 * gst/gstelement.c: (gst_element_send_event):
3464 * gst/gstpad.c: (gst_pad_send_event):
3465 added code for downstream events, reviewed docs in gstevent.c
3467 2006-01-25 Julien MOUTTE <julien@moutte.net>
3469 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
3470 We only query position using the clock in the playing state.
3471 Query peer in the other cases.
3472 * win32/common/config.h: Updates.
3474 2006-01-24 Wim Taymans <wim@fluendo.com>
3476 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
3477 A clock entry that is scheduled for the exact time of the
3478 clock is still in time.
3480 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3481 (gst_base_sink_do_sync):
3482 Add some more debug info.
3484 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
3487 Add new vs7 project files and solution.
3489 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
3492 all files removed as they were out-dated.
3494 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
3496 * docs/random/release:
3498 * gst/gstbin.c: (gst_bin_init):
3499 * gst/gstbus.c: (gst_bus_new):
3501 * gst/gstpipeline.c: (gst_pipeline_init):
3502 use gst_bus_new(), improve logging, fix docs
3503 * win32/common/config.h:
3504 update for cvs build
3506 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
3509 up required version of automake to 1.7
3511 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
3513 * win32/common/libgstreamer.def:
3514 export gst_buffer_is_metadata_writable
3516 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
3518 * docs/gst/gstreamer-sections.txt:
3520 Add gst_event_replace() (#327001)
3522 2006-01-20 Wim Taymans <wim@fluendo.com>
3524 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
3525 Make it actually compile too..
3527 2006-01-20 Wim Taymans <wim@fluendo.com>
3530 Clarify behaviour of _is_equal() when passing NULL parameters.
3532 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
3534 Cleanups. Don't unref NULL caps.
3535 When setting the same caps, protect caps of the pad with
3537 Use full functionality of _is_equal() when comparing caps.
3539 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
3541 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
3542 Don't loop infinitely if there are no buffers to present. Partially
3543 fixes #327197, but collectpads is just broken for reusing elements
3544 to do multiple encodes atm.
3546 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
3548 * tools/gst-inspect.c: (print_element_features):
3549 * tools/gst-xmlinspect.c: (main):
3550 URL_HANDLER is not a plugin feature we can search for in
3553 2006-01-19 Edward Hervey <edward@fluendo.com>
3555 * gst/gstelement.c: (gst_element_pads_activate):
3556 When activating, do src pads first, then sink pads.
3557 When de-activating, do sink pads first, then src pads.
3559 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
3561 * docs/gst/gstreamer-sections.txt:
3562 Add gst_index_add_associationv to the docs
3564 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
3569 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
3570 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
3571 Do some refactoring. Doesn't actually change functionality,
3572 but makes landing the DRAIN event easier later.
3574 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
3576 * docs/pwg/advanced-scheduling.xml:
3577 Update from 0.9.x to 0.10 API and make example a bit
3580 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
3582 * docs/gst/gstreamer-sections.txt:
3583 Add gst_buffer_(is|make)_metadata_writable methods.
3585 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
3587 * docs/design/part-sparsestreams.txt:
3588 Update sparse streams doc, hopefully for greater clarity
3590 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
3592 * docs/design/part-events.txt:
3593 Remove mention of FILLER events.
3596 * docs/design/part-sparsestreams.txt:
3597 Write some things about using NEWSEGMENT to keep sparse streams
3600 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
3602 * gst/gstbin.c: (gst_bin_dispose):
3603 Guard gst_object_unref call against a NULL object (dispose
3604 can theoretically be called multiple times).
3606 2006-01-18 Wim Taymans <wim@fluendo.com>
3608 * gst/gstbin.c: (gst_bin_element_set_state):
3609 * gst/gstclock.c: (gst_clock_id_wait):
3610 Added some more debug info.
3612 * libs/gst/base/gstadapter.c:
3615 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3616 (gst_base_sink_do_sync), (gst_base_sink_chain):
3617 Added some comments.
3619 2006-01-18 Wim Taymans <wim@fluendo.com>
3621 * tests/check/Makefile.am:
3622 * tests/check/elements/fakesink.c: (chain_async_buffer),
3623 (chain_async), (chain_async_return), (GST_START_TEST),
3624 (fakesink_suite), (main):
3625 Added fakesink test that checks prerolling and clipping
3628 * tests/check/gst/gstutils.c: (GST_START_TEST):
3629 Make check run faster so that buildbots don't timeout.
3631 2006-01-18 Wim Taymans <wim@fluendo.com>
3633 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3634 (gst_base_sink_do_sync):
3636 When the sink finishes blocking on the preroll buffer, it can
3637 immediatly render it instead of rendering when the next buffer
3640 2006-01-18 Wim Taymans <wim@fluendo.com>
3642 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
3643 (gst_base_sink_get_property), (gst_base_sink_do_sync),
3644 (gst_base_sink_chain):
3646 GST_ELEMENT_CLOCK and sync are protected with LOCK.
3647 Don't store _last_stop if the buffer is dropped.
3649 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
3651 * plugins/elements/gsttypefindelement.c:
3652 (gst_type_find_element_class_init):
3653 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
3654 object method handler that sets the caps on the pad and we want
3655 that to happen before we emit the signal (fixes e.g. feeding a
3656 plain text file to decodebin).
3658 2006-01-18 Christian Schaller <Christian@fluendo.com>
3660 * gst/gstplugin.c: Add MPL and Proprietary as license options
3662 2006-01-18 Andy Wingo <wingo@pobox.com>
3664 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
3665 symbol was exported before, it appears this was just an oversight.
3667 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
3669 * gst/gstindex.c (gst_index_add_associationv): Changed int in
3670 prototype to gint. OK since this prototype was not in the header.
3672 2006-01-17 Andy Wingo <wingo@pobox.com>
3674 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
3675 registry while we remove plugins.
3677 * tools/gst-inspect.c (print_element_info): Don't unref the
3678 factory arg, that should be the responsibility of whatever code
3679 received the ref. Fixes a double-free when called from
3680 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
3681 (main): Unref the factory if we have one.
3682 (print_element_list): No change -- relies on the
3683 plugin_feature_list_free to free the list of features.
3685 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
3687 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
3688 (gst_buffer_make_metadata_writable):
3690 * libs/gst/base/gstbasetransform.c:
3691 (gst_base_transform_prepare_output_buf):
3692 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
3693 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
3694 Replace gst_buffer_(make|is)_metadata_writable patch now
3695 that the release is out.
3697 2006-01-17 Andy Wingo <wingo@pobox.com>
3699 * gst/gstregistry.c: Reflow design comment. Update so as to speak
3700 in the present tense without reference to versions.
3702 * gst/gstregistry.c (gst_registry_add_plugin)
3703 (gst_registry_remove_plugin, gst_registry_remove_feature)
3704 (gst_registry_find_feature, gst_registry_get_feature_list)
3705 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
3706 (gst_registry_lookup, gst_registry_scan_path)
3707 (_gst_registry_remove_cache_plugins)
3708 (gst_registry_get_feature_list_by_plugin): Add argument
3711 === release 0.10.2 ===
3713 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
3716 releasing 0.10.2, "If man is five"
3718 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
3722 * libs/gst/base/gstbasetransform.c:
3723 (gst_base_transform_prepare_output_buf):
3724 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
3725 * tests/check/gst/gstbuffer.c: (gst_test_suite):
3726 Back out patch until after the release.
3728 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
3730 * gst/gstminiobject.c:
3731 Spelling fix in docs.
3732 * ChangeLog - remove conflict indicator
3734 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
3736 Reviewed By: Andy Wingo
3738 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
3739 (gst_buffer_make_metadata_writable):
3741 Add gst_buffer_(is|make)_metadata_writable as analogues of
3742 gst_buffer_(is|make)_writable.
3744 * libs/gst/base/gstbasetransform.c:
3745 (gst_base_transform_prepare_output_buf):
3746 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
3747 Use name gst_buffer_(is|make)_metadata_writable functions.
3749 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
3750 Test gst_buffer_(is|make)_metadata_writable
3754 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
3756 * docs/manual/Makefile.am:
3757 don't do parallel make
3760 * win32/common/config.h.in:
3761 add generations for HOST_CPU and GST_MAJORMINOR
3762 * win32/common/config.h:
3763 commit generated result
3765 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
3767 * docs/manual/appendix-integration.xml:
3768 Update GNOME integration section to use gst_init_get_option_group()
3769 instead of the old popt stuff (#322911). Also, GNOME applications
3770 should now use gconf*sink and gconf*src instead of the old gconf
3773 2006-01-13 Stefan Kost <ensonic@users.sf.net>
3776 * docs/gst/gstreamer-docs.sgml:
3777 * docs/gst/gstreamer-sections.txt:
3778 * docs/libs/gstreamer-libs-sections.txt:
3779 add new API entries to the docs
3780 * libs/gst/controller/Makefile.am:
3781 * libs/gst/controller/gstcontroller.c:
3782 * libs/gst/controller/gstcontroller.h:
3783 * libs/gst/controller/gstcontrollerprivate.h:
3784 * libs/gst/controller/gsthelper.c:
3785 * libs/gst/controller/gstinterpolation.c:
3786 move private structs to private header
3788 gstreamer-0.7 -> gstreamer-0.10
3789 * tests/check/libs/struct_i386.h:
3790 remove private structs
3792 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
3794 * plugins/indexers/Makefile.am:
3795 Fixes as part of #317048
3797 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
3799 * plugins/indexers/Makefile.am:
3800 fix #316086 - compilation when mmap is missing
3802 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
3804 * libs/gst/base/gstbasesink.c:
3805 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
3806 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
3807 * win32/common/config.h:
3808 added some defines GST_MAJORMINOR and HOST_CPU
3809 * win32/common/libgstbase.def:
3810 * win32/common/libgstreamer.def:
3811 added some exported functions.
3813 2006-01-12 Stefan Kost <ensonic@users.sf.net>
3815 * libs/gst/controller/gstcontroller.c:
3816 (gst_controlled_property_set_interpolation_mode),
3817 (gst_controlled_property_new):
3818 * libs/gst/controller/gstcontroller.h:
3819 * libs/gst/controller/gstinterpolation.c:
3820 (interpolate_none_get_string_value_array):
3821 make G_TYPE_STRING controlable
3823 2006-01-12 Stefan Kost <ensonic@users.sf.net>
3826 * tools/gst-feedback.1.in:
3827 * tools/gst-inspect.1.in:
3828 * tools/gst-launch.1.in:
3829 * tools/gst-md5sum.1.in:
3830 * tools/gst-typefind.1.in:
3831 * tools/gst-xmlinspect.1.in:
3832 * tools/gst-xmllaunch.1.in:
3833 cleanup man-pages, remove reference to gst-register, document env-vars
3835 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
3837 * gst/gstbuffer.c: (gst_buffer_span):
3838 gst_buffer_span should copy the timestamp of the first buffer
3839 if they were both originally overlapping subbuffers of the
3840 same parent, using the same logic as the 'slow copy' case.
3842 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
3844 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
3845 Need to awaken ALL the pads when we pop a buffer, otherwise
3846 collectpads only works when there is 2 input streams.
3848 2006-01-11 Stefan Kost <ensonic@users.sf.net>
3850 * docs/random/ensonic/media-device-daemon.txt:
3853 fix doc example, add clarification
3854 * tools/gst-launch.1.in:
3855 add initial info about GST_PLUGIN_PATH, needs more work
3857 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
3859 * docs/manual/basics-bins.xml:
3860 * docs/manual/basics-elements.xml:
3861 * docs/manual/intro-basics.xml:
3862 Some more minor docs additions and updates.
3864 2006-01-11 Wim Taymans <wim@fluendo.com>
3866 * docs/manual/basics-bins.xml:
3867 * docs/manual/basics-elements.xml:
3868 Some small fixes as pointed out by Ser-ver on IRC.
3870 2006-01-10 Edward Hervey <edward@fluendo.com>
3872 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3873 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
3874 the single-segment mode.
3876 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
3878 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
3880 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
3881 (gst_base_src_perform_seek), (gst_base_src_send_event),
3882 (gst_base_src_set_property), (gst_base_src_get_property),
3883 (gst_base_src_loop), (gst_base_src_start),
3884 (gst_base_src_activate_push):
3885 * libs/gst/base/gstbasesrc.h:
3886 Name (private) union; makes Sun's Forte compiler happy (#324900).
3888 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
3891 gst-register is gone.
3893 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
3895 * gst/gstvalue.c: (_gst_value_initialize):
3896 make the G_TYPE_DATE instantiation work if debug is disabled
3898 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
3900 * gst/gstmessage.c: (gst_message_parse_tag),
3901 (gst_message_parse_error), (gst_message_parse_warning):
3902 Don't crash when return location for error/warning debug
3903 string is NULL; add fact that return locations can be
3904 NULL to docs where appropriate.
3906 2006-01-05 Wim Taymans <wim@fluendo.com>
3908 * gst/gstplugin.c: (gst_plugin_load_file):
3909 Replace strdup by g_strdup.
3911 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
3913 * docs/pwg/advanced-types.xml:
3916 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
3918 submitted by: Abel Cheung
3922 Added Chinese (traditional) translation
3924 2006-01-04 Wim Taymans <wim@fluendo.com>
3926 * docs/manual/basics-pads.xml:
3927 * docs/plugins/Makefile.am:
3928 * docs/plugins/gstreamer-plugins-docs.sgml:
3929 * docs/plugins/gstreamer-plugins-sections.txt:
3930 * docs/pwg/advanced-clock.xml:
3931 * docs/pwg/advanced-scheduling.xml:
3932 * docs/pwg/advanced-types.xml:
3933 * plugins/elements/gstfdsink.c:
3934 * plugins/elements/gstfdsrc.c:
3935 * plugins/elements/gstfdsrc.h:
3936 * plugins/elements/gstidentity.c: (gst_identity_class_init):
3937 * plugins/elements/gstidentity.h:
3938 * plugins/elements/gstqueue.h:
3939 * plugins/elements/gsttee.c:
3940 * plugins/elements/gsttee.h:
3941 * plugins/elements/gsttypefindelement.c:
3942 (gst_type_find_element_class_init):
3943 * plugins/elements/gsttypefindelement.h:
3944 Small updates to various docs.
3945 Added core plugins to docs.
3947 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
3950 add a suppression for liboil's uninitialized variable
3952 2006-01-02 James Livingston <jrl at ids dot org dot au>
3954 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
3957 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
3958 macro, so that gcc doesn't complain if the -Wmissing-prototypes
3959 compiler switch is being used (#325429).
3961 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
3963 * gst/gstbin.c: (gst_bin_query):
3964 Disable duration query caching in bins until it gets
3965 fixed (see #324807).
3967 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
3969 * tools/gst-inspect.c: (print_element_properties_info):
3970 Handle properties of POINTER and BOXED type.
3972 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
3974 * gst/gst.c: (init_post):
3975 Init tags stuff and some other things before loading
3976 any static plugins (there may be other static plugins
3977 than just the GStreamer ones, and they may want to
3978 register their own tags or formats or whatever, and
3979 preferably without segfaulting).
3981 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3982 Print at least a warning in the debug logs if we drop a
3983 query just because we don't know how to adjust the value
3984 in the particular format.
3986 2005-12-24 David Schleef <ds@schleef.org>
3988 * tools/gstreamer-completion:
3989 Replacement for gst-complete written in sh and sed. Only
3990 completes names of features, but that's 90% of what I want
3991 it for. Properties are not available in registry.xml. (Maybe
3994 === release 0.10.1 ===
3996 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
3999 releasing 0.10.1, "Nollaig chridheil"
4001 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
4004 Add missing quote, should be make ERROR_CFLAGS="".
4006 2005-12-20 Wim Taymans <wim@fluendo.com>
4008 * docs/design/part-trickmodes.txt:
4009 More documentation on trickmodes.
4011 2005-12-20 Edward Hervey <edward@fluendo.com>
4013 * gst/gstcaps.c: (gst_static_caps_get_type):
4015 API addition: GST_TYPE_STATIC_CAPS
4016 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
4017 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
4018 * gst/gstpadtemplate.h:
4019 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
4020 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
4023 2005-12-18 Wim Taymans <wim@fluendo.com>
4025 * libs/gst/base/gstadapter.c:
4026 * libs/gst/base/gstadapter.h:
4027 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4028 (gst_base_sink_get_position):
4029 * libs/gst/base/gstbasesink.h:
4030 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4031 (gst_base_src_default_query), (gst_base_src_default_do_seek),
4032 (gst_base_src_do_seek), (gst_base_src_perform_seek),
4033 (gst_base_src_send_event), (gst_base_src_update_length),
4034 (gst_base_src_get_range), (gst_base_src_loop),
4035 (gst_base_src_start):
4036 * libs/gst/base/gstbasesrc.h:
4037 * libs/gst/base/gstbasetransform.h:
4038 * libs/gst/base/gstcollectpads.h:
4039 * libs/gst/base/gstpushsrc.c:
4040 * libs/gst/base/gstpushsrc.h:
4041 * libs/gst/dataprotocol/dataprotocol.c:
4042 * libs/gst/dataprotocol/dataprotocol.h:
4043 * libs/gst/net/gstnetclientclock.h:
4044 * libs/gst/net/gstnettimeprovider.h:
4045 Documentation updates.
4047 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
4049 * docs/manual/basics-helloworld.xml:
4050 Remove superfluous closing bracket in helloworld example.
4052 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
4054 * tools/gst-launch.1.in:
4055 Update gst-launch man page; add a section with useful
4056 environment variables. Fixes #323882.
4058 2005-12-16 Stefan Kost <ensonic@users.sf.net>
4061 * gst/gst_private.h:
4062 change some char* into char[]
4064 2005-12-16 Wim Taymans <wim@fluendo.com>
4066 * gst/gstregistryxml.c: (load_feature):
4068 Don't use g_object_unref on GstObjects so that we avoid
4069 leaks on unsafe glibs.
4071 2005-12-16 Wim Taymans <wim@fluendo.com>
4073 * gst/gstbin.c: (gst_bin_recalc_state):
4076 2005-12-16 Wim Taymans <wim@fluendo.com>
4079 Added make forever target for check.
4081 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
4083 * gst/gst.c: (init_post):
4084 make the registry cache file HOST_CPU-dependent
4086 2005-12-16 Andy Wingo <wingo@pobox.com>
4088 * plugins/elements/gstbufferstore.c
4089 (gst_buffer_store_cleared_func): Pay attention to g_list_append
4092 * tests/check/gst/gstobject.c
4093 (test_fake_object_name_threaded_unique): Pay attention to
4094 g_list_sort return value.
4096 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
4098 * tools/gst-feedback-m.m:
4099 Update for 0.9/0.10 (fixes #323870).
4101 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
4103 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
4104 Fix lcopy for mini objects, the mini object needs to be ref'ed.
4106 * tests/check/gst/gstminiobject.c: (my_foo_init),
4107 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
4108 (test_value_collection), (gst_mini_object_suite):
4109 Add test to ensure refcounts end up as expected when passing
4110 GstMiniObjects through g_object_get() and g_object_set().
4112 2005-12-14 Julien MOUTTE <julien@moutte.net>
4114 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
4115 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
4116 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
4117 of collectpads. This version removes a lot of races without
4118 touching API/ABI. Yay !
4120 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
4122 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
4123 Don't allow activation of a srcpad in pull_range if it has no
4125 Change some debug statements to be a little clearer
4127 * plugins/elements/gsttypefindelement.c:
4128 (gst_type_find_handle_src_query):
4129 Check that we have a peer before executing queries thereupon.
4131 * tests/examples/metadata/read-metadata.c: (message_loop):
4132 Use gst_bus_pop instead of gst_bus_poll when we just want it to
4133 immediately return us any available message with 0 timeout.
4135 2005-12-12 Michael Smith <msmith@fluendo.com>
4137 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
4138 Don't unref factories after calling them.
4139 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
4140 * plugins/elements/gsttypefindelement.c:
4141 (gst_type_find_element_chain):
4142 Free lists of factories after using them. Fixing typefinding memory
4145 2005-12-12 Stefan Kost <ensonic@users.sf.net>
4147 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
4148 (gst_plugin_feature_load):
4149 more meaningful debug output
4151 * tests/Makefile.am:
4152 * tests/old/examples/Makefile.am:
4153 make make distcheck happy again
4155 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
4157 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
4158 Catch the special case where we are operating chain-based,
4159 but the downstream peer pad has no chain function. Emit a
4160 custom error message in this case instead of letting the
4161 core generate one implying that this is some sort of core
4162 bug. It's not, it just means that whatever got plugged
4163 into the pipeline downstream when we announced the type
4164 can only operate pull-based, while our source can only
4165 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
4166 Error string has not been marked for translation yet, as
4167 it probably needs some more work first.
4169 (gst_type_find_element_get_best_possibility):
4170 Add helper function to find the best of all available
4171 found possibilities that qualify given the min. threshold.
4173 (gst_type_find_element_handle_event):
4174 Fix the case where we get an EOS while still in TYPEFIND
4175 mode (we want to chose the best of all possible types,
4176 not just the first type that happens to be in our unsorted
4177 list of possible types).
4179 (gst_type_find_element_chain):
4180 Make sure we return GST_FLOW_ERROR when we errored out
4181 in stop_typefinding(); also, don't just find the best of
4182 all found type entries and then use the last examined
4183 type entry, but actually use the best entry.
4185 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
4187 * tests/examples/typefind/typefind.c: (type_found):
4188 * tests/examples/xml/runxml.c: (xml_loaded):
4189 More gcc4 fixes and a mem leak fix.
4191 2005-12-12 Stefan Kost <ensonic@users.sf.net>
4193 * tests/examples/xml/createxml.c: (object_saved):
4196 2005-12-12 Stefan Kost <ensonic@users.sf.net>
4198 * tests/Makefile.am:
4199 enable the examples even more
4201 2005-12-12 Andy Wingo <wingo@pobox.com>
4203 * libs/gst/net/gstnettimeprovider.c
4204 (gst_net_time_provider_class_init, gst_net_time_provider_init)
4205 (gst_net_time_provider_set_property)
4206 (gst_net_time_provider_get_property):
4207 API addition: Export "active" as a GObject property.
4208 (gst_net_time_provider_thread): Only respond to time queries if
4209 the time provider is active.
4211 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
4212 NetTimeProvider, preserving binary compat.
4214 2005-12-12 Stefan Kost <ensonic@users.sf.net>
4216 * tests/examples/controller/audio-example.c: (main):
4217 * tests/examples/launch/Makefile.am:
4218 convert comments again
4220 2005-12-12 Wim Taymans <wim@fluendo.com>
4222 * libs/gst/base/gstpushsrc.c:
4225 2005-12-12 Wim Taymans <wim@fluendo.com>
4227 * docs/libs/gstreamer-libs-sections.txt:
4228 Added new symbol to docs.
4230 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4231 (gst_base_src_init), (gst_base_src_set_format),
4232 (gst_base_src_default_query), (gst_base_src_query),
4233 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
4234 (gst_base_src_perform_seek), (gst_base_src_send_event),
4235 (gst_base_src_default_event), (gst_base_src_event_handler),
4236 (gst_base_src_set_property), (gst_base_src_get_property),
4237 (gst_base_src_wait), (gst_base_src_do_sync),
4238 (gst_base_src_update_length), (gst_base_src_get_range),
4239 (gst_base_src_check_get_range), (gst_base_src_loop),
4240 (gst_base_src_default_negotiate), (gst_base_src_start),
4241 (gst_base_src_activate_push), (gst_base_src_activate_pull),
4242 (gst_base_src_change_state):
4243 * libs/gst/base/gstbasesrc.h:
4244 Implement seeking to other formats than _BYTES.
4245 Implement more seeking methods correctly.
4247 Added query vmethod.
4248 Added do_seek vmethod to make life easier for subclasses
4250 API addition: gst_base_src_set_format()
4252 2005-12-12 Stefan Kost <ensonic@users.sf.net>
4254 * tests/examples/Makefile.am:
4257 2005-12-12 Stefan Kost <ensonic@users.sf.net>
4260 * docs/random/ensonic/media-device-daemon.txt:
4261 * tests/examples/controller/.cvsignore:
4262 * tests/examples/controller/Makefile.am:
4263 * tests/examples/controller/audio-example.c: (main):
4264 * tests/examples/helloworld/.cvsignore:
4265 * tests/examples/helloworld/Makefile.am:
4266 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
4267 * tests/examples/launch/.cvsignore:
4268 * tests/examples/launch/Makefile.am:
4269 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
4270 * tests/examples/metadata/.cvsignore:
4271 * tests/examples/metadata/Makefile.am:
4272 * tests/examples/metadata/read-metadata.c: (message_loop),
4273 (make_pipeline), (print_tag), (main):
4274 * tests/examples/queue/.cvsignore:
4275 * tests/examples/queue/Makefile.am:
4276 * tests/examples/queue/queue.c: (event_loop), (main):
4277 * tests/examples/typefind/.cvsignore:
4278 * tests/examples/typefind/Makefile.am:
4279 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
4281 * tests/examples/xml/.cvsignore:
4282 * tests/examples/xml/Makefile.am:
4283 * tests/examples/xml/createxml.c: (object_saved), (main):
4284 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
4285 * tests/old/examples/Makefile.am:
4286 * tests/old/examples/TODO:
4287 * tests/old/examples/controller/.cvsignore:
4288 * tests/old/examples/controller/Makefile.am:
4289 * tests/old/examples/controller/audio-example.c:
4290 * tests/old/examples/helloworld/.cvsignore:
4291 * tests/old/examples/helloworld/Makefile.am:
4292 * tests/old/examples/helloworld/helloworld.c:
4293 * tests/old/examples/launch/.cvsignore:
4294 * tests/old/examples/launch/Makefile.am:
4295 * tests/old/examples/launch/mp3parselaunch.c:
4296 * tests/old/examples/launch/mp3play:
4297 * tests/old/examples/manual/Makefile.am:
4298 * tests/old/examples/metadata/Makefile.am:
4299 * tests/old/examples/metadata/read-metadata.c:
4300 * tests/old/examples/queue/.cvsignore:
4301 * tests/old/examples/queue/Makefile.am:
4302 * tests/old/examples/queue/queue.c:
4303 * tests/old/examples/typefind/.cvsignore:
4304 * tests/old/examples/typefind/Makefile.am:
4305 * tests/old/examples/typefind/typefind.c:
4306 * tests/old/examples/xml/.cvsignore:
4307 * tests/old/examples/xml/Makefile.am:
4308 * tests/old/examples/xml/createxml.c:
4309 * tests/old/examples/xml/runxml.c:
4310 applied some simple fixing to some examples
4311 re-enabled the working examples
4313 2005-12-12 Wim Taymans <wim@fluendo.com>
4315 * gst/gstsegment.c: (gst_segment_init),
4316 (gst_segment_set_last_stop), (gst_segment_set_seek),
4317 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
4318 (gst_segment_to_running_time):
4319 Added more documentation.
4320 Make sure the last_pos value is updated properly.
4321 Make sure to_stream_time and to_running_time don't
4322 operate on wrong values.
4324 * tests/check/gst/gstsegment.c: (GST_START_TEST):
4327 2005-12-12 Michael Smith <msmith@fluendo.com>
4329 * plugins/elements/gsttypefindelement.c: (free_entry),
4330 (gst_type_find_element_chain):
4331 Now that we're not leaking factories, make sure we keep references
4332 to them while we need them.
4334 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
4336 * tests/check/gst/struct_i386.h:
4337 ifdef out the XML structs
4339 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
4341 * gst/gstvalue.c: (gst_value_transform_double_fraction):
4342 floor is not needed, F is always positive; this obviates the
4343 need for adding -lm when building without libxml
4345 2005-12-12 Wim Taymans <wim@fluendo.com>
4347 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
4348 Take current playback rate into account when reporting
4351 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
4353 * docs/manual/mime-world.fig:
4354 Let's try this again, this time with a file that is
4355 actually in XFig format.
4357 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
4359 * docs/manual/mime-world.fig:
4360 Add audioconvert element to diagram so that it
4361 matches the text and the code (fixes #319526).
4363 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
4365 * docs/pwg/building-chainfn.xml:
4366 * docs/pwg/building-pads.xml:
4367 * docs/pwg/building-state.xml:
4368 * docs/pwg/other-source.xml:
4369 Update state change stuff for 0.10 (fixes #322969).
4371 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
4373 * docs/manual/advanced-dataaccess.xml:
4374 * docs/manual/appendix-checklist.xml:
4375 * docs/manual/appendix-programs.xml:
4376 * docs/manual/basics-pads.xml:
4377 * docs/manual/highlevel-components.xml:
4378 * docs/manual/manual.xml:
4379 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
4380 add converters in front of pipelines; remove curly
4381 brackets for threads stuff, they no longer exist; use
4382 GST_TYPE_FRACTION for framerates; update some pieces of
4383 code to 0.10, but there's plenty more to do.
4385 * docs/manual/appendix-porting.xml:
4386 Expand on asynchroneous state changes; s/0.9/0.10/;
4387 mention disappearance of gst_init_get_popt_table()
4390 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
4392 * docs/faq/using.xml:
4393 Spider no longer exists, and neither does gst-launch-ext.
4394 Update examples to use decodebin and playbin and put
4395 converters in front of sinks (fixes #323726).
4397 2005-12-09 Michael Smith <msmith@fluendo.com>
4399 * plugins/elements/gsttypefindelement.c: (find_peek),
4400 (gst_type_find_element_chain):
4401 Fix leaking element factories in typefinding.
4402 Fix problem where we forgot about a probable type on non-seekable
4403 files, and thus later mis-typefound it.
4405 2005-12-09 Michael Smith <msmith@fluendo.com>
4407 * common/m4/gst-makecontext.m4:
4408 * common/m4/gst-mcsc.m4:
4410 * win32/common/config.h:
4411 * win32/common/config.h.in:
4412 Remove makecontext stuff; not used in 0.10 and causes problems on
4413 HPUX according to bug #322441
4415 2005-12-07 Wim Taymans <wim@fluendo.com>
4417 * tests/check/Makefile.am:
4418 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
4420 * tests/check/libs/struct_i386.h:
4421 Added ABI check for libs
4423 2005-12-07 Wim Taymans <wim@fluendo.com>
4425 * tests/check/Makefile.am:
4426 And add the struct_i386.h to dist.
4428 2005-12-07 Wim Taymans <wim@fluendo.com>
4430 * tests/check/Makefile.am:
4431 * tests/check/gst/.cvsignore:
4432 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
4434 * tests/check/gst/struct_i386.h:
4435 Added check for ABI compatibility.
4437 2005-12-07 Wim Taymans <wim@fluendo.com>
4439 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
4440 (gst_fake_src_get_times), (gst_fake_src_create):
4441 Fix broken sync option, fixes #323259
4443 2005-12-07 Wim Taymans <wim@fluendo.com>
4448 * gst/gstcaps.c: (gst_caps_is_equal):
4449 Don't assert on NULL <--> X. Fixes #323260
4451 * gst/gstminiobject.c: (gst_mini_object_replace):
4452 If we're doing atomic operations, we might just as well use
4453 the proper way to get an atomic pointer.
4455 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
4458 2005-12-07 Michael Smith <msmith@fluendo.com>
4460 * gst/parse/grammar.y:
4461 Remove handling of { } for threads.
4463 2005-12-06 David Schleef <ds@schleef.org>
4465 * libs/gst/base/gstbasetransform.c: speling fix.
4467 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
4469 * docs/libs/tmpl/gstdataprotocol.sgml:
4470 * docs/random/omega/testing/gstobject.c:
4474 * gst/gstelementfactory.c:
4477 * gst/gstghostpad.c:
4479 * gst/gstpadtemplate.c:
4480 * gst/gstregistryxml.c:
4482 * gst/gsttagsetter.c:
4483 * gst/gsttypefind.c:
4485 * libs/gst/base/gstbasesrc.c:
4486 * libs/gst/net/gstnetclientclock.c:
4487 * libs/gst/net/gstnettimeprovider.c:
4488 * plugins/elements/gstfakesrc.c:
4489 * plugins/elements/gstfdsrc.c:
4490 * plugins/elements/gstfilesrc.c:
4491 * plugins/elements/gstidentity.c:
4492 * plugins/elements/gstqueue.c:
4493 * plugins/elements/gsttypefindelement.c:
4494 * plugins/indexers/gstfileindex.c:
4495 * plugins/indexers/gstmemindex.c:
4496 * tests/check/gst/gsttag.c:
4497 * tests/old/examples/cutter/cutter.c:
4498 * tests/old/examples/mixer/mixer.c:
4499 * tests/old/examples/xml/runxml.c: (main):
4500 * tests/old/testsuite/caps/normalisation.c:
4501 * tests/old/testsuite/debug/global.c:
4502 * tests/old/testsuite/parse/parse1.c:
4503 * tools/gst-xmlinspect.c:
4504 * win32/common/dirent.c:
4507 === release 0.10.0 ===
4509 2005-12-05 <thomas (at) apestaart (dot) org>
4512 releasing 0.10.0, "Maroilles"
4514 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
4516 submitted by: Funda Wang <fundawang@linux.net.cn>
4520 added Chinese (Traditional) translation
4522 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
4524 * docs/gst/gstreamer-sections.txt:
4525 * docs/libs/tmpl/gstdataprotocol.sgml:
4526 * docs/random/thomasvs/TODO:
4531 2005-12-05 Andy Wingo <wingo@pobox.com>
4533 patch by: Wim Taymans <wim@fluendo.com>
4535 * libs/gst/base/gstbasetransform.c
4536 (gst_base_transform_prepare_output_buf)
4537 (gst_base_transform_buffer_alloc):
4538 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
4539 alloc_buffer_and_set_caps.
4541 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
4542 set_caps on the source pad.
4543 (gst_pad_alloc_buffer_and_set_caps): New function, does what
4544 alloc_buffer used to do. Fixes #322874.
4546 * docs/gst/gstreamer-sections.txt:
4547 * docs/design/part-negotiation.txt:
4548 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
4551 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
4553 patch by: Sebastien Moutte
4556 * win32/common/config.h.in:
4557 * win32/vs6/libgstcontroller.dsp:
4560 2005-12-05 Wim Taymans <wim@fluendo.com>
4562 * gst/gstcaps.c: (gst_caps_is_equal):
4563 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
4564 (gst_fake_src_create):
4565 Back out previous code changes, leave doc updates, file bugs
4568 2005-12-05 Wim Taymans <wim@fluendo.com>
4570 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
4571 (gst_fake_src_get_times), (gst_fake_src_create):
4572 * plugins/elements/gstfakesrc.h:
4573 Fix broken sync code.
4575 2005-12-05 Wim Taymans <wim@fluendo.com>
4577 * gst/gstcaps.c: (gst_caps_is_equal):
4578 Comparing NULL against !NULL yields different caps, not a
4581 2005-12-05 Wim Taymans <wim@fluendo.com>
4583 * gst/gstpipeline.c:
4584 Fix small typo in docs.
4586 2005-12-05 Andy Wingo <wingo@pobox.com>
4588 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
4590 * gst/gst.c (init_post): remove hard-coded 0.9 location for
4591 registries/plugins with a MAJORMINOR one.
4592 (plugin_desc): Rename library from gstcoreleements to
4593 staticelements. Fixes #323222.
4595 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
4597 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
4598 Change debug category to 'collectpads' from 'collect_pads'
4601 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
4603 patch by: Sebastien Moutte
4605 * libs/gst/controller/gstinterpolation.c:
4606 use convert function for uint64/double
4607 * win32/vs6/libgstcontroller.dsp:
4610 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
4612 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
4613 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
4615 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
4616 add tests that seem to show that the guint64/gdouble conversions
4619 2005-12-02 Wim Taymans <wim@fluendo.com>
4621 * gst/gstregistry.c: (gst_registry_add_path):
4622 * gst/gstregistry.h:
4623 * gst/gstregistryxml.c:
4626 2005-12-02 Wim Taymans <wim@fluendo.com>
4628 * gst/gstutils.c: (gst_util_uint64_scale_int64),
4629 (gst_util_uint64_scale_int):
4632 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4635 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
4638 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
4641 * win32/common/config.h:
4642 * win32/vs6/gstreamer.dsw:
4643 * win32/vs6/libgstcoreelements.dsp:
4644 * win32/vs6/libgstelements.dsp:
4645 renamed core elements plugin
4647 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
4649 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
4651 do piece-wise major/minor comparison so 0.9 < 0.10
4652 also allow .exe extensions for tools
4654 2005-12-02 Michael Smith <msmith@fluendo.com>
4657 Escape a % to make gtkdoc happier; bug 322958.
4659 === release 0.9.7 ===
4661 2005-12-01 <thomas (at) apestaart (dot) org>
4664 releasing 0.9.7, "My Dog Has No Nose"
4666 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
4668 * common/gst-xmlinspect.py:
4670 * docs/libs/tmpl/gstdataprotocol.sgml:
4671 * docs/random/release:
4690 * win32/common/config.h:
4691 * win32/common/config.h.in:
4692 * win32/vs6/gst_inspect.dsp:
4693 * win32/vs6/gst_launch.dsp:
4694 * win32/vs6/libgstbase.dsp:
4695 * win32/vs6/libgstelements.dsp:
4696 * win32/vs6/libgstreamer.dsp:
4697 * win32/vs7/GStreamer.vcproj:
4698 * win32/vs7/gst-inspect.vcproj:
4699 * win32/vs7/gst-launch.vcproj:
4700 * win32/vs7/libgstbase.vcproj:
4701 bump GST_MAJORMINOR to 0.10
4702 reset libtool version
4704 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
4708 Added Bulgarian translation by (Alexander Shopov)
4710 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
4712 * tests/check/gst/gstplugin.c:
4715 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
4717 * common/gst-xmlinspect.py:
4718 * common/gtk-doc-plugins.mak:
4721 * docs/gst/Makefile.am:
4722 * docs/gst/gstreamer-docs.sgml:
4723 * docs/gst/gstreamer-sections.txt:
4724 * docs/gst/gstreamer.types:
4725 * docs/gst/gstreamer.types.in:
4726 * docs/plugins/Makefile.am:
4727 * docs/plugins/gstreamer-plugins-docs.sgml:
4728 * docs/plugins/gstreamer-plugins-sections.txt:
4729 * docs/plugins/gstreamer-plugins.types:
4730 * docs/plugins/inspect.stamp:
4731 * docs/plugins/inspect/plugin-coreelements.xml:
4732 * docs/plugins/inspect/plugin-coreindexers.xml:
4733 * docs/plugins/scanobj-build.stamp:
4734 * gstreamer.spec.in:
4735 * plugins/elements/Makefile.am:
4736 * plugins/elements/gstelements.c:
4737 * plugins/elements/gstfakesink.c:
4738 * plugins/elements/gstfakesrc.c:
4739 * plugins/elements/gstfilesink.c:
4740 * plugins/elements/gstfilesrc.c:
4741 * plugins/elements/gstqueue.c:
4742 * plugins/indexers/Makefile.am:
4743 * plugins/indexers/gstindexers.c:
4744 document core plugins in a separate document just like all the
4746 rename these plugins to something starting with core
4748 2005-12-01 Andy Wingo <wingo@pobox.com>
4750 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
4751 padding here before, but it missed the commit.
4753 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
4755 * libs/gst/controller/gstinterpolation.c:
4756 whitespace prices have crashed, we should feel free to use some now
4757 use gst_guint64_to_gdouble
4759 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
4761 * libs/gst/controller/gstcontroller.c:
4762 * libs/gst/controller/gsthelper.c:
4763 * libs/gst/controller/gstinterpolation.c:
4764 * libs/gst/controller/lib.c:
4765 wrap config.h include
4767 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
4769 * docs/gst/gstreamer-sections.txt:
4772 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
4774 * plugins/elements/gstelements.c:
4775 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
4776 (gst_fd_sink__class_init), (gst_fd_sink__init),
4777 (gst_fd_sink__chain), (gst_fd_sink__set_property),
4778 (gst_fd_sink__get_property):
4779 * plugins/elements/gstfdsink.h:
4780 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
4781 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
4782 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
4783 (gst_fd_src_unlock), (gst_fd_src_set_property),
4784 (gst_fd_src_get_property), (gst_fd_src_create),
4785 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
4786 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
4787 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
4788 (gst_fd_src_uri_handler_init):
4789 * plugins/elements/gstfdsrc.h:
4790 * plugins/elements/gstqueue.c: (gst_queue_get_type):
4793 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
4795 * docs/gst/Makefile.am:
4796 * docs/gst/gstreamer.types.in:
4800 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
4806 * gst/gstregistry.h:
4807 * tests/benchmarks/complexity.c:
4808 * tests/benchmarks/mass-elements.c:
4809 * tests/check/Makefile.am:
4810 * tools/Makefile.am:
4811 * tools/gst-inspect.c:
4812 * tools/gst-xmlinspect.c:
4813 various fixes to make
4814 --disable-nls --disable-registry --disable-loadsave
4815 --disable-parse --disable-gst-debug
4816 work and get the core .so down to 360444 bytes after stripping
4818 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
4823 * docs/random/thomasvs/TODO:
4824 * tests/Makefile.am:
4828 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
4830 * win32/GStreamer.vcproj:
4833 * win32/Makefile.inspect:
4834 * win32/Makefile.launch:
4835 * win32/Makefile.register:
4837 * win32/gst-inspect.vcproj:
4838 * win32/gst-launch.vcproj:
4839 * win32/gst-register.vcproj:
4840 * win32/gstelements.vcproj:
4841 * win32/gstgetbits.def:
4842 * win32/gstgetbits.vcproj:
4843 * win32/gstreamer-dbg.def:
4844 * win32/gstreamer.def:
4845 * win32/libgstbase.def:
4846 * win32/libgstbase.vcproj:
4847 * win32/link_oldruntime.c:
4852 move even more stuff, win32/ is nice and clean now
4854 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
4856 * libs/gst/control/.cvsignore:
4861 * win32/gstbytestream.def:
4862 * win32/gstbytestream.vcproj:
4863 * win32/gstconfig.h:
4864 * win32/gstenumtypes.c:
4865 * win32/gstenumtypes.h:
4866 * win32/gstoptimalscheduler.vcproj:
4867 * win32/gstversion.h:
4869 * win32/testsuite/bins.vcproj:
4870 * win32/testsuite/bytestream.vcproj:
4871 * win32/testsuite/caps.vcproj:
4872 * win32/testsuite/cleanup.vcproj:
4873 * win32/testsuite/clock.vcproj:
4874 * win32/testsuite/debug.vcproj:
4875 * win32/testsuite/dlopen.vcproj:
4876 * win32/testsuite/dynparams.vcproj:
4877 * win32/testsuite/elements.vcproj:
4878 * win32/testsuite/ghostpads.vcproj:
4879 * win32/testsuite/indexers.vcproj:
4880 * win32/testsuite/negotiation.vcproj:
4881 * win32/testsuite/parse.vcproj:
4882 * win32/testsuite/plugin.vcproj:
4883 * win32/testsuite/refcounting.vcproj:
4884 * win32/testsuite/schedulers.vcproj:
4885 * win32/testsuite/states.vcproj:
4886 * win32/testsuite/tags.vcproj:
4887 * win32/testsuite/threads.vcproj:
4888 remove old win32 stuff that isn't maintained and should be
4891 2005-11-30 Andy Wingo <wingo@pobox.com>
4893 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
4894 loading the gst.interfaces python module bork.
4896 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
4897 available since GLib 2.2. Fixes #318031.
4899 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
4903 * check/Makefile.am:
4904 * check/elements/.cvsignore:
4905 * check/elements/fakesrc.c:
4906 * check/elements/fdsrc.c:
4907 * check/elements/identity.c:
4908 * check/generic/.cvsignore:
4909 * check/generic/states.c:
4910 * check/gst-libs/.cvsignore:
4911 * check/gst-libs/controller.c:
4912 * check/gst-libs/gdp.c:
4913 * check/gst/.cvsignore:
4914 * check/gst/capslist.h:
4916 * check/gst/gstbin.c:
4917 * check/gst/gstbuffer.c:
4918 * check/gst/gstbus.c:
4919 * check/gst/gstcaps.c:
4920 * check/gst/gstelement.c:
4921 * check/gst/gstevent.c:
4922 * check/gst/gstghostpad.c:
4923 * check/gst/gstiterator.c:
4924 * check/gst/gstmessage.c:
4925 * check/gst/gstminiobject.c:
4926 * check/gst/gstobject.c:
4927 * check/gst/gstpad.c:
4928 * check/gst/gstpipeline.c:
4929 * check/gst/gstplugin.c:
4930 * check/gst/gstsegment.c:
4931 * check/gst/gststructure.c:
4932 * check/gst/gstsystemclock.c:
4933 * check/gst/gsttag.c:
4934 * check/gst/gstutils.c:
4935 * check/gst/gstvalue.c:
4936 * check/net/.cvsignore:
4937 * check/net/gstnetclientclock.c:
4938 * check/net/gstnettimeprovider.c:
4939 * check/pipelines/.cvsignore:
4940 * check/pipelines/cleanup.c:
4941 * check/pipelines/simple_launch_lines.c:
4942 * check/pipelines/stress.c:
4943 * check/states/.cvsignore:
4944 * check/states/sinks.c:
4946 * examples/Makefile.am:
4947 * examples/appreader/.cvsignore:
4948 * examples/appreader/Makefile.am:
4949 * examples/appreader/appreader.c:
4950 * examples/controller/.cvsignore:
4951 * examples/controller/Makefile.am:
4952 * examples/controller/audio-example.c:
4953 * examples/cutter/.cvsignore:
4954 * examples/cutter/Makefile.am:
4955 * examples/cutter/cutter.c:
4956 * examples/cutter/cutter.h:
4957 * examples/events/Makefile.am:
4958 * examples/events/seek.c:
4959 * examples/helloworld/.cvsignore:
4960 * examples/helloworld/Makefile.am:
4961 * examples/helloworld/helloworld.c:
4962 * examples/helloworld2/.cvsignore:
4963 * examples/helloworld2/Makefile.am:
4964 * examples/helloworld2/helloworld2.c:
4965 * examples/launch/.cvsignore:
4966 * examples/launch/Makefile.am:
4967 * examples/launch/mp3parselaunch.c:
4968 * examples/launch/mp3play:
4969 * examples/manual/.cvsignore:
4970 * examples/manual/Makefile.am:
4971 * examples/manual/extract.pl:
4972 * examples/metadata/Makefile.am:
4973 * examples/metadata/read-metadata.c:
4974 * examples/mixer/.cvsignore:
4975 * examples/mixer/Makefile.am:
4976 * examples/mixer/mixer.c:
4977 * examples/mixer/mixer.h:
4978 * examples/pingpong/.cvsignore:
4979 * examples/pingpong/Makefile.am:
4980 * examples/pingpong/pingpong.c:
4981 * examples/plugins/.cvsignore:
4982 * examples/plugins/Makefile.am:
4983 * examples/plugins/example.c:
4984 * examples/plugins/example.h:
4985 * examples/pwg/.cvsignore:
4986 * examples/pwg/Makefile.am:
4987 * examples/pwg/extract.pl:
4988 * examples/queue/.cvsignore:
4989 * examples/queue/Makefile.am:
4990 * examples/queue/queue.c:
4991 * examples/queue2/.cvsignore:
4992 * examples/queue2/Makefile.am:
4993 * examples/queue2/queue2.c:
4994 * examples/queue3/.cvsignore:
4995 * examples/queue3/Makefile.am:
4996 * examples/queue3/queue3.c:
4997 * examples/queue4/.cvsignore:
4998 * examples/queue4/Makefile.am:
4999 * examples/queue4/queue4.c:
5000 * examples/retag/.cvsignore:
5001 * examples/retag/Makefile.am:
5002 * examples/retag/retag.c:
5003 * examples/retag/transcode.c:
5004 * examples/thread/.cvsignore:
5005 * examples/thread/Makefile.am:
5006 * examples/thread/thread.c:
5007 * examples/typefind/.cvsignore:
5008 * examples/typefind/Makefile.am:
5009 * examples/typefind/typefind.c:
5010 * examples/xml/.cvsignore:
5011 * examples/xml/Makefile.am:
5012 * examples/xml/createxml.c:
5013 * examples/xml/runxml.c:
5014 * tests/Makefile.am:
5015 * tests/check/Makefile.am:
5016 * testsuite/.cvsignore:
5017 * testsuite/Makefile.am:
5019 * testsuite/caps/.cvsignore:
5020 * testsuite/caps/Makefile.am:
5021 * testsuite/caps/app_fixate.c:
5022 * testsuite/caps/audioscale.c:
5023 * testsuite/caps/caps.c:
5024 * testsuite/caps/caps.h:
5025 * testsuite/caps/caps_strings:
5026 * testsuite/caps/compatibility.c:
5027 * testsuite/caps/deserialize.c:
5028 * testsuite/caps/enumcaps.c:
5029 * testsuite/caps/eratosthenes.c:
5030 * testsuite/caps/filtercaps.c:
5031 * testsuite/caps/fixed.c:
5032 * testsuite/caps/fraction-convert.c:
5033 * testsuite/caps/fraction-multiply-and-zero.c:
5034 * testsuite/caps/intersect2.c:
5035 * testsuite/caps/intersection.c:
5036 * testsuite/caps/normalisation.c:
5037 * testsuite/caps/random.c:
5038 * testsuite/caps/renegotiate.c:
5039 * testsuite/caps/sets.c:
5040 * testsuite/caps/simplify.c:
5041 * testsuite/caps/string-conversions.c:
5042 * testsuite/caps/structure.c:
5043 * testsuite/caps/subtract.c:
5044 * testsuite/caps/union.c:
5045 * testsuite/debug/.cvsignore:
5046 * testsuite/debug/Makefile.am:
5047 * testsuite/debug/category.c:
5048 * testsuite/debug/commandline.c:
5049 * testsuite/debug/global.c:
5050 * testsuite/debug/output.c:
5051 * testsuite/debug/printf_extension.c:
5052 * testsuite/dlopen/.cvsignore:
5053 * testsuite/dlopen/Makefile.am:
5054 * testsuite/dlopen/dlopen_gst.c:
5055 * testsuite/dlopen/loadgst.c:
5056 * testsuite/elements/.cvsignore:
5057 * testsuite/elements/Makefile.am:
5058 * testsuite/elements/gst-inspect-check.in:
5059 * testsuite/elements/struct_i386.h:
5060 * testsuite/elements/struct_size.c:
5061 * testsuite/indexers/.cvsignore:
5062 * testsuite/indexers/Makefile.am:
5063 * testsuite/indexers/cache1.c:
5064 * testsuite/indexers/indexdump.c:
5065 * testsuite/parse/.cvsignore:
5066 * testsuite/parse/Makefile.am:
5067 * testsuite/parse/parse1.c:
5068 * testsuite/parse/parse2.c:
5069 * testsuite/plugin/.cvsignore:
5070 * testsuite/plugin/Makefile.am:
5071 * testsuite/plugin/README:
5072 * testsuite/plugin/dynamic.c:
5073 * testsuite/plugin/linked.c:
5074 * testsuite/plugin/loading.c:
5075 * testsuite/plugin/registry.c:
5076 * testsuite/plugin/static.c:
5077 * testsuite/plugin/static2.c:
5078 * testsuite/plugin/testplugin.c:
5079 * testsuite/plugin/testplugin2.c:
5080 * testsuite/plugin/testplugin2_s.c:
5081 * testsuite/plugin/testplugin_s.c:
5082 * testsuite/refcounting/.cvsignore:
5083 * testsuite/refcounting/Makefile.am:
5084 * testsuite/refcounting/bin.c:
5085 * testsuite/refcounting/element.c:
5086 * testsuite/refcounting/element_pad.c:
5087 * testsuite/refcounting/mainloop.c:
5088 * testsuite/refcounting/mem.c:
5089 * testsuite/refcounting/mem.h:
5090 * testsuite/refcounting/object.c:
5091 * testsuite/refcounting/pad.c:
5092 * testsuite/refcounting/sched.c:
5093 * testsuite/refcounting/thread.c:
5094 * testsuite/states/.cvsignore:
5095 * testsuite/states/Makefile.am:
5096 * testsuite/states/bin.c:
5097 * testsuite/states/locked.c:
5098 * testsuite/states/parent.c:
5099 * testsuite/threads/.cvsignore:
5100 * testsuite/threads/159566.c:
5101 * testsuite/threads/159852.c:
5102 * testsuite/threads/Makefile.am:
5103 * testsuite/threads/queue.c:
5104 * testsuite/threads/signals.c:
5105 * testsuite/threads/staticrec.c:
5106 * testsuite/threads/thread.c:
5107 * testsuite/threads/threadb.c:
5108 * testsuite/threads/threadc.c:
5109 * testsuite/threads/threadd.c:
5110 * testsuite/threads/threade.c:
5111 * testsuite/threads/threadf.c:
5112 * testsuite/threads/threadg.c:
5113 * testsuite/threads/threadh.c:
5114 * testsuite/threads/threadi.c:
5115 move all of these under tests
5117 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5120 * tests/Makefile.am:
5123 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5125 * docs/gst/gstreamer-sections.txt:
5126 * tests/sched/.cvsignore:
5127 * tests/sched/Makefile.am:
5128 * tests/sched/cases/(fs-fs).xml:
5129 * tests/sched/cases/(fs-i-fs).xml:
5130 * tests/sched/cases/(fs-i-i-fs).xml:
5131 * tests/sched/cases/(fs-i-q[i-fs]).xml:
5132 * tests/sched/dynamic-pipeline.c:
5133 * tests/sched/interrupt1.c:
5134 * tests/sched/interrupt2.c:
5135 * tests/sched/interrupt3.c:
5136 * tests/sched/runtestcases:
5137 * tests/sched/runxml.c:
5138 * tests/sched/sched-stress.c:
5139 * tests/sched/sort.c:
5140 * tests/sched/testcases:
5141 * tests/sched/testcases1.tc:
5142 * tests/seeking/.cvsignore:
5143 * tests/seeking/Makefile.am:
5144 * tests/seeking/seeking1.c:
5145 * tests/threadstate/.cvsignore:
5146 * tests/threadstate/Makefile.am:
5147 * tests/threadstate/test1.c:
5148 * tests/threadstate/test2.c:
5149 * tests/threadstate/threadstate1.c:
5150 * tests/threadstate/threadstate2.c:
5151 * tests/threadstate/threadstate3.c:
5152 * tests/threadstate/threadstate4.c:
5153 * tests/threadstate/threadstate5.c:
5154 remove obsolete tests
5156 * tests/bench-complexity.scm:
5157 * tests/bench-mass_elements.scm:
5158 * tests/complexity.c:
5159 * tests/complexity.gnuplot:
5160 * tests/instantiate/.cvsignore:
5161 * tests/instantiate/Makefile.am:
5162 * tests/instantiate/caps.c:
5163 * tests/mass_elements.c:
5164 * tests/network-clock-utils.scm:
5165 * tests/network-clock.scm:
5167 First pass at cleaning up tests/ dir before moving the rest
5168 Combined with CVS surgery
5170 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5173 queue has moved, update
5175 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5177 * docs/gst/gstreamer-sections.txt:
5178 remove double entries from the docs
5179 * gst/gst_private.h:
5180 * gst/gstinfo.c: (_gst_debug_init):
5181 remove the THREAD debug category
5185 * docs/gst/gstreamer.types:
5186 * plugins/elements/gstqueue.c: (gst_queue_get_type),
5187 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
5188 completely move queue and fix up debugging categories
5190 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5192 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
5193 make initialization portable, using LL is not
5195 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5197 * win32/common/gstconfig.h:
5200 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5202 * win32/common/libgstreamer.def:
5203 rename symbols; sort base section
5205 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5207 * gst/gstclock.c: (do_linear_regression):
5208 remove crack non-portable handrolled DEBUG macro
5210 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5212 * docs/random/release:
5214 * win32/common/gstenumtypes.c: (register_gst_object_flags),
5215 (gst_object_flags_get_type), (register_gst_bin_flags),
5216 (gst_bin_flags_get_type), (register_gst_buffer_flag),
5217 (gst_buffer_flag_get_type), (register_gst_bus_flags),
5218 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
5219 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
5220 (gst_caps_flags_get_type), (register_gst_clock_return),
5221 (gst_clock_return_get_type), (register_gst_clock_entry_type),
5222 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
5223 (gst_clock_flags_get_type), (register_gst_state),
5224 (gst_state_get_type), (register_gst_state_change_return),
5225 (gst_state_change_return_get_type), (register_gst_state_change),
5226 (gst_state_change_get_type), (register_gst_element_flags),
5227 (gst_element_flags_get_type), (register_gst_core_error),
5228 (gst_core_error_get_type), (register_gst_library_error),
5229 (gst_library_error_get_type), (register_gst_resource_error),
5230 (gst_resource_error_get_type), (register_gst_stream_error),
5231 (gst_stream_error_get_type), (register_gst_event_type_flags),
5232 (gst_event_type_flags_get_type), (register_gst_event_type),
5233 (gst_event_type_get_type), (register_gst_seek_type),
5234 (gst_seek_type_get_type), (register_gst_seek_flags),
5235 (gst_seek_flags_get_type), (register_gst_format),
5236 (gst_format_get_type), (register_gst_index_certainty),
5237 (gst_index_certainty_get_type), (register_gst_index_entry_type),
5238 (gst_index_entry_type_get_type),
5239 (register_gst_index_lookup_method),
5240 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
5241 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
5242 (gst_index_resolver_method_get_type), (register_gst_index_flags),
5243 (gst_index_flags_get_type), (register_gst_debug_level),
5244 (gst_debug_level_get_type), (register_gst_debug_color_flags),
5245 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
5246 (gst_iterator_result_get_type), (register_gst_iterator_item),
5247 (gst_iterator_item_get_type), (register_gst_message_type),
5248 (gst_message_type_get_type), (register_gst_mini_object_flags),
5249 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
5250 (gst_pad_link_return_get_type), (register_gst_flow_return),
5251 (gst_flow_return_get_type), (register_gst_activate_mode),
5252 (gst_activate_mode_get_type), (register_gst_pad_direction),
5253 (gst_pad_direction_get_type), (register_gst_pad_flags),
5254 (gst_pad_flags_get_type), (register_gst_pad_presence),
5255 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
5256 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
5257 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
5258 (gst_plugin_error_get_type), (register_gst_plugin_flags),
5259 (gst_plugin_flags_get_type), (register_gst_rank),
5260 (gst_rank_get_type), (register_gst_query_type),
5261 (gst_query_type_get_type), (register_gst_tag_merge_mode),
5262 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
5263 (gst_tag_flag_get_type), (register_gst_task_state),
5264 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
5265 (gst_alloc_trace_flags_get_type),
5266 (register_gst_type_find_probability),
5267 (gst_type_find_probability_get_type), (register_gst_uri_type),
5268 (gst_uri_type_get_type), (register_gst_parse_error),
5269 (gst_parse_error_get_type):
5270 * win32/common/gstenumtypes.h:
5271 * win32/common/gstversion.h:
5272 update visual studio generated files
5274 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5276 * win32/vs6/libgstbase.dsp:
5277 * win32/vs6/libgstelements.dsp:
5278 update project files for new locations
5280 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5285 reinstate and update
5290 * docs/random/LICENSE:
5293 2005-11-30 Edward Hervey <edward@fluendo.com>
5295 * gst/gsttypefind.c: (gst_type_find_register):
5296 * gst/gsttypefind.h:
5297 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
5298 (gst_type_find_factory_dispose):
5299 * gst/gsttypefindfactory.h:
5300 Fix memory leak in GstTypeFindFactory.
5302 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5305 * plugins/elements/Makefile.am:
5306 * plugins/elements/gstelements.c:
5307 * plugins/elements/gstqueue.c:
5308 move queue from core to the elements plugin
5310 2005-11-29 Andy Wingo <wingo@pobox.com>
5312 * libs/gst/base/gstbasetransform.h:
5313 * libs/gst/base/gstbasesrc.h:
5314 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
5316 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
5317 of pointers by which to pad very extensible base classes (like the
5318 ones in libs/gst/base).
5320 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5322 * docs/gst/gstreamer-docs.sgml:
5323 * docs/gst/gstreamer-sections.txt:
5324 * docs/libs/gstreamer-libs-docs.sgml:
5325 * docs/libs/gstreamer-libs-sections.txt:
5326 moving documentation from core to lib
5328 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5330 * check/Makefile.am:
5332 * docs/gst/Makefile.am:
5334 * gst/base/.cvsignore:
5335 * gst/base/Makefile.am:
5337 * gst/base/gstadapter.c:
5338 * gst/base/gstadapter.h:
5339 * gst/base/gstbasesink.c:
5340 * gst/base/gstbasesink.h:
5341 * gst/base/gstbasesrc.c:
5342 * gst/base/gstbasesrc.h:
5343 * gst/base/gstbasetransform.c:
5344 * gst/base/gstbasetransform.h:
5345 * gst/base/gstcollectpads.c:
5346 * gst/base/gstcollectpads.h:
5347 * gst/base/gstpushsrc.c:
5348 * gst/base/gstpushsrc.h:
5349 * gst/base/gsttypefindhelper.c:
5350 * gst/base/gsttypefindhelper.h:
5351 * gst/check/Makefile.am:
5352 * gst/check/gstcheck.c:
5353 * gst/check/gstcheck.h:
5354 * gst/net/Makefile.am:
5356 * gst/net/gstnetclientclock.c:
5357 * gst/net/gstnetclientclock.h:
5358 * gst/net/gstnettimepacket.c:
5359 * gst/net/gstnettimepacket.h:
5360 * gst/net/gstnettimeprovider.c:
5361 * gst/net/gstnettimeprovider.h:
5362 * libs/gst/Makefile.am:
5363 * libs/gst/base/Makefile.am:
5364 * libs/gst/base/gstbasetransform.c:
5365 * libs/gst/check/Makefile.am:
5366 * plugins/elements/Makefile.am:
5368 CVS surgery + support to move base, check, and net out of gst
5371 2005-11-29 Andy Wingo <wingo@pobox.com>
5373 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
5375 * gst/gststructure.h (struct _GstStructure): Only one pointer of
5378 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
5380 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
5382 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
5384 * gst/gstobject.h: (struct _GstObject): Only one pointer of
5385 padding; reduces object size by about 30%. We don't expect
5386 anything else to go into gstobject.
5388 * gst/gstminiobject.h (struct _GstMiniObject)
5389 (struct _GstMiniObjectClass): Only one pointer of padding; the
5390 payload is only a pointer and two ints anyway. For the class there
5391 are only two methods as well.
5393 * gst/gstelement.h (struct _GstElementClass): Removed
5394 the state_changed signal callback, it is not used.
5396 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
5398 * docs/gst/gstreamer.types:
5399 fix includes, though they are a little dinky
5401 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5403 * check/Makefile.am:
5404 look in the right place for elements, a lot more chance of
5407 remove indexers and elements subdirs
5408 * plugins/Makefile.am:
5409 make indexers conditional
5411 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5415 * plugins/elements/Makefile.am:
5416 * plugins/elements/gstcapsfilter.c:
5417 * plugins/elements/gstfilesink.c:
5418 * plugins/elements/gstfilesrc.c:
5419 * plugins/elements/gstidentity.c:
5420 * plugins/indexers/Makefile.am:
5421 do CVS surgery and related build fixery to move elements
5422 and indexers in a new gstreamer/plugins directory, out of the
5425 2005-11-29 Andy Wingo <wingo@pobox.com>
5427 * check/Makefile.am:
5428 * pkgconfig/gstreamer-net-uninstalled.pc.in:
5429 * pkgconfig/gstreamer-net.pc.in:
5430 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
5433 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
5435 * tools/Makefile.am:
5436 * tools/gst-complete.1.in:
5437 * tools/gst-complete.c:
5438 * tools/gst-compprep.1.in:
5439 * tools/gst-compprep.c:
5440 removing -compprep and -complete
5442 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
5444 * gst/gstevent.c: (gst_event_new_new_segment),
5445 (gst_event_parse_new_segment):
5447 fix #320529 - clean up new_segment API and structure.
5448 Let's hope everyone was using the methods, and not the structure.
5450 2005-11-29 Edward Hervey <edward@fluendo.com>
5452 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5453 (gst_base_sink_event), (gst_base_sink_do_sync),
5454 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
5455 Properly handle non GST_FORMAT_TIME segment
5456 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
5457 Properly handle non GST_FORMAT_TIME segment
5459 This function is valid if the accumulator is 0 and the format
5460 is different from the requested format.
5462 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
5464 * docs/gst/gstreamer-sections.txt:
5465 Add gst_query_new_seeking and gst_query_parse_seeking to the
5468 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
5470 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
5471 Treat a pad alloc with new caps the same as if we were not
5472 negotiated, in order to allow a changing upstream output
5473 to produce a new format of data.
5475 2005-11-29 Edward Hervey <edward@fluendo.com>
5477 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
5478 (gst_base_transform_event), (gst_base_transform_eventfunc):
5479 The event virtual method is now properly implemented, with a default
5481 Sub classes should call the parent_class event method. They should
5482 return FALSE if they had a problem handling the given event, or don't
5483 want GstBaseTransform to send that even downstream
5484 * gst/elements/gstidentity.c: (gst_identity_class_init),
5485 (gst_identity_init), (gst_identity_event),
5486 (gst_identity_transform_ip), (gst_identity_set_property),
5487 (gst_identity_get_property):
5488 * gst/elements/gstidentity.h:
5489 Added the single-segment boolean property.
5490 If set to TRUE, it will output a single segment of data, starting from
5491 0, will eat up all incoming newsegment, and modify the timestamp of the
5494 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
5496 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
5497 Don't ref NULL target pad (#322751). Improve docs.
5499 2005-11-29 Michael Smith <msmith@fluendo.com>
5501 * gst/gstregistryxml.c: (load_plugin):
5502 Don't crash if we failed to load a feature from a plugin.
5504 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
5506 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
5508 use more check API and less GLib API
5510 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
5513 don't run checks if we don't have check
5515 remove the registry when running make torture
5516 * docs/gst/gstreamer-sections.txt:
5517 remove second multiply
5518 * gst/gstqueue.c: (gst_queue_loop):
5519 fix a compile warning when disabling debug
5521 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
5524 Hey! Let's print the pad name if the pointer != NULL instead
5525 of when it == NULL :-)
5527 2005-11-28 Wim Taymans <wim@fluendo.com>
5529 * check/gst/gstutils.c: (GST_START_TEST):
5530 Updated check, add some scaling accuracy checking code.
5532 * gst/gstutils.c: (gst_util_div128_64),
5533 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
5534 (gst_util_uint64_scale_int):
5535 Fix 6 times faster division code. Optimize for common
5536 1/1 and less common X/1 cases.
5538 2005-11-28 Wim Taymans <wim@fluendo.com>
5540 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
5543 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
5544 (do_linear_regression), (gst_clock_add_observation):
5546 Release lock when the clock cannot be slaved.
5547 Catch the case where the regression returned an invalid denominator.
5549 * gst/gstutils.c: (gst_util_div128_64_iterate),
5550 (gst_util_div128_64), (gst_util_uint64_scale_int64),
5551 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
5552 Add protentially more performant non-iterative 128/64 divide function
5553 that unfortunatly does not work yet.
5554 Shortcut the trivial 0/X = 0 case.
5555 Remove the warnings on overflow.
5557 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
5559 * gst/gstplugin.c: (gst_plugin_register_func):
5560 everything causing a plugin not to load should be at least a WARNING
5562 2005-11-28 Stefan Kost <ensonic@users.sf.net>
5564 * docs/random/ensonic/dparams.txt:
5565 some TODOs for the next dev cycle
5566 * libs/gst/controller/gstcontroller.c:
5567 (gst_controlled_property_set_interpolation_mode),
5568 (gst_controlled_property_new):
5569 * libs/gst/controller/gstcontroller.h:
5570 use base type to assign acccessor functions
5572 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
5574 * check/Makefile.am:
5575 Oops, that should have been top_srcdir
5577 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
5579 * check/Makefile.am:
5580 * check/elements/fdsrc.c: (GST_START_TEST):
5581 Use a cmdline define to specify the location of a file to use for
5582 testing, to avoid breaking distcheck.
5584 2005-11-28 Andy Wingo <wingo@pobox.com>
5586 * gst/gstpad.c (fixate_value): Use array functions for arrays.
5588 2005-11-28 Edward Hervey <edward@fluendo.com>
5590 * tools/gst-launch.c: (main):
5591 Clarify the output strings, makes it easier to translate.
5594 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
5597 don't try and build net if we don't even have <sys/socket.h>
5599 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
5601 * check/Makefile.am:
5602 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
5603 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
5604 Add tests for fdsrc seekability
5606 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
5607 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
5608 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
5609 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
5610 * gst/elements/gstfdsrc.h:
5611 fdsrc should not be a 'live' source.
5612 Implement seeking on seekable fd's.
5614 * gst/gstquery.c: (gst_query_new_seeking),
5615 (gst_query_parse_seeking):
5617 Implement SEEKING query functions:
5618 *_new_seeking and *_parse_seeking
5620 2005-11-27 Stefan Kost <ensonic@users.sf.net>
5622 * gst/gstelement.c: (gst_element_dispose):
5625 * gst/gstiterator.c:
5626 * gst/gststructure.c:
5629 * libs/gst/controller/gstcontroller.c:
5630 (gst_controlled_property_set_interpolation_mode):
5631 * libs/gst/controller/gstcontroller.h:
5632 * libs/gst/controller/gstinterpolation.c:
5633 (interpolate_none_get_enum_value_array):
5634 support controlling enums
5636 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
5639 Improve documentation for gst_value_union().
5642 Change return value for union, intersect and subtract functions
5643 from gint to gboolean.
5645 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
5647 * gst/gstvalue.c: (gst_value_serialize_any_list),
5648 (gst_value_transform_any_list_string),
5649 (gst_value_deserialize_list), (gst_value_deserialize_array),
5650 (gst_value_set_int_range), (gst_value_deserialize_int_range),
5651 (gst_value_set_double_range), (gst_value_deserialize_double_range),
5652 (gst_value_set_fraction_range_full),
5653 (gst_value_deserialize_fraction_range),
5654 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
5655 (gst_value_deserialize_boolean),
5656 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
5657 (gst_value_serialize_float), (gst_value_deserialize_float),
5658 (gst_string_wrap), (gst_value_deserialize_string),
5659 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
5660 (gst_value_union_int_range_int_range),
5661 (gst_value_intersect_int_range_int_range),
5662 (gst_value_intersect_double_range_double_range),
5663 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
5664 (gst_value_subtract_int_range_int_range),
5665 (gst_value_subtract_double_double_range),
5666 (gst_value_subtract_double_range_double_range),
5667 (gst_value_deserialize_fraction):
5669 Use gint, gdouble and gchar in our API instead of int, double and
5670 char (and make usage in gstvalue.c more consistent).
5672 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
5674 * check/Makefile.am:
5675 * libs/gst/controller/Makefile.am:
5676 * libs/gst/dataprotocol/Makefile.am:
5677 fix up Makefile.am and remove GST_ENABLE_NEW
5679 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
5683 * gst/base/Makefile.am:
5684 * gst/check/Makefile.am:
5685 * gst/elements/Makefile.am:
5686 * gst/net/Makefile.am:
5687 update LDFLAGS use some more
5689 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
5691 * common/m4/gst-doc.m4:
5694 2005-11-26 Edward Hervey <edward@fluendo.com>
5696 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
5697 This shouldn't issue a g_warning since it returns NULL if it
5698 couldn't find the plugin, and all functions using this behave
5699 properly on a NULL return. Switching to a GST_WARNING.
5701 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
5703 * gst/gstbin.c: (gst_bin_handle_message_func):
5704 Don't leak clock messages.
5706 2005-11-25 Wim Taymans <wim@fluendo.com>
5708 * gst/gstutils.c: (gst_util_uint64_scale_int64),
5709 (gst_util_uint64_scale_int):
5710 Optimisations, remove unneeded vars.
5712 2005-11-25 Wim Taymans <wim@fluendo.com>
5714 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
5715 Added more checks for the high precision uint64 cases.
5717 * gst/gstutils.c: (gst_util_uint64_scale_int64),
5718 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
5719 Implement high precision (guint64 * guint64) / guint64.
5721 2005-11-24 Wim Taymans <wim@fluendo.com>
5723 * gst/base/gstbasesrc.c: (gst_base_src_query):
5724 Fix wrong percentage query.
5726 * gst/gstutils.c: (gst_util_uint64_scale),
5727 (gst_util_uint64_scale_int):
5728 Add some more common cases that can be handled
5729 efficiently to _scale.
5731 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
5733 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
5734 (gst_mini_object_suite):
5735 don't use check calls from threads; check probably isn't
5736 threadsafe and using a lock to make it threadsafe would
5737 defeat the purpose of this check
5738 * gst/check/gstcheck.c:
5739 * gst/check/gstcheck.h:
5740 use GST_DEBUG some more
5742 2005-11-24 Wim Taymans <wim@fluendo.com>
5744 * gst/gstutils.c: (gst_util_uint64_scale),
5745 (gst_util_uint64_scale_int):
5746 Chain trivial case to _scale_int.
5748 2005-11-24 Wim Taymans <wim@fluendo.com>
5750 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
5751 Added test for scaling.
5756 * gst/gstutils.c: (gst_util_uint64_scale_int):
5757 Implemented high precision scaling code.
5759 2005-11-24 Stefan Kost <ensonic@users.sf.net>
5762 do not crash on pad==NULL
5764 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
5766 Patch by: Stefan Kost
5768 * common/gtk-doc.mak:
5769 * docs/gst/Makefile.am:
5770 * docs/libs/Makefile.am:
5771 Fix distcheck issues for the libraries docs build
5774 2005-11-24 Michael Smith <msmith@fluendo.com>
5776 * docs/manual/basics-helloworld.xml:
5777 Fix bug #315027: memory leak in example code in docs.
5779 2005-11-24 Michael Smith <msmith@fluendo.com>
5781 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5782 Unlock the PREROLL_LOCK in a failure case.
5784 2005-11-24 Wim Taymans <wim@fluendo.com>
5786 * docs/gst/gstreamer-sections.txt:
5787 * gst/base/gstadapter.h:
5788 * gst/base/gstbasesink.h:
5789 * gst/base/gstbasesrc.h:
5790 * gst/base/gstbasetransform.h:
5791 * gst/base/gstpushsrc.h:
5792 * gst/elements/gstfakesink.h:
5793 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
5794 * gst/elements/gstfakesrc.h:
5795 * gst/elements/gstfilesink.h:
5796 * gst/elements/gstfilesrc.h:
5799 * gst/gstbuffer.c: (_gst_buffer_copy):
5802 * gst/gstchildproxy.c:
5805 * gst/gstelementfactory.c:
5806 * gst/gstelementfactory.h:
5808 * gst/gstghostpad.h:
5810 * gst/gstinterface.h:
5811 * gst/gstminiobject.c:
5812 * gst/gstminiobject.h:
5815 * gst/gstpadtemplate.h:
5816 * gst/gstpipeline.h:
5817 * gst/gstpluginfeature.h:
5822 * gst/gsttagsetter.c:
5823 * gst/gsttagsetter.h:
5826 * gst/gsttypefind.h:
5829 * gst/net/gstnetclientclock.c:
5830 * gst/net/gstnetclientclock.h:
5831 * gst/net/gstnettimepacket.c:
5832 * gst/net/gstnettimeprovider.c:
5833 * gst/net/gstnettimeprovider.h:
5836 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
5838 * configure.ac: back to HEAD
5840 === release 0.9.6 ===
5842 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
5845 releasing 0.9.6, "Always On Time"
5847 2005-11-23 Wim Taymans <wim@fluendo.com>
5849 * docs/gst/gstreamer-sections.txt:
5850 * gst/glib-compat.c:
5851 * gst/gsttagsetter.c:
5853 * gst/net/gstnetclientclock.c:
5854 * gst/net/gstnettimepacket.h:
5857 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
5859 * docs/faq/using.xml:
5860 * docs/libs/tmpl/gstcontrol.sgml:
5861 * docs/manual/advanced-dparams.xml:
5862 * docs/manual/appendix-checklist.xml:
5863 * docs/manual/basics-elements.xml:
5864 * docs/pwg/other-source.xml:
5865 * docs/random/moving-plugins:
5867 * tools/gst-launch.1.in:
5868 remove mentions of sinesrc
5870 2005-11-23 Michael Smith <msmith@fluendo.com>
5872 * docs/gst/gstreamer-sections.txt:
5873 Update for new API and API changes.
5875 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
5877 Documentation typo fix.
5878 * gst/net/gstnettimepacket.c:
5879 Documentation fixes for arguments.
5881 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
5883 * gst/gststructure.c: (gst_structure_get_fraction),
5884 (gst_structure_parse_value),
5885 (gst_structure_fixate_field_nearest_fraction):
5886 * gst/gststructure.h:
5887 * gst/gstutils.c: (gst_util_uint64_scale_int):
5889 * scripts/update-funcnames:
5891 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
5892 Make gst_structure_fixate_field_nearest_fraction take a numerator
5893 and denominator argument instead of a GValue
5894 add gst_structure_get_fraction helper function.
5896 2005-11-23 Wim Taymans <wim@fluendo.com>
5898 * docs/design/part-TODO.txt:
5901 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
5902 * gst/net/gstnetclientclock.h:
5903 Use parent fields for timeout and window_size.
5905 2005-11-23 Andy Wingo <wingo@pobox.com>
5907 * check/net/gstnetclientclock.c (test_functioning): Adjust to
5908 rate_num/rate_denom change.
5910 * gst/net/gstnetclientclock.c
5911 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
5912 OBJECT_LOCK. Don't call add_observation with the lock.
5914 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
5916 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
5918 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
5919 deal with rate as a fraction whose numerator and denominator are
5920 GstClockTime values.
5921 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
5922 master; the other fields are protected by the SLAVE_LOCK.
5923 (do_linear_regression): Note that this must be called with the
5925 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
5926 OBJECT_LOCK. Call set_calibration instead of touching the
5928 (gst_clock_set_property, gst_clock_get_property): Protect
5929 master/slave parameters with the SLAVE_LOCK.
5931 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
5932 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
5933 note that all of the instance variables that add_observation and
5934 the set_master functions use are protected by that lock and not
5936 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
5938 * gst/gstclock.c (gst_clock_add_observation): No longer requires
5939 the caller to take the object lock.
5941 2005-11-23 Wim Taymans <wim@fluendo.com>
5943 * gst/gsterror.c: (_gst_core_errors_init):
5945 Add error for clock stuff.
5947 * gst/gstpipeline.c: (gst_pipeline_change_state),
5948 (gst_pipeline_set_clock):
5949 Post clock error when clock cannot be used in a pipeline.
5951 2005-11-23 Stefan Kost <ensonic@users.sf.net>
5953 * docs/gst/gstreamer-sections.txt:
5954 make two symbols from gstinfo private for the docs
5955 * gst/base/gstcollectpads.h:
5957 fix doc typos, update docs
5959 2005-11-22 Wim Taymans <wim@fluendo.com>
5961 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5962 (gst_base_sink_wait), (gst_base_sink_do_sync),
5963 (gst_base_sink_handle_event):
5964 * gst/base/gstbasesink.h:
5965 No need to store the clock, the parent element class already
5968 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
5969 Updates for clock_set returning a gboolean
5971 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
5972 (gst_clock_id_wait_async), (gst_clock_class_init),
5973 (gst_clock_init), (gst_clock_finalize),
5974 (gst_clock_get_internal_time), (gst_clock_get_time),
5975 (gst_clock_slave_callback), (gst_clock_set_master),
5976 (gst_clock_get_master), (do_linear_regression),
5977 (gst_clock_add_observation), (gst_clock_set_property),
5978 (gst_clock_get_property):
5980 Implement master/slave. When setting a clock as a slave, a
5981 periodic timeout is scheduled to sample master and slave times.
5982 Then the slave clock is recalibrated to match offset and rate
5983 of the master clock.
5984 Update logging a bit.
5985 Add flag so that a clock can state that is cannot be slaved to
5988 * gst/gstelement.c: (gst_element_set_clock):
5990 The set clock returns a gboolean for when an element cannot
5991 deal with the selected clock in the pipeline.
5993 * gst/gstpipeline.c: (gst_pipeline_change_state),
5994 (gst_pipeline_set_clock):
5995 * gst/gstpipeline.h:
5996 Handle the case where the selected clock cannot be set on
5999 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
6000 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
6001 (gst_net_client_clock_set_property),
6002 (gst_net_client_clock_get_property),
6003 (gst_net_client_clock_observe_times):
6004 * gst/net/gstnetclientclock.h:
6005 Use regression code in GstClock parent, remove duplicated
6008 2005-11-22 Michael Smith <msmith@fluendo.com>
6010 * gst/gstutils.c: (gst_util_clock_time_scale):
6012 * docs/gst/gstreamer-sections.txt:
6013 Rename method to have extra underscore.
6015 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
6017 * gst/elements/Makefile.am:
6018 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
6019 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
6020 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
6021 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
6022 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
6023 * gst/elements/gstfakesrc.h:
6024 * gst/gstqueue.c: (queue_leaky_get_type):
6025 correctly fix GEnumValues so that nick is the short lowercase
6027 * tools/gst-inspect.c: (print_element_properties_info):
6028 also show the nick, since it's useful to use from parse_launch
6032 2005-11-22 Michael Smith <msmith@fluendo.com>
6034 * gst/gstutils.c: (gst_util_clocktime_scale):
6036 * docs/gst/gstreamer-sections.txt:
6037 Add util method for scaling a clocktime by a fraction. Useful
6038 implementation is left as an exercise for the reader.
6040 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
6042 * gst/gstvalue.c: (gst_value_collect_fraction_range):
6043 If needed, allocate storage in the destination value during
6046 2005-11-22 Edward Hervey <edward@fluendo.com>
6048 * docs/gst/gstreamer-sections.txt:
6053 * gst/gstutils.c: (gst_util_set_object_arg):
6054 * tools/gst-compprep.c: (main):
6055 * tools/gst-inspect.c: (print_element_properties_info):
6056 Removed GstURI, closes bug #321061
6058 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
6060 * check/gst/gststructure.c: (GST_START_TEST):
6061 * gst/gststructure.c: (gst_structure_parse_value):
6062 Oops, broke automatic string type parsing.
6063 Add a test to catch it in future.
6065 2005-11-22 Andy Wingo <wingo@pobox.com>
6067 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
6068 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
6069 Actually rename the function implementations. Grr.
6071 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
6073 * check/gst/capslist.h:
6075 * check/gst/gststructure.c: (GST_START_TEST),
6076 (gst_structure_suite):
6077 Test automatic value type detection in gst_structure_from_string.
6078 * gst/gststructure.c: (gst_structure_parse_value):
6079 Add fraction as a type we try and guess automatically in
6080 caps/structure strings.
6082 2005-11-22 Andy Wingo <wingo@pobox.com>
6084 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
6086 * gst/gsttagsetter.h:
6087 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
6088 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
6089 (gst_tag_setter_add_tag_valist)
6090 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
6091 _add_values, _add_valist, and _add_valist_values. Since this is an
6092 interface the function suffixes should be more explicit so
6093 language binding don't end up with element.add_valist ->
6094 gst_tag_setter_add_valist, for example. Fixes #322069.
6096 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
6098 * check/gst/gstcaps.c: (GST_START_TEST):
6099 Extend caps string tests to check that a caps to string
6100 conversion is reversible and produces the same caps.
6102 * gst/gststructure.c: (gst_structure_value_get_generic_type):
6103 Output "fraction" as the generic type fraction range, so caps
6104 serialisation and deserialisation works.
6105 * check/gst/capslist.h:
6106 * gst/gstvalue.c: (gst_value_deserialize_fraction):
6107 Support 'MIN' and 'MAX' for deserialising fractions.
6109 2005-11-22 Andy Wingo <wingo@pobox.com>
6111 * gst/gstevent.h (gst_event_new_new_segment)
6112 (gst_event_parse_new_segment, gst_event_new_buffer_size)
6113 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
6114 Renamed from *_newsegment, *_buffersize, *_notarget.
6116 * scripts/update-funcnames: New script, performs the changes
6119 2005-11-22 Wim Taymans <wim@fluendo.com>
6121 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6122 Make sure the GstFlowReturn is returned.
6124 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
6125 (gst_bus_add_signal_watch):
6127 add gst_bus_add_signal_watch_full.
6129 * gst/gstplugin.c: (gst_plugin_load_file):
6130 Small style cleanup.
6132 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
6134 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
6135 Block the fakesrc srcpad when we send an event, to avoid
6136 contention on the stream_lock causing random test failures.
6138 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
6140 * check/gst/gstvalue.c: (GST_START_TEST):
6141 * gst/gstvalue.c: (gst_value_fraction_subtract):
6144 2005-11-22 Stefan Kost <ensonic@users.sf.net>
6147 include "gstchildproxy.h"
6148 * gst/gstchildproxy.h:
6149 * libs/gst/controller/gstcontroller.h:
6150 use G_GNUC_NULL_TERMINATED
6152 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
6154 * check/gst/capslist.h:
6155 * check/gst/gstcaps.c: (GST_START_TEST):
6156 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6157 * gst/gststructure.c: (gst_structure_parse_range),
6158 (gst_structure_fixate_field_nearest_fraction):
6159 * gst/gststructure.h:
6160 * gst/gstvalue.c: (gst_value_init_fraction_range),
6161 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
6162 (gst_value_collect_fraction_range),
6163 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
6164 (gst_value_set_fraction_range_full),
6165 (gst_value_get_fraction_range_min),
6166 (gst_value_get_fraction_range_max),
6167 (gst_value_serialize_fraction_range),
6168 (gst_value_transform_fraction_range_string),
6169 (gst_value_compare_fraction_range),
6170 (gst_value_deserialize_fraction_range),
6171 (gst_value_intersect_fraction_fraction_range),
6172 (gst_value_intersect_fraction_range_fraction_range),
6173 (gst_value_subtract_fraction_fraction_range),
6174 (gst_value_subtract_fraction_range_fraction),
6175 (gst_value_subtract_fraction_range_fraction_range),
6176 (gst_value_collect_fraction), (gst_value_fraction_multiply),
6177 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
6178 (gst_value_transform_string_fraction), (_gst_value_initialize):
6180 Implement fraction ranges and extend GstFraction to support
6181 arithmetic subtraction, as well as deserialization from integer
6182 strings such as "100"
6183 Add a testsuite as for int and double range set operations
6185 2005-11-21 Andy Wingo <wingo@pobox.com>
6189 * gst/gststructure.h: Add glib-compat.h.
6191 2005-11-21 Wim Taymans <wim@fluendo.com>
6193 * gst/gstbin.c: (gst_bin_change_state_func):
6196 2005-11-21 Wim Taymans <wim@fluendo.com>
6199 And add a nice define too.
6201 2005-11-21 Wim Taymans <wim@fluendo.com>
6203 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
6204 (gst_segment_new), (gst_segment_free), (gst_segment_init),
6205 (gst_segment_set_duration), (gst_segment_set_last_stop),
6206 (gst_segment_set_seek), (gst_segment_set_newsegment),
6207 (gst_segment_to_stream_time), (gst_segment_to_running_time),
6210 Make binding friendly.
6212 2005-11-21 Andy Wingo <wingo@pobox.com>
6214 * gst/gsttagsetter.h:
6216 * gst/gststructure.h:
6218 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
6221 * gst/gsterror.c (_gst_core_errors_init):
6222 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
6225 * gst/Makefile.am (gst_headers): Add glib-compat.h.
6226 (noinst_HEADERS): noinst the -private.
6228 2005-11-21 Michael Smith <msmith@fluendo.com>
6231 * gst/gstregistry.h:
6232 Remove unimplemented declarations for which we can see no sensible
6235 2005-11-21 Andy Wingo <wingo@pobox.com>
6237 * gst/gst.h: Include glib-compat.h.
6239 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
6241 * gst/glib-compat.c: Include the public and the private header.
6243 * gst/glib-compat-private.h: Copied here from glib-compat.h.
6247 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
6249 * check/gst/gstevent.c (create_custom_events): Check that
6250 FLUSH_STOP is serialized.
6252 * check/elements/identity.c (event_func):
6253 * check/elements/fakesrc.c (event_func): No stream lock, the core
6256 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
6257 stream lock taking, yay.
6259 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
6260 ensure that core takes the stream lock.
6262 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
6265 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
6266 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
6267 it already. For the flush start we do take it though so we get the
6268 right preroll state change messages.
6270 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
6271 the stream lock here, the core does it for us.
6273 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
6274 GST_STREAM_GET_LOCK.
6275 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
6276 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
6277 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
6278 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
6279 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
6280 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
6282 * gst/gstpad.c: Update for stream lock name change.
6284 * gst/base/gstbasesink.c: Update for preroll lock name change.
6286 2005-11-21 Wim Taymans <wim@fluendo.com>
6288 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
6289 (gst_clock_get_master):
6291 * gst/gstsystemclock.c: (gst_system_clock_init):
6292 Convert Clock flags to object flags.
6293 Added methods to manage master/slave clocks.
6295 2005-11-21 Wim Taymans <wim@fluendo.com>
6297 * check/gst/gstsegment.c: (GST_START_TEST):
6298 * docs/design/part-TODO.txt:
6299 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6300 (gst_base_sink_event), (gst_base_sink_do_sync),
6301 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
6302 (gst_base_sink_query), (gst_base_sink_change_state):
6303 * gst/base/gstbasesink.h:
6304 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
6305 (gst_base_src_default_newsegment),
6306 (gst_base_src_configure_segment), (gst_base_src_do_seek),
6307 (gst_base_src_get_range), (gst_base_src_loop),
6308 (gst_base_src_change_state):
6309 * gst/base/gstbasesrc.h:
6310 * gst/base/gstbasetransform.c:
6311 (gst_base_transform_prepare_output_buf),
6312 (gst_base_transform_event), (gst_base_transform_change_state):
6313 * gst/base/gstbasetransform.h:
6314 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
6315 (gst_collect_pads_event):
6316 * gst/base/gstcollectpads.h:
6317 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
6318 (gst_fake_src_create):
6319 * gst/elements/gstfakesrc.h:
6320 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
6321 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
6322 (gst_segment_set_last_stop), (gst_segment_set_seek),
6323 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
6324 (gst_segment_to_running_time), (gst_segment_clip):
6326 More segment updates, replace code in plugins with segment
6329 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
6331 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
6332 Don't ignore sscanf results
6334 2005-11-21 Andy Wingo <wingo@pobox.com>
6336 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
6339 * *.c: Ran scripts/update-macros. Oh yes.
6341 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
6342 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
6345 * scripts/update-macros: New script. Run it on your files to
6346 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
6349 2005-11-21 Stefan Kost <ensonic@users.sf.net>
6351 * docs/gst/Makefile.am:
6352 * docs/gst/gstreamer-docs.sgml:
6353 * docs/gst/gstreamer-sections.txt:
6354 * docs/gst/gstreamer.types:
6356 more docs fixes, add new api to the docs
6358 2005-11-21 Andy Wingo <wingo@pobox.com>
6360 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
6361 state_broadcast call.
6363 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
6365 2005-11-21 Julien MOUTTE <julien@moutte.net>
6367 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
6368 function calls for arrays.
6370 2005-11-21 Stefan Kost <ensonic@users.sf.net>
6372 * docs/random/ensonic/media-device-daemon.txt:
6373 wild idea, can this be done?
6374 * docs/gst/gstreamer-sections.txt:
6379 * gst/gstpluginfeature.c:
6383 doc fixes and additions
6385 2005-11-21 Andy Wingo <wingo@pobox.com>
6387 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
6388 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
6389 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
6390 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
6391 private to the basesrc implementation.
6393 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
6394 behalf of event function if necessary. It should no longer be
6395 necessary to take the stream lock in pad's event functions. Fixes
6398 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
6399 * docs/gst/gstreamer-sections.txt:
6400 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
6401 (gst_structure_fixate_field_nearest_double),
6402 (gst_structure_fixate_field_boolean):
6403 * gst/gststructure.h:
6404 * win32/common/libgstreamer.def:
6405 * win32/gstreamer.def:
6407 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
6410 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
6412 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
6413 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
6414 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
6415 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
6416 (gst_fdsrc_uri_handler_init):
6417 * gst/elements/gstfdsrc.h:
6418 Port fd:// URI handler from 0.8 to fdsrc
6420 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
6422 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
6423 (gst_value_serialize_fourcc):
6425 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
6426 consistent with our other format defines (#320324).
6428 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
6430 * gst/gstvalue.c: (gst_value_is_fixed):
6431 Revert previous commit. Value lists are by definition
6432 not fixed, as they are a list of possible values.
6434 2005-11-21 Andy Wingo <wingo@pobox.com>
6436 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
6437 during the stable series if we need it. Fixes #319178.
6439 * gst/gstevent.c (gst_event_new_filler): Removed.
6441 * check/gst/gstevent.c: Update comment about filler events.
6443 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
6445 * gst/gstvalue.c: (gst_value_is_fixed):
6446 Should handle both value arrays and value lists.
6448 2005-11-21 Andy Wingo <wingo@pobox.com>
6450 patch by: Alessandro Dessina <alessandro nnva org>
6452 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
6453 functions to access arrays. Fixes #321962.
6455 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
6457 * docs/gst/gstreamer.types:
6458 gst_collectpads_get_type => gst_collect_pads_get_type.
6460 * gst/base/gstbasetransform.c:
6461 Remove unused SIGNAL_HANDOFF enum.
6463 2005-11-21 Andy Wingo <wingo@pobox.com>
6465 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
6466 the event type (upstream, downstream, serialized). Renamed
6467 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
6468 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
6469 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
6471 * gst/gstevent.c: Update for new CUSTOM event names.
6473 * check/gst/gstevent.c: Update check for new CUSTOM event names.
6476 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
6479 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
6481 * docs/gst/gstreamer-sections.txt:
6482 * win32/common/libgstbase.def:
6483 * win32/libgstbase.def:
6484 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
6485 (gst_collect_pads_class_init), (gst_collect_pads_init),
6486 (gst_collect_pads_finalize), (gst_collect_pads_new),
6487 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
6488 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
6489 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
6490 (gst_collect_pads_start), (gst_collect_pads_stop),
6491 (gst_collect_pads_peek), (gst_collect_pads_pop),
6492 (gst_collect_pads_available), (gst_collect_pads_read),
6493 (gst_collect_pads_flush), (gst_collect_pads_event),
6494 (gst_collect_pads_chain):
6495 * gst/base/gstcollectpads.h:
6496 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
6497 unimplemented functions as unimplemented. Add padding to
6498 GstCollectData. (#320766, #320423)
6500 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
6503 Improve docs for DURATION message (usage of duration parameter)
6506 2005-11-20 Wim Taymans <wim@fluendo.com>
6508 * check/Makefile.am:
6509 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
6513 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
6514 (gst_segment_set_seek), (gst_segment_set_newsegment),
6515 (gst_segment_to_stream_time), (gst_segment_to_running_time),
6518 Added segment helper structure and methods. Not fully implemented
6520 Added segment check.
6522 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
6524 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6525 Add a deserialisation test for fractions
6526 * examples/metadata/read-metadata.c: (message_loop),
6527 (make_pipeline), (main):
6528 Fix up metadata reading sample.
6529 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
6531 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
6532 Don't try and fixate empty caps
6533 * gst/gst_private.h:
6534 Wrap in G_BEGIN_DECLS/G_END_DECLS
6535 * gst/gstvalue.c: (gst_value_collect_fraction),
6536 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
6537 (gst_value_transform_string_fraction),
6538 (gst_value_compare_fraction):
6539 Add some extra guards to ensure that we don't end up
6540 with an invalid denominator of 0 in a gstfraction and
6541 that fractions always get reduced.
6543 2005-11-20 Wim Taymans <wim@fluendo.com>
6545 * docs/gst/gstreamer-sections.txt:
6556 2005-11-20 Wim Taymans <wim@fluendo.com>
6558 * docs/design/part-TODO.txt:
6560 Make a proper enum of the flag.
6562 2005-11-19 Wim Taymans <wim@fluendo.com>
6564 * docs/design/part-TODO.txt:
6565 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
6566 (gst_format_to_quark), (gst_format_register):
6568 * gst/gstquery.c: (_gst_query_initialize),
6569 (gst_query_type_get_name), (gst_query_type_to_quark),
6570 (gst_query_type_register):
6572 Add type to quark and type to string conversions.
6574 2005-11-19 Andy Wingo <wingo@pobox.com>
6576 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
6579 2005-11-19 Wim Taymans <wim@fluendo.com>
6581 * docs/design/part-TODO.txt:
6582 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
6583 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
6584 (gst_bin_handle_message_func):
6586 Make message handling overridable.
6588 2005-11-19 Andy Wingo <wingo@pobox.com>
6590 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
6593 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
6595 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
6596 is a GstClockTime. Fixes #321710.
6598 * gst/gstclock.h (GstClock): Remove offset property. Add
6599 internal_calibration and external_calibration. Fix padding. Pad
6600 also by GstClockTime so we don't run into problems.
6602 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
6603 (gst_clock_get_rate_offset): Remove.
6604 (gst_clock_set_time_adjust): Remove. Fixes #321712.
6607 * gst/gstutils.c (g_static_rec_cond_wait)
6608 (g_static_rec_cond_timed_wait): Removed, no longer needed.
6610 * gst/gstbin.c: Remove terrible continue_state prototype.
6612 * gst/gstelement.h (gst_element_continue_state): Make public.
6615 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
6616 by continue_state. Fixes #319389.
6618 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
6619 Really fixes #168438. However I don't see anywhere where the
6620 filter function is called... stupid GStreamer...
6622 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
6623 don't have a dispose function, so it won't get called when the
6624 object is unreffed, but oh well!
6626 * gst/gstindex.c (gst_index_set_filter_full): New API function,
6627 allows a destroy function to be set so user_data can be freed.
6629 (gst_index_set_filter): Call gst_index_set_filter_full.
6631 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
6633 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
6634 string should produce an error, given the lack of a way to
6635 represent NULL strings. Fixes #165650.
6638 * gst/gstvalue.c (gst_value_array_append_value)
6639 (gst_value_array_prepend_value, gst_value_array_get_size)
6640 (gst_value_array_get_value): New API, copied from
6641 gst_value_list_*, only operates on arrays.
6642 (gst_value_list_append_value, gst_value_list_prepend_value)
6643 (gst_value_list_concat, gst_value_list_get_size)
6644 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
6646 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
6647 init_list, because it works on both.
6648 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
6649 (gst_value_copy_list_or_array): Renamed from copy_list.
6650 (gst_value_free_list_or_array): Renamed from free_list.
6651 (gst_value_collect_list_or_array): Renamed from collect_list.
6652 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
6653 (gst_value_list_or_array_peek_pointer): Renamed from
6655 (_gst_value_array_value_table, _gst_value_list_value_table):
6656 Update value table functions.
6657 (gst_value_compare_list_or_array): Renamed from compare_list.
6659 * gsttaglist.h: Whoops, foreach function returns void. Also fix
6663 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
6664 GstTagList*. Fixes #143472.
6666 * gst/gststructure.h: Clarify what the foreach/map functions can
6667 or can't do to their arguments.
6669 2005-11-18 Wim Taymans <wim@fluendo.com>
6671 * gst/gstclock.c: (gst_clock_set_calibration),
6672 (gst_clock_get_calibration):
6674 Calibration can be set with internal time equal to current
6677 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
6683 2005-11-18 Andy Wingo <wingo@pobox.com>
6686 * pkgconfig/gstreamer-net.pc.in:
6687 * pkgconfig/gstreamer-net-uninstalled.pc.in:
6688 * pkgconfig/Makefile.am: Add net pkgconfig files.
6690 2005-11-18 Stefan Kost <ensonic@users.sf.net>
6693 * gst/gstghostpad.c:
6699 2005-11-18 Andy Wingo <wingo@pobox.com>
6701 * gst/net/gstnetclientclock.c: Turn off debugging.
6703 * check/net/gstnetclientclock.c (test_functioning): Assert that the
6704 times connverge somewhat. Can't make a real test.
6706 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
6707 integer arithmetic. Return the minimum of the domain, which can be
6708 set as "internal" for gst_clock_set_calibration.
6709 (gst_net_client_clock_observe_times): Call _set_calibration.
6710 (gst_net_client_clock_new): Call _set_calibration instead of
6713 * check/net/gstnetclientclock.c (test_functioning): Use the right
6717 * gst/gstclock.c (gst_clock_get_calibration)
6718 (gst_clock_set_calibration): New functions, obsolete the ones I
6719 added yesterday. Doh. Precision issues mean we have to extrapolate
6720 from a point in the more recent past than 1970.
6721 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
6723 (gst_clock_adjust_unlocked): Use the right calibration data.
6725 2005-11-18 Edward Hervey <edward@fluendo.com>
6727 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
6728 Also reset the ->current_* values in READY->PAUSED
6730 2005-11-18 Andy Wingo <wingo@pobox.com>
6732 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
6733 Whoops, check the right fd. Also add some debugging.
6734 (gst_net_client_clock_observe_times): Adjust for int64 offset.
6735 (do_linear_regression): Add a crapload of debugging. Subtract off
6736 the minimum values from the input series to discard unneeded bits.
6737 Use only int arithmetic. There is still double arithmetic when
6738 calculating the intercept that needs fixing. Return boolean to
6739 indicate success; FALSE would mean the domain or range is too
6740 great. Still needs fixes.
6742 2005-11-18 Wim Taymans <wim@fluendo.com>
6744 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
6745 For the current position in stream time, we need to subtract
6748 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
6749 Release lock before calling the callback function of async
6752 2005-11-18 Andy Wingo <wingo@pobox.com>
6754 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
6755 Port goes all the way to MAXUINT16.
6757 * gst/net/gstnettimeprovider.c: Make the port range the same as
6758 for the kernel: 0 assigns, otherwise ports are less than
6761 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
6764 * check/net/gstnetclientclock.c (test_functioning): Add the start
6767 2005-11-18 Wim Taymans <wim@fluendo.com>
6769 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
6770 (gst_bin_remove_func), (bin_bus_handler):
6772 Removing a clock provider from a bin, triggers a clock lost message
6773 so that a new clock will be selected.
6774 Adding a clock to a bin triggers a clock provider message.
6775 Make sure we reselect a clock when we received a clock lost message.
6776 Keep a reference to the element that provided the clock.
6778 2005-11-18 Andy Wingo <wingo@pobox.com>
6780 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
6781 the clock initially so it produces values around the base time.
6782 (gst_net_client_clock_class_init): Typo fix.
6783 (gst_net_client_clock_thread): Add note on when the socket gets
6786 2005-11-17 Wim Taymans <wim@fluendo.com>
6788 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
6789 Free remote and local time arrays.
6791 2005-11-17 Wim Taymans <wim@fluendo.com>
6793 * gst/net/gstnetclientclock.c: (do_linear_regression),
6794 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
6795 Fix compilation, uninitialized vars and a forgotten continue.
6797 2005-11-17 Andy Wingo <wingo@pobox.com>
6799 * check/Makefile.am (check_PROGRAMS):
6800 * check/net/gstnetclientclock.c: Add a most minimal test for the
6801 net client clock. More to come later.
6804 * gst/net/Makefile.am: Add netclientclock.
6806 * gst/net/gstnetclientclock.h:
6807 * gst/net/gstnetclientclock.c: New files, implement an untested
6808 GstClock that takes its time from a network time provider.
6809 Implements the algorithm in network-clock.scm.
6811 * tests/network-clock.scm (*window-size*): Rename from
6813 * tests/network-clock.scm (network-time):
6814 * tests/network-clock-utils.scm (q-push): Update callers.
6816 2005-11-17 Wim Taymans <wim@fluendo.com>
6818 * gst/gstbin.c: (gst_bin_provide_clock_func),
6819 (gst_bin_sort_iterator_new):
6820 And unref the child too..
6822 2005-11-17 Wim Taymans <wim@fluendo.com>
6824 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
6825 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
6826 Refactor the sort iterator so it can be used while holding the
6828 Make clock selection select a clock closest to the source.
6830 2005-11-17 Michael Smith <msmith@fluendo.com>
6832 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
6833 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
6835 Anonymous structs are a gcc (and some other compilers) extension, so
6836 don't use them. Since this is only for ABI-compatibility, and our
6837 API/ABI freeze is over in a few days, this whole thing will only
6838 last a few days, so don't bother trying to think up a meaningful
6839 name for the struct.
6841 2005-11-17 Andy Wingo <wingo@pobox.com>
6843 * gst/gstclock.h (GstClock): Add rate and offset properties,
6844 preserving ABI stability. Add rate/offset accessors. Will file bug
6845 for the freeze break.
6847 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
6848 and offset, trying to keep precision and avoiding
6850 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
6851 functions. Make gst_clock_set_time_adjust obsolete.
6852 (gst_clock_set_time_adjust): Note that this function is obsolete.
6855 * gst/base/gstbasetransform.h: Make the ABI-stability hack
6856 greppable by using GST_PADDING-1+1.
6858 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
6860 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
6862 * gst/gstmessage.c: (gst_message_parse_clock_lost):
6863 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
6865 * gst/gstpadtemplate.h:
6866 * gst/gstpluginfeature.h:
6867 Don't use c++ style comments in headers (#321638).
6869 2005-11-16 Andy Wingo <wingo@pobox.com>
6871 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
6874 * check/net/gstnettimeprovider.c: Check to see that the time
6875 provider actually provides times. Works, yo!
6877 2005-11-16 Wim Taymans <wim@fluendo.com>
6879 * check/Makefile.am:
6882 * check/elements/fakesrc.c: (GST_START_TEST):
6883 Set element to NULL before disposing it.
6885 2005-11-16 Andy Wingo <wingo@pobox.com>
6887 * gst/net/Makefile.am:
6889 * gst/net/gstnettimeprovider.c:
6890 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
6891 provider, include it from gstnet.h, and add it to the build.
6893 * gst/net/gstnettimepacket.h:
6894 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
6895 sending and receiving.
6897 2005-11-16 Wim Taymans <wim@fluendo.com>
6899 * check/Makefile.am:
6900 Enable valgrind check.
6902 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
6903 (gst_fake_src_alloc_buffer):
6906 2005-11-16 Wim Taymans <wim@fluendo.com>
6908 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
6909 Call parent finalize too.
6911 2005-11-16 Wim Taymans <wim@fluendo.com>
6913 * check/Makefile.am:
6914 Enable valgrind check that should work fine now.
6916 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
6917 * gst/gstqueue.c: (gst_queue_init):
6918 Fix memleaks in pad allocation.
6920 2005-11-16 Andy Wingo <wingo@pobox.com>
6922 * gst/net/Makefile.am:
6923 * gst/net/gstnet.h: New part of core to hold network elements and
6924 objects. Put in core because it exposes API that applications want
6925 to use. The library is named libgstnet-tempname right now because
6926 of the existing libgstnet in gst-plugins-base. Solution is
6927 probably to rename the one in plugins-base; will file a bug for
6930 * gst/net/gstnettimeprovider.c:
6931 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
6932 get_time call over the network.
6935 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
6937 * check/Makefile.am:
6938 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
6939 get additions shortly.
6941 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
6943 * gst/gstpad.c: (gst_pad_new_from_static_template):
6945 add gst_pad_new_from_static_template functions
6946 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
6947 (gst_check_setup_sink_pad):
6948 * gst/elements/gsttee.c: (gst_tee_init):
6951 2005-11-16 Wim Taymans <wim@fluendo.com>
6953 * gst/gstpad.c: (gst_pad_pause_task):
6954 Removed warning, it's not really an error either.
6956 2005-11-16 Wim Taymans <wim@fluendo.com>
6958 * gst/base/gstbasetransform.c:
6959 (gst_base_transform_prepare_output_buf),
6960 (gst_base_transform_event):
6961 Check if the caps are NULL, this can happen if the element
6962 is shutting down and the pad caps are set to NULL.
6964 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
6966 * gst/elements/gsttee.c: (gst_tee_init):
6967 fix pad template leak in tee
6969 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
6971 * gst/glib-compat.c: (g_value_dup_gst_object):
6972 * gst/glib-compat.h:
6973 * gst/gstpad.c: (gst_pad_set_property):
6974 use gst_object_ref when setting the pad template; this will
6975 trigger the pad template leaks on GLib 2.6 and the slaves
6977 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
6979 * gst/glib-compat.c: (gst_flags_get_first_value):
6980 * gst/glib-compat.h:
6981 * gst/gstregistryxml.c:
6982 remove functions copied from GLib 2.6
6984 2005-11-16 Michael Smith <msmith@fluendo.com>
6987 Don't link against VALGRIND_LIBS. That was always the wrong thing to
6988 do, but only breaks with newer valgrind versions. We're not a
6989 valgrind tool, we have no link-time dependencies on libcoregrind.
6991 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
6993 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
6998 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
7000 * gst/base/gstbasesrc.c: (gst_base_src_init):
7001 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
7002 * gst/gstqueue.c: (gst_queue_init):
7003 * gst/gstregistryxml.c: (load_feature):
7004 Revert all these unrefs, they don't even pass make check !
7006 2005-11-15 Johan Dahlin <johan@gnome.org>
7008 * gst/base/gstbasesrc.c: (gst_base_src_init):
7009 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
7010 * gst/gstqueue.c: (gst_queue_init):
7011 Free pad templates, fixes a couple of leaks.
7013 2005-11-15 Daniel Fischer <dan at f3c dot com>
7015 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
7017 * gst/gstpad.c: (gst_pad_get_property):
7018 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
7019 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
7022 2005-11-15 Wim Taymans <wim@fluendo.com>
7027 2005-11-15 Andy Wingo <wingo@pobox.com>
7029 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
7031 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
7032 using GST_CLOCK_TIME_NONE to disable base time management.
7033 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
7034 time if it was NONE before.
7035 (gst_pipeline_change_state): Only munge the base time if
7036 stream_time != GST_CLOCK_TIME_NONE.
7038 * check/gst/gstpipeline.c (test_base_time): Punt around the
7039 problem of the probe not being called, because that's not the
7040 issue I'm looking at. Add a check that setting stream_time to NONE
7041 disables base time management.
7043 2005-11-15 Wim Taymans <wim@fluendo.com>
7045 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
7046 segment_stop == -1 at startup.
7048 * gst/base/gstbasetransform.c: (gst_base_transform_event),
7049 (gst_base_transform_change_state):
7050 Init segment values at start.
7052 2005-11-15 Wim Taymans <wim@fluendo.com>
7054 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7055 0 segment values are 0 in any format.
7057 * gst/base/gstbasetransform.c: (gst_base_transform_event):
7058 * gst/base/gstbasetransform.h:
7059 Parse newsegment correctly in basetransform
7061 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
7062 Sync to clock using updated segment values.
7064 2005-11-15 Andy Wingo <wingo@pobox.com>
7066 * check/gst/gstpipeline.c (test_base_time): Add check that the
7067 base time and stream time are reset correctly.
7069 2005-11-15 Wim Taymans <wim@fluendo.com>
7071 * docs/design/part-TODO.txt:
7072 Some more TODO items.
7074 2005-11-15 Andy Wingo <wingo@pobox.com>
7076 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
7077 error if the user selected "no clock" as the clocking method.
7079 * check/gst/gstpipeline.c (test_base_time): New test for buffer
7080 timestamps with live capture.
7082 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
7083 is 0 but we are a live source, timestamp the buffers using the
7086 2005-11-14 Stefan Kost <ensonic@users.sf.net>
7088 * docs/gst/gstreamer-sections.txt:
7090 * gst/gstghostpad.c:
7095 2005-11-14 Wim Taymans <wim@fluendo.com>
7098 add suppressions from Wim's Debian machine
7100 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
7103 add suppressions from Andy's AMD64 Ubuntu machine
7105 2005-11-14 Andy Wingo <wingo@pobox.com>
7107 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
7108 STATE_LOCK not necessary. Fixes #311489.
7110 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
7113 * gst/gstindex.c (gst_index_add_object): Note in the docs that
7114 this function is not implemented.
7116 2005-11-14 Julien MOUTTE <julien@moutte.net>
7118 * gst/base/gstbasetransform.c:
7119 (gst_base_transform_prepare_output_buf):
7120 Ref the source pad caps while we need them.
7123 2005-11-11 Wim Taymans <wim@fluendo.com>
7125 * docs/gst/gstreamer-sections.txt:
7126 Added some docs for GstCollectData.
7128 * gst/base/gstadapter.c:
7129 Some small code example fix.
7131 * gst/base/gstcollectpads.c:
7132 * gst/base/gstcollectpads.h:
7135 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
7137 * configure.ac: back to HEAD
7139 === release 0.9.5 ===
7141 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
7144 releasing 0.9.5, "Bike Lunch Day"
7146 2005-11-11 Wim Taymans <wim@fluendo.com>
7148 * gst/gstbuffer.c: (_gst_buffer_copy):
7151 * gst/gstcaps.c: (gst_caps_is_equal):
7153 Make _is_equal fast in the trivial cases.
7155 * gst/gstminiobject.c:
7156 * gst/gstminiobject.h:
7157 More docs. Spifify .h file.
7162 2005-11-11 Wim Taymans <wim@fluendo.com>
7164 * gst/base/gstbasetransform.c:
7165 (gst_base_transform_prepare_output_buf),
7166 (gst_base_transform_handle_buffer):
7168 If we're processing a buffer and need to allocate an output
7169 buffer, we cannot accept a format change. If we did get a
7170 format change, we have to alloc a buffer ourselves of the
7173 2005-11-11 Wim Taymans <wim@fluendo.com>
7175 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
7176 While checking the flag for reentrancy in the gstcaps function
7177 is nice to detect recursive invocations, it also makes it
7178 impossible to call getcaps from multiple threads, which must be
7179 possible. So, checking for recursive calls has to go.
7181 2005-11-11 Michael Smith <msmith@fluendo.com>
7183 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
7184 Don't sync on buffers that fall partially outside our current
7185 segment. Prevents an assertion failure/abort playing some files.
7187 2005-11-10 Andy Wingo <wingo@pobox.com>
7189 * check/gst/gstbin.c (test_message_state_changed_children): Style
7192 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
7193 gst_bus_poll with the signal watch. Ensures that poll and a signal
7194 watch see the same messages.
7196 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
7197 a poll and a watch at the same time get the same messages.
7199 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
7201 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
7202 * gst/gstcaps.c: (gst_caps_intersect):
7203 Don't call gst_caps_do_simplify - it doesn't respect order of caps
7204 and it's not needed.
7206 2005-11-10 Wim Taymans <wim@fluendo.com>
7208 * docs/design/part-TODO.txt:
7211 2005-11-10 Wim Taymans <wim@fluendo.com>
7213 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
7214 * gst/base/gstbasesrc.c: (gst_base_src_wait),
7215 (gst_base_src_do_sync), (gst_base_src_get_range):
7216 Implement clock sync in base class.
7218 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
7220 patch by: Tim-Philipp Müller <tim at centricular dot net>
7222 * gst/gststructure.c: (gst_structure_parse_field),
7223 (gst_structure_from_string):
7224 Forward-port a 0.8 patch to handle escaped spaces in structure string,
7225 so that gst_parse_launch() can deal with spaces in filtered link
7226 caps (fixes #164479)
7227 * check/gst/capslist.h:
7228 * check/gst/gststructure.c: (GST_START_TEST):
7229 add unit tests for this change
7231 2005-11-10 Wim Taymans <wim@fluendo.com>
7233 * docs/gst/gstreamer-sections.txt:
7236 Fix docs, move some STATE macros to private.
7238 2005-11-10 Wim Taymans <wim@fluendo.com>
7240 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
7241 Added check for bug #317341
7245 Some more spiffifying.
7247 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
7248 Call peer linkfunction if we are a source pad. Totally fixes
7252 Update docs, source pads should call the peer linkfunction
7253 so they can atomically perform the pad link.
7255 2005-11-09 Wim Taymans <wim@fluendo.com>
7259 Uber-spiffy-spiffify some more.
7261 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
7263 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
7264 * gst/elements/gstfilesink.c: (gst_file_sink_init):
7265 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
7266 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
7267 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
7268 * gst/gstpad.c: (gst_pad_init):
7269 Use GST_DEBUG_FUNCPTR() more extensively.
7271 2005-11-09 Wim Taymans <wim@fluendo.com>
7273 * gst/gstobject.c: (gst_object_class_init):
7275 Documentation fixes.
7277 2005-11-09 Edward Hervey <edward@fluendo.com>
7279 * gst/gsttypefindfactory.c:
7282 2005-11-09 Edward Hervey <edward@fluendo.com>
7284 * gst/base/gsttypefindhelper.c:
7285 * gst/gsttypefind.c:
7286 * gst/gsttypefind.h:
7289 2005-11-09 Wim Taymans <wim@fluendo.com>
7291 * gst/gstiterator.c:
7298 2005-11-09 Wim Taymans <wim@fluendo.com>
7304 2005-11-09 Wim Taymans <wim@fluendo.com>
7306 * docs/gst/gstreamer-sections.txt:
7307 Moved the message async delivery private lock and cond
7308 to the private section.
7314 2005-11-09 Edward Hervey <edward@fluendo.com>
7316 * docs/gst/gstreamer-sections.txt:
7319 Document GstURIHandler
7321 2005-11-09 Wim Taymans <wim@fluendo.com>
7323 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
7324 (gst_iterator_find_custom):
7325 * gst/gstiterator.h:
7328 2005-11-09 Wim Taymans <wim@fluendo.com>
7331 Document another field.
7333 * gst/gststructure.c:
7334 * gst/gststructure.h:
7337 2005-11-09 Wim Taymans <wim@fluendo.com>
7342 2005-11-09 Wim Taymans <wim@fluendo.com>
7344 * docs/gst/gstreamer-sections.txt:
7345 Added some new macros.
7352 2005-11-09 Wim Taymans <wim@fluendo.com>
7354 * docs/design/part-TODO.txt:
7355 Some more items for the TODO
7361 2005-11-09 Andy Wingo <wingo@pobox.com>
7363 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
7364 to work on something else now tho...
7366 * gst/base/gstadapter.c: More adapter docs.
7368 * gst/elements/gstfilesink.c (gst_file_sink_start)
7369 (gst_file_sink_stop): New functions, replace the state change
7371 (gst_file_sink_class_init): Hook up the start and stop functions.
7372 (gst_file_sink_base_init): Don't set the state change handler any
7373 more. It was a bit ugly too, being set from here...
7374 (gst_file_sink_get_property, gst_file_sink_set_property):
7376 (gst_file_sink_set_location): More robust check that doesn't call
7379 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
7381 * gst/base/gstbasetransform.c: (gst_base_transform_event):
7382 Hold STREAM_LOCK while pushing newsegment or tag events as well.
7384 2005-11-08 Wim Taymans <wim@fluendo.com>
7386 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
7387 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
7388 (gst_base_sink_chain), (gst_base_sink_change_state):
7389 * gst/base/gstbasesink.h:
7390 * gst/base/gstbasesrc.h:
7393 Avoid excessive typechecking in macros.
7395 * gst/gstminiobject.c: (gst_mini_object_get_type),
7396 (gst_mini_object_init), (gst_mini_object_new),
7397 (gst_mini_object_free):
7398 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
7399 (gst_object_finalize):
7400 Remove cruft code, optimize alloc_trace.
7402 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
7404 * docs/faq/gst-uninstalled:
7405 fix up PS1 for systems that try to reset it
7407 2005-11-07 Wim Taymans <wim@fluendo.com>
7409 * gst/base/gstbasesrc.c: (gst_base_src_init),
7410 (gst_base_src_get_range):
7411 Set the segment_end to -1 initially. Fixed typefind.
7413 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
7415 * gst/base/gstadapter.c:
7416 Debug category should be 'adapter', not 'GstAdapter'.
7418 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
7419 (gst_collectpads_class_init), (gst_collectpads_init),
7420 (gst_collectpads_peek), (gst_collectpads_pop),
7421 (gst_collectpads_event), (gst_collectpads_chain):
7422 Add debug category and some debugging output. Use boilerplate
7423 macros. Remove some extraneous words from docs.
7425 2005-11-05 Andy Wingo <wingo@pobox.com>
7427 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
7430 2005-11-04 Stefan Kost <ensonic@users.sf.net>
7432 * docs/gst/gstreamer-sections.txt:
7435 * gst/gstminiobject.h:
7440 2005-11-04 Wim Taymans <wim@fluendo.com>
7442 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
7443 Small update to stop at the configured segment_end
7446 2005-11-04 Stefan Kost <ensonic@users.sf.net>
7448 * gst/gstregistry.c:
7449 * gst/gstregistry.h:
7452 2005-11-04 Edward Hervey <edward@fluendo.com>
7454 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
7455 Check if we are doing a segment seek and have arrived at the
7456 end of that segment.
7458 2005-11-04 Wim Taymans <wim@fluendo.com>
7460 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
7461 Don't leak a mutex unlock in case of an error.
7466 2005-11-04 Wim Taymans <wim@fluendo.com>
7468 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
7470 Get the context to wake up only once.
7472 2005-11-03 Wim Taymans <wim@fluendo.com>
7474 * check/states/sinks.c: (GST_START_TEST):
7475 Uncomment fixed check.
7477 * docs/design/part-TODO.txt:
7480 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7481 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
7482 (gst_base_sink_get_position):
7483 If we are going to PLAYING, post the right pending state
7484 when we post the intermediate paused message.
7486 * gst/gstelement.c: (gst_element_continue_state),
7487 (gst_element_set_state_func), (gst_element_change_state):
7488 Don't post state changes that were between the same state
7491 2005-11-03 Stefan Kost <ensonic@users.sf.net>
7493 * docs/gst/gstreamer-sections.txt:
7496 * gst/gstminiobject.h:
7499 more docs and doc style fixes
7501 2005-11-03 Stefan Kost <ensonic@users.sf.net>
7503 * docs/gst/gstreamer-sections.txt:
7505 * gst/gstminiobject.c:
7508 2005-11-03 Andy Wingo <wingo@pobox.com>
7510 * check/states/sinks.c (test_livesrc_sink): Add checks that the
7511 state-changed messages actually have the right order and the right
7514 2005-11-03 Wim Taymans <wim@fluendo.com>
7516 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
7517 Added some more checks. Specifically the case where NO_PREROLL
7518 elements are in the pipeline.
7520 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7521 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
7522 (gst_base_sink_get_position):
7523 Post READY->PAUSED state change messages too.
7524 Fix bug where VOID was posted as pending state...
7526 * gst/gstbin.c: (gst_bin_recalc_state):
7527 use _element_continue_state() to continue the state change.
7529 * gst/gstelement.c: (gst_element_continue_state),
7530 (gst_element_commit_state), (gst_element_set_state_func),
7531 (gst_element_change_state), (gst_element_change_state_func):
7532 Lots of state change cleanups, assign the STATE_RETURN in
7533 a new continue_state() function that also propagates the
7534 last return value from a state change to the app.
7535 Update some debug statements with proper category.
7537 2005-11-03 Wim Taymans <wim@fluendo.com>
7539 * docs/design/part-events.txt:
7540 * docs/design/part-gstpipeline.txt:
7541 * docs/design/part-messages.txt:
7542 * docs/design/part-overview.txt:
7543 * docs/design/part-seeking.txt:
7544 * docs/design/part-states.txt:
7545 * docs/design/part-trickmodes.txt:
7546 * docs/manual/advanced-position.xml:
7550 People think !! is ugly, this looks better.
7552 * gst/gstpad.c: (gst_pad_set_blocked_async):
7553 Remove !! since it's fixed elsewhere now.
7555 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
7557 * gst/gstminiobject.h:
7559 Add !! to _FLAG_IS_SET macros to make the result boolean.
7561 2005-11-03 Edward Hervey <edward@fluendo.com>
7563 * gst/gstpad.c: (gst_pad_set_blocked_async):
7564 comparing a flag and a gboolean rarely returns coherent results...
7565 Added two characters (!!) to make that work correctly.
7567 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
7569 * gst/gstbus.c: (gst_bus_class_init):
7572 * gst/gstqueue.c: (gst_queue_loop):
7573 Don't assume a miniobject that isn't a buffer is an
7574 event (it could be that there is a refcounting
7575 problem somewhere and the pointer is stale and
7576 refers to an already destroyed miniobject).
7578 2005-11-03 Julien MOUTTE <julien@moutte.net>
7580 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
7582 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
7584 * docs/manual/advanced-position.xml:
7585 Update seek example and explanations to current 0.9 API.
7587 * gst/elements/gsttypefindelement.c:
7588 (gst_type_find_element_activate):
7589 Remove FIXME comment now that the found caps
7592 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
7594 * gst/gstregistryxml.c: (load_feature):
7595 Add another GST_STR_NULL instance
7597 2005-11-02 Edward Hervey <edward@fluendo.com>
7599 * gst/gstpad.c: (handle_pad_block):
7600 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
7602 2005-11-02 Wim Taymans <wim@fluendo.com>
7607 * gst/gstelement.c: (gst_element_commit_state):
7608 Remove unused value.
7610 * gst/gstiterator.c:
7611 Mention that the returned element is reffed in the docs.
7613 2005-11-02 Wim Taymans <wim@fluendo.com>
7615 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
7616 (gst_pad_push), (gst_pad_push_event):
7617 Unlock blocked pads when they are flushed.
7619 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
7622 * docs/gst/gstreamer-sections.txt:
7625 * gst/gstregistry.c: (gst_registry_scan_path_level):
7626 fix for a nasty little missed situation where an installed plug-in
7627 which was in the cache did not get overridden by an uninstalled one
7628 which was earlier in the plugin path because the newly created plugin
7629 for the uninstalled one (not in the registry) didn't get its
7630 ->registered set to TRUE
7632 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
7634 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
7635 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
7636 (gst_collectpads_is_active), (gst_collectpads_collect),
7637 (gst_collectpads_collect_range), (gst_collectpads_start),
7638 (gst_collectpads_stop), (gst_collectpads_peek),
7639 (gst_collectpads_pop), (gst_collectpads_available),
7640 (gst_collectpads_read), (gst_collectpads_flush):
7641 Guard public API with assertions.
7644 Fix docs for gst_pad_set_link_function().
7646 2005-11-02 Johan Dahlin <johan@gnome.org>
7648 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
7649 Unref found_caps after we used it.
7651 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
7653 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
7654 Don't try to ref NULL.
7656 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
7658 * win32/common/config.h.in:
7659 provide a GST_FUNCTION that just gives a string for now
7661 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
7663 * win32/common/gstenumtypes.c: (register_gst_object_flags),
7664 (gst_object_flags_get_type), (register_gst_bin_flags),
7665 (gst_bin_flags_get_type), (register_gst_buffer_flag),
7666 (gst_buffer_flag_get_type), (register_gst_bus_flags),
7667 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
7668 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
7669 (gst_clock_return_get_type), (register_gst_clock_entry_type),
7670 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
7671 (gst_clock_flags_get_type), (register_gst_state),
7672 (gst_state_get_type), (register_gst_state_change_return),
7673 (gst_state_change_return_get_type), (register_gst_state_change),
7674 (gst_state_change_get_type), (register_gst_element_flags),
7675 (gst_element_flags_get_type), (register_gst_core_error),
7676 (gst_core_error_get_type), (register_gst_library_error),
7677 (gst_library_error_get_type), (register_gst_resource_error),
7678 (gst_resource_error_get_type), (register_gst_stream_error),
7679 (gst_stream_error_get_type), (register_gst_event_type),
7680 (gst_event_type_get_type), (register_gst_seek_type),
7681 (gst_seek_type_get_type), (register_gst_seek_flags),
7682 (gst_seek_flags_get_type), (register_gst_format),
7683 (gst_format_get_type), (register_gst_index_certainty),
7684 (gst_index_certainty_get_type), (register_gst_index_entry_type),
7685 (gst_index_entry_type_get_type),
7686 (register_gst_index_lookup_method),
7687 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
7688 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
7689 (gst_index_resolver_method_get_type), (register_gst_index_flags),
7690 (gst_index_flags_get_type), (register_gst_debug_level),
7691 (gst_debug_level_get_type), (register_gst_debug_color_flags),
7692 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
7693 (gst_iterator_result_get_type), (register_gst_iterator_item),
7694 (gst_iterator_item_get_type), (register_gst_message_type),
7695 (gst_message_type_get_type), (register_gst_mini_object_flags),
7696 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
7697 (gst_pad_link_return_get_type), (register_gst_flow_return),
7698 (gst_flow_return_get_type), (register_gst_activate_mode),
7699 (gst_activate_mode_get_type), (register_gst_pad_direction),
7700 (gst_pad_direction_get_type), (register_gst_pad_flags),
7701 (gst_pad_flags_get_type), (register_gst_pad_presence),
7702 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
7703 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
7704 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
7705 (gst_plugin_error_get_type), (register_gst_plugin_flags),
7706 (gst_plugin_flags_get_type), (register_gst_rank),
7707 (gst_rank_get_type), (register_gst_query_type),
7708 (gst_query_type_get_type), (register_gst_tag_merge_mode),
7709 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
7710 (gst_tag_flag_get_type), (register_gst_task_state),
7711 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
7712 (gst_alloc_trace_flags_get_type),
7713 (register_gst_type_find_probability),
7714 (gst_type_find_probability_get_type), (register_gst_uri_type),
7715 (gst_uri_type_get_type), (register_gst_parse_error),
7716 (gst_parse_error_get_type):
7717 * win32/common/gstversion.h:
7720 2005-11-01 Luca Ognibene <luogni@tin.it>
7723 fix docs. popt is dead, long live GOption.
7725 2005-10-31 Wim Taymans <wim@fluendo.com>
7730 2005-10-31 Andy Wingo <wingo@pobox.com>
7734 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
7736 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
7737 need to serialize property notifications on GLib 2.8. GLib 2.6 has
7738 the possibility of deadlocks here if code calling notify() or
7739 set() has a lock that can be taken in another notify handler (ABBA
7740 with class lock and e.g. python GIL state lock).
7742 2005-10-28 Julien MOUTTE <julien@moutte.net>
7744 * gst/gstbus.c: Doc updates.
7746 2005-10-28 Wim Taymans <wim@fluendo.com>
7748 * docs/design/part-TODO.txt:
7749 * gst/gstiterator.c:
7750 * gst/gstsystemclock.c:
7751 * gst/gstsystemclock.h:
7754 2005-10-28 Edward Hervey <edward@fluendo.com>
7756 * docs/gst/gstreamer-docs.sgml:
7757 * docs/gst/gstreamer-sections.txt:
7758 the GstURIType documentation page is private, it only defines GstURIType
7759 which should be defined in the GstURIHandler page
7761 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
7763 * gst/gstbin.c: (gst_bin_class_init):
7766 Documentation updates.
7768 2005-10-28 Wim Taymans <wim@fluendo.com>
7770 * docs/gst/gstreamer-sections.txt:
7773 Documented the clocks.
7775 2005-10-28 Stefan Kost <ensonic@users.sf.net>
7777 * docs/gst/gstreamer-sections.txt:
7778 move some macros to private sections
7779 * gst/gstminiobject.c:
7780 * gst/gstminiobject.h:
7781 add descriptions provided by ds and some more
7783 mark macro as to be removed
7785 2005-10-28 Wim Taymans <wim@fluendo.com>
7787 * docs/design/part-TODO.txt:
7788 Add an item to TODO.
7790 * gst/gstiterator.c: (gst_iterator_fold),
7791 (gst_iterator_find_custom):
7792 * gst/gstiterator.h:
7795 2005-10-28 Wim Taymans <wim@fluendo.com>
7797 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
7798 (gst_base_transform_init):
7801 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
7802 An EOS event marks the queue as completely filled.
7804 2005-10-27 Wim Taymans <wim@fluendo.com>
7806 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7807 (gst_base_sink_do_sync), (gst_base_sink_get_position):
7808 Some more debugging.
7810 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
7811 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
7812 (gst_base_transform_event), (gst_base_transform_getrange),
7813 (gst_base_transform_chain):
7814 * gst/base/gstbasetransform.h:
7816 Protect transform and concurrent buffer alloc with a new lock.
7817 Try not to break ABI/API.
7819 2005-10-27 Wim Taymans <wim@fluendo.com>
7821 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
7822 (gst_base_src_init), (gst_base_src_query),
7823 (gst_base_src_default_newsegment),
7824 (gst_base_src_configure_segment), (gst_base_src_do_seek),
7825 (gst_base_src_send_event), (gst_base_src_event_handler),
7826 (gst_base_src_pad_get_range), (gst_base_src_loop),
7827 (gst_base_src_unlock), (gst_base_src_default_negotiate),
7828 (gst_base_src_start), (gst_base_src_deactivate),
7829 (gst_base_src_activate_push), (gst_base_src_change_state):
7830 Move some stuff around and cleanup things.
7832 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
7834 * gst/base/gstbasesrc.c: (gst_base_src_query):
7835 Add missing break statements.
7837 2005-10-27 Wim Taymans <wim@fluendo.com>
7839 * check/gst/gstbin.c: (GST_START_TEST):
7840 An extra refcount is taken in basesrc.
7842 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
7843 (gst_base_src_get_range), (gst_base_src_pad_get_range),
7844 (gst_base_src_loop):
7845 Small cleanups, check for flushing after being unlocked from the
7846 LIVE_LOCK. take refcounts correctly (not yet everywhere).
7847 Don't send out EOS when going to READY.
7849 2005-10-27 Wim Taymans <wim@fluendo.com>
7851 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7852 (gst_base_sink_get_position):
7855 * gst/gstbin.c: (message_check), (bin_replace_message),
7856 (bin_remove_messages), (is_eos), (gst_bin_add_func),
7857 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
7858 (bin_query_duration_init), (bin_query_duration_fold),
7859 (bin_query_duration_done), (bin_query_generic_fold),
7861 * tools/gst-launch.c: (main):
7864 2005-10-26 Stefan Kost <ensonic@users.sf.net>
7866 * examples/controller/audio-example.c: (main):
7867 * examples/queue/queue.c: (event_loop):
7868 * gst/base/gstbasetransform.h:
7869 * gst/gstelement.c: (gst_element_send_event):
7871 * gst/gstpad.c: (gst_pad_send_event):
7874 changing log priority in error situations
7876 2005-10-25 Wim Taymans <wim@fluendo.com>
7878 * gst/gstbin.c: (message_check), (bin_replace_message),
7879 (bin_remove_messages), (is_eos), (gst_bin_add_func),
7880 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
7881 (bin_query_duration_init), (bin_query_duration_fold),
7882 (bin_query_duration_done), (bin_query_generic_fold),
7884 Some doc and debug updates.
7885 Cache previously requested query DURATION for speed. invalidate
7886 cached duration if element posts a DURATION message.
7888 2005-10-25 Wim Taymans <wim@fluendo.com>
7890 * docs/design/part-TODO.txt:
7893 * gst/gstbin.c: (message_check), (bin_replace_message),
7894 (bin_remove_messages), (is_eos), (gst_bin_add_func),
7895 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
7896 (bin_query_duration_init), (bin_query_duration_fold),
7897 (bin_query_duration_done), (bin_query_generic_fold),
7899 Handle SEGMENT_START/DONE messages correctly.
7900 More evolved query algorithm that handles duration queries
7903 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
7904 (gst_element_get_state_func), (gst_element_abort_state),
7905 (gst_element_commit_state), (gst_element_lost_state):
7906 Some more debugging.
7911 2005-10-25 Wim Taymans <wim@fluendo.com>
7913 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
7914 Don't use invalid stream_time.
7916 * gst/gstevent.c: (gst_event_new_newsegment):
7917 stream_time in newsegment cannot be undefined.
7919 2005-10-24 Wim Taymans <wim@fluendo.com>
7924 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
7926 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
7928 2005-10-24 Stefan Kost <ensonic@users.sf.net>
7930 * docs/libs/tmpl/gstdparam.sgml:
7931 * docs/libs/tmpl/gstdplinint.sgml:
7932 * docs/libs/tmpl/gstdpman.sgml:
7933 * docs/libs/tmpl/gstdpsmooth.sgml:
7934 * docs/libs/tmpl/gstunitconvert.sgml:
7937 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
7942 === release 0.9.4 ===
7944 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
7947 releasing 0.9.4, "Tyrannosaurus Rex"
7949 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
7951 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
7952 (gst_file_sink_get_current_offset):
7953 Use fseeko() and ftello() if available. When falling back on
7954 lseek() to get the current offset, fflush() first to make sure
7955 everything is up-to-date and we get the right offset.
7957 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
7959 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7960 * gst/base/gstbasesrc.c: (gst_base_src_loop):
7961 * gst/gsterror.c: (_gst_stream_errors_init):
7963 * gst/gstqueue.c: (gst_queue_loop):
7965 remove prematurely added error category and clean up the instances
7967 2005-10-21 Wim Taymans <wim@fluendo.com>
7969 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7970 (gst_base_sink_get_position), (gst_base_sink_query),
7971 (gst_base_sink_change_state):
7972 Simply set the right flag when going to playing, that's all
7973 we need to do instead of calling a function inside the object
7974 lock (that could take the lock as well and deadlock)
7976 2005-10-21 Wim Taymans <wim@fluendo.com>
7978 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
7979 (gst_base_src_loop):
7980 Don't warn, the peer element knows what to do best when
7981 the seek failed, it might try something else.
7983 2005-10-21 Wim Taymans <wim@fluendo.com>
7985 * gst/base/gstbasesrc.c: (gst_base_src_init),
7986 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
7989 2005-10-21 Wim Taymans <wim@fluendo.com>
7991 * docs/design/part-segments.txt:
7994 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
7995 Correctly set caps, even on the subbufer.
7997 2005-10-21 Wim Taymans <wim@fluendo.com>
7999 * docs/gst/gstreamer-docs.sgml:
8000 * docs/gst/gstreamer-sections.txt:
8007 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
8011 And 2% more doc coverage.
8013 2005-10-21 Andy Wingo <wingo@pobox.com>
8015 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
8018 2005-10-20 Wim Taymans <wim@fluendo.com>
8020 * gst/gsterror.c: (gst_error_get_message):
8023 * gst/gststructure.c:
8028 2005-10-20 Wim Taymans <wim@fluendo.com>
8033 Another 1% more coverage.
8035 2005-10-20 Wim Taymans <wim@fluendo.com>
8037 * docs/gst/gstreamer-sections.txt:
8038 * gst/gstelement.c: (gst_element_get_state_func),
8039 (gst_element_abort_state), (gst_element_commit_state),
8040 (gst_element_lost_state):
8042 * gst/gstquery.c: (gst_query_set_position),
8043 (gst_query_parse_position), (gst_query_set_duration),
8044 (gst_query_parse_duration), (gst_query_new_convert):
8046 Yay! 1% more docs coverage.
8048 2005-10-20 Wim Taymans <wim@fluendo.com>
8051 * gst/gstquery.c: (gst_query_set_position),
8052 (gst_query_parse_position), (gst_query_set_duration),
8053 (gst_query_parse_duration), (gst_query_new_convert):
8055 * gst/gstutils.c: (gst_element_query_convert):
8057 Docs and consistency fixes.
8059 2005-10-20 Wim Taymans <wim@fluendo.com>
8065 2005-10-20 Wim Taymans <wim@fluendo.com>
8067 * gst/gstbin.c: (message_check), (bin_replace_message),
8068 (bin_remove_messages), (is_eos), (gst_bin_add_func),
8069 (update_degree), (gst_bin_sort_iterator_next),
8070 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
8071 Reworked the message handling a bit, cache the messages instead of
8072 only the senders. alows us to do more in the future.
8074 2005-10-20 Wim Taymans <wim@fluendo.com>
8076 * docs/design/part-TODO.txt:
8079 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
8080 (gst_base_sink_query):
8081 Don't use clock time to report position when in EOS.
8083 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
8085 * tools/gst-inspect.c: (print_interfaces),
8086 (print_element_properties_info), (print_element_info):
8087 Fix interface output with gst-inspect -a; don't print
8088 newlines after double/float properties.
8090 2005-10-20 Wim Taymans <wim@fluendo.com>
8092 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
8093 (gst_base_sink_query):
8094 Speed up current position calculation.
8096 * gst/base/gstbasesrc.c: (gst_base_src_query),
8097 (gst_base_src_default_newsegment):
8098 Correctly set stream position in newsegment.
8100 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
8101 (update_degree), (gst_bin_sort_iterator_next),
8102 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
8103 * gst/gstmessage.c: (gst_message_new_custom):
8104 Clean up debugging info
8106 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
8107 (gst_queue_loop), (gst_queue_handle_src_query):
8110 2005-10-19 Wim Taymans <wim@fluendo.com>
8112 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8113 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
8114 Fix query handling again.
8116 2005-10-19 Wim Taymans <wim@fluendo.com>
8118 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8119 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
8120 * gst/base/gstbasesrc.c: (gst_base_src_query):
8121 * gst/elements/gstfilesink.c: (gst_file_sink_query):
8122 * gst/elements/gsttypefindelement.c:
8123 (gst_type_find_handle_src_query), (find_element_get_length),
8124 (gst_type_find_element_activate):
8127 * gst/gstquery.c: (gst_query_new_position),
8128 (gst_query_set_position), (gst_query_parse_position),
8129 (gst_query_new_duration), (gst_query_set_duration),
8130 (gst_query_parse_duration), (gst_query_set_segment),
8131 (gst_query_parse_segment):
8133 Bundling query position/duration is not a good idea since duration
8134 does not change much and we don't want to recalculate it for every
8135 position query, so they are separated again..
8136 Base value in segment query is not needed.
8138 * gst/gstqueue.c: (gst_queue_handle_src_query):
8139 * gst/gstutils.c: (gst_element_query_position),
8140 (gst_element_query_duration), (gst_pad_query_position),
8141 (gst_pad_query_duration):
8143 Updates for query API change.
8144 Added some docs here and there.
8146 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
8148 * check/gst/gstbin.c: (GST_START_TEST):
8149 * check/gst/gstghostpad.c: (GST_START_TEST):
8150 * check/pipelines/cleanup.c: (GST_START_TEST):
8151 wait on thread to die so we can check refcount correctly
8153 2005-10-18 Wim Taymans <wim@fluendo.com>
8155 * check/pipelines/stress.c: (GST_START_TEST):
8156 Make check a little more time consuming.
8158 2005-10-18 Wim Taymans <wim@fluendo.com>
8160 * check/Makefile.am:
8161 * check/pipelines/stress.c: (GST_START_TEST),
8162 (simple_launch_lines_suite), (main):
8163 Small state change torture test.
8165 * docs/design/part-states.txt:
8166 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8167 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
8168 (gst_base_sink_change_state):
8169 Never take state lock from streaming thread, clean up ugly
8170 hacks. Unfortunatly core does not yet support nice ways to
8173 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
8175 Start state recalc if a STATE_DIRTY message is posted, but only
8176 on the toplevel bin.
8178 * gst/gstelement.c: (gst_element_sync_state_with_parent),
8179 (gst_element_get_state_func), (gst_element_abort_state),
8180 (gst_element_commit_state), (gst_element_lost_state),
8181 (gst_element_set_state_func), (gst_element_change_state):
8183 State variables are now protected with the LOCK, the state
8184 lock is only used to serialize _set_state().
8186 2005-10-18 Wim Taymans <wim@fluendo.com>
8188 * check/gst/gstbin.c: (GST_START_TEST):
8189 * check/gst/gstmessage.c: (GST_START_TEST):
8190 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
8191 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
8193 * gst/gstelement.c: (gst_element_abort_state),
8194 (gst_element_commit_state), (gst_element_lost_state):
8195 * gst/gstmessage.c: (gst_message_new_state_changed),
8196 (gst_message_new_state_dirty), (gst_message_new_segment_start),
8197 (gst_message_new_segment_done), (gst_message_new_duration),
8198 (gst_message_parse_state_changed),
8199 (gst_message_parse_segment_start),
8200 (gst_message_parse_segment_done), (gst_message_parse_duration):
8202 * tools/gst-launch.c: (event_loop):
8203 Seriously, this is better than a previous commit as we only need
8204 to notify the fact that an element changed state in a streaming
8205 thread, marking the state of the parents dirty, hence the
8206 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
8209 2005-10-18 Wim Taymans <wim@fluendo.com>
8211 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8212 (gst_bin_recalc_func):
8213 * gst/gstelement.c: (gst_element_set_clock),
8214 (gst_element_abort_state), (gst_element_lost_state):
8215 Cleanups, prepare for state change fixes.
8217 2005-10-18 Wim Taymans <wim@fluendo.com>
8220 * gst/gstelement.c: (gst_element_class_init),
8221 (gst_element_set_state), (gst_element_set_state_func):
8223 Pending ABI changes.
8224 GThreadPool in GstBinClass to monitor async state changes.
8225 state_cookie in GstElement to detect concurrent gst/set state.
8226 set_state is now virtual too in case a very complicated element
8227 has to be constructed.
8229 2005-10-18 Wim Taymans <wim@fluendo.com>
8231 * check/gst/gstbin.c: (GST_START_TEST):
8232 * check/gst/gstmessage.c: (GST_START_TEST):
8233 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
8234 * gst/gstbin.c: (bin_bus_handler):
8235 * gst/gstelement.c: (gst_element_commit_state),
8236 (gst_element_lost_state):
8237 * gst/gstmessage.c: (gst_message_new_state_changed),
8238 (gst_message_new_segment_start), (gst_message_new_segment_done),
8239 (gst_message_new_duration), (gst_message_parse_state_changed),
8240 (gst_message_parse_segment_start),
8241 (gst_message_parse_segment_done), (gst_message_parse_duration):
8243 * tools/gst-launch.c: (event_loop):
8244 Make messages future proof.
8245 state-change gets a flag if it was a message comming from the
8247 segment-start/stop can also be specified in other formats.
8248 A message to notify an app that a pipeline changed playback
8250 Also fix a GstMessage leak in -launch
8252 2005-10-18 Andy Wingo <wingo@pobox.com>
8254 * gst/gstelement.c (gst_element_dispose): More helpful message.
8256 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
8258 reviewed by: <delete if not using a buddy>
8260 * common/gtk-doc.mak:
8262 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
8264 * gst/gstregistry.c: (gst_registry_scan_path_level):
8265 unref a plug-in we get that was already initialized
8267 2005-10-18 Stefan Kost <ensonic@users.sf.net>
8269 * docs/gst/gstreamer-sections.txt:
8270 * docs/libs/gstreamer-libs-sections.txt:
8275 2005-10-17 Andy Wingo <wingo@pobox.com>
8277 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
8280 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
8282 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
8284 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
8285 (gst_element_get_state_func): Better debug message.
8286 (gst_element_commit_state): s/INFO/DEBUG/.
8287 (gst_element_lost_state, gst_element_change_state):
8289 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
8290 (gst_message_new_custom): s/INFO/LOG/.
8292 2005-10-17 Michael Smith <msmith@fluendo.com>
8294 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
8295 Check if end time is valid using end time, not start time.
8297 2005-10-17 Stefan Kost <ensonic@users.sf.net>
8299 * check/gst-libs/controller.c: (GST_START_TEST),
8300 (gst_controller_suite):
8301 * libs/gst/controller/gstcontroller.c:
8302 (gst_controlled_property_set_interpolation_mode):
8303 * libs/gst/controller/gstcontroller.h:
8304 * libs/gst/controller/gstinterpolation.c:
8305 * testsuite/controller/.cvsignore:
8306 * testsuite/controller/Makefile.am:
8307 * testsuite/controller/interpolator.c:
8308 merge controller testsuites
8310 remove mem-chunk from docs
8312 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
8314 * gst/gstmemchunk.c:
8315 * gst/gstmemchunk.h:
8316 * gst/gsttrashstack.c:
8317 * gst/gsttrashstack.h:
8318 out. get out. you're fired. to the Attic !
8320 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
8322 * gst/gstcaps.c: (gst_caps_intersect):
8323 fix signedness issues in a (hopefully) correct way
8324 * gst/gstelement.c: (gst_element_pads_activate):
8326 * gst/gstobject.c: (gst_object_set_parent):
8329 2005-10-17 Julien MOUTTE <julien@moutte.net>
8331 * gst/gstvalue.h: Fix prototypes.
8333 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
8335 * docs/gst/gstreamer-sections.txt:
8336 * gst/gst.c: (gst_version_string):
8338 * gst/gstversion.h.in:
8339 * win32/common/libgstreamer.def:
8340 add gst_version_string ()
8342 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
8346 * gst/gst.c: (init_post):
8347 * win32/common/config.h.in:
8349 * gst/gstcaps.c: (gst_caps_intersect):
8350 use gint64, the range could be bigger than a guint
8352 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
8355 document potential problem in 2038
8357 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
8359 * gst/gstcaps.c: (gst_caps_intersect):
8360 Fix guint j diving under 0
8362 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
8365 * win32/common/config.h:
8366 * win32/common/config.h.in:
8367 check for process.h, declares getpid() on Windows
8369 include process.h if we have it
8370 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
8371 * gst/gstmemchunk.h:
8372 fix signedness issues
8373 * win32/common/libgstreamer.def:
8376 2005-10-16 Julien MOUTTE <julien@moutte.net>
8378 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
8379 fix. Because of unsigned ints, caps intersection was going nuts and
8380 trying to access structures with G_MAXUINT index. That fixes
8381 videotestsrc ! ffmpegcolorspace ! fakesink
8382 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
8385 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
8388 use the gettext macro
8389 * gst/elements/gstelements.c:
8391 * gst/indexers/gstindexers.c:
8392 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
8393 * win32/common/config.h:
8395 * win32/common/config.h.in:
8396 add the template to generate config.h
8397 * win32/common/gstenumtypes.c:
8398 * win32/common/gstversion.h:
8401 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
8403 * gst/gst.c: (gst_version):
8404 * gst/gstversion.h.in:
8407 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
8410 Oops, add missing closing bracket.
8412 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
8415 use common m4's for argument checking
8417 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
8419 * docs/gst/gstreamer-sections.txt:
8421 Add GST_EVENT_TYPE_NAME() macro.
8423 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
8426 * gst/gstpluginfeature.c:
8428 privatize more symbols
8430 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
8433 add srcdir, builddir includes to GST_ALL_CFLAGS, since
8434 everything that uses GStreamer API should have the includes
8436 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
8438 * docs/gst/gstreamer-sections.txt:
8439 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
8441 give each value a _get_type, removes the DATA exports
8443 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
8447 remove _gst_registry_auto_load, not used anymore
8448 * gst/gstbin.c: (gst_bin_get_type):
8450 * gst/gstelement.c: (gst_element_get_type):
8452 * gst/gstobject.c: (gst_object_get_type):
8454 * gst/gstpad.c: (gst_pad_get_type):
8456 make _get_type functions similar, fixes data export from library
8458 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
8461 correctly make conditionals
8462 * gst/elements/Makefile.am:
8463 * gst/elements/gstelements.c:
8464 fix typo causing fdsrc not to build
8466 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
8468 * testsuite/Makefile.am:
8469 * testsuite/bytestream/.cvsignore:
8470 * testsuite/bytestream/Makefile.am:
8471 * testsuite/bytestream/filepadsink.c:
8472 * testsuite/bytestream/gstbstest.c:
8473 * testsuite/bytestream/test1.c:
8474 * testsuite/bytestream/testfile1:
8475 * testsuite/caps/normalisation.c:
8476 * testsuite/caps/random.c: (main):
8477 * testsuite/cleanup/.cvsignore:
8478 * testsuite/cleanup/Makefile.am:
8479 * testsuite/cleanup/cleanup1.c:
8480 * testsuite/cleanup/cleanup2.c:
8481 * testsuite/cleanup/cleanup3.c:
8482 * testsuite/cleanup/cleanup4.c:
8483 * testsuite/cleanup/cleanup5.c:
8484 * testsuite/controller/interpolator.c:
8485 * testsuite/debug/printf_extension.c: (main):
8486 * testsuite/elements/tee.c:
8487 * testsuite/negotiation/.cvsignore:
8488 * testsuite/negotiation/Makefile.am:
8489 * testsuite/negotiation/pad_link.c:
8490 * testsuite/pad/Makefile.am:
8491 * testsuite/pad/chainnopull.c:
8492 * testsuite/pad/getnopush.c:
8493 * testsuite/pad/link.c:
8494 * testsuite/refcounting/sched.c: (create_pipeline):
8495 * testsuite/registry/Makefile.am:
8496 * testsuite/registry/gst-print-formats.c:
8497 * testsuite/schedulers/.cvsignore:
8498 * testsuite/schedulers/142183-2.c:
8499 * testsuite/schedulers/142183.c:
8500 * testsuite/schedulers/143777-2.c:
8501 * testsuite/schedulers/143777.c:
8502 * testsuite/schedulers/147713.c:
8503 * testsuite/schedulers/147819.c:
8504 * testsuite/schedulers/147894-2.c:
8505 * testsuite/schedulers/147894.c:
8506 * testsuite/schedulers/Makefile.am:
8507 * testsuite/schedulers/group_link.c:
8508 * testsuite/schedulers/queue_link.c:
8509 * testsuite/schedulers/relink.c:
8510 * testsuite/schedulers/unlink.c:
8511 * testsuite/schedulers/unref.c:
8512 * testsuite/schedulers/useless_iteration.c:
8513 * testsuite/states/bin.c:
8514 clean out/remove some stuff from the testsuite directories
8516 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
8519 check for some headers
8520 * gst/elements/Makefile.am:
8521 * gst/elements/gstelements.c:
8522 don't compile fdsrc without sys/socket.h
8523 * gst/indexers/Makefile.am:
8524 * gst/indexers/gstindexers.c: (plugin_init):
8525 don't compile fileindex without mmap
8527 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
8534 * check/Makefile.am:
8535 * docs/gst/Makefile.am:
8536 * examples/helloworld/Makefile.am:
8538 * gst/base/Makefile.am:
8539 * gst/check/Makefile.am:
8540 * gst/elements/Makefile.am:
8541 * gst/indexers/Makefile.am:
8542 * gst/parse/Makefile.am:
8543 * libs/gst/controller/Makefile.am:
8544 * libs/gst/dataprotocol/Makefile.am:
8545 * examples/helloworld/helloworld.c: (event_loop):
8546 compile fixes, though it's not being compiled currently
8548 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
8550 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
8551 Add some simple tests for the new taglist date API.
8553 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
8555 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
8556 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
8557 Beautify 'last-message' output: print 'none' for buffer timestamps
8558 and durations if none is set; improve alignment with next messages.
8560 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
8562 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
8563 * gst/gstpluginfeature.h:
8564 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
8565 * gst/gstregistry.h:
8566 * docs/gst/gstreamer-sections.txt:
8567 Add new API to check plugin feature version requirements.
8569 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
8570 Some basic tests for the above.
8572 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
8574 * gst/gststructure.c: (gst_structure_to_string):
8575 guard against NULL printf - happens when for example
8576 a message structure with GstClock gets serialized
8578 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
8580 * gst/base/gstcollectpads.c: (gst_collectpads_event):
8581 Fix presumable copy'n'pasto.
8583 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
8585 * gst/elements/gstfakesrc.h:
8586 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
8587 * gst/elements/gsttypefindelement.c:
8589 * gst/elements/gstfilesink.c: (gst_file_sink_render):
8590 I wonder if this could actually write +2GB files before
8592 2005-10-13 Andy Wingo <wingo@pobox.com>
8594 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
8595 Fix Timmeke Waymans bug.
8596 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
8597 string of the proper length to gst_caps_from_string. There's a
8598 potential for, before this fix, that this could cause someone
8599 connecting over the network to cause a segfault if the payload is
8602 2005-10-13 Stefan Kost <ensonic@users.sf.net>
8604 * docs/design/draft-push-pull.txt:
8605 * docs/design/part-overview.txt:
8606 * docs/random/TODO-pre-0.9:
8607 * docs/random/old/ChangeLog.gstreamer:
8608 * gst/base/gstpushsrc.c:
8612 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
8614 * gst/glib-compat.c: (gst_flags_get_first_value):
8615 * gst/glib-compat.h:
8616 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
8617 (gst_value_compare_double), (gst_value_serialize_flags):
8618 GLib 2.6 g_flags_get_first_value has a bug that triggers an
8621 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
8623 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8624 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
8626 * tools/gst-launch.c: (event_loop):
8627 print out clock nicely
8629 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
8631 * docs/gst/gstreamer-sections.txt:
8633 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
8634 (gst_tag_list_get_date_index):
8635 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
8636 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
8638 2005-10-13 Julien MOUTTE <julien@moutte.net>
8640 * gst/base/gstcollectpads.c: (gst_collectpads_event),
8641 (gst_collectpads_chain):
8642 * gst/base/gstcollectpads.h: Handle newsegment and store informations
8645 2005-10-13 Stefan Kost <ensonic@users.sf.net>
8647 * docs/gst/gstreamer-sections.txt:
8650 * tools/gst-inspect.c: (main):
8651 * tools/gst-launch.c: (main):
8652 * tools/gst-run.c: (main):
8653 * tools/gst-xmlinspect.c: (main):
8654 fix GOption context leaks
8657 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
8661 * win32/common/config.h:
8663 * win32/vs6/grammar.dsp:
8664 * win32/vs6/libgstelements.dsp:
8665 * win32/vs6/libgstreamer.dsp:
8668 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
8670 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8671 * gst/base/gstbasesrc.c: (gst_base_src_query):
8672 fix more guint64<->gdouble conversions
8674 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
8677 add win32-update target
8678 * win32/common/gstconfig.h:
8679 * win32/common/gstenumtypes.c:
8680 * win32/common/gstenumtypes.h:
8681 * win32/common/gstversion.h:
8682 add files that visual studio can't generate
8684 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
8687 add a win32-update target
8690 2005-10-12 Wim Taymans <wim@fluendo.com>
8692 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8693 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
8694 * gst/gstelement.c: (gst_element_commit_state),
8695 (gst_element_set_state):
8696 Protect flags with proper lock.
8697 unref provided cached clock in dispose.
8699 2005-10-12 Stefan Kost <ensonic@users.sf.net>
8702 * gst/gstminiobject.h:
8704 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
8705 removed unused flags from miniobject
8708 2005-10-12 Wim Taymans <wim@fluendo.com>
8710 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
8711 (gst_file_sink_event), (gst_file_sink_render):
8712 Flush before seeking.
8714 2005-10-12 Andy Wingo <wingo@pobox.com>
8716 * gst/gst.c (gst_init_check): Ignore unknown options, as has
8717 always been the case.
8719 2005-10-12 Stefan Kost <ensonic@users.sf.net>
8721 * check/gst/gstbin.c: (GST_START_TEST):
8722 * docs/gst/gstreamer-sections.txt:
8723 * gst/base/gstbasesink.c: (gst_base_sink_init):
8724 * gst/base/gstbasesrc.c: (gst_base_src_init),
8725 (gst_base_src_get_range), (gst_base_src_check_get_range),
8726 (gst_base_src_start), (gst_base_src_stop):
8727 * gst/base/gstbasesrc.h:
8728 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
8729 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8730 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
8734 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
8736 * gst/gstelement.c: (gst_element_is_locked_state),
8737 (gst_element_set_locked_state), (gst_element_commit_state),
8738 (gst_element_set_state):
8740 * gst/gstindex.c: (gst_index_init):
8742 * gst/gstminiobject.h:
8743 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
8744 (gst_object_set_parent):
8746 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
8747 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
8749 * gst/gstpadtemplate.h:
8750 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
8751 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
8752 * gst/gstpipeline.h:
8753 * gst/indexers/gstfileindex.c: (gst_file_index_load),
8754 (gst_file_index_commit):
8755 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
8756 * testsuite/pad/link.c: (gst_test_src_init),
8757 (gst_test_filter_init), (gst_test_sink_init):
8758 * testsuite/states/locked.c: (main):
8759 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
8760 moved bitshift from macro to enum definition
8762 2005-10-12 Wim Taymans <wim@fluendo.com>
8764 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
8765 * gst/elements/gstfilesink.c: (gst_file_sink_event),
8766 (gst_file_sink_render):
8767 Some more debugging info.
8769 2005-10-12 Wim Taymans <wim@fluendo.com>
8771 * docs/design/part-states.txt:
8772 * tools/gst-launch.c: (main):
8774 Revert non-intentional change.
8776 2005-10-12 Wim Taymans <wim@fluendo.com>
8778 * check/gst/gstbin.c: (GST_START_TEST):
8779 * check/gst/gstelement.c: (GST_START_TEST):
8780 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
8781 * check/gst/gstghostpad.c: (GST_START_TEST):
8782 * check/gst/gstpipeline.c: (GST_START_TEST):
8783 * check/pipelines/simple_launch_lines.c: (run_pipeline):
8784 * check/states/sinks.c: (GST_START_TEST):
8785 * gst/elements/gsttypefindelement.c: (stop_typefinding):
8786 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
8787 (gst_bin_remove_func), (gst_bin_get_state_func),
8788 (gst_bin_recalc_state), (gst_bin_change_state_func),
8790 * gst/gstelement.c: (gst_element_get_state_func),
8791 (gst_element_get_state), (gst_element_abort_state),
8792 (gst_element_commit_state), (gst_element_set_state),
8793 (gst_element_change_state), (gst_element_change_state_func):
8795 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
8796 (gst_pipeline_provide_clock_func):
8797 * gst/gstutils.c: (gst_element_link_pads_filtered):
8798 * tools/gst-launch.c: (main):
8799 * tools/gst-typefind.c: (main):
8800 Use GstClockTime in _get_state() instead of GTimeVal.
8801 Remove old code in gstutils.c
8803 2005-10-12 Andy Wingo <wingo@pobox.com>
8805 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
8808 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
8809 there is no task. Shouldn't affect any code, as nothing in our
8810 plugins checks this return value.
8811 (gst_pad_stop_task): Also take the stream lock if the pad has no
8814 2005-10-12 Wim Taymans <wim@fluendo.com>
8816 * gst/gstpad.c: (pre_activate), (post_activate),
8817 (gst_pad_activate_pull), (gst_pad_activate_push):
8818 Cleanup activation code. Reset old state if
8821 2005-10-12 Wim Taymans <wim@fluendo.com>
8823 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8824 (gst_base_sink_change_state):
8825 No need to prerol after receiving EOS.
8827 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8828 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
8829 * gst/elements/gstidentity.c: (gst_identity_event):
8830 Print events more verbosely.
8832 2005-10-12 Wim Taymans <wim@fluendo.com>
8834 * check/Makefile.am:
8835 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
8836 * check/states/sinks2.c:
8837 Moved sinks2 testcode in sinks check.
8839 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
8840 (gst_bin_remove_func), (gst_bin_recalc_state),
8841 (gst_bin_change_state_func), (bin_bus_handler):
8842 Fix potential race condition when _get_state() iterated over an
8843 ASYNC element right before it posted a state completion.
8846 Do proper cast here.
8848 * gst/gstevent.c: (gst_event_new_newsegment),
8849 (gst_event_parse_newsegment):
8850 A playback rate of 0.0 is not allowed.
8852 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
8854 * win32/common/config.h:
8855 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
8856 (_trewinddir), (_ttelldir), (_tseekdir):
8857 * win32/common/dirent.h:
8858 * win32/common/gtchar.h:
8859 * win32/common/libgstbase.def:
8860 * win32/common/libgstreamer.def:
8861 * win32/vs6/grammar.dsp:
8862 * win32/vs6/gst_inspect.dsp:
8863 * win32/vs6/gst_launch.dsp:
8864 * win32/vs6/gstreamer.dsw:
8865 * win32/vs6/libgstbase.dsp:
8866 * win32/vs6/libgstelements.dsp:
8867 * win32/vs6/libgstreamer.dsp:
8868 Visual Studio 6 project files, and a new common directory.
8871 2005-10-11 Wim Taymans <wim@fluendo.com>
8873 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8874 (gst_base_sink_do_sync), (gst_base_sink_query),
8875 (gst_base_sink_change_state):
8876 * gst/base/gstbasesink.h:
8877 Correctly parse newsegment info.
8879 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
8881 * gst/gst.c: (init_post):
8882 split plugin paths correctly
8884 2005-10-11 Wim Taymans <wim@fluendo.com>
8886 * check/gst/gstevent.c: (GST_START_TEST):
8887 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8888 (gst_base_sink_change_state):
8889 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
8890 * gst/base/gstbasetransform.c: (gst_base_transform_event):
8891 * gst/elements/gstfilesink.c: (gst_file_sink_event):
8892 * gst/gstevent.c: (gst_event_new_newsegment),
8893 (gst_event_parse_newsegment):
8895 Added extra flag to newsegment for future API freeze.
8896 Updated check and base elements.
8898 2005-10-11 Julien MOUTTE <julien@moutte.net>
8900 * gst/base/gstcollectpads.c: (gst_collectpads_init),
8901 (gst_collectpads_add_pad), (gst_collectpads_pop),
8902 (gst_collectpads_event), (gst_collectpads_chain):
8903 * gst/base/gstcollectpads.h: Handle EOS correctly.
8905 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
8907 * tools/gst-launch.c: (main):
8908 more null protecting
8910 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
8912 * gst/gst-i18n-lib.h:
8913 check for ENABLE_NLS, not GETTEXT_PACKAGE
8914 * gst/gstregistry.c: (gst_registry_add_plugin),
8915 (gst_registry_scan_path_level),
8916 (_gst_registry_remove_cache_plugins):
8917 protect possibly NULL strings
8918 * gst/parse/types.h:
8919 config.h already included before
8920 * tools/gst-inspect.c: (main):
8921 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
8922 check for ENABLE_NLS, not GETTEXT_PACKAGE
8923 * tools/gst-launch.c: (main):
8924 check for ENABLE_NLS, not GETTEXT_PACKAGE
8926 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
8929 if we don't have glib, fail before testing 2.8
8930 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
8931 fix a leak, should fix plugins-base testsuite
8933 2005-10-11 Andy Wingo <wingo@pobox.com>
8935 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
8936 take the mode we're going to as an arg. Go head and set the mode
8937 and flushing flags now, so that if the activate function starts a
8938 thread all the flags will be in the right state.
8939 (post_activate): Renamed also. Just handle making sure streaming
8940 finishes for the deactivation case, and setting the deactivated
8942 (gst_pad_set_active): Complain loudly if deactivation fails.
8943 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
8944 (gst_pad_activate_push): Adapt to pre/post_activate changes,
8945 remove the terrible hack.
8947 2005-10-11 Wim Taymans <wim@fluendo.com>
8949 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
8950 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
8951 (gst_bin_recalc_state), (gst_bin_change_state_func),
8952 (gst_bin_dispose), (bin_bus_handler):
8954 Prepare to make current EOS message queue more generic.
8957 * gst/gstevent.c: (gst_event_new_newsegment),
8958 (gst_event_parse_newsegment):
8960 Rename base to stream_time.
8965 2005-10-11 Wim Taymans <wim@fluendo.com>
8967 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
8968 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
8969 (gst_bin_change_state_func), (bin_bus_handler):
8971 Work on proper clock selection.
8973 2005-10-11 Edward Hervey <edward@fluendo.com>
8975 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
8976 * libs/gst/controller/gstcontroller.h:
8977 Added GList* version of _remove_properties() in order to be able to wrap
8980 2005-10-11 Wim Taymans <wim@fluendo.com>
8982 * docs/design/part-states.txt:
8985 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
8986 (gst_bin_change_state_func), (bin_bus_handler):
8987 Doc updates. Don't distribute the same clock over and over again.
8993 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
8994 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
8995 (gst_pad_send_event):
8997 Make probe emission threadsafe again.
8998 Register quarks and move _get_name() from utils.
9001 * gst/gstpipeline.c: (gst_pipeline_class_init),
9002 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
9003 Only redistribute the clock of it changed.
9005 * gst/gstsystemclock.h:
9010 Moved the _flow_get_name() to GstPad.
9012 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
9014 * check/gst-libs/gdp.c: (GST_START_TEST):
9015 * check/gst/gstcaps.c: (GST_START_TEST):
9016 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
9017 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
9018 (gst_dp_packet_from_caps):
9019 fix more valgrind warnings before turning up the heat
9021 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
9023 * gst/parse/grammar.y:
9024 some cleanup before the hacking
9026 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
9028 * gst/base/gstbasesrc.c: (gst_base_src_query):
9030 * gst/gstutils.c: (gst_guint64_to_gdouble),
9031 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
9033 externalize, basesrc uses it
9034 obviously the implementation needs testing
9036 2005-10-10 Wim Taymans <wim@fluendo.com>
9038 * tests/sched/Makefile.am:
9039 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
9040 (make_pipeline3), (make_pipeline4), (print_elem), (main):
9042 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
9044 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
9045 apparently converting from guint64 to double is not implemented
9048 2005-10-10 Wim Taymans <wim@fluendo.com>
9050 * check/Makefile.am:
9051 * check/generic/states.c: (GST_START_TEST):
9052 * check/gst/gstbin.c: (GST_START_TEST):
9053 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
9054 * check/states/sinks.c: (GST_START_TEST):
9055 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
9057 Check fixes, use API as stated in design docs, remove hacks.
9059 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9060 (gst_base_sink_change_state):
9061 Catch stopping our task while we're shutting down.
9063 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
9064 (gst_bin_remove_func), (gst_bin_get_state_func),
9065 (gst_bin_recalc_state), (gst_bin_change_state_func),
9068 * gst/gstelement.c: (gst_element_init),
9069 (gst_element_get_state_func), (gst_element_abort_state),
9070 (gst_element_commit_state), (gst_element_lost_state),
9071 (gst_element_set_state), (gst_element_change_state),
9072 (gst_element_change_state_func):
9074 New state change algorithm (see #318116)
9076 * gst/gstpipeline.c: (gst_pipeline_class_init),
9077 (gst_pipeline_init), (gst_pipeline_set_property),
9078 (gst_pipeline_get_property), (do_pipeline_seek),
9079 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
9080 * gst/gstpipeline.h:
9081 Remove crude state change hacks.
9086 * tools/gst-launch.c: (main):
9087 Fixes for state change. Needs some more work to fully use the
9090 2005-10-10 Andy Wingo <wingo@pobox.com>
9092 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
9094 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
9095 this flag, but it's not even in GLib 2.6. Odd. Hack around the
9098 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
9100 * gst/gstiterator.c: (gst_iterator_new):
9101 Fix my previous commit: GTypes passed to gst_iterator_new()
9102 can be fundamental types.
9104 2005-10-10 Wim Taymans <wim@fluendo.com>
9106 * gst/gstelement.c: (gst_element_iterate_pad_list),
9107 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
9108 (gst_element_iterate_sink_pads):
9109 Use src/sink pads lists for the respective iterators instead
9112 2005-10-10 Andy Wingo <wingo@pobox.com>
9114 Merged in popt removal + GOption addition patch from Ronald, bug
9117 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
9118 GstElement macros around, remove popt-related symbols, add goption
9121 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
9123 * docs/gst/Makefile.am:
9124 * docs/libs/Makefile.am: No POPT_CFLAGS.
9126 * examples/manual/Makefile.am:
9127 * docs/manual/basics-init.xml: Doc updates with an example.
9129 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
9130 (gst_init), (parse_one_option), (parse_goption_arg):
9131 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
9132 bit of hand merging and debugging to get the GOption stuff working
9135 * tests/Makefile.am:
9136 * tools/Makefile.am:
9137 * tools/gst-inspect.c: (main):
9138 * tools/gst-launch.c: (main):
9139 * tools/gst-run.c: (main):
9140 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
9142 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
9144 * gst/gstiterator.c: (gst_iterator_new):
9145 Add assertions to make sure passed GType is likely to really
9146 be a GType (as the compiler won't catch it if the size and
9147 GType arguments get mixed up, see #318447).
9149 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
9151 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
9153 * gst/gstbin.c: (gst_bin_iterate_sorted):
9154 Pass GType and size arguments to gst_iterator_new() in the right
9155 order (maybe we should make _new() take the GType as first argument
9156 just like _new_list()?) (#318447).
9159 2005-10-10 Wim Taymans <wim@fluendo.com>
9161 * gst/gstelement.c: (gst_element_finalize):
9162 And free the GStaticRecMutex too
9164 2005-10-10 Andy Wingo <wingo@pobox.com>
9166 * gst/gstelement.c (gst_element_init, gst_element_finalize):
9167 Allocate and free the mutex properly.
9169 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
9171 (GstElement): The state_lock is now recursive. Rebuild your
9172 plugins, suckers. Old macros adapted.
9174 * docs/gst/gstreamer-sections.txt: Doc updates.
9177 * gst/gstutils.c (g_static_rec_cond_timed_wait)
9178 (g_static_rec_cond_wait): Ported from state changes patch, while
9179 we wait on bug #317802 to be solved in a well-distributed GLib.
9181 * gst/gstelement.c (gst_element_change_state_func): Renamed from
9182 gst_element_change_state, variable name changes.
9183 (gst_element_change_state): Split out of gst_element_set_state in
9184 preparation for the state change merge. Doesn't pay attention to
9185 the 'transition' argument.
9186 (gst_element_set_state): Updates, hopefully purely cosmetic.
9187 (gst_element_sync_state_with_parent): MT-safety. Ported from the
9189 (gst_element_get_state_func): Renamed from get_state, cosmetic
9192 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
9194 * gst/elements/gstelements.c:
9195 * win32/GStreamer.vcproj:
9197 * win32/dirent.c: (_tseekdir):
9198 * win32/gst-inspect.vcproj:
9199 * win32/gst-launch.vcproj:
9200 * win32/gstconfig.h:
9201 * win32/gstelements.vcproj:
9202 * win32/gstenumtypes.c: (gst_object_flags_get_type):
9203 * win32/gstreamer.def:
9205 updates for the win32 build (patch from Sebastien Moutte)
9207 2005-10-10 Andy Wingo <wingo@pobox.com>
9209 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
9210 gst_bin_get_state, cleaned up (but no logic changes).
9211 (bin_element_is_sink): Comment updates.
9212 (sink_iterator_filter): Remove needless cast.
9213 (gst_bin_iterate_sinks): Doc update.
9214 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
9215 cleaned up (but no logic changes).
9217 * check/states/sinks.c (test_src_sink): Cleanups from the state
9219 (test_livesrc_sink): Sync on the state.
9221 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
9222 the state change patch.
9224 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
9227 * check/gst/gstbin.c: Merge in some style fixes and additional
9228 checks from Wim's state change patch.
9230 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
9232 * gst/base/gsttypefindhelper.c: (helper_find_peek),
9233 (gst_type_find_helper):
9234 Check whether we have the requested data already in our list of
9235 cached buffers before pulling a new buffer; also make the buffer
9236 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
9238 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
9243 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
9244 don't use long long, it's not portable. Replacing with
9245 gint64 seems to work; let's hope no skeletons fall out of the closet.
9247 2005-10-10 Andy Wingo <wingo@pobox.com>
9249 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
9251 2005-10-09 Stefan Kost <ensonic@users.sf.net>
9253 * docs/gst/gstreamer-sections.txt:
9258 * gst/gstmessage.c: (gst_message_parse_state_changed):
9261 more docs, fix compilation
9263 2005-10-09 Philippe Khalaf <burger@speedy.org>
9265 Fixed a few forgotten variables on previous commit
9267 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
9269 * gst/base/gsttypefindhelper.c: (helper_find_peek):
9270 Fix evil typefind crasher: getrange() might return a short
9271 buffer at the end of a file, but gst_type_find_peek() must
9272 either return the full data as requested or NULL, but
9273 never a short buffer.
9275 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
9277 * gst/gstmessage.c: (gst_message_new_state_changed),
9278 (gst_message_parse_state_changed):
9280 don't use "new", it's a C++ keyword
9282 2005-10-08 Wim Taymans <wim@fluendo.com>
9284 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
9285 * gst/gstelement.c: (gst_element_post_message):
9286 * gst/gstpipeline.c: (gst_pipeline_change_state):
9287 Small docs and debug updates.
9289 2005-10-08 Stefan Kost <ensonic@users.sf.net>
9291 * docs/gst/gstreamer-sections.txt:
9292 * gst/gstelementfactory.c:
9297 2005-10-08 Wim Taymans <wim@fluendo.com>
9299 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
9300 (gst_bin_dispose), (bin_bus_handler):
9301 Fix typos, add comments.
9302 Clear EOS list when going to PAUSED from any direction and do it
9303 in a threadsafe way.
9304 Get base time in a threadsafe way too.
9305 Fix confusing debug in the change_state function.
9306 Various other small cleanups.
9308 * gst/gstelement.c: (gst_element_post_message):
9309 Fix very verbose bus posting code.
9311 * gst/gstpipeline.c: (gst_pipeline_class_init),
9312 (gst_pipeline_set_property), (gst_pipeline_get_property),
9313 (gst_pipeline_change_state):
9314 Small ARG_ -> PROP_ cleanup
9316 2005-10-08 Wim Taymans <wim@fluendo.com>
9318 * gst/gstbin.c: (is_eos), (bin_bus_handler):
9319 Do a less CPU demanding EOS check because we can.
9321 2005-10-08 Wim Taymans <wim@fluendo.com>
9323 * libs/gst/dataprotocol/dataprotocol.c:
9324 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
9325 (gst_dp_packet_from_event):
9326 * libs/gst/dataprotocol/dataprotocol.h:
9327 * libs/gst/dataprotocol/dp-private.h:
9328 It's about time we bump the version number.
9329 Since event types don't fit in the guint8 anymore describing
9330 the payload type, make payload type 16 bits wide.
9332 2005-10-08 Wim Taymans <wim@fluendo.com>
9334 * docs/design/part-TODO.txt:
9335 * docs/design/part-clocks.txt:
9336 * docs/design/part-events.txt:
9337 * docs/design/part-gstbin.txt:
9338 * docs/design/part-gstelement.txt:
9339 * docs/design/part-gstpipeline.txt:
9340 * docs/design/part-live-source.txt:
9341 * docs/design/part-messages.txt:
9342 * docs/design/part-overview.txt:
9343 * docs/design/part-states.txt:
9346 2005-10-08 Wim Taymans <wim@fluendo.com>
9350 Fix event quark registration.
9351 Add some space between events so we can insert them in the
9354 2005-10-08 Wim Taymans <wim@fluendo.com>
9356 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9357 (gst_base_sink_handle_buffer):
9364 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
9365 (gst_queue_set_property), (gst_queue_get_property):
9367 Remove old unused properties.
9369 2005-10-08 Stefan Kost <ensonic@users.sf.net>
9370 * docs/gst/gstreamer-sections.txt:
9373 * gst/gstminiobject.c:
9374 * gst/gstminiobject.h:
9378 lots of new docs and doc fixes
9380 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
9382 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
9384 * gst/gstregistry.c: (gst_registry_lookup_locked),
9385 (gst_registry_scan_path_level):
9386 * gst/gstregistryxml.c: (load_plugin):
9387 Only ever load one plugin for a given plugin basename.
9388 This ensures correct overriding of GST_PLUGIN_PATH over
9389 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
9390 system installed plugins.
9392 2005-10-08 Wim Taymans <wim@fluendo.com>
9394 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9395 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
9396 Prepare for doing QOS.
9398 2005-10-08 Wim Taymans <wim@fluendo.com>
9400 * check/gst/gstbin.c: (GST_START_TEST):
9401 * check/pipelines/cleanup.c: (GST_START_TEST):
9402 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
9403 Allow new clock message too.
9405 2005-10-08 Wim Taymans <wim@fluendo.com>
9407 * gst/gstmessage.c: (gst_message_new_error),
9408 (gst_message_new_warning), (gst_message_new_tag),
9409 (gst_message_new_state_changed), (gst_message_new_clock_provide),
9410 (gst_message_new_clock_lost), (gst_message_new_new_clock),
9411 (gst_message_new_segment_start), (gst_message_new_segment_done),
9412 (gst_message_parse_state_changed),
9413 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
9414 (gst_message_parse_new_clock):
9416 Also carry the clock in question.
9418 2005-10-08 Wim Taymans <wim@fluendo.com>
9420 * gst/gstmessage.c: (gst_message_new_custom),
9421 (gst_message_new_eos), (gst_message_new_error),
9422 (gst_message_new_warning), (gst_message_new_tag),
9423 (gst_message_new_state_changed), (gst_message_new_clock_provide),
9424 (gst_message_new_new_clock), (gst_message_new_segment_start),
9425 (gst_message_new_segment_done), (gst_message_parse_state_changed),
9426 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
9429 Added clock related messages.
9431 * gst/gstpipeline.c: (gst_pipeline_change_state):
9432 Post message when the clock changed.
9434 * tools/gst-launch.c: (event_loop):
9437 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
9439 * tools/gst-inspect.c: (print_element_properties_info):
9440 Can't pass NULL strings to g_print() on windows.
9442 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
9445 * docs/gst/Makefile.am:
9446 * docs/gst/gstreamer-docs.sgml:
9447 * docs/gst/running.xml:
9448 * docs/version.entities.in:
9449 add a chapter on running GStreamer.
9450 document GST_DEBUG and GST_PLUGIN* env vars
9452 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
9457 remove PLUGINS_BUILDDIR stuff
9458 * gst/gst.c: (init_post):
9459 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
9461 remove, it was condescending and not needed
9463 2005-10-08 Wim Taymans <wim@fluendo.com>
9465 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
9466 (gst_base_sink_handle_object), (gst_base_sink_event),
9467 (gst_base_sink_wait), (gst_base_sink_handle_event),
9468 (gst_base_sink_change_state):
9469 * gst/base/gstbasesink.h:
9470 Repost EOS message while going to PLAYING if still EOS.
9471 Make sure that when receiving a FLUSH_START we don't attempt
9472 to sync on the clock anymore.
9474 2005-10-08 Wim Taymans <wim@fluendo.com>
9476 * tools/gst-launch.c: (event_loop):
9477 Better message printout.
9479 2005-10-08 Wim Taymans <wim@fluendo.com>
9481 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
9482 (gst_bin_child_proxy_get_children_count):
9483 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
9484 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
9485 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
9486 (gst_child_proxy_set_valist):
9487 * gst/parse/grammar.y:
9488 Make ChildProxy threadsafe and fix mem leaks.
9490 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
9492 * gst/gst.c: (init_post):
9493 debug the GST_PLUGIN_ env vars
9495 2005-10-08 Wim Taymans <wim@fluendo.com>
9497 * check/gst/gstbin.c: (GST_START_TEST):
9498 * check/gst/gstmessage.c: (GST_START_TEST):
9499 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
9500 * gst/gstelement.c: (gst_element_commit_state),
9501 (gst_element_lost_state):
9502 * gst/gstmessage.c: (gst_message_new_state_changed),
9503 (gst_message_parse_state_changed):
9505 * tools/gst-launch.c: (event_loop):
9506 Added extra field to STATE_CHANGE message with the pending
9507 state, which will be different from the new state soon.
9509 2005-10-08 Wim Taymans <wim@fluendo.com>
9511 * gst/gstbus.c: (gst_bus_pop):
9513 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
9514 Small cleanups and doc updates.
9516 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
9518 * gst/gst.c: (init_pre):
9519 * gst/gstbin.c: (gst_bin_add_func):
9520 log distributing clocks and base time
9521 * gst/gstregistry.c: (gst_registry_add_plugin),
9522 (gst_registry_scan_path_level), (gst_registry_scan_path):
9523 clean up the debugging output a little
9524 * gst/gstutils.c: (gst_element_state_get_name):
9525 warn about a memleak (I've actually seen this be used, though
9526 it was probably a bug)
9528 2005-10-07 Wim Taymans <wim@fluendo.com>
9530 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9531 (gst_base_src_init), (gst_base_src_default_newsegment),
9532 (gst_base_src_newsegment), (gst_base_src_do_seek),
9533 (gst_base_src_loop), (gst_base_src_start):
9534 * gst/base/gstbasesrc.h:
9535 Make the newsegment event customizable by subclasses.
9537 2005-10-07 Wim Taymans <wim@fluendo.com>
9539 * gst/gstevent.c: (gst_event_new_buffersize),
9540 (gst_event_parse_buffersize):
9542 New event for future idea.
9544 2005-10-07 Andy Wingo <wingo@pobox.com>
9546 * gst/gstelement.c (gst_element_post_message): Doc update.
9548 * docs/gst/gstreamer-sections.txt: Update.
9550 * gst/gstmessage.c (gst_message_new_application): Made into a
9551 function like honest API calls.
9552 (gst_message_new_element): New message type.
9554 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
9556 * check/elements/fakesrc.c (test_no_preroll): New check, checks
9557 that setting a live fakesrc to PAUSED returns NO_PREROLL both
9560 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
9561 NO_PREROLL from gst_element_change_state to fall through.
9563 2005-10-07 Wim Taymans <wim@fluendo.com>
9565 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
9566 (gst_ghost_pad_do_activate_push):
9567 Activating a ghostpad with no internal pad in push mode
9570 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
9573 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
9574 Fixes compilation on Windows.
9576 2005-10-07 Michael Smith <msmith@fluendo.com>
9578 * tools/gst-inspect.c:
9579 Print out feature and plugin count at the end when printing out
9582 2005-10-04 Michael Smith <msmith@fluendo.com>
9584 * gst/gsterror.c: (_gst_stream_errors_init):
9585 Add another error string used in a few existing plugins.
9588 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
9589 * tools/gst-inspect.c: (print_element_info):
9590 When a feature disappears from a plugin (and the feature exists in
9591 the cached registry file), things went horribly wrong. This isn't a
9592 complete fix, we should actually be removing the 'missing' features
9593 from the features list when we load the actual plugin. That's not
9596 2005-10-04 Johan Dahlin <johan@gnome.org>
9598 * check/gst/gstiterator.c: (GST_START_TEST):
9599 * gst/gstbin.c: (gst_bin_iterate_elements),
9600 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
9601 * gst/gstelement.c: (gst_element_iterate_pads):
9602 * gst/gstformat.c: (gst_format_iterate_definitions):
9603 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
9604 (gst_iterator_new_list), (gst_iterator_filter):
9605 * gst/gstiterator.h:
9606 * gst/gstquery.c: (gst_query_type_iterate_definitions):
9607 Add a GType to GstIterator, update callsites and tests.
9609 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
9611 * gst/gstpad.c: (gst_pad_event_default_dispatch):
9612 give events a chance to be handled by event probes when the pad
9615 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
9617 * gst/gstevent.c: (gst_event_type_get_name),
9618 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
9620 add string representations for event types
9622 2005-10-06 Wim Taymans <wim@fluendo.com>
9624 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
9625 Don't use NULL pointers.
9627 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
9629 * gst/gst_private.h:
9633 * gst/gstpluginfeature.c:
9634 widen the debug category in output to fit the biggest one we have
9635 add a bus category and use it
9636 play with the colors
9637 fix up some categories
9639 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
9641 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
9642 add push activation of sink ghost pads.
9643 Andye, please verify
9645 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
9647 * gst/gstutils.c: (gst_element_link_pads):
9648 fix a bug in the case where neither element has a pad
9649 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
9650 add a test for that case
9652 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
9654 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
9655 emit have-data before checking for peers. This allows
9656 for probe handlers to connect elements. This helps autopluggers.
9657 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
9659 add six checks, linked/unlinked with no/true/false probe
9661 2005-10-04 Wim Taymans <wim@fluendo.com>
9663 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
9664 (gst_fake_sink_event), (gst_fake_sink_preroll),
9665 (gst_fake_sink_render), (gst_fake_sink_change_state):
9666 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
9667 (gst_fake_src_get_property), (gst_fake_src_create),
9668 (gst_fake_src_stop):
9669 * gst/elements/gstidentity.c: (gst_identity_stop):
9670 Protect last_message with lock.
9672 2005-10-04 Edward Hervey <edward@fluendo.com>
9675 Added precision in the comments for GST_FORMAT_DEFAULT
9677 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
9679 * tools/gst-launch.c: (main):
9680 Don't try to run erroneous pipelines.
9682 2005-10-04 Julien MOUTTE <julien@moutte.net>
9684 * gst/gstbus.c: We don't need this header.
9686 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
9691 === release 0.9.3 ===
9693 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
9697 Releasing 0.9.3, "Unregistered"
9699 2005-10-03 Andy Wingo <wingo@pobox.com>
9701 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
9702 whereby calling a pad's activatepush() function can start a thread
9703 that starts to push or pull before the pad gets the FLUSHING flag
9704 unset. Hack around it by holding the stream lock until the flag is
9705 set. Need to replace this with a proper solution. Together with
9706 the ghost pad fixes, this fixes mp3 playing/tagreading.
9708 * docs/design/part-gstghostpad.txt: Add a note about activation of
9709 proxy pads outside of ghost pads.
9711 * gst/gstghostpad.c: Implement the ghost pad activation design.
9713 2005-10-02 Andy Wingo <wingo@pobox.com>
9715 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
9716 It is volatile, after all.
9718 * docs/design/part-gstghostpad.txt: Flesh out activation with
9721 * gst/base/gstbasesrc.c (gst_base_src_init): Use
9724 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
9727 Fix (unused) AM_CONDITIONAL tests.
9729 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
9731 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
9733 * gst/gstutils.c: (gst_pad_query_convert):
9734 Add assertion that makes sure src_val is >=0, just like
9735 gst_query_new_convert() has. (#315895)
9737 2005-09-30 Edward Hervey <edward@fluendo.com>
9739 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
9740 Let's not iterate pads we're not interested in, it avoids getting
9741 sky-high refcounts on sinkpad.
9743 2005-09-30 Wim Taymans <wim@fluendo.com>
9745 * gst/gstelement.c: (gst_element_set_state),
9746 (gst_element_change_state):
9747 Small tweak, element in ASYNC remains ASYNC.
9749 2005-09-30 Wim Taymans <wim@fluendo.com>
9751 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
9752 Only error is an error.
9754 * gst/gstbin.c: (gst_bin_change_state):
9757 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
9758 Also call pad_block in pad alloc.
9760 * gst/gstutils.c: (gst_flow_get_name):
9763 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
9765 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9766 (gst_base_src_get_range):
9767 Fix documentation typos. Add some more debug info.
9769 2005-09-29 David Schleef <ds@schleef.org>
9771 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
9772 more end-user friendly.
9773 * tools/gst-inspect.c: (main): Check if command-line argument is
9774 a file and attempt to load that file as a plugin.
9776 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
9778 * check/gst/gstbin.c:
9779 * check/states/sinks.c:
9780 fix tests for the new warning
9781 * check/gst/gstpipeline.c:
9782 add a test for pipeline and bus interaction
9784 elements should be NULL if they get disposed; add a warning if not
9786 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
9789 for 2.6 refcounting, make debug log more correct by printing
9790 the actual refcounts at the time of swap (Wim)
9792 2005-09-29 Andy Wingo <wingo@pobox.com>
9794 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
9795 removes signal watches previously added via
9796 gst_bus_add_signal_watch.
9797 (gst_bus_add_signal_watch): Don't return the source id, just store
9798 it on the bus if there wasn't an id already.
9800 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
9801 add_signal_watch and remove_signal_watch.
9803 2005-09-29 Edward Hervey <edward@fluendo.com>
9805 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
9806 Better if we actually iterate the list :)
9808 2005-09-29 Wim Taymans <wim@fluendo.com>
9810 * check/gst/gstbin.c: (GST_START_TEST):
9811 Change for new bus API.
9813 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
9814 (send_messages), (GST_START_TEST), (gstbus_suite):
9815 Change for new bus signal API.
9817 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
9818 (gst_bus_source_prepare), (gst_bus_source_check),
9819 (gst_bus_create_watch), (gst_bus_add_watch_full),
9820 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
9821 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
9823 Remove support for multiple GSources operating on different
9824 message types as it is too complex and unneeded when using
9826 Added support for receiving signals from the bus.
9828 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
9830 * docs/libs/tmpl/gstdataprotocol.sgml:
9831 * docs/manual/advanced-dataaccess.xml:
9832 * gst/elements/gstcapsfilter.c:
9834 rename filter-caps to caps property
9836 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
9838 * gst/gstvalue.c: (gst_value_deserialize_fraction):
9839 More robust fraction string parsing.
9841 * docs/pwg/appendix-porting.xml:
9842 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
9844 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
9846 * gst/gstcaps.c: (gst_caps_do_simplify):
9847 Thou shalt not free a structure and then continue using it
9848 in the next loop iteration.
9850 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
9852 Add test case for caps simplification.
9854 2005-09-29 Wim Taymans <wim@fluendo.com>
9856 * check/gst/gstbin.c: (GST_START_TEST):
9859 2005-09-29 Wim Taymans <wim@fluendo.com>
9861 * check/gst/gstbin.c: (GST_START_TEST):
9864 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9865 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
9866 (find_element), (gst_bin_sort_iterator_next),
9867 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
9868 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
9869 (gst_bin_change_state), (gst_bin_dispose):
9870 A bin does not have a bus, it gets the bus from the parent.
9872 * gst/gstelement.c: (gst_element_requires_clock),
9873 (gst_element_provides_clock), (gst_element_is_indexable),
9874 (gst_element_is_locked_state), (gst_element_change_state),
9875 (gst_element_set_bus_func):
9878 * gst/gstpipeline.c: (gst_pipeline_class_init),
9879 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
9880 The pipeline provides a bus.
9882 2005-09-28 Johan Dahlin <johan@gnome.org>
9884 * gst/gstmessage.c (gst_message_parse_state_changed): Use
9885 gst_structure_get_enum instead of gst_structure_get_int
9887 * gst/gststructure.c (gst_structure_get_enum): Impl.
9889 * gst/gststructure.h (gst_structure_get_enum): Add
9891 * docs/gst/gstreamer-sections.txt: Ditto
9893 * gst/gstmessage.c (gst_message_new_state_changed): Use
9894 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
9895 which does introspection.
9896 Reviewed by Christian Schaller
9898 2005-09-28 Stefan Kost <ensonic@users.sf.net>
9900 * gst/gstinfo.c: (gst_debug_log_default):
9901 don't do dummy g_strdup()s
9902 * libs/gst/controller/gstcontroller.c:
9903 (on_object_controlled_property_changed),
9904 (gst_controlled_property_new), (gst_controller_new_valist),
9905 (gst_controller_new_list),
9906 (gst_controller_remove_properties_valist), (gst_controller_set),
9907 (gst_controller_get), (gst_controller_sync_values),
9908 (gst_controller_get_value_array), (_gst_controller_class_init),
9909 (gst_controller_get_type):
9910 * libs/gst/controller/gstcontroller.h:
9911 * libs/gst/controller/gstinterpolation.c:
9912 (gst_controlled_property_find_timed_value_node):
9913 convert // to /**/ comments
9915 2005-09-28 Wim Taymans <wim@fluendo.com>
9917 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
9918 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
9919 (gst_bus_sync_signal_handler):
9921 Added async-message and sync-message signals to the bus.
9922 Added helper BusFunc to emit signals for all posted messages.
9924 * gst/gstmessage.c: (gst_message_type_get_name),
9925 (gst_message_type_to_quark), (gst_message_get_type):
9927 Register quarks for message names.
9929 2005-09-28 Stefan Kost <ensonic@users.sf.net>
9931 * docs/libs/gstreamer-libs-sections.txt:
9932 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
9933 (gst_controller_new_list):
9934 * libs/gst/controller/gstcontroller.h:
9935 added another constructor for language bindings
9937 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
9939 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
9943 * gst/gstinfo.c: (_gst_debug_init):
9944 slightly more readable color for refcount debugging
9946 2005-09-28 Wim Taymans <wim@fluendo.com>
9948 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
9949 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
9950 (find_element), (gst_bin_sort_iterator_next),
9951 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
9952 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
9953 (gst_bin_change_state), (gst_bin_dispose):
9954 Small doc fixes. get_clock -> provide_clock.
9956 * gst/gstelement.c: (gst_element_class_init),
9957 (gst_element_provides_clock), (gst_element_provide_clock),
9958 (gst_element_get_clock), (gst_element_commit_state),
9959 (gst_element_lost_state):
9961 Make get/set_clock() symetric. Add provide_clock vmethod since
9962 that is actually what this function does.
9964 * gst/gstpipeline.c: (gst_pipeline_class_init),
9965 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
9966 (gst_pipeline_get_clock):
9967 get_clock -> provide_clock.
9969 2005-09-28 Andy Wingo <wingo@pobox.com>
9971 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
9972 lieu of real docs...
9974 * gst/elements/gstfdsrc.c: Cleaned up a bit.
9976 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
9978 * gst/elements/gstcapsfilter.c:
9979 * gst/elements/gstfakesink.c:
9980 * gst/elements/gstfakesrc.c:
9981 * gst/elements/gstfdsink.c:
9982 * gst/elements/gstfdsrc.c:
9983 * gst/elements/gstfilesink.c:
9984 * gst/elements/gstfilesrc.c:
9985 * gst/elements/gstidentity.c:
9986 * gst/elements/gsttee.c:
9987 * gst/elements/gsttypefindelement.c:
9988 Make element details static.
9990 2005-09-28 Wim Taymans <wim@fluendo.com>
9992 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
9993 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
9994 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
9995 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
9996 (gst_bin_change_state), (gst_bin_dispose):
9997 Some documentation updates.
9998 Clean up dispose handlers.
10000 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
10001 * gst/gstpad.c: (gst_pad_dispose):
10002 Clean up dispose handler.
10004 * gst/gstpipeline.c: (gst_pipeline_change_state):
10005 Removed spurious UNLOCK.
10007 2005-09-27 Stefan Kost <ensonic@users.sf.net>
10009 * docs/gst/gstreamer-sections.txt:
10010 * gst/base/gstbasesrc.h:
10011 * gst/gstelement.h:
10015 * gst/gstpipeline.c:
10016 * gst/gstpipeline.h:
10019 added two new functions to the docs
10020 documents all undocumented GstXXXFlags
10021 completed some incomplete docs
10023 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
10025 * gst/gstbin.c: (gst_bin_dispose):
10026 * gst/gstelement.c: (gst_element_dispose):
10027 remove now useless and leaky resurrection code in dispose
10028 * gst/base/gstbasesrc.c: (gst_base_src_init):
10029 * gst/gstelementfactory.c: (gst_element_factory_create):
10030 * gst/gstobject.c: (gst_object_set_parent):
10033 2005-09-27 Wim Taymans <wim@fluendo.com>
10035 * docs/design/part-TODO.txt:
10038 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
10039 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
10040 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
10041 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
10042 (gst_bin_change_state):
10043 * gst/gstelement.h:
10044 Remove element variable, we keep element info in the iterator now.
10046 2005-09-27 Andy Wingo <wingo@pobox.com>
10048 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
10051 2005-09-27 Wim Taymans <wim@fluendo.com>
10053 * check/gst/gstbin.c: (GST_START_TEST):
10054 Enable check that works now.
10056 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
10057 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
10058 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
10059 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
10060 (gst_bin_change_state):
10062 Redid the state change algorithm using a topological sort algo.
10063 Handles all cases correctly.
10064 Exposed iterator for state change order.
10066 * gst/gstelement.h:
10067 Temp storage for state changes. Need to get rid of this soon.
10069 2005-09-27 Wim Taymans <wim@fluendo.com>
10071 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
10072 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
10073 (link_fold_func), (gst_pad_proxy_setcaps):
10074 Leak fixes, the fold functions need to unref the passed object and
10075 _get_parent_*() returns ref to parent.
10077 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
10079 * check/gst/gstbuffer.c: (test_make_writable):
10080 Plug leak in test case and fix 'make check-valgrind'
10082 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
10084 * gst/gstbuffer.c: (gst_subbuffer_init):
10085 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
10086 works correctly in all circumstances (we could have just copied
10087 the parent buffer's readonly flag, but conceptually it seems
10088 cleaner to mark all subbuffers as read-only). (based on patch
10089 by Alessandro Decina, #314710).
10091 * check/gst/gstbuffer.c: (create_read_only_buffer),
10092 (test_make_writable), (test_subbuffer_make_writable),
10094 Add some tests for gst_buffer_make_writable().
10096 2005-09-27 Wim Taymans <wim@fluendo.com>
10098 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
10099 use gst_object_has_ancestor().
10101 * gst/gstobject.c: (gst_object_has_ancestor):
10103 gst_object_has_ancestor() copied from gstbin.c as it is a
10106 * tests/instantiate/create.c: (create_all_elements):
10107 * tests/lat.c: (handoff_src), (handoff_sink):
10108 * tests/sched/runxml.c: (main):
10109 * tests/seeking/seeking1.c: (main):
10110 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
10112 Fix compilation of some tests.
10114 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
10117 Remove comment. GST_TYPE_G_ERROR is here to stay,
10118 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
10119 (#316961, #300610).
10121 2005-09-26 Wim Taymans <wim@fluendo.com>
10123 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
10124 Added check that shows error in state change order.
10126 2005-09-26 Wim Taymans <wim@fluendo.com>
10128 * gst/gstbin.c: (gst_bin_change_state):
10129 Make state change function use 3 queues again, we were
10130 adding elements in the wrong order.
10132 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
10135 * gst/gstpad.c: (gst_pad_dispose):
10136 Added some debug info first.
10138 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
10140 * docs/design/draft-push-pull.txt:
10141 * docs/design/part-events.txt:
10142 * docs/design/part-overview.txt:
10143 * docs/design/part-scheduling.txt:
10144 Replace all _pull_region() with _pull_range()
10146 2005-09-26 Andy Wingo <wingo@pobox.com>
10148 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
10150 * check/gst-libs/controller.c: Update for controller api change.
10153 * tests/Makefile.am:
10154 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
10155 over by GLib bug 118439.
10157 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
10158 routines to a function.
10160 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
10162 * libs/gst/controller/gsthelper.c:
10163 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
10164 (gst_object_sync_values): Renamed from sink_values. Ugh.
10166 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
10168 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
10169 Renamed from controller_key, as it is exported.
10171 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
10173 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
10178 * gst/gstpadtemplate.h:
10181 * gst/gstqueryutils.c:
10182 * gst/gstqueryutils.h:
10183 remove queryutils headers after moving the two used functions
10184 to gstquery. also fixes build problem for gstsiddec
10186 2005-09-26 Michael Smith <msmith@fluendo.com>
10188 * tools/gst-launch.1.in:
10189 Correct documentation in manpage of debug syntax
10191 2005-09-26 Wim Taymans <wim@fluendo.com>
10193 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
10194 (gst_base_src_is_seekable), (gst_base_src_change_state):
10195 Some more debugging info.
10197 2005-09-25 Stefan Kost <ensonic@users.sf.net>
10199 * docs/gst/gstreamer-sections.txt:
10200 * gst/base/gstbasetransform.h:
10204 2005-09-25 Stefan Kost <ensonic@users.sf.net>
10206 * docs/gst/.cvsignore:
10207 * docs/gst/tmpl/.cvsignore:
10208 * docs/gst/tmpl/gstpipeline.sgml:
10209 * docs/gst/tmpl/gstplugin.sgml:
10210 * gst/gstpipeline.c:
10213 inlined the last two docs files
10214 removed the tmpl directory from cvs (no more conflicts here!)
10216 2005-09-25 Stefan Kost <ensonic@users.sf.net>
10218 * docs/gst/gstreamer-sections.txt:
10219 * docs/gst/tmpl/.cvsignore:
10220 * docs/gst/tmpl/gstpad.sgml:
10221 * docs/gst/tmpl/gstpadtemplate.sgml:
10223 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
10224 (gst_pad_finalize), (gst_pad_set_pad_template):
10226 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
10227 (gst_pad_template_class_init), (gst_pad_template_init),
10228 (gst_pad_template_dispose), (name_is_valid),
10229 (gst_static_pad_template_get), (gst_pad_template_new),
10230 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
10231 (gst_pad_template_pad_created):
10232 * gst/gstpadtemplate.h:
10233 inlined two more docs
10234 factored gstpadtemplate out of gstpad
10236 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
10238 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
10239 (test_children_state_change_order_semi_sink):
10240 Fix test case: we can't rely on a fixed state change order when
10241 going from READY => PAUSED because the sink might commit its
10242 new state first when the first buffer created by the source
10243 reaches the sink before the source has finished its change state.
10244 (Test case still fails at times, see #316856, comment 5 onwards)
10246 2005-09-24 Wim Taymans <wim@fluendo.com>
10248 * docs/design/part-events.txt:
10249 * docs/design/part-gstbus.txt:
10250 * docs/design/part-gstpipeline.txt:
10251 * docs/design/part-messages.txt:
10252 * docs/design/part-overview.txt:
10253 * docs/design/part-segments.txt:
10257 * gst/gstelement.c:
10260 * gst/gstiterator.c:
10261 Various documentation updates.
10263 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
10266 Well, that's embarassing. Luckily we weren't using
10267 GST_CLOCK_DIFF anywhere.
10269 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
10271 * common/gtk-doc.mak:
10272 don't fail on building XML, FC4 slave shows a bunch of doc
10273 missing bits that I don't get
10275 * gst/gstpipeline.c:
10276 * gst/gststructure.c:
10279 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
10281 * docs/design/part-gstbin.txt:
10282 * docs/design/part-gstbus.txt:
10284 Add blurb about how the bus goes into flushing mode and
10285 drops all messages when its bin goes from READY into NULL
10288 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
10290 * docs/gst/gstreamer-sections.txt:
10291 * gst/gststructure.c: (gst_structure_get_clock_time):
10292 * gst/gststructure.h:
10293 add a method to get a GstClockTime out of a structure
10295 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
10297 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
10298 (test_children_state_change_order_semi_sink), (gst_bin_suite):
10299 Added test to check state change order in bins (can still be made
10300 to fail here under heavy disk load; bails out with 'Push on pad
10301 fakesink:sink0, but it was not activated in push mode').
10303 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
10304 Fix state change order when there is only a semi sink (#316856)
10306 * gst/gstbus.c: (gst_bus_class_init):
10307 Use _class_peek_parent(), not _class_ref(); fix docs to say
10308 'default main context' instead of 'mainloop' where that is
10311 * gst/gstelement.c: (gst_element_commit_state),
10312 (gst_element_set_state):
10313 Fix typos in debug messages
10315 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
10318 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
10319 * gst/gstpluginfeature.c:
10321 various doc updates
10322 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10323 change an assert into an error until it gets fixed properly
10325 2005-09-23 Stefan Kost <ensonic@users.sf.net>
10327 * docs/gst/gstreamer-sections.txt:
10328 * docs/gst/tmpl/.cvsignore:
10329 * docs/gst/tmpl/gstelement.sgml:
10330 * docs/gst/tmpl/gstinfo.sgml:
10331 * docs/gst/tmpl/gstobject.sgml:
10332 * gst/gstelement.c:
10333 * gst/gstelement.h:
10336 * gst/gstobject.c: (gst_object_class_init):
10338 inlined 3 more biiiig doc files and added some missing docs on the fly
10340 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
10342 * check/gst/.cvsignore:
10343 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
10344 * gst/gstregistryxml.c: (load_plugin),
10345 (gst_registry_xml_save_plugin):
10346 put back source in registry. add checks for find_plugin.
10347 * testsuite/states/bin.c: (assert_state), (empty_bin),
10348 (test_adding_one_element), (main):
10349 * testsuite/states/locked.c: (main):
10350 some compile/run fixes
10352 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
10354 * check/gst/gstvalue.c: (GST_START_TEST):
10355 fix leaks in the test itself
10357 2005-09-22 Wim Taymans <wim@fluendo.com>
10359 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
10360 (gst_base_sink_send_event), (gst_base_sink_peer_query),
10361 (gst_base_sink_query):
10362 Prepare for more accurate position reporting and query
10365 * gst/gstelement.c: (gst_element_send_event),
10366 (gst_element_set_state):
10369 2005-09-22 Wim Taymans <wim@fluendo.com>
10371 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
10372 (gst_query_parse_segment):
10374 More documentation.
10375 Add segment query for future use.
10377 2005-09-22 Wim Taymans <wim@fluendo.com>
10379 * gst/gstbin.c: (gst_bin_add_func):
10380 Some more debug info.
10382 * gst/gstelement.c: (gst_element_send_event):
10383 Simplify send_event
10385 * gst/gstelement.h:
10386 Don't know how flags got broken.
10391 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
10393 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
10394 Add simplistic test suite for GST_TYPE_DATE serialisation and
10397 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
10399 * docs/gst/gstreamer-sections.txt:
10400 * gst/gststructure.c: (gst_structure_set_valist),
10401 (gst_structure_get_date):
10402 * gst/gststructure.h:
10403 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
10404 (gst_date_copy), (gst_value_compare_date),
10405 (gst_value_serialize_date), (gst_value_deserialize_date),
10406 (gst_value_transform_date_string),
10407 (gst_value_transform_string_date), (_gst_value_initialize):
10409 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
10410 bunch of utility functions along with a hack that checks that
10411 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
10412 is required. Part of the grand scheme in #170777.
10414 2005-09-22 Andy Wingo <wingo@pobox.com>
10416 * gst/gstconfig.h.in: Psych out gtk-doc.
10418 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
10420 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
10422 * tools/gst-inspect.c (print_element_list): Plug some
10423 inconsequential leaks.
10425 * gst/gstregistry.c (gst_registry_get_default): Doc.
10427 * check/gst/gstplugin.c:
10428 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
10429 * gst/gstelementfactory.c (gst_element_factory_create):
10430 * gst/gstindexfactory.c (gst_index_factory_create): Update for
10433 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
10434 (gst_plugin_feature_load): Doc, don't eat refs.
10436 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
10437 (gst_plugin_list_free): Doc.
10438 (gst_plugin_load_file): Doc updates.
10440 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
10441 accessors returning refcounted objects, return a ref.
10443 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
10444 accessor for caps. IDEMPOTENCE. Oh yes.
10446 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
10448 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10450 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
10451 (_gst_debug_register_funcptr):
10452 Add mutex to serialise access to the hash table with
10453 the function pointer => function name string mapping;
10454 make that hash table static scope (#316809).
10456 * gst/registries/.cvsignore:
10457 Remove left-over file.
10459 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
10461 * docs/pwg/appendix-porting.xml:
10462 And something about newsegment events and caps-on-buffers to
10463 the porting guide (feel free to improve).
10465 2005-09-21 Andy Wingo <wingo@pobox.com>
10467 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
10468 data and event probes on the same pad.
10469 (test_buffer_probe_once): Test that removing probes from within
10470 the probe functions works.
10472 2005-09-21 Andy Wingo <wingo@pobox.com>
10474 * check/gst/gstutils.c: New file.
10475 (test_buffer_probe_n_times): A simple buffer probe test. More to
10478 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
10479 have-data::buffer, not have-data.
10480 (gst_pad_add_event_probe): Likewise for have-data::event.
10481 (gst_pad_add_data_probe): More docs. The part about 'resolving the
10482 peer' isn't quite right yet though.
10483 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
10484 (gst_pad_remove_data_probe): Change to take the guint handler_id
10485 as their arg, not the function+data, which is more glib-like.
10487 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
10488 the signal emission to indicate if the data is a buffer or an
10490 (gst_pad_get_type): Initialize buffer and event quarks.
10491 (gst_pad_class_init): have-data is now a detailed signal, yes it
10494 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
10496 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
10497 * gst/gstutils.c: (gst_util_set_value_from_string),
10498 (gst_util_set_object_arg):
10499 Don't put functional code in g_return_if_fail() or
10500 g_return_val_if_fail() statements, otherwise things will
10501 break when G_DISABLE_CHECKS is defined during compilation.
10503 2005-09-21 Stefan Kost <ensonic@users.sf.net>
10505 * docs/gst/tmpl/.cvsignore:
10506 * docs/gst/tmpl/gstvalue.sgml:
10509 inlied another one and added some obvious docs
10511 2005-09-21 Wim Taymans <wim@fluendo.com>
10513 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
10514 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
10515 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
10516 (gst_fdsrc_get_property), (gst_fdsrc_create):
10517 * gst/elements/gstfdsrc.h:
10518 Properly implement fdsrc. Removed signal and timeout,
10519 better implemented somewhere else.
10521 2005-09-21 Stefan Kost <ensonic@users.sf.net>
10523 * docs/gst/tmpl/.cvsignore:
10524 * docs/gst/tmpl/gstimplementsinterface.sgml:
10525 * gst/gstinterface.c:
10528 2005-09-21 Stefan Kost <ensonic@users.sf.net>
10530 * docs/gst/gstreamer-sections.txt:
10531 * docs/gst/tmpl/.cvsignore:
10532 * docs/gst/tmpl/gstenumtypes.sgml:
10533 remove obsolete doc file
10535 2005-09-21 David Schleef <ds@schleef.org>
10537 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
10538 little beer, fix a little leak.
10540 2005-09-21 Stefan Kost <ensonic@users.sf.net>
10542 * docs/gst/gstreamer-docs.sgml:
10543 * docs/gst/gstreamer-sections.txt:
10544 * docs/gst/tmpl/.cvsignore:
10548 * gst/gstelement.h:
10549 * gst/gstindex.c: (gst_index_class_init):
10551 * gst/gstindexfactory.c: (gst_index_factory_get_type),
10552 (gst_index_factory_class_init), (gst_index_factory_init),
10553 (gst_index_factory_finalize), (gst_index_factory_new),
10554 (gst_index_factory_destroy), (gst_index_factory_find),
10555 (gst_index_factory_create), (gst_index_factory_make):
10556 * gst/gstindexfactory.h:
10557 * gst/gstpluginfeature.c:
10558 * gst/gstpluginfeature.h:
10559 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
10560 more docs inlined, splitted gstindex.{c,h}
10562 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
10564 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
10567 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
10569 * gst/elements/gstfilesink.c: (gst_file_sink_init):
10570 Set sync to FALSE by default.
10572 2005-09-20 Wim Taymans <wim@fluendo.com>
10574 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
10575 (gst_base_sink_init):
10576 Make sync property settable from subclass.
10578 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
10579 (gst_fake_sink_change_state):
10580 Set sync to FALSE by default.
10582 2005-09-20 Wim Taymans <wim@fluendo.com>
10584 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
10585 * tools/gst-launch.c: (main):
10586 The timeout handler should have lower priority than the source
10587 so we don't timeout before popping a message with 0 timeout.
10588 Dump error messages after failed state change.
10590 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
10592 * tools/gst-inspect.c: (print_element_properties_info):
10595 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
10597 * check/gst/gstevent.c:
10598 * gst/elements/gstfakesink.c:
10599 * gst/elements/gstfakesink.h:
10600 remove the sync property from fakesink.
10601 has the side effect of setting sync TRUE
10602 for fakesink, which is a change. Anyone who knows how
10603 to fix this nicely in a GObject-y way, feel free.
10605 2005-09-20 Stefan Kost <ensonic@users.sf.net>
10607 * docs/gst/gstreamer-docs.sgml:
10608 remove probe refsection
10610 2005-09-20 Stefan Kost <ensonic@users.sf.net>
10612 * check/Makefile.am:
10613 disable valgrinding the controller test again
10614 * docs/gst/gstreamer-sections.txt:
10615 update for api-changes
10617 2005-09-20 Wim Taymans <wim@fluendo.com>
10619 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
10620 (gst_base_sink_set_property), (gst_base_sink_get_property),
10621 (gst_base_sink_do_sync):
10622 * gst/base/gstbasesink.h:
10623 Added sync property to basesink to disable clock sync.
10625 2005-09-20 Andy Wingo <wingo@pobox.com>
10627 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
10628 eating the caller's refcount.
10630 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
10631 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
10634 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
10635 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
10636 of GLib 2.8 public, so we can know which refcount to check in
10639 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
10640 (gst_object_init): Only set the gst refcount if we're going ahead
10641 with the refcount hack.
10643 2005-09-20 Stefan Kost <ensonic@users.sf.net>
10645 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
10646 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
10647 more leaks plumbed, added more debug-logging
10651 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
10653 * gst/gstmessage.c:
10654 remove include of gstmemchunk.h
10656 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
10658 * gst/gstclock.c: (_gst_clock_id_free):
10659 Commit from the Political Party For More Atomic CVS Commits,
10660 so that people don't waste too much of their day fishing
10661 out obvious leaks out of massive commits.
10662 Oh, and fix a pretty damn obvious leak in the memchunk
10665 2005-09-20 Stefan Kost <ensonic@users.sf.net>
10667 * check/Makefile.am:
10668 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
10669 plug mem-leak, re-add to valgrindable tests
10671 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
10674 unbreak the build for those who have chronic arthritis
10675 and typing "make check" is just too taxing on the hands
10677 2005-09-20 Andy Wingo <wingo@pobox.com>
10679 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
10680 really want it out, you should fix plugins at the same time.
10682 2005-09-19 Stefan Kost <ensonic@users.sf.net>
10685 * docs/gst/gstreamer-sections.txt:
10687 added missing symbols to api docs
10688 disable ref-count hack if we have glib >= 2.8
10690 2005-09-19 David Schleef <ds@schleef.org>
10692 * docs/gst/Makefile.am: Ignore a few more internal headers
10693 * docs/gst/gstreamer-docs.sgml: Remove old sections
10694 * docs/gst/gstreamer-sections.txt: Remove old sections
10695 * docs/gst/tmpl/gstobject.sgml: update
10696 * docs/gst/tmpl/gstplugin.sgml: update
10697 * docs/gst/tmpl/gstpluginfeature.sgml: update
10698 * docs/random/ds/0.9-suggested-changes: update.
10699 * gst/Makefile.am: remove memchunk and trashstack, since they're
10701 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
10702 * gst/gst.h: don't include some headers
10703 * gst/gstchildproxy.c: add gstmarshal.h
10704 * gst/gstclock.c: Don't use memchunks
10705 * gst/gstminiobject.c: Add some docs
10706 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
10707 * gst/gstobject.h: same
10708 * gst/gstplugin.c: include gstmacros.h
10709 * gst/gstplugin.h: don't include gstmacros.h, since it's private
10710 * gst/gstquery.c: don't use memchunks
10711 * gst/gstregistry.c: rename gst_registry_deinit()
10712 * gst/gstregistry.h: same
10714 2005-09-19 David Schleef <ds@schleef.org>
10716 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
10717 * docs/libs/gstreamer-libs-sections.txt:
10718 * docs/libs/tmpl/gstgetbits.sgml:
10719 * docs/libs/tmpl/gstputbits.sgml:
10721 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
10723 * win32/gstenumtypes.c:
10724 * win32/gstenumtypes.h:
10727 2005-09-19 Wim Taymans <wim@fluendo.com>
10729 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
10730 Automatically PAUSE and RESUME a pipeline when a flushing seek
10733 2005-09-19 Andy Wingo <wingo@pobox.com>
10735 * gst/gstregistry.h: Spacing fixen.
10737 2005-09-19 Wim Taymans <wim@fluendo.com>
10739 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
10740 Handle state change failure more correctly.
10742 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
10744 * check/Makefile.am:
10745 * check/pipelines/cleanup.c: (run_pipeline):
10746 * check/pipelines/simple_launch_lines.c: (run_pipeline),
10748 enable cleanup again after fixing the leak
10750 some more info on docs
10752 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
10754 * check/Makefile.am:
10755 re-enable tests now that leaks are plugged
10757 * check/gst/gstbin.c:
10758 * check/gst/gstpipeline.c:
10759 add some more tests while fixing leaks
10760 * common/check.mak:
10761 make sure binaries are uptodate when valgrinding/gdbing
10763 * gst/gstelementfactory.c:
10764 remove a ref too many, and add a FIXME for when we get
10765 round to disposing of classes
10767 fix the refcounting when loading a plugin from a file and
10768 the code pretends that the pointer is the same even though
10769 of course it can change
10770 * gst/gstpluginfeature.c:
10771 unref plugins marked cached (a bit confusing as a name)
10772 as the docs state should be done
10773 various doc additions to explain refcounting
10774 * gst/gstregistry.c:
10775 * gst/gstregistryxml.c:
10778 2005-09-19 Wim Taymans <wim@fluendo.com>
10780 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
10781 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
10782 (send_messages), (GST_START_TEST), (gstbus_suite):
10783 * check/gst/gstpipeline.c: (GST_START_TEST):
10784 * check/pipelines/cleanup.c: (run_pipeline):
10785 * check/pipelines/simple_launch_lines.c: (run_pipeline),
10787 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
10788 (gst_bus_source_check), (gst_bus_source_dispatch),
10789 (gst_bus_create_watch), (gst_bus_add_watch_full),
10790 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
10792 * tools/gst-launch.c: (event_loop):
10793 * tools/gst-md5sum.c: (event_loop):
10794 GstBusHandler -> GstBusFunc, return value has the same meaning as
10795 any other GSource (FALSE == remove source).
10796 _add_watch() and _add_watch_full() now take a MessageType mask to
10797 only handle specific types of messages.
10798 _poll() returns the GstMessage instead of the message type to avoid
10800 _have_pending() takes a MessageType mask now too.
10801 Added testsuite for multiple bus watches.
10802 Fix testsuites and applications for new bus API.
10804 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
10806 * check/Makefile.am:
10807 mark a bunch of the tests as to fix until we fix them
10809 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
10811 * common/check.mak:
10812 use GST_PLUGIN settings for valgrind tests as well, so we're
10813 valgrinding the correct thing
10814 * gst/gst.c: (init_post):
10817 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
10819 * gst/gst.c: (init_post), (gst_deinit):
10820 * gst/gstelementfactory.c: (gst_element_factory_class_init),
10821 (gst_element_factory_finalize), (gst_element_factory_cleanup):
10822 * gst/gstindex.c: (gst_index_factory_class_init),
10823 (gst_index_factory_finalize):
10824 * gst/gstobject.c: (gst_object_dispose):
10825 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
10826 (gst_plugin_load_file), (gst_plugin_desc_free):
10827 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
10828 (gst_plugin_feature_finalize):
10829 * gst/gstregistry.c: (gst_registry_class_init),
10830 (gst_registry_init), (gst_registry_finalize),
10831 (gst_registry_get_default), (gst_registry_deinit):
10832 * gst/gstregistry.h:
10833 * gst/gstregistryxml.c: (load_feature), (load_plugin):
10834 various cleanups and memleak plugging. make valgrind is happy now.
10836 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
10838 * common/check.mak:
10839 add a check-valgrind target
10841 2005-09-18 David Schleef <ds@schleef.org>
10843 * tools/gst-inspect.c: Revert the GOption code.
10845 2005-09-17 David Schleef <ds@schleef.org>
10847 * check/Makefile.am: Fix environment variables.
10848 * check/gst/gstplugin.c: Fix for API changes.
10849 * tools/gst-inspect.c: Fix for API changes.
10850 * tools/gst-xmlinspect.c: Fix for API changes.
10851 * gst/gstelementfactory.c:
10854 * gst/gstpluginfeature.c:
10855 * gst/gstpluginfeature.h:
10856 * gst/gstregistry.c:
10857 * gst/gstregistry.h:
10858 * gst/gstregistryxml.c:
10859 * gst/gsttypefind.c:
10860 * gst/gsttypefindfactory.c:
10861 * gst/indexers/gstfileindex.c:
10862 * gst/indexers/gstmemindex.c:
10863 * gst/schedulers/Makefile.am:
10864 Change registry to keep track of both plugins and features,
10865 removing the feature tracking from plugins themselves.
10867 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
10869 * check/Makefile.am:
10870 * tools/gst-register.1.in:
10871 remove gst-register
10873 2005-09-15 David Schleef <ds@schleef.org>
10875 * check/gst/gstplugin.c:
10876 * gst/gstelementfactory.c:
10878 * gst/gstpluginfeature.c:
10879 * gst/gstregistry.c:
10880 Getting tired of debugging. Disabled all the unreffing of
10881 plugins and features, which fixes the segfaults, but of
10882 course leaks like crazy. At least playbin works.
10884 2005-09-15 David Schleef <ds@schleef.org>
10886 * check/gst/gstplugin.c: (register_check_elements),
10887 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
10889 * gst/elements/gsttypefindelement.c: Fix refcounting.
10890 * gst/gsttypefind.c:
10891 * gst/gsttypefindfactory.c:
10892 * gst/gsttypefindfactory.h:
10894 2005-09-15 David Schleef <ds@schleef.org>
10896 * gst/gstindex.c: get refcounting correct.
10897 * gst/gstregistry.c: Handle the case where a feature/plugin is
10900 2005-09-15 David Schleef <ds@schleef.org>
10902 * check/Makefile.am:
10903 * check/gst/gstplugin.c: Add test
10904 * gst/gstplugin.c: Fix problems noticed by testsuite
10906 * gst/gstregistry.c:
10907 * gst/gstregistry.h:
10909 2005-09-15 David Schleef <ds@schleef.org>
10911 * gst/gstplugin.c: Implement semi-decent recounting and locking
10912 in plugins and plugin features.
10914 * gst/gstpluginfeature.c:
10915 * gst/gstpluginfeature.h:
10916 * gst/gstregistry.c:
10918 2005-09-15 Michael Smith <msmith@fluendo.com>
10920 * gst/gstregistry.c: (gst_registry_get_feature_list):
10921 Implement this. Makes oggdemux work; decodebin still broken.
10923 2005-09-14 David Schleef <ds@schleef.org>
10925 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
10927 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
10928 * gst/check/Makefile.am:
10929 * libs/gst/controller/Makefile.am:
10930 * libs/gst/dataprotocol/Makefile.am:
10932 2005-09-14 David Schleef <ds@schleef.org>
10934 * configure.ac: Remove getbits library. Nothing uses it, and
10935 it should be in something like liboil if someone did want
10937 * libs/gst/Makefile.am:
10938 * libs/gst/getbits/Makefile.am:
10939 * libs/gst/getbits/gbtest.c:
10940 * libs/gst/getbits/getbits.c:
10941 * libs/gst/getbits/getbits.h:
10942 * libs/gst/getbits/gstgetbits_generic.c:
10943 * libs/gst/getbits/gstgetbits_i386.s:
10944 * libs/gst/getbits/gstgetbits_inl.h:
10946 2005-09-14 David Schleef <ds@schleef.org>
10948 * gst/Makefile.am: Dist glib-compat.h
10950 2005-09-14 David Schleef <ds@schleef.org>
10952 * configure.ac: Remove gst/registries, since it's no longer used.
10953 * gst/registries/Makefile.am:
10954 * gst/registries/gstlibxmlregistry.c:
10955 * gst/registries/gstlibxmlregistry.h:
10956 * gst/registries/gstxmlregistry.c:
10957 * gst/registries/gstxmlregistry.h:
10958 * gst/registries/registrytest.c:
10960 2005-09-14 David Schleef <ds@schleef.org>
10962 * gst/glib-compat.h:
10963 * gst/gstregistryxml.c:
10964 Convergence is near. Seriously.
10966 2005-09-14 David Schleef <ds@schleef.org>
10968 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
10969 * gst/glib-compat.h:
10970 Attempt #4 to appease the buildbots.
10972 2005-09-14 David Schleef <ds@schleef.org>
10974 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
10977 2005-09-14 David Schleef <ds@schleef.org>
10979 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
10982 2005-09-14 David Schleef <ds@schleef.org>
10984 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
10987 2005-09-14 David Schleef <ds@schleef.org>
10989 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
10990 * gst/glib-compat.h: Add some functions that are in newer versions
10991 of glib than we care to require.
10992 * gst/gstregistryxml.c: Use them.
10994 2005-09-14 David Schleef <ds@schleef.org>
10996 * po/POTFILES.in: remove gst-register.c
10998 2005-09-14 David Schleef <ds@schleef.org>
11000 * docs/gst/gstreamer-docs.sgml:
11001 * docs/gst/gstreamer-sections.txt:
11002 * docs/gst/gstreamer.types:
11003 * docs/gst/tmpl/gstelement.sgml:
11004 * docs/gst/tmpl/gstplugin.sgml:
11005 * docs/gst/tmpl/gstpluginfeature.sgml:
11006 Documentation updates for registry changes.
11008 2005-09-14 David Schleef <ds@schleef.org>
11010 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
11011 because we don't require glib-2.8.
11013 2005-09-14 David Schleef <ds@schleef.org>
11015 * gst/gstregistryxml.c: Added. Essentially moved out of the
11016 registries directory.
11018 2005-09-14 David Schleef <ds@schleef.org>
11020 * check/Makefile.am:
11021 * check/generic/states.c:
11025 * gst/gst_private.h:
11026 * gst/gstelementfactory.c:
11031 * gst/gstpluginfeature.c:
11032 * gst/gstpluginfeature.h:
11033 * gst/gstregistry.c:
11034 * gst/gstregistry.h:
11035 * gst/gstregistrypool.c: remove
11036 * gst/gstregistrypool.h: remove
11037 * gst/gsttypefind.c:
11038 * gst/gsttypefindfactory.c:
11040 * tools/Makefile.am:
11041 * tools/gst-compprep.c:
11042 * tools/gst-inspect.c:
11043 * tools/gst-register.c: remove
11044 * tools/gst-xmlinspect.c:
11045 Registry rewrite. Changes registry from being a file created
11046 by a tool into a simple cache file created automatically by
11047 libgstreamer. Removed gst-register (because it's no longer
11048 needed). Remove registry pools, because we only have one
11049 registry implementation (XML). Fix up other subsystems as
11052 2005-09-13 Michael Smith <msmith@fluendo.com>
11054 * gst/gstconfig.h.in:
11055 Don't Use windows linking attributes for MinGW. Fixes #316157
11057 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
11059 * gst/gstutils.c: (set_state_async_thread_func),
11060 (gst_element_set_state_async):
11061 Apparently people think it's better if this function doesn't
11062 try to set the state to whatever state was asked for on the first
11063 call to this function for any object. Seriously.
11065 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
11067 * check/gst/gstpipeline.c: (GST_START_TEST):
11068 * docs/gst/gstreamer-sections.txt:
11069 * gst/gstutils.c: (set_state_async_thread_func),
11070 (gst_element_set_state_async):
11072 add a "gst_element_set_state_async" method that
11073 sets the state and starts a thread to make sure the state
11074 change completes as best as it can
11076 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
11078 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
11079 codify design+behaviour in testsuite after discussion
11081 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
11083 * docs/gst/tmpl/gstelement.sgml:
11084 * docs/manual/appendix-quotes.xml:
11086 * gst/gstelement.c: (gst_element_set_state):
11089 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
11091 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
11092 (gst_base_transform_prepare_output_buf),
11093 (gst_base_transform_handle_buffer):
11094 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
11095 (gst_capsfilter_prepare_buf):
11096 Remove the requirement for sub-classes to call the parent
11097 implementation of prepare_output_buffer with a wrapper function.
11099 * gst/gsttaglist.h:
11100 * gst/gsttagsetter.h:
11101 Fix #define wrapper
11103 2005-09-11 Stefan Kost <ensonic@users.sf.net>
11105 * docs/gst/gstreamer-sections.txt:
11108 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
11110 * docs/gst/gstreamer-sections.txt:
11111 * docs/gst/tmpl/gstelement.sgml:
11112 * docs/gst/tmpl/gstplugin.sgml:
11113 * gst/gstminiobject.c:
11115 docs now stop throwing warnings
11117 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
11119 * docs/gst/gstreamer-sections.txt:
11120 * docs/gst/gstreamer.types:
11121 * docs/gst/tmpl/gstpad.sgml:
11122 * docs/gst/tmpl/gsttypes.sgml:
11123 * gst/base/gstadapter.h:
11124 * gst/base/gstbasesink.h:
11125 * gst/base/gstbasesrc.h:
11131 * gst/gstelement.h:
11133 * gst/gstmessage.h:
11135 * gst/gststructure.c:
11136 * gst/registries/gstlibxmlregistry.h:
11137 various documentation fixes
11139 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
11141 * docs/gst/gstreamer-sections.txt:
11142 * docs/gst/tmpl/gstvalue.sgml:
11143 rearrange gstvalue section
11144 * gst/gstutils.c: (gst_element_state_get_name):
11146 * gst/gstvalue.c: (_gst_value_initialize):
11150 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
11152 * check/gst-libs/controller.c:
11153 Header include fix.
11154 * gst/base/gstbasetransform.c:
11155 (gst_base_transform_default_prepare_buf),
11156 (gst_base_transform_handle_buffer):
11157 * gst/base/gstbasetransform.h:
11158 Some more basetransform changes and fixes to enable sub-classes
11159 that modify buffer metadata only.
11160 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
11161 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
11162 (gst_capsfilter_prepare_buf):
11163 If the output pad has fixed allowed caps and input buffers
11164 don't have any, set the fixed caps on outgoing buffers.
11166 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
11167 * check/elements/identity.c: (GST_START_TEST):
11168 Make the error a little clearer when the test fails because
11169 identity made a copy of the buffer.
11170 * docs/gst/gstreamer-sections.txt:
11171 New symbols in gstbasetransform.h
11172 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
11173 (gst_base_transform_init), (gst_base_transform_transform_size),
11174 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
11175 (gst_base_transform_default_prepare_buf),
11176 (gst_base_transform_get_unit_size),
11177 (gst_base_transform_buffer_alloc),
11178 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
11179 (gst_base_transform_change_state),
11180 (gst_base_transform_set_passthrough),
11181 (gst_base_transform_set_in_place),
11182 (gst_base_transform_is_in_place):
11183 * gst/base/gstbasetransform.h:
11184 Change BaseTransform to separate in_place operate from same_caps
11185 output. in_place implies that the element can perform the transform
11186 on incoming buffers in-place, even if the caps on the output are
11188 Sub-class elements can now implement special buffer allocation
11189 methods for outgoing buffers if they wish to.
11190 Big documentation addition.
11191 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
11192 * gst/elements/gstelements.c:
11193 Changes for basetransform modifications.
11194 * gst/elements/Makefile.am:
11195 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
11196 Compile fix. Extra debug output.
11198 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
11200 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
11202 add tests for valid pad naming
11203 * gst/check/gstcheck.c: (gst_check_log_message_func),
11204 (gst_check_log_critical_func):
11206 remove printing of code, it is fragile when the code contains
11207 % and the line number is enough info
11208 * gst/check/gstcheck.h:
11209 * gst/gstpad.c: (gst_pad_template_new):
11212 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
11215 say what CHECK flags we use
11216 * docs/libs/gstreamer-libs.types:
11217 * libs/gst/controller/Makefile.am:
11218 * libs/gst/controller/gst-controller.c:
11219 * libs/gst/controller/gst-controller.h:
11220 * libs/gst/controller/gst-helper.c:
11221 * libs/gst/controller/gst-interpolation.c:
11222 * libs/gst/controller/gstcontroller.c:
11223 * libs/gst/controller/gsthelper.c:
11224 * libs/gst/controller/gstinterpolation.c:
11225 * tools/gst-inspect.c: (print_plugin_info):
11226 we don't use dashes in header names
11228 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
11230 * check/Makefile.am:
11231 * check/gst/.cvsignore:
11232 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
11233 (gst_pipeline_suite), (main):
11234 adding a test for pipelines and state changes
11235 * gst/gstutils.c: (get_state_func):
11237 * gstreamer.spec.in:
11240 2005-09-08 Michael Smith <msmith@fluendo.com>
11242 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
11243 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
11244 (gst_file_src_is_seekable), (gst_file_src_get_size),
11245 (gst_file_src_start):
11246 * gst/elements/gstfilesrc.h:
11247 Various fixes for unseekable, unmmapable, and non-normal files, so
11248 that fallback to read() rather than mmap() works.
11249 * gst/gstevent.c: (gst_event_new_newsegment):
11250 Allow newsegment events with segment_start == segment_end, as will
11251 correctly happen if you use filesrc on a zero-size file, for
11254 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
11256 * gst/gstplugin.c: (gst_plugin_load_file):
11257 Call g_module_close when we don't load the module
11259 * gst/registries/gstlibxmlregistry.c:
11260 (gst_xml_registry_get_property):
11261 Port leak fix from 0.8
11263 2005-09-07 Stefan Kost <ensonic@users.sf.net>
11265 * docs/gst/gstreamer-docs.sgml:
11266 * docs/gst/tmpl/.cvsignore:
11267 * docs/gst/tmpl/gsttrace.sgml:
11268 * docs/gst/tmpl/gsttrashstack.sgml:
11271 * gst/gstelement.h:
11273 * gst/gstmessage.c:
11274 * gst/gstmessage.h:
11277 * gst/gsttaginterface.c:
11278 * gst/gsttaginterface.h:
11279 * gst/gsttaglist.c:
11280 * gst/gsttaglist.h:
11281 * gst/gsttagsetter.c:
11282 * gst/gsttagsetter.h:
11285 * gst/gsttrashstack.c:
11286 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
11287 inlined docs for gsttrace, gsttrashstack
11289 2005-09-07 Stefan Kost <ensonic@users.sf.net>
11292 * gst/elements/gstbufferstore.h:
11293 * gst/elements/gsttypefindelement.c:
11294 * gst/elements/gsttypefindelement.h:
11296 * gst/gsttypefind.c:
11297 * gst/gsttypefind.h:
11298 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
11299 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
11300 (gst_type_find_factory_dispose),
11301 (gst_type_find_factory_unload_thyself),
11302 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
11303 (gst_type_find_factory_get_caps),
11304 (gst_type_find_factory_get_extensions),
11305 (gst_type_find_factory_call_function):
11306 * gst/gsttypefindfactory.h:
11307 * gst/registries/gstlibxmlregistry.c:
11308 * gst/registries/gstxmlregistry.c:
11309 splitted gsttypefind into gsttypefind, gsttypefindfactory
11311 2005-09-07 Andy Wingo <wingo@pobox.com>
11313 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
11314 condition whereby the pad's task function is entered before the
11315 pad_mode variable was set.
11317 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
11319 * gst/gstpad.c: (gst_pad_alloc_buffer):
11320 Catch misbehaving pad_alloc functions that don't
11321 set up caps and do it for them.
11323 2005-09-07 Stefan Kost <ensonic@users.sf.net>
11325 * check/pipelines/simple_launch_lines.c: (run_pipeline):
11326 test for pipe!=NULL
11327 * docs/gst/tmpl/.cvsignore:
11328 * docs/gst/tmpl/gstmemchunk.sgml:
11329 * docs/gst/tmpl/gstparse.sgml:
11330 * docs/gst/tmpl/gsttaglist.sgml:
11331 * docs/gst/tmpl/gsttagsetter.sgml:
11332 * docs/gst/tmpl/gsttypefind.sgml:
11333 * docs/gst/tmpl/gsttypefindfactory.sgml:
11334 * gst/gstmemchunk.c:
11337 * gst/gsttaginterface.c:
11338 * gst/gsttypefind.c:
11339 * gst/gsttypefind.h:
11342 === release 0.9.2 ===
11344 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
11349 releasing 0.9.2, "South"
11351 2005-09-05 Andy Wingo <wingo@pobox.com>
11353 * gst/registries/gstxmlregistry.h:
11354 * gst/registries/gstxmlregistry.c: Um... resurrect...
11356 * gst/registries/gstxmlregistry.h:
11357 * gst/registries/gstxmlregistry.c: and update to newer API.
11358 Incidentally they should be a bit faster now that they don't have
11361 2005-09-05 Andy Wingo <wingo@pobox.com>
11363 * gst/registries/gstxmlregistry.h:
11364 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
11365 replaced by the libxml registry a while back
11367 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
11369 * docs/gst/tmpl/gstplugin.sgml:
11370 * gst/elements/gstelements.c:
11372 * gst/gstplugin.c: (gst_plugin_register_func),
11373 (gst_plugin_desc_copy), (gst_plugin_desc_free),
11374 (gst_plugin_get_source):
11376 * gst/registries/gstlibxmlregistry.c: (load_plugin),
11377 (gst_xml_registry_save_plugin):
11378 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
11379 (gst_xml_registry_save_plugin):
11380 * tools/gst-inspect.c: (print_plugin_info):
11381 add a "source" plugin description field, to represent the source
11382 module this plugin is a part of. By default GST_PLUGIN_DEFINE
11383 will set it to PACKAGE, which is automake's idea of the name of
11384 the source project.
11386 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
11391 * docs/Makefile.am:
11392 * docs/faq/Makefile.am:
11393 * docs/gst/tmpl/gstelement.sgml:
11394 * docs/gst/tmpl/gsttypes.sgml:
11395 * docs/htmlinstall.mak:
11396 * docs/manual/Makefile.am:
11397 * docs/pwg/Makefile.am:
11398 reorganize doc build a little
11399 split out docbook and gtk-doc stuff
11400 have two separate --enable's and enable them through autogen
11401 but disable by default in configure (to be similar to other
11403 * gstreamer.spec.in:
11404 clean up docs install
11422 translation updates
11424 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
11426 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
11429 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
11430 (gst_fake_sink_change_state):
11431 Make state change function thread-safe.
11433 * gst/gstpad.c: (gst_pad_alloc_buffer):
11434 Set offset on generic buffer allocated by fallback.
11436 2005-09-03 Stefan Kost <ensonic@users.sf.net>
11438 * docs/gst/gstreamer-sections.txt:
11439 * docs/gst/tmpl/gstelement.sgml:
11441 * libs/gst/controller/gst-controller.c:
11442 (gst_controlled_property_set_interpolation_mode),
11443 (gst_controlled_property_new),
11444 (gst_controller_find_controlled_property):
11445 run the wingo-magic script against the docs
11447 2005-09-02 Stefan Kost <ensonic@users.sf.net>
11449 * docs/gst/gstreamer-docs.sgml:
11450 * docs/gst/gstreamer-sections.txt:
11451 * docs/gst/tmpl/.cvsignore:
11452 * docs/gst/tmpl/gstelementdetails.sgml:
11453 * docs/gst/tmpl/gstelementfactory.sgml:
11456 * gst/gstelementfactory.c:
11457 * gst/gstelementfactory.h:
11458 merged elementdetails docs into elementfactory docs
11461 2005-09-02 Andy Wingo <wingo@pobox.com>
11463 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
11464 consider this enum an enum and not a flags.
11466 2005-09-02 Stefan Kost <ensonic@users.sf.net>
11468 * docs/gst/gstreamer-docs.sgml:
11469 * docs/gst/tmpl/.cvsignore:
11470 * docs/gst/tmpl/gstghostpad.sgml:
11471 * docs/gst/tmpl/gstiterator.sgml:
11472 * docs/gst/tmpl/gstmacros.sgml:
11473 * docs/gst/tmpl/gstrealpad.sgml:
11474 * docs/gst/tmpl/gstregistry.sgml:
11475 * docs/gst/tmpl/gstregistrypool.sgml:
11476 * docs/gst/tmpl/gststructure.sgml:
11477 * docs/gst/tmpl/gstsystemclock.sgml:
11478 * docs/gst/tmpl/gsttrace.sgml:
11479 * gst/gstghostpad.c:
11481 * gst/gstmemchunk.c:
11482 * gst/gstmemchunk.h:
11484 * gst/gstregistry.c:
11485 * gst/gstregistrypool.c:
11486 * gst/gststructure.c:
11487 * gst/gstsystemclock.c:
11490 2005-09-02 Andy Wingo <wingo@pobox.com>
11492 * gst/gstelement.h (GstState): Renamed from GstElementState,
11493 changed to be a normal enum instead of flags.
11494 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
11495 munged to be GST_STATE_CHANGE_*.
11496 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
11497 work with the new state representation.
11498 (GstStateChange): New enumeration of possible state transitions.
11499 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
11500 (GstElementClass::change_state): Pass the GstStateChange along as
11501 an argument. Helps language bindings, so they don't have to use
11502 tricky lock-needing macros like GST_STATE_CHANGE ().
11504 * scripts/update-states (file): New script. Run it on a file to
11505 update it for state naming and API changes. Updates files in
11508 * All files updated for the new API.
11510 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
11512 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
11513 * gst/gstutils.c: (gst_util_set_value_from_string),
11514 (gst_util_set_object_arg):
11515 fix a bunch of unchecked return values
11516 * tools/gst-complete.c: (main):
11517 * gstreamer.spec.in:
11520 2005-09-01 Wim Taymans <wim@fluendo.com>
11522 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11523 (gst_base_sink_event), (gst_base_sink_do_sync),
11524 (gst_base_sink_handle_event):
11525 * gst/base/gstbasesink.h:
11526 Handle newsegments more correctly.
11531 * gst/gstevent.c: (gst_event_new_newsegment):
11532 A newsegment cannot have a start_time of -1
11534 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
11536 * win32/gstenumtypes.c:
11537 * win32/gstenumtypes.h:
11540 2005-08-31 Stefan Kost <ensonic@users.sf.net>
11542 * libs/gst/controller/gst-controller.c:
11543 (gst_controlled_property_set_interpolation_mode),
11544 (gst_controlled_property_new):
11545 fixed boolean again
11547 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
11549 * docs/faq/gst-uninstalled:
11554 * gst/gstutils.c: (gst_element_link_filtered):
11556 add gst_element_link_filtered
11558 2005-08-31 Stefan Kost <ensonic@users.sf.net>
11560 * docs/gst/gstreamer-docs.sgml:
11561 * docs/gst/gstreamer-sections.txt:
11562 * docs/gst/tmpl/.cvsignore:
11563 * docs/gst/tmpl/gsterror.sgml:
11564 * docs/gst/tmpl/gstfilter.sgml:
11565 * docs/gst/tmpl/gsturihandler.sgml:
11566 * docs/gst/tmpl/gsturitype.sgml:
11567 * docs/gst/tmpl/gstutils.sgml:
11568 * docs/gst/tmpl/gstxml.sgml:
11573 * gst/gsturitype.c:
11576 inlined more docs, fixed double id-ref
11578 2005-08-31 Wim Taymans <wim@fluendo.com>
11580 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
11581 (gst_base_transform_handle_buffer):
11582 Passthrough elements don't need the caps as they don't care.
11584 2005-08-31 Wim Taymans <wim@fluendo.com>
11586 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
11587 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
11588 Don't leak refcounts on buffers.
11590 2005-08-31 Wim Taymans <wim@fluendo.com>
11592 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
11593 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
11594 (gst_base_transform_chain), (gst_base_transform_change_state):
11595 * gst/base/gstbasetransform.h:
11596 Handle the case where we are not negotiated more gracefully.
11598 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
11600 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
11601 (gst_file_src_map_region):
11602 Set READONLY flag on mmap'ed buffers, otherwise
11603 gst_buffer_make_writable() won't work properly (#314708).
11605 2005-08-31 Wim Taymans <wim@fluendo.com>
11607 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
11608 passthrough elements can even do inplace on non writable
11609 buffers (as they don't touch them).
11611 2005-08-31 Stefan Kost <ensonic@users.sf.net>
11613 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
11614 (gst_test_mono_source_set_property),
11615 (gst_test_mono_source_class_init), (GST_START_TEST),
11616 (gst_controller_suite):
11617 more tests (hehe I have the most)
11619 describe popping messages whenusing mulltiple sources
11620 * libs/gst/controller/gst-controller.c:
11621 (gst_controlled_property_set_interpolation_mode),
11622 (gst_controlled_property_new):
11623 * libs/gst/controller/gst-controller.h:
11624 * libs/gst/controller/gst-interpolation.c:
11625 implement boolean properties
11627 2005-08-31 Wim Taymans <wim@fluendo.com>
11629 * gst/gstminiobject.c: (gst_mini_object_ref):
11630 Cannot assert that the refcount has to be positive
11631 since a disposed object can be resurrected.
11633 2005-08-31 Wim Taymans <wim@fluendo.com>
11635 * gst/gstpad.c: (gst_pad_init):
11636 Revert change, need to first fix badly behaving
11639 2005-08-30 Wim Taymans <wim@fluendo.com>
11641 * check/elements/fakesrc.c: (setup_fakesrc):
11642 * check/elements/identity.c: (setup_identity):
11643 Activate pads before using them.
11645 2005-08-30 Wim Taymans <wim@fluendo.com>
11647 * gst/base/gstadapter.c: (gst_adapter_flush):
11648 Flushing out 0 bytes is ok for this function.
11650 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11651 no newsegment gives a warning and sets the start/stop to
11654 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
11655 (gst_base_transform_set_passthrough):
11658 * gst/gstminiobject.c: (gst_mini_object_ref):
11659 Check refcount here too.
11661 * gst/gstpad.c: (gst_pad_init):
11662 Pads are initially flushing and refusing data.
11664 * gst/gstutils.c: (gst_element_link_pads_filtered):
11665 When adding a capsfilter element make sure it has the
11666 same state as the parent bin.
11668 2005-08-30 Stefan Kost <ensonic@users.sf.net>
11670 * docs/gst/tmpl/.cvsignore:
11671 * docs/gst/tmpl/gstformat.sgml:
11672 * docs/gst/tmpl/gstversion.sgml:
11676 * gst/gstversion.h.in:
11677 more docs and two more inlined
11679 2005-08-30 Wim Taymans <wim@fluendo.com>
11681 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
11682 Don't sync to clock.
11684 2005-08-30 Stefan Kost <ensonic@users.sf.net>
11686 * docs/gst/gstreamer-sections.txt:
11687 ultral33t func10ns deserve to appear in the docs actually
11688 * docs/gst/tmpl/.cvsignore:
11689 * docs/gst/tmpl/gstcompat.sgml:
11690 * docs/gst/tmpl/gstconfig.sgml:
11691 * gst/check/gstcheck.c:
11693 * gst/gstconfig.h.in:
11696 2005-08-30 Stefan Kost <ensonic@users.sf.net>
11698 * docs/gst/tmpl/.cvsignore:
11699 * docs/gst/tmpl/gstquery.sgml:
11700 * docs/gst/tmpl/gstutils.sgml:
11703 inlined and extended docs
11705 2005-08-30 Stefan Kost <ensonic@users.sf.net>
11707 * check/gst-libs/controller.c: (GST_START_TEST),
11708 (gst_controller_suite):
11710 * docs/gst/tmpl/gstutils.sgml:
11711 * docs/libs/gstreamer-libs-sections.txt:
11712 * docs/libs/tmpl/gstdataprotocol.sgml:
11714 * examples/controller/audio-example.c: (main):
11715 controller example works now
11718 * tools/gst-inspect.c: (print_element_properties_info):
11719 show param spec flags
11721 2005-08-29 Andy Wingo <wingo@pobox.com>
11723 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
11725 2005-08-28 Andy Wingo <wingo@pobox.com>
11727 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
11728 as having two arguments instead of just one. Allows superclasses
11729 to access information on subclasses -- see the terrible for() loop
11730 in gtype.c:g_type_create_instance for the reason why. All callers
11733 2005-08-27 Stefan Kost <ensonic@users.sf.net>
11735 * docs/design/part-messages.txt:
11737 * docs/gst/tmpl/.cvsignore:
11738 * docs/gst/tmpl/gstcaps.sgml:
11739 * docs/gst/tmpl/gstclock.sgml:
11745 * gst/gstmessage.c:
11746 added descriptions for bus and message
11747 inline caps and clock docs
11749 2005-08-27 Stefan Kost <ensonic@users.sf.net>
11751 * gst/gstmessage.c:
11752 * gst/gstmessage.h:
11755 2005-08-27 Stefan Kost <ensonic@users.sf.net>
11757 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
11760 2005-08-26 Andy Wingo <wingo@pobox.com>
11762 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
11763 element_set_state's return val.
11764 (test_2_elements): Add test that's been disabled for months.
11766 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
11767 can-activate-pull properties.
11769 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
11770 can-activate-pull properties. Implement is_seekable so fakesrc can
11771 operate in pull mode.
11773 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
11775 (gst_base_sink_activate, gst_base_sink_activate_pull)
11776 (gst_base_sink_activate_push): Make activation mode choosing work.
11778 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
11779 is right. Make pull mode work. Post an eos before pausing in pull
11781 (gst_base_sink_change_state): Pay attention to the core's
11782 change_state() return val.
11784 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
11785 has-getrange properties. Cleanups.
11787 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
11788 has_getrange and replace with can_activate_pull and
11791 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
11792 locking comments. Remove has_loop, has_chain and replace with
11793 can_activate_pull and can_activate_push.
11795 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
11798 * examples/Makefile.am:
11799 * examples/metadata/Makefile.am:
11800 * examples/metadata/read-metadata.c: (message_loop),
11801 (have_pad_handler), (make_pipeline), (print_tag), (main):
11802 Add metadata reading example that loops over a list of filenames,
11803 dumping any tags found.
11805 * gst/gstbus.c: (gst_bus_dispose):
11806 * gst/gstelement.c: (gst_element_dispose):
11807 Release a few potentially-held references in dispose.
11809 2005-08-26 Stefan Kost <ensonic@users.sf.net>
11811 * docs/gst/tmpl/gstminiobject.sgml:
11812 do *not* add tmpl/*.sgml files to CVS!
11814 2005-08-26 Stefan Kost <ensonic@users.sf.net>
11816 * libs/gst/bytestream/.cvsignore:
11817 * libs/gst/bytestream/Makefile.am:
11818 * libs/gst/bytestream/adapter.c:
11819 * libs/gst/bytestream/adapter.h:
11820 * libs/gst/bytestream/bytestream.c:
11821 * libs/gst/bytestream/bytestream.h:
11822 * libs/gst/bytestream/filepad.c:
11823 * libs/gst/bytestream/filepad.h:
11824 removing obsolete files
11826 2005-08-26 Stefan Kost <ensonic@users.sf.net>
11828 * docs/gst/gstreamer-docs.sgml:
11829 * docs/libs/gstreamer-libs-docs.sgml:
11830 disabed additional index entries again, as this makes docs-gen just
11831 slow and they aren't useful yet
11832 * docs/libs/gstreamer-libs-sections.txt:
11833 little -section.txt cleanup for libs
11835 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
11837 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11838 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
11839 fix up some debugging
11840 (gst_base_transform_get_unit_size),
11841 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
11842 (gst_base_transform_handle_buffer):
11843 * gst/base/gstbasetransform.h:
11844 handle and store timed NEWSEGMENT events so that subclasses that
11845 calculate time by counting samples have a segment_start time they
11846 need to add to their timestamps - see audioresample
11848 2005-08-26 Stefan Kost <ensonic@users.sf.net>
11851 removed ';' from the end of macro defs
11852 * docs/gst/gstreamer-docs.sgml:
11853 * docs/gst/gstreamer-sections.txt:
11854 * docs/gst/tmpl/.cvsignore:
11856 * gst/gstelement.c: (gst_element_class_init),
11857 (gst_element_set_state), (activate_pads),
11858 (gst_element_save_thyself):
11859 * gst/gstevent.c: (gst_event_new_newsegment):
11861 * gst/gstiterator.c:
11862 * gst/gstiterator.h:
11865 * gst/gstutils.c: (gst_pad_query_convert):
11867 fixed parameter name mismatches between source, header and docs
11868 added some more docs, resolved the last batch of unused elements in
11869 docs (now someone needs to doc them)
11871 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
11873 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
11874 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
11875 don't walk through the plugins backwards. Where is all this
11876 reversed logic coming from ?
11878 2005-08-25 Wim Taymans <wim@fluendo.com>
11880 * gst/base/gstbasetransform.c: (gst_base_transform_init),
11881 (gst_base_transform_transform_size),
11882 (gst_base_transform_configure_caps),
11883 (gst_base_transform_get_unit_size),
11884 (gst_base_transform_buffer_alloc),
11885 (gst_base_transform_change_state):
11886 * gst/base/gstbasetransform.h:
11887 Cache caps unit_size.
11888 Make sure we cannot negotiate up and downstream at the
11891 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
11893 * gst/gst.c: (init_pre), (init_post):
11894 register the installed plugin path after the env var
11895 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
11896 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
11897 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
11898 directories, so the tests can prefer uninstalled over installed
11900 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
11902 * gst/base/gstbasetransform.h:
11907 2005-08-25 Wim Taymans <wim@fluendo.com>
11909 * gst/gstbin.c: (bin_bus_handler):
11910 Be a bit more conservative about the posted message.
11912 * gst/gstbus.c: (gst_bus_post):
11913 Some cleanups, warn wrong return values.
11915 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
11917 * check/gst/gstbin.c: (GST_START_TEST):
11918 * gst/gstbin.c: (bin_bus_handler):
11919 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
11920 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
11921 (gst_message_new_warning), (gst_message_new_tag),
11922 (gst_message_new_state_changed), (gst_message_new_segment_start),
11923 (gst_message_new_segment_done), (gst_message_new_custom):
11924 * gst/gstmessage.h:
11925 * tools/gst-launch.c: (event_loop):
11926 * tools/gst-md5sum.c: (event_loop):
11927 Revert unpopular change for GST_MESSAGE_SRC to GObject.
11929 2005-08-25 Wim Taymans <wim@fluendo.com>
11931 * check/generic/states.c: (GST_START_TEST):
11932 Cleanup can be done at the end.
11934 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
11935 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
11936 (gst_task_get_state), (gst_task_start), (gst_task_pause):
11937 Oh boy.. Thanks for finding this, Thomas.
11939 2005-08-25 Stefan Kost <ensonic@users.sf.net>
11941 * docs/gst/gstreamer.types:
11942 added missing types
11944 2005-08-25 Stefan Kost <ensonic@users.sf.net>
11946 * docs/gst/gstreamer-docs.sgml:
11947 * docs/gst/gstreamer-sections.txt:
11948 * docs/gst/tmpl/.cvsignore:
11950 * gst/gstiterator.c:
11952 * gst/registries/gstxmlregistry.h:
11953 added missing classes and symbols (123 more to go)
11954 removed removed symbols from section file
11955 fixed many doc-comments
11957 2005-08-24 Wim Taymans <wim@fluendo.com>
11959 * check/generic/states.c: (GST_START_TEST):
11960 Make sure all tasks are stopped.
11962 * check/gst/gstbin.c: (GST_START_TEST):
11963 Unref after usage for proper valgrinding.
11965 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
11966 Really wait for the task to stop before destroying the
11969 * gst/gstqueue.c: (gst_queue_sink_activate_push),
11970 (gst_queue_src_activate_push):
11971 Small cleanups. Don't stop the task when we did not start
11974 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
11975 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
11976 (gst_task_get_state), (gst_task_start), (gst_task_pause),
11979 Protect the stream lock with the object lock.
11980 Disallow setting the stream lock when running.
11981 Add cleanup_all to wait for the threadpool to finish.
11982 Remove code to autoallocate a mutex if none was provided.
11983 Add _join() to wait for a task to stop.
11984 Protect the thread pool with a global lock.
11986 2005-08-24 Wim Taymans <wim@fluendo.com>
11988 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11989 (gst_base_sink_get_times), (gst_base_sink_do_sync),
11990 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
11991 * gst/base/gstbasesink.h:
11992 Handle newsegment events correctly.
11993 Drop buffers out of the segment range.
11995 2005-08-22 Andy Wingo <wingo@pobox.com>
11997 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
11998 macro, implements an interface and gstimplementsinterface for a
12001 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
12003 * check/Makefile.am:
12004 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
12005 add a test that does a bunch of state changes on elements
12006 needs some fixing for valgrind
12007 * check/states/sinks.c: (gst_object_suite):
12010 add prototype for gst_caps_is_equal_fixed
12012 * gst/gstregistrypool.c:
12015 2005-08-24 Andy Wingo <wingo@pobox.com>
12017 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
12018 convert a negative value. Doesn't make much sense. Mostly this is
12019 here to force callers to ensure -1 maps to -1.
12021 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
12023 * docs/pwg/advanced-types.xml:
12024 Well done to Michael for catching my deliberate introduction
12025 of this spelling mistake.
12026 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
12027 * gst/gstelement.h:
12028 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
12029 unlink pads before removing the element from the bin.
12031 2005-08-24 Andy Wingo <wingo@pobox.com>
12033 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
12034 the same thing as GST_DEBUG=*:4.
12035 (parse_debug_level, parse_debug_category): New helper parsers.
12037 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
12039 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
12040 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
12041 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
12042 (gst_base_transform_buffer_alloc),
12043 (gst_base_transform_handle_buffer):
12044 use gboolean return values and pointers to size so we can use the
12045 full GST_BUFFER_SIZE range (guint) for buffer sizes
12046 use GstPadDirection for transform_caps
12047 * gst/base/gstbasetransform.h:
12048 rename get_size to get_unit_size since that's what it is
12049 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
12050 use GstPadDirection for transform_caps
12051 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
12053 cleanup and debugging
12055 2005-08-24 Stefan Kost <ensonic@users.sf.net>
12057 * gst/gstelement.c: (gst_element_class_init),
12058 (gst_element_set_state), (activate_pads),
12059 (gst_element_save_thyself):
12060 * tools/gst-compprep.c: (main):
12061 * tools/gst-inspect.c: (print_element_properties_info):
12062 * tools/gst-xmlinspect.c: (print_element_properties):
12063 Fixed long standing mem-leak
12065 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
12067 * check/gst/gstbin.c: (GST_START_TEST):
12068 * gst/gstbin.c: (bin_bus_handler):
12069 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
12070 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
12071 (gst_message_new_warning), (gst_message_new_tag),
12072 (gst_message_new_state_changed), (gst_message_new_segment_start),
12073 (gst_message_new_segment_done), (gst_message_new_custom):
12074 * gst/gstmessage.h:
12075 * tools/gst-launch.c: (event_loop):
12076 * tools/gst-md5sum.c: (event_loop):
12077 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
12078 that applications can sensibly post custom messages with references
12079 to their own objects.
12081 2005-08-24 Andy Wingo <wingo@pobox.com>
12083 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
12086 2005-08-24 Wim Taymans <wim@fluendo.com>
12088 * gst/base/gstbasetransform.c: (gst_base_transform_init),
12089 (gst_base_transform_transform_caps),
12090 (gst_base_transform_transform_size),
12091 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
12092 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
12093 (gst_base_transform_handle_buffer):
12094 * gst/base/gstbasetransform.h:
12095 Many fixes and new features added by Thomas. Can now also do
12096 transforms with variable sizes and a custom fixate_caps function.
12098 2005-08-24 Wim Taymans <wim@fluendo.com>
12100 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
12104 Cast to ClockTime before formatting to time.
12109 2005-08-24 Stefan Kost <ensonic@users.sf.net>
12111 * check/gst-libs/controller.c: (GST_START_TEST),
12112 (gst_controller_suite):
12113 * docs/gst/tmpl/gstcaps.sgml:
12114 * docs/gst/tmpl/gstghostpad.sgml:
12115 * docs/gst/tmpl/gstquery.sgml:
12116 * docs/gst/tmpl/gstutils.sgml:
12117 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
12118 (gst_object_sink_values), (gst_object_get_value_arrays),
12119 (gst_object_get_value_array):
12120 gracefully handle helper method calls to objects that are not beeing
12121 controlled, added test case for that
12123 2005-08-23 Wim Taymans <wim@fluendo.com>
12125 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
12126 (gst_event_new_newsegment), (gst_event_parse_newsegment),
12127 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
12128 (gst_event_parse_qos), (gst_event_new_seek),
12129 (gst_event_parse_seek):
12131 Some more debugging output and doc cleanups.
12133 * gst/gstqueue.c: (gst_queue_handle_sink_event):
12134 Fix possible deadlock.
12136 2005-08-23 Stefan Kost <ensonic@users.sf.net>
12138 * docs/gst/gstreamer-docs.sgml:
12139 * docs/gst/gstreamer-sections.txt:
12140 * docs/gst/gstreamer.types:
12141 * docs/gst/tmpl/.cvsignore:
12144 * gst/gstelement.c:
12146 added 100 symbols from gstreamer-unused.txt to the right sections
12147 fixed more broken comments
12148 added GstBus to docs
12150 2005-08-23 Stefan Kost <ensonic@users.sf.net>
12152 * docs/gst/gstreamer-sections.txt:
12153 * docs/gst/tmpl/.cvsignore:
12154 * docs/gst/tmpl/gstbin.sgml:
12155 * docs/gst/tmpl/gstbuffer.sgml:
12156 * gst/base/gstbasesrc.c:
12157 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
12160 * tools/gst-launch.1.in:
12161 inlined more doc comments, added missing comments and fixed comments
12164 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
12166 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
12170 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
12172 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
12173 * gst/gststructure.h:
12174 add a fixate function for booleans; add a FIXME that these func
12175 names should probably be gst_structure_fixate_*
12177 2005-08-23 Stefan Kost <ensonic@users.sf.net>
12179 * docs/gst/gstreamer-docs.sgml:
12180 * docs/gst/gstreamer-sections.txt:
12182 * gst/gstbin.c: (gst_bin_get_type),
12183 (gst_bin_child_proxy_get_child_by_index),
12184 (gst_bin_child_proxy_get_children_count),
12185 (gst_bin_child_proxy_init):
12186 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
12187 (gst_child_proxy_get_child_by_index),
12188 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
12189 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
12190 (gst_child_proxy_get), (gst_child_proxy_set_property),
12191 (gst_child_proxy_set_valist), (gst_child_proxy_set),
12192 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
12193 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
12194 * gst/gstchildproxy.h:
12195 * gst/parse/grammar.y:
12196 * tools/gst-inspect.c: (print_interfaces),
12197 (print_element_properties_info), (print_element_info):
12198 ported gstchildproxy over from 0.8
12199 ported gst-inspect fixes and enhancements over from 0.8
12201 2005-08-22 Wim Taymans <wim@fluendo.com>
12203 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
12204 (gst_base_transform_handle_buffer):
12205 Also call the transform function if we have ANY caps.
12207 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
12210 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
12212 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
12213 Don't pretend to handle seek events if the source is not seekable
12215 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
12217 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12218 Remove extra parameter to debug output
12220 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
12221 (gst_base_src_do_seek), (gst_base_src_activate_push):
12222 Fix seek event handling.
12224 * gst/gstpipeline.c: (gst_pipeline_change_state):
12225 * gst/gstqueue.c: (gst_queue_handle_sink_event),
12226 (gst_queue_src_activate_push):
12227 Don't start the src pad task on FLUSH_STOP if the pad
12231 2005-08-22 Wim Taymans <wim@fluendo.com>
12233 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12234 Added check for gst_static_caps_get() refcounting.
12236 2005-08-22 Wim Taymans <wim@fluendo.com>
12238 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
12239 Make _static_caps_get() refcounting sane.
12241 * gst/gstelement.c: (gst_element_set_state):
12242 Add g_return_val_if_fail() to protect against segfaults.
12244 2005-08-22 Stefan Kost <ensonic@users.sf.net>
12246 * docs/gst/tmpl/gstevent.sgml:
12249 inlined remaining docs, added missing doc comments
12251 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
12253 * check/gst/gstbin.c: (GST_START_TEST):
12254 since we don't know when preroll is done, use refcount range
12256 * gst/check/gstcheck.h:
12257 add macro for checking refcount range
12259 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
12261 * check/Makefile.am:
12262 clean up environment for when registry gets built versus
12263 when actual tests are run; valgrind seems to not report
12264 leaks if GST_PLUGIN_PATH is set to some specific values
12265 * check/gst/gstbin.c: (GST_START_TEST):
12266 add more refcounting checks; maybe this exposes a
12268 * common/check.mak:
12269 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12270 * gst/check/gstcheck.h:
12271 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
12272 (gst_bin_change_state):
12273 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
12274 add/fix debugging/whitespace
12276 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
12278 * check/gst/gstevent.c: (event_probe), (test_event),
12280 Er, don't call gst_bin_watch_for_state_change you idiot.
12282 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
12284 * check/Makefile.am:
12285 Use CHECK_CFLAGS and CHECK_LIBS
12286 * check/gst/gstevent.c: (event_probe), (test_event),
12289 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
12290 (gst_base_src_start), (gst_base_src_stop),
12291 (gst_base_src_activate_push), (gst_base_src_activate_pull),
12292 (gst_base_src_change_state):
12293 Sprinkle gst_base_src_stop liberally around error paths to fix
12294 problems reusing a source after failed state changes.
12295 * gst/base/gsttypefindhelper.c: (helper_find_peek),
12296 (helper_find_suggest), (gst_type_find_helper):
12297 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
12299 * docs/gst/tmpl/gstevent.sgml:
12300 Migrate part of the docs from the SGML file. Wait for ensonic to
12301 tell me how I did it wrong ;)
12302 * tools/gst-typefind.c: (main):
12303 Extra robustness to state changes between files.
12305 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
12307 * check/Makefile.am:
12308 don't valgrind the controller test - it's leaking - Stefan, HELP
12309 * gst/check/gstcheck.c: (gst_check_message_error),
12310 (gst_check_chain_func), (gst_check_setup_element),
12311 (gst_check_teardown_element), (gst_check_setup_src_pad),
12312 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
12313 (gst_check_teardown_sink_pad):
12314 * gst/check/gstcheck.h:
12315 add a bunch of methods to set up elements, and src and sink pads
12316 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
12317 * check/elements/identity.c: (setup_identity), (cleanup_identity),
12320 * gst/gstmessage.c:
12322 whitespace/doc fixes
12324 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
12326 * gst/gstelement.h:
12327 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
12328 be handled by the application and not always printed as well
12330 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
12332 * check/Makefile.am:
12334 * gst/check/gstcheck.c: (gst_check_message_error):
12335 * gst/check/gstcheck.h:
12336 add a fail_unless_equals_int
12337 add fail_unless for error messages
12339 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
12341 * check/Makefile.am:
12343 * common/Makefile.am:
12344 * common/check.mak:
12346 factor out some of the common stuff so we can use it
12348 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
12350 * check/Makefile.am:
12351 * check/gst/gstiterator.c: (GST_START_TEST):
12352 * check/gst/gstsystemclock.c: (GST_START_TEST),
12353 (gst_systemclock_suite):
12354 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
12356 valgrind more tests
12358 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
12360 * check/elements/.cvsignore:
12361 * check/elements/gstfakesrc.c:
12362 rename to name of element
12363 * check/elements/identity.c: (chain_func), (event_func),
12364 (setup_identity), (cleanup_identity), (GST_START_TEST),
12365 (identity_suite), (main):
12366 add a test for identity
12367 * check/Makefile.am:
12368 * pkgconfig/Makefile.am:
12369 * pkgconfig/gstreamer-check.pc.in:
12370 * pkgconfig/gstreamer-check-uninstalled.pc.in:
12374 move the check stuff to a library that gets installed
12375 * check/gst-libs/controller.c: (GST_START_TEST):
12376 * check/gst-libs/gdp.c:
12377 * check/gst/gst.c: (GST_START_TEST):
12378 * check/gst/gstbin.c:
12379 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12380 * check/gst/gstbus.c:
12381 * check/gst/gstcaps.c: (GST_START_TEST):
12382 * check/gst/gstelement.c:
12383 * check/gst/gstghostpad.c:
12384 * check/gst/gstiterator.c:
12385 * check/gst/gstmessage.c:
12386 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
12387 * check/gst/gstobject.c:
12388 * check/gst/gstpad.c: (GST_START_TEST):
12389 * check/gst/gststructure.c: (GST_START_TEST):
12390 * check/gst/gstsystemclock.c: (GST_START_TEST),
12391 (gst_systemclock_suite):
12392 * check/gst/gsttag.c: (gst_tag_suite):
12393 * check/gst/gstvalue.c:
12394 * check/pipelines/cleanup.c:
12395 * check/pipelines/simple_launch_lines.c:
12396 * check/states/sinks.c:
12397 change include statement
12399 * docs/gst/gstreamer-sections.txt:
12400 * docs/gst/tmpl/gstpad.sgml:
12401 document more pad stuff
12402 * gst/gstminiobject.c: (gst_mini_object_ref),
12403 (gst_mini_object_unref):
12406 2005-08-19 Stefan Kost <ensonic@users.sf.net>
12408 * docs/gst/tmpl/gst.sgml:
12410 eliminate another tmpl file, fix spelling in the long-description
12412 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
12414 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
12415 (test_event), (timediff), (gstevents_suite):
12416 Should fix build on 64-bit arch's
12418 2005-08-18 Andy Wingo <wingo@pobox.com>
12420 Make sure that when a pipeline goes to PLAYING, that data has
12421 actually hit the sink.
12423 * check/states/sinks.c (test_sink): A sink that doesn't get any
12424 data shouldn't return SUCCESS for going to either PLAYING or
12425 PAUSED. Test also the return values on the way back down.
12427 * gst/gstelement.c (gst_element_set_state): When changing the
12428 state of an element currently changing state asynchronously, go to
12429 lost-state after commiting the pending state. Makes future calls
12430 to get_state continue to return ASYNC.
12432 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
12433 ASYNC when going to PLAYING if we still don't have preroll, as can
12434 happen with live sources.
12436 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
12438 * docs/pwg/advanced-types.xml:
12439 Hack long paragraph into 2 chunks as a workaround for buggy
12440 jadetex version in sid and breezy that loops infinitely and
12443 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
12445 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
12446 (test_event), (timediff), (gstevents_suite):
12447 Provide more error margin in clock measurements to allow for
12448 g_get_current_time inaccuracies.
12450 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
12452 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
12453 (test_event), (timediff), (gstevents_suite):
12454 Fix error message output so I might be able to tell why the
12455 test works here but fails on the build farm.
12457 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
12459 * check/Makefile.am:
12460 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
12461 (test_event), (timediff), (gstevents_suite), (main):
12464 * docs/design/part-seeking.txt:
12465 Spelling correction
12467 * docs/gst/tmpl/gstevent.sgml:
12468 * docs/gst/tmpl/gstfakesrc.sgml:
12471 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12472 Treat a buffer-without-newsegment the same as a receiving
12473 a newsegment not in time format, and disable syncing to the clock
12476 * gst/gstbus.c: (gst_bus_set_sync_handler):
12477 Assert if anyone tries to replace the existing sync_handler for bus,
12478 as only the owner should be setting it.
12481 Have a fixed set of custom event enums with events identified by
12482 their structure name (as in 0.8), rather than a free-for-all
12483 allowing collisions between enum values from different plugins.
12485 * gst/gstpad.c: (gst_pad_class_init):
12488 * gst/gstqueue.c: (gst_queue_handle_sink_event):
12489 Handle out-of-band downstream events from the sending thread.
12491 2005-08-17 Andy Wingo <wingo@pobox.com>
12493 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
12494 play-timeout==0 to mean no timeout at all. In that case, don't
12495 bother with a get_state or a warning, just return directly, even
12498 * gst/base/gstbasetransform.c: Debug changes.
12501 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
12502 ensure bins post state change messages. A bit of a hack but I can't
12503 think of a way to avoid it.
12505 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
12507 2005-08-16 Andy Wingo <wingo@pobox.com>
12509 * gst/base/gstadapter.h:
12510 * gst/base/gstadapter.c (gst_adapter_take): New function, like
12511 peek() but you own the data. Not terribly efficient atm.
12513 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12515 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
12516 (gst_element_found_tags):
12518 Add two utility functions for tag handling.
12520 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12522 * docs/manual/advanced-dataaccess.xml:
12523 * docs/manual/basics-helloworld.xml:
12524 Fix docs to use _bin_add() before _link(), which fixes the examples
12525 with recent core versions (reported by Madhan Raj M
12526 <raj_madan@rediffmail.com>, #313199).
12528 2005-08-16 Wim Taymans <wim@fluendo.com>
12530 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12531 Added subtract checks.
12533 * docs/design/part-events.txt:
12534 Some more docs about newsegment
12536 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
12539 * gst/gstcaps.c: (gst_caps_to_string):
12540 Add comments, cleanups.
12542 * gst/gstelement.c: (gst_element_save_thyself):
12545 * gst/gstvalue.c: (gst_value_collect_int_range),
12546 (gst_string_unwrap), (gst_value_union_int_int_range),
12547 (gst_value_union_int_range_int_range),
12548 (gst_value_intersect_int_int_range),
12549 (gst_value_intersect_int_range_int_range),
12550 (gst_value_intersect_double_double_range),
12551 (gst_value_intersect_double_range_double_range),
12552 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
12553 (gst_value_subtract_int_range_int),
12554 (gst_value_subtract_double_range_double),
12555 (gst_value_subtract_double_range_double_range),
12556 (gst_value_subtract_from_list), (gst_value_subtract_list),
12557 (gst_value_can_compare), (gst_value_compare_fraction):
12558 Cleanups, add comments, remove unneeded asserts.
12560 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
12562 * tools/gst-launch.c: (event_loop):
12563 don't convert NULL structures to strings
12565 2005-08-15 Stefan Kost <ensonic@users.sf.net>
12567 * docs/gst/gstreamer-sections.txt:
12568 made some defines private
12569 * docs/gst/tmpl/gstconfig.sgml:
12570 * docs/gst/tmpl/gstqueue.sgml:
12571 * docs/gst/tmpl/gsttaglist.sgml:
12572 * docs/gst/tmpl/gsttypes.sgml:
12573 * docs/gst/tmpl/gstutils.sgml:
12574 * docs/pwg/appendix-porting.xml:
12575 * gst/base/gstbasesink.h:
12576 * gst/base/gstbasesrc.c:
12577 * gst/base/gstbasesrc.h:
12578 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
12579 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
12580 * gst/gstelement.c: (gst_element_class_init):
12581 * gst/gstpad.c: (gst_pad_class_init):
12582 * gst/gstqueue.c: (gst_queue_class_init):
12583 * gst/gstxml.c: (gst_xml_class_init):
12584 documented all undocumented signal inline
12585 * libs/gst/controller/gst-controller.h:
12588 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12590 * docs/pwg/appendix-porting.xml:
12591 Document _set_link_function -> _set_setcaps_function.
12593 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
12595 * check/Makefile.am:
12596 add a .check target for running the check
12597 * check/gst-libs/controller.c: (GST_START_TEST):
12599 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12600 complete checks for gstbuffer; would be nice if I could get the
12601 gcov stuff to work so I can see if I actually completed gstbuffer.c
12602 * check/gstcheck.h:
12603 add ASSERT_BUFFER_REFCOUNT
12605 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
12607 * docs/gst/gstreamer-sections.txt:
12608 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
12610 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
12611 spew out a warning if a tag that is already registered
12612 is re-registered, unless it is re-registered with a
12613 different type (#308438).
12615 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
12617 * docs/pwg/appendix-porting.xml:
12618 * docs/pwg/building-state.xml:
12619 Add some paragraphs about state changes in 0.9 to the PWG
12620 and the porting guide, in particular about the new meaning
12621 of GST_STATE_PAUSED and how to write state change functions
12622 with concurrent access by multiple threads in mind.
12624 2005-08-11 Stefan Kost <ensonic@users.sf.net>
12626 * docs/gst/gstreamer-docs.sgml:
12627 * docs/libs/gstreamer-libs-docs.sgml:
12628 added deprecation and since indexes
12629 * libs/gst/controller/gst-controller.c:
12630 * libs/gst/controller/gst-helper.c:
12634 2005-08-11 Wim Taymans <wim@fluendo.com>
12636 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
12637 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
12638 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
12639 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
12640 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
12641 (gst_ghost_pad_set_target):
12642 Actually implement (re)setting the target on a ghostpad
12643 as described in the docs.
12645 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
12647 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
12648 Check whether GST_DEBUG_NO_COLOR environment variable is
12649 set and disable coloured debug output if that is the case.
12651 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
12653 * gst/base/gsttypefindhelper.c: (helper_find_peek),
12654 (gst_type_find_helper):
12655 The memory returned by gst_type_find_peek() needs to
12656 stay valid until the end of a typefind function, and
12657 typefind functions may keep results from different
12658 offsets around, so we can't just unref the buffer from
12659 the previous _peek(), but have to save all buffers
12660 returned by _peek() until typefinding is done and only
12663 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
12665 * docs/gst/gstreamer-sections.txt:
12667 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
12669 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12671 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
12672 Fix a pretty good memleak.
12674 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
12676 * gst/gstiterator.h:
12677 Fix wrong include and 'make distcheck'.
12679 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12681 * gst/gstbin.c: (bin_bus_handler):
12682 Use gst_element_post_message() instead.
12684 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
12686 * gst/base/gstadapter.h:
12687 * gst/base/gstbasesink.h:
12688 * gst/base/gstbasesrc.h:
12689 * gst/base/gstbasetransform.h:
12690 * gst/base/gstcollectpads.h:
12691 * gst/base/gstpushsrc.h:
12692 * gst/gstiterator.h:
12693 Add padding to our base elements' class and instance structs and
12694 to GstIterator (you will need to rebuild all plugins and apps!)
12696 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12698 * gst/gstbin.c: (bin_bus_handler):
12699 Make default message forwarding from child->bus to bin->bus
12700 threadsafe and make it not emit warnings if the parent has no bus.
12702 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12704 * gst/gstelement.c: (activate_pads):
12705 On paused->ready, set pad->caps to NULL, as is the documented
12706 behaviour in this state change. Fixes playback of series of
12707 media files when visualization is enabled in Totem.
12709 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12711 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
12712 Allow NULL as filter-caps (which means "any").
12714 2005-08-05 Stefan Kost <ensonic@users.sf.net>
12716 * docs/libs/gstreamer-libs-sections.txt:
12717 * libs/gst/controller/gst-controller.c:
12718 * libs/gst/controller/gst-controller.h:
12719 * libs/gst/controller/gst-helper.c:
12720 adding more entries to the docs and fix small doc-bugs
12722 2005-08-05 Stefan Kost <ensonic@users.sf.net>
12724 * docs/gst/gstreamer-docs.sgml:
12725 * docs/gst/gstreamer-sections.txt:
12726 * docs/gst/gstreamer.types:
12727 * docs/gst/tmpl/gstbasesink.sgml:
12728 * docs/gst/tmpl/gstbasesrc.sgml:
12729 * docs/gst/tmpl/gstbasetransform.sgml:
12730 * docs/gst/tmpl/gstfakesrc.sgml:
12731 * gst/base/gstcollectpads.c:
12732 * gst/base/gstcollectpads.h:
12733 * libs/gst/controller/gst-controller.c:
12734 * libs/gst/controller/gst-controller.h:
12735 * libs/gst/controller/gst-helper.c:
12736 * libs/gst/controller/gst-interpolation.c:
12737 * libs/gst/controller/lib.c:
12738 added long/short desc for controller docs
12739 added collectpads base class docs
12740 added correct includes to base-class docs
12742 2005-08-05 Stefan Kost <ensonic@users.sf.net>
12744 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
12745 (gst_test_mono_source_set_property),
12746 (gst_test_mono_source_class_init), (GST_START_TEST),
12747 (gst_controller_suite):
12748 * docs/gst/gstreamer-docs.sgml:
12749 * docs/gst/gstreamer-sections.txt:
12750 * docs/gst/gstreamer.types:
12751 * docs/libs/gstreamer-libs-docs.sgml:
12752 * docs/libs/gstreamer-libs-sections.txt:
12753 * gst/base/gstadapter.c:
12754 * libs/gst/controller/gst-controller.c:
12755 (gst_controlled_property_new), (gst_controlled_property_free),
12756 (gst_controller_new_valist),
12757 (gst_controller_remove_properties_valist),
12758 (gst_controller_sink_values), (_gst_controller_finalize):
12759 * libs/gst/controller/gst-controller.h:
12760 * libs/gst/controller/gst-helper.c:
12761 (gst_object_control_properties), (gst_object_uncontrol_properties),
12762 (gst_object_get_controller), (gst_object_set_controller),
12763 (gst_object_sink_values), (gst_object_get_value_arrays),
12764 (gst_object_get_value_array):
12765 more tests (and fixes) for the controller
12766 more docs for the controller
12767 integrated companies docs for the adapter
12769 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
12771 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
12772 (GST_START_TEST), (fakesrc_suite):
12773 add tests for sizetype
12775 2005-08-04 Andy Wingo <wingo@pobox.com>
12777 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
12778 fixes buffer_alloc proxying among other things.
12780 * gst/base/gstbasetransform.c:
12781 * gst/base/gstbasetransform.h:
12782 Revert patch to gstbasetransform from 7-28 removing
12785 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
12786 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
12787 Semantics changed, should return not the size of the output buffer
12788 but the byte size of a buffer with a given caps.
12790 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
12792 (gst_base_transform_configure_caps): Don't set out_size here: (in,
12793 out) are not the pad caps until setcaps finishes.
12794 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
12795 not-in-place case as well. Deal with changing from in-place to
12796 not-in-place within calling pad_alloc_buffer. Still a bit
12797 concerned about the overhead here...
12799 2005-08-03 Andy Wingo <wingo@pobox.com>
12801 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
12802 fixating is an error.
12804 2005-08-04 Edward Hervey <edward@fluendo.com>
12806 * gst/base/gstadapter.h:
12807 Added gst_adapter_get_type() to the header
12809 2005-08-03 Stefan Kost <ensonic@users.sf.net>
12811 * check/Makefile.am:
12812 * check/gst-libs/controller.c:
12813 * libs/gst/controller/gst-controller.c:
12814 (gst_controller_new_valist):
12815 added check test suite for the controller
12816 * gst/base/gstpushsrc.c:
12819 2005-08-03 Stefan Kost <ensonic@users.sf.net>
12821 * docs/gst/Makefile.am:
12822 * docs/gst/gstreamer-docs.sgml:
12823 * docs/gst/gstreamer-sections.txt:
12824 * docs/gst/gstreamer.types:
12825 * docs/gst/tmpl/gstfakesrc.sgml:
12827 * gst/base/gstbasesink.c:
12828 * gst/base/gstbasesink.h:
12829 * gst/base/gstbasesrc.c:
12830 * gst/base/gstbasesrc.h:
12831 * gst/base/gstbasetransform.c:
12832 * gst/base/gstpushsrc.c:
12833 * gst/base/gstpushsrc.h:
12834 add short/long description docs to base classes
12835 add pushsrc to the docs
12836 remove consolidated doc fragments
12838 2005-08-03 Stefan Kost <ensonic@users.sf.net>
12841 * docs/libs/Makefile.am:
12842 * docs/libs/gstreamer-libs-docs.sgml:
12843 * docs/libs/gstreamer-libs-sections.txt:
12844 * docs/libs/gstreamer-libs.types:
12845 * examples/Makefile.am:
12846 * examples/controller/.cvsignore:
12847 * examples/controller/Makefile.am:
12848 * examples/controller/audio-example.c: (main):
12849 * libs/gst/Makefile.am:
12850 * libs/gst/controller/.cvsignore:
12851 * libs/gst/controller/Makefile.am:
12852 * libs/gst/controller/gst-controller.c:
12853 (on_object_controlled_property_changed), (gst_timed_value_compare),
12854 (gst_timed_value_find),
12855 (gst_controlled_property_set_interpolation_mode),
12856 (gst_controlled_property_new), (gst_controlled_property_free),
12857 (gst_controller_find_controlled_property),
12858 (gst_controller_new_valist), (gst_controller_new),
12859 (gst_controller_remove_properties_valist),
12860 (gst_controller_remove_properties), (gst_controller_set),
12861 (gst_controller_set_from_list), (gst_controller_unset),
12862 (gst_controller_get), (gst_controller_get_all),
12863 (gst_controller_sink_values), (gst_controller_get_value_arrays),
12864 (gst_controller_get_value_array),
12865 (gst_controller_set_interpolation_mode),
12866 (_gst_controller_finalize), (_gst_controller_init),
12867 (_gst_controller_class_init), (gst_controller_get_type):
12868 * libs/gst/controller/gst-controller.h:
12869 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
12870 (g_object_uncontrol_properties), (g_object_get_controller),
12871 (g_object_set_controller), (g_object_sink_values),
12872 (g_object_get_value_arrays), (g_object_get_value_array):
12873 * libs/gst/controller/gst-interpolation.c:
12874 (gst_controlled_property_find_timed_value_node),
12875 (interpolate_none_get), (interpolate_trigger_get),
12876 (interpolate_trigger_get_value_array):
12877 * libs/gst/controller/lib.c: (gst_controller_init):
12878 * pkgconfig/Makefile.am:
12879 * pkgconfig/gstreamer-control-uninstalled.pc.in:
12880 * pkgconfig/gstreamer-control.pc.in:
12881 * testsuite/Makefile.am:
12882 * testsuite/controller/.cvsignore:
12883 * testsuite/controller/Makefile.am:
12884 * testsuite/controller/interpolator.c: (main):
12885 added controller code
12886 removed dparam pc files
12888 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
12889 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
12890 (gst_collectpads_stop):
12891 Broadcast the condition when shutting down, to make sure we wake all
12892 threads up. Shut down pads on finalize, for safety.
12894 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
12895 * gst/base/gstbasetransform.c: (gst_base_transform_init),
12896 (gst_base_transform_handle_buffer),
12897 (gst_base_transform_change_state):
12898 Handle PAUSED->READY->PAUSED transition after negotiation
12900 * gst/gstmessage.c: (gst_message_init):
12901 Extra piece of debug for new messages.
12903 2005-08-01 Stefan Kost <ensonic@users.sf.net>
12906 * docs/gst/tmpl/gstbasesrc.sgml:
12907 * docs/gst/tmpl/gstelement.sgml:
12908 * docs/gst/tmpl/gstevent.sgml:
12909 * docs/gst/tmpl/gstfakesrc.sgml:
12910 * docs/gst/tmpl/gstformat.sgml:
12911 * docs/gst/tmpl/gstghostpad.sgml:
12912 * docs/gst/tmpl/gstpad.sgml:
12913 * docs/gst/tmpl/gstquery.sgml:
12914 * docs/gst/tmpl/gststructure.sgml:
12915 * docs/gst/tmpl/gsttaglist.sgml:
12916 * docs/gst/tmpl/gstvalue.sgml:
12917 * docs/libs/gstreamer-libs-docs.sgml:
12918 * docs/libs/gstreamer-libs-sections.txt:
12919 * docs/libs/gstreamer-libs.types:
12920 * libs/gst/Makefile.am:
12921 * libs/gst/control/.cvsignore:
12922 * libs/gst/control/Makefile.am:
12923 * libs/gst/control/control.c:
12924 * libs/gst/control/control.h:
12925 * libs/gst/control/dparam.c:
12926 * libs/gst/control/dparam.h:
12927 * libs/gst/control/dparam_smooth.c:
12928 * libs/gst/control/dparam_smooth.h:
12929 * libs/gst/control/dparamcommon.h:
12930 * libs/gst/control/dparammanager.c:
12931 * libs/gst/control/dparammanager.h:
12932 * libs/gst/control/dplinearinterp.c:
12933 * libs/gst/control/dplinearinterp.h:
12934 * libs/gst/control/unitconvert.c:
12935 * libs/gst/control/unitconvert.h:
12936 * testsuite/Makefile.am:
12937 * testsuite/dynparams/.cvsignore:
12938 * testsuite/dynparams/Makefile.am:
12939 * testsuite/dynparams/dparamstest.c:
12940 * tools/Makefile.am:
12941 * tools/gst-inspect.c: (print_element_info), (main):
12942 * tools/gst-xmlinspect.c: (print_element_info), (main):
12943 deactivate and remove dparams (libgstcontrol)
12945 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
12947 * gst/elements/gsttypefindelement.c:
12948 (gst_type_find_element_have_type), (gst_type_find_element_init),
12949 (stop_typefinding), (gst_type_find_element_handle_event),
12950 (gst_type_find_element_chain), (gst_type_find_element_getrange):
12951 * gst/elements/gsttypefindelement.h:
12952 Set caps on all outgoing buffers, not just the first one.
12954 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
12956 * gst/elements/gsttypefindelement.c:
12957 (gst_type_find_element_have_type),
12958 (gst_type_find_element_check_set_buffer_caps),
12959 (gst_type_find_element_init), (stop_typefinding),
12960 (gst_type_find_element_handle_event),
12961 (gst_type_find_element_chain), (gst_type_find_element_getrange):
12962 * gst/elements/gsttypefindelement.h:
12963 Set caps on first outgoing buffer when we've found the type.
12965 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
12967 * docs/gst/gstreamer-docs.sgml:
12968 * docs/gst/gstreamer-sections.txt:
12969 * docs/gst/tmpl/gstscheduler.sgml:
12970 * docs/gst/tmpl/gstschedulerfactory.sgml:
12971 Remove some old cruft from docs.
12973 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
12976 Fix inline docs for GstPadLinkReturn.
12978 * gst/gststructure.c: (gst_structure_has_name):
12979 * gst/gststructure.h:
12980 * docs/gst/gstreamer-sections.txt:
12981 New API: gst_structure_has_name().
12983 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
12986 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
12987 and _LARGEFILE_SOURCE in config.h as required. Do not
12988 export those flags in our .pc files any longer (#142209).
12990 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
12992 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
12993 (gst_file_sink_do_seek), (gst_file_sink_event),
12994 (gst_file_sink_get_current_offset), (gst_file_sink_render):
12995 Redo seek/tell calls with large file support in mind; add some
12996 debugging messages; add log message that tells us when large
12997 file support is unavailable or not enabled for some reason.
12999 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
13000 Add log message that tells us when large file support
13001 is unavailable or not enabled for some reason.
13003 2005-07-29 Wim Taymans <wim@fluendo.com>
13005 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
13006 Added test for removing an element with ghostpad from a bin.
13007 Fixed test as current implementation does the right thing.
13009 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
13010 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
13011 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
13012 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
13013 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
13014 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13015 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13016 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13017 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
13018 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
13019 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
13020 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
13021 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
13022 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
13023 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
13024 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
13025 * gst/gstghostpad.h:
13026 Clean up ghostpads, remove properties for internal stuff.
13029 Prepare for switching targets, not all use cases work yet.
13031 2005-07-29 Wim Taymans <wim@fluendo.com>
13033 * docs/design/part-gstghostpad.txt:
13036 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
13037 (gst_bin_remove_func):
13038 Unlinking pads while holding the bin LOCK is not a good
13041 * gst/gstpad.c: (gst_pad_class_init),
13042 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
13043 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
13044 No prob setting template after creating the pad.
13046 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
13048 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
13049 (gst_bus_peek), (gst_bus_source_dispatch),
13050 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
13051 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
13052 gst_bus_poll may be called from other threads. Handle
13053 this nicely by not making poll_data disappear off the
13054 stack once gst_bus_poll returns.
13055 gst_bus_peek now increments the refcount on the returned
13058 2005-07-29 Wim Taymans <wim@fluendo.com>
13060 * docs/design/part-gstghostpad.txt:
13061 Overview of current GhostPad datastructures and use
13062 cases for changing the target.
13064 2005-07-28 Wim Taymans <wim@fluendo.com>
13066 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
13067 Added checks for hierarchy consistency whan adding linked
13070 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
13071 Added check to test element scheduling without bin/pipeline.
13073 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
13074 First add elements to bin, then link.
13076 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
13077 (gst_bin_remove_func):
13078 Unlink pads from elements added/removed from bin to maintain
13079 hierarchy consistency.
13081 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13083 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
13084 (gst_base_transform_handle_buffer):
13085 * gst/base/gstbasetransform.h:
13086 Remove broken delay_configure (fixes renegotiation of software
13087 scaling pipelines); remove some leftover printf()s.
13089 2005-07-28 Wim Taymans <wim@fluendo.com>
13091 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
13092 Added some more tests for wrong hierarchy
13094 * docs/design/part-overview.txt:
13097 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
13100 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
13101 (gst_element_dispose):
13102 Some more cleanups.
13104 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
13105 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
13106 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
13107 (gst_pad_set_caps), (gst_pad_send_event):
13108 Check for correct hierarchy when linking pads. Moving to
13109 strict requirement for ghostpads when linking elements in
13113 Clean ups. Added WRONG_HIERARCHY return value.
13115 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13117 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13118 Better debug if no transform is possible.
13120 2005-07-27 Wim Taymans <wim@fluendo.com>
13122 * docs/random/wtay/network-transp:
13123 Some old doc I had.
13125 2005-07-27 Wim Taymans <wim@fluendo.com>
13127 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
13128 (gst_dp_event_from_packet):
13129 Fix serialization of seek events.
13131 2005-07-27 Wim Taymans <wim@fluendo.com>
13133 * check/gst-libs/gdp.c: (GST_START_TEST):
13134 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
13135 Fix compilation and fix event serialization.
13137 2005-07-27 Wim Taymans <wim@fluendo.com>
13140 * docs/design/part-TODO.txt:
13141 * docs/design/part-events.txt:
13144 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13145 (gst_base_sink_event), (gst_base_sink_do_sync),
13146 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
13147 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
13148 (gst_base_src_do_seek), (gst_base_src_event_handler),
13149 (gst_base_src_loop):
13150 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
13151 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
13152 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
13153 (gst_base_transform_event), (gst_base_transform_handle_buffer),
13154 (gst_base_transform_set_passthrough),
13155 (gst_base_transform_is_passthrough):
13156 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
13157 * gst/elements/gstfilesink.c: (gst_file_sink_event):
13163 * gst/gstelement.c: (gst_element_seek):
13164 * gst/gstelement.h:
13165 Update gst_element_seek.
13167 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
13168 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
13169 (gst_event_new_flush_start), (gst_event_new_flush_stop),
13170 (gst_event_new_eos), (gst_event_new_newsegment),
13171 (gst_event_parse_newsegment), (gst_event_new_tag),
13172 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
13173 (gst_event_parse_qos), (gst_event_new_seek),
13174 (gst_event_parse_seek), (gst_event_new_navigation):
13176 Make GstEvent use GstStructure. Add parsing code, make sure the
13177 API is sufficiently generic.
13178 Mark possible directions of events and serialization.
13180 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
13181 (_gst_message_copy), (gst_message_new_segment_start),
13182 (gst_message_new_segment_done), (gst_message_new_custom),
13183 (gst_message_parse_segment_start),
13184 (gst_message_parse_segment_done):
13187 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
13188 (gst_pad_set_caps), (gst_pad_send_event):
13189 Update for new events.
13190 Catch events sent in wrong directions.
13192 * gst/gstqueue.c: (gst_queue_link_src),
13193 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
13194 (gst_queue_handle_src_query):
13199 Remove event code from this file.
13201 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
13202 (gst_dp_event_from_packet):
13205 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13207 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
13208 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
13209 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
13210 Make debugging actually useful.
13212 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13214 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
13215 (gst_pad_fixate_caps):
13216 Implement default fixation once again, so that gst_pad_fixate()
13217 actually does anything at all. This probably needs to be some
13218 sort of a last resort, and use profile-based fixation first, but
13219 since that doesn't exist yet, this is the best we have. Fixes
13220 visualization in Totem.
13222 2005-07-22 Wim Taymans <wim@fluendo.com>
13224 * docs/design/part-events.txt:
13227 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13228 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
13229 (gst_base_sink_activate_pull):
13230 Some more comments.
13232 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
13233 (gst_fake_src_create):
13234 Fix handoff marshall.
13236 * gst/elements/gstidentity.c: (gst_identity_class_init),
13237 (gst_identity_transform_ip):
13238 We're a real inplace element.
13240 * gst/gstbus.c: (gst_bus_post):
13241 Added some comments.
13243 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
13244 * tests/muxing/case1.c: (main):
13245 * tests/sched/dynamic-pipeline.c: (main):
13246 * tests/sched/interrupt1.c: (main):
13247 * tests/sched/interrupt2.c: (main):
13248 * tests/sched/interrupt3.c: (main):
13249 * tests/sched/runxml.c: (main):
13250 * tests/sched/sched-stress.c: (main):
13251 * tests/seeking/seeking1.c: (event_received), (main):
13252 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
13254 * tests/threadstate/threadstate3.c: (main):
13255 * tests/threadstate/threadstate4.c: (main):
13256 * tests/threadstate/threadstate5.c: (main):
13259 2005-07-21 Wim Taymans <wim@fluendo.com>
13261 * docs/design/part-seeking.txt:
13262 Some small additions.
13264 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13265 (gst_base_sink_get_times), (gst_base_sink_do_sync),
13266 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
13267 * gst/base/gstbasesink.h:
13268 discont values are gint64, handle the math correctly.
13270 * gst/base/gstbasesrc.c: (gst_base_src_loop):
13271 Make the basesrc report error if the source pad is not linked.
13273 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
13274 (gst_queue_loop), (gst_queue_handle_src_query),
13275 (gst_queue_src_activate_push):
13276 Make queue collect data even if the srcpad is not linked.
13277 Start pushing out data as soon as it is linked.
13279 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
13281 Added gst_flow_get_name() to ease error reporting.
13283 2005-07-20 Wim Taymans <wim@fluendo.com>
13285 * gst/gstmessage.c: (gst_message_new_segment_start),
13286 (gst_message_new_segment_done), (gst_message_parse_segment_start),
13287 (gst_message_parse_segment_done):
13288 * gst/gstmessage.h:
13289 Added a bunch of messages for advanced seeking.
13291 * gst/parse/grammar.y:
13292 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
13293 (gst_dpman_state_changed):
13294 Fix some new-pad -> pad-added signals
13296 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13298 * docs/manual/appendix-porting.xml:
13299 * docs/pwg/appendix-porting.xml:
13300 Document new-pad/state-change signal renames and the FixedList
13303 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13305 * docs/manual/advanced-autoplugging.xml:
13306 * docs/manual/basics-helloworld.xml:
13307 * docs/manual/basics-pads.xml:
13308 * docs/random/ds/0.9-suggested-changes:
13309 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
13310 * gst/gstelement.h:
13314 * gst/gststructure.c: (gst_structure_value_get_generic_type),
13315 (gst_structure_parse_array), (gst_structure_parse_value):
13316 * gst/gstvalue.c: (gst_type_is_fixed),
13317 (gst_value_list_prepend_value), (gst_value_list_append_value),
13318 (gst_value_list_get_size), (gst_value_list_get_value),
13319 (gst_value_transform_array_string), (gst_value_serialize_array),
13320 (gst_value_deserialize_array), (gst_value_intersect_array),
13321 (gst_value_is_fixed), (_gst_value_initialize):
13323 GstElement::new-pad -> pad-added, GstElement::state-change ->
13324 state-changed, GstValueFixedList -> GstValueArray, add format and
13325 flags as their own arguments in gst_element_seek() (should improve
13326 "bindeability"), remove function generators since they don't work
13327 under a whole bunch of compilers (they were deprecated already
13330 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13332 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
13333 (_gst_debug_register_funcptr):
13335 Fix illegal cast on some platforms (#309253).
13337 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13339 * gst/gstmessage.c: (gst_message_new_custom):
13340 * gst/gstmessage.h:
13341 Add _new_custom, make _new_application a macro to _new_custom.
13343 2005-07-20 Wim Taymans <wim@fluendo.com>
13345 * gst/base/gstbasesrc.c: (gst_base_src_init),
13346 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
13347 * gst/base/gstbasesrc.h:
13348 Add a gboolean to decide when to push out a discont.
13350 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
13351 (gst_queue_loop), (gst_queue_handle_src_query),
13352 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
13353 (gst_queue_set_property), (gst_queue_get_property):
13356 * tests/threadstate/threadstate1.c: (main):
13357 Make a thread test compile and run... very silly..
13360 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13362 * docs/manual/appendix-porting.xml:
13363 Mention removal of libgstgconf-0.9.la and existence of gconf
13366 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13368 * docs/pwg/advanced-clock.xml:
13369 * docs/pwg/appendix-porting.xml:
13370 * docs/pwg/intro-preface.xml:
13371 * docs/pwg/other-base.xml:
13372 * docs/pwg/other-manager.xml:
13373 * docs/pwg/other-nton.xml:
13374 * docs/pwg/other-ntoone.xml:
13375 * docs/pwg/other-oneton.xml:
13376 * docs/pwg/pwg.xml:
13377 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
13378 demuxer), remove n-to-n (was never written), fix some code examples
13379 and links and update the porting section to include all this.
13381 2005-07-19 Wim Taymans <wim@fluendo.com>
13383 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
13384 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
13385 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
13386 (gst_queue_src_activate_push), (gst_queue_change_state),
13387 (gst_queue_get_property):
13389 Propagate GstFlowReturn more intelligently upstream and output
13390 an ERROR/EOS when streaming stopped due to fatal error.
13392 2005-07-19 Wim Taymans <wim@fluendo.com>
13394 * tools/gst-launch.c: (check_intr), (event_loop), (main):
13395 Don't block forever for the state change to complete, the
13396 pipeline already did with a sensible timeout.
13398 2005-07-19 Wim Taymans <wim@fluendo.com>
13400 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
13401 Make sure we never call the create function is we
13404 2005-07-19 Andy Wingo <wingo@pobox.com>
13406 * gst/parse/parse.l: Attempt to solve bug #172815.
13408 2005-07-19 Wim Taymans <wim@fluendo.com>
13410 * docs/design/part-clocks.txt:
13411 * docs/design/part-events.txt:
13412 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
13413 Small docs updates.
13414 Only update the seeking values when we are not
13417 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
13419 * gst/base/gstbasesrc.c: (gst_base_src_loop):
13420 Oops, ignore the result of gst_pad_push_event here.
13422 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
13424 * gst/base/gstbasesrc.c: (gst_base_src_loop),
13425 (gst_base_src_activate_push):
13426 Send discont event from the loop function, as pads
13427 aren't activated yet in the activate_push handler.
13429 * gst/gstbin.c: (bin_bus_handler):
13430 Don't leak element name.
13432 2005-07-18 Andy Wingo <wingo@pobox.com>
13434 * configure.ac: Use AS_LIBTOOL_TAGS.
13436 2005-07-18 Wim Taymans <wim@fluendo.com>
13438 * docs/gst/gstreamer.types:
13439 Remove deleted types.
13441 2005-07-18 Wim Taymans <wim@fluendo.com>
13443 * check/elements/gstfakesrc.c: (GST_START_TEST):
13446 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
13447 (init_popt_callback):
13449 * gst/gst_private.h:
13450 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
13451 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
13454 * gst/gstconfig.h.in:
13455 * gst/gstelement.c: (gst_element_class_init),
13456 (gst_element_set_base_time), (gst_element_get_base_time),
13457 (iterator_fold_with_resync), (gst_element_change_state),
13458 (gst_element_dispose), (gst_element_get_bus):
13459 * gst/gstelement.h:
13460 * gst/gstelementfactory.h:
13461 * gst/gsterror.c: (_gst_core_errors_init):
13464 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
13466 * gst/gstinfo.c: (_gst_debug_init):
13467 * gst/gstmessage.c: (_gst_message_copy):
13468 * gst/gstmessage.h:
13469 * gst/gstminiobject.h:
13472 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
13473 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
13476 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
13477 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
13478 (gst_pipeline_get_last_stream_time):
13479 * gst/gstpipeline.h:
13480 * gst/gstpluginfeature.h:
13482 * gst/gstscheduler.c:
13483 * gst/gstscheduler.h:
13484 * gst/gststructure.h:
13485 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
13486 (gst_task_finalize), (gst_task_func), (gst_task_create),
13487 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
13488 (gst_task_stop), (gst_task_pause):
13490 * gst/gsttypefind.h:
13492 * gst/registries/gstlibxmlregistry.c: (load_feature),
13493 (gst_xml_registry_load), (gst_xml_registry_save_feature):
13494 * gst/registries/gstxmlregistry.c:
13495 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
13496 * gst/schedulers/threadscheduler.c:
13497 * libs/gst/control/dparammanager.h:
13498 * tools/gst-inspect.c: (print_element_list),
13499 (print_plugin_features), (print_element_features):
13500 * tools/gst-xmlinspect.c: (print_element_list),
13501 (print_plugin_info), (main):
13502 Removed plugable schedulers.
13503 Removed Scheduler/Manager from elements.
13504 Removed gsttypes.h, rearranged includes.
13505 Removed dependency pad<->element, element<>pipeline, and
13506 various others, fix includes.
13507 implement gst_pad_get_parent() with gst_object_get_parent()
13508 Make GstTask sefcontained.
13509 Fix _get_state() on GstBin, it did not return ASYNC with a 0
13511 Fix endless loop in iterator_fold_with_resync.
13514 2005-07-18 Wim Taymans <wim@fluendo.com>
13520 2005-07-18 Wim Taymans <wim@fluendo.com>
13523 No more cothreads.h
13525 2005-07-18 Wim Taymans <wim@fluendo.com>
13529 Let's remove these.
13531 2005-07-18 Wim Taymans <wim@fluendo.com>
13533 * docs/design/part-dynamic.txt:
13534 * docs/design/part-events.txt:
13535 * docs/design/part-seeking.txt:
13536 Some more docs in the works.
13538 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
13539 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
13540 (gst_base_transform_setcaps), (gst_base_transform_get_size),
13541 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
13542 (gst_base_transform_handle_buffer),
13543 (gst_base_transform_sink_activate_push),
13544 (gst_base_transform_src_activate_pull),
13545 (gst_base_transform_set_passthrough),
13546 (gst_base_transform_is_passthrough):
13549 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
13552 * gst/gstevent.c: (gst_event_finalize):
13555 * gst/gstutils.c: (gst_element_unlink),
13556 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
13557 (gst_pad_proxy_setcaps):
13559 Add _get_parent_element() to get a pads parent as an element.
13561 2005-07-18 Wim Taymans <wim@fluendo.com>
13563 * check/gst/gstbin.c: (GST_START_TEST):
13566 2005-07-18 Wim Taymans <wim@fluendo.com>
13568 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
13569 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
13570 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
13571 (gst_base_sink_event), (gst_base_sink_do_sync),
13572 (gst_base_sink_chain), (gst_base_sink_loop),
13573 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
13574 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
13576 Fix logic for returning ASYNC when not prerolled.
13578 2005-07-18 Wim Taymans <wim@fluendo.com>
13580 * gst/gstqueue.c: (gst_queue_handle_sink_event):
13581 Fix nasty refcount bug.
13583 2005-07-16 Philippe Khalaf <burger@speedy.org>
13585 * gst/elements/gstfdsrc.c:
13586 * gst/elements/gstfdsrc.h:
13587 * gst/elements/gstelements.c:
13588 * gst/elements/Makefile.am:
13589 Ported fdsrc to 0.9.
13591 2005-07-16 Wim Taymans <wim@fluendo.com>
13593 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13594 (gst_base_sink_do_sync):
13597 2005-07-16 Wim Taymans <wim@fluendo.com>
13599 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13600 (gst_base_sink_event), (gst_base_sink_get_times),
13601 (gst_base_sink_do_sync), (gst_base_sink_change_state):
13602 * gst/base/gstbasesink.h:
13603 Store and use discont values when syncing buffers as described
13606 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
13607 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
13608 (gst_base_src_activate_push):
13609 Push discont event when starting.
13611 * gst/elements/gstidentity.c: (gst_identity_transform):
13614 * gst/gstbin.c: (gst_bin_change_state):
13615 Small cleanups in base_time distribution.
13617 * gst/gstelement.c: (gst_element_set_base_time),
13618 (gst_element_get_base_time), (gst_element_change_state):
13619 * gst/gstelement.h:
13620 Added methods for the base_time of the element.
13623 * gst/gstpipeline.c: (gst_pipeline_send_event),
13624 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
13625 (gst_pipeline_get_last_stream_time):
13626 * gst/gstpipeline.h:
13628 Handle seeking as described in design doc, remove stream_time
13630 Cleanups clock and stream_time selection code. Added accessors
13631 for the stream_time.
13634 2005-07-16 Andy Wingo <wingo@pobox.com>
13636 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
13639 2005-07-16 Wim Taymans <wim@fluendo.com>
13641 * check/gst/gstbin.c: (GST_START_TEST):
13642 Make elements silent as the deep_notify refs the
13643 parent, which might make the test fail.
13645 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
13646 Don't hold the lock for too long.
13648 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
13650 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
13651 Don't unref the caps we passed to gst_caps_make_writable() after
13652 passing them. gst_caps_make_writable() will do that for us.
13654 2005-07-15 Andy Wingo <wingo@pobox.com>
13656 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
13659 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
13660 own marshalling function for the handoff signal. Properly type the
13661 buffer as a buffer. Fixes some warnings. Should do a more general
13663 (gst_identity_class_init): Plug into the right marshaller.
13665 2005-07-15 Wim Taymans <wim@fluendo.com>
13667 * docs/design/part-TODO.txt:
13668 * docs/design/part-clocks.txt:
13669 * docs/design/part-element-sink.txt:
13670 * docs/design/part-events.txt:
13671 * docs/design/part-gstpipeline.txt:
13672 Updated docs, mostly DISCONT related.
13674 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
13676 * docs/pwg/building-pads.xml:
13677 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
13679 2005-07-15 Andy Wingo <wingo@pobox.com>
13681 * tools/gst-typefind.c: Update, add copyright block.
13683 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
13684 Normalize and truncate caps before fixation.
13687 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
13688 discards all but the first structure from its argument.
13690 2005-07-15 Wim Taymans <wim@fluendo.com>
13692 * gst/base/gstbasetransform.c: (gst_base_transform_init),
13693 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
13694 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
13695 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
13696 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
13697 (gst_base_transform_chain), (gst_base_transform_change_state),
13698 (gst_base_transform_set_passthrough),
13699 (gst_base_transform_is_passthrough):
13700 * gst/base/gstbasetransform.h:
13701 Make passthrough work using the bufferpools.
13702 Changed API a bit, subclasses have to write into a buffer
13703 provided by the base class.
13704 More debug info in nego functions.
13706 * gst/elements/gstidentity.c: (gst_identity_init),
13707 (gst_identity_transform):
13708 Port to new base class.
13710 2005-07-15 Wim Taymans <wim@fluendo.com>
13712 * gst/gstmessage.c: (gst_message_new_state_changed):
13713 * tools/gst-launch.c: (event_loop), (main):
13714 Totally dump messages in -launch with the -m option.
13715 Fix message name for State messages,
13717 2005-07-14 Wim Taymans <wim@fluendo.com>
13719 * gst/base/gstbasesrc.c: (gst_base_src_loop):
13720 Post error messages on errors.
13722 2005-07-14 Wim Taymans <wim@fluendo.com>
13724 * gst/gstcaps.c: (gst_caps_do_simplify):
13728 Define error for stream stopped.
13730 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
13731 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
13732 Do proper return values.
13734 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
13735 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
13736 (gst_pad_get_range):
13737 Better return values.
13740 Reorganise return values, add macro to check for fatal errors.
13742 * gst/gstqueue.c: (gst_queue_chain):
13743 Return proper GstFlowReturn values,
13745 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
13747 * docs/gst/gstreamer-sections.txt:
13748 * docs/gst/gstreamer.types:
13749 * docs/gst/tmpl/gst.sgml:
13750 * docs/gst/tmpl/gstbasesink.sgml:
13751 * docs/gst/tmpl/gstbasesrc.sgml:
13752 * docs/gst/tmpl/gstbasetransform.sgml:
13753 * docs/gst/tmpl/gstbin.sgml:
13754 * docs/gst/tmpl/gstbuffer.sgml:
13755 * docs/gst/tmpl/gstcaps.sgml:
13756 * docs/gst/tmpl/gstclock.sgml:
13757 * docs/gst/tmpl/gstcompat.sgml:
13758 * docs/gst/tmpl/gstconfig.sgml:
13759 * docs/gst/tmpl/gstelement.sgml:
13760 * docs/gst/tmpl/gstelementdetails.sgml:
13761 * docs/gst/tmpl/gstelementfactory.sgml:
13762 * docs/gst/tmpl/gstenumtypes.sgml:
13763 * docs/gst/tmpl/gsterror.sgml:
13764 * docs/gst/tmpl/gstevent.sgml:
13765 * docs/gst/tmpl/gstfakesink.sgml:
13766 * docs/gst/tmpl/gstfakesrc.sgml:
13767 * docs/gst/tmpl/gstfilesink.sgml:
13768 * docs/gst/tmpl/gstfilesrc.sgml:
13769 * docs/gst/tmpl/gstfilter.sgml:
13770 * docs/gst/tmpl/gstformat.sgml:
13771 * docs/gst/tmpl/gstghostpad.sgml:
13772 * docs/gst/tmpl/gstimplementsinterface.sgml:
13773 * docs/gst/tmpl/gstindex.sgml:
13774 * docs/gst/tmpl/gstindexfactory.sgml:
13775 * docs/gst/tmpl/gstinfo.sgml:
13776 * docs/gst/tmpl/gstiterator.sgml:
13777 * docs/gst/tmpl/gstmacros.sgml:
13778 * docs/gst/tmpl/gstmemchunk.sgml:
13779 * docs/gst/tmpl/gstminiobject.sgml:
13780 * docs/gst/tmpl/gstobject.sgml:
13781 * docs/gst/tmpl/gstpad.sgml:
13782 * docs/gst/tmpl/gstpadtemplate.sgml:
13783 * docs/gst/tmpl/gstparse.sgml:
13784 * docs/gst/tmpl/gstpipeline.sgml:
13785 * docs/gst/tmpl/gstplugin.sgml:
13786 * docs/gst/tmpl/gstpluginfeature.sgml:
13787 * docs/gst/tmpl/gstquery.sgml:
13788 * docs/gst/tmpl/gstqueue.sgml:
13789 * docs/gst/tmpl/gstregistry.sgml:
13790 * docs/gst/tmpl/gstregistrypool.sgml:
13791 * docs/gst/tmpl/gstscheduler.sgml:
13792 * docs/gst/tmpl/gstschedulerfactory.sgml:
13793 * docs/gst/tmpl/gststructure.sgml:
13794 * docs/gst/tmpl/gstsystemclock.sgml:
13795 * docs/gst/tmpl/gsttaglist.sgml:
13796 * docs/gst/tmpl/gsttagsetter.sgml:
13797 * docs/gst/tmpl/gsttrace.sgml:
13798 * docs/gst/tmpl/gsttrashstack.sgml:
13799 * docs/gst/tmpl/gsttypefind.sgml:
13800 * docs/gst/tmpl/gsttypefindfactory.sgml:
13801 * docs/gst/tmpl/gsttypes.sgml:
13802 * docs/gst/tmpl/gsturihandler.sgml:
13803 * docs/gst/tmpl/gsturitype.sgml:
13804 * docs/gst/tmpl/gstutils.sgml:
13805 * docs/gst/tmpl/gstvalue.sgml:
13806 * docs/gst/tmpl/gstversion.sgml:
13807 * docs/gst/tmpl/gstxml.sgml:
13808 * docs/libs/tmpl/gstcontrol.sgml:
13809 * docs/libs/tmpl/gstdataprotocol.sgml:
13810 * docs/libs/tmpl/gstdparam.sgml:
13811 * docs/libs/tmpl/gstdplinint.sgml:
13812 * docs/libs/tmpl/gstdpman.sgml:
13813 * docs/libs/tmpl/gstdpsmooth.sgml:
13814 * docs/libs/tmpl/gstgetbits.sgml:
13815 * docs/libs/tmpl/gstunitconvert.sgml:
13816 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
13817 (gst_push_src_base_init), (gst_push_src_class_init),
13818 (gst_push_src_init), (gst_push_src_create):
13819 * gst/base/gstpushsrc.h:
13820 * gst/elements/gstelements.c:
13821 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
13822 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
13823 (gst_fake_sink_init), (gst_fake_sink_set_property),
13824 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
13825 (gst_fake_sink_event), (gst_fake_sink_preroll),
13826 (gst_fake_sink_render), (gst_fake_sink_change_state):
13827 * gst/elements/gstfakesink.h:
13828 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
13829 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
13830 (gst_fake_src_base_init), (gst_fake_src_class_init),
13831 (gst_fake_src_init), (gst_fake_src_event_handler),
13832 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
13833 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
13834 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
13835 (gst_fake_src_create_buffer), (gst_fake_src_create),
13836 (gst_fake_src_start), (gst_fake_src_stop):
13837 * gst/elements/gstfakesrc.h:
13838 * gst/elements/gstfilesink.c: (_do_init),
13839 (gst_file_sink_base_init), (gst_file_sink_class_init),
13840 (gst_file_sink_init), (gst_file_sink_dispose),
13841 (gst_file_sink_set_location), (gst_file_sink_set_property),
13842 (gst_file_sink_get_property), (gst_file_sink_open_file),
13843 (gst_file_sink_close_file), (gst_file_sink_query),
13844 (gst_file_sink_event), (gst_file_sink_render),
13845 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
13846 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
13847 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
13848 * gst/elements/gstfilesink.h:
13849 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
13850 (gst_file_src_class_init), (gst_file_src_init),
13851 (gst_file_src_finalize), (gst_file_src_set_location),
13852 (gst_file_src_set_property), (gst_file_src_get_property),
13853 (gst_file_src_map_region), (gst_file_src_map_small_region),
13854 (gst_file_src_create_mmap), (gst_file_src_create_read),
13855 (gst_file_src_create), (gst_file_src_is_seekable),
13856 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
13857 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
13858 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
13859 (gst_file_src_uri_handler_init):
13860 * gst/elements/gstfilesrc.h:
13861 more autistic cleanliness in functions/names/defines
13863 2005-07-13 Andy Wingo <wingo@pobox.com>
13865 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
13866 source couldn't negotiate.
13868 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
13872 * gst/gstutils.c (gst_element_link_pads_filtered): New old
13873 function. I am channeling Hades. Put your boots on suckers!!!
13875 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13877 * testsuite/caps/Makefile.am:
13878 * testsuite/caps/value_compare.c:
13879 * testsuite/caps/value_intersect.c:
13880 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13881 move two testsuite apps over to the check dir
13883 2005-07-12 Wim Taymans <wim@fluendo.com>
13885 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13886 Added more debug info in the negotiate process.
13888 * gst/gstmessage.h:
13889 Prepare for segment playback.
13891 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
13897 * tools/gst-launch.c: (main):
13898 NULL pipeline on errors.
13900 2005-07-12 Andy Wingo <wingo@pobox.com>
13902 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
13903 not it comes from a malloc region. Make sure our copy gets freed.
13905 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
13907 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
13908 * check/gst/gstmessage.c: (GST_START_TEST):
13909 * check/gst/gststructure.c: (GST_START_TEST),
13910 (gst_structure_suite), (main):
13912 * gst/gstelement.c: (gst_element_message_full):
13913 clean up GError and debug string now that they get copied
13914 * gst/gstmessage.c: (gst_message_new_error),
13915 (gst_message_new_warning), (gst_message_parse_error),
13916 (gst_message_parse_warning):
13917 use GST_TYPE_G_ERROR for structure_new, and take copies of
13918 arguments, so that we don't mess up refcounting
13920 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
13922 * check/Makefile.am:
13923 add per-test valgrind targets
13924 * check/gst-libs/gdp.c: (GST_START_TEST),
13925 (gst_data_protocol_suite), (main):
13928 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
13930 * check/Makefile.am:
13931 instate more valgrindable tests
13932 * check/elements/gstfakesrc.c: (chain_func), (event_func),
13933 (GST_START_TEST), (fakesrc_suite):
13934 * check/gst/gstpad.c: (GST_START_TEST):
13935 * check/gst/gststructure.c: (GST_START_TEST):
13937 * docs/gst/tmpl/gstminiobject.sgml:
13938 * gst/gstpad.c: (gst_pad_finalize):
13939 fix the static mutex leak
13941 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
13943 * check/Makefile.am:
13944 add two more tests for valgrinding
13945 * check/gst/gstvalue.c: (GST_START_TEST):
13946 test refcount of deserialized buffer, found a leak
13947 * docs/gst/gstreamer-docs.sgml:
13948 * docs/gst/gstreamer-sections.txt:
13949 * docs/gst/gstreamer.types:
13950 * docs/gst/tmpl/gstminiobject.sgml:
13951 add miniobject to docs
13952 * gst/gstminiobject.c:
13954 * gst/gstvalue.c: (gst_value_deserialize_buffer),
13955 (gst_string_unwrap):
13956 fix a hard-to-find invalid write for one of the tests
13957 fix a leak for deserialized buffers
13959 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13961 * docs/pwg/advanced-events.xml:
13962 * docs/pwg/advanced-request.xml:
13963 * docs/pwg/advanced-scheduling.xml:
13964 * docs/pwg/appendix-porting.xml:
13965 * docs/pwg/building-boiler.xml:
13966 * docs/pwg/intro-preface.xml:
13967 * docs/pwg/other-ntoone.xml:
13968 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
13969 of example code and explanation for pad activation, loop() and
13970 getrange() functions and a bit more. Remove old comments pointing
13972 * examples/pwg/Makefile.am:
13973 Add loop/getrange examples.
13975 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
13978 check for valgrind binary + some fixes
13980 valgrind suppressions for the tests
13981 * check/Makefile.am:
13982 add a valgrind: target that valgrinds the unit tests
13983 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
13984 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
13985 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
13986 * check/gst/gstghostpad.c:
13988 * check/gst/gstdata.c:
13990 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
13991 (thread_unref), (gst_mini_object_suite), (main):
13993 * gst/gst.c: (gst_deinit):
13995 add a method to clean up.
13996 * gst/gstsystemclock.c: (gst_system_clock_dispose),
13997 (gst_system_clock_obtain):
13998 allow for disposing the system clock.
13999 * tools/gst-launch.c: (main):
14002 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
14004 * docs/gst/tmpl/gstbasesrc.sgml:
14005 * docs/gst/tmpl/gstfakesrc.sgml:
14006 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14007 (gst_base_src_init), (gst_base_src_set_property),
14008 (gst_base_src_get_property), (gst_base_src_get_range),
14009 (gst_base_src_start):
14010 * gst/base/gstbasesrc.h:
14011 add num-buffers property
14012 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
14013 (gst_fakesrc_init), (gst_fakesrc_set_property),
14014 (gst_fakesrc_get_property), (gst_fakesrc_create),
14015 (gst_fakesrc_start):
14016 remove num-buffers property
14018 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
14020 * docs/gst/gstreamer-sections.txt:
14021 * docs/gst/tmpl/gstbasesink.sgml:
14022 * docs/gst/tmpl/gstbasesrc.sgml:
14023 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
14024 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
14025 (gst_base_sink_finalize), (gst_base_sink_set_clock),
14026 (gst_base_sink_set_property), (gst_base_sink_get_property),
14027 (gst_base_sink_handle_object), (gst_base_sink_event),
14028 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
14029 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
14030 (gst_base_sink_loop), (gst_base_sink_deactivate),
14031 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
14032 (gst_base_sink_change_state):
14033 * gst/base/gstbasesink.h:
14034 * gst/base/gstbasesrc.h:
14035 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
14036 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
14037 (gst_filesink_init):
14038 more macro splitting
14040 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
14042 * gst/gstelement.c: (gst_element_get_bus):
14044 * tools/gst-launch.c: (check_intr), (event_loop):
14047 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
14049 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
14052 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
14054 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14055 (gst_base_src_finalize):
14056 add finalize method and clean up properly
14057 * gst/gstpipeline.c: (gst_pipeline_dispose):
14060 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
14062 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
14064 add more things to check
14065 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
14066 * gst/gstelement.c:
14069 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
14071 * check/elements/gstfakesrc.c: (chain_func), (event_func),
14072 (GST_START_TEST), (fakesrc_suite):
14073 * check/gst-libs/gdp.c: (GST_START_TEST):
14074 * check/gst/gst.c: (GST_START_TEST):
14075 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
14076 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14077 * check/gst/gstbus.c: (GST_START_TEST):
14078 * check/gst/gstcaps.c: (GST_START_TEST):
14079 * check/gst/gstdata.c: (GST_START_TEST):
14080 * check/gst/gstelement.c: (GST_START_TEST):
14081 * check/gst/gstghostpad.c: (GST_START_TEST):
14082 * check/gst/gstiterator.c: (GST_START_TEST):
14083 * check/gst/gstmessage.c: (GST_START_TEST):
14084 * check/gst/gstobject.c: (GST_START_TEST):
14085 * check/gst/gstpad.c: (GST_START_TEST):
14086 * check/gst/gststructure.c: (GST_START_TEST):
14087 * check/gst/gstsystemclock.c: (GST_START_TEST),
14088 (gst_systemclock_suite):
14089 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
14090 * check/gst/gstvalue.c: (GST_START_TEST):
14091 * check/pipelines/cleanup.c: (GST_START_TEST):
14092 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
14093 * check/states/sinks.c: (GST_START_TEST):
14094 * check/gstcheck.c: (gst_check_init):
14095 * check/gstcheck.h:
14096 add debugging category
14097 use GST_START_TEST now, so we add a debug line
14099 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
14101 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
14102 add test for state change message on a bin
14103 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
14105 * gst/gstbin.c: (gst_bin_init):
14106 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
14107 * gst/gstelement.c: (gst_element_post_message),
14108 (gst_element_set_state):
14109 * gst/gstelementfactory.c: (gst_element_factory_create):
14110 * gst/gstmessage.c: (gst_message_new):
14111 * gst/gstscheduler.c:
14112 various debugging additions and cleanups
14114 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
14116 * check/Makefile.am:
14117 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
14119 adding tests for elements
14120 * gst/gstelement.c: (gst_element_dispose):
14122 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
14124 * gst/registries/gstlibxmlregistry.c: (load_feature):
14125 plug more leaks. A simple gst_init() now is leakfree, yay.
14127 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
14129 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
14130 (gst_xml_registry_load):
14131 plug another memleak
14133 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
14136 use GST_SET_ERROR_CFLAGS
14137 * docs/faq/cvs.xml:
14138 change to ERROR_CFLAGS
14140 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
14143 make GST_ERROR_CFLAGS overridable and re-enable Werror
14144 * docs/faq/cvs.xml:
14145 add a note about error CFLAGS
14146 * docs/gst/tmpl/gstfakesrc.sgml:
14147 * gst/elements/gstfakesrc.c:
14148 comment out some unused code
14149 * gst/gst.c: (split_and_iterate):
14150 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
14154 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
14156 * common/Makefile.am:
14157 * common/gtk-doc.mak:
14158 * docs/gst/Makefile.am:
14159 factor out gtk-doc.mak
14161 2005-07-07 Wim Taymans <wim@fluendo.com>
14163 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
14164 (gst_thread_scheduler_dispose):
14165 Unlock the STREAM_LOCK completely.
14167 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
14169 * check/Makefile.am:
14170 * check/elements/.cvsignore:
14171 * check/elements/gstfakesrc.c: (chain_func), (event_func),
14172 (START_TEST), (fakesrc_suite), (main):
14173 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
14174 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
14175 (gst_fakesrc_create), (gst_fakesrc_start):
14176 * gst/elements/gstfakesrc.h:
14177 adding a first element test
14179 2005-07-07 Andy Wingo <wingo@pobox.com>
14181 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
14184 2005-07-07 Wim Taymans <wim@fluendo.com>
14190 2005-07-07 Wim Taymans <wim@fluendo.com>
14192 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
14193 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
14194 Allow subclasses to implement their own negotiation.
14196 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
14198 * docs/design/part-gstbin.txt:
14199 * docs/design/part-gstpipeline.txt:
14200 Update design notes to reflect the movement of
14201 responsibility for bus handling from GstPipeline to
14204 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
14207 Remove unnecessary queue2/3/4 examples.
14209 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
14211 * examples/Makefile.am:
14212 * examples/helloworld/helloworld.c: (event_loop), (main):
14213 * examples/queue/queue.c: (event_loop), (main):
14214 * examples/queue2/queue2.c: (main):
14215 Update a couple of the examples to work again.
14217 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
14218 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
14219 Spelling corrections and extra debug.
14221 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
14222 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
14223 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
14225 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
14226 (gst_pipeline_change_state):
14227 * gst/gstpipeline.h:
14228 Move the bus handler for children to the GstBin, and create a
14229 separate bus for receiving messages from children to the one the
14230 bus sends 'upwards' on.
14232 2005-07-06 Wim Taymans <wim@fluendo.com>
14235 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
14236 (gst_base_sink_handle_object), (gst_base_sink_loop),
14237 (gst_base_sink_change_state):
14238 * gst/base/gstbasesink.h:
14239 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14240 (gst_base_src_init), (gst_base_src_setcaps),
14241 (gst_base_src_getcaps), (gst_base_src_loop),
14242 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
14243 (gst_base_src_start), (gst_base_src_change_state):
14244 * gst/base/gstbasesrc.h:
14245 Make basesrc negotiate.
14246 Handle the case where preroll fails in basesink.
14249 2005-07-06 Wim Taymans <wim@fluendo.com>
14251 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
14252 Implement the fixate function.
14253 Clean up acceptcaps.
14255 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14257 * docs/pwg/building-filterfactory.xml:
14258 * docs/pwg/pwg.xml:
14259 Remove never-written filter-factory chapter; I'll add the various
14260 base classes to part 4 ("other element types") later on.
14262 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14264 * docs/pwg/advanced-negotiation.xml:
14265 * docs/pwg/building-boiler.xml:
14266 * docs/pwg/building-pads.xml:
14267 * docs/pwg/pwg.xml:
14268 * examples/pwg/Makefile.am:
14269 Add a chapter on caps negotiation, simplify the original code
14270 samples a bit w.r.t. caps negotiation, add link to the advanced
14271 section. Add a bunch of examples showing different use cases of
14272 different types of caps negotiation. Upstream renegotiation isn't
14273 fully documented yet since nobody knows how that works.
14275 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
14277 * check/gst/gstpad.c:
14278 * check/gstcheck.c:
14279 * gst/gstpad.c: (gst_pad_get_internal_links_default):
14280 if pad has no parent, return NULL as list of internal links
14282 2005-07-05 Andy Wingo <wingo@pobox.com>
14284 * gst/elements/gstfilesrc.c:
14285 * gst/elements/gstfakesrc.c:
14286 * gst/base/gstpushsrc.c:
14287 * gst/base/gstbasesrc.h:
14288 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
14290 2005-07-05 Stefan Kost <ensonic@users.sf.net>
14293 better report generation target (lcov needs a patch)
14295 2005-07-05 Andy Wingo <wingo@pobox.com>
14297 * gst/elements, testsuite: Null if we got it...
14299 2005-07-05 Wim Taymans <wim@fluendo.com>
14302 * libs/gst/dataprotocol/Makefile.am:
14303 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
14304 * libs/gst/dataprotocol/dataprotocol.h:
14305 * pkgconfig/Makefile.am:
14306 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
14307 * pkgconfig/gstreamer-dataprotocol.pc.in:
14308 Ported dataprotol to 0.9.
14309 Added pkgconfig files.
14311 2005-07-05 Andy Wingo <wingo@pobox.com>
14313 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
14314 Default to returning TRUE for the case when tranform_caps returns
14315 a fixed caps, like for identity or volume.
14317 * check/gst/gstbus.c (pound_bus_with_messages):
14318 * check/gst/gstmessage.c (START_TEST):
14319 * check/pipelines/simple_launch_lines.c (got_handoff): Application
14320 message API change.
14322 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
14323 logic weaks here: always run transform_caps, trying passthrough
14324 operation only if the original caps intersects with the transform.
14326 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
14327 source and sink caps.
14329 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
14330 Intersect the peer caps with the pad template before going into
14332 (gst_base_transform_transform_caps): More debugging.
14334 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
14337 2005-07-04 Edward Hervey <edward@fluendo.com>
14341 (gst_pad_add_*_probe): now returns the signal id for better wrapping
14344 2005-07-04 Andy Wingo <wingo@pobox.com>
14346 * check/gst/gstpad.c: Only set explicit caps on pads.
14348 2005-07-01 Andy Wingo <wingo@pobox.com>
14350 * tests/network-clock.scm: Commentary update.
14352 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
14353 Didn't really make sense, not implementable with basetransform,
14355 (gst_identity_transform): Unref inbuf via make_writable. Feeble
14356 attempt at implementing the sync property, needs an unlock method.
14358 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
14359 New func, by default returns the same caps (the identity
14361 (gst_base_transform_getcaps): Uses transform_caps to return
14362 something sensible.
14363 (gst_base_transform_setcaps): Complicated logic to get caps on
14364 both pads, even if they are different, and to call set_caps once
14365 for every time both pads get their caps set.
14366 (gst_base_transform_handle_buffer): Give the ref to the transform
14367 function. Allows in-place modification of the buffer.
14369 * gst/base/gstbasetransform.h (transform_caps): New class method.
14370 Given caps on one side, what can I do on the other.
14371 (set_caps): Take two caps, one for each side of the element.
14374 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
14375 caps in place. This is safe because we can check the mutability of
14376 the caps, and a good idea because fixate functions are just called
14377 as a matter of last resort. (Not actually implemented.)
14378 (gst_pad_set_caps): If the caps we're setting is actually the same
14379 as the existing pad caps, just update the pointer without calling
14380 setcaps. Assert that caps is either NULL or fixed, as per the
14383 * gst/gstghostpad.c: Update for fixate changes.
14385 2005-07-02 Andy Wingo <wingo@pobox.com>
14388 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
14389 two refcounts makes it immutable, which is enough. Doc more.
14391 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
14393 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
14394 Put the mini_object into GValue as a mini_object,
14395 not a gpointer, since that's how we declared
14398 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14400 * examples/pwg/Makefile.am:
14401 Fix buildbot again.
14403 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14405 * docs/pwg/building-testapp.xml:
14407 * examples/pwg/Makefile.am:
14410 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14413 * examples/Makefile.am:
14414 * examples/pwg/Makefile.am:
14415 * examples/pwg/extract.pl:
14416 Enable building the PWG examples.
14417 * docs/pwg/advanced-interfaces.xml:
14418 Add URI interface stub.
14419 * docs/pwg/advanced-types.xml:
14420 * docs/pwg/other-autoplugger.xml:
14421 * docs/pwg/appendix-porting.xml:
14422 * docs/pwg/pwg.xml:
14423 Add porting guide (mostly stubs), remove autoplugging (see ADM).
14424 * docs/pwg/building-boiler.xml:
14425 * docs/pwg/building-chainfn.xml:
14426 * docs/pwg/building-pads.xml:
14427 * docs/pwg/building-props.xml:
14428 * docs/pwg/building-state.xml:
14429 * docs/pwg/building-testapp.xml:
14430 Update the building-*.xml parts for 0.9 changes. All examples
14431 code blocks compile in examples/pwg/*.
14433 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14435 * docs/manual/advanced-autoplugging.xml:
14436 * docs/manual/appendix-checklist.xml:
14437 * docs/manual/appendix-integration.xml:
14438 * docs/manual/highlevel-components.xml:
14439 Fix playbin/decodebin examples, update docs a bit, mention bus
14440 instead of signals in various places, mention kmplayer and
14441 kaffeine since they have a working GStreamer backend in the KDE
14444 2005-06-30 Wim Taymans <wim@fluendo.com>
14447 * docs/design/draft-ghostpads.txt:
14448 * docs/design/draft-push-pull.txt:
14449 * docs/design/draft-query.txt:
14450 * docs/design/part-TODO.txt:
14451 * docs/design/part-query.txt:
14452 Added CHANGES-0.9 doc, updated status of other docs.
14457 2005-06-30 Wim Taymans <wim@fluendo.com>
14459 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
14460 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
14461 (gst_base_sink_change_state):
14462 * gst/base/gstbasesink.h:
14463 Some tweaks, only EOS and a buffer complete a preroll.
14465 2005-06-30 Andy Wingo <wingo@pobox.com>
14467 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
14468 activate_push down to the internal pad as well.
14470 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
14472 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14474 * gst/gsttaginterface.c:
14475 Some documentation fixes (#307394 and #307397).
14477 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
14479 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14481 * gst/gstvalue.c: (gst_value_intersect_list):
14482 Fix memleak (#309125).
14484 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14486 * docs/manual/advanced-dataaccess.xml:
14487 Fix fakesrc example to compile; doesn't work, bug somewhere...?
14488 * docs/manual/basics-pads.xml:
14489 Add reference for filtered caps to above chapter.
14491 2005-06-30 Wim Taymans <wim@fluendo.com>
14493 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
14494 (gst_bin_change_state):
14496 Lame attempt at making the state change function a bit
14499 2005-06-30 Wim Taymans <wim@fluendo.com>
14501 * docs/design/part-clocks.txt:
14502 * docs/design/part-element-sink.txt:
14503 * docs/design/part-events.txt:
14504 * docs/design/part-preroll.txt:
14505 * docs/design/part-states.txt:
14506 Some more tweeks and additions to the docs.
14508 2005-06-30 Wim Taymans <wim@fluendo.com>
14510 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
14511 (default_have_data), (gst_pad_class_init), (gst_pad_init),
14512 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
14513 (gst_pad_check_pull_range), (gst_pad_get_range),
14514 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
14516 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
14517 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
14518 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
14519 (gst_pad_remove_buffer_probe):
14520 Removed atomic operations, use existing LOCK.
14521 Move exception handling out of main code path.
14523 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14525 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
14526 (silly_return_true_function), (gst_pad_class_init),
14527 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
14528 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
14529 (gst_pad_send_event):
14530 Fix accumulator, add default value by using _emitv() instead
14531 of _emit() for signal emission.
14533 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14535 * docs/manual/advanced-dataaccess.xml:
14536 * examples/manual/Makefile.am:
14538 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
14541 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
14543 * gst/elements/gstfilesink.c: (gst_filesink_render):
14544 Simplify code so that we don't have to handle short
14545 writes and return GST_FLOW_ERROR if an error occured.
14547 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14549 * docs/gst/gstreamer-docs.sgml:
14550 Remove probes more.
14552 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14554 * docs/gst/gstreamer-sections.txt:
14555 * docs/gst/tmpl/gstpad.sgml:
14556 * docs/gst/tmpl/gstprobe.sgml:
14558 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
14559 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
14560 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
14561 (gst_pad_push_event), (gst_pad_send_event):
14563 * gst/gstutils.c: (gst_pad_add_data_probe),
14564 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
14565 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
14566 (gst_pad_remove_buffer_probe):
14568 Remove old probes, add new g-signal-based probes and some utility
14571 2005-06-29 Edward Hervey <edward@fluendo.com>
14573 * gst/gstelementfactory.c:
14576 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
14577 the definition to the header file.
14579 2005-06-29 Andy Wingo <wingo@pobox.com>
14581 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
14582 plugins from the source directory.
14584 2005-06-29 Wim Taymans <wim@fluendo.com>
14586 * docs/gst/tmpl/gstbuffer.sgml:
14587 * docs/gst/tmpl/gstclock.sgml:
14588 Some fixings for blantently wrong text.
14590 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
14592 * check/Makefile.am:
14593 * gst/gst.c: (add_path_func), (init_pre):
14594 * gst/gstregistry.c: (gst_registry_add_path):
14595 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
14596 only scan the GST_PLUGIN_PATH locations, and not add
14599 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
14601 * docs/gst/gstreamer-sections.txt:
14602 * docs/gst/tmpl/gstbasesrc.sgml:
14603 * gst/gstelement.c:
14604 * gst/gstelement.h:
14609 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14611 * docs/manual/advanced-autoplugging.xml:
14612 Fix autoplugging example.
14614 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14616 * docs/manual/advanced-autoplugging.xml:
14617 * docs/manual/mime-world.fig:
14618 Try to get autoplugging working, fix type detection. Fix text
14619 in hello-world image.
14621 2005-06-29 Wim Taymans <wim@fluendo.com>
14623 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14624 (gst_base_sink_change_state):
14628 map SIGNAL and BROADCAST to the right function.
14631 Remove redundant braces.
14633 * gst/gstpad.c: (gst_pad_set_caps):
14634 Don't call setcaps function when reseting caps to NULL.
14636 * gst/gstsystemclock.c: (gst_system_clock_dispose),
14637 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
14638 (gst_system_clock_id_unschedule):
14639 Use BROADCAST as this is what we do.
14641 2005-06-29 Wim Taymans <wim@fluendo.com>
14643 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14644 We are actually prerolling before commiting the state
14647 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14649 * docs/manual/advanced-clocks.xml:
14650 * docs/manual/advanced-interfaces.xml:
14651 * docs/manual/advanced-metadata.xml:
14652 * docs/manual/advanced-position.xml:
14653 * docs/manual/advanced-schedulers.xml:
14654 * docs/manual/advanced-threads.xml:
14655 * docs/manual/appendix-porting.xml:
14656 * docs/manual/basics-bins.xml:
14657 * docs/manual/basics-bus.xml:
14658 * docs/manual/basics-elements.xml:
14659 * docs/manual/basics-helloworld.xml:
14660 * docs/manual/basics-pads.xml:
14661 * docs/manual/highlevel-components.xml:
14662 * docs/manual/manual.xml:
14663 * docs/manual/thread.fig:
14664 Update (until threads/scheduling) Application Development Manual;
14665 remove GstThread, add GstBus, add simple porting checklist, add
14666 documentation for tag writing, clocks, make all examples until this
14667 part compile and run.
14668 * examples/manual/Makefile.am:
14669 Update from changes to Application Development Manual; add bus
14670 example, remove thread example.
14672 2005-06-28 Wim Taymans <wim@fluendo.com>
14674 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
14675 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
14676 (gst_bus_source_dispatch):
14677 Add debugging messages.
14678 Make internal methods static.
14679 Handle the case where the bus is flushed in the handler.
14681 * gst/gstelement.c: (gst_element_get_bus):
14682 Fix refcount in _get_bus();
14684 * gst/gstpipeline.c: (gst_pipeline_change_state),
14685 (gst_pipeline_get_clock_func):
14686 Clock refcounting fixes.
14687 Handle the case where preroll timed out more gracefully.
14689 * gst/gstsystemclock.c: (gst_system_clock_dispose):
14690 Clean up the internal thread in dispose. This is needed
14691 for subclasses that actually get disposed.
14693 * gst/schedulers/threadscheduler.c:
14694 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
14695 (gst_thread_scheduler_dispose):
14696 Free thread pool in dispose.
14698 2005-06-28 Andy Wingo <wingo@pobox.com>
14700 * tests/network-clock-utils.scm (debug, print-event): New utils.
14702 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
14703 (*packet-loss*): Unified loss probability.
14704 (network-time): Report out-of-band events.
14706 * tests/plot-data: Add support for out-of-band events. Hack it
14707 into this script instead of passing it down the pipe; should fix
14710 2005-06-28 Wim Taymans <wim@fluendo.com>
14712 * docs/gst/gstreamer.types:
14713 * docs/gst/tmpl/gstbasesrc.sgml:
14714 * docs/gst/tmpl/gstpad.sgml:
14717 2005-06-28 Wim Taymans <wim@fluendo.com>
14719 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
14720 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
14721 (gst_proxy_pad_do_fixatecaps):
14722 Correctly proxy the check_pull_range function.
14724 2005-06-28 Andy Wingo <wingo@pobox.com>
14726 * tests/network-clock.scm: Removed need for slib.
14728 2005-06-28 Wim Taymans <wim@fluendo.com>
14730 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
14731 (gst_basesink_preroll_queue_flush):
14732 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
14733 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
14734 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
14735 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
14736 (gst_proxy_pad_set_property):
14739 * gst/gstqueue.c: (gst_queue_init):
14740 The deprecated pad loop function is removed now.
14742 2005-06-28 Andy Wingo <wingo@pobox.com>
14744 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
14745 New parameters, simulate network packet loss.
14747 * tests/network-clock-utils.scm: Initialize the RNG.
14749 2005-06-28 Wim Taymans <wim@fluendo.com>
14751 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
14752 (gst_basesink_event), (gst_basesink_deactivate):
14753 Flushing the preroll queue always needs to unlock the waiters.
14755 2005-06-28 Edward Hervey <edward@fluendo.com>
14757 * gst/gstpipeline.c: (gst_pipeline_send_event):
14758 Wheen a seek was successful on a pipeline, set the stream_time to the
14759 seek offset in order to have a synchronized stream_time.
14761 2005-06-28 Wim Taymans <wim@fluendo.com>
14763 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
14764 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
14765 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
14766 (gst_proxy_pad_do_fixatecaps):
14767 Call wrapper function instead of just calling the function
14768 pointers. This takes care of any locking and whatmore.
14770 2005-06-28 Wim Taymans <wim@fluendo.com>
14772 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
14773 (gst_pad_pull_range):
14775 CONNECTED -> LINKED.
14777 2005-06-28 Andy Wingo <wingo@pobox.com>
14779 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
14780 source-munging commit!!!
14782 * gst/gstobject.c (gst_object_unref, gst_object_ref)
14783 (gst_object_sink): Take gpointer arguments, not GstObject --
14784 avoids casts. Like GLib.
14786 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
14789 2005-06-27 Andy Wingo <wingo@pobox.com>
14791 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
14794 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
14795 returns a sorted copy of the trace list.
14796 (gst_alloc_trace_print_live): New API, only prints traces with
14797 live objects. Sort the list.
14798 (gst_alloc_trace_print_all): Sort the list.
14799 (gst_alloc_trace_print): Align columns.
14801 * gst/elements/gstttypefindelement.c:
14802 * gst/elements/gsttee.c:
14803 * gst/base/gstbasesrc.c:
14804 * gst/base/gstbasesink.c:
14805 * gst/base/gstbasetransform.c:
14806 * gst/gstqueue.c: Adapt for pad activation changes.
14808 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
14810 (gst_pipeline_dispose): Drop ref on sched.
14812 * gst/gstpad.c (gst_pad_init): Set the default activate func.
14813 (gst_pad_activate_default): Push mode by default.
14814 (pre_activate_switch, post_activate_switch): New stubs, things to
14815 do before and after switching activation modes on pads.
14816 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
14817 the pad's activate function to choose which mode to activate.
14818 Shortcut on deactivation and call the right function directly.
14819 (gst_pad_activate_pull): New API, (de)activates a pad in pull
14821 (gst_pad_activate_push): New API, same for push mode.
14822 (gst_pad_set_activate_function)
14823 (gst_pad_set_activatepull_function)
14824 (gst_pad_set_activatepush_function): Setters for new API.
14826 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
14827 Trace all miniobjects.
14828 (gst_mini_object_make_writable): Unref the arg if we copy, like
14829 gst_caps_make_writable.
14831 * gst/gstmessage.c (_gst_message_initialize): No trace init.
14833 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
14834 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
14835 Adapt for new pad API.
14837 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
14839 * gst/gstelement.h:
14840 * gst/gstelement.c (gst_element_iterate_src_pads)
14841 (gst_element_iterate_sink_pads): New API functions.
14843 * gst/gstelement.c (iterator_fold_with_resync): New utility,
14844 should fold into gstiterator.c in some form.
14845 (gst_element_pads_activate): Simplified via use of fold and
14846 delegation of decisions to gstpad->activate.
14848 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
14851 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
14852 class once in init, like gstmessage. Didn't run into this issue
14853 but it seems correct. Don't initialize a trace, gstminiobject does
14856 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
14857 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
14859 (assert_live_count): New util function, uses alloc traces to check
14862 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
14863 To be modified when unlink drops the internal pad.
14865 2005-06-27 Wim Taymans <wim@fluendo.com>
14867 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
14868 (gst_bin_change_state):
14869 Cleanup the get_state() function a little, make sure it
14870 iterates the same set of elements.
14871 Added stub iterate_state_order().
14873 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
14875 * docs/gst/gstreamer-docs.sgml:
14876 * docs/gst/gstreamer-sections.txt:
14877 * docs/gst/gstreamer.types:
14878 * docs/gst/tmpl/gstbasesink.sgml:
14879 * docs/gst/tmpl/gstbasesrc.sgml:
14880 * docs/gst/tmpl/gstbasetransform.sgml:
14881 * docs/gst/tmpl/gstelement.sgml:
14882 * docs/gst/tmpl/gstiterator.sgml:
14883 * gst/base/gstbasesrc.c:
14884 * gst/base/gstbasesrc.h:
14885 * gst/base/gstbasetransform.h:
14886 * gst/gstelement.c:
14887 * gst/gstiterator.h:
14888 adding basetransform and iterator docs
14890 2005-06-27 Andy Wingo <wingo@pobox.com>
14892 * docs/design/part-activation.txt: Notes on how activation should
14893 work -- not quite implemented yet.
14895 2005-06-25 Wim Taymans <wim@fluendo.com>
14897 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
14898 At least get the chain function correct, needs more
14901 2005-06-25 Wim Taymans <wim@fluendo.com>
14903 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
14904 (gst_basesink_handle_object), (gst_basesink_event),
14905 (gst_basesink_do_sync), (gst_basesink_handle_event),
14906 (gst_basesink_change_state):
14908 Right, two problems here: ghostpads don't take locks and
14909 glib _rec_mutex_lock_full() with depth==0 still locks.
14910 Catch illegal locking and g_warn them.
14912 2005-06-25 Wim Taymans <wim@fluendo.com>
14914 * check/states/sinks.c: (START_TEST), (gst_object_suite):
14915 Have to check for completion now...
14917 2005-06-25 Wim Taymans <wim@fluendo.com>
14919 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
14920 (gst_basesink_handle_object), (gst_basesink_event),
14921 (gst_basesink_do_sync), (gst_basesink_handle_event),
14922 (gst_basesink_change_state):
14924 Unlock STREAM_LOCK whatever the recursion was.
14926 2005-06-25 Wim Taymans <wim@fluendo.com>
14928 * gst/base/gstbasesink.c: (gst_basesink_set_property),
14929 (gst_basesink_preroll_queue_empty),
14930 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
14931 (gst_basesink_event), (gst_basesink_do_sync),
14932 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
14933 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
14934 (gst_basesink_change_state):
14935 Reworked the base sink, handle event and buffer serialisation
14936 correctly and removed possible deadlock.
14937 Handle EOS correctly.
14939 2005-06-25 Wim Taymans <wim@fluendo.com>
14941 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
14942 (gst_pipeline_change_state):
14943 * tools/gst-launch.c: (check_intr), (event_loop), (main):
14944 Allow elements to post EOS in the state change function.
14945 Fix up -launch, make it exit the poll loop when the
14946 pipeline actually changed state.
14947 Fix up warning parsing in -launch.
14949 2005-06-25 Wim Taymans <wim@fluendo.com>
14951 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
14952 (gst_tee_sink_activate):
14953 Core takes STREAM_LOCK for us now.
14955 2005-06-25 Wim Taymans <wim@fluendo.com>
14957 * gst/gstelement.c: (gst_element_get_state_func),
14958 (gst_element_set_state):
14959 * gst/gstelement.h:
14960 * gst/gstmessage.c: (gst_message_parse_error),
14961 (gst_message_parse_warning):
14962 Keep track of current target state while performing a state
14963 change so that subclasses can do something interesting.
14964 Fix parsing of warning/error messages when GError is NULL.
14966 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
14968 * docs/gst/Makefile.am:
14969 * docs/gst/gstreamer-docs.sgml:
14970 * docs/gst/gstreamer-sections.txt:
14971 * docs/gst/gstreamer.types:
14972 * docs/gst/tmpl/gstbasesink.sgml:
14973 * docs/gst/tmpl/gstbasesrc.sgml:
14974 * docs/gst/tmpl/gstbin.sgml:
14975 * docs/gst/tmpl/gstcompat.sgml:
14976 * docs/gst/tmpl/gstfakesink.sgml:
14977 * docs/gst/tmpl/gstfakesrc.sgml:
14978 * docs/gst/tmpl/gstfilesink.sgml:
14979 * docs/gst/tmpl/gstfilesrc.sgml:
14980 * docs/gst/tmpl/gstindex.sgml:
14981 * docs/manual/appendix-quotes.xml:
14982 * gst/base/gstbasesrc.h:
14983 * gst/elements/gstfakesrc.h:
14984 * gst/gstmessage.h:
14985 start pulling in base classes and elements in our docs
14987 2005-06-24 Stefan Kost <ensonic@users.sf.net>
14989 * docs/gst/Makefile.am:
14990 * docs/libs/Makefile.am:
14991 fixed make distcheck with gtk-doc 1.3
14993 2005-06-23 Wim Taymans <wim@fluendo.com>
14995 * gst/gstelement.c: (gst_element_get_state_func),
14996 (gst_element_set_state), (gst_element_change_state):
14997 When the state did not change, also report NO_PREROLL
15000 2005-06-23 Wim Taymans <wim@fluendo.com>
15002 * gst/gstpad.c: (gst_pad_event_default):
15003 * gst/gstqueue.c: (gst_queue_loop):
15004 No unsafe task pausing please.
15006 2005-06-23 Wim Taymans <wim@fluendo.com>
15008 * gst/schedulers/threadscheduler.c:
15009 (gst_thread_scheduler_task_start),
15010 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
15011 Ref the task before pushing it on the threadpool. This
15012 makes sure that we have a ref when the threadfunction is
15015 2005-06-23 Andy Wingo <wingo@pobox.com>
15017 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
15018 offset is greater than the file's size.
15020 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
15021 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
15022 * gst/gstobject.c (gst_object_class_init): Make the class lock
15023 recursive. Wim won't let me drop deep_notify. Decodebin works
15024 again, whoopdy doo.
15026 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
15027 internal pad, and hacks accordingly. Doesn't do it on the target
15028 pad because we change its caps. Probably catches all cases of
15030 (gst_ghost_pad_set_property): Connect to notify::caps as
15033 * tests/network-clock.scm (plot-simulation): Pipe data to the
15034 elite python skript.
15036 * tests/network-clock-utils.scm (define-parameter): New macro,
15037 defines a parameter that can be set via the command line.
15038 (set-parameter!, parse-parameter-arguments): Command line args
15041 * tests/plot-data: Simple matplotlib-based plotter, takes input on
15044 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
15046 * gst/elements/gsttypefindelement.c:
15047 (gst_type_find_element_handle_event):
15048 Don't restart typefinding on a discont.
15049 * gst/gstelement.c: (gst_element_set_state):
15050 Debug spelling fix.
15051 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
15052 Allow changing mode of an active pad.
15053 Debug output fixes.
15054 * gst/registries/gstlibxmlregistry.c: (load_feature):
15055 Don't cast a static pad template to a normal pad template.
15057 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
15059 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
15060 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
15061 remove gst_strtoll completely, since it didn't actually do
15062 anything more than what g_ascii_strtoull already does.
15063 check for range errors when deserializing
15064 do a cast for the unsigned cases; but further fixing needs
15065 a decision on what the interpretation of "(int)" and
15066 deserialization should be for values that fall outside the
15067 type's boundaries (ie, refuse, or interpret as casting)
15069 2005-06-23 Wim Taymans <wim@fluendo.com>
15071 * check/Makefile.am:
15072 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
15073 * docs/design/part-live-source.txt:
15074 * docs/design/part-states.txt:
15075 * gst/base/gstbasesrc.c: (gst_basesrc_init),
15076 (gst_basesrc_set_live), (gst_basesrc_is_live),
15077 (gst_basesrc_get_range), (gst_basesrc_activate),
15078 (gst_basesrc_change_state):
15079 * gst/base/gstbasesrc.h:
15080 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
15081 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
15082 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
15083 * gst/gstelement.c: (gst_element_get_state_func),
15084 (gst_element_set_state):
15085 * gst/gstelement.h:
15087 * tools/gst-launch.c: (event_loop), (main):
15088 Added support for live sources and other elements that
15090 Updated design docs, added live-source design doc.
15091 Implemented live source functionality in basesrc
15092 Fix error condition in _bin_get_state()
15093 Implement live source handling in -launch.
15094 Added check for live sources.
15095 Fixed case in GstBin where elements were changed state
15099 2005-06-23 Andy Wingo <wingo@pobox.com>
15101 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
15102 borken refcounting.
15104 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
15105 gst_caps_replace takes care of this for us.
15107 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
15108 gst_pad_set_caps on the target, not just its setcaps() function.
15110 * tests/network-clock.scm:
15111 * tests/network-clock-utils.scm: A network clock simulator.
15112 Something of an algorithmic testbed before doing something in C.
15114 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
15116 * check/Makefile.am:
15117 * check/gst/capslist.h:
15118 copy over from 0.8, and add two with bitmasks specified with
15120 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
15121 add test to parse everything from capslist.h
15122 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
15124 add test for structure deserialization
15125 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
15126 add tests for deserialization of strings to int types
15127 * gst/gststructure.c: (gst_structure_nth_field_name):
15128 * gst/gststructure.h:
15129 add a way to get the name of a field referenced by index
15130 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
15131 instead of checking if the resulting long long lies between
15132 min and max, we check if the long long would fit into
15133 a number of bytes for the final type.
15134 This fixes cases where a string represents 2^32 - 1, which
15135 when cast to int would be the (valid) -1, but is bigger than
15138 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
15140 * gst/parse/grammar.y:
15141 add a log line for type deserialization
15143 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
15145 * check/gst/gstvalue.c: (START_TEST):
15146 * gst/gstvalue.c: (gst_value_deserialize):
15147 return long long, not int, so gint64 deserialization actually
15148 works. Is there any flag that makes the compiler check this ?
15151 2005-06-22 Wim Taymans <wim@fluendo.com>
15154 Added convenience macros for setting buffers in GValue.
15156 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
15158 * check/gst/.cvsignore:
15159 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
15160 add a test deserializing int64, and comment part out because
15163 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
15165 * check/Makefile.am:
15166 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
15167 * testsuite/Makefile.am:
15168 * testsuite/caps/Makefile.am:
15169 * testsuite/caps/value_serialize.c:
15170 * testsuite/test_gst_init.c:
15171 move a value_serialize test over
15173 2005-06-20 Wim Taymans <wim@fluendo.com>
15178 * gst/gstvalue.c: (gst_value_compare_buffer),
15179 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
15180 (gst_value_compare_flags), (gst_value_serialize_flags),
15181 (gst_value_deserialize_flags), (_gst_value_initialize):
15182 Fix serialisation of buffers, they are not boxed types anymore
15184 2005-06-20 Wim Taymans <wim@fluendo.com>
15186 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
15187 Testcase to show error in buffer-on-caps serialisation.
15189 2005-06-20 Andy Wingo <wingo@pobox.com>
15191 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
15192 will be adding to later.
15194 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
15195 if its socks fill with rocks.
15196 (gst_system_clock_obtain): Set the name on object construction.
15197 Avoid double-checked locking.
15199 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
15201 * gst/gsturi.c: (gst_element_make_from_uri):
15202 Fix potential endless loop.
15204 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
15206 * check/Makefile.am:
15208 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
15210 move over from testsuite dir and clean up
15213 * testsuite/Makefile.am:
15214 * testsuite/tags/.cvsignore:
15215 * testsuite/tags/Makefile.am:
15216 * testsuite/tags/merge.c:
15217 remove testsuite/tags
15219 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
15221 * docs/gst/gstreamer-sections.txt:
15222 * docs/gst/tmpl/gstenumtypes.sgml:
15223 * win32/gstenumtypes.c:
15224 clean up documentation build a little
15226 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
15228 * check/gstcheck.h:
15229 add macros for checking refcounts on objects and caps
15230 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
15231 add some more unit tests
15232 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
15233 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
15234 fix leaked refcounts (I hope :)) so unittest works
15238 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
15240 * configure.ac: back to HEAD
15242 === release 0.9.1 ===
15244 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
15250 2005-06-17 Andy Wingo <wingo@pobox.com>
15252 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
15253 assert; it's always possible that the pad gets deactivated in
15254 between the checks in gstpad.c and the implementation. Rely on
15255 finish_preroll() to return a FLUSHING or similar instead of on the
15258 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
15259 clock and post an EOS message if we come out of finish_preroll in
15262 2005-06-16 David Schleef <ds@schleef.org>
15264 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
15265 (gst_capsfilter_set_property): Allow NULL as possible value
15266 for filter_caps property, indicating GST_CAPS_ANY.
15268 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
15270 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
15272 * gst/schedulers/Makefile.am:
15274 * gstreamer.spec.in:
15277 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
15279 * gstreamer.spec.in:
15282 2005-06-08 Andy Wingo <wingo@pobox.com>
15284 * gst/gstutils.c: RPAD fixes all around.
15285 (gst_element_link_pads): Refcounting fixes.
15287 * tools/gst-inspect.c:
15288 * tools/gst-xmlinspect.c:
15290 * gst/base/gsttypefindhelper.c:
15291 * gst/base/gstbasesink.c:
15292 * gst/gstqueue.c: RPAD fixes.
15294 * gst/gstghostpad.h:
15295 * gst/gstghostpad.c: New ghost pad implementation as full proxy
15296 pads. The tricky thing is they provide both source and sink
15297 interfaces, since they proxy the internal pad for the external
15298 pad, and vice versa. Implement with lower-level ProxyPad objects,
15299 with the interior proxy pad as a child of the exterior ghost pad.
15300 Should write a doc on this.
15302 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
15303 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
15306 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
15307 pads are real pads. No ghost pads in this file. Not documenting
15308 the myriad s/RPAD/PAD/ and REALIZE fixes.
15309 (gst_pad_class_init): Add properties for "direction" and
15310 "template". Both are construct-only, so they can't change during
15311 the life of the pad. Fixes properly deriving from GstPad.
15312 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
15313 derived objects, just set properties when creating the objects via
15315 (gst_pad_get_parent): Implement as a function, return NULL if the
15316 parent is not an element.
15317 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
15318 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
15320 * gst/gstobject.c (gst_object_class_init): Make name a construct
15321 property. Don't set it in the object init.
15323 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
15324 with UNKNOWN direction.
15325 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
15326 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
15327 (gst_element_remove_pad): Remove ghost-pad special cases.
15328 (gst_element_pads_activate): Remove rpad cruft.
15330 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
15331 catch the pad's-parent-not-an-element case.
15333 * gst/gst.h: Include gstghostpad.h.
15335 * gst/gst.c (init_post): No more real, ghost pads.
15337 * gst/Makefile.am: Add gstghostpad.[ch].
15339 * check/Makefile.am:
15340 * check/gst/gstbin.c:
15341 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
15342 into a bin creates ghost pads, and that the refcounts are right.
15343 Partly moved from gstbin.c.
15345 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
15347 * check/gst-libs/.cvsignore:
15348 * check/gst/.cvsignore:
15349 * check/pipelines/.cvsignore:
15351 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
15352 (START_TEST), (cleanup_suite), (main):
15353 add some tests related to cleanup after running pipelines
15355 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
15357 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
15358 add a testsuite for GstBuffer
15360 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
15362 * gst/gstminiobject.h:
15363 add defines for accessing the refcount
15365 2005-06-03 Stefan Kost <ensonic@users.sf.net>
15367 * Makefile.am: added support for html unit test coverage reports
15369 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
15371 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
15372 Free existing caps if the capsfilter changes. Add a FIXME about
15373 setting those caps on the pads.
15375 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
15376 Before adding a ghost pad to a parent bin, check that there isn't
15377 already one for the element on the bin. Prevents infinite recursion
15378 when using decodebin in parse pipelines. Andy says he'll rewrite the
15379 way this works anyway, so ignore the hack.
15381 2005-06-02 Andy Wingo <wingo@pobox.com>
15383 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
15384 file size, pass it on to the type find helper.
15386 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
15387 segment_start and segment_end properly according to the seek
15388 method. Segment_end is still a bit flaky because offset can be
15389 negative for CUR and END cases, but it takes -1 as an "unset"
15392 2005-06-02 Wim Taymans <wim@fluendo.com>
15394 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
15395 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
15396 (gst_basesink_activate):
15397 * gst/base/gstbasesink.h:
15398 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
15399 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
15400 (gst_pad_query), (gst_pad_start_task):
15402 * gst/gstqueue.c: (gst_queue_bufferalloc),
15403 (gst_queue_handle_sink_event), (gst_queue_chain):
15404 Bufferalloc: return GstFlowReturn to more accuratly report
15405 why allocation failed.
15407 2005-06-02 Wim Taymans <wim@fluendo.com>
15409 * gst/gstpipeline.c: (gst_pipeline_send_event):
15410 Take snapshot of state without blocking.
15412 2005-06-02 Wim Taymans <wim@fluendo.com>
15414 * docs/design/part-TODO.txt:
15415 * docs/design/part-caps.txt:
15416 * docs/design/part-clocks.txt:
15417 * docs/design/part-negotiation.txt:
15418 * docs/design/part-preroll.txt:
15421 2005-05-30 Wim Taymans <wim@fluendo.com>
15423 * gst/elements/gstidentity.c: (gst_identity_event),
15424 (gst_identity_transform), (gst_identity_get_property):
15425 Protect last_message property as it is accessed from
15428 2005-05-30 Wim Taymans <wim@fluendo.com>
15430 * gst/gstelement.c: (gst_element_init),
15431 (gst_element_pads_activate), (gst_element_change_state):
15432 Slicker pad activation code.
15434 2005-05-30 Wim Taymans <wim@fluendo.com>
15437 * gst/gstelement.h:
15438 * gst/gstelementfactory.h:
15440 Move elementfactory methods to separate .h file.
15442 2005-05-30 Wim Taymans <wim@fluendo.com>
15444 * docs/design/part-overview.txt:
15445 * gst/gstsystemclock.h:
15446 Small typo fixes, doc updates.
15448 2005-05-30 Wim Taymans <wim@fluendo.com>
15450 * gst/gst.c: (gst_init_get_popt_table), (init_post),
15451 (init_popt_callback):
15452 Remove cpu-opt flag.
15454 2005-05-30 Wim Taymans <wim@fluendo.com>
15456 * gst/gstbuffer.c: (gst_subbuffer_finalize),
15457 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
15459 Avoid typechecking in places where not needed.
15460 Added accessor for malloc_data.
15462 2005-05-30 Wim Taymans <wim@fluendo.com>
15464 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
15465 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
15466 (gst_pad_configure_sink), (gst_pad_configure_src),
15467 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
15468 (gst_pad_start_task):
15469 Propagate errors from _set_caps() in configure_src/sink
15470 functions instead of returning TRUE.
15471 FLUSH events can travel up and downstream
15474 2005-05-30 Wim Taymans <wim@fluendo.com>
15476 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
15477 (gst_basesink_activate):
15478 Handle EOS in preroll.
15480 2005-05-30 Wim Taymans <wim@fluendo.com>
15482 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
15483 (gst_queue_loop), (gst_queue_handle_src_event):
15484 Remove old pieces of code
15485 Flushing the queue in an upstream event is a very bad idea.
15487 2005-05-26 Andy Wingo <wingo@pobox.com>
15489 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
15490 gst_value_set_mini_object so as to add a ref on the object (which
15491 will be removed when the value is unset).
15493 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
15494 arg type in ::handoff.
15496 * gst/gstelement.c (gst_element_change_state): Also deactivate
15497 pads in READY->NULL, just in case the element didn't make it to
15498 PAUSED. Wingo tested, Wim approved.
15500 2005-05-26 Wim Taymans <wim@fluendo.com>
15502 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
15503 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
15504 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
15505 A flushing pad cannot be used to alloc_buffer from.
15507 2005-05-26 Wim Taymans <wim@fluendo.com>
15509 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
15510 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
15511 (gst_bus_source_dispatch), (gst_bus_source_finalize),
15512 (gst_bus_create_watch), (gst_bus_add_watch_full):
15514 Implement a real GSource and use g_main_context_wakeup() to
15515 signal new messages instead of the socketpair.
15517 2005-05-25 Wim Taymans <wim@fluendo.com>
15519 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
15520 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
15521 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
15522 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
15523 (gst_pad_send_event), (gst_pad_start_task):
15524 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
15525 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
15526 (gst_queue_sink_activate), (gst_queue_src_activate),
15527 (gst_queue_change_state):
15529 Fix state changes for non sinks. We now change sinks, then elements
15530 with unconnected srcpads, then the rest.
15531 More efficient queue unlocking in flush and state changes.
15532 Set the pad activate mode even if it does not have an activate
15535 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15537 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
15538 Don't go in pull mode for non-seekable sources.
15539 * gst/elements/gsttypefindelement.h:
15540 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
15541 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
15542 (free_entry), (stop_typefinding),
15543 (gst_type_find_element_handle_event), (find_peek),
15544 (gst_type_find_element_chain), (do_pull_typefind),
15545 (gst_type_find_element_change_state):
15546 Allow typefinding (w/o seeking) in push-mode, simplified version
15547 of what was in 0.8.
15548 * gst/gstutils.c: (gst_buffer_join):
15550 gst_buffer_join() from 0.8.
15552 2005-05-25 Wim Taymans <wim@fluendo.com>
15554 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
15555 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
15556 (gst_pad_send_event), (gst_pad_start_task):
15557 Disable attempt at mode switching until it is figured out.
15559 2005-05-25 Wim Taymans <wim@fluendo.com>
15561 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
15562 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
15563 (gst_basesink_finish_preroll), (gst_basesink_chain),
15564 (gst_basesink_loop), (gst_basesink_activate),
15565 (gst_basesink_change_state):
15566 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
15567 (gst_basesrc_get_range), (gst_basesrc_loop),
15568 (gst_basesrc_activate):
15569 * gst/elements/gsttee.c: (gst_tee_sink_activate):
15570 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
15571 (gst_real_pad_init), (gst_real_pad_set_property),
15572 (gst_real_pad_get_property), (gst_pad_set_active),
15573 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
15574 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
15575 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
15576 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
15577 (gst_pad_event_default_dispatch), (gst_pad_event_default),
15578 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
15579 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
15580 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
15581 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
15582 (gst_pad_stop_task):
15584 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
15585 (gst_queue_loop), (gst_queue_src_activate):
15586 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
15587 (gst_task_get_state):
15589 * gst/schedulers/threadscheduler.c:
15590 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
15591 Implement gst_pad_pause/start/stop_task(), take STREAM lock
15593 Remove ACTIVE pad flag, use FLUSHING everywhere
15594 Added _pad_chain(), _pad_get_range() to call chain/getrange
15596 Add locks around IS_FLUSHING when reading.
15597 Take STREAM lock in chain(), get_range() functions so plugins
15598 don't need to take it anymore.
15602 2005-05-25 Wim Taymans <wim@fluendo.com>
15604 * tools/gst-launch.c: (event_loop):
15605 Unref message after using its contents instead of
15608 2005-05-24 Wim Taymans <wim@fluendo.com>
15610 * docs/design/draft-ghostpads.txt:
15611 * docs/design/draft-push-pull.txt:
15612 * docs/design/draft-query.txt:
15613 * docs/design/part-overview.txt:
15614 Docs updates, added general overview doc.
15616 2005-05-21 David Schleef <ds@schleef.org>
15618 * docs/gst/tmpl/old/GstBin.sgml:
15619 * docs/gst/tmpl/old/GstBuffer.sgml:
15620 * docs/gst/tmpl/old/GstCaps.sgml:
15621 * docs/gst/tmpl/old/GstClock.sgml:
15622 * docs/gst/tmpl/old/GstCompat.sgml:
15623 * docs/gst/tmpl/old/GstData.sgml:
15624 * docs/gst/tmpl/old/GstElement.sgml:
15625 * docs/gst/tmpl/old/GstEvent.sgml:
15626 * docs/gst/tmpl/old/GstIndex.sgml:
15627 * docs/gst/tmpl/old/GstStructure.sgml:
15628 * docs/gst/tmpl/old/GstTag.sgml:
15629 * docs/gst/tmpl/old/cothreads.sgml:
15630 * docs/gst/tmpl/old/cothreads_compat.sgml:
15631 * docs/gst/tmpl/old/gettext.sgml:
15632 * docs/gst/tmpl/old/gobject2gtk.sgml:
15633 * docs/gst/tmpl/old/grammar.tab.sgml:
15634 * docs/gst/tmpl/old/gst-i18n-app.sgml:
15635 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
15636 * docs/gst/tmpl/old/gst_private.sgml:
15637 * docs/gst/tmpl/old/gstaggregator.sgml:
15638 * docs/gst/tmpl/old/gstarch.sgml:
15639 * docs/gst/tmpl/old/gstatomic_impl.sgml:
15640 * docs/gst/tmpl/old/gstbufferstore.sgml:
15641 * docs/gst/tmpl/old/gstdata_private.sgml:
15642 * docs/gst/tmpl/old/gstdisksink.sgml:
15643 * docs/gst/tmpl/old/gstdisksrc.sgml:
15644 * docs/gst/tmpl/old/gstelementfactory.sgml:
15645 * docs/gst/tmpl/old/gstextratypes.sgml:
15646 * docs/gst/tmpl/old/gstfakesink.sgml:
15647 * docs/gst/tmpl/old/gstfakesrc.sgml:
15648 * docs/gst/tmpl/old/gstfdsink.sgml:
15649 * docs/gst/tmpl/old/gstfdsrc.sgml:
15650 * docs/gst/tmpl/old/gstfilesink.sgml:
15651 * docs/gst/tmpl/old/gstfilesrc.sgml:
15652 * docs/gst/tmpl/old/gsthttpsrc.sgml:
15653 * docs/gst/tmpl/old/gstidentity.sgml:
15654 * docs/gst/tmpl/old/gstindexfactory.sgml:
15655 * docs/gst/tmpl/old/gstmarshal.sgml:
15656 * docs/gst/tmpl/old/gstmd5sink.sgml:
15657 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
15658 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
15659 * docs/gst/tmpl/old/gstpadtemplate.sgml:
15660 * docs/gst/tmpl/old/gstpipefilter.sgml:
15661 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
15662 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
15663 * docs/gst/tmpl/old/gstshaper.sgml:
15664 * docs/gst/tmpl/old/gstspider.sgml:
15665 * docs/gst/tmpl/old/gstspideridentity.sgml:
15666 * docs/gst/tmpl/old/gststatistics.sgml:
15667 * docs/gst/tmpl/old/gsttee.sgml:
15668 * docs/gst/tmpl/old/gsttimecache.sgml:
15669 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
15670 * docs/gst/tmpl/old/gstxmlregistry.sgml:
15671 * docs/gst/tmpl/old/gthread-cothreads.sgml:
15672 * docs/gst/tmpl/old/types.sgml:
15673 I didn't intend to add these or check them in.
15675 2005-05-19 David Schleef <ds@schleef.org>
15677 * configure.ac: Use -no-common everywhere. In a sane world, it
15678 would be the default in libtool, because without it, you can't
15679 build DLLs on Windows.
15680 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
15681 * docs/gst/gstreamer-sections.txt:
15682 * docs/gst/tmpl/gstcpu.sgml:
15683 * docs/gst/tmpl/gstdata.sgml:
15684 * docs/gst/tmpl/gstthread.sgml:
15686 2005-05-19 David Schleef <ds@schleef.org>
15688 * gst/gstminiobject.c: (gst_value_set_mini_object),
15689 (gst_value_take_mini_object), (gst_value_get_mini_object):
15690 * gst/gstminiobject.h: Add GValue set/get functions.
15692 2005-05-19 Wim Taymans <wim@fluendo.com>
15694 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
15695 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
15696 (gst_subbuffer_init), (gst_buffer_is_span_fast):
15698 * gst/gstbus.c: (gst_bus_post):
15699 * gst/gstelement.c: (gst_element_get_random_pad):
15700 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
15701 Make subbufer unref the parent in finalize.
15702 some more debugging info.
15705 2005-05-19 Wim Taymans <wim@fluendo.com>
15707 * gst/base/gstbasesink.c: (gst_basesink_class_init),
15708 (gst_basesink_init), (gst_basesink_finalize),
15709 (gst_basesink_activate), (gst_basesink_change_state):
15710 Don't free preroll queue too early.
15712 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15716 Hi, I'm outdated. Please shoot me.
15718 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15720 * gst/gstpipeline.c: (gst_pipeline_send_event):
15721 Do not access variables after they have been deleted.
15723 2005-05-19 Wim Taymans <wim@fluendo.com>
15725 * tools/gst-inspect.c: (print_plugin_features):
15726 A plugin feature does unfortunatly not use the
15729 2005-05-18 Wim Taymans <wim@fluendo.com>
15731 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
15732 Port _span() functions to new subbuffers.
15734 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15736 * gst/gstbin.c: (gst_bin_add_func):
15737 Fix clock settery in bins when adding kids after the clock has
15740 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15742 * gst/elements/gstidentity.c: (gst_identity_class_init):
15743 Workaround until signals support GstMiniObject.
15745 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
15748 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
15750 2005-05-18 Wim Taymans <wim@fluendo.com>
15752 * gst/base/Makefile.am:
15753 * gst/base/gstadapter.c: (gst_adapter_base_init),
15754 (gst_adapter_class_init), (gst_adapter_init),
15755 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
15756 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
15757 (gst_adapter_flush), (gst_adapter_available),
15758 (gst_adapter_available_fast):
15759 * gst/base/gstadapter.h:
15760 Ported and added adapter to the base classes.
15762 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
15765 * gst/gstmessage.c:
15766 Make sure the class is reffed/unreffed once before threads can be
15767 used. Fixes #304551.
15769 2005-05-17 Wim Taymans <wim@fluendo.com>
15771 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
15772 (gst_basesink_chain_unlocked), (gst_basesink_activate):
15773 * gst/gstminiobject.c: (gst_mini_object_get_type),
15774 (gst_mini_object_free):
15775 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
15776 (gst_pad_push), (gst_pad_push_event):
15777 * gst/gstqueue.c: (gst_queue_change_state):
15778 Don't queue buffers in basesink when we are flushing.
15779 Unref buffer when flushing in basesink.
15780 Flush queue when going to READY
15781 Unref buffer when _push() returns an error.
15782 Don't free MiniObject instance when refcount is incremented
15783 in _finalize() so that we can recover objects.
15785 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
15787 * docs/manual/advanced-schedulers.xml:
15788 * docs/manual/appendix-checklist.xml:
15789 * docs/pwg/advanced-clock.xml:
15790 * docs/pwg/advanced-interfaces.xml:
15791 * docs/pwg/advanced-request.xml:
15792 * docs/pwg/advanced-types.xml:
15793 * docs/pwg/intro-preface.xml:
15794 * examples/plugins/example.c: (gst_example_get_type),
15795 (gst_example_class_init), (gst_example_chain),
15796 (gst_example_set_property), (gst_example_get_property),
15797 (gst_example_change_state), (plugin_init):
15798 * examples/plugins/example.h:
15801 2005-05-17 Wim Taymans <wim@fluendo.com>
15803 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
15804 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
15805 * gst/gstqueue.c: (gst_queue_change_state):
15806 Clear queue when going to READY.
15807 Remove IN_SETCAPS flag too.
15809 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
15811 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
15812 Remove implicit cast from gboolean to GstElementStateReturn;
15813 make sure we still return failure in paused => ready case if
15814 the parent class fails to change state and our own stop
15817 2005-05-17 Wim Taymans <wim@fluendo.com>
15819 * tools/gst-launch.c: (event_loop):
15820 Message was unreffed too soon.
15822 2005-05-16 Andy Wingo <wingo@pobox.com>
15824 * gst/gstbin.c (sink_iterator_filter): Err... um...
15826 * check/gst/gstbin.c (test_ghost_pads): New test for the
15827 ghosting-if-elements-not-in-same-bin behavior.
15829 2005-05-16 David Schleef <ds@schleef.org>
15831 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
15832 accessing refcount directly.
15834 2005-05-15 David Schleef <ds@schleef.org>
15836 * check/Makefile.am: remove GstData checks
15837 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
15838 * gst/Makefile.am: add miniobject, remove data
15839 * gst/gst.h: add miniobject, remove data
15840 * gst/gstdata.c: remove
15841 * gst/gstdata.h: remove
15842 * gst/gstdata_private.h: remove
15843 * gst/gsttypes.h: remove GstEvent and GstMessage
15844 * gst/gstelement.c: (gst_element_post_message): fix for API changes
15845 * gst/gstmarshal.list: change BOXED -> OBJECT
15847 Implement GstMiniObject.
15848 * gst/gstminiobject.c:
15849 * gst/gstminiobject.h:
15851 Modify to be subclasses of GstMiniObject.
15852 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
15853 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
15854 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
15855 (gst_subbuffer_get_type), (gst_subbuffer_init),
15856 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
15859 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
15860 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
15861 (_gst_event_copy), (gst_event_new):
15863 * gst/gstmessage.c: (_gst_message_initialize),
15864 (gst_message_get_type), (gst_message_class_init),
15865 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
15866 (gst_message_new), (gst_message_new_error),
15867 (gst_message_new_warning), (gst_message_new_tag),
15868 (gst_message_new_state_changed), (gst_message_new_application):
15869 * gst/gstmessage.h:
15870 * gst/gstprobe.c: (gst_probe_perform),
15871 (gst_probe_dispatcher_dispatch):
15873 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
15874 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
15875 (_gst_query_copy), (gst_query_new):
15877 Update elements for GstData -> GstMiniObject changes
15879 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
15880 (gst_queue_chain), (gst_queue_loop):
15881 * gst/elements/gstbufferstore.c:
15882 (gst_buffer_store_add_buffer_func),
15883 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
15884 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
15885 (gst_fakesink_render):
15886 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
15887 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
15888 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
15889 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
15890 (gst_filesrc_create_read):
15891 * gst/elements/gstidentity.c: (gst_identity_class_init):
15892 * gst/elements/gsttypefindelement.c:
15893 (gst_type_find_element_src_event), (free_entry_buffers),
15894 (gst_type_find_element_handle_event):
15895 * libs/gst/dataprotocol/dataprotocol.c:
15896 (gst_dp_header_from_buffer):
15897 * libs/gst/dataprotocol/dataprotocol.h:
15898 * libs/gst/dataprotocol/dp-private.h:
15900 2005-05-15 David Schleef <ds@schleef.org>
15902 * gst/elements/gstelements.c: Don't include headers that were
15905 2005-05-15 David Schleef <ds@schleef.org>
15907 * gst/elements/Makefile.am: Remove some elements that don't
15908 need to be in the core (or even exist at all).
15909 * gst/elements/gstaggregator.c:
15910 * gst/elements/gstaggregator.h:
15911 * gst/elements/gstmd5sink.c:
15912 * gst/elements/gstmd5sink.h:
15913 * gst/elements/gstmultifilesrc.c:
15914 * gst/elements/gstmultifilesrc.h:
15915 * gst/elements/gstpipefilter.c:
15916 * gst/elements/gstpipefilter.h:
15917 * gst/elements/gstshaper.c:
15918 * gst/elements/gstshaper.h:
15919 * gst/elements/gststatistics.c:
15920 * gst/elements/gststatistics.h:
15921 * po/POTFILES.in: Remove above files.
15923 2005-05-14 Andy Wingo <wingo@pobox.com>
15925 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
15926 so as to get the refs right.
15927 (sink_iterator_filter): New function, wraps bin_element_is_sink,
15928 unreffing objects that don't pass the filter.
15930 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
15931 gst_element_set_bus.
15932 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
15933 normal cases, this will destroy the bus.
15935 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
15938 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
15941 2005-05-13 Andy Wingo <wingo@pobox.com>
15943 * gst/gstutils.c (gst_element_link_pads): Instead of calling
15944 gst_pad_link, call pad_link_maybe_ghosting,
15945 (pad_link_maybe_ghosting): Links pads, making sure that the
15946 elements being linked are in the same bin.
15947 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
15948 Helpers for pad_link_maybe_ghosting.
15950 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
15953 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
15955 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
15957 * docs/design/part-element-source.txt:
15960 2005-05-12 Wim Taymans <wim@fluendo.com>
15962 * gst/base/gstbasesink.c: (gst_basesink_init),
15963 (gst_basesink_activate):
15964 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
15965 (gst_basesrc_is_seekable):
15966 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
15967 (bin_element_is_sink), (gst_bin_change_state):
15968 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
15969 * gst/gstelement.h:
15970 Identify sinks by their flag to avoid overly complicated
15972 Do state changes even for elements not reachable from the
15974 BaseSink is a sink now :)
15975 Some more debugging info in the basesrc.
15978 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15980 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
15981 Implement _query on a bin, similar to _send_event.
15983 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
15985 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
15986 Discont event offset format should be GST_FORMAT_BYTES,
15987 not GST_FORMAT_TIME.
15989 2005-05-12 Wim Taymans <wim@fluendo.com>
15991 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
15992 Same fix as Ronald's but without the signal.
15994 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15996 * gst/gstutils.c: (gst_element_query_position):
15997 No, an element is not a pad.
15999 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16001 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
16002 (gst_bin_get_state):
16003 If a child is removed from a bin while we remove the child from
16004 the bin and while we're retrieving its state, signal this to the
16005 get_state function so we abort the wait (instead of waiting for
16006 a timeout) and can immediately re-iterate over all other elements.
16008 2005-05-12 Wim Taymans <wim@fluendo.com>
16010 * gst/base/Makefile.am:
16011 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
16012 (gst_basesrc_start):
16013 * gst/base/gstbasesrc.h:
16014 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
16015 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
16016 (gst_pushsrc_init), (gst_pushsrc_create):
16017 * gst/base/gstpushsrc.h:
16018 Added is_seekable to BaseSrc
16019 Added simple PushSrc.
16021 2005-05-11 Wim Taymans <wim@fluendo.com>
16023 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
16024 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
16025 (gst_element_link_pads), (gst_element_query_position),
16026 (gst_element_query_convert), (intersect_caps_func),
16027 (gst_pad_query_position), (gst_pad_query_convert):
16028 Fix refcounting in utils function.
16029 No point in trying to activate a pad when it's added, it could
16030 be added from the state change function and then we deadlock, the
16031 element has to decide what to do.
16033 2005-05-10 Andy Wingo <wingo@pobox.com>
16035 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
16036 *all* the arguments.
16038 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
16039 stream lock if it's a FLUSH_DONE; normal flushes don't get the
16040 lock (according to the docs -- if this is wrong change the docs).
16042 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
16043 flush messages in the NULL state.
16045 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
16046 message immediately and return.
16047 (gst_bus_set_flushing): New function. If a bus is flushing, it
16048 flushes out any queued messages and immediately unrefs new
16049 messages. This is so when an element goes to NULL, all of the
16050 unhandled messages coming from it can be freed, and their
16051 references to the element dropped. In other words: message source
16052 ref considered harmful :P
16054 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
16055 we're finished with it.
16057 * gst/gstmessage.c (gst_message_new_state_changed):
16059 2005-05-10 Wim Taymans <wim@fluendo.com>
16061 * gst/gstvalue.c: (gst_value_compare_flags),
16062 (gst_value_serialize_flags), (gst_value_deserialize_flags),
16063 (_gst_value_initialize):
16064 Added flags serialize/deserialize/compare code.
16066 2005-05-09 Andy Wingo <wingo@pobox.com>
16068 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
16069 Intersect the peer's caps with our caps.
16071 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16073 * gst/base/gsttypefindhelper.c: (helper_find_peek):
16074 * gst/elements/gsttypefindelement.c: (find_peek):
16075 Handle negative offsets better. Fixes decodebin.
16077 2005-05-09 Wim Taymans <wim@fluendo.com>
16079 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
16080 (gst_base_transform_event):
16081 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
16082 Implement accept_caps.
16083 Fix silly lock/unlock mismatch in base class.
16085 2005-05-09 Wim Taymans <wim@fluendo.com>
16087 * docs/design/draft-push-pull.txt:
16088 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
16089 * gst/elements/gstfilesink.c: (gst_filesink_init),
16090 (gst_filesink_query):
16091 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
16092 (gst_type_find_handle_src_query), (find_element_get_length):
16093 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
16094 * gst/gstelement.h:
16095 * gst/gstmessage.c:
16096 * gst/gstmessage.h:
16097 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
16098 (gst_real_pad_get_caps_unlocked),
16099 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
16100 (gst_pad_event_default_dispatch), (gst_pad_event_default),
16101 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
16102 (gst_real_pad_dispose), (gst_real_pad_finalize),
16103 (gst_pad_load_and_link), (gst_pad_save_thyself),
16104 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
16105 (gst_pad_check_pull_range), (gst_pad_pull_range),
16106 (gst_pad_template_get_type), (gst_pad_template_class_init),
16107 (gst_pad_template_init), (gst_pad_template_dispose),
16108 (name_is_valid), (gst_static_pad_template_get),
16109 (gst_pad_template_new), (gst_static_pad_template_get_caps),
16110 (gst_pad_template_get_caps), (gst_pad_set_element_private),
16111 (gst_pad_get_element_private), (gst_pad_start_task),
16112 (gst_pad_pause_task), (gst_pad_stop_task),
16113 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
16114 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
16115 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
16116 (gst_ghost_pad_new):
16118 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
16119 (gst_query_new_position), (gst_query_set_position),
16120 (gst_query_parse_position), (gst_query_new_convert),
16121 (gst_query_set_convert), (gst_query_parse_convert):
16123 * gst/gstqueryutils.c:
16124 * gst/gstqueryutils.h:
16125 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
16126 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
16127 (gst_queue_handle_src_query):
16128 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
16129 (gst_element_query_position), (gst_element_query_convert),
16130 (intersect_caps_func), (gst_pad_query_position),
16131 (gst_pad_query_convert):
16133 * tools/gst-inspect.c: (print_pad_info):
16134 * tools/gst-xmlinspect.c: (print_element_info):
16135 Remove old query functions. Ported old code.
16136 Added position/convert helper functions to gstutils.
16137 Reordered gstpad.c code, grouping relevant things.
16138 Remove gst_message_new(), always need to speficy a specific
16142 2005-05-09 Andy Wingo <wingo@pobox.com>
16144 * gst/gstiterator.h: Add some includes.
16146 * gst/gstqueryutils.h: Include more headers.
16149 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
16150 some uses of gst_pad_query.
16152 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
16153 NULL out parameters.
16154 (gst_query_new_position): New proc, allocates a new position
16157 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
16158 gstqueryutils.c to the build.
16160 * gst/gststructure.c (gst_structure_set_valist): Implement with
16161 the generic G_VALUE_COLLECT.
16163 2005-05-08 Edward Hervey <bilboed@bilboed.com>
16165 * gst/Makefile.am: (gst_headers):
16166 Added gstqueryutils.h to the list of headers to install, that was
16167 a 'nachty' move wingo :)
16169 2005-05-06 Andy Wingo <wingo@pobox.com>
16172 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
16173 GstData, init a memchunk.
16174 (standard_definitions): Add a few query types, deprecate a few.
16175 (gst_query_get_type): New proc.
16176 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
16178 (gst_query_new_application, gst_query_get_structure): New public
16181 * docs/design/draft-query.txt: Removed LINKS from the query types,
16182 because all the rest can be dispatched to other pads -- seemed
16183 ugly to have a query that couldn't be dispatched. internal_links
16184 is fine as a pad method.
16186 * gst/gstpad.h: Add query2 as a pad method, add the new functions
16187 in gstpad.c, but maintain binary compatibility for the moment.
16188 Will fix before 0.9 is out.
16190 * gst/gstqueryutils.c:
16191 * gst/gstqueryutils.h: New files, implement 3 methods for each
16192 query type: parse_query, parse_response, and set. Probably need an
16195 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
16197 * gst/elements/gstfilesink.c (gst_filesink_query2):
16198 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
16199 query_types, and formats methods.
16201 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
16202 (gst_pad_set_query2_function): New functions.
16203 (gst_real_pad_init): Set query2_default as the default query2
16204 function. Basically just dispatches to internally linked pads.
16208 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
16209 without using the atomic operations. Only one thread can possibly
16210 be accessing the data at this point. Changed so as to avoid
16211 gst_atomic operations.
16213 2005-05-06 Wim Taymans <wim@fluendo.com>
16215 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
16216 Also set caps if we use the fallback buffer alloc.
16218 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
16220 * docs/gst/Makefile.am:
16221 * docs/gst/gstreamer-docs.sgml:
16222 * docs/gst/gstreamer-sections.txt:
16223 * docs/gst/tmpl/gstatomic.sgml:
16224 * docs/gst/tmpl/gstmemchunk.sgml:
16225 * testsuite/elements/struct_i386.h:
16226 * win32/GStreamer.vcproj:
16228 Purge GstAtomic stuff from docs and win32 makefiles as well
16230 2005-05-06 Wim Taymans <wim@fluendo.com>
16232 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
16233 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
16234 * gst/gstpad.c: (gst_pad_peer_get_caps):
16235 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
16236 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
16237 (gst_queue_src_activate), (gst_queue_change_state):
16239 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
16240 (intersect_caps_func):
16241 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
16242 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
16243 Some fixes for the peer_get_caps() change.
16245 2005-05-06 Wim Taymans <wim@fluendo.com>
16247 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
16248 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
16249 (gst_basesink_activate):
16250 Actually do something with error codes returned from the push
16253 2005-05-06 Wim Taymans <wim@fluendo.com>
16255 * docs/design/part-element-sink.txt:
16256 * docs/design/part-element-source.txt:
16257 * gst/base/gstbasesink.c: (gst_basesink_class_init),
16258 (gst_basesink_event), (gst_basesink_activate):
16259 * gst/base/gstbasesink.h:
16260 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
16261 (gst_basesrc_activate):
16262 * gst/base/gstbasesrc.h:
16263 * gst/gstelement.c: (gst_element_pads_activate):
16264 Some more documentation.
16265 Fixed scheduling decision in _pads_activate().
16267 2005-05-05 Andy Wingo <wingo@pobox.com>
16269 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
16272 2005-05-05 Wim Taymans <wim@fluendo.com>
16274 * gst/base/Makefile.am:
16275 * gst/base/gstbasesink.h:
16276 * gst/base/gstbasesrc.c: (gst_basesrc_init),
16277 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
16278 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
16279 (gst_collectpads_class_init), (gst_collectpads_init),
16280 (gst_collectpads_finalize), (gst_collectpads_new),
16281 (gst_collectpads_set_function), (gst_collectpads_add_pad),
16282 (find_pad), (gst_collectpads_remove_pad),
16283 (gst_collectpads_is_active), (gst_collectpads_collect),
16284 (gst_collectpads_collect_range), (gst_collectpads_start),
16285 (gst_collectpads_stop), (gst_collectpads_peek),
16286 (gst_collectpads_pop), (gst_collectpads_available),
16287 (gst_collectpads_read), (gst_collectpads_flush),
16288 (gst_collectpads_chain):
16289 * gst/base/gstcollectpads.h:
16290 * gst/elements/Makefile.am:
16291 * gst/elements/gstelements.c:
16292 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
16293 (gst_fakesink_get_times), (gst_fakesink_event),
16294 (gst_fakesink_preroll), (gst_fakesink_render):
16295 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
16296 (gst_filesink_init), (gst_filesink_set_location),
16297 (gst_filesink_open_file), (gst_filesink_close_file),
16298 (gst_filesink_pad_query), (gst_filesink_event),
16299 (gst_filesink_render), (gst_filesink_change_state):
16300 * gst/elements/gstfilesink.h:
16301 Added object to help in making collect pad based elements.
16303 Make event function in sink baseclass return gboolean.
16305 2005-05-05 Wim Taymans <wim@fluendo.com>
16307 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
16308 (gst_bin_get_by_name):
16310 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
16311 (gst_clock_finalize):
16312 * gst/gstdata.c: (gst_data_replace):
16314 * gst/gstelement.c: (gst_element_request_pad),
16315 (gst_element_pads_activate):
16316 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
16317 (gst_object_unref):
16318 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
16319 (gst_pad_set_checkgetrange_function),
16320 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
16321 (gst_pad_check_pull_range), (gst_pad_pull_range),
16322 (gst_static_pad_template_get_caps), (gst_pad_start_task),
16323 (gst_pad_pause_task), (gst_pad_stop_task):
16324 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
16325 (gst_element_request_pad), (gst_pad_proxy_getcaps):
16326 Fix name lookup in GstBin.
16327 Added _data_replace() function and _buffer_replace()
16328 Use finalize method to clean up clock.
16329 Fix refcounting on request pads.
16330 Fix pad schedule mode error.
16331 Some more object refcounting debug info,
16334 2005-05-04 Andy Wingo <wingo@pobox.com>
16336 * check/Makefile.am:
16337 * docs/gst/tmpl/gstatomic.sgml:
16338 * docs/gst/tmpl/gstplugin.sgml:
16339 * gst/base/gstbasesink.c: (gst_basesink_activate):
16340 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
16341 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
16342 (gst_basesrc_query), (gst_basesrc_set_property),
16343 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
16344 (gst_basesrc_activate):
16345 * gst/base/gstbasesrc.h:
16346 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
16347 (gst_base_transform_src_activate):
16348 * gst/elements/gstelements.c:
16349 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16350 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
16351 * gst/elements/gsttee.c: (gst_tee_sink_activate):
16352 * gst/elements/gsttypefindelement.c: (find_element_get_length),
16353 (gst_type_find_element_checkgetrange),
16354 (gst_type_find_element_activate):
16355 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
16356 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
16357 (gst_caps_load_thyself):
16358 * gst/gstelement.c: (gst_element_pads_activate),
16359 (gst_element_save_thyself), (gst_element_restore_thyself):
16360 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
16361 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
16363 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
16364 (gst_xml_parse_file), (gst_xml_parse_memory),
16365 (gst_xml_get_element), (gst_xml_make_element):
16366 * gst/indexers/gstfileindex.c: (gst_file_index_load),
16367 (_file_index_id_save_xml), (gst_file_index_commit):
16368 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
16369 (read_enum), (load_pad_template), (load_feature), (load_plugin),
16371 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
16372 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
16373 * tools/gst-complete.c: (main):
16374 * tools/gst-compprep.c: (main):
16375 * tools/gst-inspect.c: (print_element_properties_info):
16376 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
16377 * tools/gst-xmlinspect.c: (print_element_properties):
16380 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
16382 * gst/gstplugin.c: (gst_plugin_check_module),
16383 (gst_plugin_check_file), (gst_plugin_load_file):
16384 apply patch from #172526 to make register work on MacOSX
16386 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
16388 * docs/gst/tmpl/gstconfig.sgml:
16389 * gst/gstconfig.h.in:
16390 move documentation for some symbols. Add doc for GST_PTR_FORMAT
16391 * testsuite/debug/printf_extension.c: (main):
16392 Do not use GST_PTR_FORMAT on pointers to types with
16393 sizeof < sizeof(gpointer). Fixes test on 64-bit
16394 * testsuite/elements/property.h:
16395 use correct printf format
16397 2005-05-02 Wim Taymans <wim@fluendo.com>
16399 * docs/design/draft-push-pull.txt:
16400 * docs/design/draft-query.txt:
16401 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
16402 (gst_basesrc_start):
16403 Added draft for new query API.
16404 Added draft for better selecting scheduling methods.
16405 Make basesrc ignore length if the subclass does not support
16408 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
16411 possible fixes for automake-1.5 - _LIBADD is reserved
16413 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
16415 * docs/faq/Makefile.am:
16416 * docs/manual/Makefile.am:
16417 * docs/manuals.mak:
16418 * docs/pwg/Makefile.am:
16420 possible fixes for automake-1.5
16422 2005-04-28 Wim Taymans <wim@fluendo.com>
16424 * gst/base/gstbasesink.c: (gst_basesink_base_init),
16425 (gst_basesink_pad_getcaps), (gst_basesink_init),
16426 (gst_basesink_do_sync):
16427 * gst/gstclock.c: (gst_clock_entry_new):
16428 * gst/gstevent.c: (gst_event_discont_get_value):
16429 * gst/gstpipeline.c: (pipeline_bus_handler),
16430 (gst_pipeline_change_state):
16431 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
16432 Better debugging of clocking info.
16433 Allow NULL values when getting discont values.
16435 2005-04-27 Wim Taymans <wim@fluendo.com>
16437 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
16438 * check/gst/gstpad.c: (gst_pad_suite):
16439 Increase timeout for checks.
16441 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16443 * check/Makefile.am:
16444 fix the broken rule for cleanup. Apparently this rule is
16445 only needed on FC2, so maybe this warrants further autotool
16448 2005-04-26 Wim Taymans <wim@fluendo.com>
16450 * gst/gsttrashstack.h:
16451 Ooohh. a nasty one! After having a failed pop() from the stack,
16452 it's possible that the stack is empty. In that case, don't
16453 follow the NULL pointer.
16455 2005-04-25 Wim Taymans <wim@fluendo.com>
16457 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
16458 (gst_pad_set_checkgetrange_function),
16459 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
16460 (gst_pad_check_pull_range), (gst_pad_pull_range),
16461 (gst_static_pad_template_get_caps), (gst_pad_start_task),
16462 (gst_pad_pause_task), (gst_pad_stop_task):
16463 * gst/gstplugin.c: (gst_plugin_load):
16465 Remove gst_library_load as it does more harm than good with
16466 the new g_module flags.
16467 Revert bogus caps template check in pad linking, pad caps
16468 are important when linking not the template, which is more
16469 general than the current caps.
16471 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16473 * gst/autoplug/.cvsignore:
16474 * gst/autoplug/Makefile.am:
16475 * gst/autoplug/gstsearchfuncs.c:
16476 * gst/autoplug/gstsearchfuncs.h:
16477 * gst/autoplug/gstspider.c:
16478 * gst/autoplug/gstspider.h:
16479 * gst/autoplug/gstspideridentity.c:
16480 * gst/autoplug/gstspideridentity.h:
16481 * gst/autoplug/spidertest.c:
16484 2005-04-25 Wim Taymans <wim@fluendo.com>
16486 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
16487 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
16488 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
16489 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
16491 Added stubs for unimplemented functions.
16493 2005-04-24 David Schleef <ds@schleef.org>
16495 * gst/gstpad.h: Disable some unimplemented functions. Wim,
16498 2005-04-24 David Schleef <ds@schleef.org>
16500 Convert everything from GstAtomicInt to g_atomic_int_*, and
16505 * gst/gstatomic_impl.h:
16513 * gst/gstdata_private.h:
16517 * gst/gstmessage.c:
16520 * gst/gststructure.c:
16521 * gst/gststructure.h:
16522 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
16525 2005-04-24 David Schleef <ds@schleef.org>
16527 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
16528 make the regressions tests work. Remove some code that is no
16530 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
16531 Disable warning for pads without templates.
16533 2005-04-24 David Schleef <ds@schleef.org>
16535 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
16536 functions that handle filtered links.
16537 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
16539 * gst/gstutils.c: Fix/remove utility functions that handle
16542 * gst/gstvalue.c: Add serialization/deserialization of caps
16543 * gst/parse/grammar.y: Ignore filtered caps when linking. This
16544 requires fixing so that the filter caps notation creates
16545 a capsfilter element and sets the filter_caps property. I
16546 think everyone probably wants to keep the shorthand notation.
16547 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
16548 * docs/gst/tmpl/gstpad.sgml:
16550 * gst/elements/gstelements.c: Register capsfilter element.
16551 * gst/Makefile.am: fix spacing
16552 * docs/random/ds/0.9-suggested-changes: random
16554 2005-04-23 David Schleef <ds@schleef.org>
16556 * gst/elements/Makefile.am:
16557 * gst/elements/gstcapsfilter.c: New element that acts like an
16558 identity, but filters caps. Will eventually replace filtered
16559 caps in pad linking.
16560 * gst/gstutils.c: (gst_element_create_all_pads): New function
16561 to create all the ALWAYS pads that are registered with an
16562 element class. This functionality should eventually be
16563 merged in with GstElement initialization.
16565 * testsuite/trigger/README: part of trigger test code that should
16566 have been checked in a long time ago.
16568 2005-04-23 David Schleef <ds@schleef.org>
16570 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
16571 needed with new versions of libtool (nobody will confirm this),
16572 and hard to carry around.
16573 * gst/autoplug/Makefile.am:
16574 * gst/base/Makefile.am:
16575 * gst/elements/Makefile.am:
16576 * gst/indexers/Makefile.am:
16577 * gst/schedulers/Makefile.am:
16578 * libs/gst/bytestream/Makefile.am:
16579 * libs/gst/control/Makefile.am:
16580 * libs/gst/dataprotocol/Makefile.am:
16581 * libs/gst/getbits/Makefile.am:
16583 2005-04-21 Wim Taymans <wim@fluendo.com>
16585 * docs/design/draft-push-pull.txt:
16586 * docs/design/part-MT-refcounting.txt:
16587 * docs/design/part-TODO.txt:
16588 * docs/design/part-caps.txt:
16589 * docs/design/part-events.txt:
16590 * docs/design/part-gstbus.txt:
16591 * docs/design/part-gstpipeline.txt:
16592 * docs/design/part-messages.txt:
16593 * docs/design/part-push-pull.txt:
16594 * docs/design/part-query.txt:
16597 2005-04-21 Wim Taymans <wim@fluendo.com>
16599 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
16600 (gst_message_new), (gst_message_new_error),
16601 (gst_message_new_warning), (gst_message_new_tag),
16602 (gst_message_new_state_changed), (gst_message_new_application),
16603 (gst_message_get_structure):
16604 * gst/gstmessage.h:
16605 * gst/gststructure.c: (gst_structure_set_parent_refcount),
16606 (gst_structure_copy_conditional):
16607 Use parent refcount in GstMessage to ensure GstStructure
16609 Cleaned up headers a bit.
16612 2005-04-20 Wim Taymans <wim@fluendo.com>
16614 * gst/base/gstbasesink.c: (gst_basesink_base_init),
16615 (gst_basesink_pad_getcaps), (gst_basesink_init),
16616 (gst_basesink_chain_unlocked):
16617 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
16618 (gst_type_find_helper):
16619 * gst/elements/gsttypefindelement.c:
16620 (gst_type_find_element_have_type), (gst_type_find_element_init),
16621 (stop_typefinding), (gst_type_find_element_handle_event),
16622 (find_suggest), (gst_type_find_element_chain),
16623 (gst_type_find_element_checkgetrange),
16624 (gst_type_find_element_getrange), (do_typefind),
16625 (gst_type_find_element_activate):
16626 * gst/gstbuffer.c: (_gst_buffer_sub_free),
16627 (gst_buffer_default_free), (gst_buffer_default_copy),
16628 (gst_buffer_set_caps):
16629 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
16630 (gst_caps_replace):
16631 * gst/gstmessage.c: (gst_message_new),
16632 (gst_message_new_state_changed):
16633 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
16634 (gst_pad_set_checkgetrange_function),
16635 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
16636 (gst_pad_set_caps), (gst_pad_check_pull_range),
16637 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
16639 * gst/gsttypefind.c: (gst_type_find_register):
16640 Make gst_caps_replace() work like other _replace() functions.
16641 Use _caps_replace() where possible.
16642 Make sure _message_new() initialises its field.
16643 Add gst_static_pad_template_get_caps()
16646 2005-04-18 Andy Wingo <wingo@pobox.com>
16648 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
16649 on the peer, not the pad. I think that was a typo. Pass an extra
16650 arg to see if random access is possible. Activate the pads as
16651 PULL_RANGE if possible.
16653 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
16655 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
16656 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
16659 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16661 * docs/faq/using.xml:
16662 Add note on gstreamer-properties (#154996).
16664 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16666 * docs/random/bbb/optional-properties:
16667 Some analysis on optional properties.
16669 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16671 * docs/gst/tmpl/gstelementfactory.sgml:
16672 * gst/gstelement.h:
16673 * gst/gstelementfactory.c: (gst_element_factory_init),
16674 (gst_element_factory_cleanup), (gst_element_register),
16675 (__gst_element_factory_add_static_pad_template),
16676 (gst_element_factory_get_static_pad_templates),
16677 (gst_element_factory_can_src_caps),
16678 (gst_element_factory_can_sink_caps):
16679 * gst/registries/Makefile.am:
16680 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
16681 (gst_xml_registry_class_init), (gst_xml_registry_init),
16682 (gst_xml_registry_new), (gst_xml_registry_set_property),
16683 (gst_xml_registry_get_property), (get_time), (make_dir),
16684 (gst_xml_registry_get_perms_func),
16685 (plugin_times_older_than_recurse), (plugin_times_older_than),
16686 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
16687 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
16688 (add_to_char_array), (read_string), (read_uint), (read_enum),
16689 (load_pad_template), (load_feature), (load_plugin), (load_paths),
16690 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
16691 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
16692 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
16693 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
16694 (gst_xml_registry_rebuild):
16695 * gst/registries/gstlibxmlregistry.h:
16696 * tools/gst-compprep.c: (main):
16697 * tools/gst-inspect.c: (print_pad_templates_info):
16698 * tools/gst-xmlinspect.c: (print_element_info):
16699 Use libxml2 for registry parsing, use staticpadtemplates in
16700 elementfactories. Makes gst_init() +/- 10x faster.
16702 2005-04-12 Wim Taymans <wim@fluendo.com>
16704 * gst/base/Makefile.am:
16705 * gst/base/gstbasesink.c: (gst_basesink_base_init),
16706 (gst_basesink_pad_getcaps), (gst_basesink_init),
16707 (gst_basesink_event), (gst_basesink_change_state):
16708 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
16709 (gst_basesrc_init), (gst_basesrc_query),
16710 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
16711 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
16712 (gst_basesrc_check_get_range), (gst_basesrc_loop),
16713 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
16714 (gst_basesrc_stop), (gst_basesrc_activate),
16715 (gst_basesrc_change_state):
16716 * gst/base/gsttypefindhelper.c: (helper_find_peek),
16717 (helper_find_suggest), (gst_type_find_helper):
16718 * gst/base/gsttypefindhelper.h:
16719 * gst/elements/Makefile.am:
16720 * gst/elements/gstelements.c:
16721 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
16722 (gst_fakesink_get_times), (gst_fakesink_event),
16723 (gst_fakesink_preroll), (gst_fakesink_render):
16724 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16725 (gst_fakesrc_init), (gst_fakesrc_event_handler),
16726 (gst_fakesrc_get_property), (gst_fakesrc_create),
16727 (gst_fakesrc_start), (gst_fakesrc_stop):
16728 * gst/elements/gstfakesrc.h:
16729 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
16730 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
16731 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
16732 (gst_filesrc_create_read), (gst_filesrc_create),
16733 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
16734 (gst_filesrc_start):
16735 * gst/elements/gsttypefindelement.c:
16736 (gst_type_find_element_have_type), (gst_type_find_element_init),
16737 (start_typefinding), (stop_typefinding), (push_buffer_store),
16738 (gst_type_find_element_handle_event),
16739 (gst_type_find_element_chain),
16740 (gst_type_find_element_checkgetrange),
16741 (gst_type_find_element_getrange), (do_typefind),
16742 (gst_type_find_element_activate),
16743 (gst_type_find_element_change_state):
16744 * gst/elements/gsttypefindelement.h:
16745 * gst/gstpipeline.c: (pipeline_bus_handler):
16746 Added typefind helper.
16747 Small preroll fix in the base sink.
16748 Disable typefind code in basesrc.
16749 Crude port of typefindelement.
16753 2005-04-11 Wim Taymans <wim@fluendo.com>
16755 * check/gst/gstbus.c: (gstbus_suite):
16756 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
16757 * check/gstcheck.h:
16758 Fix up the timeout so that the test does not fail.
16760 2005-04-06 Wim Taymans <wim@fluendo.com>
16763 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
16764 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
16765 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
16766 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
16767 (gst_basesrc_check_get_range), (gst_basesrc_loop),
16768 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
16769 (gst_basesrc_stop), (gst_basesrc_activate),
16770 (gst_basesrc_change_state), (basesrc_find_peek),
16771 (basesrc_find_suggest), (gst_basesrc_type_find):
16772 * gst/base/gstbasesrc.h:
16773 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
16774 (gst_filesrc_class_init), (gst_filesrc_init),
16775 (gst_filesrc_finalize), (gst_filesrc_set_location),
16776 (gst_filesrc_set_property), (gst_filesrc_get_property),
16777 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
16778 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
16779 (gst_filesrc_create_read), (gst_filesrc_create),
16780 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
16781 * gst/elements/gstfilesrc.h:
16782 * gst/gstelement.c: (gst_element_get_state_func),
16783 (gst_element_lost_state), (gst_element_pads_activate):
16784 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
16785 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
16786 (gst_pad_pull_range):
16788 More work on the generic source base class, implement seeking,
16790 Make filesrc extend the base source class.
16791 Added gst_pad_set_checkgetrange_function to GstPad.
16793 2005-04-06 Andy Wingo <wingo@pobox.com>
16795 * pkgconfig/gstreamer-base.pc.in:
16796 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
16798 * pkgconfig/Makefile.am:
16799 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
16801 2005-04-04 Wim Taymans <wim@fluendo.com>
16803 * gst/base/Makefile.am:
16805 * gst/base/gstbasesink.c: (gst_basesink_base_init),
16806 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
16807 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
16808 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
16809 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
16810 (gst_basesrc_base_init), (gst_basesrc_class_init),
16811 (gst_basesrc_init), (gst_basesrc_get_formats),
16812 (gst_basesrc_get_query_types), (gst_basesrc_query),
16813 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
16814 (gst_basesrc_set_property), (gst_basesrc_get_property),
16815 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
16816 (gst_basesrc_loop), (gst_basesrc_activate),
16817 (gst_basesrc_change_state):
16818 * gst/base/gstbasesrc.h:
16819 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
16820 (gst_fakesrc_class_init), (gst_fakesrc_init),
16821 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
16822 (gst_fakesrc_get_property), (gst_fakesrc_create):
16823 * gst/elements/gstfakesrc.h:
16824 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
16825 (gst_filesrc_open_file), (gst_filesrc_loop),
16826 (gst_filesrc_activate), (filesrc_find_peek),
16827 (gst_filesrc_type_find):
16828 Made base source class, make fakesrc extend it.
16829 Add comments to basesink class.
16830 Some filesrc cleanup.
16832 2005-03-31 David Schleef <ds@schleef.org>
16834 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
16835 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
16836 expected to link against libgstreamer.
16837 * gst/base/Makefile.am: link against libgstreamer
16838 * gst/elements/Makefile.am: same
16840 2005-03-31 Andy Wingo <wingo@pobox.com>
16842 * tests/instantiate/Makefile.am:
16843 * tests/instantiate/caps.c: Add test to test speed of caps copy
16846 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
16847 GMemChunk to be fair.
16849 * gst/gsttrashstack.h: Remove warning about using the fallback
16850 trash stack implementation, it's still faster than malloc.
16852 2005-03-30 Andy Wingo <wingo@pobox.com>
16854 * tests/complexity.c: Add a copyright.
16856 2005-03-31 Wim Taymans <wim@fluendo.com>
16858 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
16859 (gst_base_transform_class_init), (gst_base_transform_init),
16860 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
16861 (gst_base_transform_get_property),
16862 (gst_base_transform_sink_activate),
16863 (gst_base_transform_src_activate),
16864 (gst_base_transform_change_state):
16865 * gst/base/gstbasetransform.h:
16866 * gst/elements/gstidentity.c: (gst_identity_class_init),
16867 (gst_identity_event), (gst_identity_check_perfect),
16868 (gst_identity_transform), (gst_identity_start),
16869 (gst_identity_stop):
16870 Added start/stop methods to transform base class so subclasses
16871 don't need to deal with state changes even.
16873 2005-03-31 Wim Taymans <wim@fluendo.com>
16875 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
16876 (gst_event_new_discontinuous), (gst_event_discont_get_value):
16878 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
16879 (gst_pad_pull_range):
16880 Added rate to the discont event to prepare for variable speed
16881 and reverse playback.
16883 2005-03-29 David Schleef <ds@schleef.org>
16886 * testsuite/trigger/Makefile.am:
16887 * testsuite/trigger/trigger.c: A little example program to show
16888 how trigger-based elements can work.
16890 2005-03-29 Wim Taymans <wim@fluendo.com>
16892 * gst/base/Makefile.am:
16894 * gst/base/gstbasesink.c: (gst_basesink_get_type),
16895 (gst_basesink_base_init), (gst_basesink_class_init),
16896 (gst_basesink_pad_getcaps), (gst_basesink_init),
16897 (gst_basesink_activate), (gst_basesink_change_state):
16898 * gst/base/gstbasesink.h:
16899 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
16900 (gst_base_transform_base_init), (gst_base_transform_finalize),
16901 (gst_base_transform_class_init), (gst_base_transform_init),
16902 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
16903 (gst_base_transform_event), (gst_base_transform_getrange),
16904 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
16905 (gst_base_transform_set_property),
16906 (gst_base_transform_get_property),
16907 (gst_base_transform_sink_activate),
16908 (gst_base_transform_src_activate),
16909 (gst_base_transform_change_state):
16910 * gst/base/gstbasetransform.h:
16911 * gst/elements/gstidentity.c: (gst_identity_finalize),
16912 (gst_identity_class_init), (gst_identity_init),
16913 (gst_identity_event), (gst_identity_check_perfect),
16914 (gst_identity_transform), (gst_identity_set_property),
16915 (gst_identity_get_property), (gst_identity_change_state):
16916 * gst/elements/gstidentity.h:
16917 * gst/gstelement.c: (gst_element_get_state_func),
16918 (gst_element_lost_state), (gst_element_pads_activate):
16919 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
16920 (gst_pad_check_pull_range), (gst_pad_pull_range):
16922 Simplify pad activation.
16923 Added function to check if pull_range can be performed.
16924 Error out when pulling inactive or flushing pads.
16925 Removed const from refcounted types as it does not make sense.
16926 Simplify pad templates in basesink
16927 Added base class for simple 1-to-1 transforms.
16928 Make identity subclass the base transform.
16930 2005-03-29 Andy Wingo <wingo@pobox.com>
16932 * docs/libs/gstreamer-libs-overrides.txt:
16933 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
16934 really don't understand what's going on, but like whatever. I want
16937 * docs/gst/Makefile.am:
16938 * docs/libs/Makefile.am: Dist the overrides files.
16940 * check/Makefile.am (clean-local): Remove .libs directories.
16942 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
16943 elements to EXTRA_DIST, so po/ files are happy.
16945 * po/POTFILES.in: Er, remove it here.
16947 * po/POTFILES: Remove gstspider.c.
16949 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
16951 * docs/libs/gstreamer-libs-docs.sgml:
16952 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
16955 * tests/complexity.c (main): Set the length of the preroll queue
16956 on the sinks to prevent a lockup.
16958 * libs/gst/dataprotocol/Makefile.am:
16959 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
16960 the same as the one in check/gst-libs/gdp.c.
16962 * po/, docs/gst/: Commit automatic changes to docs and po files.
16964 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
16965 the versioned libgstbase.
16967 * check/Makefile.am: Depend on an unversioned gst-register, seems
16968 to make autoconf happier.
16970 * gst/base/Makefile.am: Make libgstbase a versioned lib.
16972 2005-03-28 Wim Taymans <wim@fluendo.com>
16975 * docs/design/part-gstelement.txt:
16976 * docs/design/part-negotiation.txt:
16977 * docs/design/part-preroll.txt:
16978 * docs/design/part-scheduling.txt:
16979 * docs/design/part-states.txt:
16981 * gst/base/Makefile.am:
16983 * gst/base/gstbasesink.c: (gst_basesink_get_template),
16984 (gst_basesink_base_init), (gst_basesink_class_init),
16985 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
16986 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
16987 (gst_basesink_set_pad_functions),
16988 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
16989 (gst_basesink_set_property), (gst_basesink_get_property),
16990 (gst_base_sink_get_template), (gst_base_sink_get_caps),
16991 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
16992 (gst_basesink_preroll_queue_push),
16993 (gst_basesink_preroll_queue_empty),
16994 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
16995 (gst_basesink_event), (gst_basesink_get_times),
16996 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
16997 (gst_basesink_chain_unlocked), (gst_basesink_chain),
16998 (gst_basesink_loop), (gst_basesink_activate),
16999 (gst_basesink_change_state):
17000 * gst/base/gstbasesink.h:
17001 * gst/elements/Makefile.am:
17002 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
17003 (gst_fakesink_class_init), (gst_fakesink_init),
17004 (gst_fakesink_set_property), (gst_fakesink_get_property),
17005 (gst_fakesink_get_times), (gst_fakesink_event),
17006 (gst_fakesink_preroll), (gst_fakesink_render),
17007 (gst_fakesink_change_state):
17008 * gst/elements/gstfakesink.h:
17009 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
17010 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
17011 * gst/gstelement.c: (gst_element_add_pad),
17012 (gst_element_get_state_func), (gst_element_abort_state),
17013 (gst_element_commit_state), (gst_element_lost_state),
17014 (gst_element_set_state), (gst_element_pads_activate):
17015 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
17016 * gst/gstpipeline.c: (gst_pipeline_send_event),
17017 (gst_pipeline_change_state):
17018 Added state change code.
17019 Added/updated docs.
17020 Added sink base class, make fakesink extend the base class.
17021 Small cleanups in GstPipeline.
17023 2005-03-26 David Schleef <ds@schleef.org>
17025 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
17026 is broken and should be implemented in a different library.
17027 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
17028 * gst/gst.h: remove gstcpu.h
17029 * gst/gstcpu.c: remove
17030 * gst/gstcpu.h: remove
17031 * gst/Makefile.am.future: Remove this file. It's ancient.
17033 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17035 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
17036 (gst_bin_send_event):
17037 Add default event/set_manager handlers. The set_manager handler
17038 takes care that the manager is distributed over kids that were
17039 already in the bin before the manager was set. The event handler
17040 is a utility virtual function that sends the event over all sinks,
17041 so that gst_element_send_event (bin, event); has the expected
17043 * gst/gstpad.c: (gst_pad_event_default):
17044 Re-install default event handling for discontinuities, so that
17045 seeking works without requiring hacks in applications or extra
17047 * gst/gstpipeline.c: (gst_pipeline_class_init),
17048 (gst_pipeline_send_event):
17049 Half hack, half utility: set a pipeline to PAUSED for seek events,
17050 since that is the only way we can guarantee a/v sync. Means that
17051 you can do gst_element_seek (pipeline, method, pos); on a pipeline
17052 and it "just works".
17054 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17056 * gst/gstpipeline.c: (gst_pipeline_use_clock):
17057 Lock/unlock mismatch.
17059 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
17061 * docs/faq/gst-uninstalled:
17062 add gst-plugins-base
17063 * docs/gst/Makefile.am:
17064 don't error out until docs are fixed
17065 * docs/gst/gstreamer.types:
17068 2005-03-22 Wim Taymans <wim@fluendo.com>
17070 * check/Makefile.am:
17071 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
17072 * gst/gststructure.c: (gst_structure_set_valist),
17073 (gst_structure_copy_conditional):
17074 Activated more tests.
17075 Added message test.
17076 Added G_TYPE_POINTER to GstStructure.
17079 2005-03-22 Wim Taymans <wim@fluendo.com>
17081 * docs/design/part-TODO.txt:
17082 * docs/design/part-events.txt:
17083 * docs/design/part-gstbin.txt:
17084 * docs/design/part-gstbus.txt:
17085 * docs/design/part-gstpipeline.txt:
17086 * docs/design/part-messages.txt:
17088 * gst/gstmessage.c:
17091 2005-03-21 Wim Taymans <wim@fluendo.com>
17093 * gst/gstbus.c: (gst_bus_post):
17094 Fix copy-and-paste error.
17096 2005-03-21 Wim Taymans <wim@fluendo.com>
17098 * check/Makefile.am:
17100 * gst/elements/Makefile.am:
17101 * gst/elements/gstelements.c:
17102 * gst/elements/gstfakesink.c: (gst_fakesink_init),
17103 (gst_fakesink_event), (gst_fakesink_chain):
17104 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
17105 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
17106 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
17107 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
17108 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
17109 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
17110 (gst_fakesrc_loop), (gst_fakesrc_activate),
17111 (gst_fakesrc_change_state):
17112 * gst/elements/gstfakesrc.h:
17113 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
17114 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
17115 (gst_filesrc_open_file), (gst_filesrc_loop),
17116 (gst_filesrc_activate), (gst_filesrc_change_state),
17117 (filesrc_find_peek), (filesrc_find_suggest),
17118 (gst_filesrc_type_find):
17119 * gst/elements/gstidentity.c: (gst_identity_finalize),
17120 (gst_identity_class_init), (gst_identity_init),
17121 (gst_identity_proxy_getcaps), (identity_queue_push),
17122 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
17123 (gst_identity_getrange), (gst_identity_chain),
17124 (gst_identity_sink_loop), (gst_identity_src_loop),
17125 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
17126 (gst_identity_set_property), (gst_identity_get_property),
17127 (gst_identity_change_state):
17128 * gst/elements/gstidentity.h:
17129 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
17130 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
17131 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
17132 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
17133 (gst_tee_sink_activate):
17134 * gst/elements/gsttee.h:
17135 * gst/gst.c: (gst_register_core_elements), (init_post):
17137 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
17138 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
17139 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
17140 (gst_bin_change_state):
17142 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
17143 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
17144 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
17145 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
17146 (gst_bus_set_sync_handler), (gst_bus_create_watch),
17147 (bus_watch_callback), (bus_watch_destroy),
17148 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
17149 (poll_timeout), (gst_bus_poll):
17153 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
17154 (gst_element_post_message), (gst_element_message_full),
17155 (gst_element_get_state_func), (gst_element_get_state),
17156 (gst_element_abort_state), (gst_element_commit_state),
17157 (gst_element_lost_state), (gst_element_set_state),
17158 (gst_element_pads_activate), (gst_element_change_state),
17159 (gst_element_dispose), (gst_element_set_manager_func),
17160 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
17161 (gst_element_set_manager), (gst_element_get_manager),
17162 (gst_element_set_bus), (gst_element_get_bus),
17163 (gst_element_set_scheduler), (gst_element_get_scheduler):
17164 * gst/gstelement.h:
17165 * gst/gstevent.c: (gst_event_new_segment_seek),
17166 (gst_event_new_flush):
17168 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
17169 (_gst_message_free), (gst_message_get_type), (gst_message_new),
17170 (gst_message_new_eos), (gst_message_new_error),
17171 (gst_message_new_warning), (gst_message_new_tag),
17172 (gst_message_new_state_changed), (gst_message_new_application),
17173 (gst_message_get_structure), (gst_message_parse_tag),
17174 (gst_message_parse_state_changed), (gst_message_parse_error),
17175 (gst_message_parse_warning):
17176 * gst/gstmessage.h:
17177 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
17178 (gst_real_pad_set_property), (gst_pad_set_active),
17179 (gst_pad_is_active), (gst_pad_set_blocked_async),
17180 (gst_pad_set_blocked), (gst_pad_is_blocked),
17181 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
17182 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
17183 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
17184 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
17185 (gst_pad_link_filtered), (gst_pad_relink_filtered),
17186 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
17187 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
17188 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
17189 (gst_pad_set_caps), (gst_pad_configure_sink),
17190 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
17191 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
17192 (gst_real_pad_dispose), (gst_real_pad_finalize),
17193 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
17194 (gst_pad_event_default_dispatch), (gst_pad_event_default),
17195 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
17197 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
17198 (pipeline_bus_handler), (gst_pipeline_change_state),
17199 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
17200 * gst/gstpipeline.h:
17202 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
17203 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
17204 (gst_queue_link_src), (gst_queue_bufferalloc),
17205 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
17206 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
17207 (gst_queue_loop), (gst_queue_handle_src_event),
17208 (gst_queue_handle_src_query), (gst_queue_src_activate),
17209 (gst_queue_change_state):
17211 * gst/gstscheduler.c: (gst_scheduler_init),
17212 (gst_scheduler_dispose), (gst_scheduler_create_task),
17213 (gst_scheduler_factory_create):
17214 * gst/gstscheduler.h:
17215 * gst/gststructure.c: (gst_structure_get_type),
17216 (gst_structure_copy_conditional):
17217 * gst/gststructure.h:
17218 * gst/gsttaginterface.h:
17219 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
17220 (gst_task_init), (gst_task_dispose), (gst_task_create),
17221 (gst_task_get_state), (gst_task_start), (gst_task_stop),
17227 * gst/schedulers/Makefile.am:
17228 * gst/schedulers/cothreads_compat.h:
17229 * gst/schedulers/entryscheduler.c:
17230 * gst/schedulers/faircothreads.c:
17231 * gst/schedulers/faircothreads.h:
17232 * gst/schedulers/fairscheduler.c:
17233 * gst/schedulers/gstbasicscheduler.c:
17234 * gst/schedulers/gstoptimalscheduler.c:
17235 * gst/schedulers/gthread-cothreads.h:
17236 * gst/schedulers/threadscheduler.c:
17237 (gst_thread_scheduler_task_get_type),
17238 (gst_thread_scheduler_task_class_init),
17239 (gst_thread_scheduler_task_init),
17240 (gst_thread_scheduler_task_start),
17241 (gst_thread_scheduler_task_stop),
17242 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
17243 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
17244 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
17245 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
17247 * libs/gst/Makefile.am:
17248 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
17249 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
17250 (gst_file_pad_parent_set):
17251 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
17252 (gst_dp_event_from_packet):
17253 * tests/complexity.c: (main):
17254 * tests/mass_elements.c: (main):
17255 * testsuite/states/locked.c: (message_received), (main):
17256 * testsuite/states/parent.c: (main):
17257 * tools/gst-inspect.c: (print_element_flag_info),
17258 (print_implementation_info), (print_pad_info):
17259 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
17261 * tools/gst-md5sum.c: (event_loop), (main):
17262 * tools/gst-typefind.c: (main):
17263 * tools/gst-xmlinspect.c: (print_element_info):
17265 Added GstBus for mainloop integration.
17266 Added GstMessage for sending notifications on the bus.
17267 Added GstTask as an abstraction for pipeline entry points.
17269 Removed Schedulers.
17270 Simplified GstQueue for multithreaded core.
17271 Made _link threadsafe, removed old capsnego.
17272 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
17273 Added pad blocking functions.
17274 Reworked scheduling functions in GstPad to prepare for
17275 scheduling updates soon.
17276 Moved events out of data stream.
17277 Simplified GstEvent types.
17278 Added return values to push/pull.
17279 Removed clocking from GstElement.
17280 Added prototypes for state change function for next merge.
17281 Removed iterate from bins and state change management.
17282 Fixed some elements, disabled others for now.
17283 Fixed -inspect and -launch.
17284 Added check for GstBus.
17286 2005-03-10 Wim Taymans <wim@fluendo.com>
17288 * docs/design/part-MT-refcounting.txt:
17289 * docs/design/part-clocks.txt:
17290 * docs/design/part-gstelement.txt:
17291 * docs/design/part-gstobject.txt:
17292 * docs/design/part-standards.txt:
17293 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
17294 (gst_bin_remove_func), (gst_bin_remove):
17298 * testsuite/clock/clock1.c: (main):
17299 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
17301 * testsuite/dlopen/loadgst.c: (do_test):
17302 * testsuite/refcounting/bin.c: (add_remove_test1),
17303 (add_remove_test2), (main):
17304 * testsuite/refcounting/element.c: (main):
17305 * testsuite/refcounting/element_pad.c: (main):
17306 * testsuite/refcounting/pad.c: (main):
17307 * tools/gst-launch.c: (sigint_handler_sighandler):
17308 * tools/gst-typefind.c: (main):
17310 Added doc about clock.
17311 removed gst_bin_iterate_recurse_up(), marked methods
17313 Fix more testsuites.
17315 2005-03-09 Wim Taymans <wim@fluendo.com>
17317 * gst/gstpad.c: (gst_pad_get_direction),
17318 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
17319 (gst_pad_collect_valist):
17320 * testsuite/bins/interface.c: (main):
17321 * testsuite/caps/audioscale.c: (test_caps):
17322 * testsuite/caps/caps.c: (test1), (test2), (test3):
17323 * testsuite/caps/deserialize.c: (main):
17324 * testsuite/caps/enumcaps.c: (main):
17325 * testsuite/caps/filtercaps.c: (main):
17326 * testsuite/caps/intersect2.c: (main):
17327 * testsuite/caps/random.c: (main):
17328 * testsuite/caps/renegotiate.c: (my_fixate), (main):
17329 * testsuite/caps/sets.c: (check_caps):
17330 * testsuite/caps/simplify.c: (check_caps), (main):
17331 * testsuite/caps/subtract.c: (check_caps):
17332 Fix _pad_get_direction wrt ghostpads.
17333 Fix caps testsuite.
17335 2005-03-09 Wim Taymans <wim@fluendo.com>
17337 * check/Makefile.am:
17338 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
17339 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
17340 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
17341 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
17342 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
17343 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
17344 (gst_bin_remove), (gst_bin_iterate_recurse_up),
17345 (bin_element_is_sink), (gst_bin_iterate_sinks),
17346 (gst_bin_iterate_all_by_interface):
17348 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
17349 (gst_element_change_state), (gst_element_dispose),
17350 (gst_element_finalize), (gst_element_set_loop_function):
17351 * gst/gstelement.h:
17352 * gst/gstiterator.c: (find_custom_fold_func):
17353 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
17354 (gst_pad_collectv), (gst_pad_collect_valist),
17355 (gst_pad_template_new):
17356 * gst/gstpipeline.c: (gst_pipeline_class_init),
17357 (gst_pipeline_dispose), (gst_pipeline_set_property),
17358 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
17359 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
17360 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
17362 * gst/schedulers/entryscheduler.c:
17363 * gst/schedulers/gstbasicscheduler.c:
17364 (gst_basic_scheduler_cothreaded_chain),
17365 (gst_basic_scheduler_chain_add_element):
17366 * testsuite/bins/interface.c: (main):
17368 Added GstSystemClock test.
17369 Implemented clock distribution code in GstBin.
17370 Implemented iterate sinks method for future use.
17371 Rearranged gstelement.h
17372 Fix GstIterator comparison bug.
17373 Moved some code to GstPipeline, mostly clocking related.
17375 2005-03-09 Wim Taymans <wim@fluendo.com>
17378 * gst/gst_private.h:
17379 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
17380 (gst_bin_remove_func), (gst_bin_remove),
17381 (gst_bin_get_by_name_recurse_up):
17382 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
17383 (gst_clock_id_compare_func), (gst_clock_id_wait),
17384 (gst_clock_id_wait_async), (gst_clock_init),
17385 (gst_clock_adjust_unlocked), (gst_clock_get_time):
17386 * gst/gstelement.h:
17387 * gst/gstinfo.c: (_gst_debug_init):
17389 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
17390 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
17392 Bump version number, we're now 0.9.0
17393 Add future debugging category.
17394 Fix NULL _unref() in _get_by_name_recurse_up
17395 Rearrange gstpad.h.
17398 2005-03-08 Wim Taymans <wim@fluendo.com>
17400 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
17401 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
17402 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
17403 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
17404 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
17405 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
17406 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
17407 * gst/elements/gstidentity.c: (gst_identity_class_init):
17408 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
17409 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
17410 * gst/elements/gstshaper.c: (gst_shaper_class_init):
17411 * gst/elements/gststatistics.c: (gst_statistics_class_init):
17412 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
17414 * gst/gstelement.c: (gst_element_class_init),
17415 (gst_element_base_class_init), (gst_element_init),
17416 (gst_element_get_random_pad), (gst_element_wait_state_change),
17417 (gst_element_change_state), (gst_element_dispose),
17418 (gst_element_finalize), (gst_element_set_loop_function):
17419 * gst/gstelement.h:
17420 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
17421 * gst/gstthread.c: (gst_thread_class_init),
17422 (gst_thread_release_children_locks), (gst_thread_change_state):
17423 * gst/schedulers/gstbasicscheduler.c:
17424 (gst_basic_scheduler_loopfunc_wrapper),
17425 (gst_basic_scheduler_chain_wrapper),
17426 (gst_basic_scheduler_src_wrapper),
17427 (gst_basic_scheduler_remove_element):
17428 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
17429 Remove threadsafe properties. Fix elements because GObject
17430 complains when installing a property before declaring a
17431 set/get_property handler.
17432 Rearrange gstelement.h file, use STATE macros for state locks.
17433 Free mutexes in the finalize method instead of dispose.
17435 2005-03-08 Wim Taymans <wim@fluendo.com>
17437 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
17438 * gst/gstthread.c: (gst_thread_release_children_locks):
17439 Added parentage check.
17440 Fix build og GstThread again.
17442 2005-03-08 Wim Taymans <wim@fluendo.com>
17444 * docs/design/part-MT-refcounting.txt:
17445 * docs/design/part-conventions.txt:
17446 * docs/design/part-gstobject.txt:
17447 * docs/design/part-relations.txt:
17448 * docs/design/part-standards.txt:
17449 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
17450 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
17451 (gst_bin_get_by_name), (gst_bin_get_by_interface),
17452 (gst_bin_iterate_all_by_interface):
17455 * gst/gstelement.c: (gst_element_class_init),
17456 (gst_element_change_state), (gst_element_set_loop_function):
17457 * gst/gstelement.h:
17458 * gst/gstiterator.c:
17459 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
17460 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
17461 (gst_object_dispatch_properties_changed), (gst_object_set_name),
17462 (gst_object_set_parent), (gst_object_unparent),
17463 (gst_object_check_uniqueness):
17465 Docs updates, clean up some headers.
17467 2005-03-07 Wim Taymans <wim@fluendo.com>
17469 * check/.cvsignore:
17470 * check/Makefile.am:
17471 * check/gst-libs/.cvsignore:
17472 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
17473 * check/gst/.cvsignore:
17474 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
17475 (START_TEST), (gstbus_suite), (main):
17476 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
17477 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
17478 (gst_data_suite), (main):
17479 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
17480 (add_fold_func), (gstiterator_suite), (main):
17481 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
17482 (thread_name_object), (thread_name_object_default),
17483 (gst_object_name_compare), (gst_object_suite), (main):
17484 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
17485 (gst_pad_suite), (main):
17486 * check/gstcheck.c: (gst_check_log_message_func),
17487 (gst_check_log_critical_func), (gst_check_init):
17488 * check/gstcheck.h:
17489 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
17490 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
17493 2005-03-07 Wim Taymans <wim@fluendo.com>
17495 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
17496 (gst_list_iterator_next), (gst_list_iterator_resync),
17497 (gst_list_iterator_free), (gst_iterator_new_list),
17498 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
17499 (gst_iterator_free), (gst_iterator_push), (filter_next),
17500 (filter_resync), (filter_uninit), (filter_free),
17501 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
17502 (gst_iterator_foreach), (find_custom_fold_func),
17503 (gst_iterator_find_custom):
17504 * gst/gstiterator.h:
17505 Added missing files.
17507 2005-03-07 Wim Taymans <wim@fluendo.com>
17511 * docs/design/part-MT-refcounting.txt:
17512 * docs/design/part-conventions.txt:
17513 * docs/design/part-gstobject.txt:
17514 * docs/design/part-relations.txt:
17515 * examples/mixer/mixer.c: (main):
17516 * examples/thread/thread.c: (eos), (main):
17518 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
17519 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
17520 (gst_spider_plug_from_srcpad):
17521 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
17522 (gst_spider_identity_change_state),
17523 (gst_spider_identity_sink_loop_type_finding):
17524 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
17525 * gst/elements/gstidentity.c: (gst_identity_init):
17526 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
17527 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
17528 * gst/elements/gsttypefindelement.c: (free_entry):
17531 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
17532 (gst_bin_set_clock_func), (gst_bin_auto_clock),
17533 (gst_bin_set_index), (gst_bin_set_element_sched),
17534 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
17535 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
17536 (gst_bin_iterate_elements), (iterate_child_recurse),
17537 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
17538 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
17539 (compare_interface), (gst_bin_get_by_interface),
17540 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
17542 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
17543 (gst_buffer_default_free), (gst_buffer_default_copy),
17544 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
17545 (gst_buffer_create_sub):
17547 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
17548 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
17549 (gst_caps_unref), (gst_static_caps_get),
17550 (gst_caps_remove_and_get_structure), (gst_caps_append),
17551 (gst_caps_append_structure), (gst_caps_remove_structure),
17552 (gst_caps_copy_nth), (gst_caps_set_simple),
17553 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
17554 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
17555 (gst_caps_structure_intersect_field), (gst_caps_intersect),
17556 (gst_caps_structure_subtract_field), (gst_caps_subtract),
17557 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
17558 (gst_caps_structure_figure_out_union),
17559 (gst_caps_switch_structures), (gst_caps_do_simplify),
17560 (gst_caps_replace), (gst_caps_from_string),
17561 (gst_caps_copy_conditional):
17563 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
17564 (_gst_clock_id_free), (gst_clock_id_unref),
17565 (gst_clock_id_compare_func), (gst_clock_id_wait),
17566 (gst_clock_id_wait_async), (gst_clock_class_init),
17567 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
17568 (gst_clock_get_time), (gst_clock_set_time_adjust),
17569 (gst_clock_set_property), (gst_clock_get_property):
17572 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
17573 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
17575 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
17576 (gst_element_requires_clock), (gst_element_provides_clock),
17577 (gst_element_set_clock), (gst_element_clock_wait),
17578 (gst_element_wait), (gst_element_set_time_delay),
17579 (gst_element_is_indexable), (gst_element_add_pad),
17580 (gst_element_add_ghost_pad), (gst_element_remove_pad),
17581 (pad_compare_name), (gst_element_get_static_pad),
17582 (gst_element_request_pad), (gst_element_get_request_pad),
17583 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
17584 (gst_element_class_get_pad_template_list),
17585 (gst_element_class_get_pad_template), (gst_element_error_func),
17586 (gst_element_get_random_pad), (gst_element_get_event_masks),
17587 (gst_element_send_event), (gst_element_seek),
17588 (gst_element_get_query_types), (gst_element_query),
17589 (gst_element_get_formats), (gst_element_convert),
17590 (gst_element_is_locked_state), (gst_element_set_locked_state),
17591 (gst_element_sync_state_with_parent), (gst_element_change_state),
17592 (gst_element_finalize), (gst_element_yield),
17593 (gst_element_interrupt), (gst_element_set_scheduler),
17594 (gst_element_get_scheduler), (gst_element_set_loop_function):
17595 * gst/gstelement.h:
17597 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
17598 (gst_format_get_by_nick), (gst_format_get_details),
17599 (gst_format_iterate_definitions):
17601 * gst/gstindex.c: (gst_index_gtype_resolver):
17604 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
17605 (gst_mem_chunk_free):
17606 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
17607 (gst_object_ref), (gst_object_unref), (gst_object_sink),
17608 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
17609 (gst_object_dispatch_properties_changed),
17610 (gst_object_set_name_default), (gst_object_set_name),
17611 (gst_object_get_name), (gst_object_set_name_prefix),
17612 (gst_object_get_name_prefix), (gst_object_set_parent),
17613 (gst_object_get_parent), (gst_object_unparent),
17614 (gst_object_check_uniqueness), (gst_object_save_thyself),
17615 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
17616 (gst_object_set_property), (gst_object_get_property),
17617 (gst_object_get_path_string):
17619 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
17620 (gst_real_pad_init), (gst_real_pad_get_property),
17621 (gst_pad_custom_new), (gst_pad_get_direction),
17622 (gst_pad_set_active), (gst_pad_is_active),
17623 (gst_pad_set_event_function), (gst_pad_is_linked),
17624 (gst_pad_link_free), (gst_pad_link_intersect),
17625 (gst_pad_link_fixate), (gst_pad_set_caps),
17626 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
17627 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
17628 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
17629 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
17630 (gst_pad_get_caps), (gst_pad_peer_get_caps),
17631 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
17632 (gst_pad_realize), (gst_pad_get_allowed_caps),
17633 (gst_real_pad_dispose), (gst_real_pad_finalize),
17634 (gst_pad_collectv), (gst_pad_collect_valist),
17635 (gst_pad_template_dispose), (gst_pad_template_new),
17636 (gst_pad_get_internal_links):
17638 * gst/gstpipeline.c: (gst_pipeline_dispose),
17639 (gst_pipeline_change_state):
17640 * gst/gstpipeline.h:
17642 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
17643 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
17644 * gst/gstpluginfeature.h:
17645 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
17646 * gst/gstquery.c: (_gst_query_type_initialize),
17647 (gst_query_type_register), (gst_query_type_get_by_nick),
17648 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
17650 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
17651 * gst/gstscheduler.c: (gst_scheduler_add_element),
17652 (gst_scheduler_factory_create):
17653 * gst/gststructure.c: (gst_structure_set_parent_refcount),
17654 (gst_structure_free), (gst_structure_set_name),
17655 (gst_structure_id_set_value), (gst_structure_set_value),
17656 (gst_structure_set_valist), (gst_structure_remove_field),
17657 (gst_structure_remove_fields),
17658 (gst_structure_remove_fields_valist),
17659 (gst_structure_remove_all_fields), (gst_structure_foreach),
17660 (gst_structure_map_in_place),
17661 (gst_caps_structure_fixate_field_nearest_int),
17662 (gst_caps_structure_fixate_field_nearest_double):
17663 * gst/gststructure.h:
17664 * gst/gstsystemclock.c: (gst_system_clock_class_init),
17665 (gst_system_clock_init), (gst_system_clock_dispose),
17666 (gst_system_clock_async_thread),
17667 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
17668 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
17669 * gst/gstsystemclock.h:
17670 * gst/gsttag.c: (gst_tag_list_add_value_internal),
17671 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
17672 * gst/gsttaginterface.c:
17673 * gst/gstthread.c: (gst_thread_dispose),
17674 (gst_thread_release_children_locks), (gst_thread_change_state),
17675 (gst_thread_main_loop):
17676 * gst/gsttrashstack.h:
17677 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
17679 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
17680 (gst_element_request_pad), (gst_element_get_pad_from_template),
17681 (gst_element_request_compatible_pad),
17682 (gst_element_get_compatible_pad_filtered),
17683 (gst_element_get_compatible_pad), (gst_element_state_get_name),
17684 (gst_element_link_pads_filtered), (gst_element_link_filtered),
17685 (gst_element_link_many), (gst_element_link),
17686 (gst_element_link_pads), (gst_element_unlink_pads),
17687 (gst_element_unlink_many), (gst_element_unlink),
17688 (gst_pad_can_link_filtered), (gst_pad_can_link),
17689 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
17690 (gst_object_default_error), (gst_bin_add_many),
17691 (gst_bin_remove_many), (gst_element_populate_std_props),
17692 (gst_element_class_install_std_props), (gst_buffer_merge),
17693 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
17694 (link_fold_func), (gst_pad_proxy_setcaps):
17696 * gst/gstvalue.c: (gst_value_deserialize_string):
17697 * gst/parse/grammar.y:
17698 * gst/schedulers/gstbasicscheduler.c:
17699 (gst_basic_scheduler_cothreaded_chain),
17700 (gst_basic_scheduler_chain_recursive_add),
17701 (gst_basic_scheduler_pad_link):
17702 * gst/schedulers/gstoptimalscheduler.c:
17703 (get_group_schedule_function),
17704 (gst_opt_scheduler_state_transition),
17705 (gst_opt_scheduler_add_element), (element_get_reachables_func):
17706 * libs/gst/bytestream/bytestream.c:
17707 * libs/gst/dataprotocol/dataprotocol.c:
17708 (gst_dp_header_from_buffer):
17711 * tests/threadstate/threadstate2.c: (eos):
17712 * tools/gst-compprep.c: (main):
17713 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
17714 (print_pad_info), (print_children_info):
17715 * tools/gst-launch.c: (idle_func), (main):
17716 * tools/gst-md5sum.c: (idle_func), (main):
17717 * tools/gst-xmlinspect.c: (print_element_info):
17718 First THREADED backport attempt, focusing on adding locks and
17719 making sure the API is threadsafe. Needs more work. More docs
17722 2005-02-24 Andy Wingo <wingo@pobox.com>
17724 * tests/bench-complexity.scm:
17725 * tests/complexity.gnuplot: New files, good for running complexity
17728 * tests/Makefile.am:
17729 * tests/complexity.c: New test, sets up N elements, at each level
17730 teeing into M streams per element. Eeeenteresting.
17732 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
17733 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
17734 running bench-mass_elements.scm.
17736 * tests/bench-mass_elements.scm: New script, runs mass_elements
17737 for various numbers of identities, outputting the results to a
17738 file. Requires guile 1.6. Just for testing.
17740 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
17742 * gst/schedulers/fairscheduler.c:
17743 compile with debug disabled
17745 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
17748 hunting season on 0.9 is now OPEN