1 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
3 * win32/vs6/libgstbase.dsp:
4 * win32/vs6/libgstelements.dsp:
5 update project files for new locations
7 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17 * docs/random/LICENSE:
20 2005-11-30 Edward Hervey <edward@fluendo.com>
22 * gst/gsttypefind.c: (gst_type_find_register):
24 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
25 (gst_type_find_factory_dispose):
26 * gst/gsttypefindfactory.h:
27 Fix memory leak in GstTypeFindFactory.
29 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
32 * plugins/elements/Makefile.am:
33 * plugins/elements/gstelements.c:
34 * plugins/elements/gstqueue.c:
35 move queue from core to the elements plugin
37 2005-11-29 Andy Wingo <wingo@pobox.com>
39 * libs/gst/base/gstbasetransform.h:
40 * libs/gst/base/gstbasesrc.h:
41 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
43 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
44 of pointers by which to pad very extensible base classes (like the
45 ones in libs/gst/base).
47 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
49 * docs/gst/gstreamer-docs.sgml:
50 * docs/gst/gstreamer-sections.txt:
51 * docs/libs/gstreamer-libs-docs.sgml:
52 * docs/libs/gstreamer-libs-sections.txt:
53 moving documentation from core to lib
55 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
59 * docs/gst/Makefile.am:
61 * gst/base/.cvsignore:
62 * gst/base/Makefile.am:
64 * gst/base/gstadapter.c:
65 * gst/base/gstadapter.h:
66 * gst/base/gstbasesink.c:
67 * gst/base/gstbasesink.h:
68 * gst/base/gstbasesrc.c:
69 * gst/base/gstbasesrc.h:
70 * gst/base/gstbasetransform.c:
71 * gst/base/gstbasetransform.h:
72 * gst/base/gstcollectpads.c:
73 * gst/base/gstcollectpads.h:
74 * gst/base/gstpushsrc.c:
75 * gst/base/gstpushsrc.h:
76 * gst/base/gsttypefindhelper.c:
77 * gst/base/gsttypefindhelper.h:
78 * gst/check/Makefile.am:
79 * gst/check/gstcheck.c:
80 * gst/check/gstcheck.h:
81 * gst/net/Makefile.am:
83 * gst/net/gstnetclientclock.c:
84 * gst/net/gstnetclientclock.h:
85 * gst/net/gstnettimepacket.c:
86 * gst/net/gstnettimepacket.h:
87 * gst/net/gstnettimeprovider.c:
88 * gst/net/gstnettimeprovider.h:
89 * libs/gst/Makefile.am:
90 * libs/gst/base/Makefile.am:
91 * libs/gst/base/gstbasetransform.c:
92 * libs/gst/check/Makefile.am:
93 * plugins/elements/Makefile.am:
95 CVS surgery + support to move base, check, and net out of gst
98 2005-11-29 Andy Wingo <wingo@pobox.com>
100 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
102 * gst/gststructure.h (struct _GstStructure): Only one pointer of
105 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
107 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
109 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
111 * gst/gstobject.h: (struct _GstObject): Only one pointer of
112 padding; reduces object size by about 30%. We don't expect
113 anything else to go into gstobject.
115 * gst/gstminiobject.h (struct _GstMiniObject)
116 (struct _GstMiniObjectClass): Only one pointer of padding; the
117 payload is only a pointer and two ints anyway. For the class there
118 are only two methods as well.
120 * gst/gstelement.h (struct _GstElementClass): Removed
121 the state_changed signal callback, it is not used.
123 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
125 * docs/gst/gstreamer.types:
126 fix includes, though they are a little dinky
128 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
131 look in the right place for elements, a lot more chance of
134 remove indexers and elements subdirs
135 * plugins/Makefile.am:
136 make indexers conditional
138 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
142 * plugins/elements/Makefile.am:
143 * plugins/elements/gstcapsfilter.c:
144 * plugins/elements/gstfilesink.c:
145 * plugins/elements/gstfilesrc.c:
146 * plugins/elements/gstidentity.c:
147 * plugins/indexers/Makefile.am:
148 do CVS surgery and related build fixery to move elements
149 and indexers in a new gstreamer/plugins directory, out of the
152 2005-11-29 Andy Wingo <wingo@pobox.com>
155 * pkgconfig/gstreamer-net-uninstalled.pc.in:
156 * pkgconfig/gstreamer-net.pc.in:
157 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
160 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
163 * tools/gst-complete.1.in:
164 * tools/gst-complete.c:
165 * tools/gst-compprep.1.in:
166 * tools/gst-compprep.c:
167 removing -compprep and -complete
169 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
171 * gst/gstevent.c: (gst_event_new_new_segment),
172 (gst_event_parse_new_segment):
174 fix #320529 - clean up new_segment API and structure.
175 Let's hope everyone was using the methods, and not the structure.
177 2005-11-29 Edward Hervey <edward@fluendo.com>
179 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
180 (gst_base_sink_event), (gst_base_sink_do_sync),
181 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
182 Properly handle non GST_FORMAT_TIME segment
183 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
184 Properly handle non GST_FORMAT_TIME segment
186 This function is valid if the accumulator is 0 and the format
187 is different from the requested format.
189 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
191 * docs/gst/gstreamer-sections.txt:
192 Add gst_query_new_seeking and gst_query_parse_seeking to the
195 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
197 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
198 Treat a pad alloc with new caps the same as if we were not
199 negotiated, in order to allow a changing upstream output
200 to produce a new format of data.
202 2005-11-29 Edward Hervey <edward@fluendo.com>
204 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
205 (gst_base_transform_event), (gst_base_transform_eventfunc):
206 The event virtual method is now properly implemented, with a default
208 Sub classes should call the parent_class event method. They should
209 return FALSE if they had a problem handling the given event, or don't
210 want GstBaseTransform to send that even downstream
211 * gst/elements/gstidentity.c: (gst_identity_class_init),
212 (gst_identity_init), (gst_identity_event),
213 (gst_identity_transform_ip), (gst_identity_set_property),
214 (gst_identity_get_property):
215 * gst/elements/gstidentity.h:
216 Added the single-segment boolean property.
217 If set to TRUE, it will output a single segment of data, starting from
218 0, will eat up all incoming newsegment, and modify the timestamp of the
221 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
223 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
224 Don't ref NULL target pad (#322751). Improve docs.
226 2005-11-29 Michael Smith <msmith@fluendo.com>
228 * gst/gstregistryxml.c: (load_plugin):
229 Don't crash if we failed to load a feature from a plugin.
231 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
233 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
235 use more check API and less GLib API
237 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
240 don't run checks if we don't have check
242 remove the registry when running make torture
243 * docs/gst/gstreamer-sections.txt:
244 remove second multiply
245 * gst/gstqueue.c: (gst_queue_loop):
246 fix a compile warning when disabling debug
248 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
251 Hey! Let's print the pad name if the pointer != NULL instead
252 of when it == NULL :-)
254 2005-11-28 Wim Taymans <wim@fluendo.com>
256 * check/gst/gstutils.c: (GST_START_TEST):
257 Updated check, add some scaling accuracy checking code.
259 * gst/gstutils.c: (gst_util_div128_64),
260 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
261 (gst_util_uint64_scale_int):
262 Fix 6 times faster division code. Optimize for common
263 1/1 and less common X/1 cases.
265 2005-11-28 Wim Taymans <wim@fluendo.com>
267 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
270 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
271 (do_linear_regression), (gst_clock_add_observation):
273 Release lock when the clock cannot be slaved.
274 Catch the case where the regression returned an invalid denominator.
276 * gst/gstutils.c: (gst_util_div128_64_iterate),
277 (gst_util_div128_64), (gst_util_uint64_scale_int64),
278 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
279 Add protentially more performant non-iterative 128/64 divide function
280 that unfortunatly does not work yet.
281 Shortcut the trivial 0/X = 0 case.
282 Remove the warnings on overflow.
284 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
286 * gst/gstplugin.c: (gst_plugin_register_func):
287 everything causing a plugin not to load should be at least a WARNING
289 2005-11-28 Stefan Kost <ensonic@users.sf.net>
291 * docs/random/ensonic/dparams.txt:
292 some TODOs for the next dev cycle
293 * libs/gst/controller/gstcontroller.c:
294 (gst_controlled_property_set_interpolation_mode),
295 (gst_controlled_property_new):
296 * libs/gst/controller/gstcontroller.h:
297 use base type to assign acccessor functions
299 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
302 Oops, that should have been top_srcdir
304 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
307 * check/elements/fdsrc.c: (GST_START_TEST):
308 Use a cmdline define to specify the location of a file to use for
309 testing, to avoid breaking distcheck.
311 2005-11-28 Andy Wingo <wingo@pobox.com>
313 * gst/gstpad.c (fixate_value): Use array functions for arrays.
315 2005-11-28 Edward Hervey <edward@fluendo.com>
317 * tools/gst-launch.c: (main):
318 Clarify the output strings, makes it easier to translate.
321 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
324 don't try and build net if we don't even have <sys/socket.h>
326 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
329 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
330 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
331 Add tests for fdsrc seekability
333 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
334 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
335 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
336 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
337 * gst/elements/gstfdsrc.h:
338 fdsrc should not be a 'live' source.
339 Implement seeking on seekable fd's.
341 * gst/gstquery.c: (gst_query_new_seeking),
342 (gst_query_parse_seeking):
344 Implement SEEKING query functions:
345 *_new_seeking and *_parse_seeking
347 2005-11-27 Stefan Kost <ensonic@users.sf.net>
349 * gst/gstelement.c: (gst_element_dispose):
353 * gst/gststructure.c:
356 * libs/gst/controller/gstcontroller.c:
357 (gst_controlled_property_set_interpolation_mode):
358 * libs/gst/controller/gstcontroller.h:
359 * libs/gst/controller/gstinterpolation.c:
360 (interpolate_none_get_enum_value_array):
361 support controlling enums
363 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
366 Improve documentation for gst_value_union().
369 Change return value for union, intersect and subtract functions
370 from gint to gboolean.
372 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
374 * gst/gstvalue.c: (gst_value_serialize_any_list),
375 (gst_value_transform_any_list_string),
376 (gst_value_deserialize_list), (gst_value_deserialize_array),
377 (gst_value_set_int_range), (gst_value_deserialize_int_range),
378 (gst_value_set_double_range), (gst_value_deserialize_double_range),
379 (gst_value_set_fraction_range_full),
380 (gst_value_deserialize_fraction_range),
381 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
382 (gst_value_deserialize_boolean),
383 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
384 (gst_value_serialize_float), (gst_value_deserialize_float),
385 (gst_string_wrap), (gst_value_deserialize_string),
386 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
387 (gst_value_union_int_range_int_range),
388 (gst_value_intersect_int_range_int_range),
389 (gst_value_intersect_double_range_double_range),
390 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
391 (gst_value_subtract_int_range_int_range),
392 (gst_value_subtract_double_double_range),
393 (gst_value_subtract_double_range_double_range),
394 (gst_value_deserialize_fraction):
396 Use gint, gdouble and gchar in our API instead of int, double and
397 char (and make usage in gstvalue.c more consistent).
399 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
402 * libs/gst/controller/Makefile.am:
403 * libs/gst/dataprotocol/Makefile.am:
404 fix up Makefile.am and remove GST_ENABLE_NEW
406 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
410 * gst/base/Makefile.am:
411 * gst/check/Makefile.am:
412 * gst/elements/Makefile.am:
413 * gst/net/Makefile.am:
414 update LDFLAGS use some more
416 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
418 * common/m4/gst-doc.m4:
421 2005-11-26 Edward Hervey <edward@fluendo.com>
423 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
424 This shouldn't issue a g_warning since it returns NULL if it
425 couldn't find the plugin, and all functions using this behave
426 properly on a NULL return. Switching to a GST_WARNING.
428 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
430 * gst/gstbin.c: (gst_bin_handle_message_func):
431 Don't leak clock messages.
433 2005-11-25 Wim Taymans <wim@fluendo.com>
435 * gst/gstutils.c: (gst_util_uint64_scale_int64),
436 (gst_util_uint64_scale_int):
437 Optimisations, remove unneeded vars.
439 2005-11-25 Wim Taymans <wim@fluendo.com>
441 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
442 Added more checks for the high precision uint64 cases.
444 * gst/gstutils.c: (gst_util_uint64_scale_int64),
445 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
446 Implement high precission (guint64 * guint64) / guint64.
448 2005-11-24 Wim Taymans <wim@fluendo.com>
450 * gst/base/gstbasesrc.c: (gst_base_src_query):
451 Fix wrong percentage query.
453 * gst/gstutils.c: (gst_util_uint64_scale),
454 (gst_util_uint64_scale_int):
455 Add some more common cases that can be handled
456 efficiently to _scale.
458 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
460 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
461 (gst_mini_object_suite):
462 don't use check calls from threads; check probably isn't
463 threadsafe and using a lock to make it threadsafe would
464 defeat the purpose of this check
465 * gst/check/gstcheck.c:
466 * gst/check/gstcheck.h:
467 use GST_DEBUG some more
469 2005-11-24 Wim Taymans <wim@fluendo.com>
471 * gst/gstutils.c: (gst_util_uint64_scale),
472 (gst_util_uint64_scale_int):
473 Chain trivial case to _scale_int.
475 2005-11-24 Wim Taymans <wim@fluendo.com>
477 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
478 Added test for scaling.
483 * gst/gstutils.c: (gst_util_uint64_scale_int):
484 Implemented high precision scaling code.
486 2005-11-24 Stefan Kost <ensonic@users.sf.net>
489 do not crash on pad==NULL
491 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
493 Patch by: Stefan Kost
495 * common/gtk-doc.mak:
496 * docs/gst/Makefile.am:
497 * docs/libs/Makefile.am:
498 Fix distcheck issues for the libraries docs build
501 2005-11-24 Michael Smith <msmith@fluendo.com>
503 * docs/manual/basics-helloworld.xml:
504 Fix bug #315027: memory leak in example code in docs.
506 2005-11-24 Michael Smith <msmith@fluendo.com>
508 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
509 Unlock the PREROLL_LOCK in a failure case.
511 2005-11-24 Wim Taymans <wim@fluendo.com>
513 * docs/gst/gstreamer-sections.txt:
514 * gst/base/gstadapter.h:
515 * gst/base/gstbasesink.h:
516 * gst/base/gstbasesrc.h:
517 * gst/base/gstbasetransform.h:
518 * gst/base/gstpushsrc.h:
519 * gst/elements/gstfakesink.h:
520 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
521 * gst/elements/gstfakesrc.h:
522 * gst/elements/gstfilesink.h:
523 * gst/elements/gstfilesrc.h:
526 * gst/gstbuffer.c: (_gst_buffer_copy):
529 * gst/gstchildproxy.c:
532 * gst/gstelementfactory.c:
533 * gst/gstelementfactory.h:
537 * gst/gstinterface.h:
538 * gst/gstminiobject.c:
539 * gst/gstminiobject.h:
542 * gst/gstpadtemplate.h:
544 * gst/gstpluginfeature.h:
549 * gst/gsttagsetter.c:
550 * gst/gsttagsetter.h:
556 * gst/net/gstnetclientclock.c:
557 * gst/net/gstnetclientclock.h:
558 * gst/net/gstnettimepacket.c:
559 * gst/net/gstnettimeprovider.c:
560 * gst/net/gstnettimeprovider.h:
563 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
565 * configure.ac: back to HEAD
567 === release 0.9.6 ===
569 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
572 releasing 0.9.6, "Always On Time"
574 2005-11-23 Wim Taymans <wim@fluendo.com>
576 * docs/gst/gstreamer-sections.txt:
578 * gst/gsttagsetter.c:
580 * gst/net/gstnetclientclock.c:
581 * gst/net/gstnettimepacket.h:
584 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
586 * docs/faq/using.xml:
587 * docs/libs/tmpl/gstcontrol.sgml:
588 * docs/manual/advanced-dparams.xml:
589 * docs/manual/appendix-checklist.xml:
590 * docs/manual/basics-elements.xml:
591 * docs/pwg/other-source.xml:
592 * docs/random/moving-plugins:
594 * tools/gst-launch.1.in:
595 remove mentions of sinesrc
597 2005-11-23 Michael Smith <msmith@fluendo.com>
599 * docs/gst/gstreamer-sections.txt:
600 Update for new API and API changes.
602 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
604 Documentation typo fix.
605 * gst/net/gstnettimepacket.c:
606 Documentation fixes for arguments.
608 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
610 * gst/gststructure.c: (gst_structure_get_fraction),
611 (gst_structure_parse_value),
612 (gst_structure_fixate_field_nearest_fraction):
613 * gst/gststructure.h:
614 * gst/gstutils.c: (gst_util_uint64_scale_int):
616 * scripts/update-funcnames:
618 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
619 Make gst_structure_fixate_field_nearest_fraction take a numerator
620 and denominator argument instead of a GValue
621 add gst_structure_get_fraction helper function.
623 2005-11-23 Wim Taymans <wim@fluendo.com>
625 * docs/design/part-TODO.txt:
628 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
629 * gst/net/gstnetclientclock.h:
630 Use parent fields for timeout and window_size.
632 2005-11-23 Andy Wingo <wingo@pobox.com>
634 * check/net/gstnetclientclock.c (test_functioning): Adjust to
635 rate_num/rate_denom change.
637 * gst/net/gstnetclientclock.c
638 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
639 OBJECT_LOCK. Don't call add_observation with the lock.
641 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
643 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
645 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
646 deal with rate as a fraction whose numerator and denominator are
648 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
649 master; the other fields are protected by the SLAVE_LOCK.
650 (do_linear_regression): Note that this must be called with the
652 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
653 OBJECT_LOCK. Call set_calibration instead of touching the
655 (gst_clock_set_property, gst_clock_get_property): Protect
656 master/slave parameters with the SLAVE_LOCK.
658 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
659 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
660 note that all of the instance variables that add_observation and
661 the set_master functions use are protected by that lock and not
663 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
665 * gst/gstclock.c (gst_clock_add_observation): No longer requires
666 the caller to take the object lock.
668 2005-11-23 Wim Taymans <wim@fluendo.com>
670 * gst/gsterror.c: (_gst_core_errors_init):
672 Add error for clock stuff.
674 * gst/gstpipeline.c: (gst_pipeline_change_state),
675 (gst_pipeline_set_clock):
676 Post clock error when clock cannot be used in a pipeline.
678 2005-11-23 Stefan Kost <ensonic@users.sf.net>
680 * docs/gst/gstreamer-sections.txt:
681 make two symbols from gstinfo private for the docs
682 * gst/base/gstcollectpads.h:
684 fix doc typos, update docs
686 2005-11-22 Wim Taymans <wim@fluendo.com>
688 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
689 (gst_base_sink_wait), (gst_base_sink_do_sync),
690 (gst_base_sink_handle_event):
691 * gst/base/gstbasesink.h:
692 No need to store the clock, the parent element class already
695 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
696 Updates for clock_set returning a gboolean
698 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
699 (gst_clock_id_wait_async), (gst_clock_class_init),
700 (gst_clock_init), (gst_clock_finalize),
701 (gst_clock_get_internal_time), (gst_clock_get_time),
702 (gst_clock_slave_callback), (gst_clock_set_master),
703 (gst_clock_get_master), (do_linear_regression),
704 (gst_clock_add_observation), (gst_clock_set_property),
705 (gst_clock_get_property):
707 Implement master/slave. When setting a clock as a slave, a
708 periodic timeout is scheduled to sample master and slave times.
709 Then the slave clock is recalibrated to match offset and rate
711 Update logging a bit.
712 Add flag so that a clock can state that is cannot be slaved to
715 * gst/gstelement.c: (gst_element_set_clock):
717 The set clock returns a gboolean for when an element cannot
718 deal with the selected clock in the pipeline.
720 * gst/gstpipeline.c: (gst_pipeline_change_state),
721 (gst_pipeline_set_clock):
723 Handle the case where the selected clock cannot be set on
726 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
727 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
728 (gst_net_client_clock_set_property),
729 (gst_net_client_clock_get_property),
730 (gst_net_client_clock_observe_times):
731 * gst/net/gstnetclientclock.h:
732 Use regression code in GstClock parent, remove duplicated
735 2005-11-22 Michael Smith <msmith@fluendo.com>
737 * gst/gstutils.c: (gst_util_clock_time_scale):
739 * docs/gst/gstreamer-sections.txt:
740 Rename method to have extra underscore.
742 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
744 * gst/elements/Makefile.am:
745 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
746 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
747 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
748 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
749 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
750 * gst/elements/gstfakesrc.h:
751 * gst/gstqueue.c: (queue_leaky_get_type):
752 correctly fix GEnumValues so that nick is the short lowercase
754 * tools/gst-inspect.c: (print_element_properties_info):
755 also show the nick, since it's useful to use from parse_launch
759 2005-11-22 Michael Smith <msmith@fluendo.com>
761 * gst/gstutils.c: (gst_util_clocktime_scale):
763 * docs/gst/gstreamer-sections.txt:
764 Add util method for scaling a clocktime by a fraction. Useful
765 implementation is left as an exercise for the reader.
767 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
769 * gst/gstvalue.c: (gst_value_collect_fraction_range):
770 If needed, allocate storage in the destination value during
773 2005-11-22 Edward Hervey <edward@fluendo.com>
775 * docs/gst/gstreamer-sections.txt:
780 * gst/gstutils.c: (gst_util_set_object_arg):
781 * tools/gst-compprep.c: (main):
782 * tools/gst-inspect.c: (print_element_properties_info):
783 Removed GstURI, closes bug #321061
785 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
787 * check/gst/gststructure.c: (GST_START_TEST):
788 * gst/gststructure.c: (gst_structure_parse_value):
789 Oops, broke automatic string type parsing.
790 Add a test to catch it in future.
792 2005-11-22 Andy Wingo <wingo@pobox.com>
794 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
795 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
796 Actually rename the function implementations. Grr.
798 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
800 * check/gst/capslist.h:
802 * check/gst/gststructure.c: (GST_START_TEST),
803 (gst_structure_suite):
804 Test automatic value type detection in gst_structure_from_string.
805 * gst/gststructure.c: (gst_structure_parse_value):
806 Add fraction as a type we try and guess automatically in
807 caps/structure strings.
809 2005-11-22 Andy Wingo <wingo@pobox.com>
811 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
813 * gst/gsttagsetter.h:
814 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
815 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
816 (gst_tag_setter_add_tag_valist)
817 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
818 _add_values, _add_valist, and _add_valist_values. Since this is an
819 interface the function suffixes should be more explicit so
820 language binding don't end up with element.add_valist ->
821 gst_tag_setter_add_valist, for example. Fixes #322069.
823 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
825 * check/gst/gstcaps.c: (GST_START_TEST):
826 Extend caps string tests to check that a caps to string
827 conversion is reversible and produces the same caps.
829 * gst/gststructure.c: (gst_structure_value_get_generic_type):
830 Output "fraction" as the generic type fraction range, so caps
831 serialisation and deserialisation works.
832 * check/gst/capslist.h:
833 * gst/gstvalue.c: (gst_value_deserialize_fraction):
834 Support 'MIN' and 'MAX' for deserialising fractions.
836 2005-11-22 Andy Wingo <wingo@pobox.com>
838 * gst/gstevent.h (gst_event_new_new_segment)
839 (gst_event_parse_new_segment, gst_event_new_buffer_size)
840 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
841 Renamed from *_newsegment, *_buffersize, *_notarget.
843 * scripts/update-funcnames: New script, performs the changes
846 2005-11-22 Wim Taymans <wim@fluendo.com>
848 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
849 Make sure the GstFlowReturn is returned.
851 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
852 (gst_bus_add_signal_watch):
854 add gst_bus_add_signal_watch_full.
856 * gst/gstplugin.c: (gst_plugin_load_file):
859 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
861 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
862 Block the fakesrc srcpad when we send an event, to avoid
863 contention on the stream_lock causing random test failures.
865 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
867 * check/gst/gstvalue.c: (GST_START_TEST):
868 * gst/gstvalue.c: (gst_value_fraction_subtract):
871 2005-11-22 Stefan Kost <ensonic@users.sf.net>
874 include "gstchildproxy.h"
875 * gst/gstchildproxy.h:
876 * libs/gst/controller/gstcontroller.h:
877 use G_GNUC_NULL_TERMINATED
879 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
881 * check/gst/capslist.h:
882 * check/gst/gstcaps.c: (GST_START_TEST):
883 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
884 * gst/gststructure.c: (gst_structure_parse_range),
885 (gst_structure_fixate_field_nearest_fraction):
886 * gst/gststructure.h:
887 * gst/gstvalue.c: (gst_value_init_fraction_range),
888 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
889 (gst_value_collect_fraction_range),
890 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
891 (gst_value_set_fraction_range_full),
892 (gst_value_get_fraction_range_min),
893 (gst_value_get_fraction_range_max),
894 (gst_value_serialize_fraction_range),
895 (gst_value_transform_fraction_range_string),
896 (gst_value_compare_fraction_range),
897 (gst_value_deserialize_fraction_range),
898 (gst_value_intersect_fraction_fraction_range),
899 (gst_value_intersect_fraction_range_fraction_range),
900 (gst_value_subtract_fraction_fraction_range),
901 (gst_value_subtract_fraction_range_fraction),
902 (gst_value_subtract_fraction_range_fraction_range),
903 (gst_value_collect_fraction), (gst_value_fraction_multiply),
904 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
905 (gst_value_transform_string_fraction), (_gst_value_initialize):
907 Implement fraction ranges and extend GstFraction to support
908 arithmetic subtraction, as well as deserialization from integer
909 strings such as "100"
910 Add a testsuite as for int and double range set operations
912 2005-11-21 Andy Wingo <wingo@pobox.com>
916 * gst/gststructure.h: Add glib-compat.h.
918 2005-11-21 Wim Taymans <wim@fluendo.com>
920 * gst/gstbin.c: (gst_bin_change_state_func):
923 2005-11-21 Wim Taymans <wim@fluendo.com>
926 And add a nice define too.
928 2005-11-21 Wim Taymans <wim@fluendo.com>
930 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
931 (gst_segment_new), (gst_segment_free), (gst_segment_init),
932 (gst_segment_set_duration), (gst_segment_set_last_stop),
933 (gst_segment_set_seek), (gst_segment_set_newsegment),
934 (gst_segment_to_stream_time), (gst_segment_to_running_time),
937 Make binding friendly.
939 2005-11-21 Andy Wingo <wingo@pobox.com>
941 * gst/gsttagsetter.h:
943 * gst/gststructure.h:
945 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
948 * gst/gsterror.c (_gst_core_errors_init):
949 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
952 * gst/Makefile.am (gst_headers): Add glib-compat.h.
953 (noinst_HEADERS): noinst the -private.
955 2005-11-21 Michael Smith <msmith@fluendo.com>
959 Remove unimplemented declarations for which we can see no sensible
962 2005-11-21 Andy Wingo <wingo@pobox.com>
964 * gst/gst.h: Include glib-compat.h.
966 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
968 * gst/glib-compat.c: Include the public and the private header.
970 * gst/glib-compat-private.h: Copied here from glib-compat.h.
974 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
976 * check/gst/gstevent.c (create_custom_events): Check that
977 FLUSH_STOP is serialized.
979 * check/elements/identity.c (event_func):
980 * check/elements/fakesrc.c (event_func): No stream lock, the core
983 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
984 stream lock taking, yay.
986 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
987 ensure that core takes the stream lock.
989 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
992 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
993 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
994 it already. For the flush start we do take it though so we get the
995 right preroll state change messages.
997 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
998 the stream lock here, the core does it for us.
1000 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
1001 GST_STREAM_GET_LOCK.
1002 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
1003 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
1004 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
1005 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
1006 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
1007 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
1009 * gst/gstpad.c: Update for stream lock name change.
1011 * gst/base/gstbasesink.c: Update for preroll lock name change.
1013 2005-11-21 Wim Taymans <wim@fluendo.com>
1015 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
1016 (gst_clock_get_master):
1018 * gst/gstsystemclock.c: (gst_system_clock_init):
1019 Convert Clock flags to object flags.
1020 Added methods to manage master/slave clocks.
1022 2005-11-21 Wim Taymans <wim@fluendo.com>
1024 * check/gst/gstsegment.c: (GST_START_TEST):
1025 * docs/design/part-TODO.txt:
1026 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1027 (gst_base_sink_event), (gst_base_sink_do_sync),
1028 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
1029 (gst_base_sink_query), (gst_base_sink_change_state):
1030 * gst/base/gstbasesink.h:
1031 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
1032 (gst_base_src_default_newsegment),
1033 (gst_base_src_configure_segment), (gst_base_src_do_seek),
1034 (gst_base_src_get_range), (gst_base_src_loop),
1035 (gst_base_src_change_state):
1036 * gst/base/gstbasesrc.h:
1037 * gst/base/gstbasetransform.c:
1038 (gst_base_transform_prepare_output_buf),
1039 (gst_base_transform_event), (gst_base_transform_change_state):
1040 * gst/base/gstbasetransform.h:
1041 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
1042 (gst_collect_pads_event):
1043 * gst/base/gstcollectpads.h:
1044 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
1045 (gst_fake_src_create):
1046 * gst/elements/gstfakesrc.h:
1047 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1048 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1049 (gst_segment_set_last_stop), (gst_segment_set_seek),
1050 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
1051 (gst_segment_to_running_time), (gst_segment_clip):
1053 More segment updates, replace code in plugins with segment
1056 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
1058 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
1059 Don't ignore sscanf results
1061 2005-11-21 Andy Wingo <wingo@pobox.com>
1063 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
1066 * *.c: Ran scripts/update-macros. Oh yes.
1068 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
1069 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
1072 * scripts/update-macros: New script. Run it on your files to
1073 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
1076 2005-11-21 Stefan Kost <ensonic@users.sf.net>
1078 * docs/gst/Makefile.am:
1079 * docs/gst/gstreamer-docs.sgml:
1080 * docs/gst/gstreamer-sections.txt:
1081 * docs/gst/gstreamer.types:
1083 more docs fixes, add new api to the docs
1085 2005-11-21 Andy Wingo <wingo@pobox.com>
1087 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
1088 state_broadcast call.
1090 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
1092 2005-11-21 Julien MOUTTE <julien@moutte.net>
1094 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
1095 function calls for arrays.
1097 2005-11-21 Stefan Kost <ensonic@users.sf.net>
1099 * docs/random/ensonic/media-device-daemon.txt:
1100 wild idea, can this be done?
1101 * docs/gst/gstreamer-sections.txt:
1106 * gst/gstpluginfeature.c:
1110 doc fixes and additions
1112 2005-11-21 Andy Wingo <wingo@pobox.com>
1114 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
1115 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
1116 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
1117 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
1118 private to the basesrc implementation.
1120 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
1121 behalf of event function if necessary. It should no longer be
1122 necessary to take the stream lock in pad's event functions. Fixes
1125 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
1126 * docs/gst/gstreamer-sections.txt:
1127 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
1128 (gst_structure_fixate_field_nearest_double),
1129 (gst_structure_fixate_field_boolean):
1130 * gst/gststructure.h:
1131 * win32/common/libgstreamer.def:
1132 * win32/gstreamer.def:
1134 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
1137 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
1139 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
1140 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
1141 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
1142 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
1143 (gst_fdsrc_uri_handler_init):
1144 * gst/elements/gstfdsrc.h:
1145 Port fd:// URI handler from 0.8 to fdsrc
1147 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1149 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
1150 (gst_value_serialize_fourcc):
1152 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
1153 consistent with our other format defines (#320324).
1155 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1157 * gst/gstvalue.c: (gst_value_is_fixed):
1158 Revert previous commit. Value lists are by definition
1159 not fixed, as they are a list of possible values.
1161 2005-11-21 Andy Wingo <wingo@pobox.com>
1163 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
1164 during the stable series if we need it. Fixes #319178.
1166 * gst/gstevent.c (gst_event_new_filler): Removed.
1168 * check/gst/gstevent.c: Update comment about filler events.
1170 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1172 * gst/gstvalue.c: (gst_value_is_fixed):
1173 Should handle both value arrays and value lists.
1175 2005-11-21 Andy Wingo <wingo@pobox.com>
1177 patch by: Alessandro Dessina <alessandro nnva org>
1179 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
1180 functions to access arrays. Fixes #321962.
1182 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1184 * docs/gst/gstreamer.types:
1185 gst_collectpads_get_type => gst_collect_pads_get_type.
1187 * gst/base/gstbasetransform.c:
1188 Remove unused SIGNAL_HANDOFF enum.
1190 2005-11-21 Andy Wingo <wingo@pobox.com>
1192 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
1193 the event type (upstream, downstream, serialized). Renamed
1194 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
1195 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
1196 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
1198 * gst/gstevent.c: Update for new CUSTOM event names.
1200 * check/gst/gstevent.c: Update check for new CUSTOM event names.
1203 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
1206 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1208 * docs/gst/gstreamer-sections.txt:
1209 * win32/common/libgstbase.def:
1210 * win32/libgstbase.def:
1211 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
1212 (gst_collect_pads_class_init), (gst_collect_pads_init),
1213 (gst_collect_pads_finalize), (gst_collect_pads_new),
1214 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
1215 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
1216 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
1217 (gst_collect_pads_start), (gst_collect_pads_stop),
1218 (gst_collect_pads_peek), (gst_collect_pads_pop),
1219 (gst_collect_pads_available), (gst_collect_pads_read),
1220 (gst_collect_pads_flush), (gst_collect_pads_event),
1221 (gst_collect_pads_chain):
1222 * gst/base/gstcollectpads.h:
1223 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
1224 unimplemented functions as unimplemented. Add padding to
1225 GstCollectData. (#320766, #320423)
1227 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1230 Improve docs for DURATION message (usage of duration parameter)
1233 2005-11-20 Wim Taymans <wim@fluendo.com>
1235 * check/Makefile.am:
1236 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
1240 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1241 (gst_segment_set_seek), (gst_segment_set_newsegment),
1242 (gst_segment_to_stream_time), (gst_segment_to_running_time),
1245 Added segment helper structure and methods. Not fully implemented
1247 Added segment check.
1249 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
1251 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1252 Add a deserialisation test for fractions
1253 * examples/metadata/read-metadata.c: (message_loop),
1254 (make_pipeline), (main):
1255 Fix up metadata reading sample.
1256 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1258 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1259 Don't try and fixate empty caps
1260 * gst/gst_private.h:
1261 Wrap in G_BEGIN_DECLS/G_END_DECLS
1262 * gst/gstvalue.c: (gst_value_collect_fraction),
1263 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
1264 (gst_value_transform_string_fraction),
1265 (gst_value_compare_fraction):
1266 Add some extra guards to ensure that we don't end up
1267 with an invalid denominator of 0 in a gstfraction and
1268 that fractions always get reduced.
1270 2005-11-20 Wim Taymans <wim@fluendo.com>
1272 * docs/gst/gstreamer-sections.txt:
1283 2005-11-20 Wim Taymans <wim@fluendo.com>
1285 * docs/design/part-TODO.txt:
1287 Make a proper enum of the flag.
1289 2005-11-19 Wim Taymans <wim@fluendo.com>
1291 * docs/design/part-TODO.txt:
1292 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
1293 (gst_format_to_quark), (gst_format_register):
1295 * gst/gstquery.c: (_gst_query_initialize),
1296 (gst_query_type_get_name), (gst_query_type_to_quark),
1297 (gst_query_type_register):
1299 Add type to quark and type to string conversions.
1301 2005-11-19 Andy Wingo <wingo@pobox.com>
1303 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
1306 2005-11-19 Wim Taymans <wim@fluendo.com>
1308 * docs/design/part-TODO.txt:
1309 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
1310 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
1311 (gst_bin_handle_message_func):
1313 Make message handling overridable.
1315 2005-11-19 Andy Wingo <wingo@pobox.com>
1317 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
1320 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
1322 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
1323 is a GstClockTime. Fixes #321710.
1325 * gst/gstclock.h (GstClock): Remove offset property. Add
1326 internal_calibration and external_calibration. Fix padding. Pad
1327 also by GstClockTime so we don't run into problems.
1329 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
1330 (gst_clock_get_rate_offset): Remove.
1331 (gst_clock_set_time_adjust): Remove. Fixes #321712.
1334 * gst/gstutils.c (g_static_rec_cond_wait)
1335 (g_static_rec_cond_timed_wait): Removed, no longer needed.
1337 * gst/gstbin.c: Remove terrible continue_state prototype.
1339 * gst/gstelement.h (gst_element_continue_state): Make public.
1342 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
1343 by continue_state. Fixes #319389.
1345 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
1346 Really fixes #168438. However I don't see anywhere where the
1347 filter function is called... stupid GStreamer...
1349 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
1350 don't have a dispose function, so it won't get called when the
1351 object is unreffed, but oh well!
1353 * gst/gstindex.c (gst_index_set_filter_full): New API function,
1354 allows a destroy function to be set so user_data can be freed.
1356 (gst_index_set_filter): Call gst_index_set_filter_full.
1358 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
1360 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
1361 string should produce an error, given the lack of a way to
1362 represent NULL strings. Fixes #165650.
1365 * gst/gstvalue.c (gst_value_array_append_value)
1366 (gst_value_array_prepend_value, gst_value_array_get_size)
1367 (gst_value_array_get_value): New API, copied from
1368 gst_value_list_*, only operates on arrays.
1369 (gst_value_list_append_value, gst_value_list_prepend_value)
1370 (gst_value_list_concat, gst_value_list_get_size)
1371 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
1373 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
1374 init_list, because it works on both.
1375 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
1376 (gst_value_copy_list_or_array): Renamed from copy_list.
1377 (gst_value_free_list_or_array): Renamed from free_list.
1378 (gst_value_collect_list_or_array): Renamed from collect_list.
1379 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
1380 (gst_value_list_or_array_peek_pointer): Renamed from
1382 (_gst_value_array_value_table, _gst_value_list_value_table):
1383 Update value table functions.
1384 (gst_value_compare_list_or_array): Renamed from compare_list.
1386 * gsttaglist.h: Whoops, foreach function returns void. Also fix
1390 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
1391 GstTagList*. Fixes #143472.
1393 * gst/gststructure.h: Clarify what the foreach/map functions can
1394 or can't do to their arguments.
1396 2005-11-18 Wim Taymans <wim@fluendo.com>
1398 * gst/gstclock.c: (gst_clock_set_calibration),
1399 (gst_clock_get_calibration):
1401 Calibration can be set with internal time equal to current
1404 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
1410 2005-11-18 Andy Wingo <wingo@pobox.com>
1413 * pkgconfig/gstreamer-net.pc.in:
1414 * pkgconfig/gstreamer-net-uninstalled.pc.in:
1415 * pkgconfig/Makefile.am: Add net pkgconfig files.
1417 2005-11-18 Stefan Kost <ensonic@users.sf.net>
1420 * gst/gstghostpad.c:
1426 2005-11-18 Andy Wingo <wingo@pobox.com>
1428 * gst/net/gstnetclientclock.c: Turn off debugging.
1430 * check/net/gstnetclientclock.c (test_functioning): Assert that the
1431 times connverge somewhat. Can't make a real test.
1433 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
1434 integer arithmetic. Return the minimum of the domain, which can be
1435 set as "internal" for gst_clock_set_calibration.
1436 (gst_net_client_clock_observe_times): Call _set_calibration.
1437 (gst_net_client_clock_new): Call _set_calibration instead of
1440 * check/net/gstnetclientclock.c (test_functioning): Use the right
1444 * gst/gstclock.c (gst_clock_get_calibration)
1445 (gst_clock_set_calibration): New functions, obsolete the ones I
1446 added yesterday. Doh. Precision issues mean we have to extrapolate
1447 from a point in the more recent past than 1970.
1448 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
1450 (gst_clock_adjust_unlocked): Use the right calibration data.
1452 2005-11-18 Edward Hervey <edward@fluendo.com>
1454 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
1455 Also reset the ->current_* values in READY->PAUSED
1457 2005-11-18 Andy Wingo <wingo@pobox.com>
1459 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
1460 Whoops, check the right fd. Also add some debugging.
1461 (gst_net_client_clock_observe_times): Adjust for int64 offset.
1462 (do_linear_regression): Add a crapload of debugging. Subtract off
1463 the minimum values from the input series to discard unneeded bits.
1464 Use only int arithmetic. There is still double arithmetic when
1465 calculating the intercept that needs fixing. Return boolean to
1466 indicate success; FALSE would mean the domain or range is too
1467 great. Still needs fixes.
1469 2005-11-18 Wim Taymans <wim@fluendo.com>
1471 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
1472 For the current position in stream time, we need to subtract
1475 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
1476 Release lock before calling the callback function of async
1479 2005-11-18 Andy Wingo <wingo@pobox.com>
1481 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
1482 Port goes all the way to MAXUINT16.
1484 * gst/net/gstnettimeprovider.c: Make the port range the same as
1485 for the kernel: 0 assigns, otherwise ports are less than
1488 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
1491 * check/net/gstnetclientclock.c (test_functioning): Add the start
1494 2005-11-18 Wim Taymans <wim@fluendo.com>
1496 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1497 (gst_bin_remove_func), (bin_bus_handler):
1499 Removing a clock provider from a bin, triggers a clock lost message
1500 so that a new clock will be selected.
1501 Adding a clock to a bin triggers a clock provider message.
1502 Make sure we reselect a clock when we received a clock lost message.
1503 Keep a reference to the element that provided the clock.
1505 2005-11-18 Andy Wingo <wingo@pobox.com>
1507 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
1508 the clock initially so it produces values around the base time.
1509 (gst_net_client_clock_class_init): Typo fix.
1510 (gst_net_client_clock_thread): Add note on when the socket gets
1513 2005-11-17 Wim Taymans <wim@fluendo.com>
1515 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
1516 Free remote and local time arrays.
1518 2005-11-17 Wim Taymans <wim@fluendo.com>
1520 * gst/net/gstnetclientclock.c: (do_linear_regression),
1521 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
1522 Fix compilation, uninitialized vars and a forgotten continue.
1524 2005-11-17 Andy Wingo <wingo@pobox.com>
1526 * check/Makefile.am (check_PROGRAMS):
1527 * check/net/gstnetclientclock.c: Add a most minimal test for the
1528 net client clock. More to come later.
1531 * gst/net/Makefile.am: Add netclientclock.
1533 * gst/net/gstnetclientclock.h:
1534 * gst/net/gstnetclientclock.c: New files, implement an untested
1535 GstClock that takes its time from a network time provider.
1536 Implements the algorithm in network-clock.scm.
1538 * tests/network-clock.scm (*window-size*): Rename from
1540 * tests/network-clock.scm (network-time):
1541 * tests/network-clock-utils.scm (q-push): Update callers.
1543 2005-11-17 Wim Taymans <wim@fluendo.com>
1545 * gst/gstbin.c: (gst_bin_provide_clock_func),
1546 (gst_bin_sort_iterator_new):
1547 And unref the child too..
1549 2005-11-17 Wim Taymans <wim@fluendo.com>
1551 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
1552 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
1553 Refactor the sort iterator so it can be used while holding the
1555 Make clock selection select a clock closest to the source.
1557 2005-11-17 Michael Smith <msmith@fluendo.com>
1559 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
1560 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
1562 Anonymous structs are a gcc (and some other compilers) extension, so
1563 don't use them. Since this is only for ABI-compatibility, and our
1564 API/ABI freeze is over in a few days, this whole thing will only
1565 last a few days, so don't bother trying to think up a meaningful
1566 name for the struct.
1568 2005-11-17 Andy Wingo <wingo@pobox.com>
1570 * gst/gstclock.h (GstClock): Add rate and offset properties,
1571 preserving ABI stability. Add rate/offset accessors. Will file bug
1572 for the freeze break.
1574 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
1575 and offset, trying to keep precision and avoiding
1577 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
1578 functions. Make gst_clock_set_time_adjust obsolete.
1579 (gst_clock_set_time_adjust): Note that this function is obsolete.
1582 * gst/base/gstbasetransform.h: Make the ABI-stability hack
1583 greppable by using GST_PADDING-1+1.
1585 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
1587 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1589 * gst/gstmessage.c: (gst_message_parse_clock_lost):
1590 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
1592 * gst/gstpadtemplate.h:
1593 * gst/gstpluginfeature.h:
1594 Don't use c++ style comments in headers (#321638).
1596 2005-11-16 Andy Wingo <wingo@pobox.com>
1598 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
1601 * check/net/gstnettimeprovider.c: Check to see that the time
1602 provider actually provides times. Works, yo!
1604 2005-11-16 Wim Taymans <wim@fluendo.com>
1606 * check/Makefile.am:
1609 * check/elements/fakesrc.c: (GST_START_TEST):
1610 Set element to NULL before disposing it.
1612 2005-11-16 Andy Wingo <wingo@pobox.com>
1614 * gst/net/Makefile.am:
1616 * gst/net/gstnettimeprovider.c:
1617 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
1618 provider, include it from gstnet.h, and add it to the build.
1620 * gst/net/gstnettimepacket.h:
1621 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
1622 sending and receiving.
1624 2005-11-16 Wim Taymans <wim@fluendo.com>
1626 * check/Makefile.am:
1627 Enable valgrind check.
1629 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
1630 (gst_fake_src_alloc_buffer):
1633 2005-11-16 Wim Taymans <wim@fluendo.com>
1635 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
1636 Call parent finalize too.
1638 2005-11-16 Wim Taymans <wim@fluendo.com>
1640 * check/Makefile.am:
1641 Enable valgrind check that should work fine now.
1643 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1644 * gst/gstqueue.c: (gst_queue_init):
1645 Fix memleaks in pad allocation.
1647 2005-11-16 Andy Wingo <wingo@pobox.com>
1649 * gst/net/Makefile.am:
1650 * gst/net/gstnet.h: New part of core to hold network elements and
1651 objects. Put in core because it exposes API that applications want
1652 to use. The library is named libgstnet-tempname right now because
1653 of the existing libgstnet in gst-plugins-base. Solution is
1654 probably to rename the one in plugins-base; will file a bug for
1657 * gst/net/gstnettimeprovider.c:
1658 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
1659 get_time call over the network.
1662 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
1664 * check/Makefile.am:
1665 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
1666 get additions shortly.
1668 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1670 * gst/gstpad.c: (gst_pad_new_from_static_template):
1672 add gst_pad_new_from_static_template functions
1673 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
1674 (gst_check_setup_sink_pad):
1675 * gst/elements/gsttee.c: (gst_tee_init):
1678 2005-11-16 Wim Taymans <wim@fluendo.com>
1680 * gst/gstpad.c: (gst_pad_pause_task):
1681 Removed warning, it's not really an error either.
1683 2005-11-16 Wim Taymans <wim@fluendo.com>
1685 * gst/base/gstbasetransform.c:
1686 (gst_base_transform_prepare_output_buf),
1687 (gst_base_transform_event):
1688 Check if the caps are NULL, this can happen if the element
1689 is shutting down and the pad caps are set to NULL.
1691 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1693 * gst/elements/gsttee.c: (gst_tee_init):
1694 fix pad template leak in tee
1696 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1698 * gst/glib-compat.c: (g_value_dup_gst_object):
1699 * gst/glib-compat.h:
1700 * gst/gstpad.c: (gst_pad_set_property):
1701 use gst_object_ref when setting the pad template; this will
1702 trigger the pad template leaks on GLib 2.6 and the slaves
1704 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1706 * gst/glib-compat.c: (gst_flags_get_first_value):
1707 * gst/glib-compat.h:
1708 * gst/gstregistryxml.c:
1709 remove functions copied from GLib 2.6
1711 2005-11-16 Michael Smith <msmith@fluendo.com>
1714 Don't link against VALGRIND_LIBS. That was always the wrong thing to
1715 do, but only breaks with newer valgrind versions. We're not a
1716 valgrind tool, we have no link-time dependencies on libcoregrind.
1718 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1720 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1725 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1727 * gst/base/gstbasesrc.c: (gst_base_src_init):
1728 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1729 * gst/gstqueue.c: (gst_queue_init):
1730 * gst/gstregistryxml.c: (load_feature):
1731 Revert all these unrefs, they don't even pass make check !
1733 2005-11-15 Johan Dahlin <johan@gnome.org>
1735 * gst/base/gstbasesrc.c: (gst_base_src_init):
1736 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1737 * gst/gstqueue.c: (gst_queue_init):
1738 Free pad templates, fixes a couple of leaks.
1740 2005-11-15 Daniel Fischer <dan at f3c dot com>
1742 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1744 * gst/gstpad.c: (gst_pad_get_property):
1745 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
1746 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
1749 2005-11-15 Wim Taymans <wim@fluendo.com>
1754 2005-11-15 Andy Wingo <wingo@pobox.com>
1756 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
1758 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
1759 using GST_CLOCK_TIME_NONE to disable base time management.
1760 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
1761 time if it was NONE before.
1762 (gst_pipeline_change_state): Only munge the base time if
1763 stream_time != GST_CLOCK_TIME_NONE.
1765 * check/gst/gstpipeline.c (test_base_time): Punt around the
1766 problem of the probe not being called, because that's not the
1767 issue I'm looking at. Add a check that setting stream_time to NONE
1768 disables base time management.
1770 2005-11-15 Wim Taymans <wim@fluendo.com>
1772 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
1773 segment_stop == -1 at startup.
1775 * gst/base/gstbasetransform.c: (gst_base_transform_event),
1776 (gst_base_transform_change_state):
1777 Init segment values at start.
1779 2005-11-15 Wim Taymans <wim@fluendo.com>
1781 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1782 0 segment values are 0 in any format.
1784 * gst/base/gstbasetransform.c: (gst_base_transform_event):
1785 * gst/base/gstbasetransform.h:
1786 Parse newsegment correctly in basetransform
1788 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1789 Sync to clock using updated segment values.
1791 2005-11-15 Andy Wingo <wingo@pobox.com>
1793 * check/gst/gstpipeline.c (test_base_time): Add check that the
1794 base time and stream time are reset correctly.
1796 2005-11-15 Wim Taymans <wim@fluendo.com>
1798 * docs/design/part-TODO.txt:
1799 Some more TODO items.
1801 2005-11-15 Andy Wingo <wingo@pobox.com>
1803 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
1804 error if the user selected "no clock" as the clocking method.
1806 * check/gst/gstpipeline.c (test_base_time): New test for buffer
1807 timestamps with live capture.
1809 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
1810 is 0 but we are a live source, timestamp the buffers using the
1813 2005-11-14 Stefan Kost <ensonic@users.sf.net>
1815 * docs/gst/gstreamer-sections.txt:
1817 * gst/gstghostpad.c:
1822 2005-11-14 Wim Taymans <wim@fluendo.com>
1825 add suppressions from Wim's Debian machine
1827 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
1830 add suppressions from Andy's AMD64 Ubuntu machine
1832 2005-11-14 Andy Wingo <wingo@pobox.com>
1834 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
1835 STATE_LOCK not necessary. Fixes #311489.
1837 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
1840 * gst/gstindex.c (gst_index_add_object): Note in the docs that
1841 this function is not implemented.
1843 2005-11-14 Julien MOUTTE <julien@moutte.net>
1845 * gst/base/gstbasetransform.c:
1846 (gst_base_transform_prepare_output_buf):
1847 Ref the source pad caps while we need them.
1850 2005-11-11 Wim Taymans <wim@fluendo.com>
1852 * docs/gst/gstreamer-sections.txt:
1853 Added some docs for GstCollectData.
1855 * gst/base/gstadapter.c:
1856 Some small code example fix.
1858 * gst/base/gstcollectpads.c:
1859 * gst/base/gstcollectpads.h:
1862 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
1864 * configure.ac: back to HEAD
1866 === release 0.9.5 ===
1868 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
1871 releasing 0.9.5, "Bike Lunch Day"
1873 2005-11-11 Wim Taymans <wim@fluendo.com>
1875 * gst/gstbuffer.c: (_gst_buffer_copy):
1878 * gst/gstcaps.c: (gst_caps_is_equal):
1880 Make _is_equal fast in the trivial cases.
1882 * gst/gstminiobject.c:
1883 * gst/gstminiobject.h:
1884 More docs. Spifify .h file.
1889 2005-11-11 Wim Taymans <wim@fluendo.com>
1891 * gst/base/gstbasetransform.c:
1892 (gst_base_transform_prepare_output_buf),
1893 (gst_base_transform_handle_buffer):
1895 If we're processing a buffer and need to allocate an output
1896 buffer, we cannot accept a format change. If we did get a
1897 format change, we have to alloc a buffer ourselves of the
1900 2005-11-11 Wim Taymans <wim@fluendo.com>
1902 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
1903 While checking the flag for reentrancy in the gstcaps function
1904 is nice to detect recursive invocations, it also makes it
1905 impossible to call getcaps from multiple threads, which must be
1906 possible. So, checking for recursive calls has to go.
1908 2005-11-11 Michael Smith <msmith@fluendo.com>
1910 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1911 Don't sync on buffers that fall partially outside our current
1912 segment. Prevents an assertion failure/abort playing some files.
1914 2005-11-10 Andy Wingo <wingo@pobox.com>
1916 * check/gst/gstbin.c (test_message_state_changed_children): Style
1919 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
1920 gst_bus_poll with the signal watch. Ensures that poll and a signal
1921 watch see the same messages.
1923 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
1924 a poll and a watch at the same time get the same messages.
1926 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
1928 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
1929 * gst/gstcaps.c: (gst_caps_intersect):
1930 Don't call gst_caps_do_simplify - it doesn't respect order of caps
1931 and it's not needed.
1933 2005-11-10 Wim Taymans <wim@fluendo.com>
1935 * docs/design/part-TODO.txt:
1938 2005-11-10 Wim Taymans <wim@fluendo.com>
1940 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1941 * gst/base/gstbasesrc.c: (gst_base_src_wait),
1942 (gst_base_src_do_sync), (gst_base_src_get_range):
1943 Implement clock sync in base class.
1945 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
1947 patch by: Tim-Philipp Müller <tim at centricular dot net>
1949 * gst/gststructure.c: (gst_structure_parse_field),
1950 (gst_structure_from_string):
1951 Forward-port a 0.8 patch to handle escaped spaces in structure string,
1952 so that gst_parse_launch() can deal with spaces in filtered link
1953 caps (fixes #164479)
1954 * check/gst/capslist.h:
1955 * check/gst/gststructure.c: (GST_START_TEST):
1956 add unit tests for this change
1958 2005-11-10 Wim Taymans <wim@fluendo.com>
1960 * docs/gst/gstreamer-sections.txt:
1963 Fix docs, move some STATE macros to private.
1965 2005-11-10 Wim Taymans <wim@fluendo.com>
1967 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
1968 Added check for bug #317341
1972 Some more spiffifying.
1974 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
1975 Call peer linkfunction if we are a source pad. Totally fixes
1979 Update docs, source pads should call the peer linkfunction
1980 so they can atomically perform the pad link.
1982 2005-11-09 Wim Taymans <wim@fluendo.com>
1986 Uber-spiffy-spiffify some more.
1988 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
1990 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
1991 * gst/elements/gstfilesink.c: (gst_file_sink_init):
1992 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1993 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
1994 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
1995 * gst/gstpad.c: (gst_pad_init):
1996 Use GST_DEBUG_FUNCPTR() more extensively.
1998 2005-11-09 Wim Taymans <wim@fluendo.com>
2000 * gst/gstobject.c: (gst_object_class_init):
2002 Documentation fixes.
2004 2005-11-09 Edward Hervey <edward@fluendo.com>
2006 * gst/gsttypefindfactory.c:
2009 2005-11-09 Edward Hervey <edward@fluendo.com>
2011 * gst/base/gsttypefindhelper.c:
2012 * gst/gsttypefind.c:
2013 * gst/gsttypefind.h:
2016 2005-11-09 Wim Taymans <wim@fluendo.com>
2018 * gst/gstiterator.c:
2025 2005-11-09 Wim Taymans <wim@fluendo.com>
2031 2005-11-09 Wim Taymans <wim@fluendo.com>
2033 * docs/gst/gstreamer-sections.txt:
2034 Moved the message async delivery private lock and cond
2035 to the private section.
2041 2005-11-09 Edward Hervey <edward@fluendo.com>
2043 * docs/gst/gstreamer-sections.txt:
2046 Document GstURIHandler
2048 2005-11-09 Wim Taymans <wim@fluendo.com>
2050 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
2051 (gst_iterator_find_custom):
2052 * gst/gstiterator.h:
2055 2005-11-09 Wim Taymans <wim@fluendo.com>
2058 Document another field.
2060 * gst/gststructure.c:
2061 * gst/gststructure.h:
2064 2005-11-09 Wim Taymans <wim@fluendo.com>
2069 2005-11-09 Wim Taymans <wim@fluendo.com>
2071 * docs/gst/gstreamer-sections.txt:
2072 Added some new macros.
2079 2005-11-09 Wim Taymans <wim@fluendo.com>
2081 * docs/design/part-TODO.txt:
2082 Some more items for the TODO
2088 2005-11-09 Andy Wingo <wingo@pobox.com>
2090 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
2091 to work on something else now tho...
2093 * gst/base/gstadapter.c: More adapter docs.
2095 * gst/elements/gstfilesink.c (gst_file_sink_start)
2096 (gst_file_sink_stop): New functions, replace the state change
2098 (gst_file_sink_class_init): Hook up the start and stop functions.
2099 (gst_file_sink_base_init): Don't set the state change handler any
2100 more. It was a bit ugly too, being set from here...
2101 (gst_file_sink_get_property, gst_file_sink_set_property):
2103 (gst_file_sink_set_location): More robust check that doesn't call
2106 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
2108 * gst/base/gstbasetransform.c: (gst_base_transform_event):
2109 Hold STREAM_LOCK while pushing newsegment or tag events as well.
2111 2005-11-08 Wim Taymans <wim@fluendo.com>
2113 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
2114 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
2115 (gst_base_sink_chain), (gst_base_sink_change_state):
2116 * gst/base/gstbasesink.h:
2117 * gst/base/gstbasesrc.h:
2120 Avoid excessive typechecking in macros.
2122 * gst/gstminiobject.c: (gst_mini_object_get_type),
2123 (gst_mini_object_init), (gst_mini_object_new),
2124 (gst_mini_object_free):
2125 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
2126 (gst_object_finalize):
2127 Remove cruft code, optimize alloc_trace.
2129 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
2131 * docs/faq/gst-uninstalled:
2132 fix up PS1 for systems that try to reset it
2134 2005-11-07 Wim Taymans <wim@fluendo.com>
2136 * gst/base/gstbasesrc.c: (gst_base_src_init),
2137 (gst_base_src_get_range):
2138 Set the segment_end to -1 initially. Fixed typefind.
2140 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
2142 * gst/base/gstadapter.c:
2143 Debug category should be 'adapter', not 'GstAdapter'.
2145 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
2146 (gst_collectpads_class_init), (gst_collectpads_init),
2147 (gst_collectpads_peek), (gst_collectpads_pop),
2148 (gst_collectpads_event), (gst_collectpads_chain):
2149 Add debug category and some debugging output. Use boilerplate
2150 macros. Remove some extraneous words from docs.
2152 2005-11-05 Andy Wingo <wingo@pobox.com>
2154 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
2157 2005-11-04 Stefan Kost <ensonic@users.sf.net>
2159 * docs/gst/gstreamer-sections.txt:
2162 * gst/gstminiobject.h:
2167 2005-11-04 Wim Taymans <wim@fluendo.com>
2169 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2170 Small update to stop at the configured segment_end
2173 2005-11-04 Stefan Kost <ensonic@users.sf.net>
2175 * gst/gstregistry.c:
2176 * gst/gstregistry.h:
2179 2005-11-04 Edward Hervey <edward@fluendo.com>
2181 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2182 Check if we are doing a segment seek and have arrived at the
2183 end of that segment.
2185 2005-11-04 Wim Taymans <wim@fluendo.com>
2187 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
2188 Don't leak a mutex unlock in case of an error.
2193 2005-11-04 Wim Taymans <wim@fluendo.com>
2195 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
2197 Get the context to wake up only once.
2199 2005-11-03 Wim Taymans <wim@fluendo.com>
2201 * check/states/sinks.c: (GST_START_TEST):
2202 Uncomment fixed check.
2204 * docs/design/part-TODO.txt:
2207 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2208 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
2209 (gst_base_sink_get_position):
2210 If we are going to PLAYING, post the right pending state
2211 when we post the intermediate paused message.
2213 * gst/gstelement.c: (gst_element_continue_state),
2214 (gst_element_set_state_func), (gst_element_change_state):
2215 Don't post state changes that were between the same state
2218 2005-11-03 Stefan Kost <ensonic@users.sf.net>
2220 * docs/gst/gstreamer-sections.txt:
2223 * gst/gstminiobject.h:
2226 more docs and doc style fixes
2228 2005-11-03 Stefan Kost <ensonic@users.sf.net>
2230 * docs/gst/gstreamer-sections.txt:
2232 * gst/gstminiobject.c:
2235 2005-11-03 Andy Wingo <wingo@pobox.com>
2237 * check/states/sinks.c (test_livesrc_sink): Add checks that the
2238 state-changed messages actually have the right order and the right
2241 2005-11-03 Wim Taymans <wim@fluendo.com>
2243 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
2244 Added some more checks. Specifically the case where NO_PREROLL
2245 elements are in the pipeline.
2247 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2248 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
2249 (gst_base_sink_get_position):
2250 Post READY->PAUSED state change messages too.
2251 Fix bug where VOID was posted as pending state...
2253 * gst/gstbin.c: (gst_bin_recalc_state):
2254 use _element_continue_state() to continue the state change.
2256 * gst/gstelement.c: (gst_element_continue_state),
2257 (gst_element_commit_state), (gst_element_set_state_func),
2258 (gst_element_change_state), (gst_element_change_state_func):
2259 Lots of state change cleanups, assign the STATE_RETURN in
2260 a new continue_state() function that also propagates the
2261 last return value from a state change to the app.
2262 Update some debug statements with proper category.
2264 2005-11-03 Wim Taymans <wim@fluendo.com>
2266 * docs/design/part-events.txt:
2267 * docs/design/part-gstpipeline.txt:
2268 * docs/design/part-messages.txt:
2269 * docs/design/part-overview.txt:
2270 * docs/design/part-seeking.txt:
2271 * docs/design/part-states.txt:
2272 * docs/design/part-trickmodes.txt:
2273 * docs/manual/advanced-position.xml:
2277 People think !! is ugly, this looks better.
2279 * gst/gstpad.c: (gst_pad_set_blocked_async):
2280 Remove !! since it's fixed elsewhere now.
2282 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
2284 * gst/gstminiobject.h:
2286 Add !! to _FLAG_IS_SET macros to make the result boolean.
2288 2005-11-03 Edward Hervey <edward@fluendo.com>
2290 * gst/gstpad.c: (gst_pad_set_blocked_async):
2291 comparing a flag and a gboolean rarely returns coherent results...
2292 Added two characters (!!) to make that work correctly.
2294 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
2296 * gst/gstbus.c: (gst_bus_class_init):
2299 * gst/gstqueue.c: (gst_queue_loop):
2300 Don't assume a miniobject that isn't a buffer is an
2301 event (it could be that there is a refcounting
2302 problem somewhere and the pointer is stale and
2303 refers to an already destroyed miniobject).
2305 2005-11-03 Julien MOUTTE <julien@moutte.net>
2307 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
2309 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
2311 * docs/manual/advanced-position.xml:
2312 Update seek example and explanations to current 0.9 API.
2314 * gst/elements/gsttypefindelement.c:
2315 (gst_type_find_element_activate):
2316 Remove FIXME comment now that the found caps
2319 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
2321 * gst/gstregistryxml.c: (load_feature):
2322 Add another GST_STR_NULL instance
2324 2005-11-02 Edward Hervey <edward@fluendo.com>
2326 * gst/gstpad.c: (handle_pad_block):
2327 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
2329 2005-11-02 Wim Taymans <wim@fluendo.com>
2334 * gst/gstelement.c: (gst_element_commit_state):
2335 Remove unused value.
2337 * gst/gstiterator.c:
2338 Mention that the returned element is reffed in the docs.
2340 2005-11-02 Wim Taymans <wim@fluendo.com>
2342 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
2343 (gst_pad_push), (gst_pad_push_event):
2344 Unlock blocked pads when they are flushed.
2346 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
2349 * docs/gst/gstreamer-sections.txt:
2352 * gst/gstregistry.c: (gst_registry_scan_path_level):
2353 fix for a nasty little missed situation where an installed plug-in
2354 which was in the cache did not get overridden by an uninstalled one
2355 which was earlier in the plugin path because the newly created plugin
2356 for the uninstalled one (not in the registry) didn't get its
2357 ->registered set to TRUE
2359 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
2361 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
2362 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
2363 (gst_collectpads_is_active), (gst_collectpads_collect),
2364 (gst_collectpads_collect_range), (gst_collectpads_start),
2365 (gst_collectpads_stop), (gst_collectpads_peek),
2366 (gst_collectpads_pop), (gst_collectpads_available),
2367 (gst_collectpads_read), (gst_collectpads_flush):
2368 Guard public API with assertions.
2371 Fix docs for gst_pad_set_link_function().
2373 2005-11-02 Johan Dahlin <johan@gnome.org>
2375 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
2376 Unref found_caps after we used it.
2378 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
2380 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
2381 Don't try to ref NULL.
2383 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
2385 * win32/common/config.h.in:
2386 provide a GST_FUNCTION that just gives a string for now
2388 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
2390 * win32/common/gstenumtypes.c: (register_gst_object_flags),
2391 (gst_object_flags_get_type), (register_gst_bin_flags),
2392 (gst_bin_flags_get_type), (register_gst_buffer_flag),
2393 (gst_buffer_flag_get_type), (register_gst_bus_flags),
2394 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
2395 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
2396 (gst_clock_return_get_type), (register_gst_clock_entry_type),
2397 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
2398 (gst_clock_flags_get_type), (register_gst_state),
2399 (gst_state_get_type), (register_gst_state_change_return),
2400 (gst_state_change_return_get_type), (register_gst_state_change),
2401 (gst_state_change_get_type), (register_gst_element_flags),
2402 (gst_element_flags_get_type), (register_gst_core_error),
2403 (gst_core_error_get_type), (register_gst_library_error),
2404 (gst_library_error_get_type), (register_gst_resource_error),
2405 (gst_resource_error_get_type), (register_gst_stream_error),
2406 (gst_stream_error_get_type), (register_gst_event_type),
2407 (gst_event_type_get_type), (register_gst_seek_type),
2408 (gst_seek_type_get_type), (register_gst_seek_flags),
2409 (gst_seek_flags_get_type), (register_gst_format),
2410 (gst_format_get_type), (register_gst_index_certainty),
2411 (gst_index_certainty_get_type), (register_gst_index_entry_type),
2412 (gst_index_entry_type_get_type),
2413 (register_gst_index_lookup_method),
2414 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
2415 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
2416 (gst_index_resolver_method_get_type), (register_gst_index_flags),
2417 (gst_index_flags_get_type), (register_gst_debug_level),
2418 (gst_debug_level_get_type), (register_gst_debug_color_flags),
2419 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
2420 (gst_iterator_result_get_type), (register_gst_iterator_item),
2421 (gst_iterator_item_get_type), (register_gst_message_type),
2422 (gst_message_type_get_type), (register_gst_mini_object_flags),
2423 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
2424 (gst_pad_link_return_get_type), (register_gst_flow_return),
2425 (gst_flow_return_get_type), (register_gst_activate_mode),
2426 (gst_activate_mode_get_type), (register_gst_pad_direction),
2427 (gst_pad_direction_get_type), (register_gst_pad_flags),
2428 (gst_pad_flags_get_type), (register_gst_pad_presence),
2429 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
2430 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
2431 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
2432 (gst_plugin_error_get_type), (register_gst_plugin_flags),
2433 (gst_plugin_flags_get_type), (register_gst_rank),
2434 (gst_rank_get_type), (register_gst_query_type),
2435 (gst_query_type_get_type), (register_gst_tag_merge_mode),
2436 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
2437 (gst_tag_flag_get_type), (register_gst_task_state),
2438 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
2439 (gst_alloc_trace_flags_get_type),
2440 (register_gst_type_find_probability),
2441 (gst_type_find_probability_get_type), (register_gst_uri_type),
2442 (gst_uri_type_get_type), (register_gst_parse_error),
2443 (gst_parse_error_get_type):
2444 * win32/common/gstversion.h:
2447 2005-11-01 Luca Ognibene <luogni@tin.it>
2450 fix docs. popt is dead, long live GOption.
2452 2005-10-31 Wim Taymans <wim@fluendo.com>
2457 2005-10-31 Andy Wingo <wingo@pobox.com>
2461 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
2463 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
2464 need to serialize property notifications on GLib 2.8. GLib 2.6 has
2465 the possibility of deadlocks here if code calling notify() or
2466 set() has a lock that can be taken in another notify handler (ABBA
2467 with class lock and e.g. python GIL state lock).
2469 2005-10-28 Julien MOUTTE <julien@moutte.net>
2471 * gst/gstbus.c: Doc updates.
2473 2005-10-28 Wim Taymans <wim@fluendo.com>
2475 * docs/design/part-TODO.txt:
2476 * gst/gstiterator.c:
2477 * gst/gstsystemclock.c:
2478 * gst/gstsystemclock.h:
2481 2005-10-28 Edward Hervey <edward@fluendo.com>
2483 * docs/gst/gstreamer-docs.sgml:
2484 * docs/gst/gstreamer-sections.txt:
2485 the GstURIType documentation page is private, it only defines GstURIType
2486 which should be defined in the GstURIHandler page
2488 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
2490 * gst/gstbin.c: (gst_bin_class_init):
2493 Documentation updates.
2495 2005-10-28 Wim Taymans <wim@fluendo.com>
2497 * docs/gst/gstreamer-sections.txt:
2500 Documented the clocks.
2502 2005-10-28 Stefan Kost <ensonic@users.sf.net>
2504 * docs/gst/gstreamer-sections.txt:
2505 move some macros to private sections
2506 * gst/gstminiobject.c:
2507 * gst/gstminiobject.h:
2508 add descriptions provided by ds and some more
2510 mark macro as to be removed
2512 2005-10-28 Wim Taymans <wim@fluendo.com>
2514 * docs/design/part-TODO.txt:
2515 Add an item to TODO.
2517 * gst/gstiterator.c: (gst_iterator_fold),
2518 (gst_iterator_find_custom):
2519 * gst/gstiterator.h:
2522 2005-10-28 Wim Taymans <wim@fluendo.com>
2524 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
2525 (gst_base_transform_init):
2528 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
2529 An EOS event marks the queue as completely filled.
2531 2005-10-27 Wim Taymans <wim@fluendo.com>
2533 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2534 (gst_base_sink_do_sync), (gst_base_sink_get_position):
2535 Some more debugging.
2537 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
2538 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
2539 (gst_base_transform_event), (gst_base_transform_getrange),
2540 (gst_base_transform_chain):
2541 * gst/base/gstbasetransform.h:
2543 Protect transform and concurrent buffer alloc with a new lock.
2544 Try not to break ABI/API.
2546 2005-10-27 Wim Taymans <wim@fluendo.com>
2548 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2549 (gst_base_src_init), (gst_base_src_query),
2550 (gst_base_src_default_newsegment),
2551 (gst_base_src_configure_segment), (gst_base_src_do_seek),
2552 (gst_base_src_send_event), (gst_base_src_event_handler),
2553 (gst_base_src_pad_get_range), (gst_base_src_loop),
2554 (gst_base_src_unlock), (gst_base_src_default_negotiate),
2555 (gst_base_src_start), (gst_base_src_deactivate),
2556 (gst_base_src_activate_push), (gst_base_src_change_state):
2557 Move some stuff around and cleanup things.
2559 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
2561 * gst/base/gstbasesrc.c: (gst_base_src_query):
2562 Add missing break statements.
2564 2005-10-27 Wim Taymans <wim@fluendo.com>
2566 * check/gst/gstbin.c: (GST_START_TEST):
2567 An extra refcount is taken in basesrc.
2569 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
2570 (gst_base_src_get_range), (gst_base_src_pad_get_range),
2571 (gst_base_src_loop):
2572 Small cleanups, check for flushing after being unlocked from the
2573 LIVE_LOCK. take refcounts correctly (not yet everywhere).
2574 Don't send out EOS when going to READY.
2576 2005-10-27 Wim Taymans <wim@fluendo.com>
2578 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2579 (gst_base_sink_get_position):
2582 * gst/gstbin.c: (message_check), (bin_replace_message),
2583 (bin_remove_messages), (is_eos), (gst_bin_add_func),
2584 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2585 (bin_query_duration_init), (bin_query_duration_fold),
2586 (bin_query_duration_done), (bin_query_generic_fold),
2588 * tools/gst-launch.c: (main):
2591 2005-10-26 Stefan Kost <ensonic@users.sf.net>
2593 * examples/controller/audio-example.c: (main):
2594 * examples/queue/queue.c: (event_loop):
2595 * gst/base/gstbasetransform.h:
2596 * gst/gstelement.c: (gst_element_send_event):
2598 * gst/gstpad.c: (gst_pad_send_event):
2601 changing log priority in error situations
2603 2005-10-25 Wim Taymans <wim@fluendo.com>
2605 * gst/gstbin.c: (message_check), (bin_replace_message),
2606 (bin_remove_messages), (is_eos), (gst_bin_add_func),
2607 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2608 (bin_query_duration_init), (bin_query_duration_fold),
2609 (bin_query_duration_done), (bin_query_generic_fold),
2611 Some doc and debug updates.
2612 Cache previously requested query DURATION for speed. invalidate
2613 cached duration if element posts a DURATION message.
2615 2005-10-25 Wim Taymans <wim@fluendo.com>
2617 * docs/design/part-TODO.txt:
2620 * gst/gstbin.c: (message_check), (bin_replace_message),
2621 (bin_remove_messages), (is_eos), (gst_bin_add_func),
2622 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2623 (bin_query_duration_init), (bin_query_duration_fold),
2624 (bin_query_duration_done), (bin_query_generic_fold),
2626 Handle SEGMENT_START/DONE messages correctly.
2627 More evolved query algorithm that handles duration queries
2630 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
2631 (gst_element_get_state_func), (gst_element_abort_state),
2632 (gst_element_commit_state), (gst_element_lost_state):
2633 Some more debugging.
2638 2005-10-25 Wim Taymans <wim@fluendo.com>
2640 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
2641 Don't use invalid stream_time.
2643 * gst/gstevent.c: (gst_event_new_newsegment):
2644 stream_time in newsegment cannot be undefined.
2646 2005-10-24 Wim Taymans <wim@fluendo.com>
2651 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
2653 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
2655 2005-10-24 Stefan Kost <ensonic@users.sf.net>
2657 * docs/libs/tmpl/gstdparam.sgml:
2658 * docs/libs/tmpl/gstdplinint.sgml:
2659 * docs/libs/tmpl/gstdpman.sgml:
2660 * docs/libs/tmpl/gstdpsmooth.sgml:
2661 * docs/libs/tmpl/gstunitconvert.sgml:
2664 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
2669 === release 0.9.4 ===
2671 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
2674 releasing 0.9.4, "Tyrannosaurus Rex"
2676 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
2678 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
2679 (gst_file_sink_get_current_offset):
2680 Use fseeko() and ftello() if available. When falling back on
2681 lseek() to get the current offset, fflush() first to make sure
2682 everything is up-to-date and we get the right offset.
2684 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
2686 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2687 * gst/base/gstbasesrc.c: (gst_base_src_loop):
2688 * gst/gsterror.c: (_gst_stream_errors_init):
2690 * gst/gstqueue.c: (gst_queue_loop):
2692 remove prematurely added error category and clean up the instances
2694 2005-10-21 Wim Taymans <wim@fluendo.com>
2696 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2697 (gst_base_sink_get_position), (gst_base_sink_query),
2698 (gst_base_sink_change_state):
2699 Simply set the right flag when going to playing, that's all
2700 we need to do instead of calling a function inside the object
2701 lock (that could take the lock as well and deadlock)
2703 2005-10-21 Wim Taymans <wim@fluendo.com>
2705 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
2706 (gst_base_src_loop):
2707 Don't warn, the peer element knows what to do best when
2708 the seek failed, it might try something else.
2710 2005-10-21 Wim Taymans <wim@fluendo.com>
2712 * gst/base/gstbasesrc.c: (gst_base_src_init),
2713 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
2716 2005-10-21 Wim Taymans <wim@fluendo.com>
2718 * docs/design/part-segments.txt:
2721 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
2722 Correctly set caps, even on the subbufer.
2724 2005-10-21 Wim Taymans <wim@fluendo.com>
2726 * docs/gst/gstreamer-docs.sgml:
2727 * docs/gst/gstreamer-sections.txt:
2734 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
2738 And 2% more doc coverage.
2740 2005-10-21 Andy Wingo <wingo@pobox.com>
2742 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
2745 2005-10-20 Wim Taymans <wim@fluendo.com>
2747 * gst/gsterror.c: (gst_error_get_message):
2750 * gst/gststructure.c:
2755 2005-10-20 Wim Taymans <wim@fluendo.com>
2760 Another 1% more coverage.
2762 2005-10-20 Wim Taymans <wim@fluendo.com>
2764 * docs/gst/gstreamer-sections.txt:
2765 * gst/gstelement.c: (gst_element_get_state_func),
2766 (gst_element_abort_state), (gst_element_commit_state),
2767 (gst_element_lost_state):
2769 * gst/gstquery.c: (gst_query_set_position),
2770 (gst_query_parse_position), (gst_query_set_duration),
2771 (gst_query_parse_duration), (gst_query_new_convert):
2773 Yay! 1% more docs coverage.
2775 2005-10-20 Wim Taymans <wim@fluendo.com>
2778 * gst/gstquery.c: (gst_query_set_position),
2779 (gst_query_parse_position), (gst_query_set_duration),
2780 (gst_query_parse_duration), (gst_query_new_convert):
2782 * gst/gstutils.c: (gst_element_query_convert):
2784 Docs and consistency fixes.
2786 2005-10-20 Wim Taymans <wim@fluendo.com>
2792 2005-10-20 Wim Taymans <wim@fluendo.com>
2794 * gst/gstbin.c: (message_check), (bin_replace_message),
2795 (bin_remove_messages), (is_eos), (gst_bin_add_func),
2796 (update_degree), (gst_bin_sort_iterator_next),
2797 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
2798 Reworked the message handling a bit, cache the messages instead of
2799 only the senders. alows us to do more in the future.
2801 2005-10-20 Wim Taymans <wim@fluendo.com>
2803 * docs/design/part-TODO.txt:
2806 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
2807 (gst_base_sink_query):
2808 Don't use clock time to report position when in EOS.
2810 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
2812 * tools/gst-inspect.c: (print_interfaces),
2813 (print_element_properties_info), (print_element_info):
2814 Fix interface output with gst-inspect -a; don't print
2815 newlines after double/float properties.
2817 2005-10-20 Wim Taymans <wim@fluendo.com>
2819 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
2820 (gst_base_sink_query):
2821 Speed up current position calculation.
2823 * gst/base/gstbasesrc.c: (gst_base_src_query),
2824 (gst_base_src_default_newsegment):
2825 Correctly set stream position in newsegment.
2827 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
2828 (update_degree), (gst_bin_sort_iterator_next),
2829 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
2830 * gst/gstmessage.c: (gst_message_new_custom):
2831 Clean up debugging info
2833 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
2834 (gst_queue_loop), (gst_queue_handle_src_query):
2837 2005-10-19 Wim Taymans <wim@fluendo.com>
2839 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2840 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
2841 Fix query handling again.
2843 2005-10-19 Wim Taymans <wim@fluendo.com>
2845 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2846 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
2847 * gst/base/gstbasesrc.c: (gst_base_src_query):
2848 * gst/elements/gstfilesink.c: (gst_file_sink_query):
2849 * gst/elements/gsttypefindelement.c:
2850 (gst_type_find_handle_src_query), (find_element_get_length),
2851 (gst_type_find_element_activate):
2854 * gst/gstquery.c: (gst_query_new_position),
2855 (gst_query_set_position), (gst_query_parse_position),
2856 (gst_query_new_duration), (gst_query_set_duration),
2857 (gst_query_parse_duration), (gst_query_set_segment),
2858 (gst_query_parse_segment):
2860 Bundling query position/duration is not a good idea since duration
2861 does not change much and we don't want to recalculate it for every
2862 position query, so they are separated again..
2863 Base value in segment query is not needed.
2865 * gst/gstqueue.c: (gst_queue_handle_src_query):
2866 * gst/gstutils.c: (gst_element_query_position),
2867 (gst_element_query_duration), (gst_pad_query_position),
2868 (gst_pad_query_duration):
2870 Updates for query API change.
2871 Added some docs here and there.
2873 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
2875 * check/gst/gstbin.c: (GST_START_TEST):
2876 * check/gst/gstghostpad.c: (GST_START_TEST):
2877 * check/pipelines/cleanup.c: (GST_START_TEST):
2878 wait on thread to die so we can check refcount correctly
2880 2005-10-18 Wim Taymans <wim@fluendo.com>
2882 * check/pipelines/stress.c: (GST_START_TEST):
2883 Make check a little more time consuming.
2885 2005-10-18 Wim Taymans <wim@fluendo.com>
2887 * check/Makefile.am:
2888 * check/pipelines/stress.c: (GST_START_TEST),
2889 (simple_launch_lines_suite), (main):
2890 Small state change torture test.
2892 * docs/design/part-states.txt:
2893 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2894 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
2895 (gst_base_sink_change_state):
2896 Never take state lock from streaming thread, clean up ugly
2897 hacks. Unfortunatly core does not yet support nice ways to
2900 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
2902 Start state recalc if a STATE_DIRTY message is posted, but only
2903 on the toplevel bin.
2905 * gst/gstelement.c: (gst_element_sync_state_with_parent),
2906 (gst_element_get_state_func), (gst_element_abort_state),
2907 (gst_element_commit_state), (gst_element_lost_state),
2908 (gst_element_set_state_func), (gst_element_change_state):
2910 State variables are now protected with the LOCK, the state
2911 lock is only used to serialize _set_state().
2913 2005-10-18 Wim Taymans <wim@fluendo.com>
2915 * check/gst/gstbin.c: (GST_START_TEST):
2916 * check/gst/gstmessage.c: (GST_START_TEST):
2917 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2918 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
2920 * gst/gstelement.c: (gst_element_abort_state),
2921 (gst_element_commit_state), (gst_element_lost_state):
2922 * gst/gstmessage.c: (gst_message_new_state_changed),
2923 (gst_message_new_state_dirty), (gst_message_new_segment_start),
2924 (gst_message_new_segment_done), (gst_message_new_duration),
2925 (gst_message_parse_state_changed),
2926 (gst_message_parse_segment_start),
2927 (gst_message_parse_segment_done), (gst_message_parse_duration):
2929 * tools/gst-launch.c: (event_loop):
2930 Seriously, this is better than a previous commit as we only need
2931 to notify the fact that an element changed state in a streaming
2932 thread, marking the state of the parents dirty, hence the
2933 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
2936 2005-10-18 Wim Taymans <wim@fluendo.com>
2938 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
2939 (gst_bin_recalc_func):
2940 * gst/gstelement.c: (gst_element_set_clock),
2941 (gst_element_abort_state), (gst_element_lost_state):
2942 Cleanups, prepare for state change fixes.
2944 2005-10-18 Wim Taymans <wim@fluendo.com>
2947 * gst/gstelement.c: (gst_element_class_init),
2948 (gst_element_set_state), (gst_element_set_state_func):
2950 Pending ABI changes.
2951 GThreadPool in GstBinClass to monitor async state changes.
2952 state_cookie in GstElement to detect concurrent gst/set state.
2953 set_state is now virtual too in case a very complicated element
2954 has to be constructed.
2956 2005-10-18 Wim Taymans <wim@fluendo.com>
2958 * check/gst/gstbin.c: (GST_START_TEST):
2959 * check/gst/gstmessage.c: (GST_START_TEST):
2960 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2961 * gst/gstbin.c: (bin_bus_handler):
2962 * gst/gstelement.c: (gst_element_commit_state),
2963 (gst_element_lost_state):
2964 * gst/gstmessage.c: (gst_message_new_state_changed),
2965 (gst_message_new_segment_start), (gst_message_new_segment_done),
2966 (gst_message_new_duration), (gst_message_parse_state_changed),
2967 (gst_message_parse_segment_start),
2968 (gst_message_parse_segment_done), (gst_message_parse_duration):
2970 * tools/gst-launch.c: (event_loop):
2971 Make messages future proof.
2972 state-change gets a flag if it was a message comming from the
2974 segment-start/stop can also be specified in other formats.
2975 A message to notify an app that a pipeline changed playback
2977 Also fix a GstMessage leak in -launch
2979 2005-10-18 Andy Wingo <wingo@pobox.com>
2981 * gst/gstelement.c (gst_element_dispose): More helpful message.
2983 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
2985 reviewed by: <delete if not using a buddy>
2987 * common/gtk-doc.mak:
2989 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
2991 * gst/gstregistry.c: (gst_registry_scan_path_level):
2992 unref a plug-in we get that was already initialized
2994 2005-10-18 Stefan Kost <ensonic@users.sf.net>
2996 * docs/gst/gstreamer-sections.txt:
2997 * docs/libs/gstreamer-libs-sections.txt:
3002 2005-10-17 Andy Wingo <wingo@pobox.com>
3004 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
3007 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
3009 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
3011 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
3012 (gst_element_get_state_func): Better debug message.
3013 (gst_element_commit_state): s/INFO/DEBUG/.
3014 (gst_element_lost_state, gst_element_change_state):
3016 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
3017 (gst_message_new_custom): s/INFO/LOG/.
3019 2005-10-17 Michael Smith <msmith@fluendo.com>
3021 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3022 Check if end time is valid using end time, not start time.
3024 2005-10-17 Stefan Kost <ensonic@users.sf.net>
3026 * check/gst-libs/controller.c: (GST_START_TEST),
3027 (gst_controller_suite):
3028 * libs/gst/controller/gstcontroller.c:
3029 (gst_controlled_property_set_interpolation_mode):
3030 * libs/gst/controller/gstcontroller.h:
3031 * libs/gst/controller/gstinterpolation.c:
3032 * testsuite/controller/.cvsignore:
3033 * testsuite/controller/Makefile.am:
3034 * testsuite/controller/interpolator.c:
3035 merge controller testsuites
3037 remove mem-chunk from docs
3039 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
3041 * gst/gstmemchunk.c:
3042 * gst/gstmemchunk.h:
3043 * gst/gsttrashstack.c:
3044 * gst/gsttrashstack.h:
3045 out. get out. you're fired. to the Attic !
3047 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
3049 * gst/gstcaps.c: (gst_caps_intersect):
3050 fix signedness issues in a (hopefully) correct way
3051 * gst/gstelement.c: (gst_element_pads_activate):
3053 * gst/gstobject.c: (gst_object_set_parent):
3056 2005-10-17 Julien MOUTTE <julien@moutte.net>
3058 * gst/gstvalue.h: Fix prototypes.
3060 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3062 * docs/gst/gstreamer-sections.txt:
3063 * gst/gst.c: (gst_version_string):
3065 * gst/gstversion.h.in:
3066 * win32/common/libgstreamer.def:
3067 add gst_version_string ()
3069 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3073 * gst/gst.c: (init_post):
3074 * win32/common/config.h.in:
3076 * gst/gstcaps.c: (gst_caps_intersect):
3077 use gint64, the range could be bigger than a guint
3079 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3082 document potential problem in 2038
3084 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3086 * gst/gstcaps.c: (gst_caps_intersect):
3087 Fix guint j diving under 0
3089 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3092 * win32/common/config.h:
3093 * win32/common/config.h.in:
3094 check for process.h, declares getpid() on Windows
3096 include process.h if we have it
3097 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
3098 * gst/gstmemchunk.h:
3099 fix signedness issues
3100 * win32/common/libgstreamer.def:
3103 2005-10-16 Julien MOUTTE <julien@moutte.net>
3105 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
3106 fix. Because of unsigned ints, caps intersection was going nuts and
3107 trying to access structures with G_MAXUINT index. That fixes
3108 videotestsrc ! ffmpegcolorspace ! fakesink
3109 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
3112 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3115 use the gettext macro
3116 * gst/elements/gstelements.c:
3118 * gst/indexers/gstindexers.c:
3119 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
3120 * win32/common/config.h:
3122 * win32/common/config.h.in:
3123 add the template to generate config.h
3124 * win32/common/gstenumtypes.c:
3125 * win32/common/gstversion.h:
3128 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3130 * gst/gst.c: (gst_version):
3131 * gst/gstversion.h.in:
3134 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
3137 Oops, add missing closing bracket.
3139 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3142 use common m4's for argument checking
3144 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
3146 * docs/gst/gstreamer-sections.txt:
3148 Add GST_EVENT_TYPE_NAME() macro.
3150 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3153 * gst/gstpluginfeature.c:
3155 privatize more symbols
3157 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3160 add srcdir, builddir includes to GST_ALL_CFLAGS, since
3161 everything that uses GStreamer API should have the includes
3163 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3165 * docs/gst/gstreamer-sections.txt:
3166 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3168 give each value a _get_type, removes the DATA exports
3170 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3174 remove _gst_registry_auto_load, not used anymore
3175 * gst/gstbin.c: (gst_bin_get_type):
3177 * gst/gstelement.c: (gst_element_get_type):
3179 * gst/gstobject.c: (gst_object_get_type):
3181 * gst/gstpad.c: (gst_pad_get_type):
3183 make _get_type functions similar, fixes data export from library
3185 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3188 correctly make conditionals
3189 * gst/elements/Makefile.am:
3190 * gst/elements/gstelements.c:
3191 fix typo causing fdsrc not to build
3193 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3195 * testsuite/Makefile.am:
3196 * testsuite/bytestream/.cvsignore:
3197 * testsuite/bytestream/Makefile.am:
3198 * testsuite/bytestream/filepadsink.c:
3199 * testsuite/bytestream/gstbstest.c:
3200 * testsuite/bytestream/test1.c:
3201 * testsuite/bytestream/testfile1:
3202 * testsuite/caps/normalisation.c:
3203 * testsuite/caps/random.c: (main):
3204 * testsuite/cleanup/.cvsignore:
3205 * testsuite/cleanup/Makefile.am:
3206 * testsuite/cleanup/cleanup1.c:
3207 * testsuite/cleanup/cleanup2.c:
3208 * testsuite/cleanup/cleanup3.c:
3209 * testsuite/cleanup/cleanup4.c:
3210 * testsuite/cleanup/cleanup5.c:
3211 * testsuite/controller/interpolator.c:
3212 * testsuite/debug/printf_extension.c: (main):
3213 * testsuite/elements/tee.c:
3214 * testsuite/negotiation/.cvsignore:
3215 * testsuite/negotiation/Makefile.am:
3216 * testsuite/negotiation/pad_link.c:
3217 * testsuite/pad/Makefile.am:
3218 * testsuite/pad/chainnopull.c:
3219 * testsuite/pad/getnopush.c:
3220 * testsuite/pad/link.c:
3221 * testsuite/refcounting/sched.c: (create_pipeline):
3222 * testsuite/registry/Makefile.am:
3223 * testsuite/registry/gst-print-formats.c:
3224 * testsuite/schedulers/.cvsignore:
3225 * testsuite/schedulers/142183-2.c:
3226 * testsuite/schedulers/142183.c:
3227 * testsuite/schedulers/143777-2.c:
3228 * testsuite/schedulers/143777.c:
3229 * testsuite/schedulers/147713.c:
3230 * testsuite/schedulers/147819.c:
3231 * testsuite/schedulers/147894-2.c:
3232 * testsuite/schedulers/147894.c:
3233 * testsuite/schedulers/Makefile.am:
3234 * testsuite/schedulers/group_link.c:
3235 * testsuite/schedulers/queue_link.c:
3236 * testsuite/schedulers/relink.c:
3237 * testsuite/schedulers/unlink.c:
3238 * testsuite/schedulers/unref.c:
3239 * testsuite/schedulers/useless_iteration.c:
3240 * testsuite/states/bin.c:
3241 clean out/remove some stuff from the testsuite directories
3243 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3246 check for some headers
3247 * gst/elements/Makefile.am:
3248 * gst/elements/gstelements.c:
3249 don't compile fdsrc without sys/socket.h
3250 * gst/indexers/Makefile.am:
3251 * gst/indexers/gstindexers.c: (plugin_init):
3252 don't compile fileindex without mmap
3254 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3261 * check/Makefile.am:
3262 * docs/gst/Makefile.am:
3263 * examples/helloworld/Makefile.am:
3265 * gst/base/Makefile.am:
3266 * gst/check/Makefile.am:
3267 * gst/elements/Makefile.am:
3268 * gst/indexers/Makefile.am:
3269 * gst/parse/Makefile.am:
3270 * libs/gst/controller/Makefile.am:
3271 * libs/gst/dataprotocol/Makefile.am:
3272 * examples/helloworld/helloworld.c: (event_loop):
3273 compile fixes, though it's not being compiled currently
3275 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
3277 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
3278 Add some simple tests for the new taglist date API.
3280 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
3282 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
3283 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
3284 Beautify 'last-message' output: print 'none' for buffer timestamps
3285 and durations if none is set; improve alignment with next messages.
3287 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
3289 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
3290 * gst/gstpluginfeature.h:
3291 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
3292 * gst/gstregistry.h:
3293 * docs/gst/gstreamer-sections.txt:
3294 Add new API to check plugin feature version requirements.
3296 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
3297 Some basic tests for the above.
3299 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3301 * gst/gststructure.c: (gst_structure_to_string):
3302 guard against NULL printf - happens when for example
3303 a message structure with GstClock gets serialized
3305 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
3307 * gst/base/gstcollectpads.c: (gst_collectpads_event):
3308 Fix presumable copy'n'pasto.
3310 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3312 * gst/elements/gstfakesrc.h:
3313 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
3314 * gst/elements/gsttypefindelement.c:
3316 * gst/elements/gstfilesink.c: (gst_file_sink_render):
3317 I wonder if this could actually write +2GB files before
3319 2005-10-13 Andy Wingo <wingo@pobox.com>
3321 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
3322 Fix Timmeke Waymans bug.
3323 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
3324 string of the proper length to gst_caps_from_string. There's a
3325 potential for, before this fix, that this could cause someone
3326 connecting over the network to cause a segfault if the payload is
3329 2005-10-13 Stefan Kost <ensonic@users.sf.net>
3331 * docs/design/draft-push-pull.txt:
3332 * docs/design/part-overview.txt:
3333 * docs/random/TODO-pre-0.9:
3334 * docs/random/old/ChangeLog.gstreamer:
3335 * gst/base/gstpushsrc.c:
3339 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3341 * gst/glib-compat.c: (gst_flags_get_first_value):
3342 * gst/glib-compat.h:
3343 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
3344 (gst_value_compare_double), (gst_value_serialize_flags):
3345 GLib 2.6 g_flags_get_first_value has a bug that triggers an
3348 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3350 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3351 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3353 * tools/gst-launch.c: (event_loop):
3354 print out clock nicely
3356 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
3358 * docs/gst/gstreamer-sections.txt:
3360 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
3361 (gst_tag_list_get_date_index):
3362 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
3363 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
3365 2005-10-13 Julien MOUTTE <julien@moutte.net>
3367 * gst/base/gstcollectpads.c: (gst_collectpads_event),
3368 (gst_collectpads_chain):
3369 * gst/base/gstcollectpads.h: Handle newsegment and store informations
3372 2005-10-13 Stefan Kost <ensonic@users.sf.net>
3374 * docs/gst/gstreamer-sections.txt:
3377 * tools/gst-inspect.c: (main):
3378 * tools/gst-launch.c: (main):
3379 * tools/gst-run.c: (main):
3380 * tools/gst-xmlinspect.c: (main):
3381 fix GOption context leaks
3384 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3388 * win32/common/config.h:
3390 * win32/vs6/grammar.dsp:
3391 * win32/vs6/libgstelements.dsp:
3392 * win32/vs6/libgstreamer.dsp:
3395 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
3397 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3398 * gst/base/gstbasesrc.c: (gst_base_src_query):
3399 fix more guint64<->gdouble conversions
3401 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
3404 add win32-update target
3405 * win32/common/gstconfig.h:
3406 * win32/common/gstenumtypes.c:
3407 * win32/common/gstenumtypes.h:
3408 * win32/common/gstversion.h:
3409 add files that visual studio can't generate
3411 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
3414 add a win32-update target
3417 2005-10-12 Wim Taymans <wim@fluendo.com>
3419 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3420 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
3421 * gst/gstelement.c: (gst_element_commit_state),
3422 (gst_element_set_state):
3423 Protect flags with proper lock.
3424 unref provided cached clock in dispose.
3426 2005-10-12 Stefan Kost <ensonic@users.sf.net>
3429 * gst/gstminiobject.h:
3431 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
3432 removed unused flags from miniobject
3435 2005-10-12 Wim Taymans <wim@fluendo.com>
3437 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
3438 (gst_file_sink_event), (gst_file_sink_render):
3439 Flush before seeking.
3441 2005-10-12 Andy Wingo <wingo@pobox.com>
3443 * gst/gst.c (gst_init_check): Ignore unknown options, as has
3444 always been the case.
3446 2005-10-12 Stefan Kost <ensonic@users.sf.net>
3448 * check/gst/gstbin.c: (GST_START_TEST):
3449 * docs/gst/gstreamer-sections.txt:
3450 * gst/base/gstbasesink.c: (gst_base_sink_init):
3451 * gst/base/gstbasesrc.c: (gst_base_src_init),
3452 (gst_base_src_get_range), (gst_base_src_check_get_range),
3453 (gst_base_src_start), (gst_base_src_stop):
3454 * gst/base/gstbasesrc.h:
3455 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
3456 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3457 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
3461 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
3463 * gst/gstelement.c: (gst_element_is_locked_state),
3464 (gst_element_set_locked_state), (gst_element_commit_state),
3465 (gst_element_set_state):
3467 * gst/gstindex.c: (gst_index_init):
3469 * gst/gstminiobject.h:
3470 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
3471 (gst_object_set_parent):
3473 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
3474 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
3476 * gst/gstpadtemplate.h:
3477 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
3478 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
3479 * gst/gstpipeline.h:
3480 * gst/indexers/gstfileindex.c: (gst_file_index_load),
3481 (gst_file_index_commit):
3482 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
3483 * testsuite/pad/link.c: (gst_test_src_init),
3484 (gst_test_filter_init), (gst_test_sink_init):
3485 * testsuite/states/locked.c: (main):
3486 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
3487 moved bitshift from macro to enum definition
3489 2005-10-12 Wim Taymans <wim@fluendo.com>
3491 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
3492 * gst/elements/gstfilesink.c: (gst_file_sink_event),
3493 (gst_file_sink_render):
3494 Some more debugging info.
3496 2005-10-12 Wim Taymans <wim@fluendo.com>
3498 * docs/design/part-states.txt:
3499 * tools/gst-launch.c: (main):
3501 Revert non-intentional change.
3503 2005-10-12 Wim Taymans <wim@fluendo.com>
3505 * check/gst/gstbin.c: (GST_START_TEST):
3506 * check/gst/gstelement.c: (GST_START_TEST):
3507 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
3508 * check/gst/gstghostpad.c: (GST_START_TEST):
3509 * check/gst/gstpipeline.c: (GST_START_TEST):
3510 * check/pipelines/simple_launch_lines.c: (run_pipeline):
3511 * check/states/sinks.c: (GST_START_TEST):
3512 * gst/elements/gsttypefindelement.c: (stop_typefinding):
3513 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
3514 (gst_bin_remove_func), (gst_bin_get_state_func),
3515 (gst_bin_recalc_state), (gst_bin_change_state_func),
3517 * gst/gstelement.c: (gst_element_get_state_func),
3518 (gst_element_get_state), (gst_element_abort_state),
3519 (gst_element_commit_state), (gst_element_set_state),
3520 (gst_element_change_state), (gst_element_change_state_func):
3522 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
3523 (gst_pipeline_provide_clock_func):
3524 * gst/gstutils.c: (gst_element_link_pads_filtered):
3525 * tools/gst-launch.c: (main):
3526 * tools/gst-typefind.c: (main):
3527 Use GstClockTime in _get_state() instead of GTimeVal.
3528 Remove old code in gstutils.c
3530 2005-10-12 Andy Wingo <wingo@pobox.com>
3532 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
3535 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
3536 there is no task. Shouldn't affect any code, as nothing in our
3537 plugins checks this return value.
3538 (gst_pad_stop_task): Also take the stream lock if the pad has no
3541 2005-10-12 Wim Taymans <wim@fluendo.com>
3543 * gst/gstpad.c: (pre_activate), (post_activate),
3544 (gst_pad_activate_pull), (gst_pad_activate_push):
3545 Cleanup activation code. Reset old state if
3548 2005-10-12 Wim Taymans <wim@fluendo.com>
3550 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3551 (gst_base_sink_change_state):
3552 No need to prerol after receiving EOS.
3554 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
3555 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
3556 * gst/elements/gstidentity.c: (gst_identity_event):
3557 Print events more verbosely.
3559 2005-10-12 Wim Taymans <wim@fluendo.com>
3561 * check/Makefile.am:
3562 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
3563 * check/states/sinks2.c:
3564 Moved sinks2 testcode in sinks check.
3566 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
3567 (gst_bin_remove_func), (gst_bin_recalc_state),
3568 (gst_bin_change_state_func), (bin_bus_handler):
3569 Fix potential race condition when _get_state() iterated over an
3570 ASYNC element right before it posted a state completion.
3573 Do proper cast here.
3575 * gst/gstevent.c: (gst_event_new_newsegment),
3576 (gst_event_parse_newsegment):
3577 A playback rate of 0.0 is not allowed.
3579 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3581 * win32/common/config.h:
3582 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
3583 (_trewinddir), (_ttelldir), (_tseekdir):
3584 * win32/common/dirent.h:
3585 * win32/common/gtchar.h:
3586 * win32/common/libgstbase.def:
3587 * win32/common/libgstreamer.def:
3588 * win32/vs6/grammar.dsp:
3589 * win32/vs6/gst_inspect.dsp:
3590 * win32/vs6/gst_launch.dsp:
3591 * win32/vs6/gstreamer.dsw:
3592 * win32/vs6/libgstbase.dsp:
3593 * win32/vs6/libgstelements.dsp:
3594 * win32/vs6/libgstreamer.dsp:
3595 Visual Studio 6 project files, and a new common directory.
3598 2005-10-11 Wim Taymans <wim@fluendo.com>
3600 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3601 (gst_base_sink_do_sync), (gst_base_sink_query),
3602 (gst_base_sink_change_state):
3603 * gst/base/gstbasesink.h:
3604 Correctly parse newsegment info.
3606 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3608 * gst/gst.c: (init_post):
3609 split plugin paths correctly
3611 2005-10-11 Wim Taymans <wim@fluendo.com>
3613 * check/gst/gstevent.c: (GST_START_TEST):
3614 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3615 (gst_base_sink_change_state):
3616 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
3617 * gst/base/gstbasetransform.c: (gst_base_transform_event):
3618 * gst/elements/gstfilesink.c: (gst_file_sink_event):
3619 * gst/gstevent.c: (gst_event_new_newsegment),
3620 (gst_event_parse_newsegment):
3622 Added extra flag to newsegment for future API freeze.
3623 Updated check and base elements.
3625 2005-10-11 Julien MOUTTE <julien@moutte.net>
3627 * gst/base/gstcollectpads.c: (gst_collectpads_init),
3628 (gst_collectpads_add_pad), (gst_collectpads_pop),
3629 (gst_collectpads_event), (gst_collectpads_chain):
3630 * gst/base/gstcollectpads.h: Handle EOS correctly.
3632 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3634 * tools/gst-launch.c: (main):
3635 more null protecting
3637 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3639 * gst/gst-i18n-lib.h:
3640 check for ENABLE_NLS, not GETTEXT_PACKAGE
3641 * gst/gstregistry.c: (gst_registry_add_plugin),
3642 (gst_registry_scan_path_level),
3643 (_gst_registry_remove_cache_plugins):
3644 protect possibly NULL strings
3645 * gst/parse/types.h:
3646 config.h already included before
3647 * tools/gst-inspect.c: (main):
3648 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
3649 check for ENABLE_NLS, not GETTEXT_PACKAGE
3650 * tools/gst-launch.c: (main):
3651 check for ENABLE_NLS, not GETTEXT_PACKAGE
3653 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3656 if we don't have glib, fail before testing 2.8
3657 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
3658 fix a leak, should fix plugins-base testsuite
3660 2005-10-11 Andy Wingo <wingo@pobox.com>
3662 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
3663 take the mode we're going to as an arg. Go head and set the mode
3664 and flushing flags now, so that if the activate function starts a
3665 thread all the flags will be in the right state.
3666 (post_activate): Renamed also. Just handle making sure streaming
3667 finishes for the deactivation case, and setting the deactivated
3669 (gst_pad_set_active): Complain loudly if deactivation fails.
3670 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
3671 (gst_pad_activate_push): Adapt to pre/post_activate changes,
3672 remove the terrible hack.
3674 2005-10-11 Wim Taymans <wim@fluendo.com>
3676 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
3677 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
3678 (gst_bin_recalc_state), (gst_bin_change_state_func),
3679 (gst_bin_dispose), (bin_bus_handler):
3681 Prepare to make current EOS message queue more generic.
3684 * gst/gstevent.c: (gst_event_new_newsegment),
3685 (gst_event_parse_newsegment):
3687 Rename base to stream_time.
3692 2005-10-11 Wim Taymans <wim@fluendo.com>
3694 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
3695 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
3696 (gst_bin_change_state_func), (bin_bus_handler):
3698 Work on proper clock selection.
3700 2005-10-11 Edward Hervey <edward@fluendo.com>
3702 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
3703 * libs/gst/controller/gstcontroller.h:
3704 Added GList* version of _remove_properties() in order to be able to wrap
3707 2005-10-11 Wim Taymans <wim@fluendo.com>
3709 * docs/design/part-states.txt:
3712 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
3713 (gst_bin_change_state_func), (bin_bus_handler):
3714 Doc updates. Don't distribute the same clock over and over again.
3720 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
3721 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
3722 (gst_pad_send_event):
3724 Make probe emission threadsafe again.
3725 Register quarks and move _get_name() from utils.
3728 * gst/gstpipeline.c: (gst_pipeline_class_init),
3729 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
3730 Only redistribute the clock of it changed.
3732 * gst/gstsystemclock.h:
3737 Moved the _flow_get_name() to GstPad.
3739 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3741 * check/gst-libs/gdp.c: (GST_START_TEST):
3742 * check/gst/gstcaps.c: (GST_START_TEST):
3743 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
3744 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
3745 (gst_dp_packet_from_caps):
3746 fix more valgrind warnings before turning up the heat
3748 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3750 * gst/parse/grammar.y:
3751 some cleanup before the hacking
3753 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
3755 * gst/base/gstbasesrc.c: (gst_base_src_query):
3757 * gst/gstutils.c: (gst_guint64_to_gdouble),
3758 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
3760 externalize, basesrc uses it
3761 obviously the implementation needs testing
3763 2005-10-10 Wim Taymans <wim@fluendo.com>
3765 * tests/sched/Makefile.am:
3766 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
3767 (make_pipeline3), (make_pipeline4), (print_elem), (main):
3769 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
3771 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
3772 apparently converting from guint64 to double is not implemented
3775 2005-10-10 Wim Taymans <wim@fluendo.com>
3777 * check/Makefile.am:
3778 * check/generic/states.c: (GST_START_TEST):
3779 * check/gst/gstbin.c: (GST_START_TEST):
3780 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
3781 * check/states/sinks.c: (GST_START_TEST):
3782 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
3784 Check fixes, use API as stated in design docs, remove hacks.
3786 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3787 (gst_base_sink_change_state):
3788 Catch stopping our task while we're shutting down.
3790 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
3791 (gst_bin_remove_func), (gst_bin_get_state_func),
3792 (gst_bin_recalc_state), (gst_bin_change_state_func),
3795 * gst/gstelement.c: (gst_element_init),
3796 (gst_element_get_state_func), (gst_element_abort_state),
3797 (gst_element_commit_state), (gst_element_lost_state),
3798 (gst_element_set_state), (gst_element_change_state),
3799 (gst_element_change_state_func):
3801 New state change algorithm (see #318116)
3803 * gst/gstpipeline.c: (gst_pipeline_class_init),
3804 (gst_pipeline_init), (gst_pipeline_set_property),
3805 (gst_pipeline_get_property), (do_pipeline_seek),
3806 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
3807 * gst/gstpipeline.h:
3808 Remove crude state change hacks.
3813 * tools/gst-launch.c: (main):
3814 Fixes for state change. Needs some more work to fully use the
3817 2005-10-10 Andy Wingo <wingo@pobox.com>
3819 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
3821 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
3822 this flag, but it's not even in GLib 2.6. Odd. Hack around the
3825 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
3827 * gst/gstiterator.c: (gst_iterator_new):
3828 Fix my previous commit: GTypes passed to gst_iterator_new()
3829 can be fundamental types.
3831 2005-10-10 Wim Taymans <wim@fluendo.com>
3833 * gst/gstelement.c: (gst_element_iterate_pad_list),
3834 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
3835 (gst_element_iterate_sink_pads):
3836 Use src/sink pads lists for the respective iterators instead
3839 2005-10-10 Andy Wingo <wingo@pobox.com>
3841 Merged in popt removal + GOption addition patch from Ronald, bug
3844 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
3845 GstElement macros around, remove popt-related symbols, add goption
3848 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
3850 * docs/gst/Makefile.am:
3851 * docs/libs/Makefile.am: No POPT_CFLAGS.
3853 * examples/manual/Makefile.am:
3854 * docs/manual/basics-init.xml: Doc updates with an example.
3856 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
3857 (gst_init), (parse_one_option), (parse_goption_arg):
3858 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
3859 bit of hand merging and debugging to get the GOption stuff working
3862 * tests/Makefile.am:
3863 * tools/Makefile.am:
3864 * tools/gst-inspect.c: (main):
3865 * tools/gst-launch.c: (main):
3866 * tools/gst-run.c: (main):
3867 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
3869 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
3871 * gst/gstiterator.c: (gst_iterator_new):
3872 Add assertions to make sure passed GType is likely to really
3873 be a GType (as the compiler won't catch it if the size and
3874 GType arguments get mixed up, see #318447).
3876 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
3878 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
3880 * gst/gstbin.c: (gst_bin_iterate_sorted):
3881 Pass GType and size arguments to gst_iterator_new() in the right
3882 order (maybe we should make _new() take the GType as first argument
3883 just like _new_list()?) (#318447).
3886 2005-10-10 Wim Taymans <wim@fluendo.com>
3888 * gst/gstelement.c: (gst_element_finalize):
3889 And free the GStaticRecMutex too
3891 2005-10-10 Andy Wingo <wingo@pobox.com>
3893 * gst/gstelement.c (gst_element_init, gst_element_finalize):
3894 Allocate and free the mutex properly.
3896 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
3898 (GstElement): The state_lock is now recursive. Rebuild your
3899 plugins, suckers. Old macros adapted.
3901 * docs/gst/gstreamer-sections.txt: Doc updates.
3904 * gst/gstutils.c (g_static_rec_cond_timed_wait)
3905 (g_static_rec_cond_wait): Ported from state changes patch, while
3906 we wait on bug #317802 to be solved in a well-distributed GLib.
3908 * gst/gstelement.c (gst_element_change_state_func): Renamed from
3909 gst_element_change_state, variable name changes.
3910 (gst_element_change_state): Split out of gst_element_set_state in
3911 preparation for the state change merge. Doesn't pay attention to
3912 the 'transition' argument.
3913 (gst_element_set_state): Updates, hopefully purely cosmetic.
3914 (gst_element_sync_state_with_parent): MT-safety. Ported from the
3916 (gst_element_get_state_func): Renamed from get_state, cosmetic
3919 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
3921 * gst/elements/gstelements.c:
3922 * win32/GStreamer.vcproj:
3924 * win32/dirent.c: (_tseekdir):
3925 * win32/gst-inspect.vcproj:
3926 * win32/gst-launch.vcproj:
3927 * win32/gstconfig.h:
3928 * win32/gstelements.vcproj:
3929 * win32/gstenumtypes.c: (gst_object_flags_get_type):
3930 * win32/gstreamer.def:
3932 updates for the win32 build (patch from Sebastien Moutte)
3934 2005-10-10 Andy Wingo <wingo@pobox.com>
3936 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
3937 gst_bin_get_state, cleaned up (but no logic changes).
3938 (bin_element_is_sink): Comment updates.
3939 (sink_iterator_filter): Remove needless cast.
3940 (gst_bin_iterate_sinks): Doc update.
3941 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
3942 cleaned up (but no logic changes).
3944 * check/states/sinks.c (test_src_sink): Cleanups from the state
3946 (test_livesrc_sink): Sync on the state.
3948 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
3949 the state change patch.
3951 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
3954 * check/gst/gstbin.c: Merge in some style fixes and additional
3955 checks from Wim's state change patch.
3957 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
3959 * gst/base/gsttypefindhelper.c: (helper_find_peek),
3960 (gst_type_find_helper):
3961 Check whether we have the requested data already in our list of
3962 cached buffers before pulling a new buffer; also make the buffer
3963 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
3965 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
3970 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
3971 don't use long long, it's not portable. Replacing with
3972 gint64 seems to work; let's hope no skeletons fall out of the closet.
3974 2005-10-10 Andy Wingo <wingo@pobox.com>
3976 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
3978 2005-10-09 Stefan Kost <ensonic@users.sf.net>
3980 * docs/gst/gstreamer-sections.txt:
3985 * gst/gstmessage.c: (gst_message_parse_state_changed):
3988 more docs, fix compilation
3990 2005-10-09 Philippe Khalaf <burger@speedy.org>
3992 Fixed a few forgotten variables on previous commit
3994 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
3996 * gst/base/gsttypefindhelper.c: (helper_find_peek):
3997 Fix evil typefind crasher: getrange() might return a short
3998 buffer at the end of a file, but gst_type_find_peek() must
3999 either return the full data as requested or NULL, but
4000 never a short buffer.
4002 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
4004 * gst/gstmessage.c: (gst_message_new_state_changed),
4005 (gst_message_parse_state_changed):
4007 don't use "new", it's a C++ keyword
4009 2005-10-08 Wim Taymans <wim@fluendo.com>
4011 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
4012 * gst/gstelement.c: (gst_element_post_message):
4013 * gst/gstpipeline.c: (gst_pipeline_change_state):
4014 Small docs and debug updates.
4016 2005-10-08 Stefan Kost <ensonic@users.sf.net>
4018 * docs/gst/gstreamer-sections.txt:
4019 * gst/gstelementfactory.c:
4024 2005-10-08 Wim Taymans <wim@fluendo.com>
4026 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
4027 (gst_bin_dispose), (bin_bus_handler):
4028 Fix typos, add comments.
4029 Clear EOS list when going to PAUSED from any direction and do it
4030 in a threadsafe way.
4031 Get base time in a threadsafe way too.
4032 Fix confusing debug in the change_state function.
4033 Various other small cleanups.
4035 * gst/gstelement.c: (gst_element_post_message):
4036 Fix very verbose bus posting code.
4038 * gst/gstpipeline.c: (gst_pipeline_class_init),
4039 (gst_pipeline_set_property), (gst_pipeline_get_property),
4040 (gst_pipeline_change_state):
4041 Small ARG_ -> PROP_ cleanup
4043 2005-10-08 Wim Taymans <wim@fluendo.com>
4045 * gst/gstbin.c: (is_eos), (bin_bus_handler):
4046 Do a less CPU demanding EOS check because we can.
4048 2005-10-08 Wim Taymans <wim@fluendo.com>
4050 * libs/gst/dataprotocol/dataprotocol.c:
4051 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
4052 (gst_dp_packet_from_event):
4053 * libs/gst/dataprotocol/dataprotocol.h:
4054 * libs/gst/dataprotocol/dp-private.h:
4055 It's about time we bump the version number.
4056 Since event types don't fit in the guint8 anymore describing
4057 the payload type, make payload type 16 bits wide.
4059 2005-10-08 Wim Taymans <wim@fluendo.com>
4061 * docs/design/part-TODO.txt:
4062 * docs/design/part-clocks.txt:
4063 * docs/design/part-events.txt:
4064 * docs/design/part-gstbin.txt:
4065 * docs/design/part-gstelement.txt:
4066 * docs/design/part-gstpipeline.txt:
4067 * docs/design/part-live-source.txt:
4068 * docs/design/part-messages.txt:
4069 * docs/design/part-overview.txt:
4070 * docs/design/part-states.txt:
4073 2005-10-08 Wim Taymans <wim@fluendo.com>
4077 Fix event quark registration.
4078 Add some space between events so we can insert them in the
4081 2005-10-08 Wim Taymans <wim@fluendo.com>
4083 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4084 (gst_base_sink_handle_buffer):
4091 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
4092 (gst_queue_set_property), (gst_queue_get_property):
4094 Remove old unused properties.
4096 2005-10-08 Stefan Kost <ensonic@users.sf.net>
4097 * docs/gst/gstreamer-sections.txt:
4100 * gst/gstminiobject.c:
4101 * gst/gstminiobject.h:
4105 lots of new docs and doc fixes
4107 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4109 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
4111 * gst/gstregistry.c: (gst_registry_lookup_locked),
4112 (gst_registry_scan_path_level):
4113 * gst/gstregistryxml.c: (load_plugin):
4114 Only ever load one plugin for a given plugin basename.
4115 This ensures correct overriding of GST_PLUGIN_PATH over
4116 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
4117 system installed plugins.
4119 2005-10-08 Wim Taymans <wim@fluendo.com>
4121 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4122 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
4123 Prepare for doing QOS.
4125 2005-10-08 Wim Taymans <wim@fluendo.com>
4127 * check/gst/gstbin.c: (GST_START_TEST):
4128 * check/pipelines/cleanup.c: (GST_START_TEST):
4129 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
4130 Allow new clock message too.
4132 2005-10-08 Wim Taymans <wim@fluendo.com>
4134 * gst/gstmessage.c: (gst_message_new_error),
4135 (gst_message_new_warning), (gst_message_new_tag),
4136 (gst_message_new_state_changed), (gst_message_new_clock_provide),
4137 (gst_message_new_clock_lost), (gst_message_new_new_clock),
4138 (gst_message_new_segment_start), (gst_message_new_segment_done),
4139 (gst_message_parse_state_changed),
4140 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
4141 (gst_message_parse_new_clock):
4143 Also carry the clock in question.
4145 2005-10-08 Wim Taymans <wim@fluendo.com>
4147 * gst/gstmessage.c: (gst_message_new_custom),
4148 (gst_message_new_eos), (gst_message_new_error),
4149 (gst_message_new_warning), (gst_message_new_tag),
4150 (gst_message_new_state_changed), (gst_message_new_clock_provide),
4151 (gst_message_new_new_clock), (gst_message_new_segment_start),
4152 (gst_message_new_segment_done), (gst_message_parse_state_changed),
4153 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
4156 Added clock related messages.
4158 * gst/gstpipeline.c: (gst_pipeline_change_state):
4159 Post message when the clock changed.
4161 * tools/gst-launch.c: (event_loop):
4164 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
4166 * tools/gst-inspect.c: (print_element_properties_info):
4167 Can't pass NULL strings to g_print() on windows.
4169 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4172 * docs/gst/Makefile.am:
4173 * docs/gst/gstreamer-docs.sgml:
4174 * docs/gst/running.xml:
4175 * docs/version.entities.in:
4176 add a chapter on running GStreamer.
4177 document GST_DEBUG and GST_PLUGIN* env vars
4179 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4184 remove PLUGINS_BUILDDIR stuff
4185 * gst/gst.c: (init_post):
4186 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
4188 remove, it was condescending and not needed
4190 2005-10-08 Wim Taymans <wim@fluendo.com>
4192 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4193 (gst_base_sink_handle_object), (gst_base_sink_event),
4194 (gst_base_sink_wait), (gst_base_sink_handle_event),
4195 (gst_base_sink_change_state):
4196 * gst/base/gstbasesink.h:
4197 Repost EOS message while going to PLAYING if still EOS.
4198 Make sure that when receiving a FLUSH_START we don't attempt
4199 to sync on the clock anymore.
4201 2005-10-08 Wim Taymans <wim@fluendo.com>
4203 * tools/gst-launch.c: (event_loop):
4204 Better message printout.
4206 2005-10-08 Wim Taymans <wim@fluendo.com>
4208 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
4209 (gst_bin_child_proxy_get_children_count):
4210 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
4211 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
4212 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
4213 (gst_child_proxy_set_valist):
4214 * gst/parse/grammar.y:
4215 Make ChildProxy threadsafe and fix mem leaks.
4217 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4219 * gst/gst.c: (init_post):
4220 debug the GST_PLUGIN_ env vars
4222 2005-10-08 Wim Taymans <wim@fluendo.com>
4224 * check/gst/gstbin.c: (GST_START_TEST):
4225 * check/gst/gstmessage.c: (GST_START_TEST):
4226 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
4227 * gst/gstelement.c: (gst_element_commit_state),
4228 (gst_element_lost_state):
4229 * gst/gstmessage.c: (gst_message_new_state_changed),
4230 (gst_message_parse_state_changed):
4232 * tools/gst-launch.c: (event_loop):
4233 Added extra field to STATE_CHANGE message with the pending
4234 state, which will be different from the new state soon.
4236 2005-10-08 Wim Taymans <wim@fluendo.com>
4238 * gst/gstbus.c: (gst_bus_pop):
4240 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
4241 Small cleanups and doc updates.
4243 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4245 * gst/gst.c: (init_pre):
4246 * gst/gstbin.c: (gst_bin_add_func):
4247 log distributing clocks and base time
4248 * gst/gstregistry.c: (gst_registry_add_plugin),
4249 (gst_registry_scan_path_level), (gst_registry_scan_path):
4250 clean up the debugging output a little
4251 * gst/gstutils.c: (gst_element_state_get_name):
4252 warn about a memleak (I've actually seen this be used, though
4253 it was probably a bug)
4255 2005-10-07 Wim Taymans <wim@fluendo.com>
4257 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4258 (gst_base_src_init), (gst_base_src_default_newsegment),
4259 (gst_base_src_newsegment), (gst_base_src_do_seek),
4260 (gst_base_src_loop), (gst_base_src_start):
4261 * gst/base/gstbasesrc.h:
4262 Make the newsegment event customizable by subclasses.
4264 2005-10-07 Wim Taymans <wim@fluendo.com>
4266 * gst/gstevent.c: (gst_event_new_buffersize),
4267 (gst_event_parse_buffersize):
4269 New event for future idea.
4271 2005-10-07 Andy Wingo <wingo@pobox.com>
4273 * gst/gstelement.c (gst_element_post_message): Doc update.
4275 * docs/gst/gstreamer-sections.txt: Update.
4277 * gst/gstmessage.c (gst_message_new_application): Made into a
4278 function like honest API calls.
4279 (gst_message_new_element): New message type.
4281 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
4283 * check/elements/fakesrc.c (test_no_preroll): New check, checks
4284 that setting a live fakesrc to PAUSED returns NO_PREROLL both
4287 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
4288 NO_PREROLL from gst_element_change_state to fall through.
4290 2005-10-07 Wim Taymans <wim@fluendo.com>
4292 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
4293 (gst_ghost_pad_do_activate_push):
4294 Activating a ghostpad with no internal pad in push mode
4297 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
4300 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
4301 Fixes compilation on Windows.
4303 2005-10-07 Michael Smith <msmith@fluendo.com>
4305 * tools/gst-inspect.c:
4306 Print out feature and plugin count at the end when printing out
4309 2005-10-04 Michael Smith <msmith@fluendo.com>
4311 * gst/gsterror.c: (_gst_stream_errors_init):
4312 Add another error string used in a few existing plugins.
4315 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
4316 * tools/gst-inspect.c: (print_element_info):
4317 When a feature disappears from a plugin (and the feature exists in
4318 the cached registry file), things went horribly wrong. This isn't a
4319 complete fix, we should actually be removing the 'missing' features
4320 from the features list when we load the actual plugin. That's not
4323 2005-10-04 Johan Dahlin <johan@gnome.org>
4325 * check/gst/gstiterator.c: (GST_START_TEST):
4326 * gst/gstbin.c: (gst_bin_iterate_elements),
4327 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
4328 * gst/gstelement.c: (gst_element_iterate_pads):
4329 * gst/gstformat.c: (gst_format_iterate_definitions):
4330 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
4331 (gst_iterator_new_list), (gst_iterator_filter):
4332 * gst/gstiterator.h:
4333 * gst/gstquery.c: (gst_query_type_iterate_definitions):
4334 Add a GType to GstIterator, update callsites and tests.
4336 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
4338 * gst/gstpad.c: (gst_pad_event_default_dispatch):
4339 give events a chance to be handled by event probes when the pad
4342 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
4344 * gst/gstevent.c: (gst_event_type_get_name),
4345 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
4347 add string representations for event types
4349 2005-10-06 Wim Taymans <wim@fluendo.com>
4351 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
4352 Don't use NULL pointers.
4354 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
4356 * gst/gst_private.h:
4360 * gst/gstpluginfeature.c:
4361 widen the debug category in output to fit the biggest one we have
4362 add a bus category and use it
4363 play with the colors
4364 fix up some categories
4366 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
4368 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
4369 add push activation of sink ghost pads.
4370 Andye, please verify
4372 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
4374 * gst/gstutils.c: (gst_element_link_pads):
4375 fix a bug in the case where neither element has a pad
4376 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
4377 add a test for that case
4379 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
4381 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
4382 emit have-data before checking for peers. This allows
4383 for probe handlers to connect elements. This helps autopluggers.
4384 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
4386 add six checks, linked/unlinked with no/true/false probe
4388 2005-10-04 Wim Taymans <wim@fluendo.com>
4390 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
4391 (gst_fake_sink_event), (gst_fake_sink_preroll),
4392 (gst_fake_sink_render), (gst_fake_sink_change_state):
4393 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
4394 (gst_fake_src_get_property), (gst_fake_src_create),
4395 (gst_fake_src_stop):
4396 * gst/elements/gstidentity.c: (gst_identity_stop):
4397 Protect last_message with lock.
4399 2005-10-04 Edward Hervey <edward@fluendo.com>
4402 Added precision in the comments for GST_FORMAT_DEFAULT
4404 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
4406 * tools/gst-launch.c: (main):
4407 Don't try to run erroneous pipelines.
4409 2005-10-04 Julien MOUTTE <julien@moutte.net>
4411 * gst/gstbus.c: We don't need this header.
4413 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
4418 === release 0.9.3 ===
4420 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
4424 Releasing 0.9.3, "Unregistered"
4426 2005-10-03 Andy Wingo <wingo@pobox.com>
4428 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
4429 whereby calling a pad's activatepush() function can start a thread
4430 that starts to push or pull before the pad gets the FLUSHING flag
4431 unset. Hack around it by holding the stream lock until the flag is
4432 set. Need to replace this with a proper solution. Together with
4433 the ghost pad fixes, this fixes mp3 playing/tagreading.
4435 * docs/design/part-gstghostpad.txt: Add a note about activation of
4436 proxy pads outside of ghost pads.
4438 * gst/gstghostpad.c: Implement the ghost pad activation design.
4440 2005-10-02 Andy Wingo <wingo@pobox.com>
4442 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
4443 It is volatile, after all.
4445 * docs/design/part-gstghostpad.txt: Flesh out activation with
4448 * gst/base/gstbasesrc.c (gst_base_src_init): Use
4451 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
4454 Fix (unused) AM_CONDITIONAL tests.
4456 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
4458 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4460 * gst/gstutils.c: (gst_pad_query_convert):
4461 Add assertion that makes sure src_val is >=0, just like
4462 gst_query_new_convert() has. (#315895)
4464 2005-09-30 Edward Hervey <edward@fluendo.com>
4466 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
4467 Let's not iterate pads we're not interested in, it avoids getting
4468 sky-high refcounts on sinkpad.
4470 2005-09-30 Wim Taymans <wim@fluendo.com>
4472 * gst/gstelement.c: (gst_element_set_state),
4473 (gst_element_change_state):
4474 Small tweak, element in ASYNC remains ASYNC.
4476 2005-09-30 Wim Taymans <wim@fluendo.com>
4478 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
4479 Only error is an error.
4481 * gst/gstbin.c: (gst_bin_change_state):
4484 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
4485 Also call pad_block in pad alloc.
4487 * gst/gstutils.c: (gst_flow_get_name):
4490 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
4492 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4493 (gst_base_src_get_range):
4494 Fix documentation typos. Add some more debug info.
4496 2005-09-29 David Schleef <ds@schleef.org>
4498 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
4499 more end-user friendly.
4500 * tools/gst-inspect.c: (main): Check if command-line argument is
4501 a file and attempt to load that file as a plugin.
4503 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
4505 * check/gst/gstbin.c:
4506 * check/states/sinks.c:
4507 fix tests for the new warning
4508 * check/gst/gstpipeline.c:
4509 add a test for pipeline and bus interaction
4511 elements should be NULL if they get disposed; add a warning if not
4513 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
4516 for 2.6 refcounting, make debug log more correct by printing
4517 the actual refcounts at the time of swap (Wim)
4519 2005-09-29 Andy Wingo <wingo@pobox.com>
4521 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
4522 removes signal watches previously added via
4523 gst_bus_add_signal_watch.
4524 (gst_bus_add_signal_watch): Don't return the source id, just store
4525 it on the bus if there wasn't an id already.
4527 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
4528 add_signal_watch and remove_signal_watch.
4530 2005-09-29 Edward Hervey <edward@fluendo.com>
4532 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
4533 Better if we actually iterate the list :)
4535 2005-09-29 Wim Taymans <wim@fluendo.com>
4537 * check/gst/gstbin.c: (GST_START_TEST):
4538 Change for new bus API.
4540 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
4541 (send_messages), (GST_START_TEST), (gstbus_suite):
4542 Change for new bus signal API.
4544 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
4545 (gst_bus_source_prepare), (gst_bus_source_check),
4546 (gst_bus_create_watch), (gst_bus_add_watch_full),
4547 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
4548 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
4550 Remove support for multiple GSources operating on different
4551 message types as it is too complex and unneeded when using
4553 Added support for receiving signals from the bus.
4555 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
4557 * docs/libs/tmpl/gstdataprotocol.sgml:
4558 * docs/manual/advanced-dataaccess.xml:
4559 * gst/elements/gstcapsfilter.c:
4561 rename filter-caps to caps property
4563 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
4565 * gst/gstvalue.c: (gst_value_deserialize_fraction):
4566 More robust fraction string parsing.
4568 * docs/pwg/appendix-porting.xml:
4569 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
4571 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
4573 * gst/gstcaps.c: (gst_caps_do_simplify):
4574 Thou shalt not free a structure and then continue using it
4575 in the next loop iteration.
4577 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
4579 Add test case for caps simplification.
4581 2005-09-29 Wim Taymans <wim@fluendo.com>
4583 * check/gst/gstbin.c: (GST_START_TEST):
4586 2005-09-29 Wim Taymans <wim@fluendo.com>
4588 * check/gst/gstbin.c: (GST_START_TEST):
4591 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
4592 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
4593 (find_element), (gst_bin_sort_iterator_next),
4594 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4595 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4596 (gst_bin_change_state), (gst_bin_dispose):
4597 A bin does not have a bus, it gets the bus from the parent.
4599 * gst/gstelement.c: (gst_element_requires_clock),
4600 (gst_element_provides_clock), (gst_element_is_indexable),
4601 (gst_element_is_locked_state), (gst_element_change_state),
4602 (gst_element_set_bus_func):
4605 * gst/gstpipeline.c: (gst_pipeline_class_init),
4606 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
4607 The pipeline provides a bus.
4609 2005-09-28 Johan Dahlin <johan@gnome.org>
4611 * gst/gstmessage.c (gst_message_parse_state_changed): Use
4612 gst_structure_get_enum instead of gst_structure_get_int
4614 * gst/gststructure.c (gst_structure_get_enum): Impl.
4616 * gst/gststructure.h (gst_structure_get_enum): Add
4618 * docs/gst/gstreamer-sections.txt: Ditto
4620 * gst/gstmessage.c (gst_message_new_state_changed): Use
4621 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
4622 which does introspection.
4623 Reviewed by Christian Schaller
4625 2005-09-28 Stefan Kost <ensonic@users.sf.net>
4627 * gst/gstinfo.c: (gst_debug_log_default):
4628 don't do dummy g_strdup()s
4629 * libs/gst/controller/gstcontroller.c:
4630 (on_object_controlled_property_changed),
4631 (gst_controlled_property_new), (gst_controller_new_valist),
4632 (gst_controller_new_list),
4633 (gst_controller_remove_properties_valist), (gst_controller_set),
4634 (gst_controller_get), (gst_controller_sync_values),
4635 (gst_controller_get_value_array), (_gst_controller_class_init),
4636 (gst_controller_get_type):
4637 * libs/gst/controller/gstcontroller.h:
4638 * libs/gst/controller/gstinterpolation.c:
4639 (gst_controlled_property_find_timed_value_node):
4640 convert // to /**/ comments
4642 2005-09-28 Wim Taymans <wim@fluendo.com>
4644 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
4645 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
4646 (gst_bus_sync_signal_handler):
4648 Added async-message and sync-message signals to the bus.
4649 Added helper BusFunc to emit signals for all posted messages.
4651 * gst/gstmessage.c: (gst_message_type_get_name),
4652 (gst_message_type_to_quark), (gst_message_get_type):
4654 Register quarks for message names.
4656 2005-09-28 Stefan Kost <ensonic@users.sf.net>
4658 * docs/libs/gstreamer-libs-sections.txt:
4659 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
4660 (gst_controller_new_list):
4661 * libs/gst/controller/gstcontroller.h:
4662 added another constructor for language bindings
4664 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
4666 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4670 * gst/gstinfo.c: (_gst_debug_init):
4671 slightly more readable color for refcount debugging
4673 2005-09-28 Wim Taymans <wim@fluendo.com>
4675 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
4676 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
4677 (find_element), (gst_bin_sort_iterator_next),
4678 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4679 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4680 (gst_bin_change_state), (gst_bin_dispose):
4681 Small doc fixes. get_clock -> provide_clock.
4683 * gst/gstelement.c: (gst_element_class_init),
4684 (gst_element_provides_clock), (gst_element_provide_clock),
4685 (gst_element_get_clock), (gst_element_commit_state),
4686 (gst_element_lost_state):
4688 Make get/set_clock() symetric. Add provide_clock vmethod since
4689 that is actually what this function does.
4691 * gst/gstpipeline.c: (gst_pipeline_class_init),
4692 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
4693 (gst_pipeline_get_clock):
4694 get_clock -> provide_clock.
4696 2005-09-28 Andy Wingo <wingo@pobox.com>
4698 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
4699 lieu of real docs...
4701 * gst/elements/gstfdsrc.c: Cleaned up a bit.
4703 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
4705 * gst/elements/gstcapsfilter.c:
4706 * gst/elements/gstfakesink.c:
4707 * gst/elements/gstfakesrc.c:
4708 * gst/elements/gstfdsink.c:
4709 * gst/elements/gstfdsrc.c:
4710 * gst/elements/gstfilesink.c:
4711 * gst/elements/gstfilesrc.c:
4712 * gst/elements/gstidentity.c:
4713 * gst/elements/gsttee.c:
4714 * gst/elements/gsttypefindelement.c:
4715 Make element details static.
4717 2005-09-28 Wim Taymans <wim@fluendo.com>
4719 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4720 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4721 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4722 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4723 (gst_bin_change_state), (gst_bin_dispose):
4724 Some documentation updates.
4725 Clean up dispose handlers.
4727 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
4728 * gst/gstpad.c: (gst_pad_dispose):
4729 Clean up dispose handler.
4731 * gst/gstpipeline.c: (gst_pipeline_change_state):
4732 Removed spurious UNLOCK.
4734 2005-09-27 Stefan Kost <ensonic@users.sf.net>
4736 * docs/gst/gstreamer-sections.txt:
4737 * gst/base/gstbasesrc.h:
4742 * gst/gstpipeline.c:
4743 * gst/gstpipeline.h:
4746 added two new functions to the docs
4747 documents all undocumented GstXXXFlags
4748 completed some incomplete docs
4750 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
4752 * gst/gstbin.c: (gst_bin_dispose):
4753 * gst/gstelement.c: (gst_element_dispose):
4754 remove now useless and leaky resurrection code in dispose
4755 * gst/base/gstbasesrc.c: (gst_base_src_init):
4756 * gst/gstelementfactory.c: (gst_element_factory_create):
4757 * gst/gstobject.c: (gst_object_set_parent):
4760 2005-09-27 Wim Taymans <wim@fluendo.com>
4762 * docs/design/part-TODO.txt:
4765 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4766 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4767 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4768 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4769 (gst_bin_change_state):
4771 Remove element variable, we keep element info in the iterator now.
4773 2005-09-27 Andy Wingo <wingo@pobox.com>
4775 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
4778 2005-09-27 Wim Taymans <wim@fluendo.com>
4780 * check/gst/gstbin.c: (GST_START_TEST):
4781 Enable check that works now.
4783 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4784 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4785 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4786 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4787 (gst_bin_change_state):
4789 Redid the state change algorithm using a topological sort algo.
4790 Handles all cases correctly.
4791 Exposed iterator for state change order.
4794 Temp storage for state changes. Need to get rid of this soon.
4796 2005-09-27 Wim Taymans <wim@fluendo.com>
4798 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
4799 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
4800 (link_fold_func), (gst_pad_proxy_setcaps):
4801 Leak fixes, the fold functions need to unref the passed object and
4802 _get_parent_*() returns ref to parent.
4804 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
4806 * check/gst/gstbuffer.c: (test_make_writable):
4807 Plug leak in test case and fix 'make check-valgrind'
4809 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
4811 * gst/gstbuffer.c: (gst_subbuffer_init):
4812 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
4813 works correctly in all circumstances (we could have just copied
4814 the parent buffer's readonly flag, but conceptually it seems
4815 cleaner to mark all subbuffers as read-only). (based on patch
4816 by Alessandro Decina, #314710).
4818 * check/gst/gstbuffer.c: (create_read_only_buffer),
4819 (test_make_writable), (test_subbuffer_make_writable),
4821 Add some tests for gst_buffer_make_writable().
4823 2005-09-27 Wim Taymans <wim@fluendo.com>
4825 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
4826 use gst_object_has_ancestor().
4828 * gst/gstobject.c: (gst_object_has_ancestor):
4830 gst_object_has_ancestor() copied from gstbin.c as it is a
4833 * tests/instantiate/create.c: (create_all_elements):
4834 * tests/lat.c: (handoff_src), (handoff_sink):
4835 * tests/sched/runxml.c: (main):
4836 * tests/seeking/seeking1.c: (main):
4837 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
4839 Fix compilation of some tests.
4841 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
4844 Remove comment. GST_TYPE_G_ERROR is here to stay,
4845 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
4848 2005-09-26 Wim Taymans <wim@fluendo.com>
4850 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4851 Added check that shows error in state change order.
4853 2005-09-26 Wim Taymans <wim@fluendo.com>
4855 * gst/gstbin.c: (gst_bin_change_state):
4856 Make state change function use 3 queues again, we were
4857 adding elements in the wrong order.
4859 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
4862 * gst/gstpad.c: (gst_pad_dispose):
4863 Added some debug info first.
4865 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
4867 * docs/design/draft-push-pull.txt:
4868 * docs/design/part-events.txt:
4869 * docs/design/part-overview.txt:
4870 * docs/design/part-scheduling.txt:
4871 Replace all _pull_region() with _pull_range()
4873 2005-09-26 Andy Wingo <wingo@pobox.com>
4875 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
4877 * check/gst-libs/controller.c: Update for controller api change.
4880 * tests/Makefile.am:
4881 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
4882 over by GLib bug 118439.
4884 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
4885 routines to a function.
4887 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
4889 * libs/gst/controller/gsthelper.c:
4890 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
4891 (gst_object_sync_values): Renamed from sink_values. Ugh.
4893 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
4895 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
4896 Renamed from controller_key, as it is exported.
4898 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
4900 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
4905 * gst/gstpadtemplate.h:
4908 * gst/gstqueryutils.c:
4909 * gst/gstqueryutils.h:
4910 remove queryutils headers after moving the two used functions
4911 to gstquery. also fixes build problem for gstsiddec
4913 2005-09-26 Michael Smith <msmith@fluendo.com>
4915 * tools/gst-launch.1.in:
4916 Correct documentation in manpage of debug syntax
4918 2005-09-26 Wim Taymans <wim@fluendo.com>
4920 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
4921 (gst_base_src_is_seekable), (gst_base_src_change_state):
4922 Some more debugging info.
4924 2005-09-25 Stefan Kost <ensonic@users.sf.net>
4926 * docs/gst/gstreamer-sections.txt:
4927 * gst/base/gstbasetransform.h:
4931 2005-09-25 Stefan Kost <ensonic@users.sf.net>
4933 * docs/gst/.cvsignore:
4934 * docs/gst/tmpl/.cvsignore:
4935 * docs/gst/tmpl/gstpipeline.sgml:
4936 * docs/gst/tmpl/gstplugin.sgml:
4937 * gst/gstpipeline.c:
4940 inlined the last two docs files
4941 removed the tmpl directory from cvs (no more conflicts here!)
4943 2005-09-25 Stefan Kost <ensonic@users.sf.net>
4945 * docs/gst/gstreamer-sections.txt:
4946 * docs/gst/tmpl/.cvsignore:
4947 * docs/gst/tmpl/gstpad.sgml:
4948 * docs/gst/tmpl/gstpadtemplate.sgml:
4950 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
4951 (gst_pad_finalize), (gst_pad_set_pad_template):
4953 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
4954 (gst_pad_template_class_init), (gst_pad_template_init),
4955 (gst_pad_template_dispose), (name_is_valid),
4956 (gst_static_pad_template_get), (gst_pad_template_new),
4957 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
4958 (gst_pad_template_pad_created):
4959 * gst/gstpadtemplate.h:
4960 inlined two more docs
4961 factored gstpadtemplate out of gstpad
4963 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
4965 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
4966 (test_children_state_change_order_semi_sink):
4967 Fix test case: we can't rely on a fixed state change order when
4968 going from READY => PAUSED because the sink might commit its
4969 new state first when the first buffer created by the source
4970 reaches the sink before the source has finished its change state.
4971 (Test case still fails at times, see #316856, comment 5 onwards)
4973 2005-09-24 Wim Taymans <wim@fluendo.com>
4975 * docs/design/part-events.txt:
4976 * docs/design/part-gstbus.txt:
4977 * docs/design/part-gstpipeline.txt:
4978 * docs/design/part-messages.txt:
4979 * docs/design/part-overview.txt:
4980 * docs/design/part-segments.txt:
4987 * gst/gstiterator.c:
4988 Various documentation updates.
4990 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
4993 Well, that's embarassing. Luckily we weren't using
4994 GST_CLOCK_DIFF anywhere.
4996 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
4998 * common/gtk-doc.mak:
4999 don't fail on building XML, FC4 slave shows a bunch of doc
5000 missing bits that I don't get
5002 * gst/gstpipeline.c:
5003 * gst/gststructure.c:
5006 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
5008 * docs/design/part-gstbin.txt:
5009 * docs/design/part-gstbus.txt:
5011 Add blurb about how the bus goes into flushing mode and
5012 drops all messages when its bin goes from READY into NULL
5015 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5017 * docs/gst/gstreamer-sections.txt:
5018 * gst/gststructure.c: (gst_structure_get_clock_time):
5019 * gst/gststructure.h:
5020 add a method to get a GstClockTime out of a structure
5022 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
5024 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
5025 (test_children_state_change_order_semi_sink), (gst_bin_suite):
5026 Added test to check state change order in bins (can still be made
5027 to fail here under heavy disk load; bails out with 'Push on pad
5028 fakesink:sink0, but it was not activated in push mode').
5030 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
5031 Fix state change order when there is only a semi sink (#316856)
5033 * gst/gstbus.c: (gst_bus_class_init):
5034 Use _class_peek_parent(), not _class_ref(); fix docs to say
5035 'default main context' instead of 'mainloop' where that is
5038 * gst/gstelement.c: (gst_element_commit_state),
5039 (gst_element_set_state):
5040 Fix typos in debug messages
5042 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5045 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
5046 * gst/gstpluginfeature.c:
5049 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5050 change an assert into an error until it gets fixed properly
5052 2005-09-23 Stefan Kost <ensonic@users.sf.net>
5054 * docs/gst/gstreamer-sections.txt:
5055 * docs/gst/tmpl/.cvsignore:
5056 * docs/gst/tmpl/gstelement.sgml:
5057 * docs/gst/tmpl/gstinfo.sgml:
5058 * docs/gst/tmpl/gstobject.sgml:
5063 * gst/gstobject.c: (gst_object_class_init):
5065 inlined 3 more biiiig doc files and added some missing docs on the fly
5067 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5069 * check/gst/.cvsignore:
5070 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
5071 * gst/gstregistryxml.c: (load_plugin),
5072 (gst_registry_xml_save_plugin):
5073 put back source in registry. add checks for find_plugin.
5074 * testsuite/states/bin.c: (assert_state), (empty_bin),
5075 (test_adding_one_element), (main):
5076 * testsuite/states/locked.c: (main):
5077 some compile/run fixes
5079 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
5081 * check/gst/gstvalue.c: (GST_START_TEST):
5082 fix leaks in the test itself
5084 2005-09-22 Wim Taymans <wim@fluendo.com>
5086 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5087 (gst_base_sink_send_event), (gst_base_sink_peer_query),
5088 (gst_base_sink_query):
5089 Prepare for more accurate position reporting and query
5092 * gst/gstelement.c: (gst_element_send_event),
5093 (gst_element_set_state):
5096 2005-09-22 Wim Taymans <wim@fluendo.com>
5098 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
5099 (gst_query_parse_segment):
5102 Add segment query for future use.
5104 2005-09-22 Wim Taymans <wim@fluendo.com>
5106 * gst/gstbin.c: (gst_bin_add_func):
5107 Some more debug info.
5109 * gst/gstelement.c: (gst_element_send_event):
5113 Don't know how flags got broken.
5118 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
5120 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
5121 Add simplistic test suite for GST_TYPE_DATE serialisation and
5124 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
5126 * docs/gst/gstreamer-sections.txt:
5127 * gst/gststructure.c: (gst_structure_set_valist),
5128 (gst_structure_get_date):
5129 * gst/gststructure.h:
5130 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
5131 (gst_date_copy), (gst_value_compare_date),
5132 (gst_value_serialize_date), (gst_value_deserialize_date),
5133 (gst_value_transform_date_string),
5134 (gst_value_transform_string_date), (_gst_value_initialize):
5136 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
5137 bunch of utility functions along with a hack that checks that
5138 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
5139 is required. Part of the grand scheme in #170777.
5141 2005-09-22 Andy Wingo <wingo@pobox.com>
5143 * gst/gstconfig.h.in: Psych out gtk-doc.
5145 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
5147 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
5149 * tools/gst-inspect.c (print_element_list): Plug some
5150 inconsequential leaks.
5152 * gst/gstregistry.c (gst_registry_get_default): Doc.
5154 * check/gst/gstplugin.c:
5155 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
5156 * gst/gstelementfactory.c (gst_element_factory_create):
5157 * gst/gstindexfactory.c (gst_index_factory_create): Update for
5160 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
5161 (gst_plugin_feature_load): Doc, don't eat refs.
5163 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
5164 (gst_plugin_list_free): Doc.
5165 (gst_plugin_load_file): Doc updates.
5167 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
5168 accessors returning refcounted objects, return a ref.
5170 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
5171 accessor for caps. IDEMPOTENCE. Oh yes.
5173 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
5175 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
5177 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
5178 (_gst_debug_register_funcptr):
5179 Add mutex to serialise access to the hash table with
5180 the function pointer => function name string mapping;
5181 make that hash table static scope (#316809).
5183 * gst/registries/.cvsignore:
5184 Remove left-over file.
5186 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
5188 * docs/pwg/appendix-porting.xml:
5189 And something about newsegment events and caps-on-buffers to
5190 the porting guide (feel free to improve).
5192 2005-09-21 Andy Wingo <wingo@pobox.com>
5194 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
5195 data and event probes on the same pad.
5196 (test_buffer_probe_once): Test that removing probes from within
5197 the probe functions works.
5199 2005-09-21 Andy Wingo <wingo@pobox.com>
5201 * check/gst/gstutils.c: New file.
5202 (test_buffer_probe_n_times): A simple buffer probe test. More to
5205 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
5206 have-data::buffer, not have-data.
5207 (gst_pad_add_event_probe): Likewise for have-data::event.
5208 (gst_pad_add_data_probe): More docs. The part about 'resolving the
5209 peer' isn't quite right yet though.
5210 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
5211 (gst_pad_remove_data_probe): Change to take the guint handler_id
5212 as their arg, not the function+data, which is more glib-like.
5214 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
5215 the signal emission to indicate if the data is a buffer or an
5217 (gst_pad_get_type): Initialize buffer and event quarks.
5218 (gst_pad_class_init): have-data is now a detailed signal, yes it
5221 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
5223 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
5224 * gst/gstutils.c: (gst_util_set_value_from_string),
5225 (gst_util_set_object_arg):
5226 Don't put functional code in g_return_if_fail() or
5227 g_return_val_if_fail() statements, otherwise things will
5228 break when G_DISABLE_CHECKS is defined during compilation.
5230 2005-09-21 Stefan Kost <ensonic@users.sf.net>
5232 * docs/gst/tmpl/.cvsignore:
5233 * docs/gst/tmpl/gstvalue.sgml:
5236 inlied another one and added some obvious docs
5238 2005-09-21 Wim Taymans <wim@fluendo.com>
5240 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
5241 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
5242 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
5243 (gst_fdsrc_get_property), (gst_fdsrc_create):
5244 * gst/elements/gstfdsrc.h:
5245 Properly implement fdsrc. Removed signal and timeout,
5246 better implemented somewhere else.
5248 2005-09-21 Stefan Kost <ensonic@users.sf.net>
5250 * docs/gst/tmpl/.cvsignore:
5251 * docs/gst/tmpl/gstimplementsinterface.sgml:
5252 * gst/gstinterface.c:
5255 2005-09-21 Stefan Kost <ensonic@users.sf.net>
5257 * docs/gst/gstreamer-sections.txt:
5258 * docs/gst/tmpl/.cvsignore:
5259 * docs/gst/tmpl/gstenumtypes.sgml:
5260 remove obsolete doc file
5262 2005-09-21 David Schleef <ds@schleef.org>
5264 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
5265 little beer, fix a little leak.
5267 2005-09-21 Stefan Kost <ensonic@users.sf.net>
5269 * docs/gst/gstreamer-docs.sgml:
5270 * docs/gst/gstreamer-sections.txt:
5271 * docs/gst/tmpl/.cvsignore:
5276 * gst/gstindex.c: (gst_index_class_init):
5278 * gst/gstindexfactory.c: (gst_index_factory_get_type),
5279 (gst_index_factory_class_init), (gst_index_factory_init),
5280 (gst_index_factory_finalize), (gst_index_factory_new),
5281 (gst_index_factory_destroy), (gst_index_factory_find),
5282 (gst_index_factory_create), (gst_index_factory_make):
5283 * gst/gstindexfactory.h:
5284 * gst/gstpluginfeature.c:
5285 * gst/gstpluginfeature.h:
5286 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5287 more docs inlined, splitted gstindex.{c,h}
5289 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5291 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5294 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
5296 * gst/elements/gstfilesink.c: (gst_file_sink_init):
5297 Set sync to FALSE by default.
5299 2005-09-20 Wim Taymans <wim@fluendo.com>
5301 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5302 (gst_base_sink_init):
5303 Make sync property settable from subclass.
5305 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
5306 (gst_fake_sink_change_state):
5307 Set sync to FALSE by default.
5309 2005-09-20 Wim Taymans <wim@fluendo.com>
5311 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
5312 * tools/gst-launch.c: (main):
5313 The timeout handler should have lower priority than the source
5314 so we don't timeout before popping a message with 0 timeout.
5315 Dump error messages after failed state change.
5317 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
5319 * tools/gst-inspect.c: (print_element_properties_info):
5322 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5324 * check/gst/gstevent.c:
5325 * gst/elements/gstfakesink.c:
5326 * gst/elements/gstfakesink.h:
5327 remove the sync property from fakesink.
5328 has the side effect of setting sync TRUE
5329 for fakesink, which is a change. Anyone who knows how
5330 to fix this nicely in a GObject-y way, feel free.
5332 2005-09-20 Stefan Kost <ensonic@users.sf.net>
5334 * docs/gst/gstreamer-docs.sgml:
5335 remove probe refsection
5337 2005-09-20 Stefan Kost <ensonic@users.sf.net>
5339 * check/Makefile.am:
5340 disable valgrinding the controller test again
5341 * docs/gst/gstreamer-sections.txt:
5342 update for api-changes
5344 2005-09-20 Wim Taymans <wim@fluendo.com>
5346 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5347 (gst_base_sink_set_property), (gst_base_sink_get_property),
5348 (gst_base_sink_do_sync):
5349 * gst/base/gstbasesink.h:
5350 Added sync property to basesink to disable clock sync.
5352 2005-09-20 Andy Wingo <wingo@pobox.com>
5354 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
5355 eating the caller's refcount.
5357 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
5358 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
5361 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
5362 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
5363 of GLib 2.8 public, so we can know which refcount to check in
5366 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
5367 (gst_object_init): Only set the gst refcount if we're going ahead
5368 with the refcount hack.
5370 2005-09-20 Stefan Kost <ensonic@users.sf.net>
5372 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
5373 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5374 more leaks plumbed, added more debug-logging
5378 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5381 remove include of gstmemchunk.h
5383 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5385 * gst/gstclock.c: (_gst_clock_id_free):
5386 Commit from the Political Party For More Atomic CVS Commits,
5387 so that people don't waste too much of their day fishing
5388 out obvious leaks out of massive commits.
5389 Oh, and fix a pretty damn obvious leak in the memchunk
5392 2005-09-20 Stefan Kost <ensonic@users.sf.net>
5394 * check/Makefile.am:
5395 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
5396 plug mem-leak, re-add to valgrindable tests
5398 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5401 unbreak the build for those who have chronic arthritis
5402 and typing "make check" is just too taxing on the hands
5404 2005-09-20 Andy Wingo <wingo@pobox.com>
5406 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
5407 really want it out, you should fix plugins at the same time.
5409 2005-09-19 Stefan Kost <ensonic@users.sf.net>
5412 * docs/gst/gstreamer-sections.txt:
5414 added missing symbols to api docs
5415 disable ref-count hack if we have glib >= 2.8
5417 2005-09-19 David Schleef <ds@schleef.org>
5419 * docs/gst/Makefile.am: Ignore a few more internal headers
5420 * docs/gst/gstreamer-docs.sgml: Remove old sections
5421 * docs/gst/gstreamer-sections.txt: Remove old sections
5422 * docs/gst/tmpl/gstobject.sgml: update
5423 * docs/gst/tmpl/gstplugin.sgml: update
5424 * docs/gst/tmpl/gstpluginfeature.sgml: update
5425 * docs/random/ds/0.9-suggested-changes: update.
5426 * gst/Makefile.am: remove memchunk and trashstack, since they're
5428 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
5429 * gst/gst.h: don't include some headers
5430 * gst/gstchildproxy.c: add gstmarshal.h
5431 * gst/gstclock.c: Don't use memchunks
5432 * gst/gstminiobject.c: Add some docs
5433 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
5434 * gst/gstobject.h: same
5435 * gst/gstplugin.c: include gstmacros.h
5436 * gst/gstplugin.h: don't include gstmacros.h, since it's private
5437 * gst/gstquery.c: don't use memchunks
5438 * gst/gstregistry.c: rename gst_registry_deinit()
5439 * gst/gstregistry.h: same
5441 2005-09-19 David Schleef <ds@schleef.org>
5443 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
5444 * docs/libs/gstreamer-libs-sections.txt:
5445 * docs/libs/tmpl/gstgetbits.sgml:
5446 * docs/libs/tmpl/gstputbits.sgml:
5448 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
5450 * win32/gstenumtypes.c:
5451 * win32/gstenumtypes.h:
5454 2005-09-19 Wim Taymans <wim@fluendo.com>
5456 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
5457 Automatically PAUSE and RESUME a pipeline when a flushing seek
5460 2005-09-19 Andy Wingo <wingo@pobox.com>
5462 * gst/gstregistry.h: Spacing fixen.
5464 2005-09-19 Wim Taymans <wim@fluendo.com>
5466 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
5467 Handle state change failure more correctly.
5469 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
5471 * check/Makefile.am:
5472 * check/pipelines/cleanup.c: (run_pipeline):
5473 * check/pipelines/simple_launch_lines.c: (run_pipeline),
5475 enable cleanup again after fixing the leak
5477 some more info on docs
5479 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
5481 * check/Makefile.am:
5482 re-enable tests now that leaks are plugged
5484 * check/gst/gstbin.c:
5485 * check/gst/gstpipeline.c:
5486 add some more tests while fixing leaks
5488 make sure binaries are uptodate when valgrinding/gdbing
5490 * gst/gstelementfactory.c:
5491 remove a ref too many, and add a FIXME for when we get
5492 round to disposing of classes
5494 fix the refcounting when loading a plugin from a file and
5495 the code pretends that the pointer is the same even though
5496 of course it can change
5497 * gst/gstpluginfeature.c:
5498 unref plugins marked cached (a bit confusing as a name)
5499 as the docs state should be done
5500 various doc additions to explain refcounting
5501 * gst/gstregistry.c:
5502 * gst/gstregistryxml.c:
5505 2005-09-19 Wim Taymans <wim@fluendo.com>
5507 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
5508 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
5509 (send_messages), (GST_START_TEST), (gstbus_suite):
5510 * check/gst/gstpipeline.c: (GST_START_TEST):
5511 * check/pipelines/cleanup.c: (run_pipeline):
5512 * check/pipelines/simple_launch_lines.c: (run_pipeline),
5514 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
5515 (gst_bus_source_check), (gst_bus_source_dispatch),
5516 (gst_bus_create_watch), (gst_bus_add_watch_full),
5517 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
5519 * tools/gst-launch.c: (event_loop):
5520 * tools/gst-md5sum.c: (event_loop):
5521 GstBusHandler -> GstBusFunc, return value has the same meaning as
5522 any other GSource (FALSE == remove source).
5523 _add_watch() and _add_watch_full() now take a MessageType mask to
5524 only handle specific types of messages.
5525 _poll() returns the GstMessage instead of the message type to avoid
5527 _have_pending() takes a MessageType mask now too.
5528 Added testsuite for multiple bus watches.
5529 Fix testsuites and applications for new bus API.
5531 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
5533 * check/Makefile.am:
5534 mark a bunch of the tests as to fix until we fix them
5536 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
5539 use GST_PLUGIN settings for valgrind tests as well, so we're
5540 valgrinding the correct thing
5541 * gst/gst.c: (init_post):
5544 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
5546 * gst/gst.c: (init_post), (gst_deinit):
5547 * gst/gstelementfactory.c: (gst_element_factory_class_init),
5548 (gst_element_factory_finalize), (gst_element_factory_cleanup):
5549 * gst/gstindex.c: (gst_index_factory_class_init),
5550 (gst_index_factory_finalize):
5551 * gst/gstobject.c: (gst_object_dispose):
5552 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
5553 (gst_plugin_load_file), (gst_plugin_desc_free):
5554 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
5555 (gst_plugin_feature_finalize):
5556 * gst/gstregistry.c: (gst_registry_class_init),
5557 (gst_registry_init), (gst_registry_finalize),
5558 (gst_registry_get_default), (gst_registry_deinit):
5559 * gst/gstregistry.h:
5560 * gst/gstregistryxml.c: (load_feature), (load_plugin):
5561 various cleanups and memleak plugging. make valgrind is happy now.
5563 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
5566 add a check-valgrind target
5568 2005-09-18 David Schleef <ds@schleef.org>
5570 * tools/gst-inspect.c: Revert the GOption code.
5572 2005-09-17 David Schleef <ds@schleef.org>
5574 * check/Makefile.am: Fix environment variables.
5575 * check/gst/gstplugin.c: Fix for API changes.
5576 * tools/gst-inspect.c: Fix for API changes.
5577 * tools/gst-xmlinspect.c: Fix for API changes.
5578 * gst/gstelementfactory.c:
5581 * gst/gstpluginfeature.c:
5582 * gst/gstpluginfeature.h:
5583 * gst/gstregistry.c:
5584 * gst/gstregistry.h:
5585 * gst/gstregistryxml.c:
5586 * gst/gsttypefind.c:
5587 * gst/gsttypefindfactory.c:
5588 * gst/indexers/gstfileindex.c:
5589 * gst/indexers/gstmemindex.c:
5590 * gst/schedulers/Makefile.am:
5591 Change registry to keep track of both plugins and features,
5592 removing the feature tracking from plugins themselves.
5594 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
5596 * check/Makefile.am:
5597 * tools/gst-register.1.in:
5600 2005-09-15 David Schleef <ds@schleef.org>
5602 * check/gst/gstplugin.c:
5603 * gst/gstelementfactory.c:
5605 * gst/gstpluginfeature.c:
5606 * gst/gstregistry.c:
5607 Getting tired of debugging. Disabled all the unreffing of
5608 plugins and features, which fixes the segfaults, but of
5609 course leaks like crazy. At least playbin works.
5611 2005-09-15 David Schleef <ds@schleef.org>
5613 * check/gst/gstplugin.c: (register_check_elements),
5614 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
5616 * gst/elements/gsttypefindelement.c: Fix refcounting.
5617 * gst/gsttypefind.c:
5618 * gst/gsttypefindfactory.c:
5619 * gst/gsttypefindfactory.h:
5621 2005-09-15 David Schleef <ds@schleef.org>
5623 * gst/gstindex.c: get refcounting correct.
5624 * gst/gstregistry.c: Handle the case where a feature/plugin is
5627 2005-09-15 David Schleef <ds@schleef.org>
5629 * check/Makefile.am:
5630 * check/gst/gstplugin.c: Add test
5631 * gst/gstplugin.c: Fix problems noticed by testsuite
5633 * gst/gstregistry.c:
5634 * gst/gstregistry.h:
5636 2005-09-15 David Schleef <ds@schleef.org>
5638 * gst/gstplugin.c: Implement semi-decent recounting and locking
5639 in plugins and plugin features.
5641 * gst/gstpluginfeature.c:
5642 * gst/gstpluginfeature.h:
5643 * gst/gstregistry.c:
5645 2005-09-15 Michael Smith <msmith@fluendo.com>
5647 * gst/gstregistry.c: (gst_registry_get_feature_list):
5648 Implement this. Makes oggdemux work; decodebin still broken.
5650 2005-09-14 David Schleef <ds@schleef.org>
5652 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
5654 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
5655 * gst/check/Makefile.am:
5656 * libs/gst/controller/Makefile.am:
5657 * libs/gst/dataprotocol/Makefile.am:
5659 2005-09-14 David Schleef <ds@schleef.org>
5661 * configure.ac: Remove getbits library. Nothing uses it, and
5662 it should be in something like liboil if someone did want
5664 * libs/gst/Makefile.am:
5665 * libs/gst/getbits/Makefile.am:
5666 * libs/gst/getbits/gbtest.c:
5667 * libs/gst/getbits/getbits.c:
5668 * libs/gst/getbits/getbits.h:
5669 * libs/gst/getbits/gstgetbits_generic.c:
5670 * libs/gst/getbits/gstgetbits_i386.s:
5671 * libs/gst/getbits/gstgetbits_inl.h:
5673 2005-09-14 David Schleef <ds@schleef.org>
5675 * gst/Makefile.am: Dist glib-compat.h
5677 2005-09-14 David Schleef <ds@schleef.org>
5679 * configure.ac: Remove gst/registries, since it's no longer used.
5680 * gst/registries/Makefile.am:
5681 * gst/registries/gstlibxmlregistry.c:
5682 * gst/registries/gstlibxmlregistry.h:
5683 * gst/registries/gstxmlregistry.c:
5684 * gst/registries/gstxmlregistry.h:
5685 * gst/registries/registrytest.c:
5687 2005-09-14 David Schleef <ds@schleef.org>
5689 * gst/glib-compat.h:
5690 * gst/gstregistryxml.c:
5691 Convergence is near. Seriously.
5693 2005-09-14 David Schleef <ds@schleef.org>
5695 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5696 * gst/glib-compat.h:
5697 Attempt #4 to appease the buildbots.
5699 2005-09-14 David Schleef <ds@schleef.org>
5701 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5704 2005-09-14 David Schleef <ds@schleef.org>
5706 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5709 2005-09-14 David Schleef <ds@schleef.org>
5711 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
5714 2005-09-14 David Schleef <ds@schleef.org>
5716 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5717 * gst/glib-compat.h: Add some functions that are in newer versions
5718 of glib than we care to require.
5719 * gst/gstregistryxml.c: Use them.
5721 2005-09-14 David Schleef <ds@schleef.org>
5723 * po/POTFILES.in: remove gst-register.c
5725 2005-09-14 David Schleef <ds@schleef.org>
5727 * docs/gst/gstreamer-docs.sgml:
5728 * docs/gst/gstreamer-sections.txt:
5729 * docs/gst/gstreamer.types:
5730 * docs/gst/tmpl/gstelement.sgml:
5731 * docs/gst/tmpl/gstplugin.sgml:
5732 * docs/gst/tmpl/gstpluginfeature.sgml:
5733 Documentation updates for registry changes.
5735 2005-09-14 David Schleef <ds@schleef.org>
5737 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
5738 because we don't require glib-2.8.
5740 2005-09-14 David Schleef <ds@schleef.org>
5742 * gst/gstregistryxml.c: Added. Essentially moved out of the
5743 registries directory.
5745 2005-09-14 David Schleef <ds@schleef.org>
5747 * check/Makefile.am:
5748 * check/generic/states.c:
5752 * gst/gst_private.h:
5753 * gst/gstelementfactory.c:
5758 * gst/gstpluginfeature.c:
5759 * gst/gstpluginfeature.h:
5760 * gst/gstregistry.c:
5761 * gst/gstregistry.h:
5762 * gst/gstregistrypool.c: remove
5763 * gst/gstregistrypool.h: remove
5764 * gst/gsttypefind.c:
5765 * gst/gsttypefindfactory.c:
5767 * tools/Makefile.am:
5768 * tools/gst-compprep.c:
5769 * tools/gst-inspect.c:
5770 * tools/gst-register.c: remove
5771 * tools/gst-xmlinspect.c:
5772 Registry rewrite. Changes registry from being a file created
5773 by a tool into a simple cache file created automatically by
5774 libgstreamer. Removed gst-register (because it's no longer
5775 needed). Remove registry pools, because we only have one
5776 registry implementation (XML). Fix up other subsystems as
5779 2005-09-13 Michael Smith <msmith@fluendo.com>
5781 * gst/gstconfig.h.in:
5782 Don't Use windows linking attributes for MinGW. Fixes #316157
5784 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
5786 * gst/gstutils.c: (set_state_async_thread_func),
5787 (gst_element_set_state_async):
5788 Apparently people think it's better if this function doesn't
5789 try to set the state to whatever state was asked for on the first
5790 call to this function for any object. Seriously.
5792 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
5794 * check/gst/gstpipeline.c: (GST_START_TEST):
5795 * docs/gst/gstreamer-sections.txt:
5796 * gst/gstutils.c: (set_state_async_thread_func),
5797 (gst_element_set_state_async):
5799 add a "gst_element_set_state_async" method that
5800 sets the state and starts a thread to make sure the state
5801 change completes as best as it can
5803 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
5805 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5806 codify design+behaviour in testsuite after discussion
5808 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
5810 * docs/gst/tmpl/gstelement.sgml:
5811 * docs/manual/appendix-quotes.xml:
5813 * gst/gstelement.c: (gst_element_set_state):
5816 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
5818 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
5819 (gst_base_transform_prepare_output_buf),
5820 (gst_base_transform_handle_buffer):
5821 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
5822 (gst_capsfilter_prepare_buf):
5823 Remove the requirement for sub-classes to call the parent
5824 implementation of prepare_output_buffer with a wrapper function.
5827 * gst/gsttagsetter.h:
5830 2005-09-11 Stefan Kost <ensonic@users.sf.net>
5832 * docs/gst/gstreamer-sections.txt:
5835 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
5837 * docs/gst/gstreamer-sections.txt:
5838 * docs/gst/tmpl/gstelement.sgml:
5839 * docs/gst/tmpl/gstplugin.sgml:
5840 * gst/gstminiobject.c:
5842 docs now stop throwing warnings
5844 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
5846 * docs/gst/gstreamer-sections.txt:
5847 * docs/gst/gstreamer.types:
5848 * docs/gst/tmpl/gstpad.sgml:
5849 * docs/gst/tmpl/gsttypes.sgml:
5850 * gst/base/gstadapter.h:
5851 * gst/base/gstbasesink.h:
5852 * gst/base/gstbasesrc.h:
5862 * gst/gststructure.c:
5863 * gst/registries/gstlibxmlregistry.h:
5864 various documentation fixes
5866 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
5868 * docs/gst/gstreamer-sections.txt:
5869 * docs/gst/tmpl/gstvalue.sgml:
5870 rearrange gstvalue section
5871 * gst/gstutils.c: (gst_element_state_get_name):
5873 * gst/gstvalue.c: (_gst_value_initialize):
5877 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
5879 * check/gst-libs/controller.c:
5881 * gst/base/gstbasetransform.c:
5882 (gst_base_transform_default_prepare_buf),
5883 (gst_base_transform_handle_buffer):
5884 * gst/base/gstbasetransform.h:
5885 Some more basetransform changes and fixes to enable sub-classes
5886 that modify buffer metadata only.
5887 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5888 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
5889 (gst_capsfilter_prepare_buf):
5890 If the output pad has fixed allowed caps and input buffers
5891 don't have any, set the fixed caps on outgoing buffers.
5893 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
5894 * check/elements/identity.c: (GST_START_TEST):
5895 Make the error a little clearer when the test fails because
5896 identity made a copy of the buffer.
5897 * docs/gst/gstreamer-sections.txt:
5898 New symbols in gstbasetransform.h
5899 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
5900 (gst_base_transform_init), (gst_base_transform_transform_size),
5901 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5902 (gst_base_transform_default_prepare_buf),
5903 (gst_base_transform_get_unit_size),
5904 (gst_base_transform_buffer_alloc),
5905 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
5906 (gst_base_transform_change_state),
5907 (gst_base_transform_set_passthrough),
5908 (gst_base_transform_set_in_place),
5909 (gst_base_transform_is_in_place):
5910 * gst/base/gstbasetransform.h:
5911 Change BaseTransform to separate in_place operate from same_caps
5912 output. in_place implies that the element can perform the transform
5913 on incoming buffers in-place, even if the caps on the output are
5915 Sub-class elements can now implement special buffer allocation
5916 methods for outgoing buffers if they wish to.
5917 Big documentation addition.
5918 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
5919 * gst/elements/gstelements.c:
5920 Changes for basetransform modifications.
5921 * gst/elements/Makefile.am:
5922 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
5923 Compile fix. Extra debug output.
5925 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
5927 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
5929 add tests for valid pad naming
5930 * gst/check/gstcheck.c: (gst_check_log_message_func),
5931 (gst_check_log_critical_func):
5933 remove printing of code, it is fragile when the code contains
5934 % and the line number is enough info
5935 * gst/check/gstcheck.h:
5936 * gst/gstpad.c: (gst_pad_template_new):
5939 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
5942 say what CHECK flags we use
5943 * docs/libs/gstreamer-libs.types:
5944 * libs/gst/controller/Makefile.am:
5945 * libs/gst/controller/gst-controller.c:
5946 * libs/gst/controller/gst-controller.h:
5947 * libs/gst/controller/gst-helper.c:
5948 * libs/gst/controller/gst-interpolation.c:
5949 * libs/gst/controller/gstcontroller.c:
5950 * libs/gst/controller/gsthelper.c:
5951 * libs/gst/controller/gstinterpolation.c:
5952 * tools/gst-inspect.c: (print_plugin_info):
5953 we don't use dashes in header names
5955 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
5957 * check/Makefile.am:
5958 * check/gst/.cvsignore:
5959 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
5960 (gst_pipeline_suite), (main):
5961 adding a test for pipelines and state changes
5962 * gst/gstutils.c: (get_state_func):
5964 * gstreamer.spec.in:
5967 2005-09-08 Michael Smith <msmith@fluendo.com>
5969 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
5970 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
5971 (gst_file_src_is_seekable), (gst_file_src_get_size),
5972 (gst_file_src_start):
5973 * gst/elements/gstfilesrc.h:
5974 Various fixes for unseekable, unmmapable, and non-normal files, so
5975 that fallback to read() rather than mmap() works.
5976 * gst/gstevent.c: (gst_event_new_newsegment):
5977 Allow newsegment events with segment_start == segment_end, as will
5978 correctly happen if you use filesrc on a zero-size file, for
5981 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
5983 * gst/gstplugin.c: (gst_plugin_load_file):
5984 Call g_module_close when we don't load the module
5986 * gst/registries/gstlibxmlregistry.c:
5987 (gst_xml_registry_get_property):
5988 Port leak fix from 0.8
5990 2005-09-07 Stefan Kost <ensonic@users.sf.net>
5992 * docs/gst/gstreamer-docs.sgml:
5993 * docs/gst/tmpl/.cvsignore:
5994 * docs/gst/tmpl/gsttrace.sgml:
5995 * docs/gst/tmpl/gsttrashstack.sgml:
6004 * gst/gsttaginterface.c:
6005 * gst/gsttaginterface.h:
6008 * gst/gsttagsetter.c:
6009 * gst/gsttagsetter.h:
6012 * gst/gsttrashstack.c:
6013 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
6014 inlined docs for gsttrace, gsttrashstack
6016 2005-09-07 Stefan Kost <ensonic@users.sf.net>
6019 * gst/elements/gstbufferstore.h:
6020 * gst/elements/gsttypefindelement.c:
6021 * gst/elements/gsttypefindelement.h:
6023 * gst/gsttypefind.c:
6024 * gst/gsttypefind.h:
6025 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
6026 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
6027 (gst_type_find_factory_dispose),
6028 (gst_type_find_factory_unload_thyself),
6029 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
6030 (gst_type_find_factory_get_caps),
6031 (gst_type_find_factory_get_extensions),
6032 (gst_type_find_factory_call_function):
6033 * gst/gsttypefindfactory.h:
6034 * gst/registries/gstlibxmlregistry.c:
6035 * gst/registries/gstxmlregistry.c:
6036 splitted gsttypefind into gsttypefind, gsttypefindfactory
6038 2005-09-07 Andy Wingo <wingo@pobox.com>
6040 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
6041 condition whereby the pad's task function is entered before the
6042 pad_mode variable was set.
6044 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
6046 * gst/gstpad.c: (gst_pad_alloc_buffer):
6047 Catch misbehaving pad_alloc functions that don't
6048 set up caps and do it for them.
6050 2005-09-07 Stefan Kost <ensonic@users.sf.net>
6052 * check/pipelines/simple_launch_lines.c: (run_pipeline):
6054 * docs/gst/tmpl/.cvsignore:
6055 * docs/gst/tmpl/gstmemchunk.sgml:
6056 * docs/gst/tmpl/gstparse.sgml:
6057 * docs/gst/tmpl/gsttaglist.sgml:
6058 * docs/gst/tmpl/gsttagsetter.sgml:
6059 * docs/gst/tmpl/gsttypefind.sgml:
6060 * docs/gst/tmpl/gsttypefindfactory.sgml:
6061 * gst/gstmemchunk.c:
6064 * gst/gsttaginterface.c:
6065 * gst/gsttypefind.c:
6066 * gst/gsttypefind.h:
6069 === release 0.9.2 ===
6071 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
6076 releasing 0.9.2, "South"
6078 2005-09-05 Andy Wingo <wingo@pobox.com>
6080 * gst/registries/gstxmlregistry.h:
6081 * gst/registries/gstxmlregistry.c: Um... resurrect...
6083 * gst/registries/gstxmlregistry.h:
6084 * gst/registries/gstxmlregistry.c: and update to newer API.
6085 Incidentally they should be a bit faster now that they don't have
6088 2005-09-05 Andy Wingo <wingo@pobox.com>
6090 * gst/registries/gstxmlregistry.h:
6091 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
6092 replaced by the libxml registry a while back
6094 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
6096 * docs/gst/tmpl/gstplugin.sgml:
6097 * gst/elements/gstelements.c:
6099 * gst/gstplugin.c: (gst_plugin_register_func),
6100 (gst_plugin_desc_copy), (gst_plugin_desc_free),
6101 (gst_plugin_get_source):
6103 * gst/registries/gstlibxmlregistry.c: (load_plugin),
6104 (gst_xml_registry_save_plugin):
6105 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
6106 (gst_xml_registry_save_plugin):
6107 * tools/gst-inspect.c: (print_plugin_info):
6108 add a "source" plugin description field, to represent the source
6109 module this plugin is a part of. By default GST_PLUGIN_DEFINE
6110 will set it to PACKAGE, which is automake's idea of the name of
6113 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
6119 * docs/faq/Makefile.am:
6120 * docs/gst/tmpl/gstelement.sgml:
6121 * docs/gst/tmpl/gsttypes.sgml:
6122 * docs/htmlinstall.mak:
6123 * docs/manual/Makefile.am:
6124 * docs/pwg/Makefile.am:
6125 reorganize doc build a little
6126 split out docbook and gtk-doc stuff
6127 have two separate --enable's and enable them through autogen
6128 but disable by default in configure (to be similar to other
6130 * gstreamer.spec.in:
6131 clean up docs install
6151 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
6153 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
6156 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
6157 (gst_fake_sink_change_state):
6158 Make state change function thread-safe.
6160 * gst/gstpad.c: (gst_pad_alloc_buffer):
6161 Set offset on generic buffer allocated by fallback.
6163 2005-09-03 Stefan Kost <ensonic@users.sf.net>
6165 * docs/gst/gstreamer-sections.txt:
6166 * docs/gst/tmpl/gstelement.sgml:
6168 * libs/gst/controller/gst-controller.c:
6169 (gst_controlled_property_set_interpolation_mode),
6170 (gst_controlled_property_new),
6171 (gst_controller_find_controlled_property):
6172 run the wingo-magic script against the docs
6174 2005-09-02 Stefan Kost <ensonic@users.sf.net>
6176 * docs/gst/gstreamer-docs.sgml:
6177 * docs/gst/gstreamer-sections.txt:
6178 * docs/gst/tmpl/.cvsignore:
6179 * docs/gst/tmpl/gstelementdetails.sgml:
6180 * docs/gst/tmpl/gstelementfactory.sgml:
6183 * gst/gstelementfactory.c:
6184 * gst/gstelementfactory.h:
6185 merged elementdetails docs into elementfactory docs
6188 2005-09-02 Andy Wingo <wingo@pobox.com>
6190 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
6191 consider this enum an enum and not a flags.
6193 2005-09-02 Stefan Kost <ensonic@users.sf.net>
6195 * docs/gst/gstreamer-docs.sgml:
6196 * docs/gst/tmpl/.cvsignore:
6197 * docs/gst/tmpl/gstghostpad.sgml:
6198 * docs/gst/tmpl/gstiterator.sgml:
6199 * docs/gst/tmpl/gstmacros.sgml:
6200 * docs/gst/tmpl/gstrealpad.sgml:
6201 * docs/gst/tmpl/gstregistry.sgml:
6202 * docs/gst/tmpl/gstregistrypool.sgml:
6203 * docs/gst/tmpl/gststructure.sgml:
6204 * docs/gst/tmpl/gstsystemclock.sgml:
6205 * docs/gst/tmpl/gsttrace.sgml:
6206 * gst/gstghostpad.c:
6208 * gst/gstmemchunk.c:
6209 * gst/gstmemchunk.h:
6211 * gst/gstregistry.c:
6212 * gst/gstregistrypool.c:
6213 * gst/gststructure.c:
6214 * gst/gstsystemclock.c:
6217 2005-09-02 Andy Wingo <wingo@pobox.com>
6219 * gst/gstelement.h (GstState): Renamed from GstElementState,
6220 changed to be a normal enum instead of flags.
6221 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
6222 munged to be GST_STATE_CHANGE_*.
6223 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
6224 work with the new state representation.
6225 (GstStateChange): New enumeration of possible state transitions.
6226 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
6227 (GstElementClass::change_state): Pass the GstStateChange along as
6228 an argument. Helps language bindings, so they don't have to use
6229 tricky lock-needing macros like GST_STATE_CHANGE ().
6231 * scripts/update-states (file): New script. Run it on a file to
6232 update it for state naming and API changes. Updates files in
6235 * All files updated for the new API.
6237 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
6239 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
6240 * gst/gstutils.c: (gst_util_set_value_from_string),
6241 (gst_util_set_object_arg):
6242 fix a bunch of unchecked return values
6243 * tools/gst-complete.c: (main):
6244 * gstreamer.spec.in:
6247 2005-09-01 Wim Taymans <wim@fluendo.com>
6249 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6250 (gst_base_sink_event), (gst_base_sink_do_sync),
6251 (gst_base_sink_handle_event):
6252 * gst/base/gstbasesink.h:
6253 Handle newsegments more correctly.
6258 * gst/gstevent.c: (gst_event_new_newsegment):
6259 A newsegment cannot have a start_time of -1
6261 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
6263 * win32/gstenumtypes.c:
6264 * win32/gstenumtypes.h:
6267 2005-08-31 Stefan Kost <ensonic@users.sf.net>
6269 * libs/gst/controller/gst-controller.c:
6270 (gst_controlled_property_set_interpolation_mode),
6271 (gst_controlled_property_new):
6274 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
6276 * docs/faq/gst-uninstalled:
6281 * gst/gstutils.c: (gst_element_link_filtered):
6283 add gst_element_link_filtered
6285 2005-08-31 Stefan Kost <ensonic@users.sf.net>
6287 * docs/gst/gstreamer-docs.sgml:
6288 * docs/gst/gstreamer-sections.txt:
6289 * docs/gst/tmpl/.cvsignore:
6290 * docs/gst/tmpl/gsterror.sgml:
6291 * docs/gst/tmpl/gstfilter.sgml:
6292 * docs/gst/tmpl/gsturihandler.sgml:
6293 * docs/gst/tmpl/gsturitype.sgml:
6294 * docs/gst/tmpl/gstutils.sgml:
6295 * docs/gst/tmpl/gstxml.sgml:
6303 inlined more docs, fixed double id-ref
6305 2005-08-31 Wim Taymans <wim@fluendo.com>
6307 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6308 (gst_base_transform_handle_buffer):
6309 Passthrough elements don't need the caps as they don't care.
6311 2005-08-31 Wim Taymans <wim@fluendo.com>
6313 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6314 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
6315 Don't leak refcounts on buffers.
6317 2005-08-31 Wim Taymans <wim@fluendo.com>
6319 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
6320 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
6321 (gst_base_transform_chain), (gst_base_transform_change_state):
6322 * gst/base/gstbasetransform.h:
6323 Handle the case where we are not negotiated more gracefully.
6325 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
6327 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
6328 (gst_file_src_map_region):
6329 Set READONLY flag on mmap'ed buffers, otherwise
6330 gst_buffer_make_writable() won't work properly (#314708).
6332 2005-08-31 Wim Taymans <wim@fluendo.com>
6334 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
6335 passthrough elements can even do inplace on non writable
6336 buffers (as they don't touch them).
6338 2005-08-31 Stefan Kost <ensonic@users.sf.net>
6340 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
6341 (gst_test_mono_source_set_property),
6342 (gst_test_mono_source_class_init), (GST_START_TEST),
6343 (gst_controller_suite):
6344 more tests (hehe I have the most)
6346 describe popping messages whenusing mulltiple sources
6347 * libs/gst/controller/gst-controller.c:
6348 (gst_controlled_property_set_interpolation_mode),
6349 (gst_controlled_property_new):
6350 * libs/gst/controller/gst-controller.h:
6351 * libs/gst/controller/gst-interpolation.c:
6352 implement boolean properties
6354 2005-08-31 Wim Taymans <wim@fluendo.com>
6356 * gst/gstminiobject.c: (gst_mini_object_ref):
6357 Cannot assert that the refcount has to be positive
6358 since a disposed object can be resurrected.
6360 2005-08-31 Wim Taymans <wim@fluendo.com>
6362 * gst/gstpad.c: (gst_pad_init):
6363 Revert change, need to first fix badly behaving
6366 2005-08-30 Wim Taymans <wim@fluendo.com>
6368 * check/elements/fakesrc.c: (setup_fakesrc):
6369 * check/elements/identity.c: (setup_identity):
6370 Activate pads before using them.
6372 2005-08-30 Wim Taymans <wim@fluendo.com>
6374 * gst/base/gstadapter.c: (gst_adapter_flush):
6375 Flushing out 0 bytes is ok for this function.
6377 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6378 no newsegment gives a warning and sets the start/stop to
6381 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
6382 (gst_base_transform_set_passthrough):
6385 * gst/gstminiobject.c: (gst_mini_object_ref):
6386 Check refcount here too.
6388 * gst/gstpad.c: (gst_pad_init):
6389 Pads are initially flushing and refusing data.
6391 * gst/gstutils.c: (gst_element_link_pads_filtered):
6392 When adding a capsfilter element make sure it has the
6393 same state as the parent bin.
6395 2005-08-30 Stefan Kost <ensonic@users.sf.net>
6397 * docs/gst/tmpl/.cvsignore:
6398 * docs/gst/tmpl/gstformat.sgml:
6399 * docs/gst/tmpl/gstversion.sgml:
6403 * gst/gstversion.h.in:
6404 more docs and two more inlined
6406 2005-08-30 Wim Taymans <wim@fluendo.com>
6408 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
6409 Don't sync to clock.
6411 2005-08-30 Stefan Kost <ensonic@users.sf.net>
6413 * docs/gst/gstreamer-sections.txt:
6414 ultral33t func10ns deserve to appear in the docs actually
6415 * docs/gst/tmpl/.cvsignore:
6416 * docs/gst/tmpl/gstcompat.sgml:
6417 * docs/gst/tmpl/gstconfig.sgml:
6418 * gst/check/gstcheck.c:
6420 * gst/gstconfig.h.in:
6423 2005-08-30 Stefan Kost <ensonic@users.sf.net>
6425 * docs/gst/tmpl/.cvsignore:
6426 * docs/gst/tmpl/gstquery.sgml:
6427 * docs/gst/tmpl/gstutils.sgml:
6430 inlined and extended docs
6432 2005-08-30 Stefan Kost <ensonic@users.sf.net>
6434 * check/gst-libs/controller.c: (GST_START_TEST),
6435 (gst_controller_suite):
6437 * docs/gst/tmpl/gstutils.sgml:
6438 * docs/libs/gstreamer-libs-sections.txt:
6439 * docs/libs/tmpl/gstdataprotocol.sgml:
6441 * examples/controller/audio-example.c: (main):
6442 controller example works now
6445 * tools/gst-inspect.c: (print_element_properties_info):
6446 show param spec flags
6448 2005-08-29 Andy Wingo <wingo@pobox.com>
6450 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
6452 2005-08-28 Andy Wingo <wingo@pobox.com>
6454 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
6455 as having two arguments instead of just one. Allows superclasses
6456 to access information on subclasses -- see the terrible for() loop
6457 in gtype.c:g_type_create_instance for the reason why. All callers
6460 2005-08-27 Stefan Kost <ensonic@users.sf.net>
6462 * docs/design/part-messages.txt:
6464 * docs/gst/tmpl/.cvsignore:
6465 * docs/gst/tmpl/gstcaps.sgml:
6466 * docs/gst/tmpl/gstclock.sgml:
6473 added descriptions for bus and message
6474 inline caps and clock docs
6476 2005-08-27 Stefan Kost <ensonic@users.sf.net>
6482 2005-08-27 Stefan Kost <ensonic@users.sf.net>
6484 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
6487 2005-08-26 Andy Wingo <wingo@pobox.com>
6489 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
6490 element_set_state's return val.
6491 (test_2_elements): Add test that's been disabled for months.
6493 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
6494 can-activate-pull properties.
6496 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
6497 can-activate-pull properties. Implement is_seekable so fakesrc can
6498 operate in pull mode.
6500 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
6502 (gst_base_sink_activate, gst_base_sink_activate_pull)
6503 (gst_base_sink_activate_push): Make activation mode choosing work.
6505 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
6506 is right. Make pull mode work. Post an eos before pausing in pull
6508 (gst_base_sink_change_state): Pay attention to the core's
6509 change_state() return val.
6511 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
6512 has-getrange properties. Cleanups.
6514 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
6515 has_getrange and replace with can_activate_pull and
6518 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
6519 locking comments. Remove has_loop, has_chain and replace with
6520 can_activate_pull and can_activate_push.
6522 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
6525 * examples/Makefile.am:
6526 * examples/metadata/Makefile.am:
6527 * examples/metadata/read-metadata.c: (message_loop),
6528 (have_pad_handler), (make_pipeline), (print_tag), (main):
6529 Add metadata reading example that loops over a list of filenames,
6530 dumping any tags found.
6532 * gst/gstbus.c: (gst_bus_dispose):
6533 * gst/gstelement.c: (gst_element_dispose):
6534 Release a few potentially-held references in dispose.
6536 2005-08-26 Stefan Kost <ensonic@users.sf.net>
6538 * docs/gst/tmpl/gstminiobject.sgml:
6539 do *not* add tmpl/*.sgml files to CVS!
6541 2005-08-26 Stefan Kost <ensonic@users.sf.net>
6543 * libs/gst/bytestream/.cvsignore:
6544 * libs/gst/bytestream/Makefile.am:
6545 * libs/gst/bytestream/adapter.c:
6546 * libs/gst/bytestream/adapter.h:
6547 * libs/gst/bytestream/bytestream.c:
6548 * libs/gst/bytestream/bytestream.h:
6549 * libs/gst/bytestream/filepad.c:
6550 * libs/gst/bytestream/filepad.h:
6551 removing obsolete files
6553 2005-08-26 Stefan Kost <ensonic@users.sf.net>
6555 * docs/gst/gstreamer-docs.sgml:
6556 * docs/libs/gstreamer-libs-docs.sgml:
6557 disabed additional index entries again, as this makes docs-gen just
6558 slow and they aren't useful yet
6559 * docs/libs/gstreamer-libs-sections.txt:
6560 little -section.txt cleanup for libs
6562 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
6564 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6565 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
6566 fix up some debugging
6567 (gst_base_transform_get_unit_size),
6568 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
6569 (gst_base_transform_handle_buffer):
6570 * gst/base/gstbasetransform.h:
6571 handle and store timed NEWSEGMENT events so that subclasses that
6572 calculate time by counting samples have a segment_start time they
6573 need to add to their timestamps - see audioresample
6575 2005-08-26 Stefan Kost <ensonic@users.sf.net>
6578 removed ';' from the end of macro defs
6579 * docs/gst/gstreamer-docs.sgml:
6580 * docs/gst/gstreamer-sections.txt:
6581 * docs/gst/tmpl/.cvsignore:
6583 * gst/gstelement.c: (gst_element_class_init),
6584 (gst_element_set_state), (activate_pads),
6585 (gst_element_save_thyself):
6586 * gst/gstevent.c: (gst_event_new_newsegment):
6588 * gst/gstiterator.c:
6589 * gst/gstiterator.h:
6592 * gst/gstutils.c: (gst_pad_query_convert):
6594 fixed parameter name mismatches between source, header and docs
6595 added some more docs, resolved the last batch of unused elements in
6596 docs (now someone needs to doc them)
6598 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
6600 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
6601 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
6602 don't walk through the plugins backwards. Where is all this
6603 reversed logic coming from ?
6605 2005-08-25 Wim Taymans <wim@fluendo.com>
6607 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6608 (gst_base_transform_transform_size),
6609 (gst_base_transform_configure_caps),
6610 (gst_base_transform_get_unit_size),
6611 (gst_base_transform_buffer_alloc),
6612 (gst_base_transform_change_state):
6613 * gst/base/gstbasetransform.h:
6614 Cache caps unit_size.
6615 Make sure we cannot negotiate up and downstream at the
6618 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
6620 * gst/gst.c: (init_pre), (init_post):
6621 register the installed plugin path after the env var
6622 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
6623 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
6624 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
6625 directories, so the tests can prefer uninstalled over installed
6627 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
6629 * gst/base/gstbasetransform.h:
6634 2005-08-25 Wim Taymans <wim@fluendo.com>
6636 * gst/gstbin.c: (bin_bus_handler):
6637 Be a bit more conservative about the posted message.
6639 * gst/gstbus.c: (gst_bus_post):
6640 Some cleanups, warn wrong return values.
6642 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
6644 * check/gst/gstbin.c: (GST_START_TEST):
6645 * gst/gstbin.c: (bin_bus_handler):
6646 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
6647 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
6648 (gst_message_new_warning), (gst_message_new_tag),
6649 (gst_message_new_state_changed), (gst_message_new_segment_start),
6650 (gst_message_new_segment_done), (gst_message_new_custom):
6652 * tools/gst-launch.c: (event_loop):
6653 * tools/gst-md5sum.c: (event_loop):
6654 Revert unpopular change for GST_MESSAGE_SRC to GObject.
6656 2005-08-25 Wim Taymans <wim@fluendo.com>
6658 * check/generic/states.c: (GST_START_TEST):
6659 Cleanup can be done at the end.
6661 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
6662 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
6663 (gst_task_get_state), (gst_task_start), (gst_task_pause):
6664 Oh boy.. Thanks for finding this, Thomas.
6666 2005-08-25 Stefan Kost <ensonic@users.sf.net>
6668 * docs/gst/gstreamer.types:
6671 2005-08-25 Stefan Kost <ensonic@users.sf.net>
6673 * docs/gst/gstreamer-docs.sgml:
6674 * docs/gst/gstreamer-sections.txt:
6675 * docs/gst/tmpl/.cvsignore:
6677 * gst/gstiterator.c:
6679 * gst/registries/gstxmlregistry.h:
6680 added missing classes and symbols (123 more to go)
6681 removed removed symbols from section file
6682 fixed many doc-comments
6684 2005-08-24 Wim Taymans <wim@fluendo.com>
6686 * check/generic/states.c: (GST_START_TEST):
6687 Make sure all tasks are stopped.
6689 * check/gst/gstbin.c: (GST_START_TEST):
6690 Unref after usage for proper valgrinding.
6692 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
6693 Really wait for the task to stop before destroying the
6696 * gst/gstqueue.c: (gst_queue_sink_activate_push),
6697 (gst_queue_src_activate_push):
6698 Small cleanups. Don't stop the task when we did not start
6701 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
6702 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
6703 (gst_task_get_state), (gst_task_start), (gst_task_pause),
6706 Protect the stream lock with the object lock.
6707 Disallow setting the stream lock when running.
6708 Add cleanup_all to wait for the threadpool to finish.
6709 Remove code to autoallocate a mutex if none was provided.
6710 Add _join() to wait for a task to stop.
6711 Protect the thread pool with a global lock.
6713 2005-08-24 Wim Taymans <wim@fluendo.com>
6715 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6716 (gst_base_sink_get_times), (gst_base_sink_do_sync),
6717 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
6718 * gst/base/gstbasesink.h:
6719 Handle newsegment events correctly.
6720 Drop buffers out of the segment range.
6722 2005-08-22 Andy Wingo <wingo@pobox.com>
6724 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
6725 macro, implements an interface and gstimplementsinterface for a
6728 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
6730 * check/Makefile.am:
6731 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
6732 add a test that does a bunch of state changes on elements
6733 needs some fixing for valgrind
6734 * check/states/sinks.c: (gst_object_suite):
6737 add prototype for gst_caps_is_equal_fixed
6739 * gst/gstregistrypool.c:
6742 2005-08-24 Andy Wingo <wingo@pobox.com>
6744 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
6745 convert a negative value. Doesn't make much sense. Mostly this is
6746 here to force callers to ensure -1 maps to -1.
6748 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
6750 * docs/pwg/advanced-types.xml:
6751 Well done to Michael for catching my deliberate introduction
6752 of this spelling mistake.
6753 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
6755 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
6756 unlink pads before removing the element from the bin.
6758 2005-08-24 Andy Wingo <wingo@pobox.com>
6760 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
6761 the same thing as GST_DEBUG=*:4.
6762 (parse_debug_level, parse_debug_category): New helper parsers.
6764 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
6766 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6767 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
6768 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
6769 (gst_base_transform_buffer_alloc),
6770 (gst_base_transform_handle_buffer):
6771 use gboolean return values and pointers to size so we can use the
6772 full GST_BUFFER_SIZE range (guint) for buffer sizes
6773 use GstPadDirection for transform_caps
6774 * gst/base/gstbasetransform.h:
6775 rename get_size to get_unit_size since that's what it is
6776 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
6777 use GstPadDirection for transform_caps
6778 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6780 cleanup and debugging
6782 2005-08-24 Stefan Kost <ensonic@users.sf.net>
6784 * gst/gstelement.c: (gst_element_class_init),
6785 (gst_element_set_state), (activate_pads),
6786 (gst_element_save_thyself):
6787 * tools/gst-compprep.c: (main):
6788 * tools/gst-inspect.c: (print_element_properties_info):
6789 * tools/gst-xmlinspect.c: (print_element_properties):
6790 Fixed long standing mem-leak
6792 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
6794 * check/gst/gstbin.c: (GST_START_TEST):
6795 * gst/gstbin.c: (bin_bus_handler):
6796 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
6797 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
6798 (gst_message_new_warning), (gst_message_new_tag),
6799 (gst_message_new_state_changed), (gst_message_new_segment_start),
6800 (gst_message_new_segment_done), (gst_message_new_custom):
6802 * tools/gst-launch.c: (event_loop):
6803 * tools/gst-md5sum.c: (event_loop):
6804 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
6805 that applications can sensibly post custom messages with references
6806 to their own objects.
6808 2005-08-24 Andy Wingo <wingo@pobox.com>
6810 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
6813 2005-08-24 Wim Taymans <wim@fluendo.com>
6815 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6816 (gst_base_transform_transform_caps),
6817 (gst_base_transform_transform_size),
6818 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6819 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6820 (gst_base_transform_handle_buffer):
6821 * gst/base/gstbasetransform.h:
6822 Many fixes and new features added by Thomas. Can now also do
6823 transforms with variable sizes and a custom fixate_caps function.
6825 2005-08-24 Wim Taymans <wim@fluendo.com>
6827 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6831 Cast to ClockTime before formatting to time.
6836 2005-08-24 Stefan Kost <ensonic@users.sf.net>
6838 * check/gst-libs/controller.c: (GST_START_TEST),
6839 (gst_controller_suite):
6840 * docs/gst/tmpl/gstcaps.sgml:
6841 * docs/gst/tmpl/gstghostpad.sgml:
6842 * docs/gst/tmpl/gstquery.sgml:
6843 * docs/gst/tmpl/gstutils.sgml:
6844 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
6845 (gst_object_sink_values), (gst_object_get_value_arrays),
6846 (gst_object_get_value_array):
6847 gracefully handle helper method calls to objects that are not beeing
6848 controlled, added test case for that
6850 2005-08-23 Wim Taymans <wim@fluendo.com>
6852 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
6853 (gst_event_new_newsegment), (gst_event_parse_newsegment),
6854 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
6855 (gst_event_parse_qos), (gst_event_new_seek),
6856 (gst_event_parse_seek):
6858 Some more debugging output and doc cleanups.
6860 * gst/gstqueue.c: (gst_queue_handle_sink_event):
6861 Fix possible deadlock.
6863 2005-08-23 Stefan Kost <ensonic@users.sf.net>
6865 * docs/gst/gstreamer-docs.sgml:
6866 * docs/gst/gstreamer-sections.txt:
6867 * docs/gst/gstreamer.types:
6868 * docs/gst/tmpl/.cvsignore:
6873 added 100 symbols from gstreamer-unused.txt to the right sections
6874 fixed more broken comments
6875 added GstBus to docs
6877 2005-08-23 Stefan Kost <ensonic@users.sf.net>
6879 * docs/gst/gstreamer-sections.txt:
6880 * docs/gst/tmpl/.cvsignore:
6881 * docs/gst/tmpl/gstbin.sgml:
6882 * docs/gst/tmpl/gstbuffer.sgml:
6883 * gst/base/gstbasesrc.c:
6884 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
6887 * tools/gst-launch.1.in:
6888 inlined more doc comments, added missing comments and fixed comments
6891 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
6893 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6897 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
6899 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
6900 * gst/gststructure.h:
6901 add a fixate function for booleans; add a FIXME that these func
6902 names should probably be gst_structure_fixate_*
6904 2005-08-23 Stefan Kost <ensonic@users.sf.net>
6906 * docs/gst/gstreamer-docs.sgml:
6907 * docs/gst/gstreamer-sections.txt:
6909 * gst/gstbin.c: (gst_bin_get_type),
6910 (gst_bin_child_proxy_get_child_by_index),
6911 (gst_bin_child_proxy_get_children_count),
6912 (gst_bin_child_proxy_init):
6913 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
6914 (gst_child_proxy_get_child_by_index),
6915 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
6916 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
6917 (gst_child_proxy_get), (gst_child_proxy_set_property),
6918 (gst_child_proxy_set_valist), (gst_child_proxy_set),
6919 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
6920 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
6921 * gst/gstchildproxy.h:
6922 * gst/parse/grammar.y:
6923 * tools/gst-inspect.c: (print_interfaces),
6924 (print_element_properties_info), (print_element_info):
6925 ported gstchildproxy over from 0.8
6926 ported gst-inspect fixes and enhancements over from 0.8
6928 2005-08-22 Wim Taymans <wim@fluendo.com>
6930 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6931 (gst_base_transform_handle_buffer):
6932 Also call the transform function if we have ANY caps.
6934 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
6937 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
6939 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
6940 Don't pretend to handle seek events if the source is not seekable
6942 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
6944 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6945 Remove extra parameter to debug output
6947 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6948 (gst_base_src_do_seek), (gst_base_src_activate_push):
6949 Fix seek event handling.
6951 * gst/gstpipeline.c: (gst_pipeline_change_state):
6952 * gst/gstqueue.c: (gst_queue_handle_sink_event),
6953 (gst_queue_src_activate_push):
6954 Don't start the src pad task on FLUSH_STOP if the pad
6958 2005-08-22 Wim Taymans <wim@fluendo.com>
6960 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6961 Added check for gst_static_caps_get() refcounting.
6963 2005-08-22 Wim Taymans <wim@fluendo.com>
6965 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
6966 Make _static_caps_get() refcounting sane.
6968 * gst/gstelement.c: (gst_element_set_state):
6969 Add g_return_val_if_fail() to protect against segfaults.
6971 2005-08-22 Stefan Kost <ensonic@users.sf.net>
6973 * docs/gst/tmpl/gstevent.sgml:
6976 inlined remaining docs, added missing doc comments
6978 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
6980 * check/gst/gstbin.c: (GST_START_TEST):
6981 since we don't know when preroll is done, use refcount range
6983 * gst/check/gstcheck.h:
6984 add macro for checking refcount range
6986 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
6988 * check/Makefile.am:
6989 clean up environment for when registry gets built versus
6990 when actual tests are run; valgrind seems to not report
6991 leaks if GST_PLUGIN_PATH is set to some specific values
6992 * check/gst/gstbin.c: (GST_START_TEST):
6993 add more refcounting checks; maybe this exposes a
6996 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6997 * gst/check/gstcheck.h:
6998 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
6999 (gst_bin_change_state):
7000 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
7001 add/fix debugging/whitespace
7003 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
7005 * check/gst/gstevent.c: (event_probe), (test_event),
7007 Er, don't call gst_bin_watch_for_state_change you idiot.
7009 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
7011 * check/Makefile.am:
7012 Use CHECK_CFLAGS and CHECK_LIBS
7013 * check/gst/gstevent.c: (event_probe), (test_event),
7016 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7017 (gst_base_src_start), (gst_base_src_stop),
7018 (gst_base_src_activate_push), (gst_base_src_activate_pull),
7019 (gst_base_src_change_state):
7020 Sprinkle gst_base_src_stop liberally around error paths to fix
7021 problems reusing a source after failed state changes.
7022 * gst/base/gsttypefindhelper.c: (helper_find_peek),
7023 (helper_find_suggest), (gst_type_find_helper):
7024 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
7026 * docs/gst/tmpl/gstevent.sgml:
7027 Migrate part of the docs from the SGML file. Wait for ensonic to
7028 tell me how I did it wrong ;)
7029 * tools/gst-typefind.c: (main):
7030 Extra robustness to state changes between files.
7032 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
7034 * check/Makefile.am:
7035 don't valgrind the controller test - it's leaking - Stefan, HELP
7036 * gst/check/gstcheck.c: (gst_check_message_error),
7037 (gst_check_chain_func), (gst_check_setup_element),
7038 (gst_check_teardown_element), (gst_check_setup_src_pad),
7039 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
7040 (gst_check_teardown_sink_pad):
7041 * gst/check/gstcheck.h:
7042 add a bunch of methods to set up elements, and src and sink pads
7043 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
7044 * check/elements/identity.c: (setup_identity), (cleanup_identity),
7049 whitespace/doc fixes
7051 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7054 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
7055 be handled by the application and not always printed as well
7057 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7059 * check/Makefile.am:
7061 * gst/check/gstcheck.c: (gst_check_message_error):
7062 * gst/check/gstcheck.h:
7063 add a fail_unless_equals_int
7064 add fail_unless for error messages
7066 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7068 * check/Makefile.am:
7070 * common/Makefile.am:
7073 factor out some of the common stuff so we can use it
7075 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7077 * check/Makefile.am:
7078 * check/gst/gstiterator.c: (GST_START_TEST):
7079 * check/gst/gstsystemclock.c: (GST_START_TEST),
7080 (gst_systemclock_suite):
7081 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7085 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7087 * check/elements/.cvsignore:
7088 * check/elements/gstfakesrc.c:
7089 rename to name of element
7090 * check/elements/identity.c: (chain_func), (event_func),
7091 (setup_identity), (cleanup_identity), (GST_START_TEST),
7092 (identity_suite), (main):
7093 add a test for identity
7094 * check/Makefile.am:
7095 * pkgconfig/Makefile.am:
7096 * pkgconfig/gstreamer-check.pc.in:
7097 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7101 move the check stuff to a library that gets installed
7102 * check/gst-libs/controller.c: (GST_START_TEST):
7103 * check/gst-libs/gdp.c:
7104 * check/gst/gst.c: (GST_START_TEST):
7105 * check/gst/gstbin.c:
7106 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7107 * check/gst/gstbus.c:
7108 * check/gst/gstcaps.c: (GST_START_TEST):
7109 * check/gst/gstelement.c:
7110 * check/gst/gstghostpad.c:
7111 * check/gst/gstiterator.c:
7112 * check/gst/gstmessage.c:
7113 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
7114 * check/gst/gstobject.c:
7115 * check/gst/gstpad.c: (GST_START_TEST):
7116 * check/gst/gststructure.c: (GST_START_TEST):
7117 * check/gst/gstsystemclock.c: (GST_START_TEST),
7118 (gst_systemclock_suite):
7119 * check/gst/gsttag.c: (gst_tag_suite):
7120 * check/gst/gstvalue.c:
7121 * check/pipelines/cleanup.c:
7122 * check/pipelines/simple_launch_lines.c:
7123 * check/states/sinks.c:
7124 change include statement
7126 * docs/gst/gstreamer-sections.txt:
7127 * docs/gst/tmpl/gstpad.sgml:
7128 document more pad stuff
7129 * gst/gstminiobject.c: (gst_mini_object_ref),
7130 (gst_mini_object_unref):
7133 2005-08-19 Stefan Kost <ensonic@users.sf.net>
7135 * docs/gst/tmpl/gst.sgml:
7137 eliminate another tmpl file, fix spelling in the long-description
7139 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7141 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7142 (test_event), (timediff), (gstevents_suite):
7143 Should fix build on 64-bit arch's
7145 2005-08-18 Andy Wingo <wingo@pobox.com>
7147 Make sure that when a pipeline goes to PLAYING, that data has
7148 actually hit the sink.
7150 * check/states/sinks.c (test_sink): A sink that doesn't get any
7151 data shouldn't return SUCCESS for going to either PLAYING or
7152 PAUSED. Test also the return values on the way back down.
7154 * gst/gstelement.c (gst_element_set_state): When changing the
7155 state of an element currently changing state asynchronously, go to
7156 lost-state after commiting the pending state. Makes future calls
7157 to get_state continue to return ASYNC.
7159 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
7160 ASYNC when going to PLAYING if we still don't have preroll, as can
7161 happen with live sources.
7163 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7165 * docs/pwg/advanced-types.xml:
7166 Hack long paragraph into 2 chunks as a workaround for buggy
7167 jadetex version in sid and breezy that loops infinitely and
7170 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7172 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7173 (test_event), (timediff), (gstevents_suite):
7174 Provide more error margin in clock measurements to allow for
7175 g_get_current_time inaccuracies.
7177 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7179 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7180 (test_event), (timediff), (gstevents_suite):
7181 Fix error message output so I might be able to tell why the
7182 test works here but fails on the build farm.
7184 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7186 * check/Makefile.am:
7187 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7188 (test_event), (timediff), (gstevents_suite), (main):
7191 * docs/design/part-seeking.txt:
7194 * docs/gst/tmpl/gstevent.sgml:
7195 * docs/gst/tmpl/gstfakesrc.sgml:
7198 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7199 Treat a buffer-without-newsegment the same as a receiving
7200 a newsegment not in time format, and disable syncing to the clock
7203 * gst/gstbus.c: (gst_bus_set_sync_handler):
7204 Assert if anyone tries to replace the existing sync_handler for bus,
7205 as only the owner should be setting it.
7208 Have a fixed set of custom event enums with events identified by
7209 their structure name (as in 0.8), rather than a free-for-all
7210 allowing collisions between enum values from different plugins.
7212 * gst/gstpad.c: (gst_pad_class_init):
7215 * gst/gstqueue.c: (gst_queue_handle_sink_event):
7216 Handle out-of-band downstream events from the sending thread.
7218 2005-08-17 Andy Wingo <wingo@pobox.com>
7220 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
7221 play-timeout==0 to mean no timeout at all. In that case, don't
7222 bother with a get_state or a warning, just return directly, even
7225 * gst/base/gstbasetransform.c: Debug changes.
7228 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
7229 ensure bins post state change messages. A bit of a hack but I can't
7230 think of a way to avoid it.
7232 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
7234 2005-08-16 Andy Wingo <wingo@pobox.com>
7236 * gst/base/gstadapter.h:
7237 * gst/base/gstadapter.c (gst_adapter_take): New function, like
7238 peek() but you own the data. Not terribly efficient atm.
7240 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7242 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
7243 (gst_element_found_tags):
7245 Add two utility functions for tag handling.
7247 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7249 * docs/manual/advanced-dataaccess.xml:
7250 * docs/manual/basics-helloworld.xml:
7251 Fix docs to use _bin_add() before _link(), which fixes the examples
7252 with recent core versions (reported by Madhan Raj M
7253 <raj_madan@rediffmail.com>, #313199).
7255 2005-08-16 Wim Taymans <wim@fluendo.com>
7257 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7258 Added subtract checks.
7260 * docs/design/part-events.txt:
7261 Some more docs about newsegment
7263 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
7266 * gst/gstcaps.c: (gst_caps_to_string):
7267 Add comments, cleanups.
7269 * gst/gstelement.c: (gst_element_save_thyself):
7272 * gst/gstvalue.c: (gst_value_collect_int_range),
7273 (gst_string_unwrap), (gst_value_union_int_int_range),
7274 (gst_value_union_int_range_int_range),
7275 (gst_value_intersect_int_int_range),
7276 (gst_value_intersect_int_range_int_range),
7277 (gst_value_intersect_double_double_range),
7278 (gst_value_intersect_double_range_double_range),
7279 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
7280 (gst_value_subtract_int_range_int),
7281 (gst_value_subtract_double_range_double),
7282 (gst_value_subtract_double_range_double_range),
7283 (gst_value_subtract_from_list), (gst_value_subtract_list),
7284 (gst_value_can_compare), (gst_value_compare_fraction):
7285 Cleanups, add comments, remove unneeded asserts.
7287 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
7289 * tools/gst-launch.c: (event_loop):
7290 don't convert NULL structures to strings
7292 2005-08-15 Stefan Kost <ensonic@users.sf.net>
7294 * docs/gst/gstreamer-sections.txt:
7295 made some defines private
7296 * docs/gst/tmpl/gstconfig.sgml:
7297 * docs/gst/tmpl/gstqueue.sgml:
7298 * docs/gst/tmpl/gsttaglist.sgml:
7299 * docs/gst/tmpl/gsttypes.sgml:
7300 * docs/gst/tmpl/gstutils.sgml:
7301 * docs/pwg/appendix-porting.xml:
7302 * gst/base/gstbasesink.h:
7303 * gst/base/gstbasesrc.c:
7304 * gst/base/gstbasesrc.h:
7305 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
7306 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
7307 * gst/gstelement.c: (gst_element_class_init):
7308 * gst/gstpad.c: (gst_pad_class_init):
7309 * gst/gstqueue.c: (gst_queue_class_init):
7310 * gst/gstxml.c: (gst_xml_class_init):
7311 documented all undocumented signal inline
7312 * libs/gst/controller/gst-controller.h:
7315 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7317 * docs/pwg/appendix-porting.xml:
7318 Document _set_link_function -> _set_setcaps_function.
7320 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
7322 * check/Makefile.am:
7323 add a .check target for running the check
7324 * check/gst-libs/controller.c: (GST_START_TEST):
7326 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7327 complete checks for gstbuffer; would be nice if I could get the
7328 gcov stuff to work so I can see if I actually completed gstbuffer.c
7330 add ASSERT_BUFFER_REFCOUNT
7332 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
7334 * docs/gst/gstreamer-sections.txt:
7335 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
7337 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
7338 spew out a warning if a tag that is already registered
7339 is re-registered, unless it is re-registered with a
7340 different type (#308438).
7342 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
7344 * docs/pwg/appendix-porting.xml:
7345 * docs/pwg/building-state.xml:
7346 Add some paragraphs about state changes in 0.9 to the PWG
7347 and the porting guide, in particular about the new meaning
7348 of GST_STATE_PAUSED and how to write state change functions
7349 with concurrent access by multiple threads in mind.
7351 2005-08-11 Stefan Kost <ensonic@users.sf.net>
7353 * docs/gst/gstreamer-docs.sgml:
7354 * docs/libs/gstreamer-libs-docs.sgml:
7355 added deprecation and since indexes
7356 * libs/gst/controller/gst-controller.c:
7357 * libs/gst/controller/gst-helper.c:
7361 2005-08-11 Wim Taymans <wim@fluendo.com>
7363 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
7364 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
7365 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
7366 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
7367 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
7368 (gst_ghost_pad_set_target):
7369 Actually implement (re)setting the target on a ghostpad
7370 as described in the docs.
7372 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
7374 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
7375 Check whether GST_DEBUG_NO_COLOR environment variable is
7376 set and disable coloured debug output if that is the case.
7378 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
7380 * gst/base/gsttypefindhelper.c: (helper_find_peek),
7381 (gst_type_find_helper):
7382 The memory returned by gst_type_find_peek() needs to
7383 stay valid until the end of a typefind function, and
7384 typefind functions may keep results from different
7385 offsets around, so we can't just unref the buffer from
7386 the previous _peek(), but have to save all buffers
7387 returned by _peek() until typefinding is done and only
7390 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
7392 * docs/gst/gstreamer-sections.txt:
7394 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
7396 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7398 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
7399 Fix a pretty good memleak.
7401 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
7403 * gst/gstiterator.h:
7404 Fix wrong include and 'make distcheck'.
7406 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7408 * gst/gstbin.c: (bin_bus_handler):
7409 Use gst_element_post_message() instead.
7411 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
7413 * gst/base/gstadapter.h:
7414 * gst/base/gstbasesink.h:
7415 * gst/base/gstbasesrc.h:
7416 * gst/base/gstbasetransform.h:
7417 * gst/base/gstcollectpads.h:
7418 * gst/base/gstpushsrc.h:
7419 * gst/gstiterator.h:
7420 Add padding to our base elements' class and instance structs and
7421 to GstIterator (you will need to rebuild all plugins and apps!)
7423 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7425 * gst/gstbin.c: (bin_bus_handler):
7426 Make default message forwarding from child->bus to bin->bus
7427 threadsafe and make it not emit warnings if the parent has no bus.
7429 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7431 * gst/gstelement.c: (activate_pads):
7432 On paused->ready, set pad->caps to NULL, as is the documented
7433 behaviour in this state change. Fixes playback of series of
7434 media files when visualization is enabled in Totem.
7436 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7438 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
7439 Allow NULL as filter-caps (which means "any").
7441 2005-08-05 Stefan Kost <ensonic@users.sf.net>
7443 * docs/libs/gstreamer-libs-sections.txt:
7444 * libs/gst/controller/gst-controller.c:
7445 * libs/gst/controller/gst-controller.h:
7446 * libs/gst/controller/gst-helper.c:
7447 adding more entries to the docs and fix small doc-bugs
7449 2005-08-05 Stefan Kost <ensonic@users.sf.net>
7451 * docs/gst/gstreamer-docs.sgml:
7452 * docs/gst/gstreamer-sections.txt:
7453 * docs/gst/gstreamer.types:
7454 * docs/gst/tmpl/gstbasesink.sgml:
7455 * docs/gst/tmpl/gstbasesrc.sgml:
7456 * docs/gst/tmpl/gstbasetransform.sgml:
7457 * docs/gst/tmpl/gstfakesrc.sgml:
7458 * gst/base/gstcollectpads.c:
7459 * gst/base/gstcollectpads.h:
7460 * libs/gst/controller/gst-controller.c:
7461 * libs/gst/controller/gst-controller.h:
7462 * libs/gst/controller/gst-helper.c:
7463 * libs/gst/controller/gst-interpolation.c:
7464 * libs/gst/controller/lib.c:
7465 added long/short desc for controller docs
7466 added collectpads base class docs
7467 added correct includes to base-class docs
7469 2005-08-05 Stefan Kost <ensonic@users.sf.net>
7471 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
7472 (gst_test_mono_source_set_property),
7473 (gst_test_mono_source_class_init), (GST_START_TEST),
7474 (gst_controller_suite):
7475 * docs/gst/gstreamer-docs.sgml:
7476 * docs/gst/gstreamer-sections.txt:
7477 * docs/gst/gstreamer.types:
7478 * docs/libs/gstreamer-libs-docs.sgml:
7479 * docs/libs/gstreamer-libs-sections.txt:
7480 * gst/base/gstadapter.c:
7481 * libs/gst/controller/gst-controller.c:
7482 (gst_controlled_property_new), (gst_controlled_property_free),
7483 (gst_controller_new_valist),
7484 (gst_controller_remove_properties_valist),
7485 (gst_controller_sink_values), (_gst_controller_finalize):
7486 * libs/gst/controller/gst-controller.h:
7487 * libs/gst/controller/gst-helper.c:
7488 (gst_object_control_properties), (gst_object_uncontrol_properties),
7489 (gst_object_get_controller), (gst_object_set_controller),
7490 (gst_object_sink_values), (gst_object_get_value_arrays),
7491 (gst_object_get_value_array):
7492 more tests (and fixes) for the controller
7493 more docs for the controller
7494 integrated companies docs for the adapter
7496 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
7498 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
7499 (GST_START_TEST), (fakesrc_suite):
7500 add tests for sizetype
7502 2005-08-04 Andy Wingo <wingo@pobox.com>
7504 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
7505 fixes buffer_alloc proxying among other things.
7507 * gst/base/gstbasetransform.c:
7508 * gst/base/gstbasetransform.h:
7509 Revert patch to gstbasetransform from 7-28 removing
7512 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
7513 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
7514 Semantics changed, should return not the size of the output buffer
7515 but the byte size of a buffer with a given caps.
7517 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
7519 (gst_base_transform_configure_caps): Don't set out_size here: (in,
7520 out) are not the pad caps until setcaps finishes.
7521 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
7522 not-in-place case as well. Deal with changing from in-place to
7523 not-in-place within calling pad_alloc_buffer. Still a bit
7524 concerned about the overhead here...
7526 2005-08-03 Andy Wingo <wingo@pobox.com>
7528 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
7529 fixating is an error.
7531 2005-08-04 Edward Hervey <edward@fluendo.com>
7533 * gst/base/gstadapter.h:
7534 Added gst_adapter_get_type() to the header
7536 2005-08-03 Stefan Kost <ensonic@users.sf.net>
7538 * check/Makefile.am:
7539 * check/gst-libs/controller.c:
7540 * libs/gst/controller/gst-controller.c:
7541 (gst_controller_new_valist):
7542 added check test suite for the controller
7543 * gst/base/gstpushsrc.c:
7546 2005-08-03 Stefan Kost <ensonic@users.sf.net>
7548 * docs/gst/Makefile.am:
7549 * docs/gst/gstreamer-docs.sgml:
7550 * docs/gst/gstreamer-sections.txt:
7551 * docs/gst/gstreamer.types:
7552 * docs/gst/tmpl/gstfakesrc.sgml:
7554 * gst/base/gstbasesink.c:
7555 * gst/base/gstbasesink.h:
7556 * gst/base/gstbasesrc.c:
7557 * gst/base/gstbasesrc.h:
7558 * gst/base/gstbasetransform.c:
7559 * gst/base/gstpushsrc.c:
7560 * gst/base/gstpushsrc.h:
7561 add short/long description docs to base classes
7562 add pushsrc to the docs
7563 remove consolidated doc fragments
7565 2005-08-03 Stefan Kost <ensonic@users.sf.net>
7568 * docs/libs/Makefile.am:
7569 * docs/libs/gstreamer-libs-docs.sgml:
7570 * docs/libs/gstreamer-libs-sections.txt:
7571 * docs/libs/gstreamer-libs.types:
7572 * examples/Makefile.am:
7573 * examples/controller/.cvsignore:
7574 * examples/controller/Makefile.am:
7575 * examples/controller/audio-example.c: (main):
7576 * libs/gst/Makefile.am:
7577 * libs/gst/controller/.cvsignore:
7578 * libs/gst/controller/Makefile.am:
7579 * libs/gst/controller/gst-controller.c:
7580 (on_object_controlled_property_changed), (gst_timed_value_compare),
7581 (gst_timed_value_find),
7582 (gst_controlled_property_set_interpolation_mode),
7583 (gst_controlled_property_new), (gst_controlled_property_free),
7584 (gst_controller_find_controlled_property),
7585 (gst_controller_new_valist), (gst_controller_new),
7586 (gst_controller_remove_properties_valist),
7587 (gst_controller_remove_properties), (gst_controller_set),
7588 (gst_controller_set_from_list), (gst_controller_unset),
7589 (gst_controller_get), (gst_controller_get_all),
7590 (gst_controller_sink_values), (gst_controller_get_value_arrays),
7591 (gst_controller_get_value_array),
7592 (gst_controller_set_interpolation_mode),
7593 (_gst_controller_finalize), (_gst_controller_init),
7594 (_gst_controller_class_init), (gst_controller_get_type):
7595 * libs/gst/controller/gst-controller.h:
7596 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
7597 (g_object_uncontrol_properties), (g_object_get_controller),
7598 (g_object_set_controller), (g_object_sink_values),
7599 (g_object_get_value_arrays), (g_object_get_value_array):
7600 * libs/gst/controller/gst-interpolation.c:
7601 (gst_controlled_property_find_timed_value_node),
7602 (interpolate_none_get), (interpolate_trigger_get),
7603 (interpolate_trigger_get_value_array):
7604 * libs/gst/controller/lib.c: (gst_controller_init):
7605 * pkgconfig/Makefile.am:
7606 * pkgconfig/gstreamer-control-uninstalled.pc.in:
7607 * pkgconfig/gstreamer-control.pc.in:
7608 * testsuite/Makefile.am:
7609 * testsuite/controller/.cvsignore:
7610 * testsuite/controller/Makefile.am:
7611 * testsuite/controller/interpolator.c: (main):
7612 added controller code
7613 removed dparam pc files
7615 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
7616 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
7617 (gst_collectpads_stop):
7618 Broadcast the condition when shutting down, to make sure we wake all
7619 threads up. Shut down pads on finalize, for safety.
7621 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
7622 * gst/base/gstbasetransform.c: (gst_base_transform_init),
7623 (gst_base_transform_handle_buffer),
7624 (gst_base_transform_change_state):
7625 Handle PAUSED->READY->PAUSED transition after negotiation
7627 * gst/gstmessage.c: (gst_message_init):
7628 Extra piece of debug for new messages.
7630 2005-08-01 Stefan Kost <ensonic@users.sf.net>
7633 * docs/gst/tmpl/gstbasesrc.sgml:
7634 * docs/gst/tmpl/gstelement.sgml:
7635 * docs/gst/tmpl/gstevent.sgml:
7636 * docs/gst/tmpl/gstfakesrc.sgml:
7637 * docs/gst/tmpl/gstformat.sgml:
7638 * docs/gst/tmpl/gstghostpad.sgml:
7639 * docs/gst/tmpl/gstpad.sgml:
7640 * docs/gst/tmpl/gstquery.sgml:
7641 * docs/gst/tmpl/gststructure.sgml:
7642 * docs/gst/tmpl/gsttaglist.sgml:
7643 * docs/gst/tmpl/gstvalue.sgml:
7644 * docs/libs/gstreamer-libs-docs.sgml:
7645 * docs/libs/gstreamer-libs-sections.txt:
7646 * docs/libs/gstreamer-libs.types:
7647 * libs/gst/Makefile.am:
7648 * libs/gst/control/.cvsignore:
7649 * libs/gst/control/Makefile.am:
7650 * libs/gst/control/control.c:
7651 * libs/gst/control/control.h:
7652 * libs/gst/control/dparam.c:
7653 * libs/gst/control/dparam.h:
7654 * libs/gst/control/dparam_smooth.c:
7655 * libs/gst/control/dparam_smooth.h:
7656 * libs/gst/control/dparamcommon.h:
7657 * libs/gst/control/dparammanager.c:
7658 * libs/gst/control/dparammanager.h:
7659 * libs/gst/control/dplinearinterp.c:
7660 * libs/gst/control/dplinearinterp.h:
7661 * libs/gst/control/unitconvert.c:
7662 * libs/gst/control/unitconvert.h:
7663 * testsuite/Makefile.am:
7664 * testsuite/dynparams/.cvsignore:
7665 * testsuite/dynparams/Makefile.am:
7666 * testsuite/dynparams/dparamstest.c:
7667 * tools/Makefile.am:
7668 * tools/gst-inspect.c: (print_element_info), (main):
7669 * tools/gst-xmlinspect.c: (print_element_info), (main):
7670 deactivate and remove dparams (libgstcontrol)
7672 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
7674 * gst/elements/gsttypefindelement.c:
7675 (gst_type_find_element_have_type), (gst_type_find_element_init),
7676 (stop_typefinding), (gst_type_find_element_handle_event),
7677 (gst_type_find_element_chain), (gst_type_find_element_getrange):
7678 * gst/elements/gsttypefindelement.h:
7679 Set caps on all outgoing buffers, not just the first one.
7681 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
7683 * gst/elements/gsttypefindelement.c:
7684 (gst_type_find_element_have_type),
7685 (gst_type_find_element_check_set_buffer_caps),
7686 (gst_type_find_element_init), (stop_typefinding),
7687 (gst_type_find_element_handle_event),
7688 (gst_type_find_element_chain), (gst_type_find_element_getrange):
7689 * gst/elements/gsttypefindelement.h:
7690 Set caps on first outgoing buffer when we've found the type.
7692 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
7694 * docs/gst/gstreamer-docs.sgml:
7695 * docs/gst/gstreamer-sections.txt:
7696 * docs/gst/tmpl/gstscheduler.sgml:
7697 * docs/gst/tmpl/gstschedulerfactory.sgml:
7698 Remove some old cruft from docs.
7700 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
7703 Fix inline docs for GstPadLinkReturn.
7705 * gst/gststructure.c: (gst_structure_has_name):
7706 * gst/gststructure.h:
7707 * docs/gst/gstreamer-sections.txt:
7708 New API: gst_structure_has_name().
7710 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
7713 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
7714 and _LARGEFILE_SOURCE in config.h as required. Do not
7715 export those flags in our .pc files any longer (#142209).
7717 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
7719 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
7720 (gst_file_sink_do_seek), (gst_file_sink_event),
7721 (gst_file_sink_get_current_offset), (gst_file_sink_render):
7722 Redo seek/tell calls with large file support in mind; add some
7723 debugging messages; add log message that tells us when large
7724 file support is unavailable or not enabled for some reason.
7726 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
7727 Add log message that tells us when large file support
7728 is unavailable or not enabled for some reason.
7730 2005-07-29 Wim Taymans <wim@fluendo.com>
7732 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
7733 Added test for removing an element with ghostpad from a bin.
7734 Fixed test as current implementation does the right thing.
7736 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
7737 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
7738 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
7739 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
7740 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
7741 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
7742 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
7743 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7744 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
7745 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
7746 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
7747 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
7748 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7749 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
7750 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
7751 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
7752 * gst/gstghostpad.h:
7753 Clean up ghostpads, remove properties for internal stuff.
7756 Prepare for switching targets, not all use cases work yet.
7758 2005-07-29 Wim Taymans <wim@fluendo.com>
7760 * docs/design/part-gstghostpad.txt:
7763 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
7764 (gst_bin_remove_func):
7765 Unlinking pads while holding the bin LOCK is not a good
7768 * gst/gstpad.c: (gst_pad_class_init),
7769 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
7770 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
7771 No prob setting template after creating the pad.
7773 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
7775 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
7776 (gst_bus_peek), (gst_bus_source_dispatch),
7777 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
7778 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
7779 gst_bus_poll may be called from other threads. Handle
7780 this nicely by not making poll_data disappear off the
7781 stack once gst_bus_poll returns.
7782 gst_bus_peek now increments the refcount on the returned
7785 2005-07-29 Wim Taymans <wim@fluendo.com>
7787 * docs/design/part-gstghostpad.txt:
7788 Overview of current GhostPad datastructures and use
7789 cases for changing the target.
7791 2005-07-28 Wim Taymans <wim@fluendo.com>
7793 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7794 Added checks for hierarchy consistency whan adding linked
7797 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
7798 Added check to test element scheduling without bin/pipeline.
7800 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
7801 First add elements to bin, then link.
7803 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
7804 (gst_bin_remove_func):
7805 Unlink pads from elements added/removed from bin to maintain
7806 hierarchy consistency.
7808 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7810 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7811 (gst_base_transform_handle_buffer):
7812 * gst/base/gstbasetransform.h:
7813 Remove broken delay_configure (fixes renegotiation of software
7814 scaling pipelines); remove some leftover printf()s.
7816 2005-07-28 Wim Taymans <wim@fluendo.com>
7818 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
7819 Added some more tests for wrong hierarchy
7821 * docs/design/part-overview.txt:
7824 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
7827 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
7828 (gst_element_dispose):
7831 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
7832 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
7833 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7834 (gst_pad_set_caps), (gst_pad_send_event):
7835 Check for correct hierarchy when linking pads. Moving to
7836 strict requirement for ghostpads when linking elements in
7840 Clean ups. Added WRONG_HIERARCHY return value.
7842 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7844 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
7845 Better debug if no transform is possible.
7847 2005-07-27 Wim Taymans <wim@fluendo.com>
7849 * docs/random/wtay/network-transp:
7852 2005-07-27 Wim Taymans <wim@fluendo.com>
7854 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7855 (gst_dp_event_from_packet):
7856 Fix serialization of seek events.
7858 2005-07-27 Wim Taymans <wim@fluendo.com>
7860 * check/gst-libs/gdp.c: (GST_START_TEST):
7861 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
7862 Fix compilation and fix event serialization.
7864 2005-07-27 Wim Taymans <wim@fluendo.com>
7867 * docs/design/part-TODO.txt:
7868 * docs/design/part-events.txt:
7871 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7872 (gst_base_sink_event), (gst_base_sink_do_sync),
7873 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
7874 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7875 (gst_base_src_do_seek), (gst_base_src_event_handler),
7876 (gst_base_src_loop):
7877 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7878 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7879 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7880 (gst_base_transform_event), (gst_base_transform_handle_buffer),
7881 (gst_base_transform_set_passthrough),
7882 (gst_base_transform_is_passthrough):
7883 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
7884 * gst/elements/gstfilesink.c: (gst_file_sink_event):
7890 * gst/gstelement.c: (gst_element_seek):
7892 Update gst_element_seek.
7894 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
7895 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
7896 (gst_event_new_flush_start), (gst_event_new_flush_stop),
7897 (gst_event_new_eos), (gst_event_new_newsegment),
7898 (gst_event_parse_newsegment), (gst_event_new_tag),
7899 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
7900 (gst_event_parse_qos), (gst_event_new_seek),
7901 (gst_event_parse_seek), (gst_event_new_navigation):
7903 Make GstEvent use GstStructure. Add parsing code, make sure the
7904 API is sufficiently generic.
7905 Mark possible directions of events and serialization.
7907 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
7908 (_gst_message_copy), (gst_message_new_segment_start),
7909 (gst_message_new_segment_done), (gst_message_new_custom),
7910 (gst_message_parse_segment_start),
7911 (gst_message_parse_segment_done):
7914 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7915 (gst_pad_set_caps), (gst_pad_send_event):
7916 Update for new events.
7917 Catch events sent in wrong directions.
7919 * gst/gstqueue.c: (gst_queue_link_src),
7920 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
7921 (gst_queue_handle_src_query):
7926 Remove event code from this file.
7928 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7929 (gst_dp_event_from_packet):
7932 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7934 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
7935 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7936 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
7937 Make debugging actually useful.
7939 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7941 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
7942 (gst_pad_fixate_caps):
7943 Implement default fixation once again, so that gst_pad_fixate()
7944 actually does anything at all. This probably needs to be some
7945 sort of a last resort, and use profile-based fixation first, but
7946 since that doesn't exist yet, this is the best we have. Fixes
7947 visualization in Totem.
7949 2005-07-22 Wim Taymans <wim@fluendo.com>
7951 * docs/design/part-events.txt:
7954 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7955 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
7956 (gst_base_sink_activate_pull):
7959 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
7960 (gst_fake_src_create):
7961 Fix handoff marshall.
7963 * gst/elements/gstidentity.c: (gst_identity_class_init),
7964 (gst_identity_transform_ip):
7965 We're a real inplace element.
7967 * gst/gstbus.c: (gst_bus_post):
7968 Added some comments.
7970 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
7971 * tests/muxing/case1.c: (main):
7972 * tests/sched/dynamic-pipeline.c: (main):
7973 * tests/sched/interrupt1.c: (main):
7974 * tests/sched/interrupt2.c: (main):
7975 * tests/sched/interrupt3.c: (main):
7976 * tests/sched/runxml.c: (main):
7977 * tests/sched/sched-stress.c: (main):
7978 * tests/seeking/seeking1.c: (event_received), (main):
7979 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
7981 * tests/threadstate/threadstate3.c: (main):
7982 * tests/threadstate/threadstate4.c: (main):
7983 * tests/threadstate/threadstate5.c: (main):
7986 2005-07-21 Wim Taymans <wim@fluendo.com>
7988 * docs/design/part-seeking.txt:
7989 Some small additions.
7991 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7992 (gst_base_sink_get_times), (gst_base_sink_do_sync),
7993 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
7994 * gst/base/gstbasesink.h:
7995 discont values are gint64, handle the math correctly.
7997 * gst/base/gstbasesrc.c: (gst_base_src_loop):
7998 Make the basesrc report error if the source pad is not linked.
8000 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
8001 (gst_queue_loop), (gst_queue_handle_src_query),
8002 (gst_queue_src_activate_push):
8003 Make queue collect data even if the srcpad is not linked.
8004 Start pushing out data as soon as it is linked.
8006 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
8008 Added gst_flow_get_name() to ease error reporting.
8010 2005-07-20 Wim Taymans <wim@fluendo.com>
8012 * gst/gstmessage.c: (gst_message_new_segment_start),
8013 (gst_message_new_segment_done), (gst_message_parse_segment_start),
8014 (gst_message_parse_segment_done):
8016 Added a bunch of messages for advanced seeking.
8018 * gst/parse/grammar.y:
8019 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
8020 (gst_dpman_state_changed):
8021 Fix some new-pad -> pad-added signals
8023 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8025 * docs/manual/appendix-porting.xml:
8026 * docs/pwg/appendix-porting.xml:
8027 Document new-pad/state-change signal renames and the FixedList
8030 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8032 * docs/manual/advanced-autoplugging.xml:
8033 * docs/manual/basics-helloworld.xml:
8034 * docs/manual/basics-pads.xml:
8035 * docs/random/ds/0.9-suggested-changes:
8036 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
8041 * gst/gststructure.c: (gst_structure_value_get_generic_type),
8042 (gst_structure_parse_array), (gst_structure_parse_value):
8043 * gst/gstvalue.c: (gst_type_is_fixed),
8044 (gst_value_list_prepend_value), (gst_value_list_append_value),
8045 (gst_value_list_get_size), (gst_value_list_get_value),
8046 (gst_value_transform_array_string), (gst_value_serialize_array),
8047 (gst_value_deserialize_array), (gst_value_intersect_array),
8048 (gst_value_is_fixed), (_gst_value_initialize):
8050 GstElement::new-pad -> pad-added, GstElement::state-change ->
8051 state-changed, GstValueFixedList -> GstValueArray, add format and
8052 flags as their own arguments in gst_element_seek() (should improve
8053 "bindeability"), remove function generators since they don't work
8054 under a whole bunch of compilers (they were deprecated already
8057 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8059 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
8060 (_gst_debug_register_funcptr):
8062 Fix illegal cast on some platforms (#309253).
8064 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8066 * gst/gstmessage.c: (gst_message_new_custom):
8068 Add _new_custom, make _new_application a macro to _new_custom.
8070 2005-07-20 Wim Taymans <wim@fluendo.com>
8072 * gst/base/gstbasesrc.c: (gst_base_src_init),
8073 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
8074 * gst/base/gstbasesrc.h:
8075 Add a gboolean to decide when to push out a discont.
8077 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8078 (gst_queue_loop), (gst_queue_handle_src_query),
8079 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
8080 (gst_queue_set_property), (gst_queue_get_property):
8083 * tests/threadstate/threadstate1.c: (main):
8084 Make a thread test compile and run... very silly..
8087 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8089 * docs/manual/appendix-porting.xml:
8090 Mention removal of libgstgconf-0.9.la and existence of gconf
8093 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8095 * docs/pwg/advanced-clock.xml:
8096 * docs/pwg/appendix-porting.xml:
8097 * docs/pwg/intro-preface.xml:
8098 * docs/pwg/other-base.xml:
8099 * docs/pwg/other-manager.xml:
8100 * docs/pwg/other-nton.xml:
8101 * docs/pwg/other-ntoone.xml:
8102 * docs/pwg/other-oneton.xml:
8104 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
8105 demuxer), remove n-to-n (was never written), fix some code examples
8106 and links and update the porting section to include all this.
8108 2005-07-19 Wim Taymans <wim@fluendo.com>
8110 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
8111 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
8112 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
8113 (gst_queue_src_activate_push), (gst_queue_change_state),
8114 (gst_queue_get_property):
8116 Propagate GstFlowReturn more intelligently upstream and output
8117 an ERROR/EOS when streaming stopped due to fatal error.
8119 2005-07-19 Wim Taymans <wim@fluendo.com>
8121 * tools/gst-launch.c: (check_intr), (event_loop), (main):
8122 Don't block forever for the state change to complete, the
8123 pipeline already did with a sensible timeout.
8125 2005-07-19 Wim Taymans <wim@fluendo.com>
8127 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
8128 Make sure we never call the create function is we
8131 2005-07-19 Andy Wingo <wingo@pobox.com>
8133 * gst/parse/parse.l: Attempt to solve bug #172815.
8135 2005-07-19 Wim Taymans <wim@fluendo.com>
8137 * docs/design/part-clocks.txt:
8138 * docs/design/part-events.txt:
8139 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
8141 Only update the seeking values when we are not
8144 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
8146 * gst/base/gstbasesrc.c: (gst_base_src_loop):
8147 Oops, ignore the result of gst_pad_push_event here.
8149 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
8151 * gst/base/gstbasesrc.c: (gst_base_src_loop),
8152 (gst_base_src_activate_push):
8153 Send discont event from the loop function, as pads
8154 aren't activated yet in the activate_push handler.
8156 * gst/gstbin.c: (bin_bus_handler):
8157 Don't leak element name.
8159 2005-07-18 Andy Wingo <wingo@pobox.com>
8161 * configure.ac: Use AS_LIBTOOL_TAGS.
8163 2005-07-18 Wim Taymans <wim@fluendo.com>
8165 * docs/gst/gstreamer.types:
8166 Remove deleted types.
8168 2005-07-18 Wim Taymans <wim@fluendo.com>
8170 * check/elements/gstfakesrc.c: (GST_START_TEST):
8173 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
8174 (init_popt_callback):
8176 * gst/gst_private.h:
8177 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
8178 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
8181 * gst/gstconfig.h.in:
8182 * gst/gstelement.c: (gst_element_class_init),
8183 (gst_element_set_base_time), (gst_element_get_base_time),
8184 (iterator_fold_with_resync), (gst_element_change_state),
8185 (gst_element_dispose), (gst_element_get_bus):
8187 * gst/gstelementfactory.h:
8188 * gst/gsterror.c: (_gst_core_errors_init):
8191 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
8193 * gst/gstinfo.c: (_gst_debug_init):
8194 * gst/gstmessage.c: (_gst_message_copy):
8196 * gst/gstminiobject.h:
8199 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8200 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
8203 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
8204 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
8205 (gst_pipeline_get_last_stream_time):
8206 * gst/gstpipeline.h:
8207 * gst/gstpluginfeature.h:
8209 * gst/gstscheduler.c:
8210 * gst/gstscheduler.h:
8211 * gst/gststructure.h:
8212 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
8213 (gst_task_finalize), (gst_task_func), (gst_task_create),
8214 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
8215 (gst_task_stop), (gst_task_pause):
8217 * gst/gsttypefind.h:
8219 * gst/registries/gstlibxmlregistry.c: (load_feature),
8220 (gst_xml_registry_load), (gst_xml_registry_save_feature):
8221 * gst/registries/gstxmlregistry.c:
8222 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
8223 * gst/schedulers/threadscheduler.c:
8224 * libs/gst/control/dparammanager.h:
8225 * tools/gst-inspect.c: (print_element_list),
8226 (print_plugin_features), (print_element_features):
8227 * tools/gst-xmlinspect.c: (print_element_list),
8228 (print_plugin_info), (main):
8229 Removed plugable schedulers.
8230 Removed Scheduler/Manager from elements.
8231 Removed gsttypes.h, rearranged includes.
8232 Removed dependency pad<->element, element<>pipeline, and
8233 various others, fix includes.
8234 implement gst_pad_get_parent() with gst_object_get_parent()
8235 Make GstTask sefcontained.
8236 Fix _get_state() on GstBin, it did not return ASYNC with a 0
8238 Fix endless loop in iterator_fold_with_resync.
8241 2005-07-18 Wim Taymans <wim@fluendo.com>
8247 2005-07-18 Wim Taymans <wim@fluendo.com>
8252 2005-07-18 Wim Taymans <wim@fluendo.com>
8258 2005-07-18 Wim Taymans <wim@fluendo.com>
8260 * docs/design/part-dynamic.txt:
8261 * docs/design/part-events.txt:
8262 * docs/design/part-seeking.txt:
8263 Some more docs in the works.
8265 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8266 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
8267 (gst_base_transform_setcaps), (gst_base_transform_get_size),
8268 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
8269 (gst_base_transform_handle_buffer),
8270 (gst_base_transform_sink_activate_push),
8271 (gst_base_transform_src_activate_pull),
8272 (gst_base_transform_set_passthrough),
8273 (gst_base_transform_is_passthrough):
8276 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
8279 * gst/gstevent.c: (gst_event_finalize):
8282 * gst/gstutils.c: (gst_element_unlink),
8283 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
8284 (gst_pad_proxy_setcaps):
8286 Add _get_parent_element() to get a pads parent as an element.
8288 2005-07-18 Wim Taymans <wim@fluendo.com>
8290 * check/gst/gstbin.c: (GST_START_TEST):
8293 2005-07-18 Wim Taymans <wim@fluendo.com>
8295 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
8296 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
8297 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
8298 (gst_base_sink_event), (gst_base_sink_do_sync),
8299 (gst_base_sink_chain), (gst_base_sink_loop),
8300 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
8301 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
8303 Fix logic for returning ASYNC when not prerolled.
8305 2005-07-18 Wim Taymans <wim@fluendo.com>
8307 * gst/gstqueue.c: (gst_queue_handle_sink_event):
8308 Fix nasty refcount bug.
8310 2005-07-16 Philippe Khalaf <burger@speedy.org>
8312 * gst/elements/gstfdsrc.c:
8313 * gst/elements/gstfdsrc.h:
8314 * gst/elements/gstelements.c:
8315 * gst/elements/Makefile.am:
8316 Ported fdsrc to 0.9.
8318 2005-07-16 Wim Taymans <wim@fluendo.com>
8320 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8321 (gst_base_sink_do_sync):
8324 2005-07-16 Wim Taymans <wim@fluendo.com>
8326 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8327 (gst_base_sink_event), (gst_base_sink_get_times),
8328 (gst_base_sink_do_sync), (gst_base_sink_change_state):
8329 * gst/base/gstbasesink.h:
8330 Store and use discont values when syncing buffers as described
8333 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8334 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
8335 (gst_base_src_activate_push):
8336 Push discont event when starting.
8338 * gst/elements/gstidentity.c: (gst_identity_transform):
8341 * gst/gstbin.c: (gst_bin_change_state):
8342 Small cleanups in base_time distribution.
8344 * gst/gstelement.c: (gst_element_set_base_time),
8345 (gst_element_get_base_time), (gst_element_change_state):
8347 Added methods for the base_time of the element.
8350 * gst/gstpipeline.c: (gst_pipeline_send_event),
8351 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
8352 (gst_pipeline_get_last_stream_time):
8353 * gst/gstpipeline.h:
8355 Handle seeking as described in design doc, remove stream_time
8357 Cleanups clock and stream_time selection code. Added accessors
8358 for the stream_time.
8361 2005-07-16 Andy Wingo <wingo@pobox.com>
8363 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
8366 2005-07-16 Wim Taymans <wim@fluendo.com>
8368 * check/gst/gstbin.c: (GST_START_TEST):
8369 Make elements silent as the deep_notify refs the
8370 parent, which might make the test fail.
8372 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
8373 Don't hold the lock for too long.
8375 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
8377 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
8378 Don't unref the caps we passed to gst_caps_make_writable() after
8379 passing them. gst_caps_make_writable() will do that for us.
8381 2005-07-15 Andy Wingo <wingo@pobox.com>
8383 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
8386 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
8387 own marshalling function for the handoff signal. Properly type the
8388 buffer as a buffer. Fixes some warnings. Should do a more general
8390 (gst_identity_class_init): Plug into the right marshaller.
8392 2005-07-15 Wim Taymans <wim@fluendo.com>
8394 * docs/design/part-TODO.txt:
8395 * docs/design/part-clocks.txt:
8396 * docs/design/part-element-sink.txt:
8397 * docs/design/part-events.txt:
8398 * docs/design/part-gstpipeline.txt:
8399 Updated docs, mostly DISCONT related.
8401 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
8403 * docs/pwg/building-pads.xml:
8404 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
8406 2005-07-15 Andy Wingo <wingo@pobox.com>
8408 * tools/gst-typefind.c: Update, add copyright block.
8410 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
8411 Normalize and truncate caps before fixation.
8414 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
8415 discards all but the first structure from its argument.
8417 2005-07-15 Wim Taymans <wim@fluendo.com>
8419 * gst/base/gstbasetransform.c: (gst_base_transform_init),
8420 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
8421 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8422 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8423 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
8424 (gst_base_transform_chain), (gst_base_transform_change_state),
8425 (gst_base_transform_set_passthrough),
8426 (gst_base_transform_is_passthrough):
8427 * gst/base/gstbasetransform.h:
8428 Make passthrough work using the bufferpools.
8429 Changed API a bit, subclasses have to write into a buffer
8430 provided by the base class.
8431 More debug info in nego functions.
8433 * gst/elements/gstidentity.c: (gst_identity_init),
8434 (gst_identity_transform):
8435 Port to new base class.
8437 2005-07-15 Wim Taymans <wim@fluendo.com>
8439 * gst/gstmessage.c: (gst_message_new_state_changed):
8440 * tools/gst-launch.c: (event_loop), (main):
8441 Totally dump messages in -launch with the -m option.
8442 Fix message name for State messages,
8444 2005-07-14 Wim Taymans <wim@fluendo.com>
8446 * gst/base/gstbasesrc.c: (gst_base_src_loop):
8447 Post error messages on errors.
8449 2005-07-14 Wim Taymans <wim@fluendo.com>
8451 * gst/gstcaps.c: (gst_caps_do_simplify):
8455 Define error for stream stopped.
8457 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
8458 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
8459 Do proper return values.
8461 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8462 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
8463 (gst_pad_get_range):
8464 Better return values.
8467 Reorganise return values, add macro to check for fatal errors.
8469 * gst/gstqueue.c: (gst_queue_chain):
8470 Return proper GstFlowReturn values,
8472 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
8474 * docs/gst/gstreamer-sections.txt:
8475 * docs/gst/gstreamer.types:
8476 * docs/gst/tmpl/gst.sgml:
8477 * docs/gst/tmpl/gstbasesink.sgml:
8478 * docs/gst/tmpl/gstbasesrc.sgml:
8479 * docs/gst/tmpl/gstbasetransform.sgml:
8480 * docs/gst/tmpl/gstbin.sgml:
8481 * docs/gst/tmpl/gstbuffer.sgml:
8482 * docs/gst/tmpl/gstcaps.sgml:
8483 * docs/gst/tmpl/gstclock.sgml:
8484 * docs/gst/tmpl/gstcompat.sgml:
8485 * docs/gst/tmpl/gstconfig.sgml:
8486 * docs/gst/tmpl/gstelement.sgml:
8487 * docs/gst/tmpl/gstelementdetails.sgml:
8488 * docs/gst/tmpl/gstelementfactory.sgml:
8489 * docs/gst/tmpl/gstenumtypes.sgml:
8490 * docs/gst/tmpl/gsterror.sgml:
8491 * docs/gst/tmpl/gstevent.sgml:
8492 * docs/gst/tmpl/gstfakesink.sgml:
8493 * docs/gst/tmpl/gstfakesrc.sgml:
8494 * docs/gst/tmpl/gstfilesink.sgml:
8495 * docs/gst/tmpl/gstfilesrc.sgml:
8496 * docs/gst/tmpl/gstfilter.sgml:
8497 * docs/gst/tmpl/gstformat.sgml:
8498 * docs/gst/tmpl/gstghostpad.sgml:
8499 * docs/gst/tmpl/gstimplementsinterface.sgml:
8500 * docs/gst/tmpl/gstindex.sgml:
8501 * docs/gst/tmpl/gstindexfactory.sgml:
8502 * docs/gst/tmpl/gstinfo.sgml:
8503 * docs/gst/tmpl/gstiterator.sgml:
8504 * docs/gst/tmpl/gstmacros.sgml:
8505 * docs/gst/tmpl/gstmemchunk.sgml:
8506 * docs/gst/tmpl/gstminiobject.sgml:
8507 * docs/gst/tmpl/gstobject.sgml:
8508 * docs/gst/tmpl/gstpad.sgml:
8509 * docs/gst/tmpl/gstpadtemplate.sgml:
8510 * docs/gst/tmpl/gstparse.sgml:
8511 * docs/gst/tmpl/gstpipeline.sgml:
8512 * docs/gst/tmpl/gstplugin.sgml:
8513 * docs/gst/tmpl/gstpluginfeature.sgml:
8514 * docs/gst/tmpl/gstquery.sgml:
8515 * docs/gst/tmpl/gstqueue.sgml:
8516 * docs/gst/tmpl/gstregistry.sgml:
8517 * docs/gst/tmpl/gstregistrypool.sgml:
8518 * docs/gst/tmpl/gstscheduler.sgml:
8519 * docs/gst/tmpl/gstschedulerfactory.sgml:
8520 * docs/gst/tmpl/gststructure.sgml:
8521 * docs/gst/tmpl/gstsystemclock.sgml:
8522 * docs/gst/tmpl/gsttaglist.sgml:
8523 * docs/gst/tmpl/gsttagsetter.sgml:
8524 * docs/gst/tmpl/gsttrace.sgml:
8525 * docs/gst/tmpl/gsttrashstack.sgml:
8526 * docs/gst/tmpl/gsttypefind.sgml:
8527 * docs/gst/tmpl/gsttypefindfactory.sgml:
8528 * docs/gst/tmpl/gsttypes.sgml:
8529 * docs/gst/tmpl/gsturihandler.sgml:
8530 * docs/gst/tmpl/gsturitype.sgml:
8531 * docs/gst/tmpl/gstutils.sgml:
8532 * docs/gst/tmpl/gstvalue.sgml:
8533 * docs/gst/tmpl/gstversion.sgml:
8534 * docs/gst/tmpl/gstxml.sgml:
8535 * docs/libs/tmpl/gstcontrol.sgml:
8536 * docs/libs/tmpl/gstdataprotocol.sgml:
8537 * docs/libs/tmpl/gstdparam.sgml:
8538 * docs/libs/tmpl/gstdplinint.sgml:
8539 * docs/libs/tmpl/gstdpman.sgml:
8540 * docs/libs/tmpl/gstdpsmooth.sgml:
8541 * docs/libs/tmpl/gstgetbits.sgml:
8542 * docs/libs/tmpl/gstunitconvert.sgml:
8543 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
8544 (gst_push_src_base_init), (gst_push_src_class_init),
8545 (gst_push_src_init), (gst_push_src_create):
8546 * gst/base/gstpushsrc.h:
8547 * gst/elements/gstelements.c:
8548 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
8549 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
8550 (gst_fake_sink_init), (gst_fake_sink_set_property),
8551 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
8552 (gst_fake_sink_event), (gst_fake_sink_preroll),
8553 (gst_fake_sink_render), (gst_fake_sink_change_state):
8554 * gst/elements/gstfakesink.h:
8555 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
8556 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
8557 (gst_fake_src_base_init), (gst_fake_src_class_init),
8558 (gst_fake_src_init), (gst_fake_src_event_handler),
8559 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
8560 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
8561 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
8562 (gst_fake_src_create_buffer), (gst_fake_src_create),
8563 (gst_fake_src_start), (gst_fake_src_stop):
8564 * gst/elements/gstfakesrc.h:
8565 * gst/elements/gstfilesink.c: (_do_init),
8566 (gst_file_sink_base_init), (gst_file_sink_class_init),
8567 (gst_file_sink_init), (gst_file_sink_dispose),
8568 (gst_file_sink_set_location), (gst_file_sink_set_property),
8569 (gst_file_sink_get_property), (gst_file_sink_open_file),
8570 (gst_file_sink_close_file), (gst_file_sink_query),
8571 (gst_file_sink_event), (gst_file_sink_render),
8572 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
8573 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
8574 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
8575 * gst/elements/gstfilesink.h:
8576 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
8577 (gst_file_src_class_init), (gst_file_src_init),
8578 (gst_file_src_finalize), (gst_file_src_set_location),
8579 (gst_file_src_set_property), (gst_file_src_get_property),
8580 (gst_file_src_map_region), (gst_file_src_map_small_region),
8581 (gst_file_src_create_mmap), (gst_file_src_create_read),
8582 (gst_file_src_create), (gst_file_src_is_seekable),
8583 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
8584 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
8585 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
8586 (gst_file_src_uri_handler_init):
8587 * gst/elements/gstfilesrc.h:
8588 more autistic cleanliness in functions/names/defines
8590 2005-07-13 Andy Wingo <wingo@pobox.com>
8592 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
8593 source couldn't negotiate.
8595 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
8599 * gst/gstutils.c (gst_element_link_pads_filtered): New old
8600 function. I am channeling Hades. Put your boots on suckers!!!
8602 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
8604 * testsuite/caps/Makefile.am:
8605 * testsuite/caps/value_compare.c:
8606 * testsuite/caps/value_intersect.c:
8607 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8608 move two testsuite apps over to the check dir
8610 2005-07-12 Wim Taymans <wim@fluendo.com>
8612 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8613 Added more debug info in the negotiate process.
8616 Prepare for segment playback.
8618 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
8624 * tools/gst-launch.c: (main):
8625 NULL pipeline on errors.
8627 2005-07-12 Andy Wingo <wingo@pobox.com>
8629 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
8630 not it comes from a malloc region. Make sure our copy gets freed.
8632 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
8634 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
8635 * check/gst/gstmessage.c: (GST_START_TEST):
8636 * check/gst/gststructure.c: (GST_START_TEST),
8637 (gst_structure_suite), (main):
8639 * gst/gstelement.c: (gst_element_message_full):
8640 clean up GError and debug string now that they get copied
8641 * gst/gstmessage.c: (gst_message_new_error),
8642 (gst_message_new_warning), (gst_message_parse_error),
8643 (gst_message_parse_warning):
8644 use GST_TYPE_G_ERROR for structure_new, and take copies of
8645 arguments, so that we don't mess up refcounting
8647 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
8649 * check/Makefile.am:
8650 add per-test valgrind targets
8651 * check/gst-libs/gdp.c: (GST_START_TEST),
8652 (gst_data_protocol_suite), (main):
8655 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
8657 * check/Makefile.am:
8658 instate more valgrindable tests
8659 * check/elements/gstfakesrc.c: (chain_func), (event_func),
8660 (GST_START_TEST), (fakesrc_suite):
8661 * check/gst/gstpad.c: (GST_START_TEST):
8662 * check/gst/gststructure.c: (GST_START_TEST):
8664 * docs/gst/tmpl/gstminiobject.sgml:
8665 * gst/gstpad.c: (gst_pad_finalize):
8666 fix the static mutex leak
8668 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
8670 * check/Makefile.am:
8671 add two more tests for valgrinding
8672 * check/gst/gstvalue.c: (GST_START_TEST):
8673 test refcount of deserialized buffer, found a leak
8674 * docs/gst/gstreamer-docs.sgml:
8675 * docs/gst/gstreamer-sections.txt:
8676 * docs/gst/gstreamer.types:
8677 * docs/gst/tmpl/gstminiobject.sgml:
8678 add miniobject to docs
8679 * gst/gstminiobject.c:
8681 * gst/gstvalue.c: (gst_value_deserialize_buffer),
8682 (gst_string_unwrap):
8683 fix a hard-to-find invalid write for one of the tests
8684 fix a leak for deserialized buffers
8686 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8688 * docs/pwg/advanced-events.xml:
8689 * docs/pwg/advanced-request.xml:
8690 * docs/pwg/advanced-scheduling.xml:
8691 * docs/pwg/appendix-porting.xml:
8692 * docs/pwg/building-boiler.xml:
8693 * docs/pwg/intro-preface.xml:
8694 * docs/pwg/other-ntoone.xml:
8695 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
8696 of example code and explanation for pad activation, loop() and
8697 getrange() functions and a bit more. Remove old comments pointing
8699 * examples/pwg/Makefile.am:
8700 Add loop/getrange examples.
8702 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
8705 check for valgrind binary + some fixes
8707 valgrind suppressions for the tests
8708 * check/Makefile.am:
8709 add a valgrind: target that valgrinds the unit tests
8710 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
8711 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
8712 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8713 * check/gst/gstghostpad.c:
8715 * check/gst/gstdata.c:
8717 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
8718 (thread_unref), (gst_mini_object_suite), (main):
8720 * gst/gst.c: (gst_deinit):
8722 add a method to clean up.
8723 * gst/gstsystemclock.c: (gst_system_clock_dispose),
8724 (gst_system_clock_obtain):
8725 allow for disposing the system clock.
8726 * tools/gst-launch.c: (main):
8729 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
8731 * docs/gst/tmpl/gstbasesrc.sgml:
8732 * docs/gst/tmpl/gstfakesrc.sgml:
8733 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8734 (gst_base_src_init), (gst_base_src_set_property),
8735 (gst_base_src_get_property), (gst_base_src_get_range),
8736 (gst_base_src_start):
8737 * gst/base/gstbasesrc.h:
8738 add num-buffers property
8739 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8740 (gst_fakesrc_init), (gst_fakesrc_set_property),
8741 (gst_fakesrc_get_property), (gst_fakesrc_create),
8742 (gst_fakesrc_start):
8743 remove num-buffers property
8745 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
8747 * docs/gst/gstreamer-sections.txt:
8748 * docs/gst/tmpl/gstbasesink.sgml:
8749 * docs/gst/tmpl/gstbasesrc.sgml:
8750 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
8751 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
8752 (gst_base_sink_finalize), (gst_base_sink_set_clock),
8753 (gst_base_sink_set_property), (gst_base_sink_get_property),
8754 (gst_base_sink_handle_object), (gst_base_sink_event),
8755 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
8756 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
8757 (gst_base_sink_loop), (gst_base_sink_deactivate),
8758 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
8759 (gst_base_sink_change_state):
8760 * gst/base/gstbasesink.h:
8761 * gst/base/gstbasesrc.h:
8762 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
8763 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
8764 (gst_filesink_init):
8765 more macro splitting
8767 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
8769 * gst/gstelement.c: (gst_element_get_bus):
8771 * tools/gst-launch.c: (check_intr), (event_loop):
8774 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
8776 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
8779 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
8781 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8782 (gst_base_src_finalize):
8783 add finalize method and clean up properly
8784 * gst/gstpipeline.c: (gst_pipeline_dispose):
8787 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
8789 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
8791 add more things to check
8792 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
8796 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
8798 * check/elements/gstfakesrc.c: (chain_func), (event_func),
8799 (GST_START_TEST), (fakesrc_suite):
8800 * check/gst-libs/gdp.c: (GST_START_TEST):
8801 * check/gst/gst.c: (GST_START_TEST):
8802 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8803 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8804 * check/gst/gstbus.c: (GST_START_TEST):
8805 * check/gst/gstcaps.c: (GST_START_TEST):
8806 * check/gst/gstdata.c: (GST_START_TEST):
8807 * check/gst/gstelement.c: (GST_START_TEST):
8808 * check/gst/gstghostpad.c: (GST_START_TEST):
8809 * check/gst/gstiterator.c: (GST_START_TEST):
8810 * check/gst/gstmessage.c: (GST_START_TEST):
8811 * check/gst/gstobject.c: (GST_START_TEST):
8812 * check/gst/gstpad.c: (GST_START_TEST):
8813 * check/gst/gststructure.c: (GST_START_TEST):
8814 * check/gst/gstsystemclock.c: (GST_START_TEST),
8815 (gst_systemclock_suite):
8816 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
8817 * check/gst/gstvalue.c: (GST_START_TEST):
8818 * check/pipelines/cleanup.c: (GST_START_TEST):
8819 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
8820 * check/states/sinks.c: (GST_START_TEST):
8821 * check/gstcheck.c: (gst_check_init):
8823 add debugging category
8824 use GST_START_TEST now, so we add a debug line
8826 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
8828 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
8829 add test for state change message on a bin
8830 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
8832 * gst/gstbin.c: (gst_bin_init):
8833 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
8834 * gst/gstelement.c: (gst_element_post_message),
8835 (gst_element_set_state):
8836 * gst/gstelementfactory.c: (gst_element_factory_create):
8837 * gst/gstmessage.c: (gst_message_new):
8838 * gst/gstscheduler.c:
8839 various debugging additions and cleanups
8841 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8843 * check/Makefile.am:
8844 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
8846 adding tests for elements
8847 * gst/gstelement.c: (gst_element_dispose):
8849 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8851 * gst/registries/gstlibxmlregistry.c: (load_feature):
8852 plug more leaks. A simple gst_init() now is leakfree, yay.
8854 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8856 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
8857 (gst_xml_registry_load):
8858 plug another memleak
8860 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8863 use GST_SET_ERROR_CFLAGS
8865 change to ERROR_CFLAGS
8867 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8870 make GST_ERROR_CFLAGS overridable and re-enable Werror
8872 add a note about error CFLAGS
8873 * docs/gst/tmpl/gstfakesrc.sgml:
8874 * gst/elements/gstfakesrc.c:
8875 comment out some unused code
8876 * gst/gst.c: (split_and_iterate):
8877 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
8881 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
8883 * common/Makefile.am:
8884 * common/gtk-doc.mak:
8885 * docs/gst/Makefile.am:
8886 factor out gtk-doc.mak
8888 2005-07-07 Wim Taymans <wim@fluendo.com>
8890 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
8891 (gst_thread_scheduler_dispose):
8892 Unlock the STREAM_LOCK completely.
8894 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
8896 * check/Makefile.am:
8897 * check/elements/.cvsignore:
8898 * check/elements/gstfakesrc.c: (chain_func), (event_func),
8899 (START_TEST), (fakesrc_suite), (main):
8900 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8901 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
8902 (gst_fakesrc_create), (gst_fakesrc_start):
8903 * gst/elements/gstfakesrc.h:
8904 adding a first element test
8906 2005-07-07 Andy Wingo <wingo@pobox.com>
8908 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
8911 2005-07-07 Wim Taymans <wim@fluendo.com>
8917 2005-07-07 Wim Taymans <wim@fluendo.com>
8919 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
8920 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
8921 Allow subclasses to implement their own negotiation.
8923 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
8925 * docs/design/part-gstbin.txt:
8926 * docs/design/part-gstpipeline.txt:
8927 Update design notes to reflect the movement of
8928 responsibility for bus handling from GstPipeline to
8931 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
8934 Remove unnecessary queue2/3/4 examples.
8936 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
8938 * examples/Makefile.am:
8939 * examples/helloworld/helloworld.c: (event_loop), (main):
8940 * examples/queue/queue.c: (event_loop), (main):
8941 * examples/queue2/queue2.c: (main):
8942 Update a couple of the examples to work again.
8944 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8945 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
8946 Spelling corrections and extra debug.
8948 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
8949 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
8950 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
8952 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
8953 (gst_pipeline_change_state):
8954 * gst/gstpipeline.h:
8955 Move the bus handler for children to the GstBin, and create a
8956 separate bus for receiving messages from children to the one the
8957 bus sends 'upwards' on.
8959 2005-07-06 Wim Taymans <wim@fluendo.com>
8962 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8963 (gst_base_sink_handle_object), (gst_base_sink_loop),
8964 (gst_base_sink_change_state):
8965 * gst/base/gstbasesink.h:
8966 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8967 (gst_base_src_init), (gst_base_src_setcaps),
8968 (gst_base_src_getcaps), (gst_base_src_loop),
8969 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
8970 (gst_base_src_start), (gst_base_src_change_state):
8971 * gst/base/gstbasesrc.h:
8972 Make basesrc negotiate.
8973 Handle the case where preroll fails in basesink.
8976 2005-07-06 Wim Taymans <wim@fluendo.com>
8978 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
8979 Implement the fixate function.
8980 Clean up acceptcaps.
8982 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8984 * docs/pwg/building-filterfactory.xml:
8986 Remove never-written filter-factory chapter; I'll add the various
8987 base classes to part 4 ("other element types") later on.
8989 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8991 * docs/pwg/advanced-negotiation.xml:
8992 * docs/pwg/building-boiler.xml:
8993 * docs/pwg/building-pads.xml:
8995 * examples/pwg/Makefile.am:
8996 Add a chapter on caps negotiation, simplify the original code
8997 samples a bit w.r.t. caps negotiation, add link to the advanced
8998 section. Add a bunch of examples showing different use cases of
8999 different types of caps negotiation. Upstream renegotiation isn't
9000 fully documented yet since nobody knows how that works.
9002 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
9004 * check/gst/gstpad.c:
9006 * gst/gstpad.c: (gst_pad_get_internal_links_default):
9007 if pad has no parent, return NULL as list of internal links
9009 2005-07-05 Andy Wingo <wingo@pobox.com>
9011 * gst/elements/gstfilesrc.c:
9012 * gst/elements/gstfakesrc.c:
9013 * gst/base/gstpushsrc.c:
9014 * gst/base/gstbasesrc.h:
9015 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
9017 2005-07-05 Stefan Kost <ensonic@users.sf.net>
9020 better report generation target (lcov needs a patch)
9022 2005-07-05 Andy Wingo <wingo@pobox.com>
9024 * gst/elements, testsuite: Null if we got it...
9026 2005-07-05 Wim Taymans <wim@fluendo.com>
9029 * libs/gst/dataprotocol/Makefile.am:
9030 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
9031 * libs/gst/dataprotocol/dataprotocol.h:
9032 * pkgconfig/Makefile.am:
9033 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
9034 * pkgconfig/gstreamer-dataprotocol.pc.in:
9035 Ported dataprotol to 0.9.
9036 Added pkgconfig files.
9038 2005-07-05 Andy Wingo <wingo@pobox.com>
9040 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
9041 Default to returning TRUE for the case when tranform_caps returns
9042 a fixed caps, like for identity or volume.
9044 * check/gst/gstbus.c (pound_bus_with_messages):
9045 * check/gst/gstmessage.c (START_TEST):
9046 * check/pipelines/simple_launch_lines.c (got_handoff): Application
9049 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
9050 logic weaks here: always run transform_caps, trying passthrough
9051 operation only if the original caps intersects with the transform.
9053 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
9054 source and sink caps.
9056 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
9057 Intersect the peer caps with the pad template before going into
9059 (gst_base_transform_transform_caps): More debugging.
9061 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
9064 2005-07-04 Edward Hervey <edward@fluendo.com>
9068 (gst_pad_add_*_probe): now returns the signal id for better wrapping
9071 2005-07-04 Andy Wingo <wingo@pobox.com>
9073 * check/gst/gstpad.c: Only set explicit caps on pads.
9075 2005-07-01 Andy Wingo <wingo@pobox.com>
9077 * tests/network-clock.scm: Commentary update.
9079 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
9080 Didn't really make sense, not implementable with basetransform,
9082 (gst_identity_transform): Unref inbuf via make_writable. Feeble
9083 attempt at implementing the sync property, needs an unlock method.
9085 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
9086 New func, by default returns the same caps (the identity
9088 (gst_base_transform_getcaps): Uses transform_caps to return
9090 (gst_base_transform_setcaps): Complicated logic to get caps on
9091 both pads, even if they are different, and to call set_caps once
9092 for every time both pads get their caps set.
9093 (gst_base_transform_handle_buffer): Give the ref to the transform
9094 function. Allows in-place modification of the buffer.
9096 * gst/base/gstbasetransform.h (transform_caps): New class method.
9097 Given caps on one side, what can I do on the other.
9098 (set_caps): Take two caps, one for each side of the element.
9101 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
9102 caps in place. This is safe because we can check the mutability of
9103 the caps, and a good idea because fixate functions are just called
9104 as a matter of last resort. (Not actually implemented.)
9105 (gst_pad_set_caps): If the caps we're setting is actually the same
9106 as the existing pad caps, just update the pointer without calling
9107 setcaps. Assert that caps is either NULL or fixed, as per the
9110 * gst/gstghostpad.c: Update for fixate changes.
9112 2005-07-02 Andy Wingo <wingo@pobox.com>
9115 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
9116 two refcounts makes it immutable, which is enough. Doc more.
9118 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
9120 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
9121 Put the mini_object into GValue as a mini_object,
9122 not a gpointer, since that's how we declared
9125 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9127 * examples/pwg/Makefile.am:
9130 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9132 * docs/pwg/building-testapp.xml:
9134 * examples/pwg/Makefile.am:
9137 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9140 * examples/Makefile.am:
9141 * examples/pwg/Makefile.am:
9142 * examples/pwg/extract.pl:
9143 Enable building the PWG examples.
9144 * docs/pwg/advanced-interfaces.xml:
9145 Add URI interface stub.
9146 * docs/pwg/advanced-types.xml:
9147 * docs/pwg/other-autoplugger.xml:
9148 * docs/pwg/appendix-porting.xml:
9150 Add porting guide (mostly stubs), remove autoplugging (see ADM).
9151 * docs/pwg/building-boiler.xml:
9152 * docs/pwg/building-chainfn.xml:
9153 * docs/pwg/building-pads.xml:
9154 * docs/pwg/building-props.xml:
9155 * docs/pwg/building-state.xml:
9156 * docs/pwg/building-testapp.xml:
9157 Update the building-*.xml parts for 0.9 changes. All examples
9158 code blocks compile in examples/pwg/*.
9160 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9162 * docs/manual/advanced-autoplugging.xml:
9163 * docs/manual/appendix-checklist.xml:
9164 * docs/manual/appendix-integration.xml:
9165 * docs/manual/highlevel-components.xml:
9166 Fix playbin/decodebin examples, update docs a bit, mention bus
9167 instead of signals in various places, mention kmplayer and
9168 kaffeine since they have a working GStreamer backend in the KDE
9171 2005-06-30 Wim Taymans <wim@fluendo.com>
9174 * docs/design/draft-ghostpads.txt:
9175 * docs/design/draft-push-pull.txt:
9176 * docs/design/draft-query.txt:
9177 * docs/design/part-TODO.txt:
9178 * docs/design/part-query.txt:
9179 Added CHANGES-0.9 doc, updated status of other docs.
9184 2005-06-30 Wim Taymans <wim@fluendo.com>
9186 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9187 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
9188 (gst_base_sink_change_state):
9189 * gst/base/gstbasesink.h:
9190 Some tweaks, only EOS and a buffer complete a preroll.
9192 2005-06-30 Andy Wingo <wingo@pobox.com>
9194 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
9195 activate_push down to the internal pad as well.
9197 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
9199 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9201 * gst/gsttaginterface.c:
9202 Some documentation fixes (#307394 and #307397).
9204 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
9206 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9208 * gst/gstvalue.c: (gst_value_intersect_list):
9209 Fix memleak (#309125).
9211 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9213 * docs/manual/advanced-dataaccess.xml:
9214 Fix fakesrc example to compile; doesn't work, bug somewhere...?
9215 * docs/manual/basics-pads.xml:
9216 Add reference for filtered caps to above chapter.
9218 2005-06-30 Wim Taymans <wim@fluendo.com>
9220 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
9221 (gst_bin_change_state):
9223 Lame attempt at making the state change function a bit
9226 2005-06-30 Wim Taymans <wim@fluendo.com>
9228 * docs/design/part-clocks.txt:
9229 * docs/design/part-element-sink.txt:
9230 * docs/design/part-events.txt:
9231 * docs/design/part-preroll.txt:
9232 * docs/design/part-states.txt:
9233 Some more tweeks and additions to the docs.
9235 2005-06-30 Wim Taymans <wim@fluendo.com>
9237 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9238 (default_have_data), (gst_pad_class_init), (gst_pad_init),
9239 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
9240 (gst_pad_check_pull_range), (gst_pad_get_range),
9241 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
9243 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
9244 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9245 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9246 (gst_pad_remove_buffer_probe):
9247 Removed atomic operations, use existing LOCK.
9248 Move exception handling out of main code path.
9250 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9252 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9253 (silly_return_true_function), (gst_pad_class_init),
9254 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
9255 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
9256 (gst_pad_send_event):
9257 Fix accumulator, add default value by using _emitv() instead
9258 of _emit() for signal emission.
9260 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9262 * docs/manual/advanced-dataaccess.xml:
9263 * examples/manual/Makefile.am:
9265 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
9268 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
9270 * gst/elements/gstfilesink.c: (gst_filesink_render):
9271 Simplify code so that we don't have to handle short
9272 writes and return GST_FLOW_ERROR if an error occured.
9274 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9276 * docs/gst/gstreamer-docs.sgml:
9279 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9281 * docs/gst/gstreamer-sections.txt:
9282 * docs/gst/tmpl/gstpad.sgml:
9283 * docs/gst/tmpl/gstprobe.sgml:
9285 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9286 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
9287 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
9288 (gst_pad_push_event), (gst_pad_send_event):
9290 * gst/gstutils.c: (gst_pad_add_data_probe),
9291 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9292 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9293 (gst_pad_remove_buffer_probe):
9295 Remove old probes, add new g-signal-based probes and some utility
9298 2005-06-29 Edward Hervey <edward@fluendo.com>
9300 * gst/gstelementfactory.c:
9303 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
9304 the definition to the header file.
9306 2005-06-29 Andy Wingo <wingo@pobox.com>
9308 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
9309 plugins from the source directory.
9311 2005-06-29 Wim Taymans <wim@fluendo.com>
9313 * docs/gst/tmpl/gstbuffer.sgml:
9314 * docs/gst/tmpl/gstclock.sgml:
9315 Some fixings for blantently wrong text.
9317 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
9319 * check/Makefile.am:
9320 * gst/gst.c: (add_path_func), (init_pre):
9321 * gst/gstregistry.c: (gst_registry_add_path):
9322 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
9323 only scan the GST_PLUGIN_PATH locations, and not add
9326 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
9328 * docs/gst/gstreamer-sections.txt:
9329 * docs/gst/tmpl/gstbasesrc.sgml:
9336 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9338 * docs/manual/advanced-autoplugging.xml:
9339 Fix autoplugging example.
9341 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9343 * docs/manual/advanced-autoplugging.xml:
9344 * docs/manual/mime-world.fig:
9345 Try to get autoplugging working, fix type detection. Fix text
9346 in hello-world image.
9348 2005-06-29 Wim Taymans <wim@fluendo.com>
9350 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9351 (gst_base_sink_change_state):
9355 map SIGNAL and BROADCAST to the right function.
9358 Remove redundant braces.
9360 * gst/gstpad.c: (gst_pad_set_caps):
9361 Don't call setcaps function when reseting caps to NULL.
9363 * gst/gstsystemclock.c: (gst_system_clock_dispose),
9364 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
9365 (gst_system_clock_id_unschedule):
9366 Use BROADCAST as this is what we do.
9368 2005-06-29 Wim Taymans <wim@fluendo.com>
9370 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9371 We are actually prerolling before commiting the state
9374 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9376 * docs/manual/advanced-clocks.xml:
9377 * docs/manual/advanced-interfaces.xml:
9378 * docs/manual/advanced-metadata.xml:
9379 * docs/manual/advanced-position.xml:
9380 * docs/manual/advanced-schedulers.xml:
9381 * docs/manual/advanced-threads.xml:
9382 * docs/manual/appendix-porting.xml:
9383 * docs/manual/basics-bins.xml:
9384 * docs/manual/basics-bus.xml:
9385 * docs/manual/basics-elements.xml:
9386 * docs/manual/basics-helloworld.xml:
9387 * docs/manual/basics-pads.xml:
9388 * docs/manual/highlevel-components.xml:
9389 * docs/manual/manual.xml:
9390 * docs/manual/thread.fig:
9391 Update (until threads/scheduling) Application Development Manual;
9392 remove GstThread, add GstBus, add simple porting checklist, add
9393 documentation for tag writing, clocks, make all examples until this
9394 part compile and run.
9395 * examples/manual/Makefile.am:
9396 Update from changes to Application Development Manual; add bus
9397 example, remove thread example.
9399 2005-06-28 Wim Taymans <wim@fluendo.com>
9401 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
9402 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
9403 (gst_bus_source_dispatch):
9404 Add debugging messages.
9405 Make internal methods static.
9406 Handle the case where the bus is flushed in the handler.
9408 * gst/gstelement.c: (gst_element_get_bus):
9409 Fix refcount in _get_bus();
9411 * gst/gstpipeline.c: (gst_pipeline_change_state),
9412 (gst_pipeline_get_clock_func):
9413 Clock refcounting fixes.
9414 Handle the case where preroll timed out more gracefully.
9416 * gst/gstsystemclock.c: (gst_system_clock_dispose):
9417 Clean up the internal thread in dispose. This is needed
9418 for subclasses that actually get disposed.
9420 * gst/schedulers/threadscheduler.c:
9421 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
9422 (gst_thread_scheduler_dispose):
9423 Free thread pool in dispose.
9425 2005-06-28 Andy Wingo <wingo@pobox.com>
9427 * tests/network-clock-utils.scm (debug, print-event): New utils.
9429 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
9430 (*packet-loss*): Unified loss probability.
9431 (network-time): Report out-of-band events.
9433 * tests/plot-data: Add support for out-of-band events. Hack it
9434 into this script instead of passing it down the pipe; should fix
9437 2005-06-28 Wim Taymans <wim@fluendo.com>
9439 * docs/gst/gstreamer.types:
9440 * docs/gst/tmpl/gstbasesrc.sgml:
9441 * docs/gst/tmpl/gstpad.sgml:
9444 2005-06-28 Wim Taymans <wim@fluendo.com>
9446 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9447 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
9448 (gst_proxy_pad_do_fixatecaps):
9449 Correctly proxy the check_pull_range function.
9451 2005-06-28 Andy Wingo <wingo@pobox.com>
9453 * tests/network-clock.scm: Removed need for slib.
9455 2005-06-28 Wim Taymans <wim@fluendo.com>
9457 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
9458 (gst_basesink_preroll_queue_flush):
9459 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
9460 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
9461 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9462 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
9463 (gst_proxy_pad_set_property):
9466 * gst/gstqueue.c: (gst_queue_init):
9467 The deprecated pad loop function is removed now.
9469 2005-06-28 Andy Wingo <wingo@pobox.com>
9471 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
9472 New parameters, simulate network packet loss.
9474 * tests/network-clock-utils.scm: Initialize the RNG.
9476 2005-06-28 Wim Taymans <wim@fluendo.com>
9478 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
9479 (gst_basesink_event), (gst_basesink_deactivate):
9480 Flushing the preroll queue always needs to unlock the waiters.
9482 2005-06-28 Edward Hervey <edward@fluendo.com>
9484 * gst/gstpipeline.c: (gst_pipeline_send_event):
9485 Wheen a seek was successful on a pipeline, set the stream_time to the
9486 seek offset in order to have a synchronized stream_time.
9488 2005-06-28 Wim Taymans <wim@fluendo.com>
9490 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9491 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
9492 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
9493 (gst_proxy_pad_do_fixatecaps):
9494 Call wrapper function instead of just calling the function
9495 pointers. This takes care of any locking and whatmore.
9497 2005-06-28 Wim Taymans <wim@fluendo.com>
9499 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
9500 (gst_pad_pull_range):
9502 CONNECTED -> LINKED.
9504 2005-06-28 Andy Wingo <wingo@pobox.com>
9506 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
9507 source-munging commit!!!
9509 * gst/gstobject.c (gst_object_unref, gst_object_ref)
9510 (gst_object_sink): Take gpointer arguments, not GstObject --
9511 avoids casts. Like GLib.
9513 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
9516 2005-06-27 Andy Wingo <wingo@pobox.com>
9518 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
9521 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
9522 returns a sorted copy of the trace list.
9523 (gst_alloc_trace_print_live): New API, only prints traces with
9524 live objects. Sort the list.
9525 (gst_alloc_trace_print_all): Sort the list.
9526 (gst_alloc_trace_print): Align columns.
9528 * gst/elements/gstttypefindelement.c:
9529 * gst/elements/gsttee.c:
9530 * gst/base/gstbasesrc.c:
9531 * gst/base/gstbasesink.c:
9532 * gst/base/gstbasetransform.c:
9533 * gst/gstqueue.c: Adapt for pad activation changes.
9535 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
9537 (gst_pipeline_dispose): Drop ref on sched.
9539 * gst/gstpad.c (gst_pad_init): Set the default activate func.
9540 (gst_pad_activate_default): Push mode by default.
9541 (pre_activate_switch, post_activate_switch): New stubs, things to
9542 do before and after switching activation modes on pads.
9543 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
9544 the pad's activate function to choose which mode to activate.
9545 Shortcut on deactivation and call the right function directly.
9546 (gst_pad_activate_pull): New API, (de)activates a pad in pull
9548 (gst_pad_activate_push): New API, same for push mode.
9549 (gst_pad_set_activate_function)
9550 (gst_pad_set_activatepull_function)
9551 (gst_pad_set_activatepush_function): Setters for new API.
9553 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
9554 Trace all miniobjects.
9555 (gst_mini_object_make_writable): Unref the arg if we copy, like
9556 gst_caps_make_writable.
9558 * gst/gstmessage.c (_gst_message_initialize): No trace init.
9560 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
9561 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
9562 Adapt for new pad API.
9564 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
9567 * gst/gstelement.c (gst_element_iterate_src_pads)
9568 (gst_element_iterate_sink_pads): New API functions.
9570 * gst/gstelement.c (iterator_fold_with_resync): New utility,
9571 should fold into gstiterator.c in some form.
9572 (gst_element_pads_activate): Simplified via use of fold and
9573 delegation of decisions to gstpad->activate.
9575 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
9578 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
9579 class once in init, like gstmessage. Didn't run into this issue
9580 but it seems correct. Don't initialize a trace, gstminiobject does
9583 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
9584 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
9586 (assert_live_count): New util function, uses alloc traces to check
9589 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
9590 To be modified when unlink drops the internal pad.
9592 2005-06-27 Wim Taymans <wim@fluendo.com>
9594 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
9595 (gst_bin_change_state):
9596 Cleanup the get_state() function a little, make sure it
9597 iterates the same set of elements.
9598 Added stub iterate_state_order().
9600 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
9602 * docs/gst/gstreamer-docs.sgml:
9603 * docs/gst/gstreamer-sections.txt:
9604 * docs/gst/gstreamer.types:
9605 * docs/gst/tmpl/gstbasesink.sgml:
9606 * docs/gst/tmpl/gstbasesrc.sgml:
9607 * docs/gst/tmpl/gstbasetransform.sgml:
9608 * docs/gst/tmpl/gstelement.sgml:
9609 * docs/gst/tmpl/gstiterator.sgml:
9610 * gst/base/gstbasesrc.c:
9611 * gst/base/gstbasesrc.h:
9612 * gst/base/gstbasetransform.h:
9614 * gst/gstiterator.h:
9615 adding basetransform and iterator docs
9617 2005-06-27 Andy Wingo <wingo@pobox.com>
9619 * docs/design/part-activation.txt: Notes on how activation should
9620 work -- not quite implemented yet.
9622 2005-06-25 Wim Taymans <wim@fluendo.com>
9624 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
9625 At least get the chain function correct, needs more
9628 2005-06-25 Wim Taymans <wim@fluendo.com>
9630 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9631 (gst_basesink_handle_object), (gst_basesink_event),
9632 (gst_basesink_do_sync), (gst_basesink_handle_event),
9633 (gst_basesink_change_state):
9635 Right, two problems here: ghostpads don't take locks and
9636 glib _rec_mutex_lock_full() with depth==0 still locks.
9637 Catch illegal locking and g_warn them.
9639 2005-06-25 Wim Taymans <wim@fluendo.com>
9641 * check/states/sinks.c: (START_TEST), (gst_object_suite):
9642 Have to check for completion now...
9644 2005-06-25 Wim Taymans <wim@fluendo.com>
9646 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9647 (gst_basesink_handle_object), (gst_basesink_event),
9648 (gst_basesink_do_sync), (gst_basesink_handle_event),
9649 (gst_basesink_change_state):
9651 Unlock STREAM_LOCK whatever the recursion was.
9653 2005-06-25 Wim Taymans <wim@fluendo.com>
9655 * gst/base/gstbasesink.c: (gst_basesink_set_property),
9656 (gst_basesink_preroll_queue_empty),
9657 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
9658 (gst_basesink_event), (gst_basesink_do_sync),
9659 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
9660 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
9661 (gst_basesink_change_state):
9662 Reworked the base sink, handle event and buffer serialisation
9663 correctly and removed possible deadlock.
9664 Handle EOS correctly.
9666 2005-06-25 Wim Taymans <wim@fluendo.com>
9668 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
9669 (gst_pipeline_change_state):
9670 * tools/gst-launch.c: (check_intr), (event_loop), (main):
9671 Allow elements to post EOS in the state change function.
9672 Fix up -launch, make it exit the poll loop when the
9673 pipeline actually changed state.
9674 Fix up warning parsing in -launch.
9676 2005-06-25 Wim Taymans <wim@fluendo.com>
9678 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
9679 (gst_tee_sink_activate):
9680 Core takes STREAM_LOCK for us now.
9682 2005-06-25 Wim Taymans <wim@fluendo.com>
9684 * gst/gstelement.c: (gst_element_get_state_func),
9685 (gst_element_set_state):
9687 * gst/gstmessage.c: (gst_message_parse_error),
9688 (gst_message_parse_warning):
9689 Keep track of current target state while performing a state
9690 change so that subclasses can do something interesting.
9691 Fix parsing of warning/error messages when GError is NULL.
9693 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
9695 * docs/gst/Makefile.am:
9696 * docs/gst/gstreamer-docs.sgml:
9697 * docs/gst/gstreamer-sections.txt:
9698 * docs/gst/gstreamer.types:
9699 * docs/gst/tmpl/gstbasesink.sgml:
9700 * docs/gst/tmpl/gstbasesrc.sgml:
9701 * docs/gst/tmpl/gstbin.sgml:
9702 * docs/gst/tmpl/gstcompat.sgml:
9703 * docs/gst/tmpl/gstfakesink.sgml:
9704 * docs/gst/tmpl/gstfakesrc.sgml:
9705 * docs/gst/tmpl/gstfilesink.sgml:
9706 * docs/gst/tmpl/gstfilesrc.sgml:
9707 * docs/gst/tmpl/gstindex.sgml:
9708 * docs/manual/appendix-quotes.xml:
9709 * gst/base/gstbasesrc.h:
9710 * gst/elements/gstfakesrc.h:
9712 start pulling in base classes and elements in our docs
9714 2005-06-24 Stefan Kost <ensonic@users.sf.net>
9716 * docs/gst/Makefile.am:
9717 * docs/libs/Makefile.am:
9718 fixed make distcheck with gtk-doc 1.3
9720 2005-06-23 Wim Taymans <wim@fluendo.com>
9722 * gst/gstelement.c: (gst_element_get_state_func),
9723 (gst_element_set_state), (gst_element_change_state):
9724 When the state did not change, also report NO_PREROLL
9727 2005-06-23 Wim Taymans <wim@fluendo.com>
9729 * gst/gstpad.c: (gst_pad_event_default):
9730 * gst/gstqueue.c: (gst_queue_loop):
9731 No unsafe task pausing please.
9733 2005-06-23 Wim Taymans <wim@fluendo.com>
9735 * gst/schedulers/threadscheduler.c:
9736 (gst_thread_scheduler_task_start),
9737 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
9738 Ref the task before pushing it on the threadpool. This
9739 makes sure that we have a ref when the threadfunction is
9742 2005-06-23 Andy Wingo <wingo@pobox.com>
9744 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
9745 offset is greater than the file's size.
9747 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
9748 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
9749 * gst/gstobject.c (gst_object_class_init): Make the class lock
9750 recursive. Wim won't let me drop deep_notify. Decodebin works
9753 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
9754 internal pad, and hacks accordingly. Doesn't do it on the target
9755 pad because we change its caps. Probably catches all cases of
9757 (gst_ghost_pad_set_property): Connect to notify::caps as
9760 * tests/network-clock.scm (plot-simulation): Pipe data to the
9761 elite python skript.
9763 * tests/network-clock-utils.scm (define-parameter): New macro,
9764 defines a parameter that can be set via the command line.
9765 (set-parameter!, parse-parameter-arguments): Command line args
9768 * tests/plot-data: Simple matplotlib-based plotter, takes input on
9771 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
9773 * gst/elements/gsttypefindelement.c:
9774 (gst_type_find_element_handle_event):
9775 Don't restart typefinding on a discont.
9776 * gst/gstelement.c: (gst_element_set_state):
9778 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
9779 Allow changing mode of an active pad.
9781 * gst/registries/gstlibxmlregistry.c: (load_feature):
9782 Don't cast a static pad template to a normal pad template.
9784 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
9786 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9787 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
9788 remove gst_strtoll completely, since it didn't actually do
9789 anything more than what g_ascii_strtoull already does.
9790 check for range errors when deserializing
9791 do a cast for the unsigned cases; but further fixing needs
9792 a decision on what the interpretation of "(int)" and
9793 deserialization should be for values that fall outside the
9794 type's boundaries (ie, refuse, or interpret as casting)
9796 2005-06-23 Wim Taymans <wim@fluendo.com>
9798 * check/Makefile.am:
9799 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
9800 * docs/design/part-live-source.txt:
9801 * docs/design/part-states.txt:
9802 * gst/base/gstbasesrc.c: (gst_basesrc_init),
9803 (gst_basesrc_set_live), (gst_basesrc_is_live),
9804 (gst_basesrc_get_range), (gst_basesrc_activate),
9805 (gst_basesrc_change_state):
9806 * gst/base/gstbasesrc.h:
9807 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9808 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
9809 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
9810 * gst/gstelement.c: (gst_element_get_state_func),
9811 (gst_element_set_state):
9814 * tools/gst-launch.c: (event_loop), (main):
9815 Added support for live sources and other elements that
9817 Updated design docs, added live-source design doc.
9818 Implemented live source functionality in basesrc
9819 Fix error condition in _bin_get_state()
9820 Implement live source handling in -launch.
9821 Added check for live sources.
9822 Fixed case in GstBin where elements were changed state
9826 2005-06-23 Andy Wingo <wingo@pobox.com>
9828 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
9831 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
9832 gst_caps_replace takes care of this for us.
9834 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
9835 gst_pad_set_caps on the target, not just its setcaps() function.
9837 * tests/network-clock.scm:
9838 * tests/network-clock-utils.scm: A network clock simulator.
9839 Something of an algorithmic testbed before doing something in C.
9841 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
9843 * check/Makefile.am:
9844 * check/gst/capslist.h:
9845 copy over from 0.8, and add two with bitmasks specified with
9847 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
9848 add test to parse everything from capslist.h
9849 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
9851 add test for structure deserialization
9852 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9853 add tests for deserialization of strings to int types
9854 * gst/gststructure.c: (gst_structure_nth_field_name):
9855 * gst/gststructure.h:
9856 add a way to get the name of a field referenced by index
9857 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
9858 instead of checking if the resulting long long lies between
9859 min and max, we check if the long long would fit into
9860 a number of bytes for the final type.
9861 This fixes cases where a string represents 2^32 - 1, which
9862 when cast to int would be the (valid) -1, but is bigger than
9865 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
9867 * gst/parse/grammar.y:
9868 add a log line for type deserialization
9870 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
9872 * check/gst/gstvalue.c: (START_TEST):
9873 * gst/gstvalue.c: (gst_value_deserialize):
9874 return long long, not int, so gint64 deserialization actually
9875 works. Is there any flag that makes the compiler check this ?
9878 2005-06-22 Wim Taymans <wim@fluendo.com>
9881 Added convenience macros for setting buffers in GValue.
9883 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
9885 * check/gst/.cvsignore:
9886 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9887 add a test deserializing int64, and comment part out because
9890 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
9892 * check/Makefile.am:
9893 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
9894 * testsuite/Makefile.am:
9895 * testsuite/caps/Makefile.am:
9896 * testsuite/caps/value_serialize.c:
9897 * testsuite/test_gst_init.c:
9898 move a value_serialize test over
9900 2005-06-20 Wim Taymans <wim@fluendo.com>
9905 * gst/gstvalue.c: (gst_value_compare_buffer),
9906 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
9907 (gst_value_compare_flags), (gst_value_serialize_flags),
9908 (gst_value_deserialize_flags), (_gst_value_initialize):
9909 Fix serialisation of buffers, they are not boxed types anymore
9911 2005-06-20 Wim Taymans <wim@fluendo.com>
9913 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
9914 Testcase to show error in buffer-on-caps serialisation.
9916 2005-06-20 Andy Wingo <wingo@pobox.com>
9918 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
9919 will be adding to later.
9921 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
9922 if its socks fill with rocks.
9923 (gst_system_clock_obtain): Set the name on object construction.
9924 Avoid double-checked locking.
9926 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
9928 * gst/gsturi.c: (gst_element_make_from_uri):
9929 Fix potential endless loop.
9931 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
9933 * check/Makefile.am:
9935 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
9937 move over from testsuite dir and clean up
9940 * testsuite/Makefile.am:
9941 * testsuite/tags/.cvsignore:
9942 * testsuite/tags/Makefile.am:
9943 * testsuite/tags/merge.c:
9944 remove testsuite/tags
9946 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
9948 * docs/gst/gstreamer-sections.txt:
9949 * docs/gst/tmpl/gstenumtypes.sgml:
9950 * win32/gstenumtypes.c:
9951 clean up documentation build a little
9953 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
9956 add macros for checking refcounts on objects and caps
9957 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
9958 add some more unit tests
9959 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
9960 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
9961 fix leaked refcounts (I hope :)) so unittest works
9965 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
9967 * configure.ac: back to HEAD
9969 === release 0.9.1 ===
9971 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
9977 2005-06-17 Andy Wingo <wingo@pobox.com>
9979 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
9980 assert; it's always possible that the pad gets deactivated in
9981 between the checks in gstpad.c and the implementation. Rely on
9982 finish_preroll() to return a FLUSHING or similar instead of on the
9985 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
9986 clock and post an EOS message if we come out of finish_preroll in
9989 2005-06-16 David Schleef <ds@schleef.org>
9991 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
9992 (gst_capsfilter_set_property): Allow NULL as possible value
9993 for filter_caps property, indicating GST_CAPS_ANY.
9995 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
9997 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
9999 * gst/schedulers/Makefile.am:
10001 * gstreamer.spec.in:
10004 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
10006 * gstreamer.spec.in:
10009 2005-06-08 Andy Wingo <wingo@pobox.com>
10011 * gst/gstutils.c: RPAD fixes all around.
10012 (gst_element_link_pads): Refcounting fixes.
10014 * tools/gst-inspect.c:
10015 * tools/gst-xmlinspect.c:
10017 * gst/base/gsttypefindhelper.c:
10018 * gst/base/gstbasesink.c:
10019 * gst/gstqueue.c: RPAD fixes.
10021 * gst/gstghostpad.h:
10022 * gst/gstghostpad.c: New ghost pad implementation as full proxy
10023 pads. The tricky thing is they provide both source and sink
10024 interfaces, since they proxy the internal pad for the external
10025 pad, and vice versa. Implement with lower-level ProxyPad objects,
10026 with the interior proxy pad as a child of the exterior ghost pad.
10027 Should write a doc on this.
10029 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
10030 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
10033 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
10034 pads are real pads. No ghost pads in this file. Not documenting
10035 the myriad s/RPAD/PAD/ and REALIZE fixes.
10036 (gst_pad_class_init): Add properties for "direction" and
10037 "template". Both are construct-only, so they can't change during
10038 the life of the pad. Fixes properly deriving from GstPad.
10039 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
10040 derived objects, just set properties when creating the objects via
10042 (gst_pad_get_parent): Implement as a function, return NULL if the
10043 parent is not an element.
10044 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
10045 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
10047 * gst/gstobject.c (gst_object_class_init): Make name a construct
10048 property. Don't set it in the object init.
10050 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
10051 with UNKNOWN direction.
10052 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
10053 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
10054 (gst_element_remove_pad): Remove ghost-pad special cases.
10055 (gst_element_pads_activate): Remove rpad cruft.
10057 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
10058 catch the pad's-parent-not-an-element case.
10060 * gst/gst.h: Include gstghostpad.h.
10062 * gst/gst.c (init_post): No more real, ghost pads.
10064 * gst/Makefile.am: Add gstghostpad.[ch].
10066 * check/Makefile.am:
10067 * check/gst/gstbin.c:
10068 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
10069 into a bin creates ghost pads, and that the refcounts are right.
10070 Partly moved from gstbin.c.
10072 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
10074 * check/gst-libs/.cvsignore:
10075 * check/gst/.cvsignore:
10076 * check/pipelines/.cvsignore:
10078 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
10079 (START_TEST), (cleanup_suite), (main):
10080 add some tests related to cleanup after running pipelines
10082 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
10084 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
10085 add a testsuite for GstBuffer
10087 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
10089 * gst/gstminiobject.h:
10090 add defines for accessing the refcount
10092 2005-06-03 Stefan Kost <ensonic@users.sf.net>
10094 * Makefile.am: added support for html unit test coverage reports
10096 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
10098 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
10099 Free existing caps if the capsfilter changes. Add a FIXME about
10100 setting those caps on the pads.
10102 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
10103 Before adding a ghost pad to a parent bin, check that there isn't
10104 already one for the element on the bin. Prevents infinite recursion
10105 when using decodebin in parse pipelines. Andy says he'll rewrite the
10106 way this works anyway, so ignore the hack.
10108 2005-06-02 Andy Wingo <wingo@pobox.com>
10110 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
10111 file size, pass it on to the type find helper.
10113 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
10114 segment_start and segment_end properly according to the seek
10115 method. Segment_end is still a bit flaky because offset can be
10116 negative for CUR and END cases, but it takes -1 as an "unset"
10119 2005-06-02 Wim Taymans <wim@fluendo.com>
10121 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
10122 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
10123 (gst_basesink_activate):
10124 * gst/base/gstbasesink.h:
10125 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10126 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
10127 (gst_pad_query), (gst_pad_start_task):
10129 * gst/gstqueue.c: (gst_queue_bufferalloc),
10130 (gst_queue_handle_sink_event), (gst_queue_chain):
10131 Bufferalloc: return GstFlowReturn to more accuratly report
10132 why allocation failed.
10134 2005-06-02 Wim Taymans <wim@fluendo.com>
10136 * gst/gstpipeline.c: (gst_pipeline_send_event):
10137 Take snapshot of state without blocking.
10139 2005-06-02 Wim Taymans <wim@fluendo.com>
10141 * docs/design/part-TODO.txt:
10142 * docs/design/part-caps.txt:
10143 * docs/design/part-clocks.txt:
10144 * docs/design/part-negotiation.txt:
10145 * docs/design/part-preroll.txt:
10148 2005-05-30 Wim Taymans <wim@fluendo.com>
10150 * gst/elements/gstidentity.c: (gst_identity_event),
10151 (gst_identity_transform), (gst_identity_get_property):
10152 Protect last_message property as it is accessed from
10155 2005-05-30 Wim Taymans <wim@fluendo.com>
10157 * gst/gstelement.c: (gst_element_init),
10158 (gst_element_pads_activate), (gst_element_change_state):
10159 Slicker pad activation code.
10161 2005-05-30 Wim Taymans <wim@fluendo.com>
10164 * gst/gstelement.h:
10165 * gst/gstelementfactory.h:
10167 Move elementfactory methods to separate .h file.
10169 2005-05-30 Wim Taymans <wim@fluendo.com>
10171 * docs/design/part-overview.txt:
10172 * gst/gstsystemclock.h:
10173 Small typo fixes, doc updates.
10175 2005-05-30 Wim Taymans <wim@fluendo.com>
10177 * gst/gst.c: (gst_init_get_popt_table), (init_post),
10178 (init_popt_callback):
10179 Remove cpu-opt flag.
10181 2005-05-30 Wim Taymans <wim@fluendo.com>
10183 * gst/gstbuffer.c: (gst_subbuffer_finalize),
10184 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
10186 Avoid typechecking in places where not needed.
10187 Added accessor for malloc_data.
10189 2005-05-30 Wim Taymans <wim@fluendo.com>
10191 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
10192 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
10193 (gst_pad_configure_sink), (gst_pad_configure_src),
10194 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
10195 (gst_pad_start_task):
10196 Propagate errors from _set_caps() in configure_src/sink
10197 functions instead of returning TRUE.
10198 FLUSH events can travel up and downstream
10201 2005-05-30 Wim Taymans <wim@fluendo.com>
10203 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
10204 (gst_basesink_activate):
10205 Handle EOS in preroll.
10207 2005-05-30 Wim Taymans <wim@fluendo.com>
10209 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10210 (gst_queue_loop), (gst_queue_handle_src_event):
10211 Remove old pieces of code
10212 Flushing the queue in an upstream event is a very bad idea.
10214 2005-05-26 Andy Wingo <wingo@pobox.com>
10216 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
10217 gst_value_set_mini_object so as to add a ref on the object (which
10218 will be removed when the value is unset).
10220 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
10221 arg type in ::handoff.
10223 * gst/gstelement.c (gst_element_change_state): Also deactivate
10224 pads in READY->NULL, just in case the element didn't make it to
10225 PAUSED. Wingo tested, Wim approved.
10227 2005-05-26 Wim Taymans <wim@fluendo.com>
10229 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10230 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
10231 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
10232 A flushing pad cannot be used to alloc_buffer from.
10234 2005-05-26 Wim Taymans <wim@fluendo.com>
10236 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
10237 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
10238 (gst_bus_source_dispatch), (gst_bus_source_finalize),
10239 (gst_bus_create_watch), (gst_bus_add_watch_full):
10241 Implement a real GSource and use g_main_context_wakeup() to
10242 signal new messages instead of the socketpair.
10244 2005-05-25 Wim Taymans <wim@fluendo.com>
10246 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
10247 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
10248 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10249 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
10250 (gst_pad_send_event), (gst_pad_start_task):
10251 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
10252 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
10253 (gst_queue_sink_activate), (gst_queue_src_activate),
10254 (gst_queue_change_state):
10256 Fix state changes for non sinks. We now change sinks, then elements
10257 with unconnected srcpads, then the rest.
10258 More efficient queue unlocking in flush and state changes.
10259 Set the pad activate mode even if it does not have an activate
10262 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10264 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
10265 Don't go in pull mode for non-seekable sources.
10266 * gst/elements/gsttypefindelement.h:
10267 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
10268 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
10269 (free_entry), (stop_typefinding),
10270 (gst_type_find_element_handle_event), (find_peek),
10271 (gst_type_find_element_chain), (do_pull_typefind),
10272 (gst_type_find_element_change_state):
10273 Allow typefinding (w/o seeking) in push-mode, simplified version
10274 of what was in 0.8.
10275 * gst/gstutils.c: (gst_buffer_join):
10277 gst_buffer_join() from 0.8.
10279 2005-05-25 Wim Taymans <wim@fluendo.com>
10281 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10282 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
10283 (gst_pad_send_event), (gst_pad_start_task):
10284 Disable attempt at mode switching until it is figured out.
10286 2005-05-25 Wim Taymans <wim@fluendo.com>
10288 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
10289 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
10290 (gst_basesink_finish_preroll), (gst_basesink_chain),
10291 (gst_basesink_loop), (gst_basesink_activate),
10292 (gst_basesink_change_state):
10293 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
10294 (gst_basesrc_get_range), (gst_basesrc_loop),
10295 (gst_basesrc_activate):
10296 * gst/elements/gsttee.c: (gst_tee_sink_activate):
10297 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
10298 (gst_real_pad_init), (gst_real_pad_set_property),
10299 (gst_real_pad_get_property), (gst_pad_set_active),
10300 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
10301 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
10302 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
10303 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
10304 (gst_pad_event_default_dispatch), (gst_pad_event_default),
10305 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
10306 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
10307 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
10308 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
10309 (gst_pad_stop_task):
10311 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10312 (gst_queue_loop), (gst_queue_src_activate):
10313 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
10314 (gst_task_get_state):
10316 * gst/schedulers/threadscheduler.c:
10317 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
10318 Implement gst_pad_pause/start/stop_task(), take STREAM lock
10320 Remove ACTIVE pad flag, use FLUSHING everywhere
10321 Added _pad_chain(), _pad_get_range() to call chain/getrange
10323 Add locks around IS_FLUSHING when reading.
10324 Take STREAM lock in chain(), get_range() functions so plugins
10325 don't need to take it anymore.
10329 2005-05-25 Wim Taymans <wim@fluendo.com>
10331 * tools/gst-launch.c: (event_loop):
10332 Unref message after using its contents instead of
10335 2005-05-24 Wim Taymans <wim@fluendo.com>
10337 * docs/design/draft-ghostpads.txt:
10338 * docs/design/draft-push-pull.txt:
10339 * docs/design/draft-query.txt:
10340 * docs/design/part-overview.txt:
10341 Docs updates, added general overview doc.
10343 2005-05-21 David Schleef <ds@schleef.org>
10345 * docs/gst/tmpl/old/GstBin.sgml:
10346 * docs/gst/tmpl/old/GstBuffer.sgml:
10347 * docs/gst/tmpl/old/GstCaps.sgml:
10348 * docs/gst/tmpl/old/GstClock.sgml:
10349 * docs/gst/tmpl/old/GstCompat.sgml:
10350 * docs/gst/tmpl/old/GstData.sgml:
10351 * docs/gst/tmpl/old/GstElement.sgml:
10352 * docs/gst/tmpl/old/GstEvent.sgml:
10353 * docs/gst/tmpl/old/GstIndex.sgml:
10354 * docs/gst/tmpl/old/GstStructure.sgml:
10355 * docs/gst/tmpl/old/GstTag.sgml:
10356 * docs/gst/tmpl/old/cothreads.sgml:
10357 * docs/gst/tmpl/old/cothreads_compat.sgml:
10358 * docs/gst/tmpl/old/gettext.sgml:
10359 * docs/gst/tmpl/old/gobject2gtk.sgml:
10360 * docs/gst/tmpl/old/grammar.tab.sgml:
10361 * docs/gst/tmpl/old/gst-i18n-app.sgml:
10362 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
10363 * docs/gst/tmpl/old/gst_private.sgml:
10364 * docs/gst/tmpl/old/gstaggregator.sgml:
10365 * docs/gst/tmpl/old/gstarch.sgml:
10366 * docs/gst/tmpl/old/gstatomic_impl.sgml:
10367 * docs/gst/tmpl/old/gstbufferstore.sgml:
10368 * docs/gst/tmpl/old/gstdata_private.sgml:
10369 * docs/gst/tmpl/old/gstdisksink.sgml:
10370 * docs/gst/tmpl/old/gstdisksrc.sgml:
10371 * docs/gst/tmpl/old/gstelementfactory.sgml:
10372 * docs/gst/tmpl/old/gstextratypes.sgml:
10373 * docs/gst/tmpl/old/gstfakesink.sgml:
10374 * docs/gst/tmpl/old/gstfakesrc.sgml:
10375 * docs/gst/tmpl/old/gstfdsink.sgml:
10376 * docs/gst/tmpl/old/gstfdsrc.sgml:
10377 * docs/gst/tmpl/old/gstfilesink.sgml:
10378 * docs/gst/tmpl/old/gstfilesrc.sgml:
10379 * docs/gst/tmpl/old/gsthttpsrc.sgml:
10380 * docs/gst/tmpl/old/gstidentity.sgml:
10381 * docs/gst/tmpl/old/gstindexfactory.sgml:
10382 * docs/gst/tmpl/old/gstmarshal.sgml:
10383 * docs/gst/tmpl/old/gstmd5sink.sgml:
10384 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
10385 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
10386 * docs/gst/tmpl/old/gstpadtemplate.sgml:
10387 * docs/gst/tmpl/old/gstpipefilter.sgml:
10388 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
10389 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
10390 * docs/gst/tmpl/old/gstshaper.sgml:
10391 * docs/gst/tmpl/old/gstspider.sgml:
10392 * docs/gst/tmpl/old/gstspideridentity.sgml:
10393 * docs/gst/tmpl/old/gststatistics.sgml:
10394 * docs/gst/tmpl/old/gsttee.sgml:
10395 * docs/gst/tmpl/old/gsttimecache.sgml:
10396 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
10397 * docs/gst/tmpl/old/gstxmlregistry.sgml:
10398 * docs/gst/tmpl/old/gthread-cothreads.sgml:
10399 * docs/gst/tmpl/old/types.sgml:
10400 I didn't intend to add these or check them in.
10402 2005-05-19 David Schleef <ds@schleef.org>
10404 * configure.ac: Use -no-common everywhere. In a sane world, it
10405 would be the default in libtool, because without it, you can't
10406 build DLLs on Windows.
10407 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
10408 * docs/gst/gstreamer-sections.txt:
10409 * docs/gst/tmpl/gstcpu.sgml:
10410 * docs/gst/tmpl/gstdata.sgml:
10411 * docs/gst/tmpl/gstthread.sgml:
10413 2005-05-19 David Schleef <ds@schleef.org>
10415 * gst/gstminiobject.c: (gst_value_set_mini_object),
10416 (gst_value_take_mini_object), (gst_value_get_mini_object):
10417 * gst/gstminiobject.h: Add GValue set/get functions.
10419 2005-05-19 Wim Taymans <wim@fluendo.com>
10421 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
10422 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
10423 (gst_subbuffer_init), (gst_buffer_is_span_fast):
10425 * gst/gstbus.c: (gst_bus_post):
10426 * gst/gstelement.c: (gst_element_get_random_pad):
10427 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
10428 Make subbufer unref the parent in finalize.
10429 some more debugging info.
10432 2005-05-19 Wim Taymans <wim@fluendo.com>
10434 * gst/base/gstbasesink.c: (gst_basesink_class_init),
10435 (gst_basesink_init), (gst_basesink_finalize),
10436 (gst_basesink_activate), (gst_basesink_change_state):
10437 Don't free preroll queue too early.
10439 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10443 Hi, I'm outdated. Please shoot me.
10445 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10447 * gst/gstpipeline.c: (gst_pipeline_send_event):
10448 Do not access variables after they have been deleted.
10450 2005-05-19 Wim Taymans <wim@fluendo.com>
10452 * tools/gst-inspect.c: (print_plugin_features):
10453 A plugin feature does unfortunatly not use the
10456 2005-05-18 Wim Taymans <wim@fluendo.com>
10458 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
10459 Port _span() functions to new subbuffers.
10461 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10463 * gst/gstbin.c: (gst_bin_add_func):
10464 Fix clock settery in bins when adding kids after the clock has
10467 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10469 * gst/elements/gstidentity.c: (gst_identity_class_init):
10470 Workaround until signals support GstMiniObject.
10472 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
10475 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
10477 2005-05-18 Wim Taymans <wim@fluendo.com>
10479 * gst/base/Makefile.am:
10480 * gst/base/gstadapter.c: (gst_adapter_base_init),
10481 (gst_adapter_class_init), (gst_adapter_init),
10482 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
10483 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
10484 (gst_adapter_flush), (gst_adapter_available),
10485 (gst_adapter_available_fast):
10486 * gst/base/gstadapter.h:
10487 Ported and added adapter to the base classes.
10489 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10492 * gst/gstmessage.c:
10493 Make sure the class is reffed/unreffed once before threads can be
10494 used. Fixes #304551.
10496 2005-05-17 Wim Taymans <wim@fluendo.com>
10498 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
10499 (gst_basesink_chain_unlocked), (gst_basesink_activate):
10500 * gst/gstminiobject.c: (gst_mini_object_get_type),
10501 (gst_mini_object_free):
10502 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
10503 (gst_pad_push), (gst_pad_push_event):
10504 * gst/gstqueue.c: (gst_queue_change_state):
10505 Don't queue buffers in basesink when we are flushing.
10506 Unref buffer when flushing in basesink.
10507 Flush queue when going to READY
10508 Unref buffer when _push() returns an error.
10509 Don't free MiniObject instance when refcount is incremented
10510 in _finalize() so that we can recover objects.
10512 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
10514 * docs/manual/advanced-schedulers.xml:
10515 * docs/manual/appendix-checklist.xml:
10516 * docs/pwg/advanced-clock.xml:
10517 * docs/pwg/advanced-interfaces.xml:
10518 * docs/pwg/advanced-request.xml:
10519 * docs/pwg/advanced-types.xml:
10520 * docs/pwg/intro-preface.xml:
10521 * examples/plugins/example.c: (gst_example_get_type),
10522 (gst_example_class_init), (gst_example_chain),
10523 (gst_example_set_property), (gst_example_get_property),
10524 (gst_example_change_state), (plugin_init):
10525 * examples/plugins/example.h:
10528 2005-05-17 Wim Taymans <wim@fluendo.com>
10530 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
10531 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
10532 * gst/gstqueue.c: (gst_queue_change_state):
10533 Clear queue when going to READY.
10534 Remove IN_SETCAPS flag too.
10536 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
10538 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
10539 Remove implicit cast from gboolean to GstElementStateReturn;
10540 make sure we still return failure in paused => ready case if
10541 the parent class fails to change state and our own stop
10544 2005-05-17 Wim Taymans <wim@fluendo.com>
10546 * tools/gst-launch.c: (event_loop):
10547 Message was unreffed too soon.
10549 2005-05-16 Andy Wingo <wingo@pobox.com>
10551 * gst/gstbin.c (sink_iterator_filter): Err... um...
10553 * check/gst/gstbin.c (test_ghost_pads): New test for the
10554 ghosting-if-elements-not-in-same-bin behavior.
10556 2005-05-16 David Schleef <ds@schleef.org>
10558 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
10559 accessing refcount directly.
10561 2005-05-15 David Schleef <ds@schleef.org>
10563 * check/Makefile.am: remove GstData checks
10564 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
10565 * gst/Makefile.am: add miniobject, remove data
10566 * gst/gst.h: add miniobject, remove data
10567 * gst/gstdata.c: remove
10568 * gst/gstdata.h: remove
10569 * gst/gstdata_private.h: remove
10570 * gst/gsttypes.h: remove GstEvent and GstMessage
10571 * gst/gstelement.c: (gst_element_post_message): fix for API changes
10572 * gst/gstmarshal.list: change BOXED -> OBJECT
10574 Implement GstMiniObject.
10575 * gst/gstminiobject.c:
10576 * gst/gstminiobject.h:
10578 Modify to be subclasses of GstMiniObject.
10579 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
10580 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
10581 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
10582 (gst_subbuffer_get_type), (gst_subbuffer_init),
10583 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
10586 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
10587 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
10588 (_gst_event_copy), (gst_event_new):
10590 * gst/gstmessage.c: (_gst_message_initialize),
10591 (gst_message_get_type), (gst_message_class_init),
10592 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
10593 (gst_message_new), (gst_message_new_error),
10594 (gst_message_new_warning), (gst_message_new_tag),
10595 (gst_message_new_state_changed), (gst_message_new_application):
10596 * gst/gstmessage.h:
10597 * gst/gstprobe.c: (gst_probe_perform),
10598 (gst_probe_dispatcher_dispatch):
10600 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
10601 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
10602 (_gst_query_copy), (gst_query_new):
10604 Update elements for GstData -> GstMiniObject changes
10606 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
10607 (gst_queue_chain), (gst_queue_loop):
10608 * gst/elements/gstbufferstore.c:
10609 (gst_buffer_store_add_buffer_func),
10610 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
10611 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
10612 (gst_fakesink_render):
10613 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
10614 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
10615 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
10616 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
10617 (gst_filesrc_create_read):
10618 * gst/elements/gstidentity.c: (gst_identity_class_init):
10619 * gst/elements/gsttypefindelement.c:
10620 (gst_type_find_element_src_event), (free_entry_buffers),
10621 (gst_type_find_element_handle_event):
10622 * libs/gst/dataprotocol/dataprotocol.c:
10623 (gst_dp_header_from_buffer):
10624 * libs/gst/dataprotocol/dataprotocol.h:
10625 * libs/gst/dataprotocol/dp-private.h:
10627 2005-05-15 David Schleef <ds@schleef.org>
10629 * gst/elements/gstelements.c: Don't include headers that were
10632 2005-05-15 David Schleef <ds@schleef.org>
10634 * gst/elements/Makefile.am: Remove some elements that don't
10635 need to be in the core (or even exist at all).
10636 * gst/elements/gstaggregator.c:
10637 * gst/elements/gstaggregator.h:
10638 * gst/elements/gstmd5sink.c:
10639 * gst/elements/gstmd5sink.h:
10640 * gst/elements/gstmultifilesrc.c:
10641 * gst/elements/gstmultifilesrc.h:
10642 * gst/elements/gstpipefilter.c:
10643 * gst/elements/gstpipefilter.h:
10644 * gst/elements/gstshaper.c:
10645 * gst/elements/gstshaper.h:
10646 * gst/elements/gststatistics.c:
10647 * gst/elements/gststatistics.h:
10648 * po/POTFILES.in: Remove above files.
10650 2005-05-14 Andy Wingo <wingo@pobox.com>
10652 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
10653 so as to get the refs right.
10654 (sink_iterator_filter): New function, wraps bin_element_is_sink,
10655 unreffing objects that don't pass the filter.
10657 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
10658 gst_element_set_bus.
10659 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
10660 normal cases, this will destroy the bus.
10662 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
10665 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
10668 2005-05-13 Andy Wingo <wingo@pobox.com>
10670 * gst/gstutils.c (gst_element_link_pads): Instead of calling
10671 gst_pad_link, call pad_link_maybe_ghosting,
10672 (pad_link_maybe_ghosting): Links pads, making sure that the
10673 elements being linked are in the same bin.
10674 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
10675 Helpers for pad_link_maybe_ghosting.
10677 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
10680 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
10682 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
10684 * docs/design/part-element-source.txt:
10687 2005-05-12 Wim Taymans <wim@fluendo.com>
10689 * gst/base/gstbasesink.c: (gst_basesink_init),
10690 (gst_basesink_activate):
10691 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
10692 (gst_basesrc_is_seekable):
10693 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
10694 (bin_element_is_sink), (gst_bin_change_state):
10695 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
10696 * gst/gstelement.h:
10697 Identify sinks by their flag to avoid overly complicated
10699 Do state changes even for elements not reachable from the
10701 BaseSink is a sink now :)
10702 Some more debugging info in the basesrc.
10705 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10707 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
10708 Implement _query on a bin, similar to _send_event.
10710 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
10712 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
10713 Discont event offset format should be GST_FORMAT_BYTES,
10714 not GST_FORMAT_TIME.
10716 2005-05-12 Wim Taymans <wim@fluendo.com>
10718 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
10719 Same fix as Ronald's but without the signal.
10721 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10723 * gst/gstutils.c: (gst_element_query_position):
10724 No, an element is not a pad.
10726 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10728 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
10729 (gst_bin_get_state):
10730 If a child is removed from a bin while we remove the child from
10731 the bin and while we're retrieving its state, signal this to the
10732 get_state function so we abort the wait (instead of waiting for
10733 a timeout) and can immediately re-iterate over all other elements.
10735 2005-05-12 Wim Taymans <wim@fluendo.com>
10737 * gst/base/Makefile.am:
10738 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
10739 (gst_basesrc_start):
10740 * gst/base/gstbasesrc.h:
10741 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
10742 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
10743 (gst_pushsrc_init), (gst_pushsrc_create):
10744 * gst/base/gstpushsrc.h:
10745 Added is_seekable to BaseSrc
10746 Added simple PushSrc.
10748 2005-05-11 Wim Taymans <wim@fluendo.com>
10750 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
10751 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10752 (gst_element_link_pads), (gst_element_query_position),
10753 (gst_element_query_convert), (intersect_caps_func),
10754 (gst_pad_query_position), (gst_pad_query_convert):
10755 Fix refcounting in utils function.
10756 No point in trying to activate a pad when it's added, it could
10757 be added from the state change function and then we deadlock, the
10758 element has to decide what to do.
10760 2005-05-10 Andy Wingo <wingo@pobox.com>
10762 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
10763 *all* the arguments.
10765 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
10766 stream lock if it's a FLUSH_DONE; normal flushes don't get the
10767 lock (according to the docs -- if this is wrong change the docs).
10769 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
10770 flush messages in the NULL state.
10772 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
10773 message immediately and return.
10774 (gst_bus_set_flushing): New function. If a bus is flushing, it
10775 flushes out any queued messages and immediately unrefs new
10776 messages. This is so when an element goes to NULL, all of the
10777 unhandled messages coming from it can be freed, and their
10778 references to the element dropped. In other words: message source
10779 ref considered harmful :P
10781 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
10782 we're finished with it.
10784 * gst/gstmessage.c (gst_message_new_state_changed):
10786 2005-05-10 Wim Taymans <wim@fluendo.com>
10788 * gst/gstvalue.c: (gst_value_compare_flags),
10789 (gst_value_serialize_flags), (gst_value_deserialize_flags),
10790 (_gst_value_initialize):
10791 Added flags serialize/deserialize/compare code.
10793 2005-05-09 Andy Wingo <wingo@pobox.com>
10795 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
10796 Intersect the peer's caps with our caps.
10798 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10800 * gst/base/gsttypefindhelper.c: (helper_find_peek):
10801 * gst/elements/gsttypefindelement.c: (find_peek):
10802 Handle negative offsets better. Fixes decodebin.
10804 2005-05-09 Wim Taymans <wim@fluendo.com>
10806 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
10807 (gst_base_transform_event):
10808 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
10809 Implement accept_caps.
10810 Fix silly lock/unlock mismatch in base class.
10812 2005-05-09 Wim Taymans <wim@fluendo.com>
10814 * docs/design/draft-push-pull.txt:
10815 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
10816 * gst/elements/gstfilesink.c: (gst_filesink_init),
10817 (gst_filesink_query):
10818 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
10819 (gst_type_find_handle_src_query), (find_element_get_length):
10820 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
10821 * gst/gstelement.h:
10822 * gst/gstmessage.c:
10823 * gst/gstmessage.h:
10824 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
10825 (gst_real_pad_get_caps_unlocked),
10826 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
10827 (gst_pad_event_default_dispatch), (gst_pad_event_default),
10828 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
10829 (gst_real_pad_dispose), (gst_real_pad_finalize),
10830 (gst_pad_load_and_link), (gst_pad_save_thyself),
10831 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
10832 (gst_pad_check_pull_range), (gst_pad_pull_range),
10833 (gst_pad_template_get_type), (gst_pad_template_class_init),
10834 (gst_pad_template_init), (gst_pad_template_dispose),
10835 (name_is_valid), (gst_static_pad_template_get),
10836 (gst_pad_template_new), (gst_static_pad_template_get_caps),
10837 (gst_pad_template_get_caps), (gst_pad_set_element_private),
10838 (gst_pad_get_element_private), (gst_pad_start_task),
10839 (gst_pad_pause_task), (gst_pad_stop_task),
10840 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
10841 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
10842 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
10843 (gst_ghost_pad_new):
10845 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
10846 (gst_query_new_position), (gst_query_set_position),
10847 (gst_query_parse_position), (gst_query_new_convert),
10848 (gst_query_set_convert), (gst_query_parse_convert):
10850 * gst/gstqueryutils.c:
10851 * gst/gstqueryutils.h:
10852 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
10853 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
10854 (gst_queue_handle_src_query):
10855 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10856 (gst_element_query_position), (gst_element_query_convert),
10857 (intersect_caps_func), (gst_pad_query_position),
10858 (gst_pad_query_convert):
10860 * tools/gst-inspect.c: (print_pad_info):
10861 * tools/gst-xmlinspect.c: (print_element_info):
10862 Remove old query functions. Ported old code.
10863 Added position/convert helper functions to gstutils.
10864 Reordered gstpad.c code, grouping relevant things.
10865 Remove gst_message_new(), always need to speficy a specific
10869 2005-05-09 Andy Wingo <wingo@pobox.com>
10871 * gst/gstiterator.h: Add some includes.
10873 * gst/gstqueryutils.h: Include more headers.
10876 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
10877 some uses of gst_pad_query.
10879 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
10880 NULL out parameters.
10881 (gst_query_new_position): New proc, allocates a new position
10884 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
10885 gstqueryutils.c to the build.
10887 * gst/gststructure.c (gst_structure_set_valist): Implement with
10888 the generic G_VALUE_COLLECT.
10890 2005-05-08 Edward Hervey <bilboed@bilboed.com>
10892 * gst/Makefile.am: (gst_headers):
10893 Added gstqueryutils.h to the list of headers to install, that was
10894 a 'nachty' move wingo :)
10896 2005-05-06 Andy Wingo <wingo@pobox.com>
10899 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
10900 GstData, init a memchunk.
10901 (standard_definitions): Add a few query types, deprecate a few.
10902 (gst_query_get_type): New proc.
10903 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
10905 (gst_query_new_application, gst_query_get_structure): New public
10908 * docs/design/draft-query.txt: Removed LINKS from the query types,
10909 because all the rest can be dispatched to other pads -- seemed
10910 ugly to have a query that couldn't be dispatched. internal_links
10911 is fine as a pad method.
10913 * gst/gstpad.h: Add query2 as a pad method, add the new functions
10914 in gstpad.c, but maintain binary compatibility for the moment.
10915 Will fix before 0.9 is out.
10917 * gst/gstqueryutils.c:
10918 * gst/gstqueryutils.h: New files, implement 3 methods for each
10919 query type: parse_query, parse_response, and set. Probably need an
10922 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
10924 * gst/elements/gstfilesink.c (gst_filesink_query2):
10925 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
10926 query_types, and formats methods.
10928 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
10929 (gst_pad_set_query2_function): New functions.
10930 (gst_real_pad_init): Set query2_default as the default query2
10931 function. Basically just dispatches to internally linked pads.
10935 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
10936 without using the atomic operations. Only one thread can possibly
10937 be accessing the data at this point. Changed so as to avoid
10938 gst_atomic operations.
10940 2005-05-06 Wim Taymans <wim@fluendo.com>
10942 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
10943 Also set caps if we use the fallback buffer alloc.
10945 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
10947 * docs/gst/Makefile.am:
10948 * docs/gst/gstreamer-docs.sgml:
10949 * docs/gst/gstreamer-sections.txt:
10950 * docs/gst/tmpl/gstatomic.sgml:
10951 * docs/gst/tmpl/gstmemchunk.sgml:
10952 * testsuite/elements/struct_i386.h:
10953 * win32/GStreamer.vcproj:
10955 Purge GstAtomic stuff from docs and win32 makefiles as well
10957 2005-05-06 Wim Taymans <wim@fluendo.com>
10959 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
10960 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
10961 * gst/gstpad.c: (gst_pad_peer_get_caps):
10962 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
10963 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
10964 (gst_queue_src_activate), (gst_queue_change_state):
10966 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10967 (intersect_caps_func):
10968 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
10969 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
10970 Some fixes for the peer_get_caps() change.
10972 2005-05-06 Wim Taymans <wim@fluendo.com>
10974 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10975 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
10976 (gst_basesink_activate):
10977 Actually do something with error codes returned from the push
10980 2005-05-06 Wim Taymans <wim@fluendo.com>
10982 * docs/design/part-element-sink.txt:
10983 * docs/design/part-element-source.txt:
10984 * gst/base/gstbasesink.c: (gst_basesink_class_init),
10985 (gst_basesink_event), (gst_basesink_activate):
10986 * gst/base/gstbasesink.h:
10987 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
10988 (gst_basesrc_activate):
10989 * gst/base/gstbasesrc.h:
10990 * gst/gstelement.c: (gst_element_pads_activate):
10991 Some more documentation.
10992 Fixed scheduling decision in _pads_activate().
10994 2005-05-05 Andy Wingo <wingo@pobox.com>
10996 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
10999 2005-05-05 Wim Taymans <wim@fluendo.com>
11001 * gst/base/Makefile.am:
11002 * gst/base/gstbasesink.h:
11003 * gst/base/gstbasesrc.c: (gst_basesrc_init),
11004 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
11005 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
11006 (gst_collectpads_class_init), (gst_collectpads_init),
11007 (gst_collectpads_finalize), (gst_collectpads_new),
11008 (gst_collectpads_set_function), (gst_collectpads_add_pad),
11009 (find_pad), (gst_collectpads_remove_pad),
11010 (gst_collectpads_is_active), (gst_collectpads_collect),
11011 (gst_collectpads_collect_range), (gst_collectpads_start),
11012 (gst_collectpads_stop), (gst_collectpads_peek),
11013 (gst_collectpads_pop), (gst_collectpads_available),
11014 (gst_collectpads_read), (gst_collectpads_flush),
11015 (gst_collectpads_chain):
11016 * gst/base/gstcollectpads.h:
11017 * gst/elements/Makefile.am:
11018 * gst/elements/gstelements.c:
11019 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11020 (gst_fakesink_get_times), (gst_fakesink_event),
11021 (gst_fakesink_preroll), (gst_fakesink_render):
11022 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
11023 (gst_filesink_init), (gst_filesink_set_location),
11024 (gst_filesink_open_file), (gst_filesink_close_file),
11025 (gst_filesink_pad_query), (gst_filesink_event),
11026 (gst_filesink_render), (gst_filesink_change_state):
11027 * gst/elements/gstfilesink.h:
11028 Added object to help in making collect pad based elements.
11030 Make event function in sink baseclass return gboolean.
11032 2005-05-05 Wim Taymans <wim@fluendo.com>
11034 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
11035 (gst_bin_get_by_name):
11037 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
11038 (gst_clock_finalize):
11039 * gst/gstdata.c: (gst_data_replace):
11041 * gst/gstelement.c: (gst_element_request_pad),
11042 (gst_element_pads_activate):
11043 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
11044 (gst_object_unref):
11045 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11046 (gst_pad_set_checkgetrange_function),
11047 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
11048 (gst_pad_check_pull_range), (gst_pad_pull_range),
11049 (gst_static_pad_template_get_caps), (gst_pad_start_task),
11050 (gst_pad_pause_task), (gst_pad_stop_task):
11051 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11052 (gst_element_request_pad), (gst_pad_proxy_getcaps):
11053 Fix name lookup in GstBin.
11054 Added _data_replace() function and _buffer_replace()
11055 Use finalize method to clean up clock.
11056 Fix refcounting on request pads.
11057 Fix pad schedule mode error.
11058 Some more object refcounting debug info,
11061 2005-05-04 Andy Wingo <wingo@pobox.com>
11063 * check/Makefile.am:
11064 * docs/gst/tmpl/gstatomic.sgml:
11065 * docs/gst/tmpl/gstplugin.sgml:
11066 * gst/base/gstbasesink.c: (gst_basesink_activate):
11067 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
11068 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
11069 (gst_basesrc_query), (gst_basesrc_set_property),
11070 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
11071 (gst_basesrc_activate):
11072 * gst/base/gstbasesrc.h:
11073 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
11074 (gst_base_transform_src_activate):
11075 * gst/elements/gstelements.c:
11076 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11077 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
11078 * gst/elements/gsttee.c: (gst_tee_sink_activate):
11079 * gst/elements/gsttypefindelement.c: (find_element_get_length),
11080 (gst_type_find_element_checkgetrange),
11081 (gst_type_find_element_activate):
11082 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
11083 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
11084 (gst_caps_load_thyself):
11085 * gst/gstelement.c: (gst_element_pads_activate),
11086 (gst_element_save_thyself), (gst_element_restore_thyself):
11087 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
11088 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
11090 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
11091 (gst_xml_parse_file), (gst_xml_parse_memory),
11092 (gst_xml_get_element), (gst_xml_make_element):
11093 * gst/indexers/gstfileindex.c: (gst_file_index_load),
11094 (_file_index_id_save_xml), (gst_file_index_commit):
11095 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
11096 (read_enum), (load_pad_template), (load_feature), (load_plugin),
11098 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
11099 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
11100 * tools/gst-complete.c: (main):
11101 * tools/gst-compprep.c: (main):
11102 * tools/gst-inspect.c: (print_element_properties_info):
11103 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
11104 * tools/gst-xmlinspect.c: (print_element_properties):
11107 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
11109 * gst/gstplugin.c: (gst_plugin_check_module),
11110 (gst_plugin_check_file), (gst_plugin_load_file):
11111 apply patch from #172526 to make register work on MacOSX
11113 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
11115 * docs/gst/tmpl/gstconfig.sgml:
11116 * gst/gstconfig.h.in:
11117 move documentation for some symbols. Add doc for GST_PTR_FORMAT
11118 * testsuite/debug/printf_extension.c: (main):
11119 Do not use GST_PTR_FORMAT on pointers to types with
11120 sizeof < sizeof(gpointer). Fixes test on 64-bit
11121 * testsuite/elements/property.h:
11122 use correct printf format
11124 2005-05-02 Wim Taymans <wim@fluendo.com>
11126 * docs/design/draft-push-pull.txt:
11127 * docs/design/draft-query.txt:
11128 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
11129 (gst_basesrc_start):
11130 Added draft for new query API.
11131 Added draft for better selecting scheduling methods.
11132 Make basesrc ignore length if the subclass does not support
11135 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
11138 possible fixes for automake-1.5 - _LIBADD is reserved
11140 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
11142 * docs/faq/Makefile.am:
11143 * docs/manual/Makefile.am:
11144 * docs/manuals.mak:
11145 * docs/pwg/Makefile.am:
11147 possible fixes for automake-1.5
11149 2005-04-28 Wim Taymans <wim@fluendo.com>
11151 * gst/base/gstbasesink.c: (gst_basesink_base_init),
11152 (gst_basesink_pad_getcaps), (gst_basesink_init),
11153 (gst_basesink_do_sync):
11154 * gst/gstclock.c: (gst_clock_entry_new):
11155 * gst/gstevent.c: (gst_event_discont_get_value):
11156 * gst/gstpipeline.c: (pipeline_bus_handler),
11157 (gst_pipeline_change_state):
11158 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
11159 Better debugging of clocking info.
11160 Allow NULL values when getting discont values.
11162 2005-04-27 Wim Taymans <wim@fluendo.com>
11164 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
11165 * check/gst/gstpad.c: (gst_pad_suite):
11166 Increase timeout for checks.
11168 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11170 * check/Makefile.am:
11171 fix the broken rule for cleanup. Apparently this rule is
11172 only needed on FC2, so maybe this warrants further autotool
11175 2005-04-26 Wim Taymans <wim@fluendo.com>
11177 * gst/gsttrashstack.h:
11178 Ooohh. a nasty one! After having a failed pop() from the stack,
11179 it's possible that the stack is empty. In that case, don't
11180 follow the NULL pointer.
11182 2005-04-25 Wim Taymans <wim@fluendo.com>
11184 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11185 (gst_pad_set_checkgetrange_function),
11186 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
11187 (gst_pad_check_pull_range), (gst_pad_pull_range),
11188 (gst_static_pad_template_get_caps), (gst_pad_start_task),
11189 (gst_pad_pause_task), (gst_pad_stop_task):
11190 * gst/gstplugin.c: (gst_plugin_load):
11192 Remove gst_library_load as it does more harm than good with
11193 the new g_module flags.
11194 Revert bogus caps template check in pad linking, pad caps
11195 are important when linking not the template, which is more
11196 general than the current caps.
11198 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11200 * gst/autoplug/.cvsignore:
11201 * gst/autoplug/Makefile.am:
11202 * gst/autoplug/gstsearchfuncs.c:
11203 * gst/autoplug/gstsearchfuncs.h:
11204 * gst/autoplug/gstspider.c:
11205 * gst/autoplug/gstspider.h:
11206 * gst/autoplug/gstspideridentity.c:
11207 * gst/autoplug/gstspideridentity.h:
11208 * gst/autoplug/spidertest.c:
11211 2005-04-25 Wim Taymans <wim@fluendo.com>
11213 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11214 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
11215 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
11216 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
11218 Added stubs for unimplemented functions.
11220 2005-04-24 David Schleef <ds@schleef.org>
11222 * gst/gstpad.h: Disable some unimplemented functions. Wim,
11225 2005-04-24 David Schleef <ds@schleef.org>
11227 Convert everything from GstAtomicInt to g_atomic_int_*, and
11232 * gst/gstatomic_impl.h:
11240 * gst/gstdata_private.h:
11244 * gst/gstmessage.c:
11247 * gst/gststructure.c:
11248 * gst/gststructure.h:
11249 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
11252 2005-04-24 David Schleef <ds@schleef.org>
11254 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
11255 make the regressions tests work. Remove some code that is no
11257 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
11258 Disable warning for pads without templates.
11260 2005-04-24 David Schleef <ds@schleef.org>
11262 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
11263 functions that handle filtered links.
11264 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
11266 * gst/gstutils.c: Fix/remove utility functions that handle
11269 * gst/gstvalue.c: Add serialization/deserialization of caps
11270 * gst/parse/grammar.y: Ignore filtered caps when linking. This
11271 requires fixing so that the filter caps notation creates
11272 a capsfilter element and sets the filter_caps property. I
11273 think everyone probably wants to keep the shorthand notation.
11274 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
11275 * docs/gst/tmpl/gstpad.sgml:
11277 * gst/elements/gstelements.c: Register capsfilter element.
11278 * gst/Makefile.am: fix spacing
11279 * docs/random/ds/0.9-suggested-changes: random
11281 2005-04-23 David Schleef <ds@schleef.org>
11283 * gst/elements/Makefile.am:
11284 * gst/elements/gstcapsfilter.c: New element that acts like an
11285 identity, but filters caps. Will eventually replace filtered
11286 caps in pad linking.
11287 * gst/gstutils.c: (gst_element_create_all_pads): New function
11288 to create all the ALWAYS pads that are registered with an
11289 element class. This functionality should eventually be
11290 merged in with GstElement initialization.
11292 * testsuite/trigger/README: part of trigger test code that should
11293 have been checked in a long time ago.
11295 2005-04-23 David Schleef <ds@schleef.org>
11297 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
11298 needed with new versions of libtool (nobody will confirm this),
11299 and hard to carry around.
11300 * gst/autoplug/Makefile.am:
11301 * gst/base/Makefile.am:
11302 * gst/elements/Makefile.am:
11303 * gst/indexers/Makefile.am:
11304 * gst/schedulers/Makefile.am:
11305 * libs/gst/bytestream/Makefile.am:
11306 * libs/gst/control/Makefile.am:
11307 * libs/gst/dataprotocol/Makefile.am:
11308 * libs/gst/getbits/Makefile.am:
11310 2005-04-21 Wim Taymans <wim@fluendo.com>
11312 * docs/design/draft-push-pull.txt:
11313 * docs/design/part-MT-refcounting.txt:
11314 * docs/design/part-TODO.txt:
11315 * docs/design/part-caps.txt:
11316 * docs/design/part-events.txt:
11317 * docs/design/part-gstbus.txt:
11318 * docs/design/part-gstpipeline.txt:
11319 * docs/design/part-messages.txt:
11320 * docs/design/part-push-pull.txt:
11321 * docs/design/part-query.txt:
11324 2005-04-21 Wim Taymans <wim@fluendo.com>
11326 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
11327 (gst_message_new), (gst_message_new_error),
11328 (gst_message_new_warning), (gst_message_new_tag),
11329 (gst_message_new_state_changed), (gst_message_new_application),
11330 (gst_message_get_structure):
11331 * gst/gstmessage.h:
11332 * gst/gststructure.c: (gst_structure_set_parent_refcount),
11333 (gst_structure_copy_conditional):
11334 Use parent refcount in GstMessage to ensure GstStructure
11336 Cleaned up headers a bit.
11339 2005-04-20 Wim Taymans <wim@fluendo.com>
11341 * gst/base/gstbasesink.c: (gst_basesink_base_init),
11342 (gst_basesink_pad_getcaps), (gst_basesink_init),
11343 (gst_basesink_chain_unlocked):
11344 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
11345 (gst_type_find_helper):
11346 * gst/elements/gsttypefindelement.c:
11347 (gst_type_find_element_have_type), (gst_type_find_element_init),
11348 (stop_typefinding), (gst_type_find_element_handle_event),
11349 (find_suggest), (gst_type_find_element_chain),
11350 (gst_type_find_element_checkgetrange),
11351 (gst_type_find_element_getrange), (do_typefind),
11352 (gst_type_find_element_activate):
11353 * gst/gstbuffer.c: (_gst_buffer_sub_free),
11354 (gst_buffer_default_free), (gst_buffer_default_copy),
11355 (gst_buffer_set_caps):
11356 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
11357 (gst_caps_replace):
11358 * gst/gstmessage.c: (gst_message_new),
11359 (gst_message_new_state_changed):
11360 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11361 (gst_pad_set_checkgetrange_function),
11362 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
11363 (gst_pad_set_caps), (gst_pad_check_pull_range),
11364 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
11366 * gst/gsttypefind.c: (gst_type_find_register):
11367 Make gst_caps_replace() work like other _replace() functions.
11368 Use _caps_replace() where possible.
11369 Make sure _message_new() initialises its field.
11370 Add gst_static_pad_template_get_caps()
11373 2005-04-18 Andy Wingo <wingo@pobox.com>
11375 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
11376 on the peer, not the pad. I think that was a typo. Pass an extra
11377 arg to see if random access is possible. Activate the pads as
11378 PULL_RANGE if possible.
11380 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
11382 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
11383 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
11386 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11388 * docs/faq/using.xml:
11389 Add note on gstreamer-properties (#154996).
11391 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11393 * docs/random/bbb/optional-properties:
11394 Some analysis on optional properties.
11396 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11398 * docs/gst/tmpl/gstelementfactory.sgml:
11399 * gst/gstelement.h:
11400 * gst/gstelementfactory.c: (gst_element_factory_init),
11401 (gst_element_factory_cleanup), (gst_element_register),
11402 (__gst_element_factory_add_static_pad_template),
11403 (gst_element_factory_get_static_pad_templates),
11404 (gst_element_factory_can_src_caps),
11405 (gst_element_factory_can_sink_caps):
11406 * gst/registries/Makefile.am:
11407 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
11408 (gst_xml_registry_class_init), (gst_xml_registry_init),
11409 (gst_xml_registry_new), (gst_xml_registry_set_property),
11410 (gst_xml_registry_get_property), (get_time), (make_dir),
11411 (gst_xml_registry_get_perms_func),
11412 (plugin_times_older_than_recurse), (plugin_times_older_than),
11413 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
11414 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
11415 (add_to_char_array), (read_string), (read_uint), (read_enum),
11416 (load_pad_template), (load_feature), (load_plugin), (load_paths),
11417 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
11418 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
11419 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
11420 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
11421 (gst_xml_registry_rebuild):
11422 * gst/registries/gstlibxmlregistry.h:
11423 * tools/gst-compprep.c: (main):
11424 * tools/gst-inspect.c: (print_pad_templates_info):
11425 * tools/gst-xmlinspect.c: (print_element_info):
11426 Use libxml2 for registry parsing, use staticpadtemplates in
11427 elementfactories. Makes gst_init() +/- 10x faster.
11429 2005-04-12 Wim Taymans <wim@fluendo.com>
11431 * gst/base/Makefile.am:
11432 * gst/base/gstbasesink.c: (gst_basesink_base_init),
11433 (gst_basesink_pad_getcaps), (gst_basesink_init),
11434 (gst_basesink_event), (gst_basesink_change_state):
11435 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11436 (gst_basesrc_init), (gst_basesrc_query),
11437 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
11438 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
11439 (gst_basesrc_check_get_range), (gst_basesrc_loop),
11440 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
11441 (gst_basesrc_stop), (gst_basesrc_activate),
11442 (gst_basesrc_change_state):
11443 * gst/base/gsttypefindhelper.c: (helper_find_peek),
11444 (helper_find_suggest), (gst_type_find_helper):
11445 * gst/base/gsttypefindhelper.h:
11446 * gst/elements/Makefile.am:
11447 * gst/elements/gstelements.c:
11448 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11449 (gst_fakesink_get_times), (gst_fakesink_event),
11450 (gst_fakesink_preroll), (gst_fakesink_render):
11451 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11452 (gst_fakesrc_init), (gst_fakesrc_event_handler),
11453 (gst_fakesrc_get_property), (gst_fakesrc_create),
11454 (gst_fakesrc_start), (gst_fakesrc_stop):
11455 * gst/elements/gstfakesrc.h:
11456 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
11457 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
11458 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
11459 (gst_filesrc_create_read), (gst_filesrc_create),
11460 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
11461 (gst_filesrc_start):
11462 * gst/elements/gsttypefindelement.c:
11463 (gst_type_find_element_have_type), (gst_type_find_element_init),
11464 (start_typefinding), (stop_typefinding), (push_buffer_store),
11465 (gst_type_find_element_handle_event),
11466 (gst_type_find_element_chain),
11467 (gst_type_find_element_checkgetrange),
11468 (gst_type_find_element_getrange), (do_typefind),
11469 (gst_type_find_element_activate),
11470 (gst_type_find_element_change_state):
11471 * gst/elements/gsttypefindelement.h:
11472 * gst/gstpipeline.c: (pipeline_bus_handler):
11473 Added typefind helper.
11474 Small preroll fix in the base sink.
11475 Disable typefind code in basesrc.
11476 Crude port of typefindelement.
11480 2005-04-11 Wim Taymans <wim@fluendo.com>
11482 * check/gst/gstbus.c: (gstbus_suite):
11483 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
11484 * check/gstcheck.h:
11485 Fix up the timeout so that the test does not fail.
11487 2005-04-06 Wim Taymans <wim@fluendo.com>
11490 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11491 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
11492 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
11493 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
11494 (gst_basesrc_check_get_range), (gst_basesrc_loop),
11495 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
11496 (gst_basesrc_stop), (gst_basesrc_activate),
11497 (gst_basesrc_change_state), (basesrc_find_peek),
11498 (basesrc_find_suggest), (gst_basesrc_type_find):
11499 * gst/base/gstbasesrc.h:
11500 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
11501 (gst_filesrc_class_init), (gst_filesrc_init),
11502 (gst_filesrc_finalize), (gst_filesrc_set_location),
11503 (gst_filesrc_set_property), (gst_filesrc_get_property),
11504 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
11505 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
11506 (gst_filesrc_create_read), (gst_filesrc_create),
11507 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
11508 * gst/elements/gstfilesrc.h:
11509 * gst/gstelement.c: (gst_element_get_state_func),
11510 (gst_element_lost_state), (gst_element_pads_activate):
11511 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11512 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
11513 (gst_pad_pull_range):
11515 More work on the generic source base class, implement seeking,
11517 Make filesrc extend the base source class.
11518 Added gst_pad_set_checkgetrange_function to GstPad.
11520 2005-04-06 Andy Wingo <wingo@pobox.com>
11522 * pkgconfig/gstreamer-base.pc.in:
11523 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
11525 * pkgconfig/Makefile.am:
11526 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
11528 2005-04-04 Wim Taymans <wim@fluendo.com>
11530 * gst/base/Makefile.am:
11532 * gst/base/gstbasesink.c: (gst_basesink_base_init),
11533 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
11534 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
11535 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
11536 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11537 (gst_basesrc_base_init), (gst_basesrc_class_init),
11538 (gst_basesrc_init), (gst_basesrc_get_formats),
11539 (gst_basesrc_get_query_types), (gst_basesrc_query),
11540 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
11541 (gst_basesrc_set_property), (gst_basesrc_get_property),
11542 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
11543 (gst_basesrc_loop), (gst_basesrc_activate),
11544 (gst_basesrc_change_state):
11545 * gst/base/gstbasesrc.h:
11546 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
11547 (gst_fakesrc_class_init), (gst_fakesrc_init),
11548 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
11549 (gst_fakesrc_get_property), (gst_fakesrc_create):
11550 * gst/elements/gstfakesrc.h:
11551 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
11552 (gst_filesrc_open_file), (gst_filesrc_loop),
11553 (gst_filesrc_activate), (filesrc_find_peek),
11554 (gst_filesrc_type_find):
11555 Made base source class, make fakesrc extend it.
11556 Add comments to basesink class.
11557 Some filesrc cleanup.
11559 2005-03-31 David Schleef <ds@schleef.org>
11561 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
11562 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
11563 expected to link against libgstreamer.
11564 * gst/base/Makefile.am: link against libgstreamer
11565 * gst/elements/Makefile.am: same
11567 2005-03-31 Andy Wingo <wingo@pobox.com>
11569 * tests/instantiate/Makefile.am:
11570 * tests/instantiate/caps.c: Add test to test speed of caps copy
11573 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
11574 GMemChunk to be fair.
11576 * gst/gsttrashstack.h: Remove warning about using the fallback
11577 trash stack implementation, it's still faster than malloc.
11579 2005-03-30 Andy Wingo <wingo@pobox.com>
11581 * tests/complexity.c: Add a copyright.
11583 2005-03-31 Wim Taymans <wim@fluendo.com>
11585 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
11586 (gst_base_transform_class_init), (gst_base_transform_init),
11587 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
11588 (gst_base_transform_get_property),
11589 (gst_base_transform_sink_activate),
11590 (gst_base_transform_src_activate),
11591 (gst_base_transform_change_state):
11592 * gst/base/gstbasetransform.h:
11593 * gst/elements/gstidentity.c: (gst_identity_class_init),
11594 (gst_identity_event), (gst_identity_check_perfect),
11595 (gst_identity_transform), (gst_identity_start),
11596 (gst_identity_stop):
11597 Added start/stop methods to transform base class so subclasses
11598 don't need to deal with state changes even.
11600 2005-03-31 Wim Taymans <wim@fluendo.com>
11602 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
11603 (gst_event_new_discontinuous), (gst_event_discont_get_value):
11605 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11606 (gst_pad_pull_range):
11607 Added rate to the discont event to prepare for variable speed
11608 and reverse playback.
11610 2005-03-29 David Schleef <ds@schleef.org>
11613 * testsuite/trigger/Makefile.am:
11614 * testsuite/trigger/trigger.c: A little example program to show
11615 how trigger-based elements can work.
11617 2005-03-29 Wim Taymans <wim@fluendo.com>
11619 * gst/base/Makefile.am:
11621 * gst/base/gstbasesink.c: (gst_basesink_get_type),
11622 (gst_basesink_base_init), (gst_basesink_class_init),
11623 (gst_basesink_pad_getcaps), (gst_basesink_init),
11624 (gst_basesink_activate), (gst_basesink_change_state):
11625 * gst/base/gstbasesink.h:
11626 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
11627 (gst_base_transform_base_init), (gst_base_transform_finalize),
11628 (gst_base_transform_class_init), (gst_base_transform_init),
11629 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
11630 (gst_base_transform_event), (gst_base_transform_getrange),
11631 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
11632 (gst_base_transform_set_property),
11633 (gst_base_transform_get_property),
11634 (gst_base_transform_sink_activate),
11635 (gst_base_transform_src_activate),
11636 (gst_base_transform_change_state):
11637 * gst/base/gstbasetransform.h:
11638 * gst/elements/gstidentity.c: (gst_identity_finalize),
11639 (gst_identity_class_init), (gst_identity_init),
11640 (gst_identity_event), (gst_identity_check_perfect),
11641 (gst_identity_transform), (gst_identity_set_property),
11642 (gst_identity_get_property), (gst_identity_change_state):
11643 * gst/elements/gstidentity.h:
11644 * gst/gstelement.c: (gst_element_get_state_func),
11645 (gst_element_lost_state), (gst_element_pads_activate):
11646 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11647 (gst_pad_check_pull_range), (gst_pad_pull_range):
11649 Simplify pad activation.
11650 Added function to check if pull_range can be performed.
11651 Error out when pulling inactive or flushing pads.
11652 Removed const from refcounted types as it does not make sense.
11653 Simplify pad templates in basesink
11654 Added base class for simple 1-to-1 transforms.
11655 Make identity subclass the base transform.
11657 2005-03-29 Andy Wingo <wingo@pobox.com>
11659 * docs/libs/gstreamer-libs-overrides.txt:
11660 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
11661 really don't understand what's going on, but like whatever. I want
11664 * docs/gst/Makefile.am:
11665 * docs/libs/Makefile.am: Dist the overrides files.
11667 * check/Makefile.am (clean-local): Remove .libs directories.
11669 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
11670 elements to EXTRA_DIST, so po/ files are happy.
11672 * po/POTFILES.in: Er, remove it here.
11674 * po/POTFILES: Remove gstspider.c.
11676 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
11678 * docs/libs/gstreamer-libs-docs.sgml:
11679 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
11682 * tests/complexity.c (main): Set the length of the preroll queue
11683 on the sinks to prevent a lockup.
11685 * libs/gst/dataprotocol/Makefile.am:
11686 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
11687 the same as the one in check/gst-libs/gdp.c.
11689 * po/, docs/gst/: Commit automatic changes to docs and po files.
11691 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
11692 the versioned libgstbase.
11694 * check/Makefile.am: Depend on an unversioned gst-register, seems
11695 to make autoconf happier.
11697 * gst/base/Makefile.am: Make libgstbase a versioned lib.
11699 2005-03-28 Wim Taymans <wim@fluendo.com>
11702 * docs/design/part-gstelement.txt:
11703 * docs/design/part-negotiation.txt:
11704 * docs/design/part-preroll.txt:
11705 * docs/design/part-scheduling.txt:
11706 * docs/design/part-states.txt:
11708 * gst/base/Makefile.am:
11710 * gst/base/gstbasesink.c: (gst_basesink_get_template),
11711 (gst_basesink_base_init), (gst_basesink_class_init),
11712 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
11713 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
11714 (gst_basesink_set_pad_functions),
11715 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
11716 (gst_basesink_set_property), (gst_basesink_get_property),
11717 (gst_base_sink_get_template), (gst_base_sink_get_caps),
11718 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
11719 (gst_basesink_preroll_queue_push),
11720 (gst_basesink_preroll_queue_empty),
11721 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
11722 (gst_basesink_event), (gst_basesink_get_times),
11723 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
11724 (gst_basesink_chain_unlocked), (gst_basesink_chain),
11725 (gst_basesink_loop), (gst_basesink_activate),
11726 (gst_basesink_change_state):
11727 * gst/base/gstbasesink.h:
11728 * gst/elements/Makefile.am:
11729 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
11730 (gst_fakesink_class_init), (gst_fakesink_init),
11731 (gst_fakesink_set_property), (gst_fakesink_get_property),
11732 (gst_fakesink_get_times), (gst_fakesink_event),
11733 (gst_fakesink_preroll), (gst_fakesink_render),
11734 (gst_fakesink_change_state):
11735 * gst/elements/gstfakesink.h:
11736 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
11737 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
11738 * gst/gstelement.c: (gst_element_add_pad),
11739 (gst_element_get_state_func), (gst_element_abort_state),
11740 (gst_element_commit_state), (gst_element_lost_state),
11741 (gst_element_set_state), (gst_element_pads_activate):
11742 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
11743 * gst/gstpipeline.c: (gst_pipeline_send_event),
11744 (gst_pipeline_change_state):
11745 Added state change code.
11746 Added/updated docs.
11747 Added sink base class, make fakesink extend the base class.
11748 Small cleanups in GstPipeline.
11750 2005-03-26 David Schleef <ds@schleef.org>
11752 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
11753 is broken and should be implemented in a different library.
11754 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
11755 * gst/gst.h: remove gstcpu.h
11756 * gst/gstcpu.c: remove
11757 * gst/gstcpu.h: remove
11758 * gst/Makefile.am.future: Remove this file. It's ancient.
11760 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11762 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
11763 (gst_bin_send_event):
11764 Add default event/set_manager handlers. The set_manager handler
11765 takes care that the manager is distributed over kids that were
11766 already in the bin before the manager was set. The event handler
11767 is a utility virtual function that sends the event over all sinks,
11768 so that gst_element_send_event (bin, event); has the expected
11770 * gst/gstpad.c: (gst_pad_event_default):
11771 Re-install default event handling for discontinuities, so that
11772 seeking works without requiring hacks in applications or extra
11774 * gst/gstpipeline.c: (gst_pipeline_class_init),
11775 (gst_pipeline_send_event):
11776 Half hack, half utility: set a pipeline to PAUSED for seek events,
11777 since that is the only way we can guarantee a/v sync. Means that
11778 you can do gst_element_seek (pipeline, method, pos); on a pipeline
11779 and it "just works".
11781 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11783 * gst/gstpipeline.c: (gst_pipeline_use_clock):
11784 Lock/unlock mismatch.
11786 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
11788 * docs/faq/gst-uninstalled:
11789 add gst-plugins-base
11790 * docs/gst/Makefile.am:
11791 don't error out until docs are fixed
11792 * docs/gst/gstreamer.types:
11795 2005-03-22 Wim Taymans <wim@fluendo.com>
11797 * check/Makefile.am:
11798 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
11799 * gst/gststructure.c: (gst_structure_set_valist),
11800 (gst_structure_copy_conditional):
11801 Activated more tests.
11802 Added message test.
11803 Added G_TYPE_POINTER to GstStructure.
11806 2005-03-22 Wim Taymans <wim@fluendo.com>
11808 * docs/design/part-TODO.txt:
11809 * docs/design/part-events.txt:
11810 * docs/design/part-gstbin.txt:
11811 * docs/design/part-gstbus.txt:
11812 * docs/design/part-gstpipeline.txt:
11813 * docs/design/part-messages.txt:
11815 * gst/gstmessage.c:
11818 2005-03-21 Wim Taymans <wim@fluendo.com>
11820 * gst/gstbus.c: (gst_bus_post):
11821 Fix copy-and-paste error.
11823 2005-03-21 Wim Taymans <wim@fluendo.com>
11825 * check/Makefile.am:
11827 * gst/elements/Makefile.am:
11828 * gst/elements/gstelements.c:
11829 * gst/elements/gstfakesink.c: (gst_fakesink_init),
11830 (gst_fakesink_event), (gst_fakesink_chain):
11831 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11832 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
11833 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
11834 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
11835 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
11836 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
11837 (gst_fakesrc_loop), (gst_fakesrc_activate),
11838 (gst_fakesrc_change_state):
11839 * gst/elements/gstfakesrc.h:
11840 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
11841 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
11842 (gst_filesrc_open_file), (gst_filesrc_loop),
11843 (gst_filesrc_activate), (gst_filesrc_change_state),
11844 (filesrc_find_peek), (filesrc_find_suggest),
11845 (gst_filesrc_type_find):
11846 * gst/elements/gstidentity.c: (gst_identity_finalize),
11847 (gst_identity_class_init), (gst_identity_init),
11848 (gst_identity_proxy_getcaps), (identity_queue_push),
11849 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
11850 (gst_identity_getrange), (gst_identity_chain),
11851 (gst_identity_sink_loop), (gst_identity_src_loop),
11852 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
11853 (gst_identity_set_property), (gst_identity_get_property),
11854 (gst_identity_change_state):
11855 * gst/elements/gstidentity.h:
11856 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11857 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
11858 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
11859 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
11860 (gst_tee_sink_activate):
11861 * gst/elements/gsttee.h:
11862 * gst/gst.c: (gst_register_core_elements), (init_post):
11864 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
11865 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
11866 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
11867 (gst_bin_change_state):
11869 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
11870 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
11871 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
11872 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
11873 (gst_bus_set_sync_handler), (gst_bus_create_watch),
11874 (bus_watch_callback), (bus_watch_destroy),
11875 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
11876 (poll_timeout), (gst_bus_poll):
11880 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
11881 (gst_element_post_message), (gst_element_message_full),
11882 (gst_element_get_state_func), (gst_element_get_state),
11883 (gst_element_abort_state), (gst_element_commit_state),
11884 (gst_element_lost_state), (gst_element_set_state),
11885 (gst_element_pads_activate), (gst_element_change_state),
11886 (gst_element_dispose), (gst_element_set_manager_func),
11887 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
11888 (gst_element_set_manager), (gst_element_get_manager),
11889 (gst_element_set_bus), (gst_element_get_bus),
11890 (gst_element_set_scheduler), (gst_element_get_scheduler):
11891 * gst/gstelement.h:
11892 * gst/gstevent.c: (gst_event_new_segment_seek),
11893 (gst_event_new_flush):
11895 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
11896 (_gst_message_free), (gst_message_get_type), (gst_message_new),
11897 (gst_message_new_eos), (gst_message_new_error),
11898 (gst_message_new_warning), (gst_message_new_tag),
11899 (gst_message_new_state_changed), (gst_message_new_application),
11900 (gst_message_get_structure), (gst_message_parse_tag),
11901 (gst_message_parse_state_changed), (gst_message_parse_error),
11902 (gst_message_parse_warning):
11903 * gst/gstmessage.h:
11904 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
11905 (gst_real_pad_set_property), (gst_pad_set_active),
11906 (gst_pad_is_active), (gst_pad_set_blocked_async),
11907 (gst_pad_set_blocked), (gst_pad_is_blocked),
11908 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
11909 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
11910 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
11911 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
11912 (gst_pad_link_filtered), (gst_pad_relink_filtered),
11913 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
11914 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
11915 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
11916 (gst_pad_set_caps), (gst_pad_configure_sink),
11917 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
11918 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
11919 (gst_real_pad_dispose), (gst_real_pad_finalize),
11920 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
11921 (gst_pad_event_default_dispatch), (gst_pad_event_default),
11922 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
11924 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
11925 (pipeline_bus_handler), (gst_pipeline_change_state),
11926 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
11927 * gst/gstpipeline.h:
11929 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
11930 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
11931 (gst_queue_link_src), (gst_queue_bufferalloc),
11932 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
11933 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
11934 (gst_queue_loop), (gst_queue_handle_src_event),
11935 (gst_queue_handle_src_query), (gst_queue_src_activate),
11936 (gst_queue_change_state):
11938 * gst/gstscheduler.c: (gst_scheduler_init),
11939 (gst_scheduler_dispose), (gst_scheduler_create_task),
11940 (gst_scheduler_factory_create):
11941 * gst/gstscheduler.h:
11942 * gst/gststructure.c: (gst_structure_get_type),
11943 (gst_structure_copy_conditional):
11944 * gst/gststructure.h:
11945 * gst/gsttaginterface.h:
11946 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
11947 (gst_task_init), (gst_task_dispose), (gst_task_create),
11948 (gst_task_get_state), (gst_task_start), (gst_task_stop),
11954 * gst/schedulers/Makefile.am:
11955 * gst/schedulers/cothreads_compat.h:
11956 * gst/schedulers/entryscheduler.c:
11957 * gst/schedulers/faircothreads.c:
11958 * gst/schedulers/faircothreads.h:
11959 * gst/schedulers/fairscheduler.c:
11960 * gst/schedulers/gstbasicscheduler.c:
11961 * gst/schedulers/gstoptimalscheduler.c:
11962 * gst/schedulers/gthread-cothreads.h:
11963 * gst/schedulers/threadscheduler.c:
11964 (gst_thread_scheduler_task_get_type),
11965 (gst_thread_scheduler_task_class_init),
11966 (gst_thread_scheduler_task_init),
11967 (gst_thread_scheduler_task_start),
11968 (gst_thread_scheduler_task_stop),
11969 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
11970 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
11971 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
11972 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
11974 * libs/gst/Makefile.am:
11975 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
11976 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
11977 (gst_file_pad_parent_set):
11978 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
11979 (gst_dp_event_from_packet):
11980 * tests/complexity.c: (main):
11981 * tests/mass_elements.c: (main):
11982 * testsuite/states/locked.c: (message_received), (main):
11983 * testsuite/states/parent.c: (main):
11984 * tools/gst-inspect.c: (print_element_flag_info),
11985 (print_implementation_info), (print_pad_info):
11986 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
11988 * tools/gst-md5sum.c: (event_loop), (main):
11989 * tools/gst-typefind.c: (main):
11990 * tools/gst-xmlinspect.c: (print_element_info):
11992 Added GstBus for mainloop integration.
11993 Added GstMessage for sending notifications on the bus.
11994 Added GstTask as an abstraction for pipeline entry points.
11996 Removed Schedulers.
11997 Simplified GstQueue for multithreaded core.
11998 Made _link threadsafe, removed old capsnego.
11999 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
12000 Added pad blocking functions.
12001 Reworked scheduling functions in GstPad to prepare for
12002 scheduling updates soon.
12003 Moved events out of data stream.
12004 Simplified GstEvent types.
12005 Added return values to push/pull.
12006 Removed clocking from GstElement.
12007 Added prototypes for state change function for next merge.
12008 Removed iterate from bins and state change management.
12009 Fixed some elements, disabled others for now.
12010 Fixed -inspect and -launch.
12011 Added check for GstBus.
12013 2005-03-10 Wim Taymans <wim@fluendo.com>
12015 * docs/design/part-MT-refcounting.txt:
12016 * docs/design/part-clocks.txt:
12017 * docs/design/part-gstelement.txt:
12018 * docs/design/part-gstobject.txt:
12019 * docs/design/part-standards.txt:
12020 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12021 (gst_bin_remove_func), (gst_bin_remove):
12025 * testsuite/clock/clock1.c: (main):
12026 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
12028 * testsuite/dlopen/loadgst.c: (do_test):
12029 * testsuite/refcounting/bin.c: (add_remove_test1),
12030 (add_remove_test2), (main):
12031 * testsuite/refcounting/element.c: (main):
12032 * testsuite/refcounting/element_pad.c: (main):
12033 * testsuite/refcounting/pad.c: (main):
12034 * tools/gst-launch.c: (sigint_handler_sighandler):
12035 * tools/gst-typefind.c: (main):
12037 Added doc about clock.
12038 removed gst_bin_iterate_recurse_up(), marked methods
12040 Fix more testsuites.
12042 2005-03-09 Wim Taymans <wim@fluendo.com>
12044 * gst/gstpad.c: (gst_pad_get_direction),
12045 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
12046 (gst_pad_collect_valist):
12047 * testsuite/bins/interface.c: (main):
12048 * testsuite/caps/audioscale.c: (test_caps):
12049 * testsuite/caps/caps.c: (test1), (test2), (test3):
12050 * testsuite/caps/deserialize.c: (main):
12051 * testsuite/caps/enumcaps.c: (main):
12052 * testsuite/caps/filtercaps.c: (main):
12053 * testsuite/caps/intersect2.c: (main):
12054 * testsuite/caps/random.c: (main):
12055 * testsuite/caps/renegotiate.c: (my_fixate), (main):
12056 * testsuite/caps/sets.c: (check_caps):
12057 * testsuite/caps/simplify.c: (check_caps), (main):
12058 * testsuite/caps/subtract.c: (check_caps):
12059 Fix _pad_get_direction wrt ghostpads.
12060 Fix caps testsuite.
12062 2005-03-09 Wim Taymans <wim@fluendo.com>
12064 * check/Makefile.am:
12065 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
12066 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
12067 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
12068 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
12069 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
12070 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
12071 (gst_bin_remove), (gst_bin_iterate_recurse_up),
12072 (bin_element_is_sink), (gst_bin_iterate_sinks),
12073 (gst_bin_iterate_all_by_interface):
12075 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
12076 (gst_element_change_state), (gst_element_dispose),
12077 (gst_element_finalize), (gst_element_set_loop_function):
12078 * gst/gstelement.h:
12079 * gst/gstiterator.c: (find_custom_fold_func):
12080 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12081 (gst_pad_collectv), (gst_pad_collect_valist),
12082 (gst_pad_template_new):
12083 * gst/gstpipeline.c: (gst_pipeline_class_init),
12084 (gst_pipeline_dispose), (gst_pipeline_set_property),
12085 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
12086 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
12087 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
12089 * gst/schedulers/entryscheduler.c:
12090 * gst/schedulers/gstbasicscheduler.c:
12091 (gst_basic_scheduler_cothreaded_chain),
12092 (gst_basic_scheduler_chain_add_element):
12093 * testsuite/bins/interface.c: (main):
12095 Added GstSystemClock test.
12096 Implemented clock distribution code in GstBin.
12097 Implemented iterate sinks method for future use.
12098 Rearranged gstelement.h
12099 Fix GstIterator comparison bug.
12100 Moved some code to GstPipeline, mostly clocking related.
12102 2005-03-09 Wim Taymans <wim@fluendo.com>
12105 * gst/gst_private.h:
12106 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12107 (gst_bin_remove_func), (gst_bin_remove),
12108 (gst_bin_get_by_name_recurse_up):
12109 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
12110 (gst_clock_id_compare_func), (gst_clock_id_wait),
12111 (gst_clock_id_wait_async), (gst_clock_init),
12112 (gst_clock_adjust_unlocked), (gst_clock_get_time):
12113 * gst/gstelement.h:
12114 * gst/gstinfo.c: (_gst_debug_init):
12116 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12117 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
12119 Bump version number, we're now 0.9.0
12120 Add future debugging category.
12121 Fix NULL _unref() in _get_by_name_recurse_up
12122 Rearrange gstpad.h.
12125 2005-03-08 Wim Taymans <wim@fluendo.com>
12127 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
12128 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
12129 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
12130 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
12131 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
12132 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
12133 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
12134 * gst/elements/gstidentity.c: (gst_identity_class_init):
12135 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
12136 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
12137 * gst/elements/gstshaper.c: (gst_shaper_class_init):
12138 * gst/elements/gststatistics.c: (gst_statistics_class_init):
12139 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
12141 * gst/gstelement.c: (gst_element_class_init),
12142 (gst_element_base_class_init), (gst_element_init),
12143 (gst_element_get_random_pad), (gst_element_wait_state_change),
12144 (gst_element_change_state), (gst_element_dispose),
12145 (gst_element_finalize), (gst_element_set_loop_function):
12146 * gst/gstelement.h:
12147 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
12148 * gst/gstthread.c: (gst_thread_class_init),
12149 (gst_thread_release_children_locks), (gst_thread_change_state):
12150 * gst/schedulers/gstbasicscheduler.c:
12151 (gst_basic_scheduler_loopfunc_wrapper),
12152 (gst_basic_scheduler_chain_wrapper),
12153 (gst_basic_scheduler_src_wrapper),
12154 (gst_basic_scheduler_remove_element):
12155 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
12156 Remove threadsafe properties. Fix elements because GObject
12157 complains when installing a property before declaring a
12158 set/get_property handler.
12159 Rearrange gstelement.h file, use STATE macros for state locks.
12160 Free mutexes in the finalize method instead of dispose.
12162 2005-03-08 Wim Taymans <wim@fluendo.com>
12164 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
12165 * gst/gstthread.c: (gst_thread_release_children_locks):
12166 Added parentage check.
12167 Fix build og GstThread again.
12169 2005-03-08 Wim Taymans <wim@fluendo.com>
12171 * docs/design/part-MT-refcounting.txt:
12172 * docs/design/part-conventions.txt:
12173 * docs/design/part-gstobject.txt:
12174 * docs/design/part-relations.txt:
12175 * docs/design/part-standards.txt:
12176 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12177 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
12178 (gst_bin_get_by_name), (gst_bin_get_by_interface),
12179 (gst_bin_iterate_all_by_interface):
12182 * gst/gstelement.c: (gst_element_class_init),
12183 (gst_element_change_state), (gst_element_set_loop_function):
12184 * gst/gstelement.h:
12185 * gst/gstiterator.c:
12186 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
12187 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
12188 (gst_object_dispatch_properties_changed), (gst_object_set_name),
12189 (gst_object_set_parent), (gst_object_unparent),
12190 (gst_object_check_uniqueness):
12192 Docs updates, clean up some headers.
12194 2005-03-07 Wim Taymans <wim@fluendo.com>
12196 * check/.cvsignore:
12197 * check/Makefile.am:
12198 * check/gst-libs/.cvsignore:
12199 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
12200 * check/gst/.cvsignore:
12201 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
12202 (START_TEST), (gstbus_suite), (main):
12203 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
12204 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
12205 (gst_data_suite), (main):
12206 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
12207 (add_fold_func), (gstiterator_suite), (main):
12208 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
12209 (thread_name_object), (thread_name_object_default),
12210 (gst_object_name_compare), (gst_object_suite), (main):
12211 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
12212 (gst_pad_suite), (main):
12213 * check/gstcheck.c: (gst_check_log_message_func),
12214 (gst_check_log_critical_func), (gst_check_init):
12215 * check/gstcheck.h:
12216 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
12217 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
12220 2005-03-07 Wim Taymans <wim@fluendo.com>
12222 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
12223 (gst_list_iterator_next), (gst_list_iterator_resync),
12224 (gst_list_iterator_free), (gst_iterator_new_list),
12225 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
12226 (gst_iterator_free), (gst_iterator_push), (filter_next),
12227 (filter_resync), (filter_uninit), (filter_free),
12228 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
12229 (gst_iterator_foreach), (find_custom_fold_func),
12230 (gst_iterator_find_custom):
12231 * gst/gstiterator.h:
12232 Added missing files.
12234 2005-03-07 Wim Taymans <wim@fluendo.com>
12238 * docs/design/part-MT-refcounting.txt:
12239 * docs/design/part-conventions.txt:
12240 * docs/design/part-gstobject.txt:
12241 * docs/design/part-relations.txt:
12242 * examples/mixer/mixer.c: (main):
12243 * examples/thread/thread.c: (eos), (main):
12245 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
12246 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
12247 (gst_spider_plug_from_srcpad):
12248 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
12249 (gst_spider_identity_change_state),
12250 (gst_spider_identity_sink_loop_type_finding):
12251 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
12252 * gst/elements/gstidentity.c: (gst_identity_init):
12253 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
12254 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
12255 * gst/elements/gsttypefindelement.c: (free_entry):
12258 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
12259 (gst_bin_set_clock_func), (gst_bin_auto_clock),
12260 (gst_bin_set_index), (gst_bin_set_element_sched),
12261 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
12262 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
12263 (gst_bin_iterate_elements), (iterate_child_recurse),
12264 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
12265 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
12266 (compare_interface), (gst_bin_get_by_interface),
12267 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
12269 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
12270 (gst_buffer_default_free), (gst_buffer_default_copy),
12271 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
12272 (gst_buffer_create_sub):
12274 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
12275 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
12276 (gst_caps_unref), (gst_static_caps_get),
12277 (gst_caps_remove_and_get_structure), (gst_caps_append),
12278 (gst_caps_append_structure), (gst_caps_remove_structure),
12279 (gst_caps_copy_nth), (gst_caps_set_simple),
12280 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
12281 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
12282 (gst_caps_structure_intersect_field), (gst_caps_intersect),
12283 (gst_caps_structure_subtract_field), (gst_caps_subtract),
12284 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
12285 (gst_caps_structure_figure_out_union),
12286 (gst_caps_switch_structures), (gst_caps_do_simplify),
12287 (gst_caps_replace), (gst_caps_from_string),
12288 (gst_caps_copy_conditional):
12290 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
12291 (_gst_clock_id_free), (gst_clock_id_unref),
12292 (gst_clock_id_compare_func), (gst_clock_id_wait),
12293 (gst_clock_id_wait_async), (gst_clock_class_init),
12294 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
12295 (gst_clock_get_time), (gst_clock_set_time_adjust),
12296 (gst_clock_set_property), (gst_clock_get_property):
12299 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
12300 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
12302 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
12303 (gst_element_requires_clock), (gst_element_provides_clock),
12304 (gst_element_set_clock), (gst_element_clock_wait),
12305 (gst_element_wait), (gst_element_set_time_delay),
12306 (gst_element_is_indexable), (gst_element_add_pad),
12307 (gst_element_add_ghost_pad), (gst_element_remove_pad),
12308 (pad_compare_name), (gst_element_get_static_pad),
12309 (gst_element_request_pad), (gst_element_get_request_pad),
12310 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
12311 (gst_element_class_get_pad_template_list),
12312 (gst_element_class_get_pad_template), (gst_element_error_func),
12313 (gst_element_get_random_pad), (gst_element_get_event_masks),
12314 (gst_element_send_event), (gst_element_seek),
12315 (gst_element_get_query_types), (gst_element_query),
12316 (gst_element_get_formats), (gst_element_convert),
12317 (gst_element_is_locked_state), (gst_element_set_locked_state),
12318 (gst_element_sync_state_with_parent), (gst_element_change_state),
12319 (gst_element_finalize), (gst_element_yield),
12320 (gst_element_interrupt), (gst_element_set_scheduler),
12321 (gst_element_get_scheduler), (gst_element_set_loop_function):
12322 * gst/gstelement.h:
12324 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
12325 (gst_format_get_by_nick), (gst_format_get_details),
12326 (gst_format_iterate_definitions):
12328 * gst/gstindex.c: (gst_index_gtype_resolver):
12331 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
12332 (gst_mem_chunk_free):
12333 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
12334 (gst_object_ref), (gst_object_unref), (gst_object_sink),
12335 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
12336 (gst_object_dispatch_properties_changed),
12337 (gst_object_set_name_default), (gst_object_set_name),
12338 (gst_object_get_name), (gst_object_set_name_prefix),
12339 (gst_object_get_name_prefix), (gst_object_set_parent),
12340 (gst_object_get_parent), (gst_object_unparent),
12341 (gst_object_check_uniqueness), (gst_object_save_thyself),
12342 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
12343 (gst_object_set_property), (gst_object_get_property),
12344 (gst_object_get_path_string):
12346 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
12347 (gst_real_pad_init), (gst_real_pad_get_property),
12348 (gst_pad_custom_new), (gst_pad_get_direction),
12349 (gst_pad_set_active), (gst_pad_is_active),
12350 (gst_pad_set_event_function), (gst_pad_is_linked),
12351 (gst_pad_link_free), (gst_pad_link_intersect),
12352 (gst_pad_link_fixate), (gst_pad_set_caps),
12353 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
12354 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
12355 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
12356 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
12357 (gst_pad_get_caps), (gst_pad_peer_get_caps),
12358 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
12359 (gst_pad_realize), (gst_pad_get_allowed_caps),
12360 (gst_real_pad_dispose), (gst_real_pad_finalize),
12361 (gst_pad_collectv), (gst_pad_collect_valist),
12362 (gst_pad_template_dispose), (gst_pad_template_new),
12363 (gst_pad_get_internal_links):
12365 * gst/gstpipeline.c: (gst_pipeline_dispose),
12366 (gst_pipeline_change_state):
12367 * gst/gstpipeline.h:
12369 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
12370 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
12371 * gst/gstpluginfeature.h:
12372 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
12373 * gst/gstquery.c: (_gst_query_type_initialize),
12374 (gst_query_type_register), (gst_query_type_get_by_nick),
12375 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
12377 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
12378 * gst/gstscheduler.c: (gst_scheduler_add_element),
12379 (gst_scheduler_factory_create):
12380 * gst/gststructure.c: (gst_structure_set_parent_refcount),
12381 (gst_structure_free), (gst_structure_set_name),
12382 (gst_structure_id_set_value), (gst_structure_set_value),
12383 (gst_structure_set_valist), (gst_structure_remove_field),
12384 (gst_structure_remove_fields),
12385 (gst_structure_remove_fields_valist),
12386 (gst_structure_remove_all_fields), (gst_structure_foreach),
12387 (gst_structure_map_in_place),
12388 (gst_caps_structure_fixate_field_nearest_int),
12389 (gst_caps_structure_fixate_field_nearest_double):
12390 * gst/gststructure.h:
12391 * gst/gstsystemclock.c: (gst_system_clock_class_init),
12392 (gst_system_clock_init), (gst_system_clock_dispose),
12393 (gst_system_clock_async_thread),
12394 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
12395 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
12396 * gst/gstsystemclock.h:
12397 * gst/gsttag.c: (gst_tag_list_add_value_internal),
12398 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
12399 * gst/gsttaginterface.c:
12400 * gst/gstthread.c: (gst_thread_dispose),
12401 (gst_thread_release_children_locks), (gst_thread_change_state),
12402 (gst_thread_main_loop):
12403 * gst/gsttrashstack.h:
12404 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
12406 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
12407 (gst_element_request_pad), (gst_element_get_pad_from_template),
12408 (gst_element_request_compatible_pad),
12409 (gst_element_get_compatible_pad_filtered),
12410 (gst_element_get_compatible_pad), (gst_element_state_get_name),
12411 (gst_element_link_pads_filtered), (gst_element_link_filtered),
12412 (gst_element_link_many), (gst_element_link),
12413 (gst_element_link_pads), (gst_element_unlink_pads),
12414 (gst_element_unlink_many), (gst_element_unlink),
12415 (gst_pad_can_link_filtered), (gst_pad_can_link),
12416 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
12417 (gst_object_default_error), (gst_bin_add_many),
12418 (gst_bin_remove_many), (gst_element_populate_std_props),
12419 (gst_element_class_install_std_props), (gst_buffer_merge),
12420 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
12421 (link_fold_func), (gst_pad_proxy_setcaps):
12423 * gst/gstvalue.c: (gst_value_deserialize_string):
12424 * gst/parse/grammar.y:
12425 * gst/schedulers/gstbasicscheduler.c:
12426 (gst_basic_scheduler_cothreaded_chain),
12427 (gst_basic_scheduler_chain_recursive_add),
12428 (gst_basic_scheduler_pad_link):
12429 * gst/schedulers/gstoptimalscheduler.c:
12430 (get_group_schedule_function),
12431 (gst_opt_scheduler_state_transition),
12432 (gst_opt_scheduler_add_element), (element_get_reachables_func):
12433 * libs/gst/bytestream/bytestream.c:
12434 * libs/gst/dataprotocol/dataprotocol.c:
12435 (gst_dp_header_from_buffer):
12438 * tests/threadstate/threadstate2.c: (eos):
12439 * tools/gst-compprep.c: (main):
12440 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
12441 (print_pad_info), (print_children_info):
12442 * tools/gst-launch.c: (idle_func), (main):
12443 * tools/gst-md5sum.c: (idle_func), (main):
12444 * tools/gst-xmlinspect.c: (print_element_info):
12445 First THREADED backport attempt, focusing on adding locks and
12446 making sure the API is threadsafe. Needs more work. More docs
12449 2005-02-24 Andy Wingo <wingo@pobox.com>
12451 * tests/bench-complexity.scm:
12452 * tests/complexity.gnuplot: New files, good for running complexity
12455 * tests/Makefile.am:
12456 * tests/complexity.c: New test, sets up N elements, at each level
12457 teeing into M streams per element. Eeeenteresting.
12459 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
12460 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
12461 running bench-mass_elements.scm.
12463 * tests/bench-mass_elements.scm: New script, runs mass_elements
12464 for various numbers of identities, outputting the results to a
12465 file. Requires guile 1.6. Just for testing.
12467 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
12469 * gst/schedulers/fairscheduler.c:
12470 compile with debug disabled
12472 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
12475 hunting season on 0.9 is now OPEN