1 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
4 * plugins/elements/Makefile.am:
5 * plugins/elements/gstelements.c:
6 * plugins/elements/gstqueue.c:
7 move queue from core to the elements plugin
9 2005-11-29 Andy Wingo <wingo@pobox.com>
11 * libs/gst/base/gstbasetransform.h:
12 * libs/gst/base/gstbasesrc.h:
13 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
15 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
16 of pointers by which to pad very extensible base classes (like the
17 ones in libs/gst/base).
19 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
21 * docs/gst/gstreamer-docs.sgml:
22 * docs/gst/gstreamer-sections.txt:
23 * docs/libs/gstreamer-libs-docs.sgml:
24 * docs/libs/gstreamer-libs-sections.txt:
25 moving documentation from core to lib
27 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
31 * docs/gst/Makefile.am:
33 * gst/base/.cvsignore:
34 * gst/base/Makefile.am:
36 * gst/base/gstadapter.c:
37 * gst/base/gstadapter.h:
38 * gst/base/gstbasesink.c:
39 * gst/base/gstbasesink.h:
40 * gst/base/gstbasesrc.c:
41 * gst/base/gstbasesrc.h:
42 * gst/base/gstbasetransform.c:
43 * gst/base/gstbasetransform.h:
44 * gst/base/gstcollectpads.c:
45 * gst/base/gstcollectpads.h:
46 * gst/base/gstpushsrc.c:
47 * gst/base/gstpushsrc.h:
48 * gst/base/gsttypefindhelper.c:
49 * gst/base/gsttypefindhelper.h:
50 * gst/check/Makefile.am:
51 * gst/check/gstcheck.c:
52 * gst/check/gstcheck.h:
53 * gst/net/Makefile.am:
55 * gst/net/gstnetclientclock.c:
56 * gst/net/gstnetclientclock.h:
57 * gst/net/gstnettimepacket.c:
58 * gst/net/gstnettimepacket.h:
59 * gst/net/gstnettimeprovider.c:
60 * gst/net/gstnettimeprovider.h:
61 * libs/gst/Makefile.am:
62 * libs/gst/base/Makefile.am:
63 * libs/gst/base/gstbasetransform.c:
64 * libs/gst/check/Makefile.am:
65 * plugins/elements/Makefile.am:
67 CVS surgery + support to move base, check, and net out of gst
70 2005-11-29 Andy Wingo <wingo@pobox.com>
72 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
74 * gst/gststructure.h (struct _GstStructure): Only one pointer of
77 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
79 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
81 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
83 * gst/gstobject.h: (struct _GstObject): Only one pointer of
84 padding; reduces object size by about 30%. We don't expect
85 anything else to go into gstobject.
87 * gst/gstminiobject.h (struct _GstMiniObject)
88 (struct _GstMiniObjectClass): Only one pointer of padding; the
89 payload is only a pointer and two ints anyway. For the class there
90 are only two methods as well.
92 * gst/gstelement.h (struct _GstElementClass): Removed
93 the state_changed signal callback, it is not used.
95 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
97 * docs/gst/gstreamer.types:
98 fix includes, though they are a little dinky
100 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
103 look in the right place for elements, a lot more chance of
106 remove indexers and elements subdirs
107 * plugins/Makefile.am:
108 make indexers conditional
110 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
114 * plugins/elements/Makefile.am:
115 * plugins/elements/gstcapsfilter.c:
116 * plugins/elements/gstfilesink.c:
117 * plugins/elements/gstfilesrc.c:
118 * plugins/elements/gstidentity.c:
119 * plugins/indexers/Makefile.am:
120 do CVS surgery and related build fixery to move elements
121 and indexers in a new gstreamer/plugins directory, out of the
124 2005-11-29 Andy Wingo <wingo@pobox.com>
127 * pkgconfig/gstreamer-net-uninstalled.pc.in:
128 * pkgconfig/gstreamer-net.pc.in:
129 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
132 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
135 * tools/gst-complete.1.in:
136 * tools/gst-complete.c:
137 * tools/gst-compprep.1.in:
138 * tools/gst-compprep.c:
139 removing -compprep and -complete
141 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
143 * gst/gstevent.c: (gst_event_new_new_segment),
144 (gst_event_parse_new_segment):
146 fix #320529 - clean up new_segment API and structure.
147 Let's hope everyone was using the methods, and not the structure.
149 2005-11-29 Edward Hervey <edward@fluendo.com>
151 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
152 (gst_base_sink_event), (gst_base_sink_do_sync),
153 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
154 Properly handle non GST_FORMAT_TIME segment
155 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
156 Properly handle non GST_FORMAT_TIME segment
158 This function is valid if the accumulator is 0 and the format
159 is different from the requested format.
161 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
163 * docs/gst/gstreamer-sections.txt:
164 Add gst_query_new_seeking and gst_query_parse_seeking to the
167 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
169 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
170 Treat a pad alloc with new caps the same as if we were not
171 negotiated, in order to allow a changing upstream output
172 to produce a new format of data.
174 2005-11-29 Edward Hervey <edward@fluendo.com>
176 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
177 (gst_base_transform_event), (gst_base_transform_eventfunc):
178 The event virtual method is now properly implemented, with a default
180 Sub classes should call the parent_class event method. They should
181 return FALSE if they had a problem handling the given event, or don't
182 want GstBaseTransform to send that even downstream
183 * gst/elements/gstidentity.c: (gst_identity_class_init),
184 (gst_identity_init), (gst_identity_event),
185 (gst_identity_transform_ip), (gst_identity_set_property),
186 (gst_identity_get_property):
187 * gst/elements/gstidentity.h:
188 Added the single-segment boolean property.
189 If set to TRUE, it will output a single segment of data, starting from
190 0, will eat up all incoming newsegment, and modify the timestamp of the
193 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
195 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
196 Don't ref NULL target pad (#322751). Improve docs.
198 2005-11-29 Michael Smith <msmith@fluendo.com>
200 * gst/gstregistryxml.c: (load_plugin):
201 Don't crash if we failed to load a feature from a plugin.
203 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
205 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
207 use more check API and less GLib API
209 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
212 don't run checks if we don't have check
214 remove the registry when running make torture
215 * docs/gst/gstreamer-sections.txt:
216 remove second multiply
217 * gst/gstqueue.c: (gst_queue_loop):
218 fix a compile warning when disabling debug
220 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
223 Hey! Let's print the pad name if the pointer != NULL instead
224 of when it == NULL :-)
226 2005-11-28 Wim Taymans <wim@fluendo.com>
228 * check/gst/gstutils.c: (GST_START_TEST):
229 Updated check, add some scaling accuracy checking code.
231 * gst/gstutils.c: (gst_util_div128_64),
232 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
233 (gst_util_uint64_scale_int):
234 Fix 6 times faster division code. Optimize for common
235 1/1 and less common X/1 cases.
237 2005-11-28 Wim Taymans <wim@fluendo.com>
239 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
242 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
243 (do_linear_regression), (gst_clock_add_observation):
245 Release lock when the clock cannot be slaved.
246 Catch the case where the regression returned an invalid denominator.
248 * gst/gstutils.c: (gst_util_div128_64_iterate),
249 (gst_util_div128_64), (gst_util_uint64_scale_int64),
250 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
251 Add protentially more performant non-iterative 128/64 divide function
252 that unfortunatly does not work yet.
253 Shortcut the trivial 0/X = 0 case.
254 Remove the warnings on overflow.
256 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
258 * gst/gstplugin.c: (gst_plugin_register_func):
259 everything causing a plugin not to load should be at least a WARNING
261 2005-11-28 Stefan Kost <ensonic@users.sf.net>
263 * docs/random/ensonic/dparams.txt:
264 some TODOs for the next dev cycle
265 * libs/gst/controller/gstcontroller.c:
266 (gst_controlled_property_set_interpolation_mode),
267 (gst_controlled_property_new):
268 * libs/gst/controller/gstcontroller.h:
269 use base type to assign acccessor functions
271 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
274 Oops, that should have been top_srcdir
276 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
279 * check/elements/fdsrc.c: (GST_START_TEST):
280 Use a cmdline define to specify the location of a file to use for
281 testing, to avoid breaking distcheck.
283 2005-11-28 Andy Wingo <wingo@pobox.com>
285 * gst/gstpad.c (fixate_value): Use array functions for arrays.
287 2005-11-28 Edward Hervey <edward@fluendo.com>
289 * tools/gst-launch.c: (main):
290 Clarify the output strings, makes it easier to translate.
293 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
296 don't try and build net if we don't even have <sys/socket.h>
298 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
301 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
302 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
303 Add tests for fdsrc seekability
305 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
306 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
307 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
308 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
309 * gst/elements/gstfdsrc.h:
310 fdsrc should not be a 'live' source.
311 Implement seeking on seekable fd's.
313 * gst/gstquery.c: (gst_query_new_seeking),
314 (gst_query_parse_seeking):
316 Implement SEEKING query functions:
317 *_new_seeking and *_parse_seeking
319 2005-11-27 Stefan Kost <ensonic@users.sf.net>
321 * gst/gstelement.c: (gst_element_dispose):
325 * gst/gststructure.c:
328 * libs/gst/controller/gstcontroller.c:
329 (gst_controlled_property_set_interpolation_mode):
330 * libs/gst/controller/gstcontroller.h:
331 * libs/gst/controller/gstinterpolation.c:
332 (interpolate_none_get_enum_value_array):
333 support controlling enums
335 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
338 Improve documentation for gst_value_union().
341 Change return value for union, intersect and subtract functions
342 from gint to gboolean.
344 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
346 * gst/gstvalue.c: (gst_value_serialize_any_list),
347 (gst_value_transform_any_list_string),
348 (gst_value_deserialize_list), (gst_value_deserialize_array),
349 (gst_value_set_int_range), (gst_value_deserialize_int_range),
350 (gst_value_set_double_range), (gst_value_deserialize_double_range),
351 (gst_value_set_fraction_range_full),
352 (gst_value_deserialize_fraction_range),
353 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
354 (gst_value_deserialize_boolean),
355 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
356 (gst_value_serialize_float), (gst_value_deserialize_float),
357 (gst_string_wrap), (gst_value_deserialize_string),
358 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
359 (gst_value_union_int_range_int_range),
360 (gst_value_intersect_int_range_int_range),
361 (gst_value_intersect_double_range_double_range),
362 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
363 (gst_value_subtract_int_range_int_range),
364 (gst_value_subtract_double_double_range),
365 (gst_value_subtract_double_range_double_range),
366 (gst_value_deserialize_fraction):
368 Use gint, gdouble and gchar in our API instead of int, double and
369 char (and make usage in gstvalue.c more consistent).
371 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
374 * libs/gst/controller/Makefile.am:
375 * libs/gst/dataprotocol/Makefile.am:
376 fix up Makefile.am and remove GST_ENABLE_NEW
378 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
382 * gst/base/Makefile.am:
383 * gst/check/Makefile.am:
384 * gst/elements/Makefile.am:
385 * gst/net/Makefile.am:
386 update LDFLAGS use some more
388 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
390 * common/m4/gst-doc.m4:
393 2005-11-26 Edward Hervey <edward@fluendo.com>
395 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
396 This shouldn't issue a g_warning since it returns NULL if it
397 couldn't find the plugin, and all functions using this behave
398 properly on a NULL return. Switching to a GST_WARNING.
400 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
402 * gst/gstbin.c: (gst_bin_handle_message_func):
403 Don't leak clock messages.
405 2005-11-25 Wim Taymans <wim@fluendo.com>
407 * gst/gstutils.c: (gst_util_uint64_scale_int64),
408 (gst_util_uint64_scale_int):
409 Optimisations, remove unneeded vars.
411 2005-11-25 Wim Taymans <wim@fluendo.com>
413 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
414 Added more checks for the high precision uint64 cases.
416 * gst/gstutils.c: (gst_util_uint64_scale_int64),
417 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
418 Implement high precission (guint64 * guint64) / guint64.
420 2005-11-24 Wim Taymans <wim@fluendo.com>
422 * gst/base/gstbasesrc.c: (gst_base_src_query):
423 Fix wrong percentage query.
425 * gst/gstutils.c: (gst_util_uint64_scale),
426 (gst_util_uint64_scale_int):
427 Add some more common cases that can be handled
428 efficiently to _scale.
430 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
432 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
433 (gst_mini_object_suite):
434 don't use check calls from threads; check probably isn't
435 threadsafe and using a lock to make it threadsafe would
436 defeat the purpose of this check
437 * gst/check/gstcheck.c:
438 * gst/check/gstcheck.h:
439 use GST_DEBUG some more
441 2005-11-24 Wim Taymans <wim@fluendo.com>
443 * gst/gstutils.c: (gst_util_uint64_scale),
444 (gst_util_uint64_scale_int):
445 Chain trivial case to _scale_int.
447 2005-11-24 Wim Taymans <wim@fluendo.com>
449 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
450 Added test for scaling.
455 * gst/gstutils.c: (gst_util_uint64_scale_int):
456 Implemented high precision scaling code.
458 2005-11-24 Stefan Kost <ensonic@users.sf.net>
461 do not crash on pad==NULL
463 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
465 Patch by: Stefan Kost
467 * common/gtk-doc.mak:
468 * docs/gst/Makefile.am:
469 * docs/libs/Makefile.am:
470 Fix distcheck issues for the libraries docs build
473 2005-11-24 Michael Smith <msmith@fluendo.com>
475 * docs/manual/basics-helloworld.xml:
476 Fix bug #315027: memory leak in example code in docs.
478 2005-11-24 Michael Smith <msmith@fluendo.com>
480 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
481 Unlock the PREROLL_LOCK in a failure case.
483 2005-11-24 Wim Taymans <wim@fluendo.com>
485 * docs/gst/gstreamer-sections.txt:
486 * gst/base/gstadapter.h:
487 * gst/base/gstbasesink.h:
488 * gst/base/gstbasesrc.h:
489 * gst/base/gstbasetransform.h:
490 * gst/base/gstpushsrc.h:
491 * gst/elements/gstfakesink.h:
492 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
493 * gst/elements/gstfakesrc.h:
494 * gst/elements/gstfilesink.h:
495 * gst/elements/gstfilesrc.h:
498 * gst/gstbuffer.c: (_gst_buffer_copy):
501 * gst/gstchildproxy.c:
504 * gst/gstelementfactory.c:
505 * gst/gstelementfactory.h:
509 * gst/gstinterface.h:
510 * gst/gstminiobject.c:
511 * gst/gstminiobject.h:
514 * gst/gstpadtemplate.h:
516 * gst/gstpluginfeature.h:
521 * gst/gsttagsetter.c:
522 * gst/gsttagsetter.h:
528 * gst/net/gstnetclientclock.c:
529 * gst/net/gstnetclientclock.h:
530 * gst/net/gstnettimepacket.c:
531 * gst/net/gstnettimeprovider.c:
532 * gst/net/gstnettimeprovider.h:
535 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
537 * configure.ac: back to HEAD
539 === release 0.9.6 ===
541 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
544 releasing 0.9.6, "Always On Time"
546 2005-11-23 Wim Taymans <wim@fluendo.com>
548 * docs/gst/gstreamer-sections.txt:
550 * gst/gsttagsetter.c:
552 * gst/net/gstnetclientclock.c:
553 * gst/net/gstnettimepacket.h:
556 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
558 * docs/faq/using.xml:
559 * docs/libs/tmpl/gstcontrol.sgml:
560 * docs/manual/advanced-dparams.xml:
561 * docs/manual/appendix-checklist.xml:
562 * docs/manual/basics-elements.xml:
563 * docs/pwg/other-source.xml:
564 * docs/random/moving-plugins:
566 * tools/gst-launch.1.in:
567 remove mentions of sinesrc
569 2005-11-23 Michael Smith <msmith@fluendo.com>
571 * docs/gst/gstreamer-sections.txt:
572 Update for new API and API changes.
574 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
576 Documentation typo fix.
577 * gst/net/gstnettimepacket.c:
578 Documentation fixes for arguments.
580 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
582 * gst/gststructure.c: (gst_structure_get_fraction),
583 (gst_structure_parse_value),
584 (gst_structure_fixate_field_nearest_fraction):
585 * gst/gststructure.h:
586 * gst/gstutils.c: (gst_util_uint64_scale_int):
588 * scripts/update-funcnames:
590 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
591 Make gst_structure_fixate_field_nearest_fraction take a numerator
592 and denominator argument instead of a GValue
593 add gst_structure_get_fraction helper function.
595 2005-11-23 Wim Taymans <wim@fluendo.com>
597 * docs/design/part-TODO.txt:
600 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
601 * gst/net/gstnetclientclock.h:
602 Use parent fields for timeout and window_size.
604 2005-11-23 Andy Wingo <wingo@pobox.com>
606 * check/net/gstnetclientclock.c (test_functioning): Adjust to
607 rate_num/rate_denom change.
609 * gst/net/gstnetclientclock.c
610 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
611 OBJECT_LOCK. Don't call add_observation with the lock.
613 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
615 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
617 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
618 deal with rate as a fraction whose numerator and denominator are
620 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
621 master; the other fields are protected by the SLAVE_LOCK.
622 (do_linear_regression): Note that this must be called with the
624 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
625 OBJECT_LOCK. Call set_calibration instead of touching the
627 (gst_clock_set_property, gst_clock_get_property): Protect
628 master/slave parameters with the SLAVE_LOCK.
630 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
631 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
632 note that all of the instance variables that add_observation and
633 the set_master functions use are protected by that lock and not
635 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
637 * gst/gstclock.c (gst_clock_add_observation): No longer requires
638 the caller to take the object lock.
640 2005-11-23 Wim Taymans <wim@fluendo.com>
642 * gst/gsterror.c: (_gst_core_errors_init):
644 Add error for clock stuff.
646 * gst/gstpipeline.c: (gst_pipeline_change_state),
647 (gst_pipeline_set_clock):
648 Post clock error when clock cannot be used in a pipeline.
650 2005-11-23 Stefan Kost <ensonic@users.sf.net>
652 * docs/gst/gstreamer-sections.txt:
653 make two symbols from gstinfo private for the docs
654 * gst/base/gstcollectpads.h:
656 fix doc typos, update docs
658 2005-11-22 Wim Taymans <wim@fluendo.com>
660 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
661 (gst_base_sink_wait), (gst_base_sink_do_sync),
662 (gst_base_sink_handle_event):
663 * gst/base/gstbasesink.h:
664 No need to store the clock, the parent element class already
667 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
668 Updates for clock_set returning a gboolean
670 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
671 (gst_clock_id_wait_async), (gst_clock_class_init),
672 (gst_clock_init), (gst_clock_finalize),
673 (gst_clock_get_internal_time), (gst_clock_get_time),
674 (gst_clock_slave_callback), (gst_clock_set_master),
675 (gst_clock_get_master), (do_linear_regression),
676 (gst_clock_add_observation), (gst_clock_set_property),
677 (gst_clock_get_property):
679 Implement master/slave. When setting a clock as a slave, a
680 periodic timeout is scheduled to sample master and slave times.
681 Then the slave clock is recalibrated to match offset and rate
683 Update logging a bit.
684 Add flag so that a clock can state that is cannot be slaved to
687 * gst/gstelement.c: (gst_element_set_clock):
689 The set clock returns a gboolean for when an element cannot
690 deal with the selected clock in the pipeline.
692 * gst/gstpipeline.c: (gst_pipeline_change_state),
693 (gst_pipeline_set_clock):
695 Handle the case where the selected clock cannot be set on
698 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
699 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
700 (gst_net_client_clock_set_property),
701 (gst_net_client_clock_get_property),
702 (gst_net_client_clock_observe_times):
703 * gst/net/gstnetclientclock.h:
704 Use regression code in GstClock parent, remove duplicated
707 2005-11-22 Michael Smith <msmith@fluendo.com>
709 * gst/gstutils.c: (gst_util_clock_time_scale):
711 * docs/gst/gstreamer-sections.txt:
712 Rename method to have extra underscore.
714 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
716 * gst/elements/Makefile.am:
717 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
718 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
719 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
720 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
721 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
722 * gst/elements/gstfakesrc.h:
723 * gst/gstqueue.c: (queue_leaky_get_type):
724 correctly fix GEnumValues so that nick is the short lowercase
726 * tools/gst-inspect.c: (print_element_properties_info):
727 also show the nick, since it's useful to use from parse_launch
731 2005-11-22 Michael Smith <msmith@fluendo.com>
733 * gst/gstutils.c: (gst_util_clocktime_scale):
735 * docs/gst/gstreamer-sections.txt:
736 Add util method for scaling a clocktime by a fraction. Useful
737 implementation is left as an exercise for the reader.
739 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
741 * gst/gstvalue.c: (gst_value_collect_fraction_range):
742 If needed, allocate storage in the destination value during
745 2005-11-22 Edward Hervey <edward@fluendo.com>
747 * docs/gst/gstreamer-sections.txt:
752 * gst/gstutils.c: (gst_util_set_object_arg):
753 * tools/gst-compprep.c: (main):
754 * tools/gst-inspect.c: (print_element_properties_info):
755 Removed GstURI, closes bug #321061
757 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
759 * check/gst/gststructure.c: (GST_START_TEST):
760 * gst/gststructure.c: (gst_structure_parse_value):
761 Oops, broke automatic string type parsing.
762 Add a test to catch it in future.
764 2005-11-22 Andy Wingo <wingo@pobox.com>
766 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
767 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
768 Actually rename the function implementations. Grr.
770 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
772 * check/gst/capslist.h:
774 * check/gst/gststructure.c: (GST_START_TEST),
775 (gst_structure_suite):
776 Test automatic value type detection in gst_structure_from_string.
777 * gst/gststructure.c: (gst_structure_parse_value):
778 Add fraction as a type we try and guess automatically in
779 caps/structure strings.
781 2005-11-22 Andy Wingo <wingo@pobox.com>
783 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
785 * gst/gsttagsetter.h:
786 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
787 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
788 (gst_tag_setter_add_tag_valist)
789 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
790 _add_values, _add_valist, and _add_valist_values. Since this is an
791 interface the function suffixes should be more explicit so
792 language binding don't end up with element.add_valist ->
793 gst_tag_setter_add_valist, for example. Fixes #322069.
795 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
797 * check/gst/gstcaps.c: (GST_START_TEST):
798 Extend caps string tests to check that a caps to string
799 conversion is reversible and produces the same caps.
801 * gst/gststructure.c: (gst_structure_value_get_generic_type):
802 Output "fraction" as the generic type fraction range, so caps
803 serialisation and deserialisation works.
804 * check/gst/capslist.h:
805 * gst/gstvalue.c: (gst_value_deserialize_fraction):
806 Support 'MIN' and 'MAX' for deserialising fractions.
808 2005-11-22 Andy Wingo <wingo@pobox.com>
810 * gst/gstevent.h (gst_event_new_new_segment)
811 (gst_event_parse_new_segment, gst_event_new_buffer_size)
812 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
813 Renamed from *_newsegment, *_buffersize, *_notarget.
815 * scripts/update-funcnames: New script, performs the changes
818 2005-11-22 Wim Taymans <wim@fluendo.com>
820 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
821 Make sure the GstFlowReturn is returned.
823 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
824 (gst_bus_add_signal_watch):
826 add gst_bus_add_signal_watch_full.
828 * gst/gstplugin.c: (gst_plugin_load_file):
831 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
833 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
834 Block the fakesrc srcpad when we send an event, to avoid
835 contention on the stream_lock causing random test failures.
837 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
839 * check/gst/gstvalue.c: (GST_START_TEST):
840 * gst/gstvalue.c: (gst_value_fraction_subtract):
843 2005-11-22 Stefan Kost <ensonic@users.sf.net>
846 include "gstchildproxy.h"
847 * gst/gstchildproxy.h:
848 * libs/gst/controller/gstcontroller.h:
849 use G_GNUC_NULL_TERMINATED
851 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
853 * check/gst/capslist.h:
854 * check/gst/gstcaps.c: (GST_START_TEST):
855 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
856 * gst/gststructure.c: (gst_structure_parse_range),
857 (gst_structure_fixate_field_nearest_fraction):
858 * gst/gststructure.h:
859 * gst/gstvalue.c: (gst_value_init_fraction_range),
860 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
861 (gst_value_collect_fraction_range),
862 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
863 (gst_value_set_fraction_range_full),
864 (gst_value_get_fraction_range_min),
865 (gst_value_get_fraction_range_max),
866 (gst_value_serialize_fraction_range),
867 (gst_value_transform_fraction_range_string),
868 (gst_value_compare_fraction_range),
869 (gst_value_deserialize_fraction_range),
870 (gst_value_intersect_fraction_fraction_range),
871 (gst_value_intersect_fraction_range_fraction_range),
872 (gst_value_subtract_fraction_fraction_range),
873 (gst_value_subtract_fraction_range_fraction),
874 (gst_value_subtract_fraction_range_fraction_range),
875 (gst_value_collect_fraction), (gst_value_fraction_multiply),
876 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
877 (gst_value_transform_string_fraction), (_gst_value_initialize):
879 Implement fraction ranges and extend GstFraction to support
880 arithmetic subtraction, as well as deserialization from integer
881 strings such as "100"
882 Add a testsuite as for int and double range set operations
884 2005-11-21 Andy Wingo <wingo@pobox.com>
888 * gst/gststructure.h: Add glib-compat.h.
890 2005-11-21 Wim Taymans <wim@fluendo.com>
892 * gst/gstbin.c: (gst_bin_change_state_func):
895 2005-11-21 Wim Taymans <wim@fluendo.com>
898 And add a nice define too.
900 2005-11-21 Wim Taymans <wim@fluendo.com>
902 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
903 (gst_segment_new), (gst_segment_free), (gst_segment_init),
904 (gst_segment_set_duration), (gst_segment_set_last_stop),
905 (gst_segment_set_seek), (gst_segment_set_newsegment),
906 (gst_segment_to_stream_time), (gst_segment_to_running_time),
909 Make binding friendly.
911 2005-11-21 Andy Wingo <wingo@pobox.com>
913 * gst/gsttagsetter.h:
915 * gst/gststructure.h:
917 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
920 * gst/gsterror.c (_gst_core_errors_init):
921 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
924 * gst/Makefile.am (gst_headers): Add glib-compat.h.
925 (noinst_HEADERS): noinst the -private.
927 2005-11-21 Michael Smith <msmith@fluendo.com>
931 Remove unimplemented declarations for which we can see no sensible
934 2005-11-21 Andy Wingo <wingo@pobox.com>
936 * gst/gst.h: Include glib-compat.h.
938 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
940 * gst/glib-compat.c: Include the public and the private header.
942 * gst/glib-compat-private.h: Copied here from glib-compat.h.
946 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
948 * check/gst/gstevent.c (create_custom_events): Check that
949 FLUSH_STOP is serialized.
951 * check/elements/identity.c (event_func):
952 * check/elements/fakesrc.c (event_func): No stream lock, the core
955 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
956 stream lock taking, yay.
958 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
959 ensure that core takes the stream lock.
961 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
964 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
965 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
966 it already. For the flush start we do take it though so we get the
967 right preroll state change messages.
969 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
970 the stream lock here, the core does it for us.
972 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
974 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
975 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
976 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
977 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
978 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
979 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
981 * gst/gstpad.c: Update for stream lock name change.
983 * gst/base/gstbasesink.c: Update for preroll lock name change.
985 2005-11-21 Wim Taymans <wim@fluendo.com>
987 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
988 (gst_clock_get_master):
990 * gst/gstsystemclock.c: (gst_system_clock_init):
991 Convert Clock flags to object flags.
992 Added methods to manage master/slave clocks.
994 2005-11-21 Wim Taymans <wim@fluendo.com>
996 * check/gst/gstsegment.c: (GST_START_TEST):
997 * docs/design/part-TODO.txt:
998 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
999 (gst_base_sink_event), (gst_base_sink_do_sync),
1000 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
1001 (gst_base_sink_query), (gst_base_sink_change_state):
1002 * gst/base/gstbasesink.h:
1003 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
1004 (gst_base_src_default_newsegment),
1005 (gst_base_src_configure_segment), (gst_base_src_do_seek),
1006 (gst_base_src_get_range), (gst_base_src_loop),
1007 (gst_base_src_change_state):
1008 * gst/base/gstbasesrc.h:
1009 * gst/base/gstbasetransform.c:
1010 (gst_base_transform_prepare_output_buf),
1011 (gst_base_transform_event), (gst_base_transform_change_state):
1012 * gst/base/gstbasetransform.h:
1013 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
1014 (gst_collect_pads_event):
1015 * gst/base/gstcollectpads.h:
1016 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
1017 (gst_fake_src_create):
1018 * gst/elements/gstfakesrc.h:
1019 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1020 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1021 (gst_segment_set_last_stop), (gst_segment_set_seek),
1022 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
1023 (gst_segment_to_running_time), (gst_segment_clip):
1025 More segment updates, replace code in plugins with segment
1028 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
1030 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
1031 Don't ignore sscanf results
1033 2005-11-21 Andy Wingo <wingo@pobox.com>
1035 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
1038 * *.c: Ran scripts/update-macros. Oh yes.
1040 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
1041 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
1044 * scripts/update-macros: New script. Run it on your files to
1045 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
1048 2005-11-21 Stefan Kost <ensonic@users.sf.net>
1050 * docs/gst/Makefile.am:
1051 * docs/gst/gstreamer-docs.sgml:
1052 * docs/gst/gstreamer-sections.txt:
1053 * docs/gst/gstreamer.types:
1055 more docs fixes, add new api to the docs
1057 2005-11-21 Andy Wingo <wingo@pobox.com>
1059 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
1060 state_broadcast call.
1062 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
1064 2005-11-21 Julien MOUTTE <julien@moutte.net>
1066 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
1067 function calls for arrays.
1069 2005-11-21 Stefan Kost <ensonic@users.sf.net>
1071 * docs/random/ensonic/media-device-daemon.txt:
1072 wild idea, can this be done?
1073 * docs/gst/gstreamer-sections.txt:
1078 * gst/gstpluginfeature.c:
1082 doc fixes and additions
1084 2005-11-21 Andy Wingo <wingo@pobox.com>
1086 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
1087 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
1088 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
1089 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
1090 private to the basesrc implementation.
1092 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
1093 behalf of event function if necessary. It should no longer be
1094 necessary to take the stream lock in pad's event functions. Fixes
1097 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
1098 * docs/gst/gstreamer-sections.txt:
1099 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
1100 (gst_structure_fixate_field_nearest_double),
1101 (gst_structure_fixate_field_boolean):
1102 * gst/gststructure.h:
1103 * win32/common/libgstreamer.def:
1104 * win32/gstreamer.def:
1106 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
1109 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
1111 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
1112 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
1113 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
1114 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
1115 (gst_fdsrc_uri_handler_init):
1116 * gst/elements/gstfdsrc.h:
1117 Port fd:// URI handler from 0.8 to fdsrc
1119 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1121 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
1122 (gst_value_serialize_fourcc):
1124 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
1125 consistent with our other format defines (#320324).
1127 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1129 * gst/gstvalue.c: (gst_value_is_fixed):
1130 Revert previous commit. Value lists are by definition
1131 not fixed, as they are a list of possible values.
1133 2005-11-21 Andy Wingo <wingo@pobox.com>
1135 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
1136 during the stable series if we need it. Fixes #319178.
1138 * gst/gstevent.c (gst_event_new_filler): Removed.
1140 * check/gst/gstevent.c: Update comment about filler events.
1142 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1144 * gst/gstvalue.c: (gst_value_is_fixed):
1145 Should handle both value arrays and value lists.
1147 2005-11-21 Andy Wingo <wingo@pobox.com>
1149 patch by: Alessandro Dessina <alessandro nnva org>
1151 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
1152 functions to access arrays. Fixes #321962.
1154 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1156 * docs/gst/gstreamer.types:
1157 gst_collectpads_get_type => gst_collect_pads_get_type.
1159 * gst/base/gstbasetransform.c:
1160 Remove unused SIGNAL_HANDOFF enum.
1162 2005-11-21 Andy Wingo <wingo@pobox.com>
1164 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
1165 the event type (upstream, downstream, serialized). Renamed
1166 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
1167 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
1168 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
1170 * gst/gstevent.c: Update for new CUSTOM event names.
1172 * check/gst/gstevent.c: Update check for new CUSTOM event names.
1175 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
1178 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1180 * docs/gst/gstreamer-sections.txt:
1181 * win32/common/libgstbase.def:
1182 * win32/libgstbase.def:
1183 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
1184 (gst_collect_pads_class_init), (gst_collect_pads_init),
1185 (gst_collect_pads_finalize), (gst_collect_pads_new),
1186 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
1187 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
1188 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
1189 (gst_collect_pads_start), (gst_collect_pads_stop),
1190 (gst_collect_pads_peek), (gst_collect_pads_pop),
1191 (gst_collect_pads_available), (gst_collect_pads_read),
1192 (gst_collect_pads_flush), (gst_collect_pads_event),
1193 (gst_collect_pads_chain):
1194 * gst/base/gstcollectpads.h:
1195 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
1196 unimplemented functions as unimplemented. Add padding to
1197 GstCollectData. (#320766, #320423)
1199 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1202 Improve docs for DURATION message (usage of duration parameter)
1205 2005-11-20 Wim Taymans <wim@fluendo.com>
1207 * check/Makefile.am:
1208 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
1212 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1213 (gst_segment_set_seek), (gst_segment_set_newsegment),
1214 (gst_segment_to_stream_time), (gst_segment_to_running_time),
1217 Added segment helper structure and methods. Not fully implemented
1219 Added segment check.
1221 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
1223 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1224 Add a deserialisation test for fractions
1225 * examples/metadata/read-metadata.c: (message_loop),
1226 (make_pipeline), (main):
1227 Fix up metadata reading sample.
1228 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1230 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1231 Don't try and fixate empty caps
1232 * gst/gst_private.h:
1233 Wrap in G_BEGIN_DECLS/G_END_DECLS
1234 * gst/gstvalue.c: (gst_value_collect_fraction),
1235 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
1236 (gst_value_transform_string_fraction),
1237 (gst_value_compare_fraction):
1238 Add some extra guards to ensure that we don't end up
1239 with an invalid denominator of 0 in a gstfraction and
1240 that fractions always get reduced.
1242 2005-11-20 Wim Taymans <wim@fluendo.com>
1244 * docs/gst/gstreamer-sections.txt:
1255 2005-11-20 Wim Taymans <wim@fluendo.com>
1257 * docs/design/part-TODO.txt:
1259 Make a proper enum of the flag.
1261 2005-11-19 Wim Taymans <wim@fluendo.com>
1263 * docs/design/part-TODO.txt:
1264 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
1265 (gst_format_to_quark), (gst_format_register):
1267 * gst/gstquery.c: (_gst_query_initialize),
1268 (gst_query_type_get_name), (gst_query_type_to_quark),
1269 (gst_query_type_register):
1271 Add type to quark and type to string conversions.
1273 2005-11-19 Andy Wingo <wingo@pobox.com>
1275 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
1278 2005-11-19 Wim Taymans <wim@fluendo.com>
1280 * docs/design/part-TODO.txt:
1281 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
1282 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
1283 (gst_bin_handle_message_func):
1285 Make message handling overridable.
1287 2005-11-19 Andy Wingo <wingo@pobox.com>
1289 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
1292 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
1294 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
1295 is a GstClockTime. Fixes #321710.
1297 * gst/gstclock.h (GstClock): Remove offset property. Add
1298 internal_calibration and external_calibration. Fix padding. Pad
1299 also by GstClockTime so we don't run into problems.
1301 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
1302 (gst_clock_get_rate_offset): Remove.
1303 (gst_clock_set_time_adjust): Remove. Fixes #321712.
1306 * gst/gstutils.c (g_static_rec_cond_wait)
1307 (g_static_rec_cond_timed_wait): Removed, no longer needed.
1309 * gst/gstbin.c: Remove terrible continue_state prototype.
1311 * gst/gstelement.h (gst_element_continue_state): Make public.
1314 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
1315 by continue_state. Fixes #319389.
1317 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
1318 Really fixes #168438. However I don't see anywhere where the
1319 filter function is called... stupid GStreamer...
1321 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
1322 don't have a dispose function, so it won't get called when the
1323 object is unreffed, but oh well!
1325 * gst/gstindex.c (gst_index_set_filter_full): New API function,
1326 allows a destroy function to be set so user_data can be freed.
1328 (gst_index_set_filter): Call gst_index_set_filter_full.
1330 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
1332 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
1333 string should produce an error, given the lack of a way to
1334 represent NULL strings. Fixes #165650.
1337 * gst/gstvalue.c (gst_value_array_append_value)
1338 (gst_value_array_prepend_value, gst_value_array_get_size)
1339 (gst_value_array_get_value): New API, copied from
1340 gst_value_list_*, only operates on arrays.
1341 (gst_value_list_append_value, gst_value_list_prepend_value)
1342 (gst_value_list_concat, gst_value_list_get_size)
1343 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
1345 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
1346 init_list, because it works on both.
1347 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
1348 (gst_value_copy_list_or_array): Renamed from copy_list.
1349 (gst_value_free_list_or_array): Renamed from free_list.
1350 (gst_value_collect_list_or_array): Renamed from collect_list.
1351 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
1352 (gst_value_list_or_array_peek_pointer): Renamed from
1354 (_gst_value_array_value_table, _gst_value_list_value_table):
1355 Update value table functions.
1356 (gst_value_compare_list_or_array): Renamed from compare_list.
1358 * gsttaglist.h: Whoops, foreach function returns void. Also fix
1362 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
1363 GstTagList*. Fixes #143472.
1365 * gst/gststructure.h: Clarify what the foreach/map functions can
1366 or can't do to their arguments.
1368 2005-11-18 Wim Taymans <wim@fluendo.com>
1370 * gst/gstclock.c: (gst_clock_set_calibration),
1371 (gst_clock_get_calibration):
1373 Calibration can be set with internal time equal to current
1376 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
1382 2005-11-18 Andy Wingo <wingo@pobox.com>
1385 * pkgconfig/gstreamer-net.pc.in:
1386 * pkgconfig/gstreamer-net-uninstalled.pc.in:
1387 * pkgconfig/Makefile.am: Add net pkgconfig files.
1389 2005-11-18 Stefan Kost <ensonic@users.sf.net>
1392 * gst/gstghostpad.c:
1398 2005-11-18 Andy Wingo <wingo@pobox.com>
1400 * gst/net/gstnetclientclock.c: Turn off debugging.
1402 * check/net/gstnetclientclock.c (test_functioning): Assert that the
1403 times connverge somewhat. Can't make a real test.
1405 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
1406 integer arithmetic. Return the minimum of the domain, which can be
1407 set as "internal" for gst_clock_set_calibration.
1408 (gst_net_client_clock_observe_times): Call _set_calibration.
1409 (gst_net_client_clock_new): Call _set_calibration instead of
1412 * check/net/gstnetclientclock.c (test_functioning): Use the right
1416 * gst/gstclock.c (gst_clock_get_calibration)
1417 (gst_clock_set_calibration): New functions, obsolete the ones I
1418 added yesterday. Doh. Precision issues mean we have to extrapolate
1419 from a point in the more recent past than 1970.
1420 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
1422 (gst_clock_adjust_unlocked): Use the right calibration data.
1424 2005-11-18 Edward Hervey <edward@fluendo.com>
1426 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
1427 Also reset the ->current_* values in READY->PAUSED
1429 2005-11-18 Andy Wingo <wingo@pobox.com>
1431 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
1432 Whoops, check the right fd. Also add some debugging.
1433 (gst_net_client_clock_observe_times): Adjust for int64 offset.
1434 (do_linear_regression): Add a crapload of debugging. Subtract off
1435 the minimum values from the input series to discard unneeded bits.
1436 Use only int arithmetic. There is still double arithmetic when
1437 calculating the intercept that needs fixing. Return boolean to
1438 indicate success; FALSE would mean the domain or range is too
1439 great. Still needs fixes.
1441 2005-11-18 Wim Taymans <wim@fluendo.com>
1443 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
1444 For the current position in stream time, we need to subtract
1447 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
1448 Release lock before calling the callback function of async
1451 2005-11-18 Andy Wingo <wingo@pobox.com>
1453 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
1454 Port goes all the way to MAXUINT16.
1456 * gst/net/gstnettimeprovider.c: Make the port range the same as
1457 for the kernel: 0 assigns, otherwise ports are less than
1460 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
1463 * check/net/gstnetclientclock.c (test_functioning): Add the start
1466 2005-11-18 Wim Taymans <wim@fluendo.com>
1468 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1469 (gst_bin_remove_func), (bin_bus_handler):
1471 Removing a clock provider from a bin, triggers a clock lost message
1472 so that a new clock will be selected.
1473 Adding a clock to a bin triggers a clock provider message.
1474 Make sure we reselect a clock when we received a clock lost message.
1475 Keep a reference to the element that provided the clock.
1477 2005-11-18 Andy Wingo <wingo@pobox.com>
1479 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
1480 the clock initially so it produces values around the base time.
1481 (gst_net_client_clock_class_init): Typo fix.
1482 (gst_net_client_clock_thread): Add note on when the socket gets
1485 2005-11-17 Wim Taymans <wim@fluendo.com>
1487 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
1488 Free remote and local time arrays.
1490 2005-11-17 Wim Taymans <wim@fluendo.com>
1492 * gst/net/gstnetclientclock.c: (do_linear_regression),
1493 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
1494 Fix compilation, uninitialized vars and a forgotten continue.
1496 2005-11-17 Andy Wingo <wingo@pobox.com>
1498 * check/Makefile.am (check_PROGRAMS):
1499 * check/net/gstnetclientclock.c: Add a most minimal test for the
1500 net client clock. More to come later.
1503 * gst/net/Makefile.am: Add netclientclock.
1505 * gst/net/gstnetclientclock.h:
1506 * gst/net/gstnetclientclock.c: New files, implement an untested
1507 GstClock that takes its time from a network time provider.
1508 Implements the algorithm in network-clock.scm.
1510 * tests/network-clock.scm (*window-size*): Rename from
1512 * tests/network-clock.scm (network-time):
1513 * tests/network-clock-utils.scm (q-push): Update callers.
1515 2005-11-17 Wim Taymans <wim@fluendo.com>
1517 * gst/gstbin.c: (gst_bin_provide_clock_func),
1518 (gst_bin_sort_iterator_new):
1519 And unref the child too..
1521 2005-11-17 Wim Taymans <wim@fluendo.com>
1523 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
1524 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
1525 Refactor the sort iterator so it can be used while holding the
1527 Make clock selection select a clock closest to the source.
1529 2005-11-17 Michael Smith <msmith@fluendo.com>
1531 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
1532 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
1534 Anonymous structs are a gcc (and some other compilers) extension, so
1535 don't use them. Since this is only for ABI-compatibility, and our
1536 API/ABI freeze is over in a few days, this whole thing will only
1537 last a few days, so don't bother trying to think up a meaningful
1538 name for the struct.
1540 2005-11-17 Andy Wingo <wingo@pobox.com>
1542 * gst/gstclock.h (GstClock): Add rate and offset properties,
1543 preserving ABI stability. Add rate/offset accessors. Will file bug
1544 for the freeze break.
1546 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
1547 and offset, trying to keep precision and avoiding
1549 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
1550 functions. Make gst_clock_set_time_adjust obsolete.
1551 (gst_clock_set_time_adjust): Note that this function is obsolete.
1554 * gst/base/gstbasetransform.h: Make the ABI-stability hack
1555 greppable by using GST_PADDING-1+1.
1557 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
1559 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1561 * gst/gstmessage.c: (gst_message_parse_clock_lost):
1562 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
1564 * gst/gstpadtemplate.h:
1565 * gst/gstpluginfeature.h:
1566 Don't use c++ style comments in headers (#321638).
1568 2005-11-16 Andy Wingo <wingo@pobox.com>
1570 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
1573 * check/net/gstnettimeprovider.c: Check to see that the time
1574 provider actually provides times. Works, yo!
1576 2005-11-16 Wim Taymans <wim@fluendo.com>
1578 * check/Makefile.am:
1581 * check/elements/fakesrc.c: (GST_START_TEST):
1582 Set element to NULL before disposing it.
1584 2005-11-16 Andy Wingo <wingo@pobox.com>
1586 * gst/net/Makefile.am:
1588 * gst/net/gstnettimeprovider.c:
1589 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
1590 provider, include it from gstnet.h, and add it to the build.
1592 * gst/net/gstnettimepacket.h:
1593 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
1594 sending and receiving.
1596 2005-11-16 Wim Taymans <wim@fluendo.com>
1598 * check/Makefile.am:
1599 Enable valgrind check.
1601 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
1602 (gst_fake_src_alloc_buffer):
1605 2005-11-16 Wim Taymans <wim@fluendo.com>
1607 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
1608 Call parent finalize too.
1610 2005-11-16 Wim Taymans <wim@fluendo.com>
1612 * check/Makefile.am:
1613 Enable valgrind check that should work fine now.
1615 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1616 * gst/gstqueue.c: (gst_queue_init):
1617 Fix memleaks in pad allocation.
1619 2005-11-16 Andy Wingo <wingo@pobox.com>
1621 * gst/net/Makefile.am:
1622 * gst/net/gstnet.h: New part of core to hold network elements and
1623 objects. Put in core because it exposes API that applications want
1624 to use. The library is named libgstnet-tempname right now because
1625 of the existing libgstnet in gst-plugins-base. Solution is
1626 probably to rename the one in plugins-base; will file a bug for
1629 * gst/net/gstnettimeprovider.c:
1630 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
1631 get_time call over the network.
1634 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
1636 * check/Makefile.am:
1637 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
1638 get additions shortly.
1640 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1642 * gst/gstpad.c: (gst_pad_new_from_static_template):
1644 add gst_pad_new_from_static_template functions
1645 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
1646 (gst_check_setup_sink_pad):
1647 * gst/elements/gsttee.c: (gst_tee_init):
1650 2005-11-16 Wim Taymans <wim@fluendo.com>
1652 * gst/gstpad.c: (gst_pad_pause_task):
1653 Removed warning, it's not really an error either.
1655 2005-11-16 Wim Taymans <wim@fluendo.com>
1657 * gst/base/gstbasetransform.c:
1658 (gst_base_transform_prepare_output_buf),
1659 (gst_base_transform_event):
1660 Check if the caps are NULL, this can happen if the element
1661 is shutting down and the pad caps are set to NULL.
1663 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1665 * gst/elements/gsttee.c: (gst_tee_init):
1666 fix pad template leak in tee
1668 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1670 * gst/glib-compat.c: (g_value_dup_gst_object):
1671 * gst/glib-compat.h:
1672 * gst/gstpad.c: (gst_pad_set_property):
1673 use gst_object_ref when setting the pad template; this will
1674 trigger the pad template leaks on GLib 2.6 and the slaves
1676 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1678 * gst/glib-compat.c: (gst_flags_get_first_value):
1679 * gst/glib-compat.h:
1680 * gst/gstregistryxml.c:
1681 remove functions copied from GLib 2.6
1683 2005-11-16 Michael Smith <msmith@fluendo.com>
1686 Don't link against VALGRIND_LIBS. That was always the wrong thing to
1687 do, but only breaks with newer valgrind versions. We're not a
1688 valgrind tool, we have no link-time dependencies on libcoregrind.
1690 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1692 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1697 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1699 * gst/base/gstbasesrc.c: (gst_base_src_init):
1700 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1701 * gst/gstqueue.c: (gst_queue_init):
1702 * gst/gstregistryxml.c: (load_feature):
1703 Revert all these unrefs, they don't even pass make check !
1705 2005-11-15 Johan Dahlin <johan@gnome.org>
1707 * gst/base/gstbasesrc.c: (gst_base_src_init):
1708 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1709 * gst/gstqueue.c: (gst_queue_init):
1710 Free pad templates, fixes a couple of leaks.
1712 2005-11-15 Daniel Fischer <dan at f3c dot com>
1714 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1716 * gst/gstpad.c: (gst_pad_get_property):
1717 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
1718 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
1721 2005-11-15 Wim Taymans <wim@fluendo.com>
1726 2005-11-15 Andy Wingo <wingo@pobox.com>
1728 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
1730 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
1731 using GST_CLOCK_TIME_NONE to disable base time management.
1732 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
1733 time if it was NONE before.
1734 (gst_pipeline_change_state): Only munge the base time if
1735 stream_time != GST_CLOCK_TIME_NONE.
1737 * check/gst/gstpipeline.c (test_base_time): Punt around the
1738 problem of the probe not being called, because that's not the
1739 issue I'm looking at. Add a check that setting stream_time to NONE
1740 disables base time management.
1742 2005-11-15 Wim Taymans <wim@fluendo.com>
1744 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
1745 segment_stop == -1 at startup.
1747 * gst/base/gstbasetransform.c: (gst_base_transform_event),
1748 (gst_base_transform_change_state):
1749 Init segment values at start.
1751 2005-11-15 Wim Taymans <wim@fluendo.com>
1753 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1754 0 segment values are 0 in any format.
1756 * gst/base/gstbasetransform.c: (gst_base_transform_event):
1757 * gst/base/gstbasetransform.h:
1758 Parse newsegment correctly in basetransform
1760 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1761 Sync to clock using updated segment values.
1763 2005-11-15 Andy Wingo <wingo@pobox.com>
1765 * check/gst/gstpipeline.c (test_base_time): Add check that the
1766 base time and stream time are reset correctly.
1768 2005-11-15 Wim Taymans <wim@fluendo.com>
1770 * docs/design/part-TODO.txt:
1771 Some more TODO items.
1773 2005-11-15 Andy Wingo <wingo@pobox.com>
1775 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
1776 error if the user selected "no clock" as the clocking method.
1778 * check/gst/gstpipeline.c (test_base_time): New test for buffer
1779 timestamps with live capture.
1781 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
1782 is 0 but we are a live source, timestamp the buffers using the
1785 2005-11-14 Stefan Kost <ensonic@users.sf.net>
1787 * docs/gst/gstreamer-sections.txt:
1789 * gst/gstghostpad.c:
1794 2005-11-14 Wim Taymans <wim@fluendo.com>
1797 add suppressions from Wim's Debian machine
1799 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
1802 add suppressions from Andy's AMD64 Ubuntu machine
1804 2005-11-14 Andy Wingo <wingo@pobox.com>
1806 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
1807 STATE_LOCK not necessary. Fixes #311489.
1809 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
1812 * gst/gstindex.c (gst_index_add_object): Note in the docs that
1813 this function is not implemented.
1815 2005-11-14 Julien MOUTTE <julien@moutte.net>
1817 * gst/base/gstbasetransform.c:
1818 (gst_base_transform_prepare_output_buf):
1819 Ref the source pad caps while we need them.
1822 2005-11-11 Wim Taymans <wim@fluendo.com>
1824 * docs/gst/gstreamer-sections.txt:
1825 Added some docs for GstCollectData.
1827 * gst/base/gstadapter.c:
1828 Some small code example fix.
1830 * gst/base/gstcollectpads.c:
1831 * gst/base/gstcollectpads.h:
1834 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
1836 * configure.ac: back to HEAD
1838 === release 0.9.5 ===
1840 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
1843 releasing 0.9.5, "Bike Lunch Day"
1845 2005-11-11 Wim Taymans <wim@fluendo.com>
1847 * gst/gstbuffer.c: (_gst_buffer_copy):
1850 * gst/gstcaps.c: (gst_caps_is_equal):
1852 Make _is_equal fast in the trivial cases.
1854 * gst/gstminiobject.c:
1855 * gst/gstminiobject.h:
1856 More docs. Spifify .h file.
1861 2005-11-11 Wim Taymans <wim@fluendo.com>
1863 * gst/base/gstbasetransform.c:
1864 (gst_base_transform_prepare_output_buf),
1865 (gst_base_transform_handle_buffer):
1867 If we're processing a buffer and need to allocate an output
1868 buffer, we cannot accept a format change. If we did get a
1869 format change, we have to alloc a buffer ourselves of the
1872 2005-11-11 Wim Taymans <wim@fluendo.com>
1874 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
1875 While checking the flag for reentrancy in the gstcaps function
1876 is nice to detect recursive invocations, it also makes it
1877 impossible to call getcaps from multiple threads, which must be
1878 possible. So, checking for recursive calls has to go.
1880 2005-11-11 Michael Smith <msmith@fluendo.com>
1882 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1883 Don't sync on buffers that fall partially outside our current
1884 segment. Prevents an assertion failure/abort playing some files.
1886 2005-11-10 Andy Wingo <wingo@pobox.com>
1888 * check/gst/gstbin.c (test_message_state_changed_children): Style
1891 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
1892 gst_bus_poll with the signal watch. Ensures that poll and a signal
1893 watch see the same messages.
1895 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
1896 a poll and a watch at the same time get the same messages.
1898 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
1900 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
1901 * gst/gstcaps.c: (gst_caps_intersect):
1902 Don't call gst_caps_do_simplify - it doesn't respect order of caps
1903 and it's not needed.
1905 2005-11-10 Wim Taymans <wim@fluendo.com>
1907 * docs/design/part-TODO.txt:
1910 2005-11-10 Wim Taymans <wim@fluendo.com>
1912 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1913 * gst/base/gstbasesrc.c: (gst_base_src_wait),
1914 (gst_base_src_do_sync), (gst_base_src_get_range):
1915 Implement clock sync in base class.
1917 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
1919 patch by: Tim-Philipp Müller <tim at centricular dot net>
1921 * gst/gststructure.c: (gst_structure_parse_field),
1922 (gst_structure_from_string):
1923 Forward-port a 0.8 patch to handle escaped spaces in structure string,
1924 so that gst_parse_launch() can deal with spaces in filtered link
1925 caps (fixes #164479)
1926 * check/gst/capslist.h:
1927 * check/gst/gststructure.c: (GST_START_TEST):
1928 add unit tests for this change
1930 2005-11-10 Wim Taymans <wim@fluendo.com>
1932 * docs/gst/gstreamer-sections.txt:
1935 Fix docs, move some STATE macros to private.
1937 2005-11-10 Wim Taymans <wim@fluendo.com>
1939 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
1940 Added check for bug #317341
1944 Some more spiffifying.
1946 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
1947 Call peer linkfunction if we are a source pad. Totally fixes
1951 Update docs, source pads should call the peer linkfunction
1952 so they can atomically perform the pad link.
1954 2005-11-09 Wim Taymans <wim@fluendo.com>
1958 Uber-spiffy-spiffify some more.
1960 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
1962 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
1963 * gst/elements/gstfilesink.c: (gst_file_sink_init):
1964 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1965 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
1966 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
1967 * gst/gstpad.c: (gst_pad_init):
1968 Use GST_DEBUG_FUNCPTR() more extensively.
1970 2005-11-09 Wim Taymans <wim@fluendo.com>
1972 * gst/gstobject.c: (gst_object_class_init):
1974 Documentation fixes.
1976 2005-11-09 Edward Hervey <edward@fluendo.com>
1978 * gst/gsttypefindfactory.c:
1981 2005-11-09 Edward Hervey <edward@fluendo.com>
1983 * gst/base/gsttypefindhelper.c:
1984 * gst/gsttypefind.c:
1985 * gst/gsttypefind.h:
1988 2005-11-09 Wim Taymans <wim@fluendo.com>
1990 * gst/gstiterator.c:
1997 2005-11-09 Wim Taymans <wim@fluendo.com>
2003 2005-11-09 Wim Taymans <wim@fluendo.com>
2005 * docs/gst/gstreamer-sections.txt:
2006 Moved the message async delivery private lock and cond
2007 to the private section.
2013 2005-11-09 Edward Hervey <edward@fluendo.com>
2015 * docs/gst/gstreamer-sections.txt:
2018 Document GstURIHandler
2020 2005-11-09 Wim Taymans <wim@fluendo.com>
2022 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
2023 (gst_iterator_find_custom):
2024 * gst/gstiterator.h:
2027 2005-11-09 Wim Taymans <wim@fluendo.com>
2030 Document another field.
2032 * gst/gststructure.c:
2033 * gst/gststructure.h:
2036 2005-11-09 Wim Taymans <wim@fluendo.com>
2041 2005-11-09 Wim Taymans <wim@fluendo.com>
2043 * docs/gst/gstreamer-sections.txt:
2044 Added some new macros.
2051 2005-11-09 Wim Taymans <wim@fluendo.com>
2053 * docs/design/part-TODO.txt:
2054 Some more items for the TODO
2060 2005-11-09 Andy Wingo <wingo@pobox.com>
2062 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
2063 to work on something else now tho...
2065 * gst/base/gstadapter.c: More adapter docs.
2067 * gst/elements/gstfilesink.c (gst_file_sink_start)
2068 (gst_file_sink_stop): New functions, replace the state change
2070 (gst_file_sink_class_init): Hook up the start and stop functions.
2071 (gst_file_sink_base_init): Don't set the state change handler any
2072 more. It was a bit ugly too, being set from here...
2073 (gst_file_sink_get_property, gst_file_sink_set_property):
2075 (gst_file_sink_set_location): More robust check that doesn't call
2078 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
2080 * gst/base/gstbasetransform.c: (gst_base_transform_event):
2081 Hold STREAM_LOCK while pushing newsegment or tag events as well.
2083 2005-11-08 Wim Taymans <wim@fluendo.com>
2085 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
2086 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
2087 (gst_base_sink_chain), (gst_base_sink_change_state):
2088 * gst/base/gstbasesink.h:
2089 * gst/base/gstbasesrc.h:
2092 Avoid excessive typechecking in macros.
2094 * gst/gstminiobject.c: (gst_mini_object_get_type),
2095 (gst_mini_object_init), (gst_mini_object_new),
2096 (gst_mini_object_free):
2097 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
2098 (gst_object_finalize):
2099 Remove cruft code, optimize alloc_trace.
2101 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
2103 * docs/faq/gst-uninstalled:
2104 fix up PS1 for systems that try to reset it
2106 2005-11-07 Wim Taymans <wim@fluendo.com>
2108 * gst/base/gstbasesrc.c: (gst_base_src_init),
2109 (gst_base_src_get_range):
2110 Set the segment_end to -1 initially. Fixed typefind.
2112 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
2114 * gst/base/gstadapter.c:
2115 Debug category should be 'adapter', not 'GstAdapter'.
2117 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
2118 (gst_collectpads_class_init), (gst_collectpads_init),
2119 (gst_collectpads_peek), (gst_collectpads_pop),
2120 (gst_collectpads_event), (gst_collectpads_chain):
2121 Add debug category and some debugging output. Use boilerplate
2122 macros. Remove some extraneous words from docs.
2124 2005-11-05 Andy Wingo <wingo@pobox.com>
2126 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
2129 2005-11-04 Stefan Kost <ensonic@users.sf.net>
2131 * docs/gst/gstreamer-sections.txt:
2134 * gst/gstminiobject.h:
2139 2005-11-04 Wim Taymans <wim@fluendo.com>
2141 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2142 Small update to stop at the configured segment_end
2145 2005-11-04 Stefan Kost <ensonic@users.sf.net>
2147 * gst/gstregistry.c:
2148 * gst/gstregistry.h:
2151 2005-11-04 Edward Hervey <edward@fluendo.com>
2153 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2154 Check if we are doing a segment seek and have arrived at the
2155 end of that segment.
2157 2005-11-04 Wim Taymans <wim@fluendo.com>
2159 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
2160 Don't leak a mutex unlock in case of an error.
2165 2005-11-04 Wim Taymans <wim@fluendo.com>
2167 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
2169 Get the context to wake up only once.
2171 2005-11-03 Wim Taymans <wim@fluendo.com>
2173 * check/states/sinks.c: (GST_START_TEST):
2174 Uncomment fixed check.
2176 * docs/design/part-TODO.txt:
2179 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2180 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
2181 (gst_base_sink_get_position):
2182 If we are going to PLAYING, post the right pending state
2183 when we post the intermediate paused message.
2185 * gst/gstelement.c: (gst_element_continue_state),
2186 (gst_element_set_state_func), (gst_element_change_state):
2187 Don't post state changes that were between the same state
2190 2005-11-03 Stefan Kost <ensonic@users.sf.net>
2192 * docs/gst/gstreamer-sections.txt:
2195 * gst/gstminiobject.h:
2198 more docs and doc style fixes
2200 2005-11-03 Stefan Kost <ensonic@users.sf.net>
2202 * docs/gst/gstreamer-sections.txt:
2204 * gst/gstminiobject.c:
2207 2005-11-03 Andy Wingo <wingo@pobox.com>
2209 * check/states/sinks.c (test_livesrc_sink): Add checks that the
2210 state-changed messages actually have the right order and the right
2213 2005-11-03 Wim Taymans <wim@fluendo.com>
2215 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
2216 Added some more checks. Specifically the case where NO_PREROLL
2217 elements are in the pipeline.
2219 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2220 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
2221 (gst_base_sink_get_position):
2222 Post READY->PAUSED state change messages too.
2223 Fix bug where VOID was posted as pending state...
2225 * gst/gstbin.c: (gst_bin_recalc_state):
2226 use _element_continue_state() to continue the state change.
2228 * gst/gstelement.c: (gst_element_continue_state),
2229 (gst_element_commit_state), (gst_element_set_state_func),
2230 (gst_element_change_state), (gst_element_change_state_func):
2231 Lots of state change cleanups, assign the STATE_RETURN in
2232 a new continue_state() function that also propagates the
2233 last return value from a state change to the app.
2234 Update some debug statements with proper category.
2236 2005-11-03 Wim Taymans <wim@fluendo.com>
2238 * docs/design/part-events.txt:
2239 * docs/design/part-gstpipeline.txt:
2240 * docs/design/part-messages.txt:
2241 * docs/design/part-overview.txt:
2242 * docs/design/part-seeking.txt:
2243 * docs/design/part-states.txt:
2244 * docs/design/part-trickmodes.txt:
2245 * docs/manual/advanced-position.xml:
2249 People think !! is ugly, this looks better.
2251 * gst/gstpad.c: (gst_pad_set_blocked_async):
2252 Remove !! since it's fixed elsewhere now.
2254 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
2256 * gst/gstminiobject.h:
2258 Add !! to _FLAG_IS_SET macros to make the result boolean.
2260 2005-11-03 Edward Hervey <edward@fluendo.com>
2262 * gst/gstpad.c: (gst_pad_set_blocked_async):
2263 comparing a flag and a gboolean rarely returns coherent results...
2264 Added two characters (!!) to make that work correctly.
2266 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
2268 * gst/gstbus.c: (gst_bus_class_init):
2271 * gst/gstqueue.c: (gst_queue_loop):
2272 Don't assume a miniobject that isn't a buffer is an
2273 event (it could be that there is a refcounting
2274 problem somewhere and the pointer is stale and
2275 refers to an already destroyed miniobject).
2277 2005-11-03 Julien MOUTTE <julien@moutte.net>
2279 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
2281 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
2283 * docs/manual/advanced-position.xml:
2284 Update seek example and explanations to current 0.9 API.
2286 * gst/elements/gsttypefindelement.c:
2287 (gst_type_find_element_activate):
2288 Remove FIXME comment now that the found caps
2291 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
2293 * gst/gstregistryxml.c: (load_feature):
2294 Add another GST_STR_NULL instance
2296 2005-11-02 Edward Hervey <edward@fluendo.com>
2298 * gst/gstpad.c: (handle_pad_block):
2299 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
2301 2005-11-02 Wim Taymans <wim@fluendo.com>
2306 * gst/gstelement.c: (gst_element_commit_state):
2307 Remove unused value.
2309 * gst/gstiterator.c:
2310 Mention that the returned element is reffed in the docs.
2312 2005-11-02 Wim Taymans <wim@fluendo.com>
2314 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
2315 (gst_pad_push), (gst_pad_push_event):
2316 Unlock blocked pads when they are flushed.
2318 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
2321 * docs/gst/gstreamer-sections.txt:
2324 * gst/gstregistry.c: (gst_registry_scan_path_level):
2325 fix for a nasty little missed situation where an installed plug-in
2326 which was in the cache did not get overridden by an uninstalled one
2327 which was earlier in the plugin path because the newly created plugin
2328 for the uninstalled one (not in the registry) didn't get its
2329 ->registered set to TRUE
2331 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
2333 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
2334 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
2335 (gst_collectpads_is_active), (gst_collectpads_collect),
2336 (gst_collectpads_collect_range), (gst_collectpads_start),
2337 (gst_collectpads_stop), (gst_collectpads_peek),
2338 (gst_collectpads_pop), (gst_collectpads_available),
2339 (gst_collectpads_read), (gst_collectpads_flush):
2340 Guard public API with assertions.
2343 Fix docs for gst_pad_set_link_function().
2345 2005-11-02 Johan Dahlin <johan@gnome.org>
2347 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
2348 Unref found_caps after we used it.
2350 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
2352 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
2353 Don't try to ref NULL.
2355 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
2357 * win32/common/config.h.in:
2358 provide a GST_FUNCTION that just gives a string for now
2360 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
2362 * win32/common/gstenumtypes.c: (register_gst_object_flags),
2363 (gst_object_flags_get_type), (register_gst_bin_flags),
2364 (gst_bin_flags_get_type), (register_gst_buffer_flag),
2365 (gst_buffer_flag_get_type), (register_gst_bus_flags),
2366 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
2367 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
2368 (gst_clock_return_get_type), (register_gst_clock_entry_type),
2369 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
2370 (gst_clock_flags_get_type), (register_gst_state),
2371 (gst_state_get_type), (register_gst_state_change_return),
2372 (gst_state_change_return_get_type), (register_gst_state_change),
2373 (gst_state_change_get_type), (register_gst_element_flags),
2374 (gst_element_flags_get_type), (register_gst_core_error),
2375 (gst_core_error_get_type), (register_gst_library_error),
2376 (gst_library_error_get_type), (register_gst_resource_error),
2377 (gst_resource_error_get_type), (register_gst_stream_error),
2378 (gst_stream_error_get_type), (register_gst_event_type),
2379 (gst_event_type_get_type), (register_gst_seek_type),
2380 (gst_seek_type_get_type), (register_gst_seek_flags),
2381 (gst_seek_flags_get_type), (register_gst_format),
2382 (gst_format_get_type), (register_gst_index_certainty),
2383 (gst_index_certainty_get_type), (register_gst_index_entry_type),
2384 (gst_index_entry_type_get_type),
2385 (register_gst_index_lookup_method),
2386 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
2387 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
2388 (gst_index_resolver_method_get_type), (register_gst_index_flags),
2389 (gst_index_flags_get_type), (register_gst_debug_level),
2390 (gst_debug_level_get_type), (register_gst_debug_color_flags),
2391 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
2392 (gst_iterator_result_get_type), (register_gst_iterator_item),
2393 (gst_iterator_item_get_type), (register_gst_message_type),
2394 (gst_message_type_get_type), (register_gst_mini_object_flags),
2395 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
2396 (gst_pad_link_return_get_type), (register_gst_flow_return),
2397 (gst_flow_return_get_type), (register_gst_activate_mode),
2398 (gst_activate_mode_get_type), (register_gst_pad_direction),
2399 (gst_pad_direction_get_type), (register_gst_pad_flags),
2400 (gst_pad_flags_get_type), (register_gst_pad_presence),
2401 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
2402 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
2403 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
2404 (gst_plugin_error_get_type), (register_gst_plugin_flags),
2405 (gst_plugin_flags_get_type), (register_gst_rank),
2406 (gst_rank_get_type), (register_gst_query_type),
2407 (gst_query_type_get_type), (register_gst_tag_merge_mode),
2408 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
2409 (gst_tag_flag_get_type), (register_gst_task_state),
2410 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
2411 (gst_alloc_trace_flags_get_type),
2412 (register_gst_type_find_probability),
2413 (gst_type_find_probability_get_type), (register_gst_uri_type),
2414 (gst_uri_type_get_type), (register_gst_parse_error),
2415 (gst_parse_error_get_type):
2416 * win32/common/gstversion.h:
2419 2005-11-01 Luca Ognibene <luogni@tin.it>
2422 fix docs. popt is dead, long live GOption.
2424 2005-10-31 Wim Taymans <wim@fluendo.com>
2429 2005-10-31 Andy Wingo <wingo@pobox.com>
2433 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
2435 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
2436 need to serialize property notifications on GLib 2.8. GLib 2.6 has
2437 the possibility of deadlocks here if code calling notify() or
2438 set() has a lock that can be taken in another notify handler (ABBA
2439 with class lock and e.g. python GIL state lock).
2441 2005-10-28 Julien MOUTTE <julien@moutte.net>
2443 * gst/gstbus.c: Doc updates.
2445 2005-10-28 Wim Taymans <wim@fluendo.com>
2447 * docs/design/part-TODO.txt:
2448 * gst/gstiterator.c:
2449 * gst/gstsystemclock.c:
2450 * gst/gstsystemclock.h:
2453 2005-10-28 Edward Hervey <edward@fluendo.com>
2455 * docs/gst/gstreamer-docs.sgml:
2456 * docs/gst/gstreamer-sections.txt:
2457 the GstURIType documentation page is private, it only defines GstURIType
2458 which should be defined in the GstURIHandler page
2460 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
2462 * gst/gstbin.c: (gst_bin_class_init):
2465 Documentation updates.
2467 2005-10-28 Wim Taymans <wim@fluendo.com>
2469 * docs/gst/gstreamer-sections.txt:
2472 Documented the clocks.
2474 2005-10-28 Stefan Kost <ensonic@users.sf.net>
2476 * docs/gst/gstreamer-sections.txt:
2477 move some macros to private sections
2478 * gst/gstminiobject.c:
2479 * gst/gstminiobject.h:
2480 add descriptions provided by ds and some more
2482 mark macro as to be removed
2484 2005-10-28 Wim Taymans <wim@fluendo.com>
2486 * docs/design/part-TODO.txt:
2487 Add an item to TODO.
2489 * gst/gstiterator.c: (gst_iterator_fold),
2490 (gst_iterator_find_custom):
2491 * gst/gstiterator.h:
2494 2005-10-28 Wim Taymans <wim@fluendo.com>
2496 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
2497 (gst_base_transform_init):
2500 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
2501 An EOS event marks the queue as completely filled.
2503 2005-10-27 Wim Taymans <wim@fluendo.com>
2505 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2506 (gst_base_sink_do_sync), (gst_base_sink_get_position):
2507 Some more debugging.
2509 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
2510 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
2511 (gst_base_transform_event), (gst_base_transform_getrange),
2512 (gst_base_transform_chain):
2513 * gst/base/gstbasetransform.h:
2515 Protect transform and concurrent buffer alloc with a new lock.
2516 Try not to break ABI/API.
2518 2005-10-27 Wim Taymans <wim@fluendo.com>
2520 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2521 (gst_base_src_init), (gst_base_src_query),
2522 (gst_base_src_default_newsegment),
2523 (gst_base_src_configure_segment), (gst_base_src_do_seek),
2524 (gst_base_src_send_event), (gst_base_src_event_handler),
2525 (gst_base_src_pad_get_range), (gst_base_src_loop),
2526 (gst_base_src_unlock), (gst_base_src_default_negotiate),
2527 (gst_base_src_start), (gst_base_src_deactivate),
2528 (gst_base_src_activate_push), (gst_base_src_change_state):
2529 Move some stuff around and cleanup things.
2531 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
2533 * gst/base/gstbasesrc.c: (gst_base_src_query):
2534 Add missing break statements.
2536 2005-10-27 Wim Taymans <wim@fluendo.com>
2538 * check/gst/gstbin.c: (GST_START_TEST):
2539 An extra refcount is taken in basesrc.
2541 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
2542 (gst_base_src_get_range), (gst_base_src_pad_get_range),
2543 (gst_base_src_loop):
2544 Small cleanups, check for flushing after being unlocked from the
2545 LIVE_LOCK. take refcounts correctly (not yet everywhere).
2546 Don't send out EOS when going to READY.
2548 2005-10-27 Wim Taymans <wim@fluendo.com>
2550 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2551 (gst_base_sink_get_position):
2554 * gst/gstbin.c: (message_check), (bin_replace_message),
2555 (bin_remove_messages), (is_eos), (gst_bin_add_func),
2556 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2557 (bin_query_duration_init), (bin_query_duration_fold),
2558 (bin_query_duration_done), (bin_query_generic_fold),
2560 * tools/gst-launch.c: (main):
2563 2005-10-26 Stefan Kost <ensonic@users.sf.net>
2565 * examples/controller/audio-example.c: (main):
2566 * examples/queue/queue.c: (event_loop):
2567 * gst/base/gstbasetransform.h:
2568 * gst/gstelement.c: (gst_element_send_event):
2570 * gst/gstpad.c: (gst_pad_send_event):
2573 changing log priority in error situations
2575 2005-10-25 Wim Taymans <wim@fluendo.com>
2577 * gst/gstbin.c: (message_check), (bin_replace_message),
2578 (bin_remove_messages), (is_eos), (gst_bin_add_func),
2579 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2580 (bin_query_duration_init), (bin_query_duration_fold),
2581 (bin_query_duration_done), (bin_query_generic_fold),
2583 Some doc and debug updates.
2584 Cache previously requested query DURATION for speed. invalidate
2585 cached duration if element posts a DURATION message.
2587 2005-10-25 Wim Taymans <wim@fluendo.com>
2589 * docs/design/part-TODO.txt:
2592 * gst/gstbin.c: (message_check), (bin_replace_message),
2593 (bin_remove_messages), (is_eos), (gst_bin_add_func),
2594 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2595 (bin_query_duration_init), (bin_query_duration_fold),
2596 (bin_query_duration_done), (bin_query_generic_fold),
2598 Handle SEGMENT_START/DONE messages correctly.
2599 More evolved query algorithm that handles duration queries
2602 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
2603 (gst_element_get_state_func), (gst_element_abort_state),
2604 (gst_element_commit_state), (gst_element_lost_state):
2605 Some more debugging.
2610 2005-10-25 Wim Taymans <wim@fluendo.com>
2612 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
2613 Don't use invalid stream_time.
2615 * gst/gstevent.c: (gst_event_new_newsegment):
2616 stream_time in newsegment cannot be undefined.
2618 2005-10-24 Wim Taymans <wim@fluendo.com>
2623 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
2625 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
2627 2005-10-24 Stefan Kost <ensonic@users.sf.net>
2629 * docs/libs/tmpl/gstdparam.sgml:
2630 * docs/libs/tmpl/gstdplinint.sgml:
2631 * docs/libs/tmpl/gstdpman.sgml:
2632 * docs/libs/tmpl/gstdpsmooth.sgml:
2633 * docs/libs/tmpl/gstunitconvert.sgml:
2636 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
2641 === release 0.9.4 ===
2643 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
2646 releasing 0.9.4, "Tyrannosaurus Rex"
2648 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
2650 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
2651 (gst_file_sink_get_current_offset):
2652 Use fseeko() and ftello() if available. When falling back on
2653 lseek() to get the current offset, fflush() first to make sure
2654 everything is up-to-date and we get the right offset.
2656 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
2658 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2659 * gst/base/gstbasesrc.c: (gst_base_src_loop):
2660 * gst/gsterror.c: (_gst_stream_errors_init):
2662 * gst/gstqueue.c: (gst_queue_loop):
2664 remove prematurely added error category and clean up the instances
2666 2005-10-21 Wim Taymans <wim@fluendo.com>
2668 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2669 (gst_base_sink_get_position), (gst_base_sink_query),
2670 (gst_base_sink_change_state):
2671 Simply set the right flag when going to playing, that's all
2672 we need to do instead of calling a function inside the object
2673 lock (that could take the lock as well and deadlock)
2675 2005-10-21 Wim Taymans <wim@fluendo.com>
2677 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
2678 (gst_base_src_loop):
2679 Don't warn, the peer element knows what to do best when
2680 the seek failed, it might try something else.
2682 2005-10-21 Wim Taymans <wim@fluendo.com>
2684 * gst/base/gstbasesrc.c: (gst_base_src_init),
2685 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
2688 2005-10-21 Wim Taymans <wim@fluendo.com>
2690 * docs/design/part-segments.txt:
2693 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
2694 Correctly set caps, even on the subbufer.
2696 2005-10-21 Wim Taymans <wim@fluendo.com>
2698 * docs/gst/gstreamer-docs.sgml:
2699 * docs/gst/gstreamer-sections.txt:
2706 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
2710 And 2% more doc coverage.
2712 2005-10-21 Andy Wingo <wingo@pobox.com>
2714 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
2717 2005-10-20 Wim Taymans <wim@fluendo.com>
2719 * gst/gsterror.c: (gst_error_get_message):
2722 * gst/gststructure.c:
2727 2005-10-20 Wim Taymans <wim@fluendo.com>
2732 Another 1% more coverage.
2734 2005-10-20 Wim Taymans <wim@fluendo.com>
2736 * docs/gst/gstreamer-sections.txt:
2737 * gst/gstelement.c: (gst_element_get_state_func),
2738 (gst_element_abort_state), (gst_element_commit_state),
2739 (gst_element_lost_state):
2741 * gst/gstquery.c: (gst_query_set_position),
2742 (gst_query_parse_position), (gst_query_set_duration),
2743 (gst_query_parse_duration), (gst_query_new_convert):
2745 Yay! 1% more docs coverage.
2747 2005-10-20 Wim Taymans <wim@fluendo.com>
2750 * gst/gstquery.c: (gst_query_set_position),
2751 (gst_query_parse_position), (gst_query_set_duration),
2752 (gst_query_parse_duration), (gst_query_new_convert):
2754 * gst/gstutils.c: (gst_element_query_convert):
2756 Docs and consistency fixes.
2758 2005-10-20 Wim Taymans <wim@fluendo.com>
2764 2005-10-20 Wim Taymans <wim@fluendo.com>
2766 * gst/gstbin.c: (message_check), (bin_replace_message),
2767 (bin_remove_messages), (is_eos), (gst_bin_add_func),
2768 (update_degree), (gst_bin_sort_iterator_next),
2769 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
2770 Reworked the message handling a bit, cache the messages instead of
2771 only the senders. alows us to do more in the future.
2773 2005-10-20 Wim Taymans <wim@fluendo.com>
2775 * docs/design/part-TODO.txt:
2778 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
2779 (gst_base_sink_query):
2780 Don't use clock time to report position when in EOS.
2782 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
2784 * tools/gst-inspect.c: (print_interfaces),
2785 (print_element_properties_info), (print_element_info):
2786 Fix interface output with gst-inspect -a; don't print
2787 newlines after double/float properties.
2789 2005-10-20 Wim Taymans <wim@fluendo.com>
2791 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
2792 (gst_base_sink_query):
2793 Speed up current position calculation.
2795 * gst/base/gstbasesrc.c: (gst_base_src_query),
2796 (gst_base_src_default_newsegment):
2797 Correctly set stream position in newsegment.
2799 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
2800 (update_degree), (gst_bin_sort_iterator_next),
2801 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
2802 * gst/gstmessage.c: (gst_message_new_custom):
2803 Clean up debugging info
2805 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
2806 (gst_queue_loop), (gst_queue_handle_src_query):
2809 2005-10-19 Wim Taymans <wim@fluendo.com>
2811 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2812 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
2813 Fix query handling again.
2815 2005-10-19 Wim Taymans <wim@fluendo.com>
2817 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2818 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
2819 * gst/base/gstbasesrc.c: (gst_base_src_query):
2820 * gst/elements/gstfilesink.c: (gst_file_sink_query):
2821 * gst/elements/gsttypefindelement.c:
2822 (gst_type_find_handle_src_query), (find_element_get_length),
2823 (gst_type_find_element_activate):
2826 * gst/gstquery.c: (gst_query_new_position),
2827 (gst_query_set_position), (gst_query_parse_position),
2828 (gst_query_new_duration), (gst_query_set_duration),
2829 (gst_query_parse_duration), (gst_query_set_segment),
2830 (gst_query_parse_segment):
2832 Bundling query position/duration is not a good idea since duration
2833 does not change much and we don't want to recalculate it for every
2834 position query, so they are separated again..
2835 Base value in segment query is not needed.
2837 * gst/gstqueue.c: (gst_queue_handle_src_query):
2838 * gst/gstutils.c: (gst_element_query_position),
2839 (gst_element_query_duration), (gst_pad_query_position),
2840 (gst_pad_query_duration):
2842 Updates for query API change.
2843 Added some docs here and there.
2845 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
2847 * check/gst/gstbin.c: (GST_START_TEST):
2848 * check/gst/gstghostpad.c: (GST_START_TEST):
2849 * check/pipelines/cleanup.c: (GST_START_TEST):
2850 wait on thread to die so we can check refcount correctly
2852 2005-10-18 Wim Taymans <wim@fluendo.com>
2854 * check/pipelines/stress.c: (GST_START_TEST):
2855 Make check a little more time consuming.
2857 2005-10-18 Wim Taymans <wim@fluendo.com>
2859 * check/Makefile.am:
2860 * check/pipelines/stress.c: (GST_START_TEST),
2861 (simple_launch_lines_suite), (main):
2862 Small state change torture test.
2864 * docs/design/part-states.txt:
2865 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2866 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
2867 (gst_base_sink_change_state):
2868 Never take state lock from streaming thread, clean up ugly
2869 hacks. Unfortunatly core does not yet support nice ways to
2872 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
2874 Start state recalc if a STATE_DIRTY message is posted, but only
2875 on the toplevel bin.
2877 * gst/gstelement.c: (gst_element_sync_state_with_parent),
2878 (gst_element_get_state_func), (gst_element_abort_state),
2879 (gst_element_commit_state), (gst_element_lost_state),
2880 (gst_element_set_state_func), (gst_element_change_state):
2882 State variables are now protected with the LOCK, the state
2883 lock is only used to serialize _set_state().
2885 2005-10-18 Wim Taymans <wim@fluendo.com>
2887 * check/gst/gstbin.c: (GST_START_TEST):
2888 * check/gst/gstmessage.c: (GST_START_TEST):
2889 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2890 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
2892 * gst/gstelement.c: (gst_element_abort_state),
2893 (gst_element_commit_state), (gst_element_lost_state):
2894 * gst/gstmessage.c: (gst_message_new_state_changed),
2895 (gst_message_new_state_dirty), (gst_message_new_segment_start),
2896 (gst_message_new_segment_done), (gst_message_new_duration),
2897 (gst_message_parse_state_changed),
2898 (gst_message_parse_segment_start),
2899 (gst_message_parse_segment_done), (gst_message_parse_duration):
2901 * tools/gst-launch.c: (event_loop):
2902 Seriously, this is better than a previous commit as we only need
2903 to notify the fact that an element changed state in a streaming
2904 thread, marking the state of the parents dirty, hence the
2905 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
2908 2005-10-18 Wim Taymans <wim@fluendo.com>
2910 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
2911 (gst_bin_recalc_func):
2912 * gst/gstelement.c: (gst_element_set_clock),
2913 (gst_element_abort_state), (gst_element_lost_state):
2914 Cleanups, prepare for state change fixes.
2916 2005-10-18 Wim Taymans <wim@fluendo.com>
2919 * gst/gstelement.c: (gst_element_class_init),
2920 (gst_element_set_state), (gst_element_set_state_func):
2922 Pending ABI changes.
2923 GThreadPool in GstBinClass to monitor async state changes.
2924 state_cookie in GstElement to detect concurrent gst/set state.
2925 set_state is now virtual too in case a very complicated element
2926 has to be constructed.
2928 2005-10-18 Wim Taymans <wim@fluendo.com>
2930 * check/gst/gstbin.c: (GST_START_TEST):
2931 * check/gst/gstmessage.c: (GST_START_TEST):
2932 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2933 * gst/gstbin.c: (bin_bus_handler):
2934 * gst/gstelement.c: (gst_element_commit_state),
2935 (gst_element_lost_state):
2936 * gst/gstmessage.c: (gst_message_new_state_changed),
2937 (gst_message_new_segment_start), (gst_message_new_segment_done),
2938 (gst_message_new_duration), (gst_message_parse_state_changed),
2939 (gst_message_parse_segment_start),
2940 (gst_message_parse_segment_done), (gst_message_parse_duration):
2942 * tools/gst-launch.c: (event_loop):
2943 Make messages future proof.
2944 state-change gets a flag if it was a message comming from the
2946 segment-start/stop can also be specified in other formats.
2947 A message to notify an app that a pipeline changed playback
2949 Also fix a GstMessage leak in -launch
2951 2005-10-18 Andy Wingo <wingo@pobox.com>
2953 * gst/gstelement.c (gst_element_dispose): More helpful message.
2955 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
2957 reviewed by: <delete if not using a buddy>
2959 * common/gtk-doc.mak:
2961 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
2963 * gst/gstregistry.c: (gst_registry_scan_path_level):
2964 unref a plug-in we get that was already initialized
2966 2005-10-18 Stefan Kost <ensonic@users.sf.net>
2968 * docs/gst/gstreamer-sections.txt:
2969 * docs/libs/gstreamer-libs-sections.txt:
2974 2005-10-17 Andy Wingo <wingo@pobox.com>
2976 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
2979 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
2981 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
2983 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
2984 (gst_element_get_state_func): Better debug message.
2985 (gst_element_commit_state): s/INFO/DEBUG/.
2986 (gst_element_lost_state, gst_element_change_state):
2988 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
2989 (gst_message_new_custom): s/INFO/LOG/.
2991 2005-10-17 Michael Smith <msmith@fluendo.com>
2993 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2994 Check if end time is valid using end time, not start time.
2996 2005-10-17 Stefan Kost <ensonic@users.sf.net>
2998 * check/gst-libs/controller.c: (GST_START_TEST),
2999 (gst_controller_suite):
3000 * libs/gst/controller/gstcontroller.c:
3001 (gst_controlled_property_set_interpolation_mode):
3002 * libs/gst/controller/gstcontroller.h:
3003 * libs/gst/controller/gstinterpolation.c:
3004 * testsuite/controller/.cvsignore:
3005 * testsuite/controller/Makefile.am:
3006 * testsuite/controller/interpolator.c:
3007 merge controller testsuites
3009 remove mem-chunk from docs
3011 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
3013 * gst/gstmemchunk.c:
3014 * gst/gstmemchunk.h:
3015 * gst/gsttrashstack.c:
3016 * gst/gsttrashstack.h:
3017 out. get out. you're fired. to the Attic !
3019 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
3021 * gst/gstcaps.c: (gst_caps_intersect):
3022 fix signedness issues in a (hopefully) correct way
3023 * gst/gstelement.c: (gst_element_pads_activate):
3025 * gst/gstobject.c: (gst_object_set_parent):
3028 2005-10-17 Julien MOUTTE <julien@moutte.net>
3030 * gst/gstvalue.h: Fix prototypes.
3032 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3034 * docs/gst/gstreamer-sections.txt:
3035 * gst/gst.c: (gst_version_string):
3037 * gst/gstversion.h.in:
3038 * win32/common/libgstreamer.def:
3039 add gst_version_string ()
3041 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3045 * gst/gst.c: (init_post):
3046 * win32/common/config.h.in:
3048 * gst/gstcaps.c: (gst_caps_intersect):
3049 use gint64, the range could be bigger than a guint
3051 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3054 document potential problem in 2038
3056 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3058 * gst/gstcaps.c: (gst_caps_intersect):
3059 Fix guint j diving under 0
3061 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3064 * win32/common/config.h:
3065 * win32/common/config.h.in:
3066 check for process.h, declares getpid() on Windows
3068 include process.h if we have it
3069 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
3070 * gst/gstmemchunk.h:
3071 fix signedness issues
3072 * win32/common/libgstreamer.def:
3075 2005-10-16 Julien MOUTTE <julien@moutte.net>
3077 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
3078 fix. Because of unsigned ints, caps intersection was going nuts and
3079 trying to access structures with G_MAXUINT index. That fixes
3080 videotestsrc ! ffmpegcolorspace ! fakesink
3081 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
3084 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3087 use the gettext macro
3088 * gst/elements/gstelements.c:
3090 * gst/indexers/gstindexers.c:
3091 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
3092 * win32/common/config.h:
3094 * win32/common/config.h.in:
3095 add the template to generate config.h
3096 * win32/common/gstenumtypes.c:
3097 * win32/common/gstversion.h:
3100 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3102 * gst/gst.c: (gst_version):
3103 * gst/gstversion.h.in:
3106 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
3109 Oops, add missing closing bracket.
3111 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3114 use common m4's for argument checking
3116 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
3118 * docs/gst/gstreamer-sections.txt:
3120 Add GST_EVENT_TYPE_NAME() macro.
3122 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3125 * gst/gstpluginfeature.c:
3127 privatize more symbols
3129 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3132 add srcdir, builddir includes to GST_ALL_CFLAGS, since
3133 everything that uses GStreamer API should have the includes
3135 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3137 * docs/gst/gstreamer-sections.txt:
3138 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3140 give each value a _get_type, removes the DATA exports
3142 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3146 remove _gst_registry_auto_load, not used anymore
3147 * gst/gstbin.c: (gst_bin_get_type):
3149 * gst/gstelement.c: (gst_element_get_type):
3151 * gst/gstobject.c: (gst_object_get_type):
3153 * gst/gstpad.c: (gst_pad_get_type):
3155 make _get_type functions similar, fixes data export from library
3157 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3160 correctly make conditionals
3161 * gst/elements/Makefile.am:
3162 * gst/elements/gstelements.c:
3163 fix typo causing fdsrc not to build
3165 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3167 * testsuite/Makefile.am:
3168 * testsuite/bytestream/.cvsignore:
3169 * testsuite/bytestream/Makefile.am:
3170 * testsuite/bytestream/filepadsink.c:
3171 * testsuite/bytestream/gstbstest.c:
3172 * testsuite/bytestream/test1.c:
3173 * testsuite/bytestream/testfile1:
3174 * testsuite/caps/normalisation.c:
3175 * testsuite/caps/random.c: (main):
3176 * testsuite/cleanup/.cvsignore:
3177 * testsuite/cleanup/Makefile.am:
3178 * testsuite/cleanup/cleanup1.c:
3179 * testsuite/cleanup/cleanup2.c:
3180 * testsuite/cleanup/cleanup3.c:
3181 * testsuite/cleanup/cleanup4.c:
3182 * testsuite/cleanup/cleanup5.c:
3183 * testsuite/controller/interpolator.c:
3184 * testsuite/debug/printf_extension.c: (main):
3185 * testsuite/elements/tee.c:
3186 * testsuite/negotiation/.cvsignore:
3187 * testsuite/negotiation/Makefile.am:
3188 * testsuite/negotiation/pad_link.c:
3189 * testsuite/pad/Makefile.am:
3190 * testsuite/pad/chainnopull.c:
3191 * testsuite/pad/getnopush.c:
3192 * testsuite/pad/link.c:
3193 * testsuite/refcounting/sched.c: (create_pipeline):
3194 * testsuite/registry/Makefile.am:
3195 * testsuite/registry/gst-print-formats.c:
3196 * testsuite/schedulers/.cvsignore:
3197 * testsuite/schedulers/142183-2.c:
3198 * testsuite/schedulers/142183.c:
3199 * testsuite/schedulers/143777-2.c:
3200 * testsuite/schedulers/143777.c:
3201 * testsuite/schedulers/147713.c:
3202 * testsuite/schedulers/147819.c:
3203 * testsuite/schedulers/147894-2.c:
3204 * testsuite/schedulers/147894.c:
3205 * testsuite/schedulers/Makefile.am:
3206 * testsuite/schedulers/group_link.c:
3207 * testsuite/schedulers/queue_link.c:
3208 * testsuite/schedulers/relink.c:
3209 * testsuite/schedulers/unlink.c:
3210 * testsuite/schedulers/unref.c:
3211 * testsuite/schedulers/useless_iteration.c:
3212 * testsuite/states/bin.c:
3213 clean out/remove some stuff from the testsuite directories
3215 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3218 check for some headers
3219 * gst/elements/Makefile.am:
3220 * gst/elements/gstelements.c:
3221 don't compile fdsrc without sys/socket.h
3222 * gst/indexers/Makefile.am:
3223 * gst/indexers/gstindexers.c: (plugin_init):
3224 don't compile fileindex without mmap
3226 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3233 * check/Makefile.am:
3234 * docs/gst/Makefile.am:
3235 * examples/helloworld/Makefile.am:
3237 * gst/base/Makefile.am:
3238 * gst/check/Makefile.am:
3239 * gst/elements/Makefile.am:
3240 * gst/indexers/Makefile.am:
3241 * gst/parse/Makefile.am:
3242 * libs/gst/controller/Makefile.am:
3243 * libs/gst/dataprotocol/Makefile.am:
3244 * examples/helloworld/helloworld.c: (event_loop):
3245 compile fixes, though it's not being compiled currently
3247 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
3249 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
3250 Add some simple tests for the new taglist date API.
3252 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
3254 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
3255 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
3256 Beautify 'last-message' output: print 'none' for buffer timestamps
3257 and durations if none is set; improve alignment with next messages.
3259 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
3261 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
3262 * gst/gstpluginfeature.h:
3263 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
3264 * gst/gstregistry.h:
3265 * docs/gst/gstreamer-sections.txt:
3266 Add new API to check plugin feature version requirements.
3268 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
3269 Some basic tests for the above.
3271 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3273 * gst/gststructure.c: (gst_structure_to_string):
3274 guard against NULL printf - happens when for example
3275 a message structure with GstClock gets serialized
3277 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
3279 * gst/base/gstcollectpads.c: (gst_collectpads_event):
3280 Fix presumable copy'n'pasto.
3282 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3284 * gst/elements/gstfakesrc.h:
3285 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
3286 * gst/elements/gsttypefindelement.c:
3288 * gst/elements/gstfilesink.c: (gst_file_sink_render):
3289 I wonder if this could actually write +2GB files before
3291 2005-10-13 Andy Wingo <wingo@pobox.com>
3293 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
3294 Fix Timmeke Waymans bug.
3295 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
3296 string of the proper length to gst_caps_from_string. There's a
3297 potential for, before this fix, that this could cause someone
3298 connecting over the network to cause a segfault if the payload is
3301 2005-10-13 Stefan Kost <ensonic@users.sf.net>
3303 * docs/design/draft-push-pull.txt:
3304 * docs/design/part-overview.txt:
3305 * docs/random/TODO-pre-0.9:
3306 * docs/random/old/ChangeLog.gstreamer:
3307 * gst/base/gstpushsrc.c:
3311 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3313 * gst/glib-compat.c: (gst_flags_get_first_value):
3314 * gst/glib-compat.h:
3315 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
3316 (gst_value_compare_double), (gst_value_serialize_flags):
3317 GLib 2.6 g_flags_get_first_value has a bug that triggers an
3320 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3322 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3323 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3325 * tools/gst-launch.c: (event_loop):
3326 print out clock nicely
3328 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
3330 * docs/gst/gstreamer-sections.txt:
3332 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
3333 (gst_tag_list_get_date_index):
3334 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
3335 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
3337 2005-10-13 Julien MOUTTE <julien@moutte.net>
3339 * gst/base/gstcollectpads.c: (gst_collectpads_event),
3340 (gst_collectpads_chain):
3341 * gst/base/gstcollectpads.h: Handle newsegment and store informations
3344 2005-10-13 Stefan Kost <ensonic@users.sf.net>
3346 * docs/gst/gstreamer-sections.txt:
3349 * tools/gst-inspect.c: (main):
3350 * tools/gst-launch.c: (main):
3351 * tools/gst-run.c: (main):
3352 * tools/gst-xmlinspect.c: (main):
3353 fix GOption context leaks
3356 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3360 * win32/common/config.h:
3362 * win32/vs6/grammar.dsp:
3363 * win32/vs6/libgstelements.dsp:
3364 * win32/vs6/libgstreamer.dsp:
3367 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
3369 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3370 * gst/base/gstbasesrc.c: (gst_base_src_query):
3371 fix more guint64<->gdouble conversions
3373 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
3376 add win32-update target
3377 * win32/common/gstconfig.h:
3378 * win32/common/gstenumtypes.c:
3379 * win32/common/gstenumtypes.h:
3380 * win32/common/gstversion.h:
3381 add files that visual studio can't generate
3383 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
3386 add a win32-update target
3389 2005-10-12 Wim Taymans <wim@fluendo.com>
3391 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3392 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
3393 * gst/gstelement.c: (gst_element_commit_state),
3394 (gst_element_set_state):
3395 Protect flags with proper lock.
3396 unref provided cached clock in dispose.
3398 2005-10-12 Stefan Kost <ensonic@users.sf.net>
3401 * gst/gstminiobject.h:
3403 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
3404 removed unused flags from miniobject
3407 2005-10-12 Wim Taymans <wim@fluendo.com>
3409 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
3410 (gst_file_sink_event), (gst_file_sink_render):
3411 Flush before seeking.
3413 2005-10-12 Andy Wingo <wingo@pobox.com>
3415 * gst/gst.c (gst_init_check): Ignore unknown options, as has
3416 always been the case.
3418 2005-10-12 Stefan Kost <ensonic@users.sf.net>
3420 * check/gst/gstbin.c: (GST_START_TEST):
3421 * docs/gst/gstreamer-sections.txt:
3422 * gst/base/gstbasesink.c: (gst_base_sink_init):
3423 * gst/base/gstbasesrc.c: (gst_base_src_init),
3424 (gst_base_src_get_range), (gst_base_src_check_get_range),
3425 (gst_base_src_start), (gst_base_src_stop):
3426 * gst/base/gstbasesrc.h:
3427 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
3428 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3429 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
3433 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
3435 * gst/gstelement.c: (gst_element_is_locked_state),
3436 (gst_element_set_locked_state), (gst_element_commit_state),
3437 (gst_element_set_state):
3439 * gst/gstindex.c: (gst_index_init):
3441 * gst/gstminiobject.h:
3442 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
3443 (gst_object_set_parent):
3445 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
3446 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
3448 * gst/gstpadtemplate.h:
3449 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
3450 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
3451 * gst/gstpipeline.h:
3452 * gst/indexers/gstfileindex.c: (gst_file_index_load),
3453 (gst_file_index_commit):
3454 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
3455 * testsuite/pad/link.c: (gst_test_src_init),
3456 (gst_test_filter_init), (gst_test_sink_init):
3457 * testsuite/states/locked.c: (main):
3458 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
3459 moved bitshift from macro to enum definition
3461 2005-10-12 Wim Taymans <wim@fluendo.com>
3463 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
3464 * gst/elements/gstfilesink.c: (gst_file_sink_event),
3465 (gst_file_sink_render):
3466 Some more debugging info.
3468 2005-10-12 Wim Taymans <wim@fluendo.com>
3470 * docs/design/part-states.txt:
3471 * tools/gst-launch.c: (main):
3473 Revert non-intentional change.
3475 2005-10-12 Wim Taymans <wim@fluendo.com>
3477 * check/gst/gstbin.c: (GST_START_TEST):
3478 * check/gst/gstelement.c: (GST_START_TEST):
3479 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
3480 * check/gst/gstghostpad.c: (GST_START_TEST):
3481 * check/gst/gstpipeline.c: (GST_START_TEST):
3482 * check/pipelines/simple_launch_lines.c: (run_pipeline):
3483 * check/states/sinks.c: (GST_START_TEST):
3484 * gst/elements/gsttypefindelement.c: (stop_typefinding):
3485 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
3486 (gst_bin_remove_func), (gst_bin_get_state_func),
3487 (gst_bin_recalc_state), (gst_bin_change_state_func),
3489 * gst/gstelement.c: (gst_element_get_state_func),
3490 (gst_element_get_state), (gst_element_abort_state),
3491 (gst_element_commit_state), (gst_element_set_state),
3492 (gst_element_change_state), (gst_element_change_state_func):
3494 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
3495 (gst_pipeline_provide_clock_func):
3496 * gst/gstutils.c: (gst_element_link_pads_filtered):
3497 * tools/gst-launch.c: (main):
3498 * tools/gst-typefind.c: (main):
3499 Use GstClockTime in _get_state() instead of GTimeVal.
3500 Remove old code in gstutils.c
3502 2005-10-12 Andy Wingo <wingo@pobox.com>
3504 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
3507 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
3508 there is no task. Shouldn't affect any code, as nothing in our
3509 plugins checks this return value.
3510 (gst_pad_stop_task): Also take the stream lock if the pad has no
3513 2005-10-12 Wim Taymans <wim@fluendo.com>
3515 * gst/gstpad.c: (pre_activate), (post_activate),
3516 (gst_pad_activate_pull), (gst_pad_activate_push):
3517 Cleanup activation code. Reset old state if
3520 2005-10-12 Wim Taymans <wim@fluendo.com>
3522 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3523 (gst_base_sink_change_state):
3524 No need to prerol after receiving EOS.
3526 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
3527 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
3528 * gst/elements/gstidentity.c: (gst_identity_event):
3529 Print events more verbosely.
3531 2005-10-12 Wim Taymans <wim@fluendo.com>
3533 * check/Makefile.am:
3534 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
3535 * check/states/sinks2.c:
3536 Moved sinks2 testcode in sinks check.
3538 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
3539 (gst_bin_remove_func), (gst_bin_recalc_state),
3540 (gst_bin_change_state_func), (bin_bus_handler):
3541 Fix potential race condition when _get_state() iterated over an
3542 ASYNC element right before it posted a state completion.
3545 Do proper cast here.
3547 * gst/gstevent.c: (gst_event_new_newsegment),
3548 (gst_event_parse_newsegment):
3549 A playback rate of 0.0 is not allowed.
3551 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3553 * win32/common/config.h:
3554 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
3555 (_trewinddir), (_ttelldir), (_tseekdir):
3556 * win32/common/dirent.h:
3557 * win32/common/gtchar.h:
3558 * win32/common/libgstbase.def:
3559 * win32/common/libgstreamer.def:
3560 * win32/vs6/grammar.dsp:
3561 * win32/vs6/gst_inspect.dsp:
3562 * win32/vs6/gst_launch.dsp:
3563 * win32/vs6/gstreamer.dsw:
3564 * win32/vs6/libgstbase.dsp:
3565 * win32/vs6/libgstelements.dsp:
3566 * win32/vs6/libgstreamer.dsp:
3567 Visual Studio 6 project files, and a new common directory.
3570 2005-10-11 Wim Taymans <wim@fluendo.com>
3572 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3573 (gst_base_sink_do_sync), (gst_base_sink_query),
3574 (gst_base_sink_change_state):
3575 * gst/base/gstbasesink.h:
3576 Correctly parse newsegment info.
3578 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3580 * gst/gst.c: (init_post):
3581 split plugin paths correctly
3583 2005-10-11 Wim Taymans <wim@fluendo.com>
3585 * check/gst/gstevent.c: (GST_START_TEST):
3586 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3587 (gst_base_sink_change_state):
3588 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
3589 * gst/base/gstbasetransform.c: (gst_base_transform_event):
3590 * gst/elements/gstfilesink.c: (gst_file_sink_event):
3591 * gst/gstevent.c: (gst_event_new_newsegment),
3592 (gst_event_parse_newsegment):
3594 Added extra flag to newsegment for future API freeze.
3595 Updated check and base elements.
3597 2005-10-11 Julien MOUTTE <julien@moutte.net>
3599 * gst/base/gstcollectpads.c: (gst_collectpads_init),
3600 (gst_collectpads_add_pad), (gst_collectpads_pop),
3601 (gst_collectpads_event), (gst_collectpads_chain):
3602 * gst/base/gstcollectpads.h: Handle EOS correctly.
3604 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3606 * tools/gst-launch.c: (main):
3607 more null protecting
3609 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3611 * gst/gst-i18n-lib.h:
3612 check for ENABLE_NLS, not GETTEXT_PACKAGE
3613 * gst/gstregistry.c: (gst_registry_add_plugin),
3614 (gst_registry_scan_path_level),
3615 (_gst_registry_remove_cache_plugins):
3616 protect possibly NULL strings
3617 * gst/parse/types.h:
3618 config.h already included before
3619 * tools/gst-inspect.c: (main):
3620 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
3621 check for ENABLE_NLS, not GETTEXT_PACKAGE
3622 * tools/gst-launch.c: (main):
3623 check for ENABLE_NLS, not GETTEXT_PACKAGE
3625 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3628 if we don't have glib, fail before testing 2.8
3629 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
3630 fix a leak, should fix plugins-base testsuite
3632 2005-10-11 Andy Wingo <wingo@pobox.com>
3634 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
3635 take the mode we're going to as an arg. Go head and set the mode
3636 and flushing flags now, so that if the activate function starts a
3637 thread all the flags will be in the right state.
3638 (post_activate): Renamed also. Just handle making sure streaming
3639 finishes for the deactivation case, and setting the deactivated
3641 (gst_pad_set_active): Complain loudly if deactivation fails.
3642 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
3643 (gst_pad_activate_push): Adapt to pre/post_activate changes,
3644 remove the terrible hack.
3646 2005-10-11 Wim Taymans <wim@fluendo.com>
3648 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
3649 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
3650 (gst_bin_recalc_state), (gst_bin_change_state_func),
3651 (gst_bin_dispose), (bin_bus_handler):
3653 Prepare to make current EOS message queue more generic.
3656 * gst/gstevent.c: (gst_event_new_newsegment),
3657 (gst_event_parse_newsegment):
3659 Rename base to stream_time.
3664 2005-10-11 Wim Taymans <wim@fluendo.com>
3666 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
3667 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
3668 (gst_bin_change_state_func), (bin_bus_handler):
3670 Work on proper clock selection.
3672 2005-10-11 Edward Hervey <edward@fluendo.com>
3674 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
3675 * libs/gst/controller/gstcontroller.h:
3676 Added GList* version of _remove_properties() in order to be able to wrap
3679 2005-10-11 Wim Taymans <wim@fluendo.com>
3681 * docs/design/part-states.txt:
3684 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
3685 (gst_bin_change_state_func), (bin_bus_handler):
3686 Doc updates. Don't distribute the same clock over and over again.
3692 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
3693 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
3694 (gst_pad_send_event):
3696 Make probe emission threadsafe again.
3697 Register quarks and move _get_name() from utils.
3700 * gst/gstpipeline.c: (gst_pipeline_class_init),
3701 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
3702 Only redistribute the clock of it changed.
3704 * gst/gstsystemclock.h:
3709 Moved the _flow_get_name() to GstPad.
3711 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3713 * check/gst-libs/gdp.c: (GST_START_TEST):
3714 * check/gst/gstcaps.c: (GST_START_TEST):
3715 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
3716 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
3717 (gst_dp_packet_from_caps):
3718 fix more valgrind warnings before turning up the heat
3720 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3722 * gst/parse/grammar.y:
3723 some cleanup before the hacking
3725 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
3727 * gst/base/gstbasesrc.c: (gst_base_src_query):
3729 * gst/gstutils.c: (gst_guint64_to_gdouble),
3730 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
3732 externalize, basesrc uses it
3733 obviously the implementation needs testing
3735 2005-10-10 Wim Taymans <wim@fluendo.com>
3737 * tests/sched/Makefile.am:
3738 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
3739 (make_pipeline3), (make_pipeline4), (print_elem), (main):
3741 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
3743 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
3744 apparently converting from guint64 to double is not implemented
3747 2005-10-10 Wim Taymans <wim@fluendo.com>
3749 * check/Makefile.am:
3750 * check/generic/states.c: (GST_START_TEST):
3751 * check/gst/gstbin.c: (GST_START_TEST):
3752 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
3753 * check/states/sinks.c: (GST_START_TEST):
3754 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
3756 Check fixes, use API as stated in design docs, remove hacks.
3758 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3759 (gst_base_sink_change_state):
3760 Catch stopping our task while we're shutting down.
3762 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
3763 (gst_bin_remove_func), (gst_bin_get_state_func),
3764 (gst_bin_recalc_state), (gst_bin_change_state_func),
3767 * gst/gstelement.c: (gst_element_init),
3768 (gst_element_get_state_func), (gst_element_abort_state),
3769 (gst_element_commit_state), (gst_element_lost_state),
3770 (gst_element_set_state), (gst_element_change_state),
3771 (gst_element_change_state_func):
3773 New state change algorithm (see #318116)
3775 * gst/gstpipeline.c: (gst_pipeline_class_init),
3776 (gst_pipeline_init), (gst_pipeline_set_property),
3777 (gst_pipeline_get_property), (do_pipeline_seek),
3778 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
3779 * gst/gstpipeline.h:
3780 Remove crude state change hacks.
3785 * tools/gst-launch.c: (main):
3786 Fixes for state change. Needs some more work to fully use the
3789 2005-10-10 Andy Wingo <wingo@pobox.com>
3791 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
3793 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
3794 this flag, but it's not even in GLib 2.6. Odd. Hack around the
3797 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
3799 * gst/gstiterator.c: (gst_iterator_new):
3800 Fix my previous commit: GTypes passed to gst_iterator_new()
3801 can be fundamental types.
3803 2005-10-10 Wim Taymans <wim@fluendo.com>
3805 * gst/gstelement.c: (gst_element_iterate_pad_list),
3806 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
3807 (gst_element_iterate_sink_pads):
3808 Use src/sink pads lists for the respective iterators instead
3811 2005-10-10 Andy Wingo <wingo@pobox.com>
3813 Merged in popt removal + GOption addition patch from Ronald, bug
3816 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
3817 GstElement macros around, remove popt-related symbols, add goption
3820 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
3822 * docs/gst/Makefile.am:
3823 * docs/libs/Makefile.am: No POPT_CFLAGS.
3825 * examples/manual/Makefile.am:
3826 * docs/manual/basics-init.xml: Doc updates with an example.
3828 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
3829 (gst_init), (parse_one_option), (parse_goption_arg):
3830 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
3831 bit of hand merging and debugging to get the GOption stuff working
3834 * tests/Makefile.am:
3835 * tools/Makefile.am:
3836 * tools/gst-inspect.c: (main):
3837 * tools/gst-launch.c: (main):
3838 * tools/gst-run.c: (main):
3839 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
3841 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
3843 * gst/gstiterator.c: (gst_iterator_new):
3844 Add assertions to make sure passed GType is likely to really
3845 be a GType (as the compiler won't catch it if the size and
3846 GType arguments get mixed up, see #318447).
3848 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
3850 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
3852 * gst/gstbin.c: (gst_bin_iterate_sorted):
3853 Pass GType and size arguments to gst_iterator_new() in the right
3854 order (maybe we should make _new() take the GType as first argument
3855 just like _new_list()?) (#318447).
3858 2005-10-10 Wim Taymans <wim@fluendo.com>
3860 * gst/gstelement.c: (gst_element_finalize):
3861 And free the GStaticRecMutex too
3863 2005-10-10 Andy Wingo <wingo@pobox.com>
3865 * gst/gstelement.c (gst_element_init, gst_element_finalize):
3866 Allocate and free the mutex properly.
3868 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
3870 (GstElement): The state_lock is now recursive. Rebuild your
3871 plugins, suckers. Old macros adapted.
3873 * docs/gst/gstreamer-sections.txt: Doc updates.
3876 * gst/gstutils.c (g_static_rec_cond_timed_wait)
3877 (g_static_rec_cond_wait): Ported from state changes patch, while
3878 we wait on bug #317802 to be solved in a well-distributed GLib.
3880 * gst/gstelement.c (gst_element_change_state_func): Renamed from
3881 gst_element_change_state, variable name changes.
3882 (gst_element_change_state): Split out of gst_element_set_state in
3883 preparation for the state change merge. Doesn't pay attention to
3884 the 'transition' argument.
3885 (gst_element_set_state): Updates, hopefully purely cosmetic.
3886 (gst_element_sync_state_with_parent): MT-safety. Ported from the
3888 (gst_element_get_state_func): Renamed from get_state, cosmetic
3891 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
3893 * gst/elements/gstelements.c:
3894 * win32/GStreamer.vcproj:
3896 * win32/dirent.c: (_tseekdir):
3897 * win32/gst-inspect.vcproj:
3898 * win32/gst-launch.vcproj:
3899 * win32/gstconfig.h:
3900 * win32/gstelements.vcproj:
3901 * win32/gstenumtypes.c: (gst_object_flags_get_type):
3902 * win32/gstreamer.def:
3904 updates for the win32 build (patch from Sebastien Moutte)
3906 2005-10-10 Andy Wingo <wingo@pobox.com>
3908 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
3909 gst_bin_get_state, cleaned up (but no logic changes).
3910 (bin_element_is_sink): Comment updates.
3911 (sink_iterator_filter): Remove needless cast.
3912 (gst_bin_iterate_sinks): Doc update.
3913 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
3914 cleaned up (but no logic changes).
3916 * check/states/sinks.c (test_src_sink): Cleanups from the state
3918 (test_livesrc_sink): Sync on the state.
3920 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
3921 the state change patch.
3923 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
3926 * check/gst/gstbin.c: Merge in some style fixes and additional
3927 checks from Wim's state change patch.
3929 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
3931 * gst/base/gsttypefindhelper.c: (helper_find_peek),
3932 (gst_type_find_helper):
3933 Check whether we have the requested data already in our list of
3934 cached buffers before pulling a new buffer; also make the buffer
3935 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
3937 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
3942 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
3943 don't use long long, it's not portable. Replacing with
3944 gint64 seems to work; let's hope no skeletons fall out of the closet.
3946 2005-10-10 Andy Wingo <wingo@pobox.com>
3948 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
3950 2005-10-09 Stefan Kost <ensonic@users.sf.net>
3952 * docs/gst/gstreamer-sections.txt:
3957 * gst/gstmessage.c: (gst_message_parse_state_changed):
3960 more docs, fix compilation
3962 2005-10-09 Philippe Khalaf <burger@speedy.org>
3964 Fixed a few forgotten variables on previous commit
3966 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
3968 * gst/base/gsttypefindhelper.c: (helper_find_peek):
3969 Fix evil typefind crasher: getrange() might return a short
3970 buffer at the end of a file, but gst_type_find_peek() must
3971 either return the full data as requested or NULL, but
3972 never a short buffer.
3974 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
3976 * gst/gstmessage.c: (gst_message_new_state_changed),
3977 (gst_message_parse_state_changed):
3979 don't use "new", it's a C++ keyword
3981 2005-10-08 Wim Taymans <wim@fluendo.com>
3983 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
3984 * gst/gstelement.c: (gst_element_post_message):
3985 * gst/gstpipeline.c: (gst_pipeline_change_state):
3986 Small docs and debug updates.
3988 2005-10-08 Stefan Kost <ensonic@users.sf.net>
3990 * docs/gst/gstreamer-sections.txt:
3991 * gst/gstelementfactory.c:
3996 2005-10-08 Wim Taymans <wim@fluendo.com>
3998 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
3999 (gst_bin_dispose), (bin_bus_handler):
4000 Fix typos, add comments.
4001 Clear EOS list when going to PAUSED from any direction and do it
4002 in a threadsafe way.
4003 Get base time in a threadsafe way too.
4004 Fix confusing debug in the change_state function.
4005 Various other small cleanups.
4007 * gst/gstelement.c: (gst_element_post_message):
4008 Fix very verbose bus posting code.
4010 * gst/gstpipeline.c: (gst_pipeline_class_init),
4011 (gst_pipeline_set_property), (gst_pipeline_get_property),
4012 (gst_pipeline_change_state):
4013 Small ARG_ -> PROP_ cleanup
4015 2005-10-08 Wim Taymans <wim@fluendo.com>
4017 * gst/gstbin.c: (is_eos), (bin_bus_handler):
4018 Do a less CPU demanding EOS check because we can.
4020 2005-10-08 Wim Taymans <wim@fluendo.com>
4022 * libs/gst/dataprotocol/dataprotocol.c:
4023 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
4024 (gst_dp_packet_from_event):
4025 * libs/gst/dataprotocol/dataprotocol.h:
4026 * libs/gst/dataprotocol/dp-private.h:
4027 It's about time we bump the version number.
4028 Since event types don't fit in the guint8 anymore describing
4029 the payload type, make payload type 16 bits wide.
4031 2005-10-08 Wim Taymans <wim@fluendo.com>
4033 * docs/design/part-TODO.txt:
4034 * docs/design/part-clocks.txt:
4035 * docs/design/part-events.txt:
4036 * docs/design/part-gstbin.txt:
4037 * docs/design/part-gstelement.txt:
4038 * docs/design/part-gstpipeline.txt:
4039 * docs/design/part-live-source.txt:
4040 * docs/design/part-messages.txt:
4041 * docs/design/part-overview.txt:
4042 * docs/design/part-states.txt:
4045 2005-10-08 Wim Taymans <wim@fluendo.com>
4049 Fix event quark registration.
4050 Add some space between events so we can insert them in the
4053 2005-10-08 Wim Taymans <wim@fluendo.com>
4055 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4056 (gst_base_sink_handle_buffer):
4063 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
4064 (gst_queue_set_property), (gst_queue_get_property):
4066 Remove old unused properties.
4068 2005-10-08 Stefan Kost <ensonic@users.sf.net>
4069 * docs/gst/gstreamer-sections.txt:
4072 * gst/gstminiobject.c:
4073 * gst/gstminiobject.h:
4077 lots of new docs and doc fixes
4079 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4081 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
4083 * gst/gstregistry.c: (gst_registry_lookup_locked),
4084 (gst_registry_scan_path_level):
4085 * gst/gstregistryxml.c: (load_plugin):
4086 Only ever load one plugin for a given plugin basename.
4087 This ensures correct overriding of GST_PLUGIN_PATH over
4088 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
4089 system installed plugins.
4091 2005-10-08 Wim Taymans <wim@fluendo.com>
4093 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4094 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
4095 Prepare for doing QOS.
4097 2005-10-08 Wim Taymans <wim@fluendo.com>
4099 * check/gst/gstbin.c: (GST_START_TEST):
4100 * check/pipelines/cleanup.c: (GST_START_TEST):
4101 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
4102 Allow new clock message too.
4104 2005-10-08 Wim Taymans <wim@fluendo.com>
4106 * gst/gstmessage.c: (gst_message_new_error),
4107 (gst_message_new_warning), (gst_message_new_tag),
4108 (gst_message_new_state_changed), (gst_message_new_clock_provide),
4109 (gst_message_new_clock_lost), (gst_message_new_new_clock),
4110 (gst_message_new_segment_start), (gst_message_new_segment_done),
4111 (gst_message_parse_state_changed),
4112 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
4113 (gst_message_parse_new_clock):
4115 Also carry the clock in question.
4117 2005-10-08 Wim Taymans <wim@fluendo.com>
4119 * gst/gstmessage.c: (gst_message_new_custom),
4120 (gst_message_new_eos), (gst_message_new_error),
4121 (gst_message_new_warning), (gst_message_new_tag),
4122 (gst_message_new_state_changed), (gst_message_new_clock_provide),
4123 (gst_message_new_new_clock), (gst_message_new_segment_start),
4124 (gst_message_new_segment_done), (gst_message_parse_state_changed),
4125 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
4128 Added clock related messages.
4130 * gst/gstpipeline.c: (gst_pipeline_change_state):
4131 Post message when the clock changed.
4133 * tools/gst-launch.c: (event_loop):
4136 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
4138 * tools/gst-inspect.c: (print_element_properties_info):
4139 Can't pass NULL strings to g_print() on windows.
4141 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4144 * docs/gst/Makefile.am:
4145 * docs/gst/gstreamer-docs.sgml:
4146 * docs/gst/running.xml:
4147 * docs/version.entities.in:
4148 add a chapter on running GStreamer.
4149 document GST_DEBUG and GST_PLUGIN* env vars
4151 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4156 remove PLUGINS_BUILDDIR stuff
4157 * gst/gst.c: (init_post):
4158 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
4160 remove, it was condescending and not needed
4162 2005-10-08 Wim Taymans <wim@fluendo.com>
4164 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4165 (gst_base_sink_handle_object), (gst_base_sink_event),
4166 (gst_base_sink_wait), (gst_base_sink_handle_event),
4167 (gst_base_sink_change_state):
4168 * gst/base/gstbasesink.h:
4169 Repost EOS message while going to PLAYING if still EOS.
4170 Make sure that when receiving a FLUSH_START we don't attempt
4171 to sync on the clock anymore.
4173 2005-10-08 Wim Taymans <wim@fluendo.com>
4175 * tools/gst-launch.c: (event_loop):
4176 Better message printout.
4178 2005-10-08 Wim Taymans <wim@fluendo.com>
4180 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
4181 (gst_bin_child_proxy_get_children_count):
4182 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
4183 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
4184 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
4185 (gst_child_proxy_set_valist):
4186 * gst/parse/grammar.y:
4187 Make ChildProxy threadsafe and fix mem leaks.
4189 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4191 * gst/gst.c: (init_post):
4192 debug the GST_PLUGIN_ env vars
4194 2005-10-08 Wim Taymans <wim@fluendo.com>
4196 * check/gst/gstbin.c: (GST_START_TEST):
4197 * check/gst/gstmessage.c: (GST_START_TEST):
4198 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
4199 * gst/gstelement.c: (gst_element_commit_state),
4200 (gst_element_lost_state):
4201 * gst/gstmessage.c: (gst_message_new_state_changed),
4202 (gst_message_parse_state_changed):
4204 * tools/gst-launch.c: (event_loop):
4205 Added extra field to STATE_CHANGE message with the pending
4206 state, which will be different from the new state soon.
4208 2005-10-08 Wim Taymans <wim@fluendo.com>
4210 * gst/gstbus.c: (gst_bus_pop):
4212 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
4213 Small cleanups and doc updates.
4215 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4217 * gst/gst.c: (init_pre):
4218 * gst/gstbin.c: (gst_bin_add_func):
4219 log distributing clocks and base time
4220 * gst/gstregistry.c: (gst_registry_add_plugin),
4221 (gst_registry_scan_path_level), (gst_registry_scan_path):
4222 clean up the debugging output a little
4223 * gst/gstutils.c: (gst_element_state_get_name):
4224 warn about a memleak (I've actually seen this be used, though
4225 it was probably a bug)
4227 2005-10-07 Wim Taymans <wim@fluendo.com>
4229 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4230 (gst_base_src_init), (gst_base_src_default_newsegment),
4231 (gst_base_src_newsegment), (gst_base_src_do_seek),
4232 (gst_base_src_loop), (gst_base_src_start):
4233 * gst/base/gstbasesrc.h:
4234 Make the newsegment event customizable by subclasses.
4236 2005-10-07 Wim Taymans <wim@fluendo.com>
4238 * gst/gstevent.c: (gst_event_new_buffersize),
4239 (gst_event_parse_buffersize):
4241 New event for future idea.
4243 2005-10-07 Andy Wingo <wingo@pobox.com>
4245 * gst/gstelement.c (gst_element_post_message): Doc update.
4247 * docs/gst/gstreamer-sections.txt: Update.
4249 * gst/gstmessage.c (gst_message_new_application): Made into a
4250 function like honest API calls.
4251 (gst_message_new_element): New message type.
4253 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
4255 * check/elements/fakesrc.c (test_no_preroll): New check, checks
4256 that setting a live fakesrc to PAUSED returns NO_PREROLL both
4259 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
4260 NO_PREROLL from gst_element_change_state to fall through.
4262 2005-10-07 Wim Taymans <wim@fluendo.com>
4264 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
4265 (gst_ghost_pad_do_activate_push):
4266 Activating a ghostpad with no internal pad in push mode
4269 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
4272 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
4273 Fixes compilation on Windows.
4275 2005-10-07 Michael Smith <msmith@fluendo.com>
4277 * tools/gst-inspect.c:
4278 Print out feature and plugin count at the end when printing out
4281 2005-10-04 Michael Smith <msmith@fluendo.com>
4283 * gst/gsterror.c: (_gst_stream_errors_init):
4284 Add another error string used in a few existing plugins.
4287 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
4288 * tools/gst-inspect.c: (print_element_info):
4289 When a feature disappears from a plugin (and the feature exists in
4290 the cached registry file), things went horribly wrong. This isn't a
4291 complete fix, we should actually be removing the 'missing' features
4292 from the features list when we load the actual plugin. That's not
4295 2005-10-04 Johan Dahlin <johan@gnome.org>
4297 * check/gst/gstiterator.c: (GST_START_TEST):
4298 * gst/gstbin.c: (gst_bin_iterate_elements),
4299 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
4300 * gst/gstelement.c: (gst_element_iterate_pads):
4301 * gst/gstformat.c: (gst_format_iterate_definitions):
4302 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
4303 (gst_iterator_new_list), (gst_iterator_filter):
4304 * gst/gstiterator.h:
4305 * gst/gstquery.c: (gst_query_type_iterate_definitions):
4306 Add a GType to GstIterator, update callsites and tests.
4308 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
4310 * gst/gstpad.c: (gst_pad_event_default_dispatch):
4311 give events a chance to be handled by event probes when the pad
4314 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
4316 * gst/gstevent.c: (gst_event_type_get_name),
4317 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
4319 add string representations for event types
4321 2005-10-06 Wim Taymans <wim@fluendo.com>
4323 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
4324 Don't use NULL pointers.
4326 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
4328 * gst/gst_private.h:
4332 * gst/gstpluginfeature.c:
4333 widen the debug category in output to fit the biggest one we have
4334 add a bus category and use it
4335 play with the colors
4336 fix up some categories
4338 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
4340 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
4341 add push activation of sink ghost pads.
4342 Andye, please verify
4344 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
4346 * gst/gstutils.c: (gst_element_link_pads):
4347 fix a bug in the case where neither element has a pad
4348 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
4349 add a test for that case
4351 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
4353 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
4354 emit have-data before checking for peers. This allows
4355 for probe handlers to connect elements. This helps autopluggers.
4356 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
4358 add six checks, linked/unlinked with no/true/false probe
4360 2005-10-04 Wim Taymans <wim@fluendo.com>
4362 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
4363 (gst_fake_sink_event), (gst_fake_sink_preroll),
4364 (gst_fake_sink_render), (gst_fake_sink_change_state):
4365 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
4366 (gst_fake_src_get_property), (gst_fake_src_create),
4367 (gst_fake_src_stop):
4368 * gst/elements/gstidentity.c: (gst_identity_stop):
4369 Protect last_message with lock.
4371 2005-10-04 Edward Hervey <edward@fluendo.com>
4374 Added precision in the comments for GST_FORMAT_DEFAULT
4376 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
4378 * tools/gst-launch.c: (main):
4379 Don't try to run erroneous pipelines.
4381 2005-10-04 Julien MOUTTE <julien@moutte.net>
4383 * gst/gstbus.c: We don't need this header.
4385 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
4390 === release 0.9.3 ===
4392 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
4396 Releasing 0.9.3, "Unregistered"
4398 2005-10-03 Andy Wingo <wingo@pobox.com>
4400 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
4401 whereby calling a pad's activatepush() function can start a thread
4402 that starts to push or pull before the pad gets the FLUSHING flag
4403 unset. Hack around it by holding the stream lock until the flag is
4404 set. Need to replace this with a proper solution. Together with
4405 the ghost pad fixes, this fixes mp3 playing/tagreading.
4407 * docs/design/part-gstghostpad.txt: Add a note about activation of
4408 proxy pads outside of ghost pads.
4410 * gst/gstghostpad.c: Implement the ghost pad activation design.
4412 2005-10-02 Andy Wingo <wingo@pobox.com>
4414 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
4415 It is volatile, after all.
4417 * docs/design/part-gstghostpad.txt: Flesh out activation with
4420 * gst/base/gstbasesrc.c (gst_base_src_init): Use
4423 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
4426 Fix (unused) AM_CONDITIONAL tests.
4428 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
4430 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4432 * gst/gstutils.c: (gst_pad_query_convert):
4433 Add assertion that makes sure src_val is >=0, just like
4434 gst_query_new_convert() has. (#315895)
4436 2005-09-30 Edward Hervey <edward@fluendo.com>
4438 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
4439 Let's not iterate pads we're not interested in, it avoids getting
4440 sky-high refcounts on sinkpad.
4442 2005-09-30 Wim Taymans <wim@fluendo.com>
4444 * gst/gstelement.c: (gst_element_set_state),
4445 (gst_element_change_state):
4446 Small tweak, element in ASYNC remains ASYNC.
4448 2005-09-30 Wim Taymans <wim@fluendo.com>
4450 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
4451 Only error is an error.
4453 * gst/gstbin.c: (gst_bin_change_state):
4456 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
4457 Also call pad_block in pad alloc.
4459 * gst/gstutils.c: (gst_flow_get_name):
4462 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
4464 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4465 (gst_base_src_get_range):
4466 Fix documentation typos. Add some more debug info.
4468 2005-09-29 David Schleef <ds@schleef.org>
4470 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
4471 more end-user friendly.
4472 * tools/gst-inspect.c: (main): Check if command-line argument is
4473 a file and attempt to load that file as a plugin.
4475 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
4477 * check/gst/gstbin.c:
4478 * check/states/sinks.c:
4479 fix tests for the new warning
4480 * check/gst/gstpipeline.c:
4481 add a test for pipeline and bus interaction
4483 elements should be NULL if they get disposed; add a warning if not
4485 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
4488 for 2.6 refcounting, make debug log more correct by printing
4489 the actual refcounts at the time of swap (Wim)
4491 2005-09-29 Andy Wingo <wingo@pobox.com>
4493 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
4494 removes signal watches previously added via
4495 gst_bus_add_signal_watch.
4496 (gst_bus_add_signal_watch): Don't return the source id, just store
4497 it on the bus if there wasn't an id already.
4499 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
4500 add_signal_watch and remove_signal_watch.
4502 2005-09-29 Edward Hervey <edward@fluendo.com>
4504 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
4505 Better if we actually iterate the list :)
4507 2005-09-29 Wim Taymans <wim@fluendo.com>
4509 * check/gst/gstbin.c: (GST_START_TEST):
4510 Change for new bus API.
4512 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
4513 (send_messages), (GST_START_TEST), (gstbus_suite):
4514 Change for new bus signal API.
4516 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
4517 (gst_bus_source_prepare), (gst_bus_source_check),
4518 (gst_bus_create_watch), (gst_bus_add_watch_full),
4519 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
4520 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
4522 Remove support for multiple GSources operating on different
4523 message types as it is too complex and unneeded when using
4525 Added support for receiving signals from the bus.
4527 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
4529 * docs/libs/tmpl/gstdataprotocol.sgml:
4530 * docs/manual/advanced-dataaccess.xml:
4531 * gst/elements/gstcapsfilter.c:
4533 rename filter-caps to caps property
4535 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
4537 * gst/gstvalue.c: (gst_value_deserialize_fraction):
4538 More robust fraction string parsing.
4540 * docs/pwg/appendix-porting.xml:
4541 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
4543 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
4545 * gst/gstcaps.c: (gst_caps_do_simplify):
4546 Thou shalt not free a structure and then continue using it
4547 in the next loop iteration.
4549 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
4551 Add test case for caps simplification.
4553 2005-09-29 Wim Taymans <wim@fluendo.com>
4555 * check/gst/gstbin.c: (GST_START_TEST):
4558 2005-09-29 Wim Taymans <wim@fluendo.com>
4560 * check/gst/gstbin.c: (GST_START_TEST):
4563 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
4564 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
4565 (find_element), (gst_bin_sort_iterator_next),
4566 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4567 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4568 (gst_bin_change_state), (gst_bin_dispose):
4569 A bin does not have a bus, it gets the bus from the parent.
4571 * gst/gstelement.c: (gst_element_requires_clock),
4572 (gst_element_provides_clock), (gst_element_is_indexable),
4573 (gst_element_is_locked_state), (gst_element_change_state),
4574 (gst_element_set_bus_func):
4577 * gst/gstpipeline.c: (gst_pipeline_class_init),
4578 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
4579 The pipeline provides a bus.
4581 2005-09-28 Johan Dahlin <johan@gnome.org>
4583 * gst/gstmessage.c (gst_message_parse_state_changed): Use
4584 gst_structure_get_enum instead of gst_structure_get_int
4586 * gst/gststructure.c (gst_structure_get_enum): Impl.
4588 * gst/gststructure.h (gst_structure_get_enum): Add
4590 * docs/gst/gstreamer-sections.txt: Ditto
4592 * gst/gstmessage.c (gst_message_new_state_changed): Use
4593 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
4594 which does introspection.
4595 Reviewed by Christian Schaller
4597 2005-09-28 Stefan Kost <ensonic@users.sf.net>
4599 * gst/gstinfo.c: (gst_debug_log_default):
4600 don't do dummy g_strdup()s
4601 * libs/gst/controller/gstcontroller.c:
4602 (on_object_controlled_property_changed),
4603 (gst_controlled_property_new), (gst_controller_new_valist),
4604 (gst_controller_new_list),
4605 (gst_controller_remove_properties_valist), (gst_controller_set),
4606 (gst_controller_get), (gst_controller_sync_values),
4607 (gst_controller_get_value_array), (_gst_controller_class_init),
4608 (gst_controller_get_type):
4609 * libs/gst/controller/gstcontroller.h:
4610 * libs/gst/controller/gstinterpolation.c:
4611 (gst_controlled_property_find_timed_value_node):
4612 convert // to /**/ comments
4614 2005-09-28 Wim Taymans <wim@fluendo.com>
4616 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
4617 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
4618 (gst_bus_sync_signal_handler):
4620 Added async-message and sync-message signals to the bus.
4621 Added helper BusFunc to emit signals for all posted messages.
4623 * gst/gstmessage.c: (gst_message_type_get_name),
4624 (gst_message_type_to_quark), (gst_message_get_type):
4626 Register quarks for message names.
4628 2005-09-28 Stefan Kost <ensonic@users.sf.net>
4630 * docs/libs/gstreamer-libs-sections.txt:
4631 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
4632 (gst_controller_new_list):
4633 * libs/gst/controller/gstcontroller.h:
4634 added another constructor for language bindings
4636 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
4638 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4642 * gst/gstinfo.c: (_gst_debug_init):
4643 slightly more readable color for refcount debugging
4645 2005-09-28 Wim Taymans <wim@fluendo.com>
4647 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
4648 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
4649 (find_element), (gst_bin_sort_iterator_next),
4650 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4651 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4652 (gst_bin_change_state), (gst_bin_dispose):
4653 Small doc fixes. get_clock -> provide_clock.
4655 * gst/gstelement.c: (gst_element_class_init),
4656 (gst_element_provides_clock), (gst_element_provide_clock),
4657 (gst_element_get_clock), (gst_element_commit_state),
4658 (gst_element_lost_state):
4660 Make get/set_clock() symetric. Add provide_clock vmethod since
4661 that is actually what this function does.
4663 * gst/gstpipeline.c: (gst_pipeline_class_init),
4664 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
4665 (gst_pipeline_get_clock):
4666 get_clock -> provide_clock.
4668 2005-09-28 Andy Wingo <wingo@pobox.com>
4670 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
4671 lieu of real docs...
4673 * gst/elements/gstfdsrc.c: Cleaned up a bit.
4675 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
4677 * gst/elements/gstcapsfilter.c:
4678 * gst/elements/gstfakesink.c:
4679 * gst/elements/gstfakesrc.c:
4680 * gst/elements/gstfdsink.c:
4681 * gst/elements/gstfdsrc.c:
4682 * gst/elements/gstfilesink.c:
4683 * gst/elements/gstfilesrc.c:
4684 * gst/elements/gstidentity.c:
4685 * gst/elements/gsttee.c:
4686 * gst/elements/gsttypefindelement.c:
4687 Make element details static.
4689 2005-09-28 Wim Taymans <wim@fluendo.com>
4691 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4692 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4693 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4694 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4695 (gst_bin_change_state), (gst_bin_dispose):
4696 Some documentation updates.
4697 Clean up dispose handlers.
4699 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
4700 * gst/gstpad.c: (gst_pad_dispose):
4701 Clean up dispose handler.
4703 * gst/gstpipeline.c: (gst_pipeline_change_state):
4704 Removed spurious UNLOCK.
4706 2005-09-27 Stefan Kost <ensonic@users.sf.net>
4708 * docs/gst/gstreamer-sections.txt:
4709 * gst/base/gstbasesrc.h:
4714 * gst/gstpipeline.c:
4715 * gst/gstpipeline.h:
4718 added two new functions to the docs
4719 documents all undocumented GstXXXFlags
4720 completed some incomplete docs
4722 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
4724 * gst/gstbin.c: (gst_bin_dispose):
4725 * gst/gstelement.c: (gst_element_dispose):
4726 remove now useless and leaky resurrection code in dispose
4727 * gst/base/gstbasesrc.c: (gst_base_src_init):
4728 * gst/gstelementfactory.c: (gst_element_factory_create):
4729 * gst/gstobject.c: (gst_object_set_parent):
4732 2005-09-27 Wim Taymans <wim@fluendo.com>
4734 * docs/design/part-TODO.txt:
4737 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4738 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4739 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4740 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4741 (gst_bin_change_state):
4743 Remove element variable, we keep element info in the iterator now.
4745 2005-09-27 Andy Wingo <wingo@pobox.com>
4747 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
4750 2005-09-27 Wim Taymans <wim@fluendo.com>
4752 * check/gst/gstbin.c: (GST_START_TEST):
4753 Enable check that works now.
4755 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4756 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4757 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4758 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4759 (gst_bin_change_state):
4761 Redid the state change algorithm using a topological sort algo.
4762 Handles all cases correctly.
4763 Exposed iterator for state change order.
4766 Temp storage for state changes. Need to get rid of this soon.
4768 2005-09-27 Wim Taymans <wim@fluendo.com>
4770 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
4771 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
4772 (link_fold_func), (gst_pad_proxy_setcaps):
4773 Leak fixes, the fold functions need to unref the passed object and
4774 _get_parent_*() returns ref to parent.
4776 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
4778 * check/gst/gstbuffer.c: (test_make_writable):
4779 Plug leak in test case and fix 'make check-valgrind'
4781 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
4783 * gst/gstbuffer.c: (gst_subbuffer_init):
4784 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
4785 works correctly in all circumstances (we could have just copied
4786 the parent buffer's readonly flag, but conceptually it seems
4787 cleaner to mark all subbuffers as read-only). (based on patch
4788 by Alessandro Decina, #314710).
4790 * check/gst/gstbuffer.c: (create_read_only_buffer),
4791 (test_make_writable), (test_subbuffer_make_writable),
4793 Add some tests for gst_buffer_make_writable().
4795 2005-09-27 Wim Taymans <wim@fluendo.com>
4797 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
4798 use gst_object_has_ancestor().
4800 * gst/gstobject.c: (gst_object_has_ancestor):
4802 gst_object_has_ancestor() copied from gstbin.c as it is a
4805 * tests/instantiate/create.c: (create_all_elements):
4806 * tests/lat.c: (handoff_src), (handoff_sink):
4807 * tests/sched/runxml.c: (main):
4808 * tests/seeking/seeking1.c: (main):
4809 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
4811 Fix compilation of some tests.
4813 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
4816 Remove comment. GST_TYPE_G_ERROR is here to stay,
4817 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
4820 2005-09-26 Wim Taymans <wim@fluendo.com>
4822 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4823 Added check that shows error in state change order.
4825 2005-09-26 Wim Taymans <wim@fluendo.com>
4827 * gst/gstbin.c: (gst_bin_change_state):
4828 Make state change function use 3 queues again, we were
4829 adding elements in the wrong order.
4831 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
4834 * gst/gstpad.c: (gst_pad_dispose):
4835 Added some debug info first.
4837 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
4839 * docs/design/draft-push-pull.txt:
4840 * docs/design/part-events.txt:
4841 * docs/design/part-overview.txt:
4842 * docs/design/part-scheduling.txt:
4843 Replace all _pull_region() with _pull_range()
4845 2005-09-26 Andy Wingo <wingo@pobox.com>
4847 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
4849 * check/gst-libs/controller.c: Update for controller api change.
4852 * tests/Makefile.am:
4853 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
4854 over by GLib bug 118439.
4856 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
4857 routines to a function.
4859 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
4861 * libs/gst/controller/gsthelper.c:
4862 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
4863 (gst_object_sync_values): Renamed from sink_values. Ugh.
4865 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
4867 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
4868 Renamed from controller_key, as it is exported.
4870 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
4872 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
4877 * gst/gstpadtemplate.h:
4880 * gst/gstqueryutils.c:
4881 * gst/gstqueryutils.h:
4882 remove queryutils headers after moving the two used functions
4883 to gstquery. also fixes build problem for gstsiddec
4885 2005-09-26 Michael Smith <msmith@fluendo.com>
4887 * tools/gst-launch.1.in:
4888 Correct documentation in manpage of debug syntax
4890 2005-09-26 Wim Taymans <wim@fluendo.com>
4892 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
4893 (gst_base_src_is_seekable), (gst_base_src_change_state):
4894 Some more debugging info.
4896 2005-09-25 Stefan Kost <ensonic@users.sf.net>
4898 * docs/gst/gstreamer-sections.txt:
4899 * gst/base/gstbasetransform.h:
4903 2005-09-25 Stefan Kost <ensonic@users.sf.net>
4905 * docs/gst/.cvsignore:
4906 * docs/gst/tmpl/.cvsignore:
4907 * docs/gst/tmpl/gstpipeline.sgml:
4908 * docs/gst/tmpl/gstplugin.sgml:
4909 * gst/gstpipeline.c:
4912 inlined the last two docs files
4913 removed the tmpl directory from cvs (no more conflicts here!)
4915 2005-09-25 Stefan Kost <ensonic@users.sf.net>
4917 * docs/gst/gstreamer-sections.txt:
4918 * docs/gst/tmpl/.cvsignore:
4919 * docs/gst/tmpl/gstpad.sgml:
4920 * docs/gst/tmpl/gstpadtemplate.sgml:
4922 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
4923 (gst_pad_finalize), (gst_pad_set_pad_template):
4925 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
4926 (gst_pad_template_class_init), (gst_pad_template_init),
4927 (gst_pad_template_dispose), (name_is_valid),
4928 (gst_static_pad_template_get), (gst_pad_template_new),
4929 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
4930 (gst_pad_template_pad_created):
4931 * gst/gstpadtemplate.h:
4932 inlined two more docs
4933 factored gstpadtemplate out of gstpad
4935 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
4937 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
4938 (test_children_state_change_order_semi_sink):
4939 Fix test case: we can't rely on a fixed state change order when
4940 going from READY => PAUSED because the sink might commit its
4941 new state first when the first buffer created by the source
4942 reaches the sink before the source has finished its change state.
4943 (Test case still fails at times, see #316856, comment 5 onwards)
4945 2005-09-24 Wim Taymans <wim@fluendo.com>
4947 * docs/design/part-events.txt:
4948 * docs/design/part-gstbus.txt:
4949 * docs/design/part-gstpipeline.txt:
4950 * docs/design/part-messages.txt:
4951 * docs/design/part-overview.txt:
4952 * docs/design/part-segments.txt:
4959 * gst/gstiterator.c:
4960 Various documentation updates.
4962 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
4965 Well, that's embarassing. Luckily we weren't using
4966 GST_CLOCK_DIFF anywhere.
4968 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
4970 * common/gtk-doc.mak:
4971 don't fail on building XML, FC4 slave shows a bunch of doc
4972 missing bits that I don't get
4974 * gst/gstpipeline.c:
4975 * gst/gststructure.c:
4978 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
4980 * docs/design/part-gstbin.txt:
4981 * docs/design/part-gstbus.txt:
4983 Add blurb about how the bus goes into flushing mode and
4984 drops all messages when its bin goes from READY into NULL
4987 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
4989 * docs/gst/gstreamer-sections.txt:
4990 * gst/gststructure.c: (gst_structure_get_clock_time):
4991 * gst/gststructure.h:
4992 add a method to get a GstClockTime out of a structure
4994 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
4996 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
4997 (test_children_state_change_order_semi_sink), (gst_bin_suite):
4998 Added test to check state change order in bins (can still be made
4999 to fail here under heavy disk load; bails out with 'Push on pad
5000 fakesink:sink0, but it was not activated in push mode').
5002 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
5003 Fix state change order when there is only a semi sink (#316856)
5005 * gst/gstbus.c: (gst_bus_class_init):
5006 Use _class_peek_parent(), not _class_ref(); fix docs to say
5007 'default main context' instead of 'mainloop' where that is
5010 * gst/gstelement.c: (gst_element_commit_state),
5011 (gst_element_set_state):
5012 Fix typos in debug messages
5014 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5017 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
5018 * gst/gstpluginfeature.c:
5021 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5022 change an assert into an error until it gets fixed properly
5024 2005-09-23 Stefan Kost <ensonic@users.sf.net>
5026 * docs/gst/gstreamer-sections.txt:
5027 * docs/gst/tmpl/.cvsignore:
5028 * docs/gst/tmpl/gstelement.sgml:
5029 * docs/gst/tmpl/gstinfo.sgml:
5030 * docs/gst/tmpl/gstobject.sgml:
5035 * gst/gstobject.c: (gst_object_class_init):
5037 inlined 3 more biiiig doc files and added some missing docs on the fly
5039 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5041 * check/gst/.cvsignore:
5042 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
5043 * gst/gstregistryxml.c: (load_plugin),
5044 (gst_registry_xml_save_plugin):
5045 put back source in registry. add checks for find_plugin.
5046 * testsuite/states/bin.c: (assert_state), (empty_bin),
5047 (test_adding_one_element), (main):
5048 * testsuite/states/locked.c: (main):
5049 some compile/run fixes
5051 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
5053 * check/gst/gstvalue.c: (GST_START_TEST):
5054 fix leaks in the test itself
5056 2005-09-22 Wim Taymans <wim@fluendo.com>
5058 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5059 (gst_base_sink_send_event), (gst_base_sink_peer_query),
5060 (gst_base_sink_query):
5061 Prepare for more accurate position reporting and query
5064 * gst/gstelement.c: (gst_element_send_event),
5065 (gst_element_set_state):
5068 2005-09-22 Wim Taymans <wim@fluendo.com>
5070 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
5071 (gst_query_parse_segment):
5074 Add segment query for future use.
5076 2005-09-22 Wim Taymans <wim@fluendo.com>
5078 * gst/gstbin.c: (gst_bin_add_func):
5079 Some more debug info.
5081 * gst/gstelement.c: (gst_element_send_event):
5085 Don't know how flags got broken.
5090 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
5092 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
5093 Add simplistic test suite for GST_TYPE_DATE serialisation and
5096 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
5098 * docs/gst/gstreamer-sections.txt:
5099 * gst/gststructure.c: (gst_structure_set_valist),
5100 (gst_structure_get_date):
5101 * gst/gststructure.h:
5102 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
5103 (gst_date_copy), (gst_value_compare_date),
5104 (gst_value_serialize_date), (gst_value_deserialize_date),
5105 (gst_value_transform_date_string),
5106 (gst_value_transform_string_date), (_gst_value_initialize):
5108 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
5109 bunch of utility functions along with a hack that checks that
5110 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
5111 is required. Part of the grand scheme in #170777.
5113 2005-09-22 Andy Wingo <wingo@pobox.com>
5115 * gst/gstconfig.h.in: Psych out gtk-doc.
5117 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
5119 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
5121 * tools/gst-inspect.c (print_element_list): Plug some
5122 inconsequential leaks.
5124 * gst/gstregistry.c (gst_registry_get_default): Doc.
5126 * check/gst/gstplugin.c:
5127 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
5128 * gst/gstelementfactory.c (gst_element_factory_create):
5129 * gst/gstindexfactory.c (gst_index_factory_create): Update for
5132 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
5133 (gst_plugin_feature_load): Doc, don't eat refs.
5135 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
5136 (gst_plugin_list_free): Doc.
5137 (gst_plugin_load_file): Doc updates.
5139 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
5140 accessors returning refcounted objects, return a ref.
5142 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
5143 accessor for caps. IDEMPOTENCE. Oh yes.
5145 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
5147 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
5149 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
5150 (_gst_debug_register_funcptr):
5151 Add mutex to serialise access to the hash table with
5152 the function pointer => function name string mapping;
5153 make that hash table static scope (#316809).
5155 * gst/registries/.cvsignore:
5156 Remove left-over file.
5158 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
5160 * docs/pwg/appendix-porting.xml:
5161 And something about newsegment events and caps-on-buffers to
5162 the porting guide (feel free to improve).
5164 2005-09-21 Andy Wingo <wingo@pobox.com>
5166 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
5167 data and event probes on the same pad.
5168 (test_buffer_probe_once): Test that removing probes from within
5169 the probe functions works.
5171 2005-09-21 Andy Wingo <wingo@pobox.com>
5173 * check/gst/gstutils.c: New file.
5174 (test_buffer_probe_n_times): A simple buffer probe test. More to
5177 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
5178 have-data::buffer, not have-data.
5179 (gst_pad_add_event_probe): Likewise for have-data::event.
5180 (gst_pad_add_data_probe): More docs. The part about 'resolving the
5181 peer' isn't quite right yet though.
5182 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
5183 (gst_pad_remove_data_probe): Change to take the guint handler_id
5184 as their arg, not the function+data, which is more glib-like.
5186 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
5187 the signal emission to indicate if the data is a buffer or an
5189 (gst_pad_get_type): Initialize buffer and event quarks.
5190 (gst_pad_class_init): have-data is now a detailed signal, yes it
5193 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
5195 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
5196 * gst/gstutils.c: (gst_util_set_value_from_string),
5197 (gst_util_set_object_arg):
5198 Don't put functional code in g_return_if_fail() or
5199 g_return_val_if_fail() statements, otherwise things will
5200 break when G_DISABLE_CHECKS is defined during compilation.
5202 2005-09-21 Stefan Kost <ensonic@users.sf.net>
5204 * docs/gst/tmpl/.cvsignore:
5205 * docs/gst/tmpl/gstvalue.sgml:
5208 inlied another one and added some obvious docs
5210 2005-09-21 Wim Taymans <wim@fluendo.com>
5212 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
5213 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
5214 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
5215 (gst_fdsrc_get_property), (gst_fdsrc_create):
5216 * gst/elements/gstfdsrc.h:
5217 Properly implement fdsrc. Removed signal and timeout,
5218 better implemented somewhere else.
5220 2005-09-21 Stefan Kost <ensonic@users.sf.net>
5222 * docs/gst/tmpl/.cvsignore:
5223 * docs/gst/tmpl/gstimplementsinterface.sgml:
5224 * gst/gstinterface.c:
5227 2005-09-21 Stefan Kost <ensonic@users.sf.net>
5229 * docs/gst/gstreamer-sections.txt:
5230 * docs/gst/tmpl/.cvsignore:
5231 * docs/gst/tmpl/gstenumtypes.sgml:
5232 remove obsolete doc file
5234 2005-09-21 David Schleef <ds@schleef.org>
5236 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
5237 little beer, fix a little leak.
5239 2005-09-21 Stefan Kost <ensonic@users.sf.net>
5241 * docs/gst/gstreamer-docs.sgml:
5242 * docs/gst/gstreamer-sections.txt:
5243 * docs/gst/tmpl/.cvsignore:
5248 * gst/gstindex.c: (gst_index_class_init):
5250 * gst/gstindexfactory.c: (gst_index_factory_get_type),
5251 (gst_index_factory_class_init), (gst_index_factory_init),
5252 (gst_index_factory_finalize), (gst_index_factory_new),
5253 (gst_index_factory_destroy), (gst_index_factory_find),
5254 (gst_index_factory_create), (gst_index_factory_make):
5255 * gst/gstindexfactory.h:
5256 * gst/gstpluginfeature.c:
5257 * gst/gstpluginfeature.h:
5258 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5259 more docs inlined, splitted gstindex.{c,h}
5261 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5263 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5266 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
5268 * gst/elements/gstfilesink.c: (gst_file_sink_init):
5269 Set sync to FALSE by default.
5271 2005-09-20 Wim Taymans <wim@fluendo.com>
5273 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5274 (gst_base_sink_init):
5275 Make sync property settable from subclass.
5277 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
5278 (gst_fake_sink_change_state):
5279 Set sync to FALSE by default.
5281 2005-09-20 Wim Taymans <wim@fluendo.com>
5283 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
5284 * tools/gst-launch.c: (main):
5285 The timeout handler should have lower priority than the source
5286 so we don't timeout before popping a message with 0 timeout.
5287 Dump error messages after failed state change.
5289 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
5291 * tools/gst-inspect.c: (print_element_properties_info):
5294 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5296 * check/gst/gstevent.c:
5297 * gst/elements/gstfakesink.c:
5298 * gst/elements/gstfakesink.h:
5299 remove the sync property from fakesink.
5300 has the side effect of setting sync TRUE
5301 for fakesink, which is a change. Anyone who knows how
5302 to fix this nicely in a GObject-y way, feel free.
5304 2005-09-20 Stefan Kost <ensonic@users.sf.net>
5306 * docs/gst/gstreamer-docs.sgml:
5307 remove probe refsection
5309 2005-09-20 Stefan Kost <ensonic@users.sf.net>
5311 * check/Makefile.am:
5312 disable valgrinding the controller test again
5313 * docs/gst/gstreamer-sections.txt:
5314 update for api-changes
5316 2005-09-20 Wim Taymans <wim@fluendo.com>
5318 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5319 (gst_base_sink_set_property), (gst_base_sink_get_property),
5320 (gst_base_sink_do_sync):
5321 * gst/base/gstbasesink.h:
5322 Added sync property to basesink to disable clock sync.
5324 2005-09-20 Andy Wingo <wingo@pobox.com>
5326 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
5327 eating the caller's refcount.
5329 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
5330 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
5333 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
5334 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
5335 of GLib 2.8 public, so we can know which refcount to check in
5338 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
5339 (gst_object_init): Only set the gst refcount if we're going ahead
5340 with the refcount hack.
5342 2005-09-20 Stefan Kost <ensonic@users.sf.net>
5344 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
5345 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5346 more leaks plumbed, added more debug-logging
5350 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5353 remove include of gstmemchunk.h
5355 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5357 * gst/gstclock.c: (_gst_clock_id_free):
5358 Commit from the Political Party For More Atomic CVS Commits,
5359 so that people don't waste too much of their day fishing
5360 out obvious leaks out of massive commits.
5361 Oh, and fix a pretty damn obvious leak in the memchunk
5364 2005-09-20 Stefan Kost <ensonic@users.sf.net>
5366 * check/Makefile.am:
5367 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
5368 plug mem-leak, re-add to valgrindable tests
5370 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5373 unbreak the build for those who have chronic arthritis
5374 and typing "make check" is just too taxing on the hands
5376 2005-09-20 Andy Wingo <wingo@pobox.com>
5378 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
5379 really want it out, you should fix plugins at the same time.
5381 2005-09-19 Stefan Kost <ensonic@users.sf.net>
5384 * docs/gst/gstreamer-sections.txt:
5386 added missing symbols to api docs
5387 disable ref-count hack if we have glib >= 2.8
5389 2005-09-19 David Schleef <ds@schleef.org>
5391 * docs/gst/Makefile.am: Ignore a few more internal headers
5392 * docs/gst/gstreamer-docs.sgml: Remove old sections
5393 * docs/gst/gstreamer-sections.txt: Remove old sections
5394 * docs/gst/tmpl/gstobject.sgml: update
5395 * docs/gst/tmpl/gstplugin.sgml: update
5396 * docs/gst/tmpl/gstpluginfeature.sgml: update
5397 * docs/random/ds/0.9-suggested-changes: update.
5398 * gst/Makefile.am: remove memchunk and trashstack, since they're
5400 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
5401 * gst/gst.h: don't include some headers
5402 * gst/gstchildproxy.c: add gstmarshal.h
5403 * gst/gstclock.c: Don't use memchunks
5404 * gst/gstminiobject.c: Add some docs
5405 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
5406 * gst/gstobject.h: same
5407 * gst/gstplugin.c: include gstmacros.h
5408 * gst/gstplugin.h: don't include gstmacros.h, since it's private
5409 * gst/gstquery.c: don't use memchunks
5410 * gst/gstregistry.c: rename gst_registry_deinit()
5411 * gst/gstregistry.h: same
5413 2005-09-19 David Schleef <ds@schleef.org>
5415 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
5416 * docs/libs/gstreamer-libs-sections.txt:
5417 * docs/libs/tmpl/gstgetbits.sgml:
5418 * docs/libs/tmpl/gstputbits.sgml:
5420 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
5422 * win32/gstenumtypes.c:
5423 * win32/gstenumtypes.h:
5426 2005-09-19 Wim Taymans <wim@fluendo.com>
5428 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
5429 Automatically PAUSE and RESUME a pipeline when a flushing seek
5432 2005-09-19 Andy Wingo <wingo@pobox.com>
5434 * gst/gstregistry.h: Spacing fixen.
5436 2005-09-19 Wim Taymans <wim@fluendo.com>
5438 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
5439 Handle state change failure more correctly.
5441 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
5443 * check/Makefile.am:
5444 * check/pipelines/cleanup.c: (run_pipeline):
5445 * check/pipelines/simple_launch_lines.c: (run_pipeline),
5447 enable cleanup again after fixing the leak
5449 some more info on docs
5451 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
5453 * check/Makefile.am:
5454 re-enable tests now that leaks are plugged
5456 * check/gst/gstbin.c:
5457 * check/gst/gstpipeline.c:
5458 add some more tests while fixing leaks
5460 make sure binaries are uptodate when valgrinding/gdbing
5462 * gst/gstelementfactory.c:
5463 remove a ref too many, and add a FIXME for when we get
5464 round to disposing of classes
5466 fix the refcounting when loading a plugin from a file and
5467 the code pretends that the pointer is the same even though
5468 of course it can change
5469 * gst/gstpluginfeature.c:
5470 unref plugins marked cached (a bit confusing as a name)
5471 as the docs state should be done
5472 various doc additions to explain refcounting
5473 * gst/gstregistry.c:
5474 * gst/gstregistryxml.c:
5477 2005-09-19 Wim Taymans <wim@fluendo.com>
5479 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
5480 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
5481 (send_messages), (GST_START_TEST), (gstbus_suite):
5482 * check/gst/gstpipeline.c: (GST_START_TEST):
5483 * check/pipelines/cleanup.c: (run_pipeline):
5484 * check/pipelines/simple_launch_lines.c: (run_pipeline),
5486 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
5487 (gst_bus_source_check), (gst_bus_source_dispatch),
5488 (gst_bus_create_watch), (gst_bus_add_watch_full),
5489 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
5491 * tools/gst-launch.c: (event_loop):
5492 * tools/gst-md5sum.c: (event_loop):
5493 GstBusHandler -> GstBusFunc, return value has the same meaning as
5494 any other GSource (FALSE == remove source).
5495 _add_watch() and _add_watch_full() now take a MessageType mask to
5496 only handle specific types of messages.
5497 _poll() returns the GstMessage instead of the message type to avoid
5499 _have_pending() takes a MessageType mask now too.
5500 Added testsuite for multiple bus watches.
5501 Fix testsuites and applications for new bus API.
5503 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
5505 * check/Makefile.am:
5506 mark a bunch of the tests as to fix until we fix them
5508 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
5511 use GST_PLUGIN settings for valgrind tests as well, so we're
5512 valgrinding the correct thing
5513 * gst/gst.c: (init_post):
5516 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
5518 * gst/gst.c: (init_post), (gst_deinit):
5519 * gst/gstelementfactory.c: (gst_element_factory_class_init),
5520 (gst_element_factory_finalize), (gst_element_factory_cleanup):
5521 * gst/gstindex.c: (gst_index_factory_class_init),
5522 (gst_index_factory_finalize):
5523 * gst/gstobject.c: (gst_object_dispose):
5524 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
5525 (gst_plugin_load_file), (gst_plugin_desc_free):
5526 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
5527 (gst_plugin_feature_finalize):
5528 * gst/gstregistry.c: (gst_registry_class_init),
5529 (gst_registry_init), (gst_registry_finalize),
5530 (gst_registry_get_default), (gst_registry_deinit):
5531 * gst/gstregistry.h:
5532 * gst/gstregistryxml.c: (load_feature), (load_plugin):
5533 various cleanups and memleak plugging. make valgrind is happy now.
5535 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
5538 add a check-valgrind target
5540 2005-09-18 David Schleef <ds@schleef.org>
5542 * tools/gst-inspect.c: Revert the GOption code.
5544 2005-09-17 David Schleef <ds@schleef.org>
5546 * check/Makefile.am: Fix environment variables.
5547 * check/gst/gstplugin.c: Fix for API changes.
5548 * tools/gst-inspect.c: Fix for API changes.
5549 * tools/gst-xmlinspect.c: Fix for API changes.
5550 * gst/gstelementfactory.c:
5553 * gst/gstpluginfeature.c:
5554 * gst/gstpluginfeature.h:
5555 * gst/gstregistry.c:
5556 * gst/gstregistry.h:
5557 * gst/gstregistryxml.c:
5558 * gst/gsttypefind.c:
5559 * gst/gsttypefindfactory.c:
5560 * gst/indexers/gstfileindex.c:
5561 * gst/indexers/gstmemindex.c:
5562 * gst/schedulers/Makefile.am:
5563 Change registry to keep track of both plugins and features,
5564 removing the feature tracking from plugins themselves.
5566 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
5568 * check/Makefile.am:
5569 * tools/gst-register.1.in:
5572 2005-09-15 David Schleef <ds@schleef.org>
5574 * check/gst/gstplugin.c:
5575 * gst/gstelementfactory.c:
5577 * gst/gstpluginfeature.c:
5578 * gst/gstregistry.c:
5579 Getting tired of debugging. Disabled all the unreffing of
5580 plugins and features, which fixes the segfaults, but of
5581 course leaks like crazy. At least playbin works.
5583 2005-09-15 David Schleef <ds@schleef.org>
5585 * check/gst/gstplugin.c: (register_check_elements),
5586 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
5588 * gst/elements/gsttypefindelement.c: Fix refcounting.
5589 * gst/gsttypefind.c:
5590 * gst/gsttypefindfactory.c:
5591 * gst/gsttypefindfactory.h:
5593 2005-09-15 David Schleef <ds@schleef.org>
5595 * gst/gstindex.c: get refcounting correct.
5596 * gst/gstregistry.c: Handle the case where a feature/plugin is
5599 2005-09-15 David Schleef <ds@schleef.org>
5601 * check/Makefile.am:
5602 * check/gst/gstplugin.c: Add test
5603 * gst/gstplugin.c: Fix problems noticed by testsuite
5605 * gst/gstregistry.c:
5606 * gst/gstregistry.h:
5608 2005-09-15 David Schleef <ds@schleef.org>
5610 * gst/gstplugin.c: Implement semi-decent recounting and locking
5611 in plugins and plugin features.
5613 * gst/gstpluginfeature.c:
5614 * gst/gstpluginfeature.h:
5615 * gst/gstregistry.c:
5617 2005-09-15 Michael Smith <msmith@fluendo.com>
5619 * gst/gstregistry.c: (gst_registry_get_feature_list):
5620 Implement this. Makes oggdemux work; decodebin still broken.
5622 2005-09-14 David Schleef <ds@schleef.org>
5624 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
5626 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
5627 * gst/check/Makefile.am:
5628 * libs/gst/controller/Makefile.am:
5629 * libs/gst/dataprotocol/Makefile.am:
5631 2005-09-14 David Schleef <ds@schleef.org>
5633 * configure.ac: Remove getbits library. Nothing uses it, and
5634 it should be in something like liboil if someone did want
5636 * libs/gst/Makefile.am:
5637 * libs/gst/getbits/Makefile.am:
5638 * libs/gst/getbits/gbtest.c:
5639 * libs/gst/getbits/getbits.c:
5640 * libs/gst/getbits/getbits.h:
5641 * libs/gst/getbits/gstgetbits_generic.c:
5642 * libs/gst/getbits/gstgetbits_i386.s:
5643 * libs/gst/getbits/gstgetbits_inl.h:
5645 2005-09-14 David Schleef <ds@schleef.org>
5647 * gst/Makefile.am: Dist glib-compat.h
5649 2005-09-14 David Schleef <ds@schleef.org>
5651 * configure.ac: Remove gst/registries, since it's no longer used.
5652 * gst/registries/Makefile.am:
5653 * gst/registries/gstlibxmlregistry.c:
5654 * gst/registries/gstlibxmlregistry.h:
5655 * gst/registries/gstxmlregistry.c:
5656 * gst/registries/gstxmlregistry.h:
5657 * gst/registries/registrytest.c:
5659 2005-09-14 David Schleef <ds@schleef.org>
5661 * gst/glib-compat.h:
5662 * gst/gstregistryxml.c:
5663 Convergence is near. Seriously.
5665 2005-09-14 David Schleef <ds@schleef.org>
5667 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5668 * gst/glib-compat.h:
5669 Attempt #4 to appease the buildbots.
5671 2005-09-14 David Schleef <ds@schleef.org>
5673 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5676 2005-09-14 David Schleef <ds@schleef.org>
5678 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5681 2005-09-14 David Schleef <ds@schleef.org>
5683 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
5686 2005-09-14 David Schleef <ds@schleef.org>
5688 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5689 * gst/glib-compat.h: Add some functions that are in newer versions
5690 of glib than we care to require.
5691 * gst/gstregistryxml.c: Use them.
5693 2005-09-14 David Schleef <ds@schleef.org>
5695 * po/POTFILES.in: remove gst-register.c
5697 2005-09-14 David Schleef <ds@schleef.org>
5699 * docs/gst/gstreamer-docs.sgml:
5700 * docs/gst/gstreamer-sections.txt:
5701 * docs/gst/gstreamer.types:
5702 * docs/gst/tmpl/gstelement.sgml:
5703 * docs/gst/tmpl/gstplugin.sgml:
5704 * docs/gst/tmpl/gstpluginfeature.sgml:
5705 Documentation updates for registry changes.
5707 2005-09-14 David Schleef <ds@schleef.org>
5709 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
5710 because we don't require glib-2.8.
5712 2005-09-14 David Schleef <ds@schleef.org>
5714 * gst/gstregistryxml.c: Added. Essentially moved out of the
5715 registries directory.
5717 2005-09-14 David Schleef <ds@schleef.org>
5719 * check/Makefile.am:
5720 * check/generic/states.c:
5724 * gst/gst_private.h:
5725 * gst/gstelementfactory.c:
5730 * gst/gstpluginfeature.c:
5731 * gst/gstpluginfeature.h:
5732 * gst/gstregistry.c:
5733 * gst/gstregistry.h:
5734 * gst/gstregistrypool.c: remove
5735 * gst/gstregistrypool.h: remove
5736 * gst/gsttypefind.c:
5737 * gst/gsttypefindfactory.c:
5739 * tools/Makefile.am:
5740 * tools/gst-compprep.c:
5741 * tools/gst-inspect.c:
5742 * tools/gst-register.c: remove
5743 * tools/gst-xmlinspect.c:
5744 Registry rewrite. Changes registry from being a file created
5745 by a tool into a simple cache file created automatically by
5746 libgstreamer. Removed gst-register (because it's no longer
5747 needed). Remove registry pools, because we only have one
5748 registry implementation (XML). Fix up other subsystems as
5751 2005-09-13 Michael Smith <msmith@fluendo.com>
5753 * gst/gstconfig.h.in:
5754 Don't Use windows linking attributes for MinGW. Fixes #316157
5756 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
5758 * gst/gstutils.c: (set_state_async_thread_func),
5759 (gst_element_set_state_async):
5760 Apparently people think it's better if this function doesn't
5761 try to set the state to whatever state was asked for on the first
5762 call to this function for any object. Seriously.
5764 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
5766 * check/gst/gstpipeline.c: (GST_START_TEST):
5767 * docs/gst/gstreamer-sections.txt:
5768 * gst/gstutils.c: (set_state_async_thread_func),
5769 (gst_element_set_state_async):
5771 add a "gst_element_set_state_async" method that
5772 sets the state and starts a thread to make sure the state
5773 change completes as best as it can
5775 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
5777 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5778 codify design+behaviour in testsuite after discussion
5780 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
5782 * docs/gst/tmpl/gstelement.sgml:
5783 * docs/manual/appendix-quotes.xml:
5785 * gst/gstelement.c: (gst_element_set_state):
5788 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
5790 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
5791 (gst_base_transform_prepare_output_buf),
5792 (gst_base_transform_handle_buffer):
5793 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
5794 (gst_capsfilter_prepare_buf):
5795 Remove the requirement for sub-classes to call the parent
5796 implementation of prepare_output_buffer with a wrapper function.
5799 * gst/gsttagsetter.h:
5802 2005-09-11 Stefan Kost <ensonic@users.sf.net>
5804 * docs/gst/gstreamer-sections.txt:
5807 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
5809 * docs/gst/gstreamer-sections.txt:
5810 * docs/gst/tmpl/gstelement.sgml:
5811 * docs/gst/tmpl/gstplugin.sgml:
5812 * gst/gstminiobject.c:
5814 docs now stop throwing warnings
5816 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
5818 * docs/gst/gstreamer-sections.txt:
5819 * docs/gst/gstreamer.types:
5820 * docs/gst/tmpl/gstpad.sgml:
5821 * docs/gst/tmpl/gsttypes.sgml:
5822 * gst/base/gstadapter.h:
5823 * gst/base/gstbasesink.h:
5824 * gst/base/gstbasesrc.h:
5834 * gst/gststructure.c:
5835 * gst/registries/gstlibxmlregistry.h:
5836 various documentation fixes
5838 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
5840 * docs/gst/gstreamer-sections.txt:
5841 * docs/gst/tmpl/gstvalue.sgml:
5842 rearrange gstvalue section
5843 * gst/gstutils.c: (gst_element_state_get_name):
5845 * gst/gstvalue.c: (_gst_value_initialize):
5849 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
5851 * check/gst-libs/controller.c:
5853 * gst/base/gstbasetransform.c:
5854 (gst_base_transform_default_prepare_buf),
5855 (gst_base_transform_handle_buffer):
5856 * gst/base/gstbasetransform.h:
5857 Some more basetransform changes and fixes to enable sub-classes
5858 that modify buffer metadata only.
5859 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5860 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
5861 (gst_capsfilter_prepare_buf):
5862 If the output pad has fixed allowed caps and input buffers
5863 don't have any, set the fixed caps on outgoing buffers.
5865 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
5866 * check/elements/identity.c: (GST_START_TEST):
5867 Make the error a little clearer when the test fails because
5868 identity made a copy of the buffer.
5869 * docs/gst/gstreamer-sections.txt:
5870 New symbols in gstbasetransform.h
5871 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
5872 (gst_base_transform_init), (gst_base_transform_transform_size),
5873 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5874 (gst_base_transform_default_prepare_buf),
5875 (gst_base_transform_get_unit_size),
5876 (gst_base_transform_buffer_alloc),
5877 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
5878 (gst_base_transform_change_state),
5879 (gst_base_transform_set_passthrough),
5880 (gst_base_transform_set_in_place),
5881 (gst_base_transform_is_in_place):
5882 * gst/base/gstbasetransform.h:
5883 Change BaseTransform to separate in_place operate from same_caps
5884 output. in_place implies that the element can perform the transform
5885 on incoming buffers in-place, even if the caps on the output are
5887 Sub-class elements can now implement special buffer allocation
5888 methods for outgoing buffers if they wish to.
5889 Big documentation addition.
5890 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
5891 * gst/elements/gstelements.c:
5892 Changes for basetransform modifications.
5893 * gst/elements/Makefile.am:
5894 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
5895 Compile fix. Extra debug output.
5897 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
5899 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
5901 add tests for valid pad naming
5902 * gst/check/gstcheck.c: (gst_check_log_message_func),
5903 (gst_check_log_critical_func):
5905 remove printing of code, it is fragile when the code contains
5906 % and the line number is enough info
5907 * gst/check/gstcheck.h:
5908 * gst/gstpad.c: (gst_pad_template_new):
5911 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
5914 say what CHECK flags we use
5915 * docs/libs/gstreamer-libs.types:
5916 * libs/gst/controller/Makefile.am:
5917 * libs/gst/controller/gst-controller.c:
5918 * libs/gst/controller/gst-controller.h:
5919 * libs/gst/controller/gst-helper.c:
5920 * libs/gst/controller/gst-interpolation.c:
5921 * libs/gst/controller/gstcontroller.c:
5922 * libs/gst/controller/gsthelper.c:
5923 * libs/gst/controller/gstinterpolation.c:
5924 * tools/gst-inspect.c: (print_plugin_info):
5925 we don't use dashes in header names
5927 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
5929 * check/Makefile.am:
5930 * check/gst/.cvsignore:
5931 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
5932 (gst_pipeline_suite), (main):
5933 adding a test for pipelines and state changes
5934 * gst/gstutils.c: (get_state_func):
5936 * gstreamer.spec.in:
5939 2005-09-08 Michael Smith <msmith@fluendo.com>
5941 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
5942 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
5943 (gst_file_src_is_seekable), (gst_file_src_get_size),
5944 (gst_file_src_start):
5945 * gst/elements/gstfilesrc.h:
5946 Various fixes for unseekable, unmmapable, and non-normal files, so
5947 that fallback to read() rather than mmap() works.
5948 * gst/gstevent.c: (gst_event_new_newsegment):
5949 Allow newsegment events with segment_start == segment_end, as will
5950 correctly happen if you use filesrc on a zero-size file, for
5953 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
5955 * gst/gstplugin.c: (gst_plugin_load_file):
5956 Call g_module_close when we don't load the module
5958 * gst/registries/gstlibxmlregistry.c:
5959 (gst_xml_registry_get_property):
5960 Port leak fix from 0.8
5962 2005-09-07 Stefan Kost <ensonic@users.sf.net>
5964 * docs/gst/gstreamer-docs.sgml:
5965 * docs/gst/tmpl/.cvsignore:
5966 * docs/gst/tmpl/gsttrace.sgml:
5967 * docs/gst/tmpl/gsttrashstack.sgml:
5976 * gst/gsttaginterface.c:
5977 * gst/gsttaginterface.h:
5980 * gst/gsttagsetter.c:
5981 * gst/gsttagsetter.h:
5984 * gst/gsttrashstack.c:
5985 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
5986 inlined docs for gsttrace, gsttrashstack
5988 2005-09-07 Stefan Kost <ensonic@users.sf.net>
5991 * gst/elements/gstbufferstore.h:
5992 * gst/elements/gsttypefindelement.c:
5993 * gst/elements/gsttypefindelement.h:
5995 * gst/gsttypefind.c:
5996 * gst/gsttypefind.h:
5997 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
5998 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
5999 (gst_type_find_factory_dispose),
6000 (gst_type_find_factory_unload_thyself),
6001 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
6002 (gst_type_find_factory_get_caps),
6003 (gst_type_find_factory_get_extensions),
6004 (gst_type_find_factory_call_function):
6005 * gst/gsttypefindfactory.h:
6006 * gst/registries/gstlibxmlregistry.c:
6007 * gst/registries/gstxmlregistry.c:
6008 splitted gsttypefind into gsttypefind, gsttypefindfactory
6010 2005-09-07 Andy Wingo <wingo@pobox.com>
6012 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
6013 condition whereby the pad's task function is entered before the
6014 pad_mode variable was set.
6016 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
6018 * gst/gstpad.c: (gst_pad_alloc_buffer):
6019 Catch misbehaving pad_alloc functions that don't
6020 set up caps and do it for them.
6022 2005-09-07 Stefan Kost <ensonic@users.sf.net>
6024 * check/pipelines/simple_launch_lines.c: (run_pipeline):
6026 * docs/gst/tmpl/.cvsignore:
6027 * docs/gst/tmpl/gstmemchunk.sgml:
6028 * docs/gst/tmpl/gstparse.sgml:
6029 * docs/gst/tmpl/gsttaglist.sgml:
6030 * docs/gst/tmpl/gsttagsetter.sgml:
6031 * docs/gst/tmpl/gsttypefind.sgml:
6032 * docs/gst/tmpl/gsttypefindfactory.sgml:
6033 * gst/gstmemchunk.c:
6036 * gst/gsttaginterface.c:
6037 * gst/gsttypefind.c:
6038 * gst/gsttypefind.h:
6041 === release 0.9.2 ===
6043 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
6048 releasing 0.9.2, "South"
6050 2005-09-05 Andy Wingo <wingo@pobox.com>
6052 * gst/registries/gstxmlregistry.h:
6053 * gst/registries/gstxmlregistry.c: Um... resurrect...
6055 * gst/registries/gstxmlregistry.h:
6056 * gst/registries/gstxmlregistry.c: and update to newer API.
6057 Incidentally they should be a bit faster now that they don't have
6060 2005-09-05 Andy Wingo <wingo@pobox.com>
6062 * gst/registries/gstxmlregistry.h:
6063 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
6064 replaced by the libxml registry a while back
6066 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
6068 * docs/gst/tmpl/gstplugin.sgml:
6069 * gst/elements/gstelements.c:
6071 * gst/gstplugin.c: (gst_plugin_register_func),
6072 (gst_plugin_desc_copy), (gst_plugin_desc_free),
6073 (gst_plugin_get_source):
6075 * gst/registries/gstlibxmlregistry.c: (load_plugin),
6076 (gst_xml_registry_save_plugin):
6077 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
6078 (gst_xml_registry_save_plugin):
6079 * tools/gst-inspect.c: (print_plugin_info):
6080 add a "source" plugin description field, to represent the source
6081 module this plugin is a part of. By default GST_PLUGIN_DEFINE
6082 will set it to PACKAGE, which is automake's idea of the name of
6085 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
6091 * docs/faq/Makefile.am:
6092 * docs/gst/tmpl/gstelement.sgml:
6093 * docs/gst/tmpl/gsttypes.sgml:
6094 * docs/htmlinstall.mak:
6095 * docs/manual/Makefile.am:
6096 * docs/pwg/Makefile.am:
6097 reorganize doc build a little
6098 split out docbook and gtk-doc stuff
6099 have two separate --enable's and enable them through autogen
6100 but disable by default in configure (to be similar to other
6102 * gstreamer.spec.in:
6103 clean up docs install
6123 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
6125 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
6128 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
6129 (gst_fake_sink_change_state):
6130 Make state change function thread-safe.
6132 * gst/gstpad.c: (gst_pad_alloc_buffer):
6133 Set offset on generic buffer allocated by fallback.
6135 2005-09-03 Stefan Kost <ensonic@users.sf.net>
6137 * docs/gst/gstreamer-sections.txt:
6138 * docs/gst/tmpl/gstelement.sgml:
6140 * libs/gst/controller/gst-controller.c:
6141 (gst_controlled_property_set_interpolation_mode),
6142 (gst_controlled_property_new),
6143 (gst_controller_find_controlled_property):
6144 run the wingo-magic script against the docs
6146 2005-09-02 Stefan Kost <ensonic@users.sf.net>
6148 * docs/gst/gstreamer-docs.sgml:
6149 * docs/gst/gstreamer-sections.txt:
6150 * docs/gst/tmpl/.cvsignore:
6151 * docs/gst/tmpl/gstelementdetails.sgml:
6152 * docs/gst/tmpl/gstelementfactory.sgml:
6155 * gst/gstelementfactory.c:
6156 * gst/gstelementfactory.h:
6157 merged elementdetails docs into elementfactory docs
6160 2005-09-02 Andy Wingo <wingo@pobox.com>
6162 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
6163 consider this enum an enum and not a flags.
6165 2005-09-02 Stefan Kost <ensonic@users.sf.net>
6167 * docs/gst/gstreamer-docs.sgml:
6168 * docs/gst/tmpl/.cvsignore:
6169 * docs/gst/tmpl/gstghostpad.sgml:
6170 * docs/gst/tmpl/gstiterator.sgml:
6171 * docs/gst/tmpl/gstmacros.sgml:
6172 * docs/gst/tmpl/gstrealpad.sgml:
6173 * docs/gst/tmpl/gstregistry.sgml:
6174 * docs/gst/tmpl/gstregistrypool.sgml:
6175 * docs/gst/tmpl/gststructure.sgml:
6176 * docs/gst/tmpl/gstsystemclock.sgml:
6177 * docs/gst/tmpl/gsttrace.sgml:
6178 * gst/gstghostpad.c:
6180 * gst/gstmemchunk.c:
6181 * gst/gstmemchunk.h:
6183 * gst/gstregistry.c:
6184 * gst/gstregistrypool.c:
6185 * gst/gststructure.c:
6186 * gst/gstsystemclock.c:
6189 2005-09-02 Andy Wingo <wingo@pobox.com>
6191 * gst/gstelement.h (GstState): Renamed from GstElementState,
6192 changed to be a normal enum instead of flags.
6193 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
6194 munged to be GST_STATE_CHANGE_*.
6195 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
6196 work with the new state representation.
6197 (GstStateChange): New enumeration of possible state transitions.
6198 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
6199 (GstElementClass::change_state): Pass the GstStateChange along as
6200 an argument. Helps language bindings, so they don't have to use
6201 tricky lock-needing macros like GST_STATE_CHANGE ().
6203 * scripts/update-states (file): New script. Run it on a file to
6204 update it for state naming and API changes. Updates files in
6207 * All files updated for the new API.
6209 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
6211 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
6212 * gst/gstutils.c: (gst_util_set_value_from_string),
6213 (gst_util_set_object_arg):
6214 fix a bunch of unchecked return values
6215 * tools/gst-complete.c: (main):
6216 * gstreamer.spec.in:
6219 2005-09-01 Wim Taymans <wim@fluendo.com>
6221 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6222 (gst_base_sink_event), (gst_base_sink_do_sync),
6223 (gst_base_sink_handle_event):
6224 * gst/base/gstbasesink.h:
6225 Handle newsegments more correctly.
6230 * gst/gstevent.c: (gst_event_new_newsegment):
6231 A newsegment cannot have a start_time of -1
6233 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
6235 * win32/gstenumtypes.c:
6236 * win32/gstenumtypes.h:
6239 2005-08-31 Stefan Kost <ensonic@users.sf.net>
6241 * libs/gst/controller/gst-controller.c:
6242 (gst_controlled_property_set_interpolation_mode),
6243 (gst_controlled_property_new):
6246 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
6248 * docs/faq/gst-uninstalled:
6253 * gst/gstutils.c: (gst_element_link_filtered):
6255 add gst_element_link_filtered
6257 2005-08-31 Stefan Kost <ensonic@users.sf.net>
6259 * docs/gst/gstreamer-docs.sgml:
6260 * docs/gst/gstreamer-sections.txt:
6261 * docs/gst/tmpl/.cvsignore:
6262 * docs/gst/tmpl/gsterror.sgml:
6263 * docs/gst/tmpl/gstfilter.sgml:
6264 * docs/gst/tmpl/gsturihandler.sgml:
6265 * docs/gst/tmpl/gsturitype.sgml:
6266 * docs/gst/tmpl/gstutils.sgml:
6267 * docs/gst/tmpl/gstxml.sgml:
6275 inlined more docs, fixed double id-ref
6277 2005-08-31 Wim Taymans <wim@fluendo.com>
6279 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6280 (gst_base_transform_handle_buffer):
6281 Passthrough elements don't need the caps as they don't care.
6283 2005-08-31 Wim Taymans <wim@fluendo.com>
6285 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6286 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
6287 Don't leak refcounts on buffers.
6289 2005-08-31 Wim Taymans <wim@fluendo.com>
6291 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
6292 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
6293 (gst_base_transform_chain), (gst_base_transform_change_state):
6294 * gst/base/gstbasetransform.h:
6295 Handle the case where we are not negotiated more gracefully.
6297 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
6299 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
6300 (gst_file_src_map_region):
6301 Set READONLY flag on mmap'ed buffers, otherwise
6302 gst_buffer_make_writable() won't work properly (#314708).
6304 2005-08-31 Wim Taymans <wim@fluendo.com>
6306 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
6307 passthrough elements can even do inplace on non writable
6308 buffers (as they don't touch them).
6310 2005-08-31 Stefan Kost <ensonic@users.sf.net>
6312 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
6313 (gst_test_mono_source_set_property),
6314 (gst_test_mono_source_class_init), (GST_START_TEST),
6315 (gst_controller_suite):
6316 more tests (hehe I have the most)
6318 describe popping messages whenusing mulltiple sources
6319 * libs/gst/controller/gst-controller.c:
6320 (gst_controlled_property_set_interpolation_mode),
6321 (gst_controlled_property_new):
6322 * libs/gst/controller/gst-controller.h:
6323 * libs/gst/controller/gst-interpolation.c:
6324 implement boolean properties
6326 2005-08-31 Wim Taymans <wim@fluendo.com>
6328 * gst/gstminiobject.c: (gst_mini_object_ref):
6329 Cannot assert that the refcount has to be positive
6330 since a disposed object can be resurrected.
6332 2005-08-31 Wim Taymans <wim@fluendo.com>
6334 * gst/gstpad.c: (gst_pad_init):
6335 Revert change, need to first fix badly behaving
6338 2005-08-30 Wim Taymans <wim@fluendo.com>
6340 * check/elements/fakesrc.c: (setup_fakesrc):
6341 * check/elements/identity.c: (setup_identity):
6342 Activate pads before using them.
6344 2005-08-30 Wim Taymans <wim@fluendo.com>
6346 * gst/base/gstadapter.c: (gst_adapter_flush):
6347 Flushing out 0 bytes is ok for this function.
6349 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6350 no newsegment gives a warning and sets the start/stop to
6353 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
6354 (gst_base_transform_set_passthrough):
6357 * gst/gstminiobject.c: (gst_mini_object_ref):
6358 Check refcount here too.
6360 * gst/gstpad.c: (gst_pad_init):
6361 Pads are initially flushing and refusing data.
6363 * gst/gstutils.c: (gst_element_link_pads_filtered):
6364 When adding a capsfilter element make sure it has the
6365 same state as the parent bin.
6367 2005-08-30 Stefan Kost <ensonic@users.sf.net>
6369 * docs/gst/tmpl/.cvsignore:
6370 * docs/gst/tmpl/gstformat.sgml:
6371 * docs/gst/tmpl/gstversion.sgml:
6375 * gst/gstversion.h.in:
6376 more docs and two more inlined
6378 2005-08-30 Wim Taymans <wim@fluendo.com>
6380 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
6381 Don't sync to clock.
6383 2005-08-30 Stefan Kost <ensonic@users.sf.net>
6385 * docs/gst/gstreamer-sections.txt:
6386 ultral33t func10ns deserve to appear in the docs actually
6387 * docs/gst/tmpl/.cvsignore:
6388 * docs/gst/tmpl/gstcompat.sgml:
6389 * docs/gst/tmpl/gstconfig.sgml:
6390 * gst/check/gstcheck.c:
6392 * gst/gstconfig.h.in:
6395 2005-08-30 Stefan Kost <ensonic@users.sf.net>
6397 * docs/gst/tmpl/.cvsignore:
6398 * docs/gst/tmpl/gstquery.sgml:
6399 * docs/gst/tmpl/gstutils.sgml:
6402 inlined and extended docs
6404 2005-08-30 Stefan Kost <ensonic@users.sf.net>
6406 * check/gst-libs/controller.c: (GST_START_TEST),
6407 (gst_controller_suite):
6409 * docs/gst/tmpl/gstutils.sgml:
6410 * docs/libs/gstreamer-libs-sections.txt:
6411 * docs/libs/tmpl/gstdataprotocol.sgml:
6413 * examples/controller/audio-example.c: (main):
6414 controller example works now
6417 * tools/gst-inspect.c: (print_element_properties_info):
6418 show param spec flags
6420 2005-08-29 Andy Wingo <wingo@pobox.com>
6422 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
6424 2005-08-28 Andy Wingo <wingo@pobox.com>
6426 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
6427 as having two arguments instead of just one. Allows superclasses
6428 to access information on subclasses -- see the terrible for() loop
6429 in gtype.c:g_type_create_instance for the reason why. All callers
6432 2005-08-27 Stefan Kost <ensonic@users.sf.net>
6434 * docs/design/part-messages.txt:
6436 * docs/gst/tmpl/.cvsignore:
6437 * docs/gst/tmpl/gstcaps.sgml:
6438 * docs/gst/tmpl/gstclock.sgml:
6445 added descriptions for bus and message
6446 inline caps and clock docs
6448 2005-08-27 Stefan Kost <ensonic@users.sf.net>
6454 2005-08-27 Stefan Kost <ensonic@users.sf.net>
6456 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
6459 2005-08-26 Andy Wingo <wingo@pobox.com>
6461 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
6462 element_set_state's return val.
6463 (test_2_elements): Add test that's been disabled for months.
6465 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
6466 can-activate-pull properties.
6468 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
6469 can-activate-pull properties. Implement is_seekable so fakesrc can
6470 operate in pull mode.
6472 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
6474 (gst_base_sink_activate, gst_base_sink_activate_pull)
6475 (gst_base_sink_activate_push): Make activation mode choosing work.
6477 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
6478 is right. Make pull mode work. Post an eos before pausing in pull
6480 (gst_base_sink_change_state): Pay attention to the core's
6481 change_state() return val.
6483 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
6484 has-getrange properties. Cleanups.
6486 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
6487 has_getrange and replace with can_activate_pull and
6490 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
6491 locking comments. Remove has_loop, has_chain and replace with
6492 can_activate_pull and can_activate_push.
6494 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
6497 * examples/Makefile.am:
6498 * examples/metadata/Makefile.am:
6499 * examples/metadata/read-metadata.c: (message_loop),
6500 (have_pad_handler), (make_pipeline), (print_tag), (main):
6501 Add metadata reading example that loops over a list of filenames,
6502 dumping any tags found.
6504 * gst/gstbus.c: (gst_bus_dispose):
6505 * gst/gstelement.c: (gst_element_dispose):
6506 Release a few potentially-held references in dispose.
6508 2005-08-26 Stefan Kost <ensonic@users.sf.net>
6510 * docs/gst/tmpl/gstminiobject.sgml:
6511 do *not* add tmpl/*.sgml files to CVS!
6513 2005-08-26 Stefan Kost <ensonic@users.sf.net>
6515 * libs/gst/bytestream/.cvsignore:
6516 * libs/gst/bytestream/Makefile.am:
6517 * libs/gst/bytestream/adapter.c:
6518 * libs/gst/bytestream/adapter.h:
6519 * libs/gst/bytestream/bytestream.c:
6520 * libs/gst/bytestream/bytestream.h:
6521 * libs/gst/bytestream/filepad.c:
6522 * libs/gst/bytestream/filepad.h:
6523 removing obsolete files
6525 2005-08-26 Stefan Kost <ensonic@users.sf.net>
6527 * docs/gst/gstreamer-docs.sgml:
6528 * docs/libs/gstreamer-libs-docs.sgml:
6529 disabed additional index entries again, as this makes docs-gen just
6530 slow and they aren't useful yet
6531 * docs/libs/gstreamer-libs-sections.txt:
6532 little -section.txt cleanup for libs
6534 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
6536 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6537 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
6538 fix up some debugging
6539 (gst_base_transform_get_unit_size),
6540 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
6541 (gst_base_transform_handle_buffer):
6542 * gst/base/gstbasetransform.h:
6543 handle and store timed NEWSEGMENT events so that subclasses that
6544 calculate time by counting samples have a segment_start time they
6545 need to add to their timestamps - see audioresample
6547 2005-08-26 Stefan Kost <ensonic@users.sf.net>
6550 removed ';' from the end of macro defs
6551 * docs/gst/gstreamer-docs.sgml:
6552 * docs/gst/gstreamer-sections.txt:
6553 * docs/gst/tmpl/.cvsignore:
6555 * gst/gstelement.c: (gst_element_class_init),
6556 (gst_element_set_state), (activate_pads),
6557 (gst_element_save_thyself):
6558 * gst/gstevent.c: (gst_event_new_newsegment):
6560 * gst/gstiterator.c:
6561 * gst/gstiterator.h:
6564 * gst/gstutils.c: (gst_pad_query_convert):
6566 fixed parameter name mismatches between source, header and docs
6567 added some more docs, resolved the last batch of unused elements in
6568 docs (now someone needs to doc them)
6570 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
6572 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
6573 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
6574 don't walk through the plugins backwards. Where is all this
6575 reversed logic coming from ?
6577 2005-08-25 Wim Taymans <wim@fluendo.com>
6579 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6580 (gst_base_transform_transform_size),
6581 (gst_base_transform_configure_caps),
6582 (gst_base_transform_get_unit_size),
6583 (gst_base_transform_buffer_alloc),
6584 (gst_base_transform_change_state):
6585 * gst/base/gstbasetransform.h:
6586 Cache caps unit_size.
6587 Make sure we cannot negotiate up and downstream at the
6590 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
6592 * gst/gst.c: (init_pre), (init_post):
6593 register the installed plugin path after the env var
6594 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
6595 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
6596 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
6597 directories, so the tests can prefer uninstalled over installed
6599 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
6601 * gst/base/gstbasetransform.h:
6606 2005-08-25 Wim Taymans <wim@fluendo.com>
6608 * gst/gstbin.c: (bin_bus_handler):
6609 Be a bit more conservative about the posted message.
6611 * gst/gstbus.c: (gst_bus_post):
6612 Some cleanups, warn wrong return values.
6614 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
6616 * check/gst/gstbin.c: (GST_START_TEST):
6617 * gst/gstbin.c: (bin_bus_handler):
6618 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
6619 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
6620 (gst_message_new_warning), (gst_message_new_tag),
6621 (gst_message_new_state_changed), (gst_message_new_segment_start),
6622 (gst_message_new_segment_done), (gst_message_new_custom):
6624 * tools/gst-launch.c: (event_loop):
6625 * tools/gst-md5sum.c: (event_loop):
6626 Revert unpopular change for GST_MESSAGE_SRC to GObject.
6628 2005-08-25 Wim Taymans <wim@fluendo.com>
6630 * check/generic/states.c: (GST_START_TEST):
6631 Cleanup can be done at the end.
6633 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
6634 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
6635 (gst_task_get_state), (gst_task_start), (gst_task_pause):
6636 Oh boy.. Thanks for finding this, Thomas.
6638 2005-08-25 Stefan Kost <ensonic@users.sf.net>
6640 * docs/gst/gstreamer.types:
6643 2005-08-25 Stefan Kost <ensonic@users.sf.net>
6645 * docs/gst/gstreamer-docs.sgml:
6646 * docs/gst/gstreamer-sections.txt:
6647 * docs/gst/tmpl/.cvsignore:
6649 * gst/gstiterator.c:
6651 * gst/registries/gstxmlregistry.h:
6652 added missing classes and symbols (123 more to go)
6653 removed removed symbols from section file
6654 fixed many doc-comments
6656 2005-08-24 Wim Taymans <wim@fluendo.com>
6658 * check/generic/states.c: (GST_START_TEST):
6659 Make sure all tasks are stopped.
6661 * check/gst/gstbin.c: (GST_START_TEST):
6662 Unref after usage for proper valgrinding.
6664 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
6665 Really wait for the task to stop before destroying the
6668 * gst/gstqueue.c: (gst_queue_sink_activate_push),
6669 (gst_queue_src_activate_push):
6670 Small cleanups. Don't stop the task when we did not start
6673 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
6674 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
6675 (gst_task_get_state), (gst_task_start), (gst_task_pause),
6678 Protect the stream lock with the object lock.
6679 Disallow setting the stream lock when running.
6680 Add cleanup_all to wait for the threadpool to finish.
6681 Remove code to autoallocate a mutex if none was provided.
6682 Add _join() to wait for a task to stop.
6683 Protect the thread pool with a global lock.
6685 2005-08-24 Wim Taymans <wim@fluendo.com>
6687 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6688 (gst_base_sink_get_times), (gst_base_sink_do_sync),
6689 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
6690 * gst/base/gstbasesink.h:
6691 Handle newsegment events correctly.
6692 Drop buffers out of the segment range.
6694 2005-08-22 Andy Wingo <wingo@pobox.com>
6696 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
6697 macro, implements an interface and gstimplementsinterface for a
6700 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
6702 * check/Makefile.am:
6703 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
6704 add a test that does a bunch of state changes on elements
6705 needs some fixing for valgrind
6706 * check/states/sinks.c: (gst_object_suite):
6709 add prototype for gst_caps_is_equal_fixed
6711 * gst/gstregistrypool.c:
6714 2005-08-24 Andy Wingo <wingo@pobox.com>
6716 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
6717 convert a negative value. Doesn't make much sense. Mostly this is
6718 here to force callers to ensure -1 maps to -1.
6720 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
6722 * docs/pwg/advanced-types.xml:
6723 Well done to Michael for catching my deliberate introduction
6724 of this spelling mistake.
6725 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
6727 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
6728 unlink pads before removing the element from the bin.
6730 2005-08-24 Andy Wingo <wingo@pobox.com>
6732 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
6733 the same thing as GST_DEBUG=*:4.
6734 (parse_debug_level, parse_debug_category): New helper parsers.
6736 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
6738 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6739 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
6740 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
6741 (gst_base_transform_buffer_alloc),
6742 (gst_base_transform_handle_buffer):
6743 use gboolean return values and pointers to size so we can use the
6744 full GST_BUFFER_SIZE range (guint) for buffer sizes
6745 use GstPadDirection for transform_caps
6746 * gst/base/gstbasetransform.h:
6747 rename get_size to get_unit_size since that's what it is
6748 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
6749 use GstPadDirection for transform_caps
6750 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6752 cleanup and debugging
6754 2005-08-24 Stefan Kost <ensonic@users.sf.net>
6756 * gst/gstelement.c: (gst_element_class_init),
6757 (gst_element_set_state), (activate_pads),
6758 (gst_element_save_thyself):
6759 * tools/gst-compprep.c: (main):
6760 * tools/gst-inspect.c: (print_element_properties_info):
6761 * tools/gst-xmlinspect.c: (print_element_properties):
6762 Fixed long standing mem-leak
6764 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
6766 * check/gst/gstbin.c: (GST_START_TEST):
6767 * gst/gstbin.c: (bin_bus_handler):
6768 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
6769 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
6770 (gst_message_new_warning), (gst_message_new_tag),
6771 (gst_message_new_state_changed), (gst_message_new_segment_start),
6772 (gst_message_new_segment_done), (gst_message_new_custom):
6774 * tools/gst-launch.c: (event_loop):
6775 * tools/gst-md5sum.c: (event_loop):
6776 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
6777 that applications can sensibly post custom messages with references
6778 to their own objects.
6780 2005-08-24 Andy Wingo <wingo@pobox.com>
6782 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
6785 2005-08-24 Wim Taymans <wim@fluendo.com>
6787 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6788 (gst_base_transform_transform_caps),
6789 (gst_base_transform_transform_size),
6790 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6791 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6792 (gst_base_transform_handle_buffer):
6793 * gst/base/gstbasetransform.h:
6794 Many fixes and new features added by Thomas. Can now also do
6795 transforms with variable sizes and a custom fixate_caps function.
6797 2005-08-24 Wim Taymans <wim@fluendo.com>
6799 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6803 Cast to ClockTime before formatting to time.
6808 2005-08-24 Stefan Kost <ensonic@users.sf.net>
6810 * check/gst-libs/controller.c: (GST_START_TEST),
6811 (gst_controller_suite):
6812 * docs/gst/tmpl/gstcaps.sgml:
6813 * docs/gst/tmpl/gstghostpad.sgml:
6814 * docs/gst/tmpl/gstquery.sgml:
6815 * docs/gst/tmpl/gstutils.sgml:
6816 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
6817 (gst_object_sink_values), (gst_object_get_value_arrays),
6818 (gst_object_get_value_array):
6819 gracefully handle helper method calls to objects that are not beeing
6820 controlled, added test case for that
6822 2005-08-23 Wim Taymans <wim@fluendo.com>
6824 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
6825 (gst_event_new_newsegment), (gst_event_parse_newsegment),
6826 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
6827 (gst_event_parse_qos), (gst_event_new_seek),
6828 (gst_event_parse_seek):
6830 Some more debugging output and doc cleanups.
6832 * gst/gstqueue.c: (gst_queue_handle_sink_event):
6833 Fix possible deadlock.
6835 2005-08-23 Stefan Kost <ensonic@users.sf.net>
6837 * docs/gst/gstreamer-docs.sgml:
6838 * docs/gst/gstreamer-sections.txt:
6839 * docs/gst/gstreamer.types:
6840 * docs/gst/tmpl/.cvsignore:
6845 added 100 symbols from gstreamer-unused.txt to the right sections
6846 fixed more broken comments
6847 added GstBus to docs
6849 2005-08-23 Stefan Kost <ensonic@users.sf.net>
6851 * docs/gst/gstreamer-sections.txt:
6852 * docs/gst/tmpl/.cvsignore:
6853 * docs/gst/tmpl/gstbin.sgml:
6854 * docs/gst/tmpl/gstbuffer.sgml:
6855 * gst/base/gstbasesrc.c:
6856 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
6859 * tools/gst-launch.1.in:
6860 inlined more doc comments, added missing comments and fixed comments
6863 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
6865 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6869 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
6871 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
6872 * gst/gststructure.h:
6873 add a fixate function for booleans; add a FIXME that these func
6874 names should probably be gst_structure_fixate_*
6876 2005-08-23 Stefan Kost <ensonic@users.sf.net>
6878 * docs/gst/gstreamer-docs.sgml:
6879 * docs/gst/gstreamer-sections.txt:
6881 * gst/gstbin.c: (gst_bin_get_type),
6882 (gst_bin_child_proxy_get_child_by_index),
6883 (gst_bin_child_proxy_get_children_count),
6884 (gst_bin_child_proxy_init):
6885 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
6886 (gst_child_proxy_get_child_by_index),
6887 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
6888 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
6889 (gst_child_proxy_get), (gst_child_proxy_set_property),
6890 (gst_child_proxy_set_valist), (gst_child_proxy_set),
6891 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
6892 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
6893 * gst/gstchildproxy.h:
6894 * gst/parse/grammar.y:
6895 * tools/gst-inspect.c: (print_interfaces),
6896 (print_element_properties_info), (print_element_info):
6897 ported gstchildproxy over from 0.8
6898 ported gst-inspect fixes and enhancements over from 0.8
6900 2005-08-22 Wim Taymans <wim@fluendo.com>
6902 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6903 (gst_base_transform_handle_buffer):
6904 Also call the transform function if we have ANY caps.
6906 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
6909 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
6911 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
6912 Don't pretend to handle seek events if the source is not seekable
6914 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
6916 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6917 Remove extra parameter to debug output
6919 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6920 (gst_base_src_do_seek), (gst_base_src_activate_push):
6921 Fix seek event handling.
6923 * gst/gstpipeline.c: (gst_pipeline_change_state):
6924 * gst/gstqueue.c: (gst_queue_handle_sink_event),
6925 (gst_queue_src_activate_push):
6926 Don't start the src pad task on FLUSH_STOP if the pad
6930 2005-08-22 Wim Taymans <wim@fluendo.com>
6932 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6933 Added check for gst_static_caps_get() refcounting.
6935 2005-08-22 Wim Taymans <wim@fluendo.com>
6937 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
6938 Make _static_caps_get() refcounting sane.
6940 * gst/gstelement.c: (gst_element_set_state):
6941 Add g_return_val_if_fail() to protect against segfaults.
6943 2005-08-22 Stefan Kost <ensonic@users.sf.net>
6945 * docs/gst/tmpl/gstevent.sgml:
6948 inlined remaining docs, added missing doc comments
6950 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
6952 * check/gst/gstbin.c: (GST_START_TEST):
6953 since we don't know when preroll is done, use refcount range
6955 * gst/check/gstcheck.h:
6956 add macro for checking refcount range
6958 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
6960 * check/Makefile.am:
6961 clean up environment for when registry gets built versus
6962 when actual tests are run; valgrind seems to not report
6963 leaks if GST_PLUGIN_PATH is set to some specific values
6964 * check/gst/gstbin.c: (GST_START_TEST):
6965 add more refcounting checks; maybe this exposes a
6968 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6969 * gst/check/gstcheck.h:
6970 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
6971 (gst_bin_change_state):
6972 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
6973 add/fix debugging/whitespace
6975 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
6977 * check/gst/gstevent.c: (event_probe), (test_event),
6979 Er, don't call gst_bin_watch_for_state_change you idiot.
6981 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
6983 * check/Makefile.am:
6984 Use CHECK_CFLAGS and CHECK_LIBS
6985 * check/gst/gstevent.c: (event_probe), (test_event),
6988 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6989 (gst_base_src_start), (gst_base_src_stop),
6990 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6991 (gst_base_src_change_state):
6992 Sprinkle gst_base_src_stop liberally around error paths to fix
6993 problems reusing a source after failed state changes.
6994 * gst/base/gsttypefindhelper.c: (helper_find_peek),
6995 (helper_find_suggest), (gst_type_find_helper):
6996 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
6998 * docs/gst/tmpl/gstevent.sgml:
6999 Migrate part of the docs from the SGML file. Wait for ensonic to
7000 tell me how I did it wrong ;)
7001 * tools/gst-typefind.c: (main):
7002 Extra robustness to state changes between files.
7004 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
7006 * check/Makefile.am:
7007 don't valgrind the controller test - it's leaking - Stefan, HELP
7008 * gst/check/gstcheck.c: (gst_check_message_error),
7009 (gst_check_chain_func), (gst_check_setup_element),
7010 (gst_check_teardown_element), (gst_check_setup_src_pad),
7011 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
7012 (gst_check_teardown_sink_pad):
7013 * gst/check/gstcheck.h:
7014 add a bunch of methods to set up elements, and src and sink pads
7015 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
7016 * check/elements/identity.c: (setup_identity), (cleanup_identity),
7021 whitespace/doc fixes
7023 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7026 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
7027 be handled by the application and not always printed as well
7029 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7031 * check/Makefile.am:
7033 * gst/check/gstcheck.c: (gst_check_message_error):
7034 * gst/check/gstcheck.h:
7035 add a fail_unless_equals_int
7036 add fail_unless for error messages
7038 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7040 * check/Makefile.am:
7042 * common/Makefile.am:
7045 factor out some of the common stuff so we can use it
7047 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7049 * check/Makefile.am:
7050 * check/gst/gstiterator.c: (GST_START_TEST):
7051 * check/gst/gstsystemclock.c: (GST_START_TEST),
7052 (gst_systemclock_suite):
7053 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7057 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7059 * check/elements/.cvsignore:
7060 * check/elements/gstfakesrc.c:
7061 rename to name of element
7062 * check/elements/identity.c: (chain_func), (event_func),
7063 (setup_identity), (cleanup_identity), (GST_START_TEST),
7064 (identity_suite), (main):
7065 add a test for identity
7066 * check/Makefile.am:
7067 * pkgconfig/Makefile.am:
7068 * pkgconfig/gstreamer-check.pc.in:
7069 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7073 move the check stuff to a library that gets installed
7074 * check/gst-libs/controller.c: (GST_START_TEST):
7075 * check/gst-libs/gdp.c:
7076 * check/gst/gst.c: (GST_START_TEST):
7077 * check/gst/gstbin.c:
7078 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7079 * check/gst/gstbus.c:
7080 * check/gst/gstcaps.c: (GST_START_TEST):
7081 * check/gst/gstelement.c:
7082 * check/gst/gstghostpad.c:
7083 * check/gst/gstiterator.c:
7084 * check/gst/gstmessage.c:
7085 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
7086 * check/gst/gstobject.c:
7087 * check/gst/gstpad.c: (GST_START_TEST):
7088 * check/gst/gststructure.c: (GST_START_TEST):
7089 * check/gst/gstsystemclock.c: (GST_START_TEST),
7090 (gst_systemclock_suite):
7091 * check/gst/gsttag.c: (gst_tag_suite):
7092 * check/gst/gstvalue.c:
7093 * check/pipelines/cleanup.c:
7094 * check/pipelines/simple_launch_lines.c:
7095 * check/states/sinks.c:
7096 change include statement
7098 * docs/gst/gstreamer-sections.txt:
7099 * docs/gst/tmpl/gstpad.sgml:
7100 document more pad stuff
7101 * gst/gstminiobject.c: (gst_mini_object_ref),
7102 (gst_mini_object_unref):
7105 2005-08-19 Stefan Kost <ensonic@users.sf.net>
7107 * docs/gst/tmpl/gst.sgml:
7109 eliminate another tmpl file, fix spelling in the long-description
7111 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7113 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7114 (test_event), (timediff), (gstevents_suite):
7115 Should fix build on 64-bit arch's
7117 2005-08-18 Andy Wingo <wingo@pobox.com>
7119 Make sure that when a pipeline goes to PLAYING, that data has
7120 actually hit the sink.
7122 * check/states/sinks.c (test_sink): A sink that doesn't get any
7123 data shouldn't return SUCCESS for going to either PLAYING or
7124 PAUSED. Test also the return values on the way back down.
7126 * gst/gstelement.c (gst_element_set_state): When changing the
7127 state of an element currently changing state asynchronously, go to
7128 lost-state after commiting the pending state. Makes future calls
7129 to get_state continue to return ASYNC.
7131 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
7132 ASYNC when going to PLAYING if we still don't have preroll, as can
7133 happen with live sources.
7135 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7137 * docs/pwg/advanced-types.xml:
7138 Hack long paragraph into 2 chunks as a workaround for buggy
7139 jadetex version in sid and breezy that loops infinitely and
7142 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7144 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7145 (test_event), (timediff), (gstevents_suite):
7146 Provide more error margin in clock measurements to allow for
7147 g_get_current_time inaccuracies.
7149 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7151 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7152 (test_event), (timediff), (gstevents_suite):
7153 Fix error message output so I might be able to tell why the
7154 test works here but fails on the build farm.
7156 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7158 * check/Makefile.am:
7159 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7160 (test_event), (timediff), (gstevents_suite), (main):
7163 * docs/design/part-seeking.txt:
7166 * docs/gst/tmpl/gstevent.sgml:
7167 * docs/gst/tmpl/gstfakesrc.sgml:
7170 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7171 Treat a buffer-without-newsegment the same as a receiving
7172 a newsegment not in time format, and disable syncing to the clock
7175 * gst/gstbus.c: (gst_bus_set_sync_handler):
7176 Assert if anyone tries to replace the existing sync_handler for bus,
7177 as only the owner should be setting it.
7180 Have a fixed set of custom event enums with events identified by
7181 their structure name (as in 0.8), rather than a free-for-all
7182 allowing collisions between enum values from different plugins.
7184 * gst/gstpad.c: (gst_pad_class_init):
7187 * gst/gstqueue.c: (gst_queue_handle_sink_event):
7188 Handle out-of-band downstream events from the sending thread.
7190 2005-08-17 Andy Wingo <wingo@pobox.com>
7192 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
7193 play-timeout==0 to mean no timeout at all. In that case, don't
7194 bother with a get_state or a warning, just return directly, even
7197 * gst/base/gstbasetransform.c: Debug changes.
7200 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
7201 ensure bins post state change messages. A bit of a hack but I can't
7202 think of a way to avoid it.
7204 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
7206 2005-08-16 Andy Wingo <wingo@pobox.com>
7208 * gst/base/gstadapter.h:
7209 * gst/base/gstadapter.c (gst_adapter_take): New function, like
7210 peek() but you own the data. Not terribly efficient atm.
7212 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7214 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
7215 (gst_element_found_tags):
7217 Add two utility functions for tag handling.
7219 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7221 * docs/manual/advanced-dataaccess.xml:
7222 * docs/manual/basics-helloworld.xml:
7223 Fix docs to use _bin_add() before _link(), which fixes the examples
7224 with recent core versions (reported by Madhan Raj M
7225 <raj_madan@rediffmail.com>, #313199).
7227 2005-08-16 Wim Taymans <wim@fluendo.com>
7229 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7230 Added subtract checks.
7232 * docs/design/part-events.txt:
7233 Some more docs about newsegment
7235 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
7238 * gst/gstcaps.c: (gst_caps_to_string):
7239 Add comments, cleanups.
7241 * gst/gstelement.c: (gst_element_save_thyself):
7244 * gst/gstvalue.c: (gst_value_collect_int_range),
7245 (gst_string_unwrap), (gst_value_union_int_int_range),
7246 (gst_value_union_int_range_int_range),
7247 (gst_value_intersect_int_int_range),
7248 (gst_value_intersect_int_range_int_range),
7249 (gst_value_intersect_double_double_range),
7250 (gst_value_intersect_double_range_double_range),
7251 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
7252 (gst_value_subtract_int_range_int),
7253 (gst_value_subtract_double_range_double),
7254 (gst_value_subtract_double_range_double_range),
7255 (gst_value_subtract_from_list), (gst_value_subtract_list),
7256 (gst_value_can_compare), (gst_value_compare_fraction):
7257 Cleanups, add comments, remove unneeded asserts.
7259 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
7261 * tools/gst-launch.c: (event_loop):
7262 don't convert NULL structures to strings
7264 2005-08-15 Stefan Kost <ensonic@users.sf.net>
7266 * docs/gst/gstreamer-sections.txt:
7267 made some defines private
7268 * docs/gst/tmpl/gstconfig.sgml:
7269 * docs/gst/tmpl/gstqueue.sgml:
7270 * docs/gst/tmpl/gsttaglist.sgml:
7271 * docs/gst/tmpl/gsttypes.sgml:
7272 * docs/gst/tmpl/gstutils.sgml:
7273 * docs/pwg/appendix-porting.xml:
7274 * gst/base/gstbasesink.h:
7275 * gst/base/gstbasesrc.c:
7276 * gst/base/gstbasesrc.h:
7277 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
7278 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
7279 * gst/gstelement.c: (gst_element_class_init):
7280 * gst/gstpad.c: (gst_pad_class_init):
7281 * gst/gstqueue.c: (gst_queue_class_init):
7282 * gst/gstxml.c: (gst_xml_class_init):
7283 documented all undocumented signal inline
7284 * libs/gst/controller/gst-controller.h:
7287 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7289 * docs/pwg/appendix-porting.xml:
7290 Document _set_link_function -> _set_setcaps_function.
7292 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
7294 * check/Makefile.am:
7295 add a .check target for running the check
7296 * check/gst-libs/controller.c: (GST_START_TEST):
7298 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7299 complete checks for gstbuffer; would be nice if I could get the
7300 gcov stuff to work so I can see if I actually completed gstbuffer.c
7302 add ASSERT_BUFFER_REFCOUNT
7304 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
7306 * docs/gst/gstreamer-sections.txt:
7307 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
7309 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
7310 spew out a warning if a tag that is already registered
7311 is re-registered, unless it is re-registered with a
7312 different type (#308438).
7314 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
7316 * docs/pwg/appendix-porting.xml:
7317 * docs/pwg/building-state.xml:
7318 Add some paragraphs about state changes in 0.9 to the PWG
7319 and the porting guide, in particular about the new meaning
7320 of GST_STATE_PAUSED and how to write state change functions
7321 with concurrent access by multiple threads in mind.
7323 2005-08-11 Stefan Kost <ensonic@users.sf.net>
7325 * docs/gst/gstreamer-docs.sgml:
7326 * docs/libs/gstreamer-libs-docs.sgml:
7327 added deprecation and since indexes
7328 * libs/gst/controller/gst-controller.c:
7329 * libs/gst/controller/gst-helper.c:
7333 2005-08-11 Wim Taymans <wim@fluendo.com>
7335 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
7336 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
7337 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
7338 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
7339 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
7340 (gst_ghost_pad_set_target):
7341 Actually implement (re)setting the target on a ghostpad
7342 as described in the docs.
7344 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
7346 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
7347 Check whether GST_DEBUG_NO_COLOR environment variable is
7348 set and disable coloured debug output if that is the case.
7350 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
7352 * gst/base/gsttypefindhelper.c: (helper_find_peek),
7353 (gst_type_find_helper):
7354 The memory returned by gst_type_find_peek() needs to
7355 stay valid until the end of a typefind function, and
7356 typefind functions may keep results from different
7357 offsets around, so we can't just unref the buffer from
7358 the previous _peek(), but have to save all buffers
7359 returned by _peek() until typefinding is done and only
7362 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
7364 * docs/gst/gstreamer-sections.txt:
7366 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
7368 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7370 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
7371 Fix a pretty good memleak.
7373 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
7375 * gst/gstiterator.h:
7376 Fix wrong include and 'make distcheck'.
7378 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7380 * gst/gstbin.c: (bin_bus_handler):
7381 Use gst_element_post_message() instead.
7383 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
7385 * gst/base/gstadapter.h:
7386 * gst/base/gstbasesink.h:
7387 * gst/base/gstbasesrc.h:
7388 * gst/base/gstbasetransform.h:
7389 * gst/base/gstcollectpads.h:
7390 * gst/base/gstpushsrc.h:
7391 * gst/gstiterator.h:
7392 Add padding to our base elements' class and instance structs and
7393 to GstIterator (you will need to rebuild all plugins and apps!)
7395 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7397 * gst/gstbin.c: (bin_bus_handler):
7398 Make default message forwarding from child->bus to bin->bus
7399 threadsafe and make it not emit warnings if the parent has no bus.
7401 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7403 * gst/gstelement.c: (activate_pads):
7404 On paused->ready, set pad->caps to NULL, as is the documented
7405 behaviour in this state change. Fixes playback of series of
7406 media files when visualization is enabled in Totem.
7408 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7410 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
7411 Allow NULL as filter-caps (which means "any").
7413 2005-08-05 Stefan Kost <ensonic@users.sf.net>
7415 * docs/libs/gstreamer-libs-sections.txt:
7416 * libs/gst/controller/gst-controller.c:
7417 * libs/gst/controller/gst-controller.h:
7418 * libs/gst/controller/gst-helper.c:
7419 adding more entries to the docs and fix small doc-bugs
7421 2005-08-05 Stefan Kost <ensonic@users.sf.net>
7423 * docs/gst/gstreamer-docs.sgml:
7424 * docs/gst/gstreamer-sections.txt:
7425 * docs/gst/gstreamer.types:
7426 * docs/gst/tmpl/gstbasesink.sgml:
7427 * docs/gst/tmpl/gstbasesrc.sgml:
7428 * docs/gst/tmpl/gstbasetransform.sgml:
7429 * docs/gst/tmpl/gstfakesrc.sgml:
7430 * gst/base/gstcollectpads.c:
7431 * gst/base/gstcollectpads.h:
7432 * libs/gst/controller/gst-controller.c:
7433 * libs/gst/controller/gst-controller.h:
7434 * libs/gst/controller/gst-helper.c:
7435 * libs/gst/controller/gst-interpolation.c:
7436 * libs/gst/controller/lib.c:
7437 added long/short desc for controller docs
7438 added collectpads base class docs
7439 added correct includes to base-class docs
7441 2005-08-05 Stefan Kost <ensonic@users.sf.net>
7443 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
7444 (gst_test_mono_source_set_property),
7445 (gst_test_mono_source_class_init), (GST_START_TEST),
7446 (gst_controller_suite):
7447 * docs/gst/gstreamer-docs.sgml:
7448 * docs/gst/gstreamer-sections.txt:
7449 * docs/gst/gstreamer.types:
7450 * docs/libs/gstreamer-libs-docs.sgml:
7451 * docs/libs/gstreamer-libs-sections.txt:
7452 * gst/base/gstadapter.c:
7453 * libs/gst/controller/gst-controller.c:
7454 (gst_controlled_property_new), (gst_controlled_property_free),
7455 (gst_controller_new_valist),
7456 (gst_controller_remove_properties_valist),
7457 (gst_controller_sink_values), (_gst_controller_finalize):
7458 * libs/gst/controller/gst-controller.h:
7459 * libs/gst/controller/gst-helper.c:
7460 (gst_object_control_properties), (gst_object_uncontrol_properties),
7461 (gst_object_get_controller), (gst_object_set_controller),
7462 (gst_object_sink_values), (gst_object_get_value_arrays),
7463 (gst_object_get_value_array):
7464 more tests (and fixes) for the controller
7465 more docs for the controller
7466 integrated companies docs for the adapter
7468 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
7470 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
7471 (GST_START_TEST), (fakesrc_suite):
7472 add tests for sizetype
7474 2005-08-04 Andy Wingo <wingo@pobox.com>
7476 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
7477 fixes buffer_alloc proxying among other things.
7479 * gst/base/gstbasetransform.c:
7480 * gst/base/gstbasetransform.h:
7481 Revert patch to gstbasetransform from 7-28 removing
7484 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
7485 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
7486 Semantics changed, should return not the size of the output buffer
7487 but the byte size of a buffer with a given caps.
7489 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
7491 (gst_base_transform_configure_caps): Don't set out_size here: (in,
7492 out) are not the pad caps until setcaps finishes.
7493 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
7494 not-in-place case as well. Deal with changing from in-place to
7495 not-in-place within calling pad_alloc_buffer. Still a bit
7496 concerned about the overhead here...
7498 2005-08-03 Andy Wingo <wingo@pobox.com>
7500 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
7501 fixating is an error.
7503 2005-08-04 Edward Hervey <edward@fluendo.com>
7505 * gst/base/gstadapter.h:
7506 Added gst_adapter_get_type() to the header
7508 2005-08-03 Stefan Kost <ensonic@users.sf.net>
7510 * check/Makefile.am:
7511 * check/gst-libs/controller.c:
7512 * libs/gst/controller/gst-controller.c:
7513 (gst_controller_new_valist):
7514 added check test suite for the controller
7515 * gst/base/gstpushsrc.c:
7518 2005-08-03 Stefan Kost <ensonic@users.sf.net>
7520 * docs/gst/Makefile.am:
7521 * docs/gst/gstreamer-docs.sgml:
7522 * docs/gst/gstreamer-sections.txt:
7523 * docs/gst/gstreamer.types:
7524 * docs/gst/tmpl/gstfakesrc.sgml:
7526 * gst/base/gstbasesink.c:
7527 * gst/base/gstbasesink.h:
7528 * gst/base/gstbasesrc.c:
7529 * gst/base/gstbasesrc.h:
7530 * gst/base/gstbasetransform.c:
7531 * gst/base/gstpushsrc.c:
7532 * gst/base/gstpushsrc.h:
7533 add short/long description docs to base classes
7534 add pushsrc to the docs
7535 remove consolidated doc fragments
7537 2005-08-03 Stefan Kost <ensonic@users.sf.net>
7540 * docs/libs/Makefile.am:
7541 * docs/libs/gstreamer-libs-docs.sgml:
7542 * docs/libs/gstreamer-libs-sections.txt:
7543 * docs/libs/gstreamer-libs.types:
7544 * examples/Makefile.am:
7545 * examples/controller/.cvsignore:
7546 * examples/controller/Makefile.am:
7547 * examples/controller/audio-example.c: (main):
7548 * libs/gst/Makefile.am:
7549 * libs/gst/controller/.cvsignore:
7550 * libs/gst/controller/Makefile.am:
7551 * libs/gst/controller/gst-controller.c:
7552 (on_object_controlled_property_changed), (gst_timed_value_compare),
7553 (gst_timed_value_find),
7554 (gst_controlled_property_set_interpolation_mode),
7555 (gst_controlled_property_new), (gst_controlled_property_free),
7556 (gst_controller_find_controlled_property),
7557 (gst_controller_new_valist), (gst_controller_new),
7558 (gst_controller_remove_properties_valist),
7559 (gst_controller_remove_properties), (gst_controller_set),
7560 (gst_controller_set_from_list), (gst_controller_unset),
7561 (gst_controller_get), (gst_controller_get_all),
7562 (gst_controller_sink_values), (gst_controller_get_value_arrays),
7563 (gst_controller_get_value_array),
7564 (gst_controller_set_interpolation_mode),
7565 (_gst_controller_finalize), (_gst_controller_init),
7566 (_gst_controller_class_init), (gst_controller_get_type):
7567 * libs/gst/controller/gst-controller.h:
7568 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
7569 (g_object_uncontrol_properties), (g_object_get_controller),
7570 (g_object_set_controller), (g_object_sink_values),
7571 (g_object_get_value_arrays), (g_object_get_value_array):
7572 * libs/gst/controller/gst-interpolation.c:
7573 (gst_controlled_property_find_timed_value_node),
7574 (interpolate_none_get), (interpolate_trigger_get),
7575 (interpolate_trigger_get_value_array):
7576 * libs/gst/controller/lib.c: (gst_controller_init):
7577 * pkgconfig/Makefile.am:
7578 * pkgconfig/gstreamer-control-uninstalled.pc.in:
7579 * pkgconfig/gstreamer-control.pc.in:
7580 * testsuite/Makefile.am:
7581 * testsuite/controller/.cvsignore:
7582 * testsuite/controller/Makefile.am:
7583 * testsuite/controller/interpolator.c: (main):
7584 added controller code
7585 removed dparam pc files
7587 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
7588 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
7589 (gst_collectpads_stop):
7590 Broadcast the condition when shutting down, to make sure we wake all
7591 threads up. Shut down pads on finalize, for safety.
7593 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
7594 * gst/base/gstbasetransform.c: (gst_base_transform_init),
7595 (gst_base_transform_handle_buffer),
7596 (gst_base_transform_change_state):
7597 Handle PAUSED->READY->PAUSED transition after negotiation
7599 * gst/gstmessage.c: (gst_message_init):
7600 Extra piece of debug for new messages.
7602 2005-08-01 Stefan Kost <ensonic@users.sf.net>
7605 * docs/gst/tmpl/gstbasesrc.sgml:
7606 * docs/gst/tmpl/gstelement.sgml:
7607 * docs/gst/tmpl/gstevent.sgml:
7608 * docs/gst/tmpl/gstfakesrc.sgml:
7609 * docs/gst/tmpl/gstformat.sgml:
7610 * docs/gst/tmpl/gstghostpad.sgml:
7611 * docs/gst/tmpl/gstpad.sgml:
7612 * docs/gst/tmpl/gstquery.sgml:
7613 * docs/gst/tmpl/gststructure.sgml:
7614 * docs/gst/tmpl/gsttaglist.sgml:
7615 * docs/gst/tmpl/gstvalue.sgml:
7616 * docs/libs/gstreamer-libs-docs.sgml:
7617 * docs/libs/gstreamer-libs-sections.txt:
7618 * docs/libs/gstreamer-libs.types:
7619 * libs/gst/Makefile.am:
7620 * libs/gst/control/.cvsignore:
7621 * libs/gst/control/Makefile.am:
7622 * libs/gst/control/control.c:
7623 * libs/gst/control/control.h:
7624 * libs/gst/control/dparam.c:
7625 * libs/gst/control/dparam.h:
7626 * libs/gst/control/dparam_smooth.c:
7627 * libs/gst/control/dparam_smooth.h:
7628 * libs/gst/control/dparamcommon.h:
7629 * libs/gst/control/dparammanager.c:
7630 * libs/gst/control/dparammanager.h:
7631 * libs/gst/control/dplinearinterp.c:
7632 * libs/gst/control/dplinearinterp.h:
7633 * libs/gst/control/unitconvert.c:
7634 * libs/gst/control/unitconvert.h:
7635 * testsuite/Makefile.am:
7636 * testsuite/dynparams/.cvsignore:
7637 * testsuite/dynparams/Makefile.am:
7638 * testsuite/dynparams/dparamstest.c:
7639 * tools/Makefile.am:
7640 * tools/gst-inspect.c: (print_element_info), (main):
7641 * tools/gst-xmlinspect.c: (print_element_info), (main):
7642 deactivate and remove dparams (libgstcontrol)
7644 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
7646 * gst/elements/gsttypefindelement.c:
7647 (gst_type_find_element_have_type), (gst_type_find_element_init),
7648 (stop_typefinding), (gst_type_find_element_handle_event),
7649 (gst_type_find_element_chain), (gst_type_find_element_getrange):
7650 * gst/elements/gsttypefindelement.h:
7651 Set caps on all outgoing buffers, not just the first one.
7653 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
7655 * gst/elements/gsttypefindelement.c:
7656 (gst_type_find_element_have_type),
7657 (gst_type_find_element_check_set_buffer_caps),
7658 (gst_type_find_element_init), (stop_typefinding),
7659 (gst_type_find_element_handle_event),
7660 (gst_type_find_element_chain), (gst_type_find_element_getrange):
7661 * gst/elements/gsttypefindelement.h:
7662 Set caps on first outgoing buffer when we've found the type.
7664 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
7666 * docs/gst/gstreamer-docs.sgml:
7667 * docs/gst/gstreamer-sections.txt:
7668 * docs/gst/tmpl/gstscheduler.sgml:
7669 * docs/gst/tmpl/gstschedulerfactory.sgml:
7670 Remove some old cruft from docs.
7672 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
7675 Fix inline docs for GstPadLinkReturn.
7677 * gst/gststructure.c: (gst_structure_has_name):
7678 * gst/gststructure.h:
7679 * docs/gst/gstreamer-sections.txt:
7680 New API: gst_structure_has_name().
7682 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
7685 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
7686 and _LARGEFILE_SOURCE in config.h as required. Do not
7687 export those flags in our .pc files any longer (#142209).
7689 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
7691 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
7692 (gst_file_sink_do_seek), (gst_file_sink_event),
7693 (gst_file_sink_get_current_offset), (gst_file_sink_render):
7694 Redo seek/tell calls with large file support in mind; add some
7695 debugging messages; add log message that tells us when large
7696 file support is unavailable or not enabled for some reason.
7698 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
7699 Add log message that tells us when large file support
7700 is unavailable or not enabled for some reason.
7702 2005-07-29 Wim Taymans <wim@fluendo.com>
7704 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
7705 Added test for removing an element with ghostpad from a bin.
7706 Fixed test as current implementation does the right thing.
7708 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
7709 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
7710 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
7711 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
7712 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
7713 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
7714 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
7715 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7716 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
7717 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
7718 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
7719 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
7720 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7721 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
7722 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
7723 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
7724 * gst/gstghostpad.h:
7725 Clean up ghostpads, remove properties for internal stuff.
7728 Prepare for switching targets, not all use cases work yet.
7730 2005-07-29 Wim Taymans <wim@fluendo.com>
7732 * docs/design/part-gstghostpad.txt:
7735 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
7736 (gst_bin_remove_func):
7737 Unlinking pads while holding the bin LOCK is not a good
7740 * gst/gstpad.c: (gst_pad_class_init),
7741 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
7742 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
7743 No prob setting template after creating the pad.
7745 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
7747 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
7748 (gst_bus_peek), (gst_bus_source_dispatch),
7749 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
7750 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
7751 gst_bus_poll may be called from other threads. Handle
7752 this nicely by not making poll_data disappear off the
7753 stack once gst_bus_poll returns.
7754 gst_bus_peek now increments the refcount on the returned
7757 2005-07-29 Wim Taymans <wim@fluendo.com>
7759 * docs/design/part-gstghostpad.txt:
7760 Overview of current GhostPad datastructures and use
7761 cases for changing the target.
7763 2005-07-28 Wim Taymans <wim@fluendo.com>
7765 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7766 Added checks for hierarchy consistency whan adding linked
7769 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
7770 Added check to test element scheduling without bin/pipeline.
7772 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
7773 First add elements to bin, then link.
7775 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
7776 (gst_bin_remove_func):
7777 Unlink pads from elements added/removed from bin to maintain
7778 hierarchy consistency.
7780 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7782 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7783 (gst_base_transform_handle_buffer):
7784 * gst/base/gstbasetransform.h:
7785 Remove broken delay_configure (fixes renegotiation of software
7786 scaling pipelines); remove some leftover printf()s.
7788 2005-07-28 Wim Taymans <wim@fluendo.com>
7790 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
7791 Added some more tests for wrong hierarchy
7793 * docs/design/part-overview.txt:
7796 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
7799 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
7800 (gst_element_dispose):
7803 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
7804 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
7805 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7806 (gst_pad_set_caps), (gst_pad_send_event):
7807 Check for correct hierarchy when linking pads. Moving to
7808 strict requirement for ghostpads when linking elements in
7812 Clean ups. Added WRONG_HIERARCHY return value.
7814 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7816 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
7817 Better debug if no transform is possible.
7819 2005-07-27 Wim Taymans <wim@fluendo.com>
7821 * docs/random/wtay/network-transp:
7824 2005-07-27 Wim Taymans <wim@fluendo.com>
7826 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7827 (gst_dp_event_from_packet):
7828 Fix serialization of seek events.
7830 2005-07-27 Wim Taymans <wim@fluendo.com>
7832 * check/gst-libs/gdp.c: (GST_START_TEST):
7833 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
7834 Fix compilation and fix event serialization.
7836 2005-07-27 Wim Taymans <wim@fluendo.com>
7839 * docs/design/part-TODO.txt:
7840 * docs/design/part-events.txt:
7843 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7844 (gst_base_sink_event), (gst_base_sink_do_sync),
7845 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
7846 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7847 (gst_base_src_do_seek), (gst_base_src_event_handler),
7848 (gst_base_src_loop):
7849 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7850 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7851 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7852 (gst_base_transform_event), (gst_base_transform_handle_buffer),
7853 (gst_base_transform_set_passthrough),
7854 (gst_base_transform_is_passthrough):
7855 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
7856 * gst/elements/gstfilesink.c: (gst_file_sink_event):
7862 * gst/gstelement.c: (gst_element_seek):
7864 Update gst_element_seek.
7866 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
7867 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
7868 (gst_event_new_flush_start), (gst_event_new_flush_stop),
7869 (gst_event_new_eos), (gst_event_new_newsegment),
7870 (gst_event_parse_newsegment), (gst_event_new_tag),
7871 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
7872 (gst_event_parse_qos), (gst_event_new_seek),
7873 (gst_event_parse_seek), (gst_event_new_navigation):
7875 Make GstEvent use GstStructure. Add parsing code, make sure the
7876 API is sufficiently generic.
7877 Mark possible directions of events and serialization.
7879 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
7880 (_gst_message_copy), (gst_message_new_segment_start),
7881 (gst_message_new_segment_done), (gst_message_new_custom),
7882 (gst_message_parse_segment_start),
7883 (gst_message_parse_segment_done):
7886 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7887 (gst_pad_set_caps), (gst_pad_send_event):
7888 Update for new events.
7889 Catch events sent in wrong directions.
7891 * gst/gstqueue.c: (gst_queue_link_src),
7892 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
7893 (gst_queue_handle_src_query):
7898 Remove event code from this file.
7900 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7901 (gst_dp_event_from_packet):
7904 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7906 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
7907 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7908 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
7909 Make debugging actually useful.
7911 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7913 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
7914 (gst_pad_fixate_caps):
7915 Implement default fixation once again, so that gst_pad_fixate()
7916 actually does anything at all. This probably needs to be some
7917 sort of a last resort, and use profile-based fixation first, but
7918 since that doesn't exist yet, this is the best we have. Fixes
7919 visualization in Totem.
7921 2005-07-22 Wim Taymans <wim@fluendo.com>
7923 * docs/design/part-events.txt:
7926 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7927 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
7928 (gst_base_sink_activate_pull):
7931 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
7932 (gst_fake_src_create):
7933 Fix handoff marshall.
7935 * gst/elements/gstidentity.c: (gst_identity_class_init),
7936 (gst_identity_transform_ip):
7937 We're a real inplace element.
7939 * gst/gstbus.c: (gst_bus_post):
7940 Added some comments.
7942 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
7943 * tests/muxing/case1.c: (main):
7944 * tests/sched/dynamic-pipeline.c: (main):
7945 * tests/sched/interrupt1.c: (main):
7946 * tests/sched/interrupt2.c: (main):
7947 * tests/sched/interrupt3.c: (main):
7948 * tests/sched/runxml.c: (main):
7949 * tests/sched/sched-stress.c: (main):
7950 * tests/seeking/seeking1.c: (event_received), (main):
7951 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
7953 * tests/threadstate/threadstate3.c: (main):
7954 * tests/threadstate/threadstate4.c: (main):
7955 * tests/threadstate/threadstate5.c: (main):
7958 2005-07-21 Wim Taymans <wim@fluendo.com>
7960 * docs/design/part-seeking.txt:
7961 Some small additions.
7963 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7964 (gst_base_sink_get_times), (gst_base_sink_do_sync),
7965 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
7966 * gst/base/gstbasesink.h:
7967 discont values are gint64, handle the math correctly.
7969 * gst/base/gstbasesrc.c: (gst_base_src_loop):
7970 Make the basesrc report error if the source pad is not linked.
7972 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
7973 (gst_queue_loop), (gst_queue_handle_src_query),
7974 (gst_queue_src_activate_push):
7975 Make queue collect data even if the srcpad is not linked.
7976 Start pushing out data as soon as it is linked.
7978 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
7980 Added gst_flow_get_name() to ease error reporting.
7982 2005-07-20 Wim Taymans <wim@fluendo.com>
7984 * gst/gstmessage.c: (gst_message_new_segment_start),
7985 (gst_message_new_segment_done), (gst_message_parse_segment_start),
7986 (gst_message_parse_segment_done):
7988 Added a bunch of messages for advanced seeking.
7990 * gst/parse/grammar.y:
7991 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
7992 (gst_dpman_state_changed):
7993 Fix some new-pad -> pad-added signals
7995 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7997 * docs/manual/appendix-porting.xml:
7998 * docs/pwg/appendix-porting.xml:
7999 Document new-pad/state-change signal renames and the FixedList
8002 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8004 * docs/manual/advanced-autoplugging.xml:
8005 * docs/manual/basics-helloworld.xml:
8006 * docs/manual/basics-pads.xml:
8007 * docs/random/ds/0.9-suggested-changes:
8008 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
8013 * gst/gststructure.c: (gst_structure_value_get_generic_type),
8014 (gst_structure_parse_array), (gst_structure_parse_value):
8015 * gst/gstvalue.c: (gst_type_is_fixed),
8016 (gst_value_list_prepend_value), (gst_value_list_append_value),
8017 (gst_value_list_get_size), (gst_value_list_get_value),
8018 (gst_value_transform_array_string), (gst_value_serialize_array),
8019 (gst_value_deserialize_array), (gst_value_intersect_array),
8020 (gst_value_is_fixed), (_gst_value_initialize):
8022 GstElement::new-pad -> pad-added, GstElement::state-change ->
8023 state-changed, GstValueFixedList -> GstValueArray, add format and
8024 flags as their own arguments in gst_element_seek() (should improve
8025 "bindeability"), remove function generators since they don't work
8026 under a whole bunch of compilers (they were deprecated already
8029 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8031 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
8032 (_gst_debug_register_funcptr):
8034 Fix illegal cast on some platforms (#309253).
8036 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8038 * gst/gstmessage.c: (gst_message_new_custom):
8040 Add _new_custom, make _new_application a macro to _new_custom.
8042 2005-07-20 Wim Taymans <wim@fluendo.com>
8044 * gst/base/gstbasesrc.c: (gst_base_src_init),
8045 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
8046 * gst/base/gstbasesrc.h:
8047 Add a gboolean to decide when to push out a discont.
8049 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8050 (gst_queue_loop), (gst_queue_handle_src_query),
8051 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
8052 (gst_queue_set_property), (gst_queue_get_property):
8055 * tests/threadstate/threadstate1.c: (main):
8056 Make a thread test compile and run... very silly..
8059 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8061 * docs/manual/appendix-porting.xml:
8062 Mention removal of libgstgconf-0.9.la and existence of gconf
8065 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8067 * docs/pwg/advanced-clock.xml:
8068 * docs/pwg/appendix-porting.xml:
8069 * docs/pwg/intro-preface.xml:
8070 * docs/pwg/other-base.xml:
8071 * docs/pwg/other-manager.xml:
8072 * docs/pwg/other-nton.xml:
8073 * docs/pwg/other-ntoone.xml:
8074 * docs/pwg/other-oneton.xml:
8076 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
8077 demuxer), remove n-to-n (was never written), fix some code examples
8078 and links and update the porting section to include all this.
8080 2005-07-19 Wim Taymans <wim@fluendo.com>
8082 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
8083 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
8084 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
8085 (gst_queue_src_activate_push), (gst_queue_change_state),
8086 (gst_queue_get_property):
8088 Propagate GstFlowReturn more intelligently upstream and output
8089 an ERROR/EOS when streaming stopped due to fatal error.
8091 2005-07-19 Wim Taymans <wim@fluendo.com>
8093 * tools/gst-launch.c: (check_intr), (event_loop), (main):
8094 Don't block forever for the state change to complete, the
8095 pipeline already did with a sensible timeout.
8097 2005-07-19 Wim Taymans <wim@fluendo.com>
8099 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
8100 Make sure we never call the create function is we
8103 2005-07-19 Andy Wingo <wingo@pobox.com>
8105 * gst/parse/parse.l: Attempt to solve bug #172815.
8107 2005-07-19 Wim Taymans <wim@fluendo.com>
8109 * docs/design/part-clocks.txt:
8110 * docs/design/part-events.txt:
8111 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
8113 Only update the seeking values when we are not
8116 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
8118 * gst/base/gstbasesrc.c: (gst_base_src_loop):
8119 Oops, ignore the result of gst_pad_push_event here.
8121 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
8123 * gst/base/gstbasesrc.c: (gst_base_src_loop),
8124 (gst_base_src_activate_push):
8125 Send discont event from the loop function, as pads
8126 aren't activated yet in the activate_push handler.
8128 * gst/gstbin.c: (bin_bus_handler):
8129 Don't leak element name.
8131 2005-07-18 Andy Wingo <wingo@pobox.com>
8133 * configure.ac: Use AS_LIBTOOL_TAGS.
8135 2005-07-18 Wim Taymans <wim@fluendo.com>
8137 * docs/gst/gstreamer.types:
8138 Remove deleted types.
8140 2005-07-18 Wim Taymans <wim@fluendo.com>
8142 * check/elements/gstfakesrc.c: (GST_START_TEST):
8145 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
8146 (init_popt_callback):
8148 * gst/gst_private.h:
8149 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
8150 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
8153 * gst/gstconfig.h.in:
8154 * gst/gstelement.c: (gst_element_class_init),
8155 (gst_element_set_base_time), (gst_element_get_base_time),
8156 (iterator_fold_with_resync), (gst_element_change_state),
8157 (gst_element_dispose), (gst_element_get_bus):
8159 * gst/gstelementfactory.h:
8160 * gst/gsterror.c: (_gst_core_errors_init):
8163 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
8165 * gst/gstinfo.c: (_gst_debug_init):
8166 * gst/gstmessage.c: (_gst_message_copy):
8168 * gst/gstminiobject.h:
8171 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8172 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
8175 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
8176 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
8177 (gst_pipeline_get_last_stream_time):
8178 * gst/gstpipeline.h:
8179 * gst/gstpluginfeature.h:
8181 * gst/gstscheduler.c:
8182 * gst/gstscheduler.h:
8183 * gst/gststructure.h:
8184 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
8185 (gst_task_finalize), (gst_task_func), (gst_task_create),
8186 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
8187 (gst_task_stop), (gst_task_pause):
8189 * gst/gsttypefind.h:
8191 * gst/registries/gstlibxmlregistry.c: (load_feature),
8192 (gst_xml_registry_load), (gst_xml_registry_save_feature):
8193 * gst/registries/gstxmlregistry.c:
8194 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
8195 * gst/schedulers/threadscheduler.c:
8196 * libs/gst/control/dparammanager.h:
8197 * tools/gst-inspect.c: (print_element_list),
8198 (print_plugin_features), (print_element_features):
8199 * tools/gst-xmlinspect.c: (print_element_list),
8200 (print_plugin_info), (main):
8201 Removed plugable schedulers.
8202 Removed Scheduler/Manager from elements.
8203 Removed gsttypes.h, rearranged includes.
8204 Removed dependency pad<->element, element<>pipeline, and
8205 various others, fix includes.
8206 implement gst_pad_get_parent() with gst_object_get_parent()
8207 Make GstTask sefcontained.
8208 Fix _get_state() on GstBin, it did not return ASYNC with a 0
8210 Fix endless loop in iterator_fold_with_resync.
8213 2005-07-18 Wim Taymans <wim@fluendo.com>
8219 2005-07-18 Wim Taymans <wim@fluendo.com>
8224 2005-07-18 Wim Taymans <wim@fluendo.com>
8230 2005-07-18 Wim Taymans <wim@fluendo.com>
8232 * docs/design/part-dynamic.txt:
8233 * docs/design/part-events.txt:
8234 * docs/design/part-seeking.txt:
8235 Some more docs in the works.
8237 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8238 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
8239 (gst_base_transform_setcaps), (gst_base_transform_get_size),
8240 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
8241 (gst_base_transform_handle_buffer),
8242 (gst_base_transform_sink_activate_push),
8243 (gst_base_transform_src_activate_pull),
8244 (gst_base_transform_set_passthrough),
8245 (gst_base_transform_is_passthrough):
8248 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
8251 * gst/gstevent.c: (gst_event_finalize):
8254 * gst/gstutils.c: (gst_element_unlink),
8255 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
8256 (gst_pad_proxy_setcaps):
8258 Add _get_parent_element() to get a pads parent as an element.
8260 2005-07-18 Wim Taymans <wim@fluendo.com>
8262 * check/gst/gstbin.c: (GST_START_TEST):
8265 2005-07-18 Wim Taymans <wim@fluendo.com>
8267 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
8268 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
8269 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
8270 (gst_base_sink_event), (gst_base_sink_do_sync),
8271 (gst_base_sink_chain), (gst_base_sink_loop),
8272 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
8273 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
8275 Fix logic for returning ASYNC when not prerolled.
8277 2005-07-18 Wim Taymans <wim@fluendo.com>
8279 * gst/gstqueue.c: (gst_queue_handle_sink_event):
8280 Fix nasty refcount bug.
8282 2005-07-16 Philippe Khalaf <burger@speedy.org>
8284 * gst/elements/gstfdsrc.c:
8285 * gst/elements/gstfdsrc.h:
8286 * gst/elements/gstelements.c:
8287 * gst/elements/Makefile.am:
8288 Ported fdsrc to 0.9.
8290 2005-07-16 Wim Taymans <wim@fluendo.com>
8292 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8293 (gst_base_sink_do_sync):
8296 2005-07-16 Wim Taymans <wim@fluendo.com>
8298 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8299 (gst_base_sink_event), (gst_base_sink_get_times),
8300 (gst_base_sink_do_sync), (gst_base_sink_change_state):
8301 * gst/base/gstbasesink.h:
8302 Store and use discont values when syncing buffers as described
8305 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8306 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
8307 (gst_base_src_activate_push):
8308 Push discont event when starting.
8310 * gst/elements/gstidentity.c: (gst_identity_transform):
8313 * gst/gstbin.c: (gst_bin_change_state):
8314 Small cleanups in base_time distribution.
8316 * gst/gstelement.c: (gst_element_set_base_time),
8317 (gst_element_get_base_time), (gst_element_change_state):
8319 Added methods for the base_time of the element.
8322 * gst/gstpipeline.c: (gst_pipeline_send_event),
8323 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
8324 (gst_pipeline_get_last_stream_time):
8325 * gst/gstpipeline.h:
8327 Handle seeking as described in design doc, remove stream_time
8329 Cleanups clock and stream_time selection code. Added accessors
8330 for the stream_time.
8333 2005-07-16 Andy Wingo <wingo@pobox.com>
8335 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
8338 2005-07-16 Wim Taymans <wim@fluendo.com>
8340 * check/gst/gstbin.c: (GST_START_TEST):
8341 Make elements silent as the deep_notify refs the
8342 parent, which might make the test fail.
8344 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
8345 Don't hold the lock for too long.
8347 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
8349 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
8350 Don't unref the caps we passed to gst_caps_make_writable() after
8351 passing them. gst_caps_make_writable() will do that for us.
8353 2005-07-15 Andy Wingo <wingo@pobox.com>
8355 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
8358 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
8359 own marshalling function for the handoff signal. Properly type the
8360 buffer as a buffer. Fixes some warnings. Should do a more general
8362 (gst_identity_class_init): Plug into the right marshaller.
8364 2005-07-15 Wim Taymans <wim@fluendo.com>
8366 * docs/design/part-TODO.txt:
8367 * docs/design/part-clocks.txt:
8368 * docs/design/part-element-sink.txt:
8369 * docs/design/part-events.txt:
8370 * docs/design/part-gstpipeline.txt:
8371 Updated docs, mostly DISCONT related.
8373 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
8375 * docs/pwg/building-pads.xml:
8376 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
8378 2005-07-15 Andy Wingo <wingo@pobox.com>
8380 * tools/gst-typefind.c: Update, add copyright block.
8382 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
8383 Normalize and truncate caps before fixation.
8386 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
8387 discards all but the first structure from its argument.
8389 2005-07-15 Wim Taymans <wim@fluendo.com>
8391 * gst/base/gstbasetransform.c: (gst_base_transform_init),
8392 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
8393 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8394 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8395 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
8396 (gst_base_transform_chain), (gst_base_transform_change_state),
8397 (gst_base_transform_set_passthrough),
8398 (gst_base_transform_is_passthrough):
8399 * gst/base/gstbasetransform.h:
8400 Make passthrough work using the bufferpools.
8401 Changed API a bit, subclasses have to write into a buffer
8402 provided by the base class.
8403 More debug info in nego functions.
8405 * gst/elements/gstidentity.c: (gst_identity_init),
8406 (gst_identity_transform):
8407 Port to new base class.
8409 2005-07-15 Wim Taymans <wim@fluendo.com>
8411 * gst/gstmessage.c: (gst_message_new_state_changed):
8412 * tools/gst-launch.c: (event_loop), (main):
8413 Totally dump messages in -launch with the -m option.
8414 Fix message name for State messages,
8416 2005-07-14 Wim Taymans <wim@fluendo.com>
8418 * gst/base/gstbasesrc.c: (gst_base_src_loop):
8419 Post error messages on errors.
8421 2005-07-14 Wim Taymans <wim@fluendo.com>
8423 * gst/gstcaps.c: (gst_caps_do_simplify):
8427 Define error for stream stopped.
8429 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
8430 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
8431 Do proper return values.
8433 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8434 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
8435 (gst_pad_get_range):
8436 Better return values.
8439 Reorganise return values, add macro to check for fatal errors.
8441 * gst/gstqueue.c: (gst_queue_chain):
8442 Return proper GstFlowReturn values,
8444 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
8446 * docs/gst/gstreamer-sections.txt:
8447 * docs/gst/gstreamer.types:
8448 * docs/gst/tmpl/gst.sgml:
8449 * docs/gst/tmpl/gstbasesink.sgml:
8450 * docs/gst/tmpl/gstbasesrc.sgml:
8451 * docs/gst/tmpl/gstbasetransform.sgml:
8452 * docs/gst/tmpl/gstbin.sgml:
8453 * docs/gst/tmpl/gstbuffer.sgml:
8454 * docs/gst/tmpl/gstcaps.sgml:
8455 * docs/gst/tmpl/gstclock.sgml:
8456 * docs/gst/tmpl/gstcompat.sgml:
8457 * docs/gst/tmpl/gstconfig.sgml:
8458 * docs/gst/tmpl/gstelement.sgml:
8459 * docs/gst/tmpl/gstelementdetails.sgml:
8460 * docs/gst/tmpl/gstelementfactory.sgml:
8461 * docs/gst/tmpl/gstenumtypes.sgml:
8462 * docs/gst/tmpl/gsterror.sgml:
8463 * docs/gst/tmpl/gstevent.sgml:
8464 * docs/gst/tmpl/gstfakesink.sgml:
8465 * docs/gst/tmpl/gstfakesrc.sgml:
8466 * docs/gst/tmpl/gstfilesink.sgml:
8467 * docs/gst/tmpl/gstfilesrc.sgml:
8468 * docs/gst/tmpl/gstfilter.sgml:
8469 * docs/gst/tmpl/gstformat.sgml:
8470 * docs/gst/tmpl/gstghostpad.sgml:
8471 * docs/gst/tmpl/gstimplementsinterface.sgml:
8472 * docs/gst/tmpl/gstindex.sgml:
8473 * docs/gst/tmpl/gstindexfactory.sgml:
8474 * docs/gst/tmpl/gstinfo.sgml:
8475 * docs/gst/tmpl/gstiterator.sgml:
8476 * docs/gst/tmpl/gstmacros.sgml:
8477 * docs/gst/tmpl/gstmemchunk.sgml:
8478 * docs/gst/tmpl/gstminiobject.sgml:
8479 * docs/gst/tmpl/gstobject.sgml:
8480 * docs/gst/tmpl/gstpad.sgml:
8481 * docs/gst/tmpl/gstpadtemplate.sgml:
8482 * docs/gst/tmpl/gstparse.sgml:
8483 * docs/gst/tmpl/gstpipeline.sgml:
8484 * docs/gst/tmpl/gstplugin.sgml:
8485 * docs/gst/tmpl/gstpluginfeature.sgml:
8486 * docs/gst/tmpl/gstquery.sgml:
8487 * docs/gst/tmpl/gstqueue.sgml:
8488 * docs/gst/tmpl/gstregistry.sgml:
8489 * docs/gst/tmpl/gstregistrypool.sgml:
8490 * docs/gst/tmpl/gstscheduler.sgml:
8491 * docs/gst/tmpl/gstschedulerfactory.sgml:
8492 * docs/gst/tmpl/gststructure.sgml:
8493 * docs/gst/tmpl/gstsystemclock.sgml:
8494 * docs/gst/tmpl/gsttaglist.sgml:
8495 * docs/gst/tmpl/gsttagsetter.sgml:
8496 * docs/gst/tmpl/gsttrace.sgml:
8497 * docs/gst/tmpl/gsttrashstack.sgml:
8498 * docs/gst/tmpl/gsttypefind.sgml:
8499 * docs/gst/tmpl/gsttypefindfactory.sgml:
8500 * docs/gst/tmpl/gsttypes.sgml:
8501 * docs/gst/tmpl/gsturihandler.sgml:
8502 * docs/gst/tmpl/gsturitype.sgml:
8503 * docs/gst/tmpl/gstutils.sgml:
8504 * docs/gst/tmpl/gstvalue.sgml:
8505 * docs/gst/tmpl/gstversion.sgml:
8506 * docs/gst/tmpl/gstxml.sgml:
8507 * docs/libs/tmpl/gstcontrol.sgml:
8508 * docs/libs/tmpl/gstdataprotocol.sgml:
8509 * docs/libs/tmpl/gstdparam.sgml:
8510 * docs/libs/tmpl/gstdplinint.sgml:
8511 * docs/libs/tmpl/gstdpman.sgml:
8512 * docs/libs/tmpl/gstdpsmooth.sgml:
8513 * docs/libs/tmpl/gstgetbits.sgml:
8514 * docs/libs/tmpl/gstunitconvert.sgml:
8515 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
8516 (gst_push_src_base_init), (gst_push_src_class_init),
8517 (gst_push_src_init), (gst_push_src_create):
8518 * gst/base/gstpushsrc.h:
8519 * gst/elements/gstelements.c:
8520 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
8521 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
8522 (gst_fake_sink_init), (gst_fake_sink_set_property),
8523 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
8524 (gst_fake_sink_event), (gst_fake_sink_preroll),
8525 (gst_fake_sink_render), (gst_fake_sink_change_state):
8526 * gst/elements/gstfakesink.h:
8527 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
8528 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
8529 (gst_fake_src_base_init), (gst_fake_src_class_init),
8530 (gst_fake_src_init), (gst_fake_src_event_handler),
8531 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
8532 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
8533 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
8534 (gst_fake_src_create_buffer), (gst_fake_src_create),
8535 (gst_fake_src_start), (gst_fake_src_stop):
8536 * gst/elements/gstfakesrc.h:
8537 * gst/elements/gstfilesink.c: (_do_init),
8538 (gst_file_sink_base_init), (gst_file_sink_class_init),
8539 (gst_file_sink_init), (gst_file_sink_dispose),
8540 (gst_file_sink_set_location), (gst_file_sink_set_property),
8541 (gst_file_sink_get_property), (gst_file_sink_open_file),
8542 (gst_file_sink_close_file), (gst_file_sink_query),
8543 (gst_file_sink_event), (gst_file_sink_render),
8544 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
8545 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
8546 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
8547 * gst/elements/gstfilesink.h:
8548 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
8549 (gst_file_src_class_init), (gst_file_src_init),
8550 (gst_file_src_finalize), (gst_file_src_set_location),
8551 (gst_file_src_set_property), (gst_file_src_get_property),
8552 (gst_file_src_map_region), (gst_file_src_map_small_region),
8553 (gst_file_src_create_mmap), (gst_file_src_create_read),
8554 (gst_file_src_create), (gst_file_src_is_seekable),
8555 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
8556 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
8557 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
8558 (gst_file_src_uri_handler_init):
8559 * gst/elements/gstfilesrc.h:
8560 more autistic cleanliness in functions/names/defines
8562 2005-07-13 Andy Wingo <wingo@pobox.com>
8564 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
8565 source couldn't negotiate.
8567 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
8571 * gst/gstutils.c (gst_element_link_pads_filtered): New old
8572 function. I am channeling Hades. Put your boots on suckers!!!
8574 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
8576 * testsuite/caps/Makefile.am:
8577 * testsuite/caps/value_compare.c:
8578 * testsuite/caps/value_intersect.c:
8579 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8580 move two testsuite apps over to the check dir
8582 2005-07-12 Wim Taymans <wim@fluendo.com>
8584 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8585 Added more debug info in the negotiate process.
8588 Prepare for segment playback.
8590 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
8596 * tools/gst-launch.c: (main):
8597 NULL pipeline on errors.
8599 2005-07-12 Andy Wingo <wingo@pobox.com>
8601 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
8602 not it comes from a malloc region. Make sure our copy gets freed.
8604 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
8606 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
8607 * check/gst/gstmessage.c: (GST_START_TEST):
8608 * check/gst/gststructure.c: (GST_START_TEST),
8609 (gst_structure_suite), (main):
8611 * gst/gstelement.c: (gst_element_message_full):
8612 clean up GError and debug string now that they get copied
8613 * gst/gstmessage.c: (gst_message_new_error),
8614 (gst_message_new_warning), (gst_message_parse_error),
8615 (gst_message_parse_warning):
8616 use GST_TYPE_G_ERROR for structure_new, and take copies of
8617 arguments, so that we don't mess up refcounting
8619 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
8621 * check/Makefile.am:
8622 add per-test valgrind targets
8623 * check/gst-libs/gdp.c: (GST_START_TEST),
8624 (gst_data_protocol_suite), (main):
8627 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
8629 * check/Makefile.am:
8630 instate more valgrindable tests
8631 * check/elements/gstfakesrc.c: (chain_func), (event_func),
8632 (GST_START_TEST), (fakesrc_suite):
8633 * check/gst/gstpad.c: (GST_START_TEST):
8634 * check/gst/gststructure.c: (GST_START_TEST):
8636 * docs/gst/tmpl/gstminiobject.sgml:
8637 * gst/gstpad.c: (gst_pad_finalize):
8638 fix the static mutex leak
8640 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
8642 * check/Makefile.am:
8643 add two more tests for valgrinding
8644 * check/gst/gstvalue.c: (GST_START_TEST):
8645 test refcount of deserialized buffer, found a leak
8646 * docs/gst/gstreamer-docs.sgml:
8647 * docs/gst/gstreamer-sections.txt:
8648 * docs/gst/gstreamer.types:
8649 * docs/gst/tmpl/gstminiobject.sgml:
8650 add miniobject to docs
8651 * gst/gstminiobject.c:
8653 * gst/gstvalue.c: (gst_value_deserialize_buffer),
8654 (gst_string_unwrap):
8655 fix a hard-to-find invalid write for one of the tests
8656 fix a leak for deserialized buffers
8658 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8660 * docs/pwg/advanced-events.xml:
8661 * docs/pwg/advanced-request.xml:
8662 * docs/pwg/advanced-scheduling.xml:
8663 * docs/pwg/appendix-porting.xml:
8664 * docs/pwg/building-boiler.xml:
8665 * docs/pwg/intro-preface.xml:
8666 * docs/pwg/other-ntoone.xml:
8667 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
8668 of example code and explanation for pad activation, loop() and
8669 getrange() functions and a bit more. Remove old comments pointing
8671 * examples/pwg/Makefile.am:
8672 Add loop/getrange examples.
8674 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
8677 check for valgrind binary + some fixes
8679 valgrind suppressions for the tests
8680 * check/Makefile.am:
8681 add a valgrind: target that valgrinds the unit tests
8682 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
8683 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
8684 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8685 * check/gst/gstghostpad.c:
8687 * check/gst/gstdata.c:
8689 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
8690 (thread_unref), (gst_mini_object_suite), (main):
8692 * gst/gst.c: (gst_deinit):
8694 add a method to clean up.
8695 * gst/gstsystemclock.c: (gst_system_clock_dispose),
8696 (gst_system_clock_obtain):
8697 allow for disposing the system clock.
8698 * tools/gst-launch.c: (main):
8701 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
8703 * docs/gst/tmpl/gstbasesrc.sgml:
8704 * docs/gst/tmpl/gstfakesrc.sgml:
8705 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8706 (gst_base_src_init), (gst_base_src_set_property),
8707 (gst_base_src_get_property), (gst_base_src_get_range),
8708 (gst_base_src_start):
8709 * gst/base/gstbasesrc.h:
8710 add num-buffers property
8711 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8712 (gst_fakesrc_init), (gst_fakesrc_set_property),
8713 (gst_fakesrc_get_property), (gst_fakesrc_create),
8714 (gst_fakesrc_start):
8715 remove num-buffers property
8717 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
8719 * docs/gst/gstreamer-sections.txt:
8720 * docs/gst/tmpl/gstbasesink.sgml:
8721 * docs/gst/tmpl/gstbasesrc.sgml:
8722 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
8723 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
8724 (gst_base_sink_finalize), (gst_base_sink_set_clock),
8725 (gst_base_sink_set_property), (gst_base_sink_get_property),
8726 (gst_base_sink_handle_object), (gst_base_sink_event),
8727 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
8728 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
8729 (gst_base_sink_loop), (gst_base_sink_deactivate),
8730 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
8731 (gst_base_sink_change_state):
8732 * gst/base/gstbasesink.h:
8733 * gst/base/gstbasesrc.h:
8734 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
8735 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
8736 (gst_filesink_init):
8737 more macro splitting
8739 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
8741 * gst/gstelement.c: (gst_element_get_bus):
8743 * tools/gst-launch.c: (check_intr), (event_loop):
8746 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
8748 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
8751 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
8753 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8754 (gst_base_src_finalize):
8755 add finalize method and clean up properly
8756 * gst/gstpipeline.c: (gst_pipeline_dispose):
8759 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
8761 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
8763 add more things to check
8764 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
8768 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
8770 * check/elements/gstfakesrc.c: (chain_func), (event_func),
8771 (GST_START_TEST), (fakesrc_suite):
8772 * check/gst-libs/gdp.c: (GST_START_TEST):
8773 * check/gst/gst.c: (GST_START_TEST):
8774 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8775 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8776 * check/gst/gstbus.c: (GST_START_TEST):
8777 * check/gst/gstcaps.c: (GST_START_TEST):
8778 * check/gst/gstdata.c: (GST_START_TEST):
8779 * check/gst/gstelement.c: (GST_START_TEST):
8780 * check/gst/gstghostpad.c: (GST_START_TEST):
8781 * check/gst/gstiterator.c: (GST_START_TEST):
8782 * check/gst/gstmessage.c: (GST_START_TEST):
8783 * check/gst/gstobject.c: (GST_START_TEST):
8784 * check/gst/gstpad.c: (GST_START_TEST):
8785 * check/gst/gststructure.c: (GST_START_TEST):
8786 * check/gst/gstsystemclock.c: (GST_START_TEST),
8787 (gst_systemclock_suite):
8788 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
8789 * check/gst/gstvalue.c: (GST_START_TEST):
8790 * check/pipelines/cleanup.c: (GST_START_TEST):
8791 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
8792 * check/states/sinks.c: (GST_START_TEST):
8793 * check/gstcheck.c: (gst_check_init):
8795 add debugging category
8796 use GST_START_TEST now, so we add a debug line
8798 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
8800 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
8801 add test for state change message on a bin
8802 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
8804 * gst/gstbin.c: (gst_bin_init):
8805 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
8806 * gst/gstelement.c: (gst_element_post_message),
8807 (gst_element_set_state):
8808 * gst/gstelementfactory.c: (gst_element_factory_create):
8809 * gst/gstmessage.c: (gst_message_new):
8810 * gst/gstscheduler.c:
8811 various debugging additions and cleanups
8813 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8815 * check/Makefile.am:
8816 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
8818 adding tests for elements
8819 * gst/gstelement.c: (gst_element_dispose):
8821 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8823 * gst/registries/gstlibxmlregistry.c: (load_feature):
8824 plug more leaks. A simple gst_init() now is leakfree, yay.
8826 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8828 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
8829 (gst_xml_registry_load):
8830 plug another memleak
8832 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8835 use GST_SET_ERROR_CFLAGS
8837 change to ERROR_CFLAGS
8839 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8842 make GST_ERROR_CFLAGS overridable and re-enable Werror
8844 add a note about error CFLAGS
8845 * docs/gst/tmpl/gstfakesrc.sgml:
8846 * gst/elements/gstfakesrc.c:
8847 comment out some unused code
8848 * gst/gst.c: (split_and_iterate):
8849 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
8853 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
8855 * common/Makefile.am:
8856 * common/gtk-doc.mak:
8857 * docs/gst/Makefile.am:
8858 factor out gtk-doc.mak
8860 2005-07-07 Wim Taymans <wim@fluendo.com>
8862 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
8863 (gst_thread_scheduler_dispose):
8864 Unlock the STREAM_LOCK completely.
8866 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
8868 * check/Makefile.am:
8869 * check/elements/.cvsignore:
8870 * check/elements/gstfakesrc.c: (chain_func), (event_func),
8871 (START_TEST), (fakesrc_suite), (main):
8872 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8873 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
8874 (gst_fakesrc_create), (gst_fakesrc_start):
8875 * gst/elements/gstfakesrc.h:
8876 adding a first element test
8878 2005-07-07 Andy Wingo <wingo@pobox.com>
8880 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
8883 2005-07-07 Wim Taymans <wim@fluendo.com>
8889 2005-07-07 Wim Taymans <wim@fluendo.com>
8891 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
8892 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
8893 Allow subclasses to implement their own negotiation.
8895 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
8897 * docs/design/part-gstbin.txt:
8898 * docs/design/part-gstpipeline.txt:
8899 Update design notes to reflect the movement of
8900 responsibility for bus handling from GstPipeline to
8903 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
8906 Remove unnecessary queue2/3/4 examples.
8908 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
8910 * examples/Makefile.am:
8911 * examples/helloworld/helloworld.c: (event_loop), (main):
8912 * examples/queue/queue.c: (event_loop), (main):
8913 * examples/queue2/queue2.c: (main):
8914 Update a couple of the examples to work again.
8916 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8917 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
8918 Spelling corrections and extra debug.
8920 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
8921 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
8922 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
8924 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
8925 (gst_pipeline_change_state):
8926 * gst/gstpipeline.h:
8927 Move the bus handler for children to the GstBin, and create a
8928 separate bus for receiving messages from children to the one the
8929 bus sends 'upwards' on.
8931 2005-07-06 Wim Taymans <wim@fluendo.com>
8934 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8935 (gst_base_sink_handle_object), (gst_base_sink_loop),
8936 (gst_base_sink_change_state):
8937 * gst/base/gstbasesink.h:
8938 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8939 (gst_base_src_init), (gst_base_src_setcaps),
8940 (gst_base_src_getcaps), (gst_base_src_loop),
8941 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
8942 (gst_base_src_start), (gst_base_src_change_state):
8943 * gst/base/gstbasesrc.h:
8944 Make basesrc negotiate.
8945 Handle the case where preroll fails in basesink.
8948 2005-07-06 Wim Taymans <wim@fluendo.com>
8950 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
8951 Implement the fixate function.
8952 Clean up acceptcaps.
8954 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8956 * docs/pwg/building-filterfactory.xml:
8958 Remove never-written filter-factory chapter; I'll add the various
8959 base classes to part 4 ("other element types") later on.
8961 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8963 * docs/pwg/advanced-negotiation.xml:
8964 * docs/pwg/building-boiler.xml:
8965 * docs/pwg/building-pads.xml:
8967 * examples/pwg/Makefile.am:
8968 Add a chapter on caps negotiation, simplify the original code
8969 samples a bit w.r.t. caps negotiation, add link to the advanced
8970 section. Add a bunch of examples showing different use cases of
8971 different types of caps negotiation. Upstream renegotiation isn't
8972 fully documented yet since nobody knows how that works.
8974 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
8976 * check/gst/gstpad.c:
8978 * gst/gstpad.c: (gst_pad_get_internal_links_default):
8979 if pad has no parent, return NULL as list of internal links
8981 2005-07-05 Andy Wingo <wingo@pobox.com>
8983 * gst/elements/gstfilesrc.c:
8984 * gst/elements/gstfakesrc.c:
8985 * gst/base/gstpushsrc.c:
8986 * gst/base/gstbasesrc.h:
8987 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
8989 2005-07-05 Stefan Kost <ensonic@users.sf.net>
8992 better report generation target (lcov needs a patch)
8994 2005-07-05 Andy Wingo <wingo@pobox.com>
8996 * gst/elements, testsuite: Null if we got it...
8998 2005-07-05 Wim Taymans <wim@fluendo.com>
9001 * libs/gst/dataprotocol/Makefile.am:
9002 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
9003 * libs/gst/dataprotocol/dataprotocol.h:
9004 * pkgconfig/Makefile.am:
9005 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
9006 * pkgconfig/gstreamer-dataprotocol.pc.in:
9007 Ported dataprotol to 0.9.
9008 Added pkgconfig files.
9010 2005-07-05 Andy Wingo <wingo@pobox.com>
9012 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
9013 Default to returning TRUE for the case when tranform_caps returns
9014 a fixed caps, like for identity or volume.
9016 * check/gst/gstbus.c (pound_bus_with_messages):
9017 * check/gst/gstmessage.c (START_TEST):
9018 * check/pipelines/simple_launch_lines.c (got_handoff): Application
9021 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
9022 logic weaks here: always run transform_caps, trying passthrough
9023 operation only if the original caps intersects with the transform.
9025 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
9026 source and sink caps.
9028 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
9029 Intersect the peer caps with the pad template before going into
9031 (gst_base_transform_transform_caps): More debugging.
9033 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
9036 2005-07-04 Edward Hervey <edward@fluendo.com>
9040 (gst_pad_add_*_probe): now returns the signal id for better wrapping
9043 2005-07-04 Andy Wingo <wingo@pobox.com>
9045 * check/gst/gstpad.c: Only set explicit caps on pads.
9047 2005-07-01 Andy Wingo <wingo@pobox.com>
9049 * tests/network-clock.scm: Commentary update.
9051 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
9052 Didn't really make sense, not implementable with basetransform,
9054 (gst_identity_transform): Unref inbuf via make_writable. Feeble
9055 attempt at implementing the sync property, needs an unlock method.
9057 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
9058 New func, by default returns the same caps (the identity
9060 (gst_base_transform_getcaps): Uses transform_caps to return
9062 (gst_base_transform_setcaps): Complicated logic to get caps on
9063 both pads, even if they are different, and to call set_caps once
9064 for every time both pads get their caps set.
9065 (gst_base_transform_handle_buffer): Give the ref to the transform
9066 function. Allows in-place modification of the buffer.
9068 * gst/base/gstbasetransform.h (transform_caps): New class method.
9069 Given caps on one side, what can I do on the other.
9070 (set_caps): Take two caps, one for each side of the element.
9073 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
9074 caps in place. This is safe because we can check the mutability of
9075 the caps, and a good idea because fixate functions are just called
9076 as a matter of last resort. (Not actually implemented.)
9077 (gst_pad_set_caps): If the caps we're setting is actually the same
9078 as the existing pad caps, just update the pointer without calling
9079 setcaps. Assert that caps is either NULL or fixed, as per the
9082 * gst/gstghostpad.c: Update for fixate changes.
9084 2005-07-02 Andy Wingo <wingo@pobox.com>
9087 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
9088 two refcounts makes it immutable, which is enough. Doc more.
9090 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
9092 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
9093 Put the mini_object into GValue as a mini_object,
9094 not a gpointer, since that's how we declared
9097 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9099 * examples/pwg/Makefile.am:
9102 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9104 * docs/pwg/building-testapp.xml:
9106 * examples/pwg/Makefile.am:
9109 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9112 * examples/Makefile.am:
9113 * examples/pwg/Makefile.am:
9114 * examples/pwg/extract.pl:
9115 Enable building the PWG examples.
9116 * docs/pwg/advanced-interfaces.xml:
9117 Add URI interface stub.
9118 * docs/pwg/advanced-types.xml:
9119 * docs/pwg/other-autoplugger.xml:
9120 * docs/pwg/appendix-porting.xml:
9122 Add porting guide (mostly stubs), remove autoplugging (see ADM).
9123 * docs/pwg/building-boiler.xml:
9124 * docs/pwg/building-chainfn.xml:
9125 * docs/pwg/building-pads.xml:
9126 * docs/pwg/building-props.xml:
9127 * docs/pwg/building-state.xml:
9128 * docs/pwg/building-testapp.xml:
9129 Update the building-*.xml parts for 0.9 changes. All examples
9130 code blocks compile in examples/pwg/*.
9132 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9134 * docs/manual/advanced-autoplugging.xml:
9135 * docs/manual/appendix-checklist.xml:
9136 * docs/manual/appendix-integration.xml:
9137 * docs/manual/highlevel-components.xml:
9138 Fix playbin/decodebin examples, update docs a bit, mention bus
9139 instead of signals in various places, mention kmplayer and
9140 kaffeine since they have a working GStreamer backend in the KDE
9143 2005-06-30 Wim Taymans <wim@fluendo.com>
9146 * docs/design/draft-ghostpads.txt:
9147 * docs/design/draft-push-pull.txt:
9148 * docs/design/draft-query.txt:
9149 * docs/design/part-TODO.txt:
9150 * docs/design/part-query.txt:
9151 Added CHANGES-0.9 doc, updated status of other docs.
9156 2005-06-30 Wim Taymans <wim@fluendo.com>
9158 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9159 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
9160 (gst_base_sink_change_state):
9161 * gst/base/gstbasesink.h:
9162 Some tweaks, only EOS and a buffer complete a preroll.
9164 2005-06-30 Andy Wingo <wingo@pobox.com>
9166 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
9167 activate_push down to the internal pad as well.
9169 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
9171 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9173 * gst/gsttaginterface.c:
9174 Some documentation fixes (#307394 and #307397).
9176 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
9178 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9180 * gst/gstvalue.c: (gst_value_intersect_list):
9181 Fix memleak (#309125).
9183 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9185 * docs/manual/advanced-dataaccess.xml:
9186 Fix fakesrc example to compile; doesn't work, bug somewhere...?
9187 * docs/manual/basics-pads.xml:
9188 Add reference for filtered caps to above chapter.
9190 2005-06-30 Wim Taymans <wim@fluendo.com>
9192 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
9193 (gst_bin_change_state):
9195 Lame attempt at making the state change function a bit
9198 2005-06-30 Wim Taymans <wim@fluendo.com>
9200 * docs/design/part-clocks.txt:
9201 * docs/design/part-element-sink.txt:
9202 * docs/design/part-events.txt:
9203 * docs/design/part-preroll.txt:
9204 * docs/design/part-states.txt:
9205 Some more tweeks and additions to the docs.
9207 2005-06-30 Wim Taymans <wim@fluendo.com>
9209 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9210 (default_have_data), (gst_pad_class_init), (gst_pad_init),
9211 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
9212 (gst_pad_check_pull_range), (gst_pad_get_range),
9213 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
9215 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
9216 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9217 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9218 (gst_pad_remove_buffer_probe):
9219 Removed atomic operations, use existing LOCK.
9220 Move exception handling out of main code path.
9222 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9224 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9225 (silly_return_true_function), (gst_pad_class_init),
9226 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
9227 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
9228 (gst_pad_send_event):
9229 Fix accumulator, add default value by using _emitv() instead
9230 of _emit() for signal emission.
9232 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9234 * docs/manual/advanced-dataaccess.xml:
9235 * examples/manual/Makefile.am:
9237 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
9240 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
9242 * gst/elements/gstfilesink.c: (gst_filesink_render):
9243 Simplify code so that we don't have to handle short
9244 writes and return GST_FLOW_ERROR if an error occured.
9246 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9248 * docs/gst/gstreamer-docs.sgml:
9251 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9253 * docs/gst/gstreamer-sections.txt:
9254 * docs/gst/tmpl/gstpad.sgml:
9255 * docs/gst/tmpl/gstprobe.sgml:
9257 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9258 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
9259 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
9260 (gst_pad_push_event), (gst_pad_send_event):
9262 * gst/gstutils.c: (gst_pad_add_data_probe),
9263 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9264 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9265 (gst_pad_remove_buffer_probe):
9267 Remove old probes, add new g-signal-based probes and some utility
9270 2005-06-29 Edward Hervey <edward@fluendo.com>
9272 * gst/gstelementfactory.c:
9275 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
9276 the definition to the header file.
9278 2005-06-29 Andy Wingo <wingo@pobox.com>
9280 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
9281 plugins from the source directory.
9283 2005-06-29 Wim Taymans <wim@fluendo.com>
9285 * docs/gst/tmpl/gstbuffer.sgml:
9286 * docs/gst/tmpl/gstclock.sgml:
9287 Some fixings for blantently wrong text.
9289 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
9291 * check/Makefile.am:
9292 * gst/gst.c: (add_path_func), (init_pre):
9293 * gst/gstregistry.c: (gst_registry_add_path):
9294 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
9295 only scan the GST_PLUGIN_PATH locations, and not add
9298 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
9300 * docs/gst/gstreamer-sections.txt:
9301 * docs/gst/tmpl/gstbasesrc.sgml:
9308 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9310 * docs/manual/advanced-autoplugging.xml:
9311 Fix autoplugging example.
9313 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9315 * docs/manual/advanced-autoplugging.xml:
9316 * docs/manual/mime-world.fig:
9317 Try to get autoplugging working, fix type detection. Fix text
9318 in hello-world image.
9320 2005-06-29 Wim Taymans <wim@fluendo.com>
9322 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9323 (gst_base_sink_change_state):
9327 map SIGNAL and BROADCAST to the right function.
9330 Remove redundant braces.
9332 * gst/gstpad.c: (gst_pad_set_caps):
9333 Don't call setcaps function when reseting caps to NULL.
9335 * gst/gstsystemclock.c: (gst_system_clock_dispose),
9336 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
9337 (gst_system_clock_id_unschedule):
9338 Use BROADCAST as this is what we do.
9340 2005-06-29 Wim Taymans <wim@fluendo.com>
9342 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9343 We are actually prerolling before commiting the state
9346 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9348 * docs/manual/advanced-clocks.xml:
9349 * docs/manual/advanced-interfaces.xml:
9350 * docs/manual/advanced-metadata.xml:
9351 * docs/manual/advanced-position.xml:
9352 * docs/manual/advanced-schedulers.xml:
9353 * docs/manual/advanced-threads.xml:
9354 * docs/manual/appendix-porting.xml:
9355 * docs/manual/basics-bins.xml:
9356 * docs/manual/basics-bus.xml:
9357 * docs/manual/basics-elements.xml:
9358 * docs/manual/basics-helloworld.xml:
9359 * docs/manual/basics-pads.xml:
9360 * docs/manual/highlevel-components.xml:
9361 * docs/manual/manual.xml:
9362 * docs/manual/thread.fig:
9363 Update (until threads/scheduling) Application Development Manual;
9364 remove GstThread, add GstBus, add simple porting checklist, add
9365 documentation for tag writing, clocks, make all examples until this
9366 part compile and run.
9367 * examples/manual/Makefile.am:
9368 Update from changes to Application Development Manual; add bus
9369 example, remove thread example.
9371 2005-06-28 Wim Taymans <wim@fluendo.com>
9373 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
9374 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
9375 (gst_bus_source_dispatch):
9376 Add debugging messages.
9377 Make internal methods static.
9378 Handle the case where the bus is flushed in the handler.
9380 * gst/gstelement.c: (gst_element_get_bus):
9381 Fix refcount in _get_bus();
9383 * gst/gstpipeline.c: (gst_pipeline_change_state),
9384 (gst_pipeline_get_clock_func):
9385 Clock refcounting fixes.
9386 Handle the case where preroll timed out more gracefully.
9388 * gst/gstsystemclock.c: (gst_system_clock_dispose):
9389 Clean up the internal thread in dispose. This is needed
9390 for subclasses that actually get disposed.
9392 * gst/schedulers/threadscheduler.c:
9393 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
9394 (gst_thread_scheduler_dispose):
9395 Free thread pool in dispose.
9397 2005-06-28 Andy Wingo <wingo@pobox.com>
9399 * tests/network-clock-utils.scm (debug, print-event): New utils.
9401 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
9402 (*packet-loss*): Unified loss probability.
9403 (network-time): Report out-of-band events.
9405 * tests/plot-data: Add support for out-of-band events. Hack it
9406 into this script instead of passing it down the pipe; should fix
9409 2005-06-28 Wim Taymans <wim@fluendo.com>
9411 * docs/gst/gstreamer.types:
9412 * docs/gst/tmpl/gstbasesrc.sgml:
9413 * docs/gst/tmpl/gstpad.sgml:
9416 2005-06-28 Wim Taymans <wim@fluendo.com>
9418 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9419 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
9420 (gst_proxy_pad_do_fixatecaps):
9421 Correctly proxy the check_pull_range function.
9423 2005-06-28 Andy Wingo <wingo@pobox.com>
9425 * tests/network-clock.scm: Removed need for slib.
9427 2005-06-28 Wim Taymans <wim@fluendo.com>
9429 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
9430 (gst_basesink_preroll_queue_flush):
9431 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
9432 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
9433 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9434 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
9435 (gst_proxy_pad_set_property):
9438 * gst/gstqueue.c: (gst_queue_init):
9439 The deprecated pad loop function is removed now.
9441 2005-06-28 Andy Wingo <wingo@pobox.com>
9443 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
9444 New parameters, simulate network packet loss.
9446 * tests/network-clock-utils.scm: Initialize the RNG.
9448 2005-06-28 Wim Taymans <wim@fluendo.com>
9450 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
9451 (gst_basesink_event), (gst_basesink_deactivate):
9452 Flushing the preroll queue always needs to unlock the waiters.
9454 2005-06-28 Edward Hervey <edward@fluendo.com>
9456 * gst/gstpipeline.c: (gst_pipeline_send_event):
9457 Wheen a seek was successful on a pipeline, set the stream_time to the
9458 seek offset in order to have a synchronized stream_time.
9460 2005-06-28 Wim Taymans <wim@fluendo.com>
9462 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9463 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
9464 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
9465 (gst_proxy_pad_do_fixatecaps):
9466 Call wrapper function instead of just calling the function
9467 pointers. This takes care of any locking and whatmore.
9469 2005-06-28 Wim Taymans <wim@fluendo.com>
9471 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
9472 (gst_pad_pull_range):
9474 CONNECTED -> LINKED.
9476 2005-06-28 Andy Wingo <wingo@pobox.com>
9478 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
9479 source-munging commit!!!
9481 * gst/gstobject.c (gst_object_unref, gst_object_ref)
9482 (gst_object_sink): Take gpointer arguments, not GstObject --
9483 avoids casts. Like GLib.
9485 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
9488 2005-06-27 Andy Wingo <wingo@pobox.com>
9490 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
9493 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
9494 returns a sorted copy of the trace list.
9495 (gst_alloc_trace_print_live): New API, only prints traces with
9496 live objects. Sort the list.
9497 (gst_alloc_trace_print_all): Sort the list.
9498 (gst_alloc_trace_print): Align columns.
9500 * gst/elements/gstttypefindelement.c:
9501 * gst/elements/gsttee.c:
9502 * gst/base/gstbasesrc.c:
9503 * gst/base/gstbasesink.c:
9504 * gst/base/gstbasetransform.c:
9505 * gst/gstqueue.c: Adapt for pad activation changes.
9507 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
9509 (gst_pipeline_dispose): Drop ref on sched.
9511 * gst/gstpad.c (gst_pad_init): Set the default activate func.
9512 (gst_pad_activate_default): Push mode by default.
9513 (pre_activate_switch, post_activate_switch): New stubs, things to
9514 do before and after switching activation modes on pads.
9515 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
9516 the pad's activate function to choose which mode to activate.
9517 Shortcut on deactivation and call the right function directly.
9518 (gst_pad_activate_pull): New API, (de)activates a pad in pull
9520 (gst_pad_activate_push): New API, same for push mode.
9521 (gst_pad_set_activate_function)
9522 (gst_pad_set_activatepull_function)
9523 (gst_pad_set_activatepush_function): Setters for new API.
9525 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
9526 Trace all miniobjects.
9527 (gst_mini_object_make_writable): Unref the arg if we copy, like
9528 gst_caps_make_writable.
9530 * gst/gstmessage.c (_gst_message_initialize): No trace init.
9532 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
9533 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
9534 Adapt for new pad API.
9536 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
9539 * gst/gstelement.c (gst_element_iterate_src_pads)
9540 (gst_element_iterate_sink_pads): New API functions.
9542 * gst/gstelement.c (iterator_fold_with_resync): New utility,
9543 should fold into gstiterator.c in some form.
9544 (gst_element_pads_activate): Simplified via use of fold and
9545 delegation of decisions to gstpad->activate.
9547 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
9550 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
9551 class once in init, like gstmessage. Didn't run into this issue
9552 but it seems correct. Don't initialize a trace, gstminiobject does
9555 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
9556 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
9558 (assert_live_count): New util function, uses alloc traces to check
9561 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
9562 To be modified when unlink drops the internal pad.
9564 2005-06-27 Wim Taymans <wim@fluendo.com>
9566 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
9567 (gst_bin_change_state):
9568 Cleanup the get_state() function a little, make sure it
9569 iterates the same set of elements.
9570 Added stub iterate_state_order().
9572 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
9574 * docs/gst/gstreamer-docs.sgml:
9575 * docs/gst/gstreamer-sections.txt:
9576 * docs/gst/gstreamer.types:
9577 * docs/gst/tmpl/gstbasesink.sgml:
9578 * docs/gst/tmpl/gstbasesrc.sgml:
9579 * docs/gst/tmpl/gstbasetransform.sgml:
9580 * docs/gst/tmpl/gstelement.sgml:
9581 * docs/gst/tmpl/gstiterator.sgml:
9582 * gst/base/gstbasesrc.c:
9583 * gst/base/gstbasesrc.h:
9584 * gst/base/gstbasetransform.h:
9586 * gst/gstiterator.h:
9587 adding basetransform and iterator docs
9589 2005-06-27 Andy Wingo <wingo@pobox.com>
9591 * docs/design/part-activation.txt: Notes on how activation should
9592 work -- not quite implemented yet.
9594 2005-06-25 Wim Taymans <wim@fluendo.com>
9596 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
9597 At least get the chain function correct, needs more
9600 2005-06-25 Wim Taymans <wim@fluendo.com>
9602 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9603 (gst_basesink_handle_object), (gst_basesink_event),
9604 (gst_basesink_do_sync), (gst_basesink_handle_event),
9605 (gst_basesink_change_state):
9607 Right, two problems here: ghostpads don't take locks and
9608 glib _rec_mutex_lock_full() with depth==0 still locks.
9609 Catch illegal locking and g_warn them.
9611 2005-06-25 Wim Taymans <wim@fluendo.com>
9613 * check/states/sinks.c: (START_TEST), (gst_object_suite):
9614 Have to check for completion now...
9616 2005-06-25 Wim Taymans <wim@fluendo.com>
9618 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9619 (gst_basesink_handle_object), (gst_basesink_event),
9620 (gst_basesink_do_sync), (gst_basesink_handle_event),
9621 (gst_basesink_change_state):
9623 Unlock STREAM_LOCK whatever the recursion was.
9625 2005-06-25 Wim Taymans <wim@fluendo.com>
9627 * gst/base/gstbasesink.c: (gst_basesink_set_property),
9628 (gst_basesink_preroll_queue_empty),
9629 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
9630 (gst_basesink_event), (gst_basesink_do_sync),
9631 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
9632 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
9633 (gst_basesink_change_state):
9634 Reworked the base sink, handle event and buffer serialisation
9635 correctly and removed possible deadlock.
9636 Handle EOS correctly.
9638 2005-06-25 Wim Taymans <wim@fluendo.com>
9640 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
9641 (gst_pipeline_change_state):
9642 * tools/gst-launch.c: (check_intr), (event_loop), (main):
9643 Allow elements to post EOS in the state change function.
9644 Fix up -launch, make it exit the poll loop when the
9645 pipeline actually changed state.
9646 Fix up warning parsing in -launch.
9648 2005-06-25 Wim Taymans <wim@fluendo.com>
9650 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
9651 (gst_tee_sink_activate):
9652 Core takes STREAM_LOCK for us now.
9654 2005-06-25 Wim Taymans <wim@fluendo.com>
9656 * gst/gstelement.c: (gst_element_get_state_func),
9657 (gst_element_set_state):
9659 * gst/gstmessage.c: (gst_message_parse_error),
9660 (gst_message_parse_warning):
9661 Keep track of current target state while performing a state
9662 change so that subclasses can do something interesting.
9663 Fix parsing of warning/error messages when GError is NULL.
9665 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
9667 * docs/gst/Makefile.am:
9668 * docs/gst/gstreamer-docs.sgml:
9669 * docs/gst/gstreamer-sections.txt:
9670 * docs/gst/gstreamer.types:
9671 * docs/gst/tmpl/gstbasesink.sgml:
9672 * docs/gst/tmpl/gstbasesrc.sgml:
9673 * docs/gst/tmpl/gstbin.sgml:
9674 * docs/gst/tmpl/gstcompat.sgml:
9675 * docs/gst/tmpl/gstfakesink.sgml:
9676 * docs/gst/tmpl/gstfakesrc.sgml:
9677 * docs/gst/tmpl/gstfilesink.sgml:
9678 * docs/gst/tmpl/gstfilesrc.sgml:
9679 * docs/gst/tmpl/gstindex.sgml:
9680 * docs/manual/appendix-quotes.xml:
9681 * gst/base/gstbasesrc.h:
9682 * gst/elements/gstfakesrc.h:
9684 start pulling in base classes and elements in our docs
9686 2005-06-24 Stefan Kost <ensonic@users.sf.net>
9688 * docs/gst/Makefile.am:
9689 * docs/libs/Makefile.am:
9690 fixed make distcheck with gtk-doc 1.3
9692 2005-06-23 Wim Taymans <wim@fluendo.com>
9694 * gst/gstelement.c: (gst_element_get_state_func),
9695 (gst_element_set_state), (gst_element_change_state):
9696 When the state did not change, also report NO_PREROLL
9699 2005-06-23 Wim Taymans <wim@fluendo.com>
9701 * gst/gstpad.c: (gst_pad_event_default):
9702 * gst/gstqueue.c: (gst_queue_loop):
9703 No unsafe task pausing please.
9705 2005-06-23 Wim Taymans <wim@fluendo.com>
9707 * gst/schedulers/threadscheduler.c:
9708 (gst_thread_scheduler_task_start),
9709 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
9710 Ref the task before pushing it on the threadpool. This
9711 makes sure that we have a ref when the threadfunction is
9714 2005-06-23 Andy Wingo <wingo@pobox.com>
9716 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
9717 offset is greater than the file's size.
9719 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
9720 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
9721 * gst/gstobject.c (gst_object_class_init): Make the class lock
9722 recursive. Wim won't let me drop deep_notify. Decodebin works
9725 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
9726 internal pad, and hacks accordingly. Doesn't do it on the target
9727 pad because we change its caps. Probably catches all cases of
9729 (gst_ghost_pad_set_property): Connect to notify::caps as
9732 * tests/network-clock.scm (plot-simulation): Pipe data to the
9733 elite python skript.
9735 * tests/network-clock-utils.scm (define-parameter): New macro,
9736 defines a parameter that can be set via the command line.
9737 (set-parameter!, parse-parameter-arguments): Command line args
9740 * tests/plot-data: Simple matplotlib-based plotter, takes input on
9743 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
9745 * gst/elements/gsttypefindelement.c:
9746 (gst_type_find_element_handle_event):
9747 Don't restart typefinding on a discont.
9748 * gst/gstelement.c: (gst_element_set_state):
9750 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
9751 Allow changing mode of an active pad.
9753 * gst/registries/gstlibxmlregistry.c: (load_feature):
9754 Don't cast a static pad template to a normal pad template.
9756 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
9758 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9759 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
9760 remove gst_strtoll completely, since it didn't actually do
9761 anything more than what g_ascii_strtoull already does.
9762 check for range errors when deserializing
9763 do a cast for the unsigned cases; but further fixing needs
9764 a decision on what the interpretation of "(int)" and
9765 deserialization should be for values that fall outside the
9766 type's boundaries (ie, refuse, or interpret as casting)
9768 2005-06-23 Wim Taymans <wim@fluendo.com>
9770 * check/Makefile.am:
9771 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
9772 * docs/design/part-live-source.txt:
9773 * docs/design/part-states.txt:
9774 * gst/base/gstbasesrc.c: (gst_basesrc_init),
9775 (gst_basesrc_set_live), (gst_basesrc_is_live),
9776 (gst_basesrc_get_range), (gst_basesrc_activate),
9777 (gst_basesrc_change_state):
9778 * gst/base/gstbasesrc.h:
9779 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9780 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
9781 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
9782 * gst/gstelement.c: (gst_element_get_state_func),
9783 (gst_element_set_state):
9786 * tools/gst-launch.c: (event_loop), (main):
9787 Added support for live sources and other elements that
9789 Updated design docs, added live-source design doc.
9790 Implemented live source functionality in basesrc
9791 Fix error condition in _bin_get_state()
9792 Implement live source handling in -launch.
9793 Added check for live sources.
9794 Fixed case in GstBin where elements were changed state
9798 2005-06-23 Andy Wingo <wingo@pobox.com>
9800 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
9803 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
9804 gst_caps_replace takes care of this for us.
9806 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
9807 gst_pad_set_caps on the target, not just its setcaps() function.
9809 * tests/network-clock.scm:
9810 * tests/network-clock-utils.scm: A network clock simulator.
9811 Something of an algorithmic testbed before doing something in C.
9813 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
9815 * check/Makefile.am:
9816 * check/gst/capslist.h:
9817 copy over from 0.8, and add two with bitmasks specified with
9819 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
9820 add test to parse everything from capslist.h
9821 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
9823 add test for structure deserialization
9824 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9825 add tests for deserialization of strings to int types
9826 * gst/gststructure.c: (gst_structure_nth_field_name):
9827 * gst/gststructure.h:
9828 add a way to get the name of a field referenced by index
9829 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
9830 instead of checking if the resulting long long lies between
9831 min and max, we check if the long long would fit into
9832 a number of bytes for the final type.
9833 This fixes cases where a string represents 2^32 - 1, which
9834 when cast to int would be the (valid) -1, but is bigger than
9837 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
9839 * gst/parse/grammar.y:
9840 add a log line for type deserialization
9842 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
9844 * check/gst/gstvalue.c: (START_TEST):
9845 * gst/gstvalue.c: (gst_value_deserialize):
9846 return long long, not int, so gint64 deserialization actually
9847 works. Is there any flag that makes the compiler check this ?
9850 2005-06-22 Wim Taymans <wim@fluendo.com>
9853 Added convenience macros for setting buffers in GValue.
9855 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
9857 * check/gst/.cvsignore:
9858 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9859 add a test deserializing int64, and comment part out because
9862 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
9864 * check/Makefile.am:
9865 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
9866 * testsuite/Makefile.am:
9867 * testsuite/caps/Makefile.am:
9868 * testsuite/caps/value_serialize.c:
9869 * testsuite/test_gst_init.c:
9870 move a value_serialize test over
9872 2005-06-20 Wim Taymans <wim@fluendo.com>
9877 * gst/gstvalue.c: (gst_value_compare_buffer),
9878 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
9879 (gst_value_compare_flags), (gst_value_serialize_flags),
9880 (gst_value_deserialize_flags), (_gst_value_initialize):
9881 Fix serialisation of buffers, they are not boxed types anymore
9883 2005-06-20 Wim Taymans <wim@fluendo.com>
9885 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
9886 Testcase to show error in buffer-on-caps serialisation.
9888 2005-06-20 Andy Wingo <wingo@pobox.com>
9890 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
9891 will be adding to later.
9893 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
9894 if its socks fill with rocks.
9895 (gst_system_clock_obtain): Set the name on object construction.
9896 Avoid double-checked locking.
9898 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
9900 * gst/gsturi.c: (gst_element_make_from_uri):
9901 Fix potential endless loop.
9903 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
9905 * check/Makefile.am:
9907 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
9909 move over from testsuite dir and clean up
9912 * testsuite/Makefile.am:
9913 * testsuite/tags/.cvsignore:
9914 * testsuite/tags/Makefile.am:
9915 * testsuite/tags/merge.c:
9916 remove testsuite/tags
9918 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
9920 * docs/gst/gstreamer-sections.txt:
9921 * docs/gst/tmpl/gstenumtypes.sgml:
9922 * win32/gstenumtypes.c:
9923 clean up documentation build a little
9925 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
9928 add macros for checking refcounts on objects and caps
9929 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
9930 add some more unit tests
9931 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
9932 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
9933 fix leaked refcounts (I hope :)) so unittest works
9937 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
9939 * configure.ac: back to HEAD
9941 === release 0.9.1 ===
9943 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
9949 2005-06-17 Andy Wingo <wingo@pobox.com>
9951 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
9952 assert; it's always possible that the pad gets deactivated in
9953 between the checks in gstpad.c and the implementation. Rely on
9954 finish_preroll() to return a FLUSHING or similar instead of on the
9957 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
9958 clock and post an EOS message if we come out of finish_preroll in
9961 2005-06-16 David Schleef <ds@schleef.org>
9963 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
9964 (gst_capsfilter_set_property): Allow NULL as possible value
9965 for filter_caps property, indicating GST_CAPS_ANY.
9967 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
9969 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
9971 * gst/schedulers/Makefile.am:
9973 * gstreamer.spec.in:
9976 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
9978 * gstreamer.spec.in:
9981 2005-06-08 Andy Wingo <wingo@pobox.com>
9983 * gst/gstutils.c: RPAD fixes all around.
9984 (gst_element_link_pads): Refcounting fixes.
9986 * tools/gst-inspect.c:
9987 * tools/gst-xmlinspect.c:
9989 * gst/base/gsttypefindhelper.c:
9990 * gst/base/gstbasesink.c:
9991 * gst/gstqueue.c: RPAD fixes.
9993 * gst/gstghostpad.h:
9994 * gst/gstghostpad.c: New ghost pad implementation as full proxy
9995 pads. The tricky thing is they provide both source and sink
9996 interfaces, since they proxy the internal pad for the external
9997 pad, and vice versa. Implement with lower-level ProxyPad objects,
9998 with the interior proxy pad as a child of the exterior ghost pad.
9999 Should write a doc on this.
10001 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
10002 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
10005 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
10006 pads are real pads. No ghost pads in this file. Not documenting
10007 the myriad s/RPAD/PAD/ and REALIZE fixes.
10008 (gst_pad_class_init): Add properties for "direction" and
10009 "template". Both are construct-only, so they can't change during
10010 the life of the pad. Fixes properly deriving from GstPad.
10011 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
10012 derived objects, just set properties when creating the objects via
10014 (gst_pad_get_parent): Implement as a function, return NULL if the
10015 parent is not an element.
10016 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
10017 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
10019 * gst/gstobject.c (gst_object_class_init): Make name a construct
10020 property. Don't set it in the object init.
10022 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
10023 with UNKNOWN direction.
10024 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
10025 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
10026 (gst_element_remove_pad): Remove ghost-pad special cases.
10027 (gst_element_pads_activate): Remove rpad cruft.
10029 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
10030 catch the pad's-parent-not-an-element case.
10032 * gst/gst.h: Include gstghostpad.h.
10034 * gst/gst.c (init_post): No more real, ghost pads.
10036 * gst/Makefile.am: Add gstghostpad.[ch].
10038 * check/Makefile.am:
10039 * check/gst/gstbin.c:
10040 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
10041 into a bin creates ghost pads, and that the refcounts are right.
10042 Partly moved from gstbin.c.
10044 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
10046 * check/gst-libs/.cvsignore:
10047 * check/gst/.cvsignore:
10048 * check/pipelines/.cvsignore:
10050 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
10051 (START_TEST), (cleanup_suite), (main):
10052 add some tests related to cleanup after running pipelines
10054 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
10056 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
10057 add a testsuite for GstBuffer
10059 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
10061 * gst/gstminiobject.h:
10062 add defines for accessing the refcount
10064 2005-06-03 Stefan Kost <ensonic@users.sf.net>
10066 * Makefile.am: added support for html unit test coverage reports
10068 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
10070 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
10071 Free existing caps if the capsfilter changes. Add a FIXME about
10072 setting those caps on the pads.
10074 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
10075 Before adding a ghost pad to a parent bin, check that there isn't
10076 already one for the element on the bin. Prevents infinite recursion
10077 when using decodebin in parse pipelines. Andy says he'll rewrite the
10078 way this works anyway, so ignore the hack.
10080 2005-06-02 Andy Wingo <wingo@pobox.com>
10082 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
10083 file size, pass it on to the type find helper.
10085 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
10086 segment_start and segment_end properly according to the seek
10087 method. Segment_end is still a bit flaky because offset can be
10088 negative for CUR and END cases, but it takes -1 as an "unset"
10091 2005-06-02 Wim Taymans <wim@fluendo.com>
10093 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
10094 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
10095 (gst_basesink_activate):
10096 * gst/base/gstbasesink.h:
10097 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10098 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
10099 (gst_pad_query), (gst_pad_start_task):
10101 * gst/gstqueue.c: (gst_queue_bufferalloc),
10102 (gst_queue_handle_sink_event), (gst_queue_chain):
10103 Bufferalloc: return GstFlowReturn to more accuratly report
10104 why allocation failed.
10106 2005-06-02 Wim Taymans <wim@fluendo.com>
10108 * gst/gstpipeline.c: (gst_pipeline_send_event):
10109 Take snapshot of state without blocking.
10111 2005-06-02 Wim Taymans <wim@fluendo.com>
10113 * docs/design/part-TODO.txt:
10114 * docs/design/part-caps.txt:
10115 * docs/design/part-clocks.txt:
10116 * docs/design/part-negotiation.txt:
10117 * docs/design/part-preroll.txt:
10120 2005-05-30 Wim Taymans <wim@fluendo.com>
10122 * gst/elements/gstidentity.c: (gst_identity_event),
10123 (gst_identity_transform), (gst_identity_get_property):
10124 Protect last_message property as it is accessed from
10127 2005-05-30 Wim Taymans <wim@fluendo.com>
10129 * gst/gstelement.c: (gst_element_init),
10130 (gst_element_pads_activate), (gst_element_change_state):
10131 Slicker pad activation code.
10133 2005-05-30 Wim Taymans <wim@fluendo.com>
10136 * gst/gstelement.h:
10137 * gst/gstelementfactory.h:
10139 Move elementfactory methods to separate .h file.
10141 2005-05-30 Wim Taymans <wim@fluendo.com>
10143 * docs/design/part-overview.txt:
10144 * gst/gstsystemclock.h:
10145 Small typo fixes, doc updates.
10147 2005-05-30 Wim Taymans <wim@fluendo.com>
10149 * gst/gst.c: (gst_init_get_popt_table), (init_post),
10150 (init_popt_callback):
10151 Remove cpu-opt flag.
10153 2005-05-30 Wim Taymans <wim@fluendo.com>
10155 * gst/gstbuffer.c: (gst_subbuffer_finalize),
10156 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
10158 Avoid typechecking in places where not needed.
10159 Added accessor for malloc_data.
10161 2005-05-30 Wim Taymans <wim@fluendo.com>
10163 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
10164 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
10165 (gst_pad_configure_sink), (gst_pad_configure_src),
10166 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
10167 (gst_pad_start_task):
10168 Propagate errors from _set_caps() in configure_src/sink
10169 functions instead of returning TRUE.
10170 FLUSH events can travel up and downstream
10173 2005-05-30 Wim Taymans <wim@fluendo.com>
10175 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
10176 (gst_basesink_activate):
10177 Handle EOS in preroll.
10179 2005-05-30 Wim Taymans <wim@fluendo.com>
10181 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10182 (gst_queue_loop), (gst_queue_handle_src_event):
10183 Remove old pieces of code
10184 Flushing the queue in an upstream event is a very bad idea.
10186 2005-05-26 Andy Wingo <wingo@pobox.com>
10188 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
10189 gst_value_set_mini_object so as to add a ref on the object (which
10190 will be removed when the value is unset).
10192 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
10193 arg type in ::handoff.
10195 * gst/gstelement.c (gst_element_change_state): Also deactivate
10196 pads in READY->NULL, just in case the element didn't make it to
10197 PAUSED. Wingo tested, Wim approved.
10199 2005-05-26 Wim Taymans <wim@fluendo.com>
10201 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10202 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
10203 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
10204 A flushing pad cannot be used to alloc_buffer from.
10206 2005-05-26 Wim Taymans <wim@fluendo.com>
10208 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
10209 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
10210 (gst_bus_source_dispatch), (gst_bus_source_finalize),
10211 (gst_bus_create_watch), (gst_bus_add_watch_full):
10213 Implement a real GSource and use g_main_context_wakeup() to
10214 signal new messages instead of the socketpair.
10216 2005-05-25 Wim Taymans <wim@fluendo.com>
10218 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
10219 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
10220 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10221 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
10222 (gst_pad_send_event), (gst_pad_start_task):
10223 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
10224 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
10225 (gst_queue_sink_activate), (gst_queue_src_activate),
10226 (gst_queue_change_state):
10228 Fix state changes for non sinks. We now change sinks, then elements
10229 with unconnected srcpads, then the rest.
10230 More efficient queue unlocking in flush and state changes.
10231 Set the pad activate mode even if it does not have an activate
10234 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10236 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
10237 Don't go in pull mode for non-seekable sources.
10238 * gst/elements/gsttypefindelement.h:
10239 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
10240 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
10241 (free_entry), (stop_typefinding),
10242 (gst_type_find_element_handle_event), (find_peek),
10243 (gst_type_find_element_chain), (do_pull_typefind),
10244 (gst_type_find_element_change_state):
10245 Allow typefinding (w/o seeking) in push-mode, simplified version
10246 of what was in 0.8.
10247 * gst/gstutils.c: (gst_buffer_join):
10249 gst_buffer_join() from 0.8.
10251 2005-05-25 Wim Taymans <wim@fluendo.com>
10253 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10254 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
10255 (gst_pad_send_event), (gst_pad_start_task):
10256 Disable attempt at mode switching until it is figured out.
10258 2005-05-25 Wim Taymans <wim@fluendo.com>
10260 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
10261 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
10262 (gst_basesink_finish_preroll), (gst_basesink_chain),
10263 (gst_basesink_loop), (gst_basesink_activate),
10264 (gst_basesink_change_state):
10265 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
10266 (gst_basesrc_get_range), (gst_basesrc_loop),
10267 (gst_basesrc_activate):
10268 * gst/elements/gsttee.c: (gst_tee_sink_activate):
10269 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
10270 (gst_real_pad_init), (gst_real_pad_set_property),
10271 (gst_real_pad_get_property), (gst_pad_set_active),
10272 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
10273 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
10274 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
10275 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
10276 (gst_pad_event_default_dispatch), (gst_pad_event_default),
10277 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
10278 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
10279 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
10280 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
10281 (gst_pad_stop_task):
10283 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10284 (gst_queue_loop), (gst_queue_src_activate):
10285 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
10286 (gst_task_get_state):
10288 * gst/schedulers/threadscheduler.c:
10289 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
10290 Implement gst_pad_pause/start/stop_task(), take STREAM lock
10292 Remove ACTIVE pad flag, use FLUSHING everywhere
10293 Added _pad_chain(), _pad_get_range() to call chain/getrange
10295 Add locks around IS_FLUSHING when reading.
10296 Take STREAM lock in chain(), get_range() functions so plugins
10297 don't need to take it anymore.
10301 2005-05-25 Wim Taymans <wim@fluendo.com>
10303 * tools/gst-launch.c: (event_loop):
10304 Unref message after using its contents instead of
10307 2005-05-24 Wim Taymans <wim@fluendo.com>
10309 * docs/design/draft-ghostpads.txt:
10310 * docs/design/draft-push-pull.txt:
10311 * docs/design/draft-query.txt:
10312 * docs/design/part-overview.txt:
10313 Docs updates, added general overview doc.
10315 2005-05-21 David Schleef <ds@schleef.org>
10317 * docs/gst/tmpl/old/GstBin.sgml:
10318 * docs/gst/tmpl/old/GstBuffer.sgml:
10319 * docs/gst/tmpl/old/GstCaps.sgml:
10320 * docs/gst/tmpl/old/GstClock.sgml:
10321 * docs/gst/tmpl/old/GstCompat.sgml:
10322 * docs/gst/tmpl/old/GstData.sgml:
10323 * docs/gst/tmpl/old/GstElement.sgml:
10324 * docs/gst/tmpl/old/GstEvent.sgml:
10325 * docs/gst/tmpl/old/GstIndex.sgml:
10326 * docs/gst/tmpl/old/GstStructure.sgml:
10327 * docs/gst/tmpl/old/GstTag.sgml:
10328 * docs/gst/tmpl/old/cothreads.sgml:
10329 * docs/gst/tmpl/old/cothreads_compat.sgml:
10330 * docs/gst/tmpl/old/gettext.sgml:
10331 * docs/gst/tmpl/old/gobject2gtk.sgml:
10332 * docs/gst/tmpl/old/grammar.tab.sgml:
10333 * docs/gst/tmpl/old/gst-i18n-app.sgml:
10334 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
10335 * docs/gst/tmpl/old/gst_private.sgml:
10336 * docs/gst/tmpl/old/gstaggregator.sgml:
10337 * docs/gst/tmpl/old/gstarch.sgml:
10338 * docs/gst/tmpl/old/gstatomic_impl.sgml:
10339 * docs/gst/tmpl/old/gstbufferstore.sgml:
10340 * docs/gst/tmpl/old/gstdata_private.sgml:
10341 * docs/gst/tmpl/old/gstdisksink.sgml:
10342 * docs/gst/tmpl/old/gstdisksrc.sgml:
10343 * docs/gst/tmpl/old/gstelementfactory.sgml:
10344 * docs/gst/tmpl/old/gstextratypes.sgml:
10345 * docs/gst/tmpl/old/gstfakesink.sgml:
10346 * docs/gst/tmpl/old/gstfakesrc.sgml:
10347 * docs/gst/tmpl/old/gstfdsink.sgml:
10348 * docs/gst/tmpl/old/gstfdsrc.sgml:
10349 * docs/gst/tmpl/old/gstfilesink.sgml:
10350 * docs/gst/tmpl/old/gstfilesrc.sgml:
10351 * docs/gst/tmpl/old/gsthttpsrc.sgml:
10352 * docs/gst/tmpl/old/gstidentity.sgml:
10353 * docs/gst/tmpl/old/gstindexfactory.sgml:
10354 * docs/gst/tmpl/old/gstmarshal.sgml:
10355 * docs/gst/tmpl/old/gstmd5sink.sgml:
10356 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
10357 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
10358 * docs/gst/tmpl/old/gstpadtemplate.sgml:
10359 * docs/gst/tmpl/old/gstpipefilter.sgml:
10360 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
10361 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
10362 * docs/gst/tmpl/old/gstshaper.sgml:
10363 * docs/gst/tmpl/old/gstspider.sgml:
10364 * docs/gst/tmpl/old/gstspideridentity.sgml:
10365 * docs/gst/tmpl/old/gststatistics.sgml:
10366 * docs/gst/tmpl/old/gsttee.sgml:
10367 * docs/gst/tmpl/old/gsttimecache.sgml:
10368 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
10369 * docs/gst/tmpl/old/gstxmlregistry.sgml:
10370 * docs/gst/tmpl/old/gthread-cothreads.sgml:
10371 * docs/gst/tmpl/old/types.sgml:
10372 I didn't intend to add these or check them in.
10374 2005-05-19 David Schleef <ds@schleef.org>
10376 * configure.ac: Use -no-common everywhere. In a sane world, it
10377 would be the default in libtool, because without it, you can't
10378 build DLLs on Windows.
10379 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
10380 * docs/gst/gstreamer-sections.txt:
10381 * docs/gst/tmpl/gstcpu.sgml:
10382 * docs/gst/tmpl/gstdata.sgml:
10383 * docs/gst/tmpl/gstthread.sgml:
10385 2005-05-19 David Schleef <ds@schleef.org>
10387 * gst/gstminiobject.c: (gst_value_set_mini_object),
10388 (gst_value_take_mini_object), (gst_value_get_mini_object):
10389 * gst/gstminiobject.h: Add GValue set/get functions.
10391 2005-05-19 Wim Taymans <wim@fluendo.com>
10393 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
10394 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
10395 (gst_subbuffer_init), (gst_buffer_is_span_fast):
10397 * gst/gstbus.c: (gst_bus_post):
10398 * gst/gstelement.c: (gst_element_get_random_pad):
10399 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
10400 Make subbufer unref the parent in finalize.
10401 some more debugging info.
10404 2005-05-19 Wim Taymans <wim@fluendo.com>
10406 * gst/base/gstbasesink.c: (gst_basesink_class_init),
10407 (gst_basesink_init), (gst_basesink_finalize),
10408 (gst_basesink_activate), (gst_basesink_change_state):
10409 Don't free preroll queue too early.
10411 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10415 Hi, I'm outdated. Please shoot me.
10417 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10419 * gst/gstpipeline.c: (gst_pipeline_send_event):
10420 Do not access variables after they have been deleted.
10422 2005-05-19 Wim Taymans <wim@fluendo.com>
10424 * tools/gst-inspect.c: (print_plugin_features):
10425 A plugin feature does unfortunatly not use the
10428 2005-05-18 Wim Taymans <wim@fluendo.com>
10430 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
10431 Port _span() functions to new subbuffers.
10433 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10435 * gst/gstbin.c: (gst_bin_add_func):
10436 Fix clock settery in bins when adding kids after the clock has
10439 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10441 * gst/elements/gstidentity.c: (gst_identity_class_init):
10442 Workaround until signals support GstMiniObject.
10444 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
10447 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
10449 2005-05-18 Wim Taymans <wim@fluendo.com>
10451 * gst/base/Makefile.am:
10452 * gst/base/gstadapter.c: (gst_adapter_base_init),
10453 (gst_adapter_class_init), (gst_adapter_init),
10454 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
10455 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
10456 (gst_adapter_flush), (gst_adapter_available),
10457 (gst_adapter_available_fast):
10458 * gst/base/gstadapter.h:
10459 Ported and added adapter to the base classes.
10461 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10464 * gst/gstmessage.c:
10465 Make sure the class is reffed/unreffed once before threads can be
10466 used. Fixes #304551.
10468 2005-05-17 Wim Taymans <wim@fluendo.com>
10470 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
10471 (gst_basesink_chain_unlocked), (gst_basesink_activate):
10472 * gst/gstminiobject.c: (gst_mini_object_get_type),
10473 (gst_mini_object_free):
10474 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
10475 (gst_pad_push), (gst_pad_push_event):
10476 * gst/gstqueue.c: (gst_queue_change_state):
10477 Don't queue buffers in basesink when we are flushing.
10478 Unref buffer when flushing in basesink.
10479 Flush queue when going to READY
10480 Unref buffer when _push() returns an error.
10481 Don't free MiniObject instance when refcount is incremented
10482 in _finalize() so that we can recover objects.
10484 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
10486 * docs/manual/advanced-schedulers.xml:
10487 * docs/manual/appendix-checklist.xml:
10488 * docs/pwg/advanced-clock.xml:
10489 * docs/pwg/advanced-interfaces.xml:
10490 * docs/pwg/advanced-request.xml:
10491 * docs/pwg/advanced-types.xml:
10492 * docs/pwg/intro-preface.xml:
10493 * examples/plugins/example.c: (gst_example_get_type),
10494 (gst_example_class_init), (gst_example_chain),
10495 (gst_example_set_property), (gst_example_get_property),
10496 (gst_example_change_state), (plugin_init):
10497 * examples/plugins/example.h:
10500 2005-05-17 Wim Taymans <wim@fluendo.com>
10502 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
10503 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
10504 * gst/gstqueue.c: (gst_queue_change_state):
10505 Clear queue when going to READY.
10506 Remove IN_SETCAPS flag too.
10508 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
10510 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
10511 Remove implicit cast from gboolean to GstElementStateReturn;
10512 make sure we still return failure in paused => ready case if
10513 the parent class fails to change state and our own stop
10516 2005-05-17 Wim Taymans <wim@fluendo.com>
10518 * tools/gst-launch.c: (event_loop):
10519 Message was unreffed too soon.
10521 2005-05-16 Andy Wingo <wingo@pobox.com>
10523 * gst/gstbin.c (sink_iterator_filter): Err... um...
10525 * check/gst/gstbin.c (test_ghost_pads): New test for the
10526 ghosting-if-elements-not-in-same-bin behavior.
10528 2005-05-16 David Schleef <ds@schleef.org>
10530 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
10531 accessing refcount directly.
10533 2005-05-15 David Schleef <ds@schleef.org>
10535 * check/Makefile.am: remove GstData checks
10536 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
10537 * gst/Makefile.am: add miniobject, remove data
10538 * gst/gst.h: add miniobject, remove data
10539 * gst/gstdata.c: remove
10540 * gst/gstdata.h: remove
10541 * gst/gstdata_private.h: remove
10542 * gst/gsttypes.h: remove GstEvent and GstMessage
10543 * gst/gstelement.c: (gst_element_post_message): fix for API changes
10544 * gst/gstmarshal.list: change BOXED -> OBJECT
10546 Implement GstMiniObject.
10547 * gst/gstminiobject.c:
10548 * gst/gstminiobject.h:
10550 Modify to be subclasses of GstMiniObject.
10551 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
10552 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
10553 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
10554 (gst_subbuffer_get_type), (gst_subbuffer_init),
10555 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
10558 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
10559 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
10560 (_gst_event_copy), (gst_event_new):
10562 * gst/gstmessage.c: (_gst_message_initialize),
10563 (gst_message_get_type), (gst_message_class_init),
10564 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
10565 (gst_message_new), (gst_message_new_error),
10566 (gst_message_new_warning), (gst_message_new_tag),
10567 (gst_message_new_state_changed), (gst_message_new_application):
10568 * gst/gstmessage.h:
10569 * gst/gstprobe.c: (gst_probe_perform),
10570 (gst_probe_dispatcher_dispatch):
10572 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
10573 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
10574 (_gst_query_copy), (gst_query_new):
10576 Update elements for GstData -> GstMiniObject changes
10578 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
10579 (gst_queue_chain), (gst_queue_loop):
10580 * gst/elements/gstbufferstore.c:
10581 (gst_buffer_store_add_buffer_func),
10582 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
10583 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
10584 (gst_fakesink_render):
10585 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
10586 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
10587 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
10588 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
10589 (gst_filesrc_create_read):
10590 * gst/elements/gstidentity.c: (gst_identity_class_init):
10591 * gst/elements/gsttypefindelement.c:
10592 (gst_type_find_element_src_event), (free_entry_buffers),
10593 (gst_type_find_element_handle_event):
10594 * libs/gst/dataprotocol/dataprotocol.c:
10595 (gst_dp_header_from_buffer):
10596 * libs/gst/dataprotocol/dataprotocol.h:
10597 * libs/gst/dataprotocol/dp-private.h:
10599 2005-05-15 David Schleef <ds@schleef.org>
10601 * gst/elements/gstelements.c: Don't include headers that were
10604 2005-05-15 David Schleef <ds@schleef.org>
10606 * gst/elements/Makefile.am: Remove some elements that don't
10607 need to be in the core (or even exist at all).
10608 * gst/elements/gstaggregator.c:
10609 * gst/elements/gstaggregator.h:
10610 * gst/elements/gstmd5sink.c:
10611 * gst/elements/gstmd5sink.h:
10612 * gst/elements/gstmultifilesrc.c:
10613 * gst/elements/gstmultifilesrc.h:
10614 * gst/elements/gstpipefilter.c:
10615 * gst/elements/gstpipefilter.h:
10616 * gst/elements/gstshaper.c:
10617 * gst/elements/gstshaper.h:
10618 * gst/elements/gststatistics.c:
10619 * gst/elements/gststatistics.h:
10620 * po/POTFILES.in: Remove above files.
10622 2005-05-14 Andy Wingo <wingo@pobox.com>
10624 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
10625 so as to get the refs right.
10626 (sink_iterator_filter): New function, wraps bin_element_is_sink,
10627 unreffing objects that don't pass the filter.
10629 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
10630 gst_element_set_bus.
10631 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
10632 normal cases, this will destroy the bus.
10634 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
10637 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
10640 2005-05-13 Andy Wingo <wingo@pobox.com>
10642 * gst/gstutils.c (gst_element_link_pads): Instead of calling
10643 gst_pad_link, call pad_link_maybe_ghosting,
10644 (pad_link_maybe_ghosting): Links pads, making sure that the
10645 elements being linked are in the same bin.
10646 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
10647 Helpers for pad_link_maybe_ghosting.
10649 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
10652 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
10654 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
10656 * docs/design/part-element-source.txt:
10659 2005-05-12 Wim Taymans <wim@fluendo.com>
10661 * gst/base/gstbasesink.c: (gst_basesink_init),
10662 (gst_basesink_activate):
10663 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
10664 (gst_basesrc_is_seekable):
10665 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
10666 (bin_element_is_sink), (gst_bin_change_state):
10667 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
10668 * gst/gstelement.h:
10669 Identify sinks by their flag to avoid overly complicated
10671 Do state changes even for elements not reachable from the
10673 BaseSink is a sink now :)
10674 Some more debugging info in the basesrc.
10677 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10679 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
10680 Implement _query on a bin, similar to _send_event.
10682 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
10684 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
10685 Discont event offset format should be GST_FORMAT_BYTES,
10686 not GST_FORMAT_TIME.
10688 2005-05-12 Wim Taymans <wim@fluendo.com>
10690 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
10691 Same fix as Ronald's but without the signal.
10693 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10695 * gst/gstutils.c: (gst_element_query_position):
10696 No, an element is not a pad.
10698 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10700 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
10701 (gst_bin_get_state):
10702 If a child is removed from a bin while we remove the child from
10703 the bin and while we're retrieving its state, signal this to the
10704 get_state function so we abort the wait (instead of waiting for
10705 a timeout) and can immediately re-iterate over all other elements.
10707 2005-05-12 Wim Taymans <wim@fluendo.com>
10709 * gst/base/Makefile.am:
10710 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
10711 (gst_basesrc_start):
10712 * gst/base/gstbasesrc.h:
10713 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
10714 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
10715 (gst_pushsrc_init), (gst_pushsrc_create):
10716 * gst/base/gstpushsrc.h:
10717 Added is_seekable to BaseSrc
10718 Added simple PushSrc.
10720 2005-05-11 Wim Taymans <wim@fluendo.com>
10722 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
10723 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10724 (gst_element_link_pads), (gst_element_query_position),
10725 (gst_element_query_convert), (intersect_caps_func),
10726 (gst_pad_query_position), (gst_pad_query_convert):
10727 Fix refcounting in utils function.
10728 No point in trying to activate a pad when it's added, it could
10729 be added from the state change function and then we deadlock, the
10730 element has to decide what to do.
10732 2005-05-10 Andy Wingo <wingo@pobox.com>
10734 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
10735 *all* the arguments.
10737 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
10738 stream lock if it's a FLUSH_DONE; normal flushes don't get the
10739 lock (according to the docs -- if this is wrong change the docs).
10741 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
10742 flush messages in the NULL state.
10744 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
10745 message immediately and return.
10746 (gst_bus_set_flushing): New function. If a bus is flushing, it
10747 flushes out any queued messages and immediately unrefs new
10748 messages. This is so when an element goes to NULL, all of the
10749 unhandled messages coming from it can be freed, and their
10750 references to the element dropped. In other words: message source
10751 ref considered harmful :P
10753 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
10754 we're finished with it.
10756 * gst/gstmessage.c (gst_message_new_state_changed):
10758 2005-05-10 Wim Taymans <wim@fluendo.com>
10760 * gst/gstvalue.c: (gst_value_compare_flags),
10761 (gst_value_serialize_flags), (gst_value_deserialize_flags),
10762 (_gst_value_initialize):
10763 Added flags serialize/deserialize/compare code.
10765 2005-05-09 Andy Wingo <wingo@pobox.com>
10767 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
10768 Intersect the peer's caps with our caps.
10770 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10772 * gst/base/gsttypefindhelper.c: (helper_find_peek):
10773 * gst/elements/gsttypefindelement.c: (find_peek):
10774 Handle negative offsets better. Fixes decodebin.
10776 2005-05-09 Wim Taymans <wim@fluendo.com>
10778 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
10779 (gst_base_transform_event):
10780 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
10781 Implement accept_caps.
10782 Fix silly lock/unlock mismatch in base class.
10784 2005-05-09 Wim Taymans <wim@fluendo.com>
10786 * docs/design/draft-push-pull.txt:
10787 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
10788 * gst/elements/gstfilesink.c: (gst_filesink_init),
10789 (gst_filesink_query):
10790 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
10791 (gst_type_find_handle_src_query), (find_element_get_length):
10792 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
10793 * gst/gstelement.h:
10794 * gst/gstmessage.c:
10795 * gst/gstmessage.h:
10796 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
10797 (gst_real_pad_get_caps_unlocked),
10798 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
10799 (gst_pad_event_default_dispatch), (gst_pad_event_default),
10800 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
10801 (gst_real_pad_dispose), (gst_real_pad_finalize),
10802 (gst_pad_load_and_link), (gst_pad_save_thyself),
10803 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
10804 (gst_pad_check_pull_range), (gst_pad_pull_range),
10805 (gst_pad_template_get_type), (gst_pad_template_class_init),
10806 (gst_pad_template_init), (gst_pad_template_dispose),
10807 (name_is_valid), (gst_static_pad_template_get),
10808 (gst_pad_template_new), (gst_static_pad_template_get_caps),
10809 (gst_pad_template_get_caps), (gst_pad_set_element_private),
10810 (gst_pad_get_element_private), (gst_pad_start_task),
10811 (gst_pad_pause_task), (gst_pad_stop_task),
10812 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
10813 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
10814 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
10815 (gst_ghost_pad_new):
10817 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
10818 (gst_query_new_position), (gst_query_set_position),
10819 (gst_query_parse_position), (gst_query_new_convert),
10820 (gst_query_set_convert), (gst_query_parse_convert):
10822 * gst/gstqueryutils.c:
10823 * gst/gstqueryutils.h:
10824 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
10825 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
10826 (gst_queue_handle_src_query):
10827 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10828 (gst_element_query_position), (gst_element_query_convert),
10829 (intersect_caps_func), (gst_pad_query_position),
10830 (gst_pad_query_convert):
10832 * tools/gst-inspect.c: (print_pad_info):
10833 * tools/gst-xmlinspect.c: (print_element_info):
10834 Remove old query functions. Ported old code.
10835 Added position/convert helper functions to gstutils.
10836 Reordered gstpad.c code, grouping relevant things.
10837 Remove gst_message_new(), always need to speficy a specific
10841 2005-05-09 Andy Wingo <wingo@pobox.com>
10843 * gst/gstiterator.h: Add some includes.
10845 * gst/gstqueryutils.h: Include more headers.
10848 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
10849 some uses of gst_pad_query.
10851 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
10852 NULL out parameters.
10853 (gst_query_new_position): New proc, allocates a new position
10856 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
10857 gstqueryutils.c to the build.
10859 * gst/gststructure.c (gst_structure_set_valist): Implement with
10860 the generic G_VALUE_COLLECT.
10862 2005-05-08 Edward Hervey <bilboed@bilboed.com>
10864 * gst/Makefile.am: (gst_headers):
10865 Added gstqueryutils.h to the list of headers to install, that was
10866 a 'nachty' move wingo :)
10868 2005-05-06 Andy Wingo <wingo@pobox.com>
10871 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
10872 GstData, init a memchunk.
10873 (standard_definitions): Add a few query types, deprecate a few.
10874 (gst_query_get_type): New proc.
10875 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
10877 (gst_query_new_application, gst_query_get_structure): New public
10880 * docs/design/draft-query.txt: Removed LINKS from the query types,
10881 because all the rest can be dispatched to other pads -- seemed
10882 ugly to have a query that couldn't be dispatched. internal_links
10883 is fine as a pad method.
10885 * gst/gstpad.h: Add query2 as a pad method, add the new functions
10886 in gstpad.c, but maintain binary compatibility for the moment.
10887 Will fix before 0.9 is out.
10889 * gst/gstqueryutils.c:
10890 * gst/gstqueryutils.h: New files, implement 3 methods for each
10891 query type: parse_query, parse_response, and set. Probably need an
10894 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
10896 * gst/elements/gstfilesink.c (gst_filesink_query2):
10897 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
10898 query_types, and formats methods.
10900 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
10901 (gst_pad_set_query2_function): New functions.
10902 (gst_real_pad_init): Set query2_default as the default query2
10903 function. Basically just dispatches to internally linked pads.
10907 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
10908 without using the atomic operations. Only one thread can possibly
10909 be accessing the data at this point. Changed so as to avoid
10910 gst_atomic operations.
10912 2005-05-06 Wim Taymans <wim@fluendo.com>
10914 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
10915 Also set caps if we use the fallback buffer alloc.
10917 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
10919 * docs/gst/Makefile.am:
10920 * docs/gst/gstreamer-docs.sgml:
10921 * docs/gst/gstreamer-sections.txt:
10922 * docs/gst/tmpl/gstatomic.sgml:
10923 * docs/gst/tmpl/gstmemchunk.sgml:
10924 * testsuite/elements/struct_i386.h:
10925 * win32/GStreamer.vcproj:
10927 Purge GstAtomic stuff from docs and win32 makefiles as well
10929 2005-05-06 Wim Taymans <wim@fluendo.com>
10931 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
10932 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
10933 * gst/gstpad.c: (gst_pad_peer_get_caps):
10934 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
10935 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
10936 (gst_queue_src_activate), (gst_queue_change_state):
10938 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10939 (intersect_caps_func):
10940 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
10941 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
10942 Some fixes for the peer_get_caps() change.
10944 2005-05-06 Wim Taymans <wim@fluendo.com>
10946 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10947 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
10948 (gst_basesink_activate):
10949 Actually do something with error codes returned from the push
10952 2005-05-06 Wim Taymans <wim@fluendo.com>
10954 * docs/design/part-element-sink.txt:
10955 * docs/design/part-element-source.txt:
10956 * gst/base/gstbasesink.c: (gst_basesink_class_init),
10957 (gst_basesink_event), (gst_basesink_activate):
10958 * gst/base/gstbasesink.h:
10959 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
10960 (gst_basesrc_activate):
10961 * gst/base/gstbasesrc.h:
10962 * gst/gstelement.c: (gst_element_pads_activate):
10963 Some more documentation.
10964 Fixed scheduling decision in _pads_activate().
10966 2005-05-05 Andy Wingo <wingo@pobox.com>
10968 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
10971 2005-05-05 Wim Taymans <wim@fluendo.com>
10973 * gst/base/Makefile.am:
10974 * gst/base/gstbasesink.h:
10975 * gst/base/gstbasesrc.c: (gst_basesrc_init),
10976 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
10977 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
10978 (gst_collectpads_class_init), (gst_collectpads_init),
10979 (gst_collectpads_finalize), (gst_collectpads_new),
10980 (gst_collectpads_set_function), (gst_collectpads_add_pad),
10981 (find_pad), (gst_collectpads_remove_pad),
10982 (gst_collectpads_is_active), (gst_collectpads_collect),
10983 (gst_collectpads_collect_range), (gst_collectpads_start),
10984 (gst_collectpads_stop), (gst_collectpads_peek),
10985 (gst_collectpads_pop), (gst_collectpads_available),
10986 (gst_collectpads_read), (gst_collectpads_flush),
10987 (gst_collectpads_chain):
10988 * gst/base/gstcollectpads.h:
10989 * gst/elements/Makefile.am:
10990 * gst/elements/gstelements.c:
10991 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
10992 (gst_fakesink_get_times), (gst_fakesink_event),
10993 (gst_fakesink_preroll), (gst_fakesink_render):
10994 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
10995 (gst_filesink_init), (gst_filesink_set_location),
10996 (gst_filesink_open_file), (gst_filesink_close_file),
10997 (gst_filesink_pad_query), (gst_filesink_event),
10998 (gst_filesink_render), (gst_filesink_change_state):
10999 * gst/elements/gstfilesink.h:
11000 Added object to help in making collect pad based elements.
11002 Make event function in sink baseclass return gboolean.
11004 2005-05-05 Wim Taymans <wim@fluendo.com>
11006 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
11007 (gst_bin_get_by_name):
11009 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
11010 (gst_clock_finalize):
11011 * gst/gstdata.c: (gst_data_replace):
11013 * gst/gstelement.c: (gst_element_request_pad),
11014 (gst_element_pads_activate):
11015 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
11016 (gst_object_unref):
11017 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11018 (gst_pad_set_checkgetrange_function),
11019 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
11020 (gst_pad_check_pull_range), (gst_pad_pull_range),
11021 (gst_static_pad_template_get_caps), (gst_pad_start_task),
11022 (gst_pad_pause_task), (gst_pad_stop_task):
11023 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11024 (gst_element_request_pad), (gst_pad_proxy_getcaps):
11025 Fix name lookup in GstBin.
11026 Added _data_replace() function and _buffer_replace()
11027 Use finalize method to clean up clock.
11028 Fix refcounting on request pads.
11029 Fix pad schedule mode error.
11030 Some more object refcounting debug info,
11033 2005-05-04 Andy Wingo <wingo@pobox.com>
11035 * check/Makefile.am:
11036 * docs/gst/tmpl/gstatomic.sgml:
11037 * docs/gst/tmpl/gstplugin.sgml:
11038 * gst/base/gstbasesink.c: (gst_basesink_activate):
11039 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
11040 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
11041 (gst_basesrc_query), (gst_basesrc_set_property),
11042 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
11043 (gst_basesrc_activate):
11044 * gst/base/gstbasesrc.h:
11045 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
11046 (gst_base_transform_src_activate):
11047 * gst/elements/gstelements.c:
11048 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11049 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
11050 * gst/elements/gsttee.c: (gst_tee_sink_activate):
11051 * gst/elements/gsttypefindelement.c: (find_element_get_length),
11052 (gst_type_find_element_checkgetrange),
11053 (gst_type_find_element_activate):
11054 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
11055 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
11056 (gst_caps_load_thyself):
11057 * gst/gstelement.c: (gst_element_pads_activate),
11058 (gst_element_save_thyself), (gst_element_restore_thyself):
11059 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
11060 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
11062 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
11063 (gst_xml_parse_file), (gst_xml_parse_memory),
11064 (gst_xml_get_element), (gst_xml_make_element):
11065 * gst/indexers/gstfileindex.c: (gst_file_index_load),
11066 (_file_index_id_save_xml), (gst_file_index_commit):
11067 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
11068 (read_enum), (load_pad_template), (load_feature), (load_plugin),
11070 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
11071 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
11072 * tools/gst-complete.c: (main):
11073 * tools/gst-compprep.c: (main):
11074 * tools/gst-inspect.c: (print_element_properties_info):
11075 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
11076 * tools/gst-xmlinspect.c: (print_element_properties):
11079 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
11081 * gst/gstplugin.c: (gst_plugin_check_module),
11082 (gst_plugin_check_file), (gst_plugin_load_file):
11083 apply patch from #172526 to make register work on MacOSX
11085 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
11087 * docs/gst/tmpl/gstconfig.sgml:
11088 * gst/gstconfig.h.in:
11089 move documentation for some symbols. Add doc for GST_PTR_FORMAT
11090 * testsuite/debug/printf_extension.c: (main):
11091 Do not use GST_PTR_FORMAT on pointers to types with
11092 sizeof < sizeof(gpointer). Fixes test on 64-bit
11093 * testsuite/elements/property.h:
11094 use correct printf format
11096 2005-05-02 Wim Taymans <wim@fluendo.com>
11098 * docs/design/draft-push-pull.txt:
11099 * docs/design/draft-query.txt:
11100 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
11101 (gst_basesrc_start):
11102 Added draft for new query API.
11103 Added draft for better selecting scheduling methods.
11104 Make basesrc ignore length if the subclass does not support
11107 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
11110 possible fixes for automake-1.5 - _LIBADD is reserved
11112 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
11114 * docs/faq/Makefile.am:
11115 * docs/manual/Makefile.am:
11116 * docs/manuals.mak:
11117 * docs/pwg/Makefile.am:
11119 possible fixes for automake-1.5
11121 2005-04-28 Wim Taymans <wim@fluendo.com>
11123 * gst/base/gstbasesink.c: (gst_basesink_base_init),
11124 (gst_basesink_pad_getcaps), (gst_basesink_init),
11125 (gst_basesink_do_sync):
11126 * gst/gstclock.c: (gst_clock_entry_new):
11127 * gst/gstevent.c: (gst_event_discont_get_value):
11128 * gst/gstpipeline.c: (pipeline_bus_handler),
11129 (gst_pipeline_change_state):
11130 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
11131 Better debugging of clocking info.
11132 Allow NULL values when getting discont values.
11134 2005-04-27 Wim Taymans <wim@fluendo.com>
11136 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
11137 * check/gst/gstpad.c: (gst_pad_suite):
11138 Increase timeout for checks.
11140 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11142 * check/Makefile.am:
11143 fix the broken rule for cleanup. Apparently this rule is
11144 only needed on FC2, so maybe this warrants further autotool
11147 2005-04-26 Wim Taymans <wim@fluendo.com>
11149 * gst/gsttrashstack.h:
11150 Ooohh. a nasty one! After having a failed pop() from the stack,
11151 it's possible that the stack is empty. In that case, don't
11152 follow the NULL pointer.
11154 2005-04-25 Wim Taymans <wim@fluendo.com>
11156 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11157 (gst_pad_set_checkgetrange_function),
11158 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
11159 (gst_pad_check_pull_range), (gst_pad_pull_range),
11160 (gst_static_pad_template_get_caps), (gst_pad_start_task),
11161 (gst_pad_pause_task), (gst_pad_stop_task):
11162 * gst/gstplugin.c: (gst_plugin_load):
11164 Remove gst_library_load as it does more harm than good with
11165 the new g_module flags.
11166 Revert bogus caps template check in pad linking, pad caps
11167 are important when linking not the template, which is more
11168 general than the current caps.
11170 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11172 * gst/autoplug/.cvsignore:
11173 * gst/autoplug/Makefile.am:
11174 * gst/autoplug/gstsearchfuncs.c:
11175 * gst/autoplug/gstsearchfuncs.h:
11176 * gst/autoplug/gstspider.c:
11177 * gst/autoplug/gstspider.h:
11178 * gst/autoplug/gstspideridentity.c:
11179 * gst/autoplug/gstspideridentity.h:
11180 * gst/autoplug/spidertest.c:
11183 2005-04-25 Wim Taymans <wim@fluendo.com>
11185 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11186 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
11187 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
11188 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
11190 Added stubs for unimplemented functions.
11192 2005-04-24 David Schleef <ds@schleef.org>
11194 * gst/gstpad.h: Disable some unimplemented functions. Wim,
11197 2005-04-24 David Schleef <ds@schleef.org>
11199 Convert everything from GstAtomicInt to g_atomic_int_*, and
11204 * gst/gstatomic_impl.h:
11212 * gst/gstdata_private.h:
11216 * gst/gstmessage.c:
11219 * gst/gststructure.c:
11220 * gst/gststructure.h:
11221 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
11224 2005-04-24 David Schleef <ds@schleef.org>
11226 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
11227 make the regressions tests work. Remove some code that is no
11229 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
11230 Disable warning for pads without templates.
11232 2005-04-24 David Schleef <ds@schleef.org>
11234 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
11235 functions that handle filtered links.
11236 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
11238 * gst/gstutils.c: Fix/remove utility functions that handle
11241 * gst/gstvalue.c: Add serialization/deserialization of caps
11242 * gst/parse/grammar.y: Ignore filtered caps when linking. This
11243 requires fixing so that the filter caps notation creates
11244 a capsfilter element and sets the filter_caps property. I
11245 think everyone probably wants to keep the shorthand notation.
11246 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
11247 * docs/gst/tmpl/gstpad.sgml:
11249 * gst/elements/gstelements.c: Register capsfilter element.
11250 * gst/Makefile.am: fix spacing
11251 * docs/random/ds/0.9-suggested-changes: random
11253 2005-04-23 David Schleef <ds@schleef.org>
11255 * gst/elements/Makefile.am:
11256 * gst/elements/gstcapsfilter.c: New element that acts like an
11257 identity, but filters caps. Will eventually replace filtered
11258 caps in pad linking.
11259 * gst/gstutils.c: (gst_element_create_all_pads): New function
11260 to create all the ALWAYS pads that are registered with an
11261 element class. This functionality should eventually be
11262 merged in with GstElement initialization.
11264 * testsuite/trigger/README: part of trigger test code that should
11265 have been checked in a long time ago.
11267 2005-04-23 David Schleef <ds@schleef.org>
11269 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
11270 needed with new versions of libtool (nobody will confirm this),
11271 and hard to carry around.
11272 * gst/autoplug/Makefile.am:
11273 * gst/base/Makefile.am:
11274 * gst/elements/Makefile.am:
11275 * gst/indexers/Makefile.am:
11276 * gst/schedulers/Makefile.am:
11277 * libs/gst/bytestream/Makefile.am:
11278 * libs/gst/control/Makefile.am:
11279 * libs/gst/dataprotocol/Makefile.am:
11280 * libs/gst/getbits/Makefile.am:
11282 2005-04-21 Wim Taymans <wim@fluendo.com>
11284 * docs/design/draft-push-pull.txt:
11285 * docs/design/part-MT-refcounting.txt:
11286 * docs/design/part-TODO.txt:
11287 * docs/design/part-caps.txt:
11288 * docs/design/part-events.txt:
11289 * docs/design/part-gstbus.txt:
11290 * docs/design/part-gstpipeline.txt:
11291 * docs/design/part-messages.txt:
11292 * docs/design/part-push-pull.txt:
11293 * docs/design/part-query.txt:
11296 2005-04-21 Wim Taymans <wim@fluendo.com>
11298 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
11299 (gst_message_new), (gst_message_new_error),
11300 (gst_message_new_warning), (gst_message_new_tag),
11301 (gst_message_new_state_changed), (gst_message_new_application),
11302 (gst_message_get_structure):
11303 * gst/gstmessage.h:
11304 * gst/gststructure.c: (gst_structure_set_parent_refcount),
11305 (gst_structure_copy_conditional):
11306 Use parent refcount in GstMessage to ensure GstStructure
11308 Cleaned up headers a bit.
11311 2005-04-20 Wim Taymans <wim@fluendo.com>
11313 * gst/base/gstbasesink.c: (gst_basesink_base_init),
11314 (gst_basesink_pad_getcaps), (gst_basesink_init),
11315 (gst_basesink_chain_unlocked):
11316 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
11317 (gst_type_find_helper):
11318 * gst/elements/gsttypefindelement.c:
11319 (gst_type_find_element_have_type), (gst_type_find_element_init),
11320 (stop_typefinding), (gst_type_find_element_handle_event),
11321 (find_suggest), (gst_type_find_element_chain),
11322 (gst_type_find_element_checkgetrange),
11323 (gst_type_find_element_getrange), (do_typefind),
11324 (gst_type_find_element_activate):
11325 * gst/gstbuffer.c: (_gst_buffer_sub_free),
11326 (gst_buffer_default_free), (gst_buffer_default_copy),
11327 (gst_buffer_set_caps):
11328 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
11329 (gst_caps_replace):
11330 * gst/gstmessage.c: (gst_message_new),
11331 (gst_message_new_state_changed):
11332 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11333 (gst_pad_set_checkgetrange_function),
11334 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
11335 (gst_pad_set_caps), (gst_pad_check_pull_range),
11336 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
11338 * gst/gsttypefind.c: (gst_type_find_register):
11339 Make gst_caps_replace() work like other _replace() functions.
11340 Use _caps_replace() where possible.
11341 Make sure _message_new() initialises its field.
11342 Add gst_static_pad_template_get_caps()
11345 2005-04-18 Andy Wingo <wingo@pobox.com>
11347 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
11348 on the peer, not the pad. I think that was a typo. Pass an extra
11349 arg to see if random access is possible. Activate the pads as
11350 PULL_RANGE if possible.
11352 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
11354 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
11355 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
11358 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11360 * docs/faq/using.xml:
11361 Add note on gstreamer-properties (#154996).
11363 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11365 * docs/random/bbb/optional-properties:
11366 Some analysis on optional properties.
11368 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11370 * docs/gst/tmpl/gstelementfactory.sgml:
11371 * gst/gstelement.h:
11372 * gst/gstelementfactory.c: (gst_element_factory_init),
11373 (gst_element_factory_cleanup), (gst_element_register),
11374 (__gst_element_factory_add_static_pad_template),
11375 (gst_element_factory_get_static_pad_templates),
11376 (gst_element_factory_can_src_caps),
11377 (gst_element_factory_can_sink_caps):
11378 * gst/registries/Makefile.am:
11379 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
11380 (gst_xml_registry_class_init), (gst_xml_registry_init),
11381 (gst_xml_registry_new), (gst_xml_registry_set_property),
11382 (gst_xml_registry_get_property), (get_time), (make_dir),
11383 (gst_xml_registry_get_perms_func),
11384 (plugin_times_older_than_recurse), (plugin_times_older_than),
11385 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
11386 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
11387 (add_to_char_array), (read_string), (read_uint), (read_enum),
11388 (load_pad_template), (load_feature), (load_plugin), (load_paths),
11389 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
11390 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
11391 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
11392 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
11393 (gst_xml_registry_rebuild):
11394 * gst/registries/gstlibxmlregistry.h:
11395 * tools/gst-compprep.c: (main):
11396 * tools/gst-inspect.c: (print_pad_templates_info):
11397 * tools/gst-xmlinspect.c: (print_element_info):
11398 Use libxml2 for registry parsing, use staticpadtemplates in
11399 elementfactories. Makes gst_init() +/- 10x faster.
11401 2005-04-12 Wim Taymans <wim@fluendo.com>
11403 * gst/base/Makefile.am:
11404 * gst/base/gstbasesink.c: (gst_basesink_base_init),
11405 (gst_basesink_pad_getcaps), (gst_basesink_init),
11406 (gst_basesink_event), (gst_basesink_change_state):
11407 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11408 (gst_basesrc_init), (gst_basesrc_query),
11409 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
11410 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
11411 (gst_basesrc_check_get_range), (gst_basesrc_loop),
11412 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
11413 (gst_basesrc_stop), (gst_basesrc_activate),
11414 (gst_basesrc_change_state):
11415 * gst/base/gsttypefindhelper.c: (helper_find_peek),
11416 (helper_find_suggest), (gst_type_find_helper):
11417 * gst/base/gsttypefindhelper.h:
11418 * gst/elements/Makefile.am:
11419 * gst/elements/gstelements.c:
11420 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11421 (gst_fakesink_get_times), (gst_fakesink_event),
11422 (gst_fakesink_preroll), (gst_fakesink_render):
11423 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11424 (gst_fakesrc_init), (gst_fakesrc_event_handler),
11425 (gst_fakesrc_get_property), (gst_fakesrc_create),
11426 (gst_fakesrc_start), (gst_fakesrc_stop):
11427 * gst/elements/gstfakesrc.h:
11428 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
11429 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
11430 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
11431 (gst_filesrc_create_read), (gst_filesrc_create),
11432 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
11433 (gst_filesrc_start):
11434 * gst/elements/gsttypefindelement.c:
11435 (gst_type_find_element_have_type), (gst_type_find_element_init),
11436 (start_typefinding), (stop_typefinding), (push_buffer_store),
11437 (gst_type_find_element_handle_event),
11438 (gst_type_find_element_chain),
11439 (gst_type_find_element_checkgetrange),
11440 (gst_type_find_element_getrange), (do_typefind),
11441 (gst_type_find_element_activate),
11442 (gst_type_find_element_change_state):
11443 * gst/elements/gsttypefindelement.h:
11444 * gst/gstpipeline.c: (pipeline_bus_handler):
11445 Added typefind helper.
11446 Small preroll fix in the base sink.
11447 Disable typefind code in basesrc.
11448 Crude port of typefindelement.
11452 2005-04-11 Wim Taymans <wim@fluendo.com>
11454 * check/gst/gstbus.c: (gstbus_suite):
11455 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
11456 * check/gstcheck.h:
11457 Fix up the timeout so that the test does not fail.
11459 2005-04-06 Wim Taymans <wim@fluendo.com>
11462 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11463 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
11464 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
11465 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
11466 (gst_basesrc_check_get_range), (gst_basesrc_loop),
11467 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
11468 (gst_basesrc_stop), (gst_basesrc_activate),
11469 (gst_basesrc_change_state), (basesrc_find_peek),
11470 (basesrc_find_suggest), (gst_basesrc_type_find):
11471 * gst/base/gstbasesrc.h:
11472 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
11473 (gst_filesrc_class_init), (gst_filesrc_init),
11474 (gst_filesrc_finalize), (gst_filesrc_set_location),
11475 (gst_filesrc_set_property), (gst_filesrc_get_property),
11476 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
11477 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
11478 (gst_filesrc_create_read), (gst_filesrc_create),
11479 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
11480 * gst/elements/gstfilesrc.h:
11481 * gst/gstelement.c: (gst_element_get_state_func),
11482 (gst_element_lost_state), (gst_element_pads_activate):
11483 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11484 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
11485 (gst_pad_pull_range):
11487 More work on the generic source base class, implement seeking,
11489 Make filesrc extend the base source class.
11490 Added gst_pad_set_checkgetrange_function to GstPad.
11492 2005-04-06 Andy Wingo <wingo@pobox.com>
11494 * pkgconfig/gstreamer-base.pc.in:
11495 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
11497 * pkgconfig/Makefile.am:
11498 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
11500 2005-04-04 Wim Taymans <wim@fluendo.com>
11502 * gst/base/Makefile.am:
11504 * gst/base/gstbasesink.c: (gst_basesink_base_init),
11505 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
11506 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
11507 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
11508 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11509 (gst_basesrc_base_init), (gst_basesrc_class_init),
11510 (gst_basesrc_init), (gst_basesrc_get_formats),
11511 (gst_basesrc_get_query_types), (gst_basesrc_query),
11512 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
11513 (gst_basesrc_set_property), (gst_basesrc_get_property),
11514 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
11515 (gst_basesrc_loop), (gst_basesrc_activate),
11516 (gst_basesrc_change_state):
11517 * gst/base/gstbasesrc.h:
11518 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
11519 (gst_fakesrc_class_init), (gst_fakesrc_init),
11520 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
11521 (gst_fakesrc_get_property), (gst_fakesrc_create):
11522 * gst/elements/gstfakesrc.h:
11523 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
11524 (gst_filesrc_open_file), (gst_filesrc_loop),
11525 (gst_filesrc_activate), (filesrc_find_peek),
11526 (gst_filesrc_type_find):
11527 Made base source class, make fakesrc extend it.
11528 Add comments to basesink class.
11529 Some filesrc cleanup.
11531 2005-03-31 David Schleef <ds@schleef.org>
11533 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
11534 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
11535 expected to link against libgstreamer.
11536 * gst/base/Makefile.am: link against libgstreamer
11537 * gst/elements/Makefile.am: same
11539 2005-03-31 Andy Wingo <wingo@pobox.com>
11541 * tests/instantiate/Makefile.am:
11542 * tests/instantiate/caps.c: Add test to test speed of caps copy
11545 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
11546 GMemChunk to be fair.
11548 * gst/gsttrashstack.h: Remove warning about using the fallback
11549 trash stack implementation, it's still faster than malloc.
11551 2005-03-30 Andy Wingo <wingo@pobox.com>
11553 * tests/complexity.c: Add a copyright.
11555 2005-03-31 Wim Taymans <wim@fluendo.com>
11557 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
11558 (gst_base_transform_class_init), (gst_base_transform_init),
11559 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
11560 (gst_base_transform_get_property),
11561 (gst_base_transform_sink_activate),
11562 (gst_base_transform_src_activate),
11563 (gst_base_transform_change_state):
11564 * gst/base/gstbasetransform.h:
11565 * gst/elements/gstidentity.c: (gst_identity_class_init),
11566 (gst_identity_event), (gst_identity_check_perfect),
11567 (gst_identity_transform), (gst_identity_start),
11568 (gst_identity_stop):
11569 Added start/stop methods to transform base class so subclasses
11570 don't need to deal with state changes even.
11572 2005-03-31 Wim Taymans <wim@fluendo.com>
11574 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
11575 (gst_event_new_discontinuous), (gst_event_discont_get_value):
11577 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11578 (gst_pad_pull_range):
11579 Added rate to the discont event to prepare for variable speed
11580 and reverse playback.
11582 2005-03-29 David Schleef <ds@schleef.org>
11585 * testsuite/trigger/Makefile.am:
11586 * testsuite/trigger/trigger.c: A little example program to show
11587 how trigger-based elements can work.
11589 2005-03-29 Wim Taymans <wim@fluendo.com>
11591 * gst/base/Makefile.am:
11593 * gst/base/gstbasesink.c: (gst_basesink_get_type),
11594 (gst_basesink_base_init), (gst_basesink_class_init),
11595 (gst_basesink_pad_getcaps), (gst_basesink_init),
11596 (gst_basesink_activate), (gst_basesink_change_state):
11597 * gst/base/gstbasesink.h:
11598 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
11599 (gst_base_transform_base_init), (gst_base_transform_finalize),
11600 (gst_base_transform_class_init), (gst_base_transform_init),
11601 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
11602 (gst_base_transform_event), (gst_base_transform_getrange),
11603 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
11604 (gst_base_transform_set_property),
11605 (gst_base_transform_get_property),
11606 (gst_base_transform_sink_activate),
11607 (gst_base_transform_src_activate),
11608 (gst_base_transform_change_state):
11609 * gst/base/gstbasetransform.h:
11610 * gst/elements/gstidentity.c: (gst_identity_finalize),
11611 (gst_identity_class_init), (gst_identity_init),
11612 (gst_identity_event), (gst_identity_check_perfect),
11613 (gst_identity_transform), (gst_identity_set_property),
11614 (gst_identity_get_property), (gst_identity_change_state):
11615 * gst/elements/gstidentity.h:
11616 * gst/gstelement.c: (gst_element_get_state_func),
11617 (gst_element_lost_state), (gst_element_pads_activate):
11618 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11619 (gst_pad_check_pull_range), (gst_pad_pull_range):
11621 Simplify pad activation.
11622 Added function to check if pull_range can be performed.
11623 Error out when pulling inactive or flushing pads.
11624 Removed const from refcounted types as it does not make sense.
11625 Simplify pad templates in basesink
11626 Added base class for simple 1-to-1 transforms.
11627 Make identity subclass the base transform.
11629 2005-03-29 Andy Wingo <wingo@pobox.com>
11631 * docs/libs/gstreamer-libs-overrides.txt:
11632 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
11633 really don't understand what's going on, but like whatever. I want
11636 * docs/gst/Makefile.am:
11637 * docs/libs/Makefile.am: Dist the overrides files.
11639 * check/Makefile.am (clean-local): Remove .libs directories.
11641 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
11642 elements to EXTRA_DIST, so po/ files are happy.
11644 * po/POTFILES.in: Er, remove it here.
11646 * po/POTFILES: Remove gstspider.c.
11648 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
11650 * docs/libs/gstreamer-libs-docs.sgml:
11651 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
11654 * tests/complexity.c (main): Set the length of the preroll queue
11655 on the sinks to prevent a lockup.
11657 * libs/gst/dataprotocol/Makefile.am:
11658 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
11659 the same as the one in check/gst-libs/gdp.c.
11661 * po/, docs/gst/: Commit automatic changes to docs and po files.
11663 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
11664 the versioned libgstbase.
11666 * check/Makefile.am: Depend on an unversioned gst-register, seems
11667 to make autoconf happier.
11669 * gst/base/Makefile.am: Make libgstbase a versioned lib.
11671 2005-03-28 Wim Taymans <wim@fluendo.com>
11674 * docs/design/part-gstelement.txt:
11675 * docs/design/part-negotiation.txt:
11676 * docs/design/part-preroll.txt:
11677 * docs/design/part-scheduling.txt:
11678 * docs/design/part-states.txt:
11680 * gst/base/Makefile.am:
11682 * gst/base/gstbasesink.c: (gst_basesink_get_template),
11683 (gst_basesink_base_init), (gst_basesink_class_init),
11684 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
11685 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
11686 (gst_basesink_set_pad_functions),
11687 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
11688 (gst_basesink_set_property), (gst_basesink_get_property),
11689 (gst_base_sink_get_template), (gst_base_sink_get_caps),
11690 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
11691 (gst_basesink_preroll_queue_push),
11692 (gst_basesink_preroll_queue_empty),
11693 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
11694 (gst_basesink_event), (gst_basesink_get_times),
11695 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
11696 (gst_basesink_chain_unlocked), (gst_basesink_chain),
11697 (gst_basesink_loop), (gst_basesink_activate),
11698 (gst_basesink_change_state):
11699 * gst/base/gstbasesink.h:
11700 * gst/elements/Makefile.am:
11701 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
11702 (gst_fakesink_class_init), (gst_fakesink_init),
11703 (gst_fakesink_set_property), (gst_fakesink_get_property),
11704 (gst_fakesink_get_times), (gst_fakesink_event),
11705 (gst_fakesink_preroll), (gst_fakesink_render),
11706 (gst_fakesink_change_state):
11707 * gst/elements/gstfakesink.h:
11708 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
11709 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
11710 * gst/gstelement.c: (gst_element_add_pad),
11711 (gst_element_get_state_func), (gst_element_abort_state),
11712 (gst_element_commit_state), (gst_element_lost_state),
11713 (gst_element_set_state), (gst_element_pads_activate):
11714 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
11715 * gst/gstpipeline.c: (gst_pipeline_send_event),
11716 (gst_pipeline_change_state):
11717 Added state change code.
11718 Added/updated docs.
11719 Added sink base class, make fakesink extend the base class.
11720 Small cleanups in GstPipeline.
11722 2005-03-26 David Schleef <ds@schleef.org>
11724 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
11725 is broken and should be implemented in a different library.
11726 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
11727 * gst/gst.h: remove gstcpu.h
11728 * gst/gstcpu.c: remove
11729 * gst/gstcpu.h: remove
11730 * gst/Makefile.am.future: Remove this file. It's ancient.
11732 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11734 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
11735 (gst_bin_send_event):
11736 Add default event/set_manager handlers. The set_manager handler
11737 takes care that the manager is distributed over kids that were
11738 already in the bin before the manager was set. The event handler
11739 is a utility virtual function that sends the event over all sinks,
11740 so that gst_element_send_event (bin, event); has the expected
11742 * gst/gstpad.c: (gst_pad_event_default):
11743 Re-install default event handling for discontinuities, so that
11744 seeking works without requiring hacks in applications or extra
11746 * gst/gstpipeline.c: (gst_pipeline_class_init),
11747 (gst_pipeline_send_event):
11748 Half hack, half utility: set a pipeline to PAUSED for seek events,
11749 since that is the only way we can guarantee a/v sync. Means that
11750 you can do gst_element_seek (pipeline, method, pos); on a pipeline
11751 and it "just works".
11753 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11755 * gst/gstpipeline.c: (gst_pipeline_use_clock):
11756 Lock/unlock mismatch.
11758 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
11760 * docs/faq/gst-uninstalled:
11761 add gst-plugins-base
11762 * docs/gst/Makefile.am:
11763 don't error out until docs are fixed
11764 * docs/gst/gstreamer.types:
11767 2005-03-22 Wim Taymans <wim@fluendo.com>
11769 * check/Makefile.am:
11770 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
11771 * gst/gststructure.c: (gst_structure_set_valist),
11772 (gst_structure_copy_conditional):
11773 Activated more tests.
11774 Added message test.
11775 Added G_TYPE_POINTER to GstStructure.
11778 2005-03-22 Wim Taymans <wim@fluendo.com>
11780 * docs/design/part-TODO.txt:
11781 * docs/design/part-events.txt:
11782 * docs/design/part-gstbin.txt:
11783 * docs/design/part-gstbus.txt:
11784 * docs/design/part-gstpipeline.txt:
11785 * docs/design/part-messages.txt:
11787 * gst/gstmessage.c:
11790 2005-03-21 Wim Taymans <wim@fluendo.com>
11792 * gst/gstbus.c: (gst_bus_post):
11793 Fix copy-and-paste error.
11795 2005-03-21 Wim Taymans <wim@fluendo.com>
11797 * check/Makefile.am:
11799 * gst/elements/Makefile.am:
11800 * gst/elements/gstelements.c:
11801 * gst/elements/gstfakesink.c: (gst_fakesink_init),
11802 (gst_fakesink_event), (gst_fakesink_chain):
11803 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11804 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
11805 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
11806 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
11807 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
11808 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
11809 (gst_fakesrc_loop), (gst_fakesrc_activate),
11810 (gst_fakesrc_change_state):
11811 * gst/elements/gstfakesrc.h:
11812 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
11813 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
11814 (gst_filesrc_open_file), (gst_filesrc_loop),
11815 (gst_filesrc_activate), (gst_filesrc_change_state),
11816 (filesrc_find_peek), (filesrc_find_suggest),
11817 (gst_filesrc_type_find):
11818 * gst/elements/gstidentity.c: (gst_identity_finalize),
11819 (gst_identity_class_init), (gst_identity_init),
11820 (gst_identity_proxy_getcaps), (identity_queue_push),
11821 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
11822 (gst_identity_getrange), (gst_identity_chain),
11823 (gst_identity_sink_loop), (gst_identity_src_loop),
11824 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
11825 (gst_identity_set_property), (gst_identity_get_property),
11826 (gst_identity_change_state):
11827 * gst/elements/gstidentity.h:
11828 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11829 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
11830 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
11831 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
11832 (gst_tee_sink_activate):
11833 * gst/elements/gsttee.h:
11834 * gst/gst.c: (gst_register_core_elements), (init_post):
11836 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
11837 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
11838 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
11839 (gst_bin_change_state):
11841 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
11842 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
11843 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
11844 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
11845 (gst_bus_set_sync_handler), (gst_bus_create_watch),
11846 (bus_watch_callback), (bus_watch_destroy),
11847 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
11848 (poll_timeout), (gst_bus_poll):
11852 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
11853 (gst_element_post_message), (gst_element_message_full),
11854 (gst_element_get_state_func), (gst_element_get_state),
11855 (gst_element_abort_state), (gst_element_commit_state),
11856 (gst_element_lost_state), (gst_element_set_state),
11857 (gst_element_pads_activate), (gst_element_change_state),
11858 (gst_element_dispose), (gst_element_set_manager_func),
11859 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
11860 (gst_element_set_manager), (gst_element_get_manager),
11861 (gst_element_set_bus), (gst_element_get_bus),
11862 (gst_element_set_scheduler), (gst_element_get_scheduler):
11863 * gst/gstelement.h:
11864 * gst/gstevent.c: (gst_event_new_segment_seek),
11865 (gst_event_new_flush):
11867 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
11868 (_gst_message_free), (gst_message_get_type), (gst_message_new),
11869 (gst_message_new_eos), (gst_message_new_error),
11870 (gst_message_new_warning), (gst_message_new_tag),
11871 (gst_message_new_state_changed), (gst_message_new_application),
11872 (gst_message_get_structure), (gst_message_parse_tag),
11873 (gst_message_parse_state_changed), (gst_message_parse_error),
11874 (gst_message_parse_warning):
11875 * gst/gstmessage.h:
11876 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
11877 (gst_real_pad_set_property), (gst_pad_set_active),
11878 (gst_pad_is_active), (gst_pad_set_blocked_async),
11879 (gst_pad_set_blocked), (gst_pad_is_blocked),
11880 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
11881 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
11882 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
11883 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
11884 (gst_pad_link_filtered), (gst_pad_relink_filtered),
11885 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
11886 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
11887 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
11888 (gst_pad_set_caps), (gst_pad_configure_sink),
11889 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
11890 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
11891 (gst_real_pad_dispose), (gst_real_pad_finalize),
11892 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
11893 (gst_pad_event_default_dispatch), (gst_pad_event_default),
11894 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
11896 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
11897 (pipeline_bus_handler), (gst_pipeline_change_state),
11898 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
11899 * gst/gstpipeline.h:
11901 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
11902 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
11903 (gst_queue_link_src), (gst_queue_bufferalloc),
11904 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
11905 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
11906 (gst_queue_loop), (gst_queue_handle_src_event),
11907 (gst_queue_handle_src_query), (gst_queue_src_activate),
11908 (gst_queue_change_state):
11910 * gst/gstscheduler.c: (gst_scheduler_init),
11911 (gst_scheduler_dispose), (gst_scheduler_create_task),
11912 (gst_scheduler_factory_create):
11913 * gst/gstscheduler.h:
11914 * gst/gststructure.c: (gst_structure_get_type),
11915 (gst_structure_copy_conditional):
11916 * gst/gststructure.h:
11917 * gst/gsttaginterface.h:
11918 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
11919 (gst_task_init), (gst_task_dispose), (gst_task_create),
11920 (gst_task_get_state), (gst_task_start), (gst_task_stop),
11926 * gst/schedulers/Makefile.am:
11927 * gst/schedulers/cothreads_compat.h:
11928 * gst/schedulers/entryscheduler.c:
11929 * gst/schedulers/faircothreads.c:
11930 * gst/schedulers/faircothreads.h:
11931 * gst/schedulers/fairscheduler.c:
11932 * gst/schedulers/gstbasicscheduler.c:
11933 * gst/schedulers/gstoptimalscheduler.c:
11934 * gst/schedulers/gthread-cothreads.h:
11935 * gst/schedulers/threadscheduler.c:
11936 (gst_thread_scheduler_task_get_type),
11937 (gst_thread_scheduler_task_class_init),
11938 (gst_thread_scheduler_task_init),
11939 (gst_thread_scheduler_task_start),
11940 (gst_thread_scheduler_task_stop),
11941 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
11942 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
11943 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
11944 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
11946 * libs/gst/Makefile.am:
11947 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
11948 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
11949 (gst_file_pad_parent_set):
11950 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
11951 (gst_dp_event_from_packet):
11952 * tests/complexity.c: (main):
11953 * tests/mass_elements.c: (main):
11954 * testsuite/states/locked.c: (message_received), (main):
11955 * testsuite/states/parent.c: (main):
11956 * tools/gst-inspect.c: (print_element_flag_info),
11957 (print_implementation_info), (print_pad_info):
11958 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
11960 * tools/gst-md5sum.c: (event_loop), (main):
11961 * tools/gst-typefind.c: (main):
11962 * tools/gst-xmlinspect.c: (print_element_info):
11964 Added GstBus for mainloop integration.
11965 Added GstMessage for sending notifications on the bus.
11966 Added GstTask as an abstraction for pipeline entry points.
11968 Removed Schedulers.
11969 Simplified GstQueue for multithreaded core.
11970 Made _link threadsafe, removed old capsnego.
11971 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
11972 Added pad blocking functions.
11973 Reworked scheduling functions in GstPad to prepare for
11974 scheduling updates soon.
11975 Moved events out of data stream.
11976 Simplified GstEvent types.
11977 Added return values to push/pull.
11978 Removed clocking from GstElement.
11979 Added prototypes for state change function for next merge.
11980 Removed iterate from bins and state change management.
11981 Fixed some elements, disabled others for now.
11982 Fixed -inspect and -launch.
11983 Added check for GstBus.
11985 2005-03-10 Wim Taymans <wim@fluendo.com>
11987 * docs/design/part-MT-refcounting.txt:
11988 * docs/design/part-clocks.txt:
11989 * docs/design/part-gstelement.txt:
11990 * docs/design/part-gstobject.txt:
11991 * docs/design/part-standards.txt:
11992 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
11993 (gst_bin_remove_func), (gst_bin_remove):
11997 * testsuite/clock/clock1.c: (main):
11998 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
12000 * testsuite/dlopen/loadgst.c: (do_test):
12001 * testsuite/refcounting/bin.c: (add_remove_test1),
12002 (add_remove_test2), (main):
12003 * testsuite/refcounting/element.c: (main):
12004 * testsuite/refcounting/element_pad.c: (main):
12005 * testsuite/refcounting/pad.c: (main):
12006 * tools/gst-launch.c: (sigint_handler_sighandler):
12007 * tools/gst-typefind.c: (main):
12009 Added doc about clock.
12010 removed gst_bin_iterate_recurse_up(), marked methods
12012 Fix more testsuites.
12014 2005-03-09 Wim Taymans <wim@fluendo.com>
12016 * gst/gstpad.c: (gst_pad_get_direction),
12017 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
12018 (gst_pad_collect_valist):
12019 * testsuite/bins/interface.c: (main):
12020 * testsuite/caps/audioscale.c: (test_caps):
12021 * testsuite/caps/caps.c: (test1), (test2), (test3):
12022 * testsuite/caps/deserialize.c: (main):
12023 * testsuite/caps/enumcaps.c: (main):
12024 * testsuite/caps/filtercaps.c: (main):
12025 * testsuite/caps/intersect2.c: (main):
12026 * testsuite/caps/random.c: (main):
12027 * testsuite/caps/renegotiate.c: (my_fixate), (main):
12028 * testsuite/caps/sets.c: (check_caps):
12029 * testsuite/caps/simplify.c: (check_caps), (main):
12030 * testsuite/caps/subtract.c: (check_caps):
12031 Fix _pad_get_direction wrt ghostpads.
12032 Fix caps testsuite.
12034 2005-03-09 Wim Taymans <wim@fluendo.com>
12036 * check/Makefile.am:
12037 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
12038 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
12039 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
12040 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
12041 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
12042 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
12043 (gst_bin_remove), (gst_bin_iterate_recurse_up),
12044 (bin_element_is_sink), (gst_bin_iterate_sinks),
12045 (gst_bin_iterate_all_by_interface):
12047 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
12048 (gst_element_change_state), (gst_element_dispose),
12049 (gst_element_finalize), (gst_element_set_loop_function):
12050 * gst/gstelement.h:
12051 * gst/gstiterator.c: (find_custom_fold_func):
12052 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12053 (gst_pad_collectv), (gst_pad_collect_valist),
12054 (gst_pad_template_new):
12055 * gst/gstpipeline.c: (gst_pipeline_class_init),
12056 (gst_pipeline_dispose), (gst_pipeline_set_property),
12057 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
12058 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
12059 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
12061 * gst/schedulers/entryscheduler.c:
12062 * gst/schedulers/gstbasicscheduler.c:
12063 (gst_basic_scheduler_cothreaded_chain),
12064 (gst_basic_scheduler_chain_add_element):
12065 * testsuite/bins/interface.c: (main):
12067 Added GstSystemClock test.
12068 Implemented clock distribution code in GstBin.
12069 Implemented iterate sinks method for future use.
12070 Rearranged gstelement.h
12071 Fix GstIterator comparison bug.
12072 Moved some code to GstPipeline, mostly clocking related.
12074 2005-03-09 Wim Taymans <wim@fluendo.com>
12077 * gst/gst_private.h:
12078 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12079 (gst_bin_remove_func), (gst_bin_remove),
12080 (gst_bin_get_by_name_recurse_up):
12081 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
12082 (gst_clock_id_compare_func), (gst_clock_id_wait),
12083 (gst_clock_id_wait_async), (gst_clock_init),
12084 (gst_clock_adjust_unlocked), (gst_clock_get_time):
12085 * gst/gstelement.h:
12086 * gst/gstinfo.c: (_gst_debug_init):
12088 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12089 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
12091 Bump version number, we're now 0.9.0
12092 Add future debugging category.
12093 Fix NULL _unref() in _get_by_name_recurse_up
12094 Rearrange gstpad.h.
12097 2005-03-08 Wim Taymans <wim@fluendo.com>
12099 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
12100 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
12101 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
12102 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
12103 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
12104 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
12105 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
12106 * gst/elements/gstidentity.c: (gst_identity_class_init):
12107 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
12108 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
12109 * gst/elements/gstshaper.c: (gst_shaper_class_init):
12110 * gst/elements/gststatistics.c: (gst_statistics_class_init):
12111 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
12113 * gst/gstelement.c: (gst_element_class_init),
12114 (gst_element_base_class_init), (gst_element_init),
12115 (gst_element_get_random_pad), (gst_element_wait_state_change),
12116 (gst_element_change_state), (gst_element_dispose),
12117 (gst_element_finalize), (gst_element_set_loop_function):
12118 * gst/gstelement.h:
12119 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
12120 * gst/gstthread.c: (gst_thread_class_init),
12121 (gst_thread_release_children_locks), (gst_thread_change_state):
12122 * gst/schedulers/gstbasicscheduler.c:
12123 (gst_basic_scheduler_loopfunc_wrapper),
12124 (gst_basic_scheduler_chain_wrapper),
12125 (gst_basic_scheduler_src_wrapper),
12126 (gst_basic_scheduler_remove_element):
12127 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
12128 Remove threadsafe properties. Fix elements because GObject
12129 complains when installing a property before declaring a
12130 set/get_property handler.
12131 Rearrange gstelement.h file, use STATE macros for state locks.
12132 Free mutexes in the finalize method instead of dispose.
12134 2005-03-08 Wim Taymans <wim@fluendo.com>
12136 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
12137 * gst/gstthread.c: (gst_thread_release_children_locks):
12138 Added parentage check.
12139 Fix build og GstThread again.
12141 2005-03-08 Wim Taymans <wim@fluendo.com>
12143 * docs/design/part-MT-refcounting.txt:
12144 * docs/design/part-conventions.txt:
12145 * docs/design/part-gstobject.txt:
12146 * docs/design/part-relations.txt:
12147 * docs/design/part-standards.txt:
12148 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12149 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
12150 (gst_bin_get_by_name), (gst_bin_get_by_interface),
12151 (gst_bin_iterate_all_by_interface):
12154 * gst/gstelement.c: (gst_element_class_init),
12155 (gst_element_change_state), (gst_element_set_loop_function):
12156 * gst/gstelement.h:
12157 * gst/gstiterator.c:
12158 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
12159 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
12160 (gst_object_dispatch_properties_changed), (gst_object_set_name),
12161 (gst_object_set_parent), (gst_object_unparent),
12162 (gst_object_check_uniqueness):
12164 Docs updates, clean up some headers.
12166 2005-03-07 Wim Taymans <wim@fluendo.com>
12168 * check/.cvsignore:
12169 * check/Makefile.am:
12170 * check/gst-libs/.cvsignore:
12171 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
12172 * check/gst/.cvsignore:
12173 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
12174 (START_TEST), (gstbus_suite), (main):
12175 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
12176 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
12177 (gst_data_suite), (main):
12178 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
12179 (add_fold_func), (gstiterator_suite), (main):
12180 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
12181 (thread_name_object), (thread_name_object_default),
12182 (gst_object_name_compare), (gst_object_suite), (main):
12183 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
12184 (gst_pad_suite), (main):
12185 * check/gstcheck.c: (gst_check_log_message_func),
12186 (gst_check_log_critical_func), (gst_check_init):
12187 * check/gstcheck.h:
12188 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
12189 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
12192 2005-03-07 Wim Taymans <wim@fluendo.com>
12194 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
12195 (gst_list_iterator_next), (gst_list_iterator_resync),
12196 (gst_list_iterator_free), (gst_iterator_new_list),
12197 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
12198 (gst_iterator_free), (gst_iterator_push), (filter_next),
12199 (filter_resync), (filter_uninit), (filter_free),
12200 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
12201 (gst_iterator_foreach), (find_custom_fold_func),
12202 (gst_iterator_find_custom):
12203 * gst/gstiterator.h:
12204 Added missing files.
12206 2005-03-07 Wim Taymans <wim@fluendo.com>
12210 * docs/design/part-MT-refcounting.txt:
12211 * docs/design/part-conventions.txt:
12212 * docs/design/part-gstobject.txt:
12213 * docs/design/part-relations.txt:
12214 * examples/mixer/mixer.c: (main):
12215 * examples/thread/thread.c: (eos), (main):
12217 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
12218 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
12219 (gst_spider_plug_from_srcpad):
12220 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
12221 (gst_spider_identity_change_state),
12222 (gst_spider_identity_sink_loop_type_finding):
12223 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
12224 * gst/elements/gstidentity.c: (gst_identity_init):
12225 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
12226 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
12227 * gst/elements/gsttypefindelement.c: (free_entry):
12230 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
12231 (gst_bin_set_clock_func), (gst_bin_auto_clock),
12232 (gst_bin_set_index), (gst_bin_set_element_sched),
12233 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
12234 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
12235 (gst_bin_iterate_elements), (iterate_child_recurse),
12236 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
12237 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
12238 (compare_interface), (gst_bin_get_by_interface),
12239 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
12241 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
12242 (gst_buffer_default_free), (gst_buffer_default_copy),
12243 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
12244 (gst_buffer_create_sub):
12246 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
12247 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
12248 (gst_caps_unref), (gst_static_caps_get),
12249 (gst_caps_remove_and_get_structure), (gst_caps_append),
12250 (gst_caps_append_structure), (gst_caps_remove_structure),
12251 (gst_caps_copy_nth), (gst_caps_set_simple),
12252 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
12253 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
12254 (gst_caps_structure_intersect_field), (gst_caps_intersect),
12255 (gst_caps_structure_subtract_field), (gst_caps_subtract),
12256 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
12257 (gst_caps_structure_figure_out_union),
12258 (gst_caps_switch_structures), (gst_caps_do_simplify),
12259 (gst_caps_replace), (gst_caps_from_string),
12260 (gst_caps_copy_conditional):
12262 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
12263 (_gst_clock_id_free), (gst_clock_id_unref),
12264 (gst_clock_id_compare_func), (gst_clock_id_wait),
12265 (gst_clock_id_wait_async), (gst_clock_class_init),
12266 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
12267 (gst_clock_get_time), (gst_clock_set_time_adjust),
12268 (gst_clock_set_property), (gst_clock_get_property):
12271 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
12272 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
12274 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
12275 (gst_element_requires_clock), (gst_element_provides_clock),
12276 (gst_element_set_clock), (gst_element_clock_wait),
12277 (gst_element_wait), (gst_element_set_time_delay),
12278 (gst_element_is_indexable), (gst_element_add_pad),
12279 (gst_element_add_ghost_pad), (gst_element_remove_pad),
12280 (pad_compare_name), (gst_element_get_static_pad),
12281 (gst_element_request_pad), (gst_element_get_request_pad),
12282 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
12283 (gst_element_class_get_pad_template_list),
12284 (gst_element_class_get_pad_template), (gst_element_error_func),
12285 (gst_element_get_random_pad), (gst_element_get_event_masks),
12286 (gst_element_send_event), (gst_element_seek),
12287 (gst_element_get_query_types), (gst_element_query),
12288 (gst_element_get_formats), (gst_element_convert),
12289 (gst_element_is_locked_state), (gst_element_set_locked_state),
12290 (gst_element_sync_state_with_parent), (gst_element_change_state),
12291 (gst_element_finalize), (gst_element_yield),
12292 (gst_element_interrupt), (gst_element_set_scheduler),
12293 (gst_element_get_scheduler), (gst_element_set_loop_function):
12294 * gst/gstelement.h:
12296 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
12297 (gst_format_get_by_nick), (gst_format_get_details),
12298 (gst_format_iterate_definitions):
12300 * gst/gstindex.c: (gst_index_gtype_resolver):
12303 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
12304 (gst_mem_chunk_free):
12305 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
12306 (gst_object_ref), (gst_object_unref), (gst_object_sink),
12307 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
12308 (gst_object_dispatch_properties_changed),
12309 (gst_object_set_name_default), (gst_object_set_name),
12310 (gst_object_get_name), (gst_object_set_name_prefix),
12311 (gst_object_get_name_prefix), (gst_object_set_parent),
12312 (gst_object_get_parent), (gst_object_unparent),
12313 (gst_object_check_uniqueness), (gst_object_save_thyself),
12314 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
12315 (gst_object_set_property), (gst_object_get_property),
12316 (gst_object_get_path_string):
12318 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
12319 (gst_real_pad_init), (gst_real_pad_get_property),
12320 (gst_pad_custom_new), (gst_pad_get_direction),
12321 (gst_pad_set_active), (gst_pad_is_active),
12322 (gst_pad_set_event_function), (gst_pad_is_linked),
12323 (gst_pad_link_free), (gst_pad_link_intersect),
12324 (gst_pad_link_fixate), (gst_pad_set_caps),
12325 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
12326 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
12327 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
12328 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
12329 (gst_pad_get_caps), (gst_pad_peer_get_caps),
12330 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
12331 (gst_pad_realize), (gst_pad_get_allowed_caps),
12332 (gst_real_pad_dispose), (gst_real_pad_finalize),
12333 (gst_pad_collectv), (gst_pad_collect_valist),
12334 (gst_pad_template_dispose), (gst_pad_template_new),
12335 (gst_pad_get_internal_links):
12337 * gst/gstpipeline.c: (gst_pipeline_dispose),
12338 (gst_pipeline_change_state):
12339 * gst/gstpipeline.h:
12341 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
12342 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
12343 * gst/gstpluginfeature.h:
12344 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
12345 * gst/gstquery.c: (_gst_query_type_initialize),
12346 (gst_query_type_register), (gst_query_type_get_by_nick),
12347 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
12349 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
12350 * gst/gstscheduler.c: (gst_scheduler_add_element),
12351 (gst_scheduler_factory_create):
12352 * gst/gststructure.c: (gst_structure_set_parent_refcount),
12353 (gst_structure_free), (gst_structure_set_name),
12354 (gst_structure_id_set_value), (gst_structure_set_value),
12355 (gst_structure_set_valist), (gst_structure_remove_field),
12356 (gst_structure_remove_fields),
12357 (gst_structure_remove_fields_valist),
12358 (gst_structure_remove_all_fields), (gst_structure_foreach),
12359 (gst_structure_map_in_place),
12360 (gst_caps_structure_fixate_field_nearest_int),
12361 (gst_caps_structure_fixate_field_nearest_double):
12362 * gst/gststructure.h:
12363 * gst/gstsystemclock.c: (gst_system_clock_class_init),
12364 (gst_system_clock_init), (gst_system_clock_dispose),
12365 (gst_system_clock_async_thread),
12366 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
12367 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
12368 * gst/gstsystemclock.h:
12369 * gst/gsttag.c: (gst_tag_list_add_value_internal),
12370 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
12371 * gst/gsttaginterface.c:
12372 * gst/gstthread.c: (gst_thread_dispose),
12373 (gst_thread_release_children_locks), (gst_thread_change_state),
12374 (gst_thread_main_loop):
12375 * gst/gsttrashstack.h:
12376 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
12378 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
12379 (gst_element_request_pad), (gst_element_get_pad_from_template),
12380 (gst_element_request_compatible_pad),
12381 (gst_element_get_compatible_pad_filtered),
12382 (gst_element_get_compatible_pad), (gst_element_state_get_name),
12383 (gst_element_link_pads_filtered), (gst_element_link_filtered),
12384 (gst_element_link_many), (gst_element_link),
12385 (gst_element_link_pads), (gst_element_unlink_pads),
12386 (gst_element_unlink_many), (gst_element_unlink),
12387 (gst_pad_can_link_filtered), (gst_pad_can_link),
12388 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
12389 (gst_object_default_error), (gst_bin_add_many),
12390 (gst_bin_remove_many), (gst_element_populate_std_props),
12391 (gst_element_class_install_std_props), (gst_buffer_merge),
12392 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
12393 (link_fold_func), (gst_pad_proxy_setcaps):
12395 * gst/gstvalue.c: (gst_value_deserialize_string):
12396 * gst/parse/grammar.y:
12397 * gst/schedulers/gstbasicscheduler.c:
12398 (gst_basic_scheduler_cothreaded_chain),
12399 (gst_basic_scheduler_chain_recursive_add),
12400 (gst_basic_scheduler_pad_link):
12401 * gst/schedulers/gstoptimalscheduler.c:
12402 (get_group_schedule_function),
12403 (gst_opt_scheduler_state_transition),
12404 (gst_opt_scheduler_add_element), (element_get_reachables_func):
12405 * libs/gst/bytestream/bytestream.c:
12406 * libs/gst/dataprotocol/dataprotocol.c:
12407 (gst_dp_header_from_buffer):
12410 * tests/threadstate/threadstate2.c: (eos):
12411 * tools/gst-compprep.c: (main):
12412 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
12413 (print_pad_info), (print_children_info):
12414 * tools/gst-launch.c: (idle_func), (main):
12415 * tools/gst-md5sum.c: (idle_func), (main):
12416 * tools/gst-xmlinspect.c: (print_element_info):
12417 First THREADED backport attempt, focusing on adding locks and
12418 making sure the API is threadsafe. Needs more work. More docs
12421 2005-02-24 Andy Wingo <wingo@pobox.com>
12423 * tests/bench-complexity.scm:
12424 * tests/complexity.gnuplot: New files, good for running complexity
12427 * tests/Makefile.am:
12428 * tests/complexity.c: New test, sets up N elements, at each level
12429 teeing into M streams per element. Eeeenteresting.
12431 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
12432 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
12433 running bench-mass_elements.scm.
12435 * tests/bench-mass_elements.scm: New script, runs mass_elements
12436 for various numbers of identities, outputting the results to a
12437 file. Requires guile 1.6. Just for testing.
12439 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
12441 * gst/schedulers/fairscheduler.c:
12442 compile with debug disabled
12444 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
12447 hunting season on 0.9 is now OPEN