1 2008-04-30 Tim-Philipp Müller <tim.muller at collabora co uk>
3 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
4 Since we're not called only from the chain function any longer,
5 we can't assume that there's always data in the queue, so move
6 the is_full check to the beginning of the loop (otherwise we'd
7 hit the assert when changing the limit properties while the
8 queue is empty or not running yet).
9 Also, only set a discont if items were actually removed from
12 * tests/check/elements/queue.c: (test_leaky_downstream):
13 Test case for the above.
15 2008-04-30 Wim Taymans <wim.taymans@collabora.co.uk>
17 Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
19 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
20 (gst_queue_chain), (queue_capacity_change),
21 (gst_queue_set_property):
22 When changing thr max capacity of a leaky queue, immediatly drop buffers
23 instead of waiting for a push on the sinkpad. Fixes #530637.
25 2008-04-30 Stefan Kost <ensonic@users.sf.net>
27 * gst/gstdebugutils.c:
28 Refactor code and fix handling of ghostpads and their proxypads.
30 2008-04-29 Wim Taymans <wim.taymans@collabora.co.uk>
32 * docs/gst/gstreamer-sections.txt:
33 * gst/gstevent.c: (gst_event_has_name):
35 * tests/check/gst/gstevent.c: (GST_START_TEST):
36 Add method to conveniently check the name of a custom event with
38 Reformat the event docs so that related methods are put together instead
39 of the default alphabetical sort.
40 Update unit test with new method.
41 API: GstEvent::gst_event_has_name()
43 2008-04-28 Michael Smith <msmith@songbirdnest.com>
45 * libs/gst/check/Makefile.am:
46 Don't add an explicit link to libgstreamer-0.10.la; it's already
47 included in GST_OBJ_LIBS.
49 2008-04-28 Sebastian Dröge <slomo@circular-chaos.org>
52 Register GstClock type from a type-safe context. Fixes bug #530317.
54 2008-04-25 Michael Smith <msmith@songbirdnest.com>
56 Patch by Edward Hervey <edward.hervey@collabora.co.uk>
58 Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
60 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
62 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
64 Use the GLib stuff to create a private structure.
65 Add some locking around some dispose methods to make them a little
66 safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
68 2008-04-25 Stefan Kost <ensonic@users.sf.net>
70 * libs/gst/base/gstbasesink.h:
71 * libs/gst/base/gstbasesrc.h:
72 * libs/gst/base/gstbasetransform.h:
73 * libs/gst/base/gstcollectpads.h:
74 Fix doc typos and unify caps a bit.
76 2008-04-25 Stefan Kost <ensonic@users.sf.net>
78 * tools/gst-launch.1.in:
79 Forgot to also add the envvar docs here.
81 2008-04-25 Tim-Philipp Müller <tim at centricular dot net>
83 * gst/gst.c: (init_post), (gst_deinit):
84 * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
85 (test_concurrent_create), (gst_pipeline_suite):
86 Ref some more classes in gst_init() to work around thread-safety
87 issues in pre-2.16 GLibs, and add basic unit test.
89 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
91 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
92 (gst_base_sink_send_event):
93 Rearrange the latency query code. We always want to do the upstream
94 query, even if we are not live so that the upstream elements can get the
95 latency results too. If we fail doing the query and we are live, we
96 return TRUE afterwards.
98 2008-04-24 Stefan Kost <ensonic@users.sf.net>
100 patch by: Jason Zhao <e3423c@motorola.com>
102 * docs/gst/running.xml:
104 Enable/disable scan_and_update_registry() based on commandline switch
105 or environment variable. Fixes #520468.
108 Fix typo in my previous commit.
110 2008-04-24 Stefan Kost <ensonic@users.sf.net>
112 * gst/gstregistrybinary.c:
113 Add a warning if we hit unhandled factories when saving.
114 More debug logging detail, but move to LOG category.
116 2008-04-24 Stefan Kost <ensonic@users.sf.net>
119 Tell the *truth* when improving the documentation.
121 2008-04-23 Sebastian Dröge <slomo@circular-chaos.org>
123 * gst/gstelementfactory.c: (gst_element_factory_make):
124 Unref the factory after it was used the last time, not before.
126 * gst/gstindexfactory.c: (gst_index_factory_make):
127 Improve debugging a bit and don't leak a ref to the index factory with
130 2008-04-23 Stefan Kost <ensonic@users.sf.net>
133 Improve the documentation.
135 2008-04-23 Stefan Kost <ensonic@users.sf.net>
138 The glib macro seems to be borked. Use g_slice_copy directly and cast
139 in the hope that this fixes the warning on 64bit.
141 2008-04-23 Stefan Kost <ensonic@users.sf.net>
144 Document the new function. Use g_slice_dup() (no need for
147 2008-04-23 Stefan Kost <ensonic@users.sf.net>
149 * docs/gst/gstreamer-sections.txt:
150 Move GParamSepc macros to standart section.
153 Dn't document _get_type - its in private section in docs anyway and
154 this doc-blob was incomplete.
157 Fix wrong symbol names in docs.
160 Add once doc sentence.
162 * tests/check/gst/.cvsignore:
165 2008-04-21 Stefan Kost <ensonic@users.sf.net>
167 * docs/gst/Makefile.am:
168 And remove those libs here.
170 2008-04-21 Tim-Philipp Müller <tim at centricular dot net>
172 * docs/libs/Makefile.am:
173 Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
175 2008-04-21 Wim Taymans <wim.taymans@collabora.co.uk>
177 Patch by: Olivier Crete <tester at tester dot ca>
179 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
180 Add the min-threshold to the min latency if possible. Fixes #529148.
182 2008-04-21 Stefan Kost <ensonic@users.sf.net>
184 * docs/gst/gstreamer.types.in:
185 Stupid editor, I removed that line as it should go in yet.
187 2008-04-21 Stefan Kost <ensonic@users.sf.net>
189 * docs/gst/gstreamer.types.in:
190 * docs/libs/gstreamer-libs.types:
191 Remove library types fro core docs and have them in libs docs.
192 Reformat and cleanup. Add comment for miniobject types.
194 2008-04-20 Tim-Philipp Müller <tim at centricular dot net>
196 * gst/gsturi.c: (gst_uri_get_protocol):
197 Fix leak: g_strdown operates on the string in place, while
198 g_ascii_strdown() returns a newly-allocated string.
200 2008-04-20 Sebastian Dröge <slomo@circular-chaos.org>
202 * tools/gst-inspect.c: (print_uri_handler_info),
203 (print_element_info):
204 Print the URI protocols and the URI type supported by the element.
206 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
208 * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
209 Use g_value_take_string() instead of the deprecated
210 g_value_set_string_take_ownership().
212 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
214 * gst/gstregistrybinary.c: (_gst_crc32):
215 Return the old CRC instead of 0 if we give a NULL buffer
216 or a buffer with a length of 0.
218 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
220 * gst/gsturi.c: (gst_uri_protocol_check_internal),
221 (gst_uri_get_protocol), (gst_uri_has_protocol),
222 (gst_uri_construct), (gst_uri_handler_set_uri):
223 A valid URI scheme can also include '+', '-' and '.' additional
224 to alphanumeric characters as per RFC 3986 Section 3.1.
226 Handle URI schemes case insensitive in all places and convert
227 to lower-case when constructing an URI or setting an URI with
228 the GstURIHandler interface. Fixes bug #528868.
229 All elements can still assume (as before) that they will
230 get passed URIs with a lower-case URI scheme by the GstURIHandler
233 2008-04-17 Tim-Philipp Müller <tim at centricular dot net>
235 * gst/gstcaps.c: (gst_static_caps_get):
236 * gst/gstclock.c: (gst_clock_entry_new):
237 Don't use g_atomic_set_int where it's not needed.
239 2008-04-17 Wim Taymans <wim.taymans@collabora.co.uk>
241 * gst/gstvalue.c: (gst_value_deserialize_caps):
242 * gst/parse/grammar.y:
245 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
247 * gst/gstutils.c: (gst_atomic_int_set):
248 Use g_atomic_int_set() here too instead of assignment +
251 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
255 API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
256 now that we depend on new enough GLib.
258 * gst/gstcaps.c: (gst_static_caps_get):
259 * gst/gstclock.c: (gst_clock_entry_new):
260 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
261 (gst_debug_set_default_threshold), (_gst_debug_category_new),
262 (gst_debug_category_set_threshold):
263 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
264 (gst_base_sink_set_qos_enabled):
265 * libs/gst/net/gstnettimeprovider.c:
266 (gst_net_time_provider_set_property):
267 Use g_atomic_int_set() instead of gst_atomic_int_set().
269 2008-04-16 Stefan Kost <ensonic@users.sf.net>
272 Also use G_GINT64_CONSTANT for the queries.
274 2008-04-16 Stefan Kost <ensonic@users.sf.net>
277 Use G_GINT64_CONSTANT in varargs function.
279 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
281 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
282 Initialize the registry magic with zeroes.
284 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
286 * gst/gstregistrybinary.c: (_gst_crc32),
287 (gst_registry_binary_write),
288 (gst_registry_binary_initialize_magic),
289 (gst_registry_binary_write_cache),
290 (gst_registry_binary_check_magic),
291 (gst_registry_binary_read_cache):
292 * gst/gstregistrybinary.h:
293 Add crc32 checksum to the binary registry file and check this before
294 accepting a registry file.
296 Also free the data list when writing to the registry file fails.
298 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
300 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
301 (gst_registry_binary_load_feature),
302 (gst_registry_binary_load_plugin):
303 If an element supports the Uri interface, returns a valid pointer
304 to the supported URI protocols but this pointer contains nothing
305 don't try to save that as it will corrupt the registry.
307 Don't unref the plugin if we added it to the registry already but
308 fail to load a feature as gst_registry_add_plugin() takes ownership
311 Improve debugging a bit.
313 2008-04-16 Stefan Kost <ensonic@users.sf.net>
316 Clarify some tag item docs after discussion on irc.
318 2008-04-15 Stefan Kost <ensonic@users.sf.net>
320 * docs/gst/gstreamer-docs.sgml:
321 Remove commented out plugins (they have their own docs). Update
324 2008-04-15 Stefan Kost <ensonic@users.sf.net>
326 * docs/gst/gstreamer-docs.sgml:
327 * docs/gst/gstreamer-sections.txt:
328 * gst/gstparamspecs.c:
329 * gst/gstparamspecs.h:
330 Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
334 This now only documents GValue.
336 * docs/libs/gstreamer-libs-sections.txt:
337 * libs/gst/controller/gstcontroller.h:
338 Remove GST_PARAM_CONTROLLABLE.
340 2008-04-15 Stefan Kost <ensonic@users.sf.net>
343 Correct file path. Tell about how to use -overrides.txt.
344 * docs/design/draft-tagreading.txt:
347 2008-04-14 Sebastian Dröge <slomo@circular-chaos.org>
349 * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
350 (gst_registry_binary_load_plugin):
351 Fix a typo in a debug message and revert change from yesterday as
352 gst_registry_add_plugin() will only fail if something is really wrong
353 already and we can't survive it anyway.
355 2008-04-14 Tim-Philipp Müller <tim at centricular dot net>
357 * gst/gst.c: (init_post), (gst_deinit):
358 Pre-register GstGError GType from a thread-safe context
359 (fixes #527967); unref enum type classes in deinit.
361 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
363 Patch by: Rene Stadler <mail at renestadler de>
365 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
366 Merging an empty list with another list in KEEP_ALL mode should
367 yield an empty list as result and not the second list (#512578).
369 * tests/check/gst/gsttagsetter.c:
370 Add unit test for tag merge modes and the aforementioned bug.
372 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
374 Patch by: Rene Stadler <mail at renestadler de>
377 Fix description to match the order in the table (#512577).
379 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
381 Patch by: Kwang Yul Seo <kwangyul.seo gmail com>
383 * libs/gst/net/gstnettimepacket.h:
384 * docs/libs/gstreamer-libs-sections.txt:
385 Define socklen_t as int if it's not defined yet. Fixes compilation
386 with MSVC6 and other versions where socklen_t is not defined in
387 the windows headers (#518022).
389 2008-04-13 Sebastian Dröge <slomo@circular-chaos.org>
391 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
392 If gst_registry_add_plugin() fails our reference to the plugin is
393 invalid so don't try to use it anymore and instead error out.
395 2008-04-12 Tim-Philipp Müller <tim at centricular dot net>
397 * tools/gst-xmlinspect.c: (print_element_info), (main):
398 De-cruft a bit. If no argument is specified, print all elements in
399 XML syntax rather than a freestyle list of elements like gst-inspect.
400 Also, don't print XML header chunk unless we actually have something
401 to print (ie. don't print it before an error message); print error
402 message to stderr not stdout. Remove support for printing plugin
403 info (it would just output something freestyle along the lines of
404 gst-inspect so far), which fixes #514507. Also add license header.
406 2008-04-11 Julien Moutte <julien@fluendo.com>
409 * configure.ac: Merge platform specific defines, introduce a new
410 define on OS X to remember that forking when updating registry is
412 * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
414 * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
416 * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
417 condition that leads to absolutely no plugins being registered on
420 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
422 Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
424 * gst/gstutils.c: (gst_pad_add_data_probe),
425 (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
426 (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
427 (gst_pad_add_buffer_probe_full):
429 * docs/gst/gstreamer-sections.txt:
430 * win32/common/libgstreamer.def:
431 Add gst_pad_add_*_probe_full() functions with a notify callback that
432 lets the caller free the data it passes to the probe functions. This
433 is useful for bindings such as gst-python or gstreamermm (#526814).
434 API: gst_pad_add_data_probe_full
435 API: gst_pad_add_buffer_probe_full
436 API: gst_pad_add_event_probe_full
438 * tests/check/gst/gstutils.c:
439 Add minimal unit test to make sure freeing the data actually works
442 * tests/benchmarks/.cvsignore:
443 Random cvsignore addendum.
445 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
447 * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
448 (GST_DEBUG_BIN_TO_DOT_FILE):
449 Mention GstDebugGraphDetails enum type in doc blurb so we get a link
450 to it in the docs (since these are macros the types of the arguments
451 won't be shown in the docs otherwise).
453 2008-04-10 Stefan Kost <ensonic@users.sf.net>
456 Do not abort on out of memory for pad_alloc_buffer.
458 2008-04-10 Stefan Kost <ensonic@users.sf.net>
460 * libs/gst/check/gstcheck.c:
461 Remove blank line between symbol name ad parameters to fix gtkdoc
464 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
466 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
468 * docs/gst/gstreamer-sections.txt:
471 * win32/common/libgstreamer.def:
472 Expose gst_segment_copy() to make things easier for the c++ bindings.
474 API: gst_segment_copy()
476 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
478 * gst/gst.c: (gst_init_get_option_group), (init_post):
479 Fix const position; ref GType classes for enum types to work
480 around thread-safety issues in GLib versions < 2.16.
482 2008-04-09 Wim Taymans <wim.taymans@collabora.co.uk>
484 * docs/design/part-buffering.txt:
485 Fix some typos and set the estimated total for push mode to -1.
487 * gst/gstquery.c: (gst_query_new_buffering):
488 Set buffering-left to 0 as we're not buffering by default.
490 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
491 Implement BUFFERING query.
493 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
495 Based on patch by: Milosz Derezynski <internalerror gmail com>
497 * gst/gsterror.c: (_gst_stream_errors_init):
499 Add two new error codes for encrypted content. Fixes #524659.
500 API: GST_STREAM_ERROR_DECRYPT
501 API: GST_STREAM_ERROR_DECRYPT_NOKEY
503 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
508 * win32/common/libgstreamer.def:
511 2008-04-09 Sebastian Dröge <slomo@circular-chaos.org>
513 * plugins/elements/gstidentity.c: (gst_identity_event),
514 (gst_identity_start):
515 Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
516 event after processing some data. Fixes bug #526042.
518 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
520 * docs/gst/gstreamer-sections.txt:
521 * gst/gstquery.c: (gst_query_parse_latency),
522 (gst_query_set_buffering_percent),
523 (gst_query_parse_buffering_percent),
524 (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
526 Rename _avail -> _range
527 API: gst_query_set_buffering_range
528 API: gst_query_parse_buffering_range
530 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
532 * docs/design/part-buffering.txt:
535 * gst/gstquery.c: (gst_query_parse_latency),
536 (gst_query_new_buffering), (gst_query_set_buffering_percent),
537 (gst_query_parse_buffering_percent):
539 Add busy field and quark for the buffering query so that the app can
540 only use the query to see if buffering is in progress.
542 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
544 * docs/gst/gstreamer-sections.txt:
545 * gst/gstmessage.c: (gst_message_set_buffering_stats),
546 (gst_message_parse_buffering_stats):
548 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
549 (gst_query_parse_latency), (gst_query_new_buffering),
550 (gst_query_set_buffering_percent),
551 (gst_query_parse_buffering_percent),
552 (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
553 (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
555 Reorder the message docs and headers for clarity.
556 Add aditional buffering stats API for messages.
558 Convert some leftover queries to use GstQuark.
559 API: gst_message_set_buffering_stats
560 API: gst_message_parse_buffering_stats
561 API: GST_QUERY_BUFFERING
562 API: GstBufferingMode
563 API: gst_query_new_buffering
564 API: gst_query_set_buffering_percent
565 API: gst_query_parse_buffering_percent
566 API: gst_query_set_buffering_stats
567 API: gst_query_parse_buffering_stats
569 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
571 * gst/gstmessage.c: (gst_message_new_error),
572 (gst_message_new_warning), (gst_message_new_info),
573 (gst_message_new_buffering), (gst_message_new_state_changed),
574 (gst_message_new_clock_provide), (gst_message_new_clock_lost),
575 (gst_message_new_new_clock), (gst_message_new_segment_start),
576 (gst_message_new_segment_done), (gst_message_new_duration),
577 (gst_message_new_async_start), (gst_message_parse_buffering),
578 (gst_message_parse_state_changed),
579 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
580 (gst_message_parse_new_clock), (gst_message_parse_error),
581 (gst_message_parse_warning), (gst_message_parse_info),
582 (gst_message_parse_segment_start),
583 (gst_message_parse_segment_done), (gst_message_parse_duration),
584 (gst_message_parse_async_start):
585 Use GstQuark for messages.
587 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
589 * gst/gstquark.c: (_priv_gst_quarks_initialize):
591 Add some more quarks needed for messages and queries.
593 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
595 * docs/design/part-buffering.txt:
596 Remove the "none" buffering mode, STREAM is a good default.
597 Move estimated-time to the avail query, that's when it will be needed.
598 Other small typo fixes and updates.
600 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
602 * gst/gstindex.c: (gst_index_resolver_get_type):
603 Don't put descriptions into the nick field of a GEnumValue: it's not
604 meant for that and some language bindings rely on the nick field to
605 construct constants and the like. Fixes #526705.
607 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
612 Merge other changes from 0.10.19 release branch.
614 2008-04-06 Sebastian Dröge <slomo@circular-chaos.org>
616 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
619 Actually build dlls when cross-compiling with mingw32.
622 2008-04-05 Sebastian Dröge <slomo@circular-chaos.org>
624 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
627 Fix compilation of GstPoll with mingw32. Fixes bug #526236.
629 2008-04-04 Wim Taymans <wim.taymans@collabora.co.uk>
631 * docs/design/draft-latency.txt:
634 * docs/design/part-buffering.txt:
635 Update design docs with more buffering ideas.
637 2008-04-03 Tim-Philipp Müller <tim at centricular dot net>
640 Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
642 2008-04-03 Stefan Kost <ensonic@users.sf.net>
645 Revert part that belongs to the preset patch.
647 2008-04-03 Stefan Kost <ensonic@users.sf.net>
650 Add qoutes to the define. Fixes # 525961.
652 2008-04-03 Sebastian Dröge <slomo@circular-chaos.org>
654 * plugins/indexers/gstfileindex.c: (_file_index_id_free),
655 (gst_file_index_load), (gst_file_index_add_id),
656 (gst_file_index_get_assoc_entry):
657 * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
658 (gst_mem_index_free_id), (gst_mem_index_add_id),
659 (gst_mem_index_index_format):
660 Use GSlice when possible.
662 2008-04-02 Sebastian Dröge <slomo@circular-chaos.org>
664 * libs/gst/controller/gstinterpolationcontrolsource.c:
665 (gst_control_point_free),
666 (gst_interpolation_control_source_set_internal):
667 Use GSlice for allocating the control points.
669 2008-04-02 Wim Taymans <wim.taymans@collabora.co.uk>
671 * plugins/elements/gsttypefindelement.c:
672 (gst_type_find_element_class_init),
673 (gst_type_find_element_set_property),
674 (gst_type_find_element_get_property),
675 (gst_type_find_element_activate):
676 * plugins/elements/gsttypefindelement.h:
678 Fix pad leak when peer query fails.
679 We can still typefind when the peer returns -1.
680 Add property to force caps and bypass typefinding. This will be used in
684 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
689 * gst/glib-compat-private.h:
690 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
691 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
692 Unconditionally use GSlice for allocation.
694 * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
695 * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
696 * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
697 (gst_structure_free):
698 Use GSlice for allocation.
700 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
702 * gst/parse/Makefile.am:
703 * gst/parse/grammar.tab.pre.c:
704 * gst/parse/grammar.tab.pre.h:
705 * gst/parse/lex._gst_parse_yy.pre.c:
706 Require a new enough flex and bison and remove the parser hacks to use
707 a pre-regenerated version.
709 2008-04-01 Julien Moutte <julien@fluendo.com>
711 patch by: Jason Zhao <E3423C@motorola.com>
713 * configure.ac: Add a configure switch to disable option parsing
717 2008-03-31 Stefan Kost <ensonic@users.sf.net>
721 MacOS has plugins under .so or under .dylib. Add detection for MacOS
722 and handle this case.
725 Add a comment here describing, why we stat each plugin and not try to
728 2008-03-31 Sebastian Dröge <slomo@circular-chaos.org>
730 * libs/gst/base/gstbasetransform.c:
731 (gst_base_transform_prepare_output_buffer):
732 Also unset the GAP flag on buffers if we're working inplace but
733 the element is not GAP-aware.
735 Mark a comment as FIXME 0.11.
737 2008-03-31 Stefan Kost <ensonic@users.sf.net>
740 Fix type in log message and add one to ease seeing how long registry
741 cache verification takes.
744 Only test plugin filenames against G_MODULE_SUFFIX.
746 2008-03-31 Stefan Kost <ensonic@users.sf.net>
748 * gst/gstdebugutils.c:
749 Improve handling ghost/proxy pads.
751 2008-03-27 Stefan Kost <ensonic@users.sf.net>
753 * docs/gst/gstreamer-sections.txt:
756 Expose macro to docs and fix link to it.
758 2008-03-27 Michael Smith <msmith@fluendo.com>
760 * libs/gst/dataprotocol/dataprotocol.c:
761 (gst_dp_packet_from_event_1_0):
762 When calculating GDP body CRC, use the correct pointer.
763 Fixes part of #522401.
765 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
767 Patch by: Mark Nauwelaerts <manauw at skynet be>
769 * plugins/elements/gstidentity.c: (gst_identity_class_init),
770 (gst_identity_init), (gst_identity_prepare_output_buffer):
771 Identity is not always a passthrough element, it can modify the buffer
772 timestamps when it has a datarate and operates in single-segment mode.
773 We therefore make it an in_place filter with a custom buffer prepare
774 function that conditionally makes the input buffer metadata writable
775 when needed. Fixes #523985.
777 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
779 Patch by: Mark Nauwelaerts <manauw at skynet be>
782 * libs/gst/base/gstbasesrc.h:
783 * libs/gst/base/gstbasetransform.c:
784 * libs/gst/check/gstcheck.c:
785 Small documentation fixes. Fixes #523978.
787 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
789 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
790 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
791 Also retry our poll_wait when we get EAGAIN. Fixes #524041.
793 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
795 * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
796 (single_queue_underrun_cb):
797 When trying to make room in the queue, bump the max allowed buffers
798 bigger than the current amount of buffers in the queue. this fixes some
799 nasty deadlocks in multiqueue when dynamically changing the limits of
802 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
804 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
806 * gst/gstcaps.c: (gst_caps_set_simple),
807 (gst_caps_set_simple_valist), (gst_caps_intersect):
809 Constify the field gchar * params in set_simple and friends.
812 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
814 * gst/gstvalue.c: (gst_value_transform_object_string):
815 Transform a GstObject to a more meaningfull string that includes the
816 object type in addition to its name.
818 2008-03-23 Stefan Kost <ensonic@users.sf.net>
821 ChangeLog surgery to add bugnumber to commit.
823 2008-03-23 Rene Stadler <mail@renestadler.de>
825 * libs/gst/base/gstbasetransform.c:
826 (gst_base_transform_set_gap_aware): Fix confusing documentation.
828 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
830 * gst/gstregistrybinary.c: (gst_registry_binary_write):
831 Rename constant everywhere and don't forget one occurence.
833 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
835 * gst/gstregistrybinary.c: (gst_registry_binary_write):
836 Align memory to the pointer size even if the architecture allows
837 unaligned memory access. Unaligned memory access usually comes with
838 performance penality.
840 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
842 * gst/gstregistrybinary.c: (gst_registry_binary_write),
843 (gst_registry_binary_check_magic),
844 (gst_registry_binary_load_pad_template),
845 (gst_registry_binary_load_feature),
846 (gst_registry_binary_load_plugin):
847 Align memory to the pointer size instead of always 32 bit. Fixes
848 unaligned memory accesses on ia64 and friends.
850 * gst/gstregistrybinary.h:
851 Bump binary registry format version for this as it changes the
852 format on those architectures that don't have unaligned access
855 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
857 * docs/pwg/advanced-dparams.xml:
858 * docs/pwg/building-props.xml:
859 * docs/pwg/other-source.xml:
861 * gst/gstbin.c: (gst_bin_class_init):
862 * gst/gstclock.c: (gst_clock_class_init):
863 * gst/gstindex.c: (gst_index_class_init):
864 * gst/gstobject.c: (gst_object_class_init):
865 * gst/gstpad.c: (gst_pad_class_init):
866 * gst/gstpipeline.c: (gst_pipeline_class_init):
867 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
868 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
869 * libs/gst/base/gstbasetransform.c:
870 (gst_base_transform_class_init):
871 * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
872 * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
873 (_gst_check_fault_handler_sighandler),
874 (_gst_check_fault_handler_setup), (gst_check_init):
875 * libs/gst/controller/gstcontroller.c:
876 (_gst_controller_class_init):
877 * libs/gst/controller/gstlfocontrolsource.c:
878 (gst_lfo_control_source_class_init):
879 * libs/gst/net/gstnetclientclock.c:
880 (gst_net_client_clock_class_init):
881 * libs/gst/net/gstnettimeprovider.c:
882 (gst_net_time_provider_class_init):
883 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
884 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
885 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
886 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
887 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
888 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
889 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
890 * plugins/elements/gstidentity.c: (gst_identity_class_init):
891 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
892 * plugins/elements/gstqueue.c: (gst_queue_class_init):
893 * plugins/elements/gsttee.c: (gst_tee_class_init):
894 * plugins/elements/gsttypefindelement.c:
895 (gst_type_find_element_class_init):
896 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
897 Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
898 use it everywhere for GParamSpecs that use static strings (i.e. all).
899 This gives us less memory usage, fewer allocations and thus less
900 memory defragmentation. Fixes bug #523806.
902 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
904 * gst/gstminiobject.c: (gst_value_dup_mini_object),
905 (gst_param_spec_mini_object):
906 * gst/gstminiobject.h:
907 * win32/common/libgstreamer.def:
908 * docs/gst/gstreamer-sections.txt:
909 API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
910 GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
911 GstParamSpecMiniObject into a public header for this.
913 This make GstMiniObject a bit more consistent with GObject and makes
914 it possible to extend the param specs.
916 gst_value_dup_mini_object is mainly useful for set_property methods.
920 * tools/gst-inspect.c: (print_element_properties_info):
921 Print something useful for GstMiniObject properties and not just
924 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
926 * docs/gst/gstreamer-sections.txt:
927 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
928 (gst_registry_binary_check_magic):
929 * gst/gstregistrybinary.h:
930 Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
931 and add it to the (private part) of the docs to fix the build.
933 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
935 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
936 (gst_registry_binary_check_magic),
937 (gst_registry_binary_read_cache):
938 * gst/gstregistrybinary.h:
939 Don't use GST_MAJORMINOR for the binary registry version. Instead
940 hardcode a value that must be changed whenever the format changes
941 in an incompatible way.
942 Also don't GST_ERROR when there is a version mismatch, just
943 regenerate the registry silently.
945 2008-03-21 Jan Schmidt <jan.schmidt@sun.com>
948 Back to development - 0.10.18.1
950 === release 0.10.18 ===
952 2008-03-20 Jan Schmidt <jan.schmidt@sun.com>
955 releasing 0.10.18, "So far away"
957 2008-03-18 Jan Schmidt <jan.schmidt@sun.com>
960 * win32/common/config.h:
961 0.10.17.4 pre-release
963 2008-03-18 Wim Taymans <wim.taymans@collabora.co.uk>
965 Patch by: Ole André Vadla Ravnås
966 <ole dot andre dot ravnas at tandberg dot com>
968 * docs/gst/gstreamer-sections.txt:
969 * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
970 (gst_poll_update_winsock_event_mask),
971 (gst_poll_prepare_winsock_active_sets),
972 (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
973 (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
974 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
975 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
976 (gst_poll_check_ctrl_commands), (gst_poll_wait):
978 * win32/common/libgstreamer.def:
979 Add new function gst_poll_fd_ignored() for improved Windows
981 Various minor fixes and cleanups. See #520808.
983 2008-03-17 Tim-Philipp Müller <tim at centricular dot net>
985 * gst/gstindex.c: (gst_index_entry_free):
987 Don't free key strings which we don't own. Fixes crash in
988 gst_index_entry_free() (#522741).
990 * tests/check/Makefile.am:
991 * tests/check/gst/.cvsignore:
992 * tests/check/gst/gstindex.c: (test_index_entries),
993 (gst_index_suite), (gst_index):
994 Add unit test for the above.
996 2008-03-11 Sebastian Dröge <slomo@circular-chaos.org>
998 * win32/common/libgstreamer.def:
999 Remove symbols that were removed recently. Fixes bug #521740.
1001 2008-03-11 Jan Schmidt <jan.schmidt@sun.com>
1004 * win32/common/config.h:
1005 0.10.17.3 pre-release
1007 2008-03-07 Wim Taymans <wim.taymans@collabora.co.uk>
1009 Patch by: Ole André Vadla Ravnås
1010 <ole dot andre dot ravnas at tandberg dot com>
1012 * docs/gst/gstreamer-sections.txt:
1013 * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
1014 (gst_poll_update_winsock_event_mask), (gst_poll_new),
1015 (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
1016 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
1017 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
1018 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
1019 (gst_poll_fd_can_write), (gst_poll_wait),
1020 (gst_poll_set_controllable), (gst_poll_restart),
1021 (gst_poll_set_flushing):
1023 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
1024 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
1025 (gst_net_time_provider_new):
1026 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
1027 * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
1028 * tests/benchmarks/gstpollstress.c: (main):
1029 * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
1030 Remove GstPollMode from the API, it does not make sense to let the
1031 application control this.
1032 Add support for Win32.
1033 Fix the testsuite. Fixes #520671.
1035 2008-03-07 Sebastian Dröge <slomo@circular-chaos.org>
1037 Patch by: Ole André Vadla Ravnås
1038 <ole dot andre dot ravnas at tandberg dot com>
1040 * gst/gstregistrybinary.c:
1041 Include io.h for write() and close() when building with MSVC. Fixes
1044 2008-03-07 Stefan Kost <ensonic@users.sf.net>
1047 * gst/gst_private.h:
1048 * gst/gstconfig.h.in:
1049 * gst/gstregistry.h:
1050 * gst/gstregistrybinary.c:
1051 * win32/common/gstconfig.h:
1052 Move registry backend API to private headers where we can. Add
1053 fixme-0.11 comments for the others. Add stubs for the xml backend when
1054 using the binary to ensure they functions exists (they should not be
1055 used though). Fixes #520756.
1057 2008-03-04 Jan Schmidt <jan.schmidt@sun.com>
1060 * win32/common/config.h:
1063 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
1065 * gst/gstregistrybinary.c: (gst_registry_binary_write),
1066 (gst_registry_binary_read_cache):
1067 * gst/gstregistryxml.c: (gst_registry_save):
1068 * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
1069 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
1070 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
1071 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
1072 Switch to using portabl gsize/gssize instead of size_t/ssize_t
1075 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
1077 * gst/gstminiobject.c:
1078 Import gst_private.h before any other header that might include other
1079 glib headers. This fixes the build on windows using native compilers.
1081 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
1083 * win32/common/gstconfig.h:
1084 Add here too, just for completeness.
1086 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
1089 * gst/gstconfig.h.in:
1090 * gst/gstregistry.h:
1091 Fix broken use of config.h-defined preprocessor directive in a public
1092 header file. Add a corresponding define to gstconfig.h, since we can't
1093 really remove those function declarations from the header file now
1094 (or can we? and why are they there in the first place?).
1096 2008-03-03 Andy Wingo <wingo@pobox.com>
1098 * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
1101 * gst/gststructure.c (gst_structure_from_string): Warn if
1102 structure_from_string didn't consume the whole string, but the
1103 caller did not provide an end pointer.
1105 2008-03-01 Tim-Philipp Müller <tim at centricular dot net>
1107 Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
1109 * gst/gstregistryxml.c: (read_string), (load_feature):
1110 Strings allocated by libxml2 should be freed with xmlFree(), not
1111 with g_free(). Fixes issues on windows in certain contexts (#519698).
1113 2008-02-29 Tim-Philipp Müller <tim at centricular dot net>
1115 * gst/gstinterface.c: (gst_element_implements_interface):
1116 Don't crash if the element supports the interface queried, but does
1117 not implement GstImplementsInterface. Fixes #519584.
1119 * tests/check/Makefile.am:
1120 * tests/check/gst/.cvsignore:
1121 * tests/check/gst/gstinterface.c:
1122 Add unit test for the above.
1124 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
1126 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
1129 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
1131 * gst/gstsegment.c: (gst_segment_set_seek),
1132 (gst_segment_to_stream_time):
1133 Improve some comment.
1134 Update variables where it makes more sense.
1136 2008-02-29 Rene Stadler <mail@renestadler.de>
1138 * gst/gsturi.c: (gst_uri_handler_get_protocols):
1139 Use the get_protocols_full vfunc if get_protocols is NULL. Fixes
1140 URIHandlers implemented using language bindings.
1142 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
1144 * gst/gstelementfactory.h:
1145 * tests/check/elements/fakesink.c:
1146 * tests/check/elements/fakesrc.c: (setup_fakesrc):
1147 * tests/check/elements/fdsrc.c: (setup_fdsrc):
1148 * tests/check/elements/filesink.c: (setup_filesink):
1149 * tests/check/elements/filesrc.c: (setup_filesrc):
1150 * tests/check/elements/identity.c: (setup_identity):
1151 * tests/check/elements/tee.c:
1152 * tests/check/generic/sinks.c:
1153 * tests/check/generic/states.c: (setup), (teardown):
1154 * tests/check/gst/gst.c:
1155 * tests/check/gst/gstabi.c:
1156 * tests/check/gst/gstbin.c:
1157 * tests/check/gst/gstbus.c: (pull_messages):
1158 * tests/check/gst/gstcaps.c:
1159 * tests/check/gst/gstelement.c:
1160 * tests/check/gst/gstevent.c:
1161 * tests/check/gst/gstghostpad.c:
1162 * tests/check/gst/gstiterator.c:
1163 * tests/check/gst/gstmessage.c:
1164 * tests/check/gst/gstminiobject.c: (my_foo_init):
1165 * tests/check/gst/gstobject.c: (thread_name_object),
1167 * tests/check/gst/gstpad.c:
1168 * tests/check/gst/gstplugin.c:
1169 * tests/check/gst/gstpoll.c:
1170 * tests/check/gst/gstquery.c:
1171 * tests/check/gst/gstsegment.c:
1172 * tests/check/gst/gststructure.c:
1173 * tests/check/gst/gstsystemclock.c:
1174 * tests/check/gst/gsttask.c:
1175 * tests/check/gst/gstutils.c:
1176 * tests/check/gst/gstvalue.c:
1177 * tests/check/gst/struct_hppa.h:
1178 * tests/check/gst/struct_i386.h:
1179 * tests/check/gst/struct_ppc32.h:
1180 * tests/check/gst/struct_ppc64.h:
1181 * tests/check/gst/struct_x86_64.h:
1182 * tests/check/libs/adapter.c: (create_and_fill_adapter):
1183 * tests/check/libs/basesrc.c:
1184 * tests/check/libs/controller.c: (GST_START_TEST):
1185 * tests/check/libs/gdp.c:
1186 * tests/check/libs/gstnetclientclock.c:
1187 * tests/check/libs/gstnettimeprovider.c:
1188 * tests/check/libs/libsabi.c:
1189 * tests/check/libs/struct_hppa.h:
1190 * tests/check/libs/struct_i386.h:
1191 * tests/check/libs/struct_ppc32.h:
1192 * tests/check/libs/struct_ppc64.h:
1193 * tests/check/libs/struct_x86_64.h:
1194 * tests/check/pipelines/cleanup.c:
1195 * tests/check/pipelines/simple-launch-lines.c:
1196 * tests/check/pipelines/stress.c:
1197 And correct even more valid sparse warnings.
1199 * win32/common/libgstreamer.def:
1200 Add gst_poll_fd_init to the list of symbols.
1202 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
1204 * gst/gstconfig.h.in:
1205 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
1206 * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
1207 (gst_check_log_critical_func), (gst_check_drop_buffers),
1208 (gst_check_element_push_buffer_list):
1209 * libs/gst/controller/gstcontroller.c: (gst_controller_get),
1210 (gst_controller_get_type):
1211 * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
1212 (gst_object_get_controller), (gst_object_get_control_source):
1213 * libs/gst/controller/gstinterpolationcontrolsource.c:
1214 (gst_interpolation_control_source_new):
1215 * libs/gst/controller/gstlfocontrolsource.c:
1216 (gst_lfo_control_source_new):
1217 * libs/gst/dataprotocol/dataprotocol.c:
1218 (gst_dp_event_from_packet_0_2):
1219 * plugins/elements/gstfdsrc.c:
1220 * plugins/elements/gstmultiqueue.c:
1221 * plugins/elements/gsttee.c:
1222 * plugins/elements/gsttypefindelement.c:
1223 * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
1224 (gst_file_index_add_association):
1225 * plugins/indexers/gstmemindex.c:
1226 * tests/benchmarks/gstpollstress.c: (mess_some_more):
1227 * tests/check/elements/queue.c: (setup_queue):
1228 * tests/check/gst/gstpipeline.c:
1229 * tests/check/libs/collectpads.c: (setup), (teardown),
1230 (gst_collect_pads_suite):
1231 * tests/examples/adapter/adapter_test.c:
1232 * tests/examples/metadata/read-metadata.c: (make_pipeline):
1233 * tests/examples/xml/createxml.c:
1234 * tests/examples/xml/runxml.c:
1235 * tools/gst-inspect.c:
1237 Correct all relevant warnings found by the sparse semantic code
1238 analyzer. This include marking several symbols static, using
1239 NULL instead of 0 for pointers, not using variable sized arrays
1240 on the stack, moving variable declarations to the beginning of
1241 a block and using "foo (void)" instead of "foo ()" for declarations.
1243 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
1245 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
1246 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
1247 Don't reset GstPollFDs, this is not necessary at all.
1249 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
1250 (delayed_restart), (delayed_control):
1251 Use GST_POLL_FD_INIT.
1253 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
1255 * gst/gstpoll.c: (gst_poll_fd_init):
1259 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
1260 Use some more init macros.
1262 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
1264 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
1265 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
1266 Use init macros and functions.
1268 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
1270 * docs/gst/gstreamer-sections.txt:
1271 * gst/gstpoll.c: (gst_poll_fd_init):
1273 Add INIT macro and _init method for initializing the GstPollFD.
1275 2008-02-28 Sebastian Dröge <slomo@circular-chaos.org>
1277 * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
1278 (gst_fd_sink_update_fd):
1279 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
1280 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
1281 (delayed_restart), (delayed_control):
1282 Initialize some uninitialized variables as spotted by valgrind.
1284 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
1286 * tests/benchmarks/Makefile.am:
1287 * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
1289 Add poll stress test.
1291 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
1293 Patch by: Peter Kjellerstedt <pkj at axis dot com>
1295 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
1296 (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
1297 (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
1298 * plugins/elements/gstfdsink.h:
1299 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
1300 (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
1301 (gst_fd_src_unlock_stop), (gst_fd_src_create),
1302 (gst_fd_src_uri_set_uri):
1303 * plugins/elements/gstfdsrc.h:
1304 Port to GstPoll. See #505417.
1306 2008-02-27 Jan Schmidt <jan.schmidt@sun.com>
1308 * win32/common/libgstreamer.def:
1309 Add new gst_poll_ symbols to win32 defs.
1311 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
1313 * docs/libs/gstreamer-libs-sections.txt:
1314 * libs/gst/net/gstnetclientclock.c:
1315 (gst_net_client_clock_class_init), (gst_net_client_clock_init),
1316 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
1317 (gst_net_client_clock_thread), (gst_net_client_clock_start),
1318 (gst_net_client_clock_stop), (gst_net_client_clock_new):
1319 * libs/gst/net/gstnetclientclock.h:
1320 * libs/gst/net/gstnettimeprovider.c:
1321 (gst_net_time_provider_class_init), (gst_net_time_provider_init),
1322 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
1323 (gst_net_time_provider_start), (gst_net_time_provider_stop),
1324 (gst_net_time_provider_new):
1325 * libs/gst/net/gstnettimeprovider.h:
1326 Use a private stuct to not break ABI.
1328 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
1330 Patch by: Peter Kjellerstedt <pkj at axis dot com>
1332 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
1333 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
1334 (gst_net_client_clock_thread), (gst_net_client_clock_start),
1335 (gst_net_client_clock_stop), (gst_net_client_clock_new):
1336 * libs/gst/net/gstnetclientclock.h:
1337 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
1338 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
1339 (gst_net_time_provider_start), (gst_net_time_provider_stop),
1340 (gst_net_time_provider_new):
1341 * libs/gst/net/gstnettimeprovider.h:
1342 Massive code removal and cleanups because of GstPoll.
1345 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
1348 Add checks for poll, ppoll and pselect.
1350 * docs/gst/gstreamer-docs.sgml:
1351 * docs/gst/gstreamer-sections.txt:
1352 Add docs for GstPoll.
1356 * gst/gstpoll.c: (find_index), (selectable_fds),
1357 (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
1358 (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
1359 (gst_poll_set_mode), (gst_poll_get_mode),
1360 (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
1361 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
1362 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
1363 (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
1364 (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
1365 (gst_poll_fd_can_write), (gst_poll_wait),
1366 (gst_poll_set_controllable), (gst_poll_restart),
1367 (gst_poll_set_flushing):
1369 Add generic poll abstraction. We ideally don't want to have this in core
1370 here but in glib intead...
1371 This code will be used in various network elements and ultimately for
1372 the nanosecond precision monotonic clock (that's why it's here in core).
1373 It'll allow us to implement cancelable socket operations for windows too.
1375 * tests/check/Makefile.am:
1376 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
1377 (delayed_stop), (delayed_restart), (delayed_flush),
1378 (delayed_control), (gst_poll_suite):
1379 Add GstPoll unit test.
1381 2008-02-25 Tim-Philipp Müller <tim at centricular dot net>
1384 Improve documentation of gst_filter_run(). Fixes #518627.
1386 2008-02-23 Tim-Philipp Müller <tim at centricular dot net>
1389 Add a few lines about the new 'check-inspected-versions' target.
1391 2008-02-21 Stefan Kost <ensonic@users.sf.net>
1393 * tests/check/gst/gstevent.c:
1394 Add qos to the event test. Rename tcase/tsuite; is not only about
1397 2008-02-21 Stefan Kost <ensonic@users.sf.net>
1399 * plugins/elements/gstqueue.c:
1400 Ensure that buffer metadata is writeable, before modifying. Spotted by
1403 2008-02-20 Stefan Kost <ensonic@users.sf.net>
1405 * plugins/elements/gstqueue.c:
1406 * plugins/elements/gstqueue.h:
1407 When dropping buffers in leaky modes, mark next buffers we sent as
1410 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
1412 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
1413 Also, if mmap() fails that would be a READ error, not OPEN_READ.
1415 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
1417 * plugins/elements/Makefile.am:
1418 * plugins/elements/gstbufferstore.c:
1419 * plugins/elements/gstbufferstore.h:
1420 * plugins/elements/gsttypefindelement.h:
1421 Remove GstBufferStore, no idea why we were still building it.
1422 It's not used anywhere and superseded by GstAdapter.
1424 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
1425 (gst_file_src_create_mmap):
1426 * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
1427 Printf format fixes for 64-bit integers.
1429 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
1432 Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
1433 We're not in 0.8 times anymore.
1435 2008-02-19 Jan Schmidt <Jan.Schmidt@sun.com>
1437 * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
1438 (gst_check_element_push_buffer_list):
1439 * libs/gst/check/gstcheck.h:
1440 Make the declaration in the header for
1441 gst_check_element_push_buffer_list match the implementation.
1443 Fix up spelling, grammar and wording of the documentation in a few
1444 places, and add the Since keyword to new API functions.
1445 Use g_list_delete_link instead of g_list_remove in
1446 gst_check_drop_buffers, since it's immeasurably more efficient.
1448 * tests/check/elements/fakesrc.c: (GST_START_TEST):
1449 Use new gst_check_drop_buffers function where appropriate.
1451 * win32/common/libgstbase.def:
1452 * win32/common/libgstreamer.def:
1453 Add new symbols gst_collect_pads_take_buffer,
1454 gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
1457 Changelog surgery to add API keyword to new gst_check API.
1459 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
1461 * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
1462 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
1463 Update pre-generated flex files with flex 2.3.34.
1465 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
1467 * gst/gstminiobject.c:
1468 Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
1469 friendly to subclasses and not require them to know all internals
1470 of their parent class.
1472 2008-02-15 Stefan Kost <ensonic@users.sf.net>
1474 * docs/libs/gstreamer-libs-sections.txt:
1475 * libs/gst/base/gstcollectpads.c:
1476 * libs/gst/base/gstcollectpads.h:
1477 Add sub-buffer functions to collectpads. Fixes #516187.
1478 API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
1480 2008-02-15 Stefan Kost <ensonic@users.sf.net>
1483 Copy selected buffer-flags when creating subbuffers.
1486 2008-02-12 Sebastian Dröge <slomo@circular-chaos.org>
1488 * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
1489 * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
1490 * gst/gstmessage.c: (gst_message_class_init),
1491 (gst_message_finalize):
1492 * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
1493 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
1494 (gst_mmap_buffer_finalize):
1495 Properly chain up finalize functions to the parent class.
1497 2008-02-11 Wim Taymans <wim.taymans@collabora.co.uk>
1499 Patch by: Siavash Safi <siavash dot safi at gmail dot com>
1501 * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
1502 (gst_index_set_resolver_full):
1504 Add new function with option to dispose of user_data in resolver.
1505 Actually call the dispose function when finalizing the object and not
1506 just when changing the resolver/filter.
1507 API: GstIndex::gst_index_set_resolver_full()
1509 * docs/gst/gstreamer-sections.txt:
1510 Add new function to docs. Fixes #515469.
1512 2008-02-11 Sebastian Dröge <slomo@circular-chaos.org>
1514 * gst/gstindex.c: (gst_index_finalize):
1515 Chain up finalize to the parent class. Fixes leaking the GstObject
1516 name and other things.
1518 2008-02-08 Jan Schmidt <jan.schmidt@sun.com>
1521 Make DISABLE_DEPRECATED defined *only* during CVS, not during
1522 pre-releases or releases.
1524 * docs/faq/gst-uninstalled:
1527 * docs/random/release:
1528 Change one of the steps - we only upload core & base to Gnome FTP
1530 2008-02-06 Stefan Kost <ensonic@users.sf.net>
1532 * gst/gstconfig.h.in:
1533 Add 'id' for example.
1537 * plugins/elements/gstfdsink.c:
1538 Link to signals. Doc and comment fixes.
1540 2008-02-05 Tim-Philipp Müller <tim at centricular dot net>
1542 * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
1543 * gst/gstpluginfeature.h: (GstPluginFeatureClass):
1544 Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
1545 unused and unimplemented; finally, it is plugin features, not
1546 plugins, that have ranks.
1548 2008-02-05 Stefan Kost <ensonic@users.sf.net>
1550 * gst/gstpluginfeature.h:
1551 Clarify GstRank range docs.
1553 2008-02-05 David Schleef <ds@schleef.org>
1555 * gst/gst.c: Add a separate gst_deinitialized that prevents
1556 gst_init() from being called after gst_deinit(). Fixes #509559
1558 2008-02-05 Sebastian Dröge <slomo@circular-chaos.org>
1560 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
1561 (gst_bin_class_init):
1562 * gst/gstelement.c: (gst_element_base_class_init),
1563 (gst_element_class_add_pad_template):
1564 * gst/gstpadtemplate.c: (gst_pad_template_init):
1565 * gst/gstpipeline.c: (gst_pipeline_get_type),
1566 (gst_pipeline_base_init), (gst_pipeline_class_init):
1567 * libs/gst/base/gstbasesink.c:
1568 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
1569 (gst_base_src_base_init), (gst_base_src_class_init):
1570 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
1571 (gst_capsfilter_class_init):
1572 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
1573 (gst_fake_sink_class_init):
1574 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
1575 (gst_fake_src_class_init):
1576 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
1577 (gst_fd_sink_class_init):
1578 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
1579 (gst_fd_src_class_init):
1580 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
1581 (gst_file_sink_class_init):
1582 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
1583 (gst_file_src_class_init):
1584 * plugins/elements/gstidentity.c: (gst_identity_base_init),
1585 (gst_identity_class_init):
1586 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
1587 (gst_multi_queue_class_init):
1588 * plugins/elements/gstqueue.c: (gst_queue_base_init),
1589 (gst_queue_class_init):
1590 * plugins/elements/gsttee.c: (gst_tee_base_init),
1591 (gst_tee_class_init):
1592 * plugins/elements/gsttypefindelement.c:
1593 (gst_type_find_element_base_init),
1594 (gst_type_find_element_class_init):
1595 * tests/check/gst/gstelement.c: (gst_element_suite):
1596 Revert previous changes to the behaviour of GstPadTemplates, etc
1597 and the possiblity to call them in class_init as it breaks too
1598 many elements. Reopens bug #491501.
1600 Should be applied again for 0.11, thus added a few FIXME 0.11 at
1603 2008-02-05 Stefan Kost <ensonic@users.sf.net>
1605 * tools/gst-launch.c:
1606 Dump one graph per pipeline state-change and state change name
1607 (if GST_DEBUG_DUMP_DOT_DIR is set).
1609 2008-02-04 Thijs Vermeir <thijsvermeir@gmail.com>
1612 * tests/check/gst/gstpad.c:
1613 Be sure that we have a new copy of the caps and not
1614 reffed caps from a template
1616 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
1618 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
1619 * gst/gstpipeline.c: (gst_pipeline_get_type),
1620 (gst_pipeline_class_init):
1621 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
1622 (gst_base_sink_class_init):
1623 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
1624 (gst_base_src_class_init):
1625 * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
1626 (gst_base_transform_class_init):
1627 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
1628 (gst_collect_pads_class_init):
1629 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
1630 * libs/gst/net/gstnettimeprovider.c:
1631 (gst_net_time_provider_base_init),
1632 (gst_net_time_provider_class_init):
1633 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
1634 (gst_capsfilter_class_init):
1635 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
1636 (gst_fake_sink_class_init):
1637 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
1638 (gst_fake_src_class_init):
1639 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
1640 (gst_fd_sink_class_init):
1641 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
1642 (gst_fd_src_class_init):
1643 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
1644 (gst_file_sink_class_init):
1645 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
1646 (gst_file_src_class_init):
1647 * plugins/elements/gstidentity.c: (gst_identity_base_init),
1648 (gst_identity_class_init):
1649 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
1650 (gst_multi_queue_class_init):
1651 * plugins/elements/gstqueue.c: (gst_queue_base_init),
1652 (gst_queue_class_init):
1653 * plugins/elements/gsttee.c: (gst_tee_base_init),
1654 (gst_tee_class_init):
1655 * plugins/elements/gsttypefindelement.c:
1656 (gst_type_find_element_base_init),
1657 (gst_type_find_element_class_init):
1658 Don't use base_init where not absolutely necessary. For example it's
1659 not necessary anymore for adding pad templates or setting element
1662 Leave empty base_init functions in several places as GST_BOILERPLATE
1663 still defines and uses them.
1665 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
1667 * gst/gstelement.c: (gst_element_base_class_init),
1668 (gst_element_class_add_pad_template):
1669 * gst/gstpadtemplate.c:
1670 Make it possible (and recommended) to set element details and add
1671 pad templates in the class_init functions by copying the details/pad
1672 templates in GstElement's base_init.
1674 Also make it possible to replace existing pad templates by adding
1675 a new one with the same name. This was done in a hackish fashion
1676 in same elements before already.
1678 Don't reference pad templates that are added a second time. A
1679 new pad template has a refcount of one and is not floating anymore
1680 and to be owned by the element's class. Make this more explicit by
1681 mentioning it in the docs of gst_element_class_add_pad_template().
1683 These changes are backwards compatible. Fixes bug #491501.
1685 * tests/check/gst/gstelement.c:
1686 Add unit test for setting element details, adding pad templates and
1687 replacing them in a subclass.
1689 2008-02-02 Sebastian Dröge <slomo@circular-chaos.org>
1691 * tools/gst-inspect.c: (print_interfaces),
1692 (print_element_properties_info), (print_pad_info),
1693 (print_signal_info), (print_element_info):
1694 Fix a few memory leaks.
1696 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
1698 * docs/libs/gstreamer-libs-sections.txt:
1699 * libs/gst/check/gstcheck.c:
1700 * libs/gst/check/gstcheck.h:
1701 Add more functions for unit testing: gst_check_drop_buffers,
1702 gst_check_caps_equal, gst_check_element_push_buffer_list,
1703 gst_check_element_push_buffer
1704 API: gst_check_drop_buffers
1705 API: gst_check_caps_equal
1706 API: gst_check_element_push_buffer_list
1707 API: gst_check_element_push_buffer
1709 2008-02-01 Julien Moutte <julien@fluendo.com>
1711 * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
1712 * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
1713 (gst_index_finalize), (gst_index_entry_free),
1714 (gst_index_add_association): Fix memory leaks.
1715 * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
1716 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
1717 (gst_mem_index_free_format), (gst_mem_index_free_id),
1718 (gst_mem_index_finalize): Fix memory leaks.
1719 * win32/common/config.h: Updated to CVS HEAD.
1721 2008-02-01 Stefan Kost <ensonic@users.sf.net>
1724 Some more details about how the plugin docs works.
1726 * docs/plugins/gstreamer-plugins-sections.txt:
1729 2008-02-01 Stefan Kost <ensonic@users.sf.net>
1731 * gst/parse/grammar.tab.pre.c:
1732 * gst/parse/grammar.tab.pre.h:
1733 * gst/parse/grammar.y:
1734 * gst/parse/lex._gst_parse_yy.pre.c:
1735 Add delayed set-property. This allows to set properties on dynamicaly
1736 created objects (pads in videomxer). Fixes #509391.
1738 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
1741 Check if caps are not NULL (fix bug #510194)
1743 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
1745 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
1746 (gst_base_sink_get_position_paused):
1747 Add fixme regarding EOS in pull mode.
1748 Fix position reporting in PAUSED for negative rates.
1750 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
1752 * gst/gstminiobject.c: (gst_mini_object_replace):
1753 When replacing a miniobject, do a quick equality check first so that we
1754 can avoid a ref/unref pair.
1756 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
1758 * docs/design/part-synchronisation.txt:
1761 * docs/plugins/Makefile.am:
1762 * docs/plugins/gstreamer-plugins-docs.sgml:
1763 * docs/plugins/gstreamer-plugins-sections.txt:
1764 * plugins/elements/gstmultiqueue.c:
1765 Add multiqueue to the docs.
1767 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
1772 === release 0.10.17 ===
1774 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
1777 releasing 0.10.17, "Due Negligence"
1779 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
1782 Revert caps != NULL check temporarily for 0.10.17 release.
1784 2008-01-30 Thijs Vermeir <thijsvermeir@gmail.com>
1787 Check if caps are not NULL (fix bug #510194)
1789 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
1792 Fix compilation on systems that have posix timers but no
1795 Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
1798 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
1800 * tools/gst-inspect.c:
1801 Revert previous commit in preparation for an impromptu 0.10.17 release
1803 2008-01-29 Sebastian Dröge <slomo@circular-chaos.org>
1805 * tools/gst-inspect.c: (print_interfaces),
1806 (print_element_properties_info), (print_pad_info),
1807 (print_signal_info), (print_element_info):
1808 Fix a few memory leaks.
1810 2008-01-28 Jan Schmidt <jan.schmidt@sun.com>
1815 === release 0.10.16 ===
1817 2008-01-28 Jan Schmidt <thaytan@noraisin.net>
1820 releasing 0.10.16, "Special Dispensation"
1822 2008-01-24 Tim-Philipp Müller <tim at centricular dot net>
1825 Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
1826 _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
1827 not fail when trying to crosscompile on OpenEmbedded (#511750).
1829 2008-01-20 Sebastian Dröge <slomo@circular-chaos.org>
1832 Use $(MAKE) instead of make to fix the build if GNU make is
1833 called different. Fixes bug #510747.
1835 2008-01-20 Tim-Philipp Müller <tim at centricular dot net>
1837 * gst/gstplugin.c: (_gst_plugin_initialize):
1838 Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
1839 again, which I broke two commits ago when changing the API
1840 of gst_plugin_register_static(): the g_list_foreach() in
1841 _gst_plugin_register_static still assumed the old function
1842 signature and would therefore fail (re-fixes #510187).
1844 * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
1845 (_gst_plugin_register_static), (gst_plugin_register_static):
1846 Revert the (technically correct) change to call g_thread_init() from
1847 the pre-main() constructor. This will break programs which call
1848 g_thread_init() without an if (!g_thread_supported()) guard in their
1849 main function. We could just blame it on GLib or the application, but
1850 it's probably best to just avoid this altogether and simply not use
1851 any GLib functions here and use plain old malloc() with a simple
1852 array to store the plugins to register later when gst_init() is
1853 finally called (re-fixes #510187).
1855 * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
1856 (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
1857 (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
1858 (GST_START_TEST), (gst_plugin_suite):
1859 Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
1862 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
1864 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
1865 Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
1866 This makes gtk-doc complain, but results in slightly better
1867 compiler errors. The old _gst_plugin_register_static() is
1868 still guarded, so there'll be a compiler warning about that
1869 instead. Fixes #510187 too.
1871 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
1873 * gst/gst.c: (init_post):
1874 * gst/gstplugin.c: (_gst_plugin_register_static),
1875 (gst_plugin_register_static), (_gst_plugin_initialize):
1876 * gst/gstplugin.h: (GstPluginFilter):
1877 Change API of gst_plugin_register_static() to not take
1878 a GstPluginDesc, but rather just take all the arguments
1879 in a GstPluginDesc directly. This is more intuitive and
1880 avoids certain mistakes when porting code from
1881 GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
1884 * tests/check/gst/gstplugin.c:
1885 Fix up for changed API.
1887 2008-01-17 Thomas Vander Stichele <thomas at apestaart dot org>
1889 * docs/faq/legal.xml:
1890 Update FAQ, Totem actually has an exception these days.
1892 2008-01-14 Jan Schmidt <jan.schmidt@sun.com>
1894 * win32/common/libgstreamer.def:
1895 Add new API declarations
1897 2008-01-14 Stefan Kost <ensonic@users.sf.net>
1899 * gst/gstminiobject.c:
1900 Spelling fixes for the API docs.
1902 2008-01-14 Stefan Kost <ensonic@users.sf.net>
1904 * libs/gst/base/gstbasetransform.c:
1905 Fix long property description for QoS.
1907 2008-01-12 Jan Schmidt <Jan.Schmidt@sun.com>
1910 _gst_trace_on is already provided by gsttrace.h, no need to declare
1913 * docs/libs/gstreamer-libs-sections.txt:
1914 Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
1915 and remove strange tcase_add_test which is outputting a warning.
1917 * libs/gst/check/gstcheck.c:
1918 * libs/gst/check/gstcheck.h:
1919 Properly declare 'buffers', 'check_cond', 'check_mutex' extern
1920 and define them in gstcheck.c instead of having every .c file whcih
1921 includes gstcheck.h be defining its own copy and relying on symbol
1922 interposing to marry them all, which doesn't work on Solaris.
1924 * tests/check/elements/identity.c: (GST_START_TEST):
1925 Don't define 'buffers' locally, it comes from libgstcheck.
1927 * tests/check/generic/sinks.c: (send_buffer):
1928 Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
1930 * tests/check/gst/gststructure.c: (GST_START_TEST):
1931 * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
1932 * tests/check/gst/gstutils.c: (GST_START_TEST):
1933 * tests/check/gst/gstvalue.c: (GST_START_TEST):
1934 Add a bunch of casts to make various constants fit the types
1935 they're being assigned to.
1937 2008-01-10 Stefan Kost <ensonic@users.sf.net>
1939 * gst/gstchildproxy.c:
1940 Improve docs and add some ideas for making this more general-purpose.
1942 2008-01-10 Tim-Philipp Müller <tim at centricular dot net>
1944 * gst/gst_private.h: (GST_CAT_TYPES):
1945 Add GST_CAT_TYPES, for consistency, and so that the other
1946 debug categories don't make fun of it. Spotted by Saur on IRC.
1948 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
1950 * gst/parse/Makefile.am:
1951 Move types.h from EXTRA_DIST to noinst_HEADERS.
1953 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
1956 Add -Wno-portability to the automake parameters to stop warnings
1957 about GNU make extensions being used. We require GNU make in almost
1958 every Makefile anyway.
1961 Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
1962 at the same time is required for per target flags.
1964 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
1967 Include glib/gmacros.h for G_BEGIN_DECLS. Check if
1968 __GNUC__ is defined before using it.
1970 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
1972 * docs/gst/gstreamer-sections.txt:
1973 * gst/gst.c: (init_post):
1974 * gst/gstplugin.c: (_gst_plugin_register_static),
1975 (gst_plugin_register_static), (_gst_plugin_initialize),
1976 (gst_plugin_register_func):
1977 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
1978 API: add gst_plugin_register_static() and deprecate
1979 GST_PLUGIN_DEFINE_STATIC, since it's not portable
1981 Also, in _gst_plugin_register_static(), make sure to call
1982 g_thread_init() before calling GLib functions such as
1983 g_list_append() if we're not initialised yet, since that
1984 may lead to random crashes with older GSlice/GLib versions.
1986 * tests/check/gst/gstplugin.c:
1987 Adapt unit test to above changes.
1989 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
1991 * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
1992 * gst/gstcaps.c: (gst_caps_to_string):
1993 * gst/gststructure.c: (GST_ASCII_IS_STRING),
1994 (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
1995 Yet another gratuitous GString micro-optimisation: add a (private)
1996 function that serialises a structure appending to an existing
1997 GString, so that when we serialise caps we don't need to alloc+free
1998 a throwaway GString for each structure (each of which also entailing
1999 multiple reallocs on the way); also use g_string_sized_new() in
2000 various places with an approximate string length to avoid reallocs
2001 within GString. See #500143.
2003 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
2005 * gst/gststructure.c: (gst_structure_id_set_value):
2006 Always check UTF-8 conformance of structure strings and not only
2007 if the debugging system is enabled; reasoning: the behaviour of
2008 the actual code shouldn't really change depending on whether the
2009 debugging system is enabled or not (#508291).
2011 2008-01-09 Stefan Kost <ensonic@users.sf.net>
2014 Remove old coverage target in favour of "make lcov".
2016 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
2018 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
2019 (gst_base_src_loop):
2020 The start segment for reverse playback goes from start to last_stop.
2022 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
2024 Patch by: Peter Kjellerstedt <pkj axis com>
2027 Cast the results from the timeval/spec_to_time macros to what the
2028 docs say it casts to, a GstClockTime. fixes #508175.
2030 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
2033 Update some comments.
2035 * tools/gst-inspect.c: (print_element_properties_info):
2036 Improve printing of flags.
2038 2008-01-08 Tim-Philipp Müller <tim at centricular dot net>
2040 * libs/gst/base/gstbasetransform.c:
2041 (gst_base_transform_transform_size):
2042 Print element name with g_warning() if there's a problem
2045 2008-01-07 David Schleef <ds@schleef.org>
2047 Patch by: Damien Lespiau <damien.lespiau@gmail.com>
2049 * libs/gst/controller/gstcontroller.h:
2050 * libs/gst/controller/gstcontrolsource.h:
2051 * libs/gst/controller/gstinterpolationcontrolsource.h:
2052 * libs/gst/controller/gstlfocontrolsource.h:
2053 * libs/gst/dataprotocol/dataprotocol.h:
2054 Fix empty prototypes. Fixes bug #507957.
2056 2008-01-07 David Schleef <ds@schleef.org>
2058 * docs/faq/dependencies.xml: Fix typo.
2060 2008-01-07 Wim Taymans <wim.taymans@collabora.co.uk>
2062 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
2063 (gst_base_src_loop):
2064 Don't update the last_stop position in do_seek, that's the position we
2066 Read backwards when we have a negative rate.
2068 * tests/check/elements/filesrc.c: (event_func), (wait_eos),
2069 (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
2071 Add check for reverse reading.
2073 2008-01-07 Tim-Philipp Müller <tim at centricular dot net>
2075 Patch by: Alexis Ballier <aballier at gentoo org>
2077 * tests/check/gst/gstabi.c:
2078 * tests/check/gst/struct_ppc64.h:
2079 * tests/check/libs/libsabi.c:
2080 * tests/check/libs/struct_ppc64.h:
2081 Decide which header to include based on the userland ABI target
2082 and not the kernel/cpu. Fix up structure sizes of ppc64 header
2083 for 64-bit userland (#503590). Might need something similar for
2086 2008-01-05 Tim-Philipp Müller <tim at centricular dot net>
2088 * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
2089 Log the reason why fopen fails in addition to the fact that it failed.
2091 2008-01-04 Sebastian Dröge <slomo@circular-chaos.org>
2093 * gst/parse/parse.l:
2094 Use "%option never-interactive" to prevent useless calls to isatty()
2095 on every input when parsing. Also use "%option noinput" to not define
2096 the static input/yyinput functions which we don't use anyway. This
2097 removes a compiler warning with gcc 4.3 and saves some bytes in the
2100 * gst/parse/lex._gst_parse_yy.pre.c:
2101 Regenerated for the above change.
2103 2008-01-04 Wim Taymans <wim.taymans@collabora.co.uk>
2105 * gst/gstpad.c: (fixate_value):
2106 Don't crash when trying to fixate and empty list.
2109 2008-01-03 Sebastian Dröge <slomo@circular-chaos.org>
2111 * docs/faq/gst-uninstalled:
2112 Clarify the comments to make the usage of this script and what it
2113 does easier to understand.
2115 2008-01-01 Thijs Vermeir <thijsvermeir@gmail.com>
2117 * tools/gst-plot-timeline.py:
2118 Add more options to gst-plot-timeline
2120 2007-12-31 Wim Taymans <wim.taymans@collabora.co.uk>
2122 * docs/design/part-synchronisation.txt:
2123 Some more info on how the stream_time in GstBaseSink is done.
2125 2007-12-30 Tim-Philipp Müller <tim at centricular dot net>
2127 * tests/check/generic/sinks.c: (gst_sinks_suite):
2128 Put back the tcase_set_timeout(), apparently it's needed after
2129 all; fix it up in a way that makes things work with valgrind too.
2131 2007-12-30 Thijs Vermeir <thijsvermeir@gmail.com>
2133 * gst/gstdebugutils.c:
2134 Add warning when failed to open file for writing.
2136 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
2138 Based on patch by: Laurent Glayal <spglegle yahoo fr>
2140 * gst/gstvalue.c: (gst_value_is_fixed):
2141 Optimisation: bail out of the loop as early as possible (#500143).
2143 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
2145 * gst/gstcaps.c: (gst_caps_to_string):
2146 * gst/gstinfo.c: (gst_debug_construct_term_color):
2147 * gst/gstparse.c: (gst_parse_launchv):
2148 * gst/gstutils.c: (gst_util_dump_mem):
2149 * gst/gstvalue.c: (gst_value_serialize_any_list),
2150 (gst_value_transform_any_list_string):
2151 Bunch of gratuitous nano-optimisations.
2153 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
2155 * tests/check/generic/sinks.c: (async_done_func),
2156 (async_done_eos_func):
2157 Fix leak in unit test (bus sync handler must unref the message
2158 if it returns GST_BUS_DROP). Don't fiddle with the default test
2159 timeout, this is smaller than the current preconfigured value
2160 via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
2161 because it overrides the value specified in CK_DEFAULT_TIMEOUT.
2163 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
2165 Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
2168 Check for stdio_ext.h for the filesink changes.
2170 * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
2171 (gst_file_sink_class_init), (gst_file_sink_init),
2172 (gst_file_sink_dispose), (gst_file_sink_set_property),
2173 (gst_file_sink_get_property), (gst_file_sink_open_file),
2174 (gst_file_sink_close_file):
2175 * plugins/elements/gstfilesink.h:
2176 Add two properties to control the buffering mode and size.
2177 API: GstFileSink::buffer-mode
2178 API: GstFileSink::buffer-size
2181 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
2183 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
2184 Add some more docs to explain why a FIXME was wrongly added.
2186 2007-12-22 Sebastian Dröge <slomo@circular-chaos.org>
2189 Fix typo in the gst_object_{ref,unref} documentation.
2191 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
2193 * tests/check/libs/controller.c:
2194 * tests/check/libs/typefindhelper.c:
2195 * tests/check/pipelines/parse-launch.c:
2196 Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
2197 going to be deprecated (see #498924).
2199 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
2201 * gst/gsttypefind.c: (gst_type_find_register):
2202 Make gst_type_find_register work for static typefind functions,
2203 ie. allow passing plugin == NULL (prerequisite for #498924).
2205 * gst/gstelementfactory.c: (gst_element_register):
2206 Small docs addition.
2208 2007-12-21 Wim Taymans <wim.taymans@collabora.co.uk>
2210 * gst/gstpad.c: (gst_pad_dispose):
2211 Really unlink the peer pad instead of setting the peer pointer to NULL
2212 when we dispose the pad.
2213 This correctly calls the unlink functions and makes sure that the peer
2214 does not have a handle to invalid memory. See #504671.
2216 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
2217 Add testsuite for above case.
2219 2007-12-20 Tim-Philipp Müller <tim at centricular dot net>
2221 Patch by: Peter Kjellerstedt <pkj axis com>
2223 * libs/gst/check/gstcheck.h:
2224 Fix detection of the check version we're compiling against (would
2225 otherwise break if check goes v0.10.0); correctly report the
2226 name of the failed test again in case of failure, instead of
2227 just 'tf' (fixes #504499).
2229 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
2231 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
2232 (gst_base_src_get_range), (gst_base_src_pad_get_range),
2233 (gst_base_src_loop), (gst_base_src_set_flushing),
2234 (gst_base_src_change_state):
2235 Allow sending EOS to the source to make it send out an EOS event from
2236 the streaming thread.
2237 Update docs and deprecate the old NULL/READY shutdown method.
2239 * tests/check/libs/basesrc.c: (GST_START_TEST),
2240 (gst_basesrc_suite):
2241 Add unit test for controlled shutdown.
2243 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
2245 * docs/design/part-synchronisation.txt:
2248 * gst/gstsegment.c: (gst_segment_set_seek),
2249 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
2250 (gst_segment_to_running_time):
2251 The seek format can be different from the segment format when the start
2252 and stop values are not to be updated, when we only do a rate change for
2255 * tests/check/gst/gstsegment.c: (GST_START_TEST),
2256 (gst_segment_suite):
2257 Add a testcase for the rate-only seeks, checking that the format is
2258 correctly ignored when start and stop are not updated.
2260 2007-12-18 Sebastian Dröge <slomo@circular-chaos.org>
2262 Patch by: Matthias Bolte <photon at mail dot upb dot de>
2264 * win32/vs8/grammar.vcproj:
2265 * win32/vs8/libgstcontroller.vcproj:
2266 * win32/vs8/libgstreamer.vcproj:
2267 Fix compilation with VS8 and include some missing files.
2269 2007-12-18 Tim-Philipp Müller <tim at centricular dot net>
2272 Small docs addition: mention that the strings returned by
2273 gst_tag_list_get_string*() are in UTF-8 encoding.
2275 2007-12-17 Tim-Philipp Müller <tim at centricular dot net>
2278 The check-exports stuff moved to common/win32.mak, so include that.
2280 2007-12-17 Wim Taymans <wim.taymans@collabora.co.uk>
2282 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
2283 (gst_base_src_perform_seek), (gst_base_src_get_range),
2284 (gst_base_src_set_playing), (gst_base_src_change_state):
2285 Make _wait_playing() not check any variables so that we can call this
2286 function from subclasses. Move the checks elsewhere similar to
2287 _wait_preroll() in basesink.
2289 Only signal the LIVE cond when we are going back to PLAYING.
2291 2007-12-16 Tim-Philipp Müller <tim at centricular dot net>
2293 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
2294 Use g_remove() and g_rename(). Check result of g_rename(), and
2295 don't leak the open file descriptor if we error out when writing.
2297 * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
2298 Must check the return value of close() after writing out the new
2299 registry file. Sometimes write problems such as out-of-diskspace
2300 are only reported when the file is closed and not already during
2301 the write. This may have caused partial/broken registry files in
2302 some rare circumstances. Should fix #503675.
2304 2007-12-16 Edward Hervey <edward.hervey@collabora.co.uk>
2306 * docs/gst/.cvsignore:
2307 * docs/libs/.cvsignore:
2308 * docs/plugins/.cvsignore:
2309 Ignore files generated by new common/* modifications
2311 2007-12-15 Stefan Kost <ensonic@users.sf.net>
2313 * win32/common/libgstbase.def:
2314 Yes, you can also have a <TAB> if you want.
2316 2007-12-15 Stefan Kost <ensonic@users.sf.net>
2318 * win32/common/libgstbase.def:
2319 Add new basetransform API to win export file.
2321 2007-12-15 Stefan Kost <ensonic@users.sf.net>
2323 * tests/check/gst/gstbin.c:
2324 Adjust the test to the refcount change two days ago.
2326 2007-12-14 David Schleef <ds@schleef.org>
2328 * docs/faq/getting.xml: Fix typo.
2330 2007-12-14 Sebastian Dröge <slomo@circular-chaos.org>
2332 * docs/libs/gstreamer-libs-sections.txt:
2333 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
2334 (gst_base_transform_prepare_output_buffer),
2335 (gst_base_transform_set_gap_aware):
2336 * libs/gst/base/gstbasetransform.h:
2337 API: Add gst_base_transform_set_gap_aware() to control whether
2338 the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
2339 get buffers with this flag at all. Fixes #503231.
2341 2007-12-13 Stefan Kost <ensonic@users.sf.net>
2343 * libs/gst/base/gstbasesink.c:
2344 * libs/gst/base/gstbasesrc.c:
2345 * libs/gst/base/gstbasetransform.c:
2346 Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
2347 thread. Correct log message in gstbasesrc.c.
2349 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
2351 * gst/gstutils.c: (element_find_unconnected_pad):
2352 Fix possible compiler warning (#503417).
2354 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
2356 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
2357 Don't use GST_CAT_EVENT here for logging, it makes no sense.
2359 2007-12-13 Sebastian Dröge <slomo@circular-chaos.org>
2361 * tools/gst-inspect.c: (print_element_properties_info):
2362 Add support for GstFraction properties.
2364 2007-12-12 Tim-Philipp Müller <tim at centricular dot net>
2367 Add check-exports target and run it as part of 'make check'
2368 (see #499140 and #493983).
2370 * gst/gst_private.h:
2371 * gst/gstelementfactory.h:
2372 * gst/gstghostpad.c: (gst_proxy_pad_class_init):
2373 * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
2374 (_priv_gst_in_valgrind):
2375 * gst/gstinfo.h: (GstLogFunction):
2376 * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
2377 (gst_type_find_register):
2378 * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
2379 (gst_type_find_factory_get_type):
2380 * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
2381 (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
2382 (gst_controller_new_valist), (gst_controller_new_list),
2383 (_gst_controller_dispose), (_gst_controller_class_init):
2384 * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
2385 * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
2386 (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
2387 (gst_object_get_controller), (gst_object_set_controller),
2388 (gst_object_suggest_next_sync), (gst_object_sync_values),
2389 (gst_object_set_control_source), (gst_object_get_control_source),
2390 (gst_object_get_value_arrays), (gst_object_get_value_array),
2391 (gst_object_get_control_rate), (gst_object_set_control_rate):
2392 * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
2393 * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
2394 Make some functions that should be static static; rename some
2395 private symbols so that they don't get exported; add some FIXME
2396 comments so we can move accidentally exported functions into
2397 our private section in 0.11.
2399 * win32/common/libgstreamer.def:
2400 Add gst_utils_get_timestamp().
2402 2007-12-12 Stefan Kost <ensonic@users.sf.net>
2406 Add more missing "Since:" tags to docs.
2408 2007-12-12 Stefan Kost <ensonic@users.sf.net>
2411 Add mising "Since:" to docs.
2413 2007-12-11 Stefan Kost <ensonic@users.sf.net>
2416 Include "glib-compat-private.h" to fix the build on system with
2417 glib < 2.10. Fixes #503131.
2419 2007-12-11 Stefan Kost <ensonic@users.sf.net>
2423 Actually its not PURE as it gets the time from elsewhere.
2425 2007-12-11 Stefan Kost <ensonic@users.sf.net>
2427 * docs/gst/gstreamer-sections.txt:
2429 * gst/gstdebugutils.c:
2433 * libs/gst/base/gstbasesink.c:
2434 * tools/gst-launch.c:
2435 Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
2436 uses as we don't have HAVE_POSIX_TIMERS in public headers.
2437 Thanks Tim for spotting.
2438 API: gst_util_get_timestamp
2440 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
2443 Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
2445 2007-12-08 Tim-Philipp Müller <tim at centricular dot net>
2447 * gst/gststructure.c: (gst_structure_validate_name),
2448 (gst_structure_new_valist), (gst_structure_parse_value),
2449 (gst_structure_from_string):
2450 Don't crash in _from_string() if the structure name is not valid
2451 (fixes #501560). Allow structure names to start with a number
2452 again (this apparently broke the ubuntu codec installer).
2454 * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
2456 Add unit test for the crash; update unit tests for new behaviour.
2458 2007-12-03 Wim Taymans <wim.taymans@gmail.com>
2461 Clarify gst_element_get_compatible_pad() documentation.
2464 2007-12-02 Sebastian Dröge <slomo@circular-chaos.org>
2466 * tests/check/Makefile.am:
2467 Don't forget to dist {gst,libs}/struct_hppa.h.
2469 2007-11-28 Stefan Kost <ensonic@users.sf.net>
2471 * libs/gst/base/gstbasesink.c:
2472 Use new API to get elapsed time.
2474 2007-11-28 Stefan Kost <ensonic@users.sf.net>
2476 * gst/gstdebugutils.c:
2478 Fix wrong order of args in GST_CLOCK_DIFF() usage.
2480 * tools/gst-launch.c:
2481 Use new API to get elapsed time.
2483 2007-11-28 Stefan Kost <ensonic@users.sf.net>
2485 * docs/gst/gstreamer-sections.txt:
2487 * gst/gstdebugutils.c:
2489 Rename new API + ChangeLog surgery to remove old name from last entry..
2491 2007-11-28 Stefan Kost <ensonic@users.sf.net>
2493 * docs/gst/gstreamer-sections.txt:
2495 * gst/gstdebugutils.c:
2497 Now hide the different clock stuff behind a macro.
2499 2007-11-28 Stefan Kost <ensonic@users.sf.net>
2502 * gst/gstdebugutils.c:
2504 Apply the posix-timer check from #361155. Conditionally use the posix
2505 timer for logging. This gives better timestamp precission, less
2506 overhead and no ntp jitter.
2508 2007-11-28 Sebastian Dröge <slomo@circular-chaos.org>
2510 * gst/gstminiobject.c: (gst_mini_object_get_type),
2511 (gst_mini_object_class_init), (gst_mini_object_copy_default),
2512 (gst_mini_object_finalize), (gst_mini_object_copy),
2513 (gst_mini_object_is_writable), (gst_mini_object_make_writable),
2514 (gst_mini_object_replace), (param_mini_object_validate),
2515 (gst_param_spec_mini_object_get_type):
2516 Some cleanup and checking against invalid function parameters.
2518 2007-11-28 Wim Taymans <wim.taymans@gmail.com>
2520 * docs/gst/gstreamer-sections.txt:
2522 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
2523 (gst_systemclock_suite):
2524 Start merging in the easy bits of #361155, the monotonic clock patch.
2525 This one adds a few handy macros with docs and a testsuite.
2527 2007-11-27 Wim Taymans <wim.taymans@gmail.com>
2529 * plugins/elements/gstfilesink.c: (gst_file_sink_event):
2530 Be a bit smarter when seeking, like, don't try to do a seek when it's
2531 not needed. This avoids errors when the file is not seekable.
2534 2007-11-26 Stefan Kost <ensonic@users.sf.net>
2536 * docs/gst/gstreamer-docs.sgml:
2537 * docs/gst/gstreamer-sections.txt:
2538 * docs/gst/gstreamer.types.in:
2543 * plugins/elements/gstqueue.c:
2544 Due to popular request remove preset interface again. :-(.
2546 2007-11-22 Stefan Kost <ensonic@users.sf.net>
2548 * tools/gst-inspect.c:
2549 Print 'default value' for enums and flags too.
2551 2007-11-22 Stefan Kost <ensonic@users.sf.net>
2553 * docs/random/ensonic/profiling.txt:
2557 Fix typo and give better log output.
2559 * gst/gstdebugutils.c:
2560 * gst/gstdebugutils.h:
2561 More ideas, make graphs a bit smaller and fix param name in macro.
2563 2007-11-22 Stefan Kost <ensonic@users.sf.net>
2566 Try harder to use the return value from fgets().
2568 2007-11-21 Stefan Kost <ensonic@users.sf.net>
2571 For theses two fgets we handle the error below.
2573 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
2575 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
2576 Only send upstream events upstream. Fixes #498746.
2578 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
2580 Patch by: Laurent Glayal <spglegle at yahoo dot fr>
2582 * plugins/elements/gstidentity.c: (gst_identity_class_init),
2583 (gst_identity_init), (gst_identity_transform_ip),
2584 (gst_identity_set_property), (gst_identity_get_property):
2585 * plugins/elements/gstidentity.h:
2586 Add property to disable handoff signal emission. Fixes #498694.
2587 API: GstIdentity::signal-handoffs
2589 2007-11-21 Julien Moutte <julien@fluendo.com>
2591 * docs/faq/gst-uninstalled: Yet another missing library for the
2592 uninstalled script (fft)
2594 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
2596 * docs/faq/developing.xml:
2597 Add a question about how to submit new translations.
2599 * docs/random/release:
2600 Update the contact email address for the Translation Project
2602 * plugins/elements/gstfdsrc.c:
2603 The parent_class for fdsrc is pushsrc, not GstElement.
2605 2007-11-20 Stefan Kost <ensonic@users.sf.net>
2608 Plug a leak and fix saving.
2610 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
2612 * docs/gst/gstreamer-sections.txt:
2613 Add new gst_preset__get_property_names() function to the docs
2616 2007-11-20 Stefan Kost <ensonic@users.sf.net>
2620 Change _get_preset_names API to return a strv with copies. Add
2621 _get_property_names to allow implementations to filter and provide
2622 good default implementation.
2624 2007-11-20 Julien MOUTTE <julien@moutte.net>
2626 * docs/faq/gst-uninstalled: Add another library to the uninstalled
2629 2007-11-19 Stefan Kost <ensonic@users.sf.net>
2632 More cleanups, docs, and TODOs from comments that now slowly come in.
2634 2007-11-19 Julien MOUTTE <julien@moutte.net>
2636 * docs/faq/gst-uninstalled: Add new base libraries in the LD
2639 2007-11-19 Stefan Kost <ensonic@users.sf.net>
2642 Fix bogus warning and make the property type specific code more
2645 2007-11-19 Julien MOUTTE <julien@moutte.net>
2647 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
2650 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
2652 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2653 (gst_bin_add_func), (gst_bin_remove_func),
2654 (gst_bin_change_state_func), (gst_bin_continue_func):
2655 Change email, cleanups add some more debug and comments.
2656 Also set bus and clock on new elements when the pipeline was in error.
2658 2007-11-18 Stefan Kost <ensonic@users.sf.net>
2661 * gst/gstdebugutils.c:
2662 Fix build with --disable-gst-debug. Fixes #497859.
2663 Spotted by Sameer Naik.
2665 2007-11-17 Stefan Kost <ensonic@users.sf.net>
2668 Little documentation improvment.
2671 More TODO cleanups. Remove c++ comments.
2673 * libs/gst/controller/gstcontroller.c:
2674 Add TODO and use quark from static string.
2676 * tests/check/gst/gstmessage.c:
2677 * tests/check/gst/gststructure.c:
2678 Use quark from static string.
2680 2007-11-17 Stefan Kost <ensonic@users.sf.net>
2683 Add some comments and TODOs.
2686 Add padding for future changes.
2688 * plugins/elements/gstqueue.c:
2689 Implement the iface.
2691 2007-11-17 Stefan Kost <ensonic@users.sf.net>
2693 * docs/gst/gstreamer-docs.sgml:
2694 * docs/gst/gstreamer-sections.txt:
2695 * docs/gst/gstreamer.types.in:
2700 Add the preset interface (Fixes #396779). Do some doc cleanups along.
2702 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
2708 === release 0.10.15 ===
2710 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
2713 releasing 0.10.15, "October"
2715 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
2717 * win32/vs6/libgstreamer.dsp:
2718 Convert line endings back to DOS.
2720 2007-11-13 Stefan Kost <ensonic@users.sf.net>
2722 * docs/design/draft-tagreading.txt:
2723 * docs/random/ensonic/profiling.txt:
2724 Update fast tagreading draft and performance profiling ideas.
2726 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
2728 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
2729 Don't hold the object lock when unreffing a buffer because it could
2730 cause a deadlock when the finalize function wants to grab the object
2731 lock too. Fixes #495133.
2733 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
2735 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
2736 (gst_segment_to_stream_time), (gst_segment_to_running_time):
2737 Also accumulate time correctly when doing reverse playback. Fixes
2739 When converting to running and stream time, use default values for
2740 start/stop/time/accum when comparing different formats. Fixes #494245.
2742 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2743 Do running/stream time in TIME format.
2745 * tests/check/gst/gstsegment.c: (GST_START_TEST),
2746 (gst_segment_suite):
2747 2 new unit tests for segment accumulation.
2749 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
2751 * gst/gst.c: (init_pre):
2752 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
2753 (_gst_debug_bin_to_dot_file):
2754 Move getenv() back into gst_init, so everyone can live happily
2755 ever after. Make sure the symbol isn't exported though.
2757 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
2759 Patch by: Sebastien Moutte <sebastien moutte net>
2761 * win32/common/gstenumtypes.c:
2762 * win32/common/gstenumtypes.h:
2765 * win32/vs6/libgstreamer.dsp:
2766 Update vs6 project files (#494343).
2768 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
2770 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
2771 (gst_base_src_perform_seek), (gst_base_src_default_event),
2772 (gst_base_src_set_flushing), (gst_base_src_activate_push),
2773 (gst_base_src_activate_pull):
2774 Unify flushing code, remove some old unlock code that is no longer used.
2775 Take the streaming lock when seeking to avoid races. Fixes #492729.
2776 Added some more comments.
2778 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
2780 * gst/gst.c: (_gst_disable_segtrap):
2781 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
2782 we can use gst_segtrap_is_enabled() there now that we have that API.
2783 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
2784 to do the getenv here (and export the variable).
2786 * gst/gstdebugutils.c: (debug_dump_element),
2787 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
2788 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
2790 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
2791 (gst_debug_log_default):
2792 Rename _gst_info_start_time to priv_gst_info_start_time so it
2793 doesn't get exported (was never in any header).
2795 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
2796 (gst_plugin_loading_mutex):
2797 Make static mutex gst_plugin_loading_mutex really static (was never
2798 in any header), and use gst_segtrap_is_enabled() instead of
2799 _gst_disable_segtrap.
2801 * gst/gsttrace.c: (_gst_trace_default):
2802 Make local _gst_trace_default static (was never in any header).
2804 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
2806 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
2808 * win32/common/libgstbase.def:
2809 * win32/common/libgstcontroller.def:
2810 * win32/common/libgstdataprotocol.def:
2811 * win32/common/libgstnet.def:
2812 * win32/common/libgstreamer.def:
2813 Add more missing symbols, remove some duplicates, and sort
2814 as the 'sort' command sorts it (partially fixes #493983).
2816 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
2818 * gst/gstelement.c: (gst_element_set_state_func):
2819 Only change the state cookie if a different state was set on the
2820 element. See #492729.
2822 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
2825 Remove unused and uninitialised type variables that were still
2826 exported for some reason (they were never in any header files
2829 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
2831 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2832 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
2833 (gst_base_sink_event), (gst_base_sink_get_position_last),
2834 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
2835 (gst_base_sink_change_state):
2836 Don't try to report a 0 position when we don't know, return -1 and FALSE
2837 instead. This mostly happens when we are prerolling.
2838 Make sure we can report the right position before we post the ASYNC_DONE
2839 message so that a message handler can query position without races.
2841 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
2842 (async_done_handoff), (async_done_func), (send_buffer),
2843 (async_done_eos_func), (gst_sinks_suite):
2844 Add two tests for the above.
2846 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
2849 Update with new email address.
2851 * docs/design/part-TODO.txt:
2852 Add some more info about future pad-block and negotiation changes.
2854 * docs/design/part-buffering.txt:
2855 Add some ideas about buffering reporting.
2857 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
2859 * tests/check/gst/gstobject.c:
2860 Disable silly racy test that always fails on this combination of CPU
2863 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
2865 Patch by: Murray Cumming <murrayc@murrayc.com>
2868 Corrected the registration of the parent-set and parent-unset
2869 signals: The parameter is a GstObject, not a GObject (#493134).
2871 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
2873 * gst/gst_private.h:
2882 Move declaration of private _gst_foo_initialize() functions into
2883 our private header file where they should have been all along.
2885 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
2887 * docs/plugins/gstreamer-plugins-sections.txt:
2888 * gst/gstdebugutils.h:
2890 * plugins/elements/gstqueue.c:
2891 gtk-doc fixes; trailing-comma-in-enum fix.
2893 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
2895 * gst/gst.c: (gst_deinit):
2896 Clean up on deinit (not the external ones though, doesn't seem to be
2897 needed for some reason).
2899 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
2901 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
2902 Remove __declspec(dllimport) for MSVC that was copied over into core
2903 from a plugin, obviously without ever having been tested (note the
2904 single underscore in _declspec in the initial commit), and that doesn't
2905 really make sense. See #492077.
2907 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
2909 * gst/gst.c: (init_post):
2910 * gst/gstevent.c: (_gst_event_initialize):
2911 * gst/gstquery.c: (_gst_query_initialize):
2912 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
2913 g_type_class_ref() other types as well, see #349410 and #64764.
2915 * gst/gstbuffer.c: (_gst_buffer_initialize):
2916 * gst/gstmessage.c: (_gst_message_initialize):
2917 Simplify existing g_type_class_ref().
2919 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
2921 * gst/gstformat.c: (_gst_format_initialize):
2922 g_type_class_ref() our GstFormat type to make sure we avoid the
2923 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
2924 bug #64764. Should fix intermittent tee unit test failures (#474823).
2926 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
2928 * tests/check/elements/tee.c: (test_num_buffers):
2929 Simplify, simplify, simplify - or not. Rewrite unit test
2930 not to use gst_parse_launch(); allow N sub-streams. Increasing
2931 the number of sub-streams seems to reproduce #474823 more easily.
2933 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
2935 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
2938 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
2939 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
2940 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
2941 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
2942 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
2943 so use _pipe() directly (#492077).
2945 * win32/common/dirent.c: (_treaddir):
2946 Add a couple of casts to make it build without warnings with MSVC.
2948 * win32/common/libgstreamer.def:
2949 Add some more symbols that need to be exported.
2951 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
2953 * tests/examples/metadata/read-metadata.c: (message_loop):
2954 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
2955 arriving in a second or third tag message are added to
2956 the tag list as well.
2958 2007-10-31 Stefan Kost <ensonic@users.sf.net>
2960 * libs/gst/base/gstbasesrc.c:
2961 Its "Since:" and not "@Since:". And remove an superflous cast.
2963 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
2965 * docs/libs/gstreamer-libs-sections.txt:
2966 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
2967 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
2968 (gst_base_sink_get_property), (gst_base_sink_render_object),
2969 (gst_base_sink_preroll_object),
2970 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
2971 (gst_base_sink_change_state):
2972 * libs/gst/base/gstbasesink.h:
2973 Add a new last-buffer property that contains the last buffer used in
2974 basesink for preroll or rendering. useful for making snapshots.
2975 API: gst_base_sink_get_last_buffer()
2976 API: GstBaseSink::last-buffer
2978 2007-10-29 Stefan Kost <ensonic@users.sf.net>
2980 * docs/gst/running.xml:
2982 * gst/gstdebugutils.c:
2983 * gst/gstdebugutils.h:
2984 * tools/gst-launch.c:
2985 Improve bin graph dumping, by using the envvar to specify a path.
2986 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
2988 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
2990 * plugins/elements/gsttypefindelement.c:
2991 (gst_type_find_element_handle_event),
2992 (gst_type_find_element_activate):
2993 Post special error message if we can't determine the type of a stream
2996 2007-10-29 Stefan Kost <ensonic@users.sf.net>
2998 * docs/gst/running.xml:
2999 * gst/gstdebugutils.c:
3000 Document new env-var. Add one log-line after dumpng a graph.
3002 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
3005 Ugly hack to put the (recently removed and non-portable, apparently)
3006 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
3007 GNU ld, because without that 'make check' fails miserably on my debian
3008 stable box. Someone with more knowledge of linker intricacies and
3009 portability issues than me fix this properly please.
3011 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
3013 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
3014 Reset last seen position after flushing so that we don't report the old
3017 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
3019 * gst/gstelementfactory.c: (gst_element_register):
3021 Patch from Alessandro Decina adding get_type_full and
3022 get_protocols_full private vfuncs to the URIHandler interface
3023 to allow bindings to support creating URI handlers.
3024 Partially fixes: #339279
3025 API: GstURIHandlerInterface::get_type_full
3026 API: GstURIHandlerInterface::get_protocols_full
3028 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
3030 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
3031 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
3032 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
3033 Make it so that pads are considered linked until a buffer is pushed
3034 and discovered otherwise. This avoids problems with decodebin2 hanging
3035 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
3038 Make sure we lock the multiqueue when updating the max-size properties.
3040 Fix a crash on Solaris in a debug statement in get_request_pad that
3041 passes a NULL string to GST_DEBUG.
3043 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
3044 (run_output_order_test):
3045 Fix the test to allow the first buffer on not-linked pads to come out
3046 of sequence while multiqueue discovers that they are not-linked.
3048 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
3051 * libs/gst/check/Makefile.am:
3052 Use a custom export symbol regex for libgstcheck, as it needs
3053 to export symbols that don't match the standard GStreamer gst_*
3054 pattern, and --export-dynamic is not portable (only works on
3057 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
3058 (gst_check_setup_sink_pad):
3059 Make sure to pass a message parameter to the fail_* macros.
3061 * tests/check/gst/gstinfo.c: (GST_START_TEST):
3062 Fix some compiler warnings.
3064 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
3066 * tests/check/gst/gststructure.c: (test_to_string):
3067 Disable test that checks that white spaces are not allowed
3068 in structure names or field names, since we need to
3069 support that for now for backwards compatibility reasons.
3071 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
3073 * docs/gst/gstreamer-sections.txt:
3076 API: add GST_TAG_ARTIST_SORTNAME
3077 API: add GST_TAG_ALBUM_SORTNAME
3078 API: add GST_TAG_TITLE_SORTNAME
3079 Add tag variants for sorting (#414539).
3081 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
3083 * gst/gststructure.c:
3084 Also allow white space for names so we don't break
3085 backwards compatibility.
3087 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
3089 * docs/design/part-TODO.txt:
3090 * docs/design/part-segments.txt:
3091 * docs/design/part-streams.txt:
3094 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
3096 * docs/gst/gstreamer-sections.txt:
3097 Fixed documentation from my previous commit (added new API add
3098 gst_value_set_structure(), add gst_value_get_structure() and
3099 GST_VALUE_HOLDS_STRUCTURE).
3101 2007-10-22 Stefan Kost <ensonic@users.sf.net>
3103 * gst/gstdebugutils.c:
3104 Reflow code to fix uninitialized variable warning.
3106 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
3108 * gst/gstcaps.c: (gst_caps_to_string),
3109 (gst_caps_from_string_inplace):
3110 * gst/gststructure.c: (gst_structure_get_abbrs),
3111 (gst_structure_to_string), (gst_structure_from_string):
3112 * gst/gstvalue.c: (gst_value_set_structure),
3113 (gst_value_get_structure), (gst_value_serialize_structure),
3114 (gst_value_deserialize_structure), (_gst_value_initialize):
3116 * tests/check/gst/gststructure.c: (GST_START_TEST),
3117 (gst_structure_suite):
3118 * tests/check/gst/gstvalue.c: (GST_START_TEST):
3119 Added GstStructure to gst_value_table and its related functions.
3120 Changed gst_structure_to_string to print ';' in the end.
3121 Changed gst_caps_to_string to not print ';' beteween its
3122 fields (structures) anymore and remove the lastes ';' from latest
3123 structure. Now it is possible to have nested structures.
3124 In addition, backward compatibilty is assured by accepting '\0' as
3125 end delimiter. Fixes: #487969.
3126 API: add gst_value_set_structure()
3127 API: add gst_value_get_structure()
3128 API: add GST_VALUE_HOLDS_STRUCTURE
3130 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
3133 When no GSource callback has been set up, tell developer
3134 to use a function that actually exists.
3136 2007-10-17 Stefan Kost <ensonic@users.sf.net>
3138 * docs/gst/gstreamer-sections.txt:
3142 * gst/gstdebugutils.c:
3143 * gst/gstdebugutils.h:
3146 * tools/gst-launch.c:
3147 Allow dumping pipelines as dot graphs. Fixes #456573.
3149 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
3151 * gst/gststructure.c:
3152 Allow '+' as well, it can be part of media or mime types
3153 such as image/svg+xml.
3155 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
3157 * docs/gst/gstreamer-sections.txt:
3160 API: add gst_bus_pop_filtered
3161 API: add gst_bus_timed_pop_filtered
3162 Two new functions for waiting for specific message types on the
3163 bus for a specified amount of time without iterating any main
3164 loops or main contexts.
3166 * tests/check/gst/gstbus.c:
3167 Some tests for the new functions.
3169 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
3171 * docs/libs/gstreamer-libs-sections.txt:
3172 Make gtk-doc ignore stuff it should ignore.
3174 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
3176 * libs/gst/check/gstcheck.c:
3177 * libs/gst/check/gstcheck.h:
3178 Allow runtime selection of unit tests to run via the GST_CHECKS
3179 environment variable (test case function names, comma-separated).
3181 2007-10-16 Stefan Kost <ensonic@users.sf.net>
3183 * gst/gststructure.c:
3184 * tests/check/gst/gststructure.c:
3185 Revert serialisation change and constrain structure-names after
3186 consensus on irc. Update api documentation to reflect the change.
3188 2007-10-16 Stefan Kost <ensonic@users.sf.net>
3190 * gst/gststructure.c:
3191 Improve serialization and fix tests.
3193 * tests/check/gst/gststructure.c:
3194 Add another test that covers why I actually did the previous structure
3197 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
3199 * tools/gst-inspect.c: (print_element_info):
3200 Don't crash when inspecting an element.
3202 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
3204 * tests/check/gst/gststructure.c:
3205 Add unit test for escaping of structure name when serialising
3206 and deserialising to/from strings.
3208 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
3210 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
3211 (gst_single_queue_new):
3212 * plugins/elements/gstqueue.c: (gst_queue_init),
3213 (gst_queue_push_one):
3214 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
3215 upstream is tricked into thinking it can suggest a format downstream
3216 while downstream does not support that format. The real problem is that
3217 core calls acceptcaps when pushing a buffer with new caps, for which we
3218 do a little workaround by setting the caps on the srcpad ourselves
3219 before pushing the buffer (until this is figured out). Fixes #486758.
3221 2007-10-15 Stefan Kost <ensonic@users.sf.net>
3223 * gst/gststructure.c:
3225 Add some more comments and debug output. Quote structure name to fix
3226 deserialisation of some strings.
3228 2007-10-15 Stefan Kost <ensonic@users.sf.net>
3231 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
3232 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
3234 2007-10-15 Stefan Kost <ensonic@users.sf.net>
3236 * tools/gst-inspect.c:
3237 Save approx. 400 1 byte allocs when printing. Use API to acces element
3243 * tools/gst-xmlinspect.c:
3244 Use API to acces element details.
3246 2007-10-15 Stefan Kost <ensonic@users.sf.net>
3249 Fix some spelling errors.
3251 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
3253 * gst/gstbin.c: (bin_handle_async_done):
3254 Correctly set the next state if all of our async children commited their
3255 state. This makes sure we can actually cancel the state change in
3256 progress. Fixes a regression in Rhythmbox when seeking.
3258 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
3261 Don't shadow local variable.
3264 Don't shadow global function name.
3266 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
3268 * gst/gstelementfactory.c:
3269 * gst/gstpluginfeature.c:
3270 * gst/gstpluginfeature.h:
3271 * gst/gstregistrybinary.c:
3272 * gst/gstregistryxml.c:
3273 * gst/gsttypefind.c:
3274 Use already-interned string for the private GstPluginFeature
3277 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
3279 * docs/libs/gstreamer-libs-sections.txt:
3280 Add new API to docs; fixes the build.
3282 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
3284 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
3286 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
3287 (gst_base_sink_event):
3288 * libs/gst/base/gstbasesink.h:
3289 Add function to wait for EOS, subclasses can use this to correctly wait
3290 for devices to drain before performing the EOS logic. Fixes #485343.
3291 API: gst_base_sink_wait_eos()
3293 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
3296 Cast description string constants in GST_PLUGIN_DEFINE macros
3297 to a (gchar*) to make C++ code using these macros compile
3298 without warning with g++-4.2 (see #462737). Even if slightly
3299 ugly, this seems preferable to putting the description strings
3300 into the GLib quark table or making the structure member a
3301 const gchar * and doing casts in core code that allocs and
3302 frees these strings, or requiring a cast in the C++ code.
3304 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
3307 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
3308 to print the entire class/function signature into the log
3309 file for C++ code. This only affects C++ code, for C code
3310 everything remains the same.
3312 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
3314 * gst/gstbin.c: (remove_from_queue):
3315 Work around a problem with pipelines containing (semi)loops until a
3316 proper, more complicated solution is ready. See #475455.
3318 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
3322 * gst/gstregistrybinary.c:
3323 * gst/gstregistryxml.c:
3324 Put more strings into the GLib quark table. No need to keep
3325 a hundred-something copies of identical version strings,
3326 license strings, package name strings and package origin
3329 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
3331 * docs/manual/advanced-dataaccess.xml:
3332 Don't imply that it's okay to unconditionally change
3333 buffer data or buffer metadata in a pad probe callback,
3334 and a bunch of other comments. Fixes #430031.
3336 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
3338 * win32/common/gstenumtypes.c:
3339 * win32/common/gstenumtypes.h:
3340 * win32/common/gstversion.h:
3341 Update generated files.
3343 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
3345 * docs/manual/advanced-autoplugging.xml:
3346 Prefix section with broken code with a warning (see #342432).
3348 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
3350 * docs/manual/appendix-integration.xml:
3351 * docs/manual/basics-init.xml:
3352 Call g_thread_init() before g_option_context_new() to
3353 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
3355 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
3357 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
3358 (gst_base_sink_queue_object_unlocked),
3359 (gst_base_sink_queue_object), (gst_base_sink_event),
3360 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
3361 When we received EOS and are waiting for when to post the EOS message,
3362 our state is prerolled and we should not return ASYNC.
3363 Reorganize some code paths to implement this behavior.
3365 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
3367 Add unit test to verify above EOS fix.
3369 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
3371 * plugins/elements/gsttypefindelement.c:
3372 (gst_type_find_element_have_type), (gst_type_find_element_init),
3373 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
3374 Move detecting the input caps of the sinkpad to the setcaps function.
3375 This allows us to update the output caps when we receive new input caps
3376 instead of always using the first detected caps.
3378 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
3380 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
3381 (gst_base_sink_get_position):
3382 Don't try to preroll non-async elements after a flush.
3383 Subtract latency form clock times when reporting position.
3385 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
3387 * gst/gstpad.c: (gst_pad_pause_task):
3389 Small comment and documentation update.
3391 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
3393 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3394 (gst_base_src_set_live), (gst_base_src_is_live),
3395 (gst_base_src_query_latency), (gst_base_src_perform_seek),
3396 (gst_base_src_default_event), (gst_base_src_wait),
3397 (gst_base_src_do_sync), (gst_base_src_get_range),
3398 (gst_base_src_pad_get_range), (gst_base_src_loop),
3399 (gst_base_src_unlock), (gst_base_src_unlock_stop),
3400 (gst_base_src_set_flushing), (gst_base_src_set_playing),
3401 (gst_base_src_activate_push), (gst_base_src_activate_pull),
3402 (gst_base_src_change_state):
3403 Rework the locking of basesrc in a similar fashion to basesink. We
3404 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
3405 us to handle live sources and semi live ones much better.
3407 Fix unlocking when seeking, shutting down and pausing in live sources.
3409 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
3411 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
3412 Fix compilation again.
3414 2007-10-03 Stefan Kost <ensonic@users.sf.net>
3417 Use meaningful categories for the logs to clean the default one.
3419 2007-10-03 Stefan Kost <ensonic@users.sf.net>
3421 * tests/check/pipelines/cleanup.c:
3422 Print message name and not just number.
3424 2007-10-03 Stefan Kost <ensonic@users.sf.net>
3426 * docs/design/draft-tagreading.txt:
3427 Add some more thoughts.
3429 2007-10-03 Stefan Kost <ensonic@users.sf.net>
3431 * tests/check/pipelines/simple-launch-lines.c:
3432 Print message name and not just number.
3434 2007-10-03 Stefan Kost <ensonic@users.sf.net>
3436 * libs/gst/base/gsttypefindhelper.c:
3437 Speedup typefinding. This is work in progress (see #459862).
3439 2007-10-03 Stefan Kost <ensonic@users.sf.net>
3442 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
3443 Spotted by Josep Torra Valles <josep@fluendo.com>.
3445 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
3448 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
3449 field has moved to GstObject.
3451 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
3453 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
3454 (gst_base_src_get_range), (gst_base_src_change_state):
3455 Call unlock for live sources so that they can't get stuck in _create and
3456 produce a buffer before they are set back to PLAYING.
3458 2007-10-02 Edward Hervey <bilboed@bilboed.com>
3460 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
3461 (gst_queue_locked_dequeue):
3462 Comment the segment-related code... in the PROPER function.
3463 See #482147 and my commit from yesterday.
3465 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
3467 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
3468 Also initialize the counter that calculates the first timestamp on a
3469 buffer correctly for non-live sources.
3471 2007-10-01 Edward Hervey <bilboed@bilboed.com>
3473 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
3474 Disable code that's breaking the current-time-level reporting.
3477 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
3479 * docs/gst/gstreamer-sections.txt:
3480 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
3481 as they shouldn't show up. Fixes the docs build.
3483 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
3486 Add an explicit variable importation needed on VS6 (only for MSC_VER)
3487 Define M_PI which is used in files which are including gstinfo.h.
3488 VS6 includes doesn't define it.
3489 * win32/common/libgstbase.def:
3490 * win32/common/libgstcontroller.def:
3491 * win32/common/libgstreamer.def:
3492 Add new exported functions and variables.
3493 * win32/vs6/libgstcontroller.dsp:
3494 * win32/vs6/libgstreamer.dsp:
3495 Update the list of files to build.
3497 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
3499 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
3501 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
3502 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
3503 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
3504 Improve debugging. Fixes #480858.
3506 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
3508 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
3510 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
3511 First patch of code cleanups, use the macros and right arguments in the
3512 macros to signal and lock the queue. See #480858.
3514 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
3516 * gst/gstbus.c: (poll_func):
3517 Improve debugging when dealing with _poll().
3519 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
3521 * gst/gstregistryxml.c:
3522 Fix memory leak I introduced a few days ago.
3524 2007-09-26 Michael Smith <msmith@fluendo.com>
3526 * gst/gstbuffer.c: (gst_buffer_finalize):
3527 Make it once again possible to free GstBuffers in the default
3529 The poisoning scribbles on parts of the miniobject we need in
3533 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
3535 * docs/gst/gstreamer-sections.txt:
3538 API: add GST_TAG_COMPOSER, fixes #459809.
3540 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
3544 Add the 3-clause BSD license and the MIT/X11 license to the license
3545 list. Fixes #479784.
3547 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
3549 * docs/faq/getting.xml:
3550 Add Q+A about different GStreamer versions (#364056).
3552 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
3554 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3555 (gst_base_sink_event), (gst_base_sink_change_state):
3556 Return correct gboolean from query function.
3558 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
3560 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3561 (gst_base_sink_event), (gst_base_sink_query),
3562 (gst_base_sink_change_state):
3563 Simplify latency query.
3564 When not synchronizing, we can report latency without querying the peer
3567 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
3571 Fix small typos in the docs.
3573 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
3575 * docs/design/draft-latency.txt:
3576 * docs/design/draft-push-pull.txt:
3577 * docs/design/draft-tagreading.txt:
3578 * docs/design/part-MT-refcounting.txt:
3579 * docs/design/part-activation.txt:
3580 * docs/design/part-block.txt:
3581 * docs/design/part-element-source.txt:
3582 * docs/design/part-events.txt:
3583 * docs/design/part-gstbin.txt:
3584 * docs/design/part-gstelement.txt:
3585 * docs/design/part-gstobject.txt:
3586 * docs/design/part-gstpipeline.txt:
3587 * docs/design/part-messages.txt:
3588 * docs/design/part-preroll.txt:
3589 * docs/design/part-push-pull.txt:
3590 * docs/design/part-qos.txt:
3591 * docs/design/part-query.txt:
3592 * docs/design/part-scheduling.txt:
3593 * docs/design/part-seeking.txt:
3594 * docs/design/part-segments.txt:
3595 * docs/design/part-states.txt:
3596 Documentation updates and typo fixes.
3598 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
3600 * plugins/elements/gstfakesink.c:
3601 Add some debug text to error message to indicate that
3602 we errored out on request.
3604 * tools/gst-launch.c:
3605 When the state change to PLAYING fails, check for an
3606 error message on the bus and print it.
3608 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
3610 translated by: Jorge González González <aloriel@gmail.com>
3614 Added Spanish translation.
3616 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
3618 * plugins/elements/gstqueue.c: (gst_queue_push_one):
3619 Fix printf arguments.
3621 2007-09-20 Stefan Kost <ensonic@users.sf.net>
3623 * tests/check/generic/states.c:
3624 Improved state change unit test.
3626 2007-09-20 Stefan Kost <ensonic@users.sf.net>
3629 Move priv to the right place.
3631 * gst/gstsystemclock.c:
3632 Add FIXME: and improve log.
3634 * tests/check/Makefile.am:
3635 * tests/examples/manual/Makefile.am:
3636 Work with all types of registries.
3638 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
3640 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
3641 Don't unref the event after pushing it. Fixes #478401.
3643 2007-09-19 Stefan Kost <ensonic@users.sf.net>
3646 * tests/examples/manual/.cvsignore:
3647 Ignore registries in any format.
3649 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
3651 * gst/glib-compat-private.h:
3652 Add compatibility macro for g_intern_string() for
3653 GLib-2.8 (any reason we can't just bump the
3654 requirement to at least 2.10?)
3656 * gst/gstpadtemplate.h:
3657 * gst/gstelementfactory.c:
3658 * gst/gstregistryxml.c:
3659 * gst/gstregistrybinary.c:
3660 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
3661 up the internal code accordingly. This shouldn't be a problem, since
3662 there is no reason external code could ever assume the string in such
3663 a structure is dynamically allocated unless it did that itself; the
3664 use of g_strdup() is private to element factories. The new code also
3665 saves some memory by putting pad template name strings into the GLib
3666 quark table instead of allocating them dynamically.
3667 Declaring this field constant fixes warnings with g++-4.2 when using
3668 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
3670 2007-09-19 Stefan Kost <ensonic@users.sf.net>
3672 * gst/gstelementfactory.c:
3673 Release static caps. Fixes #475723.
3675 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
3679 Make some internal API take const gchar * instead of just
3680 gchar * to avoid compiler warnings with g++-4.2.2 when
3681 passing string constants (partially fixes #478092).
3683 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
3685 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
3686 A latency query fails when one of the sinks fail.
3688 * gst/gstelement.c: (gst_element_set_base_time):
3691 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
3693 * gst/gstbin.c: (gst_bin_continue_func):
3694 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
3695 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
3696 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
3698 Fix minor compilation warnings shown with Forte.
3700 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
3702 * plugins/elements/gstqueue.c: (apply_buffer),
3703 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
3704 Measure queue level based on the diff between head and tail timestamps
3705 even when pushing the first buffer.
3707 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
3709 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
3710 (gst_base_sink_event), (gst_base_sink_change_state):
3711 Sinks that don't preroll can always be queried for the latency.
3712 Don't post ASYNC start when we are not async.
3714 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
3716 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
3717 (gst_queue_handle_sink_event), (gst_queue_chain),
3718 (gst_queue_push_one), (gst_queue_handle_src_query),
3719 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
3720 * plugins/elements/gstqueue.h:
3721 When downstream returns UNEXPECTED from pushing a buffer, don't try to
3722 push more buffers but allow pushing of EOS and NEWSEGMENT.
3723 Add some more debug info here and there. Fixes #476514.
3725 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
3727 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3728 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
3729 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
3730 (gst_base_sink_set_flushing), (gst_base_sink_query),
3731 (gst_base_sink_change_state):
3732 Latency query is allowed after we are prerolled. Introduce a new flag
3733 for this and stop abusing other variables.
3735 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
3737 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
3738 Push OOB events downstream when we get them in send_event. This allows
3739 the application to insert events in the pipeline.
3740 Add some more comments.
3742 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
3744 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
3745 (do_bin_latency), (gst_bin_change_state_func):
3746 * gst/gstpipeline.c: (gst_pipeline_change_state):
3747 Move latency query from GstPipeline to GstBin so that we can also
3748 use it when async-handling is enabled on bins.
3750 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
3752 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
3753 (gst_base_src_do_sync), (gst_base_src_change_state):
3755 Clean up the timestamping and syncing code for pseudo live sources.
3757 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
3759 Patch by: Steve Fink <sphink gmail com>
3761 * docs/manual/appendix-checklist.xml:
3762 Mention less -R switch in the section about debug output (#474055).
3764 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
3766 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3767 Queue can latency to the pipeline up to the configured max size in time.
3768 Report this fact in the latency query.
3770 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
3772 Patch by: Sebastien Moutte <sebastien at moutte dot net>
3774 * libs/gst/controller/gstinterpolation.c:
3775 * libs/gst/controller/gstlfocontrolsource.c:
3776 Use gst_guint64_to_gdouble() when converting from a uint64 or
3777 GstClockTime to double to fix the build on win32. Fixes #474371.
3779 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
3781 * gst/gstbuffer.c: (gst_buffer_finalize):
3782 Implement poisoning for GstBuffer if --enable-poisoning is specified.
3783 When finalizing a buffer the complete struct is filled with 0xff,
3784 thus making a use of the buffer after the final unref impossible.
3786 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
3788 * tests/check/libs/controller.c: (GST_START_TEST):
3789 Use fail_unless_equals_int(a, b) instead of
3790 fail_unless_equals (a == b) to get better output on failures.
3792 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
3794 * tests/check/gst/gsturi.c:
3795 Also check for the other file URI variant on win32.
3797 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
3799 * gst/gsturi.c: (gst_uri_get_location):
3800 If there's no hostname, we want to return 'c:/foo/bar.txt'
3801 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
3803 * tests/check/gst/gsturi.c:
3804 Unit test for the above and a few more things.
3806 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
3808 * docs/design/part-live-source.txt:
3809 Add docs on how live sources should timestamp.
3811 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
3812 Add some more debug info.
3813 For subclasses that are live and like to sync, add aditional startup
3814 latency to sync time and timestamps so that we timstamp according to the
3817 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
3820 Also do a g_type_class_ref() for the subbuffer type in
3823 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
3825 * docs/gst/gstreamer-sections.txt:
3826 * gst/gstpad.c: (gst_pad_peer_query):
3828 Add function to perform a query on the peer of a pad.
3829 API: gst_pad_peer_query()
3831 2007-09-11 Stefan Kost <ensonic@users.sf.net>
3833 * tests/check/gst/gstsystemclock.c:
3834 Cleanup the test a little (use gst-logging and not g_message). Improve
3835 test to check if a wait reached the target.
3837 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
3839 * docs/libs/gstreamer-libs-sections.txt:
3840 Add new API to docs and fix the build.
3842 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
3844 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3845 (gst_base_src_init), (gst_base_src_set_do_timestamp),
3846 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
3847 (gst_base_src_get_property), (gst_base_src_do_sync):
3848 * libs/gst/base/gstbasesrc.h:
3849 Add property to make the basesrc timestamp buffers based on the current
3851 API: GstBaseSrc::do-timestamp
3852 API: gst_base_src_set_do_timestamp()
3853 API: gst_base_src_get_do_timestamp()
3855 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
3857 * docs/random/release:
3858 Really make sure translations are up-to-date before
3859 a release (#465010).
3861 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
3863 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
3864 Always destroy the timer, also in error cases.
3866 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
3868 * docs/manual/highlevel-xml.xml:
3869 Fix XML example code. Fixes #472714.
3871 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
3873 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
3874 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
3875 (gst_base_sink_query):
3876 Protect eos and have_preroll with the OBJECT lock so we don't need to
3877 take the PREROLL lock when querying the latency. Fixes #473846.
3879 2007-09-05 Stefan Kost <ensonic@users.sf.net>
3882 Give some log-messages a category.
3884 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
3886 * gst/gststructure.c:
3887 (gst_structure_fixate_field_nearest_fraction):
3888 Fix fraction list fixation code. Take the fraction with the smallest
3889 difference with the target instead of the first one in the list.
3891 * tests/check/gst/gststructure.c: (GST_START_TEST),
3892 (gst_structure_suite):
3893 Added test to verify correct fraction list fixation behaviour.
3895 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
3897 * win32/common/libgstreamer.def:
3898 Export gst_bus_add_signal_watch too.
3900 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
3902 * docs/libs/gstreamer-libs-sections.txt:
3903 Add new methods to docs.
3905 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
3906 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
3907 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
3908 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
3909 * libs/gst/base/gstbasesink.h:
3910 Add ts-offset property to fine-tune the synchronisation.
3911 API: GstBaseSink::ts-offset property
3912 API: gst_base_sink_set_ts_offset()
3913 API: gst_base_sink_get_ts_offset()
3915 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
3917 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
3918 (gst_base_sink_init), (gst_base_sink_set_sync),
3919 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
3920 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
3921 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
3922 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
3923 (gst_base_sink_get_property), (gst_base_sink_change_state):
3924 * libs/gst/base/gstbasesink.h:
3925 Add async property to instruct the sink never to inform the parent about
3926 ASYNC state changes, update docs.
3927 Check argument with g_return_* for the public functions.
3928 API: GstBaseSink::async property
3929 API: gst_base_sink_set_async_enabled()
3930 API: gst_base_sink_is_async_enabled()
3932 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
3934 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
3937 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
3938 (gst_base_src_default_query), (gst_base_src_wait),
3939 (gst_base_src_do_sync), (gst_base_src_change_state):
3940 Rearrange some code so that we can add support for measuring the
3943 2007-08-27 Stefan Kost <ensonic@users.sf.net>
3945 * docs/random/ensonic/dynlink.txt:
3946 More thoughs on this.
3948 * plugins/elements/gstcapsfilter.c:
3949 Add bugzilla ticket number to FIXME comment.
3951 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
3953 * docs/design/part-TODO.txt:
3954 * docs/design/part-block.txt:
3957 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
3960 Revert patch which uses $(gst_headers) instead of $^ because it
3963 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
3965 * tests/check/gst/gstbin.c: (GST_START_TEST):
3966 Fix leaks in the new unit test.
3968 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
3971 Don't use GST_INFO before the debug system is actually initialised
3972 (shouldn't do any harm, but won't print anything either, so we can
3973 just as well remove it).
3976 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
3977 compilers that don't support variadic macros (such as MSVC), should
3978 check for debug_level <= __gst_debug_min as well, since that's the
3979 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
3980 inline helper functions. Should improve performance a bit, but also
3981 makes sure uses of GST_INFO et.al are ignored if the debugging
3982 system isn't initialised yet (instead of printing an assertion
3985 2007-08-23 Stefan Kost <ensonic@users.sf.net>
3987 patch by: David Nečas <yeti@physics.muni.cz>
3990 Replace some non portable makefile constructs.
3992 2007-08-21 Stefan Kost <ensonic@users.sf.net>
3994 * common/gtk-doc-plugins.mak:
3995 Grrrrr. Don't remove the types file on make clean.
3997 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
3999 * tools/gst-launch.1.in:
4000 Add colorspace to example pipeline. Fixes #458274.
4002 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
4004 * docs/random/release:
4005 The release manager should run 'make download-po' before making a
4006 release to make sure translations are up-to-date.
4012 Add some new translations.
4014 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
4016 * tools/gst-launch.c: (event_loop), (main):
4017 Don´t try to do any state management when a live pipeline posts
4019 Also make the buffering string translatable.
4021 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
4023 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
4024 (bin_handle_async_start), (gst_bin_handle_message_func):
4026 When adding elements, insert messages into the bus of the newly added
4027 element and make sure the element is the source of the message. This
4028 allows the parent bin to intercept the message and do the
4029 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
4030 messages to the app (which is not allowed).
4033 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
4034 Fix testsuite so that is does not work around messages that should not
4035 have been posted in the first place.
4037 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
4039 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
4040 (update_degree), (gst_bin_sort_iterator_next):
4041 Fix annoying bug in the sorted iterator where a sink that is not really
4042 a sink (when it has downstream links) screwed up the iterator.
4044 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4045 Unit test to verify the fix.
4047 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
4050 Add some more docs for the messages.
4052 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4053 (gst_base_sink_query):
4054 Add some more debugging.
4056 * tools/gst-launch.c: (event_loop):
4057 When interrupting, don't try to set pipeline to PAUSED twice.
4059 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
4062 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
4063 (bin_handle_async_start), (gst_bin_handle_message_func):
4064 Move ASYNC_START message posting to where it belongs, similar to
4066 Don't post ASYNC_START when we are in error.
4067 Post ASYNC_START when we added an async element to a bin.
4069 2007-08-14 Julien MOUTTE <julien@moutte.net>
4071 * gst/gstindex.c: (gst_index_add_association): Fix index entry
4072 generation from vargs. Fixes #466595.
4074 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
4076 * gst/gstbin.c: (gst_bin_element_set_state):
4077 Always change the state of a NO_PREROLL element even if it has ASYNC
4078 elements inside (in case of a bin).
4080 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
4081 Unit test for this case.
4083 2007-08-13 Stefan Kost <ensonic@users.sf.net>
4085 * libs/gst/check/gstbufferstraw.c:
4086 * libs/gst/check/gstcheck.h:
4087 * libs/gst/controller/gstcontroller.c:
4088 * libs/gst/controller/gstcontrolsource.h:
4089 * libs/gst/controller/gstlfocontrolsource.h:
4090 * plugins/elements/gstcapsfilter.h:
4091 * plugins/elements/gstfdsink.h:
4092 * plugins/elements/gstfdsrc.h:
4093 Add more missing docs.
4095 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
4097 * gst/gststructure.c:
4098 Add Since tag to docs.
4100 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
4102 * docs/gst/gstreamer-sections.txt:
4103 * gst/gststructure.c: (gst_structure_get_uint):
4104 * gst/gststructure.h:
4105 Add function to get uint from a structure.
4106 API: gst_structure_get_uint()
4108 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
4110 * gst/gstcaps.c: (gst_caps_set_simple_valist),
4111 (gst_caps_intersect):
4112 Fix proper check for simple caps.
4114 2007-08-10 Stefan Kost <ensonic@users.sf.net>
4116 * docs/gst/Makefile.am:
4117 * docs/libs/Makefile.am:
4118 Remove cruft and do some cleanups.
4120 * docs/gst/gstreamer-docs.sgml:
4121 * docs/libs/gstreamer-libs-docs.sgml:
4122 Prepare for comming gtkdoc features (rebase against online docs).
4124 2007-08-10 Michael Smith <msmith@fluendo.com>
4126 * docs/gst/gstreamer-sections.txt:
4127 Add gst_registry_add_path to docs.
4129 2007-08-10 Michael Smith <msmith@fluendo.com>
4131 * gst/gstregistry.h:
4132 Add gst_registry_add_path, which was missing from this header.
4134 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
4136 * libs/gst/controller/gstlfocontrolsource.c:
4139 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
4141 * libs/gst/base/gstbasesink.c:
4142 Don't send an async_start message during downwards state change if
4143 target state is less than READY
4145 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
4147 translated by: Gabor Kelemen <kelemeng@gnome.hu>
4151 Added Hungarian translation.
4153 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
4160 Updated translations.
4162 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
4164 * libs/gst/controller/Makefile.am:
4165 Dist gstlfocontrolsourceprivate.h
4167 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
4169 * docs/libs/gstreamer-libs.types:
4170 Don't register the enum type gst_lfo_waveform_get_type() in the
4171 .types file - only GObject derived types belong.
4173 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
4175 Patch by: <arenevier at fdn dot fr>
4178 Remove comma from last element in enum to avoid compile errors when
4179 using -pendantic. Fixes #464366.
4181 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
4183 * docs/design/part-TODO.txt:
4184 Add some more TODO items
4186 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
4189 * gst/gstcaps.c: (gst_caps_intersect):
4190 Optimize trivial intersection case between identical caps pointers.
4192 * gst/gstelement.c: (gst_element_continue_state),
4193 (gst_element_set_state_func):
4195 Fix spelling and grammar mistakes.
4197 2007-08-05 Stefan Kost <ensonic@users.sf.net>
4201 Update POTFILES. Fixes #461599.
4203 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
4206 Fix confusing typo in debug output.
4208 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
4210 reviewed by: Stefan Kost <ensonic@users.sf.net>
4212 * libs/gst/controller/Makefile.am:
4213 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
4214 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
4215 (gst_lfo_control_source_new),
4216 (gst_lfo_control_source_set_waveform),
4217 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
4218 (gst_lfo_control_source_finalize),
4219 (gst_lfo_control_source_dispose),
4220 (gst_lfo_control_source_set_property),
4221 (gst_lfo_control_source_get_property),
4222 (gst_lfo_control_source_class_init):
4223 * libs/gst/controller/gstlfocontrolsource.h:
4224 * libs/gst/controller/gstlfocontrolsourceprivate.h:
4225 API: Add GstLFOControlSource, a control source that gives values
4226 for specific timestamps based on several periodic waveforms.
4229 * tests/check/libs/controller.c: (GST_START_TEST),
4230 (gst_controller_suite):
4231 * docs/libs/gstreamer-libs-docs.sgml:
4232 * docs/libs/gstreamer-libs-sections.txt:
4233 * docs/libs/gstreamer-libs.types:
4234 Add documentation and unit tests for GstLFOControlSource.
4236 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
4241 === release 0.10.14 ===
4243 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
4246 releasing 0.10.14, "Breathing Vacuum"
4248 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
4250 * gst/gstelement.c: (gst_element_class_set_details_simple):
4252 Make strings passed to gst_element_class_set_details_simple()
4253 constant, as they should be (#462752).
4255 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
4257 * gst/gstbin.c: (gst_bin_change_state_func),
4258 (bin_handle_async_done), (gst_bin_handle_message_func):
4259 Don't forget about the fact that some element went ASYNC even after a
4260 resync. This makes us post the ASYNC_DONE message correctly.
4263 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
4265 * gst/gstregistry.c: (gst_registry_add_feature):
4266 When replacing an existing feature in the registry, make sure to
4267 continue holding a reference until we've replaced the name string
4268 within our feature hash table. Make sure to use g_hash_table_replace
4269 instead of g_hash_table_insert to ensure the new name string is used
4270 as a key instead of the old one that we're about to free.
4273 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
4275 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
4276 (gst_plugin_feature_set_name):
4277 Revert patch from #459466 until after the release and we can work
4278 out exactly what the problem is (if any).
4280 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
4282 * docs/gst/gstreamer-sections.txt:
4285 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
4287 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
4289 * docs/libs/Makefile.am:
4290 Include our build-prefix libs and includes before the generic ones to
4291 avoid linking against the installed libs when we want the build-tree
4294 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
4296 Patch by: Steve Fink <sphink gmail com>
4298 * docs/pwg/building-testapp.xml:
4299 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
4300 if people try to build or install the example from the plugin
4301 template against a GStreamer from package using the configure
4304 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
4306 Patch by: Steve Fink <sphink gmail com>
4308 * tools/gst-inspect.1.in:
4309 Document --print-all and --print-plugin-auto-install-info command
4310 line options in man page.
4312 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
4314 * docs/gst/gstreamer-sections.txt:
4315 Add docs for new api function.
4317 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
4319 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
4320 * gst/gstelementfactory.h:
4321 API: gst_element_factory_has_interface()
4322 Added method to check if an element factory implements a named
4325 2007-07-25 Stefan Kost <ensonic@users.sf.net>
4328 * docs/gst/gstreamer.types.in:
4329 Another conditional doc check.
4332 * gst/gstparamspecs.h:
4333 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4338 2007-07-24 Stefan Kost <ensonic@users.sf.net>
4340 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
4341 (gst_registry_binary_load_feature),
4342 (gst_registry_binary_load_plugin),
4343 (gst_registry_binary_read_cache):
4344 Print error just once and with additional info.
4346 2007-07-24 Stefan Kost <ensonic@users.sf.net>
4348 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
4349 (helper_find_suggest), (helper_find_get_length),
4350 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
4351 (gst_type_find_helper_for_buffer):
4352 Cleanup the typefindhelper code and add private doc comments.
4354 2007-07-24 Edward Hervey <bilboed@bilboed.com>
4356 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
4357 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
4358 Fix capsfilter for cases where the caps set on capsfilter will provide
4359 additional information.
4362 2007-07-24 Stefan Kost <ensonic@users.sf.net>
4364 * gst/gsttypefindfactory.c:
4365 Fix docs that recommened wrong function to use.
4367 2007-07-23 Stefan Kost <ensonic@users.sf.net>
4369 * tools/gst-inspect.c: (print_plugin_features):
4370 Also give media-type for typefinders in element output.
4372 2007-07-23 Stefan Kost <ensonic@users.sf.net>
4374 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
4375 (gst_registry_remove_features_for_plugin_unlocked),
4376 (gst_registry_add_feature), (gst_registry_remove_feature),
4377 (gst_registry_lookup_feature_locked):
4378 * gst/gstregistry.h:
4379 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
4382 2007-07-23 Stefan Kost <ensonic@users.sf.net>
4384 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
4385 (gst_plugin_feature_set_name):
4386 Avoid double memory usage for pluginfeature names. Fixes #459466.
4388 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
4391 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
4392 driving the pipeline may need to explicitly check for NOT_LINKED as
4393 well, since IS_FATAL doesn't cover that.
4395 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
4397 * docs/pwg/advanced-types.xml:
4398 Fix typo and duplicate entry in video formats list.
4400 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
4402 * libs/gst/controller/gstinterpolation.c:
4403 Also round to the nearest int when using cubic interpolation.
4405 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
4407 * libs/gst/controller/gstinterpolation.c:
4408 When linearly interpolating integer types, round to the nearest int
4409 by adding 0.5. Don't do it for float/double types.
4410 Fixes the failing controller test on my machine, which is somehow
4411 rounding differently than on the buildbots.
4413 2007-07-20 Stefan Kost <ensonic@users.sf.net>
4415 * tools/gst-plot-timeline.py:
4416 Better log parsing (categories can have -). Adjust text vs. lines, so
4417 that they span the same y-range.
4419 2007-07-20 Stefan Kost <ensonic@users.sf.net>
4421 * docs/random/ensonic/audiobaseclasses.txt:
4422 * docs/random/ensonic/dynlink.txt:
4423 * docs/random/ensonic/profiling.txt:
4426 * docs/random/moving-plugins:
4427 Add note to use g_assert type macros.
4429 2007-07-20 Stefan Kost <ensonic@users.sf.net>
4432 * libs/gst/check/Makefile.am:
4433 Add libm check as we use in for plugins.
4435 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
4437 * gst/gstbin.c: (gst_bin_continue_func):
4438 Check that the state_cookie hasn't changed since the continue_func
4439 was scheduled. Avoids problems where the state changes back to
4440 something it shouldn't be because it was changed in the meantime.
4442 2007-07-17 Stefan Kost <ensonic@users.sf.net>
4444 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
4445 (gst_registry_binary_save_string),
4446 (gst_registry_binary_save_pad_template),
4447 (gst_registry_binary_save_feature),
4448 (gst_registry_binary_save_plugin),
4449 (gst_registry_binary_load_feature),
4450 (gst_registry_binary_load_plugin),
4451 (gst_registry_binary_read_cache):
4452 Fix memory leak. Be less verbose in the log.
4454 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
4456 * tests/check/elements/.cvsignore:
4457 Add file to cvsignore as commanded.
4459 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
4461 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
4462 (mq_dummypad_event), (run_output_order_test):
4463 Use a GStaticMutex to protect all cases where libcheck
4464 fail_if/fail_unless macros might be called from multiple threads
4465 simultaneously to avoid errors like:
4466 "check_pack.c:107: :-1081725400:Bad message type arg"
4468 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
4470 * tests/check/pipelines/stress.c: (GST_START_TEST):
4471 Make sure we set the pipeline back to the NULL state before
4472 dropping our final reference.
4474 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
4476 * tests/check/elements/tee.c: (GST_START_TEST):
4477 Make the tee stress-test a little less stressful so it doesn't just
4478 time out on slow-machines, and remove a small race when it's starting
4479 up by adding a get_state() call.
4481 2007-07-16 Stefan Kost <ensonic@users.sf.net>
4484 Avoid reading registry twice on startup. Fixes #457322.
4486 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
4488 * pkgconfig/gstreamer-check-uninstalled.pc.in:
4489 * pkgconfig/gstreamer-check.pc.in:
4490 Substitute the CFLAGS for libcheck into our .pc file too so that
4491 dependent modules will pick it up properly if libcheck is installed
4492 into some other prefix.
4494 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
4497 Revert the pkg-config check for libcheck, since it pulls in the
4498 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
4499 a proper solution, either from the check project, or something else.
4501 2007-07-12 Stefan Kost <ensonic@users.sf.net>
4504 Use pkg-config to locate check.
4506 2007-07-10 Stefan Kost <ensonic@users.sf.net>
4513 Add deprecation guards.
4515 * libs/gst/base/gstcollectpads.h:
4516 Don't document object (this is implicitly private).
4518 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
4520 * gst/gststructure.c: (gst_structure_parse_value):
4521 When deserialising foo=bar without a type cast, check if it's a
4522 boolean before falling back to a string type, otherwise things like
4523 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
4524 because the filtercaps end up having a signed=(string)true field,
4525 which causes problems later when intersection caps.
4527 * tests/check/gst/gststructure.c: (GST_START_TEST):
4528 Add a unit test for this.
4530 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
4532 Reviewed by: Stefan Kost <ensonic@users.sf.net>
4534 * libs/gst/controller/Makefile.am:
4535 * libs/gst/controller/gstcontroller.c:
4536 (gst_controlled_property_add_interpolation_control_source),
4537 (gst_controlled_property_new), (gst_controlled_property_free),
4538 (gst_controller_find_controlled_property),
4539 (gst_controller_new_valist), (gst_controller_new_list),
4540 (gst_controller_new), (gst_controller_remove_properties_valist),
4541 (gst_controller_remove_properties_list),
4542 (gst_controller_remove_properties),
4543 (gst_controller_set_property_disabled),
4544 (gst_controller_set_disabled), (gst_controller_set_control_source),
4545 (gst_controller_get_control_source), (gst_controller_get),
4546 (gst_controller_sync_values), (gst_controller_get_value_array),
4547 (_gst_controller_dispose), (gst_controller_get_type),
4548 (gst_controlled_property_set_interpolation_mode),
4549 (gst_controller_set), (gst_controller_set_from_list),
4550 (gst_controller_unset), (gst_controller_unset_all),
4551 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
4552 * libs/gst/controller/gstcontroller.h:
4553 * libs/gst/controller/gstcontrollerprivate.h:
4554 * libs/gst/controller/gstcontrolsource.c:
4555 (gst_control_source_class_init), (gst_control_source_init),
4556 (gst_control_source_get_value),
4557 (gst_control_source_get_value_array), (gst_control_source_bind):
4558 * libs/gst/controller/gstcontrolsource.h:
4559 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
4560 (gst_object_get_control_source):
4561 * libs/gst/controller/gstinterpolation.c:
4562 (gst_interpolation_control_source_find_control_point_node),
4563 (gst_interpolation_control_source_get_first_value),
4564 (_interpolate_none_get), (interpolate_none_get),
4565 (interpolate_none_get_boolean_value_array),
4566 (interpolate_none_get_enum_value_array),
4567 (interpolate_none_get_string_value_array),
4568 (_interpolate_trigger_get), (interpolate_trigger_get),
4569 (interpolate_trigger_get_boolean_value_array),
4570 (interpolate_trigger_get_enum_value_array),
4571 (interpolate_trigger_get_string_value_array):
4572 * libs/gst/controller/gstinterpolationcontrolsource.c:
4573 (gst_control_point_free), (gst_interpolation_control_source_reset),
4574 (gst_interpolation_control_source_new),
4575 (gst_interpolation_control_source_set_interpolation_mode),
4576 (gst_interpolation_control_source_bind),
4577 (gst_control_point_compare), (gst_control_point_find),
4578 (gst_interpolation_control_source_set_internal),
4579 (gst_interpolation_control_source_set),
4580 (gst_interpolation_control_source_set_from_list),
4581 (gst_interpolation_control_source_unset),
4582 (gst_interpolation_control_source_unset_all),
4583 (gst_interpolation_control_source_get_all),
4584 (gst_interpolation_control_source_get_count),
4585 (gst_interpolation_control_source_init),
4586 (gst_interpolation_control_source_finalize),
4587 (gst_interpolation_control_source_dispose),
4588 (gst_interpolation_control_source_class_init):
4589 * libs/gst/controller/gstinterpolationcontrolsource.h:
4590 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
4591 API: Refactor GstController into the core controller which can take
4592 a GstControlSource for providing actual values for timestamps.
4593 Implement a interpolation control source and use this for backward
4594 compatibility, deprecate a bunch of functions that are now handled
4595 by GstControlSource or GstInterpolationControlSource.
4596 Make it possible to disable the controller completely or only for
4597 specific properties. Fixes #450711.
4598 * docs/libs/gstreamer-libs-docs.sgml:
4599 * docs/libs/gstreamer-libs-sections.txt:
4600 * docs/libs/gstreamer-libs.types:
4601 Add new functions and classes to the docs.
4602 * tests/check/libs/controller.c: (GST_START_TEST),
4603 (gst_controller_suite):
4604 * tests/examples/controller/audio-example.c: (main):
4605 Port unit test and example to the new API and add some new
4608 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
4610 Patch by: Mark Nauwelaerts <manauw at skynet be>
4612 * plugins/elements/gstmultiqueue.c:
4613 (gst_multi_queue_get_internal_links), (apply_buffer),
4614 (single_queue_overrun_cb), (gst_single_queue_new):
4615 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
4616 the pipeline layout can be tracked correctly. Fixes #453732.
4618 2007-07-05 Stefan Kost <ensonic@users.sf.net>
4620 * docs/gst/Makefile.am:
4621 * docs/libs/Makefile.am:
4622 * docs/plugins/Makefile.am:
4623 Simplify --extra-dir as gtkdoc scans recursively.
4625 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
4627 * tools/gst-launch.c: (main):
4628 When we got an error, there is no point in waiting for preroll when
4631 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
4633 * plugins/elements/gsttee.c: (gst_tee_base_init),
4634 (gst_tee_request_new_pad), (gst_tee_release_pad),
4635 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
4636 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
4638 Be a lot smarter when deciding what srcpad to use for proxying
4639 the buffer_alloc. Also handle pad added/removed when doing so.
4641 Keep track of what pads we already pushed on in case we have pads
4642 added/removed while pushing. Fixes #374639
4644 * tests/check/Makefile.am:
4645 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
4647 Added unit test for pad resync.
4649 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
4653 Updated translations.
4655 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
4657 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
4661 Added new Finnish translation.
4663 2007-06-28 Wim Taymans <wim@fluendo.com>
4665 * plugins/elements/gstmultiqueue.c: (apply_buffer),
4666 (single_queue_overrun_cb):
4667 When figuring out when a queue is filled, use our internal time estimate
4668 based on segments, just like check_full does.
4670 2007-06-27 Stefan Kost <ensonic@users.sf.net>
4672 * gst/gstminiobject.c: (gst_mini_object_get_type):
4673 Remove 3 do-nothing methods.
4675 2007-06-27 Wim Taymans <wim@fluendo.com>
4677 Patch by: Tim Angus <tim at ngus dot net>
4679 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
4680 (gst_capsfilter_set_property):
4681 Take a reference instead of a copy when setting "caps".
4682 Fix documentation to clarify this behaviour. Fixes #449414.
4684 2007-06-27 Stefan Kost <ensonic@users.sf.net>
4686 * gst/gstindexfactory.c: (gst_index_factory_get_type):
4687 * gst/gstplugin.c: (gst_plugin_init):
4688 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
4689 * gst/gstquery.c: (gst_query_get_type):
4690 * gst/gstregistry.c: (gst_registry_init):
4691 * gst/gsturi.c: (gst_uri_handler_base_init):
4692 Remove empty instance_init() functions to save relocs and lessen the
4693 noise. Remove some of the function prototypes that are doubled by
4696 2007-06-27 Wim Taymans <wim@fluendo.com>
4698 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
4700 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
4701 Add peer and direction in the XML serialisation of ghostpads.
4704 2007-06-26 Stefan Kost <ensonic@users.sf.net>
4707 Preserve useful information, thanks Tim.
4709 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
4711 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
4712 (gst_single_queue_flush), (apply_segment), (apply_buffer),
4713 (gst_single_queue_push_one), (gst_multi_queue_loop),
4714 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
4715 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
4716 (compute_high_id), (gst_single_queue_new):
4717 * plugins/elements/gstmultiqueue.h:
4718 Take the multiqueue lock when updating the fill level so we don't get
4721 After applying a buffer or event on the src pad segment, make sure to
4722 call gst_data_queue_limits_changed() to get the data queue to unblock
4723 and check the filled state again.
4725 Rework the not-linked pad handling so the logic is that not-linked
4726 pads can push as fast as they like, but only so they never get
4727 ahead of any linked pads.
4729 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
4730 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
4731 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
4733 Add a test to check that not-linked pads always stay behind
4738 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
4740 * docs/random/release:
4741 Some updates to the release procedure.
4743 2007-06-26 Stefan Kost <ensonic@users.sf.net>
4745 * gst/gstelementfactory.c: (__gst_element_details_clear):
4746 Microoptimization that saves stunning 80 bytes.
4748 2007-06-25 Stefan Kost <ensonic@users.sf.net>
4750 * docs/plugins/gstreamer-plugins.args:
4751 * docs/plugins/inspect/plugin-coreelements.xml:
4752 * docs/plugins/inspect/plugin-coreindexers.xml:
4753 Update docs with caps info.
4755 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
4758 Updated Italian translation.
4760 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
4764 Update Vietnamese translations.
4766 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
4768 * libs/gst/base/gstbasesink.c:
4769 Remove unused signal enum.
4771 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
4773 * docs/gst/gstreamer-sections.txt:
4775 * gst/gstutils.c: (gst_type_register_static_full):
4776 Beef up and include the docs for gst_type_register_static_full and
4777 gst_element_class_set_details_simple and add the API keyword
4780 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
4782 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
4783 (update_time_level), (gst_single_queue_push_one),
4784 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
4785 (single_queue_overrun_cb), (single_queue_underrun_cb),
4786 (single_queue_check_full):
4787 Fix setting max-* properties after adding queues.
4788 Use IS_FILLED for checking visible items.
4789 Signal overrun if multiple queues overrun.
4790 Add extra debug output.
4791 Patch by: Wim Taymans <wim@fluendo.com>
4793 2007-06-21 Stefan Kost <ensonic@users.sf.net>
4795 * gst/gstelement.c: (gst_element_class_set_details_simple):
4797 * gst/gstutils.c: (gst_type_register_static_full):
4799 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
4800 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
4801 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
4802 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
4803 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
4804 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
4805 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
4806 * plugins/elements/gstidentity.c: (gst_identity_base_init):
4807 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
4808 * plugins/elements/gstqueue.c: (gst_queue_base_init),
4809 (apply_buffer), (gst_queue_chain):
4810 * plugins/elements/gsttee.c: (gst_tee_base_init):
4811 * plugins/elements/gsttypefindelement.c:
4812 (gst_type_find_element_base_init),
4813 (gst_type_find_element_class_init):
4814 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
4815 API: add gst_type_register_static_full
4816 API: add gst_element_class_set_details_simple
4818 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
4820 * docs/pwg/advanced-types.xml:
4821 Fix typo in iana.org URI.
4823 2007-06-19 Andy Wingo <wingo@pobox.com>
4825 * tests/check/pipelines/simple-launch-lines.c
4826 (test_state_change_returns): Enable pull-mode tests now that
4827 basesink has been fixed.
4829 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
4830 Changed from gst_base_sink_is_prerolled, reversing the sense of
4831 the return value. Returns FALSE also if the sink is in pull mode,
4832 in which case it needs no preroll.
4833 (gst_base_sink_query, gst_base_sink_change_state): Update for
4834 needs_preroll change.
4835 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
4836 chaining up, in which we return SUCCESS directly if we activated
4837 in pull mode instead of ASYNC. Involves countering an async_start
4838 message sent before chaining up; not sure if this is correct, in
4839 an ideal world we only send async-start when activating in push
4842 * tests/check/pipelines/simple-launch-lines.c
4843 (test_state_change_returns): New test, partially disabled until
4846 2007-06-19 Wim Taymans <wim@fluendo.com>
4848 * plugins/elements/gstmultiqueue.c: (apply_buffer),
4849 (gst_multi_queue_sink_event):
4852 2007-06-19 Wim Taymans <wim@fluendo.com>
4854 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4855 (gst_bin_change_state_func), (bin_push_state_continue),
4856 (bin_handle_async_start), (bin_handle_async_done),
4857 (gst_bin_handle_message_func):
4858 Move the common code for posting state-change messages into
4860 Broadcast the state signal after we posted the messages.
4861 Mark the bin as busy when it's doing a state-change.
4862 Make sure async-start/done messages don't interfere with the bin's
4863 state when it's busy.
4864 After the state change, let the bin check which elements completed the
4865 state change while it was busy so that it can update its state.
4867 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
4869 * docs/random/release:
4870 Add a note about updating the doap file to the release checklist
4872 2007-06-18 Wim Taymans <wim@fluendo.com>
4874 * plugins/elements/gstmultiqueue.c: (apply_buffer),
4875 (gst_single_queue_push_one), (gst_multi_queue_chain),
4876 (gst_multi_queue_sink_event):
4877 Make sure we don't reference the buffer/event after we have given away
4878 ownership in the queue.
4880 2007-06-18 Wim Taymans <wim@fluendo.com>
4882 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
4883 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
4884 Update queue state _after_ adding the item in the queue because else we
4885 could end up being full without the element added yet.
4887 2007-06-18 Wim Taymans <wim@fluendo.com>
4889 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
4890 (gst_bin_remove_func), (gst_bin_get_state_func),
4891 (gst_bin_element_set_state), (gst_bin_continue_func),
4892 (bin_push_state_continue), (bin_handle_async_start),
4893 (bin_handle_async_done), (gst_bin_handle_message_func):
4895 Immediatly commit the toplevel bin state when receiving an async-done
4896 message. This enables us to avoid spawning a thread to commit the state
4897 in some common cases and it also avoids some races.
4898 Avoid spawning a state thread when adding/removing async elements to a
4899 toplevel bin. Instead we immediatly update the bin state.
4900 Get rid of iterating all the children when getting the state in the bin
4901 because it is now always up-to-date.
4902 Fix bug where locked elements would always return _SUCCESS even it they
4903 returned NO_PREROLL before being locked.
4904 Fix the order of the state_change, async-start/done messages that was
4905 sometimes incorrect.
4906 Mark the state_dirty field as deprecated, we don't need it anymore as we
4907 are always up-to-date.
4909 * gst/gstelement.c: (gst_element_get_state_func),
4910 (gst_element_continue_state):
4911 Small debug inprovements.
4912 Return the previous element state return when nothing is pending instead
4913 of blindly returning SUCCESS.
4915 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
4917 Add a whole bunch of new testcases.
4919 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
4923 Update translations.
4925 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
4928 Fix typo in the docs.
4930 2007-06-15 Wim Taymans <wim@fluendo.com>
4932 * docs/libs/gstreamer-libs-sections.txt:
4933 Add docs for new methods.
4935 2007-06-15 Wim Taymans <wim@fluendo.com>
4937 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
4938 (gst_multi_queue_item_new):
4939 Don't use GSlice because we don't depend on >= 2.10 yet.
4941 2007-06-15 Wim Taymans <wim@fluendo.com>
4943 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
4944 (update_time_level), (apply_segment), (apply_buffer),
4945 (gst_single_queue_push_one), (gst_multi_queue_item_new),
4946 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
4947 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
4948 (single_queue_underrun_cb), (single_queue_check_full):
4949 Remove debug printf.
4951 2007-06-15 Wim Taymans <wim@fluendo.com>
4953 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
4954 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
4955 (gst_data_queue_set_flushing), (gst_data_queue_push),
4956 (gst_data_queue_pop), (gst_data_queue_drop_head),
4957 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
4958 * libs/gst/base/gstdataqueue.h:
4960 Added methods to get the current levels and to inform the queue that the
4961 'full' limits changed.
4963 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
4964 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
4965 (gst_single_queue_flush), (update_time_level), (apply_segment),
4966 (apply_buffer), (gst_single_queue_push_one),
4967 (gst_multi_queue_item_steal_object),
4968 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
4969 (gst_multi_queue_loop), (gst_multi_queue_chain),
4970 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
4971 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
4972 (gst_multi_queue_src_query), (single_queue_overrun_cb),
4973 (single_queue_underrun_cb), (single_queue_check_full),
4974 (gst_single_queue_new):
4975 Keep track of time in the queue by measuring the difference between
4976 running_time on input and output. This gives more accurate results and
4977 can compensate for segments correctly.
4978 Make a queue by default only 5 buffers deep. We will now increase the
4979 buffer size depending on the filledness of the other queues.
4980 Factor out commong flush code.
4981 Make sure we don't add additional refcounts to buffers when we can avoid
4983 Propagate GstFlowReturn differently.
4984 Use GSlice for intermediate GstMultiQueueItems.
4986 Resize queues on over and underruns based on filled level of other
4988 When checking if the queue is filled, prefer to measure in time if we
4989 can and fall back to bytes when no time is known.
4991 * plugins/elements/gstqueue.c:
4994 2007-06-15 Wim Taymans <wim@fluendo.com>
4996 * libs/gst/base/gstbasetransform.c:
4997 (gst_base_transform_sink_event):
4998 Work around the brokenness of the event vmethod in basetransform. Prefer
4999 to return TRUE when the subclass returned FALSE (meaning don't forward
5002 * libs/gst/base/gstbasetransform.h:
5005 2007-06-15 Wim Taymans <wim@fluendo.com>
5007 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
5008 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
5009 (gst_base_src_default_query), (gst_base_src_get_range),
5010 (gst_base_src_start):
5011 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
5014 2007-06-15 Stefan Kost <ensonic@users.sf.net>
5016 * docs/pwg/advanced-types.xml:
5017 Added more formats to caps table.
5019 2007-06-15 Stefan Kost <ensonic@users.sf.net>
5021 * tools/gst-launch.c: (main):
5022 Remove crufy code. GOption does not need this workaround.
5024 2007-06-14 Stefan Kost <ensonic@users.sf.net>
5026 * libs/gst/controller/gstcontroller.c:
5027 (gst_controlled_property_set_interpolation_mode):
5028 Fix wrong getter for enums in controller.
5030 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
5032 * libs/gst/check/gstcheck.c: (gst_check_init):
5033 Intercept criticals and warnings in the Gst-Phonon log domain, so
5034 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
5037 2007-06-14 Edward Hervey <edward@fluendo.com>
5039 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
5040 Since this file doesn't include "gst.h" it will not go through the
5041 macros that disable GST_LOG if debugging was disabled.
5043 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
5045 * libs/gst/check/Makefile.am:
5046 * libs/gst/check/gstcheck.h:
5047 * pkgconfig/gstreamer-check-uninstalled.pc.in:
5048 * pkgconfig/gstreamer-check.pc.in:
5049 Ugly 'fix' for the controller unit test on the p5 bot: in
5050 fail_unless_equals_float() check whether the values are 'almost
5051 equal' by allowing a small absolute error, which should be good
5052 enough for our use cases (normal numbers and values close to 0).
5053 Proper fixage left to floating point arithmetic aficionados.
5055 2007-06-14 Stefan Kost <ensonic@users.sf.net>
5057 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
5058 (gst_base_sink_render_object), (gst_base_sink_get_position):
5059 Add two breaks thats where missing.
5061 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
5063 * docs/libs/gstreamer-libs-sections.txt:
5064 * libs/gst/check/gstcheck.h:
5065 API: add fail_unless_equals_float() and assert_equals_float().
5066 Add documentation for some of the macros.
5068 * tests/check/libs/controller.c: (GST_START_TEST):
5069 Use newly-added asserts.
5071 2007-06-14 Stefan Kost <ensonic@users.sf.net>
5073 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
5074 Show the caps change in the log to help spotting the case of not
5075 exactly matching caps.
5077 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
5079 * docs/pwg/building-boiler.xml:
5080 Fix typos, spotted by Thijs Vermeir (#447190).
5082 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
5084 * docs/plugins/tmpl/.cvsignore:
5085 Ignore file to keep the buildbots happy
5087 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
5089 * docs/plugins/Makefile.am:
5090 * docs/plugins/gstreamer-plugins-docs.sgml:
5091 * docs/plugins/gstreamer-plugins-sections.txt:
5092 Pull fdsink into the docs too.
5094 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
5096 * libs/gst/controller/gstinterpolation.c:
5097 Actually use the new functions with min/max checks for the trigger and
5098 none interpolation modes for get() and get_value_array() instead of
5101 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
5103 * libs/gst/controller/gstcontroller.c:
5104 (gst_controlled_property_free):
5105 Unset the minimum and maximum GValues when freeing the corresponding
5106 GstControllerProperty struct.
5108 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
5110 * libs/gst/controller/gstcontroller.c:
5111 (gst_controlled_property_new):
5112 * libs/gst/controller/gstcontrollerprivate.h:
5113 * libs/gst/controller/gstinterpolation.c:
5114 (gst_controlled_property_find_control_point_node),
5115 (interpolate_none_get), (interpolate_none_get_enum_value_array),
5116 (interpolate_none_get_string_value_array),
5117 (interpolate_trigger_get),
5118 (interpolate_trigger_get_enum_value_array),
5119 (interpolate_trigger_get_string_value_array):
5120 Protect against values larger or smaller than the minimum or maximum
5121 allowed value for the property when using values that can be compared.
5123 Optimize trigger interpolator a bit by taking the last requested value
5124 into account instead of always looping through the complete list.
5126 Fix coding style a bit, everywhere else we use "return foo" instead
5129 * tests/check/libs/controller.c: (GST_START_TEST),
5130 (gst_controller_suite):
5131 Add unit test for the protection against too large or too small
5134 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
5136 * docs/random/slomo/controller.txt:
5137 Add some thoughts about the future of the controller.
5139 2007-06-08 Wim Taymans <wim@fluendo.com>
5141 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
5142 Don't overflow in retimestamping code.
5144 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
5146 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
5147 Use gst_util_guint64_to_gdouble for conversions.
5148 * win32/common/libgstreamer.def:
5149 Add new exported functions.
5151 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
5154 Small docs addition.
5156 2007-06-07 Stefan Kost <ensonic@users.sf.net>
5159 Remove that test line again.
5161 2007-06-07 Stefan Kost <ensonic@users.sf.net>
5164 Test commit mail sending.
5166 2007-06-07 Stefan Kost <ensonic@users.sf.net>
5169 Fix typo and test commit mail sending.
5171 2007-06-07 Stefan Kost <ensonic@users.sf.net>
5173 * tests/examples/controller/audio-example.c:
5174 Improve comment and test commit mail sending.
5176 2007-06-07 Wim Taymans <wim@fluendo.com>
5178 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
5179 (gst_bin_remove_func), (gst_bin_element_set_state),
5180 (bin_handle_async_start), (bin_handle_async_done),
5181 (gst_bin_handle_message_func):
5182 Add helper function to find messages.
5183 Generate the async-done messages together with the state change
5185 Small cleanups in handling toplevel bins.
5187 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
5189 * libs/gst/base/gstdataqueue.c:
5190 * libs/gst/base/gstdataqueue.h:
5191 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
5192 (gst_multi_queue_item_new), (gst_multi_queue_chain),
5193 (gst_multi_queue_sink_event):
5194 * tests/check/elements/multiqueue.c: (multiqueue_suite):
5195 Fix multiqueue leaking buffers and events when downstream or the
5196 queue are flushing. Make refcounting assumptions explicit and
5197 document them (shouldn't break existing code that uses it other than
5198 maybe leak miniobjects, but that already happens anyway). Add unit
5199 test for the most common flushing case. Fixes #423700.
5201 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
5203 * libs/gst/controller/gstcontroller.c:
5204 Clarify docs: The get_all, get_value_array(s) functions
5205 don't modify the GObject properties.
5207 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
5209 * libs/gst/controller/gstcontroller.c:
5210 (gst_controlled_property_set_interpolation_mode),
5211 (gst_controlled_property_prepend_default),
5212 (gst_controlled_property_new), (gst_controller_set_unlocked),
5213 (gst_controller_set), (gst_controller_set_from_list),
5214 (gst_controller_unset), (gst_controller_unset_all):
5215 * libs/gst/controller/gstcontrollerprivate.h:
5216 * libs/gst/controller/gstinterpolation.c:
5217 Factor out the 'set' logic into gst_controller_set_unlocked for the
5218 gst_controller_set and gst_controller_set_from_list functions.
5220 To make life of the interpolators easier always add a control point
5221 at timestamp zero with the default value.
5223 In the linear interpolator make things more obvious by better variable
5226 Implement cubic interpolation mode (by using a natural cubic spline)
5227 and map the quadratic interpolation mode to this too (as quadratic
5228 doesn't make much sense, see discussion on the list).
5230 * tests/check/libs/controller.c: (GST_START_TEST),
5231 (gst_controller_suite):
5232 Add unit test for the cubic interpolation mode and check everywhere
5233 if the interpolation mode could be set as expected.
5235 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
5237 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
5238 Don't use GLib-2.10 functions, we still depend on
5239 GLib-how-old-is-it-again-2.8.
5241 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
5243 * docs/gst/gstreamer-sections.txt:
5247 * gst/gstparamspecs.c: (_gst_param_fraction_init),
5248 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
5249 (_gst_param_fraction_values_cmp),
5250 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
5251 * gst/gstparamspecs.h:
5253 * tests/check/Makefile.am:
5254 * tests/check/gst/.cvsignore:
5255 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
5256 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
5257 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
5258 (GST_START_TEST), (gst_param_spec_suite):
5259 API: add GstParamSpecFraction, so elements can have fraction
5260 properties without lots of painful string parsing (#444648).
5262 2007-06-05 Wim Taymans <wim@fluendo.com>
5264 * gst/gstobject.c: (gst_object_class_init):
5265 Fix signal signature.
5268 Add small clarification in the api docs.
5270 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
5271 States are protected with object lock.
5273 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
5276 I should probably be listed as an author by now.
5278 * docs/random/release:
5279 Update the release doc
5281 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
5284 Make docs for gst_value_compare() mention return enums that
5287 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
5292 === release 0.10.13 ===
5294 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
5297 releasing 0.10.13, "With or without you"
5299 2007-05-25 Wim Taymans <wim@fluendo.com>
5301 * gst/gstbin.c: (bin_handle_async_done):
5302 Make sure that the child bin stops after completing the async state
5303 change so that the parent can continue the state change to PLAYING.
5306 2007-05-25 Wim Taymans <wim@fluendo.com>
5308 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
5309 (unref_data), (gst_collect_pads_remove_pad),
5310 (gst_collect_pads_check_pads):
5311 Use additional refcounting to avoid crashes when dynamically adding and
5312 removing pads. Fixes #420206.
5314 2007-05-24 Wim Taymans <wim@fluendo.com>
5316 * tools/gst-launch.c: (event_loop):
5317 When buffering goes from a two digit to a single digit number, make sure
5318 to remove the old second digit by writing a blank over it.
5320 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
5322 * libs/gst/base/gstdataqueue.c:
5323 Eliminate tabs and trailing comma in enum list; fix some typos.
5325 2007-05-24 Wim Taymans <wim@fluendo.com>
5327 * tests/check/gst/gstbin.c: (GST_START_TEST):
5328 Allow refcount of 3 and 4 because some state thread might still be busy
5331 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
5333 * plugins/elements/Makefile.am:
5334 * plugins/elements/gstmultiqueue.h:
5335 * plugins/elements/gstqueue.h:
5336 These are not installed headers, no need for padding.
5338 2007-05-24 Wim Taymans <wim@fluendo.com>
5340 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
5341 (gst_bin_continue_func):
5342 Enable latency for next release.
5343 Restore STATE_LOCK around recalc_state that was left out during the
5344 rewrite and could result in racy behaviour when _get_state and
5345 recalc_state are run concurrently. See #440463.
5347 2007-05-23 Wim Taymans <wim@fluendo.com>
5349 * tests/check/gst/gstsystemclock.c: (store_callback),
5351 Improve test_async_order to also work when both timers are already
5352 expired when we get scheduled to check it.
5354 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
5356 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
5357 (gst_bin_set_property), (gst_bin_get_property),
5358 (gst_bin_remove_func), (gst_bin_handle_message_func):
5360 'private' is a c++ keyword, let's not use that in header files,
5361 otherwise c++ compilers will throw a tantrum.
5363 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
5365 * plugins/elements/gstelements.c:
5366 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
5367 (gst_file_sink_get_current_offset):
5368 * plugins/indexers/gstindexers.c: (plugin_init):
5369 Use #ifdef for HAVE_XYZ for consistency.
5371 * tests/check/Makefile.am:
5372 * tests/check/elements/.cvsignore:
5373 * tests/check/elements/filesink.c: (setup_filesink),
5374 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
5375 Add some unit tests for filesink.
5377 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
5379 Patch by: Mark Nauwelaerts <manauw at skynet be>
5381 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
5382 (gst_file_sink_query), (gst_file_sink_do_seek),
5383 (gst_file_sink_get_current_offset), (gst_file_sink_render):
5384 * plugins/elements/gstfilesink.h:
5385 Fix position reporting; rename data_written member to current_pos to
5386 reflect its real meaning (fixes #412648).
5388 2007-05-22 Edward Hervey <edward@fluendo.com>
5390 * docs/gst/gstreamer-sections.txt:
5391 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5392 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
5393 (gst_bin_remove_func), (gst_bin_handle_message_func):
5395 Add a property for bins that handle the state change of their childs.
5398 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
5400 * libs/gst/controller/gstinterpolation.c:
5401 Use an array of the correct type when using _get_value_array with
5402 linear interpolation.
5404 2007-05-22 Stefan Kost <ensonic@users.sf.net>
5406 * gst/gstelement.c (gst_element_requires_clock,
5407 gst_element_provides_clock, gst_element_request_pad,
5408 gst_element_class_set_details, gst_element_class_set_details_simple,
5409 gst_element_default_send_event, gst_element_abort_state,
5410 gst_element_continue_state, gst_element_set_state,
5411 gst_element_set_state_func, iterator_activate_fold_with_resync):
5412 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
5413 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
5414 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
5415 gst_pad_get_range, gst_pad_pull_range):
5416 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
5417 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
5418 GstPadActivateModeFunction, GstPadChainFunction,
5419 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
5420 GstPadFixateCapsFunction, GstPadTemplate):
5421 * gst/gstpipeline.c (gst_pipeline_change_state,
5422 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
5423 gst_pipeline_set_clock, gst_pipeline_auto_clock,
5424 gst_pipeline_get_delay):
5425 Whitespace and docs fixes.
5427 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
5429 * libs/gst/controller/gstinterpolation.c:
5430 (interpolate_trigger_get_enum_value_array),
5431 (interpolate_trigger_get_string_value_array):
5432 Add support for retrieving value arrays when using the trigger
5435 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
5437 * libs/gst/controller/gstcontroller.c:
5438 (gst_controller_get_value_array):
5439 * libs/gst/controller/gstcontroller.h:
5440 Clarify the docs of gst_controller_get_value_array(): The array where
5441 the values should be written to must be allocated as there seems to be
5442 no way to get the size of a random GType. This doesn't change any
5443 behaviour. Also fix some typos all over the place and remove an unused,
5444 commented function that is not necessary as g_object_set() could be
5446 * tests/check/libs/controller.c: (GST_START_TEST),
5447 (gst_controller_suite):
5448 Add unit test for gst_controller_get_value_array().
5450 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
5452 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
5454 Disable part of the gst_buffer_try_new_and_alloc test, because
5455 it can happily succeed on 64-bit systems where there's more address
5458 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
5460 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5461 Add unit test for the improved caps checking from bug #421543.
5463 2007-05-21 Wim Taymans <wim@fluendo.com>
5465 * docs/design/part-synchronisation.txt:
5468 * gst/gstbin.c: (gst_bin_query):
5469 * plugins/elements/gstqueue.c: (apply_segment):
5475 2007-05-21 Wim Taymans <wim@fluendo.com>
5477 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
5478 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
5479 (gst_pad_configure_src):
5480 Added simple version of improved caps checking. It was previously
5481 assumed that a setcaps function would check the validity of the caps but
5482 people prefer us to check caps against the template automatically.
5485 2007-05-21 Wim Taymans <wim@fluendo.com>
5487 * libs/gst/base/gstbasetransform.h:
5488 Fix macro for locking/unlocking the transform lock.
5490 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
5492 * docs/plugins/tmpl/.cvsignore:
5495 2007-05-18 Edward Hervey <edward@fluendo.com>
5497 * plugins/elements/gstqueue.c: (gst_queue_loop):
5498 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
5499 for the subtle art of warning a potentially blocking thread that it
5500 should check the source pad return value, and relay the information
5503 2007-05-18 Edward Hervey <edward@fluendo.com>
5505 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
5506 Release the queue lock !
5508 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
5510 * docs/libs/gstreamer-libs-sections.txt:
5511 Add the two new controller functions to the appropiate places.
5513 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
5515 reviewed by: Stefan Kost <ensonic@users.sf.net>
5517 * libs/gst/controller/gstcontroller.c:
5518 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
5519 (_gst_controller_get_property), (_gst_controller_set_property),
5520 (_gst_controller_init), (_gst_controller_class_init):
5521 * libs/gst/controller/gstcontroller.h:
5522 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
5523 (gst_object_get_control_rate), (gst_object_set_control_rate):
5524 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
5525 Add API that provides sync suggestion timestamps for elements that
5526 call gst_object_sync_values() from which those elements can subdivide
5527 their processing loop to get the best results for the controlled
5528 properties. For now it just suggests last_sync + control_rate as
5529 new timestamp but this will be improved in the future.
5531 While doing that change the control-rate property to a GstClockTime
5532 from guint and change it's meaning from samples to nanoseconds as
5533 the GstController doesn't know anything about sampling rate. Strictly
5534 speaking this breaks ABI but as the control-rate property didn't do
5535 anything in the past and as such couldn't be used this should be no
5538 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
5540 reviewed by: Stefan Kost <ensonic@users.sf.net>
5542 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
5543 (gst_controller_unset_all):
5544 * libs/gst/controller/gstcontrollerprivate.h:
5545 * libs/gst/controller/gstinterpolation.c:
5546 (gst_controlled_property_find_control_point_node):
5547 Save last synced value from the list to continue searching from there
5548 in future syncs. This speeds everything up a bit.
5550 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
5552 reviewed by: Stefan Kost <ensonic@users.sf.net>
5554 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
5555 (gst_control_point_find), (gst_controlled_property_new),
5556 (gst_control_point_free), (gst_controlled_property_free),
5557 (gst_controller_set), (gst_controller_set_from_list),
5558 (gst_controller_unset), (gst_controller_unset_all),
5559 (gst_controller_sync_values):
5560 * libs/gst/controller/gstcontroller.h:
5561 * libs/gst/controller/gstcontrollerprivate.h:
5562 * libs/gst/controller/gstinterpolation.c:
5563 (gst_controlled_property_find_control_point_node),
5564 (interpolate_none_get), (interpolate_trigger_get):
5565 Add a new private GstControlPoint struct which "inherits" from
5566 GstTimedValue to allow different interpolators to store internal
5567 values next to each control point. From the outside everything is
5568 still a GstControlPoint so we don't loose binary compatibility.
5569 Also fixup all the GValue handling to not leak GValues or list nodes.
5570 * tests/check/libs/controller.c: (GST_START_TEST):
5571 Free the list nodes and GValues in the controller_misc test.
5573 2007-05-17 Edward Hervey <edward@fluendo.com>
5578 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
5580 * gst/gstplugin.c: (gst_plugin_load_file):
5581 If we fail to load a plugin because of unresolved symbols or missing
5582 libraries and spew a warning to stderr, we may just as well mention
5583 which plugin it was that failed to load.
5585 2007-05-13 David Schleef <ds@schleef.org>
5587 * docs/Makefile.am: the gtk-doc makefile snippet correctly
5588 handles the case when ENABLE_GTK_DOC is false, and installs
5589 the prebuilt documentation. So gtk-doc subdirs are
5590 unconditionally enabled. Fixes: #349099.
5592 2007-05-13 David Schleef <ds@schleef.org>
5594 * gst/gstutils.h: Reword some documentation.
5596 2007-05-12 David Schleef <ds@schleef.org>
5598 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
5599 do anything with the passed "module" parameter, so remove it.
5600 Allows removal of additional vestigal code.
5602 2007-05-12 David Schleef <ds@schleef.org>
5605 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
5606 Switch to using g_stat() because it's more portable.
5608 2007-05-12 David Schleef <ds@schleef.org>
5611 Add GST_DISABLE_OPTION_PARSING, in order to disable option
5612 parsing for embedded systems.
5613 * gst/gstelementfactory.c:
5614 Allow gst_element_register() to be called with plugin==NULL.
5615 Did nobody notice that static elements were broken?
5617 2007-05-12 Wim Taymans <wim@fluendo.com>
5619 * tools/gst-launch.c: (event_loop):
5620 Give more interesting info when buffering starts and stops.
5621 Fix case where buffering starts but we fail to update the buffering flag
5622 because the target state is not PLAYING.
5624 2007-05-12 Wim Taymans <wim@fluendo.com>
5626 * plugins/elements/gstqueue.c: (gst_queue_init),
5627 (gst_queue_finalize), (update_time_level), (apply_segment),
5628 (apply_buffer), (gst_queue_locked_flush),
5629 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
5630 (gst_queue_handle_sink_event), (gst_queue_chain),
5631 (gst_queue_push_one), (gst_queue_loop):
5632 * plugins/elements/gstqueue.h:
5633 Refactor an cleanup queue a bit.
5634 Do better time level calculations that also work when the srcpad is not
5636 Remove some unneeded debug lines.
5638 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
5639 Added testcase for time level measurement.
5640 Try to make some stuff more racefree.
5642 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
5644 * gst/gsturi.c: (gst_element_make_from_uri):
5645 Don't leak plugin feature.
5647 * tests/check/Makefile.am:
5648 * tests/check/gst/.cvsignore:
5649 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
5650 Add brain-dead unit test.
5652 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
5654 Patch by: Jeroen Wouters <woutersj at gmail com>
5656 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
5657 Treat protocol strings in a case-insensitive way (#437563).
5659 2007-05-11 Michael Smith <msmith@fluendo.com>
5661 * gst/gstplugin.c: (gst_plugin_load_file):
5662 * gst/gstregistry.c: (gst_registry_scan_path_level):
5663 Don't print a g_warning for any failure to load a shared object.
5664 Instead, push this down into gstplugin.c, and warn _only_ if we
5665 failed to open the module (i.e. failure to link).
5666 Avoids warnings on normal, working, non-plugin .so files.
5668 2007-05-11 Stefan Kost <ensonic@users.sf.net>
5670 * gst/gstplugin.c (gst_plugin_load_file):
5671 * gst/gstregistry.c (GST_CAT_DEFAULT,
5672 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
5673 Print a g_warning if there was an error when loading a plugins during
5674 registry scan. The shuld help beginners starting with gst-plugin
5677 2007-05-10 Wim Taymans <wim@fluendo.com>
5679 * plugins/elements/gstqueue.c: (gst_queue_class_init),
5680 (update_time_level), (gst_queue_locked_flush),
5681 (gst_queue_handle_sink_event), (gst_queue_chain),
5682 (gst_queue_push_one), (gst_queue_loop):
5683 * plugins/elements/gstqueue.h:
5684 Be smarter when calculating the current amount of data in the queue by
5685 measuring the difference between start and end timestamps (in running
5686 time) inside the queue. Fixes #432876.
5687 API: GstQueue::pushing to notify elements that we are pushing data again
5688 since the running signal is rather broken for this purpose.
5690 2007-05-10 Stefan Kost <ensonic@users.sf.net>
5692 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
5693 gst_queue_base_init, gst_queue_init):
5696 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
5698 * win32/common/libgstreamer.def:
5699 Add new exported functions.
5700 * win32/vs6/grammar.dsp:
5701 Use grammar pre-generated files.
5703 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
5705 Based on patch by: Peter Kjellerstedt <pkj at axis com>
5708 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
5710 * gst/gstutils.c: (gst_parse_bin_from_description):
5712 Maintain API and ABI when --disable-parse is used. Now that
5713 we have an appropriate error code, we can just return NULL and the
5714 appropriate error when gst_parse_launch() is used despite it having
5715 been disabled (#342564).
5717 * tests/check/Makefile.am:
5718 * tests/check/pipelines/.cvsignore:
5719 * tests/check/pipelines/parse-disabled.c:
5720 Make sure these functions exist and return NULL plus a GError when
5721 --disable-parse is used.
5723 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
5725 * tests/benchmarks/complexity.c: (main):
5726 * tests/benchmarks/mass-elements.c: (main):
5727 Set a good example and don't leak messages.
5729 2007-05-06 Stefan Kost <ensonic@users.sf.net>
5731 * docs/gst/Makefile.am:
5732 * docs/libs/Makefile.am:
5733 Correct fixxrefs options.
5735 * docs/plugins/Makefile.am:
5736 * docs/plugins/gstreamer-plugins-docs.sgml:
5737 * docs/plugins/gstreamer-plugins-sections.txt:
5738 * plugins/elements/Makefile.am:
5739 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
5740 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
5741 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
5742 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
5743 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
5744 _GstCapsFilterClass, trans_class):
5745 * plugins/elements/gstelements.c (name, rank, type, _elements):
5746 * plugins/elements/gstidentity.c
5747 (gst_identity_check_imperfect_timestamp,
5748 gst_identity_check_imperfect_offset):
5749 Document capsfilter and add doc-blurb to identity.
5751 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
5753 * libs/gst/controller/gstcontroller.c:
5754 (gst_controlled_property_set_interpolation_mode):
5755 * libs/gst/controller/gstinterpolation.c:
5756 Don't crash if someone tries to set an interpolation mode that
5757 is invalid or that isn't supported yet. Fixes #422295.
5759 * tests/check/libs/controller.c: (GST_START_TEST),
5760 (gst_controller_suite):
5761 Add a test case for the above.
5763 2007-05-03 Edward Hervey <edward@fluendo.com>
5765 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
5766 Properly set the last_stop position on GstSegment. This will only happen
5767 if there is a buffer to push out.
5769 2007-05-03 Wim Taymans <wim@fluendo.com>
5771 * libs/gst/base/gstbasetransform.c:
5772 (gst_base_transform_buffer_alloc):
5773 always_in_place does not mean that the sink and source caps are the
5774 same! Make sure we don't blindly proxy the buffer_alloc in this case.
5776 2007-05-03 Wim Taymans <wim@fluendo.com>
5778 * docs/libs/gstreamer-libs-sections.txt:
5779 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
5780 (gst_base_src_default_query), (gst_base_src_get_range):
5781 * libs/gst/base/gstbasesrc.h:
5782 API: gst_base_src_query_latency(). Added method so that subclasses can
5783 easily get the latency values of the base source class.
5785 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
5787 * tools/gst-inspect.c (print_implementation_info):
5790 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
5792 * tools/Makefile.am:
5793 * tools/gst-launch.1.in:
5794 Don't create a customised man page based on the host architecture,
5795 describe the default registry path generically. That way the man
5796 page is the same for all architectures and packagers have one
5797 multilib issue less to deal with. Fixes #434926.
5799 2007-05-02 Wim Taymans <wim@fluendo.com>
5802 Fix documentation as spotted by rg on IRC.
5804 2007-04-29 Stefan Kost <ensonic@users.sf.net>
5807 Improve docs for gst_element_{link,unlink}.
5809 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
5811 * docs/design/part-events.txt:
5812 * docs/design/part-overview.txt:
5816 * libs/gst/base/gstbasesink.c:
5817 Typo fixes; minor docs addition.
5819 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
5821 * docs/gst/gstreamer-sections.txt:
5822 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
5823 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
5825 API: Add gst_uri_protocol_is_supported(), which checks if a sink
5826 or src that supports a given URI protocol exists.
5828 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
5830 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
5831 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
5832 Set the location to NULL if "file://" is set as URI. Otherwise
5833 some random previous URI would still be set if "file://" is
5834 set on an already used filesink/filesrc.
5836 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
5838 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
5839 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
5840 Special case the "file://" URI as as this is used by some
5841 applications to test with gst_element_make_from_uri if there's
5842 an element that supports the URI protocol.
5843 Also move the g_path_is_absolute() check for the location part
5844 of the URI to also check this for "file://localhost/bla" URIs.
5846 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
5848 * docs/gst/gstreamer-sections.txt:
5849 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
5851 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
5853 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
5855 2007-04-26 Stefan Kost <ensonic@users.sf.net>
5857 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
5858 (gst_registry_binary_load_pad_template),
5859 (gst_registry_binary_load_plugin),
5860 (gst_registry_binary_read_cache):
5861 * gst/gstregistrybinary.h:
5862 Implement no-mmap alternative for registry reading. Do code cleanups.
5863 Add more comments about avoiding strdups for all text data. Comments
5866 2007-04-25 Stefan Kost <ensonic@users.sf.net>
5868 * gst/gstregistrybinary.h (GstBinaryPluginElement,
5869 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
5870 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
5871 Comment structs and reformat to fix the build (that stuff should go
5872 into a priv. header).
5874 2007-04-25 Stefan Kost <ensonic@users.sf.net>
5876 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
5877 (gst_registry_binary_load_feature):
5878 * gst/gstregistrybinary.h:
5879 Refactor so that we can implement multiple features. Add support for
5880 TypeFindFactory features.
5882 2007-04-24 Stefan Kost <ensonic@users.sf.net>
5884 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
5887 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
5889 2007-04-23 Stefan Kost <ensonic@users.sf.net>
5891 * gst/gstbin.c: (gst_bin_element_set_state),
5892 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
5893 (bin_handle_async_done), (gst_bin_handle_message_func):
5894 Fix build with --gst-disable-gst-debug
5896 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
5898 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
5899 Make sure streaming has finished before calling the ::stop() vfunc,
5900 since that vfunc might clear state which is being used in the
5901 streaming thread. This fixes a race that caused crashes in
5902 audioresample when shutting down a pipeline (#420106).
5904 2007-04-20 Stefan Kost <ensonic@users.sf.net>
5906 * docs/gst/gstreamer-sections.txt:
5907 That was one byte missing.
5909 2007-04-20 Stefan Kost <ensonic@users.sf.net>
5912 * docs/gst/gstreamer-sections.txt:
5914 * gst/gstconfig.h.in:
5915 * gst/gstobject.c: (gst_object_class_init),
5916 (gst_signal_object_class_init):
5918 2nd attempt to have a xml-less build as a joined effort of #413123
5921 2007-04-20 Stefan Kost <ensonic@users.sf.net>
5923 * docs/design/draft-tagreading.txt:
5924 Added open issues/thoughts to draft.
5926 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
5928 * gst/parse/grammar.tab.pre.c:
5929 * gst/parse/grammar.tab.pre.h:
5930 * gst/parse/lex._gst_parse_yy.pre.c:
5931 Update the prebuild parser sources.
5933 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
5935 * gst/parse/Makefile.am:
5936 And now fix the building of the flex sources. Now everything should
5939 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
5941 * gst/parse/Makefile.am:
5942 Now hopefully fix the build failures by setting proper rule
5943 dependencies and moving instead of copying.
5945 2007-04-19 Stefan Kost <ensonic@users.sf.net>
5947 * tests/benchmarks/complexity.gnuplot:
5948 * tests/benchmarks/complexity.scm:
5949 * tests/benchmarks/mass-elements.gnuplot:
5950 * tests/benchmarks/mass-elements.scm:
5951 Total licensification.
5953 2007-04-19 Stefan Kost <ensonic@users.sf.net>
5955 * gst/parse/Makefile.am:
5956 Fix the build by correcting the rule that gave wrong files to flex.
5958 2007-04-19 Stefan Kost <ensonic@users.sf.net>
5960 * tests/benchmarks/complexity.c:
5961 * tests/benchmarks/mass-elements.c:
5962 Change licence to LGPL as granted by Benjamin and Andy.
5964 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
5966 * gst/parse/Makefile.am:
5967 Add correct grammar.tab.h dependency if compiling without new enough
5968 flex. Fixes #431150.
5970 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
5972 * gst/parse/Makefile.am:
5973 Fix typo and use outdated sources if the flex/bison sources are newer
5974 than the pregenerated ones but flex is too old. Print a warning in
5975 that case. This should fix the build on the build bot.
5977 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
5979 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
5980 * gst/parse/Makefile.am:
5981 * gst/parse/grammar.y:
5982 * gst/parse/parse.l:
5983 Make the parser reentrant and recursively callable. This requires flex
5984 >= 2.5.31, for older versions pregenerated sources are used as we
5985 can't bump the build dependency. Finally fixes #349180.
5987 * gst/gstparse.c: (gst_parse_launch):
5988 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
5991 * docs/gst/Makefile.am:
5992 * docs/gst/Makefile.am:
5993 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
5994 (__gst_parse_strfree), (__gst_parse_link_new),
5995 (__gst_parse_link_free), (__gst_parse_chain_new),
5996 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
5997 (gst_parse_element_set), (gst_parse_free_link),
5998 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
5999 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
6000 (_gst_parse_launch):
6001 * gst/parse/grammar.tab.pre.h:
6002 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
6003 (yy_get_previous_state), (yy_try_NUL_trans), (input),
6004 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
6005 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
6006 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
6007 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
6008 (_gst_parse_yypop_buffer_state),
6009 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
6010 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
6011 (yy_fatal_error), (_gst_parse_yyget_extra),
6012 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
6013 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
6014 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
6015 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
6016 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
6017 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
6018 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
6019 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
6020 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
6021 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
6022 (_gst_parse_yyfree):
6023 If the installed flex version is too old use pre-generated parser
6024 sources. These pre-generated parser sources are always updated when
6025 the actual flex/bison sources change but require everybody who wants
6026 to change something in the parser to have flex >= 2.5.31 installed.
6028 2007-04-18 Stefan Kost <ensonic@users.sf.net>
6030 * common/m4/gst-gettext.m4:
6031 * gst/gst-i18n-lib.h:
6032 Make --disable-nls to work
6034 2007-04-17 Wim Taymans <wim@fluendo.com>
6036 * gst/gstconfig.h.in:
6037 Revert previous change that broke the build.
6039 2007-04-17 Stefan Kost <ensonic@users.sf.net>
6043 * gst/gstconfig.h.in:
6044 Drop libxml2 dependency when building with
6045 --enable-binary-registry --disable-loadsave
6047 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
6049 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
6050 (gst_registry_binary_read_cache):
6051 * gst/gstregistrybinary.h:
6052 Remove unnecessary <sys/mman.h> include which broke the win32 build
6053 with MingW; move includes from header file to .c file, even if the
6054 header file isn't installed; use g_strerror() where UTF-8 strings
6055 are expected, such as in GST_DEBUG messages.
6057 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
6059 * docs/libs/gstreamer-libs-sections.txt:
6060 Remove bogus addition for API I didn't end up keeping.
6062 * libs/gst/base/gstbasesrc.h:
6063 Mention Since: 0.10.13 in the documentation.
6065 Add the API keyword to the previous ChangeLog entry.
6067 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
6069 * docs/libs/gstreamer-libs-sections.txt:
6070 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6071 (gst_base_src_default_prepare_seek_segment),
6072 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
6073 * libs/gst/base/gstbasesrc.h:
6074 Allow basesrc derived classes to execute seeks in other formats
6075 by providing a prepare_seek_segment vmethod. Sub-classes can choose
6076 to prepare the GstSegment in any format that their perform_seek method
6077 will be able to understand. The default implementation provides the
6078 old behaviour of attempting to convert the seek offsets to the
6079 configured native format.
6081 API: basesrc::prepare_seek_segment vmethod.
6083 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
6085 * gst/gstelement.c: (gst_element_get_state_func):
6086 Don't output the same debug statement twice.
6088 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
6089 (gst_adapter_peek), (gst_adapter_take_buffer):
6090 Optimise the case where we have buffers at the head of the queue that
6091 can be joined quickly (because they're contiguous sub-buffers) by
6092 merging them together rather than copying data out into new memory.
6094 * gst/parse/grammar.y:
6095 * tests/check/pipelines/parse-launch.c:
6096 Fix a leak in an error path for parse_launch, and add a check
6097 for it to the testsuite.
6099 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
6101 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
6102 Don't deadlock when releasing a pad - gst_pad_set_active may try
6103 and take the multiqueue lock too.
6105 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
6107 * gst/gsterror.c: (_gst_core_errors_init):
6109 API: add GST_CORE_ERROR_DISABLED (#392804).
6111 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
6113 * docs/faq/gst-uninstalled:
6114 don't get empty paths on the PATH variables
6115 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
6116 Don't format for the uncommon terminal width of 84 characters.
6118 2007-04-06 Wim Taymans <wim@fluendo.com>
6120 * gst/gstpipeline.c: (reset_stream_time),
6121 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
6122 Only try to select a different pipeline clock when we went back to
6123 PAUSED and not when we merely got flushed.
6125 2007-04-05 Michael Smith <msmith@fluendo.com>
6127 * tools/gst-launch.1.in:
6128 fractions are better supported in gstreamer than ractions, so
6129 suggest using those.
6131 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
6133 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
6137 Added Danish translation.
6139 2007-04-05 Wim Taymans <wim@fluendo.com>
6141 * libs/gst/base/gstbasesink.c:
6142 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
6143 Fix leak caused when refusing newsegment after EOS.
6145 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
6146 (gst_fake_sink_init), (gst_fake_sink_set_property),
6147 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
6148 (gst_fake_sink_render), (gst_fake_sink_change_state):
6149 * plugins/elements/gstfakesink.h:
6150 Add num-buffers property to make the element generate EOS after a
6151 configurable amount of buffers.
6152 API: fakesink::num-buffers property.
6154 * tests/check/elements/fakesink.c: (GST_START_TEST),
6156 Fix GstBus leak in test.
6157 Test for fakesink num-buffers.
6159 2007-04-05 Wim Taymans <wim@fluendo.com>
6161 * libs/gst/base/gstbasesink.c:
6162 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
6163 (gst_base_sink_change_state):
6164 Don't accept anything after an EOS, return UNEXPECTED instead.
6166 * tests/check/elements/fakesink.c: (GST_START_TEST),
6168 Unit test for new EOS behaviour.
6170 2007-04-05 Wim Taymans <wim@fluendo.com>
6172 * gst/gstelement.c: (gst_element_get_request_pad):
6173 Make padtemplates also work when they don't contain %s or %d.
6175 2007-04-05 Wim Taymans <wim@fluendo.com>
6177 * docs/gst/gstreamer-sections.txt:
6178 * gst/gstclock.c: (gst_clock_adjust_unlocked),
6179 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
6181 Improve _adjust_unlocked() so that it overflows less.
6182 Add gst_clock_unadjust_unlocked to convert from external time to
6183 internal time based on calibration.
6184 Add some more debug.
6185 API: GstClock::gst_clock_unadjust_unlocked()
6187 2007-04-03 Wim Taymans <wim@fluendo.com>
6189 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
6191 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
6192 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
6193 when releasing sink pad. Fixes #425400.
6195 2007-04-02 Stefan Kost <ensonic@users.sf.net>
6197 * docs/random/ensonic/dynlink.txt:
6198 More work on proposal for new core api.
6200 * docs/libs/gstreamer-libs-sections.txt:
6201 * libs/gst/base/gstbasetransform.h:
6202 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
6204 * libs/gst/controller/gstcontroller.c:
6205 (on_object_controlled_property_changed),
6206 (gst_controller_sync_values),
6207 (gst_controller_set_interpolation_mode):
6208 * libs/gst/controller/gstcontroller.h:
6209 Less verbose logging add docs for unimplemented parts and correctly
6210 return when using unavailable parts.
6212 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
6214 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
6215 Move all the debug to the CLOCK category, and associate it with
6218 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
6220 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
6221 Make take_buffer a bit quicker by removing redundant checks
6222 caused by calling gst_adapter_take.
6224 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
6226 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
6229 * tests/check/Makefile.am:
6230 * tests/check/elements/.cvsignore:
6231 * tests/check/elements/multiqueue.c: (setup_multiqueue),
6232 (GST_START_TEST), (multiqueue_suite):
6233 Add some dead simple unit tests for the 'multiqueue' element
6234 (some bits don't work yet and are disabled for now).
6236 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
6238 * gst/gstelement.c: (gst_element_get_request_pad),
6239 (gst_element_class_get_request_pad_template):
6240 Make gst_element_get_request_pad() create request pads only for
6241 request pad templates and not for, say, sometimes pad templates.
6243 2007-03-28 Stefan Kost <ensonic@users.sf.net>
6245 * docs/design/draft-klass.txt:
6246 Add example that needs more thinking.
6248 * docs/design/draft-missing-plugins.txt:
6249 More thoughts about wrapper plugins.
6251 * docs/random/ensonic/embedded.txt:
6252 * docs/random/ensonic/profiling.txt:
6255 2007-03-25 Wim Taymans <wim@fluendo.com>
6257 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
6258 (gst_base_src_loop):
6259 Only push the segment events in the PLAYING state for live sources.
6261 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
6263 * gst/gstpipeline.c: (gst_pipeline_change_state):
6264 Modify the clock distribution path in PAUSED->PLAYING so that we
6265 never attempt to choose a new clock unless we're actually leaving
6266 the PAUSED state for the first time. This prevents choosing a
6267 different clock when the state_change gets called for a 2nd time due
6268 to some element doing an async state change.
6270 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
6272 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
6273 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
6274 (gst_pad_chain_unchecked), (gst_pad_push):
6275 Revert last commit. This needs some more thoughts.
6277 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
6279 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
6280 (gst_pad_chain_unchecked), (gst_pad_push):
6281 Check in set_caps if the caps are compatible with the pad and remove
6282 two functions that are redundant now. Fixes #421543.
6284 2007-03-22 Wim Taymans <wim@fluendo.com>
6286 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
6287 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
6288 Unref some more to make valgrind happy.
6290 2007-03-22 Wim Taymans <wim@fluendo.com>
6292 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
6293 (gst_system_clock_id_wait_jitter),
6294 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
6295 Fix anoying regression that survived a few releases. When adding an
6296 async entry while blocking on a sync entry, the sync entry will unblock
6297 but still be busy, so it should continue to wait instead of returning
6299 Add some comments here and there.
6301 * tests/check/gst/gstsystemclock.c: (mixed_thread),
6302 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
6303 Add testcase for this.
6305 2007-03-22 Wim Taymans <wim@fluendo.com>
6307 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
6308 Handle errors from the clock sync better, only UNSCHEDULED indicates a
6309 WRONG_STATE and can silently pause the task. All other cases should
6312 2007-03-22 Wim Taymans <wim@fluendo.com>
6314 Patch by: Ville Syrjala <syrjala at sci dot fi>
6316 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
6317 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
6320 2007-03-21 Michael Smith <msmith@fluendo.com>
6322 * docs/pwg/advanced-types.xml:
6323 Fix some errors in the typefinding docs pointed out on irc.
6325 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
6327 * libs/gst/base/gstbasesrc.c:
6328 Clarify FIXME comment in the face of having added unlock_stop()
6330 2007-03-21 Wim Taymans <wim@fluendo.com>
6332 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
6333 Prepare for release where we warn against possible app breakage in the
6334 case of live pipelines along with an env var to enable/disable live
6335 preroll mode (GST_COMPAT=[no-]live-preroll).
6337 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6339 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
6340 So we should use correct constants for checking for None offset.
6342 2007-03-20 Wim Taymans <wim@fluendo.com>
6344 * docs/design/part-block.txt:
6345 Mention the fact that the newly switched element should be set to at
6348 2007-03-20 Wim Taymans <wim@fluendo.com>
6351 Fix compilation with registry disabled as spotted by Saur.
6353 2007-03-20 Wim Taymans <wim@fluendo.com>
6355 Patch by: Olivier Crete <tester at tester dot ca>
6357 * gst/gstelement.c: (gst_element_sync_state_with_parent):
6358 Look at the pending state too when syncing the element state to the
6359 parent. Fixes #420133.
6361 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
6363 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
6364 (gst_base_sink_change_state):
6365 * libs/gst/base/gstbasesink.h:
6366 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
6367 (gst_base_src_default_event), (gst_base_src_unlock_stop),
6368 (gst_base_src_deactivate):
6369 * libs/gst/base/gstbasesrc.h:
6370 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
6371 for sub-classes to correctly clear any state they set trying to
6372 unlock, such as clearing out unlock commands from a command fd.
6373 API: basesrc::unlock_stop
6374 API: basesink::unlock_stop
6376 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
6377 (gst_fd_sink_render), (gst_fd_sink_unlock),
6378 (gst_fd_sink_unlock_stop):
6379 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
6380 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
6381 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
6383 Implement unlock_stop in fdsrc and fdsink.
6384 Implement seeking in fdsrc when a seekable fd is passed, as in
6385 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
6387 2007-03-19 Wim Taymans <wim@fluendo.com>
6389 Patch by: Evan Nemerson <evan at coeus dash group dot com>
6391 * gst/gstelement.c: (gst_element_class_init):
6392 Fix pad-added and pad-removed signal signatures so that the pad type is
6393 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
6395 2007-03-19 Wim Taymans <wim@fluendo.com>
6397 * docs/gst/gstreamer-sections.txt:
6398 Add new element field and method.
6400 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
6401 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
6402 (gst_bin_recalc_state), (gst_bin_get_state_func),
6403 (gst_bin_element_set_state), (gst_bin_change_state_func),
6404 (gst_bin_continue_func), (bin_bus_handler),
6405 (bin_push_state_continue), (bin_handle_async_start),
6406 (bin_handle_async_done), (gst_bin_handle_message_func):
6407 Make async state changes a bit smarter by using new ASYNC_START and
6408 ASYNC_DONE messages. This reduces the number of times we run the state
6409 recalculation thread.
6410 Don't change state of element with a pending ASYNC_START message.
6411 Deprecate STATE_DIRTY messages.
6413 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
6414 (gst_element_get_state_func), (gst_element_continue_state),
6415 (gst_element_lost_state), (gst_element_set_state_func),
6416 (gst_element_change_state):
6418 Keep the state that was last set by the app in a new element field.
6419 Don't allow state changes when handling an element event.
6420 Post ASYNC_START and ASYNC_DONE messages.
6421 Change lost_state so that we go to PAUSED and wait for the parent to set
6422 us to PLAYING again (so latency calculation can be performed)
6423 Export gst_element_change_state() method so that subclasses can use it.
6424 API: gst_element_change_state()
6425 API: GST_STATE_TARGET
6427 * gst/gstpipeline.c: (gst_pipeline_class_init),
6428 (reset_stream_time), (gst_pipeline_change_state),
6429 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
6430 Using the new ASYNC_START message we can reset the base_time when
6431 needed. This can then be used to implement base_time redistribution in
6432 flushing seeks so that we can remove the explicit seek handling.
6433 Perform latency query and configuration when going to PLAYING.
6435 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6436 (gst_base_sink_query), (gst_base_sink_change_state):
6437 Post new ASYNC_START/ASYNC_DONE messages.
6439 * tests/check/generic/sinks.c: (GST_START_TEST):
6440 Fix test because the bin will not set the async element to PLAYING right
6443 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
6444 Make the message check a little stronger.
6445 Handle ASYNC messages.
6447 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
6448 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
6449 Expect ASYNC_DONE messages.
6451 2007-03-19 Wim Taymans <wim@fluendo.com>
6453 * docs/gst/gstreamer-sections.txt:
6454 * gst/gstmessage.c: (gst_message_new_async_start),
6455 (gst_message_new_async_done), (gst_message_parse_info),
6456 (gst_message_parse_async_start):
6458 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
6461 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
6463 * tools/gst-inspect.c:
6464 (print_plugin_automatic_install_info_codecs):
6465 Now that we don't check for the 'Codec' keyword any longer in the
6466 klass, we shouldn't spew a warning if the klass isn't a decoder or
6467 encoder (since it might be a Source/Network, for example).
6469 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
6471 * tools/gst-inspect.c:
6472 (print_plugin_automatic_install_info_codecs):
6473 Don't require decoder/demuxer/depayloader elements or
6474 encoder/muxer/paylader elements to have 'Codec' as part of their
6475 factory class string when introspecting a plugin's capabilities.
6476 draft-klass.txt mentions that it might be removed in future, and
6477 flump3dec doesn't have it as part of its class string, so chances
6478 are others might also not have it.
6480 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
6502 Update translations from translation project
6504 2007-03-14 Stefan Kost <ensonic@users.sf.net>
6506 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
6507 (gst_child_proxy_set_property):
6508 Invert precondition check to be alike the ones in the mimiced gobject
6511 2007-03-13 Stefan Kost <ensonic@users.sf.net>
6513 * docs/design/draft-tagreading.txt:
6514 * docs/random/ensonic/audiobaseclasses.txt:
6515 Do some Architect work.
6517 * gst/gstobject.c: (gst_object_set_name):
6521 Add docs that point from gst_pad_get_range to gst_pad_pull_range
6523 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
6525 * gst/gstsystemclock.c: (gst_system_clock_init),
6526 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
6527 Defer starting the async system clock thread until the first async
6528 wait is scheduled. Fixes #414986.
6530 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
6532 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
6533 (gst_single_queue_free):
6534 Fix small leak (free GstSingleQueue structure too, not only contents).
6536 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
6538 * gst/gstbin.c:(gst_bin_add):
6539 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
6540 * win32/common/libgstbase.def:
6541 * win32/common/libgstreamer.def:
6542 Add new exported functions.
6544 2007-03-09 Wim Taymans <wim@fluendo.com>
6546 * docs/plugins/gstreamer-plugins-sections.txt:
6549 2007-03-09 Wim Taymans <wim@fluendo.com>
6551 * docs/gst/gstreamer-sections.txt:
6552 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
6554 Add metadata copy functions. Fixes #393099.
6555 API: gst_buffer_copy_metadata()
6557 * gst/gstutils.c: (gst_buffer_stamp):
6558 * libs/gst/base/gstbasetransform.c:
6559 (gst_base_transform_prepare_output_buffer):
6560 Use new metadata copy functions.
6562 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
6564 * plugins/elements/gstidentity.c: (gst_identity_class_init),
6565 (gst_identity_init), (gst_identity_check_perfect),
6566 (gst_identity_check_imperfect_timestamp),
6567 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
6568 (gst_identity_set_property), (gst_identity_get_property):
6569 * plugins/elements/gstidentity.h:
6570 Separate out check-imperfect-timestamp and check-imperfect-offset.
6571 Put back check-perfect as it was to keep compatibility.
6573 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
6575 * gst/gstelement.c: (gst_element_dispose):
6576 There's no need to warn if VOID_PENDING is not NONE here, as
6577 long as the state is NULL it's ok, and that's checked immediately
6580 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6582 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
6583 Fix check for perfect stream to ignore buffers with -1
6584 offsets/offset ends when checking data contiguity.
6586 2007-03-08 Wim Taymans <wim@fluendo.com>
6588 * tools/gst-launch.c: (event_loop):
6589 Print INFO messages.
6591 2007-03-08 Wim Taymans <wim@fluendo.com>
6593 * libs/gst/base/gstbasetransform.c:
6594 (gst_base_transform_sink_eventfunc),
6595 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
6596 (gst_base_transform_activate):
6597 * libs/gst/base/gstbasetransform.h:
6598 Add support for dropping buffers with custom GstFlowReturn.
6599 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
6600 buffers or dropped buffers.
6602 * docs/libs/gstreamer-libs-sections.txt:
6603 docs for new custom return code.
6605 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6606 Use drop support in base class to implement drop-probability.
6608 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
6610 * gst/gst.c: (load_plugin_func):
6611 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
6612 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
6613 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
6614 Remove newlines at end of debug log strings.
6616 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6618 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
6619 Only post bus message at max, once per buffer received.
6621 2007-03-07 Wim Taymans <wim@fluendo.com>
6623 * docs/design/Makefile.am:
6624 * docs/design/part-synchronisation.txt:
6625 Add doc about synchronisation
6627 * docs/design/draft-latency.txt:
6628 * docs/design/part-TODO.txt:
6629 * docs/design/part-clocks.txt:
6630 * docs/design/part-events.txt:
6631 * docs/design/part-gstbus.txt:
6632 * docs/design/part-gstpipeline.txt:
6633 * docs/design/part-live-source.txt:
6634 * docs/design/part-messages.txt:
6635 * docs/design/part-overview.txt:
6636 * docs/design/part-streams.txt:
6637 * docs/design/part-trickmodes.txt:
6638 Documentation updates.
6640 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
6643 Update the doap file.
6645 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6647 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
6648 Rename non-perfect to imperfect for Mike and for the sanctity of the
6650 Also make sure bus message gets emitted for data-incontiguities.
6652 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6654 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
6655 (gst_identity_start):
6656 * plugins/elements/gstidentity.h:
6657 Emit bus message if check-perfect is true and we encounter a
6658 non-perfect stream between 2 consecutive buffers.
6661 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
6666 === release 0.10.12 ===
6668 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
6671 releasing 0.10.12, "Inevitable Demise"
6673 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
6676 Version 0.10.11.2 (0.10.12 pre-release)
6677 Bump libtool versioning.
6679 2007-03-01 Stefan Kost <ensonic@users.sf.net>
6681 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6682 Log flow-names and not numbers.
6684 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
6687 Convert to new AG_GST style.
6689 2007-02-28 Wim Taymans <wim@fluendo.com>
6691 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
6692 Don't unref query twice.
6694 2007-02-28 Wim Taymans <wim@fluendo.com>
6696 * gst/gstvalue.c: (gst_value_transform_object_string),
6697 (_gst_value_initialize):
6698 Implement GstObject -> string transform so we print object names
6699 when serializing GValues containing GstObjects.
6701 2007-02-28 Wim Taymans <wim@fluendo.com>
6703 * docs/gst/gstreamer-sections.txt:
6704 Add new stuff to docs.
6706 2007-02-28 Wim Taymans <wim@fluendo.com>
6708 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6709 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
6710 (gst_base_sink_change_state):
6711 Improve latency query code.
6712 Don't leak latency events.
6714 * tests/check/gst/gstbin.c: (GST_START_TEST):
6717 2007-02-28 Wim Taymans <wim@fluendo.com>
6719 * gst/gstelement.c: (gst_element_message_full),
6720 (gst_element_get_state_func):
6722 Improve docs a little. Added Since: for new macro.
6724 * gst/gstobject.c: (gst_object_sink):
6725 * gst/gstpipeline.c: (gst_pipeline_change_state),
6726 (gst_pipeline_set_new_stream_time):
6727 * gst/gstpipeline.h:
6728 Improve debugging and docs.
6730 * gst/gstutils.c: (gst_element_state_change_return_get_name):
6733 2007-02-28 Wim Taymans <wim@fluendo.com>
6735 * gst/gstelement.c: (gst_element_message_full),
6736 (gst_element_set_locked_state), (gst_element_get_state_func),
6737 (gst_element_change_state):
6738 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
6739 Documentation updates.
6740 Small code cleanups.
6742 * gst/gstmessage.c: (gst_message_new_info),
6743 (gst_message_parse_info):
6745 API: gst_message_new_info()
6746 API: gst_message_parse_info()
6747 Add INFO message create and parse code.
6749 2007-02-28 Wim Taymans <wim@fluendo.com>
6751 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
6752 (bin_query_latency_done):
6753 Also report the live parameter of a latency query.
6755 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
6757 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
6758 Copy the current generic/states example from -base and adapt so
6759 we can use the exact same code everywhere.
6760 Check a STATES_IGNORE_ELEMENTS env var which can be used
6761 to ignore certain element factories for this test, which is
6762 what is being done in -base
6763 * tests/check/Makefile.am:
6764 Mention this environment variable.
6766 2007-02-27 Wim Taymans <wim@fluendo.com>
6768 * docs/gst/gstreamer-sections.txt:
6769 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
6770 (gst_bus_timed_pop), (gst_bus_pop):
6772 API: gst_bus_timed_pop()
6773 Implement gst_bus_timed_pop() to do a blocking timed wait for a
6774 message to arrive on the bus.
6776 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
6778 Two unit tests for new _timed_pop() function.
6780 2007-02-23 Wim Taymans <wim@fluendo.com>
6782 * gst/gstpipeline.c: (gst_pipeline_change_state),
6783 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
6784 Don't ref a NULL clock in _provide_clock_func().
6785 Don't allow an INVALID delay.
6786 Don't try to calculate base_time with an invalid start_time.
6787 Also distribute and notify a NULL clock when it was selected.
6789 * tools/gst-launch.c: (event_loop):
6790 Don't crash when a NULL clock was selected in the pipeline.
6792 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
6794 * docs/design/Makefile.am:
6795 * docs/design/draft-missing-plugins.txt:
6796 * docs/random/draft-missing-plugins.txt:
6797 Some small updates: update plugin system identifier prefix
6798 ('gstreamer.net' to 'gstreamer'), mention our new install
6799 API in libgstbaseutils rather than libgimme-codec, add
6800 reference to the online docs.
6802 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
6804 * win32/common/config.h:
6805 Pretty sure Bill never made a powerpc version. Powerpc hackers,
6806 use moap cl ci to only check in what is mentioned in the ChangeLog.
6808 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
6810 * docs/gst/gstreamer-sections.txt:
6812 Fix up documentation to link to the correct GstGError section.
6813 Add GST_ELEMENT_INFO macro since someone else added a Info message.
6815 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
6817 * tools/gst-launch.c: (event_loop):
6818 Make sure that we actually show the important message part of a
6820 No need to check if the gerror is not NULL to free; first of all
6821 g_free accepts NULL; and second the default error handler would
6822 segfault if gerror was NULL.
6824 2007-02-21 Wim Taymans <wim@fluendo.com>
6826 * docs/gst/gstreamer-sections.txt:
6827 Removed docs as well.
6829 2007-02-21 Wim Taymans <wim@fluendo.com>
6831 * gst/gstmessage.c: (gst_message_parse_duration):
6833 Remove new messages for release.
6835 2007-02-20 Wim Taymans <wim@fluendo.com>
6837 * docs/design/part-gstghostpad.txt:
6838 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
6839 (gst_ghost_pad_new_full):
6840 Make the ghostpad a parent of the internal pad again for better backward
6841 compatibility. Don't write code that relies on this however.
6843 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
6844 (gst_pad_link_check_hierarchy):
6845 Require that parents should be GstElements in the hierarchy check.
6847 2007-02-20 Wim Taymans <wim@fluendo.com>
6849 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
6850 (gst_bin_change_state_func), (bin_query_min_max_init),
6851 (bin_query_latency_fold), (bin_query_latency_done),
6854 Implement latency query.
6856 2007-02-20 Wim Taymans <wim@fluendo.com>
6858 * docs/design/part-gstghostpad.txt:
6859 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
6860 (gst_ghost_pad_internal_do_activate_push),
6861 (gst_ghost_pad_internal_do_activate_pull),
6862 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
6863 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
6864 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
6865 Do not set the internal pad as a parent anymore so we can avoid
6866 hierarchy linking errors when the ghostpad has no parent yet. This also
6867 fixes failed activation because of unlinked internal pads, which in
6868 turn fixes the impossible case where you have to activate a pad before
6869 you can add it to a running element.
6872 * gst/gstpad.c: (pre_activate), (post_activate),
6873 (gst_pad_set_active), (gst_pad_activate_pull),
6874 (gst_pad_activate_push), (gst_pad_check_pull_range):
6875 Add some more debug info.
6876 Mark activation mode in pre_activate so that we don't try to activate in
6877 endless loops. Fixes #385084.
6879 2007-02-19 Wim Taymans <wim@fluendo.com>
6881 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
6882 (gst_base_transform_check_get_range):
6883 Implement a checkgetrange function instead of relying on the default
6884 core behaviour that assumes we can operate in pull mode if we have a
6885 getrange function. First step at fixing #385084.
6887 2007-02-15 Stefan Kost <ensonic@users.sf.net>
6889 * gst/gstchildproxy.h:
6890 * libs/gst/base/gstbasesink.h:
6891 * libs/gst/base/gstbasesrc.h:
6892 * libs/gst/base/gstbasetransform.h:
6893 More docs coverage and some ChangeLog surgery (add missing names)
6895 2007-02-15 Wim Taymans <wim@fluendo.com>
6897 * docs/design/part-TODO.txt:
6898 * docs/design/part-activation.txt:
6899 * docs/design/part-block.txt:
6900 * docs/design/part-buffering.txt:
6901 * docs/design/part-clocks.txt:
6902 * docs/design/part-element-source.txt:
6903 * docs/design/part-events.txt:
6904 * docs/design/part-gstbin.txt:
6905 * docs/design/part-gstbus.txt:
6906 * docs/design/part-gstpipeline.txt:
6907 * docs/design/part-live-source.txt:
6908 * docs/design/part-messages.txt:
6909 * docs/design/part-overview.txt:
6910 * docs/design/part-qos.txt:
6911 * docs/design/part-query.txt:
6912 * docs/design/part-states.txt:
6913 * docs/design/part-trickmodes.txt:
6914 Some doc updates. Start renaming from stream_time to running_time where
6915 it was used wrongly.
6917 2007-02-15 Wim Taymans <wim@fluendo.com>
6919 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
6920 Answer LATENCY query.
6922 2007-02-15 Wim Taymans <wim@fluendo.com>
6924 * tests/check/gst/gstevent.c: (event_probe), (test_event),
6928 2007-02-15 Wim Taymans <wim@fluendo.com>
6930 * gst/gstpad.c: (gst_pad_get_internal_links_default),
6931 (gst_pad_dispatcher):
6932 Improve debugging of default pad dispatcher and query functions.
6934 2007-02-15 Wim Taymans <wim@fluendo.com>
6936 * docs/gst/gstreamer-sections.txt:
6937 Remove old unused method.
6939 2007-02-13 Wim Taymans <wim@fluendo.com>
6941 * tests/check/gst/gstsegment.c: (GST_START_TEST):
6944 2007-02-13 Wim Taymans <wim@fluendo.com>
6946 * docs/design/part-seeking.txt:
6949 * gst/gstsegment.c: (gst_segment_set_seek):
6950 Revert old bogus change that should make seeking work again.
6952 2007-02-13 Stefan Kost <ensonic@users.sf.net>
6954 * docs/random/ensonic/dynlink.txt:
6955 * docs/random/ensonic/interfaces.txt:
6956 * docs/random/ensonic/receipies.txt:
6957 Possible dynamic reconnection api, plus some type fixes the other two
6960 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
6962 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6963 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6964 Also check for an absolute path following file:// in the filesrc
6965 element. Remove redundant check and call g_path_is_absolute() on the
6968 2007-02-13 Stefan Kost <ensonic@users.sf.net>
6970 * docs/design/draft-klass.txt:
6971 Add existing category analysis.
6974 Fix doc example, framerate is a fraction.
6976 2007-02-12 Stefan Kost <ensonic@users.sf.net>
6979 * docs/gst/Makefile.am:
6980 * docs/gst/gstreamer-sections.txt:
6981 * docs/libs/Makefile.am:
6982 Erm, forgot a bunch of --extra-dir.
6984 2007-02-12 Stefan Kost <ensonic@users.sf.net>
6987 * docs/gst/Makefile.am:
6988 * docs/libs/Makefile.am:
6989 * docs/plugins/Makefile.am:
6990 Add crossreferences to glib/gobject docs.
6992 2007-02-12 Wim Taymans <wim@fluendo.com>
6994 * docs/design/draft-latency.txt:
6997 * docs/libs/gstreamer-libs-sections.txt:
6998 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6999 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
7000 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
7001 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
7002 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
7003 (gst_base_sink_get_position), (gst_base_sink_query),
7004 (gst_base_sink_change_state):
7005 * libs/gst/base/gstbasesink.h:
7006 API: gst_base_sink_query_latency() to let subclasses query the upstream
7008 API: gst_base_sink_get_latency() to let subclasses query the configured
7009 latency in the sink.
7010 Implement query and set latency.
7012 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
7013 don't continue preroll when we are flushing. Fixes #405284.
7015 * tests/check/pipelines/stress.c: (change_state_timeout),
7016 (quit_timeout), (GST_START_TEST), (stress_suite):
7019 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
7021 Patch by: René Stadler <mail at renestadler de>
7023 * docs/gst/gstreamer-sections.txt:
7024 * gst/gsttaglist.c: (_gst_tag_initialize):
7026 API: add GST_TAG_REFERENCE_LEVEL (#403597).
7028 2007-02-11 Stefan Kost <ensonic@users.sf.net>
7030 * docs/libs/Makefile.am:
7031 Fix path to core docs.
7033 * gst/gstbin.c: (gst_bin_get_by_interface),
7034 (gst_bin_iterate_all_by_interface):
7035 Refix docs by also renaming 'interface' to 'iface' in implementation.
7037 * docs/gst/gstreamer-sections.txt:
7039 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
7040 * gst/gstchildproxy.h:
7041 * gst/gstelementfactory.c:
7042 * gst/gstpadtemplate.h:
7043 * libs/gst/controller/gstcontroller.c:
7044 (gst_controlled_property_new):
7047 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
7049 * gst/gstbin.h:(gst_bin_get_by_interface),
7050 (gst_bin_iterate_all_by_interface):
7051 Replace interface parameter name by iface as interface is
7052 a reserved keyword in Visual Studio for C++ projects so it removes
7053 a build error for application developpers using VS.
7054 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
7055 Fix a bug on Windows in uri format check. Now the prefix checked
7056 is file:// and next we check if the path after file:// is absolute.
7057 * win32/common/libgstbase.def:
7058 * win32/common/libgstdataprotocol.def:
7059 * win32/common/libgstgstreamer.def:
7060 Add new exported functions.
7062 2007-02-09 Andy Wingo <wingo@pobox.com>
7064 * tests/check/pipelines/simple-launch-lines.c
7065 (simple_launch_lines_suite, test_tee): Disable tee test until I
7066 have time to fix it :-(
7068 * tests/check/Makefile.am (noinst_HEADERS):
7069 * tests/check/libs/libsabi.c:
7070 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
7071 * tests/check/gst/gstabi.c:
7072 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
7074 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
7075 tests for push and pull tee behavior.
7077 * plugins/elements/gsttee.h:
7078 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
7079 mark as deprecated as well as unimplemented. It was a crack idea.
7080 Add support for tee operating in pull mode, off by default.
7082 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
7083 normal-case logs down to LOG, raise errors to WARNING.
7084 (gst_registry_xml_read_cache): Don't log before calling a function
7087 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
7088 exit (registry finalize).
7089 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
7090 DEBUG log when we emit signals that people don't even have the
7091 chance to connect to.
7092 (gst_registry_scan_path_level): Less logging in the normal case.
7094 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
7096 Patch by: Michal Benes <michal dot benes at itonis dot tv>
7098 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7099 Correctly generate EOS for non-seekable files. We don't have a total
7100 length for them and would get an unexpected end of file if we only
7101 special-cased for regular files. (Fixes: #404569)
7103 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
7105 * tests/check/elements/filesrc.c: (GST_START_TEST),
7107 Add unit test for the GstURIHandler interface in filesrc. This also
7108 tests the newly added file://localhost/foo/bar support.
7110 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
7112 * gst/gstelementfactory.h:
7113 The klass string is not a hierarchy. Add reference to the design doc
7114 for more information and common types.
7116 2007-02-02 Wim Taymans <wim@fluendo.com>
7118 * gst/gstquery.c: (gst_query_new_latency):
7119 Remove old structure field.
7121 2007-02-02 Stefan Kost <ensonic@users.sf.net>
7123 * tools/gst-launch.1.in:
7124 Give example for network streaming (#351998)
7126 2007-02-02 Wim Taymans <wim@fluendo.com>
7128 * docs/gst/gstreamer-sections.txt:
7129 Add docs for new methods.
7131 * gst/gstevent.c: (gst_event_new_latency),
7132 (gst_event_parse_latency):
7134 Add new LATENCY event to configure latency in a pipeline.
7135 API: gst_event_new_latency
7136 API: gst_event_parse_latency
7138 * gst/gstmessage.c: (gst_message_new_buffering),
7139 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
7140 (gst_message_new_latency), (gst_message_parse_buffering),
7141 (gst_message_parse_lost_preroll):
7143 Added messages used in draft-latency.
7144 API: gst_message_new_lost_preroll
7145 API: gst_message_parse_lost_preroll
7146 API: gst_message_new_prerolled
7147 API: gst_message_new_latency
7149 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
7150 (gst_query_parse_latency):
7152 Implemented new latency query as in design doc.
7153 API: gst_query_new_latency
7154 API: gst_query_set_latency
7155 API: gst_query_parse_latency
7157 2007-02-02 Wim Taymans <wim@fluendo.com>
7159 * docs/design/draft-latency.txt:
7160 Slight redesign to allow for dynamic latency adjustments.
7162 * docs/design/part-negotiation.txt:
7165 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
7167 reviewed by: Wim Taymans <wim@fluendo.com>
7169 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
7170 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
7171 Allow file://localhost/foo/bar URLs and correctly fail for every other
7172 hostname that one sets. This was gnomevfssrc is linked for those if
7173 installed as it can handle it (#403172)
7175 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
7177 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
7179 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
7180 (unref_data), (gst_collect_pads_add_pad_full):
7181 * libs/gst/base/gstcollectpads.h:
7182 Don't put the previously added destroy notify in the GstCollectData
7183 struct as all it's padding is already used and we don't want to break
7184 ABI. Instead put in the pad's GObject data for now. This should be
7185 cleaned up for 0.11 (#402393).
7187 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
7189 reviewed by: Wim Taymans <wim@fluendo.com>
7191 * docs/libs/gstreamer-libs-sections.txt:
7192 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
7193 (unref_data), (gst_collect_pads_add_pad),
7194 (gst_collect_pads_add_pad_full):
7195 * libs/gst/base/gstcollectpads.h:
7196 API: Add function to specify a destroy notification for custom
7197 GstCollectData when adding new pads in GstCollectPads (#402393).
7199 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
7202 Update Swedish translation (#378255).
7204 2007-01-31 Stefan Kost <ensonic@users.sf.net>
7206 * docs/design/draft-klass.txt:
7207 Fix the previous change, this is a list of categories and not a hierarchy.
7209 2007-01-31 Stefan Kost <ensonic@users.sf.net>
7211 * docs/design/draft-klass.txt:
7212 Add info about how to get a list of used classes.
7214 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
7216 * plugins/elements/gsttypefindelement.c:
7217 (gst_type_find_element_chain_do_typefinding),
7218 (gst_type_find_element_change_state):
7219 Don't leak found caps in chain function (no idea why that never
7220 showed up as a leak anywhere).
7222 2007-01-30 Stefan Kost <ensonic@users.sf.net>
7225 Fix and expand GstPluginDesc API docs.
7227 2007-01-29 Stefan Kost <ensonic@users.sf.net>
7230 * gst/gstelementfactory.c:
7231 * gst/gstpadtemplate.h:
7234 * libs/gst/controller/gstcontroller.c:
7235 (gst_controlled_property_new):
7236 * tests/examples/controller/audio-example.c:
7239 2007-01-29 Stefan Kost <ensonic@users.sf.net>
7242 comment about refining the xml deps
7245 comments about moving away from jade for docs
7248 recommit the ifdefs to use the binary registry
7250 * gst/gstbin.c: (gst_bin_change_state_func):
7251 this break is obsolete
7253 * gst/gstelementfactory.h:
7254 better GST_ELEMENT_DETAILS docs, add comment about translation
7259 * gst/gstobject.c: (gst_signal_object_get_type):
7260 add G_UNLIKELY as usual
7262 * gst/gstpad.c: (gst_pad_event_default):
7263 add fall trhu comment
7265 * gst/gstregistrybinary.c: (gst_registry_binary_write),
7266 (gst_registry_binary_initialize_magic),
7267 (gst_registry_binary_save_string),
7268 (gst_registry_binary_save_pad_template),
7269 (gst_registry_binary_save_feature),
7270 (gst_registry_binary_save_plugin),
7271 (gst_registry_binary_write_cache),
7272 (gst_registry_binary_check_magic),
7273 (gst_registry_binary_load_pad_template),
7274 (gst_registry_binary_load_feature),
7275 (gst_registry_binary_load_plugin),
7276 (gst_registry_binary_read_cache):
7277 comment typo and formatting
7279 * gst/gstutils.c: (gst_element_state_get_name),
7280 (gst_element_state_change_return_get_name):
7281 remove obsolete breaks
7283 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
7284 add FIXME 0.11 and remove cpp comment
7286 2007-01-29 Edward Hervey <edward@fluendo.com>
7288 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7289 Fix print statement in an even more portable way.
7291 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
7293 * docs/gst/gstreamer-sections.txt:
7295 API: add GST_ROUND_DOWN_* macros (#401781).
7297 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
7299 * docs/gst/gstreamer.types.in:
7300 * gst/gstregistry.c: (gst_registry_class_init):
7301 Document registry signals and make gtk-doc pick them up (#401381).
7303 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
7305 * docs/pwg/building-testapp.xml:
7306 Add some audioconverts and audioresample to the pipeline, and some
7307 more comments and error handling.
7309 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
7311 * docs/manual/manual.xml:
7315 2007-01-26 Wim Taymans <wim@fluendo.com>
7317 * gst/gstcaps.c: (gst_static_caps_get):
7318 Init caps flags too.
7320 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
7322 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
7324 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
7325 If not using mmap'ed files try to seek to the end instead of the
7326 start to determine whether we can seek at all. This fixes the case
7327 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
7328 seeks for everything afterwards fail. Fixes #400656
7330 2007-01-25 Wim Taymans <wim@fluendo.com>
7332 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
7333 Add some refcount debugging.
7334 Make gst_static_caps_get threadsafe, which is needed when autoplugging
7335 in multiple streaming threads.
7337 2007-01-25 Wim Taymans <wim@fluendo.com>
7339 Patch by: David Schleef <ds at schleef dot org>
7341 * docs/libs/gstreamer-libs-sections.txt:
7342 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
7343 * libs/gst/base/gstadapter.h:
7344 API: gst_adapter_copy() that can reduce the amount of memcpy when
7345 getting data from the adapter. Fixes #388201.
7347 2007-01-25 Edward Hervey <edward@fluendo.com>
7349 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7350 In print statements, "%x" is for guint. Fixes build on macosx.
7352 2007-01-24 Edward Hervey <edward@fluendo.com>
7354 * plugins/elements/gstmultiqueue.c:
7355 (gst_multi_queue_loop):
7357 (single_queue_overrun_cb), (single_queue_underrun_cb),
7358 (single_queue_check_full), (gst_single_queue_new):
7359 Implement single queue growth system.
7360 This uses the extra-size properties, and will grow single queues by
7361 that much if one goes full whereas there are others empty. This is
7362 called extra-mode in the code.
7363 When a single queue's levels go back below the initial max-size
7364 limits, it is no longer in extra-mode. This is to ensure we don't
7365 consume too much memory.
7368 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
7370 * gst/gst.c: (gst_init_get_option_group):
7371 Make warning about late g_thread_init() calls a bit more explicit,
7372 so that it's more obvious to application developers what they need
7373 to do if a user files a bug against their application.
7375 2007-01-22 Edward Hervey <edward@fluendo.com>
7377 * plugins/elements/gstmultiqueue.c:
7378 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
7379 Remove previous hack of unsetting the flushing flag for the source pad
7380 instead of activating it. Instead, fix the source pad activate function
7381 so that it no longer depends on having a parent set or not.
7383 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
7385 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
7387 * docs/manual/basics-bus.xml:
7388 Fix example code, gst_element_unref() doesn't exist any longer.
7390 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
7392 Patch by: Mark Nauwelaerts <manauw at skynet be>
7395 Fix two docs typoes (#399094).
7397 2007-01-19 Edward Hervey <edward@fluendo.com>
7399 * docs/faq/gst-uninstalled:
7400 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
7401 depending on libgstbaseutils can work in uninstalled environment.
7403 2007-01-18 Stefan Kost <ensonic@users.sf.net>
7406 * gst/gsttagsetter.c:
7407 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
7408 statement for new tag.
7410 2007-01-17 Edward Hervey <edward@fluendo.com>
7412 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
7413 When dynamically creating single queues, activate sinkpad before adding
7415 We should be doing the same thing for the source pad, but we can't
7416 since it would call a method which needs the parent to be set in order
7417 to work propertly. Instead of activating the source pad, we just unset
7418 the flushing flag, which is the minimal requirement for adding a pad
7419 to an element in a state greater than READY.
7421 2007-01-17 Edward Hervey <edward@fluendo.com>
7423 * docs/faq/gst-uninstalled:
7424 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
7427 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
7429 * tests/check/gst/gstabi.c:
7430 * tests/check/gst/struct_hppa.h:
7431 * tests/check/libs/libsabi.c:
7432 * tests/check/libs/struct_hppa.h:
7433 Add ABI structs for HPPA (see #393796).
7435 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
7437 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
7438 Actually write ABI structs to the file specified in the GST_ABI
7439 environment variable, as the message we print claims we would.
7441 2007-01-15 Stefan Kost <ensonic@users.sf.net>
7443 * tests/check/gst/gsttask.c:
7446 2007-01-15 Stefan Kost <ensonic@users.sf.net>
7448 * gst/gsttaglist.c: (_gst_tag_initialize):
7449 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
7450 previous two entries.
7452 2007-01-15 Stefan Kost <ensonic@users.sf.net>
7454 * docs/gst/gstreamer-sections.txt:
7455 * gst/gsttaglist.c: (_gst_tag_initialize):
7457 Add tag support for beat-per-minute.
7459 2007-01-15 Stefan Kost <ensonic@users.sf.net>
7461 * gst/gstregistrybinary.c: (gst_registry_binary_write),
7462 (gst_registry_binary_initialize_magic),
7463 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
7464 (gst_registry_binary_save_pad_template),
7465 (gst_registry_binary_save_feature),
7466 (gst_registry_binary_save_plugin),
7467 (gst_registry_binary_write_cache),
7468 (gst_registry_binary_check_magic),
7469 (gst_registry_binary_load_pad_template),
7470 (gst_registry_binary_load_feature),
7471 (gst_registry_binary_load_plugin),
7472 (gst_registry_binary_read_cache):
7473 * gst/gstregistrybinary.h:
7474 Use glib types, cleanup comments, impement interfaces and uri-types.
7476 2007-01-13 Andy Wingo <wingo@pobox.com>
7478 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
7479 getrange() to return buffers with other caps, while we fix
7480 demuxers and typefind, or otherwise change part-negotiation.txt.
7482 2007-01-12 Andy Wingo <wingo@pobox.com>
7484 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
7485 Factor start/stop into this private function instead of partially
7486 in activate functions and partially in the change_state function.
7487 Fixes setup before the element has changed from READY->PAUSED, as
7488 is the case in pull-mode pipelines.
7489 (gst_base_transform_sink_activate_push)
7490 (gst_base_transform_src_activate_pull): Refactor to use
7491 gst_base_transform_activate().
7492 (gst_base_transform_change_state): Removed, not needed any more.
7494 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
7495 Truncate before fixating.
7497 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
7498 Don't set_caps() if the result of fixating is ANY, as it's not
7499 supported, and not necessary in the case of a link with no
7500 template caps on either side. Fixes tests/check/libs/basesrc in
7501 some pull-mode tests.
7503 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
7504 (gst_base_transform_init, gst_base_transform_sink_activate_push)
7505 (gst_base_transform_src_activate_pull):
7506 Track the activation mode.
7507 (gst_base_transform_setcaps): In pull mode, when activating the
7508 src pad, after activating the sink pad, activate the sink pad's
7509 peer, as discussed in part-negotiation.txt.
7511 * libs/gst/base/gstbasesrc.h:
7512 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
7513 vmethod, as in basesink.
7515 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
7517 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
7518 mode, first proxy the setcaps to the peer pad.
7519 (gst_base_sink_pad_fixate): Add a fixate function that calls the
7521 (gst_base_sink_default_activate_pull): Rename from
7522 gst_base_sink_activate_pull.
7523 (gst_base_sink_negotiate_pull): New function, performs negotiation
7524 in pull mode before calling ::activate_pull().
7525 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
7526 vmethod instead of the default implementation. I have no idea how
7527 this worked before. Negotiate before calling activate_pull.
7529 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
7530 sink pads in pull mode. In addition to being correct, fixes
7531 filesrc ! decodebin ! identity ! fakesink.
7532 (gst_pad_get_range, gst_pad_pull_range): Don't call
7533 gst_pad_set_caps() if the caps changes; instead error out with
7534 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
7536 2007-01-12 Andy Wingo <wingo@pobox.com>
7538 * docs/design/part-negotiation.txt: Update with more policy.
7540 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
7542 * libs/gst/check/gstbufferstraw.h:
7543 * libs/gst/check/gstcheck.h:
7544 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
7547 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
7549 * tests/check/Makefile.am:
7550 * tests/check/gst/.cvsignore:
7551 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
7552 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
7553 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
7554 (GST_START_TEST), (gst_tag_setter_suite):
7555 Add minimal unit test for beforementioned GstTagSetter bug.
7557 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
7559 Patch by: René Stadler <mail at renestadler dot de>
7561 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
7562 gst_tag_list_merge() returns a new list, so it's not the best idea
7563 to ingore its return value. Effectively meant that tags could only
7564 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
7565 Also add function guard to require a non-NULL taglist as input (has
7566 always been so due to gst_tag_list_copy(), just making it explicit).
7568 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
7570 * docs/random/draft-missing-plugins.txt:
7571 Some additions: mention new API that is supposed to be used at the
7572 various stages; short blob about new gst-inspect introspection
7573 option; mention potential future problem with plugins that have
7574 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
7576 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
7578 * tools/gst-inspect.c:
7579 (print_plugin_automatic_install_info_codecs),
7580 (print_plugin_automatic_install_info_protocols),
7581 (print_plugin_automatic_install_info), (main):
7582 Add --print-plugin-auto-install-info option to gst-inspect, so we can
7583 introspect plugin files and get machine-parsable output that corresponds
7584 to the last bit of the missing-plugin installer string (small gotcha:
7585 doesn't take into account ranks).
7587 2007-01-11 Stefan Kost <ensonic@users.sf.net>
7590 * docs/gst/gstreamer-sections.txt:
7592 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
7593 (gst_registry_lookup_locked):
7594 * gst/gstregistry.h:
7595 * gst/gstregistrybinary.c: (gst_registry_binary_write),
7596 (gst_registry_binary_initialize_magic),
7597 (gst_registry_binary_save_string),
7598 (gst_registry_binary_save_pad_template),
7599 (gst_registry_binary_save_feature),
7600 (gst_registry_binary_save_plugin),
7601 (gst_registry_binary_write_cache),
7602 (gst_registry_binary_check_magic),
7603 (gst_registry_binary_load_pad_template),
7604 (gst_registry_binary_load_feature),
7605 (gst_registry_binary_load_plugin),
7606 (gst_registry_binary_read_cache):
7607 * gst/gstregistrybinary.h:
7608 * gst/gstregistryxml.c: (load_feature),
7609 (gst_registry_xml_read_cache):
7610 commit binary registry (disabled by default, see #359653)
7612 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
7614 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
7615 Fix 'make check' too.
7617 2007-01-10 Andy Wingo <wingo@pobox.com>
7619 * docs/design/part-negotiation.txt: Fix a typo, add a couple
7622 * docs/design/part-negotiation.txt: Update with, um, one way that
7623 pull-mode negotiation might work?
7626 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
7627 that the pad must be a src pad; makes sense to call it the other
7628 way in pull mode, and the logic is symmetric anyway.
7630 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
7632 * plugins/elements/gstfilesink.c:
7633 Include <stdio.h> for fseeko().
7635 2007-01-10 Wim Taymans <wim@fluendo.com>
7639 Reserve LATENCY event.
7641 2007-01-09 Wim Taymans <wim@fluendo.com>
7643 * docs/design/draft-latency.txt:
7646 2007-01-09 Wim Taymans <wim@fluendo.com>
7648 * docs/design/draft-latency.txt:
7652 * gst/gststructure.c:
7656 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
7658 * tests/check/.cvsignore:
7659 Ignore test-registry.xml as well.
7661 2007-01-09 Wim Taymans <wim@fluendo.com>
7663 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
7664 unref data at the end when we are done with the pad.
7666 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
7668 * docs/gst/gstreamer-sections.txt:
7669 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
7670 (init_post), (gst_deinit), (gst_update_registry):
7672 API: add gst_update_registry() (#391296).
7674 * tests/check/Makefile.am:
7675 * tests/check/gst/gstregistry.c:
7676 * tests/check/gst/.cvsignore:
7677 Simple unit test for the above.
7679 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
7681 * gst/gstregistry.c: (gst_registry_scan_path_level):
7682 Plugin extension on HP-UX is .sl, add that to the list of approved
7683 plugin extensions (see #393796).
7685 * tests/check/gst/gstpad.c: (GST_START_TEST):
7686 ulong => gulong. Fixes compilation with HP-UX compiler.
7688 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7689 Fix compilation if valgrind headers are not available.
7691 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
7693 * win32/common/libgstreamer.def:
7694 Add new exported function.
7695 * win32/vs6/libgstbase.dsp:
7696 Add gstdataqueue.c to the build.
7697 * win32/vs6/libgstcoreelements.dsp:
7698 Add gstmultiqueue.c to the build.
7700 2007-01-06 Andy Wingo <wingo@pobox.com>
7702 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
7703 activate_pull(), providing for a way to specialize the process of
7704 spawning a thread to pull on the sink pad. There is a default
7707 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
7708 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
7709 (gst_base_sink_init): Renamed pad activation functions (inserting
7710 "_pad" in their names). Refactor to use the new activate_pull
7711 vmethod, as appropriate.
7712 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
7713 default activate_pull function to start a task pulling from the
7714 sink pad, as before.
7716 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
7717 on the pads if necessary, as in push()/chain(). Update docs.
7718 Shouldn't affect existing pull() usage as it is currently only
7719 being used on buffers without caps.
7721 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
7723 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
7725 Call g_thread_init() first thing in gst_init() / gst_check_init().
7726 When initialisation is done via gst_init_get_option_group() and
7727 GOption parsing, issue a warning if the GLib thread system has not
7728 been initialised yet by the time gst_init_get_option_group() is
7729 called, as it's quite likely other GLib functions such as
7730 g_option_context_new() have been called already then, and
7731 g_thread_init() must be called before any other GLib function. The
7732 application in question must be fixed in that case, since memory
7733 corruption might happen otherwise.
7734 We issue the warning because even if the GLib folks decide to work
7735 around the problem on their end in future, this is still an issue
7736 with all GLib versions >= 2.10.0, so we should warn until we depend
7737 on a GLib version we know to be safe.
7738 Update documentation as well.
7741 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
7743 * tools/gst-inspect.c: (main):
7744 * tools/gst-launch.c: (main):
7745 * tools/gst-typefind.c: (main):
7746 * tools/gst-xmlinspect.c: (main):
7747 Call g_thread_init() really really early, before any other GLib
7748 function (see #342564 and recent discussion on gtk-devel-list).
7750 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
7752 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
7754 * gst/gst_private.h:
7755 * gst/gstconfig.h.in:
7757 On win32, all the __declspec stuff for symbol exporting is
7758 apparently only needed with MSVC, but doesn't work with MingW.
7759 Fixes compilation with MingW and #391909.
7761 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
7763 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
7764 Change some GST_ERROR_OBJECT that aren't really errors to
7765 GST_WARNING_OBJECT in order to reduce terminal spam.
7767 2007-01-04 Stefan Kost <ensonic@users.sf.net>
7769 * tests/check/Makefile.am:
7770 disable test again, as there seem to be still race problems
7772 2007-01-04 Stefan Kost <ensonic@users.sf.net>
7774 * tests/check/Makefile.am:
7775 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
7776 (GST_START_TEST), (queue_suite):
7777 enable queue test again, add tests for the leaky behaviour
7779 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
7782 * tests/examples/Makefile.am:
7783 Compile adapter test/example only if the required headers are
7784 available (fixes #391915).
7786 2007-01-01 David Schleef <ds@schleef.org>
7789 Restore the previous signal handler for SIGSEGV instead of
7790 setting to default, since we may have stolen it away from
7791 someone. (i.e., Mono)
7793 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
7795 * docs/random/draft-missing-plugins.txt:
7796 Some small additions and clarifications.
7798 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
7800 * gst/gstregistryxml.c: (gst_registry_save_escaped):
7801 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
7802 since that can lead to random memory corruptions and crashes
7803 (may or may not be related to #383244, #386711, and #386711).
7805 2006-12-21 Stefan Kost <ensonic@users.sf.net>
7807 * tests/check/.cvsignore:
7808 * tests/check/Makefile.am:
7809 sync .cvsignome and CLEANFILES
7811 2006-12-21 Stefan Kost <ensonic@users.sf.net>
7813 * tests/check/Makefile.am:
7816 2006-12-21 Stefan Kost <ensonic@users.sf.net>
7818 * docs/design/part-states.txt:
7819 two tiny additional comments
7821 * gst/gststructure.c:
7824 * tests/check/Makefile.am:
7825 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
7827 disable test for now, unless it gets fixed
7829 2006-12-21 Stefan Kost <ensonic@users.sf.net>
7831 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
7833 fix race in underrun test
7835 2006-12-21 Stefan Kost <ensonic@users.sf.net>
7837 * tests/check/elements/.cvsignore:
7840 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
7842 try to narrow test failure
7844 2006-12-21 David Schleef <ds@schleef.org>
7846 * plugins/elements/gstfakesrc.c:
7847 Use g_random_int_range(), since it produces better random
7848 numbers in a range than almost-correct floating point code.
7850 2006-12-21 Stefan Kost <ensonic@users.sf.net>
7852 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
7853 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
7854 (gst_check_teardown_sink_pad):
7855 do not automatically (de)activate pads
7857 * tests/check/Makefile.am:
7858 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
7859 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
7860 add new, yet simple tests for queue
7862 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
7863 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
7864 * tests/check/elements/filesrc.c: (cleanup_filesrc),
7866 * tests/check/elements/identity.c: (cleanup_identity):
7867 consistent pad (de)activation
7869 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
7871 Patch by: Sebastian Dröge <slomo ubuntu com>
7873 * libs/gst/base/gstcollectpads.c:
7874 Fix two doc typos (#387866).
7876 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
7878 * docs/manual/advanced-dparams.xml:
7879 Fix typo (g_object_control_properties() doesn't exist).
7881 2006-12-19 Edward Hervey <edward@fluendo.com>
7883 * gst/gstsegment.c: (gst_segment_set_seek):
7884 Fine tune the cases where the segment start/stop values are really
7886 * tests/check/gst/gstsegment.c: (GST_START_TEST):
7887 Add tests for the return values of gst_segment_set_seek().
7889 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
7894 * plugins/elements/gstqueue.c: (gst_queue_class_init),
7896 Fix incorrect documentation and flesh it out a bit more.
7897 Set default values for the max properties on the GParamSpec as well,
7898 so it shows up correctly in gst-inspect.
7900 2006-12-18 Stefan Kost <ensonic@users.sf.net>
7902 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
7903 Correct docs of queue, add more detail and crosslink it more.
7905 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
7907 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7908 Print additional debug info when the stream isn't perfectly
7909 timestamped; don't try to use invalid durations.
7911 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
7913 * docs/design/Makefile.am:
7914 Dist new design docs.
7916 2006-12-16 Wim Taymans <wim@fluendo.com>
7918 Patch by: Sjoerd Simons <sjoerd at luon dot net>
7920 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
7921 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
7922 (gst_collect_pads_stop), (gst_collect_pads_event),
7923 (gst_collect_pads_chain):
7924 * libs/gst/base/gstcollectpads.h:
7925 Add refcounting to the collectpads data so we can track when it's safe
7926 to free the data. Fixes #383382.
7928 2006-12-15 Wim Taymans <wim@fluendo.com>
7930 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
7931 (gst_collect_pads_remove_pad):
7932 Automatically activate/deactivate pads when they are added to a
7933 started/stoped collectpads.
7935 2006-12-15 Wim Taymans <wim@fluendo.com>
7937 * gst/gstelement.c: (gst_element_add_pad):
7938 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
7939 * gst/gstpad.c: (gst_pad_init):
7940 Set pads to FLUSHING when they are created. Check, warn and fix when a
7941 demuxer adds an inactive pad to itself when running. Fixes #339326.
7943 2006-12-15 Wim Taymans <wim@fluendo.com>
7945 * gst/gstelement.c: (gst_element_class_init),
7946 (gst_element_default_send_event), (gst_element_send_event),
7947 (gst_element_default_query), (gst_element_query):
7948 Expose default element send_event and query handling as vmethods that
7949 subclasses can chain up to.
7951 2006-12-15 Wim Taymans <wim@fluendo.com>
7953 * gst/gstelement.c: (gst_element_set_state_func):
7954 Small documentation fixes.
7956 2006-12-15 Wim Taymans <wim@fluendo.com>
7958 * docs/design/draft-latency.txt:
7959 Checked in draft for handling latency in pipelines.
7961 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
7965 * gstreamer.spec.in:
7968 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
7970 * gst/gst.c: (init_pre), (init_post):
7971 init_pre() and init_post() might be called via our GOptionGroup or
7972 from gst_init(), and we should skip both of them if we've already
7973 been initialised, otherwise we will init some things twice or add
7974 two default log functions.
7976 2006-12-13 Edward Hervey <edward@fluendo.com>
7978 * docs/manual/basics-bus.xml:
7979 No, gst_main_loop does not exist. Its g_main_loop.
7980 Discovered by somebody who abused the copy-paste technique of coding :)
7982 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
7984 * gst/gstghostpad.c:
7985 Log ghostpad debug stuff to the GST_PADS category as well rather
7986 than just to the default category.
7988 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
7991 * gst/gst.c: (init_pre):
7992 Add some basic system details such as OS and architecture
7993 to the debug output if possible, courtesy of uname().
7995 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
7997 * docs/gst/running.xml:
7998 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
7999 environment variables.
8001 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
8003 * tests/check/gst/gstbin.c: (GST_START_TEST):
8004 It is acceptable to have a refcount of 2 or 3 at this point in the
8005 test, because the pipeline might be just posting its state_change
8006 message. The next line then waits for that message to appear using
8007 bus_poll, so that should be fine too.
8009 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
8011 * gst/gst.c: (ensure_current_registry_forking):
8012 Ignore EINTR when reading from the child registry pipe.
8013 Explicitly ignore the return value from close, since it makes no
8016 * gst/gstminiobject.c: (gst_mini_object_ref),
8017 (gst_mini_object_unref):
8018 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
8020 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
8021 When removing cached plugins, remove their features too, so they're
8022 not visible after they've disappeared.
8024 * gst/gstutils.c: (prepare_link_maybe_ghosting):
8025 In the unlikely case that we are linking pads with no parents, don't
8026 crash trying to get the non-existent parent bin.
8028 * gst/parse/grammar.y:
8029 Output debug in the PIPELINE category
8031 2005-03-08 Wim Taymans <wim@fluendo.com>
8033 Patch by: René Stadler <mail at renestadler dot de>
8035 * gst/gstclock.c: (gst_clock_new_periodic_id):
8036 Reject invalid clock times for interval of periodic ids.
8039 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
8041 * gst/gstelementfactory.c: (gst_element_factory_create):
8042 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
8043 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
8044 * tools/gst-inspect.c: (print_element_info):
8045 Fix refcounting of gst_plugin_feature_load to match the docs.
8048 2006-12-07 Wim Taymans <wim@fluendo.com>
8050 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
8051 (gst_base_sink_get_position):
8052 Improve debugging of events.
8054 2006-12-07 Wim Taymans <wim@fluendo.com>
8056 Patch by: René Stadler <mail at renestadler dot de>
8058 * gst/gstclock.c: (gst_clock_id_wait):
8059 Make period ids add the interval to the origial requested time instead
8060 of the possibly updated time which can be wrong when there are multiple
8061 waiters for the same id. Fixes #382592.
8063 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
8064 (gst_system_clock_id_wait_jitter_unlocked),
8065 (gst_system_clock_id_wait_jitter):
8066 Fix restart in the async notify thread when an async entry is added to
8067 the front of the list. Fixes #381492.
8069 * tests/check/gst/gstsystemclock.c: (store_callback),
8070 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
8071 Added test for multiple async waits.
8072 Added test for async wait order.
8074 2006-12-07 Wim Taymans <wim@fluendo.com>
8076 * gst/gstbin.c: (gst_bin_query):
8077 Add some more docs about the POSITION query.
8079 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
8082 Bump version nano - back to CVS.
8084 === release 0.10.11 ===
8086 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
8089 releasing 0.10.11, "Love never runs on time"
8091 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
8093 * win32/common/libgstbase.def:
8094 * win32/common/libgstreamer.def:
8095 * win32/vs8/libgstbase.vcproj:
8096 * win32/vs8/libgstcoreelements.vcproj:
8097 * win32/vs8/libgstreamer.vcproj:
8098 Fix compilation on win32 under VS8
8099 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
8100 Partially fixes #381175
8102 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
8104 * gst/gstvalue.c: (gst_value_compare_fraction):
8105 If someone is foolish enough to compare 2 fractions with denominator =
8106 0, return UNORDERED rather than aborting.
8108 2006-11-28 Edward Hervey <edward@fluendo.com>
8110 * libs/gst/base/Makefile.am:
8111 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
8112 (gst_data_queue_base_init), (gst_data_queue_class_init),
8113 (gst_data_queue_init), (gst_data_queue_new),
8114 (gst_data_queue_cleanup), (gst_data_queue_finalize),
8115 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
8116 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
8117 (gst_data_queue_is_empty), (gst_data_queue_is_full),
8118 (gst_data_queue_set_flushing), (gst_data_queue_push),
8119 (gst_data_queue_pop), (gst_data_queue_drop_head),
8120 (gst_data_queue_set_property), (gst_data_queue_get_property):
8121 * libs/gst/base/gstdataqueue.h:
8122 New GstDataQueue object for threadsafe queueing. Most useful for
8123 elements that need some queueing functionnality.
8124 * docs/libs/gstreamer-libs-docs.sgml:
8125 * docs/libs/gstreamer-libs-sections.txt:
8126 Insert documentation for GstDataQueue
8127 * plugins/elements/Makefile.am:
8128 * plugins/elements/gstelements.c:
8129 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
8130 (gst_multi_queue_class_init), (gst_multi_queue_init),
8131 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
8132 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
8133 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
8134 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
8135 (gst_multi_queue_loop), (gst_multi_queue_chain),
8136 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8137 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
8138 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
8139 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
8140 (wake_up_next_non_linked), (compute_next_non_linked),
8141 (single_queue_overrun_cb), (single_queue_underrun_cb),
8142 (single_queue_check_full), (gst_single_queue_new):
8143 * plugins/elements/gstmultiqueue.h:
8144 New multiqueue element, using GstDataQueue. Used for queuing multiple
8146 Closes #344639 and #347785
8148 2006-11-22 Stefan Kost <ensonic@users.sf.net>
8150 * docs/pwg/advanced-types.xml:
8151 add more missing type details
8153 * tools/gst-run.c: (main):
8154 remove unused variable
8156 2006-11-21 Stefan Kost <ensonic@users.sf.net>
8158 * docs/libs/Makefile.am:
8159 * docs/libs/gstreamer-libs.types:
8160 add types of base classes to enable gobject specific stuff in the docs
8162 * docs/random/ensonic/embedded.txt:
8163 more ideas about isolating platform specific things
8165 2006-11-20 Wim Taymans <wim@fluendo.com>
8167 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
8169 * libs/gst/check/gstcheck.h:
8170 Fix compilation and running against 0.9.4. Fixes #377332.
8172 2006-11-20 Wim Taymans <wim@fluendo.com>
8174 * gst/gstsegment.c: (gst_segment_set_seek),
8175 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
8176 (gst_segment_to_running_time):
8177 Fix boundary checking in to_running_time() and to_stream_time().
8180 * tests/check/gst/gstsegment.c: (GST_START_TEST):
8181 stream and running time can now be calculated for the complete
8184 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
8186 * gst/gstpad.c: (gst_pad_push_event):
8187 Can't access event structure after giving away ownership of
8190 2006-11-15 Stefan Kost <ensonic@users.sf.net>
8192 * docs/random/ensonic/embedded.txt:
8193 * docs/random/ensonic/profiling.txt:
8194 * docs/random/ensonic/receipies.txt:
8197 2006-11-13 Wim Taymans <wim@fluendo.com>
8199 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
8202 Fix documentation for gst_pad_dispatcher. Fixes #374475.
8204 2006-11-13 Wim Taymans <wim@fluendo.com>
8206 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
8208 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
8209 Store new length in segment duration so we don't keep on calling the
8210 potentially expensize get_size() call. Fixes #370865.
8212 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
8214 Patch by: Sergey Scobich <sergey.scobich at gmail com>
8216 * win32/common/libgstreamer.def:
8217 Add two missing symbols (#366492).
8219 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
8221 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
8222 (gst_adapter_take_buffer):
8223 Fix format string to use all its arguments.
8224 Remove useless >= check on a guint
8226 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
8228 * tests/examples/adapter/.cvsignore:
8229 Ignore build file as commanded by the build-bot
8231 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
8233 * tests/examples/adapter/Makefile.am:
8234 * tests/examples/adapter/adapter_test.c: (run_test_take),
8235 (run_test_take_buffer), (run_tests), (main):
8237 Add new files from the previous commit
8239 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
8243 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
8244 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
8245 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
8246 * libs/gst/base/gstadapter.h:
8247 * tests/check/libs/adapter.c: (create_and_fill_adapter),
8248 (GST_START_TEST), (gst_adapter_suite):
8249 * tests/examples/Makefile.am:
8250 Do some optimisation work in GstAdapter to avoid copies in more cases.
8251 It could still do slightly better by merging buffers when
8252 gst_buffer_is_span_fast is true, but is already faster.
8254 Also, avoid traversing a single-linked list to append each incoming
8255 buffer inside the adapter.
8257 Add simple test app that times the adapter behaviour in different
8258 situations, and extend the unit test to check that bytes enter and
8259 exit the adapter in their original order.
8261 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
8263 * docs/random/draft-missing-plugins.txt:
8264 Update: use element message instead of adding a new message
8265 type to the core; don't provide GStreamer API to initiate the
8266 plugin download, just provide API to compose the strings needed
8267 and let an external libgimmestuff handle the rest.
8269 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
8271 * tools/gst-inspect.c: (print_element_properties_info):
8272 Print a string instead of 'unknown type' for GValueArray properties
8274 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
8276 * docs/random/draft-missing-plugins.txt:
8279 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
8281 * tests/examples/typefind/typefind.c: (type_found), (main):
8282 Make typefind element example work again (#371894); add a
8285 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
8287 * docs/random/draft-missing-plugins.txt:
8288 Commit initial draft about how to deal with missing plugins,
8289 needs work (API too).
8291 2006-11-07 Stefan Kost <ensonic@users.sf.net>
8293 * docs/pwg/advanced-types.xml:
8294 documents the new caps elements (see #363118)
8296 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
8298 * gst/gstplugin.c: (gst_plugin_load_file):
8299 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
8300 (gst_file_src_map_region), (gst_file_src_start):
8301 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
8302 (gst_file_index_commit):
8303 Use g_strerror() instead of strerror() - we want UTF-8.
8305 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
8307 Patch by: Peter Kjellerstedt <pkj at axis com>
8309 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
8310 Another printf fix (#371493).
8312 2006-11-06 Stefan Kost <ensonic@users.sf.net>
8314 * tests/check/gst/gsttag.c:
8315 relicence (okay with author=company)
8317 2006-11-06 Stefan Kost <ensonic@users.sf.net>
8319 * gst/gstpad.c: (gst_pad_event_default_dispatch),
8320 (gst_pad_push_event):
8321 Enhance debug and improve docs
8326 2006-11-06 Stefan Kost <ensonic@users.sf.net>
8328 * docs/random/ensonic/distributed.txt:
8329 * docs/random/ensonic/profiling.txt:
8332 2006-11-06 Stefan Kost <ensonic@users.sf.net>
8334 * docs/gst/gstreamer-sections.txt:
8335 add new API and fix the build
8337 * gst/gstbin.c: (gst_bin_recalc_state):
8338 * gst/gstelement.c: (gst_element_message_full),
8339 (gst_element_get_state_func), (gst_element_set_state_func):
8340 use new API and improve logging
8342 * gst/gstutils.c: (gst_element_state_change_return_get_name):
8344 API: add function to get StateChangereturn names to improve logs
8346 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
8348 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8349 I'm considering shooting the next person to put strerror stuff
8350 in the translateable part of the message.
8352 2006-11-03 Wim Taymans <wim@fluendo.com>
8354 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
8355 Get the type and printf conversion specifiers right.
8357 2006-11-03 Wim Taymans <wim@fluendo.com>
8359 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
8361 * gst/gstpad.c: (gst_pad_init), (pre_activate),
8362 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
8363 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
8364 Some small cleanups. Improve debugging.
8366 Signal all waiting threads with a broadcast instead of just one.
8369 2006-11-03 Wim Taymans <wim@fluendo.com>
8371 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
8372 (gst_fd_src_create):
8374 Only update fd when it's different from the old.
8376 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
8378 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
8379 Printf fixes for PPC/OSX, take two (#369366).
8381 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
8383 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
8385 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
8386 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
8387 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
8388 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
8389 don't cast to long long for portability reasons, but use
8390 GLib's types instead.
8392 2006-10-30 Michael Smith <msmith@fluendo.com>
8394 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
8395 Get the arguments to lseek() the right way around.
8398 2006-10-30 Wim Taymans <wim@fluendo.com>
8400 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
8403 _declspec should be __declspec (two underscores, not one). Fixes 366572.
8405 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
8407 Patch by: Kjartan Maraas <kmaraas at gnome org>
8409 * docs/design/part-MT-refcounting.txt:
8410 * docs/random/wtay/capsnego2-docs:
8413 Typo fixes (#366212).
8415 2006-10-28 Wim Taymans <wim@fluendo.com>
8417 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
8420 * win32/common/libgstbase.def:
8421 * win32/common/libgstreamer.def:
8422 * win32/vs8/libgstbase.vcproj:
8423 * win32/vs8/libgstcontroller.vcproj:
8424 Add needed entries in .def files.
8426 Rearrange def files in vs8 solutions. Fixes #366286.
8428 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
8430 * win32/common/gstconfig.h:
8431 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
8432 hand-made win32 gstconfig.h. Fixes #366321.
8434 2006-10-27 Wim Taymans <wim@fluendo.com>
8436 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
8437 (gst_ghost_pad_new_full):
8438 Make acceptcaps return TRUE when we don't have a target, just like
8441 2006-10-27 Wim Taymans <wim@fluendo.com>
8443 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
8444 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
8446 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
8448 * gst/gststructure.c: (gst_structure_id_set_value):
8449 If someone tries to set a non-UTF8 string field on a structure,
8450 don't just print a warning, but also ignore the request and do
8451 not change/add that field to the structure.
8453 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
8456 2006-10-25 David Schleef <ds@schleef.org>
8459 g_hash_table_insert() needs a cast to a non-const pointer duh.
8461 2006-10-25 David Schleef <ds@schleef.org>
8465 Change name parameter of _gst_debug_register_funcptr to const
8466 to reflect the constness of its use in the function as well
8467 as to quiet a gcc warning.
8469 2006-10-25 Edward Hervey <edward@fluendo.com>
8471 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
8472 Don't push the buffer if it's empty.
8475 2006-10-24 Wim Taymans <wim@fluendo.com>
8480 * libs/gst/base/gstbasetransform.c:
8481 (gst_base_transform_sink_eventfunc):
8482 Debug segment values *after* updating them as this is more
8485 2006-10-23 Wim Taymans <wim@fluendo.com>
8487 * docs/design/part-events.txt:
8490 * docs/design/part-block.txt:
8491 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
8492 (gst_pad_push_event):
8493 Revert BLOCKING patch, it tries to be smart without really having a
8494 clear idea what or how. So, now we discard all FLUSHING events again on
8495 a blocking pad. Should fix gnonlin again.
8497 2006-10-23 Wim Taymans <wim@fluendo.com>
8499 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
8501 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
8502 (gst_base_src_start), (gst_base_src_activate_push):
8503 Make sure size is always initialized. Fixes #364388.
8505 2006-10-20 Stefan Kost <ensonic@users.sf.net>
8507 * docs/random/ensonic/distributed.txt:
8508 add some ideas about doing distributed processing
8510 * docs/random/ensonic/profiling.txt:
8511 get_rusage look promising
8513 2006-10-18 Stefan Kost <ensonic@users.sf.net>
8515 * docs/manual/basics-helloworld.xml:
8516 Add a cast in example to fix compile warning
8518 2006-10-18 Wim Taymans <wim@fluendo.com>
8520 * gst/gstsegment.c: (gst_segment_set_last_stop),
8521 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
8522 Relax arg checking again, -1 is allowed.
8524 2006-10-18 Wim Taymans <wim@fluendo.com>
8526 * gst/gstsegment.c: (gst_segment_set_last_stop),
8527 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
8528 _set_last_stop() must be with a value != -1
8529 A _TYPE_SET to -1 means seek to 0.
8530 Calc last_stop correctly for negative rates.
8531 Make sure we work with positive durations when updating a segment.
8533 2006-10-18 Wim Taymans <wim@fluendo.com>
8535 * docs/design/part-live-source.txt:
8539 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
8542 Add an explicit cast to GstBuffer** to keep old code that added an
8543 explicit cast to GstMiniObject** for gst_mini_object_replace()
8544 compiling without warning.
8546 2006-10-18 Stefan Kost <ensonic@users.sf.net>
8548 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
8549 check for validity of dates
8551 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
8553 * docs/gst/gstreamer-sections.txt:
8554 Forgot this one, makes gtk-doc shut up.
8556 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
8558 Patch by: Peter Kjellerstedt <pkj at axis com>
8561 Don't define xmlNodePtr to gpointer if the core was built with
8562 --disable-loadsave and --disable-registry, this will break
8563 applications that want to use libxml2 but are buildling against a
8564 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
8565 instead so we don't have to mess with the libxml2 namespace
8568 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
8571 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
8572 type-punned pointer warnings.
8574 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
8577 Add casts to the correct return type to state <=> state transition
8580 2006-10-16 Stefan Kost <ensonic@users.sf.net>
8582 * docs/design/part-live-source.txt:
8583 describe howto handle latency
8585 * docs/random/ensonic/profiling.txt:
8588 * tools/gst-plot-timeline.py:
8589 fix log parsing for solaris, remove unused function
8591 2006-10-16 Wim Taymans <wim@fluendo.com>
8593 * docs/design/part-trickmodes.txt:
8595 Update some docs regarding reverse playback.
8597 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
8599 Patch by: Marcus Granado <mrc dot gran at gmail com>
8601 * win32/vs8/grammar.vcproj:
8602 Error out with a warning if glib-genmarshal.exe is not in path,
8603 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
8605 2006-10-13 Wim Taymans <wim@fluendo.com>
8607 * gst/gstsegment.c: (gst_segment_set_seek):
8608 When seeking to stop -1, set last_stop (current position) to the
8609 duration of the segment.
8611 2006-10-13 Wim Taymans <wim@fluendo.com>
8614 Clarify _NO_PREROLL a bit more.
8619 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
8620 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
8621 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
8622 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
8623 due to wrong locking order. Fixes #361769.
8624 Remove some redundant/misplaced checks in pad_block.
8626 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
8627 For negative rates, count backwards from the duration.
8629 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
8631 * gst/gsterror.c: (_gst_library_errors_init):
8632 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
8633 up with something better).
8635 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
8637 * win32/vs6/libgstreamer.dsp:
8638 * win32/vs7/libgstreamer.vcproj:
8639 * win32/vs8/libgstreamer.vcproj:
8640 Don't reference glib-compat.c which is currently not used and not
8641 disted; add gstquark.c which was recently added. Fixes #361730.
8643 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
8645 * win32/common/libgstbase.def:
8646 * win32/common/libgstcontroller.def:
8647 * win32/common/libgstreamer.def:
8648 Add gst_caps_merge() and a bunch of other recently-added functions.
8651 2006-10-11 Wim Taymans <wim@fluendo.com>
8653 * docs/plugins/gstreamer-plugins.args:
8654 * docs/plugins/inspect/plugin-coreelements.xml:
8655 * docs/plugins/inspect/plugin-coreindexers.xml:
8656 Update element args.
8658 * gst/gstsystemclock.c:
8659 Small comment update.
8661 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
8662 (gst_tee_request_new_pad), (gst_tee_release_pad),
8663 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
8664 (gst_tee_sink_activate_pull):
8665 * plugins/elements/gsttee.h:
8667 Add default property defines.
8668 Implement release pad function.
8669 Give properties better blubs etc.
8670 Activate pads before adding them to a running tee.
8671 Do simple buffer_alloc on the first requested pad.
8672 Post error when activation fails.
8674 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
8676 * gst/gst.c: (ensure_current_registry_forking):
8677 Check return value of write() to make compiler happy.
8679 2006-10-11 Wim Taymans <wim@fluendo.com>
8681 Patch by: Sjoerd Simons <sjoerd at luon dot net>
8683 * plugins/elements/gstqueue.c: (gst_queue_chain):
8684 Recheck queue filledness after signalling the overrun when we're about
8685 to leak downstream because we released the lock when emitting the signal
8686 and the queue could be empty again. Fixes #352345.
8688 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
8690 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
8691 Fix refcounting here too, just like we did for _new_valist() a few
8692 days ago (#357180) (thanks to René Stadler). Also remove all those
8693 'Since: 0.9' from the gtk-doc blobs.
8695 * tests/check/libs/controller.c: (controller_refcount_new_list),
8696 (gst_controller_suite):
8697 Unit test for the above.
8699 2006-10-10 Wim Taymans <wim@fluendo.com>
8701 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
8703 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8704 (gst_pad_save_thyself):
8706 Write pad direction in XML output. Fixes #345496.
8708 2006-10-10 Wim Taymans <wim@fluendo.com>
8710 Patch by: René Stadler <mail at renestadler dot de>
8712 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
8713 (gst_controller_new_list), (_gst_controller_dispose),
8714 (_gst_controller_finalize), (_gst_controller_class_init):
8715 Take ref to controlled object so that it cannot disappear.
8718 2006-10-10 Wim Taymans <wim@fluendo.com>
8720 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
8721 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
8722 (gst_check_teardown_sink_pad):
8723 Activate/deactivate pads in setup/teardown respectively.
8725 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8727 Patch by: Josep Torra Valles <josep@fluendo.com>
8730 Cast values when making gstenumtypes.h. This pacifies Forte
8731 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
8734 2006-10-09 Wim Taymans <wim@fluendo.com>
8736 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
8737 Rename some more @cur to @start to fix docs.
8739 * gst/gstsegment.c: (gst_segment_set_seek):
8741 time and start must always stay in sync as defined in design doc.
8743 * gst/gsttaglist.c: (gst_tag_list_is_empty):
8744 Rename param to fix docs.
8746 * tests/check/gst/gstsegment.c: (GST_START_TEST):
8747 Check that start and time are in sync.
8749 * tests/check/pipelines/parse-launch.c:
8750 (gst_parse_test_element_change_state):
8751 Activate pad before adding to the element.
8753 2006-10-09 Wim Taymans <wim@fluendo.com>
8755 * docs/design/part-qos.txt:
8760 Update seek event docs regarding negative rates.
8761 Rename @cur to @start.
8763 * gst/gstsegment.c: (gst_segment_set_seek):
8765 Update set_seek docs regarding negative rates.
8766 Correctly update last_stop to @stop when dealing with negative
8768 Rename @cur to @start.
8770 * tests/check/gst/gstpad.c: (GST_START_TEST):
8771 Activate pads before trying to use them.
8773 * tests/check/gst/gstsegment.c: (GST_START_TEST),
8774 (gst_segment_suite):
8775 Add simple check for segments and negative rates.
8777 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
8779 * gst/gsttaglist.c: (gst_tag_list_is_empty):
8781 * docs/gst/gstreamer-sections.txt:
8782 API: add gst_tag_list_is_empty() (#360467).
8784 * tests/check/gst/gsttag.c: (GST_START_TEST):
8787 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8790 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
8791 a value that doesn't fit on enumeration.
8793 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8795 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
8796 Remove local debugging system and use Gstreamer's instead.
8798 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8800 Patch by: Josep Torra Valles <josep@fluendo.com>
8802 * common/m4/gst-error.m4:
8803 Disable warning of statement not reached on Forte.
8805 Fix warning on Forte (value doesn't fit on enumeration).
8806 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
8807 Fix warning on Forte (value doesn't fit on enumeration).
8808 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
8809 DEBUG macro says it takes minimum of 2 args and so Forte
8810 complains about the use with just 1 arg.
8811 * plugins/elements/gstfdsink.c:
8812 * plugins/elements/gstfdsrc.c:
8813 * plugins/elements/gstfilesink.c:
8814 * plugins/elements/gstfilesrc.c:
8815 Use correct return type for the uri handler implementations.
8817 All these fix warnings in Forte. Fixes bug #360860.
8819 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
8822 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
8823 format string, so don't use G_GNUC_PRINTF for those versions.
8825 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
8827 * gst/gsttaglist.c: (gst_is_tag_list):
8829 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
8831 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
8832 Small test for the above.
8834 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
8837 Less tabs, more spaces.
8839 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
8842 Those two function declarations do actually belong there, revert
8843 commit from yesterday that turned them intro macros.
8845 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8847 Patch by: Josep Torra Valles <josep@fluendo.com>
8849 * gst/gst.c: (gst_init_get_option_group):
8850 Fix empty declaration and type mismatch.
8851 * gst/gstbin.c: (gst_bin_change_state_func):
8853 * gst/gstelement.c: (gst_element_continue_state),
8854 (gst_element_set_state_func), (gst_element_change_state),
8855 (gst_element_change_state_func):
8856 Fix type mismatches.
8857 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
8858 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
8859 Cast as appropriate.
8860 * gst/gstobject.c: (gst_class_signal_connect):
8861 Cast as appropriate. The function pointer parameter really
8862 has the wrong type but would break API if we change it.
8864 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
8865 order of including string.h.
8866 * gst/gstutils.c: (gst_element_state_get_name):
8867 Remove unreachable line.
8868 * gst/gstxml.c: (gst_xml_parse_doc):
8870 All these caught by Forte.
8872 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8874 Patch by: Josep Torra Valles <josep@fluendo.com>
8876 * common/m4/gst-error.m4:
8878 We need to disable warnings on Forte for empty declarations
8879 due to gst-indent adding ;s to lines that just use macros
8880 where the macro actually doesn't need a ; at end to end
8883 2006-10-06 Wim Taymans <wim@fluendo.com>
8885 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8886 (gst_file_sink_close_file), (gst_file_sink_event),
8887 (gst_file_sink_render):
8888 Add some FIXME for the NEWSEGMENT handling.
8890 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8892 * gst/parse/grammar.y:
8893 Remove static function gst_parse_element_lock as all it does
8894 is return. Looks like cruft from 0.8.
8896 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8898 Patch by: Josep Torra Valles <josep@fluendo.com>
8900 * common/m4/gst-error.m4:
8902 * libs/gst/net/Makefile.am:
8903 Fix a compilation issue with Forte on Solaris. inet_aton is in
8906 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
8908 * gst/gstpad.c: (pre_activate):
8909 * gst/gstregistry.c: (gst_registry_scan_path_level):
8910 * gst/gstregistryxml.c: (load_plugin):
8911 * libs/gst/controller/gstcontroller.c:
8912 (gst_controlled_property_set_interpolation_mode):
8913 * libs/gst/dataprotocol/dataprotocol.c:
8914 (gst_dp_packet_from_event_1_0):
8915 * libs/gst/net/gstnetclientclock.c:
8916 (gst_net_client_clock_observe_times):
8917 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
8920 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
8923 * docs/gst/gstreamer-sections.txt:
8924 * gst/gstconfig.h.in:
8927 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
8928 whether we can use G_GNUC_PRINTF in other header files and at
8929 least check the printf format/arguments of debug messages and
8930 GST_ELEMENT_ERROR messages when the printf extension is not
8932 Replace more tabs with spaces in gstinfo.h and remove two spurious
8933 function declarations in GST_DISABLE_DEBUG part with macros.
8935 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
8937 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
8938 More docs for the sync-message signal (mention that it is not
8939 emitted by default); log message structures of messages posted on
8942 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
8944 * gst/gst.c: (ensure_current_registry_forking):
8945 Use a pipe pair to receive status results from the forked child, and
8946 ignore the result from waitpid. Fixes #355499
8948 2006-10-02 Wim Taymans <wim@fluendo.com>
8950 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
8951 (gst_ghost_pad_suite):
8954 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
8957 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
8959 2006-10-02 Edward Hervey <edward@fluendo.com>
8961 * docs/design/part-block.txt:
8962 Further explain the use of flushing on blocked pads.
8963 * docs/gst/gstreamer-sections.txt:
8964 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
8965 (gst_pad_push_event):
8967 Added new GstPadFlag : GST_PAD_BLOCKING.
8968 Adds the notion of pads really blocking, which enables to properly
8969 handle FLUSH_START/FLUSH_STOP events on blocked pads.
8971 API: gst_pad_is_blocking()
8972 API: GST_PAD_IS_BLOCKING() macro
8973 API: GST_PAD_BLOCKING GstPadFlag
8975 2006-10-02 Wim Taymans <wim@fluendo.com>
8977 Patch by: mrcgran <mrc.gran at gmail dot com>
8979 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
8980 Filter the proxied caps against the padtemplate if we have one.
8982 * gst/gstquery.c: (gst_query_new_segment):
8983 Add include for gstinfo.h so that compilation with
8984 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
8986 2006-10-02 Wim Taymans <wim@fluendo.com>
8988 Patch by: Alessandro Decina <alessandro at nnva org>
8990 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
8991 (gst_file_sink_set_location), (gst_file_sink_open_file),
8992 (gst_file_sink_close_file), (gst_file_sink_event),
8993 (gst_file_sink_render):
8994 Set file to NULL when closing filesink so that we can set a new filename
8995 in READY. Fixes #358613.
8997 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
8999 Patch by: Alessandro Decina <alessandro at nnva org>
9001 * gst/gstevent.c: (_gst_event_copy):
9002 Fix gst_mini_object_make_writable() and gst_event_copy() for events
9003 with event structures by setting the parent refcount address of the
9004 copied structure to the address of the refcount member of the newly
9005 copied event rather than the address of the refcount member of the
9006 original event. Fixes #358737.
9008 * tests/check/gst/gstevent.c: (GST_START_TEST):
9009 Unit test for the above.
9011 2006-09-29 Stefan Kost <ensonic@users.sf.net>
9013 * docs/design/Makefile.am:
9014 Dist some more files.
9016 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
9018 * tests/check/libs/controller.c: (GST_START_TEST),
9019 (gst_controller_suite):
9020 Add test for the previous fix; add some more tests
9021 for correct refcounting behaviour; fix a few leaks
9022 in test cases; call gst_controller_init() at start
9025 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
9027 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
9028 (gst_controller_set_from_list):
9029 Don't g_return_val_if_fail() on timed values with invalid timestamps
9030 inside a critical section without unlocking the mutex. Spotted by
9031 René Stadler. (#357617)
9032 Also, fix up refcounting properly: when returning an existing
9033 controller, we should increase the reference only once and not
9034 once per property and when trying to control a property again
9035 we should also increase the refcount.
9037 2006-09-29 Wim Taymans <wim@fluendo.com>
9039 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9040 * libs/gst/net/gstnettimeprovider.c:
9041 (gst_net_time_provider_thread):
9042 Stop reading commands when EOF as well.
9044 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
9045 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
9046 * plugins/elements/gstidentity.c: (gst_identity_class_init):
9047 Unify description of the dump property.
9049 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
9051 * tests/examples/manual/.cvsignore:
9052 OK, so it's actually cvsignore that needs changing. Stop laughing.
9054 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
9056 * tests/examples/manual/Makefile.am:
9057 Gah, declare vars *before* using them
9059 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
9061 * gst/gst.c: (init_pre), (scan_and_update_registry),
9062 (ensure_current_registry_nonforking),
9063 (ensure_current_registry_forking), (ensure_current_registry),
9064 (init_post), (gst_debug_help), (gst_deinit):
9065 * gst/gst_private.h:
9066 * gst/gstregistry.c: (gst_registry_finalize),
9067 (gst_registry_remove_features_for_plugin_unlocked),
9068 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
9069 (gst_registry_scan_path),
9070 (_priv_gst_registry_remove_cache_plugins),
9071 (_priv_gst_registry_cleanup):
9072 * gst/gstregistry.h:
9073 Re-commit the registry changes, along with an extra fix:
9074 When a cached plugin is encountered at a different file path,
9075 update the stored path in the registry cache so that the parent
9076 process knows where it actually is now when it re-reads the registry
9077 cache. Fixes the thing that broke distcheck with the previous commit.
9079 * tests/check/Makefile.am:
9080 Clean up files named 'core' too when running make clean.
9082 * tests/examples/manual/Makefile.am:
9083 Set up a registry path for running these tests, and clean it properly
9086 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
9089 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
9090 want gmodule-no-export-2.0.pc instead so that we don't drag in
9091 --export-dynamic on every project that links to GStreamer.
9093 Also, make our export regex only match the start of symbols, rather
9094 than any symbol that contains '_gst' somewhere.
9096 * libs/gst/check/Makefile.am:
9097 The libgstcheck we build does however need export-dynamic, as it
9098 produces some symbols that don't match our _gst... style regex.
9101 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
9103 * gst/gst.c: (init_pre), (scan_and_update_registry),
9104 (ensure_current_registry_nonforking),
9105 (ensure_current_registry_forking), (ensure_current_registry),
9106 (init_post), (gst_debug_help), (gst_deinit):
9107 * gst/gst_private.h:
9108 * gst/gstregistry.c: (gst_registry_finalize),
9109 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
9110 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
9111 (_gst_registry_cleanup):
9112 * gst/gstregistry.h:
9113 Revert previous change until I figure out why it breaks distcheck.
9115 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
9117 * gst/gst.c: (init_pre), (scan_and_update_registry),
9118 (ensure_current_registry_nonforking),
9119 (ensure_current_registry_forking), (ensure_current_registry),
9120 (init_post), (gst_debug_help), (gst_deinit):
9122 Make init_pre and init_post take the full complement of GOptionFunc
9123 args so they can return useful GErrors. Make the registry updating
9126 Call _priv_gst_registry_remove_cache_plugins after scanning files to
9127 ensure that the registry we're about to write out doesn't contain
9128 stale information about old-deleted plugin files.
9130 Make _priv_gst_registry_remove_cache_plugins return a boolean so
9131 that deletion of plugin files is considered a registry change.
9133 * gst/gst_private.h:
9134 * gst/gstregistry.c: (gst_registry_finalize),
9135 (gst_registry_remove_features_for_plugin_unlocked),
9136 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
9137 (gst_registry_scan_path),
9138 (_priv_gst_registry_remove_cache_plugins),
9139 (_priv_gst_registry_cleanup):
9140 * gst/gstregistry.h:
9141 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
9142 by adding _priv prefix, so that they won't appear in the global
9143 symbol table. They still do atm though because of #318031. Move the
9144 prototypes to gst_private.h
9146 When removing a plugin, remove all features for that plugin too.
9149 2006-09-27 Wim Taymans <wim@fluendo.com>
9151 * docs/random/moving-plugins:
9152 Make it clear that the "compiled-in descriptions" really mean
9153 the element details.
9155 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9156 (gst_base_sink_wait_preroll):
9159 * docs/libs/gstreamer-libs-sections.txt:
9160 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
9161 (gst_base_src_get_range), (gst_base_src_activate_push):
9162 * libs/gst/base/gstbasesrc.h:
9163 Added function to block while waiting for PLAYING, this function
9164 is used by live sources that block on the clock.
9165 API: gst_base_src_wait_playing()
9167 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
9169 Patch by: Peter Kjellerstedt <pkj at axis com>
9172 gst-element-check.m4 is generated and should therefore be
9173 copied from the build dir rather than the source dir (#357593).
9174 'make distcheck' hasn't noticed this because we were disting
9175 the file as well, so stop doing that.
9177 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
9179 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
9180 Add some tests for gst_caps_intersect().
9182 * tools/gst-launch.c: (event_loop):
9183 Print all buffering percentages we get, even the 100% one.
9185 2006-09-26 Wim Taymans <wim@fluendo.com>
9187 * tools/gst-inspect.c: (print_element_properties_info),
9188 (print_signal_info):
9189 Fix printing of flags to match the look of enums.
9191 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
9193 * gst/gstelementfactory.c:
9194 Fix typo in docs blurb.
9196 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
9198 * gst/gsturi.c: (search_by_entry):
9199 Don't assert/crash here if a uri handler doesn't return any
9200 supported protocols. The list of protocols could be generated
9201 dynamically at runtime or at plugin registration, and an error
9202 in the underlying library shouldn't be fatal (#353301).
9204 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
9207 Fix warning if HAVE_PRINTF_EXTENSION is undefined
9208 (spotted by Peter Kjellerstedt).
9210 2006-09-23 Wim Taymans <wim@fluendo.com>
9212 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
9214 * libs/gst/base/gstbasesrc.c:
9215 (gst_base_src_default_check_get_range), (gst_base_src_start),
9216 (gst_base_src_activate_push), (gst_base_src_activate_pull),
9217 (gst_base_src_change_state):
9218 Match _start/_stop calls in the activate functions. Remove redundant
9219 _stop call from the state change function. Fixes #356910.
9220 Turn failure DEBUG into ERROR.
9222 2006-09-22 Wim Taymans <wim@fluendo.com>
9224 * docs/design/part-buffering.txt:
9225 * gst/gstmessage.c: (gst_message_new_buffering),
9226 (gst_message_parse_buffering):
9227 Update docs about buffering.
9229 * docs/design/part-trickmodes.txt:
9232 2006-09-22 Stefan Kost <ensonic@users.sf.net>
9234 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
9235 (gst_controller_new_list):
9236 Ref instances when returning them again (fixes #357180)
9238 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
9240 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
9241 Don't forget to release proxy lock when there's an error.
9243 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
9246 Add extra initialisers for Caps things, to fix some plugin warnings
9249 2006-09-18 Wim Taymans <wim@fluendo.com>
9251 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
9252 Also set template on the internal pad so that a getcaps from the
9253 target pad returns the template caps.
9255 2006-09-18 Wim Taymans <wim@fluendo.com>
9257 * gst/gstelement.c: (gst_element_post_message),
9258 (gst_element_dispose):
9259 Use _DEBUG_OBJECT some more.
9261 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9264 * tools/gst-launch.c: (main):
9265 If the toplevel element is not a GstPipeline, it must be put in a
9266 pipeline so that a bus and clock is selected.
9268 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
9270 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
9271 JITTER, RATE, and LATENCY query should be handled by the
9272 default case and not by the CONVERT query code.
9274 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
9276 * gst/gstformat.c: (gst_format_register):
9277 Fix locking order (must take lock before using n_values).
9279 * gst/gstvalue.c: (gst_value_serialize_enum),
9280 (gst_value_deserialize_enum_iter_cmp),
9281 (gst_value_deserialize_enum):
9282 Fix serialisation/deserialisation of custom registered GstFormats.
9284 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9285 Unit test for custom format serialisation/deserialisation.
9287 2006-09-17 Stefan Kost <ensonic@users.sf.net>
9289 * docs/pwg/building-boiler.xml:
9290 * plugins/elements/gstcapsfilter.c:
9291 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
9294 2006-09-16 Edward Hervey <edward@fluendo.com>
9296 * libs/gst/base/gstbasetransform.c:
9297 (gst_base_transform_buffer_alloc):
9298 Check if requested caps are the same as the sinks caps IF
9299 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
9301 This fixes the renegotiation issues stated in #352827.
9303 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
9306 * docs/manual/advanced-autoplugging.xml:
9307 * tests/examples/Makefile.am:
9308 * tests/examples/manual/.cvsignore:
9309 * tests/examples/manual/Makefile.am:
9310 * tests/examples/manual/extract.pl:
9311 Extract the manual examples again like we used to do.
9314 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
9316 * win32/common/config.h:
9319 2006-09-16 Stefan Kost <ensonic@users.sf.net>
9322 Documents how to receive errors.
9324 2006-09-15 Wim Taymans <wim@fluendo.com>
9326 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
9327 (event_loop), (main):
9328 Added some comments here and there.
9329 Post an application message when an interrupt is caught instead of doing
9330 an uncontrolled state change.
9331 Clean up the event loop.
9332 Handle buffering messages, pause/resume the pipeline.
9333 Make shutdown because of an interrupt more reliable.
9335 2006-09-15 Wim Taymans <wim@fluendo.com>
9337 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9338 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
9339 (gst_base_sink_preroll_object):
9340 Make sure that our internal state is correct when we commit our state
9341 asynchronously. This solves a race where a state change to PLAYING
9342 could cause the sink to remain blocked in preroll in some situations.
9344 2006-09-15 Wim Taymans <wim@fluendo.com>
9346 * tools/gst-inspect.c: (print_element_properties_info),
9347 (print_signal_info):
9348 List flags as hex so it's easier to deal with.
9350 2006-09-15 Wim Taymans <wim@fluendo.com>
9352 * docs/libs/gstreamer-libs-sections.txt:
9353 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
9354 (gst_base_sink_do_sync):
9355 * libs/gst/base/gstbasesink.h:
9356 Expose logic to wait for preroll so that subclasses such as audiosink
9357 can also use this method.
9358 API: gst_base_sink_wait_preroll()
9360 2006-09-15 Wim Taymans <wim@fluendo.com>
9362 * gst/gstobject.c: (gst_object_set_parent):
9363 * gst/gstpipeline.c: (do_pipeline_seek):
9364 Small cleanups in docs and code.
9366 * gst/gstsegment.c: (gst_segment_clip):
9367 * tests/check/gst/gstsegment.c: (GST_START_TEST):
9368 if stop == start and start is in the segment, no clipping should be
9369 done. Also add a test for this.
9371 2006-09-15 Wim Taymans <wim@fluendo.com>
9373 * docs/design/part-buffering.txt:
9374 * docs/gst/gstreamer-sections.txt:
9375 * gst/gstmessage.c: (gst_message_new_buffering),
9376 (gst_message_parse_buffering):
9378 Added methods to create and parse BUFFERING messages.
9379 Added preliminary docs about buffering.
9380 API: gst_message_new_buffering
9381 API: gst_message_parse_buffering
9383 2006-09-06 Wim Taymans <wim@fluendo.com>
9386 Update documentation.
9388 * gst/gstelement.c: (gst_element_class_init),
9389 (gst_element_release_request_pad), (gst_element_set_clock),
9390 (gst_element_get_index), (gst_element_add_pad),
9391 (gst_element_remove_pad), (gst_element_get_random_pad),
9392 (gst_element_send_event), (gst_element_get_query_types),
9393 (gst_element_query), (gst_element_post_message),
9394 (gst_element_message_full), (gst_element_continue_state),
9395 (gst_element_lost_state), (gst_element_save_thyself),
9396 (gst_element_restore_thyself):
9397 Documentation updates.
9398 Rename last bit of the new-pad -> pad-added signal rename.
9399 Fix the case where an element query would only work if the source
9401 Avoid some useless type checking in message handling.
9406 Documentation updates.
9408 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
9410 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
9411 add an INFO line for when we actually update the fd
9413 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
9418 === release 0.10.10 ===
9420 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
9423 releasing 0.10.10, "Pais"
9425 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
9427 * docs/manual/advanced-position.xml:
9428 Fix typo in sample code.
9430 2006-09-05 Wim Taymans <wim@fluendo.com>
9432 * libs/gst/net/gstnetclientclock.c: (inet_aton),
9433 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
9434 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
9435 * libs/gst/net/gstnetclientclock.h:
9436 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
9437 * libs/gst/net/gstnettimepacket.h:
9438 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
9439 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
9440 (gst_net_time_provider_thread), (gst_net_time_provider_new):
9441 * libs/gst/net/gstnettimeprovider.h:
9442 Make stuff compile on windows. Fixes #345295.
9444 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
9446 * gst/gst.c: (ensure_current_registry_forking):
9447 Print better details when child was terminated by signal.
9449 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
9451 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
9452 Print a warning rather than g_assert() if a plugin feature
9453 is a URI handler but returns no protocols (#353976).
9455 2006-09-02 Stefan Kost <ensonic@users.sf.net>
9457 * docs/random/moving-plugins:
9460 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
9462 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
9463 Fix locking order, handle NULL function values properly.
9468 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
9469 Initialise variable before using it and fix debug statement to
9470 print the address of the function rather than the address of the
9471 variable on the stack holding the address of the function.
9473 2006-09-01 Wim Taymans <wim@fluendo.com>
9475 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
9476 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
9477 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
9478 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
9479 (gst_ghost_pad_parent_unset),
9480 (gst_ghost_pad_internal_do_activate_push),
9481 (gst_ghost_pad_internal_do_activate_pull),
9482 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
9483 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
9484 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
9485 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
9486 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
9487 (gst_ghost_pad_new_no_target_from_template),
9488 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
9490 Avoid needless typechecking in macros.
9491 Since the internal pad is always present and never changes, there is
9492 no need to locking or ref when retrieving it.
9493 Improve debugging a bit.
9494 Handle link errors when setting the target. Fixes #341029.
9496 2006-09-01 Wim Taymans <wim@fluendo.com>
9498 * docs/libs/gstreamer-libs-sections.txt:
9499 * docs/plugins/gstreamer-plugins-sections.txt:
9502 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
9503 (gst_collect_pads_event):
9504 * libs/gst/base/gstcollectpads.h:
9505 Documentation updates.
9506 Free queued buffer when removing a pad.
9508 2006-08-31 Michael Smith <msmith@fluendo.com>
9510 * gst/gstutils.c: (gst_element_link_pads),
9511 (gst_element_link_pads_filtered):
9512 Ensure that we set a capsfilter to NULL if we failed to link it
9513 when doing filtered linking, to avoid criticals.
9515 No need to check for unreffing srcpad, which is explicly NULLed
9516 above (a trivial code cleanup).
9518 2006-08-31 Wim Taymans <wim@fluendo.com>
9520 * docs/design/part-gstghostpad.txt:
9521 Update ascii art in documentation.
9523 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
9524 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
9525 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
9526 (gst_ghost_pad_internal_do_activate_push),
9527 (gst_ghost_pad_internal_do_activate_pull),
9528 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
9529 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
9530 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
9531 (gst_ghost_pad_set_target):
9532 Small cleanups and leak fixes.
9533 Remove some checks now that the internal pad is never NULL.
9534 Fix the case where linking pads without a target would create nasty
9535 criticals. Fixes #341029.
9536 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
9537 value of _set_target().
9539 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
9540 (gst_ghost_pad_suite):
9541 Some more tests for creating and linking untargeted ghostpads.
9543 2006-08-31 Edward Hervey <edward@fluendo.com>
9545 * docs/gst/gstreamer-sections.txt:
9546 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
9547 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
9548 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
9549 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
9550 (gst_ghost_pad_new_from_template),
9551 (gst_ghost_pad_new_no_target_from_template):
9552 * gst/gstghostpad.h:
9553 Refactored *_new() functions.
9554 Templates are now used as a g_object_new() parameter.
9555 Use template in _do_getcaps() if we don't have a target.
9556 Small documentation cleanups.
9557 Added two new constructors:
9558 gst_ghost_pad_new_from_template()
9559 gst_ghost_pad_new_no_target_from_template()
9560 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
9561 (gst_ghost_pad_suite):
9562 Added tests for new ghostpad instanciation functions.
9564 API additions: gst_ghost_pad_new_from_template,
9565 gst_ghost_pad_new_no_target_from_template
9567 2006-08-30 Stefan Kost <ensonic@users.sf.net>
9569 * docs/random/ensonic/profiling.txt:
9570 Ideas about qos profiling.
9572 2006-08-29 Wim Taymans <wim@fluendo.com>
9574 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
9578 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
9581 Improve and detypofy docs.
9583 * tests/check/Makefile.am:
9584 * tests/check/gst/.cvsignore:
9585 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
9586 Add a basic test suite for GstXML.
9588 2006-08-29 Wim Taymans <wim@fluendo.com>
9590 * gst/gstelement.c: (activate_pads), (clear_caps),
9591 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
9592 Clear the pad caps when the element shut down all of the pads and
9593 is not streaming data that could modify the caps.
9596 2006-08-28 Michael Smith <msmith@fluendo.com>
9598 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9599 Revert previous change; I misunderstood single-segment mode.
9601 2006-08-28 Michael Smith <msmith@fluendo.com>
9603 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9604 Unset DISCONT on buffers when using single-segment mode.
9606 2006-08-28 Wim Taymans <wim@fluendo.com>
9608 * gst/gstcaps.c: (gst_caps_merge_structure):
9610 Fix docs and indentation again.
9612 * tests/check/gst/gstquery.c: (GST_START_TEST):
9613 Fix leak in tests and add some more tests.
9615 2006-08-28 Edward Hervey <edward@fluendo.com>
9617 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
9618 Inform GstSegment of the last stop position in order for the current
9619 segment to have a proper duration if it doesn't have a specific stop
9620 position from which a duration could be calculated.
9621 This bug was noticeable when a non-flushing, non-update new segment was
9622 followed by another segment (all buffers from the new segment were being
9625 2006-08-28 Wim Taymans <wim@fluendo.com>
9627 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
9628 Small comment update.
9630 * plugins/elements/gstidentity.c: (gst_identity_class_init),
9631 (gst_identity_transform_ip):
9632 Drop-probability is broken, mention this in the code with a
9633 FIXME and also in the property description.
9634 Make silent also be silent about the drop messages.
9636 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
9638 * docs/manual/appendix-win32.xml:
9639 Remove mention of popt, we don't depend on that any
9640 longer (#353136). Add some comments pointing out that
9641 this section is slightly outdated.
9643 2006-08-28 Wim Taymans <wim@fluendo.com>
9645 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
9647 * gst/gstquery.c: (gst_query_new_segment):
9648 * tests/check/gst/gstquery.c: (GST_START_TEST):
9649 Initialize variables when creating a new segment query.
9652 2006-08-28 Wim Taymans <wim@fluendo.com>
9654 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
9656 * gst/gstelement.c: (gst_element_get_bus):
9657 * tests/check/gst/gstelement.c: (GST_START_TEST):
9658 Check for NULL before _reffing the bus. Fixes #353122.
9660 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
9662 * docs/manual/basics-bus.xml:
9663 Docs update: fix wrong callback return value explanation; add
9664 some lines about the implicit relationship between main loop
9665 and main context; remove duplicate main loop variable declaration.
9667 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
9669 * tests/check/gst/gstcaps.c: (GST_START_TEST):
9670 Don't leak caps in unit test; add a few more simple
9673 2006-08-24 Stefan Kost <ensonic@users.sf.net>
9675 * docs/gst/gstreamer-sections.txt:
9676 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
9677 (gst_caps_structure_is_subset), (gst_caps_merge),
9678 (gst_caps_merge_structure):
9680 * libs/gst/base/gstbasetransform.c:
9681 (gst_base_transform_transform_caps):
9682 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
9683 implement caps merging (fixes #352580)
9685 2006-08-23 Stefan Kost <ensonic@users.sf.net>
9687 * tools/Makefile.am:
9688 * tools/gst-plot-timeline.py:
9689 add debug-log plotting developer tool (#340674)
9691 2006-08-23 Wim Taymans <wim@fluendo.com>
9693 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
9694 (gst_pad_stop_task):
9695 Improve debugging for task functions.
9697 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
9698 (gst_task_start), (gst_task_pause), (gst_task_join):
9699 Make sure that the task function started and finished after a
9701 Don't try to push the task function on the threadpool multiple
9703 Improve the g_warning message with some useful suggestions
9704 about how to fix the problem.
9706 2006-08-23 Wim Taymans <wim@fluendo.com>
9708 * gst/gstutils.c: (gst_pad_proxy_getcaps):
9709 Handle RESYNC correctly in _proxy_getcaps.
9711 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
9713 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
9714 (gst_xml_parse_memory), (gst_xml_get_element):
9715 Chain up to parent class in dispose function and also
9716 unref the elements in the toplevel_elements GList.
9717 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
9718 Always return a reference in gst_xml_get_element() rather
9719 than only sometimes.
9721 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
9722 Don't leak GstXml object.
9724 2006-08-21 Stefan Kost <ensonic@users.sf.net>
9726 * docs/gst/gstreamer-sections.txt:
9727 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
9730 * libs/gst/base/gstbasetransform.c:
9731 (gst_base_transform_transform_caps):
9732 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
9735 2006-08-21 Edward Hervey <edward@fluendo.com>
9737 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
9738 Implement GObject::dispose virtual method in GstXML so we can free the
9741 2006-08-21 Wim Taymans <wim@fluendo.com>
9743 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
9744 (gst_buffer_create_sub):
9745 Copy duration/offset_end/caps when creating a subbuffer of the
9747 Make the subbuffer read-only when we make the metadata writable for
9750 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
9751 Added check for metadata copy when creating subbuffers.
9753 2006-08-21 Edward Hervey <edward@fluendo.com>
9755 * libs/gst/base/gstbasetransform.c:
9756 (gst_base_transform_buffer_alloc):
9757 Only call downstream buffer_alloc if transform element is passthrough
9758 or always_in_place. Closes #350449.
9760 2006-08-20 Stefan Kost <ensonic@users.sf.net>
9763 ChangeLog surgery to add comments to previous changes
9765 2006-08-20 Stefan Kost <ensonic@users.sf.net>
9770 * gst/gstpad.c: (gst_pad_set_active):
9771 Be more verbose in the log
9773 * libs/gst/base/gstbasetransform.c:
9774 (gst_base_transform_transform_caps):
9775 Simplify caps to get rid of duplicates, fixes #345444
9777 2006-08-20 Stefan Kost <ensonic@users.sf.net>
9781 Use these optimizations only internally.
9783 2006-08-20 Stefan Kost <ensonic@users.sf.net>
9785 * gst/gstvalue.c: (gst_value_compare_list),
9786 (gst_value_compare_fraction_range),
9787 (gst_value_intersect_fraction_fraction_range),
9788 (gst_value_intersect_fraction_range_fraction_range),
9789 (gst_value_subtract_fraction_fraction_range),
9790 (gst_value_subtract_fraction_range_fraction_range),
9791 (gst_value_get_compare_func), (gst_value_compare),
9792 (gst_value_compare_with_func):
9794 Saves the expensive lookup of the compare function in many cases
9797 2006-08-18 Edward Hervey <edward@fluendo.com>
9799 * tests/check/gst/gstinfo.c: (gst_info_suite):
9800 Disable test that require gstdebug if it wasn't built in core.
9802 2006-08-18 Stefan Kost <ensonic@users.sf.net>
9804 * docs/random/ensonic/logging.txt:
9807 * gst/gstinfo.c: (gst_debug_log_default):
9808 reorder fields, save some columns, add optional color codes for log
9811 2006-08-18 Stefan Kost <ensonic@users.sf.net>
9813 * docs/random/ensonic/logging.txt:
9814 add ideas about making the logs a bit more useful
9816 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
9818 * docs/pwg/advanced-events.xml:
9819 * docs/pwg/titlepage.xml:
9820 Update for 0.10 API (#340627). Add myself
9823 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
9825 * docs/libs/gstreamer-libs-docs.sgml:
9826 * docs/libs/gstreamer-libs-sections.txt:
9827 * libs/gst/check/gstbufferstraw.c:
9828 Make gstcheck stuff show up in docs (still needs to
9829 be documented properly though).
9831 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
9833 * docs/gst/gstreamer-sections.txt:
9835 * gst/gst.c: (init_post):
9836 * gst/gst_private.h:
9837 * gst/gstquark.c: (_priv_gst_quarks_initialize):
9839 * gst/gstquery.c: (gst_query_new_position),
9840 (gst_query_set_position), (gst_query_parse_position),
9841 (gst_query_new_duration), (gst_query_set_duration),
9842 (gst_query_parse_duration), (gst_query_new_convert),
9843 (gst_query_set_convert), (gst_query_parse_convert),
9844 (gst_query_new_segment), (gst_query_set_segment),
9845 (gst_query_parse_segment), (gst_query_new_seeking),
9846 (gst_query_set_seeking), (gst_query_parse_seeking):
9847 Add internal helpers for pre-registering quarks from static strings
9848 and using the quark values directly instead of looking them up when
9849 creating and parsing queries. Can be used for event construction too.
9852 2006-08-16 Wim Taymans <wim@fluendo.com>
9857 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
9859 * gst/gstutils.c: (gst_util_set_value_from_string):
9860 Fix memleak (#351502).
9862 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
9863 Add unit test for most of gst_util_set_value_from_string()
9864 (not that one would want to encourage use of this function).
9866 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
9868 * libs/gst/check/gstcheck.h:
9869 Use const gchar * variables in fail_unless_equals_string
9870 macro to avoid compiler warnings (and don't use tabs for
9873 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
9875 * tools/gst-launch.c: (print_tag):
9876 More space on the left for the tag names, to cater
9877 for the 'extended comment' tag (not touching the
9878 string for the first line since it's translated).
9880 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
9882 * libs/gst/check/gstcheck.h:
9883 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
9884 print something when they fail.
9886 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
9888 * docs/gst/gstreamer-sections.txt:
9889 * gst/gsttaglist.c: (_gst_tag_initialize):
9891 API: add GST_TAG_EXTENDED_COMMENT (#350935).
9892 Also change merge function for GST_TAG_COMMENT to
9895 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
9897 * gst/gstinfo.c: (gst_debug_print_object):
9898 Make GST_PTR_FORMAT print messages as well.
9900 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
9901 (GST_START_TEST), (gst_info_suite):
9904 2006-08-14 Edward Hervey <edward@fluendo.com>
9906 * gst/gstelementfactory.c: (gst_element_register):
9907 If the GstElementClass doesn't have a GstElementDetails with all fields
9908 filled up correctly (longname, description AND author), then error out
9909 nicely instead of crashing.
9911 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
9913 * gst/gststructure.c:
9914 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
9917 Expand on the difference between arrays and lists as we use them.
9919 2006-08-14 Wim Taymans <wim@fluendo.com>
9921 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
9922 If the parent state change function failed, don't assume we can safely
9923 stop the source, this will be done when the pads are deactivated.
9925 2006-08-14 Wim Taymans <wim@fluendo.com>
9928 * gst/gsttask.c: (gst_task_join):
9931 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
9932 (gst_pad_stop_task):
9933 When pad (de)activation failed for some reason, restore the old
9934 activation mode and set the pad to flushing instead of assuming the
9936 If the _task_join() failed, reinstall the task on the pad so that it can
9937 be stopped later and return an error.
9939 2006-08-11 Andy Wingo <wingo@pobox.com>
9942 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
9943 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
9944 is only for users of API that don't want to see deprecated
9945 functions in the headers; people that want to compile out
9946 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
9947 CFLAGS. Fixes the build of multifdsink, or will soon..
9949 2006-08-11 Wim Taymans <wim@fluendo.com>
9951 * docs/gst/gstreamer-sections.txt:
9952 Add GstClockClass vmethod docs.
9955 Mark #endif with comment for associated #if
9957 * gst/gstclock.c: (gst_clock_id_wait):
9959 Add vmethod wait_jitter to avoid an unneeded _get_time() for
9960 most clock implementations.
9962 Flesh out docs about resolution methods.
9963 API: GstClockClass::wait_jitter
9965 * gst/gstsystemclock.c: (gst_system_clock_class_init),
9966 (gst_system_clock_async_thread),
9967 (gst_system_clock_id_wait_jitter_unlocked),
9968 (gst_system_clock_id_wait_jitter):
9969 Use base class wait_jitter variant for improved performance
9970 due to less clock polling.
9972 2006-08-11 Edward Hervey <edward@fluendo.com>
9974 * gst/gst.c: (gst_init_check), (init_post):
9975 Set gst as being initialized before scanning/updating the registry,
9976 since there might be my python plugin loader that calls gst_init() and
9977 we don't want to loop back in.
9980 2006-08-11 Wim Taymans <wim@fluendo.com>
9982 * docs/design/part-qos.txt:
9983 Bring docs in line with the code. Mostly the sign of the jitter was
9984 wrong in the docs. Fixes #349943.
9987 Fix the docs for the jitter.
9989 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
9990 (gst_event_parse_tag), (gst_event_new_buffer_size),
9991 (gst_event_parse_buffer_size), (gst_event_parse_qos),
9992 (gst_event_new_seek), (gst_event_parse_seek),
9993 (gst_event_new_navigation):
9994 Make sure the GstStructure has no parent when creating custom
9996 Add some more argument checking so that we avoid 0.0 rates.
9997 Flesh out the docs for the QoS event some more.
9999 2006-08-11 Wim Taymans <wim@fluendo.com>
10001 * docs/gst/gstreamer-sections.txt:
10002 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
10003 (ensure_current_registry_forking), (ensure_current_registry),
10004 (parse_one_option), (parse_goption_arg), (gst_deinit),
10005 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
10008 Added API and command line option to disable registry forking in
10009 addition to the environment variable.
10010 Constify some static arrays.
10011 Added some more debug.
10012 Don't deinit twice.
10013 API: gst_registry_fork_is_enabled()
10014 API: gst_registry_fork_set_enabled()
10015 API: --gst-disable-registry-fork command line option
10018 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
10020 * gst/gst.c: (gst_init):
10021 Fix typo in error message.
10023 2006-08-10 Stefan Kost <ensonic@users.sf.net>
10025 * libs/gst/controller/gstcontroller.h:
10026 fix ABI size-correction
10028 * tests/check/libs/gdp.c: (gst_dp_suite):
10029 make tests that use deprecated API conditional
10031 2006-08-10 Stefan Kost <ensonic@users.sf.net>
10033 * docs/libs/gstreamer-libs-sections.txt:
10034 * libs/gst/controller/gstcontroller.c:
10035 (_gst_controller_get_property), (_gst_controller_set_property),
10036 (_gst_controller_init), (_gst_controller_class_init):
10037 * libs/gst/controller/gstcontroller.h:
10038 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
10039 (gst_object_set_control_rate):
10040 API: add gst_object_{s,g}et_control_rate(), add private data section,
10043 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
10044 * libs/gst/dataprotocol/dataprotocol.h:
10045 add deprecation guards to make gtk-doc happy and allow disabling cruft
10047 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
10049 * tests/check/Makefile.am:
10050 * tests/check/gst/.cvsignore:
10051 Let's enable the new unit test as well.
10053 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
10056 * docs/gst/gstreamer-sections.txt:
10057 * gst/gstconfig.h.in:
10058 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
10059 (_gst_info_printf_extension_ptr),
10060 (_gst_info_printf_extension_segment):
10061 API: add GST_SEGMENT_FORMAT, which is a printf extension we
10062 register that lets us easily dump GstSegments into debug
10065 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
10066 (info_segment_format_printf_extension), (gst_info_suite):
10067 Add simple unit test that logs a bunch of different segments (not
10068 valgrinded at the moment because of leaks in
10069 gst_debug_add_log_function).
10071 2006-08-09 Edward Hervey <edward@fluendo.com>
10073 * libs/gst/base/gstbasetransform.c:
10074 (gst_base_transform_buffer_alloc):
10075 Even if we can't figure out the proper format to request downstream,
10076 call buffer_alloc() downstream with the input parameters without setting
10077 the caps on the srcpad. This will force negotiation in the chain
10081 2006-08-08 Edward Hervey <edward@fluendo.com>
10083 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
10084 Unlinking from a pad without a target is now a perfectly valid case
10085 which should NOT raise an assertion.
10086 This case would happen if a linked ghostpad its target set to NULL after
10087 it was previously linked.
10089 2006-08-08 Edward Hervey <edward@fluendo.com>
10091 * tests/check/libs/gdp.c:
10092 Also comment out the test (see below).
10094 2006-08-08 Edward Hervey <edward@fluendo.com>
10096 * tests/check/libs/gdp.c: (gst_dp_suite):
10097 Use the architecture information from config.h and not gcc macros
10098 in order to properly disable a test that fails on PPC64.
10100 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
10102 * gst/gstelement.c: (gst_element_remove_pad):
10103 Don't crash printing the warning if the pad has no parent.
10105 2006-08-02 Wim Taymans <wim@fluendo.com>
10107 * libs/gst/dataprotocol/dataprotocol.c:
10108 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
10109 (gst_dp_crc), (gst_dp_header_payload_length),
10110 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
10111 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
10112 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
10113 (gst_dp_event_from_packet), (gst_dp_validate_header),
10114 (gst_dp_validate_payload):
10115 Make debug category static
10116 Constify the crc table.
10117 Do some more arg checking in public functions.
10118 Fix some docs and do some small cleanups.
10120 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
10121 Add some more checks to see if GDP deals with bogus input.
10123 2006-07-31 Wim Taymans <wim@fluendo.com>
10125 * gst/gstvalue.c: (gst_value_compare_list):
10126 Fix GstValueList comparison code. Fixes #347293.
10128 * tests/check/gst/gstvalue.c: (GST_START_TEST):
10129 Check to test GstValueList comparison.
10131 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
10133 * gst/gstelementfactory.c: (gst_element_factory_create):
10134 Remove unnecessary ref/unref pair
10136 * gst/parse/grammar.y:
10137 Make sure to free the parse buffer on all code paths.
10138 Move a g_free up to the error handler where it's easier to see.
10140 * tests/check/gst/gstevent.c: (test_event):
10141 Extending timeout for downstream travelling events to 10 seconds to
10142 hopefully avoid intermittent failure on the buildbots.
10144 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
10145 Don't manually set the state of the src element - it will happen as a
10146 natural consequence of the pipeline changing state, and that way it
10147 will do it in the right order too.
10149 2006-07-31 Wim Taymans <wim@fluendo.com>
10151 * libs/gst/base/gstbasetransform.c:
10152 (gst_base_transform_buffer_alloc):
10153 Use OBJECT_LOCK and refcounting to get the pad caps in the
10154 buffer_alloc function because the caps could change while we are
10155 busy with them. Fixes #349105
10157 2006-07-31 Wim Taymans <wim@fluendo.com>
10159 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
10160 Protect _PAD_CAPS with OBJECT_LOCK.
10162 2006-07-31 Wim Taymans <wim@fluendo.com>
10164 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
10165 (gst_pad_get_property), (gst_pad_activate_pull),
10166 (gst_pad_activate_push), (gst_pad_set_blocked_async),
10167 (gst_pad_set_activate_function),
10168 (gst_pad_set_activatepull_function),
10169 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
10170 (gst_pad_set_getrange_function),
10171 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
10172 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
10173 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
10174 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
10175 (gst_pad_set_acceptcaps_function),
10176 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
10177 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
10178 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
10179 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
10180 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
10181 (gst_pad_configure_sink), (gst_pad_configure_src),
10182 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
10183 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
10184 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
10185 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
10186 (gst_pad_send_event):
10187 Use _DEBUG_OBJECT when it makes sense.
10188 Protect GST_PAD_CAPS with the OBJECT_LOCK.
10189 Small cleanups and code reflows.
10190 Avoid caps refcounting in _accept_caps.
10191 Refactor alloc_buffer so that the code performed on the peer is in a
10192 separate function. Also if the pad does not implement a buffer alloc
10193 function, we should still check if the pad is flushing before falling
10194 back to the default allocator.
10196 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
10198 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10199 Make all uses of identity and fakesink have silent=true to avoid
10200 serialising every passing data structure, which is breaking tests
10201 on FC4 for some unknown reason.
10203 2006-07-30 Stefan Kost <ensonic@users.sf.net>
10205 * gst/parse/Makefile.am:
10206 * gst/parse/grammar.y:
10207 * gst/parse/parse.l:
10208 Reverted previous patch as it required to bump the flex dependency to
10209 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
10211 2006-07-30 Stefan Kost <ensonic@users.sf.net>
10213 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
10215 * gst/parse/Makefile.am:
10216 * gst/parse/grammar.y:
10217 * gst/parse/parse.l:
10218 push & pop the state of the lexer for reentrant use case
10221 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
10223 * libs/gst/base/gstbasesrc.h:
10224 Note in the docs that the ::newsegment vfunc is not actually used by
10227 2006-07-28 Wim Taymans <wim@fluendo.com>
10229 * libs/gst/base/gstcollectpads.c:
10230 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
10231 (gst_collect_pads_clear), (gst_collect_pads_flush),
10232 (gst_collect_pads_event), (gst_collect_pads_chain):
10233 When flushing a pad, also clear the queued buffer so that we don't
10234 accidentally use it when we shouldn't.
10235 Fix leaks by inreffing incomming buffer.
10236 Flush out queued buffers in case of errors.
10239 2006-07-28 Wim Taymans <wim@fluendo.com>
10241 * docs/random/phonon-gst:
10242 Random notes about a Phonon backend.
10244 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
10246 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
10248 * tests/check/libs/gdp.c: (gst_dp_suite):
10249 Take a whack at fixing the ppc compile using a different define to
10250 disable the broken test.
10252 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10253 Remove excess g_print()
10255 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
10257 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
10258 Oops, meant to uncomment this line too to dampen the noise a bit.
10260 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
10262 * gst/parse/grammar.y:
10263 * gst/parse/parse.l:
10264 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
10265 (GST_START_TEST), (parse_suite):
10266 Fix some of the leaks exposed by extending the parse-launch testsuite,
10267 and move the 3 I can't figure out into a separate test that won't run
10268 the pipelines unless the appropriate line is uncommented.
10270 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
10272 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10273 Requesting 0 bytes before the end of the file should result in
10274 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
10277 2006-07-27 Wim Taymans <wim@fluendo.com>
10279 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
10280 Fix useless assert, a uint is always positive.
10282 * gst/gststructure.c: (gst_structure_nth_field_name),
10283 (gst_structure_foreach), (gst_structure_map_in_place):
10284 Check input arguments for public functions to avoid obvious crashes.
10286 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
10287 * plugins/elements/gstfakesink.h:
10288 Do less useless typechecking.
10290 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
10292 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
10293 Do not use mmap() by default since there are a number of error
10294 conditions that we would like to handle in a non-fatal way that
10295 will result in a SIGBUS if we use mmap(). Examples: external
10296 devices (USB harddrive, portable music player) being unplugged
10297 while in use; file on mounted CD/DVD that can't be read because
10298 the medium is partly damaged. Fixes #348455 and #348475.
10300 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
10303 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
10304 rates are a gdouble
10306 2006-07-26 Stefan Kost <ensonic@users.sf.net>
10308 * gst/gstregistry.c:
10309 Move big documentation comment into class section header, so that it
10310 appears in the API docs.
10312 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
10314 * docs/gst/gstreamer-sections.txt:
10315 Oops. Commit the docs additions too for new API.
10316 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
10318 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
10320 * gst/gststructure.c: (gst_structure_id_set),
10321 (gst_structure_id_set_valist):
10322 * gst/gststructure.h:
10323 Add API for setting values into structures without performing
10324 a quark lookup, if the appropriate quark is already known.
10326 API: gst_structure_id_set
10327 API: gst_structure_id_set_valist
10329 * gst/parse/grammar.y:
10330 * gst/parse/parse.l:
10331 Remove some dead code shown by the coverage information.
10332 Don't throw a critical g_warning when encountering a syntax error,
10333 just warn and let the normal error path handle it.
10335 * plugins/elements/gstelements.c:
10336 Bump the rank of filesink up to PRIMARY so that it is preferred over
10337 gnomevfssink for file:// sink uri's
10339 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
10340 (GST_START_TEST), (run_delayed_test),
10341 (gst_parse_test_element_base_init),
10342 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
10343 (gst_parse_test_element_change_state),
10344 (gst_register_parse_element), (parse_suite):
10345 Beef up the tests for parse syntax to check that more error cases
10346 fail as they are supposed to. Increases the test coverage a bit.
10348 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
10350 * docs/manual/basics-elements.xml:
10351 Fix gst_element_link() example.
10354 Mention in API docs that one should usually gst_bin_add()
10355 elements to a bin or pipeline before doing the linking.
10357 2006-07-26 Wim Taymans <wim@fluendo.com>
10359 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
10360 (gst_subbuffer_get_type), (gst_buffer_create_sub):
10361 Avoid function call for known types by keeping the buffer and
10362 subbuffer GType global.
10364 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10365 Random silly optimisations in read() path.
10367 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
10369 * tools/gst-launch.c: (main):
10370 If the top-level of the parse is a normal bin, it doesn't do the
10371 right logic to run as a top-level element, so place it inside a
10374 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
10376 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
10377 Remove superfluous g_object_notify() calls, GObject does
10378 that for us automatically.
10380 2006-07-25 Stefan Kost <ensonic@users.sf.net>
10383 on Win32, use dllspec to export the debug category symbols
10385 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
10387 * gst/gsttaglist.c: (_gst_tag_initialize):
10388 Allow more than one GST_TAG_IMAGE per taglist.
10390 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
10392 * gst/gstminiobject.c:
10394 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
10395 (gst_fd_src_create):
10396 log recurring events at LOG level
10397 add more debug for when the fd gets set
10399 2006-07-21 Stefan Kost <ensonic@users.sf.net>
10401 * gst/gstparse.c: (gst_parse_launch):
10402 Also remove reentrance checks if flex is MT safe (#348179)
10403 Fix my empty ChangeLog entry below
10405 2006-07-21 Andy Wingo <wingo@pobox.com>
10407 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
10409 * libs/gst/check/Makefile.am
10410 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
10411 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
10412 * libs/gst/check/gstbufferstraw.h:
10413 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
10414 functions, thus proving I am still a GStreamer haxor. OK I wrote
10415 them a long time ago, but anyways.
10417 2006-07-21 Stefan Kost <ensonic@users.sf.net>
10420 * gst/gstparse.c: (gst_parse_launch):
10421 Check for flex version and omit mutex if we have a MT save flex
10424 2006-07-21 Wim Taymans <wim@fluendo.com>
10426 * gst/gstparse.c: (gst_parse_launch):
10427 Protect recursive calls to _parse with a recursive mutex
10430 2006-07-21 Wim Taymans <wim@fluendo.com>
10432 * tests/check/gst/gstpad.c: (GST_START_TEST):
10435 2006-07-20 Stefan Kost <ensonic@users.sf.net>
10437 * gst/gstparse.c: (gst_parse_launch):
10438 Do not hang on recursive usage of gst_parse_launch()
10440 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
10442 * gst/gsttaglist.c:
10443 Add some more docs, comments and FIXME 0.11s here and there
10444 and also fix some typos.
10446 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
10448 * gst/gstsegment.h:
10449 Convert tabs to spaces for better readability.
10451 2006-07-20 Edward Hervey <edward@fluendo.com>
10453 * tests/check/libs/gdp.c: (gst_dp_suite):
10454 the test_buffer test fails at line 140 on ppc64 at the following
10456 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
10457 GST_BUFFER_FLAG_IN_CAPS),
10458 "GST_BUFFER_IN_CAPS flag should have been copied !");
10459 See bug #348114 for more details.
10461 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
10463 * docs/pwg/advanced-scheduling.xml:
10465 Fix typos (#348000).
10467 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
10469 * docs/pwg/intro-basics.xml:
10470 Fix wrong links (#347927).
10472 2006-07-18 Stefan Kost <ensonic@users.sf.net>
10474 * gst/gstregistry.h:
10475 * gst/gstregistryxml.c: (load_feature),
10476 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
10477 * win32/common/config.h:
10478 make --disable-index work (#342564)
10480 2006-07-18 Wim Taymans <wim@fluendo.com>
10482 Patch by: Peter Kjellerstedt <pkj at axis dot com>
10486 The attached patch adds two missing defines to gsttrace.h when tracing
10487 is disabled. It also corrects one existing define.
10490 2006-07-17 Wim Taymans <wim@fluendo.com>
10492 * docs/gst/gstreamer-sections.txt:
10493 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
10495 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
10496 Add two functions to check and change the SIGSEGV behaviour
10497 when loading plugins.
10498 Don't mess with the SIGSEGV handler when we were told not to.
10500 API: gst_segtrap_is_enabled
10501 API: gst_segtrap_set_enabled
10503 2006-07-14 Wim Taymans <wim@fluendo.com>
10505 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
10506 * tests/check/elements/filesrc.c: (GST_START_TEST):
10507 Revert fix for regression in #347408 after release.
10509 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
10511 Patch by: Antoine Tremblay <hexa00 at gmail com>
10513 * gst/gstutils.c: (gst_element_unlink):
10514 Free iterator when done (#347311).
10516 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10517 And add a test case for this.
10519 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
10522 Bump nano back to CVS
10524 === release 0.10.9 ===
10526 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
10529 releasing 0.10.9, "On the road again"
10531 2006-07-13 Wim Taymans <wim@fluendo.com>
10533 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
10534 * tests/check/elements/filesrc.c: (GST_START_TEST):
10535 Revert pull-0 fix for release. Disable check. Fixes #347408.
10537 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
10539 * libs/gst/dataprotocol/dataprotocol.c:
10540 (gst_dp_event_from_packet_1_0):
10541 Fixes #347337: failure to deserialize event packets with
10542 empty payload (only event type)
10544 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
10547 do not install a .c file in the header directory
10549 2006-07-13 Edward Hervey <edward@fluendo.com>
10551 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
10552 GhostPad no longer implicitely use the padtemplates of the targets.
10555 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
10557 * gst/gstvalue.c: (gst_value_compare_list),
10558 (gst_value_compare_array), (_gst_value_initialize):
10559 * tests/check/gst/gstvalue.c: (GST_START_TEST):
10560 Make GstValueArray comparison be order dependent as designed.
10561 Add checks for value lists and value array comparisons.
10564 2006-07-11 Edward Hervey <edward@fluendo.com>
10566 * gst/gstbin.c: (activate_pads),
10567 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
10568 (gst_bin_change_state_func):
10569 (de)activate src pads before calling state_change on the childs.
10570 This is to avoid the case where a src ghostpad is blocked (holding the
10571 stream lock), which would block the deactivation of the ghostpad's
10573 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
10574 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
10575 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
10576 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
10577 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
10578 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
10579 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
10580 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
10581 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
10582 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
10583 (gst_ghost_pad_class_init),
10584 (gst_ghost_pad_internal_do_activate_push),
10585 (gst_ghost_pad_internal_do_activate_pull),
10586 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10587 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10588 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
10589 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
10590 GhostPads now create their internal GstProxyPad at creation (and not
10591 when they're linked, as it was being done previously).
10592 The internal and target pads are linked straight away.
10593 The data will also travel through the other pad in order to make
10594 pad blocking and probes non-hackish (the probe/block now really happens
10595 on the GhostPad and not on the target).
10596 * gst/gstpad.c: (gst_pad_set_blocked_async),
10597 (gst_pad_link_prepare), (gst_pad_push_event):
10598 Remove previous ghostpad cruft.
10599 * gst/gstutils.c: (gst_pad_add_data_probe),
10600 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
10601 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
10602 (gst_pad_remove_buffer_probe):
10603 Remove previous ghost pad cruft.
10604 Added more detailed debug statements.
10605 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
10606 Fix the testsuite for refcounting changes.
10607 The comments about who has references were correct, but the refcount
10608 being checked wasn't the same (!?!).
10612 2006-07-10 Stefan Kost <ensonic@users.sf.net>
10614 * docs/gst/gstreamer-sections.txt:
10615 * gst/gstconfig.h.in:
10616 More docs for configuration options, add docs to gtk-doc.
10618 2006-07-10 Stefan Kost <ensonic@users.sf.net>
10621 * gst/gstconfig.h.in:
10622 * win32/common/config.h:
10623 Fix build when disabling tracing (fixes #344016). Also start to document
10624 the defines that disable the sub-systems.
10626 2006-07-10 Edward Hervey <edward@fluendo.com>
10628 * gst/gst.c: (ensure_current_registry_forking):
10629 let's make valgrind happy...
10631 2006-07-09 Wim Taymans <wim@fluendo.com>
10633 * gst/gstelement.c: (activate_pads),
10634 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
10635 Better pad activation code: Reset the collect value too on resync.
10638 2006-07-09 Wim Taymans <wim@fluendo.com>
10640 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
10641 (gst_pad_activate_push):
10642 Use some more macros where it makes sense.
10643 Allow pad mode switching instead of asserting. When a pad
10644 is activated in one mode and we activate it in another,
10645 deactivate it first before activating it in a different mode.
10648 2006-07-08 Andy Wingo <wingo@pobox.com>
10650 * tools/gst-launch.c (main): Handle err == NULL.
10652 * gst/gst.c (init_post, ensure_current_registry)
10653 (ensure_current_registry_forking)
10654 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
10655 factoring out the registry scanning into separate functions. Don't
10656 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
10657 Better environment var name/interface suggestions accepted.
10659 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
10661 * gst/gstobject.c: (gst_object_set_name_default),
10662 (gst_object_set_name):
10663 Random micro-optimisation: don't use a hash table
10664 with strings as keys and the usual strdup/strcmp
10665 involved, but rather just use the GQuark of the
10666 type name as key, since it needs to be looked up
10667 anyway to get the type name string.
10669 * tests/check/gst/gstobject.c: (GST_START_TEST):
10672 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
10674 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
10675 (gst_bin_iterate_all_by_interface):
10676 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
10677 GTypes are gulongs and thus the top 4 bytes might be cut
10678 off on some platforms when doing GPOINTER_TO_INT, leading
10679 to invalid GTypes and bad things happening (see RH bug #179654).
10680 Also add a check to make sure the type passed in is really
10683 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
10688 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
10692 * gst-element-check.m4:
10693 * gst-element-check.m4.in:
10694 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
10695 instead of the unversioned gst-inspect (#324176, #168659).
10697 2006-07-06 Wim Taymans <wim@fluendo.com>
10699 * gst/gstmessage.h:
10700 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
10703 2006-07-06 Wim Taymans <wim@fluendo.com>
10705 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10706 (gst_base_src_wait), (gst_base_src_update_length),
10707 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
10708 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
10709 (gst_base_src_loop), (gst_base_src_start),
10710 (gst_base_src_activate_pull):
10712 blocksize == 0 now means the default blocksize when working in push
10714 Remove some pointless asserts in _wait function.
10715 Fix offset/length calculations and EOS handling. We can now pull 0
10716 bytes as well, which is allowed.
10717 use _check_get_range() to decide if we can operate in _pull based
10719 Fix refcounting leak when check_get_range function was not
10721 API GstBaseSrc::blocksize range can be 0 too now (default)
10723 * tests/check/elements/filesrc.c: (GST_START_TEST),
10725 Added check to test _get_range() behaviour.
10727 2006-07-06 Wim Taymans <wim@fluendo.com>
10729 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
10730 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
10731 (gst_pad_pull_range):
10733 Lots of comments and docs added to the pad functions.
10734 Flesh out the expected behaviour of the get_range() functions.
10736 2006-07-06 Wim Taymans <wim@fluendo.com>
10741 * gst/gstiterator.h:
10745 Remove comma at end of enumerator list.
10747 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
10749 * win32/common/libgstbase.def:
10750 * win32/common/libgstdataprotocol.def:
10751 * win32/common/libsgtreamer.def:
10752 Add new exported functions.
10754 2006-07-05 Wim Taymans <wim@fluendo.com>
10756 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
10757 Add some more docs here and there.
10759 2006-07-05 Wim Taymans <wim@fluendo.com>
10761 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
10762 (gst_base_sink_loop), (gst_base_sink_get_position):
10763 When operating in pull mode update the offset so that we
10766 2006-07-05 Wim Taymans <wim@fluendo.com>
10768 * gst/gstregistryxml.c: (read_string):
10769 Avoid strdup. (will happen in libxml, but hey!)
10772 Add some more docs.
10774 2006-07-05 Wim Taymans <wim@fluendo.com>
10776 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
10777 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
10778 (gst_buffer_suite):
10779 No point in checking if the size of the subbuffer > 0, the
10780 code handles it correclty as demonstrated by unit test.
10781 Also add a unit test for the zero sized _new_and_alloc and
10782 _copy. Fixes #346663.
10784 2006-07-05 Wim Taymans <wim@fluendo.com>
10786 * libs/gst/base/gstbasetransform.c:
10787 (gst_base_transform_prepare_output_buffer),
10788 (gst_base_transform_buffer_alloc),
10789 (gst_base_transform_handle_buffer):
10790 Make sure the buffer we pass to transform_ip has a refcount of
10791 1 and thus is writable. Fixes #343196
10793 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
10795 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
10796 (gst_file_src_init), (gst_file_src_set_property),
10797 (gst_file_src_get_property), (gst_file_src_map_region):
10798 * plugins/elements/gstfilesrc.h:
10799 Add "sequential" property, off by default, to use madvise and hint
10800 to the kernel that sequential access is desired.
10801 Touch all retrieved pages by default to ensure they are pulled
10802 into memory. (Closes #345720)
10804 2006-07-03 Wim Taymans <wim@fluendo.com>
10806 * docs/design/part-block.txt:
10807 * docs/design/part-dynamic.txt:
10808 Small docs updates.
10810 2006-07-03 Wim Taymans <wim@fluendo.com>
10812 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
10813 (gst_caps_unref), (gst_static_caps_get),
10814 (gst_caps_append_structure):
10815 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
10816 Use GSlice when the glib we build against is >= 2.10
10818 2006-07-03 Wim Taymans <wim@fluendo.com>
10820 * gst/gstelement.c: (gst_element_pads_activate):
10821 Small cleanup in pad activation code.
10823 2006-07-03 Wim Taymans <wim@fluendo.com>
10825 Patch by: Peter Kjellerstedt <pkj at axis dot com>
10827 * gst/gst-i18n-app.h:
10828 * gst/gst-i18n-lib.h:
10829 * tools/gst-inspect.c: (print_signal_info):
10830 The attached patch will make the inclusion of gettext.h unconditional in
10831 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
10832 libintl.h in tools/gst-inspect.c.
10833 This allows use of --disable-nls again and fixes #344642.
10835 2006-07-03 Edward Hervey <edward@fluendo.com>
10837 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
10838 Implement pad blocking on events according to part-block.txt.
10839 More comments on behaviour.
10840 * tests/check/gst/gstevent.c: (test_event):
10841 Send event to peer pad of blocked pad (else it will block).
10843 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
10845 * libs/gst/check/gstcheck.c: (gst_check_message_error),
10846 (gst_check_run_suite):
10847 if we get the wrong message, give us the types as string
10848 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10850 * tests/check/elements/filesrc.c: (GST_START_TEST):
10851 add a test for trying to open a non-existing file
10853 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
10855 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
10856 add a test for adding self
10858 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
10860 * libs/gst/check/gstcheck.h:
10861 add some assert_ as alias for fail_unless_*
10862 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
10863 increase test coverage
10865 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
10868 include lcov.mak for lcov coverage generation
10869 * tools/Makefile.am:
10872 2006-07-02 Edward Hervey <edward@fluendo.com>
10874 * tests/check/elements/.cvsignore:
10877 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
10880 don't set CFLAGS and friends for gcov, done from GST_GCOV now
10881 * tests/check/Makefile.am:
10882 clean up gcov files
10884 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
10886 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
10887 remove gst_caps_simplify; it was not declared and not used
10888 and deprecated in 0.8
10890 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
10892 * docs/faq/gst-uninstalled:
10893 don't put empty paths on PYTHONPATH
10894 * docs/gst/gstreamer-sections.txt:
10895 remove some symbols that are not there
10897 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
10899 * gst/gstcaps.c: (gst_caps_compare_structures):
10901 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
10902 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
10905 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
10907 * libs/gst/dataprotocol/Makefile.am:
10908 build dataprotocol test by linking to the lib, instead of
10909 compiling the source, so we get coverage
10910 * tests/check/Makefile.am:
10911 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
10912 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
10913 add a test for filesrc
10915 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
10917 * tests/check/gst/gststructure.c: (GST_START_TEST),
10918 (gst_structure_suite):
10919 Push coverage from 59.04% to 70.00%
10921 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
10923 * tests/check/Makefile.am:
10924 gst-inspect every element; this makes sure that we also get
10925 coverage on element's get/set functions
10927 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
10930 set CFLAGS and friends to -O0 if gcov is being used
10933 * libs/gst/base/Makefile.am:
10934 * libs/gst/check/Makefile.am:
10935 * libs/gst/controller/Makefile.am:
10936 * libs/gst/dataprotocol/Makefile.am:
10937 * libs/gst/net/Makefile.am:
10938 * plugins/elements/Makefile.am:
10939 * plugins/indexers/Makefile.am:
10940 add makefile rules to generate gcov data and clean up
10941 * tests/check/Makefile.am:
10942 add a coverage target that generates an html overview
10945 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
10947 * tests/check/elements/fakesink.c:
10948 * tests/check/elements/fakesrc.c:
10949 * tests/check/elements/fdsrc.c:
10950 * tests/check/elements/identity.c:
10951 * tests/check/generic/sinks.c: (gst_sinks_suite):
10952 * tests/check/generic/states.c:
10953 * tests/check/gst/gst.c:
10954 * tests/check/gst/gstabi.c:
10955 * tests/check/gst/gstbin.c:
10956 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
10957 * tests/check/gst/gstbus.c: (gst_bus_suite):
10958 * tests/check/gst/gstcaps.c: (GST_START_TEST):
10959 * tests/check/gst/gstelement.c:
10960 * tests/check/gst/gstevent.c: (gst_event_suite):
10961 * tests/check/gst/gstghostpad.c:
10962 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
10963 * tests/check/gst/gstmessage.c: (gst_message_suite):
10964 * tests/check/gst/gstminiobject.c:
10965 * tests/check/gst/gstobject.c:
10966 * tests/check/gst/gstpad.c:
10967 * tests/check/gst/gstpipeline.c:
10968 * tests/check/gst/gstplugin.c:
10969 * tests/check/gst/gstquery.c: (gst_query_suite):
10970 * tests/check/gst/gstsegment.c: (gst_segment_suite):
10971 * tests/check/gst/gststructure.c:
10972 * tests/check/gst/gstsystemclock.c:
10973 * tests/check/gst/gsttag.c:
10974 * tests/check/gst/gsttask.c: (gst_task_suite):
10975 * tests/check/gst/gstutils.c:
10976 * tests/check/gst/gstvalue.c:
10977 * tests/check/libs/adapter.c:
10978 * tests/check/libs/basesrc.c:
10979 * tests/check/libs/collectpads.c:
10980 * tests/check/libs/controller.c:
10981 * tests/check/libs/gdp.c: (gst_dp_suite):
10982 * tests/check/libs/gstnetclientclock.c:
10983 * tests/check/libs/gstnettimeprovider.c:
10984 * tests/check/libs/libsabi.c: (libsabi_suite):
10985 * tests/check/libs/typefindhelper.c:
10986 * tests/check/pipelines/cleanup.c:
10987 * tests/check/pipelines/parse-launch.c:
10988 * tests/check/pipelines/simple-launch-lines.c:
10989 * tests/check/pipelines/stress.c: (stress_suite):
10992 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
10994 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
10995 * libs/gst/check/gstcheck.h:
10996 create a macro and function so that the simple unit test
10997 case can be just one macro to create main()
10999 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
11001 * gst/gstbin.c: (gst_bin_restore_thyself):
11002 * gst/gstxml.c: (gst_xml_make_element):
11003 Fix deserialisation from XML. Set parent manually
11004 instead of using gst_bin_add(), since gst_bin_add()
11005 will unlink all pads of the element being added.
11008 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
11010 Patch by: Peter Kjellerstedt <pkj at axis com>
11012 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
11013 Fix missing g_strdup() and double free when using the
11014 --gst-plugin-load command line option (#346097).
11016 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
11019 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
11021 * libs/gst/net/gstnetclientclock.c:
11022 * libs/gst/net/gstnettimeprovider.c:
11023 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
11025 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
11027 * docs/manual/advanced-dataaccess.xml:
11028 Fix buffer probe example compilation in
11031 2006-06-22 Edward Hervey <edward@fluendo.com>
11033 * gst/gstelement.c: (gst_element_pads_activate):
11034 We need to deactivate src pads first and then sink pads.
11035 The reason is the src pads might be blocking while holding the streaming
11036 lock, so we need to deactivate them first so that deactivating the sink
11037 pads doesn't block (since it will require the streaming lock).
11039 2006-06-22 Wim Taymans <wim@fluendo.com>
11041 * libs/gst/base/gstbasetransform.c:
11042 (gst_base_transform_buffer_alloc):
11043 Forgot to remove two unneeded unrefs.
11044 Simplify a check _is_equal allready checks the obvious case.
11046 2006-06-22 Wim Taymans <wim@fluendo.com>
11048 * docs/design/part-block.txt:
11049 Some docs about what pad_block should do.
11051 2006-06-22 Wim Taymans <wim@fluendo.com>
11053 * gst/gstcaps.c: (gst_caps_replace):
11054 Fix crasher when passed NULL. Doc clarification.
11055 Optimize for the trivial case.
11057 * gst/gstpipeline.c: (gst_pipeline_change_state):
11060 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
11061 Small documentation cleanup.
11063 * libs/gst/base/gstbasetransform.c:
11064 (gst_base_transform_buffer_alloc):
11065 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
11066 is what we need and it avoids a whole lot of redundant
11067 refcount operations.
11069 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
11071 Patch by: Philip Jägenstedt <philip at lysator liu se>
11073 * docs/manual/advanced-dataaccess.xml:
11074 Fix 'Embedding static elements' section to use
11075 GST_PLUGIN_DEFINE_STATIC (#345607).
11077 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
11079 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
11080 Attempt to 'fix' spuriously failing test case: it seems like the
11081 timeout of half a second is simply too small when the system is under
11082 load otherwise, and the timeout doesn't really seem to serve any
11083 particular purpose here. Give the pipeline a few seconds to preroll
11084 first, and then give it another half a second to go from PAUSED to
11085 PLAYING and marshal the message into the main thread.
11087 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
11089 * tools/gst-feedback-m.m:
11090 Don't only use unversioned tools, try versioned tools as well
11093 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
11095 * gst/gstbus.c: (gst_bus_class_init):
11096 Fix some typos, make docs more explicit.
11098 2006-06-20 Wim Taymans <wim@fluendo.com>
11100 * tests/check/gst/gstghostpad.c: (block_callback),
11101 (GST_START_TEST), (gst_ghost_pad_suite):
11102 Added some more ghostpad tests, mainly blocking
11105 2006-06-16 Wim Taymans <wim@fluendo.com>
11107 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
11108 (gst_file_sink_close_file), (gst_file_sink_do_seek),
11109 (gst_file_sink_event), (gst_file_sink_render):
11110 * plugins/elements/gstfilesink.h:
11111 Check if we can seek in the file instead of assuming
11112 we always can. Post an error when we are asked to seek in a
11113 non-seekable file (like a fifo). Fixes #343312.
11116 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
11118 * tools/gst-launch.1.in:
11119 Un-garble (fourcc) bit in filtered caps section.
11121 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
11123 * docs/manual/advanced-autoplugging.xml:
11124 * docs/manual/basics-helloworld.xml:
11125 * docs/manual/highlevel-components.xml:
11126 Don't leak bus reference in sample code.
11128 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
11131 Add default for new --enable-plugin-docs switch.
11134 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
11137 * docs/Makefile.am:
11138 Use new ENABLE_PLUGIN_DOCS conditional.
11140 2006-06-14 Wim Taymans <wim@fluendo.com>
11142 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
11143 Make it clear with a FIXME and a real define what the #if 0
11144 previously disabled.
11146 2006-06-14 Wim Taymans <wim@fluendo.com>
11148 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
11149 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
11150 * libs/gst/base/gstbasetransform.c:
11151 (gst_base_transform_sink_eventfunc):
11152 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
11153 Don't randomly and silently reset a segment when the format
11154 changes as this is a bug somewhere upstream. Fixes #330379.
11156 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
11158 Patch by: Wouter Paesen <wouter at kangaroot net>
11160 * libs/gst/controller/gstcontroller.c:
11161 (gst_controlled_property_new):
11162 Fix controlling of float properties (#344849).
11164 * tests/check/libs/controller.c:
11165 (gst_test_mono_source_get_property),
11166 (gst_test_mono_source_set_property),
11167 (gst_test_mono_source_class_init), (GST_START_TEST):
11168 While we're at it, add some float stuff to unit test.
11170 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
11173 * docs/images/gdp-header.svg:
11175 * docs/libs/Makefile.am:
11176 * docs/libs/gdp-header.png:
11177 * libs/gst/dataprotocol/dataprotocol.c:
11178 add it to the API docs
11179 * docs/manual/intro-motivation.xml:
11182 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
11184 * gst/gst.c: (scan_and_update_registry), (init_post):
11185 If the fork()'ed child process can't write the updated registry cache
11186 file to disk for some reason, make it exit with a failure exit code,
11187 so that the parent can then re-scan the plugins itself and update the
11188 registry structures in memory and work with that (rather than failing
11189 when creating elements because seemingly no plugins are available).
11190 Refactor registry scanning code into separate function for this and
11191 also separate fork() and non-fork() code paths. Fixes #344748.
11193 2006-06-13 Wim Taymans <wim@fluendo.com>
11195 * docs/manual/advanced-dataaccess.xml:
11196 Fix wrong PluginDesc. Fixes #344755.
11198 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
11200 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
11201 Fix silly bug that prevented us from creating
11202 ~/.gstreamer-0.10 and writing the registry in one
11203 go (the first call to g_mkstemp() would overwrite the
11204 placeholder in the template string, so the second call
11205 to g_mkstemp() after creating the missing directory
11206 would then error out with 'invalid argument').
11208 2006-06-13 Edward Hervey <edward@fluendo.com>
11210 * gst/gst.c: (init_post):
11213 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
11215 * gst/glib-compat-private.h:
11216 * gst/glib-compat.c:
11217 * gst/glib-compat.h:
11218 * gst/gstvalue.c: (gst_value_serialize_flags):
11219 remove GLib 2.6 compatibility code
11221 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
11223 * gst/parse/Makefile.am:
11224 Fix build with 'make -j N' even more (#340016).
11226 2006-06-12 Wim Taymans <wim@fluendo.com>
11228 * docs/gst/gstreamer-sections.txt:
11231 2006-06-12 Wim Taymans <wim@fluendo.com>
11233 * gst/gstsegment.c: (gst_segment_set_duration),
11234 (gst_segment_set_last_stop), (gst_segment_set_seek),
11235 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
11236 (gst_segment_to_running_time), (gst_segment_clip):
11237 Use G_UNLIKELY to help the compiler a bit.
11239 2006-06-12 Wim Taymans <wim@fluendo.com>
11241 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
11243 * gst/gstevent.c: (gst_event_get_type):
11244 * gst/gstmessage.c:
11245 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
11247 constify quark registration strings. Fixes #344115
11248 Avoid unneeded type checking is _pad_push() by internally
11249 calling gst_pad_chain_unchecked().
11251 2006-06-12 Wim Taymans <wim@fluendo.com>
11253 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
11254 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
11255 (gst_subbuffer_finalize), (gst_buffer_create_sub),
11256 (gst_buffer_is_span_fast), (gst_buffer_span):
11257 Init _type for consistency.
11258 Use _FLAGS macro to avoid type check.
11259 Avoid unneeded type checks in subbufer code.
11261 2006-06-12 Wim Taymans <wim@fluendo.com>
11263 * gst/gst.c: (gst_debug_help):
11264 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
11265 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
11266 (gst_plugin_feature_list_free):
11267 * gst/gstregistry.c: (gst_registry_add_plugin),
11268 (gst_registry_add_feature), (gst_registry_plugin_filter),
11269 (gst_registry_feature_filter), (gst_registry_find_plugin),
11270 (gst_registry_find_feature), (gst_registry_get_plugin_list),
11271 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
11272 * gst/gstregistryxml.c: (load_feature),
11273 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
11274 * gst/gstminiobject.c: (gst_mini_object_unref),
11275 (gst_mini_object_replace), (gst_value_mini_object_free),
11276 (gst_value_mini_object_copy):
11277 Use _CAST macros to avoid unneeded type checking.
11278 Added some more G_UNLIKELY.
11280 2006-06-12 Wim Taymans <wim@fluendo.com>
11283 Avoid unneeded type checking.
11284 API: GST_BUFFER_IS_DISCONT
11286 * gst/gstminiobject.h:
11287 Avoid type check in flag accessor.
11289 * gst/gstelementfactory.h:
11291 * gst/gstpluginfeature.h:
11293 API: GST_ELEMENT_FACTORY_CAST
11294 API: GST_PLUGIN_CAST
11295 API: GST_PLUGIN_FEATURE_CAST
11297 2006-06-12 Wim Taymans <wim@fluendo.com>
11299 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
11300 (gst_object_unref):
11301 Add G_UNLIKELY in type registration.
11302 Avoid type check in _ref/_unref since that is also
11305 2006-06-12 Wim Taymans <wim@fluendo.com>
11307 * gst/gsterror.c: (gst_g_error_get_type):
11308 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
11309 (gst_static_pad_template_get_type):
11310 * gst/gsttaglist.c: (gst_tag_list_get_type):
11311 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
11312 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
11313 * gst/gsturi.c: (gst_uri_handler_get_type):
11314 * gst/gstvalue.c: (gst_date_get_type):
11315 * gst/gstxml.c: (gst_xml_get_type):
11316 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
11317 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
11318 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
11319 Add G_UNLIKELY in type registration.
11321 2006-06-12 Wim Taymans <wim@fluendo.com>
11323 * tools/gst-inspect.c: (print_signal_info):
11324 Properly print enum values.
11326 2006-06-12 Wim Taymans <wim@fluendo.com>
11328 * gst/gstinfo.c: (gst_debug_set_active),
11329 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
11331 Add some G_[UN]LIKELY.
11332 Maintain __gst_debug_min to avoid formatting the arguments of
11333 debug messages that will be dropped anyway to avoid a lot of
11334 overhead from the debugging system.
11336 2006-06-11 Stefan Kost <ensonic@users.sf.net>
11339 * po/POTFILES.skip:
11340 add missing files containing translatable strings, tell intltool about
11343 2006-06-11 Stefan Kost <ensonic@users.sf.net>
11345 * tests/check/libs/.cvsignore:
11346 add test-binary to ignore list
11348 2006-06-11 Stefan Kost <ensonic@users.sf.net>
11350 * docs/libs/gstreamer-libs-docs.sgml:
11351 reorder (put dp into a chapter) and indent
11353 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
11358 === release 0.10.8 ===
11360 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
11363 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
11365 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
11367 * gst/gst.c: (init_post):
11368 move pid declaration to declaration block
11370 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
11372 * gst/gst.c: (init_post):
11373 use _exit() instead of exit() in our forked child; this ensures
11374 that none of the registered exit handlers from whatever is using
11375 GStreamer get executed. This fixes gnome-mixer-applet failing
11376 to load, because ORBit would shut down.
11377 Spotted by: Edward Hervey <edward@fluendo.com>
11378 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
11381 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
11386 === release 0.10.7 ===
11388 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
11391 releasing 0.10.7, "Soepeke, ik zie ou"
11393 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
11416 * win32/common/config.h:
11417 0.10.6.2 prerelease
11419 2006-06-07 Wim Taymans <wim@fluendo.com>
11421 * gst/gstindex.c: (gst_index_gtype_resolver):
11422 * tools/gst-xmlinspect.c: (print_plugin_info):
11423 Fix leak spotted by coverity checker. Fixes #343827
11424 Fix another other leak found by paolo borelli.
11426 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
11428 * libs/gst/dataprotocol/dataprotocol.c:
11429 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
11430 (gst_dp_version_get_type), (gst_dp_init),
11431 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
11432 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
11433 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
11434 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
11435 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
11436 (gst_dp_packetizer_free):
11437 * libs/gst/dataprotocol/dataprotocol.h:
11438 API: add a GstDPPacketizer object, and create/free functions
11439 API: add GstDPVersion enum
11440 Add 1.0 event function that uses the string serialization
11441 Serialize more useful buffer flags
11444 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
11446 * tests/check/Makefile.am:
11447 * tests/check/gst/gstabi.c:
11448 * tests/check/gst/struct_ppc64.h:
11449 * tests/check/libs/libsabi.c:
11450 * tests/check/libs/struct_ppc64.h:
11451 add ppc64 structure sizes
11453 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
11455 * tests/check/Makefile.am:
11456 * tests/check/gst/gstabi.c:
11457 * tests/check/gst/struct_x86_64.h:
11458 * tests/check/libs/libsabi.c:
11459 * tests/check/libs/struct_x86_64.h:
11460 generate and add structure size lists for x86_64
11462 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
11464 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
11465 * libs/gst/check/gstcheck.h:
11466 factor out the method from tests that checks size of structures,
11467 and add code to generate the header containing these sizes
11468 * tests/check/gst/gstabi.c: (GST_START_TEST):
11469 * tests/check/gst/struct_i386.h:
11470 * tests/check/libs/libsabi.c: (GST_START_TEST):
11471 * tests/check/libs/struct_i386.h:
11474 2006-06-06 Michael Smith <msmith@fluendo.com>
11476 * gst/gstsegment.h:
11477 Don't use c++-style comments, fixes #343929
11479 2006-06-05 Edward Hervey <edward@fluendo.com>
11482 plugin_paths is not used if we build without registry support.
11484 * gst/gstsegment.c: (gst_segment_copy):
11485 _copy() was always returning NULL...
11487 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
11489 * libs/gst/dataprotocol/dataprotocol.c:
11490 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
11491 (gst_dp_packet_from_event):
11492 factor out CRC code
11494 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
11496 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
11497 make sure we unset caps
11499 2006-06-02 Michael Smith <msmith@fluendo.com>
11501 * libs/gst/check/gstcheck.c: (gst_check_init),
11502 (gst_check_chain_func):
11503 * libs/gst/check/gstcheck.h:
11504 Add a cond/mutex to the check support lib, signal this whenever we
11505 add to the buffers list. This will allow tests to not busy-wait on
11508 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
11510 * libs/gst/dataprotocol/dataprotocol.c:
11511 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
11512 (gst_dp_packet_from_event):
11513 factor out some common header init code
11515 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
11517 * docs/libs/gstreamer-libs-sections.txt:
11518 * docs/libs/tmpl/gstdataprotocol.sgml:
11519 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
11520 * libs/gst/dataprotocol/dataprotocol.h:
11521 API: make gst_dp_crc() public
11523 2006-06-01 Stefan Kost <ensonic@users.sf.net>
11525 * plugins/indexers/gstindexers.c: (plugin_init):
11526 conditionally register fileindexer (fixes #343598)
11528 2006-06-01 Stefan Kost <ensonic@users.sf.net>
11530 * gst/gsttagsetter.h:
11531 Can't cast ifaces to a class
11533 * libs/gst/net/gstnetclientclock.h:
11534 * libs/gst/net/gstnettimeprovider.h:
11535 * plugins/elements/gstfakesink.h:
11536 * plugins/elements/gstfakesrc.h:
11537 * plugins/elements/gstfdsink.h:
11538 * plugins/elements/gstfdsrc.h:
11539 * plugins/elements/gstfilesink.h:
11540 * plugins/elements/gstfilesrc.h:
11541 * plugins/elements/gstidentity.h:
11542 * plugins/elements/gstqueue.h:
11543 * plugins/elements/gsttee.h:
11544 * plugins/indexers/gstfileindex.c:
11545 * plugins/indexers/gstmemindex.c:
11546 * tests/old/examples/plugins/example.h:
11547 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
11549 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
11551 * libs/gst/dataprotocol/dataprotocol.c:
11552 (gst_dp_header_from_buffer):
11553 make sure we zero the whole ABI-compatible area
11555 2006-06-01 Wim Taymans <wim@fluendo.com>
11557 Patch by: Alessandro Decina <alessandro at nnva dot org>
11559 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
11560 Make sure the EOS flag is cleared from pads after a flush
11561 or stop. Fixes #343538.
11563 * tests/check/libs/collectpads.c: (GST_START_TEST),
11564 (gst_collect_pads_suite):
11565 Added test for collectpads reusage after EOS.
11567 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
11570 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
11571 * win32/common/libgstbase.def:
11572 export gst_collect_pads_set_flushing
11573 * win32/common/libgstreamer.def:
11574 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
11575 gst_value_fraction_multiply
11576 * win32/vs6/gst_inspect.dsp:
11577 add a link to intl.lib
11579 2006-05-30 Wim Taymans <wim@fluendo.com>
11581 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
11582 (gst_collect_pads_chain):
11583 Handle the case where a pad is removed from the collection
11584 that could cause the other pads to become collectable.
11586 2006-05-30 Wim Taymans <wim@fluendo.com>
11588 * gst/gstelement.c:
11589 Clarify the use of _release_request_pad() and
11590 _get_request_pad() a bit better.
11592 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
11593 (gst_adapter_take_buffer):
11594 Fix some doc and comment typos.
11596 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11598 * docs/gst/gstreamer-sections.txt:
11599 * docs/libs/gstreamer-libs-sections.txt:
11600 add declared symbols
11602 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
11604 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
11605 Add debug that can be enabled using a #define at the top of the file,
11606 for dumping stats about how late/early we were when waking up from
11607 waiting on the clock.
11609 2006-05-30 Wim Taymans <wim@fluendo.com>
11611 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
11612 When rebuilding the pad list, don't leak the previous list.
11614 2006-05-30 Wim Taymans <wim@fluendo.com>
11616 Patch by: Lutz Mueller <lutz at topfrose dot de>
11618 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11619 (gst_base_src_get_query_types), (gst_base_src_update_length):
11620 Publish supported query types.
11621 Update last_stop field in get_range mode so the position
11622 query works. Fixes #342321.
11624 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
11626 * docs/gst/gstreamer-sections.txt:
11627 * gst/gsttaglist.c: (_gst_tag_initialize):
11628 * gst/gsttaglist.h:
11629 API: add GST_TAG_PREVIEW_IMAGE (#343341).
11631 2006-05-30 Wim Taymans <wim@fluendo.com>
11633 Patch by: Alessandro Decina <alessandro at nnva dot org>
11635 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
11636 Unlock mutex when removing an unknown pad.
11639 * tests/check/Makefile.am:
11640 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
11641 (push_event), (setup), (teardown), (GST_START_TEST),
11642 (gst_collect_pads_suite), (main):
11643 Added collecpads check, disabled for now as check crashes for
11646 2006-05-29 Wim Taymans <wim@fluendo.com>
11648 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
11649 Don't leak pads lists.
11651 2006-05-29 Wim Taymans <wim@fluendo.com>
11653 * docs/libs/gstreamer-libs-sections.txt:
11654 * libs/gst/base/gstcollectpads.c:
11655 (gst_collect_pads_set_flushing_unlocked),
11656 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
11657 (gst_collect_pads_stop):
11658 * libs/gst/base/gstcollectpads.h:
11659 API: gst_collect_pads_set_flushing()
11660 Added api to set the pads to flushing, useful for seeking
11661 code in elements using collectpads.
11662 Clear segment when receiving a flush.
11664 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
11666 * gst/gst.c: (add_path_func), (init_post):
11667 Don't scan registry paths passed via --gst-plugin-path immediately
11668 (will crash, because absolutely nothing is set up and no types are
11669 registered etc.); do this later in init_post(). Fixes #343057.
11671 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
11673 * gst/gst.c: (init_post):
11674 if we have fork, fork while reading/rebuilding the registry
11675 so the parent doesn't take the hit of having all plugins loaded
11676 in memory. Fixes #342777.
11678 Check if we have fork()
11679 * win32/common/config.h.in:
11682 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
11684 * plugins/elements/gstelements.c:
11685 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11686 (gst_file_src_init), (gst_file_src_set_property),
11687 (gst_file_src_get_property), (gst_file_src_start):
11688 * plugins/elements/gstfilesrc.h:
11689 API: GstFileSrc::use-mmap
11691 Add a use-mmap property to enable easier testing of all code paths.
11692 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
11693 in the absence of gnomevfssrc. (Closes #340501)
11695 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11697 * tools/gst-inspect.c:
11698 Add missing include, removes warning of ngettext not being defined on
11701 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
11703 * gst/gstvalue.c: (gst_value_deserialize_fraction):
11704 Handle NULL input and output pointers silently as a failed conversion,
11705 rather than g_warnings.
11707 2006-05-25 Wim Taymans <wim@fluendo.com>
11709 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
11710 Initialize variable before using. Fixes #342820.
11712 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
11714 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
11715 Fix off-by-one bug that would only allow peeks of N-1 bytes
11716 from the start even if the buffer to typefind on contains
11717 in fact N bytes of data (makes vorbis typefinding from a
11718 vorbis identification header buffer work).
11720 * tests/check/Makefile.am:
11721 * tests/check/libs/.cvsignore:
11722 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
11723 (gst_typefindhelper_suite), (main), (foobar_typefind),
11725 Add very basic unit test for gst_type_find_helper_for_buffer()
11726 that checks for the problem fixed above.
11728 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
11730 * tools/gst-inspect.c: (print_interfaces),
11731 (print_element_properties_info), (print_element_list), (main):
11732 add more translatable strings
11734 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
11736 Patch by: Julien Moutte <julien at moutte net>
11738 * docs/gst/gstreamer-sections.txt:
11739 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
11741 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
11742 (gst_fake_sink_preroll):
11743 * plugins/elements/gstfakesink.h:
11744 API: Add new GstFakeSink::preroll-handoff signal (#337100).
11746 2006-05-23 Wim Taymans <wim@fluendo.com>
11748 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
11750 Added _CUSTOM error and success GstFlowReturn that can be
11751 used be elements internally.
11752 Added macro to check for SUCCESS flowreturns.
11753 API: GST_FLOW_CUSTOM_SUCCESS
11754 API: GST_FLOW_CUSTOM_ERROR
11755 API: GST_FLOW_IS_SUCCESS
11757 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
11758 Added check for GstFlowReturn sanity.
11760 2006-05-23 Wim Taymans <wim@fluendo.com>
11762 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11764 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
11765 (gst_collect_pads_event):
11766 clear/reset segment info in FLUSH_STOP.
11769 2006-05-22 Stefan Kost <ensonic@users.sf.net>
11771 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
11772 (gst_collect_pads_check_collected):
11773 Flush queued buffer on _stop(), fixes playing again (#342454)
11775 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
11777 * tests/check/gst/gststructure.c: (GST_START_TEST),
11778 (gst_structure_suite):
11779 add a test for a complete structure
11781 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
11783 * docs/faq/developing.xml:
11784 * docs/faq/faq.xml:
11785 * docs/faq/troubleshooting.xml:
11786 * docs/faq/using.xml:
11787 Some minor FAQ updates that won't change the fact that
11788 our FAQ is badly structured, full of information hardly
11789 anyone new to GStreamer needs to know and lacking lots
11790 of information people constantly ask for.
11792 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
11794 * gst/gstpad.c: (gst_pad_set_caps):
11795 Short-circuit gst_pad_set_caps if setting the existing
11796 caps pointer again, and avoid printing debug and
11797 reffing/unreffing the caps.
11799 * plugins/elements/gstqueue.c: (gst_queue_push_one):
11800 There's actually no need to set the caps before pushing -
11801 the acceptcaps method will handle it anyway.
11803 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
11805 * docs/gst/gstreamer-sections.txt:
11806 * win32/common/libgstreamer.def:
11807 * gst/gstutils.c: (gst_element_seek_simple):
11809 API: add gst_element_seek_simple() (#342238).
11811 2006-05-18 Edward Hervey <edward@fluendo.com>
11813 * gst/gsttypefind.c: (gst_type_find_get_type):
11814 * gst/gsttypefind.h:
11815 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
11816 registered for GstTypeFind pointers. This allows wrapping the structure
11817 in bindings (i.e. gst-python).
11819 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
11821 * gst/gsttagsetter.c:
11822 Docs additions and fixes (see #339918).
11824 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
11826 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
11827 The caps intersection algorithm can produce multiple copies of the
11828 caps. Until that is fixed, we need to simplify the result to be
11829 sure whether the allowed caps are fixed or not.
11831 * plugins/elements/gstqueue.c: (gst_queue_init),
11832 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
11833 (gst_queue_push_one):
11834 Proxied buffer alloc should not set the caps on the source pad.
11835 When pushing buffers, we always accept the caps change that triggers.
11836 This prevents negotiation errors caused by caps changing mid-stream
11837 and then being refused on our source pad (because upstream is now
11838 refusing those caps).
11840 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
11842 * tests/examples/helloworld/helloworld.c: (main):
11843 Must plug audioconvert and audioresample between decoder
11846 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
11848 * gst/gstregistryxml.c: (read_string), (load_pad_template),
11849 (load_feature), (load_plugin):
11850 Allow empty strings for some of the plugin fields so we don't
11851 drop valid plugin entries that were written out correctly
11854 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
11856 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
11857 Use g_remove and g_rename instead of remove and rename that don't
11858 handle utf8 characters. rename was failing for users who had specific
11859 characters in their name then the registry was built at each
11861 * win32/vs6/gst_inspect.dsp:
11862 * win32/vs6/gst_launch.dsp:
11863 * win32/vs6/libgstbase.dsp:
11864 * win32/vs6/libgstcoreelements.dsp:
11865 * win32/vs6/libgstreamer.dsp:
11866 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
11867 build of libgstreamer and clean unused libraries in projects link
11870 2006-05-17 Edward Hervey <edward@fluendo.com>
11872 * plugins/elements/gstqueue.c: (gst_queue_push_one):
11873 The queue is not responsible for pushing an EOS when receiving a fatal
11874 flow error. It's up to the real element driving the pipeline to do that.
11876 2006-05-16 Edward Hervey <edward@fluendo.com>
11878 * plugins/elements/gstqueue.c: (gst_queue_push_one):
11879 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
11880 buffer returned a fatal error. It should just send an EOS and stop
11882 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
11883 when pushing buffers on the queue and will be able to handle the event.
11885 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
11887 * docs/manual/basics-bins.xml:
11888 * docs/manual/basics-init.xml:
11889 Fix typos and minor errors in sample code (#341856).
11891 2006-05-16 Wim Taymans <wim@fluendo.com>
11893 * docs/design/part-qos.txt:
11894 Fix indexes in formulas to make more sense.
11896 2006-05-15 Wim Taymans <wim@fluendo.com>
11898 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11899 Don't report POSITION based on clock time if sync is
11900 disabled in a sink.
11902 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
11905 Add cast to make compiler happy - refcount variable was a gint
11906 in GstObject but is a guint in GObject and g_atomic_int_get()
11909 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
11911 * gst/parse/Makefile.am:
11912 chain commands using &&, which also makes parallel make work
11914 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
11916 * docs/gst/gstreamer-sections.txt:
11919 * gst/gstmessage.h:
11922 === release 0.10.6 ===
11924 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
11927 releasing 0.10.6, "Take the cannoli"
11929 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
11931 * tools/gst-launch.c: (print_tag):
11932 Fix use of uninitialized variable in the hypothetical
11933 case that some broken plugin creates a GST_TAG_IMAGE
11934 tag containing a NULL buffer (#341667).
11936 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
11938 * tools/gst-launch.c: (print_tag):
11939 Print something more intelligible for image tags when
11940 using the -t switch (#341556).
11942 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
11947 define GST_MAJORMINOR so we have it available in win32/common/config.h
11948 Possibly remove it from our Makefile.am files later
11949 * win32/common/config.h:
11950 * win32/common/config.h.in:
11951 added GST_MAJORMINOR
11952 * win32/common/gstenumtypes.c: (register_gst_resource_error):
11953 * win32/common/gstversion.h:
11956 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
11959 Update win32 files listing.
11960 * win32/common/gstversion.h:
11961 Add GST_MAJORMINOR definition.
11962 * win32/common/libgstreamer.def:
11963 Add new exported functions.
11965 2006-05-12 Michael Smith <msmith@fluendo.com>
11967 * gst/gstplugin.c: (gst_plugin_load_file):
11968 If an so file has no plugin entry point, unload the module.
11970 2006-05-11 Wim Taymans <wim@fluendo.com>
11972 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
11973 (gst_queue_set_property):
11974 Don't forget to signal the _chain or _loop function
11975 when the queue size or thresholds change since that might
11976 cause them to make progres again.
11978 2006-05-11 Stefan Kost <ensonic@users.sf.net>
11980 * gst/gstclock.c: (gst_clock_class_init):
11981 * gst/gstindex.c: (gst_index_class_init):
11982 * gst/gstobject.c: (gst_object_class_init):
11983 * gst/gstpad.c: (gst_pad_class_init):
11984 * gst/gstpipeline.c: (gst_pipeline_class_init):
11985 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
11986 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
11987 * libs/gst/base/gstbasetransform.c:
11988 (gst_base_transform_class_init):
11989 * libs/gst/net/gstnetclientclock.c:
11990 (gst_net_client_clock_class_init):
11991 * libs/gst/net/gstnettimeprovider.c:
11992 (gst_net_time_provider_class_init):
11993 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
11994 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
11995 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
11996 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
11997 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
11998 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11999 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
12000 * plugins/elements/gstidentity.c: (gst_identity_class_init):
12001 * plugins/elements/gsttee.c: (gst_tee_class_init):
12002 * tests/old/examples/plugins/example.c: (gst_example_class_init):
12003 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
12004 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
12006 2006-05-11 Wim Taymans <wim@fluendo.com>
12008 * gst/gstbuffer.c: (_gst_buffer_initialize):
12009 Register subbufer along with the buffer type so that
12010 it does not accidentally gets registered from N
12011 different streaming threads in a non threadsafe way.
12013 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
12017 * gst/gstmessage.h:
12018 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
12019 gst_event_ref() and gst_message_ref() functions again
12020 (ugly hack, please do fix if there's a better way besides
12021 overrides.txt, which doesn't seem to work).
12023 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
12025 * libs/gst/check/gstcheck.h:
12026 add an assert for setting state to avoid lots of repetitive code
12029 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
12031 * gst/gstvalue.c: (gst_value_serialize_flags):
12032 fix a leak if no flags are set
12033 * tests/check/gst/gstvalue.c: (GST_START_TEST):
12036 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
12038 * docs/manual/basics-pads.xml:
12039 Expand a bit on caps and filtered links and update
12040 examples that were still using the no longer existing
12041 gst_pad_link_filtered() (#338206).
12043 2006-05-10 Wim Taymans <wim@fluendo.com>
12045 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
12046 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
12047 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
12048 (gst_collect_pads_stop):
12049 * libs/gst/base/gstcollectpads.h:
12050 No need to call _stop in _finalize.
12051 Iterate the main pad list in _finalize.
12052 Added some more debug.
12053 Free lists and data in the right order.
12054 Also free data whem doing _remove_pad when stopped for
12055 backward compatibility protect ::started with PAD_LOCK as
12058 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
12060 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
12061 (gst_structure_parse_value):
12063 rename a method so that it actually says what it does better
12065 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
12067 * gst/gstevent.c: (_gst_event_initialize):
12068 * gst/gstformat.c: (_gst_format_initialize):
12069 make sure some essential types used by events are registered
12070 as part of gst_init()
12071 * gst/gstvalue.c: (gst_value_serialize_flags):
12072 if no flags are set, serialize them to a value that represents NONE
12073 so that deserializing them works
12074 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12075 add tests for serialization and deserialization of flags
12077 2006-05-10 Wim Taymans <wim@fluendo.com>
12079 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
12080 (gst_collect_pads_collect_range), (gst_collect_pads_available),
12081 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
12082 (gst_collect_pads_event), (gst_collect_pads_chain):
12085 Catch and return errors from the collect function
12086 Refuse data on eos pads.
12088 2006-05-10 Edward Hervey <edward@fluendo.com>
12090 * gst/gstinterface.h:
12091 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
12092 GInterface type checking.
12093 They were previously using non-defined macros.
12095 2006-05-09 Wim Taymans <wim@fluendo.com>
12097 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
12098 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
12099 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
12100 (gst_collect_pads_start), (gst_collect_pads_stop),
12101 (gst_collect_pads_peek), (gst_collect_pads_pop),
12102 (gst_collect_pads_available), (gst_collect_pads_read),
12103 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
12104 (gst_collect_pads_is_collected), (gst_collect_pads_event),
12105 (gst_collect_pads_chain):
12106 * libs/gst/base/gstcollectpads.h:
12107 Clean up the mess that is collectpads, add comments and
12108 FIXMEs where needed.
12109 Maintain a separate pad list so we can add pads while
12110 collecting the other ones. For this we need a new separate
12112 Fix memory leak in finalize.
12113 Refactor some weird code to set/unset pad flushing flags, mark
12115 Don't crash in _available, _read, _flush when we're EOS.
12117 * tests/check/libs/.cvsignore:
12118 Ignore adapter check binary.
12120 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
12122 * gst/gstindex.c: (gst_index_resolver_get_type):
12123 * plugins/elements/gstfakesink.c:
12124 (gst_fake_sink_state_error_get_type):
12125 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
12126 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
12127 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
12128 Const-ify GEnumValue arrays.
12130 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
12132 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12133 Add test case for flags + gst_buffer_make_metadata_writable().
12135 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
12137 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
12138 gst_buffer_make_metadata_writable() should maintain the
12139 buffer flags (those that make sense at least) (see #340859).
12141 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
12143 * tools/gst-inspect.c:
12144 * tools/gst-launch.c:
12145 * tools/gst-typefind.c:
12146 * tools/gst-xmlinspect.c:
12148 Fix up includes: need to include stdlib.h in tools.h for exit().
12150 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
12152 * gst/gsttaglist.c: (_gst_tag_initialize):
12153 * gst/gsttaglist.h:
12154 API: add GST_TAG_IMAGE tag (#340721).
12156 2006-05-08 Wim Taymans <wim@fluendo.com>
12159 Added some docs for the segment query.
12161 2006-05-08 Wim Taymans <wim@fluendo.com>
12163 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
12164 (gst_base_src_loop), (gst_base_src_change_state):
12165 Always push non-flushing serialized events in the streaming
12168 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
12170 * gst/gsterror.c: (_gst_stream_errors_init):
12171 Add a missing error string.
12173 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
12175 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
12176 Add applied_rate to the debug
12178 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
12179 Copy applied_rate into the outgoing NEWSEGMENT event
12181 2006-05-08 Wim Taymans <wim@fluendo.com>
12183 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
12185 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
12186 (gst_base_sink_change_state):
12187 call ::unlock before taking the PREROLL_LOCK so we can safely
12188 handle elements that lock in ::render.
12191 2006-05-08 Edward Hervey <edward@fluendo.com>
12193 * autogen.sh: (CONFIGURE_DEF_OPT):
12194 Darwin's libtoolize is in fact called glibtoolize.
12195 Adding glibtoolize to the list of accepted names for libtoolize.
12197 2006-05-08 Wim Taymans <wim@fluendo.com>
12199 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12200 Unify error handling, don't post an error message
12201 when a push() returns EOS but perform our normal EOS
12202 handling code. Fixes #340772.
12204 2006-05-08 Wim Taymans <wim@fluendo.com>
12206 * docs/design/part-overview.txt:
12207 Make upsteam/downstream concepts more clear.
12208 Give an example of serialized/non-serialized events.
12210 * docs/design/part-events.txt:
12211 * docs/design/part-streams.txt:
12212 Mention applied_rate.
12214 * docs/design/part-trickmodes.txt:
12215 Mention applied rate, flesh out some more use cases.
12217 * gst/gstevent.c: (gst_event_new_new_segment),
12218 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
12219 (gst_event_parse_new_segment_full), (gst_event_new_tag),
12220 (gst_event_parse_tag), (gst_event_new_buffer_size),
12221 (gst_event_parse_buffer_size), (gst_event_new_qos),
12222 (gst_event_parse_qos), (gst_event_parse_seek),
12223 (gst_event_new_navigation):
12225 Add applied_rate field to NEWSEGMENT event.
12226 API: gst_event_new_new_segment_full()
12227 API: gst_event_parse_new_segment_full()
12229 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
12230 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
12231 (gst_segment_to_stream_time), (gst_segment_to_running_time):
12232 * gst/gstsegment.h:
12233 Add applied_rate to GstSegment structure.
12234 Make calculation of stream_time and running_time more correct
12235 wrt rate/applied_rate.
12236 Add some more docs.
12237 API: GstSegment::applied_rate field
12238 API: gst_segment_set_newsegment_full();
12240 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
12241 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
12242 * libs/gst/base/gstbasetransform.c:
12243 (gst_base_transform_sink_eventfunc),
12244 (gst_base_transform_handle_buffer):
12245 Parse and use applied_rate in the GstSegment field.
12247 * tests/check/gst/gstevent.c: (GST_START_TEST):
12248 Add check for applied_rate field.
12250 * tests/check/gst/gstsegment.c: (GST_START_TEST),
12251 (gstsegments_suite):
12252 Add more checks for various GstSegment operations.
12254 2006-05-08 Wim Taymans <wim@fluendo.com>
12256 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
12257 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
12258 (gst_base_sink_get_position), (gst_base_sink_change_state):
12259 Store the sync time of the buffer end position separatly in a
12260 new variable eos_rtime so we can properly sync the EOS event.
12262 Fix the docs for gst_base_sink_set_qos_enabled().
12263 Don't set segment start to invalid value when we receive a
12264 non TIME newsegment.
12265 get closer to handling position reporting for negative rates
12268 2006-05-07 Stefan Kost <ensonic@users.sf.net>
12271 Docs about how to print caps for debug purposes.
12273 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
12274 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
12276 2006-05-07 Stefan Kost <ensonic@users.sf.net>
12278 * gst/gstelement.c:
12279 use full enum names and preprend a '%' in docs strings to make recent
12280 gtk-doc turn that into a link
12282 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
12284 * docs/manual/basics-bins.xml:
12285 * docs/manual/basics-bus.xml:
12286 * docs/manual/basics-pads.xml:
12287 Some typo fixes, some additions, some clarifications.
12289 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
12291 * tools/gst-inspect.c: (main):
12292 * tools/gst-launch.c: (main):
12293 * tools/gst-run.c: (main):
12294 * tools/gst-typefind.c: (main):
12295 * tools/gst-xmlinspect.c: (main):
12296 Use the string passed to g_option_context_new() for
12297 what it's intended for - the program name is already
12300 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
12302 * tools/Makefile.am:
12303 * tools/gst-inspect.c: (main):
12304 * tools/gst-launch.c: (main):
12305 * tools/gst-xmlinspect.c: (main):
12307 Add back --version command line option (#340460).
12309 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
12310 Add --version option and use GOption for argument parsing; refactor a
12311 bit; accept directories as arguments and recurse into them; lastly,
12312 print a decent error message when things go wrong.
12314 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
12316 * docs/manual/basics-bins.xml:
12317 Don't mention GstThread (#340611)
12318 * docs/manual/basics-elements.xml:
12319 Update link to GObject tutorial (#340607)
12321 2006-05-05 Wim Taymans <wim@fluendo.com>
12324 * gst/gstminiobject.c:
12325 Add note about refcounting and miniobject/buffer writeability
12326 to docs. Fixes #340604
12328 * gst/gstelementfactory.h:
12329 Added some explanation about @klass.
12331 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
12333 * docs/manual/intro-motivation.xml:
12334 * docs/manual/manual.xml:
12335 Avoid CORBA & Bonobo references (#340598)
12337 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
12339 * docs/manual/basics-bus.xml:
12340 * docs/manual/basics-pads.xml:
12341 Fix up some inaccuracies and omissions (#340609)
12343 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
12345 * gst/gstghostpad.c:
12346 Small typo in docs (#340625)
12348 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
12350 * gst/parse/Makefile.am:
12351 Make 'make -j' proof (see #340698).
12353 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
12356 Require GLib-2.8 here as well.
12358 2006-05-05 Wim Taymans <wim@fluendo.com>
12360 * gst/glib-compat.c:
12361 * gst/gst.c: (init_pre):
12362 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
12363 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
12364 (gst_object_dispatch_properties_changed):
12366 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
12367 * gst/gststructure.c: (gst_structure_set_valist):
12368 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
12369 Remove pre glib2.8 compatibility, fixes #340508
12371 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
12373 * gst/gsttaglist.h:
12374 Mention type of tags in doc blurbs.
12376 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
12378 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
12379 (gst_pad_configure_src), (gst_pad_push):
12380 Restore acceptcaps checking behaviour now that good plugins have
12383 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
12385 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
12392 * gst/gstmessage.c:
12396 * gst/parse/Makefile.am:
12397 * libs/gst/base/gstadapter.c:
12398 * libs/gst/base/gstbasesrc.c:
12399 * libs/gst/base/gstpushsrc.c:
12400 * libs/gst/base/gsttypefindhelper.c:
12401 * plugins/elements/gstfakesrc.c:
12402 * plugins/elements/gstidentity.c:
12403 Make sure gstprivate.h and/or config.h are
12404 always included first, otherwise some of our
12405 defines (like _FILE_OFFSET_BITS) might be
12406 redefined in the system headers. Fixes build
12407 on opensolaris (#340016).
12409 2006-05-04 Wim Taymans <wim@fluendo.com>
12411 * docs/libs/gstreamer-libs-sections.txt:
12412 API: addition: gst_adapter_take_buffer()
12414 * libs/gst/base/gstadapter.c: (gst_adapter_push),
12415 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
12416 (gst_adapter_available_fast):
12417 * libs/gst/base/gstadapter.h:
12418 Prepare for optimizing the hell out of this hugely inefficient
12420 Added gst_adapter_take_buffer() so we can at least start thinking
12421 about subbuffering and merging.
12422 Added some comments.
12424 * tests/check/Makefile.am:
12425 * tests/check/libs/adapter.c: (GST_START_TEST),
12426 (gst_adapter_suite), (main):
12427 Added GstAdapter check.
12429 2006-05-04 Wim Taymans <wim@fluendo.com>
12431 * docs/design/part-overview.txt:
12432 Fix some typos, add blurb about buffer flags.
12434 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
12436 * docs/libs/gstreamer-libs-sections.txt:
12437 make sure GstBaseTransformClass shows up in the docs
12438 * libs/gst/base/gstbasetransform.c:
12439 * libs/gst/base/gstbasetransform.h:
12440 move docs so gtk-doc picks it up now
12442 2006-05-02 Stefan Kost <ensonic@users.sf.net>
12444 * docs/libs/gstreamer-libs-sections.txt:
12445 add missing symbols to docs
12447 2006-05-02 Stefan Kost <ensonic@users.sf.net>
12449 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
12450 back out the newsegment handling change, see #340060 for ongoing
12453 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
12455 * tools/gst-run.c: (get_candidates), (main):
12456 Fix wrong g_file_test() usage (see glib docs for why it doesn't
12457 work); fix typo in error message. Fixes #340079.
12459 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
12461 * common/Makefile.am:
12462 * docs/Makefile.am:
12463 * docs/faq/Makefile.am:
12464 * docs/gst/Makefile.am:
12465 * docs/libs/Makefile.am:
12466 * docs/manual/Makefile.am:
12467 * docs/plugins/Makefile.am:
12468 * docs/pwg/Makefile.am:
12469 * docs/slides/Makefile.am:
12471 * common/upload.mak:
12472 move upload.mak to common
12474 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
12476 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
12477 add more asserts on refcounts
12478 do more cleanup at end of tests
12479 fix test leaks showing in FC5
12481 2006-04-29 Stefan Kost <ensonic@users.sf.net>
12483 * plugins/elements/gsttypefindelement.c:
12484 (gst_type_find_element_handle_event):
12485 reverted wrong change and reflowed code to avoid others falling into
12488 2006-04-28 Stefan Kost <ensonic@users.sf.net>
12490 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
12491 fix changelog entry about last collectpads change,
12492 add notes about proper fix
12494 2006-04-28 Stefan Kost <ensonic@users.sf.net>
12497 * gst/gstregistry.c: (gst_registry_scan_path_level),
12498 (gst_registry_scan_path):
12499 * gst/gstregistry.h:
12500 only write out registry if it has changed, fixes #338339
12502 2006-04-28 Stefan Kost <ensonic@users.sf.net>
12505 * gst/gstpipeline.c:
12506 * plugins/elements/gstcapsfilter.c:
12507 * plugins/elements/gstfakesink.c:
12508 * plugins/elements/gstfakesrc.c:
12509 * plugins/elements/gstfdsink.c:
12510 * plugins/elements/gstfdsrc.c:
12511 * plugins/elements/gstfilesink.c:
12512 * plugins/elements/gstfilesrc.c:
12513 * plugins/elements/gstidentity.c:
12514 * plugins/elements/gstqueue.c:
12515 * plugins/elements/gsttee.c:
12516 * plugins/elements/gsttypefindelement.c:
12517 (gst_type_find_element_handle_event):
12518 make GstElementDetails const
12520 2006-04-28 Stefan Kost <ensonic@users.sf.net>
12522 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
12523 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
12524 (gst_collect_pads_is_collected), (gst_collect_pads_event):
12525 more detailed debug and formatting cleanup,
12526 forward newsegments to src-pad (so that e.g. adder not eats them)
12528 2006-04-28 Stefan Kost <ensonic@users.sf.net>
12530 * gst/gstutils.c: (gst_element_link_pads):
12531 cleanup double code
12533 2006-04-28 Stefan Kost <ensonic@users.sf.net>
12535 * libs/gst/controller/gstcontroller.c:
12536 (gst_controller_sync_values):
12538 * tests/check/libs/controller.c: (GST_START_TEST),
12539 (gst_controller_suite):
12540 a new test for live value handling
12542 2006-04-28 Wim Taymans <wim@fluendo.com>
12544 * gst/gstutils.c: (push_and_ref):
12545 Added some more docs.
12546 Fix refcount issue whith gst_element_found_tags() helper
12547 function. Fixes #338335
12549 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12550 Added testsuite for gst_element_found_tags().
12552 2006-04-28 Michael Smith <msmith@fluendo.com>
12554 * gst/gstvalue.c: (gst_value_serialize_flags):
12555 Avoid NULL dereference when trying to serialize flags containing
12558 2006-04-28 Michael Smith <msmith@fluendo.com>
12560 * plugins/elements/gsttypefindelement.c:
12561 (gst_type_find_element_handle_event):
12562 If we get EOS before any data is accumulated, don't use
12563 uninitialised local variables.
12565 2006-04-28 Michael Smith <msmith@fluendo.com>
12567 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
12568 (gst_dp_event_from_packet):
12569 Fixes in reading/writing events over GDP (not currently used?) -
12570 dereferencing NULL events for unknown/invalid event types, memory
12571 leak, and change g_warning to GST_WARNING.
12573 2006-04-28 Wim Taymans <wim@fluendo.com>
12575 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
12576 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
12577 (gst_base_sink_get_position), (gst_base_sink_change_state):
12578 When frame dropping is enabled, we should not ignore frames
12579 without a duration.
12580 Update some documentation.
12582 2006-04-28 Wim Taymans <wim@fluendo.com>
12584 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
12585 (gst_base_src_send_event), (gst_base_src_change_state):
12586 Documentation updates.
12588 2006-04-28 Wim Taymans <wim@fluendo.com>
12590 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
12591 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
12592 handle EAGAIN, EINTR and short writes correctly. Also clean
12593 up some error cases, avoid a deadlock on bad file descriptors and
12594 use GST_DEBUG_OBJECT.
12597 2006-04-28 Wim Taymans <wim@fluendo.com>
12599 * gst/gstvalue.c: (gst_value_serialize_buffer),
12600 (gst_value_deserialize_buffer):
12601 Don't try to serialize a GValue with a NULL buffer.
12604 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12605 Added check for serialisation of NULL buffers.
12607 2006-04-28 Wim Taymans <wim@fluendo.com>
12609 * gst/gstminiobject.c: (gst_value_take_mini_object):
12610 Taking a NULL miniobject is valid, fix the case where
12611 we try to unref the NULL miniobject.
12613 2006-04-28 Wim Taymans <wim@fluendo.com>
12615 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
12617 * gst/gstbin.c: (gst_bin_handle_message_func):
12619 Don't leak bin refcount when a state recalc is
12620 in progress and we delay another one #339808.
12622 2006-04-28 Wim Taymans <wim@fluendo.com>
12624 * docs/design/part-TODO.txt:
12625 Mention QoS as an ongoing work item.
12627 * docs/design/part-buffering.txt:
12628 New doc about buffering that needs to be fleshed out
12631 * docs/design/part-qos.txt:
12632 More QoS policy for decoders/demuxers/transforms
12634 * docs/design/part-trickmodes.txt:
12637 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
12642 === release 0.10.5 ===
12644 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
12647 releasing 0.10.5, "Fogo"
12649 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
12651 patch by: Wim Taymans
12653 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
12654 (gst_pad_configure_src), (gst_pad_push):
12655 * gst/gstpipeline.c: (gst_pipeline_init):
12656 Fix internal data flow errors. Fixes #338711.
12658 2006-04-12 Wim Taymans <wim@fluendo.com>
12660 * tests/check/gst/gstelement.c: (GST_START_TEST):
12661 Don't leak the factory.
12663 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
12666 * win32/common/config.h:
12669 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
12671 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
12672 (gst_controller_unset_all):
12673 Free allocated GstTimedValues when freeing list nodes.
12674 Should fix leaks 'make check-valgrind' complains about.
12676 * win32/common/libgstcontroller.def:
12677 Add gst_controller_unset_all.
12679 2006-04-11 Stefan Kost <ensonic@users.sf.net>
12681 * docs/libs/gstreamer-libs-sections.txt:
12682 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
12683 (gst_controller_unset_all):
12684 * libs/gst/controller/gstcontroller.h:
12685 API: Added new method gst_controller_unset_all()
12686 fixed gst_controller_unset()
12687 * tests/check/libs/controller.c: (GST_START_TEST),
12688 (gst_controller_suite):
12689 Added two testcases for new and fixed method
12691 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
12693 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12694 MSG_DONTWAIT is not defined on Cygwin, so work
12695 around that (fixes #317048).
12697 2006-04-11 Wim Taymans <wim@fluendo.com>
12699 * gst/gstelementfactory.c: (gst_element_register),
12700 (gst_element_factory_create), (gst_element_factory_make):
12703 Updated docs (Fixes #131079)
12705 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
12708 * tests/check/gst/gstelement.c: (GST_START_TEST),
12709 (gst_element_suite):
12710 Added testcase for elementfactory class field.
12712 2006-04-10 Wim Taymans <wim@fluendo.com>
12714 * gst/gstsegment.c:
12715 Added some more docs.
12717 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
12718 (gst_base_sink_reset_qos):
12719 Calculate more accurate rate values.
12721 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
12723 * gst/gst_private.h:
12724 add a new #ifdef to use __declspec(dllimport) only for
12725 other modules and not for gstreamer core
12726 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
12727 use gst_guint64_to_gdouble for conversion
12728 * win32/common/libgstreamer.def:
12729 add new exported functions
12730 * win32/vs6/gst_inspect.dsp:
12731 * win32/vs6/gst_launch.dsp:
12732 * win32/vs6/libgstbase.dsp:
12733 * win32/vs6/libgstcontroller.dsp:
12734 * win32/vs6/libgstcoreelements.dsp:
12735 * win32/vs6/libgstdataprotocol.dsp:
12736 * win32/vs6/libgstnet.dsp:
12737 update project files
12739 2006-04-08 Stefan Kost <ensonic@users.sf.net>
12741 * gst/gstbuffer.c: (gst_subbuffer_class_init):
12742 * gst/gstclock.c: (gst_clock_class_init):
12743 * gst/gstelement.c: (gst_element_class_init):
12744 * gst/gstindex.c: (gst_index_class_init):
12745 * gst/gstindexfactory.c: (gst_index_factory_class_init):
12746 * gst/gstobject.c: (gst_object_class_init),
12747 (gst_signal_object_class_init):
12748 * gst/gstpad.c: (gst_pad_class_init):
12749 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
12750 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
12751 * gst/gstregistry.c: (gst_registry_class_init):
12752 * gst/gstsystemclock.c: (gst_system_clock_class_init):
12753 * gst/gsttask.c: (gst_task_class_init):
12754 * gst/gstxml.c: (gst_xml_class_init):
12755 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
12756 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12757 (gst_base_src_loop):
12758 * libs/gst/controller/gstcontroller.c:/
12759 (_gst_controller_class_init):
12760 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
12761 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
12762 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
12763 * tests/old/examples/plugins/example.c: (gst_example_class_init):
12764 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
12765 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
12767 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
12769 * gst/gstpad.c: (gst_pad_link):
12770 Must set peer pads before calling the link function, otherwise
12771 a task started from a link function might get a flow-not-linked
12772 result when trying to push because the other thread where the
12773 linking happens hasn't had a chance to set the peers yet. This
12774 might happen for example when a queue gets linked to a downstream
12775 element, as queue starts a streaming task when its source pad
12776 gets linked. Happens in real life when playing back flac/musepack
12777 files in playbin (#332390).
12779 2006-04-08 Stefan Kost <ensonic@users.sf.net>
12783 * libs/gst/base/gstadapter.h:
12784 * libs/gst/base/gstbasesink.h:
12785 * libs/gst/base/gstbasesrc.h:
12786 * libs/gst/base/gstbasetransform.h:
12787 * libs/gst/base/gstcollectpads.h:
12788 * libs/gst/base/gstpushsrc.h:
12789 Fix broken GObject macros
12791 2006-04-07 Wim Taymans <wim@fluendo.com>
12793 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12794 Initialize start and stop times, thanks valgrind.
12796 2006-04-07 Wim Taymans <wim@fluendo.com>
12798 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12799 Be a bit nicer to badly behaving upstream elements that expect
12800 us to deal with non TIME segments and timestamps (such as fakesrc
12803 2006-04-07 Wim Taymans <wim@fluendo.com>
12806 Small documentation clarification about the signal watch.
12808 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
12809 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
12810 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
12811 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
12812 (gst_base_sink_get_position_last),
12813 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
12814 Convert and store timestamps in stream time and running time, the
12815 raw timestamps are not useful, also document this better.
12816 Use different window sizes for good and bad QoS observations so
12817 we react to badness a little quicker.
12818 Keep track of the amount of rendered and dropped buffers.
12819 Send QoS timestamps in running time.
12821 * libs/gst/base/gstbasetransform.c:
12822 (gst_base_transform_sink_eventfunc),
12823 (gst_base_transform_handle_buffer):
12824 Compare QoS timestamps against running time.
12826 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
12829 Typo fixes in docs.
12831 2006-04-06 Michael Smith <msmith@fluendo.com>
12833 * gst/gstpad.c: (gst_pad_set_property):
12834 Use g_value_get_object() instead of g_value_dup_gst_object(),
12835 to avoid double-reffing the pad template (which we then sink,
12836 so this worked previously if (and only if) the pad template
12839 * gst/gstpadtemplate.c: (gst_pad_template_init),
12840 (gst_pad_template_pad_created):
12841 Never return floating references to pad templates, create
12842 them as initially-sunken.
12844 Document an extra function (and make this stop sinking our
12845 pad template, since that is now guaranteed to do nothing,
12846 since we created it sunken).
12848 * gst/gstghostpad.c:
12851 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
12853 * gst/gstinfo.c: (__gst_in_valgrind):
12856 * plugins/elements/gsttypefindelement.c:
12857 (gst_type_find_element_chain):
12858 Don't leak buffer caps.
12860 2006-04-06 Michael Smith <msmith@fluendo.com>
12862 * gst/parse/grammar.y:
12863 Fix a leak in parse-launch for any source-or-sink named element
12866 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
12867 Unref the pipeline if it exists after we've failed parsing.
12869 2006-04-05 Michael Smith <msmith@fluendo.com>
12871 * gst/gstpipeline.c: (gst_pipeline_init):
12872 When we create a pipeline bus, initially create it in flushing mode.
12873 Fixes leaks in at least one test, and makes a new pipeline work the
12874 same as one that has gone to READY and then back to NULL.
12876 * gst/gstelement.c:
12879 2006-04-05 Michael Smith <msmith@fluendo.com>
12881 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
12882 Unref a pad we reffed.
12883 * tests/check/gst/gstutils.c: (GST_START_TEST):
12886 2006-04-05 Michael Smith <msmith@fluendo.com>
12888 * gst/gstquery.c: (gst_query_set_formats),
12889 (gst_query_set_formatsv):
12890 Fix leaking GValues in queries, as shown by valgrind/testsuite.
12892 2006-04-05 Michael Smith <msmith@fluendo.com>
12894 * tests/check/generic/sinks.c: (GST_START_TEST):
12895 Fix a variety of memleaks in sinks check, which are only sometimes
12896 shown by running the tests under valgrind (weird?).
12898 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
12900 * docs/version.entities.in:
12901 Fix the substituted entity name after thomas' changes on the
12904 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12906 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
12909 2006-04-05 Andy Wingo <wingo@pobox.com>
12911 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
12913 * libs/gst/base/gstbasetransform.c
12914 (gst_base_transform_sink_eventfunc): When resetting our segment on
12915 FLUSH_STOP, also update the flag saying we haven't seen a
12918 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
12920 Patch by: Paolo Borelli <pborelli at katamail dot com>
12922 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
12923 (gst_plugin_check_license):
12924 minor clean-ups: G_DEFINE_TYPE already takes care of the
12925 parent_class stuff, no need to do it twice. Mark array of
12926 license strings as constant. (#337103)
12928 2006-04-04 Michael Smith <msmith@fluendo.com>
12930 * tools/gst-inspect.c: (print_element_list):
12931 Free the right plugin list; fixes a memory leak.
12933 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
12935 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
12937 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
12938 Don't error out on empty buffers (#336945).
12940 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
12942 * docs/libs/gstreamer-libs-sections.txt:
12943 * gst/gsttaglist.c:
12944 * libs/gst/base/gstbasesink.c:
12945 * libs/gst/base/gstbasesink.h:
12946 * libs/gst/base/gstbasesrc.c:
12947 * libs/gst/base/gstbasesrc.h:
12948 Documentation updates. Make BaseSink and BaseSrc docs contain the
12949 class structure so that people can actually see the prototypes for
12950 virtual functions they're supposed to be overriding.
12952 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
12954 * plugins/elements/gsttypefindelement.c:
12955 (gst_type_find_element_chain):
12956 More debug info; when skipping typefinding, send cached
12957 events in all cases.
12959 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
12962 use new AS_VERSION and AS_NANO macros
12963 * gst/gst-i18n-lib.h:
12966 * gst/gstversion.h.in:
12967 * win32/common/config.h:
12968 * win32/common/config.h.in:
12971 2006-03-31 Michael Smith <msmith@fluendo.com>
12973 * plugins/elements/gsttypefindelement.c:
12974 (gst_type_find_element_chain):
12975 Do not typefind content if the buffers already have caps.
12976 Neccesary for icydemux (#333657), and the right thing to do anyway.
12978 2006-03-30 Wim Taymans <wim@fluendo.com>
12980 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
12981 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
12982 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
12983 (gst_base_sink_record_qos_observation),
12984 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
12985 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
12986 (gst_base_sink_change_state):
12987 More QoS measurements as described in the design doc.
12988 Get rid of ringbuffer with observations, running average is
12989 more simple and equally good.
12990 Calculates valid proportion now.
12991 Added beginning of flood measurement.
12993 2006-03-29 Wim Taymans <wim@fluendo.com>
12995 * docs/design/part-qos.txt:
12997 Small documentation updates and additions.
12999 2006-03-29 Wim Taymans <wim@fluendo.com>
13001 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
13002 (gst_base_src_send_event), (gst_base_src_loop),
13003 (gst_base_src_change_state):
13004 Perform the EOS logic when we reach the segment stop position.
13005 Fix compilation on gcc4.1
13007 2006-03-29 Wim Taymans <wim@fluendo.com>
13009 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
13011 * plugins/elements/gstqueue.c: (gst_queue_init),
13012 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
13013 (gst_queue_set_property):
13014 * plugins/elements/gstqueue.h:
13015 In queue, when EOS is received, if minimum threshold > max_size -
13016 current_level, there is chance that queue blocks forever in conditional
13017 item del wait. This is because the queue is not emptied completely due
13018 to minimum threshold. Here is another approach. Instead of setting
13019 cur_levels to max in EOS, just zero all minimum threshold levels. This
13020 should make sure that queue gives out all data. When going to READY
13021 (stop) state, just reset the original minimum threshold levels.
13024 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
13026 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
13027 (gst_type_find_element_handle_event),
13028 (gst_type_find_element_send_cached_events),
13029 (gst_type_find_element_change_state):
13030 * plugins/elements/gsttypefindelement.h:
13031 When typefinding is done in push mode, we should cache
13032 events we receive during typefinding instead of just
13033 dropping them (e.g. newsegment, custom events from
13034 dvdreadsrc etc.) and then send them out once we've
13035 determined the type of the stream (and decodebin
13036 has had a chance to plug in a decoder/demuxer).
13038 2006-03-27 Wim Taymans <wim@fluendo.com>
13040 * docs/design/part-qos.txt:
13043 2006-03-27 Wim Taymans <wim@fluendo.com>
13045 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
13047 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
13048 (gst_base_src_send_event), (gst_base_src_change_state):
13049 Handle element seek correctly when we are streaming.
13052 2006-03-24 Michael Smith <msmith@fluendo.com>
13054 * docs/faq/gst-uninstalled:
13055 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
13056 allow you to correctly run intalled applications built against old
13057 core, using plugins that require updated core (e.g. running
13058 installed totem against a full uninstalled gstreamer stack)
13060 2006-03-24 Stefan Kost <ensonic@users.sf.net>
13062 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
13065 2006-03-24 Wim Taymans <wim@fluendo.com>
13067 * docs/gst/gstreamer-sections.txt:
13068 Rearrange the order of the methods so that related methods
13069 are grouped together in sections.
13071 2006-03-24 Stefan Kost <ensonic@users.sf.net>
13073 * gst/gstelement.c:
13074 Little clarification in the docs
13076 2006-03-24 Stefan Kost <ensonic@users.sf.net>
13080 * plugins/elements/gstidentity.c:
13081 * plugins/elements/gstqueue.c:
13082 * plugins/elements/gsttee.c:
13083 * plugins/elements/gsttypefindelement.c:
13084 GST_ELEMENT_DETAILS formatting
13086 2006-03-24 Wim Taymans <wim@fluendo.com>
13088 * libs/gst/base/gstbasesink.h:
13089 Only add fields, not insert or we break ABI.
13091 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
13093 * win32/common/libgstbase.def:
13094 * win32/common/libgstreamer.def:
13095 Update, add recently added functions.
13097 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
13099 * docs/gst/gstreamer-sections.txt:
13100 * gst/gstutils.c: (gst_pad_query_peer_position),
13101 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
13103 API: add some new utility functions:
13104 - gst_pad_query_peer_position()
13105 - gst_pad_query_peer_duration()
13106 - gst_pad_query_peer_convert()
13108 2006-03-23 Wim Taymans <wim@fluendo.com>
13110 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
13111 (gst_base_sink_init), (gst_base_sink_finalize),
13112 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
13113 (gst_base_sink_set_property), (gst_base_sink_get_property),
13114 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
13115 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
13116 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
13117 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
13118 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
13119 (gst_base_sink_preroll_object), (gst_base_sink_event),
13120 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
13121 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
13122 (gst_base_sink_query), (gst_base_sink_change_state):
13123 Decouple max-lateness and the fact that QoS messages are generated
13124 with a new property (qos).
13125 added API: GstBaseSink::async_play()
13126 Add vmethod so subclasses can be notified of ASYNC playing
13128 Collect timestamp start and stop to report better current
13129 position in EOS/PLAYING/PAUSED/READY/NULL.
13130 Refactor QoS/frame dropping and other measurements.
13131 API: GstBaseSrc::qos
13134 * libs/gst/base/gstbasesink.h:
13135 Added Private struct.
13136 API: gst_base_sink_set_qos_enabled()
13137 API: gst_base_sink_is_qos_enabled()
13139 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
13141 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
13142 If compiling against GLib-2.8 or newer, try to read the
13143 registry file using GMappedFile first before falling back
13144 to fopen() + fread() (#332151).
13146 2006-03-22 Wim Taymans <wim@fluendo.com>
13148 * gst/gstinfo.c: (gst_debug_set_active),
13149 (gst_debug_category_set_threshold):
13150 Disable debugging unless explicitly activated.
13153 2006-03-22 Wim Taymans <wim@fluendo.com>
13155 * gst/gstelement.c: (gst_element_set_locked_state),
13156 (gst_element_dispose):
13157 Cleanup the error case.
13159 * gst/gstobject.c: (gst_object_dispose):
13160 print a critical when some object was disposed with
13161 a parent, also revive the object since it might
13164 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
13166 * tools/gst-launch.1.in:
13169 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
13172 * tests/check/Makefile.am:
13173 disable some tests when we don't have a registry
13174 * tests/check/gst/gstutils.c: (gst_utils_suite):
13175 don't build the part that needs parsing
13177 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
13180 * tests/examples/Makefile.am:
13181 fix --disable-parse build
13183 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
13185 * tools/gst-feedback.1.in:
13186 Fix typo: s/feeback/feedback/ (#133494).
13188 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
13190 * tools/Makefile.am:
13191 * tools/gst-launch.1.in:
13192 Add FILES section and correct entry about GST_REGISTRY_PATH
13193 environment variable (#133495; #133494).
13195 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
13197 * tools/Makefile.am:
13198 * tools/gst-md5sum.1.in:
13199 * tools/gst-md5sum.c:
13200 Remove gst-md5sum and man page (the md5sink element
13201 required was removed ages ago)
13203 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
13205 * gst/gststructure.c: (gst_structure_id_set_value):
13206 Make sure that string fields in structures/taglists
13207 contain valid UTF-8 - we don't want to pass rubbish to
13208 applications because of a buggy plugin (cp. #334167).
13210 2006-03-21 Edward Hervey <edward@fluendo.com>
13212 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
13213 (gst_bin_handle_message_func):
13214 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
13215 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
13216 (gst_element_set_bus_func):
13217 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
13218 * gst/gstminiobject.c: (gst_value_set_mini_object),
13219 (gst_value_take_mini_object):
13220 * gst/gstpad.c: (gst_pad_set_pad_template):
13221 * gst/gstpipeline.c: (gst_pipeline_dispose),
13222 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
13223 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
13224 (gst_collect_pads_chain):
13225 * libs/gst/net/gstnettimeprovider.c:
13226 (gst_net_time_provider_set_property):
13227 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
13228 It's in fact all issues with gst_*object_replace().
13230 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
13232 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
13234 * pkgconfig/gstreamer-check-uninstalled.pc.in:
13235 * pkgconfig/gstreamer-check.pc.in:
13236 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
13238 2006-03-21 Edward Hervey <edward@fluendo.com>
13242 * gst/gstmessage.h:
13243 gst_[buffer|event|message]_ref() macros are replaced by a static
13244 inline functions because gcc-4.1 will about if the return value
13246 * tests/check/gst/gstevent.c: (event_probe):
13247 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
13249 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
13252 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
13253 the type' case. (Closes: #335195 for now). In the future, when we
13254 depend on GLib 2.10, we could also intern the type name using
13255 g_intern_static_string()
13257 2006-03-20 Wim Taymans <wim@fluendo.com>
13259 * gst/gstbin.c: (gst_bin_handle_message_func),
13260 (bin_query_max_init), (bin_query_position_fold),
13261 (bin_query_position_done), (gst_bin_query):
13262 Position query should also take max of all streams.
13264 2006-03-20 Wim Taymans <wim@fluendo.com>
13266 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13267 (gst_fake_src_finalize):
13268 Fix leaks in fakesrc.
13270 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13271 Fix leaks in the testcase.
13273 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
13275 * gst/gst_private.h:
13276 add win32 specific import decoration(__declspec(dllimport))
13277 for all extern GstDebugCategory * variables
13278 * win32/common/libgstbase.def:
13279 * win32/common/libgstcontroller.def:
13280 * win32/common/libgstreamer.def:
13281 Add some exports, remove empty lines
13282 * win32/common/libgstdataprotocol.def:
13283 * win32/common/libgstdataprotocol.dsp:
13284 * win32/common/libgstnet.def:
13285 * win32/common/libgstnet.dsp:
13286 new project files and exportation files added
13288 2006-03-19 Wim Taymans <wim@fluendo.com>
13290 * tests/check/libs/basesrc.c: (eos_event_counter):
13291 Use proper return value for probe.
13293 2006-03-17 Wim Taymans <wim@fluendo.com>
13295 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
13297 Don't leak buffers, caps and pads on negotiation errors.
13299 2006-03-16 Stefan Kost <ensonic@users.sf.net>
13301 * docs/faq/cvs.xml:
13302 * docs/faq/dependencies.xml:
13303 * docs/faq/developing.xml:
13304 * docs/faq/faq.xml:
13305 * docs/faq/general.xml:
13306 * docs/faq/getting.xml:
13307 * docs/faq/legal.xml:
13308 * docs/faq/troubleshooting.xml:
13309 * docs/faq/using.xml:
13310 Faq review and update.
13312 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
13314 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
13316 Don't pound the cpu to pieces by checking get_caps when accept_caps
13317 is called with the same caps as the pad already has.
13318 Use GST_DEBUG_OBJECT when outputting caps change information.
13320 2006-03-15 Wim Taymans <wim@fluendo.com>
13322 * gst/gstclock.c: (gst_clock_class_init):
13325 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
13330 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
13331 (gst_pad_accept_caps), (gst_pad_configure_sink),
13332 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
13333 Make the default acceptcaps behaviour be to check the requested
13334 caps against the gst_pad_get_caps output.
13336 Ensure that gst_pad_accept_caps is used to check caps when a pad
13337 doesn't have a setcaps function, so that pads automatically refuse
13338 caps that they don't allow in their pad template. (Fixes #332986)
13340 When a buffer with attached caps is pushed, ensure that the source
13341 pad receives those caps even if the element didn't call
13342 gst_pad_set_caps first.
13344 2006-03-15 Wim Taymans <wim@fluendo.com>
13346 * libs/gst/base/gstadapter.c:
13349 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
13351 * win32/common/libgstbase.def:
13352 * win32/common/libgstcontroller.def:
13353 * win32/common/libgstreamer.def:
13354 Add a whole bunch of missing functions (#334434).
13356 2006-03-14 Wim Taymans <wim@fluendo.com>
13358 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
13359 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
13360 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
13361 Better debug info when we receive a segment event.
13362 Reorganize a bit so we can pass the get_times() results around.
13363 Use the segment format when calculating the running time.
13364 Don't do QoS is sync is disabled or we have no clock or the
13365 element does not want us to sync to the clock.
13366 Don't drop buffers if QoS is disabled for now.
13368 2006-03-14 Wim Taymans <wim@fluendo.com>
13370 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
13371 Marked the stats property as unimplemented so people don't get
13373 Add debug message when regression goes wrong.
13374 Added some more docs.
13376 2006-03-14 Wim Taymans <wim@fluendo.com>
13378 * gst/gstsegment.c: (gst_segment_to_stream_time):
13379 Return correct return type in case of errors.
13381 2006-03-14 Wim Taymans <wim@fluendo.com>
13383 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
13384 Don't segfault on invalid formats.
13386 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
13388 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13389 Can't use gst_segment_to_running_time() when the segment
13390 is not in GST_TIME_FORMAT (like with filesink, for example).
13391 Stops flac encoding pipelines from spewing critical warnings
13394 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
13396 * gst/gstpipeline.c: (gst_pipeline_class_init):
13397 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
13399 * plugins/elements/gsttypefindelement.c:
13400 (gst_type_find_element_handle_event):
13401 Don't try to typefind empty streams.
13403 2006-03-14 Wim Taymans <wim@fluendo.com>
13405 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
13406 (gst_base_sink_do_qos):
13407 Separate QoS calculation.
13408 Only drop buffers when lateness is bigger than the
13409 duration of the buffer.
13411 2006-03-13 Wim Taymans <wim@fluendo.com>
13413 * gst/gstpipeline.c: (gst_pipeline_set_property),
13414 (gst_pipeline_get_property), (do_pipeline_seek),
13415 (gst_pipeline_change_state), (gst_pipeline_set_delay),
13416 (gst_pipeline_get_delay):
13417 Don't deadlock when reading properties.
13419 2006-03-13 Wim Taymans <wim@fluendo.com>
13421 * libs/gst/base/gstbasetransform.c:
13422 (gst_base_transform_class_init), (gst_base_transform_init),
13423 (gst_base_transform_sink_event),
13424 (gst_base_transform_sink_eventfunc),
13425 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
13426 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
13427 (gst_base_transform_set_property),
13428 (gst_base_transform_get_property),
13429 (gst_base_transform_change_state), (gst_base_transform_update_qos),
13430 (gst_base_transform_set_qos_enabled),
13431 (gst_base_transform_is_qos_enabled):
13432 * libs/gst/base/gstbasetransform.h:
13433 Make basetransform virtual method for src events too.
13434 Handle QOS in basetransform.
13435 API: gst_base_transform_update_qos()
13436 API: gst_base_transform_set_qos_enabled()
13437 API: gst_base_transform_is_qos_enabled()
13439 2006-03-13 Wim Taymans <wim@fluendo.com>
13441 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
13442 (gst_base_sink_do_sync):
13444 Use QOS debug category.
13446 2006-03-13 Wim Taymans <wim@fluendo.com>
13448 * plugins/elements/gstqueue.c:
13449 Very small doc update.
13451 2006-03-13 Wim Taymans <wim@fluendo.com>
13453 * gst/gst_private.h:
13454 * gst/gstinfo.c: (_gst_debug_init):
13455 Added QOS debug category
13457 2006-03-13 Wim Taymans <wim@fluendo.com>
13459 * docs/gst/gstreamer-sections.txt:
13460 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
13462 * gst/gstbus.c: (gst_bus_class_init):
13465 * gst/gstelement.c: (gst_element_set_locked_state):
13466 * gst/gstsegment.c:
13467 Documentation updates.
13469 * gst/gstpipeline.c: (gst_pipeline_get_type),
13470 (gst_pipeline_class_init), (gst_pipeline_init),
13471 (gst_pipeline_dispose), (gst_pipeline_set_property),
13472 (gst_pipeline_get_property), (do_pipeline_seek),
13473 (gst_pipeline_send_event), (gst_pipeline_change_state),
13474 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
13475 (gst_pipeline_get_delay):
13476 * gst/gstpipeline.h:
13477 Added methods for setting the delay.
13478 API: gst_pipeline_set_delay()
13479 API: gst_pipeline_get_delay()
13480 Add pipeline debug category
13483 Don't reset stream time when seek failed.
13485 2006-03-13 Wim Taymans <wim@fluendo.com>
13487 * docs/design/draft-klass.txt:
13488 * docs/design/part-clocks.txt:
13489 * docs/design/part-events.txt:
13490 * docs/design/part-gstbin.txt:
13491 * docs/design/part-gstpipeline.txt:
13492 * docs/design/part-messages.txt:
13493 * docs/design/part-negotiation.txt:
13494 * docs/design/part-overview.txt:
13495 * docs/design/part-preroll.txt:
13496 * docs/design/part-seeking.txt:
13497 * docs/design/part-states.txt:
13498 * docs/design/part-streams.txt:
13499 Documentation updates.
13501 2006-03-12 Julien MOUTTE <julien@moutte.net>
13503 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
13504 us to leak strings...
13506 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
13508 * libs/gst/net/gstnettimeprovider.c:
13510 * win32/common/config.h:
13513 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
13515 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
13518 Don't check for libgnomeui (leftover from old examples
13519 that aren't built or disted any longer) (#334303).
13521 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
13523 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
13524 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
13525 Emit RESOURCE_NO_SPACE_LEFT error here as well when
13526 there's no space left on the device.
13528 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
13531 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
13532 to cast the input to GstClockTime before comparing with
13533 another GstClockTime value.
13535 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
13540 === release 0.10.4 ===
13542 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
13545 releasing 0.10.4, "Light"
13547 2006-03-10 Michael Smith <msmith@fluendo.com>
13549 * libs/gst/dataprotocol/dataprotocol.c:
13550 Fix docs for dataprocotol to not get the return types completely
13551 wrong for a few functions.
13553 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
13555 * docs/gst/gstreamer-sections.txt:
13556 * gst/gstpipeline.c: (gst_pipeline_class_init),
13557 (gst_pipeline_init), (gst_pipeline_set_property),
13558 (gst_pipeline_get_property), (gst_pipeline_change_state),
13559 (gst_pipeline_set_auto_flush_bus),
13560 (gst_pipeline_get_auto_flush_bus):
13561 * gst/gstpipeline.h:
13562 Add new API: gst_pipeline_set_auto_flush_bus() and
13563 gst_pipeline_get_auto_flush_bus() to disable automatic
13564 flushing of the pipeline's GstBus when going from READY
13565 to NULL state (#332045).
13567 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
13569 * docs/gst/gstreamer-sections.txt:
13570 * gst/gsturi.c: (gst_uri_has_protocol):
13572 Add new API: gst_uri_has_protocol() (#333779).
13574 2006-03-09 Wim Taymans <wim@fluendo.com>
13576 * gst/gstclock.c: (gst_clock_entry_new),
13577 (gst_clock_id_compare_func), (gst_clock_id_wait),
13578 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
13579 (gst_clock_init), (gst_clock_get_internal_time),
13580 (gst_clock_set_master), (do_linear_regression),
13581 (gst_clock_add_observation), (gst_clock_set_property):
13585 Fix a possible segfault when the window-size is made smaller.
13586 Calculate jitter before performing the clock wait. Ideally
13587 the clock implementation should calculate jitter but we need
13588 API breakage for that.
13590 * gst/gstsystemclock.c: (gst_system_clock_init):
13593 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
13594 Remove leftover else
13596 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
13597 (gst_systemclock_suite):
13598 Added check to test GST_CLOCK_DIFF.
13600 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
13602 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
13603 (gst_type_find_helper_get_range):
13604 If we are provided with the size, we should implement
13605 GstTypeFind::get_length, so that typefind functions who
13606 want to can actually peek at the middle of a file.
13608 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
13610 * docs/manual/advanced-dataaccess.xml:
13611 Add some very very basic error checking.
13613 * docs/pwg/appendix-checklist.xml:
13614 Some updates to the list of things to check when writing an element.
13616 2006-03-08 Wim Taymans <wim@fluendo.com>
13618 * docs/design/part-element-transform.txt:
13619 Added some docs about the design of tranform elements.
13621 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13622 (gst_base_src_loop), (gst_base_src_change_state):
13623 Mark buffers with the DISCONT flag.
13625 2006-03-08 Michael Smith <msmith@fluendo.com>
13627 * gst/gstregistry.h:
13628 * gst/gstregistryxml.c: (gst_registry_save),
13629 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
13630 (gst_registry_xml_save_pad_template),
13631 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
13632 (gst_registry_xml_write_cache):
13633 Rewrite registry-saving to avoid race conditions and check for
13636 2006-03-08 Wim Taymans <wim@fluendo.com>
13638 * libs/gst/base/gstbasetransform.c:
13639 (gst_base_transform_transform_caps),
13640 (gst_base_transform_transform_size),
13641 (gst_base_transform_prepare_output_buffer),
13642 (gst_base_transform_get_unit_size),
13643 (gst_base_transform_buffer_alloc),
13644 (gst_base_transform_handle_buffer),
13645 (gst_base_transform_change_state):
13646 Cleanups, separate normal flow from errors, add sensible
13648 Don't try to renegotiate when allocating an output buffer.
13649 Also copy DISCONT buffer flag when copying a buffer.
13650 Reset the transform after we finish streaming, not during.
13652 2006-03-08 Wim Taymans <wim@fluendo.com>
13654 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
13655 Use last buffer timestamp in qos message.
13657 2006-03-07 Wim Taymans <wim@fluendo.com>
13659 Patch by: Christophe Fergeau
13661 * docs/pwg/advanced-tagging.xml:
13662 * docs/pwg/building-pads.xml:
13665 2006-03-07 Wim Taymans <wim@fluendo.com>
13667 * docs/libs/gstreamer-libs-sections.txt:
13668 Added basesink new methods.
13672 Docs updates. Flesh out the QoS docs.
13674 * libs/gst/base/gstadapter.c:
13675 Small doc clarification about ownership and flushing.
13677 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
13678 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
13679 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
13680 (gst_base_sink_get_property), (gst_base_sink_do_sync):
13681 * libs/gst/base/gstbasesink.h:
13683 Added new methods to allow subclass to control max-lateness
13685 Generate very basic QoS events based on last sync observation.
13686 Updated docs, fix typo, added some QoS blurb.
13688 * libs/gst/base/gstbasesrc.c:
13689 Remove obsolete _get_state() calls from docs.
13691 2006-03-07 Wim Taymans <wim@fluendo.com>
13693 * docs/libs/gstreamer-libs-sections.txt:
13694 * libs/gst/base/gstbasetransform.h:
13695 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
13696 Fix docs for GstBaseSrc.
13698 2006-03-07 Wim Taymans <wim@fluendo.com>
13700 * docs/gst/gstreamer-sections.txt:
13703 * libs/gst/base/gstbasetransform.h:
13704 Small documentation fixes.
13706 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
13709 Document thread-unsafety of gst_value_register_foo_func()
13710 when used at the same time as gst_value_foo() (#322628).
13712 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
13714 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
13715 (gst_push_src_check_get_range):
13716 Push sources don't support pull mode by default.
13718 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
13720 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13721 (gst_base_src_init), (gst_base_src_pad_check_get_range),
13722 (gst_base_src_default_check_get_range):
13723 * libs/gst/base/gstbasesrc.h:
13724 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
13725 provide default implementation, and rename
13726 gst_base_src_check_get_range() to
13727 gst_base_src_pad_check_get_range() for clarity.
13729 2006-03-06 Wim Taymans <wim@fluendo.com>
13731 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
13732 Make property overridable.
13734 2006-03-06 Wim Taymans <wim@fluendo.com>
13736 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
13737 (gst_base_sink_init), (gst_base_sink_set_property),
13738 (gst_base_sink_get_property), (gst_base_sink_do_sync):
13739 * libs/gst/base/gstbasesink.h:
13740 API addition: Make max-lateness a property.
13742 2006-03-06 Wim Taymans <wim@fluendo.com>
13744 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
13745 (gst_base_sink_do_sync), (gst_base_sink_render_object):
13746 Don't ever draw a frame that is >10ms late.
13748 2006-03-06 Michael Smith <msmith@fluendo.com>
13750 * gst/gstmessage.c: (_gst_message_copy):
13751 When copying a message, set the parent_refcount of the enclosed
13752 structure to point at the copy, not the original message.
13754 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
13756 Patch by: Christophe Fergeau
13759 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
13760 usable in c++ code (#333417)
13762 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
13765 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
13767 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
13769 * libs/gst/base/gstbasetransform.c:
13770 (gst_base_transform_transform_caps):
13771 Make sure caps are writable before passing them to
13774 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
13777 Fix some minor docs errors.
13779 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
13781 Patch by: Ross Burton <ross at burtonini dot com>
13783 * gst/gsterror.c: (_gst_resource_errors_init):
13785 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
13787 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
13790 Add a check and output a g_warning when GStreamer is built
13791 against GLib 2.6 but running against 2.8 or higher, and vice
13792 versa. (Closes: #323542)
13794 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
13796 * gst/parse/parse.l:
13797 Commit patch for parse_launch syntax from #331255. Removes
13798 support for quoted strings and mimetypes when writing filtered
13799 caps. See the bug report for more details - I'm pretty sure this
13800 obscure feature is not in use by _anyone_ anywhere.
13802 With this simple change, the size of the gstreamer.so here
13803 drops from 2193KB to 1565KB.
13805 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
13807 * plugins/elements/gsttypefindelement.h:
13808 * plugins/elements/gsttypefindelement.c:
13809 (gst_type_find_element_src_event), (start_typefinding),
13810 (stop_typefinding), (gst_type_find_element_handle_event),
13811 (gst_type_find_element_chain),
13812 (gst_type_find_element_chain_do_typefinding):
13813 Use gst_type_find_helper_for_buffer() for chain-based
13816 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
13818 * plugins/elements/gsttypefindelement.c:
13819 (gst_type_find_element_class_init),
13820 (gst_type_find_element_set_property),
13821 (gst_type_find_element_get_property):
13822 Deprecate "maximum" property (not only was it only taken into
13823 account for typefinding in push-mode anyway, it also was never
13824 actually possible to set it in the first place because the
13825 property was registered with the numeric property ID for the
13826 "minimum" property). Register "maximum" property correctly,
13827 for the sake of future copy'n'pasters. Remove some cruft
13828 from property get/set functions.
13830 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
13832 * plugins/elements/gsttypefindelement.c:
13833 (gst_type_find_element_activate):
13834 Use gst_type_find_helper_get_range() here, so we
13835 can honour the "minimum" property and also emit
13836 the signal with the correct probability of the found caps.
13838 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
13840 * docs/libs/gstreamer-libs-sections.txt:
13841 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
13842 (helper_find_suggest), (gst_type_find_helper_get_range),
13843 (gst_type_find_helper):
13844 * libs/gst/base/gsttypefindhelper.h:
13845 New API: gst_type_find_helper_get_range() (#333042).
13847 2006-03-02 Michael Smith <msmith@fluendo.com>
13849 * gst/gstregistryxml.c: (load_feature):
13850 Asserting on a failure to read part of the registry is Not Cool.
13851 Just log a warning and return NULL (which is already handled)
13853 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
13855 * win32/common/libgstbase.def:
13856 added export of gst_type_find_helper_for_buffer
13857 * win32/common/libgstbase.def:
13858 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
13859 gst_ghost_pad_get_target
13861 2006-02-28 Wim Taymans <wim@fluendo.com>
13863 * docs/design/draft-klass.txt:
13865 Added Connector to mark elements that are only used to
13866 allow pipeline connections.
13867 Moved Debug to extra feature since most of them are
13868 functionally something else.
13870 2006-02-28 Wim Taymans <wim@fluendo.com>
13872 * docs/design/draft-klass.txt:
13873 Some updates and clarifications.
13875 2006-02-28 Wim Taymans <wim@fluendo.com>
13877 * docs/design/draft-klass.txt:
13878 Proposal for klass field values.
13880 * docs/design/part-streams.txt:
13881 Start of a doc describing stream anatomy.
13883 2006-02-28 Wim Taymans <wim@fluendo.com>
13885 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
13886 Help the compiler a bit with type registration.
13887 Use existing forward cod path instead of duplicating it when
13888 handling a message.
13890 * gst/gstbus.c: (gst_bus_get_type):
13891 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
13892 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
13893 * gst/gstclock.c: (gst_clock_get_type):
13894 * gst/gstelement.c: (gst_element_get_type),
13895 * gst/gstelementfactory.c: (gst_element_factory_get_type):
13896 * gst/gstindexfactory.c: (gst_index_factory_get_type):
13897 * gst/gstminiobject.c: (gst_mini_object_get_type):
13898 * gst/gstpad.c: (gst_pad_get_type):
13899 * gst/gstsegment.c: (gst_segment_get_type):
13900 * gst/gststructure.c: (gst_structure_get_type):
13901 * gst/gstsystemclock.c: (gst_system_clock_get_type):
13902 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
13904 Help compiler with type registration.
13906 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
13909 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
13911 * plugins/elements/gsttypefindelement.c:
13912 (gst_type_find_element_handle_event):
13913 When we get an EOS event and have not found a type yet
13914 (most likely because we had not yet accumulated
13915 TYPE_FIND_MIN_SIZE of data yet), try to determine the
13916 type given the data we have so far. Fixes typefinding
13917 for very short streams again, most notably quicktime
13918 redirections as used on Apple's trailer site (#331701).
13920 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
13922 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
13923 (gst_type_find_helper):
13924 Try typefinding factories with the highest rank first.
13926 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
13928 * docs/libs/gstreamer-libs-docs.sgml:
13929 * docs/libs/gstreamer-libs-sections.txt:
13930 * libs/gst/base/gsttypefindhelper.c:
13931 Add section for typefind helper and add documentation
13932 for the old and the new function.
13934 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
13936 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
13937 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
13938 (gst_type_find_helper_for_buffer):
13939 * libs/gst/base/gsttypefindhelper.h:
13940 New API: gst_type_find_helper_for_buffer() (#332723).
13942 2006-02-27 Michael Smith <msmith@fluendo.com>
13944 Patch by: Loïc Minier
13947 * docs/Makefile.am:
13948 * docs/slides/Makefile.am:
13949 prevent CVS directories getting disted.
13951 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
13953 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
13954 Use the REFCOUNTING category for caps refcounting.
13956 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
13958 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
13959 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
13961 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
13963 * plugins/elements/gsttypefindelement.c:
13964 (gst_type_find_element_activate):
13965 Use gst_pad_check_pull_range() before _activate_pull()
13966 to avoid unnecessary open/close (see #331690).
13968 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
13971 Docs enhancement: make it crystal clear what the
13972 gst_pad_add_*_probe() callbacks should look like.
13974 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
13976 * libs/gst/base/gstbasesrc.c:
13977 Document how applications can stop recording from
13978 live sources (see #330996).
13980 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
13982 * tests/check/Makefile.am:
13983 * tests/check/libs/basesrc.c: (eos_event_counter),
13984 (basesrc_eos_events_pull), (basesrc_eos_events_push),
13985 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
13986 (gst_basesrc_suite), (main):
13987 ... and add some tests for the base source EOS stuff.
13989 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
13991 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
13992 Test case originally showed the problem fixed below,
13993 but was then amended. Add checks back at the place
13994 where they used to be.
13996 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
13998 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13999 (gst_base_src_init), (gst_base_src_loop),
14000 (gst_base_src_activate_push), (gst_base_src_activate_pull),
14001 (gst_base_src_change_state):
14002 * libs/gst/base/gstbasesrc.h:
14003 Don't unconditionally send EOS when going from PAUSED to
14004 READY state, esp. make sure we don't send two EOS events
14005 in some cases (e.g. one when reaching EOS and one when
14006 going from PAUSED to READY). Also, we don't want to send
14007 EOS events when operating in pull mode. However, we do
14008 want to send an EOS event when shutting down a live
14009 source explicitly, for example (fixes #330996).
14011 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
14013 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
14014 Update src->read_position after a seek when not using mmap.
14015 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
14017 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
14023 Make things work with --disable-parse as they do with
14024 --disable-load-save - the symbols involved disappear, but the
14025 header is still installed and GST_DISABLE_PARSE is included via
14028 2006-02-20 Julien MOUTTE <julien@moutte.net>
14030 * libs/gst/base/gstbasetransform.c:
14031 (gst_base_transform_change_state): Fix a stupid bug. I was
14032 sure I compiled that.
14034 2006-02-20 Julien MOUTTE <julien@moutte.net>
14036 * gst/gstpad.c: (gst_pad_set_blocked_async):
14037 * gst/gstutils.c: (gst_pad_add_data_probe),
14038 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
14039 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
14040 (gst_pad_remove_buffer_probe): Make those function act on the
14041 ghostpad target when it's a ghostpad. (Closes #331727)
14043 2006-02-20 Julien MOUTTE <julien@moutte.net>
14045 * libs/gst/base/gstbasetransform.c:
14046 (gst_base_transform_change_state): Make basetransform reusable.
14049 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
14051 * docs/random/release:
14052 Move the current documentation of how to do a release to the top
14055 * gst/gstbin.c: (gst_bin_class_init),
14056 (gst_bin_handle_message_func):
14057 Allow multiple state-recalculation threads. (Closes #328873)
14059 2006-02-19 Julien MOUTTE <julien@moutte.net>
14061 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
14062 * gst/gstpad.c: (gst_pad_set_event_function),
14063 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
14064 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
14065 2 strings. You can't use the STR_NULL macro on that.
14067 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
14069 * gst/gstpad.c: (gst_pad_set_event_function),
14070 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
14071 (gst_pad_set_getcaps_function)
14072 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
14073 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
14074 So now, we can use --gst-debug-level=5 on Windows
14075 * win32/common/libgstcontroller.def:
14076 Added export of gst_controller_init
14077 * win32/vs6/libgstcontroller.dsp:
14078 Fixed Release post build configuration
14080 2006-02-17 Wim Taymans <wim@fluendo.com>
14082 * tests/check/gst/gstquery.c: (GST_START_TEST):
14083 Added another check.
14085 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
14087 * plugins/elements/gsttypefindelement.c: (find_peek):
14088 We can do peeks at non-zero offsets, as long as they
14089 fall within the buffer we have.
14091 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
14093 * tests/check/Makefile.am:
14094 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
14095 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
14096 (parse_suite), (main):
14097 Add testsuite for parse launch syntax
14099 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
14101 * plugins/elements/gsttypefindelement.c:
14102 (gst_type_find_element_chain):
14103 When typefinding is unsuccessful in the chain function, don't
14104 error out immediately. Only error out with NO_CAPS_FOUND if
14105 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
14106 otherwise simply wait for more data so we can try typefinding
14107 again with more data later. Also, don't attempt to typefind
14108 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
14109 this should improve typefinding from network sources where the
14110 size of the first buffer can be somewhat random.
14112 2006-02-14 Wim Taymans <wim@fluendo.com>
14114 * docs/gst/gstreamer-sections.txt:
14115 * gst/gstpadtemplate.c:
14116 * gst/gstpadtemplate.h:
14117 Fix padtemplate docs, fixes #328805.
14119 2006-02-14 Wim Taymans <wim@fluendo.com>
14121 * tools/gst-launch.c: (main):
14122 NO_PREROLL is not an ERROR so don't send confusing messages
14125 2006-02-14 Wim Taymans <wim@fluendo.com>
14127 Patch by: Torsten Schoenfeld
14129 * gst/gstregistry.c: (gst_registry_get_default),
14130 (_gst_registry_cleanup):
14131 Protect default registry with lock and ref/sink it.
14134 2006-02-14 Wim Taymans <wim@fluendo.com>
14137 * gst/gstquery.c: (gst_query_list_add_format),
14138 (gst_query_set_formatsv), (gst_query_parse_formats_length),
14139 (gst_query_parse_formats_nth):
14140 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14143 2006-02-14 Wim Taymans <wim@fluendo.com>
14145 * docs/gst/gstreamer-sections.txt:
14146 Reworked query docs.
14148 * gst/gstquery.c: (gst_query_new_formats),
14149 (gst_query_list_add_format), (gst_query_set_formats),
14150 (gst_query_set_formatsv), (gst_query_parse_formats_length),
14151 (gst_query_parse_formats_nth):
14153 Flesh out formats query, added some new methods.
14154 Fix part of #324398.
14156 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
14157 Added query creation tests.
14159 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
14161 * gst/gstpad.c: (fixate_value):
14162 Add a default fixation for fraction lists.
14164 2006-02-13 Wim Taymans <wim@fluendo.com>
14166 * gst/gsttask.c: (gst_task_init), (gst_task_func),
14167 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
14170 Detect and warn for obvious deadlocks. fixes #320340
14171 Fix error case where lock was not released.
14173 * tests/check/Makefile.am:
14174 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
14175 (task_func), (gst_element_suite), (main):
14178 2006-02-13 Wim Taymans <wim@fluendo.com>
14180 * docs/gst/gstreamer-sections.txt:
14182 Add new functions to docs.
14184 2006-02-13 Wim Taymans <wim@fluendo.com>
14186 * docs/design/part-TODO.txt:
14187 Updated TODO list, basesrc supports seeking to non-bytes
14190 * docs/design/part-element-sink.txt:
14193 * gst/gstbin.c: (bin_replace_message),
14194 (gst_bin_handle_message_func):
14195 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
14196 * gst/gstevent.c: (gst_event_finalize):
14197 * gst/gstpad.c: (gst_pad_event_default_dispatch),
14198 (gst_pad_send_event):
14199 Use shiny new _TYPE_NAME macros.
14201 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
14202 Move debug statement up.
14204 * gst/gstelement.c: (gst_element_set_locked_state):
14205 Add some debugging.
14207 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
14209 * docs/gst/gstreamer-sections.txt:
14210 * gst/gstmessage.h:
14212 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
14213 macros (#330906). Also, document the already existing
14214 GST_QUERY_TYPE macro.
14216 2006-02-13 Wim Taymans <wim@fluendo.com>
14218 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
14219 (event_probe), (GST_START_TEST):
14220 Only events up to the pipeline EOS are counted, there are
14221 some more when going to NULL currently which we don't care
14224 2006-02-13 Wim Taymans <wim@fluendo.com>
14226 * gst/gstpad.c: (gst_pad_send_event):
14227 Correctly check flushing and emit probes. fixes #330125
14229 2006-02-10 Andy Wingo <wingo@pobox.com>
14231 * gst/gstbus.c (gst_bus_class_init): Declare our private data
14233 (gst_bus_init): Cache the location of the private data in the
14234 instance structure.
14235 (gst_bus_enable_sync_message_emission)
14236 (gst_bus_disable_sync_message_emission): Implement new public
14238 (gst_bus_post): Emit the sync-message signal if the user asked for
14241 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
14242 location of the bus-private structure.
14243 (gst_bus_enable_sync_message_emission)
14244 (gst_bus_disable_sync_message_emission): API addition
14246 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
14248 Patch by: Vincent Torri
14250 * docs/pwg/building-boiler.xml:
14251 PWG patch from #326800
14253 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
14256 * docs/Makefile.am:
14257 * docs/design/Makefile.am:
14260 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
14265 === release 0.10.3 ===
14267 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
14270 releasing 0.10.3, "Like a virgin"
14272 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
14275 2nd prerelease of 0.10.3
14276 Bump libtool versioning.
14278 2006-02-07 Andy Wingo <wingo@pobox.com>
14280 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
14281 update last_stop if we're in TIME format and the timestamp is
14284 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
14285 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
14286 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
14287 If we get a new newsegment with a different format, adapt
14290 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
14291 of 0. Not a problem, really.
14293 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
14296 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
14301 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
14304 project files updated to the default vs7 configuration
14305 * win32/common/libgstbase.def:
14306 * win32/common/libgstreamer.def:
14308 removed empty lines,
14309 sorted all exported symbols alphabetically
14310 * win32/common/dirent.c:
14311 * win32/common/dirent.h:
14312 * win32/common/gchar.h:
14313 use windows line end.
14315 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
14317 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
14318 Send EOS event when stopping.
14320 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
14323 Tell folks what to do if the plugin-foobar.xml file
14324 hasn't been generated for a newly-added plugin.
14326 2006-02-05 Julien MOUTTE <julien@moutte.net>
14328 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
14329 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
14330 (gst_collect_pads_start), (gst_collect_pads_stop),
14331 (gst_collect_pads_event): Collectpads now holds a reference
14332 to the GstPad that was added. Indeed we don't want to look
14333 at pads that might just go away with no warning...
14335 2006-02-05 Julien MOUTTE <julien@moutte.net>
14337 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
14338 (gst_collect_pads_start), (gst_collect_pads_stop),
14339 (gst_collect_pads_event), (gst_collect_pads_chain):
14340 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
14341 Mark Nauwelaerts's patch on bug #328491.
14343 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
14345 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
14347 Add some simple tests for gst_parse_bin_from_description() and
14348 gst_bin_find_unconnected_pad() (#329069).
14350 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
14352 * tools/gst-launch.c: (event_loop), (main):
14353 Catch errors during preroll (#320084).
14355 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
14357 * plugins/elements/gsttypefindelement.c:
14358 (gst_type_find_element_activate):
14359 Post TYPE_NOT_FOUND error message when typefinding
14360 is unsuccessful in the activate function as well.
14362 2006-02-02 Wim Taymans <wim@fluendo.com>
14364 * docs/design/part-element-sink.txt:
14367 2006-02-02 Wim Taymans <wim@fluendo.com>
14369 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
14370 (gst_base_sink_render_object),
14371 (gst_base_sink_queue_object_unlocked):
14372 Only keep track of prerollable items when we are
14374 Before rendering after preroll, always check if we
14376 Added some more debugging.
14378 2006-02-02 Wim Taymans <wim@fluendo.com>
14380 * gst/gstelement.c: (gst_element_continue_state),
14381 (gst_element_set_state_func), (gst_element_change_state):
14382 Fixed #326576, been running this for quite some time with
14383 no regressions at all.
14385 2006-02-02 Wim Taymans <wim@fluendo.com>
14388 Added more suppressions
14390 2006-02-02 Wim Taymans <wim@fluendo.com>
14392 * docs/design/part-element-sink.txt:
14395 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14396 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
14397 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
14398 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
14399 (gst_base_sink_do_sync), (gst_base_sink_render_object),
14400 (gst_base_sink_preroll_object),
14401 (gst_base_sink_queue_object_unlocked),
14402 (gst_base_sink_queue_object), (gst_base_sink_event),
14403 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
14404 (gst_base_sink_loop), (gst_base_sink_activate_pull),
14405 (gst_base_sink_get_position), (gst_base_sink_change_state):
14406 * libs/gst/base/gstbasesink.h:
14407 Totally refactored matching the design doc.
14408 Use two segments, one to clip incomming buffers and another to
14410 Handle queueing correctly, bypass the queue when playing.
14411 Make EOS cancelable.
14412 Handle errors correctly when operating in pull based mode.
14414 * tests/check/elements/fakesink.c: (GST_START_TEST),
14416 Added new check for sinks.
14418 2006-02-02 Wim Taymans <wim@fluendo.com>
14420 * gst/gstsegment.c: (gst_segment_clip):
14421 No reason to refuse to clip when start == -1
14423 2006-02-02 Stefan Kost <ensonic@users.sf.net>
14426 * docs/manual/intro-basics.xml:
14427 * docs/manual/intro-preface.xml:
14428 * docs/manual/manual.xml:
14429 * docs/pwg/advanced-dparams.xml:
14430 * docs/pwg/intro-basics.xml:
14431 * docs/pwg/intro-preface.xml:
14432 * docs/pwg/pwg.xml:
14433 describe dparams (controller) for plugins
14434 unify docs a little more
14436 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
14438 * docs/gst/gstreamer-sections.txt:
14439 * gst/gstutils.c: (element_find_unconnected_pad),
14440 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
14442 Add new API: gst_parse_bin_from_description() and
14443 gst_bin_find_unconnected_pad() (#329069).
14445 2006-02-01 Stefan Kost <ensonic@users.sf.net>
14447 * docs/manual/README:
14448 uncover a nasty detail of the docs build
14450 2006-01-31 Wim Taymans <wim@fluendo.com>
14452 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
14453 Don't cache duration messages if we're not going to use or
14456 2006-01-31 Stefan Kost <ensonic@users.sf.net>
14458 * docs/manual/advanced-dparams.xml:
14459 * docs/pwg/advanced-dparams.xml:
14463 * libs/gst/controller/lib.c: (gst_controller_init):
14466 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
14468 * gst/gstelement.c: (gst_element_message_full):
14469 also show file/line/func if no additional debug was given
14471 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
14473 * win32/vs7/grammar.vcproj:
14474 activate copy of autogenerated files for Release mode
14476 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
14478 * win32/common/libgstreamer.def:
14479 export gst_value_compare
14481 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
14483 * plugins/elements/Makefile.am:
14484 * plugins/elements/gstelements.c:
14485 * plugins/elements/gstfdsink.c: (_do_init),
14486 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
14487 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
14488 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
14489 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
14490 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
14491 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
14492 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
14493 * plugins/elements/gstfdsink.h:
14494 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
14496 2006-01-30 Stefan Kost <ensonic@users.sf.net>
14498 * docs/manual/advanced-dparams.xml:
14499 describe controller
14500 * docs/manual/advanced-position.xml:
14501 * docs/manual/basics-init.xml:
14502 * docs/manual/manual.xml:
14503 * docs/manual/titlepage.xml:
14504 * docs/pwg/pwg.xml:
14505 * docs/pwg/titlepage.xml:
14506 cleanup xml (more to come)
14507 * libs/gst/controller/gstcontroller.c:
14510 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
14512 * win32/vs6/grammar.dsp:
14513 add autogen of gstmarshal.c,h for Release mode
14515 2006-01-30 Wim Taymans <wim@fluendo.com>
14517 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14518 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
14519 (gst_base_sink_handle_object), (gst_base_sink_event),
14520 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
14521 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
14522 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
14523 (gst_base_sink_deactivate), (gst_base_sink_activate),
14524 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
14525 (gst_base_sink_query), (gst_base_sink_change_state):
14526 Basesink cleanups, remove some old code.
14527 Handle the case where a subclass can preroll in the render
14528 method (mostly audiosinks).
14529 Handle more events.
14530 Remove some locks around variables that are now protected
14531 with the PREROLL_LOCK (clock_id, flushing, ..).
14532 Optimize position query some more, do correct locking.
14533 Remove old code to push queue in state change, this is not
14534 needed anymore since preroll blocks on all prerollable items
14536 Almost implemented as described in design doc.
14538 2006-01-30 Wim Taymans <wim@fluendo.com>
14540 * tests/check/gst/gstbin.c: (GST_START_TEST):
14541 Wait for refcount to settle down before checking.
14543 2006-01-30 Wim Taymans <wim@fluendo.com>
14545 * docs/design/part-element-sink.txt:
14546 Pseudo code overview of desired sink behaviour regarding
14549 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
14550 * win32/vs6/grammar.dsp:
14551 fix some bugs in Release mode for autogenerated files
14553 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
14554 * win32/common/libgstbase.def:
14555 * win32/common/libgstreamer.def:
14556 export some new symbols: gst_base_src_set_format,
14557 gst_iterator_next, gst_structure_set_valist
14559 2006-01-29 Julien MOUTTE <julien@moutte.net>
14561 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
14562 Set pad functions unconditionally. Fixes #329105.
14564 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
14566 add vs8 project files created by Sergey Scobich
14568 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
14570 * gst/gstutils.c: (gst_element_unlink_pads):
14571 Don't leak pad references.
14573 * tests/check/elements/fakesink.c: (GST_START_TEST):
14574 * tests/check/generic/sinks.c: (GST_START_TEST):
14575 * tests/check/generic/states.c: (GST_START_TEST):
14576 * tests/check/gst/gstbin.c: (GST_START_TEST):
14577 * tests/check/gst/gstcaps.c: (GST_START_TEST):
14578 * tests/check/gst/gstelement.c: (GST_START_TEST):
14579 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
14580 * tests/check/gst/gstiterator.c: (GST_START_TEST):
14581 * tests/check/gst/gstvalue.c: (GST_START_TEST):
14582 Fix a bunch of leaks. Make generic/sinks.c
14583 use a bit less cpu by slowing the buffer rate
14584 between fakesrc and fakesink.
14586 2006-01-27 Stefan Kost <ensonic@users.sf.net>
14588 * gst/gstelement.c: (gst_element_send_event):
14591 * gst/gstiterator.c:
14592 * gst/gstiterator.h:
14593 * gst/gstpad.c: (gst_pad_send_event):
14594 * gst/gststructure.c:
14598 * libs/gst/base/gstadapter.c:
14599 doc fixes, to link to function, just write gst_cool_function(), don't
14602 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
14604 * plugins/elements/gsttee.c: (gst_tee_do_push),
14605 (gst_tee_handle_buffer):
14606 Always prefer an actual return value from a src
14607 pad in place of NOT_LINKED. This means we return
14608 WRONG_STATE when all src pads are WRONG_STATE
14609 instead of NOT_LINKED.
14611 Lock when replacing the last message to prevent
14612 racing with the get_property method.
14616 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
14618 * tests/check/Makefile.am:
14619 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
14621 Add a very simple check that should have caught the memleak I fixed
14622 last night (if not for the slice allocator hiding it)
14624 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
14626 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
14627 (gst_bin_remove_func), (gst_bin_handle_message_func),
14628 (bin_query_duration_fold), (bin_query_generic_fold):
14629 Clean up references to the clock provider when disposed or when
14630 handling a clock-lost message from it.
14632 Unref sinks when performing a query via gst_iterator_fold, as the
14633 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
14635 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
14636 (gst_clock_set_master):
14637 Drop our reference to the master clock, if any, when we are disposed.
14639 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
14640 Chain up in dispose.
14642 2006-01-26 Wim Taymans <wim@fluendo.com>
14644 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
14645 Add some debugging.
14647 2006-01-26 Julien MOUTTE <julien@moutte.net>
14649 * plugins/elements/gsttee.c: (gst_tee_do_push),
14650 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
14651 handles pad being NOT_LINKED or in WRONG_STATE.
14653 2006-01-26 Stefan Kost <ensonic@users.sf.net>
14658 2006-01-26 Stefan Kost <ensonic@users.sf.net>
14661 remove obsolete entry
14663 2006-01-26 Stefan Kost <ensonic@users.sf.net>
14665 * docs/gst/gstreamer-sections.txt:
14666 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
14667 (gst_bin_iterate_sources), (gst_bin_send_event):
14669 * gst/gstelement.c: (gst_element_send_event):
14671 * gst/gstpad.c: (gst_pad_send_event):
14672 added code for downstream events, reviewed docs in gstevent.c
14674 2006-01-25 Julien MOUTTE <julien@moutte.net>
14676 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
14677 We only query position using the clock in the playing state.
14678 Query peer in the other cases.
14679 * win32/common/config.h: Updates.
14681 2006-01-24 Wim Taymans <wim@fluendo.com>
14683 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
14684 A clock entry that is scheduled for the exact time of the
14685 clock is still in time.
14687 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14688 (gst_base_sink_do_sync):
14689 Add some more debug info.
14691 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
14694 Add new vs7 project files and solution.
14696 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
14699 all files removed as they were out-dated.
14701 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
14703 * docs/random/release:
14705 * gst/gstbin.c: (gst_bin_init):
14706 * gst/gstbus.c: (gst_bus_new):
14708 * gst/gstpipeline.c: (gst_pipeline_init):
14709 use gst_bus_new(), improve logging, fix docs
14710 * win32/common/config.h:
14711 update for cvs build
14713 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
14716 up required version of automake to 1.7
14718 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
14720 * win32/common/libgstreamer.def:
14721 export gst_buffer_is_metadata_writable
14723 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
14725 * docs/gst/gstreamer-sections.txt:
14727 Add gst_event_replace() (#327001)
14729 2006-01-20 Wim Taymans <wim@fluendo.com>
14731 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
14732 Make it actually compile too..
14734 2006-01-20 Wim Taymans <wim@fluendo.com>
14737 Clarify behaviour of _is_equal() when passing NULL parameters.
14739 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
14740 (gst_pad_set_caps):
14741 Cleanups. Don't unref NULL caps.
14742 When setting the same caps, protect caps of the pad with
14744 Use full functionality of _is_equal() when comparing caps.
14746 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
14748 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
14749 Don't loop infinitely if there are no buffers to present. Partially
14750 fixes #327197, but collectpads is just broken for reusing elements
14751 to do multiple encodes atm.
14753 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
14755 * tools/gst-inspect.c: (print_element_features):
14756 * tools/gst-xmlinspect.c: (main):
14757 URL_HANDLER is not a plugin feature we can search for in
14760 2006-01-19 Edward Hervey <edward@fluendo.com>
14762 * gst/gstelement.c: (gst_element_pads_activate):
14763 When activating, do src pads first, then sink pads.
14764 When de-activating, do sink pads first, then src pads.
14766 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
14768 * docs/gst/gstreamer-sections.txt:
14769 Add gst_index_add_associationv to the docs
14771 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
14776 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
14777 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
14778 Do some refactoring. Doesn't actually change functionality,
14779 but makes landing the DRAIN event easier later.
14781 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
14783 * docs/pwg/advanced-scheduling.xml:
14784 Update from 0.9.x to 0.10 API and make example a bit
14787 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
14789 * docs/gst/gstreamer-sections.txt:
14790 Add gst_buffer_(is|make)_metadata_writable methods.
14792 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
14794 * docs/design/part-sparsestreams.txt:
14795 Update sparse streams doc, hopefully for greater clarity
14797 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
14799 * docs/design/part-events.txt:
14800 Remove mention of FILLER events.
14803 * docs/design/part-sparsestreams.txt:
14804 Write some things about using NEWSEGMENT to keep sparse streams
14807 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
14809 * gst/gstbin.c: (gst_bin_dispose):
14810 Guard gst_object_unref call against a NULL object (dispose
14811 can theoretically be called multiple times).
14813 2006-01-18 Wim Taymans <wim@fluendo.com>
14815 * gst/gstbin.c: (gst_bin_element_set_state):
14816 * gst/gstclock.c: (gst_clock_id_wait):
14817 Added some more debug info.
14819 * libs/gst/base/gstadapter.c:
14822 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14823 (gst_base_sink_do_sync), (gst_base_sink_chain):
14824 Added some comments.
14826 2006-01-18 Wim Taymans <wim@fluendo.com>
14828 * tests/check/Makefile.am:
14829 * tests/check/elements/fakesink.c: (chain_async_buffer),
14830 (chain_async), (chain_async_return), (GST_START_TEST),
14831 (fakesink_suite), (main):
14832 Added fakesink test that checks prerolling and clipping
14835 * tests/check/gst/gstutils.c: (GST_START_TEST):
14836 Make check run faster so that buildbots don't timeout.
14838 2006-01-18 Wim Taymans <wim@fluendo.com>
14840 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14841 (gst_base_sink_do_sync):
14843 When the sink finishes blocking on the preroll buffer, it can
14844 immediatly render it instead of rendering when the next buffer
14847 2006-01-18 Wim Taymans <wim@fluendo.com>
14849 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
14850 (gst_base_sink_get_property), (gst_base_sink_do_sync),
14851 (gst_base_sink_chain):
14853 GST_ELEMENT_CLOCK and sync are protected with LOCK.
14854 Don't store _last_stop if the buffer is dropped.
14856 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
14858 * plugins/elements/gsttypefindelement.c:
14859 (gst_type_find_element_class_init):
14860 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
14861 object method handler that sets the caps on the pad and we want
14862 that to happen before we emit the signal (fixes e.g. feeding a
14863 plain text file to decodebin).
14865 2006-01-18 Christian Schaller <Christian@fluendo.com>
14867 * gst/gstplugin.c: Add MPL and Proprietary as license options
14869 2006-01-18 Andy Wingo <wingo@pobox.com>
14871 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
14872 symbol was exported before, it appears this was just an oversight.
14874 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
14876 * gst/gstindex.c (gst_index_add_associationv): Changed int in
14877 prototype to gint. OK since this prototype was not in the header.
14879 2006-01-17 Andy Wingo <wingo@pobox.com>
14881 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
14882 registry while we remove plugins.
14884 * tools/gst-inspect.c (print_element_info): Don't unref the
14885 factory arg, that should be the responsibility of whatever code
14886 received the ref. Fixes a double-free when called from
14887 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
14888 (main): Unref the factory if we have one.
14889 (print_element_list): No change -- relies on the
14890 plugin_feature_list_free to free the list of features.
14892 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
14894 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
14895 (gst_buffer_make_metadata_writable):
14897 * libs/gst/base/gstbasetransform.c:
14898 (gst_base_transform_prepare_output_buf):
14899 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
14900 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14901 Replace gst_buffer_(make|is)_metadata_writable patch now
14902 that the release is out.
14904 2006-01-17 Andy Wingo <wingo@pobox.com>
14906 * gst/gstregistry.c: Reflow design comment. Update so as to speak
14907 in the present tense without reference to versions.
14909 * gst/gstregistry.c (gst_registry_add_plugin)
14910 (gst_registry_remove_plugin, gst_registry_remove_feature)
14911 (gst_registry_find_feature, gst_registry_get_feature_list)
14912 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
14913 (gst_registry_lookup, gst_registry_scan_path)
14914 (_gst_registry_remove_cache_plugins)
14915 (gst_registry_get_feature_list_by_plugin): Add argument
14918 === release 0.10.2 ===
14920 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
14923 releasing 0.10.2, "If man is five"
14925 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
14929 * libs/gst/base/gstbasetransform.c:
14930 (gst_base_transform_prepare_output_buf):
14931 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
14932 * tests/check/gst/gstbuffer.c: (gst_test_suite):
14933 Back out patch until after the release.
14935 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
14937 * gst/gstminiobject.c:
14938 Spelling fix in docs.
14939 * ChangeLog - remove conflict indicator
14941 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
14943 Reviewed By: Andy Wingo
14945 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
14946 (gst_buffer_make_metadata_writable):
14948 Add gst_buffer_(is|make)_metadata_writable as analogues of
14949 gst_buffer_(is|make)_writable.
14951 * libs/gst/base/gstbasetransform.c:
14952 (gst_base_transform_prepare_output_buf):
14953 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
14954 Use name gst_buffer_(is|make)_metadata_writable functions.
14956 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14957 Test gst_buffer_(is|make)_metadata_writable
14961 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
14963 * docs/manual/Makefile.am:
14964 don't do parallel make
14967 * win32/common/config.h.in:
14968 add generations for HOST_CPU and GST_MAJORMINOR
14969 * win32/common/config.h:
14970 commit generated result
14972 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
14974 * docs/manual/appendix-integration.xml:
14975 Update GNOME integration section to use gst_init_get_option_group()
14976 instead of the old popt stuff (#322911). Also, GNOME applications
14977 should now use gconf*sink and gconf*src instead of the old gconf
14980 2006-01-13 Stefan Kost <ensonic@users.sf.net>
14983 * docs/gst/gstreamer-docs.sgml:
14984 * docs/gst/gstreamer-sections.txt:
14985 * docs/libs/gstreamer-libs-sections.txt:
14986 add new API entries to the docs
14987 * libs/gst/controller/Makefile.am:
14988 * libs/gst/controller/gstcontroller.c:
14989 * libs/gst/controller/gstcontroller.h:
14990 * libs/gst/controller/gstcontrollerprivate.h:
14991 * libs/gst/controller/gsthelper.c:
14992 * libs/gst/controller/gstinterpolation.c:
14993 move private structs to private header
14995 gstreamer-0.7 -> gstreamer-0.10
14996 * tests/check/libs/struct_i386.h:
14997 remove private structs
14999 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
15001 * plugins/indexers/Makefile.am:
15002 Fixes as part of #317048
15004 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
15006 * plugins/indexers/Makefile.am:
15007 fix #316086 - compilation when mmap is missing
15009 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
15011 * libs/gst/base/gstbasesink.c:
15012 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
15013 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
15014 * win32/common/config.h:
15015 added some defines GST_MAJORMINOR and HOST_CPU
15016 * win32/common/libgstbase.def:
15017 * win32/common/libgstreamer.def:
15018 added some exported functions.
15020 2006-01-12 Stefan Kost <ensonic@users.sf.net>
15022 * libs/gst/controller/gstcontroller.c:
15023 (gst_controlled_property_set_interpolation_mode),
15024 (gst_controlled_property_new):
15025 * libs/gst/controller/gstcontroller.h:
15026 * libs/gst/controller/gstinterpolation.c:
15027 (interpolate_none_get_string_value_array):
15028 make G_TYPE_STRING controlable
15030 2006-01-12 Stefan Kost <ensonic@users.sf.net>
15033 * tools/gst-feedback.1.in:
15034 * tools/gst-inspect.1.in:
15035 * tools/gst-launch.1.in:
15036 * tools/gst-md5sum.1.in:
15037 * tools/gst-typefind.1.in:
15038 * tools/gst-xmlinspect.1.in:
15039 * tools/gst-xmllaunch.1.in:
15040 cleanup man-pages, remove reference to gst-register, document env-vars
15042 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
15044 * gst/gstbuffer.c: (gst_buffer_span):
15045 gst_buffer_span should copy the timestamp of the first buffer
15046 if they were both originally overlapping subbuffers of the
15047 same parent, using the same logic as the 'slow copy' case.
15049 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
15051 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
15052 Need to awaken ALL the pads when we pop a buffer, otherwise
15053 collectpads only works when there is 2 input streams.
15055 2006-01-11 Stefan Kost <ensonic@users.sf.net>
15057 * docs/random/ensonic/media-device-daemon.txt:
15060 fix doc example, add clarification
15061 * tools/gst-launch.1.in:
15062 add initial info about GST_PLUGIN_PATH, needs more work
15064 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
15066 * docs/manual/basics-bins.xml:
15067 * docs/manual/basics-elements.xml:
15068 * docs/manual/intro-basics.xml:
15069 Some more minor docs additions and updates.
15071 2006-01-11 Wim Taymans <wim@fluendo.com>
15073 * docs/manual/basics-bins.xml:
15074 * docs/manual/basics-elements.xml:
15075 Some small fixes as pointed out by Ser-ver on IRC.
15077 2006-01-10 Edward Hervey <edward@fluendo.com>
15079 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
15080 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
15081 the single-segment mode.
15083 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
15085 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
15087 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
15088 (gst_base_src_perform_seek), (gst_base_src_send_event),
15089 (gst_base_src_set_property), (gst_base_src_get_property),
15090 (gst_base_src_loop), (gst_base_src_start),
15091 (gst_base_src_activate_push):
15092 * libs/gst/base/gstbasesrc.h:
15093 Name (private) union; makes Sun's Forte compiler happy (#324900).
15095 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
15098 gst-register is gone.
15100 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
15102 * gst/gstvalue.c: (_gst_value_initialize):
15103 make the G_TYPE_DATE instantiation work if debug is disabled
15105 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
15107 * gst/gstmessage.c: (gst_message_parse_tag),
15108 (gst_message_parse_error), (gst_message_parse_warning):
15109 Don't crash when return location for error/warning debug
15110 string is NULL; add fact that return locations can be
15111 NULL to docs where appropriate.
15113 2006-01-05 Wim Taymans <wim@fluendo.com>
15115 * gst/gstplugin.c: (gst_plugin_load_file):
15116 Replace strdup by g_strdup.
15118 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
15120 * docs/pwg/advanced-types.xml:
15123 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
15125 submitted by: Abel Cheung
15129 Added Chinese (traditional) translation
15131 2006-01-04 Wim Taymans <wim@fluendo.com>
15133 * docs/manual/basics-pads.xml:
15134 * docs/plugins/Makefile.am:
15135 * docs/plugins/gstreamer-plugins-docs.sgml:
15136 * docs/plugins/gstreamer-plugins-sections.txt:
15137 * docs/pwg/advanced-clock.xml:
15138 * docs/pwg/advanced-scheduling.xml:
15139 * docs/pwg/advanced-types.xml:
15140 * plugins/elements/gstfdsink.c:
15141 * plugins/elements/gstfdsrc.c:
15142 * plugins/elements/gstfdsrc.h:
15143 * plugins/elements/gstidentity.c: (gst_identity_class_init):
15144 * plugins/elements/gstidentity.h:
15145 * plugins/elements/gstqueue.h:
15146 * plugins/elements/gsttee.c:
15147 * plugins/elements/gsttee.h:
15148 * plugins/elements/gsttypefindelement.c:
15149 (gst_type_find_element_class_init):
15150 * plugins/elements/gsttypefindelement.h:
15151 Small updates to various docs.
15152 Added core plugins to docs.
15154 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
15157 add a suppression for liboil's uninitialized variable
15159 2006-01-02 James Livingston <jrl at ids dot org dot au>
15161 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
15164 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
15165 macro, so that gcc doesn't complain if the -Wmissing-prototypes
15166 compiler switch is being used (#325429).
15168 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
15170 * gst/gstbin.c: (gst_bin_query):
15171 Disable duration query caching in bins until it gets
15172 fixed (see #324807).
15174 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
15176 * tools/gst-inspect.c: (print_element_properties_info):
15177 Handle properties of POINTER and BOXED type.
15179 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
15181 * gst/gst.c: (init_post):
15182 Init tags stuff and some other things before loading
15183 any static plugins (there may be other static plugins
15184 than just the GStreamer ones, and they may want to
15185 register their own tags or formats or whatever, and
15186 preferably without segfaulting).
15188 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
15189 Print at least a warning in the debug logs if we drop a
15190 query just because we don't know how to adjust the value
15191 in the particular format.
15193 2005-12-24 David Schleef <ds@schleef.org>
15195 * tools/gstreamer-completion:
15196 Replacement for gst-complete written in sh and sed. Only
15197 completes names of features, but that's 90% of what I want
15198 it for. Properties are not available in registry.xml. (Maybe
15201 === release 0.10.1 ===
15203 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
15206 releasing 0.10.1, "Nollaig chridheil"
15208 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
15210 * docs/faq/cvs.xml:
15211 Add missing quote, should be make ERROR_CFLAGS="".
15213 2005-12-20 Wim Taymans <wim@fluendo.com>
15215 * docs/design/part-trickmodes.txt:
15216 More documentation on trickmodes.
15218 2005-12-20 Edward Hervey <edward@fluendo.com>
15220 * gst/gstcaps.c: (gst_static_caps_get_type):
15222 API addition: GST_TYPE_STATIC_CAPS
15223 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
15224 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
15225 * gst/gstpadtemplate.h:
15226 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
15227 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
15230 2005-12-18 Wim Taymans <wim@fluendo.com>
15232 * libs/gst/base/gstadapter.c:
15233 * libs/gst/base/gstadapter.h:
15234 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
15235 (gst_base_sink_get_position):
15236 * libs/gst/base/gstbasesink.h:
15237 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15238 (gst_base_src_default_query), (gst_base_src_default_do_seek),
15239 (gst_base_src_do_seek), (gst_base_src_perform_seek),
15240 (gst_base_src_send_event), (gst_base_src_update_length),
15241 (gst_base_src_get_range), (gst_base_src_loop),
15242 (gst_base_src_start):
15243 * libs/gst/base/gstbasesrc.h:
15244 * libs/gst/base/gstbasetransform.h:
15245 * libs/gst/base/gstcollectpads.h:
15246 * libs/gst/base/gstpushsrc.c:
15247 * libs/gst/base/gstpushsrc.h:
15248 * libs/gst/dataprotocol/dataprotocol.c:
15249 * libs/gst/dataprotocol/dataprotocol.h:
15250 * libs/gst/net/gstnetclientclock.h:
15251 * libs/gst/net/gstnettimeprovider.h:
15252 Documentation updates.
15254 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
15256 * docs/manual/basics-helloworld.xml:
15257 Remove superfluous closing bracket in helloworld example.
15259 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
15261 * tools/gst-launch.1.in:
15262 Update gst-launch man page; add a section with useful
15263 environment variables. Fixes #323882.
15265 2005-12-16 Stefan Kost <ensonic@users.sf.net>
15268 * gst/gst_private.h:
15269 change some char* into char[]
15271 2005-12-16 Wim Taymans <wim@fluendo.com>
15273 * gst/gstregistryxml.c: (load_feature):
15275 Don't use g_object_unref on GstObjects so that we avoid
15276 leaks on unsafe glibs.
15278 2005-12-16 Wim Taymans <wim@fluendo.com>
15280 * gst/gstbin.c: (gst_bin_recalc_state):
15283 2005-12-16 Wim Taymans <wim@fluendo.com>
15285 * common/check.mak:
15286 Added make forever target for check.
15288 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
15290 * gst/gst.c: (init_post):
15291 make the registry cache file HOST_CPU-dependent
15293 2005-12-16 Andy Wingo <wingo@pobox.com>
15295 * plugins/elements/gstbufferstore.c
15296 (gst_buffer_store_cleared_func): Pay attention to g_list_append
15299 * tests/check/gst/gstobject.c
15300 (test_fake_object_name_threaded_unique): Pay attention to
15301 g_list_sort return value.
15303 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
15305 * tools/gst-feedback-m.m:
15306 Update for 0.9/0.10 (fixes #323870).
15308 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
15310 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
15311 Fix lcopy for mini objects, the mini object needs to be ref'ed.
15313 * tests/check/gst/gstminiobject.c: (my_foo_init),
15314 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
15315 (test_value_collection), (gst_mini_object_suite):
15316 Add test to ensure refcounts end up as expected when passing
15317 GstMiniObjects through g_object_get() and g_object_set().
15319 2005-12-14 Julien MOUTTE <julien@moutte.net>
15321 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15322 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
15323 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
15324 of collectpads. This version removes a lot of races without
15325 touching API/ABI. Yay !
15327 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
15329 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
15330 Don't allow activation of a srcpad in pull_range if it has no
15332 Change some debug statements to be a little clearer
15334 * plugins/elements/gsttypefindelement.c:
15335 (gst_type_find_handle_src_query):
15336 Check that we have a peer before executing queries thereupon.
15338 * tests/examples/metadata/read-metadata.c: (message_loop):
15339 Use gst_bus_pop instead of gst_bus_poll when we just want it to
15340 immediately return us any available message with 0 timeout.
15342 2005-12-12 Michael Smith <msmith@fluendo.com>
15344 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
15345 Don't unref factories after calling them.
15346 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
15347 * plugins/elements/gsttypefindelement.c:
15348 (gst_type_find_element_chain):
15349 Free lists of factories after using them. Fixing typefinding memory
15352 2005-12-12 Stefan Kost <ensonic@users.sf.net>
15354 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
15355 (gst_plugin_feature_load):
15356 more meaningful debug output
15358 * tests/Makefile.am:
15359 * tests/old/examples/Makefile.am:
15360 make make distcheck happy again
15362 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
15364 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
15365 Catch the special case where we are operating chain-based,
15366 but the downstream peer pad has no chain function. Emit a
15367 custom error message in this case instead of letting the
15368 core generate one implying that this is some sort of core
15369 bug. It's not, it just means that whatever got plugged
15370 into the pipeline downstream when we announced the type
15371 can only operate pull-based, while our source can only
15372 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
15373 Error string has not been marked for translation yet, as
15374 it probably needs some more work first.
15376 (gst_type_find_element_get_best_possibility):
15377 Add helper function to find the best of all available
15378 found possibilities that qualify given the min. threshold.
15380 (gst_type_find_element_handle_event):
15381 Fix the case where we get an EOS while still in TYPEFIND
15382 mode (we want to chose the best of all possible types,
15383 not just the first type that happens to be in our unsorted
15384 list of possible types).
15386 (gst_type_find_element_chain):
15387 Make sure we return GST_FLOW_ERROR when we errored out
15388 in stop_typefinding(); also, don't just find the best of
15389 all found type entries and then use the last examined
15390 type entry, but actually use the best entry.
15392 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
15394 * tests/examples/typefind/typefind.c: (type_found):
15395 * tests/examples/xml/runxml.c: (xml_loaded):
15396 More gcc4 fixes and a mem leak fix.
15398 2005-12-12 Stefan Kost <ensonic@users.sf.net>
15400 * tests/examples/xml/createxml.c: (object_saved):
15403 2005-12-12 Stefan Kost <ensonic@users.sf.net>
15405 * tests/Makefile.am:
15406 enable the examples even more
15408 2005-12-12 Andy Wingo <wingo@pobox.com>
15410 * libs/gst/net/gstnettimeprovider.c
15411 (gst_net_time_provider_class_init, gst_net_time_provider_init)
15412 (gst_net_time_provider_set_property)
15413 (gst_net_time_provider_get_property):
15414 API addition: Export "active" as a GObject property.
15415 (gst_net_time_provider_thread): Only respond to time queries if
15416 the time provider is active.
15418 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
15419 NetTimeProvider, preserving binary compat.
15421 2005-12-12 Stefan Kost <ensonic@users.sf.net>
15423 * tests/examples/controller/audio-example.c: (main):
15424 * tests/examples/launch/Makefile.am:
15425 convert comments again
15427 2005-12-12 Wim Taymans <wim@fluendo.com>
15429 * libs/gst/base/gstpushsrc.c:
15432 2005-12-12 Wim Taymans <wim@fluendo.com>
15434 * docs/libs/gstreamer-libs-sections.txt:
15435 Added new symbol to docs.
15437 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15438 (gst_base_src_init), (gst_base_src_set_format),
15439 (gst_base_src_default_query), (gst_base_src_query),
15440 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
15441 (gst_base_src_perform_seek), (gst_base_src_send_event),
15442 (gst_base_src_default_event), (gst_base_src_event_handler),
15443 (gst_base_src_set_property), (gst_base_src_get_property),
15444 (gst_base_src_wait), (gst_base_src_do_sync),
15445 (gst_base_src_update_length), (gst_base_src_get_range),
15446 (gst_base_src_check_get_range), (gst_base_src_loop),
15447 (gst_base_src_default_negotiate), (gst_base_src_start),
15448 (gst_base_src_activate_push), (gst_base_src_activate_pull),
15449 (gst_base_src_change_state):
15450 * libs/gst/base/gstbasesrc.h:
15451 Implement seeking to other formats than _BYTES.
15452 Implement more seeking methods correctly.
15454 Added query vmethod.
15455 Added do_seek vmethod to make life easier for subclasses
15457 API addition: gst_base_src_set_format()
15459 2005-12-12 Stefan Kost <ensonic@users.sf.net>
15461 * tests/examples/Makefile.am:
15464 2005-12-12 Stefan Kost <ensonic@users.sf.net>
15467 * docs/random/ensonic/media-device-daemon.txt:
15468 * tests/examples/controller/.cvsignore:
15469 * tests/examples/controller/Makefile.am:
15470 * tests/examples/controller/audio-example.c: (main):
15471 * tests/examples/helloworld/.cvsignore:
15472 * tests/examples/helloworld/Makefile.am:
15473 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
15474 * tests/examples/launch/.cvsignore:
15475 * tests/examples/launch/Makefile.am:
15476 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
15477 * tests/examples/metadata/.cvsignore:
15478 * tests/examples/metadata/Makefile.am:
15479 * tests/examples/metadata/read-metadata.c: (message_loop),
15480 (make_pipeline), (print_tag), (main):
15481 * tests/examples/queue/.cvsignore:
15482 * tests/examples/queue/Makefile.am:
15483 * tests/examples/queue/queue.c: (event_loop), (main):
15484 * tests/examples/typefind/.cvsignore:
15485 * tests/examples/typefind/Makefile.am:
15486 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
15488 * tests/examples/xml/.cvsignore:
15489 * tests/examples/xml/Makefile.am:
15490 * tests/examples/xml/createxml.c: (object_saved), (main):
15491 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
15492 * tests/old/examples/Makefile.am:
15493 * tests/old/examples/TODO:
15494 * tests/old/examples/controller/.cvsignore:
15495 * tests/old/examples/controller/Makefile.am:
15496 * tests/old/examples/controller/audio-example.c:
15497 * tests/old/examples/helloworld/.cvsignore:
15498 * tests/old/examples/helloworld/Makefile.am:
15499 * tests/old/examples/helloworld/helloworld.c:
15500 * tests/old/examples/launch/.cvsignore:
15501 * tests/old/examples/launch/Makefile.am:
15502 * tests/old/examples/launch/mp3parselaunch.c:
15503 * tests/old/examples/launch/mp3play:
15504 * tests/old/examples/manual/Makefile.am:
15505 * tests/old/examples/metadata/Makefile.am:
15506 * tests/old/examples/metadata/read-metadata.c:
15507 * tests/old/examples/queue/.cvsignore:
15508 * tests/old/examples/queue/Makefile.am:
15509 * tests/old/examples/queue/queue.c:
15510 * tests/old/examples/typefind/.cvsignore:
15511 * tests/old/examples/typefind/Makefile.am:
15512 * tests/old/examples/typefind/typefind.c:
15513 * tests/old/examples/xml/.cvsignore:
15514 * tests/old/examples/xml/Makefile.am:
15515 * tests/old/examples/xml/createxml.c:
15516 * tests/old/examples/xml/runxml.c:
15517 applied some simple fixing to some examples
15518 re-enabled the working examples
15520 2005-12-12 Wim Taymans <wim@fluendo.com>
15522 * gst/gstsegment.c: (gst_segment_init),
15523 (gst_segment_set_last_stop), (gst_segment_set_seek),
15524 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
15525 (gst_segment_to_running_time):
15526 Added more documentation.
15527 Make sure the last_pos value is updated properly.
15528 Make sure to_stream_time and to_running_time don't
15529 operate on wrong values.
15531 * tests/check/gst/gstsegment.c: (GST_START_TEST):
15534 2005-12-12 Michael Smith <msmith@fluendo.com>
15536 * plugins/elements/gsttypefindelement.c: (free_entry),
15537 (gst_type_find_element_chain):
15538 Now that we're not leaking factories, make sure we keep references
15539 to them while we need them.
15541 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
15543 * tests/check/gst/struct_i386.h:
15544 ifdef out the XML structs
15546 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
15548 * gst/gstvalue.c: (gst_value_transform_double_fraction):
15549 floor is not needed, F is always positive; this obviates the
15550 need for adding -lm when building without libxml
15552 2005-12-12 Wim Taymans <wim@fluendo.com>
15554 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15555 Take current playback rate into account when reporting
15558 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
15560 * docs/manual/mime-world.fig:
15561 Let's try this again, this time with a file that is
15562 actually in XFig format.
15564 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
15566 * docs/manual/mime-world.fig:
15567 Add audioconvert element to diagram so that it
15568 matches the text and the code (fixes #319526).
15570 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
15572 * docs/pwg/building-chainfn.xml:
15573 * docs/pwg/building-pads.xml:
15574 * docs/pwg/building-state.xml:
15575 * docs/pwg/other-source.xml:
15576 Update state change stuff for 0.10 (fixes #322969).
15578 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
15580 * docs/manual/advanced-dataaccess.xml:
15581 * docs/manual/appendix-checklist.xml:
15582 * docs/manual/appendix-programs.xml:
15583 * docs/manual/basics-pads.xml:
15584 * docs/manual/highlevel-components.xml:
15585 * docs/manual/manual.xml:
15586 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
15587 add converters in front of pipelines; remove curly
15588 brackets for threads stuff, they no longer exist; use
15589 GST_TYPE_FRACTION for framerates; update some pieces of
15590 code to 0.10, but there's plenty more to do.
15592 * docs/manual/appendix-porting.xml:
15593 Expand on asynchroneous state changes; s/0.9/0.10/;
15594 mention disappearance of gst_init_get_popt_table()
15597 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
15599 * docs/faq/using.xml:
15600 Spider no longer exists, and neither does gst-launch-ext.
15601 Update examples to use decodebin and playbin and put
15602 converters in front of sinks (fixes #323726).
15604 2005-12-09 Michael Smith <msmith@fluendo.com>
15606 * plugins/elements/gsttypefindelement.c: (find_peek),
15607 (gst_type_find_element_chain):
15608 Fix leaking element factories in typefinding.
15609 Fix problem where we forgot about a probable type on non-seekable
15610 files, and thus later mis-typefound it.
15612 2005-12-09 Michael Smith <msmith@fluendo.com>
15614 * common/m4/gst-makecontext.m4:
15615 * common/m4/gst-mcsc.m4:
15617 * win32/common/config.h:
15618 * win32/common/config.h.in:
15619 Remove makecontext stuff; not used in 0.10 and causes problems on
15620 HPUX according to bug #322441
15622 2005-12-07 Wim Taymans <wim@fluendo.com>
15624 * tests/check/Makefile.am:
15625 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
15627 * tests/check/libs/struct_i386.h:
15628 Added ABI check for libs
15630 2005-12-07 Wim Taymans <wim@fluendo.com>
15632 * tests/check/Makefile.am:
15633 And add the struct_i386.h to dist.
15635 2005-12-07 Wim Taymans <wim@fluendo.com>
15637 * tests/check/Makefile.am:
15638 * tests/check/gst/.cvsignore:
15639 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
15641 * tests/check/gst/struct_i386.h:
15642 Added check for ABI compatibility.
15644 2005-12-07 Wim Taymans <wim@fluendo.com>
15646 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
15647 (gst_fake_src_get_times), (gst_fake_src_create):
15648 Fix broken sync option, fixes #323259
15650 2005-12-07 Wim Taymans <wim@fluendo.com>
15655 * gst/gstcaps.c: (gst_caps_is_equal):
15656 Don't assert on NULL <--> X. Fixes #323260
15658 * gst/gstminiobject.c: (gst_mini_object_replace):
15659 If we're doing atomic operations, we might just as well use
15660 the proper way to get an atomic pointer.
15662 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15663 Clean up debugging.
15665 2005-12-07 Michael Smith <msmith@fluendo.com>
15667 * gst/parse/grammar.y:
15668 Remove handling of { } for threads.
15670 2005-12-06 David Schleef <ds@schleef.org>
15672 * libs/gst/base/gstbasetransform.c: speling fix.
15674 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
15676 * docs/libs/tmpl/gstdataprotocol.sgml:
15677 * docs/random/omega/testing/gstobject.c:
15680 * gst/gstelement.c:
15681 * gst/gstelementfactory.c:
15684 * gst/gstghostpad.c:
15686 * gst/gstpadtemplate.c:
15687 * gst/gstregistryxml.c:
15688 * gst/gsttaglist.c:
15689 * gst/gsttagsetter.c:
15690 * gst/gsttypefind.c:
15692 * libs/gst/base/gstbasesrc.c:
15693 * libs/gst/net/gstnetclientclock.c:
15694 * libs/gst/net/gstnettimeprovider.c:
15695 * plugins/elements/gstfakesrc.c:
15696 * plugins/elements/gstfdsrc.c:
15697 * plugins/elements/gstfilesrc.c:
15698 * plugins/elements/gstidentity.c:
15699 * plugins/elements/gstqueue.c:
15700 * plugins/elements/gsttypefindelement.c:
15701 * plugins/indexers/gstfileindex.c:
15702 * plugins/indexers/gstmemindex.c:
15703 * tests/check/gst/gsttag.c:
15704 * tests/old/examples/cutter/cutter.c:
15705 * tests/old/examples/mixer/mixer.c:
15706 * tests/old/examples/xml/runxml.c: (main):
15707 * tests/old/testsuite/caps/normalisation.c:
15708 * tests/old/testsuite/debug/global.c:
15709 * tests/old/testsuite/parse/parse1.c:
15710 * tools/gst-xmlinspect.c:
15711 * win32/common/dirent.c:
15714 === release 0.10.0 ===
15716 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
15719 releasing 0.10.0, "Maroilles"
15721 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
15723 submitted by: Funda Wang <fundawang@linux.net.cn>
15727 added Chinese (Traditional) translation
15729 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
15731 * docs/gst/gstreamer-sections.txt:
15732 * docs/libs/tmpl/gstdataprotocol.sgml:
15733 * docs/random/thomasvs/TODO:
15738 2005-12-05 Andy Wingo <wingo@pobox.com>
15740 patch by: Wim Taymans <wim@fluendo.com>
15742 * libs/gst/base/gstbasetransform.c
15743 (gst_base_transform_prepare_output_buf)
15744 (gst_base_transform_buffer_alloc):
15745 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
15746 alloc_buffer_and_set_caps.
15748 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
15749 set_caps on the source pad.
15750 (gst_pad_alloc_buffer_and_set_caps): New function, does what
15751 alloc_buffer used to do. Fixes #322874.
15753 * docs/gst/gstreamer-sections.txt:
15754 * docs/design/part-negotiation.txt:
15755 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
15758 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
15760 patch by: Sebastien Moutte
15763 * win32/common/config.h.in:
15764 * win32/vs6/libgstcontroller.dsp:
15767 2005-12-05 Wim Taymans <wim@fluendo.com>
15769 * gst/gstcaps.c: (gst_caps_is_equal):
15770 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
15771 (gst_fake_src_create):
15772 Back out previous code changes, leave doc updates, file bugs
15775 2005-12-05 Wim Taymans <wim@fluendo.com>
15777 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
15778 (gst_fake_src_get_times), (gst_fake_src_create):
15779 * plugins/elements/gstfakesrc.h:
15780 Fix broken sync code.
15782 2005-12-05 Wim Taymans <wim@fluendo.com>
15784 * gst/gstcaps.c: (gst_caps_is_equal):
15785 Comparing NULL against !NULL yields different caps, not a
15788 2005-12-05 Wim Taymans <wim@fluendo.com>
15790 * gst/gstpipeline.c:
15791 Fix small typo in docs.
15793 2005-12-05 Andy Wingo <wingo@pobox.com>
15795 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
15797 * gst/gst.c (init_post): remove hard-coded 0.9 location for
15798 registries/plugins with a MAJORMINOR one.
15799 (plugin_desc): Rename library from gstcoreleements to
15800 staticelements. Fixes #323222.
15802 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
15804 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
15805 Change debug category to 'collectpads' from 'collect_pads'
15808 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
15810 patch by: Sebastien Moutte
15812 * libs/gst/controller/gstinterpolation.c:
15813 use convert function for uint64/double
15814 * win32/vs6/libgstcontroller.dsp:
15817 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
15819 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
15820 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
15822 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15823 add tests that seem to show that the guint64/gdouble conversions
15826 2005-12-02 Wim Taymans <wim@fluendo.com>
15828 * gst/gstregistry.c: (gst_registry_add_path):
15829 * gst/gstregistry.h:
15830 * gst/gstregistryxml.c:
15833 2005-12-02 Wim Taymans <wim@fluendo.com>
15835 * gst/gstutils.c: (gst_util_uint64_scale_int64),
15836 (gst_util_uint64_scale_int):
15839 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15840 Add debug log line.
15842 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
15845 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
15848 * win32/common/config.h:
15849 * win32/vs6/gstreamer.dsw:
15850 * win32/vs6/libgstcoreelements.dsp:
15851 * win32/vs6/libgstelements.dsp:
15852 renamed core elements plugin
15854 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
15856 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
15858 do piece-wise major/minor comparison so 0.9 < 0.10
15859 also allow .exe extensions for tools
15861 2005-12-02 Michael Smith <msmith@fluendo.com>
15864 Escape a % to make gtkdoc happier; bug 322958.
15866 === release 0.9.7 ===
15868 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
15871 releasing 0.9.7, "My Dog Has No Nose"
15873 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
15875 * common/gst-xmlinspect.py:
15877 * docs/libs/tmpl/gstdataprotocol.sgml:
15878 * docs/random/release:
15897 * win32/common/config.h:
15898 * win32/common/config.h.in:
15899 * win32/vs6/gst_inspect.dsp:
15900 * win32/vs6/gst_launch.dsp:
15901 * win32/vs6/libgstbase.dsp:
15902 * win32/vs6/libgstelements.dsp:
15903 * win32/vs6/libgstreamer.dsp:
15904 * win32/vs7/GStreamer.vcproj:
15905 * win32/vs7/gst-inspect.vcproj:
15906 * win32/vs7/gst-launch.vcproj:
15907 * win32/vs7/libgstbase.vcproj:
15908 bump GST_MAJORMINOR to 0.10
15909 reset libtool version
15911 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
15915 Added Bulgarian translation by (Alexander Shopov)
15917 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
15919 * tests/check/gst/gstplugin.c:
15922 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
15924 * common/gst-xmlinspect.py:
15925 * common/gtk-doc-plugins.mak:
15927 * docs/Makefile.am:
15928 * docs/gst/Makefile.am:
15929 * docs/gst/gstreamer-docs.sgml:
15930 * docs/gst/gstreamer-sections.txt:
15931 * docs/gst/gstreamer.types:
15932 * docs/gst/gstreamer.types.in:
15933 * docs/plugins/Makefile.am:
15934 * docs/plugins/gstreamer-plugins-docs.sgml:
15935 * docs/plugins/gstreamer-plugins-sections.txt:
15936 * docs/plugins/gstreamer-plugins.types:
15937 * docs/plugins/inspect.stamp:
15938 * docs/plugins/inspect/plugin-coreelements.xml:
15939 * docs/plugins/inspect/plugin-coreindexers.xml:
15940 * docs/plugins/scanobj-build.stamp:
15941 * gstreamer.spec.in:
15942 * plugins/elements/Makefile.am:
15943 * plugins/elements/gstelements.c:
15944 * plugins/elements/gstfakesink.c:
15945 * plugins/elements/gstfakesrc.c:
15946 * plugins/elements/gstfilesink.c:
15947 * plugins/elements/gstfilesrc.c:
15948 * plugins/elements/gstqueue.c:
15949 * plugins/indexers/Makefile.am:
15950 * plugins/indexers/gstindexers.c:
15951 document core plugins in a separate document just like all the
15953 rename these plugins to something starting with core
15955 2005-12-01 Andy Wingo <wingo@pobox.com>
15957 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
15958 padding here before, but it missed the commit.
15960 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
15962 * libs/gst/controller/gstinterpolation.c:
15963 whitespace prices have crashed, we should feel free to use some now
15964 use gst_guint64_to_gdouble
15966 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
15968 * libs/gst/controller/gstcontroller.c:
15969 * libs/gst/controller/gsthelper.c:
15970 * libs/gst/controller/gstinterpolation.c:
15971 * libs/gst/controller/lib.c:
15972 wrap config.h include
15974 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
15976 * docs/gst/gstreamer-sections.txt:
15979 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
15981 * plugins/elements/gstelements.c:
15982 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
15983 (gst_fd_sink__class_init), (gst_fd_sink__init),
15984 (gst_fd_sink__chain), (gst_fd_sink__set_property),
15985 (gst_fd_sink__get_property):
15986 * plugins/elements/gstfdsink.h:
15987 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
15988 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
15989 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
15990 (gst_fd_src_unlock), (gst_fd_src_set_property),
15991 (gst_fd_src_get_property), (gst_fd_src_create),
15992 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
15993 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
15994 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
15995 (gst_fd_src_uri_handler_init):
15996 * plugins/elements/gstfdsrc.h:
15997 * plugins/elements/gstqueue.c: (gst_queue_get_type):
16000 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16002 * docs/gst/Makefile.am:
16003 * docs/gst/gstreamer.types.in:
16007 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
16013 * gst/gstregistry.h:
16014 * tests/benchmarks/complexity.c:
16015 * tests/benchmarks/mass-elements.c:
16016 * tests/check/Makefile.am:
16017 * tools/Makefile.am:
16018 * tools/gst-inspect.c:
16019 * tools/gst-xmlinspect.c:
16020 various fixes to make
16021 --disable-nls --disable-registry --disable-loadsave
16022 --disable-parse --disable-gst-debug
16023 work and get the core .so down to 360444 bytes after stripping
16025 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
16030 * docs/random/thomasvs/TODO:
16031 * tests/Makefile.am:
16035 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
16037 * win32/GStreamer.vcproj:
16040 * win32/Makefile.inspect:
16041 * win32/Makefile.launch:
16042 * win32/Makefile.register:
16043 * win32/README.txt:
16044 * win32/gst-inspect.vcproj:
16045 * win32/gst-launch.vcproj:
16046 * win32/gst-register.vcproj:
16047 * win32/gstelements.vcproj:
16048 * win32/gstgetbits.def:
16049 * win32/gstgetbits.vcproj:
16050 * win32/gstreamer-dbg.def:
16051 * win32/gstreamer.def:
16052 * win32/libgstbase.def:
16053 * win32/libgstbase.vcproj:
16054 * win32/link_oldruntime.c:
16058 * win32/msvc71.sln:
16059 move even more stuff, win32/ is nice and clean now
16061 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
16063 * libs/gst/control/.cvsignore:
16068 * win32/gstbytestream.def:
16069 * win32/gstbytestream.vcproj:
16070 * win32/gstconfig.h:
16071 * win32/gstenumtypes.c:
16072 * win32/gstenumtypes.h:
16073 * win32/gstoptimalscheduler.vcproj:
16074 * win32/gstversion.h:
16076 * win32/testsuite/bins.vcproj:
16077 * win32/testsuite/bytestream.vcproj:
16078 * win32/testsuite/caps.vcproj:
16079 * win32/testsuite/cleanup.vcproj:
16080 * win32/testsuite/clock.vcproj:
16081 * win32/testsuite/debug.vcproj:
16082 * win32/testsuite/dlopen.vcproj:
16083 * win32/testsuite/dynparams.vcproj:
16084 * win32/testsuite/elements.vcproj:
16085 * win32/testsuite/ghostpads.vcproj:
16086 * win32/testsuite/indexers.vcproj:
16087 * win32/testsuite/negotiation.vcproj:
16088 * win32/testsuite/parse.vcproj:
16089 * win32/testsuite/plugin.vcproj:
16090 * win32/testsuite/refcounting.vcproj:
16091 * win32/testsuite/schedulers.vcproj:
16092 * win32/testsuite/states.vcproj:
16093 * win32/testsuite/tags.vcproj:
16094 * win32/testsuite/threads.vcproj:
16095 remove old win32 stuff that isn't maintained and should be
16098 2005-11-30 Andy Wingo <wingo@pobox.com>
16100 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
16101 loading the gst.interfaces python module bork.
16103 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
16104 available since GLib 2.2. Fixes #318031.
16106 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
16109 * check/.cvsignore:
16110 * check/Makefile.am:
16111 * check/elements/.cvsignore:
16112 * check/elements/fakesrc.c:
16113 * check/elements/fdsrc.c:
16114 * check/elements/identity.c:
16115 * check/generic/.cvsignore:
16116 * check/generic/states.c:
16117 * check/gst-libs/.cvsignore:
16118 * check/gst-libs/controller.c:
16119 * check/gst-libs/gdp.c:
16120 * check/gst/.cvsignore:
16121 * check/gst/capslist.h:
16123 * check/gst/gstbin.c:
16124 * check/gst/gstbuffer.c:
16125 * check/gst/gstbus.c:
16126 * check/gst/gstcaps.c:
16127 * check/gst/gstelement.c:
16128 * check/gst/gstevent.c:
16129 * check/gst/gstghostpad.c:
16130 * check/gst/gstiterator.c:
16131 * check/gst/gstmessage.c:
16132 * check/gst/gstminiobject.c:
16133 * check/gst/gstobject.c:
16134 * check/gst/gstpad.c:
16135 * check/gst/gstpipeline.c:
16136 * check/gst/gstplugin.c:
16137 * check/gst/gstsegment.c:
16138 * check/gst/gststructure.c:
16139 * check/gst/gstsystemclock.c:
16140 * check/gst/gsttag.c:
16141 * check/gst/gstutils.c:
16142 * check/gst/gstvalue.c:
16143 * check/net/.cvsignore:
16144 * check/net/gstnetclientclock.c:
16145 * check/net/gstnettimeprovider.c:
16146 * check/pipelines/.cvsignore:
16147 * check/pipelines/cleanup.c:
16148 * check/pipelines/simple_launch_lines.c:
16149 * check/pipelines/stress.c:
16150 * check/states/.cvsignore:
16151 * check/states/sinks.c:
16153 * examples/Makefile.am:
16154 * examples/appreader/.cvsignore:
16155 * examples/appreader/Makefile.am:
16156 * examples/appreader/appreader.c:
16157 * examples/controller/.cvsignore:
16158 * examples/controller/Makefile.am:
16159 * examples/controller/audio-example.c:
16160 * examples/cutter/.cvsignore:
16161 * examples/cutter/Makefile.am:
16162 * examples/cutter/cutter.c:
16163 * examples/cutter/cutter.h:
16164 * examples/events/Makefile.am:
16165 * examples/events/seek.c:
16166 * examples/helloworld/.cvsignore:
16167 * examples/helloworld/Makefile.am:
16168 * examples/helloworld/helloworld.c:
16169 * examples/helloworld2/.cvsignore:
16170 * examples/helloworld2/Makefile.am:
16171 * examples/helloworld2/helloworld2.c:
16172 * examples/launch/.cvsignore:
16173 * examples/launch/Makefile.am:
16174 * examples/launch/mp3parselaunch.c:
16175 * examples/launch/mp3play:
16176 * examples/manual/.cvsignore:
16177 * examples/manual/Makefile.am:
16178 * examples/manual/extract.pl:
16179 * examples/metadata/Makefile.am:
16180 * examples/metadata/read-metadata.c:
16181 * examples/mixer/.cvsignore:
16182 * examples/mixer/Makefile.am:
16183 * examples/mixer/mixer.c:
16184 * examples/mixer/mixer.h:
16185 * examples/pingpong/.cvsignore:
16186 * examples/pingpong/Makefile.am:
16187 * examples/pingpong/pingpong.c:
16188 * examples/plugins/.cvsignore:
16189 * examples/plugins/Makefile.am:
16190 * examples/plugins/example.c:
16191 * examples/plugins/example.h:
16192 * examples/pwg/.cvsignore:
16193 * examples/pwg/Makefile.am:
16194 * examples/pwg/extract.pl:
16195 * examples/queue/.cvsignore:
16196 * examples/queue/Makefile.am:
16197 * examples/queue/queue.c:
16198 * examples/queue2/.cvsignore:
16199 * examples/queue2/Makefile.am:
16200 * examples/queue2/queue2.c:
16201 * examples/queue3/.cvsignore:
16202 * examples/queue3/Makefile.am:
16203 * examples/queue3/queue3.c:
16204 * examples/queue4/.cvsignore:
16205 * examples/queue4/Makefile.am:
16206 * examples/queue4/queue4.c:
16207 * examples/retag/.cvsignore:
16208 * examples/retag/Makefile.am:
16209 * examples/retag/retag.c:
16210 * examples/retag/transcode.c:
16211 * examples/thread/.cvsignore:
16212 * examples/thread/Makefile.am:
16213 * examples/thread/thread.c:
16214 * examples/typefind/.cvsignore:
16215 * examples/typefind/Makefile.am:
16216 * examples/typefind/typefind.c:
16217 * examples/xml/.cvsignore:
16218 * examples/xml/Makefile.am:
16219 * examples/xml/createxml.c:
16220 * examples/xml/runxml.c:
16221 * tests/Makefile.am:
16222 * tests/check/Makefile.am:
16223 * testsuite/.cvsignore:
16224 * testsuite/Makefile.am:
16226 * testsuite/caps/.cvsignore:
16227 * testsuite/caps/Makefile.am:
16228 * testsuite/caps/app_fixate.c:
16229 * testsuite/caps/audioscale.c:
16230 * testsuite/caps/caps.c:
16231 * testsuite/caps/caps.h:
16232 * testsuite/caps/caps_strings:
16233 * testsuite/caps/compatibility.c:
16234 * testsuite/caps/deserialize.c:
16235 * testsuite/caps/enumcaps.c:
16236 * testsuite/caps/eratosthenes.c:
16237 * testsuite/caps/filtercaps.c:
16238 * testsuite/caps/fixed.c:
16239 * testsuite/caps/fraction-convert.c:
16240 * testsuite/caps/fraction-multiply-and-zero.c:
16241 * testsuite/caps/intersect2.c:
16242 * testsuite/caps/intersection.c:
16243 * testsuite/caps/normalisation.c:
16244 * testsuite/caps/random.c:
16245 * testsuite/caps/renegotiate.c:
16246 * testsuite/caps/sets.c:
16247 * testsuite/caps/simplify.c:
16248 * testsuite/caps/string-conversions.c:
16249 * testsuite/caps/structure.c:
16250 * testsuite/caps/subtract.c:
16251 * testsuite/caps/union.c:
16252 * testsuite/debug/.cvsignore:
16253 * testsuite/debug/Makefile.am:
16254 * testsuite/debug/category.c:
16255 * testsuite/debug/commandline.c:
16256 * testsuite/debug/global.c:
16257 * testsuite/debug/output.c:
16258 * testsuite/debug/printf_extension.c:
16259 * testsuite/dlopen/.cvsignore:
16260 * testsuite/dlopen/Makefile.am:
16261 * testsuite/dlopen/dlopen_gst.c:
16262 * testsuite/dlopen/loadgst.c:
16263 * testsuite/elements/.cvsignore:
16264 * testsuite/elements/Makefile.am:
16265 * testsuite/elements/gst-inspect-check.in:
16266 * testsuite/elements/struct_i386.h:
16267 * testsuite/elements/struct_size.c:
16268 * testsuite/indexers/.cvsignore:
16269 * testsuite/indexers/Makefile.am:
16270 * testsuite/indexers/cache1.c:
16271 * testsuite/indexers/indexdump.c:
16272 * testsuite/parse/.cvsignore:
16273 * testsuite/parse/Makefile.am:
16274 * testsuite/parse/parse1.c:
16275 * testsuite/parse/parse2.c:
16276 * testsuite/plugin/.cvsignore:
16277 * testsuite/plugin/Makefile.am:
16278 * testsuite/plugin/README:
16279 * testsuite/plugin/dynamic.c:
16280 * testsuite/plugin/linked.c:
16281 * testsuite/plugin/loading.c:
16282 * testsuite/plugin/registry.c:
16283 * testsuite/plugin/static.c:
16284 * testsuite/plugin/static2.c:
16285 * testsuite/plugin/testplugin.c:
16286 * testsuite/plugin/testplugin2.c:
16287 * testsuite/plugin/testplugin2_s.c:
16288 * testsuite/plugin/testplugin_s.c:
16289 * testsuite/refcounting/.cvsignore:
16290 * testsuite/refcounting/Makefile.am:
16291 * testsuite/refcounting/bin.c:
16292 * testsuite/refcounting/element.c:
16293 * testsuite/refcounting/element_pad.c:
16294 * testsuite/refcounting/mainloop.c:
16295 * testsuite/refcounting/mem.c:
16296 * testsuite/refcounting/mem.h:
16297 * testsuite/refcounting/object.c:
16298 * testsuite/refcounting/pad.c:
16299 * testsuite/refcounting/sched.c:
16300 * testsuite/refcounting/thread.c:
16301 * testsuite/states/.cvsignore:
16302 * testsuite/states/Makefile.am:
16303 * testsuite/states/bin.c:
16304 * testsuite/states/locked.c:
16305 * testsuite/states/parent.c:
16306 * testsuite/threads/.cvsignore:
16307 * testsuite/threads/159566.c:
16308 * testsuite/threads/159852.c:
16309 * testsuite/threads/Makefile.am:
16310 * testsuite/threads/queue.c:
16311 * testsuite/threads/signals.c:
16312 * testsuite/threads/staticrec.c:
16313 * testsuite/threads/thread.c:
16314 * testsuite/threads/threadb.c:
16315 * testsuite/threads/threadc.c:
16316 * testsuite/threads/threadd.c:
16317 * testsuite/threads/threade.c:
16318 * testsuite/threads/threadf.c:
16319 * testsuite/threads/threadg.c:
16320 * testsuite/threads/threadh.c:
16321 * testsuite/threads/threadi.c:
16322 move all of these under tests
16324 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
16327 * tests/Makefile.am:
16330 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
16332 * docs/gst/gstreamer-sections.txt:
16333 * tests/sched/.cvsignore:
16334 * tests/sched/Makefile.am:
16335 * tests/sched/cases/(fs-fs).xml:
16336 * tests/sched/cases/(fs-i-fs).xml:
16337 * tests/sched/cases/(fs-i-i-fs).xml:
16338 * tests/sched/cases/(fs-i-q[i-fs]).xml:
16339 * tests/sched/dynamic-pipeline.c:
16340 * tests/sched/interrupt1.c:
16341 * tests/sched/interrupt2.c:
16342 * tests/sched/interrupt3.c:
16343 * tests/sched/runtestcases:
16344 * tests/sched/runxml.c:
16345 * tests/sched/sched-stress.c:
16346 * tests/sched/sort.c:
16347 * tests/sched/testcases:
16348 * tests/sched/testcases1.tc:
16349 * tests/seeking/.cvsignore:
16350 * tests/seeking/Makefile.am:
16351 * tests/seeking/seeking1.c:
16352 * tests/threadstate/.cvsignore:
16353 * tests/threadstate/Makefile.am:
16354 * tests/threadstate/test1.c:
16355 * tests/threadstate/test2.c:
16356 * tests/threadstate/threadstate1.c:
16357 * tests/threadstate/threadstate2.c:
16358 * tests/threadstate/threadstate3.c:
16359 * tests/threadstate/threadstate4.c:
16360 * tests/threadstate/threadstate5.c:
16361 remove obsolete tests
16363 * tests/bench-complexity.scm:
16364 * tests/bench-mass_elements.scm:
16365 * tests/complexity.c:
16366 * tests/complexity.gnuplot:
16367 * tests/instantiate/.cvsignore:
16368 * tests/instantiate/Makefile.am:
16369 * tests/instantiate/caps.c:
16370 * tests/mass_elements.c:
16371 * tests/network-clock-utils.scm:
16372 * tests/network-clock.scm:
16374 First pass at cleaning up tests/ dir before moving the rest
16375 Combined with CVS surgery
16377 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
16380 queue has moved, update
16382 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
16384 * docs/gst/gstreamer-sections.txt:
16385 remove double entries from the docs
16386 * gst/gst_private.h:
16387 * gst/gstinfo.c: (_gst_debug_init):
16388 remove the THREAD debug category
16392 * docs/gst/gstreamer.types:
16393 * plugins/elements/gstqueue.c: (gst_queue_get_type),
16394 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
16395 completely move queue and fix up debugging categories
16397 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
16399 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
16400 make initialization portable, using LL is not
16402 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
16404 * win32/common/gstconfig.h:
16407 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
16409 * win32/common/libgstreamer.def:
16410 rename symbols; sort base section
16412 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
16414 * gst/gstclock.c: (do_linear_regression):
16415 remove crack non-portable handrolled DEBUG macro
16417 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
16419 * docs/random/release:
16421 * win32/common/gstenumtypes.c: (register_gst_object_flags),
16422 (gst_object_flags_get_type), (register_gst_bin_flags),
16423 (gst_bin_flags_get_type), (register_gst_buffer_flag),
16424 (gst_buffer_flag_get_type), (register_gst_bus_flags),
16425 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
16426 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
16427 (gst_caps_flags_get_type), (register_gst_clock_return),
16428 (gst_clock_return_get_type), (register_gst_clock_entry_type),
16429 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
16430 (gst_clock_flags_get_type), (register_gst_state),
16431 (gst_state_get_type), (register_gst_state_change_return),
16432 (gst_state_change_return_get_type), (register_gst_state_change),
16433 (gst_state_change_get_type), (register_gst_element_flags),
16434 (gst_element_flags_get_type), (register_gst_core_error),
16435 (gst_core_error_get_type), (register_gst_library_error),
16436 (gst_library_error_get_type), (register_gst_resource_error),
16437 (gst_resource_error_get_type), (register_gst_stream_error),
16438 (gst_stream_error_get_type), (register_gst_event_type_flags),
16439 (gst_event_type_flags_get_type), (register_gst_event_type),
16440 (gst_event_type_get_type), (register_gst_seek_type),
16441 (gst_seek_type_get_type), (register_gst_seek_flags),
16442 (gst_seek_flags_get_type), (register_gst_format),
16443 (gst_format_get_type), (register_gst_index_certainty),
16444 (gst_index_certainty_get_type), (register_gst_index_entry_type),
16445 (gst_index_entry_type_get_type),
16446 (register_gst_index_lookup_method),
16447 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
16448 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
16449 (gst_index_resolver_method_get_type), (register_gst_index_flags),
16450 (gst_index_flags_get_type), (register_gst_debug_level),
16451 (gst_debug_level_get_type), (register_gst_debug_color_flags),
16452 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
16453 (gst_iterator_result_get_type), (register_gst_iterator_item),
16454 (gst_iterator_item_get_type), (register_gst_message_type),
16455 (gst_message_type_get_type), (register_gst_mini_object_flags),
16456 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
16457 (gst_pad_link_return_get_type), (register_gst_flow_return),
16458 (gst_flow_return_get_type), (register_gst_activate_mode),
16459 (gst_activate_mode_get_type), (register_gst_pad_direction),
16460 (gst_pad_direction_get_type), (register_gst_pad_flags),
16461 (gst_pad_flags_get_type), (register_gst_pad_presence),
16462 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
16463 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
16464 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
16465 (gst_plugin_error_get_type), (register_gst_plugin_flags),
16466 (gst_plugin_flags_get_type), (register_gst_rank),
16467 (gst_rank_get_type), (register_gst_query_type),
16468 (gst_query_type_get_type), (register_gst_tag_merge_mode),
16469 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
16470 (gst_tag_flag_get_type), (register_gst_task_state),
16471 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
16472 (gst_alloc_trace_flags_get_type),
16473 (register_gst_type_find_probability),
16474 (gst_type_find_probability_get_type), (register_gst_uri_type),
16475 (gst_uri_type_get_type), (register_gst_parse_error),
16476 (gst_parse_error_get_type):
16477 * win32/common/gstenumtypes.h:
16478 * win32/common/gstversion.h:
16479 update visual studio generated files
16481 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
16483 * win32/vs6/libgstbase.dsp:
16484 * win32/vs6/libgstelements.dsp:
16485 update project files for new locations
16487 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
16492 reinstate and update
16497 * docs/random/LICENSE:
16500 2005-11-30 Edward Hervey <edward@fluendo.com>
16502 * gst/gsttypefind.c: (gst_type_find_register):
16503 * gst/gsttypefind.h:
16504 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
16505 (gst_type_find_factory_dispose):
16506 * gst/gsttypefindfactory.h:
16507 Fix memory leak in GstTypeFindFactory.
16509 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16512 * plugins/elements/Makefile.am:
16513 * plugins/elements/gstelements.c:
16514 * plugins/elements/gstqueue.c:
16515 move queue from core to the elements plugin
16517 2005-11-29 Andy Wingo <wingo@pobox.com>
16519 * libs/gst/base/gstbasetransform.h:
16520 * libs/gst/base/gstbasesrc.h:
16521 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
16523 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
16524 of pointers by which to pad very extensible base classes (like the
16525 ones in libs/gst/base).
16527 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16529 * docs/gst/gstreamer-docs.sgml:
16530 * docs/gst/gstreamer-sections.txt:
16531 * docs/libs/gstreamer-libs-docs.sgml:
16532 * docs/libs/gstreamer-libs-sections.txt:
16533 moving documentation from core to lib
16535 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16537 * check/Makefile.am:
16539 * docs/gst/Makefile.am:
16541 * gst/base/.cvsignore:
16542 * gst/base/Makefile.am:
16544 * gst/base/gstadapter.c:
16545 * gst/base/gstadapter.h:
16546 * gst/base/gstbasesink.c:
16547 * gst/base/gstbasesink.h:
16548 * gst/base/gstbasesrc.c:
16549 * gst/base/gstbasesrc.h:
16550 * gst/base/gstbasetransform.c:
16551 * gst/base/gstbasetransform.h:
16552 * gst/base/gstcollectpads.c:
16553 * gst/base/gstcollectpads.h:
16554 * gst/base/gstpushsrc.c:
16555 * gst/base/gstpushsrc.h:
16556 * gst/base/gsttypefindhelper.c:
16557 * gst/base/gsttypefindhelper.h:
16558 * gst/check/Makefile.am:
16559 * gst/check/gstcheck.c:
16560 * gst/check/gstcheck.h:
16561 * gst/net/Makefile.am:
16562 * gst/net/gstnet.h:
16563 * gst/net/gstnetclientclock.c:
16564 * gst/net/gstnetclientclock.h:
16565 * gst/net/gstnettimepacket.c:
16566 * gst/net/gstnettimepacket.h:
16567 * gst/net/gstnettimeprovider.c:
16568 * gst/net/gstnettimeprovider.h:
16569 * libs/gst/Makefile.am:
16570 * libs/gst/base/Makefile.am:
16571 * libs/gst/base/gstbasetransform.c:
16572 * libs/gst/check/Makefile.am:
16573 * plugins/elements/Makefile.am:
16575 CVS surgery + support to move base, check, and net out of gst
16578 2005-11-29 Andy Wingo <wingo@pobox.com>
16580 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
16582 * gst/gststructure.h (struct _GstStructure): Only one pointer of
16585 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
16587 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
16589 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
16591 * gst/gstobject.h: (struct _GstObject): Only one pointer of
16592 padding; reduces object size by about 30%. We don't expect
16593 anything else to go into gstobject.
16595 * gst/gstminiobject.h (struct _GstMiniObject)
16596 (struct _GstMiniObjectClass): Only one pointer of padding; the
16597 payload is only a pointer and two ints anyway. For the class there
16598 are only two methods as well.
16600 * gst/gstelement.h (struct _GstElementClass): Removed
16601 the state_changed signal callback, it is not used.
16603 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
16605 * docs/gst/gstreamer.types:
16606 fix includes, though they are a little dinky
16608 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16610 * check/Makefile.am:
16611 look in the right place for elements, a lot more chance of
16614 remove indexers and elements subdirs
16615 * plugins/Makefile.am:
16616 make indexers conditional
16618 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16622 * plugins/elements/Makefile.am:
16623 * plugins/elements/gstcapsfilter.c:
16624 * plugins/elements/gstfilesink.c:
16625 * plugins/elements/gstfilesrc.c:
16626 * plugins/elements/gstidentity.c:
16627 * plugins/indexers/Makefile.am:
16628 do CVS surgery and related build fixery to move elements
16629 and indexers in a new gstreamer/plugins directory, out of the
16632 2005-11-29 Andy Wingo <wingo@pobox.com>
16634 * check/Makefile.am:
16635 * pkgconfig/gstreamer-net-uninstalled.pc.in:
16636 * pkgconfig/gstreamer-net.pc.in:
16637 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
16640 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
16642 * tools/Makefile.am:
16643 * tools/gst-complete.1.in:
16644 * tools/gst-complete.c:
16645 * tools/gst-compprep.1.in:
16646 * tools/gst-compprep.c:
16647 removing -compprep and -complete
16649 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
16651 * gst/gstevent.c: (gst_event_new_new_segment),
16652 (gst_event_parse_new_segment):
16654 fix #320529 - clean up new_segment API and structure.
16655 Let's hope everyone was using the methods, and not the structure.
16657 2005-11-29 Edward Hervey <edward@fluendo.com>
16659 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16660 (gst_base_sink_event), (gst_base_sink_do_sync),
16661 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
16662 Properly handle non GST_FORMAT_TIME segment
16663 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
16664 Properly handle non GST_FORMAT_TIME segment
16665 * gst/gstsegment.c:
16666 This function is valid if the accumulator is 0 and the format
16667 is different from the requested format.
16669 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
16671 * docs/gst/gstreamer-sections.txt:
16672 Add gst_query_new_seeking and gst_query_parse_seeking to the
16675 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
16677 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
16678 Treat a pad alloc with new caps the same as if we were not
16679 negotiated, in order to allow a changing upstream output
16680 to produce a new format of data.
16682 2005-11-29 Edward Hervey <edward@fluendo.com>
16684 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16685 (gst_base_transform_event), (gst_base_transform_eventfunc):
16686 The event virtual method is now properly implemented, with a default
16688 Sub classes should call the parent_class event method. They should
16689 return FALSE if they had a problem handling the given event, or don't
16690 want GstBaseTransform to send that even downstream
16691 * gst/elements/gstidentity.c: (gst_identity_class_init),
16692 (gst_identity_init), (gst_identity_event),
16693 (gst_identity_transform_ip), (gst_identity_set_property),
16694 (gst_identity_get_property):
16695 * gst/elements/gstidentity.h:
16696 Added the single-segment boolean property.
16697 If set to TRUE, it will output a single segment of data, starting from
16698 0, will eat up all incoming newsegment, and modify the timestamp of the
16699 buffers accordingly
16701 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
16703 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
16704 Don't ref NULL target pad (#322751). Improve docs.
16706 2005-11-29 Michael Smith <msmith@fluendo.com>
16708 * gst/gstregistryxml.c: (load_plugin):
16709 Don't crash if we failed to load a feature from a plugin.
16711 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
16713 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
16715 use more check API and less GLib API
16717 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
16720 don't run checks if we don't have check
16721 * common/check.mak:
16722 remove the registry when running make torture
16723 * docs/gst/gstreamer-sections.txt:
16724 remove second multiply
16725 * gst/gstqueue.c: (gst_queue_loop):
16726 fix a compile warning when disabling debug
16728 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
16731 Hey! Let's print the pad name if the pointer != NULL instead
16732 of when it == NULL :-)
16734 2005-11-28 Wim Taymans <wim@fluendo.com>
16736 * check/gst/gstutils.c: (GST_START_TEST):
16737 Updated check, add some scaling accuracy checking code.
16739 * gst/gstutils.c: (gst_util_div128_64),
16740 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
16741 (gst_util_uint64_scale_int):
16742 Fix 6 times faster division code. Optimize for common
16743 1/1 and less common X/1 cases.
16745 2005-11-28 Wim Taymans <wim@fluendo.com>
16747 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
16750 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
16751 (do_linear_regression), (gst_clock_add_observation):
16753 Release lock when the clock cannot be slaved.
16754 Catch the case where the regression returned an invalid denominator.
16756 * gst/gstutils.c: (gst_util_div128_64_iterate),
16757 (gst_util_div128_64), (gst_util_uint64_scale_int64),
16758 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
16759 Add protentially more performant non-iterative 128/64 divide function
16760 that unfortunatly does not work yet.
16761 Shortcut the trivial 0/X = 0 case.
16762 Remove the warnings on overflow.
16764 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
16766 * gst/gstplugin.c: (gst_plugin_register_func):
16767 everything causing a plugin not to load should be at least a WARNING
16769 2005-11-28 Stefan Kost <ensonic@users.sf.net>
16771 * docs/random/ensonic/dparams.txt:
16772 some TODOs for the next dev cycle
16773 * libs/gst/controller/gstcontroller.c:
16774 (gst_controlled_property_set_interpolation_mode),
16775 (gst_controlled_property_new):
16776 * libs/gst/controller/gstcontroller.h:
16777 use base type to assign acccessor functions
16779 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
16781 * check/Makefile.am:
16782 Oops, that should have been top_srcdir
16784 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
16786 * check/Makefile.am:
16787 * check/elements/fdsrc.c: (GST_START_TEST):
16788 Use a cmdline define to specify the location of a file to use for
16789 testing, to avoid breaking distcheck.
16791 2005-11-28 Andy Wingo <wingo@pobox.com>
16793 * gst/gstpad.c (fixate_value): Use array functions for arrays.
16795 2005-11-28 Edward Hervey <edward@fluendo.com>
16797 * tools/gst-launch.c: (main):
16798 Clarify the output strings, makes it easier to translate.
16801 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
16804 don't try and build net if we don't even have <sys/socket.h>
16806 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
16808 * check/Makefile.am:
16809 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
16810 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
16811 Add tests for fdsrc seekability
16813 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
16814 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
16815 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
16816 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
16817 * gst/elements/gstfdsrc.h:
16818 fdsrc should not be a 'live' source.
16819 Implement seeking on seekable fd's.
16821 * gst/gstquery.c: (gst_query_new_seeking),
16822 (gst_query_parse_seeking):
16824 Implement SEEKING query functions:
16825 *_new_seeking and *_parse_seeking
16827 2005-11-27 Stefan Kost <ensonic@users.sf.net>
16829 * gst/gstelement.c: (gst_element_dispose):
16832 * gst/gstiterator.c:
16833 * gst/gststructure.c:
16836 * libs/gst/controller/gstcontroller.c:
16837 (gst_controlled_property_set_interpolation_mode):
16838 * libs/gst/controller/gstcontroller.h:
16839 * libs/gst/controller/gstinterpolation.c:
16840 (interpolate_none_get_enum_value_array):
16841 support controlling enums
16843 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
16846 Improve documentation for gst_value_union().
16849 Change return value for union, intersect and subtract functions
16850 from gint to gboolean.
16852 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
16854 * gst/gstvalue.c: (gst_value_serialize_any_list),
16855 (gst_value_transform_any_list_string),
16856 (gst_value_deserialize_list), (gst_value_deserialize_array),
16857 (gst_value_set_int_range), (gst_value_deserialize_int_range),
16858 (gst_value_set_double_range), (gst_value_deserialize_double_range),
16859 (gst_value_set_fraction_range_full),
16860 (gst_value_deserialize_fraction_range),
16861 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
16862 (gst_value_deserialize_boolean),
16863 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
16864 (gst_value_serialize_float), (gst_value_deserialize_float),
16865 (gst_string_wrap), (gst_value_deserialize_string),
16866 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
16867 (gst_value_union_int_range_int_range),
16868 (gst_value_intersect_int_range_int_range),
16869 (gst_value_intersect_double_range_double_range),
16870 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
16871 (gst_value_subtract_int_range_int_range),
16872 (gst_value_subtract_double_double_range),
16873 (gst_value_subtract_double_range_double_range),
16874 (gst_value_deserialize_fraction):
16876 Use gint, gdouble and gchar in our API instead of int, double and
16877 char (and make usage in gstvalue.c more consistent).
16879 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
16881 * check/Makefile.am:
16882 * libs/gst/controller/Makefile.am:
16883 * libs/gst/dataprotocol/Makefile.am:
16884 fix up Makefile.am and remove GST_ENABLE_NEW
16886 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
16890 * gst/base/Makefile.am:
16891 * gst/check/Makefile.am:
16892 * gst/elements/Makefile.am:
16893 * gst/net/Makefile.am:
16894 update LDFLAGS use some more
16896 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
16898 * common/m4/gst-doc.m4:
16901 2005-11-26 Edward Hervey <edward@fluendo.com>
16903 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
16904 This shouldn't issue a g_warning since it returns NULL if it
16905 couldn't find the plugin, and all functions using this behave
16906 properly on a NULL return. Switching to a GST_WARNING.
16908 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
16910 * gst/gstbin.c: (gst_bin_handle_message_func):
16911 Don't leak clock messages.
16913 2005-11-25 Wim Taymans <wim@fluendo.com>
16915 * gst/gstutils.c: (gst_util_uint64_scale_int64),
16916 (gst_util_uint64_scale_int):
16917 Optimisations, remove unneeded vars.
16919 2005-11-25 Wim Taymans <wim@fluendo.com>
16921 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
16922 Added more checks for the high precision uint64 cases.
16924 * gst/gstutils.c: (gst_util_uint64_scale_int64),
16925 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
16926 Implement high precision (guint64 * guint64) / guint64.
16928 2005-11-24 Wim Taymans <wim@fluendo.com>
16930 * gst/base/gstbasesrc.c: (gst_base_src_query):
16931 Fix wrong percentage query.
16933 * gst/gstutils.c: (gst_util_uint64_scale),
16934 (gst_util_uint64_scale_int):
16935 Add some more common cases that can be handled
16936 efficiently to _scale.
16938 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
16940 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
16941 (gst_mini_object_suite):
16942 don't use check calls from threads; check probably isn't
16943 threadsafe and using a lock to make it threadsafe would
16944 defeat the purpose of this check
16945 * gst/check/gstcheck.c:
16946 * gst/check/gstcheck.h:
16947 use GST_DEBUG some more
16949 2005-11-24 Wim Taymans <wim@fluendo.com>
16951 * gst/gstutils.c: (gst_util_uint64_scale),
16952 (gst_util_uint64_scale_int):
16953 Chain trivial case to _scale_int.
16955 2005-11-24 Wim Taymans <wim@fluendo.com>
16957 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
16958 Added test for scaling.
16963 * gst/gstutils.c: (gst_util_uint64_scale_int):
16964 Implemented high precision scaling code.
16966 2005-11-24 Stefan Kost <ensonic@users.sf.net>
16969 do not crash on pad==NULL
16971 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
16973 Patch by: Stefan Kost
16975 * common/gtk-doc.mak:
16976 * docs/gst/Makefile.am:
16977 * docs/libs/Makefile.am:
16978 Fix distcheck issues for the libraries docs build
16981 2005-11-24 Michael Smith <msmith@fluendo.com>
16983 * docs/manual/basics-helloworld.xml:
16984 Fix bug #315027: memory leak in example code in docs.
16986 2005-11-24 Michael Smith <msmith@fluendo.com>
16988 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16989 Unlock the PREROLL_LOCK in a failure case.
16991 2005-11-24 Wim Taymans <wim@fluendo.com>
16993 * docs/gst/gstreamer-sections.txt:
16994 * gst/base/gstadapter.h:
16995 * gst/base/gstbasesink.h:
16996 * gst/base/gstbasesrc.h:
16997 * gst/base/gstbasetransform.h:
16998 * gst/base/gstpushsrc.h:
16999 * gst/elements/gstfakesink.h:
17000 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
17001 * gst/elements/gstfakesrc.h:
17002 * gst/elements/gstfilesink.h:
17003 * gst/elements/gstfilesrc.h:
17006 * gst/gstbuffer.c: (_gst_buffer_copy):
17009 * gst/gstchildproxy.c:
17011 * gst/gstelement.c:
17012 * gst/gstelementfactory.c:
17013 * gst/gstelementfactory.h:
17015 * gst/gstghostpad.h:
17017 * gst/gstinterface.h:
17018 * gst/gstminiobject.c:
17019 * gst/gstminiobject.h:
17022 * gst/gstpadtemplate.h:
17023 * gst/gstpipeline.h:
17024 * gst/gstpluginfeature.h:
17027 * gst/gsttaglist.c:
17028 * gst/gsttaglist.h:
17029 * gst/gsttagsetter.c:
17030 * gst/gsttagsetter.h:
17033 * gst/gsttypefind.h:
17036 * gst/net/gstnetclientclock.c:
17037 * gst/net/gstnetclientclock.h:
17038 * gst/net/gstnettimepacket.c:
17039 * gst/net/gstnettimeprovider.c:
17040 * gst/net/gstnettimeprovider.h:
17043 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
17045 * configure.ac: back to HEAD
17047 === release 0.9.6 ===
17049 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
17052 releasing 0.9.6, "Always On Time"
17054 2005-11-23 Wim Taymans <wim@fluendo.com>
17056 * docs/gst/gstreamer-sections.txt:
17057 * gst/glib-compat.c:
17058 * gst/gsttagsetter.c:
17060 * gst/net/gstnetclientclock.c:
17061 * gst/net/gstnettimepacket.h:
17064 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
17066 * docs/faq/using.xml:
17067 * docs/libs/tmpl/gstcontrol.sgml:
17068 * docs/manual/advanced-dparams.xml:
17069 * docs/manual/appendix-checklist.xml:
17070 * docs/manual/basics-elements.xml:
17071 * docs/pwg/other-source.xml:
17072 * docs/random/moving-plugins:
17074 * tools/gst-launch.1.in:
17075 remove mentions of sinesrc
17077 2005-11-23 Michael Smith <msmith@fluendo.com>
17079 * docs/gst/gstreamer-sections.txt:
17080 Update for new API and API changes.
17082 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
17084 Documentation typo fix.
17085 * gst/net/gstnettimepacket.c:
17086 Documentation fixes for arguments.
17088 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
17090 * gst/gststructure.c: (gst_structure_get_fraction),
17091 (gst_structure_parse_value),
17092 (gst_structure_fixate_field_nearest_fraction):
17093 * gst/gststructure.h:
17094 * gst/gstutils.c: (gst_util_uint64_scale_int):
17096 * scripts/update-funcnames:
17098 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
17099 Make gst_structure_fixate_field_nearest_fraction take a numerator
17100 and denominator argument instead of a GValue
17101 add gst_structure_get_fraction helper function.
17103 2005-11-23 Wim Taymans <wim@fluendo.com>
17105 * docs/design/part-TODO.txt:
17108 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
17109 * gst/net/gstnetclientclock.h:
17110 Use parent fields for timeout and window_size.
17112 2005-11-23 Andy Wingo <wingo@pobox.com>
17114 * check/net/gstnetclientclock.c (test_functioning): Adjust to
17115 rate_num/rate_denom change.
17117 * gst/net/gstnetclientclock.c
17118 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
17119 OBJECT_LOCK. Don't call add_observation with the lock.
17121 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
17123 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
17125 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
17126 deal with rate as a fraction whose numerator and denominator are
17127 GstClockTime values.
17128 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
17129 master; the other fields are protected by the SLAVE_LOCK.
17130 (do_linear_regression): Note that this must be called with the
17132 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
17133 OBJECT_LOCK. Call set_calibration instead of touching the
17134 variables directly.
17135 (gst_clock_set_property, gst_clock_get_property): Protect
17136 master/slave parameters with the SLAVE_LOCK.
17138 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
17139 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
17140 note that all of the instance variables that add_observation and
17141 the set_master functions use are protected by that lock and not
17143 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
17145 * gst/gstclock.c (gst_clock_add_observation): No longer requires
17146 the caller to take the object lock.
17148 2005-11-23 Wim Taymans <wim@fluendo.com>
17150 * gst/gsterror.c: (_gst_core_errors_init):
17152 Add error for clock stuff.
17154 * gst/gstpipeline.c: (gst_pipeline_change_state),
17155 (gst_pipeline_set_clock):
17156 Post clock error when clock cannot be used in a pipeline.
17158 2005-11-23 Stefan Kost <ensonic@users.sf.net>
17160 * docs/gst/gstreamer-sections.txt:
17161 make two symbols from gstinfo private for the docs
17162 * gst/base/gstcollectpads.h:
17164 fix doc typos, update docs
17166 2005-11-22 Wim Taymans <wim@fluendo.com>
17168 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
17169 (gst_base_sink_wait), (gst_base_sink_do_sync),
17170 (gst_base_sink_handle_event):
17171 * gst/base/gstbasesink.h:
17172 No need to store the clock, the parent element class already
17175 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
17176 Updates for clock_set returning a gboolean
17178 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
17179 (gst_clock_id_wait_async), (gst_clock_class_init),
17180 (gst_clock_init), (gst_clock_finalize),
17181 (gst_clock_get_internal_time), (gst_clock_get_time),
17182 (gst_clock_slave_callback), (gst_clock_set_master),
17183 (gst_clock_get_master), (do_linear_regression),
17184 (gst_clock_add_observation), (gst_clock_set_property),
17185 (gst_clock_get_property):
17187 Implement master/slave. When setting a clock as a slave, a
17188 periodic timeout is scheduled to sample master and slave times.
17189 Then the slave clock is recalibrated to match offset and rate
17190 of the master clock.
17191 Update logging a bit.
17192 Add flag so that a clock can state that is cannot be slaved to
17195 * gst/gstelement.c: (gst_element_set_clock):
17196 * gst/gstelement.h:
17197 The set clock returns a gboolean for when an element cannot
17198 deal with the selected clock in the pipeline.
17200 * gst/gstpipeline.c: (gst_pipeline_change_state),
17201 (gst_pipeline_set_clock):
17202 * gst/gstpipeline.h:
17203 Handle the case where the selected clock cannot be set on
17206 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
17207 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
17208 (gst_net_client_clock_set_property),
17209 (gst_net_client_clock_get_property),
17210 (gst_net_client_clock_observe_times):
17211 * gst/net/gstnetclientclock.h:
17212 Use regression code in GstClock parent, remove duplicated
17215 2005-11-22 Michael Smith <msmith@fluendo.com>
17217 * gst/gstutils.c: (gst_util_clock_time_scale):
17219 * docs/gst/gstreamer-sections.txt:
17220 Rename method to have extra underscore.
17222 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
17224 * gst/elements/Makefile.am:
17225 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
17226 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
17227 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
17228 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
17229 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
17230 * gst/elements/gstfakesrc.h:
17231 * gst/gstqueue.c: (queue_leaky_get_type):
17232 correctly fix GEnumValues so that nick is the short lowercase
17234 * tools/gst-inspect.c: (print_element_properties_info):
17235 also show the nick, since it's useful to use from parse_launch
17239 2005-11-22 Michael Smith <msmith@fluendo.com>
17241 * gst/gstutils.c: (gst_util_clocktime_scale):
17243 * docs/gst/gstreamer-sections.txt:
17244 Add util method for scaling a clocktime by a fraction. Useful
17245 implementation is left as an exercise for the reader.
17247 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
17249 * gst/gstvalue.c: (gst_value_collect_fraction_range):
17250 If needed, allocate storage in the destination value during
17253 2005-11-22 Edward Hervey <edward@fluendo.com>
17255 * docs/gst/gstreamer-sections.txt:
17258 * gst/gsturitype.c:
17259 * gst/gsturitype.h:
17260 * gst/gstutils.c: (gst_util_set_object_arg):
17261 * tools/gst-compprep.c: (main):
17262 * tools/gst-inspect.c: (print_element_properties_info):
17263 Removed GstURI, closes bug #321061
17265 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
17267 * check/gst/gststructure.c: (GST_START_TEST):
17268 * gst/gststructure.c: (gst_structure_parse_value):
17269 Oops, broke automatic string type parsing.
17270 Add a test to catch it in future.
17272 2005-11-22 Andy Wingo <wingo@pobox.com>
17274 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
17275 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
17276 Actually rename the function implementations. Grr.
17278 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
17280 * check/gst/capslist.h:
17282 * check/gst/gststructure.c: (GST_START_TEST),
17283 (gst_structure_suite):
17284 Test automatic value type detection in gst_structure_from_string.
17285 * gst/gststructure.c: (gst_structure_parse_value):
17286 Add fraction as a type we try and guess automatically in
17287 caps/structure strings.
17289 2005-11-22 Andy Wingo <wingo@pobox.com>
17291 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
17293 * gst/gsttagsetter.h:
17294 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
17295 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
17296 (gst_tag_setter_add_tag_valist)
17297 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
17298 _add_values, _add_valist, and _add_valist_values. Since this is an
17299 interface the function suffixes should be more explicit so
17300 language binding don't end up with element.add_valist ->
17301 gst_tag_setter_add_valist, for example. Fixes #322069.
17303 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
17305 * check/gst/gstcaps.c: (GST_START_TEST):
17306 Extend caps string tests to check that a caps to string
17307 conversion is reversible and produces the same caps.
17309 * gst/gststructure.c: (gst_structure_value_get_generic_type):
17310 Output "fraction" as the generic type fraction range, so caps
17311 serialisation and deserialisation works.
17312 * check/gst/capslist.h:
17313 * gst/gstvalue.c: (gst_value_deserialize_fraction):
17314 Support 'MIN' and 'MAX' for deserialising fractions.
17316 2005-11-22 Andy Wingo <wingo@pobox.com>
17318 * gst/gstevent.h (gst_event_new_new_segment)
17319 (gst_event_parse_new_segment, gst_event_new_buffer_size)
17320 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
17321 Renamed from *_newsegment, *_buffersize, *_notarget.
17323 * scripts/update-funcnames: New script, performs the changes
17326 2005-11-22 Wim Taymans <wim@fluendo.com>
17328 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17329 Make sure the GstFlowReturn is returned.
17331 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
17332 (gst_bus_add_signal_watch):
17334 add gst_bus_add_signal_watch_full.
17336 * gst/gstplugin.c: (gst_plugin_load_file):
17337 Small style cleanup.
17339 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
17341 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
17342 Block the fakesrc srcpad when we send an event, to avoid
17343 contention on the stream_lock causing random test failures.
17345 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
17347 * check/gst/gstvalue.c: (GST_START_TEST):
17348 * gst/gstvalue.c: (gst_value_fraction_subtract):
17351 2005-11-22 Stefan Kost <ensonic@users.sf.net>
17354 include "gstchildproxy.h"
17355 * gst/gstchildproxy.h:
17356 * libs/gst/controller/gstcontroller.h:
17357 use G_GNUC_NULL_TERMINATED
17359 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
17361 * check/gst/capslist.h:
17362 * check/gst/gstcaps.c: (GST_START_TEST):
17363 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
17364 * gst/gststructure.c: (gst_structure_parse_range),
17365 (gst_structure_fixate_field_nearest_fraction):
17366 * gst/gststructure.h:
17367 * gst/gstvalue.c: (gst_value_init_fraction_range),
17368 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
17369 (gst_value_collect_fraction_range),
17370 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
17371 (gst_value_set_fraction_range_full),
17372 (gst_value_get_fraction_range_min),
17373 (gst_value_get_fraction_range_max),
17374 (gst_value_serialize_fraction_range),
17375 (gst_value_transform_fraction_range_string),
17376 (gst_value_compare_fraction_range),
17377 (gst_value_deserialize_fraction_range),
17378 (gst_value_intersect_fraction_fraction_range),
17379 (gst_value_intersect_fraction_range_fraction_range),
17380 (gst_value_subtract_fraction_fraction_range),
17381 (gst_value_subtract_fraction_range_fraction),
17382 (gst_value_subtract_fraction_range_fraction_range),
17383 (gst_value_collect_fraction), (gst_value_fraction_multiply),
17384 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
17385 (gst_value_transform_string_fraction), (_gst_value_initialize):
17387 Implement fraction ranges and extend GstFraction to support
17388 arithmetic subtraction, as well as deserialization from integer
17389 strings such as "100"
17390 Add a testsuite as for int and double range set operations
17392 2005-11-21 Andy Wingo <wingo@pobox.com>
17394 * gst/gsttaglist.h:
17396 * gst/gststructure.h: Add glib-compat.h.
17398 2005-11-21 Wim Taymans <wim@fluendo.com>
17400 * gst/gstbin.c: (gst_bin_change_state_func):
17403 2005-11-21 Wim Taymans <wim@fluendo.com>
17405 * gst/gstsegment.h:
17406 And add a nice define too.
17408 2005-11-21 Wim Taymans <wim@fluendo.com>
17410 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
17411 (gst_segment_new), (gst_segment_free), (gst_segment_init),
17412 (gst_segment_set_duration), (gst_segment_set_last_stop),
17413 (gst_segment_set_seek), (gst_segment_set_newsegment),
17414 (gst_segment_to_stream_time), (gst_segment_to_running_time),
17415 (gst_segment_clip):
17416 * gst/gstsegment.h:
17417 Make binding friendly.
17419 2005-11-21 Andy Wingo <wingo@pobox.com>
17421 * gst/gsttagsetter.h:
17422 * gst/gsttaglist.h:
17423 * gst/gststructure.h:
17425 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
17428 * gst/gsterror.c (_gst_core_errors_init):
17429 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
17432 * gst/Makefile.am (gst_headers): Add glib-compat.h.
17433 (noinst_HEADERS): noinst the -private.
17435 2005-11-21 Michael Smith <msmith@fluendo.com>
17438 * gst/gstregistry.h:
17439 Remove unimplemented declarations for which we can see no sensible
17442 2005-11-21 Andy Wingo <wingo@pobox.com>
17444 * gst/gst.h: Include glib-compat.h.
17446 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
17448 * gst/glib-compat.c: Include the public and the private header.
17450 * gst/glib-compat-private.h: Copied here from glib-compat.h.
17454 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
17456 * check/gst/gstevent.c (create_custom_events): Check that
17457 FLUSH_STOP is serialized.
17459 * check/elements/identity.c (event_func):
17460 * check/elements/fakesrc.c (event_func): No stream lock, the core
17463 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
17464 stream lock taking, yay.
17466 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
17467 ensure that core takes the stream lock.
17469 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
17472 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
17473 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
17474 it already. For the flush start we do take it though so we get the
17475 right preroll state change messages.
17477 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
17478 the stream lock here, the core does it for us.
17480 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
17481 GST_STREAM_GET_LOCK.
17482 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
17483 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
17484 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
17485 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
17486 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
17487 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
17489 * gst/gstpad.c: Update for stream lock name change.
17491 * gst/base/gstbasesink.c: Update for preroll lock name change.
17493 2005-11-21 Wim Taymans <wim@fluendo.com>
17495 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
17496 (gst_clock_get_master):
17498 * gst/gstsystemclock.c: (gst_system_clock_init):
17499 Convert Clock flags to object flags.
17500 Added methods to manage master/slave clocks.
17502 2005-11-21 Wim Taymans <wim@fluendo.com>
17504 * check/gst/gstsegment.c: (GST_START_TEST):
17505 * docs/design/part-TODO.txt:
17506 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17507 (gst_base_sink_event), (gst_base_sink_do_sync),
17508 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
17509 (gst_base_sink_query), (gst_base_sink_change_state):
17510 * gst/base/gstbasesink.h:
17511 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
17512 (gst_base_src_default_newsegment),
17513 (gst_base_src_configure_segment), (gst_base_src_do_seek),
17514 (gst_base_src_get_range), (gst_base_src_loop),
17515 (gst_base_src_change_state):
17516 * gst/base/gstbasesrc.h:
17517 * gst/base/gstbasetransform.c:
17518 (gst_base_transform_prepare_output_buf),
17519 (gst_base_transform_event), (gst_base_transform_change_state):
17520 * gst/base/gstbasetransform.h:
17521 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
17522 (gst_collect_pads_event):
17523 * gst/base/gstcollectpads.h:
17524 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
17525 (gst_fake_src_create):
17526 * gst/elements/gstfakesrc.h:
17527 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
17528 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
17529 (gst_segment_set_last_stop), (gst_segment_set_seek),
17530 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
17531 (gst_segment_to_running_time), (gst_segment_clip):
17532 * gst/gstsegment.h:
17533 More segment updates, replace code in plugins with segment
17536 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
17538 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
17539 Don't ignore sscanf results
17541 2005-11-21 Andy Wingo <wingo@pobox.com>
17543 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
17546 * *.c: Ran scripts/update-macros. Oh yes.
17548 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
17549 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
17552 * scripts/update-macros: New script. Run it on your files to
17553 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
17556 2005-11-21 Stefan Kost <ensonic@users.sf.net>
17558 * docs/gst/Makefile.am:
17559 * docs/gst/gstreamer-docs.sgml:
17560 * docs/gst/gstreamer-sections.txt:
17561 * docs/gst/gstreamer.types:
17563 more docs fixes, add new api to the docs
17565 2005-11-21 Andy Wingo <wingo@pobox.com>
17567 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
17568 state_broadcast call.
17570 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
17572 2005-11-21 Julien MOUTTE <julien@moutte.net>
17574 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
17575 function calls for arrays.
17577 2005-11-21 Stefan Kost <ensonic@users.sf.net>
17579 * docs/random/ensonic/media-device-daemon.txt:
17580 wild idea, can this be done?
17581 * docs/gst/gstreamer-sections.txt:
17586 * gst/gstpluginfeature.c:
17590 doc fixes and additions
17592 2005-11-21 Andy Wingo <wingo@pobox.com>
17594 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
17595 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
17596 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
17597 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
17598 private to the basesrc implementation.
17600 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
17601 behalf of event function if necessary. It should no longer be
17602 necessary to take the stream lock in pad's event functions. Fixes
17605 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
17606 * docs/gst/gstreamer-sections.txt:
17607 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
17608 (gst_structure_fixate_field_nearest_double),
17609 (gst_structure_fixate_field_boolean):
17610 * gst/gststructure.h:
17611 * win32/common/libgstreamer.def:
17612 * win32/gstreamer.def:
17614 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
17617 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
17619 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
17620 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
17621 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
17622 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
17623 (gst_fdsrc_uri_handler_init):
17624 * gst/elements/gstfdsrc.h:
17625 Port fd:// URI handler from 0.8 to fdsrc
17627 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
17629 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
17630 (gst_value_serialize_fourcc):
17632 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
17633 consistent with our other format defines (#320324).
17635 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
17637 * gst/gstvalue.c: (gst_value_is_fixed):
17638 Revert previous commit. Value lists are by definition
17639 not fixed, as they are a list of possible values.
17641 2005-11-21 Andy Wingo <wingo@pobox.com>
17643 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
17644 during the stable series if we need it. Fixes #319178.
17646 * gst/gstevent.c (gst_event_new_filler): Removed.
17648 * check/gst/gstevent.c: Update comment about filler events.
17650 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
17652 * gst/gstvalue.c: (gst_value_is_fixed):
17653 Should handle both value arrays and value lists.
17655 2005-11-21 Andy Wingo <wingo@pobox.com>
17657 patch by: Alessandro Dessina <alessandro nnva org>
17659 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
17660 functions to access arrays. Fixes #321962.
17662 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
17664 * docs/gst/gstreamer.types:
17665 gst_collectpads_get_type => gst_collect_pads_get_type.
17667 * gst/base/gstbasetransform.c:
17668 Remove unused SIGNAL_HANDOFF enum.
17670 2005-11-21 Andy Wingo <wingo@pobox.com>
17672 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
17673 the event type (upstream, downstream, serialized). Renamed
17674 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
17675 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
17676 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
17678 * gst/gstevent.c: Update for new CUSTOM event names.
17680 * check/gst/gstevent.c: Update check for new CUSTOM event names.
17683 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
17686 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
17688 * docs/gst/gstreamer-sections.txt:
17689 * win32/common/libgstbase.def:
17690 * win32/libgstbase.def:
17691 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
17692 (gst_collect_pads_class_init), (gst_collect_pads_init),
17693 (gst_collect_pads_finalize), (gst_collect_pads_new),
17694 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
17695 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
17696 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
17697 (gst_collect_pads_start), (gst_collect_pads_stop),
17698 (gst_collect_pads_peek), (gst_collect_pads_pop),
17699 (gst_collect_pads_available), (gst_collect_pads_read),
17700 (gst_collect_pads_flush), (gst_collect_pads_event),
17701 (gst_collect_pads_chain):
17702 * gst/base/gstcollectpads.h:
17703 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
17704 unimplemented functions as unimplemented. Add padding to
17705 GstCollectData. (#320766, #320423)
17707 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
17709 * gst/gstmessage.c:
17710 Improve docs for DURATION message (usage of duration parameter)
17713 2005-11-20 Wim Taymans <wim@fluendo.com>
17715 * check/Makefile.am:
17716 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
17720 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
17721 (gst_segment_set_seek), (gst_segment_set_newsegment),
17722 (gst_segment_to_stream_time), (gst_segment_to_running_time),
17723 (gst_segment_clip):
17724 * gst/gstsegment.h:
17725 Added segment helper structure and methods. Not fully implemented
17727 Added segment check.
17729 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
17731 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
17732 Add a deserialisation test for fractions
17733 * examples/metadata/read-metadata.c: (message_loop),
17734 (make_pipeline), (main):
17735 Fix up metadata reading sample.
17736 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
17738 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
17739 Don't try and fixate empty caps
17740 * gst/gst_private.h:
17741 Wrap in G_BEGIN_DECLS/G_END_DECLS
17742 * gst/gstvalue.c: (gst_value_collect_fraction),
17743 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
17744 (gst_value_transform_string_fraction),
17745 (gst_value_compare_fraction):
17746 Add some extra guards to ensure that we don't end up
17747 with an invalid denominator of 0 in a gstfraction and
17748 that fractions always get reduced.
17750 2005-11-20 Wim Taymans <wim@fluendo.com>
17752 * docs/gst/gstreamer-sections.txt:
17754 * gst/gstelement.c:
17763 2005-11-20 Wim Taymans <wim@fluendo.com>
17765 * docs/design/part-TODO.txt:
17767 Make a proper enum of the flag.
17769 2005-11-19 Wim Taymans <wim@fluendo.com>
17771 * docs/design/part-TODO.txt:
17772 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
17773 (gst_format_to_quark), (gst_format_register):
17775 * gst/gstquery.c: (_gst_query_initialize),
17776 (gst_query_type_get_name), (gst_query_type_to_quark),
17777 (gst_query_type_register):
17779 Add type to quark and type to string conversions.
17781 2005-11-19 Andy Wingo <wingo@pobox.com>
17783 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
17786 2005-11-19 Wim Taymans <wim@fluendo.com>
17788 * docs/design/part-TODO.txt:
17789 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
17790 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
17791 (gst_bin_handle_message_func):
17793 Make message handling overridable.
17795 2005-11-19 Andy Wingo <wingo@pobox.com>
17797 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
17800 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
17802 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
17803 is a GstClockTime. Fixes #321710.
17805 * gst/gstclock.h (GstClock): Remove offset property. Add
17806 internal_calibration and external_calibration. Fix padding. Pad
17807 also by GstClockTime so we don't run into problems.
17809 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
17810 (gst_clock_get_rate_offset): Remove.
17811 (gst_clock_set_time_adjust): Remove. Fixes #321712.
17814 * gst/gstutils.c (g_static_rec_cond_wait)
17815 (g_static_rec_cond_timed_wait): Removed, no longer needed.
17817 * gst/gstbin.c: Remove terrible continue_state prototype.
17819 * gst/gstelement.h (gst_element_continue_state): Make public.
17821 * gst/gstelement.h:
17822 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
17823 by continue_state. Fixes #319389.
17825 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
17826 Really fixes #168438. However I don't see anywhere where the
17827 filter function is called... stupid GStreamer...
17829 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
17830 don't have a dispose function, so it won't get called when the
17831 object is unreffed, but oh well!
17833 * gst/gstindex.c (gst_index_set_filter_full): New API function,
17834 allows a destroy function to be set so user_data can be freed.
17836 (gst_index_set_filter): Call gst_index_set_filter_full.
17838 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
17840 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
17841 string should produce an error, given the lack of a way to
17842 represent NULL strings. Fixes #165650.
17845 * gst/gstvalue.c (gst_value_array_append_value)
17846 (gst_value_array_prepend_value, gst_value_array_get_size)
17847 (gst_value_array_get_value): New API, copied from
17848 gst_value_list_*, only operates on arrays.
17849 (gst_value_list_append_value, gst_value_list_prepend_value)
17850 (gst_value_list_concat, gst_value_list_get_size)
17851 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
17853 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
17854 init_list, because it works on both.
17855 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
17856 (gst_value_copy_list_or_array): Renamed from copy_list.
17857 (gst_value_free_list_or_array): Renamed from free_list.
17858 (gst_value_collect_list_or_array): Renamed from collect_list.
17859 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
17860 (gst_value_list_or_array_peek_pointer): Renamed from
17862 (_gst_value_array_value_table, _gst_value_list_value_table):
17863 Update value table functions.
17864 (gst_value_compare_list_or_array): Renamed from compare_list.
17866 * gsttaglist.h: Whoops, foreach function returns void. Also fix
17869 * gst/gsttaglist.c:
17870 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
17871 GstTagList*. Fixes #143472.
17873 * gst/gststructure.h: Clarify what the foreach/map functions can
17874 or can't do to their arguments.
17876 2005-11-18 Wim Taymans <wim@fluendo.com>
17878 * gst/gstclock.c: (gst_clock_set_calibration),
17879 (gst_clock_get_calibration):
17881 Calibration can be set with internal time equal to current
17884 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
17890 2005-11-18 Andy Wingo <wingo@pobox.com>
17893 * pkgconfig/gstreamer-net.pc.in:
17894 * pkgconfig/gstreamer-net-uninstalled.pc.in:
17895 * pkgconfig/Makefile.am: Add net pkgconfig files.
17897 2005-11-18 Stefan Kost <ensonic@users.sf.net>
17900 * gst/gstghostpad.c:
17906 2005-11-18 Andy Wingo <wingo@pobox.com>
17908 * gst/net/gstnetclientclock.c: Turn off debugging.
17910 * check/net/gstnetclientclock.c (test_functioning): Assert that the
17911 times connverge somewhat. Can't make a real test.
17913 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
17914 integer arithmetic. Return the minimum of the domain, which can be
17915 set as "internal" for gst_clock_set_calibration.
17916 (gst_net_client_clock_observe_times): Call _set_calibration.
17917 (gst_net_client_clock_new): Call _set_calibration instead of
17920 * check/net/gstnetclientclock.c (test_functioning): Use the right
17924 * gst/gstclock.c (gst_clock_get_calibration)
17925 (gst_clock_set_calibration): New functions, obsolete the ones I
17926 added yesterday. Doh. Precision issues mean we have to extrapolate
17927 from a point in the more recent past than 1970.
17928 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
17930 (gst_clock_adjust_unlocked): Use the right calibration data.
17932 2005-11-18 Edward Hervey <edward@fluendo.com>
17934 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
17935 Also reset the ->current_* values in READY->PAUSED
17937 2005-11-18 Andy Wingo <wingo@pobox.com>
17939 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
17940 Whoops, check the right fd. Also add some debugging.
17941 (gst_net_client_clock_observe_times): Adjust for int64 offset.
17942 (do_linear_regression): Add a crapload of debugging. Subtract off
17943 the minimum values from the input series to discard unneeded bits.
17944 Use only int arithmetic. There is still double arithmetic when
17945 calculating the intercept that needs fixing. Return boolean to
17946 indicate success; FALSE would mean the domain or range is too
17947 great. Still needs fixes.
17949 2005-11-18 Wim Taymans <wim@fluendo.com>
17951 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
17952 For the current position in stream time, we need to subtract
17955 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
17956 Release lock before calling the callback function of async
17959 2005-11-18 Andy Wingo <wingo@pobox.com>
17961 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
17962 Port goes all the way to MAXUINT16.
17964 * gst/net/gstnettimeprovider.c: Make the port range the same as
17965 for the kernel: 0 assigns, otherwise ports are less than
17968 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
17971 * check/net/gstnetclientclock.c (test_functioning): Add the start
17974 2005-11-18 Wim Taymans <wim@fluendo.com>
17976 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
17977 (gst_bin_remove_func), (bin_bus_handler):
17979 Removing a clock provider from a bin, triggers a clock lost message
17980 so that a new clock will be selected.
17981 Adding a clock to a bin triggers a clock provider message.
17982 Make sure we reselect a clock when we received a clock lost message.
17983 Keep a reference to the element that provided the clock.
17985 2005-11-18 Andy Wingo <wingo@pobox.com>
17987 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
17988 the clock initially so it produces values around the base time.
17989 (gst_net_client_clock_class_init): Typo fix.
17990 (gst_net_client_clock_thread): Add note on when the socket gets
17993 2005-11-17 Wim Taymans <wim@fluendo.com>
17995 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
17996 Free remote and local time arrays.
17998 2005-11-17 Wim Taymans <wim@fluendo.com>
18000 * gst/net/gstnetclientclock.c: (do_linear_regression),
18001 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
18002 Fix compilation, uninitialized vars and a forgotten continue.
18004 2005-11-17 Andy Wingo <wingo@pobox.com>
18006 * check/Makefile.am (check_PROGRAMS):
18007 * check/net/gstnetclientclock.c: Add a most minimal test for the
18008 net client clock. More to come later.
18010 * gst/net/gstnet.h:
18011 * gst/net/Makefile.am: Add netclientclock.
18013 * gst/net/gstnetclientclock.h:
18014 * gst/net/gstnetclientclock.c: New files, implement an untested
18015 GstClock that takes its time from a network time provider.
18016 Implements the algorithm in network-clock.scm.
18018 * tests/network-clock.scm (*window-size*): Rename from
18020 * tests/network-clock.scm (network-time):
18021 * tests/network-clock-utils.scm (q-push): Update callers.
18023 2005-11-17 Wim Taymans <wim@fluendo.com>
18025 * gst/gstbin.c: (gst_bin_provide_clock_func),
18026 (gst_bin_sort_iterator_new):
18027 And unref the child too..
18029 2005-11-17 Wim Taymans <wim@fluendo.com>
18031 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
18032 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
18033 Refactor the sort iterator so it can be used while holding the
18035 Make clock selection select a clock closest to the source.
18037 2005-11-17 Michael Smith <msmith@fluendo.com>
18039 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
18040 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
18042 Anonymous structs are a gcc (and some other compilers) extension, so
18043 don't use them. Since this is only for ABI-compatibility, and our
18044 API/ABI freeze is over in a few days, this whole thing will only
18045 last a few days, so don't bother trying to think up a meaningful
18046 name for the struct.
18048 2005-11-17 Andy Wingo <wingo@pobox.com>
18050 * gst/gstclock.h (GstClock): Add rate and offset properties,
18051 preserving ABI stability. Add rate/offset accessors. Will file bug
18052 for the freeze break.
18054 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
18055 and offset, trying to keep precision and avoiding
18056 underflow/overflow.
18057 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
18058 functions. Make gst_clock_set_time_adjust obsolete.
18059 (gst_clock_set_time_adjust): Note that this function is obsolete.
18060 Will file bug soon.
18062 * gst/base/gstbasetransform.h: Make the ABI-stability hack
18063 greppable by using GST_PADDING-1+1.
18065 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
18067 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18069 * gst/gstmessage.c: (gst_message_parse_clock_lost):
18070 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
18072 * gst/gstpadtemplate.h:
18073 * gst/gstpluginfeature.h:
18074 Don't use c++ style comments in headers (#321638).
18076 2005-11-16 Andy Wingo <wingo@pobox.com>
18078 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
18081 * check/net/gstnettimeprovider.c: Check to see that the time
18082 provider actually provides times. Works, yo!
18084 2005-11-16 Wim Taymans <wim@fluendo.com>
18086 * check/Makefile.am:
18089 * check/elements/fakesrc.c: (GST_START_TEST):
18090 Set element to NULL before disposing it.
18092 2005-11-16 Andy Wingo <wingo@pobox.com>
18094 * gst/net/Makefile.am:
18095 * gst/net/gstnet.h:
18096 * gst/net/gstnettimeprovider.c:
18097 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
18098 provider, include it from gstnet.h, and add it to the build.
18100 * gst/net/gstnettimepacket.h:
18101 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
18102 sending and receiving.
18104 2005-11-16 Wim Taymans <wim@fluendo.com>
18106 * check/Makefile.am:
18107 Enable valgrind check.
18109 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
18110 (gst_fake_src_alloc_buffer):
18113 2005-11-16 Wim Taymans <wim@fluendo.com>
18115 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
18116 Call parent finalize too.
18118 2005-11-16 Wim Taymans <wim@fluendo.com>
18120 * check/Makefile.am:
18121 Enable valgrind check that should work fine now.
18123 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
18124 * gst/gstqueue.c: (gst_queue_init):
18125 Fix memleaks in pad allocation.
18127 2005-11-16 Andy Wingo <wingo@pobox.com>
18129 * gst/net/Makefile.am:
18130 * gst/net/gstnet.h: New part of core to hold network elements and
18131 objects. Put in core because it exposes API that applications want
18132 to use. The library is named libgstnet-tempname right now because
18133 of the existing libgstnet in gst-plugins-base. Solution is
18134 probably to rename the one in plugins-base; will file a bug for
18137 * gst/net/gstnettimeprovider.c:
18138 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
18139 get_time call over the network.
18142 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
18144 * check/Makefile.am:
18145 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
18146 get additions shortly.
18148 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
18150 * gst/gstpad.c: (gst_pad_new_from_static_template):
18152 add gst_pad_new_from_static_template functions
18153 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
18154 (gst_check_setup_sink_pad):
18155 * gst/elements/gsttee.c: (gst_tee_init):
18158 2005-11-16 Wim Taymans <wim@fluendo.com>
18160 * gst/gstpad.c: (gst_pad_pause_task):
18161 Removed warning, it's not really an error either.
18163 2005-11-16 Wim Taymans <wim@fluendo.com>
18165 * gst/base/gstbasetransform.c:
18166 (gst_base_transform_prepare_output_buf),
18167 (gst_base_transform_event):
18168 Check if the caps are NULL, this can happen if the element
18169 is shutting down and the pad caps are set to NULL.
18171 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
18173 * gst/elements/gsttee.c: (gst_tee_init):
18174 fix pad template leak in tee
18176 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
18178 * gst/glib-compat.c: (g_value_dup_gst_object):
18179 * gst/glib-compat.h:
18180 * gst/gstpad.c: (gst_pad_set_property):
18181 use gst_object_ref when setting the pad template; this will
18182 trigger the pad template leaks on GLib 2.6 and the slaves
18184 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
18186 * gst/glib-compat.c: (gst_flags_get_first_value):
18187 * gst/glib-compat.h:
18188 * gst/gstregistryxml.c:
18189 remove functions copied from GLib 2.6
18191 2005-11-16 Michael Smith <msmith@fluendo.com>
18194 Don't link against VALGRIND_LIBS. That was always the wrong thing to
18195 do, but only breaks with newer valgrind versions. We're not a
18196 valgrind tool, we have no link-time dependencies on libcoregrind.
18198 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
18200 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
18202 * gst/gstmessage.h:
18205 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
18207 * gst/base/gstbasesrc.c: (gst_base_src_init):
18208 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
18209 * gst/gstqueue.c: (gst_queue_init):
18210 * gst/gstregistryxml.c: (load_feature):
18211 Revert all these unrefs, they don't even pass make check !
18213 2005-11-15 Johan Dahlin <johan@gnome.org>
18215 * gst/base/gstbasesrc.c: (gst_base_src_init):
18216 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
18217 * gst/gstqueue.c: (gst_queue_init):
18218 Free pad templates, fixes a couple of leaks.
18220 2005-11-15 Daniel Fischer <dan at f3c dot com>
18222 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18224 * gst/gstpad.c: (gst_pad_get_property):
18225 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
18226 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
18229 2005-11-15 Wim Taymans <wim@fluendo.com>
18234 2005-11-15 Andy Wingo <wingo@pobox.com>
18236 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
18238 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
18239 using GST_CLOCK_TIME_NONE to disable base time management.
18240 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
18241 time if it was NONE before.
18242 (gst_pipeline_change_state): Only munge the base time if
18243 stream_time != GST_CLOCK_TIME_NONE.
18245 * check/gst/gstpipeline.c (test_base_time): Punt around the
18246 problem of the probe not being called, because that's not the
18247 issue I'm looking at. Add a check that setting stream_time to NONE
18248 disables base time management.
18250 2005-11-15 Wim Taymans <wim@fluendo.com>
18252 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
18253 segment_stop == -1 at startup.
18255 * gst/base/gstbasetransform.c: (gst_base_transform_event),
18256 (gst_base_transform_change_state):
18257 Init segment values at start.
18259 2005-11-15 Wim Taymans <wim@fluendo.com>
18261 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18262 0 segment values are 0 in any format.
18264 * gst/base/gstbasetransform.c: (gst_base_transform_event):
18265 * gst/base/gstbasetransform.h:
18266 Parse newsegment correctly in basetransform
18268 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
18269 Sync to clock using updated segment values.
18271 2005-11-15 Andy Wingo <wingo@pobox.com>
18273 * check/gst/gstpipeline.c (test_base_time): Add check that the
18274 base time and stream time are reset correctly.
18276 2005-11-15 Wim Taymans <wim@fluendo.com>
18278 * docs/design/part-TODO.txt:
18279 Some more TODO items.
18281 2005-11-15 Andy Wingo <wingo@pobox.com>
18283 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
18284 error if the user selected "no clock" as the clocking method.
18286 * check/gst/gstpipeline.c (test_base_time): New test for buffer
18287 timestamps with live capture.
18289 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
18290 is 0 but we are a live source, timestamp the buffers using the
18293 2005-11-14 Stefan Kost <ensonic@users.sf.net>
18295 * docs/gst/gstreamer-sections.txt:
18297 * gst/gstghostpad.c:
18302 2005-11-14 Wim Taymans <wim@fluendo.com>
18305 add suppressions from Wim's Debian machine
18307 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
18310 add suppressions from Andy's AMD64 Ubuntu machine
18312 2005-11-14 Andy Wingo <wingo@pobox.com>
18314 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
18315 STATE_LOCK not necessary. Fixes #311489.
18317 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
18320 * gst/gstindex.c (gst_index_add_object): Note in the docs that
18321 this function is not implemented.
18323 2005-11-14 Julien MOUTTE <julien@moutte.net>
18325 * gst/base/gstbasetransform.c:
18326 (gst_base_transform_prepare_output_buf):
18327 Ref the source pad caps while we need them.
18330 2005-11-11 Wim Taymans <wim@fluendo.com>
18332 * docs/gst/gstreamer-sections.txt:
18333 Added some docs for GstCollectData.
18335 * gst/base/gstadapter.c:
18336 Some small code example fix.
18338 * gst/base/gstcollectpads.c:
18339 * gst/base/gstcollectpads.h:
18340 Document some more.
18342 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
18344 * configure.ac: back to HEAD
18346 === release 0.9.5 ===
18348 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
18351 releasing 0.9.5, "Bike Lunch Day"
18353 2005-11-11 Wim Taymans <wim@fluendo.com>
18355 * gst/gstbuffer.c: (_gst_buffer_copy):
18358 * gst/gstcaps.c: (gst_caps_is_equal):
18360 Make _is_equal fast in the trivial cases.
18362 * gst/gstminiobject.c:
18363 * gst/gstminiobject.h:
18364 More docs. Spifify .h file.
18369 2005-11-11 Wim Taymans <wim@fluendo.com>
18371 * gst/base/gstbasetransform.c:
18372 (gst_base_transform_prepare_output_buf),
18373 (gst_base_transform_handle_buffer):
18375 If we're processing a buffer and need to allocate an output
18376 buffer, we cannot accept a format change. If we did get a
18377 format change, we have to alloc a buffer ourselves of the
18380 2005-11-11 Wim Taymans <wim@fluendo.com>
18382 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
18383 While checking the flag for reentrancy in the gstcaps function
18384 is nice to detect recursive invocations, it also makes it
18385 impossible to call getcaps from multiple threads, which must be
18386 possible. So, checking for recursive calls has to go.
18388 2005-11-11 Michael Smith <msmith@fluendo.com>
18390 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
18391 Don't sync on buffers that fall partially outside our current
18392 segment. Prevents an assertion failure/abort playing some files.
18394 2005-11-10 Andy Wingo <wingo@pobox.com>
18396 * check/gst/gstbin.c (test_message_state_changed_children): Style
18399 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
18400 gst_bus_poll with the signal watch. Ensures that poll and a signal
18401 watch see the same messages.
18403 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
18404 a poll and a watch at the same time get the same messages.
18406 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
18408 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
18409 * gst/gstcaps.c: (gst_caps_intersect):
18410 Don't call gst_caps_do_simplify - it doesn't respect order of caps
18411 and it's not needed.
18413 2005-11-10 Wim Taymans <wim@fluendo.com>
18415 * docs/design/part-TODO.txt:
18418 2005-11-10 Wim Taymans <wim@fluendo.com>
18420 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
18421 * gst/base/gstbasesrc.c: (gst_base_src_wait),
18422 (gst_base_src_do_sync), (gst_base_src_get_range):
18423 Implement clock sync in base class.
18425 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
18427 patch by: Tim-Philipp Müller <tim at centricular dot net>
18429 * gst/gststructure.c: (gst_structure_parse_field),
18430 (gst_structure_from_string):
18431 Forward-port a 0.8 patch to handle escaped spaces in structure string,
18432 so that gst_parse_launch() can deal with spaces in filtered link
18433 caps (fixes #164479)
18434 * check/gst/capslist.h:
18435 * check/gst/gststructure.c: (GST_START_TEST):
18436 add unit tests for this change
18438 2005-11-10 Wim Taymans <wim@fluendo.com>
18440 * docs/gst/gstreamer-sections.txt:
18441 * gst/gstelement.c:
18442 * gst/gstelement.h:
18443 Fix docs, move some STATE macros to private.
18445 2005-11-10 Wim Taymans <wim@fluendo.com>
18447 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
18448 Added check for bug #317341
18452 Some more spiffifying.
18454 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
18455 Call peer linkfunction if we are a source pad. Totally fixes
18459 Update docs, source pads should call the peer linkfunction
18460 so they can atomically perform the pad link.
18462 2005-11-09 Wim Taymans <wim@fluendo.com>
18466 Uber-spiffy-spiffify some more.
18468 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
18470 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
18471 * gst/elements/gstfilesink.c: (gst_file_sink_init):
18472 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
18473 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
18474 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
18475 * gst/gstpad.c: (gst_pad_init):
18476 Use GST_DEBUG_FUNCPTR() more extensively.
18478 2005-11-09 Wim Taymans <wim@fluendo.com>
18480 * gst/gstobject.c: (gst_object_class_init):
18482 Documentation fixes.
18484 2005-11-09 Edward Hervey <edward@fluendo.com>
18486 * gst/gsttypefindfactory.c:
18489 2005-11-09 Edward Hervey <edward@fluendo.com>
18491 * gst/base/gsttypefindhelper.c:
18492 * gst/gsttypefind.c:
18493 * gst/gsttypefind.h:
18496 2005-11-09 Wim Taymans <wim@fluendo.com>
18498 * gst/gstiterator.c:
18505 2005-11-09 Wim Taymans <wim@fluendo.com>
18511 2005-11-09 Wim Taymans <wim@fluendo.com>
18513 * docs/gst/gstreamer-sections.txt:
18514 Moved the message async delivery private lock and cond
18515 to the private section.
18517 * gst/gstmessage.c:
18518 * gst/gstmessage.h:
18521 2005-11-09 Edward Hervey <edward@fluendo.com>
18523 * docs/gst/gstreamer-sections.txt:
18526 Document GstURIHandler
18528 2005-11-09 Wim Taymans <wim@fluendo.com>
18530 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
18531 (gst_iterator_find_custom):
18532 * gst/gstiterator.h:
18535 2005-11-09 Wim Taymans <wim@fluendo.com>
18538 Document another field.
18540 * gst/gststructure.c:
18541 * gst/gststructure.h:
18544 2005-11-09 Wim Taymans <wim@fluendo.com>
18547 Documented structs.
18549 2005-11-09 Wim Taymans <wim@fluendo.com>
18551 * docs/gst/gstreamer-sections.txt:
18552 Added some new macros.
18559 2005-11-09 Wim Taymans <wim@fluendo.com>
18561 * docs/design/part-TODO.txt:
18562 Some more items for the TODO
18568 2005-11-09 Andy Wingo <wingo@pobox.com>
18570 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
18571 to work on something else now tho...
18573 * gst/base/gstadapter.c: More adapter docs.
18575 * gst/elements/gstfilesink.c (gst_file_sink_start)
18576 (gst_file_sink_stop): New functions, replace the state change
18578 (gst_file_sink_class_init): Hook up the start and stop functions.
18579 (gst_file_sink_base_init): Don't set the state change handler any
18580 more. It was a bit ugly too, being set from here...
18581 (gst_file_sink_get_property, gst_file_sink_set_property):
18583 (gst_file_sink_set_location): More robust check that doesn't call
18584 GST_STATE. Ugggggg.
18586 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
18588 * gst/base/gstbasetransform.c: (gst_base_transform_event):
18589 Hold STREAM_LOCK while pushing newsegment or tag events as well.
18591 2005-11-08 Wim Taymans <wim@fluendo.com>
18593 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
18594 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
18595 (gst_base_sink_chain), (gst_base_sink_change_state):
18596 * gst/base/gstbasesink.h:
18597 * gst/base/gstbasesrc.h:
18598 * gst/gstelement.h:
18600 Avoid excessive typechecking in macros.
18602 * gst/gstminiobject.c: (gst_mini_object_get_type),
18603 (gst_mini_object_init), (gst_mini_object_new),
18604 (gst_mini_object_free):
18605 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
18606 (gst_object_finalize):
18607 Remove cruft code, optimize alloc_trace.
18609 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
18611 * docs/faq/gst-uninstalled:
18612 fix up PS1 for systems that try to reset it
18614 2005-11-07 Wim Taymans <wim@fluendo.com>
18616 * gst/base/gstbasesrc.c: (gst_base_src_init),
18617 (gst_base_src_get_range):
18618 Set the segment_end to -1 initially. Fixed typefind.
18620 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
18622 * gst/base/gstadapter.c:
18623 Debug category should be 'adapter', not 'GstAdapter'.
18625 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
18626 (gst_collectpads_class_init), (gst_collectpads_init),
18627 (gst_collectpads_peek), (gst_collectpads_pop),
18628 (gst_collectpads_event), (gst_collectpads_chain):
18629 Add debug category and some debugging output. Use boilerplate
18630 macros. Remove some extraneous words from docs.
18632 2005-11-05 Andy Wingo <wingo@pobox.com>
18634 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
18637 2005-11-04 Stefan Kost <ensonic@users.sf.net>
18639 * docs/gst/gstreamer-sections.txt:
18642 * gst/gstminiobject.h:
18647 2005-11-04 Wim Taymans <wim@fluendo.com>
18649 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
18650 Small update to stop at the configured segment_end
18653 2005-11-04 Stefan Kost <ensonic@users.sf.net>
18655 * gst/gstregistry.c:
18656 * gst/gstregistry.h:
18659 2005-11-04 Edward Hervey <edward@fluendo.com>
18661 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
18662 Check if we are doing a segment seek and have arrived at the
18663 end of that segment.
18665 2005-11-04 Wim Taymans <wim@fluendo.com>
18667 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
18668 Don't leak a mutex unlock in case of an error.
18673 2005-11-04 Wim Taymans <wim@fluendo.com>
18675 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
18677 Get the context to wake up only once.
18679 2005-11-03 Wim Taymans <wim@fluendo.com>
18681 * check/states/sinks.c: (GST_START_TEST):
18682 Uncomment fixed check.
18684 * docs/design/part-TODO.txt:
18687 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
18688 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
18689 (gst_base_sink_get_position):
18690 If we are going to PLAYING, post the right pending state
18691 when we post the intermediate paused message.
18693 * gst/gstelement.c: (gst_element_continue_state),
18694 (gst_element_set_state_func), (gst_element_change_state):
18695 Don't post state changes that were between the same state
18696 and were not ASYNC.
18698 2005-11-03 Stefan Kost <ensonic@users.sf.net>
18700 * docs/gst/gstreamer-sections.txt:
18703 * gst/gstminiobject.h:
18706 more docs and doc style fixes
18708 2005-11-03 Stefan Kost <ensonic@users.sf.net>
18710 * docs/gst/gstreamer-sections.txt:
18711 * gst/gstelement.c:
18712 * gst/gstminiobject.c:
18715 2005-11-03 Andy Wingo <wingo@pobox.com>
18717 * check/states/sinks.c (test_livesrc_sink): Add checks that the
18718 state-changed messages actually have the right order and the right
18721 2005-11-03 Wim Taymans <wim@fluendo.com>
18723 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
18724 Added some more checks. Specifically the case where NO_PREROLL
18725 elements are in the pipeline.
18727 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
18728 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
18729 (gst_base_sink_get_position):
18730 Post READY->PAUSED state change messages too.
18731 Fix bug where VOID was posted as pending state...
18733 * gst/gstbin.c: (gst_bin_recalc_state):
18734 use _element_continue_state() to continue the state change.
18736 * gst/gstelement.c: (gst_element_continue_state),
18737 (gst_element_commit_state), (gst_element_set_state_func),
18738 (gst_element_change_state), (gst_element_change_state_func):
18739 Lots of state change cleanups, assign the STATE_RETURN in
18740 a new continue_state() function that also propagates the
18741 last return value from a state change to the app.
18742 Update some debug statements with proper category.
18744 2005-11-03 Wim Taymans <wim@fluendo.com>
18746 * docs/design/part-events.txt:
18747 * docs/design/part-gstpipeline.txt:
18748 * docs/design/part-messages.txt:
18749 * docs/design/part-overview.txt:
18750 * docs/design/part-seeking.txt:
18751 * docs/design/part-states.txt:
18752 * docs/design/part-trickmodes.txt:
18753 * docs/manual/advanced-position.xml:
18754 Small docs updates.
18757 People think !! is ugly, this looks better.
18759 * gst/gstpad.c: (gst_pad_set_blocked_async):
18760 Remove !! since it's fixed elsewhere now.
18762 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
18764 * gst/gstminiobject.h:
18766 Add !! to _FLAG_IS_SET macros to make the result boolean.
18768 2005-11-03 Edward Hervey <edward@fluendo.com>
18770 * gst/gstpad.c: (gst_pad_set_blocked_async):
18771 comparing a flag and a gboolean rarely returns coherent results...
18772 Added two characters (!!) to make that work correctly.
18774 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
18776 * gst/gstbus.c: (gst_bus_class_init):
18779 * gst/gstqueue.c: (gst_queue_loop):
18780 Don't assume a miniobject that isn't a buffer is an
18781 event (it could be that there is a refcounting
18782 problem somewhere and the pointer is stale and
18783 refers to an already destroyed miniobject).
18785 2005-11-03 Julien MOUTTE <julien@moutte.net>
18787 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
18789 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
18791 * docs/manual/advanced-position.xml:
18792 Update seek example and explanations to current 0.9 API.
18794 * gst/elements/gsttypefindelement.c:
18795 (gst_type_find_element_activate):
18796 Remove FIXME comment now that the found caps
18799 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
18801 * gst/gstregistryxml.c: (load_feature):
18802 Add another GST_STR_NULL instance
18804 2005-11-02 Edward Hervey <edward@fluendo.com>
18806 * gst/gstpad.c: (handle_pad_block):
18807 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
18809 2005-11-02 Wim Taymans <wim@fluendo.com>
18814 * gst/gstelement.c: (gst_element_commit_state):
18815 Remove unused value.
18817 * gst/gstiterator.c:
18818 Mention that the returned element is reffed in the docs.
18820 2005-11-02 Wim Taymans <wim@fluendo.com>
18822 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
18823 (gst_pad_push), (gst_pad_push_event):
18824 Unlock blocked pads when they are flushed.
18826 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
18829 * docs/gst/gstreamer-sections.txt:
18832 * gst/gstregistry.c: (gst_registry_scan_path_level):
18833 fix for a nasty little missed situation where an installed plug-in
18834 which was in the cache did not get overridden by an uninstalled one
18835 which was earlier in the plugin path because the newly created plugin
18836 for the uninstalled one (not in the registry) didn't get its
18837 ->registered set to TRUE
18839 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
18841 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
18842 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
18843 (gst_collectpads_is_active), (gst_collectpads_collect),
18844 (gst_collectpads_collect_range), (gst_collectpads_start),
18845 (gst_collectpads_stop), (gst_collectpads_peek),
18846 (gst_collectpads_pop), (gst_collectpads_available),
18847 (gst_collectpads_read), (gst_collectpads_flush):
18848 Guard public API with assertions.
18851 Fix docs for gst_pad_set_link_function().
18853 2005-11-02 Johan Dahlin <johan@gnome.org>
18855 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
18856 Unref found_caps after we used it.
18858 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
18860 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
18861 Don't try to ref NULL.
18863 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
18865 * win32/common/config.h.in:
18866 provide a GST_FUNCTION that just gives a string for now
18868 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
18870 * win32/common/gstenumtypes.c: (register_gst_object_flags),
18871 (gst_object_flags_get_type), (register_gst_bin_flags),
18872 (gst_bin_flags_get_type), (register_gst_buffer_flag),
18873 (gst_buffer_flag_get_type), (register_gst_bus_flags),
18874 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
18875 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
18876 (gst_clock_return_get_type), (register_gst_clock_entry_type),
18877 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
18878 (gst_clock_flags_get_type), (register_gst_state),
18879 (gst_state_get_type), (register_gst_state_change_return),
18880 (gst_state_change_return_get_type), (register_gst_state_change),
18881 (gst_state_change_get_type), (register_gst_element_flags),
18882 (gst_element_flags_get_type), (register_gst_core_error),
18883 (gst_core_error_get_type), (register_gst_library_error),
18884 (gst_library_error_get_type), (register_gst_resource_error),
18885 (gst_resource_error_get_type), (register_gst_stream_error),
18886 (gst_stream_error_get_type), (register_gst_event_type),
18887 (gst_event_type_get_type), (register_gst_seek_type),
18888 (gst_seek_type_get_type), (register_gst_seek_flags),
18889 (gst_seek_flags_get_type), (register_gst_format),
18890 (gst_format_get_type), (register_gst_index_certainty),
18891 (gst_index_certainty_get_type), (register_gst_index_entry_type),
18892 (gst_index_entry_type_get_type),
18893 (register_gst_index_lookup_method),
18894 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
18895 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
18896 (gst_index_resolver_method_get_type), (register_gst_index_flags),
18897 (gst_index_flags_get_type), (register_gst_debug_level),
18898 (gst_debug_level_get_type), (register_gst_debug_color_flags),
18899 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
18900 (gst_iterator_result_get_type), (register_gst_iterator_item),
18901 (gst_iterator_item_get_type), (register_gst_message_type),
18902 (gst_message_type_get_type), (register_gst_mini_object_flags),
18903 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
18904 (gst_pad_link_return_get_type), (register_gst_flow_return),
18905 (gst_flow_return_get_type), (register_gst_activate_mode),
18906 (gst_activate_mode_get_type), (register_gst_pad_direction),
18907 (gst_pad_direction_get_type), (register_gst_pad_flags),
18908 (gst_pad_flags_get_type), (register_gst_pad_presence),
18909 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
18910 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
18911 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
18912 (gst_plugin_error_get_type), (register_gst_plugin_flags),
18913 (gst_plugin_flags_get_type), (register_gst_rank),
18914 (gst_rank_get_type), (register_gst_query_type),
18915 (gst_query_type_get_type), (register_gst_tag_merge_mode),
18916 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
18917 (gst_tag_flag_get_type), (register_gst_task_state),
18918 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
18919 (gst_alloc_trace_flags_get_type),
18920 (register_gst_type_find_probability),
18921 (gst_type_find_probability_get_type), (register_gst_uri_type),
18922 (gst_uri_type_get_type), (register_gst_parse_error),
18923 (gst_parse_error_get_type):
18924 * win32/common/gstversion.h:
18925 update win32 copies
18927 2005-11-01 Luca Ognibene <luogni@tin.it>
18930 fix docs. popt is dead, long live GOption.
18932 2005-10-31 Wim Taymans <wim@fluendo.com>
18937 2005-10-31 Andy Wingo <wingo@pobox.com>
18941 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
18943 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
18944 need to serialize property notifications on GLib 2.8. GLib 2.6 has
18945 the possibility of deadlocks here if code calling notify() or
18946 set() has a lock that can be taken in another notify handler (ABBA
18947 with class lock and e.g. python GIL state lock).
18949 2005-10-28 Julien MOUTTE <julien@moutte.net>
18951 * gst/gstbus.c: Doc updates.
18953 2005-10-28 Wim Taymans <wim@fluendo.com>
18955 * docs/design/part-TODO.txt:
18956 * gst/gstiterator.c:
18957 * gst/gstsystemclock.c:
18958 * gst/gstsystemclock.h:
18961 2005-10-28 Edward Hervey <edward@fluendo.com>
18963 * docs/gst/gstreamer-docs.sgml:
18964 * docs/gst/gstreamer-sections.txt:
18965 the GstURIType documentation page is private, it only defines GstURIType
18966 which should be defined in the GstURIHandler page
18968 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
18970 * gst/gstbin.c: (gst_bin_class_init):
18973 Documentation updates.
18975 2005-10-28 Wim Taymans <wim@fluendo.com>
18977 * docs/gst/gstreamer-sections.txt:
18980 Documented the clocks.
18982 2005-10-28 Stefan Kost <ensonic@users.sf.net>
18984 * docs/gst/gstreamer-sections.txt:
18985 move some macros to private sections
18986 * gst/gstminiobject.c:
18987 * gst/gstminiobject.h:
18988 add descriptions provided by ds and some more
18990 mark macro as to be removed
18992 2005-10-28 Wim Taymans <wim@fluendo.com>
18994 * docs/design/part-TODO.txt:
18995 Add an item to TODO.
18997 * gst/gstiterator.c: (gst_iterator_fold),
18998 (gst_iterator_find_custom):
18999 * gst/gstiterator.h:
19002 2005-10-28 Wim Taymans <wim@fluendo.com>
19004 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19005 (gst_base_transform_init):
19008 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
19009 An EOS event marks the queue as completely filled.
19011 2005-10-27 Wim Taymans <wim@fluendo.com>
19013 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19014 (gst_base_sink_do_sync), (gst_base_sink_get_position):
19015 Some more debugging.
19017 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
19018 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
19019 (gst_base_transform_event), (gst_base_transform_getrange),
19020 (gst_base_transform_chain):
19021 * gst/base/gstbasetransform.h:
19023 Protect transform and concurrent buffer alloc with a new lock.
19024 Try not to break ABI/API.
19026 2005-10-27 Wim Taymans <wim@fluendo.com>
19028 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19029 (gst_base_src_init), (gst_base_src_query),
19030 (gst_base_src_default_newsegment),
19031 (gst_base_src_configure_segment), (gst_base_src_do_seek),
19032 (gst_base_src_send_event), (gst_base_src_event_handler),
19033 (gst_base_src_pad_get_range), (gst_base_src_loop),
19034 (gst_base_src_unlock), (gst_base_src_default_negotiate),
19035 (gst_base_src_start), (gst_base_src_deactivate),
19036 (gst_base_src_activate_push), (gst_base_src_change_state):
19037 Move some stuff around and cleanup things.
19039 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
19041 * gst/base/gstbasesrc.c: (gst_base_src_query):
19042 Add missing break statements.
19044 2005-10-27 Wim Taymans <wim@fluendo.com>
19046 * check/gst/gstbin.c: (GST_START_TEST):
19047 An extra refcount is taken in basesrc.
19049 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
19050 (gst_base_src_get_range), (gst_base_src_pad_get_range),
19051 (gst_base_src_loop):
19052 Small cleanups, check for flushing after being unlocked from the
19053 LIVE_LOCK. take refcounts correctly (not yet everywhere).
19054 Don't send out EOS when going to READY.
19056 2005-10-27 Wim Taymans <wim@fluendo.com>
19058 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19059 (gst_base_sink_get_position):
19062 * gst/gstbin.c: (message_check), (bin_replace_message),
19063 (bin_remove_messages), (is_eos), (gst_bin_add_func),
19064 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
19065 (bin_query_duration_init), (bin_query_duration_fold),
19066 (bin_query_duration_done), (bin_query_generic_fold),
19068 * tools/gst-launch.c: (main):
19071 2005-10-26 Stefan Kost <ensonic@users.sf.net>
19073 * examples/controller/audio-example.c: (main):
19074 * examples/queue/queue.c: (event_loop):
19075 * gst/base/gstbasetransform.h:
19076 * gst/gstelement.c: (gst_element_send_event):
19078 * gst/gstpad.c: (gst_pad_send_event):
19081 changing log priority in error situations
19083 2005-10-25 Wim Taymans <wim@fluendo.com>
19085 * gst/gstbin.c: (message_check), (bin_replace_message),
19086 (bin_remove_messages), (is_eos), (gst_bin_add_func),
19087 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
19088 (bin_query_duration_init), (bin_query_duration_fold),
19089 (bin_query_duration_done), (bin_query_generic_fold),
19091 Some doc and debug updates.
19092 Cache previously requested query DURATION for speed. invalidate
19093 cached duration if element posts a DURATION message.
19095 2005-10-25 Wim Taymans <wim@fluendo.com>
19097 * docs/design/part-TODO.txt:
19100 * gst/gstbin.c: (message_check), (bin_replace_message),
19101 (bin_remove_messages), (is_eos), (gst_bin_add_func),
19102 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
19103 (bin_query_duration_init), (bin_query_duration_fold),
19104 (bin_query_duration_done), (bin_query_generic_fold),
19106 Handle SEGMENT_START/DONE messages correctly.
19107 More evolved query algorithm that handles duration queries
19110 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
19111 (gst_element_get_state_func), (gst_element_abort_state),
19112 (gst_element_commit_state), (gst_element_lost_state):
19113 Some more debugging.
19115 * gst/gstmessage.h:
19118 2005-10-25 Wim Taymans <wim@fluendo.com>
19120 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
19121 Don't use invalid stream_time.
19123 * gst/gstevent.c: (gst_event_new_newsegment):
19124 stream_time in newsegment cannot be undefined.
19126 2005-10-24 Wim Taymans <wim@fluendo.com>
19131 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
19133 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
19135 2005-10-24 Stefan Kost <ensonic@users.sf.net>
19137 * docs/libs/tmpl/gstdparam.sgml:
19138 * docs/libs/tmpl/gstdplinint.sgml:
19139 * docs/libs/tmpl/gstdpman.sgml:
19140 * docs/libs/tmpl/gstdpsmooth.sgml:
19141 * docs/libs/tmpl/gstunitconvert.sgml:
19144 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
19149 === release 0.9.4 ===
19151 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
19154 releasing 0.9.4, "Tyrannosaurus Rex"
19156 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
19158 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
19159 (gst_file_sink_get_current_offset):
19160 Use fseeko() and ftello() if available. When falling back on
19161 lseek() to get the current offset, fflush() first to make sure
19162 everything is up-to-date and we get the right offset.
19164 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
19166 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19167 * gst/base/gstbasesrc.c: (gst_base_src_loop):
19168 * gst/gsterror.c: (_gst_stream_errors_init):
19170 * gst/gstqueue.c: (gst_queue_loop):
19172 remove prematurely added error category and clean up the instances
19174 2005-10-21 Wim Taymans <wim@fluendo.com>
19176 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19177 (gst_base_sink_get_position), (gst_base_sink_query),
19178 (gst_base_sink_change_state):
19179 Simply set the right flag when going to playing, that's all
19180 we need to do instead of calling a function inside the object
19181 lock (that could take the lock as well and deadlock)
19183 2005-10-21 Wim Taymans <wim@fluendo.com>
19185 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
19186 (gst_base_src_loop):
19187 Don't warn, the peer element knows what to do best when
19188 the seek failed, it might try something else.
19190 2005-10-21 Wim Taymans <wim@fluendo.com>
19192 * gst/base/gstbasesrc.c: (gst_base_src_init),
19193 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
19196 2005-10-21 Wim Taymans <wim@fluendo.com>
19198 * docs/design/part-segments.txt:
19201 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
19202 Correctly set caps, even on the subbufer.
19204 2005-10-21 Wim Taymans <wim@fluendo.com>
19206 * docs/gst/gstreamer-docs.sgml:
19207 * docs/gst/gstreamer-sections.txt:
19208 * gst/gstelement.h:
19211 * gst/gstmessage.h:
19214 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
19218 And 2% more doc coverage.
19220 2005-10-21 Andy Wingo <wingo@pobox.com>
19222 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
19223 position reporting.
19225 2005-10-20 Wim Taymans <wim@fluendo.com>
19227 * gst/gsterror.c: (gst_error_get_message):
19230 * gst/gststructure.c:
19235 2005-10-20 Wim Taymans <wim@fluendo.com>
19240 Another 1% more coverage.
19242 2005-10-20 Wim Taymans <wim@fluendo.com>
19244 * docs/gst/gstreamer-sections.txt:
19245 * gst/gstelement.c: (gst_element_get_state_func),
19246 (gst_element_abort_state), (gst_element_commit_state),
19247 (gst_element_lost_state):
19249 * gst/gstquery.c: (gst_query_set_position),
19250 (gst_query_parse_position), (gst_query_set_duration),
19251 (gst_query_parse_duration), (gst_query_new_convert):
19253 Yay! 1% more docs coverage.
19255 2005-10-20 Wim Taymans <wim@fluendo.com>
19258 * gst/gstquery.c: (gst_query_set_position),
19259 (gst_query_parse_position), (gst_query_set_duration),
19260 (gst_query_parse_duration), (gst_query_new_convert):
19262 * gst/gstutils.c: (gst_element_query_convert):
19264 Docs and consistency fixes.
19266 2005-10-20 Wim Taymans <wim@fluendo.com>
19272 2005-10-20 Wim Taymans <wim@fluendo.com>
19274 * gst/gstbin.c: (message_check), (bin_replace_message),
19275 (bin_remove_messages), (is_eos), (gst_bin_add_func),
19276 (update_degree), (gst_bin_sort_iterator_next),
19277 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
19278 Reworked the message handling a bit, cache the messages instead of
19279 only the senders. alows us to do more in the future.
19281 2005-10-20 Wim Taymans <wim@fluendo.com>
19283 * docs/design/part-TODO.txt:
19286 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
19287 (gst_base_sink_query):
19288 Don't use clock time to report position when in EOS.
19290 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
19292 * tools/gst-inspect.c: (print_interfaces),
19293 (print_element_properties_info), (print_element_info):
19294 Fix interface output with gst-inspect -a; don't print
19295 newlines after double/float properties.
19297 2005-10-20 Wim Taymans <wim@fluendo.com>
19299 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
19300 (gst_base_sink_query):
19301 Speed up current position calculation.
19303 * gst/base/gstbasesrc.c: (gst_base_src_query),
19304 (gst_base_src_default_newsegment):
19305 Correctly set stream position in newsegment.
19307 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
19308 (update_degree), (gst_bin_sort_iterator_next),
19309 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
19310 * gst/gstmessage.c: (gst_message_new_custom):
19311 Clean up debugging info
19313 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
19314 (gst_queue_loop), (gst_queue_handle_src_query):
19317 2005-10-19 Wim Taymans <wim@fluendo.com>
19319 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19320 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
19321 Fix query handling again.
19323 2005-10-19 Wim Taymans <wim@fluendo.com>
19325 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19326 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
19327 * gst/base/gstbasesrc.c: (gst_base_src_query):
19328 * gst/elements/gstfilesink.c: (gst_file_sink_query):
19329 * gst/elements/gsttypefindelement.c:
19330 (gst_type_find_handle_src_query), (find_element_get_length),
19331 (gst_type_find_element_activate):
19334 * gst/gstquery.c: (gst_query_new_position),
19335 (gst_query_set_position), (gst_query_parse_position),
19336 (gst_query_new_duration), (gst_query_set_duration),
19337 (gst_query_parse_duration), (gst_query_set_segment),
19338 (gst_query_parse_segment):
19340 Bundling query position/duration is not a good idea since duration
19341 does not change much and we don't want to recalculate it for every
19342 position query, so they are separated again..
19343 Base value in segment query is not needed.
19345 * gst/gstqueue.c: (gst_queue_handle_src_query):
19346 * gst/gstutils.c: (gst_element_query_position),
19347 (gst_element_query_duration), (gst_pad_query_position),
19348 (gst_pad_query_duration):
19350 Updates for query API change.
19351 Added some docs here and there.
19353 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
19355 * check/gst/gstbin.c: (GST_START_TEST):
19356 * check/gst/gstghostpad.c: (GST_START_TEST):
19357 * check/pipelines/cleanup.c: (GST_START_TEST):
19358 wait on thread to die so we can check refcount correctly
19360 2005-10-18 Wim Taymans <wim@fluendo.com>
19362 * check/pipelines/stress.c: (GST_START_TEST):
19363 Make check a little more time consuming.
19365 2005-10-18 Wim Taymans <wim@fluendo.com>
19367 * check/Makefile.am:
19368 * check/pipelines/stress.c: (GST_START_TEST),
19369 (simple_launch_lines_suite), (main):
19370 Small state change torture test.
19372 * docs/design/part-states.txt:
19373 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19374 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
19375 (gst_base_sink_change_state):
19376 Never take state lock from streaming thread, clean up ugly
19377 hacks. Unfortunatly core does not yet support nice ways to
19378 async commit state.
19380 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
19382 Start state recalc if a STATE_DIRTY message is posted, but only
19383 on the toplevel bin.
19385 * gst/gstelement.c: (gst_element_sync_state_with_parent),
19386 (gst_element_get_state_func), (gst_element_abort_state),
19387 (gst_element_commit_state), (gst_element_lost_state),
19388 (gst_element_set_state_func), (gst_element_change_state):
19389 * gst/gstelement.h:
19390 State variables are now protected with the LOCK, the state
19391 lock is only used to serialize _set_state().
19393 2005-10-18 Wim Taymans <wim@fluendo.com>
19395 * check/gst/gstbin.c: (GST_START_TEST):
19396 * check/gst/gstmessage.c: (GST_START_TEST):
19397 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
19398 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
19400 * gst/gstelement.c: (gst_element_abort_state),
19401 (gst_element_commit_state), (gst_element_lost_state):
19402 * gst/gstmessage.c: (gst_message_new_state_changed),
19403 (gst_message_new_state_dirty), (gst_message_new_segment_start),
19404 (gst_message_new_segment_done), (gst_message_new_duration),
19405 (gst_message_parse_state_changed),
19406 (gst_message_parse_segment_start),
19407 (gst_message_parse_segment_done), (gst_message_parse_duration):
19408 * gst/gstmessage.h:
19409 * tools/gst-launch.c: (event_loop):
19410 Seriously, this is better than a previous commit as we only need
19411 to notify the fact that an element changed state in a streaming
19412 thread, marking the state of the parents dirty, hence the
19413 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
19416 2005-10-18 Wim Taymans <wim@fluendo.com>
19418 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
19419 (gst_bin_recalc_func):
19420 * gst/gstelement.c: (gst_element_set_clock),
19421 (gst_element_abort_state), (gst_element_lost_state):
19422 Cleanups, prepare for state change fixes.
19424 2005-10-18 Wim Taymans <wim@fluendo.com>
19427 * gst/gstelement.c: (gst_element_class_init),
19428 (gst_element_set_state), (gst_element_set_state_func):
19429 * gst/gstelement.h:
19430 Pending ABI changes.
19431 GThreadPool in GstBinClass to monitor async state changes.
19432 state_cookie in GstElement to detect concurrent gst/set state.
19433 set_state is now virtual too in case a very complicated element
19434 has to be constructed.
19436 2005-10-18 Wim Taymans <wim@fluendo.com>
19438 * check/gst/gstbin.c: (GST_START_TEST):
19439 * check/gst/gstmessage.c: (GST_START_TEST):
19440 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
19441 * gst/gstbin.c: (bin_bus_handler):
19442 * gst/gstelement.c: (gst_element_commit_state),
19443 (gst_element_lost_state):
19444 * gst/gstmessage.c: (gst_message_new_state_changed),
19445 (gst_message_new_segment_start), (gst_message_new_segment_done),
19446 (gst_message_new_duration), (gst_message_parse_state_changed),
19447 (gst_message_parse_segment_start),
19448 (gst_message_parse_segment_done), (gst_message_parse_duration):
19449 * gst/gstmessage.h:
19450 * tools/gst-launch.c: (event_loop):
19451 Make messages future proof.
19452 state-change gets a flag if it was a message comming from the
19454 segment-start/stop can also be specified in other formats.
19455 A message to notify an app that a pipeline changed playback
19457 Also fix a GstMessage leak in -launch
19459 2005-10-18 Andy Wingo <wingo@pobox.com>
19461 * gst/gstelement.c (gst_element_dispose): More helpful message.
19463 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
19465 reviewed by: <delete if not using a buddy>
19467 * common/gtk-doc.mak:
19469 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
19471 * gst/gstregistry.c: (gst_registry_scan_path_level):
19472 unref a plug-in we get that was already initialized
19474 2005-10-18 Stefan Kost <ensonic@users.sf.net>
19476 * docs/gst/gstreamer-sections.txt:
19477 * docs/libs/gstreamer-libs-sections.txt:
19478 * gst/gstelement.h:
19479 add new api entries
19480 hide internal macro
19482 2005-10-17 Andy Wingo <wingo@pobox.com>
19484 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
19487 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
19489 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
19491 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
19492 (gst_element_get_state_func): Better debug message.
19493 (gst_element_commit_state): s/INFO/DEBUG/.
19494 (gst_element_lost_state, gst_element_change_state):
19496 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
19497 (gst_message_new_custom): s/INFO/LOG/.
19499 2005-10-17 Michael Smith <msmith@fluendo.com>
19501 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19502 Check if end time is valid using end time, not start time.
19504 2005-10-17 Stefan Kost <ensonic@users.sf.net>
19506 * check/gst-libs/controller.c: (GST_START_TEST),
19507 (gst_controller_suite):
19508 * libs/gst/controller/gstcontroller.c:
19509 (gst_controlled_property_set_interpolation_mode):
19510 * libs/gst/controller/gstcontroller.h:
19511 * libs/gst/controller/gstinterpolation.c:
19512 * testsuite/controller/.cvsignore:
19513 * testsuite/controller/Makefile.am:
19514 * testsuite/controller/interpolator.c:
19515 merge controller testsuites
19517 remove mem-chunk from docs
19519 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
19521 * gst/gstmemchunk.c:
19522 * gst/gstmemchunk.h:
19523 * gst/gsttrashstack.c:
19524 * gst/gsttrashstack.h:
19525 out. get out. you're fired. to the Attic !
19527 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
19529 * gst/gstcaps.c: (gst_caps_intersect):
19530 fix signedness issues in a (hopefully) correct way
19531 * gst/gstelement.c: (gst_element_pads_activate):
19533 * gst/gstobject.c: (gst_object_set_parent):
19536 2005-10-17 Julien MOUTTE <julien@moutte.net>
19538 * gst/gstvalue.h: Fix prototypes.
19540 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
19542 * docs/gst/gstreamer-sections.txt:
19543 * gst/gst.c: (gst_version_string):
19545 * gst/gstversion.h.in:
19546 * win32/common/libgstreamer.def:
19547 add gst_version_string ()
19549 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
19553 * gst/gst.c: (init_post):
19554 * win32/common/config.h.in:
19556 * gst/gstcaps.c: (gst_caps_intersect):
19557 use gint64, the range could be bigger than a guint
19559 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
19562 document potential problem in 2038
19564 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
19566 * gst/gstcaps.c: (gst_caps_intersect):
19567 Fix guint j diving under 0
19569 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
19572 * win32/common/config.h:
19573 * win32/common/config.h.in:
19574 check for process.h, declares getpid() on Windows
19576 include process.h if we have it
19577 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
19578 * gst/gstmemchunk.h:
19579 fix signedness issues
19580 * win32/common/libgstreamer.def:
19583 2005-10-16 Julien MOUTTE <julien@moutte.net>
19585 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
19586 fix. Because of unsigned ints, caps intersection was going nuts and
19587 trying to access structures with G_MAXUINT index. That fixes
19588 videotestsrc ! ffmpegcolorspace ! fakesink
19589 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
19592 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
19595 use the gettext macro
19596 * gst/elements/gstelements.c:
19598 * gst/indexers/gstindexers.c:
19599 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
19600 * win32/common/config.h:
19602 * win32/common/config.h.in:
19603 add the template to generate config.h
19604 * win32/common/gstenumtypes.c:
19605 * win32/common/gstversion.h:
19608 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
19610 * gst/gst.c: (gst_version):
19611 * gst/gstversion.h.in:
19614 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
19617 Oops, add missing closing bracket.
19619 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
19622 use common m4's for argument checking
19624 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
19626 * docs/gst/gstreamer-sections.txt:
19628 Add GST_EVENT_TYPE_NAME() macro.
19630 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
19633 * gst/gstpluginfeature.c:
19635 privatize more symbols
19637 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
19640 add srcdir, builddir includes to GST_ALL_CFLAGS, since
19641 everything that uses GStreamer API should have the includes
19643 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
19645 * docs/gst/gstreamer-sections.txt:
19646 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
19648 give each value a _get_type, removes the DATA exports
19650 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
19654 remove _gst_registry_auto_load, not used anymore
19655 * gst/gstbin.c: (gst_bin_get_type):
19657 * gst/gstelement.c: (gst_element_get_type):
19658 * gst/gstelement.h:
19659 * gst/gstobject.c: (gst_object_get_type):
19661 * gst/gstpad.c: (gst_pad_get_type):
19663 make _get_type functions similar, fixes data export from library
19665 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
19668 correctly make conditionals
19669 * gst/elements/Makefile.am:
19670 * gst/elements/gstelements.c:
19671 fix typo causing fdsrc not to build
19673 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
19675 * testsuite/Makefile.am:
19676 * testsuite/bytestream/.cvsignore:
19677 * testsuite/bytestream/Makefile.am:
19678 * testsuite/bytestream/filepadsink.c:
19679 * testsuite/bytestream/gstbstest.c:
19680 * testsuite/bytestream/test1.c:
19681 * testsuite/bytestream/testfile1:
19682 * testsuite/caps/normalisation.c:
19683 * testsuite/caps/random.c: (main):
19684 * testsuite/cleanup/.cvsignore:
19685 * testsuite/cleanup/Makefile.am:
19686 * testsuite/cleanup/cleanup1.c:
19687 * testsuite/cleanup/cleanup2.c:
19688 * testsuite/cleanup/cleanup3.c:
19689 * testsuite/cleanup/cleanup4.c:
19690 * testsuite/cleanup/cleanup5.c:
19691 * testsuite/controller/interpolator.c:
19692 * testsuite/debug/printf_extension.c: (main):
19693 * testsuite/elements/tee.c:
19694 * testsuite/negotiation/.cvsignore:
19695 * testsuite/negotiation/Makefile.am:
19696 * testsuite/negotiation/pad_link.c:
19697 * testsuite/pad/Makefile.am:
19698 * testsuite/pad/chainnopull.c:
19699 * testsuite/pad/getnopush.c:
19700 * testsuite/pad/link.c:
19701 * testsuite/refcounting/sched.c: (create_pipeline):
19702 * testsuite/registry/Makefile.am:
19703 * testsuite/registry/gst-print-formats.c:
19704 * testsuite/schedulers/.cvsignore:
19705 * testsuite/schedulers/142183-2.c:
19706 * testsuite/schedulers/142183.c:
19707 * testsuite/schedulers/143777-2.c:
19708 * testsuite/schedulers/143777.c:
19709 * testsuite/schedulers/147713.c:
19710 * testsuite/schedulers/147819.c:
19711 * testsuite/schedulers/147894-2.c:
19712 * testsuite/schedulers/147894.c:
19713 * testsuite/schedulers/Makefile.am:
19714 * testsuite/schedulers/group_link.c:
19715 * testsuite/schedulers/queue_link.c:
19716 * testsuite/schedulers/relink.c:
19717 * testsuite/schedulers/unlink.c:
19718 * testsuite/schedulers/unref.c:
19719 * testsuite/schedulers/useless_iteration.c:
19720 * testsuite/states/bin.c:
19721 clean out/remove some stuff from the testsuite directories
19723 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
19726 check for some headers
19727 * gst/elements/Makefile.am:
19728 * gst/elements/gstelements.c:
19729 don't compile fdsrc without sys/socket.h
19730 * gst/indexers/Makefile.am:
19731 * gst/indexers/gstindexers.c: (plugin_init):
19732 don't compile fileindex without mmap
19734 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
19741 * check/Makefile.am:
19742 * docs/gst/Makefile.am:
19743 * examples/helloworld/Makefile.am:
19745 * gst/base/Makefile.am:
19746 * gst/check/Makefile.am:
19747 * gst/elements/Makefile.am:
19748 * gst/indexers/Makefile.am:
19749 * gst/parse/Makefile.am:
19750 * libs/gst/controller/Makefile.am:
19751 * libs/gst/dataprotocol/Makefile.am:
19752 * examples/helloworld/helloworld.c: (event_loop):
19753 compile fixes, though it's not being compiled currently
19755 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
19757 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
19758 Add some simple tests for the new taglist date API.
19760 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
19762 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
19763 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
19764 Beautify 'last-message' output: print 'none' for buffer timestamps
19765 and durations if none is set; improve alignment with next messages.
19767 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
19769 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
19770 * gst/gstpluginfeature.h:
19771 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
19772 * gst/gstregistry.h:
19773 * docs/gst/gstreamer-sections.txt:
19774 Add new API to check plugin feature version requirements.
19776 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
19777 Some basic tests for the above.
19779 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
19781 * gst/gststructure.c: (gst_structure_to_string):
19782 guard against NULL printf - happens when for example
19783 a message structure with GstClock gets serialized
19785 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
19787 * gst/base/gstcollectpads.c: (gst_collectpads_event):
19788 Fix presumable copy'n'pasto.
19790 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
19792 * gst/elements/gstfakesrc.h:
19793 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
19794 * gst/elements/gsttypefindelement.c:
19795 fix some signedness
19796 * gst/elements/gstfilesink.c: (gst_file_sink_render):
19797 I wonder if this could actually write +2GB files before
19799 2005-10-13 Andy Wingo <wingo@pobox.com>
19801 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
19802 Fix Timmeke Waymans bug.
19803 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
19804 string of the proper length to gst_caps_from_string. There's a
19805 potential for, before this fix, that this could cause someone
19806 connecting over the network to cause a segfault if the payload is
19807 not NUL-terminated.
19809 2005-10-13 Stefan Kost <ensonic@users.sf.net>
19811 * docs/design/draft-push-pull.txt:
19812 * docs/design/part-overview.txt:
19813 * docs/random/TODO-pre-0.9:
19814 * docs/random/old/ChangeLog.gstreamer:
19815 * gst/base/gstpushsrc.c:
19819 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
19821 * gst/glib-compat.c: (gst_flags_get_first_value):
19822 * gst/glib-compat.h:
19823 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
19824 (gst_value_compare_double), (gst_value_serialize_flags):
19825 GLib 2.6 g_flags_get_first_value has a bug that triggers an
19828 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
19830 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19831 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19833 * tools/gst-launch.c: (event_loop):
19834 print out clock nicely
19836 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
19838 * docs/gst/gstreamer-sections.txt:
19839 * gst/gsttaglist.h:
19840 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
19841 (gst_tag_list_get_date_index):
19842 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
19843 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
19845 2005-10-13 Julien MOUTTE <julien@moutte.net>
19847 * gst/base/gstcollectpads.c: (gst_collectpads_event),
19848 (gst_collectpads_chain):
19849 * gst/base/gstcollectpads.h: Handle newsegment and store informations
19852 2005-10-13 Stefan Kost <ensonic@users.sf.net>
19854 * docs/gst/gstreamer-sections.txt:
19857 * tools/gst-inspect.c: (main):
19858 * tools/gst-launch.c: (main):
19859 * tools/gst-run.c: (main):
19860 * tools/gst-xmlinspect.c: (main):
19861 fix GOption context leaks
19864 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
19868 * win32/common/config.h:
19870 * win32/vs6/grammar.dsp:
19871 * win32/vs6/libgstelements.dsp:
19872 * win32/vs6/libgstreamer.dsp:
19875 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
19877 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19878 * gst/base/gstbasesrc.c: (gst_base_src_query):
19879 fix more guint64<->gdouble conversions
19881 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
19884 add win32-update target
19885 * win32/common/gstconfig.h:
19886 * win32/common/gstenumtypes.c:
19887 * win32/common/gstenumtypes.h:
19888 * win32/common/gstversion.h:
19889 add files that visual studio can't generate
19891 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
19894 add a win32-update target
19897 2005-10-12 Wim Taymans <wim@fluendo.com>
19899 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
19900 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
19901 * gst/gstelement.c: (gst_element_commit_state),
19902 (gst_element_set_state):
19903 Protect flags with proper lock.
19904 unref provided cached clock in dispose.
19906 2005-10-12 Stefan Kost <ensonic@users.sf.net>
19909 * gst/gstminiobject.h:
19911 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
19912 removed unused flags from miniobject
19915 2005-10-12 Wim Taymans <wim@fluendo.com>
19917 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
19918 (gst_file_sink_event), (gst_file_sink_render):
19919 Flush before seeking.
19921 2005-10-12 Andy Wingo <wingo@pobox.com>
19923 * gst/gst.c (gst_init_check): Ignore unknown options, as has
19924 always been the case.
19926 2005-10-12 Stefan Kost <ensonic@users.sf.net>
19928 * check/gst/gstbin.c: (GST_START_TEST):
19929 * docs/gst/gstreamer-sections.txt:
19930 * gst/base/gstbasesink.c: (gst_base_sink_init):
19931 * gst/base/gstbasesrc.c: (gst_base_src_init),
19932 (gst_base_src_get_range), (gst_base_src_check_get_range),
19933 (gst_base_src_start), (gst_base_src_stop):
19934 * gst/base/gstbasesrc.h:
19935 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
19936 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
19937 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
19941 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
19943 * gst/gstelement.c: (gst_element_is_locked_state),
19944 (gst_element_set_locked_state), (gst_element_commit_state),
19945 (gst_element_set_state):
19946 * gst/gstelement.h:
19947 * gst/gstindex.c: (gst_index_init):
19949 * gst/gstminiobject.h:
19950 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
19951 (gst_object_set_parent):
19953 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
19954 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
19956 * gst/gstpadtemplate.h:
19957 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
19958 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
19959 * gst/gstpipeline.h:
19960 * gst/indexers/gstfileindex.c: (gst_file_index_load),
19961 (gst_file_index_commit):
19962 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
19963 * testsuite/pad/link.c: (gst_test_src_init),
19964 (gst_test_filter_init), (gst_test_sink_init):
19965 * testsuite/states/locked.c: (main):
19966 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
19967 moved bitshift from macro to enum definition
19969 2005-10-12 Wim Taymans <wim@fluendo.com>
19971 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
19972 * gst/elements/gstfilesink.c: (gst_file_sink_event),
19973 (gst_file_sink_render):
19974 Some more debugging info.
19976 2005-10-12 Wim Taymans <wim@fluendo.com>
19978 * docs/design/part-states.txt:
19979 * tools/gst-launch.c: (main):
19981 Revert non-intentional change.
19983 2005-10-12 Wim Taymans <wim@fluendo.com>
19985 * check/gst/gstbin.c: (GST_START_TEST):
19986 * check/gst/gstelement.c: (GST_START_TEST):
19987 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
19988 * check/gst/gstghostpad.c: (GST_START_TEST):
19989 * check/gst/gstpipeline.c: (GST_START_TEST):
19990 * check/pipelines/simple_launch_lines.c: (run_pipeline):
19991 * check/states/sinks.c: (GST_START_TEST):
19992 * gst/elements/gsttypefindelement.c: (stop_typefinding):
19993 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
19994 (gst_bin_remove_func), (gst_bin_get_state_func),
19995 (gst_bin_recalc_state), (gst_bin_change_state_func),
19997 * gst/gstelement.c: (gst_element_get_state_func),
19998 (gst_element_get_state), (gst_element_abort_state),
19999 (gst_element_commit_state), (gst_element_set_state),
20000 (gst_element_change_state), (gst_element_change_state_func):
20001 * gst/gstelement.h:
20002 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
20003 (gst_pipeline_provide_clock_func):
20004 * gst/gstutils.c: (gst_element_link_pads_filtered):
20005 * tools/gst-launch.c: (main):
20006 * tools/gst-typefind.c: (main):
20007 Use GstClockTime in _get_state() instead of GTimeVal.
20008 Remove old code in gstutils.c
20010 2005-10-12 Andy Wingo <wingo@pobox.com>
20012 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
20015 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
20016 there is no task. Shouldn't affect any code, as nothing in our
20017 plugins checks this return value.
20018 (gst_pad_stop_task): Also take the stream lock if the pad has no
20019 task. Docs updated.
20021 2005-10-12 Wim Taymans <wim@fluendo.com>
20023 * gst/gstpad.c: (pre_activate), (post_activate),
20024 (gst_pad_activate_pull), (gst_pad_activate_push):
20025 Cleanup activation code. Reset old state if
20028 2005-10-12 Wim Taymans <wim@fluendo.com>
20030 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20031 (gst_base_sink_change_state):
20032 No need to prerol after receiving EOS.
20034 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
20035 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
20036 * gst/elements/gstidentity.c: (gst_identity_event):
20037 Print events more verbosely.
20039 2005-10-12 Wim Taymans <wim@fluendo.com>
20041 * check/Makefile.am:
20042 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
20043 * check/states/sinks2.c:
20044 Moved sinks2 testcode in sinks check.
20046 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
20047 (gst_bin_remove_func), (gst_bin_recalc_state),
20048 (gst_bin_change_state_func), (bin_bus_handler):
20049 Fix potential race condition when _get_state() iterated over an
20050 ASYNC element right before it posted a state completion.
20053 Do proper cast here.
20055 * gst/gstevent.c: (gst_event_new_newsegment),
20056 (gst_event_parse_newsegment):
20057 A playback rate of 0.0 is not allowed.
20059 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
20061 * win32/common/config.h:
20062 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
20063 (_trewinddir), (_ttelldir), (_tseekdir):
20064 * win32/common/dirent.h:
20065 * win32/common/gtchar.h:
20066 * win32/common/libgstbase.def:
20067 * win32/common/libgstreamer.def:
20068 * win32/vs6/grammar.dsp:
20069 * win32/vs6/gst_inspect.dsp:
20070 * win32/vs6/gst_launch.dsp:
20071 * win32/vs6/gstreamer.dsw:
20072 * win32/vs6/libgstbase.dsp:
20073 * win32/vs6/libgstelements.dsp:
20074 * win32/vs6/libgstreamer.dsp:
20075 Visual Studio 6 project files, and a new common directory.
20078 2005-10-11 Wim Taymans <wim@fluendo.com>
20080 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20081 (gst_base_sink_do_sync), (gst_base_sink_query),
20082 (gst_base_sink_change_state):
20083 * gst/base/gstbasesink.h:
20084 Correctly parse newsegment info.
20086 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
20088 * gst/gst.c: (init_post):
20089 split plugin paths correctly
20091 2005-10-11 Wim Taymans <wim@fluendo.com>
20093 * check/gst/gstevent.c: (GST_START_TEST):
20094 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20095 (gst_base_sink_change_state):
20096 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
20097 * gst/base/gstbasetransform.c: (gst_base_transform_event):
20098 * gst/elements/gstfilesink.c: (gst_file_sink_event):
20099 * gst/gstevent.c: (gst_event_new_newsegment),
20100 (gst_event_parse_newsegment):
20102 Added extra flag to newsegment for future API freeze.
20103 Updated check and base elements.
20105 2005-10-11 Julien MOUTTE <julien@moutte.net>
20107 * gst/base/gstcollectpads.c: (gst_collectpads_init),
20108 (gst_collectpads_add_pad), (gst_collectpads_pop),
20109 (gst_collectpads_event), (gst_collectpads_chain):
20110 * gst/base/gstcollectpads.h: Handle EOS correctly.
20112 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
20114 * tools/gst-launch.c: (main):
20115 more null protecting
20117 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
20119 * gst/gst-i18n-lib.h:
20120 check for ENABLE_NLS, not GETTEXT_PACKAGE
20121 * gst/gstregistry.c: (gst_registry_add_plugin),
20122 (gst_registry_scan_path_level),
20123 (_gst_registry_remove_cache_plugins):
20124 protect possibly NULL strings
20125 * gst/parse/types.h:
20126 config.h already included before
20127 * tools/gst-inspect.c: (main):
20128 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
20129 check for ENABLE_NLS, not GETTEXT_PACKAGE
20130 * tools/gst-launch.c: (main):
20131 check for ENABLE_NLS, not GETTEXT_PACKAGE
20133 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
20136 if we don't have glib, fail before testing 2.8
20137 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
20138 fix a leak, should fix plugins-base testsuite
20140 2005-10-11 Andy Wingo <wingo@pobox.com>
20142 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
20143 take the mode we're going to as an arg. Go head and set the mode
20144 and flushing flags now, so that if the activate function starts a
20145 thread all the flags will be in the right state.
20146 (post_activate): Renamed also. Just handle making sure streaming
20147 finishes for the deactivation case, and setting the deactivated
20149 (gst_pad_set_active): Complain loudly if deactivation fails.
20150 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
20151 (gst_pad_activate_push): Adapt to pre/post_activate changes,
20152 remove the terrible hack.
20154 2005-10-11 Wim Taymans <wim@fluendo.com>
20156 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
20157 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
20158 (gst_bin_recalc_state), (gst_bin_change_state_func),
20159 (gst_bin_dispose), (bin_bus_handler):
20161 Prepare to make current EOS message queue more generic.
20164 * gst/gstevent.c: (gst_event_new_newsegment),
20165 (gst_event_parse_newsegment):
20167 Rename base to stream_time.
20169 * gst/gstmessage.h:
20172 2005-10-11 Wim Taymans <wim@fluendo.com>
20174 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
20175 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
20176 (gst_bin_change_state_func), (bin_bus_handler):
20178 Work on proper clock selection.
20180 2005-10-11 Edward Hervey <edward@fluendo.com>
20182 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
20183 * libs/gst/controller/gstcontroller.h:
20184 Added GList* version of _remove_properties() in order to be able to wrap
20187 2005-10-11 Wim Taymans <wim@fluendo.com>
20189 * docs/design/part-states.txt:
20192 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
20193 (gst_bin_change_state_func), (bin_bus_handler):
20194 Doc updates. Don't distribute the same clock over and over again.
20200 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
20201 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
20202 (gst_pad_send_event):
20204 Make probe emission threadsafe again.
20205 Register quarks and move _get_name() from utils.
20208 * gst/gstpipeline.c: (gst_pipeline_class_init),
20209 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
20210 Only redistribute the clock of it changed.
20212 * gst/gstsystemclock.h:
20217 Moved the _flow_get_name() to GstPad.
20219 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
20221 * check/gst-libs/gdp.c: (GST_START_TEST):
20222 * check/gst/gstcaps.c: (GST_START_TEST):
20223 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
20224 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
20225 (gst_dp_packet_from_caps):
20226 fix more valgrind warnings before turning up the heat
20228 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
20230 * gst/parse/grammar.y:
20231 some cleanup before the hacking
20233 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
20235 * gst/base/gstbasesrc.c: (gst_base_src_query):
20237 * gst/gstutils.c: (gst_guint64_to_gdouble),
20238 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
20240 externalize, basesrc uses it
20241 obviously the implementation needs testing
20243 2005-10-10 Wim Taymans <wim@fluendo.com>
20245 * tests/sched/Makefile.am:
20246 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
20247 (make_pipeline3), (make_pipeline4), (print_elem), (main):
20249 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
20251 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
20252 apparently converting from guint64 to double is not implemented
20255 2005-10-10 Wim Taymans <wim@fluendo.com>
20257 * check/Makefile.am:
20258 * check/generic/states.c: (GST_START_TEST):
20259 * check/gst/gstbin.c: (GST_START_TEST):
20260 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
20261 * check/states/sinks.c: (GST_START_TEST):
20262 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
20264 Check fixes, use API as stated in design docs, remove hacks.
20266 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20267 (gst_base_sink_change_state):
20268 Catch stopping our task while we're shutting down.
20270 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
20271 (gst_bin_remove_func), (gst_bin_get_state_func),
20272 (gst_bin_recalc_state), (gst_bin_change_state_func),
20275 * gst/gstelement.c: (gst_element_init),
20276 (gst_element_get_state_func), (gst_element_abort_state),
20277 (gst_element_commit_state), (gst_element_lost_state),
20278 (gst_element_set_state), (gst_element_change_state),
20279 (gst_element_change_state_func):
20280 * gst/gstelement.h:
20281 New state change algorithm (see #318116)
20283 * gst/gstpipeline.c: (gst_pipeline_class_init),
20284 (gst_pipeline_init), (gst_pipeline_set_property),
20285 (gst_pipeline_get_property), (do_pipeline_seek),
20286 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
20287 * gst/gstpipeline.h:
20288 Remove crude state change hacks.
20291 Remove crude hacks.
20293 * tools/gst-launch.c: (main):
20294 Fixes for state change. Needs some more work to fully use the
20297 2005-10-10 Andy Wingo <wingo@pobox.com>
20299 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
20301 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
20302 this flag, but it's not even in GLib 2.6. Odd. Hack around the
20305 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
20307 * gst/gstiterator.c: (gst_iterator_new):
20308 Fix my previous commit: GTypes passed to gst_iterator_new()
20309 can be fundamental types.
20311 2005-10-10 Wim Taymans <wim@fluendo.com>
20313 * gst/gstelement.c: (gst_element_iterate_pad_list),
20314 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
20315 (gst_element_iterate_sink_pads):
20316 Use src/sink pads lists for the respective iterators instead
20319 2005-10-10 Andy Wingo <wingo@pobox.com>
20321 Merged in popt removal + GOption addition patch from Ronald, bug
20324 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
20325 GstElement macros around, remove popt-related symbols, add goption
20328 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
20330 * docs/gst/Makefile.am:
20331 * docs/libs/Makefile.am: No POPT_CFLAGS.
20333 * examples/manual/Makefile.am:
20334 * docs/manual/basics-init.xml: Doc updates with an example.
20336 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
20337 (gst_init), (parse_one_option), (parse_goption_arg):
20338 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
20339 bit of hand merging and debugging to get the GOption stuff working
20342 * tests/Makefile.am:
20343 * tools/Makefile.am:
20344 * tools/gst-inspect.c: (main):
20345 * tools/gst-launch.c: (main):
20346 * tools/gst-run.c: (main):
20347 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
20349 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
20351 * gst/gstiterator.c: (gst_iterator_new):
20352 Add assertions to make sure passed GType is likely to really
20353 be a GType (as the compiler won't catch it if the size and
20354 GType arguments get mixed up, see #318447).
20356 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
20358 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
20360 * gst/gstbin.c: (gst_bin_iterate_sorted):
20361 Pass GType and size arguments to gst_iterator_new() in the right
20362 order (maybe we should make _new() take the GType as first argument
20363 just like _new_list()?) (#318447).
20366 2005-10-10 Wim Taymans <wim@fluendo.com>
20368 * gst/gstelement.c: (gst_element_finalize):
20369 And free the GStaticRecMutex too
20371 2005-10-10 Andy Wingo <wingo@pobox.com>
20373 * gst/gstelement.c (gst_element_init, gst_element_finalize):
20374 Allocate and free the mutex properly.
20376 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
20378 (GstElement): The state_lock is now recursive. Rebuild your
20379 plugins, suckers. Old macros adapted.
20381 * docs/gst/gstreamer-sections.txt: Doc updates.
20384 * gst/gstutils.c (g_static_rec_cond_timed_wait)
20385 (g_static_rec_cond_wait): Ported from state changes patch, while
20386 we wait on bug #317802 to be solved in a well-distributed GLib.
20388 * gst/gstelement.c (gst_element_change_state_func): Renamed from
20389 gst_element_change_state, variable name changes.
20390 (gst_element_change_state): Split out of gst_element_set_state in
20391 preparation for the state change merge. Doesn't pay attention to
20392 the 'transition' argument.
20393 (gst_element_set_state): Updates, hopefully purely cosmetic.
20394 (gst_element_sync_state_with_parent): MT-safety. Ported from the
20395 state change patch.
20396 (gst_element_get_state_func): Renamed from get_state, cosmetic
20399 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
20401 * gst/elements/gstelements.c:
20402 * win32/GStreamer.vcproj:
20404 * win32/dirent.c: (_tseekdir):
20405 * win32/gst-inspect.vcproj:
20406 * win32/gst-launch.vcproj:
20407 * win32/gstconfig.h:
20408 * win32/gstelements.vcproj:
20409 * win32/gstenumtypes.c: (gst_object_flags_get_type):
20410 * win32/gstreamer.def:
20411 * win32/msvc71.sln:
20412 updates for the win32 build (patch from Sebastien Moutte)
20414 2005-10-10 Andy Wingo <wingo@pobox.com>
20416 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
20417 gst_bin_get_state, cleaned up (but no logic changes).
20418 (bin_element_is_sink): Comment updates.
20419 (sink_iterator_filter): Remove needless cast.
20420 (gst_bin_iterate_sinks): Doc update.
20421 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
20422 cleaned up (but no logic changes).
20424 * check/states/sinks.c (test_src_sink): Cleanups from the state
20426 (test_livesrc_sink): Sync on the state.
20428 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
20429 the state change patch.
20431 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
20434 * check/gst/gstbin.c: Merge in some style fixes and additional
20435 checks from Wim's state change patch.
20437 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
20439 * gst/base/gsttypefindhelper.c: (helper_find_peek),
20440 (gst_type_find_helper):
20441 Check whether we have the requested data already in our list of
20442 cached buffers before pulling a new buffer; also make the buffer
20443 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
20445 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
20450 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
20451 don't use long long, it's not portable. Replacing with
20452 gint64 seems to work; let's hope no skeletons fall out of the closet.
20454 2005-10-10 Andy Wingo <wingo@pobox.com>
20456 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
20458 2005-10-09 Stefan Kost <ensonic@users.sf.net>
20460 * docs/gst/gstreamer-sections.txt:
20465 * gst/gstmessage.c: (gst_message_parse_state_changed):
20468 more docs, fix compilation
20470 2005-10-09 Philippe Khalaf <burger@speedy.org>
20471 * gst/gstmessage.c:
20472 Fixed a few forgotten variables on previous commit
20474 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
20476 * gst/base/gsttypefindhelper.c: (helper_find_peek):
20477 Fix evil typefind crasher: getrange() might return a short
20478 buffer at the end of a file, but gst_type_find_peek() must
20479 either return the full data as requested or NULL, but
20480 never a short buffer.
20482 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
20484 * gst/gstmessage.c: (gst_message_new_state_changed),
20485 (gst_message_parse_state_changed):
20486 * gst/gstmessage.h:
20487 don't use "new", it's a C++ keyword
20489 2005-10-08 Wim Taymans <wim@fluendo.com>
20491 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
20492 * gst/gstelement.c: (gst_element_post_message):
20493 * gst/gstpipeline.c: (gst_pipeline_change_state):
20494 Small docs and debug updates.
20496 2005-10-08 Stefan Kost <ensonic@users.sf.net>
20498 * docs/gst/gstreamer-sections.txt:
20499 * gst/gstelementfactory.c:
20501 * gst/gsttaglist.c:
20504 2005-10-08 Wim Taymans <wim@fluendo.com>
20506 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
20507 (gst_bin_dispose), (bin_bus_handler):
20508 Fix typos, add comments.
20509 Clear EOS list when going to PAUSED from any direction and do it
20510 in a threadsafe way.
20511 Get base time in a threadsafe way too.
20512 Fix confusing debug in the change_state function.
20513 Various other small cleanups.
20515 * gst/gstelement.c: (gst_element_post_message):
20516 Fix very verbose bus posting code.
20518 * gst/gstpipeline.c: (gst_pipeline_class_init),
20519 (gst_pipeline_set_property), (gst_pipeline_get_property),
20520 (gst_pipeline_change_state):
20521 Small ARG_ -> PROP_ cleanup
20523 2005-10-08 Wim Taymans <wim@fluendo.com>
20525 * gst/gstbin.c: (is_eos), (bin_bus_handler):
20526 Do a less CPU demanding EOS check because we can.
20528 2005-10-08 Wim Taymans <wim@fluendo.com>
20530 * libs/gst/dataprotocol/dataprotocol.c:
20531 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
20532 (gst_dp_packet_from_event):
20533 * libs/gst/dataprotocol/dataprotocol.h:
20534 * libs/gst/dataprotocol/dp-private.h:
20535 It's about time we bump the version number.
20536 Since event types don't fit in the guint8 anymore describing
20537 the payload type, make payload type 16 bits wide.
20539 2005-10-08 Wim Taymans <wim@fluendo.com>
20541 * docs/design/part-TODO.txt:
20542 * docs/design/part-clocks.txt:
20543 * docs/design/part-events.txt:
20544 * docs/design/part-gstbin.txt:
20545 * docs/design/part-gstelement.txt:
20546 * docs/design/part-gstpipeline.txt:
20547 * docs/design/part-live-source.txt:
20548 * docs/design/part-messages.txt:
20549 * docs/design/part-overview.txt:
20550 * docs/design/part-states.txt:
20553 2005-10-08 Wim Taymans <wim@fluendo.com>
20557 Fix event quark registration.
20558 Add some space between events so we can insert them in the
20561 2005-10-08 Wim Taymans <wim@fluendo.com>
20563 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20564 (gst_base_sink_handle_buffer):
20565 Better log message.
20568 * gst/gstelement.h:
20571 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
20572 (gst_queue_set_property), (gst_queue_get_property):
20574 Remove old unused properties.
20576 2005-10-08 Stefan Kost <ensonic@users.sf.net>
20577 * docs/gst/gstreamer-sections.txt:
20578 * gst/gstmessage.c:
20579 * gst/gstmessage.h:
20580 * gst/gstminiobject.c:
20581 * gst/gstminiobject.h:
20585 lots of new docs and doc fixes
20587 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
20589 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
20591 * gst/gstregistry.c: (gst_registry_lookup_locked),
20592 (gst_registry_scan_path_level):
20593 * gst/gstregistryxml.c: (load_plugin):
20594 Only ever load one plugin for a given plugin basename.
20595 This ensures correct overriding of GST_PLUGIN_PATH over
20596 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
20597 system installed plugins.
20599 2005-10-08 Wim Taymans <wim@fluendo.com>
20601 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20602 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
20603 Prepare for doing QOS.
20605 2005-10-08 Wim Taymans <wim@fluendo.com>
20607 * check/gst/gstbin.c: (GST_START_TEST):
20608 * check/pipelines/cleanup.c: (GST_START_TEST):
20609 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
20610 Allow new clock message too.
20612 2005-10-08 Wim Taymans <wim@fluendo.com>
20614 * gst/gstmessage.c: (gst_message_new_error),
20615 (gst_message_new_warning), (gst_message_new_tag),
20616 (gst_message_new_state_changed), (gst_message_new_clock_provide),
20617 (gst_message_new_clock_lost), (gst_message_new_new_clock),
20618 (gst_message_new_segment_start), (gst_message_new_segment_done),
20619 (gst_message_parse_state_changed),
20620 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
20621 (gst_message_parse_new_clock):
20622 * gst/gstmessage.h:
20623 Also carry the clock in question.
20625 2005-10-08 Wim Taymans <wim@fluendo.com>
20627 * gst/gstmessage.c: (gst_message_new_custom),
20628 (gst_message_new_eos), (gst_message_new_error),
20629 (gst_message_new_warning), (gst_message_new_tag),
20630 (gst_message_new_state_changed), (gst_message_new_clock_provide),
20631 (gst_message_new_new_clock), (gst_message_new_segment_start),
20632 (gst_message_new_segment_done), (gst_message_parse_state_changed),
20633 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
20634 * gst/gstmessage.h:
20636 Added clock related messages.
20638 * gst/gstpipeline.c: (gst_pipeline_change_state):
20639 Post message when the clock changed.
20641 * tools/gst-launch.c: (event_loop):
20644 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
20646 * tools/gst-inspect.c: (print_element_properties_info):
20647 Can't pass NULL strings to g_print() on windows.
20649 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
20651 * docs/Makefile.am:
20652 * docs/gst/Makefile.am:
20653 * docs/gst/gstreamer-docs.sgml:
20654 * docs/gst/running.xml:
20655 * docs/version.entities.in:
20656 add a chapter on running GStreamer.
20657 document GST_DEBUG and GST_PLUGIN* env vars
20659 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
20664 remove PLUGINS_BUILDDIR stuff
20665 * gst/gst.c: (init_post):
20666 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
20668 remove, it was condescending and not needed
20670 2005-10-08 Wim Taymans <wim@fluendo.com>
20672 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
20673 (gst_base_sink_handle_object), (gst_base_sink_event),
20674 (gst_base_sink_wait), (gst_base_sink_handle_event),
20675 (gst_base_sink_change_state):
20676 * gst/base/gstbasesink.h:
20677 Repost EOS message while going to PLAYING if still EOS.
20678 Make sure that when receiving a FLUSH_START we don't attempt
20679 to sync on the clock anymore.
20681 2005-10-08 Wim Taymans <wim@fluendo.com>
20683 * tools/gst-launch.c: (event_loop):
20684 Better message printout.
20686 2005-10-08 Wim Taymans <wim@fluendo.com>
20688 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
20689 (gst_bin_child_proxy_get_children_count):
20690 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
20691 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
20692 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
20693 (gst_child_proxy_set_valist):
20694 * gst/parse/grammar.y:
20695 Make ChildProxy threadsafe and fix mem leaks.
20697 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
20699 * gst/gst.c: (init_post):
20700 debug the GST_PLUGIN_ env vars
20702 2005-10-08 Wim Taymans <wim@fluendo.com>
20704 * check/gst/gstbin.c: (GST_START_TEST):
20705 * check/gst/gstmessage.c: (GST_START_TEST):
20706 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20707 * gst/gstelement.c: (gst_element_commit_state),
20708 (gst_element_lost_state):
20709 * gst/gstmessage.c: (gst_message_new_state_changed),
20710 (gst_message_parse_state_changed):
20711 * gst/gstmessage.h:
20712 * tools/gst-launch.c: (event_loop):
20713 Added extra field to STATE_CHANGE message with the pending
20714 state, which will be different from the new state soon.
20716 2005-10-08 Wim Taymans <wim@fluendo.com>
20718 * gst/gstbus.c: (gst_bus_pop):
20720 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
20721 Small cleanups and doc updates.
20723 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
20725 * gst/gst.c: (init_pre):
20726 * gst/gstbin.c: (gst_bin_add_func):
20727 log distributing clocks and base time
20728 * gst/gstregistry.c: (gst_registry_add_plugin),
20729 (gst_registry_scan_path_level), (gst_registry_scan_path):
20730 clean up the debugging output a little
20731 * gst/gstutils.c: (gst_element_state_get_name):
20732 warn about a memleak (I've actually seen this be used, though
20733 it was probably a bug)
20735 2005-10-07 Wim Taymans <wim@fluendo.com>
20737 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
20738 (gst_base_src_init), (gst_base_src_default_newsegment),
20739 (gst_base_src_newsegment), (gst_base_src_do_seek),
20740 (gst_base_src_loop), (gst_base_src_start):
20741 * gst/base/gstbasesrc.h:
20742 Make the newsegment event customizable by subclasses.
20744 2005-10-07 Wim Taymans <wim@fluendo.com>
20746 * gst/gstevent.c: (gst_event_new_buffersize),
20747 (gst_event_parse_buffersize):
20749 New event for future idea.
20751 2005-10-07 Andy Wingo <wingo@pobox.com>
20753 * gst/gstelement.c (gst_element_post_message): Doc update.
20755 * docs/gst/gstreamer-sections.txt: Update.
20757 * gst/gstmessage.c (gst_message_new_application): Made into a
20758 function like honest API calls.
20759 (gst_message_new_element): New message type.
20761 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
20763 * check/elements/fakesrc.c (test_no_preroll): New check, checks
20764 that setting a live fakesrc to PAUSED returns NO_PREROLL both
20767 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
20768 NO_PREROLL from gst_element_change_state to fall through.
20770 2005-10-07 Wim Taymans <wim@fluendo.com>
20772 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
20773 (gst_ghost_pad_do_activate_push):
20774 Activating a ghostpad with no internal pad in push mode
20777 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
20780 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
20781 Fixes compilation on Windows.
20783 2005-10-07 Michael Smith <msmith@fluendo.com>
20785 * tools/gst-inspect.c:
20786 Print out feature and plugin count at the end when printing out
20789 2005-10-04 Michael Smith <msmith@fluendo.com>
20791 * gst/gsterror.c: (_gst_stream_errors_init):
20792 Add another error string used in a few existing plugins.
20795 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
20796 * tools/gst-inspect.c: (print_element_info):
20797 When a feature disappears from a plugin (and the feature exists in
20798 the cached registry file), things went horribly wrong. This isn't a
20799 complete fix, we should actually be removing the 'missing' features
20800 from the features list when we load the actual plugin. That's not
20803 2005-10-04 Johan Dahlin <johan@gnome.org>
20805 * check/gst/gstiterator.c: (GST_START_TEST):
20806 * gst/gstbin.c: (gst_bin_iterate_elements),
20807 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
20808 * gst/gstelement.c: (gst_element_iterate_pads):
20809 * gst/gstformat.c: (gst_format_iterate_definitions):
20810 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
20811 (gst_iterator_new_list), (gst_iterator_filter):
20812 * gst/gstiterator.h:
20813 * gst/gstquery.c: (gst_query_type_iterate_definitions):
20814 Add a GType to GstIterator, update callsites and tests.
20816 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
20818 * gst/gstpad.c: (gst_pad_event_default_dispatch):
20819 give events a chance to be handled by event probes when the pad
20822 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
20824 * gst/gstevent.c: (gst_event_type_get_name),
20825 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
20827 add string representations for event types
20829 2005-10-06 Wim Taymans <wim@fluendo.com>
20831 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
20832 Don't use NULL pointers.
20834 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
20836 * gst/gst_private.h:
20838 * gst/gstelement.c:
20840 * gst/gstpluginfeature.c:
20841 widen the debug category in output to fit the biggest one we have
20842 add a bus category and use it
20843 play with the colors
20844 fix up some categories
20846 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
20848 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
20849 add push activation of sink ghost pads.
20850 Andye, please verify
20852 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
20854 * gst/gstutils.c: (gst_element_link_pads):
20855 fix a bug in the case where neither element has a pad
20856 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
20857 add a test for that case
20859 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
20861 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
20862 emit have-data before checking for peers. This allows
20863 for probe handlers to connect elements. This helps autopluggers.
20864 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
20866 add six checks, linked/unlinked with no/true/false probe
20868 2005-10-04 Wim Taymans <wim@fluendo.com>
20870 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
20871 (gst_fake_sink_event), (gst_fake_sink_preroll),
20872 (gst_fake_sink_render), (gst_fake_sink_change_state):
20873 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
20874 (gst_fake_src_get_property), (gst_fake_src_create),
20875 (gst_fake_src_stop):
20876 * gst/elements/gstidentity.c: (gst_identity_stop):
20877 Protect last_message with lock.
20879 2005-10-04 Edward Hervey <edward@fluendo.com>
20882 Added precision in the comments for GST_FORMAT_DEFAULT
20884 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
20886 * tools/gst-launch.c: (main):
20887 Don't try to run erroneous pipelines.
20889 2005-10-04 Julien MOUTTE <julien@moutte.net>
20891 * gst/gstbus.c: We don't need this header.
20893 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
20896 back to development
20898 === release 0.9.3 ===
20900 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
20904 Releasing 0.9.3, "Unregistered"
20906 2005-10-03 Andy Wingo <wingo@pobox.com>
20908 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
20909 whereby calling a pad's activatepush() function can start a thread
20910 that starts to push or pull before the pad gets the FLUSHING flag
20911 unset. Hack around it by holding the stream lock until the flag is
20912 set. Need to replace this with a proper solution. Together with
20913 the ghost pad fixes, this fixes mp3 playing/tagreading.
20915 * docs/design/part-gstghostpad.txt: Add a note about activation of
20916 proxy pads outside of ghost pads.
20918 * gst/gstghostpad.c: Implement the ghost pad activation design.
20920 2005-10-02 Andy Wingo <wingo@pobox.com>
20922 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
20923 It is volatile, after all.
20925 * docs/design/part-gstghostpad.txt: Flesh out activation with
20928 * gst/base/gstbasesrc.c (gst_base_src_init): Use
20931 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
20934 Fix (unused) AM_CONDITIONAL tests.
20936 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
20938 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
20940 * gst/gstutils.c: (gst_pad_query_convert):
20941 Add assertion that makes sure src_val is >=0, just like
20942 gst_query_new_convert() has. (#315895)
20944 2005-09-30 Edward Hervey <edward@fluendo.com>
20946 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
20947 Let's not iterate pads we're not interested in, it avoids getting
20948 sky-high refcounts on sinkpad.
20950 2005-09-30 Wim Taymans <wim@fluendo.com>
20952 * gst/gstelement.c: (gst_element_set_state),
20953 (gst_element_change_state):
20954 Small tweak, element in ASYNC remains ASYNC.
20956 2005-09-30 Wim Taymans <wim@fluendo.com>
20958 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
20959 Only error is an error.
20961 * gst/gstbin.c: (gst_bin_change_state):
20964 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
20965 Also call pad_block in pad alloc.
20967 * gst/gstutils.c: (gst_flow_get_name):
20970 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
20972 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
20973 (gst_base_src_get_range):
20974 Fix documentation typos. Add some more debug info.
20976 2005-09-29 David Schleef <ds@schleef.org>
20978 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
20979 more end-user friendly.
20980 * tools/gst-inspect.c: (main): Check if command-line argument is
20981 a file and attempt to load that file as a plugin.
20983 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
20985 * check/gst/gstbin.c:
20986 * check/states/sinks.c:
20987 fix tests for the new warning
20988 * check/gst/gstpipeline.c:
20989 add a test for pipeline and bus interaction
20990 * gst/gstelement.c:
20991 elements should be NULL if they get disposed; add a warning if not
20993 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
20996 for 2.6 refcounting, make debug log more correct by printing
20997 the actual refcounts at the time of swap (Wim)
20999 2005-09-29 Andy Wingo <wingo@pobox.com>
21001 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
21002 removes signal watches previously added via
21003 gst_bus_add_signal_watch.
21004 (gst_bus_add_signal_watch): Don't return the source id, just store
21005 it on the bus if there wasn't an id already.
21007 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
21008 add_signal_watch and remove_signal_watch.
21010 2005-09-29 Edward Hervey <edward@fluendo.com>
21012 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
21013 Better if we actually iterate the list :)
21015 2005-09-29 Wim Taymans <wim@fluendo.com>
21017 * check/gst/gstbin.c: (GST_START_TEST):
21018 Change for new bus API.
21020 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
21021 (send_messages), (GST_START_TEST), (gstbus_suite):
21022 Change for new bus signal API.
21024 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
21025 (gst_bus_source_prepare), (gst_bus_source_check),
21026 (gst_bus_create_watch), (gst_bus_add_watch_full),
21027 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
21028 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
21030 Remove support for multiple GSources operating on different
21031 message types as it is too complex and unneeded when using
21033 Added support for receiving signals from the bus.
21035 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
21037 * docs/libs/tmpl/gstdataprotocol.sgml:
21038 * docs/manual/advanced-dataaccess.xml:
21039 * gst/elements/gstcapsfilter.c:
21041 rename filter-caps to caps property
21043 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
21045 * gst/gstvalue.c: (gst_value_deserialize_fraction):
21046 More robust fraction string parsing.
21048 * docs/pwg/appendix-porting.xml:
21049 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
21051 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
21053 * gst/gstcaps.c: (gst_caps_do_simplify):
21054 Thou shalt not free a structure and then continue using it
21055 in the next loop iteration.
21057 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
21059 Add test case for caps simplification.
21061 2005-09-29 Wim Taymans <wim@fluendo.com>
21063 * check/gst/gstbin.c: (GST_START_TEST):
21066 2005-09-29 Wim Taymans <wim@fluendo.com>
21068 * check/gst/gstbin.c: (GST_START_TEST):
21071 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
21072 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
21073 (find_element), (gst_bin_sort_iterator_next),
21074 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
21075 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
21076 (gst_bin_change_state), (gst_bin_dispose):
21077 A bin does not have a bus, it gets the bus from the parent.
21079 * gst/gstelement.c: (gst_element_requires_clock),
21080 (gst_element_provides_clock), (gst_element_is_indexable),
21081 (gst_element_is_locked_state), (gst_element_change_state),
21082 (gst_element_set_bus_func):
21085 * gst/gstpipeline.c: (gst_pipeline_class_init),
21086 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
21087 The pipeline provides a bus.
21089 2005-09-28 Johan Dahlin <johan@gnome.org>
21091 * gst/gstmessage.c (gst_message_parse_state_changed): Use
21092 gst_structure_get_enum instead of gst_structure_get_int
21094 * gst/gststructure.c (gst_structure_get_enum): Impl.
21096 * gst/gststructure.h (gst_structure_get_enum): Add
21098 * docs/gst/gstreamer-sections.txt: Ditto
21100 * gst/gstmessage.c (gst_message_new_state_changed): Use
21101 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
21102 which does introspection.
21103 Reviewed by Christian Schaller
21105 2005-09-28 Stefan Kost <ensonic@users.sf.net>
21107 * gst/gstinfo.c: (gst_debug_log_default):
21108 don't do dummy g_strdup()s
21109 * libs/gst/controller/gstcontroller.c:
21110 (on_object_controlled_property_changed),
21111 (gst_controlled_property_new), (gst_controller_new_valist),
21112 (gst_controller_new_list),
21113 (gst_controller_remove_properties_valist), (gst_controller_set),
21114 (gst_controller_get), (gst_controller_sync_values),
21115 (gst_controller_get_value_array), (_gst_controller_class_init),
21116 (gst_controller_get_type):
21117 * libs/gst/controller/gstcontroller.h:
21118 * libs/gst/controller/gstinterpolation.c:
21119 (gst_controlled_property_find_timed_value_node):
21120 convert // to /**/ comments
21122 2005-09-28 Wim Taymans <wim@fluendo.com>
21124 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
21125 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
21126 (gst_bus_sync_signal_handler):
21128 Added async-message and sync-message signals to the bus.
21129 Added helper BusFunc to emit signals for all posted messages.
21131 * gst/gstmessage.c: (gst_message_type_get_name),
21132 (gst_message_type_to_quark), (gst_message_get_type):
21133 * gst/gstmessage.h:
21134 Register quarks for message names.
21136 2005-09-28 Stefan Kost <ensonic@users.sf.net>
21138 * docs/libs/gstreamer-libs-sections.txt:
21139 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
21140 (gst_controller_new_list):
21141 * libs/gst/controller/gstcontroller.h:
21142 added another constructor for language bindings
21144 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
21146 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
21150 * gst/gstinfo.c: (_gst_debug_init):
21151 slightly more readable color for refcount debugging
21153 2005-09-28 Wim Taymans <wim@fluendo.com>
21155 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
21156 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
21157 (find_element), (gst_bin_sort_iterator_next),
21158 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
21159 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
21160 (gst_bin_change_state), (gst_bin_dispose):
21161 Small doc fixes. get_clock -> provide_clock.
21163 * gst/gstelement.c: (gst_element_class_init),
21164 (gst_element_provides_clock), (gst_element_provide_clock),
21165 (gst_element_get_clock), (gst_element_commit_state),
21166 (gst_element_lost_state):
21167 * gst/gstelement.h:
21168 Make get/set_clock() symetric. Add provide_clock vmethod since
21169 that is actually what this function does.
21171 * gst/gstpipeline.c: (gst_pipeline_class_init),
21172 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
21173 (gst_pipeline_get_clock):
21174 get_clock -> provide_clock.
21176 2005-09-28 Andy Wingo <wingo@pobox.com>
21178 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
21179 lieu of real docs...
21181 * gst/elements/gstfdsrc.c: Cleaned up a bit.
21183 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
21185 * gst/elements/gstcapsfilter.c:
21186 * gst/elements/gstfakesink.c:
21187 * gst/elements/gstfakesrc.c:
21188 * gst/elements/gstfdsink.c:
21189 * gst/elements/gstfdsrc.c:
21190 * gst/elements/gstfilesink.c:
21191 * gst/elements/gstfilesrc.c:
21192 * gst/elements/gstidentity.c:
21193 * gst/elements/gsttee.c:
21194 * gst/elements/gsttypefindelement.c:
21195 Make element details static.
21197 2005-09-28 Wim Taymans <wim@fluendo.com>
21199 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
21200 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
21201 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
21202 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
21203 (gst_bin_change_state), (gst_bin_dispose):
21204 Some documentation updates.
21205 Clean up dispose handlers.
21207 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
21208 * gst/gstpad.c: (gst_pad_dispose):
21209 Clean up dispose handler.
21211 * gst/gstpipeline.c: (gst_pipeline_change_state):
21212 Removed spurious UNLOCK.
21214 2005-09-27 Stefan Kost <ensonic@users.sf.net>
21216 * docs/gst/gstreamer-sections.txt:
21217 * gst/base/gstbasesrc.h:
21218 * gst/gstelement.h:
21222 * gst/gstpipeline.c:
21223 * gst/gstpipeline.h:
21226 added two new functions to the docs
21227 documents all undocumented GstXXXFlags
21228 completed some incomplete docs
21230 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
21232 * gst/gstbin.c: (gst_bin_dispose):
21233 * gst/gstelement.c: (gst_element_dispose):
21234 remove now useless and leaky resurrection code in dispose
21235 * gst/base/gstbasesrc.c: (gst_base_src_init):
21236 * gst/gstelementfactory.c: (gst_element_factory_create):
21237 * gst/gstobject.c: (gst_object_set_parent):
21240 2005-09-27 Wim Taymans <wim@fluendo.com>
21242 * docs/design/part-TODO.txt:
21245 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
21246 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
21247 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
21248 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
21249 (gst_bin_change_state):
21250 * gst/gstelement.h:
21251 Remove element variable, we keep element info in the iterator now.
21253 2005-09-27 Andy Wingo <wingo@pobox.com>
21255 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
21258 2005-09-27 Wim Taymans <wim@fluendo.com>
21260 * check/gst/gstbin.c: (GST_START_TEST):
21261 Enable check that works now.
21263 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
21264 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
21265 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
21266 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
21267 (gst_bin_change_state):
21269 Redid the state change algorithm using a topological sort algo.
21270 Handles all cases correctly.
21271 Exposed iterator for state change order.
21273 * gst/gstelement.h:
21274 Temp storage for state changes. Need to get rid of this soon.
21276 2005-09-27 Wim Taymans <wim@fluendo.com>
21278 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
21279 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
21280 (link_fold_func), (gst_pad_proxy_setcaps):
21281 Leak fixes, the fold functions need to unref the passed object and
21282 _get_parent_*() returns ref to parent.
21284 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
21286 * check/gst/gstbuffer.c: (test_make_writable):
21287 Plug leak in test case and fix 'make check-valgrind'
21289 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
21291 * gst/gstbuffer.c: (gst_subbuffer_init):
21292 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
21293 works correctly in all circumstances (we could have just copied
21294 the parent buffer's readonly flag, but conceptually it seems
21295 cleaner to mark all subbuffers as read-only). (based on patch
21296 by Alessandro Decina, #314710).
21298 * check/gst/gstbuffer.c: (create_read_only_buffer),
21299 (test_make_writable), (test_subbuffer_make_writable),
21301 Add some tests for gst_buffer_make_writable().
21303 2005-09-27 Wim Taymans <wim@fluendo.com>
21305 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
21306 use gst_object_has_ancestor().
21308 * gst/gstobject.c: (gst_object_has_ancestor):
21310 gst_object_has_ancestor() copied from gstbin.c as it is a
21313 * tests/instantiate/create.c: (create_all_elements):
21314 * tests/lat.c: (handoff_src), (handoff_sink):
21315 * tests/sched/runxml.c: (main):
21316 * tests/seeking/seeking1.c: (main):
21317 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
21319 Fix compilation of some tests.
21321 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
21324 Remove comment. GST_TYPE_G_ERROR is here to stay,
21325 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
21326 (#316961, #300610).
21328 2005-09-26 Wim Taymans <wim@fluendo.com>
21330 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
21331 Added check that shows error in state change order.
21333 2005-09-26 Wim Taymans <wim@fluendo.com>
21335 * gst/gstbin.c: (gst_bin_change_state):
21336 Make state change function use 3 queues again, we were
21337 adding elements in the wrong order.
21339 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
21342 * gst/gstpad.c: (gst_pad_dispose):
21343 Added some debug info first.
21345 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
21347 * docs/design/draft-push-pull.txt:
21348 * docs/design/part-events.txt:
21349 * docs/design/part-overview.txt:
21350 * docs/design/part-scheduling.txt:
21351 Replace all _pull_region() with _pull_range()
21353 2005-09-26 Andy Wingo <wingo@pobox.com>
21355 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
21357 * check/gst-libs/controller.c: Update for controller api change.
21360 * tests/Makefile.am:
21361 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
21362 over by GLib bug 118439.
21364 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
21365 routines to a function.
21367 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
21369 * libs/gst/controller/gsthelper.c:
21370 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
21371 (gst_object_sync_values): Renamed from sink_values. Ugh.
21373 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
21375 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
21376 Renamed from controller_key, as it is exported.
21378 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
21380 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
21385 * gst/gstpadtemplate.h:
21388 * gst/gstqueryutils.c:
21389 * gst/gstqueryutils.h:
21390 remove queryutils headers after moving the two used functions
21391 to gstquery. also fixes build problem for gstsiddec
21393 2005-09-26 Michael Smith <msmith@fluendo.com>
21395 * tools/gst-launch.1.in:
21396 Correct documentation in manpage of debug syntax
21398 2005-09-26 Wim Taymans <wim@fluendo.com>
21400 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
21401 (gst_base_src_is_seekable), (gst_base_src_change_state):
21402 Some more debugging info.
21404 2005-09-25 Stefan Kost <ensonic@users.sf.net>
21406 * docs/gst/gstreamer-sections.txt:
21407 * gst/base/gstbasetransform.h:
21411 2005-09-25 Stefan Kost <ensonic@users.sf.net>
21413 * docs/gst/.cvsignore:
21414 * docs/gst/tmpl/.cvsignore:
21415 * docs/gst/tmpl/gstpipeline.sgml:
21416 * docs/gst/tmpl/gstplugin.sgml:
21417 * gst/gstpipeline.c:
21420 inlined the last two docs files
21421 removed the tmpl directory from cvs (no more conflicts here!)
21423 2005-09-25 Stefan Kost <ensonic@users.sf.net>
21425 * docs/gst/gstreamer-sections.txt:
21426 * docs/gst/tmpl/.cvsignore:
21427 * docs/gst/tmpl/gstpad.sgml:
21428 * docs/gst/tmpl/gstpadtemplate.sgml:
21430 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
21431 (gst_pad_finalize), (gst_pad_set_pad_template):
21433 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
21434 (gst_pad_template_class_init), (gst_pad_template_init),
21435 (gst_pad_template_dispose), (name_is_valid),
21436 (gst_static_pad_template_get), (gst_pad_template_new),
21437 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
21438 (gst_pad_template_pad_created):
21439 * gst/gstpadtemplate.h:
21440 inlined two more docs
21441 factored gstpadtemplate out of gstpad
21443 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
21445 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
21446 (test_children_state_change_order_semi_sink):
21447 Fix test case: we can't rely on a fixed state change order when
21448 going from READY => PAUSED because the sink might commit its
21449 new state first when the first buffer created by the source
21450 reaches the sink before the source has finished its change state.
21451 (Test case still fails at times, see #316856, comment 5 onwards)
21453 2005-09-24 Wim Taymans <wim@fluendo.com>
21455 * docs/design/part-events.txt:
21456 * docs/design/part-gstbus.txt:
21457 * docs/design/part-gstpipeline.txt:
21458 * docs/design/part-messages.txt:
21459 * docs/design/part-overview.txt:
21460 * docs/design/part-segments.txt:
21464 * gst/gstelement.c:
21467 * gst/gstiterator.c:
21468 Various documentation updates.
21470 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
21473 Well, that's embarassing. Luckily we weren't using
21474 GST_CLOCK_DIFF anywhere.
21476 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
21478 * common/gtk-doc.mak:
21479 don't fail on building XML, FC4 slave shows a bunch of doc
21480 missing bits that I don't get
21482 * gst/gstpipeline.c:
21483 * gst/gststructure.c:
21486 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
21488 * docs/design/part-gstbin.txt:
21489 * docs/design/part-gstbus.txt:
21491 Add blurb about how the bus goes into flushing mode and
21492 drops all messages when its bin goes from READY into NULL
21495 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
21497 * docs/gst/gstreamer-sections.txt:
21498 * gst/gststructure.c: (gst_structure_get_clock_time):
21499 * gst/gststructure.h:
21500 add a method to get a GstClockTime out of a structure
21502 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
21504 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
21505 (test_children_state_change_order_semi_sink), (gst_bin_suite):
21506 Added test to check state change order in bins (can still be made
21507 to fail here under heavy disk load; bails out with 'Push on pad
21508 fakesink:sink0, but it was not activated in push mode').
21510 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
21511 Fix state change order when there is only a semi sink (#316856)
21513 * gst/gstbus.c: (gst_bus_class_init):
21514 Use _class_peek_parent(), not _class_ref(); fix docs to say
21515 'default main context' instead of 'mainloop' where that is
21518 * gst/gstelement.c: (gst_element_commit_state),
21519 (gst_element_set_state):
21520 Fix typos in debug messages
21522 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
21525 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
21526 * gst/gstpluginfeature.c:
21528 various doc updates
21529 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21530 change an assert into an error until it gets fixed properly
21532 2005-09-23 Stefan Kost <ensonic@users.sf.net>
21534 * docs/gst/gstreamer-sections.txt:
21535 * docs/gst/tmpl/.cvsignore:
21536 * docs/gst/tmpl/gstelement.sgml:
21537 * docs/gst/tmpl/gstinfo.sgml:
21538 * docs/gst/tmpl/gstobject.sgml:
21539 * gst/gstelement.c:
21540 * gst/gstelement.h:
21543 * gst/gstobject.c: (gst_object_class_init):
21545 inlined 3 more biiiig doc files and added some missing docs on the fly
21547 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
21549 * check/gst/.cvsignore:
21550 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
21551 * gst/gstregistryxml.c: (load_plugin),
21552 (gst_registry_xml_save_plugin):
21553 put back source in registry. add checks for find_plugin.
21554 * testsuite/states/bin.c: (assert_state), (empty_bin),
21555 (test_adding_one_element), (main):
21556 * testsuite/states/locked.c: (main):
21557 some compile/run fixes
21559 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
21561 * check/gst/gstvalue.c: (GST_START_TEST):
21562 fix leaks in the test itself
21564 2005-09-22 Wim Taymans <wim@fluendo.com>
21566 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
21567 (gst_base_sink_send_event), (gst_base_sink_peer_query),
21568 (gst_base_sink_query):
21569 Prepare for more accurate position reporting and query
21572 * gst/gstelement.c: (gst_element_send_event),
21573 (gst_element_set_state):
21576 2005-09-22 Wim Taymans <wim@fluendo.com>
21578 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
21579 (gst_query_parse_segment):
21581 More documentation.
21582 Add segment query for future use.
21584 2005-09-22 Wim Taymans <wim@fluendo.com>
21586 * gst/gstbin.c: (gst_bin_add_func):
21587 Some more debug info.
21589 * gst/gstelement.c: (gst_element_send_event):
21590 Simplify send_event
21592 * gst/gstelement.h:
21593 Don't know how flags got broken.
21598 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
21600 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
21601 Add simplistic test suite for GST_TYPE_DATE serialisation and
21604 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
21606 * docs/gst/gstreamer-sections.txt:
21607 * gst/gststructure.c: (gst_structure_set_valist),
21608 (gst_structure_get_date):
21609 * gst/gststructure.h:
21610 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
21611 (gst_date_copy), (gst_value_compare_date),
21612 (gst_value_serialize_date), (gst_value_deserialize_date),
21613 (gst_value_transform_date_string),
21614 (gst_value_transform_string_date), (_gst_value_initialize):
21616 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
21617 bunch of utility functions along with a hack that checks that
21618 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
21619 is required. Part of the grand scheme in #170777.
21621 2005-09-22 Andy Wingo <wingo@pobox.com>
21623 * gst/gstconfig.h.in: Psych out gtk-doc.
21625 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
21627 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
21629 * tools/gst-inspect.c (print_element_list): Plug some
21630 inconsequential leaks.
21632 * gst/gstregistry.c (gst_registry_get_default): Doc.
21634 * check/gst/gstplugin.c:
21635 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
21636 * gst/gstelementfactory.c (gst_element_factory_create):
21637 * gst/gstindexfactory.c (gst_index_factory_create): Update for
21640 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
21641 (gst_plugin_feature_load): Doc, don't eat refs.
21643 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
21644 (gst_plugin_list_free): Doc.
21645 (gst_plugin_load_file): Doc updates.
21647 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
21648 accessors returning refcounted objects, return a ref.
21650 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
21651 accessor for caps. IDEMPOTENCE. Oh yes.
21653 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
21655 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21657 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
21658 (_gst_debug_register_funcptr):
21659 Add mutex to serialise access to the hash table with
21660 the function pointer => function name string mapping;
21661 make that hash table static scope (#316809).
21663 * gst/registries/.cvsignore:
21664 Remove left-over file.
21666 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
21668 * docs/pwg/appendix-porting.xml:
21669 And something about newsegment events and caps-on-buffers to
21670 the porting guide (feel free to improve).
21672 2005-09-21 Andy Wingo <wingo@pobox.com>
21674 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
21675 data and event probes on the same pad.
21676 (test_buffer_probe_once): Test that removing probes from within
21677 the probe functions works.
21679 2005-09-21 Andy Wingo <wingo@pobox.com>
21681 * check/gst/gstutils.c: New file.
21682 (test_buffer_probe_n_times): A simple buffer probe test. More to
21685 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
21686 have-data::buffer, not have-data.
21687 (gst_pad_add_event_probe): Likewise for have-data::event.
21688 (gst_pad_add_data_probe): More docs. The part about 'resolving the
21689 peer' isn't quite right yet though.
21690 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
21691 (gst_pad_remove_data_probe): Change to take the guint handler_id
21692 as their arg, not the function+data, which is more glib-like.
21694 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
21695 the signal emission to indicate if the data is a buffer or an
21697 (gst_pad_get_type): Initialize buffer and event quarks.
21698 (gst_pad_class_init): have-data is now a detailed signal, yes it
21701 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
21703 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
21704 * gst/gstutils.c: (gst_util_set_value_from_string),
21705 (gst_util_set_object_arg):
21706 Don't put functional code in g_return_if_fail() or
21707 g_return_val_if_fail() statements, otherwise things will
21708 break when G_DISABLE_CHECKS is defined during compilation.
21710 2005-09-21 Stefan Kost <ensonic@users.sf.net>
21712 * docs/gst/tmpl/.cvsignore:
21713 * docs/gst/tmpl/gstvalue.sgml:
21716 inlied another one and added some obvious docs
21718 2005-09-21 Wim Taymans <wim@fluendo.com>
21720 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
21721 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
21722 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
21723 (gst_fdsrc_get_property), (gst_fdsrc_create):
21724 * gst/elements/gstfdsrc.h:
21725 Properly implement fdsrc. Removed signal and timeout,
21726 better implemented somewhere else.
21728 2005-09-21 Stefan Kost <ensonic@users.sf.net>
21730 * docs/gst/tmpl/.cvsignore:
21731 * docs/gst/tmpl/gstimplementsinterface.sgml:
21732 * gst/gstinterface.c:
21735 2005-09-21 Stefan Kost <ensonic@users.sf.net>
21737 * docs/gst/gstreamer-sections.txt:
21738 * docs/gst/tmpl/.cvsignore:
21739 * docs/gst/tmpl/gstenumtypes.sgml:
21740 remove obsolete doc file
21742 2005-09-21 David Schleef <ds@schleef.org>
21744 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
21745 little beer, fix a little leak.
21747 2005-09-21 Stefan Kost <ensonic@users.sf.net>
21749 * docs/gst/gstreamer-docs.sgml:
21750 * docs/gst/gstreamer-sections.txt:
21751 * docs/gst/tmpl/.cvsignore:
21755 * gst/gstelement.h:
21756 * gst/gstindex.c: (gst_index_class_init):
21758 * gst/gstindexfactory.c: (gst_index_factory_get_type),
21759 (gst_index_factory_class_init), (gst_index_factory_init),
21760 (gst_index_factory_finalize), (gst_index_factory_new),
21761 (gst_index_factory_destroy), (gst_index_factory_find),
21762 (gst_index_factory_create), (gst_index_factory_make):
21763 * gst/gstindexfactory.h:
21764 * gst/gstpluginfeature.c:
21765 * gst/gstpluginfeature.h:
21766 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
21767 more docs inlined, splitted gstindex.{c,h}
21769 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
21771 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
21774 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
21776 * gst/elements/gstfilesink.c: (gst_file_sink_init):
21777 Set sync to FALSE by default.
21779 2005-09-20 Wim Taymans <wim@fluendo.com>
21781 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
21782 (gst_base_sink_init):
21783 Make sync property settable from subclass.
21785 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
21786 (gst_fake_sink_change_state):
21787 Set sync to FALSE by default.
21789 2005-09-20 Wim Taymans <wim@fluendo.com>
21791 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
21792 * tools/gst-launch.c: (main):
21793 The timeout handler should have lower priority than the source
21794 so we don't timeout before popping a message with 0 timeout.
21795 Dump error messages after failed state change.
21797 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
21799 * tools/gst-inspect.c: (print_element_properties_info):
21802 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
21804 * check/gst/gstevent.c:
21805 * gst/elements/gstfakesink.c:
21806 * gst/elements/gstfakesink.h:
21807 remove the sync property from fakesink.
21808 has the side effect of setting sync TRUE
21809 for fakesink, which is a change. Anyone who knows how
21810 to fix this nicely in a GObject-y way, feel free.
21812 2005-09-20 Stefan Kost <ensonic@users.sf.net>
21814 * docs/gst/gstreamer-docs.sgml:
21815 remove probe refsection
21817 2005-09-20 Stefan Kost <ensonic@users.sf.net>
21819 * check/Makefile.am:
21820 disable valgrinding the controller test again
21821 * docs/gst/gstreamer-sections.txt:
21822 update for api-changes
21824 2005-09-20 Wim Taymans <wim@fluendo.com>
21826 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
21827 (gst_base_sink_set_property), (gst_base_sink_get_property),
21828 (gst_base_sink_do_sync):
21829 * gst/base/gstbasesink.h:
21830 Added sync property to basesink to disable clock sync.
21832 2005-09-20 Andy Wingo <wingo@pobox.com>
21834 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
21835 eating the caller's refcount.
21837 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
21838 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
21841 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
21842 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
21843 of GLib 2.8 public, so we can know which refcount to check in
21846 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
21847 (gst_object_init): Only set the gst refcount if we're going ahead
21848 with the refcount hack.
21850 2005-09-20 Stefan Kost <ensonic@users.sf.net>
21852 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
21853 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
21854 more leaks plumbed, added more debug-logging
21858 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
21860 * gst/gstmessage.c:
21861 remove include of gstmemchunk.h
21863 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
21865 * gst/gstclock.c: (_gst_clock_id_free):
21866 Commit from the Political Party For More Atomic CVS Commits,
21867 so that people don't waste too much of their day fishing
21868 out obvious leaks out of massive commits.
21869 Oh, and fix a pretty damn obvious leak in the memchunk
21872 2005-09-20 Stefan Kost <ensonic@users.sf.net>
21874 * check/Makefile.am:
21875 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
21876 plug mem-leak, re-add to valgrindable tests
21878 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
21881 unbreak the build for those who have chronic arthritis
21882 and typing "make check" is just too taxing on the hands
21884 2005-09-20 Andy Wingo <wingo@pobox.com>
21886 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
21887 really want it out, you should fix plugins at the same time.
21889 2005-09-19 Stefan Kost <ensonic@users.sf.net>
21892 * docs/gst/gstreamer-sections.txt:
21894 added missing symbols to api docs
21895 disable ref-count hack if we have glib >= 2.8
21897 2005-09-19 David Schleef <ds@schleef.org>
21899 * docs/gst/Makefile.am: Ignore a few more internal headers
21900 * docs/gst/gstreamer-docs.sgml: Remove old sections
21901 * docs/gst/gstreamer-sections.txt: Remove old sections
21902 * docs/gst/tmpl/gstobject.sgml: update
21903 * docs/gst/tmpl/gstplugin.sgml: update
21904 * docs/gst/tmpl/gstpluginfeature.sgml: update
21905 * docs/random/ds/0.9-suggested-changes: update.
21906 * gst/Makefile.am: remove memchunk and trashstack, since they're
21908 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
21909 * gst/gst.h: don't include some headers
21910 * gst/gstchildproxy.c: add gstmarshal.h
21911 * gst/gstclock.c: Don't use memchunks
21912 * gst/gstminiobject.c: Add some docs
21913 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
21914 * gst/gstobject.h: same
21915 * gst/gstplugin.c: include gstmacros.h
21916 * gst/gstplugin.h: don't include gstmacros.h, since it's private
21917 * gst/gstquery.c: don't use memchunks
21918 * gst/gstregistry.c: rename gst_registry_deinit()
21919 * gst/gstregistry.h: same
21921 2005-09-19 David Schleef <ds@schleef.org>
21923 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
21924 * docs/libs/gstreamer-libs-sections.txt:
21925 * docs/libs/tmpl/gstgetbits.sgml:
21926 * docs/libs/tmpl/gstputbits.sgml:
21928 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
21930 * win32/gstenumtypes.c:
21931 * win32/gstenumtypes.h:
21934 2005-09-19 Wim Taymans <wim@fluendo.com>
21936 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
21937 Automatically PAUSE and RESUME a pipeline when a flushing seek
21940 2005-09-19 Andy Wingo <wingo@pobox.com>
21942 * gst/gstregistry.h: Spacing fixen.
21944 2005-09-19 Wim Taymans <wim@fluendo.com>
21946 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
21947 Handle state change failure more correctly.
21949 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
21951 * check/Makefile.am:
21952 * check/pipelines/cleanup.c: (run_pipeline):
21953 * check/pipelines/simple_launch_lines.c: (run_pipeline),
21955 enable cleanup again after fixing the leak
21957 some more info on docs
21959 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
21961 * check/Makefile.am:
21962 re-enable tests now that leaks are plugged
21964 * check/gst/gstbin.c:
21965 * check/gst/gstpipeline.c:
21966 add some more tests while fixing leaks
21967 * common/check.mak:
21968 make sure binaries are uptodate when valgrinding/gdbing
21970 * gst/gstelementfactory.c:
21971 remove a ref too many, and add a FIXME for when we get
21972 round to disposing of classes
21974 fix the refcounting when loading a plugin from a file and
21975 the code pretends that the pointer is the same even though
21976 of course it can change
21977 * gst/gstpluginfeature.c:
21978 unref plugins marked cached (a bit confusing as a name)
21979 as the docs state should be done
21980 various doc additions to explain refcounting
21981 * gst/gstregistry.c:
21982 * gst/gstregistryxml.c:
21985 2005-09-19 Wim Taymans <wim@fluendo.com>
21987 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
21988 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
21989 (send_messages), (GST_START_TEST), (gstbus_suite):
21990 * check/gst/gstpipeline.c: (GST_START_TEST):
21991 * check/pipelines/cleanup.c: (run_pipeline):
21992 * check/pipelines/simple_launch_lines.c: (run_pipeline),
21994 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
21995 (gst_bus_source_check), (gst_bus_source_dispatch),
21996 (gst_bus_create_watch), (gst_bus_add_watch_full),
21997 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
21999 * tools/gst-launch.c: (event_loop):
22000 * tools/gst-md5sum.c: (event_loop):
22001 GstBusHandler -> GstBusFunc, return value has the same meaning as
22002 any other GSource (FALSE == remove source).
22003 _add_watch() and _add_watch_full() now take a MessageType mask to
22004 only handle specific types of messages.
22005 _poll() returns the GstMessage instead of the message type to avoid
22007 _have_pending() takes a MessageType mask now too.
22008 Added testsuite for multiple bus watches.
22009 Fix testsuites and applications for new bus API.
22011 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
22013 * check/Makefile.am:
22014 mark a bunch of the tests as to fix until we fix them
22016 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
22018 * common/check.mak:
22019 use GST_PLUGIN settings for valgrind tests as well, so we're
22020 valgrinding the correct thing
22021 * gst/gst.c: (init_post):
22024 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
22026 * gst/gst.c: (init_post), (gst_deinit):
22027 * gst/gstelementfactory.c: (gst_element_factory_class_init),
22028 (gst_element_factory_finalize), (gst_element_factory_cleanup):
22029 * gst/gstindex.c: (gst_index_factory_class_init),
22030 (gst_index_factory_finalize):
22031 * gst/gstobject.c: (gst_object_dispose):
22032 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
22033 (gst_plugin_load_file), (gst_plugin_desc_free):
22034 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
22035 (gst_plugin_feature_finalize):
22036 * gst/gstregistry.c: (gst_registry_class_init),
22037 (gst_registry_init), (gst_registry_finalize),
22038 (gst_registry_get_default), (gst_registry_deinit):
22039 * gst/gstregistry.h:
22040 * gst/gstregistryxml.c: (load_feature), (load_plugin):
22041 various cleanups and memleak plugging. make valgrind is happy now.
22043 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
22045 * common/check.mak:
22046 add a check-valgrind target
22048 2005-09-18 David Schleef <ds@schleef.org>
22050 * tools/gst-inspect.c: Revert the GOption code.
22052 2005-09-17 David Schleef <ds@schleef.org>
22054 * check/Makefile.am: Fix environment variables.
22055 * check/gst/gstplugin.c: Fix for API changes.
22056 * tools/gst-inspect.c: Fix for API changes.
22057 * tools/gst-xmlinspect.c: Fix for API changes.
22058 * gst/gstelementfactory.c:
22061 * gst/gstpluginfeature.c:
22062 * gst/gstpluginfeature.h:
22063 * gst/gstregistry.c:
22064 * gst/gstregistry.h:
22065 * gst/gstregistryxml.c:
22066 * gst/gsttypefind.c:
22067 * gst/gsttypefindfactory.c:
22068 * gst/indexers/gstfileindex.c:
22069 * gst/indexers/gstmemindex.c:
22070 * gst/schedulers/Makefile.am:
22071 Change registry to keep track of both plugins and features,
22072 removing the feature tracking from plugins themselves.
22074 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
22076 * check/Makefile.am:
22077 * tools/gst-register.1.in:
22078 remove gst-register
22080 2005-09-15 David Schleef <ds@schleef.org>
22082 * check/gst/gstplugin.c:
22083 * gst/gstelementfactory.c:
22085 * gst/gstpluginfeature.c:
22086 * gst/gstregistry.c:
22087 Getting tired of debugging. Disabled all the unreffing of
22088 plugins and features, which fixes the segfaults, but of
22089 course leaks like crazy. At least playbin works.
22091 2005-09-15 David Schleef <ds@schleef.org>
22093 * check/gst/gstplugin.c: (register_check_elements),
22094 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
22096 * gst/elements/gsttypefindelement.c: Fix refcounting.
22097 * gst/gsttypefind.c:
22098 * gst/gsttypefindfactory.c:
22099 * gst/gsttypefindfactory.h:
22101 2005-09-15 David Schleef <ds@schleef.org>
22103 * gst/gstindex.c: get refcounting correct.
22104 * gst/gstregistry.c: Handle the case where a feature/plugin is
22107 2005-09-15 David Schleef <ds@schleef.org>
22109 * check/Makefile.am:
22110 * check/gst/gstplugin.c: Add test
22111 * gst/gstplugin.c: Fix problems noticed by testsuite
22113 * gst/gstregistry.c:
22114 * gst/gstregistry.h:
22116 2005-09-15 David Schleef <ds@schleef.org>
22118 * gst/gstplugin.c: Implement semi-decent recounting and locking
22119 in plugins and plugin features.
22121 * gst/gstpluginfeature.c:
22122 * gst/gstpluginfeature.h:
22123 * gst/gstregistry.c:
22125 2005-09-15 Michael Smith <msmith@fluendo.com>
22127 * gst/gstregistry.c: (gst_registry_get_feature_list):
22128 Implement this. Makes oggdemux work; decodebin still broken.
22130 2005-09-14 David Schleef <ds@schleef.org>
22132 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
22134 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
22135 * gst/check/Makefile.am:
22136 * libs/gst/controller/Makefile.am:
22137 * libs/gst/dataprotocol/Makefile.am:
22139 2005-09-14 David Schleef <ds@schleef.org>
22141 * configure.ac: Remove getbits library. Nothing uses it, and
22142 it should be in something like liboil if someone did want
22144 * libs/gst/Makefile.am:
22145 * libs/gst/getbits/Makefile.am:
22146 * libs/gst/getbits/gbtest.c:
22147 * libs/gst/getbits/getbits.c:
22148 * libs/gst/getbits/getbits.h:
22149 * libs/gst/getbits/gstgetbits_generic.c:
22150 * libs/gst/getbits/gstgetbits_i386.s:
22151 * libs/gst/getbits/gstgetbits_inl.h:
22153 2005-09-14 David Schleef <ds@schleef.org>
22155 * gst/Makefile.am: Dist glib-compat.h
22157 2005-09-14 David Schleef <ds@schleef.org>
22159 * configure.ac: Remove gst/registries, since it's no longer used.
22160 * gst/registries/Makefile.am:
22161 * gst/registries/gstlibxmlregistry.c:
22162 * gst/registries/gstlibxmlregistry.h:
22163 * gst/registries/gstxmlregistry.c:
22164 * gst/registries/gstxmlregistry.h:
22165 * gst/registries/registrytest.c:
22167 2005-09-14 David Schleef <ds@schleef.org>
22169 * gst/glib-compat.h:
22170 * gst/gstregistryxml.c:
22171 Convergence is near. Seriously.
22173 2005-09-14 David Schleef <ds@schleef.org>
22175 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
22176 * gst/glib-compat.h:
22177 Attempt #4 to appease the buildbots.
22179 2005-09-14 David Schleef <ds@schleef.org>
22181 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
22184 2005-09-14 David Schleef <ds@schleef.org>
22186 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
22189 2005-09-14 David Schleef <ds@schleef.org>
22191 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
22194 2005-09-14 David Schleef <ds@schleef.org>
22196 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
22197 * gst/glib-compat.h: Add some functions that are in newer versions
22198 of glib than we care to require.
22199 * gst/gstregistryxml.c: Use them.
22201 2005-09-14 David Schleef <ds@schleef.org>
22203 * po/POTFILES.in: remove gst-register.c
22205 2005-09-14 David Schleef <ds@schleef.org>
22207 * docs/gst/gstreamer-docs.sgml:
22208 * docs/gst/gstreamer-sections.txt:
22209 * docs/gst/gstreamer.types:
22210 * docs/gst/tmpl/gstelement.sgml:
22211 * docs/gst/tmpl/gstplugin.sgml:
22212 * docs/gst/tmpl/gstpluginfeature.sgml:
22213 Documentation updates for registry changes.
22215 2005-09-14 David Schleef <ds@schleef.org>
22217 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
22218 because we don't require glib-2.8.
22220 2005-09-14 David Schleef <ds@schleef.org>
22222 * gst/gstregistryxml.c: Added. Essentially moved out of the
22223 registries directory.
22225 2005-09-14 David Schleef <ds@schleef.org>
22227 * check/Makefile.am:
22228 * check/generic/states.c:
22232 * gst/gst_private.h:
22233 * gst/gstelementfactory.c:
22238 * gst/gstpluginfeature.c:
22239 * gst/gstpluginfeature.h:
22240 * gst/gstregistry.c:
22241 * gst/gstregistry.h:
22242 * gst/gstregistrypool.c: remove
22243 * gst/gstregistrypool.h: remove
22244 * gst/gsttypefind.c:
22245 * gst/gsttypefindfactory.c:
22247 * tools/Makefile.am:
22248 * tools/gst-compprep.c:
22249 * tools/gst-inspect.c:
22250 * tools/gst-register.c: remove
22251 * tools/gst-xmlinspect.c:
22252 Registry rewrite. Changes registry from being a file created
22253 by a tool into a simple cache file created automatically by
22254 libgstreamer. Removed gst-register (because it's no longer
22255 needed). Remove registry pools, because we only have one
22256 registry implementation (XML). Fix up other subsystems as
22259 2005-09-13 Michael Smith <msmith@fluendo.com>
22261 * gst/gstconfig.h.in:
22262 Don't Use windows linking attributes for MinGW. Fixes #316157
22264 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
22266 * gst/gstutils.c: (set_state_async_thread_func),
22267 (gst_element_set_state_async):
22268 Apparently people think it's better if this function doesn't
22269 try to set the state to whatever state was asked for on the first
22270 call to this function for any object. Seriously.
22272 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
22274 * check/gst/gstpipeline.c: (GST_START_TEST):
22275 * docs/gst/gstreamer-sections.txt:
22276 * gst/gstutils.c: (set_state_async_thread_func),
22277 (gst_element_set_state_async):
22279 add a "gst_element_set_state_async" method that
22280 sets the state and starts a thread to make sure the state
22281 change completes as best as it can
22283 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
22285 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
22286 codify design+behaviour in testsuite after discussion
22288 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
22290 * docs/gst/tmpl/gstelement.sgml:
22291 * docs/manual/appendix-quotes.xml:
22293 * gst/gstelement.c: (gst_element_set_state):
22296 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
22298 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
22299 (gst_base_transform_prepare_output_buf),
22300 (gst_base_transform_handle_buffer):
22301 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
22302 (gst_capsfilter_prepare_buf):
22303 Remove the requirement for sub-classes to call the parent
22304 implementation of prepare_output_buffer with a wrapper function.
22306 * gst/gsttaglist.h:
22307 * gst/gsttagsetter.h:
22308 Fix #define wrapper
22310 2005-09-11 Stefan Kost <ensonic@users.sf.net>
22312 * docs/gst/gstreamer-sections.txt:
22315 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
22317 * docs/gst/gstreamer-sections.txt:
22318 * docs/gst/tmpl/gstelement.sgml:
22319 * docs/gst/tmpl/gstplugin.sgml:
22320 * gst/gstminiobject.c:
22322 docs now stop throwing warnings
22324 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
22326 * docs/gst/gstreamer-sections.txt:
22327 * docs/gst/gstreamer.types:
22328 * docs/gst/tmpl/gstpad.sgml:
22329 * docs/gst/tmpl/gsttypes.sgml:
22330 * gst/base/gstadapter.h:
22331 * gst/base/gstbasesink.h:
22332 * gst/base/gstbasesrc.h:
22338 * gst/gstelement.h:
22340 * gst/gstmessage.h:
22342 * gst/gststructure.c:
22343 * gst/registries/gstlibxmlregistry.h:
22344 various documentation fixes
22346 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
22348 * docs/gst/gstreamer-sections.txt:
22349 * docs/gst/tmpl/gstvalue.sgml:
22350 rearrange gstvalue section
22351 * gst/gstutils.c: (gst_element_state_get_name):
22353 * gst/gstvalue.c: (_gst_value_initialize):
22357 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
22359 * check/gst-libs/controller.c:
22360 Header include fix.
22361 * gst/base/gstbasetransform.c:
22362 (gst_base_transform_default_prepare_buf),
22363 (gst_base_transform_handle_buffer):
22364 * gst/base/gstbasetransform.h:
22365 Some more basetransform changes and fixes to enable sub-classes
22366 that modify buffer metadata only.
22367 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
22368 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
22369 (gst_capsfilter_prepare_buf):
22370 If the output pad has fixed allowed caps and input buffers
22371 don't have any, set the fixed caps on outgoing buffers.
22373 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
22374 * check/elements/identity.c: (GST_START_TEST):
22375 Make the error a little clearer when the test fails because
22376 identity made a copy of the buffer.
22377 * docs/gst/gstreamer-sections.txt:
22378 New symbols in gstbasetransform.h
22379 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
22380 (gst_base_transform_init), (gst_base_transform_transform_size),
22381 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22382 (gst_base_transform_default_prepare_buf),
22383 (gst_base_transform_get_unit_size),
22384 (gst_base_transform_buffer_alloc),
22385 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
22386 (gst_base_transform_change_state),
22387 (gst_base_transform_set_passthrough),
22388 (gst_base_transform_set_in_place),
22389 (gst_base_transform_is_in_place):
22390 * gst/base/gstbasetransform.h:
22391 Change BaseTransform to separate in_place operate from same_caps
22392 output. in_place implies that the element can perform the transform
22393 on incoming buffers in-place, even if the caps on the output are
22395 Sub-class elements can now implement special buffer allocation
22396 methods for outgoing buffers if they wish to.
22397 Big documentation addition.
22398 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
22399 * gst/elements/gstelements.c:
22400 Changes for basetransform modifications.
22401 * gst/elements/Makefile.am:
22402 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
22403 Compile fix. Extra debug output.
22405 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
22407 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
22409 add tests for valid pad naming
22410 * gst/check/gstcheck.c: (gst_check_log_message_func),
22411 (gst_check_log_critical_func):
22413 remove printing of code, it is fragile when the code contains
22414 % and the line number is enough info
22415 * gst/check/gstcheck.h:
22416 * gst/gstpad.c: (gst_pad_template_new):
22419 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
22422 say what CHECK flags we use
22423 * docs/libs/gstreamer-libs.types:
22424 * libs/gst/controller/Makefile.am:
22425 * libs/gst/controller/gst-controller.c:
22426 * libs/gst/controller/gst-controller.h:
22427 * libs/gst/controller/gst-helper.c:
22428 * libs/gst/controller/gst-interpolation.c:
22429 * libs/gst/controller/gstcontroller.c:
22430 * libs/gst/controller/gsthelper.c:
22431 * libs/gst/controller/gstinterpolation.c:
22432 * tools/gst-inspect.c: (print_plugin_info):
22433 we don't use dashes in header names
22435 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
22437 * check/Makefile.am:
22438 * check/gst/.cvsignore:
22439 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
22440 (gst_pipeline_suite), (main):
22441 adding a test for pipelines and state changes
22442 * gst/gstutils.c: (get_state_func):
22444 * gstreamer.spec.in:
22447 2005-09-08 Michael Smith <msmith@fluendo.com>
22449 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
22450 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
22451 (gst_file_src_is_seekable), (gst_file_src_get_size),
22452 (gst_file_src_start):
22453 * gst/elements/gstfilesrc.h:
22454 Various fixes for unseekable, unmmapable, and non-normal files, so
22455 that fallback to read() rather than mmap() works.
22456 * gst/gstevent.c: (gst_event_new_newsegment):
22457 Allow newsegment events with segment_start == segment_end, as will
22458 correctly happen if you use filesrc on a zero-size file, for
22461 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
22463 * gst/gstplugin.c: (gst_plugin_load_file):
22464 Call g_module_close when we don't load the module
22466 * gst/registries/gstlibxmlregistry.c:
22467 (gst_xml_registry_get_property):
22468 Port leak fix from 0.8
22470 2005-09-07 Stefan Kost <ensonic@users.sf.net>
22472 * docs/gst/gstreamer-docs.sgml:
22473 * docs/gst/tmpl/.cvsignore:
22474 * docs/gst/tmpl/gsttrace.sgml:
22475 * docs/gst/tmpl/gsttrashstack.sgml:
22478 * gst/gstelement.h:
22480 * gst/gstmessage.c:
22481 * gst/gstmessage.h:
22484 * gst/gsttaginterface.c:
22485 * gst/gsttaginterface.h:
22486 * gst/gsttaglist.c:
22487 * gst/gsttaglist.h:
22488 * gst/gsttagsetter.c:
22489 * gst/gsttagsetter.h:
22492 * gst/gsttrashstack.c:
22493 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
22494 inlined docs for gsttrace, gsttrashstack
22496 2005-09-07 Stefan Kost <ensonic@users.sf.net>
22499 * gst/elements/gstbufferstore.h:
22500 * gst/elements/gsttypefindelement.c:
22501 * gst/elements/gsttypefindelement.h:
22503 * gst/gsttypefind.c:
22504 * gst/gsttypefind.h:
22505 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
22506 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
22507 (gst_type_find_factory_dispose),
22508 (gst_type_find_factory_unload_thyself),
22509 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
22510 (gst_type_find_factory_get_caps),
22511 (gst_type_find_factory_get_extensions),
22512 (gst_type_find_factory_call_function):
22513 * gst/gsttypefindfactory.h:
22514 * gst/registries/gstlibxmlregistry.c:
22515 * gst/registries/gstxmlregistry.c:
22516 splitted gsttypefind into gsttypefind, gsttypefindfactory
22518 2005-09-07 Andy Wingo <wingo@pobox.com>
22520 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
22521 condition whereby the pad's task function is entered before the
22522 pad_mode variable was set.
22524 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
22526 * gst/gstpad.c: (gst_pad_alloc_buffer):
22527 Catch misbehaving pad_alloc functions that don't
22528 set up caps and do it for them.
22530 2005-09-07 Stefan Kost <ensonic@users.sf.net>
22532 * check/pipelines/simple_launch_lines.c: (run_pipeline):
22533 test for pipe!=NULL
22534 * docs/gst/tmpl/.cvsignore:
22535 * docs/gst/tmpl/gstmemchunk.sgml:
22536 * docs/gst/tmpl/gstparse.sgml:
22537 * docs/gst/tmpl/gsttaglist.sgml:
22538 * docs/gst/tmpl/gsttagsetter.sgml:
22539 * docs/gst/tmpl/gsttypefind.sgml:
22540 * docs/gst/tmpl/gsttypefindfactory.sgml:
22541 * gst/gstmemchunk.c:
22544 * gst/gsttaginterface.c:
22545 * gst/gsttypefind.c:
22546 * gst/gsttypefind.h:
22549 === release 0.9.2 ===
22551 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
22556 releasing 0.9.2, "South"
22558 2005-09-05 Andy Wingo <wingo@pobox.com>
22560 * gst/registries/gstxmlregistry.h:
22561 * gst/registries/gstxmlregistry.c: Um... resurrect...
22563 * gst/registries/gstxmlregistry.h:
22564 * gst/registries/gstxmlregistry.c: and update to newer API.
22565 Incidentally they should be a bit faster now that they don't have
22568 2005-09-05 Andy Wingo <wingo@pobox.com>
22570 * gst/registries/gstxmlregistry.h:
22571 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
22572 replaced by the libxml registry a while back
22574 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
22576 * docs/gst/tmpl/gstplugin.sgml:
22577 * gst/elements/gstelements.c:
22579 * gst/gstplugin.c: (gst_plugin_register_func),
22580 (gst_plugin_desc_copy), (gst_plugin_desc_free),
22581 (gst_plugin_get_source):
22583 * gst/registries/gstlibxmlregistry.c: (load_plugin),
22584 (gst_xml_registry_save_plugin):
22585 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
22586 (gst_xml_registry_save_plugin):
22587 * tools/gst-inspect.c: (print_plugin_info):
22588 add a "source" plugin description field, to represent the source
22589 module this plugin is a part of. By default GST_PLUGIN_DEFINE
22590 will set it to PACKAGE, which is automake's idea of the name of
22591 the source project.
22593 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
22598 * docs/Makefile.am:
22599 * docs/faq/Makefile.am:
22600 * docs/gst/tmpl/gstelement.sgml:
22601 * docs/gst/tmpl/gsttypes.sgml:
22602 * docs/htmlinstall.mak:
22603 * docs/manual/Makefile.am:
22604 * docs/pwg/Makefile.am:
22605 reorganize doc build a little
22606 split out docbook and gtk-doc stuff
22607 have two separate --enable's and enable them through autogen
22608 but disable by default in configure (to be similar to other
22610 * gstreamer.spec.in:
22611 clean up docs install
22629 translation updates
22631 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
22633 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
22636 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
22637 (gst_fake_sink_change_state):
22638 Make state change function thread-safe.
22640 * gst/gstpad.c: (gst_pad_alloc_buffer):
22641 Set offset on generic buffer allocated by fallback.
22643 2005-09-03 Stefan Kost <ensonic@users.sf.net>
22645 * docs/gst/gstreamer-sections.txt:
22646 * docs/gst/tmpl/gstelement.sgml:
22648 * libs/gst/controller/gst-controller.c:
22649 (gst_controlled_property_set_interpolation_mode),
22650 (gst_controlled_property_new),
22651 (gst_controller_find_controlled_property):
22652 run the wingo-magic script against the docs
22654 2005-09-02 Stefan Kost <ensonic@users.sf.net>
22656 * docs/gst/gstreamer-docs.sgml:
22657 * docs/gst/gstreamer-sections.txt:
22658 * docs/gst/tmpl/.cvsignore:
22659 * docs/gst/tmpl/gstelementdetails.sgml:
22660 * docs/gst/tmpl/gstelementfactory.sgml:
22663 * gst/gstelementfactory.c:
22664 * gst/gstelementfactory.h:
22665 merged elementdetails docs into elementfactory docs
22668 2005-09-02 Andy Wingo <wingo@pobox.com>
22670 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
22671 consider this enum an enum and not a flags.
22673 2005-09-02 Stefan Kost <ensonic@users.sf.net>
22675 * docs/gst/gstreamer-docs.sgml:
22676 * docs/gst/tmpl/.cvsignore:
22677 * docs/gst/tmpl/gstghostpad.sgml:
22678 * docs/gst/tmpl/gstiterator.sgml:
22679 * docs/gst/tmpl/gstmacros.sgml:
22680 * docs/gst/tmpl/gstrealpad.sgml:
22681 * docs/gst/tmpl/gstregistry.sgml:
22682 * docs/gst/tmpl/gstregistrypool.sgml:
22683 * docs/gst/tmpl/gststructure.sgml:
22684 * docs/gst/tmpl/gstsystemclock.sgml:
22685 * docs/gst/tmpl/gsttrace.sgml:
22686 * gst/gstghostpad.c:
22688 * gst/gstmemchunk.c:
22689 * gst/gstmemchunk.h:
22691 * gst/gstregistry.c:
22692 * gst/gstregistrypool.c:
22693 * gst/gststructure.c:
22694 * gst/gstsystemclock.c:
22697 2005-09-02 Andy Wingo <wingo@pobox.com>
22699 * gst/gstelement.h (GstState): Renamed from GstElementState,
22700 changed to be a normal enum instead of flags.
22701 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
22702 munged to be GST_STATE_CHANGE_*.
22703 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
22704 work with the new state representation.
22705 (GstStateChange): New enumeration of possible state transitions.
22706 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
22707 (GstElementClass::change_state): Pass the GstStateChange along as
22708 an argument. Helps language bindings, so they don't have to use
22709 tricky lock-needing macros like GST_STATE_CHANGE ().
22711 * scripts/update-states (file): New script. Run it on a file to
22712 update it for state naming and API changes. Updates files in
22715 * All files updated for the new API.
22717 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
22719 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
22720 * gst/gstutils.c: (gst_util_set_value_from_string),
22721 (gst_util_set_object_arg):
22722 fix a bunch of unchecked return values
22723 * tools/gst-complete.c: (main):
22724 * gstreamer.spec.in:
22727 2005-09-01 Wim Taymans <wim@fluendo.com>
22729 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22730 (gst_base_sink_event), (gst_base_sink_do_sync),
22731 (gst_base_sink_handle_event):
22732 * gst/base/gstbasesink.h:
22733 Handle newsegments more correctly.
22738 * gst/gstevent.c: (gst_event_new_newsegment):
22739 A newsegment cannot have a start_time of -1
22741 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
22743 * win32/gstenumtypes.c:
22744 * win32/gstenumtypes.h:
22747 2005-08-31 Stefan Kost <ensonic@users.sf.net>
22749 * libs/gst/controller/gst-controller.c:
22750 (gst_controlled_property_set_interpolation_mode),
22751 (gst_controlled_property_new):
22752 fixed boolean again
22754 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
22756 * docs/faq/gst-uninstalled:
22761 * gst/gstutils.c: (gst_element_link_filtered):
22763 add gst_element_link_filtered
22765 2005-08-31 Stefan Kost <ensonic@users.sf.net>
22767 * docs/gst/gstreamer-docs.sgml:
22768 * docs/gst/gstreamer-sections.txt:
22769 * docs/gst/tmpl/.cvsignore:
22770 * docs/gst/tmpl/gsterror.sgml:
22771 * docs/gst/tmpl/gstfilter.sgml:
22772 * docs/gst/tmpl/gsturihandler.sgml:
22773 * docs/gst/tmpl/gsturitype.sgml:
22774 * docs/gst/tmpl/gstutils.sgml:
22775 * docs/gst/tmpl/gstxml.sgml:
22780 * gst/gsturitype.c:
22783 inlined more docs, fixed double id-ref
22785 2005-08-31 Wim Taymans <wim@fluendo.com>
22787 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
22788 (gst_base_transform_handle_buffer):
22789 Passthrough elements don't need the caps as they don't care.
22791 2005-08-31 Wim Taymans <wim@fluendo.com>
22793 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
22794 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
22795 Don't leak refcounts on buffers.
22797 2005-08-31 Wim Taymans <wim@fluendo.com>
22799 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
22800 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
22801 (gst_base_transform_chain), (gst_base_transform_change_state):
22802 * gst/base/gstbasetransform.h:
22803 Handle the case where we are not negotiated more gracefully.
22805 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
22807 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
22808 (gst_file_src_map_region):
22809 Set READONLY flag on mmap'ed buffers, otherwise
22810 gst_buffer_make_writable() won't work properly (#314708).
22812 2005-08-31 Wim Taymans <wim@fluendo.com>
22814 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
22815 passthrough elements can even do inplace on non writable
22816 buffers (as they don't touch them).
22818 2005-08-31 Stefan Kost <ensonic@users.sf.net>
22820 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
22821 (gst_test_mono_source_set_property),
22822 (gst_test_mono_source_class_init), (GST_START_TEST),
22823 (gst_controller_suite):
22824 more tests (hehe I have the most)
22826 describe popping messages whenusing mulltiple sources
22827 * libs/gst/controller/gst-controller.c:
22828 (gst_controlled_property_set_interpolation_mode),
22829 (gst_controlled_property_new):
22830 * libs/gst/controller/gst-controller.h:
22831 * libs/gst/controller/gst-interpolation.c:
22832 implement boolean properties
22834 2005-08-31 Wim Taymans <wim@fluendo.com>
22836 * gst/gstminiobject.c: (gst_mini_object_ref):
22837 Cannot assert that the refcount has to be positive
22838 since a disposed object can be resurrected.
22840 2005-08-31 Wim Taymans <wim@fluendo.com>
22842 * gst/gstpad.c: (gst_pad_init):
22843 Revert change, need to first fix badly behaving
22846 2005-08-30 Wim Taymans <wim@fluendo.com>
22848 * check/elements/fakesrc.c: (setup_fakesrc):
22849 * check/elements/identity.c: (setup_identity):
22850 Activate pads before using them.
22852 2005-08-30 Wim Taymans <wim@fluendo.com>
22854 * gst/base/gstadapter.c: (gst_adapter_flush):
22855 Flushing out 0 bytes is ok for this function.
22857 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22858 no newsegment gives a warning and sets the start/stop to
22861 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
22862 (gst_base_transform_set_passthrough):
22865 * gst/gstminiobject.c: (gst_mini_object_ref):
22866 Check refcount here too.
22868 * gst/gstpad.c: (gst_pad_init):
22869 Pads are initially flushing and refusing data.
22871 * gst/gstutils.c: (gst_element_link_pads_filtered):
22872 When adding a capsfilter element make sure it has the
22873 same state as the parent bin.
22875 2005-08-30 Stefan Kost <ensonic@users.sf.net>
22877 * docs/gst/tmpl/.cvsignore:
22878 * docs/gst/tmpl/gstformat.sgml:
22879 * docs/gst/tmpl/gstversion.sgml:
22883 * gst/gstversion.h.in:
22884 more docs and two more inlined
22886 2005-08-30 Wim Taymans <wim@fluendo.com>
22888 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
22889 Don't sync to clock.
22891 2005-08-30 Stefan Kost <ensonic@users.sf.net>
22893 * docs/gst/gstreamer-sections.txt:
22894 ultral33t func10ns deserve to appear in the docs actually
22895 * docs/gst/tmpl/.cvsignore:
22896 * docs/gst/tmpl/gstcompat.sgml:
22897 * docs/gst/tmpl/gstconfig.sgml:
22898 * gst/check/gstcheck.c:
22900 * gst/gstconfig.h.in:
22903 2005-08-30 Stefan Kost <ensonic@users.sf.net>
22905 * docs/gst/tmpl/.cvsignore:
22906 * docs/gst/tmpl/gstquery.sgml:
22907 * docs/gst/tmpl/gstutils.sgml:
22910 inlined and extended docs
22912 2005-08-30 Stefan Kost <ensonic@users.sf.net>
22914 * check/gst-libs/controller.c: (GST_START_TEST),
22915 (gst_controller_suite):
22917 * docs/gst/tmpl/gstutils.sgml:
22918 * docs/libs/gstreamer-libs-sections.txt:
22919 * docs/libs/tmpl/gstdataprotocol.sgml:
22921 * examples/controller/audio-example.c: (main):
22922 controller example works now
22925 * tools/gst-inspect.c: (print_element_properties_info):
22926 show param spec flags
22928 2005-08-29 Andy Wingo <wingo@pobox.com>
22930 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
22932 2005-08-28 Andy Wingo <wingo@pobox.com>
22934 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
22935 as having two arguments instead of just one. Allows superclasses
22936 to access information on subclasses -- see the terrible for() loop
22937 in gtype.c:g_type_create_instance for the reason why. All callers
22940 2005-08-27 Stefan Kost <ensonic@users.sf.net>
22942 * docs/design/part-messages.txt:
22944 * docs/gst/tmpl/.cvsignore:
22945 * docs/gst/tmpl/gstcaps.sgml:
22946 * docs/gst/tmpl/gstclock.sgml:
22952 * gst/gstmessage.c:
22953 added descriptions for bus and message
22954 inline caps and clock docs
22956 2005-08-27 Stefan Kost <ensonic@users.sf.net>
22958 * gst/gstmessage.c:
22959 * gst/gstmessage.h:
22962 2005-08-27 Stefan Kost <ensonic@users.sf.net>
22964 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
22967 2005-08-26 Andy Wingo <wingo@pobox.com>
22969 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
22970 element_set_state's return val.
22971 (test_2_elements): Add test that's been disabled for months.
22973 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
22974 can-activate-pull properties.
22976 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
22977 can-activate-pull properties. Implement is_seekable so fakesrc can
22978 operate in pull mode.
22980 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
22982 (gst_base_sink_activate, gst_base_sink_activate_pull)
22983 (gst_base_sink_activate_push): Make activation mode choosing work.
22985 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
22986 is right. Make pull mode work. Post an eos before pausing in pull
22988 (gst_base_sink_change_state): Pay attention to the core's
22989 change_state() return val.
22991 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
22992 has-getrange properties. Cleanups.
22994 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
22995 has_getrange and replace with can_activate_pull and
22998 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
22999 locking comments. Remove has_loop, has_chain and replace with
23000 can_activate_pull and can_activate_push.
23002 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
23005 * examples/Makefile.am:
23006 * examples/metadata/Makefile.am:
23007 * examples/metadata/read-metadata.c: (message_loop),
23008 (have_pad_handler), (make_pipeline), (print_tag), (main):
23009 Add metadata reading example that loops over a list of filenames,
23010 dumping any tags found.
23012 * gst/gstbus.c: (gst_bus_dispose):
23013 * gst/gstelement.c: (gst_element_dispose):
23014 Release a few potentially-held references in dispose.
23016 2005-08-26 Stefan Kost <ensonic@users.sf.net>
23018 * docs/gst/tmpl/gstminiobject.sgml:
23019 do *not* add tmpl/*.sgml files to CVS!
23021 2005-08-26 Stefan Kost <ensonic@users.sf.net>
23023 * libs/gst/bytestream/.cvsignore:
23024 * libs/gst/bytestream/Makefile.am:
23025 * libs/gst/bytestream/adapter.c:
23026 * libs/gst/bytestream/adapter.h:
23027 * libs/gst/bytestream/bytestream.c:
23028 * libs/gst/bytestream/bytestream.h:
23029 * libs/gst/bytestream/filepad.c:
23030 * libs/gst/bytestream/filepad.h:
23031 removing obsolete files
23033 2005-08-26 Stefan Kost <ensonic@users.sf.net>
23035 * docs/gst/gstreamer-docs.sgml:
23036 * docs/libs/gstreamer-libs-docs.sgml:
23037 disabed additional index entries again, as this makes docs-gen just
23038 slow and they aren't useful yet
23039 * docs/libs/gstreamer-libs-sections.txt:
23040 little -section.txt cleanup for libs
23042 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
23044 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23045 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
23046 fix up some debugging
23047 (gst_base_transform_get_unit_size),
23048 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
23049 (gst_base_transform_handle_buffer):
23050 * gst/base/gstbasetransform.h:
23051 handle and store timed NEWSEGMENT events so that subclasses that
23052 calculate time by counting samples have a segment_start time they
23053 need to add to their timestamps - see audioresample
23055 2005-08-26 Stefan Kost <ensonic@users.sf.net>
23058 removed ';' from the end of macro defs
23059 * docs/gst/gstreamer-docs.sgml:
23060 * docs/gst/gstreamer-sections.txt:
23061 * docs/gst/tmpl/.cvsignore:
23063 * gst/gstelement.c: (gst_element_class_init),
23064 (gst_element_set_state), (activate_pads),
23065 (gst_element_save_thyself):
23066 * gst/gstevent.c: (gst_event_new_newsegment):
23068 * gst/gstiterator.c:
23069 * gst/gstiterator.h:
23072 * gst/gstutils.c: (gst_pad_query_convert):
23074 fixed parameter name mismatches between source, header and docs
23075 added some more docs, resolved the last batch of unused elements in
23076 docs (now someone needs to doc them)
23078 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
23080 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
23081 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
23082 don't walk through the plugins backwards. Where is all this
23083 reversed logic coming from ?
23085 2005-08-25 Wim Taymans <wim@fluendo.com>
23087 * gst/base/gstbasetransform.c: (gst_base_transform_init),
23088 (gst_base_transform_transform_size),
23089 (gst_base_transform_configure_caps),
23090 (gst_base_transform_get_unit_size),
23091 (gst_base_transform_buffer_alloc),
23092 (gst_base_transform_change_state):
23093 * gst/base/gstbasetransform.h:
23094 Cache caps unit_size.
23095 Make sure we cannot negotiate up and downstream at the
23098 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
23100 * gst/gst.c: (init_pre), (init_post):
23101 register the installed plugin path after the env var
23102 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
23103 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
23104 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
23105 directories, so the tests can prefer uninstalled over installed
23107 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
23109 * gst/base/gstbasetransform.h:
23114 2005-08-25 Wim Taymans <wim@fluendo.com>
23116 * gst/gstbin.c: (bin_bus_handler):
23117 Be a bit more conservative about the posted message.
23119 * gst/gstbus.c: (gst_bus_post):
23120 Some cleanups, warn wrong return values.
23122 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
23124 * check/gst/gstbin.c: (GST_START_TEST):
23125 * gst/gstbin.c: (bin_bus_handler):
23126 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
23127 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
23128 (gst_message_new_warning), (gst_message_new_tag),
23129 (gst_message_new_state_changed), (gst_message_new_segment_start),
23130 (gst_message_new_segment_done), (gst_message_new_custom):
23131 * gst/gstmessage.h:
23132 * tools/gst-launch.c: (event_loop):
23133 * tools/gst-md5sum.c: (event_loop):
23134 Revert unpopular change for GST_MESSAGE_SRC to GObject.
23136 2005-08-25 Wim Taymans <wim@fluendo.com>
23138 * check/generic/states.c: (GST_START_TEST):
23139 Cleanup can be done at the end.
23141 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
23142 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
23143 (gst_task_get_state), (gst_task_start), (gst_task_pause):
23144 Oh boy.. Thanks for finding this, Thomas.
23146 2005-08-25 Stefan Kost <ensonic@users.sf.net>
23148 * docs/gst/gstreamer.types:
23149 added missing types
23151 2005-08-25 Stefan Kost <ensonic@users.sf.net>
23153 * docs/gst/gstreamer-docs.sgml:
23154 * docs/gst/gstreamer-sections.txt:
23155 * docs/gst/tmpl/.cvsignore:
23157 * gst/gstiterator.c:
23159 * gst/registries/gstxmlregistry.h:
23160 added missing classes and symbols (123 more to go)
23161 removed removed symbols from section file
23162 fixed many doc-comments
23164 2005-08-24 Wim Taymans <wim@fluendo.com>
23166 * check/generic/states.c: (GST_START_TEST):
23167 Make sure all tasks are stopped.
23169 * check/gst/gstbin.c: (GST_START_TEST):
23170 Unref after usage for proper valgrinding.
23172 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
23173 Really wait for the task to stop before destroying the
23176 * gst/gstqueue.c: (gst_queue_sink_activate_push),
23177 (gst_queue_src_activate_push):
23178 Small cleanups. Don't stop the task when we did not start
23181 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
23182 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
23183 (gst_task_get_state), (gst_task_start), (gst_task_pause),
23186 Protect the stream lock with the object lock.
23187 Disallow setting the stream lock when running.
23188 Add cleanup_all to wait for the threadpool to finish.
23189 Remove code to autoallocate a mutex if none was provided.
23190 Add _join() to wait for a task to stop.
23191 Protect the thread pool with a global lock.
23193 2005-08-24 Wim Taymans <wim@fluendo.com>
23195 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23196 (gst_base_sink_get_times), (gst_base_sink_do_sync),
23197 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
23198 * gst/base/gstbasesink.h:
23199 Handle newsegment events correctly.
23200 Drop buffers out of the segment range.
23202 2005-08-22 Andy Wingo <wingo@pobox.com>
23204 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
23205 macro, implements an interface and gstimplementsinterface for a
23208 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
23210 * check/Makefile.am:
23211 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
23212 add a test that does a bunch of state changes on elements
23213 needs some fixing for valgrind
23214 * check/states/sinks.c: (gst_object_suite):
23217 add prototype for gst_caps_is_equal_fixed
23219 * gst/gstregistrypool.c:
23222 2005-08-24 Andy Wingo <wingo@pobox.com>
23224 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
23225 convert a negative value. Doesn't make much sense. Mostly this is
23226 here to force callers to ensure -1 maps to -1.
23228 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
23230 * docs/pwg/advanced-types.xml:
23231 Well done to Michael for catching my deliberate introduction
23232 of this spelling mistake.
23233 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
23234 * gst/gstelement.h:
23235 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
23236 unlink pads before removing the element from the bin.
23238 2005-08-24 Andy Wingo <wingo@pobox.com>
23240 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
23241 the same thing as GST_DEBUG=*:4.
23242 (parse_debug_level, parse_debug_category): New helper parsers.
23244 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
23246 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
23247 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
23248 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
23249 (gst_base_transform_buffer_alloc),
23250 (gst_base_transform_handle_buffer):
23251 use gboolean return values and pointers to size so we can use the
23252 full GST_BUFFER_SIZE range (guint) for buffer sizes
23253 use GstPadDirection for transform_caps
23254 * gst/base/gstbasetransform.h:
23255 rename get_size to get_unit_size since that's what it is
23256 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
23257 use GstPadDirection for transform_caps
23258 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
23260 cleanup and debugging
23262 2005-08-24 Stefan Kost <ensonic@users.sf.net>
23264 * gst/gstelement.c: (gst_element_class_init),
23265 (gst_element_set_state), (activate_pads),
23266 (gst_element_save_thyself):
23267 * tools/gst-compprep.c: (main):
23268 * tools/gst-inspect.c: (print_element_properties_info):
23269 * tools/gst-xmlinspect.c: (print_element_properties):
23270 Fixed long standing mem-leak
23272 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
23274 * check/gst/gstbin.c: (GST_START_TEST):
23275 * gst/gstbin.c: (bin_bus_handler):
23276 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
23277 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
23278 (gst_message_new_warning), (gst_message_new_tag),
23279 (gst_message_new_state_changed), (gst_message_new_segment_start),
23280 (gst_message_new_segment_done), (gst_message_new_custom):
23281 * gst/gstmessage.h:
23282 * tools/gst-launch.c: (event_loop):
23283 * tools/gst-md5sum.c: (event_loop):
23284 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
23285 that applications can sensibly post custom messages with references
23286 to their own objects.
23288 2005-08-24 Andy Wingo <wingo@pobox.com>
23290 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
23293 2005-08-24 Wim Taymans <wim@fluendo.com>
23295 * gst/base/gstbasetransform.c: (gst_base_transform_init),
23296 (gst_base_transform_transform_caps),
23297 (gst_base_transform_transform_size),
23298 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23299 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
23300 (gst_base_transform_handle_buffer):
23301 * gst/base/gstbasetransform.h:
23302 Many fixes and new features added by Thomas. Can now also do
23303 transforms with variable sizes and a custom fixate_caps function.
23305 2005-08-24 Wim Taymans <wim@fluendo.com>
23307 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
23311 Cast to ClockTime before formatting to time.
23316 2005-08-24 Stefan Kost <ensonic@users.sf.net>
23318 * check/gst-libs/controller.c: (GST_START_TEST),
23319 (gst_controller_suite):
23320 * docs/gst/tmpl/gstcaps.sgml:
23321 * docs/gst/tmpl/gstghostpad.sgml:
23322 * docs/gst/tmpl/gstquery.sgml:
23323 * docs/gst/tmpl/gstutils.sgml:
23324 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
23325 (gst_object_sink_values), (gst_object_get_value_arrays),
23326 (gst_object_get_value_array):
23327 gracefully handle helper method calls to objects that are not beeing
23328 controlled, added test case for that
23330 2005-08-23 Wim Taymans <wim@fluendo.com>
23332 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
23333 (gst_event_new_newsegment), (gst_event_parse_newsegment),
23334 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
23335 (gst_event_parse_qos), (gst_event_new_seek),
23336 (gst_event_parse_seek):
23338 Some more debugging output and doc cleanups.
23340 * gst/gstqueue.c: (gst_queue_handle_sink_event):
23341 Fix possible deadlock.
23343 2005-08-23 Stefan Kost <ensonic@users.sf.net>
23345 * docs/gst/gstreamer-docs.sgml:
23346 * docs/gst/gstreamer-sections.txt:
23347 * docs/gst/gstreamer.types:
23348 * docs/gst/tmpl/.cvsignore:
23351 * gst/gstelement.c:
23353 added 100 symbols from gstreamer-unused.txt to the right sections
23354 fixed more broken comments
23355 added GstBus to docs
23357 2005-08-23 Stefan Kost <ensonic@users.sf.net>
23359 * docs/gst/gstreamer-sections.txt:
23360 * docs/gst/tmpl/.cvsignore:
23361 * docs/gst/tmpl/gstbin.sgml:
23362 * docs/gst/tmpl/gstbuffer.sgml:
23363 * gst/base/gstbasesrc.c:
23364 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
23367 * tools/gst-launch.1.in:
23368 inlined more doc comments, added missing comments and fixed comments
23371 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
23373 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
23377 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
23379 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
23380 * gst/gststructure.h:
23381 add a fixate function for booleans; add a FIXME that these func
23382 names should probably be gst_structure_fixate_*
23384 2005-08-23 Stefan Kost <ensonic@users.sf.net>
23386 * docs/gst/gstreamer-docs.sgml:
23387 * docs/gst/gstreamer-sections.txt:
23389 * gst/gstbin.c: (gst_bin_get_type),
23390 (gst_bin_child_proxy_get_child_by_index),
23391 (gst_bin_child_proxy_get_children_count),
23392 (gst_bin_child_proxy_init):
23393 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
23394 (gst_child_proxy_get_child_by_index),
23395 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
23396 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
23397 (gst_child_proxy_get), (gst_child_proxy_set_property),
23398 (gst_child_proxy_set_valist), (gst_child_proxy_set),
23399 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
23400 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
23401 * gst/gstchildproxy.h:
23402 * gst/parse/grammar.y:
23403 * tools/gst-inspect.c: (print_interfaces),
23404 (print_element_properties_info), (print_element_info):
23405 ported gstchildproxy over from 0.8
23406 ported gst-inspect fixes and enhancements over from 0.8
23408 2005-08-22 Wim Taymans <wim@fluendo.com>
23410 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
23411 (gst_base_transform_handle_buffer):
23412 Also call the transform function if we have ANY caps.
23414 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
23417 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
23419 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
23420 Don't pretend to handle seek events if the source is not seekable
23422 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
23424 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23425 Remove extra parameter to debug output
23427 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
23428 (gst_base_src_do_seek), (gst_base_src_activate_push):
23429 Fix seek event handling.
23431 * gst/gstpipeline.c: (gst_pipeline_change_state):
23432 * gst/gstqueue.c: (gst_queue_handle_sink_event),
23433 (gst_queue_src_activate_push):
23434 Don't start the src pad task on FLUSH_STOP if the pad
23438 2005-08-22 Wim Taymans <wim@fluendo.com>
23440 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
23441 Added check for gst_static_caps_get() refcounting.
23443 2005-08-22 Wim Taymans <wim@fluendo.com>
23445 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
23446 Make _static_caps_get() refcounting sane.
23448 * gst/gstelement.c: (gst_element_set_state):
23449 Add g_return_val_if_fail() to protect against segfaults.
23451 2005-08-22 Stefan Kost <ensonic@users.sf.net>
23453 * docs/gst/tmpl/gstevent.sgml:
23456 inlined remaining docs, added missing doc comments
23458 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
23460 * check/gst/gstbin.c: (GST_START_TEST):
23461 since we don't know when preroll is done, use refcount range
23463 * gst/check/gstcheck.h:
23464 add macro for checking refcount range
23466 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
23468 * check/Makefile.am:
23469 clean up environment for when registry gets built versus
23470 when actual tests are run; valgrind seems to not report
23471 leaks if GST_PLUGIN_PATH is set to some specific values
23472 * check/gst/gstbin.c: (GST_START_TEST):
23473 add more refcounting checks; maybe this exposes a
23475 * common/check.mak:
23476 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23477 * gst/check/gstcheck.h:
23478 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
23479 (gst_bin_change_state):
23480 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
23481 add/fix debugging/whitespace
23483 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
23485 * check/gst/gstevent.c: (event_probe), (test_event),
23487 Er, don't call gst_bin_watch_for_state_change you idiot.
23489 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
23491 * check/Makefile.am:
23492 Use CHECK_CFLAGS and CHECK_LIBS
23493 * check/gst/gstevent.c: (event_probe), (test_event),
23496 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
23497 (gst_base_src_start), (gst_base_src_stop),
23498 (gst_base_src_activate_push), (gst_base_src_activate_pull),
23499 (gst_base_src_change_state):
23500 Sprinkle gst_base_src_stop liberally around error paths to fix
23501 problems reusing a source after failed state changes.
23502 * gst/base/gsttypefindhelper.c: (helper_find_peek),
23503 (helper_find_suggest), (gst_type_find_helper):
23504 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
23506 * docs/gst/tmpl/gstevent.sgml:
23507 Migrate part of the docs from the SGML file. Wait for ensonic to
23508 tell me how I did it wrong ;)
23509 * tools/gst-typefind.c: (main):
23510 Extra robustness to state changes between files.
23512 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
23514 * check/Makefile.am:
23515 don't valgrind the controller test - it's leaking - Stefan, HELP
23516 * gst/check/gstcheck.c: (gst_check_message_error),
23517 (gst_check_chain_func), (gst_check_setup_element),
23518 (gst_check_teardown_element), (gst_check_setup_src_pad),
23519 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
23520 (gst_check_teardown_sink_pad):
23521 * gst/check/gstcheck.h:
23522 add a bunch of methods to set up elements, and src and sink pads
23523 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
23524 * check/elements/identity.c: (setup_identity), (cleanup_identity),
23527 * gst/gstmessage.c:
23529 whitespace/doc fixes
23531 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
23533 * gst/gstelement.h:
23534 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
23535 be handled by the application and not always printed as well
23537 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
23539 * check/Makefile.am:
23541 * gst/check/gstcheck.c: (gst_check_message_error):
23542 * gst/check/gstcheck.h:
23543 add a fail_unless_equals_int
23544 add fail_unless for error messages
23546 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
23548 * check/Makefile.am:
23550 * common/Makefile.am:
23551 * common/check.mak:
23553 factor out some of the common stuff so we can use it
23555 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
23557 * check/Makefile.am:
23558 * check/gst/gstiterator.c: (GST_START_TEST):
23559 * check/gst/gstsystemclock.c: (GST_START_TEST),
23560 (gst_systemclock_suite):
23561 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
23563 valgrind more tests
23565 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
23567 * check/elements/.cvsignore:
23568 * check/elements/gstfakesrc.c:
23569 rename to name of element
23570 * check/elements/identity.c: (chain_func), (event_func),
23571 (setup_identity), (cleanup_identity), (GST_START_TEST),
23572 (identity_suite), (main):
23573 add a test for identity
23574 * check/Makefile.am:
23575 * pkgconfig/Makefile.am:
23576 * pkgconfig/gstreamer-check.pc.in:
23577 * pkgconfig/gstreamer-check-uninstalled.pc.in:
23581 move the check stuff to a library that gets installed
23582 * check/gst-libs/controller.c: (GST_START_TEST):
23583 * check/gst-libs/gdp.c:
23584 * check/gst/gst.c: (GST_START_TEST):
23585 * check/gst/gstbin.c:
23586 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
23587 * check/gst/gstbus.c:
23588 * check/gst/gstcaps.c: (GST_START_TEST):
23589 * check/gst/gstelement.c:
23590 * check/gst/gstghostpad.c:
23591 * check/gst/gstiterator.c:
23592 * check/gst/gstmessage.c:
23593 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
23594 * check/gst/gstobject.c:
23595 * check/gst/gstpad.c: (GST_START_TEST):
23596 * check/gst/gststructure.c: (GST_START_TEST):
23597 * check/gst/gstsystemclock.c: (GST_START_TEST),
23598 (gst_systemclock_suite):
23599 * check/gst/gsttag.c: (gst_tag_suite):
23600 * check/gst/gstvalue.c:
23601 * check/pipelines/cleanup.c:
23602 * check/pipelines/simple_launch_lines.c:
23603 * check/states/sinks.c:
23604 change include statement
23606 * docs/gst/gstreamer-sections.txt:
23607 * docs/gst/tmpl/gstpad.sgml:
23608 document more pad stuff
23609 * gst/gstminiobject.c: (gst_mini_object_ref),
23610 (gst_mini_object_unref):
23613 2005-08-19 Stefan Kost <ensonic@users.sf.net>
23615 * docs/gst/tmpl/gst.sgml:
23617 eliminate another tmpl file, fix spelling in the long-description
23619 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
23621 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
23622 (test_event), (timediff), (gstevents_suite):
23623 Should fix build on 64-bit arch's
23625 2005-08-18 Andy Wingo <wingo@pobox.com>
23627 Make sure that when a pipeline goes to PLAYING, that data has
23628 actually hit the sink.
23630 * check/states/sinks.c (test_sink): A sink that doesn't get any
23631 data shouldn't return SUCCESS for going to either PLAYING or
23632 PAUSED. Test also the return values on the way back down.
23634 * gst/gstelement.c (gst_element_set_state): When changing the
23635 state of an element currently changing state asynchronously, go to
23636 lost-state after commiting the pending state. Makes future calls
23637 to get_state continue to return ASYNC.
23639 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
23640 ASYNC when going to PLAYING if we still don't have preroll, as can
23641 happen with live sources.
23643 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
23645 * docs/pwg/advanced-types.xml:
23646 Hack long paragraph into 2 chunks as a workaround for buggy
23647 jadetex version in sid and breezy that loops infinitely and
23650 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
23652 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
23653 (test_event), (timediff), (gstevents_suite):
23654 Provide more error margin in clock measurements to allow for
23655 g_get_current_time inaccuracies.
23657 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
23659 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
23660 (test_event), (timediff), (gstevents_suite):
23661 Fix error message output so I might be able to tell why the
23662 test works here but fails on the build farm.
23664 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
23666 * check/Makefile.am:
23667 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
23668 (test_event), (timediff), (gstevents_suite), (main):
23671 * docs/design/part-seeking.txt:
23672 Spelling correction
23674 * docs/gst/tmpl/gstevent.sgml:
23675 * docs/gst/tmpl/gstfakesrc.sgml:
23678 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23679 Treat a buffer-without-newsegment the same as a receiving
23680 a newsegment not in time format, and disable syncing to the clock
23683 * gst/gstbus.c: (gst_bus_set_sync_handler):
23684 Assert if anyone tries to replace the existing sync_handler for bus,
23685 as only the owner should be setting it.
23688 Have a fixed set of custom event enums with events identified by
23689 their structure name (as in 0.8), rather than a free-for-all
23690 allowing collisions between enum values from different plugins.
23692 * gst/gstpad.c: (gst_pad_class_init):
23695 * gst/gstqueue.c: (gst_queue_handle_sink_event):
23696 Handle out-of-band downstream events from the sending thread.
23698 2005-08-17 Andy Wingo <wingo@pobox.com>
23700 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
23701 play-timeout==0 to mean no timeout at all. In that case, don't
23702 bother with a get_state or a warning, just return directly, even
23705 * gst/base/gstbasetransform.c: Debug changes.
23708 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
23709 ensure bins post state change messages. A bit of a hack but I can't
23710 think of a way to avoid it.
23712 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
23714 2005-08-16 Andy Wingo <wingo@pobox.com>
23716 * gst/base/gstadapter.h:
23717 * gst/base/gstadapter.c (gst_adapter_take): New function, like
23718 peek() but you own the data. Not terribly efficient atm.
23720 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23722 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
23723 (gst_element_found_tags):
23725 Add two utility functions for tag handling.
23727 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23729 * docs/manual/advanced-dataaccess.xml:
23730 * docs/manual/basics-helloworld.xml:
23731 Fix docs to use _bin_add() before _link(), which fixes the examples
23732 with recent core versions (reported by Madhan Raj M
23733 <raj_madan@rediffmail.com>, #313199).
23735 2005-08-16 Wim Taymans <wim@fluendo.com>
23737 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
23738 Added subtract checks.
23740 * docs/design/part-events.txt:
23741 Some more docs about newsegment
23743 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
23746 * gst/gstcaps.c: (gst_caps_to_string):
23747 Add comments, cleanups.
23749 * gst/gstelement.c: (gst_element_save_thyself):
23752 * gst/gstvalue.c: (gst_value_collect_int_range),
23753 (gst_string_unwrap), (gst_value_union_int_int_range),
23754 (gst_value_union_int_range_int_range),
23755 (gst_value_intersect_int_int_range),
23756 (gst_value_intersect_int_range_int_range),
23757 (gst_value_intersect_double_double_range),
23758 (gst_value_intersect_double_range_double_range),
23759 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
23760 (gst_value_subtract_int_range_int),
23761 (gst_value_subtract_double_range_double),
23762 (gst_value_subtract_double_range_double_range),
23763 (gst_value_subtract_from_list), (gst_value_subtract_list),
23764 (gst_value_can_compare), (gst_value_compare_fraction):
23765 Cleanups, add comments, remove unneeded asserts.
23767 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
23769 * tools/gst-launch.c: (event_loop):
23770 don't convert NULL structures to strings
23772 2005-08-15 Stefan Kost <ensonic@users.sf.net>
23774 * docs/gst/gstreamer-sections.txt:
23775 made some defines private
23776 * docs/gst/tmpl/gstconfig.sgml:
23777 * docs/gst/tmpl/gstqueue.sgml:
23778 * docs/gst/tmpl/gsttaglist.sgml:
23779 * docs/gst/tmpl/gsttypes.sgml:
23780 * docs/gst/tmpl/gstutils.sgml:
23781 * docs/pwg/appendix-porting.xml:
23782 * gst/base/gstbasesink.h:
23783 * gst/base/gstbasesrc.c:
23784 * gst/base/gstbasesrc.h:
23785 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
23786 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
23787 * gst/gstelement.c: (gst_element_class_init):
23788 * gst/gstpad.c: (gst_pad_class_init):
23789 * gst/gstqueue.c: (gst_queue_class_init):
23790 * gst/gstxml.c: (gst_xml_class_init):
23791 documented all undocumented signal inline
23792 * libs/gst/controller/gst-controller.h:
23795 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23797 * docs/pwg/appendix-porting.xml:
23798 Document _set_link_function -> _set_setcaps_function.
23800 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
23802 * check/Makefile.am:
23803 add a .check target for running the check
23804 * check/gst-libs/controller.c: (GST_START_TEST):
23806 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
23807 complete checks for gstbuffer; would be nice if I could get the
23808 gcov stuff to work so I can see if I actually completed gstbuffer.c
23809 * check/gstcheck.h:
23810 add ASSERT_BUFFER_REFCOUNT
23812 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
23814 * docs/gst/gstreamer-sections.txt:
23815 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
23817 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
23818 spew out a warning if a tag that is already registered
23819 is re-registered, unless it is re-registered with a
23820 different type (#308438).
23822 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
23824 * docs/pwg/appendix-porting.xml:
23825 * docs/pwg/building-state.xml:
23826 Add some paragraphs about state changes in 0.9 to the PWG
23827 and the porting guide, in particular about the new meaning
23828 of GST_STATE_PAUSED and how to write state change functions
23829 with concurrent access by multiple threads in mind.
23831 2005-08-11 Stefan Kost <ensonic@users.sf.net>
23833 * docs/gst/gstreamer-docs.sgml:
23834 * docs/libs/gstreamer-libs-docs.sgml:
23835 added deprecation and since indexes
23836 * libs/gst/controller/gst-controller.c:
23837 * libs/gst/controller/gst-helper.c:
23841 2005-08-11 Wim Taymans <wim@fluendo.com>
23843 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
23844 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
23845 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
23846 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
23847 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
23848 (gst_ghost_pad_set_target):
23849 Actually implement (re)setting the target on a ghostpad
23850 as described in the docs.
23852 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
23854 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
23855 Check whether GST_DEBUG_NO_COLOR environment variable is
23856 set and disable coloured debug output if that is the case.
23858 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
23860 * gst/base/gsttypefindhelper.c: (helper_find_peek),
23861 (gst_type_find_helper):
23862 The memory returned by gst_type_find_peek() needs to
23863 stay valid until the end of a typefind function, and
23864 typefind functions may keep results from different
23865 offsets around, so we can't just unref the buffer from
23866 the previous _peek(), but have to save all buffers
23867 returned by _peek() until typefinding is done and only
23870 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
23872 * docs/gst/gstreamer-sections.txt:
23874 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
23876 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23878 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
23879 Fix a pretty good memleak.
23881 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
23883 * gst/gstiterator.h:
23884 Fix wrong include and 'make distcheck'.
23886 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23888 * gst/gstbin.c: (bin_bus_handler):
23889 Use gst_element_post_message() instead.
23891 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
23893 * gst/base/gstadapter.h:
23894 * gst/base/gstbasesink.h:
23895 * gst/base/gstbasesrc.h:
23896 * gst/base/gstbasetransform.h:
23897 * gst/base/gstcollectpads.h:
23898 * gst/base/gstpushsrc.h:
23899 * gst/gstiterator.h:
23900 Add padding to our base elements' class and instance structs and
23901 to GstIterator (you will need to rebuild all plugins and apps!)
23903 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23905 * gst/gstbin.c: (bin_bus_handler):
23906 Make default message forwarding from child->bus to bin->bus
23907 threadsafe and make it not emit warnings if the parent has no bus.
23909 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23911 * gst/gstelement.c: (activate_pads):
23912 On paused->ready, set pad->caps to NULL, as is the documented
23913 behaviour in this state change. Fixes playback of series of
23914 media files when visualization is enabled in Totem.
23916 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23918 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
23919 Allow NULL as filter-caps (which means "any").
23921 2005-08-05 Stefan Kost <ensonic@users.sf.net>
23923 * docs/libs/gstreamer-libs-sections.txt:
23924 * libs/gst/controller/gst-controller.c:
23925 * libs/gst/controller/gst-controller.h:
23926 * libs/gst/controller/gst-helper.c:
23927 adding more entries to the docs and fix small doc-bugs
23929 2005-08-05 Stefan Kost <ensonic@users.sf.net>
23931 * docs/gst/gstreamer-docs.sgml:
23932 * docs/gst/gstreamer-sections.txt:
23933 * docs/gst/gstreamer.types:
23934 * docs/gst/tmpl/gstbasesink.sgml:
23935 * docs/gst/tmpl/gstbasesrc.sgml:
23936 * docs/gst/tmpl/gstbasetransform.sgml:
23937 * docs/gst/tmpl/gstfakesrc.sgml:
23938 * gst/base/gstcollectpads.c:
23939 * gst/base/gstcollectpads.h:
23940 * libs/gst/controller/gst-controller.c:
23941 * libs/gst/controller/gst-controller.h:
23942 * libs/gst/controller/gst-helper.c:
23943 * libs/gst/controller/gst-interpolation.c:
23944 * libs/gst/controller/lib.c:
23945 added long/short desc for controller docs
23946 added collectpads base class docs
23947 added correct includes to base-class docs
23949 2005-08-05 Stefan Kost <ensonic@users.sf.net>
23951 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
23952 (gst_test_mono_source_set_property),
23953 (gst_test_mono_source_class_init), (GST_START_TEST),
23954 (gst_controller_suite):
23955 * docs/gst/gstreamer-docs.sgml:
23956 * docs/gst/gstreamer-sections.txt:
23957 * docs/gst/gstreamer.types:
23958 * docs/libs/gstreamer-libs-docs.sgml:
23959 * docs/libs/gstreamer-libs-sections.txt:
23960 * gst/base/gstadapter.c:
23961 * libs/gst/controller/gst-controller.c:
23962 (gst_controlled_property_new), (gst_controlled_property_free),
23963 (gst_controller_new_valist),
23964 (gst_controller_remove_properties_valist),
23965 (gst_controller_sink_values), (_gst_controller_finalize):
23966 * libs/gst/controller/gst-controller.h:
23967 * libs/gst/controller/gst-helper.c:
23968 (gst_object_control_properties), (gst_object_uncontrol_properties),
23969 (gst_object_get_controller), (gst_object_set_controller),
23970 (gst_object_sink_values), (gst_object_get_value_arrays),
23971 (gst_object_get_value_array):
23972 more tests (and fixes) for the controller
23973 more docs for the controller
23974 integrated companies docs for the adapter
23976 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
23978 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
23979 (GST_START_TEST), (fakesrc_suite):
23980 add tests for sizetype
23982 2005-08-04 Andy Wingo <wingo@pobox.com>
23984 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
23985 fixes buffer_alloc proxying among other things.
23987 * gst/base/gstbasetransform.c:
23988 * gst/base/gstbasetransform.h:
23989 Revert patch to gstbasetransform from 7-28 removing
23992 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
23993 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
23994 Semantics changed, should return not the size of the output buffer
23995 but the byte size of a buffer with a given caps.
23997 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
23999 (gst_base_transform_configure_caps): Don't set out_size here: (in,
24000 out) are not the pad caps until setcaps finishes.
24001 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
24002 not-in-place case as well. Deal with changing from in-place to
24003 not-in-place within calling pad_alloc_buffer. Still a bit
24004 concerned about the overhead here...
24006 2005-08-03 Andy Wingo <wingo@pobox.com>
24008 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
24009 fixating is an error.
24011 2005-08-04 Edward Hervey <edward@fluendo.com>
24013 * gst/base/gstadapter.h:
24014 Added gst_adapter_get_type() to the header
24016 2005-08-03 Stefan Kost <ensonic@users.sf.net>
24018 * check/Makefile.am:
24019 * check/gst-libs/controller.c:
24020 * libs/gst/controller/gst-controller.c:
24021 (gst_controller_new_valist):
24022 added check test suite for the controller
24023 * gst/base/gstpushsrc.c:
24026 2005-08-03 Stefan Kost <ensonic@users.sf.net>
24028 * docs/gst/Makefile.am:
24029 * docs/gst/gstreamer-docs.sgml:
24030 * docs/gst/gstreamer-sections.txt:
24031 * docs/gst/gstreamer.types:
24032 * docs/gst/tmpl/gstfakesrc.sgml:
24034 * gst/base/gstbasesink.c:
24035 * gst/base/gstbasesink.h:
24036 * gst/base/gstbasesrc.c:
24037 * gst/base/gstbasesrc.h:
24038 * gst/base/gstbasetransform.c:
24039 * gst/base/gstpushsrc.c:
24040 * gst/base/gstpushsrc.h:
24041 add short/long description docs to base classes
24042 add pushsrc to the docs
24043 remove consolidated doc fragments
24045 2005-08-03 Stefan Kost <ensonic@users.sf.net>
24048 * docs/libs/Makefile.am:
24049 * docs/libs/gstreamer-libs-docs.sgml:
24050 * docs/libs/gstreamer-libs-sections.txt:
24051 * docs/libs/gstreamer-libs.types:
24052 * examples/Makefile.am:
24053 * examples/controller/.cvsignore:
24054 * examples/controller/Makefile.am:
24055 * examples/controller/audio-example.c: (main):
24056 * libs/gst/Makefile.am:
24057 * libs/gst/controller/.cvsignore:
24058 * libs/gst/controller/Makefile.am:
24059 * libs/gst/controller/gst-controller.c:
24060 (on_object_controlled_property_changed), (gst_timed_value_compare),
24061 (gst_timed_value_find),
24062 (gst_controlled_property_set_interpolation_mode),
24063 (gst_controlled_property_new), (gst_controlled_property_free),
24064 (gst_controller_find_controlled_property),
24065 (gst_controller_new_valist), (gst_controller_new),
24066 (gst_controller_remove_properties_valist),
24067 (gst_controller_remove_properties), (gst_controller_set),
24068 (gst_controller_set_from_list), (gst_controller_unset),
24069 (gst_controller_get), (gst_controller_get_all),
24070 (gst_controller_sink_values), (gst_controller_get_value_arrays),
24071 (gst_controller_get_value_array),
24072 (gst_controller_set_interpolation_mode),
24073 (_gst_controller_finalize), (_gst_controller_init),
24074 (_gst_controller_class_init), (gst_controller_get_type):
24075 * libs/gst/controller/gst-controller.h:
24076 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
24077 (g_object_uncontrol_properties), (g_object_get_controller),
24078 (g_object_set_controller), (g_object_sink_values),
24079 (g_object_get_value_arrays), (g_object_get_value_array):
24080 * libs/gst/controller/gst-interpolation.c:
24081 (gst_controlled_property_find_timed_value_node),
24082 (interpolate_none_get), (interpolate_trigger_get),
24083 (interpolate_trigger_get_value_array):
24084 * libs/gst/controller/lib.c: (gst_controller_init):
24085 * pkgconfig/Makefile.am:
24086 * pkgconfig/gstreamer-control-uninstalled.pc.in:
24087 * pkgconfig/gstreamer-control.pc.in:
24088 * testsuite/Makefile.am:
24089 * testsuite/controller/.cvsignore:
24090 * testsuite/controller/Makefile.am:
24091 * testsuite/controller/interpolator.c: (main):
24092 added controller code
24093 removed dparam pc files
24095 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
24096 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
24097 (gst_collectpads_stop):
24098 Broadcast the condition when shutting down, to make sure we wake all
24099 threads up. Shut down pads on finalize, for safety.
24101 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
24102 * gst/base/gstbasetransform.c: (gst_base_transform_init),
24103 (gst_base_transform_handle_buffer),
24104 (gst_base_transform_change_state):
24105 Handle PAUSED->READY->PAUSED transition after negotiation
24107 * gst/gstmessage.c: (gst_message_init):
24108 Extra piece of debug for new messages.
24110 2005-08-01 Stefan Kost <ensonic@users.sf.net>
24113 * docs/gst/tmpl/gstbasesrc.sgml:
24114 * docs/gst/tmpl/gstelement.sgml:
24115 * docs/gst/tmpl/gstevent.sgml:
24116 * docs/gst/tmpl/gstfakesrc.sgml:
24117 * docs/gst/tmpl/gstformat.sgml:
24118 * docs/gst/tmpl/gstghostpad.sgml:
24119 * docs/gst/tmpl/gstpad.sgml:
24120 * docs/gst/tmpl/gstquery.sgml:
24121 * docs/gst/tmpl/gststructure.sgml:
24122 * docs/gst/tmpl/gsttaglist.sgml:
24123 * docs/gst/tmpl/gstvalue.sgml:
24124 * docs/libs/gstreamer-libs-docs.sgml:
24125 * docs/libs/gstreamer-libs-sections.txt:
24126 * docs/libs/gstreamer-libs.types:
24127 * libs/gst/Makefile.am:
24128 * libs/gst/control/.cvsignore:
24129 * libs/gst/control/Makefile.am:
24130 * libs/gst/control/control.c:
24131 * libs/gst/control/control.h:
24132 * libs/gst/control/dparam.c:
24133 * libs/gst/control/dparam.h:
24134 * libs/gst/control/dparam_smooth.c:
24135 * libs/gst/control/dparam_smooth.h:
24136 * libs/gst/control/dparamcommon.h:
24137 * libs/gst/control/dparammanager.c:
24138 * libs/gst/control/dparammanager.h:
24139 * libs/gst/control/dplinearinterp.c:
24140 * libs/gst/control/dplinearinterp.h:
24141 * libs/gst/control/unitconvert.c:
24142 * libs/gst/control/unitconvert.h:
24143 * testsuite/Makefile.am:
24144 * testsuite/dynparams/.cvsignore:
24145 * testsuite/dynparams/Makefile.am:
24146 * testsuite/dynparams/dparamstest.c:
24147 * tools/Makefile.am:
24148 * tools/gst-inspect.c: (print_element_info), (main):
24149 * tools/gst-xmlinspect.c: (print_element_info), (main):
24150 deactivate and remove dparams (libgstcontrol)
24152 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
24154 * gst/elements/gsttypefindelement.c:
24155 (gst_type_find_element_have_type), (gst_type_find_element_init),
24156 (stop_typefinding), (gst_type_find_element_handle_event),
24157 (gst_type_find_element_chain), (gst_type_find_element_getrange):
24158 * gst/elements/gsttypefindelement.h:
24159 Set caps on all outgoing buffers, not just the first one.
24161 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
24163 * gst/elements/gsttypefindelement.c:
24164 (gst_type_find_element_have_type),
24165 (gst_type_find_element_check_set_buffer_caps),
24166 (gst_type_find_element_init), (stop_typefinding),
24167 (gst_type_find_element_handle_event),
24168 (gst_type_find_element_chain), (gst_type_find_element_getrange):
24169 * gst/elements/gsttypefindelement.h:
24170 Set caps on first outgoing buffer when we've found the type.
24172 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
24174 * docs/gst/gstreamer-docs.sgml:
24175 * docs/gst/gstreamer-sections.txt:
24176 * docs/gst/tmpl/gstscheduler.sgml:
24177 * docs/gst/tmpl/gstschedulerfactory.sgml:
24178 Remove some old cruft from docs.
24180 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
24183 Fix inline docs for GstPadLinkReturn.
24185 * gst/gststructure.c: (gst_structure_has_name):
24186 * gst/gststructure.h:
24187 * docs/gst/gstreamer-sections.txt:
24188 New API: gst_structure_has_name().
24190 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
24193 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
24194 and _LARGEFILE_SOURCE in config.h as required. Do not
24195 export those flags in our .pc files any longer (#142209).
24197 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
24199 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
24200 (gst_file_sink_do_seek), (gst_file_sink_event),
24201 (gst_file_sink_get_current_offset), (gst_file_sink_render):
24202 Redo seek/tell calls with large file support in mind; add some
24203 debugging messages; add log message that tells us when large
24204 file support is unavailable or not enabled for some reason.
24206 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
24207 Add log message that tells us when large file support
24208 is unavailable or not enabled for some reason.
24210 2005-07-29 Wim Taymans <wim@fluendo.com>
24212 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
24213 Added test for removing an element with ghostpad from a bin.
24214 Fixed test as current implementation does the right thing.
24216 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
24217 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
24218 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
24219 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
24220 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
24221 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
24222 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
24223 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
24224 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
24225 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
24226 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
24227 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
24228 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
24229 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
24230 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
24231 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
24232 * gst/gstghostpad.h:
24233 Clean up ghostpads, remove properties for internal stuff.
24236 Prepare for switching targets, not all use cases work yet.
24238 2005-07-29 Wim Taymans <wim@fluendo.com>
24240 * docs/design/part-gstghostpad.txt:
24243 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
24244 (gst_bin_remove_func):
24245 Unlinking pads while holding the bin LOCK is not a good
24248 * gst/gstpad.c: (gst_pad_class_init),
24249 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
24250 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
24251 No prob setting template after creating the pad.
24253 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
24255 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
24256 (gst_bus_peek), (gst_bus_source_dispatch),
24257 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
24258 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
24259 gst_bus_poll may be called from other threads. Handle
24260 this nicely by not making poll_data disappear off the
24261 stack once gst_bus_poll returns.
24262 gst_bus_peek now increments the refcount on the returned
24265 2005-07-29 Wim Taymans <wim@fluendo.com>
24267 * docs/design/part-gstghostpad.txt:
24268 Overview of current GhostPad datastructures and use
24269 cases for changing the target.
24271 2005-07-28 Wim Taymans <wim@fluendo.com>
24273 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24274 Added checks for hierarchy consistency whan adding linked
24277 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
24278 Added check to test element scheduling without bin/pipeline.
24280 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
24281 First add elements to bin, then link.
24283 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
24284 (gst_bin_remove_func):
24285 Unlink pads from elements added/removed from bin to maintain
24286 hierarchy consistency.
24288 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24290 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
24291 (gst_base_transform_handle_buffer):
24292 * gst/base/gstbasetransform.h:
24293 Remove broken delay_configure (fixes renegotiation of software
24294 scaling pipelines); remove some leftover printf()s.
24296 2005-07-28 Wim Taymans <wim@fluendo.com>
24298 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
24299 Added some more tests for wrong hierarchy
24301 * docs/design/part-overview.txt:
24304 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
24307 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
24308 (gst_element_dispose):
24309 Some more cleanups.
24311 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
24312 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
24313 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
24314 (gst_pad_set_caps), (gst_pad_send_event):
24315 Check for correct hierarchy when linking pads. Moving to
24316 strict requirement for ghostpads when linking elements in
24320 Clean ups. Added WRONG_HIERARCHY return value.
24322 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24324 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
24325 Better debug if no transform is possible.
24327 2005-07-27 Wim Taymans <wim@fluendo.com>
24329 * docs/random/wtay/network-transp:
24330 Some old doc I had.
24332 2005-07-27 Wim Taymans <wim@fluendo.com>
24334 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
24335 (gst_dp_event_from_packet):
24336 Fix serialization of seek events.
24338 2005-07-27 Wim Taymans <wim@fluendo.com>
24340 * check/gst-libs/gdp.c: (GST_START_TEST):
24341 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
24342 Fix compilation and fix event serialization.
24344 2005-07-27 Wim Taymans <wim@fluendo.com>
24347 * docs/design/part-TODO.txt:
24348 * docs/design/part-events.txt:
24351 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24352 (gst_base_sink_event), (gst_base_sink_do_sync),
24353 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
24354 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24355 (gst_base_src_do_seek), (gst_base_src_event_handler),
24356 (gst_base_src_loop):
24357 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24358 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
24359 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
24360 (gst_base_transform_event), (gst_base_transform_handle_buffer),
24361 (gst_base_transform_set_passthrough),
24362 (gst_base_transform_is_passthrough):
24363 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
24364 * gst/elements/gstfilesink.c: (gst_file_sink_event):
24370 * gst/gstelement.c: (gst_element_seek):
24371 * gst/gstelement.h:
24372 Update gst_element_seek.
24374 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
24375 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
24376 (gst_event_new_flush_start), (gst_event_new_flush_stop),
24377 (gst_event_new_eos), (gst_event_new_newsegment),
24378 (gst_event_parse_newsegment), (gst_event_new_tag),
24379 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
24380 (gst_event_parse_qos), (gst_event_new_seek),
24381 (gst_event_parse_seek), (gst_event_new_navigation):
24383 Make GstEvent use GstStructure. Add parsing code, make sure the
24384 API is sufficiently generic.
24385 Mark possible directions of events and serialization.
24387 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
24388 (_gst_message_copy), (gst_message_new_segment_start),
24389 (gst_message_new_segment_done), (gst_message_new_custom),
24390 (gst_message_parse_segment_start),
24391 (gst_message_parse_segment_done):
24394 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
24395 (gst_pad_set_caps), (gst_pad_send_event):
24396 Update for new events.
24397 Catch events sent in wrong directions.
24399 * gst/gstqueue.c: (gst_queue_link_src),
24400 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
24401 (gst_queue_handle_src_query):
24406 Remove event code from this file.
24408 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
24409 (gst_dp_event_from_packet):
24412 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24414 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
24415 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
24416 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
24417 Make debugging actually useful.
24419 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24421 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
24422 (gst_pad_fixate_caps):
24423 Implement default fixation once again, so that gst_pad_fixate()
24424 actually does anything at all. This probably needs to be some
24425 sort of a last resort, and use profile-based fixation first, but
24426 since that doesn't exist yet, this is the best we have. Fixes
24427 visualization in Totem.
24429 2005-07-22 Wim Taymans <wim@fluendo.com>
24431 * docs/design/part-events.txt:
24434 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24435 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
24436 (gst_base_sink_activate_pull):
24437 Some more comments.
24439 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
24440 (gst_fake_src_create):
24441 Fix handoff marshall.
24443 * gst/elements/gstidentity.c: (gst_identity_class_init),
24444 (gst_identity_transform_ip):
24445 We're a real inplace element.
24447 * gst/gstbus.c: (gst_bus_post):
24448 Added some comments.
24450 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
24451 * tests/muxing/case1.c: (main):
24452 * tests/sched/dynamic-pipeline.c: (main):
24453 * tests/sched/interrupt1.c: (main):
24454 * tests/sched/interrupt2.c: (main):
24455 * tests/sched/interrupt3.c: (main):
24456 * tests/sched/runxml.c: (main):
24457 * tests/sched/sched-stress.c: (main):
24458 * tests/seeking/seeking1.c: (event_received), (main):
24459 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
24461 * tests/threadstate/threadstate3.c: (main):
24462 * tests/threadstate/threadstate4.c: (main):
24463 * tests/threadstate/threadstate5.c: (main):
24466 2005-07-21 Wim Taymans <wim@fluendo.com>
24468 * docs/design/part-seeking.txt:
24469 Some small additions.
24471 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24472 (gst_base_sink_get_times), (gst_base_sink_do_sync),
24473 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
24474 * gst/base/gstbasesink.h:
24475 discont values are gint64, handle the math correctly.
24477 * gst/base/gstbasesrc.c: (gst_base_src_loop):
24478 Make the basesrc report error if the source pad is not linked.
24480 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
24481 (gst_queue_loop), (gst_queue_handle_src_query),
24482 (gst_queue_src_activate_push):
24483 Make queue collect data even if the srcpad is not linked.
24484 Start pushing out data as soon as it is linked.
24486 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
24488 Added gst_flow_get_name() to ease error reporting.
24490 2005-07-20 Wim Taymans <wim@fluendo.com>
24492 * gst/gstmessage.c: (gst_message_new_segment_start),
24493 (gst_message_new_segment_done), (gst_message_parse_segment_start),
24494 (gst_message_parse_segment_done):
24495 * gst/gstmessage.h:
24496 Added a bunch of messages for advanced seeking.
24498 * gst/parse/grammar.y:
24499 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
24500 (gst_dpman_state_changed):
24501 Fix some new-pad -> pad-added signals
24503 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24505 * docs/manual/appendix-porting.xml:
24506 * docs/pwg/appendix-porting.xml:
24507 Document new-pad/state-change signal renames and the FixedList
24510 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24512 * docs/manual/advanced-autoplugging.xml:
24513 * docs/manual/basics-helloworld.xml:
24514 * docs/manual/basics-pads.xml:
24515 * docs/random/ds/0.9-suggested-changes:
24516 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
24517 * gst/gstelement.h:
24521 * gst/gststructure.c: (gst_structure_value_get_generic_type),
24522 (gst_structure_parse_array), (gst_structure_parse_value):
24523 * gst/gstvalue.c: (gst_type_is_fixed),
24524 (gst_value_list_prepend_value), (gst_value_list_append_value),
24525 (gst_value_list_get_size), (gst_value_list_get_value),
24526 (gst_value_transform_array_string), (gst_value_serialize_array),
24527 (gst_value_deserialize_array), (gst_value_intersect_array),
24528 (gst_value_is_fixed), (_gst_value_initialize):
24530 GstElement::new-pad -> pad-added, GstElement::state-change ->
24531 state-changed, GstValueFixedList -> GstValueArray, add format and
24532 flags as their own arguments in gst_element_seek() (should improve
24533 "bindeability"), remove function generators since they don't work
24534 under a whole bunch of compilers (they were deprecated already
24537 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24539 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
24540 (_gst_debug_register_funcptr):
24542 Fix illegal cast on some platforms (#309253).
24544 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24546 * gst/gstmessage.c: (gst_message_new_custom):
24547 * gst/gstmessage.h:
24548 Add _new_custom, make _new_application a macro to _new_custom.
24550 2005-07-20 Wim Taymans <wim@fluendo.com>
24552 * gst/base/gstbasesrc.c: (gst_base_src_init),
24553 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
24554 * gst/base/gstbasesrc.h:
24555 Add a gboolean to decide when to push out a discont.
24557 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
24558 (gst_queue_loop), (gst_queue_handle_src_query),
24559 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
24560 (gst_queue_set_property), (gst_queue_get_property):
24563 * tests/threadstate/threadstate1.c: (main):
24564 Make a thread test compile and run... very silly..
24567 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24569 * docs/manual/appendix-porting.xml:
24570 Mention removal of libgstgconf-0.9.la and existence of gconf
24573 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24575 * docs/pwg/advanced-clock.xml:
24576 * docs/pwg/appendix-porting.xml:
24577 * docs/pwg/intro-preface.xml:
24578 * docs/pwg/other-base.xml:
24579 * docs/pwg/other-manager.xml:
24580 * docs/pwg/other-nton.xml:
24581 * docs/pwg/other-ntoone.xml:
24582 * docs/pwg/other-oneton.xml:
24583 * docs/pwg/pwg.xml:
24584 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
24585 demuxer), remove n-to-n (was never written), fix some code examples
24586 and links and update the porting section to include all this.
24588 2005-07-19 Wim Taymans <wim@fluendo.com>
24590 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
24591 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
24592 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
24593 (gst_queue_src_activate_push), (gst_queue_change_state),
24594 (gst_queue_get_property):
24596 Propagate GstFlowReturn more intelligently upstream and output
24597 an ERROR/EOS when streaming stopped due to fatal error.
24599 2005-07-19 Wim Taymans <wim@fluendo.com>
24601 * tools/gst-launch.c: (check_intr), (event_loop), (main):
24602 Don't block forever for the state change to complete, the
24603 pipeline already did with a sensible timeout.
24605 2005-07-19 Wim Taymans <wim@fluendo.com>
24607 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
24608 Make sure we never call the create function is we
24611 2005-07-19 Andy Wingo <wingo@pobox.com>
24613 * gst/parse/parse.l: Attempt to solve bug #172815.
24615 2005-07-19 Wim Taymans <wim@fluendo.com>
24617 * docs/design/part-clocks.txt:
24618 * docs/design/part-events.txt:
24619 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
24620 Small docs updates.
24621 Only update the seeking values when we are not
24624 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
24626 * gst/base/gstbasesrc.c: (gst_base_src_loop):
24627 Oops, ignore the result of gst_pad_push_event here.
24629 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
24631 * gst/base/gstbasesrc.c: (gst_base_src_loop),
24632 (gst_base_src_activate_push):
24633 Send discont event from the loop function, as pads
24634 aren't activated yet in the activate_push handler.
24636 * gst/gstbin.c: (bin_bus_handler):
24637 Don't leak element name.
24639 2005-07-18 Andy Wingo <wingo@pobox.com>
24641 * configure.ac: Use AS_LIBTOOL_TAGS.
24643 2005-07-18 Wim Taymans <wim@fluendo.com>
24645 * docs/gst/gstreamer.types:
24646 Remove deleted types.
24648 2005-07-18 Wim Taymans <wim@fluendo.com>
24650 * check/elements/gstfakesrc.c: (GST_START_TEST):
24653 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
24654 (init_popt_callback):
24656 * gst/gst_private.h:
24657 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
24658 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
24661 * gst/gstconfig.h.in:
24662 * gst/gstelement.c: (gst_element_class_init),
24663 (gst_element_set_base_time), (gst_element_get_base_time),
24664 (iterator_fold_with_resync), (gst_element_change_state),
24665 (gst_element_dispose), (gst_element_get_bus):
24666 * gst/gstelement.h:
24667 * gst/gstelementfactory.h:
24668 * gst/gsterror.c: (_gst_core_errors_init):
24671 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
24673 * gst/gstinfo.c: (_gst_debug_init):
24674 * gst/gstmessage.c: (_gst_message_copy):
24675 * gst/gstmessage.h:
24676 * gst/gstminiobject.h:
24679 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
24680 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
24683 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
24684 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
24685 (gst_pipeline_get_last_stream_time):
24686 * gst/gstpipeline.h:
24687 * gst/gstpluginfeature.h:
24689 * gst/gstscheduler.c:
24690 * gst/gstscheduler.h:
24691 * gst/gststructure.h:
24692 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
24693 (gst_task_finalize), (gst_task_func), (gst_task_create),
24694 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
24695 (gst_task_stop), (gst_task_pause):
24697 * gst/gsttypefind.h:
24699 * gst/registries/gstlibxmlregistry.c: (load_feature),
24700 (gst_xml_registry_load), (gst_xml_registry_save_feature):
24701 * gst/registries/gstxmlregistry.c:
24702 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
24703 * gst/schedulers/threadscheduler.c:
24704 * libs/gst/control/dparammanager.h:
24705 * tools/gst-inspect.c: (print_element_list),
24706 (print_plugin_features), (print_element_features):
24707 * tools/gst-xmlinspect.c: (print_element_list),
24708 (print_plugin_info), (main):
24709 Removed plugable schedulers.
24710 Removed Scheduler/Manager from elements.
24711 Removed gsttypes.h, rearranged includes.
24712 Removed dependency pad<->element, element<>pipeline, and
24713 various others, fix includes.
24714 implement gst_pad_get_parent() with gst_object_get_parent()
24715 Make GstTask sefcontained.
24716 Fix _get_state() on GstBin, it did not return ASYNC with a 0
24718 Fix endless loop in iterator_fold_with_resync.
24721 2005-07-18 Wim Taymans <wim@fluendo.com>
24727 2005-07-18 Wim Taymans <wim@fluendo.com>
24730 No more cothreads.h
24732 2005-07-18 Wim Taymans <wim@fluendo.com>
24736 Let's remove these.
24738 2005-07-18 Wim Taymans <wim@fluendo.com>
24740 * docs/design/part-dynamic.txt:
24741 * docs/design/part-events.txt:
24742 * docs/design/part-seeking.txt:
24743 Some more docs in the works.
24745 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24746 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
24747 (gst_base_transform_setcaps), (gst_base_transform_get_size),
24748 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
24749 (gst_base_transform_handle_buffer),
24750 (gst_base_transform_sink_activate_push),
24751 (gst_base_transform_src_activate_pull),
24752 (gst_base_transform_set_passthrough),
24753 (gst_base_transform_is_passthrough):
24756 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
24759 * gst/gstevent.c: (gst_event_finalize):
24762 * gst/gstutils.c: (gst_element_unlink),
24763 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
24764 (gst_pad_proxy_setcaps):
24766 Add _get_parent_element() to get a pads parent as an element.
24768 2005-07-18 Wim Taymans <wim@fluendo.com>
24770 * check/gst/gstbin.c: (GST_START_TEST):
24773 2005-07-18 Wim Taymans <wim@fluendo.com>
24775 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
24776 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
24777 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
24778 (gst_base_sink_event), (gst_base_sink_do_sync),
24779 (gst_base_sink_chain), (gst_base_sink_loop),
24780 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
24781 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
24783 Fix logic for returning ASYNC when not prerolled.
24785 2005-07-18 Wim Taymans <wim@fluendo.com>
24787 * gst/gstqueue.c: (gst_queue_handle_sink_event):
24788 Fix nasty refcount bug.
24790 2005-07-16 Philippe Khalaf <burger@speedy.org>
24792 * gst/elements/gstfdsrc.c:
24793 * gst/elements/gstfdsrc.h:
24794 * gst/elements/gstelements.c:
24795 * gst/elements/Makefile.am:
24796 Ported fdsrc to 0.9.
24798 2005-07-16 Wim Taymans <wim@fluendo.com>
24800 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24801 (gst_base_sink_do_sync):
24804 2005-07-16 Wim Taymans <wim@fluendo.com>
24806 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24807 (gst_base_sink_event), (gst_base_sink_get_times),
24808 (gst_base_sink_do_sync), (gst_base_sink_change_state):
24809 * gst/base/gstbasesink.h:
24810 Store and use discont values when syncing buffers as described
24813 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24814 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
24815 (gst_base_src_activate_push):
24816 Push discont event when starting.
24818 * gst/elements/gstidentity.c: (gst_identity_transform):
24821 * gst/gstbin.c: (gst_bin_change_state):
24822 Small cleanups in base_time distribution.
24824 * gst/gstelement.c: (gst_element_set_base_time),
24825 (gst_element_get_base_time), (gst_element_change_state):
24826 * gst/gstelement.h:
24827 Added methods for the base_time of the element.
24830 * gst/gstpipeline.c: (gst_pipeline_send_event),
24831 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
24832 (gst_pipeline_get_last_stream_time):
24833 * gst/gstpipeline.h:
24835 Handle seeking as described in design doc, remove stream_time
24837 Cleanups clock and stream_time selection code. Added accessors
24838 for the stream_time.
24841 2005-07-16 Andy Wingo <wingo@pobox.com>
24843 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
24846 2005-07-16 Wim Taymans <wim@fluendo.com>
24848 * check/gst/gstbin.c: (GST_START_TEST):
24849 Make elements silent as the deep_notify refs the
24850 parent, which might make the test fail.
24852 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
24853 Don't hold the lock for too long.
24855 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
24857 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
24858 Don't unref the caps we passed to gst_caps_make_writable() after
24859 passing them. gst_caps_make_writable() will do that for us.
24861 2005-07-15 Andy Wingo <wingo@pobox.com>
24863 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
24866 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
24867 own marshalling function for the handoff signal. Properly type the
24868 buffer as a buffer. Fixes some warnings. Should do a more general
24870 (gst_identity_class_init): Plug into the right marshaller.
24872 2005-07-15 Wim Taymans <wim@fluendo.com>
24874 * docs/design/part-TODO.txt:
24875 * docs/design/part-clocks.txt:
24876 * docs/design/part-element-sink.txt:
24877 * docs/design/part-events.txt:
24878 * docs/design/part-gstpipeline.txt:
24879 Updated docs, mostly DISCONT related.
24881 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
24883 * docs/pwg/building-pads.xml:
24884 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
24886 2005-07-15 Andy Wingo <wingo@pobox.com>
24888 * tools/gst-typefind.c: Update, add copyright block.
24890 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
24891 Normalize and truncate caps before fixation.
24894 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
24895 discards all but the first structure from its argument.
24897 2005-07-15 Wim Taymans <wim@fluendo.com>
24899 * gst/base/gstbasetransform.c: (gst_base_transform_init),
24900 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
24901 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
24902 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
24903 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
24904 (gst_base_transform_chain), (gst_base_transform_change_state),
24905 (gst_base_transform_set_passthrough),
24906 (gst_base_transform_is_passthrough):
24907 * gst/base/gstbasetransform.h:
24908 Make passthrough work using the bufferpools.
24909 Changed API a bit, subclasses have to write into a buffer
24910 provided by the base class.
24911 More debug info in nego functions.
24913 * gst/elements/gstidentity.c: (gst_identity_init),
24914 (gst_identity_transform):
24915 Port to new base class.
24917 2005-07-15 Wim Taymans <wim@fluendo.com>
24919 * gst/gstmessage.c: (gst_message_new_state_changed):
24920 * tools/gst-launch.c: (event_loop), (main):
24921 Totally dump messages in -launch with the -m option.
24922 Fix message name for State messages,
24924 2005-07-14 Wim Taymans <wim@fluendo.com>
24926 * gst/base/gstbasesrc.c: (gst_base_src_loop):
24927 Post error messages on errors.
24929 2005-07-14 Wim Taymans <wim@fluendo.com>
24931 * gst/gstcaps.c: (gst_caps_do_simplify):
24935 Define error for stream stopped.
24937 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
24938 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
24939 Do proper return values.
24941 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
24942 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
24943 (gst_pad_get_range):
24944 Better return values.
24947 Reorganise return values, add macro to check for fatal errors.
24949 * gst/gstqueue.c: (gst_queue_chain):
24950 Return proper GstFlowReturn values,
24952 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
24954 * docs/gst/gstreamer-sections.txt:
24955 * docs/gst/gstreamer.types:
24956 * docs/gst/tmpl/gst.sgml:
24957 * docs/gst/tmpl/gstbasesink.sgml:
24958 * docs/gst/tmpl/gstbasesrc.sgml:
24959 * docs/gst/tmpl/gstbasetransform.sgml:
24960 * docs/gst/tmpl/gstbin.sgml:
24961 * docs/gst/tmpl/gstbuffer.sgml:
24962 * docs/gst/tmpl/gstcaps.sgml:
24963 * docs/gst/tmpl/gstclock.sgml:
24964 * docs/gst/tmpl/gstcompat.sgml:
24965 * docs/gst/tmpl/gstconfig.sgml:
24966 * docs/gst/tmpl/gstelement.sgml:
24967 * docs/gst/tmpl/gstelementdetails.sgml:
24968 * docs/gst/tmpl/gstelementfactory.sgml:
24969 * docs/gst/tmpl/gstenumtypes.sgml:
24970 * docs/gst/tmpl/gsterror.sgml:
24971 * docs/gst/tmpl/gstevent.sgml:
24972 * docs/gst/tmpl/gstfakesink.sgml:
24973 * docs/gst/tmpl/gstfakesrc.sgml:
24974 * docs/gst/tmpl/gstfilesink.sgml:
24975 * docs/gst/tmpl/gstfilesrc.sgml:
24976 * docs/gst/tmpl/gstfilter.sgml:
24977 * docs/gst/tmpl/gstformat.sgml:
24978 * docs/gst/tmpl/gstghostpad.sgml:
24979 * docs/gst/tmpl/gstimplementsinterface.sgml:
24980 * docs/gst/tmpl/gstindex.sgml:
24981 * docs/gst/tmpl/gstindexfactory.sgml:
24982 * docs/gst/tmpl/gstinfo.sgml:
24983 * docs/gst/tmpl/gstiterator.sgml:
24984 * docs/gst/tmpl/gstmacros.sgml:
24985 * docs/gst/tmpl/gstmemchunk.sgml:
24986 * docs/gst/tmpl/gstminiobject.sgml:
24987 * docs/gst/tmpl/gstobject.sgml:
24988 * docs/gst/tmpl/gstpad.sgml:
24989 * docs/gst/tmpl/gstpadtemplate.sgml:
24990 * docs/gst/tmpl/gstparse.sgml:
24991 * docs/gst/tmpl/gstpipeline.sgml:
24992 * docs/gst/tmpl/gstplugin.sgml:
24993 * docs/gst/tmpl/gstpluginfeature.sgml:
24994 * docs/gst/tmpl/gstquery.sgml:
24995 * docs/gst/tmpl/gstqueue.sgml:
24996 * docs/gst/tmpl/gstregistry.sgml:
24997 * docs/gst/tmpl/gstregistrypool.sgml:
24998 * docs/gst/tmpl/gstscheduler.sgml:
24999 * docs/gst/tmpl/gstschedulerfactory.sgml:
25000 * docs/gst/tmpl/gststructure.sgml:
25001 * docs/gst/tmpl/gstsystemclock.sgml:
25002 * docs/gst/tmpl/gsttaglist.sgml:
25003 * docs/gst/tmpl/gsttagsetter.sgml:
25004 * docs/gst/tmpl/gsttrace.sgml:
25005 * docs/gst/tmpl/gsttrashstack.sgml:
25006 * docs/gst/tmpl/gsttypefind.sgml:
25007 * docs/gst/tmpl/gsttypefindfactory.sgml:
25008 * docs/gst/tmpl/gsttypes.sgml:
25009 * docs/gst/tmpl/gsturihandler.sgml:
25010 * docs/gst/tmpl/gsturitype.sgml:
25011 * docs/gst/tmpl/gstutils.sgml:
25012 * docs/gst/tmpl/gstvalue.sgml:
25013 * docs/gst/tmpl/gstversion.sgml:
25014 * docs/gst/tmpl/gstxml.sgml:
25015 * docs/libs/tmpl/gstcontrol.sgml:
25016 * docs/libs/tmpl/gstdataprotocol.sgml:
25017 * docs/libs/tmpl/gstdparam.sgml:
25018 * docs/libs/tmpl/gstdplinint.sgml:
25019 * docs/libs/tmpl/gstdpman.sgml:
25020 * docs/libs/tmpl/gstdpsmooth.sgml:
25021 * docs/libs/tmpl/gstgetbits.sgml:
25022 * docs/libs/tmpl/gstunitconvert.sgml:
25023 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
25024 (gst_push_src_base_init), (gst_push_src_class_init),
25025 (gst_push_src_init), (gst_push_src_create):
25026 * gst/base/gstpushsrc.h:
25027 * gst/elements/gstelements.c:
25028 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
25029 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
25030 (gst_fake_sink_init), (gst_fake_sink_set_property),
25031 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
25032 (gst_fake_sink_event), (gst_fake_sink_preroll),
25033 (gst_fake_sink_render), (gst_fake_sink_change_state):
25034 * gst/elements/gstfakesink.h:
25035 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
25036 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
25037 (gst_fake_src_base_init), (gst_fake_src_class_init),
25038 (gst_fake_src_init), (gst_fake_src_event_handler),
25039 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
25040 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
25041 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
25042 (gst_fake_src_create_buffer), (gst_fake_src_create),
25043 (gst_fake_src_start), (gst_fake_src_stop):
25044 * gst/elements/gstfakesrc.h:
25045 * gst/elements/gstfilesink.c: (_do_init),
25046 (gst_file_sink_base_init), (gst_file_sink_class_init),
25047 (gst_file_sink_init), (gst_file_sink_dispose),
25048 (gst_file_sink_set_location), (gst_file_sink_set_property),
25049 (gst_file_sink_get_property), (gst_file_sink_open_file),
25050 (gst_file_sink_close_file), (gst_file_sink_query),
25051 (gst_file_sink_event), (gst_file_sink_render),
25052 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
25053 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
25054 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
25055 * gst/elements/gstfilesink.h:
25056 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
25057 (gst_file_src_class_init), (gst_file_src_init),
25058 (gst_file_src_finalize), (gst_file_src_set_location),
25059 (gst_file_src_set_property), (gst_file_src_get_property),
25060 (gst_file_src_map_region), (gst_file_src_map_small_region),
25061 (gst_file_src_create_mmap), (gst_file_src_create_read),
25062 (gst_file_src_create), (gst_file_src_is_seekable),
25063 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
25064 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
25065 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
25066 (gst_file_src_uri_handler_init):
25067 * gst/elements/gstfilesrc.h:
25068 more autistic cleanliness in functions/names/defines
25070 2005-07-13 Andy Wingo <wingo@pobox.com>
25072 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
25073 source couldn't negotiate.
25075 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
25079 * gst/gstutils.c (gst_element_link_pads_filtered): New old
25080 function. I am channeling Hades. Put your boots on suckers!!!
25082 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
25084 * testsuite/caps/Makefile.am:
25085 * testsuite/caps/value_compare.c:
25086 * testsuite/caps/value_intersect.c:
25087 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
25088 move two testsuite apps over to the check dir
25090 2005-07-12 Wim Taymans <wim@fluendo.com>
25092 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
25093 Added more debug info in the negotiate process.
25095 * gst/gstmessage.h:
25096 Prepare for segment playback.
25098 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
25104 * tools/gst-launch.c: (main):
25105 NULL pipeline on errors.
25107 2005-07-12 Andy Wingo <wingo@pobox.com>
25109 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
25110 not it comes from a malloc region. Make sure our copy gets freed.
25112 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
25114 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
25115 * check/gst/gstmessage.c: (GST_START_TEST):
25116 * check/gst/gststructure.c: (GST_START_TEST),
25117 (gst_structure_suite), (main):
25119 * gst/gstelement.c: (gst_element_message_full):
25120 clean up GError and debug string now that they get copied
25121 * gst/gstmessage.c: (gst_message_new_error),
25122 (gst_message_new_warning), (gst_message_parse_error),
25123 (gst_message_parse_warning):
25124 use GST_TYPE_G_ERROR for structure_new, and take copies of
25125 arguments, so that we don't mess up refcounting
25127 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
25129 * check/Makefile.am:
25130 add per-test valgrind targets
25131 * check/gst-libs/gdp.c: (GST_START_TEST),
25132 (gst_data_protocol_suite), (main):
25135 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
25137 * check/Makefile.am:
25138 instate more valgrindable tests
25139 * check/elements/gstfakesrc.c: (chain_func), (event_func),
25140 (GST_START_TEST), (fakesrc_suite):
25141 * check/gst/gstpad.c: (GST_START_TEST):
25142 * check/gst/gststructure.c: (GST_START_TEST):
25144 * docs/gst/tmpl/gstminiobject.sgml:
25145 * gst/gstpad.c: (gst_pad_finalize):
25146 fix the static mutex leak
25148 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
25150 * check/Makefile.am:
25151 add two more tests for valgrinding
25152 * check/gst/gstvalue.c: (GST_START_TEST):
25153 test refcount of deserialized buffer, found a leak
25154 * docs/gst/gstreamer-docs.sgml:
25155 * docs/gst/gstreamer-sections.txt:
25156 * docs/gst/gstreamer.types:
25157 * docs/gst/tmpl/gstminiobject.sgml:
25158 add miniobject to docs
25159 * gst/gstminiobject.c:
25161 * gst/gstvalue.c: (gst_value_deserialize_buffer),
25162 (gst_string_unwrap):
25163 fix a hard-to-find invalid write for one of the tests
25164 fix a leak for deserialized buffers
25166 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25168 * docs/pwg/advanced-events.xml:
25169 * docs/pwg/advanced-request.xml:
25170 * docs/pwg/advanced-scheduling.xml:
25171 * docs/pwg/appendix-porting.xml:
25172 * docs/pwg/building-boiler.xml:
25173 * docs/pwg/intro-preface.xml:
25174 * docs/pwg/other-ntoone.xml:
25175 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
25176 of example code and explanation for pad activation, loop() and
25177 getrange() functions and a bit more. Remove old comments pointing
25179 * examples/pwg/Makefile.am:
25180 Add loop/getrange examples.
25182 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
25185 check for valgrind binary + some fixes
25187 valgrind suppressions for the tests
25188 * check/Makefile.am:
25189 add a valgrind: target that valgrinds the unit tests
25190 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
25191 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
25192 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
25193 * check/gst/gstghostpad.c:
25195 * check/gst/gstdata.c:
25197 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
25198 (thread_unref), (gst_mini_object_suite), (main):
25200 * gst/gst.c: (gst_deinit):
25202 add a method to clean up.
25203 * gst/gstsystemclock.c: (gst_system_clock_dispose),
25204 (gst_system_clock_obtain):
25205 allow for disposing the system clock.
25206 * tools/gst-launch.c: (main):
25209 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
25211 * docs/gst/tmpl/gstbasesrc.sgml:
25212 * docs/gst/tmpl/gstfakesrc.sgml:
25213 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
25214 (gst_base_src_init), (gst_base_src_set_property),
25215 (gst_base_src_get_property), (gst_base_src_get_range),
25216 (gst_base_src_start):
25217 * gst/base/gstbasesrc.h:
25218 add num-buffers property
25219 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25220 (gst_fakesrc_init), (gst_fakesrc_set_property),
25221 (gst_fakesrc_get_property), (gst_fakesrc_create),
25222 (gst_fakesrc_start):
25223 remove num-buffers property
25225 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
25227 * docs/gst/gstreamer-sections.txt:
25228 * docs/gst/tmpl/gstbasesink.sgml:
25229 * docs/gst/tmpl/gstbasesrc.sgml:
25230 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
25231 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
25232 (gst_base_sink_finalize), (gst_base_sink_set_clock),
25233 (gst_base_sink_set_property), (gst_base_sink_get_property),
25234 (gst_base_sink_handle_object), (gst_base_sink_event),
25235 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
25236 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
25237 (gst_base_sink_loop), (gst_base_sink_deactivate),
25238 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
25239 (gst_base_sink_change_state):
25240 * gst/base/gstbasesink.h:
25241 * gst/base/gstbasesrc.h:
25242 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
25243 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
25244 (gst_filesink_init):
25245 more macro splitting
25247 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
25249 * gst/gstelement.c: (gst_element_get_bus):
25251 * tools/gst-launch.c: (check_intr), (event_loop):
25254 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
25256 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
25259 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
25261 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
25262 (gst_base_src_finalize):
25263 add finalize method and clean up properly
25264 * gst/gstpipeline.c: (gst_pipeline_dispose):
25267 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
25269 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
25271 add more things to check
25272 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
25273 * gst/gstelement.c:
25276 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
25278 * check/elements/gstfakesrc.c: (chain_func), (event_func),
25279 (GST_START_TEST), (fakesrc_suite):
25280 * check/gst-libs/gdp.c: (GST_START_TEST):
25281 * check/gst/gst.c: (GST_START_TEST):
25282 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
25283 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
25284 * check/gst/gstbus.c: (GST_START_TEST):
25285 * check/gst/gstcaps.c: (GST_START_TEST):
25286 * check/gst/gstdata.c: (GST_START_TEST):
25287 * check/gst/gstelement.c: (GST_START_TEST):
25288 * check/gst/gstghostpad.c: (GST_START_TEST):
25289 * check/gst/gstiterator.c: (GST_START_TEST):
25290 * check/gst/gstmessage.c: (GST_START_TEST):
25291 * check/gst/gstobject.c: (GST_START_TEST):
25292 * check/gst/gstpad.c: (GST_START_TEST):
25293 * check/gst/gststructure.c: (GST_START_TEST):
25294 * check/gst/gstsystemclock.c: (GST_START_TEST),
25295 (gst_systemclock_suite):
25296 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
25297 * check/gst/gstvalue.c: (GST_START_TEST):
25298 * check/pipelines/cleanup.c: (GST_START_TEST):
25299 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
25300 * check/states/sinks.c: (GST_START_TEST):
25301 * check/gstcheck.c: (gst_check_init):
25302 * check/gstcheck.h:
25303 add debugging category
25304 use GST_START_TEST now, so we add a debug line
25306 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
25308 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
25309 add test for state change message on a bin
25310 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
25312 * gst/gstbin.c: (gst_bin_init):
25313 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
25314 * gst/gstelement.c: (gst_element_post_message),
25315 (gst_element_set_state):
25316 * gst/gstelementfactory.c: (gst_element_factory_create):
25317 * gst/gstmessage.c: (gst_message_new):
25318 * gst/gstscheduler.c:
25319 various debugging additions and cleanups
25321 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
25323 * check/Makefile.am:
25324 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
25326 adding tests for elements
25327 * gst/gstelement.c: (gst_element_dispose):
25329 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
25331 * gst/registries/gstlibxmlregistry.c: (load_feature):
25332 plug more leaks. A simple gst_init() now is leakfree, yay.
25334 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
25336 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
25337 (gst_xml_registry_load):
25338 plug another memleak
25340 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
25343 use GST_SET_ERROR_CFLAGS
25344 * docs/faq/cvs.xml:
25345 change to ERROR_CFLAGS
25347 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
25350 make GST_ERROR_CFLAGS overridable and re-enable Werror
25351 * docs/faq/cvs.xml:
25352 add a note about error CFLAGS
25353 * docs/gst/tmpl/gstfakesrc.sgml:
25354 * gst/elements/gstfakesrc.c:
25355 comment out some unused code
25356 * gst/gst.c: (split_and_iterate):
25357 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
25361 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
25363 * common/Makefile.am:
25364 * common/gtk-doc.mak:
25365 * docs/gst/Makefile.am:
25366 factor out gtk-doc.mak
25368 2005-07-07 Wim Taymans <wim@fluendo.com>
25370 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
25371 (gst_thread_scheduler_dispose):
25372 Unlock the STREAM_LOCK completely.
25374 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
25376 * check/Makefile.am:
25377 * check/elements/.cvsignore:
25378 * check/elements/gstfakesrc.c: (chain_func), (event_func),
25379 (START_TEST), (fakesrc_suite), (main):
25380 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25381 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
25382 (gst_fakesrc_create), (gst_fakesrc_start):
25383 * gst/elements/gstfakesrc.h:
25384 adding a first element test
25386 2005-07-07 Andy Wingo <wingo@pobox.com>
25388 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
25391 2005-07-07 Wim Taymans <wim@fluendo.com>
25397 2005-07-07 Wim Taymans <wim@fluendo.com>
25399 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
25400 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
25401 Allow subclasses to implement their own negotiation.
25403 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
25405 * docs/design/part-gstbin.txt:
25406 * docs/design/part-gstpipeline.txt:
25407 Update design notes to reflect the movement of
25408 responsibility for bus handling from GstPipeline to
25411 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
25414 Remove unnecessary queue2/3/4 examples.
25416 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
25418 * examples/Makefile.am:
25419 * examples/helloworld/helloworld.c: (event_loop), (main):
25420 * examples/queue/queue.c: (event_loop), (main):
25421 * examples/queue2/queue2.c: (main):
25422 Update a couple of the examples to work again.
25424 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
25425 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
25426 Spelling corrections and extra debug.
25428 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
25429 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
25430 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
25432 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
25433 (gst_pipeline_change_state):
25434 * gst/gstpipeline.h:
25435 Move the bus handler for children to the GstBin, and create a
25436 separate bus for receiving messages from children to the one the
25437 bus sends 'upwards' on.
25439 2005-07-06 Wim Taymans <wim@fluendo.com>
25442 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
25443 (gst_base_sink_handle_object), (gst_base_sink_loop),
25444 (gst_base_sink_change_state):
25445 * gst/base/gstbasesink.h:
25446 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
25447 (gst_base_src_init), (gst_base_src_setcaps),
25448 (gst_base_src_getcaps), (gst_base_src_loop),
25449 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
25450 (gst_base_src_start), (gst_base_src_change_state):
25451 * gst/base/gstbasesrc.h:
25452 Make basesrc negotiate.
25453 Handle the case where preroll fails in basesink.
25456 2005-07-06 Wim Taymans <wim@fluendo.com>
25458 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
25459 Implement the fixate function.
25460 Clean up acceptcaps.
25462 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25464 * docs/pwg/building-filterfactory.xml:
25465 * docs/pwg/pwg.xml:
25466 Remove never-written filter-factory chapter; I'll add the various
25467 base classes to part 4 ("other element types") later on.
25469 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25471 * docs/pwg/advanced-negotiation.xml:
25472 * docs/pwg/building-boiler.xml:
25473 * docs/pwg/building-pads.xml:
25474 * docs/pwg/pwg.xml:
25475 * examples/pwg/Makefile.am:
25476 Add a chapter on caps negotiation, simplify the original code
25477 samples a bit w.r.t. caps negotiation, add link to the advanced
25478 section. Add a bunch of examples showing different use cases of
25479 different types of caps negotiation. Upstream renegotiation isn't
25480 fully documented yet since nobody knows how that works.
25482 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
25484 * check/gst/gstpad.c:
25485 * check/gstcheck.c:
25486 * gst/gstpad.c: (gst_pad_get_internal_links_default):
25487 if pad has no parent, return NULL as list of internal links
25489 2005-07-05 Andy Wingo <wingo@pobox.com>
25491 * gst/elements/gstfilesrc.c:
25492 * gst/elements/gstfakesrc.c:
25493 * gst/base/gstpushsrc.c:
25494 * gst/base/gstbasesrc.h:
25495 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
25497 2005-07-05 Stefan Kost <ensonic@users.sf.net>
25500 better report generation target (lcov needs a patch)
25502 2005-07-05 Andy Wingo <wingo@pobox.com>
25504 * gst/elements, testsuite: Null if we got it...
25506 2005-07-05 Wim Taymans <wim@fluendo.com>
25509 * libs/gst/dataprotocol/Makefile.am:
25510 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
25511 * libs/gst/dataprotocol/dataprotocol.h:
25512 * pkgconfig/Makefile.am:
25513 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
25514 * pkgconfig/gstreamer-dataprotocol.pc.in:
25515 Ported dataprotol to 0.9.
25516 Added pkgconfig files.
25518 2005-07-05 Andy Wingo <wingo@pobox.com>
25520 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
25521 Default to returning TRUE for the case when tranform_caps returns
25522 a fixed caps, like for identity or volume.
25524 * check/gst/gstbus.c (pound_bus_with_messages):
25525 * check/gst/gstmessage.c (START_TEST):
25526 * check/pipelines/simple_launch_lines.c (got_handoff): Application
25527 message API change.
25529 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
25530 logic weaks here: always run transform_caps, trying passthrough
25531 operation only if the original caps intersects with the transform.
25533 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
25534 source and sink caps.
25536 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
25537 Intersect the peer caps with the pad template before going into
25539 (gst_base_transform_transform_caps): More debugging.
25541 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
25544 2005-07-04 Edward Hervey <edward@fluendo.com>
25548 (gst_pad_add_*_probe): now returns the signal id for better wrapping
25551 2005-07-04 Andy Wingo <wingo@pobox.com>
25553 * check/gst/gstpad.c: Only set explicit caps on pads.
25555 2005-07-01 Andy Wingo <wingo@pobox.com>
25557 * tests/network-clock.scm: Commentary update.
25559 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
25560 Didn't really make sense, not implementable with basetransform,
25562 (gst_identity_transform): Unref inbuf via make_writable. Feeble
25563 attempt at implementing the sync property, needs an unlock method.
25565 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
25566 New func, by default returns the same caps (the identity
25568 (gst_base_transform_getcaps): Uses transform_caps to return
25569 something sensible.
25570 (gst_base_transform_setcaps): Complicated logic to get caps on
25571 both pads, even if they are different, and to call set_caps once
25572 for every time both pads get their caps set.
25573 (gst_base_transform_handle_buffer): Give the ref to the transform
25574 function. Allows in-place modification of the buffer.
25576 * gst/base/gstbasetransform.h (transform_caps): New class method.
25577 Given caps on one side, what can I do on the other.
25578 (set_caps): Take two caps, one for each side of the element.
25581 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
25582 caps in place. This is safe because we can check the mutability of
25583 the caps, and a good idea because fixate functions are just called
25584 as a matter of last resort. (Not actually implemented.)
25585 (gst_pad_set_caps): If the caps we're setting is actually the same
25586 as the existing pad caps, just update the pointer without calling
25587 setcaps. Assert that caps is either NULL or fixed, as per the
25590 * gst/gstghostpad.c: Update for fixate changes.
25592 2005-07-02 Andy Wingo <wingo@pobox.com>
25595 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
25596 two refcounts makes it immutable, which is enough. Doc more.
25598 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
25600 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
25601 Put the mini_object into GValue as a mini_object,
25602 not a gpointer, since that's how we declared
25605 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25607 * examples/pwg/Makefile.am:
25608 Fix buildbot again.
25610 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25612 * docs/pwg/building-testapp.xml:
25614 * examples/pwg/Makefile.am:
25617 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25620 * examples/Makefile.am:
25621 * examples/pwg/Makefile.am:
25622 * examples/pwg/extract.pl:
25623 Enable building the PWG examples.
25624 * docs/pwg/advanced-interfaces.xml:
25625 Add URI interface stub.
25626 * docs/pwg/advanced-types.xml:
25627 * docs/pwg/other-autoplugger.xml:
25628 * docs/pwg/appendix-porting.xml:
25629 * docs/pwg/pwg.xml:
25630 Add porting guide (mostly stubs), remove autoplugging (see ADM).
25631 * docs/pwg/building-boiler.xml:
25632 * docs/pwg/building-chainfn.xml:
25633 * docs/pwg/building-pads.xml:
25634 * docs/pwg/building-props.xml:
25635 * docs/pwg/building-state.xml:
25636 * docs/pwg/building-testapp.xml:
25637 Update the building-*.xml parts for 0.9 changes. All examples
25638 code blocks compile in examples/pwg/*.
25640 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25642 * docs/manual/advanced-autoplugging.xml:
25643 * docs/manual/appendix-checklist.xml:
25644 * docs/manual/appendix-integration.xml:
25645 * docs/manual/highlevel-components.xml:
25646 Fix playbin/decodebin examples, update docs a bit, mention bus
25647 instead of signals in various places, mention kmplayer and
25648 kaffeine since they have a working GStreamer backend in the KDE
25651 2005-06-30 Wim Taymans <wim@fluendo.com>
25654 * docs/design/draft-ghostpads.txt:
25655 * docs/design/draft-push-pull.txt:
25656 * docs/design/draft-query.txt:
25657 * docs/design/part-TODO.txt:
25658 * docs/design/part-query.txt:
25659 Added CHANGES-0.9 doc, updated status of other docs.
25664 2005-06-30 Wim Taymans <wim@fluendo.com>
25666 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
25667 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
25668 (gst_base_sink_change_state):
25669 * gst/base/gstbasesink.h:
25670 Some tweaks, only EOS and a buffer complete a preroll.
25672 2005-06-30 Andy Wingo <wingo@pobox.com>
25674 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
25675 activate_push down to the internal pad as well.
25677 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
25679 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25681 * gst/gsttaginterface.c:
25682 Some documentation fixes (#307394 and #307397).
25684 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
25686 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25688 * gst/gstvalue.c: (gst_value_intersect_list):
25689 Fix memleak (#309125).
25691 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25693 * docs/manual/advanced-dataaccess.xml:
25694 Fix fakesrc example to compile; doesn't work, bug somewhere...?
25695 * docs/manual/basics-pads.xml:
25696 Add reference for filtered caps to above chapter.
25698 2005-06-30 Wim Taymans <wim@fluendo.com>
25700 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
25701 (gst_bin_change_state):
25703 Lame attempt at making the state change function a bit
25706 2005-06-30 Wim Taymans <wim@fluendo.com>
25708 * docs/design/part-clocks.txt:
25709 * docs/design/part-element-sink.txt:
25710 * docs/design/part-events.txt:
25711 * docs/design/part-preroll.txt:
25712 * docs/design/part-states.txt:
25713 Some more tweeks and additions to the docs.
25715 2005-06-30 Wim Taymans <wim@fluendo.com>
25717 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
25718 (default_have_data), (gst_pad_class_init), (gst_pad_init),
25719 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
25720 (gst_pad_check_pull_range), (gst_pad_get_range),
25721 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
25723 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
25724 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
25725 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
25726 (gst_pad_remove_buffer_probe):
25727 Removed atomic operations, use existing LOCK.
25728 Move exception handling out of main code path.
25730 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25732 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
25733 (silly_return_true_function), (gst_pad_class_init),
25734 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
25735 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
25736 (gst_pad_send_event):
25737 Fix accumulator, add default value by using _emitv() instead
25738 of _emit() for signal emission.
25740 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25742 * docs/manual/advanced-dataaccess.xml:
25743 * examples/manual/Makefile.am:
25745 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
25748 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
25750 * gst/elements/gstfilesink.c: (gst_filesink_render):
25751 Simplify code so that we don't have to handle short
25752 writes and return GST_FLOW_ERROR if an error occured.
25754 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25756 * docs/gst/gstreamer-docs.sgml:
25757 Remove probes more.
25759 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25761 * docs/gst/gstreamer-sections.txt:
25762 * docs/gst/tmpl/gstpad.sgml:
25763 * docs/gst/tmpl/gstprobe.sgml:
25765 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
25766 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
25767 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
25768 (gst_pad_push_event), (gst_pad_send_event):
25770 * gst/gstutils.c: (gst_pad_add_data_probe),
25771 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
25772 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
25773 (gst_pad_remove_buffer_probe):
25775 Remove old probes, add new g-signal-based probes and some utility
25778 2005-06-29 Edward Hervey <edward@fluendo.com>
25780 * gst/gstelementfactory.c:
25783 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
25784 the definition to the header file.
25786 2005-06-29 Andy Wingo <wingo@pobox.com>
25788 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
25789 plugins from the source directory.
25791 2005-06-29 Wim Taymans <wim@fluendo.com>
25793 * docs/gst/tmpl/gstbuffer.sgml:
25794 * docs/gst/tmpl/gstclock.sgml:
25795 Some fixings for blantently wrong text.
25797 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
25799 * check/Makefile.am:
25800 * gst/gst.c: (add_path_func), (init_pre):
25801 * gst/gstregistry.c: (gst_registry_add_path):
25802 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
25803 only scan the GST_PLUGIN_PATH locations, and not add
25806 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
25808 * docs/gst/gstreamer-sections.txt:
25809 * docs/gst/tmpl/gstbasesrc.sgml:
25810 * gst/gstelement.c:
25811 * gst/gstelement.h:
25816 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25818 * docs/manual/advanced-autoplugging.xml:
25819 Fix autoplugging example.
25821 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25823 * docs/manual/advanced-autoplugging.xml:
25824 * docs/manual/mime-world.fig:
25825 Try to get autoplugging working, fix type detection. Fix text
25826 in hello-world image.
25828 2005-06-29 Wim Taymans <wim@fluendo.com>
25830 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25831 (gst_base_sink_change_state):
25835 map SIGNAL and BROADCAST to the right function.
25838 Remove redundant braces.
25840 * gst/gstpad.c: (gst_pad_set_caps):
25841 Don't call setcaps function when reseting caps to NULL.
25843 * gst/gstsystemclock.c: (gst_system_clock_dispose),
25844 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
25845 (gst_system_clock_id_unschedule):
25846 Use BROADCAST as this is what we do.
25848 2005-06-29 Wim Taymans <wim@fluendo.com>
25850 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25851 We are actually prerolling before commiting the state
25854 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25856 * docs/manual/advanced-clocks.xml:
25857 * docs/manual/advanced-interfaces.xml:
25858 * docs/manual/advanced-metadata.xml:
25859 * docs/manual/advanced-position.xml:
25860 * docs/manual/advanced-schedulers.xml:
25861 * docs/manual/advanced-threads.xml:
25862 * docs/manual/appendix-porting.xml:
25863 * docs/manual/basics-bins.xml:
25864 * docs/manual/basics-bus.xml:
25865 * docs/manual/basics-elements.xml:
25866 * docs/manual/basics-helloworld.xml:
25867 * docs/manual/basics-pads.xml:
25868 * docs/manual/highlevel-components.xml:
25869 * docs/manual/manual.xml:
25870 * docs/manual/thread.fig:
25871 Update (until threads/scheduling) Application Development Manual;
25872 remove GstThread, add GstBus, add simple porting checklist, add
25873 documentation for tag writing, clocks, make all examples until this
25874 part compile and run.
25875 * examples/manual/Makefile.am:
25876 Update from changes to Application Development Manual; add bus
25877 example, remove thread example.
25879 2005-06-28 Wim Taymans <wim@fluendo.com>
25881 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
25882 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
25883 (gst_bus_source_dispatch):
25884 Add debugging messages.
25885 Make internal methods static.
25886 Handle the case where the bus is flushed in the handler.
25888 * gst/gstelement.c: (gst_element_get_bus):
25889 Fix refcount in _get_bus();
25891 * gst/gstpipeline.c: (gst_pipeline_change_state),
25892 (gst_pipeline_get_clock_func):
25893 Clock refcounting fixes.
25894 Handle the case where preroll timed out more gracefully.
25896 * gst/gstsystemclock.c: (gst_system_clock_dispose):
25897 Clean up the internal thread in dispose. This is needed
25898 for subclasses that actually get disposed.
25900 * gst/schedulers/threadscheduler.c:
25901 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
25902 (gst_thread_scheduler_dispose):
25903 Free thread pool in dispose.
25905 2005-06-28 Andy Wingo <wingo@pobox.com>
25907 * tests/network-clock-utils.scm (debug, print-event): New utils.
25909 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
25910 (*packet-loss*): Unified loss probability.
25911 (network-time): Report out-of-band events.
25913 * tests/plot-data: Add support for out-of-band events. Hack it
25914 into this script instead of passing it down the pipe; should fix
25917 2005-06-28 Wim Taymans <wim@fluendo.com>
25919 * docs/gst/gstreamer.types:
25920 * docs/gst/tmpl/gstbasesrc.sgml:
25921 * docs/gst/tmpl/gstpad.sgml:
25924 2005-06-28 Wim Taymans <wim@fluendo.com>
25926 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
25927 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
25928 (gst_proxy_pad_do_fixatecaps):
25929 Correctly proxy the check_pull_range function.
25931 2005-06-28 Andy Wingo <wingo@pobox.com>
25933 * tests/network-clock.scm: Removed need for slib.
25935 2005-06-28 Wim Taymans <wim@fluendo.com>
25937 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
25938 (gst_basesink_preroll_queue_flush):
25939 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
25940 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
25941 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
25942 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
25943 (gst_proxy_pad_set_property):
25946 * gst/gstqueue.c: (gst_queue_init):
25947 The deprecated pad loop function is removed now.
25949 2005-06-28 Andy Wingo <wingo@pobox.com>
25951 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
25952 New parameters, simulate network packet loss.
25954 * tests/network-clock-utils.scm: Initialize the RNG.
25956 2005-06-28 Wim Taymans <wim@fluendo.com>
25958 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
25959 (gst_basesink_event), (gst_basesink_deactivate):
25960 Flushing the preroll queue always needs to unlock the waiters.
25962 2005-06-28 Edward Hervey <edward@fluendo.com>
25964 * gst/gstpipeline.c: (gst_pipeline_send_event):
25965 Wheen a seek was successful on a pipeline, set the stream_time to the
25966 seek offset in order to have a synchronized stream_time.
25968 2005-06-28 Wim Taymans <wim@fluendo.com>
25970 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
25971 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
25972 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
25973 (gst_proxy_pad_do_fixatecaps):
25974 Call wrapper function instead of just calling the function
25975 pointers. This takes care of any locking and whatmore.
25977 2005-06-28 Wim Taymans <wim@fluendo.com>
25979 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
25980 (gst_pad_pull_range):
25982 CONNECTED -> LINKED.
25984 2005-06-28 Andy Wingo <wingo@pobox.com>
25986 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
25987 source-munging commit!!!
25989 * gst/gstobject.c (gst_object_unref, gst_object_ref)
25990 (gst_object_sink): Take gpointer arguments, not GstObject --
25991 avoids casts. Like GLib.
25993 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
25996 2005-06-27 Andy Wingo <wingo@pobox.com>
25998 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
26001 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
26002 returns a sorted copy of the trace list.
26003 (gst_alloc_trace_print_live): New API, only prints traces with
26004 live objects. Sort the list.
26005 (gst_alloc_trace_print_all): Sort the list.
26006 (gst_alloc_trace_print): Align columns.
26008 * gst/elements/gstttypefindelement.c:
26009 * gst/elements/gsttee.c:
26010 * gst/base/gstbasesrc.c:
26011 * gst/base/gstbasesink.c:
26012 * gst/base/gstbasetransform.c:
26013 * gst/gstqueue.c: Adapt for pad activation changes.
26015 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
26017 (gst_pipeline_dispose): Drop ref on sched.
26019 * gst/gstpad.c (gst_pad_init): Set the default activate func.
26020 (gst_pad_activate_default): Push mode by default.
26021 (pre_activate_switch, post_activate_switch): New stubs, things to
26022 do before and after switching activation modes on pads.
26023 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
26024 the pad's activate function to choose which mode to activate.
26025 Shortcut on deactivation and call the right function directly.
26026 (gst_pad_activate_pull): New API, (de)activates a pad in pull
26028 (gst_pad_activate_push): New API, same for push mode.
26029 (gst_pad_set_activate_function)
26030 (gst_pad_set_activatepull_function)
26031 (gst_pad_set_activatepush_function): Setters for new API.
26033 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
26034 Trace all miniobjects.
26035 (gst_mini_object_make_writable): Unref the arg if we copy, like
26036 gst_caps_make_writable.
26038 * gst/gstmessage.c (_gst_message_initialize): No trace init.
26040 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
26041 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
26042 Adapt for new pad API.
26044 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
26046 * gst/gstelement.h:
26047 * gst/gstelement.c (gst_element_iterate_src_pads)
26048 (gst_element_iterate_sink_pads): New API functions.
26050 * gst/gstelement.c (iterator_fold_with_resync): New utility,
26051 should fold into gstiterator.c in some form.
26052 (gst_element_pads_activate): Simplified via use of fold and
26053 delegation of decisions to gstpad->activate.
26055 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
26058 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
26059 class once in init, like gstmessage. Didn't run into this issue
26060 but it seems correct. Don't initialize a trace, gstminiobject does
26063 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
26064 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
26066 (assert_live_count): New util function, uses alloc traces to check
26069 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
26070 To be modified when unlink drops the internal pad.
26072 2005-06-27 Wim Taymans <wim@fluendo.com>
26074 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
26075 (gst_bin_change_state):
26076 Cleanup the get_state() function a little, make sure it
26077 iterates the same set of elements.
26078 Added stub iterate_state_order().
26080 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
26082 * docs/gst/gstreamer-docs.sgml:
26083 * docs/gst/gstreamer-sections.txt:
26084 * docs/gst/gstreamer.types:
26085 * docs/gst/tmpl/gstbasesink.sgml:
26086 * docs/gst/tmpl/gstbasesrc.sgml:
26087 * docs/gst/tmpl/gstbasetransform.sgml:
26088 * docs/gst/tmpl/gstelement.sgml:
26089 * docs/gst/tmpl/gstiterator.sgml:
26090 * gst/base/gstbasesrc.c:
26091 * gst/base/gstbasesrc.h:
26092 * gst/base/gstbasetransform.h:
26093 * gst/gstelement.c:
26094 * gst/gstiterator.h:
26095 adding basetransform and iterator docs
26097 2005-06-27 Andy Wingo <wingo@pobox.com>
26099 * docs/design/part-activation.txt: Notes on how activation should
26100 work -- not quite implemented yet.
26102 2005-06-25 Wim Taymans <wim@fluendo.com>
26104 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
26105 At least get the chain function correct, needs more
26108 2005-06-25 Wim Taymans <wim@fluendo.com>
26110 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
26111 (gst_basesink_handle_object), (gst_basesink_event),
26112 (gst_basesink_do_sync), (gst_basesink_handle_event),
26113 (gst_basesink_change_state):
26115 Right, two problems here: ghostpads don't take locks and
26116 glib _rec_mutex_lock_full() with depth==0 still locks.
26117 Catch illegal locking and g_warn them.
26119 2005-06-25 Wim Taymans <wim@fluendo.com>
26121 * check/states/sinks.c: (START_TEST), (gst_object_suite):
26122 Have to check for completion now...
26124 2005-06-25 Wim Taymans <wim@fluendo.com>
26126 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
26127 (gst_basesink_handle_object), (gst_basesink_event),
26128 (gst_basesink_do_sync), (gst_basesink_handle_event),
26129 (gst_basesink_change_state):
26131 Unlock STREAM_LOCK whatever the recursion was.
26133 2005-06-25 Wim Taymans <wim@fluendo.com>
26135 * gst/base/gstbasesink.c: (gst_basesink_set_property),
26136 (gst_basesink_preroll_queue_empty),
26137 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
26138 (gst_basesink_event), (gst_basesink_do_sync),
26139 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
26140 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
26141 (gst_basesink_change_state):
26142 Reworked the base sink, handle event and buffer serialisation
26143 correctly and removed possible deadlock.
26144 Handle EOS correctly.
26146 2005-06-25 Wim Taymans <wim@fluendo.com>
26148 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
26149 (gst_pipeline_change_state):
26150 * tools/gst-launch.c: (check_intr), (event_loop), (main):
26151 Allow elements to post EOS in the state change function.
26152 Fix up -launch, make it exit the poll loop when the
26153 pipeline actually changed state.
26154 Fix up warning parsing in -launch.
26156 2005-06-25 Wim Taymans <wim@fluendo.com>
26158 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
26159 (gst_tee_sink_activate):
26160 Core takes STREAM_LOCK for us now.
26162 2005-06-25 Wim Taymans <wim@fluendo.com>
26164 * gst/gstelement.c: (gst_element_get_state_func),
26165 (gst_element_set_state):
26166 * gst/gstelement.h:
26167 * gst/gstmessage.c: (gst_message_parse_error),
26168 (gst_message_parse_warning):
26169 Keep track of current target state while performing a state
26170 change so that subclasses can do something interesting.
26171 Fix parsing of warning/error messages when GError is NULL.
26173 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
26175 * docs/gst/Makefile.am:
26176 * docs/gst/gstreamer-docs.sgml:
26177 * docs/gst/gstreamer-sections.txt:
26178 * docs/gst/gstreamer.types:
26179 * docs/gst/tmpl/gstbasesink.sgml:
26180 * docs/gst/tmpl/gstbasesrc.sgml:
26181 * docs/gst/tmpl/gstbin.sgml:
26182 * docs/gst/tmpl/gstcompat.sgml:
26183 * docs/gst/tmpl/gstfakesink.sgml:
26184 * docs/gst/tmpl/gstfakesrc.sgml:
26185 * docs/gst/tmpl/gstfilesink.sgml:
26186 * docs/gst/tmpl/gstfilesrc.sgml:
26187 * docs/gst/tmpl/gstindex.sgml:
26188 * docs/manual/appendix-quotes.xml:
26189 * gst/base/gstbasesrc.h:
26190 * gst/elements/gstfakesrc.h:
26191 * gst/gstmessage.h:
26192 start pulling in base classes and elements in our docs
26194 2005-06-24 Stefan Kost <ensonic@users.sf.net>
26196 * docs/gst/Makefile.am:
26197 * docs/libs/Makefile.am:
26198 fixed make distcheck with gtk-doc 1.3
26200 2005-06-23 Wim Taymans <wim@fluendo.com>
26202 * gst/gstelement.c: (gst_element_get_state_func),
26203 (gst_element_set_state), (gst_element_change_state):
26204 When the state did not change, also report NO_PREROLL
26207 2005-06-23 Wim Taymans <wim@fluendo.com>
26209 * gst/gstpad.c: (gst_pad_event_default):
26210 * gst/gstqueue.c: (gst_queue_loop):
26211 No unsafe task pausing please.
26213 2005-06-23 Wim Taymans <wim@fluendo.com>
26215 * gst/schedulers/threadscheduler.c:
26216 (gst_thread_scheduler_task_start),
26217 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
26218 Ref the task before pushing it on the threadpool. This
26219 makes sure that we have a ref when the threadfunction is
26222 2005-06-23 Andy Wingo <wingo@pobox.com>
26224 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
26225 offset is greater than the file's size.
26227 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
26228 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
26229 * gst/gstobject.c (gst_object_class_init): Make the class lock
26230 recursive. Wim won't let me drop deep_notify. Decodebin works
26231 again, whoopdy doo.
26233 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
26234 internal pad, and hacks accordingly. Doesn't do it on the target
26235 pad because we change its caps. Probably catches all cases of
26237 (gst_ghost_pad_set_property): Connect to notify::caps as
26240 * tests/network-clock.scm (plot-simulation): Pipe data to the
26241 elite python skript.
26243 * tests/network-clock-utils.scm (define-parameter): New macro,
26244 defines a parameter that can be set via the command line.
26245 (set-parameter!, parse-parameter-arguments): Command line args
26248 * tests/plot-data: Simple matplotlib-based plotter, takes input on
26251 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
26253 * gst/elements/gsttypefindelement.c:
26254 (gst_type_find_element_handle_event):
26255 Don't restart typefinding on a discont.
26256 * gst/gstelement.c: (gst_element_set_state):
26257 Debug spelling fix.
26258 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
26259 Allow changing mode of an active pad.
26260 Debug output fixes.
26261 * gst/registries/gstlibxmlregistry.c: (load_feature):
26262 Don't cast a static pad template to a normal pad template.
26264 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
26266 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
26267 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
26268 remove gst_strtoll completely, since it didn't actually do
26269 anything more than what g_ascii_strtoull already does.
26270 check for range errors when deserializing
26271 do a cast for the unsigned cases; but further fixing needs
26272 a decision on what the interpretation of "(int)" and
26273 deserialization should be for values that fall outside the
26274 type's boundaries (ie, refuse, or interpret as casting)
26276 2005-06-23 Wim Taymans <wim@fluendo.com>
26278 * check/Makefile.am:
26279 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
26280 * docs/design/part-live-source.txt:
26281 * docs/design/part-states.txt:
26282 * gst/base/gstbasesrc.c: (gst_basesrc_init),
26283 (gst_basesrc_set_live), (gst_basesrc_is_live),
26284 (gst_basesrc_get_range), (gst_basesrc_activate),
26285 (gst_basesrc_change_state):
26286 * gst/base/gstbasesrc.h:
26287 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26288 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
26289 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
26290 * gst/gstelement.c: (gst_element_get_state_func),
26291 (gst_element_set_state):
26292 * gst/gstelement.h:
26294 * tools/gst-launch.c: (event_loop), (main):
26295 Added support for live sources and other elements that
26297 Updated design docs, added live-source design doc.
26298 Implemented live source functionality in basesrc
26299 Fix error condition in _bin_get_state()
26300 Implement live source handling in -launch.
26301 Added check for live sources.
26302 Fixed case in GstBin where elements were changed state
26306 2005-06-23 Andy Wingo <wingo@pobox.com>
26308 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
26309 borken refcounting.
26311 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
26312 gst_caps_replace takes care of this for us.
26314 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
26315 gst_pad_set_caps on the target, not just its setcaps() function.
26317 * tests/network-clock.scm:
26318 * tests/network-clock-utils.scm: A network clock simulator.
26319 Something of an algorithmic testbed before doing something in C.
26321 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
26323 * check/Makefile.am:
26324 * check/gst/capslist.h:
26325 copy over from 0.8, and add two with bitmasks specified with
26327 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
26328 add test to parse everything from capslist.h
26329 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
26331 add test for structure deserialization
26332 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
26333 add tests for deserialization of strings to int types
26334 * gst/gststructure.c: (gst_structure_nth_field_name):
26335 * gst/gststructure.h:
26336 add a way to get the name of a field referenced by index
26337 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
26338 instead of checking if the resulting long long lies between
26339 min and max, we check if the long long would fit into
26340 a number of bytes for the final type.
26341 This fixes cases where a string represents 2^32 - 1, which
26342 when cast to int would be the (valid) -1, but is bigger than
26345 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
26347 * gst/parse/grammar.y:
26348 add a log line for type deserialization
26350 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
26352 * check/gst/gstvalue.c: (START_TEST):
26353 * gst/gstvalue.c: (gst_value_deserialize):
26354 return long long, not int, so gint64 deserialization actually
26355 works. Is there any flag that makes the compiler check this ?
26358 2005-06-22 Wim Taymans <wim@fluendo.com>
26361 Added convenience macros for setting buffers in GValue.
26363 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
26365 * check/gst/.cvsignore:
26366 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
26367 add a test deserializing int64, and comment part out because
26370 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
26372 * check/Makefile.am:
26373 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
26374 * testsuite/Makefile.am:
26375 * testsuite/caps/Makefile.am:
26376 * testsuite/caps/value_serialize.c:
26377 * testsuite/test_gst_init.c:
26378 move a value_serialize test over
26380 2005-06-20 Wim Taymans <wim@fluendo.com>
26385 * gst/gstvalue.c: (gst_value_compare_buffer),
26386 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
26387 (gst_value_compare_flags), (gst_value_serialize_flags),
26388 (gst_value_deserialize_flags), (_gst_value_initialize):
26389 Fix serialisation of buffers, they are not boxed types anymore
26391 2005-06-20 Wim Taymans <wim@fluendo.com>
26393 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
26394 Testcase to show error in buffer-on-caps serialisation.
26396 2005-06-20 Andy Wingo <wingo@pobox.com>
26398 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
26399 will be adding to later.
26401 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
26402 if its socks fill with rocks.
26403 (gst_system_clock_obtain): Set the name on object construction.
26404 Avoid double-checked locking.
26406 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
26408 * gst/gsturi.c: (gst_element_make_from_uri):
26409 Fix potential endless loop.
26411 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
26413 * check/Makefile.am:
26415 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
26417 move over from testsuite dir and clean up
26420 * testsuite/Makefile.am:
26421 * testsuite/tags/.cvsignore:
26422 * testsuite/tags/Makefile.am:
26423 * testsuite/tags/merge.c:
26424 remove testsuite/tags
26426 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
26428 * docs/gst/gstreamer-sections.txt:
26429 * docs/gst/tmpl/gstenumtypes.sgml:
26430 * win32/gstenumtypes.c:
26431 clean up documentation build a little
26433 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
26435 * check/gstcheck.h:
26436 add macros for checking refcounts on objects and caps
26437 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
26438 add some more unit tests
26439 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
26440 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
26441 fix leaked refcounts (I hope :)) so unittest works
26445 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
26447 * configure.ac: back to HEAD
26449 === release 0.9.1 ===
26451 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
26457 2005-06-17 Andy Wingo <wingo@pobox.com>
26459 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
26460 assert; it's always possible that the pad gets deactivated in
26461 between the checks in gstpad.c and the implementation. Rely on
26462 finish_preroll() to return a FLUSHING or similar instead of on the
26465 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
26466 clock and post an EOS message if we come out of finish_preroll in
26469 2005-06-16 David Schleef <ds@schleef.org>
26471 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
26472 (gst_capsfilter_set_property): Allow NULL as possible value
26473 for filter_caps property, indicating GST_CAPS_ANY.
26475 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
26477 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
26479 * gst/schedulers/Makefile.am:
26481 * gstreamer.spec.in:
26484 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
26486 * gstreamer.spec.in:
26489 2005-06-08 Andy Wingo <wingo@pobox.com>
26491 * gst/gstutils.c: RPAD fixes all around.
26492 (gst_element_link_pads): Refcounting fixes.
26494 * tools/gst-inspect.c:
26495 * tools/gst-xmlinspect.c:
26497 * gst/base/gsttypefindhelper.c:
26498 * gst/base/gstbasesink.c:
26499 * gst/gstqueue.c: RPAD fixes.
26501 * gst/gstghostpad.h:
26502 * gst/gstghostpad.c: New ghost pad implementation as full proxy
26503 pads. The tricky thing is they provide both source and sink
26504 interfaces, since they proxy the internal pad for the external
26505 pad, and vice versa. Implement with lower-level ProxyPad objects,
26506 with the interior proxy pad as a child of the exterior ghost pad.
26507 Should write a doc on this.
26509 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
26510 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
26513 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
26514 pads are real pads. No ghost pads in this file. Not documenting
26515 the myriad s/RPAD/PAD/ and REALIZE fixes.
26516 (gst_pad_class_init): Add properties for "direction" and
26517 "template". Both are construct-only, so they can't change during
26518 the life of the pad. Fixes properly deriving from GstPad.
26519 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
26520 derived objects, just set properties when creating the objects via
26522 (gst_pad_get_parent): Implement as a function, return NULL if the
26523 parent is not an element.
26524 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
26525 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
26527 * gst/gstobject.c (gst_object_class_init): Make name a construct
26528 property. Don't set it in the object init.
26530 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
26531 with UNKNOWN direction.
26532 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
26533 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
26534 (gst_element_remove_pad): Remove ghost-pad special cases.
26535 (gst_element_pads_activate): Remove rpad cruft.
26537 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
26538 catch the pad's-parent-not-an-element case.
26540 * gst/gst.h: Include gstghostpad.h.
26542 * gst/gst.c (init_post): No more real, ghost pads.
26544 * gst/Makefile.am: Add gstghostpad.[ch].
26546 * check/Makefile.am:
26547 * check/gst/gstbin.c:
26548 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
26549 into a bin creates ghost pads, and that the refcounts are right.
26550 Partly moved from gstbin.c.
26552 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
26554 * check/gst-libs/.cvsignore:
26555 * check/gst/.cvsignore:
26556 * check/pipelines/.cvsignore:
26558 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
26559 (START_TEST), (cleanup_suite), (main):
26560 add some tests related to cleanup after running pipelines
26562 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
26564 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
26565 add a testsuite for GstBuffer
26567 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
26569 * gst/gstminiobject.h:
26570 add defines for accessing the refcount
26572 2005-06-03 Stefan Kost <ensonic@users.sf.net>
26574 * Makefile.am: added support for html unit test coverage reports
26576 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
26578 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
26579 Free existing caps if the capsfilter changes. Add a FIXME about
26580 setting those caps on the pads.
26582 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
26583 Before adding a ghost pad to a parent bin, check that there isn't
26584 already one for the element on the bin. Prevents infinite recursion
26585 when using decodebin in parse pipelines. Andy says he'll rewrite the
26586 way this works anyway, so ignore the hack.
26588 2005-06-02 Andy Wingo <wingo@pobox.com>
26590 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
26591 file size, pass it on to the type find helper.
26593 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
26594 segment_start and segment_end properly according to the seek
26595 method. Segment_end is still a bit flaky because offset can be
26596 negative for CUR and END cases, but it takes -1 as an "unset"
26599 2005-06-02 Wim Taymans <wim@fluendo.com>
26601 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
26602 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
26603 (gst_basesink_activate):
26604 * gst/base/gstbasesink.h:
26605 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
26606 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
26607 (gst_pad_query), (gst_pad_start_task):
26609 * gst/gstqueue.c: (gst_queue_bufferalloc),
26610 (gst_queue_handle_sink_event), (gst_queue_chain):
26611 Bufferalloc: return GstFlowReturn to more accuratly report
26612 why allocation failed.
26614 2005-06-02 Wim Taymans <wim@fluendo.com>
26616 * gst/gstpipeline.c: (gst_pipeline_send_event):
26617 Take snapshot of state without blocking.
26619 2005-06-02 Wim Taymans <wim@fluendo.com>
26621 * docs/design/part-TODO.txt:
26622 * docs/design/part-caps.txt:
26623 * docs/design/part-clocks.txt:
26624 * docs/design/part-negotiation.txt:
26625 * docs/design/part-preroll.txt:
26628 2005-05-30 Wim Taymans <wim@fluendo.com>
26630 * gst/elements/gstidentity.c: (gst_identity_event),
26631 (gst_identity_transform), (gst_identity_get_property):
26632 Protect last_message property as it is accessed from
26635 2005-05-30 Wim Taymans <wim@fluendo.com>
26637 * gst/gstelement.c: (gst_element_init),
26638 (gst_element_pads_activate), (gst_element_change_state):
26639 Slicker pad activation code.
26641 2005-05-30 Wim Taymans <wim@fluendo.com>
26644 * gst/gstelement.h:
26645 * gst/gstelementfactory.h:
26647 Move elementfactory methods to separate .h file.
26649 2005-05-30 Wim Taymans <wim@fluendo.com>
26651 * docs/design/part-overview.txt:
26652 * gst/gstsystemclock.h:
26653 Small typo fixes, doc updates.
26655 2005-05-30 Wim Taymans <wim@fluendo.com>
26657 * gst/gst.c: (gst_init_get_popt_table), (init_post),
26658 (init_popt_callback):
26659 Remove cpu-opt flag.
26661 2005-05-30 Wim Taymans <wim@fluendo.com>
26663 * gst/gstbuffer.c: (gst_subbuffer_finalize),
26664 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
26666 Avoid typechecking in places where not needed.
26667 Added accessor for malloc_data.
26669 2005-05-30 Wim Taymans <wim@fluendo.com>
26671 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
26672 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
26673 (gst_pad_configure_sink), (gst_pad_configure_src),
26674 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
26675 (gst_pad_start_task):
26676 Propagate errors from _set_caps() in configure_src/sink
26677 functions instead of returning TRUE.
26678 FLUSH events can travel up and downstream
26681 2005-05-30 Wim Taymans <wim@fluendo.com>
26683 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
26684 (gst_basesink_activate):
26685 Handle EOS in preroll.
26687 2005-05-30 Wim Taymans <wim@fluendo.com>
26689 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
26690 (gst_queue_loop), (gst_queue_handle_src_event):
26691 Remove old pieces of code
26692 Flushing the queue in an upstream event is a very bad idea.
26694 2005-05-26 Andy Wingo <wingo@pobox.com>
26696 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
26697 gst_value_set_mini_object so as to add a ref on the object (which
26698 will be removed when the value is unset).
26700 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
26701 arg type in ::handoff.
26703 * gst/gstelement.c (gst_element_change_state): Also deactivate
26704 pads in READY->NULL, just in case the element didn't make it to
26705 PAUSED. Wingo tested, Wim approved.
26707 2005-05-26 Wim Taymans <wim@fluendo.com>
26709 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
26710 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
26711 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
26712 A flushing pad cannot be used to alloc_buffer from.
26714 2005-05-26 Wim Taymans <wim@fluendo.com>
26716 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
26717 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
26718 (gst_bus_source_dispatch), (gst_bus_source_finalize),
26719 (gst_bus_create_watch), (gst_bus_add_watch_full):
26721 Implement a real GSource and use g_main_context_wakeup() to
26722 signal new messages instead of the socketpair.
26724 2005-05-25 Wim Taymans <wim@fluendo.com>
26726 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
26727 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
26728 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
26729 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
26730 (gst_pad_send_event), (gst_pad_start_task):
26731 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
26732 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
26733 (gst_queue_sink_activate), (gst_queue_src_activate),
26734 (gst_queue_change_state):
26736 Fix state changes for non sinks. We now change sinks, then elements
26737 with unconnected srcpads, then the rest.
26738 More efficient queue unlocking in flush and state changes.
26739 Set the pad activate mode even if it does not have an activate
26742 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26744 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
26745 Don't go in pull mode for non-seekable sources.
26746 * gst/elements/gsttypefindelement.h:
26747 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
26748 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
26749 (free_entry), (stop_typefinding),
26750 (gst_type_find_element_handle_event), (find_peek),
26751 (gst_type_find_element_chain), (do_pull_typefind),
26752 (gst_type_find_element_change_state):
26753 Allow typefinding (w/o seeking) in push-mode, simplified version
26754 of what was in 0.8.
26755 * gst/gstutils.c: (gst_buffer_join):
26757 gst_buffer_join() from 0.8.
26759 2005-05-25 Wim Taymans <wim@fluendo.com>
26761 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
26762 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
26763 (gst_pad_send_event), (gst_pad_start_task):
26764 Disable attempt at mode switching until it is figured out.
26766 2005-05-25 Wim Taymans <wim@fluendo.com>
26768 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
26769 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
26770 (gst_basesink_finish_preroll), (gst_basesink_chain),
26771 (gst_basesink_loop), (gst_basesink_activate),
26772 (gst_basesink_change_state):
26773 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
26774 (gst_basesrc_get_range), (gst_basesrc_loop),
26775 (gst_basesrc_activate):
26776 * gst/elements/gsttee.c: (gst_tee_sink_activate):
26777 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
26778 (gst_real_pad_init), (gst_real_pad_set_property),
26779 (gst_real_pad_get_property), (gst_pad_set_active),
26780 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
26781 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
26782 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
26783 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
26784 (gst_pad_event_default_dispatch), (gst_pad_event_default),
26785 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
26786 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
26787 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
26788 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
26789 (gst_pad_stop_task):
26791 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
26792 (gst_queue_loop), (gst_queue_src_activate):
26793 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
26794 (gst_task_get_state):
26796 * gst/schedulers/threadscheduler.c:
26797 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
26798 Implement gst_pad_pause/start/stop_task(), take STREAM lock
26800 Remove ACTIVE pad flag, use FLUSHING everywhere
26801 Added _pad_chain(), _pad_get_range() to call chain/getrange
26803 Add locks around IS_FLUSHING when reading.
26804 Take STREAM lock in chain(), get_range() functions so plugins
26805 don't need to take it anymore.
26809 2005-05-25 Wim Taymans <wim@fluendo.com>
26811 * tools/gst-launch.c: (event_loop):
26812 Unref message after using its contents instead of
26815 2005-05-24 Wim Taymans <wim@fluendo.com>
26817 * docs/design/draft-ghostpads.txt:
26818 * docs/design/draft-push-pull.txt:
26819 * docs/design/draft-query.txt:
26820 * docs/design/part-overview.txt:
26821 Docs updates, added general overview doc.
26823 2005-05-21 David Schleef <ds@schleef.org>
26825 * docs/gst/tmpl/old/GstBin.sgml:
26826 * docs/gst/tmpl/old/GstBuffer.sgml:
26827 * docs/gst/tmpl/old/GstCaps.sgml:
26828 * docs/gst/tmpl/old/GstClock.sgml:
26829 * docs/gst/tmpl/old/GstCompat.sgml:
26830 * docs/gst/tmpl/old/GstData.sgml:
26831 * docs/gst/tmpl/old/GstElement.sgml:
26832 * docs/gst/tmpl/old/GstEvent.sgml:
26833 * docs/gst/tmpl/old/GstIndex.sgml:
26834 * docs/gst/tmpl/old/GstStructure.sgml:
26835 * docs/gst/tmpl/old/GstTag.sgml:
26836 * docs/gst/tmpl/old/cothreads.sgml:
26837 * docs/gst/tmpl/old/cothreads_compat.sgml:
26838 * docs/gst/tmpl/old/gettext.sgml:
26839 * docs/gst/tmpl/old/gobject2gtk.sgml:
26840 * docs/gst/tmpl/old/grammar.tab.sgml:
26841 * docs/gst/tmpl/old/gst-i18n-app.sgml:
26842 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
26843 * docs/gst/tmpl/old/gst_private.sgml:
26844 * docs/gst/tmpl/old/gstaggregator.sgml:
26845 * docs/gst/tmpl/old/gstarch.sgml:
26846 * docs/gst/tmpl/old/gstatomic_impl.sgml:
26847 * docs/gst/tmpl/old/gstbufferstore.sgml:
26848 * docs/gst/tmpl/old/gstdata_private.sgml:
26849 * docs/gst/tmpl/old/gstdisksink.sgml:
26850 * docs/gst/tmpl/old/gstdisksrc.sgml:
26851 * docs/gst/tmpl/old/gstelementfactory.sgml:
26852 * docs/gst/tmpl/old/gstextratypes.sgml:
26853 * docs/gst/tmpl/old/gstfakesink.sgml:
26854 * docs/gst/tmpl/old/gstfakesrc.sgml:
26855 * docs/gst/tmpl/old/gstfdsink.sgml:
26856 * docs/gst/tmpl/old/gstfdsrc.sgml:
26857 * docs/gst/tmpl/old/gstfilesink.sgml:
26858 * docs/gst/tmpl/old/gstfilesrc.sgml:
26859 * docs/gst/tmpl/old/gsthttpsrc.sgml:
26860 * docs/gst/tmpl/old/gstidentity.sgml:
26861 * docs/gst/tmpl/old/gstindexfactory.sgml:
26862 * docs/gst/tmpl/old/gstmarshal.sgml:
26863 * docs/gst/tmpl/old/gstmd5sink.sgml:
26864 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
26865 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
26866 * docs/gst/tmpl/old/gstpadtemplate.sgml:
26867 * docs/gst/tmpl/old/gstpipefilter.sgml:
26868 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
26869 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
26870 * docs/gst/tmpl/old/gstshaper.sgml:
26871 * docs/gst/tmpl/old/gstspider.sgml:
26872 * docs/gst/tmpl/old/gstspideridentity.sgml:
26873 * docs/gst/tmpl/old/gststatistics.sgml:
26874 * docs/gst/tmpl/old/gsttee.sgml:
26875 * docs/gst/tmpl/old/gsttimecache.sgml:
26876 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
26877 * docs/gst/tmpl/old/gstxmlregistry.sgml:
26878 * docs/gst/tmpl/old/gthread-cothreads.sgml:
26879 * docs/gst/tmpl/old/types.sgml:
26880 I didn't intend to add these or check them in.
26882 2005-05-19 David Schleef <ds@schleef.org>
26884 * configure.ac: Use -no-common everywhere. In a sane world, it
26885 would be the default in libtool, because without it, you can't
26886 build DLLs on Windows.
26887 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
26888 * docs/gst/gstreamer-sections.txt:
26889 * docs/gst/tmpl/gstcpu.sgml:
26890 * docs/gst/tmpl/gstdata.sgml:
26891 * docs/gst/tmpl/gstthread.sgml:
26893 2005-05-19 David Schleef <ds@schleef.org>
26895 * gst/gstminiobject.c: (gst_value_set_mini_object),
26896 (gst_value_take_mini_object), (gst_value_get_mini_object):
26897 * gst/gstminiobject.h: Add GValue set/get functions.
26899 2005-05-19 Wim Taymans <wim@fluendo.com>
26901 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
26902 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
26903 (gst_subbuffer_init), (gst_buffer_is_span_fast):
26905 * gst/gstbus.c: (gst_bus_post):
26906 * gst/gstelement.c: (gst_element_get_random_pad):
26907 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
26908 Make subbufer unref the parent in finalize.
26909 some more debugging info.
26912 2005-05-19 Wim Taymans <wim@fluendo.com>
26914 * gst/base/gstbasesink.c: (gst_basesink_class_init),
26915 (gst_basesink_init), (gst_basesink_finalize),
26916 (gst_basesink_activate), (gst_basesink_change_state):
26917 Don't free preroll queue too early.
26919 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26923 Hi, I'm outdated. Please shoot me.
26925 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26927 * gst/gstpipeline.c: (gst_pipeline_send_event):
26928 Do not access variables after they have been deleted.
26930 2005-05-19 Wim Taymans <wim@fluendo.com>
26932 * tools/gst-inspect.c: (print_plugin_features):
26933 A plugin feature does unfortunatly not use the
26936 2005-05-18 Wim Taymans <wim@fluendo.com>
26938 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
26939 Port _span() functions to new subbuffers.
26941 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26943 * gst/gstbin.c: (gst_bin_add_func):
26944 Fix clock settery in bins when adding kids after the clock has
26947 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26949 * gst/elements/gstidentity.c: (gst_identity_class_init):
26950 Workaround until signals support GstMiniObject.
26952 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
26955 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
26957 2005-05-18 Wim Taymans <wim@fluendo.com>
26959 * gst/base/Makefile.am:
26960 * gst/base/gstadapter.c: (gst_adapter_base_init),
26961 (gst_adapter_class_init), (gst_adapter_init),
26962 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
26963 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
26964 (gst_adapter_flush), (gst_adapter_available),
26965 (gst_adapter_available_fast):
26966 * gst/base/gstadapter.h:
26967 Ported and added adapter to the base classes.
26969 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
26972 * gst/gstmessage.c:
26973 Make sure the class is reffed/unreffed once before threads can be
26974 used. Fixes #304551.
26976 2005-05-17 Wim Taymans <wim@fluendo.com>
26978 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
26979 (gst_basesink_chain_unlocked), (gst_basesink_activate):
26980 * gst/gstminiobject.c: (gst_mini_object_get_type),
26981 (gst_mini_object_free):
26982 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
26983 (gst_pad_push), (gst_pad_push_event):
26984 * gst/gstqueue.c: (gst_queue_change_state):
26985 Don't queue buffers in basesink when we are flushing.
26986 Unref buffer when flushing in basesink.
26987 Flush queue when going to READY
26988 Unref buffer when _push() returns an error.
26989 Don't free MiniObject instance when refcount is incremented
26990 in _finalize() so that we can recover objects.
26992 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
26994 * docs/manual/advanced-schedulers.xml:
26995 * docs/manual/appendix-checklist.xml:
26996 * docs/pwg/advanced-clock.xml:
26997 * docs/pwg/advanced-interfaces.xml:
26998 * docs/pwg/advanced-request.xml:
26999 * docs/pwg/advanced-types.xml:
27000 * docs/pwg/intro-preface.xml:
27001 * examples/plugins/example.c: (gst_example_get_type),
27002 (gst_example_class_init), (gst_example_chain),
27003 (gst_example_set_property), (gst_example_get_property),
27004 (gst_example_change_state), (plugin_init):
27005 * examples/plugins/example.h:
27008 2005-05-17 Wim Taymans <wim@fluendo.com>
27010 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
27011 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
27012 * gst/gstqueue.c: (gst_queue_change_state):
27013 Clear queue when going to READY.
27014 Remove IN_SETCAPS flag too.
27016 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
27018 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
27019 Remove implicit cast from gboolean to GstElementStateReturn;
27020 make sure we still return failure in paused => ready case if
27021 the parent class fails to change state and our own stop
27024 2005-05-17 Wim Taymans <wim@fluendo.com>
27026 * tools/gst-launch.c: (event_loop):
27027 Message was unreffed too soon.
27029 2005-05-16 Andy Wingo <wingo@pobox.com>
27031 * gst/gstbin.c (sink_iterator_filter): Err... um...
27033 * check/gst/gstbin.c (test_ghost_pads): New test for the
27034 ghosting-if-elements-not-in-same-bin behavior.
27036 2005-05-16 David Schleef <ds@schleef.org>
27038 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
27039 accessing refcount directly.
27041 2005-05-15 David Schleef <ds@schleef.org>
27043 * check/Makefile.am: remove GstData checks
27044 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
27045 * gst/Makefile.am: add miniobject, remove data
27046 * gst/gst.h: add miniobject, remove data
27047 * gst/gstdata.c: remove
27048 * gst/gstdata.h: remove
27049 * gst/gstdata_private.h: remove
27050 * gst/gsttypes.h: remove GstEvent and GstMessage
27051 * gst/gstelement.c: (gst_element_post_message): fix for API changes
27052 * gst/gstmarshal.list: change BOXED -> OBJECT
27054 Implement GstMiniObject.
27055 * gst/gstminiobject.c:
27056 * gst/gstminiobject.h:
27058 Modify to be subclasses of GstMiniObject.
27059 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
27060 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
27061 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
27062 (gst_subbuffer_get_type), (gst_subbuffer_init),
27063 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
27066 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
27067 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
27068 (_gst_event_copy), (gst_event_new):
27070 * gst/gstmessage.c: (_gst_message_initialize),
27071 (gst_message_get_type), (gst_message_class_init),
27072 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
27073 (gst_message_new), (gst_message_new_error),
27074 (gst_message_new_warning), (gst_message_new_tag),
27075 (gst_message_new_state_changed), (gst_message_new_application):
27076 * gst/gstmessage.h:
27077 * gst/gstprobe.c: (gst_probe_perform),
27078 (gst_probe_dispatcher_dispatch):
27080 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
27081 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
27082 (_gst_query_copy), (gst_query_new):
27084 Update elements for GstData -> GstMiniObject changes
27086 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
27087 (gst_queue_chain), (gst_queue_loop):
27088 * gst/elements/gstbufferstore.c:
27089 (gst_buffer_store_add_buffer_func),
27090 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
27091 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
27092 (gst_fakesink_render):
27093 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
27094 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
27095 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
27096 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
27097 (gst_filesrc_create_read):
27098 * gst/elements/gstidentity.c: (gst_identity_class_init):
27099 * gst/elements/gsttypefindelement.c:
27100 (gst_type_find_element_src_event), (free_entry_buffers),
27101 (gst_type_find_element_handle_event):
27102 * libs/gst/dataprotocol/dataprotocol.c:
27103 (gst_dp_header_from_buffer):
27104 * libs/gst/dataprotocol/dataprotocol.h:
27105 * libs/gst/dataprotocol/dp-private.h:
27107 2005-05-15 David Schleef <ds@schleef.org>
27109 * gst/elements/gstelements.c: Don't include headers that were
27112 2005-05-15 David Schleef <ds@schleef.org>
27114 * gst/elements/Makefile.am: Remove some elements that don't
27115 need to be in the core (or even exist at all).
27116 * gst/elements/gstaggregator.c:
27117 * gst/elements/gstaggregator.h:
27118 * gst/elements/gstmd5sink.c:
27119 * gst/elements/gstmd5sink.h:
27120 * gst/elements/gstmultifilesrc.c:
27121 * gst/elements/gstmultifilesrc.h:
27122 * gst/elements/gstpipefilter.c:
27123 * gst/elements/gstpipefilter.h:
27124 * gst/elements/gstshaper.c:
27125 * gst/elements/gstshaper.h:
27126 * gst/elements/gststatistics.c:
27127 * gst/elements/gststatistics.h:
27128 * po/POTFILES.in: Remove above files.
27130 2005-05-14 Andy Wingo <wingo@pobox.com>
27132 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
27133 so as to get the refs right.
27134 (sink_iterator_filter): New function, wraps bin_element_is_sink,
27135 unreffing objects that don't pass the filter.
27137 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
27138 gst_element_set_bus.
27139 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
27140 normal cases, this will destroy the bus.
27142 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
27145 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
27148 2005-05-13 Andy Wingo <wingo@pobox.com>
27150 * gst/gstutils.c (gst_element_link_pads): Instead of calling
27151 gst_pad_link, call pad_link_maybe_ghosting,
27152 (pad_link_maybe_ghosting): Links pads, making sure that the
27153 elements being linked are in the same bin.
27154 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
27155 Helpers for pad_link_maybe_ghosting.
27157 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
27160 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
27162 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
27164 * docs/design/part-element-source.txt:
27167 2005-05-12 Wim Taymans <wim@fluendo.com>
27169 * gst/base/gstbasesink.c: (gst_basesink_init),
27170 (gst_basesink_activate):
27171 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
27172 (gst_basesrc_is_seekable):
27173 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
27174 (bin_element_is_sink), (gst_bin_change_state):
27175 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
27176 * gst/gstelement.h:
27177 Identify sinks by their flag to avoid overly complicated
27179 Do state changes even for elements not reachable from the
27181 BaseSink is a sink now :)
27182 Some more debugging info in the basesrc.
27185 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27187 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
27188 Implement _query on a bin, similar to _send_event.
27190 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
27192 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
27193 Discont event offset format should be GST_FORMAT_BYTES,
27194 not GST_FORMAT_TIME.
27196 2005-05-12 Wim Taymans <wim@fluendo.com>
27198 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
27199 Same fix as Ronald's but without the signal.
27201 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27203 * gst/gstutils.c: (gst_element_query_position):
27204 No, an element is not a pad.
27206 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27208 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
27209 (gst_bin_get_state):
27210 If a child is removed from a bin while we remove the child from
27211 the bin and while we're retrieving its state, signal this to the
27212 get_state function so we abort the wait (instead of waiting for
27213 a timeout) and can immediately re-iterate over all other elements.
27215 2005-05-12 Wim Taymans <wim@fluendo.com>
27217 * gst/base/Makefile.am:
27218 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
27219 (gst_basesrc_start):
27220 * gst/base/gstbasesrc.h:
27221 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
27222 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
27223 (gst_pushsrc_init), (gst_pushsrc_create):
27224 * gst/base/gstpushsrc.h:
27225 Added is_seekable to BaseSrc
27226 Added simple PushSrc.
27228 2005-05-11 Wim Taymans <wim@fluendo.com>
27230 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
27231 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
27232 (gst_element_link_pads), (gst_element_query_position),
27233 (gst_element_query_convert), (intersect_caps_func),
27234 (gst_pad_query_position), (gst_pad_query_convert):
27235 Fix refcounting in utils function.
27236 No point in trying to activate a pad when it's added, it could
27237 be added from the state change function and then we deadlock, the
27238 element has to decide what to do.
27240 2005-05-10 Andy Wingo <wingo@pobox.com>
27242 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
27243 *all* the arguments.
27245 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
27246 stream lock if it's a FLUSH_DONE; normal flushes don't get the
27247 lock (according to the docs -- if this is wrong change the docs).
27249 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
27250 flush messages in the NULL state.
27252 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
27253 message immediately and return.
27254 (gst_bus_set_flushing): New function. If a bus is flushing, it
27255 flushes out any queued messages and immediately unrefs new
27256 messages. This is so when an element goes to NULL, all of the
27257 unhandled messages coming from it can be freed, and their
27258 references to the element dropped. In other words: message source
27259 ref considered harmful :P
27261 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
27262 we're finished with it.
27264 * gst/gstmessage.c (gst_message_new_state_changed):
27266 2005-05-10 Wim Taymans <wim@fluendo.com>
27268 * gst/gstvalue.c: (gst_value_compare_flags),
27269 (gst_value_serialize_flags), (gst_value_deserialize_flags),
27270 (_gst_value_initialize):
27271 Added flags serialize/deserialize/compare code.
27273 2005-05-09 Andy Wingo <wingo@pobox.com>
27275 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
27276 Intersect the peer's caps with our caps.
27278 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27280 * gst/base/gsttypefindhelper.c: (helper_find_peek):
27281 * gst/elements/gsttypefindelement.c: (find_peek):
27282 Handle negative offsets better. Fixes decodebin.
27284 2005-05-09 Wim Taymans <wim@fluendo.com>
27286 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
27287 (gst_base_transform_event):
27288 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
27289 Implement accept_caps.
27290 Fix silly lock/unlock mismatch in base class.
27292 2005-05-09 Wim Taymans <wim@fluendo.com>
27294 * docs/design/draft-push-pull.txt:
27295 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
27296 * gst/elements/gstfilesink.c: (gst_filesink_init),
27297 (gst_filesink_query):
27298 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
27299 (gst_type_find_handle_src_query), (find_element_get_length):
27300 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
27301 * gst/gstelement.h:
27302 * gst/gstmessage.c:
27303 * gst/gstmessage.h:
27304 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
27305 (gst_real_pad_get_caps_unlocked),
27306 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
27307 (gst_pad_event_default_dispatch), (gst_pad_event_default),
27308 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
27309 (gst_real_pad_dispose), (gst_real_pad_finalize),
27310 (gst_pad_load_and_link), (gst_pad_save_thyself),
27311 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
27312 (gst_pad_check_pull_range), (gst_pad_pull_range),
27313 (gst_pad_template_get_type), (gst_pad_template_class_init),
27314 (gst_pad_template_init), (gst_pad_template_dispose),
27315 (name_is_valid), (gst_static_pad_template_get),
27316 (gst_pad_template_new), (gst_static_pad_template_get_caps),
27317 (gst_pad_template_get_caps), (gst_pad_set_element_private),
27318 (gst_pad_get_element_private), (gst_pad_start_task),
27319 (gst_pad_pause_task), (gst_pad_stop_task),
27320 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
27321 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
27322 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
27323 (gst_ghost_pad_new):
27325 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
27326 (gst_query_new_position), (gst_query_set_position),
27327 (gst_query_parse_position), (gst_query_new_convert),
27328 (gst_query_set_convert), (gst_query_parse_convert):
27330 * gst/gstqueryutils.c:
27331 * gst/gstqueryutils.h:
27332 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
27333 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
27334 (gst_queue_handle_src_query):
27335 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
27336 (gst_element_query_position), (gst_element_query_convert),
27337 (intersect_caps_func), (gst_pad_query_position),
27338 (gst_pad_query_convert):
27340 * tools/gst-inspect.c: (print_pad_info):
27341 * tools/gst-xmlinspect.c: (print_element_info):
27342 Remove old query functions. Ported old code.
27343 Added position/convert helper functions to gstutils.
27344 Reordered gstpad.c code, grouping relevant things.
27345 Remove gst_message_new(), always need to speficy a specific
27349 2005-05-09 Andy Wingo <wingo@pobox.com>
27351 * gst/gstiterator.h: Add some includes.
27353 * gst/gstqueryutils.h: Include more headers.
27356 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
27357 some uses of gst_pad_query.
27359 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
27360 NULL out parameters.
27361 (gst_query_new_position): New proc, allocates a new position
27364 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
27365 gstqueryutils.c to the build.
27367 * gst/gststructure.c (gst_structure_set_valist): Implement with
27368 the generic G_VALUE_COLLECT.
27370 2005-05-08 Edward Hervey <bilboed@bilboed.com>
27372 * gst/Makefile.am: (gst_headers):
27373 Added gstqueryutils.h to the list of headers to install, that was
27374 a 'nachty' move wingo :)
27376 2005-05-06 Andy Wingo <wingo@pobox.com>
27379 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
27380 GstData, init a memchunk.
27381 (standard_definitions): Add a few query types, deprecate a few.
27382 (gst_query_get_type): New proc.
27383 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
27385 (gst_query_new_application, gst_query_get_structure): New public
27388 * docs/design/draft-query.txt: Removed LINKS from the query types,
27389 because all the rest can be dispatched to other pads -- seemed
27390 ugly to have a query that couldn't be dispatched. internal_links
27391 is fine as a pad method.
27393 * gst/gstpad.h: Add query2 as a pad method, add the new functions
27394 in gstpad.c, but maintain binary compatibility for the moment.
27395 Will fix before 0.9 is out.
27397 * gst/gstqueryutils.c:
27398 * gst/gstqueryutils.h: New files, implement 3 methods for each
27399 query type: parse_query, parse_response, and set. Probably need an
27402 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
27404 * gst/elements/gstfilesink.c (gst_filesink_query2):
27405 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
27406 query_types, and formats methods.
27408 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
27409 (gst_pad_set_query2_function): New functions.
27410 (gst_real_pad_init): Set query2_default as the default query2
27411 function. Basically just dispatches to internally linked pads.
27415 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
27416 without using the atomic operations. Only one thread can possibly
27417 be accessing the data at this point. Changed so as to avoid
27418 gst_atomic operations.
27420 2005-05-06 Wim Taymans <wim@fluendo.com>
27422 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
27423 Also set caps if we use the fallback buffer alloc.
27425 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
27427 * docs/gst/Makefile.am:
27428 * docs/gst/gstreamer-docs.sgml:
27429 * docs/gst/gstreamer-sections.txt:
27430 * docs/gst/tmpl/gstatomic.sgml:
27431 * docs/gst/tmpl/gstmemchunk.sgml:
27432 * testsuite/elements/struct_i386.h:
27433 * win32/GStreamer.vcproj:
27435 Purge GstAtomic stuff from docs and win32 makefiles as well
27437 2005-05-06 Wim Taymans <wim@fluendo.com>
27439 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
27440 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
27441 * gst/gstpad.c: (gst_pad_peer_get_caps):
27442 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
27443 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
27444 (gst_queue_src_activate), (gst_queue_change_state):
27446 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
27447 (intersect_caps_func):
27448 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
27449 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
27450 Some fixes for the peer_get_caps() change.
27452 2005-05-06 Wim Taymans <wim@fluendo.com>
27454 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
27455 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
27456 (gst_basesink_activate):
27457 Actually do something with error codes returned from the push
27460 2005-05-06 Wim Taymans <wim@fluendo.com>
27462 * docs/design/part-element-sink.txt:
27463 * docs/design/part-element-source.txt:
27464 * gst/base/gstbasesink.c: (gst_basesink_class_init),
27465 (gst_basesink_event), (gst_basesink_activate):
27466 * gst/base/gstbasesink.h:
27467 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
27468 (gst_basesrc_activate):
27469 * gst/base/gstbasesrc.h:
27470 * gst/gstelement.c: (gst_element_pads_activate):
27471 Some more documentation.
27472 Fixed scheduling decision in _pads_activate().
27474 2005-05-05 Andy Wingo <wingo@pobox.com>
27476 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
27479 2005-05-05 Wim Taymans <wim@fluendo.com>
27481 * gst/base/Makefile.am:
27482 * gst/base/gstbasesink.h:
27483 * gst/base/gstbasesrc.c: (gst_basesrc_init),
27484 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
27485 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
27486 (gst_collectpads_class_init), (gst_collectpads_init),
27487 (gst_collectpads_finalize), (gst_collectpads_new),
27488 (gst_collectpads_set_function), (gst_collectpads_add_pad),
27489 (find_pad), (gst_collectpads_remove_pad),
27490 (gst_collectpads_is_active), (gst_collectpads_collect),
27491 (gst_collectpads_collect_range), (gst_collectpads_start),
27492 (gst_collectpads_stop), (gst_collectpads_peek),
27493 (gst_collectpads_pop), (gst_collectpads_available),
27494 (gst_collectpads_read), (gst_collectpads_flush),
27495 (gst_collectpads_chain):
27496 * gst/base/gstcollectpads.h:
27497 * gst/elements/Makefile.am:
27498 * gst/elements/gstelements.c:
27499 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
27500 (gst_fakesink_get_times), (gst_fakesink_event),
27501 (gst_fakesink_preroll), (gst_fakesink_render):
27502 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
27503 (gst_filesink_init), (gst_filesink_set_location),
27504 (gst_filesink_open_file), (gst_filesink_close_file),
27505 (gst_filesink_pad_query), (gst_filesink_event),
27506 (gst_filesink_render), (gst_filesink_change_state):
27507 * gst/elements/gstfilesink.h:
27508 Added object to help in making collect pad based elements.
27510 Make event function in sink baseclass return gboolean.
27512 2005-05-05 Wim Taymans <wim@fluendo.com>
27514 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
27515 (gst_bin_get_by_name):
27517 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
27518 (gst_clock_finalize):
27519 * gst/gstdata.c: (gst_data_replace):
27521 * gst/gstelement.c: (gst_element_request_pad),
27522 (gst_element_pads_activate):
27523 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
27524 (gst_object_unref):
27525 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
27526 (gst_pad_set_checkgetrange_function),
27527 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
27528 (gst_pad_check_pull_range), (gst_pad_pull_range),
27529 (gst_static_pad_template_get_caps), (gst_pad_start_task),
27530 (gst_pad_pause_task), (gst_pad_stop_task):
27531 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
27532 (gst_element_request_pad), (gst_pad_proxy_getcaps):
27533 Fix name lookup in GstBin.
27534 Added _data_replace() function and _buffer_replace()
27535 Use finalize method to clean up clock.
27536 Fix refcounting on request pads.
27537 Fix pad schedule mode error.
27538 Some more object refcounting debug info,
27541 2005-05-04 Andy Wingo <wingo@pobox.com>
27543 * check/Makefile.am:
27544 * docs/gst/tmpl/gstatomic.sgml:
27545 * docs/gst/tmpl/gstplugin.sgml:
27546 * gst/base/gstbasesink.c: (gst_basesink_activate):
27547 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
27548 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
27549 (gst_basesrc_query), (gst_basesrc_set_property),
27550 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
27551 (gst_basesrc_activate):
27552 * gst/base/gstbasesrc.h:
27553 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
27554 (gst_base_transform_src_activate):
27555 * gst/elements/gstelements.c:
27556 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27557 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
27558 * gst/elements/gsttee.c: (gst_tee_sink_activate):
27559 * gst/elements/gsttypefindelement.c: (find_element_get_length),
27560 (gst_type_find_element_checkgetrange),
27561 (gst_type_find_element_activate):
27562 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
27563 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
27564 (gst_caps_load_thyself):
27565 * gst/gstelement.c: (gst_element_pads_activate),
27566 (gst_element_save_thyself), (gst_element_restore_thyself):
27567 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
27568 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
27570 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
27571 (gst_xml_parse_file), (gst_xml_parse_memory),
27572 (gst_xml_get_element), (gst_xml_make_element):
27573 * gst/indexers/gstfileindex.c: (gst_file_index_load),
27574 (_file_index_id_save_xml), (gst_file_index_commit):
27575 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
27576 (read_enum), (load_pad_template), (load_feature), (load_plugin),
27578 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
27579 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
27580 * tools/gst-complete.c: (main):
27581 * tools/gst-compprep.c: (main):
27582 * tools/gst-inspect.c: (print_element_properties_info):
27583 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
27584 * tools/gst-xmlinspect.c: (print_element_properties):
27587 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
27589 * gst/gstplugin.c: (gst_plugin_check_module),
27590 (gst_plugin_check_file), (gst_plugin_load_file):
27591 apply patch from #172526 to make register work on MacOSX
27593 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
27595 * docs/gst/tmpl/gstconfig.sgml:
27596 * gst/gstconfig.h.in:
27597 move documentation for some symbols. Add doc for GST_PTR_FORMAT
27598 * testsuite/debug/printf_extension.c: (main):
27599 Do not use GST_PTR_FORMAT on pointers to types with
27600 sizeof < sizeof(gpointer). Fixes test on 64-bit
27601 * testsuite/elements/property.h:
27602 use correct printf format
27604 2005-05-02 Wim Taymans <wim@fluendo.com>
27606 * docs/design/draft-push-pull.txt:
27607 * docs/design/draft-query.txt:
27608 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
27609 (gst_basesrc_start):
27610 Added draft for new query API.
27611 Added draft for better selecting scheduling methods.
27612 Make basesrc ignore length if the subclass does not support
27615 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
27618 possible fixes for automake-1.5 - _LIBADD is reserved
27620 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
27622 * docs/faq/Makefile.am:
27623 * docs/manual/Makefile.am:
27624 * docs/manuals.mak:
27625 * docs/pwg/Makefile.am:
27627 possible fixes for automake-1.5
27629 2005-04-28 Wim Taymans <wim@fluendo.com>
27631 * gst/base/gstbasesink.c: (gst_basesink_base_init),
27632 (gst_basesink_pad_getcaps), (gst_basesink_init),
27633 (gst_basesink_do_sync):
27634 * gst/gstclock.c: (gst_clock_entry_new):
27635 * gst/gstevent.c: (gst_event_discont_get_value):
27636 * gst/gstpipeline.c: (pipeline_bus_handler),
27637 (gst_pipeline_change_state):
27638 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
27639 Better debugging of clocking info.
27640 Allow NULL values when getting discont values.
27642 2005-04-27 Wim Taymans <wim@fluendo.com>
27644 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
27645 * check/gst/gstpad.c: (gst_pad_suite):
27646 Increase timeout for checks.
27648 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
27650 * check/Makefile.am:
27651 fix the broken rule for cleanup. Apparently this rule is
27652 only needed on FC2, so maybe this warrants further autotool
27655 2005-04-26 Wim Taymans <wim@fluendo.com>
27657 * gst/gsttrashstack.h:
27658 Ooohh. a nasty one! After having a failed pop() from the stack,
27659 it's possible that the stack is empty. In that case, don't
27660 follow the NULL pointer.
27662 2005-04-25 Wim Taymans <wim@fluendo.com>
27664 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
27665 (gst_pad_set_checkgetrange_function),
27666 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
27667 (gst_pad_check_pull_range), (gst_pad_pull_range),
27668 (gst_static_pad_template_get_caps), (gst_pad_start_task),
27669 (gst_pad_pause_task), (gst_pad_stop_task):
27670 * gst/gstplugin.c: (gst_plugin_load):
27672 Remove gst_library_load as it does more harm than good with
27673 the new g_module flags.
27674 Revert bogus caps template check in pad linking, pad caps
27675 are important when linking not the template, which is more
27676 general than the current caps.
27678 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27680 * gst/autoplug/.cvsignore:
27681 * gst/autoplug/Makefile.am:
27682 * gst/autoplug/gstsearchfuncs.c:
27683 * gst/autoplug/gstsearchfuncs.h:
27684 * gst/autoplug/gstspider.c:
27685 * gst/autoplug/gstspider.h:
27686 * gst/autoplug/gstspideridentity.c:
27687 * gst/autoplug/gstspideridentity.h:
27688 * gst/autoplug/spidertest.c:
27691 2005-04-25 Wim Taymans <wim@fluendo.com>
27693 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
27694 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
27695 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
27696 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
27698 Added stubs for unimplemented functions.
27700 2005-04-24 David Schleef <ds@schleef.org>
27702 * gst/gstpad.h: Disable some unimplemented functions. Wim,
27705 2005-04-24 David Schleef <ds@schleef.org>
27707 Convert everything from GstAtomicInt to g_atomic_int_*, and
27712 * gst/gstatomic_impl.h:
27720 * gst/gstdata_private.h:
27724 * gst/gstmessage.c:
27727 * gst/gststructure.c:
27728 * gst/gststructure.h:
27729 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
27732 2005-04-24 David Schleef <ds@schleef.org>
27734 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
27735 make the regressions tests work. Remove some code that is no
27737 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
27738 Disable warning for pads without templates.
27740 2005-04-24 David Schleef <ds@schleef.org>
27742 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
27743 functions that handle filtered links.
27744 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
27746 * gst/gstutils.c: Fix/remove utility functions that handle
27749 * gst/gstvalue.c: Add serialization/deserialization of caps
27750 * gst/parse/grammar.y: Ignore filtered caps when linking. This
27751 requires fixing so that the filter caps notation creates
27752 a capsfilter element and sets the filter_caps property. I
27753 think everyone probably wants to keep the shorthand notation.
27754 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
27755 * docs/gst/tmpl/gstpad.sgml:
27757 * gst/elements/gstelements.c: Register capsfilter element.
27758 * gst/Makefile.am: fix spacing
27759 * docs/random/ds/0.9-suggested-changes: random
27761 2005-04-23 David Schleef <ds@schleef.org>
27763 * gst/elements/Makefile.am:
27764 * gst/elements/gstcapsfilter.c: New element that acts like an
27765 identity, but filters caps. Will eventually replace filtered
27766 caps in pad linking.
27767 * gst/gstutils.c: (gst_element_create_all_pads): New function
27768 to create all the ALWAYS pads that are registered with an
27769 element class. This functionality should eventually be
27770 merged in with GstElement initialization.
27772 * testsuite/trigger/README: part of trigger test code that should
27773 have been checked in a long time ago.
27775 2005-04-23 David Schleef <ds@schleef.org>
27777 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
27778 needed with new versions of libtool (nobody will confirm this),
27779 and hard to carry around.
27780 * gst/autoplug/Makefile.am:
27781 * gst/base/Makefile.am:
27782 * gst/elements/Makefile.am:
27783 * gst/indexers/Makefile.am:
27784 * gst/schedulers/Makefile.am:
27785 * libs/gst/bytestream/Makefile.am:
27786 * libs/gst/control/Makefile.am:
27787 * libs/gst/dataprotocol/Makefile.am:
27788 * libs/gst/getbits/Makefile.am:
27790 2005-04-21 Wim Taymans <wim@fluendo.com>
27792 * docs/design/draft-push-pull.txt:
27793 * docs/design/part-MT-refcounting.txt:
27794 * docs/design/part-TODO.txt:
27795 * docs/design/part-caps.txt:
27796 * docs/design/part-events.txt:
27797 * docs/design/part-gstbus.txt:
27798 * docs/design/part-gstpipeline.txt:
27799 * docs/design/part-messages.txt:
27800 * docs/design/part-push-pull.txt:
27801 * docs/design/part-query.txt:
27804 2005-04-21 Wim Taymans <wim@fluendo.com>
27806 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
27807 (gst_message_new), (gst_message_new_error),
27808 (gst_message_new_warning), (gst_message_new_tag),
27809 (gst_message_new_state_changed), (gst_message_new_application),
27810 (gst_message_get_structure):
27811 * gst/gstmessage.h:
27812 * gst/gststructure.c: (gst_structure_set_parent_refcount),
27813 (gst_structure_copy_conditional):
27814 Use parent refcount in GstMessage to ensure GstStructure
27816 Cleaned up headers a bit.
27819 2005-04-20 Wim Taymans <wim@fluendo.com>
27821 * gst/base/gstbasesink.c: (gst_basesink_base_init),
27822 (gst_basesink_pad_getcaps), (gst_basesink_init),
27823 (gst_basesink_chain_unlocked):
27824 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
27825 (gst_type_find_helper):
27826 * gst/elements/gsttypefindelement.c:
27827 (gst_type_find_element_have_type), (gst_type_find_element_init),
27828 (stop_typefinding), (gst_type_find_element_handle_event),
27829 (find_suggest), (gst_type_find_element_chain),
27830 (gst_type_find_element_checkgetrange),
27831 (gst_type_find_element_getrange), (do_typefind),
27832 (gst_type_find_element_activate):
27833 * gst/gstbuffer.c: (_gst_buffer_sub_free),
27834 (gst_buffer_default_free), (gst_buffer_default_copy),
27835 (gst_buffer_set_caps):
27836 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
27837 (gst_caps_replace):
27838 * gst/gstmessage.c: (gst_message_new),
27839 (gst_message_new_state_changed):
27840 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
27841 (gst_pad_set_checkgetrange_function),
27842 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
27843 (gst_pad_set_caps), (gst_pad_check_pull_range),
27844 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
27846 * gst/gsttypefind.c: (gst_type_find_register):
27847 Make gst_caps_replace() work like other _replace() functions.
27848 Use _caps_replace() where possible.
27849 Make sure _message_new() initialises its field.
27850 Add gst_static_pad_template_get_caps()
27853 2005-04-18 Andy Wingo <wingo@pobox.com>
27855 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
27856 on the peer, not the pad. I think that was a typo. Pass an extra
27857 arg to see if random access is possible. Activate the pads as
27858 PULL_RANGE if possible.
27860 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
27862 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
27863 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
27866 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27868 * docs/faq/using.xml:
27869 Add note on gstreamer-properties (#154996).
27871 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27873 * docs/random/bbb/optional-properties:
27874 Some analysis on optional properties.
27876 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27878 * docs/gst/tmpl/gstelementfactory.sgml:
27879 * gst/gstelement.h:
27880 * gst/gstelementfactory.c: (gst_element_factory_init),
27881 (gst_element_factory_cleanup), (gst_element_register),
27882 (__gst_element_factory_add_static_pad_template),
27883 (gst_element_factory_get_static_pad_templates),
27884 (gst_element_factory_can_src_caps),
27885 (gst_element_factory_can_sink_caps):
27886 * gst/registries/Makefile.am:
27887 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
27888 (gst_xml_registry_class_init), (gst_xml_registry_init),
27889 (gst_xml_registry_new), (gst_xml_registry_set_property),
27890 (gst_xml_registry_get_property), (get_time), (make_dir),
27891 (gst_xml_registry_get_perms_func),
27892 (plugin_times_older_than_recurse), (plugin_times_older_than),
27893 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
27894 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
27895 (add_to_char_array), (read_string), (read_uint), (read_enum),
27896 (load_pad_template), (load_feature), (load_plugin), (load_paths),
27897 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
27898 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
27899 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
27900 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
27901 (gst_xml_registry_rebuild):
27902 * gst/registries/gstlibxmlregistry.h:
27903 * tools/gst-compprep.c: (main):
27904 * tools/gst-inspect.c: (print_pad_templates_info):
27905 * tools/gst-xmlinspect.c: (print_element_info):
27906 Use libxml2 for registry parsing, use staticpadtemplates in
27907 elementfactories. Makes gst_init() +/- 10x faster.
27909 2005-04-12 Wim Taymans <wim@fluendo.com>
27911 * gst/base/Makefile.am:
27912 * gst/base/gstbasesink.c: (gst_basesink_base_init),
27913 (gst_basesink_pad_getcaps), (gst_basesink_init),
27914 (gst_basesink_event), (gst_basesink_change_state):
27915 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
27916 (gst_basesrc_init), (gst_basesrc_query),
27917 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
27918 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
27919 (gst_basesrc_check_get_range), (gst_basesrc_loop),
27920 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
27921 (gst_basesrc_stop), (gst_basesrc_activate),
27922 (gst_basesrc_change_state):
27923 * gst/base/gsttypefindhelper.c: (helper_find_peek),
27924 (helper_find_suggest), (gst_type_find_helper):
27925 * gst/base/gsttypefindhelper.h:
27926 * gst/elements/Makefile.am:
27927 * gst/elements/gstelements.c:
27928 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
27929 (gst_fakesink_get_times), (gst_fakesink_event),
27930 (gst_fakesink_preroll), (gst_fakesink_render):
27931 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27932 (gst_fakesrc_init), (gst_fakesrc_event_handler),
27933 (gst_fakesrc_get_property), (gst_fakesrc_create),
27934 (gst_fakesrc_start), (gst_fakesrc_stop):
27935 * gst/elements/gstfakesrc.h:
27936 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
27937 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
27938 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
27939 (gst_filesrc_create_read), (gst_filesrc_create),
27940 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
27941 (gst_filesrc_start):
27942 * gst/elements/gsttypefindelement.c:
27943 (gst_type_find_element_have_type), (gst_type_find_element_init),
27944 (start_typefinding), (stop_typefinding), (push_buffer_store),
27945 (gst_type_find_element_handle_event),
27946 (gst_type_find_element_chain),
27947 (gst_type_find_element_checkgetrange),
27948 (gst_type_find_element_getrange), (do_typefind),
27949 (gst_type_find_element_activate),
27950 (gst_type_find_element_change_state):
27951 * gst/elements/gsttypefindelement.h:
27952 * gst/gstpipeline.c: (pipeline_bus_handler):
27953 Added typefind helper.
27954 Small preroll fix in the base sink.
27955 Disable typefind code in basesrc.
27956 Crude port of typefindelement.
27960 2005-04-11 Wim Taymans <wim@fluendo.com>
27962 * check/gst/gstbus.c: (gstbus_suite):
27963 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
27964 * check/gstcheck.h:
27965 Fix up the timeout so that the test does not fail.
27967 2005-04-06 Wim Taymans <wim@fluendo.com>
27970 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
27971 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
27972 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
27973 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
27974 (gst_basesrc_check_get_range), (gst_basesrc_loop),
27975 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
27976 (gst_basesrc_stop), (gst_basesrc_activate),
27977 (gst_basesrc_change_state), (basesrc_find_peek),
27978 (basesrc_find_suggest), (gst_basesrc_type_find):
27979 * gst/base/gstbasesrc.h:
27980 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
27981 (gst_filesrc_class_init), (gst_filesrc_init),
27982 (gst_filesrc_finalize), (gst_filesrc_set_location),
27983 (gst_filesrc_set_property), (gst_filesrc_get_property),
27984 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
27985 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
27986 (gst_filesrc_create_read), (gst_filesrc_create),
27987 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
27988 * gst/elements/gstfilesrc.h:
27989 * gst/gstelement.c: (gst_element_get_state_func),
27990 (gst_element_lost_state), (gst_element_pads_activate):
27991 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
27992 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
27993 (gst_pad_pull_range):
27995 More work on the generic source base class, implement seeking,
27997 Make filesrc extend the base source class.
27998 Added gst_pad_set_checkgetrange_function to GstPad.
28000 2005-04-06 Andy Wingo <wingo@pobox.com>
28002 * pkgconfig/gstreamer-base.pc.in:
28003 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
28005 * pkgconfig/Makefile.am:
28006 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
28008 2005-04-04 Wim Taymans <wim@fluendo.com>
28010 * gst/base/Makefile.am:
28012 * gst/base/gstbasesink.c: (gst_basesink_base_init),
28013 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
28014 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
28015 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
28016 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
28017 (gst_basesrc_base_init), (gst_basesrc_class_init),
28018 (gst_basesrc_init), (gst_basesrc_get_formats),
28019 (gst_basesrc_get_query_types), (gst_basesrc_query),
28020 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
28021 (gst_basesrc_set_property), (gst_basesrc_get_property),
28022 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
28023 (gst_basesrc_loop), (gst_basesrc_activate),
28024 (gst_basesrc_change_state):
28025 * gst/base/gstbasesrc.h:
28026 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
28027 (gst_fakesrc_class_init), (gst_fakesrc_init),
28028 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
28029 (gst_fakesrc_get_property), (gst_fakesrc_create):
28030 * gst/elements/gstfakesrc.h:
28031 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
28032 (gst_filesrc_open_file), (gst_filesrc_loop),
28033 (gst_filesrc_activate), (filesrc_find_peek),
28034 (gst_filesrc_type_find):
28035 Made base source class, make fakesrc extend it.
28036 Add comments to basesink class.
28037 Some filesrc cleanup.
28039 2005-03-31 David Schleef <ds@schleef.org>
28041 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
28042 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
28043 expected to link against libgstreamer.
28044 * gst/base/Makefile.am: link against libgstreamer
28045 * gst/elements/Makefile.am: same
28047 2005-03-31 Andy Wingo <wingo@pobox.com>
28049 * tests/instantiate/Makefile.am:
28050 * tests/instantiate/caps.c: Add test to test speed of caps copy
28053 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
28054 GMemChunk to be fair.
28056 * gst/gsttrashstack.h: Remove warning about using the fallback
28057 trash stack implementation, it's still faster than malloc.
28059 2005-03-30 Andy Wingo <wingo@pobox.com>
28061 * tests/complexity.c: Add a copyright.
28063 2005-03-31 Wim Taymans <wim@fluendo.com>
28065 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
28066 (gst_base_transform_class_init), (gst_base_transform_init),
28067 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
28068 (gst_base_transform_get_property),
28069 (gst_base_transform_sink_activate),
28070 (gst_base_transform_src_activate),
28071 (gst_base_transform_change_state):
28072 * gst/base/gstbasetransform.h:
28073 * gst/elements/gstidentity.c: (gst_identity_class_init),
28074 (gst_identity_event), (gst_identity_check_perfect),
28075 (gst_identity_transform), (gst_identity_start),
28076 (gst_identity_stop):
28077 Added start/stop methods to transform base class so subclasses
28078 don't need to deal with state changes even.
28080 2005-03-31 Wim Taymans <wim@fluendo.com>
28082 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
28083 (gst_event_new_discontinuous), (gst_event_discont_get_value):
28085 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28086 (gst_pad_pull_range):
28087 Added rate to the discont event to prepare for variable speed
28088 and reverse playback.
28090 2005-03-29 David Schleef <ds@schleef.org>
28093 * testsuite/trigger/Makefile.am:
28094 * testsuite/trigger/trigger.c: A little example program to show
28095 how trigger-based elements can work.
28097 2005-03-29 Wim Taymans <wim@fluendo.com>
28099 * gst/base/Makefile.am:
28101 * gst/base/gstbasesink.c: (gst_basesink_get_type),
28102 (gst_basesink_base_init), (gst_basesink_class_init),
28103 (gst_basesink_pad_getcaps), (gst_basesink_init),
28104 (gst_basesink_activate), (gst_basesink_change_state):
28105 * gst/base/gstbasesink.h:
28106 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
28107 (gst_base_transform_base_init), (gst_base_transform_finalize),
28108 (gst_base_transform_class_init), (gst_base_transform_init),
28109 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
28110 (gst_base_transform_event), (gst_base_transform_getrange),
28111 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
28112 (gst_base_transform_set_property),
28113 (gst_base_transform_get_property),
28114 (gst_base_transform_sink_activate),
28115 (gst_base_transform_src_activate),
28116 (gst_base_transform_change_state):
28117 * gst/base/gstbasetransform.h:
28118 * gst/elements/gstidentity.c: (gst_identity_finalize),
28119 (gst_identity_class_init), (gst_identity_init),
28120 (gst_identity_event), (gst_identity_check_perfect),
28121 (gst_identity_transform), (gst_identity_set_property),
28122 (gst_identity_get_property), (gst_identity_change_state):
28123 * gst/elements/gstidentity.h:
28124 * gst/gstelement.c: (gst_element_get_state_func),
28125 (gst_element_lost_state), (gst_element_pads_activate):
28126 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28127 (gst_pad_check_pull_range), (gst_pad_pull_range):
28129 Simplify pad activation.
28130 Added function to check if pull_range can be performed.
28131 Error out when pulling inactive or flushing pads.
28132 Removed const from refcounted types as it does not make sense.
28133 Simplify pad templates in basesink
28134 Added base class for simple 1-to-1 transforms.
28135 Make identity subclass the base transform.
28137 2005-03-29 Andy Wingo <wingo@pobox.com>
28139 * docs/libs/gstreamer-libs-overrides.txt:
28140 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
28141 really don't understand what's going on, but like whatever. I want
28144 * docs/gst/Makefile.am:
28145 * docs/libs/Makefile.am: Dist the overrides files.
28147 * check/Makefile.am (clean-local): Remove .libs directories.
28149 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
28150 elements to EXTRA_DIST, so po/ files are happy.
28152 * po/POTFILES.in: Er, remove it here.
28154 * po/POTFILES: Remove gstspider.c.
28156 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
28158 * docs/libs/gstreamer-libs-docs.sgml:
28159 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
28162 * tests/complexity.c (main): Set the length of the preroll queue
28163 on the sinks to prevent a lockup.
28165 * libs/gst/dataprotocol/Makefile.am:
28166 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
28167 the same as the one in check/gst-libs/gdp.c.
28169 * po/, docs/gst/: Commit automatic changes to docs and po files.
28171 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
28172 the versioned libgstbase.
28174 * check/Makefile.am: Depend on an unversioned gst-register, seems
28175 to make autoconf happier.
28177 * gst/base/Makefile.am: Make libgstbase a versioned lib.
28179 2005-03-28 Wim Taymans <wim@fluendo.com>
28182 * docs/design/part-gstelement.txt:
28183 * docs/design/part-negotiation.txt:
28184 * docs/design/part-preroll.txt:
28185 * docs/design/part-scheduling.txt:
28186 * docs/design/part-states.txt:
28188 * gst/base/Makefile.am:
28190 * gst/base/gstbasesink.c: (gst_basesink_get_template),
28191 (gst_basesink_base_init), (gst_basesink_class_init),
28192 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
28193 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
28194 (gst_basesink_set_pad_functions),
28195 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
28196 (gst_basesink_set_property), (gst_basesink_get_property),
28197 (gst_base_sink_get_template), (gst_base_sink_get_caps),
28198 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
28199 (gst_basesink_preroll_queue_push),
28200 (gst_basesink_preroll_queue_empty),
28201 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
28202 (gst_basesink_event), (gst_basesink_get_times),
28203 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
28204 (gst_basesink_chain_unlocked), (gst_basesink_chain),
28205 (gst_basesink_loop), (gst_basesink_activate),
28206 (gst_basesink_change_state):
28207 * gst/base/gstbasesink.h:
28208 * gst/elements/Makefile.am:
28209 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
28210 (gst_fakesink_class_init), (gst_fakesink_init),
28211 (gst_fakesink_set_property), (gst_fakesink_get_property),
28212 (gst_fakesink_get_times), (gst_fakesink_event),
28213 (gst_fakesink_preroll), (gst_fakesink_render),
28214 (gst_fakesink_change_state):
28215 * gst/elements/gstfakesink.h:
28216 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
28217 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
28218 * gst/gstelement.c: (gst_element_add_pad),
28219 (gst_element_get_state_func), (gst_element_abort_state),
28220 (gst_element_commit_state), (gst_element_lost_state),
28221 (gst_element_set_state), (gst_element_pads_activate):
28222 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
28223 * gst/gstpipeline.c: (gst_pipeline_send_event),
28224 (gst_pipeline_change_state):
28225 Added state change code.
28226 Added/updated docs.
28227 Added sink base class, make fakesink extend the base class.
28228 Small cleanups in GstPipeline.
28230 2005-03-26 David Schleef <ds@schleef.org>
28232 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
28233 is broken and should be implemented in a different library.
28234 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
28235 * gst/gst.h: remove gstcpu.h
28236 * gst/gstcpu.c: remove
28237 * gst/gstcpu.h: remove
28238 * gst/Makefile.am.future: Remove this file. It's ancient.
28240 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28242 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
28243 (gst_bin_send_event):
28244 Add default event/set_manager handlers. The set_manager handler
28245 takes care that the manager is distributed over kids that were
28246 already in the bin before the manager was set. The event handler
28247 is a utility virtual function that sends the event over all sinks,
28248 so that gst_element_send_event (bin, event); has the expected
28250 * gst/gstpad.c: (gst_pad_event_default):
28251 Re-install default event handling for discontinuities, so that
28252 seeking works without requiring hacks in applications or extra
28254 * gst/gstpipeline.c: (gst_pipeline_class_init),
28255 (gst_pipeline_send_event):
28256 Half hack, half utility: set a pipeline to PAUSED for seek events,
28257 since that is the only way we can guarantee a/v sync. Means that
28258 you can do gst_element_seek (pipeline, method, pos); on a pipeline
28259 and it "just works".
28261 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28263 * gst/gstpipeline.c: (gst_pipeline_use_clock):
28264 Lock/unlock mismatch.
28266 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
28268 * docs/faq/gst-uninstalled:
28269 add gst-plugins-base
28270 * docs/gst/Makefile.am:
28271 don't error out until docs are fixed
28272 * docs/gst/gstreamer.types:
28275 2005-03-22 Wim Taymans <wim@fluendo.com>
28277 * check/Makefile.am:
28278 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
28279 * gst/gststructure.c: (gst_structure_set_valist),
28280 (gst_structure_copy_conditional):
28281 Activated more tests.
28282 Added message test.
28283 Added G_TYPE_POINTER to GstStructure.
28286 2005-03-22 Wim Taymans <wim@fluendo.com>
28288 * docs/design/part-TODO.txt:
28289 * docs/design/part-events.txt:
28290 * docs/design/part-gstbin.txt:
28291 * docs/design/part-gstbus.txt:
28292 * docs/design/part-gstpipeline.txt:
28293 * docs/design/part-messages.txt:
28295 * gst/gstmessage.c:
28298 2005-03-21 Wim Taymans <wim@fluendo.com>
28300 * gst/gstbus.c: (gst_bus_post):
28301 Fix copy-and-paste error.
28303 2005-03-21 Wim Taymans <wim@fluendo.com>
28305 * check/Makefile.am:
28307 * gst/elements/Makefile.am:
28308 * gst/elements/gstelements.c:
28309 * gst/elements/gstfakesink.c: (gst_fakesink_init),
28310 (gst_fakesink_event), (gst_fakesink_chain):
28311 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28312 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
28313 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
28314 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
28315 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
28316 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
28317 (gst_fakesrc_loop), (gst_fakesrc_activate),
28318 (gst_fakesrc_change_state):
28319 * gst/elements/gstfakesrc.h:
28320 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
28321 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
28322 (gst_filesrc_open_file), (gst_filesrc_loop),
28323 (gst_filesrc_activate), (gst_filesrc_change_state),
28324 (filesrc_find_peek), (filesrc_find_suggest),
28325 (gst_filesrc_type_find):
28326 * gst/elements/gstidentity.c: (gst_identity_finalize),
28327 (gst_identity_class_init), (gst_identity_init),
28328 (gst_identity_proxy_getcaps), (identity_queue_push),
28329 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
28330 (gst_identity_getrange), (gst_identity_chain),
28331 (gst_identity_sink_loop), (gst_identity_src_loop),
28332 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
28333 (gst_identity_set_property), (gst_identity_get_property),
28334 (gst_identity_change_state):
28335 * gst/elements/gstidentity.h:
28336 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
28337 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
28338 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
28339 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
28340 (gst_tee_sink_activate):
28341 * gst/elements/gsttee.h:
28342 * gst/gst.c: (gst_register_core_elements), (init_post):
28344 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
28345 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
28346 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
28347 (gst_bin_change_state):
28349 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
28350 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
28351 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
28352 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
28353 (gst_bus_set_sync_handler), (gst_bus_create_watch),
28354 (bus_watch_callback), (bus_watch_destroy),
28355 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
28356 (poll_timeout), (gst_bus_poll):
28360 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
28361 (gst_element_post_message), (gst_element_message_full),
28362 (gst_element_get_state_func), (gst_element_get_state),
28363 (gst_element_abort_state), (gst_element_commit_state),
28364 (gst_element_lost_state), (gst_element_set_state),
28365 (gst_element_pads_activate), (gst_element_change_state),
28366 (gst_element_dispose), (gst_element_set_manager_func),
28367 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
28368 (gst_element_set_manager), (gst_element_get_manager),
28369 (gst_element_set_bus), (gst_element_get_bus),
28370 (gst_element_set_scheduler), (gst_element_get_scheduler):
28371 * gst/gstelement.h:
28372 * gst/gstevent.c: (gst_event_new_segment_seek),
28373 (gst_event_new_flush):
28375 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
28376 (_gst_message_free), (gst_message_get_type), (gst_message_new),
28377 (gst_message_new_eos), (gst_message_new_error),
28378 (gst_message_new_warning), (gst_message_new_tag),
28379 (gst_message_new_state_changed), (gst_message_new_application),
28380 (gst_message_get_structure), (gst_message_parse_tag),
28381 (gst_message_parse_state_changed), (gst_message_parse_error),
28382 (gst_message_parse_warning):
28383 * gst/gstmessage.h:
28384 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
28385 (gst_real_pad_set_property), (gst_pad_set_active),
28386 (gst_pad_is_active), (gst_pad_set_blocked_async),
28387 (gst_pad_set_blocked), (gst_pad_is_blocked),
28388 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
28389 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
28390 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
28391 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
28392 (gst_pad_link_filtered), (gst_pad_relink_filtered),
28393 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
28394 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
28395 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
28396 (gst_pad_set_caps), (gst_pad_configure_sink),
28397 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
28398 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
28399 (gst_real_pad_dispose), (gst_real_pad_finalize),
28400 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
28401 (gst_pad_event_default_dispatch), (gst_pad_event_default),
28402 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
28404 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
28405 (pipeline_bus_handler), (gst_pipeline_change_state),
28406 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
28407 * gst/gstpipeline.h:
28409 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
28410 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
28411 (gst_queue_link_src), (gst_queue_bufferalloc),
28412 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
28413 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
28414 (gst_queue_loop), (gst_queue_handle_src_event),
28415 (gst_queue_handle_src_query), (gst_queue_src_activate),
28416 (gst_queue_change_state):
28418 * gst/gstscheduler.c: (gst_scheduler_init),
28419 (gst_scheduler_dispose), (gst_scheduler_create_task),
28420 (gst_scheduler_factory_create):
28421 * gst/gstscheduler.h:
28422 * gst/gststructure.c: (gst_structure_get_type),
28423 (gst_structure_copy_conditional):
28424 * gst/gststructure.h:
28425 * gst/gsttaginterface.h:
28426 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
28427 (gst_task_init), (gst_task_dispose), (gst_task_create),
28428 (gst_task_get_state), (gst_task_start), (gst_task_stop),
28434 * gst/schedulers/Makefile.am:
28435 * gst/schedulers/cothreads_compat.h:
28436 * gst/schedulers/entryscheduler.c:
28437 * gst/schedulers/faircothreads.c:
28438 * gst/schedulers/faircothreads.h:
28439 * gst/schedulers/fairscheduler.c:
28440 * gst/schedulers/gstbasicscheduler.c:
28441 * gst/schedulers/gstoptimalscheduler.c:
28442 * gst/schedulers/gthread-cothreads.h:
28443 * gst/schedulers/threadscheduler.c:
28444 (gst_thread_scheduler_task_get_type),
28445 (gst_thread_scheduler_task_class_init),
28446 (gst_thread_scheduler_task_init),
28447 (gst_thread_scheduler_task_start),
28448 (gst_thread_scheduler_task_stop),
28449 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
28450 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
28451 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
28452 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
28454 * libs/gst/Makefile.am:
28455 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
28456 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
28457 (gst_file_pad_parent_set):
28458 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
28459 (gst_dp_event_from_packet):
28460 * tests/complexity.c: (main):
28461 * tests/mass_elements.c: (main):
28462 * testsuite/states/locked.c: (message_received), (main):
28463 * testsuite/states/parent.c: (main):
28464 * tools/gst-inspect.c: (print_element_flag_info),
28465 (print_implementation_info), (print_pad_info):
28466 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
28468 * tools/gst-md5sum.c: (event_loop), (main):
28469 * tools/gst-typefind.c: (main):
28470 * tools/gst-xmlinspect.c: (print_element_info):
28472 Added GstBus for mainloop integration.
28473 Added GstMessage for sending notifications on the bus.
28474 Added GstTask as an abstraction for pipeline entry points.
28476 Removed Schedulers.
28477 Simplified GstQueue for multithreaded core.
28478 Made _link threadsafe, removed old capsnego.
28479 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
28480 Added pad blocking functions.
28481 Reworked scheduling functions in GstPad to prepare for
28482 scheduling updates soon.
28483 Moved events out of data stream.
28484 Simplified GstEvent types.
28485 Added return values to push/pull.
28486 Removed clocking from GstElement.
28487 Added prototypes for state change function for next merge.
28488 Removed iterate from bins and state change management.
28489 Fixed some elements, disabled others for now.
28490 Fixed -inspect and -launch.
28491 Added check for GstBus.
28493 2005-03-10 Wim Taymans <wim@fluendo.com>
28495 * docs/design/part-MT-refcounting.txt:
28496 * docs/design/part-clocks.txt:
28497 * docs/design/part-gstelement.txt:
28498 * docs/design/part-gstobject.txt:
28499 * docs/design/part-standards.txt:
28500 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
28501 (gst_bin_remove_func), (gst_bin_remove):
28505 * testsuite/clock/clock1.c: (main):
28506 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
28508 * testsuite/dlopen/loadgst.c: (do_test):
28509 * testsuite/refcounting/bin.c: (add_remove_test1),
28510 (add_remove_test2), (main):
28511 * testsuite/refcounting/element.c: (main):
28512 * testsuite/refcounting/element_pad.c: (main):
28513 * testsuite/refcounting/pad.c: (main):
28514 * tools/gst-launch.c: (sigint_handler_sighandler):
28515 * tools/gst-typefind.c: (main):
28517 Added doc about clock.
28518 removed gst_bin_iterate_recurse_up(), marked methods
28520 Fix more testsuites.
28522 2005-03-09 Wim Taymans <wim@fluendo.com>
28524 * gst/gstpad.c: (gst_pad_get_direction),
28525 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
28526 (gst_pad_collect_valist):
28527 * testsuite/bins/interface.c: (main):
28528 * testsuite/caps/audioscale.c: (test_caps):
28529 * testsuite/caps/caps.c: (test1), (test2), (test3):
28530 * testsuite/caps/deserialize.c: (main):
28531 * testsuite/caps/enumcaps.c: (main):
28532 * testsuite/caps/filtercaps.c: (main):
28533 * testsuite/caps/intersect2.c: (main):
28534 * testsuite/caps/random.c: (main):
28535 * testsuite/caps/renegotiate.c: (my_fixate), (main):
28536 * testsuite/caps/sets.c: (check_caps):
28537 * testsuite/caps/simplify.c: (check_caps), (main):
28538 * testsuite/caps/subtract.c: (check_caps):
28539 Fix _pad_get_direction wrt ghostpads.
28540 Fix caps testsuite.
28542 2005-03-09 Wim Taymans <wim@fluendo.com>
28544 * check/Makefile.am:
28545 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
28546 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
28547 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
28548 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
28549 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
28550 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
28551 (gst_bin_remove), (gst_bin_iterate_recurse_up),
28552 (bin_element_is_sink), (gst_bin_iterate_sinks),
28553 (gst_bin_iterate_all_by_interface):
28555 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
28556 (gst_element_change_state), (gst_element_dispose),
28557 (gst_element_finalize), (gst_element_set_loop_function):
28558 * gst/gstelement.h:
28559 * gst/gstiterator.c: (find_custom_fold_func):
28560 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
28561 (gst_pad_collectv), (gst_pad_collect_valist),
28562 (gst_pad_template_new):
28563 * gst/gstpipeline.c: (gst_pipeline_class_init),
28564 (gst_pipeline_dispose), (gst_pipeline_set_property),
28565 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
28566 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
28567 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
28569 * gst/schedulers/entryscheduler.c:
28570 * gst/schedulers/gstbasicscheduler.c:
28571 (gst_basic_scheduler_cothreaded_chain),
28572 (gst_basic_scheduler_chain_add_element):
28573 * testsuite/bins/interface.c: (main):
28575 Added GstSystemClock test.
28576 Implemented clock distribution code in GstBin.
28577 Implemented iterate sinks method for future use.
28578 Rearranged gstelement.h
28579 Fix GstIterator comparison bug.
28580 Moved some code to GstPipeline, mostly clocking related.
28582 2005-03-09 Wim Taymans <wim@fluendo.com>
28585 * gst/gst_private.h:
28586 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
28587 (gst_bin_remove_func), (gst_bin_remove),
28588 (gst_bin_get_by_name_recurse_up):
28589 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
28590 (gst_clock_id_compare_func), (gst_clock_id_wait),
28591 (gst_clock_id_wait_async), (gst_clock_init),
28592 (gst_clock_adjust_unlocked), (gst_clock_get_time):
28593 * gst/gstelement.h:
28594 * gst/gstinfo.c: (_gst_debug_init):
28596 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
28597 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
28599 Bump version number, we're now 0.9.0
28600 Add future debugging category.
28601 Fix NULL _unref() in _get_by_name_recurse_up
28602 Rearrange gstpad.h.
28605 2005-03-08 Wim Taymans <wim@fluendo.com>
28607 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
28608 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
28609 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
28610 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
28611 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
28612 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
28613 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
28614 * gst/elements/gstidentity.c: (gst_identity_class_init):
28615 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
28616 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
28617 * gst/elements/gstshaper.c: (gst_shaper_class_init):
28618 * gst/elements/gststatistics.c: (gst_statistics_class_init):
28619 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
28621 * gst/gstelement.c: (gst_element_class_init),
28622 (gst_element_base_class_init), (gst_element_init),
28623 (gst_element_get_random_pad), (gst_element_wait_state_change),
28624 (gst_element_change_state), (gst_element_dispose),
28625 (gst_element_finalize), (gst_element_set_loop_function):
28626 * gst/gstelement.h:
28627 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
28628 * gst/gstthread.c: (gst_thread_class_init),
28629 (gst_thread_release_children_locks), (gst_thread_change_state):
28630 * gst/schedulers/gstbasicscheduler.c:
28631 (gst_basic_scheduler_loopfunc_wrapper),
28632 (gst_basic_scheduler_chain_wrapper),
28633 (gst_basic_scheduler_src_wrapper),
28634 (gst_basic_scheduler_remove_element):
28635 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
28636 Remove threadsafe properties. Fix elements because GObject
28637 complains when installing a property before declaring a
28638 set/get_property handler.
28639 Rearrange gstelement.h file, use STATE macros for state locks.
28640 Free mutexes in the finalize method instead of dispose.
28642 2005-03-08 Wim Taymans <wim@fluendo.com>
28644 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
28645 * gst/gstthread.c: (gst_thread_release_children_locks):
28646 Added parentage check.
28647 Fix build og GstThread again.
28649 2005-03-08 Wim Taymans <wim@fluendo.com>
28651 * docs/design/part-MT-refcounting.txt:
28652 * docs/design/part-conventions.txt:
28653 * docs/design/part-gstobject.txt:
28654 * docs/design/part-relations.txt:
28655 * docs/design/part-standards.txt:
28656 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
28657 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
28658 (gst_bin_get_by_name), (gst_bin_get_by_interface),
28659 (gst_bin_iterate_all_by_interface):
28662 * gst/gstelement.c: (gst_element_class_init),
28663 (gst_element_change_state), (gst_element_set_loop_function):
28664 * gst/gstelement.h:
28665 * gst/gstiterator.c:
28666 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
28667 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
28668 (gst_object_dispatch_properties_changed), (gst_object_set_name),
28669 (gst_object_set_parent), (gst_object_unparent),
28670 (gst_object_check_uniqueness):
28672 Docs updates, clean up some headers.
28674 2005-03-07 Wim Taymans <wim@fluendo.com>
28676 * check/.cvsignore:
28677 * check/Makefile.am:
28678 * check/gst-libs/.cvsignore:
28679 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
28680 * check/gst/.cvsignore:
28681 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
28682 (START_TEST), (gstbus_suite), (main):
28683 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
28684 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
28685 (gst_data_suite), (main):
28686 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
28687 (add_fold_func), (gstiterator_suite), (main):
28688 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
28689 (thread_name_object), (thread_name_object_default),
28690 (gst_object_name_compare), (gst_object_suite), (main):
28691 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
28692 (gst_pad_suite), (main):
28693 * check/gstcheck.c: (gst_check_log_message_func),
28694 (gst_check_log_critical_func), (gst_check_init):
28695 * check/gstcheck.h:
28696 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
28697 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
28700 2005-03-07 Wim Taymans <wim@fluendo.com>
28702 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
28703 (gst_list_iterator_next), (gst_list_iterator_resync),
28704 (gst_list_iterator_free), (gst_iterator_new_list),
28705 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
28706 (gst_iterator_free), (gst_iterator_push), (filter_next),
28707 (filter_resync), (filter_uninit), (filter_free),
28708 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
28709 (gst_iterator_foreach), (find_custom_fold_func),
28710 (gst_iterator_find_custom):
28711 * gst/gstiterator.h:
28712 Added missing files.
28714 2005-03-07 Wim Taymans <wim@fluendo.com>
28718 * docs/design/part-MT-refcounting.txt:
28719 * docs/design/part-conventions.txt:
28720 * docs/design/part-gstobject.txt:
28721 * docs/design/part-relations.txt:
28722 * examples/mixer/mixer.c: (main):
28723 * examples/thread/thread.c: (eos), (main):
28725 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
28726 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
28727 (gst_spider_plug_from_srcpad):
28728 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
28729 (gst_spider_identity_change_state),
28730 (gst_spider_identity_sink_loop_type_finding):
28731 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
28732 * gst/elements/gstidentity.c: (gst_identity_init):
28733 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
28734 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
28735 * gst/elements/gsttypefindelement.c: (free_entry):
28738 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
28739 (gst_bin_set_clock_func), (gst_bin_auto_clock),
28740 (gst_bin_set_index), (gst_bin_set_element_sched),
28741 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
28742 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
28743 (gst_bin_iterate_elements), (iterate_child_recurse),
28744 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
28745 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
28746 (compare_interface), (gst_bin_get_by_interface),
28747 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
28749 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
28750 (gst_buffer_default_free), (gst_buffer_default_copy),
28751 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
28752 (gst_buffer_create_sub):
28754 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
28755 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
28756 (gst_caps_unref), (gst_static_caps_get),
28757 (gst_caps_remove_and_get_structure), (gst_caps_append),
28758 (gst_caps_append_structure), (gst_caps_remove_structure),
28759 (gst_caps_copy_nth), (gst_caps_set_simple),
28760 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
28761 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
28762 (gst_caps_structure_intersect_field), (gst_caps_intersect),
28763 (gst_caps_structure_subtract_field), (gst_caps_subtract),
28764 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
28765 (gst_caps_structure_figure_out_union),
28766 (gst_caps_switch_structures), (gst_caps_do_simplify),
28767 (gst_caps_replace), (gst_caps_from_string),
28768 (gst_caps_copy_conditional):
28770 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
28771 (_gst_clock_id_free), (gst_clock_id_unref),
28772 (gst_clock_id_compare_func), (gst_clock_id_wait),
28773 (gst_clock_id_wait_async), (gst_clock_class_init),
28774 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
28775 (gst_clock_get_time), (gst_clock_set_time_adjust),
28776 (gst_clock_set_property), (gst_clock_get_property):
28779 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
28780 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
28782 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
28783 (gst_element_requires_clock), (gst_element_provides_clock),
28784 (gst_element_set_clock), (gst_element_clock_wait),
28785 (gst_element_wait), (gst_element_set_time_delay),
28786 (gst_element_is_indexable), (gst_element_add_pad),
28787 (gst_element_add_ghost_pad), (gst_element_remove_pad),
28788 (pad_compare_name), (gst_element_get_static_pad),
28789 (gst_element_request_pad), (gst_element_get_request_pad),
28790 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
28791 (gst_element_class_get_pad_template_list),
28792 (gst_element_class_get_pad_template), (gst_element_error_func),
28793 (gst_element_get_random_pad), (gst_element_get_event_masks),
28794 (gst_element_send_event), (gst_element_seek),
28795 (gst_element_get_query_types), (gst_element_query),
28796 (gst_element_get_formats), (gst_element_convert),
28797 (gst_element_is_locked_state), (gst_element_set_locked_state),
28798 (gst_element_sync_state_with_parent), (gst_element_change_state),
28799 (gst_element_finalize), (gst_element_yield),
28800 (gst_element_interrupt), (gst_element_set_scheduler),
28801 (gst_element_get_scheduler), (gst_element_set_loop_function):
28802 * gst/gstelement.h:
28804 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
28805 (gst_format_get_by_nick), (gst_format_get_details),
28806 (gst_format_iterate_definitions):
28808 * gst/gstindex.c: (gst_index_gtype_resolver):
28811 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
28812 (gst_mem_chunk_free):
28813 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
28814 (gst_object_ref), (gst_object_unref), (gst_object_sink),
28815 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
28816 (gst_object_dispatch_properties_changed),
28817 (gst_object_set_name_default), (gst_object_set_name),
28818 (gst_object_get_name), (gst_object_set_name_prefix),
28819 (gst_object_get_name_prefix), (gst_object_set_parent),
28820 (gst_object_get_parent), (gst_object_unparent),
28821 (gst_object_check_uniqueness), (gst_object_save_thyself),
28822 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
28823 (gst_object_set_property), (gst_object_get_property),
28824 (gst_object_get_path_string):
28826 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
28827 (gst_real_pad_init), (gst_real_pad_get_property),
28828 (gst_pad_custom_new), (gst_pad_get_direction),
28829 (gst_pad_set_active), (gst_pad_is_active),
28830 (gst_pad_set_event_function), (gst_pad_is_linked),
28831 (gst_pad_link_free), (gst_pad_link_intersect),
28832 (gst_pad_link_fixate), (gst_pad_set_caps),
28833 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
28834 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
28835 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
28836 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
28837 (gst_pad_get_caps), (gst_pad_peer_get_caps),
28838 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
28839 (gst_pad_realize), (gst_pad_get_allowed_caps),
28840 (gst_real_pad_dispose), (gst_real_pad_finalize),
28841 (gst_pad_collectv), (gst_pad_collect_valist),
28842 (gst_pad_template_dispose), (gst_pad_template_new),
28843 (gst_pad_get_internal_links):
28845 * gst/gstpipeline.c: (gst_pipeline_dispose),
28846 (gst_pipeline_change_state):
28847 * gst/gstpipeline.h:
28849 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
28850 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
28851 * gst/gstpluginfeature.h:
28852 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
28853 * gst/gstquery.c: (_gst_query_type_initialize),
28854 (gst_query_type_register), (gst_query_type_get_by_nick),
28855 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
28857 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
28858 * gst/gstscheduler.c: (gst_scheduler_add_element),
28859 (gst_scheduler_factory_create):
28860 * gst/gststructure.c: (gst_structure_set_parent_refcount),
28861 (gst_structure_free), (gst_structure_set_name),
28862 (gst_structure_id_set_value), (gst_structure_set_value),
28863 (gst_structure_set_valist), (gst_structure_remove_field),
28864 (gst_structure_remove_fields),
28865 (gst_structure_remove_fields_valist),
28866 (gst_structure_remove_all_fields), (gst_structure_foreach),
28867 (gst_structure_map_in_place),
28868 (gst_caps_structure_fixate_field_nearest_int),
28869 (gst_caps_structure_fixate_field_nearest_double):
28870 * gst/gststructure.h:
28871 * gst/gstsystemclock.c: (gst_system_clock_class_init),
28872 (gst_system_clock_init), (gst_system_clock_dispose),
28873 (gst_system_clock_async_thread),
28874 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
28875 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
28876 * gst/gstsystemclock.h:
28877 * gst/gsttag.c: (gst_tag_list_add_value_internal),
28878 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
28879 * gst/gsttaginterface.c:
28880 * gst/gstthread.c: (gst_thread_dispose),
28881 (gst_thread_release_children_locks), (gst_thread_change_state),
28882 (gst_thread_main_loop):
28883 * gst/gsttrashstack.h:
28884 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
28886 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28887 (gst_element_request_pad), (gst_element_get_pad_from_template),
28888 (gst_element_request_compatible_pad),
28889 (gst_element_get_compatible_pad_filtered),
28890 (gst_element_get_compatible_pad), (gst_element_state_get_name),
28891 (gst_element_link_pads_filtered), (gst_element_link_filtered),
28892 (gst_element_link_many), (gst_element_link),
28893 (gst_element_link_pads), (gst_element_unlink_pads),
28894 (gst_element_unlink_many), (gst_element_unlink),
28895 (gst_pad_can_link_filtered), (gst_pad_can_link),
28896 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
28897 (gst_object_default_error), (gst_bin_add_many),
28898 (gst_bin_remove_many), (gst_element_populate_std_props),
28899 (gst_element_class_install_std_props), (gst_buffer_merge),
28900 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
28901 (link_fold_func), (gst_pad_proxy_setcaps):
28903 * gst/gstvalue.c: (gst_value_deserialize_string):
28904 * gst/parse/grammar.y:
28905 * gst/schedulers/gstbasicscheduler.c:
28906 (gst_basic_scheduler_cothreaded_chain),
28907 (gst_basic_scheduler_chain_recursive_add),
28908 (gst_basic_scheduler_pad_link):
28909 * gst/schedulers/gstoptimalscheduler.c:
28910 (get_group_schedule_function),
28911 (gst_opt_scheduler_state_transition),
28912 (gst_opt_scheduler_add_element), (element_get_reachables_func):
28913 * libs/gst/bytestream/bytestream.c:
28914 * libs/gst/dataprotocol/dataprotocol.c:
28915 (gst_dp_header_from_buffer):
28918 * tests/threadstate/threadstate2.c: (eos):
28919 * tools/gst-compprep.c: (main):
28920 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
28921 (print_pad_info), (print_children_info):
28922 * tools/gst-launch.c: (idle_func), (main):
28923 * tools/gst-md5sum.c: (idle_func), (main):
28924 * tools/gst-xmlinspect.c: (print_element_info):
28925 First THREADED backport attempt, focusing on adding locks and
28926 making sure the API is threadsafe. Needs more work. More docs
28929 2005-02-24 Andy Wingo <wingo@pobox.com>
28931 * tests/bench-complexity.scm:
28932 * tests/complexity.gnuplot: New files, good for running complexity
28935 * tests/Makefile.am:
28936 * tests/complexity.c: New test, sets up N elements, at each level
28937 teeing into M streams per element. Eeeenteresting.
28939 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
28940 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
28941 running bench-mass_elements.scm.
28943 * tests/bench-mass_elements.scm: New script, runs mass_elements
28944 for various numbers of identities, outputting the results to a
28945 file. Requires guile 1.6. Just for testing.
28947 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
28949 * gst/schedulers/fairscheduler.c:
28950 compile with debug disabled
28952 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
28955 hunting season on 0.9 is now OPEN