1 2009-01-05 Wim Taymans <wim.taymans@collabora.co.uk>
3 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position_last),
4 (gst_base_sink_get_position_paused), (gst_base_sink_get_position):
5 Release the object lock before calling the query convert pad functions
8 2009-01-05 Wim Taymans <wim.taymans@collabora.co.uk>
10 * gst/gstbus.c: (gst_bus_wakeup_main_context):
11 The lock order should be maincontext > OBJECT_LOCK so we need to release
12 the object lock when waking up the mainloop to avoid deadlocks.
14 2009-01-05 Wim Taymans <wim.taymans@collabora.co.uk>
16 * gst/gstbin.c: (gst_bin_set_index_func), (gst_bin_set_clock_func),
17 (gst_bin_change_state_func):
18 Use an iterator to set the clock and the index so that we can release
19 the object lock appropriately. Fixes #566393.
21 2009-01-03 Edward Hervey <edward.hervey@collabora.co.uk>
23 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_available):
24 Use the name of the pads instead of a pointer, helps in debugging.
26 2009-01-03 Edward Hervey <edward.hervey@collabora.co.uk>
28 * gst/gstindex.c: (gst_index_get_type):
29 Add a debugging category for GstIndex, first little step in making
32 2009-01-03 Edward Hervey <edward.hervey@collabora.co.uk>
34 * gst/gstelement.c: (gst_element_message_full),
35 (gst_element_pads_activate):
36 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
37 * gst/gstutils.c: (gst_pad_proxy_getcaps), (gst_pad_proxy_setcaps),
38 (gst_pad_add_data_probe_full), (gst_pad_add_event_probe_full),
39 (gst_pad_add_buffer_probe_full), (gst_pad_remove_data_probe),
40 (gst_pad_remove_event_probe), (gst_pad_remove_buffer_probe):
41 Assign debug statements to relevant categories instead of the 'default'
42 category so they don't get lost in debugging.
44 2009-01-01 Stefan Kost <ensonic@users.sf.net>
46 * gst/gstdebugutils.c:
47 Add some ideas, how to make the graph smaller.
50 Add a comment from a debug session.
52 * libs/gst/base/gstbasetransform.c:
55 * libs/gst/controller/gstinterpolationcontrolsource.c:
58 * plugins/elements/gstcapsfilter.c:
61 2008-12-27 Tim-Philipp Müller <tim.muller at collabora co uk>
63 * gst/gstbus.c: (gst_bus_dispose), (gst_bus_get_property),
64 (gst_bus_wakeup_main_context), (gst_bus_set_main_context),
65 (gst_bus_post), (gst_bus_source_prepare), (gst_bus_source_finalize),
66 (gst_bus_create_watch):
67 Make GstBusSource work with non-default main contexts (#562170).
69 * tests/check/gst/gstbus.c: (message_func_eos), (message_func_app),
70 (test_watch), (test_watch_with_custom_context), (gst_bus_suite):
71 Add test case for GstBusSource with a non-default main context.
73 * tests/check/libs/.cvsignore:
76 2008-12-27 Tim-Philipp Müller <tim.muller at collabora co uk>
78 * gst/gstregistrybinary.c: (unpack_element), (unpack_const_string),
80 Wrap multi-line macros in G_STMT_{START|END}.
82 2008-12-20 Sebastian Dröge <sebastian.droege@collabora.co.uk>
84 * docs/gst/gstreamer-sections.txt:
87 * gst/gstquery.c: (gst_query_new_uri), (gst_query_set_uri),
88 (gst_query_parse_uri):
90 API: Add URI query type. This is useful to query the URI
91 of a sink/source element and can be used by demuxers that
92 need to get data from other files.
93 This query should go upstream by default.
95 * plugins/elements/gstfdsink.c: (gst_fd_sink_query):
96 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
98 * plugins/elements/gstfilesink.c: (gst_file_sink_query):
99 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
100 (gst_file_src_query):
103 2008-12-19 Alessandro Decina <alessandro.decina@collabora.co.uk>
106 * tests/check/gst/gstghostpad.c:
107 Don't forward gst_pad_set_caps() on a source ghostpad to its target.
108 That would cause the ghostpad to emit notify::caps two times (fist
109 from gst_pad_set_caps() and after from on_src_target_notify()).
111 2008-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
113 * tests/check/gst/gstghostpad.c: (ghost_notify_caps),
115 Add some more unit-tests for the ghostpad notify signal, one of which
118 2008-12-19 Sebastian Dröge <sebastian.droege@collabora.co.uk>
120 * win32/common/libgstreamer.def:
121 Add gst_tag_setter_reset_tags to the list of exported symbols.
123 2008-12-17 Alessandro Decina <alessandro.decina@collabora.co.uk>
126 * tests/check/gst/gstghostpad.c:
127 In a source ghostpad, when caps are changed in the target pad, the
128 change needs to be reflected in the ghostpad.
131 2008-12-17 Sebastian Dröge <sebastian.droege@collabora.co.uk>
133 * gst/gstutils.c: (gst_element_found_tags_for_pad):
134 Add FIXME for 0.11 to set the pad as message source and not
135 the element. Otherwise it's impossible to detect for which
136 pad the tags were found without adding an event probe
137 or something similar to the pad.
139 2008-12-16 Wim Taymans <wim.taymans@collabora.co.uk>
141 * docs/faq/general.xml:
144 2008-12-16 Stefan Kost <ensonic@users.sf.net>
146 * docs/gst/gstreamer-sections.txt:
147 * gst/gsttagsetter.c:
148 * gst/gsttagsetter.h:
149 Rename api added in previous commit and add since tag to docs.
150 API: gst_tag_setter_reset_tags()
152 2008-12-16 Stefan Kost <ensonic@users.sf.net>
154 * docs/gst/gstreamer-sections.txt:
155 * gst/gsttagsetter.c:
156 * gst/gsttagsetter.h:
157 Add function to reset tagsetter for element reuse.
159 2008-12-16 Stefan Kost <ensonic@users.sf.net>
162 Avoid copy of empty taglist.
164 2008-12-16 Stefan Kost <ensonic@users.sf.net>
167 * tests/check/gst/gsttag.c:
168 More complete unit tests. Fix handling of empty taglists (they were
171 2008-12-15 Stefan Kost <ensonic@users.sf.net>
174 * gst/gsttagsetter.c:
175 Update GstTagSetter and GstTagMergeMode documentation. Mention
176 that tags can come from events and from application. Fix example.
178 2008-12-15 Wim Taymans <wim.taymans@collabora.co.uk>
180 * docs/design/part-TODO.txt:
181 Remove the seqnum entry that we implemented in 0.10 already.
182 Add entry about removing the format return value for queries.
184 2008-12-15 Wim Taymans <wim.taymans@collabora.co.uk>
186 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
187 (gst_base_sink_init), (gst_base_sink_set_property),
188 (gst_base_sink_get_property):
189 Expose the render-delay as a property so things like appsink can use it
190 to tweak the synchronisation.
192 2008-12-10 Peter Kjellerstedt <pkj@axis.com>
194 * libs/gst/check/gstcheck.h: Allow check tests to use
195 MAIN_START_THREADS()/MAIN_STOP_THREADS() multiple times. Also allows
196 CK_FORK=no to be used with multiple check test that use threads.
198 2008-12-09 Sebastian Dröge <sebastian.droege@collabora.co.uk>
200 * gst/gstutils.c: (gst_element_get_compatible_pad):
201 Fix a caps memory leak introduced by the last change.
203 2008-12-09 Sebastian Dröge <sebastian.droege@collabora.co.uk>
205 * gst/gstutils.c: (gst_element_get_compatible_pad):
206 Check if the caps of the pads are compatible before returning
207 a pad and claiming it is compatible. This, among other things,
208 fixes a bug with gst-launch where an incompatible pad is chosen
209 and linking fails. Fixes bug #544003.
211 2008-12-09 Sebastian Dröge <sebastian.droege@collabora.co.uk>
213 * libs/gst/check/gstcheck.c: (gst_check_init):
214 Revert accidentially commited patch for bug #404631 which
215 tries to print a backtrace if a testcase is terminated by
216 a signal. This code was never activated as the corresponding
217 configure.ac change wasn't committed.
219 2008-12-09 Sebastian Dröge <sebastian.droege@collabora.co.uk>
221 * tests/check/libs/controller.c: (GST_START_TEST):
222 This test should return TRUE now as syncing an uncontrolled
223 object will succeed now (there's nothing to sync).
225 2008-12-09 Stefan Kost <ensonic@users.sf.net>
227 * libs/gst/controller/gstcontroller.c:
228 Aggregate return value for gst_controller_sync_values(). More info in
229 logging. Always set values on first sync-call.
231 * libs/gst/controller/gstcontrolsource.c:
234 * libs/gst/controller/gsthelper.c:
235 Fix return code and comment.
237 2008-12-09 Stefan Kost <ensonic@users.sf.net>
239 * tools/gst-launch.1.in:
240 Fix description of how to specify a type in caps. Fixes #553873.
241 Also ranges and list contain values and not property-assignments.
243 2008-12-08 Wim Taymans <wim.taymans@collabora.co.uk>
245 * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
246 Check for changed pads-list before checking the last returned
247 GstFlowReturn because the pad could have been removed and we
248 need to ignore the value in that case.
250 2008-12-08 Wim Taymans <wim.taymans@collabora.co.uk>
252 * libs/gst/base/gstbasetransform.c:
253 (gst_base_transform_prepare_output_buffer),
254 (gst_base_transform_getrange), (gst_base_transform_chain):
255 * libs/gst/base/gstbasetransform.h:
256 Add vmethod that is called before we start the transform and which can
257 be used to configure the transform, such as dynamic properties.
259 2008-12-05 David Schleef <ds@schleef.org>
262 Search for plugins on win32 based on the location of the
263 gstreamer DLL. Fixes #548786
265 2008-12-04 Sebastian Dröge <sebastian.droege@collabora.co.uk>
268 Apparently AC_CONFIG_MACRO_DIR breaks when using more
269 than one macro directory, reverting last change.
271 2008-12-04 Sebastian Dröge <sebastian.droege@collabora.co.uk>
274 Set AC_CONFIG_MACRO_DIR to common/m4 to point autoconf to
277 2008-11-29 Sebastian Dröge <sebastian.droege@collabora.co.uk>
279 Patch by: Cygwin Ports maintainer
280 <yselkowitz at users dot sourceforge dot net>
284 Require gettext 0.17 because older versions don't mix with libtool
285 2.2. At build time an older gettext version will still work.
288 2008-11-27 Wim Taymans <wim.taymans@collabora.co.uk>
290 Patch by: 이문형 <iwings at gmail dot com>
292 * gst/gstpoll.c: (gst_poll_fd_ctl_write), (gst_poll_fd_has_error):
293 Adds support for FD_CONNECT event (win32). See #562258.
295 2008-11-24 Stefan Kost <ensonic@users.sf.net>
297 * libs/gst/base/gstbasesink.c:
298 Turn comment into gtk-doc comment.
300 2008-11-24 Wim Taymans <wim.taymans@collabora.co.uk>
302 * libs/gst/base/gstbasetransform.c:
303 (gst_base_transform_acceptcaps):
304 Revert quick accepcaps attempt, it's not fully equivalent to the old
305 behaviour and thus causes regressions.
307 2008-11-24 Edward Hervey <edward.hervey@collabora.co.uk>
309 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
312 2008-11-24 Sebastian Dröge <sebastian.droege@collabora.co.uk>
314 Patch by: Simon Holm Thøgersen <odie at cs dot aau dot dk>
316 * gst/gstregistry.c: (gst_registry_scan_path_level):
317 Reduce the number of stat() calls for every file from three times
318 to one time. Fixes bug #560360.
320 2008-11-22 Wim Taymans <wim.taymans@collabora.co.uk>
322 * libs/gst/base/gstbasetransform.c:
323 (gst_base_transform_acceptcaps):
324 Rename a variable to make the code clearer.
326 2008-11-21 Stefan Kost <ensonic@users.sf.net>
328 * plugins/elements/gstidentity.c:
329 Don't warning on offset==-1. Taken from _check_imperfect_offset().
331 2008-11-21 Michael Smith <msmith@songbirdnest.com>
333 * plugins/elements/gstfilesrc.c:
334 Check for localhost in URI was backwards, fix it. Fixes unit test.
336 2008-11-21 Wim Taymans <wim.taymans@collabora.co.uk>
338 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
339 (gst_base_transform_getcaps), (gst_base_transform_find_transform),
340 (gst_base_transform_acceptcaps), (gst_base_transform_getrange):
341 Add beginnings of a more optimized acceptcaps function than the default
344 2008-11-21 Wim Taymans <wim.taymans@collabora.co.uk>
346 * gst/gstpad.c: (gst_pad_accept_caps):
347 Avoid getting the acceptcaps function too early.
349 2008-11-21 Wim Taymans <wim.taymans@collabora.co.uk>
351 * tools/gst-launch.c: (event_loop):
352 Make gst-launch handle LATENCY messages and make it recalculate the
355 2008-11-20 Michael Smith <msmith@songbirdnest.com>
357 * plugins/elements/gstfilesrc.c:
358 Use g_filename_from_uri() for URI parsing in filesrc rather than rolling
359 out own slightly incorrect version. Fixes use of some paths on
362 2008-11-20 Michael Smith <msmith@songbirdnest.com>
364 * gst/gstregistrybinary.c:
365 In win32 codepath, if we fail to write the registry, create the
366 directory for it and try again, matching the behaviour in non-win32
369 2008-11-20 Wim Taymans <wim.taymans@collabora.co.uk>
371 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_render_delay):
372 Changing the render delay changes the latency and so we must post a
375 2008-11-20 Wim Taymans <wim.taymans@collabora.co.uk>
379 Add GstQueryType for custom queries instead of having to use the
380 not-so-very-convenient registration infrastructure to register new
383 2008-11-19 Sebastian Dröge <sebastian.droege@collabora.co.uk>
385 Patch by: Andrew Feren <acferen at yahoo dot com>
387 * gst/gstobject.c: (gst_object_default_deep_notify):
388 Unref the GEnumClass after usage again. Fixes bug #561501.
390 2008-11-19 Wim Taymans <wim.taymans@collabora.co.uk>
392 * gst/gstbin.c: (_gst_boolean_accumulator), (gst_bin_class_init),
393 (gst_bin_recalculate_latency), (gst_bin_do_latency_func),
394 (gst_bin_change_state_func):
396 Add do-latency signal with the old default fallback implementation. This
397 allows for custom latency calculations for when the default is not
399 API: GstBin::do-latency signal.
401 2008-11-18 Wim Taymans <wim.taymans@collabora.co.uk>
403 * win32/common/libgstreamer.def:
404 Add new symbols to .def file.
406 2008-11-18 Wim Taymans <wim.taymans@collabora.co.uk>
408 * docs/gst/gstreamer-sections.txt:
409 * gst/gstbin.c: (gst_bin_recalculate_latency),
410 (gst_bin_change_state_func):
412 Add method to recalculate and redistribute the latency on a bin.
413 API: gst_bin_recalculate_latency().
415 2008-11-18 Wim Taymans <wim.taymans@collabora.co.uk>
418 Document the free_func.
420 2008-11-17 Sebastian Dröge <sebastian.droege@collabora.co.uk>
422 * libs/gst/controller/gstinterpolation.c:
423 * libs/gst/controller/gstlfocontrolsource.c:
424 Use gst_guint64_to_gdouble instead of gst_util_guint64_to_gdouble
425 as it is mapped to a cast on non-win32 platforms.
427 2008-11-17 Stefan Kost <ensonic@users.sf.net>
429 * libs/gst/controller/gstcontroller.c:
430 * libs/gst/controller/gstcontrollerprivate.h:
431 Keep last-value and only call set_property if value has changed. This
432 supresses all the g_object_notifies we would trigger otherwise. It
433 also allows the user to chage the value while there is no controller
436 2008-11-17 Stefan Kost <ensonic@users.sf.net>
439 Don't crash if either of the string GValues is empty.
441 2008-11-17 Andy Wingo <wingo@pobox.com>
443 * tools/gst-inspect.c (print_all_uri_handlers): New function,
444 prints a summary of what URI schemes are supported by what
446 (main): Plumb in support for --uri-handlers or -u, and fix the
447 argc check for -a and -u.
449 2008-11-17 Sebastian Dröge <sebastian.droege@collabora.co.uk>
452 Add G_GNUC_PURE to gst_util_uint64_scale* and the double<->uint64
453 conversion functions.
455 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
457 * gst/gstbuffer.c: (gst_buffer_finalize):
458 Avoid costly typechecking for trivially correct pointers.
460 * gst/gstpoll.c: (gst_poll_wait):
461 Add some G_LIKELY here and there.
463 * libs/gst/base/gstadapter.c: (gst_adapter_push):
466 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
468 * docs/random/wtay/poll-timeout:
471 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
473 * tests/old/testsuite/caps/intersection.c: (main):
474 * tests/old/testsuite/plugin/loading.c: (main):
475 Remove references to deprecated API g_mem_chunk*.
478 2008-11-12 Wim Taymans <wim.taymans@collabora.co.uk>
480 * tools/gst-inspect.c: (main):
481 Add --plugin option. Fixes #560301.
483 2008-11-12 Wim Taymans <wim.taymans@collabora.co.uk>
485 * docs/random/wtay/poll-timeout:
486 Quick braindump for a possible (not totally verified) atomic case.
488 2008-11-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
490 * gst/gstregistrybinary.c: (gst_registry_binary_write_chunk),
491 (gst_registry_binary_initialize_magic),
492 (gst_registry_binary_write_cache),
493 (gst_registry_binary_check_magic):
494 * gst/gstregistrybinary.h:
495 Don't write and check a CRC for the binary registry file. It's
496 guaranteed that the registry is completely written (it's first written
497 to a temporary file and then moved) and if the registry was corrupted
498 by some hardware failure we would have bigger problems.
500 Bump binary registry version to 0.10.21.1 for this as it's an
501 incompatible change and to ensure that the registry gets rebuild
504 This saves some milliseconds for reading/writing the registry.
507 2008-11-11 Wim Taymans <wim.taymans@collabora.co.uk>
509 * docs/random/wtay/poll-timeout:
510 Some pseudo code for how we could implement clock timeouts with GstPoll.
512 2008-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
514 * plugins/elements/gstfilesink.c:
515 Update Author string to match others.
517 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
519 * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
520 Reorganize some more, be more conservative with the GST_TYPE_ARRAY not
521 being fixed and inline the trivial check.
523 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
525 * gst/gstcaps.c: (gst_caps_copy), (_gst_caps_free),
526 (gst_caps_merge_structure), (gst_caps_get_structure),
527 (gst_caps_copy_nth), (gst_caps_set_simple),
528 (gst_caps_set_simple_valist), (gst_caps_is_fixed),
529 (gst_caps_is_equal_fixed), (gst_caps_intersect),
530 (gst_caps_subtract), (gst_caps_normalize), (gst_caps_do_simplify),
531 (gst_caps_to_string):
532 Callgrind micro optimisations.
533 Avoid array bounds checks and force inline of trivial function.
535 * gst/gstobject.c: (gst_object_set_name_default):
536 -1 is equivalent to letting glib to the strlen but then there is more
537 room for optimisations and it's not our fault.
539 * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
540 no need to clear the array, we're cool.
542 * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
543 The most common _is_fixed() check is done on fundamental glib base
544 types so we check this first instead of doing a huge amount of
545 useless GST_TYPE_ARRAY calls.
547 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
550 Add a SKIP seek flag for use with advanced trickmodes.
551 API: GstSeekFlags::GST_SEEK_FLAG_SKIP
553 2008-11-05 Wim Taymans <wim.taymans@collabora.co.uk>
555 * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
556 No need to memset, we can clear the value ourselves.
558 * gst/gstvalue.c: (gst_type_is_fixed),
559 (gst_value_get_compare_func):
560 Some optimisations from a few callgrind sessions:
561 When checking if a type is fixed, check for trivial fundamental types
562 first before checking types for which we need to get the type followed
563 by the heavy duty type checks, this reduces the amount of
564 g_type_fundamental() calls a lot.
565 When getting the compare function, first check for our registered types.
566 If that fails, do the heavy duty g_type_is_a() checks, reduces the
567 amount of g_type_is_a() considerably.
569 2008-11-05 Wim Taymans <wim.taymans@collabora.co.uk>
571 * docs/design/part-TODO.txt:
572 Mumble something about removing GstXML.
574 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
576 * gst/gstbin.c: (gst_bin_handle_message_func):
577 Get the seqnum before we dispose the message.
579 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
581 * docs/design/part-TODO.txt:
582 Refer to the framestepping document.
584 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
586 * gst/gstbin.c: (bin_handle_async_start),
587 (gst_bin_handle_message_func), (gst_bin_query):
588 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
589 (gst_base_sink_event), (gst_base_sink_change_state):
590 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
591 (gst_base_src_loop), (gst_base_src_change_state):
592 Copy seqnums from events to messages so that they can all be related
595 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
597 * tools/gst-launch.c: (event_loop):
598 Print the message seqnums.
600 2008-11-04 Andy Wingo <wingo@pobox.com>
602 * gst/gstutils.c (gst_util_seqnum_next): Refactor for clarity.
604 2008-11-04 Andy Wingo <wingo@pobox.com>
606 Add sequence numbers to events and messages. See #559250.
608 * gst/gstutils.c (gst_util_seqnum_next, gst_util_seqnum_compare):
612 * gst/gstevent.c (_gst_event_copy, gst_event_new): Initialize new
613 events with a new sequence number, and copy it when copying.
614 (gst_event_get_seqnum, gst_event_set_seqnum): API: Accessors for
615 an event's sequence number.
618 * gst/gstmessage.c (_gst_message_copy, gst_message_new_custom):
619 (gst_event_get_seqnum, gst_event_set_seqnum): API: As with events,
622 * docs/gst/gstreamer-sections.txt: Add new functions to the docs.
624 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
626 * docs/manual/advanced-position.xml:
627 * docs/manual/basics-bins.xml:
628 * docs/manual/basics-bus.xml:
629 * docs/manual/basics-pads.xml:
630 * docs/manual/intro-gstreamer.xml:
631 * docs/manual/intro-preface.xml:
632 Some Application Development Manual fixes thanks to
633 Andrew Feren. Fixes #558459.
635 2008-11-03 Stefan Kost <ensonic@users.sf.net>
637 * gst/gstregistrybinary.c:
638 Don't bother with the GTimer if we don't output the results.
640 2008-11-03 Wim Taymans <wim.taymans@collabora.co.uk>
642 Patch by: David Schleef <ds@schleef.org>
644 * libs/gst/net/Makefile.am:
645 Add WIN32_LIBS to libgstnet LIBADD. Fixes #557300.
647 2008-10-31 Stefan Kost <ensonic@users.sf.net>
649 * gst/gstregistrybinary.c:
650 Oh my, studip, stupid me. Remove double stat() call.
652 2008-10-31 Stefan Kost <ensonic@users.sf.net>
655 Use g_unlink instead of unlink.
657 * gst/gststructure.c:
666 Formatting & whitespaces.
668 2008-10-31 Stefan Kost <ensonic@users.sf.net>
670 * plugins/elements/gstidentity.c:
671 Doc typo. Use return value of parent_class->event.
673 * plugins/elements/gsttypefindelement.c:
674 Chain up at the end for consistency.
676 2008-10-30 Stefan Kost <ensonic@users.sf.net>
679 * docs/gst/gstreamer-docs.sgml:
680 * docs/gst/gstreamer-sections.txt:
681 * docs/gst/running.xml:
682 * docs/libs/gstreamer-libs-docs.sgml:
683 Change to xinclude based build - its faster and easier to maintain.
685 2008-10-30 Stefan Kost <ensonic@users.sf.net>
687 * gst/gstregistrybinary.c:
688 * gst/gstregistryxml.c:
689 Use g_unlink() as none of these are directories.
691 2008-10-29 Wim Taymans <wim.taymans@collabora.co.uk>
693 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func):
696 2008-10-27 Wim Taymans <wim.taymans@collabora.co.uk>
698 * libs/gst/base/gstbasetransform.c:
699 (gst_base_transform_find_transform), (gst_base_transform_getrange):
700 If we have a fixate function, call it even if we already have fixed caps
701 because the subclass might add some caps. Makes audioconvert add a
702 default channel layout.
704 2008-10-24 Wim Taymans <wim.taymans@collabora.co.uk>
706 * libs/gst/base/gstbasetransform.c:
707 (gst_base_transform_prepare_output_buffer),
708 (gst_base_transform_getrange):
709 Clear the output buffer variable.
710 Cleanups to the error path in the getrange function.
713 2008-10-23 Sebastian Dröge <slomo@circular-chaos.org>
715 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
716 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
717 Use gst_buffer_try_new_and_alloc() and handle errors instead of
718 using gst_buffer_new_and_alloc() which aborts if the buffer couldn't
721 2008-10-23 Wim Taymans <wim.taymans@collabora.co.uk>
723 * gst/gstsegment.c: (gst_segment_set_newsegment_full):
724 Set the last_stop to a more meaningful position when configuring the
725 segment. ie. the start/stop of the segment or clipped against the
726 updated segment boundaries.
728 * tests/check/gst/gstsegment.c: (GST_START_TEST):
729 Add some unit tests for the last_stop.
731 2008-10-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
733 * libs/gst/base/gstbytereader.c:
734 Use GST_(READ|WRITE)_(FLOAT|DOUBLE)_(LE|BE) instead of our own
737 2008-10-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
739 * docs/gst/gstreamer-sections.txt:
741 API: Move float endianness conversion macros from libgstfloatcast
742 to core as it's useful in general, even in core. Fixes bug #555196.
743 This adds GDOUBLE_FROM_BE, GDOUBLE_FROM_LE, GDOUBLE_TO_BE,
744 GDOUBLE_TO_LE, GDOUBLE_SWAP_LE_BE, GFLOAT_FROM_BE, GFLOAT_FROM_LE,
745 GFLOAT_TO_BE, GFLOAT_TO_LE, GFLOAT_SWAP_LE_BE.
747 Also add GST_READ_ and GST_WRITE_ macros for floats and doubles:
748 GST_READ_FLOAT_LE, GST_READ_FLOAT_BE, GST_READ_DOUBLE_LE,
749 GST_READ_DOUBLE_BE, GST_WRITE_FLOAT_LE, GST_WRITE_FLOAT_BE,
750 GST_WRITE_DOUBLE_LE, GST_WRITE_DOUBLE_BE.
752 2008-10-22 Sebastian Dröge <slomo@circular-chaos.org>
754 * docs/libs/gstreamer-libs-sections.txt:
755 * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_data),
756 (gst_byte_reader_peek_data):
757 * libs/gst/base/gstbytereader.h:
758 * win32/common/libgstbase.def:
759 API: Add gst_byte_reader_get_data and gst_byte_reader_peek_data
760 to get a pointer to the data at the current position and have
763 2008-10-22 Jan Schmidt <jan.schmidt@sun.com>
766 Fix a bug in the output of the configure script summary
767 when --gst-disable-registry is supplied
769 2008-10-22 Jan Schmidt <jan.schmidt@sun.com>
771 * libs/gst/base/gstbitreader.c:
772 * libs/gst/base/gstbytereader.c:
773 Fix the names of 2 functions in the docs strings.
775 2008-10-21 Wim Taymans <wim.taymans@collabora.co.uk>
777 * libs/gst/base/gstbasetransform.c:
778 (gst_base_transform_prepare_output_buffer),
779 (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
780 Protect sink_alloc caps with the sinkpad lock to avoid nasty caps
781 refcount problems as seen in banshee and maybe also in farsight2.
782 Remove atomic int now that we need to take the lock anyways.
784 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
786 * libs/gst/base/gstbasesink.c: (gst_base_sink_default_do_seek),
787 (gst_base_sink_default_prepare_seek_segment),
788 (gst_base_sink_perform_seek), (gst_base_sink_get_position_last),
789 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
790 (gst_base_sink_query):
791 Implement more seeking in pull mode.
792 Use pad convert functions to convert position to the requested format.
793 Fix position/duration reporting in pull mode.
794 Implement position and duration reporting in other formats than time.
796 * libs/gst/base/gstbasesink.h:
797 Add member to keep track of when the segment is playing.
799 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
801 * gst/gstpad.c: (gst_pad_configure_src):
802 When we use gst_pad_alloc_buffer() without wanting to set the caps we
803 also don't need to check if the caps are compatible because the caller
804 presumably is going to perform its own custom checks. Fixes some cases
805 where basetransform elements would error out when it was not needed.
807 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
809 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
812 * libs/gst/base/gstbasetransform.c:
813 (gst_base_transform_handle_buffer),
814 (gst_base_transform_reconfigure):
817 * win32/common/libgstbase.def:
820 2008-10-19 Stefan Kost <ensonic@users.sf.net>
822 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek);
823 Remove duplicated assignment and log a message in failure case.
825 2008-10-19 Tim-Philipp Müller <tim.muller at collabora co uk>
827 Patch by: Dig Ge <dig.ge.cn at gmail com>
829 * tests/examples/helloworld/helloworld.c: (main):
830 Fix copy'n'paste bug in hello world example (#556900).
832 2008-10-17 Wim Taymans <wim.taymans@collabora.co.uk>
834 * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate_pull),
835 (gst_base_sink_query):
836 Query the total number of bytes when activating the pad in pull mode.
837 Implement duration query in pull mode by using the installed pad convert
838 function to convert from bytes to the requested format.
840 2008-10-16 Wim Taymans <wim.taymans@collabora.co.uk>
842 * docs/libs/gstreamer-libs-sections.txt:
843 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_preroll),
844 (gst_base_sink_flush_start), (gst_base_sink_flush_stop),
845 (gst_base_sink_event), (gst_base_sink_perform_seek),
846 (gst_base_sink_loop), (gst_base_sink_pad_activate_pull),
847 (gst_base_sink_send_event), (gst_base_sink_change_state):
848 * libs/gst/base/gstbasesink.h:
849 Add method to commit the state in subclasses.
850 Refactor the flush_start and flush_stop code because we need it for
851 flushing while seeking too.
852 Implement the beginnings of seeking in pull mode.
853 Use the segment last_stop field for the pulling offset.
854 Fix the pause method in pull mode.
855 Configure the segment to BYTES for pull mode.
856 API: GstBaseSink::gst_base_sink_do_preroll()
858 2008-10-16 Wim Taymans <wim.taymans@collabora.co.uk>
860 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
863 2008-10-14 Tim-Philipp Müller <tim.muller at collabora co uk>
865 * gst/gstquark.c: (_priv_gst_quarks_initialize):
866 Fix printf format warning.
868 2008-10-14 Sebastian Dröge <slomo@circular-chaos.org>
870 * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
871 Fix flow aggregation of tee. Error out immediately for all flow returns
872 except OK and NOT_LINKED, return NOT_LINKED if all pads are not linked
873 and return OK if at least one pad is linked.
875 Before we errored out on "fatal" flow returns (i.e. not for WRONG_STATE)
876 and otherwise returned the flow return of the last pad, which is wrong.
878 * tests/check/elements/tee.c: (_fake_chain), (_fake_chain_error),
879 (GST_START_TEST), (tee_suite):
880 Add unit tests for the flow aggregation.
882 2008-10-13 Wim Taymans <wim.taymans@collabora.co.uk>
884 * docs/design/part-TODO.txt:
885 Remove item from the todo list because it was fixed with the latency
886 state change rewrites.
888 * docs/design/part-seeking.txt:
889 * docs/design/part-segments.txt:
892 * gst/gstevent.c: (gst_event_new_new_segment_full),
893 (gst_event_parse_new_segment_full), (gst_event_new_buffer_size),
894 (gst_event_parse_buffer_size), (gst_event_new_qos),
895 (gst_event_parse_qos), (gst_event_new_seek),
896 (gst_event_parse_seek), (gst_event_new_latency),
897 (gst_event_parse_latency):
898 Use quarks to construct and parse events.
900 * gst/gstquark.c: (_priv_gst_quarks_initialize):
902 Add some more quarks to the table.
903 Emit a warning when the quark tables are not in sync.
905 * tests/check/gst/gstbus.c: (GST_START_TEST):
908 2008-10-13 Stefan Kost <ensonic@users.sf.net>
910 * plugins/elements/Makefile.am:
911 * plugins/indexers/Makefile.am:
912 Don't install static libs for plugins. Fixes #550851 for core.
914 2008-10-13 Wim Taymans <wim.taymans@collabora.co.uk>
916 * gst/gstbus.c: (gst_bus_source_finalize),
917 (gst_bus_add_watch_full_unlocked), (gst_bus_add_watch_full),
918 (gst_bus_enable_sync_message_emission),
919 (gst_bus_disable_sync_message_emission),
920 (gst_bus_add_signal_watch_full), (gst_bus_remove_signal_watch):
921 Fix deadlock, g_source_get_id() cannot be called in finalize.
922 Keep track of the watch source by keeping a pointer to the source object
924 Use the bus lock to protect access to the pointer to the current
927 2008-10-13 Sebastian Dröge <sebastian.droege@collabora.co.uk>
929 Base on Patch by: Olivier Crete <tester at tester dot ca>
931 * gst/gstbus.c: (gst_bus_source_finalize),
932 (gst_bus_add_watch_full), (gst_bus_add_signal_watch_full):
933 Only allow one bus watch to be set at a time. This is necessary
934 because the dispatcher pops the message from the bus and the second
935 watcher will then get NULL or the next message (and the first won't
936 get this next message then, etc). If more than one "watcher" is
937 required signal watches should be used. Fixes bug #526044.
939 2008-10-12 Jan Schmidt <jan.schmidt@sun.com>
941 * tools/gst-launch.c:
942 Change the printing of the 'buffering...' output to avoid putting
943 a \r in a translateable string (flagged by the TP).
945 2008-10-10 Sebastian Dröge <sebastian.droege@collabora.co.uk>
948 Clarify that the save_thyself() and restore_thyself() virtual
949 functions of GstObject need to be overriden, not
950 gst_object_(save|restore)_thyself() which is impossible.
953 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
955 * gst/gstpad.c: (gst_pad_get_range), (gst_pad_pull_range):
956 Revert a patch from 21 months ago that broke caps negotiation in pull
957 mode. Basically, having a buffer pass over a pad will trigger the
958 setcaps function when caps change, just like in push mode.
960 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
962 * docs/design/part-negotiation.txt:
963 Update the docs some more.
965 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
966 If we pull a buffer with non-trivial caps, suggest those caps with the
969 2008-10-10 Edward Hervey <edward.hervey@collabora.co.uk>
971 * docs/design/part-TODO.txt:
972 Add another limitation of pad-blocking with segment seeks not pushing
975 2008-10-10 Jan Schmidt <jan.schmidt@sun.com>
977 * win32/common/libgstbase.def:
978 * win32/common/libgstreamer.def:
979 Add new symbols to the win32 defs files
981 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
983 * gst/gstbin.c: (gst_bin_remove_func), (update_degree),
984 (gst_bin_handle_message_func):
985 The message src can be NULL, don't try to print the object names in that
988 * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate):
989 Add some more debug info.
991 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline),
994 Fix the test, pull based sinks go ASYNC to PAUSED, just like other
997 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
999 * docs/design/part-negotiation.txt:
1002 * docs/libs/gstreamer-libs-sections.txt:
1003 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1004 (gst_base_sink_pad_getcaps), (gst_base_sink_pad_setcaps),
1005 (gst_base_sink_init), (gst_base_sink_set_blocksize),
1006 (gst_base_sink_get_blocksize), (gst_base_sink_set_property),
1007 (gst_base_sink_get_property), (gst_base_sink_needs_preroll),
1008 (gst_base_sink_loop), (gst_base_sink_pad_activate),
1009 (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1010 (gst_base_sink_change_state):
1011 * libs/gst/base/gstbasesink.h:
1012 Add blocksize property and methods to control the amount of data
1014 Negotiate first before activating upstream in pull mode so that they can
1015 negotiate themselves.
1016 When we operate in pull mode, we only accept the caps that we
1018 Make the sink go ASYNC to PAUSED, like all other sinks.
1019 API: GstBaseSink::gst_base_sink_set_blocksize()
1020 API: GstBaseSink::gst_base_sink_get_blocksize()
1021 API: GstBaseSink::blocksize
1023 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
1024 (gst_base_src_set_live), (gst_base_src_is_live),
1025 (gst_base_src_set_format), (gst_base_src_query_latency),
1026 (gst_base_src_set_blocksize), (gst_base_src_get_blocksize),
1027 (gst_base_src_set_do_timestamp), (gst_base_src_get_do_timestamp),
1028 (gst_base_src_set_property), (gst_base_src_get_property):
1029 * libs/gst/base/gstbasesrc.h:
1030 Add typechecking in public API functions.
1031 Add methods to control the blocksize in subclasses.
1032 API: GstBaseSrc::gst_base_src_set_blocksize()
1033 API: GstBaseSrc::gst_base_src_get_blocksize()
1035 2008-10-10 Edward Hervey <edward.hervey@collabora.co.uk>
1037 * tests/check/gst/gstutils.c: (probe_do_nothing), (data_probe),
1038 (buffer_probe), (event_probe), (GST_START_TEST):
1039 We now see 3 events go through our pad, since basesink now sends
1040 upstream latency events.
1042 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
1044 * gst/gstpipeline.c: (gst_pipeline_change_state):
1045 Release the object lock before trying to flush the bus.
1047 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
1049 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
1050 Forward LATENCY events upstreams so that elements know about the total
1051 pipeline latency. Fixes #555307.
1053 2008-10-08 Jan Schmidt <jan.schmidt@sun.com>
1055 * plugins/elements/gstqueue.c:
1056 Allow through queries when we don't know how
1057 to adjust them (not TIME or BYTES), as otherwise it's
1058 not possible to query the current position in order
1059 to seek in other formats at all.
1061 2008-10-08 Andy Wingo <wingo@pobox.com>
1063 * docs/gst/gstreamer-sections.txt: Placate doc pendants.
1065 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
1067 * gst/gstghostpad.c:
1068 * gst/gstghostpad.h:
1069 Unbreak -good build, private is a reserved c++ keyword.
1071 2008-10-08 Andy Wingo <wingo@pobox.com>
1073 * gst/gstghostpad.h (GST_GHOST_PAD_CAST):
1074 * gst/gstghostpad.c (GST_GHOST_PAD_CAST): Fix unintended API
1075 removal: re-add GST_GHOST_PAD_CAST to the header.
1077 * gst/gstghostpad.h (GstProxyPad, GstProxyPadClass, GstGhostPad)
1078 (GstGhostPadClass): Publically expose these structures so as to
1079 allow easy subclassing from C. Hide the member data behind a
1080 private opaque data pointer.
1082 * gst/gstghostpad.c: Adapt to store instance data in the type
1083 instance's private data region, not in the public struct.
1085 2008-10-08 Andy Wingo <wingo@pobox.com>
1087 * gst/gstghostpad.c (gst_ghost_pad_construct): If we got a
1088 template via g_object_get(), be sure to unref it.
1090 * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): Fix incorrect doc.
1092 2008-10-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1094 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
1095 If we can't get a cache file don't try to save something to it.
1096 Dereferencing NULL pointers usually isn't a good idea.
1098 2008-10-07 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
1100 * tests/check/Makefile.am:
1101 * tests/check/gst/gstabi.c:
1102 * tests/check/gst/struct_sparc.h:
1103 * tests/check/libs/libsabi.c:
1104 * tests/check/libs/struct_sparc.h:
1105 Add Sparc ABI checks
1107 * tests/check/gst/gstvalue.c: (GST_START_TEST):
1108 Cast signed integer to unsigned to avoid a compiler warning.
1110 2008-10-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1112 * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_uint24_le),
1113 (gst_byte_reader_get_uint24_be), (gst_byte_reader_get_int24_le),
1114 (gst_byte_reader_get_int24_be), (gst_byte_reader_peek_uint24_le),
1115 (gst_byte_reader_peek_uint24_be), (gst_byte_reader_peek_int24_le),
1116 (gst_byte_reader_peek_int24_be):
1117 Use new GST_READ_UINT24_(LE|BE) macros.
1119 2008-10-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1121 * docs/gst/gstreamer-sections.txt:
1123 Always use the unaligned variants of GST_READ_UINT* and GST_WRITE_UINT*
1124 as it's too easy to break the ISO C strict aliasing rules with simple
1125 casts to the corresponding type and this would introduce hard to debug
1126 bugs. Fixes bug #545714.
1128 API: Add GST_READ_UINT24_(LE|BE) and GST_WRITE_UINT24_(LE|BE).
1130 2008-10-07 Tim-Philipp Müller <tim.muller at collabora co uk>
1132 * gst/gstbuffer.h: (GST_BUFFER_FREE_FUNC):
1133 * gst/gstghostpad.c: (gst_ghost_pad_construct):
1134 Add 'Since' bits to gtk-doc chunks for new API.
1136 2008-10-06 Thijs Vermeir <thijsvermeir@gmail.com>
1138 * docs/gst/gstreamer-sections.txt:
1141 2008-10-06 Andy Wingo <wingo@pobox.com>
1143 * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): New API, a free function
1144 that will be called on the malloc_data to free it. Basically a way
1145 to avoid subclassing when all you need is a different free
1146 function, i.e. free() instead of g_free().
1148 * gst/gstbuffer.c (gst_buffer_finalize): Free malloc_data via
1149 calling the free function.
1150 (gst_buffer_init): Initialize the free function to g_free.
1152 2008-10-06 Andy Wingo <wingo@pobox.com>
1154 * gst/gstghostpad.h:
1155 * gst/gstghostpad.c (gst_ghost_pad_construct): New function,
1156 finishes the initialization of ghost pad. Useful for language
1157 bindings and subclassers of GstGhostPad. Fixes #539108.
1158 (gst_ghost_pad_new_full): Use the new constructor.
1160 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1162 Base on Patch by: Olivier Crete <tester at tester dot ca>
1164 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1165 (gst_bin_remove_func), (update_degree),
1166 (gst_bin_sort_iterator_new), (gst_bin_handle_message_func):
1167 Keep track of pads that are being linked/unlinked and resync the state
1170 * gst/gstpad.c: (gst_pad_get_direction),
1171 (gst_pad_set_chain_function), (gst_pad_set_getrange_function),
1172 (gst_pad_set_checkgetrange_function), (gst_pad_unlink),
1173 (gst_pad_link_prepare), (gst_pad_link),
1174 (gst_pad_event_default_dispatch), (gst_pad_chain), (gst_pad_push),
1175 (gst_pad_check_pull_range), (gst_pad_get_range),
1176 (gst_pad_pull_range):
1177 Some code cleanups, use macros to check pad direction.
1178 Don't need to take the lock on the pad direction.
1179 Post structure change when pads are linked/unlinked.
1180 Change some checks into _return_if_fail().
1182 * tests/check/gst/gstbin.c:
1183 (test_link_structure_change_state_changed_sync_cb),
1184 (GST_START_TEST), (gst_bin_suite):
1185 Add testcase for pad link/unlinke resync during a state change.
1188 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1190 * docs/gst/gstreamer-sections.txt:
1191 * gst/gstmessage.c: (gst_message_new_structure_change),
1192 (gst_message_parse_structure_change):
1194 Implement STRUCTURE_CHANGED messages. These messages will be used to
1195 signal the parent bin of link/unlink operations that could require a
1196 resync when doing a state change. See ##510354.
1197 API: gst_message_new_structure_change()
1198 API: gst_message_parse_structure_change()
1200 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1204 Add some more quarks for new message. See #510354.
1206 2008-10-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1208 * docs/libs/gstreamer-libs-docs.sgml:
1209 * docs/libs/gstreamer-libs-sections.txt:
1210 * libs/gst/base/Makefile.am:
1211 * libs/gst/base/gstbitreader.c: (gst_bit_reader_new),
1212 (gst_bit_reader_new_from_buffer), (gst_bit_reader_free),
1213 (gst_bit_reader_init), (gst_bit_reader_init_from_buffer),
1214 (gst_bit_reader_set_pos), (gst_bit_reader_get_pos),
1215 (gst_bit_reader_get_remaining), (gst_bit_reader_skip),
1216 (gst_bit_reader_skip_to_byte):
1217 * libs/gst/base/gstbitreader.h:
1218 * libs/gst/base/gstbytereader.c: (GDOUBLE_SWAP_LE_BE),
1219 (GFLOAT_SWAP_LE_BE), (gst_byte_reader_new),
1220 (gst_byte_reader_new_from_buffer), (gst_byte_reader_free),
1221 (gst_byte_reader_init), (gst_byte_reader_init_from_buffer),
1222 (gst_byte_reader_set_pos), (gst_byte_reader_get_pos),
1223 (gst_byte_reader_get_remaining), (gst_byte_reader_skip),
1224 (gst_byte_reader_get_uint8), (gst_byte_reader_get_int8),
1225 (gst_byte_reader_peek_uint8), (gst_byte_reader_peek_int8),
1226 (gst_byte_reader_get_uint24_le), (gst_byte_reader_get_uint24_be),
1227 (gst_byte_reader_get_int24_le), (gst_byte_reader_get_int24_be),
1228 (gst_byte_reader_peek_uint24_le), (gst_byte_reader_peek_uint24_be),
1229 (gst_byte_reader_peek_int24_le), (gst_byte_reader_peek_int24_be):
1230 * libs/gst/base/gstbytereader.h:
1231 * tests/check/Makefile.am:
1232 * tests/check/libs/bitreader.c: (GST_START_TEST),
1233 (gst_bit_reader_suite):
1234 * tests/check/libs/bytereader.c: (GST_START_TEST),
1235 (gst_byte_reader_suite):
1236 API: Add bit reader and byte reader classes, including documentation
1237 and an extensive unit test suite. Fixes bug #553554.
1239 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1241 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position),
1242 (gst_base_sink_query):
1243 Improve position reporting while flushing and other intermediate state
1244 changes. Fixes #553874.
1246 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1248 Patch by: Antoine Tremblay <hexa00 at gmail dot com>
1250 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
1251 Original patch by : Simon Descaries
1252 Fix small refount leak in caps compatibility check.
1255 2008-10-06 Stefan Kost <ensonic@users.sf.net>
1257 * docs/pwg/advanced-request.xml:
1258 Fix 0.8 api usage in example. Fixes #554561
1260 * docs/pwg/appendix-porting.xml:
1261 Change 0.9 to 0.10 here.
1263 2008-10-06 Stefan Kost <ensonic@users.sf.net>
1265 * docs/manual/basics-data.xml:
1266 Change "event-event interaction" to "element-element interaction".
1267 Fixes #552448. Also fix sample code for seeking and do more 0.8->0.10
1270 2008-10-05 Jan Schmidt <jan.schmidt@sun.com>
1273 Back to development -> 0.10.21.1
1275 === release 0.10.21 ===
1277 2008-10-02 Jan Schmidt <jan.schmidt@sun.com>
1280 releasing 0.10.21, "Take These Things From Me"
1282 2008-09-28 Jan Schmidt <jan.schmidt@sun.com>
1285 0.10.20.4 pre-release
1287 2008-09-28 Jan Schmidt <jan.schmidt@sun.com>
1289 * libs/gst/base/gstbasetransform.c:
1290 * plugins/elements/gstcapsfilter.c:
1291 * tests/check/Makefile.am:
1292 * tests/check/elements/.cvsignore:
1293 * tests/check/elements/capsfilter.c:
1294 Fix assertion in basetransform when the subclass chooses not to
1295 allocate a buffer in prepare_buffer(), and make capsfilter error out
1296 cleanly if requested to apply caps that don't completely specify the
1297 buffer. Fixes #551509
1299 2008-09-24 Wim Taymans <wim.taymans@collabora.co.uk>
1301 * libs/gst/base/gstbasetransform.c:
1302 (gst_base_transform_prepare_output_buffer):
1303 Take new caps ref because our old one might have been gone when the
1304 subclass performs a gst_pad_set_caps() on the srcpad. See #548764.
1306 2008-09-15 Stefan Kost <ensonic@users.sf.net>
1309 Do not probe availability of check unit test library when cross
1310 compiling, as test would not work anyway. Also cleanup verbose output
1311 of the check test. Fixes #551952.
1313 2008-09-14 Wim Taymans <wim.taymans@collabora.co.uk>
1315 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
1317 * gst/gstelement.c: (gst_element_sync_state_with_parent):
1318 Avoid leaking the parent ref when we fail changing the state of the
1319 element using gst_element_sync_state_with_parent(). Fixes #551978.
1321 2008-09-11 Tim-Philipp Müller <tim.muller at collabora co uk>
1323 * docs/manual/intro-motivation.xml::
1324 Remove some bits that no longer apply, update others (#551642).
1326 2008-09-10 Jan Schmidt <jan.schmidt@sun.com>
1329 0.10.20.2 pre-release
1337 2008-09-09 Tim-Philipp Müller <tim.muller at collabora co uk>
1339 * win32/common/config.h.in:
1340 Add GST_DATADIR, hard-code cpu to x86.
1342 * win32/common/libgstreamer.def:
1345 2008-09-03 Tim-Philipp Müller <tim.muller at collabora co uk>
1348 Fix Since: markers for new geo tags.
1350 2008-09-02 Stefan Kost <ensonic@users.sf.net>
1353 Fix actual tag name define after renaming from altitude to elevation.
1355 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
1357 * gst/gstpad.c: (add_unref_pad_to_list),
1358 (gst_pad_get_internal_links_default):
1359 Add fallback when calling the deprecated function on an element that
1360 implements the new internal_link handler.
1362 2008-09-01 Stefan Kost <ensonic@users.sf.net>
1364 * docs/gst/gstreamer-sections.txt:
1367 Add new tags for geo location and clarify purpose of existing location
1370 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
1372 Patch by: Olivier Crete <tester at tester dot ca>
1374 * gst/gstpad.c: (gst_pad_iterate_internal_links_default),
1375 (gst_pad_event_default_dispatch), (gst_pad_dispatcher):
1376 Use thread-safe internal links iterator. Fixes #549504.
1378 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
1380 Based on patch by: Olivier Crete <tester at tester dot ca>
1382 * docs/gst/gstreamer-sections.txt:
1383 * win32/common/libgstreamer.def:
1384 * gst/gstpad.c: (gst_pad_init),
1385 (gst_pad_set_iterate_internal_links_function),
1386 (int_link_iter_data_free), (iterate_pad),
1387 (gst_pad_iterate_internal_links_default),
1388 (gst_pad_iterate_internal_links), (gst_pad_get_internal_links):
1390 Add threadsafe replacement functions for getting internal links of an
1391 element. Deprecate the old internal links functions.
1392 API:GstPad::gst_pad_set_iterate_internal_links_function()
1393 API:GstPad::GstPadIterIntLinkFunction
1394 API:GstPad::gst_pad_iterate_internal_links()
1395 API:GstPad::gst_pad_iterate_internal_links_default()
1397 * gst/gstghostpad.c: (gst_proxy_pad_do_iterate_internal_links),
1398 (gst_proxy_pad_init):
1399 Implement threadsafe internal links.
1401 * tests/check/elements/tee.c: (GST_START_TEST), (tee_suite):
1402 Unit test for internal links on tee. See #549504.
1404 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
1406 * tests/check/Makefile.am:
1407 libs/transform1 test requires libs/test_transform.c
1409 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
1411 * gst/gstpad.c: (gst_pad_get_internal_links_default):
1412 Die evil deadlock, die !
1414 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
1416 * gst/gstutils.c: (gst_element_get_compatible_pad):
1417 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1418 * tests/check/gst/gstpad.c: (name_is_valid), (GST_START_TEST):
1419 Fix all leaks due to the bug in gst_pad_template_new() by which it does
1420 not steal the refcount of the given caps as stated.
1422 REVERT THIS COMMIT ONCE FIXED !
1423 REVERT THIS COMMIT ONCE FIXED !
1424 REVERT THIS COMMIT ONCE FIXED !
1425 REVERT THIS COMMIT ONCE FIXED !
1426 REVERT THIS COMMIT ONCE FIXED !
1427 REVERT THIS COMMIT ONCE FIXED !
1429 2008-08-29 Wim Taymans <wim.taymans@collabora.co.uk>
1431 * gst/gstiterator.c:
1432 * gst/gstiterator.h:
1433 After 3 years it's about time to revise the documentation of the
1436 2008-08-29 Wim Taymans <wim.taymans@collabora.co.uk>
1438 * gst/gstpad.c: (gst_pad_get_internal_links_default):
1439 Make the internal links function less thread-unsafe and add some
1440 comments, dunno why.
1442 2008-08-29 Tim-Philipp Müller <tim.muller at collabora co uk>
1444 * gst/gst_private.h:
1445 Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes
1446 build with --disable-gst-debug.
1448 2008-08-28 David Schleef <ds@schleef.org>
1450 * gst/gstpadtemplate.c: Revert last change, since it breaks
1451 a few plugins, ffmpeg, alaw, and mulaw. Code is correct,
1452 but shouldn't be enabled until we've released fixed versions
1453 of -good and -ffmpeg.
1455 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1458 Put the gst_object_get_name() back in.
1460 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1462 * gst/gstpadtemplate.c:
1463 The old behaviour was that gst_pad_template_new() takes ownership of
1464 the caps. As we now call g_object_new() which calls g_object_set() and
1465 which copies the caps, we have to unref them to not leak them. Fixes
1466 make valgrid for me.
1468 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1471 Don't segfault on input like "tel:+1-123-555-1234".
1473 2008-08-27 Stefan Kost <ensonic@users.sf.net>
1476 Due to popular request also include ObjectType in
1477 gst_object_get_path_string(). Makes gst-launch -v bit more useful.
1479 2008-08-26 David Schleef <ds@schleef.org>
1481 * gst/gstutils.c: Remove check in gst_pad_query_convert() that
1482 src_val must be positive, because that's not a requirement.
1483 This causes problems with converting negative granulepos
1485 * gst/gstquery.c: Same, gst_query_new_convert().
1487 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1489 * gst/gstclock.c: (gst_clock_add_observation):
1490 Add some more debugging to the clock slaving code.
1492 * win32/common/libgstbase.def:
1493 Add new basetransform method.
1495 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1497 * gst/gstbin.c: (gst_bin_element_set_state):
1498 Take the (recursive) state lock between getting the locked state of an
1499 element and changing the element state. This allows the application to
1500 lock an element's state and then change its state without races.
1502 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1504 * gst/gstbin.c: (gst_bin_element_set_state):
1505 When an element is in the locked state we still want to update the
1506 base_time of the element.
1508 2008-08-21 Wim Taymans <wim.taymans@collabora.co.uk>
1510 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1511 Use the result from gst_pad_set_caps() instead of assuming the element
1512 always accepted the caps computed by the default negotiate function.
1514 2008-08-20 Wim Taymans <wim.taymans@collabora.co.uk>
1516 * docs/libs/gstreamer-libs-sections.txt:
1517 * libs/gst/base/gstbasetransform.c:
1518 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1519 (gst_base_transform_chain), (gst_base_transform_suggest),
1520 (gst_base_transform_reconfigure):
1521 * libs/gst/base/gstbasetransform.h:
1522 Implement method for reconfiguring basetransform.
1523 API: GstBaseTransform::gst_base_transform_reconfigure()
1525 2008-08-20 Stefan Kost <ensonic@users.sf.net>
1527 patch by: Murray Cumming <murrayc@murrayc.com>
1530 Mention that this is just like gst_buffer_merge() but with extra
1531 unreffing for C coders. Advise language bindings not to wrap it.
1534 Also fix file comment.
1536 2008-08-20 Stefan Kost <ensonic@users.sf.net>
1538 reviewed by: Wim Taymans <wim.taymans@collabora.co.uk>
1540 * plugins/elements/gstfakesink.c:
1541 * plugins/elements/gstfakesrc.c:
1542 Call super::event() when not handling it. Fixes #544855.
1544 2008-08-19 Michael Smith <msmith@songbirdnest.com>
1546 Patch by: Alessandro Decina <alessandro@nnva.org>
1547 * plugins/elements/gstfilesrc.c:
1548 Use 64 bit variants of stat functions on win32, to enable support
1549 of large files there.
1552 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
1554 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
1555 (gst_base_sink_event), (gst_base_sink_chain_unlocked),
1556 (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1557 (gst_base_sink_get_position), (gst_base_sink_change_state):
1558 Improve position reporting in the flushing state.
1559 Also report the position when we are not yet prerolled but we
1560 have a newsegment event. Fixes #543444.
1561 Improve the pull-based negotiation code.
1563 * tests/check/elements/fakesink.c: (GST_START_TEST),
1565 Add testcase for position reporting while flushing in PAUSED and
1568 * tests/check/generic/sinks.c: (GST_START_TEST):
1569 Update unit-test, we can now query the position as soon as we receive a
1572 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
1574 Based on patch by: Jason Zhao <e3423c at motorola dot com>
1576 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object):
1577 When the subclass event handler releases the PREROLL_LOCK, we could be
1578 in the flushing state and we have to ignore the event. Fixes #548394.
1580 2008-08-18 Tim-Philipp Müller <tim.muller at collabora co uk>
1582 * tools/gst-launch.1.in:
1583 Document GST_REGISTRY_UPDATE environment variable.
1585 2008-08-18 Wim Taymans <wim.taymans@collabora.co.uk>
1587 * libs/gst/base/gstbasetransform.c:
1588 (gst_base_transform_prepare_output_buffer):
1589 If the element is configured in passthrough mode but the
1590 prepare_output_buffer gave us a new output buffer, discard that buffer
1591 and reuse the input buffer.
1593 2008-08-15 Wim Taymans <wim.taymans@collabora.co.uk>
1595 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1597 * plugins/elements/gsttee.c: (gst_tee_finalize), (gst_tee_init),
1598 (gst_tee_request_new_pad), (gst_tee_release_pad),
1599 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc):
1600 * plugins/elements/gsttee.h:
1601 Protect pad_alloc with a new lock so that we can be sure that nothing is
1602 performing a pad_alloc when removing the pad. Fixes #547835.
1604 * tests/check/elements/tee.c: (buffer_alloc_harness_setup),
1605 (buffer_alloc_harness_teardown), (app_thread_func),
1606 (final_sinkpad_bufferalloc), (GST_START_TEST), (tee_suite):
1607 Added testcase for shutdown race.
1609 2008-08-14 Thijs Vermeir <thijsvermeir@gmail.com>
1614 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1616 * libs/gst/base/gstbasetransform.c:
1617 (gst_base_transform_prepare_output_buffer),
1618 (gst_base_transform_buffer_alloc):
1619 Go over the buffer_alloc function again and make sure we always end up
1620 allocating a buffer.
1622 Avoid doing pad alloc when we have a pending suggestion because we
1623 cannot yet deal with changing caps in that case. Fixes #547728
1625 2008-08-14 Stefan Kost <ensonic@users.sf.net>
1627 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1629 * docs/manual/advanced-clocks.xml:
1630 * docs/manual/clocks.png:
1631 * docs/manual/diagrams-clocks.svg:
1632 Add one more image showing different times together with a describing
1633 paragraph. Fixes #547729.
1635 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1637 * win32/common/libgstbase.def:
1640 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1642 * libs/gst/base/gstbasetransform.c:
1643 (gst_base_transform_transform_caps),
1644 (gst_base_transform_prepare_output_buffer),
1645 (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
1646 Don't overwrite the outsize when calculating the expected size of a new
1647 buffer because we still need it in case we cannot process the new
1649 When converting the size of the new buffer to an upstream size, actually
1650 use the expected size of the buffer, not some other random value.
1651 Use an atomic int to signal that a new upstream caps suggestion is
1653 When we can convert the current buffer to a new format, check if the
1654 buffer size is of the expected size and allocate a new buffer of the
1655 expected size when this is not the case. Fixes #546883.
1657 * tests/check/libs/transform1.c: (GST_START_TEST):
1658 remove ifdeffed code from the unit test.
1660 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1662 * pkgconfig/gstreamer-uninstalled.pc.in:
1663 * pkgconfig/gstreamer.pc.in:
1664 Remove -lgstcontrol-0.10 which never worked anyway as the lib is
1665 called gstcontroller-0.10.
1667 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1669 * gst/gstchildproxy.h:
1671 Remove double interface from doc-string.
1673 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1675 * libs/gst/base/gstbasesrc.c:
1676 * libs/gst/base/gstbasetransform.c:
1677 Fix headings in docs and gtk-doc warnings.
1679 2008-08-11 Michael Smith <msmith@songbirdnest.com>
1681 * gst/gstregistrybinary.c:
1682 Don't use g_mkstmp() on win32, it's unsafe if glib is using a different
1686 2008-08-11 Edward Hervey <edward.hervey@collabora.co.uk>
1688 * libs/gst/base/gstbasetransform.c:
1689 (gst_base_transform_buffer_alloc):
1690 Fix a "may be used unitialized" warning.
1692 2008-08-11 Stefan Kost <ensonic@users.sf.net>
1694 * docs/gst/gstreamer-sections.txt:
1696 Document preset-iface vmethods.
1698 2008-08-11 Stefan Kost <ensonic@users.sf.net>
1700 * docs/manual/advanced-interfaces.xml:
1701 Turn thoughts about HAL into a note-tag. Remove mentioning that is
1702 only used to discover devices.
1704 2008-08-07 Tim-Philipp Müller <tim.muller at collabora co uk>
1706 Patch by: Frederic Crozat <fcrozat@mandriva.org>
1708 * gst/gst.c: (init_pre):
1709 Make sure gettext returns translations in UTF-8 encoding rather
1710 than in the current locale encoding (#546822).
1712 2008-08-07 Wim Taymans <wim.taymans@collabora.co.uk>
1714 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1717 * tests/check/gst/gstcaps.c: (GST_START_TEST):
1718 Improve unit test subset tests and add a testcase for the subset failure
1721 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1722 Improve subtraction unit test.
1724 2008-08-07 Stefan Kost <ensonic@users.sf.net>
1726 * plugins/elements/gsttee.c:
1727 Unlock, instead of locking again.
1729 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1732 Clarify the docs a bit more.
1734 2008-08-05 Stefan Kost <ensonic@users.sf.net>
1736 * tests/examples/metadata/read-metadata.c:
1737 Don't leak old taglist.
1739 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1741 Patch by: Olivier Crete <tester at tester dot ca>
1743 * gst/gststructure.c:
1744 (gst_structure_fixate_field_nearest_fraction):
1745 Avoid overflows in fixation code when dealing with MAXINT values, which
1746 v4l2src seems to do.
1749 * tests/check/gst/gststructure.c: (GST_START_TEST):
1750 Make a unit test to check the fix.
1752 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1754 * plugins/elements/gstcapsfilter.c: (copy_func),
1755 (gst_capsfilter_set_property):
1756 Use new caps suggestion feature of basetransform to request a caps
1757 negotiation upstream.
1759 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1761 * docs/libs/gstreamer-libs-sections.txt:
1763 API: GstBaseTransform::gst_base_transform_suggest()
1765 * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1766 (gst_base_transform_init), (gst_base_transform_transform_caps),
1767 (gst_base_transform_transform_size),
1768 (gst_base_transform_configure_caps),
1769 (gst_base_transform_can_transform),
1770 (gst_base_transform_find_transform), (gst_base_transform_setcaps),
1771 (gst_base_transform_prepare_output_buffer),
1772 (gst_base_transform_buffer_alloc),
1773 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1774 (gst_base_transform_chain), (gst_base_transform_activate),
1775 (gst_base_transform_set_passthrough),
1776 (gst_base_transform_is_passthrough),
1777 (gst_base_transform_set_in_place),
1778 (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
1779 (gst_base_transform_set_qos_enabled),
1780 (gst_base_transform_is_qos_enabled),
1781 (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
1782 (gst_base_transform_reconfigure):
1783 * libs/gst/base/gstbasetransform.h:
1784 Rewrite of basetransform to perform negotiation outside of the
1785 buffer_alloc functions. Fixes #545853.
1787 * tests/check/libs/transform1.c: (GST_START_TEST),
1791 2008-08-05 Stefan Kost <ensonic@users.sf.net>
1793 * tests/check/gst/gstpreset.c:
1794 Only run preset tests when $HOME is writable. Preliminary fix for
1797 2008-08-04 Wim Taymans <wim.taymans@collabora.co.uk>
1799 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1800 (gst_bin_change_state_func), (bin_handle_async_done),
1801 (gst_bin_handle_message_func):
1802 Fix race for bins that simulate ASYNC state changes by inserting
1803 ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
1804 pending ASYNC messages even when the bin does not have ASYNC children.
1805 We note detect this behaviour because we will receive an ASYNC message
1806 that is originating from the bin itself.
1807 Fixes races with decodebin2 state changes.
1809 * tests/check/gst/gstbin.c: (GST_START_TEST):
1810 Add some more debug.
1812 2008-08-04 Tim-Philipp Müller <tim.muller at collabora co uk>
1814 * gst/gsttaglist.c: (_gst_tag_initialize):
1817 2008-08-04 Stefan Kost <ensonic@users.sf.net>
1820 Argh. actually save the text before committing. Now adds
1821 gst_tag_merge_strings_with_comma() to gst_tag_register().
1823 2008-08-04 Stefan Kost <ensonic@users.sf.net>
1827 Do as tim pointed out and actually register the new tag. Also improve
1828 te docs and use gst_tag_merge_strings_with_comma() method to allow
1829 retriving all keywords merged in one list.
1831 2008-08-01 Stefan Kost <ensonic@users.sf.net>
1834 * docs/gst/gstreamer.types:
1835 Revert 'accidential' change of the configure option removal. We still
1836 need to generate the types file in configure --disable-load-save.
1838 2008-08-01 Stefan Kost <ensonic@users.sf.net>
1840 * docs/gst/gstreamer-sections.txt:
1842 Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
1844 2008-08-01 Tim-Philipp Müller <tim.muller at collabora co uk>
1846 * gst/gstpadtemplate.c:
1847 (gst_pad_template_class_init), (gst_static_pad_template_get),
1848 (gst_pad_template_new), (gst_pad_template_pad_created),
1849 (gst_pad_template_set_property), (gst_pad_template_get_property):
1850 Add "name-template", "direction", "presence" and "caps" properties,
1851 so that gst_pad_template_new() is just a thin wrapper around
1852 g_object_new(), which is better for bindings. (Fixes: #539772)
1854 2008-07-31 Michael Smith <msmith@songbirdnest.com>
1857 Be more liberal in what URIs we accept.
1858 Do not unescape bits of the URI for no apparent reason before passing to
1859 the element. Fixes #545352.
1861 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1863 Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
1866 Include gstconfig.h as macros from it are used. Fixes bug #545607.
1868 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1871 * docs/gst/gstreamer-sections.txt:
1872 * docs/gst/gstreamer.types:
1873 * docs/gst/gstreamer.types.in:
1876 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
1877 * gst/gstconfig.h.in:
1878 * gst/gstelement.c: (gst_element_get_index):
1879 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1880 (gst_registry_binary_load_feature),
1881 (gst_registry_binary_read_cache):
1882 * gst/gstregistryxml.c: (load_feature),
1883 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1884 * plugins/Makefile.am:
1886 * tools/gst-inspect.c: (print_index_info), (print_element_list),
1887 (print_plugin_features), (print_element_features):
1888 * tools/gst-xmlinspect.c: (print_event_masks),
1889 (print_element_info):
1890 * win32/common/gstconfig.h:
1891 Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
1893 Disabling the indexers and URI handler code will only reduce the
1894 required amount of memory by a very small amount but on the other hand
1895 requires much more maintaince work. Apart from that many places of
1896 code are broken when disabling them.
1898 Disabling the enum types doesn't reduce the required amount of memory
1899 by more than a few bytes and makes it hard to fix bugs like #539772,
1900 i.e. use the enums as GObject properties.
1902 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1904 * docs/design/part-TODO.txt:
1905 Add some thoughts and problems with upstream renegotiation.
1907 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1909 * gst/gstpad.c: (gst_pad_acceptcaps_default),
1910 (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
1911 Remove silly redundant debug.
1912 Add some more debug info.
1913 Clarify the docs regarding new caps received from pad_alloc.
1915 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1917 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
1918 (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
1919 Make setting the caps more threadsafe.
1921 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1923 * docs/design/part-element-transform.txt:
1926 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1928 * plugins/elements/gstqueue.c: (gst_queue_init),
1929 (gst_queue_acceptcaps):
1930 Add and use a custom acceptcaps function instead of falling back to the
1931 potentially less optimized default implementation.
1933 2008-07-29 Tim-Philipp Müller <tim.muller at collabora co uk>
1935 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1936 Only sanity-check the buffer size if requested_caps == buffer_caps
1937 (ie. don't take pad caps into account, they're not relevant here)
1939 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1941 * plugins/elements/gsttee.c:
1942 * plugins/elements/gsttee.h:
1943 Reverting as not everything is clear yet. Needs some general design
1946 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1949 ChangeLog surgery for tee commit.
1951 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1953 * docs/gst/gstreamer-sections.txt:
1954 Cleanup section-file.
1956 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1958 * plugins/elements/gsttee.c:
1959 * plugins/elements/gsttee.h:
1960 Relay tag events in tee. Fixes parts of #474016.
1961 Downgrades 3 reoccurring debugs to log.
1963 2008-07-28 Michael Smith <msmith@songbirdnest.com>
1966 * libs/gst/Makefile.am:
1967 Build the net library if we have winsock2.
1969 2008-07-26 Stefan Kost <ensonic@users.sf.net>
1971 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1973 * docs/manual/advanced-threads.xml:
1974 * docs/manual/diagrams-pipelines.svg:
1975 * docs/manual/hello-world.png:
1976 * docs/manual/linked-elements.png:
1977 * docs/manual/mime-world.png:
1978 * docs/manual/queue.png:
1979 * docs/manual/thread-buffering.png:
1980 * docs/manual/thread-synchronizing.png:
1981 Replace one diagram with two separate ones and updates others.
1984 2008-07-25 Thijs Vermeir <thijsvermeir@gmail.com>
1987 Fix link in documentation.
1989 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1992 Fix confusing documentation.
1994 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1996 * libs/gst/base/gstbasesrc.h:
1997 revert the changes to the header file for the ABI.
1999 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
2001 * libs/gst/base/gstbasesrc.c:
2002 * libs/gst/base/gstbasesrc.h:
2003 Don't cache the seekable status.
2006 2008-07-24 Rene Stadler <mail@renestadler.de>
2008 * docs/manual/advanced-autoplugging.xml: Add fakesink to example
2009 code to close the pipeline graph. This prevents the program from
2010 printing internal data flow errors.
2012 2008-07-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2014 * docs/manual/basics-bus.xml:
2015 Correct typo. Fixes bug #544320.
2017 2008-07-22 Michael Smith <msmith@songbirdnest.com>
2020 Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
2021 Add check (taken from -base) for winsock, adds WIN32_LIBS
2023 Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
2025 Define GST_EXPORTS when building libgstreamer (only used on win32)
2026 * gst/gst_private.h:
2028 Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
2029 for symbols that we need to export in both these files.
2031 Include gst_private.h higher up to avoid some compile problems on win32.
2033 2008-07-22 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2038 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
2041 Previous commit was wrong NULL caps does not exist
2042 and indicate an error, so also add a FIXME to
2043 gst_caps_is_equal where NULL caps are accepted.
2045 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
2048 Allow passing of NULL to gst_caps_union
2050 2008-07-21 Thijs Vermeir <thijsvermeir@gmail.com>
2052 * gst/gstghostpad.c:
2053 Add in doc that gst_ghost_pad_set_target can accept
2054 NULL to clear target
2056 2008-07-15 Michael Smith <msmith@songbirdnest.com>
2059 * gst/gstregistry.c:
2060 GstRegistryPool doesn't exist; don't refer to it in docs.
2061 Don't refer to functions that don't exist in docs, it's
2064 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2067 Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
2069 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2071 Patch by: Tristan Matthews <le dot businessman at gmail dot com>
2073 * docs/pwg/building-testapp.xml:
2074 Don't use an undeclared variable in the example program.
2077 2008-07-12 Stefan Kost <ensonic@users.sf.net>
2079 * gst/gstdebugutils.c:
2080 Squeeze ghost-pad links and remove <> from classname labels to save
2081 more horizontal space.
2083 2008-07-11 Stefan Kost <ensonic@users.sf.net>
2085 * gst/gstdebugutils.c:
2086 Give request and sometimes pads a different shpe style. Condense the
2087 graphs a little more.
2089 2008-07-09 Michael Smith <msmith@songbirdnest.com>
2092 Don't require flex and bison if the parser is disabled.
2094 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2096 * libs/gst/controller/gstinterpolationcontrolsource.c:
2097 (_list_find_sorted_custom):
2098 Don't use declarations after statements.
2100 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2102 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
2103 Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
2104 of the the child-added / -removed signals as GstChildProxy
2105 only supports GstObjects.
2107 2008-07-07 Thijs Vermeir <thijsvermeir@gmail.com>
2109 * gst/gstdebugutils.c:
2112 2008-07-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2114 Patch by: Alessandro Decina <alessandro at nnva dot org>
2117 Fix "ignored return value" compiler warning with newer glibc.
2119 2008-07-05 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2121 * gst/gstchildproxy.c:
2122 Fix copy&paste error in gst_child_proxy_removed() documentation.
2124 2008-07-02 Tim-Philipp Müller <tim.muller at collabora co uk>
2126 * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
2127 Print error debug message if plugin description fields that should
2130 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
2131 Don't crash if the string to serialise is NULL (it really should
2132 not be, but apparently this used to work with the xml registry ...).
2134 2008-07-02 Thijs Vermeir <thijsvermeir@gmail.com>
2136 * tools/gst-plot-timeline.py:
2137 Fix parsing of log messages
2139 2008-07-01 Tim-Philipp Müller <tim.muller at collabora co uk>
2141 * win32/common/libgstbase.def::
2142 Sort alphabetically so make check-exports doesn't barf.
2144 2008-07-01 Stefan Kost <ensonic@users.sf.net>
2147 Use gst_format_get_name() to improve debug output.
2150 Remove #ifdef'ed code. Add TODO comment.
2153 Add debug output to ease spotting format != segment.format assertions.
2155 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2157 * tests/check/libs/gdp.c: (gst_dp_suite):
2158 Also enable the GDP unit test again on PPC now that the bug
2161 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2163 * libs/gst/dataprotocol/dataprotocol.c:
2164 Don't write to the same region of memory as a uint64 and uint16
2165 as this breaks strict aliasing rules and apparantly breaks on PPC
2166 and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
2168 2008-06-29 Stefan Kost <ensonic@users.sf.net>
2170 * libs/gst/controller/gstinterpolationcontrolsource.c:
2171 Optimize list handling. Use own find function. Exploit that fact that
2172 the list is sorted. Also pass back the node before, so that we can
2173 insert quickly. Have a fast path for append.
2175 2008-06-29 Stefan Kost <ensonic@users.sf.net>
2177 * docs/design/draft-framestep.txt:
2178 * docs/design/part-negotiation.txt:
2181 2008-06-27 Stefan Kost <ensonic@users.sf.net>
2184 Show configuration sumary after configure run. Based on patch by
2185 Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
2187 2008-06-27 Stefan Kost <ensonic@users.sf.net>
2189 patch by: Luc Pionchon <luc.pionchon@nokia.com>
2191 * docs/manual/advanced-autoplugging.xml:
2192 * docs/manual/advanced-threads.xml:
2193 * docs/manual/basics-bins.xml:
2194 * docs/manual/basics-elements.xml:
2195 * docs/manual/basics-helloworld.xml:
2196 * docs/manual/basics-pads.xml:
2197 Add scale factor for pdf output.
2199 * docs/manual/intro-basics.xml:
2200 Switched sections "pads" and "bins" and added a pipeline diagram.
2202 * docs/manual/intro-gstreamer.xml:
2203 Added more info on gstreamer.
2205 * docs/manual/intro-motivation.xml:
2206 Commented out the whole section "current problem", which sounds
2207 historical and somehow osolete; it could be turned in a positive
2208 way and reused to improve the design principles.
2210 * docs/manual/intro-preface.xml:
2211 - Update URLs to library.gnome.org.
2212 - Do not mention GTK+ in preliminary reading (irrelevant).
2213 - Mention Plugin Writer's Manual and further reading only in the
2215 - Added a list of most relevant GObject/glib topics.
2217 * docs/manual/Makefile.am:
2218 * docs/manual/bin-element-ghost.fig:
2219 * docs/manual/bin-element-ghost.png:
2220 * docs/manual/bin-element-noghost.fig:
2221 * docs/manual/bin-element-noghost.png:
2222 * docs/manual/bin-element.fig:
2223 * docs/manual/bin-element.png:
2224 * docs/manual/filter-element-multi.fig:
2225 * docs/manual/filter-element-multi.png:
2226 * docs/manual/filter-element.fig:
2227 * docs/manual/filter-element.png:
2228 * docs/manual/gstreamer-overview.png:
2229 * docs/manual/hello-world.fig:
2230 * docs/manual/hello-world.png:
2231 * docs/manual/linked-elements.fig:
2232 * docs/manual/linked-elements.png:
2233 * docs/manual/mime-world.fig:
2234 * docs/manual/mime-world.png:
2235 * docs/manual/queue.fig:
2236 * docs/manual/queue.png:
2237 * docs/manual/simple-player.png:
2238 * docs/manual/sink-element.fig:
2239 * docs/manual/sink-element.png:
2240 * docs/manual/src-element.fig:
2241 * docs/manual/src-element.png:
2242 * docs/manual/diagrams-general.svg:
2243 * docs/manual/diagrams-pipelines.svg:
2244 Removed .fig, added .png counterpart.
2248 2008-06-26 Thijs Vermeir <thijsvermeir@gmail.com>
2250 * plugins/elements/gstmultiqueue.c:
2251 * plugins/elements/gstmultiqueue.h:
2252 revert extra-size-buffers stuff, caused some race conditions
2253 and extra-size-buffers is not used anymore. Docs needs some updates
2255 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
2257 * win32/common/config.h:
2258 * win32/common/gstenumtypes.c:
2259 * win32/common/gstenumtypes.h:
2260 * win32/common/gstversion.h:
2263 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
2265 * gst/gstdebugutils.h: (GstDebugGraphDetails),
2266 (GST_DEBUG_BIN_TO_DOT_FILE):
2267 Add missing Since' markers to gtk-doc blurbs.
2269 2008-06-26 Wim Taymans <wim.taymans@collabora.co.uk>
2271 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2272 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2273 (set_caps_1), (set_caps_ct1), (transform_ct1),
2274 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2275 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2276 (transform_size_ct2), (buffer_alloc_ct2):
2277 Add some more tests with switching caps in buffer_alloc.
2279 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2281 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2282 (gst_test_trans_class_init), (result_sink_chain),
2283 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2284 (gst_test_trans_push), (gst_test_trans_pop):
2285 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2286 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2287 (set_caps_1), (set_caps_ct1), (transform_ct1),
2288 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2289 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2290 (transform_size_ct2), (buffer_alloc_ct2),
2291 (gst_basetransform_suite):
2292 More tests, prepare for tests with switching caps in buffer_alloc.
2294 2008-06-25 Thijs Vermeir <thijsvermeir@gmail.com>
2296 * plugins/elements/gstmultiqueue.c:
2297 * plugins/elements/gstmultiqueue.h:
2298 Fix dead-lock in underrun_cb
2300 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2302 * docs/design/part-states.txt:
2303 Fix device open/close docs.
2305 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2308 Mention bugnumber for last commit.
2310 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2312 patch by: Luc Pionchon <luc.pionchon@nokia.com>
2314 * docs/manual/manual.xml:
2315 - Reorganised the previous "introduction" bundle into Foreword,
2316 Introduction, and About GStreamer. The two first are <preface>
2317 docbook elements. The later is the first part of the book.
2318 - added intro-gstreamer.xml (content partially from
2320 - moved appendix-win32.xml into appendix-integration.xml
2322 * docs/manual/intro-preface.xml: gstreamer section moved...
2323 * docs/manual/intro-gstreamer.xml: ...here. new file.
2325 * docs/manual/appendix-win32.xml: removed file. Content moved...
2326 * docs/manual/appendix-integration.xml: ...here.
2328 * docs/manual/highlevel-components.xml: section about GstEditor moved...
2329 * docs/manual/appendix-checklist.xml: ...here.
2333 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2335 patch by: Luc Pionchon <luc.pionchon@nokia.com>
2337 * docs/manual/basics-helloworld.xml:
2338 * docs/manual/hello-world.fig:
2339 - Explicitely include glib.h.
2340 - Do not use global variables.
2341 - Use g_printerr() instead of g_print().
2342 - Minor formating/renaming to increase readibility.
2343 - Renamed new_pad() to on_pad_added()
2344 - Improved explenatory comments.
2345 - renamed ogg parser to ogg demuxer
2346 - Use "autoaudiosink" instead of "alsasink".
2349 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2352 Remove cvs conflict marker.
2354 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2357 Document that for plgin-docs we extraxt he short-desc from the element
2360 * docs/design/part-states.txt:
2361 Tell that devices should be closed in PAUSED -> READY.
2363 * docs/manual/README:
2364 Document how tests in the manual are handled.
2369 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2371 * gst/gstbin.c: (bin_query_latency_fold):
2372 Only care about latency min and max when the sink is actually a live
2375 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2377 * docs/design/part-block.txt:
2380 * docs/design/part-element-transform.txt:
2381 Add notes about why transform needs to know input/output sizes.
2382 Add some issues that need to be solved.
2383 Add some more use cases.
2385 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2386 (gst_test_trans_class_init), (result_sink_chain),
2387 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2388 (gst_test_trans_push), (gst_test_trans_pop):
2389 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2390 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2391 (set_caps_1), (set_caps_ct1), (transform_ct1),
2392 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2393 (gst_basetransform_suite):
2394 Add suport for different pad templates and buffer-alloc.
2395 Add more checks for caps and buffer-alloc.
2396 Add checks for proxy buffer alloc.
2397 Add unit test for copy transform.
2399 2008-06-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2401 Patch by: Luc Pionchon <luc.pionchon@nokia.com>
2403 * docs/manual/appendix-integration.xml:
2404 * docs/manual/appendix-licensing.xml:
2405 * docs/manual/basics-elements.xml:
2406 * docs/manual/basics-helloworld.xml:
2407 * docs/manual/basics-pads.xml:
2408 * docs/manual/highlevel-components.xml:
2409 * docs/manual/highlevel-xml.xml:
2410 * docs/manual/intro-basics.xml:
2411 * docs/manual/intro-preface.xml:
2412 Typo and formatting fixes (#538594).
2414 2008-06-24 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2416 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2417 Fix some memory leaks and uses of object instances that we don't
2420 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
2422 * plugins/elements/gstmultiqueue.c:
2423 Add functionality to extra-size-buffers property.
2425 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
2427 * plugins/elements/gstmultiqueue.c:
2428 Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
2429 activate the pads if they are added in STATE_NULL.
2431 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
2433 * docs/libs/gstreamer-libs-sections.txt:
2435 * libs/gst/check/gstcheck.c:
2436 * libs/gst/check/gstcheck.h:
2437 API: gst_check_teardown_pad_by_name
2439 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
2441 * libs/gst/check/gstcheck.c:
2442 * libs/gst/check/gstcheck.h:
2443 Also setup request pads and allow setup pads by name (#537812)
2444 API: gst_check_setup_src_pad_by_name
2445 API: gst_check_setup_sink_pad_by_name
2447 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2449 * tests/check/gst/gstbuffer.c:
2450 * tests/check/pipelines/parse-launch.c:
2451 Use HAVE_VALGRIND_H some more.
2453 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2455 * scripts/cvs-update.sh:
2456 Pass arguments to make.
2457 Run autoregen.sh if Makefile is not there.
2459 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2463 Don't assume that <valgrind/valgrind.h> exists just because
2464 the binary is there.
2466 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2468 * tests/check/Makefile.am:
2469 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2470 (gst_test_trans_class_init), (gst_test_trans_init),
2471 (gst_test_trans_set_data), (result_sink_chain),
2472 (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
2473 (gst_test_trans_pop):
2474 * tests/check/libs/transform1.c: (GST_START_TEST),
2475 (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
2476 Add some test basetransform element and the beginnings of various
2479 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2481 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2482 Increase code readability.
2483 Don't try to compare buffer offsets when ther are invalid.
2485 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2487 * docs/design/Makefile.am:
2488 Dist some more design docs.
2490 * docs/random/moving-plugins:
2491 Small addition: good plugins mustn't have functional code
2492 within assertion macros.
2494 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2496 * docs/design/draft-framestep.txt:
2497 Some ideas about a framestep API
2499 * docs/design/part-element-transform.txt:
2500 Start design and use cases for basetransform in order to get it
2503 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2506 In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
2507 be in UTF-8 encoding.
2509 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2512 Make it known that gst_bus_poll() is pure evil (fixes #538810).
2514 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2516 * plugins/elements/gstcapsfilter.c:
2517 * plugins/elements/gstfakesink.c:
2518 * plugins/elements/gstfakesrc.c:
2519 * plugins/elements/gstfdsink.c:
2520 * plugins/elements/gstfdsrc.c:
2521 * plugins/elements/gstfilesink.c:
2522 * plugins/elements/gstfilesrc.c:
2523 * plugins/elements/gstidentity.c:
2524 * plugins/elements/gstmultiqueue.c:
2525 * plugins/elements/gstqueue.c:
2526 * plugins/elements/gsttee.c:
2527 * plugins/elements/gsttypefindelement.c:
2528 Remove short_description. Add basic docs for gsttypefindelement.
2529 Simplify markup for fakesrc/fdsrc.
2531 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2533 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2536 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2538 Patch by: Joel Larsson <tilljoel at gmail dot com>
2540 * docs/plugins/gstreamer-plugins.args:
2541 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2542 (gst_fd_src_init), (gst_fd_src_update_fd),
2543 (gst_fd_src_set_property), (gst_fd_src_get_property),
2544 (gst_fd_src_create):
2545 * plugins/elements/gstfdsrc.h:
2546 Add timeout property like udpsrc. Fixes #538628.
2547 Add some more docs and example pipelines.
2549 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2551 * docs/libs/gstreamer-libs-sections.txt:
2552 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2553 (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
2554 (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
2555 (gst_base_sink_do_sync):
2556 * libs/gst/base/gstbasesink.h:
2557 * win32/common/libgstbase.def:
2558 Add method to allow sinks to specify additional delay between the sync
2559 times and the actual rendering of the data.
2560 API: gst_base_sink_set_render_delay()
2561 API: gst_base_sink_get_render_delay()
2563 2008-06-20 Jan Schmidt <jan.schmidt@sun.com>
2566 Bump version number back to dev -> 0.10.20.1
2568 2008-06-20 Sebastian Dröge <slomo@circular-chaos.org>
2570 * docs/gst/gstreamer-sections.txt:
2571 * gst/gsttaglist.c: (_gst_tag_initialize):
2573 API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
2576 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2578 * libs/gst/controller/gstcontroller.c:
2579 Revert one change, that make ret value possible uninitialized.
2581 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2583 * libs/gst/controller/gstcontroller.c:
2584 Use freeze/thaw notify to sync notify emission a bit (its also more
2585 efficient). Move debug output to LOG (is called a lot in a loop).
2586 Always unset g_values if the have been initialized.
2588 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2590 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2591 (gst_base_sink_wait_eos), (gst_base_sink_event):
2592 If we have not seen a buffer before EOS, use the segment values to
2593 report the current position instead of invalid positions.
2595 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2597 * docs/plugins/tmpl/.cvsignore:
2598 * tests/check/gst/.cvsignore:
2601 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2603 * libs/gst/controller/gstinterpolation.c:
2604 * libs/gst/controller/gstinterpolationcontrolsource.c:
2605 * tests/check/libs/controller.c:
2606 Rewrite handling of default values. Fix overflow with unsigned types
2607 in linear interpolation. Remove now obsolete _first_value() function.
2608 Add more tests. Fixes #538201.
2610 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2612 * libs/gst/base/gstbasetransform.c:
2613 (gst_base_transform_class_init), (gst_base_transform_init),
2614 (gst_base_transform_transform_caps),
2615 (gst_base_transform_prepare_output_buffer):
2617 When a buffer is writable, its metadata is also writable so we don't
2618 need to subbuffer (which then makes the buffer not-writable anymore).
2620 === release 0.10.20 ===
2622 2008-06-18 Jan Schmidt <jan.schmidt@sun.com>
2625 releasing 0.10.20, "You Crazy Diamond"
2627 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
2630 0.10.19.3 pre-release
2632 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
2636 Rename DATADIR to GST_DATADIR to avoid build problems
2637 on win32. Patch By: David Schleef <ds@schleef.org>
2640 2008-06-05 Sebastian Dröge <slomo@circular-chaos.org>
2643 Explicitely link with -ldl if dladdr() is found there. Before it was
2644 implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
2645 -ldl has moved from Libs to Libs.private. Fixes bug #536744.
2647 2008-06-05 Tim-Philipp Müller <tim.muller at collabora co uk>
2649 * gst/gsterror.c: (_gst_stream_errors_init):
2650 Fix typo (spotted by Fabricio Godoy, #536723).
2652 2008-06-05 Jan Schmidt <jan.schmidt@sun.com>
2655 0.10.19.2 pre-release
2657 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
2659 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
2660 (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
2662 Make sure we don't generate invalid QoS messages.
2664 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
2666 * gst/gstevent.c: (gst_event_new_qos):
2667 Add some assert and docs for invalid input to the qos function.
2669 2008-05-30 Wim Taymans <wim.taymans@collabora.co.uk>
2671 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2672 (gst_base_sink_get_position):
2673 The reported position must always be smaller than the last seen
2674 timestamps (or timestamp + duration for reverse).
2676 2008-05-30 Sebastian Dröge <slomo@circular-chaos.org>
2678 Patch by: Rob Bradford <rob at robster dot org dot uk>
2680 * gst/gstregistry.c: (gst_registry_scan_path_level):
2681 Don't recurse into .debug directories as some distros install
2682 the debugging symbols next to the plugins in .debug directories
2683 and dlopen() crashes on them sometimes. Fixes bug #508070.
2685 Add FIXME for 0.11 to not recurse into directories at all because
2686 it's very inconsistent to the behaviour of other PATH environment
2689 2008-05-29 Wim Taymans <wim.taymans@collabora.co.uk>
2691 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2692 (gst_base_sink_get_position_last), (gst_base_sink_get_position):
2693 Fix position query range checks in reverse playback.
2695 2008-05-29 Sebastian Dröge <slomo@circular-chaos.org>
2699 Deprecated gst_element_get_pad() as it can't be used sanely. It's not
2700 clear of the reference to the resulting pad must be released later
2701 or not, resulting in possible leaks. Fixes bug #533865.
2703 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
2705 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2707 * gst/gstelementfactory.c:
2708 Small doc fix. Fixes #535285.
2710 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
2712 Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
2714 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
2715 (gst_base_src_get_range), (gst_base_src_pad_get_range),
2716 (gst_base_src_loop), (gst_base_src_set_flushing),
2717 (gst_base_src_change_state):
2718 Make sending an EOS event to the basesrc non-blocking even if the
2719 implementation does blocking waits in the create function. This is done
2720 by unlocking the create function when EOS is sent.
2723 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
2725 * tools/gst-inspect.c: (print_element_properties_info):
2726 If possible print the element type of GValueArray properties.
2728 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
2730 * gst/gstiterator.c:
2731 Remove an unused field from the private GstListIterator struct.
2733 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2735 * libs/gst/controller/gstcontroller.c:
2736 Add parameter guards.
2738 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2740 * tests/check/gst/gstpipeline.c:
2741 Revert test change and add comment why it should not work.
2743 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2745 * tests/check/gst/gstpipeline.c:
2746 Extending the test a little to verify that we also get the NULL state-
2749 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
2751 * gst/gstpreset.c: (gst_preset_default_get_meta),
2752 (gst_preset_get_preset_names), (gst_preset_get_property_names),
2753 (gst_preset_load_preset), (gst_preset_save_preset),
2754 (gst_preset_rename_preset), (gst_preset_delete_preset),
2755 (gst_preset_set_meta):
2756 Add Since: markers to docs blurbs.
2758 * win32/common/libgstreamer.def:
2759 Add recently-added API.
2761 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2763 Patch by: Stefan Kost <ensonic@users.sf.net>
2766 Add DATADIR for storing presets.
2768 * docs/gst/gstreamer-docs.sgml:
2769 * docs/gst/gstreamer-sections.txt:
2770 * docs/gst/gstreamer.types.in:
2771 Add GstPreset to docs.
2775 * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
2776 (preset_open_and_parse_header), (preset_parse_version),
2777 (preset_merge), (preset_get_keyfile),
2778 (gst_preset_default_get_preset_names),
2779 (gst_preset_default_get_property_names),
2780 (gst_preset_default_load_preset),
2781 (gst_preset_default_save_presets_file),
2782 (gst_preset_default_save_preset),
2783 (gst_preset_default_rename_preset),
2784 (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
2785 (gst_preset_default_get_meta), (gst_preset_default_randomize),
2786 (gst_preset_default_reset), (gst_preset_get_preset_names),
2787 (gst_preset_get_property_names), (gst_preset_load_preset),
2788 (gst_preset_save_preset), (gst_preset_rename_preset),
2789 (gst_preset_delete_preset), (gst_preset_set_meta),
2790 (gst_preset_get_meta), (gst_preset_class_init),
2791 (gst_preset_base_init), (gst_preset_get_type):
2793 Add GstPreset to core. Fixes #396779
2795 * tests/check/Makefile.am:
2796 * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
2797 (gst_preset_test_set_property), (gst_preset_test_class_init),
2798 (gst_preset_test_base_init), (gst_preset_test_get_type),
2799 (gst_preset_test_plugin_init), (GST_START_TEST),
2800 (remove_preset_file), (test_setup), (test_teardown),
2802 Add GstPreset unit tests.
2804 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2806 * gst/gstpad.c: (gst_pad_event_default_dispatch):
2807 The default event function on a sinkpad should return TRUE when
2808 there are no internal links but should collect the return values from
2809 the internal links otherwise.
2811 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2813 * plugins/elements/gsttypefindelement.c:
2814 (gst_type_find_element_src_event),
2815 (gst_type_find_element_handle_event):
2816 Use faster and safer _pad_push_event().
2818 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
2820 * docs/gst/gstreamer-sections.txt:
2821 * gst/gstutils.c: (element_find_unlinked_pad),
2822 (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
2824 API: add gst_bin_find_unlinked_pad()
2825 API: deprecate gst_bin_find_unconnected_pad() (#401456)
2827 2008-05-26 Peter Kjellerstedt <pkj@axis.com>
2833 Fixed a bunch of typos.
2835 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2838 * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
2839 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
2840 (gst_parse_bin_from_description_full):
2842 'unconnected pad' -> 'unlinked pad' for consistency (#401456).
2844 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2846 * docs/pwg/advanced-tagging.xml:
2847 Small docs update, can't be bothered to rewrite the nonsensical
2850 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2853 Clarify docs for GST_SEEK_TYPE_CUR (#534505).
2855 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2857 * gst/parse/grammar.y:
2858 Remove unneeded casts.
2860 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2862 * gst/parse/grammar.y:
2863 * tests/check/pipelines/parse-launch.c:
2864 Get all missing elements from a parse launch string if possible
2865 (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
2867 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2869 * tests/check/Makefile.am:
2870 * tests/check/pipelines/parse-launch.c:
2871 Add some unit tests for the new gst_parse_launch*_full() API.
2872 (Exposes a previously-existing memory leak in the error code
2873 path, so adding to VALGRIND_TO_FIX for now).
2875 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2877 * docs/gst/gstreamer-sections.txt:
2878 * gst/gst.c: (init_post):
2879 * gst/gst_private.h: (_GstParseContext):
2880 * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
2881 (gst_parse_context_free), (gst_parse_context_get_missing_elements),
2882 (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
2883 (gst_parse_launch_full):
2884 * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
2885 (GstParseFlags), (GstParseContext):
2886 * gst/gstutils.c: (gst_parse_bin_from_description),
2887 (gst_parse_bin_from_description_full):
2889 * gst/parse/grammar.y:
2890 * gst/parse/types.h:
2891 * win32/common/libgstreamer.def:
2892 Add new gst_parse_*_full API (#528178):
2893 API: gst_parse_launch_full()
2894 API: gst_parse_launchv_full()
2895 API: gst_parse_bin_from_description_full()
2896 API: gst_parse_context_new()
2897 API: gst_parse_context_free()
2898 API: gst_parse_context_get_missing_elements()
2900 2008-05-23 Stefan Kost <ensonic@users.sf.net>
2902 patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
2904 * docs/faq/gst-uninstalled:
2905 Also support ffmpeg in gst-uninstalled.
2907 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2910 After discussion on IRC use the binary registry as default
2911 but allow to disable it with --disable-binary-registry.
2913 * win32/common/libgstreamer.def:
2914 Add the two new symbols for the binary registry.
2916 2008-05-22 Tim-Philipp Müller <tim.muller at collabora co uk>
2918 * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
2919 * gst/gstutils.c: (gst_parse_bin_from_description):
2920 * gst/parse/grammar.y: (graph):
2921 More guards against bad input; typo fix; some minor clean-ups.
2923 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2925 Patch by: Sjoerd Simons <sjoerd at luon dot net>
2927 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2928 If nothing else can be used, use the last buffer's start time as
2929 the segment's last stop. Fixes bug #534258.
2931 2008-05-21 Tim-Philipp Müller <tim.muller at collabora co uk>
2933 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2934 Move size sanity check to the right place: downstream may return
2935 a buffer with a smaller size if the buffer caps are different than
2936 the requested ones, as may happen when doing reverse negotiation.
2938 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2940 * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
2941 (gst_file_sink_render):
2942 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
2943 (gst_file_src_start):
2944 Small cleanups. Add note adbout g_fopen() on windows and why we don't
2947 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2949 * gst/gstpad.c: (gst_pad_load_and_link):
2950 * gst/gstutils.c: (gst_element_link_pads),
2951 (gst_element_unlink_pads):
2952 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2953 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2954 (gst_check_teardown_sink_pad),
2955 (gst_check_element_push_buffer_list):
2956 * tests/check/elements/fakesink.c: (GST_START_TEST):
2957 * tests/check/elements/filesink.c:
2958 * tests/check/elements/filesrc.c: (GST_START_TEST):
2959 * tests/check/elements/multiqueue.c: (setup_multiqueue),
2960 (mq_sinkpad_to_srcpad):
2961 * tests/check/elements/tee.c: (GST_START_TEST):
2962 * tests/check/generic/sinks.c: (GST_START_TEST):
2963 * tests/check/gst/gstbin.c: (GST_START_TEST):
2964 * tests/check/gst/gstevent.c: (GST_START_TEST):
2965 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2966 * tests/check/gst/gstpipeline.c: (GST_START_TEST):
2967 * tests/check/gst/gstquery.c: (GST_START_TEST):
2968 * tests/check/gst/gstutils.c: (GST_START_TEST):
2969 * tests/check/libs/basesrc.c: (GST_START_TEST):
2970 * tests/check/pipelines/parse-launch.c: (run_delayed_test),
2971 (gst_parse_test_element_change_state):
2972 Don't use gst_element_get_pad().
2974 2008-05-21 Felipe Contreras <felipe.contreras@gmail.com>
2977 Fix installing plugin documentation when gtk-doc is disabled.
2979 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2981 * docs/manual/advanced-autoplugging.xml:
2982 * docs/manual/basics-helloworld.xml:
2983 * docs/manual/basics-pads.xml:
2984 * docs/manual/highlevel-components.xml:
2985 Avoid using a bad function in the example code.
2987 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2989 * gst/gstclock.c: (gst_clock_set_calibration):
2990 Fix debug of the new clock rate.
2992 2008-05-21 Sebastian Dröge <slomo@circular-chaos.org>
2994 * win32/common/libgstbase.def:
2995 Add gst_base_sink_wait_clock() to the exported symbols.
2997 2008-05-20 Sebastian Dröge <slomo@circular-chaos.org>
2999 Patch by: Tim-Philipp Müller <tim.muller at collabora co uk>
3001 * libs/gst/base/gstbasetransform.c:
3002 (gst_base_transform_sink_event):
3003 Unref events that the GstBaseTransform::event vfunc didn't want to
3004 have forwarded by the base class. Closes a leak in identity.
3007 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
3009 * docs/libs/gstreamer-libs-sections.txt:
3010 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
3011 * libs/gst/base/gstbasesink.h:
3012 Expose a method that was previously used internally to synchronize
3013 against the clock because it can be useful for subclasses too.
3014 API: GstBaseSink::gst_base_sink_wait_clock()
3016 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
3018 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
3019 Add sanity check to make sure we don't get smaller buffers
3020 than requested (and fallback to normal buffer alloc if we do).
3022 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
3024 * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
3025 (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
3026 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
3027 Refactor adjusting the running_time with latency and offset into a
3029 When doing clipping, we still want to use the subclass get_times method,
3030 just in case the DURATION or TIMESTAMP are not set.
3032 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
3034 * docs/gst/gstreamer-sections.txt:
3035 * gst/gsttypefind.c: (gst_type_find_suggest_simple):
3036 * gst/gsttypefind.h:
3037 * win32/common/libgstreamer.def:
3038 API: add gst_type_find_suggest_simple(), #533740.
3040 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
3042 * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
3043 Use right error code when typefinding fails, so we can use
3044 the default (translated) error messages.
3046 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
3048 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
3049 (gst_base_src_start):
3050 When the subclass did not set caps on outgoing buffers, configure the
3051 caps we negotiated on the source pad.
3052 When the typefind helper does not find caps, error out properly instead
3053 of doing things with NULL caps.
3055 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
3057 * gst/gsttypefind.h:
3058 Tabs to spaces, oh yes!
3060 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
3062 * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
3063 Add David's and Benjamin's tests for array intersection to the
3064 unit test suite (#147931).
3066 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
3069 Document that gst_event_new_tag() and gst_event_new_navigation()
3070 take ownership of the taglist/structure passed to them. (#533635).
3072 2008-05-17 Jan Schmidt <jan.schmidt@sun.com>
3075 Don't descend into the plugins dir if plugin docs building
3079 Add a note about the new type:GTypeName syntax for the plugin
3080 documentation .types file.
3082 2008-05-17 Sebastian Dröge <slomo@circular-chaos.org>
3084 * gst/gstmessage.c: (gst_message_new_error),
3085 (gst_message_new_warning), (gst_message_new_info):
3087 Mark the debug string parameters as const. Fixes bug #533490.
3089 2008-05-16 Sebastian Dröge <slomo@circular-chaos.org>
3091 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
3092 Sort buffer cache list by end offsets. This makes sure that we don't
3093 stop to search for a cached buffer that contains the requested data
3095 Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
3096 more efficient. Fixes bug #459862.
3098 2008-05-14 Stefan Kost <ensonic@users.sf.net>
3101 Explain why we copy the list.
3103 * gst/gstpipeline.c:
3107 Add one debug-log statement to help tracing probelms with linking pads.
3109 2008-05-12 Stefan Kost <ensonic@users.sf.net>
3111 * tests/check/gst/gstinfo.c:
3112 Add a test for removing the default log handler. Seems to fail under
3115 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
3117 * gst/gstpad.c: (gst_pad_peer_accept_caps):
3118 Release pad lock before calling out to avoid a possible deadlock.
3120 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
3122 * gst/parse/grammar.y:
3123 Remove unneeded value unset.
3125 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3126 Add unit test for de/serialization of caps.
3128 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
3130 * plugins/elements/gstfakesink.c:
3131 (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
3132 * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
3133 (gst_fake_src_class_init):
3134 Use custom marshalers that take GstMiniObject as first parameter.
3135 Using OBJECT as parameter while a GstMiniObject is given will lead
3136 to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
3138 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
3140 * plugins/elements/gsttypefindelement.c:
3141 (gst_type_find_element_handle_event),
3142 (gst_type_find_element_send_cached_events),
3143 (gst_type_find_element_change_state):
3144 Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
3147 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
3149 * plugins/elements/gsttypefindelement.c:
3150 (gst_type_find_handle_src_query), (stop_typefinding),
3151 (gst_type_find_element_handle_event),
3152 (gst_type_find_element_send_cached_events),
3153 (gst_type_find_element_change_state):
3154 Forward FLUSH_START events immediately and clean up instead of
3157 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
3159 Patch by: Sjoerd Simons <sjoerd at luon dot net>
3161 * libs/gst/base/gstbasetransform.c:
3162 (gst_base_transform_buffer_alloc):
3163 Check the caps of the buffer returned by gst_pad_alloc_buffer() and
3164 fall back to default negotiation in the chain function if the caps
3165 are different from what was requested. Fixes bug #526768.
3167 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
3170 * tests/check/gst/gstsegment.c:
3171 No, let's not use g_slice_{dup|copy} here, since they only exist
3172 since GLib 2.14 and we still depend only on >= 2.12. Also add
3173 unit test for gst_segment_copy().
3175 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
3177 * gst/gstutils.h: (GST_BOILERPLATE_FULL):
3178 Try to fix 'dereferencing type-punned pointer will break strict
3179 aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
3180 changed the default GType typedef from gulong to gsize at some point,
3181 but kept GType typedef'ed to gulong for C++ for ABI reasons; the
3182 g_once_* functions all take a gsize * though, so work around the type
3183 mismatch for C++ by doing everything in gsize and casting to GType
3186 2008-05-09 Jan Schmidt <jan.schmidt@sun.com>
3188 * plugins/elements/gstmultiqueue.c:
3189 Add documentation for the signals to push our core plugin docs
3190 coverage back up to 100%.
3192 2008-05-08 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3194 * gst/gstinfo.h (GST_FUNCTION):
3195 Reverted GST_FUNCTION to the old version as we don't want the
3196 full signature in C++ code. Also added support for MSVC.
3198 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
3201 Intern the type name string, similar to what G_DEFINE_TYPE does.
3203 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
3206 Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
3208 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
3210 Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
3212 * libs/gst/base/gstbasetransform.c:
3213 (gst_base_transform_buffer_alloc):
3214 Don't passthrough buffer allocation too easily if the caps change.
3215 This breaks when working in passthrough mode and upstream changes
3216 it's caps. Fixes bug #526768.
3218 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3220 * gst/gstinfo.c (gst_debug_log_valist):
3221 Improved the __FILE__ part of debug output for MSVC.
3223 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3225 * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
3226 Declaration after statement fix for compilers like MSVC.
3228 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3230 * win32/common/config.h.in:
3231 Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
3232 use the real thing than having "???" unconditionally.
3234 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3236 * gst/gstinfo.h (GST_FUNCTION):
3237 Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
3239 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
3241 * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
3244 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3245 (gst_base_sink_set_flushing):
3246 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3249 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
3251 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
3252 (gst_fake_src_init), (gst_fake_src_set_property),
3253 (gst_fake_src_get_property), (gst_fake_src_start):
3254 * plugins/elements/gstfakesrc.h:
3255 Added format property to control the format of the newsegment events.
3256 API: GstFakeSrc:format
3258 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
3260 * win32/common/libgstreamer.def:
3261 Add gst_pad_has_name() to the exported symbols.
3263 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
3265 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
3266 * libs/gst/base/gstbasetransform.c:
3267 (gst_base_transform_prepare_output_buffer):
3268 Don't allow negative sizes when allocating new buffers.
3271 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
3273 Patch by: Sjoerd Simons <sjoerd at luon net>
3275 * gst/gstbus.c: (gst_bus_source_dispatch):
3276 Don't print a warning if the queue is empty when we try to pop
3277 here. That could happen if another thread or callback set the
3278 bus to flushing between the source's check/prepare and the
3279 dispatch being called (#531538).
3281 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
3283 * plugins/elements/gstmultiqueue.c:
3286 2008-05-05 Sebastian Dröge <slomo@circular-chaos.org>
3288 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3289 Add unit test for deserializing uint64s and check some really large
3290 numbers in the int64 test.
3292 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
3294 * tools/gst-inspect.c: (n_print), (print_hierarchy),
3295 (print_interfaces), (print_element_properties_info),
3296 (print_signal_info):
3297 Use "%s" as format string instead of printing strings directly.
3299 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
3301 * gst/gstclock.c: (gst_clock_set_calibration):
3302 Make some checks actually useful.
3304 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3305 Remove some unused code. Unsigned integers tend to be >= 0.
3307 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3309 * gst/gstminiobject.c: (gst_value_get_mini_object):
3310 Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
3311 function was not in the unscheduled 0.10.19 release.
3313 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3315 * gst/gstregistry.c: (gst_registry_scan_path_level):
3316 Only print one log message per non-plugin file.
3318 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3320 * gst/gstinfo.c: (gst_debug_log_default):
3321 Fix alignment of debug log columns on 64-bit.
3323 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3325 * docs/libs/Makefile.am:
3326 * docs/libs/gstreamer-libs-sections.txt:
3327 Ignore private controller headers for docs.
3329 2008-05-03 Sebastian Dröge <slomo@circular-chaos.org>
3331 * libs/gst/controller/gstcontrollerprivate.h:
3332 * libs/gst/controller/gsthelper.c:
3333 * libs/gst/controller/gstinterpolation.c:
3334 * libs/gst/controller/gstinterpolationcontrolsource.c:
3335 (gst_interpolation_control_source_set_interpolation_mode):
3336 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
3337 * libs/gst/controller/lib.c:
3338 Move some private declarations into private headers.
3340 2008-05-02 Sebastian Dröge <slomo@circular-chaos.org>
3342 * gst/gstdebugutils.c: (debug_dump_element_pad):
3343 Remove some code that is unused after Stefan's refactoring and uses
3344 uninitialized variables now, resulting in a compiler warning.
3346 2008-05-01 Tim-Philipp Müller <tim.muller at collabora co uk>
3348 * gst/gstregistry.c: (gst_registry_scan_path_level):
3349 Run g_str_has_suffix() only on the file name, not the
3352 2008-04-30 Tim-Philipp Müller <tim.muller at collabora co uk>
3354 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
3355 Since we're not called only from the chain function any longer,
3356 we can't assume that there's always data in the queue, so move
3357 the is_full check to the beginning of the loop (otherwise we'd
3358 hit the assert when changing the limit properties while the
3359 queue is empty or not running yet).
3360 Also, only set a discont if items were actually removed from
3363 * tests/check/elements/queue.c: (test_leaky_downstream):
3364 Test case for the above.
3366 2008-04-30 Wim Taymans <wim.taymans@collabora.co.uk>
3368 Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
3370 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
3371 (gst_queue_chain), (queue_capacity_change),
3372 (gst_queue_set_property):
3373 When changing thr max capacity of a leaky queue, immediatly drop buffers
3374 instead of waiting for a push on the sinkpad. Fixes #530637.
3376 2008-04-30 Stefan Kost <ensonic@users.sf.net>
3378 * gst/gstdebugutils.c:
3379 Refactor code and fix handling of ghostpads and their proxypads.
3381 2008-04-29 Wim Taymans <wim.taymans@collabora.co.uk>
3383 * docs/gst/gstreamer-sections.txt:
3384 * gst/gstevent.c: (gst_event_has_name):
3386 * tests/check/gst/gstevent.c: (GST_START_TEST):
3387 Add method to conveniently check the name of a custom event with
3388 gst_event_has_name().
3389 Reformat the event docs so that related methods are put together instead
3390 of the default alphabetical sort.
3391 Update unit test with new method.
3392 API: GstEvent::gst_event_has_name()
3394 2008-04-28 Michael Smith <msmith@songbirdnest.com>
3396 * libs/gst/check/Makefile.am:
3397 Don't add an explicit link to libgstreamer-0.10.la; it's already
3398 included in GST_OBJ_LIBS.
3400 2008-04-28 Sebastian Dröge <slomo@circular-chaos.org>
3403 Register GstClock type from a type-safe context. Fixes bug #530317.
3405 2008-04-25 Michael Smith <msmith@songbirdnest.com>
3407 Patch by Edward Hervey <edward.hervey@collabora.co.uk>
3409 Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
3411 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
3413 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3415 Use the GLib stuff to create a private structure.
3416 Add some locking around some dispose methods to make them a little
3417 safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
3419 2008-04-25 Stefan Kost <ensonic@users.sf.net>
3421 * libs/gst/base/gstbasesink.h:
3422 * libs/gst/base/gstbasesrc.h:
3423 * libs/gst/base/gstbasetransform.h:
3424 * libs/gst/base/gstcollectpads.h:
3425 Fix doc typos and unify caps a bit.
3427 2008-04-25 Stefan Kost <ensonic@users.sf.net>
3429 * tools/gst-launch.1.in:
3430 Forgot to also add the envvar docs here.
3432 2008-04-25 Tim-Philipp Müller <tim at centricular dot net>
3434 * gst/gst.c: (init_post), (gst_deinit):
3435 * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
3436 (test_concurrent_create), (gst_pipeline_suite):
3437 Ref some more classes in gst_init() to work around thread-safety
3438 issues in pre-2.16 GLibs, and add basic unit test.
3440 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
3442 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3443 (gst_base_sink_send_event):
3444 Rearrange the latency query code. We always want to do the upstream
3445 query, even if we are not live so that the upstream elements can get the
3446 latency results too. If we fail doing the query and we are live, we
3447 return TRUE afterwards.
3449 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3451 patch by: Jason Zhao <e3423c@motorola.com>
3453 * docs/gst/running.xml:
3455 Enable/disable scan_and_update_registry() based on commandline switch
3456 or environment variable. Fixes #520468.
3459 Fix typo in my previous commit.
3461 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3463 * gst/gstregistrybinary.c:
3464 Add a warning if we hit unhandled factories when saving.
3465 More debug logging detail, but move to LOG category.
3467 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3469 * gst/gstregistry.c:
3470 Tell the *truth* when improving the documentation.
3472 2008-04-23 Sebastian Dröge <slomo@circular-chaos.org>
3474 * gst/gstelementfactory.c: (gst_element_factory_make):
3475 Unref the factory after it was used the last time, not before.
3477 * gst/gstindexfactory.c: (gst_index_factory_make):
3478 Improve debugging a bit and don't leak a ref to the index factory with
3481 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3483 * gst/gstregistry.c:
3484 Improve the documentation.
3486 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3489 The glib macro seems to be borked. Use g_slice_copy directly and cast
3490 in the hope that this fixes the warning on 64bit.
3492 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3495 Document the new function. Use g_slice_dup() (no need for
3496 gst_segment_init()).
3498 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3500 * docs/gst/gstreamer-sections.txt:
3501 Move GParamSepc macros to standart section.
3504 Dn't document _get_type - its in private section in docs anyway and
3505 this doc-blob was incomplete.
3508 Fix wrong symbol names in docs.
3511 Add once doc sentence.
3513 * tests/check/gst/.cvsignore:
3516 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3518 * docs/gst/Makefile.am:
3519 And remove those libs here.
3521 2008-04-21 Tim-Philipp Müller <tim at centricular dot net>
3523 * docs/libs/Makefile.am:
3524 Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
3526 2008-04-21 Wim Taymans <wim.taymans@collabora.co.uk>
3528 Patch by: Olivier Crete <tester at tester dot ca>
3530 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3531 Add the min-threshold to the min latency if possible. Fixes #529148.
3533 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3535 * docs/gst/gstreamer.types.in:
3536 Stupid editor, I removed that line as it should go in yet.
3538 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3540 * docs/gst/gstreamer.types.in:
3541 * docs/libs/gstreamer-libs.types:
3542 Remove library types fro core docs and have them in libs docs.
3543 Reformat and cleanup. Add comment for miniobject types.
3545 2008-04-20 Tim-Philipp Müller <tim at centricular dot net>
3547 * gst/gsturi.c: (gst_uri_get_protocol):
3548 Fix leak: g_strdown operates on the string in place, while
3549 g_ascii_strdown() returns a newly-allocated string.
3551 2008-04-20 Sebastian Dröge <slomo@circular-chaos.org>
3553 * tools/gst-inspect.c: (print_uri_handler_info),
3554 (print_element_info):
3555 Print the URI protocols and the URI type supported by the element.
3557 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3559 * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
3560 Use g_value_take_string() instead of the deprecated
3561 g_value_set_string_take_ownership().
3563 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3565 * gst/gstregistrybinary.c: (_gst_crc32):
3566 Return the old CRC instead of 0 if we give a NULL buffer
3567 or a buffer with a length of 0.
3569 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3571 * gst/gsturi.c: (gst_uri_protocol_check_internal),
3572 (gst_uri_get_protocol), (gst_uri_has_protocol),
3573 (gst_uri_construct), (gst_uri_handler_set_uri):
3574 A valid URI scheme can also include '+', '-' and '.' additional
3575 to alphanumeric characters as per RFC 3986 Section 3.1.
3577 Handle URI schemes case insensitive in all places and convert
3578 to lower-case when constructing an URI or setting an URI with
3579 the GstURIHandler interface. Fixes bug #528868.
3580 All elements can still assume (as before) that they will
3581 get passed URIs with a lower-case URI scheme by the GstURIHandler
3584 2008-04-17 Tim-Philipp Müller <tim at centricular dot net>
3586 * gst/gstcaps.c: (gst_static_caps_get):
3587 * gst/gstclock.c: (gst_clock_entry_new):
3588 Don't use g_atomic_set_int where it's not needed.
3590 2008-04-17 Wim Taymans <wim.taymans@collabora.co.uk>
3592 * gst/gstvalue.c: (gst_value_deserialize_caps):
3593 * gst/parse/grammar.y:
3596 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
3598 * gst/gstutils.c: (gst_atomic_int_set):
3599 Use g_atomic_int_set() here too instead of assignment +
3602 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
3606 API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
3607 now that we depend on new enough GLib.
3609 * gst/gstcaps.c: (gst_static_caps_get):
3610 * gst/gstclock.c: (gst_clock_entry_new):
3611 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
3612 (gst_debug_set_default_threshold), (_gst_debug_category_new),
3613 (gst_debug_category_set_threshold):
3614 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3615 (gst_base_sink_set_qos_enabled):
3616 * libs/gst/net/gstnettimeprovider.c:
3617 (gst_net_time_provider_set_property):
3618 Use g_atomic_int_set() instead of gst_atomic_int_set().
3620 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3623 Also use G_GINT64_CONSTANT for the queries.
3625 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3628 Use G_GINT64_CONSTANT in varargs function.
3630 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3632 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
3633 Initialize the registry magic with zeroes.
3635 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3637 * gst/gstregistrybinary.c: (_gst_crc32),
3638 (gst_registry_binary_write),
3639 (gst_registry_binary_initialize_magic),
3640 (gst_registry_binary_write_cache),
3641 (gst_registry_binary_check_magic),
3642 (gst_registry_binary_read_cache):
3643 * gst/gstregistrybinary.h:
3644 Add crc32 checksum to the binary registry file and check this before
3645 accepting a registry file.
3647 Also free the data list when writing to the registry file fails.
3649 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3651 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3652 (gst_registry_binary_load_feature),
3653 (gst_registry_binary_load_plugin):
3654 If an element supports the Uri interface, returns a valid pointer
3655 to the supported URI protocols but this pointer contains nothing
3656 don't try to save that as it will corrupt the registry.
3658 Don't unref the plugin if we added it to the registry already but
3659 fail to load a feature as gst_registry_add_plugin() takes ownership
3662 Improve debugging a bit.
3664 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3667 Clarify some tag item docs after discussion on irc.
3669 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3671 * docs/gst/gstreamer-docs.sgml:
3672 Remove commented out plugins (they have their own docs). Update
3675 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3677 * docs/gst/gstreamer-docs.sgml:
3678 * docs/gst/gstreamer-sections.txt:
3679 * gst/gstparamspecs.c:
3680 * gst/gstparamspecs.h:
3681 Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
3682 docs to own section.
3685 This now only documents GValue.
3687 * docs/libs/gstreamer-libs-sections.txt:
3688 * libs/gst/controller/gstcontroller.h:
3689 Remove GST_PARAM_CONTROLLABLE.
3691 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3694 Correct file path. Tell about how to use -overrides.txt.
3695 * docs/design/draft-tagreading.txt:
3696 Small design update.
3698 2008-04-14 Sebastian Dröge <slomo@circular-chaos.org>
3700 * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
3701 (gst_registry_binary_load_plugin):
3702 Fix a typo in a debug message and revert change from yesterday as
3703 gst_registry_add_plugin() will only fail if something is really wrong
3704 already and we can't survive it anyway.
3706 2008-04-14 Tim-Philipp Müller <tim at centricular dot net>
3708 * gst/gst.c: (init_post), (gst_deinit):
3709 Pre-register GstGError GType from a thread-safe context
3710 (fixes #527967); unref enum type classes in deinit.
3712 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3714 Patch by: Rene Stadler <mail at renestadler de>
3716 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3717 Merging an empty list with another list in KEEP_ALL mode should
3718 yield an empty list as result and not the second list (#512578).
3720 * tests/check/gst/gsttagsetter.c:
3721 Add unit test for tag merge modes and the aforementioned bug.
3723 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3725 Patch by: Rene Stadler <mail at renestadler de>
3728 Fix description to match the order in the table (#512577).
3730 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3732 Patch by: Kwang Yul Seo <kwangyul.seo gmail com>
3734 * libs/gst/net/gstnettimepacket.h:
3735 * docs/libs/gstreamer-libs-sections.txt:
3736 Define socklen_t as int if it's not defined yet. Fixes compilation
3737 with MSVC6 and other versions where socklen_t is not defined in
3738 the windows headers (#518022).
3740 2008-04-13 Sebastian Dröge <slomo@circular-chaos.org>
3742 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3743 If gst_registry_add_plugin() fails our reference to the plugin is
3744 invalid so don't try to use it anymore and instead error out.
3746 2008-04-12 Tim-Philipp Müller <tim at centricular dot net>
3748 * tools/gst-xmlinspect.c: (print_element_info), (main):
3749 De-cruft a bit. If no argument is specified, print all elements in
3750 XML syntax rather than a freestyle list of elements like gst-inspect.
3751 Also, don't print XML header chunk unless we actually have something
3752 to print (ie. don't print it before an error message); print error
3753 message to stderr not stdout. Remove support for printing plugin
3754 info (it would just output something freestyle along the lines of
3755 gst-inspect so far), which fixes #514507. Also add license header.
3757 2008-04-11 Julien Moutte <julien@fluendo.com>
3760 * configure.ac: Merge platform specific defines, introduce a new
3761 define on OS X to remember that forking when updating registry is
3763 * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
3765 * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
3767 * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
3768 condition that leads to absolutely no plugins being registered on
3771 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
3773 Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3775 * gst/gstutils.c: (gst_pad_add_data_probe),
3776 (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
3777 (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
3778 (gst_pad_add_buffer_probe_full):
3780 * docs/gst/gstreamer-sections.txt:
3781 * win32/common/libgstreamer.def:
3782 Add gst_pad_add_*_probe_full() functions with a notify callback that
3783 lets the caller free the data it passes to the probe functions. This
3784 is useful for bindings such as gst-python or gstreamermm (#526814).
3785 API: gst_pad_add_data_probe_full
3786 API: gst_pad_add_buffer_probe_full
3787 API: gst_pad_add_event_probe_full
3789 * tests/check/gst/gstutils.c:
3790 Add minimal unit test to make sure freeing the data actually works
3793 * tests/benchmarks/.cvsignore:
3794 Random cvsignore addendum.
3796 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
3798 * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
3799 (GST_DEBUG_BIN_TO_DOT_FILE):
3800 Mention GstDebugGraphDetails enum type in doc blurb so we get a link
3801 to it in the docs (since these are macros the types of the arguments
3802 won't be shown in the docs otherwise).
3804 2008-04-10 Stefan Kost <ensonic@users.sf.net>
3807 Do not abort on out of memory for pad_alloc_buffer.
3809 2008-04-10 Stefan Kost <ensonic@users.sf.net>
3811 * libs/gst/check/gstcheck.c:
3812 Remove blank line between symbol name ad parameters to fix gtkdoc
3815 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3817 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3819 * docs/gst/gstreamer-sections.txt:
3822 * win32/common/libgstreamer.def:
3823 Expose gst_segment_copy() to make things easier for the c++ bindings.
3825 API: gst_segment_copy()
3827 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3829 * gst/gst.c: (gst_init_get_option_group), (init_post):
3830 Fix const position; ref GType classes for enum types to work
3831 around thread-safety issues in GLib versions < 2.16.
3833 2008-04-09 Wim Taymans <wim.taymans@collabora.co.uk>
3835 * docs/design/part-buffering.txt:
3836 Fix some typos and set the estimated total for push mode to -1.
3838 * gst/gstquery.c: (gst_query_new_buffering):
3839 Set buffering-left to 0 as we're not buffering by default.
3841 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3842 Implement BUFFERING query.
3844 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3846 Based on patch by: Milosz Derezynski <internalerror gmail com>
3848 * gst/gsterror.c: (_gst_stream_errors_init):
3850 Add two new error codes for encrypted content. Fixes #524659.
3851 API: GST_STREAM_ERROR_DECRYPT
3852 API: GST_STREAM_ERROR_DECRYPT_NOKEY
3854 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3859 * win32/common/libgstreamer.def:
3862 2008-04-09 Sebastian Dröge <slomo@circular-chaos.org>
3864 * plugins/elements/gstidentity.c: (gst_identity_event),
3865 (gst_identity_start):
3866 Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
3867 event after processing some data. Fixes bug #526042.
3869 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3871 * docs/gst/gstreamer-sections.txt:
3872 * gst/gstquery.c: (gst_query_parse_latency),
3873 (gst_query_set_buffering_percent),
3874 (gst_query_parse_buffering_percent),
3875 (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
3877 Rename _avail -> _range
3878 API: gst_query_set_buffering_range
3879 API: gst_query_parse_buffering_range
3881 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3883 * docs/design/part-buffering.txt:
3886 * gst/gstquery.c: (gst_query_parse_latency),
3887 (gst_query_new_buffering), (gst_query_set_buffering_percent),
3888 (gst_query_parse_buffering_percent):
3890 Add busy field and quark for the buffering query so that the app can
3891 only use the query to see if buffering is in progress.
3893 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3895 * docs/gst/gstreamer-sections.txt:
3896 * gst/gstmessage.c: (gst_message_set_buffering_stats),
3897 (gst_message_parse_buffering_stats):
3899 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3900 (gst_query_parse_latency), (gst_query_new_buffering),
3901 (gst_query_set_buffering_percent),
3902 (gst_query_parse_buffering_percent),
3903 (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
3904 (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
3906 Reorder the message docs and headers for clarity.
3907 Add aditional buffering stats API for messages.
3908 Add buffering query.
3909 Convert some leftover queries to use GstQuark.
3910 API: gst_message_set_buffering_stats
3911 API: gst_message_parse_buffering_stats
3912 API: GST_QUERY_BUFFERING
3913 API: GstBufferingMode
3914 API: gst_query_new_buffering
3915 API: gst_query_set_buffering_percent
3916 API: gst_query_parse_buffering_percent
3917 API: gst_query_set_buffering_stats
3918 API: gst_query_parse_buffering_stats
3920 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3922 * gst/gstmessage.c: (gst_message_new_error),
3923 (gst_message_new_warning), (gst_message_new_info),
3924 (gst_message_new_buffering), (gst_message_new_state_changed),
3925 (gst_message_new_clock_provide), (gst_message_new_clock_lost),
3926 (gst_message_new_new_clock), (gst_message_new_segment_start),
3927 (gst_message_new_segment_done), (gst_message_new_duration),
3928 (gst_message_new_async_start), (gst_message_parse_buffering),
3929 (gst_message_parse_state_changed),
3930 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3931 (gst_message_parse_new_clock), (gst_message_parse_error),
3932 (gst_message_parse_warning), (gst_message_parse_info),
3933 (gst_message_parse_segment_start),
3934 (gst_message_parse_segment_done), (gst_message_parse_duration),
3935 (gst_message_parse_async_start):
3936 Use GstQuark for messages.
3938 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3940 * gst/gstquark.c: (_priv_gst_quarks_initialize):
3942 Add some more quarks needed for messages and queries.
3944 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3946 * docs/design/part-buffering.txt:
3947 Remove the "none" buffering mode, STREAM is a good default.
3948 Move estimated-time to the avail query, that's when it will be needed.
3949 Other small typo fixes and updates.
3951 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
3953 * gst/gstindex.c: (gst_index_resolver_get_type):
3954 Don't put descriptions into the nick field of a GEnumValue: it's not
3955 meant for that and some language bindings rely on the nick field to
3956 construct constants and the like. Fixes #526705.
3958 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
3963 Merge other changes from 0.10.19 release branch.
3965 2008-04-06 Sebastian Dröge <slomo@circular-chaos.org>
3967 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3970 Actually build dlls when cross-compiling with mingw32.
3973 2008-04-05 Sebastian Dröge <slomo@circular-chaos.org>
3975 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3978 Fix compilation of GstPoll with mingw32. Fixes bug #526236.
3980 2008-04-04 Wim Taymans <wim.taymans@collabora.co.uk>
3982 * docs/design/draft-latency.txt:
3985 * docs/design/part-buffering.txt:
3986 Update design docs with more buffering ideas.
3988 2008-04-03 Tim-Philipp Müller <tim at centricular dot net>
3991 Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
3993 2008-04-03 Stefan Kost <ensonic@users.sf.net>
3996 Revert part that belongs to the preset patch.
3998 2008-04-03 Stefan Kost <ensonic@users.sf.net>
4001 Add qoutes to the define. Fixes # 525961.
4003 2008-04-03 Sebastian Dröge <slomo@circular-chaos.org>
4005 * plugins/indexers/gstfileindex.c: (_file_index_id_free),
4006 (gst_file_index_load), (gst_file_index_add_id),
4007 (gst_file_index_get_assoc_entry):
4008 * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
4009 (gst_mem_index_free_id), (gst_mem_index_add_id),
4010 (gst_mem_index_index_format):
4011 Use GSlice when possible.
4013 2008-04-02 Sebastian Dröge <slomo@circular-chaos.org>
4015 * libs/gst/controller/gstinterpolationcontrolsource.c:
4016 (gst_control_point_free),
4017 (gst_interpolation_control_source_set_internal):
4018 Use GSlice for allocating the control points.
4020 2008-04-02 Wim Taymans <wim.taymans@collabora.co.uk>
4022 * plugins/elements/gsttypefindelement.c:
4023 (gst_type_find_element_class_init),
4024 (gst_type_find_element_set_property),
4025 (gst_type_find_element_get_property),
4026 (gst_type_find_element_activate):
4027 * plugins/elements/gsttypefindelement.h:
4029 Fix pad leak when peer query fails.
4030 We can still typefind when the peer returns -1.
4031 Add property to force caps and bypass typefinding. This will be used in
4035 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
4040 * gst/glib-compat-private.h:
4041 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
4042 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
4043 Unconditionally use GSlice for allocation.
4045 * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
4046 * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
4047 * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
4048 (gst_structure_free):
4049 Use GSlice for allocation.
4051 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
4053 * gst/parse/Makefile.am:
4054 * gst/parse/grammar.tab.pre.c:
4055 * gst/parse/grammar.tab.pre.h:
4056 * gst/parse/lex._gst_parse_yy.pre.c:
4057 Require a new enough flex and bison and remove the parser hacks to use
4058 a pre-regenerated version.
4060 2008-04-01 Julien Moutte <julien@fluendo.com>
4062 patch by: Jason Zhao <E3423C@motorola.com>
4064 * configure.ac: Add a configure switch to disable option parsing
4068 2008-03-31 Stefan Kost <ensonic@users.sf.net>
4071 * gst/gstregistry.c:
4072 MacOS has plugins under .so or under .dylib. Add detection for MacOS
4073 and handle this case.
4076 Add a comment here describing, why we stat each plugin and not try to
4079 2008-03-31 Sebastian Dröge <slomo@circular-chaos.org>
4081 * libs/gst/base/gstbasetransform.c:
4082 (gst_base_transform_prepare_output_buffer):
4083 Also unset the GAP flag on buffers if we're working inplace but
4084 the element is not GAP-aware.
4086 Mark a comment as FIXME 0.11.
4088 2008-03-31 Stefan Kost <ensonic@users.sf.net>
4091 Fix type in log message and add one to ease seeing how long registry
4092 cache verification takes.
4094 * gst/gstregistry.c:
4095 Only test plugin filenames against G_MODULE_SUFFIX.
4097 2008-03-31 Stefan Kost <ensonic@users.sf.net>
4099 * gst/gstdebugutils.c:
4100 Improve handling ghost/proxy pads.
4102 2008-03-27 Stefan Kost <ensonic@users.sf.net>
4104 * docs/gst/gstreamer-sections.txt:
4107 Expose macro to docs and fix link to it.
4109 2008-03-27 Michael Smith <msmith@fluendo.com>
4111 * libs/gst/dataprotocol/dataprotocol.c:
4112 (gst_dp_packet_from_event_1_0):
4113 When calculating GDP body CRC, use the correct pointer.
4114 Fixes part of #522401.
4116 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4118 Patch by: Mark Nauwelaerts <manauw at skynet be>
4120 * plugins/elements/gstidentity.c: (gst_identity_class_init),
4121 (gst_identity_init), (gst_identity_prepare_output_buffer):
4122 Identity is not always a passthrough element, it can modify the buffer
4123 timestamps when it has a datarate and operates in single-segment mode.
4124 We therefore make it an in_place filter with a custom buffer prepare
4125 function that conditionally makes the input buffer metadata writable
4126 when needed. Fixes #523985.
4128 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4130 Patch by: Mark Nauwelaerts <manauw at skynet be>
4133 * libs/gst/base/gstbasesrc.h:
4134 * libs/gst/base/gstbasetransform.c:
4135 * libs/gst/check/gstcheck.c:
4136 Small documentation fixes. Fixes #523978.
4138 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4140 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
4141 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4142 Also retry our poll_wait when we get EAGAIN. Fixes #524041.
4144 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4146 * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
4147 (single_queue_underrun_cb):
4148 When trying to make room in the queue, bump the max allowed buffers
4149 bigger than the current amount of buffers in the queue. this fixes some
4150 nasty deadlocks in multiqueue when dynamically changing the limits of
4153 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4155 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
4157 * gst/gstcaps.c: (gst_caps_set_simple),
4158 (gst_caps_set_simple_valist), (gst_caps_intersect):
4160 Constify the field gchar * params in set_simple and friends.
4163 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4165 * gst/gstvalue.c: (gst_value_transform_object_string):
4166 Transform a GstObject to a more meaningfull string that includes the
4167 object type in addition to its name.
4169 2008-03-23 Stefan Kost <ensonic@users.sf.net>
4172 ChangeLog surgery to add bugnumber to commit.
4174 2008-03-23 Rene Stadler <mail@renestadler.de>
4176 * libs/gst/base/gstbasetransform.c:
4177 (gst_base_transform_set_gap_aware): Fix confusing documentation.
4179 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
4181 * gst/gstregistrybinary.c: (gst_registry_binary_write):
4182 Rename constant everywhere and don't forget one occurence.
4184 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
4186 * gst/gstregistrybinary.c: (gst_registry_binary_write):
4187 Align memory to the pointer size even if the architecture allows
4188 unaligned memory access. Unaligned memory access usually comes with
4189 performance penality.
4191 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
4193 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4194 (gst_registry_binary_check_magic),
4195 (gst_registry_binary_load_pad_template),
4196 (gst_registry_binary_load_feature),
4197 (gst_registry_binary_load_plugin):
4198 Align memory to the pointer size instead of always 32 bit. Fixes
4199 unaligned memory accesses on ia64 and friends.
4201 * gst/gstregistrybinary.h:
4202 Bump binary registry format version for this as it changes the
4203 format on those architectures that don't have unaligned access
4204 and 64 bit pointers.
4206 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
4208 * docs/pwg/advanced-dparams.xml:
4209 * docs/pwg/building-props.xml:
4210 * docs/pwg/other-source.xml:
4211 * gst/glib-compat.h:
4212 * gst/gstbin.c: (gst_bin_class_init):
4213 * gst/gstclock.c: (gst_clock_class_init):
4214 * gst/gstindex.c: (gst_index_class_init):
4215 * gst/gstobject.c: (gst_object_class_init):
4216 * gst/gstpad.c: (gst_pad_class_init):
4217 * gst/gstpipeline.c: (gst_pipeline_class_init):
4218 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4219 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
4220 * libs/gst/base/gstbasetransform.c:
4221 (gst_base_transform_class_init):
4222 * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
4223 * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
4224 (_gst_check_fault_handler_sighandler),
4225 (_gst_check_fault_handler_setup), (gst_check_init):
4226 * libs/gst/controller/gstcontroller.c:
4227 (_gst_controller_class_init):
4228 * libs/gst/controller/gstlfocontrolsource.c:
4229 (gst_lfo_control_source_class_init):
4230 * libs/gst/net/gstnetclientclock.c:
4231 (gst_net_client_clock_class_init):
4232 * libs/gst/net/gstnettimeprovider.c:
4233 (gst_net_time_provider_class_init):
4234 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
4235 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
4236 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
4237 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
4238 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
4239 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
4240 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
4241 * plugins/elements/gstidentity.c: (gst_identity_class_init):
4242 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
4243 * plugins/elements/gstqueue.c: (gst_queue_class_init):
4244 * plugins/elements/gsttee.c: (gst_tee_class_init):
4245 * plugins/elements/gsttypefindelement.c:
4246 (gst_type_find_element_class_init):
4247 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
4248 Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
4249 use it everywhere for GParamSpecs that use static strings (i.e. all).
4250 This gives us less memory usage, fewer allocations and thus less
4251 memory defragmentation. Fixes bug #523806.
4253 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
4255 * gst/gstminiobject.c: (gst_value_dup_mini_object),
4256 (gst_param_spec_mini_object):
4257 * gst/gstminiobject.h:
4258 * win32/common/libgstreamer.def:
4259 * docs/gst/gstreamer-sections.txt:
4260 API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
4261 GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
4262 GstParamSpecMiniObject into a public header for this.
4264 This make GstMiniObject a bit more consistent with GObject and makes
4265 it possible to extend the param specs.
4267 gst_value_dup_mini_object is mainly useful for set_property methods.
4271 * tools/gst-inspect.c: (print_element_properties_info):
4272 Print something useful for GstMiniObject properties and not just
4275 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
4277 * docs/gst/gstreamer-sections.txt:
4278 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4279 (gst_registry_binary_check_magic):
4280 * gst/gstregistrybinary.h:
4281 Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
4282 and add it to the (private part) of the docs to fix the build.
4284 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
4286 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4287 (gst_registry_binary_check_magic),
4288 (gst_registry_binary_read_cache):
4289 * gst/gstregistrybinary.h:
4290 Don't use GST_MAJORMINOR for the binary registry version. Instead
4291 hardcode a value that must be changed whenever the format changes
4292 in an incompatible way.
4293 Also don't GST_ERROR when there is a version mismatch, just
4294 regenerate the registry silently.
4296 2008-03-21 Jan Schmidt <jan.schmidt@sun.com>
4299 Back to development - 0.10.18.1
4301 === release 0.10.18 ===
4303 2008-03-20 Jan Schmidt <jan.schmidt@sun.com>
4306 releasing 0.10.18, "So far away"
4308 2008-03-18 Jan Schmidt <jan.schmidt@sun.com>
4311 * win32/common/config.h:
4312 0.10.17.4 pre-release
4314 2008-03-18 Wim Taymans <wim.taymans@collabora.co.uk>
4316 Patch by: Ole André Vadla Ravnås
4317 <ole dot andre dot ravnas at tandberg dot com>
4319 * docs/gst/gstreamer-sections.txt:
4320 * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
4321 (gst_poll_update_winsock_event_mask),
4322 (gst_poll_prepare_winsock_active_sets),
4323 (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
4324 (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
4325 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
4326 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4327 (gst_poll_check_ctrl_commands), (gst_poll_wait):
4329 * win32/common/libgstreamer.def:
4330 Add new function gst_poll_fd_ignored() for improved Windows
4332 Various minor fixes and cleanups. See #520808.
4334 2008-03-17 Tim-Philipp Müller <tim at centricular dot net>
4336 * gst/gstindex.c: (gst_index_entry_free):
4338 Don't free key strings which we don't own. Fixes crash in
4339 gst_index_entry_free() (#522741).
4341 * tests/check/Makefile.am:
4342 * tests/check/gst/.cvsignore:
4343 * tests/check/gst/gstindex.c: (test_index_entries),
4344 (gst_index_suite), (gst_index):
4345 Add unit test for the above.
4347 2008-03-11 Sebastian Dröge <slomo@circular-chaos.org>
4349 * win32/common/libgstreamer.def:
4350 Remove symbols that were removed recently. Fixes bug #521740.
4352 2008-03-11 Jan Schmidt <jan.schmidt@sun.com>
4355 * win32/common/config.h:
4356 0.10.17.3 pre-release
4358 2008-03-07 Wim Taymans <wim.taymans@collabora.co.uk>
4360 Patch by: Ole André Vadla Ravnås
4361 <ole dot andre dot ravnas at tandberg dot com>
4363 * docs/gst/gstreamer-sections.txt:
4364 * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
4365 (gst_poll_update_winsock_event_mask), (gst_poll_new),
4366 (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
4367 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4368 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
4369 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4370 (gst_poll_fd_can_write), (gst_poll_wait),
4371 (gst_poll_set_controllable), (gst_poll_restart),
4372 (gst_poll_set_flushing):
4374 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
4375 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
4376 (gst_net_time_provider_new):
4377 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4378 * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
4379 * tests/benchmarks/gstpollstress.c: (main):
4380 * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
4381 Remove GstPollMode from the API, it does not make sense to let the
4382 application control this.
4383 Add support for Win32.
4384 Fix the testsuite. Fixes #520671.
4386 2008-03-07 Sebastian Dröge <slomo@circular-chaos.org>
4388 Patch by: Ole André Vadla Ravnås
4389 <ole dot andre dot ravnas at tandberg dot com>
4391 * gst/gstregistrybinary.c:
4392 Include io.h for write() and close() when building with MSVC. Fixes
4395 2008-03-07 Stefan Kost <ensonic@users.sf.net>
4398 * gst/gst_private.h:
4399 * gst/gstconfig.h.in:
4400 * gst/gstregistry.h:
4401 * gst/gstregistrybinary.c:
4402 * win32/common/gstconfig.h:
4403 Move registry backend API to private headers where we can. Add
4404 fixme-0.11 comments for the others. Add stubs for the xml backend when
4405 using the binary to ensure they functions exists (they should not be
4406 used though). Fixes #520756.
4408 2008-03-04 Jan Schmidt <jan.schmidt@sun.com>
4411 * win32/common/config.h:
4414 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
4416 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4417 (gst_registry_binary_read_cache):
4418 * gst/gstregistryxml.c: (gst_registry_save):
4419 * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
4420 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
4421 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4422 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
4423 Switch to using portabl gsize/gssize instead of size_t/ssize_t
4426 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
4428 * gst/gstminiobject.c:
4429 Import gst_private.h before any other header that might include other
4430 glib headers. This fixes the build on windows using native compilers.
4432 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
4434 * win32/common/gstconfig.h:
4435 Add here too, just for completeness.
4437 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
4440 * gst/gstconfig.h.in:
4441 * gst/gstregistry.h:
4442 Fix broken use of config.h-defined preprocessor directive in a public
4443 header file. Add a corresponding define to gstconfig.h, since we can't
4444 really remove those function declarations from the header file now
4445 (or can we? and why are they there in the first place?).
4447 2008-03-03 Andy Wingo <wingo@pobox.com>
4449 * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
4452 * gst/gststructure.c (gst_structure_from_string): Warn if
4453 structure_from_string didn't consume the whole string, but the
4454 caller did not provide an end pointer.
4456 2008-03-01 Tim-Philipp Müller <tim at centricular dot net>
4458 Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
4460 * gst/gstregistryxml.c: (read_string), (load_feature):
4461 Strings allocated by libxml2 should be freed with xmlFree(), not
4462 with g_free(). Fixes issues on windows in certain contexts (#519698).
4464 2008-02-29 Tim-Philipp Müller <tim at centricular dot net>
4466 * gst/gstinterface.c: (gst_element_implements_interface):
4467 Don't crash if the element supports the interface queried, but does
4468 not implement GstImplementsInterface. Fixes #519584.
4470 * tests/check/Makefile.am:
4471 * tests/check/gst/.cvsignore:
4472 * tests/check/gst/gstinterface.c:
4473 Add unit test for the above.
4475 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4477 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4480 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4482 * gst/gstsegment.c: (gst_segment_set_seek),
4483 (gst_segment_to_stream_time):
4484 Improve some comment.
4485 Update variables where it makes more sense.
4487 2008-02-29 Rene Stadler <mail@renestadler.de>
4489 * gst/gsturi.c: (gst_uri_handler_get_protocols):
4490 Use the get_protocols_full vfunc if get_protocols is NULL. Fixes
4491 URIHandlers implemented using language bindings.
4493 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4495 * gst/gstelementfactory.h:
4496 * tests/check/elements/fakesink.c:
4497 * tests/check/elements/fakesrc.c: (setup_fakesrc):
4498 * tests/check/elements/fdsrc.c: (setup_fdsrc):
4499 * tests/check/elements/filesink.c: (setup_filesink):
4500 * tests/check/elements/filesrc.c: (setup_filesrc):
4501 * tests/check/elements/identity.c: (setup_identity):
4502 * tests/check/elements/tee.c:
4503 * tests/check/generic/sinks.c:
4504 * tests/check/generic/states.c: (setup), (teardown):
4505 * tests/check/gst/gst.c:
4506 * tests/check/gst/gstabi.c:
4507 * tests/check/gst/gstbin.c:
4508 * tests/check/gst/gstbus.c: (pull_messages):
4509 * tests/check/gst/gstcaps.c:
4510 * tests/check/gst/gstelement.c:
4511 * tests/check/gst/gstevent.c:
4512 * tests/check/gst/gstghostpad.c:
4513 * tests/check/gst/gstiterator.c:
4514 * tests/check/gst/gstmessage.c:
4515 * tests/check/gst/gstminiobject.c: (my_foo_init):
4516 * tests/check/gst/gstobject.c: (thread_name_object),
4518 * tests/check/gst/gstpad.c:
4519 * tests/check/gst/gstplugin.c:
4520 * tests/check/gst/gstpoll.c:
4521 * tests/check/gst/gstquery.c:
4522 * tests/check/gst/gstsegment.c:
4523 * tests/check/gst/gststructure.c:
4524 * tests/check/gst/gstsystemclock.c:
4525 * tests/check/gst/gsttask.c:
4526 * tests/check/gst/gstutils.c:
4527 * tests/check/gst/gstvalue.c:
4528 * tests/check/gst/struct_hppa.h:
4529 * tests/check/gst/struct_i386.h:
4530 * tests/check/gst/struct_ppc32.h:
4531 * tests/check/gst/struct_ppc64.h:
4532 * tests/check/gst/struct_x86_64.h:
4533 * tests/check/libs/adapter.c: (create_and_fill_adapter):
4534 * tests/check/libs/basesrc.c:
4535 * tests/check/libs/controller.c: (GST_START_TEST):
4536 * tests/check/libs/gdp.c:
4537 * tests/check/libs/gstnetclientclock.c:
4538 * tests/check/libs/gstnettimeprovider.c:
4539 * tests/check/libs/libsabi.c:
4540 * tests/check/libs/struct_hppa.h:
4541 * tests/check/libs/struct_i386.h:
4542 * tests/check/libs/struct_ppc32.h:
4543 * tests/check/libs/struct_ppc64.h:
4544 * tests/check/libs/struct_x86_64.h:
4545 * tests/check/pipelines/cleanup.c:
4546 * tests/check/pipelines/simple-launch-lines.c:
4547 * tests/check/pipelines/stress.c:
4548 And correct even more valid sparse warnings.
4550 * win32/common/libgstreamer.def:
4551 Add gst_poll_fd_init to the list of symbols.
4553 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4555 * gst/gstconfig.h.in:
4556 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
4557 * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
4558 (gst_check_log_critical_func), (gst_check_drop_buffers),
4559 (gst_check_element_push_buffer_list):
4560 * libs/gst/controller/gstcontroller.c: (gst_controller_get),
4561 (gst_controller_get_type):
4562 * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
4563 (gst_object_get_controller), (gst_object_get_control_source):
4564 * libs/gst/controller/gstinterpolationcontrolsource.c:
4565 (gst_interpolation_control_source_new):
4566 * libs/gst/controller/gstlfocontrolsource.c:
4567 (gst_lfo_control_source_new):
4568 * libs/gst/dataprotocol/dataprotocol.c:
4569 (gst_dp_event_from_packet_0_2):
4570 * plugins/elements/gstfdsrc.c:
4571 * plugins/elements/gstmultiqueue.c:
4572 * plugins/elements/gsttee.c:
4573 * plugins/elements/gsttypefindelement.c:
4574 * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
4575 (gst_file_index_add_association):
4576 * plugins/indexers/gstmemindex.c:
4577 * tests/benchmarks/gstpollstress.c: (mess_some_more):
4578 * tests/check/elements/queue.c: (setup_queue):
4579 * tests/check/gst/gstpipeline.c:
4580 * tests/check/libs/collectpads.c: (setup), (teardown),
4581 (gst_collect_pads_suite):
4582 * tests/examples/adapter/adapter_test.c:
4583 * tests/examples/metadata/read-metadata.c: (make_pipeline):
4584 * tests/examples/xml/createxml.c:
4585 * tests/examples/xml/runxml.c:
4586 * tools/gst-inspect.c:
4588 Correct all relevant warnings found by the sparse semantic code
4589 analyzer. This include marking several symbols static, using
4590 NULL instead of 0 for pointers, not using variable sized arrays
4591 on the stack, moving variable declarations to the beginning of
4592 a block and using "foo (void)" instead of "foo ()" for declarations.
4594 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4596 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4597 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4598 Don't reset GstPollFDs, this is not necessary at all.
4600 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4601 (delayed_restart), (delayed_control):
4602 Use GST_POLL_FD_INIT.
4604 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4606 * gst/gstpoll.c: (gst_poll_fd_init):
4610 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4611 Use some more init macros.
4613 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4615 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4616 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4617 Use init macros and functions.
4619 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4621 * docs/gst/gstreamer-sections.txt:
4622 * gst/gstpoll.c: (gst_poll_fd_init):
4624 Add INIT macro and _init method for initializing the GstPollFD.
4626 2008-02-28 Sebastian Dröge <slomo@circular-chaos.org>
4628 * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
4629 (gst_fd_sink_update_fd):
4630 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4631 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4632 (delayed_restart), (delayed_control):
4633 Initialize some uninitialized variables as spotted by valgrind.
4635 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
4637 * tests/benchmarks/Makefile.am:
4638 * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
4640 Add poll stress test.
4642 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
4644 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4646 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4647 (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
4648 (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
4649 * plugins/elements/gstfdsink.h:
4650 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4651 (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
4652 (gst_fd_src_unlock_stop), (gst_fd_src_create),
4653 (gst_fd_src_uri_set_uri):
4654 * plugins/elements/gstfdsrc.h:
4655 Port to GstPoll. See #505417.
4657 2008-02-27 Jan Schmidt <jan.schmidt@sun.com>
4659 * win32/common/libgstreamer.def:
4660 Add new gst_poll_ symbols to win32 defs.
4662 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4664 * docs/libs/gstreamer-libs-sections.txt:
4665 * libs/gst/net/gstnetclientclock.c:
4666 (gst_net_client_clock_class_init), (gst_net_client_clock_init),
4667 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4668 (gst_net_client_clock_thread), (gst_net_client_clock_start),
4669 (gst_net_client_clock_stop), (gst_net_client_clock_new):
4670 * libs/gst/net/gstnetclientclock.h:
4671 * libs/gst/net/gstnettimeprovider.c:
4672 (gst_net_time_provider_class_init), (gst_net_time_provider_init),
4673 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4674 (gst_net_time_provider_start), (gst_net_time_provider_stop),
4675 (gst_net_time_provider_new):
4676 * libs/gst/net/gstnettimeprovider.h:
4677 Use a private stuct to not break ABI.
4679 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4681 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4683 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
4684 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4685 (gst_net_client_clock_thread), (gst_net_client_clock_start),
4686 (gst_net_client_clock_stop), (gst_net_client_clock_new):
4687 * libs/gst/net/gstnetclientclock.h:
4688 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
4689 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4690 (gst_net_time_provider_start), (gst_net_time_provider_stop),
4691 (gst_net_time_provider_new):
4692 * libs/gst/net/gstnettimeprovider.h:
4693 Massive code removal and cleanups because of GstPoll.
4696 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4699 Add checks for poll, ppoll and pselect.
4701 * docs/gst/gstreamer-docs.sgml:
4702 * docs/gst/gstreamer-sections.txt:
4703 Add docs for GstPoll.
4707 * gst/gstpoll.c: (find_index), (selectable_fds),
4708 (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
4709 (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
4710 (gst_poll_set_mode), (gst_poll_get_mode),
4711 (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
4712 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4713 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
4714 (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
4715 (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
4716 (gst_poll_fd_can_write), (gst_poll_wait),
4717 (gst_poll_set_controllable), (gst_poll_restart),
4718 (gst_poll_set_flushing):
4720 Add generic poll abstraction. We ideally don't want to have this in core
4721 here but in glib intead...
4722 This code will be used in various network elements and ultimately for
4723 the nanosecond precision monotonic clock (that's why it's here in core).
4724 It'll allow us to implement cancelable socket operations for windows too.
4726 * tests/check/Makefile.am:
4727 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4728 (delayed_stop), (delayed_restart), (delayed_flush),
4729 (delayed_control), (gst_poll_suite):
4730 Add GstPoll unit test.
4732 2008-02-25 Tim-Philipp Müller <tim at centricular dot net>
4735 Improve documentation of gst_filter_run(). Fixes #518627.
4737 2008-02-23 Tim-Philipp Müller <tim at centricular dot net>
4740 Add a few lines about the new 'check-inspected-versions' target.
4742 2008-02-21 Stefan Kost <ensonic@users.sf.net>
4744 * tests/check/gst/gstevent.c:
4745 Add qos to the event test. Rename tcase/tsuite; is not only about
4748 2008-02-21 Stefan Kost <ensonic@users.sf.net>
4750 * plugins/elements/gstqueue.c:
4751 Ensure that buffer metadata is writeable, before modifying. Spotted by
4754 2008-02-20 Stefan Kost <ensonic@users.sf.net>
4756 * plugins/elements/gstqueue.c:
4757 * plugins/elements/gstqueue.h:
4758 When dropping buffers in leaky modes, mark next buffers we sent as
4761 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
4763 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
4764 Also, if mmap() fails that would be a READ error, not OPEN_READ.
4766 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
4768 * plugins/elements/Makefile.am:
4769 * plugins/elements/gstbufferstore.c:
4770 * plugins/elements/gstbufferstore.h:
4771 * plugins/elements/gsttypefindelement.h:
4772 Remove GstBufferStore, no idea why we were still building it.
4773 It's not used anywhere and superseded by GstAdapter.
4775 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4776 (gst_file_src_create_mmap):
4777 * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
4778 Printf format fixes for 64-bit integers.
4780 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4783 Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
4784 We're not in 0.8 times anymore.
4786 2008-02-19 Jan Schmidt <Jan.Schmidt@sun.com>
4788 * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
4789 (gst_check_element_push_buffer_list):
4790 * libs/gst/check/gstcheck.h:
4791 Make the declaration in the header for
4792 gst_check_element_push_buffer_list match the implementation.
4794 Fix up spelling, grammar and wording of the documentation in a few
4795 places, and add the Since keyword to new API functions.
4796 Use g_list_delete_link instead of g_list_remove in
4797 gst_check_drop_buffers, since it's immeasurably more efficient.
4799 * tests/check/elements/fakesrc.c: (GST_START_TEST):
4800 Use new gst_check_drop_buffers function where appropriate.
4802 * win32/common/libgstbase.def:
4803 * win32/common/libgstreamer.def:
4804 Add new symbols gst_collect_pads_take_buffer,
4805 gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
4808 Changelog surgery to add API keyword to new gst_check API.
4810 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4812 * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
4813 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
4814 Update pre-generated flex files with flex 2.3.34.
4816 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4818 * gst/gstminiobject.c:
4819 Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
4820 friendly to subclasses and not require them to know all internals
4821 of their parent class.
4823 2008-02-15 Stefan Kost <ensonic@users.sf.net>
4825 * docs/libs/gstreamer-libs-sections.txt:
4826 * libs/gst/base/gstcollectpads.c:
4827 * libs/gst/base/gstcollectpads.h:
4828 Add sub-buffer functions to collectpads. Fixes #516187.
4829 API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
4831 2008-02-15 Stefan Kost <ensonic@users.sf.net>
4834 Copy selected buffer-flags when creating subbuffers.
4837 2008-02-12 Sebastian Dröge <slomo@circular-chaos.org>
4839 * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
4840 * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
4841 * gst/gstmessage.c: (gst_message_class_init),
4842 (gst_message_finalize):
4843 * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
4844 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
4845 (gst_mmap_buffer_finalize):
4846 Properly chain up finalize functions to the parent class.
4848 2008-02-11 Wim Taymans <wim.taymans@collabora.co.uk>
4850 Patch by: Siavash Safi <siavash dot safi at gmail dot com>
4852 * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
4853 (gst_index_set_resolver_full):
4855 Add new function with option to dispose of user_data in resolver.
4856 Actually call the dispose function when finalizing the object and not
4857 just when changing the resolver/filter.
4858 API: GstIndex::gst_index_set_resolver_full()
4860 * docs/gst/gstreamer-sections.txt:
4861 Add new function to docs. Fixes #515469.
4863 2008-02-11 Sebastian Dröge <slomo@circular-chaos.org>
4865 * gst/gstindex.c: (gst_index_finalize):
4866 Chain up finalize to the parent class. Fixes leaking the GstObject
4867 name and other things.
4869 2008-02-08 Jan Schmidt <jan.schmidt@sun.com>
4872 Make DISABLE_DEPRECATED defined *only* during CVS, not during
4873 pre-releases or releases.
4875 * docs/faq/gst-uninstalled:
4878 * docs/random/release:
4879 Change one of the steps - we only upload core & base to Gnome FTP
4881 2008-02-06 Stefan Kost <ensonic@users.sf.net>
4883 * gst/gstconfig.h.in:
4884 Add 'id' for example.
4888 * plugins/elements/gstfdsink.c:
4889 Link to signals. Doc and comment fixes.
4891 2008-02-05 Tim-Philipp Müller <tim at centricular dot net>
4893 * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
4894 * gst/gstpluginfeature.h: (GstPluginFeatureClass):
4895 Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
4896 unused and unimplemented; finally, it is plugin features, not
4897 plugins, that have ranks.
4899 2008-02-05 Stefan Kost <ensonic@users.sf.net>
4901 * gst/gstpluginfeature.h:
4902 Clarify GstRank range docs.
4904 2008-02-05 David Schleef <ds@schleef.org>
4906 * gst/gst.c: Add a separate gst_deinitialized that prevents
4907 gst_init() from being called after gst_deinit(). Fixes #509559
4909 2008-02-05 Sebastian Dröge <slomo@circular-chaos.org>
4911 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
4912 (gst_bin_class_init):
4913 * gst/gstelement.c: (gst_element_base_class_init),
4914 (gst_element_class_add_pad_template):
4915 * gst/gstpadtemplate.c: (gst_pad_template_init):
4916 * gst/gstpipeline.c: (gst_pipeline_get_type),
4917 (gst_pipeline_base_init), (gst_pipeline_class_init):
4918 * libs/gst/base/gstbasesink.c:
4919 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4920 (gst_base_src_base_init), (gst_base_src_class_init):
4921 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4922 (gst_capsfilter_class_init):
4923 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4924 (gst_fake_sink_class_init):
4925 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4926 (gst_fake_src_class_init):
4927 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4928 (gst_fd_sink_class_init):
4929 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4930 (gst_fd_src_class_init):
4931 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4932 (gst_file_sink_class_init):
4933 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4934 (gst_file_src_class_init):
4935 * plugins/elements/gstidentity.c: (gst_identity_base_init),
4936 (gst_identity_class_init):
4937 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4938 (gst_multi_queue_class_init):
4939 * plugins/elements/gstqueue.c: (gst_queue_base_init),
4940 (gst_queue_class_init):
4941 * plugins/elements/gsttee.c: (gst_tee_base_init),
4942 (gst_tee_class_init):
4943 * plugins/elements/gsttypefindelement.c:
4944 (gst_type_find_element_base_init),
4945 (gst_type_find_element_class_init):
4946 * tests/check/gst/gstelement.c: (gst_element_suite):
4947 Revert previous changes to the behaviour of GstPadTemplates, etc
4948 and the possiblity to call them in class_init as it breaks too
4949 many elements. Reopens bug #491501.
4951 Should be applied again for 0.11, thus added a few FIXME 0.11 at
4954 2008-02-05 Stefan Kost <ensonic@users.sf.net>
4956 * tools/gst-launch.c:
4957 Dump one graph per pipeline state-change and state change name
4958 (if GST_DEBUG_DUMP_DOT_DIR is set).
4960 2008-02-04 Thijs Vermeir <thijsvermeir@gmail.com>
4963 * tests/check/gst/gstpad.c:
4964 Be sure that we have a new copy of the caps and not
4965 reffed caps from a template
4967 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
4969 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4970 * gst/gstpipeline.c: (gst_pipeline_get_type),
4971 (gst_pipeline_class_init):
4972 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
4973 (gst_base_sink_class_init):
4974 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4975 (gst_base_src_class_init):
4976 * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
4977 (gst_base_transform_class_init):
4978 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
4979 (gst_collect_pads_class_init):
4980 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
4981 * libs/gst/net/gstnettimeprovider.c:
4982 (gst_net_time_provider_base_init),
4983 (gst_net_time_provider_class_init):
4984 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4985 (gst_capsfilter_class_init):
4986 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4987 (gst_fake_sink_class_init):
4988 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4989 (gst_fake_src_class_init):
4990 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4991 (gst_fd_sink_class_init):
4992 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4993 (gst_fd_src_class_init):
4994 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4995 (gst_file_sink_class_init):
4996 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4997 (gst_file_src_class_init):
4998 * plugins/elements/gstidentity.c: (gst_identity_base_init),
4999 (gst_identity_class_init):
5000 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
5001 (gst_multi_queue_class_init):
5002 * plugins/elements/gstqueue.c: (gst_queue_base_init),
5003 (gst_queue_class_init):
5004 * plugins/elements/gsttee.c: (gst_tee_base_init),
5005 (gst_tee_class_init):
5006 * plugins/elements/gsttypefindelement.c:
5007 (gst_type_find_element_base_init),
5008 (gst_type_find_element_class_init):
5009 Don't use base_init where not absolutely necessary. For example it's
5010 not necessary anymore for adding pad templates or setting element
5013 Leave empty base_init functions in several places as GST_BOILERPLATE
5014 still defines and uses them.
5016 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
5018 * gst/gstelement.c: (gst_element_base_class_init),
5019 (gst_element_class_add_pad_template):
5020 * gst/gstpadtemplate.c:
5021 Make it possible (and recommended) to set element details and add
5022 pad templates in the class_init functions by copying the details/pad
5023 templates in GstElement's base_init.
5025 Also make it possible to replace existing pad templates by adding
5026 a new one with the same name. This was done in a hackish fashion
5027 in same elements before already.
5029 Don't reference pad templates that are added a second time. A
5030 new pad template has a refcount of one and is not floating anymore
5031 and to be owned by the element's class. Make this more explicit by
5032 mentioning it in the docs of gst_element_class_add_pad_template().
5034 These changes are backwards compatible. Fixes bug #491501.
5036 * tests/check/gst/gstelement.c:
5037 Add unit test for setting element details, adding pad templates and
5038 replacing them in a subclass.
5040 2008-02-02 Sebastian Dröge <slomo@circular-chaos.org>
5042 * tools/gst-inspect.c: (print_interfaces),
5043 (print_element_properties_info), (print_pad_info),
5044 (print_signal_info), (print_element_info):
5045 Fix a few memory leaks.
5047 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
5049 * docs/libs/gstreamer-libs-sections.txt:
5050 * libs/gst/check/gstcheck.c:
5051 * libs/gst/check/gstcheck.h:
5052 Add more functions for unit testing: gst_check_drop_buffers,
5053 gst_check_caps_equal, gst_check_element_push_buffer_list,
5054 gst_check_element_push_buffer
5055 API: gst_check_drop_buffers
5056 API: gst_check_caps_equal
5057 API: gst_check_element_push_buffer_list
5058 API: gst_check_element_push_buffer
5060 2008-02-01 Julien Moutte <julien@fluendo.com>
5062 * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
5063 * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
5064 (gst_index_finalize), (gst_index_entry_free),
5065 (gst_index_add_association): Fix memory leaks.
5066 * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
5067 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
5068 (gst_mem_index_free_format), (gst_mem_index_free_id),
5069 (gst_mem_index_finalize): Fix memory leaks.
5070 * win32/common/config.h: Updated to CVS HEAD.
5072 2008-02-01 Stefan Kost <ensonic@users.sf.net>
5075 Some more details about how the plugin docs works.
5077 * docs/plugins/gstreamer-plugins-sections.txt:
5080 2008-02-01 Stefan Kost <ensonic@users.sf.net>
5082 * gst/parse/grammar.tab.pre.c:
5083 * gst/parse/grammar.tab.pre.h:
5084 * gst/parse/grammar.y:
5085 * gst/parse/lex._gst_parse_yy.pre.c:
5086 Add delayed set-property. This allows to set properties on dynamicaly
5087 created objects (pads in videomxer). Fixes #509391.
5089 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
5092 Check if caps are not NULL (fix bug #510194)
5094 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
5096 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
5097 (gst_base_sink_get_position_paused):
5098 Add fixme regarding EOS in pull mode.
5099 Fix position reporting in PAUSED for negative rates.
5101 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
5103 * gst/gstminiobject.c: (gst_mini_object_replace):
5104 When replacing a miniobject, do a quick equality check first so that we
5105 can avoid a ref/unref pair.
5107 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
5109 * docs/design/part-synchronisation.txt:
5112 * docs/plugins/Makefile.am:
5113 * docs/plugins/gstreamer-plugins-docs.sgml:
5114 * docs/plugins/gstreamer-plugins-sections.txt:
5115 * plugins/elements/gstmultiqueue.c:
5116 Add multiqueue to the docs.
5118 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
5123 === release 0.10.17 ===
5125 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
5128 releasing 0.10.17, "Due Negligence"
5130 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
5133 Revert caps != NULL check temporarily for 0.10.17 release.
5135 2008-01-30 Thijs Vermeir <thijsvermeir@gmail.com>
5138 Check if caps are not NULL (fix bug #510194)
5140 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
5143 Fix compilation on systems that have posix timers but no
5146 Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
5149 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
5151 * tools/gst-inspect.c:
5152 Revert previous commit in preparation for an impromptu 0.10.17 release
5154 2008-01-29 Sebastian Dröge <slomo@circular-chaos.org>
5156 * tools/gst-inspect.c: (print_interfaces),
5157 (print_element_properties_info), (print_pad_info),
5158 (print_signal_info), (print_element_info):
5159 Fix a few memory leaks.
5161 2008-01-28 Jan Schmidt <jan.schmidt@sun.com>
5166 === release 0.10.16 ===
5168 2008-01-28 Jan Schmidt <thaytan@noraisin.net>
5171 releasing 0.10.16, "Special Dispensation"
5173 2008-01-24 Tim-Philipp Müller <tim at centricular dot net>
5176 Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
5177 _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
5178 not fail when trying to crosscompile on OpenEmbedded (#511750).
5180 2008-01-20 Sebastian Dröge <slomo@circular-chaos.org>
5183 Use $(MAKE) instead of make to fix the build if GNU make is
5184 called different. Fixes bug #510747.
5186 2008-01-20 Tim-Philipp Müller <tim at centricular dot net>
5188 * gst/gstplugin.c: (_gst_plugin_initialize):
5189 Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
5190 again, which I broke two commits ago when changing the API
5191 of gst_plugin_register_static(): the g_list_foreach() in
5192 _gst_plugin_register_static still assumed the old function
5193 signature and would therefore fail (re-fixes #510187).
5195 * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
5196 (_gst_plugin_register_static), (gst_plugin_register_static):
5197 Revert the (technically correct) change to call g_thread_init() from
5198 the pre-main() constructor. This will break programs which call
5199 g_thread_init() without an if (!g_thread_supported()) guard in their
5200 main function. We could just blame it on GLib or the application, but
5201 it's probably best to just avoid this altogether and simply not use
5202 any GLib functions here and use plain old malloc() with a simple
5203 array to store the plugins to register later when gst_init() is
5204 finally called (re-fixes #510187).
5206 * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
5207 (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
5208 (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
5209 (GST_START_TEST), (gst_plugin_suite):
5210 Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
5213 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
5215 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5216 Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
5217 This makes gtk-doc complain, but results in slightly better
5218 compiler errors. The old _gst_plugin_register_static() is
5219 still guarded, so there'll be a compiler warning about that
5220 instead. Fixes #510187 too.
5222 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
5224 * gst/gst.c: (init_post):
5225 * gst/gstplugin.c: (_gst_plugin_register_static),
5226 (gst_plugin_register_static), (_gst_plugin_initialize):
5227 * gst/gstplugin.h: (GstPluginFilter):
5228 Change API of gst_plugin_register_static() to not take
5229 a GstPluginDesc, but rather just take all the arguments
5230 in a GstPluginDesc directly. This is more intuitive and
5231 avoids certain mistakes when porting code from
5232 GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
5235 * tests/check/gst/gstplugin.c:
5236 Fix up for changed API.
5238 2008-01-17 Thomas Vander Stichele <thomas at apestaart dot org>
5240 * docs/faq/legal.xml:
5241 Update FAQ, Totem actually has an exception these days.
5243 2008-01-14 Jan Schmidt <jan.schmidt@sun.com>
5245 * win32/common/libgstreamer.def:
5246 Add new API declarations
5248 2008-01-14 Stefan Kost <ensonic@users.sf.net>
5250 * gst/gstminiobject.c:
5251 Spelling fixes for the API docs.
5253 2008-01-14 Stefan Kost <ensonic@users.sf.net>
5255 * libs/gst/base/gstbasetransform.c:
5256 Fix long property description for QoS.
5258 2008-01-12 Jan Schmidt <Jan.Schmidt@sun.com>
5261 _gst_trace_on is already provided by gsttrace.h, no need to declare
5264 * docs/libs/gstreamer-libs-sections.txt:
5265 Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
5266 and remove strange tcase_add_test which is outputting a warning.
5268 * libs/gst/check/gstcheck.c:
5269 * libs/gst/check/gstcheck.h:
5270 Properly declare 'buffers', 'check_cond', 'check_mutex' extern
5271 and define them in gstcheck.c instead of having every .c file whcih
5272 includes gstcheck.h be defining its own copy and relying on symbol
5273 interposing to marry them all, which doesn't work on Solaris.
5275 * tests/check/elements/identity.c: (GST_START_TEST):
5276 Don't define 'buffers' locally, it comes from libgstcheck.
5278 * tests/check/generic/sinks.c: (send_buffer):
5279 Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
5281 * tests/check/gst/gststructure.c: (GST_START_TEST):
5282 * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
5283 * tests/check/gst/gstutils.c: (GST_START_TEST):
5284 * tests/check/gst/gstvalue.c: (GST_START_TEST):
5285 Add a bunch of casts to make various constants fit the types
5286 they're being assigned to.
5288 2008-01-10 Stefan Kost <ensonic@users.sf.net>
5290 * gst/gstchildproxy.c:
5291 Improve docs and add some ideas for making this more general-purpose.
5293 2008-01-10 Tim-Philipp Müller <tim at centricular dot net>
5295 * gst/gst_private.h: (GST_CAT_TYPES):
5296 Add GST_CAT_TYPES, for consistency, and so that the other
5297 debug categories don't make fun of it. Spotted by Saur on IRC.
5299 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
5301 * gst/parse/Makefile.am:
5302 Move types.h from EXTRA_DIST to noinst_HEADERS.
5304 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
5307 Add -Wno-portability to the automake parameters to stop warnings
5308 about GNU make extensions being used. We require GNU make in almost
5309 every Makefile anyway.
5312 Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
5313 at the same time is required for per target flags.
5315 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5318 Include glib/gmacros.h for G_BEGIN_DECLS. Check if
5319 __GNUC__ is defined before using it.
5321 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5323 * docs/gst/gstreamer-sections.txt:
5324 * gst/gst.c: (init_post):
5325 * gst/gstplugin.c: (_gst_plugin_register_static),
5326 (gst_plugin_register_static), (_gst_plugin_initialize),
5327 (gst_plugin_register_func):
5328 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5329 API: add gst_plugin_register_static() and deprecate
5330 GST_PLUGIN_DEFINE_STATIC, since it's not portable
5332 Also, in _gst_plugin_register_static(), make sure to call
5333 g_thread_init() before calling GLib functions such as
5334 g_list_append() if we're not initialised yet, since that
5335 may lead to random crashes with older GSlice/GLib versions.
5337 * tests/check/gst/gstplugin.c:
5338 Adapt unit test to above changes.
5340 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5342 * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
5343 * gst/gstcaps.c: (gst_caps_to_string):
5344 * gst/gststructure.c: (GST_ASCII_IS_STRING),
5345 (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
5346 Yet another gratuitous GString micro-optimisation: add a (private)
5347 function that serialises a structure appending to an existing
5348 GString, so that when we serialise caps we don't need to alloc+free
5349 a throwaway GString for each structure (each of which also entailing
5350 multiple reallocs on the way); also use g_string_sized_new() in
5351 various places with an approximate string length to avoid reallocs
5352 within GString. See #500143.
5354 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5356 * gst/gststructure.c: (gst_structure_id_set_value):
5357 Always check UTF-8 conformance of structure strings and not only
5358 if the debugging system is enabled; reasoning: the behaviour of
5359 the actual code shouldn't really change depending on whether the
5360 debugging system is enabled or not (#508291).
5362 2008-01-09 Stefan Kost <ensonic@users.sf.net>
5365 Remove old coverage target in favour of "make lcov".
5367 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
5369 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5370 (gst_base_src_loop):
5371 The start segment for reverse playback goes from start to last_stop.
5373 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
5375 Patch by: Peter Kjellerstedt <pkj axis com>
5378 Cast the results from the timeval/spec_to_time macros to what the
5379 docs say it casts to, a GstClockTime. fixes #508175.
5381 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
5384 Update some comments.
5386 * tools/gst-inspect.c: (print_element_properties_info):
5387 Improve printing of flags.
5389 2008-01-08 Tim-Philipp Müller <tim at centricular dot net>
5391 * libs/gst/base/gstbasetransform.c:
5392 (gst_base_transform_transform_size):
5393 Print element name with g_warning() if there's a problem
5396 2008-01-07 David Schleef <ds@schleef.org>
5398 Patch by: Damien Lespiau <damien.lespiau@gmail.com>
5400 * libs/gst/controller/gstcontroller.h:
5401 * libs/gst/controller/gstcontrolsource.h:
5402 * libs/gst/controller/gstinterpolationcontrolsource.h:
5403 * libs/gst/controller/gstlfocontrolsource.h:
5404 * libs/gst/dataprotocol/dataprotocol.h:
5405 Fix empty prototypes. Fixes bug #507957.
5407 2008-01-07 David Schleef <ds@schleef.org>
5409 * docs/faq/dependencies.xml: Fix typo.
5411 2008-01-07 Wim Taymans <wim.taymans@collabora.co.uk>
5413 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
5414 (gst_base_src_loop):
5415 Don't update the last_stop position in do_seek, that's the position we
5417 Read backwards when we have a negative rate.
5419 * tests/check/elements/filesrc.c: (event_func), (wait_eos),
5420 (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
5422 Add check for reverse reading.
5424 2008-01-07 Tim-Philipp Müller <tim at centricular dot net>
5426 Patch by: Alexis Ballier <aballier at gentoo org>
5428 * tests/check/gst/gstabi.c:
5429 * tests/check/gst/struct_ppc64.h:
5430 * tests/check/libs/libsabi.c:
5431 * tests/check/libs/struct_ppc64.h:
5432 Decide which header to include based on the userland ABI target
5433 and not the kernel/cpu. Fix up structure sizes of ppc64 header
5434 for 64-bit userland (#503590). Might need something similar for
5437 2008-01-05 Tim-Philipp Müller <tim at centricular dot net>
5439 * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
5440 Log the reason why fopen fails in addition to the fact that it failed.
5442 2008-01-04 Sebastian Dröge <slomo@circular-chaos.org>
5444 * gst/parse/parse.l:
5445 Use "%option never-interactive" to prevent useless calls to isatty()
5446 on every input when parsing. Also use "%option noinput" to not define
5447 the static input/yyinput functions which we don't use anyway. This
5448 removes a compiler warning with gcc 4.3 and saves some bytes in the
5451 * gst/parse/lex._gst_parse_yy.pre.c:
5452 Regenerated for the above change.
5454 2008-01-04 Wim Taymans <wim.taymans@collabora.co.uk>
5456 * gst/gstpad.c: (fixate_value):
5457 Don't crash when trying to fixate and empty list.
5460 2008-01-03 Sebastian Dröge <slomo@circular-chaos.org>
5462 * docs/faq/gst-uninstalled:
5463 Clarify the comments to make the usage of this script and what it
5464 does easier to understand.
5466 2008-01-01 Thijs Vermeir <thijsvermeir@gmail.com>
5468 * tools/gst-plot-timeline.py:
5469 Add more options to gst-plot-timeline
5471 2007-12-31 Wim Taymans <wim.taymans@collabora.co.uk>
5473 * docs/design/part-synchronisation.txt:
5474 Some more info on how the stream_time in GstBaseSink is done.
5476 2007-12-30 Tim-Philipp Müller <tim at centricular dot net>
5478 * tests/check/generic/sinks.c: (gst_sinks_suite):
5479 Put back the tcase_set_timeout(), apparently it's needed after
5480 all; fix it up in a way that makes things work with valgrind too.
5482 2007-12-30 Thijs Vermeir <thijsvermeir@gmail.com>
5484 * gst/gstdebugutils.c:
5485 Add warning when failed to open file for writing.
5487 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5489 Based on patch by: Laurent Glayal <spglegle yahoo fr>
5491 * gst/gstvalue.c: (gst_value_is_fixed):
5492 Optimisation: bail out of the loop as early as possible (#500143).
5494 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5496 * gst/gstcaps.c: (gst_caps_to_string):
5497 * gst/gstinfo.c: (gst_debug_construct_term_color):
5498 * gst/gstparse.c: (gst_parse_launchv):
5499 * gst/gstutils.c: (gst_util_dump_mem):
5500 * gst/gstvalue.c: (gst_value_serialize_any_list),
5501 (gst_value_transform_any_list_string):
5502 Bunch of gratuitous nano-optimisations.
5504 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5506 * tests/check/generic/sinks.c: (async_done_func),
5507 (async_done_eos_func):
5508 Fix leak in unit test (bus sync handler must unref the message
5509 if it returns GST_BUS_DROP). Don't fiddle with the default test
5510 timeout, this is smaller than the current preconfigured value
5511 via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
5512 because it overrides the value specified in CK_DEFAULT_TIMEOUT.
5514 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
5516 Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5519 Check for stdio_ext.h for the filesink changes.
5521 * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
5522 (gst_file_sink_class_init), (gst_file_sink_init),
5523 (gst_file_sink_dispose), (gst_file_sink_set_property),
5524 (gst_file_sink_get_property), (gst_file_sink_open_file),
5525 (gst_file_sink_close_file):
5526 * plugins/elements/gstfilesink.h:
5527 Add two properties to control the buffering mode and size.
5528 API: GstFileSink::buffer-mode
5529 API: GstFileSink::buffer-size
5532 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
5534 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
5535 Add some more docs to explain why a FIXME was wrongly added.
5537 2007-12-22 Sebastian Dröge <slomo@circular-chaos.org>
5540 Fix typo in the gst_object_{ref,unref} documentation.
5542 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
5544 * tests/check/libs/controller.c:
5545 * tests/check/libs/typefindhelper.c:
5546 * tests/check/pipelines/parse-launch.c:
5547 Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
5548 going to be deprecated (see #498924).
5550 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
5552 * gst/gsttypefind.c: (gst_type_find_register):
5553 Make gst_type_find_register work for static typefind functions,
5554 ie. allow passing plugin == NULL (prerequisite for #498924).
5556 * gst/gstelementfactory.c: (gst_element_register):
5557 Small docs addition.
5559 2007-12-21 Wim Taymans <wim.taymans@collabora.co.uk>
5561 * gst/gstpad.c: (gst_pad_dispose):
5562 Really unlink the peer pad instead of setting the peer pointer to NULL
5563 when we dispose the pad.
5564 This correctly calls the unlink functions and makes sure that the peer
5565 does not have a handle to invalid memory. See #504671.
5567 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5568 Add testsuite for above case.
5570 2007-12-20 Tim-Philipp Müller <tim at centricular dot net>
5572 Patch by: Peter Kjellerstedt <pkj axis com>
5574 * libs/gst/check/gstcheck.h:
5575 Fix detection of the check version we're compiling against (would
5576 otherwise break if check goes v0.10.0); correctly report the
5577 name of the failed test again in case of failure, instead of
5578 just 'tf' (fixes #504499).
5580 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
5582 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
5583 (gst_base_src_get_range), (gst_base_src_pad_get_range),
5584 (gst_base_src_loop), (gst_base_src_set_flushing),
5585 (gst_base_src_change_state):
5586 Allow sending EOS to the source to make it send out an EOS event from
5587 the streaming thread.
5588 Update docs and deprecate the old NULL/READY shutdown method.
5590 * tests/check/libs/basesrc.c: (GST_START_TEST),
5591 (gst_basesrc_suite):
5592 Add unit test for controlled shutdown.
5594 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
5596 * docs/design/part-synchronisation.txt:
5599 * gst/gstsegment.c: (gst_segment_set_seek),
5600 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5601 (gst_segment_to_running_time):
5602 The seek format can be different from the segment format when the start
5603 and stop values are not to be updated, when we only do a rate change for
5606 * tests/check/gst/gstsegment.c: (GST_START_TEST),
5607 (gst_segment_suite):
5608 Add a testcase for the rate-only seeks, checking that the format is
5609 correctly ignored when start and stop are not updated.
5611 2007-12-18 Sebastian Dröge <slomo@circular-chaos.org>
5613 Patch by: Matthias Bolte <photon at mail dot upb dot de>
5615 * win32/vs8/grammar.vcproj:
5616 * win32/vs8/libgstcontroller.vcproj:
5617 * win32/vs8/libgstreamer.vcproj:
5618 Fix compilation with VS8 and include some missing files.
5620 2007-12-18 Tim-Philipp Müller <tim at centricular dot net>
5623 Small docs addition: mention that the strings returned by
5624 gst_tag_list_get_string*() are in UTF-8 encoding.
5626 2007-12-17 Tim-Philipp Müller <tim at centricular dot net>
5629 The check-exports stuff moved to common/win32.mak, so include that.
5631 2007-12-17 Wim Taymans <wim.taymans@collabora.co.uk>
5633 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5634 (gst_base_src_perform_seek), (gst_base_src_get_range),
5635 (gst_base_src_set_playing), (gst_base_src_change_state):
5636 Make _wait_playing() not check any variables so that we can call this
5637 function from subclasses. Move the checks elsewhere similar to
5638 _wait_preroll() in basesink.
5640 Only signal the LIVE cond when we are going back to PLAYING.
5642 2007-12-16 Tim-Philipp Müller <tim at centricular dot net>
5644 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
5645 Use g_remove() and g_rename(). Check result of g_rename(), and
5646 don't leak the open file descriptor if we error out when writing.
5648 * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
5649 Must check the return value of close() after writing out the new
5650 registry file. Sometimes write problems such as out-of-diskspace
5651 are only reported when the file is closed and not already during
5652 the write. This may have caused partial/broken registry files in
5653 some rare circumstances. Should fix #503675.
5655 2007-12-16 Edward Hervey <edward.hervey@collabora.co.uk>
5657 * docs/gst/.cvsignore:
5658 * docs/libs/.cvsignore:
5659 * docs/plugins/.cvsignore:
5660 Ignore files generated by new common/* modifications
5662 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5664 * win32/common/libgstbase.def:
5665 Yes, you can also have a <TAB> if you want.
5667 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5669 * win32/common/libgstbase.def:
5670 Add new basetransform API to win export file.
5672 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5674 * tests/check/gst/gstbin.c:
5675 Adjust the test to the refcount change two days ago.
5677 2007-12-14 David Schleef <ds@schleef.org>
5679 * docs/faq/getting.xml: Fix typo.
5681 2007-12-14 Sebastian Dröge <slomo@circular-chaos.org>
5683 * docs/libs/gstreamer-libs-sections.txt:
5684 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5685 (gst_base_transform_prepare_output_buffer),
5686 (gst_base_transform_set_gap_aware):
5687 * libs/gst/base/gstbasetransform.h:
5688 API: Add gst_base_transform_set_gap_aware() to control whether
5689 the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
5690 get buffers with this flag at all. Fixes #503231.
5692 2007-12-13 Stefan Kost <ensonic@users.sf.net>
5694 * libs/gst/base/gstbasesink.c:
5695 * libs/gst/base/gstbasesrc.c:
5696 * libs/gst/base/gstbasetransform.c:
5697 Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
5698 thread. Correct log message in gstbasesrc.c.
5700 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
5702 * gst/gstutils.c: (element_find_unconnected_pad):
5703 Fix possible compiler warning (#503417).
5705 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
5707 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
5708 Don't use GST_CAT_EVENT here for logging, it makes no sense.
5710 2007-12-13 Sebastian Dröge <slomo@circular-chaos.org>
5712 * tools/gst-inspect.c: (print_element_properties_info):
5713 Add support for GstFraction properties.
5715 2007-12-12 Tim-Philipp Müller <tim at centricular dot net>
5718 Add check-exports target and run it as part of 'make check'
5719 (see #499140 and #493983).
5721 * gst/gst_private.h:
5722 * gst/gstelementfactory.h:
5723 * gst/gstghostpad.c: (gst_proxy_pad_class_init):
5724 * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
5725 (_priv_gst_in_valgrind):
5726 * gst/gstinfo.h: (GstLogFunction):
5727 * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
5728 (gst_type_find_register):
5729 * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
5730 (gst_type_find_factory_get_type):
5731 * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
5732 (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
5733 (gst_controller_new_valist), (gst_controller_new_list),
5734 (_gst_controller_dispose), (_gst_controller_class_init):
5735 * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
5736 * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
5737 (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
5738 (gst_object_get_controller), (gst_object_set_controller),
5739 (gst_object_suggest_next_sync), (gst_object_sync_values),
5740 (gst_object_set_control_source), (gst_object_get_control_source),
5741 (gst_object_get_value_arrays), (gst_object_get_value_array),
5742 (gst_object_get_control_rate), (gst_object_set_control_rate):
5743 * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
5744 * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
5745 Make some functions that should be static static; rename some
5746 private symbols so that they don't get exported; add some FIXME
5747 comments so we can move accidentally exported functions into
5748 our private section in 0.11.
5750 * win32/common/libgstreamer.def:
5751 Add gst_utils_get_timestamp().
5753 2007-12-12 Stefan Kost <ensonic@users.sf.net>
5757 Add more missing "Since:" tags to docs.
5759 2007-12-12 Stefan Kost <ensonic@users.sf.net>
5762 Add mising "Since:" to docs.
5764 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5767 Include "glib-compat-private.h" to fix the build on system with
5768 glib < 2.10. Fixes #503131.
5770 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5774 Actually its not PURE as it gets the time from elsewhere.
5776 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5778 * docs/gst/gstreamer-sections.txt:
5780 * gst/gstdebugutils.c:
5784 * libs/gst/base/gstbasesink.c:
5785 * tools/gst-launch.c:
5786 Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
5787 uses as we don't have HAVE_POSIX_TIMERS in public headers.
5788 Thanks Tim for spotting.
5789 API: gst_util_get_timestamp
5791 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
5794 Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
5796 2007-12-08 Tim-Philipp Müller <tim at centricular dot net>
5798 * gst/gststructure.c: (gst_structure_validate_name),
5799 (gst_structure_new_valist), (gst_structure_parse_value),
5800 (gst_structure_from_string):
5801 Don't crash in _from_string() if the structure name is not valid
5802 (fixes #501560). Allow structure names to start with a number
5803 again (this apparently broke the ubuntu codec installer).
5805 * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
5807 Add unit test for the crash; update unit tests for new behaviour.
5809 2007-12-03 Wim Taymans <wim.taymans@gmail.com>
5812 Clarify gst_element_get_compatible_pad() documentation.
5815 2007-12-02 Sebastian Dröge <slomo@circular-chaos.org>
5817 * tests/check/Makefile.am:
5818 Don't forget to dist {gst,libs}/struct_hppa.h.
5820 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5822 * libs/gst/base/gstbasesink.c:
5823 Use new API to get elapsed time.
5825 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5827 * gst/gstdebugutils.c:
5829 Fix wrong order of args in GST_CLOCK_DIFF() usage.
5831 * tools/gst-launch.c:
5832 Use new API to get elapsed time.
5834 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5836 * docs/gst/gstreamer-sections.txt:
5838 * gst/gstdebugutils.c:
5840 Rename new API + ChangeLog surgery to remove old name from last entry..
5842 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5844 * docs/gst/gstreamer-sections.txt:
5846 * gst/gstdebugutils.c:
5848 Now hide the different clock stuff behind a macro.
5850 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5853 * gst/gstdebugutils.c:
5855 Apply the posix-timer check from #361155. Conditionally use the posix
5856 timer for logging. This gives better timestamp precission, less
5857 overhead and no ntp jitter.
5859 2007-11-28 Sebastian Dröge <slomo@circular-chaos.org>
5861 * gst/gstminiobject.c: (gst_mini_object_get_type),
5862 (gst_mini_object_class_init), (gst_mini_object_copy_default),
5863 (gst_mini_object_finalize), (gst_mini_object_copy),
5864 (gst_mini_object_is_writable), (gst_mini_object_make_writable),
5865 (gst_mini_object_replace), (param_mini_object_validate),
5866 (gst_param_spec_mini_object_get_type):
5867 Some cleanup and checking against invalid function parameters.
5869 2007-11-28 Wim Taymans <wim.taymans@gmail.com>
5871 * docs/gst/gstreamer-sections.txt:
5873 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5874 (gst_systemclock_suite):
5875 Start merging in the easy bits of #361155, the monotonic clock patch.
5876 This one adds a few handy macros with docs and a testsuite.
5878 2007-11-27 Wim Taymans <wim.taymans@gmail.com>
5880 * plugins/elements/gstfilesink.c: (gst_file_sink_event):
5881 Be a bit smarter when seeking, like, don't try to do a seek when it's
5882 not needed. This avoids errors when the file is not seekable.
5885 2007-11-26 Stefan Kost <ensonic@users.sf.net>
5887 * docs/gst/gstreamer-docs.sgml:
5888 * docs/gst/gstreamer-sections.txt:
5889 * docs/gst/gstreamer.types.in:
5894 * plugins/elements/gstqueue.c:
5895 Due to popular request remove preset interface again. :-(.
5897 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5899 * tools/gst-inspect.c:
5900 Print 'default value' for enums and flags too.
5902 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5904 * docs/random/ensonic/profiling.txt:
5908 Fix typo and give better log output.
5910 * gst/gstdebugutils.c:
5911 * gst/gstdebugutils.h:
5912 More ideas, make graphs a bit smaller and fix param name in macro.
5914 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5917 Try harder to use the return value from fgets().
5919 2007-11-21 Stefan Kost <ensonic@users.sf.net>
5922 For theses two fgets we handle the error below.
5924 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
5926 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
5927 Only send upstream events upstream. Fixes #498746.
5929 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
5931 Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5933 * plugins/elements/gstidentity.c: (gst_identity_class_init),
5934 (gst_identity_init), (gst_identity_transform_ip),
5935 (gst_identity_set_property), (gst_identity_get_property):
5936 * plugins/elements/gstidentity.h:
5937 Add property to disable handoff signal emission. Fixes #498694.
5938 API: GstIdentity::signal-handoffs
5940 2007-11-21 Julien Moutte <julien@fluendo.com>
5942 * docs/faq/gst-uninstalled: Yet another missing library for the
5943 uninstalled script (fft)
5945 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
5947 * docs/faq/developing.xml:
5948 Add a question about how to submit new translations.
5950 * docs/random/release:
5951 Update the contact email address for the Translation Project
5953 * plugins/elements/gstfdsrc.c:
5954 The parent_class for fdsrc is pushsrc, not GstElement.
5956 2007-11-20 Stefan Kost <ensonic@users.sf.net>
5959 Plug a leak and fix saving.
5961 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
5963 * docs/gst/gstreamer-sections.txt:
5964 Add new gst_preset__get_property_names() function to the docs
5967 2007-11-20 Stefan Kost <ensonic@users.sf.net>
5971 Change _get_preset_names API to return a strv with copies. Add
5972 _get_property_names to allow implementations to filter and provide
5973 good default implementation.
5975 2007-11-20 Julien MOUTTE <julien@moutte.net>
5977 * docs/faq/gst-uninstalled: Add another library to the uninstalled
5980 2007-11-19 Stefan Kost <ensonic@users.sf.net>
5983 More cleanups, docs, and TODOs from comments that now slowly come in.
5985 2007-11-19 Julien MOUTTE <julien@moutte.net>
5987 * docs/faq/gst-uninstalled: Add new base libraries in the LD
5990 2007-11-19 Stefan Kost <ensonic@users.sf.net>
5993 Fix bogus warning and make the property type specific code more
5996 2007-11-19 Julien MOUTTE <julien@moutte.net>
5998 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
6001 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
6003 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
6004 (gst_bin_add_func), (gst_bin_remove_func),
6005 (gst_bin_change_state_func), (gst_bin_continue_func):
6006 Change email, cleanups add some more debug and comments.
6007 Also set bus and clock on new elements when the pipeline was in error.
6009 2007-11-18 Stefan Kost <ensonic@users.sf.net>
6012 * gst/gstdebugutils.c:
6013 Fix build with --disable-gst-debug. Fixes #497859.
6014 Spotted by Sameer Naik.
6016 2007-11-17 Stefan Kost <ensonic@users.sf.net>
6019 Little documentation improvment.
6022 More TODO cleanups. Remove c++ comments.
6024 * libs/gst/controller/gstcontroller.c:
6025 Add TODO and use quark from static string.
6027 * tests/check/gst/gstmessage.c:
6028 * tests/check/gst/gststructure.c:
6029 Use quark from static string.
6031 2007-11-17 Stefan Kost <ensonic@users.sf.net>
6034 Add some comments and TODOs.
6037 Add padding for future changes.
6039 * plugins/elements/gstqueue.c:
6040 Implement the iface.
6042 2007-11-17 Stefan Kost <ensonic@users.sf.net>
6044 * docs/gst/gstreamer-docs.sgml:
6045 * docs/gst/gstreamer-sections.txt:
6046 * docs/gst/gstreamer.types.in:
6051 Add the preset interface (Fixes #396779). Do some doc cleanups along.
6053 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
6059 === release 0.10.15 ===
6061 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
6064 releasing 0.10.15, "October"
6066 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
6068 * win32/vs6/libgstreamer.dsp:
6069 Convert line endings back to DOS.
6071 2007-11-13 Stefan Kost <ensonic@users.sf.net>
6073 * docs/design/draft-tagreading.txt:
6074 * docs/random/ensonic/profiling.txt:
6075 Update fast tagreading draft and performance profiling ideas.
6077 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
6079 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
6080 Don't hold the object lock when unreffing a buffer because it could
6081 cause a deadlock when the finalize function wants to grab the object
6082 lock too. Fixes #495133.
6084 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
6086 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
6087 (gst_segment_to_stream_time), (gst_segment_to_running_time):
6088 Also accumulate time correctly when doing reverse playback. Fixes
6090 When converting to running and stream time, use default values for
6091 start/stop/time/accum when comparing different formats. Fixes #494245.
6093 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6094 Do running/stream time in TIME format.
6096 * tests/check/gst/gstsegment.c: (GST_START_TEST),
6097 (gst_segment_suite):
6098 2 new unit tests for segment accumulation.
6100 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
6102 * gst/gst.c: (init_pre):
6103 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
6104 (_gst_debug_bin_to_dot_file):
6105 Move getenv() back into gst_init, so everyone can live happily
6106 ever after. Make sure the symbol isn't exported though.
6108 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
6110 Patch by: Sebastien Moutte <sebastien moutte net>
6112 * win32/common/gstenumtypes.c:
6113 * win32/common/gstenumtypes.h:
6116 * win32/vs6/libgstreamer.dsp:
6117 Update vs6 project files (#494343).
6119 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
6121 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
6122 (gst_base_src_perform_seek), (gst_base_src_default_event),
6123 (gst_base_src_set_flushing), (gst_base_src_activate_push),
6124 (gst_base_src_activate_pull):
6125 Unify flushing code, remove some old unlock code that is no longer used.
6126 Take the streaming lock when seeking to avoid races. Fixes #492729.
6127 Added some more comments.
6129 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
6131 * gst/gst.c: (_gst_disable_segtrap):
6132 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
6133 we can use gst_segtrap_is_enabled() there now that we have that API.
6134 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
6135 to do the getenv here (and export the variable).
6137 * gst/gstdebugutils.c: (debug_dump_element),
6138 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
6139 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
6141 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
6142 (gst_debug_log_default):
6143 Rename _gst_info_start_time to priv_gst_info_start_time so it
6144 doesn't get exported (was never in any header).
6146 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
6147 (gst_plugin_loading_mutex):
6148 Make static mutex gst_plugin_loading_mutex really static (was never
6149 in any header), and use gst_segtrap_is_enabled() instead of
6150 _gst_disable_segtrap.
6152 * gst/gsttrace.c: (_gst_trace_default):
6153 Make local _gst_trace_default static (was never in any header).
6155 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
6157 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
6159 * win32/common/libgstbase.def:
6160 * win32/common/libgstcontroller.def:
6161 * win32/common/libgstdataprotocol.def:
6162 * win32/common/libgstnet.def:
6163 * win32/common/libgstreamer.def:
6164 Add more missing symbols, remove some duplicates, and sort
6165 as the 'sort' command sorts it (partially fixes #493983).
6167 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
6169 * gst/gstelement.c: (gst_element_set_state_func):
6170 Only change the state cookie if a different state was set on the
6171 element. See #492729.
6173 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
6176 Remove unused and uninitialised type variables that were still
6177 exported for some reason (they were never in any header files
6180 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
6182 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6183 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
6184 (gst_base_sink_event), (gst_base_sink_get_position_last),
6185 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
6186 (gst_base_sink_change_state):
6187 Don't try to report a 0 position when we don't know, return -1 and FALSE
6188 instead. This mostly happens when we are prerolling.
6189 Make sure we can report the right position before we post the ASYNC_DONE
6190 message so that a message handler can query position without races.
6192 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6193 (async_done_handoff), (async_done_func), (send_buffer),
6194 (async_done_eos_func), (gst_sinks_suite):
6195 Add two tests for the above.
6197 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
6200 Update with new email address.
6202 * docs/design/part-TODO.txt:
6203 Add some more info about future pad-block and negotiation changes.
6205 * docs/design/part-buffering.txt:
6206 Add some ideas about buffering reporting.
6208 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
6210 * tests/check/gst/gstobject.c:
6211 Disable silly racy test that always fails on this combination of CPU
6214 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
6216 Patch by: Murray Cumming <murrayc@murrayc.com>
6219 Corrected the registration of the parent-set and parent-unset
6220 signals: The parameter is a GstObject, not a GObject (#493134).
6222 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
6224 * gst/gst_private.h:
6233 Move declaration of private _gst_foo_initialize() functions into
6234 our private header file where they should have been all along.
6236 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
6238 * docs/plugins/gstreamer-plugins-sections.txt:
6239 * gst/gstdebugutils.h:
6241 * plugins/elements/gstqueue.c:
6242 gtk-doc fixes; trailing-comma-in-enum fix.
6244 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
6246 * gst/gst.c: (gst_deinit):
6247 Clean up on deinit (not the external ones though, doesn't seem to be
6248 needed for some reason).
6250 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
6252 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
6253 Remove __declspec(dllimport) for MSVC that was copied over into core
6254 from a plugin, obviously without ever having been tested (note the
6255 single underscore in _declspec in the initial commit), and that doesn't
6256 really make sense. See #492077.
6258 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
6260 * gst/gst.c: (init_post):
6261 * gst/gstevent.c: (_gst_event_initialize):
6262 * gst/gstquery.c: (_gst_query_initialize):
6263 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
6264 g_type_class_ref() other types as well, see #349410 and #64764.
6266 * gst/gstbuffer.c: (_gst_buffer_initialize):
6267 * gst/gstmessage.c: (_gst_message_initialize):
6268 Simplify existing g_type_class_ref().
6270 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
6272 * gst/gstformat.c: (_gst_format_initialize):
6273 g_type_class_ref() our GstFormat type to make sure we avoid the
6274 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
6275 bug #64764. Should fix intermittent tee unit test failures (#474823).
6277 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
6279 * tests/check/elements/tee.c: (test_num_buffers):
6280 Simplify, simplify, simplify - or not. Rewrite unit test
6281 not to use gst_parse_launch(); allow N sub-streams. Increasing
6282 the number of sub-streams seems to reproduce #474823 more easily.
6284 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
6286 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
6289 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
6290 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6291 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
6292 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
6293 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
6294 so use _pipe() directly (#492077).
6296 * win32/common/dirent.c: (_treaddir):
6297 Add a couple of casts to make it build without warnings with MSVC.
6299 * win32/common/libgstreamer.def:
6300 Add some more symbols that need to be exported.
6302 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
6304 * tests/examples/metadata/read-metadata.c: (message_loop):
6305 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
6306 arriving in a second or third tag message are added to
6307 the tag list as well.
6309 2007-10-31 Stefan Kost <ensonic@users.sf.net>
6311 * libs/gst/base/gstbasesrc.c:
6312 Its "Since:" and not "@Since:". And remove an superflous cast.
6314 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
6316 * docs/libs/gstreamer-libs-sections.txt:
6317 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6318 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
6319 (gst_base_sink_get_property), (gst_base_sink_render_object),
6320 (gst_base_sink_preroll_object),
6321 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
6322 (gst_base_sink_change_state):
6323 * libs/gst/base/gstbasesink.h:
6324 Add a new last-buffer property that contains the last buffer used in
6325 basesink for preroll or rendering. useful for making snapshots.
6326 API: gst_base_sink_get_last_buffer()
6327 API: GstBaseSink::last-buffer
6329 2007-10-29 Stefan Kost <ensonic@users.sf.net>
6331 * docs/gst/running.xml:
6333 * gst/gstdebugutils.c:
6334 * gst/gstdebugutils.h:
6335 * tools/gst-launch.c:
6336 Improve bin graph dumping, by using the envvar to specify a path.
6337 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
6339 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
6341 * plugins/elements/gsttypefindelement.c:
6342 (gst_type_find_element_handle_event),
6343 (gst_type_find_element_activate):
6344 Post special error message if we can't determine the type of a stream
6347 2007-10-29 Stefan Kost <ensonic@users.sf.net>
6349 * docs/gst/running.xml:
6350 * gst/gstdebugutils.c:
6351 Document new env-var. Add one log-line after dumpng a graph.
6353 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
6356 Ugly hack to put the (recently removed and non-portable, apparently)
6357 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
6358 GNU ld, because without that 'make check' fails miserably on my debian
6359 stable box. Someone with more knowledge of linker intricacies and
6360 portability issues than me fix this properly please.
6362 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
6364 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
6365 Reset last seen position after flushing so that we don't report the old
6368 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
6370 * gst/gstelementfactory.c: (gst_element_register):
6372 Patch from Alessandro Decina adding get_type_full and
6373 get_protocols_full private vfuncs to the URIHandler interface
6374 to allow bindings to support creating URI handlers.
6375 Partially fixes: #339279
6376 API: GstURIHandlerInterface::get_type_full
6377 API: GstURIHandlerInterface::get_protocols_full
6379 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
6381 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
6382 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
6383 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
6384 Make it so that pads are considered linked until a buffer is pushed
6385 and discovered otherwise. This avoids problems with decodebin2 hanging
6386 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
6389 Make sure we lock the multiqueue when updating the max-size properties.
6391 Fix a crash on Solaris in a debug statement in get_request_pad that
6392 passes a NULL string to GST_DEBUG.
6394 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
6395 (run_output_order_test):
6396 Fix the test to allow the first buffer on not-linked pads to come out
6397 of sequence while multiqueue discovers that they are not-linked.
6399 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
6402 * libs/gst/check/Makefile.am:
6403 Use a custom export symbol regex for libgstcheck, as it needs
6404 to export symbols that don't match the standard GStreamer gst_*
6405 pattern, and --export-dynamic is not portable (only works on
6408 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6409 (gst_check_setup_sink_pad):
6410 Make sure to pass a message parameter to the fail_* macros.
6412 * tests/check/gst/gstinfo.c: (GST_START_TEST):
6413 Fix some compiler warnings.
6415 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
6417 * tests/check/gst/gststructure.c: (test_to_string):
6418 Disable test that checks that white spaces are not allowed
6419 in structure names or field names, since we need to
6420 support that for now for backwards compatibility reasons.
6422 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
6424 * docs/gst/gstreamer-sections.txt:
6427 API: add GST_TAG_ARTIST_SORTNAME
6428 API: add GST_TAG_ALBUM_SORTNAME
6429 API: add GST_TAG_TITLE_SORTNAME
6430 Add tag variants for sorting (#414539).
6432 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
6434 * gst/gststructure.c:
6435 Also allow white space for names so we don't break
6436 backwards compatibility.
6438 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
6440 * docs/design/part-TODO.txt:
6441 * docs/design/part-segments.txt:
6442 * docs/design/part-streams.txt:
6445 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
6447 * docs/gst/gstreamer-sections.txt:
6448 Fixed documentation from my previous commit (added new API add
6449 gst_value_set_structure(), add gst_value_get_structure() and
6450 GST_VALUE_HOLDS_STRUCTURE).
6452 2007-10-22 Stefan Kost <ensonic@users.sf.net>
6454 * gst/gstdebugutils.c:
6455 Reflow code to fix uninitialized variable warning.
6457 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
6459 * gst/gstcaps.c: (gst_caps_to_string),
6460 (gst_caps_from_string_inplace):
6461 * gst/gststructure.c: (gst_structure_get_abbrs),
6462 (gst_structure_to_string), (gst_structure_from_string):
6463 * gst/gstvalue.c: (gst_value_set_structure),
6464 (gst_value_get_structure), (gst_value_serialize_structure),
6465 (gst_value_deserialize_structure), (_gst_value_initialize):
6467 * tests/check/gst/gststructure.c: (GST_START_TEST),
6468 (gst_structure_suite):
6469 * tests/check/gst/gstvalue.c: (GST_START_TEST):
6470 Added GstStructure to gst_value_table and its related functions.
6471 Changed gst_structure_to_string to print ';' in the end.
6472 Changed gst_caps_to_string to not print ';' beteween its
6473 fields (structures) anymore and remove the lastes ';' from latest
6474 structure. Now it is possible to have nested structures.
6475 In addition, backward compatibilty is assured by accepting '\0' as
6476 end delimiter. Fixes: #487969.
6477 API: add gst_value_set_structure()
6478 API: add gst_value_get_structure()
6479 API: add GST_VALUE_HOLDS_STRUCTURE
6481 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
6484 When no GSource callback has been set up, tell developer
6485 to use a function that actually exists.
6487 2007-10-17 Stefan Kost <ensonic@users.sf.net>
6489 * docs/gst/gstreamer-sections.txt:
6493 * gst/gstdebugutils.c:
6494 * gst/gstdebugutils.h:
6497 * tools/gst-launch.c:
6498 Allow dumping pipelines as dot graphs. Fixes #456573.
6500 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6502 * gst/gststructure.c:
6503 Allow '+' as well, it can be part of media or mime types
6504 such as image/svg+xml.
6506 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6508 * docs/gst/gstreamer-sections.txt:
6511 API: add gst_bus_pop_filtered
6512 API: add gst_bus_timed_pop_filtered
6513 Two new functions for waiting for specific message types on the
6514 bus for a specified amount of time without iterating any main
6515 loops or main contexts.
6517 * tests/check/gst/gstbus.c:
6518 Some tests for the new functions.
6520 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6522 * docs/libs/gstreamer-libs-sections.txt:
6523 Make gtk-doc ignore stuff it should ignore.
6525 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6527 * libs/gst/check/gstcheck.c:
6528 * libs/gst/check/gstcheck.h:
6529 Allow runtime selection of unit tests to run via the GST_CHECKS
6530 environment variable (test case function names, comma-separated).
6532 2007-10-16 Stefan Kost <ensonic@users.sf.net>
6534 * gst/gststructure.c:
6535 * tests/check/gst/gststructure.c:
6536 Revert serialisation change and constrain structure-names after
6537 consensus on irc. Update api documentation to reflect the change.
6539 2007-10-16 Stefan Kost <ensonic@users.sf.net>
6541 * gst/gststructure.c:
6542 Improve serialization and fix tests.
6544 * tests/check/gst/gststructure.c:
6545 Add another test that covers why I actually did the previous structure
6548 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
6550 * tools/gst-inspect.c: (print_element_info):
6551 Don't crash when inspecting an element.
6553 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
6555 * tests/check/gst/gststructure.c:
6556 Add unit test for escaping of structure name when serialising
6557 and deserialising to/from strings.
6559 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
6561 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6562 (gst_single_queue_new):
6563 * plugins/elements/gstqueue.c: (gst_queue_init),
6564 (gst_queue_push_one):
6565 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
6566 upstream is tricked into thinking it can suggest a format downstream
6567 while downstream does not support that format. The real problem is that
6568 core calls acceptcaps when pushing a buffer with new caps, for which we
6569 do a little workaround by setting the caps on the srcpad ourselves
6570 before pushing the buffer (until this is figured out). Fixes #486758.
6572 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6574 * gst/gststructure.c:
6576 Add some more comments and debug output. Quote structure name to fix
6577 deserialisation of some strings.
6579 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6582 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
6583 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
6585 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6587 * tools/gst-inspect.c:
6588 Save approx. 400 1 byte allocs when printing. Use API to acces element
6594 * tools/gst-xmlinspect.c:
6595 Use API to acces element details.
6597 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6600 Fix some spelling errors.
6602 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
6604 * gst/gstbin.c: (bin_handle_async_done):
6605 Correctly set the next state if all of our async children commited their
6606 state. This makes sure we can actually cancel the state change in
6607 progress. Fixes a regression in Rhythmbox when seeking.
6609 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
6612 Don't shadow local variable.
6615 Don't shadow global function name.
6617 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
6619 * gst/gstelementfactory.c:
6620 * gst/gstpluginfeature.c:
6621 * gst/gstpluginfeature.h:
6622 * gst/gstregistrybinary.c:
6623 * gst/gstregistryxml.c:
6624 * gst/gsttypefind.c:
6625 Use already-interned string for the private GstPluginFeature
6628 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
6630 * docs/libs/gstreamer-libs-sections.txt:
6631 Add new API to docs; fixes the build.
6633 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
6635 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
6637 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
6638 (gst_base_sink_event):
6639 * libs/gst/base/gstbasesink.h:
6640 Add function to wait for EOS, subclasses can use this to correctly wait
6641 for devices to drain before performing the EOS logic. Fixes #485343.
6642 API: gst_base_sink_wait_eos()
6644 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
6647 Cast description string constants in GST_PLUGIN_DEFINE macros
6648 to a (gchar*) to make C++ code using these macros compile
6649 without warning with g++-4.2 (see #462737). Even if slightly
6650 ugly, this seems preferable to putting the description strings
6651 into the GLib quark table or making the structure member a
6652 const gchar * and doing casts in core code that allocs and
6653 frees these strings, or requiring a cast in the C++ code.
6655 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6658 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
6659 to print the entire class/function signature into the log
6660 file for C++ code. This only affects C++ code, for C code
6661 everything remains the same.
6663 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
6665 * gst/gstbin.c: (remove_from_queue):
6666 Work around a problem with pipelines containing (semi)loops until a
6667 proper, more complicated solution is ready. See #475455.
6669 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6673 * gst/gstregistrybinary.c:
6674 * gst/gstregistryxml.c:
6675 Put more strings into the GLib quark table. No need to keep
6676 a hundred-something copies of identical version strings,
6677 license strings, package name strings and package origin
6680 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6682 * docs/manual/advanced-dataaccess.xml:
6683 Don't imply that it's okay to unconditionally change
6684 buffer data or buffer metadata in a pad probe callback,
6685 and a bunch of other comments. Fixes #430031.
6687 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6689 * win32/common/gstenumtypes.c:
6690 * win32/common/gstenumtypes.h:
6691 * win32/common/gstversion.h:
6692 Update generated files.
6694 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6696 * docs/manual/advanced-autoplugging.xml:
6697 Prefix section with broken code with a warning (see #342432).
6699 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6701 * docs/manual/appendix-integration.xml:
6702 * docs/manual/basics-init.xml:
6703 Call g_thread_init() before g_option_context_new() to
6704 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
6706 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6708 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6709 (gst_base_sink_queue_object_unlocked),
6710 (gst_base_sink_queue_object), (gst_base_sink_event),
6711 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
6712 When we received EOS and are waiting for when to post the EOS message,
6713 our state is prerolled and we should not return ASYNC.
6714 Reorganize some code paths to implement this behavior.
6716 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6718 Add unit test to verify above EOS fix.
6720 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6722 * plugins/elements/gsttypefindelement.c:
6723 (gst_type_find_element_have_type), (gst_type_find_element_init),
6724 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
6725 Move detecting the input caps of the sinkpad to the setcaps function.
6726 This allows us to update the output caps when we receive new input caps
6727 instead of always using the first detected caps.
6729 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6731 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6732 (gst_base_sink_get_position):
6733 Don't try to preroll non-async elements after a flush.
6734 Subtract latency form clock times when reporting position.
6736 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6738 * gst/gstpad.c: (gst_pad_pause_task):
6740 Small comment and documentation update.
6742 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6744 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6745 (gst_base_src_set_live), (gst_base_src_is_live),
6746 (gst_base_src_query_latency), (gst_base_src_perform_seek),
6747 (gst_base_src_default_event), (gst_base_src_wait),
6748 (gst_base_src_do_sync), (gst_base_src_get_range),
6749 (gst_base_src_pad_get_range), (gst_base_src_loop),
6750 (gst_base_src_unlock), (gst_base_src_unlock_stop),
6751 (gst_base_src_set_flushing), (gst_base_src_set_playing),
6752 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6753 (gst_base_src_change_state):
6754 Rework the locking of basesrc in a similar fashion to basesink. We
6755 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
6756 us to handle live sources and semi live ones much better.
6758 Fix unlocking when seeking, shutting down and pausing in live sources.
6760 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6762 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
6763 Fix compilation again.
6765 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6768 Use meaningful categories for the logs to clean the default one.
6770 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6772 * tests/check/pipelines/cleanup.c:
6773 Print message name and not just number.
6775 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6777 * docs/design/draft-tagreading.txt:
6778 Add some more thoughts.
6780 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6782 * tests/check/pipelines/simple-launch-lines.c:
6783 Print message name and not just number.
6785 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6787 * libs/gst/base/gsttypefindhelper.c:
6788 Speedup typefinding. This is work in progress (see #459862).
6790 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6793 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
6794 Spotted by Josep Torra Valles <josep@fluendo.com>.
6796 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
6799 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
6800 field has moved to GstObject.
6802 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
6804 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
6805 (gst_base_src_get_range), (gst_base_src_change_state):
6806 Call unlock for live sources so that they can't get stuck in _create and
6807 produce a buffer before they are set back to PLAYING.
6809 2007-10-02 Edward Hervey <bilboed@bilboed.com>
6811 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6812 (gst_queue_locked_dequeue):
6813 Comment the segment-related code... in the PROPER function.
6814 See #482147 and my commit from yesterday.
6816 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
6818 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6819 Also initialize the counter that calculates the first timestamp on a
6820 buffer correctly for non-live sources.
6822 2007-10-01 Edward Hervey <bilboed@bilboed.com>
6824 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
6825 Disable code that's breaking the current-time-level reporting.
6828 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
6830 * docs/gst/gstreamer-sections.txt:
6831 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
6832 as they shouldn't show up. Fixes the docs build.
6834 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
6837 Add an explicit variable importation needed on VS6 (only for MSC_VER)
6838 Define M_PI which is used in files which are including gstinfo.h.
6839 VS6 includes doesn't define it.
6840 * win32/common/libgstbase.def:
6841 * win32/common/libgstcontroller.def:
6842 * win32/common/libgstreamer.def:
6843 Add new exported functions and variables.
6844 * win32/vs6/libgstcontroller.dsp:
6845 * win32/vs6/libgstreamer.dsp:
6846 Update the list of files to build.
6848 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
6850 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6852 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
6853 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
6854 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
6855 Improve debugging. Fixes #480858.
6857 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
6859 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6861 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6862 First patch of code cleanups, use the macros and right arguments in the
6863 macros to signal and lock the queue. See #480858.
6865 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
6867 * gst/gstbus.c: (poll_func):
6868 Improve debugging when dealing with _poll().
6870 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
6872 * gst/gstregistryxml.c:
6873 Fix memory leak I introduced a few days ago.
6875 2007-09-26 Michael Smith <msmith@fluendo.com>
6877 * gst/gstbuffer.c: (gst_buffer_finalize):
6878 Make it once again possible to free GstBuffers in the default
6880 The poisoning scribbles on parts of the miniobject we need in
6884 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
6886 * docs/gst/gstreamer-sections.txt:
6889 API: add GST_TAG_COMPOSER, fixes #459809.
6891 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
6895 Add the 3-clause BSD license and the MIT/X11 license to the license
6896 list. Fixes #479784.
6898 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
6900 * docs/faq/getting.xml:
6901 Add Q+A about different GStreamer versions (#364056).
6903 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6905 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6906 (gst_base_sink_event), (gst_base_sink_change_state):
6907 Return correct gboolean from query function.
6909 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6911 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6912 (gst_base_sink_event), (gst_base_sink_query),
6913 (gst_base_sink_change_state):
6914 Simplify latency query.
6915 When not synchronizing, we can report latency without querying the peer
6918 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6922 Fix small typos in the docs.
6924 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6926 * docs/design/draft-latency.txt:
6927 * docs/design/draft-push-pull.txt:
6928 * docs/design/draft-tagreading.txt:
6929 * docs/design/part-MT-refcounting.txt:
6930 * docs/design/part-activation.txt:
6931 * docs/design/part-block.txt:
6932 * docs/design/part-element-source.txt:
6933 * docs/design/part-events.txt:
6934 * docs/design/part-gstbin.txt:
6935 * docs/design/part-gstelement.txt:
6936 * docs/design/part-gstobject.txt:
6937 * docs/design/part-gstpipeline.txt:
6938 * docs/design/part-messages.txt:
6939 * docs/design/part-preroll.txt:
6940 * docs/design/part-push-pull.txt:
6941 * docs/design/part-qos.txt:
6942 * docs/design/part-query.txt:
6943 * docs/design/part-scheduling.txt:
6944 * docs/design/part-seeking.txt:
6945 * docs/design/part-segments.txt:
6946 * docs/design/part-states.txt:
6947 Documentation updates and typo fixes.
6949 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
6951 * plugins/elements/gstfakesink.c:
6952 Add some debug text to error message to indicate that
6953 we errored out on request.
6955 * tools/gst-launch.c:
6956 When the state change to PLAYING fails, check for an
6957 error message on the bus and print it.
6959 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
6961 translated by: Jorge González González <aloriel@gmail.com>
6965 Added Spanish translation.
6967 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
6969 * plugins/elements/gstqueue.c: (gst_queue_push_one):
6970 Fix printf arguments.
6972 2007-09-20 Stefan Kost <ensonic@users.sf.net>
6974 * tests/check/generic/states.c:
6975 Improved state change unit test.
6977 2007-09-20 Stefan Kost <ensonic@users.sf.net>
6980 Move priv to the right place.
6982 * gst/gstsystemclock.c:
6983 Add FIXME: and improve log.
6985 * tests/check/Makefile.am:
6986 * tests/examples/manual/Makefile.am:
6987 Work with all types of registries.
6989 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
6991 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6992 Don't unref the event after pushing it. Fixes #478401.
6994 2007-09-19 Stefan Kost <ensonic@users.sf.net>
6997 * tests/examples/manual/.cvsignore:
6998 Ignore registries in any format.
7000 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
7002 * gst/glib-compat-private.h:
7003 Add compatibility macro for g_intern_string() for
7004 GLib-2.8 (any reason we can't just bump the
7005 requirement to at least 2.10?)
7007 * gst/gstpadtemplate.h:
7008 * gst/gstelementfactory.c:
7009 * gst/gstregistryxml.c:
7010 * gst/gstregistrybinary.c:
7011 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
7012 up the internal code accordingly. This shouldn't be a problem, since
7013 there is no reason external code could ever assume the string in such
7014 a structure is dynamically allocated unless it did that itself; the
7015 use of g_strdup() is private to element factories. The new code also
7016 saves some memory by putting pad template name strings into the GLib
7017 quark table instead of allocating them dynamically.
7018 Declaring this field constant fixes warnings with g++-4.2 when using
7019 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
7021 2007-09-19 Stefan Kost <ensonic@users.sf.net>
7023 * gst/gstelementfactory.c:
7024 Release static caps. Fixes #475723.
7026 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
7030 Make some internal API take const gchar * instead of just
7031 gchar * to avoid compiler warnings with g++-4.2.2 when
7032 passing string constants (partially fixes #478092).
7034 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
7036 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
7037 A latency query fails when one of the sinks fail.
7039 * gst/gstelement.c: (gst_element_set_base_time):
7042 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
7044 * gst/gstbin.c: (gst_bin_continue_func):
7045 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
7046 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
7047 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
7049 Fix minor compilation warnings shown with Forte.
7051 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
7053 * plugins/elements/gstqueue.c: (apply_buffer),
7054 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
7055 Measure queue level based on the diff between head and tail timestamps
7056 even when pushing the first buffer.
7058 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
7060 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
7061 (gst_base_sink_event), (gst_base_sink_change_state):
7062 Sinks that don't preroll can always be queried for the latency.
7063 Don't post ASYNC start when we are not async.
7065 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
7067 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
7068 (gst_queue_handle_sink_event), (gst_queue_chain),
7069 (gst_queue_push_one), (gst_queue_handle_src_query),
7070 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
7071 * plugins/elements/gstqueue.h:
7072 When downstream returns UNEXPECTED from pushing a buffer, don't try to
7073 push more buffers but allow pushing of EOS and NEWSEGMENT.
7074 Add some more debug info here and there. Fixes #476514.
7076 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
7078 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
7079 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
7080 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
7081 (gst_base_sink_set_flushing), (gst_base_sink_query),
7082 (gst_base_sink_change_state):
7083 Latency query is allowed after we are prerolled. Introduce a new flag
7084 for this and stop abusing other variables.
7086 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
7088 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
7089 Push OOB events downstream when we get them in send_event. This allows
7090 the application to insert events in the pipeline.
7091 Add some more comments.
7093 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
7095 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
7096 (do_bin_latency), (gst_bin_change_state_func):
7097 * gst/gstpipeline.c: (gst_pipeline_change_state):
7098 Move latency query from GstPipeline to GstBin so that we can also
7099 use it when async-handling is enabled on bins.
7101 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
7103 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7104 (gst_base_src_do_sync), (gst_base_src_change_state):
7106 Clean up the timestamping and syncing code for pseudo live sources.
7108 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
7110 Patch by: Steve Fink <sphink gmail com>
7112 * docs/manual/appendix-checklist.xml:
7113 Mention less -R switch in the section about debug output (#474055).
7115 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
7117 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
7118 Queue can latency to the pipeline up to the configured max size in time.
7119 Report this fact in the latency query.
7121 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
7123 Patch by: Sebastien Moutte <sebastien at moutte dot net>
7125 * libs/gst/controller/gstinterpolation.c:
7126 * libs/gst/controller/gstlfocontrolsource.c:
7127 Use gst_guint64_to_gdouble() when converting from a uint64 or
7128 GstClockTime to double to fix the build on win32. Fixes #474371.
7130 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
7132 * gst/gstbuffer.c: (gst_buffer_finalize):
7133 Implement poisoning for GstBuffer if --enable-poisoning is specified.
7134 When finalizing a buffer the complete struct is filled with 0xff,
7135 thus making a use of the buffer after the final unref impossible.
7137 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
7139 * tests/check/libs/controller.c: (GST_START_TEST):
7140 Use fail_unless_equals_int(a, b) instead of
7141 fail_unless_equals (a == b) to get better output on failures.
7143 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
7145 * tests/check/gst/gsturi.c:
7146 Also check for the other file URI variant on win32.
7148 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
7150 * gst/gsturi.c: (gst_uri_get_location):
7151 If there's no hostname, we want to return 'c:/foo/bar.txt'
7152 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
7154 * tests/check/gst/gsturi.c:
7155 Unit test for the above and a few more things.
7157 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
7159 * docs/design/part-live-source.txt:
7160 Add docs on how live sources should timestamp.
7162 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
7163 Add some more debug info.
7164 For subclasses that are live and like to sync, add aditional startup
7165 latency to sync time and timestamps so that we timstamp according to the
7168 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
7171 Also do a g_type_class_ref() for the subbuffer type in
7174 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
7176 * docs/gst/gstreamer-sections.txt:
7177 * gst/gstpad.c: (gst_pad_peer_query):
7179 Add function to perform a query on the peer of a pad.
7180 API: gst_pad_peer_query()
7182 2007-09-11 Stefan Kost <ensonic@users.sf.net>
7184 * tests/check/gst/gstsystemclock.c:
7185 Cleanup the test a little (use gst-logging and not g_message). Improve
7186 test to check if a wait reached the target.
7188 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
7190 * docs/libs/gstreamer-libs-sections.txt:
7191 Add new API to docs and fix the build.
7193 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
7195 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7196 (gst_base_src_init), (gst_base_src_set_do_timestamp),
7197 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
7198 (gst_base_src_get_property), (gst_base_src_do_sync):
7199 * libs/gst/base/gstbasesrc.h:
7200 Add property to make the basesrc timestamp buffers based on the current
7202 API: GstBaseSrc::do-timestamp
7203 API: gst_base_src_set_do_timestamp()
7204 API: gst_base_src_get_do_timestamp()
7206 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
7208 * docs/random/release:
7209 Really make sure translations are up-to-date before
7210 a release (#465010).
7212 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
7214 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7215 Always destroy the timer, also in error cases.
7217 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
7219 * docs/manual/highlevel-xml.xml:
7220 Fix XML example code. Fixes #472714.
7222 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
7224 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
7225 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
7226 (gst_base_sink_query):
7227 Protect eos and have_preroll with the OBJECT lock so we don't need to
7228 take the PREROLL lock when querying the latency. Fixes #473846.
7230 2007-09-05 Stefan Kost <ensonic@users.sf.net>
7233 Give some log-messages a category.
7235 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
7237 * gst/gststructure.c:
7238 (gst_structure_fixate_field_nearest_fraction):
7239 Fix fraction list fixation code. Take the fraction with the smallest
7240 difference with the target instead of the first one in the list.
7242 * tests/check/gst/gststructure.c: (GST_START_TEST),
7243 (gst_structure_suite):
7244 Added test to verify correct fraction list fixation behaviour.
7246 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
7248 * win32/common/libgstreamer.def:
7249 Export gst_bus_add_signal_watch too.
7251 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
7253 * docs/libs/gstreamer-libs-sections.txt:
7254 Add new methods to docs.
7256 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7257 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
7258 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
7259 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
7260 * libs/gst/base/gstbasesink.h:
7261 Add ts-offset property to fine-tune the synchronisation.
7262 API: GstBaseSink::ts-offset property
7263 API: gst_base_sink_set_ts_offset()
7264 API: gst_base_sink_get_ts_offset()
7266 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
7268 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7269 (gst_base_sink_init), (gst_base_sink_set_sync),
7270 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
7271 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
7272 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
7273 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
7274 (gst_base_sink_get_property), (gst_base_sink_change_state):
7275 * libs/gst/base/gstbasesink.h:
7276 Add async property to instruct the sink never to inform the parent about
7277 ASYNC state changes, update docs.
7278 Check argument with g_return_* for the public functions.
7279 API: GstBaseSink::async property
7280 API: gst_base_sink_set_async_enabled()
7281 API: gst_base_sink_is_async_enabled()
7283 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
7285 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
7288 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7289 (gst_base_src_default_query), (gst_base_src_wait),
7290 (gst_base_src_do_sync), (gst_base_src_change_state):
7291 Rearrange some code so that we can add support for measuring the
7294 2007-08-27 Stefan Kost <ensonic@users.sf.net>
7296 * docs/random/ensonic/dynlink.txt:
7297 More thoughs on this.
7299 * plugins/elements/gstcapsfilter.c:
7300 Add bugzilla ticket number to FIXME comment.
7302 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
7304 * docs/design/part-TODO.txt:
7305 * docs/design/part-block.txt:
7308 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7311 Revert patch which uses $(gst_headers) instead of $^ because it
7314 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7316 * tests/check/gst/gstbin.c: (GST_START_TEST):
7317 Fix leaks in the new unit test.
7319 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
7322 Don't use GST_INFO before the debug system is actually initialised
7323 (shouldn't do any harm, but won't print anything either, so we can
7324 just as well remove it).
7327 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
7328 compilers that don't support variadic macros (such as MSVC), should
7329 check for debug_level <= __gst_debug_min as well, since that's the
7330 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
7331 inline helper functions. Should improve performance a bit, but also
7332 makes sure uses of GST_INFO et.al are ignored if the debugging
7333 system isn't initialised yet (instead of printing an assertion
7336 2007-08-23 Stefan Kost <ensonic@users.sf.net>
7338 patch by: David Nečas <yeti@physics.muni.cz>
7341 Replace some non portable makefile constructs.
7343 2007-08-21 Stefan Kost <ensonic@users.sf.net>
7345 * common/gtk-doc-plugins.mak:
7346 Grrrrr. Don't remove the types file on make clean.
7348 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
7350 * tools/gst-launch.1.in:
7351 Add colorspace to example pipeline. Fixes #458274.
7353 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
7355 * docs/random/release:
7356 The release manager should run 'make download-po' before making a
7357 release to make sure translations are up-to-date.
7363 Add some new translations.
7365 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
7367 * tools/gst-launch.c: (event_loop), (main):
7368 Don´t try to do any state management when a live pipeline posts
7370 Also make the buffering string translatable.
7372 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
7374 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
7375 (bin_handle_async_start), (gst_bin_handle_message_func):
7377 When adding elements, insert messages into the bus of the newly added
7378 element and make sure the element is the source of the message. This
7379 allows the parent bin to intercept the message and do the
7380 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
7381 messages to the app (which is not allowed).
7384 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7385 Fix testsuite so that is does not work around messages that should not
7386 have been posted in the first place.
7388 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
7390 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
7391 (update_degree), (gst_bin_sort_iterator_next):
7392 Fix annoying bug in the sorted iterator where a sink that is not really
7393 a sink (when it has downstream links) screwed up the iterator.
7395 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7396 Unit test to verify the fix.
7398 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
7401 Add some more docs for the messages.
7403 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7404 (gst_base_sink_query):
7405 Add some more debugging.
7407 * tools/gst-launch.c: (event_loop):
7408 When interrupting, don't try to set pipeline to PAUSED twice.
7410 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
7413 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
7414 (bin_handle_async_start), (gst_bin_handle_message_func):
7415 Move ASYNC_START message posting to where it belongs, similar to
7417 Don't post ASYNC_START when we are in error.
7418 Post ASYNC_START when we added an async element to a bin.
7420 2007-08-14 Julien MOUTTE <julien@moutte.net>
7422 * gst/gstindex.c: (gst_index_add_association): Fix index entry
7423 generation from vargs. Fixes #466595.
7425 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
7427 * gst/gstbin.c: (gst_bin_element_set_state):
7428 Always change the state of a NO_PREROLL element even if it has ASYNC
7429 elements inside (in case of a bin).
7431 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
7432 Unit test for this case.
7434 2007-08-13 Stefan Kost <ensonic@users.sf.net>
7436 * libs/gst/check/gstbufferstraw.c:
7437 * libs/gst/check/gstcheck.h:
7438 * libs/gst/controller/gstcontroller.c:
7439 * libs/gst/controller/gstcontrolsource.h:
7440 * libs/gst/controller/gstlfocontrolsource.h:
7441 * plugins/elements/gstcapsfilter.h:
7442 * plugins/elements/gstfdsink.h:
7443 * plugins/elements/gstfdsrc.h:
7444 Add more missing docs.
7446 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7448 * gst/gststructure.c:
7449 Add Since tag to docs.
7451 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7453 * docs/gst/gstreamer-sections.txt:
7454 * gst/gststructure.c: (gst_structure_get_uint):
7455 * gst/gststructure.h:
7456 Add function to get uint from a structure.
7457 API: gst_structure_get_uint()
7459 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7461 * gst/gstcaps.c: (gst_caps_set_simple_valist),
7462 (gst_caps_intersect):
7463 Fix proper check for simple caps.
7465 2007-08-10 Stefan Kost <ensonic@users.sf.net>
7467 * docs/gst/Makefile.am:
7468 * docs/libs/Makefile.am:
7469 Remove cruft and do some cleanups.
7471 * docs/gst/gstreamer-docs.sgml:
7472 * docs/libs/gstreamer-libs-docs.sgml:
7473 Prepare for comming gtkdoc features (rebase against online docs).
7475 2007-08-10 Michael Smith <msmith@fluendo.com>
7477 * docs/gst/gstreamer-sections.txt:
7478 Add gst_registry_add_path to docs.
7480 2007-08-10 Michael Smith <msmith@fluendo.com>
7482 * gst/gstregistry.h:
7483 Add gst_registry_add_path, which was missing from this header.
7485 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
7487 * libs/gst/controller/gstlfocontrolsource.c:
7490 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
7492 * libs/gst/base/gstbasesink.c:
7493 Don't send an async_start message during downwards state change if
7494 target state is less than READY
7496 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
7498 translated by: Gabor Kelemen <kelemeng@gnome.hu>
7502 Added Hungarian translation.
7504 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
7511 Updated translations.
7513 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
7515 * libs/gst/controller/Makefile.am:
7516 Dist gstlfocontrolsourceprivate.h
7518 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
7520 * docs/libs/gstreamer-libs.types:
7521 Don't register the enum type gst_lfo_waveform_get_type() in the
7522 .types file - only GObject derived types belong.
7524 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
7526 Patch by: <arenevier at fdn dot fr>
7529 Remove comma from last element in enum to avoid compile errors when
7530 using -pendantic. Fixes #464366.
7532 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
7534 * docs/design/part-TODO.txt:
7535 Add some more TODO items
7537 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
7540 * gst/gstcaps.c: (gst_caps_intersect):
7541 Optimize trivial intersection case between identical caps pointers.
7543 * gst/gstelement.c: (gst_element_continue_state),
7544 (gst_element_set_state_func):
7546 Fix spelling and grammar mistakes.
7548 2007-08-05 Stefan Kost <ensonic@users.sf.net>
7552 Update POTFILES. Fixes #461599.
7554 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
7557 Fix confusing typo in debug output.
7559 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
7561 reviewed by: Stefan Kost <ensonic@users.sf.net>
7563 * libs/gst/controller/Makefile.am:
7564 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
7565 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
7566 (gst_lfo_control_source_new),
7567 (gst_lfo_control_source_set_waveform),
7568 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
7569 (gst_lfo_control_source_finalize),
7570 (gst_lfo_control_source_dispose),
7571 (gst_lfo_control_source_set_property),
7572 (gst_lfo_control_source_get_property),
7573 (gst_lfo_control_source_class_init):
7574 * libs/gst/controller/gstlfocontrolsource.h:
7575 * libs/gst/controller/gstlfocontrolsourceprivate.h:
7576 API: Add GstLFOControlSource, a control source that gives values
7577 for specific timestamps based on several periodic waveforms.
7580 * tests/check/libs/controller.c: (GST_START_TEST),
7581 (gst_controller_suite):
7582 * docs/libs/gstreamer-libs-docs.sgml:
7583 * docs/libs/gstreamer-libs-sections.txt:
7584 * docs/libs/gstreamer-libs.types:
7585 Add documentation and unit tests for GstLFOControlSource.
7587 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
7592 === release 0.10.14 ===
7594 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
7597 releasing 0.10.14, "Breathing Vacuum"
7599 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
7601 * gst/gstelement.c: (gst_element_class_set_details_simple):
7603 Make strings passed to gst_element_class_set_details_simple()
7604 constant, as they should be (#462752).
7606 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
7608 * gst/gstbin.c: (gst_bin_change_state_func),
7609 (bin_handle_async_done), (gst_bin_handle_message_func):
7610 Don't forget about the fact that some element went ASYNC even after a
7611 resync. This makes us post the ASYNC_DONE message correctly.
7614 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7616 * gst/gstregistry.c: (gst_registry_add_feature):
7617 When replacing an existing feature in the registry, make sure to
7618 continue holding a reference until we've replaced the name string
7619 within our feature hash table. Make sure to use g_hash_table_replace
7620 instead of g_hash_table_insert to ensure the new name string is used
7621 as a key instead of the old one that we're about to free.
7624 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7626 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7627 (gst_plugin_feature_set_name):
7628 Revert patch from #459466 until after the release and we can work
7629 out exactly what the problem is (if any).
7631 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
7633 * docs/gst/gstreamer-sections.txt:
7636 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
7638 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
7640 * docs/libs/Makefile.am:
7641 Include our build-prefix libs and includes before the generic ones to
7642 avoid linking against the installed libs when we want the build-tree
7645 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
7647 Patch by: Steve Fink <sphink gmail com>
7649 * docs/pwg/building-testapp.xml:
7650 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
7651 if people try to build or install the example from the plugin
7652 template against a GStreamer from package using the configure
7655 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
7657 Patch by: Steve Fink <sphink gmail com>
7659 * tools/gst-inspect.1.in:
7660 Document --print-all and --print-plugin-auto-install-info command
7661 line options in man page.
7663 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
7665 * docs/gst/gstreamer-sections.txt:
7666 Add docs for new api function.
7668 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
7670 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
7671 * gst/gstelementfactory.h:
7672 API: gst_element_factory_has_interface()
7673 Added method to check if an element factory implements a named
7676 2007-07-25 Stefan Kost <ensonic@users.sf.net>
7679 * docs/gst/gstreamer.types.in:
7680 Another conditional doc check.
7683 * gst/gstparamspecs.h:
7684 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7689 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7691 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
7692 (gst_registry_binary_load_feature),
7693 (gst_registry_binary_load_plugin),
7694 (gst_registry_binary_read_cache):
7695 Print error just once and with additional info.
7697 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7699 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7700 (helper_find_suggest), (helper_find_get_length),
7701 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
7702 (gst_type_find_helper_for_buffer):
7703 Cleanup the typefindhelper code and add private doc comments.
7705 2007-07-24 Edward Hervey <bilboed@bilboed.com>
7707 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7708 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
7709 Fix capsfilter for cases where the caps set on capsfilter will provide
7710 additional information.
7713 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7715 * gst/gsttypefindfactory.c:
7716 Fix docs that recommened wrong function to use.
7718 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7720 * tools/gst-inspect.c: (print_plugin_features):
7721 Also give media-type for typefinders in element output.
7723 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7725 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
7726 (gst_registry_remove_features_for_plugin_unlocked),
7727 (gst_registry_add_feature), (gst_registry_remove_feature),
7728 (gst_registry_lookup_feature_locked):
7729 * gst/gstregistry.h:
7730 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
7733 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7735 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7736 (gst_plugin_feature_set_name):
7737 Avoid double memory usage for pluginfeature names. Fixes #459466.
7739 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
7742 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
7743 driving the pipeline may need to explicitly check for NOT_LINKED as
7744 well, since IS_FATAL doesn't cover that.
7746 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
7748 * docs/pwg/advanced-types.xml:
7749 Fix typo and duplicate entry in video formats list.
7751 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
7753 * libs/gst/controller/gstinterpolation.c:
7754 Also round to the nearest int when using cubic interpolation.
7756 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
7758 * libs/gst/controller/gstinterpolation.c:
7759 When linearly interpolating integer types, round to the nearest int
7760 by adding 0.5. Don't do it for float/double types.
7761 Fixes the failing controller test on my machine, which is somehow
7762 rounding differently than on the buildbots.
7764 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7766 * tools/gst-plot-timeline.py:
7767 Better log parsing (categories can have -). Adjust text vs. lines, so
7768 that they span the same y-range.
7770 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7772 * docs/random/ensonic/audiobaseclasses.txt:
7773 * docs/random/ensonic/dynlink.txt:
7774 * docs/random/ensonic/profiling.txt:
7777 * docs/random/moving-plugins:
7778 Add note to use g_assert type macros.
7780 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7783 * libs/gst/check/Makefile.am:
7784 Add libm check as we use in for plugins.
7786 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
7788 * gst/gstbin.c: (gst_bin_continue_func):
7789 Check that the state_cookie hasn't changed since the continue_func
7790 was scheduled. Avoids problems where the state changes back to
7791 something it shouldn't be because it was changed in the meantime.
7793 2007-07-17 Stefan Kost <ensonic@users.sf.net>
7795 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
7796 (gst_registry_binary_save_string),
7797 (gst_registry_binary_save_pad_template),
7798 (gst_registry_binary_save_feature),
7799 (gst_registry_binary_save_plugin),
7800 (gst_registry_binary_load_feature),
7801 (gst_registry_binary_load_plugin),
7802 (gst_registry_binary_read_cache):
7803 Fix memory leak. Be less verbose in the log.
7805 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7807 * tests/check/elements/.cvsignore:
7808 Add file to cvsignore as commanded.
7810 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7812 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
7813 (mq_dummypad_event), (run_output_order_test):
7814 Use a GStaticMutex to protect all cases where libcheck
7815 fail_if/fail_unless macros might be called from multiple threads
7816 simultaneously to avoid errors like:
7817 "check_pack.c:107: :-1081725400:Bad message type arg"
7819 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7821 * tests/check/pipelines/stress.c: (GST_START_TEST):
7822 Make sure we set the pipeline back to the NULL state before
7823 dropping our final reference.
7825 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7827 * tests/check/elements/tee.c: (GST_START_TEST):
7828 Make the tee stress-test a little less stressful so it doesn't just
7829 time out on slow-machines, and remove a small race when it's starting
7830 up by adding a get_state() call.
7832 2007-07-16 Stefan Kost <ensonic@users.sf.net>
7835 Avoid reading registry twice on startup. Fixes #457322.
7837 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7839 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7840 * pkgconfig/gstreamer-check.pc.in:
7841 Substitute the CFLAGS for libcheck into our .pc file too so that
7842 dependent modules will pick it up properly if libcheck is installed
7843 into some other prefix.
7845 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7848 Revert the pkg-config check for libcheck, since it pulls in the
7849 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
7850 a proper solution, either from the check project, or something else.
7852 2007-07-12 Stefan Kost <ensonic@users.sf.net>
7855 Use pkg-config to locate check.
7857 2007-07-10 Stefan Kost <ensonic@users.sf.net>
7864 Add deprecation guards.
7866 * libs/gst/base/gstcollectpads.h:
7867 Don't document object (this is implicitly private).
7869 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
7871 * gst/gststructure.c: (gst_structure_parse_value):
7872 When deserialising foo=bar without a type cast, check if it's a
7873 boolean before falling back to a string type, otherwise things like
7874 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
7875 because the filtercaps end up having a signed=(string)true field,
7876 which causes problems later when intersection caps.
7878 * tests/check/gst/gststructure.c: (GST_START_TEST):
7879 Add a unit test for this.
7881 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
7883 Reviewed by: Stefan Kost <ensonic@users.sf.net>
7885 * libs/gst/controller/Makefile.am:
7886 * libs/gst/controller/gstcontroller.c:
7887 (gst_controlled_property_add_interpolation_control_source),
7888 (gst_controlled_property_new), (gst_controlled_property_free),
7889 (gst_controller_find_controlled_property),
7890 (gst_controller_new_valist), (gst_controller_new_list),
7891 (gst_controller_new), (gst_controller_remove_properties_valist),
7892 (gst_controller_remove_properties_list),
7893 (gst_controller_remove_properties),
7894 (gst_controller_set_property_disabled),
7895 (gst_controller_set_disabled), (gst_controller_set_control_source),
7896 (gst_controller_get_control_source), (gst_controller_get),
7897 (gst_controller_sync_values), (gst_controller_get_value_array),
7898 (_gst_controller_dispose), (gst_controller_get_type),
7899 (gst_controlled_property_set_interpolation_mode),
7900 (gst_controller_set), (gst_controller_set_from_list),
7901 (gst_controller_unset), (gst_controller_unset_all),
7902 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
7903 * libs/gst/controller/gstcontroller.h:
7904 * libs/gst/controller/gstcontrollerprivate.h:
7905 * libs/gst/controller/gstcontrolsource.c:
7906 (gst_control_source_class_init), (gst_control_source_init),
7907 (gst_control_source_get_value),
7908 (gst_control_source_get_value_array), (gst_control_source_bind):
7909 * libs/gst/controller/gstcontrolsource.h:
7910 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
7911 (gst_object_get_control_source):
7912 * libs/gst/controller/gstinterpolation.c:
7913 (gst_interpolation_control_source_find_control_point_node),
7914 (gst_interpolation_control_source_get_first_value),
7915 (_interpolate_none_get), (interpolate_none_get),
7916 (interpolate_none_get_boolean_value_array),
7917 (interpolate_none_get_enum_value_array),
7918 (interpolate_none_get_string_value_array),
7919 (_interpolate_trigger_get), (interpolate_trigger_get),
7920 (interpolate_trigger_get_boolean_value_array),
7921 (interpolate_trigger_get_enum_value_array),
7922 (interpolate_trigger_get_string_value_array):
7923 * libs/gst/controller/gstinterpolationcontrolsource.c:
7924 (gst_control_point_free), (gst_interpolation_control_source_reset),
7925 (gst_interpolation_control_source_new),
7926 (gst_interpolation_control_source_set_interpolation_mode),
7927 (gst_interpolation_control_source_bind),
7928 (gst_control_point_compare), (gst_control_point_find),
7929 (gst_interpolation_control_source_set_internal),
7930 (gst_interpolation_control_source_set),
7931 (gst_interpolation_control_source_set_from_list),
7932 (gst_interpolation_control_source_unset),
7933 (gst_interpolation_control_source_unset_all),
7934 (gst_interpolation_control_source_get_all),
7935 (gst_interpolation_control_source_get_count),
7936 (gst_interpolation_control_source_init),
7937 (gst_interpolation_control_source_finalize),
7938 (gst_interpolation_control_source_dispose),
7939 (gst_interpolation_control_source_class_init):
7940 * libs/gst/controller/gstinterpolationcontrolsource.h:
7941 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
7942 API: Refactor GstController into the core controller which can take
7943 a GstControlSource for providing actual values for timestamps.
7944 Implement a interpolation control source and use this for backward
7945 compatibility, deprecate a bunch of functions that are now handled
7946 by GstControlSource or GstInterpolationControlSource.
7947 Make it possible to disable the controller completely or only for
7948 specific properties. Fixes #450711.
7949 * docs/libs/gstreamer-libs-docs.sgml:
7950 * docs/libs/gstreamer-libs-sections.txt:
7951 * docs/libs/gstreamer-libs.types:
7952 Add new functions and classes to the docs.
7953 * tests/check/libs/controller.c: (GST_START_TEST),
7954 (gst_controller_suite):
7955 * tests/examples/controller/audio-example.c: (main):
7956 Port unit test and example to the new API and add some new
7959 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
7961 Patch by: Mark Nauwelaerts <manauw at skynet be>
7963 * plugins/elements/gstmultiqueue.c:
7964 (gst_multi_queue_get_internal_links), (apply_buffer),
7965 (single_queue_overrun_cb), (gst_single_queue_new):
7966 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
7967 the pipeline layout can be tracked correctly. Fixes #453732.
7969 2007-07-05 Stefan Kost <ensonic@users.sf.net>
7971 * docs/gst/Makefile.am:
7972 * docs/libs/Makefile.am:
7973 * docs/plugins/Makefile.am:
7974 Simplify --extra-dir as gtkdoc scans recursively.
7976 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
7978 * tools/gst-launch.c: (main):
7979 When we got an error, there is no point in waiting for preroll when
7982 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
7984 * plugins/elements/gsttee.c: (gst_tee_base_init),
7985 (gst_tee_request_new_pad), (gst_tee_release_pad),
7986 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
7987 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
7989 Be a lot smarter when deciding what srcpad to use for proxying
7990 the buffer_alloc. Also handle pad added/removed when doing so.
7992 Keep track of what pads we already pushed on in case we have pads
7993 added/removed while pushing. Fixes #374639
7995 * tests/check/Makefile.am:
7996 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
7998 Added unit test for pad resync.
8000 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
8004 Updated translations.
8006 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
8008 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
8012 Added new Finnish translation.
8014 2007-06-28 Wim Taymans <wim@fluendo.com>
8016 * plugins/elements/gstmultiqueue.c: (apply_buffer),
8017 (single_queue_overrun_cb):
8018 When figuring out when a queue is filled, use our internal time estimate
8019 based on segments, just like check_full does.
8021 2007-06-27 Stefan Kost <ensonic@users.sf.net>
8023 * gst/gstminiobject.c: (gst_mini_object_get_type):
8024 Remove 3 do-nothing methods.
8026 2007-06-27 Wim Taymans <wim@fluendo.com>
8028 Patch by: Tim Angus <tim at ngus dot net>
8030 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
8031 (gst_capsfilter_set_property):
8032 Take a reference instead of a copy when setting "caps".
8033 Fix documentation to clarify this behaviour. Fixes #449414.
8035 2007-06-27 Stefan Kost <ensonic@users.sf.net>
8037 * gst/gstindexfactory.c: (gst_index_factory_get_type):
8038 * gst/gstplugin.c: (gst_plugin_init):
8039 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
8040 * gst/gstquery.c: (gst_query_get_type):
8041 * gst/gstregistry.c: (gst_registry_init):
8042 * gst/gsturi.c: (gst_uri_handler_base_init):
8043 Remove empty instance_init() functions to save relocs and lessen the
8044 noise. Remove some of the function prototypes that are doubled by
8047 2007-06-27 Wim Taymans <wim@fluendo.com>
8049 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
8051 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
8052 Add peer and direction in the XML serialisation of ghostpads.
8055 2007-06-26 Stefan Kost <ensonic@users.sf.net>
8058 Preserve useful information, thanks Tim.
8060 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
8062 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
8063 (gst_single_queue_flush), (apply_segment), (apply_buffer),
8064 (gst_single_queue_push_one), (gst_multi_queue_loop),
8065 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8066 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
8067 (compute_high_id), (gst_single_queue_new):
8068 * plugins/elements/gstmultiqueue.h:
8069 Take the multiqueue lock when updating the fill level so we don't get
8072 After applying a buffer or event on the src pad segment, make sure to
8073 call gst_data_queue_limits_changed() to get the data queue to unblock
8074 and check the filled state again.
8076 Rework the not-linked pad handling so the logic is that not-linked
8077 pads can push as fast as they like, but only so they never get
8078 ahead of any linked pads.
8080 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
8081 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
8082 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
8084 Add a test to check that not-linked pads always stay behind
8089 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
8091 * docs/random/release:
8092 Some updates to the release procedure.
8094 2007-06-26 Stefan Kost <ensonic@users.sf.net>
8096 * gst/gstelementfactory.c: (__gst_element_details_clear):
8097 Microoptimization that saves stunning 80 bytes.
8099 2007-06-25 Stefan Kost <ensonic@users.sf.net>
8101 * docs/plugins/gstreamer-plugins.args:
8102 * docs/plugins/inspect/plugin-coreelements.xml:
8103 * docs/plugins/inspect/plugin-coreindexers.xml:
8104 Update docs with caps info.
8106 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
8109 Updated Italian translation.
8111 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
8115 Update Vietnamese translations.
8117 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
8119 * libs/gst/base/gstbasesink.c:
8120 Remove unused signal enum.
8122 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
8124 * docs/gst/gstreamer-sections.txt:
8126 * gst/gstutils.c: (gst_type_register_static_full):
8127 Beef up and include the docs for gst_type_register_static_full and
8128 gst_element_class_set_details_simple and add the API keyword
8131 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
8133 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
8134 (update_time_level), (gst_single_queue_push_one),
8135 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
8136 (single_queue_overrun_cb), (single_queue_underrun_cb),
8137 (single_queue_check_full):
8138 Fix setting max-* properties after adding queues.
8139 Use IS_FILLED for checking visible items.
8140 Signal overrun if multiple queues overrun.
8141 Add extra debug output.
8142 Patch by: Wim Taymans <wim@fluendo.com>
8144 2007-06-21 Stefan Kost <ensonic@users.sf.net>
8146 * gst/gstelement.c: (gst_element_class_set_details_simple):
8148 * gst/gstutils.c: (gst_type_register_static_full):
8150 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
8151 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
8152 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
8153 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
8154 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
8155 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
8156 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
8157 * plugins/elements/gstidentity.c: (gst_identity_base_init):
8158 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
8159 * plugins/elements/gstqueue.c: (gst_queue_base_init),
8160 (apply_buffer), (gst_queue_chain):
8161 * plugins/elements/gsttee.c: (gst_tee_base_init):
8162 * plugins/elements/gsttypefindelement.c:
8163 (gst_type_find_element_base_init),
8164 (gst_type_find_element_class_init):
8165 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
8166 API: add gst_type_register_static_full
8167 API: add gst_element_class_set_details_simple
8169 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
8171 * docs/pwg/advanced-types.xml:
8172 Fix typo in iana.org URI.
8174 2007-06-19 Andy Wingo <wingo@pobox.com>
8176 * tests/check/pipelines/simple-launch-lines.c
8177 (test_state_change_returns): Enable pull-mode tests now that
8178 basesink has been fixed.
8180 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
8181 Changed from gst_base_sink_is_prerolled, reversing the sense of
8182 the return value. Returns FALSE also if the sink is in pull mode,
8183 in which case it needs no preroll.
8184 (gst_base_sink_query, gst_base_sink_change_state): Update for
8185 needs_preroll change.
8186 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
8187 chaining up, in which we return SUCCESS directly if we activated
8188 in pull mode instead of ASYNC. Involves countering an async_start
8189 message sent before chaining up; not sure if this is correct, in
8190 an ideal world we only send async-start when activating in push
8193 * tests/check/pipelines/simple-launch-lines.c
8194 (test_state_change_returns): New test, partially disabled until
8197 2007-06-19 Wim Taymans <wim@fluendo.com>
8199 * plugins/elements/gstmultiqueue.c: (apply_buffer),
8200 (gst_multi_queue_sink_event):
8203 2007-06-19 Wim Taymans <wim@fluendo.com>
8205 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8206 (gst_bin_change_state_func), (bin_push_state_continue),
8207 (bin_handle_async_start), (bin_handle_async_done),
8208 (gst_bin_handle_message_func):
8209 Move the common code for posting state-change messages into
8211 Broadcast the state signal after we posted the messages.
8212 Mark the bin as busy when it's doing a state-change.
8213 Make sure async-start/done messages don't interfere with the bin's
8214 state when it's busy.
8215 After the state change, let the bin check which elements completed the
8216 state change while it was busy so that it can update its state.
8218 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
8220 * docs/random/release:
8221 Add a note about updating the doap file to the release checklist
8223 2007-06-18 Wim Taymans <wim@fluendo.com>
8225 * plugins/elements/gstmultiqueue.c: (apply_buffer),
8226 (gst_single_queue_push_one), (gst_multi_queue_chain),
8227 (gst_multi_queue_sink_event):
8228 Make sure we don't reference the buffer/event after we have given away
8229 ownership in the queue.
8231 2007-06-18 Wim Taymans <wim@fluendo.com>
8233 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8234 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
8235 Update queue state _after_ adding the item in the queue because else we
8236 could end up being full without the element added yet.
8238 2007-06-18 Wim Taymans <wim@fluendo.com>
8240 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
8241 (gst_bin_remove_func), (gst_bin_get_state_func),
8242 (gst_bin_element_set_state), (gst_bin_continue_func),
8243 (bin_push_state_continue), (bin_handle_async_start),
8244 (bin_handle_async_done), (gst_bin_handle_message_func):
8246 Immediatly commit the toplevel bin state when receiving an async-done
8247 message. This enables us to avoid spawning a thread to commit the state
8248 in some common cases and it also avoids some races.
8249 Avoid spawning a state thread when adding/removing async elements to a
8250 toplevel bin. Instead we immediatly update the bin state.
8251 Get rid of iterating all the children when getting the state in the bin
8252 because it is now always up-to-date.
8253 Fix bug where locked elements would always return _SUCCESS even it they
8254 returned NO_PREROLL before being locked.
8255 Fix the order of the state_change, async-start/done messages that was
8256 sometimes incorrect.
8257 Mark the state_dirty field as deprecated, we don't need it anymore as we
8258 are always up-to-date.
8260 * gst/gstelement.c: (gst_element_get_state_func),
8261 (gst_element_continue_state):
8262 Small debug inprovements.
8263 Return the previous element state return when nothing is pending instead
8264 of blindly returning SUCCESS.
8266 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
8268 Add a whole bunch of new testcases.
8270 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
8274 Update translations.
8276 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
8279 Fix typo in the docs.
8281 2007-06-15 Wim Taymans <wim@fluendo.com>
8283 * docs/libs/gstreamer-libs-sections.txt:
8284 Add docs for new methods.
8286 2007-06-15 Wim Taymans <wim@fluendo.com>
8288 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
8289 (gst_multi_queue_item_new):
8290 Don't use GSlice because we don't depend on >= 2.10 yet.
8292 2007-06-15 Wim Taymans <wim@fluendo.com>
8294 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8295 (update_time_level), (apply_segment), (apply_buffer),
8296 (gst_single_queue_push_one), (gst_multi_queue_item_new),
8297 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
8298 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
8299 (single_queue_underrun_cb), (single_queue_check_full):
8300 Remove debug printf.
8302 2007-06-15 Wim Taymans <wim@fluendo.com>
8304 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
8305 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
8306 (gst_data_queue_set_flushing), (gst_data_queue_push),
8307 (gst_data_queue_pop), (gst_data_queue_drop_head),
8308 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
8309 * libs/gst/base/gstdataqueue.h:
8311 Added methods to get the current levels and to inform the queue that the
8312 'full' limits changed.
8314 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
8315 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
8316 (gst_single_queue_flush), (update_time_level), (apply_segment),
8317 (apply_buffer), (gst_single_queue_push_one),
8318 (gst_multi_queue_item_steal_object),
8319 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
8320 (gst_multi_queue_loop), (gst_multi_queue_chain),
8321 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8322 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
8323 (gst_multi_queue_src_query), (single_queue_overrun_cb),
8324 (single_queue_underrun_cb), (single_queue_check_full),
8325 (gst_single_queue_new):
8326 Keep track of time in the queue by measuring the difference between
8327 running_time on input and output. This gives more accurate results and
8328 can compensate for segments correctly.
8329 Make a queue by default only 5 buffers deep. We will now increase the
8330 buffer size depending on the filledness of the other queues.
8331 Factor out commong flush code.
8332 Make sure we don't add additional refcounts to buffers when we can avoid
8334 Propagate GstFlowReturn differently.
8335 Use GSlice for intermediate GstMultiQueueItems.
8337 Resize queues on over and underruns based on filled level of other
8339 When checking if the queue is filled, prefer to measure in time if we
8340 can and fall back to bytes when no time is known.
8342 * plugins/elements/gstqueue.c:
8345 2007-06-15 Wim Taymans <wim@fluendo.com>
8347 * libs/gst/base/gstbasetransform.c:
8348 (gst_base_transform_sink_event):
8349 Work around the brokenness of the event vmethod in basetransform. Prefer
8350 to return TRUE when the subclass returned FALSE (meaning don't forward
8353 * libs/gst/base/gstbasetransform.h:
8356 2007-06-15 Wim Taymans <wim@fluendo.com>
8358 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
8359 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8360 (gst_base_src_default_query), (gst_base_src_get_range),
8361 (gst_base_src_start):
8362 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
8365 2007-06-15 Stefan Kost <ensonic@users.sf.net>
8367 * docs/pwg/advanced-types.xml:
8368 Added more formats to caps table.
8370 2007-06-15 Stefan Kost <ensonic@users.sf.net>
8372 * tools/gst-launch.c: (main):
8373 Remove crufy code. GOption does not need this workaround.
8375 2007-06-14 Stefan Kost <ensonic@users.sf.net>
8377 * libs/gst/controller/gstcontroller.c:
8378 (gst_controlled_property_set_interpolation_mode):
8379 Fix wrong getter for enums in controller.
8381 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8383 * libs/gst/check/gstcheck.c: (gst_check_init):
8384 Intercept criticals and warnings in the Gst-Phonon log domain, so
8385 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
8388 2007-06-14 Edward Hervey <edward@fluendo.com>
8390 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
8391 Since this file doesn't include "gst.h" it will not go through the
8392 macros that disable GST_LOG if debugging was disabled.
8394 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8396 * libs/gst/check/Makefile.am:
8397 * libs/gst/check/gstcheck.h:
8398 * pkgconfig/gstreamer-check-uninstalled.pc.in:
8399 * pkgconfig/gstreamer-check.pc.in:
8400 Ugly 'fix' for the controller unit test on the p5 bot: in
8401 fail_unless_equals_float() check whether the values are 'almost
8402 equal' by allowing a small absolute error, which should be good
8403 enough for our use cases (normal numbers and values close to 0).
8404 Proper fixage left to floating point arithmetic aficionados.
8406 2007-06-14 Stefan Kost <ensonic@users.sf.net>
8408 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
8409 (gst_base_sink_render_object), (gst_base_sink_get_position):
8410 Add two breaks thats where missing.
8412 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8414 * docs/libs/gstreamer-libs-sections.txt:
8415 * libs/gst/check/gstcheck.h:
8416 API: add fail_unless_equals_float() and assert_equals_float().
8417 Add documentation for some of the macros.
8419 * tests/check/libs/controller.c: (GST_START_TEST):
8420 Use newly-added asserts.
8422 2007-06-14 Stefan Kost <ensonic@users.sf.net>
8424 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
8425 Show the caps change in the log to help spotting the case of not
8426 exactly matching caps.
8428 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8430 * docs/pwg/building-boiler.xml:
8431 Fix typos, spotted by Thijs Vermeir (#447190).
8433 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
8435 * docs/plugins/tmpl/.cvsignore:
8436 Ignore file to keep the buildbots happy
8438 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
8440 * docs/plugins/Makefile.am:
8441 * docs/plugins/gstreamer-plugins-docs.sgml:
8442 * docs/plugins/gstreamer-plugins-sections.txt:
8443 Pull fdsink into the docs too.
8445 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
8447 * libs/gst/controller/gstinterpolation.c:
8448 Actually use the new functions with min/max checks for the trigger and
8449 none interpolation modes for get() and get_value_array() instead of
8452 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
8454 * libs/gst/controller/gstcontroller.c:
8455 (gst_controlled_property_free):
8456 Unset the minimum and maximum GValues when freeing the corresponding
8457 GstControllerProperty struct.
8459 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
8461 * libs/gst/controller/gstcontroller.c:
8462 (gst_controlled_property_new):
8463 * libs/gst/controller/gstcontrollerprivate.h:
8464 * libs/gst/controller/gstinterpolation.c:
8465 (gst_controlled_property_find_control_point_node),
8466 (interpolate_none_get), (interpolate_none_get_enum_value_array),
8467 (interpolate_none_get_string_value_array),
8468 (interpolate_trigger_get),
8469 (interpolate_trigger_get_enum_value_array),
8470 (interpolate_trigger_get_string_value_array):
8471 Protect against values larger or smaller than the minimum or maximum
8472 allowed value for the property when using values that can be compared.
8474 Optimize trigger interpolator a bit by taking the last requested value
8475 into account instead of always looping through the complete list.
8477 Fix coding style a bit, everywhere else we use "return foo" instead
8480 * tests/check/libs/controller.c: (GST_START_TEST),
8481 (gst_controller_suite):
8482 Add unit test for the protection against too large or too small
8485 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
8487 * docs/random/slomo/controller.txt:
8488 Add some thoughts about the future of the controller.
8490 2007-06-08 Wim Taymans <wim@fluendo.com>
8492 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8493 Don't overflow in retimestamping code.
8495 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
8497 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
8498 Use gst_util_guint64_to_gdouble for conversions.
8499 * win32/common/libgstreamer.def:
8500 Add new exported functions.
8502 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
8505 Small docs addition.
8507 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8510 Remove that test line again.
8512 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8515 Test commit mail sending.
8517 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8520 Fix typo and test commit mail sending.
8522 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8524 * tests/examples/controller/audio-example.c:
8525 Improve comment and test commit mail sending.
8527 2007-06-07 Wim Taymans <wim@fluendo.com>
8529 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
8530 (gst_bin_remove_func), (gst_bin_element_set_state),
8531 (bin_handle_async_start), (bin_handle_async_done),
8532 (gst_bin_handle_message_func):
8533 Add helper function to find messages.
8534 Generate the async-done messages together with the state change
8536 Small cleanups in handling toplevel bins.
8538 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8540 * libs/gst/base/gstdataqueue.c:
8541 * libs/gst/base/gstdataqueue.h:
8542 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
8543 (gst_multi_queue_item_new), (gst_multi_queue_chain),
8544 (gst_multi_queue_sink_event):
8545 * tests/check/elements/multiqueue.c: (multiqueue_suite):
8546 Fix multiqueue leaking buffers and events when downstream or the
8547 queue are flushing. Make refcounting assumptions explicit and
8548 document them (shouldn't break existing code that uses it other than
8549 maybe leak miniobjects, but that already happens anyway). Add unit
8550 test for the most common flushing case. Fixes #423700.
8552 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
8554 * libs/gst/controller/gstcontroller.c:
8555 Clarify docs: The get_all, get_value_array(s) functions
8556 don't modify the GObject properties.
8558 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
8560 * libs/gst/controller/gstcontroller.c:
8561 (gst_controlled_property_set_interpolation_mode),
8562 (gst_controlled_property_prepend_default),
8563 (gst_controlled_property_new), (gst_controller_set_unlocked),
8564 (gst_controller_set), (gst_controller_set_from_list),
8565 (gst_controller_unset), (gst_controller_unset_all):
8566 * libs/gst/controller/gstcontrollerprivate.h:
8567 * libs/gst/controller/gstinterpolation.c:
8568 Factor out the 'set' logic into gst_controller_set_unlocked for the
8569 gst_controller_set and gst_controller_set_from_list functions.
8571 To make life of the interpolators easier always add a control point
8572 at timestamp zero with the default value.
8574 In the linear interpolator make things more obvious by better variable
8577 Implement cubic interpolation mode (by using a natural cubic spline)
8578 and map the quadratic interpolation mode to this too (as quadratic
8579 doesn't make much sense, see discussion on the list).
8581 * tests/check/libs/controller.c: (GST_START_TEST),
8582 (gst_controller_suite):
8583 Add unit test for the cubic interpolation mode and check everywhere
8584 if the interpolation mode could be set as expected.
8586 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8588 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
8589 Don't use GLib-2.10 functions, we still depend on
8590 GLib-how-old-is-it-again-2.8.
8592 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8594 * docs/gst/gstreamer-sections.txt:
8598 * gst/gstparamspecs.c: (_gst_param_fraction_init),
8599 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
8600 (_gst_param_fraction_values_cmp),
8601 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
8602 * gst/gstparamspecs.h:
8604 * tests/check/Makefile.am:
8605 * tests/check/gst/.cvsignore:
8606 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
8607 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
8608 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
8609 (GST_START_TEST), (gst_param_spec_suite):
8610 API: add GstParamSpecFraction, so elements can have fraction
8611 properties without lots of painful string parsing (#444648).
8613 2007-06-05 Wim Taymans <wim@fluendo.com>
8615 * gst/gstobject.c: (gst_object_class_init):
8616 Fix signal signature.
8619 Add small clarification in the api docs.
8621 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
8622 States are protected with object lock.
8624 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8627 I should probably be listed as an author by now.
8629 * docs/random/release:
8630 Update the release doc
8632 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
8635 Make docs for gst_value_compare() mention return enums that
8638 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8643 === release 0.10.13 ===
8645 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8648 releasing 0.10.13, "With or without you"
8650 2007-05-25 Wim Taymans <wim@fluendo.com>
8652 * gst/gstbin.c: (bin_handle_async_done):
8653 Make sure that the child bin stops after completing the async state
8654 change so that the parent can continue the state change to PLAYING.
8657 2007-05-25 Wim Taymans <wim@fluendo.com>
8659 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8660 (unref_data), (gst_collect_pads_remove_pad),
8661 (gst_collect_pads_check_pads):
8662 Use additional refcounting to avoid crashes when dynamically adding and
8663 removing pads. Fixes #420206.
8665 2007-05-24 Wim Taymans <wim@fluendo.com>
8667 * tools/gst-launch.c: (event_loop):
8668 When buffering goes from a two digit to a single digit number, make sure
8669 to remove the old second digit by writing a blank over it.
8671 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
8673 * libs/gst/base/gstdataqueue.c:
8674 Eliminate tabs and trailing comma in enum list; fix some typos.
8676 2007-05-24 Wim Taymans <wim@fluendo.com>
8678 * tests/check/gst/gstbin.c: (GST_START_TEST):
8679 Allow refcount of 3 and 4 because some state thread might still be busy
8682 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
8684 * plugins/elements/Makefile.am:
8685 * plugins/elements/gstmultiqueue.h:
8686 * plugins/elements/gstqueue.h:
8687 These are not installed headers, no need for padding.
8689 2007-05-24 Wim Taymans <wim@fluendo.com>
8691 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8692 (gst_bin_continue_func):
8693 Enable latency for next release.
8694 Restore STATE_LOCK around recalc_state that was left out during the
8695 rewrite and could result in racy behaviour when _get_state and
8696 recalc_state are run concurrently. See #440463.
8698 2007-05-23 Wim Taymans <wim@fluendo.com>
8700 * tests/check/gst/gstsystemclock.c: (store_callback),
8702 Improve test_async_order to also work when both timers are already
8703 expired when we get scheduled to check it.
8705 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8707 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
8708 (gst_bin_set_property), (gst_bin_get_property),
8709 (gst_bin_remove_func), (gst_bin_handle_message_func):
8711 'private' is a c++ keyword, let's not use that in header files,
8712 otherwise c++ compilers will throw a tantrum.
8714 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8716 * plugins/elements/gstelements.c:
8717 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
8718 (gst_file_sink_get_current_offset):
8719 * plugins/indexers/gstindexers.c: (plugin_init):
8720 Use #ifdef for HAVE_XYZ for consistency.
8722 * tests/check/Makefile.am:
8723 * tests/check/elements/.cvsignore:
8724 * tests/check/elements/filesink.c: (setup_filesink),
8725 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
8726 Add some unit tests for filesink.
8728 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8730 Patch by: Mark Nauwelaerts <manauw at skynet be>
8732 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8733 (gst_file_sink_query), (gst_file_sink_do_seek),
8734 (gst_file_sink_get_current_offset), (gst_file_sink_render):
8735 * plugins/elements/gstfilesink.h:
8736 Fix position reporting; rename data_written member to current_pos to
8737 reflect its real meaning (fixes #412648).
8739 2007-05-22 Edward Hervey <edward@fluendo.com>
8741 * docs/gst/gstreamer-sections.txt:
8742 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8743 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
8744 (gst_bin_remove_func), (gst_bin_handle_message_func):
8746 Add a property for bins that handle the state change of their childs.
8749 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
8751 * libs/gst/controller/gstinterpolation.c:
8752 Use an array of the correct type when using _get_value_array with
8753 linear interpolation.
8755 2007-05-22 Stefan Kost <ensonic@users.sf.net>
8757 * gst/gstelement.c (gst_element_requires_clock,
8758 gst_element_provides_clock, gst_element_request_pad,
8759 gst_element_class_set_details, gst_element_class_set_details_simple,
8760 gst_element_default_send_event, gst_element_abort_state,
8761 gst_element_continue_state, gst_element_set_state,
8762 gst_element_set_state_func, iterator_activate_fold_with_resync):
8763 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
8764 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
8765 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
8766 gst_pad_get_range, gst_pad_pull_range):
8767 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
8768 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
8769 GstPadActivateModeFunction, GstPadChainFunction,
8770 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
8771 GstPadFixateCapsFunction, GstPadTemplate):
8772 * gst/gstpipeline.c (gst_pipeline_change_state,
8773 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
8774 gst_pipeline_set_clock, gst_pipeline_auto_clock,
8775 gst_pipeline_get_delay):
8776 Whitespace and docs fixes.
8778 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8780 * libs/gst/controller/gstinterpolation.c:
8781 (interpolate_trigger_get_enum_value_array),
8782 (interpolate_trigger_get_string_value_array):
8783 Add support for retrieving value arrays when using the trigger
8786 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8788 * libs/gst/controller/gstcontroller.c:
8789 (gst_controller_get_value_array):
8790 * libs/gst/controller/gstcontroller.h:
8791 Clarify the docs of gst_controller_get_value_array(): The array where
8792 the values should be written to must be allocated as there seems to be
8793 no way to get the size of a random GType. This doesn't change any
8794 behaviour. Also fix some typos all over the place and remove an unused,
8795 commented function that is not necessary as g_object_set() could be
8797 * tests/check/libs/controller.c: (GST_START_TEST),
8798 (gst_controller_suite):
8799 Add unit test for gst_controller_get_value_array().
8801 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
8803 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8805 Disable part of the gst_buffer_try_new_and_alloc test, because
8806 it can happily succeed on 64-bit systems where there's more address
8809 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8811 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8812 Add unit test for the improved caps checking from bug #421543.
8814 2007-05-21 Wim Taymans <wim@fluendo.com>
8816 * docs/design/part-synchronisation.txt:
8819 * gst/gstbin.c: (gst_bin_query):
8820 * plugins/elements/gstqueue.c: (apply_segment):
8826 2007-05-21 Wim Taymans <wim@fluendo.com>
8828 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8829 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
8830 (gst_pad_configure_src):
8831 Added simple version of improved caps checking. It was previously
8832 assumed that a setcaps function would check the validity of the caps but
8833 people prefer us to check caps against the template automatically.
8836 2007-05-21 Wim Taymans <wim@fluendo.com>
8838 * libs/gst/base/gstbasetransform.h:
8839 Fix macro for locking/unlocking the transform lock.
8841 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
8843 * docs/plugins/tmpl/.cvsignore:
8846 2007-05-18 Edward Hervey <edward@fluendo.com>
8848 * plugins/elements/gstqueue.c: (gst_queue_loop):
8849 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
8850 for the subtle art of warning a potentially blocking thread that it
8851 should check the source pad return value, and relay the information
8854 2007-05-18 Edward Hervey <edward@fluendo.com>
8856 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8857 Release the queue lock !
8859 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8861 * docs/libs/gstreamer-libs-sections.txt:
8862 Add the two new controller functions to the appropiate places.
8864 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8866 reviewed by: Stefan Kost <ensonic@users.sf.net>
8868 * libs/gst/controller/gstcontroller.c:
8869 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
8870 (_gst_controller_get_property), (_gst_controller_set_property),
8871 (_gst_controller_init), (_gst_controller_class_init):
8872 * libs/gst/controller/gstcontroller.h:
8873 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
8874 (gst_object_get_control_rate), (gst_object_set_control_rate):
8875 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
8876 Add API that provides sync suggestion timestamps for elements that
8877 call gst_object_sync_values() from which those elements can subdivide
8878 their processing loop to get the best results for the controlled
8879 properties. For now it just suggests last_sync + control_rate as
8880 new timestamp but this will be improved in the future.
8882 While doing that change the control-rate property to a GstClockTime
8883 from guint and change it's meaning from samples to nanoseconds as
8884 the GstController doesn't know anything about sampling rate. Strictly
8885 speaking this breaks ABI but as the control-rate property didn't do
8886 anything in the past and as such couldn't be used this should be no
8889 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8891 reviewed by: Stefan Kost <ensonic@users.sf.net>
8893 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8894 (gst_controller_unset_all):
8895 * libs/gst/controller/gstcontrollerprivate.h:
8896 * libs/gst/controller/gstinterpolation.c:
8897 (gst_controlled_property_find_control_point_node):
8898 Save last synced value from the list to continue searching from there
8899 in future syncs. This speeds everything up a bit.
8901 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8903 reviewed by: Stefan Kost <ensonic@users.sf.net>
8905 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
8906 (gst_control_point_find), (gst_controlled_property_new),
8907 (gst_control_point_free), (gst_controlled_property_free),
8908 (gst_controller_set), (gst_controller_set_from_list),
8909 (gst_controller_unset), (gst_controller_unset_all),
8910 (gst_controller_sync_values):
8911 * libs/gst/controller/gstcontroller.h:
8912 * libs/gst/controller/gstcontrollerprivate.h:
8913 * libs/gst/controller/gstinterpolation.c:
8914 (gst_controlled_property_find_control_point_node),
8915 (interpolate_none_get), (interpolate_trigger_get):
8916 Add a new private GstControlPoint struct which "inherits" from
8917 GstTimedValue to allow different interpolators to store internal
8918 values next to each control point. From the outside everything is
8919 still a GstControlPoint so we don't loose binary compatibility.
8920 Also fixup all the GValue handling to not leak GValues or list nodes.
8921 * tests/check/libs/controller.c: (GST_START_TEST):
8922 Free the list nodes and GValues in the controller_misc test.
8924 2007-05-17 Edward Hervey <edward@fluendo.com>
8929 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
8931 * gst/gstplugin.c: (gst_plugin_load_file):
8932 If we fail to load a plugin because of unresolved symbols or missing
8933 libraries and spew a warning to stderr, we may just as well mention
8934 which plugin it was that failed to load.
8936 2007-05-13 David Schleef <ds@schleef.org>
8938 * docs/Makefile.am: the gtk-doc makefile snippet correctly
8939 handles the case when ENABLE_GTK_DOC is false, and installs
8940 the prebuilt documentation. So gtk-doc subdirs are
8941 unconditionally enabled. Fixes: #349099.
8943 2007-05-13 David Schleef <ds@schleef.org>
8945 * gst/gstutils.h: Reword some documentation.
8947 2007-05-12 David Schleef <ds@schleef.org>
8949 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
8950 do anything with the passed "module" parameter, so remove it.
8951 Allows removal of additional vestigal code.
8953 2007-05-12 David Schleef <ds@schleef.org>
8956 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
8957 Switch to using g_stat() because it's more portable.
8959 2007-05-12 David Schleef <ds@schleef.org>
8962 Add GST_DISABLE_OPTION_PARSING, in order to disable option
8963 parsing for embedded systems.
8964 * gst/gstelementfactory.c:
8965 Allow gst_element_register() to be called with plugin==NULL.
8966 Did nobody notice that static elements were broken?
8968 2007-05-12 Wim Taymans <wim@fluendo.com>
8970 * tools/gst-launch.c: (event_loop):
8971 Give more interesting info when buffering starts and stops.
8972 Fix case where buffering starts but we fail to update the buffering flag
8973 because the target state is not PLAYING.
8975 2007-05-12 Wim Taymans <wim@fluendo.com>
8977 * plugins/elements/gstqueue.c: (gst_queue_init),
8978 (gst_queue_finalize), (update_time_level), (apply_segment),
8979 (apply_buffer), (gst_queue_locked_flush),
8980 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
8981 (gst_queue_handle_sink_event), (gst_queue_chain),
8982 (gst_queue_push_one), (gst_queue_loop):
8983 * plugins/elements/gstqueue.h:
8984 Refactor an cleanup queue a bit.
8985 Do better time level calculations that also work when the srcpad is not
8987 Remove some unneeded debug lines.
8989 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
8990 Added testcase for time level measurement.
8991 Try to make some stuff more racefree.
8993 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
8995 * gst/gsturi.c: (gst_element_make_from_uri):
8996 Don't leak plugin feature.
8998 * tests/check/Makefile.am:
8999 * tests/check/gst/.cvsignore:
9000 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
9001 Add brain-dead unit test.
9003 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
9005 Patch by: Jeroen Wouters <woutersj at gmail com>
9007 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
9008 Treat protocol strings in a case-insensitive way (#437563).
9010 2007-05-11 Michael Smith <msmith@fluendo.com>
9012 * gst/gstplugin.c: (gst_plugin_load_file):
9013 * gst/gstregistry.c: (gst_registry_scan_path_level):
9014 Don't print a g_warning for any failure to load a shared object.
9015 Instead, push this down into gstplugin.c, and warn _only_ if we
9016 failed to open the module (i.e. failure to link).
9017 Avoids warnings on normal, working, non-plugin .so files.
9019 2007-05-11 Stefan Kost <ensonic@users.sf.net>
9021 * gst/gstplugin.c (gst_plugin_load_file):
9022 * gst/gstregistry.c (GST_CAT_DEFAULT,
9023 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
9024 Print a g_warning if there was an error when loading a plugins during
9025 registry scan. The shuld help beginners starting with gst-plugin
9028 2007-05-10 Wim Taymans <wim@fluendo.com>
9030 * plugins/elements/gstqueue.c: (gst_queue_class_init),
9031 (update_time_level), (gst_queue_locked_flush),
9032 (gst_queue_handle_sink_event), (gst_queue_chain),
9033 (gst_queue_push_one), (gst_queue_loop):
9034 * plugins/elements/gstqueue.h:
9035 Be smarter when calculating the current amount of data in the queue by
9036 measuring the difference between start and end timestamps (in running
9037 time) inside the queue. Fixes #432876.
9038 API: GstQueue::pushing to notify elements that we are pushing data again
9039 since the running signal is rather broken for this purpose.
9041 2007-05-10 Stefan Kost <ensonic@users.sf.net>
9043 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
9044 gst_queue_base_init, gst_queue_init):
9047 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
9049 * win32/common/libgstreamer.def:
9050 Add new exported functions.
9051 * win32/vs6/grammar.dsp:
9052 Use grammar pre-generated files.
9054 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
9056 Based on patch by: Peter Kjellerstedt <pkj at axis com>
9059 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
9061 * gst/gstutils.c: (gst_parse_bin_from_description):
9063 Maintain API and ABI when --disable-parse is used. Now that
9064 we have an appropriate error code, we can just return NULL and the
9065 appropriate error when gst_parse_launch() is used despite it having
9066 been disabled (#342564).
9068 * tests/check/Makefile.am:
9069 * tests/check/pipelines/.cvsignore:
9070 * tests/check/pipelines/parse-disabled.c:
9071 Make sure these functions exist and return NULL plus a GError when
9072 --disable-parse is used.
9074 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
9076 * tests/benchmarks/complexity.c: (main):
9077 * tests/benchmarks/mass-elements.c: (main):
9078 Set a good example and don't leak messages.
9080 2007-05-06 Stefan Kost <ensonic@users.sf.net>
9082 * docs/gst/Makefile.am:
9083 * docs/libs/Makefile.am:
9084 Correct fixxrefs options.
9086 * docs/plugins/Makefile.am:
9087 * docs/plugins/gstreamer-plugins-docs.sgml:
9088 * docs/plugins/gstreamer-plugins-sections.txt:
9089 * plugins/elements/Makefile.am:
9090 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
9091 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
9092 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
9093 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
9094 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
9095 _GstCapsFilterClass, trans_class):
9096 * plugins/elements/gstelements.c (name, rank, type, _elements):
9097 * plugins/elements/gstidentity.c
9098 (gst_identity_check_imperfect_timestamp,
9099 gst_identity_check_imperfect_offset):
9100 Document capsfilter and add doc-blurb to identity.
9102 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
9104 * libs/gst/controller/gstcontroller.c:
9105 (gst_controlled_property_set_interpolation_mode):
9106 * libs/gst/controller/gstinterpolation.c:
9107 Don't crash if someone tries to set an interpolation mode that
9108 is invalid or that isn't supported yet. Fixes #422295.
9110 * tests/check/libs/controller.c: (GST_START_TEST),
9111 (gst_controller_suite):
9112 Add a test case for the above.
9114 2007-05-03 Edward Hervey <edward@fluendo.com>
9116 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9117 Properly set the last_stop position on GstSegment. This will only happen
9118 if there is a buffer to push out.
9120 2007-05-03 Wim Taymans <wim@fluendo.com>
9122 * libs/gst/base/gstbasetransform.c:
9123 (gst_base_transform_buffer_alloc):
9124 always_in_place does not mean that the sink and source caps are the
9125 same! Make sure we don't blindly proxy the buffer_alloc in this case.
9127 2007-05-03 Wim Taymans <wim@fluendo.com>
9129 * docs/libs/gstreamer-libs-sections.txt:
9130 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
9131 (gst_base_src_default_query), (gst_base_src_get_range):
9132 * libs/gst/base/gstbasesrc.h:
9133 API: gst_base_src_query_latency(). Added method so that subclasses can
9134 easily get the latency values of the base source class.
9136 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
9138 * tools/gst-inspect.c (print_implementation_info):
9141 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
9143 * tools/Makefile.am:
9144 * tools/gst-launch.1.in:
9145 Don't create a customised man page based on the host architecture,
9146 describe the default registry path generically. That way the man
9147 page is the same for all architectures and packagers have one
9148 multilib issue less to deal with. Fixes #434926.
9150 2007-05-02 Wim Taymans <wim@fluendo.com>
9153 Fix documentation as spotted by rg on IRC.
9155 2007-04-29 Stefan Kost <ensonic@users.sf.net>
9158 Improve docs for gst_element_{link,unlink}.
9160 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
9162 * docs/design/part-events.txt:
9163 * docs/design/part-overview.txt:
9167 * libs/gst/base/gstbasesink.c:
9168 Typo fixes; minor docs addition.
9170 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
9172 * docs/gst/gstreamer-sections.txt:
9173 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
9174 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
9176 API: Add gst_uri_protocol_is_supported(), which checks if a sink
9177 or src that supports a given URI protocol exists.
9179 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
9181 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9182 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9183 Set the location to NULL if "file://" is set as URI. Otherwise
9184 some random previous URI would still be set if "file://" is
9185 set on an already used filesink/filesrc.
9187 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
9189 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9190 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9191 Special case the "file://" URI as as this is used by some
9192 applications to test with gst_element_make_from_uri if there's
9193 an element that supports the URI protocol.
9194 Also move the g_path_is_absolute() check for the location part
9195 of the URI to also check this for "file://localhost/bla" URIs.
9197 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
9199 * docs/gst/gstreamer-sections.txt:
9200 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
9202 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
9204 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
9206 2007-04-26 Stefan Kost <ensonic@users.sf.net>
9208 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9209 (gst_registry_binary_load_pad_template),
9210 (gst_registry_binary_load_plugin),
9211 (gst_registry_binary_read_cache):
9212 * gst/gstregistrybinary.h:
9213 Implement no-mmap alternative for registry reading. Do code cleanups.
9214 Add more comments about avoiding strdups for all text data. Comments
9217 2007-04-25 Stefan Kost <ensonic@users.sf.net>
9219 * gst/gstregistrybinary.h (GstBinaryPluginElement,
9220 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
9221 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
9222 Comment structs and reformat to fix the build (that stuff should go
9223 into a priv. header).
9225 2007-04-25 Stefan Kost <ensonic@users.sf.net>
9227 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
9228 (gst_registry_binary_load_feature):
9229 * gst/gstregistrybinary.h:
9230 Refactor so that we can implement multiple features. Add support for
9231 TypeFindFactory features.
9233 2007-04-24 Stefan Kost <ensonic@users.sf.net>
9235 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
9238 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
9240 2007-04-23 Stefan Kost <ensonic@users.sf.net>
9242 * gst/gstbin.c: (gst_bin_element_set_state),
9243 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
9244 (bin_handle_async_done), (gst_bin_handle_message_func):
9245 Fix build with --gst-disable-gst-debug
9247 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
9249 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
9250 Make sure streaming has finished before calling the ::stop() vfunc,
9251 since that vfunc might clear state which is being used in the
9252 streaming thread. This fixes a race that caused crashes in
9253 audioresample when shutting down a pipeline (#420106).
9255 2007-04-20 Stefan Kost <ensonic@users.sf.net>
9257 * docs/gst/gstreamer-sections.txt:
9258 That was one byte missing.
9260 2007-04-20 Stefan Kost <ensonic@users.sf.net>
9263 * docs/gst/gstreamer-sections.txt:
9265 * gst/gstconfig.h.in:
9266 * gst/gstobject.c: (gst_object_class_init),
9267 (gst_signal_object_class_init):
9269 2nd attempt to have a xml-less build as a joined effort of #413123
9272 2007-04-20 Stefan Kost <ensonic@users.sf.net>
9274 * docs/design/draft-tagreading.txt:
9275 Added open issues/thoughts to draft.
9277 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9279 * gst/parse/grammar.tab.pre.c:
9280 * gst/parse/grammar.tab.pre.h:
9281 * gst/parse/lex._gst_parse_yy.pre.c:
9282 Update the prebuild parser sources.
9284 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9286 * gst/parse/Makefile.am:
9287 And now fix the building of the flex sources. Now everything should
9290 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9292 * gst/parse/Makefile.am:
9293 Now hopefully fix the build failures by setting proper rule
9294 dependencies and moving instead of copying.
9296 2007-04-19 Stefan Kost <ensonic@users.sf.net>
9298 * tests/benchmarks/complexity.gnuplot:
9299 * tests/benchmarks/complexity.scm:
9300 * tests/benchmarks/mass-elements.gnuplot:
9301 * tests/benchmarks/mass-elements.scm:
9302 Total licensification.
9304 2007-04-19 Stefan Kost <ensonic@users.sf.net>
9306 * gst/parse/Makefile.am:
9307 Fix the build by correcting the rule that gave wrong files to flex.
9309 2007-04-19 Stefan Kost <ensonic@users.sf.net>
9311 * tests/benchmarks/complexity.c:
9312 * tests/benchmarks/mass-elements.c:
9313 Change licence to LGPL as granted by Benjamin and Andy.
9315 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9317 * gst/parse/Makefile.am:
9318 Add correct grammar.tab.h dependency if compiling without new enough
9319 flex. Fixes #431150.
9321 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
9323 * gst/parse/Makefile.am:
9324 Fix typo and use outdated sources if the flex/bison sources are newer
9325 than the pregenerated ones but flex is too old. Print a warning in
9326 that case. This should fix the build on the build bot.
9328 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
9330 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
9331 * gst/parse/Makefile.am:
9332 * gst/parse/grammar.y:
9333 * gst/parse/parse.l:
9334 Make the parser reentrant and recursively callable. This requires flex
9335 >= 2.5.31, for older versions pregenerated sources are used as we
9336 can't bump the build dependency. Finally fixes #349180.
9338 * gst/gstparse.c: (gst_parse_launch):
9339 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
9342 * docs/gst/Makefile.am:
9343 * docs/gst/Makefile.am:
9344 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
9345 (__gst_parse_strfree), (__gst_parse_link_new),
9346 (__gst_parse_link_free), (__gst_parse_chain_new),
9347 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
9348 (gst_parse_element_set), (gst_parse_free_link),
9349 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
9350 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
9351 (_gst_parse_launch):
9352 * gst/parse/grammar.tab.pre.h:
9353 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
9354 (yy_get_previous_state), (yy_try_NUL_trans), (input),
9355 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
9356 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
9357 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
9358 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
9359 (_gst_parse_yypop_buffer_state),
9360 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
9361 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
9362 (yy_fatal_error), (_gst_parse_yyget_extra),
9363 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
9364 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
9365 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
9366 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
9367 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
9368 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
9369 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
9370 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
9371 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
9372 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
9373 (_gst_parse_yyfree):
9374 If the installed flex version is too old use pre-generated parser
9375 sources. These pre-generated parser sources are always updated when
9376 the actual flex/bison sources change but require everybody who wants
9377 to change something in the parser to have flex >= 2.5.31 installed.
9379 2007-04-18 Stefan Kost <ensonic@users.sf.net>
9381 * common/m4/gst-gettext.m4:
9382 * gst/gst-i18n-lib.h:
9383 Make --disable-nls to work
9385 2007-04-17 Wim Taymans <wim@fluendo.com>
9387 * gst/gstconfig.h.in:
9388 Revert previous change that broke the build.
9390 2007-04-17 Stefan Kost <ensonic@users.sf.net>
9394 * gst/gstconfig.h.in:
9395 Drop libxml2 dependency when building with
9396 --enable-binary-registry --disable-loadsave
9398 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
9400 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9401 (gst_registry_binary_read_cache):
9402 * gst/gstregistrybinary.h:
9403 Remove unnecessary <sys/mman.h> include which broke the win32 build
9404 with MingW; move includes from header file to .c file, even if the
9405 header file isn't installed; use g_strerror() where UTF-8 strings
9406 are expected, such as in GST_DEBUG messages.
9408 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9410 * docs/libs/gstreamer-libs-sections.txt:
9411 Remove bogus addition for API I didn't end up keeping.
9413 * libs/gst/base/gstbasesrc.h:
9414 Mention Since: 0.10.13 in the documentation.
9416 Add the API keyword to the previous ChangeLog entry.
9418 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9420 * docs/libs/gstreamer-libs-sections.txt:
9421 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9422 (gst_base_src_default_prepare_seek_segment),
9423 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
9424 * libs/gst/base/gstbasesrc.h:
9425 Allow basesrc derived classes to execute seeks in other formats
9426 by providing a prepare_seek_segment vmethod. Sub-classes can choose
9427 to prepare the GstSegment in any format that their perform_seek method
9428 will be able to understand. The default implementation provides the
9429 old behaviour of attempting to convert the seek offsets to the
9430 configured native format.
9432 API: basesrc::prepare_seek_segment vmethod.
9434 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9436 * gst/gstelement.c: (gst_element_get_state_func):
9437 Don't output the same debug statement twice.
9439 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
9440 (gst_adapter_peek), (gst_adapter_take_buffer):
9441 Optimise the case where we have buffers at the head of the queue that
9442 can be joined quickly (because they're contiguous sub-buffers) by
9443 merging them together rather than copying data out into new memory.
9445 * gst/parse/grammar.y:
9446 * tests/check/pipelines/parse-launch.c:
9447 Fix a leak in an error path for parse_launch, and add a check
9448 for it to the testsuite.
9450 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9452 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9453 Don't deadlock when releasing a pad - gst_pad_set_active may try
9454 and take the multiqueue lock too.
9456 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
9458 * gst/gsterror.c: (_gst_core_errors_init):
9460 API: add GST_CORE_ERROR_DISABLED (#392804).
9462 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
9464 * docs/faq/gst-uninstalled:
9465 don't get empty paths on the PATH variables
9466 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
9467 Don't format for the uncommon terminal width of 84 characters.
9469 2007-04-06 Wim Taymans <wim@fluendo.com>
9471 * gst/gstpipeline.c: (reset_stream_time),
9472 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
9473 Only try to select a different pipeline clock when we went back to
9474 PAUSED and not when we merely got flushed.
9476 2007-04-05 Michael Smith <msmith@fluendo.com>
9478 * tools/gst-launch.1.in:
9479 fractions are better supported in gstreamer than ractions, so
9480 suggest using those.
9482 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
9484 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
9488 Added Danish translation.
9490 2007-04-05 Wim Taymans <wim@fluendo.com>
9492 * libs/gst/base/gstbasesink.c:
9493 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
9494 Fix leak caused when refusing newsegment after EOS.
9496 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9497 (gst_fake_sink_init), (gst_fake_sink_set_property),
9498 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
9499 (gst_fake_sink_render), (gst_fake_sink_change_state):
9500 * plugins/elements/gstfakesink.h:
9501 Add num-buffers property to make the element generate EOS after a
9502 configurable amount of buffers.
9503 API: fakesink::num-buffers property.
9505 * tests/check/elements/fakesink.c: (GST_START_TEST),
9507 Fix GstBus leak in test.
9508 Test for fakesink num-buffers.
9510 2007-04-05 Wim Taymans <wim@fluendo.com>
9512 * libs/gst/base/gstbasesink.c:
9513 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
9514 (gst_base_sink_change_state):
9515 Don't accept anything after an EOS, return UNEXPECTED instead.
9517 * tests/check/elements/fakesink.c: (GST_START_TEST),
9519 Unit test for new EOS behaviour.
9521 2007-04-05 Wim Taymans <wim@fluendo.com>
9523 * gst/gstelement.c: (gst_element_get_request_pad):
9524 Make padtemplates also work when they don't contain %s or %d.
9526 2007-04-05 Wim Taymans <wim@fluendo.com>
9528 * docs/gst/gstreamer-sections.txt:
9529 * gst/gstclock.c: (gst_clock_adjust_unlocked),
9530 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
9532 Improve _adjust_unlocked() so that it overflows less.
9533 Add gst_clock_unadjust_unlocked to convert from external time to
9534 internal time based on calibration.
9535 Add some more debug.
9536 API: GstClock::gst_clock_unadjust_unlocked()
9538 2007-04-03 Wim Taymans <wim@fluendo.com>
9540 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9542 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9543 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
9544 when releasing sink pad. Fixes #425400.
9546 2007-04-02 Stefan Kost <ensonic@users.sf.net>
9548 * docs/random/ensonic/dynlink.txt:
9549 More work on proposal for new core api.
9551 * docs/libs/gstreamer-libs-sections.txt:
9552 * libs/gst/base/gstbasetransform.h:
9553 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
9555 * libs/gst/controller/gstcontroller.c:
9556 (on_object_controlled_property_changed),
9557 (gst_controller_sync_values),
9558 (gst_controller_set_interpolation_mode):
9559 * libs/gst/controller/gstcontroller.h:
9560 Less verbose logging add docs for unimplemented parts and correctly
9561 return when using unavailable parts.
9563 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
9565 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
9566 Move all the debug to the CLOCK category, and associate it with
9569 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
9571 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
9572 Make take_buffer a bit quicker by removing redundant checks
9573 caused by calling gst_adapter_take.
9575 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
9577 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
9580 * tests/check/Makefile.am:
9581 * tests/check/elements/.cvsignore:
9582 * tests/check/elements/multiqueue.c: (setup_multiqueue),
9583 (GST_START_TEST), (multiqueue_suite):
9584 Add some dead simple unit tests for the 'multiqueue' element
9585 (some bits don't work yet and are disabled for now).
9587 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
9589 * gst/gstelement.c: (gst_element_get_request_pad),
9590 (gst_element_class_get_request_pad_template):
9591 Make gst_element_get_request_pad() create request pads only for
9592 request pad templates and not for, say, sometimes pad templates.
9594 2007-03-28 Stefan Kost <ensonic@users.sf.net>
9596 * docs/design/draft-klass.txt:
9597 Add example that needs more thinking.
9599 * docs/design/draft-missing-plugins.txt:
9600 More thoughts about wrapper plugins.
9602 * docs/random/ensonic/embedded.txt:
9603 * docs/random/ensonic/profiling.txt:
9606 2007-03-25 Wim Taymans <wim@fluendo.com>
9608 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
9609 (gst_base_src_loop):
9610 Only push the segment events in the PLAYING state for live sources.
9612 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
9614 * gst/gstpipeline.c: (gst_pipeline_change_state):
9615 Modify the clock distribution path in PAUSED->PLAYING so that we
9616 never attempt to choose a new clock unless we're actually leaving
9617 the PAUSED state for the first time. This prevents choosing a
9618 different clock when the state_change gets called for a 2nd time due
9619 to some element doing an async state change.
9621 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
9623 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
9624 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
9625 (gst_pad_chain_unchecked), (gst_pad_push):
9626 Revert last commit. This needs some more thoughts.
9628 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
9630 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
9631 (gst_pad_chain_unchecked), (gst_pad_push):
9632 Check in set_caps if the caps are compatible with the pad and remove
9633 two functions that are redundant now. Fixes #421543.
9635 2007-03-22 Wim Taymans <wim@fluendo.com>
9637 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9638 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
9639 Unref some more to make valgrind happy.
9641 2007-03-22 Wim Taymans <wim@fluendo.com>
9643 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
9644 (gst_system_clock_id_wait_jitter),
9645 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9646 Fix anoying regression that survived a few releases. When adding an
9647 async entry while blocking on a sync entry, the sync entry will unblock
9648 but still be busy, so it should continue to wait instead of returning
9650 Add some comments here and there.
9652 * tests/check/gst/gstsystemclock.c: (mixed_thread),
9653 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
9654 Add testcase for this.
9656 2007-03-22 Wim Taymans <wim@fluendo.com>
9658 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9659 Handle errors from the clock sync better, only UNSCHEDULED indicates a
9660 WRONG_STATE and can silently pause the task. All other cases should
9663 2007-03-22 Wim Taymans <wim@fluendo.com>
9665 Patch by: Ville Syrjala <syrjala at sci dot fi>
9667 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
9668 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
9671 2007-03-21 Michael Smith <msmith@fluendo.com>
9673 * docs/pwg/advanced-types.xml:
9674 Fix some errors in the typefinding docs pointed out on irc.
9676 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
9678 * libs/gst/base/gstbasesrc.c:
9679 Clarify FIXME comment in the face of having added unlock_stop()
9681 2007-03-21 Wim Taymans <wim@fluendo.com>
9683 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
9684 Prepare for release where we warn against possible app breakage in the
9685 case of live pipelines along with an env var to enable/disable live
9686 preroll mode (GST_COMPAT=[no-]live-preroll).
9688 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9690 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
9691 So we should use correct constants for checking for None offset.
9693 2007-03-20 Wim Taymans <wim@fluendo.com>
9695 * docs/design/part-block.txt:
9696 Mention the fact that the newly switched element should be set to at
9699 2007-03-20 Wim Taymans <wim@fluendo.com>
9702 Fix compilation with registry disabled as spotted by Saur.
9704 2007-03-20 Wim Taymans <wim@fluendo.com>
9706 Patch by: Olivier Crete <tester at tester dot ca>
9708 * gst/gstelement.c: (gst_element_sync_state_with_parent):
9709 Look at the pending state too when syncing the element state to the
9710 parent. Fixes #420133.
9712 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
9714 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9715 (gst_base_sink_change_state):
9716 * libs/gst/base/gstbasesink.h:
9717 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9718 (gst_base_src_default_event), (gst_base_src_unlock_stop),
9719 (gst_base_src_deactivate):
9720 * libs/gst/base/gstbasesrc.h:
9721 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
9722 for sub-classes to correctly clear any state they set trying to
9723 unlock, such as clearing out unlock commands from a command fd.
9724 API: basesrc::unlock_stop
9725 API: basesink::unlock_stop
9727 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
9728 (gst_fd_sink_render), (gst_fd_sink_unlock),
9729 (gst_fd_sink_unlock_stop):
9730 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
9731 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
9732 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
9734 Implement unlock_stop in fdsrc and fdsink.
9735 Implement seeking in fdsrc when a seekable fd is passed, as in
9736 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
9738 2007-03-19 Wim Taymans <wim@fluendo.com>
9740 Patch by: Evan Nemerson <evan at coeus dash group dot com>
9742 * gst/gstelement.c: (gst_element_class_init):
9743 Fix pad-added and pad-removed signal signatures so that the pad type is
9744 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
9746 2007-03-19 Wim Taymans <wim@fluendo.com>
9748 * docs/gst/gstreamer-sections.txt:
9749 Add new element field and method.
9751 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9752 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
9753 (gst_bin_recalc_state), (gst_bin_get_state_func),
9754 (gst_bin_element_set_state), (gst_bin_change_state_func),
9755 (gst_bin_continue_func), (bin_bus_handler),
9756 (bin_push_state_continue), (bin_handle_async_start),
9757 (bin_handle_async_done), (gst_bin_handle_message_func):
9758 Make async state changes a bit smarter by using new ASYNC_START and
9759 ASYNC_DONE messages. This reduces the number of times we run the state
9760 recalculation thread.
9761 Don't change state of element with a pending ASYNC_START message.
9762 Deprecate STATE_DIRTY messages.
9764 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
9765 (gst_element_get_state_func), (gst_element_continue_state),
9766 (gst_element_lost_state), (gst_element_set_state_func),
9767 (gst_element_change_state):
9769 Keep the state that was last set by the app in a new element field.
9770 Don't allow state changes when handling an element event.
9771 Post ASYNC_START and ASYNC_DONE messages.
9772 Change lost_state so that we go to PAUSED and wait for the parent to set
9773 us to PLAYING again (so latency calculation can be performed)
9774 Export gst_element_change_state() method so that subclasses can use it.
9775 API: gst_element_change_state()
9776 API: GST_STATE_TARGET
9778 * gst/gstpipeline.c: (gst_pipeline_class_init),
9779 (reset_stream_time), (gst_pipeline_change_state),
9780 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
9781 Using the new ASYNC_START message we can reset the base_time when
9782 needed. This can then be used to implement base_time redistribution in
9783 flushing seeks so that we can remove the explicit seek handling.
9784 Perform latency query and configuration when going to PLAYING.
9786 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9787 (gst_base_sink_query), (gst_base_sink_change_state):
9788 Post new ASYNC_START/ASYNC_DONE messages.
9790 * tests/check/generic/sinks.c: (GST_START_TEST):
9791 Fix test because the bin will not set the async element to PLAYING right
9794 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
9795 Make the message check a little stronger.
9796 Handle ASYNC messages.
9798 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
9799 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
9800 Expect ASYNC_DONE messages.
9802 2007-03-19 Wim Taymans <wim@fluendo.com>
9804 * docs/gst/gstreamer-sections.txt:
9805 * gst/gstmessage.c: (gst_message_new_async_start),
9806 (gst_message_new_async_done), (gst_message_parse_info),
9807 (gst_message_parse_async_start):
9809 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
9812 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
9814 * tools/gst-inspect.c:
9815 (print_plugin_automatic_install_info_codecs):
9816 Now that we don't check for the 'Codec' keyword any longer in the
9817 klass, we shouldn't spew a warning if the klass isn't a decoder or
9818 encoder (since it might be a Source/Network, for example).
9820 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
9822 * tools/gst-inspect.c:
9823 (print_plugin_automatic_install_info_codecs):
9824 Don't require decoder/demuxer/depayloader elements or
9825 encoder/muxer/paylader elements to have 'Codec' as part of their
9826 factory class string when introspecting a plugin's capabilities.
9827 draft-klass.txt mentions that it might be removed in future, and
9828 flump3dec doesn't have it as part of its class string, so chances
9829 are others might also not have it.
9831 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
9853 Update translations from translation project
9855 2007-03-14 Stefan Kost <ensonic@users.sf.net>
9857 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
9858 (gst_child_proxy_set_property):
9859 Invert precondition check to be alike the ones in the mimiced gobject
9862 2007-03-13 Stefan Kost <ensonic@users.sf.net>
9864 * docs/design/draft-tagreading.txt:
9865 * docs/random/ensonic/audiobaseclasses.txt:
9866 Do some Architect work.
9868 * gst/gstobject.c: (gst_object_set_name):
9872 Add docs that point from gst_pad_get_range to gst_pad_pull_range
9874 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
9876 * gst/gstsystemclock.c: (gst_system_clock_init),
9877 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
9878 Defer starting the async system clock thread until the first async
9879 wait is scheduled. Fixes #414986.
9881 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
9883 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
9884 (gst_single_queue_free):
9885 Fix small leak (free GstSingleQueue structure too, not only contents).
9887 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
9889 * gst/gstbin.c:(gst_bin_add):
9890 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
9891 * win32/common/libgstbase.def:
9892 * win32/common/libgstreamer.def:
9893 Add new exported functions.
9895 2007-03-09 Wim Taymans <wim@fluendo.com>
9897 * docs/plugins/gstreamer-plugins-sections.txt:
9900 2007-03-09 Wim Taymans <wim@fluendo.com>
9902 * docs/gst/gstreamer-sections.txt:
9903 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
9905 Add metadata copy functions. Fixes #393099.
9906 API: gst_buffer_copy_metadata()
9908 * gst/gstutils.c: (gst_buffer_stamp):
9909 * libs/gst/base/gstbasetransform.c:
9910 (gst_base_transform_prepare_output_buffer):
9911 Use new metadata copy functions.
9913 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
9915 * plugins/elements/gstidentity.c: (gst_identity_class_init),
9916 (gst_identity_init), (gst_identity_check_perfect),
9917 (gst_identity_check_imperfect_timestamp),
9918 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
9919 (gst_identity_set_property), (gst_identity_get_property):
9920 * plugins/elements/gstidentity.h:
9921 Separate out check-imperfect-timestamp and check-imperfect-offset.
9922 Put back check-perfect as it was to keep compatibility.
9924 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
9926 * gst/gstelement.c: (gst_element_dispose):
9927 There's no need to warn if VOID_PENDING is not NONE here, as
9928 long as the state is NULL it's ok, and that's checked immediately
9931 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9933 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9934 Fix check for perfect stream to ignore buffers with -1
9935 offsets/offset ends when checking data contiguity.
9937 2007-03-08 Wim Taymans <wim@fluendo.com>
9939 * tools/gst-launch.c: (event_loop):
9940 Print INFO messages.
9942 2007-03-08 Wim Taymans <wim@fluendo.com>
9944 * libs/gst/base/gstbasetransform.c:
9945 (gst_base_transform_sink_eventfunc),
9946 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9947 (gst_base_transform_activate):
9948 * libs/gst/base/gstbasetransform.h:
9949 Add support for dropping buffers with custom GstFlowReturn.
9950 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
9951 buffers or dropped buffers.
9953 * docs/libs/gstreamer-libs-sections.txt:
9954 docs for new custom return code.
9956 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9957 Use drop support in base class to implement drop-probability.
9959 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
9961 * gst/gst.c: (load_plugin_func):
9962 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
9963 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
9964 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
9965 Remove newlines at end of debug log strings.
9967 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9969 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9970 Only post bus message at max, once per buffer received.
9972 2007-03-07 Wim Taymans <wim@fluendo.com>
9974 * docs/design/Makefile.am:
9975 * docs/design/part-synchronisation.txt:
9976 Add doc about synchronisation
9978 * docs/design/draft-latency.txt:
9979 * docs/design/part-TODO.txt:
9980 * docs/design/part-clocks.txt:
9981 * docs/design/part-events.txt:
9982 * docs/design/part-gstbus.txt:
9983 * docs/design/part-gstpipeline.txt:
9984 * docs/design/part-live-source.txt:
9985 * docs/design/part-messages.txt:
9986 * docs/design/part-overview.txt:
9987 * docs/design/part-streams.txt:
9988 * docs/design/part-trickmodes.txt:
9989 Documentation updates.
9991 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9994 Update the doap file.
9996 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9998 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9999 Rename non-perfect to imperfect for Mike and for the sanctity of the
10001 Also make sure bus message gets emitted for data-incontiguities.
10003 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10005 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
10006 (gst_identity_start):
10007 * plugins/elements/gstidentity.h:
10008 Emit bus message if check-perfect is true and we encounter a
10009 non-perfect stream between 2 consecutive buffers.
10012 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
10017 === release 0.10.12 ===
10019 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
10022 releasing 0.10.12, "Inevitable Demise"
10024 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
10027 Version 0.10.11.2 (0.10.12 pre-release)
10028 Bump libtool versioning.
10030 2007-03-01 Stefan Kost <ensonic@users.sf.net>
10032 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10033 Log flow-names and not numbers.
10035 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
10038 Convert to new AG_GST style.
10040 2007-02-28 Wim Taymans <wim@fluendo.com>
10042 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
10043 Don't unref query twice.
10045 2007-02-28 Wim Taymans <wim@fluendo.com>
10047 * gst/gstvalue.c: (gst_value_transform_object_string),
10048 (_gst_value_initialize):
10049 Implement GstObject -> string transform so we print object names
10050 when serializing GValues containing GstObjects.
10052 2007-02-28 Wim Taymans <wim@fluendo.com>
10054 * docs/gst/gstreamer-sections.txt:
10055 Add new stuff to docs.
10057 2007-02-28 Wim Taymans <wim@fluendo.com>
10059 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
10060 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
10061 (gst_base_sink_change_state):
10062 Improve latency query code.
10063 Don't leak latency events.
10065 * tests/check/gst/gstbin.c: (GST_START_TEST):
10068 2007-02-28 Wim Taymans <wim@fluendo.com>
10070 * gst/gstelement.c: (gst_element_message_full),
10071 (gst_element_get_state_func):
10072 * gst/gstelement.h:
10073 Improve docs a little. Added Since: for new macro.
10075 * gst/gstobject.c: (gst_object_sink):
10076 * gst/gstpipeline.c: (gst_pipeline_change_state),
10077 (gst_pipeline_set_new_stream_time):
10078 * gst/gstpipeline.h:
10079 Improve debugging and docs.
10081 * gst/gstutils.c: (gst_element_state_change_return_get_name):
10084 2007-02-28 Wim Taymans <wim@fluendo.com>
10086 * gst/gstelement.c: (gst_element_message_full),
10087 (gst_element_set_locked_state), (gst_element_get_state_func),
10088 (gst_element_change_state):
10089 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
10090 Documentation updates.
10091 Small code cleanups.
10093 * gst/gstmessage.c: (gst_message_new_info),
10094 (gst_message_parse_info):
10095 * gst/gstmessage.h:
10096 API: gst_message_new_info()
10097 API: gst_message_parse_info()
10098 Add INFO message create and parse code.
10100 2007-02-28 Wim Taymans <wim@fluendo.com>
10102 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
10103 (bin_query_latency_done):
10104 Also report the live parameter of a latency query.
10106 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
10108 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
10109 Copy the current generic/states example from -base and adapt so
10110 we can use the exact same code everywhere.
10111 Check a STATES_IGNORE_ELEMENTS env var which can be used
10112 to ignore certain element factories for this test, which is
10113 what is being done in -base
10114 * tests/check/Makefile.am:
10115 Mention this environment variable.
10117 2007-02-27 Wim Taymans <wim@fluendo.com>
10119 * docs/gst/gstreamer-sections.txt:
10120 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
10121 (gst_bus_timed_pop), (gst_bus_pop):
10123 API: gst_bus_timed_pop()
10124 Implement gst_bus_timed_pop() to do a blocking timed wait for a
10125 message to arrive on the bus.
10127 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
10129 Two unit tests for new _timed_pop() function.
10131 2007-02-23 Wim Taymans <wim@fluendo.com>
10133 * gst/gstpipeline.c: (gst_pipeline_change_state),
10134 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
10135 Don't ref a NULL clock in _provide_clock_func().
10136 Don't allow an INVALID delay.
10137 Don't try to calculate base_time with an invalid start_time.
10138 Also distribute and notify a NULL clock when it was selected.
10140 * tools/gst-launch.c: (event_loop):
10141 Don't crash when a NULL clock was selected in the pipeline.
10143 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
10145 * docs/design/Makefile.am:
10146 * docs/design/draft-missing-plugins.txt:
10147 * docs/random/draft-missing-plugins.txt:
10148 Some small updates: update plugin system identifier prefix
10149 ('gstreamer.net' to 'gstreamer'), mention our new install
10150 API in libgstbaseutils rather than libgimme-codec, add
10151 reference to the online docs.
10153 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
10155 * win32/common/config.h:
10156 Pretty sure Bill never made a powerpc version. Powerpc hackers,
10157 use moap cl ci to only check in what is mentioned in the ChangeLog.
10159 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
10161 * docs/gst/gstreamer-sections.txt:
10162 * gst/gstelement.h:
10163 Fix up documentation to link to the correct GstGError section.
10164 Add GST_ELEMENT_INFO macro since someone else added a Info message.
10166 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
10168 * tools/gst-launch.c: (event_loop):
10169 Make sure that we actually show the important message part of a
10171 No need to check if the gerror is not NULL to free; first of all
10172 g_free accepts NULL; and second the default error handler would
10173 segfault if gerror was NULL.
10175 2007-02-21 Wim Taymans <wim@fluendo.com>
10177 * docs/gst/gstreamer-sections.txt:
10178 Removed docs as well.
10180 2007-02-21 Wim Taymans <wim@fluendo.com>
10182 * gst/gstmessage.c: (gst_message_parse_duration):
10183 * gst/gstmessage.h:
10184 Remove new messages for release.
10186 2007-02-20 Wim Taymans <wim@fluendo.com>
10188 * docs/design/part-gstghostpad.txt:
10189 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
10190 (gst_ghost_pad_new_full):
10191 Make the ghostpad a parent of the internal pad again for better backward
10192 compatibility. Don't write code that relies on this however.
10194 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
10195 (gst_pad_link_check_hierarchy):
10196 Require that parents should be GstElements in the hierarchy check.
10198 2007-02-20 Wim Taymans <wim@fluendo.com>
10200 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
10201 (gst_bin_change_state_func), (bin_query_min_max_init),
10202 (bin_query_latency_fold), (bin_query_latency_done),
10204 Improve debug info.
10205 Implement latency query.
10207 2007-02-20 Wim Taymans <wim@fluendo.com>
10209 * docs/design/part-gstghostpad.txt:
10210 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
10211 (gst_ghost_pad_internal_do_activate_push),
10212 (gst_ghost_pad_internal_do_activate_pull),
10213 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10214 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
10215 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
10216 Do not set the internal pad as a parent anymore so we can avoid
10217 hierarchy linking errors when the ghostpad has no parent yet. This also
10218 fixes failed activation because of unlinked internal pads, which in
10219 turn fixes the impossible case where you have to activate a pad before
10220 you can add it to a running element.
10223 * gst/gstpad.c: (pre_activate), (post_activate),
10224 (gst_pad_set_active), (gst_pad_activate_pull),
10225 (gst_pad_activate_push), (gst_pad_check_pull_range):
10226 Add some more debug info.
10227 Mark activation mode in pre_activate so that we don't try to activate in
10228 endless loops. Fixes #385084.
10230 2007-02-19 Wim Taymans <wim@fluendo.com>
10232 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
10233 (gst_base_transform_check_get_range):
10234 Implement a checkgetrange function instead of relying on the default
10235 core behaviour that assumes we can operate in pull mode if we have a
10236 getrange function. First step at fixing #385084.
10238 2007-02-15 Stefan Kost <ensonic@users.sf.net>
10240 * gst/gstchildproxy.h:
10241 * libs/gst/base/gstbasesink.h:
10242 * libs/gst/base/gstbasesrc.h:
10243 * libs/gst/base/gstbasetransform.h:
10244 More docs coverage and some ChangeLog surgery (add missing names)
10246 2007-02-15 Wim Taymans <wim@fluendo.com>
10248 * docs/design/part-TODO.txt:
10249 * docs/design/part-activation.txt:
10250 * docs/design/part-block.txt:
10251 * docs/design/part-buffering.txt:
10252 * docs/design/part-clocks.txt:
10253 * docs/design/part-element-source.txt:
10254 * docs/design/part-events.txt:
10255 * docs/design/part-gstbin.txt:
10256 * docs/design/part-gstbus.txt:
10257 * docs/design/part-gstpipeline.txt:
10258 * docs/design/part-live-source.txt:
10259 * docs/design/part-messages.txt:
10260 * docs/design/part-overview.txt:
10261 * docs/design/part-qos.txt:
10262 * docs/design/part-query.txt:
10263 * docs/design/part-states.txt:
10264 * docs/design/part-trickmodes.txt:
10265 Some doc updates. Start renaming from stream_time to running_time where
10266 it was used wrongly.
10268 2007-02-15 Wim Taymans <wim@fluendo.com>
10270 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10271 Answer LATENCY query.
10273 2007-02-15 Wim Taymans <wim@fluendo.com>
10275 * tests/check/gst/gstevent.c: (event_probe), (test_event),
10279 2007-02-15 Wim Taymans <wim@fluendo.com>
10281 * gst/gstpad.c: (gst_pad_get_internal_links_default),
10282 (gst_pad_dispatcher):
10283 Improve debugging of default pad dispatcher and query functions.
10285 2007-02-15 Wim Taymans <wim@fluendo.com>
10287 * docs/gst/gstreamer-sections.txt:
10288 Remove old unused method.
10290 2007-02-13 Wim Taymans <wim@fluendo.com>
10292 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10295 2007-02-13 Wim Taymans <wim@fluendo.com>
10297 * docs/design/part-seeking.txt:
10300 * gst/gstsegment.c: (gst_segment_set_seek):
10301 Revert old bogus change that should make seeking work again.
10303 2007-02-13 Stefan Kost <ensonic@users.sf.net>
10305 * docs/random/ensonic/dynlink.txt:
10306 * docs/random/ensonic/interfaces.txt:
10307 * docs/random/ensonic/receipies.txt:
10308 Possible dynamic reconnection api, plus some type fixes the other two
10311 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
10313 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10314 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10315 Also check for an absolute path following file:// in the filesrc
10316 element. Remove redundant check and call g_path_is_absolute() on the
10317 unescaped location.
10319 2007-02-13 Stefan Kost <ensonic@users.sf.net>
10321 * docs/design/draft-klass.txt:
10322 Add existing category analysis.
10325 Fix doc example, framerate is a fraction.
10327 2007-02-12 Stefan Kost <ensonic@users.sf.net>
10330 * docs/gst/Makefile.am:
10331 * docs/gst/gstreamer-sections.txt:
10332 * docs/libs/Makefile.am:
10333 Erm, forgot a bunch of --extra-dir.
10335 2007-02-12 Stefan Kost <ensonic@users.sf.net>
10338 * docs/gst/Makefile.am:
10339 * docs/libs/Makefile.am:
10340 * docs/plugins/Makefile.am:
10341 Add crossreferences to glib/gobject docs.
10343 2007-02-12 Wim Taymans <wim@fluendo.com>
10345 * docs/design/draft-latency.txt:
10348 * docs/libs/gstreamer-libs-sections.txt:
10349 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10350 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
10351 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
10352 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
10353 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
10354 (gst_base_sink_get_position), (gst_base_sink_query),
10355 (gst_base_sink_change_state):
10356 * libs/gst/base/gstbasesink.h:
10357 API: gst_base_sink_query_latency() to let subclasses query the upstream
10359 API: gst_base_sink_get_latency() to let subclasses query the configured
10360 latency in the sink.
10361 Implement query and set latency.
10363 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
10364 don't continue preroll when we are flushing. Fixes #405284.
10366 * tests/check/pipelines/stress.c: (change_state_timeout),
10367 (quit_timeout), (GST_START_TEST), (stress_suite):
10370 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
10372 Patch by: René Stadler <mail at renestadler de>
10374 * docs/gst/gstreamer-sections.txt:
10375 * gst/gsttaglist.c: (_gst_tag_initialize):
10376 * gst/gsttaglist.h:
10377 API: add GST_TAG_REFERENCE_LEVEL (#403597).
10379 2007-02-11 Stefan Kost <ensonic@users.sf.net>
10381 * docs/libs/Makefile.am:
10382 Fix path to core docs.
10384 * gst/gstbin.c: (gst_bin_get_by_interface),
10385 (gst_bin_iterate_all_by_interface):
10386 Refix docs by also renaming 'interface' to 'iface' in implementation.
10388 * docs/gst/gstreamer-sections.txt:
10390 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
10391 * gst/gstchildproxy.h:
10392 * gst/gstelementfactory.c:
10393 * gst/gstpadtemplate.h:
10394 * libs/gst/controller/gstcontroller.c:
10395 (gst_controlled_property_new):
10398 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
10400 * gst/gstbin.h:(gst_bin_get_by_interface),
10401 (gst_bin_iterate_all_by_interface):
10402 Replace interface parameter name by iface as interface is
10403 a reserved keyword in Visual Studio for C++ projects so it removes
10404 a build error for application developpers using VS.
10405 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
10406 Fix a bug on Windows in uri format check. Now the prefix checked
10407 is file:// and next we check if the path after file:// is absolute.
10408 * win32/common/libgstbase.def:
10409 * win32/common/libgstdataprotocol.def:
10410 * win32/common/libgstgstreamer.def:
10411 Add new exported functions.
10413 2007-02-09 Andy Wingo <wingo@pobox.com>
10415 * tests/check/pipelines/simple-launch-lines.c
10416 (simple_launch_lines_suite, test_tee): Disable tee test until I
10417 have time to fix it :-(
10419 * tests/check/Makefile.am (noinst_HEADERS):
10420 * tests/check/libs/libsabi.c:
10421 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
10422 * tests/check/gst/gstabi.c:
10423 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
10425 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
10426 tests for push and pull tee behavior.
10428 * plugins/elements/gsttee.h:
10429 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
10430 mark as deprecated as well as unimplemented. It was a crack idea.
10431 Add support for tee operating in pull mode, off by default.
10433 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
10434 normal-case logs down to LOG, raise errors to WARNING.
10435 (gst_registry_xml_read_cache): Don't log before calling a function
10438 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
10439 exit (registry finalize).
10440 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
10441 DEBUG log when we emit signals that people don't even have the
10442 chance to connect to.
10443 (gst_registry_scan_path_level): Less logging in the normal case.
10445 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
10447 Patch by: Michal Benes <michal dot benes at itonis dot tv>
10449 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10450 Correctly generate EOS for non-seekable files. We don't have a total
10451 length for them and would get an unexpected end of file if we only
10452 special-cased for regular files. (Fixes: #404569)
10454 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
10456 * tests/check/elements/filesrc.c: (GST_START_TEST),
10458 Add unit test for the GstURIHandler interface in filesrc. This also
10459 tests the newly added file://localhost/foo/bar support.
10461 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
10463 * gst/gstelementfactory.h:
10464 The klass string is not a hierarchy. Add reference to the design doc
10465 for more information and common types.
10467 2007-02-02 Wim Taymans <wim@fluendo.com>
10469 * gst/gstquery.c: (gst_query_new_latency):
10470 Remove old structure field.
10472 2007-02-02 Stefan Kost <ensonic@users.sf.net>
10474 * tools/gst-launch.1.in:
10475 Give example for network streaming (#351998)
10477 2007-02-02 Wim Taymans <wim@fluendo.com>
10479 * docs/gst/gstreamer-sections.txt:
10480 Add docs for new methods.
10482 * gst/gstevent.c: (gst_event_new_latency),
10483 (gst_event_parse_latency):
10485 Add new LATENCY event to configure latency in a pipeline.
10486 API: gst_event_new_latency
10487 API: gst_event_parse_latency
10489 * gst/gstmessage.c: (gst_message_new_buffering),
10490 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
10491 (gst_message_new_latency), (gst_message_parse_buffering),
10492 (gst_message_parse_lost_preroll):
10493 * gst/gstmessage.h:
10494 Added messages used in draft-latency.
10495 API: gst_message_new_lost_preroll
10496 API: gst_message_parse_lost_preroll
10497 API: gst_message_new_prerolled
10498 API: gst_message_new_latency
10500 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
10501 (gst_query_parse_latency):
10503 Implemented new latency query as in design doc.
10504 API: gst_query_new_latency
10505 API: gst_query_set_latency
10506 API: gst_query_parse_latency
10508 2007-02-02 Wim Taymans <wim@fluendo.com>
10510 * docs/design/draft-latency.txt:
10511 Slight redesign to allow for dynamic latency adjustments.
10513 * docs/design/part-negotiation.txt:
10516 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
10518 reviewed by: Wim Taymans <wim@fluendo.com>
10520 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10521 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10522 Allow file://localhost/foo/bar URLs and correctly fail for every other
10523 hostname that one sets. This was gnomevfssrc is linked for those if
10524 installed as it can handle it (#403172)
10526 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
10528 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10530 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10531 (unref_data), (gst_collect_pads_add_pad_full):
10532 * libs/gst/base/gstcollectpads.h:
10533 Don't put the previously added destroy notify in the GstCollectData
10534 struct as all it's padding is already used and we don't want to break
10535 ABI. Instead put in the pad's GObject data for now. This should be
10536 cleaned up for 0.11 (#402393).
10538 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
10540 reviewed by: Wim Taymans <wim@fluendo.com>
10542 * docs/libs/gstreamer-libs-sections.txt:
10543 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10544 (unref_data), (gst_collect_pads_add_pad),
10545 (gst_collect_pads_add_pad_full):
10546 * libs/gst/base/gstcollectpads.h:
10547 API: Add function to specify a destroy notification for custom
10548 GstCollectData when adding new pads in GstCollectPads (#402393).
10550 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
10553 Update Swedish translation (#378255).
10555 2007-01-31 Stefan Kost <ensonic@users.sf.net>
10557 * docs/design/draft-klass.txt:
10558 Fix the previous change, this is a list of categories and not a hierarchy.
10560 2007-01-31 Stefan Kost <ensonic@users.sf.net>
10562 * docs/design/draft-klass.txt:
10563 Add info about how to get a list of used classes.
10565 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
10567 * plugins/elements/gsttypefindelement.c:
10568 (gst_type_find_element_chain_do_typefinding),
10569 (gst_type_find_element_change_state):
10570 Don't leak found caps in chain function (no idea why that never
10571 showed up as a leak anywhere).
10573 2007-01-30 Stefan Kost <ensonic@users.sf.net>
10576 Fix and expand GstPluginDesc API docs.
10578 2007-01-29 Stefan Kost <ensonic@users.sf.net>
10581 * gst/gstelementfactory.c:
10582 * gst/gstpadtemplate.h:
10585 * libs/gst/controller/gstcontroller.c:
10586 (gst_controlled_property_new):
10587 * tests/examples/controller/audio-example.c:
10590 2007-01-29 Stefan Kost <ensonic@users.sf.net>
10593 comment about refining the xml deps
10595 * docs/manuals.mak:
10596 comments about moving away from jade for docs
10599 recommit the ifdefs to use the binary registry
10601 * gst/gstbin.c: (gst_bin_change_state_func):
10602 this break is obsolete
10604 * gst/gstelementfactory.h:
10605 better GST_ELEMENT_DETAILS docs, add comment about translation
10610 * gst/gstobject.c: (gst_signal_object_get_type):
10611 add G_UNLIKELY as usual
10613 * gst/gstpad.c: (gst_pad_event_default):
10614 add fall trhu comment
10616 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10617 (gst_registry_binary_initialize_magic),
10618 (gst_registry_binary_save_string),
10619 (gst_registry_binary_save_pad_template),
10620 (gst_registry_binary_save_feature),
10621 (gst_registry_binary_save_plugin),
10622 (gst_registry_binary_write_cache),
10623 (gst_registry_binary_check_magic),
10624 (gst_registry_binary_load_pad_template),
10625 (gst_registry_binary_load_feature),
10626 (gst_registry_binary_load_plugin),
10627 (gst_registry_binary_read_cache):
10628 comment typo and formatting
10630 * gst/gstutils.c: (gst_element_state_get_name),
10631 (gst_element_state_change_return_get_name):
10632 remove obsolete breaks
10634 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10635 add FIXME 0.11 and remove cpp comment
10637 2007-01-29 Edward Hervey <edward@fluendo.com>
10639 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10640 Fix print statement in an even more portable way.
10642 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
10644 * docs/gst/gstreamer-sections.txt:
10646 API: add GST_ROUND_DOWN_* macros (#401781).
10648 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
10650 * docs/gst/gstreamer.types.in:
10651 * gst/gstregistry.c: (gst_registry_class_init):
10652 Document registry signals and make gtk-doc pick them up (#401381).
10654 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
10656 * docs/pwg/building-testapp.xml:
10657 Add some audioconverts and audioresample to the pipeline, and some
10658 more comments and error handling.
10660 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
10662 * docs/manual/manual.xml:
10663 * docs/pwg/pwg.xml:
10664 Fix typo (#400987).
10666 2007-01-26 Wim Taymans <wim@fluendo.com>
10668 * gst/gstcaps.c: (gst_static_caps_get):
10669 Init caps flags too.
10671 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
10673 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
10675 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10676 If not using mmap'ed files try to seek to the end instead of the
10677 start to determine whether we can seek at all. This fixes the case
10678 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
10679 seeks for everything afterwards fail. Fixes #400656
10681 2007-01-25 Wim Taymans <wim@fluendo.com>
10683 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
10684 Add some refcount debugging.
10685 Make gst_static_caps_get threadsafe, which is needed when autoplugging
10686 in multiple streaming threads.
10688 2007-01-25 Wim Taymans <wim@fluendo.com>
10690 Patch by: David Schleef <ds at schleef dot org>
10692 * docs/libs/gstreamer-libs-sections.txt:
10693 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
10694 * libs/gst/base/gstadapter.h:
10695 API: gst_adapter_copy() that can reduce the amount of memcpy when
10696 getting data from the adapter. Fixes #388201.
10698 2007-01-25 Edward Hervey <edward@fluendo.com>
10700 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10701 In print statements, "%x" is for guint. Fixes build on macosx.
10703 2007-01-24 Edward Hervey <edward@fluendo.com>
10705 * plugins/elements/gstmultiqueue.c:
10706 (gst_multi_queue_loop):
10708 (single_queue_overrun_cb), (single_queue_underrun_cb),
10709 (single_queue_check_full), (gst_single_queue_new):
10710 Implement single queue growth system.
10711 This uses the extra-size properties, and will grow single queues by
10712 that much if one goes full whereas there are others empty. This is
10713 called extra-mode in the code.
10714 When a single queue's levels go back below the initial max-size
10715 limits, it is no longer in extra-mode. This is to ensure we don't
10716 consume too much memory.
10719 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
10721 * gst/gst.c: (gst_init_get_option_group):
10722 Make warning about late g_thread_init() calls a bit more explicit,
10723 so that it's more obvious to application developers what they need
10724 to do if a user files a bug against their application.
10726 2007-01-22 Edward Hervey <edward@fluendo.com>
10728 * plugins/elements/gstmultiqueue.c:
10729 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
10730 Remove previous hack of unsetting the flushing flag for the source pad
10731 instead of activating it. Instead, fix the source pad activate function
10732 so that it no longer depends on having a parent set or not.
10734 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
10736 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
10738 * docs/manual/basics-bus.xml:
10739 Fix example code, gst_element_unref() doesn't exist any longer.
10741 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
10743 Patch by: Mark Nauwelaerts <manauw at skynet be>
10746 Fix two docs typoes (#399094).
10748 2007-01-19 Edward Hervey <edward@fluendo.com>
10750 * docs/faq/gst-uninstalled:
10751 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
10752 depending on libgstbaseutils can work in uninstalled environment.
10754 2007-01-18 Stefan Kost <ensonic@users.sf.net>
10756 * gst/gsttaglist.h:
10757 * gst/gsttagsetter.c:
10758 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
10759 statement for new tag.
10761 2007-01-17 Edward Hervey <edward@fluendo.com>
10763 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
10764 When dynamically creating single queues, activate sinkpad before adding
10766 We should be doing the same thing for the source pad, but we can't
10767 since it would call a method which needs the parent to be set in order
10768 to work propertly. Instead of activating the source pad, we just unset
10769 the flushing flag, which is the minimal requirement for adding a pad
10770 to an element in a state greater than READY.
10772 2007-01-17 Edward Hervey <edward@fluendo.com>
10774 * docs/faq/gst-uninstalled:
10775 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
10778 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
10780 * tests/check/gst/gstabi.c:
10781 * tests/check/gst/struct_hppa.h:
10782 * tests/check/libs/libsabi.c:
10783 * tests/check/libs/struct_hppa.h:
10784 Add ABI structs for HPPA (see #393796).
10786 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
10788 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10789 Actually write ABI structs to the file specified in the GST_ABI
10790 environment variable, as the message we print claims we would.
10792 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10794 * tests/check/gst/gsttask.c:
10795 Fix header comment.
10797 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10799 * gst/gsttaglist.c: (_gst_tag_initialize):
10800 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
10801 previous two entries.
10803 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10805 * docs/gst/gstreamer-sections.txt:
10806 * gst/gsttaglist.c: (_gst_tag_initialize):
10807 * gst/gsttaglist.h:
10808 Add tag support for beat-per-minute.
10810 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10812 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10813 (gst_registry_binary_initialize_magic),
10814 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
10815 (gst_registry_binary_save_pad_template),
10816 (gst_registry_binary_save_feature),
10817 (gst_registry_binary_save_plugin),
10818 (gst_registry_binary_write_cache),
10819 (gst_registry_binary_check_magic),
10820 (gst_registry_binary_load_pad_template),
10821 (gst_registry_binary_load_feature),
10822 (gst_registry_binary_load_plugin),
10823 (gst_registry_binary_read_cache):
10824 * gst/gstregistrybinary.h:
10825 Use glib types, cleanup comments, impement interfaces and uri-types.
10827 2007-01-13 Andy Wingo <wingo@pobox.com>
10829 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
10830 getrange() to return buffers with other caps, while we fix
10831 demuxers and typefind, or otherwise change part-negotiation.txt.
10833 2007-01-12 Andy Wingo <wingo@pobox.com>
10835 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
10836 Factor start/stop into this private function instead of partially
10837 in activate functions and partially in the change_state function.
10838 Fixes setup before the element has changed from READY->PAUSED, as
10839 is the case in pull-mode pipelines.
10840 (gst_base_transform_sink_activate_push)
10841 (gst_base_transform_src_activate_pull): Refactor to use
10842 gst_base_transform_activate().
10843 (gst_base_transform_change_state): Removed, not needed any more.
10845 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10846 Truncate before fixating.
10848 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10849 Don't set_caps() if the result of fixating is ANY, as it's not
10850 supported, and not necessary in the case of a link with no
10851 template caps on either side. Fixes tests/check/libs/basesrc in
10852 some pull-mode tests.
10854 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
10855 (gst_base_transform_init, gst_base_transform_sink_activate_push)
10856 (gst_base_transform_src_activate_pull):
10857 Track the activation mode.
10858 (gst_base_transform_setcaps): In pull mode, when activating the
10859 src pad, after activating the sink pad, activate the sink pad's
10860 peer, as discussed in part-negotiation.txt.
10862 * libs/gst/base/gstbasesrc.h:
10863 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
10864 vmethod, as in basesink.
10866 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
10868 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
10869 mode, first proxy the setcaps to the peer pad.
10870 (gst_base_sink_pad_fixate): Add a fixate function that calls the
10871 new fixate vmethod.
10872 (gst_base_sink_default_activate_pull): Rename from
10873 gst_base_sink_activate_pull.
10874 (gst_base_sink_negotiate_pull): New function, performs negotiation
10875 in pull mode before calling ::activate_pull().
10876 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
10877 vmethod instead of the default implementation. I have no idea how
10878 this worked before. Negotiate before calling activate_pull.
10880 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
10881 sink pads in pull mode. In addition to being correct, fixes
10882 filesrc ! decodebin ! identity ! fakesink.
10883 (gst_pad_get_range, gst_pad_pull_range): Don't call
10884 gst_pad_set_caps() if the caps changes; instead error out with
10885 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
10887 2007-01-12 Andy Wingo <wingo@pobox.com>
10889 * docs/design/part-negotiation.txt: Update with more policy.
10891 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10893 * libs/gst/check/gstbufferstraw.h:
10894 * libs/gst/check/gstcheck.h:
10895 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
10898 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10900 * tests/check/Makefile.am:
10901 * tests/check/gst/.cvsignore:
10902 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
10903 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
10904 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
10905 (GST_START_TEST), (gst_tag_setter_suite):
10906 Add minimal unit test for beforementioned GstTagSetter bug.
10908 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10910 Patch by: René Stadler <mail at renestadler dot de>
10912 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
10913 gst_tag_list_merge() returns a new list, so it's not the best idea
10914 to ingore its return value. Effectively meant that tags could only
10915 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
10916 Also add function guard to require a non-NULL taglist as input (has
10917 always been so due to gst_tag_list_copy(), just making it explicit).
10919 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10921 * docs/random/draft-missing-plugins.txt:
10922 Some additions: mention new API that is supposed to be used at the
10923 various stages; short blob about new gst-inspect introspection
10924 option; mention potential future problem with plugins that have
10925 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
10927 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10929 * tools/gst-inspect.c:
10930 (print_plugin_automatic_install_info_codecs),
10931 (print_plugin_automatic_install_info_protocols),
10932 (print_plugin_automatic_install_info), (main):
10933 Add --print-plugin-auto-install-info option to gst-inspect, so we can
10934 introspect plugin files and get machine-parsable output that corresponds
10935 to the last bit of the missing-plugin installer string (small gotcha:
10936 doesn't take into account ranks).
10938 2007-01-11 Stefan Kost <ensonic@users.sf.net>
10941 * docs/gst/gstreamer-sections.txt:
10943 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
10944 (gst_registry_lookup_locked):
10945 * gst/gstregistry.h:
10946 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10947 (gst_registry_binary_initialize_magic),
10948 (gst_registry_binary_save_string),
10949 (gst_registry_binary_save_pad_template),
10950 (gst_registry_binary_save_feature),
10951 (gst_registry_binary_save_plugin),
10952 (gst_registry_binary_write_cache),
10953 (gst_registry_binary_check_magic),
10954 (gst_registry_binary_load_pad_template),
10955 (gst_registry_binary_load_feature),
10956 (gst_registry_binary_load_plugin),
10957 (gst_registry_binary_read_cache):
10958 * gst/gstregistrybinary.h:
10959 * gst/gstregistryxml.c: (load_feature),
10960 (gst_registry_xml_read_cache):
10961 commit binary registry (disabled by default, see #359653)
10963 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10965 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
10966 Fix 'make check' too.
10968 2007-01-10 Andy Wingo <wingo@pobox.com>
10970 * docs/design/part-negotiation.txt: Fix a typo, add a couple
10973 * docs/design/part-negotiation.txt: Update with, um, one way that
10974 pull-mode negotiation might work?
10977 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
10978 that the pad must be a src pad; makes sense to call it the other
10979 way in pull mode, and the logic is symmetric anyway.
10981 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
10983 * plugins/elements/gstfilesink.c:
10984 Include <stdio.h> for fseeko().
10986 2007-01-10 Wim Taymans <wim@fluendo.com>
10990 Reserve LATENCY event.
10992 2007-01-09 Wim Taymans <wim@fluendo.com>
10994 * docs/design/draft-latency.txt:
10997 2007-01-09 Wim Taymans <wim@fluendo.com>
10999 * docs/design/draft-latency.txt:
11002 * gst/gstelement.h:
11003 * gst/gststructure.c:
11007 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
11009 * tests/check/.cvsignore:
11010 Ignore test-registry.xml as well.
11012 2007-01-09 Wim Taymans <wim@fluendo.com>
11014 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
11015 unref data at the end when we are done with the pad.
11017 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
11019 * docs/gst/gstreamer-sections.txt:
11020 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
11021 (init_post), (gst_deinit), (gst_update_registry):
11023 API: add gst_update_registry() (#391296).
11025 * tests/check/Makefile.am:
11026 * tests/check/gst/gstregistry.c:
11027 * tests/check/gst/.cvsignore:
11028 Simple unit test for the above.
11030 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
11032 * gst/gstregistry.c: (gst_registry_scan_path_level):
11033 Plugin extension on HP-UX is .sl, add that to the list of approved
11034 plugin extensions (see #393796).
11036 * tests/check/gst/gstpad.c: (GST_START_TEST):
11037 ulong => gulong. Fixes compilation with HP-UX compiler.
11039 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11040 Fix compilation if valgrind headers are not available.
11042 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
11044 * win32/common/libgstreamer.def:
11045 Add new exported function.
11046 * win32/vs6/libgstbase.dsp:
11047 Add gstdataqueue.c to the build.
11048 * win32/vs6/libgstcoreelements.dsp:
11049 Add gstmultiqueue.c to the build.
11051 2007-01-06 Andy Wingo <wingo@pobox.com>
11053 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
11054 activate_pull(), providing for a way to specialize the process of
11055 spawning a thread to pull on the sink pad. There is a default
11058 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
11059 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
11060 (gst_base_sink_init): Renamed pad activation functions (inserting
11061 "_pad" in their names). Refactor to use the new activate_pull
11062 vmethod, as appropriate.
11063 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
11064 default activate_pull function to start a task pulling from the
11065 sink pad, as before.
11067 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
11068 on the pads if necessary, as in push()/chain(). Update docs.
11069 Shouldn't affect existing pull() usage as it is currently only
11070 being used on buffers without caps.
11072 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
11074 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11076 Call g_thread_init() first thing in gst_init() / gst_check_init().
11077 When initialisation is done via gst_init_get_option_group() and
11078 GOption parsing, issue a warning if the GLib thread system has not
11079 been initialised yet by the time gst_init_get_option_group() is
11080 called, as it's quite likely other GLib functions such as
11081 g_option_context_new() have been called already then, and
11082 g_thread_init() must be called before any other GLib function. The
11083 application in question must be fixed in that case, since memory
11084 corruption might happen otherwise.
11085 We issue the warning because even if the GLib folks decide to work
11086 around the problem on their end in future, this is still an issue
11087 with all GLib versions >= 2.10.0, so we should warn until we depend
11088 on a GLib version we know to be safe.
11089 Update documentation as well.
11090 Closes bug #391278.
11092 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
11094 * tools/gst-inspect.c: (main):
11095 * tools/gst-launch.c: (main):
11096 * tools/gst-typefind.c: (main):
11097 * tools/gst-xmlinspect.c: (main):
11098 Call g_thread_init() really really early, before any other GLib
11099 function (see #342564 and recent discussion on gtk-devel-list).
11101 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
11103 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
11105 * gst/gst_private.h:
11106 * gst/gstconfig.h.in:
11108 On win32, all the __declspec stuff for symbol exporting is
11109 apparently only needed with MSVC, but doesn't work with MingW.
11110 Fixes compilation with MingW and #391909.
11112 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
11114 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
11115 Change some GST_ERROR_OBJECT that aren't really errors to
11116 GST_WARNING_OBJECT in order to reduce terminal spam.
11118 2007-01-04 Stefan Kost <ensonic@users.sf.net>
11120 * tests/check/Makefile.am:
11121 disable test again, as there seem to be still race problems
11123 2007-01-04 Stefan Kost <ensonic@users.sf.net>
11125 * tests/check/Makefile.am:
11126 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11127 (GST_START_TEST), (queue_suite):
11128 enable queue test again, add tests for the leaky behaviour
11130 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
11133 * tests/examples/Makefile.am:
11134 Compile adapter test/example only if the required headers are
11135 available (fixes #391915).
11137 2007-01-01 David Schleef <ds@schleef.org>
11140 Restore the previous signal handler for SIGSEGV instead of
11141 setting to default, since we may have stolen it away from
11142 someone. (i.e., Mono)
11144 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
11146 * docs/random/draft-missing-plugins.txt:
11147 Some small additions and clarifications.
11149 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
11151 * gst/gstregistryxml.c: (gst_registry_save_escaped):
11152 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
11153 since that can lead to random memory corruptions and crashes
11154 (may or may not be related to #383244, #386711, and #386711).
11156 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11158 * tests/check/.cvsignore:
11159 * tests/check/Makefile.am:
11160 sync .cvsignome and CLEANFILES
11162 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11164 * tests/check/Makefile.am:
11167 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11169 * docs/design/part-states.txt:
11170 two tiny additional comments
11172 * gst/gststructure.c:
11175 * tests/check/Makefile.am:
11176 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11178 disable test for now, unless it gets fixed
11180 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11182 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11184 fix race in underrun test
11186 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11188 * tests/check/elements/.cvsignore:
11191 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11193 try to narrow test failure
11195 2006-12-21 David Schleef <ds@schleef.org>
11197 * plugins/elements/gstfakesrc.c:
11198 Use g_random_int_range(), since it produces better random
11199 numbers in a range than almost-correct floating point code.
11201 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11203 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11204 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11205 (gst_check_teardown_sink_pad):
11206 do not automatically (de)activate pads
11208 * tests/check/Makefile.am:
11209 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11210 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
11211 add new, yet simple tests for queue
11213 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
11214 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
11215 * tests/check/elements/filesrc.c: (cleanup_filesrc),
11217 * tests/check/elements/identity.c: (cleanup_identity):
11218 consistent pad (de)activation
11220 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
11222 Patch by: Sebastian Dröge <slomo ubuntu com>
11224 * libs/gst/base/gstcollectpads.c:
11225 Fix two doc typos (#387866).
11227 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
11229 * docs/manual/advanced-dparams.xml:
11230 Fix typo (g_object_control_properties() doesn't exist).
11232 2006-12-19 Edward Hervey <edward@fluendo.com>
11234 * gst/gstsegment.c: (gst_segment_set_seek):
11235 Fine tune the cases where the segment start/stop values are really
11237 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11238 Add tests for the return values of gst_segment_set_seek().
11240 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
11245 * plugins/elements/gstqueue.c: (gst_queue_class_init),
11247 Fix incorrect documentation and flesh it out a bit more.
11248 Set default values for the max properties on the GParamSpec as well,
11249 so it shows up correctly in gst-inspect.
11251 2006-12-18 Stefan Kost <ensonic@users.sf.net>
11253 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
11254 Correct docs of queue, add more detail and crosslink it more.
11256 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
11258 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
11259 Print additional debug info when the stream isn't perfectly
11260 timestamped; don't try to use invalid durations.
11262 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
11264 * docs/design/Makefile.am:
11265 Dist new design docs.
11267 2006-12-16 Wim Taymans <wim@fluendo.com>
11269 Patch by: Sjoerd Simons <sjoerd at luon dot net>
11271 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
11272 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11273 (gst_collect_pads_stop), (gst_collect_pads_event),
11274 (gst_collect_pads_chain):
11275 * libs/gst/base/gstcollectpads.h:
11276 Add refcounting to the collectpads data so we can track when it's safe
11277 to free the data. Fixes #383382.
11279 2006-12-15 Wim Taymans <wim@fluendo.com>
11281 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11282 (gst_collect_pads_remove_pad):
11283 Automatically activate/deactivate pads when they are added to a
11284 started/stoped collectpads.
11286 2006-12-15 Wim Taymans <wim@fluendo.com>
11288 * gst/gstelement.c: (gst_element_add_pad):
11289 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
11290 * gst/gstpad.c: (gst_pad_init):
11291 Set pads to FLUSHING when they are created. Check, warn and fix when a
11292 demuxer adds an inactive pad to itself when running. Fixes #339326.
11294 2006-12-15 Wim Taymans <wim@fluendo.com>
11296 * gst/gstelement.c: (gst_element_class_init),
11297 (gst_element_default_send_event), (gst_element_send_event),
11298 (gst_element_default_query), (gst_element_query):
11299 Expose default element send_event and query handling as vmethods that
11300 subclasses can chain up to.
11302 2006-12-15 Wim Taymans <wim@fluendo.com>
11304 * gst/gstelement.c: (gst_element_set_state_func):
11305 Small documentation fixes.
11307 2006-12-15 Wim Taymans <wim@fluendo.com>
11309 * docs/design/draft-latency.txt:
11310 Checked in draft for handling latency in pipelines.
11312 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
11316 * gstreamer.spec.in:
11319 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
11321 * gst/gst.c: (init_pre), (init_post):
11322 init_pre() and init_post() might be called via our GOptionGroup or
11323 from gst_init(), and we should skip both of them if we've already
11324 been initialised, otherwise we will init some things twice or add
11325 two default log functions.
11327 2006-12-13 Edward Hervey <edward@fluendo.com>
11329 * docs/manual/basics-bus.xml:
11330 No, gst_main_loop does not exist. Its g_main_loop.
11331 Discovered by somebody who abused the copy-paste technique of coding :)
11333 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
11335 * gst/gstghostpad.c:
11336 Log ghostpad debug stuff to the GST_PADS category as well rather
11337 than just to the default category.
11339 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
11342 * gst/gst.c: (init_pre):
11343 Add some basic system details such as OS and architecture
11344 to the debug output if possible, courtesy of uname().
11346 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
11348 * docs/gst/running.xml:
11349 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
11350 environment variables.
11352 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
11354 * tests/check/gst/gstbin.c: (GST_START_TEST):
11355 It is acceptable to have a refcount of 2 or 3 at this point in the
11356 test, because the pipeline might be just posting its state_change
11357 message. The next line then waits for that message to appear using
11358 bus_poll, so that should be fine too.
11360 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
11362 * gst/gst.c: (ensure_current_registry_forking):
11363 Ignore EINTR when reading from the child registry pipe.
11364 Explicitly ignore the return value from close, since it makes no
11367 * gst/gstminiobject.c: (gst_mini_object_ref),
11368 (gst_mini_object_unref):
11369 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
11371 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
11372 When removing cached plugins, remove their features too, so they're
11373 not visible after they've disappeared.
11375 * gst/gstutils.c: (prepare_link_maybe_ghosting):
11376 In the unlikely case that we are linking pads with no parents, don't
11377 crash trying to get the non-existent parent bin.
11379 * gst/parse/grammar.y:
11380 Output debug in the PIPELINE category
11382 2005-03-08 Wim Taymans <wim@fluendo.com>
11384 Patch by: René Stadler <mail at renestadler dot de>
11386 * gst/gstclock.c: (gst_clock_new_periodic_id):
11387 Reject invalid clock times for interval of periodic ids.
11390 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
11392 * gst/gstelementfactory.c: (gst_element_factory_create):
11393 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11394 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
11395 * tools/gst-inspect.c: (print_element_info):
11396 Fix refcounting of gst_plugin_feature_load to match the docs.
11399 2006-12-07 Wim Taymans <wim@fluendo.com>
11401 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
11402 (gst_base_sink_get_position):
11403 Improve debugging of events.
11405 2006-12-07 Wim Taymans <wim@fluendo.com>
11407 Patch by: René Stadler <mail at renestadler dot de>
11409 * gst/gstclock.c: (gst_clock_id_wait):
11410 Make period ids add the interval to the origial requested time instead
11411 of the possibly updated time which can be wrong when there are multiple
11412 waiters for the same id. Fixes #382592.
11414 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
11415 (gst_system_clock_id_wait_jitter_unlocked),
11416 (gst_system_clock_id_wait_jitter):
11417 Fix restart in the async notify thread when an async entry is added to
11418 the front of the list. Fixes #381492.
11420 * tests/check/gst/gstsystemclock.c: (store_callback),
11421 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
11422 Added test for multiple async waits.
11423 Added test for async wait order.
11425 2006-12-07 Wim Taymans <wim@fluendo.com>
11427 * gst/gstbin.c: (gst_bin_query):
11428 Add some more docs about the POSITION query.
11430 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
11433 Bump version nano - back to CVS.
11435 === release 0.10.11 ===
11437 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
11440 releasing 0.10.11, "Love never runs on time"
11442 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
11444 * win32/common/libgstbase.def:
11445 * win32/common/libgstreamer.def:
11446 * win32/vs8/libgstbase.vcproj:
11447 * win32/vs8/libgstcoreelements.vcproj:
11448 * win32/vs8/libgstreamer.vcproj:
11449 Fix compilation on win32 under VS8
11450 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11451 Partially fixes #381175
11453 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
11455 * gst/gstvalue.c: (gst_value_compare_fraction):
11456 If someone is foolish enough to compare 2 fractions with denominator =
11457 0, return UNORDERED rather than aborting.
11459 2006-11-28 Edward Hervey <edward@fluendo.com>
11461 * libs/gst/base/Makefile.am:
11462 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
11463 (gst_data_queue_base_init), (gst_data_queue_class_init),
11464 (gst_data_queue_init), (gst_data_queue_new),
11465 (gst_data_queue_cleanup), (gst_data_queue_finalize),
11466 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
11467 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
11468 (gst_data_queue_is_empty), (gst_data_queue_is_full),
11469 (gst_data_queue_set_flushing), (gst_data_queue_push),
11470 (gst_data_queue_pop), (gst_data_queue_drop_head),
11471 (gst_data_queue_set_property), (gst_data_queue_get_property):
11472 * libs/gst/base/gstdataqueue.h:
11473 New GstDataQueue object for threadsafe queueing. Most useful for
11474 elements that need some queueing functionnality.
11475 * docs/libs/gstreamer-libs-docs.sgml:
11476 * docs/libs/gstreamer-libs-sections.txt:
11477 Insert documentation for GstDataQueue
11478 * plugins/elements/Makefile.am:
11479 * plugins/elements/gstelements.c:
11480 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
11481 (gst_multi_queue_class_init), (gst_multi_queue_init),
11482 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
11483 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
11484 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
11485 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
11486 (gst_multi_queue_loop), (gst_multi_queue_chain),
11487 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
11488 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
11489 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
11490 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
11491 (wake_up_next_non_linked), (compute_next_non_linked),
11492 (single_queue_overrun_cb), (single_queue_underrun_cb),
11493 (single_queue_check_full), (gst_single_queue_new):
11494 * plugins/elements/gstmultiqueue.h:
11495 New multiqueue element, using GstDataQueue. Used for queuing multiple
11497 Closes #344639 and #347785
11499 2006-11-22 Stefan Kost <ensonic@users.sf.net>
11501 * docs/pwg/advanced-types.xml:
11502 add more missing type details
11504 * tools/gst-run.c: (main):
11505 remove unused variable
11507 2006-11-21 Stefan Kost <ensonic@users.sf.net>
11509 * docs/libs/Makefile.am:
11510 * docs/libs/gstreamer-libs.types:
11511 add types of base classes to enable gobject specific stuff in the docs
11513 * docs/random/ensonic/embedded.txt:
11514 more ideas about isolating platform specific things
11516 2006-11-20 Wim Taymans <wim@fluendo.com>
11518 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
11520 * libs/gst/check/gstcheck.h:
11521 Fix compilation and running against 0.9.4. Fixes #377332.
11523 2006-11-20 Wim Taymans <wim@fluendo.com>
11525 * gst/gstsegment.c: (gst_segment_set_seek),
11526 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
11527 (gst_segment_to_running_time):
11528 Fix boundary checking in to_running_time() and to_stream_time().
11531 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11532 stream and running time can now be calculated for the complete
11535 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
11537 * gst/gstpad.c: (gst_pad_push_event):
11538 Can't access event structure after giving away ownership of
11541 2006-11-15 Stefan Kost <ensonic@users.sf.net>
11543 * docs/random/ensonic/embedded.txt:
11544 * docs/random/ensonic/profiling.txt:
11545 * docs/random/ensonic/receipies.txt:
11548 2006-11-13 Wim Taymans <wim@fluendo.com>
11550 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11553 Fix documentation for gst_pad_dispatcher. Fixes #374475.
11555 2006-11-13 Wim Taymans <wim@fluendo.com>
11557 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
11559 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11560 Store new length in segment duration so we don't keep on calling the
11561 potentially expensize get_size() call. Fixes #370865.
11563 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
11565 Patch by: Sergey Scobich <sergey.scobich at gmail com>
11567 * win32/common/libgstreamer.def:
11568 Add two missing symbols (#366492).
11570 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
11572 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
11573 (gst_adapter_take_buffer):
11574 Fix format string to use all its arguments.
11575 Remove useless >= check on a guint
11577 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11579 * tests/examples/adapter/.cvsignore:
11580 Ignore build file as commanded by the build-bot
11582 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11584 * tests/examples/adapter/Makefile.am:
11585 * tests/examples/adapter/adapter_test.c: (run_test_take),
11586 (run_test_take_buffer), (run_tests), (main):
11588 Add new files from the previous commit
11590 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11594 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
11595 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
11596 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
11597 * libs/gst/base/gstadapter.h:
11598 * tests/check/libs/adapter.c: (create_and_fill_adapter),
11599 (GST_START_TEST), (gst_adapter_suite):
11600 * tests/examples/Makefile.am:
11601 Do some optimisation work in GstAdapter to avoid copies in more cases.
11602 It could still do slightly better by merging buffers when
11603 gst_buffer_is_span_fast is true, but is already faster.
11605 Also, avoid traversing a single-linked list to append each incoming
11606 buffer inside the adapter.
11608 Add simple test app that times the adapter behaviour in different
11609 situations, and extend the unit test to check that bytes enter and
11610 exit the adapter in their original order.
11612 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
11614 * docs/random/draft-missing-plugins.txt:
11615 Update: use element message instead of adding a new message
11616 type to the core; don't provide GStreamer API to initiate the
11617 plugin download, just provide API to compose the strings needed
11618 and let an external libgimmestuff handle the rest.
11620 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
11622 * tools/gst-inspect.c: (print_element_properties_info):
11623 Print a string instead of 'unknown type' for GValueArray properties
11625 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
11627 * docs/random/draft-missing-plugins.txt:
11630 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
11632 * tests/examples/typefind/typefind.c: (type_found), (main):
11633 Make typefind element example work again (#371894); add a
11636 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
11638 * docs/random/draft-missing-plugins.txt:
11639 Commit initial draft about how to deal with missing plugins,
11640 needs work (API too).
11642 2006-11-07 Stefan Kost <ensonic@users.sf.net>
11644 * docs/pwg/advanced-types.xml:
11645 documents the new caps elements (see #363118)
11647 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
11649 * gst/gstplugin.c: (gst_plugin_load_file):
11650 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
11651 (gst_file_src_map_region), (gst_file_src_start):
11652 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
11653 (gst_file_index_commit):
11654 Use g_strerror() instead of strerror() - we want UTF-8.
11656 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
11658 Patch by: Peter Kjellerstedt <pkj at axis com>
11660 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11661 Another printf fix (#371493).
11663 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11665 * tests/check/gst/gsttag.c:
11666 relicence (okay with author=company)
11668 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11670 * gst/gstpad.c: (gst_pad_event_default_dispatch),
11671 (gst_pad_push_event):
11672 Enhance debug and improve docs
11677 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11679 * docs/random/ensonic/distributed.txt:
11680 * docs/random/ensonic/profiling.txt:
11683 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11685 * docs/gst/gstreamer-sections.txt:
11686 add new API and fix the build
11688 * gst/gstbin.c: (gst_bin_recalc_state):
11689 * gst/gstelement.c: (gst_element_message_full),
11690 (gst_element_get_state_func), (gst_element_set_state_func):
11691 use new API and improve logging
11693 * gst/gstutils.c: (gst_element_state_change_return_get_name):
11695 API: add function to get StateChangereturn names to improve logs
11697 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
11699 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11700 I'm considering shooting the next person to put strerror stuff
11701 in the translateable part of the message.
11703 2006-11-03 Wim Taymans <wim@fluendo.com>
11705 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11706 Get the type and printf conversion specifiers right.
11708 2006-11-03 Wim Taymans <wim@fluendo.com>
11710 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11712 * gst/gstpad.c: (gst_pad_init), (pre_activate),
11713 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
11714 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
11715 Some small cleanups. Improve debugging.
11717 Signal all waiting threads with a broadcast instead of just one.
11720 2006-11-03 Wim Taymans <wim@fluendo.com>
11722 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
11723 (gst_fd_src_create):
11724 Add some debugging.
11725 Only update fd when it's different from the old.
11727 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
11729 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
11730 Printf fixes for PPC/OSX, take two (#369366).
11732 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
11734 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
11736 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11737 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11738 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
11739 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
11740 don't cast to long long for portability reasons, but use
11741 GLib's types instead.
11743 2006-10-30 Michael Smith <msmith@fluendo.com>
11745 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11746 Get the arguments to lseek() the right way around.
11749 2006-10-30 Wim Taymans <wim@fluendo.com>
11751 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
11754 _declspec should be __declspec (two underscores, not one). Fixes 366572.
11756 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
11758 Patch by: Kjartan Maraas <kmaraas at gnome org>
11760 * docs/design/part-MT-refcounting.txt:
11761 * docs/random/wtay/capsnego2-docs:
11764 Typo fixes (#366212).
11766 2006-10-28 Wim Taymans <wim@fluendo.com>
11768 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11771 * win32/common/libgstbase.def:
11772 * win32/common/libgstreamer.def:
11773 * win32/vs8/libgstbase.vcproj:
11774 * win32/vs8/libgstcontroller.vcproj:
11775 Add needed entries in .def files.
11777 Rearrange def files in vs8 solutions. Fixes #366286.
11779 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
11781 * win32/common/gstconfig.h:
11782 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
11783 hand-made win32 gstconfig.h. Fixes #366321.
11785 2006-10-27 Wim Taymans <wim@fluendo.com>
11787 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
11788 (gst_ghost_pad_new_full):
11789 Make acceptcaps return TRUE when we don't have a target, just like
11792 2006-10-27 Wim Taymans <wim@fluendo.com>
11794 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11795 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
11797 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
11799 * gst/gststructure.c: (gst_structure_id_set_value):
11800 If someone tries to set a non-UTF8 string field on a structure,
11801 don't just print a warning, but also ignore the request and do
11802 not change/add that field to the structure.
11804 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11805 Test for the above.
11807 2006-10-25 David Schleef <ds@schleef.org>
11810 g_hash_table_insert() needs a cast to a non-const pointer duh.
11812 2006-10-25 David Schleef <ds@schleef.org>
11816 Change name parameter of _gst_debug_register_funcptr to const
11817 to reflect the constness of its use in the function as well
11818 as to quiet a gcc warning.
11820 2006-10-25 Edward Hervey <edward@fluendo.com>
11822 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11823 Don't push the buffer if it's empty.
11826 2006-10-24 Wim Taymans <wim@fluendo.com>
11831 * libs/gst/base/gstbasetransform.c:
11832 (gst_base_transform_sink_eventfunc):
11833 Debug segment values *after* updating them as this is more
11836 2006-10-23 Wim Taymans <wim@fluendo.com>
11838 * docs/design/part-events.txt:
11841 * docs/design/part-block.txt:
11842 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11843 (gst_pad_push_event):
11844 Revert BLOCKING patch, it tries to be smart without really having a
11845 clear idea what or how. So, now we discard all FLUSHING events again on
11846 a blocking pad. Should fix gnonlin again.
11848 2006-10-23 Wim Taymans <wim@fluendo.com>
11850 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11852 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11853 (gst_base_src_start), (gst_base_src_activate_push):
11854 Make sure size is always initialized. Fixes #364388.
11856 2006-10-20 Stefan Kost <ensonic@users.sf.net>
11858 * docs/random/ensonic/distributed.txt:
11859 add some ideas about doing distributed processing
11861 * docs/random/ensonic/profiling.txt:
11862 get_rusage look promising
11864 2006-10-18 Stefan Kost <ensonic@users.sf.net>
11866 * docs/manual/basics-helloworld.xml:
11867 Add a cast in example to fix compile warning
11869 2006-10-18 Wim Taymans <wim@fluendo.com>
11871 * gst/gstsegment.c: (gst_segment_set_last_stop),
11872 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11873 Relax arg checking again, -1 is allowed.
11875 2006-10-18 Wim Taymans <wim@fluendo.com>
11877 * gst/gstsegment.c: (gst_segment_set_last_stop),
11878 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11879 _set_last_stop() must be with a value != -1
11880 A _TYPE_SET to -1 means seek to 0.
11881 Calc last_stop correctly for negative rates.
11882 Make sure we work with positive durations when updating a segment.
11884 2006-10-18 Wim Taymans <wim@fluendo.com>
11886 * docs/design/part-live-source.txt:
11890 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
11893 Add an explicit cast to GstBuffer** to keep old code that added an
11894 explicit cast to GstMiniObject** for gst_mini_object_replace()
11895 compiling without warning.
11897 2006-10-18 Stefan Kost <ensonic@users.sf.net>
11899 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
11900 check for validity of dates
11902 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11904 * docs/gst/gstreamer-sections.txt:
11905 Forgot this one, makes gtk-doc shut up.
11907 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11909 Patch by: Peter Kjellerstedt <pkj at axis com>
11912 Don't define xmlNodePtr to gpointer if the core was built with
11913 --disable-loadsave and --disable-registry, this will break
11914 applications that want to use libxml2 but are buildling against a
11915 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
11916 instead so we don't have to mess with the libxml2 namespace
11919 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11922 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
11923 type-punned pointer warnings.
11925 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
11927 * gst/gstelement.h:
11928 Add casts to the correct return type to state <=> state transition
11931 2006-10-16 Stefan Kost <ensonic@users.sf.net>
11933 * docs/design/part-live-source.txt:
11934 describe howto handle latency
11936 * docs/random/ensonic/profiling.txt:
11939 * tools/gst-plot-timeline.py:
11940 fix log parsing for solaris, remove unused function
11942 2006-10-16 Wim Taymans <wim@fluendo.com>
11944 * docs/design/part-trickmodes.txt:
11946 Update some docs regarding reverse playback.
11948 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
11950 Patch by: Marcus Granado <mrc dot gran at gmail com>
11952 * win32/vs8/grammar.vcproj:
11953 Error out with a warning if glib-genmarshal.exe is not in path,
11954 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
11956 2006-10-13 Wim Taymans <wim@fluendo.com>
11958 * gst/gstsegment.c: (gst_segment_set_seek):
11959 When seeking to stop -1, set last_stop (current position) to the
11960 duration of the segment.
11962 2006-10-13 Wim Taymans <wim@fluendo.com>
11964 * gst/gstelement.h:
11965 Clarify _NO_PREROLL a bit more.
11970 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
11971 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
11972 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
11973 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
11974 due to wrong locking order. Fixes #361769.
11975 Remove some redundant/misplaced checks in pad_block.
11977 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11978 For negative rates, count backwards from the duration.
11980 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
11982 * gst/gsterror.c: (_gst_library_errors_init):
11983 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
11984 up with something better).
11986 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
11988 * win32/vs6/libgstreamer.dsp:
11989 * win32/vs7/libgstreamer.vcproj:
11990 * win32/vs8/libgstreamer.vcproj:
11991 Don't reference glib-compat.c which is currently not used and not
11992 disted; add gstquark.c which was recently added. Fixes #361730.
11994 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
11996 * win32/common/libgstbase.def:
11997 * win32/common/libgstcontroller.def:
11998 * win32/common/libgstreamer.def:
11999 Add gst_caps_merge() and a bunch of other recently-added functions.
12002 2006-10-11 Wim Taymans <wim@fluendo.com>
12004 * docs/plugins/gstreamer-plugins.args:
12005 * docs/plugins/inspect/plugin-coreelements.xml:
12006 * docs/plugins/inspect/plugin-coreindexers.xml:
12007 Update element args.
12009 * gst/gstsystemclock.c:
12010 Small comment update.
12012 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
12013 (gst_tee_request_new_pad), (gst_tee_release_pad),
12014 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
12015 (gst_tee_sink_activate_pull):
12016 * plugins/elements/gsttee.h:
12018 Add default property defines.
12019 Implement release pad function.
12020 Give properties better blubs etc.
12021 Activate pads before adding them to a running tee.
12022 Do simple buffer_alloc on the first requested pad.
12023 Post error when activation fails.
12025 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
12027 * gst/gst.c: (ensure_current_registry_forking):
12028 Check return value of write() to make compiler happy.
12030 2006-10-11 Wim Taymans <wim@fluendo.com>
12032 Patch by: Sjoerd Simons <sjoerd at luon dot net>
12034 * plugins/elements/gstqueue.c: (gst_queue_chain):
12035 Recheck queue filledness after signalling the overrun when we're about
12036 to leak downstream because we released the lock when emitting the signal
12037 and the queue could be empty again. Fixes #352345.
12039 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
12041 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
12042 Fix refcounting here too, just like we did for _new_valist() a few
12043 days ago (#357180) (thanks to René Stadler). Also remove all those
12044 'Since: 0.9' from the gtk-doc blobs.
12046 * tests/check/libs/controller.c: (controller_refcount_new_list),
12047 (gst_controller_suite):
12048 Unit test for the above.
12050 2006-10-10 Wim Taymans <wim@fluendo.com>
12052 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
12054 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
12055 (gst_pad_save_thyself):
12057 Write pad direction in XML output. Fixes #345496.
12059 2006-10-10 Wim Taymans <wim@fluendo.com>
12061 Patch by: René Stadler <mail at renestadler dot de>
12063 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12064 (gst_controller_new_list), (_gst_controller_dispose),
12065 (_gst_controller_finalize), (_gst_controller_class_init):
12066 Take ref to controlled object so that it cannot disappear.
12069 2006-10-10 Wim Taymans <wim@fluendo.com>
12071 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
12072 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
12073 (gst_check_teardown_sink_pad):
12074 Activate/deactivate pads in setup/teardown respectively.
12076 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12078 Patch by: Josep Torra Valles <josep@fluendo.com>
12081 Cast values when making gstenumtypes.h. This pacifies Forte
12082 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
12083 in the enumeration.
12085 2006-10-09 Wim Taymans <wim@fluendo.com>
12087 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
12088 Rename some more @cur to @start to fix docs.
12090 * gst/gstsegment.c: (gst_segment_set_seek):
12092 time and start must always stay in sync as defined in design doc.
12094 * gst/gsttaglist.c: (gst_tag_list_is_empty):
12095 Rename param to fix docs.
12097 * tests/check/gst/gstsegment.c: (GST_START_TEST):
12098 Check that start and time are in sync.
12100 * tests/check/pipelines/parse-launch.c:
12101 (gst_parse_test_element_change_state):
12102 Activate pad before adding to the element.
12104 2006-10-09 Wim Taymans <wim@fluendo.com>
12106 * docs/design/part-qos.txt:
12111 Update seek event docs regarding negative rates.
12112 Rename @cur to @start.
12114 * gst/gstsegment.c: (gst_segment_set_seek):
12115 * gst/gstsegment.h:
12116 Update set_seek docs regarding negative rates.
12117 Correctly update last_stop to @stop when dealing with negative
12119 Rename @cur to @start.
12121 * tests/check/gst/gstpad.c: (GST_START_TEST):
12122 Activate pads before trying to use them.
12124 * tests/check/gst/gstsegment.c: (GST_START_TEST),
12125 (gst_segment_suite):
12126 Add simple check for segments and negative rates.
12128 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
12130 * gst/gsttaglist.c: (gst_tag_list_is_empty):
12131 * gst/gsttaglist.h:
12132 * docs/gst/gstreamer-sections.txt:
12133 API: add gst_tag_list_is_empty() (#360467).
12135 * tests/check/gst/gsttag.c: (GST_START_TEST):
12138 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12140 * gst/gstmessage.h:
12141 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
12142 a value that doesn't fit on enumeration.
12144 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12146 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12147 Remove local debugging system and use Gstreamer's instead.
12149 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12151 Patch by: Josep Torra Valles <josep@fluendo.com>
12153 * common/m4/gst-error.m4:
12154 Disable warning of statement not reached on Forte.
12155 * gst/gstmessage.h:
12156 Fix warning on Forte (value doesn't fit on enumeration).
12157 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
12158 Fix warning on Forte (value doesn't fit on enumeration).
12159 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12160 DEBUG macro says it takes minimum of 2 args and so Forte
12161 complains about the use with just 1 arg.
12162 * plugins/elements/gstfdsink.c:
12163 * plugins/elements/gstfdsrc.c:
12164 * plugins/elements/gstfilesink.c:
12165 * plugins/elements/gstfilesrc.c:
12166 Use correct return type for the uri handler implementations.
12168 All these fix warnings in Forte. Fixes bug #360860.
12170 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
12172 * gst/gstelement.h:
12173 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
12174 format string, so don't use G_GNUC_PRINTF for those versions.
12176 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
12178 * gst/gsttaglist.c: (gst_is_tag_list):
12179 * gst/gsttaglist.h:
12180 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
12182 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
12183 Small test for the above.
12185 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
12187 * gst/gsttaglist.h:
12188 Less tabs, more spaces.
12190 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
12193 Those two function declarations do actually belong there, revert
12194 commit from yesterday that turned them intro macros.
12196 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12198 Patch by: Josep Torra Valles <josep@fluendo.com>
12200 * gst/gst.c: (gst_init_get_option_group):
12201 Fix empty declaration and type mismatch.
12202 * gst/gstbin.c: (gst_bin_change_state_func):
12204 * gst/gstelement.c: (gst_element_continue_state),
12205 (gst_element_set_state_func), (gst_element_change_state),
12206 (gst_element_change_state_func):
12207 Fix type mismatches.
12208 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
12209 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
12210 Cast as appropriate.
12211 * gst/gstobject.c: (gst_class_signal_connect):
12212 Cast as appropriate. The function pointer parameter really
12213 has the wrong type but would break API if we change it.
12215 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
12216 order of including string.h.
12217 * gst/gstutils.c: (gst_element_state_get_name):
12218 Remove unreachable line.
12219 * gst/gstxml.c: (gst_xml_parse_doc):
12221 All these caught by Forte.
12223 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12225 Patch by: Josep Torra Valles <josep@fluendo.com>
12227 * common/m4/gst-error.m4:
12229 We need to disable warnings on Forte for empty declarations
12230 due to gst-indent adding ;s to lines that just use macros
12231 where the macro actually doesn't need a ; at end to end
12234 2006-10-06 Wim Taymans <wim@fluendo.com>
12236 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
12237 (gst_file_sink_close_file), (gst_file_sink_event),
12238 (gst_file_sink_render):
12239 Add some FIXME for the NEWSEGMENT handling.
12241 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12243 * gst/parse/grammar.y:
12244 Remove static function gst_parse_element_lock as all it does
12245 is return. Looks like cruft from 0.8.
12247 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12249 Patch by: Josep Torra Valles <josep@fluendo.com>
12251 * common/m4/gst-error.m4:
12253 * libs/gst/net/Makefile.am:
12254 Fix a compilation issue with Forte on Solaris. inet_aton is in
12257 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
12259 * gst/gstpad.c: (pre_activate):
12260 * gst/gstregistry.c: (gst_registry_scan_path_level):
12261 * gst/gstregistryxml.c: (load_plugin):
12262 * libs/gst/controller/gstcontroller.c:
12263 (gst_controlled_property_set_interpolation_mode):
12264 * libs/gst/dataprotocol/dataprotocol.c:
12265 (gst_dp_packet_from_event_1_0):
12266 * libs/gst/net/gstnetclientclock.c:
12267 (gst_net_client_clock_observe_times):
12268 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
12271 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
12274 * docs/gst/gstreamer-sections.txt:
12275 * gst/gstconfig.h.in:
12276 * gst/gstelement.h:
12278 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
12279 whether we can use G_GNUC_PRINTF in other header files and at
12280 least check the printf format/arguments of debug messages and
12281 GST_ELEMENT_ERROR messages when the printf extension is not
12283 Replace more tabs with spaces in gstinfo.h and remove two spurious
12284 function declarations in GST_DISABLE_DEBUG part with macros.
12286 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
12288 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
12289 More docs for the sync-message signal (mention that it is not
12290 emitted by default); log message structures of messages posted on
12293 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
12295 * gst/gst.c: (ensure_current_registry_forking):
12296 Use a pipe pair to receive status results from the forked child, and
12297 ignore the result from waitpid. Fixes #355499
12299 2006-10-02 Wim Taymans <wim@fluendo.com>
12301 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12302 (gst_ghost_pad_suite):
12305 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
12308 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
12310 2006-10-02 Edward Hervey <edward@fluendo.com>
12312 * docs/design/part-block.txt:
12313 Further explain the use of flushing on blocked pads.
12314 * docs/gst/gstreamer-sections.txt:
12315 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
12316 (gst_pad_push_event):
12318 Added new GstPadFlag : GST_PAD_BLOCKING.
12319 Adds the notion of pads really blocking, which enables to properly
12320 handle FLUSH_START/FLUSH_STOP events on blocked pads.
12322 API: gst_pad_is_blocking()
12323 API: GST_PAD_IS_BLOCKING() macro
12324 API: GST_PAD_BLOCKING GstPadFlag
12326 2006-10-02 Wim Taymans <wim@fluendo.com>
12328 Patch by: mrcgran <mrc.gran at gmail dot com>
12330 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
12331 Filter the proxied caps against the padtemplate if we have one.
12333 * gst/gstquery.c: (gst_query_new_segment):
12334 Add include for gstinfo.h so that compilation with
12335 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
12337 2006-10-02 Wim Taymans <wim@fluendo.com>
12339 Patch by: Alessandro Decina <alessandro at nnva org>
12341 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
12342 (gst_file_sink_set_location), (gst_file_sink_open_file),
12343 (gst_file_sink_close_file), (gst_file_sink_event),
12344 (gst_file_sink_render):
12345 Set file to NULL when closing filesink so that we can set a new filename
12346 in READY. Fixes #358613.
12348 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
12350 Patch by: Alessandro Decina <alessandro at nnva org>
12352 * gst/gstevent.c: (_gst_event_copy):
12353 Fix gst_mini_object_make_writable() and gst_event_copy() for events
12354 with event structures by setting the parent refcount address of the
12355 copied structure to the address of the refcount member of the newly
12356 copied event rather than the address of the refcount member of the
12357 original event. Fixes #358737.
12359 * tests/check/gst/gstevent.c: (GST_START_TEST):
12360 Unit test for the above.
12362 2006-09-29 Stefan Kost <ensonic@users.sf.net>
12364 * docs/design/Makefile.am:
12365 Dist some more files.
12367 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
12369 * tests/check/libs/controller.c: (GST_START_TEST),
12370 (gst_controller_suite):
12371 Add test for the previous fix; add some more tests
12372 for correct refcounting behaviour; fix a few leaks
12373 in test cases; call gst_controller_init() at start
12376 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
12378 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12379 (gst_controller_set_from_list):
12380 Don't g_return_val_if_fail() on timed values with invalid timestamps
12381 inside a critical section without unlocking the mutex. Spotted by
12382 René Stadler. (#357617)
12383 Also, fix up refcounting properly: when returning an existing
12384 controller, we should increase the reference only once and not
12385 once per property and when trying to control a property again
12386 we should also increase the refcount.
12388 2006-09-29 Wim Taymans <wim@fluendo.com>
12390 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12391 * libs/gst/net/gstnettimeprovider.c:
12392 (gst_net_time_provider_thread):
12393 Stop reading commands when EOF as well.
12395 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
12396 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
12397 * plugins/elements/gstidentity.c: (gst_identity_class_init):
12398 Unify description of the dump property.
12400 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12402 * tests/examples/manual/.cvsignore:
12403 OK, so it's actually cvsignore that needs changing. Stop laughing.
12405 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12407 * tests/examples/manual/Makefile.am:
12408 Gah, declare vars *before* using them
12410 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12412 * gst/gst.c: (init_pre), (scan_and_update_registry),
12413 (ensure_current_registry_nonforking),
12414 (ensure_current_registry_forking), (ensure_current_registry),
12415 (init_post), (gst_debug_help), (gst_deinit):
12416 * gst/gst_private.h:
12417 * gst/gstregistry.c: (gst_registry_finalize),
12418 (gst_registry_remove_features_for_plugin_unlocked),
12419 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12420 (gst_registry_scan_path),
12421 (_priv_gst_registry_remove_cache_plugins),
12422 (_priv_gst_registry_cleanup):
12423 * gst/gstregistry.h:
12424 Re-commit the registry changes, along with an extra fix:
12425 When a cached plugin is encountered at a different file path,
12426 update the stored path in the registry cache so that the parent
12427 process knows where it actually is now when it re-reads the registry
12428 cache. Fixes the thing that broke distcheck with the previous commit.
12430 * tests/check/Makefile.am:
12431 Clean up files named 'core' too when running make clean.
12433 * tests/examples/manual/Makefile.am:
12434 Set up a registry path for running these tests, and clean it properly
12437 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12440 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
12441 want gmodule-no-export-2.0.pc instead so that we don't drag in
12442 --export-dynamic on every project that links to GStreamer.
12444 Also, make our export regex only match the start of symbols, rather
12445 than any symbol that contains '_gst' somewhere.
12447 * libs/gst/check/Makefile.am:
12448 The libgstcheck we build does however need export-dynamic, as it
12449 produces some symbols that don't match our _gst... style regex.
12452 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
12454 * gst/gst.c: (init_pre), (scan_and_update_registry),
12455 (ensure_current_registry_nonforking),
12456 (ensure_current_registry_forking), (ensure_current_registry),
12457 (init_post), (gst_debug_help), (gst_deinit):
12458 * gst/gst_private.h:
12459 * gst/gstregistry.c: (gst_registry_finalize),
12460 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12461 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
12462 (_gst_registry_cleanup):
12463 * gst/gstregistry.h:
12464 Revert previous change until I figure out why it breaks distcheck.
12466 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
12468 * gst/gst.c: (init_pre), (scan_and_update_registry),
12469 (ensure_current_registry_nonforking),
12470 (ensure_current_registry_forking), (ensure_current_registry),
12471 (init_post), (gst_debug_help), (gst_deinit):
12473 Make init_pre and init_post take the full complement of GOptionFunc
12474 args so they can return useful GErrors. Make the registry updating
12477 Call _priv_gst_registry_remove_cache_plugins after scanning files to
12478 ensure that the registry we're about to write out doesn't contain
12479 stale information about old-deleted plugin files.
12481 Make _priv_gst_registry_remove_cache_plugins return a boolean so
12482 that deletion of plugin files is considered a registry change.
12484 * gst/gst_private.h:
12485 * gst/gstregistry.c: (gst_registry_finalize),
12486 (gst_registry_remove_features_for_plugin_unlocked),
12487 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12488 (gst_registry_scan_path),
12489 (_priv_gst_registry_remove_cache_plugins),
12490 (_priv_gst_registry_cleanup):
12491 * gst/gstregistry.h:
12492 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
12493 by adding _priv prefix, so that they won't appear in the global
12494 symbol table. They still do atm though because of #318031. Move the
12495 prototypes to gst_private.h
12497 When removing a plugin, remove all features for that plugin too.
12500 2006-09-27 Wim Taymans <wim@fluendo.com>
12502 * docs/random/moving-plugins:
12503 Make it clear that the "compiled-in descriptions" really mean
12504 the element details.
12506 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12507 (gst_base_sink_wait_preroll):
12510 * docs/libs/gstreamer-libs-sections.txt:
12511 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
12512 (gst_base_src_get_range), (gst_base_src_activate_push):
12513 * libs/gst/base/gstbasesrc.h:
12514 Added function to block while waiting for PLAYING, this function
12515 is used by live sources that block on the clock.
12516 API: gst_base_src_wait_playing()
12518 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
12520 Patch by: Peter Kjellerstedt <pkj at axis com>
12523 gst-element-check.m4 is generated and should therefore be
12524 copied from the build dir rather than the source dir (#357593).
12525 'make distcheck' hasn't noticed this because we were disting
12526 the file as well, so stop doing that.
12528 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
12530 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12531 Add some tests for gst_caps_intersect().
12533 * tools/gst-launch.c: (event_loop):
12534 Print all buffering percentages we get, even the 100% one.
12536 2006-09-26 Wim Taymans <wim@fluendo.com>
12538 * tools/gst-inspect.c: (print_element_properties_info),
12539 (print_signal_info):
12540 Fix printing of flags to match the look of enums.
12542 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12544 * gst/gstelementfactory.c:
12545 Fix typo in docs blurb.
12547 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12549 * gst/gsturi.c: (search_by_entry):
12550 Don't assert/crash here if a uri handler doesn't return any
12551 supported protocols. The list of protocols could be generated
12552 dynamically at runtime or at plugin registration, and an error
12553 in the underlying library shouldn't be fatal (#353301).
12555 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12558 Fix warning if HAVE_PRINTF_EXTENSION is undefined
12559 (spotted by Peter Kjellerstedt).
12561 2006-09-23 Wim Taymans <wim@fluendo.com>
12563 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
12565 * libs/gst/base/gstbasesrc.c:
12566 (gst_base_src_default_check_get_range), (gst_base_src_start),
12567 (gst_base_src_activate_push), (gst_base_src_activate_pull),
12568 (gst_base_src_change_state):
12569 Match _start/_stop calls in the activate functions. Remove redundant
12570 _stop call from the state change function. Fixes #356910.
12571 Turn failure DEBUG into ERROR.
12573 2006-09-22 Wim Taymans <wim@fluendo.com>
12575 * docs/design/part-buffering.txt:
12576 * gst/gstmessage.c: (gst_message_new_buffering),
12577 (gst_message_parse_buffering):
12578 Update docs about buffering.
12580 * docs/design/part-trickmodes.txt:
12583 2006-09-22 Stefan Kost <ensonic@users.sf.net>
12585 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12586 (gst_controller_new_list):
12587 Ref instances when returning them again (fixes #357180)
12589 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
12591 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
12592 Don't forget to release proxy lock when there's an error.
12594 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
12597 Add extra initialisers for Caps things, to fix some plugin warnings
12600 2006-09-18 Wim Taymans <wim@fluendo.com>
12602 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
12603 Also set template on the internal pad so that a getcaps from the
12604 target pad returns the template caps.
12606 2006-09-18 Wim Taymans <wim@fluendo.com>
12608 * gst/gstelement.c: (gst_element_post_message),
12609 (gst_element_dispose):
12610 Use _DEBUG_OBJECT some more.
12612 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12615 * tools/gst-launch.c: (main):
12616 If the toplevel element is not a GstPipeline, it must be put in a
12617 pipeline so that a bus and clock is selected.
12619 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
12621 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
12622 JITTER, RATE, and LATENCY query should be handled by the
12623 default case and not by the CONVERT query code.
12625 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
12627 * gst/gstformat.c: (gst_format_register):
12628 Fix locking order (must take lock before using n_values).
12630 * gst/gstvalue.c: (gst_value_serialize_enum),
12631 (gst_value_deserialize_enum_iter_cmp),
12632 (gst_value_deserialize_enum):
12633 Fix serialisation/deserialisation of custom registered GstFormats.
12635 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12636 Unit test for custom format serialisation/deserialisation.
12638 2006-09-17 Stefan Kost <ensonic@users.sf.net>
12640 * docs/pwg/building-boiler.xml:
12641 * plugins/elements/gstcapsfilter.c:
12642 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
12645 2006-09-16 Edward Hervey <edward@fluendo.com>
12647 * libs/gst/base/gstbasetransform.c:
12648 (gst_base_transform_buffer_alloc):
12649 Check if requested caps are the same as the sinks caps IF
12650 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
12652 This fixes the renegotiation issues stated in #352827.
12654 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12657 * docs/manual/advanced-autoplugging.xml:
12658 * tests/examples/Makefile.am:
12659 * tests/examples/manual/.cvsignore:
12660 * tests/examples/manual/Makefile.am:
12661 * tests/examples/manual/extract.pl:
12662 Extract the manual examples again like we used to do.
12665 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12667 * win32/common/config.h:
12670 2006-09-16 Stefan Kost <ensonic@users.sf.net>
12673 Documents how to receive errors.
12675 2006-09-15 Wim Taymans <wim@fluendo.com>
12677 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
12678 (event_loop), (main):
12679 Added some comments here and there.
12680 Post an application message when an interrupt is caught instead of doing
12681 an uncontrolled state change.
12682 Clean up the event loop.
12683 Handle buffering messages, pause/resume the pipeline.
12684 Make shutdown because of an interrupt more reliable.
12686 2006-09-15 Wim Taymans <wim@fluendo.com>
12688 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12689 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
12690 (gst_base_sink_preroll_object):
12691 Make sure that our internal state is correct when we commit our state
12692 asynchronously. This solves a race where a state change to PLAYING
12693 could cause the sink to remain blocked in preroll in some situations.
12695 2006-09-15 Wim Taymans <wim@fluendo.com>
12697 * tools/gst-inspect.c: (print_element_properties_info),
12698 (print_signal_info):
12699 List flags as hex so it's easier to deal with.
12701 2006-09-15 Wim Taymans <wim@fluendo.com>
12703 * docs/libs/gstreamer-libs-sections.txt:
12704 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
12705 (gst_base_sink_do_sync):
12706 * libs/gst/base/gstbasesink.h:
12707 Expose logic to wait for preroll so that subclasses such as audiosink
12708 can also use this method.
12709 API: gst_base_sink_wait_preroll()
12711 2006-09-15 Wim Taymans <wim@fluendo.com>
12713 * gst/gstobject.c: (gst_object_set_parent):
12714 * gst/gstpipeline.c: (do_pipeline_seek):
12715 Small cleanups in docs and code.
12717 * gst/gstsegment.c: (gst_segment_clip):
12718 * tests/check/gst/gstsegment.c: (GST_START_TEST):
12719 if stop == start and start is in the segment, no clipping should be
12720 done. Also add a test for this.
12722 2006-09-15 Wim Taymans <wim@fluendo.com>
12724 * docs/design/part-buffering.txt:
12725 * docs/gst/gstreamer-sections.txt:
12726 * gst/gstmessage.c: (gst_message_new_buffering),
12727 (gst_message_parse_buffering):
12728 * gst/gstmessage.h:
12729 Added methods to create and parse BUFFERING messages.
12730 Added preliminary docs about buffering.
12731 API: gst_message_new_buffering
12732 API: gst_message_parse_buffering
12734 2006-09-06 Wim Taymans <wim@fluendo.com>
12737 Update documentation.
12739 * gst/gstelement.c: (gst_element_class_init),
12740 (gst_element_release_request_pad), (gst_element_set_clock),
12741 (gst_element_get_index), (gst_element_add_pad),
12742 (gst_element_remove_pad), (gst_element_get_random_pad),
12743 (gst_element_send_event), (gst_element_get_query_types),
12744 (gst_element_query), (gst_element_post_message),
12745 (gst_element_message_full), (gst_element_continue_state),
12746 (gst_element_lost_state), (gst_element_save_thyself),
12747 (gst_element_restore_thyself):
12748 Documentation updates.
12749 Rename last bit of the new-pad -> pad-added signal rename.
12750 Fix the case where an element query would only work if the source
12752 Avoid some useless type checking in message handling.
12757 Documentation updates.
12759 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12761 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
12762 add an INFO line for when we actually update the fd
12764 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12769 === release 0.10.10 ===
12771 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12774 releasing 0.10.10, "Pais"
12776 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
12778 * docs/manual/advanced-position.xml:
12779 Fix typo in sample code.
12781 2006-09-05 Wim Taymans <wim@fluendo.com>
12783 * libs/gst/net/gstnetclientclock.c: (inet_aton),
12784 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12785 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
12786 * libs/gst/net/gstnetclientclock.h:
12787 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12788 * libs/gst/net/gstnettimepacket.h:
12789 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
12790 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
12791 (gst_net_time_provider_thread), (gst_net_time_provider_new):
12792 * libs/gst/net/gstnettimeprovider.h:
12793 Make stuff compile on windows. Fixes #345295.
12795 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
12797 * gst/gst.c: (ensure_current_registry_forking):
12798 Print better details when child was terminated by signal.
12800 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
12802 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
12803 Print a warning rather than g_assert() if a plugin feature
12804 is a URI handler but returns no protocols (#353976).
12806 2006-09-02 Stefan Kost <ensonic@users.sf.net>
12808 * docs/random/moving-plugins:
12811 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
12813 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
12814 Fix locking order, handle NULL function values properly.
12819 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
12820 Initialise variable before using it and fix debug statement to
12821 print the address of the function rather than the address of the
12822 variable on the stack holding the address of the function.
12824 2006-09-01 Wim Taymans <wim@fluendo.com>
12826 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
12827 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
12828 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
12829 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
12830 (gst_ghost_pad_parent_unset),
12831 (gst_ghost_pad_internal_do_activate_push),
12832 (gst_ghost_pad_internal_do_activate_pull),
12833 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12834 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12835 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12836 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
12837 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
12838 (gst_ghost_pad_new_no_target_from_template),
12839 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
12841 Avoid needless typechecking in macros.
12842 Since the internal pad is always present and never changes, there is
12843 no need to locking or ref when retrieving it.
12844 Improve debugging a bit.
12845 Handle link errors when setting the target. Fixes #341029.
12847 2006-09-01 Wim Taymans <wim@fluendo.com>
12849 * docs/libs/gstreamer-libs-sections.txt:
12850 * docs/plugins/gstreamer-plugins-sections.txt:
12851 Fix docs some more.
12853 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12854 (gst_collect_pads_event):
12855 * libs/gst/base/gstcollectpads.h:
12856 Documentation updates.
12857 Free queued buffer when removing a pad.
12859 2006-08-31 Michael Smith <msmith@fluendo.com>
12861 * gst/gstutils.c: (gst_element_link_pads),
12862 (gst_element_link_pads_filtered):
12863 Ensure that we set a capsfilter to NULL if we failed to link it
12864 when doing filtered linking, to avoid criticals.
12866 No need to check for unreffing srcpad, which is explicly NULLed
12867 above (a trivial code cleanup).
12869 2006-08-31 Wim Taymans <wim@fluendo.com>
12871 * docs/design/part-gstghostpad.txt:
12872 Update ascii art in documentation.
12874 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
12875 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
12876 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12877 (gst_ghost_pad_internal_do_activate_push),
12878 (gst_ghost_pad_internal_do_activate_pull),
12879 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12880 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12881 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
12882 (gst_ghost_pad_set_target):
12883 Small cleanups and leak fixes.
12884 Remove some checks now that the internal pad is never NULL.
12885 Fix the case where linking pads without a target would create nasty
12886 criticals. Fixes #341029.
12887 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
12888 value of _set_target().
12890 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12891 (gst_ghost_pad_suite):
12892 Some more tests for creating and linking untargeted ghostpads.
12894 2006-08-31 Edward Hervey <edward@fluendo.com>
12896 * docs/gst/gstreamer-sections.txt:
12897 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
12898 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12899 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
12900 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
12901 (gst_ghost_pad_new_from_template),
12902 (gst_ghost_pad_new_no_target_from_template):
12903 * gst/gstghostpad.h:
12904 Refactored *_new() functions.
12905 Templates are now used as a g_object_new() parameter.
12906 Use template in _do_getcaps() if we don't have a target.
12907 Small documentation cleanups.
12908 Added two new constructors:
12909 gst_ghost_pad_new_from_template()
12910 gst_ghost_pad_new_no_target_from_template()
12911 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12912 (gst_ghost_pad_suite):
12913 Added tests for new ghostpad instanciation functions.
12915 API additions: gst_ghost_pad_new_from_template,
12916 gst_ghost_pad_new_no_target_from_template
12918 2006-08-30 Stefan Kost <ensonic@users.sf.net>
12920 * docs/random/ensonic/profiling.txt:
12921 Ideas about qos profiling.
12923 2006-08-29 Wim Taymans <wim@fluendo.com>
12925 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
12929 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
12932 Improve and detypofy docs.
12934 * tests/check/Makefile.am:
12935 * tests/check/gst/.cvsignore:
12936 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
12937 Add a basic test suite for GstXML.
12939 2006-08-29 Wim Taymans <wim@fluendo.com>
12941 * gst/gstelement.c: (activate_pads), (clear_caps),
12942 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
12943 Clear the pad caps when the element shut down all of the pads and
12944 is not streaming data that could modify the caps.
12947 2006-08-28 Michael Smith <msmith@fluendo.com>
12949 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12950 Revert previous change; I misunderstood single-segment mode.
12952 2006-08-28 Michael Smith <msmith@fluendo.com>
12954 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12955 Unset DISCONT on buffers when using single-segment mode.
12957 2006-08-28 Wim Taymans <wim@fluendo.com>
12959 * gst/gstcaps.c: (gst_caps_merge_structure):
12961 Fix docs and indentation again.
12963 * tests/check/gst/gstquery.c: (GST_START_TEST):
12964 Fix leak in tests and add some more tests.
12966 2006-08-28 Edward Hervey <edward@fluendo.com>
12968 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12969 Inform GstSegment of the last stop position in order for the current
12970 segment to have a proper duration if it doesn't have a specific stop
12971 position from which a duration could be calculated.
12972 This bug was noticeable when a non-flushing, non-update new segment was
12973 followed by another segment (all buffers from the new segment were being
12976 2006-08-28 Wim Taymans <wim@fluendo.com>
12978 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
12979 Small comment update.
12981 * plugins/elements/gstidentity.c: (gst_identity_class_init),
12982 (gst_identity_transform_ip):
12983 Drop-probability is broken, mention this in the code with a
12984 FIXME and also in the property description.
12985 Make silent also be silent about the drop messages.
12987 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
12989 * docs/manual/appendix-win32.xml:
12990 Remove mention of popt, we don't depend on that any
12991 longer (#353136). Add some comments pointing out that
12992 this section is slightly outdated.
12994 2006-08-28 Wim Taymans <wim@fluendo.com>
12996 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12998 * gst/gstquery.c: (gst_query_new_segment):
12999 * tests/check/gst/gstquery.c: (GST_START_TEST):
13000 Initialize variables when creating a new segment query.
13003 2006-08-28 Wim Taymans <wim@fluendo.com>
13005 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
13007 * gst/gstelement.c: (gst_element_get_bus):
13008 * tests/check/gst/gstelement.c: (GST_START_TEST):
13009 Check for NULL before _reffing the bus. Fixes #353122.
13011 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
13013 * docs/manual/basics-bus.xml:
13014 Docs update: fix wrong callback return value explanation; add
13015 some lines about the implicit relationship between main loop
13016 and main context; remove duplicate main loop variable declaration.
13018 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
13020 * tests/check/gst/gstcaps.c: (GST_START_TEST):
13021 Don't leak caps in unit test; add a few more simple
13024 2006-08-24 Stefan Kost <ensonic@users.sf.net>
13026 * docs/gst/gstreamer-sections.txt:
13027 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
13028 (gst_caps_structure_is_subset), (gst_caps_merge),
13029 (gst_caps_merge_structure):
13031 * libs/gst/base/gstbasetransform.c:
13032 (gst_base_transform_transform_caps):
13033 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
13034 implement caps merging (fixes #352580)
13036 2006-08-23 Stefan Kost <ensonic@users.sf.net>
13038 * tools/Makefile.am:
13039 * tools/gst-plot-timeline.py:
13040 add debug-log plotting developer tool (#340674)
13042 2006-08-23 Wim Taymans <wim@fluendo.com>
13044 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
13045 (gst_pad_stop_task):
13046 Improve debugging for task functions.
13048 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
13049 (gst_task_start), (gst_task_pause), (gst_task_join):
13050 Make sure that the task function started and finished after a
13052 Don't try to push the task function on the threadpool multiple
13054 Improve the g_warning message with some useful suggestions
13055 about how to fix the problem.
13057 2006-08-23 Wim Taymans <wim@fluendo.com>
13059 * gst/gstutils.c: (gst_pad_proxy_getcaps):
13060 Handle RESYNC correctly in _proxy_getcaps.
13062 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
13064 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
13065 (gst_xml_parse_memory), (gst_xml_get_element):
13066 Chain up to parent class in dispose function and also
13067 unref the elements in the toplevel_elements GList.
13068 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
13069 Always return a reference in gst_xml_get_element() rather
13070 than only sometimes.
13072 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
13073 Don't leak GstXml object.
13075 2006-08-21 Stefan Kost <ensonic@users.sf.net>
13077 * docs/gst/gstreamer-sections.txt:
13078 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
13081 * libs/gst/base/gstbasetransform.c:
13082 (gst_base_transform_transform_caps):
13083 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
13086 2006-08-21 Edward Hervey <edward@fluendo.com>
13088 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
13089 Implement GObject::dispose virtual method in GstXML so we can free the
13090 top_elements GList.
13092 2006-08-21 Wim Taymans <wim@fluendo.com>
13094 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
13095 (gst_buffer_create_sub):
13096 Copy duration/offset_end/caps when creating a subbuffer of the
13098 Make the subbuffer read-only when we make the metadata writable for
13099 now. Fixes #351768.
13101 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13102 Added check for metadata copy when creating subbuffers.
13104 2006-08-21 Edward Hervey <edward@fluendo.com>
13106 * libs/gst/base/gstbasetransform.c:
13107 (gst_base_transform_buffer_alloc):
13108 Only call downstream buffer_alloc if transform element is passthrough
13109 or always_in_place. Closes #350449.
13111 2006-08-20 Stefan Kost <ensonic@users.sf.net>
13114 ChangeLog surgery to add comments to previous changes
13116 2006-08-20 Stefan Kost <ensonic@users.sf.net>
13121 * gst/gstpad.c: (gst_pad_set_active):
13122 Be more verbose in the log
13124 * libs/gst/base/gstbasetransform.c:
13125 (gst_base_transform_transform_caps):
13126 Simplify caps to get rid of duplicates, fixes #345444
13128 2006-08-20 Stefan Kost <ensonic@users.sf.net>
13132 Use these optimizations only internally.
13134 2006-08-20 Stefan Kost <ensonic@users.sf.net>
13136 * gst/gstvalue.c: (gst_value_compare_list),
13137 (gst_value_compare_fraction_range),
13138 (gst_value_intersect_fraction_fraction_range),
13139 (gst_value_intersect_fraction_range_fraction_range),
13140 (gst_value_subtract_fraction_fraction_range),
13141 (gst_value_subtract_fraction_range_fraction_range),
13142 (gst_value_get_compare_func), (gst_value_compare),
13143 (gst_value_compare_with_func):
13145 Saves the expensive lookup of the compare function in many cases
13148 2006-08-18 Edward Hervey <edward@fluendo.com>
13150 * tests/check/gst/gstinfo.c: (gst_info_suite):
13151 Disable test that require gstdebug if it wasn't built in core.
13153 2006-08-18 Stefan Kost <ensonic@users.sf.net>
13155 * docs/random/ensonic/logging.txt:
13158 * gst/gstinfo.c: (gst_debug_log_default):
13159 reorder fields, save some columns, add optional color codes for log
13162 2006-08-18 Stefan Kost <ensonic@users.sf.net>
13164 * docs/random/ensonic/logging.txt:
13165 add ideas about making the logs a bit more useful
13167 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
13169 * docs/pwg/advanced-events.xml:
13170 * docs/pwg/titlepage.xml:
13171 Update for 0.10 API (#340627). Add myself
13174 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
13176 * docs/libs/gstreamer-libs-docs.sgml:
13177 * docs/libs/gstreamer-libs-sections.txt:
13178 * libs/gst/check/gstbufferstraw.c:
13179 Make gstcheck stuff show up in docs (still needs to
13180 be documented properly though).
13182 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
13184 * docs/gst/gstreamer-sections.txt:
13186 * gst/gst.c: (init_post):
13187 * gst/gst_private.h:
13188 * gst/gstquark.c: (_priv_gst_quarks_initialize):
13190 * gst/gstquery.c: (gst_query_new_position),
13191 (gst_query_set_position), (gst_query_parse_position),
13192 (gst_query_new_duration), (gst_query_set_duration),
13193 (gst_query_parse_duration), (gst_query_new_convert),
13194 (gst_query_set_convert), (gst_query_parse_convert),
13195 (gst_query_new_segment), (gst_query_set_segment),
13196 (gst_query_parse_segment), (gst_query_new_seeking),
13197 (gst_query_set_seeking), (gst_query_parse_seeking):
13198 Add internal helpers for pre-registering quarks from static strings
13199 and using the quark values directly instead of looking them up when
13200 creating and parsing queries. Can be used for event construction too.
13203 2006-08-16 Wim Taymans <wim@fluendo.com>
13208 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
13210 * gst/gstutils.c: (gst_util_set_value_from_string):
13211 Fix memleak (#351502).
13213 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13214 Add unit test for most of gst_util_set_value_from_string()
13215 (not that one would want to encourage use of this function).
13217 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
13219 * libs/gst/check/gstcheck.h:
13220 Use const gchar * variables in fail_unless_equals_string
13221 macro to avoid compiler warnings (and don't use tabs for
13224 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
13226 * tools/gst-launch.c: (print_tag):
13227 More space on the left for the tag names, to cater
13228 for the 'extended comment' tag (not touching the
13229 string for the first line since it's translated).
13231 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
13233 * libs/gst/check/gstcheck.h:
13234 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
13235 print something when they fail.
13237 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
13239 * docs/gst/gstreamer-sections.txt:
13240 * gst/gsttaglist.c: (_gst_tag_initialize):
13241 * gst/gsttaglist.h:
13242 API: add GST_TAG_EXTENDED_COMMENT (#350935).
13243 Also change merge function for GST_TAG_COMMENT to
13246 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
13248 * gst/gstinfo.c: (gst_debug_print_object):
13249 Make GST_PTR_FORMAT print messages as well.
13251 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
13252 (GST_START_TEST), (gst_info_suite):
13255 2006-08-14 Edward Hervey <edward@fluendo.com>
13257 * gst/gstelementfactory.c: (gst_element_register):
13258 If the GstElementClass doesn't have a GstElementDetails with all fields
13259 filled up correctly (longname, description AND author), then error out
13260 nicely instead of crashing.
13262 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
13264 * gst/gststructure.c:
13265 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
13268 Expand on the difference between arrays and lists as we use them.
13270 2006-08-14 Wim Taymans <wim@fluendo.com>
13272 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
13273 If the parent state change function failed, don't assume we can safely
13274 stop the source, this will be done when the pads are deactivated.
13276 2006-08-14 Wim Taymans <wim@fluendo.com>
13279 * gst/gsttask.c: (gst_task_join):
13282 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
13283 (gst_pad_stop_task):
13284 When pad (de)activation failed for some reason, restore the old
13285 activation mode and set the pad to flushing instead of assuming the
13286 pad is deactivated.
13287 If the _task_join() failed, reinstall the task on the pad so that it can
13288 be stopped later and return an error.
13290 2006-08-11 Andy Wingo <wingo@pobox.com>
13293 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13294 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
13295 is only for users of API that don't want to see deprecated
13296 functions in the headers; people that want to compile out
13297 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
13298 CFLAGS. Fixes the build of multifdsink, or will soon..
13300 2006-08-11 Wim Taymans <wim@fluendo.com>
13302 * docs/gst/gstreamer-sections.txt:
13303 Add GstClockClass vmethod docs.
13306 Mark #endif with comment for associated #if
13308 * gst/gstclock.c: (gst_clock_id_wait):
13310 Add vmethod wait_jitter to avoid an unneeded _get_time() for
13311 most clock implementations.
13313 Flesh out docs about resolution methods.
13314 API: GstClockClass::wait_jitter
13316 * gst/gstsystemclock.c: (gst_system_clock_class_init),
13317 (gst_system_clock_async_thread),
13318 (gst_system_clock_id_wait_jitter_unlocked),
13319 (gst_system_clock_id_wait_jitter):
13320 Use base class wait_jitter variant for improved performance
13321 due to less clock polling.
13323 2006-08-11 Edward Hervey <edward@fluendo.com>
13325 * gst/gst.c: (gst_init_check), (init_post):
13326 Set gst as being initialized before scanning/updating the registry,
13327 since there might be my python plugin loader that calls gst_init() and
13328 we don't want to loop back in.
13331 2006-08-11 Wim Taymans <wim@fluendo.com>
13333 * docs/design/part-qos.txt:
13334 Bring docs in line with the code. Mostly the sign of the jitter was
13335 wrong in the docs. Fixes #349943.
13338 Fix the docs for the jitter.
13340 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
13341 (gst_event_parse_tag), (gst_event_new_buffer_size),
13342 (gst_event_parse_buffer_size), (gst_event_parse_qos),
13343 (gst_event_new_seek), (gst_event_parse_seek),
13344 (gst_event_new_navigation):
13345 Make sure the GstStructure has no parent when creating custom
13347 Add some more argument checking so that we avoid 0.0 rates.
13348 Flesh out the docs for the QoS event some more.
13350 2006-08-11 Wim Taymans <wim@fluendo.com>
13352 * docs/gst/gstreamer-sections.txt:
13353 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
13354 (ensure_current_registry_forking), (ensure_current_registry),
13355 (parse_one_option), (parse_goption_arg), (gst_deinit),
13356 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
13359 Added API and command line option to disable registry forking in
13360 addition to the environment variable.
13361 Constify some static arrays.
13362 Added some more debug.
13363 Don't deinit twice.
13364 API: gst_registry_fork_is_enabled()
13365 API: gst_registry_fork_set_enabled()
13366 API: --gst-disable-registry-fork command line option
13369 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
13371 * gst/gst.c: (gst_init):
13372 Fix typo in error message.
13374 2006-08-10 Stefan Kost <ensonic@users.sf.net>
13376 * libs/gst/controller/gstcontroller.h:
13377 fix ABI size-correction
13379 * tests/check/libs/gdp.c: (gst_dp_suite):
13380 make tests that use deprecated API conditional
13382 2006-08-10 Stefan Kost <ensonic@users.sf.net>
13384 * docs/libs/gstreamer-libs-sections.txt:
13385 * libs/gst/controller/gstcontroller.c:
13386 (_gst_controller_get_property), (_gst_controller_set_property),
13387 (_gst_controller_init), (_gst_controller_class_init):
13388 * libs/gst/controller/gstcontroller.h:
13389 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
13390 (gst_object_set_control_rate):
13391 API: add gst_object_{s,g}et_control_rate(), add private data section,
13394 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13395 * libs/gst/dataprotocol/dataprotocol.h:
13396 add deprecation guards to make gtk-doc happy and allow disabling cruft
13398 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
13400 * tests/check/Makefile.am:
13401 * tests/check/gst/.cvsignore:
13402 Let's enable the new unit test as well.
13404 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
13407 * docs/gst/gstreamer-sections.txt:
13408 * gst/gstconfig.h.in:
13409 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
13410 (_gst_info_printf_extension_ptr),
13411 (_gst_info_printf_extension_segment):
13412 API: add GST_SEGMENT_FORMAT, which is a printf extension we
13413 register that lets us easily dump GstSegments into debug
13416 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
13417 (info_segment_format_printf_extension), (gst_info_suite):
13418 Add simple unit test that logs a bunch of different segments (not
13419 valgrinded at the moment because of leaks in
13420 gst_debug_add_log_function).
13422 2006-08-09 Edward Hervey <edward@fluendo.com>
13424 * libs/gst/base/gstbasetransform.c:
13425 (gst_base_transform_buffer_alloc):
13426 Even if we can't figure out the proper format to request downstream,
13427 call buffer_alloc() downstream with the input parameters without setting
13428 the caps on the srcpad. This will force negotiation in the chain
13432 2006-08-08 Edward Hervey <edward@fluendo.com>
13434 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
13435 Unlinking from a pad without a target is now a perfectly valid case
13436 which should NOT raise an assertion.
13437 This case would happen if a linked ghostpad its target set to NULL after
13438 it was previously linked.
13440 2006-08-08 Edward Hervey <edward@fluendo.com>
13442 * tests/check/libs/gdp.c:
13443 Also comment out the test (see below).
13445 2006-08-08 Edward Hervey <edward@fluendo.com>
13447 * tests/check/libs/gdp.c: (gst_dp_suite):
13448 Use the architecture information from config.h and not gcc macros
13449 in order to properly disable a test that fails on PPC64.
13451 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
13453 * gst/gstelement.c: (gst_element_remove_pad):
13454 Don't crash printing the warning if the pad has no parent.
13456 2006-08-02 Wim Taymans <wim@fluendo.com>
13458 * libs/gst/dataprotocol/dataprotocol.c:
13459 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
13460 (gst_dp_crc), (gst_dp_header_payload_length),
13461 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
13462 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
13463 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
13464 (gst_dp_event_from_packet), (gst_dp_validate_header),
13465 (gst_dp_validate_payload):
13466 Make debug category static
13467 Constify the crc table.
13468 Do some more arg checking in public functions.
13469 Fix some docs and do some small cleanups.
13471 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
13472 Add some more checks to see if GDP deals with bogus input.
13474 2006-07-31 Wim Taymans <wim@fluendo.com>
13476 * gst/gstvalue.c: (gst_value_compare_list):
13477 Fix GstValueList comparison code. Fixes #347293.
13479 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13480 Check to test GstValueList comparison.
13482 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
13484 * gst/gstelementfactory.c: (gst_element_factory_create):
13485 Remove unnecessary ref/unref pair
13487 * gst/parse/grammar.y:
13488 Make sure to free the parse buffer on all code paths.
13489 Move a g_free up to the error handler where it's easier to see.
13491 * tests/check/gst/gstevent.c: (test_event):
13492 Extending timeout for downstream travelling events to 10 seconds to
13493 hopefully avoid intermittent failure on the buildbots.
13495 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
13496 Don't manually set the state of the src element - it will happen as a
13497 natural consequence of the pipeline changing state, and that way it
13498 will do it in the right order too.
13500 2006-07-31 Wim Taymans <wim@fluendo.com>
13502 * libs/gst/base/gstbasetransform.c:
13503 (gst_base_transform_buffer_alloc):
13504 Use OBJECT_LOCK and refcounting to get the pad caps in the
13505 buffer_alloc function because the caps could change while we are
13506 busy with them. Fixes #349105
13508 2006-07-31 Wim Taymans <wim@fluendo.com>
13510 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
13511 Protect _PAD_CAPS with OBJECT_LOCK.
13513 2006-07-31 Wim Taymans <wim@fluendo.com>
13515 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
13516 (gst_pad_get_property), (gst_pad_activate_pull),
13517 (gst_pad_activate_push), (gst_pad_set_blocked_async),
13518 (gst_pad_set_activate_function),
13519 (gst_pad_set_activatepull_function),
13520 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
13521 (gst_pad_set_getrange_function),
13522 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
13523 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13524 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
13525 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
13526 (gst_pad_set_acceptcaps_function),
13527 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
13528 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
13529 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
13530 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
13531 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
13532 (gst_pad_configure_sink), (gst_pad_configure_src),
13533 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
13534 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
13535 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
13536 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
13537 (gst_pad_send_event):
13538 Use _DEBUG_OBJECT when it makes sense.
13539 Protect GST_PAD_CAPS with the OBJECT_LOCK.
13540 Small cleanups and code reflows.
13541 Avoid caps refcounting in _accept_caps.
13542 Refactor alloc_buffer so that the code performed on the peer is in a
13543 separate function. Also if the pad does not implement a buffer alloc
13544 function, we should still check if the pad is flushing before falling
13545 back to the default allocator.
13547 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
13549 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13550 Make all uses of identity and fakesink have silent=true to avoid
13551 serialising every passing data structure, which is breaking tests
13552 on FC4 for some unknown reason.
13554 2006-07-30 Stefan Kost <ensonic@users.sf.net>
13556 * gst/parse/Makefile.am:
13557 * gst/parse/grammar.y:
13558 * gst/parse/parse.l:
13559 Reverted previous patch as it required to bump the flex dependency to
13560 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
13562 2006-07-30 Stefan Kost <ensonic@users.sf.net>
13564 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
13566 * gst/parse/Makefile.am:
13567 * gst/parse/grammar.y:
13568 * gst/parse/parse.l:
13569 push & pop the state of the lexer for reentrant use case
13572 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
13574 * libs/gst/base/gstbasesrc.h:
13575 Note in the docs that the ::newsegment vfunc is not actually used by
13578 2006-07-28 Wim Taymans <wim@fluendo.com>
13580 * libs/gst/base/gstcollectpads.c:
13581 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
13582 (gst_collect_pads_clear), (gst_collect_pads_flush),
13583 (gst_collect_pads_event), (gst_collect_pads_chain):
13584 When flushing a pad, also clear the queued buffer so that we don't
13585 accidentally use it when we shouldn't.
13586 Fix leaks by inreffing incomming buffer.
13587 Flush out queued buffers in case of errors.
13590 2006-07-28 Wim Taymans <wim@fluendo.com>
13592 * docs/random/phonon-gst:
13593 Random notes about a Phonon backend.
13595 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13597 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13599 * tests/check/libs/gdp.c: (gst_dp_suite):
13600 Take a whack at fixing the ppc compile using a different define to
13601 disable the broken test.
13603 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13604 Remove excess g_print()
13606 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13608 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13609 Oops, meant to uncomment this line too to dampen the noise a bit.
13611 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13613 * gst/parse/grammar.y:
13614 * gst/parse/parse.l:
13615 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13616 (GST_START_TEST), (parse_suite):
13617 Fix some of the leaks exposed by extending the parse-launch testsuite,
13618 and move the 3 I can't figure out into a separate test that won't run
13619 the pipelines unless the appropriate line is uncommented.
13621 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
13623 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13624 Requesting 0 bytes before the end of the file should result in
13625 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
13628 2006-07-27 Wim Taymans <wim@fluendo.com>
13630 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
13631 Fix useless assert, a uint is always positive.
13633 * gst/gststructure.c: (gst_structure_nth_field_name),
13634 (gst_structure_foreach), (gst_structure_map_in_place):
13635 Check input arguments for public functions to avoid obvious crashes.
13637 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
13638 * plugins/elements/gstfakesink.h:
13639 Do less useless typechecking.
13641 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
13643 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13644 Do not use mmap() by default since there are a number of error
13645 conditions that we would like to handle in a non-fatal way that
13646 will result in a SIGBUS if we use mmap(). Examples: external
13647 devices (USB harddrive, portable music player) being unplugged
13648 while in use; file on mounted CD/DVD that can't be read because
13649 the medium is partly damaged. Fixes #348455 and #348475.
13651 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13654 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
13655 rates are a gdouble
13657 2006-07-26 Stefan Kost <ensonic@users.sf.net>
13659 * gst/gstregistry.c:
13660 Move big documentation comment into class section header, so that it
13661 appears in the API docs.
13663 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13665 * docs/gst/gstreamer-sections.txt:
13666 Oops. Commit the docs additions too for new API.
13667 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
13669 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13671 * gst/gststructure.c: (gst_structure_id_set),
13672 (gst_structure_id_set_valist):
13673 * gst/gststructure.h:
13674 Add API for setting values into structures without performing
13675 a quark lookup, if the appropriate quark is already known.
13677 API: gst_structure_id_set
13678 API: gst_structure_id_set_valist
13680 * gst/parse/grammar.y:
13681 * gst/parse/parse.l:
13682 Remove some dead code shown by the coverage information.
13683 Don't throw a critical g_warning when encountering a syntax error,
13684 just warn and let the normal error path handle it.
13686 * plugins/elements/gstelements.c:
13687 Bump the rank of filesink up to PRIMARY so that it is preferred over
13688 gnomevfssink for file:// sink uri's
13690 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13691 (GST_START_TEST), (run_delayed_test),
13692 (gst_parse_test_element_base_init),
13693 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
13694 (gst_parse_test_element_change_state),
13695 (gst_register_parse_element), (parse_suite):
13696 Beef up the tests for parse syntax to check that more error cases
13697 fail as they are supposed to. Increases the test coverage a bit.
13699 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
13701 * docs/manual/basics-elements.xml:
13702 Fix gst_element_link() example.
13705 Mention in API docs that one should usually gst_bin_add()
13706 elements to a bin or pipeline before doing the linking.
13708 2006-07-26 Wim Taymans <wim@fluendo.com>
13710 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
13711 (gst_subbuffer_get_type), (gst_buffer_create_sub):
13712 Avoid function call for known types by keeping the buffer and
13713 subbuffer GType global.
13715 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13716 Random silly optimisations in read() path.
13718 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13720 * tools/gst-launch.c: (main):
13721 If the top-level of the parse is a normal bin, it doesn't do the
13722 right logic to run as a top-level element, so place it inside a
13725 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
13727 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
13728 Remove superfluous g_object_notify() calls, GObject does
13729 that for us automatically.
13731 2006-07-25 Stefan Kost <ensonic@users.sf.net>
13734 on Win32, use dllspec to export the debug category symbols
13736 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
13738 * gst/gsttaglist.c: (_gst_tag_initialize):
13739 Allow more than one GST_TAG_IMAGE per taglist.
13741 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
13743 * gst/gstminiobject.c:
13745 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
13746 (gst_fd_src_create):
13747 log recurring events at LOG level
13748 add more debug for when the fd gets set
13750 2006-07-21 Stefan Kost <ensonic@users.sf.net>
13752 * gst/gstparse.c: (gst_parse_launch):
13753 Also remove reentrance checks if flex is MT safe (#348179)
13754 Fix my empty ChangeLog entry below
13756 2006-07-21 Andy Wingo <wingo@pobox.com>
13758 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
13760 * libs/gst/check/Makefile.am
13761 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
13762 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
13763 * libs/gst/check/gstbufferstraw.h:
13764 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
13765 functions, thus proving I am still a GStreamer haxor. OK I wrote
13766 them a long time ago, but anyways.
13768 2006-07-21 Stefan Kost <ensonic@users.sf.net>
13771 * gst/gstparse.c: (gst_parse_launch):
13772 Check for flex version and omit mutex if we have a MT save flex
13775 2006-07-21 Wim Taymans <wim@fluendo.com>
13777 * gst/gstparse.c: (gst_parse_launch):
13778 Protect recursive calls to _parse with a recursive mutex
13781 2006-07-21 Wim Taymans <wim@fluendo.com>
13783 * tests/check/gst/gstpad.c: (GST_START_TEST):
13786 2006-07-20 Stefan Kost <ensonic@users.sf.net>
13788 * gst/gstparse.c: (gst_parse_launch):
13789 Do not hang on recursive usage of gst_parse_launch()
13791 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
13793 * gst/gsttaglist.c:
13794 Add some more docs, comments and FIXME 0.11s here and there
13795 and also fix some typos.
13797 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
13799 * gst/gstsegment.h:
13800 Convert tabs to spaces for better readability.
13802 2006-07-20 Edward Hervey <edward@fluendo.com>
13804 * tests/check/libs/gdp.c: (gst_dp_suite):
13805 the test_buffer test fails at line 140 on ppc64 at the following
13807 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
13808 GST_BUFFER_FLAG_IN_CAPS),
13809 "GST_BUFFER_IN_CAPS flag should have been copied !");
13810 See bug #348114 for more details.
13812 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
13814 * docs/pwg/advanced-scheduling.xml:
13816 Fix typos (#348000).
13818 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
13820 * docs/pwg/intro-basics.xml:
13821 Fix wrong links (#347927).
13823 2006-07-18 Stefan Kost <ensonic@users.sf.net>
13825 * gst/gstregistry.h:
13826 * gst/gstregistryxml.c: (load_feature),
13827 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
13828 * win32/common/config.h:
13829 make --disable-index work (#342564)
13831 2006-07-18 Wim Taymans <wim@fluendo.com>
13833 Patch by: Peter Kjellerstedt <pkj at axis dot com>
13837 The attached patch adds two missing defines to gsttrace.h when tracing
13838 is disabled. It also corrects one existing define.
13841 2006-07-17 Wim Taymans <wim@fluendo.com>
13843 * docs/gst/gstreamer-sections.txt:
13844 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
13846 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
13847 Add two functions to check and change the SIGSEGV behaviour
13848 when loading plugins.
13849 Don't mess with the SIGSEGV handler when we were told not to.
13851 API: gst_segtrap_is_enabled
13852 API: gst_segtrap_set_enabled
13854 2006-07-14 Wim Taymans <wim@fluendo.com>
13856 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13857 * tests/check/elements/filesrc.c: (GST_START_TEST):
13858 Revert fix for regression in #347408 after release.
13860 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
13862 Patch by: Antoine Tremblay <hexa00 at gmail com>
13864 * gst/gstutils.c: (gst_element_unlink):
13865 Free iterator when done (#347311).
13867 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13868 And add a test case for this.
13870 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
13873 Bump nano back to CVS
13875 === release 0.10.9 ===
13877 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
13880 releasing 0.10.9, "On the road again"
13882 2006-07-13 Wim Taymans <wim@fluendo.com>
13884 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13885 * tests/check/elements/filesrc.c: (GST_START_TEST):
13886 Revert pull-0 fix for release. Disable check. Fixes #347408.
13888 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13890 * libs/gst/dataprotocol/dataprotocol.c:
13891 (gst_dp_event_from_packet_1_0):
13892 Fixes #347337: failure to deserialize event packets with
13893 empty payload (only event type)
13895 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13898 do not install a .c file in the header directory
13900 2006-07-13 Edward Hervey <edward@fluendo.com>
13902 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
13903 GhostPad no longer implicitely use the padtemplates of the targets.
13906 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
13908 * gst/gstvalue.c: (gst_value_compare_list),
13909 (gst_value_compare_array), (_gst_value_initialize):
13910 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13911 Make GstValueArray comparison be order dependent as designed.
13912 Add checks for value lists and value array comparisons.
13915 2006-07-11 Edward Hervey <edward@fluendo.com>
13917 * gst/gstbin.c: (activate_pads),
13918 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
13919 (gst_bin_change_state_func):
13920 (de)activate src pads before calling state_change on the childs.
13921 This is to avoid the case where a src ghostpad is blocked (holding the
13922 stream lock), which would block the deactivation of the ghostpad's
13924 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
13925 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
13926 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
13927 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13928 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13929 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13930 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
13931 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
13932 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
13933 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
13934 (gst_ghost_pad_class_init),
13935 (gst_ghost_pad_internal_do_activate_push),
13936 (gst_ghost_pad_internal_do_activate_pull),
13937 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
13938 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
13939 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
13940 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
13941 GhostPads now create their internal GstProxyPad at creation (and not
13942 when they're linked, as it was being done previously).
13943 The internal and target pads are linked straight away.
13944 The data will also travel through the other pad in order to make
13945 pad blocking and probes non-hackish (the probe/block now really happens
13946 on the GhostPad and not on the target).
13947 * gst/gstpad.c: (gst_pad_set_blocked_async),
13948 (gst_pad_link_prepare), (gst_pad_push_event):
13949 Remove previous ghostpad cruft.
13950 * gst/gstutils.c: (gst_pad_add_data_probe),
13951 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
13952 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
13953 (gst_pad_remove_buffer_probe):
13954 Remove previous ghost pad cruft.
13955 Added more detailed debug statements.
13956 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13957 Fix the testsuite for refcounting changes.
13958 The comments about who has references were correct, but the refcount
13959 being checked wasn't the same (!?!).
13963 2006-07-10 Stefan Kost <ensonic@users.sf.net>
13965 * docs/gst/gstreamer-sections.txt:
13966 * gst/gstconfig.h.in:
13967 More docs for configuration options, add docs to gtk-doc.
13969 2006-07-10 Stefan Kost <ensonic@users.sf.net>
13972 * gst/gstconfig.h.in:
13973 * win32/common/config.h:
13974 Fix build when disabling tracing (fixes #344016). Also start to document
13975 the defines that disable the sub-systems.
13977 2006-07-10 Edward Hervey <edward@fluendo.com>
13979 * gst/gst.c: (ensure_current_registry_forking):
13980 let's make valgrind happy...
13982 2006-07-09 Wim Taymans <wim@fluendo.com>
13984 * gst/gstelement.c: (activate_pads),
13985 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
13986 Better pad activation code: Reset the collect value too on resync.
13989 2006-07-09 Wim Taymans <wim@fluendo.com>
13991 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
13992 (gst_pad_activate_push):
13993 Use some more macros where it makes sense.
13994 Allow pad mode switching instead of asserting. When a pad
13995 is activated in one mode and we activate it in another,
13996 deactivate it first before activating it in a different mode.
13999 2006-07-08 Andy Wingo <wingo@pobox.com>
14001 * tools/gst-launch.c (main): Handle err == NULL.
14003 * gst/gst.c (init_post, ensure_current_registry)
14004 (ensure_current_registry_forking)
14005 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
14006 factoring out the registry scanning into separate functions. Don't
14007 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
14008 Better environment var name/interface suggestions accepted.
14010 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
14012 * gst/gstobject.c: (gst_object_set_name_default),
14013 (gst_object_set_name):
14014 Random micro-optimisation: don't use a hash table
14015 with strings as keys and the usual strdup/strcmp
14016 involved, but rather just use the GQuark of the
14017 type name as key, since it needs to be looked up
14018 anyway to get the type name string.
14020 * tests/check/gst/gstobject.c: (GST_START_TEST):
14023 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
14025 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
14026 (gst_bin_iterate_all_by_interface):
14027 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
14028 GTypes are gulongs and thus the top 4 bytes might be cut
14029 off on some platforms when doing GPOINTER_TO_INT, leading
14030 to invalid GTypes and bad things happening (see RH bug #179654).
14031 Also add a check to make sure the type passed in is really
14034 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
14039 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
14043 * gst-element-check.m4:
14044 * gst-element-check.m4.in:
14045 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
14046 instead of the unversioned gst-inspect (#324176, #168659).
14048 2006-07-06 Wim Taymans <wim@fluendo.com>
14050 * gst/gstmessage.h:
14051 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
14054 2006-07-06 Wim Taymans <wim@fluendo.com>
14056 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14057 (gst_base_src_wait), (gst_base_src_update_length),
14058 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
14059 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
14060 (gst_base_src_loop), (gst_base_src_start),
14061 (gst_base_src_activate_pull):
14063 blocksize == 0 now means the default blocksize when working in push
14065 Remove some pointless asserts in _wait function.
14066 Fix offset/length calculations and EOS handling. We can now pull 0
14067 bytes as well, which is allowed.
14068 use _check_get_range() to decide if we can operate in _pull based
14070 Fix refcounting leak when check_get_range function was not
14072 API GstBaseSrc::blocksize range can be 0 too now (default)
14074 * tests/check/elements/filesrc.c: (GST_START_TEST),
14076 Added check to test _get_range() behaviour.
14078 2006-07-06 Wim Taymans <wim@fluendo.com>
14080 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14081 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
14082 (gst_pad_pull_range):
14084 Lots of comments and docs added to the pad functions.
14085 Flesh out the expected behaviour of the get_range() functions.
14087 2006-07-06 Wim Taymans <wim@fluendo.com>
14092 * gst/gstiterator.h:
14096 Remove comma at end of enumerator list.
14098 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
14100 * win32/common/libgstbase.def:
14101 * win32/common/libgstdataprotocol.def:
14102 * win32/common/libsgtreamer.def:
14103 Add new exported functions.
14105 2006-07-05 Wim Taymans <wim@fluendo.com>
14107 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
14108 Add some more docs here and there.
14110 2006-07-05 Wim Taymans <wim@fluendo.com>
14112 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
14113 (gst_base_sink_loop), (gst_base_sink_get_position):
14114 When operating in pull mode update the offset so that we
14117 2006-07-05 Wim Taymans <wim@fluendo.com>
14119 * gst/gstregistryxml.c: (read_string):
14120 Avoid strdup. (will happen in libxml, but hey!)
14123 Add some more docs.
14125 2006-07-05 Wim Taymans <wim@fluendo.com>
14127 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
14128 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
14129 (gst_buffer_suite):
14130 No point in checking if the size of the subbuffer > 0, the
14131 code handles it correclty as demonstrated by unit test.
14132 Also add a unit test for the zero sized _new_and_alloc and
14133 _copy. Fixes #346663.
14135 2006-07-05 Wim Taymans <wim@fluendo.com>
14137 * libs/gst/base/gstbasetransform.c:
14138 (gst_base_transform_prepare_output_buffer),
14139 (gst_base_transform_buffer_alloc),
14140 (gst_base_transform_handle_buffer):
14141 Make sure the buffer we pass to transform_ip has a refcount of
14142 1 and thus is writable. Fixes #343196
14144 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
14146 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14147 (gst_file_src_init), (gst_file_src_set_property),
14148 (gst_file_src_get_property), (gst_file_src_map_region):
14149 * plugins/elements/gstfilesrc.h:
14150 Add "sequential" property, off by default, to use madvise and hint
14151 to the kernel that sequential access is desired.
14152 Touch all retrieved pages by default to ensure they are pulled
14153 into memory. (Closes #345720)
14155 2006-07-03 Wim Taymans <wim@fluendo.com>
14157 * docs/design/part-block.txt:
14158 * docs/design/part-dynamic.txt:
14159 Small docs updates.
14161 2006-07-03 Wim Taymans <wim@fluendo.com>
14163 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
14164 (gst_caps_unref), (gst_static_caps_get),
14165 (gst_caps_append_structure):
14166 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
14167 Use GSlice when the glib we build against is >= 2.10
14169 2006-07-03 Wim Taymans <wim@fluendo.com>
14171 * gst/gstelement.c: (gst_element_pads_activate):
14172 Small cleanup in pad activation code.
14174 2006-07-03 Wim Taymans <wim@fluendo.com>
14176 Patch by: Peter Kjellerstedt <pkj at axis dot com>
14178 * gst/gst-i18n-app.h:
14179 * gst/gst-i18n-lib.h:
14180 * tools/gst-inspect.c: (print_signal_info):
14181 The attached patch will make the inclusion of gettext.h unconditional in
14182 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
14183 libintl.h in tools/gst-inspect.c.
14184 This allows use of --disable-nls again and fixes #344642.
14186 2006-07-03 Edward Hervey <edward@fluendo.com>
14188 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
14189 Implement pad blocking on events according to part-block.txt.
14190 More comments on behaviour.
14191 * tests/check/gst/gstevent.c: (test_event):
14192 Send event to peer pad of blocked pad (else it will block).
14194 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
14196 * libs/gst/check/gstcheck.c: (gst_check_message_error),
14197 (gst_check_run_suite):
14198 if we get the wrong message, give us the types as string
14199 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
14201 * tests/check/elements/filesrc.c: (GST_START_TEST):
14202 add a test for trying to open a non-existing file
14204 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
14206 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
14207 add a test for adding self
14209 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
14211 * libs/gst/check/gstcheck.h:
14212 add some assert_ as alias for fail_unless_*
14213 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
14214 increase test coverage
14216 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14219 include lcov.mak for lcov coverage generation
14220 * tools/Makefile.am:
14223 2006-07-02 Edward Hervey <edward@fluendo.com>
14225 * tests/check/elements/.cvsignore:
14228 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14231 don't set CFLAGS and friends for gcov, done from GST_GCOV now
14232 * tests/check/Makefile.am:
14233 clean up gcov files
14235 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14237 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
14238 remove gst_caps_simplify; it was not declared and not used
14239 and deprecated in 0.8
14241 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14243 * docs/faq/gst-uninstalled:
14244 don't put empty paths on PYTHONPATH
14245 * docs/gst/gstreamer-sections.txt:
14246 remove some symbols that are not there
14248 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14250 * gst/gstcaps.c: (gst_caps_compare_structures):
14252 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
14253 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
14256 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14258 * libs/gst/dataprotocol/Makefile.am:
14259 build dataprotocol test by linking to the lib, instead of
14260 compiling the source, so we get coverage
14261 * tests/check/Makefile.am:
14262 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
14263 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
14264 add a test for filesrc
14266 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14268 * tests/check/gst/gststructure.c: (GST_START_TEST),
14269 (gst_structure_suite):
14270 Push coverage from 59.04% to 70.00%
14272 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14274 * tests/check/Makefile.am:
14275 gst-inspect every element; this makes sure that we also get
14276 coverage on element's get/set functions
14278 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14281 set CFLAGS and friends to -O0 if gcov is being used
14284 * libs/gst/base/Makefile.am:
14285 * libs/gst/check/Makefile.am:
14286 * libs/gst/controller/Makefile.am:
14287 * libs/gst/dataprotocol/Makefile.am:
14288 * libs/gst/net/Makefile.am:
14289 * plugins/elements/Makefile.am:
14290 * plugins/indexers/Makefile.am:
14291 add makefile rules to generate gcov data and clean up
14292 * tests/check/Makefile.am:
14293 add a coverage target that generates an html overview
14296 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
14298 * tests/check/elements/fakesink.c:
14299 * tests/check/elements/fakesrc.c:
14300 * tests/check/elements/fdsrc.c:
14301 * tests/check/elements/identity.c:
14302 * tests/check/generic/sinks.c: (gst_sinks_suite):
14303 * tests/check/generic/states.c:
14304 * tests/check/gst/gst.c:
14305 * tests/check/gst/gstabi.c:
14306 * tests/check/gst/gstbin.c:
14307 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
14308 * tests/check/gst/gstbus.c: (gst_bus_suite):
14309 * tests/check/gst/gstcaps.c: (GST_START_TEST):
14310 * tests/check/gst/gstelement.c:
14311 * tests/check/gst/gstevent.c: (gst_event_suite):
14312 * tests/check/gst/gstghostpad.c:
14313 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
14314 * tests/check/gst/gstmessage.c: (gst_message_suite):
14315 * tests/check/gst/gstminiobject.c:
14316 * tests/check/gst/gstobject.c:
14317 * tests/check/gst/gstpad.c:
14318 * tests/check/gst/gstpipeline.c:
14319 * tests/check/gst/gstplugin.c:
14320 * tests/check/gst/gstquery.c: (gst_query_suite):
14321 * tests/check/gst/gstsegment.c: (gst_segment_suite):
14322 * tests/check/gst/gststructure.c:
14323 * tests/check/gst/gstsystemclock.c:
14324 * tests/check/gst/gsttag.c:
14325 * tests/check/gst/gsttask.c: (gst_task_suite):
14326 * tests/check/gst/gstutils.c:
14327 * tests/check/gst/gstvalue.c:
14328 * tests/check/libs/adapter.c:
14329 * tests/check/libs/basesrc.c:
14330 * tests/check/libs/collectpads.c:
14331 * tests/check/libs/controller.c:
14332 * tests/check/libs/gdp.c: (gst_dp_suite):
14333 * tests/check/libs/gstnetclientclock.c:
14334 * tests/check/libs/gstnettimeprovider.c:
14335 * tests/check/libs/libsabi.c: (libsabi_suite):
14336 * tests/check/libs/typefindhelper.c:
14337 * tests/check/pipelines/cleanup.c:
14338 * tests/check/pipelines/parse-launch.c:
14339 * tests/check/pipelines/simple-launch-lines.c:
14340 * tests/check/pipelines/stress.c: (stress_suite):
14343 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
14345 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
14346 * libs/gst/check/gstcheck.h:
14347 create a macro and function so that the simple unit test
14348 case can be just one macro to create main()
14350 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
14352 * gst/gstbin.c: (gst_bin_restore_thyself):
14353 * gst/gstxml.c: (gst_xml_make_element):
14354 Fix deserialisation from XML. Set parent manually
14355 instead of using gst_bin_add(), since gst_bin_add()
14356 will unlink all pads of the element being added.
14359 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
14361 Patch by: Peter Kjellerstedt <pkj at axis com>
14363 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
14364 Fix missing g_strdup() and double free when using the
14365 --gst-plugin-load command line option (#346097).
14367 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
14370 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
14372 * libs/gst/net/gstnetclientclock.c:
14373 * libs/gst/net/gstnettimeprovider.c:
14374 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
14376 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
14378 * docs/manual/advanced-dataaccess.xml:
14379 Fix buffer probe example compilation in
14382 2006-06-22 Edward Hervey <edward@fluendo.com>
14384 * gst/gstelement.c: (gst_element_pads_activate):
14385 We need to deactivate src pads first and then sink pads.
14386 The reason is the src pads might be blocking while holding the streaming
14387 lock, so we need to deactivate them first so that deactivating the sink
14388 pads doesn't block (since it will require the streaming lock).
14390 2006-06-22 Wim Taymans <wim@fluendo.com>
14392 * libs/gst/base/gstbasetransform.c:
14393 (gst_base_transform_buffer_alloc):
14394 Forgot to remove two unneeded unrefs.
14395 Simplify a check _is_equal allready checks the obvious case.
14397 2006-06-22 Wim Taymans <wim@fluendo.com>
14399 * docs/design/part-block.txt:
14400 Some docs about what pad_block should do.
14402 2006-06-22 Wim Taymans <wim@fluendo.com>
14404 * gst/gstcaps.c: (gst_caps_replace):
14405 Fix crasher when passed NULL. Doc clarification.
14406 Optimize for the trivial case.
14408 * gst/gstpipeline.c: (gst_pipeline_change_state):
14411 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
14412 Small documentation cleanup.
14414 * libs/gst/base/gstbasetransform.c:
14415 (gst_base_transform_buffer_alloc):
14416 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
14417 is what we need and it avoids a whole lot of redundant
14418 refcount operations.
14420 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
14422 Patch by: Philip Jägenstedt <philip at lysator liu se>
14424 * docs/manual/advanced-dataaccess.xml:
14425 Fix 'Embedding static elements' section to use
14426 GST_PLUGIN_DEFINE_STATIC (#345607).
14428 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14430 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
14431 Attempt to 'fix' spuriously failing test case: it seems like the
14432 timeout of half a second is simply too small when the system is under
14433 load otherwise, and the timeout doesn't really seem to serve any
14434 particular purpose here. Give the pipeline a few seconds to preroll
14435 first, and then give it another half a second to go from PAUSED to
14436 PLAYING and marshal the message into the main thread.
14438 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14440 * tools/gst-feedback-m.m:
14441 Don't only use unversioned tools, try versioned tools as well
14444 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14446 * gst/gstbus.c: (gst_bus_class_init):
14447 Fix some typos, make docs more explicit.
14449 2006-06-20 Wim Taymans <wim@fluendo.com>
14451 * tests/check/gst/gstghostpad.c: (block_callback),
14452 (GST_START_TEST), (gst_ghost_pad_suite):
14453 Added some more ghostpad tests, mainly blocking
14456 2006-06-16 Wim Taymans <wim@fluendo.com>
14458 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
14459 (gst_file_sink_close_file), (gst_file_sink_do_seek),
14460 (gst_file_sink_event), (gst_file_sink_render):
14461 * plugins/elements/gstfilesink.h:
14462 Check if we can seek in the file instead of assuming
14463 we always can. Post an error when we are asked to seek in a
14464 non-seekable file (like a fifo). Fixes #343312.
14467 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
14469 * tools/gst-launch.1.in:
14470 Un-garble (fourcc) bit in filtered caps section.
14472 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
14474 * docs/manual/advanced-autoplugging.xml:
14475 * docs/manual/basics-helloworld.xml:
14476 * docs/manual/highlevel-components.xml:
14477 Don't leak bus reference in sample code.
14479 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
14482 Add default for new --enable-plugin-docs switch.
14485 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
14488 * docs/Makefile.am:
14489 Use new ENABLE_PLUGIN_DOCS conditional.
14491 2006-06-14 Wim Taymans <wim@fluendo.com>
14493 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
14494 Make it clear with a FIXME and a real define what the #if 0
14495 previously disabled.
14497 2006-06-14 Wim Taymans <wim@fluendo.com>
14499 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14500 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14501 * libs/gst/base/gstbasetransform.c:
14502 (gst_base_transform_sink_eventfunc):
14503 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14504 Don't randomly and silently reset a segment when the format
14505 changes as this is a bug somewhere upstream. Fixes #330379.
14507 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
14509 Patch by: Wouter Paesen <wouter at kangaroot net>
14511 * libs/gst/controller/gstcontroller.c:
14512 (gst_controlled_property_new):
14513 Fix controlling of float properties (#344849).
14515 * tests/check/libs/controller.c:
14516 (gst_test_mono_source_get_property),
14517 (gst_test_mono_source_set_property),
14518 (gst_test_mono_source_class_init), (GST_START_TEST):
14519 While we're at it, add some float stuff to unit test.
14521 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
14524 * docs/images/gdp-header.svg:
14526 * docs/libs/Makefile.am:
14527 * docs/libs/gdp-header.png:
14528 * libs/gst/dataprotocol/dataprotocol.c:
14529 add it to the API docs
14530 * docs/manual/intro-motivation.xml:
14533 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
14535 * gst/gst.c: (scan_and_update_registry), (init_post):
14536 If the fork()'ed child process can't write the updated registry cache
14537 file to disk for some reason, make it exit with a failure exit code,
14538 so that the parent can then re-scan the plugins itself and update the
14539 registry structures in memory and work with that (rather than failing
14540 when creating elements because seemingly no plugins are available).
14541 Refactor registry scanning code into separate function for this and
14542 also separate fork() and non-fork() code paths. Fixes #344748.
14544 2006-06-13 Wim Taymans <wim@fluendo.com>
14546 * docs/manual/advanced-dataaccess.xml:
14547 Fix wrong PluginDesc. Fixes #344755.
14549 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
14551 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14552 Fix silly bug that prevented us from creating
14553 ~/.gstreamer-0.10 and writing the registry in one
14554 go (the first call to g_mkstemp() would overwrite the
14555 placeholder in the template string, so the second call
14556 to g_mkstemp() after creating the missing directory
14557 would then error out with 'invalid argument').
14559 2006-06-13 Edward Hervey <edward@fluendo.com>
14561 * gst/gst.c: (init_post):
14564 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
14566 * gst/glib-compat-private.h:
14567 * gst/glib-compat.c:
14568 * gst/glib-compat.h:
14569 * gst/gstvalue.c: (gst_value_serialize_flags):
14570 remove GLib 2.6 compatibility code
14572 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
14574 * gst/parse/Makefile.am:
14575 Fix build with 'make -j N' even more (#340016).
14577 2006-06-12 Wim Taymans <wim@fluendo.com>
14579 * docs/gst/gstreamer-sections.txt:
14582 2006-06-12 Wim Taymans <wim@fluendo.com>
14584 * gst/gstsegment.c: (gst_segment_set_duration),
14585 (gst_segment_set_last_stop), (gst_segment_set_seek),
14586 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
14587 (gst_segment_to_running_time), (gst_segment_clip):
14588 Use G_UNLIKELY to help the compiler a bit.
14590 2006-06-12 Wim Taymans <wim@fluendo.com>
14592 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14594 * gst/gstevent.c: (gst_event_get_type):
14595 * gst/gstmessage.c:
14596 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14598 constify quark registration strings. Fixes #344115
14599 Avoid unneeded type checking is _pad_push() by internally
14600 calling gst_pad_chain_unchecked().
14602 2006-06-12 Wim Taymans <wim@fluendo.com>
14604 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
14605 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
14606 (gst_subbuffer_finalize), (gst_buffer_create_sub),
14607 (gst_buffer_is_span_fast), (gst_buffer_span):
14608 Init _type for consistency.
14609 Use _FLAGS macro to avoid type check.
14610 Avoid unneeded type checks in subbufer code.
14612 2006-06-12 Wim Taymans <wim@fluendo.com>
14614 * gst/gst.c: (gst_debug_help):
14615 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
14616 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14617 (gst_plugin_feature_list_free):
14618 * gst/gstregistry.c: (gst_registry_add_plugin),
14619 (gst_registry_add_feature), (gst_registry_plugin_filter),
14620 (gst_registry_feature_filter), (gst_registry_find_plugin),
14621 (gst_registry_find_feature), (gst_registry_get_plugin_list),
14622 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
14623 * gst/gstregistryxml.c: (load_feature),
14624 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
14625 * gst/gstminiobject.c: (gst_mini_object_unref),
14626 (gst_mini_object_replace), (gst_value_mini_object_free),
14627 (gst_value_mini_object_copy):
14628 Use _CAST macros to avoid unneeded type checking.
14629 Added some more G_UNLIKELY.
14631 2006-06-12 Wim Taymans <wim@fluendo.com>
14634 Avoid unneeded type checking.
14635 API: GST_BUFFER_IS_DISCONT
14637 * gst/gstminiobject.h:
14638 Avoid type check in flag accessor.
14640 * gst/gstelementfactory.h:
14642 * gst/gstpluginfeature.h:
14644 API: GST_ELEMENT_FACTORY_CAST
14645 API: GST_PLUGIN_CAST
14646 API: GST_PLUGIN_FEATURE_CAST
14648 2006-06-12 Wim Taymans <wim@fluendo.com>
14650 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
14651 (gst_object_unref):
14652 Add G_UNLIKELY in type registration.
14653 Avoid type check in _ref/_unref since that is also
14656 2006-06-12 Wim Taymans <wim@fluendo.com>
14658 * gst/gsterror.c: (gst_g_error_get_type):
14659 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
14660 (gst_static_pad_template_get_type):
14661 * gst/gsttaglist.c: (gst_tag_list_get_type):
14662 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
14663 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
14664 * gst/gsturi.c: (gst_uri_handler_get_type):
14665 * gst/gstvalue.c: (gst_date_get_type):
14666 * gst/gstxml.c: (gst_xml_get_type):
14667 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
14668 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14669 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
14670 Add G_UNLIKELY in type registration.
14672 2006-06-12 Wim Taymans <wim@fluendo.com>
14674 * tools/gst-inspect.c: (print_signal_info):
14675 Properly print enum values.
14677 2006-06-12 Wim Taymans <wim@fluendo.com>
14679 * gst/gstinfo.c: (gst_debug_set_active),
14680 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
14682 Add some G_[UN]LIKELY.
14683 Maintain __gst_debug_min to avoid formatting the arguments of
14684 debug messages that will be dropped anyway to avoid a lot of
14685 overhead from the debugging system.
14687 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14690 * po/POTFILES.skip:
14691 add missing files containing translatable strings, tell intltool about
14694 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14696 * tests/check/libs/.cvsignore:
14697 add test-binary to ignore list
14699 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14701 * docs/libs/gstreamer-libs-docs.sgml:
14702 reorder (put dp into a chapter) and indent
14704 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14709 === release 0.10.8 ===
14711 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14714 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
14716 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14718 * gst/gst.c: (init_post):
14719 move pid declaration to declaration block
14721 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14723 * gst/gst.c: (init_post):
14724 use _exit() instead of exit() in our forked child; this ensures
14725 that none of the registered exit handlers from whatever is using
14726 GStreamer get executed. This fixes gnome-mixer-applet failing
14727 to load, because ORBit would shut down.
14728 Spotted by: Edward Hervey <edward@fluendo.com>
14729 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
14732 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14737 === release 0.10.7 ===
14739 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14742 releasing 0.10.7, "Soepeke, ik zie ou"
14744 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
14767 * win32/common/config.h:
14768 0.10.6.2 prerelease
14770 2006-06-07 Wim Taymans <wim@fluendo.com>
14772 * gst/gstindex.c: (gst_index_gtype_resolver):
14773 * tools/gst-xmlinspect.c: (print_plugin_info):
14774 Fix leak spotted by coverity checker. Fixes #343827
14775 Fix another other leak found by paolo borelli.
14777 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14779 * libs/gst/dataprotocol/dataprotocol.c:
14780 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
14781 (gst_dp_version_get_type), (gst_dp_init),
14782 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
14783 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
14784 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
14785 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
14786 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
14787 (gst_dp_packetizer_free):
14788 * libs/gst/dataprotocol/dataprotocol.h:
14789 API: add a GstDPPacketizer object, and create/free functions
14790 API: add GstDPVersion enum
14791 Add 1.0 event function that uses the string serialization
14792 Serialize more useful buffer flags
14795 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14797 * tests/check/Makefile.am:
14798 * tests/check/gst/gstabi.c:
14799 * tests/check/gst/struct_ppc64.h:
14800 * tests/check/libs/libsabi.c:
14801 * tests/check/libs/struct_ppc64.h:
14802 add ppc64 structure sizes
14804 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14806 * tests/check/Makefile.am:
14807 * tests/check/gst/gstabi.c:
14808 * tests/check/gst/struct_x86_64.h:
14809 * tests/check/libs/libsabi.c:
14810 * tests/check/libs/struct_x86_64.h:
14811 generate and add structure size lists for x86_64
14813 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14815 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
14816 * libs/gst/check/gstcheck.h:
14817 factor out the method from tests that checks size of structures,
14818 and add code to generate the header containing these sizes
14819 * tests/check/gst/gstabi.c: (GST_START_TEST):
14820 * tests/check/gst/struct_i386.h:
14821 * tests/check/libs/libsabi.c: (GST_START_TEST):
14822 * tests/check/libs/struct_i386.h:
14825 2006-06-06 Michael Smith <msmith@fluendo.com>
14827 * gst/gstsegment.h:
14828 Don't use c++-style comments, fixes #343929
14830 2006-06-05 Edward Hervey <edward@fluendo.com>
14833 plugin_paths is not used if we build without registry support.
14835 * gst/gstsegment.c: (gst_segment_copy):
14836 _copy() was always returning NULL...
14838 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14840 * libs/gst/dataprotocol/dataprotocol.c:
14841 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14842 (gst_dp_packet_from_event):
14843 factor out CRC code
14845 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14847 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
14848 make sure we unset caps
14850 2006-06-02 Michael Smith <msmith@fluendo.com>
14852 * libs/gst/check/gstcheck.c: (gst_check_init),
14853 (gst_check_chain_func):
14854 * libs/gst/check/gstcheck.h:
14855 Add a cond/mutex to the check support lib, signal this whenever we
14856 add to the buffers list. This will allow tests to not busy-wait on
14859 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14861 * libs/gst/dataprotocol/dataprotocol.c:
14862 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14863 (gst_dp_packet_from_event):
14864 factor out some common header init code
14866 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14868 * docs/libs/gstreamer-libs-sections.txt:
14869 * docs/libs/tmpl/gstdataprotocol.sgml:
14870 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
14871 * libs/gst/dataprotocol/dataprotocol.h:
14872 API: make gst_dp_crc() public
14874 2006-06-01 Stefan Kost <ensonic@users.sf.net>
14876 * plugins/indexers/gstindexers.c: (plugin_init):
14877 conditionally register fileindexer (fixes #343598)
14879 2006-06-01 Stefan Kost <ensonic@users.sf.net>
14881 * gst/gsttagsetter.h:
14882 Can't cast ifaces to a class
14884 * libs/gst/net/gstnetclientclock.h:
14885 * libs/gst/net/gstnettimeprovider.h:
14886 * plugins/elements/gstfakesink.h:
14887 * plugins/elements/gstfakesrc.h:
14888 * plugins/elements/gstfdsink.h:
14889 * plugins/elements/gstfdsrc.h:
14890 * plugins/elements/gstfilesink.h:
14891 * plugins/elements/gstfilesrc.h:
14892 * plugins/elements/gstidentity.h:
14893 * plugins/elements/gstqueue.h:
14894 * plugins/elements/gsttee.h:
14895 * plugins/indexers/gstfileindex.c:
14896 * plugins/indexers/gstmemindex.c:
14897 * tests/old/examples/plugins/example.h:
14898 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
14900 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
14902 * libs/gst/dataprotocol/dataprotocol.c:
14903 (gst_dp_header_from_buffer):
14904 make sure we zero the whole ABI-compatible area
14906 2006-06-01 Wim Taymans <wim@fluendo.com>
14908 Patch by: Alessandro Decina <alessandro at nnva dot org>
14910 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
14911 Make sure the EOS flag is cleared from pads after a flush
14912 or stop. Fixes #343538.
14914 * tests/check/libs/collectpads.c: (GST_START_TEST),
14915 (gst_collect_pads_suite):
14916 Added test for collectpads reusage after EOS.
14918 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
14921 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
14922 * win32/common/libgstbase.def:
14923 export gst_collect_pads_set_flushing
14924 * win32/common/libgstreamer.def:
14925 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
14926 gst_value_fraction_multiply
14927 * win32/vs6/gst_inspect.dsp:
14928 add a link to intl.lib
14930 2006-05-30 Wim Taymans <wim@fluendo.com>
14932 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14933 (gst_collect_pads_chain):
14934 Handle the case where a pad is removed from the collection
14935 that could cause the other pads to become collectable.
14937 2006-05-30 Wim Taymans <wim@fluendo.com>
14939 * gst/gstelement.c:
14940 Clarify the use of _release_request_pad() and
14941 _get_request_pad() a bit better.
14943 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
14944 (gst_adapter_take_buffer):
14945 Fix some doc and comment typos.
14947 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14949 * docs/gst/gstreamer-sections.txt:
14950 * docs/libs/gstreamer-libs-sections.txt:
14951 add declared symbols
14953 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
14955 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
14956 Add debug that can be enabled using a #define at the top of the file,
14957 for dumping stats about how late/early we were when waking up from
14958 waiting on the clock.
14960 2006-05-30 Wim Taymans <wim@fluendo.com>
14962 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
14963 When rebuilding the pad list, don't leak the previous list.
14965 2006-05-30 Wim Taymans <wim@fluendo.com>
14967 Patch by: Lutz Mueller <lutz at topfrose dot de>
14969 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14970 (gst_base_src_get_query_types), (gst_base_src_update_length):
14971 Publish supported query types.
14972 Update last_stop field in get_range mode so the position
14973 query works. Fixes #342321.
14975 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
14977 * docs/gst/gstreamer-sections.txt:
14978 * gst/gsttaglist.c: (_gst_tag_initialize):
14979 * gst/gsttaglist.h:
14980 API: add GST_TAG_PREVIEW_IMAGE (#343341).
14982 2006-05-30 Wim Taymans <wim@fluendo.com>
14984 Patch by: Alessandro Decina <alessandro at nnva dot org>
14986 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
14987 Unlock mutex when removing an unknown pad.
14990 * tests/check/Makefile.am:
14991 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
14992 (push_event), (setup), (teardown), (GST_START_TEST),
14993 (gst_collect_pads_suite), (main):
14994 Added collecpads check, disabled for now as check crashes for
14997 2006-05-29 Wim Taymans <wim@fluendo.com>
14999 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
15000 Don't leak pads lists.
15002 2006-05-29 Wim Taymans <wim@fluendo.com>
15004 * docs/libs/gstreamer-libs-sections.txt:
15005 * libs/gst/base/gstcollectpads.c:
15006 (gst_collect_pads_set_flushing_unlocked),
15007 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
15008 (gst_collect_pads_stop):
15009 * libs/gst/base/gstcollectpads.h:
15010 API: gst_collect_pads_set_flushing()
15011 Added api to set the pads to flushing, useful for seeking
15012 code in elements using collectpads.
15013 Clear segment when receiving a flush.
15015 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
15017 * gst/gst.c: (add_path_func), (init_post):
15018 Don't scan registry paths passed via --gst-plugin-path immediately
15019 (will crash, because absolutely nothing is set up and no types are
15020 registered etc.); do this later in init_post(). Fixes #343057.
15022 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
15024 * gst/gst.c: (init_post):
15025 if we have fork, fork while reading/rebuilding the registry
15026 so the parent doesn't take the hit of having all plugins loaded
15027 in memory. Fixes #342777.
15029 Check if we have fork()
15030 * win32/common/config.h.in:
15033 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
15035 * plugins/elements/gstelements.c:
15036 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
15037 (gst_file_src_init), (gst_file_src_set_property),
15038 (gst_file_src_get_property), (gst_file_src_start):
15039 * plugins/elements/gstfilesrc.h:
15040 API: GstFileSrc::use-mmap
15042 Add a use-mmap property to enable easier testing of all code paths.
15043 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
15044 in the absence of gnomevfssrc. (Closes #340501)
15046 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
15048 * tools/gst-inspect.c:
15049 Add missing include, removes warning of ngettext not being defined on
15052 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
15054 * gst/gstvalue.c: (gst_value_deserialize_fraction):
15055 Handle NULL input and output pointers silently as a failed conversion,
15056 rather than g_warnings.
15058 2006-05-25 Wim Taymans <wim@fluendo.com>
15060 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
15061 Initialize variable before using. Fixes #342820.
15063 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
15065 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
15066 Fix off-by-one bug that would only allow peeks of N-1 bytes
15067 from the start even if the buffer to typefind on contains
15068 in fact N bytes of data (makes vorbis typefinding from a
15069 vorbis identification header buffer work).
15071 * tests/check/Makefile.am:
15072 * tests/check/libs/.cvsignore:
15073 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
15074 (gst_typefindhelper_suite), (main), (foobar_typefind),
15076 Add very basic unit test for gst_type_find_helper_for_buffer()
15077 that checks for the problem fixed above.
15079 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
15081 * tools/gst-inspect.c: (print_interfaces),
15082 (print_element_properties_info), (print_element_list), (main):
15083 add more translatable strings
15085 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
15087 Patch by: Julien Moutte <julien at moutte net>
15089 * docs/gst/gstreamer-sections.txt:
15090 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
15092 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
15093 (gst_fake_sink_preroll):
15094 * plugins/elements/gstfakesink.h:
15095 API: Add new GstFakeSink::preroll-handoff signal (#337100).
15097 2006-05-23 Wim Taymans <wim@fluendo.com>
15099 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
15101 Added _CUSTOM error and success GstFlowReturn that can be
15102 used be elements internally.
15103 Added macro to check for SUCCESS flowreturns.
15104 API: GST_FLOW_CUSTOM_SUCCESS
15105 API: GST_FLOW_CUSTOM_ERROR
15106 API: GST_FLOW_IS_SUCCESS
15108 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
15109 Added check for GstFlowReturn sanity.
15111 2006-05-23 Wim Taymans <wim@fluendo.com>
15113 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
15115 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
15116 (gst_collect_pads_event):
15117 clear/reset segment info in FLUSH_STOP.
15120 2006-05-22 Stefan Kost <ensonic@users.sf.net>
15122 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
15123 (gst_collect_pads_check_collected):
15124 Flush queued buffer on _stop(), fixes playing again (#342454)
15126 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
15128 * tests/check/gst/gststructure.c: (GST_START_TEST),
15129 (gst_structure_suite):
15130 add a test for a complete structure
15132 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
15134 * docs/faq/developing.xml:
15135 * docs/faq/faq.xml:
15136 * docs/faq/troubleshooting.xml:
15137 * docs/faq/using.xml:
15138 Some minor FAQ updates that won't change the fact that
15139 our FAQ is badly structured, full of information hardly
15140 anyone new to GStreamer needs to know and lacking lots
15141 of information people constantly ask for.
15143 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
15145 * gst/gstpad.c: (gst_pad_set_caps):
15146 Short-circuit gst_pad_set_caps if setting the existing
15147 caps pointer again, and avoid printing debug and
15148 reffing/unreffing the caps.
15150 * plugins/elements/gstqueue.c: (gst_queue_push_one):
15151 There's actually no need to set the caps before pushing -
15152 the acceptcaps method will handle it anyway.
15154 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
15156 * docs/gst/gstreamer-sections.txt:
15157 * win32/common/libgstreamer.def:
15158 * gst/gstutils.c: (gst_element_seek_simple):
15160 API: add gst_element_seek_simple() (#342238).
15162 2006-05-18 Edward Hervey <edward@fluendo.com>
15164 * gst/gsttypefind.c: (gst_type_find_get_type):
15165 * gst/gsttypefind.h:
15166 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
15167 registered for GstTypeFind pointers. This allows wrapping the structure
15168 in bindings (i.e. gst-python).
15170 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
15172 * gst/gsttagsetter.c:
15173 Docs additions and fixes (see #339918).
15175 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
15177 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15178 The caps intersection algorithm can produce multiple copies of the
15179 caps. Until that is fixed, we need to simplify the result to be
15180 sure whether the allowed caps are fixed or not.
15182 * plugins/elements/gstqueue.c: (gst_queue_init),
15183 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
15184 (gst_queue_push_one):
15185 Proxied buffer alloc should not set the caps on the source pad.
15186 When pushing buffers, we always accept the caps change that triggers.
15187 This prevents negotiation errors caused by caps changing mid-stream
15188 and then being refused on our source pad (because upstream is now
15189 refusing those caps).
15191 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
15193 * tests/examples/helloworld/helloworld.c: (main):
15194 Must plug audioconvert and audioresample between decoder
15197 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
15199 * gst/gstregistryxml.c: (read_string), (load_pad_template),
15200 (load_feature), (load_plugin):
15201 Allow empty strings for some of the plugin fields so we don't
15202 drop valid plugin entries that were written out correctly
15205 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
15207 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
15208 Use g_remove and g_rename instead of remove and rename that don't
15209 handle utf8 characters. rename was failing for users who had specific
15210 characters in their name then the registry was built at each
15212 * win32/vs6/gst_inspect.dsp:
15213 * win32/vs6/gst_launch.dsp:
15214 * win32/vs6/libgstbase.dsp:
15215 * win32/vs6/libgstcoreelements.dsp:
15216 * win32/vs6/libgstreamer.dsp:
15217 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
15218 build of libgstreamer and clean unused libraries in projects link
15221 2006-05-17 Edward Hervey <edward@fluendo.com>
15223 * plugins/elements/gstqueue.c: (gst_queue_push_one):
15224 The queue is not responsible for pushing an EOS when receiving a fatal
15225 flow error. It's up to the real element driving the pipeline to do that.
15227 2006-05-16 Edward Hervey <edward@fluendo.com>
15229 * plugins/elements/gstqueue.c: (gst_queue_push_one):
15230 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
15231 buffer returned a fatal error. It should just send an EOS and stop
15233 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
15234 when pushing buffers on the queue and will be able to handle the event.
15236 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
15238 * docs/manual/basics-bins.xml:
15239 * docs/manual/basics-init.xml:
15240 Fix typos and minor errors in sample code (#341856).
15242 2006-05-16 Wim Taymans <wim@fluendo.com>
15244 * docs/design/part-qos.txt:
15245 Fix indexes in formulas to make more sense.
15247 2006-05-15 Wim Taymans <wim@fluendo.com>
15249 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15250 Don't report POSITION based on clock time if sync is
15251 disabled in a sink.
15253 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
15256 Add cast to make compiler happy - refcount variable was a gint
15257 in GstObject but is a guint in GObject and g_atomic_int_get()
15260 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
15262 * gst/parse/Makefile.am:
15263 chain commands using &&, which also makes parallel make work
15265 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
15267 * docs/gst/gstreamer-sections.txt:
15270 * gst/gstmessage.h:
15273 === release 0.10.6 ===
15275 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
15278 releasing 0.10.6, "Take the cannoli"
15280 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
15282 * tools/gst-launch.c: (print_tag):
15283 Fix use of uninitialized variable in the hypothetical
15284 case that some broken plugin creates a GST_TAG_IMAGE
15285 tag containing a NULL buffer (#341667).
15287 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
15289 * tools/gst-launch.c: (print_tag):
15290 Print something more intelligible for image tags when
15291 using the -t switch (#341556).
15293 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
15298 define GST_MAJORMINOR so we have it available in win32/common/config.h
15299 Possibly remove it from our Makefile.am files later
15300 * win32/common/config.h:
15301 * win32/common/config.h.in:
15302 added GST_MAJORMINOR
15303 * win32/common/gstenumtypes.c: (register_gst_resource_error):
15304 * win32/common/gstversion.h:
15307 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
15310 Update win32 files listing.
15311 * win32/common/gstversion.h:
15312 Add GST_MAJORMINOR definition.
15313 * win32/common/libgstreamer.def:
15314 Add new exported functions.
15316 2006-05-12 Michael Smith <msmith@fluendo.com>
15318 * gst/gstplugin.c: (gst_plugin_load_file):
15319 If an so file has no plugin entry point, unload the module.
15321 2006-05-11 Wim Taymans <wim@fluendo.com>
15323 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
15324 (gst_queue_set_property):
15325 Don't forget to signal the _chain or _loop function
15326 when the queue size or thresholds change since that might
15327 cause them to make progres again.
15329 2006-05-11 Stefan Kost <ensonic@users.sf.net>
15331 * gst/gstclock.c: (gst_clock_class_init):
15332 * gst/gstindex.c: (gst_index_class_init):
15333 * gst/gstobject.c: (gst_object_class_init):
15334 * gst/gstpad.c: (gst_pad_class_init):
15335 * gst/gstpipeline.c: (gst_pipeline_class_init):
15336 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15337 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
15338 * libs/gst/base/gstbasetransform.c:
15339 (gst_base_transform_class_init):
15340 * libs/gst/net/gstnetclientclock.c:
15341 (gst_net_client_clock_class_init):
15342 * libs/gst/net/gstnettimeprovider.c:
15343 (gst_net_time_provider_class_init):
15344 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
15345 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
15346 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
15347 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
15348 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15349 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
15350 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
15351 * plugins/elements/gstidentity.c: (gst_identity_class_init):
15352 * plugins/elements/gsttee.c: (gst_tee_class_init):
15353 * tests/old/examples/plugins/example.c: (gst_example_class_init):
15354 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15355 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
15357 2006-05-11 Wim Taymans <wim@fluendo.com>
15359 * gst/gstbuffer.c: (_gst_buffer_initialize):
15360 Register subbufer along with the buffer type so that
15361 it does not accidentally gets registered from N
15362 different streaming threads in a non threadsafe way.
15364 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
15368 * gst/gstmessage.h:
15369 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
15370 gst_event_ref() and gst_message_ref() functions again
15371 (ugly hack, please do fix if there's a better way besides
15372 overrides.txt, which doesn't seem to work).
15374 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15376 * libs/gst/check/gstcheck.h:
15377 add an assert for setting state to avoid lots of repetitive code
15380 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15382 * gst/gstvalue.c: (gst_value_serialize_flags):
15383 fix a leak if no flags are set
15384 * tests/check/gst/gstvalue.c: (GST_START_TEST):
15387 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
15389 * docs/manual/basics-pads.xml:
15390 Expand a bit on caps and filtered links and update
15391 examples that were still using the no longer existing
15392 gst_pad_link_filtered() (#338206).
15394 2006-05-10 Wim Taymans <wim@fluendo.com>
15396 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15397 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15398 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
15399 (gst_collect_pads_stop):
15400 * libs/gst/base/gstcollectpads.h:
15401 No need to call _stop in _finalize.
15402 Iterate the main pad list in _finalize.
15403 Added some more debug.
15404 Free lists and data in the right order.
15405 Also free data whem doing _remove_pad when stopped for
15406 backward compatibility protect ::started with PAD_LOCK as
15409 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15411 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
15412 (gst_structure_parse_value):
15414 rename a method so that it actually says what it does better
15416 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15418 * gst/gstevent.c: (_gst_event_initialize):
15419 * gst/gstformat.c: (_gst_format_initialize):
15420 make sure some essential types used by events are registered
15421 as part of gst_init()
15422 * gst/gstvalue.c: (gst_value_serialize_flags):
15423 if no flags are set, serialize them to a value that represents NONE
15424 so that deserializing them works
15425 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15426 add tests for serialization and deserialization of flags
15428 2006-05-10 Wim Taymans <wim@fluendo.com>
15430 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
15431 (gst_collect_pads_collect_range), (gst_collect_pads_available),
15432 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
15433 (gst_collect_pads_event), (gst_collect_pads_chain):
15436 Catch and return errors from the collect function
15437 Refuse data on eos pads.
15439 2006-05-10 Edward Hervey <edward@fluendo.com>
15441 * gst/gstinterface.h:
15442 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
15443 GInterface type checking.
15444 They were previously using non-defined macros.
15446 2006-05-09 Wim Taymans <wim@fluendo.com>
15448 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
15449 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
15450 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
15451 (gst_collect_pads_start), (gst_collect_pads_stop),
15452 (gst_collect_pads_peek), (gst_collect_pads_pop),
15453 (gst_collect_pads_available), (gst_collect_pads_read),
15454 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
15455 (gst_collect_pads_is_collected), (gst_collect_pads_event),
15456 (gst_collect_pads_chain):
15457 * libs/gst/base/gstcollectpads.h:
15458 Clean up the mess that is collectpads, add comments and
15459 FIXMEs where needed.
15460 Maintain a separate pad list so we can add pads while
15461 collecting the other ones. For this we need a new separate
15463 Fix memory leak in finalize.
15464 Refactor some weird code to set/unset pad flushing flags, mark
15466 Don't crash in _available, _read, _flush when we're EOS.
15468 * tests/check/libs/.cvsignore:
15469 Ignore adapter check binary.
15471 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15473 * gst/gstindex.c: (gst_index_resolver_get_type):
15474 * plugins/elements/gstfakesink.c:
15475 (gst_fake_sink_state_error_get_type):
15476 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15477 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
15478 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
15479 Const-ify GEnumValue arrays.
15481 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15483 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
15484 Add test case for flags + gst_buffer_make_metadata_writable().
15486 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15488 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
15489 gst_buffer_make_metadata_writable() should maintain the
15490 buffer flags (those that make sense at least) (see #340859).
15492 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15494 * tools/gst-inspect.c:
15495 * tools/gst-launch.c:
15496 * tools/gst-typefind.c:
15497 * tools/gst-xmlinspect.c:
15499 Fix up includes: need to include stdlib.h in tools.h for exit().
15501 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15503 * gst/gsttaglist.c: (_gst_tag_initialize):
15504 * gst/gsttaglist.h:
15505 API: add GST_TAG_IMAGE tag (#340721).
15507 2006-05-08 Wim Taymans <wim@fluendo.com>
15510 Added some docs for the segment query.
15512 2006-05-08 Wim Taymans <wim@fluendo.com>
15514 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15515 (gst_base_src_loop), (gst_base_src_change_state):
15516 Always push non-flushing serialized events in the streaming
15519 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
15521 * gst/gsterror.c: (_gst_stream_errors_init):
15522 Add a missing error string.
15524 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
15526 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
15527 Add applied_rate to the debug
15529 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
15530 Copy applied_rate into the outgoing NEWSEGMENT event
15532 2006-05-08 Wim Taymans <wim@fluendo.com>
15534 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
15536 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
15537 (gst_base_sink_change_state):
15538 call ::unlock before taking the PREROLL_LOCK so we can safely
15539 handle elements that lock in ::render.
15542 2006-05-08 Edward Hervey <edward@fluendo.com>
15544 * autogen.sh: (CONFIGURE_DEF_OPT):
15545 Darwin's libtoolize is in fact called glibtoolize.
15546 Adding glibtoolize to the list of accepted names for libtoolize.
15548 2006-05-08 Wim Taymans <wim@fluendo.com>
15550 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
15551 Unify error handling, don't post an error message
15552 when a push() returns EOS but perform our normal EOS
15553 handling code. Fixes #340772.
15555 2006-05-08 Wim Taymans <wim@fluendo.com>
15557 * docs/design/part-overview.txt:
15558 Make upsteam/downstream concepts more clear.
15559 Give an example of serialized/non-serialized events.
15561 * docs/design/part-events.txt:
15562 * docs/design/part-streams.txt:
15563 Mention applied_rate.
15565 * docs/design/part-trickmodes.txt:
15566 Mention applied rate, flesh out some more use cases.
15568 * gst/gstevent.c: (gst_event_new_new_segment),
15569 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
15570 (gst_event_parse_new_segment_full), (gst_event_new_tag),
15571 (gst_event_parse_tag), (gst_event_new_buffer_size),
15572 (gst_event_parse_buffer_size), (gst_event_new_qos),
15573 (gst_event_parse_qos), (gst_event_parse_seek),
15574 (gst_event_new_navigation):
15576 Add applied_rate field to NEWSEGMENT event.
15577 API: gst_event_new_new_segment_full()
15578 API: gst_event_parse_new_segment_full()
15580 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
15581 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
15582 (gst_segment_to_stream_time), (gst_segment_to_running_time):
15583 * gst/gstsegment.h:
15584 Add applied_rate to GstSegment structure.
15585 Make calculation of stream_time and running_time more correct
15586 wrt rate/applied_rate.
15587 Add some more docs.
15588 API: GstSegment::applied_rate field
15589 API: gst_segment_set_newsegment_full();
15591 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
15592 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
15593 * libs/gst/base/gstbasetransform.c:
15594 (gst_base_transform_sink_eventfunc),
15595 (gst_base_transform_handle_buffer):
15596 Parse and use applied_rate in the GstSegment field.
15598 * tests/check/gst/gstevent.c: (GST_START_TEST):
15599 Add check for applied_rate field.
15601 * tests/check/gst/gstsegment.c: (GST_START_TEST),
15602 (gstsegments_suite):
15603 Add more checks for various GstSegment operations.
15605 2006-05-08 Wim Taymans <wim@fluendo.com>
15607 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15608 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
15609 (gst_base_sink_get_position), (gst_base_sink_change_state):
15610 Store the sync time of the buffer end position separatly in a
15611 new variable eos_rtime so we can properly sync the EOS event.
15613 Fix the docs for gst_base_sink_set_qos_enabled().
15614 Don't set segment start to invalid value when we receive a
15615 non TIME newsegment.
15616 get closer to handling position reporting for negative rates
15619 2006-05-07 Stefan Kost <ensonic@users.sf.net>
15622 Docs about how to print caps for debug purposes.
15624 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
15625 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
15627 2006-05-07 Stefan Kost <ensonic@users.sf.net>
15629 * gst/gstelement.c:
15630 use full enum names and preprend a '%' in docs strings to make recent
15631 gtk-doc turn that into a link
15633 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15635 * docs/manual/basics-bins.xml:
15636 * docs/manual/basics-bus.xml:
15637 * docs/manual/basics-pads.xml:
15638 Some typo fixes, some additions, some clarifications.
15640 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15642 * tools/gst-inspect.c: (main):
15643 * tools/gst-launch.c: (main):
15644 * tools/gst-run.c: (main):
15645 * tools/gst-typefind.c: (main):
15646 * tools/gst-xmlinspect.c: (main):
15647 Use the string passed to g_option_context_new() for
15648 what it's intended for - the program name is already
15651 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15653 * tools/Makefile.am:
15654 * tools/gst-inspect.c: (main):
15655 * tools/gst-launch.c: (main):
15656 * tools/gst-xmlinspect.c: (main):
15658 Add back --version command line option (#340460).
15660 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
15661 Add --version option and use GOption for argument parsing; refactor a
15662 bit; accept directories as arguments and recurse into them; lastly,
15663 print a decent error message when things go wrong.
15665 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15667 * docs/manual/basics-bins.xml:
15668 Don't mention GstThread (#340611)
15669 * docs/manual/basics-elements.xml:
15670 Update link to GObject tutorial (#340607)
15672 2006-05-05 Wim Taymans <wim@fluendo.com>
15675 * gst/gstminiobject.c:
15676 Add note about refcounting and miniobject/buffer writeability
15677 to docs. Fixes #340604
15679 * gst/gstelementfactory.h:
15680 Added some explanation about @klass.
15682 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15684 * docs/manual/intro-motivation.xml:
15685 * docs/manual/manual.xml:
15686 Avoid CORBA & Bonobo references (#340598)
15688 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15690 * docs/manual/basics-bus.xml:
15691 * docs/manual/basics-pads.xml:
15692 Fix up some inaccuracies and omissions (#340609)
15694 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15696 * gst/gstghostpad.c:
15697 Small typo in docs (#340625)
15699 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15701 * gst/parse/Makefile.am:
15702 Make 'make -j' proof (see #340698).
15704 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15707 Require GLib-2.8 here as well.
15709 2006-05-05 Wim Taymans <wim@fluendo.com>
15711 * gst/glib-compat.c:
15712 * gst/gst.c: (init_pre):
15713 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
15714 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
15715 (gst_object_dispatch_properties_changed):
15717 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15718 * gst/gststructure.c: (gst_structure_set_valist):
15719 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15720 Remove pre glib2.8 compatibility, fixes #340508
15722 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
15724 * gst/gsttaglist.h:
15725 Mention type of tags in doc blurbs.
15727 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
15729 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15730 (gst_pad_configure_src), (gst_pad_push):
15731 Restore acceptcaps checking behaviour now that good plugins have
15734 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
15736 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
15743 * gst/gstmessage.c:
15747 * gst/parse/Makefile.am:
15748 * libs/gst/base/gstadapter.c:
15749 * libs/gst/base/gstbasesrc.c:
15750 * libs/gst/base/gstpushsrc.c:
15751 * libs/gst/base/gsttypefindhelper.c:
15752 * plugins/elements/gstfakesrc.c:
15753 * plugins/elements/gstidentity.c:
15754 Make sure gstprivate.h and/or config.h are
15755 always included first, otherwise some of our
15756 defines (like _FILE_OFFSET_BITS) might be
15757 redefined in the system headers. Fixes build
15758 on opensolaris (#340016).
15760 2006-05-04 Wim Taymans <wim@fluendo.com>
15762 * docs/libs/gstreamer-libs-sections.txt:
15763 API: addition: gst_adapter_take_buffer()
15765 * libs/gst/base/gstadapter.c: (gst_adapter_push),
15766 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
15767 (gst_adapter_available_fast):
15768 * libs/gst/base/gstadapter.h:
15769 Prepare for optimizing the hell out of this hugely inefficient
15771 Added gst_adapter_take_buffer() so we can at least start thinking
15772 about subbuffering and merging.
15773 Added some comments.
15775 * tests/check/Makefile.am:
15776 * tests/check/libs/adapter.c: (GST_START_TEST),
15777 (gst_adapter_suite), (main):
15778 Added GstAdapter check.
15780 2006-05-04 Wim Taymans <wim@fluendo.com>
15782 * docs/design/part-overview.txt:
15783 Fix some typos, add blurb about buffer flags.
15785 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
15787 * docs/libs/gstreamer-libs-sections.txt:
15788 make sure GstBaseTransformClass shows up in the docs
15789 * libs/gst/base/gstbasetransform.c:
15790 * libs/gst/base/gstbasetransform.h:
15791 move docs so gtk-doc picks it up now
15793 2006-05-02 Stefan Kost <ensonic@users.sf.net>
15795 * docs/libs/gstreamer-libs-sections.txt:
15796 add missing symbols to docs
15798 2006-05-02 Stefan Kost <ensonic@users.sf.net>
15800 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15801 back out the newsegment handling change, see #340060 for ongoing
15804 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
15806 * tools/gst-run.c: (get_candidates), (main):
15807 Fix wrong g_file_test() usage (see glib docs for why it doesn't
15808 work); fix typo in error message. Fixes #340079.
15810 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
15812 * common/Makefile.am:
15813 * docs/Makefile.am:
15814 * docs/faq/Makefile.am:
15815 * docs/gst/Makefile.am:
15816 * docs/libs/Makefile.am:
15817 * docs/manual/Makefile.am:
15818 * docs/plugins/Makefile.am:
15819 * docs/pwg/Makefile.am:
15820 * docs/slides/Makefile.am:
15822 * common/upload.mak:
15823 move upload.mak to common
15825 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
15827 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15828 add more asserts on refcounts
15829 do more cleanup at end of tests
15830 fix test leaks showing in FC5
15832 2006-04-29 Stefan Kost <ensonic@users.sf.net>
15834 * plugins/elements/gsttypefindelement.c:
15835 (gst_type_find_element_handle_event):
15836 reverted wrong change and reflowed code to avoid others falling into
15839 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15841 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15842 fix changelog entry about last collectpads change,
15843 add notes about proper fix
15845 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15848 * gst/gstregistry.c: (gst_registry_scan_path_level),
15849 (gst_registry_scan_path):
15850 * gst/gstregistry.h:
15851 only write out registry if it has changed, fixes #338339
15853 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15856 * gst/gstpipeline.c:
15857 * plugins/elements/gstcapsfilter.c:
15858 * plugins/elements/gstfakesink.c:
15859 * plugins/elements/gstfakesrc.c:
15860 * plugins/elements/gstfdsink.c:
15861 * plugins/elements/gstfdsrc.c:
15862 * plugins/elements/gstfilesink.c:
15863 * plugins/elements/gstfilesrc.c:
15864 * plugins/elements/gstidentity.c:
15865 * plugins/elements/gstqueue.c:
15866 * plugins/elements/gsttee.c:
15867 * plugins/elements/gsttypefindelement.c:
15868 (gst_type_find_element_handle_event):
15869 make GstElementDetails const
15871 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15873 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
15874 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15875 (gst_collect_pads_is_collected), (gst_collect_pads_event):
15876 more detailed debug and formatting cleanup,
15877 forward newsegments to src-pad (so that e.g. adder not eats them)
15879 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15881 * gst/gstutils.c: (gst_element_link_pads):
15882 cleanup double code
15884 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15886 * libs/gst/controller/gstcontroller.c:
15887 (gst_controller_sync_values):
15889 * tests/check/libs/controller.c: (GST_START_TEST),
15890 (gst_controller_suite):
15891 a new test for live value handling
15893 2006-04-28 Wim Taymans <wim@fluendo.com>
15895 * gst/gstutils.c: (push_and_ref):
15896 Added some more docs.
15897 Fix refcount issue whith gst_element_found_tags() helper
15898 function. Fixes #338335
15900 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15901 Added testsuite for gst_element_found_tags().
15903 2006-04-28 Michael Smith <msmith@fluendo.com>
15905 * gst/gstvalue.c: (gst_value_serialize_flags):
15906 Avoid NULL dereference when trying to serialize flags containing
15909 2006-04-28 Michael Smith <msmith@fluendo.com>
15911 * plugins/elements/gsttypefindelement.c:
15912 (gst_type_find_element_handle_event):
15913 If we get EOS before any data is accumulated, don't use
15914 uninitialised local variables.
15916 2006-04-28 Michael Smith <msmith@fluendo.com>
15918 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15919 (gst_dp_event_from_packet):
15920 Fixes in reading/writing events over GDP (not currently used?) -
15921 dereferencing NULL events for unknown/invalid event types, memory
15922 leak, and change g_warning to GST_WARNING.
15924 2006-04-28 Wim Taymans <wim@fluendo.com>
15926 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
15927 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15928 (gst_base_sink_get_position), (gst_base_sink_change_state):
15929 When frame dropping is enabled, we should not ignore frames
15930 without a duration.
15931 Update some documentation.
15933 2006-04-28 Wim Taymans <wim@fluendo.com>
15935 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15936 (gst_base_src_send_event), (gst_base_src_change_state):
15937 Documentation updates.
15939 2006-04-28 Wim Taymans <wim@fluendo.com>
15941 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
15942 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
15943 handle EAGAIN, EINTR and short writes correctly. Also clean
15944 up some error cases, avoid a deadlock on bad file descriptors and
15945 use GST_DEBUG_OBJECT.
15948 2006-04-28 Wim Taymans <wim@fluendo.com>
15950 * gst/gstvalue.c: (gst_value_serialize_buffer),
15951 (gst_value_deserialize_buffer):
15952 Don't try to serialize a GValue with a NULL buffer.
15955 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15956 Added check for serialisation of NULL buffers.
15958 2006-04-28 Wim Taymans <wim@fluendo.com>
15960 * gst/gstminiobject.c: (gst_value_take_mini_object):
15961 Taking a NULL miniobject is valid, fix the case where
15962 we try to unref the NULL miniobject.
15964 2006-04-28 Wim Taymans <wim@fluendo.com>
15966 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
15968 * gst/gstbin.c: (gst_bin_handle_message_func):
15970 Don't leak bin refcount when a state recalc is
15971 in progress and we delay another one #339808.
15973 2006-04-28 Wim Taymans <wim@fluendo.com>
15975 * docs/design/part-TODO.txt:
15976 Mention QoS as an ongoing work item.
15978 * docs/design/part-buffering.txt:
15979 New doc about buffering that needs to be fleshed out
15982 * docs/design/part-qos.txt:
15983 More QoS policy for decoders/demuxers/transforms
15985 * docs/design/part-trickmodes.txt:
15988 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
15993 === release 0.10.5 ===
15995 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
15998 releasing 0.10.5, "Fogo"
16000 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
16002 patch by: Wim Taymans
16004 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
16005 (gst_pad_configure_src), (gst_pad_push):
16006 * gst/gstpipeline.c: (gst_pipeline_init):
16007 Fix internal data flow errors. Fixes #338711.
16009 2006-04-12 Wim Taymans <wim@fluendo.com>
16011 * tests/check/gst/gstelement.c: (GST_START_TEST):
16012 Don't leak the factory.
16014 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
16017 * win32/common/config.h:
16020 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
16022 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
16023 (gst_controller_unset_all):
16024 Free allocated GstTimedValues when freeing list nodes.
16025 Should fix leaks 'make check-valgrind' complains about.
16027 * win32/common/libgstcontroller.def:
16028 Add gst_controller_unset_all.
16030 2006-04-11 Stefan Kost <ensonic@users.sf.net>
16032 * docs/libs/gstreamer-libs-sections.txt:
16033 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
16034 (gst_controller_unset_all):
16035 * libs/gst/controller/gstcontroller.h:
16036 API: Added new method gst_controller_unset_all()
16037 fixed gst_controller_unset()
16038 * tests/check/libs/controller.c: (GST_START_TEST),
16039 (gst_controller_suite):
16040 Added two testcases for new and fixed method
16042 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
16044 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
16045 MSG_DONTWAIT is not defined on Cygwin, so work
16046 around that (fixes #317048).
16048 2006-04-11 Wim Taymans <wim@fluendo.com>
16050 * gst/gstelementfactory.c: (gst_element_register),
16051 (gst_element_factory_create), (gst_element_factory_make):
16054 Updated docs (Fixes #131079)
16056 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
16059 * tests/check/gst/gstelement.c: (GST_START_TEST),
16060 (gst_element_suite):
16061 Added testcase for elementfactory class field.
16063 2006-04-10 Wim Taymans <wim@fluendo.com>
16065 * gst/gstsegment.c:
16066 Added some more docs.
16068 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
16069 (gst_base_sink_reset_qos):
16070 Calculate more accurate rate values.
16072 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
16074 * gst/gst_private.h:
16075 add a new #ifdef to use __declspec(dllimport) only for
16076 other modules and not for gstreamer core
16077 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
16078 use gst_guint64_to_gdouble for conversion
16079 * win32/common/libgstreamer.def:
16080 add new exported functions
16081 * win32/vs6/gst_inspect.dsp:
16082 * win32/vs6/gst_launch.dsp:
16083 * win32/vs6/libgstbase.dsp:
16084 * win32/vs6/libgstcontroller.dsp:
16085 * win32/vs6/libgstcoreelements.dsp:
16086 * win32/vs6/libgstdataprotocol.dsp:
16087 * win32/vs6/libgstnet.dsp:
16088 update project files
16090 2006-04-08 Stefan Kost <ensonic@users.sf.net>
16092 * gst/gstbuffer.c: (gst_subbuffer_class_init):
16093 * gst/gstclock.c: (gst_clock_class_init):
16094 * gst/gstelement.c: (gst_element_class_init):
16095 * gst/gstindex.c: (gst_index_class_init):
16096 * gst/gstindexfactory.c: (gst_index_factory_class_init):
16097 * gst/gstobject.c: (gst_object_class_init),
16098 (gst_signal_object_class_init):
16099 * gst/gstpad.c: (gst_pad_class_init):
16100 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
16101 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
16102 * gst/gstregistry.c: (gst_registry_class_init):
16103 * gst/gstsystemclock.c: (gst_system_clock_class_init):
16104 * gst/gsttask.c: (gst_task_class_init):
16105 * gst/gstxml.c: (gst_xml_class_init):
16106 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
16107 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16108 (gst_base_src_loop):
16109 * libs/gst/controller/gstcontroller.c:/
16110 (_gst_controller_class_init):
16111 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
16112 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
16113 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
16114 * tests/old/examples/plugins/example.c: (gst_example_class_init):
16115 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
16116 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
16118 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
16120 * gst/gstpad.c: (gst_pad_link):
16121 Must set peer pads before calling the link function, otherwise
16122 a task started from a link function might get a flow-not-linked
16123 result when trying to push because the other thread where the
16124 linking happens hasn't had a chance to set the peers yet. This
16125 might happen for example when a queue gets linked to a downstream
16126 element, as queue starts a streaming task when its source pad
16127 gets linked. Happens in real life when playing back flac/musepack
16128 files in playbin (#332390).
16130 2006-04-08 Stefan Kost <ensonic@users.sf.net>
16134 * libs/gst/base/gstadapter.h:
16135 * libs/gst/base/gstbasesink.h:
16136 * libs/gst/base/gstbasesrc.h:
16137 * libs/gst/base/gstbasetransform.h:
16138 * libs/gst/base/gstcollectpads.h:
16139 * libs/gst/base/gstpushsrc.h:
16140 Fix broken GObject macros
16142 2006-04-07 Wim Taymans <wim@fluendo.com>
16144 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16145 Initialize start and stop times, thanks valgrind.
16147 2006-04-07 Wim Taymans <wim@fluendo.com>
16149 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16150 Be a bit nicer to badly behaving upstream elements that expect
16151 us to deal with non TIME segments and timestamps (such as fakesrc
16154 2006-04-07 Wim Taymans <wim@fluendo.com>
16157 Small documentation clarification about the signal watch.
16159 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
16160 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16161 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16162 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
16163 (gst_base_sink_get_position_last),
16164 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
16165 Convert and store timestamps in stream time and running time, the
16166 raw timestamps are not useful, also document this better.
16167 Use different window sizes for good and bad QoS observations so
16168 we react to badness a little quicker.
16169 Keep track of the amount of rendered and dropped buffers.
16170 Send QoS timestamps in running time.
16172 * libs/gst/base/gstbasetransform.c:
16173 (gst_base_transform_sink_eventfunc),
16174 (gst_base_transform_handle_buffer):
16175 Compare QoS timestamps against running time.
16177 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
16180 Typo fixes in docs.
16182 2006-04-06 Michael Smith <msmith@fluendo.com>
16184 * gst/gstpad.c: (gst_pad_set_property):
16185 Use g_value_get_object() instead of g_value_dup_gst_object(),
16186 to avoid double-reffing the pad template (which we then sink,
16187 so this worked previously if (and only if) the pad template
16190 * gst/gstpadtemplate.c: (gst_pad_template_init),
16191 (gst_pad_template_pad_created):
16192 Never return floating references to pad templates, create
16193 them as initially-sunken.
16195 Document an extra function (and make this stop sinking our
16196 pad template, since that is now guaranteed to do nothing,
16197 since we created it sunken).
16199 * gst/gstghostpad.c:
16202 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
16204 * gst/gstinfo.c: (__gst_in_valgrind):
16207 * plugins/elements/gsttypefindelement.c:
16208 (gst_type_find_element_chain):
16209 Don't leak buffer caps.
16211 2006-04-06 Michael Smith <msmith@fluendo.com>
16213 * gst/parse/grammar.y:
16214 Fix a leak in parse-launch for any source-or-sink named element
16217 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
16218 Unref the pipeline if it exists after we've failed parsing.
16220 2006-04-05 Michael Smith <msmith@fluendo.com>
16222 * gst/gstpipeline.c: (gst_pipeline_init):
16223 When we create a pipeline bus, initially create it in flushing mode.
16224 Fixes leaks in at least one test, and makes a new pipeline work the
16225 same as one that has gone to READY and then back to NULL.
16227 * gst/gstelement.c:
16230 2006-04-05 Michael Smith <msmith@fluendo.com>
16232 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
16233 Unref a pad we reffed.
16234 * tests/check/gst/gstutils.c: (GST_START_TEST):
16237 2006-04-05 Michael Smith <msmith@fluendo.com>
16239 * gst/gstquery.c: (gst_query_set_formats),
16240 (gst_query_set_formatsv):
16241 Fix leaking GValues in queries, as shown by valgrind/testsuite.
16243 2006-04-05 Michael Smith <msmith@fluendo.com>
16245 * tests/check/generic/sinks.c: (GST_START_TEST):
16246 Fix a variety of memleaks in sinks check, which are only sometimes
16247 shown by running the tests under valgrind (weird?).
16249 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
16251 * docs/version.entities.in:
16252 Fix the substituted entity name after thomas' changes on the
16255 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
16257 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
16260 2006-04-05 Andy Wingo <wingo@pobox.com>
16262 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
16264 * libs/gst/base/gstbasetransform.c
16265 (gst_base_transform_sink_eventfunc): When resetting our segment on
16266 FLUSH_STOP, also update the flag saying we haven't seen a
16269 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
16271 Patch by: Paolo Borelli <pborelli at katamail dot com>
16273 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
16274 (gst_plugin_check_license):
16275 minor clean-ups: G_DEFINE_TYPE already takes care of the
16276 parent_class stuff, no need to do it twice. Mark array of
16277 license strings as constant. (#337103)
16279 2006-04-04 Michael Smith <msmith@fluendo.com>
16281 * tools/gst-inspect.c: (print_element_list):
16282 Free the right plugin list; fixes a memory leak.
16284 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
16286 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
16288 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16289 Don't error out on empty buffers (#336945).
16291 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
16293 * docs/libs/gstreamer-libs-sections.txt:
16294 * gst/gsttaglist.c:
16295 * libs/gst/base/gstbasesink.c:
16296 * libs/gst/base/gstbasesink.h:
16297 * libs/gst/base/gstbasesrc.c:
16298 * libs/gst/base/gstbasesrc.h:
16299 Documentation updates. Make BaseSink and BaseSrc docs contain the
16300 class structure so that people can actually see the prototypes for
16301 virtual functions they're supposed to be overriding.
16303 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
16305 * plugins/elements/gsttypefindelement.c:
16306 (gst_type_find_element_chain):
16307 More debug info; when skipping typefinding, send cached
16308 events in all cases.
16310 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
16313 use new AS_VERSION and AS_NANO macros
16314 * gst/gst-i18n-lib.h:
16317 * gst/gstversion.h.in:
16318 * win32/common/config.h:
16319 * win32/common/config.h.in:
16322 2006-03-31 Michael Smith <msmith@fluendo.com>
16324 * plugins/elements/gsttypefindelement.c:
16325 (gst_type_find_element_chain):
16326 Do not typefind content if the buffers already have caps.
16327 Neccesary for icydemux (#333657), and the right thing to do anyway.
16329 2006-03-30 Wim Taymans <wim@fluendo.com>
16331 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16332 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
16333 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
16334 (gst_base_sink_record_qos_observation),
16335 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16336 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16337 (gst_base_sink_change_state):
16338 More QoS measurements as described in the design doc.
16339 Get rid of ringbuffer with observations, running average is
16340 more simple and equally good.
16341 Calculates valid proportion now.
16342 Added beginning of flood measurement.
16344 2006-03-29 Wim Taymans <wim@fluendo.com>
16346 * docs/design/part-qos.txt:
16348 Small documentation updates and additions.
16350 2006-03-29 Wim Taymans <wim@fluendo.com>
16352 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16353 (gst_base_src_send_event), (gst_base_src_loop),
16354 (gst_base_src_change_state):
16355 Perform the EOS logic when we reach the segment stop position.
16356 Fix compilation on gcc4.1
16358 2006-03-29 Wim Taymans <wim@fluendo.com>
16360 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
16362 * plugins/elements/gstqueue.c: (gst_queue_init),
16363 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
16364 (gst_queue_set_property):
16365 * plugins/elements/gstqueue.h:
16366 In queue, when EOS is received, if minimum threshold > max_size -
16367 current_level, there is chance that queue blocks forever in conditional
16368 item del wait. This is because the queue is not emptied completely due
16369 to minimum threshold. Here is another approach. Instead of setting
16370 cur_levels to max in EOS, just zero all minimum threshold levels. This
16371 should make sure that queue gives out all data. When going to READY
16372 (stop) state, just reset the original minimum threshold levels.
16375 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
16377 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
16378 (gst_type_find_element_handle_event),
16379 (gst_type_find_element_send_cached_events),
16380 (gst_type_find_element_change_state):
16381 * plugins/elements/gsttypefindelement.h:
16382 When typefinding is done in push mode, we should cache
16383 events we receive during typefinding instead of just
16384 dropping them (e.g. newsegment, custom events from
16385 dvdreadsrc etc.) and then send them out once we've
16386 determined the type of the stream (and decodebin
16387 has had a chance to plug in a decoder/demuxer).
16389 2006-03-27 Wim Taymans <wim@fluendo.com>
16391 * docs/design/part-qos.txt:
16394 2006-03-27 Wim Taymans <wim@fluendo.com>
16396 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
16398 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16399 (gst_base_src_send_event), (gst_base_src_change_state):
16400 Handle element seek correctly when we are streaming.
16403 2006-03-24 Michael Smith <msmith@fluendo.com>
16405 * docs/faq/gst-uninstalled:
16406 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
16407 allow you to correctly run intalled applications built against old
16408 core, using plugins that require updated core (e.g. running
16409 installed totem against a full uninstalled gstreamer stack)
16411 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16413 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
16416 2006-03-24 Wim Taymans <wim@fluendo.com>
16418 * docs/gst/gstreamer-sections.txt:
16419 Rearrange the order of the methods so that related methods
16420 are grouped together in sections.
16422 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16424 * gst/gstelement.c:
16425 Little clarification in the docs
16427 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16431 * plugins/elements/gstidentity.c:
16432 * plugins/elements/gstqueue.c:
16433 * plugins/elements/gsttee.c:
16434 * plugins/elements/gsttypefindelement.c:
16435 GST_ELEMENT_DETAILS formatting
16437 2006-03-24 Wim Taymans <wim@fluendo.com>
16439 * libs/gst/base/gstbasesink.h:
16440 Only add fields, not insert or we break ABI.
16442 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16444 * win32/common/libgstbase.def:
16445 * win32/common/libgstreamer.def:
16446 Update, add recently added functions.
16448 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16450 * docs/gst/gstreamer-sections.txt:
16451 * gst/gstutils.c: (gst_pad_query_peer_position),
16452 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
16454 API: add some new utility functions:
16455 - gst_pad_query_peer_position()
16456 - gst_pad_query_peer_duration()
16457 - gst_pad_query_peer_convert()
16459 2006-03-23 Wim Taymans <wim@fluendo.com>
16461 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16462 (gst_base_sink_init), (gst_base_sink_finalize),
16463 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
16464 (gst_base_sink_set_property), (gst_base_sink_get_property),
16465 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
16466 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16467 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
16468 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16469 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16470 (gst_base_sink_preroll_object), (gst_base_sink_event),
16471 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
16472 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
16473 (gst_base_sink_query), (gst_base_sink_change_state):
16474 Decouple max-lateness and the fact that QoS messages are generated
16475 with a new property (qos).
16476 added API: GstBaseSink::async_play()
16477 Add vmethod so subclasses can be notified of ASYNC playing
16479 Collect timestamp start and stop to report better current
16480 position in EOS/PLAYING/PAUSED/READY/NULL.
16481 Refactor QoS/frame dropping and other measurements.
16482 API: GstBaseSrc::qos
16485 * libs/gst/base/gstbasesink.h:
16486 Added Private struct.
16487 API: gst_base_sink_set_qos_enabled()
16488 API: gst_base_sink_is_qos_enabled()
16490 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16492 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
16493 If compiling against GLib-2.8 or newer, try to read the
16494 registry file using GMappedFile first before falling back
16495 to fopen() + fread() (#332151).
16497 2006-03-22 Wim Taymans <wim@fluendo.com>
16499 * gst/gstinfo.c: (gst_debug_set_active),
16500 (gst_debug_category_set_threshold):
16501 Disable debugging unless explicitly activated.
16504 2006-03-22 Wim Taymans <wim@fluendo.com>
16506 * gst/gstelement.c: (gst_element_set_locked_state),
16507 (gst_element_dispose):
16508 Cleanup the error case.
16510 * gst/gstobject.c: (gst_object_dispose):
16511 print a critical when some object was disposed with
16512 a parent, also revive the object since it might
16515 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
16517 * tools/gst-launch.1.in:
16520 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
16523 * tests/check/Makefile.am:
16524 disable some tests when we don't have a registry
16525 * tests/check/gst/gstutils.c: (gst_utils_suite):
16526 don't build the part that needs parsing
16528 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
16531 * tests/examples/Makefile.am:
16532 fix --disable-parse build
16534 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16536 * tools/gst-feedback.1.in:
16537 Fix typo: s/feeback/feedback/ (#133494).
16539 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16541 * tools/Makefile.am:
16542 * tools/gst-launch.1.in:
16543 Add FILES section and correct entry about GST_REGISTRY_PATH
16544 environment variable (#133495; #133494).
16546 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16548 * tools/Makefile.am:
16549 * tools/gst-md5sum.1.in:
16550 * tools/gst-md5sum.c:
16551 Remove gst-md5sum and man page (the md5sink element
16552 required was removed ages ago)
16554 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16556 * gst/gststructure.c: (gst_structure_id_set_value):
16557 Make sure that string fields in structures/taglists
16558 contain valid UTF-8 - we don't want to pass rubbish to
16559 applications because of a buggy plugin (cp. #334167).
16561 2006-03-21 Edward Hervey <edward@fluendo.com>
16563 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16564 (gst_bin_handle_message_func):
16565 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
16566 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
16567 (gst_element_set_bus_func):
16568 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
16569 * gst/gstminiobject.c: (gst_value_set_mini_object),
16570 (gst_value_take_mini_object):
16571 * gst/gstpad.c: (gst_pad_set_pad_template):
16572 * gst/gstpipeline.c: (gst_pipeline_dispose),
16573 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16574 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
16575 (gst_collect_pads_chain):
16576 * libs/gst/net/gstnettimeprovider.c:
16577 (gst_net_time_provider_set_property):
16578 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
16579 It's in fact all issues with gst_*object_replace().
16581 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16583 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
16585 * pkgconfig/gstreamer-check-uninstalled.pc.in:
16586 * pkgconfig/gstreamer-check.pc.in:
16587 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
16589 2006-03-21 Edward Hervey <edward@fluendo.com>
16593 * gst/gstmessage.h:
16594 gst_[buffer|event|message]_ref() macros are replaced by a static
16595 inline functions because gcc-4.1 will about if the return value
16597 * tests/check/gst/gstevent.c: (event_probe):
16598 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
16600 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
16603 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
16604 the type' case. (Closes: #335195 for now). In the future, when we
16605 depend on GLib 2.10, we could also intern the type name using
16606 g_intern_static_string()
16608 2006-03-20 Wim Taymans <wim@fluendo.com>
16610 * gst/gstbin.c: (gst_bin_handle_message_func),
16611 (bin_query_max_init), (bin_query_position_fold),
16612 (bin_query_position_done), (gst_bin_query):
16613 Position query should also take max of all streams.
16615 2006-03-20 Wim Taymans <wim@fluendo.com>
16617 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16618 (gst_fake_src_finalize):
16619 Fix leaks in fakesrc.
16621 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
16622 Fix leaks in the testcase.
16624 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
16626 * gst/gst_private.h:
16627 add win32 specific import decoration(__declspec(dllimport))
16628 for all extern GstDebugCategory * variables
16629 * win32/common/libgstbase.def:
16630 * win32/common/libgstcontroller.def:
16631 * win32/common/libgstreamer.def:
16632 Add some exports, remove empty lines
16633 * win32/common/libgstdataprotocol.def:
16634 * win32/common/libgstdataprotocol.dsp:
16635 * win32/common/libgstnet.def:
16636 * win32/common/libgstnet.dsp:
16637 new project files and exportation files added
16639 2006-03-19 Wim Taymans <wim@fluendo.com>
16641 * tests/check/libs/basesrc.c: (eos_event_counter):
16642 Use proper return value for probe.
16644 2006-03-17 Wim Taymans <wim@fluendo.com>
16646 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16648 Don't leak buffers, caps and pads on negotiation errors.
16650 2006-03-16 Stefan Kost <ensonic@users.sf.net>
16652 * docs/faq/cvs.xml:
16653 * docs/faq/dependencies.xml:
16654 * docs/faq/developing.xml:
16655 * docs/faq/faq.xml:
16656 * docs/faq/general.xml:
16657 * docs/faq/getting.xml:
16658 * docs/faq/legal.xml:
16659 * docs/faq/troubleshooting.xml:
16660 * docs/faq/using.xml:
16661 Faq review and update.
16663 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
16665 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16667 Don't pound the cpu to pieces by checking get_caps when accept_caps
16668 is called with the same caps as the pad already has.
16669 Use GST_DEBUG_OBJECT when outputting caps change information.
16671 2006-03-15 Wim Taymans <wim@fluendo.com>
16673 * gst/gstclock.c: (gst_clock_class_init):
16676 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
16681 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
16682 (gst_pad_accept_caps), (gst_pad_configure_sink),
16683 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
16684 Make the default acceptcaps behaviour be to check the requested
16685 caps against the gst_pad_get_caps output.
16687 Ensure that gst_pad_accept_caps is used to check caps when a pad
16688 doesn't have a setcaps function, so that pads automatically refuse
16689 caps that they don't allow in their pad template. (Fixes #332986)
16691 When a buffer with attached caps is pushed, ensure that the source
16692 pad receives those caps even if the element didn't call
16693 gst_pad_set_caps first.
16695 2006-03-15 Wim Taymans <wim@fluendo.com>
16697 * libs/gst/base/gstadapter.c:
16700 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
16702 * win32/common/libgstbase.def:
16703 * win32/common/libgstcontroller.def:
16704 * win32/common/libgstreamer.def:
16705 Add a whole bunch of missing functions (#334434).
16707 2006-03-14 Wim Taymans <wim@fluendo.com>
16709 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
16710 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16711 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
16712 Better debug info when we receive a segment event.
16713 Reorganize a bit so we can pass the get_times() results around.
16714 Use the segment format when calculating the running time.
16715 Don't do QoS is sync is disabled or we have no clock or the
16716 element does not want us to sync to the clock.
16717 Don't drop buffers if QoS is disabled for now.
16719 2006-03-14 Wim Taymans <wim@fluendo.com>
16721 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
16722 Marked the stats property as unimplemented so people don't get
16724 Add debug message when regression goes wrong.
16725 Added some more docs.
16727 2006-03-14 Wim Taymans <wim@fluendo.com>
16729 * gst/gstsegment.c: (gst_segment_to_stream_time):
16730 Return correct return type in case of errors.
16732 2006-03-14 Wim Taymans <wim@fluendo.com>
16734 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
16735 Don't segfault on invalid formats.
16737 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
16739 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16740 Can't use gst_segment_to_running_time() when the segment
16741 is not in GST_TIME_FORMAT (like with filesink, for example).
16742 Stops flac encoding pipelines from spewing critical warnings
16745 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
16747 * gst/gstpipeline.c: (gst_pipeline_class_init):
16748 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
16750 * plugins/elements/gsttypefindelement.c:
16751 (gst_type_find_element_handle_event):
16752 Don't try to typefind empty streams.
16754 2006-03-14 Wim Taymans <wim@fluendo.com>
16756 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16757 (gst_base_sink_do_qos):
16758 Separate QoS calculation.
16759 Only drop buffers when lateness is bigger than the
16760 duration of the buffer.
16762 2006-03-13 Wim Taymans <wim@fluendo.com>
16764 * gst/gstpipeline.c: (gst_pipeline_set_property),
16765 (gst_pipeline_get_property), (do_pipeline_seek),
16766 (gst_pipeline_change_state), (gst_pipeline_set_delay),
16767 (gst_pipeline_get_delay):
16768 Don't deadlock when reading properties.
16770 2006-03-13 Wim Taymans <wim@fluendo.com>
16772 * libs/gst/base/gstbasetransform.c:
16773 (gst_base_transform_class_init), (gst_base_transform_init),
16774 (gst_base_transform_sink_event),
16775 (gst_base_transform_sink_eventfunc),
16776 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
16777 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16778 (gst_base_transform_set_property),
16779 (gst_base_transform_get_property),
16780 (gst_base_transform_change_state), (gst_base_transform_update_qos),
16781 (gst_base_transform_set_qos_enabled),
16782 (gst_base_transform_is_qos_enabled):
16783 * libs/gst/base/gstbasetransform.h:
16784 Make basetransform virtual method for src events too.
16785 Handle QOS in basetransform.
16786 API: gst_base_transform_update_qos()
16787 API: gst_base_transform_set_qos_enabled()
16788 API: gst_base_transform_is_qos_enabled()
16790 2006-03-13 Wim Taymans <wim@fluendo.com>
16792 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16793 (gst_base_sink_do_sync):
16795 Use QOS debug category.
16797 2006-03-13 Wim Taymans <wim@fluendo.com>
16799 * plugins/elements/gstqueue.c:
16800 Very small doc update.
16802 2006-03-13 Wim Taymans <wim@fluendo.com>
16804 * gst/gst_private.h:
16805 * gst/gstinfo.c: (_gst_debug_init):
16806 Added QOS debug category
16808 2006-03-13 Wim Taymans <wim@fluendo.com>
16810 * docs/gst/gstreamer-sections.txt:
16811 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
16813 * gst/gstbus.c: (gst_bus_class_init):
16816 * gst/gstelement.c: (gst_element_set_locked_state):
16817 * gst/gstsegment.c:
16818 Documentation updates.
16820 * gst/gstpipeline.c: (gst_pipeline_get_type),
16821 (gst_pipeline_class_init), (gst_pipeline_init),
16822 (gst_pipeline_dispose), (gst_pipeline_set_property),
16823 (gst_pipeline_get_property), (do_pipeline_seek),
16824 (gst_pipeline_send_event), (gst_pipeline_change_state),
16825 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
16826 (gst_pipeline_get_delay):
16827 * gst/gstpipeline.h:
16828 Added methods for setting the delay.
16829 API: gst_pipeline_set_delay()
16830 API: gst_pipeline_get_delay()
16831 Add pipeline debug category
16834 Don't reset stream time when seek failed.
16836 2006-03-13 Wim Taymans <wim@fluendo.com>
16838 * docs/design/draft-klass.txt:
16839 * docs/design/part-clocks.txt:
16840 * docs/design/part-events.txt:
16841 * docs/design/part-gstbin.txt:
16842 * docs/design/part-gstpipeline.txt:
16843 * docs/design/part-messages.txt:
16844 * docs/design/part-negotiation.txt:
16845 * docs/design/part-overview.txt:
16846 * docs/design/part-preroll.txt:
16847 * docs/design/part-seeking.txt:
16848 * docs/design/part-states.txt:
16849 * docs/design/part-streams.txt:
16850 Documentation updates.
16852 2006-03-12 Julien MOUTTE <julien@moutte.net>
16854 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
16855 us to leak strings...
16857 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
16859 * libs/gst/net/gstnettimeprovider.c:
16861 * win32/common/config.h:
16864 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
16866 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
16869 Don't check for libgnomeui (leftover from old examples
16870 that aren't built or disted any longer) (#334303).
16872 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
16874 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
16875 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16876 Emit RESOURCE_NO_SPACE_LEFT error here as well when
16877 there's no space left on the device.
16879 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
16882 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
16883 to cast the input to GstClockTime before comparing with
16884 another GstClockTime value.
16886 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
16891 === release 0.10.4 ===
16893 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
16896 releasing 0.10.4, "Light"
16898 2006-03-10 Michael Smith <msmith@fluendo.com>
16900 * libs/gst/dataprotocol/dataprotocol.c:
16901 Fix docs for dataprocotol to not get the return types completely
16902 wrong for a few functions.
16904 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16906 * docs/gst/gstreamer-sections.txt:
16907 * gst/gstpipeline.c: (gst_pipeline_class_init),
16908 (gst_pipeline_init), (gst_pipeline_set_property),
16909 (gst_pipeline_get_property), (gst_pipeline_change_state),
16910 (gst_pipeline_set_auto_flush_bus),
16911 (gst_pipeline_get_auto_flush_bus):
16912 * gst/gstpipeline.h:
16913 Add new API: gst_pipeline_set_auto_flush_bus() and
16914 gst_pipeline_get_auto_flush_bus() to disable automatic
16915 flushing of the pipeline's GstBus when going from READY
16916 to NULL state (#332045).
16918 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16920 * docs/gst/gstreamer-sections.txt:
16921 * gst/gsturi.c: (gst_uri_has_protocol):
16923 Add new API: gst_uri_has_protocol() (#333779).
16925 2006-03-09 Wim Taymans <wim@fluendo.com>
16927 * gst/gstclock.c: (gst_clock_entry_new),
16928 (gst_clock_id_compare_func), (gst_clock_id_wait),
16929 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
16930 (gst_clock_init), (gst_clock_get_internal_time),
16931 (gst_clock_set_master), (do_linear_regression),
16932 (gst_clock_add_observation), (gst_clock_set_property):
16936 Fix a possible segfault when the window-size is made smaller.
16937 Calculate jitter before performing the clock wait. Ideally
16938 the clock implementation should calculate jitter but we need
16939 API breakage for that.
16941 * gst/gstsystemclock.c: (gst_system_clock_init):
16944 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16945 Remove leftover else
16947 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
16948 (gst_systemclock_suite):
16949 Added check to test GST_CLOCK_DIFF.
16951 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16953 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
16954 (gst_type_find_helper_get_range):
16955 If we are provided with the size, we should implement
16956 GstTypeFind::get_length, so that typefind functions who
16957 want to can actually peek at the middle of a file.
16959 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
16961 * docs/manual/advanced-dataaccess.xml:
16962 Add some very very basic error checking.
16964 * docs/pwg/appendix-checklist.xml:
16965 Some updates to the list of things to check when writing an element.
16967 2006-03-08 Wim Taymans <wim@fluendo.com>
16969 * docs/design/part-element-transform.txt:
16970 Added some docs about the design of tranform elements.
16972 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
16973 (gst_base_src_loop), (gst_base_src_change_state):
16974 Mark buffers with the DISCONT flag.
16976 2006-03-08 Michael Smith <msmith@fluendo.com>
16978 * gst/gstregistry.h:
16979 * gst/gstregistryxml.c: (gst_registry_save),
16980 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
16981 (gst_registry_xml_save_pad_template),
16982 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
16983 (gst_registry_xml_write_cache):
16984 Rewrite registry-saving to avoid race conditions and check for
16987 2006-03-08 Wim Taymans <wim@fluendo.com>
16989 * libs/gst/base/gstbasetransform.c:
16990 (gst_base_transform_transform_caps),
16991 (gst_base_transform_transform_size),
16992 (gst_base_transform_prepare_output_buffer),
16993 (gst_base_transform_get_unit_size),
16994 (gst_base_transform_buffer_alloc),
16995 (gst_base_transform_handle_buffer),
16996 (gst_base_transform_change_state):
16997 Cleanups, separate normal flow from errors, add sensible
16999 Don't try to renegotiate when allocating an output buffer.
17000 Also copy DISCONT buffer flag when copying a buffer.
17001 Reset the transform after we finish streaming, not during.
17003 2006-03-08 Wim Taymans <wim@fluendo.com>
17005 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
17006 Use last buffer timestamp in qos message.
17008 2006-03-07 Wim Taymans <wim@fluendo.com>
17010 Patch by: Christophe Fergeau
17012 * docs/pwg/advanced-tagging.xml:
17013 * docs/pwg/building-pads.xml:
17016 2006-03-07 Wim Taymans <wim@fluendo.com>
17018 * docs/libs/gstreamer-libs-sections.txt:
17019 Added basesink new methods.
17023 Docs updates. Flesh out the QoS docs.
17025 * libs/gst/base/gstadapter.c:
17026 Small doc clarification about ownership and flushing.
17028 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
17029 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
17030 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
17031 (gst_base_sink_get_property), (gst_base_sink_do_sync):
17032 * libs/gst/base/gstbasesink.h:
17034 Added new methods to allow subclass to control max-lateness
17036 Generate very basic QoS events based on last sync observation.
17037 Updated docs, fix typo, added some QoS blurb.
17039 * libs/gst/base/gstbasesrc.c:
17040 Remove obsolete _get_state() calls from docs.
17042 2006-03-07 Wim Taymans <wim@fluendo.com>
17044 * docs/libs/gstreamer-libs-sections.txt:
17045 * libs/gst/base/gstbasetransform.h:
17046 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
17047 Fix docs for GstBaseSrc.
17049 2006-03-07 Wim Taymans <wim@fluendo.com>
17051 * docs/gst/gstreamer-sections.txt:
17054 * libs/gst/base/gstbasetransform.h:
17055 Small documentation fixes.
17057 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
17060 Document thread-unsafety of gst_value_register_foo_func()
17061 when used at the same time as gst_value_foo() (#322628).
17063 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
17065 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
17066 (gst_push_src_check_get_range):
17067 Push sources don't support pull mode by default.
17069 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
17071 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17072 (gst_base_src_init), (gst_base_src_pad_check_get_range),
17073 (gst_base_src_default_check_get_range):
17074 * libs/gst/base/gstbasesrc.h:
17075 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
17076 provide default implementation, and rename
17077 gst_base_src_check_get_range() to
17078 gst_base_src_pad_check_get_range() for clarity.
17080 2006-03-06 Wim Taymans <wim@fluendo.com>
17082 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
17083 Make property overridable.
17085 2006-03-06 Wim Taymans <wim@fluendo.com>
17087 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
17088 (gst_base_sink_init), (gst_base_sink_set_property),
17089 (gst_base_sink_get_property), (gst_base_sink_do_sync):
17090 * libs/gst/base/gstbasesink.h:
17091 API addition: Make max-lateness a property.
17093 2006-03-06 Wim Taymans <wim@fluendo.com>
17095 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
17096 (gst_base_sink_do_sync), (gst_base_sink_render_object):
17097 Don't ever draw a frame that is >10ms late.
17099 2006-03-06 Michael Smith <msmith@fluendo.com>
17101 * gst/gstmessage.c: (_gst_message_copy):
17102 When copying a message, set the parent_refcount of the enclosed
17103 structure to point at the copy, not the original message.
17105 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
17107 Patch by: Christophe Fergeau
17110 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
17111 usable in c++ code (#333417)
17113 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
17116 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
17118 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
17120 * libs/gst/base/gstbasetransform.c:
17121 (gst_base_transform_transform_caps):
17122 Make sure caps are writable before passing them to
17125 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
17128 Fix some minor docs errors.
17130 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
17132 Patch by: Ross Burton <ross at burtonini dot com>
17134 * gst/gsterror.c: (_gst_resource_errors_init):
17136 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
17138 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
17141 Add a check and output a g_warning when GStreamer is built
17142 against GLib 2.6 but running against 2.8 or higher, and vice
17143 versa. (Closes: #323542)
17145 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
17147 * gst/parse/parse.l:
17148 Commit patch for parse_launch syntax from #331255. Removes
17149 support for quoted strings and mimetypes when writing filtered
17150 caps. See the bug report for more details - I'm pretty sure this
17151 obscure feature is not in use by _anyone_ anywhere.
17153 With this simple change, the size of the gstreamer.so here
17154 drops from 2193KB to 1565KB.
17156 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
17158 * plugins/elements/gsttypefindelement.h:
17159 * plugins/elements/gsttypefindelement.c:
17160 (gst_type_find_element_src_event), (start_typefinding),
17161 (stop_typefinding), (gst_type_find_element_handle_event),
17162 (gst_type_find_element_chain),
17163 (gst_type_find_element_chain_do_typefinding):
17164 Use gst_type_find_helper_for_buffer() for chain-based
17167 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
17169 * plugins/elements/gsttypefindelement.c:
17170 (gst_type_find_element_class_init),
17171 (gst_type_find_element_set_property),
17172 (gst_type_find_element_get_property):
17173 Deprecate "maximum" property (not only was it only taken into
17174 account for typefinding in push-mode anyway, it also was never
17175 actually possible to set it in the first place because the
17176 property was registered with the numeric property ID for the
17177 "minimum" property). Register "maximum" property correctly,
17178 for the sake of future copy'n'pasters. Remove some cruft
17179 from property get/set functions.
17181 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
17183 * plugins/elements/gsttypefindelement.c:
17184 (gst_type_find_element_activate):
17185 Use gst_type_find_helper_get_range() here, so we
17186 can honour the "minimum" property and also emit
17187 the signal with the correct probability of the found caps.
17189 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
17191 * docs/libs/gstreamer-libs-sections.txt:
17192 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
17193 (helper_find_suggest), (gst_type_find_helper_get_range),
17194 (gst_type_find_helper):
17195 * libs/gst/base/gsttypefindhelper.h:
17196 New API: gst_type_find_helper_get_range() (#333042).
17198 2006-03-02 Michael Smith <msmith@fluendo.com>
17200 * gst/gstregistryxml.c: (load_feature):
17201 Asserting on a failure to read part of the registry is Not Cool.
17202 Just log a warning and return NULL (which is already handled)
17204 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
17206 * win32/common/libgstbase.def:
17207 added export of gst_type_find_helper_for_buffer
17208 * win32/common/libgstbase.def:
17209 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
17210 gst_ghost_pad_get_target
17212 2006-02-28 Wim Taymans <wim@fluendo.com>
17214 * docs/design/draft-klass.txt:
17216 Added Connector to mark elements that are only used to
17217 allow pipeline connections.
17218 Moved Debug to extra feature since most of them are
17219 functionally something else.
17221 2006-02-28 Wim Taymans <wim@fluendo.com>
17223 * docs/design/draft-klass.txt:
17224 Some updates and clarifications.
17226 2006-02-28 Wim Taymans <wim@fluendo.com>
17228 * docs/design/draft-klass.txt:
17229 Proposal for klass field values.
17231 * docs/design/part-streams.txt:
17232 Start of a doc describing stream anatomy.
17234 2006-02-28 Wim Taymans <wim@fluendo.com>
17236 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
17237 Help the compiler a bit with type registration.
17238 Use existing forward cod path instead of duplicating it when
17239 handling a message.
17241 * gst/gstbus.c: (gst_bus_get_type):
17242 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
17243 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
17244 * gst/gstclock.c: (gst_clock_get_type):
17245 * gst/gstelement.c: (gst_element_get_type),
17246 * gst/gstelementfactory.c: (gst_element_factory_get_type):
17247 * gst/gstindexfactory.c: (gst_index_factory_get_type):
17248 * gst/gstminiobject.c: (gst_mini_object_get_type):
17249 * gst/gstpad.c: (gst_pad_get_type):
17250 * gst/gstsegment.c: (gst_segment_get_type):
17251 * gst/gststructure.c: (gst_structure_get_type):
17252 * gst/gstsystemclock.c: (gst_system_clock_get_type):
17253 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
17255 Help compiler with type registration.
17257 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
17260 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17262 * plugins/elements/gsttypefindelement.c:
17263 (gst_type_find_element_handle_event):
17264 When we get an EOS event and have not found a type yet
17265 (most likely because we had not yet accumulated
17266 TYPE_FIND_MIN_SIZE of data yet), try to determine the
17267 type given the data we have so far. Fixes typefinding
17268 for very short streams again, most notably quicktime
17269 redirections as used on Apple's trailer site (#331701).
17271 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17273 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
17274 (gst_type_find_helper):
17275 Try typefinding factories with the highest rank first.
17277 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17279 * docs/libs/gstreamer-libs-docs.sgml:
17280 * docs/libs/gstreamer-libs-sections.txt:
17281 * libs/gst/base/gsttypefindhelper.c:
17282 Add section for typefind helper and add documentation
17283 for the old and the new function.
17285 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17287 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
17288 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
17289 (gst_type_find_helper_for_buffer):
17290 * libs/gst/base/gsttypefindhelper.h:
17291 New API: gst_type_find_helper_for_buffer() (#332723).
17293 2006-02-27 Michael Smith <msmith@fluendo.com>
17295 Patch by: Loïc Minier
17298 * docs/Makefile.am:
17299 * docs/slides/Makefile.am:
17300 prevent CVS directories getting disted.
17302 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17304 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
17305 Use the REFCOUNTING category for caps refcounting.
17307 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
17309 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
17310 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
17312 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
17314 * plugins/elements/gsttypefindelement.c:
17315 (gst_type_find_element_activate):
17316 Use gst_pad_check_pull_range() before _activate_pull()
17317 to avoid unnecessary open/close (see #331690).
17319 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
17322 Docs enhancement: make it crystal clear what the
17323 gst_pad_add_*_probe() callbacks should look like.
17325 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
17327 * libs/gst/base/gstbasesrc.c:
17328 Document how applications can stop recording from
17329 live sources (see #330996).
17331 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17333 * tests/check/Makefile.am:
17334 * tests/check/libs/basesrc.c: (eos_event_counter),
17335 (basesrc_eos_events_pull), (basesrc_eos_events_push),
17336 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
17337 (gst_basesrc_suite), (main):
17338 ... and add some tests for the base source EOS stuff.
17340 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17342 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
17343 Test case originally showed the problem fixed below,
17344 but was then amended. Add checks back at the place
17345 where they used to be.
17347 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17349 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17350 (gst_base_src_init), (gst_base_src_loop),
17351 (gst_base_src_activate_push), (gst_base_src_activate_pull),
17352 (gst_base_src_change_state):
17353 * libs/gst/base/gstbasesrc.h:
17354 Don't unconditionally send EOS when going from PAUSED to
17355 READY state, esp. make sure we don't send two EOS events
17356 in some cases (e.g. one when reaching EOS and one when
17357 going from PAUSED to READY). Also, we don't want to send
17358 EOS events when operating in pull mode. However, we do
17359 want to send an EOS event when shutting down a live
17360 source explicitly, for example (fixes #330996).
17362 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17364 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
17365 Update src->read_position after a seek when not using mmap.
17366 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
17368 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
17374 Make things work with --disable-parse as they do with
17375 --disable-load-save - the symbols involved disappear, but the
17376 header is still installed and GST_DISABLE_PARSE is included via
17379 2006-02-20 Julien MOUTTE <julien@moutte.net>
17381 * libs/gst/base/gstbasetransform.c:
17382 (gst_base_transform_change_state): Fix a stupid bug. I was
17383 sure I compiled that.
17385 2006-02-20 Julien MOUTTE <julien@moutte.net>
17387 * gst/gstpad.c: (gst_pad_set_blocked_async):
17388 * gst/gstutils.c: (gst_pad_add_data_probe),
17389 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17390 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17391 (gst_pad_remove_buffer_probe): Make those function act on the
17392 ghostpad target when it's a ghostpad. (Closes #331727)
17394 2006-02-20 Julien MOUTTE <julien@moutte.net>
17396 * libs/gst/base/gstbasetransform.c:
17397 (gst_base_transform_change_state): Make basetransform reusable.
17400 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
17402 * docs/random/release:
17403 Move the current documentation of how to do a release to the top
17406 * gst/gstbin.c: (gst_bin_class_init),
17407 (gst_bin_handle_message_func):
17408 Allow multiple state-recalculation threads. (Closes #328873)
17410 2006-02-19 Julien MOUTTE <julien@moutte.net>
17412 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
17413 * gst/gstpad.c: (gst_pad_set_event_function),
17414 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17415 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
17416 2 strings. You can't use the STR_NULL macro on that.
17418 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
17420 * gst/gstpad.c: (gst_pad_set_event_function),
17421 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17422 (gst_pad_set_getcaps_function)
17423 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
17424 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
17425 So now, we can use --gst-debug-level=5 on Windows
17426 * win32/common/libgstcontroller.def:
17427 Added export of gst_controller_init
17428 * win32/vs6/libgstcontroller.dsp:
17429 Fixed Release post build configuration
17431 2006-02-17 Wim Taymans <wim@fluendo.com>
17433 * tests/check/gst/gstquery.c: (GST_START_TEST):
17434 Added another check.
17436 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
17438 * plugins/elements/gsttypefindelement.c: (find_peek):
17439 We can do peeks at non-zero offsets, as long as they
17440 fall within the buffer we have.
17442 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
17444 * tests/check/Makefile.am:
17445 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
17446 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
17447 (parse_suite), (main):
17448 Add testsuite for parse launch syntax
17450 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
17452 * plugins/elements/gsttypefindelement.c:
17453 (gst_type_find_element_chain):
17454 When typefinding is unsuccessful in the chain function, don't
17455 error out immediately. Only error out with NO_CAPS_FOUND if
17456 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
17457 otherwise simply wait for more data so we can try typefinding
17458 again with more data later. Also, don't attempt to typefind
17459 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
17460 this should improve typefinding from network sources where the
17461 size of the first buffer can be somewhat random.
17463 2006-02-14 Wim Taymans <wim@fluendo.com>
17465 * docs/gst/gstreamer-sections.txt:
17466 * gst/gstpadtemplate.c:
17467 * gst/gstpadtemplate.h:
17468 Fix padtemplate docs, fixes #328805.
17470 2006-02-14 Wim Taymans <wim@fluendo.com>
17472 * tools/gst-launch.c: (main):
17473 NO_PREROLL is not an ERROR so don't send confusing messages
17476 2006-02-14 Wim Taymans <wim@fluendo.com>
17478 Patch by: Torsten Schoenfeld
17480 * gst/gstregistry.c: (gst_registry_get_default),
17481 (_gst_registry_cleanup):
17482 Protect default registry with lock and ref/sink it.
17485 2006-02-14 Wim Taymans <wim@fluendo.com>
17488 * gst/gstquery.c: (gst_query_list_add_format),
17489 (gst_query_set_formatsv), (gst_query_parse_formats_length),
17490 (gst_query_parse_formats_nth):
17491 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
17494 2006-02-14 Wim Taymans <wim@fluendo.com>
17496 * docs/gst/gstreamer-sections.txt:
17497 Reworked query docs.
17499 * gst/gstquery.c: (gst_query_new_formats),
17500 (gst_query_list_add_format), (gst_query_set_formats),
17501 (gst_query_set_formatsv), (gst_query_parse_formats_length),
17502 (gst_query_parse_formats_nth):
17504 Flesh out formats query, added some new methods.
17505 Fix part of #324398.
17507 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
17508 Added query creation tests.
17510 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
17512 * gst/gstpad.c: (fixate_value):
17513 Add a default fixation for fraction lists.
17515 2006-02-13 Wim Taymans <wim@fluendo.com>
17517 * gst/gsttask.c: (gst_task_init), (gst_task_func),
17518 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
17521 Detect and warn for obvious deadlocks. fixes #320340
17522 Fix error case where lock was not released.
17524 * tests/check/Makefile.am:
17525 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
17526 (task_func), (gst_element_suite), (main):
17529 2006-02-13 Wim Taymans <wim@fluendo.com>
17531 * docs/gst/gstreamer-sections.txt:
17533 Add new functions to docs.
17535 2006-02-13 Wim Taymans <wim@fluendo.com>
17537 * docs/design/part-TODO.txt:
17538 Updated TODO list, basesrc supports seeking to non-bytes
17541 * docs/design/part-element-sink.txt:
17544 * gst/gstbin.c: (bin_replace_message),
17545 (gst_bin_handle_message_func):
17546 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
17547 * gst/gstevent.c: (gst_event_finalize):
17548 * gst/gstpad.c: (gst_pad_event_default_dispatch),
17549 (gst_pad_send_event):
17550 Use shiny new _TYPE_NAME macros.
17552 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17553 Move debug statement up.
17555 * gst/gstelement.c: (gst_element_set_locked_state):
17556 Add some debugging.
17558 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
17560 * docs/gst/gstreamer-sections.txt:
17561 * gst/gstmessage.h:
17563 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
17564 macros (#330906). Also, document the already existing
17565 GST_QUERY_TYPE macro.
17567 2006-02-13 Wim Taymans <wim@fluendo.com>
17569 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
17570 (event_probe), (GST_START_TEST):
17571 Only events up to the pipeline EOS are counted, there are
17572 some more when going to NULL currently which we don't care
17575 2006-02-13 Wim Taymans <wim@fluendo.com>
17577 * gst/gstpad.c: (gst_pad_send_event):
17578 Correctly check flushing and emit probes. fixes #330125
17580 2006-02-10 Andy Wingo <wingo@pobox.com>
17582 * gst/gstbus.c (gst_bus_class_init): Declare our private data
17584 (gst_bus_init): Cache the location of the private data in the
17585 instance structure.
17586 (gst_bus_enable_sync_message_emission)
17587 (gst_bus_disable_sync_message_emission): Implement new public
17589 (gst_bus_post): Emit the sync-message signal if the user asked for
17592 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
17593 location of the bus-private structure.
17594 (gst_bus_enable_sync_message_emission)
17595 (gst_bus_disable_sync_message_emission): API addition
17597 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
17599 Patch by: Vincent Torri
17601 * docs/pwg/building-boiler.xml:
17602 PWG patch from #326800
17604 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
17607 * docs/Makefile.am:
17608 * docs/design/Makefile.am:
17611 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17616 === release 0.10.3 ===
17618 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17621 releasing 0.10.3, "Like a virgin"
17623 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17626 2nd prerelease of 0.10.3
17627 Bump libtool versioning.
17629 2006-02-07 Andy Wingo <wingo@pobox.com>
17631 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
17632 update last_stop if we're in TIME format and the timestamp is
17635 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
17636 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
17637 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
17638 If we get a new newsegment with a different format, adapt
17641 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
17642 of 0. Not a problem, really.
17644 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
17647 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
17652 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
17655 project files updated to the default vs7 configuration
17656 * win32/common/libgstbase.def:
17657 * win32/common/libgstreamer.def:
17659 removed empty lines,
17660 sorted all exported symbols alphabetically
17661 * win32/common/dirent.c:
17662 * win32/common/dirent.h:
17663 * win32/common/gchar.h:
17664 use windows line end.
17666 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
17668 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
17669 Send EOS event when stopping.
17671 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
17674 Tell folks what to do if the plugin-foobar.xml file
17675 hasn't been generated for a newly-added plugin.
17677 2006-02-05 Julien MOUTTE <julien@moutte.net>
17679 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
17680 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
17681 (gst_collect_pads_start), (gst_collect_pads_stop),
17682 (gst_collect_pads_event): Collectpads now holds a reference
17683 to the GstPad that was added. Indeed we don't want to look
17684 at pads that might just go away with no warning...
17686 2006-02-05 Julien MOUTTE <julien@moutte.net>
17688 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
17689 (gst_collect_pads_start), (gst_collect_pads_stop),
17690 (gst_collect_pads_event), (gst_collect_pads_chain):
17691 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
17692 Mark Nauwelaerts's patch on bug #328491.
17694 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
17696 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
17698 Add some simple tests for gst_parse_bin_from_description() and
17699 gst_bin_find_unconnected_pad() (#329069).
17701 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
17703 * tools/gst-launch.c: (event_loop), (main):
17704 Catch errors during preroll (#320084).
17706 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
17708 * plugins/elements/gsttypefindelement.c:
17709 (gst_type_find_element_activate):
17710 Post TYPE_NOT_FOUND error message when typefinding
17711 is unsuccessful in the activate function as well.
17713 2006-02-02 Wim Taymans <wim@fluendo.com>
17715 * docs/design/part-element-sink.txt:
17718 2006-02-02 Wim Taymans <wim@fluendo.com>
17720 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
17721 (gst_base_sink_render_object),
17722 (gst_base_sink_queue_object_unlocked):
17723 Only keep track of prerollable items when we are
17725 Before rendering after preroll, always check if we
17727 Added some more debugging.
17729 2006-02-02 Wim Taymans <wim@fluendo.com>
17731 * gst/gstelement.c: (gst_element_continue_state),
17732 (gst_element_set_state_func), (gst_element_change_state):
17733 Fixed #326576, been running this for quite some time with
17734 no regressions at all.
17736 2006-02-02 Wim Taymans <wim@fluendo.com>
17739 Added more suppressions
17741 2006-02-02 Wim Taymans <wim@fluendo.com>
17743 * docs/design/part-element-sink.txt:
17746 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17747 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
17748 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
17749 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
17750 (gst_base_sink_do_sync), (gst_base_sink_render_object),
17751 (gst_base_sink_preroll_object),
17752 (gst_base_sink_queue_object_unlocked),
17753 (gst_base_sink_queue_object), (gst_base_sink_event),
17754 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
17755 (gst_base_sink_loop), (gst_base_sink_activate_pull),
17756 (gst_base_sink_get_position), (gst_base_sink_change_state):
17757 * libs/gst/base/gstbasesink.h:
17758 Totally refactored matching the design doc.
17759 Use two segments, one to clip incomming buffers and another to
17761 Handle queueing correctly, bypass the queue when playing.
17762 Make EOS cancelable.
17763 Handle errors correctly when operating in pull based mode.
17765 * tests/check/elements/fakesink.c: (GST_START_TEST),
17767 Added new check for sinks.
17769 2006-02-02 Wim Taymans <wim@fluendo.com>
17771 * gst/gstsegment.c: (gst_segment_clip):
17772 No reason to refuse to clip when start == -1
17774 2006-02-02 Stefan Kost <ensonic@users.sf.net>
17777 * docs/manual/intro-basics.xml:
17778 * docs/manual/intro-preface.xml:
17779 * docs/manual/manual.xml:
17780 * docs/pwg/advanced-dparams.xml:
17781 * docs/pwg/intro-basics.xml:
17782 * docs/pwg/intro-preface.xml:
17783 * docs/pwg/pwg.xml:
17784 describe dparams (controller) for plugins
17785 unify docs a little more
17787 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
17789 * docs/gst/gstreamer-sections.txt:
17790 * gst/gstutils.c: (element_find_unconnected_pad),
17791 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
17793 Add new API: gst_parse_bin_from_description() and
17794 gst_bin_find_unconnected_pad() (#329069).
17796 2006-02-01 Stefan Kost <ensonic@users.sf.net>
17798 * docs/manual/README:
17799 uncover a nasty detail of the docs build
17801 2006-01-31 Wim Taymans <wim@fluendo.com>
17803 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
17804 Don't cache duration messages if we're not going to use or
17807 2006-01-31 Stefan Kost <ensonic@users.sf.net>
17809 * docs/manual/advanced-dparams.xml:
17810 * docs/pwg/advanced-dparams.xml:
17814 * libs/gst/controller/lib.c: (gst_controller_init):
17817 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
17819 * gst/gstelement.c: (gst_element_message_full):
17820 also show file/line/func if no additional debug was given
17822 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
17824 * win32/vs7/grammar.vcproj:
17825 activate copy of autogenerated files for Release mode
17827 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
17829 * win32/common/libgstreamer.def:
17830 export gst_value_compare
17832 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
17834 * plugins/elements/Makefile.am:
17835 * plugins/elements/gstelements.c:
17836 * plugins/elements/gstfdsink.c: (_do_init),
17837 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
17838 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
17839 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
17840 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
17841 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
17842 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
17843 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
17844 * plugins/elements/gstfdsink.h:
17845 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
17847 2006-01-30 Stefan Kost <ensonic@users.sf.net>
17849 * docs/manual/advanced-dparams.xml:
17850 describe controller
17851 * docs/manual/advanced-position.xml:
17852 * docs/manual/basics-init.xml:
17853 * docs/manual/manual.xml:
17854 * docs/manual/titlepage.xml:
17855 * docs/pwg/pwg.xml:
17856 * docs/pwg/titlepage.xml:
17857 cleanup xml (more to come)
17858 * libs/gst/controller/gstcontroller.c:
17861 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
17863 * win32/vs6/grammar.dsp:
17864 add autogen of gstmarshal.c,h for Release mode
17866 2006-01-30 Wim Taymans <wim@fluendo.com>
17868 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17869 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
17870 (gst_base_sink_handle_object), (gst_base_sink_event),
17871 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
17872 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17873 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
17874 (gst_base_sink_deactivate), (gst_base_sink_activate),
17875 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
17876 (gst_base_sink_query), (gst_base_sink_change_state):
17877 Basesink cleanups, remove some old code.
17878 Handle the case where a subclass can preroll in the render
17879 method (mostly audiosinks).
17880 Handle more events.
17881 Remove some locks around variables that are now protected
17882 with the PREROLL_LOCK (clock_id, flushing, ..).
17883 Optimize position query some more, do correct locking.
17884 Remove old code to push queue in state change, this is not
17885 needed anymore since preroll blocks on all prerollable items
17887 Almost implemented as described in design doc.
17889 2006-01-30 Wim Taymans <wim@fluendo.com>
17891 * tests/check/gst/gstbin.c: (GST_START_TEST):
17892 Wait for refcount to settle down before checking.
17894 2006-01-30 Wim Taymans <wim@fluendo.com>
17896 * docs/design/part-element-sink.txt:
17897 Pseudo code overview of desired sink behaviour regarding
17900 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17901 * win32/vs6/grammar.dsp:
17902 fix some bugs in Release mode for autogenerated files
17904 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17905 * win32/common/libgstbase.def:
17906 * win32/common/libgstreamer.def:
17907 export some new symbols: gst_base_src_set_format,
17908 gst_iterator_next, gst_structure_set_valist
17910 2006-01-29 Julien MOUTTE <julien@moutte.net>
17912 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
17913 Set pad functions unconditionally. Fixes #329105.
17915 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17917 add vs8 project files created by Sergey Scobich
17919 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
17921 * gst/gstutils.c: (gst_element_unlink_pads):
17922 Don't leak pad references.
17924 * tests/check/elements/fakesink.c: (GST_START_TEST):
17925 * tests/check/generic/sinks.c: (GST_START_TEST):
17926 * tests/check/generic/states.c: (GST_START_TEST):
17927 * tests/check/gst/gstbin.c: (GST_START_TEST):
17928 * tests/check/gst/gstcaps.c: (GST_START_TEST):
17929 * tests/check/gst/gstelement.c: (GST_START_TEST):
17930 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
17931 * tests/check/gst/gstiterator.c: (GST_START_TEST):
17932 * tests/check/gst/gstvalue.c: (GST_START_TEST):
17933 Fix a bunch of leaks. Make generic/sinks.c
17934 use a bit less cpu by slowing the buffer rate
17935 between fakesrc and fakesink.
17937 2006-01-27 Stefan Kost <ensonic@users.sf.net>
17939 * gst/gstelement.c: (gst_element_send_event):
17942 * gst/gstiterator.c:
17943 * gst/gstiterator.h:
17944 * gst/gstpad.c: (gst_pad_send_event):
17945 * gst/gststructure.c:
17949 * libs/gst/base/gstadapter.c:
17950 doc fixes, to link to function, just write gst_cool_function(), don't
17953 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17955 * plugins/elements/gsttee.c: (gst_tee_do_push),
17956 (gst_tee_handle_buffer):
17957 Always prefer an actual return value from a src
17958 pad in place of NOT_LINKED. This means we return
17959 WRONG_STATE when all src pads are WRONG_STATE
17960 instead of NOT_LINKED.
17962 Lock when replacing the last message to prevent
17963 racing with the get_property method.
17967 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17969 * tests/check/Makefile.am:
17970 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
17972 Add a very simple check that should have caught the memleak I fixed
17973 last night (if not for the slice allocator hiding it)
17975 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17977 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
17978 (gst_bin_remove_func), (gst_bin_handle_message_func),
17979 (bin_query_duration_fold), (bin_query_generic_fold):
17980 Clean up references to the clock provider when disposed or when
17981 handling a clock-lost message from it.
17983 Unref sinks when performing a query via gst_iterator_fold, as the
17984 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
17986 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
17987 (gst_clock_set_master):
17988 Drop our reference to the master clock, if any, when we are disposed.
17990 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
17991 Chain up in dispose.
17993 2006-01-26 Wim Taymans <wim@fluendo.com>
17995 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17996 Add some debugging.
17998 2006-01-26 Julien MOUTTE <julien@moutte.net>
18000 * plugins/elements/gsttee.c: (gst_tee_do_push),
18001 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
18002 handles pad being NOT_LINKED or in WRONG_STATE.
18004 2006-01-26 Stefan Kost <ensonic@users.sf.net>
18009 2006-01-26 Stefan Kost <ensonic@users.sf.net>
18012 remove obsolete entry
18014 2006-01-26 Stefan Kost <ensonic@users.sf.net>
18016 * docs/gst/gstreamer-sections.txt:
18017 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
18018 (gst_bin_iterate_sources), (gst_bin_send_event):
18020 * gst/gstelement.c: (gst_element_send_event):
18022 * gst/gstpad.c: (gst_pad_send_event):
18023 added code for downstream events, reviewed docs in gstevent.c
18025 2006-01-25 Julien MOUTTE <julien@moutte.net>
18027 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18028 We only query position using the clock in the playing state.
18029 Query peer in the other cases.
18030 * win32/common/config.h: Updates.
18032 2006-01-24 Wim Taymans <wim@fluendo.com>
18034 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
18035 A clock entry that is scheduled for the exact time of the
18036 clock is still in time.
18038 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18039 (gst_base_sink_do_sync):
18040 Add some more debug info.
18042 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
18045 Add new vs7 project files and solution.
18047 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
18050 all files removed as they were out-dated.
18052 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
18054 * docs/random/release:
18056 * gst/gstbin.c: (gst_bin_init):
18057 * gst/gstbus.c: (gst_bus_new):
18059 * gst/gstpipeline.c: (gst_pipeline_init):
18060 use gst_bus_new(), improve logging, fix docs
18061 * win32/common/config.h:
18062 update for cvs build
18064 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
18067 up required version of automake to 1.7
18069 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
18071 * win32/common/libgstreamer.def:
18072 export gst_buffer_is_metadata_writable
18074 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
18076 * docs/gst/gstreamer-sections.txt:
18078 Add gst_event_replace() (#327001)
18080 2006-01-20 Wim Taymans <wim@fluendo.com>
18082 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
18083 Make it actually compile too..
18085 2006-01-20 Wim Taymans <wim@fluendo.com>
18088 Clarify behaviour of _is_equal() when passing NULL parameters.
18090 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
18091 (gst_pad_set_caps):
18092 Cleanups. Don't unref NULL caps.
18093 When setting the same caps, protect caps of the pad with
18095 Use full functionality of _is_equal() when comparing caps.
18097 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
18099 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
18100 Don't loop infinitely if there are no buffers to present. Partially
18101 fixes #327197, but collectpads is just broken for reusing elements
18102 to do multiple encodes atm.
18104 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
18106 * tools/gst-inspect.c: (print_element_features):
18107 * tools/gst-xmlinspect.c: (main):
18108 URL_HANDLER is not a plugin feature we can search for in
18111 2006-01-19 Edward Hervey <edward@fluendo.com>
18113 * gst/gstelement.c: (gst_element_pads_activate):
18114 When activating, do src pads first, then sink pads.
18115 When de-activating, do sink pads first, then src pads.
18117 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
18119 * docs/gst/gstreamer-sections.txt:
18120 Add gst_index_add_associationv to the docs
18122 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
18127 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
18128 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
18129 Do some refactoring. Doesn't actually change functionality,
18130 but makes landing the DRAIN event easier later.
18132 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
18134 * docs/pwg/advanced-scheduling.xml:
18135 Update from 0.9.x to 0.10 API and make example a bit
18138 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
18140 * docs/gst/gstreamer-sections.txt:
18141 Add gst_buffer_(is|make)_metadata_writable methods.
18143 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
18145 * docs/design/part-sparsestreams.txt:
18146 Update sparse streams doc, hopefully for greater clarity
18148 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
18150 * docs/design/part-events.txt:
18151 Remove mention of FILLER events.
18154 * docs/design/part-sparsestreams.txt:
18155 Write some things about using NEWSEGMENT to keep sparse streams
18158 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
18160 * gst/gstbin.c: (gst_bin_dispose):
18161 Guard gst_object_unref call against a NULL object (dispose
18162 can theoretically be called multiple times).
18164 2006-01-18 Wim Taymans <wim@fluendo.com>
18166 * gst/gstbin.c: (gst_bin_element_set_state):
18167 * gst/gstclock.c: (gst_clock_id_wait):
18168 Added some more debug info.
18170 * libs/gst/base/gstadapter.c:
18173 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18174 (gst_base_sink_do_sync), (gst_base_sink_chain):
18175 Added some comments.
18177 2006-01-18 Wim Taymans <wim@fluendo.com>
18179 * tests/check/Makefile.am:
18180 * tests/check/elements/fakesink.c: (chain_async_buffer),
18181 (chain_async), (chain_async_return), (GST_START_TEST),
18182 (fakesink_suite), (main):
18183 Added fakesink test that checks prerolling and clipping
18186 * tests/check/gst/gstutils.c: (GST_START_TEST):
18187 Make check run faster so that buildbots don't timeout.
18189 2006-01-18 Wim Taymans <wim@fluendo.com>
18191 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18192 (gst_base_sink_do_sync):
18194 When the sink finishes blocking on the preroll buffer, it can
18195 immediatly render it instead of rendering when the next buffer
18198 2006-01-18 Wim Taymans <wim@fluendo.com>
18200 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
18201 (gst_base_sink_get_property), (gst_base_sink_do_sync),
18202 (gst_base_sink_chain):
18204 GST_ELEMENT_CLOCK and sync are protected with LOCK.
18205 Don't store _last_stop if the buffer is dropped.
18207 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
18209 * plugins/elements/gsttypefindelement.c:
18210 (gst_type_find_element_class_init):
18211 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
18212 object method handler that sets the caps on the pad and we want
18213 that to happen before we emit the signal (fixes e.g. feeding a
18214 plain text file to decodebin).
18216 2006-01-18 Christian Schaller <Christian@fluendo.com>
18218 * gst/gstplugin.c: Add MPL and Proprietary as license options
18220 2006-01-18 Andy Wingo <wingo@pobox.com>
18222 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
18223 symbol was exported before, it appears this was just an oversight.
18225 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
18227 * gst/gstindex.c (gst_index_add_associationv): Changed int in
18228 prototype to gint. OK since this prototype was not in the header.
18230 2006-01-17 Andy Wingo <wingo@pobox.com>
18232 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
18233 registry while we remove plugins.
18235 * tools/gst-inspect.c (print_element_info): Don't unref the
18236 factory arg, that should be the responsibility of whatever code
18237 received the ref. Fixes a double-free when called from
18238 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
18239 (main): Unref the factory if we have one.
18240 (print_element_list): No change -- relies on the
18241 plugin_feature_list_free to free the list of features.
18243 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
18245 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18246 (gst_buffer_make_metadata_writable):
18248 * libs/gst/base/gstbasetransform.c:
18249 (gst_base_transform_prepare_output_buf):
18250 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18251 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18252 Replace gst_buffer_(make|is)_metadata_writable patch now
18253 that the release is out.
18255 2006-01-17 Andy Wingo <wingo@pobox.com>
18257 * gst/gstregistry.c: Reflow design comment. Update so as to speak
18258 in the present tense without reference to versions.
18260 * gst/gstregistry.c (gst_registry_add_plugin)
18261 (gst_registry_remove_plugin, gst_registry_remove_feature)
18262 (gst_registry_find_feature, gst_registry_get_feature_list)
18263 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
18264 (gst_registry_lookup, gst_registry_scan_path)
18265 (_gst_registry_remove_cache_plugins)
18266 (gst_registry_get_feature_list_by_plugin): Add argument
18269 === release 0.10.2 ===
18271 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
18274 releasing 0.10.2, "If man is five"
18276 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
18280 * libs/gst/base/gstbasetransform.c:
18281 (gst_base_transform_prepare_output_buf):
18282 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18283 * tests/check/gst/gstbuffer.c: (gst_test_suite):
18284 Back out patch until after the release.
18286 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
18288 * gst/gstminiobject.c:
18289 Spelling fix in docs.
18290 * ChangeLog - remove conflict indicator
18292 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
18294 Reviewed By: Andy Wingo
18296 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18297 (gst_buffer_make_metadata_writable):
18299 Add gst_buffer_(is|make)_metadata_writable as analogues of
18300 gst_buffer_(is|make)_writable.
18302 * libs/gst/base/gstbasetransform.c:
18303 (gst_base_transform_prepare_output_buf):
18304 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18305 Use name gst_buffer_(is|make)_metadata_writable functions.
18307 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18308 Test gst_buffer_(is|make)_metadata_writable
18312 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
18314 * docs/manual/Makefile.am:
18315 don't do parallel make
18318 * win32/common/config.h.in:
18319 add generations for HOST_CPU and GST_MAJORMINOR
18320 * win32/common/config.h:
18321 commit generated result
18323 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
18325 * docs/manual/appendix-integration.xml:
18326 Update GNOME integration section to use gst_init_get_option_group()
18327 instead of the old popt stuff (#322911). Also, GNOME applications
18328 should now use gconf*sink and gconf*src instead of the old gconf
18331 2006-01-13 Stefan Kost <ensonic@users.sf.net>
18334 * docs/gst/gstreamer-docs.sgml:
18335 * docs/gst/gstreamer-sections.txt:
18336 * docs/libs/gstreamer-libs-sections.txt:
18337 add new API entries to the docs
18338 * libs/gst/controller/Makefile.am:
18339 * libs/gst/controller/gstcontroller.c:
18340 * libs/gst/controller/gstcontroller.h:
18341 * libs/gst/controller/gstcontrollerprivate.h:
18342 * libs/gst/controller/gsthelper.c:
18343 * libs/gst/controller/gstinterpolation.c:
18344 move private structs to private header
18346 gstreamer-0.7 -> gstreamer-0.10
18347 * tests/check/libs/struct_i386.h:
18348 remove private structs
18350 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
18352 * plugins/indexers/Makefile.am:
18353 Fixes as part of #317048
18355 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
18357 * plugins/indexers/Makefile.am:
18358 fix #316086 - compilation when mmap is missing
18360 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
18362 * libs/gst/base/gstbasesink.c:
18363 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
18364 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
18365 * win32/common/config.h:
18366 added some defines GST_MAJORMINOR and HOST_CPU
18367 * win32/common/libgstbase.def:
18368 * win32/common/libgstreamer.def:
18369 added some exported functions.
18371 2006-01-12 Stefan Kost <ensonic@users.sf.net>
18373 * libs/gst/controller/gstcontroller.c:
18374 (gst_controlled_property_set_interpolation_mode),
18375 (gst_controlled_property_new):
18376 * libs/gst/controller/gstcontroller.h:
18377 * libs/gst/controller/gstinterpolation.c:
18378 (interpolate_none_get_string_value_array):
18379 make G_TYPE_STRING controlable
18381 2006-01-12 Stefan Kost <ensonic@users.sf.net>
18384 * tools/gst-feedback.1.in:
18385 * tools/gst-inspect.1.in:
18386 * tools/gst-launch.1.in:
18387 * tools/gst-md5sum.1.in:
18388 * tools/gst-typefind.1.in:
18389 * tools/gst-xmlinspect.1.in:
18390 * tools/gst-xmllaunch.1.in:
18391 cleanup man-pages, remove reference to gst-register, document env-vars
18393 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
18395 * gst/gstbuffer.c: (gst_buffer_span):
18396 gst_buffer_span should copy the timestamp of the first buffer
18397 if they were both originally overlapping subbuffers of the
18398 same parent, using the same logic as the 'slow copy' case.
18400 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
18402 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
18403 Need to awaken ALL the pads when we pop a buffer, otherwise
18404 collectpads only works when there is 2 input streams.
18406 2006-01-11 Stefan Kost <ensonic@users.sf.net>
18408 * docs/random/ensonic/media-device-daemon.txt:
18411 fix doc example, add clarification
18412 * tools/gst-launch.1.in:
18413 add initial info about GST_PLUGIN_PATH, needs more work
18415 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
18417 * docs/manual/basics-bins.xml:
18418 * docs/manual/basics-elements.xml:
18419 * docs/manual/intro-basics.xml:
18420 Some more minor docs additions and updates.
18422 2006-01-11 Wim Taymans <wim@fluendo.com>
18424 * docs/manual/basics-bins.xml:
18425 * docs/manual/basics-elements.xml:
18426 Some small fixes as pointed out by Ser-ver on IRC.
18428 2006-01-10 Edward Hervey <edward@fluendo.com>
18430 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
18431 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
18432 the single-segment mode.
18434 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
18436 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18438 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
18439 (gst_base_src_perform_seek), (gst_base_src_send_event),
18440 (gst_base_src_set_property), (gst_base_src_get_property),
18441 (gst_base_src_loop), (gst_base_src_start),
18442 (gst_base_src_activate_push):
18443 * libs/gst/base/gstbasesrc.h:
18444 Name (private) union; makes Sun's Forte compiler happy (#324900).
18446 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
18449 gst-register is gone.
18451 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
18453 * gst/gstvalue.c: (_gst_value_initialize):
18454 make the G_TYPE_DATE instantiation work if debug is disabled
18456 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
18458 * gst/gstmessage.c: (gst_message_parse_tag),
18459 (gst_message_parse_error), (gst_message_parse_warning):
18460 Don't crash when return location for error/warning debug
18461 string is NULL; add fact that return locations can be
18462 NULL to docs where appropriate.
18464 2006-01-05 Wim Taymans <wim@fluendo.com>
18466 * gst/gstplugin.c: (gst_plugin_load_file):
18467 Replace strdup by g_strdup.
18469 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
18471 * docs/pwg/advanced-types.xml:
18474 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
18476 submitted by: Abel Cheung
18480 Added Chinese (traditional) translation
18482 2006-01-04 Wim Taymans <wim@fluendo.com>
18484 * docs/manual/basics-pads.xml:
18485 * docs/plugins/Makefile.am:
18486 * docs/plugins/gstreamer-plugins-docs.sgml:
18487 * docs/plugins/gstreamer-plugins-sections.txt:
18488 * docs/pwg/advanced-clock.xml:
18489 * docs/pwg/advanced-scheduling.xml:
18490 * docs/pwg/advanced-types.xml:
18491 * plugins/elements/gstfdsink.c:
18492 * plugins/elements/gstfdsrc.c:
18493 * plugins/elements/gstfdsrc.h:
18494 * plugins/elements/gstidentity.c: (gst_identity_class_init):
18495 * plugins/elements/gstidentity.h:
18496 * plugins/elements/gstqueue.h:
18497 * plugins/elements/gsttee.c:
18498 * plugins/elements/gsttee.h:
18499 * plugins/elements/gsttypefindelement.c:
18500 (gst_type_find_element_class_init):
18501 * plugins/elements/gsttypefindelement.h:
18502 Small updates to various docs.
18503 Added core plugins to docs.
18505 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18508 add a suppression for liboil's uninitialized variable
18510 2006-01-02 James Livingston <jrl at ids dot org dot au>
18512 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18515 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
18516 macro, so that gcc doesn't complain if the -Wmissing-prototypes
18517 compiler switch is being used (#325429).
18519 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
18521 * gst/gstbin.c: (gst_bin_query):
18522 Disable duration query caching in bins until it gets
18523 fixed (see #324807).
18525 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
18527 * tools/gst-inspect.c: (print_element_properties_info):
18528 Handle properties of POINTER and BOXED type.
18530 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
18532 * gst/gst.c: (init_post):
18533 Init tags stuff and some other things before loading
18534 any static plugins (there may be other static plugins
18535 than just the GStreamer ones, and they may want to
18536 register their own tags or formats or whatever, and
18537 preferably without segfaulting).
18539 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
18540 Print at least a warning in the debug logs if we drop a
18541 query just because we don't know how to adjust the value
18542 in the particular format.
18544 2005-12-24 David Schleef <ds@schleef.org>
18546 * tools/gstreamer-completion:
18547 Replacement for gst-complete written in sh and sed. Only
18548 completes names of features, but that's 90% of what I want
18549 it for. Properties are not available in registry.xml. (Maybe
18552 === release 0.10.1 ===
18554 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
18557 releasing 0.10.1, "Nollaig chridheil"
18559 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
18561 * docs/faq/cvs.xml:
18562 Add missing quote, should be make ERROR_CFLAGS="".
18564 2005-12-20 Wim Taymans <wim@fluendo.com>
18566 * docs/design/part-trickmodes.txt:
18567 More documentation on trickmodes.
18569 2005-12-20 Edward Hervey <edward@fluendo.com>
18571 * gst/gstcaps.c: (gst_static_caps_get_type):
18573 API addition: GST_TYPE_STATIC_CAPS
18574 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
18575 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
18576 * gst/gstpadtemplate.h:
18577 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
18578 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
18581 2005-12-18 Wim Taymans <wim@fluendo.com>
18583 * libs/gst/base/gstadapter.c:
18584 * libs/gst/base/gstadapter.h:
18585 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
18586 (gst_base_sink_get_position):
18587 * libs/gst/base/gstbasesink.h:
18588 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18589 (gst_base_src_default_query), (gst_base_src_default_do_seek),
18590 (gst_base_src_do_seek), (gst_base_src_perform_seek),
18591 (gst_base_src_send_event), (gst_base_src_update_length),
18592 (gst_base_src_get_range), (gst_base_src_loop),
18593 (gst_base_src_start):
18594 * libs/gst/base/gstbasesrc.h:
18595 * libs/gst/base/gstbasetransform.h:
18596 * libs/gst/base/gstcollectpads.h:
18597 * libs/gst/base/gstpushsrc.c:
18598 * libs/gst/base/gstpushsrc.h:
18599 * libs/gst/dataprotocol/dataprotocol.c:
18600 * libs/gst/dataprotocol/dataprotocol.h:
18601 * libs/gst/net/gstnetclientclock.h:
18602 * libs/gst/net/gstnettimeprovider.h:
18603 Documentation updates.
18605 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
18607 * docs/manual/basics-helloworld.xml:
18608 Remove superfluous closing bracket in helloworld example.
18610 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
18612 * tools/gst-launch.1.in:
18613 Update gst-launch man page; add a section with useful
18614 environment variables. Fixes #323882.
18616 2005-12-16 Stefan Kost <ensonic@users.sf.net>
18619 * gst/gst_private.h:
18620 change some char* into char[]
18622 2005-12-16 Wim Taymans <wim@fluendo.com>
18624 * gst/gstregistryxml.c: (load_feature):
18626 Don't use g_object_unref on GstObjects so that we avoid
18627 leaks on unsafe glibs.
18629 2005-12-16 Wim Taymans <wim@fluendo.com>
18631 * gst/gstbin.c: (gst_bin_recalc_state):
18634 2005-12-16 Wim Taymans <wim@fluendo.com>
18636 * common/check.mak:
18637 Added make forever target for check.
18639 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
18641 * gst/gst.c: (init_post):
18642 make the registry cache file HOST_CPU-dependent
18644 2005-12-16 Andy Wingo <wingo@pobox.com>
18646 * plugins/elements/gstbufferstore.c
18647 (gst_buffer_store_cleared_func): Pay attention to g_list_append
18650 * tests/check/gst/gstobject.c
18651 (test_fake_object_name_threaded_unique): Pay attention to
18652 g_list_sort return value.
18654 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
18656 * tools/gst-feedback-m.m:
18657 Update for 0.9/0.10 (fixes #323870).
18659 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
18661 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
18662 Fix lcopy for mini objects, the mini object needs to be ref'ed.
18664 * tests/check/gst/gstminiobject.c: (my_foo_init),
18665 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
18666 (test_value_collection), (gst_mini_object_suite):
18667 Add test to ensure refcounts end up as expected when passing
18668 GstMiniObjects through g_object_get() and g_object_set().
18670 2005-12-14 Julien MOUTTE <julien@moutte.net>
18672 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18673 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
18674 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
18675 of collectpads. This version removes a lot of races without
18676 touching API/ABI. Yay !
18678 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
18680 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
18681 Don't allow activation of a srcpad in pull_range if it has no
18683 Change some debug statements to be a little clearer
18685 * plugins/elements/gsttypefindelement.c:
18686 (gst_type_find_handle_src_query):
18687 Check that we have a peer before executing queries thereupon.
18689 * tests/examples/metadata/read-metadata.c: (message_loop):
18690 Use gst_bus_pop instead of gst_bus_poll when we just want it to
18691 immediately return us any available message with 0 timeout.
18693 2005-12-12 Michael Smith <msmith@fluendo.com>
18695 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
18696 Don't unref factories after calling them.
18697 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
18698 * plugins/elements/gsttypefindelement.c:
18699 (gst_type_find_element_chain):
18700 Free lists of factories after using them. Fixing typefinding memory
18703 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18705 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
18706 (gst_plugin_feature_load):
18707 more meaningful debug output
18709 * tests/Makefile.am:
18710 * tests/old/examples/Makefile.am:
18711 make make distcheck happy again
18713 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
18715 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
18716 Catch the special case where we are operating chain-based,
18717 but the downstream peer pad has no chain function. Emit a
18718 custom error message in this case instead of letting the
18719 core generate one implying that this is some sort of core
18720 bug. It's not, it just means that whatever got plugged
18721 into the pipeline downstream when we announced the type
18722 can only operate pull-based, while our source can only
18723 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
18724 Error string has not been marked for translation yet, as
18725 it probably needs some more work first.
18727 (gst_type_find_element_get_best_possibility):
18728 Add helper function to find the best of all available
18729 found possibilities that qualify given the min. threshold.
18731 (gst_type_find_element_handle_event):
18732 Fix the case where we get an EOS while still in TYPEFIND
18733 mode (we want to chose the best of all possible types,
18734 not just the first type that happens to be in our unsorted
18735 list of possible types).
18737 (gst_type_find_element_chain):
18738 Make sure we return GST_FLOW_ERROR when we errored out
18739 in stop_typefinding(); also, don't just find the best of
18740 all found type entries and then use the last examined
18741 type entry, but actually use the best entry.
18743 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
18745 * tests/examples/typefind/typefind.c: (type_found):
18746 * tests/examples/xml/runxml.c: (xml_loaded):
18747 More gcc4 fixes and a mem leak fix.
18749 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18751 * tests/examples/xml/createxml.c: (object_saved):
18754 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18756 * tests/Makefile.am:
18757 enable the examples even more
18759 2005-12-12 Andy Wingo <wingo@pobox.com>
18761 * libs/gst/net/gstnettimeprovider.c
18762 (gst_net_time_provider_class_init, gst_net_time_provider_init)
18763 (gst_net_time_provider_set_property)
18764 (gst_net_time_provider_get_property):
18765 API addition: Export "active" as a GObject property.
18766 (gst_net_time_provider_thread): Only respond to time queries if
18767 the time provider is active.
18769 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
18770 NetTimeProvider, preserving binary compat.
18772 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18774 * tests/examples/controller/audio-example.c: (main):
18775 * tests/examples/launch/Makefile.am:
18776 convert comments again
18778 2005-12-12 Wim Taymans <wim@fluendo.com>
18780 * libs/gst/base/gstpushsrc.c:
18783 2005-12-12 Wim Taymans <wim@fluendo.com>
18785 * docs/libs/gstreamer-libs-sections.txt:
18786 Added new symbol to docs.
18788 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18789 (gst_base_src_init), (gst_base_src_set_format),
18790 (gst_base_src_default_query), (gst_base_src_query),
18791 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
18792 (gst_base_src_perform_seek), (gst_base_src_send_event),
18793 (gst_base_src_default_event), (gst_base_src_event_handler),
18794 (gst_base_src_set_property), (gst_base_src_get_property),
18795 (gst_base_src_wait), (gst_base_src_do_sync),
18796 (gst_base_src_update_length), (gst_base_src_get_range),
18797 (gst_base_src_check_get_range), (gst_base_src_loop),
18798 (gst_base_src_default_negotiate), (gst_base_src_start),
18799 (gst_base_src_activate_push), (gst_base_src_activate_pull),
18800 (gst_base_src_change_state):
18801 * libs/gst/base/gstbasesrc.h:
18802 Implement seeking to other formats than _BYTES.
18803 Implement more seeking methods correctly.
18805 Added query vmethod.
18806 Added do_seek vmethod to make life easier for subclasses
18808 API addition: gst_base_src_set_format()
18810 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18812 * tests/examples/Makefile.am:
18815 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18818 * docs/random/ensonic/media-device-daemon.txt:
18819 * tests/examples/controller/.cvsignore:
18820 * tests/examples/controller/Makefile.am:
18821 * tests/examples/controller/audio-example.c: (main):
18822 * tests/examples/helloworld/.cvsignore:
18823 * tests/examples/helloworld/Makefile.am:
18824 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
18825 * tests/examples/launch/.cvsignore:
18826 * tests/examples/launch/Makefile.am:
18827 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
18828 * tests/examples/metadata/.cvsignore:
18829 * tests/examples/metadata/Makefile.am:
18830 * tests/examples/metadata/read-metadata.c: (message_loop),
18831 (make_pipeline), (print_tag), (main):
18832 * tests/examples/queue/.cvsignore:
18833 * tests/examples/queue/Makefile.am:
18834 * tests/examples/queue/queue.c: (event_loop), (main):
18835 * tests/examples/typefind/.cvsignore:
18836 * tests/examples/typefind/Makefile.am:
18837 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
18839 * tests/examples/xml/.cvsignore:
18840 * tests/examples/xml/Makefile.am:
18841 * tests/examples/xml/createxml.c: (object_saved), (main):
18842 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
18843 * tests/old/examples/Makefile.am:
18844 * tests/old/examples/TODO:
18845 * tests/old/examples/controller/.cvsignore:
18846 * tests/old/examples/controller/Makefile.am:
18847 * tests/old/examples/controller/audio-example.c:
18848 * tests/old/examples/helloworld/.cvsignore:
18849 * tests/old/examples/helloworld/Makefile.am:
18850 * tests/old/examples/helloworld/helloworld.c:
18851 * tests/old/examples/launch/.cvsignore:
18852 * tests/old/examples/launch/Makefile.am:
18853 * tests/old/examples/launch/mp3parselaunch.c:
18854 * tests/old/examples/launch/mp3play:
18855 * tests/old/examples/manual/Makefile.am:
18856 * tests/old/examples/metadata/Makefile.am:
18857 * tests/old/examples/metadata/read-metadata.c:
18858 * tests/old/examples/queue/.cvsignore:
18859 * tests/old/examples/queue/Makefile.am:
18860 * tests/old/examples/queue/queue.c:
18861 * tests/old/examples/typefind/.cvsignore:
18862 * tests/old/examples/typefind/Makefile.am:
18863 * tests/old/examples/typefind/typefind.c:
18864 * tests/old/examples/xml/.cvsignore:
18865 * tests/old/examples/xml/Makefile.am:
18866 * tests/old/examples/xml/createxml.c:
18867 * tests/old/examples/xml/runxml.c:
18868 applied some simple fixing to some examples
18869 re-enabled the working examples
18871 2005-12-12 Wim Taymans <wim@fluendo.com>
18873 * gst/gstsegment.c: (gst_segment_init),
18874 (gst_segment_set_last_stop), (gst_segment_set_seek),
18875 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18876 (gst_segment_to_running_time):
18877 Added more documentation.
18878 Make sure the last_pos value is updated properly.
18879 Make sure to_stream_time and to_running_time don't
18880 operate on wrong values.
18882 * tests/check/gst/gstsegment.c: (GST_START_TEST):
18885 2005-12-12 Michael Smith <msmith@fluendo.com>
18887 * plugins/elements/gsttypefindelement.c: (free_entry),
18888 (gst_type_find_element_chain):
18889 Now that we're not leaking factories, make sure we keep references
18890 to them while we need them.
18892 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
18894 * tests/check/gst/struct_i386.h:
18895 ifdef out the XML structs
18897 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
18899 * gst/gstvalue.c: (gst_value_transform_double_fraction):
18900 floor is not needed, F is always positive; this obviates the
18901 need for adding -lm when building without libxml
18903 2005-12-12 Wim Taymans <wim@fluendo.com>
18905 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18906 Take current playback rate into account when reporting
18909 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18911 * docs/manual/mime-world.fig:
18912 Let's try this again, this time with a file that is
18913 actually in XFig format.
18915 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18917 * docs/manual/mime-world.fig:
18918 Add audioconvert element to diagram so that it
18919 matches the text and the code (fixes #319526).
18921 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18923 * docs/pwg/building-chainfn.xml:
18924 * docs/pwg/building-pads.xml:
18925 * docs/pwg/building-state.xml:
18926 * docs/pwg/other-source.xml:
18927 Update state change stuff for 0.10 (fixes #322969).
18929 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18931 * docs/manual/advanced-dataaccess.xml:
18932 * docs/manual/appendix-checklist.xml:
18933 * docs/manual/appendix-programs.xml:
18934 * docs/manual/basics-pads.xml:
18935 * docs/manual/highlevel-components.xml:
18936 * docs/manual/manual.xml:
18937 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
18938 add converters in front of pipelines; remove curly
18939 brackets for threads stuff, they no longer exist; use
18940 GST_TYPE_FRACTION for framerates; update some pieces of
18941 code to 0.10, but there's plenty more to do.
18943 * docs/manual/appendix-porting.xml:
18944 Expand on asynchroneous state changes; s/0.9/0.10/;
18945 mention disappearance of gst_init_get_popt_table()
18948 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18950 * docs/faq/using.xml:
18951 Spider no longer exists, and neither does gst-launch-ext.
18952 Update examples to use decodebin and playbin and put
18953 converters in front of sinks (fixes #323726).
18955 2005-12-09 Michael Smith <msmith@fluendo.com>
18957 * plugins/elements/gsttypefindelement.c: (find_peek),
18958 (gst_type_find_element_chain):
18959 Fix leaking element factories in typefinding.
18960 Fix problem where we forgot about a probable type on non-seekable
18961 files, and thus later mis-typefound it.
18963 2005-12-09 Michael Smith <msmith@fluendo.com>
18965 * common/m4/gst-makecontext.m4:
18966 * common/m4/gst-mcsc.m4:
18968 * win32/common/config.h:
18969 * win32/common/config.h.in:
18970 Remove makecontext stuff; not used in 0.10 and causes problems on
18971 HPUX according to bug #322441
18973 2005-12-07 Wim Taymans <wim@fluendo.com>
18975 * tests/check/Makefile.am:
18976 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
18978 * tests/check/libs/struct_i386.h:
18979 Added ABI check for libs
18981 2005-12-07 Wim Taymans <wim@fluendo.com>
18983 * tests/check/Makefile.am:
18984 And add the struct_i386.h to dist.
18986 2005-12-07 Wim Taymans <wim@fluendo.com>
18988 * tests/check/Makefile.am:
18989 * tests/check/gst/.cvsignore:
18990 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
18992 * tests/check/gst/struct_i386.h:
18993 Added check for ABI compatibility.
18995 2005-12-07 Wim Taymans <wim@fluendo.com>
18997 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18998 (gst_fake_src_get_times), (gst_fake_src_create):
18999 Fix broken sync option, fixes #323259
19001 2005-12-07 Wim Taymans <wim@fluendo.com>
19006 * gst/gstcaps.c: (gst_caps_is_equal):
19007 Don't assert on NULL <--> X. Fixes #323260
19009 * gst/gstminiobject.c: (gst_mini_object_replace):
19010 If we're doing atomic operations, we might just as well use
19011 the proper way to get an atomic pointer.
19013 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
19014 Clean up debugging.
19016 2005-12-07 Michael Smith <msmith@fluendo.com>
19018 * gst/parse/grammar.y:
19019 Remove handling of { } for threads.
19021 2005-12-06 David Schleef <ds@schleef.org>
19023 * libs/gst/base/gstbasetransform.c: speling fix.
19025 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
19027 * docs/libs/tmpl/gstdataprotocol.sgml:
19028 * docs/random/omega/testing/gstobject.c:
19031 * gst/gstelement.c:
19032 * gst/gstelementfactory.c:
19035 * gst/gstghostpad.c:
19037 * gst/gstpadtemplate.c:
19038 * gst/gstregistryxml.c:
19039 * gst/gsttaglist.c:
19040 * gst/gsttagsetter.c:
19041 * gst/gsttypefind.c:
19043 * libs/gst/base/gstbasesrc.c:
19044 * libs/gst/net/gstnetclientclock.c:
19045 * libs/gst/net/gstnettimeprovider.c:
19046 * plugins/elements/gstfakesrc.c:
19047 * plugins/elements/gstfdsrc.c:
19048 * plugins/elements/gstfilesrc.c:
19049 * plugins/elements/gstidentity.c:
19050 * plugins/elements/gstqueue.c:
19051 * plugins/elements/gsttypefindelement.c:
19052 * plugins/indexers/gstfileindex.c:
19053 * plugins/indexers/gstmemindex.c:
19054 * tests/check/gst/gsttag.c:
19055 * tests/old/examples/cutter/cutter.c:
19056 * tests/old/examples/mixer/mixer.c:
19057 * tests/old/examples/xml/runxml.c: (main):
19058 * tests/old/testsuite/caps/normalisation.c:
19059 * tests/old/testsuite/debug/global.c:
19060 * tests/old/testsuite/parse/parse1.c:
19061 * tools/gst-xmlinspect.c:
19062 * win32/common/dirent.c:
19065 === release 0.10.0 ===
19067 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19070 releasing 0.10.0, "Maroilles"
19072 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
19074 submitted by: Funda Wang <fundawang@linux.net.cn>
19078 added Chinese (Traditional) translation
19080 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
19082 * docs/gst/gstreamer-sections.txt:
19083 * docs/libs/tmpl/gstdataprotocol.sgml:
19084 * docs/random/thomasvs/TODO:
19089 2005-12-05 Andy Wingo <wingo@pobox.com>
19091 patch by: Wim Taymans <wim@fluendo.com>
19093 * libs/gst/base/gstbasetransform.c
19094 (gst_base_transform_prepare_output_buf)
19095 (gst_base_transform_buffer_alloc):
19096 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
19097 alloc_buffer_and_set_caps.
19099 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
19100 set_caps on the source pad.
19101 (gst_pad_alloc_buffer_and_set_caps): New function, does what
19102 alloc_buffer used to do. Fixes #322874.
19104 * docs/gst/gstreamer-sections.txt:
19105 * docs/design/part-negotiation.txt:
19106 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
19109 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
19111 patch by: Sebastien Moutte
19114 * win32/common/config.h.in:
19115 * win32/vs6/libgstcontroller.dsp:
19118 2005-12-05 Wim Taymans <wim@fluendo.com>
19120 * gst/gstcaps.c: (gst_caps_is_equal):
19121 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
19122 (gst_fake_src_create):
19123 Back out previous code changes, leave doc updates, file bugs
19126 2005-12-05 Wim Taymans <wim@fluendo.com>
19128 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
19129 (gst_fake_src_get_times), (gst_fake_src_create):
19130 * plugins/elements/gstfakesrc.h:
19131 Fix broken sync code.
19133 2005-12-05 Wim Taymans <wim@fluendo.com>
19135 * gst/gstcaps.c: (gst_caps_is_equal):
19136 Comparing NULL against !NULL yields different caps, not a
19139 2005-12-05 Wim Taymans <wim@fluendo.com>
19141 * gst/gstpipeline.c:
19142 Fix small typo in docs.
19144 2005-12-05 Andy Wingo <wingo@pobox.com>
19146 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
19148 * gst/gst.c (init_post): remove hard-coded 0.9 location for
19149 registries/plugins with a MAJORMINOR one.
19150 (plugin_desc): Rename library from gstcoreleements to
19151 staticelements. Fixes #323222.
19153 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
19155 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
19156 Change debug category to 'collectpads' from 'collect_pads'
19159 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
19161 patch by: Sebastien Moutte
19163 * libs/gst/controller/gstinterpolation.c:
19164 use convert function for uint64/double
19165 * win32/vs6/libgstcontroller.dsp:
19168 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
19170 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
19171 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
19173 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19174 add tests that seem to show that the guint64/gdouble conversions
19177 2005-12-02 Wim Taymans <wim@fluendo.com>
19179 * gst/gstregistry.c: (gst_registry_add_path):
19180 * gst/gstregistry.h:
19181 * gst/gstregistryxml.c:
19184 2005-12-02 Wim Taymans <wim@fluendo.com>
19186 * gst/gstutils.c: (gst_util_uint64_scale_int64),
19187 (gst_util_uint64_scale_int):
19190 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19191 Add debug log line.
19193 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
19196 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
19199 * win32/common/config.h:
19200 * win32/vs6/gstreamer.dsw:
19201 * win32/vs6/libgstcoreelements.dsp:
19202 * win32/vs6/libgstelements.dsp:
19203 renamed core elements plugin
19205 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
19207 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
19209 do piece-wise major/minor comparison so 0.9 < 0.10
19210 also allow .exe extensions for tools
19212 2005-12-02 Michael Smith <msmith@fluendo.com>
19215 Escape a % to make gtkdoc happier; bug 322958.
19217 === release 0.9.7 ===
19219 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19222 releasing 0.9.7, "My Dog Has No Nose"
19224 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19226 * common/gst-xmlinspect.py:
19228 * docs/libs/tmpl/gstdataprotocol.sgml:
19229 * docs/random/release:
19248 * win32/common/config.h:
19249 * win32/common/config.h.in:
19250 * win32/vs6/gst_inspect.dsp:
19251 * win32/vs6/gst_launch.dsp:
19252 * win32/vs6/libgstbase.dsp:
19253 * win32/vs6/libgstelements.dsp:
19254 * win32/vs6/libgstreamer.dsp:
19255 * win32/vs7/GStreamer.vcproj:
19256 * win32/vs7/gst-inspect.vcproj:
19257 * win32/vs7/gst-launch.vcproj:
19258 * win32/vs7/libgstbase.vcproj:
19259 bump GST_MAJORMINOR to 0.10
19260 reset libtool version
19262 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19266 Added Bulgarian translation by (Alexander Shopov)
19268 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19270 * tests/check/gst/gstplugin.c:
19273 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19275 * common/gst-xmlinspect.py:
19276 * common/gtk-doc-plugins.mak:
19278 * docs/Makefile.am:
19279 * docs/gst/Makefile.am:
19280 * docs/gst/gstreamer-docs.sgml:
19281 * docs/gst/gstreamer-sections.txt:
19282 * docs/gst/gstreamer.types:
19283 * docs/gst/gstreamer.types.in:
19284 * docs/plugins/Makefile.am:
19285 * docs/plugins/gstreamer-plugins-docs.sgml:
19286 * docs/plugins/gstreamer-plugins-sections.txt:
19287 * docs/plugins/gstreamer-plugins.types:
19288 * docs/plugins/inspect.stamp:
19289 * docs/plugins/inspect/plugin-coreelements.xml:
19290 * docs/plugins/inspect/plugin-coreindexers.xml:
19291 * docs/plugins/scanobj-build.stamp:
19292 * gstreamer.spec.in:
19293 * plugins/elements/Makefile.am:
19294 * plugins/elements/gstelements.c:
19295 * plugins/elements/gstfakesink.c:
19296 * plugins/elements/gstfakesrc.c:
19297 * plugins/elements/gstfilesink.c:
19298 * plugins/elements/gstfilesrc.c:
19299 * plugins/elements/gstqueue.c:
19300 * plugins/indexers/Makefile.am:
19301 * plugins/indexers/gstindexers.c:
19302 document core plugins in a separate document just like all the
19304 rename these plugins to something starting with core
19306 2005-12-01 Andy Wingo <wingo@pobox.com>
19308 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
19309 padding here before, but it missed the commit.
19311 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19313 * libs/gst/controller/gstinterpolation.c:
19314 whitespace prices have crashed, we should feel free to use some now
19315 use gst_guint64_to_gdouble
19317 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19319 * libs/gst/controller/gstcontroller.c:
19320 * libs/gst/controller/gsthelper.c:
19321 * libs/gst/controller/gstinterpolation.c:
19322 * libs/gst/controller/lib.c:
19323 wrap config.h include
19325 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19327 * docs/gst/gstreamer-sections.txt:
19330 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19332 * plugins/elements/gstelements.c:
19333 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
19334 (gst_fd_sink__class_init), (gst_fd_sink__init),
19335 (gst_fd_sink__chain), (gst_fd_sink__set_property),
19336 (gst_fd_sink__get_property):
19337 * plugins/elements/gstfdsink.h:
19338 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
19339 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
19340 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
19341 (gst_fd_src_unlock), (gst_fd_src_set_property),
19342 (gst_fd_src_get_property), (gst_fd_src_create),
19343 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
19344 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
19345 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
19346 (gst_fd_src_uri_handler_init):
19347 * plugins/elements/gstfdsrc.h:
19348 * plugins/elements/gstqueue.c: (gst_queue_get_type):
19351 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19353 * docs/gst/Makefile.am:
19354 * docs/gst/gstreamer.types.in:
19358 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19364 * gst/gstregistry.h:
19365 * tests/benchmarks/complexity.c:
19366 * tests/benchmarks/mass-elements.c:
19367 * tests/check/Makefile.am:
19368 * tools/Makefile.am:
19369 * tools/gst-inspect.c:
19370 * tools/gst-xmlinspect.c:
19371 various fixes to make
19372 --disable-nls --disable-registry --disable-loadsave
19373 --disable-parse --disable-gst-debug
19374 work and get the core .so down to 360444 bytes after stripping
19376 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19381 * docs/random/thomasvs/TODO:
19382 * tests/Makefile.am:
19386 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19388 * win32/GStreamer.vcproj:
19391 * win32/Makefile.inspect:
19392 * win32/Makefile.launch:
19393 * win32/Makefile.register:
19394 * win32/README.txt:
19395 * win32/gst-inspect.vcproj:
19396 * win32/gst-launch.vcproj:
19397 * win32/gst-register.vcproj:
19398 * win32/gstelements.vcproj:
19399 * win32/gstgetbits.def:
19400 * win32/gstgetbits.vcproj:
19401 * win32/gstreamer-dbg.def:
19402 * win32/gstreamer.def:
19403 * win32/libgstbase.def:
19404 * win32/libgstbase.vcproj:
19405 * win32/link_oldruntime.c:
19409 * win32/msvc71.sln:
19410 move even more stuff, win32/ is nice and clean now
19412 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19414 * libs/gst/control/.cvsignore:
19419 * win32/gstbytestream.def:
19420 * win32/gstbytestream.vcproj:
19421 * win32/gstconfig.h:
19422 * win32/gstenumtypes.c:
19423 * win32/gstenumtypes.h:
19424 * win32/gstoptimalscheduler.vcproj:
19425 * win32/gstversion.h:
19427 * win32/testsuite/bins.vcproj:
19428 * win32/testsuite/bytestream.vcproj:
19429 * win32/testsuite/caps.vcproj:
19430 * win32/testsuite/cleanup.vcproj:
19431 * win32/testsuite/clock.vcproj:
19432 * win32/testsuite/debug.vcproj:
19433 * win32/testsuite/dlopen.vcproj:
19434 * win32/testsuite/dynparams.vcproj:
19435 * win32/testsuite/elements.vcproj:
19436 * win32/testsuite/ghostpads.vcproj:
19437 * win32/testsuite/indexers.vcproj:
19438 * win32/testsuite/negotiation.vcproj:
19439 * win32/testsuite/parse.vcproj:
19440 * win32/testsuite/plugin.vcproj:
19441 * win32/testsuite/refcounting.vcproj:
19442 * win32/testsuite/schedulers.vcproj:
19443 * win32/testsuite/states.vcproj:
19444 * win32/testsuite/tags.vcproj:
19445 * win32/testsuite/threads.vcproj:
19446 remove old win32 stuff that isn't maintained and should be
19449 2005-11-30 Andy Wingo <wingo@pobox.com>
19451 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
19452 loading the gst.interfaces python module bork.
19454 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
19455 available since GLib 2.2. Fixes #318031.
19457 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19460 * check/.cvsignore:
19461 * check/Makefile.am:
19462 * check/elements/.cvsignore:
19463 * check/elements/fakesrc.c:
19464 * check/elements/fdsrc.c:
19465 * check/elements/identity.c:
19466 * check/generic/.cvsignore:
19467 * check/generic/states.c:
19468 * check/gst-libs/.cvsignore:
19469 * check/gst-libs/controller.c:
19470 * check/gst-libs/gdp.c:
19471 * check/gst/.cvsignore:
19472 * check/gst/capslist.h:
19474 * check/gst/gstbin.c:
19475 * check/gst/gstbuffer.c:
19476 * check/gst/gstbus.c:
19477 * check/gst/gstcaps.c:
19478 * check/gst/gstelement.c:
19479 * check/gst/gstevent.c:
19480 * check/gst/gstghostpad.c:
19481 * check/gst/gstiterator.c:
19482 * check/gst/gstmessage.c:
19483 * check/gst/gstminiobject.c:
19484 * check/gst/gstobject.c:
19485 * check/gst/gstpad.c:
19486 * check/gst/gstpipeline.c:
19487 * check/gst/gstplugin.c:
19488 * check/gst/gstsegment.c:
19489 * check/gst/gststructure.c:
19490 * check/gst/gstsystemclock.c:
19491 * check/gst/gsttag.c:
19492 * check/gst/gstutils.c:
19493 * check/gst/gstvalue.c:
19494 * check/net/.cvsignore:
19495 * check/net/gstnetclientclock.c:
19496 * check/net/gstnettimeprovider.c:
19497 * check/pipelines/.cvsignore:
19498 * check/pipelines/cleanup.c:
19499 * check/pipelines/simple_launch_lines.c:
19500 * check/pipelines/stress.c:
19501 * check/states/.cvsignore:
19502 * check/states/sinks.c:
19504 * examples/Makefile.am:
19505 * examples/appreader/.cvsignore:
19506 * examples/appreader/Makefile.am:
19507 * examples/appreader/appreader.c:
19508 * examples/controller/.cvsignore:
19509 * examples/controller/Makefile.am:
19510 * examples/controller/audio-example.c:
19511 * examples/cutter/.cvsignore:
19512 * examples/cutter/Makefile.am:
19513 * examples/cutter/cutter.c:
19514 * examples/cutter/cutter.h:
19515 * examples/events/Makefile.am:
19516 * examples/events/seek.c:
19517 * examples/helloworld/.cvsignore:
19518 * examples/helloworld/Makefile.am:
19519 * examples/helloworld/helloworld.c:
19520 * examples/helloworld2/.cvsignore:
19521 * examples/helloworld2/Makefile.am:
19522 * examples/helloworld2/helloworld2.c:
19523 * examples/launch/.cvsignore:
19524 * examples/launch/Makefile.am:
19525 * examples/launch/mp3parselaunch.c:
19526 * examples/launch/mp3play:
19527 * examples/manual/.cvsignore:
19528 * examples/manual/Makefile.am:
19529 * examples/manual/extract.pl:
19530 * examples/metadata/Makefile.am:
19531 * examples/metadata/read-metadata.c:
19532 * examples/mixer/.cvsignore:
19533 * examples/mixer/Makefile.am:
19534 * examples/mixer/mixer.c:
19535 * examples/mixer/mixer.h:
19536 * examples/pingpong/.cvsignore:
19537 * examples/pingpong/Makefile.am:
19538 * examples/pingpong/pingpong.c:
19539 * examples/plugins/.cvsignore:
19540 * examples/plugins/Makefile.am:
19541 * examples/plugins/example.c:
19542 * examples/plugins/example.h:
19543 * examples/pwg/.cvsignore:
19544 * examples/pwg/Makefile.am:
19545 * examples/pwg/extract.pl:
19546 * examples/queue/.cvsignore:
19547 * examples/queue/Makefile.am:
19548 * examples/queue/queue.c:
19549 * examples/queue2/.cvsignore:
19550 * examples/queue2/Makefile.am:
19551 * examples/queue2/queue2.c:
19552 * examples/queue3/.cvsignore:
19553 * examples/queue3/Makefile.am:
19554 * examples/queue3/queue3.c:
19555 * examples/queue4/.cvsignore:
19556 * examples/queue4/Makefile.am:
19557 * examples/queue4/queue4.c:
19558 * examples/retag/.cvsignore:
19559 * examples/retag/Makefile.am:
19560 * examples/retag/retag.c:
19561 * examples/retag/transcode.c:
19562 * examples/thread/.cvsignore:
19563 * examples/thread/Makefile.am:
19564 * examples/thread/thread.c:
19565 * examples/typefind/.cvsignore:
19566 * examples/typefind/Makefile.am:
19567 * examples/typefind/typefind.c:
19568 * examples/xml/.cvsignore:
19569 * examples/xml/Makefile.am:
19570 * examples/xml/createxml.c:
19571 * examples/xml/runxml.c:
19572 * tests/Makefile.am:
19573 * tests/check/Makefile.am:
19574 * testsuite/.cvsignore:
19575 * testsuite/Makefile.am:
19577 * testsuite/caps/.cvsignore:
19578 * testsuite/caps/Makefile.am:
19579 * testsuite/caps/app_fixate.c:
19580 * testsuite/caps/audioscale.c:
19581 * testsuite/caps/caps.c:
19582 * testsuite/caps/caps.h:
19583 * testsuite/caps/caps_strings:
19584 * testsuite/caps/compatibility.c:
19585 * testsuite/caps/deserialize.c:
19586 * testsuite/caps/enumcaps.c:
19587 * testsuite/caps/eratosthenes.c:
19588 * testsuite/caps/filtercaps.c:
19589 * testsuite/caps/fixed.c:
19590 * testsuite/caps/fraction-convert.c:
19591 * testsuite/caps/fraction-multiply-and-zero.c:
19592 * testsuite/caps/intersect2.c:
19593 * testsuite/caps/intersection.c:
19594 * testsuite/caps/normalisation.c:
19595 * testsuite/caps/random.c:
19596 * testsuite/caps/renegotiate.c:
19597 * testsuite/caps/sets.c:
19598 * testsuite/caps/simplify.c:
19599 * testsuite/caps/string-conversions.c:
19600 * testsuite/caps/structure.c:
19601 * testsuite/caps/subtract.c:
19602 * testsuite/caps/union.c:
19603 * testsuite/debug/.cvsignore:
19604 * testsuite/debug/Makefile.am:
19605 * testsuite/debug/category.c:
19606 * testsuite/debug/commandline.c:
19607 * testsuite/debug/global.c:
19608 * testsuite/debug/output.c:
19609 * testsuite/debug/printf_extension.c:
19610 * testsuite/dlopen/.cvsignore:
19611 * testsuite/dlopen/Makefile.am:
19612 * testsuite/dlopen/dlopen_gst.c:
19613 * testsuite/dlopen/loadgst.c:
19614 * testsuite/elements/.cvsignore:
19615 * testsuite/elements/Makefile.am:
19616 * testsuite/elements/gst-inspect-check.in:
19617 * testsuite/elements/struct_i386.h:
19618 * testsuite/elements/struct_size.c:
19619 * testsuite/indexers/.cvsignore:
19620 * testsuite/indexers/Makefile.am:
19621 * testsuite/indexers/cache1.c:
19622 * testsuite/indexers/indexdump.c:
19623 * testsuite/parse/.cvsignore:
19624 * testsuite/parse/Makefile.am:
19625 * testsuite/parse/parse1.c:
19626 * testsuite/parse/parse2.c:
19627 * testsuite/plugin/.cvsignore:
19628 * testsuite/plugin/Makefile.am:
19629 * testsuite/plugin/README:
19630 * testsuite/plugin/dynamic.c:
19631 * testsuite/plugin/linked.c:
19632 * testsuite/plugin/loading.c:
19633 * testsuite/plugin/registry.c:
19634 * testsuite/plugin/static.c:
19635 * testsuite/plugin/static2.c:
19636 * testsuite/plugin/testplugin.c:
19637 * testsuite/plugin/testplugin2.c:
19638 * testsuite/plugin/testplugin2_s.c:
19639 * testsuite/plugin/testplugin_s.c:
19640 * testsuite/refcounting/.cvsignore:
19641 * testsuite/refcounting/Makefile.am:
19642 * testsuite/refcounting/bin.c:
19643 * testsuite/refcounting/element.c:
19644 * testsuite/refcounting/element_pad.c:
19645 * testsuite/refcounting/mainloop.c:
19646 * testsuite/refcounting/mem.c:
19647 * testsuite/refcounting/mem.h:
19648 * testsuite/refcounting/object.c:
19649 * testsuite/refcounting/pad.c:
19650 * testsuite/refcounting/sched.c:
19651 * testsuite/refcounting/thread.c:
19652 * testsuite/states/.cvsignore:
19653 * testsuite/states/Makefile.am:
19654 * testsuite/states/bin.c:
19655 * testsuite/states/locked.c:
19656 * testsuite/states/parent.c:
19657 * testsuite/threads/.cvsignore:
19658 * testsuite/threads/159566.c:
19659 * testsuite/threads/159852.c:
19660 * testsuite/threads/Makefile.am:
19661 * testsuite/threads/queue.c:
19662 * testsuite/threads/signals.c:
19663 * testsuite/threads/staticrec.c:
19664 * testsuite/threads/thread.c:
19665 * testsuite/threads/threadb.c:
19666 * testsuite/threads/threadc.c:
19667 * testsuite/threads/threadd.c:
19668 * testsuite/threads/threade.c:
19669 * testsuite/threads/threadf.c:
19670 * testsuite/threads/threadg.c:
19671 * testsuite/threads/threadh.c:
19672 * testsuite/threads/threadi.c:
19673 move all of these under tests
19675 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19678 * tests/Makefile.am:
19681 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19683 * docs/gst/gstreamer-sections.txt:
19684 * tests/sched/.cvsignore:
19685 * tests/sched/Makefile.am:
19686 * tests/sched/cases/(fs-fs).xml:
19687 * tests/sched/cases/(fs-i-fs).xml:
19688 * tests/sched/cases/(fs-i-i-fs).xml:
19689 * tests/sched/cases/(fs-i-q[i-fs]).xml:
19690 * tests/sched/dynamic-pipeline.c:
19691 * tests/sched/interrupt1.c:
19692 * tests/sched/interrupt2.c:
19693 * tests/sched/interrupt3.c:
19694 * tests/sched/runtestcases:
19695 * tests/sched/runxml.c:
19696 * tests/sched/sched-stress.c:
19697 * tests/sched/sort.c:
19698 * tests/sched/testcases:
19699 * tests/sched/testcases1.tc:
19700 * tests/seeking/.cvsignore:
19701 * tests/seeking/Makefile.am:
19702 * tests/seeking/seeking1.c:
19703 * tests/threadstate/.cvsignore:
19704 * tests/threadstate/Makefile.am:
19705 * tests/threadstate/test1.c:
19706 * tests/threadstate/test2.c:
19707 * tests/threadstate/threadstate1.c:
19708 * tests/threadstate/threadstate2.c:
19709 * tests/threadstate/threadstate3.c:
19710 * tests/threadstate/threadstate4.c:
19711 * tests/threadstate/threadstate5.c:
19712 remove obsolete tests
19714 * tests/bench-complexity.scm:
19715 * tests/bench-mass_elements.scm:
19716 * tests/complexity.c:
19717 * tests/complexity.gnuplot:
19718 * tests/instantiate/.cvsignore:
19719 * tests/instantiate/Makefile.am:
19720 * tests/instantiate/caps.c:
19721 * tests/mass_elements.c:
19722 * tests/network-clock-utils.scm:
19723 * tests/network-clock.scm:
19725 First pass at cleaning up tests/ dir before moving the rest
19726 Combined with CVS surgery
19728 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19731 queue has moved, update
19733 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19735 * docs/gst/gstreamer-sections.txt:
19736 remove double entries from the docs
19737 * gst/gst_private.h:
19738 * gst/gstinfo.c: (_gst_debug_init):
19739 remove the THREAD debug category
19743 * docs/gst/gstreamer.types:
19744 * plugins/elements/gstqueue.c: (gst_queue_get_type),
19745 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
19746 completely move queue and fix up debugging categories
19748 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19750 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
19751 make initialization portable, using LL is not
19753 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19755 * win32/common/gstconfig.h:
19758 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19760 * win32/common/libgstreamer.def:
19761 rename symbols; sort base section
19763 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19765 * gst/gstclock.c: (do_linear_regression):
19766 remove crack non-portable handrolled DEBUG macro
19768 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19770 * docs/random/release:
19772 * win32/common/gstenumtypes.c: (register_gst_object_flags),
19773 (gst_object_flags_get_type), (register_gst_bin_flags),
19774 (gst_bin_flags_get_type), (register_gst_buffer_flag),
19775 (gst_buffer_flag_get_type), (register_gst_bus_flags),
19776 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19777 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
19778 (gst_caps_flags_get_type), (register_gst_clock_return),
19779 (gst_clock_return_get_type), (register_gst_clock_entry_type),
19780 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19781 (gst_clock_flags_get_type), (register_gst_state),
19782 (gst_state_get_type), (register_gst_state_change_return),
19783 (gst_state_change_return_get_type), (register_gst_state_change),
19784 (gst_state_change_get_type), (register_gst_element_flags),
19785 (gst_element_flags_get_type), (register_gst_core_error),
19786 (gst_core_error_get_type), (register_gst_library_error),
19787 (gst_library_error_get_type), (register_gst_resource_error),
19788 (gst_resource_error_get_type), (register_gst_stream_error),
19789 (gst_stream_error_get_type), (register_gst_event_type_flags),
19790 (gst_event_type_flags_get_type), (register_gst_event_type),
19791 (gst_event_type_get_type), (register_gst_seek_type),
19792 (gst_seek_type_get_type), (register_gst_seek_flags),
19793 (gst_seek_flags_get_type), (register_gst_format),
19794 (gst_format_get_type), (register_gst_index_certainty),
19795 (gst_index_certainty_get_type), (register_gst_index_entry_type),
19796 (gst_index_entry_type_get_type),
19797 (register_gst_index_lookup_method),
19798 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19799 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19800 (gst_index_resolver_method_get_type), (register_gst_index_flags),
19801 (gst_index_flags_get_type), (register_gst_debug_level),
19802 (gst_debug_level_get_type), (register_gst_debug_color_flags),
19803 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19804 (gst_iterator_result_get_type), (register_gst_iterator_item),
19805 (gst_iterator_item_get_type), (register_gst_message_type),
19806 (gst_message_type_get_type), (register_gst_mini_object_flags),
19807 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19808 (gst_pad_link_return_get_type), (register_gst_flow_return),
19809 (gst_flow_return_get_type), (register_gst_activate_mode),
19810 (gst_activate_mode_get_type), (register_gst_pad_direction),
19811 (gst_pad_direction_get_type), (register_gst_pad_flags),
19812 (gst_pad_flags_get_type), (register_gst_pad_presence),
19813 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19814 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19815 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19816 (gst_plugin_error_get_type), (register_gst_plugin_flags),
19817 (gst_plugin_flags_get_type), (register_gst_rank),
19818 (gst_rank_get_type), (register_gst_query_type),
19819 (gst_query_type_get_type), (register_gst_tag_merge_mode),
19820 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19821 (gst_tag_flag_get_type), (register_gst_task_state),
19822 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19823 (gst_alloc_trace_flags_get_type),
19824 (register_gst_type_find_probability),
19825 (gst_type_find_probability_get_type), (register_gst_uri_type),
19826 (gst_uri_type_get_type), (register_gst_parse_error),
19827 (gst_parse_error_get_type):
19828 * win32/common/gstenumtypes.h:
19829 * win32/common/gstversion.h:
19830 update visual studio generated files
19832 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19834 * win32/vs6/libgstbase.dsp:
19835 * win32/vs6/libgstelements.dsp:
19836 update project files for new locations
19838 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19843 reinstate and update
19848 * docs/random/LICENSE:
19851 2005-11-30 Edward Hervey <edward@fluendo.com>
19853 * gst/gsttypefind.c: (gst_type_find_register):
19854 * gst/gsttypefind.h:
19855 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
19856 (gst_type_find_factory_dispose):
19857 * gst/gsttypefindfactory.h:
19858 Fix memory leak in GstTypeFindFactory.
19860 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19863 * plugins/elements/Makefile.am:
19864 * plugins/elements/gstelements.c:
19865 * plugins/elements/gstqueue.c:
19866 move queue from core to the elements plugin
19868 2005-11-29 Andy Wingo <wingo@pobox.com>
19870 * libs/gst/base/gstbasetransform.h:
19871 * libs/gst/base/gstbasesrc.h:
19872 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
19874 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
19875 of pointers by which to pad very extensible base classes (like the
19876 ones in libs/gst/base).
19878 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19880 * docs/gst/gstreamer-docs.sgml:
19881 * docs/gst/gstreamer-sections.txt:
19882 * docs/libs/gstreamer-libs-docs.sgml:
19883 * docs/libs/gstreamer-libs-sections.txt:
19884 moving documentation from core to lib
19886 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19888 * check/Makefile.am:
19890 * docs/gst/Makefile.am:
19892 * gst/base/.cvsignore:
19893 * gst/base/Makefile.am:
19895 * gst/base/gstadapter.c:
19896 * gst/base/gstadapter.h:
19897 * gst/base/gstbasesink.c:
19898 * gst/base/gstbasesink.h:
19899 * gst/base/gstbasesrc.c:
19900 * gst/base/gstbasesrc.h:
19901 * gst/base/gstbasetransform.c:
19902 * gst/base/gstbasetransform.h:
19903 * gst/base/gstcollectpads.c:
19904 * gst/base/gstcollectpads.h:
19905 * gst/base/gstpushsrc.c:
19906 * gst/base/gstpushsrc.h:
19907 * gst/base/gsttypefindhelper.c:
19908 * gst/base/gsttypefindhelper.h:
19909 * gst/check/Makefile.am:
19910 * gst/check/gstcheck.c:
19911 * gst/check/gstcheck.h:
19912 * gst/net/Makefile.am:
19913 * gst/net/gstnet.h:
19914 * gst/net/gstnetclientclock.c:
19915 * gst/net/gstnetclientclock.h:
19916 * gst/net/gstnettimepacket.c:
19917 * gst/net/gstnettimepacket.h:
19918 * gst/net/gstnettimeprovider.c:
19919 * gst/net/gstnettimeprovider.h:
19920 * libs/gst/Makefile.am:
19921 * libs/gst/base/Makefile.am:
19922 * libs/gst/base/gstbasetransform.c:
19923 * libs/gst/check/Makefile.am:
19924 * plugins/elements/Makefile.am:
19926 CVS surgery + support to move base, check, and net out of gst
19929 2005-11-29 Andy Wingo <wingo@pobox.com>
19931 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
19933 * gst/gststructure.h (struct _GstStructure): Only one pointer of
19936 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
19938 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
19940 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
19942 * gst/gstobject.h: (struct _GstObject): Only one pointer of
19943 padding; reduces object size by about 30%. We don't expect
19944 anything else to go into gstobject.
19946 * gst/gstminiobject.h (struct _GstMiniObject)
19947 (struct _GstMiniObjectClass): Only one pointer of padding; the
19948 payload is only a pointer and two ints anyway. For the class there
19949 are only two methods as well.
19951 * gst/gstelement.h (struct _GstElementClass): Removed
19952 the state_changed signal callback, it is not used.
19954 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19956 * docs/gst/gstreamer.types:
19957 fix includes, though they are a little dinky
19959 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19961 * check/Makefile.am:
19962 look in the right place for elements, a lot more chance of
19965 remove indexers and elements subdirs
19966 * plugins/Makefile.am:
19967 make indexers conditional
19969 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19973 * plugins/elements/Makefile.am:
19974 * plugins/elements/gstcapsfilter.c:
19975 * plugins/elements/gstfilesink.c:
19976 * plugins/elements/gstfilesrc.c:
19977 * plugins/elements/gstidentity.c:
19978 * plugins/indexers/Makefile.am:
19979 do CVS surgery and related build fixery to move elements
19980 and indexers in a new gstreamer/plugins directory, out of the
19983 2005-11-29 Andy Wingo <wingo@pobox.com>
19985 * check/Makefile.am:
19986 * pkgconfig/gstreamer-net-uninstalled.pc.in:
19987 * pkgconfig/gstreamer-net.pc.in:
19988 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
19991 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19993 * tools/Makefile.am:
19994 * tools/gst-complete.1.in:
19995 * tools/gst-complete.c:
19996 * tools/gst-compprep.1.in:
19997 * tools/gst-compprep.c:
19998 removing -compprep and -complete
20000 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
20002 * gst/gstevent.c: (gst_event_new_new_segment),
20003 (gst_event_parse_new_segment):
20005 fix #320529 - clean up new_segment API and structure.
20006 Let's hope everyone was using the methods, and not the structure.
20008 2005-11-29 Edward Hervey <edward@fluendo.com>
20010 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20011 (gst_base_sink_event), (gst_base_sink_do_sync),
20012 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
20013 Properly handle non GST_FORMAT_TIME segment
20014 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20015 Properly handle non GST_FORMAT_TIME segment
20016 * gst/gstsegment.c:
20017 This function is valid if the accumulator is 0 and the format
20018 is different from the requested format.
20020 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
20022 * docs/gst/gstreamer-sections.txt:
20023 Add gst_query_new_seeking and gst_query_parse_seeking to the
20026 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
20028 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
20029 Treat a pad alloc with new caps the same as if we were not
20030 negotiated, in order to allow a changing upstream output
20031 to produce a new format of data.
20033 2005-11-29 Edward Hervey <edward@fluendo.com>
20035 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
20036 (gst_base_transform_event), (gst_base_transform_eventfunc):
20037 The event virtual method is now properly implemented, with a default
20039 Sub classes should call the parent_class event method. They should
20040 return FALSE if they had a problem handling the given event, or don't
20041 want GstBaseTransform to send that even downstream
20042 * gst/elements/gstidentity.c: (gst_identity_class_init),
20043 (gst_identity_init), (gst_identity_event),
20044 (gst_identity_transform_ip), (gst_identity_set_property),
20045 (gst_identity_get_property):
20046 * gst/elements/gstidentity.h:
20047 Added the single-segment boolean property.
20048 If set to TRUE, it will output a single segment of data, starting from
20049 0, will eat up all incoming newsegment, and modify the timestamp of the
20050 buffers accordingly
20052 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
20054 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
20055 Don't ref NULL target pad (#322751). Improve docs.
20057 2005-11-29 Michael Smith <msmith@fluendo.com>
20059 * gst/gstregistryxml.c: (load_plugin):
20060 Don't crash if we failed to load a feature from a plugin.
20062 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
20064 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
20066 use more check API and less GLib API
20068 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
20071 don't run checks if we don't have check
20072 * common/check.mak:
20073 remove the registry when running make torture
20074 * docs/gst/gstreamer-sections.txt:
20075 remove second multiply
20076 * gst/gstqueue.c: (gst_queue_loop):
20077 fix a compile warning when disabling debug
20079 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
20082 Hey! Let's print the pad name if the pointer != NULL instead
20083 of when it == NULL :-)
20085 2005-11-28 Wim Taymans <wim@fluendo.com>
20087 * check/gst/gstutils.c: (GST_START_TEST):
20088 Updated check, add some scaling accuracy checking code.
20090 * gst/gstutils.c: (gst_util_div128_64),
20091 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
20092 (gst_util_uint64_scale_int):
20093 Fix 6 times faster division code. Optimize for common
20094 1/1 and less common X/1 cases.
20096 2005-11-28 Wim Taymans <wim@fluendo.com>
20098 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20101 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
20102 (do_linear_regression), (gst_clock_add_observation):
20104 Release lock when the clock cannot be slaved.
20105 Catch the case where the regression returned an invalid denominator.
20107 * gst/gstutils.c: (gst_util_div128_64_iterate),
20108 (gst_util_div128_64), (gst_util_uint64_scale_int64),
20109 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
20110 Add protentially more performant non-iterative 128/64 divide function
20111 that unfortunatly does not work yet.
20112 Shortcut the trivial 0/X = 0 case.
20113 Remove the warnings on overflow.
20115 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
20117 * gst/gstplugin.c: (gst_plugin_register_func):
20118 everything causing a plugin not to load should be at least a WARNING
20120 2005-11-28 Stefan Kost <ensonic@users.sf.net>
20122 * docs/random/ensonic/dparams.txt:
20123 some TODOs for the next dev cycle
20124 * libs/gst/controller/gstcontroller.c:
20125 (gst_controlled_property_set_interpolation_mode),
20126 (gst_controlled_property_new):
20127 * libs/gst/controller/gstcontroller.h:
20128 use base type to assign acccessor functions
20130 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
20132 * check/Makefile.am:
20133 Oops, that should have been top_srcdir
20135 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
20137 * check/Makefile.am:
20138 * check/elements/fdsrc.c: (GST_START_TEST):
20139 Use a cmdline define to specify the location of a file to use for
20140 testing, to avoid breaking distcheck.
20142 2005-11-28 Andy Wingo <wingo@pobox.com>
20144 * gst/gstpad.c (fixate_value): Use array functions for arrays.
20146 2005-11-28 Edward Hervey <edward@fluendo.com>
20148 * tools/gst-launch.c: (main):
20149 Clarify the output strings, makes it easier to translate.
20152 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
20155 don't try and build net if we don't even have <sys/socket.h>
20157 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
20159 * check/Makefile.am:
20160 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
20161 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
20162 Add tests for fdsrc seekability
20164 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
20165 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
20166 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
20167 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
20168 * gst/elements/gstfdsrc.h:
20169 fdsrc should not be a 'live' source.
20170 Implement seeking on seekable fd's.
20172 * gst/gstquery.c: (gst_query_new_seeking),
20173 (gst_query_parse_seeking):
20175 Implement SEEKING query functions:
20176 *_new_seeking and *_parse_seeking
20178 2005-11-27 Stefan Kost <ensonic@users.sf.net>
20180 * gst/gstelement.c: (gst_element_dispose):
20183 * gst/gstiterator.c:
20184 * gst/gststructure.c:
20187 * libs/gst/controller/gstcontroller.c:
20188 (gst_controlled_property_set_interpolation_mode):
20189 * libs/gst/controller/gstcontroller.h:
20190 * libs/gst/controller/gstinterpolation.c:
20191 (interpolate_none_get_enum_value_array):
20192 support controlling enums
20194 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
20197 Improve documentation for gst_value_union().
20200 Change return value for union, intersect and subtract functions
20201 from gint to gboolean.
20203 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
20205 * gst/gstvalue.c: (gst_value_serialize_any_list),
20206 (gst_value_transform_any_list_string),
20207 (gst_value_deserialize_list), (gst_value_deserialize_array),
20208 (gst_value_set_int_range), (gst_value_deserialize_int_range),
20209 (gst_value_set_double_range), (gst_value_deserialize_double_range),
20210 (gst_value_set_fraction_range_full),
20211 (gst_value_deserialize_fraction_range),
20212 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
20213 (gst_value_deserialize_boolean),
20214 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
20215 (gst_value_serialize_float), (gst_value_deserialize_float),
20216 (gst_string_wrap), (gst_value_deserialize_string),
20217 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
20218 (gst_value_union_int_range_int_range),
20219 (gst_value_intersect_int_range_int_range),
20220 (gst_value_intersect_double_range_double_range),
20221 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
20222 (gst_value_subtract_int_range_int_range),
20223 (gst_value_subtract_double_double_range),
20224 (gst_value_subtract_double_range_double_range),
20225 (gst_value_deserialize_fraction):
20227 Use gint, gdouble and gchar in our API instead of int, double and
20228 char (and make usage in gstvalue.c more consistent).
20230 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
20232 * check/Makefile.am:
20233 * libs/gst/controller/Makefile.am:
20234 * libs/gst/dataprotocol/Makefile.am:
20235 fix up Makefile.am and remove GST_ENABLE_NEW
20237 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
20241 * gst/base/Makefile.am:
20242 * gst/check/Makefile.am:
20243 * gst/elements/Makefile.am:
20244 * gst/net/Makefile.am:
20245 update LDFLAGS use some more
20247 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
20249 * common/m4/gst-doc.m4:
20252 2005-11-26 Edward Hervey <edward@fluendo.com>
20254 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
20255 This shouldn't issue a g_warning since it returns NULL if it
20256 couldn't find the plugin, and all functions using this behave
20257 properly on a NULL return. Switching to a GST_WARNING.
20259 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
20261 * gst/gstbin.c: (gst_bin_handle_message_func):
20262 Don't leak clock messages.
20264 2005-11-25 Wim Taymans <wim@fluendo.com>
20266 * gst/gstutils.c: (gst_util_uint64_scale_int64),
20267 (gst_util_uint64_scale_int):
20268 Optimisations, remove unneeded vars.
20270 2005-11-25 Wim Taymans <wim@fluendo.com>
20272 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20273 Added more checks for the high precision uint64 cases.
20275 * gst/gstutils.c: (gst_util_uint64_scale_int64),
20276 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
20277 Implement high precision (guint64 * guint64) / guint64.
20279 2005-11-24 Wim Taymans <wim@fluendo.com>
20281 * gst/base/gstbasesrc.c: (gst_base_src_query):
20282 Fix wrong percentage query.
20284 * gst/gstutils.c: (gst_util_uint64_scale),
20285 (gst_util_uint64_scale_int):
20286 Add some more common cases that can be handled
20287 efficiently to _scale.
20289 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
20291 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
20292 (gst_mini_object_suite):
20293 don't use check calls from threads; check probably isn't
20294 threadsafe and using a lock to make it threadsafe would
20295 defeat the purpose of this check
20296 * gst/check/gstcheck.c:
20297 * gst/check/gstcheck.h:
20298 use GST_DEBUG some more
20300 2005-11-24 Wim Taymans <wim@fluendo.com>
20302 * gst/gstutils.c: (gst_util_uint64_scale),
20303 (gst_util_uint64_scale_int):
20304 Chain trivial case to _scale_int.
20306 2005-11-24 Wim Taymans <wim@fluendo.com>
20308 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20309 Added test for scaling.
20314 * gst/gstutils.c: (gst_util_uint64_scale_int):
20315 Implemented high precision scaling code.
20317 2005-11-24 Stefan Kost <ensonic@users.sf.net>
20320 do not crash on pad==NULL
20322 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
20324 Patch by: Stefan Kost
20326 * common/gtk-doc.mak:
20327 * docs/gst/Makefile.am:
20328 * docs/libs/Makefile.am:
20329 Fix distcheck issues for the libraries docs build
20332 2005-11-24 Michael Smith <msmith@fluendo.com>
20334 * docs/manual/basics-helloworld.xml:
20335 Fix bug #315027: memory leak in example code in docs.
20337 2005-11-24 Michael Smith <msmith@fluendo.com>
20339 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20340 Unlock the PREROLL_LOCK in a failure case.
20342 2005-11-24 Wim Taymans <wim@fluendo.com>
20344 * docs/gst/gstreamer-sections.txt:
20345 * gst/base/gstadapter.h:
20346 * gst/base/gstbasesink.h:
20347 * gst/base/gstbasesrc.h:
20348 * gst/base/gstbasetransform.h:
20349 * gst/base/gstpushsrc.h:
20350 * gst/elements/gstfakesink.h:
20351 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
20352 * gst/elements/gstfakesrc.h:
20353 * gst/elements/gstfilesink.h:
20354 * gst/elements/gstfilesrc.h:
20357 * gst/gstbuffer.c: (_gst_buffer_copy):
20360 * gst/gstchildproxy.c:
20362 * gst/gstelement.c:
20363 * gst/gstelementfactory.c:
20364 * gst/gstelementfactory.h:
20366 * gst/gstghostpad.h:
20368 * gst/gstinterface.h:
20369 * gst/gstminiobject.c:
20370 * gst/gstminiobject.h:
20373 * gst/gstpadtemplate.h:
20374 * gst/gstpipeline.h:
20375 * gst/gstpluginfeature.h:
20378 * gst/gsttaglist.c:
20379 * gst/gsttaglist.h:
20380 * gst/gsttagsetter.c:
20381 * gst/gsttagsetter.h:
20384 * gst/gsttypefind.h:
20387 * gst/net/gstnetclientclock.c:
20388 * gst/net/gstnetclientclock.h:
20389 * gst/net/gstnettimepacket.c:
20390 * gst/net/gstnettimeprovider.c:
20391 * gst/net/gstnettimeprovider.h:
20394 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
20396 * configure.ac: back to HEAD
20398 === release 0.9.6 ===
20400 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
20403 releasing 0.9.6, "Always On Time"
20405 2005-11-23 Wim Taymans <wim@fluendo.com>
20407 * docs/gst/gstreamer-sections.txt:
20408 * gst/glib-compat.c:
20409 * gst/gsttagsetter.c:
20411 * gst/net/gstnetclientclock.c:
20412 * gst/net/gstnettimepacket.h:
20415 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
20417 * docs/faq/using.xml:
20418 * docs/libs/tmpl/gstcontrol.sgml:
20419 * docs/manual/advanced-dparams.xml:
20420 * docs/manual/appendix-checklist.xml:
20421 * docs/manual/basics-elements.xml:
20422 * docs/pwg/other-source.xml:
20423 * docs/random/moving-plugins:
20425 * tools/gst-launch.1.in:
20426 remove mentions of sinesrc
20428 2005-11-23 Michael Smith <msmith@fluendo.com>
20430 * docs/gst/gstreamer-sections.txt:
20431 Update for new API and API changes.
20433 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
20435 Documentation typo fix.
20436 * gst/net/gstnettimepacket.c:
20437 Documentation fixes for arguments.
20439 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
20441 * gst/gststructure.c: (gst_structure_get_fraction),
20442 (gst_structure_parse_value),
20443 (gst_structure_fixate_field_nearest_fraction):
20444 * gst/gststructure.h:
20445 * gst/gstutils.c: (gst_util_uint64_scale_int):
20447 * scripts/update-funcnames:
20449 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
20450 Make gst_structure_fixate_field_nearest_fraction take a numerator
20451 and denominator argument instead of a GValue
20452 add gst_structure_get_fraction helper function.
20454 2005-11-23 Wim Taymans <wim@fluendo.com>
20456 * docs/design/part-TODO.txt:
20459 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
20460 * gst/net/gstnetclientclock.h:
20461 Use parent fields for timeout and window_size.
20463 2005-11-23 Andy Wingo <wingo@pobox.com>
20465 * check/net/gstnetclientclock.c (test_functioning): Adjust to
20466 rate_num/rate_denom change.
20468 * gst/net/gstnetclientclock.c
20469 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
20470 OBJECT_LOCK. Don't call add_observation with the lock.
20472 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
20474 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
20476 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
20477 deal with rate as a fraction whose numerator and denominator are
20478 GstClockTime values.
20479 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
20480 master; the other fields are protected by the SLAVE_LOCK.
20481 (do_linear_regression): Note that this must be called with the
20483 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
20484 OBJECT_LOCK. Call set_calibration instead of touching the
20485 variables directly.
20486 (gst_clock_set_property, gst_clock_get_property): Protect
20487 master/slave parameters with the SLAVE_LOCK.
20489 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
20490 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
20491 note that all of the instance variables that add_observation and
20492 the set_master functions use are protected by that lock and not
20494 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
20496 * gst/gstclock.c (gst_clock_add_observation): No longer requires
20497 the caller to take the object lock.
20499 2005-11-23 Wim Taymans <wim@fluendo.com>
20501 * gst/gsterror.c: (_gst_core_errors_init):
20503 Add error for clock stuff.
20505 * gst/gstpipeline.c: (gst_pipeline_change_state),
20506 (gst_pipeline_set_clock):
20507 Post clock error when clock cannot be used in a pipeline.
20509 2005-11-23 Stefan Kost <ensonic@users.sf.net>
20511 * docs/gst/gstreamer-sections.txt:
20512 make two symbols from gstinfo private for the docs
20513 * gst/base/gstcollectpads.h:
20515 fix doc typos, update docs
20517 2005-11-22 Wim Taymans <wim@fluendo.com>
20519 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20520 (gst_base_sink_wait), (gst_base_sink_do_sync),
20521 (gst_base_sink_handle_event):
20522 * gst/base/gstbasesink.h:
20523 No need to store the clock, the parent element class already
20526 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
20527 Updates for clock_set returning a gboolean
20529 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
20530 (gst_clock_id_wait_async), (gst_clock_class_init),
20531 (gst_clock_init), (gst_clock_finalize),
20532 (gst_clock_get_internal_time), (gst_clock_get_time),
20533 (gst_clock_slave_callback), (gst_clock_set_master),
20534 (gst_clock_get_master), (do_linear_regression),
20535 (gst_clock_add_observation), (gst_clock_set_property),
20536 (gst_clock_get_property):
20538 Implement master/slave. When setting a clock as a slave, a
20539 periodic timeout is scheduled to sample master and slave times.
20540 Then the slave clock is recalibrated to match offset and rate
20541 of the master clock.
20542 Update logging a bit.
20543 Add flag so that a clock can state that is cannot be slaved to
20546 * gst/gstelement.c: (gst_element_set_clock):
20547 * gst/gstelement.h:
20548 The set clock returns a gboolean for when an element cannot
20549 deal with the selected clock in the pipeline.
20551 * gst/gstpipeline.c: (gst_pipeline_change_state),
20552 (gst_pipeline_set_clock):
20553 * gst/gstpipeline.h:
20554 Handle the case where the selected clock cannot be set on
20557 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
20558 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
20559 (gst_net_client_clock_set_property),
20560 (gst_net_client_clock_get_property),
20561 (gst_net_client_clock_observe_times):
20562 * gst/net/gstnetclientclock.h:
20563 Use regression code in GstClock parent, remove duplicated
20566 2005-11-22 Michael Smith <msmith@fluendo.com>
20568 * gst/gstutils.c: (gst_util_clock_time_scale):
20570 * docs/gst/gstreamer-sections.txt:
20571 Rename method to have extra underscore.
20573 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
20575 * gst/elements/Makefile.am:
20576 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
20577 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20578 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20579 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
20580 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
20581 * gst/elements/gstfakesrc.h:
20582 * gst/gstqueue.c: (queue_leaky_get_type):
20583 correctly fix GEnumValues so that nick is the short lowercase
20585 * tools/gst-inspect.c: (print_element_properties_info):
20586 also show the nick, since it's useful to use from parse_launch
20590 2005-11-22 Michael Smith <msmith@fluendo.com>
20592 * gst/gstutils.c: (gst_util_clocktime_scale):
20594 * docs/gst/gstreamer-sections.txt:
20595 Add util method for scaling a clocktime by a fraction. Useful
20596 implementation is left as an exercise for the reader.
20598 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20600 * gst/gstvalue.c: (gst_value_collect_fraction_range):
20601 If needed, allocate storage in the destination value during
20604 2005-11-22 Edward Hervey <edward@fluendo.com>
20606 * docs/gst/gstreamer-sections.txt:
20609 * gst/gsturitype.c:
20610 * gst/gsturitype.h:
20611 * gst/gstutils.c: (gst_util_set_object_arg):
20612 * tools/gst-compprep.c: (main):
20613 * tools/gst-inspect.c: (print_element_properties_info):
20614 Removed GstURI, closes bug #321061
20616 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20618 * check/gst/gststructure.c: (GST_START_TEST):
20619 * gst/gststructure.c: (gst_structure_parse_value):
20620 Oops, broke automatic string type parsing.
20621 Add a test to catch it in future.
20623 2005-11-22 Andy Wingo <wingo@pobox.com>
20625 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
20626 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
20627 Actually rename the function implementations. Grr.
20629 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20631 * check/gst/capslist.h:
20633 * check/gst/gststructure.c: (GST_START_TEST),
20634 (gst_structure_suite):
20635 Test automatic value type detection in gst_structure_from_string.
20636 * gst/gststructure.c: (gst_structure_parse_value):
20637 Add fraction as a type we try and guess automatically in
20638 caps/structure strings.
20640 2005-11-22 Andy Wingo <wingo@pobox.com>
20642 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
20644 * gst/gsttagsetter.h:
20645 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
20646 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
20647 (gst_tag_setter_add_tag_valist)
20648 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
20649 _add_values, _add_valist, and _add_valist_values. Since this is an
20650 interface the function suffixes should be more explicit so
20651 language binding don't end up with element.add_valist ->
20652 gst_tag_setter_add_valist, for example. Fixes #322069.
20654 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20656 * check/gst/gstcaps.c: (GST_START_TEST):
20657 Extend caps string tests to check that a caps to string
20658 conversion is reversible and produces the same caps.
20660 * gst/gststructure.c: (gst_structure_value_get_generic_type):
20661 Output "fraction" as the generic type fraction range, so caps
20662 serialisation and deserialisation works.
20663 * check/gst/capslist.h:
20664 * gst/gstvalue.c: (gst_value_deserialize_fraction):
20665 Support 'MIN' and 'MAX' for deserialising fractions.
20667 2005-11-22 Andy Wingo <wingo@pobox.com>
20669 * gst/gstevent.h (gst_event_new_new_segment)
20670 (gst_event_parse_new_segment, gst_event_new_buffer_size)
20671 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
20672 Renamed from *_newsegment, *_buffersize, *_notarget.
20674 * scripts/update-funcnames: New script, performs the changes
20677 2005-11-22 Wim Taymans <wim@fluendo.com>
20679 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20680 Make sure the GstFlowReturn is returned.
20682 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
20683 (gst_bus_add_signal_watch):
20685 add gst_bus_add_signal_watch_full.
20687 * gst/gstplugin.c: (gst_plugin_load_file):
20688 Small style cleanup.
20690 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20692 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
20693 Block the fakesrc srcpad when we send an event, to avoid
20694 contention on the stream_lock causing random test failures.
20696 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20698 * check/gst/gstvalue.c: (GST_START_TEST):
20699 * gst/gstvalue.c: (gst_value_fraction_subtract):
20702 2005-11-22 Stefan Kost <ensonic@users.sf.net>
20705 include "gstchildproxy.h"
20706 * gst/gstchildproxy.h:
20707 * libs/gst/controller/gstcontroller.h:
20708 use G_GNUC_NULL_TERMINATED
20710 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20712 * check/gst/capslist.h:
20713 * check/gst/gstcaps.c: (GST_START_TEST):
20714 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20715 * gst/gststructure.c: (gst_structure_parse_range),
20716 (gst_structure_fixate_field_nearest_fraction):
20717 * gst/gststructure.h:
20718 * gst/gstvalue.c: (gst_value_init_fraction_range),
20719 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
20720 (gst_value_collect_fraction_range),
20721 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
20722 (gst_value_set_fraction_range_full),
20723 (gst_value_get_fraction_range_min),
20724 (gst_value_get_fraction_range_max),
20725 (gst_value_serialize_fraction_range),
20726 (gst_value_transform_fraction_range_string),
20727 (gst_value_compare_fraction_range),
20728 (gst_value_deserialize_fraction_range),
20729 (gst_value_intersect_fraction_fraction_range),
20730 (gst_value_intersect_fraction_range_fraction_range),
20731 (gst_value_subtract_fraction_fraction_range),
20732 (gst_value_subtract_fraction_range_fraction),
20733 (gst_value_subtract_fraction_range_fraction_range),
20734 (gst_value_collect_fraction), (gst_value_fraction_multiply),
20735 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
20736 (gst_value_transform_string_fraction), (_gst_value_initialize):
20738 Implement fraction ranges and extend GstFraction to support
20739 arithmetic subtraction, as well as deserialization from integer
20740 strings such as "100"
20741 Add a testsuite as for int and double range set operations
20743 2005-11-21 Andy Wingo <wingo@pobox.com>
20745 * gst/gsttaglist.h:
20747 * gst/gststructure.h: Add glib-compat.h.
20749 2005-11-21 Wim Taymans <wim@fluendo.com>
20751 * gst/gstbin.c: (gst_bin_change_state_func):
20754 2005-11-21 Wim Taymans <wim@fluendo.com>
20756 * gst/gstsegment.h:
20757 And add a nice define too.
20759 2005-11-21 Wim Taymans <wim@fluendo.com>
20761 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
20762 (gst_segment_new), (gst_segment_free), (gst_segment_init),
20763 (gst_segment_set_duration), (gst_segment_set_last_stop),
20764 (gst_segment_set_seek), (gst_segment_set_newsegment),
20765 (gst_segment_to_stream_time), (gst_segment_to_running_time),
20766 (gst_segment_clip):
20767 * gst/gstsegment.h:
20768 Make binding friendly.
20770 2005-11-21 Andy Wingo <wingo@pobox.com>
20772 * gst/gsttagsetter.h:
20773 * gst/gsttaglist.h:
20774 * gst/gststructure.h:
20776 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
20779 * gst/gsterror.c (_gst_core_errors_init):
20780 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
20783 * gst/Makefile.am (gst_headers): Add glib-compat.h.
20784 (noinst_HEADERS): noinst the -private.
20786 2005-11-21 Michael Smith <msmith@fluendo.com>
20789 * gst/gstregistry.h:
20790 Remove unimplemented declarations for which we can see no sensible
20793 2005-11-21 Andy Wingo <wingo@pobox.com>
20795 * gst/gst.h: Include glib-compat.h.
20797 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
20799 * gst/glib-compat.c: Include the public and the private header.
20801 * gst/glib-compat-private.h: Copied here from glib-compat.h.
20805 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
20807 * check/gst/gstevent.c (create_custom_events): Check that
20808 FLUSH_STOP is serialized.
20810 * check/elements/identity.c (event_func):
20811 * check/elements/fakesrc.c (event_func): No stream lock, the core
20814 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
20815 stream lock taking, yay.
20817 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
20818 ensure that core takes the stream lock.
20820 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
20823 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
20824 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
20825 it already. For the flush start we do take it though so we get the
20826 right preroll state change messages.
20828 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
20829 the stream lock here, the core does it for us.
20831 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
20832 GST_STREAM_GET_LOCK.
20833 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
20834 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
20835 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
20836 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
20837 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
20838 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
20840 * gst/gstpad.c: Update for stream lock name change.
20842 * gst/base/gstbasesink.c: Update for preroll lock name change.
20844 2005-11-21 Wim Taymans <wim@fluendo.com>
20846 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
20847 (gst_clock_get_master):
20849 * gst/gstsystemclock.c: (gst_system_clock_init):
20850 Convert Clock flags to object flags.
20851 Added methods to manage master/slave clocks.
20853 2005-11-21 Wim Taymans <wim@fluendo.com>
20855 * check/gst/gstsegment.c: (GST_START_TEST):
20856 * docs/design/part-TODO.txt:
20857 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20858 (gst_base_sink_event), (gst_base_sink_do_sync),
20859 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
20860 (gst_base_sink_query), (gst_base_sink_change_state):
20861 * gst/base/gstbasesink.h:
20862 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20863 (gst_base_src_default_newsegment),
20864 (gst_base_src_configure_segment), (gst_base_src_do_seek),
20865 (gst_base_src_get_range), (gst_base_src_loop),
20866 (gst_base_src_change_state):
20867 * gst/base/gstbasesrc.h:
20868 * gst/base/gstbasetransform.c:
20869 (gst_base_transform_prepare_output_buf),
20870 (gst_base_transform_event), (gst_base_transform_change_state):
20871 * gst/base/gstbasetransform.h:
20872 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
20873 (gst_collect_pads_event):
20874 * gst/base/gstcollectpads.h:
20875 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
20876 (gst_fake_src_create):
20877 * gst/elements/gstfakesrc.h:
20878 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20879 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20880 (gst_segment_set_last_stop), (gst_segment_set_seek),
20881 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
20882 (gst_segment_to_running_time), (gst_segment_clip):
20883 * gst/gstsegment.h:
20884 More segment updates, replace code in plugins with segment
20887 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20889 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
20890 Don't ignore sscanf results
20892 2005-11-21 Andy Wingo <wingo@pobox.com>
20894 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
20897 * *.c: Ran scripts/update-macros. Oh yes.
20899 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
20900 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
20903 * scripts/update-macros: New script. Run it on your files to
20904 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
20907 2005-11-21 Stefan Kost <ensonic@users.sf.net>
20909 * docs/gst/Makefile.am:
20910 * docs/gst/gstreamer-docs.sgml:
20911 * docs/gst/gstreamer-sections.txt:
20912 * docs/gst/gstreamer.types:
20914 more docs fixes, add new api to the docs
20916 2005-11-21 Andy Wingo <wingo@pobox.com>
20918 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
20919 state_broadcast call.
20921 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
20923 2005-11-21 Julien MOUTTE <julien@moutte.net>
20925 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
20926 function calls for arrays.
20928 2005-11-21 Stefan Kost <ensonic@users.sf.net>
20930 * docs/random/ensonic/media-device-daemon.txt:
20931 wild idea, can this be done?
20932 * docs/gst/gstreamer-sections.txt:
20937 * gst/gstpluginfeature.c:
20941 doc fixes and additions
20943 2005-11-21 Andy Wingo <wingo@pobox.com>
20945 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
20946 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
20947 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
20948 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
20949 private to the basesrc implementation.
20951 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
20952 behalf of event function if necessary. It should no longer be
20953 necessary to take the stream lock in pad's event functions. Fixes
20956 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20957 * docs/gst/gstreamer-sections.txt:
20958 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
20959 (gst_structure_fixate_field_nearest_double),
20960 (gst_structure_fixate_field_boolean):
20961 * gst/gststructure.h:
20962 * win32/common/libgstreamer.def:
20963 * win32/gstreamer.def:
20965 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
20968 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20970 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
20971 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
20972 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
20973 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
20974 (gst_fdsrc_uri_handler_init):
20975 * gst/elements/gstfdsrc.h:
20976 Port fd:// URI handler from 0.8 to fdsrc
20978 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20980 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
20981 (gst_value_serialize_fourcc):
20983 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
20984 consistent with our other format defines (#320324).
20986 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20988 * gst/gstvalue.c: (gst_value_is_fixed):
20989 Revert previous commit. Value lists are by definition
20990 not fixed, as they are a list of possible values.
20992 2005-11-21 Andy Wingo <wingo@pobox.com>
20994 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
20995 during the stable series if we need it. Fixes #319178.
20997 * gst/gstevent.c (gst_event_new_filler): Removed.
20999 * check/gst/gstevent.c: Update comment about filler events.
21001 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
21003 * gst/gstvalue.c: (gst_value_is_fixed):
21004 Should handle both value arrays and value lists.
21006 2005-11-21 Andy Wingo <wingo@pobox.com>
21008 patch by: Alessandro Dessina <alessandro nnva org>
21010 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
21011 functions to access arrays. Fixes #321962.
21013 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
21015 * docs/gst/gstreamer.types:
21016 gst_collectpads_get_type => gst_collect_pads_get_type.
21018 * gst/base/gstbasetransform.c:
21019 Remove unused SIGNAL_HANDOFF enum.
21021 2005-11-21 Andy Wingo <wingo@pobox.com>
21023 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
21024 the event type (upstream, downstream, serialized). Renamed
21025 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
21026 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
21027 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
21029 * gst/gstevent.c: Update for new CUSTOM event names.
21031 * check/gst/gstevent.c: Update check for new CUSTOM event names.
21034 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
21037 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
21039 * docs/gst/gstreamer-sections.txt:
21040 * win32/common/libgstbase.def:
21041 * win32/libgstbase.def:
21042 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
21043 (gst_collect_pads_class_init), (gst_collect_pads_init),
21044 (gst_collect_pads_finalize), (gst_collect_pads_new),
21045 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
21046 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
21047 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
21048 (gst_collect_pads_start), (gst_collect_pads_stop),
21049 (gst_collect_pads_peek), (gst_collect_pads_pop),
21050 (gst_collect_pads_available), (gst_collect_pads_read),
21051 (gst_collect_pads_flush), (gst_collect_pads_event),
21052 (gst_collect_pads_chain):
21053 * gst/base/gstcollectpads.h:
21054 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
21055 unimplemented functions as unimplemented. Add padding to
21056 GstCollectData. (#320766, #320423)
21058 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
21060 * gst/gstmessage.c:
21061 Improve docs for DURATION message (usage of duration parameter)
21064 2005-11-20 Wim Taymans <wim@fluendo.com>
21066 * check/Makefile.am:
21067 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
21071 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
21072 (gst_segment_set_seek), (gst_segment_set_newsegment),
21073 (gst_segment_to_stream_time), (gst_segment_to_running_time),
21074 (gst_segment_clip):
21075 * gst/gstsegment.h:
21076 Added segment helper structure and methods. Not fully implemented
21078 Added segment check.
21080 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
21082 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
21083 Add a deserialisation test for fractions
21084 * examples/metadata/read-metadata.c: (message_loop),
21085 (make_pipeline), (main):
21086 Fix up metadata reading sample.
21087 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21089 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21090 Don't try and fixate empty caps
21091 * gst/gst_private.h:
21092 Wrap in G_BEGIN_DECLS/G_END_DECLS
21093 * gst/gstvalue.c: (gst_value_collect_fraction),
21094 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
21095 (gst_value_transform_string_fraction),
21096 (gst_value_compare_fraction):
21097 Add some extra guards to ensure that we don't end up
21098 with an invalid denominator of 0 in a gstfraction and
21099 that fractions always get reduced.
21101 2005-11-20 Wim Taymans <wim@fluendo.com>
21103 * docs/gst/gstreamer-sections.txt:
21105 * gst/gstelement.c:
21114 2005-11-20 Wim Taymans <wim@fluendo.com>
21116 * docs/design/part-TODO.txt:
21118 Make a proper enum of the flag.
21120 2005-11-19 Wim Taymans <wim@fluendo.com>
21122 * docs/design/part-TODO.txt:
21123 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
21124 (gst_format_to_quark), (gst_format_register):
21126 * gst/gstquery.c: (_gst_query_initialize),
21127 (gst_query_type_get_name), (gst_query_type_to_quark),
21128 (gst_query_type_register):
21130 Add type to quark and type to string conversions.
21132 2005-11-19 Andy Wingo <wingo@pobox.com>
21134 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
21137 2005-11-19 Wim Taymans <wim@fluendo.com>
21139 * docs/design/part-TODO.txt:
21140 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
21141 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
21142 (gst_bin_handle_message_func):
21144 Make message handling overridable.
21146 2005-11-19 Andy Wingo <wingo@pobox.com>
21148 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
21151 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
21153 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
21154 is a GstClockTime. Fixes #321710.
21156 * gst/gstclock.h (GstClock): Remove offset property. Add
21157 internal_calibration and external_calibration. Fix padding. Pad
21158 also by GstClockTime so we don't run into problems.
21160 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
21161 (gst_clock_get_rate_offset): Remove.
21162 (gst_clock_set_time_adjust): Remove. Fixes #321712.
21165 * gst/gstutils.c (g_static_rec_cond_wait)
21166 (g_static_rec_cond_timed_wait): Removed, no longer needed.
21168 * gst/gstbin.c: Remove terrible continue_state prototype.
21170 * gst/gstelement.h (gst_element_continue_state): Make public.
21172 * gst/gstelement.h:
21173 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
21174 by continue_state. Fixes #319389.
21176 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
21177 Really fixes #168438. However I don't see anywhere where the
21178 filter function is called... stupid GStreamer...
21180 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
21181 don't have a dispose function, so it won't get called when the
21182 object is unreffed, but oh well!
21184 * gst/gstindex.c (gst_index_set_filter_full): New API function,
21185 allows a destroy function to be set so user_data can be freed.
21187 (gst_index_set_filter): Call gst_index_set_filter_full.
21189 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
21191 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
21192 string should produce an error, given the lack of a way to
21193 represent NULL strings. Fixes #165650.
21196 * gst/gstvalue.c (gst_value_array_append_value)
21197 (gst_value_array_prepend_value, gst_value_array_get_size)
21198 (gst_value_array_get_value): New API, copied from
21199 gst_value_list_*, only operates on arrays.
21200 (gst_value_list_append_value, gst_value_list_prepend_value)
21201 (gst_value_list_concat, gst_value_list_get_size)
21202 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
21204 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
21205 init_list, because it works on both.
21206 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
21207 (gst_value_copy_list_or_array): Renamed from copy_list.
21208 (gst_value_free_list_or_array): Renamed from free_list.
21209 (gst_value_collect_list_or_array): Renamed from collect_list.
21210 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
21211 (gst_value_list_or_array_peek_pointer): Renamed from
21213 (_gst_value_array_value_table, _gst_value_list_value_table):
21214 Update value table functions.
21215 (gst_value_compare_list_or_array): Renamed from compare_list.
21217 * gsttaglist.h: Whoops, foreach function returns void. Also fix
21220 * gst/gsttaglist.c:
21221 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
21222 GstTagList*. Fixes #143472.
21224 * gst/gststructure.h: Clarify what the foreach/map functions can
21225 or can't do to their arguments.
21227 2005-11-18 Wim Taymans <wim@fluendo.com>
21229 * gst/gstclock.c: (gst_clock_set_calibration),
21230 (gst_clock_get_calibration):
21232 Calibration can be set with internal time equal to current
21235 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
21241 2005-11-18 Andy Wingo <wingo@pobox.com>
21244 * pkgconfig/gstreamer-net.pc.in:
21245 * pkgconfig/gstreamer-net-uninstalled.pc.in:
21246 * pkgconfig/Makefile.am: Add net pkgconfig files.
21248 2005-11-18 Stefan Kost <ensonic@users.sf.net>
21251 * gst/gstghostpad.c:
21257 2005-11-18 Andy Wingo <wingo@pobox.com>
21259 * gst/net/gstnetclientclock.c: Turn off debugging.
21261 * check/net/gstnetclientclock.c (test_functioning): Assert that the
21262 times connverge somewhat. Can't make a real test.
21264 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
21265 integer arithmetic. Return the minimum of the domain, which can be
21266 set as "internal" for gst_clock_set_calibration.
21267 (gst_net_client_clock_observe_times): Call _set_calibration.
21268 (gst_net_client_clock_new): Call _set_calibration instead of
21271 * check/net/gstnetclientclock.c (test_functioning): Use the right
21275 * gst/gstclock.c (gst_clock_get_calibration)
21276 (gst_clock_set_calibration): New functions, obsolete the ones I
21277 added yesterday. Doh. Precision issues mean we have to extrapolate
21278 from a point in the more recent past than 1970.
21279 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
21281 (gst_clock_adjust_unlocked): Use the right calibration data.
21283 2005-11-18 Edward Hervey <edward@fluendo.com>
21285 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21286 Also reset the ->current_* values in READY->PAUSED
21288 2005-11-18 Andy Wingo <wingo@pobox.com>
21290 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
21291 Whoops, check the right fd. Also add some debugging.
21292 (gst_net_client_clock_observe_times): Adjust for int64 offset.
21293 (do_linear_regression): Add a crapload of debugging. Subtract off
21294 the minimum values from the input series to discard unneeded bits.
21295 Use only int arithmetic. There is still double arithmetic when
21296 calculating the intercept that needs fixing. Return boolean to
21297 indicate success; FALSE would mean the domain or range is too
21298 great. Still needs fixes.
21300 2005-11-18 Wim Taymans <wim@fluendo.com>
21302 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
21303 For the current position in stream time, we need to subtract
21306 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
21307 Release lock before calling the callback function of async
21310 2005-11-18 Andy Wingo <wingo@pobox.com>
21312 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
21313 Port goes all the way to MAXUINT16.
21315 * gst/net/gstnettimeprovider.c: Make the port range the same as
21316 for the kernel: 0 assigns, otherwise ports are less than
21319 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
21322 * check/net/gstnetclientclock.c (test_functioning): Add the start
21325 2005-11-18 Wim Taymans <wim@fluendo.com>
21327 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21328 (gst_bin_remove_func), (bin_bus_handler):
21330 Removing a clock provider from a bin, triggers a clock lost message
21331 so that a new clock will be selected.
21332 Adding a clock to a bin triggers a clock provider message.
21333 Make sure we reselect a clock when we received a clock lost message.
21334 Keep a reference to the element that provided the clock.
21336 2005-11-18 Andy Wingo <wingo@pobox.com>
21338 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
21339 the clock initially so it produces values around the base time.
21340 (gst_net_client_clock_class_init): Typo fix.
21341 (gst_net_client_clock_thread): Add note on when the socket gets
21344 2005-11-17 Wim Taymans <wim@fluendo.com>
21346 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
21347 Free remote and local time arrays.
21349 2005-11-17 Wim Taymans <wim@fluendo.com>
21351 * gst/net/gstnetclientclock.c: (do_linear_regression),
21352 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
21353 Fix compilation, uninitialized vars and a forgotten continue.
21355 2005-11-17 Andy Wingo <wingo@pobox.com>
21357 * check/Makefile.am (check_PROGRAMS):
21358 * check/net/gstnetclientclock.c: Add a most minimal test for the
21359 net client clock. More to come later.
21361 * gst/net/gstnet.h:
21362 * gst/net/Makefile.am: Add netclientclock.
21364 * gst/net/gstnetclientclock.h:
21365 * gst/net/gstnetclientclock.c: New files, implement an untested
21366 GstClock that takes its time from a network time provider.
21367 Implements the algorithm in network-clock.scm.
21369 * tests/network-clock.scm (*window-size*): Rename from
21371 * tests/network-clock.scm (network-time):
21372 * tests/network-clock-utils.scm (q-push): Update callers.
21374 2005-11-17 Wim Taymans <wim@fluendo.com>
21376 * gst/gstbin.c: (gst_bin_provide_clock_func),
21377 (gst_bin_sort_iterator_new):
21378 And unref the child too..
21380 2005-11-17 Wim Taymans <wim@fluendo.com>
21382 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
21383 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
21384 Refactor the sort iterator so it can be used while holding the
21386 Make clock selection select a clock closest to the source.
21388 2005-11-17 Michael Smith <msmith@fluendo.com>
21390 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
21391 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
21393 Anonymous structs are a gcc (and some other compilers) extension, so
21394 don't use them. Since this is only for ABI-compatibility, and our
21395 API/ABI freeze is over in a few days, this whole thing will only
21396 last a few days, so don't bother trying to think up a meaningful
21397 name for the struct.
21399 2005-11-17 Andy Wingo <wingo@pobox.com>
21401 * gst/gstclock.h (GstClock): Add rate and offset properties,
21402 preserving ABI stability. Add rate/offset accessors. Will file bug
21403 for the freeze break.
21405 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
21406 and offset, trying to keep precision and avoiding
21407 underflow/overflow.
21408 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
21409 functions. Make gst_clock_set_time_adjust obsolete.
21410 (gst_clock_set_time_adjust): Note that this function is obsolete.
21411 Will file bug soon.
21413 * gst/base/gstbasetransform.h: Make the ABI-stability hack
21414 greppable by using GST_PADDING-1+1.
21416 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
21418 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21420 * gst/gstmessage.c: (gst_message_parse_clock_lost):
21421 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
21423 * gst/gstpadtemplate.h:
21424 * gst/gstpluginfeature.h:
21425 Don't use c++ style comments in headers (#321638).
21427 2005-11-16 Andy Wingo <wingo@pobox.com>
21429 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
21432 * check/net/gstnettimeprovider.c: Check to see that the time
21433 provider actually provides times. Works, yo!
21435 2005-11-16 Wim Taymans <wim@fluendo.com>
21437 * check/Makefile.am:
21440 * check/elements/fakesrc.c: (GST_START_TEST):
21441 Set element to NULL before disposing it.
21443 2005-11-16 Andy Wingo <wingo@pobox.com>
21445 * gst/net/Makefile.am:
21446 * gst/net/gstnet.h:
21447 * gst/net/gstnettimeprovider.c:
21448 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
21449 provider, include it from gstnet.h, and add it to the build.
21451 * gst/net/gstnettimepacket.h:
21452 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
21453 sending and receiving.
21455 2005-11-16 Wim Taymans <wim@fluendo.com>
21457 * check/Makefile.am:
21458 Enable valgrind check.
21460 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
21461 (gst_fake_src_alloc_buffer):
21464 2005-11-16 Wim Taymans <wim@fluendo.com>
21466 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
21467 Call parent finalize too.
21469 2005-11-16 Wim Taymans <wim@fluendo.com>
21471 * check/Makefile.am:
21472 Enable valgrind check that should work fine now.
21474 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21475 * gst/gstqueue.c: (gst_queue_init):
21476 Fix memleaks in pad allocation.
21478 2005-11-16 Andy Wingo <wingo@pobox.com>
21480 * gst/net/Makefile.am:
21481 * gst/net/gstnet.h: New part of core to hold network elements and
21482 objects. Put in core because it exposes API that applications want
21483 to use. The library is named libgstnet-tempname right now because
21484 of the existing libgstnet in gst-plugins-base. Solution is
21485 probably to rename the one in plugins-base; will file a bug for
21488 * gst/net/gstnettimeprovider.c:
21489 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
21490 get_time call over the network.
21493 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
21495 * check/Makefile.am:
21496 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
21497 get additions shortly.
21499 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21501 * gst/gstpad.c: (gst_pad_new_from_static_template):
21503 add gst_pad_new_from_static_template functions
21504 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
21505 (gst_check_setup_sink_pad):
21506 * gst/elements/gsttee.c: (gst_tee_init):
21509 2005-11-16 Wim Taymans <wim@fluendo.com>
21511 * gst/gstpad.c: (gst_pad_pause_task):
21512 Removed warning, it's not really an error either.
21514 2005-11-16 Wim Taymans <wim@fluendo.com>
21516 * gst/base/gstbasetransform.c:
21517 (gst_base_transform_prepare_output_buf),
21518 (gst_base_transform_event):
21519 Check if the caps are NULL, this can happen if the element
21520 is shutting down and the pad caps are set to NULL.
21522 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21524 * gst/elements/gsttee.c: (gst_tee_init):
21525 fix pad template leak in tee
21527 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21529 * gst/glib-compat.c: (g_value_dup_gst_object):
21530 * gst/glib-compat.h:
21531 * gst/gstpad.c: (gst_pad_set_property):
21532 use gst_object_ref when setting the pad template; this will
21533 trigger the pad template leaks on GLib 2.6 and the slaves
21535 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21537 * gst/glib-compat.c: (gst_flags_get_first_value):
21538 * gst/glib-compat.h:
21539 * gst/gstregistryxml.c:
21540 remove functions copied from GLib 2.6
21542 2005-11-16 Michael Smith <msmith@fluendo.com>
21545 Don't link against VALGRIND_LIBS. That was always the wrong thing to
21546 do, but only breaks with newer valgrind versions. We're not a
21547 valgrind tool, we have no link-time dependencies on libcoregrind.
21549 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21551 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21553 * gst/gstmessage.h:
21556 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21558 * gst/base/gstbasesrc.c: (gst_base_src_init):
21559 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21560 * gst/gstqueue.c: (gst_queue_init):
21561 * gst/gstregistryxml.c: (load_feature):
21562 Revert all these unrefs, they don't even pass make check !
21564 2005-11-15 Johan Dahlin <johan@gnome.org>
21566 * gst/base/gstbasesrc.c: (gst_base_src_init):
21567 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21568 * gst/gstqueue.c: (gst_queue_init):
21569 Free pad templates, fixes a couple of leaks.
21571 2005-11-15 Daniel Fischer <dan at f3c dot com>
21573 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21575 * gst/gstpad.c: (gst_pad_get_property):
21576 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
21577 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
21580 2005-11-15 Wim Taymans <wim@fluendo.com>
21585 2005-11-15 Andy Wingo <wingo@pobox.com>
21587 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
21589 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
21590 using GST_CLOCK_TIME_NONE to disable base time management.
21591 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
21592 time if it was NONE before.
21593 (gst_pipeline_change_state): Only munge the base time if
21594 stream_time != GST_CLOCK_TIME_NONE.
21596 * check/gst/gstpipeline.c (test_base_time): Punt around the
21597 problem of the probe not being called, because that's not the
21598 issue I'm looking at. Add a check that setting stream_time to NONE
21599 disables base time management.
21601 2005-11-15 Wim Taymans <wim@fluendo.com>
21603 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21604 segment_stop == -1 at startup.
21606 * gst/base/gstbasetransform.c: (gst_base_transform_event),
21607 (gst_base_transform_change_state):
21608 Init segment values at start.
21610 2005-11-15 Wim Taymans <wim@fluendo.com>
21612 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21613 0 segment values are 0 in any format.
21615 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21616 * gst/base/gstbasetransform.h:
21617 Parse newsegment correctly in basetransform
21619 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
21620 Sync to clock using updated segment values.
21622 2005-11-15 Andy Wingo <wingo@pobox.com>
21624 * check/gst/gstpipeline.c (test_base_time): Add check that the
21625 base time and stream time are reset correctly.
21627 2005-11-15 Wim Taymans <wim@fluendo.com>
21629 * docs/design/part-TODO.txt:
21630 Some more TODO items.
21632 2005-11-15 Andy Wingo <wingo@pobox.com>
21634 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
21635 error if the user selected "no clock" as the clocking method.
21637 * check/gst/gstpipeline.c (test_base_time): New test for buffer
21638 timestamps with live capture.
21640 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
21641 is 0 but we are a live source, timestamp the buffers using the
21644 2005-11-14 Stefan Kost <ensonic@users.sf.net>
21646 * docs/gst/gstreamer-sections.txt:
21648 * gst/gstghostpad.c:
21653 2005-11-14 Wim Taymans <wim@fluendo.com>
21656 add suppressions from Wim's Debian machine
21658 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
21661 add suppressions from Andy's AMD64 Ubuntu machine
21663 2005-11-14 Andy Wingo <wingo@pobox.com>
21665 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
21666 STATE_LOCK not necessary. Fixes #311489.
21668 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
21671 * gst/gstindex.c (gst_index_add_object): Note in the docs that
21672 this function is not implemented.
21674 2005-11-14 Julien MOUTTE <julien@moutte.net>
21676 * gst/base/gstbasetransform.c:
21677 (gst_base_transform_prepare_output_buf):
21678 Ref the source pad caps while we need them.
21681 2005-11-11 Wim Taymans <wim@fluendo.com>
21683 * docs/gst/gstreamer-sections.txt:
21684 Added some docs for GstCollectData.
21686 * gst/base/gstadapter.c:
21687 Some small code example fix.
21689 * gst/base/gstcollectpads.c:
21690 * gst/base/gstcollectpads.h:
21691 Document some more.
21693 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
21695 * configure.ac: back to HEAD
21697 === release 0.9.5 ===
21699 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
21702 releasing 0.9.5, "Bike Lunch Day"
21704 2005-11-11 Wim Taymans <wim@fluendo.com>
21706 * gst/gstbuffer.c: (_gst_buffer_copy):
21709 * gst/gstcaps.c: (gst_caps_is_equal):
21711 Make _is_equal fast in the trivial cases.
21713 * gst/gstminiobject.c:
21714 * gst/gstminiobject.h:
21715 More docs. Spifify .h file.
21720 2005-11-11 Wim Taymans <wim@fluendo.com>
21722 * gst/base/gstbasetransform.c:
21723 (gst_base_transform_prepare_output_buf),
21724 (gst_base_transform_handle_buffer):
21726 If we're processing a buffer and need to allocate an output
21727 buffer, we cannot accept a format change. If we did get a
21728 format change, we have to alloc a buffer ourselves of the
21731 2005-11-11 Wim Taymans <wim@fluendo.com>
21733 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
21734 While checking the flag for reentrancy in the gstcaps function
21735 is nice to detect recursive invocations, it also makes it
21736 impossible to call getcaps from multiple threads, which must be
21737 possible. So, checking for recursive calls has to go.
21739 2005-11-11 Michael Smith <msmith@fluendo.com>
21741 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21742 Don't sync on buffers that fall partially outside our current
21743 segment. Prevents an assertion failure/abort playing some files.
21745 2005-11-10 Andy Wingo <wingo@pobox.com>
21747 * check/gst/gstbin.c (test_message_state_changed_children): Style
21750 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
21751 gst_bus_poll with the signal watch. Ensures that poll and a signal
21752 watch see the same messages.
21754 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
21755 a poll and a watch at the same time get the same messages.
21757 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
21759 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
21760 * gst/gstcaps.c: (gst_caps_intersect):
21761 Don't call gst_caps_do_simplify - it doesn't respect order of caps
21762 and it's not needed.
21764 2005-11-10 Wim Taymans <wim@fluendo.com>
21766 * docs/design/part-TODO.txt:
21769 2005-11-10 Wim Taymans <wim@fluendo.com>
21771 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21772 * gst/base/gstbasesrc.c: (gst_base_src_wait),
21773 (gst_base_src_do_sync), (gst_base_src_get_range):
21774 Implement clock sync in base class.
21776 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
21778 patch by: Tim-Philipp Müller <tim at centricular dot net>
21780 * gst/gststructure.c: (gst_structure_parse_field),
21781 (gst_structure_from_string):
21782 Forward-port a 0.8 patch to handle escaped spaces in structure string,
21783 so that gst_parse_launch() can deal with spaces in filtered link
21784 caps (fixes #164479)
21785 * check/gst/capslist.h:
21786 * check/gst/gststructure.c: (GST_START_TEST):
21787 add unit tests for this change
21789 2005-11-10 Wim Taymans <wim@fluendo.com>
21791 * docs/gst/gstreamer-sections.txt:
21792 * gst/gstelement.c:
21793 * gst/gstelement.h:
21794 Fix docs, move some STATE macros to private.
21796 2005-11-10 Wim Taymans <wim@fluendo.com>
21798 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21799 Added check for bug #317341
21803 Some more spiffifying.
21805 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
21806 Call peer linkfunction if we are a source pad. Totally fixes
21810 Update docs, source pads should call the peer linkfunction
21811 so they can atomically perform the pad link.
21813 2005-11-09 Wim Taymans <wim@fluendo.com>
21817 Uber-spiffy-spiffify some more.
21819 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
21821 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
21822 * gst/elements/gstfilesink.c: (gst_file_sink_init):
21823 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21824 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
21825 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
21826 * gst/gstpad.c: (gst_pad_init):
21827 Use GST_DEBUG_FUNCPTR() more extensively.
21829 2005-11-09 Wim Taymans <wim@fluendo.com>
21831 * gst/gstobject.c: (gst_object_class_init):
21833 Documentation fixes.
21835 2005-11-09 Edward Hervey <edward@fluendo.com>
21837 * gst/gsttypefindfactory.c:
21840 2005-11-09 Edward Hervey <edward@fluendo.com>
21842 * gst/base/gsttypefindhelper.c:
21843 * gst/gsttypefind.c:
21844 * gst/gsttypefind.h:
21847 2005-11-09 Wim Taymans <wim@fluendo.com>
21849 * gst/gstiterator.c:
21856 2005-11-09 Wim Taymans <wim@fluendo.com>
21862 2005-11-09 Wim Taymans <wim@fluendo.com>
21864 * docs/gst/gstreamer-sections.txt:
21865 Moved the message async delivery private lock and cond
21866 to the private section.
21868 * gst/gstmessage.c:
21869 * gst/gstmessage.h:
21872 2005-11-09 Edward Hervey <edward@fluendo.com>
21874 * docs/gst/gstreamer-sections.txt:
21877 Document GstURIHandler
21879 2005-11-09 Wim Taymans <wim@fluendo.com>
21881 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
21882 (gst_iterator_find_custom):
21883 * gst/gstiterator.h:
21886 2005-11-09 Wim Taymans <wim@fluendo.com>
21889 Document another field.
21891 * gst/gststructure.c:
21892 * gst/gststructure.h:
21895 2005-11-09 Wim Taymans <wim@fluendo.com>
21898 Documented structs.
21900 2005-11-09 Wim Taymans <wim@fluendo.com>
21902 * docs/gst/gstreamer-sections.txt:
21903 Added some new macros.
21910 2005-11-09 Wim Taymans <wim@fluendo.com>
21912 * docs/design/part-TODO.txt:
21913 Some more items for the TODO
21919 2005-11-09 Andy Wingo <wingo@pobox.com>
21921 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
21922 to work on something else now tho...
21924 * gst/base/gstadapter.c: More adapter docs.
21926 * gst/elements/gstfilesink.c (gst_file_sink_start)
21927 (gst_file_sink_stop): New functions, replace the state change
21929 (gst_file_sink_class_init): Hook up the start and stop functions.
21930 (gst_file_sink_base_init): Don't set the state change handler any
21931 more. It was a bit ugly too, being set from here...
21932 (gst_file_sink_get_property, gst_file_sink_set_property):
21934 (gst_file_sink_set_location): More robust check that doesn't call
21935 GST_STATE. Ugggggg.
21937 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
21939 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21940 Hold STREAM_LOCK while pushing newsegment or tag events as well.
21942 2005-11-08 Wim Taymans <wim@fluendo.com>
21944 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21945 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
21946 (gst_base_sink_chain), (gst_base_sink_change_state):
21947 * gst/base/gstbasesink.h:
21948 * gst/base/gstbasesrc.h:
21949 * gst/gstelement.h:
21951 Avoid excessive typechecking in macros.
21953 * gst/gstminiobject.c: (gst_mini_object_get_type),
21954 (gst_mini_object_init), (gst_mini_object_new),
21955 (gst_mini_object_free):
21956 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
21957 (gst_object_finalize):
21958 Remove cruft code, optimize alloc_trace.
21960 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
21962 * docs/faq/gst-uninstalled:
21963 fix up PS1 for systems that try to reset it
21965 2005-11-07 Wim Taymans <wim@fluendo.com>
21967 * gst/base/gstbasesrc.c: (gst_base_src_init),
21968 (gst_base_src_get_range):
21969 Set the segment_end to -1 initially. Fixed typefind.
21971 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
21973 * gst/base/gstadapter.c:
21974 Debug category should be 'adapter', not 'GstAdapter'.
21976 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
21977 (gst_collectpads_class_init), (gst_collectpads_init),
21978 (gst_collectpads_peek), (gst_collectpads_pop),
21979 (gst_collectpads_event), (gst_collectpads_chain):
21980 Add debug category and some debugging output. Use boilerplate
21981 macros. Remove some extraneous words from docs.
21983 2005-11-05 Andy Wingo <wingo@pobox.com>
21985 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
21988 2005-11-04 Stefan Kost <ensonic@users.sf.net>
21990 * docs/gst/gstreamer-sections.txt:
21993 * gst/gstminiobject.h:
21998 2005-11-04 Wim Taymans <wim@fluendo.com>
22000 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22001 Small update to stop at the configured segment_end
22004 2005-11-04 Stefan Kost <ensonic@users.sf.net>
22006 * gst/gstregistry.c:
22007 * gst/gstregistry.h:
22010 2005-11-04 Edward Hervey <edward@fluendo.com>
22012 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22013 Check if we are doing a segment seek and have arrived at the
22014 end of that segment.
22016 2005-11-04 Wim Taymans <wim@fluendo.com>
22018 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
22019 Don't leak a mutex unlock in case of an error.
22024 2005-11-04 Wim Taymans <wim@fluendo.com>
22026 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
22028 Get the context to wake up only once.
22030 2005-11-03 Wim Taymans <wim@fluendo.com>
22032 * check/states/sinks.c: (GST_START_TEST):
22033 Uncomment fixed check.
22035 * docs/design/part-TODO.txt:
22038 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22039 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
22040 (gst_base_sink_get_position):
22041 If we are going to PLAYING, post the right pending state
22042 when we post the intermediate paused message.
22044 * gst/gstelement.c: (gst_element_continue_state),
22045 (gst_element_set_state_func), (gst_element_change_state):
22046 Don't post state changes that were between the same state
22047 and were not ASYNC.
22049 2005-11-03 Stefan Kost <ensonic@users.sf.net>
22051 * docs/gst/gstreamer-sections.txt:
22054 * gst/gstminiobject.h:
22057 more docs and doc style fixes
22059 2005-11-03 Stefan Kost <ensonic@users.sf.net>
22061 * docs/gst/gstreamer-sections.txt:
22062 * gst/gstelement.c:
22063 * gst/gstminiobject.c:
22066 2005-11-03 Andy Wingo <wingo@pobox.com>
22068 * check/states/sinks.c (test_livesrc_sink): Add checks that the
22069 state-changed messages actually have the right order and the right
22072 2005-11-03 Wim Taymans <wim@fluendo.com>
22074 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
22075 Added some more checks. Specifically the case where NO_PREROLL
22076 elements are in the pipeline.
22078 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22079 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
22080 (gst_base_sink_get_position):
22081 Post READY->PAUSED state change messages too.
22082 Fix bug where VOID was posted as pending state...
22084 * gst/gstbin.c: (gst_bin_recalc_state):
22085 use _element_continue_state() to continue the state change.
22087 * gst/gstelement.c: (gst_element_continue_state),
22088 (gst_element_commit_state), (gst_element_set_state_func),
22089 (gst_element_change_state), (gst_element_change_state_func):
22090 Lots of state change cleanups, assign the STATE_RETURN in
22091 a new continue_state() function that also propagates the
22092 last return value from a state change to the app.
22093 Update some debug statements with proper category.
22095 2005-11-03 Wim Taymans <wim@fluendo.com>
22097 * docs/design/part-events.txt:
22098 * docs/design/part-gstpipeline.txt:
22099 * docs/design/part-messages.txt:
22100 * docs/design/part-overview.txt:
22101 * docs/design/part-seeking.txt:
22102 * docs/design/part-states.txt:
22103 * docs/design/part-trickmodes.txt:
22104 * docs/manual/advanced-position.xml:
22105 Small docs updates.
22108 People think !! is ugly, this looks better.
22110 * gst/gstpad.c: (gst_pad_set_blocked_async):
22111 Remove !! since it's fixed elsewhere now.
22113 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
22115 * gst/gstminiobject.h:
22117 Add !! to _FLAG_IS_SET macros to make the result boolean.
22119 2005-11-03 Edward Hervey <edward@fluendo.com>
22121 * gst/gstpad.c: (gst_pad_set_blocked_async):
22122 comparing a flag and a gboolean rarely returns coherent results...
22123 Added two characters (!!) to make that work correctly.
22125 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
22127 * gst/gstbus.c: (gst_bus_class_init):
22130 * gst/gstqueue.c: (gst_queue_loop):
22131 Don't assume a miniobject that isn't a buffer is an
22132 event (it could be that there is a refcounting
22133 problem somewhere and the pointer is stale and
22134 refers to an already destroyed miniobject).
22136 2005-11-03 Julien MOUTTE <julien@moutte.net>
22138 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
22140 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
22142 * docs/manual/advanced-position.xml:
22143 Update seek example and explanations to current 0.9 API.
22145 * gst/elements/gsttypefindelement.c:
22146 (gst_type_find_element_activate):
22147 Remove FIXME comment now that the found caps
22150 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
22152 * gst/gstregistryxml.c: (load_feature):
22153 Add another GST_STR_NULL instance
22155 2005-11-02 Edward Hervey <edward@fluendo.com>
22157 * gst/gstpad.c: (handle_pad_block):
22158 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
22160 2005-11-02 Wim Taymans <wim@fluendo.com>
22165 * gst/gstelement.c: (gst_element_commit_state):
22166 Remove unused value.
22168 * gst/gstiterator.c:
22169 Mention that the returned element is reffed in the docs.
22171 2005-11-02 Wim Taymans <wim@fluendo.com>
22173 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
22174 (gst_pad_push), (gst_pad_push_event):
22175 Unlock blocked pads when they are flushed.
22177 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
22180 * docs/gst/gstreamer-sections.txt:
22183 * gst/gstregistry.c: (gst_registry_scan_path_level):
22184 fix for a nasty little missed situation where an installed plug-in
22185 which was in the cache did not get overridden by an uninstalled one
22186 which was earlier in the plugin path because the newly created plugin
22187 for the uninstalled one (not in the registry) didn't get its
22188 ->registered set to TRUE
22190 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
22192 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
22193 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
22194 (gst_collectpads_is_active), (gst_collectpads_collect),
22195 (gst_collectpads_collect_range), (gst_collectpads_start),
22196 (gst_collectpads_stop), (gst_collectpads_peek),
22197 (gst_collectpads_pop), (gst_collectpads_available),
22198 (gst_collectpads_read), (gst_collectpads_flush):
22199 Guard public API with assertions.
22202 Fix docs for gst_pad_set_link_function().
22204 2005-11-02 Johan Dahlin <johan@gnome.org>
22206 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
22207 Unref found_caps after we used it.
22209 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
22211 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
22212 Don't try to ref NULL.
22214 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
22216 * win32/common/config.h.in:
22217 provide a GST_FUNCTION that just gives a string for now
22219 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
22221 * win32/common/gstenumtypes.c: (register_gst_object_flags),
22222 (gst_object_flags_get_type), (register_gst_bin_flags),
22223 (gst_bin_flags_get_type), (register_gst_buffer_flag),
22224 (gst_buffer_flag_get_type), (register_gst_bus_flags),
22225 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
22226 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
22227 (gst_clock_return_get_type), (register_gst_clock_entry_type),
22228 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
22229 (gst_clock_flags_get_type), (register_gst_state),
22230 (gst_state_get_type), (register_gst_state_change_return),
22231 (gst_state_change_return_get_type), (register_gst_state_change),
22232 (gst_state_change_get_type), (register_gst_element_flags),
22233 (gst_element_flags_get_type), (register_gst_core_error),
22234 (gst_core_error_get_type), (register_gst_library_error),
22235 (gst_library_error_get_type), (register_gst_resource_error),
22236 (gst_resource_error_get_type), (register_gst_stream_error),
22237 (gst_stream_error_get_type), (register_gst_event_type),
22238 (gst_event_type_get_type), (register_gst_seek_type),
22239 (gst_seek_type_get_type), (register_gst_seek_flags),
22240 (gst_seek_flags_get_type), (register_gst_format),
22241 (gst_format_get_type), (register_gst_index_certainty),
22242 (gst_index_certainty_get_type), (register_gst_index_entry_type),
22243 (gst_index_entry_type_get_type),
22244 (register_gst_index_lookup_method),
22245 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
22246 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
22247 (gst_index_resolver_method_get_type), (register_gst_index_flags),
22248 (gst_index_flags_get_type), (register_gst_debug_level),
22249 (gst_debug_level_get_type), (register_gst_debug_color_flags),
22250 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
22251 (gst_iterator_result_get_type), (register_gst_iterator_item),
22252 (gst_iterator_item_get_type), (register_gst_message_type),
22253 (gst_message_type_get_type), (register_gst_mini_object_flags),
22254 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
22255 (gst_pad_link_return_get_type), (register_gst_flow_return),
22256 (gst_flow_return_get_type), (register_gst_activate_mode),
22257 (gst_activate_mode_get_type), (register_gst_pad_direction),
22258 (gst_pad_direction_get_type), (register_gst_pad_flags),
22259 (gst_pad_flags_get_type), (register_gst_pad_presence),
22260 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
22261 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
22262 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
22263 (gst_plugin_error_get_type), (register_gst_plugin_flags),
22264 (gst_plugin_flags_get_type), (register_gst_rank),
22265 (gst_rank_get_type), (register_gst_query_type),
22266 (gst_query_type_get_type), (register_gst_tag_merge_mode),
22267 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
22268 (gst_tag_flag_get_type), (register_gst_task_state),
22269 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
22270 (gst_alloc_trace_flags_get_type),
22271 (register_gst_type_find_probability),
22272 (gst_type_find_probability_get_type), (register_gst_uri_type),
22273 (gst_uri_type_get_type), (register_gst_parse_error),
22274 (gst_parse_error_get_type):
22275 * win32/common/gstversion.h:
22276 update win32 copies
22278 2005-11-01 Luca Ognibene <luogni@tin.it>
22281 fix docs. popt is dead, long live GOption.
22283 2005-10-31 Wim Taymans <wim@fluendo.com>
22288 2005-10-31 Andy Wingo <wingo@pobox.com>
22292 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
22294 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
22295 need to serialize property notifications on GLib 2.8. GLib 2.6 has
22296 the possibility of deadlocks here if code calling notify() or
22297 set() has a lock that can be taken in another notify handler (ABBA
22298 with class lock and e.g. python GIL state lock).
22300 2005-10-28 Julien MOUTTE <julien@moutte.net>
22302 * gst/gstbus.c: Doc updates.
22304 2005-10-28 Wim Taymans <wim@fluendo.com>
22306 * docs/design/part-TODO.txt:
22307 * gst/gstiterator.c:
22308 * gst/gstsystemclock.c:
22309 * gst/gstsystemclock.h:
22312 2005-10-28 Edward Hervey <edward@fluendo.com>
22314 * docs/gst/gstreamer-docs.sgml:
22315 * docs/gst/gstreamer-sections.txt:
22316 the GstURIType documentation page is private, it only defines GstURIType
22317 which should be defined in the GstURIHandler page
22319 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
22321 * gst/gstbin.c: (gst_bin_class_init):
22324 Documentation updates.
22326 2005-10-28 Wim Taymans <wim@fluendo.com>
22328 * docs/gst/gstreamer-sections.txt:
22331 Documented the clocks.
22333 2005-10-28 Stefan Kost <ensonic@users.sf.net>
22335 * docs/gst/gstreamer-sections.txt:
22336 move some macros to private sections
22337 * gst/gstminiobject.c:
22338 * gst/gstminiobject.h:
22339 add descriptions provided by ds and some more
22341 mark macro as to be removed
22343 2005-10-28 Wim Taymans <wim@fluendo.com>
22345 * docs/design/part-TODO.txt:
22346 Add an item to TODO.
22348 * gst/gstiterator.c: (gst_iterator_fold),
22349 (gst_iterator_find_custom):
22350 * gst/gstiterator.h:
22353 2005-10-28 Wim Taymans <wim@fluendo.com>
22355 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
22356 (gst_base_transform_init):
22359 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
22360 An EOS event marks the queue as completely filled.
22362 2005-10-27 Wim Taymans <wim@fluendo.com>
22364 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22365 (gst_base_sink_do_sync), (gst_base_sink_get_position):
22366 Some more debugging.
22368 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
22369 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
22370 (gst_base_transform_event), (gst_base_transform_getrange),
22371 (gst_base_transform_chain):
22372 * gst/base/gstbasetransform.h:
22374 Protect transform and concurrent buffer alloc with a new lock.
22375 Try not to break ABI/API.
22377 2005-10-27 Wim Taymans <wim@fluendo.com>
22379 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22380 (gst_base_src_init), (gst_base_src_query),
22381 (gst_base_src_default_newsegment),
22382 (gst_base_src_configure_segment), (gst_base_src_do_seek),
22383 (gst_base_src_send_event), (gst_base_src_event_handler),
22384 (gst_base_src_pad_get_range), (gst_base_src_loop),
22385 (gst_base_src_unlock), (gst_base_src_default_negotiate),
22386 (gst_base_src_start), (gst_base_src_deactivate),
22387 (gst_base_src_activate_push), (gst_base_src_change_state):
22388 Move some stuff around and cleanup things.
22390 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
22392 * gst/base/gstbasesrc.c: (gst_base_src_query):
22393 Add missing break statements.
22395 2005-10-27 Wim Taymans <wim@fluendo.com>
22397 * check/gst/gstbin.c: (GST_START_TEST):
22398 An extra refcount is taken in basesrc.
22400 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
22401 (gst_base_src_get_range), (gst_base_src_pad_get_range),
22402 (gst_base_src_loop):
22403 Small cleanups, check for flushing after being unlocked from the
22404 LIVE_LOCK. take refcounts correctly (not yet everywhere).
22405 Don't send out EOS when going to READY.
22407 2005-10-27 Wim Taymans <wim@fluendo.com>
22409 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22410 (gst_base_sink_get_position):
22413 * gst/gstbin.c: (message_check), (bin_replace_message),
22414 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22415 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22416 (bin_query_duration_init), (bin_query_duration_fold),
22417 (bin_query_duration_done), (bin_query_generic_fold),
22419 * tools/gst-launch.c: (main):
22422 2005-10-26 Stefan Kost <ensonic@users.sf.net>
22424 * examples/controller/audio-example.c: (main):
22425 * examples/queue/queue.c: (event_loop):
22426 * gst/base/gstbasetransform.h:
22427 * gst/gstelement.c: (gst_element_send_event):
22429 * gst/gstpad.c: (gst_pad_send_event):
22432 changing log priority in error situations
22434 2005-10-25 Wim Taymans <wim@fluendo.com>
22436 * gst/gstbin.c: (message_check), (bin_replace_message),
22437 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22438 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22439 (bin_query_duration_init), (bin_query_duration_fold),
22440 (bin_query_duration_done), (bin_query_generic_fold),
22442 Some doc and debug updates.
22443 Cache previously requested query DURATION for speed. invalidate
22444 cached duration if element posts a DURATION message.
22446 2005-10-25 Wim Taymans <wim@fluendo.com>
22448 * docs/design/part-TODO.txt:
22451 * gst/gstbin.c: (message_check), (bin_replace_message),
22452 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22453 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22454 (bin_query_duration_init), (bin_query_duration_fold),
22455 (bin_query_duration_done), (bin_query_generic_fold),
22457 Handle SEGMENT_START/DONE messages correctly.
22458 More evolved query algorithm that handles duration queries
22461 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
22462 (gst_element_get_state_func), (gst_element_abort_state),
22463 (gst_element_commit_state), (gst_element_lost_state):
22464 Some more debugging.
22466 * gst/gstmessage.h:
22469 2005-10-25 Wim Taymans <wim@fluendo.com>
22471 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
22472 Don't use invalid stream_time.
22474 * gst/gstevent.c: (gst_event_new_newsegment):
22475 stream_time in newsegment cannot be undefined.
22477 2005-10-24 Wim Taymans <wim@fluendo.com>
22482 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22484 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
22486 2005-10-24 Stefan Kost <ensonic@users.sf.net>
22488 * docs/libs/tmpl/gstdparam.sgml:
22489 * docs/libs/tmpl/gstdplinint.sgml:
22490 * docs/libs/tmpl/gstdpman.sgml:
22491 * docs/libs/tmpl/gstdpsmooth.sgml:
22492 * docs/libs/tmpl/gstunitconvert.sgml:
22495 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
22500 === release 0.9.4 ===
22502 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
22505 releasing 0.9.4, "Tyrannosaurus Rex"
22507 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
22509 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22510 (gst_file_sink_get_current_offset):
22511 Use fseeko() and ftello() if available. When falling back on
22512 lseek() to get the current offset, fflush() first to make sure
22513 everything is up-to-date and we get the right offset.
22515 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
22517 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22518 * gst/base/gstbasesrc.c: (gst_base_src_loop):
22519 * gst/gsterror.c: (_gst_stream_errors_init):
22521 * gst/gstqueue.c: (gst_queue_loop):
22523 remove prematurely added error category and clean up the instances
22525 2005-10-21 Wim Taymans <wim@fluendo.com>
22527 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22528 (gst_base_sink_get_position), (gst_base_sink_query),
22529 (gst_base_sink_change_state):
22530 Simply set the right flag when going to playing, that's all
22531 we need to do instead of calling a function inside the object
22532 lock (that could take the lock as well and deadlock)
22534 2005-10-21 Wim Taymans <wim@fluendo.com>
22536 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
22537 (gst_base_src_loop):
22538 Don't warn, the peer element knows what to do best when
22539 the seek failed, it might try something else.
22541 2005-10-21 Wim Taymans <wim@fluendo.com>
22543 * gst/base/gstbasesrc.c: (gst_base_src_init),
22544 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22547 2005-10-21 Wim Taymans <wim@fluendo.com>
22549 * docs/design/part-segments.txt:
22552 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
22553 Correctly set caps, even on the subbufer.
22555 2005-10-21 Wim Taymans <wim@fluendo.com>
22557 * docs/gst/gstreamer-docs.sgml:
22558 * docs/gst/gstreamer-sections.txt:
22559 * gst/gstelement.h:
22562 * gst/gstmessage.h:
22565 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
22569 And 2% more doc coverage.
22571 2005-10-21 Andy Wingo <wingo@pobox.com>
22573 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
22574 position reporting.
22576 2005-10-20 Wim Taymans <wim@fluendo.com>
22578 * gst/gsterror.c: (gst_error_get_message):
22581 * gst/gststructure.c:
22586 2005-10-20 Wim Taymans <wim@fluendo.com>
22591 Another 1% more coverage.
22593 2005-10-20 Wim Taymans <wim@fluendo.com>
22595 * docs/gst/gstreamer-sections.txt:
22596 * gst/gstelement.c: (gst_element_get_state_func),
22597 (gst_element_abort_state), (gst_element_commit_state),
22598 (gst_element_lost_state):
22600 * gst/gstquery.c: (gst_query_set_position),
22601 (gst_query_parse_position), (gst_query_set_duration),
22602 (gst_query_parse_duration), (gst_query_new_convert):
22604 Yay! 1% more docs coverage.
22606 2005-10-20 Wim Taymans <wim@fluendo.com>
22609 * gst/gstquery.c: (gst_query_set_position),
22610 (gst_query_parse_position), (gst_query_set_duration),
22611 (gst_query_parse_duration), (gst_query_new_convert):
22613 * gst/gstutils.c: (gst_element_query_convert):
22615 Docs and consistency fixes.
22617 2005-10-20 Wim Taymans <wim@fluendo.com>
22623 2005-10-20 Wim Taymans <wim@fluendo.com>
22625 * gst/gstbin.c: (message_check), (bin_replace_message),
22626 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22627 (update_degree), (gst_bin_sort_iterator_next),
22628 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
22629 Reworked the message handling a bit, cache the messages instead of
22630 only the senders. alows us to do more in the future.
22632 2005-10-20 Wim Taymans <wim@fluendo.com>
22634 * docs/design/part-TODO.txt:
22637 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22638 (gst_base_sink_query):
22639 Don't use clock time to report position when in EOS.
22641 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
22643 * tools/gst-inspect.c: (print_interfaces),
22644 (print_element_properties_info), (print_element_info):
22645 Fix interface output with gst-inspect -a; don't print
22646 newlines after double/float properties.
22648 2005-10-20 Wim Taymans <wim@fluendo.com>
22650 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22651 (gst_base_sink_query):
22652 Speed up current position calculation.
22654 * gst/base/gstbasesrc.c: (gst_base_src_query),
22655 (gst_base_src_default_newsegment):
22656 Correctly set stream position in newsegment.
22658 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
22659 (update_degree), (gst_bin_sort_iterator_next),
22660 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
22661 * gst/gstmessage.c: (gst_message_new_custom):
22662 Clean up debugging info
22664 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22665 (gst_queue_loop), (gst_queue_handle_src_query):
22668 2005-10-19 Wim Taymans <wim@fluendo.com>
22670 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22671 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22672 Fix query handling again.
22674 2005-10-19 Wim Taymans <wim@fluendo.com>
22676 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22677 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22678 * gst/base/gstbasesrc.c: (gst_base_src_query):
22679 * gst/elements/gstfilesink.c: (gst_file_sink_query):
22680 * gst/elements/gsttypefindelement.c:
22681 (gst_type_find_handle_src_query), (find_element_get_length),
22682 (gst_type_find_element_activate):
22685 * gst/gstquery.c: (gst_query_new_position),
22686 (gst_query_set_position), (gst_query_parse_position),
22687 (gst_query_new_duration), (gst_query_set_duration),
22688 (gst_query_parse_duration), (gst_query_set_segment),
22689 (gst_query_parse_segment):
22691 Bundling query position/duration is not a good idea since duration
22692 does not change much and we don't want to recalculate it for every
22693 position query, so they are separated again..
22694 Base value in segment query is not needed.
22696 * gst/gstqueue.c: (gst_queue_handle_src_query):
22697 * gst/gstutils.c: (gst_element_query_position),
22698 (gst_element_query_duration), (gst_pad_query_position),
22699 (gst_pad_query_duration):
22701 Updates for query API change.
22702 Added some docs here and there.
22704 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
22706 * check/gst/gstbin.c: (GST_START_TEST):
22707 * check/gst/gstghostpad.c: (GST_START_TEST):
22708 * check/pipelines/cleanup.c: (GST_START_TEST):
22709 wait on thread to die so we can check refcount correctly
22711 2005-10-18 Wim Taymans <wim@fluendo.com>
22713 * check/pipelines/stress.c: (GST_START_TEST):
22714 Make check a little more time consuming.
22716 2005-10-18 Wim Taymans <wim@fluendo.com>
22718 * check/Makefile.am:
22719 * check/pipelines/stress.c: (GST_START_TEST),
22720 (simple_launch_lines_suite), (main):
22721 Small state change torture test.
22723 * docs/design/part-states.txt:
22724 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22725 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
22726 (gst_base_sink_change_state):
22727 Never take state lock from streaming thread, clean up ugly
22728 hacks. Unfortunatly core does not yet support nice ways to
22729 async commit state.
22731 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
22733 Start state recalc if a STATE_DIRTY message is posted, but only
22734 on the toplevel bin.
22736 * gst/gstelement.c: (gst_element_sync_state_with_parent),
22737 (gst_element_get_state_func), (gst_element_abort_state),
22738 (gst_element_commit_state), (gst_element_lost_state),
22739 (gst_element_set_state_func), (gst_element_change_state):
22740 * gst/gstelement.h:
22741 State variables are now protected with the LOCK, the state
22742 lock is only used to serialize _set_state().
22744 2005-10-18 Wim Taymans <wim@fluendo.com>
22746 * check/gst/gstbin.c: (GST_START_TEST):
22747 * check/gst/gstmessage.c: (GST_START_TEST):
22748 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22749 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
22751 * gst/gstelement.c: (gst_element_abort_state),
22752 (gst_element_commit_state), (gst_element_lost_state):
22753 * gst/gstmessage.c: (gst_message_new_state_changed),
22754 (gst_message_new_state_dirty), (gst_message_new_segment_start),
22755 (gst_message_new_segment_done), (gst_message_new_duration),
22756 (gst_message_parse_state_changed),
22757 (gst_message_parse_segment_start),
22758 (gst_message_parse_segment_done), (gst_message_parse_duration):
22759 * gst/gstmessage.h:
22760 * tools/gst-launch.c: (event_loop):
22761 Seriously, this is better than a previous commit as we only need
22762 to notify the fact that an element changed state in a streaming
22763 thread, marking the state of the parents dirty, hence the
22764 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
22767 2005-10-18 Wim Taymans <wim@fluendo.com>
22769 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
22770 (gst_bin_recalc_func):
22771 * gst/gstelement.c: (gst_element_set_clock),
22772 (gst_element_abort_state), (gst_element_lost_state):
22773 Cleanups, prepare for state change fixes.
22775 2005-10-18 Wim Taymans <wim@fluendo.com>
22778 * gst/gstelement.c: (gst_element_class_init),
22779 (gst_element_set_state), (gst_element_set_state_func):
22780 * gst/gstelement.h:
22781 Pending ABI changes.
22782 GThreadPool in GstBinClass to monitor async state changes.
22783 state_cookie in GstElement to detect concurrent gst/set state.
22784 set_state is now virtual too in case a very complicated element
22785 has to be constructed.
22787 2005-10-18 Wim Taymans <wim@fluendo.com>
22789 * check/gst/gstbin.c: (GST_START_TEST):
22790 * check/gst/gstmessage.c: (GST_START_TEST):
22791 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22792 * gst/gstbin.c: (bin_bus_handler):
22793 * gst/gstelement.c: (gst_element_commit_state),
22794 (gst_element_lost_state):
22795 * gst/gstmessage.c: (gst_message_new_state_changed),
22796 (gst_message_new_segment_start), (gst_message_new_segment_done),
22797 (gst_message_new_duration), (gst_message_parse_state_changed),
22798 (gst_message_parse_segment_start),
22799 (gst_message_parse_segment_done), (gst_message_parse_duration):
22800 * gst/gstmessage.h:
22801 * tools/gst-launch.c: (event_loop):
22802 Make messages future proof.
22803 state-change gets a flag if it was a message comming from the
22805 segment-start/stop can also be specified in other formats.
22806 A message to notify an app that a pipeline changed playback
22808 Also fix a GstMessage leak in -launch
22810 2005-10-18 Andy Wingo <wingo@pobox.com>
22812 * gst/gstelement.c (gst_element_dispose): More helpful message.
22814 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
22816 reviewed by: <delete if not using a buddy>
22818 * common/gtk-doc.mak:
22820 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
22822 * gst/gstregistry.c: (gst_registry_scan_path_level):
22823 unref a plug-in we get that was already initialized
22825 2005-10-18 Stefan Kost <ensonic@users.sf.net>
22827 * docs/gst/gstreamer-sections.txt:
22828 * docs/libs/gstreamer-libs-sections.txt:
22829 * gst/gstelement.h:
22830 add new api entries
22831 hide internal macro
22833 2005-10-17 Andy Wingo <wingo@pobox.com>
22835 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
22838 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
22840 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
22842 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
22843 (gst_element_get_state_func): Better debug message.
22844 (gst_element_commit_state): s/INFO/DEBUG/.
22845 (gst_element_lost_state, gst_element_change_state):
22847 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
22848 (gst_message_new_custom): s/INFO/LOG/.
22850 2005-10-17 Michael Smith <msmith@fluendo.com>
22852 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
22853 Check if end time is valid using end time, not start time.
22855 2005-10-17 Stefan Kost <ensonic@users.sf.net>
22857 * check/gst-libs/controller.c: (GST_START_TEST),
22858 (gst_controller_suite):
22859 * libs/gst/controller/gstcontroller.c:
22860 (gst_controlled_property_set_interpolation_mode):
22861 * libs/gst/controller/gstcontroller.h:
22862 * libs/gst/controller/gstinterpolation.c:
22863 * testsuite/controller/.cvsignore:
22864 * testsuite/controller/Makefile.am:
22865 * testsuite/controller/interpolator.c:
22866 merge controller testsuites
22868 remove mem-chunk from docs
22870 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
22872 * gst/gstmemchunk.c:
22873 * gst/gstmemchunk.h:
22874 * gst/gsttrashstack.c:
22875 * gst/gsttrashstack.h:
22876 out. get out. you're fired. to the Attic !
22878 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
22880 * gst/gstcaps.c: (gst_caps_intersect):
22881 fix signedness issues in a (hopefully) correct way
22882 * gst/gstelement.c: (gst_element_pads_activate):
22884 * gst/gstobject.c: (gst_object_set_parent):
22887 2005-10-17 Julien MOUTTE <julien@moutte.net>
22889 * gst/gstvalue.h: Fix prototypes.
22891 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22893 * docs/gst/gstreamer-sections.txt:
22894 * gst/gst.c: (gst_version_string):
22896 * gst/gstversion.h.in:
22897 * win32/common/libgstreamer.def:
22898 add gst_version_string ()
22900 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22904 * gst/gst.c: (init_post):
22905 * win32/common/config.h.in:
22907 * gst/gstcaps.c: (gst_caps_intersect):
22908 use gint64, the range could be bigger than a guint
22910 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22913 document potential problem in 2038
22915 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22917 * gst/gstcaps.c: (gst_caps_intersect):
22918 Fix guint j diving under 0
22920 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22923 * win32/common/config.h:
22924 * win32/common/config.h.in:
22925 check for process.h, declares getpid() on Windows
22927 include process.h if we have it
22928 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
22929 * gst/gstmemchunk.h:
22930 fix signedness issues
22931 * win32/common/libgstreamer.def:
22934 2005-10-16 Julien MOUTTE <julien@moutte.net>
22936 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
22937 fix. Because of unsigned ints, caps intersection was going nuts and
22938 trying to access structures with G_MAXUINT index. That fixes
22939 videotestsrc ! ffmpegcolorspace ! fakesink
22940 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
22943 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22946 use the gettext macro
22947 * gst/elements/gstelements.c:
22949 * gst/indexers/gstindexers.c:
22950 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
22951 * win32/common/config.h:
22953 * win32/common/config.h.in:
22954 add the template to generate config.h
22955 * win32/common/gstenumtypes.c:
22956 * win32/common/gstversion.h:
22959 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22961 * gst/gst.c: (gst_version):
22962 * gst/gstversion.h.in:
22965 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
22968 Oops, add missing closing bracket.
22970 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22973 use common m4's for argument checking
22975 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
22977 * docs/gst/gstreamer-sections.txt:
22979 Add GST_EVENT_TYPE_NAME() macro.
22981 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22984 * gst/gstpluginfeature.c:
22986 privatize more symbols
22988 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22991 add srcdir, builddir includes to GST_ALL_CFLAGS, since
22992 everything that uses GStreamer API should have the includes
22994 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22996 * docs/gst/gstreamer-sections.txt:
22997 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
22999 give each value a _get_type, removes the DATA exports
23001 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
23005 remove _gst_registry_auto_load, not used anymore
23006 * gst/gstbin.c: (gst_bin_get_type):
23008 * gst/gstelement.c: (gst_element_get_type):
23009 * gst/gstelement.h:
23010 * gst/gstobject.c: (gst_object_get_type):
23012 * gst/gstpad.c: (gst_pad_get_type):
23014 make _get_type functions similar, fixes data export from library
23016 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
23019 correctly make conditionals
23020 * gst/elements/Makefile.am:
23021 * gst/elements/gstelements.c:
23022 fix typo causing fdsrc not to build
23024 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
23026 * testsuite/Makefile.am:
23027 * testsuite/bytestream/.cvsignore:
23028 * testsuite/bytestream/Makefile.am:
23029 * testsuite/bytestream/filepadsink.c:
23030 * testsuite/bytestream/gstbstest.c:
23031 * testsuite/bytestream/test1.c:
23032 * testsuite/bytestream/testfile1:
23033 * testsuite/caps/normalisation.c:
23034 * testsuite/caps/random.c: (main):
23035 * testsuite/cleanup/.cvsignore:
23036 * testsuite/cleanup/Makefile.am:
23037 * testsuite/cleanup/cleanup1.c:
23038 * testsuite/cleanup/cleanup2.c:
23039 * testsuite/cleanup/cleanup3.c:
23040 * testsuite/cleanup/cleanup4.c:
23041 * testsuite/cleanup/cleanup5.c:
23042 * testsuite/controller/interpolator.c:
23043 * testsuite/debug/printf_extension.c: (main):
23044 * testsuite/elements/tee.c:
23045 * testsuite/negotiation/.cvsignore:
23046 * testsuite/negotiation/Makefile.am:
23047 * testsuite/negotiation/pad_link.c:
23048 * testsuite/pad/Makefile.am:
23049 * testsuite/pad/chainnopull.c:
23050 * testsuite/pad/getnopush.c:
23051 * testsuite/pad/link.c:
23052 * testsuite/refcounting/sched.c: (create_pipeline):
23053 * testsuite/registry/Makefile.am:
23054 * testsuite/registry/gst-print-formats.c:
23055 * testsuite/schedulers/.cvsignore:
23056 * testsuite/schedulers/142183-2.c:
23057 * testsuite/schedulers/142183.c:
23058 * testsuite/schedulers/143777-2.c:
23059 * testsuite/schedulers/143777.c:
23060 * testsuite/schedulers/147713.c:
23061 * testsuite/schedulers/147819.c:
23062 * testsuite/schedulers/147894-2.c:
23063 * testsuite/schedulers/147894.c:
23064 * testsuite/schedulers/Makefile.am:
23065 * testsuite/schedulers/group_link.c:
23066 * testsuite/schedulers/queue_link.c:
23067 * testsuite/schedulers/relink.c:
23068 * testsuite/schedulers/unlink.c:
23069 * testsuite/schedulers/unref.c:
23070 * testsuite/schedulers/useless_iteration.c:
23071 * testsuite/states/bin.c:
23072 clean out/remove some stuff from the testsuite directories
23074 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
23077 check for some headers
23078 * gst/elements/Makefile.am:
23079 * gst/elements/gstelements.c:
23080 don't compile fdsrc without sys/socket.h
23081 * gst/indexers/Makefile.am:
23082 * gst/indexers/gstindexers.c: (plugin_init):
23083 don't compile fileindex without mmap
23085 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
23092 * check/Makefile.am:
23093 * docs/gst/Makefile.am:
23094 * examples/helloworld/Makefile.am:
23096 * gst/base/Makefile.am:
23097 * gst/check/Makefile.am:
23098 * gst/elements/Makefile.am:
23099 * gst/indexers/Makefile.am:
23100 * gst/parse/Makefile.am:
23101 * libs/gst/controller/Makefile.am:
23102 * libs/gst/dataprotocol/Makefile.am:
23103 * examples/helloworld/helloworld.c: (event_loop):
23104 compile fixes, though it's not being compiled currently
23106 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
23108 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
23109 Add some simple tests for the new taglist date API.
23111 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
23113 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
23114 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
23115 Beautify 'last-message' output: print 'none' for buffer timestamps
23116 and durations if none is set; improve alignment with next messages.
23118 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
23120 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
23121 * gst/gstpluginfeature.h:
23122 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
23123 * gst/gstregistry.h:
23124 * docs/gst/gstreamer-sections.txt:
23125 Add new API to check plugin feature version requirements.
23127 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
23128 Some basic tests for the above.
23130 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23132 * gst/gststructure.c: (gst_structure_to_string):
23133 guard against NULL printf - happens when for example
23134 a message structure with GstClock gets serialized
23136 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
23138 * gst/base/gstcollectpads.c: (gst_collectpads_event):
23139 Fix presumable copy'n'pasto.
23141 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23143 * gst/elements/gstfakesrc.h:
23144 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
23145 * gst/elements/gsttypefindelement.c:
23146 fix some signedness
23147 * gst/elements/gstfilesink.c: (gst_file_sink_render):
23148 I wonder if this could actually write +2GB files before
23150 2005-10-13 Andy Wingo <wingo@pobox.com>
23152 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
23153 Fix Timmeke Waymans bug.
23154 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
23155 string of the proper length to gst_caps_from_string. There's a
23156 potential for, before this fix, that this could cause someone
23157 connecting over the network to cause a segfault if the payload is
23158 not NUL-terminated.
23160 2005-10-13 Stefan Kost <ensonic@users.sf.net>
23162 * docs/design/draft-push-pull.txt:
23163 * docs/design/part-overview.txt:
23164 * docs/random/TODO-pre-0.9:
23165 * docs/random/old/ChangeLog.gstreamer:
23166 * gst/base/gstpushsrc.c:
23170 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23172 * gst/glib-compat.c: (gst_flags_get_first_value):
23173 * gst/glib-compat.h:
23174 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
23175 (gst_value_compare_double), (gst_value_serialize_flags):
23176 GLib 2.6 g_flags_get_first_value has a bug that triggers an
23179 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23181 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23182 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
23184 * tools/gst-launch.c: (event_loop):
23185 print out clock nicely
23187 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
23189 * docs/gst/gstreamer-sections.txt:
23190 * gst/gsttaglist.h:
23191 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
23192 (gst_tag_list_get_date_index):
23193 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
23194 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
23196 2005-10-13 Julien MOUTTE <julien@moutte.net>
23198 * gst/base/gstcollectpads.c: (gst_collectpads_event),
23199 (gst_collectpads_chain):
23200 * gst/base/gstcollectpads.h: Handle newsegment and store informations
23203 2005-10-13 Stefan Kost <ensonic@users.sf.net>
23205 * docs/gst/gstreamer-sections.txt:
23208 * tools/gst-inspect.c: (main):
23209 * tools/gst-launch.c: (main):
23210 * tools/gst-run.c: (main):
23211 * tools/gst-xmlinspect.c: (main):
23212 fix GOption context leaks
23215 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23219 * win32/common/config.h:
23221 * win32/vs6/grammar.dsp:
23222 * win32/vs6/libgstelements.dsp:
23223 * win32/vs6/libgstreamer.dsp:
23226 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
23228 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23229 * gst/base/gstbasesrc.c: (gst_base_src_query):
23230 fix more guint64<->gdouble conversions
23232 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
23235 add win32-update target
23236 * win32/common/gstconfig.h:
23237 * win32/common/gstenumtypes.c:
23238 * win32/common/gstenumtypes.h:
23239 * win32/common/gstversion.h:
23240 add files that visual studio can't generate
23242 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
23245 add a win32-update target
23248 2005-10-12 Wim Taymans <wim@fluendo.com>
23250 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23251 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
23252 * gst/gstelement.c: (gst_element_commit_state),
23253 (gst_element_set_state):
23254 Protect flags with proper lock.
23255 unref provided cached clock in dispose.
23257 2005-10-12 Stefan Kost <ensonic@users.sf.net>
23260 * gst/gstminiobject.h:
23262 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
23263 removed unused flags from miniobject
23266 2005-10-12 Wim Taymans <wim@fluendo.com>
23268 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
23269 (gst_file_sink_event), (gst_file_sink_render):
23270 Flush before seeking.
23272 2005-10-12 Andy Wingo <wingo@pobox.com>
23274 * gst/gst.c (gst_init_check): Ignore unknown options, as has
23275 always been the case.
23277 2005-10-12 Stefan Kost <ensonic@users.sf.net>
23279 * check/gst/gstbin.c: (GST_START_TEST):
23280 * docs/gst/gstreamer-sections.txt:
23281 * gst/base/gstbasesink.c: (gst_base_sink_init):
23282 * gst/base/gstbasesrc.c: (gst_base_src_init),
23283 (gst_base_src_get_range), (gst_base_src_check_get_range),
23284 (gst_base_src_start), (gst_base_src_stop):
23285 * gst/base/gstbasesrc.h:
23286 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
23287 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23288 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
23292 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
23294 * gst/gstelement.c: (gst_element_is_locked_state),
23295 (gst_element_set_locked_state), (gst_element_commit_state),
23296 (gst_element_set_state):
23297 * gst/gstelement.h:
23298 * gst/gstindex.c: (gst_index_init):
23300 * gst/gstminiobject.h:
23301 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
23302 (gst_object_set_parent):
23304 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
23305 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
23307 * gst/gstpadtemplate.h:
23308 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
23309 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
23310 * gst/gstpipeline.h:
23311 * gst/indexers/gstfileindex.c: (gst_file_index_load),
23312 (gst_file_index_commit):
23313 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
23314 * testsuite/pad/link.c: (gst_test_src_init),
23315 (gst_test_filter_init), (gst_test_sink_init):
23316 * testsuite/states/locked.c: (main):
23317 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
23318 moved bitshift from macro to enum definition
23320 2005-10-12 Wim Taymans <wim@fluendo.com>
23322 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
23323 * gst/elements/gstfilesink.c: (gst_file_sink_event),
23324 (gst_file_sink_render):
23325 Some more debugging info.
23327 2005-10-12 Wim Taymans <wim@fluendo.com>
23329 * docs/design/part-states.txt:
23330 * tools/gst-launch.c: (main):
23332 Revert non-intentional change.
23334 2005-10-12 Wim Taymans <wim@fluendo.com>
23336 * check/gst/gstbin.c: (GST_START_TEST):
23337 * check/gst/gstelement.c: (GST_START_TEST):
23338 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
23339 * check/gst/gstghostpad.c: (GST_START_TEST):
23340 * check/gst/gstpipeline.c: (GST_START_TEST):
23341 * check/pipelines/simple_launch_lines.c: (run_pipeline):
23342 * check/states/sinks.c: (GST_START_TEST):
23343 * gst/elements/gsttypefindelement.c: (stop_typefinding):
23344 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23345 (gst_bin_remove_func), (gst_bin_get_state_func),
23346 (gst_bin_recalc_state), (gst_bin_change_state_func),
23348 * gst/gstelement.c: (gst_element_get_state_func),
23349 (gst_element_get_state), (gst_element_abort_state),
23350 (gst_element_commit_state), (gst_element_set_state),
23351 (gst_element_change_state), (gst_element_change_state_func):
23352 * gst/gstelement.h:
23353 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
23354 (gst_pipeline_provide_clock_func):
23355 * gst/gstutils.c: (gst_element_link_pads_filtered):
23356 * tools/gst-launch.c: (main):
23357 * tools/gst-typefind.c: (main):
23358 Use GstClockTime in _get_state() instead of GTimeVal.
23359 Remove old code in gstutils.c
23361 2005-10-12 Andy Wingo <wingo@pobox.com>
23363 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
23366 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
23367 there is no task. Shouldn't affect any code, as nothing in our
23368 plugins checks this return value.
23369 (gst_pad_stop_task): Also take the stream lock if the pad has no
23370 task. Docs updated.
23372 2005-10-12 Wim Taymans <wim@fluendo.com>
23374 * gst/gstpad.c: (pre_activate), (post_activate),
23375 (gst_pad_activate_pull), (gst_pad_activate_push):
23376 Cleanup activation code. Reset old state if
23379 2005-10-12 Wim Taymans <wim@fluendo.com>
23381 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23382 (gst_base_sink_change_state):
23383 No need to prerol after receiving EOS.
23385 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23386 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
23387 * gst/elements/gstidentity.c: (gst_identity_event):
23388 Print events more verbosely.
23390 2005-10-12 Wim Taymans <wim@fluendo.com>
23392 * check/Makefile.am:
23393 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
23394 * check/states/sinks2.c:
23395 Moved sinks2 testcode in sinks check.
23397 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23398 (gst_bin_remove_func), (gst_bin_recalc_state),
23399 (gst_bin_change_state_func), (bin_bus_handler):
23400 Fix potential race condition when _get_state() iterated over an
23401 ASYNC element right before it posted a state completion.
23404 Do proper cast here.
23406 * gst/gstevent.c: (gst_event_new_newsegment),
23407 (gst_event_parse_newsegment):
23408 A playback rate of 0.0 is not allowed.
23410 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23412 * win32/common/config.h:
23413 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
23414 (_trewinddir), (_ttelldir), (_tseekdir):
23415 * win32/common/dirent.h:
23416 * win32/common/gtchar.h:
23417 * win32/common/libgstbase.def:
23418 * win32/common/libgstreamer.def:
23419 * win32/vs6/grammar.dsp:
23420 * win32/vs6/gst_inspect.dsp:
23421 * win32/vs6/gst_launch.dsp:
23422 * win32/vs6/gstreamer.dsw:
23423 * win32/vs6/libgstbase.dsp:
23424 * win32/vs6/libgstelements.dsp:
23425 * win32/vs6/libgstreamer.dsp:
23426 Visual Studio 6 project files, and a new common directory.
23429 2005-10-11 Wim Taymans <wim@fluendo.com>
23431 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23432 (gst_base_sink_do_sync), (gst_base_sink_query),
23433 (gst_base_sink_change_state):
23434 * gst/base/gstbasesink.h:
23435 Correctly parse newsegment info.
23437 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23439 * gst/gst.c: (init_post):
23440 split plugin paths correctly
23442 2005-10-11 Wim Taymans <wim@fluendo.com>
23444 * check/gst/gstevent.c: (GST_START_TEST):
23445 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23446 (gst_base_sink_change_state):
23447 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
23448 * gst/base/gstbasetransform.c: (gst_base_transform_event):
23449 * gst/elements/gstfilesink.c: (gst_file_sink_event):
23450 * gst/gstevent.c: (gst_event_new_newsegment),
23451 (gst_event_parse_newsegment):
23453 Added extra flag to newsegment for future API freeze.
23454 Updated check and base elements.
23456 2005-10-11 Julien MOUTTE <julien@moutte.net>
23458 * gst/base/gstcollectpads.c: (gst_collectpads_init),
23459 (gst_collectpads_add_pad), (gst_collectpads_pop),
23460 (gst_collectpads_event), (gst_collectpads_chain):
23461 * gst/base/gstcollectpads.h: Handle EOS correctly.
23463 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23465 * tools/gst-launch.c: (main):
23466 more null protecting
23468 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23470 * gst/gst-i18n-lib.h:
23471 check for ENABLE_NLS, not GETTEXT_PACKAGE
23472 * gst/gstregistry.c: (gst_registry_add_plugin),
23473 (gst_registry_scan_path_level),
23474 (_gst_registry_remove_cache_plugins):
23475 protect possibly NULL strings
23476 * gst/parse/types.h:
23477 config.h already included before
23478 * tools/gst-inspect.c: (main):
23479 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
23480 check for ENABLE_NLS, not GETTEXT_PACKAGE
23481 * tools/gst-launch.c: (main):
23482 check for ENABLE_NLS, not GETTEXT_PACKAGE
23484 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23487 if we don't have glib, fail before testing 2.8
23488 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
23489 fix a leak, should fix plugins-base testsuite
23491 2005-10-11 Andy Wingo <wingo@pobox.com>
23493 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
23494 take the mode we're going to as an arg. Go head and set the mode
23495 and flushing flags now, so that if the activate function starts a
23496 thread all the flags will be in the right state.
23497 (post_activate): Renamed also. Just handle making sure streaming
23498 finishes for the deactivation case, and setting the deactivated
23500 (gst_pad_set_active): Complain loudly if deactivation fails.
23501 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
23502 (gst_pad_activate_push): Adapt to pre/post_activate changes,
23503 remove the terrible hack.
23505 2005-10-11 Wim Taymans <wim@fluendo.com>
23507 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23508 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
23509 (gst_bin_recalc_state), (gst_bin_change_state_func),
23510 (gst_bin_dispose), (bin_bus_handler):
23512 Prepare to make current EOS message queue more generic.
23515 * gst/gstevent.c: (gst_event_new_newsegment),
23516 (gst_event_parse_newsegment):
23518 Rename base to stream_time.
23520 * gst/gstmessage.h:
23523 2005-10-11 Wim Taymans <wim@fluendo.com>
23525 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23526 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
23527 (gst_bin_change_state_func), (bin_bus_handler):
23529 Work on proper clock selection.
23531 2005-10-11 Edward Hervey <edward@fluendo.com>
23533 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
23534 * libs/gst/controller/gstcontroller.h:
23535 Added GList* version of _remove_properties() in order to be able to wrap
23538 2005-10-11 Wim Taymans <wim@fluendo.com>
23540 * docs/design/part-states.txt:
23543 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
23544 (gst_bin_change_state_func), (bin_bus_handler):
23545 Doc updates. Don't distribute the same clock over and over again.
23551 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
23552 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
23553 (gst_pad_send_event):
23555 Make probe emission threadsafe again.
23556 Register quarks and move _get_name() from utils.
23559 * gst/gstpipeline.c: (gst_pipeline_class_init),
23560 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23561 Only redistribute the clock of it changed.
23563 * gst/gstsystemclock.h:
23568 Moved the _flow_get_name() to GstPad.
23570 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23572 * check/gst-libs/gdp.c: (GST_START_TEST):
23573 * check/gst/gstcaps.c: (GST_START_TEST):
23574 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
23575 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
23576 (gst_dp_packet_from_caps):
23577 fix more valgrind warnings before turning up the heat
23579 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23581 * gst/parse/grammar.y:
23582 some cleanup before the hacking
23584 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23586 * gst/base/gstbasesrc.c: (gst_base_src_query):
23588 * gst/gstutils.c: (gst_guint64_to_gdouble),
23589 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
23591 externalize, basesrc uses it
23592 obviously the implementation needs testing
23594 2005-10-10 Wim Taymans <wim@fluendo.com>
23596 * tests/sched/Makefile.am:
23597 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
23598 (make_pipeline3), (make_pipeline4), (print_elem), (main):
23600 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23602 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
23603 apparently converting from guint64 to double is not implemented
23606 2005-10-10 Wim Taymans <wim@fluendo.com>
23608 * check/Makefile.am:
23609 * check/generic/states.c: (GST_START_TEST):
23610 * check/gst/gstbin.c: (GST_START_TEST):
23611 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23612 * check/states/sinks.c: (GST_START_TEST):
23613 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
23615 Check fixes, use API as stated in design docs, remove hacks.
23617 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23618 (gst_base_sink_change_state):
23619 Catch stopping our task while we're shutting down.
23621 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
23622 (gst_bin_remove_func), (gst_bin_get_state_func),
23623 (gst_bin_recalc_state), (gst_bin_change_state_func),
23626 * gst/gstelement.c: (gst_element_init),
23627 (gst_element_get_state_func), (gst_element_abort_state),
23628 (gst_element_commit_state), (gst_element_lost_state),
23629 (gst_element_set_state), (gst_element_change_state),
23630 (gst_element_change_state_func):
23631 * gst/gstelement.h:
23632 New state change algorithm (see #318116)
23634 * gst/gstpipeline.c: (gst_pipeline_class_init),
23635 (gst_pipeline_init), (gst_pipeline_set_property),
23636 (gst_pipeline_get_property), (do_pipeline_seek),
23637 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23638 * gst/gstpipeline.h:
23639 Remove crude state change hacks.
23642 Remove crude hacks.
23644 * tools/gst-launch.c: (main):
23645 Fixes for state change. Needs some more work to fully use the
23648 2005-10-10 Andy Wingo <wingo@pobox.com>
23650 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
23652 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
23653 this flag, but it's not even in GLib 2.6. Odd. Hack around the
23656 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23658 * gst/gstiterator.c: (gst_iterator_new):
23659 Fix my previous commit: GTypes passed to gst_iterator_new()
23660 can be fundamental types.
23662 2005-10-10 Wim Taymans <wim@fluendo.com>
23664 * gst/gstelement.c: (gst_element_iterate_pad_list),
23665 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
23666 (gst_element_iterate_sink_pads):
23667 Use src/sink pads lists for the respective iterators instead
23670 2005-10-10 Andy Wingo <wingo@pobox.com>
23672 Merged in popt removal + GOption addition patch from Ronald, bug
23675 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
23676 GstElement macros around, remove popt-related symbols, add goption
23679 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
23681 * docs/gst/Makefile.am:
23682 * docs/libs/Makefile.am: No POPT_CFLAGS.
23684 * examples/manual/Makefile.am:
23685 * docs/manual/basics-init.xml: Doc updates with an example.
23687 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
23688 (gst_init), (parse_one_option), (parse_goption_arg):
23689 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
23690 bit of hand merging and debugging to get the GOption stuff working
23693 * tests/Makefile.am:
23694 * tools/Makefile.am:
23695 * tools/gst-inspect.c: (main):
23696 * tools/gst-launch.c: (main):
23697 * tools/gst-run.c: (main):
23698 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
23700 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23702 * gst/gstiterator.c: (gst_iterator_new):
23703 Add assertions to make sure passed GType is likely to really
23704 be a GType (as the compiler won't catch it if the size and
23705 GType arguments get mixed up, see #318447).
23707 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
23709 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
23711 * gst/gstbin.c: (gst_bin_iterate_sorted):
23712 Pass GType and size arguments to gst_iterator_new() in the right
23713 order (maybe we should make _new() take the GType as first argument
23714 just like _new_list()?) (#318447).
23717 2005-10-10 Wim Taymans <wim@fluendo.com>
23719 * gst/gstelement.c: (gst_element_finalize):
23720 And free the GStaticRecMutex too
23722 2005-10-10 Andy Wingo <wingo@pobox.com>
23724 * gst/gstelement.c (gst_element_init, gst_element_finalize):
23725 Allocate and free the mutex properly.
23727 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
23729 (GstElement): The state_lock is now recursive. Rebuild your
23730 plugins, suckers. Old macros adapted.
23732 * docs/gst/gstreamer-sections.txt: Doc updates.
23735 * gst/gstutils.c (g_static_rec_cond_timed_wait)
23736 (g_static_rec_cond_wait): Ported from state changes patch, while
23737 we wait on bug #317802 to be solved in a well-distributed GLib.
23739 * gst/gstelement.c (gst_element_change_state_func): Renamed from
23740 gst_element_change_state, variable name changes.
23741 (gst_element_change_state): Split out of gst_element_set_state in
23742 preparation for the state change merge. Doesn't pay attention to
23743 the 'transition' argument.
23744 (gst_element_set_state): Updates, hopefully purely cosmetic.
23745 (gst_element_sync_state_with_parent): MT-safety. Ported from the
23746 state change patch.
23747 (gst_element_get_state_func): Renamed from get_state, cosmetic
23750 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23752 * gst/elements/gstelements.c:
23753 * win32/GStreamer.vcproj:
23755 * win32/dirent.c: (_tseekdir):
23756 * win32/gst-inspect.vcproj:
23757 * win32/gst-launch.vcproj:
23758 * win32/gstconfig.h:
23759 * win32/gstelements.vcproj:
23760 * win32/gstenumtypes.c: (gst_object_flags_get_type):
23761 * win32/gstreamer.def:
23762 * win32/msvc71.sln:
23763 updates for the win32 build (patch from Sebastien Moutte)
23765 2005-10-10 Andy Wingo <wingo@pobox.com>
23767 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
23768 gst_bin_get_state, cleaned up (but no logic changes).
23769 (bin_element_is_sink): Comment updates.
23770 (sink_iterator_filter): Remove needless cast.
23771 (gst_bin_iterate_sinks): Doc update.
23772 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
23773 cleaned up (but no logic changes).
23775 * check/states/sinks.c (test_src_sink): Cleanups from the state
23777 (test_livesrc_sink): Sync on the state.
23779 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
23780 the state change patch.
23782 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
23785 * check/gst/gstbin.c: Merge in some style fixes and additional
23786 checks from Wim's state change patch.
23788 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23790 * gst/base/gsttypefindhelper.c: (helper_find_peek),
23791 (gst_type_find_helper):
23792 Check whether we have the requested data already in our list of
23793 cached buffers before pulling a new buffer; also make the buffer
23794 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
23796 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23801 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23802 don't use long long, it's not portable. Replacing with
23803 gint64 seems to work; let's hope no skeletons fall out of the closet.
23805 2005-10-10 Andy Wingo <wingo@pobox.com>
23807 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
23809 2005-10-09 Stefan Kost <ensonic@users.sf.net>
23811 * docs/gst/gstreamer-sections.txt:
23816 * gst/gstmessage.c: (gst_message_parse_state_changed):
23819 more docs, fix compilation
23821 2005-10-09 Philippe Khalaf <burger@speedy.org>
23822 * gst/gstmessage.c:
23823 Fixed a few forgotten variables on previous commit
23825 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
23827 * gst/base/gsttypefindhelper.c: (helper_find_peek):
23828 Fix evil typefind crasher: getrange() might return a short
23829 buffer at the end of a file, but gst_type_find_peek() must
23830 either return the full data as requested or NULL, but
23831 never a short buffer.
23833 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
23835 * gst/gstmessage.c: (gst_message_new_state_changed),
23836 (gst_message_parse_state_changed):
23837 * gst/gstmessage.h:
23838 don't use "new", it's a C++ keyword
23840 2005-10-08 Wim Taymans <wim@fluendo.com>
23842 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
23843 * gst/gstelement.c: (gst_element_post_message):
23844 * gst/gstpipeline.c: (gst_pipeline_change_state):
23845 Small docs and debug updates.
23847 2005-10-08 Stefan Kost <ensonic@users.sf.net>
23849 * docs/gst/gstreamer-sections.txt:
23850 * gst/gstelementfactory.c:
23852 * gst/gsttaglist.c:
23855 2005-10-08 Wim Taymans <wim@fluendo.com>
23857 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
23858 (gst_bin_dispose), (bin_bus_handler):
23859 Fix typos, add comments.
23860 Clear EOS list when going to PAUSED from any direction and do it
23861 in a threadsafe way.
23862 Get base time in a threadsafe way too.
23863 Fix confusing debug in the change_state function.
23864 Various other small cleanups.
23866 * gst/gstelement.c: (gst_element_post_message):
23867 Fix very verbose bus posting code.
23869 * gst/gstpipeline.c: (gst_pipeline_class_init),
23870 (gst_pipeline_set_property), (gst_pipeline_get_property),
23871 (gst_pipeline_change_state):
23872 Small ARG_ -> PROP_ cleanup
23874 2005-10-08 Wim Taymans <wim@fluendo.com>
23876 * gst/gstbin.c: (is_eos), (bin_bus_handler):
23877 Do a less CPU demanding EOS check because we can.
23879 2005-10-08 Wim Taymans <wim@fluendo.com>
23881 * libs/gst/dataprotocol/dataprotocol.c:
23882 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
23883 (gst_dp_packet_from_event):
23884 * libs/gst/dataprotocol/dataprotocol.h:
23885 * libs/gst/dataprotocol/dp-private.h:
23886 It's about time we bump the version number.
23887 Since event types don't fit in the guint8 anymore describing
23888 the payload type, make payload type 16 bits wide.
23890 2005-10-08 Wim Taymans <wim@fluendo.com>
23892 * docs/design/part-TODO.txt:
23893 * docs/design/part-clocks.txt:
23894 * docs/design/part-events.txt:
23895 * docs/design/part-gstbin.txt:
23896 * docs/design/part-gstelement.txt:
23897 * docs/design/part-gstpipeline.txt:
23898 * docs/design/part-live-source.txt:
23899 * docs/design/part-messages.txt:
23900 * docs/design/part-overview.txt:
23901 * docs/design/part-states.txt:
23904 2005-10-08 Wim Taymans <wim@fluendo.com>
23908 Fix event quark registration.
23909 Add some space between events so we can insert them in the
23912 2005-10-08 Wim Taymans <wim@fluendo.com>
23914 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23915 (gst_base_sink_handle_buffer):
23916 Better log message.
23919 * gst/gstelement.h:
23922 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
23923 (gst_queue_set_property), (gst_queue_get_property):
23925 Remove old unused properties.
23927 2005-10-08 Stefan Kost <ensonic@users.sf.net>
23928 * docs/gst/gstreamer-sections.txt:
23929 * gst/gstmessage.c:
23930 * gst/gstmessage.h:
23931 * gst/gstminiobject.c:
23932 * gst/gstminiobject.h:
23936 lots of new docs and doc fixes
23938 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23940 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
23942 * gst/gstregistry.c: (gst_registry_lookup_locked),
23943 (gst_registry_scan_path_level):
23944 * gst/gstregistryxml.c: (load_plugin):
23945 Only ever load one plugin for a given plugin basename.
23946 This ensures correct overriding of GST_PLUGIN_PATH over
23947 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
23948 system installed plugins.
23950 2005-10-08 Wim Taymans <wim@fluendo.com>
23952 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23953 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
23954 Prepare for doing QOS.
23956 2005-10-08 Wim Taymans <wim@fluendo.com>
23958 * check/gst/gstbin.c: (GST_START_TEST):
23959 * check/pipelines/cleanup.c: (GST_START_TEST):
23960 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23961 Allow new clock message too.
23963 2005-10-08 Wim Taymans <wim@fluendo.com>
23965 * gst/gstmessage.c: (gst_message_new_error),
23966 (gst_message_new_warning), (gst_message_new_tag),
23967 (gst_message_new_state_changed), (gst_message_new_clock_provide),
23968 (gst_message_new_clock_lost), (gst_message_new_new_clock),
23969 (gst_message_new_segment_start), (gst_message_new_segment_done),
23970 (gst_message_parse_state_changed),
23971 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
23972 (gst_message_parse_new_clock):
23973 * gst/gstmessage.h:
23974 Also carry the clock in question.
23976 2005-10-08 Wim Taymans <wim@fluendo.com>
23978 * gst/gstmessage.c: (gst_message_new_custom),
23979 (gst_message_new_eos), (gst_message_new_error),
23980 (gst_message_new_warning), (gst_message_new_tag),
23981 (gst_message_new_state_changed), (gst_message_new_clock_provide),
23982 (gst_message_new_new_clock), (gst_message_new_segment_start),
23983 (gst_message_new_segment_done), (gst_message_parse_state_changed),
23984 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
23985 * gst/gstmessage.h:
23987 Added clock related messages.
23989 * gst/gstpipeline.c: (gst_pipeline_change_state):
23990 Post message when the clock changed.
23992 * tools/gst-launch.c: (event_loop):
23995 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
23997 * tools/gst-inspect.c: (print_element_properties_info):
23998 Can't pass NULL strings to g_print() on windows.
24000 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
24002 * docs/Makefile.am:
24003 * docs/gst/Makefile.am:
24004 * docs/gst/gstreamer-docs.sgml:
24005 * docs/gst/running.xml:
24006 * docs/version.entities.in:
24007 add a chapter on running GStreamer.
24008 document GST_DEBUG and GST_PLUGIN* env vars
24010 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
24015 remove PLUGINS_BUILDDIR stuff
24016 * gst/gst.c: (init_post):
24017 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
24019 remove, it was condescending and not needed
24021 2005-10-08 Wim Taymans <wim@fluendo.com>
24023 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
24024 (gst_base_sink_handle_object), (gst_base_sink_event),
24025 (gst_base_sink_wait), (gst_base_sink_handle_event),
24026 (gst_base_sink_change_state):
24027 * gst/base/gstbasesink.h:
24028 Repost EOS message while going to PLAYING if still EOS.
24029 Make sure that when receiving a FLUSH_START we don't attempt
24030 to sync on the clock anymore.
24032 2005-10-08 Wim Taymans <wim@fluendo.com>
24034 * tools/gst-launch.c: (event_loop):
24035 Better message printout.
24037 2005-10-08 Wim Taymans <wim@fluendo.com>
24039 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
24040 (gst_bin_child_proxy_get_children_count):
24041 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
24042 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
24043 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
24044 (gst_child_proxy_set_valist):
24045 * gst/parse/grammar.y:
24046 Make ChildProxy threadsafe and fix mem leaks.
24048 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
24050 * gst/gst.c: (init_post):
24051 debug the GST_PLUGIN_ env vars
24053 2005-10-08 Wim Taymans <wim@fluendo.com>
24055 * check/gst/gstbin.c: (GST_START_TEST):
24056 * check/gst/gstmessage.c: (GST_START_TEST):
24057 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
24058 * gst/gstelement.c: (gst_element_commit_state),
24059 (gst_element_lost_state):
24060 * gst/gstmessage.c: (gst_message_new_state_changed),
24061 (gst_message_parse_state_changed):
24062 * gst/gstmessage.h:
24063 * tools/gst-launch.c: (event_loop):
24064 Added extra field to STATE_CHANGE message with the pending
24065 state, which will be different from the new state soon.
24067 2005-10-08 Wim Taymans <wim@fluendo.com>
24069 * gst/gstbus.c: (gst_bus_pop):
24071 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
24072 Small cleanups and doc updates.
24074 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
24076 * gst/gst.c: (init_pre):
24077 * gst/gstbin.c: (gst_bin_add_func):
24078 log distributing clocks and base time
24079 * gst/gstregistry.c: (gst_registry_add_plugin),
24080 (gst_registry_scan_path_level), (gst_registry_scan_path):
24081 clean up the debugging output a little
24082 * gst/gstutils.c: (gst_element_state_get_name):
24083 warn about a memleak (I've actually seen this be used, though
24084 it was probably a bug)
24086 2005-10-07 Wim Taymans <wim@fluendo.com>
24088 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24089 (gst_base_src_init), (gst_base_src_default_newsegment),
24090 (gst_base_src_newsegment), (gst_base_src_do_seek),
24091 (gst_base_src_loop), (gst_base_src_start):
24092 * gst/base/gstbasesrc.h:
24093 Make the newsegment event customizable by subclasses.
24095 2005-10-07 Wim Taymans <wim@fluendo.com>
24097 * gst/gstevent.c: (gst_event_new_buffersize),
24098 (gst_event_parse_buffersize):
24100 New event for future idea.
24102 2005-10-07 Andy Wingo <wingo@pobox.com>
24104 * gst/gstelement.c (gst_element_post_message): Doc update.
24106 * docs/gst/gstreamer-sections.txt: Update.
24108 * gst/gstmessage.c (gst_message_new_application): Made into a
24109 function like honest API calls.
24110 (gst_message_new_element): New message type.
24112 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
24114 * check/elements/fakesrc.c (test_no_preroll): New check, checks
24115 that setting a live fakesrc to PAUSED returns NO_PREROLL both
24118 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
24119 NO_PREROLL from gst_element_change_state to fall through.
24121 2005-10-07 Wim Taymans <wim@fluendo.com>
24123 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
24124 (gst_ghost_pad_do_activate_push):
24125 Activating a ghostpad with no internal pad in push mode
24128 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
24131 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
24132 Fixes compilation on Windows.
24134 2005-10-07 Michael Smith <msmith@fluendo.com>
24136 * tools/gst-inspect.c:
24137 Print out feature and plugin count at the end when printing out
24140 2005-10-04 Michael Smith <msmith@fluendo.com>
24142 * gst/gsterror.c: (_gst_stream_errors_init):
24143 Add another error string used in a few existing plugins.
24146 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
24147 * tools/gst-inspect.c: (print_element_info):
24148 When a feature disappears from a plugin (and the feature exists in
24149 the cached registry file), things went horribly wrong. This isn't a
24150 complete fix, we should actually be removing the 'missing' features
24151 from the features list when we load the actual plugin. That's not
24154 2005-10-04 Johan Dahlin <johan@gnome.org>
24156 * check/gst/gstiterator.c: (GST_START_TEST):
24157 * gst/gstbin.c: (gst_bin_iterate_elements),
24158 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
24159 * gst/gstelement.c: (gst_element_iterate_pads):
24160 * gst/gstformat.c: (gst_format_iterate_definitions):
24161 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
24162 (gst_iterator_new_list), (gst_iterator_filter):
24163 * gst/gstiterator.h:
24164 * gst/gstquery.c: (gst_query_type_iterate_definitions):
24165 Add a GType to GstIterator, update callsites and tests.
24167 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
24169 * gst/gstpad.c: (gst_pad_event_default_dispatch):
24170 give events a chance to be handled by event probes when the pad
24173 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
24175 * gst/gstevent.c: (gst_event_type_get_name),
24176 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
24178 add string representations for event types
24180 2005-10-06 Wim Taymans <wim@fluendo.com>
24182 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
24183 Don't use NULL pointers.
24185 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
24187 * gst/gst_private.h:
24189 * gst/gstelement.c:
24191 * gst/gstpluginfeature.c:
24192 widen the debug category in output to fit the biggest one we have
24193 add a bus category and use it
24194 play with the colors
24195 fix up some categories
24197 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
24199 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
24200 add push activation of sink ghost pads.
24201 Andye, please verify
24203 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
24205 * gst/gstutils.c: (gst_element_link_pads):
24206 fix a bug in the case where neither element has a pad
24207 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
24208 add a test for that case
24210 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
24212 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
24213 emit have-data before checking for peers. This allows
24214 for probe handlers to connect elements. This helps autopluggers.
24215 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
24217 add six checks, linked/unlinked with no/true/false probe
24219 2005-10-04 Wim Taymans <wim@fluendo.com>
24221 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
24222 (gst_fake_sink_event), (gst_fake_sink_preroll),
24223 (gst_fake_sink_render), (gst_fake_sink_change_state):
24224 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
24225 (gst_fake_src_get_property), (gst_fake_src_create),
24226 (gst_fake_src_stop):
24227 * gst/elements/gstidentity.c: (gst_identity_stop):
24228 Protect last_message with lock.
24230 2005-10-04 Edward Hervey <edward@fluendo.com>
24233 Added precision in the comments for GST_FORMAT_DEFAULT
24235 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
24237 * tools/gst-launch.c: (main):
24238 Don't try to run erroneous pipelines.
24240 2005-10-04 Julien MOUTTE <julien@moutte.net>
24242 * gst/gstbus.c: We don't need this header.
24244 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
24247 back to development
24249 === release 0.9.3 ===
24251 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
24255 Releasing 0.9.3, "Unregistered"
24257 2005-10-03 Andy Wingo <wingo@pobox.com>
24259 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
24260 whereby calling a pad's activatepush() function can start a thread
24261 that starts to push or pull before the pad gets the FLUSHING flag
24262 unset. Hack around it by holding the stream lock until the flag is
24263 set. Need to replace this with a proper solution. Together with
24264 the ghost pad fixes, this fixes mp3 playing/tagreading.
24266 * docs/design/part-gstghostpad.txt: Add a note about activation of
24267 proxy pads outside of ghost pads.
24269 * gst/gstghostpad.c: Implement the ghost pad activation design.
24271 2005-10-02 Andy Wingo <wingo@pobox.com>
24273 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
24274 It is volatile, after all.
24276 * docs/design/part-gstghostpad.txt: Flesh out activation with
24279 * gst/base/gstbasesrc.c (gst_base_src_init): Use
24282 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
24285 Fix (unused) AM_CONDITIONAL tests.
24287 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
24289 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
24291 * gst/gstutils.c: (gst_pad_query_convert):
24292 Add assertion that makes sure src_val is >=0, just like
24293 gst_query_new_convert() has. (#315895)
24295 2005-09-30 Edward Hervey <edward@fluendo.com>
24297 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
24298 Let's not iterate pads we're not interested in, it avoids getting
24299 sky-high refcounts on sinkpad.
24301 2005-09-30 Wim Taymans <wim@fluendo.com>
24303 * gst/gstelement.c: (gst_element_set_state),
24304 (gst_element_change_state):
24305 Small tweak, element in ASYNC remains ASYNC.
24307 2005-09-30 Wim Taymans <wim@fluendo.com>
24309 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
24310 Only error is an error.
24312 * gst/gstbin.c: (gst_bin_change_state):
24315 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
24316 Also call pad_block in pad alloc.
24318 * gst/gstutils.c: (gst_flow_get_name):
24321 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
24323 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24324 (gst_base_src_get_range):
24325 Fix documentation typos. Add some more debug info.
24327 2005-09-29 David Schleef <ds@schleef.org>
24329 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
24330 more end-user friendly.
24331 * tools/gst-inspect.c: (main): Check if command-line argument is
24332 a file and attempt to load that file as a plugin.
24334 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
24336 * check/gst/gstbin.c:
24337 * check/states/sinks.c:
24338 fix tests for the new warning
24339 * check/gst/gstpipeline.c:
24340 add a test for pipeline and bus interaction
24341 * gst/gstelement.c:
24342 elements should be NULL if they get disposed; add a warning if not
24344 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
24347 for 2.6 refcounting, make debug log more correct by printing
24348 the actual refcounts at the time of swap (Wim)
24350 2005-09-29 Andy Wingo <wingo@pobox.com>
24352 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
24353 removes signal watches previously added via
24354 gst_bus_add_signal_watch.
24355 (gst_bus_add_signal_watch): Don't return the source id, just store
24356 it on the bus if there wasn't an id already.
24358 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
24359 add_signal_watch and remove_signal_watch.
24361 2005-09-29 Edward Hervey <edward@fluendo.com>
24363 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
24364 Better if we actually iterate the list :)
24366 2005-09-29 Wim Taymans <wim@fluendo.com>
24368 * check/gst/gstbin.c: (GST_START_TEST):
24369 Change for new bus API.
24371 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
24372 (send_messages), (GST_START_TEST), (gstbus_suite):
24373 Change for new bus signal API.
24375 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
24376 (gst_bus_source_prepare), (gst_bus_source_check),
24377 (gst_bus_create_watch), (gst_bus_add_watch_full),
24378 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
24379 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
24381 Remove support for multiple GSources operating on different
24382 message types as it is too complex and unneeded when using
24384 Added support for receiving signals from the bus.
24386 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
24388 * docs/libs/tmpl/gstdataprotocol.sgml:
24389 * docs/manual/advanced-dataaccess.xml:
24390 * gst/elements/gstcapsfilter.c:
24392 rename filter-caps to caps property
24394 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
24396 * gst/gstvalue.c: (gst_value_deserialize_fraction):
24397 More robust fraction string parsing.
24399 * docs/pwg/appendix-porting.xml:
24400 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
24402 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
24404 * gst/gstcaps.c: (gst_caps_do_simplify):
24405 Thou shalt not free a structure and then continue using it
24406 in the next loop iteration.
24408 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
24410 Add test case for caps simplification.
24412 2005-09-29 Wim Taymans <wim@fluendo.com>
24414 * check/gst/gstbin.c: (GST_START_TEST):
24417 2005-09-29 Wim Taymans <wim@fluendo.com>
24419 * check/gst/gstbin.c: (GST_START_TEST):
24422 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
24423 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24424 (find_element), (gst_bin_sort_iterator_next),
24425 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24426 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24427 (gst_bin_change_state), (gst_bin_dispose):
24428 A bin does not have a bus, it gets the bus from the parent.
24430 * gst/gstelement.c: (gst_element_requires_clock),
24431 (gst_element_provides_clock), (gst_element_is_indexable),
24432 (gst_element_is_locked_state), (gst_element_change_state),
24433 (gst_element_set_bus_func):
24436 * gst/gstpipeline.c: (gst_pipeline_class_init),
24437 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
24438 The pipeline provides a bus.
24440 2005-09-28 Johan Dahlin <johan@gnome.org>
24442 * gst/gstmessage.c (gst_message_parse_state_changed): Use
24443 gst_structure_get_enum instead of gst_structure_get_int
24445 * gst/gststructure.c (gst_structure_get_enum): Impl.
24447 * gst/gststructure.h (gst_structure_get_enum): Add
24449 * docs/gst/gstreamer-sections.txt: Ditto
24451 * gst/gstmessage.c (gst_message_new_state_changed): Use
24452 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
24453 which does introspection.
24454 Reviewed by Christian Schaller
24456 2005-09-28 Stefan Kost <ensonic@users.sf.net>
24458 * gst/gstinfo.c: (gst_debug_log_default):
24459 don't do dummy g_strdup()s
24460 * libs/gst/controller/gstcontroller.c:
24461 (on_object_controlled_property_changed),
24462 (gst_controlled_property_new), (gst_controller_new_valist),
24463 (gst_controller_new_list),
24464 (gst_controller_remove_properties_valist), (gst_controller_set),
24465 (gst_controller_get), (gst_controller_sync_values),
24466 (gst_controller_get_value_array), (_gst_controller_class_init),
24467 (gst_controller_get_type):
24468 * libs/gst/controller/gstcontroller.h:
24469 * libs/gst/controller/gstinterpolation.c:
24470 (gst_controlled_property_find_timed_value_node):
24471 convert // to /**/ comments
24473 2005-09-28 Wim Taymans <wim@fluendo.com>
24475 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
24476 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
24477 (gst_bus_sync_signal_handler):
24479 Added async-message and sync-message signals to the bus.
24480 Added helper BusFunc to emit signals for all posted messages.
24482 * gst/gstmessage.c: (gst_message_type_get_name),
24483 (gst_message_type_to_quark), (gst_message_get_type):
24484 * gst/gstmessage.h:
24485 Register quarks for message names.
24487 2005-09-28 Stefan Kost <ensonic@users.sf.net>
24489 * docs/libs/gstreamer-libs-sections.txt:
24490 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
24491 (gst_controller_new_list):
24492 * libs/gst/controller/gstcontroller.h:
24493 added another constructor for language bindings
24495 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
24497 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
24501 * gst/gstinfo.c: (_gst_debug_init):
24502 slightly more readable color for refcount debugging
24504 2005-09-28 Wim Taymans <wim@fluendo.com>
24506 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
24507 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24508 (find_element), (gst_bin_sort_iterator_next),
24509 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24510 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24511 (gst_bin_change_state), (gst_bin_dispose):
24512 Small doc fixes. get_clock -> provide_clock.
24514 * gst/gstelement.c: (gst_element_class_init),
24515 (gst_element_provides_clock), (gst_element_provide_clock),
24516 (gst_element_get_clock), (gst_element_commit_state),
24517 (gst_element_lost_state):
24518 * gst/gstelement.h:
24519 Make get/set_clock() symetric. Add provide_clock vmethod since
24520 that is actually what this function does.
24522 * gst/gstpipeline.c: (gst_pipeline_class_init),
24523 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
24524 (gst_pipeline_get_clock):
24525 get_clock -> provide_clock.
24527 2005-09-28 Andy Wingo <wingo@pobox.com>
24529 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
24530 lieu of real docs...
24532 * gst/elements/gstfdsrc.c: Cleaned up a bit.
24534 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
24536 * gst/elements/gstcapsfilter.c:
24537 * gst/elements/gstfakesink.c:
24538 * gst/elements/gstfakesrc.c:
24539 * gst/elements/gstfdsink.c:
24540 * gst/elements/gstfdsrc.c:
24541 * gst/elements/gstfilesink.c:
24542 * gst/elements/gstfilesrc.c:
24543 * gst/elements/gstidentity.c:
24544 * gst/elements/gsttee.c:
24545 * gst/elements/gsttypefindelement.c:
24546 Make element details static.
24548 2005-09-28 Wim Taymans <wim@fluendo.com>
24550 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24551 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24552 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24553 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24554 (gst_bin_change_state), (gst_bin_dispose):
24555 Some documentation updates.
24556 Clean up dispose handlers.
24558 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
24559 * gst/gstpad.c: (gst_pad_dispose):
24560 Clean up dispose handler.
24562 * gst/gstpipeline.c: (gst_pipeline_change_state):
24563 Removed spurious UNLOCK.
24565 2005-09-27 Stefan Kost <ensonic@users.sf.net>
24567 * docs/gst/gstreamer-sections.txt:
24568 * gst/base/gstbasesrc.h:
24569 * gst/gstelement.h:
24573 * gst/gstpipeline.c:
24574 * gst/gstpipeline.h:
24577 added two new functions to the docs
24578 documents all undocumented GstXXXFlags
24579 completed some incomplete docs
24581 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
24583 * gst/gstbin.c: (gst_bin_dispose):
24584 * gst/gstelement.c: (gst_element_dispose):
24585 remove now useless and leaky resurrection code in dispose
24586 * gst/base/gstbasesrc.c: (gst_base_src_init):
24587 * gst/gstelementfactory.c: (gst_element_factory_create):
24588 * gst/gstobject.c: (gst_object_set_parent):
24591 2005-09-27 Wim Taymans <wim@fluendo.com>
24593 * docs/design/part-TODO.txt:
24596 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24597 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24598 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24599 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24600 (gst_bin_change_state):
24601 * gst/gstelement.h:
24602 Remove element variable, we keep element info in the iterator now.
24604 2005-09-27 Andy Wingo <wingo@pobox.com>
24606 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
24609 2005-09-27 Wim Taymans <wim@fluendo.com>
24611 * check/gst/gstbin.c: (GST_START_TEST):
24612 Enable check that works now.
24614 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24615 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24616 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24617 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24618 (gst_bin_change_state):
24620 Redid the state change algorithm using a topological sort algo.
24621 Handles all cases correctly.
24622 Exposed iterator for state change order.
24624 * gst/gstelement.h:
24625 Temp storage for state changes. Need to get rid of this soon.
24627 2005-09-27 Wim Taymans <wim@fluendo.com>
24629 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
24630 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
24631 (link_fold_func), (gst_pad_proxy_setcaps):
24632 Leak fixes, the fold functions need to unref the passed object and
24633 _get_parent_*() returns ref to parent.
24635 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24637 * check/gst/gstbuffer.c: (test_make_writable):
24638 Plug leak in test case and fix 'make check-valgrind'
24640 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24642 * gst/gstbuffer.c: (gst_subbuffer_init):
24643 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
24644 works correctly in all circumstances (we could have just copied
24645 the parent buffer's readonly flag, but conceptually it seems
24646 cleaner to mark all subbuffers as read-only). (based on patch
24647 by Alessandro Decina, #314710).
24649 * check/gst/gstbuffer.c: (create_read_only_buffer),
24650 (test_make_writable), (test_subbuffer_make_writable),
24652 Add some tests for gst_buffer_make_writable().
24654 2005-09-27 Wim Taymans <wim@fluendo.com>
24656 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
24657 use gst_object_has_ancestor().
24659 * gst/gstobject.c: (gst_object_has_ancestor):
24661 gst_object_has_ancestor() copied from gstbin.c as it is a
24664 * tests/instantiate/create.c: (create_all_elements):
24665 * tests/lat.c: (handoff_src), (handoff_sink):
24666 * tests/sched/runxml.c: (main):
24667 * tests/seeking/seeking1.c: (main):
24668 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
24670 Fix compilation of some tests.
24672 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24675 Remove comment. GST_TYPE_G_ERROR is here to stay,
24676 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
24677 (#316961, #300610).
24679 2005-09-26 Wim Taymans <wim@fluendo.com>
24681 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24682 Added check that shows error in state change order.
24684 2005-09-26 Wim Taymans <wim@fluendo.com>
24686 * gst/gstbin.c: (gst_bin_change_state):
24687 Make state change function use 3 queues again, we were
24688 adding elements in the wrong order.
24690 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
24693 * gst/gstpad.c: (gst_pad_dispose):
24694 Added some debug info first.
24696 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
24698 * docs/design/draft-push-pull.txt:
24699 * docs/design/part-events.txt:
24700 * docs/design/part-overview.txt:
24701 * docs/design/part-scheduling.txt:
24702 Replace all _pull_region() with _pull_range()
24704 2005-09-26 Andy Wingo <wingo@pobox.com>
24706 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
24708 * check/gst-libs/controller.c: Update for controller api change.
24711 * tests/Makefile.am:
24712 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
24713 over by GLib bug 118439.
24715 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
24716 routines to a function.
24718 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
24720 * libs/gst/controller/gsthelper.c:
24721 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
24722 (gst_object_sync_values): Renamed from sink_values. Ugh.
24724 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
24726 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
24727 Renamed from controller_key, as it is exported.
24729 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
24731 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
24736 * gst/gstpadtemplate.h:
24739 * gst/gstqueryutils.c:
24740 * gst/gstqueryutils.h:
24741 remove queryutils headers after moving the two used functions
24742 to gstquery. also fixes build problem for gstsiddec
24744 2005-09-26 Michael Smith <msmith@fluendo.com>
24746 * tools/gst-launch.1.in:
24747 Correct documentation in manpage of debug syntax
24749 2005-09-26 Wim Taymans <wim@fluendo.com>
24751 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24752 (gst_base_src_is_seekable), (gst_base_src_change_state):
24753 Some more debugging info.
24755 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24757 * docs/gst/gstreamer-sections.txt:
24758 * gst/base/gstbasetransform.h:
24762 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24764 * docs/gst/.cvsignore:
24765 * docs/gst/tmpl/.cvsignore:
24766 * docs/gst/tmpl/gstpipeline.sgml:
24767 * docs/gst/tmpl/gstplugin.sgml:
24768 * gst/gstpipeline.c:
24771 inlined the last two docs files
24772 removed the tmpl directory from cvs (no more conflicts here!)
24774 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24776 * docs/gst/gstreamer-sections.txt:
24777 * docs/gst/tmpl/.cvsignore:
24778 * docs/gst/tmpl/gstpad.sgml:
24779 * docs/gst/tmpl/gstpadtemplate.sgml:
24781 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
24782 (gst_pad_finalize), (gst_pad_set_pad_template):
24784 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
24785 (gst_pad_template_class_init), (gst_pad_template_init),
24786 (gst_pad_template_dispose), (name_is_valid),
24787 (gst_static_pad_template_get), (gst_pad_template_new),
24788 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
24789 (gst_pad_template_pad_created):
24790 * gst/gstpadtemplate.h:
24791 inlined two more docs
24792 factored gstpadtemplate out of gstpad
24794 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
24796 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24797 (test_children_state_change_order_semi_sink):
24798 Fix test case: we can't rely on a fixed state change order when
24799 going from READY => PAUSED because the sink might commit its
24800 new state first when the first buffer created by the source
24801 reaches the sink before the source has finished its change state.
24802 (Test case still fails at times, see #316856, comment 5 onwards)
24804 2005-09-24 Wim Taymans <wim@fluendo.com>
24806 * docs/design/part-events.txt:
24807 * docs/design/part-gstbus.txt:
24808 * docs/design/part-gstpipeline.txt:
24809 * docs/design/part-messages.txt:
24810 * docs/design/part-overview.txt:
24811 * docs/design/part-segments.txt:
24815 * gst/gstelement.c:
24818 * gst/gstiterator.c:
24819 Various documentation updates.
24821 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
24824 Well, that's embarassing. Luckily we weren't using
24825 GST_CLOCK_DIFF anywhere.
24827 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24829 * common/gtk-doc.mak:
24830 don't fail on building XML, FC4 slave shows a bunch of doc
24831 missing bits that I don't get
24833 * gst/gstpipeline.c:
24834 * gst/gststructure.c:
24837 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
24839 * docs/design/part-gstbin.txt:
24840 * docs/design/part-gstbus.txt:
24842 Add blurb about how the bus goes into flushing mode and
24843 drops all messages when its bin goes from READY into NULL
24846 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24848 * docs/gst/gstreamer-sections.txt:
24849 * gst/gststructure.c: (gst_structure_get_clock_time):
24850 * gst/gststructure.h:
24851 add a method to get a GstClockTime out of a structure
24853 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
24855 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24856 (test_children_state_change_order_semi_sink), (gst_bin_suite):
24857 Added test to check state change order in bins (can still be made
24858 to fail here under heavy disk load; bails out with 'Push on pad
24859 fakesink:sink0, but it was not activated in push mode').
24861 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
24862 Fix state change order when there is only a semi sink (#316856)
24864 * gst/gstbus.c: (gst_bus_class_init):
24865 Use _class_peek_parent(), not _class_ref(); fix docs to say
24866 'default main context' instead of 'mainloop' where that is
24869 * gst/gstelement.c: (gst_element_commit_state),
24870 (gst_element_set_state):
24871 Fix typos in debug messages
24873 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24876 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
24877 * gst/gstpluginfeature.c:
24879 various doc updates
24880 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24881 change an assert into an error until it gets fixed properly
24883 2005-09-23 Stefan Kost <ensonic@users.sf.net>
24885 * docs/gst/gstreamer-sections.txt:
24886 * docs/gst/tmpl/.cvsignore:
24887 * docs/gst/tmpl/gstelement.sgml:
24888 * docs/gst/tmpl/gstinfo.sgml:
24889 * docs/gst/tmpl/gstobject.sgml:
24890 * gst/gstelement.c:
24891 * gst/gstelement.h:
24894 * gst/gstobject.c: (gst_object_class_init):
24896 inlined 3 more biiiig doc files and added some missing docs on the fly
24898 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24900 * check/gst/.cvsignore:
24901 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
24902 * gst/gstregistryxml.c: (load_plugin),
24903 (gst_registry_xml_save_plugin):
24904 put back source in registry. add checks for find_plugin.
24905 * testsuite/states/bin.c: (assert_state), (empty_bin),
24906 (test_adding_one_element), (main):
24907 * testsuite/states/locked.c: (main):
24908 some compile/run fixes
24910 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
24912 * check/gst/gstvalue.c: (GST_START_TEST):
24913 fix leaks in the test itself
24915 2005-09-22 Wim Taymans <wim@fluendo.com>
24917 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24918 (gst_base_sink_send_event), (gst_base_sink_peer_query),
24919 (gst_base_sink_query):
24920 Prepare for more accurate position reporting and query
24923 * gst/gstelement.c: (gst_element_send_event),
24924 (gst_element_set_state):
24927 2005-09-22 Wim Taymans <wim@fluendo.com>
24929 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
24930 (gst_query_parse_segment):
24932 More documentation.
24933 Add segment query for future use.
24935 2005-09-22 Wim Taymans <wim@fluendo.com>
24937 * gst/gstbin.c: (gst_bin_add_func):
24938 Some more debug info.
24940 * gst/gstelement.c: (gst_element_send_event):
24941 Simplify send_event
24943 * gst/gstelement.h:
24944 Don't know how flags got broken.
24949 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
24951 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
24952 Add simplistic test suite for GST_TYPE_DATE serialisation and
24955 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
24957 * docs/gst/gstreamer-sections.txt:
24958 * gst/gststructure.c: (gst_structure_set_valist),
24959 (gst_structure_get_date):
24960 * gst/gststructure.h:
24961 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
24962 (gst_date_copy), (gst_value_compare_date),
24963 (gst_value_serialize_date), (gst_value_deserialize_date),
24964 (gst_value_transform_date_string),
24965 (gst_value_transform_string_date), (_gst_value_initialize):
24967 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
24968 bunch of utility functions along with a hack that checks that
24969 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
24970 is required. Part of the grand scheme in #170777.
24972 2005-09-22 Andy Wingo <wingo@pobox.com>
24974 * gst/gstconfig.h.in: Psych out gtk-doc.
24976 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
24978 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
24980 * tools/gst-inspect.c (print_element_list): Plug some
24981 inconsequential leaks.
24983 * gst/gstregistry.c (gst_registry_get_default): Doc.
24985 * check/gst/gstplugin.c:
24986 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
24987 * gst/gstelementfactory.c (gst_element_factory_create):
24988 * gst/gstindexfactory.c (gst_index_factory_create): Update for
24991 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
24992 (gst_plugin_feature_load): Doc, don't eat refs.
24994 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
24995 (gst_plugin_list_free): Doc.
24996 (gst_plugin_load_file): Doc updates.
24998 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
24999 accessors returning refcounted objects, return a ref.
25001 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
25002 accessor for caps. IDEMPOTENCE. Oh yes.
25004 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
25006 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
25008 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
25009 (_gst_debug_register_funcptr):
25010 Add mutex to serialise access to the hash table with
25011 the function pointer => function name string mapping;
25012 make that hash table static scope (#316809).
25014 * gst/registries/.cvsignore:
25015 Remove left-over file.
25017 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
25019 * docs/pwg/appendix-porting.xml:
25020 And something about newsegment events and caps-on-buffers to
25021 the porting guide (feel free to improve).
25023 2005-09-21 Andy Wingo <wingo@pobox.com>
25025 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
25026 data and event probes on the same pad.
25027 (test_buffer_probe_once): Test that removing probes from within
25028 the probe functions works.
25030 2005-09-21 Andy Wingo <wingo@pobox.com>
25032 * check/gst/gstutils.c: New file.
25033 (test_buffer_probe_n_times): A simple buffer probe test. More to
25036 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
25037 have-data::buffer, not have-data.
25038 (gst_pad_add_event_probe): Likewise for have-data::event.
25039 (gst_pad_add_data_probe): More docs. The part about 'resolving the
25040 peer' isn't quite right yet though.
25041 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
25042 (gst_pad_remove_data_probe): Change to take the guint handler_id
25043 as their arg, not the function+data, which is more glib-like.
25045 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
25046 the signal emission to indicate if the data is a buffer or an
25048 (gst_pad_get_type): Initialize buffer and event quarks.
25049 (gst_pad_class_init): have-data is now a detailed signal, yes it
25052 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
25054 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
25055 * gst/gstutils.c: (gst_util_set_value_from_string),
25056 (gst_util_set_object_arg):
25057 Don't put functional code in g_return_if_fail() or
25058 g_return_val_if_fail() statements, otherwise things will
25059 break when G_DISABLE_CHECKS is defined during compilation.
25061 2005-09-21 Stefan Kost <ensonic@users.sf.net>
25063 * docs/gst/tmpl/.cvsignore:
25064 * docs/gst/tmpl/gstvalue.sgml:
25067 inlied another one and added some obvious docs
25069 2005-09-21 Wim Taymans <wim@fluendo.com>
25071 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
25072 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
25073 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
25074 (gst_fdsrc_get_property), (gst_fdsrc_create):
25075 * gst/elements/gstfdsrc.h:
25076 Properly implement fdsrc. Removed signal and timeout,
25077 better implemented somewhere else.
25079 2005-09-21 Stefan Kost <ensonic@users.sf.net>
25081 * docs/gst/tmpl/.cvsignore:
25082 * docs/gst/tmpl/gstimplementsinterface.sgml:
25083 * gst/gstinterface.c:
25086 2005-09-21 Stefan Kost <ensonic@users.sf.net>
25088 * docs/gst/gstreamer-sections.txt:
25089 * docs/gst/tmpl/.cvsignore:
25090 * docs/gst/tmpl/gstenumtypes.sgml:
25091 remove obsolete doc file
25093 2005-09-21 David Schleef <ds@schleef.org>
25095 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
25096 little beer, fix a little leak.
25098 2005-09-21 Stefan Kost <ensonic@users.sf.net>
25100 * docs/gst/gstreamer-docs.sgml:
25101 * docs/gst/gstreamer-sections.txt:
25102 * docs/gst/tmpl/.cvsignore:
25106 * gst/gstelement.h:
25107 * gst/gstindex.c: (gst_index_class_init):
25109 * gst/gstindexfactory.c: (gst_index_factory_get_type),
25110 (gst_index_factory_class_init), (gst_index_factory_init),
25111 (gst_index_factory_finalize), (gst_index_factory_new),
25112 (gst_index_factory_destroy), (gst_index_factory_find),
25113 (gst_index_factory_create), (gst_index_factory_make):
25114 * gst/gstindexfactory.h:
25115 * gst/gstpluginfeature.c:
25116 * gst/gstpluginfeature.h:
25117 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25118 more docs inlined, splitted gstindex.{c,h}
25120 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25122 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25125 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
25127 * gst/elements/gstfilesink.c: (gst_file_sink_init):
25128 Set sync to FALSE by default.
25130 2005-09-20 Wim Taymans <wim@fluendo.com>
25132 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
25133 (gst_base_sink_init):
25134 Make sync property settable from subclass.
25136 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25137 (gst_fake_sink_change_state):
25138 Set sync to FALSE by default.
25140 2005-09-20 Wim Taymans <wim@fluendo.com>
25142 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
25143 * tools/gst-launch.c: (main):
25144 The timeout handler should have lower priority than the source
25145 so we don't timeout before popping a message with 0 timeout.
25146 Dump error messages after failed state change.
25148 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
25150 * tools/gst-inspect.c: (print_element_properties_info):
25153 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25155 * check/gst/gstevent.c:
25156 * gst/elements/gstfakesink.c:
25157 * gst/elements/gstfakesink.h:
25158 remove the sync property from fakesink.
25159 has the side effect of setting sync TRUE
25160 for fakesink, which is a change. Anyone who knows how
25161 to fix this nicely in a GObject-y way, feel free.
25163 2005-09-20 Stefan Kost <ensonic@users.sf.net>
25165 * docs/gst/gstreamer-docs.sgml:
25166 remove probe refsection
25168 2005-09-20 Stefan Kost <ensonic@users.sf.net>
25170 * check/Makefile.am:
25171 disable valgrinding the controller test again
25172 * docs/gst/gstreamer-sections.txt:
25173 update for api-changes
25175 2005-09-20 Wim Taymans <wim@fluendo.com>
25177 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
25178 (gst_base_sink_set_property), (gst_base_sink_get_property),
25179 (gst_base_sink_do_sync):
25180 * gst/base/gstbasesink.h:
25181 Added sync property to basesink to disable clock sync.
25183 2005-09-20 Andy Wingo <wingo@pobox.com>
25185 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
25186 eating the caller's refcount.
25188 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
25189 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
25192 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
25193 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
25194 of GLib 2.8 public, so we can know which refcount to check in
25197 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
25198 (gst_object_init): Only set the gst refcount if we're going ahead
25199 with the refcount hack.
25201 2005-09-20 Stefan Kost <ensonic@users.sf.net>
25203 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
25204 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25205 more leaks plumbed, added more debug-logging
25209 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25211 * gst/gstmessage.c:
25212 remove include of gstmemchunk.h
25214 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25216 * gst/gstclock.c: (_gst_clock_id_free):
25217 Commit from the Political Party For More Atomic CVS Commits,
25218 so that people don't waste too much of their day fishing
25219 out obvious leaks out of massive commits.
25220 Oh, and fix a pretty damn obvious leak in the memchunk
25223 2005-09-20 Stefan Kost <ensonic@users.sf.net>
25225 * check/Makefile.am:
25226 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
25227 plug mem-leak, re-add to valgrindable tests
25229 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25232 unbreak the build for those who have chronic arthritis
25233 and typing "make check" is just too taxing on the hands
25235 2005-09-20 Andy Wingo <wingo@pobox.com>
25237 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
25238 really want it out, you should fix plugins at the same time.
25240 2005-09-19 Stefan Kost <ensonic@users.sf.net>
25243 * docs/gst/gstreamer-sections.txt:
25245 added missing symbols to api docs
25246 disable ref-count hack if we have glib >= 2.8
25248 2005-09-19 David Schleef <ds@schleef.org>
25250 * docs/gst/Makefile.am: Ignore a few more internal headers
25251 * docs/gst/gstreamer-docs.sgml: Remove old sections
25252 * docs/gst/gstreamer-sections.txt: Remove old sections
25253 * docs/gst/tmpl/gstobject.sgml: update
25254 * docs/gst/tmpl/gstplugin.sgml: update
25255 * docs/gst/tmpl/gstpluginfeature.sgml: update
25256 * docs/random/ds/0.9-suggested-changes: update.
25257 * gst/Makefile.am: remove memchunk and trashstack, since they're
25259 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
25260 * gst/gst.h: don't include some headers
25261 * gst/gstchildproxy.c: add gstmarshal.h
25262 * gst/gstclock.c: Don't use memchunks
25263 * gst/gstminiobject.c: Add some docs
25264 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
25265 * gst/gstobject.h: same
25266 * gst/gstplugin.c: include gstmacros.h
25267 * gst/gstplugin.h: don't include gstmacros.h, since it's private
25268 * gst/gstquery.c: don't use memchunks
25269 * gst/gstregistry.c: rename gst_registry_deinit()
25270 * gst/gstregistry.h: same
25272 2005-09-19 David Schleef <ds@schleef.org>
25274 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
25275 * docs/libs/gstreamer-libs-sections.txt:
25276 * docs/libs/tmpl/gstgetbits.sgml:
25277 * docs/libs/tmpl/gstputbits.sgml:
25279 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
25281 * win32/gstenumtypes.c:
25282 * win32/gstenumtypes.h:
25285 2005-09-19 Wim Taymans <wim@fluendo.com>
25287 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
25288 Automatically PAUSE and RESUME a pipeline when a flushing seek
25291 2005-09-19 Andy Wingo <wingo@pobox.com>
25293 * gst/gstregistry.h: Spacing fixen.
25295 2005-09-19 Wim Taymans <wim@fluendo.com>
25297 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
25298 Handle state change failure more correctly.
25300 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
25302 * check/Makefile.am:
25303 * check/pipelines/cleanup.c: (run_pipeline):
25304 * check/pipelines/simple_launch_lines.c: (run_pipeline),
25306 enable cleanup again after fixing the leak
25308 some more info on docs
25310 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
25312 * check/Makefile.am:
25313 re-enable tests now that leaks are plugged
25315 * check/gst/gstbin.c:
25316 * check/gst/gstpipeline.c:
25317 add some more tests while fixing leaks
25318 * common/check.mak:
25319 make sure binaries are uptodate when valgrinding/gdbing
25321 * gst/gstelementfactory.c:
25322 remove a ref too many, and add a FIXME for when we get
25323 round to disposing of classes
25325 fix the refcounting when loading a plugin from a file and
25326 the code pretends that the pointer is the same even though
25327 of course it can change
25328 * gst/gstpluginfeature.c:
25329 unref plugins marked cached (a bit confusing as a name)
25330 as the docs state should be done
25331 various doc additions to explain refcounting
25332 * gst/gstregistry.c:
25333 * gst/gstregistryxml.c:
25336 2005-09-19 Wim Taymans <wim@fluendo.com>
25338 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
25339 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
25340 (send_messages), (GST_START_TEST), (gstbus_suite):
25341 * check/gst/gstpipeline.c: (GST_START_TEST):
25342 * check/pipelines/cleanup.c: (run_pipeline):
25343 * check/pipelines/simple_launch_lines.c: (run_pipeline),
25345 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
25346 (gst_bus_source_check), (gst_bus_source_dispatch),
25347 (gst_bus_create_watch), (gst_bus_add_watch_full),
25348 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
25350 * tools/gst-launch.c: (event_loop):
25351 * tools/gst-md5sum.c: (event_loop):
25352 GstBusHandler -> GstBusFunc, return value has the same meaning as
25353 any other GSource (FALSE == remove source).
25354 _add_watch() and _add_watch_full() now take a MessageType mask to
25355 only handle specific types of messages.
25356 _poll() returns the GstMessage instead of the message type to avoid
25358 _have_pending() takes a MessageType mask now too.
25359 Added testsuite for multiple bus watches.
25360 Fix testsuites and applications for new bus API.
25362 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
25364 * check/Makefile.am:
25365 mark a bunch of the tests as to fix until we fix them
25367 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
25369 * common/check.mak:
25370 use GST_PLUGIN settings for valgrind tests as well, so we're
25371 valgrinding the correct thing
25372 * gst/gst.c: (init_post):
25375 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
25377 * gst/gst.c: (init_post), (gst_deinit):
25378 * gst/gstelementfactory.c: (gst_element_factory_class_init),
25379 (gst_element_factory_finalize), (gst_element_factory_cleanup):
25380 * gst/gstindex.c: (gst_index_factory_class_init),
25381 (gst_index_factory_finalize):
25382 * gst/gstobject.c: (gst_object_dispose):
25383 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
25384 (gst_plugin_load_file), (gst_plugin_desc_free):
25385 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
25386 (gst_plugin_feature_finalize):
25387 * gst/gstregistry.c: (gst_registry_class_init),
25388 (gst_registry_init), (gst_registry_finalize),
25389 (gst_registry_get_default), (gst_registry_deinit):
25390 * gst/gstregistry.h:
25391 * gst/gstregistryxml.c: (load_feature), (load_plugin):
25392 various cleanups and memleak plugging. make valgrind is happy now.
25394 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
25396 * common/check.mak:
25397 add a check-valgrind target
25399 2005-09-18 David Schleef <ds@schleef.org>
25401 * tools/gst-inspect.c: Revert the GOption code.
25403 2005-09-17 David Schleef <ds@schleef.org>
25405 * check/Makefile.am: Fix environment variables.
25406 * check/gst/gstplugin.c: Fix for API changes.
25407 * tools/gst-inspect.c: Fix for API changes.
25408 * tools/gst-xmlinspect.c: Fix for API changes.
25409 * gst/gstelementfactory.c:
25412 * gst/gstpluginfeature.c:
25413 * gst/gstpluginfeature.h:
25414 * gst/gstregistry.c:
25415 * gst/gstregistry.h:
25416 * gst/gstregistryxml.c:
25417 * gst/gsttypefind.c:
25418 * gst/gsttypefindfactory.c:
25419 * gst/indexers/gstfileindex.c:
25420 * gst/indexers/gstmemindex.c:
25421 * gst/schedulers/Makefile.am:
25422 Change registry to keep track of both plugins and features,
25423 removing the feature tracking from plugins themselves.
25425 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
25427 * check/Makefile.am:
25428 * tools/gst-register.1.in:
25429 remove gst-register
25431 2005-09-15 David Schleef <ds@schleef.org>
25433 * check/gst/gstplugin.c:
25434 * gst/gstelementfactory.c:
25436 * gst/gstpluginfeature.c:
25437 * gst/gstregistry.c:
25438 Getting tired of debugging. Disabled all the unreffing of
25439 plugins and features, which fixes the segfaults, but of
25440 course leaks like crazy. At least playbin works.
25442 2005-09-15 David Schleef <ds@schleef.org>
25444 * check/gst/gstplugin.c: (register_check_elements),
25445 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
25447 * gst/elements/gsttypefindelement.c: Fix refcounting.
25448 * gst/gsttypefind.c:
25449 * gst/gsttypefindfactory.c:
25450 * gst/gsttypefindfactory.h:
25452 2005-09-15 David Schleef <ds@schleef.org>
25454 * gst/gstindex.c: get refcounting correct.
25455 * gst/gstregistry.c: Handle the case where a feature/plugin is
25458 2005-09-15 David Schleef <ds@schleef.org>
25460 * check/Makefile.am:
25461 * check/gst/gstplugin.c: Add test
25462 * gst/gstplugin.c: Fix problems noticed by testsuite
25464 * gst/gstregistry.c:
25465 * gst/gstregistry.h:
25467 2005-09-15 David Schleef <ds@schleef.org>
25469 * gst/gstplugin.c: Implement semi-decent recounting and locking
25470 in plugins and plugin features.
25472 * gst/gstpluginfeature.c:
25473 * gst/gstpluginfeature.h:
25474 * gst/gstregistry.c:
25476 2005-09-15 Michael Smith <msmith@fluendo.com>
25478 * gst/gstregistry.c: (gst_registry_get_feature_list):
25479 Implement this. Makes oggdemux work; decodebin still broken.
25481 2005-09-14 David Schleef <ds@schleef.org>
25483 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
25485 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
25486 * gst/check/Makefile.am:
25487 * libs/gst/controller/Makefile.am:
25488 * libs/gst/dataprotocol/Makefile.am:
25490 2005-09-14 David Schleef <ds@schleef.org>
25492 * configure.ac: Remove getbits library. Nothing uses it, and
25493 it should be in something like liboil if someone did want
25495 * libs/gst/Makefile.am:
25496 * libs/gst/getbits/Makefile.am:
25497 * libs/gst/getbits/gbtest.c:
25498 * libs/gst/getbits/getbits.c:
25499 * libs/gst/getbits/getbits.h:
25500 * libs/gst/getbits/gstgetbits_generic.c:
25501 * libs/gst/getbits/gstgetbits_i386.s:
25502 * libs/gst/getbits/gstgetbits_inl.h:
25504 2005-09-14 David Schleef <ds@schleef.org>
25506 * gst/Makefile.am: Dist glib-compat.h
25508 2005-09-14 David Schleef <ds@schleef.org>
25510 * configure.ac: Remove gst/registries, since it's no longer used.
25511 * gst/registries/Makefile.am:
25512 * gst/registries/gstlibxmlregistry.c:
25513 * gst/registries/gstlibxmlregistry.h:
25514 * gst/registries/gstxmlregistry.c:
25515 * gst/registries/gstxmlregistry.h:
25516 * gst/registries/registrytest.c:
25518 2005-09-14 David Schleef <ds@schleef.org>
25520 * gst/glib-compat.h:
25521 * gst/gstregistryxml.c:
25522 Convergence is near. Seriously.
25524 2005-09-14 David Schleef <ds@schleef.org>
25526 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25527 * gst/glib-compat.h:
25528 Attempt #4 to appease the buildbots.
25530 2005-09-14 David Schleef <ds@schleef.org>
25532 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25535 2005-09-14 David Schleef <ds@schleef.org>
25537 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25540 2005-09-14 David Schleef <ds@schleef.org>
25542 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
25545 2005-09-14 David Schleef <ds@schleef.org>
25547 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25548 * gst/glib-compat.h: Add some functions that are in newer versions
25549 of glib than we care to require.
25550 * gst/gstregistryxml.c: Use them.
25552 2005-09-14 David Schleef <ds@schleef.org>
25554 * po/POTFILES.in: remove gst-register.c
25556 2005-09-14 David Schleef <ds@schleef.org>
25558 * docs/gst/gstreamer-docs.sgml:
25559 * docs/gst/gstreamer-sections.txt:
25560 * docs/gst/gstreamer.types:
25561 * docs/gst/tmpl/gstelement.sgml:
25562 * docs/gst/tmpl/gstplugin.sgml:
25563 * docs/gst/tmpl/gstpluginfeature.sgml:
25564 Documentation updates for registry changes.
25566 2005-09-14 David Schleef <ds@schleef.org>
25568 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
25569 because we don't require glib-2.8.
25571 2005-09-14 David Schleef <ds@schleef.org>
25573 * gst/gstregistryxml.c: Added. Essentially moved out of the
25574 registries directory.
25576 2005-09-14 David Schleef <ds@schleef.org>
25578 * check/Makefile.am:
25579 * check/generic/states.c:
25583 * gst/gst_private.h:
25584 * gst/gstelementfactory.c:
25589 * gst/gstpluginfeature.c:
25590 * gst/gstpluginfeature.h:
25591 * gst/gstregistry.c:
25592 * gst/gstregistry.h:
25593 * gst/gstregistrypool.c: remove
25594 * gst/gstregistrypool.h: remove
25595 * gst/gsttypefind.c:
25596 * gst/gsttypefindfactory.c:
25598 * tools/Makefile.am:
25599 * tools/gst-compprep.c:
25600 * tools/gst-inspect.c:
25601 * tools/gst-register.c: remove
25602 * tools/gst-xmlinspect.c:
25603 Registry rewrite. Changes registry from being a file created
25604 by a tool into a simple cache file created automatically by
25605 libgstreamer. Removed gst-register (because it's no longer
25606 needed). Remove registry pools, because we only have one
25607 registry implementation (XML). Fix up other subsystems as
25610 2005-09-13 Michael Smith <msmith@fluendo.com>
25612 * gst/gstconfig.h.in:
25613 Don't Use windows linking attributes for MinGW. Fixes #316157
25615 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
25617 * gst/gstutils.c: (set_state_async_thread_func),
25618 (gst_element_set_state_async):
25619 Apparently people think it's better if this function doesn't
25620 try to set the state to whatever state was asked for on the first
25621 call to this function for any object. Seriously.
25623 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25625 * check/gst/gstpipeline.c: (GST_START_TEST):
25626 * docs/gst/gstreamer-sections.txt:
25627 * gst/gstutils.c: (set_state_async_thread_func),
25628 (gst_element_set_state_async):
25630 add a "gst_element_set_state_async" method that
25631 sets the state and starts a thread to make sure the state
25632 change completes as best as it can
25634 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25636 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
25637 codify design+behaviour in testsuite after discussion
25639 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25641 * docs/gst/tmpl/gstelement.sgml:
25642 * docs/manual/appendix-quotes.xml:
25644 * gst/gstelement.c: (gst_element_set_state):
25647 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
25649 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25650 (gst_base_transform_prepare_output_buf),
25651 (gst_base_transform_handle_buffer):
25652 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
25653 (gst_capsfilter_prepare_buf):
25654 Remove the requirement for sub-classes to call the parent
25655 implementation of prepare_output_buffer with a wrapper function.
25657 * gst/gsttaglist.h:
25658 * gst/gsttagsetter.h:
25659 Fix #define wrapper
25661 2005-09-11 Stefan Kost <ensonic@users.sf.net>
25663 * docs/gst/gstreamer-sections.txt:
25666 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25668 * docs/gst/gstreamer-sections.txt:
25669 * docs/gst/tmpl/gstelement.sgml:
25670 * docs/gst/tmpl/gstplugin.sgml:
25671 * gst/gstminiobject.c:
25673 docs now stop throwing warnings
25675 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25677 * docs/gst/gstreamer-sections.txt:
25678 * docs/gst/gstreamer.types:
25679 * docs/gst/tmpl/gstpad.sgml:
25680 * docs/gst/tmpl/gsttypes.sgml:
25681 * gst/base/gstadapter.h:
25682 * gst/base/gstbasesink.h:
25683 * gst/base/gstbasesrc.h:
25689 * gst/gstelement.h:
25691 * gst/gstmessage.h:
25693 * gst/gststructure.c:
25694 * gst/registries/gstlibxmlregistry.h:
25695 various documentation fixes
25697 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25699 * docs/gst/gstreamer-sections.txt:
25700 * docs/gst/tmpl/gstvalue.sgml:
25701 rearrange gstvalue section
25702 * gst/gstutils.c: (gst_element_state_get_name):
25704 * gst/gstvalue.c: (_gst_value_initialize):
25708 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
25710 * check/gst-libs/controller.c:
25711 Header include fix.
25712 * gst/base/gstbasetransform.c:
25713 (gst_base_transform_default_prepare_buf),
25714 (gst_base_transform_handle_buffer):
25715 * gst/base/gstbasetransform.h:
25716 Some more basetransform changes and fixes to enable sub-classes
25717 that modify buffer metadata only.
25718 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25719 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
25720 (gst_capsfilter_prepare_buf):
25721 If the output pad has fixed allowed caps and input buffers
25722 don't have any, set the fixed caps on outgoing buffers.
25724 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
25725 * check/elements/identity.c: (GST_START_TEST):
25726 Make the error a little clearer when the test fails because
25727 identity made a copy of the buffer.
25728 * docs/gst/gstreamer-sections.txt:
25729 New symbols in gstbasetransform.h
25730 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25731 (gst_base_transform_init), (gst_base_transform_transform_size),
25732 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25733 (gst_base_transform_default_prepare_buf),
25734 (gst_base_transform_get_unit_size),
25735 (gst_base_transform_buffer_alloc),
25736 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
25737 (gst_base_transform_change_state),
25738 (gst_base_transform_set_passthrough),
25739 (gst_base_transform_set_in_place),
25740 (gst_base_transform_is_in_place):
25741 * gst/base/gstbasetransform.h:
25742 Change BaseTransform to separate in_place operate from same_caps
25743 output. in_place implies that the element can perform the transform
25744 on incoming buffers in-place, even if the caps on the output are
25746 Sub-class elements can now implement special buffer allocation
25747 methods for outgoing buffers if they wish to.
25748 Big documentation addition.
25749 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
25750 * gst/elements/gstelements.c:
25751 Changes for basetransform modifications.
25752 * gst/elements/Makefile.am:
25753 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
25754 Compile fix. Extra debug output.
25756 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25758 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
25760 add tests for valid pad naming
25761 * gst/check/gstcheck.c: (gst_check_log_message_func),
25762 (gst_check_log_critical_func):
25764 remove printing of code, it is fragile when the code contains
25765 % and the line number is enough info
25766 * gst/check/gstcheck.h:
25767 * gst/gstpad.c: (gst_pad_template_new):
25770 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25773 say what CHECK flags we use
25774 * docs/libs/gstreamer-libs.types:
25775 * libs/gst/controller/Makefile.am:
25776 * libs/gst/controller/gst-controller.c:
25777 * libs/gst/controller/gst-controller.h:
25778 * libs/gst/controller/gst-helper.c:
25779 * libs/gst/controller/gst-interpolation.c:
25780 * libs/gst/controller/gstcontroller.c:
25781 * libs/gst/controller/gsthelper.c:
25782 * libs/gst/controller/gstinterpolation.c:
25783 * tools/gst-inspect.c: (print_plugin_info):
25784 we don't use dashes in header names
25786 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25788 * check/Makefile.am:
25789 * check/gst/.cvsignore:
25790 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
25791 (gst_pipeline_suite), (main):
25792 adding a test for pipelines and state changes
25793 * gst/gstutils.c: (get_state_func):
25795 * gstreamer.spec.in:
25798 2005-09-08 Michael Smith <msmith@fluendo.com>
25800 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
25801 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
25802 (gst_file_src_is_seekable), (gst_file_src_get_size),
25803 (gst_file_src_start):
25804 * gst/elements/gstfilesrc.h:
25805 Various fixes for unseekable, unmmapable, and non-normal files, so
25806 that fallback to read() rather than mmap() works.
25807 * gst/gstevent.c: (gst_event_new_newsegment):
25808 Allow newsegment events with segment_start == segment_end, as will
25809 correctly happen if you use filesrc on a zero-size file, for
25812 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
25814 * gst/gstplugin.c: (gst_plugin_load_file):
25815 Call g_module_close when we don't load the module
25817 * gst/registries/gstlibxmlregistry.c:
25818 (gst_xml_registry_get_property):
25819 Port leak fix from 0.8
25821 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25823 * docs/gst/gstreamer-docs.sgml:
25824 * docs/gst/tmpl/.cvsignore:
25825 * docs/gst/tmpl/gsttrace.sgml:
25826 * docs/gst/tmpl/gsttrashstack.sgml:
25829 * gst/gstelement.h:
25831 * gst/gstmessage.c:
25832 * gst/gstmessage.h:
25835 * gst/gsttaginterface.c:
25836 * gst/gsttaginterface.h:
25837 * gst/gsttaglist.c:
25838 * gst/gsttaglist.h:
25839 * gst/gsttagsetter.c:
25840 * gst/gsttagsetter.h:
25843 * gst/gsttrashstack.c:
25844 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
25845 inlined docs for gsttrace, gsttrashstack
25847 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25850 * gst/elements/gstbufferstore.h:
25851 * gst/elements/gsttypefindelement.c:
25852 * gst/elements/gsttypefindelement.h:
25854 * gst/gsttypefind.c:
25855 * gst/gsttypefind.h:
25856 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
25857 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
25858 (gst_type_find_factory_dispose),
25859 (gst_type_find_factory_unload_thyself),
25860 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
25861 (gst_type_find_factory_get_caps),
25862 (gst_type_find_factory_get_extensions),
25863 (gst_type_find_factory_call_function):
25864 * gst/gsttypefindfactory.h:
25865 * gst/registries/gstlibxmlregistry.c:
25866 * gst/registries/gstxmlregistry.c:
25867 splitted gsttypefind into gsttypefind, gsttypefindfactory
25869 2005-09-07 Andy Wingo <wingo@pobox.com>
25871 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
25872 condition whereby the pad's task function is entered before the
25873 pad_mode variable was set.
25875 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
25877 * gst/gstpad.c: (gst_pad_alloc_buffer):
25878 Catch misbehaving pad_alloc functions that don't
25879 set up caps and do it for them.
25881 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25883 * check/pipelines/simple_launch_lines.c: (run_pipeline):
25884 test for pipe!=NULL
25885 * docs/gst/tmpl/.cvsignore:
25886 * docs/gst/tmpl/gstmemchunk.sgml:
25887 * docs/gst/tmpl/gstparse.sgml:
25888 * docs/gst/tmpl/gsttaglist.sgml:
25889 * docs/gst/tmpl/gsttagsetter.sgml:
25890 * docs/gst/tmpl/gsttypefind.sgml:
25891 * docs/gst/tmpl/gsttypefindfactory.sgml:
25892 * gst/gstmemchunk.c:
25895 * gst/gsttaginterface.c:
25896 * gst/gsttypefind.c:
25897 * gst/gsttypefind.h:
25900 === release 0.9.2 ===
25902 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
25907 releasing 0.9.2, "South"
25909 2005-09-05 Andy Wingo <wingo@pobox.com>
25911 * gst/registries/gstxmlregistry.h:
25912 * gst/registries/gstxmlregistry.c: Um... resurrect...
25914 * gst/registries/gstxmlregistry.h:
25915 * gst/registries/gstxmlregistry.c: and update to newer API.
25916 Incidentally they should be a bit faster now that they don't have
25919 2005-09-05 Andy Wingo <wingo@pobox.com>
25921 * gst/registries/gstxmlregistry.h:
25922 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
25923 replaced by the libxml registry a while back
25925 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
25927 * docs/gst/tmpl/gstplugin.sgml:
25928 * gst/elements/gstelements.c:
25930 * gst/gstplugin.c: (gst_plugin_register_func),
25931 (gst_plugin_desc_copy), (gst_plugin_desc_free),
25932 (gst_plugin_get_source):
25934 * gst/registries/gstlibxmlregistry.c: (load_plugin),
25935 (gst_xml_registry_save_plugin):
25936 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
25937 (gst_xml_registry_save_plugin):
25938 * tools/gst-inspect.c: (print_plugin_info):
25939 add a "source" plugin description field, to represent the source
25940 module this plugin is a part of. By default GST_PLUGIN_DEFINE
25941 will set it to PACKAGE, which is automake's idea of the name of
25942 the source project.
25944 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
25949 * docs/Makefile.am:
25950 * docs/faq/Makefile.am:
25951 * docs/gst/tmpl/gstelement.sgml:
25952 * docs/gst/tmpl/gsttypes.sgml:
25953 * docs/htmlinstall.mak:
25954 * docs/manual/Makefile.am:
25955 * docs/pwg/Makefile.am:
25956 reorganize doc build a little
25957 split out docbook and gtk-doc stuff
25958 have two separate --enable's and enable them through autogen
25959 but disable by default in configure (to be similar to other
25961 * gstreamer.spec.in:
25962 clean up docs install
25980 translation updates
25982 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
25984 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
25987 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25988 (gst_fake_sink_change_state):
25989 Make state change function thread-safe.
25991 * gst/gstpad.c: (gst_pad_alloc_buffer):
25992 Set offset on generic buffer allocated by fallback.
25994 2005-09-03 Stefan Kost <ensonic@users.sf.net>
25996 * docs/gst/gstreamer-sections.txt:
25997 * docs/gst/tmpl/gstelement.sgml:
25999 * libs/gst/controller/gst-controller.c:
26000 (gst_controlled_property_set_interpolation_mode),
26001 (gst_controlled_property_new),
26002 (gst_controller_find_controlled_property):
26003 run the wingo-magic script against the docs
26005 2005-09-02 Stefan Kost <ensonic@users.sf.net>
26007 * docs/gst/gstreamer-docs.sgml:
26008 * docs/gst/gstreamer-sections.txt:
26009 * docs/gst/tmpl/.cvsignore:
26010 * docs/gst/tmpl/gstelementdetails.sgml:
26011 * docs/gst/tmpl/gstelementfactory.sgml:
26014 * gst/gstelementfactory.c:
26015 * gst/gstelementfactory.h:
26016 merged elementdetails docs into elementfactory docs
26019 2005-09-02 Andy Wingo <wingo@pobox.com>
26021 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
26022 consider this enum an enum and not a flags.
26024 2005-09-02 Stefan Kost <ensonic@users.sf.net>
26026 * docs/gst/gstreamer-docs.sgml:
26027 * docs/gst/tmpl/.cvsignore:
26028 * docs/gst/tmpl/gstghostpad.sgml:
26029 * docs/gst/tmpl/gstiterator.sgml:
26030 * docs/gst/tmpl/gstmacros.sgml:
26031 * docs/gst/tmpl/gstrealpad.sgml:
26032 * docs/gst/tmpl/gstregistry.sgml:
26033 * docs/gst/tmpl/gstregistrypool.sgml:
26034 * docs/gst/tmpl/gststructure.sgml:
26035 * docs/gst/tmpl/gstsystemclock.sgml:
26036 * docs/gst/tmpl/gsttrace.sgml:
26037 * gst/gstghostpad.c:
26039 * gst/gstmemchunk.c:
26040 * gst/gstmemchunk.h:
26042 * gst/gstregistry.c:
26043 * gst/gstregistrypool.c:
26044 * gst/gststructure.c:
26045 * gst/gstsystemclock.c:
26048 2005-09-02 Andy Wingo <wingo@pobox.com>
26050 * gst/gstelement.h (GstState): Renamed from GstElementState,
26051 changed to be a normal enum instead of flags.
26052 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
26053 munged to be GST_STATE_CHANGE_*.
26054 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
26055 work with the new state representation.
26056 (GstStateChange): New enumeration of possible state transitions.
26057 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
26058 (GstElementClass::change_state): Pass the GstStateChange along as
26059 an argument. Helps language bindings, so they don't have to use
26060 tricky lock-needing macros like GST_STATE_CHANGE ().
26062 * scripts/update-states (file): New script. Run it on a file to
26063 update it for state naming and API changes. Updates files in
26066 * All files updated for the new API.
26068 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
26070 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
26071 * gst/gstutils.c: (gst_util_set_value_from_string),
26072 (gst_util_set_object_arg):
26073 fix a bunch of unchecked return values
26074 * tools/gst-complete.c: (main):
26075 * gstreamer.spec.in:
26078 2005-09-01 Wim Taymans <wim@fluendo.com>
26080 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26081 (gst_base_sink_event), (gst_base_sink_do_sync),
26082 (gst_base_sink_handle_event):
26083 * gst/base/gstbasesink.h:
26084 Handle newsegments more correctly.
26089 * gst/gstevent.c: (gst_event_new_newsegment):
26090 A newsegment cannot have a start_time of -1
26092 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
26094 * win32/gstenumtypes.c:
26095 * win32/gstenumtypes.h:
26098 2005-08-31 Stefan Kost <ensonic@users.sf.net>
26100 * libs/gst/controller/gst-controller.c:
26101 (gst_controlled_property_set_interpolation_mode),
26102 (gst_controlled_property_new):
26103 fixed boolean again
26105 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
26107 * docs/faq/gst-uninstalled:
26112 * gst/gstutils.c: (gst_element_link_filtered):
26114 add gst_element_link_filtered
26116 2005-08-31 Stefan Kost <ensonic@users.sf.net>
26118 * docs/gst/gstreamer-docs.sgml:
26119 * docs/gst/gstreamer-sections.txt:
26120 * docs/gst/tmpl/.cvsignore:
26121 * docs/gst/tmpl/gsterror.sgml:
26122 * docs/gst/tmpl/gstfilter.sgml:
26123 * docs/gst/tmpl/gsturihandler.sgml:
26124 * docs/gst/tmpl/gsturitype.sgml:
26125 * docs/gst/tmpl/gstutils.sgml:
26126 * docs/gst/tmpl/gstxml.sgml:
26131 * gst/gsturitype.c:
26134 inlined more docs, fixed double id-ref
26136 2005-08-31 Wim Taymans <wim@fluendo.com>
26138 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
26139 (gst_base_transform_handle_buffer):
26140 Passthrough elements don't need the caps as they don't care.
26142 2005-08-31 Wim Taymans <wim@fluendo.com>
26144 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
26145 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
26146 Don't leak refcounts on buffers.
26148 2005-08-31 Wim Taymans <wim@fluendo.com>
26150 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
26151 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
26152 (gst_base_transform_chain), (gst_base_transform_change_state):
26153 * gst/base/gstbasetransform.h:
26154 Handle the case where we are not negotiated more gracefully.
26156 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
26158 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
26159 (gst_file_src_map_region):
26160 Set READONLY flag on mmap'ed buffers, otherwise
26161 gst_buffer_make_writable() won't work properly (#314708).
26163 2005-08-31 Wim Taymans <wim@fluendo.com>
26165 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
26166 passthrough elements can even do inplace on non writable
26167 buffers (as they don't touch them).
26169 2005-08-31 Stefan Kost <ensonic@users.sf.net>
26171 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
26172 (gst_test_mono_source_set_property),
26173 (gst_test_mono_source_class_init), (GST_START_TEST),
26174 (gst_controller_suite):
26175 more tests (hehe I have the most)
26177 describe popping messages whenusing mulltiple sources
26178 * libs/gst/controller/gst-controller.c:
26179 (gst_controlled_property_set_interpolation_mode),
26180 (gst_controlled_property_new):
26181 * libs/gst/controller/gst-controller.h:
26182 * libs/gst/controller/gst-interpolation.c:
26183 implement boolean properties
26185 2005-08-31 Wim Taymans <wim@fluendo.com>
26187 * gst/gstminiobject.c: (gst_mini_object_ref):
26188 Cannot assert that the refcount has to be positive
26189 since a disposed object can be resurrected.
26191 2005-08-31 Wim Taymans <wim@fluendo.com>
26193 * gst/gstpad.c: (gst_pad_init):
26194 Revert change, need to first fix badly behaving
26197 2005-08-30 Wim Taymans <wim@fluendo.com>
26199 * check/elements/fakesrc.c: (setup_fakesrc):
26200 * check/elements/identity.c: (setup_identity):
26201 Activate pads before using them.
26203 2005-08-30 Wim Taymans <wim@fluendo.com>
26205 * gst/base/gstadapter.c: (gst_adapter_flush):
26206 Flushing out 0 bytes is ok for this function.
26208 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26209 no newsegment gives a warning and sets the start/stop to
26212 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
26213 (gst_base_transform_set_passthrough):
26216 * gst/gstminiobject.c: (gst_mini_object_ref):
26217 Check refcount here too.
26219 * gst/gstpad.c: (gst_pad_init):
26220 Pads are initially flushing and refusing data.
26222 * gst/gstutils.c: (gst_element_link_pads_filtered):
26223 When adding a capsfilter element make sure it has the
26224 same state as the parent bin.
26226 2005-08-30 Stefan Kost <ensonic@users.sf.net>
26228 * docs/gst/tmpl/.cvsignore:
26229 * docs/gst/tmpl/gstformat.sgml:
26230 * docs/gst/tmpl/gstversion.sgml:
26234 * gst/gstversion.h.in:
26235 more docs and two more inlined
26237 2005-08-30 Wim Taymans <wim@fluendo.com>
26239 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
26240 Don't sync to clock.
26242 2005-08-30 Stefan Kost <ensonic@users.sf.net>
26244 * docs/gst/gstreamer-sections.txt:
26245 ultral33t func10ns deserve to appear in the docs actually
26246 * docs/gst/tmpl/.cvsignore:
26247 * docs/gst/tmpl/gstcompat.sgml:
26248 * docs/gst/tmpl/gstconfig.sgml:
26249 * gst/check/gstcheck.c:
26251 * gst/gstconfig.h.in:
26254 2005-08-30 Stefan Kost <ensonic@users.sf.net>
26256 * docs/gst/tmpl/.cvsignore:
26257 * docs/gst/tmpl/gstquery.sgml:
26258 * docs/gst/tmpl/gstutils.sgml:
26261 inlined and extended docs
26263 2005-08-30 Stefan Kost <ensonic@users.sf.net>
26265 * check/gst-libs/controller.c: (GST_START_TEST),
26266 (gst_controller_suite):
26268 * docs/gst/tmpl/gstutils.sgml:
26269 * docs/libs/gstreamer-libs-sections.txt:
26270 * docs/libs/tmpl/gstdataprotocol.sgml:
26272 * examples/controller/audio-example.c: (main):
26273 controller example works now
26276 * tools/gst-inspect.c: (print_element_properties_info):
26277 show param spec flags
26279 2005-08-29 Andy Wingo <wingo@pobox.com>
26281 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
26283 2005-08-28 Andy Wingo <wingo@pobox.com>
26285 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
26286 as having two arguments instead of just one. Allows superclasses
26287 to access information on subclasses -- see the terrible for() loop
26288 in gtype.c:g_type_create_instance for the reason why. All callers
26291 2005-08-27 Stefan Kost <ensonic@users.sf.net>
26293 * docs/design/part-messages.txt:
26295 * docs/gst/tmpl/.cvsignore:
26296 * docs/gst/tmpl/gstcaps.sgml:
26297 * docs/gst/tmpl/gstclock.sgml:
26303 * gst/gstmessage.c:
26304 added descriptions for bus and message
26305 inline caps and clock docs
26307 2005-08-27 Stefan Kost <ensonic@users.sf.net>
26309 * gst/gstmessage.c:
26310 * gst/gstmessage.h:
26313 2005-08-27 Stefan Kost <ensonic@users.sf.net>
26315 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
26318 2005-08-26 Andy Wingo <wingo@pobox.com>
26320 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
26321 element_set_state's return val.
26322 (test_2_elements): Add test that's been disabled for months.
26324 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
26325 can-activate-pull properties.
26327 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
26328 can-activate-pull properties. Implement is_seekable so fakesrc can
26329 operate in pull mode.
26331 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
26333 (gst_base_sink_activate, gst_base_sink_activate_pull)
26334 (gst_base_sink_activate_push): Make activation mode choosing work.
26336 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
26337 is right. Make pull mode work. Post an eos before pausing in pull
26339 (gst_base_sink_change_state): Pay attention to the core's
26340 change_state() return val.
26342 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
26343 has-getrange properties. Cleanups.
26345 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
26346 has_getrange and replace with can_activate_pull and
26349 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
26350 locking comments. Remove has_loop, has_chain and replace with
26351 can_activate_pull and can_activate_push.
26353 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
26356 * examples/Makefile.am:
26357 * examples/metadata/Makefile.am:
26358 * examples/metadata/read-metadata.c: (message_loop),
26359 (have_pad_handler), (make_pipeline), (print_tag), (main):
26360 Add metadata reading example that loops over a list of filenames,
26361 dumping any tags found.
26363 * gst/gstbus.c: (gst_bus_dispose):
26364 * gst/gstelement.c: (gst_element_dispose):
26365 Release a few potentially-held references in dispose.
26367 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26369 * docs/gst/tmpl/gstminiobject.sgml:
26370 do *not* add tmpl/*.sgml files to CVS!
26372 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26374 * libs/gst/bytestream/.cvsignore:
26375 * libs/gst/bytestream/Makefile.am:
26376 * libs/gst/bytestream/adapter.c:
26377 * libs/gst/bytestream/adapter.h:
26378 * libs/gst/bytestream/bytestream.c:
26379 * libs/gst/bytestream/bytestream.h:
26380 * libs/gst/bytestream/filepad.c:
26381 * libs/gst/bytestream/filepad.h:
26382 removing obsolete files
26384 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26386 * docs/gst/gstreamer-docs.sgml:
26387 * docs/libs/gstreamer-libs-docs.sgml:
26388 disabed additional index entries again, as this makes docs-gen just
26389 slow and they aren't useful yet
26390 * docs/libs/gstreamer-libs-sections.txt:
26391 little -section.txt cleanup for libs
26393 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
26395 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26396 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
26397 fix up some debugging
26398 (gst_base_transform_get_unit_size),
26399 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
26400 (gst_base_transform_handle_buffer):
26401 * gst/base/gstbasetransform.h:
26402 handle and store timed NEWSEGMENT events so that subclasses that
26403 calculate time by counting samples have a segment_start time they
26404 need to add to their timestamps - see audioresample
26406 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26409 removed ';' from the end of macro defs
26410 * docs/gst/gstreamer-docs.sgml:
26411 * docs/gst/gstreamer-sections.txt:
26412 * docs/gst/tmpl/.cvsignore:
26414 * gst/gstelement.c: (gst_element_class_init),
26415 (gst_element_set_state), (activate_pads),
26416 (gst_element_save_thyself):
26417 * gst/gstevent.c: (gst_event_new_newsegment):
26419 * gst/gstiterator.c:
26420 * gst/gstiterator.h:
26423 * gst/gstutils.c: (gst_pad_query_convert):
26425 fixed parameter name mismatches between source, header and docs
26426 added some more docs, resolved the last batch of unused elements in
26427 docs (now someone needs to doc them)
26429 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26431 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
26432 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
26433 don't walk through the plugins backwards. Where is all this
26434 reversed logic coming from ?
26436 2005-08-25 Wim Taymans <wim@fluendo.com>
26438 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26439 (gst_base_transform_transform_size),
26440 (gst_base_transform_configure_caps),
26441 (gst_base_transform_get_unit_size),
26442 (gst_base_transform_buffer_alloc),
26443 (gst_base_transform_change_state):
26444 * gst/base/gstbasetransform.h:
26445 Cache caps unit_size.
26446 Make sure we cannot negotiate up and downstream at the
26449 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26451 * gst/gst.c: (init_pre), (init_post):
26452 register the installed plugin path after the env var
26453 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
26454 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
26455 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
26456 directories, so the tests can prefer uninstalled over installed
26458 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26460 * gst/base/gstbasetransform.h:
26465 2005-08-25 Wim Taymans <wim@fluendo.com>
26467 * gst/gstbin.c: (bin_bus_handler):
26468 Be a bit more conservative about the posted message.
26470 * gst/gstbus.c: (gst_bus_post):
26471 Some cleanups, warn wrong return values.
26473 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
26475 * check/gst/gstbin.c: (GST_START_TEST):
26476 * gst/gstbin.c: (bin_bus_handler):
26477 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26478 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26479 (gst_message_new_warning), (gst_message_new_tag),
26480 (gst_message_new_state_changed), (gst_message_new_segment_start),
26481 (gst_message_new_segment_done), (gst_message_new_custom):
26482 * gst/gstmessage.h:
26483 * tools/gst-launch.c: (event_loop):
26484 * tools/gst-md5sum.c: (event_loop):
26485 Revert unpopular change for GST_MESSAGE_SRC to GObject.
26487 2005-08-25 Wim Taymans <wim@fluendo.com>
26489 * check/generic/states.c: (GST_START_TEST):
26490 Cleanup can be done at the end.
26492 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
26493 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26494 (gst_task_get_state), (gst_task_start), (gst_task_pause):
26495 Oh boy.. Thanks for finding this, Thomas.
26497 2005-08-25 Stefan Kost <ensonic@users.sf.net>
26499 * docs/gst/gstreamer.types:
26500 added missing types
26502 2005-08-25 Stefan Kost <ensonic@users.sf.net>
26504 * docs/gst/gstreamer-docs.sgml:
26505 * docs/gst/gstreamer-sections.txt:
26506 * docs/gst/tmpl/.cvsignore:
26508 * gst/gstiterator.c:
26510 * gst/registries/gstxmlregistry.h:
26511 added missing classes and symbols (123 more to go)
26512 removed removed symbols from section file
26513 fixed many doc-comments
26515 2005-08-24 Wim Taymans <wim@fluendo.com>
26517 * check/generic/states.c: (GST_START_TEST):
26518 Make sure all tasks are stopped.
26520 * check/gst/gstbin.c: (GST_START_TEST):
26521 Unref after usage for proper valgrinding.
26523 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
26524 Really wait for the task to stop before destroying the
26527 * gst/gstqueue.c: (gst_queue_sink_activate_push),
26528 (gst_queue_src_activate_push):
26529 Small cleanups. Don't stop the task when we did not start
26532 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
26533 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26534 (gst_task_get_state), (gst_task_start), (gst_task_pause),
26537 Protect the stream lock with the object lock.
26538 Disallow setting the stream lock when running.
26539 Add cleanup_all to wait for the threadpool to finish.
26540 Remove code to autoallocate a mutex if none was provided.
26541 Add _join() to wait for a task to stop.
26542 Protect the thread pool with a global lock.
26544 2005-08-24 Wim Taymans <wim@fluendo.com>
26546 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26547 (gst_base_sink_get_times), (gst_base_sink_do_sync),
26548 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
26549 * gst/base/gstbasesink.h:
26550 Handle newsegment events correctly.
26551 Drop buffers out of the segment range.
26553 2005-08-22 Andy Wingo <wingo@pobox.com>
26555 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
26556 macro, implements an interface and gstimplementsinterface for a
26559 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
26561 * check/Makefile.am:
26562 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
26563 add a test that does a bunch of state changes on elements
26564 needs some fixing for valgrind
26565 * check/states/sinks.c: (gst_object_suite):
26568 add prototype for gst_caps_is_equal_fixed
26570 * gst/gstregistrypool.c:
26573 2005-08-24 Andy Wingo <wingo@pobox.com>
26575 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
26576 convert a negative value. Doesn't make much sense. Mostly this is
26577 here to force callers to ensure -1 maps to -1.
26579 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
26581 * docs/pwg/advanced-types.xml:
26582 Well done to Michael for catching my deliberate introduction
26583 of this spelling mistake.
26584 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
26585 * gst/gstelement.h:
26586 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
26587 unlink pads before removing the element from the bin.
26589 2005-08-24 Andy Wingo <wingo@pobox.com>
26591 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
26592 the same thing as GST_DEBUG=*:4.
26593 (parse_debug_level, parse_debug_category): New helper parsers.
26595 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
26597 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26598 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
26599 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
26600 (gst_base_transform_buffer_alloc),
26601 (gst_base_transform_handle_buffer):
26602 use gboolean return values and pointers to size so we can use the
26603 full GST_BUFFER_SIZE range (guint) for buffer sizes
26604 use GstPadDirection for transform_caps
26605 * gst/base/gstbasetransform.h:
26606 rename get_size to get_unit_size since that's what it is
26607 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
26608 use GstPadDirection for transform_caps
26609 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26611 cleanup and debugging
26613 2005-08-24 Stefan Kost <ensonic@users.sf.net>
26615 * gst/gstelement.c: (gst_element_class_init),
26616 (gst_element_set_state), (activate_pads),
26617 (gst_element_save_thyself):
26618 * tools/gst-compprep.c: (main):
26619 * tools/gst-inspect.c: (print_element_properties_info):
26620 * tools/gst-xmlinspect.c: (print_element_properties):
26621 Fixed long standing mem-leak
26623 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
26625 * check/gst/gstbin.c: (GST_START_TEST):
26626 * gst/gstbin.c: (bin_bus_handler):
26627 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26628 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26629 (gst_message_new_warning), (gst_message_new_tag),
26630 (gst_message_new_state_changed), (gst_message_new_segment_start),
26631 (gst_message_new_segment_done), (gst_message_new_custom):
26632 * gst/gstmessage.h:
26633 * tools/gst-launch.c: (event_loop):
26634 * tools/gst-md5sum.c: (event_loop):
26635 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
26636 that applications can sensibly post custom messages with references
26637 to their own objects.
26639 2005-08-24 Andy Wingo <wingo@pobox.com>
26641 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
26644 2005-08-24 Wim Taymans <wim@fluendo.com>
26646 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26647 (gst_base_transform_transform_caps),
26648 (gst_base_transform_transform_size),
26649 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26650 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26651 (gst_base_transform_handle_buffer):
26652 * gst/base/gstbasetransform.h:
26653 Many fixes and new features added by Thomas. Can now also do
26654 transforms with variable sizes and a custom fixate_caps function.
26656 2005-08-24 Wim Taymans <wim@fluendo.com>
26658 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26662 Cast to ClockTime before formatting to time.
26667 2005-08-24 Stefan Kost <ensonic@users.sf.net>
26669 * check/gst-libs/controller.c: (GST_START_TEST),
26670 (gst_controller_suite):
26671 * docs/gst/tmpl/gstcaps.sgml:
26672 * docs/gst/tmpl/gstghostpad.sgml:
26673 * docs/gst/tmpl/gstquery.sgml:
26674 * docs/gst/tmpl/gstutils.sgml:
26675 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
26676 (gst_object_sink_values), (gst_object_get_value_arrays),
26677 (gst_object_get_value_array):
26678 gracefully handle helper method calls to objects that are not beeing
26679 controlled, added test case for that
26681 2005-08-23 Wim Taymans <wim@fluendo.com>
26683 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
26684 (gst_event_new_newsegment), (gst_event_parse_newsegment),
26685 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
26686 (gst_event_parse_qos), (gst_event_new_seek),
26687 (gst_event_parse_seek):
26689 Some more debugging output and doc cleanups.
26691 * gst/gstqueue.c: (gst_queue_handle_sink_event):
26692 Fix possible deadlock.
26694 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26696 * docs/gst/gstreamer-docs.sgml:
26697 * docs/gst/gstreamer-sections.txt:
26698 * docs/gst/gstreamer.types:
26699 * docs/gst/tmpl/.cvsignore:
26702 * gst/gstelement.c:
26704 added 100 symbols from gstreamer-unused.txt to the right sections
26705 fixed more broken comments
26706 added GstBus to docs
26708 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26710 * docs/gst/gstreamer-sections.txt:
26711 * docs/gst/tmpl/.cvsignore:
26712 * docs/gst/tmpl/gstbin.sgml:
26713 * docs/gst/tmpl/gstbuffer.sgml:
26714 * gst/base/gstbasesrc.c:
26715 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
26718 * tools/gst-launch.1.in:
26719 inlined more doc comments, added missing comments and fixed comments
26722 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
26724 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26728 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
26730 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
26731 * gst/gststructure.h:
26732 add a fixate function for booleans; add a FIXME that these func
26733 names should probably be gst_structure_fixate_*
26735 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26737 * docs/gst/gstreamer-docs.sgml:
26738 * docs/gst/gstreamer-sections.txt:
26740 * gst/gstbin.c: (gst_bin_get_type),
26741 (gst_bin_child_proxy_get_child_by_index),
26742 (gst_bin_child_proxy_get_children_count),
26743 (gst_bin_child_proxy_init):
26744 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
26745 (gst_child_proxy_get_child_by_index),
26746 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
26747 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
26748 (gst_child_proxy_get), (gst_child_proxy_set_property),
26749 (gst_child_proxy_set_valist), (gst_child_proxy_set),
26750 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
26751 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
26752 * gst/gstchildproxy.h:
26753 * gst/parse/grammar.y:
26754 * tools/gst-inspect.c: (print_interfaces),
26755 (print_element_properties_info), (print_element_info):
26756 ported gstchildproxy over from 0.8
26757 ported gst-inspect fixes and enhancements over from 0.8
26759 2005-08-22 Wim Taymans <wim@fluendo.com>
26761 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26762 (gst_base_transform_handle_buffer):
26763 Also call the transform function if we have ANY caps.
26765 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
26768 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
26770 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
26771 Don't pretend to handle seek events if the source is not seekable
26773 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
26775 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26776 Remove extra parameter to debug output
26778 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26779 (gst_base_src_do_seek), (gst_base_src_activate_push):
26780 Fix seek event handling.
26782 * gst/gstpipeline.c: (gst_pipeline_change_state):
26783 * gst/gstqueue.c: (gst_queue_handle_sink_event),
26784 (gst_queue_src_activate_push):
26785 Don't start the src pad task on FLUSH_STOP if the pad
26789 2005-08-22 Wim Taymans <wim@fluendo.com>
26791 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
26792 Added check for gst_static_caps_get() refcounting.
26794 2005-08-22 Wim Taymans <wim@fluendo.com>
26796 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
26797 Make _static_caps_get() refcounting sane.
26799 * gst/gstelement.c: (gst_element_set_state):
26800 Add g_return_val_if_fail() to protect against segfaults.
26802 2005-08-22 Stefan Kost <ensonic@users.sf.net>
26804 * docs/gst/tmpl/gstevent.sgml:
26807 inlined remaining docs, added missing doc comments
26809 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
26811 * check/gst/gstbin.c: (GST_START_TEST):
26812 since we don't know when preroll is done, use refcount range
26814 * gst/check/gstcheck.h:
26815 add macro for checking refcount range
26817 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
26819 * check/Makefile.am:
26820 clean up environment for when registry gets built versus
26821 when actual tests are run; valgrind seems to not report
26822 leaks if GST_PLUGIN_PATH is set to some specific values
26823 * check/gst/gstbin.c: (GST_START_TEST):
26824 add more refcounting checks; maybe this exposes a
26826 * common/check.mak:
26827 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26828 * gst/check/gstcheck.h:
26829 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
26830 (gst_bin_change_state):
26831 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
26832 add/fix debugging/whitespace
26834 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
26836 * check/gst/gstevent.c: (event_probe), (test_event),
26838 Er, don't call gst_bin_watch_for_state_change you idiot.
26840 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
26842 * check/Makefile.am:
26843 Use CHECK_CFLAGS and CHECK_LIBS
26844 * check/gst/gstevent.c: (event_probe), (test_event),
26847 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26848 (gst_base_src_start), (gst_base_src_stop),
26849 (gst_base_src_activate_push), (gst_base_src_activate_pull),
26850 (gst_base_src_change_state):
26851 Sprinkle gst_base_src_stop liberally around error paths to fix
26852 problems reusing a source after failed state changes.
26853 * gst/base/gsttypefindhelper.c: (helper_find_peek),
26854 (helper_find_suggest), (gst_type_find_helper):
26855 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
26857 * docs/gst/tmpl/gstevent.sgml:
26858 Migrate part of the docs from the SGML file. Wait for ensonic to
26859 tell me how I did it wrong ;)
26860 * tools/gst-typefind.c: (main):
26861 Extra robustness to state changes between files.
26863 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
26865 * check/Makefile.am:
26866 don't valgrind the controller test - it's leaking - Stefan, HELP
26867 * gst/check/gstcheck.c: (gst_check_message_error),
26868 (gst_check_chain_func), (gst_check_setup_element),
26869 (gst_check_teardown_element), (gst_check_setup_src_pad),
26870 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
26871 (gst_check_teardown_sink_pad):
26872 * gst/check/gstcheck.h:
26873 add a bunch of methods to set up elements, and src and sink pads
26874 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
26875 * check/elements/identity.c: (setup_identity), (cleanup_identity),
26878 * gst/gstmessage.c:
26880 whitespace/doc fixes
26882 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26884 * gst/gstelement.h:
26885 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
26886 be handled by the application and not always printed as well
26888 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26890 * check/Makefile.am:
26892 * gst/check/gstcheck.c: (gst_check_message_error):
26893 * gst/check/gstcheck.h:
26894 add a fail_unless_equals_int
26895 add fail_unless for error messages
26897 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26899 * check/Makefile.am:
26901 * common/Makefile.am:
26902 * common/check.mak:
26904 factor out some of the common stuff so we can use it
26906 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26908 * check/Makefile.am:
26909 * check/gst/gstiterator.c: (GST_START_TEST):
26910 * check/gst/gstsystemclock.c: (GST_START_TEST),
26911 (gst_systemclock_suite):
26912 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26914 valgrind more tests
26916 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26918 * check/elements/.cvsignore:
26919 * check/elements/gstfakesrc.c:
26920 rename to name of element
26921 * check/elements/identity.c: (chain_func), (event_func),
26922 (setup_identity), (cleanup_identity), (GST_START_TEST),
26923 (identity_suite), (main):
26924 add a test for identity
26925 * check/Makefile.am:
26926 * pkgconfig/Makefile.am:
26927 * pkgconfig/gstreamer-check.pc.in:
26928 * pkgconfig/gstreamer-check-uninstalled.pc.in:
26932 move the check stuff to a library that gets installed
26933 * check/gst-libs/controller.c: (GST_START_TEST):
26934 * check/gst-libs/gdp.c:
26935 * check/gst/gst.c: (GST_START_TEST):
26936 * check/gst/gstbin.c:
26937 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26938 * check/gst/gstbus.c:
26939 * check/gst/gstcaps.c: (GST_START_TEST):
26940 * check/gst/gstelement.c:
26941 * check/gst/gstghostpad.c:
26942 * check/gst/gstiterator.c:
26943 * check/gst/gstmessage.c:
26944 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
26945 * check/gst/gstobject.c:
26946 * check/gst/gstpad.c: (GST_START_TEST):
26947 * check/gst/gststructure.c: (GST_START_TEST):
26948 * check/gst/gstsystemclock.c: (GST_START_TEST),
26949 (gst_systemclock_suite):
26950 * check/gst/gsttag.c: (gst_tag_suite):
26951 * check/gst/gstvalue.c:
26952 * check/pipelines/cleanup.c:
26953 * check/pipelines/simple_launch_lines.c:
26954 * check/states/sinks.c:
26955 change include statement
26957 * docs/gst/gstreamer-sections.txt:
26958 * docs/gst/tmpl/gstpad.sgml:
26959 document more pad stuff
26960 * gst/gstminiobject.c: (gst_mini_object_ref),
26961 (gst_mini_object_unref):
26964 2005-08-19 Stefan Kost <ensonic@users.sf.net>
26966 * docs/gst/tmpl/gst.sgml:
26968 eliminate another tmpl file, fix spelling in the long-description
26970 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26972 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26973 (test_event), (timediff), (gstevents_suite):
26974 Should fix build on 64-bit arch's
26976 2005-08-18 Andy Wingo <wingo@pobox.com>
26978 Make sure that when a pipeline goes to PLAYING, that data has
26979 actually hit the sink.
26981 * check/states/sinks.c (test_sink): A sink that doesn't get any
26982 data shouldn't return SUCCESS for going to either PLAYING or
26983 PAUSED. Test also the return values on the way back down.
26985 * gst/gstelement.c (gst_element_set_state): When changing the
26986 state of an element currently changing state asynchronously, go to
26987 lost-state after commiting the pending state. Makes future calls
26988 to get_state continue to return ASYNC.
26990 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
26991 ASYNC when going to PLAYING if we still don't have preroll, as can
26992 happen with live sources.
26994 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26996 * docs/pwg/advanced-types.xml:
26997 Hack long paragraph into 2 chunks as a workaround for buggy
26998 jadetex version in sid and breezy that loops infinitely and
27001 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
27003 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
27004 (test_event), (timediff), (gstevents_suite):
27005 Provide more error margin in clock measurements to allow for
27006 g_get_current_time inaccuracies.
27008 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
27010 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
27011 (test_event), (timediff), (gstevents_suite):
27012 Fix error message output so I might be able to tell why the
27013 test works here but fails on the build farm.
27015 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
27017 * check/Makefile.am:
27018 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
27019 (test_event), (timediff), (gstevents_suite), (main):
27022 * docs/design/part-seeking.txt:
27023 Spelling correction
27025 * docs/gst/tmpl/gstevent.sgml:
27026 * docs/gst/tmpl/gstfakesrc.sgml:
27029 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
27030 Treat a buffer-without-newsegment the same as a receiving
27031 a newsegment not in time format, and disable syncing to the clock
27034 * gst/gstbus.c: (gst_bus_set_sync_handler):
27035 Assert if anyone tries to replace the existing sync_handler for bus,
27036 as only the owner should be setting it.
27039 Have a fixed set of custom event enums with events identified by
27040 their structure name (as in 0.8), rather than a free-for-all
27041 allowing collisions between enum values from different plugins.
27043 * gst/gstpad.c: (gst_pad_class_init):
27046 * gst/gstqueue.c: (gst_queue_handle_sink_event):
27047 Handle out-of-band downstream events from the sending thread.
27049 2005-08-17 Andy Wingo <wingo@pobox.com>
27051 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
27052 play-timeout==0 to mean no timeout at all. In that case, don't
27053 bother with a get_state or a warning, just return directly, even
27056 * gst/base/gstbasetransform.c: Debug changes.
27059 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
27060 ensure bins post state change messages. A bit of a hack but I can't
27061 think of a way to avoid it.
27063 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
27065 2005-08-16 Andy Wingo <wingo@pobox.com>
27067 * gst/base/gstadapter.h:
27068 * gst/base/gstadapter.c (gst_adapter_take): New function, like
27069 peek() but you own the data. Not terribly efficient atm.
27071 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27073 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
27074 (gst_element_found_tags):
27076 Add two utility functions for tag handling.
27078 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27080 * docs/manual/advanced-dataaccess.xml:
27081 * docs/manual/basics-helloworld.xml:
27082 Fix docs to use _bin_add() before _link(), which fixes the examples
27083 with recent core versions (reported by Madhan Raj M
27084 <raj_madan@rediffmail.com>, #313199).
27086 2005-08-16 Wim Taymans <wim@fluendo.com>
27088 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
27089 Added subtract checks.
27091 * docs/design/part-events.txt:
27092 Some more docs about newsegment
27094 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
27097 * gst/gstcaps.c: (gst_caps_to_string):
27098 Add comments, cleanups.
27100 * gst/gstelement.c: (gst_element_save_thyself):
27103 * gst/gstvalue.c: (gst_value_collect_int_range),
27104 (gst_string_unwrap), (gst_value_union_int_int_range),
27105 (gst_value_union_int_range_int_range),
27106 (gst_value_intersect_int_int_range),
27107 (gst_value_intersect_int_range_int_range),
27108 (gst_value_intersect_double_double_range),
27109 (gst_value_intersect_double_range_double_range),
27110 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
27111 (gst_value_subtract_int_range_int),
27112 (gst_value_subtract_double_range_double),
27113 (gst_value_subtract_double_range_double_range),
27114 (gst_value_subtract_from_list), (gst_value_subtract_list),
27115 (gst_value_can_compare), (gst_value_compare_fraction):
27116 Cleanups, add comments, remove unneeded asserts.
27118 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
27120 * tools/gst-launch.c: (event_loop):
27121 don't convert NULL structures to strings
27123 2005-08-15 Stefan Kost <ensonic@users.sf.net>
27125 * docs/gst/gstreamer-sections.txt:
27126 made some defines private
27127 * docs/gst/tmpl/gstconfig.sgml:
27128 * docs/gst/tmpl/gstqueue.sgml:
27129 * docs/gst/tmpl/gsttaglist.sgml:
27130 * docs/gst/tmpl/gsttypes.sgml:
27131 * docs/gst/tmpl/gstutils.sgml:
27132 * docs/pwg/appendix-porting.xml:
27133 * gst/base/gstbasesink.h:
27134 * gst/base/gstbasesrc.c:
27135 * gst/base/gstbasesrc.h:
27136 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
27137 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
27138 * gst/gstelement.c: (gst_element_class_init):
27139 * gst/gstpad.c: (gst_pad_class_init):
27140 * gst/gstqueue.c: (gst_queue_class_init):
27141 * gst/gstxml.c: (gst_xml_class_init):
27142 documented all undocumented signal inline
27143 * libs/gst/controller/gst-controller.h:
27146 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27148 * docs/pwg/appendix-porting.xml:
27149 Document _set_link_function -> _set_setcaps_function.
27151 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
27153 * check/Makefile.am:
27154 add a .check target for running the check
27155 * check/gst-libs/controller.c: (GST_START_TEST):
27157 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
27158 complete checks for gstbuffer; would be nice if I could get the
27159 gcov stuff to work so I can see if I actually completed gstbuffer.c
27160 * check/gstcheck.h:
27161 add ASSERT_BUFFER_REFCOUNT
27163 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
27165 * docs/gst/gstreamer-sections.txt:
27166 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
27168 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
27169 spew out a warning if a tag that is already registered
27170 is re-registered, unless it is re-registered with a
27171 different type (#308438).
27173 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
27175 * docs/pwg/appendix-porting.xml:
27176 * docs/pwg/building-state.xml:
27177 Add some paragraphs about state changes in 0.9 to the PWG
27178 and the porting guide, in particular about the new meaning
27179 of GST_STATE_PAUSED and how to write state change functions
27180 with concurrent access by multiple threads in mind.
27182 2005-08-11 Stefan Kost <ensonic@users.sf.net>
27184 * docs/gst/gstreamer-docs.sgml:
27185 * docs/libs/gstreamer-libs-docs.sgml:
27186 added deprecation and since indexes
27187 * libs/gst/controller/gst-controller.c:
27188 * libs/gst/controller/gst-helper.c:
27192 2005-08-11 Wim Taymans <wim@fluendo.com>
27194 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
27195 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
27196 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
27197 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
27198 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
27199 (gst_ghost_pad_set_target):
27200 Actually implement (re)setting the target on a ghostpad
27201 as described in the docs.
27203 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
27205 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
27206 Check whether GST_DEBUG_NO_COLOR environment variable is
27207 set and disable coloured debug output if that is the case.
27209 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
27211 * gst/base/gsttypefindhelper.c: (helper_find_peek),
27212 (gst_type_find_helper):
27213 The memory returned by gst_type_find_peek() needs to
27214 stay valid until the end of a typefind function, and
27215 typefind functions may keep results from different
27216 offsets around, so we can't just unref the buffer from
27217 the previous _peek(), but have to save all buffers
27218 returned by _peek() until typefinding is done and only
27221 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
27223 * docs/gst/gstreamer-sections.txt:
27225 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
27227 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27229 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
27230 Fix a pretty good memleak.
27232 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
27234 * gst/gstiterator.h:
27235 Fix wrong include and 'make distcheck'.
27237 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27239 * gst/gstbin.c: (bin_bus_handler):
27240 Use gst_element_post_message() instead.
27242 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
27244 * gst/base/gstadapter.h:
27245 * gst/base/gstbasesink.h:
27246 * gst/base/gstbasesrc.h:
27247 * gst/base/gstbasetransform.h:
27248 * gst/base/gstcollectpads.h:
27249 * gst/base/gstpushsrc.h:
27250 * gst/gstiterator.h:
27251 Add padding to our base elements' class and instance structs and
27252 to GstIterator (you will need to rebuild all plugins and apps!)
27254 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27256 * gst/gstbin.c: (bin_bus_handler):
27257 Make default message forwarding from child->bus to bin->bus
27258 threadsafe and make it not emit warnings if the parent has no bus.
27260 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27262 * gst/gstelement.c: (activate_pads):
27263 On paused->ready, set pad->caps to NULL, as is the documented
27264 behaviour in this state change. Fixes playback of series of
27265 media files when visualization is enabled in Totem.
27267 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27269 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27270 Allow NULL as filter-caps (which means "any").
27272 2005-08-05 Stefan Kost <ensonic@users.sf.net>
27274 * docs/libs/gstreamer-libs-sections.txt:
27275 * libs/gst/controller/gst-controller.c:
27276 * libs/gst/controller/gst-controller.h:
27277 * libs/gst/controller/gst-helper.c:
27278 adding more entries to the docs and fix small doc-bugs
27280 2005-08-05 Stefan Kost <ensonic@users.sf.net>
27282 * docs/gst/gstreamer-docs.sgml:
27283 * docs/gst/gstreamer-sections.txt:
27284 * docs/gst/gstreamer.types:
27285 * docs/gst/tmpl/gstbasesink.sgml:
27286 * docs/gst/tmpl/gstbasesrc.sgml:
27287 * docs/gst/tmpl/gstbasetransform.sgml:
27288 * docs/gst/tmpl/gstfakesrc.sgml:
27289 * gst/base/gstcollectpads.c:
27290 * gst/base/gstcollectpads.h:
27291 * libs/gst/controller/gst-controller.c:
27292 * libs/gst/controller/gst-controller.h:
27293 * libs/gst/controller/gst-helper.c:
27294 * libs/gst/controller/gst-interpolation.c:
27295 * libs/gst/controller/lib.c:
27296 added long/short desc for controller docs
27297 added collectpads base class docs
27298 added correct includes to base-class docs
27300 2005-08-05 Stefan Kost <ensonic@users.sf.net>
27302 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
27303 (gst_test_mono_source_set_property),
27304 (gst_test_mono_source_class_init), (GST_START_TEST),
27305 (gst_controller_suite):
27306 * docs/gst/gstreamer-docs.sgml:
27307 * docs/gst/gstreamer-sections.txt:
27308 * docs/gst/gstreamer.types:
27309 * docs/libs/gstreamer-libs-docs.sgml:
27310 * docs/libs/gstreamer-libs-sections.txt:
27311 * gst/base/gstadapter.c:
27312 * libs/gst/controller/gst-controller.c:
27313 (gst_controlled_property_new), (gst_controlled_property_free),
27314 (gst_controller_new_valist),
27315 (gst_controller_remove_properties_valist),
27316 (gst_controller_sink_values), (_gst_controller_finalize):
27317 * libs/gst/controller/gst-controller.h:
27318 * libs/gst/controller/gst-helper.c:
27319 (gst_object_control_properties), (gst_object_uncontrol_properties),
27320 (gst_object_get_controller), (gst_object_set_controller),
27321 (gst_object_sink_values), (gst_object_get_value_arrays),
27322 (gst_object_get_value_array):
27323 more tests (and fixes) for the controller
27324 more docs for the controller
27325 integrated companies docs for the adapter
27327 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
27329 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
27330 (GST_START_TEST), (fakesrc_suite):
27331 add tests for sizetype
27333 2005-08-04 Andy Wingo <wingo@pobox.com>
27335 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
27336 fixes buffer_alloc proxying among other things.
27338 * gst/base/gstbasetransform.c:
27339 * gst/base/gstbasetransform.h:
27340 Revert patch to gstbasetransform from 7-28 removing
27343 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
27344 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
27345 Semantics changed, should return not the size of the output buffer
27346 but the byte size of a buffer with a given caps.
27348 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
27350 (gst_base_transform_configure_caps): Don't set out_size here: (in,
27351 out) are not the pad caps until setcaps finishes.
27352 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
27353 not-in-place case as well. Deal with changing from in-place to
27354 not-in-place within calling pad_alloc_buffer. Still a bit
27355 concerned about the overhead here...
27357 2005-08-03 Andy Wingo <wingo@pobox.com>
27359 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
27360 fixating is an error.
27362 2005-08-04 Edward Hervey <edward@fluendo.com>
27364 * gst/base/gstadapter.h:
27365 Added gst_adapter_get_type() to the header
27367 2005-08-03 Stefan Kost <ensonic@users.sf.net>
27369 * check/Makefile.am:
27370 * check/gst-libs/controller.c:
27371 * libs/gst/controller/gst-controller.c:
27372 (gst_controller_new_valist):
27373 added check test suite for the controller
27374 * gst/base/gstpushsrc.c:
27377 2005-08-03 Stefan Kost <ensonic@users.sf.net>
27379 * docs/gst/Makefile.am:
27380 * docs/gst/gstreamer-docs.sgml:
27381 * docs/gst/gstreamer-sections.txt:
27382 * docs/gst/gstreamer.types:
27383 * docs/gst/tmpl/gstfakesrc.sgml:
27385 * gst/base/gstbasesink.c:
27386 * gst/base/gstbasesink.h:
27387 * gst/base/gstbasesrc.c:
27388 * gst/base/gstbasesrc.h:
27389 * gst/base/gstbasetransform.c:
27390 * gst/base/gstpushsrc.c:
27391 * gst/base/gstpushsrc.h:
27392 add short/long description docs to base classes
27393 add pushsrc to the docs
27394 remove consolidated doc fragments
27396 2005-08-03 Stefan Kost <ensonic@users.sf.net>
27399 * docs/libs/Makefile.am:
27400 * docs/libs/gstreamer-libs-docs.sgml:
27401 * docs/libs/gstreamer-libs-sections.txt:
27402 * docs/libs/gstreamer-libs.types:
27403 * examples/Makefile.am:
27404 * examples/controller/.cvsignore:
27405 * examples/controller/Makefile.am:
27406 * examples/controller/audio-example.c: (main):
27407 * libs/gst/Makefile.am:
27408 * libs/gst/controller/.cvsignore:
27409 * libs/gst/controller/Makefile.am:
27410 * libs/gst/controller/gst-controller.c:
27411 (on_object_controlled_property_changed), (gst_timed_value_compare),
27412 (gst_timed_value_find),
27413 (gst_controlled_property_set_interpolation_mode),
27414 (gst_controlled_property_new), (gst_controlled_property_free),
27415 (gst_controller_find_controlled_property),
27416 (gst_controller_new_valist), (gst_controller_new),
27417 (gst_controller_remove_properties_valist),
27418 (gst_controller_remove_properties), (gst_controller_set),
27419 (gst_controller_set_from_list), (gst_controller_unset),
27420 (gst_controller_get), (gst_controller_get_all),
27421 (gst_controller_sink_values), (gst_controller_get_value_arrays),
27422 (gst_controller_get_value_array),
27423 (gst_controller_set_interpolation_mode),
27424 (_gst_controller_finalize), (_gst_controller_init),
27425 (_gst_controller_class_init), (gst_controller_get_type):
27426 * libs/gst/controller/gst-controller.h:
27427 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
27428 (g_object_uncontrol_properties), (g_object_get_controller),
27429 (g_object_set_controller), (g_object_sink_values),
27430 (g_object_get_value_arrays), (g_object_get_value_array):
27431 * libs/gst/controller/gst-interpolation.c:
27432 (gst_controlled_property_find_timed_value_node),
27433 (interpolate_none_get), (interpolate_trigger_get),
27434 (interpolate_trigger_get_value_array):
27435 * libs/gst/controller/lib.c: (gst_controller_init):
27436 * pkgconfig/Makefile.am:
27437 * pkgconfig/gstreamer-control-uninstalled.pc.in:
27438 * pkgconfig/gstreamer-control.pc.in:
27439 * testsuite/Makefile.am:
27440 * testsuite/controller/.cvsignore:
27441 * testsuite/controller/Makefile.am:
27442 * testsuite/controller/interpolator.c: (main):
27443 added controller code
27444 removed dparam pc files
27446 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
27447 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
27448 (gst_collectpads_stop):
27449 Broadcast the condition when shutting down, to make sure we wake all
27450 threads up. Shut down pads on finalize, for safety.
27452 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
27453 * gst/base/gstbasetransform.c: (gst_base_transform_init),
27454 (gst_base_transform_handle_buffer),
27455 (gst_base_transform_change_state):
27456 Handle PAUSED->READY->PAUSED transition after negotiation
27458 * gst/gstmessage.c: (gst_message_init):
27459 Extra piece of debug for new messages.
27461 2005-08-01 Stefan Kost <ensonic@users.sf.net>
27464 * docs/gst/tmpl/gstbasesrc.sgml:
27465 * docs/gst/tmpl/gstelement.sgml:
27466 * docs/gst/tmpl/gstevent.sgml:
27467 * docs/gst/tmpl/gstfakesrc.sgml:
27468 * docs/gst/tmpl/gstformat.sgml:
27469 * docs/gst/tmpl/gstghostpad.sgml:
27470 * docs/gst/tmpl/gstpad.sgml:
27471 * docs/gst/tmpl/gstquery.sgml:
27472 * docs/gst/tmpl/gststructure.sgml:
27473 * docs/gst/tmpl/gsttaglist.sgml:
27474 * docs/gst/tmpl/gstvalue.sgml:
27475 * docs/libs/gstreamer-libs-docs.sgml:
27476 * docs/libs/gstreamer-libs-sections.txt:
27477 * docs/libs/gstreamer-libs.types:
27478 * libs/gst/Makefile.am:
27479 * libs/gst/control/.cvsignore:
27480 * libs/gst/control/Makefile.am:
27481 * libs/gst/control/control.c:
27482 * libs/gst/control/control.h:
27483 * libs/gst/control/dparam.c:
27484 * libs/gst/control/dparam.h:
27485 * libs/gst/control/dparam_smooth.c:
27486 * libs/gst/control/dparam_smooth.h:
27487 * libs/gst/control/dparamcommon.h:
27488 * libs/gst/control/dparammanager.c:
27489 * libs/gst/control/dparammanager.h:
27490 * libs/gst/control/dplinearinterp.c:
27491 * libs/gst/control/dplinearinterp.h:
27492 * libs/gst/control/unitconvert.c:
27493 * libs/gst/control/unitconvert.h:
27494 * testsuite/Makefile.am:
27495 * testsuite/dynparams/.cvsignore:
27496 * testsuite/dynparams/Makefile.am:
27497 * testsuite/dynparams/dparamstest.c:
27498 * tools/Makefile.am:
27499 * tools/gst-inspect.c: (print_element_info), (main):
27500 * tools/gst-xmlinspect.c: (print_element_info), (main):
27501 deactivate and remove dparams (libgstcontrol)
27503 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27505 * gst/elements/gsttypefindelement.c:
27506 (gst_type_find_element_have_type), (gst_type_find_element_init),
27507 (stop_typefinding), (gst_type_find_element_handle_event),
27508 (gst_type_find_element_chain), (gst_type_find_element_getrange):
27509 * gst/elements/gsttypefindelement.h:
27510 Set caps on all outgoing buffers, not just the first one.
27512 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27514 * gst/elements/gsttypefindelement.c:
27515 (gst_type_find_element_have_type),
27516 (gst_type_find_element_check_set_buffer_caps),
27517 (gst_type_find_element_init), (stop_typefinding),
27518 (gst_type_find_element_handle_event),
27519 (gst_type_find_element_chain), (gst_type_find_element_getrange):
27520 * gst/elements/gsttypefindelement.h:
27521 Set caps on first outgoing buffer when we've found the type.
27523 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27525 * docs/gst/gstreamer-docs.sgml:
27526 * docs/gst/gstreamer-sections.txt:
27527 * docs/gst/tmpl/gstscheduler.sgml:
27528 * docs/gst/tmpl/gstschedulerfactory.sgml:
27529 Remove some old cruft from docs.
27531 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
27534 Fix inline docs for GstPadLinkReturn.
27536 * gst/gststructure.c: (gst_structure_has_name):
27537 * gst/gststructure.h:
27538 * docs/gst/gstreamer-sections.txt:
27539 New API: gst_structure_has_name().
27541 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
27544 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
27545 and _LARGEFILE_SOURCE in config.h as required. Do not
27546 export those flags in our .pc files any longer (#142209).
27548 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
27550 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
27551 (gst_file_sink_do_seek), (gst_file_sink_event),
27552 (gst_file_sink_get_current_offset), (gst_file_sink_render):
27553 Redo seek/tell calls with large file support in mind; add some
27554 debugging messages; add log message that tells us when large
27555 file support is unavailable or not enabled for some reason.
27557 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
27558 Add log message that tells us when large file support
27559 is unavailable or not enabled for some reason.
27561 2005-07-29 Wim Taymans <wim@fluendo.com>
27563 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27564 Added test for removing an element with ghostpad from a bin.
27565 Fixed test as current implementation does the right thing.
27567 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
27568 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
27569 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
27570 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
27571 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
27572 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
27573 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
27574 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27575 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
27576 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
27577 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
27578 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
27579 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
27580 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
27581 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
27582 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
27583 * gst/gstghostpad.h:
27584 Clean up ghostpads, remove properties for internal stuff.
27587 Prepare for switching targets, not all use cases work yet.
27589 2005-07-29 Wim Taymans <wim@fluendo.com>
27591 * docs/design/part-gstghostpad.txt:
27594 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27595 (gst_bin_remove_func):
27596 Unlinking pads while holding the bin LOCK is not a good
27599 * gst/gstpad.c: (gst_pad_class_init),
27600 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
27601 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
27602 No prob setting template after creating the pad.
27604 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
27606 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
27607 (gst_bus_peek), (gst_bus_source_dispatch),
27608 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
27609 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
27610 gst_bus_poll may be called from other threads. Handle
27611 this nicely by not making poll_data disappear off the
27612 stack once gst_bus_poll returns.
27613 gst_bus_peek now increments the refcount on the returned
27616 2005-07-29 Wim Taymans <wim@fluendo.com>
27618 * docs/design/part-gstghostpad.txt:
27619 Overview of current GhostPad datastructures and use
27620 cases for changing the target.
27622 2005-07-28 Wim Taymans <wim@fluendo.com>
27624 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
27625 Added checks for hierarchy consistency whan adding linked
27628 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27629 Added check to test element scheduling without bin/pipeline.
27631 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
27632 First add elements to bin, then link.
27634 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27635 (gst_bin_remove_func):
27636 Unlink pads from elements added/removed from bin to maintain
27637 hierarchy consistency.
27639 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27641 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
27642 (gst_base_transform_handle_buffer):
27643 * gst/base/gstbasetransform.h:
27644 Remove broken delay_configure (fixes renegotiation of software
27645 scaling pipelines); remove some leftover printf()s.
27647 2005-07-28 Wim Taymans <wim@fluendo.com>
27649 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27650 Added some more tests for wrong hierarchy
27652 * docs/design/part-overview.txt:
27655 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
27658 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
27659 (gst_element_dispose):
27660 Some more cleanups.
27662 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27663 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
27664 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27665 (gst_pad_set_caps), (gst_pad_send_event):
27666 Check for correct hierarchy when linking pads. Moving to
27667 strict requirement for ghostpads when linking elements in
27671 Clean ups. Added WRONG_HIERARCHY return value.
27673 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27675 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27676 Better debug if no transform is possible.
27678 2005-07-27 Wim Taymans <wim@fluendo.com>
27680 * docs/random/wtay/network-transp:
27681 Some old doc I had.
27683 2005-07-27 Wim Taymans <wim@fluendo.com>
27685 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27686 (gst_dp_event_from_packet):
27687 Fix serialization of seek events.
27689 2005-07-27 Wim Taymans <wim@fluendo.com>
27691 * check/gst-libs/gdp.c: (GST_START_TEST):
27692 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27693 Fix compilation and fix event serialization.
27695 2005-07-27 Wim Taymans <wim@fluendo.com>
27698 * docs/design/part-TODO.txt:
27699 * docs/design/part-events.txt:
27702 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27703 (gst_base_sink_event), (gst_base_sink_do_sync),
27704 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27705 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27706 (gst_base_src_do_seek), (gst_base_src_event_handler),
27707 (gst_base_src_loop):
27708 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27709 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27710 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27711 (gst_base_transform_event), (gst_base_transform_handle_buffer),
27712 (gst_base_transform_set_passthrough),
27713 (gst_base_transform_is_passthrough):
27714 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27715 * gst/elements/gstfilesink.c: (gst_file_sink_event):
27721 * gst/gstelement.c: (gst_element_seek):
27722 * gst/gstelement.h:
27723 Update gst_element_seek.
27725 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
27726 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
27727 (gst_event_new_flush_start), (gst_event_new_flush_stop),
27728 (gst_event_new_eos), (gst_event_new_newsegment),
27729 (gst_event_parse_newsegment), (gst_event_new_tag),
27730 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
27731 (gst_event_parse_qos), (gst_event_new_seek),
27732 (gst_event_parse_seek), (gst_event_new_navigation):
27734 Make GstEvent use GstStructure. Add parsing code, make sure the
27735 API is sufficiently generic.
27736 Mark possible directions of events and serialization.
27738 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
27739 (_gst_message_copy), (gst_message_new_segment_start),
27740 (gst_message_new_segment_done), (gst_message_new_custom),
27741 (gst_message_parse_segment_start),
27742 (gst_message_parse_segment_done):
27745 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27746 (gst_pad_set_caps), (gst_pad_send_event):
27747 Update for new events.
27748 Catch events sent in wrong directions.
27750 * gst/gstqueue.c: (gst_queue_link_src),
27751 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27752 (gst_queue_handle_src_query):
27757 Remove event code from this file.
27759 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27760 (gst_dp_event_from_packet):
27763 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27765 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
27766 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27767 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
27768 Make debugging actually useful.
27770 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27772 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
27773 (gst_pad_fixate_caps):
27774 Implement default fixation once again, so that gst_pad_fixate()
27775 actually does anything at all. This probably needs to be some
27776 sort of a last resort, and use profile-based fixation first, but
27777 since that doesn't exist yet, this is the best we have. Fixes
27778 visualization in Totem.
27780 2005-07-22 Wim Taymans <wim@fluendo.com>
27782 * docs/design/part-events.txt:
27785 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27786 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
27787 (gst_base_sink_activate_pull):
27788 Some more comments.
27790 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
27791 (gst_fake_src_create):
27792 Fix handoff marshall.
27794 * gst/elements/gstidentity.c: (gst_identity_class_init),
27795 (gst_identity_transform_ip):
27796 We're a real inplace element.
27798 * gst/gstbus.c: (gst_bus_post):
27799 Added some comments.
27801 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
27802 * tests/muxing/case1.c: (main):
27803 * tests/sched/dynamic-pipeline.c: (main):
27804 * tests/sched/interrupt1.c: (main):
27805 * tests/sched/interrupt2.c: (main):
27806 * tests/sched/interrupt3.c: (main):
27807 * tests/sched/runxml.c: (main):
27808 * tests/sched/sched-stress.c: (main):
27809 * tests/seeking/seeking1.c: (event_received), (main):
27810 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
27812 * tests/threadstate/threadstate3.c: (main):
27813 * tests/threadstate/threadstate4.c: (main):
27814 * tests/threadstate/threadstate5.c: (main):
27817 2005-07-21 Wim Taymans <wim@fluendo.com>
27819 * docs/design/part-seeking.txt:
27820 Some small additions.
27822 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27823 (gst_base_sink_get_times), (gst_base_sink_do_sync),
27824 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27825 * gst/base/gstbasesink.h:
27826 discont values are gint64, handle the math correctly.
27828 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27829 Make the basesrc report error if the source pad is not linked.
27831 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
27832 (gst_queue_loop), (gst_queue_handle_src_query),
27833 (gst_queue_src_activate_push):
27834 Make queue collect data even if the srcpad is not linked.
27835 Start pushing out data as soon as it is linked.
27837 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
27839 Added gst_flow_get_name() to ease error reporting.
27841 2005-07-20 Wim Taymans <wim@fluendo.com>
27843 * gst/gstmessage.c: (gst_message_new_segment_start),
27844 (gst_message_new_segment_done), (gst_message_parse_segment_start),
27845 (gst_message_parse_segment_done):
27846 * gst/gstmessage.h:
27847 Added a bunch of messages for advanced seeking.
27849 * gst/parse/grammar.y:
27850 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
27851 (gst_dpman_state_changed):
27852 Fix some new-pad -> pad-added signals
27854 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27856 * docs/manual/appendix-porting.xml:
27857 * docs/pwg/appendix-porting.xml:
27858 Document new-pad/state-change signal renames and the FixedList
27861 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27863 * docs/manual/advanced-autoplugging.xml:
27864 * docs/manual/basics-helloworld.xml:
27865 * docs/manual/basics-pads.xml:
27866 * docs/random/ds/0.9-suggested-changes:
27867 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
27868 * gst/gstelement.h:
27872 * gst/gststructure.c: (gst_structure_value_get_generic_type),
27873 (gst_structure_parse_array), (gst_structure_parse_value):
27874 * gst/gstvalue.c: (gst_type_is_fixed),
27875 (gst_value_list_prepend_value), (gst_value_list_append_value),
27876 (gst_value_list_get_size), (gst_value_list_get_value),
27877 (gst_value_transform_array_string), (gst_value_serialize_array),
27878 (gst_value_deserialize_array), (gst_value_intersect_array),
27879 (gst_value_is_fixed), (_gst_value_initialize):
27881 GstElement::new-pad -> pad-added, GstElement::state-change ->
27882 state-changed, GstValueFixedList -> GstValueArray, add format and
27883 flags as their own arguments in gst_element_seek() (should improve
27884 "bindeability"), remove function generators since they don't work
27885 under a whole bunch of compilers (they were deprecated already
27888 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27890 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
27891 (_gst_debug_register_funcptr):
27893 Fix illegal cast on some platforms (#309253).
27895 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27897 * gst/gstmessage.c: (gst_message_new_custom):
27898 * gst/gstmessage.h:
27899 Add _new_custom, make _new_application a macro to _new_custom.
27901 2005-07-20 Wim Taymans <wim@fluendo.com>
27903 * gst/base/gstbasesrc.c: (gst_base_src_init),
27904 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
27905 * gst/base/gstbasesrc.h:
27906 Add a gboolean to decide when to push out a discont.
27908 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27909 (gst_queue_loop), (gst_queue_handle_src_query),
27910 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
27911 (gst_queue_set_property), (gst_queue_get_property):
27914 * tests/threadstate/threadstate1.c: (main):
27915 Make a thread test compile and run... very silly..
27918 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27920 * docs/manual/appendix-porting.xml:
27921 Mention removal of libgstgconf-0.9.la and existence of gconf
27924 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27926 * docs/pwg/advanced-clock.xml:
27927 * docs/pwg/appendix-porting.xml:
27928 * docs/pwg/intro-preface.xml:
27929 * docs/pwg/other-base.xml:
27930 * docs/pwg/other-manager.xml:
27931 * docs/pwg/other-nton.xml:
27932 * docs/pwg/other-ntoone.xml:
27933 * docs/pwg/other-oneton.xml:
27934 * docs/pwg/pwg.xml:
27935 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
27936 demuxer), remove n-to-n (was never written), fix some code examples
27937 and links and update the porting section to include all this.
27939 2005-07-19 Wim Taymans <wim@fluendo.com>
27941 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
27942 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
27943 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
27944 (gst_queue_src_activate_push), (gst_queue_change_state),
27945 (gst_queue_get_property):
27947 Propagate GstFlowReturn more intelligently upstream and output
27948 an ERROR/EOS when streaming stopped due to fatal error.
27950 2005-07-19 Wim Taymans <wim@fluendo.com>
27952 * tools/gst-launch.c: (check_intr), (event_loop), (main):
27953 Don't block forever for the state change to complete, the
27954 pipeline already did with a sensible timeout.
27956 2005-07-19 Wim Taymans <wim@fluendo.com>
27958 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
27959 Make sure we never call the create function is we
27962 2005-07-19 Andy Wingo <wingo@pobox.com>
27964 * gst/parse/parse.l: Attempt to solve bug #172815.
27966 2005-07-19 Wim Taymans <wim@fluendo.com>
27968 * docs/design/part-clocks.txt:
27969 * docs/design/part-events.txt:
27970 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
27971 Small docs updates.
27972 Only update the seeking values when we are not
27975 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
27977 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27978 Oops, ignore the result of gst_pad_push_event here.
27980 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
27982 * gst/base/gstbasesrc.c: (gst_base_src_loop),
27983 (gst_base_src_activate_push):
27984 Send discont event from the loop function, as pads
27985 aren't activated yet in the activate_push handler.
27987 * gst/gstbin.c: (bin_bus_handler):
27988 Don't leak element name.
27990 2005-07-18 Andy Wingo <wingo@pobox.com>
27992 * configure.ac: Use AS_LIBTOOL_TAGS.
27994 2005-07-18 Wim Taymans <wim@fluendo.com>
27996 * docs/gst/gstreamer.types:
27997 Remove deleted types.
27999 2005-07-18 Wim Taymans <wim@fluendo.com>
28001 * check/elements/gstfakesrc.c: (GST_START_TEST):
28004 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
28005 (init_popt_callback):
28007 * gst/gst_private.h:
28008 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
28009 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
28012 * gst/gstconfig.h.in:
28013 * gst/gstelement.c: (gst_element_class_init),
28014 (gst_element_set_base_time), (gst_element_get_base_time),
28015 (iterator_fold_with_resync), (gst_element_change_state),
28016 (gst_element_dispose), (gst_element_get_bus):
28017 * gst/gstelement.h:
28018 * gst/gstelementfactory.h:
28019 * gst/gsterror.c: (_gst_core_errors_init):
28022 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
28024 * gst/gstinfo.c: (_gst_debug_init):
28025 * gst/gstmessage.c: (_gst_message_copy):
28026 * gst/gstmessage.h:
28027 * gst/gstminiobject.h:
28030 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
28031 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
28034 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28035 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
28036 (gst_pipeline_get_last_stream_time):
28037 * gst/gstpipeline.h:
28038 * gst/gstpluginfeature.h:
28040 * gst/gstscheduler.c:
28041 * gst/gstscheduler.h:
28042 * gst/gststructure.h:
28043 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
28044 (gst_task_finalize), (gst_task_func), (gst_task_create),
28045 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
28046 (gst_task_stop), (gst_task_pause):
28048 * gst/gsttypefind.h:
28050 * gst/registries/gstlibxmlregistry.c: (load_feature),
28051 (gst_xml_registry_load), (gst_xml_registry_save_feature):
28052 * gst/registries/gstxmlregistry.c:
28053 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
28054 * gst/schedulers/threadscheduler.c:
28055 * libs/gst/control/dparammanager.h:
28056 * tools/gst-inspect.c: (print_element_list),
28057 (print_plugin_features), (print_element_features):
28058 * tools/gst-xmlinspect.c: (print_element_list),
28059 (print_plugin_info), (main):
28060 Removed plugable schedulers.
28061 Removed Scheduler/Manager from elements.
28062 Removed gsttypes.h, rearranged includes.
28063 Removed dependency pad<->element, element<>pipeline, and
28064 various others, fix includes.
28065 implement gst_pad_get_parent() with gst_object_get_parent()
28066 Make GstTask sefcontained.
28067 Fix _get_state() on GstBin, it did not return ASYNC with a 0
28069 Fix endless loop in iterator_fold_with_resync.
28072 2005-07-18 Wim Taymans <wim@fluendo.com>
28078 2005-07-18 Wim Taymans <wim@fluendo.com>
28081 No more cothreads.h
28083 2005-07-18 Wim Taymans <wim@fluendo.com>
28087 Let's remove these.
28089 2005-07-18 Wim Taymans <wim@fluendo.com>
28091 * docs/design/part-dynamic.txt:
28092 * docs/design/part-events.txt:
28093 * docs/design/part-seeking.txt:
28094 Some more docs in the works.
28096 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
28097 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
28098 (gst_base_transform_setcaps), (gst_base_transform_get_size),
28099 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
28100 (gst_base_transform_handle_buffer),
28101 (gst_base_transform_sink_activate_push),
28102 (gst_base_transform_src_activate_pull),
28103 (gst_base_transform_set_passthrough),
28104 (gst_base_transform_is_passthrough):
28107 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
28110 * gst/gstevent.c: (gst_event_finalize):
28113 * gst/gstutils.c: (gst_element_unlink),
28114 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
28115 (gst_pad_proxy_setcaps):
28117 Add _get_parent_element() to get a pads parent as an element.
28119 2005-07-18 Wim Taymans <wim@fluendo.com>
28121 * check/gst/gstbin.c: (GST_START_TEST):
28124 2005-07-18 Wim Taymans <wim@fluendo.com>
28126 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28127 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28128 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28129 (gst_base_sink_event), (gst_base_sink_do_sync),
28130 (gst_base_sink_chain), (gst_base_sink_loop),
28131 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
28132 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
28134 Fix logic for returning ASYNC when not prerolled.
28136 2005-07-18 Wim Taymans <wim@fluendo.com>
28138 * gst/gstqueue.c: (gst_queue_handle_sink_event):
28139 Fix nasty refcount bug.
28141 2005-07-16 Philippe Khalaf <burger@speedy.org>
28143 * gst/elements/gstfdsrc.c:
28144 * gst/elements/gstfdsrc.h:
28145 * gst/elements/gstelements.c:
28146 * gst/elements/Makefile.am:
28147 Ported fdsrc to 0.9.
28149 2005-07-16 Wim Taymans <wim@fluendo.com>
28151 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28152 (gst_base_sink_do_sync):
28155 2005-07-16 Wim Taymans <wim@fluendo.com>
28157 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28158 (gst_base_sink_event), (gst_base_sink_get_times),
28159 (gst_base_sink_do_sync), (gst_base_sink_change_state):
28160 * gst/base/gstbasesink.h:
28161 Store and use discont values when syncing buffers as described
28164 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
28165 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
28166 (gst_base_src_activate_push):
28167 Push discont event when starting.
28169 * gst/elements/gstidentity.c: (gst_identity_transform):
28172 * gst/gstbin.c: (gst_bin_change_state):
28173 Small cleanups in base_time distribution.
28175 * gst/gstelement.c: (gst_element_set_base_time),
28176 (gst_element_get_base_time), (gst_element_change_state):
28177 * gst/gstelement.h:
28178 Added methods for the base_time of the element.
28181 * gst/gstpipeline.c: (gst_pipeline_send_event),
28182 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
28183 (gst_pipeline_get_last_stream_time):
28184 * gst/gstpipeline.h:
28186 Handle seeking as described in design doc, remove stream_time
28188 Cleanups clock and stream_time selection code. Added accessors
28189 for the stream_time.
28192 2005-07-16 Andy Wingo <wingo@pobox.com>
28194 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
28197 2005-07-16 Wim Taymans <wim@fluendo.com>
28199 * check/gst/gstbin.c: (GST_START_TEST):
28200 Make elements silent as the deep_notify refs the
28201 parent, which might make the test fail.
28203 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
28204 Don't hold the lock for too long.
28206 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
28208 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
28209 Don't unref the caps we passed to gst_caps_make_writable() after
28210 passing them. gst_caps_make_writable() will do that for us.
28212 2005-07-15 Andy Wingo <wingo@pobox.com>
28214 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
28217 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
28218 own marshalling function for the handoff signal. Properly type the
28219 buffer as a buffer. Fixes some warnings. Should do a more general
28221 (gst_identity_class_init): Plug into the right marshaller.
28223 2005-07-15 Wim Taymans <wim@fluendo.com>
28225 * docs/design/part-TODO.txt:
28226 * docs/design/part-clocks.txt:
28227 * docs/design/part-element-sink.txt:
28228 * docs/design/part-events.txt:
28229 * docs/design/part-gstpipeline.txt:
28230 Updated docs, mostly DISCONT related.
28232 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
28234 * docs/pwg/building-pads.xml:
28235 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
28237 2005-07-15 Andy Wingo <wingo@pobox.com>
28239 * tools/gst-typefind.c: Update, add copyright block.
28241 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
28242 Normalize and truncate caps before fixation.
28245 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
28246 discards all but the first structure from its argument.
28248 2005-07-15 Wim Taymans <wim@fluendo.com>
28250 * gst/base/gstbasetransform.c: (gst_base_transform_init),
28251 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
28252 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
28253 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
28254 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
28255 (gst_base_transform_chain), (gst_base_transform_change_state),
28256 (gst_base_transform_set_passthrough),
28257 (gst_base_transform_is_passthrough):
28258 * gst/base/gstbasetransform.h:
28259 Make passthrough work using the bufferpools.
28260 Changed API a bit, subclasses have to write into a buffer
28261 provided by the base class.
28262 More debug info in nego functions.
28264 * gst/elements/gstidentity.c: (gst_identity_init),
28265 (gst_identity_transform):
28266 Port to new base class.
28268 2005-07-15 Wim Taymans <wim@fluendo.com>
28270 * gst/gstmessage.c: (gst_message_new_state_changed):
28271 * tools/gst-launch.c: (event_loop), (main):
28272 Totally dump messages in -launch with the -m option.
28273 Fix message name for State messages,
28275 2005-07-14 Wim Taymans <wim@fluendo.com>
28277 * gst/base/gstbasesrc.c: (gst_base_src_loop):
28278 Post error messages on errors.
28280 2005-07-14 Wim Taymans <wim@fluendo.com>
28282 * gst/gstcaps.c: (gst_caps_do_simplify):
28286 Define error for stream stopped.
28288 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28289 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
28290 Do proper return values.
28292 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
28293 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
28294 (gst_pad_get_range):
28295 Better return values.
28298 Reorganise return values, add macro to check for fatal errors.
28300 * gst/gstqueue.c: (gst_queue_chain):
28301 Return proper GstFlowReturn values,
28303 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
28305 * docs/gst/gstreamer-sections.txt:
28306 * docs/gst/gstreamer.types:
28307 * docs/gst/tmpl/gst.sgml:
28308 * docs/gst/tmpl/gstbasesink.sgml:
28309 * docs/gst/tmpl/gstbasesrc.sgml:
28310 * docs/gst/tmpl/gstbasetransform.sgml:
28311 * docs/gst/tmpl/gstbin.sgml:
28312 * docs/gst/tmpl/gstbuffer.sgml:
28313 * docs/gst/tmpl/gstcaps.sgml:
28314 * docs/gst/tmpl/gstclock.sgml:
28315 * docs/gst/tmpl/gstcompat.sgml:
28316 * docs/gst/tmpl/gstconfig.sgml:
28317 * docs/gst/tmpl/gstelement.sgml:
28318 * docs/gst/tmpl/gstelementdetails.sgml:
28319 * docs/gst/tmpl/gstelementfactory.sgml:
28320 * docs/gst/tmpl/gstenumtypes.sgml:
28321 * docs/gst/tmpl/gsterror.sgml:
28322 * docs/gst/tmpl/gstevent.sgml:
28323 * docs/gst/tmpl/gstfakesink.sgml:
28324 * docs/gst/tmpl/gstfakesrc.sgml:
28325 * docs/gst/tmpl/gstfilesink.sgml:
28326 * docs/gst/tmpl/gstfilesrc.sgml:
28327 * docs/gst/tmpl/gstfilter.sgml:
28328 * docs/gst/tmpl/gstformat.sgml:
28329 * docs/gst/tmpl/gstghostpad.sgml:
28330 * docs/gst/tmpl/gstimplementsinterface.sgml:
28331 * docs/gst/tmpl/gstindex.sgml:
28332 * docs/gst/tmpl/gstindexfactory.sgml:
28333 * docs/gst/tmpl/gstinfo.sgml:
28334 * docs/gst/tmpl/gstiterator.sgml:
28335 * docs/gst/tmpl/gstmacros.sgml:
28336 * docs/gst/tmpl/gstmemchunk.sgml:
28337 * docs/gst/tmpl/gstminiobject.sgml:
28338 * docs/gst/tmpl/gstobject.sgml:
28339 * docs/gst/tmpl/gstpad.sgml:
28340 * docs/gst/tmpl/gstpadtemplate.sgml:
28341 * docs/gst/tmpl/gstparse.sgml:
28342 * docs/gst/tmpl/gstpipeline.sgml:
28343 * docs/gst/tmpl/gstplugin.sgml:
28344 * docs/gst/tmpl/gstpluginfeature.sgml:
28345 * docs/gst/tmpl/gstquery.sgml:
28346 * docs/gst/tmpl/gstqueue.sgml:
28347 * docs/gst/tmpl/gstregistry.sgml:
28348 * docs/gst/tmpl/gstregistrypool.sgml:
28349 * docs/gst/tmpl/gstscheduler.sgml:
28350 * docs/gst/tmpl/gstschedulerfactory.sgml:
28351 * docs/gst/tmpl/gststructure.sgml:
28352 * docs/gst/tmpl/gstsystemclock.sgml:
28353 * docs/gst/tmpl/gsttaglist.sgml:
28354 * docs/gst/tmpl/gsttagsetter.sgml:
28355 * docs/gst/tmpl/gsttrace.sgml:
28356 * docs/gst/tmpl/gsttrashstack.sgml:
28357 * docs/gst/tmpl/gsttypefind.sgml:
28358 * docs/gst/tmpl/gsttypefindfactory.sgml:
28359 * docs/gst/tmpl/gsttypes.sgml:
28360 * docs/gst/tmpl/gsturihandler.sgml:
28361 * docs/gst/tmpl/gsturitype.sgml:
28362 * docs/gst/tmpl/gstutils.sgml:
28363 * docs/gst/tmpl/gstvalue.sgml:
28364 * docs/gst/tmpl/gstversion.sgml:
28365 * docs/gst/tmpl/gstxml.sgml:
28366 * docs/libs/tmpl/gstcontrol.sgml:
28367 * docs/libs/tmpl/gstdataprotocol.sgml:
28368 * docs/libs/tmpl/gstdparam.sgml:
28369 * docs/libs/tmpl/gstdplinint.sgml:
28370 * docs/libs/tmpl/gstdpman.sgml:
28371 * docs/libs/tmpl/gstdpsmooth.sgml:
28372 * docs/libs/tmpl/gstgetbits.sgml:
28373 * docs/libs/tmpl/gstunitconvert.sgml:
28374 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
28375 (gst_push_src_base_init), (gst_push_src_class_init),
28376 (gst_push_src_init), (gst_push_src_create):
28377 * gst/base/gstpushsrc.h:
28378 * gst/elements/gstelements.c:
28379 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
28380 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
28381 (gst_fake_sink_init), (gst_fake_sink_set_property),
28382 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
28383 (gst_fake_sink_event), (gst_fake_sink_preroll),
28384 (gst_fake_sink_render), (gst_fake_sink_change_state):
28385 * gst/elements/gstfakesink.h:
28386 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
28387 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
28388 (gst_fake_src_base_init), (gst_fake_src_class_init),
28389 (gst_fake_src_init), (gst_fake_src_event_handler),
28390 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
28391 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
28392 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
28393 (gst_fake_src_create_buffer), (gst_fake_src_create),
28394 (gst_fake_src_start), (gst_fake_src_stop):
28395 * gst/elements/gstfakesrc.h:
28396 * gst/elements/gstfilesink.c: (_do_init),
28397 (gst_file_sink_base_init), (gst_file_sink_class_init),
28398 (gst_file_sink_init), (gst_file_sink_dispose),
28399 (gst_file_sink_set_location), (gst_file_sink_set_property),
28400 (gst_file_sink_get_property), (gst_file_sink_open_file),
28401 (gst_file_sink_close_file), (gst_file_sink_query),
28402 (gst_file_sink_event), (gst_file_sink_render),
28403 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
28404 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
28405 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
28406 * gst/elements/gstfilesink.h:
28407 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
28408 (gst_file_src_class_init), (gst_file_src_init),
28409 (gst_file_src_finalize), (gst_file_src_set_location),
28410 (gst_file_src_set_property), (gst_file_src_get_property),
28411 (gst_file_src_map_region), (gst_file_src_map_small_region),
28412 (gst_file_src_create_mmap), (gst_file_src_create_read),
28413 (gst_file_src_create), (gst_file_src_is_seekable),
28414 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
28415 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
28416 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
28417 (gst_file_src_uri_handler_init):
28418 * gst/elements/gstfilesrc.h:
28419 more autistic cleanliness in functions/names/defines
28421 2005-07-13 Andy Wingo <wingo@pobox.com>
28423 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
28424 source couldn't negotiate.
28426 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
28430 * gst/gstutils.c (gst_element_link_pads_filtered): New old
28431 function. I am channeling Hades. Put your boots on suckers!!!
28433 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
28435 * testsuite/caps/Makefile.am:
28436 * testsuite/caps/value_compare.c:
28437 * testsuite/caps/value_intersect.c:
28438 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
28439 move two testsuite apps over to the check dir
28441 2005-07-12 Wim Taymans <wim@fluendo.com>
28443 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
28444 Added more debug info in the negotiate process.
28446 * gst/gstmessage.h:
28447 Prepare for segment playback.
28449 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
28455 * tools/gst-launch.c: (main):
28456 NULL pipeline on errors.
28458 2005-07-12 Andy Wingo <wingo@pobox.com>
28460 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
28461 not it comes from a malloc region. Make sure our copy gets freed.
28463 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28465 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
28466 * check/gst/gstmessage.c: (GST_START_TEST):
28467 * check/gst/gststructure.c: (GST_START_TEST),
28468 (gst_structure_suite), (main):
28470 * gst/gstelement.c: (gst_element_message_full):
28471 clean up GError and debug string now that they get copied
28472 * gst/gstmessage.c: (gst_message_new_error),
28473 (gst_message_new_warning), (gst_message_parse_error),
28474 (gst_message_parse_warning):
28475 use GST_TYPE_G_ERROR for structure_new, and take copies of
28476 arguments, so that we don't mess up refcounting
28478 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28480 * check/Makefile.am:
28481 add per-test valgrind targets
28482 * check/gst-libs/gdp.c: (GST_START_TEST),
28483 (gst_data_protocol_suite), (main):
28486 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28488 * check/Makefile.am:
28489 instate more valgrindable tests
28490 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28491 (GST_START_TEST), (fakesrc_suite):
28492 * check/gst/gstpad.c: (GST_START_TEST):
28493 * check/gst/gststructure.c: (GST_START_TEST):
28495 * docs/gst/tmpl/gstminiobject.sgml:
28496 * gst/gstpad.c: (gst_pad_finalize):
28497 fix the static mutex leak
28499 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28501 * check/Makefile.am:
28502 add two more tests for valgrinding
28503 * check/gst/gstvalue.c: (GST_START_TEST):
28504 test refcount of deserialized buffer, found a leak
28505 * docs/gst/gstreamer-docs.sgml:
28506 * docs/gst/gstreamer-sections.txt:
28507 * docs/gst/gstreamer.types:
28508 * docs/gst/tmpl/gstminiobject.sgml:
28509 add miniobject to docs
28510 * gst/gstminiobject.c:
28512 * gst/gstvalue.c: (gst_value_deserialize_buffer),
28513 (gst_string_unwrap):
28514 fix a hard-to-find invalid write for one of the tests
28515 fix a leak for deserialized buffers
28517 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28519 * docs/pwg/advanced-events.xml:
28520 * docs/pwg/advanced-request.xml:
28521 * docs/pwg/advanced-scheduling.xml:
28522 * docs/pwg/appendix-porting.xml:
28523 * docs/pwg/building-boiler.xml:
28524 * docs/pwg/intro-preface.xml:
28525 * docs/pwg/other-ntoone.xml:
28526 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
28527 of example code and explanation for pad activation, loop() and
28528 getrange() functions and a bit more. Remove old comments pointing
28530 * examples/pwg/Makefile.am:
28531 Add loop/getrange examples.
28533 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28536 check for valgrind binary + some fixes
28538 valgrind suppressions for the tests
28539 * check/Makefile.am:
28540 add a valgrind: target that valgrinds the unit tests
28541 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
28542 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
28543 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28544 * check/gst/gstghostpad.c:
28546 * check/gst/gstdata.c:
28548 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
28549 (thread_unref), (gst_mini_object_suite), (main):
28551 * gst/gst.c: (gst_deinit):
28553 add a method to clean up.
28554 * gst/gstsystemclock.c: (gst_system_clock_dispose),
28555 (gst_system_clock_obtain):
28556 allow for disposing the system clock.
28557 * tools/gst-launch.c: (main):
28560 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28562 * docs/gst/tmpl/gstbasesrc.sgml:
28563 * docs/gst/tmpl/gstfakesrc.sgml:
28564 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28565 (gst_base_src_init), (gst_base_src_set_property),
28566 (gst_base_src_get_property), (gst_base_src_get_range),
28567 (gst_base_src_start):
28568 * gst/base/gstbasesrc.h:
28569 add num-buffers property
28570 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28571 (gst_fakesrc_init), (gst_fakesrc_set_property),
28572 (gst_fakesrc_get_property), (gst_fakesrc_create),
28573 (gst_fakesrc_start):
28574 remove num-buffers property
28576 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28578 * docs/gst/gstreamer-sections.txt:
28579 * docs/gst/tmpl/gstbasesink.sgml:
28580 * docs/gst/tmpl/gstbasesrc.sgml:
28581 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28582 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28583 (gst_base_sink_finalize), (gst_base_sink_set_clock),
28584 (gst_base_sink_set_property), (gst_base_sink_get_property),
28585 (gst_base_sink_handle_object), (gst_base_sink_event),
28586 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
28587 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
28588 (gst_base_sink_loop), (gst_base_sink_deactivate),
28589 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
28590 (gst_base_sink_change_state):
28591 * gst/base/gstbasesink.h:
28592 * gst/base/gstbasesrc.h:
28593 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
28594 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28595 (gst_filesink_init):
28596 more macro splitting
28598 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28600 * gst/gstelement.c: (gst_element_get_bus):
28602 * tools/gst-launch.c: (check_intr), (event_loop):
28605 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28607 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
28610 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28612 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28613 (gst_base_src_finalize):
28614 add finalize method and clean up properly
28615 * gst/gstpipeline.c: (gst_pipeline_dispose):
28618 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28620 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
28622 add more things to check
28623 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
28624 * gst/gstelement.c:
28627 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28629 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28630 (GST_START_TEST), (fakesrc_suite):
28631 * check/gst-libs/gdp.c: (GST_START_TEST):
28632 * check/gst/gst.c: (GST_START_TEST):
28633 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
28634 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28635 * check/gst/gstbus.c: (GST_START_TEST):
28636 * check/gst/gstcaps.c: (GST_START_TEST):
28637 * check/gst/gstdata.c: (GST_START_TEST):
28638 * check/gst/gstelement.c: (GST_START_TEST):
28639 * check/gst/gstghostpad.c: (GST_START_TEST):
28640 * check/gst/gstiterator.c: (GST_START_TEST):
28641 * check/gst/gstmessage.c: (GST_START_TEST):
28642 * check/gst/gstobject.c: (GST_START_TEST):
28643 * check/gst/gstpad.c: (GST_START_TEST):
28644 * check/gst/gststructure.c: (GST_START_TEST):
28645 * check/gst/gstsystemclock.c: (GST_START_TEST),
28646 (gst_systemclock_suite):
28647 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
28648 * check/gst/gstvalue.c: (GST_START_TEST):
28649 * check/pipelines/cleanup.c: (GST_START_TEST):
28650 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
28651 * check/states/sinks.c: (GST_START_TEST):
28652 * check/gstcheck.c: (gst_check_init):
28653 * check/gstcheck.h:
28654 add debugging category
28655 use GST_START_TEST now, so we add a debug line
28657 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28659 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
28660 add test for state change message on a bin
28661 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
28663 * gst/gstbin.c: (gst_bin_init):
28664 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
28665 * gst/gstelement.c: (gst_element_post_message),
28666 (gst_element_set_state):
28667 * gst/gstelementfactory.c: (gst_element_factory_create):
28668 * gst/gstmessage.c: (gst_message_new):
28669 * gst/gstscheduler.c:
28670 various debugging additions and cleanups
28672 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28674 * check/Makefile.am:
28675 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
28677 adding tests for elements
28678 * gst/gstelement.c: (gst_element_dispose):
28680 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28682 * gst/registries/gstlibxmlregistry.c: (load_feature):
28683 plug more leaks. A simple gst_init() now is leakfree, yay.
28685 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28687 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
28688 (gst_xml_registry_load):
28689 plug another memleak
28691 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28694 use GST_SET_ERROR_CFLAGS
28695 * docs/faq/cvs.xml:
28696 change to ERROR_CFLAGS
28698 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28701 make GST_ERROR_CFLAGS overridable and re-enable Werror
28702 * docs/faq/cvs.xml:
28703 add a note about error CFLAGS
28704 * docs/gst/tmpl/gstfakesrc.sgml:
28705 * gst/elements/gstfakesrc.c:
28706 comment out some unused code
28707 * gst/gst.c: (split_and_iterate):
28708 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
28712 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
28714 * common/Makefile.am:
28715 * common/gtk-doc.mak:
28716 * docs/gst/Makefile.am:
28717 factor out gtk-doc.mak
28719 2005-07-07 Wim Taymans <wim@fluendo.com>
28721 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
28722 (gst_thread_scheduler_dispose):
28723 Unlock the STREAM_LOCK completely.
28725 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
28727 * check/Makefile.am:
28728 * check/elements/.cvsignore:
28729 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28730 (START_TEST), (fakesrc_suite), (main):
28731 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28732 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
28733 (gst_fakesrc_create), (gst_fakesrc_start):
28734 * gst/elements/gstfakesrc.h:
28735 adding a first element test
28737 2005-07-07 Andy Wingo <wingo@pobox.com>
28739 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
28742 2005-07-07 Wim Taymans <wim@fluendo.com>
28748 2005-07-07 Wim Taymans <wim@fluendo.com>
28750 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
28751 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
28752 Allow subclasses to implement their own negotiation.
28754 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28756 * docs/design/part-gstbin.txt:
28757 * docs/design/part-gstpipeline.txt:
28758 Update design notes to reflect the movement of
28759 responsibility for bus handling from GstPipeline to
28762 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28765 Remove unnecessary queue2/3/4 examples.
28767 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28769 * examples/Makefile.am:
28770 * examples/helloworld/helloworld.c: (event_loop), (main):
28771 * examples/queue/queue.c: (event_loop), (main):
28772 * examples/queue2/queue2.c: (main):
28773 Update a couple of the examples to work again.
28775 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28776 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
28777 Spelling corrections and extra debug.
28779 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
28780 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
28781 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
28783 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28784 (gst_pipeline_change_state):
28785 * gst/gstpipeline.h:
28786 Move the bus handler for children to the GstBin, and create a
28787 separate bus for receiving messages from children to the one the
28788 bus sends 'upwards' on.
28790 2005-07-06 Wim Taymans <wim@fluendo.com>
28793 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28794 (gst_base_sink_handle_object), (gst_base_sink_loop),
28795 (gst_base_sink_change_state):
28796 * gst/base/gstbasesink.h:
28797 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28798 (gst_base_src_init), (gst_base_src_setcaps),
28799 (gst_base_src_getcaps), (gst_base_src_loop),
28800 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
28801 (gst_base_src_start), (gst_base_src_change_state):
28802 * gst/base/gstbasesrc.h:
28803 Make basesrc negotiate.
28804 Handle the case where preroll fails in basesink.
28807 2005-07-06 Wim Taymans <wim@fluendo.com>
28809 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
28810 Implement the fixate function.
28811 Clean up acceptcaps.
28813 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28815 * docs/pwg/building-filterfactory.xml:
28816 * docs/pwg/pwg.xml:
28817 Remove never-written filter-factory chapter; I'll add the various
28818 base classes to part 4 ("other element types") later on.
28820 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28822 * docs/pwg/advanced-negotiation.xml:
28823 * docs/pwg/building-boiler.xml:
28824 * docs/pwg/building-pads.xml:
28825 * docs/pwg/pwg.xml:
28826 * examples/pwg/Makefile.am:
28827 Add a chapter on caps negotiation, simplify the original code
28828 samples a bit w.r.t. caps negotiation, add link to the advanced
28829 section. Add a bunch of examples showing different use cases of
28830 different types of caps negotiation. Upstream renegotiation isn't
28831 fully documented yet since nobody knows how that works.
28833 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
28835 * check/gst/gstpad.c:
28836 * check/gstcheck.c:
28837 * gst/gstpad.c: (gst_pad_get_internal_links_default):
28838 if pad has no parent, return NULL as list of internal links
28840 2005-07-05 Andy Wingo <wingo@pobox.com>
28842 * gst/elements/gstfilesrc.c:
28843 * gst/elements/gstfakesrc.c:
28844 * gst/base/gstpushsrc.c:
28845 * gst/base/gstbasesrc.h:
28846 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
28848 2005-07-05 Stefan Kost <ensonic@users.sf.net>
28851 better report generation target (lcov needs a patch)
28853 2005-07-05 Andy Wingo <wingo@pobox.com>
28855 * gst/elements, testsuite: Null if we got it...
28857 2005-07-05 Wim Taymans <wim@fluendo.com>
28860 * libs/gst/dataprotocol/Makefile.am:
28861 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
28862 * libs/gst/dataprotocol/dataprotocol.h:
28863 * pkgconfig/Makefile.am:
28864 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
28865 * pkgconfig/gstreamer-dataprotocol.pc.in:
28866 Ported dataprotol to 0.9.
28867 Added pkgconfig files.
28869 2005-07-05 Andy Wingo <wingo@pobox.com>
28871 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
28872 Default to returning TRUE for the case when tranform_caps returns
28873 a fixed caps, like for identity or volume.
28875 * check/gst/gstbus.c (pound_bus_with_messages):
28876 * check/gst/gstmessage.c (START_TEST):
28877 * check/pipelines/simple_launch_lines.c (got_handoff): Application
28878 message API change.
28880 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
28881 logic weaks here: always run transform_caps, trying passthrough
28882 operation only if the original caps intersects with the transform.
28884 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
28885 source and sink caps.
28887 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
28888 Intersect the peer caps with the pad template before going into
28890 (gst_base_transform_transform_caps): More debugging.
28892 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
28895 2005-07-04 Edward Hervey <edward@fluendo.com>
28899 (gst_pad_add_*_probe): now returns the signal id for better wrapping
28902 2005-07-04 Andy Wingo <wingo@pobox.com>
28904 * check/gst/gstpad.c: Only set explicit caps on pads.
28906 2005-07-01 Andy Wingo <wingo@pobox.com>
28908 * tests/network-clock.scm: Commentary update.
28910 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
28911 Didn't really make sense, not implementable with basetransform,
28913 (gst_identity_transform): Unref inbuf via make_writable. Feeble
28914 attempt at implementing the sync property, needs an unlock method.
28916 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
28917 New func, by default returns the same caps (the identity
28919 (gst_base_transform_getcaps): Uses transform_caps to return
28920 something sensible.
28921 (gst_base_transform_setcaps): Complicated logic to get caps on
28922 both pads, even if they are different, and to call set_caps once
28923 for every time both pads get their caps set.
28924 (gst_base_transform_handle_buffer): Give the ref to the transform
28925 function. Allows in-place modification of the buffer.
28927 * gst/base/gstbasetransform.h (transform_caps): New class method.
28928 Given caps on one side, what can I do on the other.
28929 (set_caps): Take two caps, one for each side of the element.
28932 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
28933 caps in place. This is safe because we can check the mutability of
28934 the caps, and a good idea because fixate functions are just called
28935 as a matter of last resort. (Not actually implemented.)
28936 (gst_pad_set_caps): If the caps we're setting is actually the same
28937 as the existing pad caps, just update the pointer without calling
28938 setcaps. Assert that caps is either NULL or fixed, as per the
28941 * gst/gstghostpad.c: Update for fixate changes.
28943 2005-07-02 Andy Wingo <wingo@pobox.com>
28946 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
28947 two refcounts makes it immutable, which is enough. Doc more.
28949 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
28951 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
28952 Put the mini_object into GValue as a mini_object,
28953 not a gpointer, since that's how we declared
28956 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28958 * examples/pwg/Makefile.am:
28959 Fix buildbot again.
28961 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28963 * docs/pwg/building-testapp.xml:
28965 * examples/pwg/Makefile.am:
28968 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28971 * examples/Makefile.am:
28972 * examples/pwg/Makefile.am:
28973 * examples/pwg/extract.pl:
28974 Enable building the PWG examples.
28975 * docs/pwg/advanced-interfaces.xml:
28976 Add URI interface stub.
28977 * docs/pwg/advanced-types.xml:
28978 * docs/pwg/other-autoplugger.xml:
28979 * docs/pwg/appendix-porting.xml:
28980 * docs/pwg/pwg.xml:
28981 Add porting guide (mostly stubs), remove autoplugging (see ADM).
28982 * docs/pwg/building-boiler.xml:
28983 * docs/pwg/building-chainfn.xml:
28984 * docs/pwg/building-pads.xml:
28985 * docs/pwg/building-props.xml:
28986 * docs/pwg/building-state.xml:
28987 * docs/pwg/building-testapp.xml:
28988 Update the building-*.xml parts for 0.9 changes. All examples
28989 code blocks compile in examples/pwg/*.
28991 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28993 * docs/manual/advanced-autoplugging.xml:
28994 * docs/manual/appendix-checklist.xml:
28995 * docs/manual/appendix-integration.xml:
28996 * docs/manual/highlevel-components.xml:
28997 Fix playbin/decodebin examples, update docs a bit, mention bus
28998 instead of signals in various places, mention kmplayer and
28999 kaffeine since they have a working GStreamer backend in the KDE
29002 2005-06-30 Wim Taymans <wim@fluendo.com>
29005 * docs/design/draft-ghostpads.txt:
29006 * docs/design/draft-push-pull.txt:
29007 * docs/design/draft-query.txt:
29008 * docs/design/part-TODO.txt:
29009 * docs/design/part-query.txt:
29010 Added CHANGES-0.9 doc, updated status of other docs.
29015 2005-06-30 Wim Taymans <wim@fluendo.com>
29017 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
29018 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
29019 (gst_base_sink_change_state):
29020 * gst/base/gstbasesink.h:
29021 Some tweaks, only EOS and a buffer complete a preroll.
29023 2005-06-30 Andy Wingo <wingo@pobox.com>
29025 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
29026 activate_push down to the internal pad as well.
29028 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
29030 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29032 * gst/gsttaginterface.c:
29033 Some documentation fixes (#307394 and #307397).
29035 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
29037 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29039 * gst/gstvalue.c: (gst_value_intersect_list):
29040 Fix memleak (#309125).
29042 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29044 * docs/manual/advanced-dataaccess.xml:
29045 Fix fakesrc example to compile; doesn't work, bug somewhere...?
29046 * docs/manual/basics-pads.xml:
29047 Add reference for filtered caps to above chapter.
29049 2005-06-30 Wim Taymans <wim@fluendo.com>
29051 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
29052 (gst_bin_change_state):
29054 Lame attempt at making the state change function a bit
29057 2005-06-30 Wim Taymans <wim@fluendo.com>
29059 * docs/design/part-clocks.txt:
29060 * docs/design/part-element-sink.txt:
29061 * docs/design/part-events.txt:
29062 * docs/design/part-preroll.txt:
29063 * docs/design/part-states.txt:
29064 Some more tweeks and additions to the docs.
29066 2005-06-30 Wim Taymans <wim@fluendo.com>
29068 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
29069 (default_have_data), (gst_pad_class_init), (gst_pad_init),
29070 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
29071 (gst_pad_check_pull_range), (gst_pad_get_range),
29072 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
29074 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
29075 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
29076 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
29077 (gst_pad_remove_buffer_probe):
29078 Removed atomic operations, use existing LOCK.
29079 Move exception handling out of main code path.
29081 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29083 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
29084 (silly_return_true_function), (gst_pad_class_init),
29085 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
29086 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
29087 (gst_pad_send_event):
29088 Fix accumulator, add default value by using _emitv() instead
29089 of _emit() for signal emission.
29091 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29093 * docs/manual/advanced-dataaccess.xml:
29094 * examples/manual/Makefile.am:
29096 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
29099 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
29101 * gst/elements/gstfilesink.c: (gst_filesink_render):
29102 Simplify code so that we don't have to handle short
29103 writes and return GST_FLOW_ERROR if an error occured.
29105 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29107 * docs/gst/gstreamer-docs.sgml:
29108 Remove probes more.
29110 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29112 * docs/gst/gstreamer-sections.txt:
29113 * docs/gst/tmpl/gstpad.sgml:
29114 * docs/gst/tmpl/gstprobe.sgml:
29116 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
29117 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
29118 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
29119 (gst_pad_push_event), (gst_pad_send_event):
29121 * gst/gstutils.c: (gst_pad_add_data_probe),
29122 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
29123 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
29124 (gst_pad_remove_buffer_probe):
29126 Remove old probes, add new g-signal-based probes and some utility
29129 2005-06-29 Edward Hervey <edward@fluendo.com>
29131 * gst/gstelementfactory.c:
29134 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
29135 the definition to the header file.
29137 2005-06-29 Andy Wingo <wingo@pobox.com>
29139 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
29140 plugins from the source directory.
29142 2005-06-29 Wim Taymans <wim@fluendo.com>
29144 * docs/gst/tmpl/gstbuffer.sgml:
29145 * docs/gst/tmpl/gstclock.sgml:
29146 Some fixings for blantently wrong text.
29148 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
29150 * check/Makefile.am:
29151 * gst/gst.c: (add_path_func), (init_pre):
29152 * gst/gstregistry.c: (gst_registry_add_path):
29153 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
29154 only scan the GST_PLUGIN_PATH locations, and not add
29157 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
29159 * docs/gst/gstreamer-sections.txt:
29160 * docs/gst/tmpl/gstbasesrc.sgml:
29161 * gst/gstelement.c:
29162 * gst/gstelement.h:
29167 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29169 * docs/manual/advanced-autoplugging.xml:
29170 Fix autoplugging example.
29172 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29174 * docs/manual/advanced-autoplugging.xml:
29175 * docs/manual/mime-world.fig:
29176 Try to get autoplugging working, fix type detection. Fix text
29177 in hello-world image.
29179 2005-06-29 Wim Taymans <wim@fluendo.com>
29181 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
29182 (gst_base_sink_change_state):
29186 map SIGNAL and BROADCAST to the right function.
29189 Remove redundant braces.
29191 * gst/gstpad.c: (gst_pad_set_caps):
29192 Don't call setcaps function when reseting caps to NULL.
29194 * gst/gstsystemclock.c: (gst_system_clock_dispose),
29195 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
29196 (gst_system_clock_id_unschedule):
29197 Use BROADCAST as this is what we do.
29199 2005-06-29 Wim Taymans <wim@fluendo.com>
29201 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
29202 We are actually prerolling before commiting the state
29205 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29207 * docs/manual/advanced-clocks.xml:
29208 * docs/manual/advanced-interfaces.xml:
29209 * docs/manual/advanced-metadata.xml:
29210 * docs/manual/advanced-position.xml:
29211 * docs/manual/advanced-schedulers.xml:
29212 * docs/manual/advanced-threads.xml:
29213 * docs/manual/appendix-porting.xml:
29214 * docs/manual/basics-bins.xml:
29215 * docs/manual/basics-bus.xml:
29216 * docs/manual/basics-elements.xml:
29217 * docs/manual/basics-helloworld.xml:
29218 * docs/manual/basics-pads.xml:
29219 * docs/manual/highlevel-components.xml:
29220 * docs/manual/manual.xml:
29221 * docs/manual/thread.fig:
29222 Update (until threads/scheduling) Application Development Manual;
29223 remove GstThread, add GstBus, add simple porting checklist, add
29224 documentation for tag writing, clocks, make all examples until this
29225 part compile and run.
29226 * examples/manual/Makefile.am:
29227 Update from changes to Application Development Manual; add bus
29228 example, remove thread example.
29230 2005-06-28 Wim Taymans <wim@fluendo.com>
29232 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
29233 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
29234 (gst_bus_source_dispatch):
29235 Add debugging messages.
29236 Make internal methods static.
29237 Handle the case where the bus is flushed in the handler.
29239 * gst/gstelement.c: (gst_element_get_bus):
29240 Fix refcount in _get_bus();
29242 * gst/gstpipeline.c: (gst_pipeline_change_state),
29243 (gst_pipeline_get_clock_func):
29244 Clock refcounting fixes.
29245 Handle the case where preroll timed out more gracefully.
29247 * gst/gstsystemclock.c: (gst_system_clock_dispose):
29248 Clean up the internal thread in dispose. This is needed
29249 for subclasses that actually get disposed.
29251 * gst/schedulers/threadscheduler.c:
29252 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29253 (gst_thread_scheduler_dispose):
29254 Free thread pool in dispose.
29256 2005-06-28 Andy Wingo <wingo@pobox.com>
29258 * tests/network-clock-utils.scm (debug, print-event): New utils.
29260 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
29261 (*packet-loss*): Unified loss probability.
29262 (network-time): Report out-of-band events.
29264 * tests/plot-data: Add support for out-of-band events. Hack it
29265 into this script instead of passing it down the pipe; should fix
29268 2005-06-28 Wim Taymans <wim@fluendo.com>
29270 * docs/gst/gstreamer.types:
29271 * docs/gst/tmpl/gstbasesrc.sgml:
29272 * docs/gst/tmpl/gstpad.sgml:
29275 2005-06-28 Wim Taymans <wim@fluendo.com>
29277 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29278 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
29279 (gst_proxy_pad_do_fixatecaps):
29280 Correctly proxy the check_pull_range function.
29282 2005-06-28 Andy Wingo <wingo@pobox.com>
29284 * tests/network-clock.scm: Removed need for slib.
29286 2005-06-28 Wim Taymans <wim@fluendo.com>
29288 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
29289 (gst_basesink_preroll_queue_flush):
29290 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
29291 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
29292 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29293 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
29294 (gst_proxy_pad_set_property):
29297 * gst/gstqueue.c: (gst_queue_init):
29298 The deprecated pad loop function is removed now.
29300 2005-06-28 Andy Wingo <wingo@pobox.com>
29302 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
29303 New parameters, simulate network packet loss.
29305 * tests/network-clock-utils.scm: Initialize the RNG.
29307 2005-06-28 Wim Taymans <wim@fluendo.com>
29309 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
29310 (gst_basesink_event), (gst_basesink_deactivate):
29311 Flushing the preroll queue always needs to unlock the waiters.
29313 2005-06-28 Edward Hervey <edward@fluendo.com>
29315 * gst/gstpipeline.c: (gst_pipeline_send_event):
29316 Wheen a seek was successful on a pipeline, set the stream_time to the
29317 seek offset in order to have a synchronized stream_time.
29319 2005-06-28 Wim Taymans <wim@fluendo.com>
29321 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29322 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
29323 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
29324 (gst_proxy_pad_do_fixatecaps):
29325 Call wrapper function instead of just calling the function
29326 pointers. This takes care of any locking and whatmore.
29328 2005-06-28 Wim Taymans <wim@fluendo.com>
29330 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
29331 (gst_pad_pull_range):
29333 CONNECTED -> LINKED.
29335 2005-06-28 Andy Wingo <wingo@pobox.com>
29337 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
29338 source-munging commit!!!
29340 * gst/gstobject.c (gst_object_unref, gst_object_ref)
29341 (gst_object_sink): Take gpointer arguments, not GstObject --
29342 avoids casts. Like GLib.
29344 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
29347 2005-06-27 Andy Wingo <wingo@pobox.com>
29349 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
29352 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
29353 returns a sorted copy of the trace list.
29354 (gst_alloc_trace_print_live): New API, only prints traces with
29355 live objects. Sort the list.
29356 (gst_alloc_trace_print_all): Sort the list.
29357 (gst_alloc_trace_print): Align columns.
29359 * gst/elements/gstttypefindelement.c:
29360 * gst/elements/gsttee.c:
29361 * gst/base/gstbasesrc.c:
29362 * gst/base/gstbasesink.c:
29363 * gst/base/gstbasetransform.c:
29364 * gst/gstqueue.c: Adapt for pad activation changes.
29366 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
29368 (gst_pipeline_dispose): Drop ref on sched.
29370 * gst/gstpad.c (gst_pad_init): Set the default activate func.
29371 (gst_pad_activate_default): Push mode by default.
29372 (pre_activate_switch, post_activate_switch): New stubs, things to
29373 do before and after switching activation modes on pads.
29374 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
29375 the pad's activate function to choose which mode to activate.
29376 Shortcut on deactivation and call the right function directly.
29377 (gst_pad_activate_pull): New API, (de)activates a pad in pull
29379 (gst_pad_activate_push): New API, same for push mode.
29380 (gst_pad_set_activate_function)
29381 (gst_pad_set_activatepull_function)
29382 (gst_pad_set_activatepush_function): Setters for new API.
29384 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
29385 Trace all miniobjects.
29386 (gst_mini_object_make_writable): Unref the arg if we copy, like
29387 gst_caps_make_writable.
29389 * gst/gstmessage.c (_gst_message_initialize): No trace init.
29391 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
29392 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
29393 Adapt for new pad API.
29395 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
29397 * gst/gstelement.h:
29398 * gst/gstelement.c (gst_element_iterate_src_pads)
29399 (gst_element_iterate_sink_pads): New API functions.
29401 * gst/gstelement.c (iterator_fold_with_resync): New utility,
29402 should fold into gstiterator.c in some form.
29403 (gst_element_pads_activate): Simplified via use of fold and
29404 delegation of decisions to gstpad->activate.
29406 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
29409 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
29410 class once in init, like gstmessage. Didn't run into this issue
29411 but it seems correct. Don't initialize a trace, gstminiobject does
29414 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
29415 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
29417 (assert_live_count): New util function, uses alloc traces to check
29420 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
29421 To be modified when unlink drops the internal pad.
29423 2005-06-27 Wim Taymans <wim@fluendo.com>
29425 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
29426 (gst_bin_change_state):
29427 Cleanup the get_state() function a little, make sure it
29428 iterates the same set of elements.
29429 Added stub iterate_state_order().
29431 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
29433 * docs/gst/gstreamer-docs.sgml:
29434 * docs/gst/gstreamer-sections.txt:
29435 * docs/gst/gstreamer.types:
29436 * docs/gst/tmpl/gstbasesink.sgml:
29437 * docs/gst/tmpl/gstbasesrc.sgml:
29438 * docs/gst/tmpl/gstbasetransform.sgml:
29439 * docs/gst/tmpl/gstelement.sgml:
29440 * docs/gst/tmpl/gstiterator.sgml:
29441 * gst/base/gstbasesrc.c:
29442 * gst/base/gstbasesrc.h:
29443 * gst/base/gstbasetransform.h:
29444 * gst/gstelement.c:
29445 * gst/gstiterator.h:
29446 adding basetransform and iterator docs
29448 2005-06-27 Andy Wingo <wingo@pobox.com>
29450 * docs/design/part-activation.txt: Notes on how activation should
29451 work -- not quite implemented yet.
29453 2005-06-25 Wim Taymans <wim@fluendo.com>
29455 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
29456 At least get the chain function correct, needs more
29459 2005-06-25 Wim Taymans <wim@fluendo.com>
29461 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29462 (gst_basesink_handle_object), (gst_basesink_event),
29463 (gst_basesink_do_sync), (gst_basesink_handle_event),
29464 (gst_basesink_change_state):
29466 Right, two problems here: ghostpads don't take locks and
29467 glib _rec_mutex_lock_full() with depth==0 still locks.
29468 Catch illegal locking and g_warn them.
29470 2005-06-25 Wim Taymans <wim@fluendo.com>
29472 * check/states/sinks.c: (START_TEST), (gst_object_suite):
29473 Have to check for completion now...
29475 2005-06-25 Wim Taymans <wim@fluendo.com>
29477 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29478 (gst_basesink_handle_object), (gst_basesink_event),
29479 (gst_basesink_do_sync), (gst_basesink_handle_event),
29480 (gst_basesink_change_state):
29482 Unlock STREAM_LOCK whatever the recursion was.
29484 2005-06-25 Wim Taymans <wim@fluendo.com>
29486 * gst/base/gstbasesink.c: (gst_basesink_set_property),
29487 (gst_basesink_preroll_queue_empty),
29488 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
29489 (gst_basesink_event), (gst_basesink_do_sync),
29490 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
29491 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
29492 (gst_basesink_change_state):
29493 Reworked the base sink, handle event and buffer serialisation
29494 correctly and removed possible deadlock.
29495 Handle EOS correctly.
29497 2005-06-25 Wim Taymans <wim@fluendo.com>
29499 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
29500 (gst_pipeline_change_state):
29501 * tools/gst-launch.c: (check_intr), (event_loop), (main):
29502 Allow elements to post EOS in the state change function.
29503 Fix up -launch, make it exit the poll loop when the
29504 pipeline actually changed state.
29505 Fix up warning parsing in -launch.
29507 2005-06-25 Wim Taymans <wim@fluendo.com>
29509 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
29510 (gst_tee_sink_activate):
29511 Core takes STREAM_LOCK for us now.
29513 2005-06-25 Wim Taymans <wim@fluendo.com>
29515 * gst/gstelement.c: (gst_element_get_state_func),
29516 (gst_element_set_state):
29517 * gst/gstelement.h:
29518 * gst/gstmessage.c: (gst_message_parse_error),
29519 (gst_message_parse_warning):
29520 Keep track of current target state while performing a state
29521 change so that subclasses can do something interesting.
29522 Fix parsing of warning/error messages when GError is NULL.
29524 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
29526 * docs/gst/Makefile.am:
29527 * docs/gst/gstreamer-docs.sgml:
29528 * docs/gst/gstreamer-sections.txt:
29529 * docs/gst/gstreamer.types:
29530 * docs/gst/tmpl/gstbasesink.sgml:
29531 * docs/gst/tmpl/gstbasesrc.sgml:
29532 * docs/gst/tmpl/gstbin.sgml:
29533 * docs/gst/tmpl/gstcompat.sgml:
29534 * docs/gst/tmpl/gstfakesink.sgml:
29535 * docs/gst/tmpl/gstfakesrc.sgml:
29536 * docs/gst/tmpl/gstfilesink.sgml:
29537 * docs/gst/tmpl/gstfilesrc.sgml:
29538 * docs/gst/tmpl/gstindex.sgml:
29539 * docs/manual/appendix-quotes.xml:
29540 * gst/base/gstbasesrc.h:
29541 * gst/elements/gstfakesrc.h:
29542 * gst/gstmessage.h:
29543 start pulling in base classes and elements in our docs
29545 2005-06-24 Stefan Kost <ensonic@users.sf.net>
29547 * docs/gst/Makefile.am:
29548 * docs/libs/Makefile.am:
29549 fixed make distcheck with gtk-doc 1.3
29551 2005-06-23 Wim Taymans <wim@fluendo.com>
29553 * gst/gstelement.c: (gst_element_get_state_func),
29554 (gst_element_set_state), (gst_element_change_state):
29555 When the state did not change, also report NO_PREROLL
29558 2005-06-23 Wim Taymans <wim@fluendo.com>
29560 * gst/gstpad.c: (gst_pad_event_default):
29561 * gst/gstqueue.c: (gst_queue_loop):
29562 No unsafe task pausing please.
29564 2005-06-23 Wim Taymans <wim@fluendo.com>
29566 * gst/schedulers/threadscheduler.c:
29567 (gst_thread_scheduler_task_start),
29568 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
29569 Ref the task before pushing it on the threadpool. This
29570 makes sure that we have a ref when the threadfunction is
29573 2005-06-23 Andy Wingo <wingo@pobox.com>
29575 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
29576 offset is greater than the file's size.
29578 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
29579 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
29580 * gst/gstobject.c (gst_object_class_init): Make the class lock
29581 recursive. Wim won't let me drop deep_notify. Decodebin works
29582 again, whoopdy doo.
29584 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
29585 internal pad, and hacks accordingly. Doesn't do it on the target
29586 pad because we change its caps. Probably catches all cases of
29588 (gst_ghost_pad_set_property): Connect to notify::caps as
29591 * tests/network-clock.scm (plot-simulation): Pipe data to the
29592 elite python skript.
29594 * tests/network-clock-utils.scm (define-parameter): New macro,
29595 defines a parameter that can be set via the command line.
29596 (set-parameter!, parse-parameter-arguments): Command line args
29599 * tests/plot-data: Simple matplotlib-based plotter, takes input on
29602 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
29604 * gst/elements/gsttypefindelement.c:
29605 (gst_type_find_element_handle_event):
29606 Don't restart typefinding on a discont.
29607 * gst/gstelement.c: (gst_element_set_state):
29608 Debug spelling fix.
29609 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
29610 Allow changing mode of an active pad.
29611 Debug output fixes.
29612 * gst/registries/gstlibxmlregistry.c: (load_feature):
29613 Don't cast a static pad template to a normal pad template.
29615 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
29617 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29618 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29619 remove gst_strtoll completely, since it didn't actually do
29620 anything more than what g_ascii_strtoull already does.
29621 check for range errors when deserializing
29622 do a cast for the unsigned cases; but further fixing needs
29623 a decision on what the interpretation of "(int)" and
29624 deserialization should be for values that fall outside the
29625 type's boundaries (ie, refuse, or interpret as casting)
29627 2005-06-23 Wim Taymans <wim@fluendo.com>
29629 * check/Makefile.am:
29630 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
29631 * docs/design/part-live-source.txt:
29632 * docs/design/part-states.txt:
29633 * gst/base/gstbasesrc.c: (gst_basesrc_init),
29634 (gst_basesrc_set_live), (gst_basesrc_is_live),
29635 (gst_basesrc_get_range), (gst_basesrc_activate),
29636 (gst_basesrc_change_state):
29637 * gst/base/gstbasesrc.h:
29638 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29639 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29640 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
29641 * gst/gstelement.c: (gst_element_get_state_func),
29642 (gst_element_set_state):
29643 * gst/gstelement.h:
29645 * tools/gst-launch.c: (event_loop), (main):
29646 Added support for live sources and other elements that
29648 Updated design docs, added live-source design doc.
29649 Implemented live source functionality in basesrc
29650 Fix error condition in _bin_get_state()
29651 Implement live source handling in -launch.
29652 Added check for live sources.
29653 Fixed case in GstBin where elements were changed state
29657 2005-06-23 Andy Wingo <wingo@pobox.com>
29659 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
29660 borken refcounting.
29662 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
29663 gst_caps_replace takes care of this for us.
29665 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
29666 gst_pad_set_caps on the target, not just its setcaps() function.
29668 * tests/network-clock.scm:
29669 * tests/network-clock-utils.scm: A network clock simulator.
29670 Something of an algorithmic testbed before doing something in C.
29672 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29674 * check/Makefile.am:
29675 * check/gst/capslist.h:
29676 copy over from 0.8, and add two with bitmasks specified with
29678 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29679 add test to parse everything from capslist.h
29680 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
29682 add test for structure deserialization
29683 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29684 add tests for deserialization of strings to int types
29685 * gst/gststructure.c: (gst_structure_nth_field_name):
29686 * gst/gststructure.h:
29687 add a way to get the name of a field referenced by index
29688 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29689 instead of checking if the resulting long long lies between
29690 min and max, we check if the long long would fit into
29691 a number of bytes for the final type.
29692 This fixes cases where a string represents 2^32 - 1, which
29693 when cast to int would be the (valid) -1, but is bigger than
29696 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29698 * gst/parse/grammar.y:
29699 add a log line for type deserialization
29701 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29703 * check/gst/gstvalue.c: (START_TEST):
29704 * gst/gstvalue.c: (gst_value_deserialize):
29705 return long long, not int, so gint64 deserialization actually
29706 works. Is there any flag that makes the compiler check this ?
29709 2005-06-22 Wim Taymans <wim@fluendo.com>
29712 Added convenience macros for setting buffers in GValue.
29714 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
29716 * check/gst/.cvsignore:
29717 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29718 add a test deserializing int64, and comment part out because
29721 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
29723 * check/Makefile.am:
29724 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
29725 * testsuite/Makefile.am:
29726 * testsuite/caps/Makefile.am:
29727 * testsuite/caps/value_serialize.c:
29728 * testsuite/test_gst_init.c:
29729 move a value_serialize test over
29731 2005-06-20 Wim Taymans <wim@fluendo.com>
29736 * gst/gstvalue.c: (gst_value_compare_buffer),
29737 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
29738 (gst_value_compare_flags), (gst_value_serialize_flags),
29739 (gst_value_deserialize_flags), (_gst_value_initialize):
29740 Fix serialisation of buffers, they are not boxed types anymore
29742 2005-06-20 Wim Taymans <wim@fluendo.com>
29744 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29745 Testcase to show error in buffer-on-caps serialisation.
29747 2005-06-20 Andy Wingo <wingo@pobox.com>
29749 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
29750 will be adding to later.
29752 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
29753 if its socks fill with rocks.
29754 (gst_system_clock_obtain): Set the name on object construction.
29755 Avoid double-checked locking.
29757 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
29759 * gst/gsturi.c: (gst_element_make_from_uri):
29760 Fix potential endless loop.
29762 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29764 * check/Makefile.am:
29766 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
29768 move over from testsuite dir and clean up
29771 * testsuite/Makefile.am:
29772 * testsuite/tags/.cvsignore:
29773 * testsuite/tags/Makefile.am:
29774 * testsuite/tags/merge.c:
29775 remove testsuite/tags
29777 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29779 * docs/gst/gstreamer-sections.txt:
29780 * docs/gst/tmpl/gstenumtypes.sgml:
29781 * win32/gstenumtypes.c:
29782 clean up documentation build a little
29784 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29786 * check/gstcheck.h:
29787 add macros for checking refcounts on objects and caps
29788 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
29789 add some more unit tests
29790 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
29791 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
29792 fix leaked refcounts (I hope :)) so unittest works
29796 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29798 * configure.ac: back to HEAD
29800 === release 0.9.1 ===
29802 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
29808 2005-06-17 Andy Wingo <wingo@pobox.com>
29810 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
29811 assert; it's always possible that the pad gets deactivated in
29812 between the checks in gstpad.c and the implementation. Rely on
29813 finish_preroll() to return a FLUSHING or similar instead of on the
29816 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
29817 clock and post an EOS message if we come out of finish_preroll in
29820 2005-06-16 David Schleef <ds@schleef.org>
29822 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
29823 (gst_capsfilter_set_property): Allow NULL as possible value
29824 for filter_caps property, indicating GST_CAPS_ANY.
29826 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
29828 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
29830 * gst/schedulers/Makefile.am:
29832 * gstreamer.spec.in:
29835 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
29837 * gstreamer.spec.in:
29840 2005-06-08 Andy Wingo <wingo@pobox.com>
29842 * gst/gstutils.c: RPAD fixes all around.
29843 (gst_element_link_pads): Refcounting fixes.
29845 * tools/gst-inspect.c:
29846 * tools/gst-xmlinspect.c:
29848 * gst/base/gsttypefindhelper.c:
29849 * gst/base/gstbasesink.c:
29850 * gst/gstqueue.c: RPAD fixes.
29852 * gst/gstghostpad.h:
29853 * gst/gstghostpad.c: New ghost pad implementation as full proxy
29854 pads. The tricky thing is they provide both source and sink
29855 interfaces, since they proxy the internal pad for the external
29856 pad, and vice versa. Implement with lower-level ProxyPad objects,
29857 with the interior proxy pad as a child of the exterior ghost pad.
29858 Should write a doc on this.
29860 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
29861 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
29864 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
29865 pads are real pads. No ghost pads in this file. Not documenting
29866 the myriad s/RPAD/PAD/ and REALIZE fixes.
29867 (gst_pad_class_init): Add properties for "direction" and
29868 "template". Both are construct-only, so they can't change during
29869 the life of the pad. Fixes properly deriving from GstPad.
29870 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
29871 derived objects, just set properties when creating the objects via
29873 (gst_pad_get_parent): Implement as a function, return NULL if the
29874 parent is not an element.
29875 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
29876 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
29878 * gst/gstobject.c (gst_object_class_init): Make name a construct
29879 property. Don't set it in the object init.
29881 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
29882 with UNKNOWN direction.
29883 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
29884 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
29885 (gst_element_remove_pad): Remove ghost-pad special cases.
29886 (gst_element_pads_activate): Remove rpad cruft.
29888 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
29889 catch the pad's-parent-not-an-element case.
29891 * gst/gst.h: Include gstghostpad.h.
29893 * gst/gst.c (init_post): No more real, ghost pads.
29895 * gst/Makefile.am: Add gstghostpad.[ch].
29897 * check/Makefile.am:
29898 * check/gst/gstbin.c:
29899 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
29900 into a bin creates ghost pads, and that the refcounts are right.
29901 Partly moved from gstbin.c.
29903 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29905 * check/gst-libs/.cvsignore:
29906 * check/gst/.cvsignore:
29907 * check/pipelines/.cvsignore:
29909 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
29910 (START_TEST), (cleanup_suite), (main):
29911 add some tests related to cleanup after running pipelines
29913 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29915 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
29916 add a testsuite for GstBuffer
29918 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29920 * gst/gstminiobject.h:
29921 add defines for accessing the refcount
29923 2005-06-03 Stefan Kost <ensonic@users.sf.net>
29925 * Makefile.am: added support for html unit test coverage reports
29927 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
29929 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
29930 Free existing caps if the capsfilter changes. Add a FIXME about
29931 setting those caps on the pads.
29933 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
29934 Before adding a ghost pad to a parent bin, check that there isn't
29935 already one for the element on the bin. Prevents infinite recursion
29936 when using decodebin in parse pipelines. Andy says he'll rewrite the
29937 way this works anyway, so ignore the hack.
29939 2005-06-02 Andy Wingo <wingo@pobox.com>
29941 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
29942 file size, pass it on to the type find helper.
29944 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
29945 segment_start and segment_end properly according to the seek
29946 method. Segment_end is still a bit flaky because offset can be
29947 negative for CUR and END cases, but it takes -1 as an "unset"
29950 2005-06-02 Wim Taymans <wim@fluendo.com>
29952 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
29953 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
29954 (gst_basesink_activate):
29955 * gst/base/gstbasesink.h:
29956 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29957 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29958 (gst_pad_query), (gst_pad_start_task):
29960 * gst/gstqueue.c: (gst_queue_bufferalloc),
29961 (gst_queue_handle_sink_event), (gst_queue_chain):
29962 Bufferalloc: return GstFlowReturn to more accuratly report
29963 why allocation failed.
29965 2005-06-02 Wim Taymans <wim@fluendo.com>
29967 * gst/gstpipeline.c: (gst_pipeline_send_event):
29968 Take snapshot of state without blocking.
29970 2005-06-02 Wim Taymans <wim@fluendo.com>
29972 * docs/design/part-TODO.txt:
29973 * docs/design/part-caps.txt:
29974 * docs/design/part-clocks.txt:
29975 * docs/design/part-negotiation.txt:
29976 * docs/design/part-preroll.txt:
29979 2005-05-30 Wim Taymans <wim@fluendo.com>
29981 * gst/elements/gstidentity.c: (gst_identity_event),
29982 (gst_identity_transform), (gst_identity_get_property):
29983 Protect last_message property as it is accessed from
29986 2005-05-30 Wim Taymans <wim@fluendo.com>
29988 * gst/gstelement.c: (gst_element_init),
29989 (gst_element_pads_activate), (gst_element_change_state):
29990 Slicker pad activation code.
29992 2005-05-30 Wim Taymans <wim@fluendo.com>
29995 * gst/gstelement.h:
29996 * gst/gstelementfactory.h:
29998 Move elementfactory methods to separate .h file.
30000 2005-05-30 Wim Taymans <wim@fluendo.com>
30002 * docs/design/part-overview.txt:
30003 * gst/gstsystemclock.h:
30004 Small typo fixes, doc updates.
30006 2005-05-30 Wim Taymans <wim@fluendo.com>
30008 * gst/gst.c: (gst_init_get_popt_table), (init_post),
30009 (init_popt_callback):
30010 Remove cpu-opt flag.
30012 2005-05-30 Wim Taymans <wim@fluendo.com>
30014 * gst/gstbuffer.c: (gst_subbuffer_finalize),
30015 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
30017 Avoid typechecking in places where not needed.
30018 Added accessor for malloc_data.
30020 2005-05-30 Wim Taymans <wim@fluendo.com>
30022 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
30023 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
30024 (gst_pad_configure_sink), (gst_pad_configure_src),
30025 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
30026 (gst_pad_start_task):
30027 Propagate errors from _set_caps() in configure_src/sink
30028 functions instead of returning TRUE.
30029 FLUSH events can travel up and downstream
30032 2005-05-30 Wim Taymans <wim@fluendo.com>
30034 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
30035 (gst_basesink_activate):
30036 Handle EOS in preroll.
30038 2005-05-30 Wim Taymans <wim@fluendo.com>
30040 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
30041 (gst_queue_loop), (gst_queue_handle_src_event):
30042 Remove old pieces of code
30043 Flushing the queue in an upstream event is a very bad idea.
30045 2005-05-26 Andy Wingo <wingo@pobox.com>
30047 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
30048 gst_value_set_mini_object so as to add a ref on the object (which
30049 will be removed when the value is unset).
30051 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
30052 arg type in ::handoff.
30054 * gst/gstelement.c (gst_element_change_state): Also deactivate
30055 pads in READY->NULL, just in case the element didn't make it to
30056 PAUSED. Wingo tested, Wim approved.
30058 2005-05-26 Wim Taymans <wim@fluendo.com>
30060 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30061 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
30062 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
30063 A flushing pad cannot be used to alloc_buffer from.
30065 2005-05-26 Wim Taymans <wim@fluendo.com>
30067 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
30068 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
30069 (gst_bus_source_dispatch), (gst_bus_source_finalize),
30070 (gst_bus_create_watch), (gst_bus_add_watch_full):
30072 Implement a real GSource and use g_main_context_wakeup() to
30073 signal new messages instead of the socketpair.
30075 2005-05-25 Wim Taymans <wim@fluendo.com>
30077 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
30078 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
30079 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30080 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
30081 (gst_pad_send_event), (gst_pad_start_task):
30082 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
30083 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
30084 (gst_queue_sink_activate), (gst_queue_src_activate),
30085 (gst_queue_change_state):
30087 Fix state changes for non sinks. We now change sinks, then elements
30088 with unconnected srcpads, then the rest.
30089 More efficient queue unlocking in flush and state changes.
30090 Set the pad activate mode even if it does not have an activate
30093 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30095 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
30096 Don't go in pull mode for non-seekable sources.
30097 * gst/elements/gsttypefindelement.h:
30098 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30099 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
30100 (free_entry), (stop_typefinding),
30101 (gst_type_find_element_handle_event), (find_peek),
30102 (gst_type_find_element_chain), (do_pull_typefind),
30103 (gst_type_find_element_change_state):
30104 Allow typefinding (w/o seeking) in push-mode, simplified version
30105 of what was in 0.8.
30106 * gst/gstutils.c: (gst_buffer_join):
30108 gst_buffer_join() from 0.8.
30110 2005-05-25 Wim Taymans <wim@fluendo.com>
30112 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30113 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
30114 (gst_pad_send_event), (gst_pad_start_task):
30115 Disable attempt at mode switching until it is figured out.
30117 2005-05-25 Wim Taymans <wim@fluendo.com>
30119 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
30120 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
30121 (gst_basesink_finish_preroll), (gst_basesink_chain),
30122 (gst_basesink_loop), (gst_basesink_activate),
30123 (gst_basesink_change_state):
30124 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
30125 (gst_basesrc_get_range), (gst_basesrc_loop),
30126 (gst_basesrc_activate):
30127 * gst/elements/gsttee.c: (gst_tee_sink_activate):
30128 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
30129 (gst_real_pad_init), (gst_real_pad_set_property),
30130 (gst_real_pad_get_property), (gst_pad_set_active),
30131 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
30132 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
30133 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
30134 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
30135 (gst_pad_event_default_dispatch), (gst_pad_event_default),
30136 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
30137 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
30138 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
30139 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
30140 (gst_pad_stop_task):
30142 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
30143 (gst_queue_loop), (gst_queue_src_activate):
30144 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
30145 (gst_task_get_state):
30147 * gst/schedulers/threadscheduler.c:
30148 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
30149 Implement gst_pad_pause/start/stop_task(), take STREAM lock
30151 Remove ACTIVE pad flag, use FLUSHING everywhere
30152 Added _pad_chain(), _pad_get_range() to call chain/getrange
30154 Add locks around IS_FLUSHING when reading.
30155 Take STREAM lock in chain(), get_range() functions so plugins
30156 don't need to take it anymore.
30160 2005-05-25 Wim Taymans <wim@fluendo.com>
30162 * tools/gst-launch.c: (event_loop):
30163 Unref message after using its contents instead of
30166 2005-05-24 Wim Taymans <wim@fluendo.com>
30168 * docs/design/draft-ghostpads.txt:
30169 * docs/design/draft-push-pull.txt:
30170 * docs/design/draft-query.txt:
30171 * docs/design/part-overview.txt:
30172 Docs updates, added general overview doc.
30174 2005-05-21 David Schleef <ds@schleef.org>
30176 * docs/gst/tmpl/old/GstBin.sgml:
30177 * docs/gst/tmpl/old/GstBuffer.sgml:
30178 * docs/gst/tmpl/old/GstCaps.sgml:
30179 * docs/gst/tmpl/old/GstClock.sgml:
30180 * docs/gst/tmpl/old/GstCompat.sgml:
30181 * docs/gst/tmpl/old/GstData.sgml:
30182 * docs/gst/tmpl/old/GstElement.sgml:
30183 * docs/gst/tmpl/old/GstEvent.sgml:
30184 * docs/gst/tmpl/old/GstIndex.sgml:
30185 * docs/gst/tmpl/old/GstStructure.sgml:
30186 * docs/gst/tmpl/old/GstTag.sgml:
30187 * docs/gst/tmpl/old/cothreads.sgml:
30188 * docs/gst/tmpl/old/cothreads_compat.sgml:
30189 * docs/gst/tmpl/old/gettext.sgml:
30190 * docs/gst/tmpl/old/gobject2gtk.sgml:
30191 * docs/gst/tmpl/old/grammar.tab.sgml:
30192 * docs/gst/tmpl/old/gst-i18n-app.sgml:
30193 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
30194 * docs/gst/tmpl/old/gst_private.sgml:
30195 * docs/gst/tmpl/old/gstaggregator.sgml:
30196 * docs/gst/tmpl/old/gstarch.sgml:
30197 * docs/gst/tmpl/old/gstatomic_impl.sgml:
30198 * docs/gst/tmpl/old/gstbufferstore.sgml:
30199 * docs/gst/tmpl/old/gstdata_private.sgml:
30200 * docs/gst/tmpl/old/gstdisksink.sgml:
30201 * docs/gst/tmpl/old/gstdisksrc.sgml:
30202 * docs/gst/tmpl/old/gstelementfactory.sgml:
30203 * docs/gst/tmpl/old/gstextratypes.sgml:
30204 * docs/gst/tmpl/old/gstfakesink.sgml:
30205 * docs/gst/tmpl/old/gstfakesrc.sgml:
30206 * docs/gst/tmpl/old/gstfdsink.sgml:
30207 * docs/gst/tmpl/old/gstfdsrc.sgml:
30208 * docs/gst/tmpl/old/gstfilesink.sgml:
30209 * docs/gst/tmpl/old/gstfilesrc.sgml:
30210 * docs/gst/tmpl/old/gsthttpsrc.sgml:
30211 * docs/gst/tmpl/old/gstidentity.sgml:
30212 * docs/gst/tmpl/old/gstindexfactory.sgml:
30213 * docs/gst/tmpl/old/gstmarshal.sgml:
30214 * docs/gst/tmpl/old/gstmd5sink.sgml:
30215 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
30216 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
30217 * docs/gst/tmpl/old/gstpadtemplate.sgml:
30218 * docs/gst/tmpl/old/gstpipefilter.sgml:
30219 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
30220 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
30221 * docs/gst/tmpl/old/gstshaper.sgml:
30222 * docs/gst/tmpl/old/gstspider.sgml:
30223 * docs/gst/tmpl/old/gstspideridentity.sgml:
30224 * docs/gst/tmpl/old/gststatistics.sgml:
30225 * docs/gst/tmpl/old/gsttee.sgml:
30226 * docs/gst/tmpl/old/gsttimecache.sgml:
30227 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
30228 * docs/gst/tmpl/old/gstxmlregistry.sgml:
30229 * docs/gst/tmpl/old/gthread-cothreads.sgml:
30230 * docs/gst/tmpl/old/types.sgml:
30231 I didn't intend to add these or check them in.
30233 2005-05-19 David Schleef <ds@schleef.org>
30235 * configure.ac: Use -no-common everywhere. In a sane world, it
30236 would be the default in libtool, because without it, you can't
30237 build DLLs on Windows.
30238 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
30239 * docs/gst/gstreamer-sections.txt:
30240 * docs/gst/tmpl/gstcpu.sgml:
30241 * docs/gst/tmpl/gstdata.sgml:
30242 * docs/gst/tmpl/gstthread.sgml:
30244 2005-05-19 David Schleef <ds@schleef.org>
30246 * gst/gstminiobject.c: (gst_value_set_mini_object),
30247 (gst_value_take_mini_object), (gst_value_get_mini_object):
30248 * gst/gstminiobject.h: Add GValue set/get functions.
30250 2005-05-19 Wim Taymans <wim@fluendo.com>
30252 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
30253 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
30254 (gst_subbuffer_init), (gst_buffer_is_span_fast):
30256 * gst/gstbus.c: (gst_bus_post):
30257 * gst/gstelement.c: (gst_element_get_random_pad):
30258 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
30259 Make subbufer unref the parent in finalize.
30260 some more debugging info.
30263 2005-05-19 Wim Taymans <wim@fluendo.com>
30265 * gst/base/gstbasesink.c: (gst_basesink_class_init),
30266 (gst_basesink_init), (gst_basesink_finalize),
30267 (gst_basesink_activate), (gst_basesink_change_state):
30268 Don't free preroll queue too early.
30270 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30274 Hi, I'm outdated. Please shoot me.
30276 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30278 * gst/gstpipeline.c: (gst_pipeline_send_event):
30279 Do not access variables after they have been deleted.
30281 2005-05-19 Wim Taymans <wim@fluendo.com>
30283 * tools/gst-inspect.c: (print_plugin_features):
30284 A plugin feature does unfortunatly not use the
30287 2005-05-18 Wim Taymans <wim@fluendo.com>
30289 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
30290 Port _span() functions to new subbuffers.
30292 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30294 * gst/gstbin.c: (gst_bin_add_func):
30295 Fix clock settery in bins when adding kids after the clock has
30298 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30300 * gst/elements/gstidentity.c: (gst_identity_class_init):
30301 Workaround until signals support GstMiniObject.
30303 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
30306 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
30308 2005-05-18 Wim Taymans <wim@fluendo.com>
30310 * gst/base/Makefile.am:
30311 * gst/base/gstadapter.c: (gst_adapter_base_init),
30312 (gst_adapter_class_init), (gst_adapter_init),
30313 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
30314 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
30315 (gst_adapter_flush), (gst_adapter_available),
30316 (gst_adapter_available_fast):
30317 * gst/base/gstadapter.h:
30318 Ported and added adapter to the base classes.
30320 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
30323 * gst/gstmessage.c:
30324 Make sure the class is reffed/unreffed once before threads can be
30325 used. Fixes #304551.
30327 2005-05-17 Wim Taymans <wim@fluendo.com>
30329 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
30330 (gst_basesink_chain_unlocked), (gst_basesink_activate):
30331 * gst/gstminiobject.c: (gst_mini_object_get_type),
30332 (gst_mini_object_free):
30333 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
30334 (gst_pad_push), (gst_pad_push_event):
30335 * gst/gstqueue.c: (gst_queue_change_state):
30336 Don't queue buffers in basesink when we are flushing.
30337 Unref buffer when flushing in basesink.
30338 Flush queue when going to READY
30339 Unref buffer when _push() returns an error.
30340 Don't free MiniObject instance when refcount is incremented
30341 in _finalize() so that we can recover objects.
30343 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
30345 * docs/manual/advanced-schedulers.xml:
30346 * docs/manual/appendix-checklist.xml:
30347 * docs/pwg/advanced-clock.xml:
30348 * docs/pwg/advanced-interfaces.xml:
30349 * docs/pwg/advanced-request.xml:
30350 * docs/pwg/advanced-types.xml:
30351 * docs/pwg/intro-preface.xml:
30352 * examples/plugins/example.c: (gst_example_get_type),
30353 (gst_example_class_init), (gst_example_chain),
30354 (gst_example_set_property), (gst_example_get_property),
30355 (gst_example_change_state), (plugin_init):
30356 * examples/plugins/example.h:
30359 2005-05-17 Wim Taymans <wim@fluendo.com>
30361 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
30362 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
30363 * gst/gstqueue.c: (gst_queue_change_state):
30364 Clear queue when going to READY.
30365 Remove IN_SETCAPS flag too.
30367 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
30369 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
30370 Remove implicit cast from gboolean to GstElementStateReturn;
30371 make sure we still return failure in paused => ready case if
30372 the parent class fails to change state and our own stop
30375 2005-05-17 Wim Taymans <wim@fluendo.com>
30377 * tools/gst-launch.c: (event_loop):
30378 Message was unreffed too soon.
30380 2005-05-16 Andy Wingo <wingo@pobox.com>
30382 * gst/gstbin.c (sink_iterator_filter): Err... um...
30384 * check/gst/gstbin.c (test_ghost_pads): New test for the
30385 ghosting-if-elements-not-in-same-bin behavior.
30387 2005-05-16 David Schleef <ds@schleef.org>
30389 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
30390 accessing refcount directly.
30392 2005-05-15 David Schleef <ds@schleef.org>
30394 * check/Makefile.am: remove GstData checks
30395 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
30396 * gst/Makefile.am: add miniobject, remove data
30397 * gst/gst.h: add miniobject, remove data
30398 * gst/gstdata.c: remove
30399 * gst/gstdata.h: remove
30400 * gst/gstdata_private.h: remove
30401 * gst/gsttypes.h: remove GstEvent and GstMessage
30402 * gst/gstelement.c: (gst_element_post_message): fix for API changes
30403 * gst/gstmarshal.list: change BOXED -> OBJECT
30405 Implement GstMiniObject.
30406 * gst/gstminiobject.c:
30407 * gst/gstminiobject.h:
30409 Modify to be subclasses of GstMiniObject.
30410 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
30411 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
30412 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
30413 (gst_subbuffer_get_type), (gst_subbuffer_init),
30414 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
30417 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
30418 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
30419 (_gst_event_copy), (gst_event_new):
30421 * gst/gstmessage.c: (_gst_message_initialize),
30422 (gst_message_get_type), (gst_message_class_init),
30423 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
30424 (gst_message_new), (gst_message_new_error),
30425 (gst_message_new_warning), (gst_message_new_tag),
30426 (gst_message_new_state_changed), (gst_message_new_application):
30427 * gst/gstmessage.h:
30428 * gst/gstprobe.c: (gst_probe_perform),
30429 (gst_probe_dispatcher_dispatch):
30431 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
30432 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
30433 (_gst_query_copy), (gst_query_new):
30435 Update elements for GstData -> GstMiniObject changes
30437 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
30438 (gst_queue_chain), (gst_queue_loop):
30439 * gst/elements/gstbufferstore.c:
30440 (gst_buffer_store_add_buffer_func),
30441 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
30442 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30443 (gst_fakesink_render):
30444 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
30445 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
30446 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
30447 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
30448 (gst_filesrc_create_read):
30449 * gst/elements/gstidentity.c: (gst_identity_class_init):
30450 * gst/elements/gsttypefindelement.c:
30451 (gst_type_find_element_src_event), (free_entry_buffers),
30452 (gst_type_find_element_handle_event):
30453 * libs/gst/dataprotocol/dataprotocol.c:
30454 (gst_dp_header_from_buffer):
30455 * libs/gst/dataprotocol/dataprotocol.h:
30456 * libs/gst/dataprotocol/dp-private.h:
30458 2005-05-15 David Schleef <ds@schleef.org>
30460 * gst/elements/gstelements.c: Don't include headers that were
30463 2005-05-15 David Schleef <ds@schleef.org>
30465 * gst/elements/Makefile.am: Remove some elements that don't
30466 need to be in the core (or even exist at all).
30467 * gst/elements/gstaggregator.c:
30468 * gst/elements/gstaggregator.h:
30469 * gst/elements/gstmd5sink.c:
30470 * gst/elements/gstmd5sink.h:
30471 * gst/elements/gstmultifilesrc.c:
30472 * gst/elements/gstmultifilesrc.h:
30473 * gst/elements/gstpipefilter.c:
30474 * gst/elements/gstpipefilter.h:
30475 * gst/elements/gstshaper.c:
30476 * gst/elements/gstshaper.h:
30477 * gst/elements/gststatistics.c:
30478 * gst/elements/gststatistics.h:
30479 * po/POTFILES.in: Remove above files.
30481 2005-05-14 Andy Wingo <wingo@pobox.com>
30483 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
30484 so as to get the refs right.
30485 (sink_iterator_filter): New function, wraps bin_element_is_sink,
30486 unreffing objects that don't pass the filter.
30488 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
30489 gst_element_set_bus.
30490 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
30491 normal cases, this will destroy the bus.
30493 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
30496 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
30499 2005-05-13 Andy Wingo <wingo@pobox.com>
30501 * gst/gstutils.c (gst_element_link_pads): Instead of calling
30502 gst_pad_link, call pad_link_maybe_ghosting,
30503 (pad_link_maybe_ghosting): Links pads, making sure that the
30504 elements being linked are in the same bin.
30505 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
30506 Helpers for pad_link_maybe_ghosting.
30508 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
30511 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
30513 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
30515 * docs/design/part-element-source.txt:
30518 2005-05-12 Wim Taymans <wim@fluendo.com>
30520 * gst/base/gstbasesink.c: (gst_basesink_init),
30521 (gst_basesink_activate):
30522 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
30523 (gst_basesrc_is_seekable):
30524 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
30525 (bin_element_is_sink), (gst_bin_change_state):
30526 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30527 * gst/gstelement.h:
30528 Identify sinks by their flag to avoid overly complicated
30530 Do state changes even for elements not reachable from the
30532 BaseSink is a sink now :)
30533 Some more debugging info in the basesrc.
30536 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30538 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
30539 Implement _query on a bin, similar to _send_event.
30541 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
30543 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
30544 Discont event offset format should be GST_FORMAT_BYTES,
30545 not GST_FORMAT_TIME.
30547 2005-05-12 Wim Taymans <wim@fluendo.com>
30549 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
30550 Same fix as Ronald's but without the signal.
30552 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30554 * gst/gstutils.c: (gst_element_query_position):
30555 No, an element is not a pad.
30557 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30559 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
30560 (gst_bin_get_state):
30561 If a child is removed from a bin while we remove the child from
30562 the bin and while we're retrieving its state, signal this to the
30563 get_state function so we abort the wait (instead of waiting for
30564 a timeout) and can immediately re-iterate over all other elements.
30566 2005-05-12 Wim Taymans <wim@fluendo.com>
30568 * gst/base/Makefile.am:
30569 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
30570 (gst_basesrc_start):
30571 * gst/base/gstbasesrc.h:
30572 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
30573 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
30574 (gst_pushsrc_init), (gst_pushsrc_create):
30575 * gst/base/gstpushsrc.h:
30576 Added is_seekable to BaseSrc
30577 Added simple PushSrc.
30579 2005-05-11 Wim Taymans <wim@fluendo.com>
30581 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30582 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30583 (gst_element_link_pads), (gst_element_query_position),
30584 (gst_element_query_convert), (intersect_caps_func),
30585 (gst_pad_query_position), (gst_pad_query_convert):
30586 Fix refcounting in utils function.
30587 No point in trying to activate a pad when it's added, it could
30588 be added from the state change function and then we deadlock, the
30589 element has to decide what to do.
30591 2005-05-10 Andy Wingo <wingo@pobox.com>
30593 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
30594 *all* the arguments.
30596 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
30597 stream lock if it's a FLUSH_DONE; normal flushes don't get the
30598 lock (according to the docs -- if this is wrong change the docs).
30600 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
30601 flush messages in the NULL state.
30603 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
30604 message immediately and return.
30605 (gst_bus_set_flushing): New function. If a bus is flushing, it
30606 flushes out any queued messages and immediately unrefs new
30607 messages. This is so when an element goes to NULL, all of the
30608 unhandled messages coming from it can be freed, and their
30609 references to the element dropped. In other words: message source
30610 ref considered harmful :P
30612 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
30613 we're finished with it.
30615 * gst/gstmessage.c (gst_message_new_state_changed):
30617 2005-05-10 Wim Taymans <wim@fluendo.com>
30619 * gst/gstvalue.c: (gst_value_compare_flags),
30620 (gst_value_serialize_flags), (gst_value_deserialize_flags),
30621 (_gst_value_initialize):
30622 Added flags serialize/deserialize/compare code.
30624 2005-05-09 Andy Wingo <wingo@pobox.com>
30626 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
30627 Intersect the peer's caps with our caps.
30629 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30631 * gst/base/gsttypefindhelper.c: (helper_find_peek):
30632 * gst/elements/gsttypefindelement.c: (find_peek):
30633 Handle negative offsets better. Fixes decodebin.
30635 2005-05-09 Wim Taymans <wim@fluendo.com>
30637 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
30638 (gst_base_transform_event):
30639 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
30640 Implement accept_caps.
30641 Fix silly lock/unlock mismatch in base class.
30643 2005-05-09 Wim Taymans <wim@fluendo.com>
30645 * docs/design/draft-push-pull.txt:
30646 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
30647 * gst/elements/gstfilesink.c: (gst_filesink_init),
30648 (gst_filesink_query):
30649 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30650 (gst_type_find_handle_src_query), (find_element_get_length):
30651 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
30652 * gst/gstelement.h:
30653 * gst/gstmessage.c:
30654 * gst/gstmessage.h:
30655 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
30656 (gst_real_pad_get_caps_unlocked),
30657 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
30658 (gst_pad_event_default_dispatch), (gst_pad_event_default),
30659 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
30660 (gst_real_pad_dispose), (gst_real_pad_finalize),
30661 (gst_pad_load_and_link), (gst_pad_save_thyself),
30662 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
30663 (gst_pad_check_pull_range), (gst_pad_pull_range),
30664 (gst_pad_template_get_type), (gst_pad_template_class_init),
30665 (gst_pad_template_init), (gst_pad_template_dispose),
30666 (name_is_valid), (gst_static_pad_template_get),
30667 (gst_pad_template_new), (gst_static_pad_template_get_caps),
30668 (gst_pad_template_get_caps), (gst_pad_set_element_private),
30669 (gst_pad_get_element_private), (gst_pad_start_task),
30670 (gst_pad_pause_task), (gst_pad_stop_task),
30671 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
30672 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
30673 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
30674 (gst_ghost_pad_new):
30676 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
30677 (gst_query_new_position), (gst_query_set_position),
30678 (gst_query_parse_position), (gst_query_new_convert),
30679 (gst_query_set_convert), (gst_query_parse_convert):
30681 * gst/gstqueryutils.c:
30682 * gst/gstqueryutils.h:
30683 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30684 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30685 (gst_queue_handle_src_query):
30686 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30687 (gst_element_query_position), (gst_element_query_convert),
30688 (intersect_caps_func), (gst_pad_query_position),
30689 (gst_pad_query_convert):
30691 * tools/gst-inspect.c: (print_pad_info):
30692 * tools/gst-xmlinspect.c: (print_element_info):
30693 Remove old query functions. Ported old code.
30694 Added position/convert helper functions to gstutils.
30695 Reordered gstpad.c code, grouping relevant things.
30696 Remove gst_message_new(), always need to speficy a specific
30700 2005-05-09 Andy Wingo <wingo@pobox.com>
30702 * gst/gstiterator.h: Add some includes.
30704 * gst/gstqueryutils.h: Include more headers.
30707 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
30708 some uses of gst_pad_query.
30710 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
30711 NULL out parameters.
30712 (gst_query_new_position): New proc, allocates a new position
30715 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
30716 gstqueryutils.c to the build.
30718 * gst/gststructure.c (gst_structure_set_valist): Implement with
30719 the generic G_VALUE_COLLECT.
30721 2005-05-08 Edward Hervey <bilboed@bilboed.com>
30723 * gst/Makefile.am: (gst_headers):
30724 Added gstqueryutils.h to the list of headers to install, that was
30725 a 'nachty' move wingo :)
30727 2005-05-06 Andy Wingo <wingo@pobox.com>
30730 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
30731 GstData, init a memchunk.
30732 (standard_definitions): Add a few query types, deprecate a few.
30733 (gst_query_get_type): New proc.
30734 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
30736 (gst_query_new_application, gst_query_get_structure): New public
30739 * docs/design/draft-query.txt: Removed LINKS from the query types,
30740 because all the rest can be dispatched to other pads -- seemed
30741 ugly to have a query that couldn't be dispatched. internal_links
30742 is fine as a pad method.
30744 * gst/gstpad.h: Add query2 as a pad method, add the new functions
30745 in gstpad.c, but maintain binary compatibility for the moment.
30746 Will fix before 0.9 is out.
30748 * gst/gstqueryutils.c:
30749 * gst/gstqueryutils.h: New files, implement 3 methods for each
30750 query type: parse_query, parse_response, and set. Probably need an
30753 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
30755 * gst/elements/gstfilesink.c (gst_filesink_query2):
30756 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
30757 query_types, and formats methods.
30759 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
30760 (gst_pad_set_query2_function): New functions.
30761 (gst_real_pad_init): Set query2_default as the default query2
30762 function. Basically just dispatches to internally linked pads.
30766 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
30767 without using the atomic operations. Only one thread can possibly
30768 be accessing the data at this point. Changed so as to avoid
30769 gst_atomic operations.
30771 2005-05-06 Wim Taymans <wim@fluendo.com>
30773 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
30774 Also set caps if we use the fallback buffer alloc.
30776 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
30778 * docs/gst/Makefile.am:
30779 * docs/gst/gstreamer-docs.sgml:
30780 * docs/gst/gstreamer-sections.txt:
30781 * docs/gst/tmpl/gstatomic.sgml:
30782 * docs/gst/tmpl/gstmemchunk.sgml:
30783 * testsuite/elements/struct_i386.h:
30784 * win32/GStreamer.vcproj:
30786 Purge GstAtomic stuff from docs and win32 makefiles as well
30788 2005-05-06 Wim Taymans <wim@fluendo.com>
30790 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
30791 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
30792 * gst/gstpad.c: (gst_pad_peer_get_caps):
30793 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30794 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30795 (gst_queue_src_activate), (gst_queue_change_state):
30797 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30798 (intersect_caps_func):
30799 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
30800 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
30801 Some fixes for the peer_get_caps() change.
30803 2005-05-06 Wim Taymans <wim@fluendo.com>
30805 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
30806 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
30807 (gst_basesink_activate):
30808 Actually do something with error codes returned from the push
30811 2005-05-06 Wim Taymans <wim@fluendo.com>
30813 * docs/design/part-element-sink.txt:
30814 * docs/design/part-element-source.txt:
30815 * gst/base/gstbasesink.c: (gst_basesink_class_init),
30816 (gst_basesink_event), (gst_basesink_activate):
30817 * gst/base/gstbasesink.h:
30818 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
30819 (gst_basesrc_activate):
30820 * gst/base/gstbasesrc.h:
30821 * gst/gstelement.c: (gst_element_pads_activate):
30822 Some more documentation.
30823 Fixed scheduling decision in _pads_activate().
30825 2005-05-05 Andy Wingo <wingo@pobox.com>
30827 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
30830 2005-05-05 Wim Taymans <wim@fluendo.com>
30832 * gst/base/Makefile.am:
30833 * gst/base/gstbasesink.h:
30834 * gst/base/gstbasesrc.c: (gst_basesrc_init),
30835 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
30836 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
30837 (gst_collectpads_class_init), (gst_collectpads_init),
30838 (gst_collectpads_finalize), (gst_collectpads_new),
30839 (gst_collectpads_set_function), (gst_collectpads_add_pad),
30840 (find_pad), (gst_collectpads_remove_pad),
30841 (gst_collectpads_is_active), (gst_collectpads_collect),
30842 (gst_collectpads_collect_range), (gst_collectpads_start),
30843 (gst_collectpads_stop), (gst_collectpads_peek),
30844 (gst_collectpads_pop), (gst_collectpads_available),
30845 (gst_collectpads_read), (gst_collectpads_flush),
30846 (gst_collectpads_chain):
30847 * gst/base/gstcollectpads.h:
30848 * gst/elements/Makefile.am:
30849 * gst/elements/gstelements.c:
30850 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30851 (gst_fakesink_get_times), (gst_fakesink_event),
30852 (gst_fakesink_preroll), (gst_fakesink_render):
30853 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
30854 (gst_filesink_init), (gst_filesink_set_location),
30855 (gst_filesink_open_file), (gst_filesink_close_file),
30856 (gst_filesink_pad_query), (gst_filesink_event),
30857 (gst_filesink_render), (gst_filesink_change_state):
30858 * gst/elements/gstfilesink.h:
30859 Added object to help in making collect pad based elements.
30861 Make event function in sink baseclass return gboolean.
30863 2005-05-05 Wim Taymans <wim@fluendo.com>
30865 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
30866 (gst_bin_get_by_name):
30868 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
30869 (gst_clock_finalize):
30870 * gst/gstdata.c: (gst_data_replace):
30872 * gst/gstelement.c: (gst_element_request_pad),
30873 (gst_element_pads_activate):
30874 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
30875 (gst_object_unref):
30876 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30877 (gst_pad_set_checkgetrange_function),
30878 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
30879 (gst_pad_check_pull_range), (gst_pad_pull_range),
30880 (gst_static_pad_template_get_caps), (gst_pad_start_task),
30881 (gst_pad_pause_task), (gst_pad_stop_task):
30882 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30883 (gst_element_request_pad), (gst_pad_proxy_getcaps):
30884 Fix name lookup in GstBin.
30885 Added _data_replace() function and _buffer_replace()
30886 Use finalize method to clean up clock.
30887 Fix refcounting on request pads.
30888 Fix pad schedule mode error.
30889 Some more object refcounting debug info,
30892 2005-05-04 Andy Wingo <wingo@pobox.com>
30894 * check/Makefile.am:
30895 * docs/gst/tmpl/gstatomic.sgml:
30896 * docs/gst/tmpl/gstplugin.sgml:
30897 * gst/base/gstbasesink.c: (gst_basesink_activate):
30898 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
30899 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
30900 (gst_basesrc_query), (gst_basesrc_set_property),
30901 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
30902 (gst_basesrc_activate):
30903 * gst/base/gstbasesrc.h:
30904 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
30905 (gst_base_transform_src_activate):
30906 * gst/elements/gstelements.c:
30907 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30908 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
30909 * gst/elements/gsttee.c: (gst_tee_sink_activate):
30910 * gst/elements/gsttypefindelement.c: (find_element_get_length),
30911 (gst_type_find_element_checkgetrange),
30912 (gst_type_find_element_activate):
30913 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
30914 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
30915 (gst_caps_load_thyself):
30916 * gst/gstelement.c: (gst_element_pads_activate),
30917 (gst_element_save_thyself), (gst_element_restore_thyself):
30918 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
30919 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
30921 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
30922 (gst_xml_parse_file), (gst_xml_parse_memory),
30923 (gst_xml_get_element), (gst_xml_make_element):
30924 * gst/indexers/gstfileindex.c: (gst_file_index_load),
30925 (_file_index_id_save_xml), (gst_file_index_commit):
30926 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
30927 (read_enum), (load_pad_template), (load_feature), (load_plugin),
30929 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
30930 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
30931 * tools/gst-complete.c: (main):
30932 * tools/gst-compprep.c: (main):
30933 * tools/gst-inspect.c: (print_element_properties_info):
30934 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
30935 * tools/gst-xmlinspect.c: (print_element_properties):
30938 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
30940 * gst/gstplugin.c: (gst_plugin_check_module),
30941 (gst_plugin_check_file), (gst_plugin_load_file):
30942 apply patch from #172526 to make register work on MacOSX
30944 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30946 * docs/gst/tmpl/gstconfig.sgml:
30947 * gst/gstconfig.h.in:
30948 move documentation for some symbols. Add doc for GST_PTR_FORMAT
30949 * testsuite/debug/printf_extension.c: (main):
30950 Do not use GST_PTR_FORMAT on pointers to types with
30951 sizeof < sizeof(gpointer). Fixes test on 64-bit
30952 * testsuite/elements/property.h:
30953 use correct printf format
30955 2005-05-02 Wim Taymans <wim@fluendo.com>
30957 * docs/design/draft-push-pull.txt:
30958 * docs/design/draft-query.txt:
30959 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
30960 (gst_basesrc_start):
30961 Added draft for new query API.
30962 Added draft for better selecting scheduling methods.
30963 Make basesrc ignore length if the subclass does not support
30966 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30969 possible fixes for automake-1.5 - _LIBADD is reserved
30971 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30973 * docs/faq/Makefile.am:
30974 * docs/manual/Makefile.am:
30975 * docs/manuals.mak:
30976 * docs/pwg/Makefile.am:
30978 possible fixes for automake-1.5
30980 2005-04-28 Wim Taymans <wim@fluendo.com>
30982 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30983 (gst_basesink_pad_getcaps), (gst_basesink_init),
30984 (gst_basesink_do_sync):
30985 * gst/gstclock.c: (gst_clock_entry_new):
30986 * gst/gstevent.c: (gst_event_discont_get_value):
30987 * gst/gstpipeline.c: (pipeline_bus_handler),
30988 (gst_pipeline_change_state):
30989 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
30990 Better debugging of clocking info.
30991 Allow NULL values when getting discont values.
30993 2005-04-27 Wim Taymans <wim@fluendo.com>
30995 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
30996 * check/gst/gstpad.c: (gst_pad_suite):
30997 Increase timeout for checks.
30999 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
31001 * check/Makefile.am:
31002 fix the broken rule for cleanup. Apparently this rule is
31003 only needed on FC2, so maybe this warrants further autotool
31006 2005-04-26 Wim Taymans <wim@fluendo.com>
31008 * gst/gsttrashstack.h:
31009 Ooohh. a nasty one! After having a failed pop() from the stack,
31010 it's possible that the stack is empty. In that case, don't
31011 follow the NULL pointer.
31013 2005-04-25 Wim Taymans <wim@fluendo.com>
31015 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31016 (gst_pad_set_checkgetrange_function),
31017 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
31018 (gst_pad_check_pull_range), (gst_pad_pull_range),
31019 (gst_static_pad_template_get_caps), (gst_pad_start_task),
31020 (gst_pad_pause_task), (gst_pad_stop_task):
31021 * gst/gstplugin.c: (gst_plugin_load):
31023 Remove gst_library_load as it does more harm than good with
31024 the new g_module flags.
31025 Revert bogus caps template check in pad linking, pad caps
31026 are important when linking not the template, which is more
31027 general than the current caps.
31029 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31031 * gst/autoplug/.cvsignore:
31032 * gst/autoplug/Makefile.am:
31033 * gst/autoplug/gstsearchfuncs.c:
31034 * gst/autoplug/gstsearchfuncs.h:
31035 * gst/autoplug/gstspider.c:
31036 * gst/autoplug/gstspider.h:
31037 * gst/autoplug/gstspideridentity.c:
31038 * gst/autoplug/gstspideridentity.h:
31039 * gst/autoplug/spidertest.c:
31042 2005-04-25 Wim Taymans <wim@fluendo.com>
31044 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31045 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
31046 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
31047 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
31049 Added stubs for unimplemented functions.
31051 2005-04-24 David Schleef <ds@schleef.org>
31053 * gst/gstpad.h: Disable some unimplemented functions. Wim,
31056 2005-04-24 David Schleef <ds@schleef.org>
31058 Convert everything from GstAtomicInt to g_atomic_int_*, and
31063 * gst/gstatomic_impl.h:
31071 * gst/gstdata_private.h:
31075 * gst/gstmessage.c:
31078 * gst/gststructure.c:
31079 * gst/gststructure.h:
31080 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
31083 2005-04-24 David Schleef <ds@schleef.org>
31085 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
31086 make the regressions tests work. Remove some code that is no
31088 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
31089 Disable warning for pads without templates.
31091 2005-04-24 David Schleef <ds@schleef.org>
31093 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
31094 functions that handle filtered links.
31095 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
31097 * gst/gstutils.c: Fix/remove utility functions that handle
31100 * gst/gstvalue.c: Add serialization/deserialization of caps
31101 * gst/parse/grammar.y: Ignore filtered caps when linking. This
31102 requires fixing so that the filter caps notation creates
31103 a capsfilter element and sets the filter_caps property. I
31104 think everyone probably wants to keep the shorthand notation.
31105 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
31106 * docs/gst/tmpl/gstpad.sgml:
31108 * gst/elements/gstelements.c: Register capsfilter element.
31109 * gst/Makefile.am: fix spacing
31110 * docs/random/ds/0.9-suggested-changes: random
31112 2005-04-23 David Schleef <ds@schleef.org>
31114 * gst/elements/Makefile.am:
31115 * gst/elements/gstcapsfilter.c: New element that acts like an
31116 identity, but filters caps. Will eventually replace filtered
31117 caps in pad linking.
31118 * gst/gstutils.c: (gst_element_create_all_pads): New function
31119 to create all the ALWAYS pads that are registered with an
31120 element class. This functionality should eventually be
31121 merged in with GstElement initialization.
31123 * testsuite/trigger/README: part of trigger test code that should
31124 have been checked in a long time ago.
31126 2005-04-23 David Schleef <ds@schleef.org>
31128 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
31129 needed with new versions of libtool (nobody will confirm this),
31130 and hard to carry around.
31131 * gst/autoplug/Makefile.am:
31132 * gst/base/Makefile.am:
31133 * gst/elements/Makefile.am:
31134 * gst/indexers/Makefile.am:
31135 * gst/schedulers/Makefile.am:
31136 * libs/gst/bytestream/Makefile.am:
31137 * libs/gst/control/Makefile.am:
31138 * libs/gst/dataprotocol/Makefile.am:
31139 * libs/gst/getbits/Makefile.am:
31141 2005-04-21 Wim Taymans <wim@fluendo.com>
31143 * docs/design/draft-push-pull.txt:
31144 * docs/design/part-MT-refcounting.txt:
31145 * docs/design/part-TODO.txt:
31146 * docs/design/part-caps.txt:
31147 * docs/design/part-events.txt:
31148 * docs/design/part-gstbus.txt:
31149 * docs/design/part-gstpipeline.txt:
31150 * docs/design/part-messages.txt:
31151 * docs/design/part-push-pull.txt:
31152 * docs/design/part-query.txt:
31155 2005-04-21 Wim Taymans <wim@fluendo.com>
31157 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
31158 (gst_message_new), (gst_message_new_error),
31159 (gst_message_new_warning), (gst_message_new_tag),
31160 (gst_message_new_state_changed), (gst_message_new_application),
31161 (gst_message_get_structure):
31162 * gst/gstmessage.h:
31163 * gst/gststructure.c: (gst_structure_set_parent_refcount),
31164 (gst_structure_copy_conditional):
31165 Use parent refcount in GstMessage to ensure GstStructure
31167 Cleaned up headers a bit.
31170 2005-04-20 Wim Taymans <wim@fluendo.com>
31172 * gst/base/gstbasesink.c: (gst_basesink_base_init),
31173 (gst_basesink_pad_getcaps), (gst_basesink_init),
31174 (gst_basesink_chain_unlocked):
31175 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
31176 (gst_type_find_helper):
31177 * gst/elements/gsttypefindelement.c:
31178 (gst_type_find_element_have_type), (gst_type_find_element_init),
31179 (stop_typefinding), (gst_type_find_element_handle_event),
31180 (find_suggest), (gst_type_find_element_chain),
31181 (gst_type_find_element_checkgetrange),
31182 (gst_type_find_element_getrange), (do_typefind),
31183 (gst_type_find_element_activate):
31184 * gst/gstbuffer.c: (_gst_buffer_sub_free),
31185 (gst_buffer_default_free), (gst_buffer_default_copy),
31186 (gst_buffer_set_caps):
31187 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
31188 (gst_caps_replace):
31189 * gst/gstmessage.c: (gst_message_new),
31190 (gst_message_new_state_changed):
31191 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31192 (gst_pad_set_checkgetrange_function),
31193 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
31194 (gst_pad_set_caps), (gst_pad_check_pull_range),
31195 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
31197 * gst/gsttypefind.c: (gst_type_find_register):
31198 Make gst_caps_replace() work like other _replace() functions.
31199 Use _caps_replace() where possible.
31200 Make sure _message_new() initialises its field.
31201 Add gst_static_pad_template_get_caps()
31204 2005-04-18 Andy Wingo <wingo@pobox.com>
31206 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
31207 on the peer, not the pad. I think that was a typo. Pass an extra
31208 arg to see if random access is possible. Activate the pads as
31209 PULL_RANGE if possible.
31211 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
31213 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
31214 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
31217 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31219 * docs/faq/using.xml:
31220 Add note on gstreamer-properties (#154996).
31222 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31224 * docs/random/bbb/optional-properties:
31225 Some analysis on optional properties.
31227 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31229 * docs/gst/tmpl/gstelementfactory.sgml:
31230 * gst/gstelement.h:
31231 * gst/gstelementfactory.c: (gst_element_factory_init),
31232 (gst_element_factory_cleanup), (gst_element_register),
31233 (__gst_element_factory_add_static_pad_template),
31234 (gst_element_factory_get_static_pad_templates),
31235 (gst_element_factory_can_src_caps),
31236 (gst_element_factory_can_sink_caps):
31237 * gst/registries/Makefile.am:
31238 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
31239 (gst_xml_registry_class_init), (gst_xml_registry_init),
31240 (gst_xml_registry_new), (gst_xml_registry_set_property),
31241 (gst_xml_registry_get_property), (get_time), (make_dir),
31242 (gst_xml_registry_get_perms_func),
31243 (plugin_times_older_than_recurse), (plugin_times_older_than),
31244 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
31245 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
31246 (add_to_char_array), (read_string), (read_uint), (read_enum),
31247 (load_pad_template), (load_feature), (load_plugin), (load_paths),
31248 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
31249 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
31250 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
31251 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
31252 (gst_xml_registry_rebuild):
31253 * gst/registries/gstlibxmlregistry.h:
31254 * tools/gst-compprep.c: (main):
31255 * tools/gst-inspect.c: (print_pad_templates_info):
31256 * tools/gst-xmlinspect.c: (print_element_info):
31257 Use libxml2 for registry parsing, use staticpadtemplates in
31258 elementfactories. Makes gst_init() +/- 10x faster.
31260 2005-04-12 Wim Taymans <wim@fluendo.com>
31262 * gst/base/Makefile.am:
31263 * gst/base/gstbasesink.c: (gst_basesink_base_init),
31264 (gst_basesink_pad_getcaps), (gst_basesink_init),
31265 (gst_basesink_event), (gst_basesink_change_state):
31266 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31267 (gst_basesrc_init), (gst_basesrc_query),
31268 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31269 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31270 (gst_basesrc_check_get_range), (gst_basesrc_loop),
31271 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31272 (gst_basesrc_stop), (gst_basesrc_activate),
31273 (gst_basesrc_change_state):
31274 * gst/base/gsttypefindhelper.c: (helper_find_peek),
31275 (helper_find_suggest), (gst_type_find_helper):
31276 * gst/base/gsttypefindhelper.h:
31277 * gst/elements/Makefile.am:
31278 * gst/elements/gstelements.c:
31279 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
31280 (gst_fakesink_get_times), (gst_fakesink_event),
31281 (gst_fakesink_preroll), (gst_fakesink_render):
31282 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31283 (gst_fakesrc_init), (gst_fakesrc_event_handler),
31284 (gst_fakesrc_get_property), (gst_fakesrc_create),
31285 (gst_fakesrc_start), (gst_fakesrc_stop):
31286 * gst/elements/gstfakesrc.h:
31287 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
31288 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31289 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31290 (gst_filesrc_create_read), (gst_filesrc_create),
31291 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
31292 (gst_filesrc_start):
31293 * gst/elements/gsttypefindelement.c:
31294 (gst_type_find_element_have_type), (gst_type_find_element_init),
31295 (start_typefinding), (stop_typefinding), (push_buffer_store),
31296 (gst_type_find_element_handle_event),
31297 (gst_type_find_element_chain),
31298 (gst_type_find_element_checkgetrange),
31299 (gst_type_find_element_getrange), (do_typefind),
31300 (gst_type_find_element_activate),
31301 (gst_type_find_element_change_state):
31302 * gst/elements/gsttypefindelement.h:
31303 * gst/gstpipeline.c: (pipeline_bus_handler):
31304 Added typefind helper.
31305 Small preroll fix in the base sink.
31306 Disable typefind code in basesrc.
31307 Crude port of typefindelement.
31311 2005-04-11 Wim Taymans <wim@fluendo.com>
31313 * check/gst/gstbus.c: (gstbus_suite):
31314 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
31315 * check/gstcheck.h:
31316 Fix up the timeout so that the test does not fail.
31318 2005-04-06 Wim Taymans <wim@fluendo.com>
31321 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31322 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
31323 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31324 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31325 (gst_basesrc_check_get_range), (gst_basesrc_loop),
31326 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31327 (gst_basesrc_stop), (gst_basesrc_activate),
31328 (gst_basesrc_change_state), (basesrc_find_peek),
31329 (basesrc_find_suggest), (gst_basesrc_type_find):
31330 * gst/base/gstbasesrc.h:
31331 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
31332 (gst_filesrc_class_init), (gst_filesrc_init),
31333 (gst_filesrc_finalize), (gst_filesrc_set_location),
31334 (gst_filesrc_set_property), (gst_filesrc_get_property),
31335 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31336 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31337 (gst_filesrc_create_read), (gst_filesrc_create),
31338 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
31339 * gst/elements/gstfilesrc.h:
31340 * gst/gstelement.c: (gst_element_get_state_func),
31341 (gst_element_lost_state), (gst_element_pads_activate):
31342 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31343 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
31344 (gst_pad_pull_range):
31346 More work on the generic source base class, implement seeking,
31348 Make filesrc extend the base source class.
31349 Added gst_pad_set_checkgetrange_function to GstPad.
31351 2005-04-06 Andy Wingo <wingo@pobox.com>
31353 * pkgconfig/gstreamer-base.pc.in:
31354 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
31356 * pkgconfig/Makefile.am:
31357 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
31359 2005-04-04 Wim Taymans <wim@fluendo.com>
31361 * gst/base/Makefile.am:
31363 * gst/base/gstbasesink.c: (gst_basesink_base_init),
31364 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31365 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31366 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
31367 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31368 (gst_basesrc_base_init), (gst_basesrc_class_init),
31369 (gst_basesrc_init), (gst_basesrc_get_formats),
31370 (gst_basesrc_get_query_types), (gst_basesrc_query),
31371 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
31372 (gst_basesrc_set_property), (gst_basesrc_get_property),
31373 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
31374 (gst_basesrc_loop), (gst_basesrc_activate),
31375 (gst_basesrc_change_state):
31376 * gst/base/gstbasesrc.h:
31377 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
31378 (gst_fakesrc_class_init), (gst_fakesrc_init),
31379 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
31380 (gst_fakesrc_get_property), (gst_fakesrc_create):
31381 * gst/elements/gstfakesrc.h:
31382 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
31383 (gst_filesrc_open_file), (gst_filesrc_loop),
31384 (gst_filesrc_activate), (filesrc_find_peek),
31385 (gst_filesrc_type_find):
31386 Made base source class, make fakesrc extend it.
31387 Add comments to basesink class.
31388 Some filesrc cleanup.
31390 2005-03-31 David Schleef <ds@schleef.org>
31392 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
31393 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
31394 expected to link against libgstreamer.
31395 * gst/base/Makefile.am: link against libgstreamer
31396 * gst/elements/Makefile.am: same
31398 2005-03-31 Andy Wingo <wingo@pobox.com>
31400 * tests/instantiate/Makefile.am:
31401 * tests/instantiate/caps.c: Add test to test speed of caps copy
31404 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
31405 GMemChunk to be fair.
31407 * gst/gsttrashstack.h: Remove warning about using the fallback
31408 trash stack implementation, it's still faster than malloc.
31410 2005-03-30 Andy Wingo <wingo@pobox.com>
31412 * tests/complexity.c: Add a copyright.
31414 2005-03-31 Wim Taymans <wim@fluendo.com>
31416 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
31417 (gst_base_transform_class_init), (gst_base_transform_init),
31418 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
31419 (gst_base_transform_get_property),
31420 (gst_base_transform_sink_activate),
31421 (gst_base_transform_src_activate),
31422 (gst_base_transform_change_state):
31423 * gst/base/gstbasetransform.h:
31424 * gst/elements/gstidentity.c: (gst_identity_class_init),
31425 (gst_identity_event), (gst_identity_check_perfect),
31426 (gst_identity_transform), (gst_identity_start),
31427 (gst_identity_stop):
31428 Added start/stop methods to transform base class so subclasses
31429 don't need to deal with state changes even.
31431 2005-03-31 Wim Taymans <wim@fluendo.com>
31433 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
31434 (gst_event_new_discontinuous), (gst_event_discont_get_value):
31436 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31437 (gst_pad_pull_range):
31438 Added rate to the discont event to prepare for variable speed
31439 and reverse playback.
31441 2005-03-29 David Schleef <ds@schleef.org>
31444 * testsuite/trigger/Makefile.am:
31445 * testsuite/trigger/trigger.c: A little example program to show
31446 how trigger-based elements can work.
31448 2005-03-29 Wim Taymans <wim@fluendo.com>
31450 * gst/base/Makefile.am:
31452 * gst/base/gstbasesink.c: (gst_basesink_get_type),
31453 (gst_basesink_base_init), (gst_basesink_class_init),
31454 (gst_basesink_pad_getcaps), (gst_basesink_init),
31455 (gst_basesink_activate), (gst_basesink_change_state):
31456 * gst/base/gstbasesink.h:
31457 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
31458 (gst_base_transform_base_init), (gst_base_transform_finalize),
31459 (gst_base_transform_class_init), (gst_base_transform_init),
31460 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
31461 (gst_base_transform_event), (gst_base_transform_getrange),
31462 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
31463 (gst_base_transform_set_property),
31464 (gst_base_transform_get_property),
31465 (gst_base_transform_sink_activate),
31466 (gst_base_transform_src_activate),
31467 (gst_base_transform_change_state):
31468 * gst/base/gstbasetransform.h:
31469 * gst/elements/gstidentity.c: (gst_identity_finalize),
31470 (gst_identity_class_init), (gst_identity_init),
31471 (gst_identity_event), (gst_identity_check_perfect),
31472 (gst_identity_transform), (gst_identity_set_property),
31473 (gst_identity_get_property), (gst_identity_change_state):
31474 * gst/elements/gstidentity.h:
31475 * gst/gstelement.c: (gst_element_get_state_func),
31476 (gst_element_lost_state), (gst_element_pads_activate):
31477 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31478 (gst_pad_check_pull_range), (gst_pad_pull_range):
31480 Simplify pad activation.
31481 Added function to check if pull_range can be performed.
31482 Error out when pulling inactive or flushing pads.
31483 Removed const from refcounted types as it does not make sense.
31484 Simplify pad templates in basesink
31485 Added base class for simple 1-to-1 transforms.
31486 Make identity subclass the base transform.
31488 2005-03-29 Andy Wingo <wingo@pobox.com>
31490 * docs/libs/gstreamer-libs-overrides.txt:
31491 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
31492 really don't understand what's going on, but like whatever. I want
31495 * docs/gst/Makefile.am:
31496 * docs/libs/Makefile.am: Dist the overrides files.
31498 * check/Makefile.am (clean-local): Remove .libs directories.
31500 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
31501 elements to EXTRA_DIST, so po/ files are happy.
31503 * po/POTFILES.in: Er, remove it here.
31505 * po/POTFILES: Remove gstspider.c.
31507 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
31509 * docs/libs/gstreamer-libs-docs.sgml:
31510 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
31513 * tests/complexity.c (main): Set the length of the preroll queue
31514 on the sinks to prevent a lockup.
31516 * libs/gst/dataprotocol/Makefile.am:
31517 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
31518 the same as the one in check/gst-libs/gdp.c.
31520 * po/, docs/gst/: Commit automatic changes to docs and po files.
31522 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
31523 the versioned libgstbase.
31525 * check/Makefile.am: Depend on an unversioned gst-register, seems
31526 to make autoconf happier.
31528 * gst/base/Makefile.am: Make libgstbase a versioned lib.
31530 2005-03-28 Wim Taymans <wim@fluendo.com>
31533 * docs/design/part-gstelement.txt:
31534 * docs/design/part-negotiation.txt:
31535 * docs/design/part-preroll.txt:
31536 * docs/design/part-scheduling.txt:
31537 * docs/design/part-states.txt:
31539 * gst/base/Makefile.am:
31541 * gst/base/gstbasesink.c: (gst_basesink_get_template),
31542 (gst_basesink_base_init), (gst_basesink_class_init),
31543 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31544 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31545 (gst_basesink_set_pad_functions),
31546 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
31547 (gst_basesink_set_property), (gst_basesink_get_property),
31548 (gst_base_sink_get_template), (gst_base_sink_get_caps),
31549 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
31550 (gst_basesink_preroll_queue_push),
31551 (gst_basesink_preroll_queue_empty),
31552 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
31553 (gst_basesink_event), (gst_basesink_get_times),
31554 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
31555 (gst_basesink_chain_unlocked), (gst_basesink_chain),
31556 (gst_basesink_loop), (gst_basesink_activate),
31557 (gst_basesink_change_state):
31558 * gst/base/gstbasesink.h:
31559 * gst/elements/Makefile.am:
31560 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
31561 (gst_fakesink_class_init), (gst_fakesink_init),
31562 (gst_fakesink_set_property), (gst_fakesink_get_property),
31563 (gst_fakesink_get_times), (gst_fakesink_event),
31564 (gst_fakesink_preroll), (gst_fakesink_render),
31565 (gst_fakesink_change_state):
31566 * gst/elements/gstfakesink.h:
31567 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31568 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
31569 * gst/gstelement.c: (gst_element_add_pad),
31570 (gst_element_get_state_func), (gst_element_abort_state),
31571 (gst_element_commit_state), (gst_element_lost_state),
31572 (gst_element_set_state), (gst_element_pads_activate):
31573 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
31574 * gst/gstpipeline.c: (gst_pipeline_send_event),
31575 (gst_pipeline_change_state):
31576 Added state change code.
31577 Added/updated docs.
31578 Added sink base class, make fakesink extend the base class.
31579 Small cleanups in GstPipeline.
31581 2005-03-26 David Schleef <ds@schleef.org>
31583 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
31584 is broken and should be implemented in a different library.
31585 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
31586 * gst/gst.h: remove gstcpu.h
31587 * gst/gstcpu.c: remove
31588 * gst/gstcpu.h: remove
31589 * gst/Makefile.am.future: Remove this file. It's ancient.
31591 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31593 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31594 (gst_bin_send_event):
31595 Add default event/set_manager handlers. The set_manager handler
31596 takes care that the manager is distributed over kids that were
31597 already in the bin before the manager was set. The event handler
31598 is a utility virtual function that sends the event over all sinks,
31599 so that gst_element_send_event (bin, event); has the expected
31601 * gst/gstpad.c: (gst_pad_event_default):
31602 Re-install default event handling for discontinuities, so that
31603 seeking works without requiring hacks in applications or extra
31605 * gst/gstpipeline.c: (gst_pipeline_class_init),
31606 (gst_pipeline_send_event):
31607 Half hack, half utility: set a pipeline to PAUSED for seek events,
31608 since that is the only way we can guarantee a/v sync. Means that
31609 you can do gst_element_seek (pipeline, method, pos); on a pipeline
31610 and it "just works".
31612 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31614 * gst/gstpipeline.c: (gst_pipeline_use_clock):
31615 Lock/unlock mismatch.
31617 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
31619 * docs/faq/gst-uninstalled:
31620 add gst-plugins-base
31621 * docs/gst/Makefile.am:
31622 don't error out until docs are fixed
31623 * docs/gst/gstreamer.types:
31626 2005-03-22 Wim Taymans <wim@fluendo.com>
31628 * check/Makefile.am:
31629 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
31630 * gst/gststructure.c: (gst_structure_set_valist),
31631 (gst_structure_copy_conditional):
31632 Activated more tests.
31633 Added message test.
31634 Added G_TYPE_POINTER to GstStructure.
31637 2005-03-22 Wim Taymans <wim@fluendo.com>
31639 * docs/design/part-TODO.txt:
31640 * docs/design/part-events.txt:
31641 * docs/design/part-gstbin.txt:
31642 * docs/design/part-gstbus.txt:
31643 * docs/design/part-gstpipeline.txt:
31644 * docs/design/part-messages.txt:
31646 * gst/gstmessage.c:
31649 2005-03-21 Wim Taymans <wim@fluendo.com>
31651 * gst/gstbus.c: (gst_bus_post):
31652 Fix copy-and-paste error.
31654 2005-03-21 Wim Taymans <wim@fluendo.com>
31656 * check/Makefile.am:
31658 * gst/elements/Makefile.am:
31659 * gst/elements/gstelements.c:
31660 * gst/elements/gstfakesink.c: (gst_fakesink_init),
31661 (gst_fakesink_event), (gst_fakesink_chain):
31662 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31663 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
31664 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
31665 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
31666 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
31667 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
31668 (gst_fakesrc_loop), (gst_fakesrc_activate),
31669 (gst_fakesrc_change_state):
31670 * gst/elements/gstfakesrc.h:
31671 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
31672 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
31673 (gst_filesrc_open_file), (gst_filesrc_loop),
31674 (gst_filesrc_activate), (gst_filesrc_change_state),
31675 (filesrc_find_peek), (filesrc_find_suggest),
31676 (gst_filesrc_type_find):
31677 * gst/elements/gstidentity.c: (gst_identity_finalize),
31678 (gst_identity_class_init), (gst_identity_init),
31679 (gst_identity_proxy_getcaps), (identity_queue_push),
31680 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
31681 (gst_identity_getrange), (gst_identity_chain),
31682 (gst_identity_sink_loop), (gst_identity_src_loop),
31683 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
31684 (gst_identity_set_property), (gst_identity_get_property),
31685 (gst_identity_change_state):
31686 * gst/elements/gstidentity.h:
31687 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
31688 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
31689 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
31690 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
31691 (gst_tee_sink_activate):
31692 * gst/elements/gsttee.h:
31693 * gst/gst.c: (gst_register_core_elements), (init_post):
31695 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
31696 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
31697 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
31698 (gst_bin_change_state):
31700 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
31701 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
31702 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
31703 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
31704 (gst_bus_set_sync_handler), (gst_bus_create_watch),
31705 (bus_watch_callback), (bus_watch_destroy),
31706 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
31707 (poll_timeout), (gst_bus_poll):
31711 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31712 (gst_element_post_message), (gst_element_message_full),
31713 (gst_element_get_state_func), (gst_element_get_state),
31714 (gst_element_abort_state), (gst_element_commit_state),
31715 (gst_element_lost_state), (gst_element_set_state),
31716 (gst_element_pads_activate), (gst_element_change_state),
31717 (gst_element_dispose), (gst_element_set_manager_func),
31718 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
31719 (gst_element_set_manager), (gst_element_get_manager),
31720 (gst_element_set_bus), (gst_element_get_bus),
31721 (gst_element_set_scheduler), (gst_element_get_scheduler):
31722 * gst/gstelement.h:
31723 * gst/gstevent.c: (gst_event_new_segment_seek),
31724 (gst_event_new_flush):
31726 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
31727 (_gst_message_free), (gst_message_get_type), (gst_message_new),
31728 (gst_message_new_eos), (gst_message_new_error),
31729 (gst_message_new_warning), (gst_message_new_tag),
31730 (gst_message_new_state_changed), (gst_message_new_application),
31731 (gst_message_get_structure), (gst_message_parse_tag),
31732 (gst_message_parse_state_changed), (gst_message_parse_error),
31733 (gst_message_parse_warning):
31734 * gst/gstmessage.h:
31735 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
31736 (gst_real_pad_set_property), (gst_pad_set_active),
31737 (gst_pad_is_active), (gst_pad_set_blocked_async),
31738 (gst_pad_set_blocked), (gst_pad_is_blocked),
31739 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
31740 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
31741 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
31742 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
31743 (gst_pad_link_filtered), (gst_pad_relink_filtered),
31744 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
31745 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
31746 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
31747 (gst_pad_set_caps), (gst_pad_configure_sink),
31748 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
31749 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
31750 (gst_real_pad_dispose), (gst_real_pad_finalize),
31751 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
31752 (gst_pad_event_default_dispatch), (gst_pad_event_default),
31753 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
31755 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
31756 (pipeline_bus_handler), (gst_pipeline_change_state),
31757 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
31758 * gst/gstpipeline.h:
31760 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
31761 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
31762 (gst_queue_link_src), (gst_queue_bufferalloc),
31763 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
31764 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
31765 (gst_queue_loop), (gst_queue_handle_src_event),
31766 (gst_queue_handle_src_query), (gst_queue_src_activate),
31767 (gst_queue_change_state):
31769 * gst/gstscheduler.c: (gst_scheduler_init),
31770 (gst_scheduler_dispose), (gst_scheduler_create_task),
31771 (gst_scheduler_factory_create):
31772 * gst/gstscheduler.h:
31773 * gst/gststructure.c: (gst_structure_get_type),
31774 (gst_structure_copy_conditional):
31775 * gst/gststructure.h:
31776 * gst/gsttaginterface.h:
31777 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
31778 (gst_task_init), (gst_task_dispose), (gst_task_create),
31779 (gst_task_get_state), (gst_task_start), (gst_task_stop),
31785 * gst/schedulers/Makefile.am:
31786 * gst/schedulers/cothreads_compat.h:
31787 * gst/schedulers/entryscheduler.c:
31788 * gst/schedulers/faircothreads.c:
31789 * gst/schedulers/faircothreads.h:
31790 * gst/schedulers/fairscheduler.c:
31791 * gst/schedulers/gstbasicscheduler.c:
31792 * gst/schedulers/gstoptimalscheduler.c:
31793 * gst/schedulers/gthread-cothreads.h:
31794 * gst/schedulers/threadscheduler.c:
31795 (gst_thread_scheduler_task_get_type),
31796 (gst_thread_scheduler_task_class_init),
31797 (gst_thread_scheduler_task_init),
31798 (gst_thread_scheduler_task_start),
31799 (gst_thread_scheduler_task_stop),
31800 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
31801 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
31802 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
31803 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
31805 * libs/gst/Makefile.am:
31806 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
31807 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
31808 (gst_file_pad_parent_set):
31809 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
31810 (gst_dp_event_from_packet):
31811 * tests/complexity.c: (main):
31812 * tests/mass_elements.c: (main):
31813 * testsuite/states/locked.c: (message_received), (main):
31814 * testsuite/states/parent.c: (main):
31815 * tools/gst-inspect.c: (print_element_flag_info),
31816 (print_implementation_info), (print_pad_info):
31817 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
31819 * tools/gst-md5sum.c: (event_loop), (main):
31820 * tools/gst-typefind.c: (main):
31821 * tools/gst-xmlinspect.c: (print_element_info):
31823 Added GstBus for mainloop integration.
31824 Added GstMessage for sending notifications on the bus.
31825 Added GstTask as an abstraction for pipeline entry points.
31827 Removed Schedulers.
31828 Simplified GstQueue for multithreaded core.
31829 Made _link threadsafe, removed old capsnego.
31830 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
31831 Added pad blocking functions.
31832 Reworked scheduling functions in GstPad to prepare for
31833 scheduling updates soon.
31834 Moved events out of data stream.
31835 Simplified GstEvent types.
31836 Added return values to push/pull.
31837 Removed clocking from GstElement.
31838 Added prototypes for state change function for next merge.
31839 Removed iterate from bins and state change management.
31840 Fixed some elements, disabled others for now.
31841 Fixed -inspect and -launch.
31842 Added check for GstBus.
31844 2005-03-10 Wim Taymans <wim@fluendo.com>
31846 * docs/design/part-MT-refcounting.txt:
31847 * docs/design/part-clocks.txt:
31848 * docs/design/part-gstelement.txt:
31849 * docs/design/part-gstobject.txt:
31850 * docs/design/part-standards.txt:
31851 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31852 (gst_bin_remove_func), (gst_bin_remove):
31856 * testsuite/clock/clock1.c: (main):
31857 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
31859 * testsuite/dlopen/loadgst.c: (do_test):
31860 * testsuite/refcounting/bin.c: (add_remove_test1),
31861 (add_remove_test2), (main):
31862 * testsuite/refcounting/element.c: (main):
31863 * testsuite/refcounting/element_pad.c: (main):
31864 * testsuite/refcounting/pad.c: (main):
31865 * tools/gst-launch.c: (sigint_handler_sighandler):
31866 * tools/gst-typefind.c: (main):
31868 Added doc about clock.
31869 removed gst_bin_iterate_recurse_up(), marked methods
31871 Fix more testsuites.
31873 2005-03-09 Wim Taymans <wim@fluendo.com>
31875 * gst/gstpad.c: (gst_pad_get_direction),
31876 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
31877 (gst_pad_collect_valist):
31878 * testsuite/bins/interface.c: (main):
31879 * testsuite/caps/audioscale.c: (test_caps):
31880 * testsuite/caps/caps.c: (test1), (test2), (test3):
31881 * testsuite/caps/deserialize.c: (main):
31882 * testsuite/caps/enumcaps.c: (main):
31883 * testsuite/caps/filtercaps.c: (main):
31884 * testsuite/caps/intersect2.c: (main):
31885 * testsuite/caps/random.c: (main):
31886 * testsuite/caps/renegotiate.c: (my_fixate), (main):
31887 * testsuite/caps/sets.c: (check_caps):
31888 * testsuite/caps/simplify.c: (check_caps), (main):
31889 * testsuite/caps/subtract.c: (check_caps):
31890 Fix _pad_get_direction wrt ghostpads.
31891 Fix caps testsuite.
31893 2005-03-09 Wim Taymans <wim@fluendo.com>
31895 * check/Makefile.am:
31896 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
31897 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
31898 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
31899 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
31900 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
31901 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
31902 (gst_bin_remove), (gst_bin_iterate_recurse_up),
31903 (bin_element_is_sink), (gst_bin_iterate_sinks),
31904 (gst_bin_iterate_all_by_interface):
31906 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
31907 (gst_element_change_state), (gst_element_dispose),
31908 (gst_element_finalize), (gst_element_set_loop_function):
31909 * gst/gstelement.h:
31910 * gst/gstiterator.c: (find_custom_fold_func):
31911 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31912 (gst_pad_collectv), (gst_pad_collect_valist),
31913 (gst_pad_template_new):
31914 * gst/gstpipeline.c: (gst_pipeline_class_init),
31915 (gst_pipeline_dispose), (gst_pipeline_set_property),
31916 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
31917 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
31918 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
31920 * gst/schedulers/entryscheduler.c:
31921 * gst/schedulers/gstbasicscheduler.c:
31922 (gst_basic_scheduler_cothreaded_chain),
31923 (gst_basic_scheduler_chain_add_element):
31924 * testsuite/bins/interface.c: (main):
31926 Added GstSystemClock test.
31927 Implemented clock distribution code in GstBin.
31928 Implemented iterate sinks method for future use.
31929 Rearranged gstelement.h
31930 Fix GstIterator comparison bug.
31931 Moved some code to GstPipeline, mostly clocking related.
31933 2005-03-09 Wim Taymans <wim@fluendo.com>
31936 * gst/gst_private.h:
31937 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31938 (gst_bin_remove_func), (gst_bin_remove),
31939 (gst_bin_get_by_name_recurse_up):
31940 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
31941 (gst_clock_id_compare_func), (gst_clock_id_wait),
31942 (gst_clock_id_wait_async), (gst_clock_init),
31943 (gst_clock_adjust_unlocked), (gst_clock_get_time):
31944 * gst/gstelement.h:
31945 * gst/gstinfo.c: (_gst_debug_init):
31947 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31948 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
31950 Bump version number, we're now 0.9.0
31951 Add future debugging category.
31952 Fix NULL _unref() in _get_by_name_recurse_up
31953 Rearrange gstpad.h.
31956 2005-03-08 Wim Taymans <wim@fluendo.com>
31958 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
31959 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
31960 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
31961 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
31962 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
31963 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
31964 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
31965 * gst/elements/gstidentity.c: (gst_identity_class_init):
31966 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
31967 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
31968 * gst/elements/gstshaper.c: (gst_shaper_class_init):
31969 * gst/elements/gststatistics.c: (gst_statistics_class_init):
31970 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
31972 * gst/gstelement.c: (gst_element_class_init),
31973 (gst_element_base_class_init), (gst_element_init),
31974 (gst_element_get_random_pad), (gst_element_wait_state_change),
31975 (gst_element_change_state), (gst_element_dispose),
31976 (gst_element_finalize), (gst_element_set_loop_function):
31977 * gst/gstelement.h:
31978 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
31979 * gst/gstthread.c: (gst_thread_class_init),
31980 (gst_thread_release_children_locks), (gst_thread_change_state):
31981 * gst/schedulers/gstbasicscheduler.c:
31982 (gst_basic_scheduler_loopfunc_wrapper),
31983 (gst_basic_scheduler_chain_wrapper),
31984 (gst_basic_scheduler_src_wrapper),
31985 (gst_basic_scheduler_remove_element):
31986 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
31987 Remove threadsafe properties. Fix elements because GObject
31988 complains when installing a property before declaring a
31989 set/get_property handler.
31990 Rearrange gstelement.h file, use STATE macros for state locks.
31991 Free mutexes in the finalize method instead of dispose.
31993 2005-03-08 Wim Taymans <wim@fluendo.com>
31995 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
31996 * gst/gstthread.c: (gst_thread_release_children_locks):
31997 Added parentage check.
31998 Fix build og GstThread again.
32000 2005-03-08 Wim Taymans <wim@fluendo.com>
32002 * docs/design/part-MT-refcounting.txt:
32003 * docs/design/part-conventions.txt:
32004 * docs/design/part-gstobject.txt:
32005 * docs/design/part-relations.txt:
32006 * docs/design/part-standards.txt:
32007 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
32008 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
32009 (gst_bin_get_by_name), (gst_bin_get_by_interface),
32010 (gst_bin_iterate_all_by_interface):
32013 * gst/gstelement.c: (gst_element_class_init),
32014 (gst_element_change_state), (gst_element_set_loop_function):
32015 * gst/gstelement.h:
32016 * gst/gstiterator.c:
32017 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
32018 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
32019 (gst_object_dispatch_properties_changed), (gst_object_set_name),
32020 (gst_object_set_parent), (gst_object_unparent),
32021 (gst_object_check_uniqueness):
32023 Docs updates, clean up some headers.
32025 2005-03-07 Wim Taymans <wim@fluendo.com>
32027 * check/.cvsignore:
32028 * check/Makefile.am:
32029 * check/gst-libs/.cvsignore:
32030 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
32031 * check/gst/.cvsignore:
32032 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
32033 (START_TEST), (gstbus_suite), (main):
32034 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
32035 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
32036 (gst_data_suite), (main):
32037 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
32038 (add_fold_func), (gstiterator_suite), (main):
32039 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
32040 (thread_name_object), (thread_name_object_default),
32041 (gst_object_name_compare), (gst_object_suite), (main):
32042 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
32043 (gst_pad_suite), (main):
32044 * check/gstcheck.c: (gst_check_log_message_func),
32045 (gst_check_log_critical_func), (gst_check_init):
32046 * check/gstcheck.h:
32047 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
32048 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
32051 2005-03-07 Wim Taymans <wim@fluendo.com>
32053 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
32054 (gst_list_iterator_next), (gst_list_iterator_resync),
32055 (gst_list_iterator_free), (gst_iterator_new_list),
32056 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
32057 (gst_iterator_free), (gst_iterator_push), (filter_next),
32058 (filter_resync), (filter_uninit), (filter_free),
32059 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
32060 (gst_iterator_foreach), (find_custom_fold_func),
32061 (gst_iterator_find_custom):
32062 * gst/gstiterator.h:
32063 Added missing files.
32065 2005-03-07 Wim Taymans <wim@fluendo.com>
32069 * docs/design/part-MT-refcounting.txt:
32070 * docs/design/part-conventions.txt:
32071 * docs/design/part-gstobject.txt:
32072 * docs/design/part-relations.txt:
32073 * examples/mixer/mixer.c: (main):
32074 * examples/thread/thread.c: (eos), (main):
32076 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
32077 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
32078 (gst_spider_plug_from_srcpad):
32079 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
32080 (gst_spider_identity_change_state),
32081 (gst_spider_identity_sink_loop_type_finding):
32082 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
32083 * gst/elements/gstidentity.c: (gst_identity_init):
32084 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
32085 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
32086 * gst/elements/gsttypefindelement.c: (free_entry):
32089 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
32090 (gst_bin_set_clock_func), (gst_bin_auto_clock),
32091 (gst_bin_set_index), (gst_bin_set_element_sched),
32092 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
32093 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
32094 (gst_bin_iterate_elements), (iterate_child_recurse),
32095 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
32096 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
32097 (compare_interface), (gst_bin_get_by_interface),
32098 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
32100 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
32101 (gst_buffer_default_free), (gst_buffer_default_copy),
32102 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
32103 (gst_buffer_create_sub):
32105 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
32106 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
32107 (gst_caps_unref), (gst_static_caps_get),
32108 (gst_caps_remove_and_get_structure), (gst_caps_append),
32109 (gst_caps_append_structure), (gst_caps_remove_structure),
32110 (gst_caps_copy_nth), (gst_caps_set_simple),
32111 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
32112 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
32113 (gst_caps_structure_intersect_field), (gst_caps_intersect),
32114 (gst_caps_structure_subtract_field), (gst_caps_subtract),
32115 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
32116 (gst_caps_structure_figure_out_union),
32117 (gst_caps_switch_structures), (gst_caps_do_simplify),
32118 (gst_caps_replace), (gst_caps_from_string),
32119 (gst_caps_copy_conditional):
32121 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
32122 (_gst_clock_id_free), (gst_clock_id_unref),
32123 (gst_clock_id_compare_func), (gst_clock_id_wait),
32124 (gst_clock_id_wait_async), (gst_clock_class_init),
32125 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
32126 (gst_clock_get_time), (gst_clock_set_time_adjust),
32127 (gst_clock_set_property), (gst_clock_get_property):
32130 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
32131 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
32133 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
32134 (gst_element_requires_clock), (gst_element_provides_clock),
32135 (gst_element_set_clock), (gst_element_clock_wait),
32136 (gst_element_wait), (gst_element_set_time_delay),
32137 (gst_element_is_indexable), (gst_element_add_pad),
32138 (gst_element_add_ghost_pad), (gst_element_remove_pad),
32139 (pad_compare_name), (gst_element_get_static_pad),
32140 (gst_element_request_pad), (gst_element_get_request_pad),
32141 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
32142 (gst_element_class_get_pad_template_list),
32143 (gst_element_class_get_pad_template), (gst_element_error_func),
32144 (gst_element_get_random_pad), (gst_element_get_event_masks),
32145 (gst_element_send_event), (gst_element_seek),
32146 (gst_element_get_query_types), (gst_element_query),
32147 (gst_element_get_formats), (gst_element_convert),
32148 (gst_element_is_locked_state), (gst_element_set_locked_state),
32149 (gst_element_sync_state_with_parent), (gst_element_change_state),
32150 (gst_element_finalize), (gst_element_yield),
32151 (gst_element_interrupt), (gst_element_set_scheduler),
32152 (gst_element_get_scheduler), (gst_element_set_loop_function):
32153 * gst/gstelement.h:
32155 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
32156 (gst_format_get_by_nick), (gst_format_get_details),
32157 (gst_format_iterate_definitions):
32159 * gst/gstindex.c: (gst_index_gtype_resolver):
32162 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
32163 (gst_mem_chunk_free):
32164 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
32165 (gst_object_ref), (gst_object_unref), (gst_object_sink),
32166 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
32167 (gst_object_dispatch_properties_changed),
32168 (gst_object_set_name_default), (gst_object_set_name),
32169 (gst_object_get_name), (gst_object_set_name_prefix),
32170 (gst_object_get_name_prefix), (gst_object_set_parent),
32171 (gst_object_get_parent), (gst_object_unparent),
32172 (gst_object_check_uniqueness), (gst_object_save_thyself),
32173 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
32174 (gst_object_set_property), (gst_object_get_property),
32175 (gst_object_get_path_string):
32177 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
32178 (gst_real_pad_init), (gst_real_pad_get_property),
32179 (gst_pad_custom_new), (gst_pad_get_direction),
32180 (gst_pad_set_active), (gst_pad_is_active),
32181 (gst_pad_set_event_function), (gst_pad_is_linked),
32182 (gst_pad_link_free), (gst_pad_link_intersect),
32183 (gst_pad_link_fixate), (gst_pad_set_caps),
32184 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
32185 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
32186 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
32187 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
32188 (gst_pad_get_caps), (gst_pad_peer_get_caps),
32189 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
32190 (gst_pad_realize), (gst_pad_get_allowed_caps),
32191 (gst_real_pad_dispose), (gst_real_pad_finalize),
32192 (gst_pad_collectv), (gst_pad_collect_valist),
32193 (gst_pad_template_dispose), (gst_pad_template_new),
32194 (gst_pad_get_internal_links):
32196 * gst/gstpipeline.c: (gst_pipeline_dispose),
32197 (gst_pipeline_change_state):
32198 * gst/gstpipeline.h:
32200 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
32201 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
32202 * gst/gstpluginfeature.h:
32203 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
32204 * gst/gstquery.c: (_gst_query_type_initialize),
32205 (gst_query_type_register), (gst_query_type_get_by_nick),
32206 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
32208 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
32209 * gst/gstscheduler.c: (gst_scheduler_add_element),
32210 (gst_scheduler_factory_create):
32211 * gst/gststructure.c: (gst_structure_set_parent_refcount),
32212 (gst_structure_free), (gst_structure_set_name),
32213 (gst_structure_id_set_value), (gst_structure_set_value),
32214 (gst_structure_set_valist), (gst_structure_remove_field),
32215 (gst_structure_remove_fields),
32216 (gst_structure_remove_fields_valist),
32217 (gst_structure_remove_all_fields), (gst_structure_foreach),
32218 (gst_structure_map_in_place),
32219 (gst_caps_structure_fixate_field_nearest_int),
32220 (gst_caps_structure_fixate_field_nearest_double):
32221 * gst/gststructure.h:
32222 * gst/gstsystemclock.c: (gst_system_clock_class_init),
32223 (gst_system_clock_init), (gst_system_clock_dispose),
32224 (gst_system_clock_async_thread),
32225 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
32226 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
32227 * gst/gstsystemclock.h:
32228 * gst/gsttag.c: (gst_tag_list_add_value_internal),
32229 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
32230 * gst/gsttaginterface.c:
32231 * gst/gstthread.c: (gst_thread_dispose),
32232 (gst_thread_release_children_locks), (gst_thread_change_state),
32233 (gst_thread_main_loop):
32234 * gst/gsttrashstack.h:
32235 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
32237 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
32238 (gst_element_request_pad), (gst_element_get_pad_from_template),
32239 (gst_element_request_compatible_pad),
32240 (gst_element_get_compatible_pad_filtered),
32241 (gst_element_get_compatible_pad), (gst_element_state_get_name),
32242 (gst_element_link_pads_filtered), (gst_element_link_filtered),
32243 (gst_element_link_many), (gst_element_link),
32244 (gst_element_link_pads), (gst_element_unlink_pads),
32245 (gst_element_unlink_many), (gst_element_unlink),
32246 (gst_pad_can_link_filtered), (gst_pad_can_link),
32247 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
32248 (gst_object_default_error), (gst_bin_add_many),
32249 (gst_bin_remove_many), (gst_element_populate_std_props),
32250 (gst_element_class_install_std_props), (gst_buffer_merge),
32251 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
32252 (link_fold_func), (gst_pad_proxy_setcaps):
32254 * gst/gstvalue.c: (gst_value_deserialize_string):
32255 * gst/parse/grammar.y:
32256 * gst/schedulers/gstbasicscheduler.c:
32257 (gst_basic_scheduler_cothreaded_chain),
32258 (gst_basic_scheduler_chain_recursive_add),
32259 (gst_basic_scheduler_pad_link):
32260 * gst/schedulers/gstoptimalscheduler.c:
32261 (get_group_schedule_function),
32262 (gst_opt_scheduler_state_transition),
32263 (gst_opt_scheduler_add_element), (element_get_reachables_func):
32264 * libs/gst/bytestream/bytestream.c:
32265 * libs/gst/dataprotocol/dataprotocol.c:
32266 (gst_dp_header_from_buffer):
32269 * tests/threadstate/threadstate2.c: (eos):
32270 * tools/gst-compprep.c: (main):
32271 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
32272 (print_pad_info), (print_children_info):
32273 * tools/gst-launch.c: (idle_func), (main):
32274 * tools/gst-md5sum.c: (idle_func), (main):
32275 * tools/gst-xmlinspect.c: (print_element_info):
32276 First THREADED backport attempt, focusing on adding locks and
32277 making sure the API is threadsafe. Needs more work. More docs
32280 2005-02-24 Andy Wingo <wingo@pobox.com>
32282 * tests/bench-complexity.scm:
32283 * tests/complexity.gnuplot: New files, good for running complexity
32286 * tests/Makefile.am:
32287 * tests/complexity.c: New test, sets up N elements, at each level
32288 teeing into M streams per element. Eeeenteresting.
32290 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
32291 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
32292 running bench-mass_elements.scm.
32294 * tests/bench-mass_elements.scm: New script, runs mass_elements
32295 for various numbers of identities, outputting the results to a
32296 file. Requires guile 1.6. Just for testing.
32298 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
32300 * gst/schedulers/fairscheduler.c:
32301 compile with debug disabled
32303 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
32306 hunting season on 0.9 is now OPEN