1 2005-11-30 Edward Hervey <edward@fluendo.com>
3 * gst/gsttypefind.c: (gst_type_find_register):
5 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
6 (gst_type_find_factory_dispose):
7 * gst/gsttypefindfactory.h:
8 Fix memory leak in GstTypeFindFactory.
10 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13 * plugins/elements/Makefile.am:
14 * plugins/elements/gstelements.c:
15 * plugins/elements/gstqueue.c:
16 move queue from core to the elements plugin
18 2005-11-29 Andy Wingo <wingo@pobox.com>
20 * libs/gst/base/gstbasetransform.h:
21 * libs/gst/base/gstbasesrc.h:
22 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
24 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
25 of pointers by which to pad very extensible base classes (like the
26 ones in libs/gst/base).
28 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
30 * docs/gst/gstreamer-docs.sgml:
31 * docs/gst/gstreamer-sections.txt:
32 * docs/libs/gstreamer-libs-docs.sgml:
33 * docs/libs/gstreamer-libs-sections.txt:
34 moving documentation from core to lib
36 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
40 * docs/gst/Makefile.am:
42 * gst/base/.cvsignore:
43 * gst/base/Makefile.am:
45 * gst/base/gstadapter.c:
46 * gst/base/gstadapter.h:
47 * gst/base/gstbasesink.c:
48 * gst/base/gstbasesink.h:
49 * gst/base/gstbasesrc.c:
50 * gst/base/gstbasesrc.h:
51 * gst/base/gstbasetransform.c:
52 * gst/base/gstbasetransform.h:
53 * gst/base/gstcollectpads.c:
54 * gst/base/gstcollectpads.h:
55 * gst/base/gstpushsrc.c:
56 * gst/base/gstpushsrc.h:
57 * gst/base/gsttypefindhelper.c:
58 * gst/base/gsttypefindhelper.h:
59 * gst/check/Makefile.am:
60 * gst/check/gstcheck.c:
61 * gst/check/gstcheck.h:
62 * gst/net/Makefile.am:
64 * gst/net/gstnetclientclock.c:
65 * gst/net/gstnetclientclock.h:
66 * gst/net/gstnettimepacket.c:
67 * gst/net/gstnettimepacket.h:
68 * gst/net/gstnettimeprovider.c:
69 * gst/net/gstnettimeprovider.h:
70 * libs/gst/Makefile.am:
71 * libs/gst/base/Makefile.am:
72 * libs/gst/base/gstbasetransform.c:
73 * libs/gst/check/Makefile.am:
74 * plugins/elements/Makefile.am:
76 CVS surgery + support to move base, check, and net out of gst
79 2005-11-29 Andy Wingo <wingo@pobox.com>
81 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
83 * gst/gststructure.h (struct _GstStructure): Only one pointer of
86 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
88 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
90 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
92 * gst/gstobject.h: (struct _GstObject): Only one pointer of
93 padding; reduces object size by about 30%. We don't expect
94 anything else to go into gstobject.
96 * gst/gstminiobject.h (struct _GstMiniObject)
97 (struct _GstMiniObjectClass): Only one pointer of padding; the
98 payload is only a pointer and two ints anyway. For the class there
99 are only two methods as well.
101 * gst/gstelement.h (struct _GstElementClass): Removed
102 the state_changed signal callback, it is not used.
104 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
106 * docs/gst/gstreamer.types:
107 fix includes, though they are a little dinky
109 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
112 look in the right place for elements, a lot more chance of
115 remove indexers and elements subdirs
116 * plugins/Makefile.am:
117 make indexers conditional
119 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
123 * plugins/elements/Makefile.am:
124 * plugins/elements/gstcapsfilter.c:
125 * plugins/elements/gstfilesink.c:
126 * plugins/elements/gstfilesrc.c:
127 * plugins/elements/gstidentity.c:
128 * plugins/indexers/Makefile.am:
129 do CVS surgery and related build fixery to move elements
130 and indexers in a new gstreamer/plugins directory, out of the
133 2005-11-29 Andy Wingo <wingo@pobox.com>
136 * pkgconfig/gstreamer-net-uninstalled.pc.in:
137 * pkgconfig/gstreamer-net.pc.in:
138 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
141 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
144 * tools/gst-complete.1.in:
145 * tools/gst-complete.c:
146 * tools/gst-compprep.1.in:
147 * tools/gst-compprep.c:
148 removing -compprep and -complete
150 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
152 * gst/gstevent.c: (gst_event_new_new_segment),
153 (gst_event_parse_new_segment):
155 fix #320529 - clean up new_segment API and structure.
156 Let's hope everyone was using the methods, and not the structure.
158 2005-11-29 Edward Hervey <edward@fluendo.com>
160 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
161 (gst_base_sink_event), (gst_base_sink_do_sync),
162 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
163 Properly handle non GST_FORMAT_TIME segment
164 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
165 Properly handle non GST_FORMAT_TIME segment
167 This function is valid if the accumulator is 0 and the format
168 is different from the requested format.
170 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
172 * docs/gst/gstreamer-sections.txt:
173 Add gst_query_new_seeking and gst_query_parse_seeking to the
176 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
178 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
179 Treat a pad alloc with new caps the same as if we were not
180 negotiated, in order to allow a changing upstream output
181 to produce a new format of data.
183 2005-11-29 Edward Hervey <edward@fluendo.com>
185 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
186 (gst_base_transform_event), (gst_base_transform_eventfunc):
187 The event virtual method is now properly implemented, with a default
189 Sub classes should call the parent_class event method. They should
190 return FALSE if they had a problem handling the given event, or don't
191 want GstBaseTransform to send that even downstream
192 * gst/elements/gstidentity.c: (gst_identity_class_init),
193 (gst_identity_init), (gst_identity_event),
194 (gst_identity_transform_ip), (gst_identity_set_property),
195 (gst_identity_get_property):
196 * gst/elements/gstidentity.h:
197 Added the single-segment boolean property.
198 If set to TRUE, it will output a single segment of data, starting from
199 0, will eat up all incoming newsegment, and modify the timestamp of the
202 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
204 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
205 Don't ref NULL target pad (#322751). Improve docs.
207 2005-11-29 Michael Smith <msmith@fluendo.com>
209 * gst/gstregistryxml.c: (load_plugin):
210 Don't crash if we failed to load a feature from a plugin.
212 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
214 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
216 use more check API and less GLib API
218 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
221 don't run checks if we don't have check
223 remove the registry when running make torture
224 * docs/gst/gstreamer-sections.txt:
225 remove second multiply
226 * gst/gstqueue.c: (gst_queue_loop):
227 fix a compile warning when disabling debug
229 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
232 Hey! Let's print the pad name if the pointer != NULL instead
233 of when it == NULL :-)
235 2005-11-28 Wim Taymans <wim@fluendo.com>
237 * check/gst/gstutils.c: (GST_START_TEST):
238 Updated check, add some scaling accuracy checking code.
240 * gst/gstutils.c: (gst_util_div128_64),
241 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
242 (gst_util_uint64_scale_int):
243 Fix 6 times faster division code. Optimize for common
244 1/1 and less common X/1 cases.
246 2005-11-28 Wim Taymans <wim@fluendo.com>
248 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
251 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
252 (do_linear_regression), (gst_clock_add_observation):
254 Release lock when the clock cannot be slaved.
255 Catch the case where the regression returned an invalid denominator.
257 * gst/gstutils.c: (gst_util_div128_64_iterate),
258 (gst_util_div128_64), (gst_util_uint64_scale_int64),
259 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
260 Add protentially more performant non-iterative 128/64 divide function
261 that unfortunatly does not work yet.
262 Shortcut the trivial 0/X = 0 case.
263 Remove the warnings on overflow.
265 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
267 * gst/gstplugin.c: (gst_plugin_register_func):
268 everything causing a plugin not to load should be at least a WARNING
270 2005-11-28 Stefan Kost <ensonic@users.sf.net>
272 * docs/random/ensonic/dparams.txt:
273 some TODOs for the next dev cycle
274 * libs/gst/controller/gstcontroller.c:
275 (gst_controlled_property_set_interpolation_mode),
276 (gst_controlled_property_new):
277 * libs/gst/controller/gstcontroller.h:
278 use base type to assign acccessor functions
280 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
283 Oops, that should have been top_srcdir
285 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
288 * check/elements/fdsrc.c: (GST_START_TEST):
289 Use a cmdline define to specify the location of a file to use for
290 testing, to avoid breaking distcheck.
292 2005-11-28 Andy Wingo <wingo@pobox.com>
294 * gst/gstpad.c (fixate_value): Use array functions for arrays.
296 2005-11-28 Edward Hervey <edward@fluendo.com>
298 * tools/gst-launch.c: (main):
299 Clarify the output strings, makes it easier to translate.
302 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
305 don't try and build net if we don't even have <sys/socket.h>
307 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
310 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
311 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
312 Add tests for fdsrc seekability
314 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
315 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
316 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
317 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
318 * gst/elements/gstfdsrc.h:
319 fdsrc should not be a 'live' source.
320 Implement seeking on seekable fd's.
322 * gst/gstquery.c: (gst_query_new_seeking),
323 (gst_query_parse_seeking):
325 Implement SEEKING query functions:
326 *_new_seeking and *_parse_seeking
328 2005-11-27 Stefan Kost <ensonic@users.sf.net>
330 * gst/gstelement.c: (gst_element_dispose):
334 * gst/gststructure.c:
337 * libs/gst/controller/gstcontroller.c:
338 (gst_controlled_property_set_interpolation_mode):
339 * libs/gst/controller/gstcontroller.h:
340 * libs/gst/controller/gstinterpolation.c:
341 (interpolate_none_get_enum_value_array):
342 support controlling enums
344 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
347 Improve documentation for gst_value_union().
350 Change return value for union, intersect and subtract functions
351 from gint to gboolean.
353 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
355 * gst/gstvalue.c: (gst_value_serialize_any_list),
356 (gst_value_transform_any_list_string),
357 (gst_value_deserialize_list), (gst_value_deserialize_array),
358 (gst_value_set_int_range), (gst_value_deserialize_int_range),
359 (gst_value_set_double_range), (gst_value_deserialize_double_range),
360 (gst_value_set_fraction_range_full),
361 (gst_value_deserialize_fraction_range),
362 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
363 (gst_value_deserialize_boolean),
364 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
365 (gst_value_serialize_float), (gst_value_deserialize_float),
366 (gst_string_wrap), (gst_value_deserialize_string),
367 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
368 (gst_value_union_int_range_int_range),
369 (gst_value_intersect_int_range_int_range),
370 (gst_value_intersect_double_range_double_range),
371 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
372 (gst_value_subtract_int_range_int_range),
373 (gst_value_subtract_double_double_range),
374 (gst_value_subtract_double_range_double_range),
375 (gst_value_deserialize_fraction):
377 Use gint, gdouble and gchar in our API instead of int, double and
378 char (and make usage in gstvalue.c more consistent).
380 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
383 * libs/gst/controller/Makefile.am:
384 * libs/gst/dataprotocol/Makefile.am:
385 fix up Makefile.am and remove GST_ENABLE_NEW
387 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
391 * gst/base/Makefile.am:
392 * gst/check/Makefile.am:
393 * gst/elements/Makefile.am:
394 * gst/net/Makefile.am:
395 update LDFLAGS use some more
397 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
399 * common/m4/gst-doc.m4:
402 2005-11-26 Edward Hervey <edward@fluendo.com>
404 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
405 This shouldn't issue a g_warning since it returns NULL if it
406 couldn't find the plugin, and all functions using this behave
407 properly on a NULL return. Switching to a GST_WARNING.
409 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
411 * gst/gstbin.c: (gst_bin_handle_message_func):
412 Don't leak clock messages.
414 2005-11-25 Wim Taymans <wim@fluendo.com>
416 * gst/gstutils.c: (gst_util_uint64_scale_int64),
417 (gst_util_uint64_scale_int):
418 Optimisations, remove unneeded vars.
420 2005-11-25 Wim Taymans <wim@fluendo.com>
422 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
423 Added more checks for the high precision uint64 cases.
425 * gst/gstutils.c: (gst_util_uint64_scale_int64),
426 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
427 Implement high precission (guint64 * guint64) / guint64.
429 2005-11-24 Wim Taymans <wim@fluendo.com>
431 * gst/base/gstbasesrc.c: (gst_base_src_query):
432 Fix wrong percentage query.
434 * gst/gstutils.c: (gst_util_uint64_scale),
435 (gst_util_uint64_scale_int):
436 Add some more common cases that can be handled
437 efficiently to _scale.
439 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
441 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
442 (gst_mini_object_suite):
443 don't use check calls from threads; check probably isn't
444 threadsafe and using a lock to make it threadsafe would
445 defeat the purpose of this check
446 * gst/check/gstcheck.c:
447 * gst/check/gstcheck.h:
448 use GST_DEBUG some more
450 2005-11-24 Wim Taymans <wim@fluendo.com>
452 * gst/gstutils.c: (gst_util_uint64_scale),
453 (gst_util_uint64_scale_int):
454 Chain trivial case to _scale_int.
456 2005-11-24 Wim Taymans <wim@fluendo.com>
458 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
459 Added test for scaling.
464 * gst/gstutils.c: (gst_util_uint64_scale_int):
465 Implemented high precision scaling code.
467 2005-11-24 Stefan Kost <ensonic@users.sf.net>
470 do not crash on pad==NULL
472 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
474 Patch by: Stefan Kost
476 * common/gtk-doc.mak:
477 * docs/gst/Makefile.am:
478 * docs/libs/Makefile.am:
479 Fix distcheck issues for the libraries docs build
482 2005-11-24 Michael Smith <msmith@fluendo.com>
484 * docs/manual/basics-helloworld.xml:
485 Fix bug #315027: memory leak in example code in docs.
487 2005-11-24 Michael Smith <msmith@fluendo.com>
489 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
490 Unlock the PREROLL_LOCK in a failure case.
492 2005-11-24 Wim Taymans <wim@fluendo.com>
494 * docs/gst/gstreamer-sections.txt:
495 * gst/base/gstadapter.h:
496 * gst/base/gstbasesink.h:
497 * gst/base/gstbasesrc.h:
498 * gst/base/gstbasetransform.h:
499 * gst/base/gstpushsrc.h:
500 * gst/elements/gstfakesink.h:
501 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
502 * gst/elements/gstfakesrc.h:
503 * gst/elements/gstfilesink.h:
504 * gst/elements/gstfilesrc.h:
507 * gst/gstbuffer.c: (_gst_buffer_copy):
510 * gst/gstchildproxy.c:
513 * gst/gstelementfactory.c:
514 * gst/gstelementfactory.h:
518 * gst/gstinterface.h:
519 * gst/gstminiobject.c:
520 * gst/gstminiobject.h:
523 * gst/gstpadtemplate.h:
525 * gst/gstpluginfeature.h:
530 * gst/gsttagsetter.c:
531 * gst/gsttagsetter.h:
537 * gst/net/gstnetclientclock.c:
538 * gst/net/gstnetclientclock.h:
539 * gst/net/gstnettimepacket.c:
540 * gst/net/gstnettimeprovider.c:
541 * gst/net/gstnettimeprovider.h:
544 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
546 * configure.ac: back to HEAD
548 === release 0.9.6 ===
550 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
553 releasing 0.9.6, "Always On Time"
555 2005-11-23 Wim Taymans <wim@fluendo.com>
557 * docs/gst/gstreamer-sections.txt:
559 * gst/gsttagsetter.c:
561 * gst/net/gstnetclientclock.c:
562 * gst/net/gstnettimepacket.h:
565 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
567 * docs/faq/using.xml:
568 * docs/libs/tmpl/gstcontrol.sgml:
569 * docs/manual/advanced-dparams.xml:
570 * docs/manual/appendix-checklist.xml:
571 * docs/manual/basics-elements.xml:
572 * docs/pwg/other-source.xml:
573 * docs/random/moving-plugins:
575 * tools/gst-launch.1.in:
576 remove mentions of sinesrc
578 2005-11-23 Michael Smith <msmith@fluendo.com>
580 * docs/gst/gstreamer-sections.txt:
581 Update for new API and API changes.
583 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
585 Documentation typo fix.
586 * gst/net/gstnettimepacket.c:
587 Documentation fixes for arguments.
589 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
591 * gst/gststructure.c: (gst_structure_get_fraction),
592 (gst_structure_parse_value),
593 (gst_structure_fixate_field_nearest_fraction):
594 * gst/gststructure.h:
595 * gst/gstutils.c: (gst_util_uint64_scale_int):
597 * scripts/update-funcnames:
599 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
600 Make gst_structure_fixate_field_nearest_fraction take a numerator
601 and denominator argument instead of a GValue
602 add gst_structure_get_fraction helper function.
604 2005-11-23 Wim Taymans <wim@fluendo.com>
606 * docs/design/part-TODO.txt:
609 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
610 * gst/net/gstnetclientclock.h:
611 Use parent fields for timeout and window_size.
613 2005-11-23 Andy Wingo <wingo@pobox.com>
615 * check/net/gstnetclientclock.c (test_functioning): Adjust to
616 rate_num/rate_denom change.
618 * gst/net/gstnetclientclock.c
619 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
620 OBJECT_LOCK. Don't call add_observation with the lock.
622 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
624 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
626 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
627 deal with rate as a fraction whose numerator and denominator are
629 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
630 master; the other fields are protected by the SLAVE_LOCK.
631 (do_linear_regression): Note that this must be called with the
633 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
634 OBJECT_LOCK. Call set_calibration instead of touching the
636 (gst_clock_set_property, gst_clock_get_property): Protect
637 master/slave parameters with the SLAVE_LOCK.
639 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
640 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
641 note that all of the instance variables that add_observation and
642 the set_master functions use are protected by that lock and not
644 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
646 * gst/gstclock.c (gst_clock_add_observation): No longer requires
647 the caller to take the object lock.
649 2005-11-23 Wim Taymans <wim@fluendo.com>
651 * gst/gsterror.c: (_gst_core_errors_init):
653 Add error for clock stuff.
655 * gst/gstpipeline.c: (gst_pipeline_change_state),
656 (gst_pipeline_set_clock):
657 Post clock error when clock cannot be used in a pipeline.
659 2005-11-23 Stefan Kost <ensonic@users.sf.net>
661 * docs/gst/gstreamer-sections.txt:
662 make two symbols from gstinfo private for the docs
663 * gst/base/gstcollectpads.h:
665 fix doc typos, update docs
667 2005-11-22 Wim Taymans <wim@fluendo.com>
669 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
670 (gst_base_sink_wait), (gst_base_sink_do_sync),
671 (gst_base_sink_handle_event):
672 * gst/base/gstbasesink.h:
673 No need to store the clock, the parent element class already
676 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
677 Updates for clock_set returning a gboolean
679 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
680 (gst_clock_id_wait_async), (gst_clock_class_init),
681 (gst_clock_init), (gst_clock_finalize),
682 (gst_clock_get_internal_time), (gst_clock_get_time),
683 (gst_clock_slave_callback), (gst_clock_set_master),
684 (gst_clock_get_master), (do_linear_regression),
685 (gst_clock_add_observation), (gst_clock_set_property),
686 (gst_clock_get_property):
688 Implement master/slave. When setting a clock as a slave, a
689 periodic timeout is scheduled to sample master and slave times.
690 Then the slave clock is recalibrated to match offset and rate
692 Update logging a bit.
693 Add flag so that a clock can state that is cannot be slaved to
696 * gst/gstelement.c: (gst_element_set_clock):
698 The set clock returns a gboolean for when an element cannot
699 deal with the selected clock in the pipeline.
701 * gst/gstpipeline.c: (gst_pipeline_change_state),
702 (gst_pipeline_set_clock):
704 Handle the case where the selected clock cannot be set on
707 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
708 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
709 (gst_net_client_clock_set_property),
710 (gst_net_client_clock_get_property),
711 (gst_net_client_clock_observe_times):
712 * gst/net/gstnetclientclock.h:
713 Use regression code in GstClock parent, remove duplicated
716 2005-11-22 Michael Smith <msmith@fluendo.com>
718 * gst/gstutils.c: (gst_util_clock_time_scale):
720 * docs/gst/gstreamer-sections.txt:
721 Rename method to have extra underscore.
723 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
725 * gst/elements/Makefile.am:
726 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
727 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
728 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
729 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
730 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
731 * gst/elements/gstfakesrc.h:
732 * gst/gstqueue.c: (queue_leaky_get_type):
733 correctly fix GEnumValues so that nick is the short lowercase
735 * tools/gst-inspect.c: (print_element_properties_info):
736 also show the nick, since it's useful to use from parse_launch
740 2005-11-22 Michael Smith <msmith@fluendo.com>
742 * gst/gstutils.c: (gst_util_clocktime_scale):
744 * docs/gst/gstreamer-sections.txt:
745 Add util method for scaling a clocktime by a fraction. Useful
746 implementation is left as an exercise for the reader.
748 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
750 * gst/gstvalue.c: (gst_value_collect_fraction_range):
751 If needed, allocate storage in the destination value during
754 2005-11-22 Edward Hervey <edward@fluendo.com>
756 * docs/gst/gstreamer-sections.txt:
761 * gst/gstutils.c: (gst_util_set_object_arg):
762 * tools/gst-compprep.c: (main):
763 * tools/gst-inspect.c: (print_element_properties_info):
764 Removed GstURI, closes bug #321061
766 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
768 * check/gst/gststructure.c: (GST_START_TEST):
769 * gst/gststructure.c: (gst_structure_parse_value):
770 Oops, broke automatic string type parsing.
771 Add a test to catch it in future.
773 2005-11-22 Andy Wingo <wingo@pobox.com>
775 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
776 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
777 Actually rename the function implementations. Grr.
779 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
781 * check/gst/capslist.h:
783 * check/gst/gststructure.c: (GST_START_TEST),
784 (gst_structure_suite):
785 Test automatic value type detection in gst_structure_from_string.
786 * gst/gststructure.c: (gst_structure_parse_value):
787 Add fraction as a type we try and guess automatically in
788 caps/structure strings.
790 2005-11-22 Andy Wingo <wingo@pobox.com>
792 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
794 * gst/gsttagsetter.h:
795 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
796 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
797 (gst_tag_setter_add_tag_valist)
798 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
799 _add_values, _add_valist, and _add_valist_values. Since this is an
800 interface the function suffixes should be more explicit so
801 language binding don't end up with element.add_valist ->
802 gst_tag_setter_add_valist, for example. Fixes #322069.
804 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
806 * check/gst/gstcaps.c: (GST_START_TEST):
807 Extend caps string tests to check that a caps to string
808 conversion is reversible and produces the same caps.
810 * gst/gststructure.c: (gst_structure_value_get_generic_type):
811 Output "fraction" as the generic type fraction range, so caps
812 serialisation and deserialisation works.
813 * check/gst/capslist.h:
814 * gst/gstvalue.c: (gst_value_deserialize_fraction):
815 Support 'MIN' and 'MAX' for deserialising fractions.
817 2005-11-22 Andy Wingo <wingo@pobox.com>
819 * gst/gstevent.h (gst_event_new_new_segment)
820 (gst_event_parse_new_segment, gst_event_new_buffer_size)
821 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
822 Renamed from *_newsegment, *_buffersize, *_notarget.
824 * scripts/update-funcnames: New script, performs the changes
827 2005-11-22 Wim Taymans <wim@fluendo.com>
829 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
830 Make sure the GstFlowReturn is returned.
832 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
833 (gst_bus_add_signal_watch):
835 add gst_bus_add_signal_watch_full.
837 * gst/gstplugin.c: (gst_plugin_load_file):
840 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
842 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
843 Block the fakesrc srcpad when we send an event, to avoid
844 contention on the stream_lock causing random test failures.
846 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
848 * check/gst/gstvalue.c: (GST_START_TEST):
849 * gst/gstvalue.c: (gst_value_fraction_subtract):
852 2005-11-22 Stefan Kost <ensonic@users.sf.net>
855 include "gstchildproxy.h"
856 * gst/gstchildproxy.h:
857 * libs/gst/controller/gstcontroller.h:
858 use G_GNUC_NULL_TERMINATED
860 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
862 * check/gst/capslist.h:
863 * check/gst/gstcaps.c: (GST_START_TEST):
864 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
865 * gst/gststructure.c: (gst_structure_parse_range),
866 (gst_structure_fixate_field_nearest_fraction):
867 * gst/gststructure.h:
868 * gst/gstvalue.c: (gst_value_init_fraction_range),
869 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
870 (gst_value_collect_fraction_range),
871 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
872 (gst_value_set_fraction_range_full),
873 (gst_value_get_fraction_range_min),
874 (gst_value_get_fraction_range_max),
875 (gst_value_serialize_fraction_range),
876 (gst_value_transform_fraction_range_string),
877 (gst_value_compare_fraction_range),
878 (gst_value_deserialize_fraction_range),
879 (gst_value_intersect_fraction_fraction_range),
880 (gst_value_intersect_fraction_range_fraction_range),
881 (gst_value_subtract_fraction_fraction_range),
882 (gst_value_subtract_fraction_range_fraction),
883 (gst_value_subtract_fraction_range_fraction_range),
884 (gst_value_collect_fraction), (gst_value_fraction_multiply),
885 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
886 (gst_value_transform_string_fraction), (_gst_value_initialize):
888 Implement fraction ranges and extend GstFraction to support
889 arithmetic subtraction, as well as deserialization from integer
890 strings such as "100"
891 Add a testsuite as for int and double range set operations
893 2005-11-21 Andy Wingo <wingo@pobox.com>
897 * gst/gststructure.h: Add glib-compat.h.
899 2005-11-21 Wim Taymans <wim@fluendo.com>
901 * gst/gstbin.c: (gst_bin_change_state_func):
904 2005-11-21 Wim Taymans <wim@fluendo.com>
907 And add a nice define too.
909 2005-11-21 Wim Taymans <wim@fluendo.com>
911 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
912 (gst_segment_new), (gst_segment_free), (gst_segment_init),
913 (gst_segment_set_duration), (gst_segment_set_last_stop),
914 (gst_segment_set_seek), (gst_segment_set_newsegment),
915 (gst_segment_to_stream_time), (gst_segment_to_running_time),
918 Make binding friendly.
920 2005-11-21 Andy Wingo <wingo@pobox.com>
922 * gst/gsttagsetter.h:
924 * gst/gststructure.h:
926 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
929 * gst/gsterror.c (_gst_core_errors_init):
930 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
933 * gst/Makefile.am (gst_headers): Add glib-compat.h.
934 (noinst_HEADERS): noinst the -private.
936 2005-11-21 Michael Smith <msmith@fluendo.com>
940 Remove unimplemented declarations for which we can see no sensible
943 2005-11-21 Andy Wingo <wingo@pobox.com>
945 * gst/gst.h: Include glib-compat.h.
947 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
949 * gst/glib-compat.c: Include the public and the private header.
951 * gst/glib-compat-private.h: Copied here from glib-compat.h.
955 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
957 * check/gst/gstevent.c (create_custom_events): Check that
958 FLUSH_STOP is serialized.
960 * check/elements/identity.c (event_func):
961 * check/elements/fakesrc.c (event_func): No stream lock, the core
964 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
965 stream lock taking, yay.
967 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
968 ensure that core takes the stream lock.
970 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
973 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
974 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
975 it already. For the flush start we do take it though so we get the
976 right preroll state change messages.
978 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
979 the stream lock here, the core does it for us.
981 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
983 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
984 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
985 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
986 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
987 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
988 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
990 * gst/gstpad.c: Update for stream lock name change.
992 * gst/base/gstbasesink.c: Update for preroll lock name change.
994 2005-11-21 Wim Taymans <wim@fluendo.com>
996 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
997 (gst_clock_get_master):
999 * gst/gstsystemclock.c: (gst_system_clock_init):
1000 Convert Clock flags to object flags.
1001 Added methods to manage master/slave clocks.
1003 2005-11-21 Wim Taymans <wim@fluendo.com>
1005 * check/gst/gstsegment.c: (GST_START_TEST):
1006 * docs/design/part-TODO.txt:
1007 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1008 (gst_base_sink_event), (gst_base_sink_do_sync),
1009 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
1010 (gst_base_sink_query), (gst_base_sink_change_state):
1011 * gst/base/gstbasesink.h:
1012 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
1013 (gst_base_src_default_newsegment),
1014 (gst_base_src_configure_segment), (gst_base_src_do_seek),
1015 (gst_base_src_get_range), (gst_base_src_loop),
1016 (gst_base_src_change_state):
1017 * gst/base/gstbasesrc.h:
1018 * gst/base/gstbasetransform.c:
1019 (gst_base_transform_prepare_output_buf),
1020 (gst_base_transform_event), (gst_base_transform_change_state):
1021 * gst/base/gstbasetransform.h:
1022 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
1023 (gst_collect_pads_event):
1024 * gst/base/gstcollectpads.h:
1025 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
1026 (gst_fake_src_create):
1027 * gst/elements/gstfakesrc.h:
1028 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1029 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1030 (gst_segment_set_last_stop), (gst_segment_set_seek),
1031 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
1032 (gst_segment_to_running_time), (gst_segment_clip):
1034 More segment updates, replace code in plugins with segment
1037 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
1039 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
1040 Don't ignore sscanf results
1042 2005-11-21 Andy Wingo <wingo@pobox.com>
1044 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
1047 * *.c: Ran scripts/update-macros. Oh yes.
1049 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
1050 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
1053 * scripts/update-macros: New script. Run it on your files to
1054 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
1057 2005-11-21 Stefan Kost <ensonic@users.sf.net>
1059 * docs/gst/Makefile.am:
1060 * docs/gst/gstreamer-docs.sgml:
1061 * docs/gst/gstreamer-sections.txt:
1062 * docs/gst/gstreamer.types:
1064 more docs fixes, add new api to the docs
1066 2005-11-21 Andy Wingo <wingo@pobox.com>
1068 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
1069 state_broadcast call.
1071 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
1073 2005-11-21 Julien MOUTTE <julien@moutte.net>
1075 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
1076 function calls for arrays.
1078 2005-11-21 Stefan Kost <ensonic@users.sf.net>
1080 * docs/random/ensonic/media-device-daemon.txt:
1081 wild idea, can this be done?
1082 * docs/gst/gstreamer-sections.txt:
1087 * gst/gstpluginfeature.c:
1091 doc fixes and additions
1093 2005-11-21 Andy Wingo <wingo@pobox.com>
1095 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
1096 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
1097 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
1098 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
1099 private to the basesrc implementation.
1101 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
1102 behalf of event function if necessary. It should no longer be
1103 necessary to take the stream lock in pad's event functions. Fixes
1106 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
1107 * docs/gst/gstreamer-sections.txt:
1108 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
1109 (gst_structure_fixate_field_nearest_double),
1110 (gst_structure_fixate_field_boolean):
1111 * gst/gststructure.h:
1112 * win32/common/libgstreamer.def:
1113 * win32/gstreamer.def:
1115 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
1118 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
1120 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
1121 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
1122 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
1123 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
1124 (gst_fdsrc_uri_handler_init):
1125 * gst/elements/gstfdsrc.h:
1126 Port fd:// URI handler from 0.8 to fdsrc
1128 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1130 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
1131 (gst_value_serialize_fourcc):
1133 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
1134 consistent with our other format defines (#320324).
1136 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1138 * gst/gstvalue.c: (gst_value_is_fixed):
1139 Revert previous commit. Value lists are by definition
1140 not fixed, as they are a list of possible values.
1142 2005-11-21 Andy Wingo <wingo@pobox.com>
1144 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
1145 during the stable series if we need it. Fixes #319178.
1147 * gst/gstevent.c (gst_event_new_filler): Removed.
1149 * check/gst/gstevent.c: Update comment about filler events.
1151 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1153 * gst/gstvalue.c: (gst_value_is_fixed):
1154 Should handle both value arrays and value lists.
1156 2005-11-21 Andy Wingo <wingo@pobox.com>
1158 patch by: Alessandro Dessina <alessandro nnva org>
1160 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
1161 functions to access arrays. Fixes #321962.
1163 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1165 * docs/gst/gstreamer.types:
1166 gst_collectpads_get_type => gst_collect_pads_get_type.
1168 * gst/base/gstbasetransform.c:
1169 Remove unused SIGNAL_HANDOFF enum.
1171 2005-11-21 Andy Wingo <wingo@pobox.com>
1173 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
1174 the event type (upstream, downstream, serialized). Renamed
1175 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
1176 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
1177 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
1179 * gst/gstevent.c: Update for new CUSTOM event names.
1181 * check/gst/gstevent.c: Update check for new CUSTOM event names.
1184 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
1187 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1189 * docs/gst/gstreamer-sections.txt:
1190 * win32/common/libgstbase.def:
1191 * win32/libgstbase.def:
1192 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
1193 (gst_collect_pads_class_init), (gst_collect_pads_init),
1194 (gst_collect_pads_finalize), (gst_collect_pads_new),
1195 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
1196 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
1197 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
1198 (gst_collect_pads_start), (gst_collect_pads_stop),
1199 (gst_collect_pads_peek), (gst_collect_pads_pop),
1200 (gst_collect_pads_available), (gst_collect_pads_read),
1201 (gst_collect_pads_flush), (gst_collect_pads_event),
1202 (gst_collect_pads_chain):
1203 * gst/base/gstcollectpads.h:
1204 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
1205 unimplemented functions as unimplemented. Add padding to
1206 GstCollectData. (#320766, #320423)
1208 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1211 Improve docs for DURATION message (usage of duration parameter)
1214 2005-11-20 Wim Taymans <wim@fluendo.com>
1216 * check/Makefile.am:
1217 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
1221 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1222 (gst_segment_set_seek), (gst_segment_set_newsegment),
1223 (gst_segment_to_stream_time), (gst_segment_to_running_time),
1226 Added segment helper structure and methods. Not fully implemented
1228 Added segment check.
1230 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
1232 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1233 Add a deserialisation test for fractions
1234 * examples/metadata/read-metadata.c: (message_loop),
1235 (make_pipeline), (main):
1236 Fix up metadata reading sample.
1237 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1239 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1240 Don't try and fixate empty caps
1241 * gst/gst_private.h:
1242 Wrap in G_BEGIN_DECLS/G_END_DECLS
1243 * gst/gstvalue.c: (gst_value_collect_fraction),
1244 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
1245 (gst_value_transform_string_fraction),
1246 (gst_value_compare_fraction):
1247 Add some extra guards to ensure that we don't end up
1248 with an invalid denominator of 0 in a gstfraction and
1249 that fractions always get reduced.
1251 2005-11-20 Wim Taymans <wim@fluendo.com>
1253 * docs/gst/gstreamer-sections.txt:
1264 2005-11-20 Wim Taymans <wim@fluendo.com>
1266 * docs/design/part-TODO.txt:
1268 Make a proper enum of the flag.
1270 2005-11-19 Wim Taymans <wim@fluendo.com>
1272 * docs/design/part-TODO.txt:
1273 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
1274 (gst_format_to_quark), (gst_format_register):
1276 * gst/gstquery.c: (_gst_query_initialize),
1277 (gst_query_type_get_name), (gst_query_type_to_quark),
1278 (gst_query_type_register):
1280 Add type to quark and type to string conversions.
1282 2005-11-19 Andy Wingo <wingo@pobox.com>
1284 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
1287 2005-11-19 Wim Taymans <wim@fluendo.com>
1289 * docs/design/part-TODO.txt:
1290 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
1291 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
1292 (gst_bin_handle_message_func):
1294 Make message handling overridable.
1296 2005-11-19 Andy Wingo <wingo@pobox.com>
1298 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
1301 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
1303 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
1304 is a GstClockTime. Fixes #321710.
1306 * gst/gstclock.h (GstClock): Remove offset property. Add
1307 internal_calibration and external_calibration. Fix padding. Pad
1308 also by GstClockTime so we don't run into problems.
1310 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
1311 (gst_clock_get_rate_offset): Remove.
1312 (gst_clock_set_time_adjust): Remove. Fixes #321712.
1315 * gst/gstutils.c (g_static_rec_cond_wait)
1316 (g_static_rec_cond_timed_wait): Removed, no longer needed.
1318 * gst/gstbin.c: Remove terrible continue_state prototype.
1320 * gst/gstelement.h (gst_element_continue_state): Make public.
1323 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
1324 by continue_state. Fixes #319389.
1326 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
1327 Really fixes #168438. However I don't see anywhere where the
1328 filter function is called... stupid GStreamer...
1330 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
1331 don't have a dispose function, so it won't get called when the
1332 object is unreffed, but oh well!
1334 * gst/gstindex.c (gst_index_set_filter_full): New API function,
1335 allows a destroy function to be set so user_data can be freed.
1337 (gst_index_set_filter): Call gst_index_set_filter_full.
1339 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
1341 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
1342 string should produce an error, given the lack of a way to
1343 represent NULL strings. Fixes #165650.
1346 * gst/gstvalue.c (gst_value_array_append_value)
1347 (gst_value_array_prepend_value, gst_value_array_get_size)
1348 (gst_value_array_get_value): New API, copied from
1349 gst_value_list_*, only operates on arrays.
1350 (gst_value_list_append_value, gst_value_list_prepend_value)
1351 (gst_value_list_concat, gst_value_list_get_size)
1352 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
1354 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
1355 init_list, because it works on both.
1356 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
1357 (gst_value_copy_list_or_array): Renamed from copy_list.
1358 (gst_value_free_list_or_array): Renamed from free_list.
1359 (gst_value_collect_list_or_array): Renamed from collect_list.
1360 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
1361 (gst_value_list_or_array_peek_pointer): Renamed from
1363 (_gst_value_array_value_table, _gst_value_list_value_table):
1364 Update value table functions.
1365 (gst_value_compare_list_or_array): Renamed from compare_list.
1367 * gsttaglist.h: Whoops, foreach function returns void. Also fix
1371 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
1372 GstTagList*. Fixes #143472.
1374 * gst/gststructure.h: Clarify what the foreach/map functions can
1375 or can't do to their arguments.
1377 2005-11-18 Wim Taymans <wim@fluendo.com>
1379 * gst/gstclock.c: (gst_clock_set_calibration),
1380 (gst_clock_get_calibration):
1382 Calibration can be set with internal time equal to current
1385 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
1391 2005-11-18 Andy Wingo <wingo@pobox.com>
1394 * pkgconfig/gstreamer-net.pc.in:
1395 * pkgconfig/gstreamer-net-uninstalled.pc.in:
1396 * pkgconfig/Makefile.am: Add net pkgconfig files.
1398 2005-11-18 Stefan Kost <ensonic@users.sf.net>
1401 * gst/gstghostpad.c:
1407 2005-11-18 Andy Wingo <wingo@pobox.com>
1409 * gst/net/gstnetclientclock.c: Turn off debugging.
1411 * check/net/gstnetclientclock.c (test_functioning): Assert that the
1412 times connverge somewhat. Can't make a real test.
1414 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
1415 integer arithmetic. Return the minimum of the domain, which can be
1416 set as "internal" for gst_clock_set_calibration.
1417 (gst_net_client_clock_observe_times): Call _set_calibration.
1418 (gst_net_client_clock_new): Call _set_calibration instead of
1421 * check/net/gstnetclientclock.c (test_functioning): Use the right
1425 * gst/gstclock.c (gst_clock_get_calibration)
1426 (gst_clock_set_calibration): New functions, obsolete the ones I
1427 added yesterday. Doh. Precision issues mean we have to extrapolate
1428 from a point in the more recent past than 1970.
1429 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
1431 (gst_clock_adjust_unlocked): Use the right calibration data.
1433 2005-11-18 Edward Hervey <edward@fluendo.com>
1435 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
1436 Also reset the ->current_* values in READY->PAUSED
1438 2005-11-18 Andy Wingo <wingo@pobox.com>
1440 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
1441 Whoops, check the right fd. Also add some debugging.
1442 (gst_net_client_clock_observe_times): Adjust for int64 offset.
1443 (do_linear_regression): Add a crapload of debugging. Subtract off
1444 the minimum values from the input series to discard unneeded bits.
1445 Use only int arithmetic. There is still double arithmetic when
1446 calculating the intercept that needs fixing. Return boolean to
1447 indicate success; FALSE would mean the domain or range is too
1448 great. Still needs fixes.
1450 2005-11-18 Wim Taymans <wim@fluendo.com>
1452 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
1453 For the current position in stream time, we need to subtract
1456 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
1457 Release lock before calling the callback function of async
1460 2005-11-18 Andy Wingo <wingo@pobox.com>
1462 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
1463 Port goes all the way to MAXUINT16.
1465 * gst/net/gstnettimeprovider.c: Make the port range the same as
1466 for the kernel: 0 assigns, otherwise ports are less than
1469 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
1472 * check/net/gstnetclientclock.c (test_functioning): Add the start
1475 2005-11-18 Wim Taymans <wim@fluendo.com>
1477 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1478 (gst_bin_remove_func), (bin_bus_handler):
1480 Removing a clock provider from a bin, triggers a clock lost message
1481 so that a new clock will be selected.
1482 Adding a clock to a bin triggers a clock provider message.
1483 Make sure we reselect a clock when we received a clock lost message.
1484 Keep a reference to the element that provided the clock.
1486 2005-11-18 Andy Wingo <wingo@pobox.com>
1488 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
1489 the clock initially so it produces values around the base time.
1490 (gst_net_client_clock_class_init): Typo fix.
1491 (gst_net_client_clock_thread): Add note on when the socket gets
1494 2005-11-17 Wim Taymans <wim@fluendo.com>
1496 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
1497 Free remote and local time arrays.
1499 2005-11-17 Wim Taymans <wim@fluendo.com>
1501 * gst/net/gstnetclientclock.c: (do_linear_regression),
1502 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
1503 Fix compilation, uninitialized vars and a forgotten continue.
1505 2005-11-17 Andy Wingo <wingo@pobox.com>
1507 * check/Makefile.am (check_PROGRAMS):
1508 * check/net/gstnetclientclock.c: Add a most minimal test for the
1509 net client clock. More to come later.
1512 * gst/net/Makefile.am: Add netclientclock.
1514 * gst/net/gstnetclientclock.h:
1515 * gst/net/gstnetclientclock.c: New files, implement an untested
1516 GstClock that takes its time from a network time provider.
1517 Implements the algorithm in network-clock.scm.
1519 * tests/network-clock.scm (*window-size*): Rename from
1521 * tests/network-clock.scm (network-time):
1522 * tests/network-clock-utils.scm (q-push): Update callers.
1524 2005-11-17 Wim Taymans <wim@fluendo.com>
1526 * gst/gstbin.c: (gst_bin_provide_clock_func),
1527 (gst_bin_sort_iterator_new):
1528 And unref the child too..
1530 2005-11-17 Wim Taymans <wim@fluendo.com>
1532 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
1533 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
1534 Refactor the sort iterator so it can be used while holding the
1536 Make clock selection select a clock closest to the source.
1538 2005-11-17 Michael Smith <msmith@fluendo.com>
1540 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
1541 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
1543 Anonymous structs are a gcc (and some other compilers) extension, so
1544 don't use them. Since this is only for ABI-compatibility, and our
1545 API/ABI freeze is over in a few days, this whole thing will only
1546 last a few days, so don't bother trying to think up a meaningful
1547 name for the struct.
1549 2005-11-17 Andy Wingo <wingo@pobox.com>
1551 * gst/gstclock.h (GstClock): Add rate and offset properties,
1552 preserving ABI stability. Add rate/offset accessors. Will file bug
1553 for the freeze break.
1555 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
1556 and offset, trying to keep precision and avoiding
1558 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
1559 functions. Make gst_clock_set_time_adjust obsolete.
1560 (gst_clock_set_time_adjust): Note that this function is obsolete.
1563 * gst/base/gstbasetransform.h: Make the ABI-stability hack
1564 greppable by using GST_PADDING-1+1.
1566 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
1568 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1570 * gst/gstmessage.c: (gst_message_parse_clock_lost):
1571 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
1573 * gst/gstpadtemplate.h:
1574 * gst/gstpluginfeature.h:
1575 Don't use c++ style comments in headers (#321638).
1577 2005-11-16 Andy Wingo <wingo@pobox.com>
1579 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
1582 * check/net/gstnettimeprovider.c: Check to see that the time
1583 provider actually provides times. Works, yo!
1585 2005-11-16 Wim Taymans <wim@fluendo.com>
1587 * check/Makefile.am:
1590 * check/elements/fakesrc.c: (GST_START_TEST):
1591 Set element to NULL before disposing it.
1593 2005-11-16 Andy Wingo <wingo@pobox.com>
1595 * gst/net/Makefile.am:
1597 * gst/net/gstnettimeprovider.c:
1598 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
1599 provider, include it from gstnet.h, and add it to the build.
1601 * gst/net/gstnettimepacket.h:
1602 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
1603 sending and receiving.
1605 2005-11-16 Wim Taymans <wim@fluendo.com>
1607 * check/Makefile.am:
1608 Enable valgrind check.
1610 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
1611 (gst_fake_src_alloc_buffer):
1614 2005-11-16 Wim Taymans <wim@fluendo.com>
1616 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
1617 Call parent finalize too.
1619 2005-11-16 Wim Taymans <wim@fluendo.com>
1621 * check/Makefile.am:
1622 Enable valgrind check that should work fine now.
1624 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1625 * gst/gstqueue.c: (gst_queue_init):
1626 Fix memleaks in pad allocation.
1628 2005-11-16 Andy Wingo <wingo@pobox.com>
1630 * gst/net/Makefile.am:
1631 * gst/net/gstnet.h: New part of core to hold network elements and
1632 objects. Put in core because it exposes API that applications want
1633 to use. The library is named libgstnet-tempname right now because
1634 of the existing libgstnet in gst-plugins-base. Solution is
1635 probably to rename the one in plugins-base; will file a bug for
1638 * gst/net/gstnettimeprovider.c:
1639 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
1640 get_time call over the network.
1643 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
1645 * check/Makefile.am:
1646 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
1647 get additions shortly.
1649 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1651 * gst/gstpad.c: (gst_pad_new_from_static_template):
1653 add gst_pad_new_from_static_template functions
1654 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
1655 (gst_check_setup_sink_pad):
1656 * gst/elements/gsttee.c: (gst_tee_init):
1659 2005-11-16 Wim Taymans <wim@fluendo.com>
1661 * gst/gstpad.c: (gst_pad_pause_task):
1662 Removed warning, it's not really an error either.
1664 2005-11-16 Wim Taymans <wim@fluendo.com>
1666 * gst/base/gstbasetransform.c:
1667 (gst_base_transform_prepare_output_buf),
1668 (gst_base_transform_event):
1669 Check if the caps are NULL, this can happen if the element
1670 is shutting down and the pad caps are set to NULL.
1672 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1674 * gst/elements/gsttee.c: (gst_tee_init):
1675 fix pad template leak in tee
1677 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1679 * gst/glib-compat.c: (g_value_dup_gst_object):
1680 * gst/glib-compat.h:
1681 * gst/gstpad.c: (gst_pad_set_property):
1682 use gst_object_ref when setting the pad template; this will
1683 trigger the pad template leaks on GLib 2.6 and the slaves
1685 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1687 * gst/glib-compat.c: (gst_flags_get_first_value):
1688 * gst/glib-compat.h:
1689 * gst/gstregistryxml.c:
1690 remove functions copied from GLib 2.6
1692 2005-11-16 Michael Smith <msmith@fluendo.com>
1695 Don't link against VALGRIND_LIBS. That was always the wrong thing to
1696 do, but only breaks with newer valgrind versions. We're not a
1697 valgrind tool, we have no link-time dependencies on libcoregrind.
1699 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1701 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1706 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1708 * gst/base/gstbasesrc.c: (gst_base_src_init):
1709 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1710 * gst/gstqueue.c: (gst_queue_init):
1711 * gst/gstregistryxml.c: (load_feature):
1712 Revert all these unrefs, they don't even pass make check !
1714 2005-11-15 Johan Dahlin <johan@gnome.org>
1716 * gst/base/gstbasesrc.c: (gst_base_src_init):
1717 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1718 * gst/gstqueue.c: (gst_queue_init):
1719 Free pad templates, fixes a couple of leaks.
1721 2005-11-15 Daniel Fischer <dan at f3c dot com>
1723 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1725 * gst/gstpad.c: (gst_pad_get_property):
1726 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
1727 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
1730 2005-11-15 Wim Taymans <wim@fluendo.com>
1735 2005-11-15 Andy Wingo <wingo@pobox.com>
1737 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
1739 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
1740 using GST_CLOCK_TIME_NONE to disable base time management.
1741 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
1742 time if it was NONE before.
1743 (gst_pipeline_change_state): Only munge the base time if
1744 stream_time != GST_CLOCK_TIME_NONE.
1746 * check/gst/gstpipeline.c (test_base_time): Punt around the
1747 problem of the probe not being called, because that's not the
1748 issue I'm looking at. Add a check that setting stream_time to NONE
1749 disables base time management.
1751 2005-11-15 Wim Taymans <wim@fluendo.com>
1753 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
1754 segment_stop == -1 at startup.
1756 * gst/base/gstbasetransform.c: (gst_base_transform_event),
1757 (gst_base_transform_change_state):
1758 Init segment values at start.
1760 2005-11-15 Wim Taymans <wim@fluendo.com>
1762 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1763 0 segment values are 0 in any format.
1765 * gst/base/gstbasetransform.c: (gst_base_transform_event):
1766 * gst/base/gstbasetransform.h:
1767 Parse newsegment correctly in basetransform
1769 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1770 Sync to clock using updated segment values.
1772 2005-11-15 Andy Wingo <wingo@pobox.com>
1774 * check/gst/gstpipeline.c (test_base_time): Add check that the
1775 base time and stream time are reset correctly.
1777 2005-11-15 Wim Taymans <wim@fluendo.com>
1779 * docs/design/part-TODO.txt:
1780 Some more TODO items.
1782 2005-11-15 Andy Wingo <wingo@pobox.com>
1784 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
1785 error if the user selected "no clock" as the clocking method.
1787 * check/gst/gstpipeline.c (test_base_time): New test for buffer
1788 timestamps with live capture.
1790 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
1791 is 0 but we are a live source, timestamp the buffers using the
1794 2005-11-14 Stefan Kost <ensonic@users.sf.net>
1796 * docs/gst/gstreamer-sections.txt:
1798 * gst/gstghostpad.c:
1803 2005-11-14 Wim Taymans <wim@fluendo.com>
1806 add suppressions from Wim's Debian machine
1808 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
1811 add suppressions from Andy's AMD64 Ubuntu machine
1813 2005-11-14 Andy Wingo <wingo@pobox.com>
1815 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
1816 STATE_LOCK not necessary. Fixes #311489.
1818 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
1821 * gst/gstindex.c (gst_index_add_object): Note in the docs that
1822 this function is not implemented.
1824 2005-11-14 Julien MOUTTE <julien@moutte.net>
1826 * gst/base/gstbasetransform.c:
1827 (gst_base_transform_prepare_output_buf):
1828 Ref the source pad caps while we need them.
1831 2005-11-11 Wim Taymans <wim@fluendo.com>
1833 * docs/gst/gstreamer-sections.txt:
1834 Added some docs for GstCollectData.
1836 * gst/base/gstadapter.c:
1837 Some small code example fix.
1839 * gst/base/gstcollectpads.c:
1840 * gst/base/gstcollectpads.h:
1843 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
1845 * configure.ac: back to HEAD
1847 === release 0.9.5 ===
1849 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
1852 releasing 0.9.5, "Bike Lunch Day"
1854 2005-11-11 Wim Taymans <wim@fluendo.com>
1856 * gst/gstbuffer.c: (_gst_buffer_copy):
1859 * gst/gstcaps.c: (gst_caps_is_equal):
1861 Make _is_equal fast in the trivial cases.
1863 * gst/gstminiobject.c:
1864 * gst/gstminiobject.h:
1865 More docs. Spifify .h file.
1870 2005-11-11 Wim Taymans <wim@fluendo.com>
1872 * gst/base/gstbasetransform.c:
1873 (gst_base_transform_prepare_output_buf),
1874 (gst_base_transform_handle_buffer):
1876 If we're processing a buffer and need to allocate an output
1877 buffer, we cannot accept a format change. If we did get a
1878 format change, we have to alloc a buffer ourselves of the
1881 2005-11-11 Wim Taymans <wim@fluendo.com>
1883 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
1884 While checking the flag for reentrancy in the gstcaps function
1885 is nice to detect recursive invocations, it also makes it
1886 impossible to call getcaps from multiple threads, which must be
1887 possible. So, checking for recursive calls has to go.
1889 2005-11-11 Michael Smith <msmith@fluendo.com>
1891 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1892 Don't sync on buffers that fall partially outside our current
1893 segment. Prevents an assertion failure/abort playing some files.
1895 2005-11-10 Andy Wingo <wingo@pobox.com>
1897 * check/gst/gstbin.c (test_message_state_changed_children): Style
1900 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
1901 gst_bus_poll with the signal watch. Ensures that poll and a signal
1902 watch see the same messages.
1904 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
1905 a poll and a watch at the same time get the same messages.
1907 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
1909 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
1910 * gst/gstcaps.c: (gst_caps_intersect):
1911 Don't call gst_caps_do_simplify - it doesn't respect order of caps
1912 and it's not needed.
1914 2005-11-10 Wim Taymans <wim@fluendo.com>
1916 * docs/design/part-TODO.txt:
1919 2005-11-10 Wim Taymans <wim@fluendo.com>
1921 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1922 * gst/base/gstbasesrc.c: (gst_base_src_wait),
1923 (gst_base_src_do_sync), (gst_base_src_get_range):
1924 Implement clock sync in base class.
1926 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
1928 patch by: Tim-Philipp Müller <tim at centricular dot net>
1930 * gst/gststructure.c: (gst_structure_parse_field),
1931 (gst_structure_from_string):
1932 Forward-port a 0.8 patch to handle escaped spaces in structure string,
1933 so that gst_parse_launch() can deal with spaces in filtered link
1934 caps (fixes #164479)
1935 * check/gst/capslist.h:
1936 * check/gst/gststructure.c: (GST_START_TEST):
1937 add unit tests for this change
1939 2005-11-10 Wim Taymans <wim@fluendo.com>
1941 * docs/gst/gstreamer-sections.txt:
1944 Fix docs, move some STATE macros to private.
1946 2005-11-10 Wim Taymans <wim@fluendo.com>
1948 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
1949 Added check for bug #317341
1953 Some more spiffifying.
1955 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
1956 Call peer linkfunction if we are a source pad. Totally fixes
1960 Update docs, source pads should call the peer linkfunction
1961 so they can atomically perform the pad link.
1963 2005-11-09 Wim Taymans <wim@fluendo.com>
1967 Uber-spiffy-spiffify some more.
1969 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
1971 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
1972 * gst/elements/gstfilesink.c: (gst_file_sink_init):
1973 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1974 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
1975 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
1976 * gst/gstpad.c: (gst_pad_init):
1977 Use GST_DEBUG_FUNCPTR() more extensively.
1979 2005-11-09 Wim Taymans <wim@fluendo.com>
1981 * gst/gstobject.c: (gst_object_class_init):
1983 Documentation fixes.
1985 2005-11-09 Edward Hervey <edward@fluendo.com>
1987 * gst/gsttypefindfactory.c:
1990 2005-11-09 Edward Hervey <edward@fluendo.com>
1992 * gst/base/gsttypefindhelper.c:
1993 * gst/gsttypefind.c:
1994 * gst/gsttypefind.h:
1997 2005-11-09 Wim Taymans <wim@fluendo.com>
1999 * gst/gstiterator.c:
2006 2005-11-09 Wim Taymans <wim@fluendo.com>
2012 2005-11-09 Wim Taymans <wim@fluendo.com>
2014 * docs/gst/gstreamer-sections.txt:
2015 Moved the message async delivery private lock and cond
2016 to the private section.
2022 2005-11-09 Edward Hervey <edward@fluendo.com>
2024 * docs/gst/gstreamer-sections.txt:
2027 Document GstURIHandler
2029 2005-11-09 Wim Taymans <wim@fluendo.com>
2031 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
2032 (gst_iterator_find_custom):
2033 * gst/gstiterator.h:
2036 2005-11-09 Wim Taymans <wim@fluendo.com>
2039 Document another field.
2041 * gst/gststructure.c:
2042 * gst/gststructure.h:
2045 2005-11-09 Wim Taymans <wim@fluendo.com>
2050 2005-11-09 Wim Taymans <wim@fluendo.com>
2052 * docs/gst/gstreamer-sections.txt:
2053 Added some new macros.
2060 2005-11-09 Wim Taymans <wim@fluendo.com>
2062 * docs/design/part-TODO.txt:
2063 Some more items for the TODO
2069 2005-11-09 Andy Wingo <wingo@pobox.com>
2071 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
2072 to work on something else now tho...
2074 * gst/base/gstadapter.c: More adapter docs.
2076 * gst/elements/gstfilesink.c (gst_file_sink_start)
2077 (gst_file_sink_stop): New functions, replace the state change
2079 (gst_file_sink_class_init): Hook up the start and stop functions.
2080 (gst_file_sink_base_init): Don't set the state change handler any
2081 more. It was a bit ugly too, being set from here...
2082 (gst_file_sink_get_property, gst_file_sink_set_property):
2084 (gst_file_sink_set_location): More robust check that doesn't call
2087 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
2089 * gst/base/gstbasetransform.c: (gst_base_transform_event):
2090 Hold STREAM_LOCK while pushing newsegment or tag events as well.
2092 2005-11-08 Wim Taymans <wim@fluendo.com>
2094 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
2095 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
2096 (gst_base_sink_chain), (gst_base_sink_change_state):
2097 * gst/base/gstbasesink.h:
2098 * gst/base/gstbasesrc.h:
2101 Avoid excessive typechecking in macros.
2103 * gst/gstminiobject.c: (gst_mini_object_get_type),
2104 (gst_mini_object_init), (gst_mini_object_new),
2105 (gst_mini_object_free):
2106 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
2107 (gst_object_finalize):
2108 Remove cruft code, optimize alloc_trace.
2110 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
2112 * docs/faq/gst-uninstalled:
2113 fix up PS1 for systems that try to reset it
2115 2005-11-07 Wim Taymans <wim@fluendo.com>
2117 * gst/base/gstbasesrc.c: (gst_base_src_init),
2118 (gst_base_src_get_range):
2119 Set the segment_end to -1 initially. Fixed typefind.
2121 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
2123 * gst/base/gstadapter.c:
2124 Debug category should be 'adapter', not 'GstAdapter'.
2126 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
2127 (gst_collectpads_class_init), (gst_collectpads_init),
2128 (gst_collectpads_peek), (gst_collectpads_pop),
2129 (gst_collectpads_event), (gst_collectpads_chain):
2130 Add debug category and some debugging output. Use boilerplate
2131 macros. Remove some extraneous words from docs.
2133 2005-11-05 Andy Wingo <wingo@pobox.com>
2135 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
2138 2005-11-04 Stefan Kost <ensonic@users.sf.net>
2140 * docs/gst/gstreamer-sections.txt:
2143 * gst/gstminiobject.h:
2148 2005-11-04 Wim Taymans <wim@fluendo.com>
2150 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2151 Small update to stop at the configured segment_end
2154 2005-11-04 Stefan Kost <ensonic@users.sf.net>
2156 * gst/gstregistry.c:
2157 * gst/gstregistry.h:
2160 2005-11-04 Edward Hervey <edward@fluendo.com>
2162 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2163 Check if we are doing a segment seek and have arrived at the
2164 end of that segment.
2166 2005-11-04 Wim Taymans <wim@fluendo.com>
2168 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
2169 Don't leak a mutex unlock in case of an error.
2174 2005-11-04 Wim Taymans <wim@fluendo.com>
2176 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
2178 Get the context to wake up only once.
2180 2005-11-03 Wim Taymans <wim@fluendo.com>
2182 * check/states/sinks.c: (GST_START_TEST):
2183 Uncomment fixed check.
2185 * docs/design/part-TODO.txt:
2188 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2189 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
2190 (gst_base_sink_get_position):
2191 If we are going to PLAYING, post the right pending state
2192 when we post the intermediate paused message.
2194 * gst/gstelement.c: (gst_element_continue_state),
2195 (gst_element_set_state_func), (gst_element_change_state):
2196 Don't post state changes that were between the same state
2199 2005-11-03 Stefan Kost <ensonic@users.sf.net>
2201 * docs/gst/gstreamer-sections.txt:
2204 * gst/gstminiobject.h:
2207 more docs and doc style fixes
2209 2005-11-03 Stefan Kost <ensonic@users.sf.net>
2211 * docs/gst/gstreamer-sections.txt:
2213 * gst/gstminiobject.c:
2216 2005-11-03 Andy Wingo <wingo@pobox.com>
2218 * check/states/sinks.c (test_livesrc_sink): Add checks that the
2219 state-changed messages actually have the right order and the right
2222 2005-11-03 Wim Taymans <wim@fluendo.com>
2224 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
2225 Added some more checks. Specifically the case where NO_PREROLL
2226 elements are in the pipeline.
2228 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2229 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
2230 (gst_base_sink_get_position):
2231 Post READY->PAUSED state change messages too.
2232 Fix bug where VOID was posted as pending state...
2234 * gst/gstbin.c: (gst_bin_recalc_state):
2235 use _element_continue_state() to continue the state change.
2237 * gst/gstelement.c: (gst_element_continue_state),
2238 (gst_element_commit_state), (gst_element_set_state_func),
2239 (gst_element_change_state), (gst_element_change_state_func):
2240 Lots of state change cleanups, assign the STATE_RETURN in
2241 a new continue_state() function that also propagates the
2242 last return value from a state change to the app.
2243 Update some debug statements with proper category.
2245 2005-11-03 Wim Taymans <wim@fluendo.com>
2247 * docs/design/part-events.txt:
2248 * docs/design/part-gstpipeline.txt:
2249 * docs/design/part-messages.txt:
2250 * docs/design/part-overview.txt:
2251 * docs/design/part-seeking.txt:
2252 * docs/design/part-states.txt:
2253 * docs/design/part-trickmodes.txt:
2254 * docs/manual/advanced-position.xml:
2258 People think !! is ugly, this looks better.
2260 * gst/gstpad.c: (gst_pad_set_blocked_async):
2261 Remove !! since it's fixed elsewhere now.
2263 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
2265 * gst/gstminiobject.h:
2267 Add !! to _FLAG_IS_SET macros to make the result boolean.
2269 2005-11-03 Edward Hervey <edward@fluendo.com>
2271 * gst/gstpad.c: (gst_pad_set_blocked_async):
2272 comparing a flag and a gboolean rarely returns coherent results...
2273 Added two characters (!!) to make that work correctly.
2275 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
2277 * gst/gstbus.c: (gst_bus_class_init):
2280 * gst/gstqueue.c: (gst_queue_loop):
2281 Don't assume a miniobject that isn't a buffer is an
2282 event (it could be that there is a refcounting
2283 problem somewhere and the pointer is stale and
2284 refers to an already destroyed miniobject).
2286 2005-11-03 Julien MOUTTE <julien@moutte.net>
2288 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
2290 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
2292 * docs/manual/advanced-position.xml:
2293 Update seek example and explanations to current 0.9 API.
2295 * gst/elements/gsttypefindelement.c:
2296 (gst_type_find_element_activate):
2297 Remove FIXME comment now that the found caps
2300 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
2302 * gst/gstregistryxml.c: (load_feature):
2303 Add another GST_STR_NULL instance
2305 2005-11-02 Edward Hervey <edward@fluendo.com>
2307 * gst/gstpad.c: (handle_pad_block):
2308 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
2310 2005-11-02 Wim Taymans <wim@fluendo.com>
2315 * gst/gstelement.c: (gst_element_commit_state):
2316 Remove unused value.
2318 * gst/gstiterator.c:
2319 Mention that the returned element is reffed in the docs.
2321 2005-11-02 Wim Taymans <wim@fluendo.com>
2323 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
2324 (gst_pad_push), (gst_pad_push_event):
2325 Unlock blocked pads when they are flushed.
2327 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
2330 * docs/gst/gstreamer-sections.txt:
2333 * gst/gstregistry.c: (gst_registry_scan_path_level):
2334 fix for a nasty little missed situation where an installed plug-in
2335 which was in the cache did not get overridden by an uninstalled one
2336 which was earlier in the plugin path because the newly created plugin
2337 for the uninstalled one (not in the registry) didn't get its
2338 ->registered set to TRUE
2340 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
2342 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
2343 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
2344 (gst_collectpads_is_active), (gst_collectpads_collect),
2345 (gst_collectpads_collect_range), (gst_collectpads_start),
2346 (gst_collectpads_stop), (gst_collectpads_peek),
2347 (gst_collectpads_pop), (gst_collectpads_available),
2348 (gst_collectpads_read), (gst_collectpads_flush):
2349 Guard public API with assertions.
2352 Fix docs for gst_pad_set_link_function().
2354 2005-11-02 Johan Dahlin <johan@gnome.org>
2356 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
2357 Unref found_caps after we used it.
2359 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
2361 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
2362 Don't try to ref NULL.
2364 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
2366 * win32/common/config.h.in:
2367 provide a GST_FUNCTION that just gives a string for now
2369 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
2371 * win32/common/gstenumtypes.c: (register_gst_object_flags),
2372 (gst_object_flags_get_type), (register_gst_bin_flags),
2373 (gst_bin_flags_get_type), (register_gst_buffer_flag),
2374 (gst_buffer_flag_get_type), (register_gst_bus_flags),
2375 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
2376 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
2377 (gst_clock_return_get_type), (register_gst_clock_entry_type),
2378 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
2379 (gst_clock_flags_get_type), (register_gst_state),
2380 (gst_state_get_type), (register_gst_state_change_return),
2381 (gst_state_change_return_get_type), (register_gst_state_change),
2382 (gst_state_change_get_type), (register_gst_element_flags),
2383 (gst_element_flags_get_type), (register_gst_core_error),
2384 (gst_core_error_get_type), (register_gst_library_error),
2385 (gst_library_error_get_type), (register_gst_resource_error),
2386 (gst_resource_error_get_type), (register_gst_stream_error),
2387 (gst_stream_error_get_type), (register_gst_event_type),
2388 (gst_event_type_get_type), (register_gst_seek_type),
2389 (gst_seek_type_get_type), (register_gst_seek_flags),
2390 (gst_seek_flags_get_type), (register_gst_format),
2391 (gst_format_get_type), (register_gst_index_certainty),
2392 (gst_index_certainty_get_type), (register_gst_index_entry_type),
2393 (gst_index_entry_type_get_type),
2394 (register_gst_index_lookup_method),
2395 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
2396 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
2397 (gst_index_resolver_method_get_type), (register_gst_index_flags),
2398 (gst_index_flags_get_type), (register_gst_debug_level),
2399 (gst_debug_level_get_type), (register_gst_debug_color_flags),
2400 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
2401 (gst_iterator_result_get_type), (register_gst_iterator_item),
2402 (gst_iterator_item_get_type), (register_gst_message_type),
2403 (gst_message_type_get_type), (register_gst_mini_object_flags),
2404 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
2405 (gst_pad_link_return_get_type), (register_gst_flow_return),
2406 (gst_flow_return_get_type), (register_gst_activate_mode),
2407 (gst_activate_mode_get_type), (register_gst_pad_direction),
2408 (gst_pad_direction_get_type), (register_gst_pad_flags),
2409 (gst_pad_flags_get_type), (register_gst_pad_presence),
2410 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
2411 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
2412 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
2413 (gst_plugin_error_get_type), (register_gst_plugin_flags),
2414 (gst_plugin_flags_get_type), (register_gst_rank),
2415 (gst_rank_get_type), (register_gst_query_type),
2416 (gst_query_type_get_type), (register_gst_tag_merge_mode),
2417 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
2418 (gst_tag_flag_get_type), (register_gst_task_state),
2419 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
2420 (gst_alloc_trace_flags_get_type),
2421 (register_gst_type_find_probability),
2422 (gst_type_find_probability_get_type), (register_gst_uri_type),
2423 (gst_uri_type_get_type), (register_gst_parse_error),
2424 (gst_parse_error_get_type):
2425 * win32/common/gstversion.h:
2428 2005-11-01 Luca Ognibene <luogni@tin.it>
2431 fix docs. popt is dead, long live GOption.
2433 2005-10-31 Wim Taymans <wim@fluendo.com>
2438 2005-10-31 Andy Wingo <wingo@pobox.com>
2442 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
2444 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
2445 need to serialize property notifications on GLib 2.8. GLib 2.6 has
2446 the possibility of deadlocks here if code calling notify() or
2447 set() has a lock that can be taken in another notify handler (ABBA
2448 with class lock and e.g. python GIL state lock).
2450 2005-10-28 Julien MOUTTE <julien@moutte.net>
2452 * gst/gstbus.c: Doc updates.
2454 2005-10-28 Wim Taymans <wim@fluendo.com>
2456 * docs/design/part-TODO.txt:
2457 * gst/gstiterator.c:
2458 * gst/gstsystemclock.c:
2459 * gst/gstsystemclock.h:
2462 2005-10-28 Edward Hervey <edward@fluendo.com>
2464 * docs/gst/gstreamer-docs.sgml:
2465 * docs/gst/gstreamer-sections.txt:
2466 the GstURIType documentation page is private, it only defines GstURIType
2467 which should be defined in the GstURIHandler page
2469 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
2471 * gst/gstbin.c: (gst_bin_class_init):
2474 Documentation updates.
2476 2005-10-28 Wim Taymans <wim@fluendo.com>
2478 * docs/gst/gstreamer-sections.txt:
2481 Documented the clocks.
2483 2005-10-28 Stefan Kost <ensonic@users.sf.net>
2485 * docs/gst/gstreamer-sections.txt:
2486 move some macros to private sections
2487 * gst/gstminiobject.c:
2488 * gst/gstminiobject.h:
2489 add descriptions provided by ds and some more
2491 mark macro as to be removed
2493 2005-10-28 Wim Taymans <wim@fluendo.com>
2495 * docs/design/part-TODO.txt:
2496 Add an item to TODO.
2498 * gst/gstiterator.c: (gst_iterator_fold),
2499 (gst_iterator_find_custom):
2500 * gst/gstiterator.h:
2503 2005-10-28 Wim Taymans <wim@fluendo.com>
2505 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
2506 (gst_base_transform_init):
2509 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
2510 An EOS event marks the queue as completely filled.
2512 2005-10-27 Wim Taymans <wim@fluendo.com>
2514 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2515 (gst_base_sink_do_sync), (gst_base_sink_get_position):
2516 Some more debugging.
2518 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
2519 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
2520 (gst_base_transform_event), (gst_base_transform_getrange),
2521 (gst_base_transform_chain):
2522 * gst/base/gstbasetransform.h:
2524 Protect transform and concurrent buffer alloc with a new lock.
2525 Try not to break ABI/API.
2527 2005-10-27 Wim Taymans <wim@fluendo.com>
2529 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2530 (gst_base_src_init), (gst_base_src_query),
2531 (gst_base_src_default_newsegment),
2532 (gst_base_src_configure_segment), (gst_base_src_do_seek),
2533 (gst_base_src_send_event), (gst_base_src_event_handler),
2534 (gst_base_src_pad_get_range), (gst_base_src_loop),
2535 (gst_base_src_unlock), (gst_base_src_default_negotiate),
2536 (gst_base_src_start), (gst_base_src_deactivate),
2537 (gst_base_src_activate_push), (gst_base_src_change_state):
2538 Move some stuff around and cleanup things.
2540 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
2542 * gst/base/gstbasesrc.c: (gst_base_src_query):
2543 Add missing break statements.
2545 2005-10-27 Wim Taymans <wim@fluendo.com>
2547 * check/gst/gstbin.c: (GST_START_TEST):
2548 An extra refcount is taken in basesrc.
2550 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
2551 (gst_base_src_get_range), (gst_base_src_pad_get_range),
2552 (gst_base_src_loop):
2553 Small cleanups, check for flushing after being unlocked from the
2554 LIVE_LOCK. take refcounts correctly (not yet everywhere).
2555 Don't send out EOS when going to READY.
2557 2005-10-27 Wim Taymans <wim@fluendo.com>
2559 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2560 (gst_base_sink_get_position):
2563 * gst/gstbin.c: (message_check), (bin_replace_message),
2564 (bin_remove_messages), (is_eos), (gst_bin_add_func),
2565 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2566 (bin_query_duration_init), (bin_query_duration_fold),
2567 (bin_query_duration_done), (bin_query_generic_fold),
2569 * tools/gst-launch.c: (main):
2572 2005-10-26 Stefan Kost <ensonic@users.sf.net>
2574 * examples/controller/audio-example.c: (main):
2575 * examples/queue/queue.c: (event_loop):
2576 * gst/base/gstbasetransform.h:
2577 * gst/gstelement.c: (gst_element_send_event):
2579 * gst/gstpad.c: (gst_pad_send_event):
2582 changing log priority in error situations
2584 2005-10-25 Wim Taymans <wim@fluendo.com>
2586 * gst/gstbin.c: (message_check), (bin_replace_message),
2587 (bin_remove_messages), (is_eos), (gst_bin_add_func),
2588 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2589 (bin_query_duration_init), (bin_query_duration_fold),
2590 (bin_query_duration_done), (bin_query_generic_fold),
2592 Some doc and debug updates.
2593 Cache previously requested query DURATION for speed. invalidate
2594 cached duration if element posts a DURATION message.
2596 2005-10-25 Wim Taymans <wim@fluendo.com>
2598 * docs/design/part-TODO.txt:
2601 * gst/gstbin.c: (message_check), (bin_replace_message),
2602 (bin_remove_messages), (is_eos), (gst_bin_add_func),
2603 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2604 (bin_query_duration_init), (bin_query_duration_fold),
2605 (bin_query_duration_done), (bin_query_generic_fold),
2607 Handle SEGMENT_START/DONE messages correctly.
2608 More evolved query algorithm that handles duration queries
2611 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
2612 (gst_element_get_state_func), (gst_element_abort_state),
2613 (gst_element_commit_state), (gst_element_lost_state):
2614 Some more debugging.
2619 2005-10-25 Wim Taymans <wim@fluendo.com>
2621 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
2622 Don't use invalid stream_time.
2624 * gst/gstevent.c: (gst_event_new_newsegment):
2625 stream_time in newsegment cannot be undefined.
2627 2005-10-24 Wim Taymans <wim@fluendo.com>
2632 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
2634 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
2636 2005-10-24 Stefan Kost <ensonic@users.sf.net>
2638 * docs/libs/tmpl/gstdparam.sgml:
2639 * docs/libs/tmpl/gstdplinint.sgml:
2640 * docs/libs/tmpl/gstdpman.sgml:
2641 * docs/libs/tmpl/gstdpsmooth.sgml:
2642 * docs/libs/tmpl/gstunitconvert.sgml:
2645 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
2650 === release 0.9.4 ===
2652 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
2655 releasing 0.9.4, "Tyrannosaurus Rex"
2657 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
2659 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
2660 (gst_file_sink_get_current_offset):
2661 Use fseeko() and ftello() if available. When falling back on
2662 lseek() to get the current offset, fflush() first to make sure
2663 everything is up-to-date and we get the right offset.
2665 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
2667 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2668 * gst/base/gstbasesrc.c: (gst_base_src_loop):
2669 * gst/gsterror.c: (_gst_stream_errors_init):
2671 * gst/gstqueue.c: (gst_queue_loop):
2673 remove prematurely added error category and clean up the instances
2675 2005-10-21 Wim Taymans <wim@fluendo.com>
2677 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2678 (gst_base_sink_get_position), (gst_base_sink_query),
2679 (gst_base_sink_change_state):
2680 Simply set the right flag when going to playing, that's all
2681 we need to do instead of calling a function inside the object
2682 lock (that could take the lock as well and deadlock)
2684 2005-10-21 Wim Taymans <wim@fluendo.com>
2686 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
2687 (gst_base_src_loop):
2688 Don't warn, the peer element knows what to do best when
2689 the seek failed, it might try something else.
2691 2005-10-21 Wim Taymans <wim@fluendo.com>
2693 * gst/base/gstbasesrc.c: (gst_base_src_init),
2694 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
2697 2005-10-21 Wim Taymans <wim@fluendo.com>
2699 * docs/design/part-segments.txt:
2702 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
2703 Correctly set caps, even on the subbufer.
2705 2005-10-21 Wim Taymans <wim@fluendo.com>
2707 * docs/gst/gstreamer-docs.sgml:
2708 * docs/gst/gstreamer-sections.txt:
2715 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
2719 And 2% more doc coverage.
2721 2005-10-21 Andy Wingo <wingo@pobox.com>
2723 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
2726 2005-10-20 Wim Taymans <wim@fluendo.com>
2728 * gst/gsterror.c: (gst_error_get_message):
2731 * gst/gststructure.c:
2736 2005-10-20 Wim Taymans <wim@fluendo.com>
2741 Another 1% more coverage.
2743 2005-10-20 Wim Taymans <wim@fluendo.com>
2745 * docs/gst/gstreamer-sections.txt:
2746 * gst/gstelement.c: (gst_element_get_state_func),
2747 (gst_element_abort_state), (gst_element_commit_state),
2748 (gst_element_lost_state):
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 Yay! 1% more docs coverage.
2756 2005-10-20 Wim Taymans <wim@fluendo.com>
2759 * gst/gstquery.c: (gst_query_set_position),
2760 (gst_query_parse_position), (gst_query_set_duration),
2761 (gst_query_parse_duration), (gst_query_new_convert):
2763 * gst/gstutils.c: (gst_element_query_convert):
2765 Docs and consistency fixes.
2767 2005-10-20 Wim Taymans <wim@fluendo.com>
2773 2005-10-20 Wim Taymans <wim@fluendo.com>
2775 * gst/gstbin.c: (message_check), (bin_replace_message),
2776 (bin_remove_messages), (is_eos), (gst_bin_add_func),
2777 (update_degree), (gst_bin_sort_iterator_next),
2778 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
2779 Reworked the message handling a bit, cache the messages instead of
2780 only the senders. alows us to do more in the future.
2782 2005-10-20 Wim Taymans <wim@fluendo.com>
2784 * docs/design/part-TODO.txt:
2787 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
2788 (gst_base_sink_query):
2789 Don't use clock time to report position when in EOS.
2791 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
2793 * tools/gst-inspect.c: (print_interfaces),
2794 (print_element_properties_info), (print_element_info):
2795 Fix interface output with gst-inspect -a; don't print
2796 newlines after double/float properties.
2798 2005-10-20 Wim Taymans <wim@fluendo.com>
2800 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
2801 (gst_base_sink_query):
2802 Speed up current position calculation.
2804 * gst/base/gstbasesrc.c: (gst_base_src_query),
2805 (gst_base_src_default_newsegment):
2806 Correctly set stream position in newsegment.
2808 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
2809 (update_degree), (gst_bin_sort_iterator_next),
2810 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
2811 * gst/gstmessage.c: (gst_message_new_custom):
2812 Clean up debugging info
2814 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
2815 (gst_queue_loop), (gst_queue_handle_src_query):
2818 2005-10-19 Wim Taymans <wim@fluendo.com>
2820 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2821 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
2822 Fix query handling again.
2824 2005-10-19 Wim Taymans <wim@fluendo.com>
2826 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2827 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
2828 * gst/base/gstbasesrc.c: (gst_base_src_query):
2829 * gst/elements/gstfilesink.c: (gst_file_sink_query):
2830 * gst/elements/gsttypefindelement.c:
2831 (gst_type_find_handle_src_query), (find_element_get_length),
2832 (gst_type_find_element_activate):
2835 * gst/gstquery.c: (gst_query_new_position),
2836 (gst_query_set_position), (gst_query_parse_position),
2837 (gst_query_new_duration), (gst_query_set_duration),
2838 (gst_query_parse_duration), (gst_query_set_segment),
2839 (gst_query_parse_segment):
2841 Bundling query position/duration is not a good idea since duration
2842 does not change much and we don't want to recalculate it for every
2843 position query, so they are separated again..
2844 Base value in segment query is not needed.
2846 * gst/gstqueue.c: (gst_queue_handle_src_query):
2847 * gst/gstutils.c: (gst_element_query_position),
2848 (gst_element_query_duration), (gst_pad_query_position),
2849 (gst_pad_query_duration):
2851 Updates for query API change.
2852 Added some docs here and there.
2854 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
2856 * check/gst/gstbin.c: (GST_START_TEST):
2857 * check/gst/gstghostpad.c: (GST_START_TEST):
2858 * check/pipelines/cleanup.c: (GST_START_TEST):
2859 wait on thread to die so we can check refcount correctly
2861 2005-10-18 Wim Taymans <wim@fluendo.com>
2863 * check/pipelines/stress.c: (GST_START_TEST):
2864 Make check a little more time consuming.
2866 2005-10-18 Wim Taymans <wim@fluendo.com>
2868 * check/Makefile.am:
2869 * check/pipelines/stress.c: (GST_START_TEST),
2870 (simple_launch_lines_suite), (main):
2871 Small state change torture test.
2873 * docs/design/part-states.txt:
2874 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2875 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
2876 (gst_base_sink_change_state):
2877 Never take state lock from streaming thread, clean up ugly
2878 hacks. Unfortunatly core does not yet support nice ways to
2881 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
2883 Start state recalc if a STATE_DIRTY message is posted, but only
2884 on the toplevel bin.
2886 * gst/gstelement.c: (gst_element_sync_state_with_parent),
2887 (gst_element_get_state_func), (gst_element_abort_state),
2888 (gst_element_commit_state), (gst_element_lost_state),
2889 (gst_element_set_state_func), (gst_element_change_state):
2891 State variables are now protected with the LOCK, the state
2892 lock is only used to serialize _set_state().
2894 2005-10-18 Wim Taymans <wim@fluendo.com>
2896 * check/gst/gstbin.c: (GST_START_TEST):
2897 * check/gst/gstmessage.c: (GST_START_TEST):
2898 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2899 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
2901 * gst/gstelement.c: (gst_element_abort_state),
2902 (gst_element_commit_state), (gst_element_lost_state):
2903 * gst/gstmessage.c: (gst_message_new_state_changed),
2904 (gst_message_new_state_dirty), (gst_message_new_segment_start),
2905 (gst_message_new_segment_done), (gst_message_new_duration),
2906 (gst_message_parse_state_changed),
2907 (gst_message_parse_segment_start),
2908 (gst_message_parse_segment_done), (gst_message_parse_duration):
2910 * tools/gst-launch.c: (event_loop):
2911 Seriously, this is better than a previous commit as we only need
2912 to notify the fact that an element changed state in a streaming
2913 thread, marking the state of the parents dirty, hence the
2914 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
2917 2005-10-18 Wim Taymans <wim@fluendo.com>
2919 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
2920 (gst_bin_recalc_func):
2921 * gst/gstelement.c: (gst_element_set_clock),
2922 (gst_element_abort_state), (gst_element_lost_state):
2923 Cleanups, prepare for state change fixes.
2925 2005-10-18 Wim Taymans <wim@fluendo.com>
2928 * gst/gstelement.c: (gst_element_class_init),
2929 (gst_element_set_state), (gst_element_set_state_func):
2931 Pending ABI changes.
2932 GThreadPool in GstBinClass to monitor async state changes.
2933 state_cookie in GstElement to detect concurrent gst/set state.
2934 set_state is now virtual too in case a very complicated element
2935 has to be constructed.
2937 2005-10-18 Wim Taymans <wim@fluendo.com>
2939 * check/gst/gstbin.c: (GST_START_TEST):
2940 * check/gst/gstmessage.c: (GST_START_TEST):
2941 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2942 * gst/gstbin.c: (bin_bus_handler):
2943 * gst/gstelement.c: (gst_element_commit_state),
2944 (gst_element_lost_state):
2945 * gst/gstmessage.c: (gst_message_new_state_changed),
2946 (gst_message_new_segment_start), (gst_message_new_segment_done),
2947 (gst_message_new_duration), (gst_message_parse_state_changed),
2948 (gst_message_parse_segment_start),
2949 (gst_message_parse_segment_done), (gst_message_parse_duration):
2951 * tools/gst-launch.c: (event_loop):
2952 Make messages future proof.
2953 state-change gets a flag if it was a message comming from the
2955 segment-start/stop can also be specified in other formats.
2956 A message to notify an app that a pipeline changed playback
2958 Also fix a GstMessage leak in -launch
2960 2005-10-18 Andy Wingo <wingo@pobox.com>
2962 * gst/gstelement.c (gst_element_dispose): More helpful message.
2964 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
2966 reviewed by: <delete if not using a buddy>
2968 * common/gtk-doc.mak:
2970 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
2972 * gst/gstregistry.c: (gst_registry_scan_path_level):
2973 unref a plug-in we get that was already initialized
2975 2005-10-18 Stefan Kost <ensonic@users.sf.net>
2977 * docs/gst/gstreamer-sections.txt:
2978 * docs/libs/gstreamer-libs-sections.txt:
2983 2005-10-17 Andy Wingo <wingo@pobox.com>
2985 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
2988 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
2990 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
2992 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
2993 (gst_element_get_state_func): Better debug message.
2994 (gst_element_commit_state): s/INFO/DEBUG/.
2995 (gst_element_lost_state, gst_element_change_state):
2997 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
2998 (gst_message_new_custom): s/INFO/LOG/.
3000 2005-10-17 Michael Smith <msmith@fluendo.com>
3002 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3003 Check if end time is valid using end time, not start time.
3005 2005-10-17 Stefan Kost <ensonic@users.sf.net>
3007 * check/gst-libs/controller.c: (GST_START_TEST),
3008 (gst_controller_suite):
3009 * libs/gst/controller/gstcontroller.c:
3010 (gst_controlled_property_set_interpolation_mode):
3011 * libs/gst/controller/gstcontroller.h:
3012 * libs/gst/controller/gstinterpolation.c:
3013 * testsuite/controller/.cvsignore:
3014 * testsuite/controller/Makefile.am:
3015 * testsuite/controller/interpolator.c:
3016 merge controller testsuites
3018 remove mem-chunk from docs
3020 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
3022 * gst/gstmemchunk.c:
3023 * gst/gstmemchunk.h:
3024 * gst/gsttrashstack.c:
3025 * gst/gsttrashstack.h:
3026 out. get out. you're fired. to the Attic !
3028 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
3030 * gst/gstcaps.c: (gst_caps_intersect):
3031 fix signedness issues in a (hopefully) correct way
3032 * gst/gstelement.c: (gst_element_pads_activate):
3034 * gst/gstobject.c: (gst_object_set_parent):
3037 2005-10-17 Julien MOUTTE <julien@moutte.net>
3039 * gst/gstvalue.h: Fix prototypes.
3041 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3043 * docs/gst/gstreamer-sections.txt:
3044 * gst/gst.c: (gst_version_string):
3046 * gst/gstversion.h.in:
3047 * win32/common/libgstreamer.def:
3048 add gst_version_string ()
3050 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3054 * gst/gst.c: (init_post):
3055 * win32/common/config.h.in:
3057 * gst/gstcaps.c: (gst_caps_intersect):
3058 use gint64, the range could be bigger than a guint
3060 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3063 document potential problem in 2038
3065 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3067 * gst/gstcaps.c: (gst_caps_intersect):
3068 Fix guint j diving under 0
3070 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3073 * win32/common/config.h:
3074 * win32/common/config.h.in:
3075 check for process.h, declares getpid() on Windows
3077 include process.h if we have it
3078 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
3079 * gst/gstmemchunk.h:
3080 fix signedness issues
3081 * win32/common/libgstreamer.def:
3084 2005-10-16 Julien MOUTTE <julien@moutte.net>
3086 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
3087 fix. Because of unsigned ints, caps intersection was going nuts and
3088 trying to access structures with G_MAXUINT index. That fixes
3089 videotestsrc ! ffmpegcolorspace ! fakesink
3090 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
3093 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3096 use the gettext macro
3097 * gst/elements/gstelements.c:
3099 * gst/indexers/gstindexers.c:
3100 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
3101 * win32/common/config.h:
3103 * win32/common/config.h.in:
3104 add the template to generate config.h
3105 * win32/common/gstenumtypes.c:
3106 * win32/common/gstversion.h:
3109 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3111 * gst/gst.c: (gst_version):
3112 * gst/gstversion.h.in:
3115 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
3118 Oops, add missing closing bracket.
3120 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3123 use common m4's for argument checking
3125 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
3127 * docs/gst/gstreamer-sections.txt:
3129 Add GST_EVENT_TYPE_NAME() macro.
3131 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3134 * gst/gstpluginfeature.c:
3136 privatize more symbols
3138 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3141 add srcdir, builddir includes to GST_ALL_CFLAGS, since
3142 everything that uses GStreamer API should have the includes
3144 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3146 * docs/gst/gstreamer-sections.txt:
3147 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3149 give each value a _get_type, removes the DATA exports
3151 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3155 remove _gst_registry_auto_load, not used anymore
3156 * gst/gstbin.c: (gst_bin_get_type):
3158 * gst/gstelement.c: (gst_element_get_type):
3160 * gst/gstobject.c: (gst_object_get_type):
3162 * gst/gstpad.c: (gst_pad_get_type):
3164 make _get_type functions similar, fixes data export from library
3166 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3169 correctly make conditionals
3170 * gst/elements/Makefile.am:
3171 * gst/elements/gstelements.c:
3172 fix typo causing fdsrc not to build
3174 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3176 * testsuite/Makefile.am:
3177 * testsuite/bytestream/.cvsignore:
3178 * testsuite/bytestream/Makefile.am:
3179 * testsuite/bytestream/filepadsink.c:
3180 * testsuite/bytestream/gstbstest.c:
3181 * testsuite/bytestream/test1.c:
3182 * testsuite/bytestream/testfile1:
3183 * testsuite/caps/normalisation.c:
3184 * testsuite/caps/random.c: (main):
3185 * testsuite/cleanup/.cvsignore:
3186 * testsuite/cleanup/Makefile.am:
3187 * testsuite/cleanup/cleanup1.c:
3188 * testsuite/cleanup/cleanup2.c:
3189 * testsuite/cleanup/cleanup3.c:
3190 * testsuite/cleanup/cleanup4.c:
3191 * testsuite/cleanup/cleanup5.c:
3192 * testsuite/controller/interpolator.c:
3193 * testsuite/debug/printf_extension.c: (main):
3194 * testsuite/elements/tee.c:
3195 * testsuite/negotiation/.cvsignore:
3196 * testsuite/negotiation/Makefile.am:
3197 * testsuite/negotiation/pad_link.c:
3198 * testsuite/pad/Makefile.am:
3199 * testsuite/pad/chainnopull.c:
3200 * testsuite/pad/getnopush.c:
3201 * testsuite/pad/link.c:
3202 * testsuite/refcounting/sched.c: (create_pipeline):
3203 * testsuite/registry/Makefile.am:
3204 * testsuite/registry/gst-print-formats.c:
3205 * testsuite/schedulers/.cvsignore:
3206 * testsuite/schedulers/142183-2.c:
3207 * testsuite/schedulers/142183.c:
3208 * testsuite/schedulers/143777-2.c:
3209 * testsuite/schedulers/143777.c:
3210 * testsuite/schedulers/147713.c:
3211 * testsuite/schedulers/147819.c:
3212 * testsuite/schedulers/147894-2.c:
3213 * testsuite/schedulers/147894.c:
3214 * testsuite/schedulers/Makefile.am:
3215 * testsuite/schedulers/group_link.c:
3216 * testsuite/schedulers/queue_link.c:
3217 * testsuite/schedulers/relink.c:
3218 * testsuite/schedulers/unlink.c:
3219 * testsuite/schedulers/unref.c:
3220 * testsuite/schedulers/useless_iteration.c:
3221 * testsuite/states/bin.c:
3222 clean out/remove some stuff from the testsuite directories
3224 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3227 check for some headers
3228 * gst/elements/Makefile.am:
3229 * gst/elements/gstelements.c:
3230 don't compile fdsrc without sys/socket.h
3231 * gst/indexers/Makefile.am:
3232 * gst/indexers/gstindexers.c: (plugin_init):
3233 don't compile fileindex without mmap
3235 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3242 * check/Makefile.am:
3243 * docs/gst/Makefile.am:
3244 * examples/helloworld/Makefile.am:
3246 * gst/base/Makefile.am:
3247 * gst/check/Makefile.am:
3248 * gst/elements/Makefile.am:
3249 * gst/indexers/Makefile.am:
3250 * gst/parse/Makefile.am:
3251 * libs/gst/controller/Makefile.am:
3252 * libs/gst/dataprotocol/Makefile.am:
3253 * examples/helloworld/helloworld.c: (event_loop):
3254 compile fixes, though it's not being compiled currently
3256 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
3258 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
3259 Add some simple tests for the new taglist date API.
3261 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
3263 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
3264 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
3265 Beautify 'last-message' output: print 'none' for buffer timestamps
3266 and durations if none is set; improve alignment with next messages.
3268 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
3270 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
3271 * gst/gstpluginfeature.h:
3272 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
3273 * gst/gstregistry.h:
3274 * docs/gst/gstreamer-sections.txt:
3275 Add new API to check plugin feature version requirements.
3277 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
3278 Some basic tests for the above.
3280 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3282 * gst/gststructure.c: (gst_structure_to_string):
3283 guard against NULL printf - happens when for example
3284 a message structure with GstClock gets serialized
3286 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
3288 * gst/base/gstcollectpads.c: (gst_collectpads_event):
3289 Fix presumable copy'n'pasto.
3291 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3293 * gst/elements/gstfakesrc.h:
3294 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
3295 * gst/elements/gsttypefindelement.c:
3297 * gst/elements/gstfilesink.c: (gst_file_sink_render):
3298 I wonder if this could actually write +2GB files before
3300 2005-10-13 Andy Wingo <wingo@pobox.com>
3302 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
3303 Fix Timmeke Waymans bug.
3304 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
3305 string of the proper length to gst_caps_from_string. There's a
3306 potential for, before this fix, that this could cause someone
3307 connecting over the network to cause a segfault if the payload is
3310 2005-10-13 Stefan Kost <ensonic@users.sf.net>
3312 * docs/design/draft-push-pull.txt:
3313 * docs/design/part-overview.txt:
3314 * docs/random/TODO-pre-0.9:
3315 * docs/random/old/ChangeLog.gstreamer:
3316 * gst/base/gstpushsrc.c:
3320 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3322 * gst/glib-compat.c: (gst_flags_get_first_value):
3323 * gst/glib-compat.h:
3324 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
3325 (gst_value_compare_double), (gst_value_serialize_flags):
3326 GLib 2.6 g_flags_get_first_value has a bug that triggers an
3329 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3331 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3332 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3334 * tools/gst-launch.c: (event_loop):
3335 print out clock nicely
3337 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
3339 * docs/gst/gstreamer-sections.txt:
3341 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
3342 (gst_tag_list_get_date_index):
3343 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
3344 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
3346 2005-10-13 Julien MOUTTE <julien@moutte.net>
3348 * gst/base/gstcollectpads.c: (gst_collectpads_event),
3349 (gst_collectpads_chain):
3350 * gst/base/gstcollectpads.h: Handle newsegment and store informations
3353 2005-10-13 Stefan Kost <ensonic@users.sf.net>
3355 * docs/gst/gstreamer-sections.txt:
3358 * tools/gst-inspect.c: (main):
3359 * tools/gst-launch.c: (main):
3360 * tools/gst-run.c: (main):
3361 * tools/gst-xmlinspect.c: (main):
3362 fix GOption context leaks
3365 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3369 * win32/common/config.h:
3371 * win32/vs6/grammar.dsp:
3372 * win32/vs6/libgstelements.dsp:
3373 * win32/vs6/libgstreamer.dsp:
3376 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
3378 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3379 * gst/base/gstbasesrc.c: (gst_base_src_query):
3380 fix more guint64<->gdouble conversions
3382 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
3385 add win32-update target
3386 * win32/common/gstconfig.h:
3387 * win32/common/gstenumtypes.c:
3388 * win32/common/gstenumtypes.h:
3389 * win32/common/gstversion.h:
3390 add files that visual studio can't generate
3392 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
3395 add a win32-update target
3398 2005-10-12 Wim Taymans <wim@fluendo.com>
3400 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3401 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
3402 * gst/gstelement.c: (gst_element_commit_state),
3403 (gst_element_set_state):
3404 Protect flags with proper lock.
3405 unref provided cached clock in dispose.
3407 2005-10-12 Stefan Kost <ensonic@users.sf.net>
3410 * gst/gstminiobject.h:
3412 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
3413 removed unused flags from miniobject
3416 2005-10-12 Wim Taymans <wim@fluendo.com>
3418 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
3419 (gst_file_sink_event), (gst_file_sink_render):
3420 Flush before seeking.
3422 2005-10-12 Andy Wingo <wingo@pobox.com>
3424 * gst/gst.c (gst_init_check): Ignore unknown options, as has
3425 always been the case.
3427 2005-10-12 Stefan Kost <ensonic@users.sf.net>
3429 * check/gst/gstbin.c: (GST_START_TEST):
3430 * docs/gst/gstreamer-sections.txt:
3431 * gst/base/gstbasesink.c: (gst_base_sink_init):
3432 * gst/base/gstbasesrc.c: (gst_base_src_init),
3433 (gst_base_src_get_range), (gst_base_src_check_get_range),
3434 (gst_base_src_start), (gst_base_src_stop):
3435 * gst/base/gstbasesrc.h:
3436 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
3437 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3438 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
3442 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
3444 * gst/gstelement.c: (gst_element_is_locked_state),
3445 (gst_element_set_locked_state), (gst_element_commit_state),
3446 (gst_element_set_state):
3448 * gst/gstindex.c: (gst_index_init):
3450 * gst/gstminiobject.h:
3451 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
3452 (gst_object_set_parent):
3454 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
3455 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
3457 * gst/gstpadtemplate.h:
3458 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
3459 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
3460 * gst/gstpipeline.h:
3461 * gst/indexers/gstfileindex.c: (gst_file_index_load),
3462 (gst_file_index_commit):
3463 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
3464 * testsuite/pad/link.c: (gst_test_src_init),
3465 (gst_test_filter_init), (gst_test_sink_init):
3466 * testsuite/states/locked.c: (main):
3467 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
3468 moved bitshift from macro to enum definition
3470 2005-10-12 Wim Taymans <wim@fluendo.com>
3472 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
3473 * gst/elements/gstfilesink.c: (gst_file_sink_event),
3474 (gst_file_sink_render):
3475 Some more debugging info.
3477 2005-10-12 Wim Taymans <wim@fluendo.com>
3479 * docs/design/part-states.txt:
3480 * tools/gst-launch.c: (main):
3482 Revert non-intentional change.
3484 2005-10-12 Wim Taymans <wim@fluendo.com>
3486 * check/gst/gstbin.c: (GST_START_TEST):
3487 * check/gst/gstelement.c: (GST_START_TEST):
3488 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
3489 * check/gst/gstghostpad.c: (GST_START_TEST):
3490 * check/gst/gstpipeline.c: (GST_START_TEST):
3491 * check/pipelines/simple_launch_lines.c: (run_pipeline):
3492 * check/states/sinks.c: (GST_START_TEST):
3493 * gst/elements/gsttypefindelement.c: (stop_typefinding):
3494 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
3495 (gst_bin_remove_func), (gst_bin_get_state_func),
3496 (gst_bin_recalc_state), (gst_bin_change_state_func),
3498 * gst/gstelement.c: (gst_element_get_state_func),
3499 (gst_element_get_state), (gst_element_abort_state),
3500 (gst_element_commit_state), (gst_element_set_state),
3501 (gst_element_change_state), (gst_element_change_state_func):
3503 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
3504 (gst_pipeline_provide_clock_func):
3505 * gst/gstutils.c: (gst_element_link_pads_filtered):
3506 * tools/gst-launch.c: (main):
3507 * tools/gst-typefind.c: (main):
3508 Use GstClockTime in _get_state() instead of GTimeVal.
3509 Remove old code in gstutils.c
3511 2005-10-12 Andy Wingo <wingo@pobox.com>
3513 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
3516 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
3517 there is no task. Shouldn't affect any code, as nothing in our
3518 plugins checks this return value.
3519 (gst_pad_stop_task): Also take the stream lock if the pad has no
3522 2005-10-12 Wim Taymans <wim@fluendo.com>
3524 * gst/gstpad.c: (pre_activate), (post_activate),
3525 (gst_pad_activate_pull), (gst_pad_activate_push):
3526 Cleanup activation code. Reset old state if
3529 2005-10-12 Wim Taymans <wim@fluendo.com>
3531 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3532 (gst_base_sink_change_state):
3533 No need to prerol after receiving EOS.
3535 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
3536 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
3537 * gst/elements/gstidentity.c: (gst_identity_event):
3538 Print events more verbosely.
3540 2005-10-12 Wim Taymans <wim@fluendo.com>
3542 * check/Makefile.am:
3543 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
3544 * check/states/sinks2.c:
3545 Moved sinks2 testcode in sinks check.
3547 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
3548 (gst_bin_remove_func), (gst_bin_recalc_state),
3549 (gst_bin_change_state_func), (bin_bus_handler):
3550 Fix potential race condition when _get_state() iterated over an
3551 ASYNC element right before it posted a state completion.
3554 Do proper cast here.
3556 * gst/gstevent.c: (gst_event_new_newsegment),
3557 (gst_event_parse_newsegment):
3558 A playback rate of 0.0 is not allowed.
3560 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3562 * win32/common/config.h:
3563 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
3564 (_trewinddir), (_ttelldir), (_tseekdir):
3565 * win32/common/dirent.h:
3566 * win32/common/gtchar.h:
3567 * win32/common/libgstbase.def:
3568 * win32/common/libgstreamer.def:
3569 * win32/vs6/grammar.dsp:
3570 * win32/vs6/gst_inspect.dsp:
3571 * win32/vs6/gst_launch.dsp:
3572 * win32/vs6/gstreamer.dsw:
3573 * win32/vs6/libgstbase.dsp:
3574 * win32/vs6/libgstelements.dsp:
3575 * win32/vs6/libgstreamer.dsp:
3576 Visual Studio 6 project files, and a new common directory.
3579 2005-10-11 Wim Taymans <wim@fluendo.com>
3581 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3582 (gst_base_sink_do_sync), (gst_base_sink_query),
3583 (gst_base_sink_change_state):
3584 * gst/base/gstbasesink.h:
3585 Correctly parse newsegment info.
3587 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3589 * gst/gst.c: (init_post):
3590 split plugin paths correctly
3592 2005-10-11 Wim Taymans <wim@fluendo.com>
3594 * check/gst/gstevent.c: (GST_START_TEST):
3595 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3596 (gst_base_sink_change_state):
3597 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
3598 * gst/base/gstbasetransform.c: (gst_base_transform_event):
3599 * gst/elements/gstfilesink.c: (gst_file_sink_event):
3600 * gst/gstevent.c: (gst_event_new_newsegment),
3601 (gst_event_parse_newsegment):
3603 Added extra flag to newsegment for future API freeze.
3604 Updated check and base elements.
3606 2005-10-11 Julien MOUTTE <julien@moutte.net>
3608 * gst/base/gstcollectpads.c: (gst_collectpads_init),
3609 (gst_collectpads_add_pad), (gst_collectpads_pop),
3610 (gst_collectpads_event), (gst_collectpads_chain):
3611 * gst/base/gstcollectpads.h: Handle EOS correctly.
3613 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3615 * tools/gst-launch.c: (main):
3616 more null protecting
3618 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3620 * gst/gst-i18n-lib.h:
3621 check for ENABLE_NLS, not GETTEXT_PACKAGE
3622 * gst/gstregistry.c: (gst_registry_add_plugin),
3623 (gst_registry_scan_path_level),
3624 (_gst_registry_remove_cache_plugins):
3625 protect possibly NULL strings
3626 * gst/parse/types.h:
3627 config.h already included before
3628 * tools/gst-inspect.c: (main):
3629 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
3630 check for ENABLE_NLS, not GETTEXT_PACKAGE
3631 * tools/gst-launch.c: (main):
3632 check for ENABLE_NLS, not GETTEXT_PACKAGE
3634 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3637 if we don't have glib, fail before testing 2.8
3638 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
3639 fix a leak, should fix plugins-base testsuite
3641 2005-10-11 Andy Wingo <wingo@pobox.com>
3643 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
3644 take the mode we're going to as an arg. Go head and set the mode
3645 and flushing flags now, so that if the activate function starts a
3646 thread all the flags will be in the right state.
3647 (post_activate): Renamed also. Just handle making sure streaming
3648 finishes for the deactivation case, and setting the deactivated
3650 (gst_pad_set_active): Complain loudly if deactivation fails.
3651 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
3652 (gst_pad_activate_push): Adapt to pre/post_activate changes,
3653 remove the terrible hack.
3655 2005-10-11 Wim Taymans <wim@fluendo.com>
3657 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
3658 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
3659 (gst_bin_recalc_state), (gst_bin_change_state_func),
3660 (gst_bin_dispose), (bin_bus_handler):
3662 Prepare to make current EOS message queue more generic.
3665 * gst/gstevent.c: (gst_event_new_newsegment),
3666 (gst_event_parse_newsegment):
3668 Rename base to stream_time.
3673 2005-10-11 Wim Taymans <wim@fluendo.com>
3675 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
3676 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
3677 (gst_bin_change_state_func), (bin_bus_handler):
3679 Work on proper clock selection.
3681 2005-10-11 Edward Hervey <edward@fluendo.com>
3683 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
3684 * libs/gst/controller/gstcontroller.h:
3685 Added GList* version of _remove_properties() in order to be able to wrap
3688 2005-10-11 Wim Taymans <wim@fluendo.com>
3690 * docs/design/part-states.txt:
3693 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
3694 (gst_bin_change_state_func), (bin_bus_handler):
3695 Doc updates. Don't distribute the same clock over and over again.
3701 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
3702 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
3703 (gst_pad_send_event):
3705 Make probe emission threadsafe again.
3706 Register quarks and move _get_name() from utils.
3709 * gst/gstpipeline.c: (gst_pipeline_class_init),
3710 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
3711 Only redistribute the clock of it changed.
3713 * gst/gstsystemclock.h:
3718 Moved the _flow_get_name() to GstPad.
3720 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3722 * check/gst-libs/gdp.c: (GST_START_TEST):
3723 * check/gst/gstcaps.c: (GST_START_TEST):
3724 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
3725 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
3726 (gst_dp_packet_from_caps):
3727 fix more valgrind warnings before turning up the heat
3729 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3731 * gst/parse/grammar.y:
3732 some cleanup before the hacking
3734 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
3736 * gst/base/gstbasesrc.c: (gst_base_src_query):
3738 * gst/gstutils.c: (gst_guint64_to_gdouble),
3739 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
3741 externalize, basesrc uses it
3742 obviously the implementation needs testing
3744 2005-10-10 Wim Taymans <wim@fluendo.com>
3746 * tests/sched/Makefile.am:
3747 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
3748 (make_pipeline3), (make_pipeline4), (print_elem), (main):
3750 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
3752 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
3753 apparently converting from guint64 to double is not implemented
3756 2005-10-10 Wim Taymans <wim@fluendo.com>
3758 * check/Makefile.am:
3759 * check/generic/states.c: (GST_START_TEST):
3760 * check/gst/gstbin.c: (GST_START_TEST):
3761 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
3762 * check/states/sinks.c: (GST_START_TEST):
3763 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
3765 Check fixes, use API as stated in design docs, remove hacks.
3767 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3768 (gst_base_sink_change_state):
3769 Catch stopping our task while we're shutting down.
3771 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
3772 (gst_bin_remove_func), (gst_bin_get_state_func),
3773 (gst_bin_recalc_state), (gst_bin_change_state_func),
3776 * gst/gstelement.c: (gst_element_init),
3777 (gst_element_get_state_func), (gst_element_abort_state),
3778 (gst_element_commit_state), (gst_element_lost_state),
3779 (gst_element_set_state), (gst_element_change_state),
3780 (gst_element_change_state_func):
3782 New state change algorithm (see #318116)
3784 * gst/gstpipeline.c: (gst_pipeline_class_init),
3785 (gst_pipeline_init), (gst_pipeline_set_property),
3786 (gst_pipeline_get_property), (do_pipeline_seek),
3787 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
3788 * gst/gstpipeline.h:
3789 Remove crude state change hacks.
3794 * tools/gst-launch.c: (main):
3795 Fixes for state change. Needs some more work to fully use the
3798 2005-10-10 Andy Wingo <wingo@pobox.com>
3800 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
3802 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
3803 this flag, but it's not even in GLib 2.6. Odd. Hack around the
3806 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
3808 * gst/gstiterator.c: (gst_iterator_new):
3809 Fix my previous commit: GTypes passed to gst_iterator_new()
3810 can be fundamental types.
3812 2005-10-10 Wim Taymans <wim@fluendo.com>
3814 * gst/gstelement.c: (gst_element_iterate_pad_list),
3815 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
3816 (gst_element_iterate_sink_pads):
3817 Use src/sink pads lists for the respective iterators instead
3820 2005-10-10 Andy Wingo <wingo@pobox.com>
3822 Merged in popt removal + GOption addition patch from Ronald, bug
3825 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
3826 GstElement macros around, remove popt-related symbols, add goption
3829 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
3831 * docs/gst/Makefile.am:
3832 * docs/libs/Makefile.am: No POPT_CFLAGS.
3834 * examples/manual/Makefile.am:
3835 * docs/manual/basics-init.xml: Doc updates with an example.
3837 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
3838 (gst_init), (parse_one_option), (parse_goption_arg):
3839 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
3840 bit of hand merging and debugging to get the GOption stuff working
3843 * tests/Makefile.am:
3844 * tools/Makefile.am:
3845 * tools/gst-inspect.c: (main):
3846 * tools/gst-launch.c: (main):
3847 * tools/gst-run.c: (main):
3848 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
3850 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
3852 * gst/gstiterator.c: (gst_iterator_new):
3853 Add assertions to make sure passed GType is likely to really
3854 be a GType (as the compiler won't catch it if the size and
3855 GType arguments get mixed up, see #318447).
3857 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
3859 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
3861 * gst/gstbin.c: (gst_bin_iterate_sorted):
3862 Pass GType and size arguments to gst_iterator_new() in the right
3863 order (maybe we should make _new() take the GType as first argument
3864 just like _new_list()?) (#318447).
3867 2005-10-10 Wim Taymans <wim@fluendo.com>
3869 * gst/gstelement.c: (gst_element_finalize):
3870 And free the GStaticRecMutex too
3872 2005-10-10 Andy Wingo <wingo@pobox.com>
3874 * gst/gstelement.c (gst_element_init, gst_element_finalize):
3875 Allocate and free the mutex properly.
3877 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
3879 (GstElement): The state_lock is now recursive. Rebuild your
3880 plugins, suckers. Old macros adapted.
3882 * docs/gst/gstreamer-sections.txt: Doc updates.
3885 * gst/gstutils.c (g_static_rec_cond_timed_wait)
3886 (g_static_rec_cond_wait): Ported from state changes patch, while
3887 we wait on bug #317802 to be solved in a well-distributed GLib.
3889 * gst/gstelement.c (gst_element_change_state_func): Renamed from
3890 gst_element_change_state, variable name changes.
3891 (gst_element_change_state): Split out of gst_element_set_state in
3892 preparation for the state change merge. Doesn't pay attention to
3893 the 'transition' argument.
3894 (gst_element_set_state): Updates, hopefully purely cosmetic.
3895 (gst_element_sync_state_with_parent): MT-safety. Ported from the
3897 (gst_element_get_state_func): Renamed from get_state, cosmetic
3900 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
3902 * gst/elements/gstelements.c:
3903 * win32/GStreamer.vcproj:
3905 * win32/dirent.c: (_tseekdir):
3906 * win32/gst-inspect.vcproj:
3907 * win32/gst-launch.vcproj:
3908 * win32/gstconfig.h:
3909 * win32/gstelements.vcproj:
3910 * win32/gstenumtypes.c: (gst_object_flags_get_type):
3911 * win32/gstreamer.def:
3913 updates for the win32 build (patch from Sebastien Moutte)
3915 2005-10-10 Andy Wingo <wingo@pobox.com>
3917 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
3918 gst_bin_get_state, cleaned up (but no logic changes).
3919 (bin_element_is_sink): Comment updates.
3920 (sink_iterator_filter): Remove needless cast.
3921 (gst_bin_iterate_sinks): Doc update.
3922 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
3923 cleaned up (but no logic changes).
3925 * check/states/sinks.c (test_src_sink): Cleanups from the state
3927 (test_livesrc_sink): Sync on the state.
3929 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
3930 the state change patch.
3932 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
3935 * check/gst/gstbin.c: Merge in some style fixes and additional
3936 checks from Wim's state change patch.
3938 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
3940 * gst/base/gsttypefindhelper.c: (helper_find_peek),
3941 (gst_type_find_helper):
3942 Check whether we have the requested data already in our list of
3943 cached buffers before pulling a new buffer; also make the buffer
3944 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
3946 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
3951 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
3952 don't use long long, it's not portable. Replacing with
3953 gint64 seems to work; let's hope no skeletons fall out of the closet.
3955 2005-10-10 Andy Wingo <wingo@pobox.com>
3957 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
3959 2005-10-09 Stefan Kost <ensonic@users.sf.net>
3961 * docs/gst/gstreamer-sections.txt:
3966 * gst/gstmessage.c: (gst_message_parse_state_changed):
3969 more docs, fix compilation
3971 2005-10-09 Philippe Khalaf <burger@speedy.org>
3973 Fixed a few forgotten variables on previous commit
3975 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
3977 * gst/base/gsttypefindhelper.c: (helper_find_peek):
3978 Fix evil typefind crasher: getrange() might return a short
3979 buffer at the end of a file, but gst_type_find_peek() must
3980 either return the full data as requested or NULL, but
3981 never a short buffer.
3983 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
3985 * gst/gstmessage.c: (gst_message_new_state_changed),
3986 (gst_message_parse_state_changed):
3988 don't use "new", it's a C++ keyword
3990 2005-10-08 Wim Taymans <wim@fluendo.com>
3992 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
3993 * gst/gstelement.c: (gst_element_post_message):
3994 * gst/gstpipeline.c: (gst_pipeline_change_state):
3995 Small docs and debug updates.
3997 2005-10-08 Stefan Kost <ensonic@users.sf.net>
3999 * docs/gst/gstreamer-sections.txt:
4000 * gst/gstelementfactory.c:
4005 2005-10-08 Wim Taymans <wim@fluendo.com>
4007 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
4008 (gst_bin_dispose), (bin_bus_handler):
4009 Fix typos, add comments.
4010 Clear EOS list when going to PAUSED from any direction and do it
4011 in a threadsafe way.
4012 Get base time in a threadsafe way too.
4013 Fix confusing debug in the change_state function.
4014 Various other small cleanups.
4016 * gst/gstelement.c: (gst_element_post_message):
4017 Fix very verbose bus posting code.
4019 * gst/gstpipeline.c: (gst_pipeline_class_init),
4020 (gst_pipeline_set_property), (gst_pipeline_get_property),
4021 (gst_pipeline_change_state):
4022 Small ARG_ -> PROP_ cleanup
4024 2005-10-08 Wim Taymans <wim@fluendo.com>
4026 * gst/gstbin.c: (is_eos), (bin_bus_handler):
4027 Do a less CPU demanding EOS check because we can.
4029 2005-10-08 Wim Taymans <wim@fluendo.com>
4031 * libs/gst/dataprotocol/dataprotocol.c:
4032 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
4033 (gst_dp_packet_from_event):
4034 * libs/gst/dataprotocol/dataprotocol.h:
4035 * libs/gst/dataprotocol/dp-private.h:
4036 It's about time we bump the version number.
4037 Since event types don't fit in the guint8 anymore describing
4038 the payload type, make payload type 16 bits wide.
4040 2005-10-08 Wim Taymans <wim@fluendo.com>
4042 * docs/design/part-TODO.txt:
4043 * docs/design/part-clocks.txt:
4044 * docs/design/part-events.txt:
4045 * docs/design/part-gstbin.txt:
4046 * docs/design/part-gstelement.txt:
4047 * docs/design/part-gstpipeline.txt:
4048 * docs/design/part-live-source.txt:
4049 * docs/design/part-messages.txt:
4050 * docs/design/part-overview.txt:
4051 * docs/design/part-states.txt:
4054 2005-10-08 Wim Taymans <wim@fluendo.com>
4058 Fix event quark registration.
4059 Add some space between events so we can insert them in the
4062 2005-10-08 Wim Taymans <wim@fluendo.com>
4064 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4065 (gst_base_sink_handle_buffer):
4072 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
4073 (gst_queue_set_property), (gst_queue_get_property):
4075 Remove old unused properties.
4077 2005-10-08 Stefan Kost <ensonic@users.sf.net>
4078 * docs/gst/gstreamer-sections.txt:
4081 * gst/gstminiobject.c:
4082 * gst/gstminiobject.h:
4086 lots of new docs and doc fixes
4088 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4090 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
4092 * gst/gstregistry.c: (gst_registry_lookup_locked),
4093 (gst_registry_scan_path_level):
4094 * gst/gstregistryxml.c: (load_plugin):
4095 Only ever load one plugin for a given plugin basename.
4096 This ensures correct overriding of GST_PLUGIN_PATH over
4097 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
4098 system installed plugins.
4100 2005-10-08 Wim Taymans <wim@fluendo.com>
4102 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4103 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
4104 Prepare for doing QOS.
4106 2005-10-08 Wim Taymans <wim@fluendo.com>
4108 * check/gst/gstbin.c: (GST_START_TEST):
4109 * check/pipelines/cleanup.c: (GST_START_TEST):
4110 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
4111 Allow new clock message too.
4113 2005-10-08 Wim Taymans <wim@fluendo.com>
4115 * gst/gstmessage.c: (gst_message_new_error),
4116 (gst_message_new_warning), (gst_message_new_tag),
4117 (gst_message_new_state_changed), (gst_message_new_clock_provide),
4118 (gst_message_new_clock_lost), (gst_message_new_new_clock),
4119 (gst_message_new_segment_start), (gst_message_new_segment_done),
4120 (gst_message_parse_state_changed),
4121 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
4122 (gst_message_parse_new_clock):
4124 Also carry the clock in question.
4126 2005-10-08 Wim Taymans <wim@fluendo.com>
4128 * gst/gstmessage.c: (gst_message_new_custom),
4129 (gst_message_new_eos), (gst_message_new_error),
4130 (gst_message_new_warning), (gst_message_new_tag),
4131 (gst_message_new_state_changed), (gst_message_new_clock_provide),
4132 (gst_message_new_new_clock), (gst_message_new_segment_start),
4133 (gst_message_new_segment_done), (gst_message_parse_state_changed),
4134 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
4137 Added clock related messages.
4139 * gst/gstpipeline.c: (gst_pipeline_change_state):
4140 Post message when the clock changed.
4142 * tools/gst-launch.c: (event_loop):
4145 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
4147 * tools/gst-inspect.c: (print_element_properties_info):
4148 Can't pass NULL strings to g_print() on windows.
4150 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4153 * docs/gst/Makefile.am:
4154 * docs/gst/gstreamer-docs.sgml:
4155 * docs/gst/running.xml:
4156 * docs/version.entities.in:
4157 add a chapter on running GStreamer.
4158 document GST_DEBUG and GST_PLUGIN* env vars
4160 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4165 remove PLUGINS_BUILDDIR stuff
4166 * gst/gst.c: (init_post):
4167 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
4169 remove, it was condescending and not needed
4171 2005-10-08 Wim Taymans <wim@fluendo.com>
4173 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4174 (gst_base_sink_handle_object), (gst_base_sink_event),
4175 (gst_base_sink_wait), (gst_base_sink_handle_event),
4176 (gst_base_sink_change_state):
4177 * gst/base/gstbasesink.h:
4178 Repost EOS message while going to PLAYING if still EOS.
4179 Make sure that when receiving a FLUSH_START we don't attempt
4180 to sync on the clock anymore.
4182 2005-10-08 Wim Taymans <wim@fluendo.com>
4184 * tools/gst-launch.c: (event_loop):
4185 Better message printout.
4187 2005-10-08 Wim Taymans <wim@fluendo.com>
4189 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
4190 (gst_bin_child_proxy_get_children_count):
4191 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
4192 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
4193 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
4194 (gst_child_proxy_set_valist):
4195 * gst/parse/grammar.y:
4196 Make ChildProxy threadsafe and fix mem leaks.
4198 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4200 * gst/gst.c: (init_post):
4201 debug the GST_PLUGIN_ env vars
4203 2005-10-08 Wim Taymans <wim@fluendo.com>
4205 * check/gst/gstbin.c: (GST_START_TEST):
4206 * check/gst/gstmessage.c: (GST_START_TEST):
4207 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
4208 * gst/gstelement.c: (gst_element_commit_state),
4209 (gst_element_lost_state):
4210 * gst/gstmessage.c: (gst_message_new_state_changed),
4211 (gst_message_parse_state_changed):
4213 * tools/gst-launch.c: (event_loop):
4214 Added extra field to STATE_CHANGE message with the pending
4215 state, which will be different from the new state soon.
4217 2005-10-08 Wim Taymans <wim@fluendo.com>
4219 * gst/gstbus.c: (gst_bus_pop):
4221 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
4222 Small cleanups and doc updates.
4224 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4226 * gst/gst.c: (init_pre):
4227 * gst/gstbin.c: (gst_bin_add_func):
4228 log distributing clocks and base time
4229 * gst/gstregistry.c: (gst_registry_add_plugin),
4230 (gst_registry_scan_path_level), (gst_registry_scan_path):
4231 clean up the debugging output a little
4232 * gst/gstutils.c: (gst_element_state_get_name):
4233 warn about a memleak (I've actually seen this be used, though
4234 it was probably a bug)
4236 2005-10-07 Wim Taymans <wim@fluendo.com>
4238 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4239 (gst_base_src_init), (gst_base_src_default_newsegment),
4240 (gst_base_src_newsegment), (gst_base_src_do_seek),
4241 (gst_base_src_loop), (gst_base_src_start):
4242 * gst/base/gstbasesrc.h:
4243 Make the newsegment event customizable by subclasses.
4245 2005-10-07 Wim Taymans <wim@fluendo.com>
4247 * gst/gstevent.c: (gst_event_new_buffersize),
4248 (gst_event_parse_buffersize):
4250 New event for future idea.
4252 2005-10-07 Andy Wingo <wingo@pobox.com>
4254 * gst/gstelement.c (gst_element_post_message): Doc update.
4256 * docs/gst/gstreamer-sections.txt: Update.
4258 * gst/gstmessage.c (gst_message_new_application): Made into a
4259 function like honest API calls.
4260 (gst_message_new_element): New message type.
4262 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
4264 * check/elements/fakesrc.c (test_no_preroll): New check, checks
4265 that setting a live fakesrc to PAUSED returns NO_PREROLL both
4268 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
4269 NO_PREROLL from gst_element_change_state to fall through.
4271 2005-10-07 Wim Taymans <wim@fluendo.com>
4273 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
4274 (gst_ghost_pad_do_activate_push):
4275 Activating a ghostpad with no internal pad in push mode
4278 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
4281 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
4282 Fixes compilation on Windows.
4284 2005-10-07 Michael Smith <msmith@fluendo.com>
4286 * tools/gst-inspect.c:
4287 Print out feature and plugin count at the end when printing out
4290 2005-10-04 Michael Smith <msmith@fluendo.com>
4292 * gst/gsterror.c: (_gst_stream_errors_init):
4293 Add another error string used in a few existing plugins.
4296 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
4297 * tools/gst-inspect.c: (print_element_info):
4298 When a feature disappears from a plugin (and the feature exists in
4299 the cached registry file), things went horribly wrong. This isn't a
4300 complete fix, we should actually be removing the 'missing' features
4301 from the features list when we load the actual plugin. That's not
4304 2005-10-04 Johan Dahlin <johan@gnome.org>
4306 * check/gst/gstiterator.c: (GST_START_TEST):
4307 * gst/gstbin.c: (gst_bin_iterate_elements),
4308 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
4309 * gst/gstelement.c: (gst_element_iterate_pads):
4310 * gst/gstformat.c: (gst_format_iterate_definitions):
4311 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
4312 (gst_iterator_new_list), (gst_iterator_filter):
4313 * gst/gstiterator.h:
4314 * gst/gstquery.c: (gst_query_type_iterate_definitions):
4315 Add a GType to GstIterator, update callsites and tests.
4317 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
4319 * gst/gstpad.c: (gst_pad_event_default_dispatch):
4320 give events a chance to be handled by event probes when the pad
4323 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
4325 * gst/gstevent.c: (gst_event_type_get_name),
4326 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
4328 add string representations for event types
4330 2005-10-06 Wim Taymans <wim@fluendo.com>
4332 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
4333 Don't use NULL pointers.
4335 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
4337 * gst/gst_private.h:
4341 * gst/gstpluginfeature.c:
4342 widen the debug category in output to fit the biggest one we have
4343 add a bus category and use it
4344 play with the colors
4345 fix up some categories
4347 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
4349 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
4350 add push activation of sink ghost pads.
4351 Andye, please verify
4353 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
4355 * gst/gstutils.c: (gst_element_link_pads):
4356 fix a bug in the case where neither element has a pad
4357 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
4358 add a test for that case
4360 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
4362 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
4363 emit have-data before checking for peers. This allows
4364 for probe handlers to connect elements. This helps autopluggers.
4365 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
4367 add six checks, linked/unlinked with no/true/false probe
4369 2005-10-04 Wim Taymans <wim@fluendo.com>
4371 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
4372 (gst_fake_sink_event), (gst_fake_sink_preroll),
4373 (gst_fake_sink_render), (gst_fake_sink_change_state):
4374 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
4375 (gst_fake_src_get_property), (gst_fake_src_create),
4376 (gst_fake_src_stop):
4377 * gst/elements/gstidentity.c: (gst_identity_stop):
4378 Protect last_message with lock.
4380 2005-10-04 Edward Hervey <edward@fluendo.com>
4383 Added precision in the comments for GST_FORMAT_DEFAULT
4385 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
4387 * tools/gst-launch.c: (main):
4388 Don't try to run erroneous pipelines.
4390 2005-10-04 Julien MOUTTE <julien@moutte.net>
4392 * gst/gstbus.c: We don't need this header.
4394 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
4399 === release 0.9.3 ===
4401 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
4405 Releasing 0.9.3, "Unregistered"
4407 2005-10-03 Andy Wingo <wingo@pobox.com>
4409 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
4410 whereby calling a pad's activatepush() function can start a thread
4411 that starts to push or pull before the pad gets the FLUSHING flag
4412 unset. Hack around it by holding the stream lock until the flag is
4413 set. Need to replace this with a proper solution. Together with
4414 the ghost pad fixes, this fixes mp3 playing/tagreading.
4416 * docs/design/part-gstghostpad.txt: Add a note about activation of
4417 proxy pads outside of ghost pads.
4419 * gst/gstghostpad.c: Implement the ghost pad activation design.
4421 2005-10-02 Andy Wingo <wingo@pobox.com>
4423 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
4424 It is volatile, after all.
4426 * docs/design/part-gstghostpad.txt: Flesh out activation with
4429 * gst/base/gstbasesrc.c (gst_base_src_init): Use
4432 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
4435 Fix (unused) AM_CONDITIONAL tests.
4437 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
4439 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4441 * gst/gstutils.c: (gst_pad_query_convert):
4442 Add assertion that makes sure src_val is >=0, just like
4443 gst_query_new_convert() has. (#315895)
4445 2005-09-30 Edward Hervey <edward@fluendo.com>
4447 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
4448 Let's not iterate pads we're not interested in, it avoids getting
4449 sky-high refcounts on sinkpad.
4451 2005-09-30 Wim Taymans <wim@fluendo.com>
4453 * gst/gstelement.c: (gst_element_set_state),
4454 (gst_element_change_state):
4455 Small tweak, element in ASYNC remains ASYNC.
4457 2005-09-30 Wim Taymans <wim@fluendo.com>
4459 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
4460 Only error is an error.
4462 * gst/gstbin.c: (gst_bin_change_state):
4465 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
4466 Also call pad_block in pad alloc.
4468 * gst/gstutils.c: (gst_flow_get_name):
4471 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
4473 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4474 (gst_base_src_get_range):
4475 Fix documentation typos. Add some more debug info.
4477 2005-09-29 David Schleef <ds@schleef.org>
4479 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
4480 more end-user friendly.
4481 * tools/gst-inspect.c: (main): Check if command-line argument is
4482 a file and attempt to load that file as a plugin.
4484 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
4486 * check/gst/gstbin.c:
4487 * check/states/sinks.c:
4488 fix tests for the new warning
4489 * check/gst/gstpipeline.c:
4490 add a test for pipeline and bus interaction
4492 elements should be NULL if they get disposed; add a warning if not
4494 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
4497 for 2.6 refcounting, make debug log more correct by printing
4498 the actual refcounts at the time of swap (Wim)
4500 2005-09-29 Andy Wingo <wingo@pobox.com>
4502 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
4503 removes signal watches previously added via
4504 gst_bus_add_signal_watch.
4505 (gst_bus_add_signal_watch): Don't return the source id, just store
4506 it on the bus if there wasn't an id already.
4508 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
4509 add_signal_watch and remove_signal_watch.
4511 2005-09-29 Edward Hervey <edward@fluendo.com>
4513 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
4514 Better if we actually iterate the list :)
4516 2005-09-29 Wim Taymans <wim@fluendo.com>
4518 * check/gst/gstbin.c: (GST_START_TEST):
4519 Change for new bus API.
4521 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
4522 (send_messages), (GST_START_TEST), (gstbus_suite):
4523 Change for new bus signal API.
4525 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
4526 (gst_bus_source_prepare), (gst_bus_source_check),
4527 (gst_bus_create_watch), (gst_bus_add_watch_full),
4528 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
4529 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
4531 Remove support for multiple GSources operating on different
4532 message types as it is too complex and unneeded when using
4534 Added support for receiving signals from the bus.
4536 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
4538 * docs/libs/tmpl/gstdataprotocol.sgml:
4539 * docs/manual/advanced-dataaccess.xml:
4540 * gst/elements/gstcapsfilter.c:
4542 rename filter-caps to caps property
4544 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
4546 * gst/gstvalue.c: (gst_value_deserialize_fraction):
4547 More robust fraction string parsing.
4549 * docs/pwg/appendix-porting.xml:
4550 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
4552 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
4554 * gst/gstcaps.c: (gst_caps_do_simplify):
4555 Thou shalt not free a structure and then continue using it
4556 in the next loop iteration.
4558 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
4560 Add test case for caps simplification.
4562 2005-09-29 Wim Taymans <wim@fluendo.com>
4564 * check/gst/gstbin.c: (GST_START_TEST):
4567 2005-09-29 Wim Taymans <wim@fluendo.com>
4569 * check/gst/gstbin.c: (GST_START_TEST):
4572 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
4573 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
4574 (find_element), (gst_bin_sort_iterator_next),
4575 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4576 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4577 (gst_bin_change_state), (gst_bin_dispose):
4578 A bin does not have a bus, it gets the bus from the parent.
4580 * gst/gstelement.c: (gst_element_requires_clock),
4581 (gst_element_provides_clock), (gst_element_is_indexable),
4582 (gst_element_is_locked_state), (gst_element_change_state),
4583 (gst_element_set_bus_func):
4586 * gst/gstpipeline.c: (gst_pipeline_class_init),
4587 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
4588 The pipeline provides a bus.
4590 2005-09-28 Johan Dahlin <johan@gnome.org>
4592 * gst/gstmessage.c (gst_message_parse_state_changed): Use
4593 gst_structure_get_enum instead of gst_structure_get_int
4595 * gst/gststructure.c (gst_structure_get_enum): Impl.
4597 * gst/gststructure.h (gst_structure_get_enum): Add
4599 * docs/gst/gstreamer-sections.txt: Ditto
4601 * gst/gstmessage.c (gst_message_new_state_changed): Use
4602 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
4603 which does introspection.
4604 Reviewed by Christian Schaller
4606 2005-09-28 Stefan Kost <ensonic@users.sf.net>
4608 * gst/gstinfo.c: (gst_debug_log_default):
4609 don't do dummy g_strdup()s
4610 * libs/gst/controller/gstcontroller.c:
4611 (on_object_controlled_property_changed),
4612 (gst_controlled_property_new), (gst_controller_new_valist),
4613 (gst_controller_new_list),
4614 (gst_controller_remove_properties_valist), (gst_controller_set),
4615 (gst_controller_get), (gst_controller_sync_values),
4616 (gst_controller_get_value_array), (_gst_controller_class_init),
4617 (gst_controller_get_type):
4618 * libs/gst/controller/gstcontroller.h:
4619 * libs/gst/controller/gstinterpolation.c:
4620 (gst_controlled_property_find_timed_value_node):
4621 convert // to /**/ comments
4623 2005-09-28 Wim Taymans <wim@fluendo.com>
4625 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
4626 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
4627 (gst_bus_sync_signal_handler):
4629 Added async-message and sync-message signals to the bus.
4630 Added helper BusFunc to emit signals for all posted messages.
4632 * gst/gstmessage.c: (gst_message_type_get_name),
4633 (gst_message_type_to_quark), (gst_message_get_type):
4635 Register quarks for message names.
4637 2005-09-28 Stefan Kost <ensonic@users.sf.net>
4639 * docs/libs/gstreamer-libs-sections.txt:
4640 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
4641 (gst_controller_new_list):
4642 * libs/gst/controller/gstcontroller.h:
4643 added another constructor for language bindings
4645 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
4647 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4651 * gst/gstinfo.c: (_gst_debug_init):
4652 slightly more readable color for refcount debugging
4654 2005-09-28 Wim Taymans <wim@fluendo.com>
4656 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
4657 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
4658 (find_element), (gst_bin_sort_iterator_next),
4659 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4660 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4661 (gst_bin_change_state), (gst_bin_dispose):
4662 Small doc fixes. get_clock -> provide_clock.
4664 * gst/gstelement.c: (gst_element_class_init),
4665 (gst_element_provides_clock), (gst_element_provide_clock),
4666 (gst_element_get_clock), (gst_element_commit_state),
4667 (gst_element_lost_state):
4669 Make get/set_clock() symetric. Add provide_clock vmethod since
4670 that is actually what this function does.
4672 * gst/gstpipeline.c: (gst_pipeline_class_init),
4673 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
4674 (gst_pipeline_get_clock):
4675 get_clock -> provide_clock.
4677 2005-09-28 Andy Wingo <wingo@pobox.com>
4679 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
4680 lieu of real docs...
4682 * gst/elements/gstfdsrc.c: Cleaned up a bit.
4684 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
4686 * gst/elements/gstcapsfilter.c:
4687 * gst/elements/gstfakesink.c:
4688 * gst/elements/gstfakesrc.c:
4689 * gst/elements/gstfdsink.c:
4690 * gst/elements/gstfdsrc.c:
4691 * gst/elements/gstfilesink.c:
4692 * gst/elements/gstfilesrc.c:
4693 * gst/elements/gstidentity.c:
4694 * gst/elements/gsttee.c:
4695 * gst/elements/gsttypefindelement.c:
4696 Make element details static.
4698 2005-09-28 Wim Taymans <wim@fluendo.com>
4700 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4701 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4702 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4703 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4704 (gst_bin_change_state), (gst_bin_dispose):
4705 Some documentation updates.
4706 Clean up dispose handlers.
4708 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
4709 * gst/gstpad.c: (gst_pad_dispose):
4710 Clean up dispose handler.
4712 * gst/gstpipeline.c: (gst_pipeline_change_state):
4713 Removed spurious UNLOCK.
4715 2005-09-27 Stefan Kost <ensonic@users.sf.net>
4717 * docs/gst/gstreamer-sections.txt:
4718 * gst/base/gstbasesrc.h:
4723 * gst/gstpipeline.c:
4724 * gst/gstpipeline.h:
4727 added two new functions to the docs
4728 documents all undocumented GstXXXFlags
4729 completed some incomplete docs
4731 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
4733 * gst/gstbin.c: (gst_bin_dispose):
4734 * gst/gstelement.c: (gst_element_dispose):
4735 remove now useless and leaky resurrection code in dispose
4736 * gst/base/gstbasesrc.c: (gst_base_src_init):
4737 * gst/gstelementfactory.c: (gst_element_factory_create):
4738 * gst/gstobject.c: (gst_object_set_parent):
4741 2005-09-27 Wim Taymans <wim@fluendo.com>
4743 * docs/design/part-TODO.txt:
4746 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4747 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4748 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4749 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4750 (gst_bin_change_state):
4752 Remove element variable, we keep element info in the iterator now.
4754 2005-09-27 Andy Wingo <wingo@pobox.com>
4756 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
4759 2005-09-27 Wim Taymans <wim@fluendo.com>
4761 * check/gst/gstbin.c: (GST_START_TEST):
4762 Enable check that works now.
4764 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4765 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4766 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4767 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4768 (gst_bin_change_state):
4770 Redid the state change algorithm using a topological sort algo.
4771 Handles all cases correctly.
4772 Exposed iterator for state change order.
4775 Temp storage for state changes. Need to get rid of this soon.
4777 2005-09-27 Wim Taymans <wim@fluendo.com>
4779 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
4780 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
4781 (link_fold_func), (gst_pad_proxy_setcaps):
4782 Leak fixes, the fold functions need to unref the passed object and
4783 _get_parent_*() returns ref to parent.
4785 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
4787 * check/gst/gstbuffer.c: (test_make_writable):
4788 Plug leak in test case and fix 'make check-valgrind'
4790 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
4792 * gst/gstbuffer.c: (gst_subbuffer_init):
4793 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
4794 works correctly in all circumstances (we could have just copied
4795 the parent buffer's readonly flag, but conceptually it seems
4796 cleaner to mark all subbuffers as read-only). (based on patch
4797 by Alessandro Decina, #314710).
4799 * check/gst/gstbuffer.c: (create_read_only_buffer),
4800 (test_make_writable), (test_subbuffer_make_writable),
4802 Add some tests for gst_buffer_make_writable().
4804 2005-09-27 Wim Taymans <wim@fluendo.com>
4806 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
4807 use gst_object_has_ancestor().
4809 * gst/gstobject.c: (gst_object_has_ancestor):
4811 gst_object_has_ancestor() copied from gstbin.c as it is a
4814 * tests/instantiate/create.c: (create_all_elements):
4815 * tests/lat.c: (handoff_src), (handoff_sink):
4816 * tests/sched/runxml.c: (main):
4817 * tests/seeking/seeking1.c: (main):
4818 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
4820 Fix compilation of some tests.
4822 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
4825 Remove comment. GST_TYPE_G_ERROR is here to stay,
4826 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
4829 2005-09-26 Wim Taymans <wim@fluendo.com>
4831 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4832 Added check that shows error in state change order.
4834 2005-09-26 Wim Taymans <wim@fluendo.com>
4836 * gst/gstbin.c: (gst_bin_change_state):
4837 Make state change function use 3 queues again, we were
4838 adding elements in the wrong order.
4840 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
4843 * gst/gstpad.c: (gst_pad_dispose):
4844 Added some debug info first.
4846 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
4848 * docs/design/draft-push-pull.txt:
4849 * docs/design/part-events.txt:
4850 * docs/design/part-overview.txt:
4851 * docs/design/part-scheduling.txt:
4852 Replace all _pull_region() with _pull_range()
4854 2005-09-26 Andy Wingo <wingo@pobox.com>
4856 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
4858 * check/gst-libs/controller.c: Update for controller api change.
4861 * tests/Makefile.am:
4862 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
4863 over by GLib bug 118439.
4865 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
4866 routines to a function.
4868 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
4870 * libs/gst/controller/gsthelper.c:
4871 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
4872 (gst_object_sync_values): Renamed from sink_values. Ugh.
4874 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
4876 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
4877 Renamed from controller_key, as it is exported.
4879 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
4881 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
4886 * gst/gstpadtemplate.h:
4889 * gst/gstqueryutils.c:
4890 * gst/gstqueryutils.h:
4891 remove queryutils headers after moving the two used functions
4892 to gstquery. also fixes build problem for gstsiddec
4894 2005-09-26 Michael Smith <msmith@fluendo.com>
4896 * tools/gst-launch.1.in:
4897 Correct documentation in manpage of debug syntax
4899 2005-09-26 Wim Taymans <wim@fluendo.com>
4901 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
4902 (gst_base_src_is_seekable), (gst_base_src_change_state):
4903 Some more debugging info.
4905 2005-09-25 Stefan Kost <ensonic@users.sf.net>
4907 * docs/gst/gstreamer-sections.txt:
4908 * gst/base/gstbasetransform.h:
4912 2005-09-25 Stefan Kost <ensonic@users.sf.net>
4914 * docs/gst/.cvsignore:
4915 * docs/gst/tmpl/.cvsignore:
4916 * docs/gst/tmpl/gstpipeline.sgml:
4917 * docs/gst/tmpl/gstplugin.sgml:
4918 * gst/gstpipeline.c:
4921 inlined the last two docs files
4922 removed the tmpl directory from cvs (no more conflicts here!)
4924 2005-09-25 Stefan Kost <ensonic@users.sf.net>
4926 * docs/gst/gstreamer-sections.txt:
4927 * docs/gst/tmpl/.cvsignore:
4928 * docs/gst/tmpl/gstpad.sgml:
4929 * docs/gst/tmpl/gstpadtemplate.sgml:
4931 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
4932 (gst_pad_finalize), (gst_pad_set_pad_template):
4934 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
4935 (gst_pad_template_class_init), (gst_pad_template_init),
4936 (gst_pad_template_dispose), (name_is_valid),
4937 (gst_static_pad_template_get), (gst_pad_template_new),
4938 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
4939 (gst_pad_template_pad_created):
4940 * gst/gstpadtemplate.h:
4941 inlined two more docs
4942 factored gstpadtemplate out of gstpad
4944 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
4946 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
4947 (test_children_state_change_order_semi_sink):
4948 Fix test case: we can't rely on a fixed state change order when
4949 going from READY => PAUSED because the sink might commit its
4950 new state first when the first buffer created by the source
4951 reaches the sink before the source has finished its change state.
4952 (Test case still fails at times, see #316856, comment 5 onwards)
4954 2005-09-24 Wim Taymans <wim@fluendo.com>
4956 * docs/design/part-events.txt:
4957 * docs/design/part-gstbus.txt:
4958 * docs/design/part-gstpipeline.txt:
4959 * docs/design/part-messages.txt:
4960 * docs/design/part-overview.txt:
4961 * docs/design/part-segments.txt:
4968 * gst/gstiterator.c:
4969 Various documentation updates.
4971 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
4974 Well, that's embarassing. Luckily we weren't using
4975 GST_CLOCK_DIFF anywhere.
4977 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
4979 * common/gtk-doc.mak:
4980 don't fail on building XML, FC4 slave shows a bunch of doc
4981 missing bits that I don't get
4983 * gst/gstpipeline.c:
4984 * gst/gststructure.c:
4987 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
4989 * docs/design/part-gstbin.txt:
4990 * docs/design/part-gstbus.txt:
4992 Add blurb about how the bus goes into flushing mode and
4993 drops all messages when its bin goes from READY into NULL
4996 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
4998 * docs/gst/gstreamer-sections.txt:
4999 * gst/gststructure.c: (gst_structure_get_clock_time):
5000 * gst/gststructure.h:
5001 add a method to get a GstClockTime out of a structure
5003 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
5005 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
5006 (test_children_state_change_order_semi_sink), (gst_bin_suite):
5007 Added test to check state change order in bins (can still be made
5008 to fail here under heavy disk load; bails out with 'Push on pad
5009 fakesink:sink0, but it was not activated in push mode').
5011 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
5012 Fix state change order when there is only a semi sink (#316856)
5014 * gst/gstbus.c: (gst_bus_class_init):
5015 Use _class_peek_parent(), not _class_ref(); fix docs to say
5016 'default main context' instead of 'mainloop' where that is
5019 * gst/gstelement.c: (gst_element_commit_state),
5020 (gst_element_set_state):
5021 Fix typos in debug messages
5023 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5026 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
5027 * gst/gstpluginfeature.c:
5030 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5031 change an assert into an error until it gets fixed properly
5033 2005-09-23 Stefan Kost <ensonic@users.sf.net>
5035 * docs/gst/gstreamer-sections.txt:
5036 * docs/gst/tmpl/.cvsignore:
5037 * docs/gst/tmpl/gstelement.sgml:
5038 * docs/gst/tmpl/gstinfo.sgml:
5039 * docs/gst/tmpl/gstobject.sgml:
5044 * gst/gstobject.c: (gst_object_class_init):
5046 inlined 3 more biiiig doc files and added some missing docs on the fly
5048 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5050 * check/gst/.cvsignore:
5051 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
5052 * gst/gstregistryxml.c: (load_plugin),
5053 (gst_registry_xml_save_plugin):
5054 put back source in registry. add checks for find_plugin.
5055 * testsuite/states/bin.c: (assert_state), (empty_bin),
5056 (test_adding_one_element), (main):
5057 * testsuite/states/locked.c: (main):
5058 some compile/run fixes
5060 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
5062 * check/gst/gstvalue.c: (GST_START_TEST):
5063 fix leaks in the test itself
5065 2005-09-22 Wim Taymans <wim@fluendo.com>
5067 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5068 (gst_base_sink_send_event), (gst_base_sink_peer_query),
5069 (gst_base_sink_query):
5070 Prepare for more accurate position reporting and query
5073 * gst/gstelement.c: (gst_element_send_event),
5074 (gst_element_set_state):
5077 2005-09-22 Wim Taymans <wim@fluendo.com>
5079 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
5080 (gst_query_parse_segment):
5083 Add segment query for future use.
5085 2005-09-22 Wim Taymans <wim@fluendo.com>
5087 * gst/gstbin.c: (gst_bin_add_func):
5088 Some more debug info.
5090 * gst/gstelement.c: (gst_element_send_event):
5094 Don't know how flags got broken.
5099 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
5101 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
5102 Add simplistic test suite for GST_TYPE_DATE serialisation and
5105 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
5107 * docs/gst/gstreamer-sections.txt:
5108 * gst/gststructure.c: (gst_structure_set_valist),
5109 (gst_structure_get_date):
5110 * gst/gststructure.h:
5111 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
5112 (gst_date_copy), (gst_value_compare_date),
5113 (gst_value_serialize_date), (gst_value_deserialize_date),
5114 (gst_value_transform_date_string),
5115 (gst_value_transform_string_date), (_gst_value_initialize):
5117 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
5118 bunch of utility functions along with a hack that checks that
5119 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
5120 is required. Part of the grand scheme in #170777.
5122 2005-09-22 Andy Wingo <wingo@pobox.com>
5124 * gst/gstconfig.h.in: Psych out gtk-doc.
5126 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
5128 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
5130 * tools/gst-inspect.c (print_element_list): Plug some
5131 inconsequential leaks.
5133 * gst/gstregistry.c (gst_registry_get_default): Doc.
5135 * check/gst/gstplugin.c:
5136 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
5137 * gst/gstelementfactory.c (gst_element_factory_create):
5138 * gst/gstindexfactory.c (gst_index_factory_create): Update for
5141 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
5142 (gst_plugin_feature_load): Doc, don't eat refs.
5144 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
5145 (gst_plugin_list_free): Doc.
5146 (gst_plugin_load_file): Doc updates.
5148 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
5149 accessors returning refcounted objects, return a ref.
5151 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
5152 accessor for caps. IDEMPOTENCE. Oh yes.
5154 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
5156 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
5158 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
5159 (_gst_debug_register_funcptr):
5160 Add mutex to serialise access to the hash table with
5161 the function pointer => function name string mapping;
5162 make that hash table static scope (#316809).
5164 * gst/registries/.cvsignore:
5165 Remove left-over file.
5167 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
5169 * docs/pwg/appendix-porting.xml:
5170 And something about newsegment events and caps-on-buffers to
5171 the porting guide (feel free to improve).
5173 2005-09-21 Andy Wingo <wingo@pobox.com>
5175 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
5176 data and event probes on the same pad.
5177 (test_buffer_probe_once): Test that removing probes from within
5178 the probe functions works.
5180 2005-09-21 Andy Wingo <wingo@pobox.com>
5182 * check/gst/gstutils.c: New file.
5183 (test_buffer_probe_n_times): A simple buffer probe test. More to
5186 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
5187 have-data::buffer, not have-data.
5188 (gst_pad_add_event_probe): Likewise for have-data::event.
5189 (gst_pad_add_data_probe): More docs. The part about 'resolving the
5190 peer' isn't quite right yet though.
5191 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
5192 (gst_pad_remove_data_probe): Change to take the guint handler_id
5193 as their arg, not the function+data, which is more glib-like.
5195 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
5196 the signal emission to indicate if the data is a buffer or an
5198 (gst_pad_get_type): Initialize buffer and event quarks.
5199 (gst_pad_class_init): have-data is now a detailed signal, yes it
5202 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
5204 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
5205 * gst/gstutils.c: (gst_util_set_value_from_string),
5206 (gst_util_set_object_arg):
5207 Don't put functional code in g_return_if_fail() or
5208 g_return_val_if_fail() statements, otherwise things will
5209 break when G_DISABLE_CHECKS is defined during compilation.
5211 2005-09-21 Stefan Kost <ensonic@users.sf.net>
5213 * docs/gst/tmpl/.cvsignore:
5214 * docs/gst/tmpl/gstvalue.sgml:
5217 inlied another one and added some obvious docs
5219 2005-09-21 Wim Taymans <wim@fluendo.com>
5221 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
5222 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
5223 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
5224 (gst_fdsrc_get_property), (gst_fdsrc_create):
5225 * gst/elements/gstfdsrc.h:
5226 Properly implement fdsrc. Removed signal and timeout,
5227 better implemented somewhere else.
5229 2005-09-21 Stefan Kost <ensonic@users.sf.net>
5231 * docs/gst/tmpl/.cvsignore:
5232 * docs/gst/tmpl/gstimplementsinterface.sgml:
5233 * gst/gstinterface.c:
5236 2005-09-21 Stefan Kost <ensonic@users.sf.net>
5238 * docs/gst/gstreamer-sections.txt:
5239 * docs/gst/tmpl/.cvsignore:
5240 * docs/gst/tmpl/gstenumtypes.sgml:
5241 remove obsolete doc file
5243 2005-09-21 David Schleef <ds@schleef.org>
5245 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
5246 little beer, fix a little leak.
5248 2005-09-21 Stefan Kost <ensonic@users.sf.net>
5250 * docs/gst/gstreamer-docs.sgml:
5251 * docs/gst/gstreamer-sections.txt:
5252 * docs/gst/tmpl/.cvsignore:
5257 * gst/gstindex.c: (gst_index_class_init):
5259 * gst/gstindexfactory.c: (gst_index_factory_get_type),
5260 (gst_index_factory_class_init), (gst_index_factory_init),
5261 (gst_index_factory_finalize), (gst_index_factory_new),
5262 (gst_index_factory_destroy), (gst_index_factory_find),
5263 (gst_index_factory_create), (gst_index_factory_make):
5264 * gst/gstindexfactory.h:
5265 * gst/gstpluginfeature.c:
5266 * gst/gstpluginfeature.h:
5267 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5268 more docs inlined, splitted gstindex.{c,h}
5270 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5272 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5275 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
5277 * gst/elements/gstfilesink.c: (gst_file_sink_init):
5278 Set sync to FALSE by default.
5280 2005-09-20 Wim Taymans <wim@fluendo.com>
5282 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5283 (gst_base_sink_init):
5284 Make sync property settable from subclass.
5286 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
5287 (gst_fake_sink_change_state):
5288 Set sync to FALSE by default.
5290 2005-09-20 Wim Taymans <wim@fluendo.com>
5292 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
5293 * tools/gst-launch.c: (main):
5294 The timeout handler should have lower priority than the source
5295 so we don't timeout before popping a message with 0 timeout.
5296 Dump error messages after failed state change.
5298 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
5300 * tools/gst-inspect.c: (print_element_properties_info):
5303 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5305 * check/gst/gstevent.c:
5306 * gst/elements/gstfakesink.c:
5307 * gst/elements/gstfakesink.h:
5308 remove the sync property from fakesink.
5309 has the side effect of setting sync TRUE
5310 for fakesink, which is a change. Anyone who knows how
5311 to fix this nicely in a GObject-y way, feel free.
5313 2005-09-20 Stefan Kost <ensonic@users.sf.net>
5315 * docs/gst/gstreamer-docs.sgml:
5316 remove probe refsection
5318 2005-09-20 Stefan Kost <ensonic@users.sf.net>
5320 * check/Makefile.am:
5321 disable valgrinding the controller test again
5322 * docs/gst/gstreamer-sections.txt:
5323 update for api-changes
5325 2005-09-20 Wim Taymans <wim@fluendo.com>
5327 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5328 (gst_base_sink_set_property), (gst_base_sink_get_property),
5329 (gst_base_sink_do_sync):
5330 * gst/base/gstbasesink.h:
5331 Added sync property to basesink to disable clock sync.
5333 2005-09-20 Andy Wingo <wingo@pobox.com>
5335 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
5336 eating the caller's refcount.
5338 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
5339 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
5342 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
5343 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
5344 of GLib 2.8 public, so we can know which refcount to check in
5347 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
5348 (gst_object_init): Only set the gst refcount if we're going ahead
5349 with the refcount hack.
5351 2005-09-20 Stefan Kost <ensonic@users.sf.net>
5353 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
5354 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5355 more leaks plumbed, added more debug-logging
5359 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5362 remove include of gstmemchunk.h
5364 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5366 * gst/gstclock.c: (_gst_clock_id_free):
5367 Commit from the Political Party For More Atomic CVS Commits,
5368 so that people don't waste too much of their day fishing
5369 out obvious leaks out of massive commits.
5370 Oh, and fix a pretty damn obvious leak in the memchunk
5373 2005-09-20 Stefan Kost <ensonic@users.sf.net>
5375 * check/Makefile.am:
5376 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
5377 plug mem-leak, re-add to valgrindable tests
5379 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5382 unbreak the build for those who have chronic arthritis
5383 and typing "make check" is just too taxing on the hands
5385 2005-09-20 Andy Wingo <wingo@pobox.com>
5387 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
5388 really want it out, you should fix plugins at the same time.
5390 2005-09-19 Stefan Kost <ensonic@users.sf.net>
5393 * docs/gst/gstreamer-sections.txt:
5395 added missing symbols to api docs
5396 disable ref-count hack if we have glib >= 2.8
5398 2005-09-19 David Schleef <ds@schleef.org>
5400 * docs/gst/Makefile.am: Ignore a few more internal headers
5401 * docs/gst/gstreamer-docs.sgml: Remove old sections
5402 * docs/gst/gstreamer-sections.txt: Remove old sections
5403 * docs/gst/tmpl/gstobject.sgml: update
5404 * docs/gst/tmpl/gstplugin.sgml: update
5405 * docs/gst/tmpl/gstpluginfeature.sgml: update
5406 * docs/random/ds/0.9-suggested-changes: update.
5407 * gst/Makefile.am: remove memchunk and trashstack, since they're
5409 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
5410 * gst/gst.h: don't include some headers
5411 * gst/gstchildproxy.c: add gstmarshal.h
5412 * gst/gstclock.c: Don't use memchunks
5413 * gst/gstminiobject.c: Add some docs
5414 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
5415 * gst/gstobject.h: same
5416 * gst/gstplugin.c: include gstmacros.h
5417 * gst/gstplugin.h: don't include gstmacros.h, since it's private
5418 * gst/gstquery.c: don't use memchunks
5419 * gst/gstregistry.c: rename gst_registry_deinit()
5420 * gst/gstregistry.h: same
5422 2005-09-19 David Schleef <ds@schleef.org>
5424 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
5425 * docs/libs/gstreamer-libs-sections.txt:
5426 * docs/libs/tmpl/gstgetbits.sgml:
5427 * docs/libs/tmpl/gstputbits.sgml:
5429 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
5431 * win32/gstenumtypes.c:
5432 * win32/gstenumtypes.h:
5435 2005-09-19 Wim Taymans <wim@fluendo.com>
5437 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
5438 Automatically PAUSE and RESUME a pipeline when a flushing seek
5441 2005-09-19 Andy Wingo <wingo@pobox.com>
5443 * gst/gstregistry.h: Spacing fixen.
5445 2005-09-19 Wim Taymans <wim@fluendo.com>
5447 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
5448 Handle state change failure more correctly.
5450 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
5452 * check/Makefile.am:
5453 * check/pipelines/cleanup.c: (run_pipeline):
5454 * check/pipelines/simple_launch_lines.c: (run_pipeline),
5456 enable cleanup again after fixing the leak
5458 some more info on docs
5460 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
5462 * check/Makefile.am:
5463 re-enable tests now that leaks are plugged
5465 * check/gst/gstbin.c:
5466 * check/gst/gstpipeline.c:
5467 add some more tests while fixing leaks
5469 make sure binaries are uptodate when valgrinding/gdbing
5471 * gst/gstelementfactory.c:
5472 remove a ref too many, and add a FIXME for when we get
5473 round to disposing of classes
5475 fix the refcounting when loading a plugin from a file and
5476 the code pretends that the pointer is the same even though
5477 of course it can change
5478 * gst/gstpluginfeature.c:
5479 unref plugins marked cached (a bit confusing as a name)
5480 as the docs state should be done
5481 various doc additions to explain refcounting
5482 * gst/gstregistry.c:
5483 * gst/gstregistryxml.c:
5486 2005-09-19 Wim Taymans <wim@fluendo.com>
5488 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
5489 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
5490 (send_messages), (GST_START_TEST), (gstbus_suite):
5491 * check/gst/gstpipeline.c: (GST_START_TEST):
5492 * check/pipelines/cleanup.c: (run_pipeline):
5493 * check/pipelines/simple_launch_lines.c: (run_pipeline),
5495 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
5496 (gst_bus_source_check), (gst_bus_source_dispatch),
5497 (gst_bus_create_watch), (gst_bus_add_watch_full),
5498 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
5500 * tools/gst-launch.c: (event_loop):
5501 * tools/gst-md5sum.c: (event_loop):
5502 GstBusHandler -> GstBusFunc, return value has the same meaning as
5503 any other GSource (FALSE == remove source).
5504 _add_watch() and _add_watch_full() now take a MessageType mask to
5505 only handle specific types of messages.
5506 _poll() returns the GstMessage instead of the message type to avoid
5508 _have_pending() takes a MessageType mask now too.
5509 Added testsuite for multiple bus watches.
5510 Fix testsuites and applications for new bus API.
5512 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
5514 * check/Makefile.am:
5515 mark a bunch of the tests as to fix until we fix them
5517 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
5520 use GST_PLUGIN settings for valgrind tests as well, so we're
5521 valgrinding the correct thing
5522 * gst/gst.c: (init_post):
5525 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
5527 * gst/gst.c: (init_post), (gst_deinit):
5528 * gst/gstelementfactory.c: (gst_element_factory_class_init),
5529 (gst_element_factory_finalize), (gst_element_factory_cleanup):
5530 * gst/gstindex.c: (gst_index_factory_class_init),
5531 (gst_index_factory_finalize):
5532 * gst/gstobject.c: (gst_object_dispose):
5533 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
5534 (gst_plugin_load_file), (gst_plugin_desc_free):
5535 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
5536 (gst_plugin_feature_finalize):
5537 * gst/gstregistry.c: (gst_registry_class_init),
5538 (gst_registry_init), (gst_registry_finalize),
5539 (gst_registry_get_default), (gst_registry_deinit):
5540 * gst/gstregistry.h:
5541 * gst/gstregistryxml.c: (load_feature), (load_plugin):
5542 various cleanups and memleak plugging. make valgrind is happy now.
5544 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
5547 add a check-valgrind target
5549 2005-09-18 David Schleef <ds@schleef.org>
5551 * tools/gst-inspect.c: Revert the GOption code.
5553 2005-09-17 David Schleef <ds@schleef.org>
5555 * check/Makefile.am: Fix environment variables.
5556 * check/gst/gstplugin.c: Fix for API changes.
5557 * tools/gst-inspect.c: Fix for API changes.
5558 * tools/gst-xmlinspect.c: Fix for API changes.
5559 * gst/gstelementfactory.c:
5562 * gst/gstpluginfeature.c:
5563 * gst/gstpluginfeature.h:
5564 * gst/gstregistry.c:
5565 * gst/gstregistry.h:
5566 * gst/gstregistryxml.c:
5567 * gst/gsttypefind.c:
5568 * gst/gsttypefindfactory.c:
5569 * gst/indexers/gstfileindex.c:
5570 * gst/indexers/gstmemindex.c:
5571 * gst/schedulers/Makefile.am:
5572 Change registry to keep track of both plugins and features,
5573 removing the feature tracking from plugins themselves.
5575 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
5577 * check/Makefile.am:
5578 * tools/gst-register.1.in:
5581 2005-09-15 David Schleef <ds@schleef.org>
5583 * check/gst/gstplugin.c:
5584 * gst/gstelementfactory.c:
5586 * gst/gstpluginfeature.c:
5587 * gst/gstregistry.c:
5588 Getting tired of debugging. Disabled all the unreffing of
5589 plugins and features, which fixes the segfaults, but of
5590 course leaks like crazy. At least playbin works.
5592 2005-09-15 David Schleef <ds@schleef.org>
5594 * check/gst/gstplugin.c: (register_check_elements),
5595 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
5597 * gst/elements/gsttypefindelement.c: Fix refcounting.
5598 * gst/gsttypefind.c:
5599 * gst/gsttypefindfactory.c:
5600 * gst/gsttypefindfactory.h:
5602 2005-09-15 David Schleef <ds@schleef.org>
5604 * gst/gstindex.c: get refcounting correct.
5605 * gst/gstregistry.c: Handle the case where a feature/plugin is
5608 2005-09-15 David Schleef <ds@schleef.org>
5610 * check/Makefile.am:
5611 * check/gst/gstplugin.c: Add test
5612 * gst/gstplugin.c: Fix problems noticed by testsuite
5614 * gst/gstregistry.c:
5615 * gst/gstregistry.h:
5617 2005-09-15 David Schleef <ds@schleef.org>
5619 * gst/gstplugin.c: Implement semi-decent recounting and locking
5620 in plugins and plugin features.
5622 * gst/gstpluginfeature.c:
5623 * gst/gstpluginfeature.h:
5624 * gst/gstregistry.c:
5626 2005-09-15 Michael Smith <msmith@fluendo.com>
5628 * gst/gstregistry.c: (gst_registry_get_feature_list):
5629 Implement this. Makes oggdemux work; decodebin still broken.
5631 2005-09-14 David Schleef <ds@schleef.org>
5633 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
5635 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
5636 * gst/check/Makefile.am:
5637 * libs/gst/controller/Makefile.am:
5638 * libs/gst/dataprotocol/Makefile.am:
5640 2005-09-14 David Schleef <ds@schleef.org>
5642 * configure.ac: Remove getbits library. Nothing uses it, and
5643 it should be in something like liboil if someone did want
5645 * libs/gst/Makefile.am:
5646 * libs/gst/getbits/Makefile.am:
5647 * libs/gst/getbits/gbtest.c:
5648 * libs/gst/getbits/getbits.c:
5649 * libs/gst/getbits/getbits.h:
5650 * libs/gst/getbits/gstgetbits_generic.c:
5651 * libs/gst/getbits/gstgetbits_i386.s:
5652 * libs/gst/getbits/gstgetbits_inl.h:
5654 2005-09-14 David Schleef <ds@schleef.org>
5656 * gst/Makefile.am: Dist glib-compat.h
5658 2005-09-14 David Schleef <ds@schleef.org>
5660 * configure.ac: Remove gst/registries, since it's no longer used.
5661 * gst/registries/Makefile.am:
5662 * gst/registries/gstlibxmlregistry.c:
5663 * gst/registries/gstlibxmlregistry.h:
5664 * gst/registries/gstxmlregistry.c:
5665 * gst/registries/gstxmlregistry.h:
5666 * gst/registries/registrytest.c:
5668 2005-09-14 David Schleef <ds@schleef.org>
5670 * gst/glib-compat.h:
5671 * gst/gstregistryxml.c:
5672 Convergence is near. Seriously.
5674 2005-09-14 David Schleef <ds@schleef.org>
5676 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5677 * gst/glib-compat.h:
5678 Attempt #4 to appease the buildbots.
5680 2005-09-14 David Schleef <ds@schleef.org>
5682 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5685 2005-09-14 David Schleef <ds@schleef.org>
5687 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5690 2005-09-14 David Schleef <ds@schleef.org>
5692 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
5695 2005-09-14 David Schleef <ds@schleef.org>
5697 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5698 * gst/glib-compat.h: Add some functions that are in newer versions
5699 of glib than we care to require.
5700 * gst/gstregistryxml.c: Use them.
5702 2005-09-14 David Schleef <ds@schleef.org>
5704 * po/POTFILES.in: remove gst-register.c
5706 2005-09-14 David Schleef <ds@schleef.org>
5708 * docs/gst/gstreamer-docs.sgml:
5709 * docs/gst/gstreamer-sections.txt:
5710 * docs/gst/gstreamer.types:
5711 * docs/gst/tmpl/gstelement.sgml:
5712 * docs/gst/tmpl/gstplugin.sgml:
5713 * docs/gst/tmpl/gstpluginfeature.sgml:
5714 Documentation updates for registry changes.
5716 2005-09-14 David Schleef <ds@schleef.org>
5718 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
5719 because we don't require glib-2.8.
5721 2005-09-14 David Schleef <ds@schleef.org>
5723 * gst/gstregistryxml.c: Added. Essentially moved out of the
5724 registries directory.
5726 2005-09-14 David Schleef <ds@schleef.org>
5728 * check/Makefile.am:
5729 * check/generic/states.c:
5733 * gst/gst_private.h:
5734 * gst/gstelementfactory.c:
5739 * gst/gstpluginfeature.c:
5740 * gst/gstpluginfeature.h:
5741 * gst/gstregistry.c:
5742 * gst/gstregistry.h:
5743 * gst/gstregistrypool.c: remove
5744 * gst/gstregistrypool.h: remove
5745 * gst/gsttypefind.c:
5746 * gst/gsttypefindfactory.c:
5748 * tools/Makefile.am:
5749 * tools/gst-compprep.c:
5750 * tools/gst-inspect.c:
5751 * tools/gst-register.c: remove
5752 * tools/gst-xmlinspect.c:
5753 Registry rewrite. Changes registry from being a file created
5754 by a tool into a simple cache file created automatically by
5755 libgstreamer. Removed gst-register (because it's no longer
5756 needed). Remove registry pools, because we only have one
5757 registry implementation (XML). Fix up other subsystems as
5760 2005-09-13 Michael Smith <msmith@fluendo.com>
5762 * gst/gstconfig.h.in:
5763 Don't Use windows linking attributes for MinGW. Fixes #316157
5765 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
5767 * gst/gstutils.c: (set_state_async_thread_func),
5768 (gst_element_set_state_async):
5769 Apparently people think it's better if this function doesn't
5770 try to set the state to whatever state was asked for on the first
5771 call to this function for any object. Seriously.
5773 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
5775 * check/gst/gstpipeline.c: (GST_START_TEST):
5776 * docs/gst/gstreamer-sections.txt:
5777 * gst/gstutils.c: (set_state_async_thread_func),
5778 (gst_element_set_state_async):
5780 add a "gst_element_set_state_async" method that
5781 sets the state and starts a thread to make sure the state
5782 change completes as best as it can
5784 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
5786 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5787 codify design+behaviour in testsuite after discussion
5789 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
5791 * docs/gst/tmpl/gstelement.sgml:
5792 * docs/manual/appendix-quotes.xml:
5794 * gst/gstelement.c: (gst_element_set_state):
5797 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
5799 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
5800 (gst_base_transform_prepare_output_buf),
5801 (gst_base_transform_handle_buffer):
5802 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
5803 (gst_capsfilter_prepare_buf):
5804 Remove the requirement for sub-classes to call the parent
5805 implementation of prepare_output_buffer with a wrapper function.
5808 * gst/gsttagsetter.h:
5811 2005-09-11 Stefan Kost <ensonic@users.sf.net>
5813 * docs/gst/gstreamer-sections.txt:
5816 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
5818 * docs/gst/gstreamer-sections.txt:
5819 * docs/gst/tmpl/gstelement.sgml:
5820 * docs/gst/tmpl/gstplugin.sgml:
5821 * gst/gstminiobject.c:
5823 docs now stop throwing warnings
5825 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
5827 * docs/gst/gstreamer-sections.txt:
5828 * docs/gst/gstreamer.types:
5829 * docs/gst/tmpl/gstpad.sgml:
5830 * docs/gst/tmpl/gsttypes.sgml:
5831 * gst/base/gstadapter.h:
5832 * gst/base/gstbasesink.h:
5833 * gst/base/gstbasesrc.h:
5843 * gst/gststructure.c:
5844 * gst/registries/gstlibxmlregistry.h:
5845 various documentation fixes
5847 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
5849 * docs/gst/gstreamer-sections.txt:
5850 * docs/gst/tmpl/gstvalue.sgml:
5851 rearrange gstvalue section
5852 * gst/gstutils.c: (gst_element_state_get_name):
5854 * gst/gstvalue.c: (_gst_value_initialize):
5858 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
5860 * check/gst-libs/controller.c:
5862 * gst/base/gstbasetransform.c:
5863 (gst_base_transform_default_prepare_buf),
5864 (gst_base_transform_handle_buffer):
5865 * gst/base/gstbasetransform.h:
5866 Some more basetransform changes and fixes to enable sub-classes
5867 that modify buffer metadata only.
5868 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5869 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
5870 (gst_capsfilter_prepare_buf):
5871 If the output pad has fixed allowed caps and input buffers
5872 don't have any, set the fixed caps on outgoing buffers.
5874 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
5875 * check/elements/identity.c: (GST_START_TEST):
5876 Make the error a little clearer when the test fails because
5877 identity made a copy of the buffer.
5878 * docs/gst/gstreamer-sections.txt:
5879 New symbols in gstbasetransform.h
5880 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
5881 (gst_base_transform_init), (gst_base_transform_transform_size),
5882 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5883 (gst_base_transform_default_prepare_buf),
5884 (gst_base_transform_get_unit_size),
5885 (gst_base_transform_buffer_alloc),
5886 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
5887 (gst_base_transform_change_state),
5888 (gst_base_transform_set_passthrough),
5889 (gst_base_transform_set_in_place),
5890 (gst_base_transform_is_in_place):
5891 * gst/base/gstbasetransform.h:
5892 Change BaseTransform to separate in_place operate from same_caps
5893 output. in_place implies that the element can perform the transform
5894 on incoming buffers in-place, even if the caps on the output are
5896 Sub-class elements can now implement special buffer allocation
5897 methods for outgoing buffers if they wish to.
5898 Big documentation addition.
5899 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
5900 * gst/elements/gstelements.c:
5901 Changes for basetransform modifications.
5902 * gst/elements/Makefile.am:
5903 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
5904 Compile fix. Extra debug output.
5906 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
5908 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
5910 add tests for valid pad naming
5911 * gst/check/gstcheck.c: (gst_check_log_message_func),
5912 (gst_check_log_critical_func):
5914 remove printing of code, it is fragile when the code contains
5915 % and the line number is enough info
5916 * gst/check/gstcheck.h:
5917 * gst/gstpad.c: (gst_pad_template_new):
5920 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
5923 say what CHECK flags we use
5924 * docs/libs/gstreamer-libs.types:
5925 * libs/gst/controller/Makefile.am:
5926 * libs/gst/controller/gst-controller.c:
5927 * libs/gst/controller/gst-controller.h:
5928 * libs/gst/controller/gst-helper.c:
5929 * libs/gst/controller/gst-interpolation.c:
5930 * libs/gst/controller/gstcontroller.c:
5931 * libs/gst/controller/gsthelper.c:
5932 * libs/gst/controller/gstinterpolation.c:
5933 * tools/gst-inspect.c: (print_plugin_info):
5934 we don't use dashes in header names
5936 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
5938 * check/Makefile.am:
5939 * check/gst/.cvsignore:
5940 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
5941 (gst_pipeline_suite), (main):
5942 adding a test for pipelines and state changes
5943 * gst/gstutils.c: (get_state_func):
5945 * gstreamer.spec.in:
5948 2005-09-08 Michael Smith <msmith@fluendo.com>
5950 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
5951 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
5952 (gst_file_src_is_seekable), (gst_file_src_get_size),
5953 (gst_file_src_start):
5954 * gst/elements/gstfilesrc.h:
5955 Various fixes for unseekable, unmmapable, and non-normal files, so
5956 that fallback to read() rather than mmap() works.
5957 * gst/gstevent.c: (gst_event_new_newsegment):
5958 Allow newsegment events with segment_start == segment_end, as will
5959 correctly happen if you use filesrc on a zero-size file, for
5962 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
5964 * gst/gstplugin.c: (gst_plugin_load_file):
5965 Call g_module_close when we don't load the module
5967 * gst/registries/gstlibxmlregistry.c:
5968 (gst_xml_registry_get_property):
5969 Port leak fix from 0.8
5971 2005-09-07 Stefan Kost <ensonic@users.sf.net>
5973 * docs/gst/gstreamer-docs.sgml:
5974 * docs/gst/tmpl/.cvsignore:
5975 * docs/gst/tmpl/gsttrace.sgml:
5976 * docs/gst/tmpl/gsttrashstack.sgml:
5985 * gst/gsttaginterface.c:
5986 * gst/gsttaginterface.h:
5989 * gst/gsttagsetter.c:
5990 * gst/gsttagsetter.h:
5993 * gst/gsttrashstack.c:
5994 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
5995 inlined docs for gsttrace, gsttrashstack
5997 2005-09-07 Stefan Kost <ensonic@users.sf.net>
6000 * gst/elements/gstbufferstore.h:
6001 * gst/elements/gsttypefindelement.c:
6002 * gst/elements/gsttypefindelement.h:
6004 * gst/gsttypefind.c:
6005 * gst/gsttypefind.h:
6006 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
6007 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
6008 (gst_type_find_factory_dispose),
6009 (gst_type_find_factory_unload_thyself),
6010 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
6011 (gst_type_find_factory_get_caps),
6012 (gst_type_find_factory_get_extensions),
6013 (gst_type_find_factory_call_function):
6014 * gst/gsttypefindfactory.h:
6015 * gst/registries/gstlibxmlregistry.c:
6016 * gst/registries/gstxmlregistry.c:
6017 splitted gsttypefind into gsttypefind, gsttypefindfactory
6019 2005-09-07 Andy Wingo <wingo@pobox.com>
6021 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
6022 condition whereby the pad's task function is entered before the
6023 pad_mode variable was set.
6025 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
6027 * gst/gstpad.c: (gst_pad_alloc_buffer):
6028 Catch misbehaving pad_alloc functions that don't
6029 set up caps and do it for them.
6031 2005-09-07 Stefan Kost <ensonic@users.sf.net>
6033 * check/pipelines/simple_launch_lines.c: (run_pipeline):
6035 * docs/gst/tmpl/.cvsignore:
6036 * docs/gst/tmpl/gstmemchunk.sgml:
6037 * docs/gst/tmpl/gstparse.sgml:
6038 * docs/gst/tmpl/gsttaglist.sgml:
6039 * docs/gst/tmpl/gsttagsetter.sgml:
6040 * docs/gst/tmpl/gsttypefind.sgml:
6041 * docs/gst/tmpl/gsttypefindfactory.sgml:
6042 * gst/gstmemchunk.c:
6045 * gst/gsttaginterface.c:
6046 * gst/gsttypefind.c:
6047 * gst/gsttypefind.h:
6050 === release 0.9.2 ===
6052 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
6057 releasing 0.9.2, "South"
6059 2005-09-05 Andy Wingo <wingo@pobox.com>
6061 * gst/registries/gstxmlregistry.h:
6062 * gst/registries/gstxmlregistry.c: Um... resurrect...
6064 * gst/registries/gstxmlregistry.h:
6065 * gst/registries/gstxmlregistry.c: and update to newer API.
6066 Incidentally they should be a bit faster now that they don't have
6069 2005-09-05 Andy Wingo <wingo@pobox.com>
6071 * gst/registries/gstxmlregistry.h:
6072 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
6073 replaced by the libxml registry a while back
6075 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
6077 * docs/gst/tmpl/gstplugin.sgml:
6078 * gst/elements/gstelements.c:
6080 * gst/gstplugin.c: (gst_plugin_register_func),
6081 (gst_plugin_desc_copy), (gst_plugin_desc_free),
6082 (gst_plugin_get_source):
6084 * gst/registries/gstlibxmlregistry.c: (load_plugin),
6085 (gst_xml_registry_save_plugin):
6086 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
6087 (gst_xml_registry_save_plugin):
6088 * tools/gst-inspect.c: (print_plugin_info):
6089 add a "source" plugin description field, to represent the source
6090 module this plugin is a part of. By default GST_PLUGIN_DEFINE
6091 will set it to PACKAGE, which is automake's idea of the name of
6094 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
6100 * docs/faq/Makefile.am:
6101 * docs/gst/tmpl/gstelement.sgml:
6102 * docs/gst/tmpl/gsttypes.sgml:
6103 * docs/htmlinstall.mak:
6104 * docs/manual/Makefile.am:
6105 * docs/pwg/Makefile.am:
6106 reorganize doc build a little
6107 split out docbook and gtk-doc stuff
6108 have two separate --enable's and enable them through autogen
6109 but disable by default in configure (to be similar to other
6111 * gstreamer.spec.in:
6112 clean up docs install
6132 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
6134 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
6137 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
6138 (gst_fake_sink_change_state):
6139 Make state change function thread-safe.
6141 * gst/gstpad.c: (gst_pad_alloc_buffer):
6142 Set offset on generic buffer allocated by fallback.
6144 2005-09-03 Stefan Kost <ensonic@users.sf.net>
6146 * docs/gst/gstreamer-sections.txt:
6147 * docs/gst/tmpl/gstelement.sgml:
6149 * libs/gst/controller/gst-controller.c:
6150 (gst_controlled_property_set_interpolation_mode),
6151 (gst_controlled_property_new),
6152 (gst_controller_find_controlled_property):
6153 run the wingo-magic script against the docs
6155 2005-09-02 Stefan Kost <ensonic@users.sf.net>
6157 * docs/gst/gstreamer-docs.sgml:
6158 * docs/gst/gstreamer-sections.txt:
6159 * docs/gst/tmpl/.cvsignore:
6160 * docs/gst/tmpl/gstelementdetails.sgml:
6161 * docs/gst/tmpl/gstelementfactory.sgml:
6164 * gst/gstelementfactory.c:
6165 * gst/gstelementfactory.h:
6166 merged elementdetails docs into elementfactory docs
6169 2005-09-02 Andy Wingo <wingo@pobox.com>
6171 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
6172 consider this enum an enum and not a flags.
6174 2005-09-02 Stefan Kost <ensonic@users.sf.net>
6176 * docs/gst/gstreamer-docs.sgml:
6177 * docs/gst/tmpl/.cvsignore:
6178 * docs/gst/tmpl/gstghostpad.sgml:
6179 * docs/gst/tmpl/gstiterator.sgml:
6180 * docs/gst/tmpl/gstmacros.sgml:
6181 * docs/gst/tmpl/gstrealpad.sgml:
6182 * docs/gst/tmpl/gstregistry.sgml:
6183 * docs/gst/tmpl/gstregistrypool.sgml:
6184 * docs/gst/tmpl/gststructure.sgml:
6185 * docs/gst/tmpl/gstsystemclock.sgml:
6186 * docs/gst/tmpl/gsttrace.sgml:
6187 * gst/gstghostpad.c:
6189 * gst/gstmemchunk.c:
6190 * gst/gstmemchunk.h:
6192 * gst/gstregistry.c:
6193 * gst/gstregistrypool.c:
6194 * gst/gststructure.c:
6195 * gst/gstsystemclock.c:
6198 2005-09-02 Andy Wingo <wingo@pobox.com>
6200 * gst/gstelement.h (GstState): Renamed from GstElementState,
6201 changed to be a normal enum instead of flags.
6202 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
6203 munged to be GST_STATE_CHANGE_*.
6204 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
6205 work with the new state representation.
6206 (GstStateChange): New enumeration of possible state transitions.
6207 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
6208 (GstElementClass::change_state): Pass the GstStateChange along as
6209 an argument. Helps language bindings, so they don't have to use
6210 tricky lock-needing macros like GST_STATE_CHANGE ().
6212 * scripts/update-states (file): New script. Run it on a file to
6213 update it for state naming and API changes. Updates files in
6216 * All files updated for the new API.
6218 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
6220 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
6221 * gst/gstutils.c: (gst_util_set_value_from_string),
6222 (gst_util_set_object_arg):
6223 fix a bunch of unchecked return values
6224 * tools/gst-complete.c: (main):
6225 * gstreamer.spec.in:
6228 2005-09-01 Wim Taymans <wim@fluendo.com>
6230 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6231 (gst_base_sink_event), (gst_base_sink_do_sync),
6232 (gst_base_sink_handle_event):
6233 * gst/base/gstbasesink.h:
6234 Handle newsegments more correctly.
6239 * gst/gstevent.c: (gst_event_new_newsegment):
6240 A newsegment cannot have a start_time of -1
6242 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
6244 * win32/gstenumtypes.c:
6245 * win32/gstenumtypes.h:
6248 2005-08-31 Stefan Kost <ensonic@users.sf.net>
6250 * libs/gst/controller/gst-controller.c:
6251 (gst_controlled_property_set_interpolation_mode),
6252 (gst_controlled_property_new):
6255 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
6257 * docs/faq/gst-uninstalled:
6262 * gst/gstutils.c: (gst_element_link_filtered):
6264 add gst_element_link_filtered
6266 2005-08-31 Stefan Kost <ensonic@users.sf.net>
6268 * docs/gst/gstreamer-docs.sgml:
6269 * docs/gst/gstreamer-sections.txt:
6270 * docs/gst/tmpl/.cvsignore:
6271 * docs/gst/tmpl/gsterror.sgml:
6272 * docs/gst/tmpl/gstfilter.sgml:
6273 * docs/gst/tmpl/gsturihandler.sgml:
6274 * docs/gst/tmpl/gsturitype.sgml:
6275 * docs/gst/tmpl/gstutils.sgml:
6276 * docs/gst/tmpl/gstxml.sgml:
6284 inlined more docs, fixed double id-ref
6286 2005-08-31 Wim Taymans <wim@fluendo.com>
6288 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6289 (gst_base_transform_handle_buffer):
6290 Passthrough elements don't need the caps as they don't care.
6292 2005-08-31 Wim Taymans <wim@fluendo.com>
6294 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6295 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
6296 Don't leak refcounts on buffers.
6298 2005-08-31 Wim Taymans <wim@fluendo.com>
6300 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
6301 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
6302 (gst_base_transform_chain), (gst_base_transform_change_state):
6303 * gst/base/gstbasetransform.h:
6304 Handle the case where we are not negotiated more gracefully.
6306 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
6308 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
6309 (gst_file_src_map_region):
6310 Set READONLY flag on mmap'ed buffers, otherwise
6311 gst_buffer_make_writable() won't work properly (#314708).
6313 2005-08-31 Wim Taymans <wim@fluendo.com>
6315 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
6316 passthrough elements can even do inplace on non writable
6317 buffers (as they don't touch them).
6319 2005-08-31 Stefan Kost <ensonic@users.sf.net>
6321 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
6322 (gst_test_mono_source_set_property),
6323 (gst_test_mono_source_class_init), (GST_START_TEST),
6324 (gst_controller_suite):
6325 more tests (hehe I have the most)
6327 describe popping messages whenusing mulltiple sources
6328 * libs/gst/controller/gst-controller.c:
6329 (gst_controlled_property_set_interpolation_mode),
6330 (gst_controlled_property_new):
6331 * libs/gst/controller/gst-controller.h:
6332 * libs/gst/controller/gst-interpolation.c:
6333 implement boolean properties
6335 2005-08-31 Wim Taymans <wim@fluendo.com>
6337 * gst/gstminiobject.c: (gst_mini_object_ref):
6338 Cannot assert that the refcount has to be positive
6339 since a disposed object can be resurrected.
6341 2005-08-31 Wim Taymans <wim@fluendo.com>
6343 * gst/gstpad.c: (gst_pad_init):
6344 Revert change, need to first fix badly behaving
6347 2005-08-30 Wim Taymans <wim@fluendo.com>
6349 * check/elements/fakesrc.c: (setup_fakesrc):
6350 * check/elements/identity.c: (setup_identity):
6351 Activate pads before using them.
6353 2005-08-30 Wim Taymans <wim@fluendo.com>
6355 * gst/base/gstadapter.c: (gst_adapter_flush):
6356 Flushing out 0 bytes is ok for this function.
6358 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6359 no newsegment gives a warning and sets the start/stop to
6362 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
6363 (gst_base_transform_set_passthrough):
6366 * gst/gstminiobject.c: (gst_mini_object_ref):
6367 Check refcount here too.
6369 * gst/gstpad.c: (gst_pad_init):
6370 Pads are initially flushing and refusing data.
6372 * gst/gstutils.c: (gst_element_link_pads_filtered):
6373 When adding a capsfilter element make sure it has the
6374 same state as the parent bin.
6376 2005-08-30 Stefan Kost <ensonic@users.sf.net>
6378 * docs/gst/tmpl/.cvsignore:
6379 * docs/gst/tmpl/gstformat.sgml:
6380 * docs/gst/tmpl/gstversion.sgml:
6384 * gst/gstversion.h.in:
6385 more docs and two more inlined
6387 2005-08-30 Wim Taymans <wim@fluendo.com>
6389 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
6390 Don't sync to clock.
6392 2005-08-30 Stefan Kost <ensonic@users.sf.net>
6394 * docs/gst/gstreamer-sections.txt:
6395 ultral33t func10ns deserve to appear in the docs actually
6396 * docs/gst/tmpl/.cvsignore:
6397 * docs/gst/tmpl/gstcompat.sgml:
6398 * docs/gst/tmpl/gstconfig.sgml:
6399 * gst/check/gstcheck.c:
6401 * gst/gstconfig.h.in:
6404 2005-08-30 Stefan Kost <ensonic@users.sf.net>
6406 * docs/gst/tmpl/.cvsignore:
6407 * docs/gst/tmpl/gstquery.sgml:
6408 * docs/gst/tmpl/gstutils.sgml:
6411 inlined and extended docs
6413 2005-08-30 Stefan Kost <ensonic@users.sf.net>
6415 * check/gst-libs/controller.c: (GST_START_TEST),
6416 (gst_controller_suite):
6418 * docs/gst/tmpl/gstutils.sgml:
6419 * docs/libs/gstreamer-libs-sections.txt:
6420 * docs/libs/tmpl/gstdataprotocol.sgml:
6422 * examples/controller/audio-example.c: (main):
6423 controller example works now
6426 * tools/gst-inspect.c: (print_element_properties_info):
6427 show param spec flags
6429 2005-08-29 Andy Wingo <wingo@pobox.com>
6431 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
6433 2005-08-28 Andy Wingo <wingo@pobox.com>
6435 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
6436 as having two arguments instead of just one. Allows superclasses
6437 to access information on subclasses -- see the terrible for() loop
6438 in gtype.c:g_type_create_instance for the reason why. All callers
6441 2005-08-27 Stefan Kost <ensonic@users.sf.net>
6443 * docs/design/part-messages.txt:
6445 * docs/gst/tmpl/.cvsignore:
6446 * docs/gst/tmpl/gstcaps.sgml:
6447 * docs/gst/tmpl/gstclock.sgml:
6454 added descriptions for bus and message
6455 inline caps and clock docs
6457 2005-08-27 Stefan Kost <ensonic@users.sf.net>
6463 2005-08-27 Stefan Kost <ensonic@users.sf.net>
6465 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
6468 2005-08-26 Andy Wingo <wingo@pobox.com>
6470 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
6471 element_set_state's return val.
6472 (test_2_elements): Add test that's been disabled for months.
6474 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
6475 can-activate-pull properties.
6477 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
6478 can-activate-pull properties. Implement is_seekable so fakesrc can
6479 operate in pull mode.
6481 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
6483 (gst_base_sink_activate, gst_base_sink_activate_pull)
6484 (gst_base_sink_activate_push): Make activation mode choosing work.
6486 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
6487 is right. Make pull mode work. Post an eos before pausing in pull
6489 (gst_base_sink_change_state): Pay attention to the core's
6490 change_state() return val.
6492 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
6493 has-getrange properties. Cleanups.
6495 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
6496 has_getrange and replace with can_activate_pull and
6499 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
6500 locking comments. Remove has_loop, has_chain and replace with
6501 can_activate_pull and can_activate_push.
6503 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
6506 * examples/Makefile.am:
6507 * examples/metadata/Makefile.am:
6508 * examples/metadata/read-metadata.c: (message_loop),
6509 (have_pad_handler), (make_pipeline), (print_tag), (main):
6510 Add metadata reading example that loops over a list of filenames,
6511 dumping any tags found.
6513 * gst/gstbus.c: (gst_bus_dispose):
6514 * gst/gstelement.c: (gst_element_dispose):
6515 Release a few potentially-held references in dispose.
6517 2005-08-26 Stefan Kost <ensonic@users.sf.net>
6519 * docs/gst/tmpl/gstminiobject.sgml:
6520 do *not* add tmpl/*.sgml files to CVS!
6522 2005-08-26 Stefan Kost <ensonic@users.sf.net>
6524 * libs/gst/bytestream/.cvsignore:
6525 * libs/gst/bytestream/Makefile.am:
6526 * libs/gst/bytestream/adapter.c:
6527 * libs/gst/bytestream/adapter.h:
6528 * libs/gst/bytestream/bytestream.c:
6529 * libs/gst/bytestream/bytestream.h:
6530 * libs/gst/bytestream/filepad.c:
6531 * libs/gst/bytestream/filepad.h:
6532 removing obsolete files
6534 2005-08-26 Stefan Kost <ensonic@users.sf.net>
6536 * docs/gst/gstreamer-docs.sgml:
6537 * docs/libs/gstreamer-libs-docs.sgml:
6538 disabed additional index entries again, as this makes docs-gen just
6539 slow and they aren't useful yet
6540 * docs/libs/gstreamer-libs-sections.txt:
6541 little -section.txt cleanup for libs
6543 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
6545 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6546 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
6547 fix up some debugging
6548 (gst_base_transform_get_unit_size),
6549 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
6550 (gst_base_transform_handle_buffer):
6551 * gst/base/gstbasetransform.h:
6552 handle and store timed NEWSEGMENT events so that subclasses that
6553 calculate time by counting samples have a segment_start time they
6554 need to add to their timestamps - see audioresample
6556 2005-08-26 Stefan Kost <ensonic@users.sf.net>
6559 removed ';' from the end of macro defs
6560 * docs/gst/gstreamer-docs.sgml:
6561 * docs/gst/gstreamer-sections.txt:
6562 * docs/gst/tmpl/.cvsignore:
6564 * gst/gstelement.c: (gst_element_class_init),
6565 (gst_element_set_state), (activate_pads),
6566 (gst_element_save_thyself):
6567 * gst/gstevent.c: (gst_event_new_newsegment):
6569 * gst/gstiterator.c:
6570 * gst/gstiterator.h:
6573 * gst/gstutils.c: (gst_pad_query_convert):
6575 fixed parameter name mismatches between source, header and docs
6576 added some more docs, resolved the last batch of unused elements in
6577 docs (now someone needs to doc them)
6579 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
6581 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
6582 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
6583 don't walk through the plugins backwards. Where is all this
6584 reversed logic coming from ?
6586 2005-08-25 Wim Taymans <wim@fluendo.com>
6588 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6589 (gst_base_transform_transform_size),
6590 (gst_base_transform_configure_caps),
6591 (gst_base_transform_get_unit_size),
6592 (gst_base_transform_buffer_alloc),
6593 (gst_base_transform_change_state):
6594 * gst/base/gstbasetransform.h:
6595 Cache caps unit_size.
6596 Make sure we cannot negotiate up and downstream at the
6599 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
6601 * gst/gst.c: (init_pre), (init_post):
6602 register the installed plugin path after the env var
6603 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
6604 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
6605 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
6606 directories, so the tests can prefer uninstalled over installed
6608 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
6610 * gst/base/gstbasetransform.h:
6615 2005-08-25 Wim Taymans <wim@fluendo.com>
6617 * gst/gstbin.c: (bin_bus_handler):
6618 Be a bit more conservative about the posted message.
6620 * gst/gstbus.c: (gst_bus_post):
6621 Some cleanups, warn wrong return values.
6623 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
6625 * check/gst/gstbin.c: (GST_START_TEST):
6626 * gst/gstbin.c: (bin_bus_handler):
6627 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
6628 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
6629 (gst_message_new_warning), (gst_message_new_tag),
6630 (gst_message_new_state_changed), (gst_message_new_segment_start),
6631 (gst_message_new_segment_done), (gst_message_new_custom):
6633 * tools/gst-launch.c: (event_loop):
6634 * tools/gst-md5sum.c: (event_loop):
6635 Revert unpopular change for GST_MESSAGE_SRC to GObject.
6637 2005-08-25 Wim Taymans <wim@fluendo.com>
6639 * check/generic/states.c: (GST_START_TEST):
6640 Cleanup can be done at the end.
6642 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
6643 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
6644 (gst_task_get_state), (gst_task_start), (gst_task_pause):
6645 Oh boy.. Thanks for finding this, Thomas.
6647 2005-08-25 Stefan Kost <ensonic@users.sf.net>
6649 * docs/gst/gstreamer.types:
6652 2005-08-25 Stefan Kost <ensonic@users.sf.net>
6654 * docs/gst/gstreamer-docs.sgml:
6655 * docs/gst/gstreamer-sections.txt:
6656 * docs/gst/tmpl/.cvsignore:
6658 * gst/gstiterator.c:
6660 * gst/registries/gstxmlregistry.h:
6661 added missing classes and symbols (123 more to go)
6662 removed removed symbols from section file
6663 fixed many doc-comments
6665 2005-08-24 Wim Taymans <wim@fluendo.com>
6667 * check/generic/states.c: (GST_START_TEST):
6668 Make sure all tasks are stopped.
6670 * check/gst/gstbin.c: (GST_START_TEST):
6671 Unref after usage for proper valgrinding.
6673 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
6674 Really wait for the task to stop before destroying the
6677 * gst/gstqueue.c: (gst_queue_sink_activate_push),
6678 (gst_queue_src_activate_push):
6679 Small cleanups. Don't stop the task when we did not start
6682 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
6683 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
6684 (gst_task_get_state), (gst_task_start), (gst_task_pause),
6687 Protect the stream lock with the object lock.
6688 Disallow setting the stream lock when running.
6689 Add cleanup_all to wait for the threadpool to finish.
6690 Remove code to autoallocate a mutex if none was provided.
6691 Add _join() to wait for a task to stop.
6692 Protect the thread pool with a global lock.
6694 2005-08-24 Wim Taymans <wim@fluendo.com>
6696 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6697 (gst_base_sink_get_times), (gst_base_sink_do_sync),
6698 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
6699 * gst/base/gstbasesink.h:
6700 Handle newsegment events correctly.
6701 Drop buffers out of the segment range.
6703 2005-08-22 Andy Wingo <wingo@pobox.com>
6705 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
6706 macro, implements an interface and gstimplementsinterface for a
6709 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
6711 * check/Makefile.am:
6712 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
6713 add a test that does a bunch of state changes on elements
6714 needs some fixing for valgrind
6715 * check/states/sinks.c: (gst_object_suite):
6718 add prototype for gst_caps_is_equal_fixed
6720 * gst/gstregistrypool.c:
6723 2005-08-24 Andy Wingo <wingo@pobox.com>
6725 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
6726 convert a negative value. Doesn't make much sense. Mostly this is
6727 here to force callers to ensure -1 maps to -1.
6729 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
6731 * docs/pwg/advanced-types.xml:
6732 Well done to Michael for catching my deliberate introduction
6733 of this spelling mistake.
6734 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
6736 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
6737 unlink pads before removing the element from the bin.
6739 2005-08-24 Andy Wingo <wingo@pobox.com>
6741 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
6742 the same thing as GST_DEBUG=*:4.
6743 (parse_debug_level, parse_debug_category): New helper parsers.
6745 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
6747 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6748 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
6749 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
6750 (gst_base_transform_buffer_alloc),
6751 (gst_base_transform_handle_buffer):
6752 use gboolean return values and pointers to size so we can use the
6753 full GST_BUFFER_SIZE range (guint) for buffer sizes
6754 use GstPadDirection for transform_caps
6755 * gst/base/gstbasetransform.h:
6756 rename get_size to get_unit_size since that's what it is
6757 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
6758 use GstPadDirection for transform_caps
6759 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6761 cleanup and debugging
6763 2005-08-24 Stefan Kost <ensonic@users.sf.net>
6765 * gst/gstelement.c: (gst_element_class_init),
6766 (gst_element_set_state), (activate_pads),
6767 (gst_element_save_thyself):
6768 * tools/gst-compprep.c: (main):
6769 * tools/gst-inspect.c: (print_element_properties_info):
6770 * tools/gst-xmlinspect.c: (print_element_properties):
6771 Fixed long standing mem-leak
6773 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
6775 * check/gst/gstbin.c: (GST_START_TEST):
6776 * gst/gstbin.c: (bin_bus_handler):
6777 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
6778 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
6779 (gst_message_new_warning), (gst_message_new_tag),
6780 (gst_message_new_state_changed), (gst_message_new_segment_start),
6781 (gst_message_new_segment_done), (gst_message_new_custom):
6783 * tools/gst-launch.c: (event_loop):
6784 * tools/gst-md5sum.c: (event_loop):
6785 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
6786 that applications can sensibly post custom messages with references
6787 to their own objects.
6789 2005-08-24 Andy Wingo <wingo@pobox.com>
6791 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
6794 2005-08-24 Wim Taymans <wim@fluendo.com>
6796 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6797 (gst_base_transform_transform_caps),
6798 (gst_base_transform_transform_size),
6799 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6800 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6801 (gst_base_transform_handle_buffer):
6802 * gst/base/gstbasetransform.h:
6803 Many fixes and new features added by Thomas. Can now also do
6804 transforms with variable sizes and a custom fixate_caps function.
6806 2005-08-24 Wim Taymans <wim@fluendo.com>
6808 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6812 Cast to ClockTime before formatting to time.
6817 2005-08-24 Stefan Kost <ensonic@users.sf.net>
6819 * check/gst-libs/controller.c: (GST_START_TEST),
6820 (gst_controller_suite):
6821 * docs/gst/tmpl/gstcaps.sgml:
6822 * docs/gst/tmpl/gstghostpad.sgml:
6823 * docs/gst/tmpl/gstquery.sgml:
6824 * docs/gst/tmpl/gstutils.sgml:
6825 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
6826 (gst_object_sink_values), (gst_object_get_value_arrays),
6827 (gst_object_get_value_array):
6828 gracefully handle helper method calls to objects that are not beeing
6829 controlled, added test case for that
6831 2005-08-23 Wim Taymans <wim@fluendo.com>
6833 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
6834 (gst_event_new_newsegment), (gst_event_parse_newsegment),
6835 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
6836 (gst_event_parse_qos), (gst_event_new_seek),
6837 (gst_event_parse_seek):
6839 Some more debugging output and doc cleanups.
6841 * gst/gstqueue.c: (gst_queue_handle_sink_event):
6842 Fix possible deadlock.
6844 2005-08-23 Stefan Kost <ensonic@users.sf.net>
6846 * docs/gst/gstreamer-docs.sgml:
6847 * docs/gst/gstreamer-sections.txt:
6848 * docs/gst/gstreamer.types:
6849 * docs/gst/tmpl/.cvsignore:
6854 added 100 symbols from gstreamer-unused.txt to the right sections
6855 fixed more broken comments
6856 added GstBus to docs
6858 2005-08-23 Stefan Kost <ensonic@users.sf.net>
6860 * docs/gst/gstreamer-sections.txt:
6861 * docs/gst/tmpl/.cvsignore:
6862 * docs/gst/tmpl/gstbin.sgml:
6863 * docs/gst/tmpl/gstbuffer.sgml:
6864 * gst/base/gstbasesrc.c:
6865 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
6868 * tools/gst-launch.1.in:
6869 inlined more doc comments, added missing comments and fixed comments
6872 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
6874 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6878 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
6880 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
6881 * gst/gststructure.h:
6882 add a fixate function for booleans; add a FIXME that these func
6883 names should probably be gst_structure_fixate_*
6885 2005-08-23 Stefan Kost <ensonic@users.sf.net>
6887 * docs/gst/gstreamer-docs.sgml:
6888 * docs/gst/gstreamer-sections.txt:
6890 * gst/gstbin.c: (gst_bin_get_type),
6891 (gst_bin_child_proxy_get_child_by_index),
6892 (gst_bin_child_proxy_get_children_count),
6893 (gst_bin_child_proxy_init):
6894 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
6895 (gst_child_proxy_get_child_by_index),
6896 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
6897 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
6898 (gst_child_proxy_get), (gst_child_proxy_set_property),
6899 (gst_child_proxy_set_valist), (gst_child_proxy_set),
6900 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
6901 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
6902 * gst/gstchildproxy.h:
6903 * gst/parse/grammar.y:
6904 * tools/gst-inspect.c: (print_interfaces),
6905 (print_element_properties_info), (print_element_info):
6906 ported gstchildproxy over from 0.8
6907 ported gst-inspect fixes and enhancements over from 0.8
6909 2005-08-22 Wim Taymans <wim@fluendo.com>
6911 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6912 (gst_base_transform_handle_buffer):
6913 Also call the transform function if we have ANY caps.
6915 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
6918 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
6920 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
6921 Don't pretend to handle seek events if the source is not seekable
6923 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
6925 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6926 Remove extra parameter to debug output
6928 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6929 (gst_base_src_do_seek), (gst_base_src_activate_push):
6930 Fix seek event handling.
6932 * gst/gstpipeline.c: (gst_pipeline_change_state):
6933 * gst/gstqueue.c: (gst_queue_handle_sink_event),
6934 (gst_queue_src_activate_push):
6935 Don't start the src pad task on FLUSH_STOP if the pad
6939 2005-08-22 Wim Taymans <wim@fluendo.com>
6941 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6942 Added check for gst_static_caps_get() refcounting.
6944 2005-08-22 Wim Taymans <wim@fluendo.com>
6946 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
6947 Make _static_caps_get() refcounting sane.
6949 * gst/gstelement.c: (gst_element_set_state):
6950 Add g_return_val_if_fail() to protect against segfaults.
6952 2005-08-22 Stefan Kost <ensonic@users.sf.net>
6954 * docs/gst/tmpl/gstevent.sgml:
6957 inlined remaining docs, added missing doc comments
6959 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
6961 * check/gst/gstbin.c: (GST_START_TEST):
6962 since we don't know when preroll is done, use refcount range
6964 * gst/check/gstcheck.h:
6965 add macro for checking refcount range
6967 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
6969 * check/Makefile.am:
6970 clean up environment for when registry gets built versus
6971 when actual tests are run; valgrind seems to not report
6972 leaks if GST_PLUGIN_PATH is set to some specific values
6973 * check/gst/gstbin.c: (GST_START_TEST):
6974 add more refcounting checks; maybe this exposes a
6977 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6978 * gst/check/gstcheck.h:
6979 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
6980 (gst_bin_change_state):
6981 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
6982 add/fix debugging/whitespace
6984 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
6986 * check/gst/gstevent.c: (event_probe), (test_event),
6988 Er, don't call gst_bin_watch_for_state_change you idiot.
6990 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
6992 * check/Makefile.am:
6993 Use CHECK_CFLAGS and CHECK_LIBS
6994 * check/gst/gstevent.c: (event_probe), (test_event),
6997 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6998 (gst_base_src_start), (gst_base_src_stop),
6999 (gst_base_src_activate_push), (gst_base_src_activate_pull),
7000 (gst_base_src_change_state):
7001 Sprinkle gst_base_src_stop liberally around error paths to fix
7002 problems reusing a source after failed state changes.
7003 * gst/base/gsttypefindhelper.c: (helper_find_peek),
7004 (helper_find_suggest), (gst_type_find_helper):
7005 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
7007 * docs/gst/tmpl/gstevent.sgml:
7008 Migrate part of the docs from the SGML file. Wait for ensonic to
7009 tell me how I did it wrong ;)
7010 * tools/gst-typefind.c: (main):
7011 Extra robustness to state changes between files.
7013 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
7015 * check/Makefile.am:
7016 don't valgrind the controller test - it's leaking - Stefan, HELP
7017 * gst/check/gstcheck.c: (gst_check_message_error),
7018 (gst_check_chain_func), (gst_check_setup_element),
7019 (gst_check_teardown_element), (gst_check_setup_src_pad),
7020 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
7021 (gst_check_teardown_sink_pad):
7022 * gst/check/gstcheck.h:
7023 add a bunch of methods to set up elements, and src and sink pads
7024 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
7025 * check/elements/identity.c: (setup_identity), (cleanup_identity),
7030 whitespace/doc fixes
7032 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7035 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
7036 be handled by the application and not always printed as well
7038 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7040 * check/Makefile.am:
7042 * gst/check/gstcheck.c: (gst_check_message_error):
7043 * gst/check/gstcheck.h:
7044 add a fail_unless_equals_int
7045 add fail_unless for error messages
7047 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7049 * check/Makefile.am:
7051 * common/Makefile.am:
7054 factor out some of the common stuff so we can use it
7056 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7058 * check/Makefile.am:
7059 * check/gst/gstiterator.c: (GST_START_TEST):
7060 * check/gst/gstsystemclock.c: (GST_START_TEST),
7061 (gst_systemclock_suite):
7062 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7066 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7068 * check/elements/.cvsignore:
7069 * check/elements/gstfakesrc.c:
7070 rename to name of element
7071 * check/elements/identity.c: (chain_func), (event_func),
7072 (setup_identity), (cleanup_identity), (GST_START_TEST),
7073 (identity_suite), (main):
7074 add a test for identity
7075 * check/Makefile.am:
7076 * pkgconfig/Makefile.am:
7077 * pkgconfig/gstreamer-check.pc.in:
7078 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7082 move the check stuff to a library that gets installed
7083 * check/gst-libs/controller.c: (GST_START_TEST):
7084 * check/gst-libs/gdp.c:
7085 * check/gst/gst.c: (GST_START_TEST):
7086 * check/gst/gstbin.c:
7087 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7088 * check/gst/gstbus.c:
7089 * check/gst/gstcaps.c: (GST_START_TEST):
7090 * check/gst/gstelement.c:
7091 * check/gst/gstghostpad.c:
7092 * check/gst/gstiterator.c:
7093 * check/gst/gstmessage.c:
7094 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
7095 * check/gst/gstobject.c:
7096 * check/gst/gstpad.c: (GST_START_TEST):
7097 * check/gst/gststructure.c: (GST_START_TEST):
7098 * check/gst/gstsystemclock.c: (GST_START_TEST),
7099 (gst_systemclock_suite):
7100 * check/gst/gsttag.c: (gst_tag_suite):
7101 * check/gst/gstvalue.c:
7102 * check/pipelines/cleanup.c:
7103 * check/pipelines/simple_launch_lines.c:
7104 * check/states/sinks.c:
7105 change include statement
7107 * docs/gst/gstreamer-sections.txt:
7108 * docs/gst/tmpl/gstpad.sgml:
7109 document more pad stuff
7110 * gst/gstminiobject.c: (gst_mini_object_ref),
7111 (gst_mini_object_unref):
7114 2005-08-19 Stefan Kost <ensonic@users.sf.net>
7116 * docs/gst/tmpl/gst.sgml:
7118 eliminate another tmpl file, fix spelling in the long-description
7120 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7122 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7123 (test_event), (timediff), (gstevents_suite):
7124 Should fix build on 64-bit arch's
7126 2005-08-18 Andy Wingo <wingo@pobox.com>
7128 Make sure that when a pipeline goes to PLAYING, that data has
7129 actually hit the sink.
7131 * check/states/sinks.c (test_sink): A sink that doesn't get any
7132 data shouldn't return SUCCESS for going to either PLAYING or
7133 PAUSED. Test also the return values on the way back down.
7135 * gst/gstelement.c (gst_element_set_state): When changing the
7136 state of an element currently changing state asynchronously, go to
7137 lost-state after commiting the pending state. Makes future calls
7138 to get_state continue to return ASYNC.
7140 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
7141 ASYNC when going to PLAYING if we still don't have preroll, as can
7142 happen with live sources.
7144 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7146 * docs/pwg/advanced-types.xml:
7147 Hack long paragraph into 2 chunks as a workaround for buggy
7148 jadetex version in sid and breezy that loops infinitely and
7151 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7153 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7154 (test_event), (timediff), (gstevents_suite):
7155 Provide more error margin in clock measurements to allow for
7156 g_get_current_time inaccuracies.
7158 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7160 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7161 (test_event), (timediff), (gstevents_suite):
7162 Fix error message output so I might be able to tell why the
7163 test works here but fails on the build farm.
7165 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7167 * check/Makefile.am:
7168 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7169 (test_event), (timediff), (gstevents_suite), (main):
7172 * docs/design/part-seeking.txt:
7175 * docs/gst/tmpl/gstevent.sgml:
7176 * docs/gst/tmpl/gstfakesrc.sgml:
7179 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7180 Treat a buffer-without-newsegment the same as a receiving
7181 a newsegment not in time format, and disable syncing to the clock
7184 * gst/gstbus.c: (gst_bus_set_sync_handler):
7185 Assert if anyone tries to replace the existing sync_handler for bus,
7186 as only the owner should be setting it.
7189 Have a fixed set of custom event enums with events identified by
7190 their structure name (as in 0.8), rather than a free-for-all
7191 allowing collisions between enum values from different plugins.
7193 * gst/gstpad.c: (gst_pad_class_init):
7196 * gst/gstqueue.c: (gst_queue_handle_sink_event):
7197 Handle out-of-band downstream events from the sending thread.
7199 2005-08-17 Andy Wingo <wingo@pobox.com>
7201 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
7202 play-timeout==0 to mean no timeout at all. In that case, don't
7203 bother with a get_state or a warning, just return directly, even
7206 * gst/base/gstbasetransform.c: Debug changes.
7209 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
7210 ensure bins post state change messages. A bit of a hack but I can't
7211 think of a way to avoid it.
7213 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
7215 2005-08-16 Andy Wingo <wingo@pobox.com>
7217 * gst/base/gstadapter.h:
7218 * gst/base/gstadapter.c (gst_adapter_take): New function, like
7219 peek() but you own the data. Not terribly efficient atm.
7221 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7223 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
7224 (gst_element_found_tags):
7226 Add two utility functions for tag handling.
7228 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7230 * docs/manual/advanced-dataaccess.xml:
7231 * docs/manual/basics-helloworld.xml:
7232 Fix docs to use _bin_add() before _link(), which fixes the examples
7233 with recent core versions (reported by Madhan Raj M
7234 <raj_madan@rediffmail.com>, #313199).
7236 2005-08-16 Wim Taymans <wim@fluendo.com>
7238 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7239 Added subtract checks.
7241 * docs/design/part-events.txt:
7242 Some more docs about newsegment
7244 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
7247 * gst/gstcaps.c: (gst_caps_to_string):
7248 Add comments, cleanups.
7250 * gst/gstelement.c: (gst_element_save_thyself):
7253 * gst/gstvalue.c: (gst_value_collect_int_range),
7254 (gst_string_unwrap), (gst_value_union_int_int_range),
7255 (gst_value_union_int_range_int_range),
7256 (gst_value_intersect_int_int_range),
7257 (gst_value_intersect_int_range_int_range),
7258 (gst_value_intersect_double_double_range),
7259 (gst_value_intersect_double_range_double_range),
7260 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
7261 (gst_value_subtract_int_range_int),
7262 (gst_value_subtract_double_range_double),
7263 (gst_value_subtract_double_range_double_range),
7264 (gst_value_subtract_from_list), (gst_value_subtract_list),
7265 (gst_value_can_compare), (gst_value_compare_fraction):
7266 Cleanups, add comments, remove unneeded asserts.
7268 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
7270 * tools/gst-launch.c: (event_loop):
7271 don't convert NULL structures to strings
7273 2005-08-15 Stefan Kost <ensonic@users.sf.net>
7275 * docs/gst/gstreamer-sections.txt:
7276 made some defines private
7277 * docs/gst/tmpl/gstconfig.sgml:
7278 * docs/gst/tmpl/gstqueue.sgml:
7279 * docs/gst/tmpl/gsttaglist.sgml:
7280 * docs/gst/tmpl/gsttypes.sgml:
7281 * docs/gst/tmpl/gstutils.sgml:
7282 * docs/pwg/appendix-porting.xml:
7283 * gst/base/gstbasesink.h:
7284 * gst/base/gstbasesrc.c:
7285 * gst/base/gstbasesrc.h:
7286 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
7287 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
7288 * gst/gstelement.c: (gst_element_class_init):
7289 * gst/gstpad.c: (gst_pad_class_init):
7290 * gst/gstqueue.c: (gst_queue_class_init):
7291 * gst/gstxml.c: (gst_xml_class_init):
7292 documented all undocumented signal inline
7293 * libs/gst/controller/gst-controller.h:
7296 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7298 * docs/pwg/appendix-porting.xml:
7299 Document _set_link_function -> _set_setcaps_function.
7301 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
7303 * check/Makefile.am:
7304 add a .check target for running the check
7305 * check/gst-libs/controller.c: (GST_START_TEST):
7307 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7308 complete checks for gstbuffer; would be nice if I could get the
7309 gcov stuff to work so I can see if I actually completed gstbuffer.c
7311 add ASSERT_BUFFER_REFCOUNT
7313 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
7315 * docs/gst/gstreamer-sections.txt:
7316 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
7318 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
7319 spew out a warning if a tag that is already registered
7320 is re-registered, unless it is re-registered with a
7321 different type (#308438).
7323 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
7325 * docs/pwg/appendix-porting.xml:
7326 * docs/pwg/building-state.xml:
7327 Add some paragraphs about state changes in 0.9 to the PWG
7328 and the porting guide, in particular about the new meaning
7329 of GST_STATE_PAUSED and how to write state change functions
7330 with concurrent access by multiple threads in mind.
7332 2005-08-11 Stefan Kost <ensonic@users.sf.net>
7334 * docs/gst/gstreamer-docs.sgml:
7335 * docs/libs/gstreamer-libs-docs.sgml:
7336 added deprecation and since indexes
7337 * libs/gst/controller/gst-controller.c:
7338 * libs/gst/controller/gst-helper.c:
7342 2005-08-11 Wim Taymans <wim@fluendo.com>
7344 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
7345 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
7346 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
7347 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
7348 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
7349 (gst_ghost_pad_set_target):
7350 Actually implement (re)setting the target on a ghostpad
7351 as described in the docs.
7353 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
7355 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
7356 Check whether GST_DEBUG_NO_COLOR environment variable is
7357 set and disable coloured debug output if that is the case.
7359 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
7361 * gst/base/gsttypefindhelper.c: (helper_find_peek),
7362 (gst_type_find_helper):
7363 The memory returned by gst_type_find_peek() needs to
7364 stay valid until the end of a typefind function, and
7365 typefind functions may keep results from different
7366 offsets around, so we can't just unref the buffer from
7367 the previous _peek(), but have to save all buffers
7368 returned by _peek() until typefinding is done and only
7371 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
7373 * docs/gst/gstreamer-sections.txt:
7375 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
7377 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7379 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
7380 Fix a pretty good memleak.
7382 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
7384 * gst/gstiterator.h:
7385 Fix wrong include and 'make distcheck'.
7387 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7389 * gst/gstbin.c: (bin_bus_handler):
7390 Use gst_element_post_message() instead.
7392 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
7394 * gst/base/gstadapter.h:
7395 * gst/base/gstbasesink.h:
7396 * gst/base/gstbasesrc.h:
7397 * gst/base/gstbasetransform.h:
7398 * gst/base/gstcollectpads.h:
7399 * gst/base/gstpushsrc.h:
7400 * gst/gstiterator.h:
7401 Add padding to our base elements' class and instance structs and
7402 to GstIterator (you will need to rebuild all plugins and apps!)
7404 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7406 * gst/gstbin.c: (bin_bus_handler):
7407 Make default message forwarding from child->bus to bin->bus
7408 threadsafe and make it not emit warnings if the parent has no bus.
7410 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7412 * gst/gstelement.c: (activate_pads):
7413 On paused->ready, set pad->caps to NULL, as is the documented
7414 behaviour in this state change. Fixes playback of series of
7415 media files when visualization is enabled in Totem.
7417 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7419 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
7420 Allow NULL as filter-caps (which means "any").
7422 2005-08-05 Stefan Kost <ensonic@users.sf.net>
7424 * docs/libs/gstreamer-libs-sections.txt:
7425 * libs/gst/controller/gst-controller.c:
7426 * libs/gst/controller/gst-controller.h:
7427 * libs/gst/controller/gst-helper.c:
7428 adding more entries to the docs and fix small doc-bugs
7430 2005-08-05 Stefan Kost <ensonic@users.sf.net>
7432 * docs/gst/gstreamer-docs.sgml:
7433 * docs/gst/gstreamer-sections.txt:
7434 * docs/gst/gstreamer.types:
7435 * docs/gst/tmpl/gstbasesink.sgml:
7436 * docs/gst/tmpl/gstbasesrc.sgml:
7437 * docs/gst/tmpl/gstbasetransform.sgml:
7438 * docs/gst/tmpl/gstfakesrc.sgml:
7439 * gst/base/gstcollectpads.c:
7440 * gst/base/gstcollectpads.h:
7441 * libs/gst/controller/gst-controller.c:
7442 * libs/gst/controller/gst-controller.h:
7443 * libs/gst/controller/gst-helper.c:
7444 * libs/gst/controller/gst-interpolation.c:
7445 * libs/gst/controller/lib.c:
7446 added long/short desc for controller docs
7447 added collectpads base class docs
7448 added correct includes to base-class docs
7450 2005-08-05 Stefan Kost <ensonic@users.sf.net>
7452 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
7453 (gst_test_mono_source_set_property),
7454 (gst_test_mono_source_class_init), (GST_START_TEST),
7455 (gst_controller_suite):
7456 * docs/gst/gstreamer-docs.sgml:
7457 * docs/gst/gstreamer-sections.txt:
7458 * docs/gst/gstreamer.types:
7459 * docs/libs/gstreamer-libs-docs.sgml:
7460 * docs/libs/gstreamer-libs-sections.txt:
7461 * gst/base/gstadapter.c:
7462 * libs/gst/controller/gst-controller.c:
7463 (gst_controlled_property_new), (gst_controlled_property_free),
7464 (gst_controller_new_valist),
7465 (gst_controller_remove_properties_valist),
7466 (gst_controller_sink_values), (_gst_controller_finalize):
7467 * libs/gst/controller/gst-controller.h:
7468 * libs/gst/controller/gst-helper.c:
7469 (gst_object_control_properties), (gst_object_uncontrol_properties),
7470 (gst_object_get_controller), (gst_object_set_controller),
7471 (gst_object_sink_values), (gst_object_get_value_arrays),
7472 (gst_object_get_value_array):
7473 more tests (and fixes) for the controller
7474 more docs for the controller
7475 integrated companies docs for the adapter
7477 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
7479 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
7480 (GST_START_TEST), (fakesrc_suite):
7481 add tests for sizetype
7483 2005-08-04 Andy Wingo <wingo@pobox.com>
7485 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
7486 fixes buffer_alloc proxying among other things.
7488 * gst/base/gstbasetransform.c:
7489 * gst/base/gstbasetransform.h:
7490 Revert patch to gstbasetransform from 7-28 removing
7493 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
7494 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
7495 Semantics changed, should return not the size of the output buffer
7496 but the byte size of a buffer with a given caps.
7498 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
7500 (gst_base_transform_configure_caps): Don't set out_size here: (in,
7501 out) are not the pad caps until setcaps finishes.
7502 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
7503 not-in-place case as well. Deal with changing from in-place to
7504 not-in-place within calling pad_alloc_buffer. Still a bit
7505 concerned about the overhead here...
7507 2005-08-03 Andy Wingo <wingo@pobox.com>
7509 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
7510 fixating is an error.
7512 2005-08-04 Edward Hervey <edward@fluendo.com>
7514 * gst/base/gstadapter.h:
7515 Added gst_adapter_get_type() to the header
7517 2005-08-03 Stefan Kost <ensonic@users.sf.net>
7519 * check/Makefile.am:
7520 * check/gst-libs/controller.c:
7521 * libs/gst/controller/gst-controller.c:
7522 (gst_controller_new_valist):
7523 added check test suite for the controller
7524 * gst/base/gstpushsrc.c:
7527 2005-08-03 Stefan Kost <ensonic@users.sf.net>
7529 * docs/gst/Makefile.am:
7530 * docs/gst/gstreamer-docs.sgml:
7531 * docs/gst/gstreamer-sections.txt:
7532 * docs/gst/gstreamer.types:
7533 * docs/gst/tmpl/gstfakesrc.sgml:
7535 * gst/base/gstbasesink.c:
7536 * gst/base/gstbasesink.h:
7537 * gst/base/gstbasesrc.c:
7538 * gst/base/gstbasesrc.h:
7539 * gst/base/gstbasetransform.c:
7540 * gst/base/gstpushsrc.c:
7541 * gst/base/gstpushsrc.h:
7542 add short/long description docs to base classes
7543 add pushsrc to the docs
7544 remove consolidated doc fragments
7546 2005-08-03 Stefan Kost <ensonic@users.sf.net>
7549 * docs/libs/Makefile.am:
7550 * docs/libs/gstreamer-libs-docs.sgml:
7551 * docs/libs/gstreamer-libs-sections.txt:
7552 * docs/libs/gstreamer-libs.types:
7553 * examples/Makefile.am:
7554 * examples/controller/.cvsignore:
7555 * examples/controller/Makefile.am:
7556 * examples/controller/audio-example.c: (main):
7557 * libs/gst/Makefile.am:
7558 * libs/gst/controller/.cvsignore:
7559 * libs/gst/controller/Makefile.am:
7560 * libs/gst/controller/gst-controller.c:
7561 (on_object_controlled_property_changed), (gst_timed_value_compare),
7562 (gst_timed_value_find),
7563 (gst_controlled_property_set_interpolation_mode),
7564 (gst_controlled_property_new), (gst_controlled_property_free),
7565 (gst_controller_find_controlled_property),
7566 (gst_controller_new_valist), (gst_controller_new),
7567 (gst_controller_remove_properties_valist),
7568 (gst_controller_remove_properties), (gst_controller_set),
7569 (gst_controller_set_from_list), (gst_controller_unset),
7570 (gst_controller_get), (gst_controller_get_all),
7571 (gst_controller_sink_values), (gst_controller_get_value_arrays),
7572 (gst_controller_get_value_array),
7573 (gst_controller_set_interpolation_mode),
7574 (_gst_controller_finalize), (_gst_controller_init),
7575 (_gst_controller_class_init), (gst_controller_get_type):
7576 * libs/gst/controller/gst-controller.h:
7577 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
7578 (g_object_uncontrol_properties), (g_object_get_controller),
7579 (g_object_set_controller), (g_object_sink_values),
7580 (g_object_get_value_arrays), (g_object_get_value_array):
7581 * libs/gst/controller/gst-interpolation.c:
7582 (gst_controlled_property_find_timed_value_node),
7583 (interpolate_none_get), (interpolate_trigger_get),
7584 (interpolate_trigger_get_value_array):
7585 * libs/gst/controller/lib.c: (gst_controller_init):
7586 * pkgconfig/Makefile.am:
7587 * pkgconfig/gstreamer-control-uninstalled.pc.in:
7588 * pkgconfig/gstreamer-control.pc.in:
7589 * testsuite/Makefile.am:
7590 * testsuite/controller/.cvsignore:
7591 * testsuite/controller/Makefile.am:
7592 * testsuite/controller/interpolator.c: (main):
7593 added controller code
7594 removed dparam pc files
7596 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
7597 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
7598 (gst_collectpads_stop):
7599 Broadcast the condition when shutting down, to make sure we wake all
7600 threads up. Shut down pads on finalize, for safety.
7602 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
7603 * gst/base/gstbasetransform.c: (gst_base_transform_init),
7604 (gst_base_transform_handle_buffer),
7605 (gst_base_transform_change_state):
7606 Handle PAUSED->READY->PAUSED transition after negotiation
7608 * gst/gstmessage.c: (gst_message_init):
7609 Extra piece of debug for new messages.
7611 2005-08-01 Stefan Kost <ensonic@users.sf.net>
7614 * docs/gst/tmpl/gstbasesrc.sgml:
7615 * docs/gst/tmpl/gstelement.sgml:
7616 * docs/gst/tmpl/gstevent.sgml:
7617 * docs/gst/tmpl/gstfakesrc.sgml:
7618 * docs/gst/tmpl/gstformat.sgml:
7619 * docs/gst/tmpl/gstghostpad.sgml:
7620 * docs/gst/tmpl/gstpad.sgml:
7621 * docs/gst/tmpl/gstquery.sgml:
7622 * docs/gst/tmpl/gststructure.sgml:
7623 * docs/gst/tmpl/gsttaglist.sgml:
7624 * docs/gst/tmpl/gstvalue.sgml:
7625 * docs/libs/gstreamer-libs-docs.sgml:
7626 * docs/libs/gstreamer-libs-sections.txt:
7627 * docs/libs/gstreamer-libs.types:
7628 * libs/gst/Makefile.am:
7629 * libs/gst/control/.cvsignore:
7630 * libs/gst/control/Makefile.am:
7631 * libs/gst/control/control.c:
7632 * libs/gst/control/control.h:
7633 * libs/gst/control/dparam.c:
7634 * libs/gst/control/dparam.h:
7635 * libs/gst/control/dparam_smooth.c:
7636 * libs/gst/control/dparam_smooth.h:
7637 * libs/gst/control/dparamcommon.h:
7638 * libs/gst/control/dparammanager.c:
7639 * libs/gst/control/dparammanager.h:
7640 * libs/gst/control/dplinearinterp.c:
7641 * libs/gst/control/dplinearinterp.h:
7642 * libs/gst/control/unitconvert.c:
7643 * libs/gst/control/unitconvert.h:
7644 * testsuite/Makefile.am:
7645 * testsuite/dynparams/.cvsignore:
7646 * testsuite/dynparams/Makefile.am:
7647 * testsuite/dynparams/dparamstest.c:
7648 * tools/Makefile.am:
7649 * tools/gst-inspect.c: (print_element_info), (main):
7650 * tools/gst-xmlinspect.c: (print_element_info), (main):
7651 deactivate and remove dparams (libgstcontrol)
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), (gst_type_find_element_init),
7657 (stop_typefinding), (gst_type_find_element_handle_event),
7658 (gst_type_find_element_chain), (gst_type_find_element_getrange):
7659 * gst/elements/gsttypefindelement.h:
7660 Set caps on all outgoing buffers, not just the first one.
7662 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
7664 * gst/elements/gsttypefindelement.c:
7665 (gst_type_find_element_have_type),
7666 (gst_type_find_element_check_set_buffer_caps),
7667 (gst_type_find_element_init), (stop_typefinding),
7668 (gst_type_find_element_handle_event),
7669 (gst_type_find_element_chain), (gst_type_find_element_getrange):
7670 * gst/elements/gsttypefindelement.h:
7671 Set caps on first outgoing buffer when we've found the type.
7673 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
7675 * docs/gst/gstreamer-docs.sgml:
7676 * docs/gst/gstreamer-sections.txt:
7677 * docs/gst/tmpl/gstscheduler.sgml:
7678 * docs/gst/tmpl/gstschedulerfactory.sgml:
7679 Remove some old cruft from docs.
7681 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
7684 Fix inline docs for GstPadLinkReturn.
7686 * gst/gststructure.c: (gst_structure_has_name):
7687 * gst/gststructure.h:
7688 * docs/gst/gstreamer-sections.txt:
7689 New API: gst_structure_has_name().
7691 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
7694 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
7695 and _LARGEFILE_SOURCE in config.h as required. Do not
7696 export those flags in our .pc files any longer (#142209).
7698 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
7700 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
7701 (gst_file_sink_do_seek), (gst_file_sink_event),
7702 (gst_file_sink_get_current_offset), (gst_file_sink_render):
7703 Redo seek/tell calls with large file support in mind; add some
7704 debugging messages; add log message that tells us when large
7705 file support is unavailable or not enabled for some reason.
7707 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
7708 Add log message that tells us when large file support
7709 is unavailable or not enabled for some reason.
7711 2005-07-29 Wim Taymans <wim@fluendo.com>
7713 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
7714 Added test for removing an element with ghostpad from a bin.
7715 Fixed test as current implementation does the right thing.
7717 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
7718 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
7719 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
7720 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
7721 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
7722 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
7723 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
7724 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7725 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
7726 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
7727 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
7728 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
7729 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7730 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
7731 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
7732 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
7733 * gst/gstghostpad.h:
7734 Clean up ghostpads, remove properties for internal stuff.
7737 Prepare for switching targets, not all use cases work yet.
7739 2005-07-29 Wim Taymans <wim@fluendo.com>
7741 * docs/design/part-gstghostpad.txt:
7744 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
7745 (gst_bin_remove_func):
7746 Unlinking pads while holding the bin LOCK is not a good
7749 * gst/gstpad.c: (gst_pad_class_init),
7750 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
7751 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
7752 No prob setting template after creating the pad.
7754 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
7756 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
7757 (gst_bus_peek), (gst_bus_source_dispatch),
7758 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
7759 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
7760 gst_bus_poll may be called from other threads. Handle
7761 this nicely by not making poll_data disappear off the
7762 stack once gst_bus_poll returns.
7763 gst_bus_peek now increments the refcount on the returned
7766 2005-07-29 Wim Taymans <wim@fluendo.com>
7768 * docs/design/part-gstghostpad.txt:
7769 Overview of current GhostPad datastructures and use
7770 cases for changing the target.
7772 2005-07-28 Wim Taymans <wim@fluendo.com>
7774 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7775 Added checks for hierarchy consistency whan adding linked
7778 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
7779 Added check to test element scheduling without bin/pipeline.
7781 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
7782 First add elements to bin, then link.
7784 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
7785 (gst_bin_remove_func):
7786 Unlink pads from elements added/removed from bin to maintain
7787 hierarchy consistency.
7789 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7791 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7792 (gst_base_transform_handle_buffer):
7793 * gst/base/gstbasetransform.h:
7794 Remove broken delay_configure (fixes renegotiation of software
7795 scaling pipelines); remove some leftover printf()s.
7797 2005-07-28 Wim Taymans <wim@fluendo.com>
7799 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
7800 Added some more tests for wrong hierarchy
7802 * docs/design/part-overview.txt:
7805 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
7808 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
7809 (gst_element_dispose):
7812 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
7813 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
7814 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7815 (gst_pad_set_caps), (gst_pad_send_event):
7816 Check for correct hierarchy when linking pads. Moving to
7817 strict requirement for ghostpads when linking elements in
7821 Clean ups. Added WRONG_HIERARCHY return value.
7823 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7825 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
7826 Better debug if no transform is possible.
7828 2005-07-27 Wim Taymans <wim@fluendo.com>
7830 * docs/random/wtay/network-transp:
7833 2005-07-27 Wim Taymans <wim@fluendo.com>
7835 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7836 (gst_dp_event_from_packet):
7837 Fix serialization of seek events.
7839 2005-07-27 Wim Taymans <wim@fluendo.com>
7841 * check/gst-libs/gdp.c: (GST_START_TEST):
7842 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
7843 Fix compilation and fix event serialization.
7845 2005-07-27 Wim Taymans <wim@fluendo.com>
7848 * docs/design/part-TODO.txt:
7849 * docs/design/part-events.txt:
7852 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7853 (gst_base_sink_event), (gst_base_sink_do_sync),
7854 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
7855 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7856 (gst_base_src_do_seek), (gst_base_src_event_handler),
7857 (gst_base_src_loop):
7858 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7859 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7860 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7861 (gst_base_transform_event), (gst_base_transform_handle_buffer),
7862 (gst_base_transform_set_passthrough),
7863 (gst_base_transform_is_passthrough):
7864 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
7865 * gst/elements/gstfilesink.c: (gst_file_sink_event):
7871 * gst/gstelement.c: (gst_element_seek):
7873 Update gst_element_seek.
7875 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
7876 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
7877 (gst_event_new_flush_start), (gst_event_new_flush_stop),
7878 (gst_event_new_eos), (gst_event_new_newsegment),
7879 (gst_event_parse_newsegment), (gst_event_new_tag),
7880 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
7881 (gst_event_parse_qos), (gst_event_new_seek),
7882 (gst_event_parse_seek), (gst_event_new_navigation):
7884 Make GstEvent use GstStructure. Add parsing code, make sure the
7885 API is sufficiently generic.
7886 Mark possible directions of events and serialization.
7888 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
7889 (_gst_message_copy), (gst_message_new_segment_start),
7890 (gst_message_new_segment_done), (gst_message_new_custom),
7891 (gst_message_parse_segment_start),
7892 (gst_message_parse_segment_done):
7895 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7896 (gst_pad_set_caps), (gst_pad_send_event):
7897 Update for new events.
7898 Catch events sent in wrong directions.
7900 * gst/gstqueue.c: (gst_queue_link_src),
7901 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
7902 (gst_queue_handle_src_query):
7907 Remove event code from this file.
7909 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7910 (gst_dp_event_from_packet):
7913 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7915 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
7916 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7917 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
7918 Make debugging actually useful.
7920 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7922 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
7923 (gst_pad_fixate_caps):
7924 Implement default fixation once again, so that gst_pad_fixate()
7925 actually does anything at all. This probably needs to be some
7926 sort of a last resort, and use profile-based fixation first, but
7927 since that doesn't exist yet, this is the best we have. Fixes
7928 visualization in Totem.
7930 2005-07-22 Wim Taymans <wim@fluendo.com>
7932 * docs/design/part-events.txt:
7935 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7936 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
7937 (gst_base_sink_activate_pull):
7940 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
7941 (gst_fake_src_create):
7942 Fix handoff marshall.
7944 * gst/elements/gstidentity.c: (gst_identity_class_init),
7945 (gst_identity_transform_ip):
7946 We're a real inplace element.
7948 * gst/gstbus.c: (gst_bus_post):
7949 Added some comments.
7951 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
7952 * tests/muxing/case1.c: (main):
7953 * tests/sched/dynamic-pipeline.c: (main):
7954 * tests/sched/interrupt1.c: (main):
7955 * tests/sched/interrupt2.c: (main):
7956 * tests/sched/interrupt3.c: (main):
7957 * tests/sched/runxml.c: (main):
7958 * tests/sched/sched-stress.c: (main):
7959 * tests/seeking/seeking1.c: (event_received), (main):
7960 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
7962 * tests/threadstate/threadstate3.c: (main):
7963 * tests/threadstate/threadstate4.c: (main):
7964 * tests/threadstate/threadstate5.c: (main):
7967 2005-07-21 Wim Taymans <wim@fluendo.com>
7969 * docs/design/part-seeking.txt:
7970 Some small additions.
7972 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7973 (gst_base_sink_get_times), (gst_base_sink_do_sync),
7974 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
7975 * gst/base/gstbasesink.h:
7976 discont values are gint64, handle the math correctly.
7978 * gst/base/gstbasesrc.c: (gst_base_src_loop):
7979 Make the basesrc report error if the source pad is not linked.
7981 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
7982 (gst_queue_loop), (gst_queue_handle_src_query),
7983 (gst_queue_src_activate_push):
7984 Make queue collect data even if the srcpad is not linked.
7985 Start pushing out data as soon as it is linked.
7987 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
7989 Added gst_flow_get_name() to ease error reporting.
7991 2005-07-20 Wim Taymans <wim@fluendo.com>
7993 * gst/gstmessage.c: (gst_message_new_segment_start),
7994 (gst_message_new_segment_done), (gst_message_parse_segment_start),
7995 (gst_message_parse_segment_done):
7997 Added a bunch of messages for advanced seeking.
7999 * gst/parse/grammar.y:
8000 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
8001 (gst_dpman_state_changed):
8002 Fix some new-pad -> pad-added signals
8004 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8006 * docs/manual/appendix-porting.xml:
8007 * docs/pwg/appendix-porting.xml:
8008 Document new-pad/state-change signal renames and the FixedList
8011 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8013 * docs/manual/advanced-autoplugging.xml:
8014 * docs/manual/basics-helloworld.xml:
8015 * docs/manual/basics-pads.xml:
8016 * docs/random/ds/0.9-suggested-changes:
8017 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
8022 * gst/gststructure.c: (gst_structure_value_get_generic_type),
8023 (gst_structure_parse_array), (gst_structure_parse_value):
8024 * gst/gstvalue.c: (gst_type_is_fixed),
8025 (gst_value_list_prepend_value), (gst_value_list_append_value),
8026 (gst_value_list_get_size), (gst_value_list_get_value),
8027 (gst_value_transform_array_string), (gst_value_serialize_array),
8028 (gst_value_deserialize_array), (gst_value_intersect_array),
8029 (gst_value_is_fixed), (_gst_value_initialize):
8031 GstElement::new-pad -> pad-added, GstElement::state-change ->
8032 state-changed, GstValueFixedList -> GstValueArray, add format and
8033 flags as their own arguments in gst_element_seek() (should improve
8034 "bindeability"), remove function generators since they don't work
8035 under a whole bunch of compilers (they were deprecated already
8038 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8040 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
8041 (_gst_debug_register_funcptr):
8043 Fix illegal cast on some platforms (#309253).
8045 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8047 * gst/gstmessage.c: (gst_message_new_custom):
8049 Add _new_custom, make _new_application a macro to _new_custom.
8051 2005-07-20 Wim Taymans <wim@fluendo.com>
8053 * gst/base/gstbasesrc.c: (gst_base_src_init),
8054 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
8055 * gst/base/gstbasesrc.h:
8056 Add a gboolean to decide when to push out a discont.
8058 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8059 (gst_queue_loop), (gst_queue_handle_src_query),
8060 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
8061 (gst_queue_set_property), (gst_queue_get_property):
8064 * tests/threadstate/threadstate1.c: (main):
8065 Make a thread test compile and run... very silly..
8068 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8070 * docs/manual/appendix-porting.xml:
8071 Mention removal of libgstgconf-0.9.la and existence of gconf
8074 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8076 * docs/pwg/advanced-clock.xml:
8077 * docs/pwg/appendix-porting.xml:
8078 * docs/pwg/intro-preface.xml:
8079 * docs/pwg/other-base.xml:
8080 * docs/pwg/other-manager.xml:
8081 * docs/pwg/other-nton.xml:
8082 * docs/pwg/other-ntoone.xml:
8083 * docs/pwg/other-oneton.xml:
8085 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
8086 demuxer), remove n-to-n (was never written), fix some code examples
8087 and links and update the porting section to include all this.
8089 2005-07-19 Wim Taymans <wim@fluendo.com>
8091 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
8092 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
8093 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
8094 (gst_queue_src_activate_push), (gst_queue_change_state),
8095 (gst_queue_get_property):
8097 Propagate GstFlowReturn more intelligently upstream and output
8098 an ERROR/EOS when streaming stopped due to fatal error.
8100 2005-07-19 Wim Taymans <wim@fluendo.com>
8102 * tools/gst-launch.c: (check_intr), (event_loop), (main):
8103 Don't block forever for the state change to complete, the
8104 pipeline already did with a sensible timeout.
8106 2005-07-19 Wim Taymans <wim@fluendo.com>
8108 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
8109 Make sure we never call the create function is we
8112 2005-07-19 Andy Wingo <wingo@pobox.com>
8114 * gst/parse/parse.l: Attempt to solve bug #172815.
8116 2005-07-19 Wim Taymans <wim@fluendo.com>
8118 * docs/design/part-clocks.txt:
8119 * docs/design/part-events.txt:
8120 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
8122 Only update the seeking values when we are not
8125 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
8127 * gst/base/gstbasesrc.c: (gst_base_src_loop):
8128 Oops, ignore the result of gst_pad_push_event here.
8130 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
8132 * gst/base/gstbasesrc.c: (gst_base_src_loop),
8133 (gst_base_src_activate_push):
8134 Send discont event from the loop function, as pads
8135 aren't activated yet in the activate_push handler.
8137 * gst/gstbin.c: (bin_bus_handler):
8138 Don't leak element name.
8140 2005-07-18 Andy Wingo <wingo@pobox.com>
8142 * configure.ac: Use AS_LIBTOOL_TAGS.
8144 2005-07-18 Wim Taymans <wim@fluendo.com>
8146 * docs/gst/gstreamer.types:
8147 Remove deleted types.
8149 2005-07-18 Wim Taymans <wim@fluendo.com>
8151 * check/elements/gstfakesrc.c: (GST_START_TEST):
8154 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
8155 (init_popt_callback):
8157 * gst/gst_private.h:
8158 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
8159 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
8162 * gst/gstconfig.h.in:
8163 * gst/gstelement.c: (gst_element_class_init),
8164 (gst_element_set_base_time), (gst_element_get_base_time),
8165 (iterator_fold_with_resync), (gst_element_change_state),
8166 (gst_element_dispose), (gst_element_get_bus):
8168 * gst/gstelementfactory.h:
8169 * gst/gsterror.c: (_gst_core_errors_init):
8172 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
8174 * gst/gstinfo.c: (_gst_debug_init):
8175 * gst/gstmessage.c: (_gst_message_copy):
8177 * gst/gstminiobject.h:
8180 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8181 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
8184 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
8185 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
8186 (gst_pipeline_get_last_stream_time):
8187 * gst/gstpipeline.h:
8188 * gst/gstpluginfeature.h:
8190 * gst/gstscheduler.c:
8191 * gst/gstscheduler.h:
8192 * gst/gststructure.h:
8193 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
8194 (gst_task_finalize), (gst_task_func), (gst_task_create),
8195 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
8196 (gst_task_stop), (gst_task_pause):
8198 * gst/gsttypefind.h:
8200 * gst/registries/gstlibxmlregistry.c: (load_feature),
8201 (gst_xml_registry_load), (gst_xml_registry_save_feature):
8202 * gst/registries/gstxmlregistry.c:
8203 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
8204 * gst/schedulers/threadscheduler.c:
8205 * libs/gst/control/dparammanager.h:
8206 * tools/gst-inspect.c: (print_element_list),
8207 (print_plugin_features), (print_element_features):
8208 * tools/gst-xmlinspect.c: (print_element_list),
8209 (print_plugin_info), (main):
8210 Removed plugable schedulers.
8211 Removed Scheduler/Manager from elements.
8212 Removed gsttypes.h, rearranged includes.
8213 Removed dependency pad<->element, element<>pipeline, and
8214 various others, fix includes.
8215 implement gst_pad_get_parent() with gst_object_get_parent()
8216 Make GstTask sefcontained.
8217 Fix _get_state() on GstBin, it did not return ASYNC with a 0
8219 Fix endless loop in iterator_fold_with_resync.
8222 2005-07-18 Wim Taymans <wim@fluendo.com>
8228 2005-07-18 Wim Taymans <wim@fluendo.com>
8233 2005-07-18 Wim Taymans <wim@fluendo.com>
8239 2005-07-18 Wim Taymans <wim@fluendo.com>
8241 * docs/design/part-dynamic.txt:
8242 * docs/design/part-events.txt:
8243 * docs/design/part-seeking.txt:
8244 Some more docs in the works.
8246 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8247 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
8248 (gst_base_transform_setcaps), (gst_base_transform_get_size),
8249 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
8250 (gst_base_transform_handle_buffer),
8251 (gst_base_transform_sink_activate_push),
8252 (gst_base_transform_src_activate_pull),
8253 (gst_base_transform_set_passthrough),
8254 (gst_base_transform_is_passthrough):
8257 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
8260 * gst/gstevent.c: (gst_event_finalize):
8263 * gst/gstutils.c: (gst_element_unlink),
8264 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
8265 (gst_pad_proxy_setcaps):
8267 Add _get_parent_element() to get a pads parent as an element.
8269 2005-07-18 Wim Taymans <wim@fluendo.com>
8271 * check/gst/gstbin.c: (GST_START_TEST):
8274 2005-07-18 Wim Taymans <wim@fluendo.com>
8276 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
8277 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
8278 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
8279 (gst_base_sink_event), (gst_base_sink_do_sync),
8280 (gst_base_sink_chain), (gst_base_sink_loop),
8281 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
8282 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
8284 Fix logic for returning ASYNC when not prerolled.
8286 2005-07-18 Wim Taymans <wim@fluendo.com>
8288 * gst/gstqueue.c: (gst_queue_handle_sink_event):
8289 Fix nasty refcount bug.
8291 2005-07-16 Philippe Khalaf <burger@speedy.org>
8293 * gst/elements/gstfdsrc.c:
8294 * gst/elements/gstfdsrc.h:
8295 * gst/elements/gstelements.c:
8296 * gst/elements/Makefile.am:
8297 Ported fdsrc to 0.9.
8299 2005-07-16 Wim Taymans <wim@fluendo.com>
8301 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8302 (gst_base_sink_do_sync):
8305 2005-07-16 Wim Taymans <wim@fluendo.com>
8307 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8308 (gst_base_sink_event), (gst_base_sink_get_times),
8309 (gst_base_sink_do_sync), (gst_base_sink_change_state):
8310 * gst/base/gstbasesink.h:
8311 Store and use discont values when syncing buffers as described
8314 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8315 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
8316 (gst_base_src_activate_push):
8317 Push discont event when starting.
8319 * gst/elements/gstidentity.c: (gst_identity_transform):
8322 * gst/gstbin.c: (gst_bin_change_state):
8323 Small cleanups in base_time distribution.
8325 * gst/gstelement.c: (gst_element_set_base_time),
8326 (gst_element_get_base_time), (gst_element_change_state):
8328 Added methods for the base_time of the element.
8331 * gst/gstpipeline.c: (gst_pipeline_send_event),
8332 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
8333 (gst_pipeline_get_last_stream_time):
8334 * gst/gstpipeline.h:
8336 Handle seeking as described in design doc, remove stream_time
8338 Cleanups clock and stream_time selection code. Added accessors
8339 for the stream_time.
8342 2005-07-16 Andy Wingo <wingo@pobox.com>
8344 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
8347 2005-07-16 Wim Taymans <wim@fluendo.com>
8349 * check/gst/gstbin.c: (GST_START_TEST):
8350 Make elements silent as the deep_notify refs the
8351 parent, which might make the test fail.
8353 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
8354 Don't hold the lock for too long.
8356 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
8358 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
8359 Don't unref the caps we passed to gst_caps_make_writable() after
8360 passing them. gst_caps_make_writable() will do that for us.
8362 2005-07-15 Andy Wingo <wingo@pobox.com>
8364 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
8367 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
8368 own marshalling function for the handoff signal. Properly type the
8369 buffer as a buffer. Fixes some warnings. Should do a more general
8371 (gst_identity_class_init): Plug into the right marshaller.
8373 2005-07-15 Wim Taymans <wim@fluendo.com>
8375 * docs/design/part-TODO.txt:
8376 * docs/design/part-clocks.txt:
8377 * docs/design/part-element-sink.txt:
8378 * docs/design/part-events.txt:
8379 * docs/design/part-gstpipeline.txt:
8380 Updated docs, mostly DISCONT related.
8382 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
8384 * docs/pwg/building-pads.xml:
8385 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
8387 2005-07-15 Andy Wingo <wingo@pobox.com>
8389 * tools/gst-typefind.c: Update, add copyright block.
8391 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
8392 Normalize and truncate caps before fixation.
8395 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
8396 discards all but the first structure from its argument.
8398 2005-07-15 Wim Taymans <wim@fluendo.com>
8400 * gst/base/gstbasetransform.c: (gst_base_transform_init),
8401 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
8402 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8403 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8404 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
8405 (gst_base_transform_chain), (gst_base_transform_change_state),
8406 (gst_base_transform_set_passthrough),
8407 (gst_base_transform_is_passthrough):
8408 * gst/base/gstbasetransform.h:
8409 Make passthrough work using the bufferpools.
8410 Changed API a bit, subclasses have to write into a buffer
8411 provided by the base class.
8412 More debug info in nego functions.
8414 * gst/elements/gstidentity.c: (gst_identity_init),
8415 (gst_identity_transform):
8416 Port to new base class.
8418 2005-07-15 Wim Taymans <wim@fluendo.com>
8420 * gst/gstmessage.c: (gst_message_new_state_changed):
8421 * tools/gst-launch.c: (event_loop), (main):
8422 Totally dump messages in -launch with the -m option.
8423 Fix message name for State messages,
8425 2005-07-14 Wim Taymans <wim@fluendo.com>
8427 * gst/base/gstbasesrc.c: (gst_base_src_loop):
8428 Post error messages on errors.
8430 2005-07-14 Wim Taymans <wim@fluendo.com>
8432 * gst/gstcaps.c: (gst_caps_do_simplify):
8436 Define error for stream stopped.
8438 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
8439 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
8440 Do proper return values.
8442 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8443 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
8444 (gst_pad_get_range):
8445 Better return values.
8448 Reorganise return values, add macro to check for fatal errors.
8450 * gst/gstqueue.c: (gst_queue_chain):
8451 Return proper GstFlowReturn values,
8453 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
8455 * docs/gst/gstreamer-sections.txt:
8456 * docs/gst/gstreamer.types:
8457 * docs/gst/tmpl/gst.sgml:
8458 * docs/gst/tmpl/gstbasesink.sgml:
8459 * docs/gst/tmpl/gstbasesrc.sgml:
8460 * docs/gst/tmpl/gstbasetransform.sgml:
8461 * docs/gst/tmpl/gstbin.sgml:
8462 * docs/gst/tmpl/gstbuffer.sgml:
8463 * docs/gst/tmpl/gstcaps.sgml:
8464 * docs/gst/tmpl/gstclock.sgml:
8465 * docs/gst/tmpl/gstcompat.sgml:
8466 * docs/gst/tmpl/gstconfig.sgml:
8467 * docs/gst/tmpl/gstelement.sgml:
8468 * docs/gst/tmpl/gstelementdetails.sgml:
8469 * docs/gst/tmpl/gstelementfactory.sgml:
8470 * docs/gst/tmpl/gstenumtypes.sgml:
8471 * docs/gst/tmpl/gsterror.sgml:
8472 * docs/gst/tmpl/gstevent.sgml:
8473 * docs/gst/tmpl/gstfakesink.sgml:
8474 * docs/gst/tmpl/gstfakesrc.sgml:
8475 * docs/gst/tmpl/gstfilesink.sgml:
8476 * docs/gst/tmpl/gstfilesrc.sgml:
8477 * docs/gst/tmpl/gstfilter.sgml:
8478 * docs/gst/tmpl/gstformat.sgml:
8479 * docs/gst/tmpl/gstghostpad.sgml:
8480 * docs/gst/tmpl/gstimplementsinterface.sgml:
8481 * docs/gst/tmpl/gstindex.sgml:
8482 * docs/gst/tmpl/gstindexfactory.sgml:
8483 * docs/gst/tmpl/gstinfo.sgml:
8484 * docs/gst/tmpl/gstiterator.sgml:
8485 * docs/gst/tmpl/gstmacros.sgml:
8486 * docs/gst/tmpl/gstmemchunk.sgml:
8487 * docs/gst/tmpl/gstminiobject.sgml:
8488 * docs/gst/tmpl/gstobject.sgml:
8489 * docs/gst/tmpl/gstpad.sgml:
8490 * docs/gst/tmpl/gstpadtemplate.sgml:
8491 * docs/gst/tmpl/gstparse.sgml:
8492 * docs/gst/tmpl/gstpipeline.sgml:
8493 * docs/gst/tmpl/gstplugin.sgml:
8494 * docs/gst/tmpl/gstpluginfeature.sgml:
8495 * docs/gst/tmpl/gstquery.sgml:
8496 * docs/gst/tmpl/gstqueue.sgml:
8497 * docs/gst/tmpl/gstregistry.sgml:
8498 * docs/gst/tmpl/gstregistrypool.sgml:
8499 * docs/gst/tmpl/gstscheduler.sgml:
8500 * docs/gst/tmpl/gstschedulerfactory.sgml:
8501 * docs/gst/tmpl/gststructure.sgml:
8502 * docs/gst/tmpl/gstsystemclock.sgml:
8503 * docs/gst/tmpl/gsttaglist.sgml:
8504 * docs/gst/tmpl/gsttagsetter.sgml:
8505 * docs/gst/tmpl/gsttrace.sgml:
8506 * docs/gst/tmpl/gsttrashstack.sgml:
8507 * docs/gst/tmpl/gsttypefind.sgml:
8508 * docs/gst/tmpl/gsttypefindfactory.sgml:
8509 * docs/gst/tmpl/gsttypes.sgml:
8510 * docs/gst/tmpl/gsturihandler.sgml:
8511 * docs/gst/tmpl/gsturitype.sgml:
8512 * docs/gst/tmpl/gstutils.sgml:
8513 * docs/gst/tmpl/gstvalue.sgml:
8514 * docs/gst/tmpl/gstversion.sgml:
8515 * docs/gst/tmpl/gstxml.sgml:
8516 * docs/libs/tmpl/gstcontrol.sgml:
8517 * docs/libs/tmpl/gstdataprotocol.sgml:
8518 * docs/libs/tmpl/gstdparam.sgml:
8519 * docs/libs/tmpl/gstdplinint.sgml:
8520 * docs/libs/tmpl/gstdpman.sgml:
8521 * docs/libs/tmpl/gstdpsmooth.sgml:
8522 * docs/libs/tmpl/gstgetbits.sgml:
8523 * docs/libs/tmpl/gstunitconvert.sgml:
8524 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
8525 (gst_push_src_base_init), (gst_push_src_class_init),
8526 (gst_push_src_init), (gst_push_src_create):
8527 * gst/base/gstpushsrc.h:
8528 * gst/elements/gstelements.c:
8529 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
8530 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
8531 (gst_fake_sink_init), (gst_fake_sink_set_property),
8532 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
8533 (gst_fake_sink_event), (gst_fake_sink_preroll),
8534 (gst_fake_sink_render), (gst_fake_sink_change_state):
8535 * gst/elements/gstfakesink.h:
8536 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
8537 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
8538 (gst_fake_src_base_init), (gst_fake_src_class_init),
8539 (gst_fake_src_init), (gst_fake_src_event_handler),
8540 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
8541 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
8542 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
8543 (gst_fake_src_create_buffer), (gst_fake_src_create),
8544 (gst_fake_src_start), (gst_fake_src_stop):
8545 * gst/elements/gstfakesrc.h:
8546 * gst/elements/gstfilesink.c: (_do_init),
8547 (gst_file_sink_base_init), (gst_file_sink_class_init),
8548 (gst_file_sink_init), (gst_file_sink_dispose),
8549 (gst_file_sink_set_location), (gst_file_sink_set_property),
8550 (gst_file_sink_get_property), (gst_file_sink_open_file),
8551 (gst_file_sink_close_file), (gst_file_sink_query),
8552 (gst_file_sink_event), (gst_file_sink_render),
8553 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
8554 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
8555 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
8556 * gst/elements/gstfilesink.h:
8557 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
8558 (gst_file_src_class_init), (gst_file_src_init),
8559 (gst_file_src_finalize), (gst_file_src_set_location),
8560 (gst_file_src_set_property), (gst_file_src_get_property),
8561 (gst_file_src_map_region), (gst_file_src_map_small_region),
8562 (gst_file_src_create_mmap), (gst_file_src_create_read),
8563 (gst_file_src_create), (gst_file_src_is_seekable),
8564 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
8565 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
8566 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
8567 (gst_file_src_uri_handler_init):
8568 * gst/elements/gstfilesrc.h:
8569 more autistic cleanliness in functions/names/defines
8571 2005-07-13 Andy Wingo <wingo@pobox.com>
8573 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
8574 source couldn't negotiate.
8576 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
8580 * gst/gstutils.c (gst_element_link_pads_filtered): New old
8581 function. I am channeling Hades. Put your boots on suckers!!!
8583 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
8585 * testsuite/caps/Makefile.am:
8586 * testsuite/caps/value_compare.c:
8587 * testsuite/caps/value_intersect.c:
8588 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8589 move two testsuite apps over to the check dir
8591 2005-07-12 Wim Taymans <wim@fluendo.com>
8593 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8594 Added more debug info in the negotiate process.
8597 Prepare for segment playback.
8599 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
8605 * tools/gst-launch.c: (main):
8606 NULL pipeline on errors.
8608 2005-07-12 Andy Wingo <wingo@pobox.com>
8610 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
8611 not it comes from a malloc region. Make sure our copy gets freed.
8613 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
8615 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
8616 * check/gst/gstmessage.c: (GST_START_TEST):
8617 * check/gst/gststructure.c: (GST_START_TEST),
8618 (gst_structure_suite), (main):
8620 * gst/gstelement.c: (gst_element_message_full):
8621 clean up GError and debug string now that they get copied
8622 * gst/gstmessage.c: (gst_message_new_error),
8623 (gst_message_new_warning), (gst_message_parse_error),
8624 (gst_message_parse_warning):
8625 use GST_TYPE_G_ERROR for structure_new, and take copies of
8626 arguments, so that we don't mess up refcounting
8628 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
8630 * check/Makefile.am:
8631 add per-test valgrind targets
8632 * check/gst-libs/gdp.c: (GST_START_TEST),
8633 (gst_data_protocol_suite), (main):
8636 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
8638 * check/Makefile.am:
8639 instate more valgrindable tests
8640 * check/elements/gstfakesrc.c: (chain_func), (event_func),
8641 (GST_START_TEST), (fakesrc_suite):
8642 * check/gst/gstpad.c: (GST_START_TEST):
8643 * check/gst/gststructure.c: (GST_START_TEST):
8645 * docs/gst/tmpl/gstminiobject.sgml:
8646 * gst/gstpad.c: (gst_pad_finalize):
8647 fix the static mutex leak
8649 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
8651 * check/Makefile.am:
8652 add two more tests for valgrinding
8653 * check/gst/gstvalue.c: (GST_START_TEST):
8654 test refcount of deserialized buffer, found a leak
8655 * docs/gst/gstreamer-docs.sgml:
8656 * docs/gst/gstreamer-sections.txt:
8657 * docs/gst/gstreamer.types:
8658 * docs/gst/tmpl/gstminiobject.sgml:
8659 add miniobject to docs
8660 * gst/gstminiobject.c:
8662 * gst/gstvalue.c: (gst_value_deserialize_buffer),
8663 (gst_string_unwrap):
8664 fix a hard-to-find invalid write for one of the tests
8665 fix a leak for deserialized buffers
8667 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8669 * docs/pwg/advanced-events.xml:
8670 * docs/pwg/advanced-request.xml:
8671 * docs/pwg/advanced-scheduling.xml:
8672 * docs/pwg/appendix-porting.xml:
8673 * docs/pwg/building-boiler.xml:
8674 * docs/pwg/intro-preface.xml:
8675 * docs/pwg/other-ntoone.xml:
8676 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
8677 of example code and explanation for pad activation, loop() and
8678 getrange() functions and a bit more. Remove old comments pointing
8680 * examples/pwg/Makefile.am:
8681 Add loop/getrange examples.
8683 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
8686 check for valgrind binary + some fixes
8688 valgrind suppressions for the tests
8689 * check/Makefile.am:
8690 add a valgrind: target that valgrinds the unit tests
8691 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
8692 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
8693 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8694 * check/gst/gstghostpad.c:
8696 * check/gst/gstdata.c:
8698 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
8699 (thread_unref), (gst_mini_object_suite), (main):
8701 * gst/gst.c: (gst_deinit):
8703 add a method to clean up.
8704 * gst/gstsystemclock.c: (gst_system_clock_dispose),
8705 (gst_system_clock_obtain):
8706 allow for disposing the system clock.
8707 * tools/gst-launch.c: (main):
8710 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
8712 * docs/gst/tmpl/gstbasesrc.sgml:
8713 * docs/gst/tmpl/gstfakesrc.sgml:
8714 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8715 (gst_base_src_init), (gst_base_src_set_property),
8716 (gst_base_src_get_property), (gst_base_src_get_range),
8717 (gst_base_src_start):
8718 * gst/base/gstbasesrc.h:
8719 add num-buffers property
8720 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8721 (gst_fakesrc_init), (gst_fakesrc_set_property),
8722 (gst_fakesrc_get_property), (gst_fakesrc_create),
8723 (gst_fakesrc_start):
8724 remove num-buffers property
8726 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
8728 * docs/gst/gstreamer-sections.txt:
8729 * docs/gst/tmpl/gstbasesink.sgml:
8730 * docs/gst/tmpl/gstbasesrc.sgml:
8731 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
8732 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
8733 (gst_base_sink_finalize), (gst_base_sink_set_clock),
8734 (gst_base_sink_set_property), (gst_base_sink_get_property),
8735 (gst_base_sink_handle_object), (gst_base_sink_event),
8736 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
8737 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
8738 (gst_base_sink_loop), (gst_base_sink_deactivate),
8739 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
8740 (gst_base_sink_change_state):
8741 * gst/base/gstbasesink.h:
8742 * gst/base/gstbasesrc.h:
8743 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
8744 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
8745 (gst_filesink_init):
8746 more macro splitting
8748 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
8750 * gst/gstelement.c: (gst_element_get_bus):
8752 * tools/gst-launch.c: (check_intr), (event_loop):
8755 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
8757 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
8760 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
8762 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8763 (gst_base_src_finalize):
8764 add finalize method and clean up properly
8765 * gst/gstpipeline.c: (gst_pipeline_dispose):
8768 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
8770 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
8772 add more things to check
8773 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
8777 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
8779 * check/elements/gstfakesrc.c: (chain_func), (event_func),
8780 (GST_START_TEST), (fakesrc_suite):
8781 * check/gst-libs/gdp.c: (GST_START_TEST):
8782 * check/gst/gst.c: (GST_START_TEST):
8783 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8784 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8785 * check/gst/gstbus.c: (GST_START_TEST):
8786 * check/gst/gstcaps.c: (GST_START_TEST):
8787 * check/gst/gstdata.c: (GST_START_TEST):
8788 * check/gst/gstelement.c: (GST_START_TEST):
8789 * check/gst/gstghostpad.c: (GST_START_TEST):
8790 * check/gst/gstiterator.c: (GST_START_TEST):
8791 * check/gst/gstmessage.c: (GST_START_TEST):
8792 * check/gst/gstobject.c: (GST_START_TEST):
8793 * check/gst/gstpad.c: (GST_START_TEST):
8794 * check/gst/gststructure.c: (GST_START_TEST):
8795 * check/gst/gstsystemclock.c: (GST_START_TEST),
8796 (gst_systemclock_suite):
8797 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
8798 * check/gst/gstvalue.c: (GST_START_TEST):
8799 * check/pipelines/cleanup.c: (GST_START_TEST):
8800 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
8801 * check/states/sinks.c: (GST_START_TEST):
8802 * check/gstcheck.c: (gst_check_init):
8804 add debugging category
8805 use GST_START_TEST now, so we add a debug line
8807 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
8809 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
8810 add test for state change message on a bin
8811 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
8813 * gst/gstbin.c: (gst_bin_init):
8814 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
8815 * gst/gstelement.c: (gst_element_post_message),
8816 (gst_element_set_state):
8817 * gst/gstelementfactory.c: (gst_element_factory_create):
8818 * gst/gstmessage.c: (gst_message_new):
8819 * gst/gstscheduler.c:
8820 various debugging additions and cleanups
8822 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8824 * check/Makefile.am:
8825 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
8827 adding tests for elements
8828 * gst/gstelement.c: (gst_element_dispose):
8830 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8832 * gst/registries/gstlibxmlregistry.c: (load_feature):
8833 plug more leaks. A simple gst_init() now is leakfree, yay.
8835 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8837 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
8838 (gst_xml_registry_load):
8839 plug another memleak
8841 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8844 use GST_SET_ERROR_CFLAGS
8846 change to ERROR_CFLAGS
8848 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8851 make GST_ERROR_CFLAGS overridable and re-enable Werror
8853 add a note about error CFLAGS
8854 * docs/gst/tmpl/gstfakesrc.sgml:
8855 * gst/elements/gstfakesrc.c:
8856 comment out some unused code
8857 * gst/gst.c: (split_and_iterate):
8858 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
8862 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
8864 * common/Makefile.am:
8865 * common/gtk-doc.mak:
8866 * docs/gst/Makefile.am:
8867 factor out gtk-doc.mak
8869 2005-07-07 Wim Taymans <wim@fluendo.com>
8871 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
8872 (gst_thread_scheduler_dispose):
8873 Unlock the STREAM_LOCK completely.
8875 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
8877 * check/Makefile.am:
8878 * check/elements/.cvsignore:
8879 * check/elements/gstfakesrc.c: (chain_func), (event_func),
8880 (START_TEST), (fakesrc_suite), (main):
8881 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8882 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
8883 (gst_fakesrc_create), (gst_fakesrc_start):
8884 * gst/elements/gstfakesrc.h:
8885 adding a first element test
8887 2005-07-07 Andy Wingo <wingo@pobox.com>
8889 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
8892 2005-07-07 Wim Taymans <wim@fluendo.com>
8898 2005-07-07 Wim Taymans <wim@fluendo.com>
8900 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
8901 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
8902 Allow subclasses to implement their own negotiation.
8904 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
8906 * docs/design/part-gstbin.txt:
8907 * docs/design/part-gstpipeline.txt:
8908 Update design notes to reflect the movement of
8909 responsibility for bus handling from GstPipeline to
8912 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
8915 Remove unnecessary queue2/3/4 examples.
8917 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
8919 * examples/Makefile.am:
8920 * examples/helloworld/helloworld.c: (event_loop), (main):
8921 * examples/queue/queue.c: (event_loop), (main):
8922 * examples/queue2/queue2.c: (main):
8923 Update a couple of the examples to work again.
8925 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8926 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
8927 Spelling corrections and extra debug.
8929 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
8930 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
8931 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
8933 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
8934 (gst_pipeline_change_state):
8935 * gst/gstpipeline.h:
8936 Move the bus handler for children to the GstBin, and create a
8937 separate bus for receiving messages from children to the one the
8938 bus sends 'upwards' on.
8940 2005-07-06 Wim Taymans <wim@fluendo.com>
8943 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8944 (gst_base_sink_handle_object), (gst_base_sink_loop),
8945 (gst_base_sink_change_state):
8946 * gst/base/gstbasesink.h:
8947 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8948 (gst_base_src_init), (gst_base_src_setcaps),
8949 (gst_base_src_getcaps), (gst_base_src_loop),
8950 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
8951 (gst_base_src_start), (gst_base_src_change_state):
8952 * gst/base/gstbasesrc.h:
8953 Make basesrc negotiate.
8954 Handle the case where preroll fails in basesink.
8957 2005-07-06 Wim Taymans <wim@fluendo.com>
8959 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
8960 Implement the fixate function.
8961 Clean up acceptcaps.
8963 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8965 * docs/pwg/building-filterfactory.xml:
8967 Remove never-written filter-factory chapter; I'll add the various
8968 base classes to part 4 ("other element types") later on.
8970 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8972 * docs/pwg/advanced-negotiation.xml:
8973 * docs/pwg/building-boiler.xml:
8974 * docs/pwg/building-pads.xml:
8976 * examples/pwg/Makefile.am:
8977 Add a chapter on caps negotiation, simplify the original code
8978 samples a bit w.r.t. caps negotiation, add link to the advanced
8979 section. Add a bunch of examples showing different use cases of
8980 different types of caps negotiation. Upstream renegotiation isn't
8981 fully documented yet since nobody knows how that works.
8983 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
8985 * check/gst/gstpad.c:
8987 * gst/gstpad.c: (gst_pad_get_internal_links_default):
8988 if pad has no parent, return NULL as list of internal links
8990 2005-07-05 Andy Wingo <wingo@pobox.com>
8992 * gst/elements/gstfilesrc.c:
8993 * gst/elements/gstfakesrc.c:
8994 * gst/base/gstpushsrc.c:
8995 * gst/base/gstbasesrc.h:
8996 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
8998 2005-07-05 Stefan Kost <ensonic@users.sf.net>
9001 better report generation target (lcov needs a patch)
9003 2005-07-05 Andy Wingo <wingo@pobox.com>
9005 * gst/elements, testsuite: Null if we got it...
9007 2005-07-05 Wim Taymans <wim@fluendo.com>
9010 * libs/gst/dataprotocol/Makefile.am:
9011 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
9012 * libs/gst/dataprotocol/dataprotocol.h:
9013 * pkgconfig/Makefile.am:
9014 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
9015 * pkgconfig/gstreamer-dataprotocol.pc.in:
9016 Ported dataprotol to 0.9.
9017 Added pkgconfig files.
9019 2005-07-05 Andy Wingo <wingo@pobox.com>
9021 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
9022 Default to returning TRUE for the case when tranform_caps returns
9023 a fixed caps, like for identity or volume.
9025 * check/gst/gstbus.c (pound_bus_with_messages):
9026 * check/gst/gstmessage.c (START_TEST):
9027 * check/pipelines/simple_launch_lines.c (got_handoff): Application
9030 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
9031 logic weaks here: always run transform_caps, trying passthrough
9032 operation only if the original caps intersects with the transform.
9034 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
9035 source and sink caps.
9037 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
9038 Intersect the peer caps with the pad template before going into
9040 (gst_base_transform_transform_caps): More debugging.
9042 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
9045 2005-07-04 Edward Hervey <edward@fluendo.com>
9049 (gst_pad_add_*_probe): now returns the signal id for better wrapping
9052 2005-07-04 Andy Wingo <wingo@pobox.com>
9054 * check/gst/gstpad.c: Only set explicit caps on pads.
9056 2005-07-01 Andy Wingo <wingo@pobox.com>
9058 * tests/network-clock.scm: Commentary update.
9060 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
9061 Didn't really make sense, not implementable with basetransform,
9063 (gst_identity_transform): Unref inbuf via make_writable. Feeble
9064 attempt at implementing the sync property, needs an unlock method.
9066 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
9067 New func, by default returns the same caps (the identity
9069 (gst_base_transform_getcaps): Uses transform_caps to return
9071 (gst_base_transform_setcaps): Complicated logic to get caps on
9072 both pads, even if they are different, and to call set_caps once
9073 for every time both pads get their caps set.
9074 (gst_base_transform_handle_buffer): Give the ref to the transform
9075 function. Allows in-place modification of the buffer.
9077 * gst/base/gstbasetransform.h (transform_caps): New class method.
9078 Given caps on one side, what can I do on the other.
9079 (set_caps): Take two caps, one for each side of the element.
9082 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
9083 caps in place. This is safe because we can check the mutability of
9084 the caps, and a good idea because fixate functions are just called
9085 as a matter of last resort. (Not actually implemented.)
9086 (gst_pad_set_caps): If the caps we're setting is actually the same
9087 as the existing pad caps, just update the pointer without calling
9088 setcaps. Assert that caps is either NULL or fixed, as per the
9091 * gst/gstghostpad.c: Update for fixate changes.
9093 2005-07-02 Andy Wingo <wingo@pobox.com>
9096 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
9097 two refcounts makes it immutable, which is enough. Doc more.
9099 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
9101 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
9102 Put the mini_object into GValue as a mini_object,
9103 not a gpointer, since that's how we declared
9106 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9108 * examples/pwg/Makefile.am:
9111 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9113 * docs/pwg/building-testapp.xml:
9115 * examples/pwg/Makefile.am:
9118 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9121 * examples/Makefile.am:
9122 * examples/pwg/Makefile.am:
9123 * examples/pwg/extract.pl:
9124 Enable building the PWG examples.
9125 * docs/pwg/advanced-interfaces.xml:
9126 Add URI interface stub.
9127 * docs/pwg/advanced-types.xml:
9128 * docs/pwg/other-autoplugger.xml:
9129 * docs/pwg/appendix-porting.xml:
9131 Add porting guide (mostly stubs), remove autoplugging (see ADM).
9132 * docs/pwg/building-boiler.xml:
9133 * docs/pwg/building-chainfn.xml:
9134 * docs/pwg/building-pads.xml:
9135 * docs/pwg/building-props.xml:
9136 * docs/pwg/building-state.xml:
9137 * docs/pwg/building-testapp.xml:
9138 Update the building-*.xml parts for 0.9 changes. All examples
9139 code blocks compile in examples/pwg/*.
9141 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9143 * docs/manual/advanced-autoplugging.xml:
9144 * docs/manual/appendix-checklist.xml:
9145 * docs/manual/appendix-integration.xml:
9146 * docs/manual/highlevel-components.xml:
9147 Fix playbin/decodebin examples, update docs a bit, mention bus
9148 instead of signals in various places, mention kmplayer and
9149 kaffeine since they have a working GStreamer backend in the KDE
9152 2005-06-30 Wim Taymans <wim@fluendo.com>
9155 * docs/design/draft-ghostpads.txt:
9156 * docs/design/draft-push-pull.txt:
9157 * docs/design/draft-query.txt:
9158 * docs/design/part-TODO.txt:
9159 * docs/design/part-query.txt:
9160 Added CHANGES-0.9 doc, updated status of other docs.
9165 2005-06-30 Wim Taymans <wim@fluendo.com>
9167 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9168 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
9169 (gst_base_sink_change_state):
9170 * gst/base/gstbasesink.h:
9171 Some tweaks, only EOS and a buffer complete a preroll.
9173 2005-06-30 Andy Wingo <wingo@pobox.com>
9175 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
9176 activate_push down to the internal pad as well.
9178 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
9180 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9182 * gst/gsttaginterface.c:
9183 Some documentation fixes (#307394 and #307397).
9185 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
9187 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9189 * gst/gstvalue.c: (gst_value_intersect_list):
9190 Fix memleak (#309125).
9192 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9194 * docs/manual/advanced-dataaccess.xml:
9195 Fix fakesrc example to compile; doesn't work, bug somewhere...?
9196 * docs/manual/basics-pads.xml:
9197 Add reference for filtered caps to above chapter.
9199 2005-06-30 Wim Taymans <wim@fluendo.com>
9201 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
9202 (gst_bin_change_state):
9204 Lame attempt at making the state change function a bit
9207 2005-06-30 Wim Taymans <wim@fluendo.com>
9209 * docs/design/part-clocks.txt:
9210 * docs/design/part-element-sink.txt:
9211 * docs/design/part-events.txt:
9212 * docs/design/part-preroll.txt:
9213 * docs/design/part-states.txt:
9214 Some more tweeks and additions to the docs.
9216 2005-06-30 Wim Taymans <wim@fluendo.com>
9218 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9219 (default_have_data), (gst_pad_class_init), (gst_pad_init),
9220 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
9221 (gst_pad_check_pull_range), (gst_pad_get_range),
9222 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
9224 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
9225 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9226 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9227 (gst_pad_remove_buffer_probe):
9228 Removed atomic operations, use existing LOCK.
9229 Move exception handling out of main code path.
9231 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9233 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9234 (silly_return_true_function), (gst_pad_class_init),
9235 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
9236 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
9237 (gst_pad_send_event):
9238 Fix accumulator, add default value by using _emitv() instead
9239 of _emit() for signal emission.
9241 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9243 * docs/manual/advanced-dataaccess.xml:
9244 * examples/manual/Makefile.am:
9246 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
9249 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
9251 * gst/elements/gstfilesink.c: (gst_filesink_render):
9252 Simplify code so that we don't have to handle short
9253 writes and return GST_FLOW_ERROR if an error occured.
9255 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9257 * docs/gst/gstreamer-docs.sgml:
9260 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9262 * docs/gst/gstreamer-sections.txt:
9263 * docs/gst/tmpl/gstpad.sgml:
9264 * docs/gst/tmpl/gstprobe.sgml:
9266 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9267 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
9268 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
9269 (gst_pad_push_event), (gst_pad_send_event):
9271 * gst/gstutils.c: (gst_pad_add_data_probe),
9272 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9273 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9274 (gst_pad_remove_buffer_probe):
9276 Remove old probes, add new g-signal-based probes and some utility
9279 2005-06-29 Edward Hervey <edward@fluendo.com>
9281 * gst/gstelementfactory.c:
9284 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
9285 the definition to the header file.
9287 2005-06-29 Andy Wingo <wingo@pobox.com>
9289 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
9290 plugins from the source directory.
9292 2005-06-29 Wim Taymans <wim@fluendo.com>
9294 * docs/gst/tmpl/gstbuffer.sgml:
9295 * docs/gst/tmpl/gstclock.sgml:
9296 Some fixings for blantently wrong text.
9298 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
9300 * check/Makefile.am:
9301 * gst/gst.c: (add_path_func), (init_pre):
9302 * gst/gstregistry.c: (gst_registry_add_path):
9303 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
9304 only scan the GST_PLUGIN_PATH locations, and not add
9307 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
9309 * docs/gst/gstreamer-sections.txt:
9310 * docs/gst/tmpl/gstbasesrc.sgml:
9317 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9319 * docs/manual/advanced-autoplugging.xml:
9320 Fix autoplugging example.
9322 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9324 * docs/manual/advanced-autoplugging.xml:
9325 * docs/manual/mime-world.fig:
9326 Try to get autoplugging working, fix type detection. Fix text
9327 in hello-world image.
9329 2005-06-29 Wim Taymans <wim@fluendo.com>
9331 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9332 (gst_base_sink_change_state):
9336 map SIGNAL and BROADCAST to the right function.
9339 Remove redundant braces.
9341 * gst/gstpad.c: (gst_pad_set_caps):
9342 Don't call setcaps function when reseting caps to NULL.
9344 * gst/gstsystemclock.c: (gst_system_clock_dispose),
9345 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
9346 (gst_system_clock_id_unschedule):
9347 Use BROADCAST as this is what we do.
9349 2005-06-29 Wim Taymans <wim@fluendo.com>
9351 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9352 We are actually prerolling before commiting the state
9355 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9357 * docs/manual/advanced-clocks.xml:
9358 * docs/manual/advanced-interfaces.xml:
9359 * docs/manual/advanced-metadata.xml:
9360 * docs/manual/advanced-position.xml:
9361 * docs/manual/advanced-schedulers.xml:
9362 * docs/manual/advanced-threads.xml:
9363 * docs/manual/appendix-porting.xml:
9364 * docs/manual/basics-bins.xml:
9365 * docs/manual/basics-bus.xml:
9366 * docs/manual/basics-elements.xml:
9367 * docs/manual/basics-helloworld.xml:
9368 * docs/manual/basics-pads.xml:
9369 * docs/manual/highlevel-components.xml:
9370 * docs/manual/manual.xml:
9371 * docs/manual/thread.fig:
9372 Update (until threads/scheduling) Application Development Manual;
9373 remove GstThread, add GstBus, add simple porting checklist, add
9374 documentation for tag writing, clocks, make all examples until this
9375 part compile and run.
9376 * examples/manual/Makefile.am:
9377 Update from changes to Application Development Manual; add bus
9378 example, remove thread example.
9380 2005-06-28 Wim Taymans <wim@fluendo.com>
9382 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
9383 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
9384 (gst_bus_source_dispatch):
9385 Add debugging messages.
9386 Make internal methods static.
9387 Handle the case where the bus is flushed in the handler.
9389 * gst/gstelement.c: (gst_element_get_bus):
9390 Fix refcount in _get_bus();
9392 * gst/gstpipeline.c: (gst_pipeline_change_state),
9393 (gst_pipeline_get_clock_func):
9394 Clock refcounting fixes.
9395 Handle the case where preroll timed out more gracefully.
9397 * gst/gstsystemclock.c: (gst_system_clock_dispose):
9398 Clean up the internal thread in dispose. This is needed
9399 for subclasses that actually get disposed.
9401 * gst/schedulers/threadscheduler.c:
9402 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
9403 (gst_thread_scheduler_dispose):
9404 Free thread pool in dispose.
9406 2005-06-28 Andy Wingo <wingo@pobox.com>
9408 * tests/network-clock-utils.scm (debug, print-event): New utils.
9410 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
9411 (*packet-loss*): Unified loss probability.
9412 (network-time): Report out-of-band events.
9414 * tests/plot-data: Add support for out-of-band events. Hack it
9415 into this script instead of passing it down the pipe; should fix
9418 2005-06-28 Wim Taymans <wim@fluendo.com>
9420 * docs/gst/gstreamer.types:
9421 * docs/gst/tmpl/gstbasesrc.sgml:
9422 * docs/gst/tmpl/gstpad.sgml:
9425 2005-06-28 Wim Taymans <wim@fluendo.com>
9427 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9428 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
9429 (gst_proxy_pad_do_fixatecaps):
9430 Correctly proxy the check_pull_range function.
9432 2005-06-28 Andy Wingo <wingo@pobox.com>
9434 * tests/network-clock.scm: Removed need for slib.
9436 2005-06-28 Wim Taymans <wim@fluendo.com>
9438 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
9439 (gst_basesink_preroll_queue_flush):
9440 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
9441 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
9442 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9443 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
9444 (gst_proxy_pad_set_property):
9447 * gst/gstqueue.c: (gst_queue_init):
9448 The deprecated pad loop function is removed now.
9450 2005-06-28 Andy Wingo <wingo@pobox.com>
9452 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
9453 New parameters, simulate network packet loss.
9455 * tests/network-clock-utils.scm: Initialize the RNG.
9457 2005-06-28 Wim Taymans <wim@fluendo.com>
9459 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
9460 (gst_basesink_event), (gst_basesink_deactivate):
9461 Flushing the preroll queue always needs to unlock the waiters.
9463 2005-06-28 Edward Hervey <edward@fluendo.com>
9465 * gst/gstpipeline.c: (gst_pipeline_send_event):
9466 Wheen a seek was successful on a pipeline, set the stream_time to the
9467 seek offset in order to have a synchronized stream_time.
9469 2005-06-28 Wim Taymans <wim@fluendo.com>
9471 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9472 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
9473 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
9474 (gst_proxy_pad_do_fixatecaps):
9475 Call wrapper function instead of just calling the function
9476 pointers. This takes care of any locking and whatmore.
9478 2005-06-28 Wim Taymans <wim@fluendo.com>
9480 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
9481 (gst_pad_pull_range):
9483 CONNECTED -> LINKED.
9485 2005-06-28 Andy Wingo <wingo@pobox.com>
9487 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
9488 source-munging commit!!!
9490 * gst/gstobject.c (gst_object_unref, gst_object_ref)
9491 (gst_object_sink): Take gpointer arguments, not GstObject --
9492 avoids casts. Like GLib.
9494 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
9497 2005-06-27 Andy Wingo <wingo@pobox.com>
9499 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
9502 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
9503 returns a sorted copy of the trace list.
9504 (gst_alloc_trace_print_live): New API, only prints traces with
9505 live objects. Sort the list.
9506 (gst_alloc_trace_print_all): Sort the list.
9507 (gst_alloc_trace_print): Align columns.
9509 * gst/elements/gstttypefindelement.c:
9510 * gst/elements/gsttee.c:
9511 * gst/base/gstbasesrc.c:
9512 * gst/base/gstbasesink.c:
9513 * gst/base/gstbasetransform.c:
9514 * gst/gstqueue.c: Adapt for pad activation changes.
9516 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
9518 (gst_pipeline_dispose): Drop ref on sched.
9520 * gst/gstpad.c (gst_pad_init): Set the default activate func.
9521 (gst_pad_activate_default): Push mode by default.
9522 (pre_activate_switch, post_activate_switch): New stubs, things to
9523 do before and after switching activation modes on pads.
9524 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
9525 the pad's activate function to choose which mode to activate.
9526 Shortcut on deactivation and call the right function directly.
9527 (gst_pad_activate_pull): New API, (de)activates a pad in pull
9529 (gst_pad_activate_push): New API, same for push mode.
9530 (gst_pad_set_activate_function)
9531 (gst_pad_set_activatepull_function)
9532 (gst_pad_set_activatepush_function): Setters for new API.
9534 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
9535 Trace all miniobjects.
9536 (gst_mini_object_make_writable): Unref the arg if we copy, like
9537 gst_caps_make_writable.
9539 * gst/gstmessage.c (_gst_message_initialize): No trace init.
9541 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
9542 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
9543 Adapt for new pad API.
9545 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
9548 * gst/gstelement.c (gst_element_iterate_src_pads)
9549 (gst_element_iterate_sink_pads): New API functions.
9551 * gst/gstelement.c (iterator_fold_with_resync): New utility,
9552 should fold into gstiterator.c in some form.
9553 (gst_element_pads_activate): Simplified via use of fold and
9554 delegation of decisions to gstpad->activate.
9556 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
9559 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
9560 class once in init, like gstmessage. Didn't run into this issue
9561 but it seems correct. Don't initialize a trace, gstminiobject does
9564 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
9565 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
9567 (assert_live_count): New util function, uses alloc traces to check
9570 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
9571 To be modified when unlink drops the internal pad.
9573 2005-06-27 Wim Taymans <wim@fluendo.com>
9575 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
9576 (gst_bin_change_state):
9577 Cleanup the get_state() function a little, make sure it
9578 iterates the same set of elements.
9579 Added stub iterate_state_order().
9581 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
9583 * docs/gst/gstreamer-docs.sgml:
9584 * docs/gst/gstreamer-sections.txt:
9585 * docs/gst/gstreamer.types:
9586 * docs/gst/tmpl/gstbasesink.sgml:
9587 * docs/gst/tmpl/gstbasesrc.sgml:
9588 * docs/gst/tmpl/gstbasetransform.sgml:
9589 * docs/gst/tmpl/gstelement.sgml:
9590 * docs/gst/tmpl/gstiterator.sgml:
9591 * gst/base/gstbasesrc.c:
9592 * gst/base/gstbasesrc.h:
9593 * gst/base/gstbasetransform.h:
9595 * gst/gstiterator.h:
9596 adding basetransform and iterator docs
9598 2005-06-27 Andy Wingo <wingo@pobox.com>
9600 * docs/design/part-activation.txt: Notes on how activation should
9601 work -- not quite implemented yet.
9603 2005-06-25 Wim Taymans <wim@fluendo.com>
9605 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
9606 At least get the chain function correct, needs more
9609 2005-06-25 Wim Taymans <wim@fluendo.com>
9611 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9612 (gst_basesink_handle_object), (gst_basesink_event),
9613 (gst_basesink_do_sync), (gst_basesink_handle_event),
9614 (gst_basesink_change_state):
9616 Right, two problems here: ghostpads don't take locks and
9617 glib _rec_mutex_lock_full() with depth==0 still locks.
9618 Catch illegal locking and g_warn them.
9620 2005-06-25 Wim Taymans <wim@fluendo.com>
9622 * check/states/sinks.c: (START_TEST), (gst_object_suite):
9623 Have to check for completion now...
9625 2005-06-25 Wim Taymans <wim@fluendo.com>
9627 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9628 (gst_basesink_handle_object), (gst_basesink_event),
9629 (gst_basesink_do_sync), (gst_basesink_handle_event),
9630 (gst_basesink_change_state):
9632 Unlock STREAM_LOCK whatever the recursion was.
9634 2005-06-25 Wim Taymans <wim@fluendo.com>
9636 * gst/base/gstbasesink.c: (gst_basesink_set_property),
9637 (gst_basesink_preroll_queue_empty),
9638 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
9639 (gst_basesink_event), (gst_basesink_do_sync),
9640 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
9641 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
9642 (gst_basesink_change_state):
9643 Reworked the base sink, handle event and buffer serialisation
9644 correctly and removed possible deadlock.
9645 Handle EOS correctly.
9647 2005-06-25 Wim Taymans <wim@fluendo.com>
9649 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
9650 (gst_pipeline_change_state):
9651 * tools/gst-launch.c: (check_intr), (event_loop), (main):
9652 Allow elements to post EOS in the state change function.
9653 Fix up -launch, make it exit the poll loop when the
9654 pipeline actually changed state.
9655 Fix up warning parsing in -launch.
9657 2005-06-25 Wim Taymans <wim@fluendo.com>
9659 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
9660 (gst_tee_sink_activate):
9661 Core takes STREAM_LOCK for us now.
9663 2005-06-25 Wim Taymans <wim@fluendo.com>
9665 * gst/gstelement.c: (gst_element_get_state_func),
9666 (gst_element_set_state):
9668 * gst/gstmessage.c: (gst_message_parse_error),
9669 (gst_message_parse_warning):
9670 Keep track of current target state while performing a state
9671 change so that subclasses can do something interesting.
9672 Fix parsing of warning/error messages when GError is NULL.
9674 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
9676 * docs/gst/Makefile.am:
9677 * docs/gst/gstreamer-docs.sgml:
9678 * docs/gst/gstreamer-sections.txt:
9679 * docs/gst/gstreamer.types:
9680 * docs/gst/tmpl/gstbasesink.sgml:
9681 * docs/gst/tmpl/gstbasesrc.sgml:
9682 * docs/gst/tmpl/gstbin.sgml:
9683 * docs/gst/tmpl/gstcompat.sgml:
9684 * docs/gst/tmpl/gstfakesink.sgml:
9685 * docs/gst/tmpl/gstfakesrc.sgml:
9686 * docs/gst/tmpl/gstfilesink.sgml:
9687 * docs/gst/tmpl/gstfilesrc.sgml:
9688 * docs/gst/tmpl/gstindex.sgml:
9689 * docs/manual/appendix-quotes.xml:
9690 * gst/base/gstbasesrc.h:
9691 * gst/elements/gstfakesrc.h:
9693 start pulling in base classes and elements in our docs
9695 2005-06-24 Stefan Kost <ensonic@users.sf.net>
9697 * docs/gst/Makefile.am:
9698 * docs/libs/Makefile.am:
9699 fixed make distcheck with gtk-doc 1.3
9701 2005-06-23 Wim Taymans <wim@fluendo.com>
9703 * gst/gstelement.c: (gst_element_get_state_func),
9704 (gst_element_set_state), (gst_element_change_state):
9705 When the state did not change, also report NO_PREROLL
9708 2005-06-23 Wim Taymans <wim@fluendo.com>
9710 * gst/gstpad.c: (gst_pad_event_default):
9711 * gst/gstqueue.c: (gst_queue_loop):
9712 No unsafe task pausing please.
9714 2005-06-23 Wim Taymans <wim@fluendo.com>
9716 * gst/schedulers/threadscheduler.c:
9717 (gst_thread_scheduler_task_start),
9718 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
9719 Ref the task before pushing it on the threadpool. This
9720 makes sure that we have a ref when the threadfunction is
9723 2005-06-23 Andy Wingo <wingo@pobox.com>
9725 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
9726 offset is greater than the file's size.
9728 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
9729 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
9730 * gst/gstobject.c (gst_object_class_init): Make the class lock
9731 recursive. Wim won't let me drop deep_notify. Decodebin works
9734 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
9735 internal pad, and hacks accordingly. Doesn't do it on the target
9736 pad because we change its caps. Probably catches all cases of
9738 (gst_ghost_pad_set_property): Connect to notify::caps as
9741 * tests/network-clock.scm (plot-simulation): Pipe data to the
9742 elite python skript.
9744 * tests/network-clock-utils.scm (define-parameter): New macro,
9745 defines a parameter that can be set via the command line.
9746 (set-parameter!, parse-parameter-arguments): Command line args
9749 * tests/plot-data: Simple matplotlib-based plotter, takes input on
9752 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
9754 * gst/elements/gsttypefindelement.c:
9755 (gst_type_find_element_handle_event):
9756 Don't restart typefinding on a discont.
9757 * gst/gstelement.c: (gst_element_set_state):
9759 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
9760 Allow changing mode of an active pad.
9762 * gst/registries/gstlibxmlregistry.c: (load_feature):
9763 Don't cast a static pad template to a normal pad template.
9765 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
9767 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9768 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
9769 remove gst_strtoll completely, since it didn't actually do
9770 anything more than what g_ascii_strtoull already does.
9771 check for range errors when deserializing
9772 do a cast for the unsigned cases; but further fixing needs
9773 a decision on what the interpretation of "(int)" and
9774 deserialization should be for values that fall outside the
9775 type's boundaries (ie, refuse, or interpret as casting)
9777 2005-06-23 Wim Taymans <wim@fluendo.com>
9779 * check/Makefile.am:
9780 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
9781 * docs/design/part-live-source.txt:
9782 * docs/design/part-states.txt:
9783 * gst/base/gstbasesrc.c: (gst_basesrc_init),
9784 (gst_basesrc_set_live), (gst_basesrc_is_live),
9785 (gst_basesrc_get_range), (gst_basesrc_activate),
9786 (gst_basesrc_change_state):
9787 * gst/base/gstbasesrc.h:
9788 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9789 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
9790 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
9791 * gst/gstelement.c: (gst_element_get_state_func),
9792 (gst_element_set_state):
9795 * tools/gst-launch.c: (event_loop), (main):
9796 Added support for live sources and other elements that
9798 Updated design docs, added live-source design doc.
9799 Implemented live source functionality in basesrc
9800 Fix error condition in _bin_get_state()
9801 Implement live source handling in -launch.
9802 Added check for live sources.
9803 Fixed case in GstBin where elements were changed state
9807 2005-06-23 Andy Wingo <wingo@pobox.com>
9809 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
9812 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
9813 gst_caps_replace takes care of this for us.
9815 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
9816 gst_pad_set_caps on the target, not just its setcaps() function.
9818 * tests/network-clock.scm:
9819 * tests/network-clock-utils.scm: A network clock simulator.
9820 Something of an algorithmic testbed before doing something in C.
9822 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
9824 * check/Makefile.am:
9825 * check/gst/capslist.h:
9826 copy over from 0.8, and add two with bitmasks specified with
9828 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
9829 add test to parse everything from capslist.h
9830 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
9832 add test for structure deserialization
9833 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9834 add tests for deserialization of strings to int types
9835 * gst/gststructure.c: (gst_structure_nth_field_name):
9836 * gst/gststructure.h:
9837 add a way to get the name of a field referenced by index
9838 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
9839 instead of checking if the resulting long long lies between
9840 min and max, we check if the long long would fit into
9841 a number of bytes for the final type.
9842 This fixes cases where a string represents 2^32 - 1, which
9843 when cast to int would be the (valid) -1, but is bigger than
9846 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
9848 * gst/parse/grammar.y:
9849 add a log line for type deserialization
9851 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
9853 * check/gst/gstvalue.c: (START_TEST):
9854 * gst/gstvalue.c: (gst_value_deserialize):
9855 return long long, not int, so gint64 deserialization actually
9856 works. Is there any flag that makes the compiler check this ?
9859 2005-06-22 Wim Taymans <wim@fluendo.com>
9862 Added convenience macros for setting buffers in GValue.
9864 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
9866 * check/gst/.cvsignore:
9867 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9868 add a test deserializing int64, and comment part out because
9871 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
9873 * check/Makefile.am:
9874 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
9875 * testsuite/Makefile.am:
9876 * testsuite/caps/Makefile.am:
9877 * testsuite/caps/value_serialize.c:
9878 * testsuite/test_gst_init.c:
9879 move a value_serialize test over
9881 2005-06-20 Wim Taymans <wim@fluendo.com>
9886 * gst/gstvalue.c: (gst_value_compare_buffer),
9887 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
9888 (gst_value_compare_flags), (gst_value_serialize_flags),
9889 (gst_value_deserialize_flags), (_gst_value_initialize):
9890 Fix serialisation of buffers, they are not boxed types anymore
9892 2005-06-20 Wim Taymans <wim@fluendo.com>
9894 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
9895 Testcase to show error in buffer-on-caps serialisation.
9897 2005-06-20 Andy Wingo <wingo@pobox.com>
9899 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
9900 will be adding to later.
9902 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
9903 if its socks fill with rocks.
9904 (gst_system_clock_obtain): Set the name on object construction.
9905 Avoid double-checked locking.
9907 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
9909 * gst/gsturi.c: (gst_element_make_from_uri):
9910 Fix potential endless loop.
9912 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
9914 * check/Makefile.am:
9916 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
9918 move over from testsuite dir and clean up
9921 * testsuite/Makefile.am:
9922 * testsuite/tags/.cvsignore:
9923 * testsuite/tags/Makefile.am:
9924 * testsuite/tags/merge.c:
9925 remove testsuite/tags
9927 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
9929 * docs/gst/gstreamer-sections.txt:
9930 * docs/gst/tmpl/gstenumtypes.sgml:
9931 * win32/gstenumtypes.c:
9932 clean up documentation build a little
9934 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
9937 add macros for checking refcounts on objects and caps
9938 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
9939 add some more unit tests
9940 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
9941 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
9942 fix leaked refcounts (I hope :)) so unittest works
9946 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
9948 * configure.ac: back to HEAD
9950 === release 0.9.1 ===
9952 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
9958 2005-06-17 Andy Wingo <wingo@pobox.com>
9960 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
9961 assert; it's always possible that the pad gets deactivated in
9962 between the checks in gstpad.c and the implementation. Rely on
9963 finish_preroll() to return a FLUSHING or similar instead of on the
9966 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
9967 clock and post an EOS message if we come out of finish_preroll in
9970 2005-06-16 David Schleef <ds@schleef.org>
9972 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
9973 (gst_capsfilter_set_property): Allow NULL as possible value
9974 for filter_caps property, indicating GST_CAPS_ANY.
9976 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
9978 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
9980 * gst/schedulers/Makefile.am:
9982 * gstreamer.spec.in:
9985 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
9987 * gstreamer.spec.in:
9990 2005-06-08 Andy Wingo <wingo@pobox.com>
9992 * gst/gstutils.c: RPAD fixes all around.
9993 (gst_element_link_pads): Refcounting fixes.
9995 * tools/gst-inspect.c:
9996 * tools/gst-xmlinspect.c:
9998 * gst/base/gsttypefindhelper.c:
9999 * gst/base/gstbasesink.c:
10000 * gst/gstqueue.c: RPAD fixes.
10002 * gst/gstghostpad.h:
10003 * gst/gstghostpad.c: New ghost pad implementation as full proxy
10004 pads. The tricky thing is they provide both source and sink
10005 interfaces, since they proxy the internal pad for the external
10006 pad, and vice versa. Implement with lower-level ProxyPad objects,
10007 with the interior proxy pad as a child of the exterior ghost pad.
10008 Should write a doc on this.
10010 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
10011 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
10014 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
10015 pads are real pads. No ghost pads in this file. Not documenting
10016 the myriad s/RPAD/PAD/ and REALIZE fixes.
10017 (gst_pad_class_init): Add properties for "direction" and
10018 "template". Both are construct-only, so they can't change during
10019 the life of the pad. Fixes properly deriving from GstPad.
10020 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
10021 derived objects, just set properties when creating the objects via
10023 (gst_pad_get_parent): Implement as a function, return NULL if the
10024 parent is not an element.
10025 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
10026 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
10028 * gst/gstobject.c (gst_object_class_init): Make name a construct
10029 property. Don't set it in the object init.
10031 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
10032 with UNKNOWN direction.
10033 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
10034 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
10035 (gst_element_remove_pad): Remove ghost-pad special cases.
10036 (gst_element_pads_activate): Remove rpad cruft.
10038 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
10039 catch the pad's-parent-not-an-element case.
10041 * gst/gst.h: Include gstghostpad.h.
10043 * gst/gst.c (init_post): No more real, ghost pads.
10045 * gst/Makefile.am: Add gstghostpad.[ch].
10047 * check/Makefile.am:
10048 * check/gst/gstbin.c:
10049 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
10050 into a bin creates ghost pads, and that the refcounts are right.
10051 Partly moved from gstbin.c.
10053 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
10055 * check/gst-libs/.cvsignore:
10056 * check/gst/.cvsignore:
10057 * check/pipelines/.cvsignore:
10059 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
10060 (START_TEST), (cleanup_suite), (main):
10061 add some tests related to cleanup after running pipelines
10063 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
10065 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
10066 add a testsuite for GstBuffer
10068 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
10070 * gst/gstminiobject.h:
10071 add defines for accessing the refcount
10073 2005-06-03 Stefan Kost <ensonic@users.sf.net>
10075 * Makefile.am: added support for html unit test coverage reports
10077 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
10079 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
10080 Free existing caps if the capsfilter changes. Add a FIXME about
10081 setting those caps on the pads.
10083 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
10084 Before adding a ghost pad to a parent bin, check that there isn't
10085 already one for the element on the bin. Prevents infinite recursion
10086 when using decodebin in parse pipelines. Andy says he'll rewrite the
10087 way this works anyway, so ignore the hack.
10089 2005-06-02 Andy Wingo <wingo@pobox.com>
10091 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
10092 file size, pass it on to the type find helper.
10094 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
10095 segment_start and segment_end properly according to the seek
10096 method. Segment_end is still a bit flaky because offset can be
10097 negative for CUR and END cases, but it takes -1 as an "unset"
10100 2005-06-02 Wim Taymans <wim@fluendo.com>
10102 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
10103 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
10104 (gst_basesink_activate):
10105 * gst/base/gstbasesink.h:
10106 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10107 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
10108 (gst_pad_query), (gst_pad_start_task):
10110 * gst/gstqueue.c: (gst_queue_bufferalloc),
10111 (gst_queue_handle_sink_event), (gst_queue_chain):
10112 Bufferalloc: return GstFlowReturn to more accuratly report
10113 why allocation failed.
10115 2005-06-02 Wim Taymans <wim@fluendo.com>
10117 * gst/gstpipeline.c: (gst_pipeline_send_event):
10118 Take snapshot of state without blocking.
10120 2005-06-02 Wim Taymans <wim@fluendo.com>
10122 * docs/design/part-TODO.txt:
10123 * docs/design/part-caps.txt:
10124 * docs/design/part-clocks.txt:
10125 * docs/design/part-negotiation.txt:
10126 * docs/design/part-preroll.txt:
10129 2005-05-30 Wim Taymans <wim@fluendo.com>
10131 * gst/elements/gstidentity.c: (gst_identity_event),
10132 (gst_identity_transform), (gst_identity_get_property):
10133 Protect last_message property as it is accessed from
10136 2005-05-30 Wim Taymans <wim@fluendo.com>
10138 * gst/gstelement.c: (gst_element_init),
10139 (gst_element_pads_activate), (gst_element_change_state):
10140 Slicker pad activation code.
10142 2005-05-30 Wim Taymans <wim@fluendo.com>
10145 * gst/gstelement.h:
10146 * gst/gstelementfactory.h:
10148 Move elementfactory methods to separate .h file.
10150 2005-05-30 Wim Taymans <wim@fluendo.com>
10152 * docs/design/part-overview.txt:
10153 * gst/gstsystemclock.h:
10154 Small typo fixes, doc updates.
10156 2005-05-30 Wim Taymans <wim@fluendo.com>
10158 * gst/gst.c: (gst_init_get_popt_table), (init_post),
10159 (init_popt_callback):
10160 Remove cpu-opt flag.
10162 2005-05-30 Wim Taymans <wim@fluendo.com>
10164 * gst/gstbuffer.c: (gst_subbuffer_finalize),
10165 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
10167 Avoid typechecking in places where not needed.
10168 Added accessor for malloc_data.
10170 2005-05-30 Wim Taymans <wim@fluendo.com>
10172 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
10173 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
10174 (gst_pad_configure_sink), (gst_pad_configure_src),
10175 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
10176 (gst_pad_start_task):
10177 Propagate errors from _set_caps() in configure_src/sink
10178 functions instead of returning TRUE.
10179 FLUSH events can travel up and downstream
10182 2005-05-30 Wim Taymans <wim@fluendo.com>
10184 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
10185 (gst_basesink_activate):
10186 Handle EOS in preroll.
10188 2005-05-30 Wim Taymans <wim@fluendo.com>
10190 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10191 (gst_queue_loop), (gst_queue_handle_src_event):
10192 Remove old pieces of code
10193 Flushing the queue in an upstream event is a very bad idea.
10195 2005-05-26 Andy Wingo <wingo@pobox.com>
10197 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
10198 gst_value_set_mini_object so as to add a ref on the object (which
10199 will be removed when the value is unset).
10201 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
10202 arg type in ::handoff.
10204 * gst/gstelement.c (gst_element_change_state): Also deactivate
10205 pads in READY->NULL, just in case the element didn't make it to
10206 PAUSED. Wingo tested, Wim approved.
10208 2005-05-26 Wim Taymans <wim@fluendo.com>
10210 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10211 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
10212 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
10213 A flushing pad cannot be used to alloc_buffer from.
10215 2005-05-26 Wim Taymans <wim@fluendo.com>
10217 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
10218 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
10219 (gst_bus_source_dispatch), (gst_bus_source_finalize),
10220 (gst_bus_create_watch), (gst_bus_add_watch_full):
10222 Implement a real GSource and use g_main_context_wakeup() to
10223 signal new messages instead of the socketpair.
10225 2005-05-25 Wim Taymans <wim@fluendo.com>
10227 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
10228 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
10229 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10230 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
10231 (gst_pad_send_event), (gst_pad_start_task):
10232 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
10233 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
10234 (gst_queue_sink_activate), (gst_queue_src_activate),
10235 (gst_queue_change_state):
10237 Fix state changes for non sinks. We now change sinks, then elements
10238 with unconnected srcpads, then the rest.
10239 More efficient queue unlocking in flush and state changes.
10240 Set the pad activate mode even if it does not have an activate
10243 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10245 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
10246 Don't go in pull mode for non-seekable sources.
10247 * gst/elements/gsttypefindelement.h:
10248 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
10249 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
10250 (free_entry), (stop_typefinding),
10251 (gst_type_find_element_handle_event), (find_peek),
10252 (gst_type_find_element_chain), (do_pull_typefind),
10253 (gst_type_find_element_change_state):
10254 Allow typefinding (w/o seeking) in push-mode, simplified version
10255 of what was in 0.8.
10256 * gst/gstutils.c: (gst_buffer_join):
10258 gst_buffer_join() from 0.8.
10260 2005-05-25 Wim Taymans <wim@fluendo.com>
10262 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10263 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
10264 (gst_pad_send_event), (gst_pad_start_task):
10265 Disable attempt at mode switching until it is figured out.
10267 2005-05-25 Wim Taymans <wim@fluendo.com>
10269 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
10270 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
10271 (gst_basesink_finish_preroll), (gst_basesink_chain),
10272 (gst_basesink_loop), (gst_basesink_activate),
10273 (gst_basesink_change_state):
10274 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
10275 (gst_basesrc_get_range), (gst_basesrc_loop),
10276 (gst_basesrc_activate):
10277 * gst/elements/gsttee.c: (gst_tee_sink_activate):
10278 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
10279 (gst_real_pad_init), (gst_real_pad_set_property),
10280 (gst_real_pad_get_property), (gst_pad_set_active),
10281 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
10282 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
10283 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
10284 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
10285 (gst_pad_event_default_dispatch), (gst_pad_event_default),
10286 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
10287 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
10288 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
10289 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
10290 (gst_pad_stop_task):
10292 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10293 (gst_queue_loop), (gst_queue_src_activate):
10294 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
10295 (gst_task_get_state):
10297 * gst/schedulers/threadscheduler.c:
10298 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
10299 Implement gst_pad_pause/start/stop_task(), take STREAM lock
10301 Remove ACTIVE pad flag, use FLUSHING everywhere
10302 Added _pad_chain(), _pad_get_range() to call chain/getrange
10304 Add locks around IS_FLUSHING when reading.
10305 Take STREAM lock in chain(), get_range() functions so plugins
10306 don't need to take it anymore.
10310 2005-05-25 Wim Taymans <wim@fluendo.com>
10312 * tools/gst-launch.c: (event_loop):
10313 Unref message after using its contents instead of
10316 2005-05-24 Wim Taymans <wim@fluendo.com>
10318 * docs/design/draft-ghostpads.txt:
10319 * docs/design/draft-push-pull.txt:
10320 * docs/design/draft-query.txt:
10321 * docs/design/part-overview.txt:
10322 Docs updates, added general overview doc.
10324 2005-05-21 David Schleef <ds@schleef.org>
10326 * docs/gst/tmpl/old/GstBin.sgml:
10327 * docs/gst/tmpl/old/GstBuffer.sgml:
10328 * docs/gst/tmpl/old/GstCaps.sgml:
10329 * docs/gst/tmpl/old/GstClock.sgml:
10330 * docs/gst/tmpl/old/GstCompat.sgml:
10331 * docs/gst/tmpl/old/GstData.sgml:
10332 * docs/gst/tmpl/old/GstElement.sgml:
10333 * docs/gst/tmpl/old/GstEvent.sgml:
10334 * docs/gst/tmpl/old/GstIndex.sgml:
10335 * docs/gst/tmpl/old/GstStructure.sgml:
10336 * docs/gst/tmpl/old/GstTag.sgml:
10337 * docs/gst/tmpl/old/cothreads.sgml:
10338 * docs/gst/tmpl/old/cothreads_compat.sgml:
10339 * docs/gst/tmpl/old/gettext.sgml:
10340 * docs/gst/tmpl/old/gobject2gtk.sgml:
10341 * docs/gst/tmpl/old/grammar.tab.sgml:
10342 * docs/gst/tmpl/old/gst-i18n-app.sgml:
10343 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
10344 * docs/gst/tmpl/old/gst_private.sgml:
10345 * docs/gst/tmpl/old/gstaggregator.sgml:
10346 * docs/gst/tmpl/old/gstarch.sgml:
10347 * docs/gst/tmpl/old/gstatomic_impl.sgml:
10348 * docs/gst/tmpl/old/gstbufferstore.sgml:
10349 * docs/gst/tmpl/old/gstdata_private.sgml:
10350 * docs/gst/tmpl/old/gstdisksink.sgml:
10351 * docs/gst/tmpl/old/gstdisksrc.sgml:
10352 * docs/gst/tmpl/old/gstelementfactory.sgml:
10353 * docs/gst/tmpl/old/gstextratypes.sgml:
10354 * docs/gst/tmpl/old/gstfakesink.sgml:
10355 * docs/gst/tmpl/old/gstfakesrc.sgml:
10356 * docs/gst/tmpl/old/gstfdsink.sgml:
10357 * docs/gst/tmpl/old/gstfdsrc.sgml:
10358 * docs/gst/tmpl/old/gstfilesink.sgml:
10359 * docs/gst/tmpl/old/gstfilesrc.sgml:
10360 * docs/gst/tmpl/old/gsthttpsrc.sgml:
10361 * docs/gst/tmpl/old/gstidentity.sgml:
10362 * docs/gst/tmpl/old/gstindexfactory.sgml:
10363 * docs/gst/tmpl/old/gstmarshal.sgml:
10364 * docs/gst/tmpl/old/gstmd5sink.sgml:
10365 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
10366 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
10367 * docs/gst/tmpl/old/gstpadtemplate.sgml:
10368 * docs/gst/tmpl/old/gstpipefilter.sgml:
10369 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
10370 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
10371 * docs/gst/tmpl/old/gstshaper.sgml:
10372 * docs/gst/tmpl/old/gstspider.sgml:
10373 * docs/gst/tmpl/old/gstspideridentity.sgml:
10374 * docs/gst/tmpl/old/gststatistics.sgml:
10375 * docs/gst/tmpl/old/gsttee.sgml:
10376 * docs/gst/tmpl/old/gsttimecache.sgml:
10377 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
10378 * docs/gst/tmpl/old/gstxmlregistry.sgml:
10379 * docs/gst/tmpl/old/gthread-cothreads.sgml:
10380 * docs/gst/tmpl/old/types.sgml:
10381 I didn't intend to add these or check them in.
10383 2005-05-19 David Schleef <ds@schleef.org>
10385 * configure.ac: Use -no-common everywhere. In a sane world, it
10386 would be the default in libtool, because without it, you can't
10387 build DLLs on Windows.
10388 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
10389 * docs/gst/gstreamer-sections.txt:
10390 * docs/gst/tmpl/gstcpu.sgml:
10391 * docs/gst/tmpl/gstdata.sgml:
10392 * docs/gst/tmpl/gstthread.sgml:
10394 2005-05-19 David Schleef <ds@schleef.org>
10396 * gst/gstminiobject.c: (gst_value_set_mini_object),
10397 (gst_value_take_mini_object), (gst_value_get_mini_object):
10398 * gst/gstminiobject.h: Add GValue set/get functions.
10400 2005-05-19 Wim Taymans <wim@fluendo.com>
10402 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
10403 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
10404 (gst_subbuffer_init), (gst_buffer_is_span_fast):
10406 * gst/gstbus.c: (gst_bus_post):
10407 * gst/gstelement.c: (gst_element_get_random_pad):
10408 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
10409 Make subbufer unref the parent in finalize.
10410 some more debugging info.
10413 2005-05-19 Wim Taymans <wim@fluendo.com>
10415 * gst/base/gstbasesink.c: (gst_basesink_class_init),
10416 (gst_basesink_init), (gst_basesink_finalize),
10417 (gst_basesink_activate), (gst_basesink_change_state):
10418 Don't free preroll queue too early.
10420 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10424 Hi, I'm outdated. Please shoot me.
10426 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10428 * gst/gstpipeline.c: (gst_pipeline_send_event):
10429 Do not access variables after they have been deleted.
10431 2005-05-19 Wim Taymans <wim@fluendo.com>
10433 * tools/gst-inspect.c: (print_plugin_features):
10434 A plugin feature does unfortunatly not use the
10437 2005-05-18 Wim Taymans <wim@fluendo.com>
10439 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
10440 Port _span() functions to new subbuffers.
10442 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10444 * gst/gstbin.c: (gst_bin_add_func):
10445 Fix clock settery in bins when adding kids after the clock has
10448 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10450 * gst/elements/gstidentity.c: (gst_identity_class_init):
10451 Workaround until signals support GstMiniObject.
10453 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
10456 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
10458 2005-05-18 Wim Taymans <wim@fluendo.com>
10460 * gst/base/Makefile.am:
10461 * gst/base/gstadapter.c: (gst_adapter_base_init),
10462 (gst_adapter_class_init), (gst_adapter_init),
10463 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
10464 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
10465 (gst_adapter_flush), (gst_adapter_available),
10466 (gst_adapter_available_fast):
10467 * gst/base/gstadapter.h:
10468 Ported and added adapter to the base classes.
10470 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10473 * gst/gstmessage.c:
10474 Make sure the class is reffed/unreffed once before threads can be
10475 used. Fixes #304551.
10477 2005-05-17 Wim Taymans <wim@fluendo.com>
10479 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
10480 (gst_basesink_chain_unlocked), (gst_basesink_activate):
10481 * gst/gstminiobject.c: (gst_mini_object_get_type),
10482 (gst_mini_object_free):
10483 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
10484 (gst_pad_push), (gst_pad_push_event):
10485 * gst/gstqueue.c: (gst_queue_change_state):
10486 Don't queue buffers in basesink when we are flushing.
10487 Unref buffer when flushing in basesink.
10488 Flush queue when going to READY
10489 Unref buffer when _push() returns an error.
10490 Don't free MiniObject instance when refcount is incremented
10491 in _finalize() so that we can recover objects.
10493 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
10495 * docs/manual/advanced-schedulers.xml:
10496 * docs/manual/appendix-checklist.xml:
10497 * docs/pwg/advanced-clock.xml:
10498 * docs/pwg/advanced-interfaces.xml:
10499 * docs/pwg/advanced-request.xml:
10500 * docs/pwg/advanced-types.xml:
10501 * docs/pwg/intro-preface.xml:
10502 * examples/plugins/example.c: (gst_example_get_type),
10503 (gst_example_class_init), (gst_example_chain),
10504 (gst_example_set_property), (gst_example_get_property),
10505 (gst_example_change_state), (plugin_init):
10506 * examples/plugins/example.h:
10509 2005-05-17 Wim Taymans <wim@fluendo.com>
10511 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
10512 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
10513 * gst/gstqueue.c: (gst_queue_change_state):
10514 Clear queue when going to READY.
10515 Remove IN_SETCAPS flag too.
10517 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
10519 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
10520 Remove implicit cast from gboolean to GstElementStateReturn;
10521 make sure we still return failure in paused => ready case if
10522 the parent class fails to change state and our own stop
10525 2005-05-17 Wim Taymans <wim@fluendo.com>
10527 * tools/gst-launch.c: (event_loop):
10528 Message was unreffed too soon.
10530 2005-05-16 Andy Wingo <wingo@pobox.com>
10532 * gst/gstbin.c (sink_iterator_filter): Err... um...
10534 * check/gst/gstbin.c (test_ghost_pads): New test for the
10535 ghosting-if-elements-not-in-same-bin behavior.
10537 2005-05-16 David Schleef <ds@schleef.org>
10539 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
10540 accessing refcount directly.
10542 2005-05-15 David Schleef <ds@schleef.org>
10544 * check/Makefile.am: remove GstData checks
10545 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
10546 * gst/Makefile.am: add miniobject, remove data
10547 * gst/gst.h: add miniobject, remove data
10548 * gst/gstdata.c: remove
10549 * gst/gstdata.h: remove
10550 * gst/gstdata_private.h: remove
10551 * gst/gsttypes.h: remove GstEvent and GstMessage
10552 * gst/gstelement.c: (gst_element_post_message): fix for API changes
10553 * gst/gstmarshal.list: change BOXED -> OBJECT
10555 Implement GstMiniObject.
10556 * gst/gstminiobject.c:
10557 * gst/gstminiobject.h:
10559 Modify to be subclasses of GstMiniObject.
10560 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
10561 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
10562 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
10563 (gst_subbuffer_get_type), (gst_subbuffer_init),
10564 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
10567 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
10568 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
10569 (_gst_event_copy), (gst_event_new):
10571 * gst/gstmessage.c: (_gst_message_initialize),
10572 (gst_message_get_type), (gst_message_class_init),
10573 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
10574 (gst_message_new), (gst_message_new_error),
10575 (gst_message_new_warning), (gst_message_new_tag),
10576 (gst_message_new_state_changed), (gst_message_new_application):
10577 * gst/gstmessage.h:
10578 * gst/gstprobe.c: (gst_probe_perform),
10579 (gst_probe_dispatcher_dispatch):
10581 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
10582 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
10583 (_gst_query_copy), (gst_query_new):
10585 Update elements for GstData -> GstMiniObject changes
10587 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
10588 (gst_queue_chain), (gst_queue_loop):
10589 * gst/elements/gstbufferstore.c:
10590 (gst_buffer_store_add_buffer_func),
10591 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
10592 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
10593 (gst_fakesink_render):
10594 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
10595 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
10596 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
10597 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
10598 (gst_filesrc_create_read):
10599 * gst/elements/gstidentity.c: (gst_identity_class_init):
10600 * gst/elements/gsttypefindelement.c:
10601 (gst_type_find_element_src_event), (free_entry_buffers),
10602 (gst_type_find_element_handle_event):
10603 * libs/gst/dataprotocol/dataprotocol.c:
10604 (gst_dp_header_from_buffer):
10605 * libs/gst/dataprotocol/dataprotocol.h:
10606 * libs/gst/dataprotocol/dp-private.h:
10608 2005-05-15 David Schleef <ds@schleef.org>
10610 * gst/elements/gstelements.c: Don't include headers that were
10613 2005-05-15 David Schleef <ds@schleef.org>
10615 * gst/elements/Makefile.am: Remove some elements that don't
10616 need to be in the core (or even exist at all).
10617 * gst/elements/gstaggregator.c:
10618 * gst/elements/gstaggregator.h:
10619 * gst/elements/gstmd5sink.c:
10620 * gst/elements/gstmd5sink.h:
10621 * gst/elements/gstmultifilesrc.c:
10622 * gst/elements/gstmultifilesrc.h:
10623 * gst/elements/gstpipefilter.c:
10624 * gst/elements/gstpipefilter.h:
10625 * gst/elements/gstshaper.c:
10626 * gst/elements/gstshaper.h:
10627 * gst/elements/gststatistics.c:
10628 * gst/elements/gststatistics.h:
10629 * po/POTFILES.in: Remove above files.
10631 2005-05-14 Andy Wingo <wingo@pobox.com>
10633 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
10634 so as to get the refs right.
10635 (sink_iterator_filter): New function, wraps bin_element_is_sink,
10636 unreffing objects that don't pass the filter.
10638 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
10639 gst_element_set_bus.
10640 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
10641 normal cases, this will destroy the bus.
10643 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
10646 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
10649 2005-05-13 Andy Wingo <wingo@pobox.com>
10651 * gst/gstutils.c (gst_element_link_pads): Instead of calling
10652 gst_pad_link, call pad_link_maybe_ghosting,
10653 (pad_link_maybe_ghosting): Links pads, making sure that the
10654 elements being linked are in the same bin.
10655 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
10656 Helpers for pad_link_maybe_ghosting.
10658 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
10661 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
10663 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
10665 * docs/design/part-element-source.txt:
10668 2005-05-12 Wim Taymans <wim@fluendo.com>
10670 * gst/base/gstbasesink.c: (gst_basesink_init),
10671 (gst_basesink_activate):
10672 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
10673 (gst_basesrc_is_seekable):
10674 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
10675 (bin_element_is_sink), (gst_bin_change_state):
10676 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
10677 * gst/gstelement.h:
10678 Identify sinks by their flag to avoid overly complicated
10680 Do state changes even for elements not reachable from the
10682 BaseSink is a sink now :)
10683 Some more debugging info in the basesrc.
10686 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10688 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
10689 Implement _query on a bin, similar to _send_event.
10691 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
10693 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
10694 Discont event offset format should be GST_FORMAT_BYTES,
10695 not GST_FORMAT_TIME.
10697 2005-05-12 Wim Taymans <wim@fluendo.com>
10699 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
10700 Same fix as Ronald's but without the signal.
10702 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10704 * gst/gstutils.c: (gst_element_query_position):
10705 No, an element is not a pad.
10707 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10709 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
10710 (gst_bin_get_state):
10711 If a child is removed from a bin while we remove the child from
10712 the bin and while we're retrieving its state, signal this to the
10713 get_state function so we abort the wait (instead of waiting for
10714 a timeout) and can immediately re-iterate over all other elements.
10716 2005-05-12 Wim Taymans <wim@fluendo.com>
10718 * gst/base/Makefile.am:
10719 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
10720 (gst_basesrc_start):
10721 * gst/base/gstbasesrc.h:
10722 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
10723 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
10724 (gst_pushsrc_init), (gst_pushsrc_create):
10725 * gst/base/gstpushsrc.h:
10726 Added is_seekable to BaseSrc
10727 Added simple PushSrc.
10729 2005-05-11 Wim Taymans <wim@fluendo.com>
10731 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
10732 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10733 (gst_element_link_pads), (gst_element_query_position),
10734 (gst_element_query_convert), (intersect_caps_func),
10735 (gst_pad_query_position), (gst_pad_query_convert):
10736 Fix refcounting in utils function.
10737 No point in trying to activate a pad when it's added, it could
10738 be added from the state change function and then we deadlock, the
10739 element has to decide what to do.
10741 2005-05-10 Andy Wingo <wingo@pobox.com>
10743 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
10744 *all* the arguments.
10746 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
10747 stream lock if it's a FLUSH_DONE; normal flushes don't get the
10748 lock (according to the docs -- if this is wrong change the docs).
10750 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
10751 flush messages in the NULL state.
10753 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
10754 message immediately and return.
10755 (gst_bus_set_flushing): New function. If a bus is flushing, it
10756 flushes out any queued messages and immediately unrefs new
10757 messages. This is so when an element goes to NULL, all of the
10758 unhandled messages coming from it can be freed, and their
10759 references to the element dropped. In other words: message source
10760 ref considered harmful :P
10762 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
10763 we're finished with it.
10765 * gst/gstmessage.c (gst_message_new_state_changed):
10767 2005-05-10 Wim Taymans <wim@fluendo.com>
10769 * gst/gstvalue.c: (gst_value_compare_flags),
10770 (gst_value_serialize_flags), (gst_value_deserialize_flags),
10771 (_gst_value_initialize):
10772 Added flags serialize/deserialize/compare code.
10774 2005-05-09 Andy Wingo <wingo@pobox.com>
10776 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
10777 Intersect the peer's caps with our caps.
10779 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10781 * gst/base/gsttypefindhelper.c: (helper_find_peek):
10782 * gst/elements/gsttypefindelement.c: (find_peek):
10783 Handle negative offsets better. Fixes decodebin.
10785 2005-05-09 Wim Taymans <wim@fluendo.com>
10787 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
10788 (gst_base_transform_event):
10789 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
10790 Implement accept_caps.
10791 Fix silly lock/unlock mismatch in base class.
10793 2005-05-09 Wim Taymans <wim@fluendo.com>
10795 * docs/design/draft-push-pull.txt:
10796 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
10797 * gst/elements/gstfilesink.c: (gst_filesink_init),
10798 (gst_filesink_query):
10799 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
10800 (gst_type_find_handle_src_query), (find_element_get_length):
10801 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
10802 * gst/gstelement.h:
10803 * gst/gstmessage.c:
10804 * gst/gstmessage.h:
10805 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
10806 (gst_real_pad_get_caps_unlocked),
10807 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
10808 (gst_pad_event_default_dispatch), (gst_pad_event_default),
10809 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
10810 (gst_real_pad_dispose), (gst_real_pad_finalize),
10811 (gst_pad_load_and_link), (gst_pad_save_thyself),
10812 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
10813 (gst_pad_check_pull_range), (gst_pad_pull_range),
10814 (gst_pad_template_get_type), (gst_pad_template_class_init),
10815 (gst_pad_template_init), (gst_pad_template_dispose),
10816 (name_is_valid), (gst_static_pad_template_get),
10817 (gst_pad_template_new), (gst_static_pad_template_get_caps),
10818 (gst_pad_template_get_caps), (gst_pad_set_element_private),
10819 (gst_pad_get_element_private), (gst_pad_start_task),
10820 (gst_pad_pause_task), (gst_pad_stop_task),
10821 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
10822 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
10823 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
10824 (gst_ghost_pad_new):
10826 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
10827 (gst_query_new_position), (gst_query_set_position),
10828 (gst_query_parse_position), (gst_query_new_convert),
10829 (gst_query_set_convert), (gst_query_parse_convert):
10831 * gst/gstqueryutils.c:
10832 * gst/gstqueryutils.h:
10833 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
10834 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
10835 (gst_queue_handle_src_query):
10836 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10837 (gst_element_query_position), (gst_element_query_convert),
10838 (intersect_caps_func), (gst_pad_query_position),
10839 (gst_pad_query_convert):
10841 * tools/gst-inspect.c: (print_pad_info):
10842 * tools/gst-xmlinspect.c: (print_element_info):
10843 Remove old query functions. Ported old code.
10844 Added position/convert helper functions to gstutils.
10845 Reordered gstpad.c code, grouping relevant things.
10846 Remove gst_message_new(), always need to speficy a specific
10850 2005-05-09 Andy Wingo <wingo@pobox.com>
10852 * gst/gstiterator.h: Add some includes.
10854 * gst/gstqueryutils.h: Include more headers.
10857 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
10858 some uses of gst_pad_query.
10860 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
10861 NULL out parameters.
10862 (gst_query_new_position): New proc, allocates a new position
10865 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
10866 gstqueryutils.c to the build.
10868 * gst/gststructure.c (gst_structure_set_valist): Implement with
10869 the generic G_VALUE_COLLECT.
10871 2005-05-08 Edward Hervey <bilboed@bilboed.com>
10873 * gst/Makefile.am: (gst_headers):
10874 Added gstqueryutils.h to the list of headers to install, that was
10875 a 'nachty' move wingo :)
10877 2005-05-06 Andy Wingo <wingo@pobox.com>
10880 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
10881 GstData, init a memchunk.
10882 (standard_definitions): Add a few query types, deprecate a few.
10883 (gst_query_get_type): New proc.
10884 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
10886 (gst_query_new_application, gst_query_get_structure): New public
10889 * docs/design/draft-query.txt: Removed LINKS from the query types,
10890 because all the rest can be dispatched to other pads -- seemed
10891 ugly to have a query that couldn't be dispatched. internal_links
10892 is fine as a pad method.
10894 * gst/gstpad.h: Add query2 as a pad method, add the new functions
10895 in gstpad.c, but maintain binary compatibility for the moment.
10896 Will fix before 0.9 is out.
10898 * gst/gstqueryutils.c:
10899 * gst/gstqueryutils.h: New files, implement 3 methods for each
10900 query type: parse_query, parse_response, and set. Probably need an
10903 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
10905 * gst/elements/gstfilesink.c (gst_filesink_query2):
10906 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
10907 query_types, and formats methods.
10909 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
10910 (gst_pad_set_query2_function): New functions.
10911 (gst_real_pad_init): Set query2_default as the default query2
10912 function. Basically just dispatches to internally linked pads.
10916 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
10917 without using the atomic operations. Only one thread can possibly
10918 be accessing the data at this point. Changed so as to avoid
10919 gst_atomic operations.
10921 2005-05-06 Wim Taymans <wim@fluendo.com>
10923 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
10924 Also set caps if we use the fallback buffer alloc.
10926 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
10928 * docs/gst/Makefile.am:
10929 * docs/gst/gstreamer-docs.sgml:
10930 * docs/gst/gstreamer-sections.txt:
10931 * docs/gst/tmpl/gstatomic.sgml:
10932 * docs/gst/tmpl/gstmemchunk.sgml:
10933 * testsuite/elements/struct_i386.h:
10934 * win32/GStreamer.vcproj:
10936 Purge GstAtomic stuff from docs and win32 makefiles as well
10938 2005-05-06 Wim Taymans <wim@fluendo.com>
10940 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
10941 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
10942 * gst/gstpad.c: (gst_pad_peer_get_caps):
10943 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
10944 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
10945 (gst_queue_src_activate), (gst_queue_change_state):
10947 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10948 (intersect_caps_func):
10949 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
10950 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
10951 Some fixes for the peer_get_caps() change.
10953 2005-05-06 Wim Taymans <wim@fluendo.com>
10955 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10956 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
10957 (gst_basesink_activate):
10958 Actually do something with error codes returned from the push
10961 2005-05-06 Wim Taymans <wim@fluendo.com>
10963 * docs/design/part-element-sink.txt:
10964 * docs/design/part-element-source.txt:
10965 * gst/base/gstbasesink.c: (gst_basesink_class_init),
10966 (gst_basesink_event), (gst_basesink_activate):
10967 * gst/base/gstbasesink.h:
10968 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
10969 (gst_basesrc_activate):
10970 * gst/base/gstbasesrc.h:
10971 * gst/gstelement.c: (gst_element_pads_activate):
10972 Some more documentation.
10973 Fixed scheduling decision in _pads_activate().
10975 2005-05-05 Andy Wingo <wingo@pobox.com>
10977 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
10980 2005-05-05 Wim Taymans <wim@fluendo.com>
10982 * gst/base/Makefile.am:
10983 * gst/base/gstbasesink.h:
10984 * gst/base/gstbasesrc.c: (gst_basesrc_init),
10985 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
10986 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
10987 (gst_collectpads_class_init), (gst_collectpads_init),
10988 (gst_collectpads_finalize), (gst_collectpads_new),
10989 (gst_collectpads_set_function), (gst_collectpads_add_pad),
10990 (find_pad), (gst_collectpads_remove_pad),
10991 (gst_collectpads_is_active), (gst_collectpads_collect),
10992 (gst_collectpads_collect_range), (gst_collectpads_start),
10993 (gst_collectpads_stop), (gst_collectpads_peek),
10994 (gst_collectpads_pop), (gst_collectpads_available),
10995 (gst_collectpads_read), (gst_collectpads_flush),
10996 (gst_collectpads_chain):
10997 * gst/base/gstcollectpads.h:
10998 * gst/elements/Makefile.am:
10999 * gst/elements/gstelements.c:
11000 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11001 (gst_fakesink_get_times), (gst_fakesink_event),
11002 (gst_fakesink_preroll), (gst_fakesink_render):
11003 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
11004 (gst_filesink_init), (gst_filesink_set_location),
11005 (gst_filesink_open_file), (gst_filesink_close_file),
11006 (gst_filesink_pad_query), (gst_filesink_event),
11007 (gst_filesink_render), (gst_filesink_change_state):
11008 * gst/elements/gstfilesink.h:
11009 Added object to help in making collect pad based elements.
11011 Make event function in sink baseclass return gboolean.
11013 2005-05-05 Wim Taymans <wim@fluendo.com>
11015 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
11016 (gst_bin_get_by_name):
11018 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
11019 (gst_clock_finalize):
11020 * gst/gstdata.c: (gst_data_replace):
11022 * gst/gstelement.c: (gst_element_request_pad),
11023 (gst_element_pads_activate):
11024 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
11025 (gst_object_unref):
11026 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11027 (gst_pad_set_checkgetrange_function),
11028 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
11029 (gst_pad_check_pull_range), (gst_pad_pull_range),
11030 (gst_static_pad_template_get_caps), (gst_pad_start_task),
11031 (gst_pad_pause_task), (gst_pad_stop_task):
11032 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11033 (gst_element_request_pad), (gst_pad_proxy_getcaps):
11034 Fix name lookup in GstBin.
11035 Added _data_replace() function and _buffer_replace()
11036 Use finalize method to clean up clock.
11037 Fix refcounting on request pads.
11038 Fix pad schedule mode error.
11039 Some more object refcounting debug info,
11042 2005-05-04 Andy Wingo <wingo@pobox.com>
11044 * check/Makefile.am:
11045 * docs/gst/tmpl/gstatomic.sgml:
11046 * docs/gst/tmpl/gstplugin.sgml:
11047 * gst/base/gstbasesink.c: (gst_basesink_activate):
11048 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
11049 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
11050 (gst_basesrc_query), (gst_basesrc_set_property),
11051 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
11052 (gst_basesrc_activate):
11053 * gst/base/gstbasesrc.h:
11054 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
11055 (gst_base_transform_src_activate):
11056 * gst/elements/gstelements.c:
11057 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11058 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
11059 * gst/elements/gsttee.c: (gst_tee_sink_activate):
11060 * gst/elements/gsttypefindelement.c: (find_element_get_length),
11061 (gst_type_find_element_checkgetrange),
11062 (gst_type_find_element_activate):
11063 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
11064 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
11065 (gst_caps_load_thyself):
11066 * gst/gstelement.c: (gst_element_pads_activate),
11067 (gst_element_save_thyself), (gst_element_restore_thyself):
11068 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
11069 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
11071 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
11072 (gst_xml_parse_file), (gst_xml_parse_memory),
11073 (gst_xml_get_element), (gst_xml_make_element):
11074 * gst/indexers/gstfileindex.c: (gst_file_index_load),
11075 (_file_index_id_save_xml), (gst_file_index_commit):
11076 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
11077 (read_enum), (load_pad_template), (load_feature), (load_plugin),
11079 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
11080 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
11081 * tools/gst-complete.c: (main):
11082 * tools/gst-compprep.c: (main):
11083 * tools/gst-inspect.c: (print_element_properties_info):
11084 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
11085 * tools/gst-xmlinspect.c: (print_element_properties):
11088 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
11090 * gst/gstplugin.c: (gst_plugin_check_module),
11091 (gst_plugin_check_file), (gst_plugin_load_file):
11092 apply patch from #172526 to make register work on MacOSX
11094 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
11096 * docs/gst/tmpl/gstconfig.sgml:
11097 * gst/gstconfig.h.in:
11098 move documentation for some symbols. Add doc for GST_PTR_FORMAT
11099 * testsuite/debug/printf_extension.c: (main):
11100 Do not use GST_PTR_FORMAT on pointers to types with
11101 sizeof < sizeof(gpointer). Fixes test on 64-bit
11102 * testsuite/elements/property.h:
11103 use correct printf format
11105 2005-05-02 Wim Taymans <wim@fluendo.com>
11107 * docs/design/draft-push-pull.txt:
11108 * docs/design/draft-query.txt:
11109 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
11110 (gst_basesrc_start):
11111 Added draft for new query API.
11112 Added draft for better selecting scheduling methods.
11113 Make basesrc ignore length if the subclass does not support
11116 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
11119 possible fixes for automake-1.5 - _LIBADD is reserved
11121 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
11123 * docs/faq/Makefile.am:
11124 * docs/manual/Makefile.am:
11125 * docs/manuals.mak:
11126 * docs/pwg/Makefile.am:
11128 possible fixes for automake-1.5
11130 2005-04-28 Wim Taymans <wim@fluendo.com>
11132 * gst/base/gstbasesink.c: (gst_basesink_base_init),
11133 (gst_basesink_pad_getcaps), (gst_basesink_init),
11134 (gst_basesink_do_sync):
11135 * gst/gstclock.c: (gst_clock_entry_new):
11136 * gst/gstevent.c: (gst_event_discont_get_value):
11137 * gst/gstpipeline.c: (pipeline_bus_handler),
11138 (gst_pipeline_change_state):
11139 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
11140 Better debugging of clocking info.
11141 Allow NULL values when getting discont values.
11143 2005-04-27 Wim Taymans <wim@fluendo.com>
11145 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
11146 * check/gst/gstpad.c: (gst_pad_suite):
11147 Increase timeout for checks.
11149 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11151 * check/Makefile.am:
11152 fix the broken rule for cleanup. Apparently this rule is
11153 only needed on FC2, so maybe this warrants further autotool
11156 2005-04-26 Wim Taymans <wim@fluendo.com>
11158 * gst/gsttrashstack.h:
11159 Ooohh. a nasty one! After having a failed pop() from the stack,
11160 it's possible that the stack is empty. In that case, don't
11161 follow the NULL pointer.
11163 2005-04-25 Wim Taymans <wim@fluendo.com>
11165 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11166 (gst_pad_set_checkgetrange_function),
11167 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
11168 (gst_pad_check_pull_range), (gst_pad_pull_range),
11169 (gst_static_pad_template_get_caps), (gst_pad_start_task),
11170 (gst_pad_pause_task), (gst_pad_stop_task):
11171 * gst/gstplugin.c: (gst_plugin_load):
11173 Remove gst_library_load as it does more harm than good with
11174 the new g_module flags.
11175 Revert bogus caps template check in pad linking, pad caps
11176 are important when linking not the template, which is more
11177 general than the current caps.
11179 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11181 * gst/autoplug/.cvsignore:
11182 * gst/autoplug/Makefile.am:
11183 * gst/autoplug/gstsearchfuncs.c:
11184 * gst/autoplug/gstsearchfuncs.h:
11185 * gst/autoplug/gstspider.c:
11186 * gst/autoplug/gstspider.h:
11187 * gst/autoplug/gstspideridentity.c:
11188 * gst/autoplug/gstspideridentity.h:
11189 * gst/autoplug/spidertest.c:
11192 2005-04-25 Wim Taymans <wim@fluendo.com>
11194 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11195 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
11196 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
11197 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
11199 Added stubs for unimplemented functions.
11201 2005-04-24 David Schleef <ds@schleef.org>
11203 * gst/gstpad.h: Disable some unimplemented functions. Wim,
11206 2005-04-24 David Schleef <ds@schleef.org>
11208 Convert everything from GstAtomicInt to g_atomic_int_*, and
11213 * gst/gstatomic_impl.h:
11221 * gst/gstdata_private.h:
11225 * gst/gstmessage.c:
11228 * gst/gststructure.c:
11229 * gst/gststructure.h:
11230 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
11233 2005-04-24 David Schleef <ds@schleef.org>
11235 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
11236 make the regressions tests work. Remove some code that is no
11238 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
11239 Disable warning for pads without templates.
11241 2005-04-24 David Schleef <ds@schleef.org>
11243 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
11244 functions that handle filtered links.
11245 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
11247 * gst/gstutils.c: Fix/remove utility functions that handle
11250 * gst/gstvalue.c: Add serialization/deserialization of caps
11251 * gst/parse/grammar.y: Ignore filtered caps when linking. This
11252 requires fixing so that the filter caps notation creates
11253 a capsfilter element and sets the filter_caps property. I
11254 think everyone probably wants to keep the shorthand notation.
11255 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
11256 * docs/gst/tmpl/gstpad.sgml:
11258 * gst/elements/gstelements.c: Register capsfilter element.
11259 * gst/Makefile.am: fix spacing
11260 * docs/random/ds/0.9-suggested-changes: random
11262 2005-04-23 David Schleef <ds@schleef.org>
11264 * gst/elements/Makefile.am:
11265 * gst/elements/gstcapsfilter.c: New element that acts like an
11266 identity, but filters caps. Will eventually replace filtered
11267 caps in pad linking.
11268 * gst/gstutils.c: (gst_element_create_all_pads): New function
11269 to create all the ALWAYS pads that are registered with an
11270 element class. This functionality should eventually be
11271 merged in with GstElement initialization.
11273 * testsuite/trigger/README: part of trigger test code that should
11274 have been checked in a long time ago.
11276 2005-04-23 David Schleef <ds@schleef.org>
11278 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
11279 needed with new versions of libtool (nobody will confirm this),
11280 and hard to carry around.
11281 * gst/autoplug/Makefile.am:
11282 * gst/base/Makefile.am:
11283 * gst/elements/Makefile.am:
11284 * gst/indexers/Makefile.am:
11285 * gst/schedulers/Makefile.am:
11286 * libs/gst/bytestream/Makefile.am:
11287 * libs/gst/control/Makefile.am:
11288 * libs/gst/dataprotocol/Makefile.am:
11289 * libs/gst/getbits/Makefile.am:
11291 2005-04-21 Wim Taymans <wim@fluendo.com>
11293 * docs/design/draft-push-pull.txt:
11294 * docs/design/part-MT-refcounting.txt:
11295 * docs/design/part-TODO.txt:
11296 * docs/design/part-caps.txt:
11297 * docs/design/part-events.txt:
11298 * docs/design/part-gstbus.txt:
11299 * docs/design/part-gstpipeline.txt:
11300 * docs/design/part-messages.txt:
11301 * docs/design/part-push-pull.txt:
11302 * docs/design/part-query.txt:
11305 2005-04-21 Wim Taymans <wim@fluendo.com>
11307 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
11308 (gst_message_new), (gst_message_new_error),
11309 (gst_message_new_warning), (gst_message_new_tag),
11310 (gst_message_new_state_changed), (gst_message_new_application),
11311 (gst_message_get_structure):
11312 * gst/gstmessage.h:
11313 * gst/gststructure.c: (gst_structure_set_parent_refcount),
11314 (gst_structure_copy_conditional):
11315 Use parent refcount in GstMessage to ensure GstStructure
11317 Cleaned up headers a bit.
11320 2005-04-20 Wim Taymans <wim@fluendo.com>
11322 * gst/base/gstbasesink.c: (gst_basesink_base_init),
11323 (gst_basesink_pad_getcaps), (gst_basesink_init),
11324 (gst_basesink_chain_unlocked):
11325 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
11326 (gst_type_find_helper):
11327 * gst/elements/gsttypefindelement.c:
11328 (gst_type_find_element_have_type), (gst_type_find_element_init),
11329 (stop_typefinding), (gst_type_find_element_handle_event),
11330 (find_suggest), (gst_type_find_element_chain),
11331 (gst_type_find_element_checkgetrange),
11332 (gst_type_find_element_getrange), (do_typefind),
11333 (gst_type_find_element_activate):
11334 * gst/gstbuffer.c: (_gst_buffer_sub_free),
11335 (gst_buffer_default_free), (gst_buffer_default_copy),
11336 (gst_buffer_set_caps):
11337 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
11338 (gst_caps_replace):
11339 * gst/gstmessage.c: (gst_message_new),
11340 (gst_message_new_state_changed):
11341 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11342 (gst_pad_set_checkgetrange_function),
11343 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
11344 (gst_pad_set_caps), (gst_pad_check_pull_range),
11345 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
11347 * gst/gsttypefind.c: (gst_type_find_register):
11348 Make gst_caps_replace() work like other _replace() functions.
11349 Use _caps_replace() where possible.
11350 Make sure _message_new() initialises its field.
11351 Add gst_static_pad_template_get_caps()
11354 2005-04-18 Andy Wingo <wingo@pobox.com>
11356 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
11357 on the peer, not the pad. I think that was a typo. Pass an extra
11358 arg to see if random access is possible. Activate the pads as
11359 PULL_RANGE if possible.
11361 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
11363 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
11364 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
11367 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11369 * docs/faq/using.xml:
11370 Add note on gstreamer-properties (#154996).
11372 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11374 * docs/random/bbb/optional-properties:
11375 Some analysis on optional properties.
11377 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11379 * docs/gst/tmpl/gstelementfactory.sgml:
11380 * gst/gstelement.h:
11381 * gst/gstelementfactory.c: (gst_element_factory_init),
11382 (gst_element_factory_cleanup), (gst_element_register),
11383 (__gst_element_factory_add_static_pad_template),
11384 (gst_element_factory_get_static_pad_templates),
11385 (gst_element_factory_can_src_caps),
11386 (gst_element_factory_can_sink_caps):
11387 * gst/registries/Makefile.am:
11388 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
11389 (gst_xml_registry_class_init), (gst_xml_registry_init),
11390 (gst_xml_registry_new), (gst_xml_registry_set_property),
11391 (gst_xml_registry_get_property), (get_time), (make_dir),
11392 (gst_xml_registry_get_perms_func),
11393 (plugin_times_older_than_recurse), (plugin_times_older_than),
11394 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
11395 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
11396 (add_to_char_array), (read_string), (read_uint), (read_enum),
11397 (load_pad_template), (load_feature), (load_plugin), (load_paths),
11398 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
11399 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
11400 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
11401 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
11402 (gst_xml_registry_rebuild):
11403 * gst/registries/gstlibxmlregistry.h:
11404 * tools/gst-compprep.c: (main):
11405 * tools/gst-inspect.c: (print_pad_templates_info):
11406 * tools/gst-xmlinspect.c: (print_element_info):
11407 Use libxml2 for registry parsing, use staticpadtemplates in
11408 elementfactories. Makes gst_init() +/- 10x faster.
11410 2005-04-12 Wim Taymans <wim@fluendo.com>
11412 * gst/base/Makefile.am:
11413 * gst/base/gstbasesink.c: (gst_basesink_base_init),
11414 (gst_basesink_pad_getcaps), (gst_basesink_init),
11415 (gst_basesink_event), (gst_basesink_change_state):
11416 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11417 (gst_basesrc_init), (gst_basesrc_query),
11418 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
11419 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
11420 (gst_basesrc_check_get_range), (gst_basesrc_loop),
11421 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
11422 (gst_basesrc_stop), (gst_basesrc_activate),
11423 (gst_basesrc_change_state):
11424 * gst/base/gsttypefindhelper.c: (helper_find_peek),
11425 (helper_find_suggest), (gst_type_find_helper):
11426 * gst/base/gsttypefindhelper.h:
11427 * gst/elements/Makefile.am:
11428 * gst/elements/gstelements.c:
11429 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11430 (gst_fakesink_get_times), (gst_fakesink_event),
11431 (gst_fakesink_preroll), (gst_fakesink_render):
11432 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11433 (gst_fakesrc_init), (gst_fakesrc_event_handler),
11434 (gst_fakesrc_get_property), (gst_fakesrc_create),
11435 (gst_fakesrc_start), (gst_fakesrc_stop):
11436 * gst/elements/gstfakesrc.h:
11437 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
11438 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
11439 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
11440 (gst_filesrc_create_read), (gst_filesrc_create),
11441 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
11442 (gst_filesrc_start):
11443 * gst/elements/gsttypefindelement.c:
11444 (gst_type_find_element_have_type), (gst_type_find_element_init),
11445 (start_typefinding), (stop_typefinding), (push_buffer_store),
11446 (gst_type_find_element_handle_event),
11447 (gst_type_find_element_chain),
11448 (gst_type_find_element_checkgetrange),
11449 (gst_type_find_element_getrange), (do_typefind),
11450 (gst_type_find_element_activate),
11451 (gst_type_find_element_change_state):
11452 * gst/elements/gsttypefindelement.h:
11453 * gst/gstpipeline.c: (pipeline_bus_handler):
11454 Added typefind helper.
11455 Small preroll fix in the base sink.
11456 Disable typefind code in basesrc.
11457 Crude port of typefindelement.
11461 2005-04-11 Wim Taymans <wim@fluendo.com>
11463 * check/gst/gstbus.c: (gstbus_suite):
11464 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
11465 * check/gstcheck.h:
11466 Fix up the timeout so that the test does not fail.
11468 2005-04-06 Wim Taymans <wim@fluendo.com>
11471 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11472 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
11473 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
11474 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
11475 (gst_basesrc_check_get_range), (gst_basesrc_loop),
11476 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
11477 (gst_basesrc_stop), (gst_basesrc_activate),
11478 (gst_basesrc_change_state), (basesrc_find_peek),
11479 (basesrc_find_suggest), (gst_basesrc_type_find):
11480 * gst/base/gstbasesrc.h:
11481 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
11482 (gst_filesrc_class_init), (gst_filesrc_init),
11483 (gst_filesrc_finalize), (gst_filesrc_set_location),
11484 (gst_filesrc_set_property), (gst_filesrc_get_property),
11485 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
11486 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
11487 (gst_filesrc_create_read), (gst_filesrc_create),
11488 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
11489 * gst/elements/gstfilesrc.h:
11490 * gst/gstelement.c: (gst_element_get_state_func),
11491 (gst_element_lost_state), (gst_element_pads_activate):
11492 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11493 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
11494 (gst_pad_pull_range):
11496 More work on the generic source base class, implement seeking,
11498 Make filesrc extend the base source class.
11499 Added gst_pad_set_checkgetrange_function to GstPad.
11501 2005-04-06 Andy Wingo <wingo@pobox.com>
11503 * pkgconfig/gstreamer-base.pc.in:
11504 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
11506 * pkgconfig/Makefile.am:
11507 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
11509 2005-04-04 Wim Taymans <wim@fluendo.com>
11511 * gst/base/Makefile.am:
11513 * gst/base/gstbasesink.c: (gst_basesink_base_init),
11514 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
11515 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
11516 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
11517 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11518 (gst_basesrc_base_init), (gst_basesrc_class_init),
11519 (gst_basesrc_init), (gst_basesrc_get_formats),
11520 (gst_basesrc_get_query_types), (gst_basesrc_query),
11521 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
11522 (gst_basesrc_set_property), (gst_basesrc_get_property),
11523 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
11524 (gst_basesrc_loop), (gst_basesrc_activate),
11525 (gst_basesrc_change_state):
11526 * gst/base/gstbasesrc.h:
11527 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
11528 (gst_fakesrc_class_init), (gst_fakesrc_init),
11529 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
11530 (gst_fakesrc_get_property), (gst_fakesrc_create):
11531 * gst/elements/gstfakesrc.h:
11532 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
11533 (gst_filesrc_open_file), (gst_filesrc_loop),
11534 (gst_filesrc_activate), (filesrc_find_peek),
11535 (gst_filesrc_type_find):
11536 Made base source class, make fakesrc extend it.
11537 Add comments to basesink class.
11538 Some filesrc cleanup.
11540 2005-03-31 David Schleef <ds@schleef.org>
11542 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
11543 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
11544 expected to link against libgstreamer.
11545 * gst/base/Makefile.am: link against libgstreamer
11546 * gst/elements/Makefile.am: same
11548 2005-03-31 Andy Wingo <wingo@pobox.com>
11550 * tests/instantiate/Makefile.am:
11551 * tests/instantiate/caps.c: Add test to test speed of caps copy
11554 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
11555 GMemChunk to be fair.
11557 * gst/gsttrashstack.h: Remove warning about using the fallback
11558 trash stack implementation, it's still faster than malloc.
11560 2005-03-30 Andy Wingo <wingo@pobox.com>
11562 * tests/complexity.c: Add a copyright.
11564 2005-03-31 Wim Taymans <wim@fluendo.com>
11566 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
11567 (gst_base_transform_class_init), (gst_base_transform_init),
11568 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
11569 (gst_base_transform_get_property),
11570 (gst_base_transform_sink_activate),
11571 (gst_base_transform_src_activate),
11572 (gst_base_transform_change_state):
11573 * gst/base/gstbasetransform.h:
11574 * gst/elements/gstidentity.c: (gst_identity_class_init),
11575 (gst_identity_event), (gst_identity_check_perfect),
11576 (gst_identity_transform), (gst_identity_start),
11577 (gst_identity_stop):
11578 Added start/stop methods to transform base class so subclasses
11579 don't need to deal with state changes even.
11581 2005-03-31 Wim Taymans <wim@fluendo.com>
11583 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
11584 (gst_event_new_discontinuous), (gst_event_discont_get_value):
11586 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11587 (gst_pad_pull_range):
11588 Added rate to the discont event to prepare for variable speed
11589 and reverse playback.
11591 2005-03-29 David Schleef <ds@schleef.org>
11594 * testsuite/trigger/Makefile.am:
11595 * testsuite/trigger/trigger.c: A little example program to show
11596 how trigger-based elements can work.
11598 2005-03-29 Wim Taymans <wim@fluendo.com>
11600 * gst/base/Makefile.am:
11602 * gst/base/gstbasesink.c: (gst_basesink_get_type),
11603 (gst_basesink_base_init), (gst_basesink_class_init),
11604 (gst_basesink_pad_getcaps), (gst_basesink_init),
11605 (gst_basesink_activate), (gst_basesink_change_state):
11606 * gst/base/gstbasesink.h:
11607 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
11608 (gst_base_transform_base_init), (gst_base_transform_finalize),
11609 (gst_base_transform_class_init), (gst_base_transform_init),
11610 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
11611 (gst_base_transform_event), (gst_base_transform_getrange),
11612 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
11613 (gst_base_transform_set_property),
11614 (gst_base_transform_get_property),
11615 (gst_base_transform_sink_activate),
11616 (gst_base_transform_src_activate),
11617 (gst_base_transform_change_state):
11618 * gst/base/gstbasetransform.h:
11619 * gst/elements/gstidentity.c: (gst_identity_finalize),
11620 (gst_identity_class_init), (gst_identity_init),
11621 (gst_identity_event), (gst_identity_check_perfect),
11622 (gst_identity_transform), (gst_identity_set_property),
11623 (gst_identity_get_property), (gst_identity_change_state):
11624 * gst/elements/gstidentity.h:
11625 * gst/gstelement.c: (gst_element_get_state_func),
11626 (gst_element_lost_state), (gst_element_pads_activate):
11627 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11628 (gst_pad_check_pull_range), (gst_pad_pull_range):
11630 Simplify pad activation.
11631 Added function to check if pull_range can be performed.
11632 Error out when pulling inactive or flushing pads.
11633 Removed const from refcounted types as it does not make sense.
11634 Simplify pad templates in basesink
11635 Added base class for simple 1-to-1 transforms.
11636 Make identity subclass the base transform.
11638 2005-03-29 Andy Wingo <wingo@pobox.com>
11640 * docs/libs/gstreamer-libs-overrides.txt:
11641 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
11642 really don't understand what's going on, but like whatever. I want
11645 * docs/gst/Makefile.am:
11646 * docs/libs/Makefile.am: Dist the overrides files.
11648 * check/Makefile.am (clean-local): Remove .libs directories.
11650 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
11651 elements to EXTRA_DIST, so po/ files are happy.
11653 * po/POTFILES.in: Er, remove it here.
11655 * po/POTFILES: Remove gstspider.c.
11657 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
11659 * docs/libs/gstreamer-libs-docs.sgml:
11660 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
11663 * tests/complexity.c (main): Set the length of the preroll queue
11664 on the sinks to prevent a lockup.
11666 * libs/gst/dataprotocol/Makefile.am:
11667 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
11668 the same as the one in check/gst-libs/gdp.c.
11670 * po/, docs/gst/: Commit automatic changes to docs and po files.
11672 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
11673 the versioned libgstbase.
11675 * check/Makefile.am: Depend on an unversioned gst-register, seems
11676 to make autoconf happier.
11678 * gst/base/Makefile.am: Make libgstbase a versioned lib.
11680 2005-03-28 Wim Taymans <wim@fluendo.com>
11683 * docs/design/part-gstelement.txt:
11684 * docs/design/part-negotiation.txt:
11685 * docs/design/part-preroll.txt:
11686 * docs/design/part-scheduling.txt:
11687 * docs/design/part-states.txt:
11689 * gst/base/Makefile.am:
11691 * gst/base/gstbasesink.c: (gst_basesink_get_template),
11692 (gst_basesink_base_init), (gst_basesink_class_init),
11693 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
11694 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
11695 (gst_basesink_set_pad_functions),
11696 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
11697 (gst_basesink_set_property), (gst_basesink_get_property),
11698 (gst_base_sink_get_template), (gst_base_sink_get_caps),
11699 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
11700 (gst_basesink_preroll_queue_push),
11701 (gst_basesink_preroll_queue_empty),
11702 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
11703 (gst_basesink_event), (gst_basesink_get_times),
11704 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
11705 (gst_basesink_chain_unlocked), (gst_basesink_chain),
11706 (gst_basesink_loop), (gst_basesink_activate),
11707 (gst_basesink_change_state):
11708 * gst/base/gstbasesink.h:
11709 * gst/elements/Makefile.am:
11710 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
11711 (gst_fakesink_class_init), (gst_fakesink_init),
11712 (gst_fakesink_set_property), (gst_fakesink_get_property),
11713 (gst_fakesink_get_times), (gst_fakesink_event),
11714 (gst_fakesink_preroll), (gst_fakesink_render),
11715 (gst_fakesink_change_state):
11716 * gst/elements/gstfakesink.h:
11717 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
11718 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
11719 * gst/gstelement.c: (gst_element_add_pad),
11720 (gst_element_get_state_func), (gst_element_abort_state),
11721 (gst_element_commit_state), (gst_element_lost_state),
11722 (gst_element_set_state), (gst_element_pads_activate):
11723 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
11724 * gst/gstpipeline.c: (gst_pipeline_send_event),
11725 (gst_pipeline_change_state):
11726 Added state change code.
11727 Added/updated docs.
11728 Added sink base class, make fakesink extend the base class.
11729 Small cleanups in GstPipeline.
11731 2005-03-26 David Schleef <ds@schleef.org>
11733 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
11734 is broken and should be implemented in a different library.
11735 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
11736 * gst/gst.h: remove gstcpu.h
11737 * gst/gstcpu.c: remove
11738 * gst/gstcpu.h: remove
11739 * gst/Makefile.am.future: Remove this file. It's ancient.
11741 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11743 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
11744 (gst_bin_send_event):
11745 Add default event/set_manager handlers. The set_manager handler
11746 takes care that the manager is distributed over kids that were
11747 already in the bin before the manager was set. The event handler
11748 is a utility virtual function that sends the event over all sinks,
11749 so that gst_element_send_event (bin, event); has the expected
11751 * gst/gstpad.c: (gst_pad_event_default):
11752 Re-install default event handling for discontinuities, so that
11753 seeking works without requiring hacks in applications or extra
11755 * gst/gstpipeline.c: (gst_pipeline_class_init),
11756 (gst_pipeline_send_event):
11757 Half hack, half utility: set a pipeline to PAUSED for seek events,
11758 since that is the only way we can guarantee a/v sync. Means that
11759 you can do gst_element_seek (pipeline, method, pos); on a pipeline
11760 and it "just works".
11762 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11764 * gst/gstpipeline.c: (gst_pipeline_use_clock):
11765 Lock/unlock mismatch.
11767 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
11769 * docs/faq/gst-uninstalled:
11770 add gst-plugins-base
11771 * docs/gst/Makefile.am:
11772 don't error out until docs are fixed
11773 * docs/gst/gstreamer.types:
11776 2005-03-22 Wim Taymans <wim@fluendo.com>
11778 * check/Makefile.am:
11779 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
11780 * gst/gststructure.c: (gst_structure_set_valist),
11781 (gst_structure_copy_conditional):
11782 Activated more tests.
11783 Added message test.
11784 Added G_TYPE_POINTER to GstStructure.
11787 2005-03-22 Wim Taymans <wim@fluendo.com>
11789 * docs/design/part-TODO.txt:
11790 * docs/design/part-events.txt:
11791 * docs/design/part-gstbin.txt:
11792 * docs/design/part-gstbus.txt:
11793 * docs/design/part-gstpipeline.txt:
11794 * docs/design/part-messages.txt:
11796 * gst/gstmessage.c:
11799 2005-03-21 Wim Taymans <wim@fluendo.com>
11801 * gst/gstbus.c: (gst_bus_post):
11802 Fix copy-and-paste error.
11804 2005-03-21 Wim Taymans <wim@fluendo.com>
11806 * check/Makefile.am:
11808 * gst/elements/Makefile.am:
11809 * gst/elements/gstelements.c:
11810 * gst/elements/gstfakesink.c: (gst_fakesink_init),
11811 (gst_fakesink_event), (gst_fakesink_chain):
11812 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11813 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
11814 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
11815 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
11816 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
11817 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
11818 (gst_fakesrc_loop), (gst_fakesrc_activate),
11819 (gst_fakesrc_change_state):
11820 * gst/elements/gstfakesrc.h:
11821 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
11822 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
11823 (gst_filesrc_open_file), (gst_filesrc_loop),
11824 (gst_filesrc_activate), (gst_filesrc_change_state),
11825 (filesrc_find_peek), (filesrc_find_suggest),
11826 (gst_filesrc_type_find):
11827 * gst/elements/gstidentity.c: (gst_identity_finalize),
11828 (gst_identity_class_init), (gst_identity_init),
11829 (gst_identity_proxy_getcaps), (identity_queue_push),
11830 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
11831 (gst_identity_getrange), (gst_identity_chain),
11832 (gst_identity_sink_loop), (gst_identity_src_loop),
11833 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
11834 (gst_identity_set_property), (gst_identity_get_property),
11835 (gst_identity_change_state):
11836 * gst/elements/gstidentity.h:
11837 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11838 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
11839 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
11840 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
11841 (gst_tee_sink_activate):
11842 * gst/elements/gsttee.h:
11843 * gst/gst.c: (gst_register_core_elements), (init_post):
11845 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
11846 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
11847 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
11848 (gst_bin_change_state):
11850 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
11851 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
11852 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
11853 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
11854 (gst_bus_set_sync_handler), (gst_bus_create_watch),
11855 (bus_watch_callback), (bus_watch_destroy),
11856 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
11857 (poll_timeout), (gst_bus_poll):
11861 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
11862 (gst_element_post_message), (gst_element_message_full),
11863 (gst_element_get_state_func), (gst_element_get_state),
11864 (gst_element_abort_state), (gst_element_commit_state),
11865 (gst_element_lost_state), (gst_element_set_state),
11866 (gst_element_pads_activate), (gst_element_change_state),
11867 (gst_element_dispose), (gst_element_set_manager_func),
11868 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
11869 (gst_element_set_manager), (gst_element_get_manager),
11870 (gst_element_set_bus), (gst_element_get_bus),
11871 (gst_element_set_scheduler), (gst_element_get_scheduler):
11872 * gst/gstelement.h:
11873 * gst/gstevent.c: (gst_event_new_segment_seek),
11874 (gst_event_new_flush):
11876 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
11877 (_gst_message_free), (gst_message_get_type), (gst_message_new),
11878 (gst_message_new_eos), (gst_message_new_error),
11879 (gst_message_new_warning), (gst_message_new_tag),
11880 (gst_message_new_state_changed), (gst_message_new_application),
11881 (gst_message_get_structure), (gst_message_parse_tag),
11882 (gst_message_parse_state_changed), (gst_message_parse_error),
11883 (gst_message_parse_warning):
11884 * gst/gstmessage.h:
11885 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
11886 (gst_real_pad_set_property), (gst_pad_set_active),
11887 (gst_pad_is_active), (gst_pad_set_blocked_async),
11888 (gst_pad_set_blocked), (gst_pad_is_blocked),
11889 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
11890 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
11891 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
11892 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
11893 (gst_pad_link_filtered), (gst_pad_relink_filtered),
11894 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
11895 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
11896 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
11897 (gst_pad_set_caps), (gst_pad_configure_sink),
11898 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
11899 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
11900 (gst_real_pad_dispose), (gst_real_pad_finalize),
11901 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
11902 (gst_pad_event_default_dispatch), (gst_pad_event_default),
11903 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
11905 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
11906 (pipeline_bus_handler), (gst_pipeline_change_state),
11907 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
11908 * gst/gstpipeline.h:
11910 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
11911 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
11912 (gst_queue_link_src), (gst_queue_bufferalloc),
11913 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
11914 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
11915 (gst_queue_loop), (gst_queue_handle_src_event),
11916 (gst_queue_handle_src_query), (gst_queue_src_activate),
11917 (gst_queue_change_state):
11919 * gst/gstscheduler.c: (gst_scheduler_init),
11920 (gst_scheduler_dispose), (gst_scheduler_create_task),
11921 (gst_scheduler_factory_create):
11922 * gst/gstscheduler.h:
11923 * gst/gststructure.c: (gst_structure_get_type),
11924 (gst_structure_copy_conditional):
11925 * gst/gststructure.h:
11926 * gst/gsttaginterface.h:
11927 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
11928 (gst_task_init), (gst_task_dispose), (gst_task_create),
11929 (gst_task_get_state), (gst_task_start), (gst_task_stop),
11935 * gst/schedulers/Makefile.am:
11936 * gst/schedulers/cothreads_compat.h:
11937 * gst/schedulers/entryscheduler.c:
11938 * gst/schedulers/faircothreads.c:
11939 * gst/schedulers/faircothreads.h:
11940 * gst/schedulers/fairscheduler.c:
11941 * gst/schedulers/gstbasicscheduler.c:
11942 * gst/schedulers/gstoptimalscheduler.c:
11943 * gst/schedulers/gthread-cothreads.h:
11944 * gst/schedulers/threadscheduler.c:
11945 (gst_thread_scheduler_task_get_type),
11946 (gst_thread_scheduler_task_class_init),
11947 (gst_thread_scheduler_task_init),
11948 (gst_thread_scheduler_task_start),
11949 (gst_thread_scheduler_task_stop),
11950 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
11951 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
11952 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
11953 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
11955 * libs/gst/Makefile.am:
11956 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
11957 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
11958 (gst_file_pad_parent_set):
11959 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
11960 (gst_dp_event_from_packet):
11961 * tests/complexity.c: (main):
11962 * tests/mass_elements.c: (main):
11963 * testsuite/states/locked.c: (message_received), (main):
11964 * testsuite/states/parent.c: (main):
11965 * tools/gst-inspect.c: (print_element_flag_info),
11966 (print_implementation_info), (print_pad_info):
11967 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
11969 * tools/gst-md5sum.c: (event_loop), (main):
11970 * tools/gst-typefind.c: (main):
11971 * tools/gst-xmlinspect.c: (print_element_info):
11973 Added GstBus for mainloop integration.
11974 Added GstMessage for sending notifications on the bus.
11975 Added GstTask as an abstraction for pipeline entry points.
11977 Removed Schedulers.
11978 Simplified GstQueue for multithreaded core.
11979 Made _link threadsafe, removed old capsnego.
11980 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
11981 Added pad blocking functions.
11982 Reworked scheduling functions in GstPad to prepare for
11983 scheduling updates soon.
11984 Moved events out of data stream.
11985 Simplified GstEvent types.
11986 Added return values to push/pull.
11987 Removed clocking from GstElement.
11988 Added prototypes for state change function for next merge.
11989 Removed iterate from bins and state change management.
11990 Fixed some elements, disabled others for now.
11991 Fixed -inspect and -launch.
11992 Added check for GstBus.
11994 2005-03-10 Wim Taymans <wim@fluendo.com>
11996 * docs/design/part-MT-refcounting.txt:
11997 * docs/design/part-clocks.txt:
11998 * docs/design/part-gstelement.txt:
11999 * docs/design/part-gstobject.txt:
12000 * docs/design/part-standards.txt:
12001 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12002 (gst_bin_remove_func), (gst_bin_remove):
12006 * testsuite/clock/clock1.c: (main):
12007 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
12009 * testsuite/dlopen/loadgst.c: (do_test):
12010 * testsuite/refcounting/bin.c: (add_remove_test1),
12011 (add_remove_test2), (main):
12012 * testsuite/refcounting/element.c: (main):
12013 * testsuite/refcounting/element_pad.c: (main):
12014 * testsuite/refcounting/pad.c: (main):
12015 * tools/gst-launch.c: (sigint_handler_sighandler):
12016 * tools/gst-typefind.c: (main):
12018 Added doc about clock.
12019 removed gst_bin_iterate_recurse_up(), marked methods
12021 Fix more testsuites.
12023 2005-03-09 Wim Taymans <wim@fluendo.com>
12025 * gst/gstpad.c: (gst_pad_get_direction),
12026 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
12027 (gst_pad_collect_valist):
12028 * testsuite/bins/interface.c: (main):
12029 * testsuite/caps/audioscale.c: (test_caps):
12030 * testsuite/caps/caps.c: (test1), (test2), (test3):
12031 * testsuite/caps/deserialize.c: (main):
12032 * testsuite/caps/enumcaps.c: (main):
12033 * testsuite/caps/filtercaps.c: (main):
12034 * testsuite/caps/intersect2.c: (main):
12035 * testsuite/caps/random.c: (main):
12036 * testsuite/caps/renegotiate.c: (my_fixate), (main):
12037 * testsuite/caps/sets.c: (check_caps):
12038 * testsuite/caps/simplify.c: (check_caps), (main):
12039 * testsuite/caps/subtract.c: (check_caps):
12040 Fix _pad_get_direction wrt ghostpads.
12041 Fix caps testsuite.
12043 2005-03-09 Wim Taymans <wim@fluendo.com>
12045 * check/Makefile.am:
12046 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
12047 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
12048 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
12049 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
12050 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
12051 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
12052 (gst_bin_remove), (gst_bin_iterate_recurse_up),
12053 (bin_element_is_sink), (gst_bin_iterate_sinks),
12054 (gst_bin_iterate_all_by_interface):
12056 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
12057 (gst_element_change_state), (gst_element_dispose),
12058 (gst_element_finalize), (gst_element_set_loop_function):
12059 * gst/gstelement.h:
12060 * gst/gstiterator.c: (find_custom_fold_func):
12061 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12062 (gst_pad_collectv), (gst_pad_collect_valist),
12063 (gst_pad_template_new):
12064 * gst/gstpipeline.c: (gst_pipeline_class_init),
12065 (gst_pipeline_dispose), (gst_pipeline_set_property),
12066 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
12067 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
12068 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
12070 * gst/schedulers/entryscheduler.c:
12071 * gst/schedulers/gstbasicscheduler.c:
12072 (gst_basic_scheduler_cothreaded_chain),
12073 (gst_basic_scheduler_chain_add_element):
12074 * testsuite/bins/interface.c: (main):
12076 Added GstSystemClock test.
12077 Implemented clock distribution code in GstBin.
12078 Implemented iterate sinks method for future use.
12079 Rearranged gstelement.h
12080 Fix GstIterator comparison bug.
12081 Moved some code to GstPipeline, mostly clocking related.
12083 2005-03-09 Wim Taymans <wim@fluendo.com>
12086 * gst/gst_private.h:
12087 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12088 (gst_bin_remove_func), (gst_bin_remove),
12089 (gst_bin_get_by_name_recurse_up):
12090 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
12091 (gst_clock_id_compare_func), (gst_clock_id_wait),
12092 (gst_clock_id_wait_async), (gst_clock_init),
12093 (gst_clock_adjust_unlocked), (gst_clock_get_time):
12094 * gst/gstelement.h:
12095 * gst/gstinfo.c: (_gst_debug_init):
12097 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12098 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
12100 Bump version number, we're now 0.9.0
12101 Add future debugging category.
12102 Fix NULL _unref() in _get_by_name_recurse_up
12103 Rearrange gstpad.h.
12106 2005-03-08 Wim Taymans <wim@fluendo.com>
12108 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
12109 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
12110 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
12111 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
12112 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
12113 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
12114 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
12115 * gst/elements/gstidentity.c: (gst_identity_class_init):
12116 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
12117 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
12118 * gst/elements/gstshaper.c: (gst_shaper_class_init):
12119 * gst/elements/gststatistics.c: (gst_statistics_class_init):
12120 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
12122 * gst/gstelement.c: (gst_element_class_init),
12123 (gst_element_base_class_init), (gst_element_init),
12124 (gst_element_get_random_pad), (gst_element_wait_state_change),
12125 (gst_element_change_state), (gst_element_dispose),
12126 (gst_element_finalize), (gst_element_set_loop_function):
12127 * gst/gstelement.h:
12128 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
12129 * gst/gstthread.c: (gst_thread_class_init),
12130 (gst_thread_release_children_locks), (gst_thread_change_state):
12131 * gst/schedulers/gstbasicscheduler.c:
12132 (gst_basic_scheduler_loopfunc_wrapper),
12133 (gst_basic_scheduler_chain_wrapper),
12134 (gst_basic_scheduler_src_wrapper),
12135 (gst_basic_scheduler_remove_element):
12136 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
12137 Remove threadsafe properties. Fix elements because GObject
12138 complains when installing a property before declaring a
12139 set/get_property handler.
12140 Rearrange gstelement.h file, use STATE macros for state locks.
12141 Free mutexes in the finalize method instead of dispose.
12143 2005-03-08 Wim Taymans <wim@fluendo.com>
12145 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
12146 * gst/gstthread.c: (gst_thread_release_children_locks):
12147 Added parentage check.
12148 Fix build og GstThread again.
12150 2005-03-08 Wim Taymans <wim@fluendo.com>
12152 * docs/design/part-MT-refcounting.txt:
12153 * docs/design/part-conventions.txt:
12154 * docs/design/part-gstobject.txt:
12155 * docs/design/part-relations.txt:
12156 * docs/design/part-standards.txt:
12157 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12158 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
12159 (gst_bin_get_by_name), (gst_bin_get_by_interface),
12160 (gst_bin_iterate_all_by_interface):
12163 * gst/gstelement.c: (gst_element_class_init),
12164 (gst_element_change_state), (gst_element_set_loop_function):
12165 * gst/gstelement.h:
12166 * gst/gstiterator.c:
12167 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
12168 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
12169 (gst_object_dispatch_properties_changed), (gst_object_set_name),
12170 (gst_object_set_parent), (gst_object_unparent),
12171 (gst_object_check_uniqueness):
12173 Docs updates, clean up some headers.
12175 2005-03-07 Wim Taymans <wim@fluendo.com>
12177 * check/.cvsignore:
12178 * check/Makefile.am:
12179 * check/gst-libs/.cvsignore:
12180 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
12181 * check/gst/.cvsignore:
12182 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
12183 (START_TEST), (gstbus_suite), (main):
12184 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
12185 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
12186 (gst_data_suite), (main):
12187 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
12188 (add_fold_func), (gstiterator_suite), (main):
12189 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
12190 (thread_name_object), (thread_name_object_default),
12191 (gst_object_name_compare), (gst_object_suite), (main):
12192 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
12193 (gst_pad_suite), (main):
12194 * check/gstcheck.c: (gst_check_log_message_func),
12195 (gst_check_log_critical_func), (gst_check_init):
12196 * check/gstcheck.h:
12197 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
12198 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
12201 2005-03-07 Wim Taymans <wim@fluendo.com>
12203 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
12204 (gst_list_iterator_next), (gst_list_iterator_resync),
12205 (gst_list_iterator_free), (gst_iterator_new_list),
12206 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
12207 (gst_iterator_free), (gst_iterator_push), (filter_next),
12208 (filter_resync), (filter_uninit), (filter_free),
12209 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
12210 (gst_iterator_foreach), (find_custom_fold_func),
12211 (gst_iterator_find_custom):
12212 * gst/gstiterator.h:
12213 Added missing files.
12215 2005-03-07 Wim Taymans <wim@fluendo.com>
12219 * docs/design/part-MT-refcounting.txt:
12220 * docs/design/part-conventions.txt:
12221 * docs/design/part-gstobject.txt:
12222 * docs/design/part-relations.txt:
12223 * examples/mixer/mixer.c: (main):
12224 * examples/thread/thread.c: (eos), (main):
12226 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
12227 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
12228 (gst_spider_plug_from_srcpad):
12229 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
12230 (gst_spider_identity_change_state),
12231 (gst_spider_identity_sink_loop_type_finding):
12232 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
12233 * gst/elements/gstidentity.c: (gst_identity_init):
12234 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
12235 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
12236 * gst/elements/gsttypefindelement.c: (free_entry):
12239 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
12240 (gst_bin_set_clock_func), (gst_bin_auto_clock),
12241 (gst_bin_set_index), (gst_bin_set_element_sched),
12242 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
12243 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
12244 (gst_bin_iterate_elements), (iterate_child_recurse),
12245 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
12246 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
12247 (compare_interface), (gst_bin_get_by_interface),
12248 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
12250 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
12251 (gst_buffer_default_free), (gst_buffer_default_copy),
12252 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
12253 (gst_buffer_create_sub):
12255 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
12256 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
12257 (gst_caps_unref), (gst_static_caps_get),
12258 (gst_caps_remove_and_get_structure), (gst_caps_append),
12259 (gst_caps_append_structure), (gst_caps_remove_structure),
12260 (gst_caps_copy_nth), (gst_caps_set_simple),
12261 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
12262 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
12263 (gst_caps_structure_intersect_field), (gst_caps_intersect),
12264 (gst_caps_structure_subtract_field), (gst_caps_subtract),
12265 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
12266 (gst_caps_structure_figure_out_union),
12267 (gst_caps_switch_structures), (gst_caps_do_simplify),
12268 (gst_caps_replace), (gst_caps_from_string),
12269 (gst_caps_copy_conditional):
12271 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
12272 (_gst_clock_id_free), (gst_clock_id_unref),
12273 (gst_clock_id_compare_func), (gst_clock_id_wait),
12274 (gst_clock_id_wait_async), (gst_clock_class_init),
12275 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
12276 (gst_clock_get_time), (gst_clock_set_time_adjust),
12277 (gst_clock_set_property), (gst_clock_get_property):
12280 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
12281 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
12283 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
12284 (gst_element_requires_clock), (gst_element_provides_clock),
12285 (gst_element_set_clock), (gst_element_clock_wait),
12286 (gst_element_wait), (gst_element_set_time_delay),
12287 (gst_element_is_indexable), (gst_element_add_pad),
12288 (gst_element_add_ghost_pad), (gst_element_remove_pad),
12289 (pad_compare_name), (gst_element_get_static_pad),
12290 (gst_element_request_pad), (gst_element_get_request_pad),
12291 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
12292 (gst_element_class_get_pad_template_list),
12293 (gst_element_class_get_pad_template), (gst_element_error_func),
12294 (gst_element_get_random_pad), (gst_element_get_event_masks),
12295 (gst_element_send_event), (gst_element_seek),
12296 (gst_element_get_query_types), (gst_element_query),
12297 (gst_element_get_formats), (gst_element_convert),
12298 (gst_element_is_locked_state), (gst_element_set_locked_state),
12299 (gst_element_sync_state_with_parent), (gst_element_change_state),
12300 (gst_element_finalize), (gst_element_yield),
12301 (gst_element_interrupt), (gst_element_set_scheduler),
12302 (gst_element_get_scheduler), (gst_element_set_loop_function):
12303 * gst/gstelement.h:
12305 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
12306 (gst_format_get_by_nick), (gst_format_get_details),
12307 (gst_format_iterate_definitions):
12309 * gst/gstindex.c: (gst_index_gtype_resolver):
12312 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
12313 (gst_mem_chunk_free):
12314 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
12315 (gst_object_ref), (gst_object_unref), (gst_object_sink),
12316 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
12317 (gst_object_dispatch_properties_changed),
12318 (gst_object_set_name_default), (gst_object_set_name),
12319 (gst_object_get_name), (gst_object_set_name_prefix),
12320 (gst_object_get_name_prefix), (gst_object_set_parent),
12321 (gst_object_get_parent), (gst_object_unparent),
12322 (gst_object_check_uniqueness), (gst_object_save_thyself),
12323 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
12324 (gst_object_set_property), (gst_object_get_property),
12325 (gst_object_get_path_string):
12327 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
12328 (gst_real_pad_init), (gst_real_pad_get_property),
12329 (gst_pad_custom_new), (gst_pad_get_direction),
12330 (gst_pad_set_active), (gst_pad_is_active),
12331 (gst_pad_set_event_function), (gst_pad_is_linked),
12332 (gst_pad_link_free), (gst_pad_link_intersect),
12333 (gst_pad_link_fixate), (gst_pad_set_caps),
12334 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
12335 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
12336 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
12337 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
12338 (gst_pad_get_caps), (gst_pad_peer_get_caps),
12339 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
12340 (gst_pad_realize), (gst_pad_get_allowed_caps),
12341 (gst_real_pad_dispose), (gst_real_pad_finalize),
12342 (gst_pad_collectv), (gst_pad_collect_valist),
12343 (gst_pad_template_dispose), (gst_pad_template_new),
12344 (gst_pad_get_internal_links):
12346 * gst/gstpipeline.c: (gst_pipeline_dispose),
12347 (gst_pipeline_change_state):
12348 * gst/gstpipeline.h:
12350 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
12351 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
12352 * gst/gstpluginfeature.h:
12353 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
12354 * gst/gstquery.c: (_gst_query_type_initialize),
12355 (gst_query_type_register), (gst_query_type_get_by_nick),
12356 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
12358 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
12359 * gst/gstscheduler.c: (gst_scheduler_add_element),
12360 (gst_scheduler_factory_create):
12361 * gst/gststructure.c: (gst_structure_set_parent_refcount),
12362 (gst_structure_free), (gst_structure_set_name),
12363 (gst_structure_id_set_value), (gst_structure_set_value),
12364 (gst_structure_set_valist), (gst_structure_remove_field),
12365 (gst_structure_remove_fields),
12366 (gst_structure_remove_fields_valist),
12367 (gst_structure_remove_all_fields), (gst_structure_foreach),
12368 (gst_structure_map_in_place),
12369 (gst_caps_structure_fixate_field_nearest_int),
12370 (gst_caps_structure_fixate_field_nearest_double):
12371 * gst/gststructure.h:
12372 * gst/gstsystemclock.c: (gst_system_clock_class_init),
12373 (gst_system_clock_init), (gst_system_clock_dispose),
12374 (gst_system_clock_async_thread),
12375 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
12376 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
12377 * gst/gstsystemclock.h:
12378 * gst/gsttag.c: (gst_tag_list_add_value_internal),
12379 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
12380 * gst/gsttaginterface.c:
12381 * gst/gstthread.c: (gst_thread_dispose),
12382 (gst_thread_release_children_locks), (gst_thread_change_state),
12383 (gst_thread_main_loop):
12384 * gst/gsttrashstack.h:
12385 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
12387 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
12388 (gst_element_request_pad), (gst_element_get_pad_from_template),
12389 (gst_element_request_compatible_pad),
12390 (gst_element_get_compatible_pad_filtered),
12391 (gst_element_get_compatible_pad), (gst_element_state_get_name),
12392 (gst_element_link_pads_filtered), (gst_element_link_filtered),
12393 (gst_element_link_many), (gst_element_link),
12394 (gst_element_link_pads), (gst_element_unlink_pads),
12395 (gst_element_unlink_many), (gst_element_unlink),
12396 (gst_pad_can_link_filtered), (gst_pad_can_link),
12397 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
12398 (gst_object_default_error), (gst_bin_add_many),
12399 (gst_bin_remove_many), (gst_element_populate_std_props),
12400 (gst_element_class_install_std_props), (gst_buffer_merge),
12401 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
12402 (link_fold_func), (gst_pad_proxy_setcaps):
12404 * gst/gstvalue.c: (gst_value_deserialize_string):
12405 * gst/parse/grammar.y:
12406 * gst/schedulers/gstbasicscheduler.c:
12407 (gst_basic_scheduler_cothreaded_chain),
12408 (gst_basic_scheduler_chain_recursive_add),
12409 (gst_basic_scheduler_pad_link):
12410 * gst/schedulers/gstoptimalscheduler.c:
12411 (get_group_schedule_function),
12412 (gst_opt_scheduler_state_transition),
12413 (gst_opt_scheduler_add_element), (element_get_reachables_func):
12414 * libs/gst/bytestream/bytestream.c:
12415 * libs/gst/dataprotocol/dataprotocol.c:
12416 (gst_dp_header_from_buffer):
12419 * tests/threadstate/threadstate2.c: (eos):
12420 * tools/gst-compprep.c: (main):
12421 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
12422 (print_pad_info), (print_children_info):
12423 * tools/gst-launch.c: (idle_func), (main):
12424 * tools/gst-md5sum.c: (idle_func), (main):
12425 * tools/gst-xmlinspect.c: (print_element_info):
12426 First THREADED backport attempt, focusing on adding locks and
12427 making sure the API is threadsafe. Needs more work. More docs
12430 2005-02-24 Andy Wingo <wingo@pobox.com>
12432 * tests/bench-complexity.scm:
12433 * tests/complexity.gnuplot: New files, good for running complexity
12436 * tests/Makefile.am:
12437 * tests/complexity.c: New test, sets up N elements, at each level
12438 teeing into M streams per element. Eeeenteresting.
12440 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
12441 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
12442 running bench-mass_elements.scm.
12444 * tests/bench-mass_elements.scm: New script, runs mass_elements
12445 for various numbers of identities, outputting the results to a
12446 file. Requires guile 1.6. Just for testing.
12448 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
12450 * gst/schedulers/fairscheduler.c:
12451 compile with debug disabled
12453 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
12456 hunting season on 0.9 is now OPEN