1 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
3 * docs/gst/gstreamer-docs.sgml:
4 * docs/gst/gstreamer-sections.txt:
5 * docs/libs/gstreamer-libs-docs.sgml:
6 * docs/libs/gstreamer-libs-sections.txt:
7 moving documentation from core to lib
9 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13 * docs/gst/Makefile.am:
15 * gst/base/.cvsignore:
16 * gst/base/Makefile.am:
18 * gst/base/gstadapter.c:
19 * gst/base/gstadapter.h:
20 * gst/base/gstbasesink.c:
21 * gst/base/gstbasesink.h:
22 * gst/base/gstbasesrc.c:
23 * gst/base/gstbasesrc.h:
24 * gst/base/gstbasetransform.c:
25 * gst/base/gstbasetransform.h:
26 * gst/base/gstcollectpads.c:
27 * gst/base/gstcollectpads.h:
28 * gst/base/gstpushsrc.c:
29 * gst/base/gstpushsrc.h:
30 * gst/base/gsttypefindhelper.c:
31 * gst/base/gsttypefindhelper.h:
32 * gst/check/Makefile.am:
33 * gst/check/gstcheck.c:
34 * gst/check/gstcheck.h:
35 * gst/net/Makefile.am:
37 * gst/net/gstnetclientclock.c:
38 * gst/net/gstnetclientclock.h:
39 * gst/net/gstnettimepacket.c:
40 * gst/net/gstnettimepacket.h:
41 * gst/net/gstnettimeprovider.c:
42 * gst/net/gstnettimeprovider.h:
43 * libs/gst/Makefile.am:
44 * libs/gst/base/Makefile.am:
45 * libs/gst/base/gstbasetransform.c:
46 * libs/gst/check/Makefile.am:
47 * plugins/elements/Makefile.am:
49 CVS surgery + support to move base, check, and net out of gst
52 2005-11-29 Andy Wingo <wingo@pobox.com>
54 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
56 * gst/gststructure.h (struct _GstStructure): Only one pointer of
59 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
61 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
63 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
65 * gst/gstobject.h: (struct _GstObject): Only one pointer of
66 padding; reduces object size by about 30%. We don't expect
67 anything else to go into gstobject.
69 * gst/gstminiobject.h (struct _GstMiniObject)
70 (struct _GstMiniObjectClass): Only one pointer of padding; the
71 payload is only a pointer and two ints anyway. For the class there
72 are only two methods as well.
74 * gst/gstelement.h (struct _GstElementClass): Removed
75 the state_changed signal callback, it is not used.
77 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
79 * docs/gst/gstreamer.types:
80 fix includes, though they are a little dinky
82 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
85 look in the right place for elements, a lot more chance of
88 remove indexers and elements subdirs
89 * plugins/Makefile.am:
90 make indexers conditional
92 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
96 * plugins/elements/Makefile.am:
97 * plugins/elements/gstcapsfilter.c:
98 * plugins/elements/gstfilesink.c:
99 * plugins/elements/gstfilesrc.c:
100 * plugins/elements/gstidentity.c:
101 * plugins/indexers/Makefile.am:
102 do CVS surgery and related build fixery to move elements
103 and indexers in a new gstreamer/plugins directory, out of the
106 2005-11-29 Andy Wingo <wingo@pobox.com>
109 * pkgconfig/gstreamer-net-uninstalled.pc.in:
110 * pkgconfig/gstreamer-net.pc.in:
111 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
114 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
117 * tools/gst-complete.1.in:
118 * tools/gst-complete.c:
119 * tools/gst-compprep.1.in:
120 * tools/gst-compprep.c:
121 removing -compprep and -complete
123 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
125 * gst/gstevent.c: (gst_event_new_new_segment),
126 (gst_event_parse_new_segment):
128 fix #320529 - clean up new_segment API and structure.
129 Let's hope everyone was using the methods, and not the structure.
131 2005-11-29 Edward Hervey <edward@fluendo.com>
133 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
134 (gst_base_sink_event), (gst_base_sink_do_sync),
135 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
136 Properly handle non GST_FORMAT_TIME segment
137 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
138 Properly handle non GST_FORMAT_TIME segment
140 This function is valid if the accumulator is 0 and the format
141 is different from the requested format.
143 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
145 * docs/gst/gstreamer-sections.txt:
146 Add gst_query_new_seeking and gst_query_parse_seeking to the
149 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
151 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
152 Treat a pad alloc with new caps the same as if we were not
153 negotiated, in order to allow a changing upstream output
154 to produce a new format of data.
156 2005-11-29 Edward Hervey <edward@fluendo.com>
158 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
159 (gst_base_transform_event), (gst_base_transform_eventfunc):
160 The event virtual method is now properly implemented, with a default
162 Sub classes should call the parent_class event method. They should
163 return FALSE if they had a problem handling the given event, or don't
164 want GstBaseTransform to send that even downstream
165 * gst/elements/gstidentity.c: (gst_identity_class_init),
166 (gst_identity_init), (gst_identity_event),
167 (gst_identity_transform_ip), (gst_identity_set_property),
168 (gst_identity_get_property):
169 * gst/elements/gstidentity.h:
170 Added the single-segment boolean property.
171 If set to TRUE, it will output a single segment of data, starting from
172 0, will eat up all incoming newsegment, and modify the timestamp of the
175 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
177 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
178 Don't ref NULL target pad (#322751). Improve docs.
180 2005-11-29 Michael Smith <msmith@fluendo.com>
182 * gst/gstregistryxml.c: (load_plugin):
183 Don't crash if we failed to load a feature from a plugin.
185 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
187 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
189 use more check API and less GLib API
191 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
194 don't run checks if we don't have check
196 remove the registry when running make torture
197 * docs/gst/gstreamer-sections.txt:
198 remove second multiply
199 * gst/gstqueue.c: (gst_queue_loop):
200 fix a compile warning when disabling debug
202 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
205 Hey! Let's print the pad name if the pointer != NULL instead
206 of when it == NULL :-)
208 2005-11-28 Wim Taymans <wim@fluendo.com>
210 * check/gst/gstutils.c: (GST_START_TEST):
211 Updated check, add some scaling accuracy checking code.
213 * gst/gstutils.c: (gst_util_div128_64),
214 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
215 (gst_util_uint64_scale_int):
216 Fix 6 times faster division code. Optimize for common
217 1/1 and less common X/1 cases.
219 2005-11-28 Wim Taymans <wim@fluendo.com>
221 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
224 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
225 (do_linear_regression), (gst_clock_add_observation):
227 Release lock when the clock cannot be slaved.
228 Catch the case where the regression returned an invalid denominator.
230 * gst/gstutils.c: (gst_util_div128_64_iterate),
231 (gst_util_div128_64), (gst_util_uint64_scale_int64),
232 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
233 Add protentially more performant non-iterative 128/64 divide function
234 that unfortunatly does not work yet.
235 Shortcut the trivial 0/X = 0 case.
236 Remove the warnings on overflow.
238 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
240 * gst/gstplugin.c: (gst_plugin_register_func):
241 everything causing a plugin not to load should be at least a WARNING
243 2005-11-28 Stefan Kost <ensonic@users.sf.net>
245 * docs/random/ensonic/dparams.txt:
246 some TODOs for the next dev cycle
247 * libs/gst/controller/gstcontroller.c:
248 (gst_controlled_property_set_interpolation_mode),
249 (gst_controlled_property_new):
250 * libs/gst/controller/gstcontroller.h:
251 use base type to assign acccessor functions
253 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
256 Oops, that should have been top_srcdir
258 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
261 * check/elements/fdsrc.c: (GST_START_TEST):
262 Use a cmdline define to specify the location of a file to use for
263 testing, to avoid breaking distcheck.
265 2005-11-28 Andy Wingo <wingo@pobox.com>
267 * gst/gstpad.c (fixate_value): Use array functions for arrays.
269 2005-11-28 Edward Hervey <edward@fluendo.com>
271 * tools/gst-launch.c: (main):
272 Clarify the output strings, makes it easier to translate.
275 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
278 don't try and build net if we don't even have <sys/socket.h>
280 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
283 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
284 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
285 Add tests for fdsrc seekability
287 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
288 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
289 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
290 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
291 * gst/elements/gstfdsrc.h:
292 fdsrc should not be a 'live' source.
293 Implement seeking on seekable fd's.
295 * gst/gstquery.c: (gst_query_new_seeking),
296 (gst_query_parse_seeking):
298 Implement SEEKING query functions:
299 *_new_seeking and *_parse_seeking
301 2005-11-27 Stefan Kost <ensonic@users.sf.net>
303 * gst/gstelement.c: (gst_element_dispose):
307 * gst/gststructure.c:
310 * libs/gst/controller/gstcontroller.c:
311 (gst_controlled_property_set_interpolation_mode):
312 * libs/gst/controller/gstcontroller.h:
313 * libs/gst/controller/gstinterpolation.c:
314 (interpolate_none_get_enum_value_array):
315 support controlling enums
317 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
320 Improve documentation for gst_value_union().
323 Change return value for union, intersect and subtract functions
324 from gint to gboolean.
326 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
328 * gst/gstvalue.c: (gst_value_serialize_any_list),
329 (gst_value_transform_any_list_string),
330 (gst_value_deserialize_list), (gst_value_deserialize_array),
331 (gst_value_set_int_range), (gst_value_deserialize_int_range),
332 (gst_value_set_double_range), (gst_value_deserialize_double_range),
333 (gst_value_set_fraction_range_full),
334 (gst_value_deserialize_fraction_range),
335 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
336 (gst_value_deserialize_boolean),
337 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
338 (gst_value_serialize_float), (gst_value_deserialize_float),
339 (gst_string_wrap), (gst_value_deserialize_string),
340 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
341 (gst_value_union_int_range_int_range),
342 (gst_value_intersect_int_range_int_range),
343 (gst_value_intersect_double_range_double_range),
344 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
345 (gst_value_subtract_int_range_int_range),
346 (gst_value_subtract_double_double_range),
347 (gst_value_subtract_double_range_double_range),
348 (gst_value_deserialize_fraction):
350 Use gint, gdouble and gchar in our API instead of int, double and
351 char (and make usage in gstvalue.c more consistent).
353 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
356 * libs/gst/controller/Makefile.am:
357 * libs/gst/dataprotocol/Makefile.am:
358 fix up Makefile.am and remove GST_ENABLE_NEW
360 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
364 * gst/base/Makefile.am:
365 * gst/check/Makefile.am:
366 * gst/elements/Makefile.am:
367 * gst/net/Makefile.am:
368 update LDFLAGS use some more
370 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
372 * common/m4/gst-doc.m4:
375 2005-11-26 Edward Hervey <edward@fluendo.com>
377 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
378 This shouldn't issue a g_warning since it returns NULL if it
379 couldn't find the plugin, and all functions using this behave
380 properly on a NULL return. Switching to a GST_WARNING.
382 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
384 * gst/gstbin.c: (gst_bin_handle_message_func):
385 Don't leak clock messages.
387 2005-11-25 Wim Taymans <wim@fluendo.com>
389 * gst/gstutils.c: (gst_util_uint64_scale_int64),
390 (gst_util_uint64_scale_int):
391 Optimisations, remove unneeded vars.
393 2005-11-25 Wim Taymans <wim@fluendo.com>
395 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
396 Added more checks for the high precision uint64 cases.
398 * gst/gstutils.c: (gst_util_uint64_scale_int64),
399 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
400 Implement high precission (guint64 * guint64) / guint64.
402 2005-11-24 Wim Taymans <wim@fluendo.com>
404 * gst/base/gstbasesrc.c: (gst_base_src_query):
405 Fix wrong percentage query.
407 * gst/gstutils.c: (gst_util_uint64_scale),
408 (gst_util_uint64_scale_int):
409 Add some more common cases that can be handled
410 efficiently to _scale.
412 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
414 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
415 (gst_mini_object_suite):
416 don't use check calls from threads; check probably isn't
417 threadsafe and using a lock to make it threadsafe would
418 defeat the purpose of this check
419 * gst/check/gstcheck.c:
420 * gst/check/gstcheck.h:
421 use GST_DEBUG some more
423 2005-11-24 Wim Taymans <wim@fluendo.com>
425 * gst/gstutils.c: (gst_util_uint64_scale),
426 (gst_util_uint64_scale_int):
427 Chain trivial case to _scale_int.
429 2005-11-24 Wim Taymans <wim@fluendo.com>
431 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
432 Added test for scaling.
437 * gst/gstutils.c: (gst_util_uint64_scale_int):
438 Implemented high precision scaling code.
440 2005-11-24 Stefan Kost <ensonic@users.sf.net>
443 do not crash on pad==NULL
445 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
447 Patch by: Stefan Kost
449 * common/gtk-doc.mak:
450 * docs/gst/Makefile.am:
451 * docs/libs/Makefile.am:
452 Fix distcheck issues for the libraries docs build
455 2005-11-24 Michael Smith <msmith@fluendo.com>
457 * docs/manual/basics-helloworld.xml:
458 Fix bug #315027: memory leak in example code in docs.
460 2005-11-24 Michael Smith <msmith@fluendo.com>
462 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
463 Unlock the PREROLL_LOCK in a failure case.
465 2005-11-24 Wim Taymans <wim@fluendo.com>
467 * docs/gst/gstreamer-sections.txt:
468 * gst/base/gstadapter.h:
469 * gst/base/gstbasesink.h:
470 * gst/base/gstbasesrc.h:
471 * gst/base/gstbasetransform.h:
472 * gst/base/gstpushsrc.h:
473 * gst/elements/gstfakesink.h:
474 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
475 * gst/elements/gstfakesrc.h:
476 * gst/elements/gstfilesink.h:
477 * gst/elements/gstfilesrc.h:
480 * gst/gstbuffer.c: (_gst_buffer_copy):
483 * gst/gstchildproxy.c:
486 * gst/gstelementfactory.c:
487 * gst/gstelementfactory.h:
491 * gst/gstinterface.h:
492 * gst/gstminiobject.c:
493 * gst/gstminiobject.h:
496 * gst/gstpadtemplate.h:
498 * gst/gstpluginfeature.h:
503 * gst/gsttagsetter.c:
504 * gst/gsttagsetter.h:
510 * gst/net/gstnetclientclock.c:
511 * gst/net/gstnetclientclock.h:
512 * gst/net/gstnettimepacket.c:
513 * gst/net/gstnettimeprovider.c:
514 * gst/net/gstnettimeprovider.h:
517 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
519 * configure.ac: back to HEAD
521 === release 0.9.6 ===
523 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
526 releasing 0.9.6, "Always On Time"
528 2005-11-23 Wim Taymans <wim@fluendo.com>
530 * docs/gst/gstreamer-sections.txt:
532 * gst/gsttagsetter.c:
534 * gst/net/gstnetclientclock.c:
535 * gst/net/gstnettimepacket.h:
538 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
540 * docs/faq/using.xml:
541 * docs/libs/tmpl/gstcontrol.sgml:
542 * docs/manual/advanced-dparams.xml:
543 * docs/manual/appendix-checklist.xml:
544 * docs/manual/basics-elements.xml:
545 * docs/pwg/other-source.xml:
546 * docs/random/moving-plugins:
548 * tools/gst-launch.1.in:
549 remove mentions of sinesrc
551 2005-11-23 Michael Smith <msmith@fluendo.com>
553 * docs/gst/gstreamer-sections.txt:
554 Update for new API and API changes.
556 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
558 Documentation typo fix.
559 * gst/net/gstnettimepacket.c:
560 Documentation fixes for arguments.
562 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
564 * gst/gststructure.c: (gst_structure_get_fraction),
565 (gst_structure_parse_value),
566 (gst_structure_fixate_field_nearest_fraction):
567 * gst/gststructure.h:
568 * gst/gstutils.c: (gst_util_uint64_scale_int):
570 * scripts/update-funcnames:
572 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
573 Make gst_structure_fixate_field_nearest_fraction take a numerator
574 and denominator argument instead of a GValue
575 add gst_structure_get_fraction helper function.
577 2005-11-23 Wim Taymans <wim@fluendo.com>
579 * docs/design/part-TODO.txt:
582 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
583 * gst/net/gstnetclientclock.h:
584 Use parent fields for timeout and window_size.
586 2005-11-23 Andy Wingo <wingo@pobox.com>
588 * check/net/gstnetclientclock.c (test_functioning): Adjust to
589 rate_num/rate_denom change.
591 * gst/net/gstnetclientclock.c
592 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
593 OBJECT_LOCK. Don't call add_observation with the lock.
595 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
597 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
599 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
600 deal with rate as a fraction whose numerator and denominator are
602 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
603 master; the other fields are protected by the SLAVE_LOCK.
604 (do_linear_regression): Note that this must be called with the
606 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
607 OBJECT_LOCK. Call set_calibration instead of touching the
609 (gst_clock_set_property, gst_clock_get_property): Protect
610 master/slave parameters with the SLAVE_LOCK.
612 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
613 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
614 note that all of the instance variables that add_observation and
615 the set_master functions use are protected by that lock and not
617 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
619 * gst/gstclock.c (gst_clock_add_observation): No longer requires
620 the caller to take the object lock.
622 2005-11-23 Wim Taymans <wim@fluendo.com>
624 * gst/gsterror.c: (_gst_core_errors_init):
626 Add error for clock stuff.
628 * gst/gstpipeline.c: (gst_pipeline_change_state),
629 (gst_pipeline_set_clock):
630 Post clock error when clock cannot be used in a pipeline.
632 2005-11-23 Stefan Kost <ensonic@users.sf.net>
634 * docs/gst/gstreamer-sections.txt:
635 make two symbols from gstinfo private for the docs
636 * gst/base/gstcollectpads.h:
638 fix doc typos, update docs
640 2005-11-22 Wim Taymans <wim@fluendo.com>
642 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
643 (gst_base_sink_wait), (gst_base_sink_do_sync),
644 (gst_base_sink_handle_event):
645 * gst/base/gstbasesink.h:
646 No need to store the clock, the parent element class already
649 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
650 Updates for clock_set returning a gboolean
652 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
653 (gst_clock_id_wait_async), (gst_clock_class_init),
654 (gst_clock_init), (gst_clock_finalize),
655 (gst_clock_get_internal_time), (gst_clock_get_time),
656 (gst_clock_slave_callback), (gst_clock_set_master),
657 (gst_clock_get_master), (do_linear_regression),
658 (gst_clock_add_observation), (gst_clock_set_property),
659 (gst_clock_get_property):
661 Implement master/slave. When setting a clock as a slave, a
662 periodic timeout is scheduled to sample master and slave times.
663 Then the slave clock is recalibrated to match offset and rate
665 Update logging a bit.
666 Add flag so that a clock can state that is cannot be slaved to
669 * gst/gstelement.c: (gst_element_set_clock):
671 The set clock returns a gboolean for when an element cannot
672 deal with the selected clock in the pipeline.
674 * gst/gstpipeline.c: (gst_pipeline_change_state),
675 (gst_pipeline_set_clock):
677 Handle the case where the selected clock cannot be set on
680 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
681 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
682 (gst_net_client_clock_set_property),
683 (gst_net_client_clock_get_property),
684 (gst_net_client_clock_observe_times):
685 * gst/net/gstnetclientclock.h:
686 Use regression code in GstClock parent, remove duplicated
689 2005-11-22 Michael Smith <msmith@fluendo.com>
691 * gst/gstutils.c: (gst_util_clock_time_scale):
693 * docs/gst/gstreamer-sections.txt:
694 Rename method to have extra underscore.
696 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
698 * gst/elements/Makefile.am:
699 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
700 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
701 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
702 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
703 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
704 * gst/elements/gstfakesrc.h:
705 * gst/gstqueue.c: (queue_leaky_get_type):
706 correctly fix GEnumValues so that nick is the short lowercase
708 * tools/gst-inspect.c: (print_element_properties_info):
709 also show the nick, since it's useful to use from parse_launch
713 2005-11-22 Michael Smith <msmith@fluendo.com>
715 * gst/gstutils.c: (gst_util_clocktime_scale):
717 * docs/gst/gstreamer-sections.txt:
718 Add util method for scaling a clocktime by a fraction. Useful
719 implementation is left as an exercise for the reader.
721 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
723 * gst/gstvalue.c: (gst_value_collect_fraction_range):
724 If needed, allocate storage in the destination value during
727 2005-11-22 Edward Hervey <edward@fluendo.com>
729 * docs/gst/gstreamer-sections.txt:
734 * gst/gstutils.c: (gst_util_set_object_arg):
735 * tools/gst-compprep.c: (main):
736 * tools/gst-inspect.c: (print_element_properties_info):
737 Removed GstURI, closes bug #321061
739 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
741 * check/gst/gststructure.c: (GST_START_TEST):
742 * gst/gststructure.c: (gst_structure_parse_value):
743 Oops, broke automatic string type parsing.
744 Add a test to catch it in future.
746 2005-11-22 Andy Wingo <wingo@pobox.com>
748 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
749 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
750 Actually rename the function implementations. Grr.
752 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
754 * check/gst/capslist.h:
756 * check/gst/gststructure.c: (GST_START_TEST),
757 (gst_structure_suite):
758 Test automatic value type detection in gst_structure_from_string.
759 * gst/gststructure.c: (gst_structure_parse_value):
760 Add fraction as a type we try and guess automatically in
761 caps/structure strings.
763 2005-11-22 Andy Wingo <wingo@pobox.com>
765 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
767 * gst/gsttagsetter.h:
768 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
769 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
770 (gst_tag_setter_add_tag_valist)
771 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
772 _add_values, _add_valist, and _add_valist_values. Since this is an
773 interface the function suffixes should be more explicit so
774 language binding don't end up with element.add_valist ->
775 gst_tag_setter_add_valist, for example. Fixes #322069.
777 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
779 * check/gst/gstcaps.c: (GST_START_TEST):
780 Extend caps string tests to check that a caps to string
781 conversion is reversible and produces the same caps.
783 * gst/gststructure.c: (gst_structure_value_get_generic_type):
784 Output "fraction" as the generic type fraction range, so caps
785 serialisation and deserialisation works.
786 * check/gst/capslist.h:
787 * gst/gstvalue.c: (gst_value_deserialize_fraction):
788 Support 'MIN' and 'MAX' for deserialising fractions.
790 2005-11-22 Andy Wingo <wingo@pobox.com>
792 * gst/gstevent.h (gst_event_new_new_segment)
793 (gst_event_parse_new_segment, gst_event_new_buffer_size)
794 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
795 Renamed from *_newsegment, *_buffersize, *_notarget.
797 * scripts/update-funcnames: New script, performs the changes
800 2005-11-22 Wim Taymans <wim@fluendo.com>
802 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
803 Make sure the GstFlowReturn is returned.
805 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
806 (gst_bus_add_signal_watch):
808 add gst_bus_add_signal_watch_full.
810 * gst/gstplugin.c: (gst_plugin_load_file):
813 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
815 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
816 Block the fakesrc srcpad when we send an event, to avoid
817 contention on the stream_lock causing random test failures.
819 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
821 * check/gst/gstvalue.c: (GST_START_TEST):
822 * gst/gstvalue.c: (gst_value_fraction_subtract):
825 2005-11-22 Stefan Kost <ensonic@users.sf.net>
828 include "gstchildproxy.h"
829 * gst/gstchildproxy.h:
830 * libs/gst/controller/gstcontroller.h:
831 use G_GNUC_NULL_TERMINATED
833 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
835 * check/gst/capslist.h:
836 * check/gst/gstcaps.c: (GST_START_TEST):
837 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
838 * gst/gststructure.c: (gst_structure_parse_range),
839 (gst_structure_fixate_field_nearest_fraction):
840 * gst/gststructure.h:
841 * gst/gstvalue.c: (gst_value_init_fraction_range),
842 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
843 (gst_value_collect_fraction_range),
844 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
845 (gst_value_set_fraction_range_full),
846 (gst_value_get_fraction_range_min),
847 (gst_value_get_fraction_range_max),
848 (gst_value_serialize_fraction_range),
849 (gst_value_transform_fraction_range_string),
850 (gst_value_compare_fraction_range),
851 (gst_value_deserialize_fraction_range),
852 (gst_value_intersect_fraction_fraction_range),
853 (gst_value_intersect_fraction_range_fraction_range),
854 (gst_value_subtract_fraction_fraction_range),
855 (gst_value_subtract_fraction_range_fraction),
856 (gst_value_subtract_fraction_range_fraction_range),
857 (gst_value_collect_fraction), (gst_value_fraction_multiply),
858 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
859 (gst_value_transform_string_fraction), (_gst_value_initialize):
861 Implement fraction ranges and extend GstFraction to support
862 arithmetic subtraction, as well as deserialization from integer
863 strings such as "100"
864 Add a testsuite as for int and double range set operations
866 2005-11-21 Andy Wingo <wingo@pobox.com>
870 * gst/gststructure.h: Add glib-compat.h.
872 2005-11-21 Wim Taymans <wim@fluendo.com>
874 * gst/gstbin.c: (gst_bin_change_state_func):
877 2005-11-21 Wim Taymans <wim@fluendo.com>
880 And add a nice define too.
882 2005-11-21 Wim Taymans <wim@fluendo.com>
884 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
885 (gst_segment_new), (gst_segment_free), (gst_segment_init),
886 (gst_segment_set_duration), (gst_segment_set_last_stop),
887 (gst_segment_set_seek), (gst_segment_set_newsegment),
888 (gst_segment_to_stream_time), (gst_segment_to_running_time),
891 Make binding friendly.
893 2005-11-21 Andy Wingo <wingo@pobox.com>
895 * gst/gsttagsetter.h:
897 * gst/gststructure.h:
899 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
902 * gst/gsterror.c (_gst_core_errors_init):
903 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
906 * gst/Makefile.am (gst_headers): Add glib-compat.h.
907 (noinst_HEADERS): noinst the -private.
909 2005-11-21 Michael Smith <msmith@fluendo.com>
913 Remove unimplemented declarations for which we can see no sensible
916 2005-11-21 Andy Wingo <wingo@pobox.com>
918 * gst/gst.h: Include glib-compat.h.
920 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
922 * gst/glib-compat.c: Include the public and the private header.
924 * gst/glib-compat-private.h: Copied here from glib-compat.h.
928 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
930 * check/gst/gstevent.c (create_custom_events): Check that
931 FLUSH_STOP is serialized.
933 * check/elements/identity.c (event_func):
934 * check/elements/fakesrc.c (event_func): No stream lock, the core
937 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
938 stream lock taking, yay.
940 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
941 ensure that core takes the stream lock.
943 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
946 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
947 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
948 it already. For the flush start we do take it though so we get the
949 right preroll state change messages.
951 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
952 the stream lock here, the core does it for us.
954 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
956 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
957 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
958 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
959 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
960 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
961 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
963 * gst/gstpad.c: Update for stream lock name change.
965 * gst/base/gstbasesink.c: Update for preroll lock name change.
967 2005-11-21 Wim Taymans <wim@fluendo.com>
969 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
970 (gst_clock_get_master):
972 * gst/gstsystemclock.c: (gst_system_clock_init):
973 Convert Clock flags to object flags.
974 Added methods to manage master/slave clocks.
976 2005-11-21 Wim Taymans <wim@fluendo.com>
978 * check/gst/gstsegment.c: (GST_START_TEST):
979 * docs/design/part-TODO.txt:
980 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
981 (gst_base_sink_event), (gst_base_sink_do_sync),
982 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
983 (gst_base_sink_query), (gst_base_sink_change_state):
984 * gst/base/gstbasesink.h:
985 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
986 (gst_base_src_default_newsegment),
987 (gst_base_src_configure_segment), (gst_base_src_do_seek),
988 (gst_base_src_get_range), (gst_base_src_loop),
989 (gst_base_src_change_state):
990 * gst/base/gstbasesrc.h:
991 * gst/base/gstbasetransform.c:
992 (gst_base_transform_prepare_output_buf),
993 (gst_base_transform_event), (gst_base_transform_change_state):
994 * gst/base/gstbasetransform.h:
995 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
996 (gst_collect_pads_event):
997 * gst/base/gstcollectpads.h:
998 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
999 (gst_fake_src_create):
1000 * gst/elements/gstfakesrc.h:
1001 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1002 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1003 (gst_segment_set_last_stop), (gst_segment_set_seek),
1004 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
1005 (gst_segment_to_running_time), (gst_segment_clip):
1007 More segment updates, replace code in plugins with segment
1010 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
1012 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
1013 Don't ignore sscanf results
1015 2005-11-21 Andy Wingo <wingo@pobox.com>
1017 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
1020 * *.c: Ran scripts/update-macros. Oh yes.
1022 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
1023 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
1026 * scripts/update-macros: New script. Run it on your files to
1027 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
1030 2005-11-21 Stefan Kost <ensonic@users.sf.net>
1032 * docs/gst/Makefile.am:
1033 * docs/gst/gstreamer-docs.sgml:
1034 * docs/gst/gstreamer-sections.txt:
1035 * docs/gst/gstreamer.types:
1037 more docs fixes, add new api to the docs
1039 2005-11-21 Andy Wingo <wingo@pobox.com>
1041 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
1042 state_broadcast call.
1044 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
1046 2005-11-21 Julien MOUTTE <julien@moutte.net>
1048 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
1049 function calls for arrays.
1051 2005-11-21 Stefan Kost <ensonic@users.sf.net>
1053 * docs/random/ensonic/media-device-daemon.txt:
1054 wild idea, can this be done?
1055 * docs/gst/gstreamer-sections.txt:
1060 * gst/gstpluginfeature.c:
1064 doc fixes and additions
1066 2005-11-21 Andy Wingo <wingo@pobox.com>
1068 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
1069 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
1070 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
1071 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
1072 private to the basesrc implementation.
1074 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
1075 behalf of event function if necessary. It should no longer be
1076 necessary to take the stream lock in pad's event functions. Fixes
1079 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
1080 * docs/gst/gstreamer-sections.txt:
1081 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
1082 (gst_structure_fixate_field_nearest_double),
1083 (gst_structure_fixate_field_boolean):
1084 * gst/gststructure.h:
1085 * win32/common/libgstreamer.def:
1086 * win32/gstreamer.def:
1088 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
1091 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
1093 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
1094 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
1095 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
1096 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
1097 (gst_fdsrc_uri_handler_init):
1098 * gst/elements/gstfdsrc.h:
1099 Port fd:// URI handler from 0.8 to fdsrc
1101 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1103 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
1104 (gst_value_serialize_fourcc):
1106 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
1107 consistent with our other format defines (#320324).
1109 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1111 * gst/gstvalue.c: (gst_value_is_fixed):
1112 Revert previous commit. Value lists are by definition
1113 not fixed, as they are a list of possible values.
1115 2005-11-21 Andy Wingo <wingo@pobox.com>
1117 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
1118 during the stable series if we need it. Fixes #319178.
1120 * gst/gstevent.c (gst_event_new_filler): Removed.
1122 * check/gst/gstevent.c: Update comment about filler events.
1124 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1126 * gst/gstvalue.c: (gst_value_is_fixed):
1127 Should handle both value arrays and value lists.
1129 2005-11-21 Andy Wingo <wingo@pobox.com>
1131 patch by: Alessandro Dessina <alessandro nnva org>
1133 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
1134 functions to access arrays. Fixes #321962.
1136 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1138 * docs/gst/gstreamer.types:
1139 gst_collectpads_get_type => gst_collect_pads_get_type.
1141 * gst/base/gstbasetransform.c:
1142 Remove unused SIGNAL_HANDOFF enum.
1144 2005-11-21 Andy Wingo <wingo@pobox.com>
1146 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
1147 the event type (upstream, downstream, serialized). Renamed
1148 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
1149 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
1150 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
1152 * gst/gstevent.c: Update for new CUSTOM event names.
1154 * check/gst/gstevent.c: Update check for new CUSTOM event names.
1157 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
1160 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1162 * docs/gst/gstreamer-sections.txt:
1163 * win32/common/libgstbase.def:
1164 * win32/libgstbase.def:
1165 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
1166 (gst_collect_pads_class_init), (gst_collect_pads_init),
1167 (gst_collect_pads_finalize), (gst_collect_pads_new),
1168 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
1169 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
1170 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
1171 (gst_collect_pads_start), (gst_collect_pads_stop),
1172 (gst_collect_pads_peek), (gst_collect_pads_pop),
1173 (gst_collect_pads_available), (gst_collect_pads_read),
1174 (gst_collect_pads_flush), (gst_collect_pads_event),
1175 (gst_collect_pads_chain):
1176 * gst/base/gstcollectpads.h:
1177 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
1178 unimplemented functions as unimplemented. Add padding to
1179 GstCollectData. (#320766, #320423)
1181 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1184 Improve docs for DURATION message (usage of duration parameter)
1187 2005-11-20 Wim Taymans <wim@fluendo.com>
1189 * check/Makefile.am:
1190 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
1194 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1195 (gst_segment_set_seek), (gst_segment_set_newsegment),
1196 (gst_segment_to_stream_time), (gst_segment_to_running_time),
1199 Added segment helper structure and methods. Not fully implemented
1201 Added segment check.
1203 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
1205 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1206 Add a deserialisation test for fractions
1207 * examples/metadata/read-metadata.c: (message_loop),
1208 (make_pipeline), (main):
1209 Fix up metadata reading sample.
1210 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1212 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1213 Don't try and fixate empty caps
1214 * gst/gst_private.h:
1215 Wrap in G_BEGIN_DECLS/G_END_DECLS
1216 * gst/gstvalue.c: (gst_value_collect_fraction),
1217 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
1218 (gst_value_transform_string_fraction),
1219 (gst_value_compare_fraction):
1220 Add some extra guards to ensure that we don't end up
1221 with an invalid denominator of 0 in a gstfraction and
1222 that fractions always get reduced.
1224 2005-11-20 Wim Taymans <wim@fluendo.com>
1226 * docs/gst/gstreamer-sections.txt:
1237 2005-11-20 Wim Taymans <wim@fluendo.com>
1239 * docs/design/part-TODO.txt:
1241 Make a proper enum of the flag.
1243 2005-11-19 Wim Taymans <wim@fluendo.com>
1245 * docs/design/part-TODO.txt:
1246 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
1247 (gst_format_to_quark), (gst_format_register):
1249 * gst/gstquery.c: (_gst_query_initialize),
1250 (gst_query_type_get_name), (gst_query_type_to_quark),
1251 (gst_query_type_register):
1253 Add type to quark and type to string conversions.
1255 2005-11-19 Andy Wingo <wingo@pobox.com>
1257 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
1260 2005-11-19 Wim Taymans <wim@fluendo.com>
1262 * docs/design/part-TODO.txt:
1263 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
1264 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
1265 (gst_bin_handle_message_func):
1267 Make message handling overridable.
1269 2005-11-19 Andy Wingo <wingo@pobox.com>
1271 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
1274 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
1276 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
1277 is a GstClockTime. Fixes #321710.
1279 * gst/gstclock.h (GstClock): Remove offset property. Add
1280 internal_calibration and external_calibration. Fix padding. Pad
1281 also by GstClockTime so we don't run into problems.
1283 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
1284 (gst_clock_get_rate_offset): Remove.
1285 (gst_clock_set_time_adjust): Remove. Fixes #321712.
1288 * gst/gstutils.c (g_static_rec_cond_wait)
1289 (g_static_rec_cond_timed_wait): Removed, no longer needed.
1291 * gst/gstbin.c: Remove terrible continue_state prototype.
1293 * gst/gstelement.h (gst_element_continue_state): Make public.
1296 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
1297 by continue_state. Fixes #319389.
1299 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
1300 Really fixes #168438. However I don't see anywhere where the
1301 filter function is called... stupid GStreamer...
1303 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
1304 don't have a dispose function, so it won't get called when the
1305 object is unreffed, but oh well!
1307 * gst/gstindex.c (gst_index_set_filter_full): New API function,
1308 allows a destroy function to be set so user_data can be freed.
1310 (gst_index_set_filter): Call gst_index_set_filter_full.
1312 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
1314 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
1315 string should produce an error, given the lack of a way to
1316 represent NULL strings. Fixes #165650.
1319 * gst/gstvalue.c (gst_value_array_append_value)
1320 (gst_value_array_prepend_value, gst_value_array_get_size)
1321 (gst_value_array_get_value): New API, copied from
1322 gst_value_list_*, only operates on arrays.
1323 (gst_value_list_append_value, gst_value_list_prepend_value)
1324 (gst_value_list_concat, gst_value_list_get_size)
1325 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
1327 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
1328 init_list, because it works on both.
1329 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
1330 (gst_value_copy_list_or_array): Renamed from copy_list.
1331 (gst_value_free_list_or_array): Renamed from free_list.
1332 (gst_value_collect_list_or_array): Renamed from collect_list.
1333 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
1334 (gst_value_list_or_array_peek_pointer): Renamed from
1336 (_gst_value_array_value_table, _gst_value_list_value_table):
1337 Update value table functions.
1338 (gst_value_compare_list_or_array): Renamed from compare_list.
1340 * gsttaglist.h: Whoops, foreach function returns void. Also fix
1344 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
1345 GstTagList*. Fixes #143472.
1347 * gst/gststructure.h: Clarify what the foreach/map functions can
1348 or can't do to their arguments.
1350 2005-11-18 Wim Taymans <wim@fluendo.com>
1352 * gst/gstclock.c: (gst_clock_set_calibration),
1353 (gst_clock_get_calibration):
1355 Calibration can be set with internal time equal to current
1358 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
1364 2005-11-18 Andy Wingo <wingo@pobox.com>
1367 * pkgconfig/gstreamer-net.pc.in:
1368 * pkgconfig/gstreamer-net-uninstalled.pc.in:
1369 * pkgconfig/Makefile.am: Add net pkgconfig files.
1371 2005-11-18 Stefan Kost <ensonic@users.sf.net>
1374 * gst/gstghostpad.c:
1380 2005-11-18 Andy Wingo <wingo@pobox.com>
1382 * gst/net/gstnetclientclock.c: Turn off debugging.
1384 * check/net/gstnetclientclock.c (test_functioning): Assert that the
1385 times connverge somewhat. Can't make a real test.
1387 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
1388 integer arithmetic. Return the minimum of the domain, which can be
1389 set as "internal" for gst_clock_set_calibration.
1390 (gst_net_client_clock_observe_times): Call _set_calibration.
1391 (gst_net_client_clock_new): Call _set_calibration instead of
1394 * check/net/gstnetclientclock.c (test_functioning): Use the right
1398 * gst/gstclock.c (gst_clock_get_calibration)
1399 (gst_clock_set_calibration): New functions, obsolete the ones I
1400 added yesterday. Doh. Precision issues mean we have to extrapolate
1401 from a point in the more recent past than 1970.
1402 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
1404 (gst_clock_adjust_unlocked): Use the right calibration data.
1406 2005-11-18 Edward Hervey <edward@fluendo.com>
1408 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
1409 Also reset the ->current_* values in READY->PAUSED
1411 2005-11-18 Andy Wingo <wingo@pobox.com>
1413 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
1414 Whoops, check the right fd. Also add some debugging.
1415 (gst_net_client_clock_observe_times): Adjust for int64 offset.
1416 (do_linear_regression): Add a crapload of debugging. Subtract off
1417 the minimum values from the input series to discard unneeded bits.
1418 Use only int arithmetic. There is still double arithmetic when
1419 calculating the intercept that needs fixing. Return boolean to
1420 indicate success; FALSE would mean the domain or range is too
1421 great. Still needs fixes.
1423 2005-11-18 Wim Taymans <wim@fluendo.com>
1425 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
1426 For the current position in stream time, we need to subtract
1429 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
1430 Release lock before calling the callback function of async
1433 2005-11-18 Andy Wingo <wingo@pobox.com>
1435 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
1436 Port goes all the way to MAXUINT16.
1438 * gst/net/gstnettimeprovider.c: Make the port range the same as
1439 for the kernel: 0 assigns, otherwise ports are less than
1442 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
1445 * check/net/gstnetclientclock.c (test_functioning): Add the start
1448 2005-11-18 Wim Taymans <wim@fluendo.com>
1450 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1451 (gst_bin_remove_func), (bin_bus_handler):
1453 Removing a clock provider from a bin, triggers a clock lost message
1454 so that a new clock will be selected.
1455 Adding a clock to a bin triggers a clock provider message.
1456 Make sure we reselect a clock when we received a clock lost message.
1457 Keep a reference to the element that provided the clock.
1459 2005-11-18 Andy Wingo <wingo@pobox.com>
1461 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
1462 the clock initially so it produces values around the base time.
1463 (gst_net_client_clock_class_init): Typo fix.
1464 (gst_net_client_clock_thread): Add note on when the socket gets
1467 2005-11-17 Wim Taymans <wim@fluendo.com>
1469 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
1470 Free remote and local time arrays.
1472 2005-11-17 Wim Taymans <wim@fluendo.com>
1474 * gst/net/gstnetclientclock.c: (do_linear_regression),
1475 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
1476 Fix compilation, uninitialized vars and a forgotten continue.
1478 2005-11-17 Andy Wingo <wingo@pobox.com>
1480 * check/Makefile.am (check_PROGRAMS):
1481 * check/net/gstnetclientclock.c: Add a most minimal test for the
1482 net client clock. More to come later.
1485 * gst/net/Makefile.am: Add netclientclock.
1487 * gst/net/gstnetclientclock.h:
1488 * gst/net/gstnetclientclock.c: New files, implement an untested
1489 GstClock that takes its time from a network time provider.
1490 Implements the algorithm in network-clock.scm.
1492 * tests/network-clock.scm (*window-size*): Rename from
1494 * tests/network-clock.scm (network-time):
1495 * tests/network-clock-utils.scm (q-push): Update callers.
1497 2005-11-17 Wim Taymans <wim@fluendo.com>
1499 * gst/gstbin.c: (gst_bin_provide_clock_func),
1500 (gst_bin_sort_iterator_new):
1501 And unref the child too..
1503 2005-11-17 Wim Taymans <wim@fluendo.com>
1505 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
1506 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
1507 Refactor the sort iterator so it can be used while holding the
1509 Make clock selection select a clock closest to the source.
1511 2005-11-17 Michael Smith <msmith@fluendo.com>
1513 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
1514 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
1516 Anonymous structs are a gcc (and some other compilers) extension, so
1517 don't use them. Since this is only for ABI-compatibility, and our
1518 API/ABI freeze is over in a few days, this whole thing will only
1519 last a few days, so don't bother trying to think up a meaningful
1520 name for the struct.
1522 2005-11-17 Andy Wingo <wingo@pobox.com>
1524 * gst/gstclock.h (GstClock): Add rate and offset properties,
1525 preserving ABI stability. Add rate/offset accessors. Will file bug
1526 for the freeze break.
1528 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
1529 and offset, trying to keep precision and avoiding
1531 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
1532 functions. Make gst_clock_set_time_adjust obsolete.
1533 (gst_clock_set_time_adjust): Note that this function is obsolete.
1536 * gst/base/gstbasetransform.h: Make the ABI-stability hack
1537 greppable by using GST_PADDING-1+1.
1539 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
1541 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1543 * gst/gstmessage.c: (gst_message_parse_clock_lost):
1544 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
1546 * gst/gstpadtemplate.h:
1547 * gst/gstpluginfeature.h:
1548 Don't use c++ style comments in headers (#321638).
1550 2005-11-16 Andy Wingo <wingo@pobox.com>
1552 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
1555 * check/net/gstnettimeprovider.c: Check to see that the time
1556 provider actually provides times. Works, yo!
1558 2005-11-16 Wim Taymans <wim@fluendo.com>
1560 * check/Makefile.am:
1563 * check/elements/fakesrc.c: (GST_START_TEST):
1564 Set element to NULL before disposing it.
1566 2005-11-16 Andy Wingo <wingo@pobox.com>
1568 * gst/net/Makefile.am:
1570 * gst/net/gstnettimeprovider.c:
1571 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
1572 provider, include it from gstnet.h, and add it to the build.
1574 * gst/net/gstnettimepacket.h:
1575 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
1576 sending and receiving.
1578 2005-11-16 Wim Taymans <wim@fluendo.com>
1580 * check/Makefile.am:
1581 Enable valgrind check.
1583 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
1584 (gst_fake_src_alloc_buffer):
1587 2005-11-16 Wim Taymans <wim@fluendo.com>
1589 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
1590 Call parent finalize too.
1592 2005-11-16 Wim Taymans <wim@fluendo.com>
1594 * check/Makefile.am:
1595 Enable valgrind check that should work fine now.
1597 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1598 * gst/gstqueue.c: (gst_queue_init):
1599 Fix memleaks in pad allocation.
1601 2005-11-16 Andy Wingo <wingo@pobox.com>
1603 * gst/net/Makefile.am:
1604 * gst/net/gstnet.h: New part of core to hold network elements and
1605 objects. Put in core because it exposes API that applications want
1606 to use. The library is named libgstnet-tempname right now because
1607 of the existing libgstnet in gst-plugins-base. Solution is
1608 probably to rename the one in plugins-base; will file a bug for
1611 * gst/net/gstnettimeprovider.c:
1612 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
1613 get_time call over the network.
1616 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
1618 * check/Makefile.am:
1619 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
1620 get additions shortly.
1622 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1624 * gst/gstpad.c: (gst_pad_new_from_static_template):
1626 add gst_pad_new_from_static_template functions
1627 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
1628 (gst_check_setup_sink_pad):
1629 * gst/elements/gsttee.c: (gst_tee_init):
1632 2005-11-16 Wim Taymans <wim@fluendo.com>
1634 * gst/gstpad.c: (gst_pad_pause_task):
1635 Removed warning, it's not really an error either.
1637 2005-11-16 Wim Taymans <wim@fluendo.com>
1639 * gst/base/gstbasetransform.c:
1640 (gst_base_transform_prepare_output_buf),
1641 (gst_base_transform_event):
1642 Check if the caps are NULL, this can happen if the element
1643 is shutting down and the pad caps are set to NULL.
1645 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1647 * gst/elements/gsttee.c: (gst_tee_init):
1648 fix pad template leak in tee
1650 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1652 * gst/glib-compat.c: (g_value_dup_gst_object):
1653 * gst/glib-compat.h:
1654 * gst/gstpad.c: (gst_pad_set_property):
1655 use gst_object_ref when setting the pad template; this will
1656 trigger the pad template leaks on GLib 2.6 and the slaves
1658 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1660 * gst/glib-compat.c: (gst_flags_get_first_value):
1661 * gst/glib-compat.h:
1662 * gst/gstregistryxml.c:
1663 remove functions copied from GLib 2.6
1665 2005-11-16 Michael Smith <msmith@fluendo.com>
1668 Don't link against VALGRIND_LIBS. That was always the wrong thing to
1669 do, but only breaks with newer valgrind versions. We're not a
1670 valgrind tool, we have no link-time dependencies on libcoregrind.
1672 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1674 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1679 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1681 * gst/base/gstbasesrc.c: (gst_base_src_init):
1682 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1683 * gst/gstqueue.c: (gst_queue_init):
1684 * gst/gstregistryxml.c: (load_feature):
1685 Revert all these unrefs, they don't even pass make check !
1687 2005-11-15 Johan Dahlin <johan@gnome.org>
1689 * gst/base/gstbasesrc.c: (gst_base_src_init):
1690 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1691 * gst/gstqueue.c: (gst_queue_init):
1692 Free pad templates, fixes a couple of leaks.
1694 2005-11-15 Daniel Fischer <dan at f3c dot com>
1696 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1698 * gst/gstpad.c: (gst_pad_get_property):
1699 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
1700 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
1703 2005-11-15 Wim Taymans <wim@fluendo.com>
1708 2005-11-15 Andy Wingo <wingo@pobox.com>
1710 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
1712 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
1713 using GST_CLOCK_TIME_NONE to disable base time management.
1714 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
1715 time if it was NONE before.
1716 (gst_pipeline_change_state): Only munge the base time if
1717 stream_time != GST_CLOCK_TIME_NONE.
1719 * check/gst/gstpipeline.c (test_base_time): Punt around the
1720 problem of the probe not being called, because that's not the
1721 issue I'm looking at. Add a check that setting stream_time to NONE
1722 disables base time management.
1724 2005-11-15 Wim Taymans <wim@fluendo.com>
1726 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
1727 segment_stop == -1 at startup.
1729 * gst/base/gstbasetransform.c: (gst_base_transform_event),
1730 (gst_base_transform_change_state):
1731 Init segment values at start.
1733 2005-11-15 Wim Taymans <wim@fluendo.com>
1735 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1736 0 segment values are 0 in any format.
1738 * gst/base/gstbasetransform.c: (gst_base_transform_event):
1739 * gst/base/gstbasetransform.h:
1740 Parse newsegment correctly in basetransform
1742 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1743 Sync to clock using updated segment values.
1745 2005-11-15 Andy Wingo <wingo@pobox.com>
1747 * check/gst/gstpipeline.c (test_base_time): Add check that the
1748 base time and stream time are reset correctly.
1750 2005-11-15 Wim Taymans <wim@fluendo.com>
1752 * docs/design/part-TODO.txt:
1753 Some more TODO items.
1755 2005-11-15 Andy Wingo <wingo@pobox.com>
1757 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
1758 error if the user selected "no clock" as the clocking method.
1760 * check/gst/gstpipeline.c (test_base_time): New test for buffer
1761 timestamps with live capture.
1763 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
1764 is 0 but we are a live source, timestamp the buffers using the
1767 2005-11-14 Stefan Kost <ensonic@users.sf.net>
1769 * docs/gst/gstreamer-sections.txt:
1771 * gst/gstghostpad.c:
1776 2005-11-14 Wim Taymans <wim@fluendo.com>
1779 add suppressions from Wim's Debian machine
1781 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
1784 add suppressions from Andy's AMD64 Ubuntu machine
1786 2005-11-14 Andy Wingo <wingo@pobox.com>
1788 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
1789 STATE_LOCK not necessary. Fixes #311489.
1791 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
1794 * gst/gstindex.c (gst_index_add_object): Note in the docs that
1795 this function is not implemented.
1797 2005-11-14 Julien MOUTTE <julien@moutte.net>
1799 * gst/base/gstbasetransform.c:
1800 (gst_base_transform_prepare_output_buf):
1801 Ref the source pad caps while we need them.
1804 2005-11-11 Wim Taymans <wim@fluendo.com>
1806 * docs/gst/gstreamer-sections.txt:
1807 Added some docs for GstCollectData.
1809 * gst/base/gstadapter.c:
1810 Some small code example fix.
1812 * gst/base/gstcollectpads.c:
1813 * gst/base/gstcollectpads.h:
1816 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
1818 * configure.ac: back to HEAD
1820 === release 0.9.5 ===
1822 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
1825 releasing 0.9.5, "Bike Lunch Day"
1827 2005-11-11 Wim Taymans <wim@fluendo.com>
1829 * gst/gstbuffer.c: (_gst_buffer_copy):
1832 * gst/gstcaps.c: (gst_caps_is_equal):
1834 Make _is_equal fast in the trivial cases.
1836 * gst/gstminiobject.c:
1837 * gst/gstminiobject.h:
1838 More docs. Spifify .h file.
1843 2005-11-11 Wim Taymans <wim@fluendo.com>
1845 * gst/base/gstbasetransform.c:
1846 (gst_base_transform_prepare_output_buf),
1847 (gst_base_transform_handle_buffer):
1849 If we're processing a buffer and need to allocate an output
1850 buffer, we cannot accept a format change. If we did get a
1851 format change, we have to alloc a buffer ourselves of the
1854 2005-11-11 Wim Taymans <wim@fluendo.com>
1856 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
1857 While checking the flag for reentrancy in the gstcaps function
1858 is nice to detect recursive invocations, it also makes it
1859 impossible to call getcaps from multiple threads, which must be
1860 possible. So, checking for recursive calls has to go.
1862 2005-11-11 Michael Smith <msmith@fluendo.com>
1864 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1865 Don't sync on buffers that fall partially outside our current
1866 segment. Prevents an assertion failure/abort playing some files.
1868 2005-11-10 Andy Wingo <wingo@pobox.com>
1870 * check/gst/gstbin.c (test_message_state_changed_children): Style
1873 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
1874 gst_bus_poll with the signal watch. Ensures that poll and a signal
1875 watch see the same messages.
1877 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
1878 a poll and a watch at the same time get the same messages.
1880 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
1882 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
1883 * gst/gstcaps.c: (gst_caps_intersect):
1884 Don't call gst_caps_do_simplify - it doesn't respect order of caps
1885 and it's not needed.
1887 2005-11-10 Wim Taymans <wim@fluendo.com>
1889 * docs/design/part-TODO.txt:
1892 2005-11-10 Wim Taymans <wim@fluendo.com>
1894 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1895 * gst/base/gstbasesrc.c: (gst_base_src_wait),
1896 (gst_base_src_do_sync), (gst_base_src_get_range):
1897 Implement clock sync in base class.
1899 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
1901 patch by: Tim-Philipp Müller <tim at centricular dot net>
1903 * gst/gststructure.c: (gst_structure_parse_field),
1904 (gst_structure_from_string):
1905 Forward-port a 0.8 patch to handle escaped spaces in structure string,
1906 so that gst_parse_launch() can deal with spaces in filtered link
1907 caps (fixes #164479)
1908 * check/gst/capslist.h:
1909 * check/gst/gststructure.c: (GST_START_TEST):
1910 add unit tests for this change
1912 2005-11-10 Wim Taymans <wim@fluendo.com>
1914 * docs/gst/gstreamer-sections.txt:
1917 Fix docs, move some STATE macros to private.
1919 2005-11-10 Wim Taymans <wim@fluendo.com>
1921 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
1922 Added check for bug #317341
1926 Some more spiffifying.
1928 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
1929 Call peer linkfunction if we are a source pad. Totally fixes
1933 Update docs, source pads should call the peer linkfunction
1934 so they can atomically perform the pad link.
1936 2005-11-09 Wim Taymans <wim@fluendo.com>
1940 Uber-spiffy-spiffify some more.
1942 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
1944 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
1945 * gst/elements/gstfilesink.c: (gst_file_sink_init):
1946 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1947 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
1948 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
1949 * gst/gstpad.c: (gst_pad_init):
1950 Use GST_DEBUG_FUNCPTR() more extensively.
1952 2005-11-09 Wim Taymans <wim@fluendo.com>
1954 * gst/gstobject.c: (gst_object_class_init):
1956 Documentation fixes.
1958 2005-11-09 Edward Hervey <edward@fluendo.com>
1960 * gst/gsttypefindfactory.c:
1963 2005-11-09 Edward Hervey <edward@fluendo.com>
1965 * gst/base/gsttypefindhelper.c:
1966 * gst/gsttypefind.c:
1967 * gst/gsttypefind.h:
1970 2005-11-09 Wim Taymans <wim@fluendo.com>
1972 * gst/gstiterator.c:
1979 2005-11-09 Wim Taymans <wim@fluendo.com>
1985 2005-11-09 Wim Taymans <wim@fluendo.com>
1987 * docs/gst/gstreamer-sections.txt:
1988 Moved the message async delivery private lock and cond
1989 to the private section.
1995 2005-11-09 Edward Hervey <edward@fluendo.com>
1997 * docs/gst/gstreamer-sections.txt:
2000 Document GstURIHandler
2002 2005-11-09 Wim Taymans <wim@fluendo.com>
2004 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
2005 (gst_iterator_find_custom):
2006 * gst/gstiterator.h:
2009 2005-11-09 Wim Taymans <wim@fluendo.com>
2012 Document another field.
2014 * gst/gststructure.c:
2015 * gst/gststructure.h:
2018 2005-11-09 Wim Taymans <wim@fluendo.com>
2023 2005-11-09 Wim Taymans <wim@fluendo.com>
2025 * docs/gst/gstreamer-sections.txt:
2026 Added some new macros.
2033 2005-11-09 Wim Taymans <wim@fluendo.com>
2035 * docs/design/part-TODO.txt:
2036 Some more items for the TODO
2042 2005-11-09 Andy Wingo <wingo@pobox.com>
2044 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
2045 to work on something else now tho...
2047 * gst/base/gstadapter.c: More adapter docs.
2049 * gst/elements/gstfilesink.c (gst_file_sink_start)
2050 (gst_file_sink_stop): New functions, replace the state change
2052 (gst_file_sink_class_init): Hook up the start and stop functions.
2053 (gst_file_sink_base_init): Don't set the state change handler any
2054 more. It was a bit ugly too, being set from here...
2055 (gst_file_sink_get_property, gst_file_sink_set_property):
2057 (gst_file_sink_set_location): More robust check that doesn't call
2060 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
2062 * gst/base/gstbasetransform.c: (gst_base_transform_event):
2063 Hold STREAM_LOCK while pushing newsegment or tag events as well.
2065 2005-11-08 Wim Taymans <wim@fluendo.com>
2067 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
2068 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
2069 (gst_base_sink_chain), (gst_base_sink_change_state):
2070 * gst/base/gstbasesink.h:
2071 * gst/base/gstbasesrc.h:
2074 Avoid excessive typechecking in macros.
2076 * gst/gstminiobject.c: (gst_mini_object_get_type),
2077 (gst_mini_object_init), (gst_mini_object_new),
2078 (gst_mini_object_free):
2079 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
2080 (gst_object_finalize):
2081 Remove cruft code, optimize alloc_trace.
2083 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
2085 * docs/faq/gst-uninstalled:
2086 fix up PS1 for systems that try to reset it
2088 2005-11-07 Wim Taymans <wim@fluendo.com>
2090 * gst/base/gstbasesrc.c: (gst_base_src_init),
2091 (gst_base_src_get_range):
2092 Set the segment_end to -1 initially. Fixed typefind.
2094 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
2096 * gst/base/gstadapter.c:
2097 Debug category should be 'adapter', not 'GstAdapter'.
2099 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
2100 (gst_collectpads_class_init), (gst_collectpads_init),
2101 (gst_collectpads_peek), (gst_collectpads_pop),
2102 (gst_collectpads_event), (gst_collectpads_chain):
2103 Add debug category and some debugging output. Use boilerplate
2104 macros. Remove some extraneous words from docs.
2106 2005-11-05 Andy Wingo <wingo@pobox.com>
2108 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
2111 2005-11-04 Stefan Kost <ensonic@users.sf.net>
2113 * docs/gst/gstreamer-sections.txt:
2116 * gst/gstminiobject.h:
2121 2005-11-04 Wim Taymans <wim@fluendo.com>
2123 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2124 Small update to stop at the configured segment_end
2127 2005-11-04 Stefan Kost <ensonic@users.sf.net>
2129 * gst/gstregistry.c:
2130 * gst/gstregistry.h:
2133 2005-11-04 Edward Hervey <edward@fluendo.com>
2135 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2136 Check if we are doing a segment seek and have arrived at the
2137 end of that segment.
2139 2005-11-04 Wim Taymans <wim@fluendo.com>
2141 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
2142 Don't leak a mutex unlock in case of an error.
2147 2005-11-04 Wim Taymans <wim@fluendo.com>
2149 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
2151 Get the context to wake up only once.
2153 2005-11-03 Wim Taymans <wim@fluendo.com>
2155 * check/states/sinks.c: (GST_START_TEST):
2156 Uncomment fixed check.
2158 * docs/design/part-TODO.txt:
2161 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2162 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
2163 (gst_base_sink_get_position):
2164 If we are going to PLAYING, post the right pending state
2165 when we post the intermediate paused message.
2167 * gst/gstelement.c: (gst_element_continue_state),
2168 (gst_element_set_state_func), (gst_element_change_state):
2169 Don't post state changes that were between the same state
2172 2005-11-03 Stefan Kost <ensonic@users.sf.net>
2174 * docs/gst/gstreamer-sections.txt:
2177 * gst/gstminiobject.h:
2180 more docs and doc style fixes
2182 2005-11-03 Stefan Kost <ensonic@users.sf.net>
2184 * docs/gst/gstreamer-sections.txt:
2186 * gst/gstminiobject.c:
2189 2005-11-03 Andy Wingo <wingo@pobox.com>
2191 * check/states/sinks.c (test_livesrc_sink): Add checks that the
2192 state-changed messages actually have the right order and the right
2195 2005-11-03 Wim Taymans <wim@fluendo.com>
2197 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
2198 Added some more checks. Specifically the case where NO_PREROLL
2199 elements are in the pipeline.
2201 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2202 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
2203 (gst_base_sink_get_position):
2204 Post READY->PAUSED state change messages too.
2205 Fix bug where VOID was posted as pending state...
2207 * gst/gstbin.c: (gst_bin_recalc_state):
2208 use _element_continue_state() to continue the state change.
2210 * gst/gstelement.c: (gst_element_continue_state),
2211 (gst_element_commit_state), (gst_element_set_state_func),
2212 (gst_element_change_state), (gst_element_change_state_func):
2213 Lots of state change cleanups, assign the STATE_RETURN in
2214 a new continue_state() function that also propagates the
2215 last return value from a state change to the app.
2216 Update some debug statements with proper category.
2218 2005-11-03 Wim Taymans <wim@fluendo.com>
2220 * docs/design/part-events.txt:
2221 * docs/design/part-gstpipeline.txt:
2222 * docs/design/part-messages.txt:
2223 * docs/design/part-overview.txt:
2224 * docs/design/part-seeking.txt:
2225 * docs/design/part-states.txt:
2226 * docs/design/part-trickmodes.txt:
2227 * docs/manual/advanced-position.xml:
2231 People think !! is ugly, this looks better.
2233 * gst/gstpad.c: (gst_pad_set_blocked_async):
2234 Remove !! since it's fixed elsewhere now.
2236 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
2238 * gst/gstminiobject.h:
2240 Add !! to _FLAG_IS_SET macros to make the result boolean.
2242 2005-11-03 Edward Hervey <edward@fluendo.com>
2244 * gst/gstpad.c: (gst_pad_set_blocked_async):
2245 comparing a flag and a gboolean rarely returns coherent results...
2246 Added two characters (!!) to make that work correctly.
2248 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
2250 * gst/gstbus.c: (gst_bus_class_init):
2253 * gst/gstqueue.c: (gst_queue_loop):
2254 Don't assume a miniobject that isn't a buffer is an
2255 event (it could be that there is a refcounting
2256 problem somewhere and the pointer is stale and
2257 refers to an already destroyed miniobject).
2259 2005-11-03 Julien MOUTTE <julien@moutte.net>
2261 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
2263 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
2265 * docs/manual/advanced-position.xml:
2266 Update seek example and explanations to current 0.9 API.
2268 * gst/elements/gsttypefindelement.c:
2269 (gst_type_find_element_activate):
2270 Remove FIXME comment now that the found caps
2273 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
2275 * gst/gstregistryxml.c: (load_feature):
2276 Add another GST_STR_NULL instance
2278 2005-11-02 Edward Hervey <edward@fluendo.com>
2280 * gst/gstpad.c: (handle_pad_block):
2281 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
2283 2005-11-02 Wim Taymans <wim@fluendo.com>
2288 * gst/gstelement.c: (gst_element_commit_state):
2289 Remove unused value.
2291 * gst/gstiterator.c:
2292 Mention that the returned element is reffed in the docs.
2294 2005-11-02 Wim Taymans <wim@fluendo.com>
2296 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
2297 (gst_pad_push), (gst_pad_push_event):
2298 Unlock blocked pads when they are flushed.
2300 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
2303 * docs/gst/gstreamer-sections.txt:
2306 * gst/gstregistry.c: (gst_registry_scan_path_level):
2307 fix for a nasty little missed situation where an installed plug-in
2308 which was in the cache did not get overridden by an uninstalled one
2309 which was earlier in the plugin path because the newly created plugin
2310 for the uninstalled one (not in the registry) didn't get its
2311 ->registered set to TRUE
2313 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
2315 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
2316 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
2317 (gst_collectpads_is_active), (gst_collectpads_collect),
2318 (gst_collectpads_collect_range), (gst_collectpads_start),
2319 (gst_collectpads_stop), (gst_collectpads_peek),
2320 (gst_collectpads_pop), (gst_collectpads_available),
2321 (gst_collectpads_read), (gst_collectpads_flush):
2322 Guard public API with assertions.
2325 Fix docs for gst_pad_set_link_function().
2327 2005-11-02 Johan Dahlin <johan@gnome.org>
2329 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
2330 Unref found_caps after we used it.
2332 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
2334 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
2335 Don't try to ref NULL.
2337 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
2339 * win32/common/config.h.in:
2340 provide a GST_FUNCTION that just gives a string for now
2342 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
2344 * win32/common/gstenumtypes.c: (register_gst_object_flags),
2345 (gst_object_flags_get_type), (register_gst_bin_flags),
2346 (gst_bin_flags_get_type), (register_gst_buffer_flag),
2347 (gst_buffer_flag_get_type), (register_gst_bus_flags),
2348 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
2349 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
2350 (gst_clock_return_get_type), (register_gst_clock_entry_type),
2351 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
2352 (gst_clock_flags_get_type), (register_gst_state),
2353 (gst_state_get_type), (register_gst_state_change_return),
2354 (gst_state_change_return_get_type), (register_gst_state_change),
2355 (gst_state_change_get_type), (register_gst_element_flags),
2356 (gst_element_flags_get_type), (register_gst_core_error),
2357 (gst_core_error_get_type), (register_gst_library_error),
2358 (gst_library_error_get_type), (register_gst_resource_error),
2359 (gst_resource_error_get_type), (register_gst_stream_error),
2360 (gst_stream_error_get_type), (register_gst_event_type),
2361 (gst_event_type_get_type), (register_gst_seek_type),
2362 (gst_seek_type_get_type), (register_gst_seek_flags),
2363 (gst_seek_flags_get_type), (register_gst_format),
2364 (gst_format_get_type), (register_gst_index_certainty),
2365 (gst_index_certainty_get_type), (register_gst_index_entry_type),
2366 (gst_index_entry_type_get_type),
2367 (register_gst_index_lookup_method),
2368 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
2369 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
2370 (gst_index_resolver_method_get_type), (register_gst_index_flags),
2371 (gst_index_flags_get_type), (register_gst_debug_level),
2372 (gst_debug_level_get_type), (register_gst_debug_color_flags),
2373 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
2374 (gst_iterator_result_get_type), (register_gst_iterator_item),
2375 (gst_iterator_item_get_type), (register_gst_message_type),
2376 (gst_message_type_get_type), (register_gst_mini_object_flags),
2377 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
2378 (gst_pad_link_return_get_type), (register_gst_flow_return),
2379 (gst_flow_return_get_type), (register_gst_activate_mode),
2380 (gst_activate_mode_get_type), (register_gst_pad_direction),
2381 (gst_pad_direction_get_type), (register_gst_pad_flags),
2382 (gst_pad_flags_get_type), (register_gst_pad_presence),
2383 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
2384 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
2385 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
2386 (gst_plugin_error_get_type), (register_gst_plugin_flags),
2387 (gst_plugin_flags_get_type), (register_gst_rank),
2388 (gst_rank_get_type), (register_gst_query_type),
2389 (gst_query_type_get_type), (register_gst_tag_merge_mode),
2390 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
2391 (gst_tag_flag_get_type), (register_gst_task_state),
2392 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
2393 (gst_alloc_trace_flags_get_type),
2394 (register_gst_type_find_probability),
2395 (gst_type_find_probability_get_type), (register_gst_uri_type),
2396 (gst_uri_type_get_type), (register_gst_parse_error),
2397 (gst_parse_error_get_type):
2398 * win32/common/gstversion.h:
2401 2005-11-01 Luca Ognibene <luogni@tin.it>
2404 fix docs. popt is dead, long live GOption.
2406 2005-10-31 Wim Taymans <wim@fluendo.com>
2411 2005-10-31 Andy Wingo <wingo@pobox.com>
2415 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
2417 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
2418 need to serialize property notifications on GLib 2.8. GLib 2.6 has
2419 the possibility of deadlocks here if code calling notify() or
2420 set() has a lock that can be taken in another notify handler (ABBA
2421 with class lock and e.g. python GIL state lock).
2423 2005-10-28 Julien MOUTTE <julien@moutte.net>
2425 * gst/gstbus.c: Doc updates.
2427 2005-10-28 Wim Taymans <wim@fluendo.com>
2429 * docs/design/part-TODO.txt:
2430 * gst/gstiterator.c:
2431 * gst/gstsystemclock.c:
2432 * gst/gstsystemclock.h:
2435 2005-10-28 Edward Hervey <edward@fluendo.com>
2437 * docs/gst/gstreamer-docs.sgml:
2438 * docs/gst/gstreamer-sections.txt:
2439 the GstURIType documentation page is private, it only defines GstURIType
2440 which should be defined in the GstURIHandler page
2442 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
2444 * gst/gstbin.c: (gst_bin_class_init):
2447 Documentation updates.
2449 2005-10-28 Wim Taymans <wim@fluendo.com>
2451 * docs/gst/gstreamer-sections.txt:
2454 Documented the clocks.
2456 2005-10-28 Stefan Kost <ensonic@users.sf.net>
2458 * docs/gst/gstreamer-sections.txt:
2459 move some macros to private sections
2460 * gst/gstminiobject.c:
2461 * gst/gstminiobject.h:
2462 add descriptions provided by ds and some more
2464 mark macro as to be removed
2466 2005-10-28 Wim Taymans <wim@fluendo.com>
2468 * docs/design/part-TODO.txt:
2469 Add an item to TODO.
2471 * gst/gstiterator.c: (gst_iterator_fold),
2472 (gst_iterator_find_custom):
2473 * gst/gstiterator.h:
2476 2005-10-28 Wim Taymans <wim@fluendo.com>
2478 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
2479 (gst_base_transform_init):
2482 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
2483 An EOS event marks the queue as completely filled.
2485 2005-10-27 Wim Taymans <wim@fluendo.com>
2487 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2488 (gst_base_sink_do_sync), (gst_base_sink_get_position):
2489 Some more debugging.
2491 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
2492 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
2493 (gst_base_transform_event), (gst_base_transform_getrange),
2494 (gst_base_transform_chain):
2495 * gst/base/gstbasetransform.h:
2497 Protect transform and concurrent buffer alloc with a new lock.
2498 Try not to break ABI/API.
2500 2005-10-27 Wim Taymans <wim@fluendo.com>
2502 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2503 (gst_base_src_init), (gst_base_src_query),
2504 (gst_base_src_default_newsegment),
2505 (gst_base_src_configure_segment), (gst_base_src_do_seek),
2506 (gst_base_src_send_event), (gst_base_src_event_handler),
2507 (gst_base_src_pad_get_range), (gst_base_src_loop),
2508 (gst_base_src_unlock), (gst_base_src_default_negotiate),
2509 (gst_base_src_start), (gst_base_src_deactivate),
2510 (gst_base_src_activate_push), (gst_base_src_change_state):
2511 Move some stuff around and cleanup things.
2513 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
2515 * gst/base/gstbasesrc.c: (gst_base_src_query):
2516 Add missing break statements.
2518 2005-10-27 Wim Taymans <wim@fluendo.com>
2520 * check/gst/gstbin.c: (GST_START_TEST):
2521 An extra refcount is taken in basesrc.
2523 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
2524 (gst_base_src_get_range), (gst_base_src_pad_get_range),
2525 (gst_base_src_loop):
2526 Small cleanups, check for flushing after being unlocked from the
2527 LIVE_LOCK. take refcounts correctly (not yet everywhere).
2528 Don't send out EOS when going to READY.
2530 2005-10-27 Wim Taymans <wim@fluendo.com>
2532 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2533 (gst_base_sink_get_position):
2536 * gst/gstbin.c: (message_check), (bin_replace_message),
2537 (bin_remove_messages), (is_eos), (gst_bin_add_func),
2538 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2539 (bin_query_duration_init), (bin_query_duration_fold),
2540 (bin_query_duration_done), (bin_query_generic_fold),
2542 * tools/gst-launch.c: (main):
2545 2005-10-26 Stefan Kost <ensonic@users.sf.net>
2547 * examples/controller/audio-example.c: (main):
2548 * examples/queue/queue.c: (event_loop):
2549 * gst/base/gstbasetransform.h:
2550 * gst/gstelement.c: (gst_element_send_event):
2552 * gst/gstpad.c: (gst_pad_send_event):
2555 changing log priority in error situations
2557 2005-10-25 Wim Taymans <wim@fluendo.com>
2559 * gst/gstbin.c: (message_check), (bin_replace_message),
2560 (bin_remove_messages), (is_eos), (gst_bin_add_func),
2561 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2562 (bin_query_duration_init), (bin_query_duration_fold),
2563 (bin_query_duration_done), (bin_query_generic_fold),
2565 Some doc and debug updates.
2566 Cache previously requested query DURATION for speed. invalidate
2567 cached duration if element posts a DURATION message.
2569 2005-10-25 Wim Taymans <wim@fluendo.com>
2571 * docs/design/part-TODO.txt:
2574 * gst/gstbin.c: (message_check), (bin_replace_message),
2575 (bin_remove_messages), (is_eos), (gst_bin_add_func),
2576 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2577 (bin_query_duration_init), (bin_query_duration_fold),
2578 (bin_query_duration_done), (bin_query_generic_fold),
2580 Handle SEGMENT_START/DONE messages correctly.
2581 More evolved query algorithm that handles duration queries
2584 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
2585 (gst_element_get_state_func), (gst_element_abort_state),
2586 (gst_element_commit_state), (gst_element_lost_state):
2587 Some more debugging.
2592 2005-10-25 Wim Taymans <wim@fluendo.com>
2594 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
2595 Don't use invalid stream_time.
2597 * gst/gstevent.c: (gst_event_new_newsegment):
2598 stream_time in newsegment cannot be undefined.
2600 2005-10-24 Wim Taymans <wim@fluendo.com>
2605 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
2607 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
2609 2005-10-24 Stefan Kost <ensonic@users.sf.net>
2611 * docs/libs/tmpl/gstdparam.sgml:
2612 * docs/libs/tmpl/gstdplinint.sgml:
2613 * docs/libs/tmpl/gstdpman.sgml:
2614 * docs/libs/tmpl/gstdpsmooth.sgml:
2615 * docs/libs/tmpl/gstunitconvert.sgml:
2618 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
2623 === release 0.9.4 ===
2625 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
2628 releasing 0.9.4, "Tyrannosaurus Rex"
2630 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
2632 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
2633 (gst_file_sink_get_current_offset):
2634 Use fseeko() and ftello() if available. When falling back on
2635 lseek() to get the current offset, fflush() first to make sure
2636 everything is up-to-date and we get the right offset.
2638 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
2640 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2641 * gst/base/gstbasesrc.c: (gst_base_src_loop):
2642 * gst/gsterror.c: (_gst_stream_errors_init):
2644 * gst/gstqueue.c: (gst_queue_loop):
2646 remove prematurely added error category and clean up the instances
2648 2005-10-21 Wim Taymans <wim@fluendo.com>
2650 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2651 (gst_base_sink_get_position), (gst_base_sink_query),
2652 (gst_base_sink_change_state):
2653 Simply set the right flag when going to playing, that's all
2654 we need to do instead of calling a function inside the object
2655 lock (that could take the lock as well and deadlock)
2657 2005-10-21 Wim Taymans <wim@fluendo.com>
2659 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
2660 (gst_base_src_loop):
2661 Don't warn, the peer element knows what to do best when
2662 the seek failed, it might try something else.
2664 2005-10-21 Wim Taymans <wim@fluendo.com>
2666 * gst/base/gstbasesrc.c: (gst_base_src_init),
2667 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
2670 2005-10-21 Wim Taymans <wim@fluendo.com>
2672 * docs/design/part-segments.txt:
2675 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
2676 Correctly set caps, even on the subbufer.
2678 2005-10-21 Wim Taymans <wim@fluendo.com>
2680 * docs/gst/gstreamer-docs.sgml:
2681 * docs/gst/gstreamer-sections.txt:
2688 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
2692 And 2% more doc coverage.
2694 2005-10-21 Andy Wingo <wingo@pobox.com>
2696 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
2699 2005-10-20 Wim Taymans <wim@fluendo.com>
2701 * gst/gsterror.c: (gst_error_get_message):
2704 * gst/gststructure.c:
2709 2005-10-20 Wim Taymans <wim@fluendo.com>
2714 Another 1% more coverage.
2716 2005-10-20 Wim Taymans <wim@fluendo.com>
2718 * docs/gst/gstreamer-sections.txt:
2719 * gst/gstelement.c: (gst_element_get_state_func),
2720 (gst_element_abort_state), (gst_element_commit_state),
2721 (gst_element_lost_state):
2723 * gst/gstquery.c: (gst_query_set_position),
2724 (gst_query_parse_position), (gst_query_set_duration),
2725 (gst_query_parse_duration), (gst_query_new_convert):
2727 Yay! 1% more docs coverage.
2729 2005-10-20 Wim Taymans <wim@fluendo.com>
2732 * gst/gstquery.c: (gst_query_set_position),
2733 (gst_query_parse_position), (gst_query_set_duration),
2734 (gst_query_parse_duration), (gst_query_new_convert):
2736 * gst/gstutils.c: (gst_element_query_convert):
2738 Docs and consistency fixes.
2740 2005-10-20 Wim Taymans <wim@fluendo.com>
2746 2005-10-20 Wim Taymans <wim@fluendo.com>
2748 * gst/gstbin.c: (message_check), (bin_replace_message),
2749 (bin_remove_messages), (is_eos), (gst_bin_add_func),
2750 (update_degree), (gst_bin_sort_iterator_next),
2751 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
2752 Reworked the message handling a bit, cache the messages instead of
2753 only the senders. alows us to do more in the future.
2755 2005-10-20 Wim Taymans <wim@fluendo.com>
2757 * docs/design/part-TODO.txt:
2760 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
2761 (gst_base_sink_query):
2762 Don't use clock time to report position when in EOS.
2764 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
2766 * tools/gst-inspect.c: (print_interfaces),
2767 (print_element_properties_info), (print_element_info):
2768 Fix interface output with gst-inspect -a; don't print
2769 newlines after double/float properties.
2771 2005-10-20 Wim Taymans <wim@fluendo.com>
2773 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
2774 (gst_base_sink_query):
2775 Speed up current position calculation.
2777 * gst/base/gstbasesrc.c: (gst_base_src_query),
2778 (gst_base_src_default_newsegment):
2779 Correctly set stream position in newsegment.
2781 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
2782 (update_degree), (gst_bin_sort_iterator_next),
2783 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
2784 * gst/gstmessage.c: (gst_message_new_custom):
2785 Clean up debugging info
2787 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
2788 (gst_queue_loop), (gst_queue_handle_src_query):
2791 2005-10-19 Wim Taymans <wim@fluendo.com>
2793 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2794 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
2795 Fix query handling again.
2797 2005-10-19 Wim Taymans <wim@fluendo.com>
2799 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2800 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
2801 * gst/base/gstbasesrc.c: (gst_base_src_query):
2802 * gst/elements/gstfilesink.c: (gst_file_sink_query):
2803 * gst/elements/gsttypefindelement.c:
2804 (gst_type_find_handle_src_query), (find_element_get_length),
2805 (gst_type_find_element_activate):
2808 * gst/gstquery.c: (gst_query_new_position),
2809 (gst_query_set_position), (gst_query_parse_position),
2810 (gst_query_new_duration), (gst_query_set_duration),
2811 (gst_query_parse_duration), (gst_query_set_segment),
2812 (gst_query_parse_segment):
2814 Bundling query position/duration is not a good idea since duration
2815 does not change much and we don't want to recalculate it for every
2816 position query, so they are separated again..
2817 Base value in segment query is not needed.
2819 * gst/gstqueue.c: (gst_queue_handle_src_query):
2820 * gst/gstutils.c: (gst_element_query_position),
2821 (gst_element_query_duration), (gst_pad_query_position),
2822 (gst_pad_query_duration):
2824 Updates for query API change.
2825 Added some docs here and there.
2827 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
2829 * check/gst/gstbin.c: (GST_START_TEST):
2830 * check/gst/gstghostpad.c: (GST_START_TEST):
2831 * check/pipelines/cleanup.c: (GST_START_TEST):
2832 wait on thread to die so we can check refcount correctly
2834 2005-10-18 Wim Taymans <wim@fluendo.com>
2836 * check/pipelines/stress.c: (GST_START_TEST):
2837 Make check a little more time consuming.
2839 2005-10-18 Wim Taymans <wim@fluendo.com>
2841 * check/Makefile.am:
2842 * check/pipelines/stress.c: (GST_START_TEST),
2843 (simple_launch_lines_suite), (main):
2844 Small state change torture test.
2846 * docs/design/part-states.txt:
2847 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2848 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
2849 (gst_base_sink_change_state):
2850 Never take state lock from streaming thread, clean up ugly
2851 hacks. Unfortunatly core does not yet support nice ways to
2854 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
2856 Start state recalc if a STATE_DIRTY message is posted, but only
2857 on the toplevel bin.
2859 * gst/gstelement.c: (gst_element_sync_state_with_parent),
2860 (gst_element_get_state_func), (gst_element_abort_state),
2861 (gst_element_commit_state), (gst_element_lost_state),
2862 (gst_element_set_state_func), (gst_element_change_state):
2864 State variables are now protected with the LOCK, the state
2865 lock is only used to serialize _set_state().
2867 2005-10-18 Wim Taymans <wim@fluendo.com>
2869 * check/gst/gstbin.c: (GST_START_TEST):
2870 * check/gst/gstmessage.c: (GST_START_TEST):
2871 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2872 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
2874 * gst/gstelement.c: (gst_element_abort_state),
2875 (gst_element_commit_state), (gst_element_lost_state):
2876 * gst/gstmessage.c: (gst_message_new_state_changed),
2877 (gst_message_new_state_dirty), (gst_message_new_segment_start),
2878 (gst_message_new_segment_done), (gst_message_new_duration),
2879 (gst_message_parse_state_changed),
2880 (gst_message_parse_segment_start),
2881 (gst_message_parse_segment_done), (gst_message_parse_duration):
2883 * tools/gst-launch.c: (event_loop):
2884 Seriously, this is better than a previous commit as we only need
2885 to notify the fact that an element changed state in a streaming
2886 thread, marking the state of the parents dirty, hence the
2887 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
2890 2005-10-18 Wim Taymans <wim@fluendo.com>
2892 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
2893 (gst_bin_recalc_func):
2894 * gst/gstelement.c: (gst_element_set_clock),
2895 (gst_element_abort_state), (gst_element_lost_state):
2896 Cleanups, prepare for state change fixes.
2898 2005-10-18 Wim Taymans <wim@fluendo.com>
2901 * gst/gstelement.c: (gst_element_class_init),
2902 (gst_element_set_state), (gst_element_set_state_func):
2904 Pending ABI changes.
2905 GThreadPool in GstBinClass to monitor async state changes.
2906 state_cookie in GstElement to detect concurrent gst/set state.
2907 set_state is now virtual too in case a very complicated element
2908 has to be constructed.
2910 2005-10-18 Wim Taymans <wim@fluendo.com>
2912 * check/gst/gstbin.c: (GST_START_TEST):
2913 * check/gst/gstmessage.c: (GST_START_TEST):
2914 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2915 * gst/gstbin.c: (bin_bus_handler):
2916 * gst/gstelement.c: (gst_element_commit_state),
2917 (gst_element_lost_state):
2918 * gst/gstmessage.c: (gst_message_new_state_changed),
2919 (gst_message_new_segment_start), (gst_message_new_segment_done),
2920 (gst_message_new_duration), (gst_message_parse_state_changed),
2921 (gst_message_parse_segment_start),
2922 (gst_message_parse_segment_done), (gst_message_parse_duration):
2924 * tools/gst-launch.c: (event_loop):
2925 Make messages future proof.
2926 state-change gets a flag if it was a message comming from the
2928 segment-start/stop can also be specified in other formats.
2929 A message to notify an app that a pipeline changed playback
2931 Also fix a GstMessage leak in -launch
2933 2005-10-18 Andy Wingo <wingo@pobox.com>
2935 * gst/gstelement.c (gst_element_dispose): More helpful message.
2937 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
2939 reviewed by: <delete if not using a buddy>
2941 * common/gtk-doc.mak:
2943 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
2945 * gst/gstregistry.c: (gst_registry_scan_path_level):
2946 unref a plug-in we get that was already initialized
2948 2005-10-18 Stefan Kost <ensonic@users.sf.net>
2950 * docs/gst/gstreamer-sections.txt:
2951 * docs/libs/gstreamer-libs-sections.txt:
2956 2005-10-17 Andy Wingo <wingo@pobox.com>
2958 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
2961 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
2963 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
2965 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
2966 (gst_element_get_state_func): Better debug message.
2967 (gst_element_commit_state): s/INFO/DEBUG/.
2968 (gst_element_lost_state, gst_element_change_state):
2970 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
2971 (gst_message_new_custom): s/INFO/LOG/.
2973 2005-10-17 Michael Smith <msmith@fluendo.com>
2975 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2976 Check if end time is valid using end time, not start time.
2978 2005-10-17 Stefan Kost <ensonic@users.sf.net>
2980 * check/gst-libs/controller.c: (GST_START_TEST),
2981 (gst_controller_suite):
2982 * libs/gst/controller/gstcontroller.c:
2983 (gst_controlled_property_set_interpolation_mode):
2984 * libs/gst/controller/gstcontroller.h:
2985 * libs/gst/controller/gstinterpolation.c:
2986 * testsuite/controller/.cvsignore:
2987 * testsuite/controller/Makefile.am:
2988 * testsuite/controller/interpolator.c:
2989 merge controller testsuites
2991 remove mem-chunk from docs
2993 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
2995 * gst/gstmemchunk.c:
2996 * gst/gstmemchunk.h:
2997 * gst/gsttrashstack.c:
2998 * gst/gsttrashstack.h:
2999 out. get out. you're fired. to the Attic !
3001 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
3003 * gst/gstcaps.c: (gst_caps_intersect):
3004 fix signedness issues in a (hopefully) correct way
3005 * gst/gstelement.c: (gst_element_pads_activate):
3007 * gst/gstobject.c: (gst_object_set_parent):
3010 2005-10-17 Julien MOUTTE <julien@moutte.net>
3012 * gst/gstvalue.h: Fix prototypes.
3014 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3016 * docs/gst/gstreamer-sections.txt:
3017 * gst/gst.c: (gst_version_string):
3019 * gst/gstversion.h.in:
3020 * win32/common/libgstreamer.def:
3021 add gst_version_string ()
3023 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3027 * gst/gst.c: (init_post):
3028 * win32/common/config.h.in:
3030 * gst/gstcaps.c: (gst_caps_intersect):
3031 use gint64, the range could be bigger than a guint
3033 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3036 document potential problem in 2038
3038 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3040 * gst/gstcaps.c: (gst_caps_intersect):
3041 Fix guint j diving under 0
3043 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3046 * win32/common/config.h:
3047 * win32/common/config.h.in:
3048 check for process.h, declares getpid() on Windows
3050 include process.h if we have it
3051 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
3052 * gst/gstmemchunk.h:
3053 fix signedness issues
3054 * win32/common/libgstreamer.def:
3057 2005-10-16 Julien MOUTTE <julien@moutte.net>
3059 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
3060 fix. Because of unsigned ints, caps intersection was going nuts and
3061 trying to access structures with G_MAXUINT index. That fixes
3062 videotestsrc ! ffmpegcolorspace ! fakesink
3063 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
3066 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3069 use the gettext macro
3070 * gst/elements/gstelements.c:
3072 * gst/indexers/gstindexers.c:
3073 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
3074 * win32/common/config.h:
3076 * win32/common/config.h.in:
3077 add the template to generate config.h
3078 * win32/common/gstenumtypes.c:
3079 * win32/common/gstversion.h:
3082 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3084 * gst/gst.c: (gst_version):
3085 * gst/gstversion.h.in:
3088 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
3091 Oops, add missing closing bracket.
3093 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3096 use common m4's for argument checking
3098 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
3100 * docs/gst/gstreamer-sections.txt:
3102 Add GST_EVENT_TYPE_NAME() macro.
3104 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3107 * gst/gstpluginfeature.c:
3109 privatize more symbols
3111 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3114 add srcdir, builddir includes to GST_ALL_CFLAGS, since
3115 everything that uses GStreamer API should have the includes
3117 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3119 * docs/gst/gstreamer-sections.txt:
3120 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3122 give each value a _get_type, removes the DATA exports
3124 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3128 remove _gst_registry_auto_load, not used anymore
3129 * gst/gstbin.c: (gst_bin_get_type):
3131 * gst/gstelement.c: (gst_element_get_type):
3133 * gst/gstobject.c: (gst_object_get_type):
3135 * gst/gstpad.c: (gst_pad_get_type):
3137 make _get_type functions similar, fixes data export from library
3139 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3142 correctly make conditionals
3143 * gst/elements/Makefile.am:
3144 * gst/elements/gstelements.c:
3145 fix typo causing fdsrc not to build
3147 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3149 * testsuite/Makefile.am:
3150 * testsuite/bytestream/.cvsignore:
3151 * testsuite/bytestream/Makefile.am:
3152 * testsuite/bytestream/filepadsink.c:
3153 * testsuite/bytestream/gstbstest.c:
3154 * testsuite/bytestream/test1.c:
3155 * testsuite/bytestream/testfile1:
3156 * testsuite/caps/normalisation.c:
3157 * testsuite/caps/random.c: (main):
3158 * testsuite/cleanup/.cvsignore:
3159 * testsuite/cleanup/Makefile.am:
3160 * testsuite/cleanup/cleanup1.c:
3161 * testsuite/cleanup/cleanup2.c:
3162 * testsuite/cleanup/cleanup3.c:
3163 * testsuite/cleanup/cleanup4.c:
3164 * testsuite/cleanup/cleanup5.c:
3165 * testsuite/controller/interpolator.c:
3166 * testsuite/debug/printf_extension.c: (main):
3167 * testsuite/elements/tee.c:
3168 * testsuite/negotiation/.cvsignore:
3169 * testsuite/negotiation/Makefile.am:
3170 * testsuite/negotiation/pad_link.c:
3171 * testsuite/pad/Makefile.am:
3172 * testsuite/pad/chainnopull.c:
3173 * testsuite/pad/getnopush.c:
3174 * testsuite/pad/link.c:
3175 * testsuite/refcounting/sched.c: (create_pipeline):
3176 * testsuite/registry/Makefile.am:
3177 * testsuite/registry/gst-print-formats.c:
3178 * testsuite/schedulers/.cvsignore:
3179 * testsuite/schedulers/142183-2.c:
3180 * testsuite/schedulers/142183.c:
3181 * testsuite/schedulers/143777-2.c:
3182 * testsuite/schedulers/143777.c:
3183 * testsuite/schedulers/147713.c:
3184 * testsuite/schedulers/147819.c:
3185 * testsuite/schedulers/147894-2.c:
3186 * testsuite/schedulers/147894.c:
3187 * testsuite/schedulers/Makefile.am:
3188 * testsuite/schedulers/group_link.c:
3189 * testsuite/schedulers/queue_link.c:
3190 * testsuite/schedulers/relink.c:
3191 * testsuite/schedulers/unlink.c:
3192 * testsuite/schedulers/unref.c:
3193 * testsuite/schedulers/useless_iteration.c:
3194 * testsuite/states/bin.c:
3195 clean out/remove some stuff from the testsuite directories
3197 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3200 check for some headers
3201 * gst/elements/Makefile.am:
3202 * gst/elements/gstelements.c:
3203 don't compile fdsrc without sys/socket.h
3204 * gst/indexers/Makefile.am:
3205 * gst/indexers/gstindexers.c: (plugin_init):
3206 don't compile fileindex without mmap
3208 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3215 * check/Makefile.am:
3216 * docs/gst/Makefile.am:
3217 * examples/helloworld/Makefile.am:
3219 * gst/base/Makefile.am:
3220 * gst/check/Makefile.am:
3221 * gst/elements/Makefile.am:
3222 * gst/indexers/Makefile.am:
3223 * gst/parse/Makefile.am:
3224 * libs/gst/controller/Makefile.am:
3225 * libs/gst/dataprotocol/Makefile.am:
3226 * examples/helloworld/helloworld.c: (event_loop):
3227 compile fixes, though it's not being compiled currently
3229 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
3231 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
3232 Add some simple tests for the new taglist date API.
3234 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
3236 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
3237 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
3238 Beautify 'last-message' output: print 'none' for buffer timestamps
3239 and durations if none is set; improve alignment with next messages.
3241 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
3243 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
3244 * gst/gstpluginfeature.h:
3245 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
3246 * gst/gstregistry.h:
3247 * docs/gst/gstreamer-sections.txt:
3248 Add new API to check plugin feature version requirements.
3250 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
3251 Some basic tests for the above.
3253 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3255 * gst/gststructure.c: (gst_structure_to_string):
3256 guard against NULL printf - happens when for example
3257 a message structure with GstClock gets serialized
3259 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
3261 * gst/base/gstcollectpads.c: (gst_collectpads_event):
3262 Fix presumable copy'n'pasto.
3264 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3266 * gst/elements/gstfakesrc.h:
3267 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
3268 * gst/elements/gsttypefindelement.c:
3270 * gst/elements/gstfilesink.c: (gst_file_sink_render):
3271 I wonder if this could actually write +2GB files before
3273 2005-10-13 Andy Wingo <wingo@pobox.com>
3275 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
3276 Fix Timmeke Waymans bug.
3277 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
3278 string of the proper length to gst_caps_from_string. There's a
3279 potential for, before this fix, that this could cause someone
3280 connecting over the network to cause a segfault if the payload is
3283 2005-10-13 Stefan Kost <ensonic@users.sf.net>
3285 * docs/design/draft-push-pull.txt:
3286 * docs/design/part-overview.txt:
3287 * docs/random/TODO-pre-0.9:
3288 * docs/random/old/ChangeLog.gstreamer:
3289 * gst/base/gstpushsrc.c:
3293 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3295 * gst/glib-compat.c: (gst_flags_get_first_value):
3296 * gst/glib-compat.h:
3297 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
3298 (gst_value_compare_double), (gst_value_serialize_flags):
3299 GLib 2.6 g_flags_get_first_value has a bug that triggers an
3302 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3304 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3305 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3307 * tools/gst-launch.c: (event_loop):
3308 print out clock nicely
3310 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
3312 * docs/gst/gstreamer-sections.txt:
3314 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
3315 (gst_tag_list_get_date_index):
3316 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
3317 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
3319 2005-10-13 Julien MOUTTE <julien@moutte.net>
3321 * gst/base/gstcollectpads.c: (gst_collectpads_event),
3322 (gst_collectpads_chain):
3323 * gst/base/gstcollectpads.h: Handle newsegment and store informations
3326 2005-10-13 Stefan Kost <ensonic@users.sf.net>
3328 * docs/gst/gstreamer-sections.txt:
3331 * tools/gst-inspect.c: (main):
3332 * tools/gst-launch.c: (main):
3333 * tools/gst-run.c: (main):
3334 * tools/gst-xmlinspect.c: (main):
3335 fix GOption context leaks
3338 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3342 * win32/common/config.h:
3344 * win32/vs6/grammar.dsp:
3345 * win32/vs6/libgstelements.dsp:
3346 * win32/vs6/libgstreamer.dsp:
3349 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
3351 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3352 * gst/base/gstbasesrc.c: (gst_base_src_query):
3353 fix more guint64<->gdouble conversions
3355 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
3358 add win32-update target
3359 * win32/common/gstconfig.h:
3360 * win32/common/gstenumtypes.c:
3361 * win32/common/gstenumtypes.h:
3362 * win32/common/gstversion.h:
3363 add files that visual studio can't generate
3365 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
3368 add a win32-update target
3371 2005-10-12 Wim Taymans <wim@fluendo.com>
3373 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3374 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
3375 * gst/gstelement.c: (gst_element_commit_state),
3376 (gst_element_set_state):
3377 Protect flags with proper lock.
3378 unref provided cached clock in dispose.
3380 2005-10-12 Stefan Kost <ensonic@users.sf.net>
3383 * gst/gstminiobject.h:
3385 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
3386 removed unused flags from miniobject
3389 2005-10-12 Wim Taymans <wim@fluendo.com>
3391 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
3392 (gst_file_sink_event), (gst_file_sink_render):
3393 Flush before seeking.
3395 2005-10-12 Andy Wingo <wingo@pobox.com>
3397 * gst/gst.c (gst_init_check): Ignore unknown options, as has
3398 always been the case.
3400 2005-10-12 Stefan Kost <ensonic@users.sf.net>
3402 * check/gst/gstbin.c: (GST_START_TEST):
3403 * docs/gst/gstreamer-sections.txt:
3404 * gst/base/gstbasesink.c: (gst_base_sink_init):
3405 * gst/base/gstbasesrc.c: (gst_base_src_init),
3406 (gst_base_src_get_range), (gst_base_src_check_get_range),
3407 (gst_base_src_start), (gst_base_src_stop):
3408 * gst/base/gstbasesrc.h:
3409 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
3410 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3411 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
3415 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
3417 * gst/gstelement.c: (gst_element_is_locked_state),
3418 (gst_element_set_locked_state), (gst_element_commit_state),
3419 (gst_element_set_state):
3421 * gst/gstindex.c: (gst_index_init):
3423 * gst/gstminiobject.h:
3424 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
3425 (gst_object_set_parent):
3427 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
3428 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
3430 * gst/gstpadtemplate.h:
3431 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
3432 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
3433 * gst/gstpipeline.h:
3434 * gst/indexers/gstfileindex.c: (gst_file_index_load),
3435 (gst_file_index_commit):
3436 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
3437 * testsuite/pad/link.c: (gst_test_src_init),
3438 (gst_test_filter_init), (gst_test_sink_init):
3439 * testsuite/states/locked.c: (main):
3440 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
3441 moved bitshift from macro to enum definition
3443 2005-10-12 Wim Taymans <wim@fluendo.com>
3445 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
3446 * gst/elements/gstfilesink.c: (gst_file_sink_event),
3447 (gst_file_sink_render):
3448 Some more debugging info.
3450 2005-10-12 Wim Taymans <wim@fluendo.com>
3452 * docs/design/part-states.txt:
3453 * tools/gst-launch.c: (main):
3455 Revert non-intentional change.
3457 2005-10-12 Wim Taymans <wim@fluendo.com>
3459 * check/gst/gstbin.c: (GST_START_TEST):
3460 * check/gst/gstelement.c: (GST_START_TEST):
3461 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
3462 * check/gst/gstghostpad.c: (GST_START_TEST):
3463 * check/gst/gstpipeline.c: (GST_START_TEST):
3464 * check/pipelines/simple_launch_lines.c: (run_pipeline):
3465 * check/states/sinks.c: (GST_START_TEST):
3466 * gst/elements/gsttypefindelement.c: (stop_typefinding):
3467 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
3468 (gst_bin_remove_func), (gst_bin_get_state_func),
3469 (gst_bin_recalc_state), (gst_bin_change_state_func),
3471 * gst/gstelement.c: (gst_element_get_state_func),
3472 (gst_element_get_state), (gst_element_abort_state),
3473 (gst_element_commit_state), (gst_element_set_state),
3474 (gst_element_change_state), (gst_element_change_state_func):
3476 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
3477 (gst_pipeline_provide_clock_func):
3478 * gst/gstutils.c: (gst_element_link_pads_filtered):
3479 * tools/gst-launch.c: (main):
3480 * tools/gst-typefind.c: (main):
3481 Use GstClockTime in _get_state() instead of GTimeVal.
3482 Remove old code in gstutils.c
3484 2005-10-12 Andy Wingo <wingo@pobox.com>
3486 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
3489 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
3490 there is no task. Shouldn't affect any code, as nothing in our
3491 plugins checks this return value.
3492 (gst_pad_stop_task): Also take the stream lock if the pad has no
3495 2005-10-12 Wim Taymans <wim@fluendo.com>
3497 * gst/gstpad.c: (pre_activate), (post_activate),
3498 (gst_pad_activate_pull), (gst_pad_activate_push):
3499 Cleanup activation code. Reset old state if
3502 2005-10-12 Wim Taymans <wim@fluendo.com>
3504 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3505 (gst_base_sink_change_state):
3506 No need to prerol after receiving EOS.
3508 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
3509 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
3510 * gst/elements/gstidentity.c: (gst_identity_event):
3511 Print events more verbosely.
3513 2005-10-12 Wim Taymans <wim@fluendo.com>
3515 * check/Makefile.am:
3516 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
3517 * check/states/sinks2.c:
3518 Moved sinks2 testcode in sinks check.
3520 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
3521 (gst_bin_remove_func), (gst_bin_recalc_state),
3522 (gst_bin_change_state_func), (bin_bus_handler):
3523 Fix potential race condition when _get_state() iterated over an
3524 ASYNC element right before it posted a state completion.
3527 Do proper cast here.
3529 * gst/gstevent.c: (gst_event_new_newsegment),
3530 (gst_event_parse_newsegment):
3531 A playback rate of 0.0 is not allowed.
3533 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3535 * win32/common/config.h:
3536 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
3537 (_trewinddir), (_ttelldir), (_tseekdir):
3538 * win32/common/dirent.h:
3539 * win32/common/gtchar.h:
3540 * win32/common/libgstbase.def:
3541 * win32/common/libgstreamer.def:
3542 * win32/vs6/grammar.dsp:
3543 * win32/vs6/gst_inspect.dsp:
3544 * win32/vs6/gst_launch.dsp:
3545 * win32/vs6/gstreamer.dsw:
3546 * win32/vs6/libgstbase.dsp:
3547 * win32/vs6/libgstelements.dsp:
3548 * win32/vs6/libgstreamer.dsp:
3549 Visual Studio 6 project files, and a new common directory.
3552 2005-10-11 Wim Taymans <wim@fluendo.com>
3554 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3555 (gst_base_sink_do_sync), (gst_base_sink_query),
3556 (gst_base_sink_change_state):
3557 * gst/base/gstbasesink.h:
3558 Correctly parse newsegment info.
3560 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3562 * gst/gst.c: (init_post):
3563 split plugin paths correctly
3565 2005-10-11 Wim Taymans <wim@fluendo.com>
3567 * check/gst/gstevent.c: (GST_START_TEST):
3568 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3569 (gst_base_sink_change_state):
3570 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
3571 * gst/base/gstbasetransform.c: (gst_base_transform_event):
3572 * gst/elements/gstfilesink.c: (gst_file_sink_event):
3573 * gst/gstevent.c: (gst_event_new_newsegment),
3574 (gst_event_parse_newsegment):
3576 Added extra flag to newsegment for future API freeze.
3577 Updated check and base elements.
3579 2005-10-11 Julien MOUTTE <julien@moutte.net>
3581 * gst/base/gstcollectpads.c: (gst_collectpads_init),
3582 (gst_collectpads_add_pad), (gst_collectpads_pop),
3583 (gst_collectpads_event), (gst_collectpads_chain):
3584 * gst/base/gstcollectpads.h: Handle EOS correctly.
3586 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3588 * tools/gst-launch.c: (main):
3589 more null protecting
3591 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3593 * gst/gst-i18n-lib.h:
3594 check for ENABLE_NLS, not GETTEXT_PACKAGE
3595 * gst/gstregistry.c: (gst_registry_add_plugin),
3596 (gst_registry_scan_path_level),
3597 (_gst_registry_remove_cache_plugins):
3598 protect possibly NULL strings
3599 * gst/parse/types.h:
3600 config.h already included before
3601 * tools/gst-inspect.c: (main):
3602 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
3603 check for ENABLE_NLS, not GETTEXT_PACKAGE
3604 * tools/gst-launch.c: (main):
3605 check for ENABLE_NLS, not GETTEXT_PACKAGE
3607 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3610 if we don't have glib, fail before testing 2.8
3611 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
3612 fix a leak, should fix plugins-base testsuite
3614 2005-10-11 Andy Wingo <wingo@pobox.com>
3616 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
3617 take the mode we're going to as an arg. Go head and set the mode
3618 and flushing flags now, so that if the activate function starts a
3619 thread all the flags will be in the right state.
3620 (post_activate): Renamed also. Just handle making sure streaming
3621 finishes for the deactivation case, and setting the deactivated
3623 (gst_pad_set_active): Complain loudly if deactivation fails.
3624 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
3625 (gst_pad_activate_push): Adapt to pre/post_activate changes,
3626 remove the terrible hack.
3628 2005-10-11 Wim Taymans <wim@fluendo.com>
3630 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
3631 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
3632 (gst_bin_recalc_state), (gst_bin_change_state_func),
3633 (gst_bin_dispose), (bin_bus_handler):
3635 Prepare to make current EOS message queue more generic.
3638 * gst/gstevent.c: (gst_event_new_newsegment),
3639 (gst_event_parse_newsegment):
3641 Rename base to stream_time.
3646 2005-10-11 Wim Taymans <wim@fluendo.com>
3648 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
3649 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
3650 (gst_bin_change_state_func), (bin_bus_handler):
3652 Work on proper clock selection.
3654 2005-10-11 Edward Hervey <edward@fluendo.com>
3656 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
3657 * libs/gst/controller/gstcontroller.h:
3658 Added GList* version of _remove_properties() in order to be able to wrap
3661 2005-10-11 Wim Taymans <wim@fluendo.com>
3663 * docs/design/part-states.txt:
3666 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
3667 (gst_bin_change_state_func), (bin_bus_handler):
3668 Doc updates. Don't distribute the same clock over and over again.
3674 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
3675 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
3676 (gst_pad_send_event):
3678 Make probe emission threadsafe again.
3679 Register quarks and move _get_name() from utils.
3682 * gst/gstpipeline.c: (gst_pipeline_class_init),
3683 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
3684 Only redistribute the clock of it changed.
3686 * gst/gstsystemclock.h:
3691 Moved the _flow_get_name() to GstPad.
3693 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3695 * check/gst-libs/gdp.c: (GST_START_TEST):
3696 * check/gst/gstcaps.c: (GST_START_TEST):
3697 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
3698 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
3699 (gst_dp_packet_from_caps):
3700 fix more valgrind warnings before turning up the heat
3702 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3704 * gst/parse/grammar.y:
3705 some cleanup before the hacking
3707 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
3709 * gst/base/gstbasesrc.c: (gst_base_src_query):
3711 * gst/gstutils.c: (gst_guint64_to_gdouble),
3712 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
3714 externalize, basesrc uses it
3715 obviously the implementation needs testing
3717 2005-10-10 Wim Taymans <wim@fluendo.com>
3719 * tests/sched/Makefile.am:
3720 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
3721 (make_pipeline3), (make_pipeline4), (print_elem), (main):
3723 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
3725 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
3726 apparently converting from guint64 to double is not implemented
3729 2005-10-10 Wim Taymans <wim@fluendo.com>
3731 * check/Makefile.am:
3732 * check/generic/states.c: (GST_START_TEST):
3733 * check/gst/gstbin.c: (GST_START_TEST):
3734 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
3735 * check/states/sinks.c: (GST_START_TEST):
3736 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
3738 Check fixes, use API as stated in design docs, remove hacks.
3740 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3741 (gst_base_sink_change_state):
3742 Catch stopping our task while we're shutting down.
3744 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
3745 (gst_bin_remove_func), (gst_bin_get_state_func),
3746 (gst_bin_recalc_state), (gst_bin_change_state_func),
3749 * gst/gstelement.c: (gst_element_init),
3750 (gst_element_get_state_func), (gst_element_abort_state),
3751 (gst_element_commit_state), (gst_element_lost_state),
3752 (gst_element_set_state), (gst_element_change_state),
3753 (gst_element_change_state_func):
3755 New state change algorithm (see #318116)
3757 * gst/gstpipeline.c: (gst_pipeline_class_init),
3758 (gst_pipeline_init), (gst_pipeline_set_property),
3759 (gst_pipeline_get_property), (do_pipeline_seek),
3760 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
3761 * gst/gstpipeline.h:
3762 Remove crude state change hacks.
3767 * tools/gst-launch.c: (main):
3768 Fixes for state change. Needs some more work to fully use the
3771 2005-10-10 Andy Wingo <wingo@pobox.com>
3773 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
3775 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
3776 this flag, but it's not even in GLib 2.6. Odd. Hack around the
3779 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
3781 * gst/gstiterator.c: (gst_iterator_new):
3782 Fix my previous commit: GTypes passed to gst_iterator_new()
3783 can be fundamental types.
3785 2005-10-10 Wim Taymans <wim@fluendo.com>
3787 * gst/gstelement.c: (gst_element_iterate_pad_list),
3788 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
3789 (gst_element_iterate_sink_pads):
3790 Use src/sink pads lists for the respective iterators instead
3793 2005-10-10 Andy Wingo <wingo@pobox.com>
3795 Merged in popt removal + GOption addition patch from Ronald, bug
3798 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
3799 GstElement macros around, remove popt-related symbols, add goption
3802 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
3804 * docs/gst/Makefile.am:
3805 * docs/libs/Makefile.am: No POPT_CFLAGS.
3807 * examples/manual/Makefile.am:
3808 * docs/manual/basics-init.xml: Doc updates with an example.
3810 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
3811 (gst_init), (parse_one_option), (parse_goption_arg):
3812 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
3813 bit of hand merging and debugging to get the GOption stuff working
3816 * tests/Makefile.am:
3817 * tools/Makefile.am:
3818 * tools/gst-inspect.c: (main):
3819 * tools/gst-launch.c: (main):
3820 * tools/gst-run.c: (main):
3821 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
3823 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
3825 * gst/gstiterator.c: (gst_iterator_new):
3826 Add assertions to make sure passed GType is likely to really
3827 be a GType (as the compiler won't catch it if the size and
3828 GType arguments get mixed up, see #318447).
3830 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
3832 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
3834 * gst/gstbin.c: (gst_bin_iterate_sorted):
3835 Pass GType and size arguments to gst_iterator_new() in the right
3836 order (maybe we should make _new() take the GType as first argument
3837 just like _new_list()?) (#318447).
3840 2005-10-10 Wim Taymans <wim@fluendo.com>
3842 * gst/gstelement.c: (gst_element_finalize):
3843 And free the GStaticRecMutex too
3845 2005-10-10 Andy Wingo <wingo@pobox.com>
3847 * gst/gstelement.c (gst_element_init, gst_element_finalize):
3848 Allocate and free the mutex properly.
3850 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
3852 (GstElement): The state_lock is now recursive. Rebuild your
3853 plugins, suckers. Old macros adapted.
3855 * docs/gst/gstreamer-sections.txt: Doc updates.
3858 * gst/gstutils.c (g_static_rec_cond_timed_wait)
3859 (g_static_rec_cond_wait): Ported from state changes patch, while
3860 we wait on bug #317802 to be solved in a well-distributed GLib.
3862 * gst/gstelement.c (gst_element_change_state_func): Renamed from
3863 gst_element_change_state, variable name changes.
3864 (gst_element_change_state): Split out of gst_element_set_state in
3865 preparation for the state change merge. Doesn't pay attention to
3866 the 'transition' argument.
3867 (gst_element_set_state): Updates, hopefully purely cosmetic.
3868 (gst_element_sync_state_with_parent): MT-safety. Ported from the
3870 (gst_element_get_state_func): Renamed from get_state, cosmetic
3873 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
3875 * gst/elements/gstelements.c:
3876 * win32/GStreamer.vcproj:
3878 * win32/dirent.c: (_tseekdir):
3879 * win32/gst-inspect.vcproj:
3880 * win32/gst-launch.vcproj:
3881 * win32/gstconfig.h:
3882 * win32/gstelements.vcproj:
3883 * win32/gstenumtypes.c: (gst_object_flags_get_type):
3884 * win32/gstreamer.def:
3886 updates for the win32 build (patch from Sebastien Moutte)
3888 2005-10-10 Andy Wingo <wingo@pobox.com>
3890 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
3891 gst_bin_get_state, cleaned up (but no logic changes).
3892 (bin_element_is_sink): Comment updates.
3893 (sink_iterator_filter): Remove needless cast.
3894 (gst_bin_iterate_sinks): Doc update.
3895 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
3896 cleaned up (but no logic changes).
3898 * check/states/sinks.c (test_src_sink): Cleanups from the state
3900 (test_livesrc_sink): Sync on the state.
3902 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
3903 the state change patch.
3905 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
3908 * check/gst/gstbin.c: Merge in some style fixes and additional
3909 checks from Wim's state change patch.
3911 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
3913 * gst/base/gsttypefindhelper.c: (helper_find_peek),
3914 (gst_type_find_helper):
3915 Check whether we have the requested data already in our list of
3916 cached buffers before pulling a new buffer; also make the buffer
3917 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
3919 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
3924 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
3925 don't use long long, it's not portable. Replacing with
3926 gint64 seems to work; let's hope no skeletons fall out of the closet.
3928 2005-10-10 Andy Wingo <wingo@pobox.com>
3930 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
3932 2005-10-09 Stefan Kost <ensonic@users.sf.net>
3934 * docs/gst/gstreamer-sections.txt:
3939 * gst/gstmessage.c: (gst_message_parse_state_changed):
3942 more docs, fix compilation
3944 2005-10-09 Philippe Khalaf <burger@speedy.org>
3946 Fixed a few forgotten variables on previous commit
3948 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
3950 * gst/base/gsttypefindhelper.c: (helper_find_peek):
3951 Fix evil typefind crasher: getrange() might return a short
3952 buffer at the end of a file, but gst_type_find_peek() must
3953 either return the full data as requested or NULL, but
3954 never a short buffer.
3956 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
3958 * gst/gstmessage.c: (gst_message_new_state_changed),
3959 (gst_message_parse_state_changed):
3961 don't use "new", it's a C++ keyword
3963 2005-10-08 Wim Taymans <wim@fluendo.com>
3965 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
3966 * gst/gstelement.c: (gst_element_post_message):
3967 * gst/gstpipeline.c: (gst_pipeline_change_state):
3968 Small docs and debug updates.
3970 2005-10-08 Stefan Kost <ensonic@users.sf.net>
3972 * docs/gst/gstreamer-sections.txt:
3973 * gst/gstelementfactory.c:
3978 2005-10-08 Wim Taymans <wim@fluendo.com>
3980 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
3981 (gst_bin_dispose), (bin_bus_handler):
3982 Fix typos, add comments.
3983 Clear EOS list when going to PAUSED from any direction and do it
3984 in a threadsafe way.
3985 Get base time in a threadsafe way too.
3986 Fix confusing debug in the change_state function.
3987 Various other small cleanups.
3989 * gst/gstelement.c: (gst_element_post_message):
3990 Fix very verbose bus posting code.
3992 * gst/gstpipeline.c: (gst_pipeline_class_init),
3993 (gst_pipeline_set_property), (gst_pipeline_get_property),
3994 (gst_pipeline_change_state):
3995 Small ARG_ -> PROP_ cleanup
3997 2005-10-08 Wim Taymans <wim@fluendo.com>
3999 * gst/gstbin.c: (is_eos), (bin_bus_handler):
4000 Do a less CPU demanding EOS check because we can.
4002 2005-10-08 Wim Taymans <wim@fluendo.com>
4004 * libs/gst/dataprotocol/dataprotocol.c:
4005 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
4006 (gst_dp_packet_from_event):
4007 * libs/gst/dataprotocol/dataprotocol.h:
4008 * libs/gst/dataprotocol/dp-private.h:
4009 It's about time we bump the version number.
4010 Since event types don't fit in the guint8 anymore describing
4011 the payload type, make payload type 16 bits wide.
4013 2005-10-08 Wim Taymans <wim@fluendo.com>
4015 * docs/design/part-TODO.txt:
4016 * docs/design/part-clocks.txt:
4017 * docs/design/part-events.txt:
4018 * docs/design/part-gstbin.txt:
4019 * docs/design/part-gstelement.txt:
4020 * docs/design/part-gstpipeline.txt:
4021 * docs/design/part-live-source.txt:
4022 * docs/design/part-messages.txt:
4023 * docs/design/part-overview.txt:
4024 * docs/design/part-states.txt:
4027 2005-10-08 Wim Taymans <wim@fluendo.com>
4031 Fix event quark registration.
4032 Add some space between events so we can insert them in the
4035 2005-10-08 Wim Taymans <wim@fluendo.com>
4037 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4038 (gst_base_sink_handle_buffer):
4045 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
4046 (gst_queue_set_property), (gst_queue_get_property):
4048 Remove old unused properties.
4050 2005-10-08 Stefan Kost <ensonic@users.sf.net>
4051 * docs/gst/gstreamer-sections.txt:
4054 * gst/gstminiobject.c:
4055 * gst/gstminiobject.h:
4059 lots of new docs and doc fixes
4061 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4063 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
4065 * gst/gstregistry.c: (gst_registry_lookup_locked),
4066 (gst_registry_scan_path_level):
4067 * gst/gstregistryxml.c: (load_plugin):
4068 Only ever load one plugin for a given plugin basename.
4069 This ensures correct overriding of GST_PLUGIN_PATH over
4070 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
4071 system installed plugins.
4073 2005-10-08 Wim Taymans <wim@fluendo.com>
4075 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4076 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
4077 Prepare for doing QOS.
4079 2005-10-08 Wim Taymans <wim@fluendo.com>
4081 * check/gst/gstbin.c: (GST_START_TEST):
4082 * check/pipelines/cleanup.c: (GST_START_TEST):
4083 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
4084 Allow new clock message too.
4086 2005-10-08 Wim Taymans <wim@fluendo.com>
4088 * gst/gstmessage.c: (gst_message_new_error),
4089 (gst_message_new_warning), (gst_message_new_tag),
4090 (gst_message_new_state_changed), (gst_message_new_clock_provide),
4091 (gst_message_new_clock_lost), (gst_message_new_new_clock),
4092 (gst_message_new_segment_start), (gst_message_new_segment_done),
4093 (gst_message_parse_state_changed),
4094 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
4095 (gst_message_parse_new_clock):
4097 Also carry the clock in question.
4099 2005-10-08 Wim Taymans <wim@fluendo.com>
4101 * gst/gstmessage.c: (gst_message_new_custom),
4102 (gst_message_new_eos), (gst_message_new_error),
4103 (gst_message_new_warning), (gst_message_new_tag),
4104 (gst_message_new_state_changed), (gst_message_new_clock_provide),
4105 (gst_message_new_new_clock), (gst_message_new_segment_start),
4106 (gst_message_new_segment_done), (gst_message_parse_state_changed),
4107 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
4110 Added clock related messages.
4112 * gst/gstpipeline.c: (gst_pipeline_change_state):
4113 Post message when the clock changed.
4115 * tools/gst-launch.c: (event_loop):
4118 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
4120 * tools/gst-inspect.c: (print_element_properties_info):
4121 Can't pass NULL strings to g_print() on windows.
4123 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4126 * docs/gst/Makefile.am:
4127 * docs/gst/gstreamer-docs.sgml:
4128 * docs/gst/running.xml:
4129 * docs/version.entities.in:
4130 add a chapter on running GStreamer.
4131 document GST_DEBUG and GST_PLUGIN* env vars
4133 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4138 remove PLUGINS_BUILDDIR stuff
4139 * gst/gst.c: (init_post):
4140 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
4142 remove, it was condescending and not needed
4144 2005-10-08 Wim Taymans <wim@fluendo.com>
4146 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4147 (gst_base_sink_handle_object), (gst_base_sink_event),
4148 (gst_base_sink_wait), (gst_base_sink_handle_event),
4149 (gst_base_sink_change_state):
4150 * gst/base/gstbasesink.h:
4151 Repost EOS message while going to PLAYING if still EOS.
4152 Make sure that when receiving a FLUSH_START we don't attempt
4153 to sync on the clock anymore.
4155 2005-10-08 Wim Taymans <wim@fluendo.com>
4157 * tools/gst-launch.c: (event_loop):
4158 Better message printout.
4160 2005-10-08 Wim Taymans <wim@fluendo.com>
4162 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
4163 (gst_bin_child_proxy_get_children_count):
4164 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
4165 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
4166 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
4167 (gst_child_proxy_set_valist):
4168 * gst/parse/grammar.y:
4169 Make ChildProxy threadsafe and fix mem leaks.
4171 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4173 * gst/gst.c: (init_post):
4174 debug the GST_PLUGIN_ env vars
4176 2005-10-08 Wim Taymans <wim@fluendo.com>
4178 * check/gst/gstbin.c: (GST_START_TEST):
4179 * check/gst/gstmessage.c: (GST_START_TEST):
4180 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
4181 * gst/gstelement.c: (gst_element_commit_state),
4182 (gst_element_lost_state):
4183 * gst/gstmessage.c: (gst_message_new_state_changed),
4184 (gst_message_parse_state_changed):
4186 * tools/gst-launch.c: (event_loop):
4187 Added extra field to STATE_CHANGE message with the pending
4188 state, which will be different from the new state soon.
4190 2005-10-08 Wim Taymans <wim@fluendo.com>
4192 * gst/gstbus.c: (gst_bus_pop):
4194 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
4195 Small cleanups and doc updates.
4197 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4199 * gst/gst.c: (init_pre):
4200 * gst/gstbin.c: (gst_bin_add_func):
4201 log distributing clocks and base time
4202 * gst/gstregistry.c: (gst_registry_add_plugin),
4203 (gst_registry_scan_path_level), (gst_registry_scan_path):
4204 clean up the debugging output a little
4205 * gst/gstutils.c: (gst_element_state_get_name):
4206 warn about a memleak (I've actually seen this be used, though
4207 it was probably a bug)
4209 2005-10-07 Wim Taymans <wim@fluendo.com>
4211 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4212 (gst_base_src_init), (gst_base_src_default_newsegment),
4213 (gst_base_src_newsegment), (gst_base_src_do_seek),
4214 (gst_base_src_loop), (gst_base_src_start):
4215 * gst/base/gstbasesrc.h:
4216 Make the newsegment event customizable by subclasses.
4218 2005-10-07 Wim Taymans <wim@fluendo.com>
4220 * gst/gstevent.c: (gst_event_new_buffersize),
4221 (gst_event_parse_buffersize):
4223 New event for future idea.
4225 2005-10-07 Andy Wingo <wingo@pobox.com>
4227 * gst/gstelement.c (gst_element_post_message): Doc update.
4229 * docs/gst/gstreamer-sections.txt: Update.
4231 * gst/gstmessage.c (gst_message_new_application): Made into a
4232 function like honest API calls.
4233 (gst_message_new_element): New message type.
4235 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
4237 * check/elements/fakesrc.c (test_no_preroll): New check, checks
4238 that setting a live fakesrc to PAUSED returns NO_PREROLL both
4241 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
4242 NO_PREROLL from gst_element_change_state to fall through.
4244 2005-10-07 Wim Taymans <wim@fluendo.com>
4246 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
4247 (gst_ghost_pad_do_activate_push):
4248 Activating a ghostpad with no internal pad in push mode
4251 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
4254 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
4255 Fixes compilation on Windows.
4257 2005-10-07 Michael Smith <msmith@fluendo.com>
4259 * tools/gst-inspect.c:
4260 Print out feature and plugin count at the end when printing out
4263 2005-10-04 Michael Smith <msmith@fluendo.com>
4265 * gst/gsterror.c: (_gst_stream_errors_init):
4266 Add another error string used in a few existing plugins.
4269 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
4270 * tools/gst-inspect.c: (print_element_info):
4271 When a feature disappears from a plugin (and the feature exists in
4272 the cached registry file), things went horribly wrong. This isn't a
4273 complete fix, we should actually be removing the 'missing' features
4274 from the features list when we load the actual plugin. That's not
4277 2005-10-04 Johan Dahlin <johan@gnome.org>
4279 * check/gst/gstiterator.c: (GST_START_TEST):
4280 * gst/gstbin.c: (gst_bin_iterate_elements),
4281 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
4282 * gst/gstelement.c: (gst_element_iterate_pads):
4283 * gst/gstformat.c: (gst_format_iterate_definitions):
4284 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
4285 (gst_iterator_new_list), (gst_iterator_filter):
4286 * gst/gstiterator.h:
4287 * gst/gstquery.c: (gst_query_type_iterate_definitions):
4288 Add a GType to GstIterator, update callsites and tests.
4290 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
4292 * gst/gstpad.c: (gst_pad_event_default_dispatch):
4293 give events a chance to be handled by event probes when the pad
4296 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
4298 * gst/gstevent.c: (gst_event_type_get_name),
4299 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
4301 add string representations for event types
4303 2005-10-06 Wim Taymans <wim@fluendo.com>
4305 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
4306 Don't use NULL pointers.
4308 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
4310 * gst/gst_private.h:
4314 * gst/gstpluginfeature.c:
4315 widen the debug category in output to fit the biggest one we have
4316 add a bus category and use it
4317 play with the colors
4318 fix up some categories
4320 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
4322 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
4323 add push activation of sink ghost pads.
4324 Andye, please verify
4326 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
4328 * gst/gstutils.c: (gst_element_link_pads):
4329 fix a bug in the case where neither element has a pad
4330 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
4331 add a test for that case
4333 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
4335 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
4336 emit have-data before checking for peers. This allows
4337 for probe handlers to connect elements. This helps autopluggers.
4338 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
4340 add six checks, linked/unlinked with no/true/false probe
4342 2005-10-04 Wim Taymans <wim@fluendo.com>
4344 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
4345 (gst_fake_sink_event), (gst_fake_sink_preroll),
4346 (gst_fake_sink_render), (gst_fake_sink_change_state):
4347 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
4348 (gst_fake_src_get_property), (gst_fake_src_create),
4349 (gst_fake_src_stop):
4350 * gst/elements/gstidentity.c: (gst_identity_stop):
4351 Protect last_message with lock.
4353 2005-10-04 Edward Hervey <edward@fluendo.com>
4356 Added precision in the comments for GST_FORMAT_DEFAULT
4358 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
4360 * tools/gst-launch.c: (main):
4361 Don't try to run erroneous pipelines.
4363 2005-10-04 Julien MOUTTE <julien@moutte.net>
4365 * gst/gstbus.c: We don't need this header.
4367 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
4372 === release 0.9.3 ===
4374 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
4378 Releasing 0.9.3, "Unregistered"
4380 2005-10-03 Andy Wingo <wingo@pobox.com>
4382 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
4383 whereby calling a pad's activatepush() function can start a thread
4384 that starts to push or pull before the pad gets the FLUSHING flag
4385 unset. Hack around it by holding the stream lock until the flag is
4386 set. Need to replace this with a proper solution. Together with
4387 the ghost pad fixes, this fixes mp3 playing/tagreading.
4389 * docs/design/part-gstghostpad.txt: Add a note about activation of
4390 proxy pads outside of ghost pads.
4392 * gst/gstghostpad.c: Implement the ghost pad activation design.
4394 2005-10-02 Andy Wingo <wingo@pobox.com>
4396 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
4397 It is volatile, after all.
4399 * docs/design/part-gstghostpad.txt: Flesh out activation with
4402 * gst/base/gstbasesrc.c (gst_base_src_init): Use
4405 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
4408 Fix (unused) AM_CONDITIONAL tests.
4410 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
4412 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4414 * gst/gstutils.c: (gst_pad_query_convert):
4415 Add assertion that makes sure src_val is >=0, just like
4416 gst_query_new_convert() has. (#315895)
4418 2005-09-30 Edward Hervey <edward@fluendo.com>
4420 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
4421 Let's not iterate pads we're not interested in, it avoids getting
4422 sky-high refcounts on sinkpad.
4424 2005-09-30 Wim Taymans <wim@fluendo.com>
4426 * gst/gstelement.c: (gst_element_set_state),
4427 (gst_element_change_state):
4428 Small tweak, element in ASYNC remains ASYNC.
4430 2005-09-30 Wim Taymans <wim@fluendo.com>
4432 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
4433 Only error is an error.
4435 * gst/gstbin.c: (gst_bin_change_state):
4438 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
4439 Also call pad_block in pad alloc.
4441 * gst/gstutils.c: (gst_flow_get_name):
4444 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
4446 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4447 (gst_base_src_get_range):
4448 Fix documentation typos. Add some more debug info.
4450 2005-09-29 David Schleef <ds@schleef.org>
4452 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
4453 more end-user friendly.
4454 * tools/gst-inspect.c: (main): Check if command-line argument is
4455 a file and attempt to load that file as a plugin.
4457 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
4459 * check/gst/gstbin.c:
4460 * check/states/sinks.c:
4461 fix tests for the new warning
4462 * check/gst/gstpipeline.c:
4463 add a test for pipeline and bus interaction
4465 elements should be NULL if they get disposed; add a warning if not
4467 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
4470 for 2.6 refcounting, make debug log more correct by printing
4471 the actual refcounts at the time of swap (Wim)
4473 2005-09-29 Andy Wingo <wingo@pobox.com>
4475 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
4476 removes signal watches previously added via
4477 gst_bus_add_signal_watch.
4478 (gst_bus_add_signal_watch): Don't return the source id, just store
4479 it on the bus if there wasn't an id already.
4481 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
4482 add_signal_watch and remove_signal_watch.
4484 2005-09-29 Edward Hervey <edward@fluendo.com>
4486 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
4487 Better if we actually iterate the list :)
4489 2005-09-29 Wim Taymans <wim@fluendo.com>
4491 * check/gst/gstbin.c: (GST_START_TEST):
4492 Change for new bus API.
4494 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
4495 (send_messages), (GST_START_TEST), (gstbus_suite):
4496 Change for new bus signal API.
4498 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
4499 (gst_bus_source_prepare), (gst_bus_source_check),
4500 (gst_bus_create_watch), (gst_bus_add_watch_full),
4501 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
4502 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
4504 Remove support for multiple GSources operating on different
4505 message types as it is too complex and unneeded when using
4507 Added support for receiving signals from the bus.
4509 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
4511 * docs/libs/tmpl/gstdataprotocol.sgml:
4512 * docs/manual/advanced-dataaccess.xml:
4513 * gst/elements/gstcapsfilter.c:
4515 rename filter-caps to caps property
4517 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
4519 * gst/gstvalue.c: (gst_value_deserialize_fraction):
4520 More robust fraction string parsing.
4522 * docs/pwg/appendix-porting.xml:
4523 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
4525 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
4527 * gst/gstcaps.c: (gst_caps_do_simplify):
4528 Thou shalt not free a structure and then continue using it
4529 in the next loop iteration.
4531 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
4533 Add test case for caps simplification.
4535 2005-09-29 Wim Taymans <wim@fluendo.com>
4537 * check/gst/gstbin.c: (GST_START_TEST):
4540 2005-09-29 Wim Taymans <wim@fluendo.com>
4542 * check/gst/gstbin.c: (GST_START_TEST):
4545 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
4546 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
4547 (find_element), (gst_bin_sort_iterator_next),
4548 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4549 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4550 (gst_bin_change_state), (gst_bin_dispose):
4551 A bin does not have a bus, it gets the bus from the parent.
4553 * gst/gstelement.c: (gst_element_requires_clock),
4554 (gst_element_provides_clock), (gst_element_is_indexable),
4555 (gst_element_is_locked_state), (gst_element_change_state),
4556 (gst_element_set_bus_func):
4559 * gst/gstpipeline.c: (gst_pipeline_class_init),
4560 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
4561 The pipeline provides a bus.
4563 2005-09-28 Johan Dahlin <johan@gnome.org>
4565 * gst/gstmessage.c (gst_message_parse_state_changed): Use
4566 gst_structure_get_enum instead of gst_structure_get_int
4568 * gst/gststructure.c (gst_structure_get_enum): Impl.
4570 * gst/gststructure.h (gst_structure_get_enum): Add
4572 * docs/gst/gstreamer-sections.txt: Ditto
4574 * gst/gstmessage.c (gst_message_new_state_changed): Use
4575 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
4576 which does introspection.
4577 Reviewed by Christian Schaller
4579 2005-09-28 Stefan Kost <ensonic@users.sf.net>
4581 * gst/gstinfo.c: (gst_debug_log_default):
4582 don't do dummy g_strdup()s
4583 * libs/gst/controller/gstcontroller.c:
4584 (on_object_controlled_property_changed),
4585 (gst_controlled_property_new), (gst_controller_new_valist),
4586 (gst_controller_new_list),
4587 (gst_controller_remove_properties_valist), (gst_controller_set),
4588 (gst_controller_get), (gst_controller_sync_values),
4589 (gst_controller_get_value_array), (_gst_controller_class_init),
4590 (gst_controller_get_type):
4591 * libs/gst/controller/gstcontroller.h:
4592 * libs/gst/controller/gstinterpolation.c:
4593 (gst_controlled_property_find_timed_value_node):
4594 convert // to /**/ comments
4596 2005-09-28 Wim Taymans <wim@fluendo.com>
4598 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
4599 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
4600 (gst_bus_sync_signal_handler):
4602 Added async-message and sync-message signals to the bus.
4603 Added helper BusFunc to emit signals for all posted messages.
4605 * gst/gstmessage.c: (gst_message_type_get_name),
4606 (gst_message_type_to_quark), (gst_message_get_type):
4608 Register quarks for message names.
4610 2005-09-28 Stefan Kost <ensonic@users.sf.net>
4612 * docs/libs/gstreamer-libs-sections.txt:
4613 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
4614 (gst_controller_new_list):
4615 * libs/gst/controller/gstcontroller.h:
4616 added another constructor for language bindings
4618 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
4620 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4624 * gst/gstinfo.c: (_gst_debug_init):
4625 slightly more readable color for refcount debugging
4627 2005-09-28 Wim Taymans <wim@fluendo.com>
4629 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
4630 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
4631 (find_element), (gst_bin_sort_iterator_next),
4632 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4633 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4634 (gst_bin_change_state), (gst_bin_dispose):
4635 Small doc fixes. get_clock -> provide_clock.
4637 * gst/gstelement.c: (gst_element_class_init),
4638 (gst_element_provides_clock), (gst_element_provide_clock),
4639 (gst_element_get_clock), (gst_element_commit_state),
4640 (gst_element_lost_state):
4642 Make get/set_clock() symetric. Add provide_clock vmethod since
4643 that is actually what this function does.
4645 * gst/gstpipeline.c: (gst_pipeline_class_init),
4646 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
4647 (gst_pipeline_get_clock):
4648 get_clock -> provide_clock.
4650 2005-09-28 Andy Wingo <wingo@pobox.com>
4652 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
4653 lieu of real docs...
4655 * gst/elements/gstfdsrc.c: Cleaned up a bit.
4657 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
4659 * gst/elements/gstcapsfilter.c:
4660 * gst/elements/gstfakesink.c:
4661 * gst/elements/gstfakesrc.c:
4662 * gst/elements/gstfdsink.c:
4663 * gst/elements/gstfdsrc.c:
4664 * gst/elements/gstfilesink.c:
4665 * gst/elements/gstfilesrc.c:
4666 * gst/elements/gstidentity.c:
4667 * gst/elements/gsttee.c:
4668 * gst/elements/gsttypefindelement.c:
4669 Make element details static.
4671 2005-09-28 Wim Taymans <wim@fluendo.com>
4673 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4674 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4675 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4676 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4677 (gst_bin_change_state), (gst_bin_dispose):
4678 Some documentation updates.
4679 Clean up dispose handlers.
4681 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
4682 * gst/gstpad.c: (gst_pad_dispose):
4683 Clean up dispose handler.
4685 * gst/gstpipeline.c: (gst_pipeline_change_state):
4686 Removed spurious UNLOCK.
4688 2005-09-27 Stefan Kost <ensonic@users.sf.net>
4690 * docs/gst/gstreamer-sections.txt:
4691 * gst/base/gstbasesrc.h:
4696 * gst/gstpipeline.c:
4697 * gst/gstpipeline.h:
4700 added two new functions to the docs
4701 documents all undocumented GstXXXFlags
4702 completed some incomplete docs
4704 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
4706 * gst/gstbin.c: (gst_bin_dispose):
4707 * gst/gstelement.c: (gst_element_dispose):
4708 remove now useless and leaky resurrection code in dispose
4709 * gst/base/gstbasesrc.c: (gst_base_src_init):
4710 * gst/gstelementfactory.c: (gst_element_factory_create):
4711 * gst/gstobject.c: (gst_object_set_parent):
4714 2005-09-27 Wim Taymans <wim@fluendo.com>
4716 * docs/design/part-TODO.txt:
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):
4725 Remove element variable, we keep element info in the iterator now.
4727 2005-09-27 Andy Wingo <wingo@pobox.com>
4729 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
4732 2005-09-27 Wim Taymans <wim@fluendo.com>
4734 * check/gst/gstbin.c: (GST_START_TEST):
4735 Enable check that works now.
4737 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4738 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4739 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4740 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4741 (gst_bin_change_state):
4743 Redid the state change algorithm using a topological sort algo.
4744 Handles all cases correctly.
4745 Exposed iterator for state change order.
4748 Temp storage for state changes. Need to get rid of this soon.
4750 2005-09-27 Wim Taymans <wim@fluendo.com>
4752 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
4753 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
4754 (link_fold_func), (gst_pad_proxy_setcaps):
4755 Leak fixes, the fold functions need to unref the passed object and
4756 _get_parent_*() returns ref to parent.
4758 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
4760 * check/gst/gstbuffer.c: (test_make_writable):
4761 Plug leak in test case and fix 'make check-valgrind'
4763 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
4765 * gst/gstbuffer.c: (gst_subbuffer_init):
4766 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
4767 works correctly in all circumstances (we could have just copied
4768 the parent buffer's readonly flag, but conceptually it seems
4769 cleaner to mark all subbuffers as read-only). (based on patch
4770 by Alessandro Decina, #314710).
4772 * check/gst/gstbuffer.c: (create_read_only_buffer),
4773 (test_make_writable), (test_subbuffer_make_writable),
4775 Add some tests for gst_buffer_make_writable().
4777 2005-09-27 Wim Taymans <wim@fluendo.com>
4779 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
4780 use gst_object_has_ancestor().
4782 * gst/gstobject.c: (gst_object_has_ancestor):
4784 gst_object_has_ancestor() copied from gstbin.c as it is a
4787 * tests/instantiate/create.c: (create_all_elements):
4788 * tests/lat.c: (handoff_src), (handoff_sink):
4789 * tests/sched/runxml.c: (main):
4790 * tests/seeking/seeking1.c: (main):
4791 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
4793 Fix compilation of some tests.
4795 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
4798 Remove comment. GST_TYPE_G_ERROR is here to stay,
4799 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
4802 2005-09-26 Wim Taymans <wim@fluendo.com>
4804 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4805 Added check that shows error in state change order.
4807 2005-09-26 Wim Taymans <wim@fluendo.com>
4809 * gst/gstbin.c: (gst_bin_change_state):
4810 Make state change function use 3 queues again, we were
4811 adding elements in the wrong order.
4813 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
4816 * gst/gstpad.c: (gst_pad_dispose):
4817 Added some debug info first.
4819 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
4821 * docs/design/draft-push-pull.txt:
4822 * docs/design/part-events.txt:
4823 * docs/design/part-overview.txt:
4824 * docs/design/part-scheduling.txt:
4825 Replace all _pull_region() with _pull_range()
4827 2005-09-26 Andy Wingo <wingo@pobox.com>
4829 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
4831 * check/gst-libs/controller.c: Update for controller api change.
4834 * tests/Makefile.am:
4835 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
4836 over by GLib bug 118439.
4838 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
4839 routines to a function.
4841 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
4843 * libs/gst/controller/gsthelper.c:
4844 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
4845 (gst_object_sync_values): Renamed from sink_values. Ugh.
4847 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
4849 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
4850 Renamed from controller_key, as it is exported.
4852 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
4854 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
4859 * gst/gstpadtemplate.h:
4862 * gst/gstqueryutils.c:
4863 * gst/gstqueryutils.h:
4864 remove queryutils headers after moving the two used functions
4865 to gstquery. also fixes build problem for gstsiddec
4867 2005-09-26 Michael Smith <msmith@fluendo.com>
4869 * tools/gst-launch.1.in:
4870 Correct documentation in manpage of debug syntax
4872 2005-09-26 Wim Taymans <wim@fluendo.com>
4874 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
4875 (gst_base_src_is_seekable), (gst_base_src_change_state):
4876 Some more debugging info.
4878 2005-09-25 Stefan Kost <ensonic@users.sf.net>
4880 * docs/gst/gstreamer-sections.txt:
4881 * gst/base/gstbasetransform.h:
4885 2005-09-25 Stefan Kost <ensonic@users.sf.net>
4887 * docs/gst/.cvsignore:
4888 * docs/gst/tmpl/.cvsignore:
4889 * docs/gst/tmpl/gstpipeline.sgml:
4890 * docs/gst/tmpl/gstplugin.sgml:
4891 * gst/gstpipeline.c:
4894 inlined the last two docs files
4895 removed the tmpl directory from cvs (no more conflicts here!)
4897 2005-09-25 Stefan Kost <ensonic@users.sf.net>
4899 * docs/gst/gstreamer-sections.txt:
4900 * docs/gst/tmpl/.cvsignore:
4901 * docs/gst/tmpl/gstpad.sgml:
4902 * docs/gst/tmpl/gstpadtemplate.sgml:
4904 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
4905 (gst_pad_finalize), (gst_pad_set_pad_template):
4907 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
4908 (gst_pad_template_class_init), (gst_pad_template_init),
4909 (gst_pad_template_dispose), (name_is_valid),
4910 (gst_static_pad_template_get), (gst_pad_template_new),
4911 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
4912 (gst_pad_template_pad_created):
4913 * gst/gstpadtemplate.h:
4914 inlined two more docs
4915 factored gstpadtemplate out of gstpad
4917 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
4919 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
4920 (test_children_state_change_order_semi_sink):
4921 Fix test case: we can't rely on a fixed state change order when
4922 going from READY => PAUSED because the sink might commit its
4923 new state first when the first buffer created by the source
4924 reaches the sink before the source has finished its change state.
4925 (Test case still fails at times, see #316856, comment 5 onwards)
4927 2005-09-24 Wim Taymans <wim@fluendo.com>
4929 * docs/design/part-events.txt:
4930 * docs/design/part-gstbus.txt:
4931 * docs/design/part-gstpipeline.txt:
4932 * docs/design/part-messages.txt:
4933 * docs/design/part-overview.txt:
4934 * docs/design/part-segments.txt:
4941 * gst/gstiterator.c:
4942 Various documentation updates.
4944 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
4947 Well, that's embarassing. Luckily we weren't using
4948 GST_CLOCK_DIFF anywhere.
4950 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
4952 * common/gtk-doc.mak:
4953 don't fail on building XML, FC4 slave shows a bunch of doc
4954 missing bits that I don't get
4956 * gst/gstpipeline.c:
4957 * gst/gststructure.c:
4960 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
4962 * docs/design/part-gstbin.txt:
4963 * docs/design/part-gstbus.txt:
4965 Add blurb about how the bus goes into flushing mode and
4966 drops all messages when its bin goes from READY into NULL
4969 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
4971 * docs/gst/gstreamer-sections.txt:
4972 * gst/gststructure.c: (gst_structure_get_clock_time):
4973 * gst/gststructure.h:
4974 add a method to get a GstClockTime out of a structure
4976 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
4978 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
4979 (test_children_state_change_order_semi_sink), (gst_bin_suite):
4980 Added test to check state change order in bins (can still be made
4981 to fail here under heavy disk load; bails out with 'Push on pad
4982 fakesink:sink0, but it was not activated in push mode').
4984 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
4985 Fix state change order when there is only a semi sink (#316856)
4987 * gst/gstbus.c: (gst_bus_class_init):
4988 Use _class_peek_parent(), not _class_ref(); fix docs to say
4989 'default main context' instead of 'mainloop' where that is
4992 * gst/gstelement.c: (gst_element_commit_state),
4993 (gst_element_set_state):
4994 Fix typos in debug messages
4996 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
4999 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
5000 * gst/gstpluginfeature.c:
5003 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5004 change an assert into an error until it gets fixed properly
5006 2005-09-23 Stefan Kost <ensonic@users.sf.net>
5008 * docs/gst/gstreamer-sections.txt:
5009 * docs/gst/tmpl/.cvsignore:
5010 * docs/gst/tmpl/gstelement.sgml:
5011 * docs/gst/tmpl/gstinfo.sgml:
5012 * docs/gst/tmpl/gstobject.sgml:
5017 * gst/gstobject.c: (gst_object_class_init):
5019 inlined 3 more biiiig doc files and added some missing docs on the fly
5021 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5023 * check/gst/.cvsignore:
5024 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
5025 * gst/gstregistryxml.c: (load_plugin),
5026 (gst_registry_xml_save_plugin):
5027 put back source in registry. add checks for find_plugin.
5028 * testsuite/states/bin.c: (assert_state), (empty_bin),
5029 (test_adding_one_element), (main):
5030 * testsuite/states/locked.c: (main):
5031 some compile/run fixes
5033 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
5035 * check/gst/gstvalue.c: (GST_START_TEST):
5036 fix leaks in the test itself
5038 2005-09-22 Wim Taymans <wim@fluendo.com>
5040 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5041 (gst_base_sink_send_event), (gst_base_sink_peer_query),
5042 (gst_base_sink_query):
5043 Prepare for more accurate position reporting and query
5046 * gst/gstelement.c: (gst_element_send_event),
5047 (gst_element_set_state):
5050 2005-09-22 Wim Taymans <wim@fluendo.com>
5052 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
5053 (gst_query_parse_segment):
5056 Add segment query for future use.
5058 2005-09-22 Wim Taymans <wim@fluendo.com>
5060 * gst/gstbin.c: (gst_bin_add_func):
5061 Some more debug info.
5063 * gst/gstelement.c: (gst_element_send_event):
5067 Don't know how flags got broken.
5072 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
5074 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
5075 Add simplistic test suite for GST_TYPE_DATE serialisation and
5078 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
5080 * docs/gst/gstreamer-sections.txt:
5081 * gst/gststructure.c: (gst_structure_set_valist),
5082 (gst_structure_get_date):
5083 * gst/gststructure.h:
5084 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
5085 (gst_date_copy), (gst_value_compare_date),
5086 (gst_value_serialize_date), (gst_value_deserialize_date),
5087 (gst_value_transform_date_string),
5088 (gst_value_transform_string_date), (_gst_value_initialize):
5090 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
5091 bunch of utility functions along with a hack that checks that
5092 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
5093 is required. Part of the grand scheme in #170777.
5095 2005-09-22 Andy Wingo <wingo@pobox.com>
5097 * gst/gstconfig.h.in: Psych out gtk-doc.
5099 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
5101 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
5103 * tools/gst-inspect.c (print_element_list): Plug some
5104 inconsequential leaks.
5106 * gst/gstregistry.c (gst_registry_get_default): Doc.
5108 * check/gst/gstplugin.c:
5109 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
5110 * gst/gstelementfactory.c (gst_element_factory_create):
5111 * gst/gstindexfactory.c (gst_index_factory_create): Update for
5114 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
5115 (gst_plugin_feature_load): Doc, don't eat refs.
5117 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
5118 (gst_plugin_list_free): Doc.
5119 (gst_plugin_load_file): Doc updates.
5121 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
5122 accessors returning refcounted objects, return a ref.
5124 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
5125 accessor for caps. IDEMPOTENCE. Oh yes.
5127 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
5129 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
5131 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
5132 (_gst_debug_register_funcptr):
5133 Add mutex to serialise access to the hash table with
5134 the function pointer => function name string mapping;
5135 make that hash table static scope (#316809).
5137 * gst/registries/.cvsignore:
5138 Remove left-over file.
5140 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
5142 * docs/pwg/appendix-porting.xml:
5143 And something about newsegment events and caps-on-buffers to
5144 the porting guide (feel free to improve).
5146 2005-09-21 Andy Wingo <wingo@pobox.com>
5148 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
5149 data and event probes on the same pad.
5150 (test_buffer_probe_once): Test that removing probes from within
5151 the probe functions works.
5153 2005-09-21 Andy Wingo <wingo@pobox.com>
5155 * check/gst/gstutils.c: New file.
5156 (test_buffer_probe_n_times): A simple buffer probe test. More to
5159 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
5160 have-data::buffer, not have-data.
5161 (gst_pad_add_event_probe): Likewise for have-data::event.
5162 (gst_pad_add_data_probe): More docs. The part about 'resolving the
5163 peer' isn't quite right yet though.
5164 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
5165 (gst_pad_remove_data_probe): Change to take the guint handler_id
5166 as their arg, not the function+data, which is more glib-like.
5168 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
5169 the signal emission to indicate if the data is a buffer or an
5171 (gst_pad_get_type): Initialize buffer and event quarks.
5172 (gst_pad_class_init): have-data is now a detailed signal, yes it
5175 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
5177 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
5178 * gst/gstutils.c: (gst_util_set_value_from_string),
5179 (gst_util_set_object_arg):
5180 Don't put functional code in g_return_if_fail() or
5181 g_return_val_if_fail() statements, otherwise things will
5182 break when G_DISABLE_CHECKS is defined during compilation.
5184 2005-09-21 Stefan Kost <ensonic@users.sf.net>
5186 * docs/gst/tmpl/.cvsignore:
5187 * docs/gst/tmpl/gstvalue.sgml:
5190 inlied another one and added some obvious docs
5192 2005-09-21 Wim Taymans <wim@fluendo.com>
5194 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
5195 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
5196 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
5197 (gst_fdsrc_get_property), (gst_fdsrc_create):
5198 * gst/elements/gstfdsrc.h:
5199 Properly implement fdsrc. Removed signal and timeout,
5200 better implemented somewhere else.
5202 2005-09-21 Stefan Kost <ensonic@users.sf.net>
5204 * docs/gst/tmpl/.cvsignore:
5205 * docs/gst/tmpl/gstimplementsinterface.sgml:
5206 * gst/gstinterface.c:
5209 2005-09-21 Stefan Kost <ensonic@users.sf.net>
5211 * docs/gst/gstreamer-sections.txt:
5212 * docs/gst/tmpl/.cvsignore:
5213 * docs/gst/tmpl/gstenumtypes.sgml:
5214 remove obsolete doc file
5216 2005-09-21 David Schleef <ds@schleef.org>
5218 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
5219 little beer, fix a little leak.
5221 2005-09-21 Stefan Kost <ensonic@users.sf.net>
5223 * docs/gst/gstreamer-docs.sgml:
5224 * docs/gst/gstreamer-sections.txt:
5225 * docs/gst/tmpl/.cvsignore:
5230 * gst/gstindex.c: (gst_index_class_init):
5232 * gst/gstindexfactory.c: (gst_index_factory_get_type),
5233 (gst_index_factory_class_init), (gst_index_factory_init),
5234 (gst_index_factory_finalize), (gst_index_factory_new),
5235 (gst_index_factory_destroy), (gst_index_factory_find),
5236 (gst_index_factory_create), (gst_index_factory_make):
5237 * gst/gstindexfactory.h:
5238 * gst/gstpluginfeature.c:
5239 * gst/gstpluginfeature.h:
5240 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5241 more docs inlined, splitted gstindex.{c,h}
5243 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5245 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5248 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
5250 * gst/elements/gstfilesink.c: (gst_file_sink_init):
5251 Set sync to FALSE by default.
5253 2005-09-20 Wim Taymans <wim@fluendo.com>
5255 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5256 (gst_base_sink_init):
5257 Make sync property settable from subclass.
5259 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
5260 (gst_fake_sink_change_state):
5261 Set sync to FALSE by default.
5263 2005-09-20 Wim Taymans <wim@fluendo.com>
5265 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
5266 * tools/gst-launch.c: (main):
5267 The timeout handler should have lower priority than the source
5268 so we don't timeout before popping a message with 0 timeout.
5269 Dump error messages after failed state change.
5271 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
5273 * tools/gst-inspect.c: (print_element_properties_info):
5276 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5278 * check/gst/gstevent.c:
5279 * gst/elements/gstfakesink.c:
5280 * gst/elements/gstfakesink.h:
5281 remove the sync property from fakesink.
5282 has the side effect of setting sync TRUE
5283 for fakesink, which is a change. Anyone who knows how
5284 to fix this nicely in a GObject-y way, feel free.
5286 2005-09-20 Stefan Kost <ensonic@users.sf.net>
5288 * docs/gst/gstreamer-docs.sgml:
5289 remove probe refsection
5291 2005-09-20 Stefan Kost <ensonic@users.sf.net>
5293 * check/Makefile.am:
5294 disable valgrinding the controller test again
5295 * docs/gst/gstreamer-sections.txt:
5296 update for api-changes
5298 2005-09-20 Wim Taymans <wim@fluendo.com>
5300 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5301 (gst_base_sink_set_property), (gst_base_sink_get_property),
5302 (gst_base_sink_do_sync):
5303 * gst/base/gstbasesink.h:
5304 Added sync property to basesink to disable clock sync.
5306 2005-09-20 Andy Wingo <wingo@pobox.com>
5308 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
5309 eating the caller's refcount.
5311 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
5312 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
5315 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
5316 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
5317 of GLib 2.8 public, so we can know which refcount to check in
5320 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
5321 (gst_object_init): Only set the gst refcount if we're going ahead
5322 with the refcount hack.
5324 2005-09-20 Stefan Kost <ensonic@users.sf.net>
5326 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
5327 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5328 more leaks plumbed, added more debug-logging
5332 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5335 remove include of gstmemchunk.h
5337 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5339 * gst/gstclock.c: (_gst_clock_id_free):
5340 Commit from the Political Party For More Atomic CVS Commits,
5341 so that people don't waste too much of their day fishing
5342 out obvious leaks out of massive commits.
5343 Oh, and fix a pretty damn obvious leak in the memchunk
5346 2005-09-20 Stefan Kost <ensonic@users.sf.net>
5348 * check/Makefile.am:
5349 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
5350 plug mem-leak, re-add to valgrindable tests
5352 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5355 unbreak the build for those who have chronic arthritis
5356 and typing "make check" is just too taxing on the hands
5358 2005-09-20 Andy Wingo <wingo@pobox.com>
5360 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
5361 really want it out, you should fix plugins at the same time.
5363 2005-09-19 Stefan Kost <ensonic@users.sf.net>
5366 * docs/gst/gstreamer-sections.txt:
5368 added missing symbols to api docs
5369 disable ref-count hack if we have glib >= 2.8
5371 2005-09-19 David Schleef <ds@schleef.org>
5373 * docs/gst/Makefile.am: Ignore a few more internal headers
5374 * docs/gst/gstreamer-docs.sgml: Remove old sections
5375 * docs/gst/gstreamer-sections.txt: Remove old sections
5376 * docs/gst/tmpl/gstobject.sgml: update
5377 * docs/gst/tmpl/gstplugin.sgml: update
5378 * docs/gst/tmpl/gstpluginfeature.sgml: update
5379 * docs/random/ds/0.9-suggested-changes: update.
5380 * gst/Makefile.am: remove memchunk and trashstack, since they're
5382 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
5383 * gst/gst.h: don't include some headers
5384 * gst/gstchildproxy.c: add gstmarshal.h
5385 * gst/gstclock.c: Don't use memchunks
5386 * gst/gstminiobject.c: Add some docs
5387 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
5388 * gst/gstobject.h: same
5389 * gst/gstplugin.c: include gstmacros.h
5390 * gst/gstplugin.h: don't include gstmacros.h, since it's private
5391 * gst/gstquery.c: don't use memchunks
5392 * gst/gstregistry.c: rename gst_registry_deinit()
5393 * gst/gstregistry.h: same
5395 2005-09-19 David Schleef <ds@schleef.org>
5397 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
5398 * docs/libs/gstreamer-libs-sections.txt:
5399 * docs/libs/tmpl/gstgetbits.sgml:
5400 * docs/libs/tmpl/gstputbits.sgml:
5402 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
5404 * win32/gstenumtypes.c:
5405 * win32/gstenumtypes.h:
5408 2005-09-19 Wim Taymans <wim@fluendo.com>
5410 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
5411 Automatically PAUSE and RESUME a pipeline when a flushing seek
5414 2005-09-19 Andy Wingo <wingo@pobox.com>
5416 * gst/gstregistry.h: Spacing fixen.
5418 2005-09-19 Wim Taymans <wim@fluendo.com>
5420 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
5421 Handle state change failure more correctly.
5423 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
5425 * check/Makefile.am:
5426 * check/pipelines/cleanup.c: (run_pipeline):
5427 * check/pipelines/simple_launch_lines.c: (run_pipeline),
5429 enable cleanup again after fixing the leak
5431 some more info on docs
5433 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
5435 * check/Makefile.am:
5436 re-enable tests now that leaks are plugged
5438 * check/gst/gstbin.c:
5439 * check/gst/gstpipeline.c:
5440 add some more tests while fixing leaks
5442 make sure binaries are uptodate when valgrinding/gdbing
5444 * gst/gstelementfactory.c:
5445 remove a ref too many, and add a FIXME for when we get
5446 round to disposing of classes
5448 fix the refcounting when loading a plugin from a file and
5449 the code pretends that the pointer is the same even though
5450 of course it can change
5451 * gst/gstpluginfeature.c:
5452 unref plugins marked cached (a bit confusing as a name)
5453 as the docs state should be done
5454 various doc additions to explain refcounting
5455 * gst/gstregistry.c:
5456 * gst/gstregistryxml.c:
5459 2005-09-19 Wim Taymans <wim@fluendo.com>
5461 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
5462 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
5463 (send_messages), (GST_START_TEST), (gstbus_suite):
5464 * check/gst/gstpipeline.c: (GST_START_TEST):
5465 * check/pipelines/cleanup.c: (run_pipeline):
5466 * check/pipelines/simple_launch_lines.c: (run_pipeline),
5468 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
5469 (gst_bus_source_check), (gst_bus_source_dispatch),
5470 (gst_bus_create_watch), (gst_bus_add_watch_full),
5471 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
5473 * tools/gst-launch.c: (event_loop):
5474 * tools/gst-md5sum.c: (event_loop):
5475 GstBusHandler -> GstBusFunc, return value has the same meaning as
5476 any other GSource (FALSE == remove source).
5477 _add_watch() and _add_watch_full() now take a MessageType mask to
5478 only handle specific types of messages.
5479 _poll() returns the GstMessage instead of the message type to avoid
5481 _have_pending() takes a MessageType mask now too.
5482 Added testsuite for multiple bus watches.
5483 Fix testsuites and applications for new bus API.
5485 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
5487 * check/Makefile.am:
5488 mark a bunch of the tests as to fix until we fix them
5490 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
5493 use GST_PLUGIN settings for valgrind tests as well, so we're
5494 valgrinding the correct thing
5495 * gst/gst.c: (init_post):
5498 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
5500 * gst/gst.c: (init_post), (gst_deinit):
5501 * gst/gstelementfactory.c: (gst_element_factory_class_init),
5502 (gst_element_factory_finalize), (gst_element_factory_cleanup):
5503 * gst/gstindex.c: (gst_index_factory_class_init),
5504 (gst_index_factory_finalize):
5505 * gst/gstobject.c: (gst_object_dispose):
5506 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
5507 (gst_plugin_load_file), (gst_plugin_desc_free):
5508 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
5509 (gst_plugin_feature_finalize):
5510 * gst/gstregistry.c: (gst_registry_class_init),
5511 (gst_registry_init), (gst_registry_finalize),
5512 (gst_registry_get_default), (gst_registry_deinit):
5513 * gst/gstregistry.h:
5514 * gst/gstregistryxml.c: (load_feature), (load_plugin):
5515 various cleanups and memleak plugging. make valgrind is happy now.
5517 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
5520 add a check-valgrind target
5522 2005-09-18 David Schleef <ds@schleef.org>
5524 * tools/gst-inspect.c: Revert the GOption code.
5526 2005-09-17 David Schleef <ds@schleef.org>
5528 * check/Makefile.am: Fix environment variables.
5529 * check/gst/gstplugin.c: Fix for API changes.
5530 * tools/gst-inspect.c: Fix for API changes.
5531 * tools/gst-xmlinspect.c: Fix for API changes.
5532 * gst/gstelementfactory.c:
5535 * gst/gstpluginfeature.c:
5536 * gst/gstpluginfeature.h:
5537 * gst/gstregistry.c:
5538 * gst/gstregistry.h:
5539 * gst/gstregistryxml.c:
5540 * gst/gsttypefind.c:
5541 * gst/gsttypefindfactory.c:
5542 * gst/indexers/gstfileindex.c:
5543 * gst/indexers/gstmemindex.c:
5544 * gst/schedulers/Makefile.am:
5545 Change registry to keep track of both plugins and features,
5546 removing the feature tracking from plugins themselves.
5548 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
5550 * check/Makefile.am:
5551 * tools/gst-register.1.in:
5554 2005-09-15 David Schleef <ds@schleef.org>
5556 * check/gst/gstplugin.c:
5557 * gst/gstelementfactory.c:
5559 * gst/gstpluginfeature.c:
5560 * gst/gstregistry.c:
5561 Getting tired of debugging. Disabled all the unreffing of
5562 plugins and features, which fixes the segfaults, but of
5563 course leaks like crazy. At least playbin works.
5565 2005-09-15 David Schleef <ds@schleef.org>
5567 * check/gst/gstplugin.c: (register_check_elements),
5568 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
5570 * gst/elements/gsttypefindelement.c: Fix refcounting.
5571 * gst/gsttypefind.c:
5572 * gst/gsttypefindfactory.c:
5573 * gst/gsttypefindfactory.h:
5575 2005-09-15 David Schleef <ds@schleef.org>
5577 * gst/gstindex.c: get refcounting correct.
5578 * gst/gstregistry.c: Handle the case where a feature/plugin is
5581 2005-09-15 David Schleef <ds@schleef.org>
5583 * check/Makefile.am:
5584 * check/gst/gstplugin.c: Add test
5585 * gst/gstplugin.c: Fix problems noticed by testsuite
5587 * gst/gstregistry.c:
5588 * gst/gstregistry.h:
5590 2005-09-15 David Schleef <ds@schleef.org>
5592 * gst/gstplugin.c: Implement semi-decent recounting and locking
5593 in plugins and plugin features.
5595 * gst/gstpluginfeature.c:
5596 * gst/gstpluginfeature.h:
5597 * gst/gstregistry.c:
5599 2005-09-15 Michael Smith <msmith@fluendo.com>
5601 * gst/gstregistry.c: (gst_registry_get_feature_list):
5602 Implement this. Makes oggdemux work; decodebin still broken.
5604 2005-09-14 David Schleef <ds@schleef.org>
5606 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
5608 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
5609 * gst/check/Makefile.am:
5610 * libs/gst/controller/Makefile.am:
5611 * libs/gst/dataprotocol/Makefile.am:
5613 2005-09-14 David Schleef <ds@schleef.org>
5615 * configure.ac: Remove getbits library. Nothing uses it, and
5616 it should be in something like liboil if someone did want
5618 * libs/gst/Makefile.am:
5619 * libs/gst/getbits/Makefile.am:
5620 * libs/gst/getbits/gbtest.c:
5621 * libs/gst/getbits/getbits.c:
5622 * libs/gst/getbits/getbits.h:
5623 * libs/gst/getbits/gstgetbits_generic.c:
5624 * libs/gst/getbits/gstgetbits_i386.s:
5625 * libs/gst/getbits/gstgetbits_inl.h:
5627 2005-09-14 David Schleef <ds@schleef.org>
5629 * gst/Makefile.am: Dist glib-compat.h
5631 2005-09-14 David Schleef <ds@schleef.org>
5633 * configure.ac: Remove gst/registries, since it's no longer used.
5634 * gst/registries/Makefile.am:
5635 * gst/registries/gstlibxmlregistry.c:
5636 * gst/registries/gstlibxmlregistry.h:
5637 * gst/registries/gstxmlregistry.c:
5638 * gst/registries/gstxmlregistry.h:
5639 * gst/registries/registrytest.c:
5641 2005-09-14 David Schleef <ds@schleef.org>
5643 * gst/glib-compat.h:
5644 * gst/gstregistryxml.c:
5645 Convergence is near. Seriously.
5647 2005-09-14 David Schleef <ds@schleef.org>
5649 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5650 * gst/glib-compat.h:
5651 Attempt #4 to appease the buildbots.
5653 2005-09-14 David Schleef <ds@schleef.org>
5655 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5658 2005-09-14 David Schleef <ds@schleef.org>
5660 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5663 2005-09-14 David Schleef <ds@schleef.org>
5665 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
5668 2005-09-14 David Schleef <ds@schleef.org>
5670 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5671 * gst/glib-compat.h: Add some functions that are in newer versions
5672 of glib than we care to require.
5673 * gst/gstregistryxml.c: Use them.
5675 2005-09-14 David Schleef <ds@schleef.org>
5677 * po/POTFILES.in: remove gst-register.c
5679 2005-09-14 David Schleef <ds@schleef.org>
5681 * docs/gst/gstreamer-docs.sgml:
5682 * docs/gst/gstreamer-sections.txt:
5683 * docs/gst/gstreamer.types:
5684 * docs/gst/tmpl/gstelement.sgml:
5685 * docs/gst/tmpl/gstplugin.sgml:
5686 * docs/gst/tmpl/gstpluginfeature.sgml:
5687 Documentation updates for registry changes.
5689 2005-09-14 David Schleef <ds@schleef.org>
5691 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
5692 because we don't require glib-2.8.
5694 2005-09-14 David Schleef <ds@schleef.org>
5696 * gst/gstregistryxml.c: Added. Essentially moved out of the
5697 registries directory.
5699 2005-09-14 David Schleef <ds@schleef.org>
5701 * check/Makefile.am:
5702 * check/generic/states.c:
5706 * gst/gst_private.h:
5707 * gst/gstelementfactory.c:
5712 * gst/gstpluginfeature.c:
5713 * gst/gstpluginfeature.h:
5714 * gst/gstregistry.c:
5715 * gst/gstregistry.h:
5716 * gst/gstregistrypool.c: remove
5717 * gst/gstregistrypool.h: remove
5718 * gst/gsttypefind.c:
5719 * gst/gsttypefindfactory.c:
5721 * tools/Makefile.am:
5722 * tools/gst-compprep.c:
5723 * tools/gst-inspect.c:
5724 * tools/gst-register.c: remove
5725 * tools/gst-xmlinspect.c:
5726 Registry rewrite. Changes registry from being a file created
5727 by a tool into a simple cache file created automatically by
5728 libgstreamer. Removed gst-register (because it's no longer
5729 needed). Remove registry pools, because we only have one
5730 registry implementation (XML). Fix up other subsystems as
5733 2005-09-13 Michael Smith <msmith@fluendo.com>
5735 * gst/gstconfig.h.in:
5736 Don't Use windows linking attributes for MinGW. Fixes #316157
5738 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
5740 * gst/gstutils.c: (set_state_async_thread_func),
5741 (gst_element_set_state_async):
5742 Apparently people think it's better if this function doesn't
5743 try to set the state to whatever state was asked for on the first
5744 call to this function for any object. Seriously.
5746 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
5748 * check/gst/gstpipeline.c: (GST_START_TEST):
5749 * docs/gst/gstreamer-sections.txt:
5750 * gst/gstutils.c: (set_state_async_thread_func),
5751 (gst_element_set_state_async):
5753 add a "gst_element_set_state_async" method that
5754 sets the state and starts a thread to make sure the state
5755 change completes as best as it can
5757 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
5759 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5760 codify design+behaviour in testsuite after discussion
5762 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
5764 * docs/gst/tmpl/gstelement.sgml:
5765 * docs/manual/appendix-quotes.xml:
5767 * gst/gstelement.c: (gst_element_set_state):
5770 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
5772 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
5773 (gst_base_transform_prepare_output_buf),
5774 (gst_base_transform_handle_buffer):
5775 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
5776 (gst_capsfilter_prepare_buf):
5777 Remove the requirement for sub-classes to call the parent
5778 implementation of prepare_output_buffer with a wrapper function.
5781 * gst/gsttagsetter.h:
5784 2005-09-11 Stefan Kost <ensonic@users.sf.net>
5786 * docs/gst/gstreamer-sections.txt:
5789 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
5791 * docs/gst/gstreamer-sections.txt:
5792 * docs/gst/tmpl/gstelement.sgml:
5793 * docs/gst/tmpl/gstplugin.sgml:
5794 * gst/gstminiobject.c:
5796 docs now stop throwing warnings
5798 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
5800 * docs/gst/gstreamer-sections.txt:
5801 * docs/gst/gstreamer.types:
5802 * docs/gst/tmpl/gstpad.sgml:
5803 * docs/gst/tmpl/gsttypes.sgml:
5804 * gst/base/gstadapter.h:
5805 * gst/base/gstbasesink.h:
5806 * gst/base/gstbasesrc.h:
5816 * gst/gststructure.c:
5817 * gst/registries/gstlibxmlregistry.h:
5818 various documentation fixes
5820 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
5822 * docs/gst/gstreamer-sections.txt:
5823 * docs/gst/tmpl/gstvalue.sgml:
5824 rearrange gstvalue section
5825 * gst/gstutils.c: (gst_element_state_get_name):
5827 * gst/gstvalue.c: (_gst_value_initialize):
5831 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
5833 * check/gst-libs/controller.c:
5835 * gst/base/gstbasetransform.c:
5836 (gst_base_transform_default_prepare_buf),
5837 (gst_base_transform_handle_buffer):
5838 * gst/base/gstbasetransform.h:
5839 Some more basetransform changes and fixes to enable sub-classes
5840 that modify buffer metadata only.
5841 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5842 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
5843 (gst_capsfilter_prepare_buf):
5844 If the output pad has fixed allowed caps and input buffers
5845 don't have any, set the fixed caps on outgoing buffers.
5847 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
5848 * check/elements/identity.c: (GST_START_TEST):
5849 Make the error a little clearer when the test fails because
5850 identity made a copy of the buffer.
5851 * docs/gst/gstreamer-sections.txt:
5852 New symbols in gstbasetransform.h
5853 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
5854 (gst_base_transform_init), (gst_base_transform_transform_size),
5855 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5856 (gst_base_transform_default_prepare_buf),
5857 (gst_base_transform_get_unit_size),
5858 (gst_base_transform_buffer_alloc),
5859 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
5860 (gst_base_transform_change_state),
5861 (gst_base_transform_set_passthrough),
5862 (gst_base_transform_set_in_place),
5863 (gst_base_transform_is_in_place):
5864 * gst/base/gstbasetransform.h:
5865 Change BaseTransform to separate in_place operate from same_caps
5866 output. in_place implies that the element can perform the transform
5867 on incoming buffers in-place, even if the caps on the output are
5869 Sub-class elements can now implement special buffer allocation
5870 methods for outgoing buffers if they wish to.
5871 Big documentation addition.
5872 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
5873 * gst/elements/gstelements.c:
5874 Changes for basetransform modifications.
5875 * gst/elements/Makefile.am:
5876 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
5877 Compile fix. Extra debug output.
5879 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
5881 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
5883 add tests for valid pad naming
5884 * gst/check/gstcheck.c: (gst_check_log_message_func),
5885 (gst_check_log_critical_func):
5887 remove printing of code, it is fragile when the code contains
5888 % and the line number is enough info
5889 * gst/check/gstcheck.h:
5890 * gst/gstpad.c: (gst_pad_template_new):
5893 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
5896 say what CHECK flags we use
5897 * docs/libs/gstreamer-libs.types:
5898 * libs/gst/controller/Makefile.am:
5899 * libs/gst/controller/gst-controller.c:
5900 * libs/gst/controller/gst-controller.h:
5901 * libs/gst/controller/gst-helper.c:
5902 * libs/gst/controller/gst-interpolation.c:
5903 * libs/gst/controller/gstcontroller.c:
5904 * libs/gst/controller/gsthelper.c:
5905 * libs/gst/controller/gstinterpolation.c:
5906 * tools/gst-inspect.c: (print_plugin_info):
5907 we don't use dashes in header names
5909 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
5911 * check/Makefile.am:
5912 * check/gst/.cvsignore:
5913 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
5914 (gst_pipeline_suite), (main):
5915 adding a test for pipelines and state changes
5916 * gst/gstutils.c: (get_state_func):
5918 * gstreamer.spec.in:
5921 2005-09-08 Michael Smith <msmith@fluendo.com>
5923 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
5924 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
5925 (gst_file_src_is_seekable), (gst_file_src_get_size),
5926 (gst_file_src_start):
5927 * gst/elements/gstfilesrc.h:
5928 Various fixes for unseekable, unmmapable, and non-normal files, so
5929 that fallback to read() rather than mmap() works.
5930 * gst/gstevent.c: (gst_event_new_newsegment):
5931 Allow newsegment events with segment_start == segment_end, as will
5932 correctly happen if you use filesrc on a zero-size file, for
5935 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
5937 * gst/gstplugin.c: (gst_plugin_load_file):
5938 Call g_module_close when we don't load the module
5940 * gst/registries/gstlibxmlregistry.c:
5941 (gst_xml_registry_get_property):
5942 Port leak fix from 0.8
5944 2005-09-07 Stefan Kost <ensonic@users.sf.net>
5946 * docs/gst/gstreamer-docs.sgml:
5947 * docs/gst/tmpl/.cvsignore:
5948 * docs/gst/tmpl/gsttrace.sgml:
5949 * docs/gst/tmpl/gsttrashstack.sgml:
5958 * gst/gsttaginterface.c:
5959 * gst/gsttaginterface.h:
5962 * gst/gsttagsetter.c:
5963 * gst/gsttagsetter.h:
5966 * gst/gsttrashstack.c:
5967 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
5968 inlined docs for gsttrace, gsttrashstack
5970 2005-09-07 Stefan Kost <ensonic@users.sf.net>
5973 * gst/elements/gstbufferstore.h:
5974 * gst/elements/gsttypefindelement.c:
5975 * gst/elements/gsttypefindelement.h:
5977 * gst/gsttypefind.c:
5978 * gst/gsttypefind.h:
5979 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
5980 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
5981 (gst_type_find_factory_dispose),
5982 (gst_type_find_factory_unload_thyself),
5983 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
5984 (gst_type_find_factory_get_caps),
5985 (gst_type_find_factory_get_extensions),
5986 (gst_type_find_factory_call_function):
5987 * gst/gsttypefindfactory.h:
5988 * gst/registries/gstlibxmlregistry.c:
5989 * gst/registries/gstxmlregistry.c:
5990 splitted gsttypefind into gsttypefind, gsttypefindfactory
5992 2005-09-07 Andy Wingo <wingo@pobox.com>
5994 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
5995 condition whereby the pad's task function is entered before the
5996 pad_mode variable was set.
5998 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
6000 * gst/gstpad.c: (gst_pad_alloc_buffer):
6001 Catch misbehaving pad_alloc functions that don't
6002 set up caps and do it for them.
6004 2005-09-07 Stefan Kost <ensonic@users.sf.net>
6006 * check/pipelines/simple_launch_lines.c: (run_pipeline):
6008 * docs/gst/tmpl/.cvsignore:
6009 * docs/gst/tmpl/gstmemchunk.sgml:
6010 * docs/gst/tmpl/gstparse.sgml:
6011 * docs/gst/tmpl/gsttaglist.sgml:
6012 * docs/gst/tmpl/gsttagsetter.sgml:
6013 * docs/gst/tmpl/gsttypefind.sgml:
6014 * docs/gst/tmpl/gsttypefindfactory.sgml:
6015 * gst/gstmemchunk.c:
6018 * gst/gsttaginterface.c:
6019 * gst/gsttypefind.c:
6020 * gst/gsttypefind.h:
6023 === release 0.9.2 ===
6025 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
6030 releasing 0.9.2, "South"
6032 2005-09-05 Andy Wingo <wingo@pobox.com>
6034 * gst/registries/gstxmlregistry.h:
6035 * gst/registries/gstxmlregistry.c: Um... resurrect...
6037 * gst/registries/gstxmlregistry.h:
6038 * gst/registries/gstxmlregistry.c: and update to newer API.
6039 Incidentally they should be a bit faster now that they don't have
6042 2005-09-05 Andy Wingo <wingo@pobox.com>
6044 * gst/registries/gstxmlregistry.h:
6045 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
6046 replaced by the libxml registry a while back
6048 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
6050 * docs/gst/tmpl/gstplugin.sgml:
6051 * gst/elements/gstelements.c:
6053 * gst/gstplugin.c: (gst_plugin_register_func),
6054 (gst_plugin_desc_copy), (gst_plugin_desc_free),
6055 (gst_plugin_get_source):
6057 * gst/registries/gstlibxmlregistry.c: (load_plugin),
6058 (gst_xml_registry_save_plugin):
6059 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
6060 (gst_xml_registry_save_plugin):
6061 * tools/gst-inspect.c: (print_plugin_info):
6062 add a "source" plugin description field, to represent the source
6063 module this plugin is a part of. By default GST_PLUGIN_DEFINE
6064 will set it to PACKAGE, which is automake's idea of the name of
6067 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
6073 * docs/faq/Makefile.am:
6074 * docs/gst/tmpl/gstelement.sgml:
6075 * docs/gst/tmpl/gsttypes.sgml:
6076 * docs/htmlinstall.mak:
6077 * docs/manual/Makefile.am:
6078 * docs/pwg/Makefile.am:
6079 reorganize doc build a little
6080 split out docbook and gtk-doc stuff
6081 have two separate --enable's and enable them through autogen
6082 but disable by default in configure (to be similar to other
6084 * gstreamer.spec.in:
6085 clean up docs install
6105 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
6107 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
6110 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
6111 (gst_fake_sink_change_state):
6112 Make state change function thread-safe.
6114 * gst/gstpad.c: (gst_pad_alloc_buffer):
6115 Set offset on generic buffer allocated by fallback.
6117 2005-09-03 Stefan Kost <ensonic@users.sf.net>
6119 * docs/gst/gstreamer-sections.txt:
6120 * docs/gst/tmpl/gstelement.sgml:
6122 * libs/gst/controller/gst-controller.c:
6123 (gst_controlled_property_set_interpolation_mode),
6124 (gst_controlled_property_new),
6125 (gst_controller_find_controlled_property):
6126 run the wingo-magic script against the docs
6128 2005-09-02 Stefan Kost <ensonic@users.sf.net>
6130 * docs/gst/gstreamer-docs.sgml:
6131 * docs/gst/gstreamer-sections.txt:
6132 * docs/gst/tmpl/.cvsignore:
6133 * docs/gst/tmpl/gstelementdetails.sgml:
6134 * docs/gst/tmpl/gstelementfactory.sgml:
6137 * gst/gstelementfactory.c:
6138 * gst/gstelementfactory.h:
6139 merged elementdetails docs into elementfactory docs
6142 2005-09-02 Andy Wingo <wingo@pobox.com>
6144 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
6145 consider this enum an enum and not a flags.
6147 2005-09-02 Stefan Kost <ensonic@users.sf.net>
6149 * docs/gst/gstreamer-docs.sgml:
6150 * docs/gst/tmpl/.cvsignore:
6151 * docs/gst/tmpl/gstghostpad.sgml:
6152 * docs/gst/tmpl/gstiterator.sgml:
6153 * docs/gst/tmpl/gstmacros.sgml:
6154 * docs/gst/tmpl/gstrealpad.sgml:
6155 * docs/gst/tmpl/gstregistry.sgml:
6156 * docs/gst/tmpl/gstregistrypool.sgml:
6157 * docs/gst/tmpl/gststructure.sgml:
6158 * docs/gst/tmpl/gstsystemclock.sgml:
6159 * docs/gst/tmpl/gsttrace.sgml:
6160 * gst/gstghostpad.c:
6162 * gst/gstmemchunk.c:
6163 * gst/gstmemchunk.h:
6165 * gst/gstregistry.c:
6166 * gst/gstregistrypool.c:
6167 * gst/gststructure.c:
6168 * gst/gstsystemclock.c:
6171 2005-09-02 Andy Wingo <wingo@pobox.com>
6173 * gst/gstelement.h (GstState): Renamed from GstElementState,
6174 changed to be a normal enum instead of flags.
6175 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
6176 munged to be GST_STATE_CHANGE_*.
6177 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
6178 work with the new state representation.
6179 (GstStateChange): New enumeration of possible state transitions.
6180 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
6181 (GstElementClass::change_state): Pass the GstStateChange along as
6182 an argument. Helps language bindings, so they don't have to use
6183 tricky lock-needing macros like GST_STATE_CHANGE ().
6185 * scripts/update-states (file): New script. Run it on a file to
6186 update it for state naming and API changes. Updates files in
6189 * All files updated for the new API.
6191 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
6193 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
6194 * gst/gstutils.c: (gst_util_set_value_from_string),
6195 (gst_util_set_object_arg):
6196 fix a bunch of unchecked return values
6197 * tools/gst-complete.c: (main):
6198 * gstreamer.spec.in:
6201 2005-09-01 Wim Taymans <wim@fluendo.com>
6203 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6204 (gst_base_sink_event), (gst_base_sink_do_sync),
6205 (gst_base_sink_handle_event):
6206 * gst/base/gstbasesink.h:
6207 Handle newsegments more correctly.
6212 * gst/gstevent.c: (gst_event_new_newsegment):
6213 A newsegment cannot have a start_time of -1
6215 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
6217 * win32/gstenumtypes.c:
6218 * win32/gstenumtypes.h:
6221 2005-08-31 Stefan Kost <ensonic@users.sf.net>
6223 * libs/gst/controller/gst-controller.c:
6224 (gst_controlled_property_set_interpolation_mode),
6225 (gst_controlled_property_new):
6228 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
6230 * docs/faq/gst-uninstalled:
6235 * gst/gstutils.c: (gst_element_link_filtered):
6237 add gst_element_link_filtered
6239 2005-08-31 Stefan Kost <ensonic@users.sf.net>
6241 * docs/gst/gstreamer-docs.sgml:
6242 * docs/gst/gstreamer-sections.txt:
6243 * docs/gst/tmpl/.cvsignore:
6244 * docs/gst/tmpl/gsterror.sgml:
6245 * docs/gst/tmpl/gstfilter.sgml:
6246 * docs/gst/tmpl/gsturihandler.sgml:
6247 * docs/gst/tmpl/gsturitype.sgml:
6248 * docs/gst/tmpl/gstutils.sgml:
6249 * docs/gst/tmpl/gstxml.sgml:
6257 inlined more docs, fixed double id-ref
6259 2005-08-31 Wim Taymans <wim@fluendo.com>
6261 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6262 (gst_base_transform_handle_buffer):
6263 Passthrough elements don't need the caps as they don't care.
6265 2005-08-31 Wim Taymans <wim@fluendo.com>
6267 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6268 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
6269 Don't leak refcounts on buffers.
6271 2005-08-31 Wim Taymans <wim@fluendo.com>
6273 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
6274 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
6275 (gst_base_transform_chain), (gst_base_transform_change_state):
6276 * gst/base/gstbasetransform.h:
6277 Handle the case where we are not negotiated more gracefully.
6279 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
6281 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
6282 (gst_file_src_map_region):
6283 Set READONLY flag on mmap'ed buffers, otherwise
6284 gst_buffer_make_writable() won't work properly (#314708).
6286 2005-08-31 Wim Taymans <wim@fluendo.com>
6288 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
6289 passthrough elements can even do inplace on non writable
6290 buffers (as they don't touch them).
6292 2005-08-31 Stefan Kost <ensonic@users.sf.net>
6294 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
6295 (gst_test_mono_source_set_property),
6296 (gst_test_mono_source_class_init), (GST_START_TEST),
6297 (gst_controller_suite):
6298 more tests (hehe I have the most)
6300 describe popping messages whenusing mulltiple sources
6301 * libs/gst/controller/gst-controller.c:
6302 (gst_controlled_property_set_interpolation_mode),
6303 (gst_controlled_property_new):
6304 * libs/gst/controller/gst-controller.h:
6305 * libs/gst/controller/gst-interpolation.c:
6306 implement boolean properties
6308 2005-08-31 Wim Taymans <wim@fluendo.com>
6310 * gst/gstminiobject.c: (gst_mini_object_ref):
6311 Cannot assert that the refcount has to be positive
6312 since a disposed object can be resurrected.
6314 2005-08-31 Wim Taymans <wim@fluendo.com>
6316 * gst/gstpad.c: (gst_pad_init):
6317 Revert change, need to first fix badly behaving
6320 2005-08-30 Wim Taymans <wim@fluendo.com>
6322 * check/elements/fakesrc.c: (setup_fakesrc):
6323 * check/elements/identity.c: (setup_identity):
6324 Activate pads before using them.
6326 2005-08-30 Wim Taymans <wim@fluendo.com>
6328 * gst/base/gstadapter.c: (gst_adapter_flush):
6329 Flushing out 0 bytes is ok for this function.
6331 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6332 no newsegment gives a warning and sets the start/stop to
6335 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
6336 (gst_base_transform_set_passthrough):
6339 * gst/gstminiobject.c: (gst_mini_object_ref):
6340 Check refcount here too.
6342 * gst/gstpad.c: (gst_pad_init):
6343 Pads are initially flushing and refusing data.
6345 * gst/gstutils.c: (gst_element_link_pads_filtered):
6346 When adding a capsfilter element make sure it has the
6347 same state as the parent bin.
6349 2005-08-30 Stefan Kost <ensonic@users.sf.net>
6351 * docs/gst/tmpl/.cvsignore:
6352 * docs/gst/tmpl/gstformat.sgml:
6353 * docs/gst/tmpl/gstversion.sgml:
6357 * gst/gstversion.h.in:
6358 more docs and two more inlined
6360 2005-08-30 Wim Taymans <wim@fluendo.com>
6362 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
6363 Don't sync to clock.
6365 2005-08-30 Stefan Kost <ensonic@users.sf.net>
6367 * docs/gst/gstreamer-sections.txt:
6368 ultral33t func10ns deserve to appear in the docs actually
6369 * docs/gst/tmpl/.cvsignore:
6370 * docs/gst/tmpl/gstcompat.sgml:
6371 * docs/gst/tmpl/gstconfig.sgml:
6372 * gst/check/gstcheck.c:
6374 * gst/gstconfig.h.in:
6377 2005-08-30 Stefan Kost <ensonic@users.sf.net>
6379 * docs/gst/tmpl/.cvsignore:
6380 * docs/gst/tmpl/gstquery.sgml:
6381 * docs/gst/tmpl/gstutils.sgml:
6384 inlined and extended docs
6386 2005-08-30 Stefan Kost <ensonic@users.sf.net>
6388 * check/gst-libs/controller.c: (GST_START_TEST),
6389 (gst_controller_suite):
6391 * docs/gst/tmpl/gstutils.sgml:
6392 * docs/libs/gstreamer-libs-sections.txt:
6393 * docs/libs/tmpl/gstdataprotocol.sgml:
6395 * examples/controller/audio-example.c: (main):
6396 controller example works now
6399 * tools/gst-inspect.c: (print_element_properties_info):
6400 show param spec flags
6402 2005-08-29 Andy Wingo <wingo@pobox.com>
6404 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
6406 2005-08-28 Andy Wingo <wingo@pobox.com>
6408 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
6409 as having two arguments instead of just one. Allows superclasses
6410 to access information on subclasses -- see the terrible for() loop
6411 in gtype.c:g_type_create_instance for the reason why. All callers
6414 2005-08-27 Stefan Kost <ensonic@users.sf.net>
6416 * docs/design/part-messages.txt:
6418 * docs/gst/tmpl/.cvsignore:
6419 * docs/gst/tmpl/gstcaps.sgml:
6420 * docs/gst/tmpl/gstclock.sgml:
6427 added descriptions for bus and message
6428 inline caps and clock docs
6430 2005-08-27 Stefan Kost <ensonic@users.sf.net>
6436 2005-08-27 Stefan Kost <ensonic@users.sf.net>
6438 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
6441 2005-08-26 Andy Wingo <wingo@pobox.com>
6443 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
6444 element_set_state's return val.
6445 (test_2_elements): Add test that's been disabled for months.
6447 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
6448 can-activate-pull properties.
6450 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
6451 can-activate-pull properties. Implement is_seekable so fakesrc can
6452 operate in pull mode.
6454 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
6456 (gst_base_sink_activate, gst_base_sink_activate_pull)
6457 (gst_base_sink_activate_push): Make activation mode choosing work.
6459 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
6460 is right. Make pull mode work. Post an eos before pausing in pull
6462 (gst_base_sink_change_state): Pay attention to the core's
6463 change_state() return val.
6465 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
6466 has-getrange properties. Cleanups.
6468 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
6469 has_getrange and replace with can_activate_pull and
6472 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
6473 locking comments. Remove has_loop, has_chain and replace with
6474 can_activate_pull and can_activate_push.
6476 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
6479 * examples/Makefile.am:
6480 * examples/metadata/Makefile.am:
6481 * examples/metadata/read-metadata.c: (message_loop),
6482 (have_pad_handler), (make_pipeline), (print_tag), (main):
6483 Add metadata reading example that loops over a list of filenames,
6484 dumping any tags found.
6486 * gst/gstbus.c: (gst_bus_dispose):
6487 * gst/gstelement.c: (gst_element_dispose):
6488 Release a few potentially-held references in dispose.
6490 2005-08-26 Stefan Kost <ensonic@users.sf.net>
6492 * docs/gst/tmpl/gstminiobject.sgml:
6493 do *not* add tmpl/*.sgml files to CVS!
6495 2005-08-26 Stefan Kost <ensonic@users.sf.net>
6497 * libs/gst/bytestream/.cvsignore:
6498 * libs/gst/bytestream/Makefile.am:
6499 * libs/gst/bytestream/adapter.c:
6500 * libs/gst/bytestream/adapter.h:
6501 * libs/gst/bytestream/bytestream.c:
6502 * libs/gst/bytestream/bytestream.h:
6503 * libs/gst/bytestream/filepad.c:
6504 * libs/gst/bytestream/filepad.h:
6505 removing obsolete files
6507 2005-08-26 Stefan Kost <ensonic@users.sf.net>
6509 * docs/gst/gstreamer-docs.sgml:
6510 * docs/libs/gstreamer-libs-docs.sgml:
6511 disabed additional index entries again, as this makes docs-gen just
6512 slow and they aren't useful yet
6513 * docs/libs/gstreamer-libs-sections.txt:
6514 little -section.txt cleanup for libs
6516 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
6518 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6519 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
6520 fix up some debugging
6521 (gst_base_transform_get_unit_size),
6522 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
6523 (gst_base_transform_handle_buffer):
6524 * gst/base/gstbasetransform.h:
6525 handle and store timed NEWSEGMENT events so that subclasses that
6526 calculate time by counting samples have a segment_start time they
6527 need to add to their timestamps - see audioresample
6529 2005-08-26 Stefan Kost <ensonic@users.sf.net>
6532 removed ';' from the end of macro defs
6533 * docs/gst/gstreamer-docs.sgml:
6534 * docs/gst/gstreamer-sections.txt:
6535 * docs/gst/tmpl/.cvsignore:
6537 * gst/gstelement.c: (gst_element_class_init),
6538 (gst_element_set_state), (activate_pads),
6539 (gst_element_save_thyself):
6540 * gst/gstevent.c: (gst_event_new_newsegment):
6542 * gst/gstiterator.c:
6543 * gst/gstiterator.h:
6546 * gst/gstutils.c: (gst_pad_query_convert):
6548 fixed parameter name mismatches between source, header and docs
6549 added some more docs, resolved the last batch of unused elements in
6550 docs (now someone needs to doc them)
6552 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
6554 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
6555 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
6556 don't walk through the plugins backwards. Where is all this
6557 reversed logic coming from ?
6559 2005-08-25 Wim Taymans <wim@fluendo.com>
6561 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6562 (gst_base_transform_transform_size),
6563 (gst_base_transform_configure_caps),
6564 (gst_base_transform_get_unit_size),
6565 (gst_base_transform_buffer_alloc),
6566 (gst_base_transform_change_state):
6567 * gst/base/gstbasetransform.h:
6568 Cache caps unit_size.
6569 Make sure we cannot negotiate up and downstream at the
6572 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
6574 * gst/gst.c: (init_pre), (init_post):
6575 register the installed plugin path after the env var
6576 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
6577 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
6578 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
6579 directories, so the tests can prefer uninstalled over installed
6581 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
6583 * gst/base/gstbasetransform.h:
6588 2005-08-25 Wim Taymans <wim@fluendo.com>
6590 * gst/gstbin.c: (bin_bus_handler):
6591 Be a bit more conservative about the posted message.
6593 * gst/gstbus.c: (gst_bus_post):
6594 Some cleanups, warn wrong return values.
6596 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
6598 * check/gst/gstbin.c: (GST_START_TEST):
6599 * gst/gstbin.c: (bin_bus_handler):
6600 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
6601 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
6602 (gst_message_new_warning), (gst_message_new_tag),
6603 (gst_message_new_state_changed), (gst_message_new_segment_start),
6604 (gst_message_new_segment_done), (gst_message_new_custom):
6606 * tools/gst-launch.c: (event_loop):
6607 * tools/gst-md5sum.c: (event_loop):
6608 Revert unpopular change for GST_MESSAGE_SRC to GObject.
6610 2005-08-25 Wim Taymans <wim@fluendo.com>
6612 * check/generic/states.c: (GST_START_TEST):
6613 Cleanup can be done at the end.
6615 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
6616 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
6617 (gst_task_get_state), (gst_task_start), (gst_task_pause):
6618 Oh boy.. Thanks for finding this, Thomas.
6620 2005-08-25 Stefan Kost <ensonic@users.sf.net>
6622 * docs/gst/gstreamer.types:
6625 2005-08-25 Stefan Kost <ensonic@users.sf.net>
6627 * docs/gst/gstreamer-docs.sgml:
6628 * docs/gst/gstreamer-sections.txt:
6629 * docs/gst/tmpl/.cvsignore:
6631 * gst/gstiterator.c:
6633 * gst/registries/gstxmlregistry.h:
6634 added missing classes and symbols (123 more to go)
6635 removed removed symbols from section file
6636 fixed many doc-comments
6638 2005-08-24 Wim Taymans <wim@fluendo.com>
6640 * check/generic/states.c: (GST_START_TEST):
6641 Make sure all tasks are stopped.
6643 * check/gst/gstbin.c: (GST_START_TEST):
6644 Unref after usage for proper valgrinding.
6646 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
6647 Really wait for the task to stop before destroying the
6650 * gst/gstqueue.c: (gst_queue_sink_activate_push),
6651 (gst_queue_src_activate_push):
6652 Small cleanups. Don't stop the task when we did not start
6655 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
6656 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
6657 (gst_task_get_state), (gst_task_start), (gst_task_pause),
6660 Protect the stream lock with the object lock.
6661 Disallow setting the stream lock when running.
6662 Add cleanup_all to wait for the threadpool to finish.
6663 Remove code to autoallocate a mutex if none was provided.
6664 Add _join() to wait for a task to stop.
6665 Protect the thread pool with a global lock.
6667 2005-08-24 Wim Taymans <wim@fluendo.com>
6669 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6670 (gst_base_sink_get_times), (gst_base_sink_do_sync),
6671 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
6672 * gst/base/gstbasesink.h:
6673 Handle newsegment events correctly.
6674 Drop buffers out of the segment range.
6676 2005-08-22 Andy Wingo <wingo@pobox.com>
6678 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
6679 macro, implements an interface and gstimplementsinterface for a
6682 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
6684 * check/Makefile.am:
6685 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
6686 add a test that does a bunch of state changes on elements
6687 needs some fixing for valgrind
6688 * check/states/sinks.c: (gst_object_suite):
6691 add prototype for gst_caps_is_equal_fixed
6693 * gst/gstregistrypool.c:
6696 2005-08-24 Andy Wingo <wingo@pobox.com>
6698 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
6699 convert a negative value. Doesn't make much sense. Mostly this is
6700 here to force callers to ensure -1 maps to -1.
6702 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
6704 * docs/pwg/advanced-types.xml:
6705 Well done to Michael for catching my deliberate introduction
6706 of this spelling mistake.
6707 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
6709 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
6710 unlink pads before removing the element from the bin.
6712 2005-08-24 Andy Wingo <wingo@pobox.com>
6714 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
6715 the same thing as GST_DEBUG=*:4.
6716 (parse_debug_level, parse_debug_category): New helper parsers.
6718 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
6720 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6721 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
6722 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
6723 (gst_base_transform_buffer_alloc),
6724 (gst_base_transform_handle_buffer):
6725 use gboolean return values and pointers to size so we can use the
6726 full GST_BUFFER_SIZE range (guint) for buffer sizes
6727 use GstPadDirection for transform_caps
6728 * gst/base/gstbasetransform.h:
6729 rename get_size to get_unit_size since that's what it is
6730 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
6731 use GstPadDirection for transform_caps
6732 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6734 cleanup and debugging
6736 2005-08-24 Stefan Kost <ensonic@users.sf.net>
6738 * gst/gstelement.c: (gst_element_class_init),
6739 (gst_element_set_state), (activate_pads),
6740 (gst_element_save_thyself):
6741 * tools/gst-compprep.c: (main):
6742 * tools/gst-inspect.c: (print_element_properties_info):
6743 * tools/gst-xmlinspect.c: (print_element_properties):
6744 Fixed long standing mem-leak
6746 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
6748 * check/gst/gstbin.c: (GST_START_TEST):
6749 * gst/gstbin.c: (bin_bus_handler):
6750 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
6751 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
6752 (gst_message_new_warning), (gst_message_new_tag),
6753 (gst_message_new_state_changed), (gst_message_new_segment_start),
6754 (gst_message_new_segment_done), (gst_message_new_custom):
6756 * tools/gst-launch.c: (event_loop):
6757 * tools/gst-md5sum.c: (event_loop):
6758 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
6759 that applications can sensibly post custom messages with references
6760 to their own objects.
6762 2005-08-24 Andy Wingo <wingo@pobox.com>
6764 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
6767 2005-08-24 Wim Taymans <wim@fluendo.com>
6769 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6770 (gst_base_transform_transform_caps),
6771 (gst_base_transform_transform_size),
6772 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6773 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6774 (gst_base_transform_handle_buffer):
6775 * gst/base/gstbasetransform.h:
6776 Many fixes and new features added by Thomas. Can now also do
6777 transforms with variable sizes and a custom fixate_caps function.
6779 2005-08-24 Wim Taymans <wim@fluendo.com>
6781 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6785 Cast to ClockTime before formatting to time.
6790 2005-08-24 Stefan Kost <ensonic@users.sf.net>
6792 * check/gst-libs/controller.c: (GST_START_TEST),
6793 (gst_controller_suite):
6794 * docs/gst/tmpl/gstcaps.sgml:
6795 * docs/gst/tmpl/gstghostpad.sgml:
6796 * docs/gst/tmpl/gstquery.sgml:
6797 * docs/gst/tmpl/gstutils.sgml:
6798 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
6799 (gst_object_sink_values), (gst_object_get_value_arrays),
6800 (gst_object_get_value_array):
6801 gracefully handle helper method calls to objects that are not beeing
6802 controlled, added test case for that
6804 2005-08-23 Wim Taymans <wim@fluendo.com>
6806 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
6807 (gst_event_new_newsegment), (gst_event_parse_newsegment),
6808 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
6809 (gst_event_parse_qos), (gst_event_new_seek),
6810 (gst_event_parse_seek):
6812 Some more debugging output and doc cleanups.
6814 * gst/gstqueue.c: (gst_queue_handle_sink_event):
6815 Fix possible deadlock.
6817 2005-08-23 Stefan Kost <ensonic@users.sf.net>
6819 * docs/gst/gstreamer-docs.sgml:
6820 * docs/gst/gstreamer-sections.txt:
6821 * docs/gst/gstreamer.types:
6822 * docs/gst/tmpl/.cvsignore:
6827 added 100 symbols from gstreamer-unused.txt to the right sections
6828 fixed more broken comments
6829 added GstBus to docs
6831 2005-08-23 Stefan Kost <ensonic@users.sf.net>
6833 * docs/gst/gstreamer-sections.txt:
6834 * docs/gst/tmpl/.cvsignore:
6835 * docs/gst/tmpl/gstbin.sgml:
6836 * docs/gst/tmpl/gstbuffer.sgml:
6837 * gst/base/gstbasesrc.c:
6838 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
6841 * tools/gst-launch.1.in:
6842 inlined more doc comments, added missing comments and fixed comments
6845 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
6847 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6851 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
6853 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
6854 * gst/gststructure.h:
6855 add a fixate function for booleans; add a FIXME that these func
6856 names should probably be gst_structure_fixate_*
6858 2005-08-23 Stefan Kost <ensonic@users.sf.net>
6860 * docs/gst/gstreamer-docs.sgml:
6861 * docs/gst/gstreamer-sections.txt:
6863 * gst/gstbin.c: (gst_bin_get_type),
6864 (gst_bin_child_proxy_get_child_by_index),
6865 (gst_bin_child_proxy_get_children_count),
6866 (gst_bin_child_proxy_init):
6867 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
6868 (gst_child_proxy_get_child_by_index),
6869 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
6870 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
6871 (gst_child_proxy_get), (gst_child_proxy_set_property),
6872 (gst_child_proxy_set_valist), (gst_child_proxy_set),
6873 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
6874 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
6875 * gst/gstchildproxy.h:
6876 * gst/parse/grammar.y:
6877 * tools/gst-inspect.c: (print_interfaces),
6878 (print_element_properties_info), (print_element_info):
6879 ported gstchildproxy over from 0.8
6880 ported gst-inspect fixes and enhancements over from 0.8
6882 2005-08-22 Wim Taymans <wim@fluendo.com>
6884 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6885 (gst_base_transform_handle_buffer):
6886 Also call the transform function if we have ANY caps.
6888 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
6891 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
6893 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
6894 Don't pretend to handle seek events if the source is not seekable
6896 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
6898 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6899 Remove extra parameter to debug output
6901 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6902 (gst_base_src_do_seek), (gst_base_src_activate_push):
6903 Fix seek event handling.
6905 * gst/gstpipeline.c: (gst_pipeline_change_state):
6906 * gst/gstqueue.c: (gst_queue_handle_sink_event),
6907 (gst_queue_src_activate_push):
6908 Don't start the src pad task on FLUSH_STOP if the pad
6912 2005-08-22 Wim Taymans <wim@fluendo.com>
6914 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6915 Added check for gst_static_caps_get() refcounting.
6917 2005-08-22 Wim Taymans <wim@fluendo.com>
6919 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
6920 Make _static_caps_get() refcounting sane.
6922 * gst/gstelement.c: (gst_element_set_state):
6923 Add g_return_val_if_fail() to protect against segfaults.
6925 2005-08-22 Stefan Kost <ensonic@users.sf.net>
6927 * docs/gst/tmpl/gstevent.sgml:
6930 inlined remaining docs, added missing doc comments
6932 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
6934 * check/gst/gstbin.c: (GST_START_TEST):
6935 since we don't know when preroll is done, use refcount range
6937 * gst/check/gstcheck.h:
6938 add macro for checking refcount range
6940 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
6942 * check/Makefile.am:
6943 clean up environment for when registry gets built versus
6944 when actual tests are run; valgrind seems to not report
6945 leaks if GST_PLUGIN_PATH is set to some specific values
6946 * check/gst/gstbin.c: (GST_START_TEST):
6947 add more refcounting checks; maybe this exposes a
6950 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6951 * gst/check/gstcheck.h:
6952 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
6953 (gst_bin_change_state):
6954 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
6955 add/fix debugging/whitespace
6957 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
6959 * check/gst/gstevent.c: (event_probe), (test_event),
6961 Er, don't call gst_bin_watch_for_state_change you idiot.
6963 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
6965 * check/Makefile.am:
6966 Use CHECK_CFLAGS and CHECK_LIBS
6967 * check/gst/gstevent.c: (event_probe), (test_event),
6970 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6971 (gst_base_src_start), (gst_base_src_stop),
6972 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6973 (gst_base_src_change_state):
6974 Sprinkle gst_base_src_stop liberally around error paths to fix
6975 problems reusing a source after failed state changes.
6976 * gst/base/gsttypefindhelper.c: (helper_find_peek),
6977 (helper_find_suggest), (gst_type_find_helper):
6978 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
6980 * docs/gst/tmpl/gstevent.sgml:
6981 Migrate part of the docs from the SGML file. Wait for ensonic to
6982 tell me how I did it wrong ;)
6983 * tools/gst-typefind.c: (main):
6984 Extra robustness to state changes between files.
6986 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
6988 * check/Makefile.am:
6989 don't valgrind the controller test - it's leaking - Stefan, HELP
6990 * gst/check/gstcheck.c: (gst_check_message_error),
6991 (gst_check_chain_func), (gst_check_setup_element),
6992 (gst_check_teardown_element), (gst_check_setup_src_pad),
6993 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
6994 (gst_check_teardown_sink_pad):
6995 * gst/check/gstcheck.h:
6996 add a bunch of methods to set up elements, and src and sink pads
6997 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
6998 * check/elements/identity.c: (setup_identity), (cleanup_identity),
7003 whitespace/doc fixes
7005 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7008 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
7009 be handled by the application and not always printed as well
7011 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7013 * check/Makefile.am:
7015 * gst/check/gstcheck.c: (gst_check_message_error):
7016 * gst/check/gstcheck.h:
7017 add a fail_unless_equals_int
7018 add fail_unless for error messages
7020 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7022 * check/Makefile.am:
7024 * common/Makefile.am:
7027 factor out some of the common stuff so we can use it
7029 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7031 * check/Makefile.am:
7032 * check/gst/gstiterator.c: (GST_START_TEST):
7033 * check/gst/gstsystemclock.c: (GST_START_TEST),
7034 (gst_systemclock_suite):
7035 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7039 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7041 * check/elements/.cvsignore:
7042 * check/elements/gstfakesrc.c:
7043 rename to name of element
7044 * check/elements/identity.c: (chain_func), (event_func),
7045 (setup_identity), (cleanup_identity), (GST_START_TEST),
7046 (identity_suite), (main):
7047 add a test for identity
7048 * check/Makefile.am:
7049 * pkgconfig/Makefile.am:
7050 * pkgconfig/gstreamer-check.pc.in:
7051 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7055 move the check stuff to a library that gets installed
7056 * check/gst-libs/controller.c: (GST_START_TEST):
7057 * check/gst-libs/gdp.c:
7058 * check/gst/gst.c: (GST_START_TEST):
7059 * check/gst/gstbin.c:
7060 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7061 * check/gst/gstbus.c:
7062 * check/gst/gstcaps.c: (GST_START_TEST):
7063 * check/gst/gstelement.c:
7064 * check/gst/gstghostpad.c:
7065 * check/gst/gstiterator.c:
7066 * check/gst/gstmessage.c:
7067 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
7068 * check/gst/gstobject.c:
7069 * check/gst/gstpad.c: (GST_START_TEST):
7070 * check/gst/gststructure.c: (GST_START_TEST):
7071 * check/gst/gstsystemclock.c: (GST_START_TEST),
7072 (gst_systemclock_suite):
7073 * check/gst/gsttag.c: (gst_tag_suite):
7074 * check/gst/gstvalue.c:
7075 * check/pipelines/cleanup.c:
7076 * check/pipelines/simple_launch_lines.c:
7077 * check/states/sinks.c:
7078 change include statement
7080 * docs/gst/gstreamer-sections.txt:
7081 * docs/gst/tmpl/gstpad.sgml:
7082 document more pad stuff
7083 * gst/gstminiobject.c: (gst_mini_object_ref),
7084 (gst_mini_object_unref):
7087 2005-08-19 Stefan Kost <ensonic@users.sf.net>
7089 * docs/gst/tmpl/gst.sgml:
7091 eliminate another tmpl file, fix spelling in the long-description
7093 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7095 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7096 (test_event), (timediff), (gstevents_suite):
7097 Should fix build on 64-bit arch's
7099 2005-08-18 Andy Wingo <wingo@pobox.com>
7101 Make sure that when a pipeline goes to PLAYING, that data has
7102 actually hit the sink.
7104 * check/states/sinks.c (test_sink): A sink that doesn't get any
7105 data shouldn't return SUCCESS for going to either PLAYING or
7106 PAUSED. Test also the return values on the way back down.
7108 * gst/gstelement.c (gst_element_set_state): When changing the
7109 state of an element currently changing state asynchronously, go to
7110 lost-state after commiting the pending state. Makes future calls
7111 to get_state continue to return ASYNC.
7113 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
7114 ASYNC when going to PLAYING if we still don't have preroll, as can
7115 happen with live sources.
7117 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7119 * docs/pwg/advanced-types.xml:
7120 Hack long paragraph into 2 chunks as a workaround for buggy
7121 jadetex version in sid and breezy that loops infinitely and
7124 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7126 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7127 (test_event), (timediff), (gstevents_suite):
7128 Provide more error margin in clock measurements to allow for
7129 g_get_current_time inaccuracies.
7131 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7133 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7134 (test_event), (timediff), (gstevents_suite):
7135 Fix error message output so I might be able to tell why the
7136 test works here but fails on the build farm.
7138 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7140 * check/Makefile.am:
7141 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7142 (test_event), (timediff), (gstevents_suite), (main):
7145 * docs/design/part-seeking.txt:
7148 * docs/gst/tmpl/gstevent.sgml:
7149 * docs/gst/tmpl/gstfakesrc.sgml:
7152 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7153 Treat a buffer-without-newsegment the same as a receiving
7154 a newsegment not in time format, and disable syncing to the clock
7157 * gst/gstbus.c: (gst_bus_set_sync_handler):
7158 Assert if anyone tries to replace the existing sync_handler for bus,
7159 as only the owner should be setting it.
7162 Have a fixed set of custom event enums with events identified by
7163 their structure name (as in 0.8), rather than a free-for-all
7164 allowing collisions between enum values from different plugins.
7166 * gst/gstpad.c: (gst_pad_class_init):
7169 * gst/gstqueue.c: (gst_queue_handle_sink_event):
7170 Handle out-of-band downstream events from the sending thread.
7172 2005-08-17 Andy Wingo <wingo@pobox.com>
7174 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
7175 play-timeout==0 to mean no timeout at all. In that case, don't
7176 bother with a get_state or a warning, just return directly, even
7179 * gst/base/gstbasetransform.c: Debug changes.
7182 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
7183 ensure bins post state change messages. A bit of a hack but I can't
7184 think of a way to avoid it.
7186 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
7188 2005-08-16 Andy Wingo <wingo@pobox.com>
7190 * gst/base/gstadapter.h:
7191 * gst/base/gstadapter.c (gst_adapter_take): New function, like
7192 peek() but you own the data. Not terribly efficient atm.
7194 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7196 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
7197 (gst_element_found_tags):
7199 Add two utility functions for tag handling.
7201 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7203 * docs/manual/advanced-dataaccess.xml:
7204 * docs/manual/basics-helloworld.xml:
7205 Fix docs to use _bin_add() before _link(), which fixes the examples
7206 with recent core versions (reported by Madhan Raj M
7207 <raj_madan@rediffmail.com>, #313199).
7209 2005-08-16 Wim Taymans <wim@fluendo.com>
7211 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7212 Added subtract checks.
7214 * docs/design/part-events.txt:
7215 Some more docs about newsegment
7217 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
7220 * gst/gstcaps.c: (gst_caps_to_string):
7221 Add comments, cleanups.
7223 * gst/gstelement.c: (gst_element_save_thyself):
7226 * gst/gstvalue.c: (gst_value_collect_int_range),
7227 (gst_string_unwrap), (gst_value_union_int_int_range),
7228 (gst_value_union_int_range_int_range),
7229 (gst_value_intersect_int_int_range),
7230 (gst_value_intersect_int_range_int_range),
7231 (gst_value_intersect_double_double_range),
7232 (gst_value_intersect_double_range_double_range),
7233 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
7234 (gst_value_subtract_int_range_int),
7235 (gst_value_subtract_double_range_double),
7236 (gst_value_subtract_double_range_double_range),
7237 (gst_value_subtract_from_list), (gst_value_subtract_list),
7238 (gst_value_can_compare), (gst_value_compare_fraction):
7239 Cleanups, add comments, remove unneeded asserts.
7241 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
7243 * tools/gst-launch.c: (event_loop):
7244 don't convert NULL structures to strings
7246 2005-08-15 Stefan Kost <ensonic@users.sf.net>
7248 * docs/gst/gstreamer-sections.txt:
7249 made some defines private
7250 * docs/gst/tmpl/gstconfig.sgml:
7251 * docs/gst/tmpl/gstqueue.sgml:
7252 * docs/gst/tmpl/gsttaglist.sgml:
7253 * docs/gst/tmpl/gsttypes.sgml:
7254 * docs/gst/tmpl/gstutils.sgml:
7255 * docs/pwg/appendix-porting.xml:
7256 * gst/base/gstbasesink.h:
7257 * gst/base/gstbasesrc.c:
7258 * gst/base/gstbasesrc.h:
7259 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
7260 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
7261 * gst/gstelement.c: (gst_element_class_init):
7262 * gst/gstpad.c: (gst_pad_class_init):
7263 * gst/gstqueue.c: (gst_queue_class_init):
7264 * gst/gstxml.c: (gst_xml_class_init):
7265 documented all undocumented signal inline
7266 * libs/gst/controller/gst-controller.h:
7269 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7271 * docs/pwg/appendix-porting.xml:
7272 Document _set_link_function -> _set_setcaps_function.
7274 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
7276 * check/Makefile.am:
7277 add a .check target for running the check
7278 * check/gst-libs/controller.c: (GST_START_TEST):
7280 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7281 complete checks for gstbuffer; would be nice if I could get the
7282 gcov stuff to work so I can see if I actually completed gstbuffer.c
7284 add ASSERT_BUFFER_REFCOUNT
7286 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
7288 * docs/gst/gstreamer-sections.txt:
7289 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
7291 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
7292 spew out a warning if a tag that is already registered
7293 is re-registered, unless it is re-registered with a
7294 different type (#308438).
7296 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
7298 * docs/pwg/appendix-porting.xml:
7299 * docs/pwg/building-state.xml:
7300 Add some paragraphs about state changes in 0.9 to the PWG
7301 and the porting guide, in particular about the new meaning
7302 of GST_STATE_PAUSED and how to write state change functions
7303 with concurrent access by multiple threads in mind.
7305 2005-08-11 Stefan Kost <ensonic@users.sf.net>
7307 * docs/gst/gstreamer-docs.sgml:
7308 * docs/libs/gstreamer-libs-docs.sgml:
7309 added deprecation and since indexes
7310 * libs/gst/controller/gst-controller.c:
7311 * libs/gst/controller/gst-helper.c:
7315 2005-08-11 Wim Taymans <wim@fluendo.com>
7317 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
7318 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
7319 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
7320 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
7321 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
7322 (gst_ghost_pad_set_target):
7323 Actually implement (re)setting the target on a ghostpad
7324 as described in the docs.
7326 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
7328 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
7329 Check whether GST_DEBUG_NO_COLOR environment variable is
7330 set and disable coloured debug output if that is the case.
7332 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
7334 * gst/base/gsttypefindhelper.c: (helper_find_peek),
7335 (gst_type_find_helper):
7336 The memory returned by gst_type_find_peek() needs to
7337 stay valid until the end of a typefind function, and
7338 typefind functions may keep results from different
7339 offsets around, so we can't just unref the buffer from
7340 the previous _peek(), but have to save all buffers
7341 returned by _peek() until typefinding is done and only
7344 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
7346 * docs/gst/gstreamer-sections.txt:
7348 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
7350 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7352 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
7353 Fix a pretty good memleak.
7355 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
7357 * gst/gstiterator.h:
7358 Fix wrong include and 'make distcheck'.
7360 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7362 * gst/gstbin.c: (bin_bus_handler):
7363 Use gst_element_post_message() instead.
7365 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
7367 * gst/base/gstadapter.h:
7368 * gst/base/gstbasesink.h:
7369 * gst/base/gstbasesrc.h:
7370 * gst/base/gstbasetransform.h:
7371 * gst/base/gstcollectpads.h:
7372 * gst/base/gstpushsrc.h:
7373 * gst/gstiterator.h:
7374 Add padding to our base elements' class and instance structs and
7375 to GstIterator (you will need to rebuild all plugins and apps!)
7377 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7379 * gst/gstbin.c: (bin_bus_handler):
7380 Make default message forwarding from child->bus to bin->bus
7381 threadsafe and make it not emit warnings if the parent has no bus.
7383 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7385 * gst/gstelement.c: (activate_pads):
7386 On paused->ready, set pad->caps to NULL, as is the documented
7387 behaviour in this state change. Fixes playback of series of
7388 media files when visualization is enabled in Totem.
7390 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7392 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
7393 Allow NULL as filter-caps (which means "any").
7395 2005-08-05 Stefan Kost <ensonic@users.sf.net>
7397 * docs/libs/gstreamer-libs-sections.txt:
7398 * libs/gst/controller/gst-controller.c:
7399 * libs/gst/controller/gst-controller.h:
7400 * libs/gst/controller/gst-helper.c:
7401 adding more entries to the docs and fix small doc-bugs
7403 2005-08-05 Stefan Kost <ensonic@users.sf.net>
7405 * docs/gst/gstreamer-docs.sgml:
7406 * docs/gst/gstreamer-sections.txt:
7407 * docs/gst/gstreamer.types:
7408 * docs/gst/tmpl/gstbasesink.sgml:
7409 * docs/gst/tmpl/gstbasesrc.sgml:
7410 * docs/gst/tmpl/gstbasetransform.sgml:
7411 * docs/gst/tmpl/gstfakesrc.sgml:
7412 * gst/base/gstcollectpads.c:
7413 * gst/base/gstcollectpads.h:
7414 * libs/gst/controller/gst-controller.c:
7415 * libs/gst/controller/gst-controller.h:
7416 * libs/gst/controller/gst-helper.c:
7417 * libs/gst/controller/gst-interpolation.c:
7418 * libs/gst/controller/lib.c:
7419 added long/short desc for controller docs
7420 added collectpads base class docs
7421 added correct includes to base-class docs
7423 2005-08-05 Stefan Kost <ensonic@users.sf.net>
7425 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
7426 (gst_test_mono_source_set_property),
7427 (gst_test_mono_source_class_init), (GST_START_TEST),
7428 (gst_controller_suite):
7429 * docs/gst/gstreamer-docs.sgml:
7430 * docs/gst/gstreamer-sections.txt:
7431 * docs/gst/gstreamer.types:
7432 * docs/libs/gstreamer-libs-docs.sgml:
7433 * docs/libs/gstreamer-libs-sections.txt:
7434 * gst/base/gstadapter.c:
7435 * libs/gst/controller/gst-controller.c:
7436 (gst_controlled_property_new), (gst_controlled_property_free),
7437 (gst_controller_new_valist),
7438 (gst_controller_remove_properties_valist),
7439 (gst_controller_sink_values), (_gst_controller_finalize):
7440 * libs/gst/controller/gst-controller.h:
7441 * libs/gst/controller/gst-helper.c:
7442 (gst_object_control_properties), (gst_object_uncontrol_properties),
7443 (gst_object_get_controller), (gst_object_set_controller),
7444 (gst_object_sink_values), (gst_object_get_value_arrays),
7445 (gst_object_get_value_array):
7446 more tests (and fixes) for the controller
7447 more docs for the controller
7448 integrated companies docs for the adapter
7450 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
7452 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
7453 (GST_START_TEST), (fakesrc_suite):
7454 add tests for sizetype
7456 2005-08-04 Andy Wingo <wingo@pobox.com>
7458 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
7459 fixes buffer_alloc proxying among other things.
7461 * gst/base/gstbasetransform.c:
7462 * gst/base/gstbasetransform.h:
7463 Revert patch to gstbasetransform from 7-28 removing
7466 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
7467 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
7468 Semantics changed, should return not the size of the output buffer
7469 but the byte size of a buffer with a given caps.
7471 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
7473 (gst_base_transform_configure_caps): Don't set out_size here: (in,
7474 out) are not the pad caps until setcaps finishes.
7475 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
7476 not-in-place case as well. Deal with changing from in-place to
7477 not-in-place within calling pad_alloc_buffer. Still a bit
7478 concerned about the overhead here...
7480 2005-08-03 Andy Wingo <wingo@pobox.com>
7482 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
7483 fixating is an error.
7485 2005-08-04 Edward Hervey <edward@fluendo.com>
7487 * gst/base/gstadapter.h:
7488 Added gst_adapter_get_type() to the header
7490 2005-08-03 Stefan Kost <ensonic@users.sf.net>
7492 * check/Makefile.am:
7493 * check/gst-libs/controller.c:
7494 * libs/gst/controller/gst-controller.c:
7495 (gst_controller_new_valist):
7496 added check test suite for the controller
7497 * gst/base/gstpushsrc.c:
7500 2005-08-03 Stefan Kost <ensonic@users.sf.net>
7502 * docs/gst/Makefile.am:
7503 * docs/gst/gstreamer-docs.sgml:
7504 * docs/gst/gstreamer-sections.txt:
7505 * docs/gst/gstreamer.types:
7506 * docs/gst/tmpl/gstfakesrc.sgml:
7508 * gst/base/gstbasesink.c:
7509 * gst/base/gstbasesink.h:
7510 * gst/base/gstbasesrc.c:
7511 * gst/base/gstbasesrc.h:
7512 * gst/base/gstbasetransform.c:
7513 * gst/base/gstpushsrc.c:
7514 * gst/base/gstpushsrc.h:
7515 add short/long description docs to base classes
7516 add pushsrc to the docs
7517 remove consolidated doc fragments
7519 2005-08-03 Stefan Kost <ensonic@users.sf.net>
7522 * docs/libs/Makefile.am:
7523 * docs/libs/gstreamer-libs-docs.sgml:
7524 * docs/libs/gstreamer-libs-sections.txt:
7525 * docs/libs/gstreamer-libs.types:
7526 * examples/Makefile.am:
7527 * examples/controller/.cvsignore:
7528 * examples/controller/Makefile.am:
7529 * examples/controller/audio-example.c: (main):
7530 * libs/gst/Makefile.am:
7531 * libs/gst/controller/.cvsignore:
7532 * libs/gst/controller/Makefile.am:
7533 * libs/gst/controller/gst-controller.c:
7534 (on_object_controlled_property_changed), (gst_timed_value_compare),
7535 (gst_timed_value_find),
7536 (gst_controlled_property_set_interpolation_mode),
7537 (gst_controlled_property_new), (gst_controlled_property_free),
7538 (gst_controller_find_controlled_property),
7539 (gst_controller_new_valist), (gst_controller_new),
7540 (gst_controller_remove_properties_valist),
7541 (gst_controller_remove_properties), (gst_controller_set),
7542 (gst_controller_set_from_list), (gst_controller_unset),
7543 (gst_controller_get), (gst_controller_get_all),
7544 (gst_controller_sink_values), (gst_controller_get_value_arrays),
7545 (gst_controller_get_value_array),
7546 (gst_controller_set_interpolation_mode),
7547 (_gst_controller_finalize), (_gst_controller_init),
7548 (_gst_controller_class_init), (gst_controller_get_type):
7549 * libs/gst/controller/gst-controller.h:
7550 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
7551 (g_object_uncontrol_properties), (g_object_get_controller),
7552 (g_object_set_controller), (g_object_sink_values),
7553 (g_object_get_value_arrays), (g_object_get_value_array):
7554 * libs/gst/controller/gst-interpolation.c:
7555 (gst_controlled_property_find_timed_value_node),
7556 (interpolate_none_get), (interpolate_trigger_get),
7557 (interpolate_trigger_get_value_array):
7558 * libs/gst/controller/lib.c: (gst_controller_init):
7559 * pkgconfig/Makefile.am:
7560 * pkgconfig/gstreamer-control-uninstalled.pc.in:
7561 * pkgconfig/gstreamer-control.pc.in:
7562 * testsuite/Makefile.am:
7563 * testsuite/controller/.cvsignore:
7564 * testsuite/controller/Makefile.am:
7565 * testsuite/controller/interpolator.c: (main):
7566 added controller code
7567 removed dparam pc files
7569 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
7570 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
7571 (gst_collectpads_stop):
7572 Broadcast the condition when shutting down, to make sure we wake all
7573 threads up. Shut down pads on finalize, for safety.
7575 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
7576 * gst/base/gstbasetransform.c: (gst_base_transform_init),
7577 (gst_base_transform_handle_buffer),
7578 (gst_base_transform_change_state):
7579 Handle PAUSED->READY->PAUSED transition after negotiation
7581 * gst/gstmessage.c: (gst_message_init):
7582 Extra piece of debug for new messages.
7584 2005-08-01 Stefan Kost <ensonic@users.sf.net>
7587 * docs/gst/tmpl/gstbasesrc.sgml:
7588 * docs/gst/tmpl/gstelement.sgml:
7589 * docs/gst/tmpl/gstevent.sgml:
7590 * docs/gst/tmpl/gstfakesrc.sgml:
7591 * docs/gst/tmpl/gstformat.sgml:
7592 * docs/gst/tmpl/gstghostpad.sgml:
7593 * docs/gst/tmpl/gstpad.sgml:
7594 * docs/gst/tmpl/gstquery.sgml:
7595 * docs/gst/tmpl/gststructure.sgml:
7596 * docs/gst/tmpl/gsttaglist.sgml:
7597 * docs/gst/tmpl/gstvalue.sgml:
7598 * docs/libs/gstreamer-libs-docs.sgml:
7599 * docs/libs/gstreamer-libs-sections.txt:
7600 * docs/libs/gstreamer-libs.types:
7601 * libs/gst/Makefile.am:
7602 * libs/gst/control/.cvsignore:
7603 * libs/gst/control/Makefile.am:
7604 * libs/gst/control/control.c:
7605 * libs/gst/control/control.h:
7606 * libs/gst/control/dparam.c:
7607 * libs/gst/control/dparam.h:
7608 * libs/gst/control/dparam_smooth.c:
7609 * libs/gst/control/dparam_smooth.h:
7610 * libs/gst/control/dparamcommon.h:
7611 * libs/gst/control/dparammanager.c:
7612 * libs/gst/control/dparammanager.h:
7613 * libs/gst/control/dplinearinterp.c:
7614 * libs/gst/control/dplinearinterp.h:
7615 * libs/gst/control/unitconvert.c:
7616 * libs/gst/control/unitconvert.h:
7617 * testsuite/Makefile.am:
7618 * testsuite/dynparams/.cvsignore:
7619 * testsuite/dynparams/Makefile.am:
7620 * testsuite/dynparams/dparamstest.c:
7621 * tools/Makefile.am:
7622 * tools/gst-inspect.c: (print_element_info), (main):
7623 * tools/gst-xmlinspect.c: (print_element_info), (main):
7624 deactivate and remove dparams (libgstcontrol)
7626 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
7628 * gst/elements/gsttypefindelement.c:
7629 (gst_type_find_element_have_type), (gst_type_find_element_init),
7630 (stop_typefinding), (gst_type_find_element_handle_event),
7631 (gst_type_find_element_chain), (gst_type_find_element_getrange):
7632 * gst/elements/gsttypefindelement.h:
7633 Set caps on all outgoing buffers, not just the first one.
7635 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
7637 * gst/elements/gsttypefindelement.c:
7638 (gst_type_find_element_have_type),
7639 (gst_type_find_element_check_set_buffer_caps),
7640 (gst_type_find_element_init), (stop_typefinding),
7641 (gst_type_find_element_handle_event),
7642 (gst_type_find_element_chain), (gst_type_find_element_getrange):
7643 * gst/elements/gsttypefindelement.h:
7644 Set caps on first outgoing buffer when we've found the type.
7646 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
7648 * docs/gst/gstreamer-docs.sgml:
7649 * docs/gst/gstreamer-sections.txt:
7650 * docs/gst/tmpl/gstscheduler.sgml:
7651 * docs/gst/tmpl/gstschedulerfactory.sgml:
7652 Remove some old cruft from docs.
7654 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
7657 Fix inline docs for GstPadLinkReturn.
7659 * gst/gststructure.c: (gst_structure_has_name):
7660 * gst/gststructure.h:
7661 * docs/gst/gstreamer-sections.txt:
7662 New API: gst_structure_has_name().
7664 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
7667 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
7668 and _LARGEFILE_SOURCE in config.h as required. Do not
7669 export those flags in our .pc files any longer (#142209).
7671 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
7673 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
7674 (gst_file_sink_do_seek), (gst_file_sink_event),
7675 (gst_file_sink_get_current_offset), (gst_file_sink_render):
7676 Redo seek/tell calls with large file support in mind; add some
7677 debugging messages; add log message that tells us when large
7678 file support is unavailable or not enabled for some reason.
7680 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
7681 Add log message that tells us when large file support
7682 is unavailable or not enabled for some reason.
7684 2005-07-29 Wim Taymans <wim@fluendo.com>
7686 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
7687 Added test for removing an element with ghostpad from a bin.
7688 Fixed test as current implementation does the right thing.
7690 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
7691 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
7692 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
7693 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
7694 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
7695 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
7696 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
7697 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7698 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
7699 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
7700 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
7701 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
7702 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7703 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
7704 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
7705 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
7706 * gst/gstghostpad.h:
7707 Clean up ghostpads, remove properties for internal stuff.
7710 Prepare for switching targets, not all use cases work yet.
7712 2005-07-29 Wim Taymans <wim@fluendo.com>
7714 * docs/design/part-gstghostpad.txt:
7717 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
7718 (gst_bin_remove_func):
7719 Unlinking pads while holding the bin LOCK is not a good
7722 * gst/gstpad.c: (gst_pad_class_init),
7723 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
7724 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
7725 No prob setting template after creating the pad.
7727 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
7729 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
7730 (gst_bus_peek), (gst_bus_source_dispatch),
7731 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
7732 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
7733 gst_bus_poll may be called from other threads. Handle
7734 this nicely by not making poll_data disappear off the
7735 stack once gst_bus_poll returns.
7736 gst_bus_peek now increments the refcount on the returned
7739 2005-07-29 Wim Taymans <wim@fluendo.com>
7741 * docs/design/part-gstghostpad.txt:
7742 Overview of current GhostPad datastructures and use
7743 cases for changing the target.
7745 2005-07-28 Wim Taymans <wim@fluendo.com>
7747 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7748 Added checks for hierarchy consistency whan adding linked
7751 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
7752 Added check to test element scheduling without bin/pipeline.
7754 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
7755 First add elements to bin, then link.
7757 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
7758 (gst_bin_remove_func):
7759 Unlink pads from elements added/removed from bin to maintain
7760 hierarchy consistency.
7762 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7764 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7765 (gst_base_transform_handle_buffer):
7766 * gst/base/gstbasetransform.h:
7767 Remove broken delay_configure (fixes renegotiation of software
7768 scaling pipelines); remove some leftover printf()s.
7770 2005-07-28 Wim Taymans <wim@fluendo.com>
7772 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
7773 Added some more tests for wrong hierarchy
7775 * docs/design/part-overview.txt:
7778 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
7781 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
7782 (gst_element_dispose):
7785 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
7786 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
7787 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7788 (gst_pad_set_caps), (gst_pad_send_event):
7789 Check for correct hierarchy when linking pads. Moving to
7790 strict requirement for ghostpads when linking elements in
7794 Clean ups. Added WRONG_HIERARCHY return value.
7796 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7798 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
7799 Better debug if no transform is possible.
7801 2005-07-27 Wim Taymans <wim@fluendo.com>
7803 * docs/random/wtay/network-transp:
7806 2005-07-27 Wim Taymans <wim@fluendo.com>
7808 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7809 (gst_dp_event_from_packet):
7810 Fix serialization of seek events.
7812 2005-07-27 Wim Taymans <wim@fluendo.com>
7814 * check/gst-libs/gdp.c: (GST_START_TEST):
7815 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
7816 Fix compilation and fix event serialization.
7818 2005-07-27 Wim Taymans <wim@fluendo.com>
7821 * docs/design/part-TODO.txt:
7822 * docs/design/part-events.txt:
7825 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7826 (gst_base_sink_event), (gst_base_sink_do_sync),
7827 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
7828 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7829 (gst_base_src_do_seek), (gst_base_src_event_handler),
7830 (gst_base_src_loop):
7831 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7832 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7833 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7834 (gst_base_transform_event), (gst_base_transform_handle_buffer),
7835 (gst_base_transform_set_passthrough),
7836 (gst_base_transform_is_passthrough):
7837 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
7838 * gst/elements/gstfilesink.c: (gst_file_sink_event):
7844 * gst/gstelement.c: (gst_element_seek):
7846 Update gst_element_seek.
7848 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
7849 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
7850 (gst_event_new_flush_start), (gst_event_new_flush_stop),
7851 (gst_event_new_eos), (gst_event_new_newsegment),
7852 (gst_event_parse_newsegment), (gst_event_new_tag),
7853 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
7854 (gst_event_parse_qos), (gst_event_new_seek),
7855 (gst_event_parse_seek), (gst_event_new_navigation):
7857 Make GstEvent use GstStructure. Add parsing code, make sure the
7858 API is sufficiently generic.
7859 Mark possible directions of events and serialization.
7861 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
7862 (_gst_message_copy), (gst_message_new_segment_start),
7863 (gst_message_new_segment_done), (gst_message_new_custom),
7864 (gst_message_parse_segment_start),
7865 (gst_message_parse_segment_done):
7868 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7869 (gst_pad_set_caps), (gst_pad_send_event):
7870 Update for new events.
7871 Catch events sent in wrong directions.
7873 * gst/gstqueue.c: (gst_queue_link_src),
7874 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
7875 (gst_queue_handle_src_query):
7880 Remove event code from this file.
7882 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7883 (gst_dp_event_from_packet):
7886 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7888 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
7889 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7890 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
7891 Make debugging actually useful.
7893 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7895 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
7896 (gst_pad_fixate_caps):
7897 Implement default fixation once again, so that gst_pad_fixate()
7898 actually does anything at all. This probably needs to be some
7899 sort of a last resort, and use profile-based fixation first, but
7900 since that doesn't exist yet, this is the best we have. Fixes
7901 visualization in Totem.
7903 2005-07-22 Wim Taymans <wim@fluendo.com>
7905 * docs/design/part-events.txt:
7908 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7909 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
7910 (gst_base_sink_activate_pull):
7913 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
7914 (gst_fake_src_create):
7915 Fix handoff marshall.
7917 * gst/elements/gstidentity.c: (gst_identity_class_init),
7918 (gst_identity_transform_ip):
7919 We're a real inplace element.
7921 * gst/gstbus.c: (gst_bus_post):
7922 Added some comments.
7924 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
7925 * tests/muxing/case1.c: (main):
7926 * tests/sched/dynamic-pipeline.c: (main):
7927 * tests/sched/interrupt1.c: (main):
7928 * tests/sched/interrupt2.c: (main):
7929 * tests/sched/interrupt3.c: (main):
7930 * tests/sched/runxml.c: (main):
7931 * tests/sched/sched-stress.c: (main):
7932 * tests/seeking/seeking1.c: (event_received), (main):
7933 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
7935 * tests/threadstate/threadstate3.c: (main):
7936 * tests/threadstate/threadstate4.c: (main):
7937 * tests/threadstate/threadstate5.c: (main):
7940 2005-07-21 Wim Taymans <wim@fluendo.com>
7942 * docs/design/part-seeking.txt:
7943 Some small additions.
7945 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7946 (gst_base_sink_get_times), (gst_base_sink_do_sync),
7947 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
7948 * gst/base/gstbasesink.h:
7949 discont values are gint64, handle the math correctly.
7951 * gst/base/gstbasesrc.c: (gst_base_src_loop):
7952 Make the basesrc report error if the source pad is not linked.
7954 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
7955 (gst_queue_loop), (gst_queue_handle_src_query),
7956 (gst_queue_src_activate_push):
7957 Make queue collect data even if the srcpad is not linked.
7958 Start pushing out data as soon as it is linked.
7960 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
7962 Added gst_flow_get_name() to ease error reporting.
7964 2005-07-20 Wim Taymans <wim@fluendo.com>
7966 * gst/gstmessage.c: (gst_message_new_segment_start),
7967 (gst_message_new_segment_done), (gst_message_parse_segment_start),
7968 (gst_message_parse_segment_done):
7970 Added a bunch of messages for advanced seeking.
7972 * gst/parse/grammar.y:
7973 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
7974 (gst_dpman_state_changed):
7975 Fix some new-pad -> pad-added signals
7977 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7979 * docs/manual/appendix-porting.xml:
7980 * docs/pwg/appendix-porting.xml:
7981 Document new-pad/state-change signal renames and the FixedList
7984 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7986 * docs/manual/advanced-autoplugging.xml:
7987 * docs/manual/basics-helloworld.xml:
7988 * docs/manual/basics-pads.xml:
7989 * docs/random/ds/0.9-suggested-changes:
7990 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
7995 * gst/gststructure.c: (gst_structure_value_get_generic_type),
7996 (gst_structure_parse_array), (gst_structure_parse_value):
7997 * gst/gstvalue.c: (gst_type_is_fixed),
7998 (gst_value_list_prepend_value), (gst_value_list_append_value),
7999 (gst_value_list_get_size), (gst_value_list_get_value),
8000 (gst_value_transform_array_string), (gst_value_serialize_array),
8001 (gst_value_deserialize_array), (gst_value_intersect_array),
8002 (gst_value_is_fixed), (_gst_value_initialize):
8004 GstElement::new-pad -> pad-added, GstElement::state-change ->
8005 state-changed, GstValueFixedList -> GstValueArray, add format and
8006 flags as their own arguments in gst_element_seek() (should improve
8007 "bindeability"), remove function generators since they don't work
8008 under a whole bunch of compilers (they were deprecated already
8011 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8013 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
8014 (_gst_debug_register_funcptr):
8016 Fix illegal cast on some platforms (#309253).
8018 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8020 * gst/gstmessage.c: (gst_message_new_custom):
8022 Add _new_custom, make _new_application a macro to _new_custom.
8024 2005-07-20 Wim Taymans <wim@fluendo.com>
8026 * gst/base/gstbasesrc.c: (gst_base_src_init),
8027 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
8028 * gst/base/gstbasesrc.h:
8029 Add a gboolean to decide when to push out a discont.
8031 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8032 (gst_queue_loop), (gst_queue_handle_src_query),
8033 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
8034 (gst_queue_set_property), (gst_queue_get_property):
8037 * tests/threadstate/threadstate1.c: (main):
8038 Make a thread test compile and run... very silly..
8041 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8043 * docs/manual/appendix-porting.xml:
8044 Mention removal of libgstgconf-0.9.la and existence of gconf
8047 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8049 * docs/pwg/advanced-clock.xml:
8050 * docs/pwg/appendix-porting.xml:
8051 * docs/pwg/intro-preface.xml:
8052 * docs/pwg/other-base.xml:
8053 * docs/pwg/other-manager.xml:
8054 * docs/pwg/other-nton.xml:
8055 * docs/pwg/other-ntoone.xml:
8056 * docs/pwg/other-oneton.xml:
8058 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
8059 demuxer), remove n-to-n (was never written), fix some code examples
8060 and links and update the porting section to include all this.
8062 2005-07-19 Wim Taymans <wim@fluendo.com>
8064 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
8065 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
8066 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
8067 (gst_queue_src_activate_push), (gst_queue_change_state),
8068 (gst_queue_get_property):
8070 Propagate GstFlowReturn more intelligently upstream and output
8071 an ERROR/EOS when streaming stopped due to fatal error.
8073 2005-07-19 Wim Taymans <wim@fluendo.com>
8075 * tools/gst-launch.c: (check_intr), (event_loop), (main):
8076 Don't block forever for the state change to complete, the
8077 pipeline already did with a sensible timeout.
8079 2005-07-19 Wim Taymans <wim@fluendo.com>
8081 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
8082 Make sure we never call the create function is we
8085 2005-07-19 Andy Wingo <wingo@pobox.com>
8087 * gst/parse/parse.l: Attempt to solve bug #172815.
8089 2005-07-19 Wim Taymans <wim@fluendo.com>
8091 * docs/design/part-clocks.txt:
8092 * docs/design/part-events.txt:
8093 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
8095 Only update the seeking values when we are not
8098 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
8100 * gst/base/gstbasesrc.c: (gst_base_src_loop):
8101 Oops, ignore the result of gst_pad_push_event here.
8103 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
8105 * gst/base/gstbasesrc.c: (gst_base_src_loop),
8106 (gst_base_src_activate_push):
8107 Send discont event from the loop function, as pads
8108 aren't activated yet in the activate_push handler.
8110 * gst/gstbin.c: (bin_bus_handler):
8111 Don't leak element name.
8113 2005-07-18 Andy Wingo <wingo@pobox.com>
8115 * configure.ac: Use AS_LIBTOOL_TAGS.
8117 2005-07-18 Wim Taymans <wim@fluendo.com>
8119 * docs/gst/gstreamer.types:
8120 Remove deleted types.
8122 2005-07-18 Wim Taymans <wim@fluendo.com>
8124 * check/elements/gstfakesrc.c: (GST_START_TEST):
8127 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
8128 (init_popt_callback):
8130 * gst/gst_private.h:
8131 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
8132 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
8135 * gst/gstconfig.h.in:
8136 * gst/gstelement.c: (gst_element_class_init),
8137 (gst_element_set_base_time), (gst_element_get_base_time),
8138 (iterator_fold_with_resync), (gst_element_change_state),
8139 (gst_element_dispose), (gst_element_get_bus):
8141 * gst/gstelementfactory.h:
8142 * gst/gsterror.c: (_gst_core_errors_init):
8145 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
8147 * gst/gstinfo.c: (_gst_debug_init):
8148 * gst/gstmessage.c: (_gst_message_copy):
8150 * gst/gstminiobject.h:
8153 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8154 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
8157 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
8158 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
8159 (gst_pipeline_get_last_stream_time):
8160 * gst/gstpipeline.h:
8161 * gst/gstpluginfeature.h:
8163 * gst/gstscheduler.c:
8164 * gst/gstscheduler.h:
8165 * gst/gststructure.h:
8166 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
8167 (gst_task_finalize), (gst_task_func), (gst_task_create),
8168 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
8169 (gst_task_stop), (gst_task_pause):
8171 * gst/gsttypefind.h:
8173 * gst/registries/gstlibxmlregistry.c: (load_feature),
8174 (gst_xml_registry_load), (gst_xml_registry_save_feature):
8175 * gst/registries/gstxmlregistry.c:
8176 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
8177 * gst/schedulers/threadscheduler.c:
8178 * libs/gst/control/dparammanager.h:
8179 * tools/gst-inspect.c: (print_element_list),
8180 (print_plugin_features), (print_element_features):
8181 * tools/gst-xmlinspect.c: (print_element_list),
8182 (print_plugin_info), (main):
8183 Removed plugable schedulers.
8184 Removed Scheduler/Manager from elements.
8185 Removed gsttypes.h, rearranged includes.
8186 Removed dependency pad<->element, element<>pipeline, and
8187 various others, fix includes.
8188 implement gst_pad_get_parent() with gst_object_get_parent()
8189 Make GstTask sefcontained.
8190 Fix _get_state() on GstBin, it did not return ASYNC with a 0
8192 Fix endless loop in iterator_fold_with_resync.
8195 2005-07-18 Wim Taymans <wim@fluendo.com>
8201 2005-07-18 Wim Taymans <wim@fluendo.com>
8206 2005-07-18 Wim Taymans <wim@fluendo.com>
8212 2005-07-18 Wim Taymans <wim@fluendo.com>
8214 * docs/design/part-dynamic.txt:
8215 * docs/design/part-events.txt:
8216 * docs/design/part-seeking.txt:
8217 Some more docs in the works.
8219 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8220 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
8221 (gst_base_transform_setcaps), (gst_base_transform_get_size),
8222 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
8223 (gst_base_transform_handle_buffer),
8224 (gst_base_transform_sink_activate_push),
8225 (gst_base_transform_src_activate_pull),
8226 (gst_base_transform_set_passthrough),
8227 (gst_base_transform_is_passthrough):
8230 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
8233 * gst/gstevent.c: (gst_event_finalize):
8236 * gst/gstutils.c: (gst_element_unlink),
8237 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
8238 (gst_pad_proxy_setcaps):
8240 Add _get_parent_element() to get a pads parent as an element.
8242 2005-07-18 Wim Taymans <wim@fluendo.com>
8244 * check/gst/gstbin.c: (GST_START_TEST):
8247 2005-07-18 Wim Taymans <wim@fluendo.com>
8249 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
8250 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
8251 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
8252 (gst_base_sink_event), (gst_base_sink_do_sync),
8253 (gst_base_sink_chain), (gst_base_sink_loop),
8254 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
8255 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
8257 Fix logic for returning ASYNC when not prerolled.
8259 2005-07-18 Wim Taymans <wim@fluendo.com>
8261 * gst/gstqueue.c: (gst_queue_handle_sink_event):
8262 Fix nasty refcount bug.
8264 2005-07-16 Philippe Khalaf <burger@speedy.org>
8266 * gst/elements/gstfdsrc.c:
8267 * gst/elements/gstfdsrc.h:
8268 * gst/elements/gstelements.c:
8269 * gst/elements/Makefile.am:
8270 Ported fdsrc to 0.9.
8272 2005-07-16 Wim Taymans <wim@fluendo.com>
8274 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8275 (gst_base_sink_do_sync):
8278 2005-07-16 Wim Taymans <wim@fluendo.com>
8280 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8281 (gst_base_sink_event), (gst_base_sink_get_times),
8282 (gst_base_sink_do_sync), (gst_base_sink_change_state):
8283 * gst/base/gstbasesink.h:
8284 Store and use discont values when syncing buffers as described
8287 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8288 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
8289 (gst_base_src_activate_push):
8290 Push discont event when starting.
8292 * gst/elements/gstidentity.c: (gst_identity_transform):
8295 * gst/gstbin.c: (gst_bin_change_state):
8296 Small cleanups in base_time distribution.
8298 * gst/gstelement.c: (gst_element_set_base_time),
8299 (gst_element_get_base_time), (gst_element_change_state):
8301 Added methods for the base_time of the element.
8304 * gst/gstpipeline.c: (gst_pipeline_send_event),
8305 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
8306 (gst_pipeline_get_last_stream_time):
8307 * gst/gstpipeline.h:
8309 Handle seeking as described in design doc, remove stream_time
8311 Cleanups clock and stream_time selection code. Added accessors
8312 for the stream_time.
8315 2005-07-16 Andy Wingo <wingo@pobox.com>
8317 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
8320 2005-07-16 Wim Taymans <wim@fluendo.com>
8322 * check/gst/gstbin.c: (GST_START_TEST):
8323 Make elements silent as the deep_notify refs the
8324 parent, which might make the test fail.
8326 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
8327 Don't hold the lock for too long.
8329 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
8331 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
8332 Don't unref the caps we passed to gst_caps_make_writable() after
8333 passing them. gst_caps_make_writable() will do that for us.
8335 2005-07-15 Andy Wingo <wingo@pobox.com>
8337 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
8340 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
8341 own marshalling function for the handoff signal. Properly type the
8342 buffer as a buffer. Fixes some warnings. Should do a more general
8344 (gst_identity_class_init): Plug into the right marshaller.
8346 2005-07-15 Wim Taymans <wim@fluendo.com>
8348 * docs/design/part-TODO.txt:
8349 * docs/design/part-clocks.txt:
8350 * docs/design/part-element-sink.txt:
8351 * docs/design/part-events.txt:
8352 * docs/design/part-gstpipeline.txt:
8353 Updated docs, mostly DISCONT related.
8355 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
8357 * docs/pwg/building-pads.xml:
8358 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
8360 2005-07-15 Andy Wingo <wingo@pobox.com>
8362 * tools/gst-typefind.c: Update, add copyright block.
8364 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
8365 Normalize and truncate caps before fixation.
8368 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
8369 discards all but the first structure from its argument.
8371 2005-07-15 Wim Taymans <wim@fluendo.com>
8373 * gst/base/gstbasetransform.c: (gst_base_transform_init),
8374 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
8375 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8376 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8377 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
8378 (gst_base_transform_chain), (gst_base_transform_change_state),
8379 (gst_base_transform_set_passthrough),
8380 (gst_base_transform_is_passthrough):
8381 * gst/base/gstbasetransform.h:
8382 Make passthrough work using the bufferpools.
8383 Changed API a bit, subclasses have to write into a buffer
8384 provided by the base class.
8385 More debug info in nego functions.
8387 * gst/elements/gstidentity.c: (gst_identity_init),
8388 (gst_identity_transform):
8389 Port to new base class.
8391 2005-07-15 Wim Taymans <wim@fluendo.com>
8393 * gst/gstmessage.c: (gst_message_new_state_changed):
8394 * tools/gst-launch.c: (event_loop), (main):
8395 Totally dump messages in -launch with the -m option.
8396 Fix message name for State messages,
8398 2005-07-14 Wim Taymans <wim@fluendo.com>
8400 * gst/base/gstbasesrc.c: (gst_base_src_loop):
8401 Post error messages on errors.
8403 2005-07-14 Wim Taymans <wim@fluendo.com>
8405 * gst/gstcaps.c: (gst_caps_do_simplify):
8409 Define error for stream stopped.
8411 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
8412 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
8413 Do proper return values.
8415 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8416 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
8417 (gst_pad_get_range):
8418 Better return values.
8421 Reorganise return values, add macro to check for fatal errors.
8423 * gst/gstqueue.c: (gst_queue_chain):
8424 Return proper GstFlowReturn values,
8426 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
8428 * docs/gst/gstreamer-sections.txt:
8429 * docs/gst/gstreamer.types:
8430 * docs/gst/tmpl/gst.sgml:
8431 * docs/gst/tmpl/gstbasesink.sgml:
8432 * docs/gst/tmpl/gstbasesrc.sgml:
8433 * docs/gst/tmpl/gstbasetransform.sgml:
8434 * docs/gst/tmpl/gstbin.sgml:
8435 * docs/gst/tmpl/gstbuffer.sgml:
8436 * docs/gst/tmpl/gstcaps.sgml:
8437 * docs/gst/tmpl/gstclock.sgml:
8438 * docs/gst/tmpl/gstcompat.sgml:
8439 * docs/gst/tmpl/gstconfig.sgml:
8440 * docs/gst/tmpl/gstelement.sgml:
8441 * docs/gst/tmpl/gstelementdetails.sgml:
8442 * docs/gst/tmpl/gstelementfactory.sgml:
8443 * docs/gst/tmpl/gstenumtypes.sgml:
8444 * docs/gst/tmpl/gsterror.sgml:
8445 * docs/gst/tmpl/gstevent.sgml:
8446 * docs/gst/tmpl/gstfakesink.sgml:
8447 * docs/gst/tmpl/gstfakesrc.sgml:
8448 * docs/gst/tmpl/gstfilesink.sgml:
8449 * docs/gst/tmpl/gstfilesrc.sgml:
8450 * docs/gst/tmpl/gstfilter.sgml:
8451 * docs/gst/tmpl/gstformat.sgml:
8452 * docs/gst/tmpl/gstghostpad.sgml:
8453 * docs/gst/tmpl/gstimplementsinterface.sgml:
8454 * docs/gst/tmpl/gstindex.sgml:
8455 * docs/gst/tmpl/gstindexfactory.sgml:
8456 * docs/gst/tmpl/gstinfo.sgml:
8457 * docs/gst/tmpl/gstiterator.sgml:
8458 * docs/gst/tmpl/gstmacros.sgml:
8459 * docs/gst/tmpl/gstmemchunk.sgml:
8460 * docs/gst/tmpl/gstminiobject.sgml:
8461 * docs/gst/tmpl/gstobject.sgml:
8462 * docs/gst/tmpl/gstpad.sgml:
8463 * docs/gst/tmpl/gstpadtemplate.sgml:
8464 * docs/gst/tmpl/gstparse.sgml:
8465 * docs/gst/tmpl/gstpipeline.sgml:
8466 * docs/gst/tmpl/gstplugin.sgml:
8467 * docs/gst/tmpl/gstpluginfeature.sgml:
8468 * docs/gst/tmpl/gstquery.sgml:
8469 * docs/gst/tmpl/gstqueue.sgml:
8470 * docs/gst/tmpl/gstregistry.sgml:
8471 * docs/gst/tmpl/gstregistrypool.sgml:
8472 * docs/gst/tmpl/gstscheduler.sgml:
8473 * docs/gst/tmpl/gstschedulerfactory.sgml:
8474 * docs/gst/tmpl/gststructure.sgml:
8475 * docs/gst/tmpl/gstsystemclock.sgml:
8476 * docs/gst/tmpl/gsttaglist.sgml:
8477 * docs/gst/tmpl/gsttagsetter.sgml:
8478 * docs/gst/tmpl/gsttrace.sgml:
8479 * docs/gst/tmpl/gsttrashstack.sgml:
8480 * docs/gst/tmpl/gsttypefind.sgml:
8481 * docs/gst/tmpl/gsttypefindfactory.sgml:
8482 * docs/gst/tmpl/gsttypes.sgml:
8483 * docs/gst/tmpl/gsturihandler.sgml:
8484 * docs/gst/tmpl/gsturitype.sgml:
8485 * docs/gst/tmpl/gstutils.sgml:
8486 * docs/gst/tmpl/gstvalue.sgml:
8487 * docs/gst/tmpl/gstversion.sgml:
8488 * docs/gst/tmpl/gstxml.sgml:
8489 * docs/libs/tmpl/gstcontrol.sgml:
8490 * docs/libs/tmpl/gstdataprotocol.sgml:
8491 * docs/libs/tmpl/gstdparam.sgml:
8492 * docs/libs/tmpl/gstdplinint.sgml:
8493 * docs/libs/tmpl/gstdpman.sgml:
8494 * docs/libs/tmpl/gstdpsmooth.sgml:
8495 * docs/libs/tmpl/gstgetbits.sgml:
8496 * docs/libs/tmpl/gstunitconvert.sgml:
8497 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
8498 (gst_push_src_base_init), (gst_push_src_class_init),
8499 (gst_push_src_init), (gst_push_src_create):
8500 * gst/base/gstpushsrc.h:
8501 * gst/elements/gstelements.c:
8502 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
8503 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
8504 (gst_fake_sink_init), (gst_fake_sink_set_property),
8505 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
8506 (gst_fake_sink_event), (gst_fake_sink_preroll),
8507 (gst_fake_sink_render), (gst_fake_sink_change_state):
8508 * gst/elements/gstfakesink.h:
8509 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
8510 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
8511 (gst_fake_src_base_init), (gst_fake_src_class_init),
8512 (gst_fake_src_init), (gst_fake_src_event_handler),
8513 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
8514 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
8515 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
8516 (gst_fake_src_create_buffer), (gst_fake_src_create),
8517 (gst_fake_src_start), (gst_fake_src_stop):
8518 * gst/elements/gstfakesrc.h:
8519 * gst/elements/gstfilesink.c: (_do_init),
8520 (gst_file_sink_base_init), (gst_file_sink_class_init),
8521 (gst_file_sink_init), (gst_file_sink_dispose),
8522 (gst_file_sink_set_location), (gst_file_sink_set_property),
8523 (gst_file_sink_get_property), (gst_file_sink_open_file),
8524 (gst_file_sink_close_file), (gst_file_sink_query),
8525 (gst_file_sink_event), (gst_file_sink_render),
8526 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
8527 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
8528 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
8529 * gst/elements/gstfilesink.h:
8530 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
8531 (gst_file_src_class_init), (gst_file_src_init),
8532 (gst_file_src_finalize), (gst_file_src_set_location),
8533 (gst_file_src_set_property), (gst_file_src_get_property),
8534 (gst_file_src_map_region), (gst_file_src_map_small_region),
8535 (gst_file_src_create_mmap), (gst_file_src_create_read),
8536 (gst_file_src_create), (gst_file_src_is_seekable),
8537 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
8538 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
8539 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
8540 (gst_file_src_uri_handler_init):
8541 * gst/elements/gstfilesrc.h:
8542 more autistic cleanliness in functions/names/defines
8544 2005-07-13 Andy Wingo <wingo@pobox.com>
8546 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
8547 source couldn't negotiate.
8549 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
8553 * gst/gstutils.c (gst_element_link_pads_filtered): New old
8554 function. I am channeling Hades. Put your boots on suckers!!!
8556 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
8558 * testsuite/caps/Makefile.am:
8559 * testsuite/caps/value_compare.c:
8560 * testsuite/caps/value_intersect.c:
8561 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8562 move two testsuite apps over to the check dir
8564 2005-07-12 Wim Taymans <wim@fluendo.com>
8566 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8567 Added more debug info in the negotiate process.
8570 Prepare for segment playback.
8572 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
8578 * tools/gst-launch.c: (main):
8579 NULL pipeline on errors.
8581 2005-07-12 Andy Wingo <wingo@pobox.com>
8583 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
8584 not it comes from a malloc region. Make sure our copy gets freed.
8586 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
8588 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
8589 * check/gst/gstmessage.c: (GST_START_TEST):
8590 * check/gst/gststructure.c: (GST_START_TEST),
8591 (gst_structure_suite), (main):
8593 * gst/gstelement.c: (gst_element_message_full):
8594 clean up GError and debug string now that they get copied
8595 * gst/gstmessage.c: (gst_message_new_error),
8596 (gst_message_new_warning), (gst_message_parse_error),
8597 (gst_message_parse_warning):
8598 use GST_TYPE_G_ERROR for structure_new, and take copies of
8599 arguments, so that we don't mess up refcounting
8601 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
8603 * check/Makefile.am:
8604 add per-test valgrind targets
8605 * check/gst-libs/gdp.c: (GST_START_TEST),
8606 (gst_data_protocol_suite), (main):
8609 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
8611 * check/Makefile.am:
8612 instate more valgrindable tests
8613 * check/elements/gstfakesrc.c: (chain_func), (event_func),
8614 (GST_START_TEST), (fakesrc_suite):
8615 * check/gst/gstpad.c: (GST_START_TEST):
8616 * check/gst/gststructure.c: (GST_START_TEST):
8618 * docs/gst/tmpl/gstminiobject.sgml:
8619 * gst/gstpad.c: (gst_pad_finalize):
8620 fix the static mutex leak
8622 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
8624 * check/Makefile.am:
8625 add two more tests for valgrinding
8626 * check/gst/gstvalue.c: (GST_START_TEST):
8627 test refcount of deserialized buffer, found a leak
8628 * docs/gst/gstreamer-docs.sgml:
8629 * docs/gst/gstreamer-sections.txt:
8630 * docs/gst/gstreamer.types:
8631 * docs/gst/tmpl/gstminiobject.sgml:
8632 add miniobject to docs
8633 * gst/gstminiobject.c:
8635 * gst/gstvalue.c: (gst_value_deserialize_buffer),
8636 (gst_string_unwrap):
8637 fix a hard-to-find invalid write for one of the tests
8638 fix a leak for deserialized buffers
8640 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8642 * docs/pwg/advanced-events.xml:
8643 * docs/pwg/advanced-request.xml:
8644 * docs/pwg/advanced-scheduling.xml:
8645 * docs/pwg/appendix-porting.xml:
8646 * docs/pwg/building-boiler.xml:
8647 * docs/pwg/intro-preface.xml:
8648 * docs/pwg/other-ntoone.xml:
8649 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
8650 of example code and explanation for pad activation, loop() and
8651 getrange() functions and a bit more. Remove old comments pointing
8653 * examples/pwg/Makefile.am:
8654 Add loop/getrange examples.
8656 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
8659 check for valgrind binary + some fixes
8661 valgrind suppressions for the tests
8662 * check/Makefile.am:
8663 add a valgrind: target that valgrinds the unit tests
8664 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
8665 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
8666 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8667 * check/gst/gstghostpad.c:
8669 * check/gst/gstdata.c:
8671 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
8672 (thread_unref), (gst_mini_object_suite), (main):
8674 * gst/gst.c: (gst_deinit):
8676 add a method to clean up.
8677 * gst/gstsystemclock.c: (gst_system_clock_dispose),
8678 (gst_system_clock_obtain):
8679 allow for disposing the system clock.
8680 * tools/gst-launch.c: (main):
8683 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
8685 * docs/gst/tmpl/gstbasesrc.sgml:
8686 * docs/gst/tmpl/gstfakesrc.sgml:
8687 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8688 (gst_base_src_init), (gst_base_src_set_property),
8689 (gst_base_src_get_property), (gst_base_src_get_range),
8690 (gst_base_src_start):
8691 * gst/base/gstbasesrc.h:
8692 add num-buffers property
8693 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8694 (gst_fakesrc_init), (gst_fakesrc_set_property),
8695 (gst_fakesrc_get_property), (gst_fakesrc_create),
8696 (gst_fakesrc_start):
8697 remove num-buffers property
8699 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
8701 * docs/gst/gstreamer-sections.txt:
8702 * docs/gst/tmpl/gstbasesink.sgml:
8703 * docs/gst/tmpl/gstbasesrc.sgml:
8704 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
8705 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
8706 (gst_base_sink_finalize), (gst_base_sink_set_clock),
8707 (gst_base_sink_set_property), (gst_base_sink_get_property),
8708 (gst_base_sink_handle_object), (gst_base_sink_event),
8709 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
8710 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
8711 (gst_base_sink_loop), (gst_base_sink_deactivate),
8712 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
8713 (gst_base_sink_change_state):
8714 * gst/base/gstbasesink.h:
8715 * gst/base/gstbasesrc.h:
8716 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
8717 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
8718 (gst_filesink_init):
8719 more macro splitting
8721 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
8723 * gst/gstelement.c: (gst_element_get_bus):
8725 * tools/gst-launch.c: (check_intr), (event_loop):
8728 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
8730 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
8733 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
8735 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8736 (gst_base_src_finalize):
8737 add finalize method and clean up properly
8738 * gst/gstpipeline.c: (gst_pipeline_dispose):
8741 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
8743 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
8745 add more things to check
8746 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
8750 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
8752 * check/elements/gstfakesrc.c: (chain_func), (event_func),
8753 (GST_START_TEST), (fakesrc_suite):
8754 * check/gst-libs/gdp.c: (GST_START_TEST):
8755 * check/gst/gst.c: (GST_START_TEST):
8756 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8757 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8758 * check/gst/gstbus.c: (GST_START_TEST):
8759 * check/gst/gstcaps.c: (GST_START_TEST):
8760 * check/gst/gstdata.c: (GST_START_TEST):
8761 * check/gst/gstelement.c: (GST_START_TEST):
8762 * check/gst/gstghostpad.c: (GST_START_TEST):
8763 * check/gst/gstiterator.c: (GST_START_TEST):
8764 * check/gst/gstmessage.c: (GST_START_TEST):
8765 * check/gst/gstobject.c: (GST_START_TEST):
8766 * check/gst/gstpad.c: (GST_START_TEST):
8767 * check/gst/gststructure.c: (GST_START_TEST):
8768 * check/gst/gstsystemclock.c: (GST_START_TEST),
8769 (gst_systemclock_suite):
8770 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
8771 * check/gst/gstvalue.c: (GST_START_TEST):
8772 * check/pipelines/cleanup.c: (GST_START_TEST):
8773 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
8774 * check/states/sinks.c: (GST_START_TEST):
8775 * check/gstcheck.c: (gst_check_init):
8777 add debugging category
8778 use GST_START_TEST now, so we add a debug line
8780 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
8782 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
8783 add test for state change message on a bin
8784 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
8786 * gst/gstbin.c: (gst_bin_init):
8787 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
8788 * gst/gstelement.c: (gst_element_post_message),
8789 (gst_element_set_state):
8790 * gst/gstelementfactory.c: (gst_element_factory_create):
8791 * gst/gstmessage.c: (gst_message_new):
8792 * gst/gstscheduler.c:
8793 various debugging additions and cleanups
8795 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8797 * check/Makefile.am:
8798 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
8800 adding tests for elements
8801 * gst/gstelement.c: (gst_element_dispose):
8803 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8805 * gst/registries/gstlibxmlregistry.c: (load_feature):
8806 plug more leaks. A simple gst_init() now is leakfree, yay.
8808 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8810 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
8811 (gst_xml_registry_load):
8812 plug another memleak
8814 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8817 use GST_SET_ERROR_CFLAGS
8819 change to ERROR_CFLAGS
8821 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8824 make GST_ERROR_CFLAGS overridable and re-enable Werror
8826 add a note about error CFLAGS
8827 * docs/gst/tmpl/gstfakesrc.sgml:
8828 * gst/elements/gstfakesrc.c:
8829 comment out some unused code
8830 * gst/gst.c: (split_and_iterate):
8831 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
8835 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
8837 * common/Makefile.am:
8838 * common/gtk-doc.mak:
8839 * docs/gst/Makefile.am:
8840 factor out gtk-doc.mak
8842 2005-07-07 Wim Taymans <wim@fluendo.com>
8844 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
8845 (gst_thread_scheduler_dispose):
8846 Unlock the STREAM_LOCK completely.
8848 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
8850 * check/Makefile.am:
8851 * check/elements/.cvsignore:
8852 * check/elements/gstfakesrc.c: (chain_func), (event_func),
8853 (START_TEST), (fakesrc_suite), (main):
8854 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8855 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
8856 (gst_fakesrc_create), (gst_fakesrc_start):
8857 * gst/elements/gstfakesrc.h:
8858 adding a first element test
8860 2005-07-07 Andy Wingo <wingo@pobox.com>
8862 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
8865 2005-07-07 Wim Taymans <wim@fluendo.com>
8871 2005-07-07 Wim Taymans <wim@fluendo.com>
8873 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
8874 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
8875 Allow subclasses to implement their own negotiation.
8877 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
8879 * docs/design/part-gstbin.txt:
8880 * docs/design/part-gstpipeline.txt:
8881 Update design notes to reflect the movement of
8882 responsibility for bus handling from GstPipeline to
8885 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
8888 Remove unnecessary queue2/3/4 examples.
8890 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
8892 * examples/Makefile.am:
8893 * examples/helloworld/helloworld.c: (event_loop), (main):
8894 * examples/queue/queue.c: (event_loop), (main):
8895 * examples/queue2/queue2.c: (main):
8896 Update a couple of the examples to work again.
8898 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8899 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
8900 Spelling corrections and extra debug.
8902 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
8903 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
8904 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
8906 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
8907 (gst_pipeline_change_state):
8908 * gst/gstpipeline.h:
8909 Move the bus handler for children to the GstBin, and create a
8910 separate bus for receiving messages from children to the one the
8911 bus sends 'upwards' on.
8913 2005-07-06 Wim Taymans <wim@fluendo.com>
8916 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8917 (gst_base_sink_handle_object), (gst_base_sink_loop),
8918 (gst_base_sink_change_state):
8919 * gst/base/gstbasesink.h:
8920 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8921 (gst_base_src_init), (gst_base_src_setcaps),
8922 (gst_base_src_getcaps), (gst_base_src_loop),
8923 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
8924 (gst_base_src_start), (gst_base_src_change_state):
8925 * gst/base/gstbasesrc.h:
8926 Make basesrc negotiate.
8927 Handle the case where preroll fails in basesink.
8930 2005-07-06 Wim Taymans <wim@fluendo.com>
8932 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
8933 Implement the fixate function.
8934 Clean up acceptcaps.
8936 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8938 * docs/pwg/building-filterfactory.xml:
8940 Remove never-written filter-factory chapter; I'll add the various
8941 base classes to part 4 ("other element types") later on.
8943 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8945 * docs/pwg/advanced-negotiation.xml:
8946 * docs/pwg/building-boiler.xml:
8947 * docs/pwg/building-pads.xml:
8949 * examples/pwg/Makefile.am:
8950 Add a chapter on caps negotiation, simplify the original code
8951 samples a bit w.r.t. caps negotiation, add link to the advanced
8952 section. Add a bunch of examples showing different use cases of
8953 different types of caps negotiation. Upstream renegotiation isn't
8954 fully documented yet since nobody knows how that works.
8956 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
8958 * check/gst/gstpad.c:
8960 * gst/gstpad.c: (gst_pad_get_internal_links_default):
8961 if pad has no parent, return NULL as list of internal links
8963 2005-07-05 Andy Wingo <wingo@pobox.com>
8965 * gst/elements/gstfilesrc.c:
8966 * gst/elements/gstfakesrc.c:
8967 * gst/base/gstpushsrc.c:
8968 * gst/base/gstbasesrc.h:
8969 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
8971 2005-07-05 Stefan Kost <ensonic@users.sf.net>
8974 better report generation target (lcov needs a patch)
8976 2005-07-05 Andy Wingo <wingo@pobox.com>
8978 * gst/elements, testsuite: Null if we got it...
8980 2005-07-05 Wim Taymans <wim@fluendo.com>
8983 * libs/gst/dataprotocol/Makefile.am:
8984 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
8985 * libs/gst/dataprotocol/dataprotocol.h:
8986 * pkgconfig/Makefile.am:
8987 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
8988 * pkgconfig/gstreamer-dataprotocol.pc.in:
8989 Ported dataprotol to 0.9.
8990 Added pkgconfig files.
8992 2005-07-05 Andy Wingo <wingo@pobox.com>
8994 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
8995 Default to returning TRUE for the case when tranform_caps returns
8996 a fixed caps, like for identity or volume.
8998 * check/gst/gstbus.c (pound_bus_with_messages):
8999 * check/gst/gstmessage.c (START_TEST):
9000 * check/pipelines/simple_launch_lines.c (got_handoff): Application
9003 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
9004 logic weaks here: always run transform_caps, trying passthrough
9005 operation only if the original caps intersects with the transform.
9007 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
9008 source and sink caps.
9010 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
9011 Intersect the peer caps with the pad template before going into
9013 (gst_base_transform_transform_caps): More debugging.
9015 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
9018 2005-07-04 Edward Hervey <edward@fluendo.com>
9022 (gst_pad_add_*_probe): now returns the signal id for better wrapping
9025 2005-07-04 Andy Wingo <wingo@pobox.com>
9027 * check/gst/gstpad.c: Only set explicit caps on pads.
9029 2005-07-01 Andy Wingo <wingo@pobox.com>
9031 * tests/network-clock.scm: Commentary update.
9033 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
9034 Didn't really make sense, not implementable with basetransform,
9036 (gst_identity_transform): Unref inbuf via make_writable. Feeble
9037 attempt at implementing the sync property, needs an unlock method.
9039 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
9040 New func, by default returns the same caps (the identity
9042 (gst_base_transform_getcaps): Uses transform_caps to return
9044 (gst_base_transform_setcaps): Complicated logic to get caps on
9045 both pads, even if they are different, and to call set_caps once
9046 for every time both pads get their caps set.
9047 (gst_base_transform_handle_buffer): Give the ref to the transform
9048 function. Allows in-place modification of the buffer.
9050 * gst/base/gstbasetransform.h (transform_caps): New class method.
9051 Given caps on one side, what can I do on the other.
9052 (set_caps): Take two caps, one for each side of the element.
9055 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
9056 caps in place. This is safe because we can check the mutability of
9057 the caps, and a good idea because fixate functions are just called
9058 as a matter of last resort. (Not actually implemented.)
9059 (gst_pad_set_caps): If the caps we're setting is actually the same
9060 as the existing pad caps, just update the pointer without calling
9061 setcaps. Assert that caps is either NULL or fixed, as per the
9064 * gst/gstghostpad.c: Update for fixate changes.
9066 2005-07-02 Andy Wingo <wingo@pobox.com>
9069 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
9070 two refcounts makes it immutable, which is enough. Doc more.
9072 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
9074 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
9075 Put the mini_object into GValue as a mini_object,
9076 not a gpointer, since that's how we declared
9079 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9081 * examples/pwg/Makefile.am:
9084 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9086 * docs/pwg/building-testapp.xml:
9088 * examples/pwg/Makefile.am:
9091 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9094 * examples/Makefile.am:
9095 * examples/pwg/Makefile.am:
9096 * examples/pwg/extract.pl:
9097 Enable building the PWG examples.
9098 * docs/pwg/advanced-interfaces.xml:
9099 Add URI interface stub.
9100 * docs/pwg/advanced-types.xml:
9101 * docs/pwg/other-autoplugger.xml:
9102 * docs/pwg/appendix-porting.xml:
9104 Add porting guide (mostly stubs), remove autoplugging (see ADM).
9105 * docs/pwg/building-boiler.xml:
9106 * docs/pwg/building-chainfn.xml:
9107 * docs/pwg/building-pads.xml:
9108 * docs/pwg/building-props.xml:
9109 * docs/pwg/building-state.xml:
9110 * docs/pwg/building-testapp.xml:
9111 Update the building-*.xml parts for 0.9 changes. All examples
9112 code blocks compile in examples/pwg/*.
9114 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9116 * docs/manual/advanced-autoplugging.xml:
9117 * docs/manual/appendix-checklist.xml:
9118 * docs/manual/appendix-integration.xml:
9119 * docs/manual/highlevel-components.xml:
9120 Fix playbin/decodebin examples, update docs a bit, mention bus
9121 instead of signals in various places, mention kmplayer and
9122 kaffeine since they have a working GStreamer backend in the KDE
9125 2005-06-30 Wim Taymans <wim@fluendo.com>
9128 * docs/design/draft-ghostpads.txt:
9129 * docs/design/draft-push-pull.txt:
9130 * docs/design/draft-query.txt:
9131 * docs/design/part-TODO.txt:
9132 * docs/design/part-query.txt:
9133 Added CHANGES-0.9 doc, updated status of other docs.
9138 2005-06-30 Wim Taymans <wim@fluendo.com>
9140 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9141 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
9142 (gst_base_sink_change_state):
9143 * gst/base/gstbasesink.h:
9144 Some tweaks, only EOS and a buffer complete a preroll.
9146 2005-06-30 Andy Wingo <wingo@pobox.com>
9148 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
9149 activate_push down to the internal pad as well.
9151 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
9153 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9155 * gst/gsttaginterface.c:
9156 Some documentation fixes (#307394 and #307397).
9158 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
9160 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9162 * gst/gstvalue.c: (gst_value_intersect_list):
9163 Fix memleak (#309125).
9165 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9167 * docs/manual/advanced-dataaccess.xml:
9168 Fix fakesrc example to compile; doesn't work, bug somewhere...?
9169 * docs/manual/basics-pads.xml:
9170 Add reference for filtered caps to above chapter.
9172 2005-06-30 Wim Taymans <wim@fluendo.com>
9174 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
9175 (gst_bin_change_state):
9177 Lame attempt at making the state change function a bit
9180 2005-06-30 Wim Taymans <wim@fluendo.com>
9182 * docs/design/part-clocks.txt:
9183 * docs/design/part-element-sink.txt:
9184 * docs/design/part-events.txt:
9185 * docs/design/part-preroll.txt:
9186 * docs/design/part-states.txt:
9187 Some more tweeks and additions to the docs.
9189 2005-06-30 Wim Taymans <wim@fluendo.com>
9191 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9192 (default_have_data), (gst_pad_class_init), (gst_pad_init),
9193 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
9194 (gst_pad_check_pull_range), (gst_pad_get_range),
9195 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
9197 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
9198 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9199 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9200 (gst_pad_remove_buffer_probe):
9201 Removed atomic operations, use existing LOCK.
9202 Move exception handling out of main code path.
9204 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9206 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9207 (silly_return_true_function), (gst_pad_class_init),
9208 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
9209 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
9210 (gst_pad_send_event):
9211 Fix accumulator, add default value by using _emitv() instead
9212 of _emit() for signal emission.
9214 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9216 * docs/manual/advanced-dataaccess.xml:
9217 * examples/manual/Makefile.am:
9219 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
9222 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
9224 * gst/elements/gstfilesink.c: (gst_filesink_render):
9225 Simplify code so that we don't have to handle short
9226 writes and return GST_FLOW_ERROR if an error occured.
9228 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9230 * docs/gst/gstreamer-docs.sgml:
9233 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9235 * docs/gst/gstreamer-sections.txt:
9236 * docs/gst/tmpl/gstpad.sgml:
9237 * docs/gst/tmpl/gstprobe.sgml:
9239 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9240 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
9241 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
9242 (gst_pad_push_event), (gst_pad_send_event):
9244 * gst/gstutils.c: (gst_pad_add_data_probe),
9245 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9246 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9247 (gst_pad_remove_buffer_probe):
9249 Remove old probes, add new g-signal-based probes and some utility
9252 2005-06-29 Edward Hervey <edward@fluendo.com>
9254 * gst/gstelementfactory.c:
9257 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
9258 the definition to the header file.
9260 2005-06-29 Andy Wingo <wingo@pobox.com>
9262 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
9263 plugins from the source directory.
9265 2005-06-29 Wim Taymans <wim@fluendo.com>
9267 * docs/gst/tmpl/gstbuffer.sgml:
9268 * docs/gst/tmpl/gstclock.sgml:
9269 Some fixings for blantently wrong text.
9271 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
9273 * check/Makefile.am:
9274 * gst/gst.c: (add_path_func), (init_pre):
9275 * gst/gstregistry.c: (gst_registry_add_path):
9276 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
9277 only scan the GST_PLUGIN_PATH locations, and not add
9280 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
9282 * docs/gst/gstreamer-sections.txt:
9283 * docs/gst/tmpl/gstbasesrc.sgml:
9290 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9292 * docs/manual/advanced-autoplugging.xml:
9293 Fix autoplugging example.
9295 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9297 * docs/manual/advanced-autoplugging.xml:
9298 * docs/manual/mime-world.fig:
9299 Try to get autoplugging working, fix type detection. Fix text
9300 in hello-world image.
9302 2005-06-29 Wim Taymans <wim@fluendo.com>
9304 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9305 (gst_base_sink_change_state):
9309 map SIGNAL and BROADCAST to the right function.
9312 Remove redundant braces.
9314 * gst/gstpad.c: (gst_pad_set_caps):
9315 Don't call setcaps function when reseting caps to NULL.
9317 * gst/gstsystemclock.c: (gst_system_clock_dispose),
9318 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
9319 (gst_system_clock_id_unschedule):
9320 Use BROADCAST as this is what we do.
9322 2005-06-29 Wim Taymans <wim@fluendo.com>
9324 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9325 We are actually prerolling before commiting the state
9328 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9330 * docs/manual/advanced-clocks.xml:
9331 * docs/manual/advanced-interfaces.xml:
9332 * docs/manual/advanced-metadata.xml:
9333 * docs/manual/advanced-position.xml:
9334 * docs/manual/advanced-schedulers.xml:
9335 * docs/manual/advanced-threads.xml:
9336 * docs/manual/appendix-porting.xml:
9337 * docs/manual/basics-bins.xml:
9338 * docs/manual/basics-bus.xml:
9339 * docs/manual/basics-elements.xml:
9340 * docs/manual/basics-helloworld.xml:
9341 * docs/manual/basics-pads.xml:
9342 * docs/manual/highlevel-components.xml:
9343 * docs/manual/manual.xml:
9344 * docs/manual/thread.fig:
9345 Update (until threads/scheduling) Application Development Manual;
9346 remove GstThread, add GstBus, add simple porting checklist, add
9347 documentation for tag writing, clocks, make all examples until this
9348 part compile and run.
9349 * examples/manual/Makefile.am:
9350 Update from changes to Application Development Manual; add bus
9351 example, remove thread example.
9353 2005-06-28 Wim Taymans <wim@fluendo.com>
9355 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
9356 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
9357 (gst_bus_source_dispatch):
9358 Add debugging messages.
9359 Make internal methods static.
9360 Handle the case where the bus is flushed in the handler.
9362 * gst/gstelement.c: (gst_element_get_bus):
9363 Fix refcount in _get_bus();
9365 * gst/gstpipeline.c: (gst_pipeline_change_state),
9366 (gst_pipeline_get_clock_func):
9367 Clock refcounting fixes.
9368 Handle the case where preroll timed out more gracefully.
9370 * gst/gstsystemclock.c: (gst_system_clock_dispose):
9371 Clean up the internal thread in dispose. This is needed
9372 for subclasses that actually get disposed.
9374 * gst/schedulers/threadscheduler.c:
9375 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
9376 (gst_thread_scheduler_dispose):
9377 Free thread pool in dispose.
9379 2005-06-28 Andy Wingo <wingo@pobox.com>
9381 * tests/network-clock-utils.scm (debug, print-event): New utils.
9383 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
9384 (*packet-loss*): Unified loss probability.
9385 (network-time): Report out-of-band events.
9387 * tests/plot-data: Add support for out-of-band events. Hack it
9388 into this script instead of passing it down the pipe; should fix
9391 2005-06-28 Wim Taymans <wim@fluendo.com>
9393 * docs/gst/gstreamer.types:
9394 * docs/gst/tmpl/gstbasesrc.sgml:
9395 * docs/gst/tmpl/gstpad.sgml:
9398 2005-06-28 Wim Taymans <wim@fluendo.com>
9400 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9401 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
9402 (gst_proxy_pad_do_fixatecaps):
9403 Correctly proxy the check_pull_range function.
9405 2005-06-28 Andy Wingo <wingo@pobox.com>
9407 * tests/network-clock.scm: Removed need for slib.
9409 2005-06-28 Wim Taymans <wim@fluendo.com>
9411 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
9412 (gst_basesink_preroll_queue_flush):
9413 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
9414 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
9415 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9416 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
9417 (gst_proxy_pad_set_property):
9420 * gst/gstqueue.c: (gst_queue_init):
9421 The deprecated pad loop function is removed now.
9423 2005-06-28 Andy Wingo <wingo@pobox.com>
9425 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
9426 New parameters, simulate network packet loss.
9428 * tests/network-clock-utils.scm: Initialize the RNG.
9430 2005-06-28 Wim Taymans <wim@fluendo.com>
9432 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
9433 (gst_basesink_event), (gst_basesink_deactivate):
9434 Flushing the preroll queue always needs to unlock the waiters.
9436 2005-06-28 Edward Hervey <edward@fluendo.com>
9438 * gst/gstpipeline.c: (gst_pipeline_send_event):
9439 Wheen a seek was successful on a pipeline, set the stream_time to the
9440 seek offset in order to have a synchronized stream_time.
9442 2005-06-28 Wim Taymans <wim@fluendo.com>
9444 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9445 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
9446 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
9447 (gst_proxy_pad_do_fixatecaps):
9448 Call wrapper function instead of just calling the function
9449 pointers. This takes care of any locking and whatmore.
9451 2005-06-28 Wim Taymans <wim@fluendo.com>
9453 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
9454 (gst_pad_pull_range):
9456 CONNECTED -> LINKED.
9458 2005-06-28 Andy Wingo <wingo@pobox.com>
9460 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
9461 source-munging commit!!!
9463 * gst/gstobject.c (gst_object_unref, gst_object_ref)
9464 (gst_object_sink): Take gpointer arguments, not GstObject --
9465 avoids casts. Like GLib.
9467 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
9470 2005-06-27 Andy Wingo <wingo@pobox.com>
9472 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
9475 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
9476 returns a sorted copy of the trace list.
9477 (gst_alloc_trace_print_live): New API, only prints traces with
9478 live objects. Sort the list.
9479 (gst_alloc_trace_print_all): Sort the list.
9480 (gst_alloc_trace_print): Align columns.
9482 * gst/elements/gstttypefindelement.c:
9483 * gst/elements/gsttee.c:
9484 * gst/base/gstbasesrc.c:
9485 * gst/base/gstbasesink.c:
9486 * gst/base/gstbasetransform.c:
9487 * gst/gstqueue.c: Adapt for pad activation changes.
9489 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
9491 (gst_pipeline_dispose): Drop ref on sched.
9493 * gst/gstpad.c (gst_pad_init): Set the default activate func.
9494 (gst_pad_activate_default): Push mode by default.
9495 (pre_activate_switch, post_activate_switch): New stubs, things to
9496 do before and after switching activation modes on pads.
9497 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
9498 the pad's activate function to choose which mode to activate.
9499 Shortcut on deactivation and call the right function directly.
9500 (gst_pad_activate_pull): New API, (de)activates a pad in pull
9502 (gst_pad_activate_push): New API, same for push mode.
9503 (gst_pad_set_activate_function)
9504 (gst_pad_set_activatepull_function)
9505 (gst_pad_set_activatepush_function): Setters for new API.
9507 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
9508 Trace all miniobjects.
9509 (gst_mini_object_make_writable): Unref the arg if we copy, like
9510 gst_caps_make_writable.
9512 * gst/gstmessage.c (_gst_message_initialize): No trace init.
9514 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
9515 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
9516 Adapt for new pad API.
9518 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
9521 * gst/gstelement.c (gst_element_iterate_src_pads)
9522 (gst_element_iterate_sink_pads): New API functions.
9524 * gst/gstelement.c (iterator_fold_with_resync): New utility,
9525 should fold into gstiterator.c in some form.
9526 (gst_element_pads_activate): Simplified via use of fold and
9527 delegation of decisions to gstpad->activate.
9529 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
9532 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
9533 class once in init, like gstmessage. Didn't run into this issue
9534 but it seems correct. Don't initialize a trace, gstminiobject does
9537 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
9538 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
9540 (assert_live_count): New util function, uses alloc traces to check
9543 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
9544 To be modified when unlink drops the internal pad.
9546 2005-06-27 Wim Taymans <wim@fluendo.com>
9548 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
9549 (gst_bin_change_state):
9550 Cleanup the get_state() function a little, make sure it
9551 iterates the same set of elements.
9552 Added stub iterate_state_order().
9554 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
9556 * docs/gst/gstreamer-docs.sgml:
9557 * docs/gst/gstreamer-sections.txt:
9558 * docs/gst/gstreamer.types:
9559 * docs/gst/tmpl/gstbasesink.sgml:
9560 * docs/gst/tmpl/gstbasesrc.sgml:
9561 * docs/gst/tmpl/gstbasetransform.sgml:
9562 * docs/gst/tmpl/gstelement.sgml:
9563 * docs/gst/tmpl/gstiterator.sgml:
9564 * gst/base/gstbasesrc.c:
9565 * gst/base/gstbasesrc.h:
9566 * gst/base/gstbasetransform.h:
9568 * gst/gstiterator.h:
9569 adding basetransform and iterator docs
9571 2005-06-27 Andy Wingo <wingo@pobox.com>
9573 * docs/design/part-activation.txt: Notes on how activation should
9574 work -- not quite implemented yet.
9576 2005-06-25 Wim Taymans <wim@fluendo.com>
9578 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
9579 At least get the chain function correct, needs more
9582 2005-06-25 Wim Taymans <wim@fluendo.com>
9584 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9585 (gst_basesink_handle_object), (gst_basesink_event),
9586 (gst_basesink_do_sync), (gst_basesink_handle_event),
9587 (gst_basesink_change_state):
9589 Right, two problems here: ghostpads don't take locks and
9590 glib _rec_mutex_lock_full() with depth==0 still locks.
9591 Catch illegal locking and g_warn them.
9593 2005-06-25 Wim Taymans <wim@fluendo.com>
9595 * check/states/sinks.c: (START_TEST), (gst_object_suite):
9596 Have to check for completion now...
9598 2005-06-25 Wim Taymans <wim@fluendo.com>
9600 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9601 (gst_basesink_handle_object), (gst_basesink_event),
9602 (gst_basesink_do_sync), (gst_basesink_handle_event),
9603 (gst_basesink_change_state):
9605 Unlock STREAM_LOCK whatever the recursion was.
9607 2005-06-25 Wim Taymans <wim@fluendo.com>
9609 * gst/base/gstbasesink.c: (gst_basesink_set_property),
9610 (gst_basesink_preroll_queue_empty),
9611 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
9612 (gst_basesink_event), (gst_basesink_do_sync),
9613 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
9614 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
9615 (gst_basesink_change_state):
9616 Reworked the base sink, handle event and buffer serialisation
9617 correctly and removed possible deadlock.
9618 Handle EOS correctly.
9620 2005-06-25 Wim Taymans <wim@fluendo.com>
9622 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
9623 (gst_pipeline_change_state):
9624 * tools/gst-launch.c: (check_intr), (event_loop), (main):
9625 Allow elements to post EOS in the state change function.
9626 Fix up -launch, make it exit the poll loop when the
9627 pipeline actually changed state.
9628 Fix up warning parsing in -launch.
9630 2005-06-25 Wim Taymans <wim@fluendo.com>
9632 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
9633 (gst_tee_sink_activate):
9634 Core takes STREAM_LOCK for us now.
9636 2005-06-25 Wim Taymans <wim@fluendo.com>
9638 * gst/gstelement.c: (gst_element_get_state_func),
9639 (gst_element_set_state):
9641 * gst/gstmessage.c: (gst_message_parse_error),
9642 (gst_message_parse_warning):
9643 Keep track of current target state while performing a state
9644 change so that subclasses can do something interesting.
9645 Fix parsing of warning/error messages when GError is NULL.
9647 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
9649 * docs/gst/Makefile.am:
9650 * docs/gst/gstreamer-docs.sgml:
9651 * docs/gst/gstreamer-sections.txt:
9652 * docs/gst/gstreamer.types:
9653 * docs/gst/tmpl/gstbasesink.sgml:
9654 * docs/gst/tmpl/gstbasesrc.sgml:
9655 * docs/gst/tmpl/gstbin.sgml:
9656 * docs/gst/tmpl/gstcompat.sgml:
9657 * docs/gst/tmpl/gstfakesink.sgml:
9658 * docs/gst/tmpl/gstfakesrc.sgml:
9659 * docs/gst/tmpl/gstfilesink.sgml:
9660 * docs/gst/tmpl/gstfilesrc.sgml:
9661 * docs/gst/tmpl/gstindex.sgml:
9662 * docs/manual/appendix-quotes.xml:
9663 * gst/base/gstbasesrc.h:
9664 * gst/elements/gstfakesrc.h:
9666 start pulling in base classes and elements in our docs
9668 2005-06-24 Stefan Kost <ensonic@users.sf.net>
9670 * docs/gst/Makefile.am:
9671 * docs/libs/Makefile.am:
9672 fixed make distcheck with gtk-doc 1.3
9674 2005-06-23 Wim Taymans <wim@fluendo.com>
9676 * gst/gstelement.c: (gst_element_get_state_func),
9677 (gst_element_set_state), (gst_element_change_state):
9678 When the state did not change, also report NO_PREROLL
9681 2005-06-23 Wim Taymans <wim@fluendo.com>
9683 * gst/gstpad.c: (gst_pad_event_default):
9684 * gst/gstqueue.c: (gst_queue_loop):
9685 No unsafe task pausing please.
9687 2005-06-23 Wim Taymans <wim@fluendo.com>
9689 * gst/schedulers/threadscheduler.c:
9690 (gst_thread_scheduler_task_start),
9691 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
9692 Ref the task before pushing it on the threadpool. This
9693 makes sure that we have a ref when the threadfunction is
9696 2005-06-23 Andy Wingo <wingo@pobox.com>
9698 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
9699 offset is greater than the file's size.
9701 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
9702 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
9703 * gst/gstobject.c (gst_object_class_init): Make the class lock
9704 recursive. Wim won't let me drop deep_notify. Decodebin works
9707 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
9708 internal pad, and hacks accordingly. Doesn't do it on the target
9709 pad because we change its caps. Probably catches all cases of
9711 (gst_ghost_pad_set_property): Connect to notify::caps as
9714 * tests/network-clock.scm (plot-simulation): Pipe data to the
9715 elite python skript.
9717 * tests/network-clock-utils.scm (define-parameter): New macro,
9718 defines a parameter that can be set via the command line.
9719 (set-parameter!, parse-parameter-arguments): Command line args
9722 * tests/plot-data: Simple matplotlib-based plotter, takes input on
9725 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
9727 * gst/elements/gsttypefindelement.c:
9728 (gst_type_find_element_handle_event):
9729 Don't restart typefinding on a discont.
9730 * gst/gstelement.c: (gst_element_set_state):
9732 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
9733 Allow changing mode of an active pad.
9735 * gst/registries/gstlibxmlregistry.c: (load_feature):
9736 Don't cast a static pad template to a normal pad template.
9738 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
9740 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9741 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
9742 remove gst_strtoll completely, since it didn't actually do
9743 anything more than what g_ascii_strtoull already does.
9744 check for range errors when deserializing
9745 do a cast for the unsigned cases; but further fixing needs
9746 a decision on what the interpretation of "(int)" and
9747 deserialization should be for values that fall outside the
9748 type's boundaries (ie, refuse, or interpret as casting)
9750 2005-06-23 Wim Taymans <wim@fluendo.com>
9752 * check/Makefile.am:
9753 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
9754 * docs/design/part-live-source.txt:
9755 * docs/design/part-states.txt:
9756 * gst/base/gstbasesrc.c: (gst_basesrc_init),
9757 (gst_basesrc_set_live), (gst_basesrc_is_live),
9758 (gst_basesrc_get_range), (gst_basesrc_activate),
9759 (gst_basesrc_change_state):
9760 * gst/base/gstbasesrc.h:
9761 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9762 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
9763 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
9764 * gst/gstelement.c: (gst_element_get_state_func),
9765 (gst_element_set_state):
9768 * tools/gst-launch.c: (event_loop), (main):
9769 Added support for live sources and other elements that
9771 Updated design docs, added live-source design doc.
9772 Implemented live source functionality in basesrc
9773 Fix error condition in _bin_get_state()
9774 Implement live source handling in -launch.
9775 Added check for live sources.
9776 Fixed case in GstBin where elements were changed state
9780 2005-06-23 Andy Wingo <wingo@pobox.com>
9782 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
9785 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
9786 gst_caps_replace takes care of this for us.
9788 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
9789 gst_pad_set_caps on the target, not just its setcaps() function.
9791 * tests/network-clock.scm:
9792 * tests/network-clock-utils.scm: A network clock simulator.
9793 Something of an algorithmic testbed before doing something in C.
9795 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
9797 * check/Makefile.am:
9798 * check/gst/capslist.h:
9799 copy over from 0.8, and add two with bitmasks specified with
9801 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
9802 add test to parse everything from capslist.h
9803 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
9805 add test for structure deserialization
9806 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9807 add tests for deserialization of strings to int types
9808 * gst/gststructure.c: (gst_structure_nth_field_name):
9809 * gst/gststructure.h:
9810 add a way to get the name of a field referenced by index
9811 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
9812 instead of checking if the resulting long long lies between
9813 min and max, we check if the long long would fit into
9814 a number of bytes for the final type.
9815 This fixes cases where a string represents 2^32 - 1, which
9816 when cast to int would be the (valid) -1, but is bigger than
9819 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
9821 * gst/parse/grammar.y:
9822 add a log line for type deserialization
9824 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
9826 * check/gst/gstvalue.c: (START_TEST):
9827 * gst/gstvalue.c: (gst_value_deserialize):
9828 return long long, not int, so gint64 deserialization actually
9829 works. Is there any flag that makes the compiler check this ?
9832 2005-06-22 Wim Taymans <wim@fluendo.com>
9835 Added convenience macros for setting buffers in GValue.
9837 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
9839 * check/gst/.cvsignore:
9840 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9841 add a test deserializing int64, and comment part out because
9844 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
9846 * check/Makefile.am:
9847 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
9848 * testsuite/Makefile.am:
9849 * testsuite/caps/Makefile.am:
9850 * testsuite/caps/value_serialize.c:
9851 * testsuite/test_gst_init.c:
9852 move a value_serialize test over
9854 2005-06-20 Wim Taymans <wim@fluendo.com>
9859 * gst/gstvalue.c: (gst_value_compare_buffer),
9860 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
9861 (gst_value_compare_flags), (gst_value_serialize_flags),
9862 (gst_value_deserialize_flags), (_gst_value_initialize):
9863 Fix serialisation of buffers, they are not boxed types anymore
9865 2005-06-20 Wim Taymans <wim@fluendo.com>
9867 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
9868 Testcase to show error in buffer-on-caps serialisation.
9870 2005-06-20 Andy Wingo <wingo@pobox.com>
9872 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
9873 will be adding to later.
9875 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
9876 if its socks fill with rocks.
9877 (gst_system_clock_obtain): Set the name on object construction.
9878 Avoid double-checked locking.
9880 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
9882 * gst/gsturi.c: (gst_element_make_from_uri):
9883 Fix potential endless loop.
9885 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
9887 * check/Makefile.am:
9889 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
9891 move over from testsuite dir and clean up
9894 * testsuite/Makefile.am:
9895 * testsuite/tags/.cvsignore:
9896 * testsuite/tags/Makefile.am:
9897 * testsuite/tags/merge.c:
9898 remove testsuite/tags
9900 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
9902 * docs/gst/gstreamer-sections.txt:
9903 * docs/gst/tmpl/gstenumtypes.sgml:
9904 * win32/gstenumtypes.c:
9905 clean up documentation build a little
9907 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
9910 add macros for checking refcounts on objects and caps
9911 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
9912 add some more unit tests
9913 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
9914 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
9915 fix leaked refcounts (I hope :)) so unittest works
9919 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
9921 * configure.ac: back to HEAD
9923 === release 0.9.1 ===
9925 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
9931 2005-06-17 Andy Wingo <wingo@pobox.com>
9933 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
9934 assert; it's always possible that the pad gets deactivated in
9935 between the checks in gstpad.c and the implementation. Rely on
9936 finish_preroll() to return a FLUSHING or similar instead of on the
9939 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
9940 clock and post an EOS message if we come out of finish_preroll in
9943 2005-06-16 David Schleef <ds@schleef.org>
9945 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
9946 (gst_capsfilter_set_property): Allow NULL as possible value
9947 for filter_caps property, indicating GST_CAPS_ANY.
9949 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
9951 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
9953 * gst/schedulers/Makefile.am:
9955 * gstreamer.spec.in:
9958 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
9960 * gstreamer.spec.in:
9963 2005-06-08 Andy Wingo <wingo@pobox.com>
9965 * gst/gstutils.c: RPAD fixes all around.
9966 (gst_element_link_pads): Refcounting fixes.
9968 * tools/gst-inspect.c:
9969 * tools/gst-xmlinspect.c:
9971 * gst/base/gsttypefindhelper.c:
9972 * gst/base/gstbasesink.c:
9973 * gst/gstqueue.c: RPAD fixes.
9975 * gst/gstghostpad.h:
9976 * gst/gstghostpad.c: New ghost pad implementation as full proxy
9977 pads. The tricky thing is they provide both source and sink
9978 interfaces, since they proxy the internal pad for the external
9979 pad, and vice versa. Implement with lower-level ProxyPad objects,
9980 with the interior proxy pad as a child of the exterior ghost pad.
9981 Should write a doc on this.
9983 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
9984 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
9987 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
9988 pads are real pads. No ghost pads in this file. Not documenting
9989 the myriad s/RPAD/PAD/ and REALIZE fixes.
9990 (gst_pad_class_init): Add properties for "direction" and
9991 "template". Both are construct-only, so they can't change during
9992 the life of the pad. Fixes properly deriving from GstPad.
9993 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
9994 derived objects, just set properties when creating the objects via
9996 (gst_pad_get_parent): Implement as a function, return NULL if the
9997 parent is not an element.
9998 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
9999 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
10001 * gst/gstobject.c (gst_object_class_init): Make name a construct
10002 property. Don't set it in the object init.
10004 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
10005 with UNKNOWN direction.
10006 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
10007 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
10008 (gst_element_remove_pad): Remove ghost-pad special cases.
10009 (gst_element_pads_activate): Remove rpad cruft.
10011 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
10012 catch the pad's-parent-not-an-element case.
10014 * gst/gst.h: Include gstghostpad.h.
10016 * gst/gst.c (init_post): No more real, ghost pads.
10018 * gst/Makefile.am: Add gstghostpad.[ch].
10020 * check/Makefile.am:
10021 * check/gst/gstbin.c:
10022 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
10023 into a bin creates ghost pads, and that the refcounts are right.
10024 Partly moved from gstbin.c.
10026 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
10028 * check/gst-libs/.cvsignore:
10029 * check/gst/.cvsignore:
10030 * check/pipelines/.cvsignore:
10032 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
10033 (START_TEST), (cleanup_suite), (main):
10034 add some tests related to cleanup after running pipelines
10036 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
10038 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
10039 add a testsuite for GstBuffer
10041 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
10043 * gst/gstminiobject.h:
10044 add defines for accessing the refcount
10046 2005-06-03 Stefan Kost <ensonic@users.sf.net>
10048 * Makefile.am: added support for html unit test coverage reports
10050 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
10052 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
10053 Free existing caps if the capsfilter changes. Add a FIXME about
10054 setting those caps on the pads.
10056 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
10057 Before adding a ghost pad to a parent bin, check that there isn't
10058 already one for the element on the bin. Prevents infinite recursion
10059 when using decodebin in parse pipelines. Andy says he'll rewrite the
10060 way this works anyway, so ignore the hack.
10062 2005-06-02 Andy Wingo <wingo@pobox.com>
10064 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
10065 file size, pass it on to the type find helper.
10067 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
10068 segment_start and segment_end properly according to the seek
10069 method. Segment_end is still a bit flaky because offset can be
10070 negative for CUR and END cases, but it takes -1 as an "unset"
10073 2005-06-02 Wim Taymans <wim@fluendo.com>
10075 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
10076 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
10077 (gst_basesink_activate):
10078 * gst/base/gstbasesink.h:
10079 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10080 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
10081 (gst_pad_query), (gst_pad_start_task):
10083 * gst/gstqueue.c: (gst_queue_bufferalloc),
10084 (gst_queue_handle_sink_event), (gst_queue_chain):
10085 Bufferalloc: return GstFlowReturn to more accuratly report
10086 why allocation failed.
10088 2005-06-02 Wim Taymans <wim@fluendo.com>
10090 * gst/gstpipeline.c: (gst_pipeline_send_event):
10091 Take snapshot of state without blocking.
10093 2005-06-02 Wim Taymans <wim@fluendo.com>
10095 * docs/design/part-TODO.txt:
10096 * docs/design/part-caps.txt:
10097 * docs/design/part-clocks.txt:
10098 * docs/design/part-negotiation.txt:
10099 * docs/design/part-preroll.txt:
10102 2005-05-30 Wim Taymans <wim@fluendo.com>
10104 * gst/elements/gstidentity.c: (gst_identity_event),
10105 (gst_identity_transform), (gst_identity_get_property):
10106 Protect last_message property as it is accessed from
10109 2005-05-30 Wim Taymans <wim@fluendo.com>
10111 * gst/gstelement.c: (gst_element_init),
10112 (gst_element_pads_activate), (gst_element_change_state):
10113 Slicker pad activation code.
10115 2005-05-30 Wim Taymans <wim@fluendo.com>
10118 * gst/gstelement.h:
10119 * gst/gstelementfactory.h:
10121 Move elementfactory methods to separate .h file.
10123 2005-05-30 Wim Taymans <wim@fluendo.com>
10125 * docs/design/part-overview.txt:
10126 * gst/gstsystemclock.h:
10127 Small typo fixes, doc updates.
10129 2005-05-30 Wim Taymans <wim@fluendo.com>
10131 * gst/gst.c: (gst_init_get_popt_table), (init_post),
10132 (init_popt_callback):
10133 Remove cpu-opt flag.
10135 2005-05-30 Wim Taymans <wim@fluendo.com>
10137 * gst/gstbuffer.c: (gst_subbuffer_finalize),
10138 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
10140 Avoid typechecking in places where not needed.
10141 Added accessor for malloc_data.
10143 2005-05-30 Wim Taymans <wim@fluendo.com>
10145 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
10146 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
10147 (gst_pad_configure_sink), (gst_pad_configure_src),
10148 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
10149 (gst_pad_start_task):
10150 Propagate errors from _set_caps() in configure_src/sink
10151 functions instead of returning TRUE.
10152 FLUSH events can travel up and downstream
10155 2005-05-30 Wim Taymans <wim@fluendo.com>
10157 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
10158 (gst_basesink_activate):
10159 Handle EOS in preroll.
10161 2005-05-30 Wim Taymans <wim@fluendo.com>
10163 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10164 (gst_queue_loop), (gst_queue_handle_src_event):
10165 Remove old pieces of code
10166 Flushing the queue in an upstream event is a very bad idea.
10168 2005-05-26 Andy Wingo <wingo@pobox.com>
10170 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
10171 gst_value_set_mini_object so as to add a ref on the object (which
10172 will be removed when the value is unset).
10174 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
10175 arg type in ::handoff.
10177 * gst/gstelement.c (gst_element_change_state): Also deactivate
10178 pads in READY->NULL, just in case the element didn't make it to
10179 PAUSED. Wingo tested, Wim approved.
10181 2005-05-26 Wim Taymans <wim@fluendo.com>
10183 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10184 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
10185 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
10186 A flushing pad cannot be used to alloc_buffer from.
10188 2005-05-26 Wim Taymans <wim@fluendo.com>
10190 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
10191 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
10192 (gst_bus_source_dispatch), (gst_bus_source_finalize),
10193 (gst_bus_create_watch), (gst_bus_add_watch_full):
10195 Implement a real GSource and use g_main_context_wakeup() to
10196 signal new messages instead of the socketpair.
10198 2005-05-25 Wim Taymans <wim@fluendo.com>
10200 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
10201 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
10202 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10203 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
10204 (gst_pad_send_event), (gst_pad_start_task):
10205 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
10206 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
10207 (gst_queue_sink_activate), (gst_queue_src_activate),
10208 (gst_queue_change_state):
10210 Fix state changes for non sinks. We now change sinks, then elements
10211 with unconnected srcpads, then the rest.
10212 More efficient queue unlocking in flush and state changes.
10213 Set the pad activate mode even if it does not have an activate
10216 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10218 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
10219 Don't go in pull mode for non-seekable sources.
10220 * gst/elements/gsttypefindelement.h:
10221 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
10222 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
10223 (free_entry), (stop_typefinding),
10224 (gst_type_find_element_handle_event), (find_peek),
10225 (gst_type_find_element_chain), (do_pull_typefind),
10226 (gst_type_find_element_change_state):
10227 Allow typefinding (w/o seeking) in push-mode, simplified version
10228 of what was in 0.8.
10229 * gst/gstutils.c: (gst_buffer_join):
10231 gst_buffer_join() from 0.8.
10233 2005-05-25 Wim Taymans <wim@fluendo.com>
10235 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10236 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
10237 (gst_pad_send_event), (gst_pad_start_task):
10238 Disable attempt at mode switching until it is figured out.
10240 2005-05-25 Wim Taymans <wim@fluendo.com>
10242 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
10243 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
10244 (gst_basesink_finish_preroll), (gst_basesink_chain),
10245 (gst_basesink_loop), (gst_basesink_activate),
10246 (gst_basesink_change_state):
10247 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
10248 (gst_basesrc_get_range), (gst_basesrc_loop),
10249 (gst_basesrc_activate):
10250 * gst/elements/gsttee.c: (gst_tee_sink_activate):
10251 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
10252 (gst_real_pad_init), (gst_real_pad_set_property),
10253 (gst_real_pad_get_property), (gst_pad_set_active),
10254 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
10255 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
10256 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
10257 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
10258 (gst_pad_event_default_dispatch), (gst_pad_event_default),
10259 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
10260 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
10261 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
10262 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
10263 (gst_pad_stop_task):
10265 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10266 (gst_queue_loop), (gst_queue_src_activate):
10267 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
10268 (gst_task_get_state):
10270 * gst/schedulers/threadscheduler.c:
10271 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
10272 Implement gst_pad_pause/start/stop_task(), take STREAM lock
10274 Remove ACTIVE pad flag, use FLUSHING everywhere
10275 Added _pad_chain(), _pad_get_range() to call chain/getrange
10277 Add locks around IS_FLUSHING when reading.
10278 Take STREAM lock in chain(), get_range() functions so plugins
10279 don't need to take it anymore.
10283 2005-05-25 Wim Taymans <wim@fluendo.com>
10285 * tools/gst-launch.c: (event_loop):
10286 Unref message after using its contents instead of
10289 2005-05-24 Wim Taymans <wim@fluendo.com>
10291 * docs/design/draft-ghostpads.txt:
10292 * docs/design/draft-push-pull.txt:
10293 * docs/design/draft-query.txt:
10294 * docs/design/part-overview.txt:
10295 Docs updates, added general overview doc.
10297 2005-05-21 David Schleef <ds@schleef.org>
10299 * docs/gst/tmpl/old/GstBin.sgml:
10300 * docs/gst/tmpl/old/GstBuffer.sgml:
10301 * docs/gst/tmpl/old/GstCaps.sgml:
10302 * docs/gst/tmpl/old/GstClock.sgml:
10303 * docs/gst/tmpl/old/GstCompat.sgml:
10304 * docs/gst/tmpl/old/GstData.sgml:
10305 * docs/gst/tmpl/old/GstElement.sgml:
10306 * docs/gst/tmpl/old/GstEvent.sgml:
10307 * docs/gst/tmpl/old/GstIndex.sgml:
10308 * docs/gst/tmpl/old/GstStructure.sgml:
10309 * docs/gst/tmpl/old/GstTag.sgml:
10310 * docs/gst/tmpl/old/cothreads.sgml:
10311 * docs/gst/tmpl/old/cothreads_compat.sgml:
10312 * docs/gst/tmpl/old/gettext.sgml:
10313 * docs/gst/tmpl/old/gobject2gtk.sgml:
10314 * docs/gst/tmpl/old/grammar.tab.sgml:
10315 * docs/gst/tmpl/old/gst-i18n-app.sgml:
10316 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
10317 * docs/gst/tmpl/old/gst_private.sgml:
10318 * docs/gst/tmpl/old/gstaggregator.sgml:
10319 * docs/gst/tmpl/old/gstarch.sgml:
10320 * docs/gst/tmpl/old/gstatomic_impl.sgml:
10321 * docs/gst/tmpl/old/gstbufferstore.sgml:
10322 * docs/gst/tmpl/old/gstdata_private.sgml:
10323 * docs/gst/tmpl/old/gstdisksink.sgml:
10324 * docs/gst/tmpl/old/gstdisksrc.sgml:
10325 * docs/gst/tmpl/old/gstelementfactory.sgml:
10326 * docs/gst/tmpl/old/gstextratypes.sgml:
10327 * docs/gst/tmpl/old/gstfakesink.sgml:
10328 * docs/gst/tmpl/old/gstfakesrc.sgml:
10329 * docs/gst/tmpl/old/gstfdsink.sgml:
10330 * docs/gst/tmpl/old/gstfdsrc.sgml:
10331 * docs/gst/tmpl/old/gstfilesink.sgml:
10332 * docs/gst/tmpl/old/gstfilesrc.sgml:
10333 * docs/gst/tmpl/old/gsthttpsrc.sgml:
10334 * docs/gst/tmpl/old/gstidentity.sgml:
10335 * docs/gst/tmpl/old/gstindexfactory.sgml:
10336 * docs/gst/tmpl/old/gstmarshal.sgml:
10337 * docs/gst/tmpl/old/gstmd5sink.sgml:
10338 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
10339 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
10340 * docs/gst/tmpl/old/gstpadtemplate.sgml:
10341 * docs/gst/tmpl/old/gstpipefilter.sgml:
10342 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
10343 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
10344 * docs/gst/tmpl/old/gstshaper.sgml:
10345 * docs/gst/tmpl/old/gstspider.sgml:
10346 * docs/gst/tmpl/old/gstspideridentity.sgml:
10347 * docs/gst/tmpl/old/gststatistics.sgml:
10348 * docs/gst/tmpl/old/gsttee.sgml:
10349 * docs/gst/tmpl/old/gsttimecache.sgml:
10350 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
10351 * docs/gst/tmpl/old/gstxmlregistry.sgml:
10352 * docs/gst/tmpl/old/gthread-cothreads.sgml:
10353 * docs/gst/tmpl/old/types.sgml:
10354 I didn't intend to add these or check them in.
10356 2005-05-19 David Schleef <ds@schleef.org>
10358 * configure.ac: Use -no-common everywhere. In a sane world, it
10359 would be the default in libtool, because without it, you can't
10360 build DLLs on Windows.
10361 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
10362 * docs/gst/gstreamer-sections.txt:
10363 * docs/gst/tmpl/gstcpu.sgml:
10364 * docs/gst/tmpl/gstdata.sgml:
10365 * docs/gst/tmpl/gstthread.sgml:
10367 2005-05-19 David Schleef <ds@schleef.org>
10369 * gst/gstminiobject.c: (gst_value_set_mini_object),
10370 (gst_value_take_mini_object), (gst_value_get_mini_object):
10371 * gst/gstminiobject.h: Add GValue set/get functions.
10373 2005-05-19 Wim Taymans <wim@fluendo.com>
10375 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
10376 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
10377 (gst_subbuffer_init), (gst_buffer_is_span_fast):
10379 * gst/gstbus.c: (gst_bus_post):
10380 * gst/gstelement.c: (gst_element_get_random_pad):
10381 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
10382 Make subbufer unref the parent in finalize.
10383 some more debugging info.
10386 2005-05-19 Wim Taymans <wim@fluendo.com>
10388 * gst/base/gstbasesink.c: (gst_basesink_class_init),
10389 (gst_basesink_init), (gst_basesink_finalize),
10390 (gst_basesink_activate), (gst_basesink_change_state):
10391 Don't free preroll queue too early.
10393 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10397 Hi, I'm outdated. Please shoot me.
10399 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10401 * gst/gstpipeline.c: (gst_pipeline_send_event):
10402 Do not access variables after they have been deleted.
10404 2005-05-19 Wim Taymans <wim@fluendo.com>
10406 * tools/gst-inspect.c: (print_plugin_features):
10407 A plugin feature does unfortunatly not use the
10410 2005-05-18 Wim Taymans <wim@fluendo.com>
10412 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
10413 Port _span() functions to new subbuffers.
10415 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10417 * gst/gstbin.c: (gst_bin_add_func):
10418 Fix clock settery in bins when adding kids after the clock has
10421 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10423 * gst/elements/gstidentity.c: (gst_identity_class_init):
10424 Workaround until signals support GstMiniObject.
10426 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
10429 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
10431 2005-05-18 Wim Taymans <wim@fluendo.com>
10433 * gst/base/Makefile.am:
10434 * gst/base/gstadapter.c: (gst_adapter_base_init),
10435 (gst_adapter_class_init), (gst_adapter_init),
10436 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
10437 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
10438 (gst_adapter_flush), (gst_adapter_available),
10439 (gst_adapter_available_fast):
10440 * gst/base/gstadapter.h:
10441 Ported and added adapter to the base classes.
10443 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10446 * gst/gstmessage.c:
10447 Make sure the class is reffed/unreffed once before threads can be
10448 used. Fixes #304551.
10450 2005-05-17 Wim Taymans <wim@fluendo.com>
10452 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
10453 (gst_basesink_chain_unlocked), (gst_basesink_activate):
10454 * gst/gstminiobject.c: (gst_mini_object_get_type),
10455 (gst_mini_object_free):
10456 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
10457 (gst_pad_push), (gst_pad_push_event):
10458 * gst/gstqueue.c: (gst_queue_change_state):
10459 Don't queue buffers in basesink when we are flushing.
10460 Unref buffer when flushing in basesink.
10461 Flush queue when going to READY
10462 Unref buffer when _push() returns an error.
10463 Don't free MiniObject instance when refcount is incremented
10464 in _finalize() so that we can recover objects.
10466 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
10468 * docs/manual/advanced-schedulers.xml:
10469 * docs/manual/appendix-checklist.xml:
10470 * docs/pwg/advanced-clock.xml:
10471 * docs/pwg/advanced-interfaces.xml:
10472 * docs/pwg/advanced-request.xml:
10473 * docs/pwg/advanced-types.xml:
10474 * docs/pwg/intro-preface.xml:
10475 * examples/plugins/example.c: (gst_example_get_type),
10476 (gst_example_class_init), (gst_example_chain),
10477 (gst_example_set_property), (gst_example_get_property),
10478 (gst_example_change_state), (plugin_init):
10479 * examples/plugins/example.h:
10482 2005-05-17 Wim Taymans <wim@fluendo.com>
10484 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
10485 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
10486 * gst/gstqueue.c: (gst_queue_change_state):
10487 Clear queue when going to READY.
10488 Remove IN_SETCAPS flag too.
10490 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
10492 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
10493 Remove implicit cast from gboolean to GstElementStateReturn;
10494 make sure we still return failure in paused => ready case if
10495 the parent class fails to change state and our own stop
10498 2005-05-17 Wim Taymans <wim@fluendo.com>
10500 * tools/gst-launch.c: (event_loop):
10501 Message was unreffed too soon.
10503 2005-05-16 Andy Wingo <wingo@pobox.com>
10505 * gst/gstbin.c (sink_iterator_filter): Err... um...
10507 * check/gst/gstbin.c (test_ghost_pads): New test for the
10508 ghosting-if-elements-not-in-same-bin behavior.
10510 2005-05-16 David Schleef <ds@schleef.org>
10512 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
10513 accessing refcount directly.
10515 2005-05-15 David Schleef <ds@schleef.org>
10517 * check/Makefile.am: remove GstData checks
10518 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
10519 * gst/Makefile.am: add miniobject, remove data
10520 * gst/gst.h: add miniobject, remove data
10521 * gst/gstdata.c: remove
10522 * gst/gstdata.h: remove
10523 * gst/gstdata_private.h: remove
10524 * gst/gsttypes.h: remove GstEvent and GstMessage
10525 * gst/gstelement.c: (gst_element_post_message): fix for API changes
10526 * gst/gstmarshal.list: change BOXED -> OBJECT
10528 Implement GstMiniObject.
10529 * gst/gstminiobject.c:
10530 * gst/gstminiobject.h:
10532 Modify to be subclasses of GstMiniObject.
10533 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
10534 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
10535 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
10536 (gst_subbuffer_get_type), (gst_subbuffer_init),
10537 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
10540 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
10541 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
10542 (_gst_event_copy), (gst_event_new):
10544 * gst/gstmessage.c: (_gst_message_initialize),
10545 (gst_message_get_type), (gst_message_class_init),
10546 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
10547 (gst_message_new), (gst_message_new_error),
10548 (gst_message_new_warning), (gst_message_new_tag),
10549 (gst_message_new_state_changed), (gst_message_new_application):
10550 * gst/gstmessage.h:
10551 * gst/gstprobe.c: (gst_probe_perform),
10552 (gst_probe_dispatcher_dispatch):
10554 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
10555 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
10556 (_gst_query_copy), (gst_query_new):
10558 Update elements for GstData -> GstMiniObject changes
10560 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
10561 (gst_queue_chain), (gst_queue_loop):
10562 * gst/elements/gstbufferstore.c:
10563 (gst_buffer_store_add_buffer_func),
10564 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
10565 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
10566 (gst_fakesink_render):
10567 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
10568 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
10569 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
10570 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
10571 (gst_filesrc_create_read):
10572 * gst/elements/gstidentity.c: (gst_identity_class_init):
10573 * gst/elements/gsttypefindelement.c:
10574 (gst_type_find_element_src_event), (free_entry_buffers),
10575 (gst_type_find_element_handle_event):
10576 * libs/gst/dataprotocol/dataprotocol.c:
10577 (gst_dp_header_from_buffer):
10578 * libs/gst/dataprotocol/dataprotocol.h:
10579 * libs/gst/dataprotocol/dp-private.h:
10581 2005-05-15 David Schleef <ds@schleef.org>
10583 * gst/elements/gstelements.c: Don't include headers that were
10586 2005-05-15 David Schleef <ds@schleef.org>
10588 * gst/elements/Makefile.am: Remove some elements that don't
10589 need to be in the core (or even exist at all).
10590 * gst/elements/gstaggregator.c:
10591 * gst/elements/gstaggregator.h:
10592 * gst/elements/gstmd5sink.c:
10593 * gst/elements/gstmd5sink.h:
10594 * gst/elements/gstmultifilesrc.c:
10595 * gst/elements/gstmultifilesrc.h:
10596 * gst/elements/gstpipefilter.c:
10597 * gst/elements/gstpipefilter.h:
10598 * gst/elements/gstshaper.c:
10599 * gst/elements/gstshaper.h:
10600 * gst/elements/gststatistics.c:
10601 * gst/elements/gststatistics.h:
10602 * po/POTFILES.in: Remove above files.
10604 2005-05-14 Andy Wingo <wingo@pobox.com>
10606 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
10607 so as to get the refs right.
10608 (sink_iterator_filter): New function, wraps bin_element_is_sink,
10609 unreffing objects that don't pass the filter.
10611 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
10612 gst_element_set_bus.
10613 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
10614 normal cases, this will destroy the bus.
10616 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
10619 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
10622 2005-05-13 Andy Wingo <wingo@pobox.com>
10624 * gst/gstutils.c (gst_element_link_pads): Instead of calling
10625 gst_pad_link, call pad_link_maybe_ghosting,
10626 (pad_link_maybe_ghosting): Links pads, making sure that the
10627 elements being linked are in the same bin.
10628 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
10629 Helpers for pad_link_maybe_ghosting.
10631 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
10634 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
10636 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
10638 * docs/design/part-element-source.txt:
10641 2005-05-12 Wim Taymans <wim@fluendo.com>
10643 * gst/base/gstbasesink.c: (gst_basesink_init),
10644 (gst_basesink_activate):
10645 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
10646 (gst_basesrc_is_seekable):
10647 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
10648 (bin_element_is_sink), (gst_bin_change_state):
10649 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
10650 * gst/gstelement.h:
10651 Identify sinks by their flag to avoid overly complicated
10653 Do state changes even for elements not reachable from the
10655 BaseSink is a sink now :)
10656 Some more debugging info in the basesrc.
10659 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10661 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
10662 Implement _query on a bin, similar to _send_event.
10664 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
10666 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
10667 Discont event offset format should be GST_FORMAT_BYTES,
10668 not GST_FORMAT_TIME.
10670 2005-05-12 Wim Taymans <wim@fluendo.com>
10672 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
10673 Same fix as Ronald's but without the signal.
10675 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10677 * gst/gstutils.c: (gst_element_query_position):
10678 No, an element is not a pad.
10680 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10682 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
10683 (gst_bin_get_state):
10684 If a child is removed from a bin while we remove the child from
10685 the bin and while we're retrieving its state, signal this to the
10686 get_state function so we abort the wait (instead of waiting for
10687 a timeout) and can immediately re-iterate over all other elements.
10689 2005-05-12 Wim Taymans <wim@fluendo.com>
10691 * gst/base/Makefile.am:
10692 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
10693 (gst_basesrc_start):
10694 * gst/base/gstbasesrc.h:
10695 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
10696 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
10697 (gst_pushsrc_init), (gst_pushsrc_create):
10698 * gst/base/gstpushsrc.h:
10699 Added is_seekable to BaseSrc
10700 Added simple PushSrc.
10702 2005-05-11 Wim Taymans <wim@fluendo.com>
10704 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
10705 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10706 (gst_element_link_pads), (gst_element_query_position),
10707 (gst_element_query_convert), (intersect_caps_func),
10708 (gst_pad_query_position), (gst_pad_query_convert):
10709 Fix refcounting in utils function.
10710 No point in trying to activate a pad when it's added, it could
10711 be added from the state change function and then we deadlock, the
10712 element has to decide what to do.
10714 2005-05-10 Andy Wingo <wingo@pobox.com>
10716 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
10717 *all* the arguments.
10719 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
10720 stream lock if it's a FLUSH_DONE; normal flushes don't get the
10721 lock (according to the docs -- if this is wrong change the docs).
10723 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
10724 flush messages in the NULL state.
10726 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
10727 message immediately and return.
10728 (gst_bus_set_flushing): New function. If a bus is flushing, it
10729 flushes out any queued messages and immediately unrefs new
10730 messages. This is so when an element goes to NULL, all of the
10731 unhandled messages coming from it can be freed, and their
10732 references to the element dropped. In other words: message source
10733 ref considered harmful :P
10735 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
10736 we're finished with it.
10738 * gst/gstmessage.c (gst_message_new_state_changed):
10740 2005-05-10 Wim Taymans <wim@fluendo.com>
10742 * gst/gstvalue.c: (gst_value_compare_flags),
10743 (gst_value_serialize_flags), (gst_value_deserialize_flags),
10744 (_gst_value_initialize):
10745 Added flags serialize/deserialize/compare code.
10747 2005-05-09 Andy Wingo <wingo@pobox.com>
10749 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
10750 Intersect the peer's caps with our caps.
10752 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10754 * gst/base/gsttypefindhelper.c: (helper_find_peek):
10755 * gst/elements/gsttypefindelement.c: (find_peek):
10756 Handle negative offsets better. Fixes decodebin.
10758 2005-05-09 Wim Taymans <wim@fluendo.com>
10760 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
10761 (gst_base_transform_event):
10762 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
10763 Implement accept_caps.
10764 Fix silly lock/unlock mismatch in base class.
10766 2005-05-09 Wim Taymans <wim@fluendo.com>
10768 * docs/design/draft-push-pull.txt:
10769 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
10770 * gst/elements/gstfilesink.c: (gst_filesink_init),
10771 (gst_filesink_query):
10772 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
10773 (gst_type_find_handle_src_query), (find_element_get_length):
10774 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
10775 * gst/gstelement.h:
10776 * gst/gstmessage.c:
10777 * gst/gstmessage.h:
10778 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
10779 (gst_real_pad_get_caps_unlocked),
10780 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
10781 (gst_pad_event_default_dispatch), (gst_pad_event_default),
10782 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
10783 (gst_real_pad_dispose), (gst_real_pad_finalize),
10784 (gst_pad_load_and_link), (gst_pad_save_thyself),
10785 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
10786 (gst_pad_check_pull_range), (gst_pad_pull_range),
10787 (gst_pad_template_get_type), (gst_pad_template_class_init),
10788 (gst_pad_template_init), (gst_pad_template_dispose),
10789 (name_is_valid), (gst_static_pad_template_get),
10790 (gst_pad_template_new), (gst_static_pad_template_get_caps),
10791 (gst_pad_template_get_caps), (gst_pad_set_element_private),
10792 (gst_pad_get_element_private), (gst_pad_start_task),
10793 (gst_pad_pause_task), (gst_pad_stop_task),
10794 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
10795 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
10796 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
10797 (gst_ghost_pad_new):
10799 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
10800 (gst_query_new_position), (gst_query_set_position),
10801 (gst_query_parse_position), (gst_query_new_convert),
10802 (gst_query_set_convert), (gst_query_parse_convert):
10804 * gst/gstqueryutils.c:
10805 * gst/gstqueryutils.h:
10806 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
10807 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
10808 (gst_queue_handle_src_query):
10809 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10810 (gst_element_query_position), (gst_element_query_convert),
10811 (intersect_caps_func), (gst_pad_query_position),
10812 (gst_pad_query_convert):
10814 * tools/gst-inspect.c: (print_pad_info):
10815 * tools/gst-xmlinspect.c: (print_element_info):
10816 Remove old query functions. Ported old code.
10817 Added position/convert helper functions to gstutils.
10818 Reordered gstpad.c code, grouping relevant things.
10819 Remove gst_message_new(), always need to speficy a specific
10823 2005-05-09 Andy Wingo <wingo@pobox.com>
10825 * gst/gstiterator.h: Add some includes.
10827 * gst/gstqueryutils.h: Include more headers.
10830 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
10831 some uses of gst_pad_query.
10833 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
10834 NULL out parameters.
10835 (gst_query_new_position): New proc, allocates a new position
10838 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
10839 gstqueryutils.c to the build.
10841 * gst/gststructure.c (gst_structure_set_valist): Implement with
10842 the generic G_VALUE_COLLECT.
10844 2005-05-08 Edward Hervey <bilboed@bilboed.com>
10846 * gst/Makefile.am: (gst_headers):
10847 Added gstqueryutils.h to the list of headers to install, that was
10848 a 'nachty' move wingo :)
10850 2005-05-06 Andy Wingo <wingo@pobox.com>
10853 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
10854 GstData, init a memchunk.
10855 (standard_definitions): Add a few query types, deprecate a few.
10856 (gst_query_get_type): New proc.
10857 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
10859 (gst_query_new_application, gst_query_get_structure): New public
10862 * docs/design/draft-query.txt: Removed LINKS from the query types,
10863 because all the rest can be dispatched to other pads -- seemed
10864 ugly to have a query that couldn't be dispatched. internal_links
10865 is fine as a pad method.
10867 * gst/gstpad.h: Add query2 as a pad method, add the new functions
10868 in gstpad.c, but maintain binary compatibility for the moment.
10869 Will fix before 0.9 is out.
10871 * gst/gstqueryutils.c:
10872 * gst/gstqueryutils.h: New files, implement 3 methods for each
10873 query type: parse_query, parse_response, and set. Probably need an
10876 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
10878 * gst/elements/gstfilesink.c (gst_filesink_query2):
10879 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
10880 query_types, and formats methods.
10882 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
10883 (gst_pad_set_query2_function): New functions.
10884 (gst_real_pad_init): Set query2_default as the default query2
10885 function. Basically just dispatches to internally linked pads.
10889 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
10890 without using the atomic operations. Only one thread can possibly
10891 be accessing the data at this point. Changed so as to avoid
10892 gst_atomic operations.
10894 2005-05-06 Wim Taymans <wim@fluendo.com>
10896 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
10897 Also set caps if we use the fallback buffer alloc.
10899 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
10901 * docs/gst/Makefile.am:
10902 * docs/gst/gstreamer-docs.sgml:
10903 * docs/gst/gstreamer-sections.txt:
10904 * docs/gst/tmpl/gstatomic.sgml:
10905 * docs/gst/tmpl/gstmemchunk.sgml:
10906 * testsuite/elements/struct_i386.h:
10907 * win32/GStreamer.vcproj:
10909 Purge GstAtomic stuff from docs and win32 makefiles as well
10911 2005-05-06 Wim Taymans <wim@fluendo.com>
10913 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
10914 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
10915 * gst/gstpad.c: (gst_pad_peer_get_caps):
10916 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
10917 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
10918 (gst_queue_src_activate), (gst_queue_change_state):
10920 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10921 (intersect_caps_func):
10922 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
10923 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
10924 Some fixes for the peer_get_caps() change.
10926 2005-05-06 Wim Taymans <wim@fluendo.com>
10928 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10929 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
10930 (gst_basesink_activate):
10931 Actually do something with error codes returned from the push
10934 2005-05-06 Wim Taymans <wim@fluendo.com>
10936 * docs/design/part-element-sink.txt:
10937 * docs/design/part-element-source.txt:
10938 * gst/base/gstbasesink.c: (gst_basesink_class_init),
10939 (gst_basesink_event), (gst_basesink_activate):
10940 * gst/base/gstbasesink.h:
10941 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
10942 (gst_basesrc_activate):
10943 * gst/base/gstbasesrc.h:
10944 * gst/gstelement.c: (gst_element_pads_activate):
10945 Some more documentation.
10946 Fixed scheduling decision in _pads_activate().
10948 2005-05-05 Andy Wingo <wingo@pobox.com>
10950 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
10953 2005-05-05 Wim Taymans <wim@fluendo.com>
10955 * gst/base/Makefile.am:
10956 * gst/base/gstbasesink.h:
10957 * gst/base/gstbasesrc.c: (gst_basesrc_init),
10958 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
10959 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
10960 (gst_collectpads_class_init), (gst_collectpads_init),
10961 (gst_collectpads_finalize), (gst_collectpads_new),
10962 (gst_collectpads_set_function), (gst_collectpads_add_pad),
10963 (find_pad), (gst_collectpads_remove_pad),
10964 (gst_collectpads_is_active), (gst_collectpads_collect),
10965 (gst_collectpads_collect_range), (gst_collectpads_start),
10966 (gst_collectpads_stop), (gst_collectpads_peek),
10967 (gst_collectpads_pop), (gst_collectpads_available),
10968 (gst_collectpads_read), (gst_collectpads_flush),
10969 (gst_collectpads_chain):
10970 * gst/base/gstcollectpads.h:
10971 * gst/elements/Makefile.am:
10972 * gst/elements/gstelements.c:
10973 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
10974 (gst_fakesink_get_times), (gst_fakesink_event),
10975 (gst_fakesink_preroll), (gst_fakesink_render):
10976 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
10977 (gst_filesink_init), (gst_filesink_set_location),
10978 (gst_filesink_open_file), (gst_filesink_close_file),
10979 (gst_filesink_pad_query), (gst_filesink_event),
10980 (gst_filesink_render), (gst_filesink_change_state):
10981 * gst/elements/gstfilesink.h:
10982 Added object to help in making collect pad based elements.
10984 Make event function in sink baseclass return gboolean.
10986 2005-05-05 Wim Taymans <wim@fluendo.com>
10988 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
10989 (gst_bin_get_by_name):
10991 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
10992 (gst_clock_finalize):
10993 * gst/gstdata.c: (gst_data_replace):
10995 * gst/gstelement.c: (gst_element_request_pad),
10996 (gst_element_pads_activate):
10997 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
10998 (gst_object_unref):
10999 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11000 (gst_pad_set_checkgetrange_function),
11001 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
11002 (gst_pad_check_pull_range), (gst_pad_pull_range),
11003 (gst_static_pad_template_get_caps), (gst_pad_start_task),
11004 (gst_pad_pause_task), (gst_pad_stop_task):
11005 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11006 (gst_element_request_pad), (gst_pad_proxy_getcaps):
11007 Fix name lookup in GstBin.
11008 Added _data_replace() function and _buffer_replace()
11009 Use finalize method to clean up clock.
11010 Fix refcounting on request pads.
11011 Fix pad schedule mode error.
11012 Some more object refcounting debug info,
11015 2005-05-04 Andy Wingo <wingo@pobox.com>
11017 * check/Makefile.am:
11018 * docs/gst/tmpl/gstatomic.sgml:
11019 * docs/gst/tmpl/gstplugin.sgml:
11020 * gst/base/gstbasesink.c: (gst_basesink_activate):
11021 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
11022 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
11023 (gst_basesrc_query), (gst_basesrc_set_property),
11024 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
11025 (gst_basesrc_activate):
11026 * gst/base/gstbasesrc.h:
11027 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
11028 (gst_base_transform_src_activate):
11029 * gst/elements/gstelements.c:
11030 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11031 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
11032 * gst/elements/gsttee.c: (gst_tee_sink_activate):
11033 * gst/elements/gsttypefindelement.c: (find_element_get_length),
11034 (gst_type_find_element_checkgetrange),
11035 (gst_type_find_element_activate):
11036 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
11037 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
11038 (gst_caps_load_thyself):
11039 * gst/gstelement.c: (gst_element_pads_activate),
11040 (gst_element_save_thyself), (gst_element_restore_thyself):
11041 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
11042 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
11044 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
11045 (gst_xml_parse_file), (gst_xml_parse_memory),
11046 (gst_xml_get_element), (gst_xml_make_element):
11047 * gst/indexers/gstfileindex.c: (gst_file_index_load),
11048 (_file_index_id_save_xml), (gst_file_index_commit):
11049 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
11050 (read_enum), (load_pad_template), (load_feature), (load_plugin),
11052 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
11053 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
11054 * tools/gst-complete.c: (main):
11055 * tools/gst-compprep.c: (main):
11056 * tools/gst-inspect.c: (print_element_properties_info):
11057 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
11058 * tools/gst-xmlinspect.c: (print_element_properties):
11061 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
11063 * gst/gstplugin.c: (gst_plugin_check_module),
11064 (gst_plugin_check_file), (gst_plugin_load_file):
11065 apply patch from #172526 to make register work on MacOSX
11067 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
11069 * docs/gst/tmpl/gstconfig.sgml:
11070 * gst/gstconfig.h.in:
11071 move documentation for some symbols. Add doc for GST_PTR_FORMAT
11072 * testsuite/debug/printf_extension.c: (main):
11073 Do not use GST_PTR_FORMAT on pointers to types with
11074 sizeof < sizeof(gpointer). Fixes test on 64-bit
11075 * testsuite/elements/property.h:
11076 use correct printf format
11078 2005-05-02 Wim Taymans <wim@fluendo.com>
11080 * docs/design/draft-push-pull.txt:
11081 * docs/design/draft-query.txt:
11082 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
11083 (gst_basesrc_start):
11084 Added draft for new query API.
11085 Added draft for better selecting scheduling methods.
11086 Make basesrc ignore length if the subclass does not support
11089 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
11092 possible fixes for automake-1.5 - _LIBADD is reserved
11094 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
11096 * docs/faq/Makefile.am:
11097 * docs/manual/Makefile.am:
11098 * docs/manuals.mak:
11099 * docs/pwg/Makefile.am:
11101 possible fixes for automake-1.5
11103 2005-04-28 Wim Taymans <wim@fluendo.com>
11105 * gst/base/gstbasesink.c: (gst_basesink_base_init),
11106 (gst_basesink_pad_getcaps), (gst_basesink_init),
11107 (gst_basesink_do_sync):
11108 * gst/gstclock.c: (gst_clock_entry_new):
11109 * gst/gstevent.c: (gst_event_discont_get_value):
11110 * gst/gstpipeline.c: (pipeline_bus_handler),
11111 (gst_pipeline_change_state):
11112 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
11113 Better debugging of clocking info.
11114 Allow NULL values when getting discont values.
11116 2005-04-27 Wim Taymans <wim@fluendo.com>
11118 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
11119 * check/gst/gstpad.c: (gst_pad_suite):
11120 Increase timeout for checks.
11122 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11124 * check/Makefile.am:
11125 fix the broken rule for cleanup. Apparently this rule is
11126 only needed on FC2, so maybe this warrants further autotool
11129 2005-04-26 Wim Taymans <wim@fluendo.com>
11131 * gst/gsttrashstack.h:
11132 Ooohh. a nasty one! After having a failed pop() from the stack,
11133 it's possible that the stack is empty. In that case, don't
11134 follow the NULL pointer.
11136 2005-04-25 Wim Taymans <wim@fluendo.com>
11138 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11139 (gst_pad_set_checkgetrange_function),
11140 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
11141 (gst_pad_check_pull_range), (gst_pad_pull_range),
11142 (gst_static_pad_template_get_caps), (gst_pad_start_task),
11143 (gst_pad_pause_task), (gst_pad_stop_task):
11144 * gst/gstplugin.c: (gst_plugin_load):
11146 Remove gst_library_load as it does more harm than good with
11147 the new g_module flags.
11148 Revert bogus caps template check in pad linking, pad caps
11149 are important when linking not the template, which is more
11150 general than the current caps.
11152 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11154 * gst/autoplug/.cvsignore:
11155 * gst/autoplug/Makefile.am:
11156 * gst/autoplug/gstsearchfuncs.c:
11157 * gst/autoplug/gstsearchfuncs.h:
11158 * gst/autoplug/gstspider.c:
11159 * gst/autoplug/gstspider.h:
11160 * gst/autoplug/gstspideridentity.c:
11161 * gst/autoplug/gstspideridentity.h:
11162 * gst/autoplug/spidertest.c:
11165 2005-04-25 Wim Taymans <wim@fluendo.com>
11167 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11168 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
11169 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
11170 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
11172 Added stubs for unimplemented functions.
11174 2005-04-24 David Schleef <ds@schleef.org>
11176 * gst/gstpad.h: Disable some unimplemented functions. Wim,
11179 2005-04-24 David Schleef <ds@schleef.org>
11181 Convert everything from GstAtomicInt to g_atomic_int_*, and
11186 * gst/gstatomic_impl.h:
11194 * gst/gstdata_private.h:
11198 * gst/gstmessage.c:
11201 * gst/gststructure.c:
11202 * gst/gststructure.h:
11203 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
11206 2005-04-24 David Schleef <ds@schleef.org>
11208 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
11209 make the regressions tests work. Remove some code that is no
11211 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
11212 Disable warning for pads without templates.
11214 2005-04-24 David Schleef <ds@schleef.org>
11216 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
11217 functions that handle filtered links.
11218 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
11220 * gst/gstutils.c: Fix/remove utility functions that handle
11223 * gst/gstvalue.c: Add serialization/deserialization of caps
11224 * gst/parse/grammar.y: Ignore filtered caps when linking. This
11225 requires fixing so that the filter caps notation creates
11226 a capsfilter element and sets the filter_caps property. I
11227 think everyone probably wants to keep the shorthand notation.
11228 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
11229 * docs/gst/tmpl/gstpad.sgml:
11231 * gst/elements/gstelements.c: Register capsfilter element.
11232 * gst/Makefile.am: fix spacing
11233 * docs/random/ds/0.9-suggested-changes: random
11235 2005-04-23 David Schleef <ds@schleef.org>
11237 * gst/elements/Makefile.am:
11238 * gst/elements/gstcapsfilter.c: New element that acts like an
11239 identity, but filters caps. Will eventually replace filtered
11240 caps in pad linking.
11241 * gst/gstutils.c: (gst_element_create_all_pads): New function
11242 to create all the ALWAYS pads that are registered with an
11243 element class. This functionality should eventually be
11244 merged in with GstElement initialization.
11246 * testsuite/trigger/README: part of trigger test code that should
11247 have been checked in a long time ago.
11249 2005-04-23 David Schleef <ds@schleef.org>
11251 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
11252 needed with new versions of libtool (nobody will confirm this),
11253 and hard to carry around.
11254 * gst/autoplug/Makefile.am:
11255 * gst/base/Makefile.am:
11256 * gst/elements/Makefile.am:
11257 * gst/indexers/Makefile.am:
11258 * gst/schedulers/Makefile.am:
11259 * libs/gst/bytestream/Makefile.am:
11260 * libs/gst/control/Makefile.am:
11261 * libs/gst/dataprotocol/Makefile.am:
11262 * libs/gst/getbits/Makefile.am:
11264 2005-04-21 Wim Taymans <wim@fluendo.com>
11266 * docs/design/draft-push-pull.txt:
11267 * docs/design/part-MT-refcounting.txt:
11268 * docs/design/part-TODO.txt:
11269 * docs/design/part-caps.txt:
11270 * docs/design/part-events.txt:
11271 * docs/design/part-gstbus.txt:
11272 * docs/design/part-gstpipeline.txt:
11273 * docs/design/part-messages.txt:
11274 * docs/design/part-push-pull.txt:
11275 * docs/design/part-query.txt:
11278 2005-04-21 Wim Taymans <wim@fluendo.com>
11280 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
11281 (gst_message_new), (gst_message_new_error),
11282 (gst_message_new_warning), (gst_message_new_tag),
11283 (gst_message_new_state_changed), (gst_message_new_application),
11284 (gst_message_get_structure):
11285 * gst/gstmessage.h:
11286 * gst/gststructure.c: (gst_structure_set_parent_refcount),
11287 (gst_structure_copy_conditional):
11288 Use parent refcount in GstMessage to ensure GstStructure
11290 Cleaned up headers a bit.
11293 2005-04-20 Wim Taymans <wim@fluendo.com>
11295 * gst/base/gstbasesink.c: (gst_basesink_base_init),
11296 (gst_basesink_pad_getcaps), (gst_basesink_init),
11297 (gst_basesink_chain_unlocked):
11298 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
11299 (gst_type_find_helper):
11300 * gst/elements/gsttypefindelement.c:
11301 (gst_type_find_element_have_type), (gst_type_find_element_init),
11302 (stop_typefinding), (gst_type_find_element_handle_event),
11303 (find_suggest), (gst_type_find_element_chain),
11304 (gst_type_find_element_checkgetrange),
11305 (gst_type_find_element_getrange), (do_typefind),
11306 (gst_type_find_element_activate):
11307 * gst/gstbuffer.c: (_gst_buffer_sub_free),
11308 (gst_buffer_default_free), (gst_buffer_default_copy),
11309 (gst_buffer_set_caps):
11310 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
11311 (gst_caps_replace):
11312 * gst/gstmessage.c: (gst_message_new),
11313 (gst_message_new_state_changed):
11314 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11315 (gst_pad_set_checkgetrange_function),
11316 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
11317 (gst_pad_set_caps), (gst_pad_check_pull_range),
11318 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
11320 * gst/gsttypefind.c: (gst_type_find_register):
11321 Make gst_caps_replace() work like other _replace() functions.
11322 Use _caps_replace() where possible.
11323 Make sure _message_new() initialises its field.
11324 Add gst_static_pad_template_get_caps()
11327 2005-04-18 Andy Wingo <wingo@pobox.com>
11329 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
11330 on the peer, not the pad. I think that was a typo. Pass an extra
11331 arg to see if random access is possible. Activate the pads as
11332 PULL_RANGE if possible.
11334 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
11336 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
11337 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
11340 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11342 * docs/faq/using.xml:
11343 Add note on gstreamer-properties (#154996).
11345 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11347 * docs/random/bbb/optional-properties:
11348 Some analysis on optional properties.
11350 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11352 * docs/gst/tmpl/gstelementfactory.sgml:
11353 * gst/gstelement.h:
11354 * gst/gstelementfactory.c: (gst_element_factory_init),
11355 (gst_element_factory_cleanup), (gst_element_register),
11356 (__gst_element_factory_add_static_pad_template),
11357 (gst_element_factory_get_static_pad_templates),
11358 (gst_element_factory_can_src_caps),
11359 (gst_element_factory_can_sink_caps):
11360 * gst/registries/Makefile.am:
11361 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
11362 (gst_xml_registry_class_init), (gst_xml_registry_init),
11363 (gst_xml_registry_new), (gst_xml_registry_set_property),
11364 (gst_xml_registry_get_property), (get_time), (make_dir),
11365 (gst_xml_registry_get_perms_func),
11366 (plugin_times_older_than_recurse), (plugin_times_older_than),
11367 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
11368 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
11369 (add_to_char_array), (read_string), (read_uint), (read_enum),
11370 (load_pad_template), (load_feature), (load_plugin), (load_paths),
11371 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
11372 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
11373 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
11374 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
11375 (gst_xml_registry_rebuild):
11376 * gst/registries/gstlibxmlregistry.h:
11377 * tools/gst-compprep.c: (main):
11378 * tools/gst-inspect.c: (print_pad_templates_info):
11379 * tools/gst-xmlinspect.c: (print_element_info):
11380 Use libxml2 for registry parsing, use staticpadtemplates in
11381 elementfactories. Makes gst_init() +/- 10x faster.
11383 2005-04-12 Wim Taymans <wim@fluendo.com>
11385 * gst/base/Makefile.am:
11386 * gst/base/gstbasesink.c: (gst_basesink_base_init),
11387 (gst_basesink_pad_getcaps), (gst_basesink_init),
11388 (gst_basesink_event), (gst_basesink_change_state):
11389 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11390 (gst_basesrc_init), (gst_basesrc_query),
11391 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
11392 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
11393 (gst_basesrc_check_get_range), (gst_basesrc_loop),
11394 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
11395 (gst_basesrc_stop), (gst_basesrc_activate),
11396 (gst_basesrc_change_state):
11397 * gst/base/gsttypefindhelper.c: (helper_find_peek),
11398 (helper_find_suggest), (gst_type_find_helper):
11399 * gst/base/gsttypefindhelper.h:
11400 * gst/elements/Makefile.am:
11401 * gst/elements/gstelements.c:
11402 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11403 (gst_fakesink_get_times), (gst_fakesink_event),
11404 (gst_fakesink_preroll), (gst_fakesink_render):
11405 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11406 (gst_fakesrc_init), (gst_fakesrc_event_handler),
11407 (gst_fakesrc_get_property), (gst_fakesrc_create),
11408 (gst_fakesrc_start), (gst_fakesrc_stop):
11409 * gst/elements/gstfakesrc.h:
11410 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
11411 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
11412 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
11413 (gst_filesrc_create_read), (gst_filesrc_create),
11414 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
11415 (gst_filesrc_start):
11416 * gst/elements/gsttypefindelement.c:
11417 (gst_type_find_element_have_type), (gst_type_find_element_init),
11418 (start_typefinding), (stop_typefinding), (push_buffer_store),
11419 (gst_type_find_element_handle_event),
11420 (gst_type_find_element_chain),
11421 (gst_type_find_element_checkgetrange),
11422 (gst_type_find_element_getrange), (do_typefind),
11423 (gst_type_find_element_activate),
11424 (gst_type_find_element_change_state):
11425 * gst/elements/gsttypefindelement.h:
11426 * gst/gstpipeline.c: (pipeline_bus_handler):
11427 Added typefind helper.
11428 Small preroll fix in the base sink.
11429 Disable typefind code in basesrc.
11430 Crude port of typefindelement.
11434 2005-04-11 Wim Taymans <wim@fluendo.com>
11436 * check/gst/gstbus.c: (gstbus_suite):
11437 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
11438 * check/gstcheck.h:
11439 Fix up the timeout so that the test does not fail.
11441 2005-04-06 Wim Taymans <wim@fluendo.com>
11444 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11445 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
11446 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
11447 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
11448 (gst_basesrc_check_get_range), (gst_basesrc_loop),
11449 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
11450 (gst_basesrc_stop), (gst_basesrc_activate),
11451 (gst_basesrc_change_state), (basesrc_find_peek),
11452 (basesrc_find_suggest), (gst_basesrc_type_find):
11453 * gst/base/gstbasesrc.h:
11454 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
11455 (gst_filesrc_class_init), (gst_filesrc_init),
11456 (gst_filesrc_finalize), (gst_filesrc_set_location),
11457 (gst_filesrc_set_property), (gst_filesrc_get_property),
11458 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
11459 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
11460 (gst_filesrc_create_read), (gst_filesrc_create),
11461 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
11462 * gst/elements/gstfilesrc.h:
11463 * gst/gstelement.c: (gst_element_get_state_func),
11464 (gst_element_lost_state), (gst_element_pads_activate):
11465 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11466 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
11467 (gst_pad_pull_range):
11469 More work on the generic source base class, implement seeking,
11471 Make filesrc extend the base source class.
11472 Added gst_pad_set_checkgetrange_function to GstPad.
11474 2005-04-06 Andy Wingo <wingo@pobox.com>
11476 * pkgconfig/gstreamer-base.pc.in:
11477 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
11479 * pkgconfig/Makefile.am:
11480 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
11482 2005-04-04 Wim Taymans <wim@fluendo.com>
11484 * gst/base/Makefile.am:
11486 * gst/base/gstbasesink.c: (gst_basesink_base_init),
11487 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
11488 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
11489 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
11490 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11491 (gst_basesrc_base_init), (gst_basesrc_class_init),
11492 (gst_basesrc_init), (gst_basesrc_get_formats),
11493 (gst_basesrc_get_query_types), (gst_basesrc_query),
11494 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
11495 (gst_basesrc_set_property), (gst_basesrc_get_property),
11496 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
11497 (gst_basesrc_loop), (gst_basesrc_activate),
11498 (gst_basesrc_change_state):
11499 * gst/base/gstbasesrc.h:
11500 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
11501 (gst_fakesrc_class_init), (gst_fakesrc_init),
11502 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
11503 (gst_fakesrc_get_property), (gst_fakesrc_create):
11504 * gst/elements/gstfakesrc.h:
11505 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
11506 (gst_filesrc_open_file), (gst_filesrc_loop),
11507 (gst_filesrc_activate), (filesrc_find_peek),
11508 (gst_filesrc_type_find):
11509 Made base source class, make fakesrc extend it.
11510 Add comments to basesink class.
11511 Some filesrc cleanup.
11513 2005-03-31 David Schleef <ds@schleef.org>
11515 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
11516 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
11517 expected to link against libgstreamer.
11518 * gst/base/Makefile.am: link against libgstreamer
11519 * gst/elements/Makefile.am: same
11521 2005-03-31 Andy Wingo <wingo@pobox.com>
11523 * tests/instantiate/Makefile.am:
11524 * tests/instantiate/caps.c: Add test to test speed of caps copy
11527 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
11528 GMemChunk to be fair.
11530 * gst/gsttrashstack.h: Remove warning about using the fallback
11531 trash stack implementation, it's still faster than malloc.
11533 2005-03-30 Andy Wingo <wingo@pobox.com>
11535 * tests/complexity.c: Add a copyright.
11537 2005-03-31 Wim Taymans <wim@fluendo.com>
11539 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
11540 (gst_base_transform_class_init), (gst_base_transform_init),
11541 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
11542 (gst_base_transform_get_property),
11543 (gst_base_transform_sink_activate),
11544 (gst_base_transform_src_activate),
11545 (gst_base_transform_change_state):
11546 * gst/base/gstbasetransform.h:
11547 * gst/elements/gstidentity.c: (gst_identity_class_init),
11548 (gst_identity_event), (gst_identity_check_perfect),
11549 (gst_identity_transform), (gst_identity_start),
11550 (gst_identity_stop):
11551 Added start/stop methods to transform base class so subclasses
11552 don't need to deal with state changes even.
11554 2005-03-31 Wim Taymans <wim@fluendo.com>
11556 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
11557 (gst_event_new_discontinuous), (gst_event_discont_get_value):
11559 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11560 (gst_pad_pull_range):
11561 Added rate to the discont event to prepare for variable speed
11562 and reverse playback.
11564 2005-03-29 David Schleef <ds@schleef.org>
11567 * testsuite/trigger/Makefile.am:
11568 * testsuite/trigger/trigger.c: A little example program to show
11569 how trigger-based elements can work.
11571 2005-03-29 Wim Taymans <wim@fluendo.com>
11573 * gst/base/Makefile.am:
11575 * gst/base/gstbasesink.c: (gst_basesink_get_type),
11576 (gst_basesink_base_init), (gst_basesink_class_init),
11577 (gst_basesink_pad_getcaps), (gst_basesink_init),
11578 (gst_basesink_activate), (gst_basesink_change_state):
11579 * gst/base/gstbasesink.h:
11580 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
11581 (gst_base_transform_base_init), (gst_base_transform_finalize),
11582 (gst_base_transform_class_init), (gst_base_transform_init),
11583 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
11584 (gst_base_transform_event), (gst_base_transform_getrange),
11585 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
11586 (gst_base_transform_set_property),
11587 (gst_base_transform_get_property),
11588 (gst_base_transform_sink_activate),
11589 (gst_base_transform_src_activate),
11590 (gst_base_transform_change_state):
11591 * gst/base/gstbasetransform.h:
11592 * gst/elements/gstidentity.c: (gst_identity_finalize),
11593 (gst_identity_class_init), (gst_identity_init),
11594 (gst_identity_event), (gst_identity_check_perfect),
11595 (gst_identity_transform), (gst_identity_set_property),
11596 (gst_identity_get_property), (gst_identity_change_state):
11597 * gst/elements/gstidentity.h:
11598 * gst/gstelement.c: (gst_element_get_state_func),
11599 (gst_element_lost_state), (gst_element_pads_activate):
11600 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11601 (gst_pad_check_pull_range), (gst_pad_pull_range):
11603 Simplify pad activation.
11604 Added function to check if pull_range can be performed.
11605 Error out when pulling inactive or flushing pads.
11606 Removed const from refcounted types as it does not make sense.
11607 Simplify pad templates in basesink
11608 Added base class for simple 1-to-1 transforms.
11609 Make identity subclass the base transform.
11611 2005-03-29 Andy Wingo <wingo@pobox.com>
11613 * docs/libs/gstreamer-libs-overrides.txt:
11614 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
11615 really don't understand what's going on, but like whatever. I want
11618 * docs/gst/Makefile.am:
11619 * docs/libs/Makefile.am: Dist the overrides files.
11621 * check/Makefile.am (clean-local): Remove .libs directories.
11623 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
11624 elements to EXTRA_DIST, so po/ files are happy.
11626 * po/POTFILES.in: Er, remove it here.
11628 * po/POTFILES: Remove gstspider.c.
11630 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
11632 * docs/libs/gstreamer-libs-docs.sgml:
11633 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
11636 * tests/complexity.c (main): Set the length of the preroll queue
11637 on the sinks to prevent a lockup.
11639 * libs/gst/dataprotocol/Makefile.am:
11640 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
11641 the same as the one in check/gst-libs/gdp.c.
11643 * po/, docs/gst/: Commit automatic changes to docs and po files.
11645 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
11646 the versioned libgstbase.
11648 * check/Makefile.am: Depend on an unversioned gst-register, seems
11649 to make autoconf happier.
11651 * gst/base/Makefile.am: Make libgstbase a versioned lib.
11653 2005-03-28 Wim Taymans <wim@fluendo.com>
11656 * docs/design/part-gstelement.txt:
11657 * docs/design/part-negotiation.txt:
11658 * docs/design/part-preroll.txt:
11659 * docs/design/part-scheduling.txt:
11660 * docs/design/part-states.txt:
11662 * gst/base/Makefile.am:
11664 * gst/base/gstbasesink.c: (gst_basesink_get_template),
11665 (gst_basesink_base_init), (gst_basesink_class_init),
11666 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
11667 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
11668 (gst_basesink_set_pad_functions),
11669 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
11670 (gst_basesink_set_property), (gst_basesink_get_property),
11671 (gst_base_sink_get_template), (gst_base_sink_get_caps),
11672 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
11673 (gst_basesink_preroll_queue_push),
11674 (gst_basesink_preroll_queue_empty),
11675 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
11676 (gst_basesink_event), (gst_basesink_get_times),
11677 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
11678 (gst_basesink_chain_unlocked), (gst_basesink_chain),
11679 (gst_basesink_loop), (gst_basesink_activate),
11680 (gst_basesink_change_state):
11681 * gst/base/gstbasesink.h:
11682 * gst/elements/Makefile.am:
11683 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
11684 (gst_fakesink_class_init), (gst_fakesink_init),
11685 (gst_fakesink_set_property), (gst_fakesink_get_property),
11686 (gst_fakesink_get_times), (gst_fakesink_event),
11687 (gst_fakesink_preroll), (gst_fakesink_render),
11688 (gst_fakesink_change_state):
11689 * gst/elements/gstfakesink.h:
11690 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
11691 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
11692 * gst/gstelement.c: (gst_element_add_pad),
11693 (gst_element_get_state_func), (gst_element_abort_state),
11694 (gst_element_commit_state), (gst_element_lost_state),
11695 (gst_element_set_state), (gst_element_pads_activate):
11696 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
11697 * gst/gstpipeline.c: (gst_pipeline_send_event),
11698 (gst_pipeline_change_state):
11699 Added state change code.
11700 Added/updated docs.
11701 Added sink base class, make fakesink extend the base class.
11702 Small cleanups in GstPipeline.
11704 2005-03-26 David Schleef <ds@schleef.org>
11706 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
11707 is broken and should be implemented in a different library.
11708 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
11709 * gst/gst.h: remove gstcpu.h
11710 * gst/gstcpu.c: remove
11711 * gst/gstcpu.h: remove
11712 * gst/Makefile.am.future: Remove this file. It's ancient.
11714 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11716 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
11717 (gst_bin_send_event):
11718 Add default event/set_manager handlers. The set_manager handler
11719 takes care that the manager is distributed over kids that were
11720 already in the bin before the manager was set. The event handler
11721 is a utility virtual function that sends the event over all sinks,
11722 so that gst_element_send_event (bin, event); has the expected
11724 * gst/gstpad.c: (gst_pad_event_default):
11725 Re-install default event handling for discontinuities, so that
11726 seeking works without requiring hacks in applications or extra
11728 * gst/gstpipeline.c: (gst_pipeline_class_init),
11729 (gst_pipeline_send_event):
11730 Half hack, half utility: set a pipeline to PAUSED for seek events,
11731 since that is the only way we can guarantee a/v sync. Means that
11732 you can do gst_element_seek (pipeline, method, pos); on a pipeline
11733 and it "just works".
11735 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11737 * gst/gstpipeline.c: (gst_pipeline_use_clock):
11738 Lock/unlock mismatch.
11740 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
11742 * docs/faq/gst-uninstalled:
11743 add gst-plugins-base
11744 * docs/gst/Makefile.am:
11745 don't error out until docs are fixed
11746 * docs/gst/gstreamer.types:
11749 2005-03-22 Wim Taymans <wim@fluendo.com>
11751 * check/Makefile.am:
11752 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
11753 * gst/gststructure.c: (gst_structure_set_valist),
11754 (gst_structure_copy_conditional):
11755 Activated more tests.
11756 Added message test.
11757 Added G_TYPE_POINTER to GstStructure.
11760 2005-03-22 Wim Taymans <wim@fluendo.com>
11762 * docs/design/part-TODO.txt:
11763 * docs/design/part-events.txt:
11764 * docs/design/part-gstbin.txt:
11765 * docs/design/part-gstbus.txt:
11766 * docs/design/part-gstpipeline.txt:
11767 * docs/design/part-messages.txt:
11769 * gst/gstmessage.c:
11772 2005-03-21 Wim Taymans <wim@fluendo.com>
11774 * gst/gstbus.c: (gst_bus_post):
11775 Fix copy-and-paste error.
11777 2005-03-21 Wim Taymans <wim@fluendo.com>
11779 * check/Makefile.am:
11781 * gst/elements/Makefile.am:
11782 * gst/elements/gstelements.c:
11783 * gst/elements/gstfakesink.c: (gst_fakesink_init),
11784 (gst_fakesink_event), (gst_fakesink_chain):
11785 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11786 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
11787 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
11788 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
11789 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
11790 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
11791 (gst_fakesrc_loop), (gst_fakesrc_activate),
11792 (gst_fakesrc_change_state):
11793 * gst/elements/gstfakesrc.h:
11794 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
11795 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
11796 (gst_filesrc_open_file), (gst_filesrc_loop),
11797 (gst_filesrc_activate), (gst_filesrc_change_state),
11798 (filesrc_find_peek), (filesrc_find_suggest),
11799 (gst_filesrc_type_find):
11800 * gst/elements/gstidentity.c: (gst_identity_finalize),
11801 (gst_identity_class_init), (gst_identity_init),
11802 (gst_identity_proxy_getcaps), (identity_queue_push),
11803 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
11804 (gst_identity_getrange), (gst_identity_chain),
11805 (gst_identity_sink_loop), (gst_identity_src_loop),
11806 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
11807 (gst_identity_set_property), (gst_identity_get_property),
11808 (gst_identity_change_state):
11809 * gst/elements/gstidentity.h:
11810 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11811 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
11812 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
11813 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
11814 (gst_tee_sink_activate):
11815 * gst/elements/gsttee.h:
11816 * gst/gst.c: (gst_register_core_elements), (init_post):
11818 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
11819 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
11820 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
11821 (gst_bin_change_state):
11823 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
11824 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
11825 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
11826 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
11827 (gst_bus_set_sync_handler), (gst_bus_create_watch),
11828 (bus_watch_callback), (bus_watch_destroy),
11829 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
11830 (poll_timeout), (gst_bus_poll):
11834 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
11835 (gst_element_post_message), (gst_element_message_full),
11836 (gst_element_get_state_func), (gst_element_get_state),
11837 (gst_element_abort_state), (gst_element_commit_state),
11838 (gst_element_lost_state), (gst_element_set_state),
11839 (gst_element_pads_activate), (gst_element_change_state),
11840 (gst_element_dispose), (gst_element_set_manager_func),
11841 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
11842 (gst_element_set_manager), (gst_element_get_manager),
11843 (gst_element_set_bus), (gst_element_get_bus),
11844 (gst_element_set_scheduler), (gst_element_get_scheduler):
11845 * gst/gstelement.h:
11846 * gst/gstevent.c: (gst_event_new_segment_seek),
11847 (gst_event_new_flush):
11849 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
11850 (_gst_message_free), (gst_message_get_type), (gst_message_new),
11851 (gst_message_new_eos), (gst_message_new_error),
11852 (gst_message_new_warning), (gst_message_new_tag),
11853 (gst_message_new_state_changed), (gst_message_new_application),
11854 (gst_message_get_structure), (gst_message_parse_tag),
11855 (gst_message_parse_state_changed), (gst_message_parse_error),
11856 (gst_message_parse_warning):
11857 * gst/gstmessage.h:
11858 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
11859 (gst_real_pad_set_property), (gst_pad_set_active),
11860 (gst_pad_is_active), (gst_pad_set_blocked_async),
11861 (gst_pad_set_blocked), (gst_pad_is_blocked),
11862 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
11863 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
11864 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
11865 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
11866 (gst_pad_link_filtered), (gst_pad_relink_filtered),
11867 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
11868 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
11869 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
11870 (gst_pad_set_caps), (gst_pad_configure_sink),
11871 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
11872 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
11873 (gst_real_pad_dispose), (gst_real_pad_finalize),
11874 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
11875 (gst_pad_event_default_dispatch), (gst_pad_event_default),
11876 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
11878 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
11879 (pipeline_bus_handler), (gst_pipeline_change_state),
11880 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
11881 * gst/gstpipeline.h:
11883 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
11884 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
11885 (gst_queue_link_src), (gst_queue_bufferalloc),
11886 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
11887 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
11888 (gst_queue_loop), (gst_queue_handle_src_event),
11889 (gst_queue_handle_src_query), (gst_queue_src_activate),
11890 (gst_queue_change_state):
11892 * gst/gstscheduler.c: (gst_scheduler_init),
11893 (gst_scheduler_dispose), (gst_scheduler_create_task),
11894 (gst_scheduler_factory_create):
11895 * gst/gstscheduler.h:
11896 * gst/gststructure.c: (gst_structure_get_type),
11897 (gst_structure_copy_conditional):
11898 * gst/gststructure.h:
11899 * gst/gsttaginterface.h:
11900 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
11901 (gst_task_init), (gst_task_dispose), (gst_task_create),
11902 (gst_task_get_state), (gst_task_start), (gst_task_stop),
11908 * gst/schedulers/Makefile.am:
11909 * gst/schedulers/cothreads_compat.h:
11910 * gst/schedulers/entryscheduler.c:
11911 * gst/schedulers/faircothreads.c:
11912 * gst/schedulers/faircothreads.h:
11913 * gst/schedulers/fairscheduler.c:
11914 * gst/schedulers/gstbasicscheduler.c:
11915 * gst/schedulers/gstoptimalscheduler.c:
11916 * gst/schedulers/gthread-cothreads.h:
11917 * gst/schedulers/threadscheduler.c:
11918 (gst_thread_scheduler_task_get_type),
11919 (gst_thread_scheduler_task_class_init),
11920 (gst_thread_scheduler_task_init),
11921 (gst_thread_scheduler_task_start),
11922 (gst_thread_scheduler_task_stop),
11923 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
11924 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
11925 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
11926 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
11928 * libs/gst/Makefile.am:
11929 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
11930 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
11931 (gst_file_pad_parent_set):
11932 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
11933 (gst_dp_event_from_packet):
11934 * tests/complexity.c: (main):
11935 * tests/mass_elements.c: (main):
11936 * testsuite/states/locked.c: (message_received), (main):
11937 * testsuite/states/parent.c: (main):
11938 * tools/gst-inspect.c: (print_element_flag_info),
11939 (print_implementation_info), (print_pad_info):
11940 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
11942 * tools/gst-md5sum.c: (event_loop), (main):
11943 * tools/gst-typefind.c: (main):
11944 * tools/gst-xmlinspect.c: (print_element_info):
11946 Added GstBus for mainloop integration.
11947 Added GstMessage for sending notifications on the bus.
11948 Added GstTask as an abstraction for pipeline entry points.
11950 Removed Schedulers.
11951 Simplified GstQueue for multithreaded core.
11952 Made _link threadsafe, removed old capsnego.
11953 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
11954 Added pad blocking functions.
11955 Reworked scheduling functions in GstPad to prepare for
11956 scheduling updates soon.
11957 Moved events out of data stream.
11958 Simplified GstEvent types.
11959 Added return values to push/pull.
11960 Removed clocking from GstElement.
11961 Added prototypes for state change function for next merge.
11962 Removed iterate from bins and state change management.
11963 Fixed some elements, disabled others for now.
11964 Fixed -inspect and -launch.
11965 Added check for GstBus.
11967 2005-03-10 Wim Taymans <wim@fluendo.com>
11969 * docs/design/part-MT-refcounting.txt:
11970 * docs/design/part-clocks.txt:
11971 * docs/design/part-gstelement.txt:
11972 * docs/design/part-gstobject.txt:
11973 * docs/design/part-standards.txt:
11974 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
11975 (gst_bin_remove_func), (gst_bin_remove):
11979 * testsuite/clock/clock1.c: (main):
11980 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
11982 * testsuite/dlopen/loadgst.c: (do_test):
11983 * testsuite/refcounting/bin.c: (add_remove_test1),
11984 (add_remove_test2), (main):
11985 * testsuite/refcounting/element.c: (main):
11986 * testsuite/refcounting/element_pad.c: (main):
11987 * testsuite/refcounting/pad.c: (main):
11988 * tools/gst-launch.c: (sigint_handler_sighandler):
11989 * tools/gst-typefind.c: (main):
11991 Added doc about clock.
11992 removed gst_bin_iterate_recurse_up(), marked methods
11994 Fix more testsuites.
11996 2005-03-09 Wim Taymans <wim@fluendo.com>
11998 * gst/gstpad.c: (gst_pad_get_direction),
11999 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
12000 (gst_pad_collect_valist):
12001 * testsuite/bins/interface.c: (main):
12002 * testsuite/caps/audioscale.c: (test_caps):
12003 * testsuite/caps/caps.c: (test1), (test2), (test3):
12004 * testsuite/caps/deserialize.c: (main):
12005 * testsuite/caps/enumcaps.c: (main):
12006 * testsuite/caps/filtercaps.c: (main):
12007 * testsuite/caps/intersect2.c: (main):
12008 * testsuite/caps/random.c: (main):
12009 * testsuite/caps/renegotiate.c: (my_fixate), (main):
12010 * testsuite/caps/sets.c: (check_caps):
12011 * testsuite/caps/simplify.c: (check_caps), (main):
12012 * testsuite/caps/subtract.c: (check_caps):
12013 Fix _pad_get_direction wrt ghostpads.
12014 Fix caps testsuite.
12016 2005-03-09 Wim Taymans <wim@fluendo.com>
12018 * check/Makefile.am:
12019 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
12020 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
12021 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
12022 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
12023 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
12024 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
12025 (gst_bin_remove), (gst_bin_iterate_recurse_up),
12026 (bin_element_is_sink), (gst_bin_iterate_sinks),
12027 (gst_bin_iterate_all_by_interface):
12029 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
12030 (gst_element_change_state), (gst_element_dispose),
12031 (gst_element_finalize), (gst_element_set_loop_function):
12032 * gst/gstelement.h:
12033 * gst/gstiterator.c: (find_custom_fold_func):
12034 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12035 (gst_pad_collectv), (gst_pad_collect_valist),
12036 (gst_pad_template_new):
12037 * gst/gstpipeline.c: (gst_pipeline_class_init),
12038 (gst_pipeline_dispose), (gst_pipeline_set_property),
12039 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
12040 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
12041 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
12043 * gst/schedulers/entryscheduler.c:
12044 * gst/schedulers/gstbasicscheduler.c:
12045 (gst_basic_scheduler_cothreaded_chain),
12046 (gst_basic_scheduler_chain_add_element):
12047 * testsuite/bins/interface.c: (main):
12049 Added GstSystemClock test.
12050 Implemented clock distribution code in GstBin.
12051 Implemented iterate sinks method for future use.
12052 Rearranged gstelement.h
12053 Fix GstIterator comparison bug.
12054 Moved some code to GstPipeline, mostly clocking related.
12056 2005-03-09 Wim Taymans <wim@fluendo.com>
12059 * gst/gst_private.h:
12060 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12061 (gst_bin_remove_func), (gst_bin_remove),
12062 (gst_bin_get_by_name_recurse_up):
12063 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
12064 (gst_clock_id_compare_func), (gst_clock_id_wait),
12065 (gst_clock_id_wait_async), (gst_clock_init),
12066 (gst_clock_adjust_unlocked), (gst_clock_get_time):
12067 * gst/gstelement.h:
12068 * gst/gstinfo.c: (_gst_debug_init):
12070 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12071 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
12073 Bump version number, we're now 0.9.0
12074 Add future debugging category.
12075 Fix NULL _unref() in _get_by_name_recurse_up
12076 Rearrange gstpad.h.
12079 2005-03-08 Wim Taymans <wim@fluendo.com>
12081 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
12082 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
12083 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
12084 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
12085 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
12086 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
12087 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
12088 * gst/elements/gstidentity.c: (gst_identity_class_init):
12089 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
12090 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
12091 * gst/elements/gstshaper.c: (gst_shaper_class_init):
12092 * gst/elements/gststatistics.c: (gst_statistics_class_init):
12093 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
12095 * gst/gstelement.c: (gst_element_class_init),
12096 (gst_element_base_class_init), (gst_element_init),
12097 (gst_element_get_random_pad), (gst_element_wait_state_change),
12098 (gst_element_change_state), (gst_element_dispose),
12099 (gst_element_finalize), (gst_element_set_loop_function):
12100 * gst/gstelement.h:
12101 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
12102 * gst/gstthread.c: (gst_thread_class_init),
12103 (gst_thread_release_children_locks), (gst_thread_change_state):
12104 * gst/schedulers/gstbasicscheduler.c:
12105 (gst_basic_scheduler_loopfunc_wrapper),
12106 (gst_basic_scheduler_chain_wrapper),
12107 (gst_basic_scheduler_src_wrapper),
12108 (gst_basic_scheduler_remove_element):
12109 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
12110 Remove threadsafe properties. Fix elements because GObject
12111 complains when installing a property before declaring a
12112 set/get_property handler.
12113 Rearrange gstelement.h file, use STATE macros for state locks.
12114 Free mutexes in the finalize method instead of dispose.
12116 2005-03-08 Wim Taymans <wim@fluendo.com>
12118 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
12119 * gst/gstthread.c: (gst_thread_release_children_locks):
12120 Added parentage check.
12121 Fix build og GstThread again.
12123 2005-03-08 Wim Taymans <wim@fluendo.com>
12125 * docs/design/part-MT-refcounting.txt:
12126 * docs/design/part-conventions.txt:
12127 * docs/design/part-gstobject.txt:
12128 * docs/design/part-relations.txt:
12129 * docs/design/part-standards.txt:
12130 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12131 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
12132 (gst_bin_get_by_name), (gst_bin_get_by_interface),
12133 (gst_bin_iterate_all_by_interface):
12136 * gst/gstelement.c: (gst_element_class_init),
12137 (gst_element_change_state), (gst_element_set_loop_function):
12138 * gst/gstelement.h:
12139 * gst/gstiterator.c:
12140 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
12141 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
12142 (gst_object_dispatch_properties_changed), (gst_object_set_name),
12143 (gst_object_set_parent), (gst_object_unparent),
12144 (gst_object_check_uniqueness):
12146 Docs updates, clean up some headers.
12148 2005-03-07 Wim Taymans <wim@fluendo.com>
12150 * check/.cvsignore:
12151 * check/Makefile.am:
12152 * check/gst-libs/.cvsignore:
12153 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
12154 * check/gst/.cvsignore:
12155 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
12156 (START_TEST), (gstbus_suite), (main):
12157 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
12158 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
12159 (gst_data_suite), (main):
12160 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
12161 (add_fold_func), (gstiterator_suite), (main):
12162 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
12163 (thread_name_object), (thread_name_object_default),
12164 (gst_object_name_compare), (gst_object_suite), (main):
12165 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
12166 (gst_pad_suite), (main):
12167 * check/gstcheck.c: (gst_check_log_message_func),
12168 (gst_check_log_critical_func), (gst_check_init):
12169 * check/gstcheck.h:
12170 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
12171 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
12174 2005-03-07 Wim Taymans <wim@fluendo.com>
12176 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
12177 (gst_list_iterator_next), (gst_list_iterator_resync),
12178 (gst_list_iterator_free), (gst_iterator_new_list),
12179 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
12180 (gst_iterator_free), (gst_iterator_push), (filter_next),
12181 (filter_resync), (filter_uninit), (filter_free),
12182 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
12183 (gst_iterator_foreach), (find_custom_fold_func),
12184 (gst_iterator_find_custom):
12185 * gst/gstiterator.h:
12186 Added missing files.
12188 2005-03-07 Wim Taymans <wim@fluendo.com>
12192 * docs/design/part-MT-refcounting.txt:
12193 * docs/design/part-conventions.txt:
12194 * docs/design/part-gstobject.txt:
12195 * docs/design/part-relations.txt:
12196 * examples/mixer/mixer.c: (main):
12197 * examples/thread/thread.c: (eos), (main):
12199 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
12200 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
12201 (gst_spider_plug_from_srcpad):
12202 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
12203 (gst_spider_identity_change_state),
12204 (gst_spider_identity_sink_loop_type_finding):
12205 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
12206 * gst/elements/gstidentity.c: (gst_identity_init):
12207 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
12208 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
12209 * gst/elements/gsttypefindelement.c: (free_entry):
12212 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
12213 (gst_bin_set_clock_func), (gst_bin_auto_clock),
12214 (gst_bin_set_index), (gst_bin_set_element_sched),
12215 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
12216 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
12217 (gst_bin_iterate_elements), (iterate_child_recurse),
12218 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
12219 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
12220 (compare_interface), (gst_bin_get_by_interface),
12221 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
12223 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
12224 (gst_buffer_default_free), (gst_buffer_default_copy),
12225 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
12226 (gst_buffer_create_sub):
12228 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
12229 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
12230 (gst_caps_unref), (gst_static_caps_get),
12231 (gst_caps_remove_and_get_structure), (gst_caps_append),
12232 (gst_caps_append_structure), (gst_caps_remove_structure),
12233 (gst_caps_copy_nth), (gst_caps_set_simple),
12234 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
12235 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
12236 (gst_caps_structure_intersect_field), (gst_caps_intersect),
12237 (gst_caps_structure_subtract_field), (gst_caps_subtract),
12238 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
12239 (gst_caps_structure_figure_out_union),
12240 (gst_caps_switch_structures), (gst_caps_do_simplify),
12241 (gst_caps_replace), (gst_caps_from_string),
12242 (gst_caps_copy_conditional):
12244 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
12245 (_gst_clock_id_free), (gst_clock_id_unref),
12246 (gst_clock_id_compare_func), (gst_clock_id_wait),
12247 (gst_clock_id_wait_async), (gst_clock_class_init),
12248 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
12249 (gst_clock_get_time), (gst_clock_set_time_adjust),
12250 (gst_clock_set_property), (gst_clock_get_property):
12253 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
12254 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
12256 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
12257 (gst_element_requires_clock), (gst_element_provides_clock),
12258 (gst_element_set_clock), (gst_element_clock_wait),
12259 (gst_element_wait), (gst_element_set_time_delay),
12260 (gst_element_is_indexable), (gst_element_add_pad),
12261 (gst_element_add_ghost_pad), (gst_element_remove_pad),
12262 (pad_compare_name), (gst_element_get_static_pad),
12263 (gst_element_request_pad), (gst_element_get_request_pad),
12264 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
12265 (gst_element_class_get_pad_template_list),
12266 (gst_element_class_get_pad_template), (gst_element_error_func),
12267 (gst_element_get_random_pad), (gst_element_get_event_masks),
12268 (gst_element_send_event), (gst_element_seek),
12269 (gst_element_get_query_types), (gst_element_query),
12270 (gst_element_get_formats), (gst_element_convert),
12271 (gst_element_is_locked_state), (gst_element_set_locked_state),
12272 (gst_element_sync_state_with_parent), (gst_element_change_state),
12273 (gst_element_finalize), (gst_element_yield),
12274 (gst_element_interrupt), (gst_element_set_scheduler),
12275 (gst_element_get_scheduler), (gst_element_set_loop_function):
12276 * gst/gstelement.h:
12278 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
12279 (gst_format_get_by_nick), (gst_format_get_details),
12280 (gst_format_iterate_definitions):
12282 * gst/gstindex.c: (gst_index_gtype_resolver):
12285 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
12286 (gst_mem_chunk_free):
12287 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
12288 (gst_object_ref), (gst_object_unref), (gst_object_sink),
12289 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
12290 (gst_object_dispatch_properties_changed),
12291 (gst_object_set_name_default), (gst_object_set_name),
12292 (gst_object_get_name), (gst_object_set_name_prefix),
12293 (gst_object_get_name_prefix), (gst_object_set_parent),
12294 (gst_object_get_parent), (gst_object_unparent),
12295 (gst_object_check_uniqueness), (gst_object_save_thyself),
12296 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
12297 (gst_object_set_property), (gst_object_get_property),
12298 (gst_object_get_path_string):
12300 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
12301 (gst_real_pad_init), (gst_real_pad_get_property),
12302 (gst_pad_custom_new), (gst_pad_get_direction),
12303 (gst_pad_set_active), (gst_pad_is_active),
12304 (gst_pad_set_event_function), (gst_pad_is_linked),
12305 (gst_pad_link_free), (gst_pad_link_intersect),
12306 (gst_pad_link_fixate), (gst_pad_set_caps),
12307 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
12308 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
12309 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
12310 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
12311 (gst_pad_get_caps), (gst_pad_peer_get_caps),
12312 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
12313 (gst_pad_realize), (gst_pad_get_allowed_caps),
12314 (gst_real_pad_dispose), (gst_real_pad_finalize),
12315 (gst_pad_collectv), (gst_pad_collect_valist),
12316 (gst_pad_template_dispose), (gst_pad_template_new),
12317 (gst_pad_get_internal_links):
12319 * gst/gstpipeline.c: (gst_pipeline_dispose),
12320 (gst_pipeline_change_state):
12321 * gst/gstpipeline.h:
12323 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
12324 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
12325 * gst/gstpluginfeature.h:
12326 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
12327 * gst/gstquery.c: (_gst_query_type_initialize),
12328 (gst_query_type_register), (gst_query_type_get_by_nick),
12329 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
12331 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
12332 * gst/gstscheduler.c: (gst_scheduler_add_element),
12333 (gst_scheduler_factory_create):
12334 * gst/gststructure.c: (gst_structure_set_parent_refcount),
12335 (gst_structure_free), (gst_structure_set_name),
12336 (gst_structure_id_set_value), (gst_structure_set_value),
12337 (gst_structure_set_valist), (gst_structure_remove_field),
12338 (gst_structure_remove_fields),
12339 (gst_structure_remove_fields_valist),
12340 (gst_structure_remove_all_fields), (gst_structure_foreach),
12341 (gst_structure_map_in_place),
12342 (gst_caps_structure_fixate_field_nearest_int),
12343 (gst_caps_structure_fixate_field_nearest_double):
12344 * gst/gststructure.h:
12345 * gst/gstsystemclock.c: (gst_system_clock_class_init),
12346 (gst_system_clock_init), (gst_system_clock_dispose),
12347 (gst_system_clock_async_thread),
12348 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
12349 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
12350 * gst/gstsystemclock.h:
12351 * gst/gsttag.c: (gst_tag_list_add_value_internal),
12352 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
12353 * gst/gsttaginterface.c:
12354 * gst/gstthread.c: (gst_thread_dispose),
12355 (gst_thread_release_children_locks), (gst_thread_change_state),
12356 (gst_thread_main_loop):
12357 * gst/gsttrashstack.h:
12358 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
12360 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
12361 (gst_element_request_pad), (gst_element_get_pad_from_template),
12362 (gst_element_request_compatible_pad),
12363 (gst_element_get_compatible_pad_filtered),
12364 (gst_element_get_compatible_pad), (gst_element_state_get_name),
12365 (gst_element_link_pads_filtered), (gst_element_link_filtered),
12366 (gst_element_link_many), (gst_element_link),
12367 (gst_element_link_pads), (gst_element_unlink_pads),
12368 (gst_element_unlink_many), (gst_element_unlink),
12369 (gst_pad_can_link_filtered), (gst_pad_can_link),
12370 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
12371 (gst_object_default_error), (gst_bin_add_many),
12372 (gst_bin_remove_many), (gst_element_populate_std_props),
12373 (gst_element_class_install_std_props), (gst_buffer_merge),
12374 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
12375 (link_fold_func), (gst_pad_proxy_setcaps):
12377 * gst/gstvalue.c: (gst_value_deserialize_string):
12378 * gst/parse/grammar.y:
12379 * gst/schedulers/gstbasicscheduler.c:
12380 (gst_basic_scheduler_cothreaded_chain),
12381 (gst_basic_scheduler_chain_recursive_add),
12382 (gst_basic_scheduler_pad_link):
12383 * gst/schedulers/gstoptimalscheduler.c:
12384 (get_group_schedule_function),
12385 (gst_opt_scheduler_state_transition),
12386 (gst_opt_scheduler_add_element), (element_get_reachables_func):
12387 * libs/gst/bytestream/bytestream.c:
12388 * libs/gst/dataprotocol/dataprotocol.c:
12389 (gst_dp_header_from_buffer):
12392 * tests/threadstate/threadstate2.c: (eos):
12393 * tools/gst-compprep.c: (main):
12394 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
12395 (print_pad_info), (print_children_info):
12396 * tools/gst-launch.c: (idle_func), (main):
12397 * tools/gst-md5sum.c: (idle_func), (main):
12398 * tools/gst-xmlinspect.c: (print_element_info):
12399 First THREADED backport attempt, focusing on adding locks and
12400 making sure the API is threadsafe. Needs more work. More docs
12403 2005-02-24 Andy Wingo <wingo@pobox.com>
12405 * tests/bench-complexity.scm:
12406 * tests/complexity.gnuplot: New files, good for running complexity
12409 * tests/Makefile.am:
12410 * tests/complexity.c: New test, sets up N elements, at each level
12411 teeing into M streams per element. Eeeenteresting.
12413 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
12414 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
12415 running bench-mass_elements.scm.
12417 * tests/bench-mass_elements.scm: New script, runs mass_elements
12418 for various numbers of identities, outputting the results to a
12419 file. Requires guile 1.6. Just for testing.
12421 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
12423 * gst/schedulers/fairscheduler.c:
12424 compile with debug disabled
12426 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
12429 hunting season on 0.9 is now OPEN