1 2005-11-29 Andy Wingo <wingo@pobox.com>
3 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
5 * gst/gststructure.h (struct _GstStructure): Only one pointer of
8 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
10 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
12 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
14 * gst/gstobject.h: (struct _GstObject): Only one pointer of
15 padding; reduces object size by about 30%. We don't expect
16 anything else to go into gstobject.
18 * gst/gstminiobject.h (struct _GstMiniObject)
19 (struct _GstMiniObjectClass): Only one pointer of padding; the
20 payload is only a pointer and two ints anyway. For the class there
21 are only two methods as well.
23 * gst/gstelement.h (struct _GstElementClass): Removed
24 the state_changed signal callback, it is not used.
26 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
28 * docs/gst/gstreamer.types:
29 fix includes, though they are a little dinky
31 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
34 look in the right place for elements, a lot more chance of
37 remove indexers and elements subdirs
38 * plugins/Makefile.am:
39 make indexers conditional
41 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
45 * plugins/elements/Makefile.am:
46 * plugins/elements/gstcapsfilter.c:
47 * plugins/elements/gstfilesink.c:
48 * plugins/elements/gstfilesrc.c:
49 * plugins/elements/gstidentity.c:
50 * plugins/indexers/Makefile.am:
51 do CVS surgery and related build fixery to move elements
52 and indexers in a new gstreamer/plugins directory, out of the
55 2005-11-29 Andy Wingo <wingo@pobox.com>
58 * pkgconfig/gstreamer-net-uninstalled.pc.in:
59 * pkgconfig/gstreamer-net.pc.in:
60 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
63 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
66 * tools/gst-complete.1.in:
67 * tools/gst-complete.c:
68 * tools/gst-compprep.1.in:
69 * tools/gst-compprep.c:
70 removing -compprep and -complete
72 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
74 * gst/gstevent.c: (gst_event_new_new_segment),
75 (gst_event_parse_new_segment):
77 fix #320529 - clean up new_segment API and structure.
78 Let's hope everyone was using the methods, and not the structure.
80 2005-11-29 Edward Hervey <edward@fluendo.com>
82 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
83 (gst_base_sink_event), (gst_base_sink_do_sync),
84 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
85 Properly handle non GST_FORMAT_TIME segment
86 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
87 Properly handle non GST_FORMAT_TIME segment
89 This function is valid if the accumulator is 0 and the format
90 is different from the requested format.
92 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
94 * docs/gst/gstreamer-sections.txt:
95 Add gst_query_new_seeking and gst_query_parse_seeking to the
98 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
100 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
101 Treat a pad alloc with new caps the same as if we were not
102 negotiated, in order to allow a changing upstream output
103 to produce a new format of data.
105 2005-11-29 Edward Hervey <edward@fluendo.com>
107 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
108 (gst_base_transform_event), (gst_base_transform_eventfunc):
109 The event virtual method is now properly implemented, with a default
111 Sub classes should call the parent_class event method. They should
112 return FALSE if they had a problem handling the given event, or don't
113 want GstBaseTransform to send that even downstream
114 * gst/elements/gstidentity.c: (gst_identity_class_init),
115 (gst_identity_init), (gst_identity_event),
116 (gst_identity_transform_ip), (gst_identity_set_property),
117 (gst_identity_get_property):
118 * gst/elements/gstidentity.h:
119 Added the single-segment boolean property.
120 If set to TRUE, it will output a single segment of data, starting from
121 0, will eat up all incoming newsegment, and modify the timestamp of the
124 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
126 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
127 Don't ref NULL target pad (#322751). Improve docs.
129 2005-11-29 Michael Smith <msmith@fluendo.com>
131 * gst/gstregistryxml.c: (load_plugin):
132 Don't crash if we failed to load a feature from a plugin.
134 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
136 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
138 use more check API and less GLib API
140 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
143 don't run checks if we don't have check
145 remove the registry when running make torture
146 * docs/gst/gstreamer-sections.txt:
147 remove second multiply
148 * gst/gstqueue.c: (gst_queue_loop):
149 fix a compile warning when disabling debug
151 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
154 Hey! Let's print the pad name if the pointer != NULL instead
155 of when it == NULL :-)
157 2005-11-28 Wim Taymans <wim@fluendo.com>
159 * check/gst/gstutils.c: (GST_START_TEST):
160 Updated check, add some scaling accuracy checking code.
162 * gst/gstutils.c: (gst_util_div128_64),
163 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
164 (gst_util_uint64_scale_int):
165 Fix 6 times faster division code. Optimize for common
166 1/1 and less common X/1 cases.
168 2005-11-28 Wim Taymans <wim@fluendo.com>
170 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
173 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
174 (do_linear_regression), (gst_clock_add_observation):
176 Release lock when the clock cannot be slaved.
177 Catch the case where the regression returned an invalid denominator.
179 * gst/gstutils.c: (gst_util_div128_64_iterate),
180 (gst_util_div128_64), (gst_util_uint64_scale_int64),
181 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
182 Add protentially more performant non-iterative 128/64 divide function
183 that unfortunatly does not work yet.
184 Shortcut the trivial 0/X = 0 case.
185 Remove the warnings on overflow.
187 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
189 * gst/gstplugin.c: (gst_plugin_register_func):
190 everything causing a plugin not to load should be at least a WARNING
192 2005-11-28 Stefan Kost <ensonic@users.sf.net>
194 * docs/random/ensonic/dparams.txt:
195 some TODOs for the next dev cycle
196 * libs/gst/controller/gstcontroller.c:
197 (gst_controlled_property_set_interpolation_mode),
198 (gst_controlled_property_new):
199 * libs/gst/controller/gstcontroller.h:
200 use base type to assign acccessor functions
202 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
205 Oops, that should have been top_srcdir
207 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
210 * check/elements/fdsrc.c: (GST_START_TEST):
211 Use a cmdline define to specify the location of a file to use for
212 testing, to avoid breaking distcheck.
214 2005-11-28 Andy Wingo <wingo@pobox.com>
216 * gst/gstpad.c (fixate_value): Use array functions for arrays.
218 2005-11-28 Edward Hervey <edward@fluendo.com>
220 * tools/gst-launch.c: (main):
221 Clarify the output strings, makes it easier to translate.
224 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
227 don't try and build net if we don't even have <sys/socket.h>
229 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
232 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
233 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
234 Add tests for fdsrc seekability
236 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
237 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
238 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
239 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
240 * gst/elements/gstfdsrc.h:
241 fdsrc should not be a 'live' source.
242 Implement seeking on seekable fd's.
244 * gst/gstquery.c: (gst_query_new_seeking),
245 (gst_query_parse_seeking):
247 Implement SEEKING query functions:
248 *_new_seeking and *_parse_seeking
250 2005-11-27 Stefan Kost <ensonic@users.sf.net>
252 * gst/gstelement.c: (gst_element_dispose):
256 * gst/gststructure.c:
259 * libs/gst/controller/gstcontroller.c:
260 (gst_controlled_property_set_interpolation_mode):
261 * libs/gst/controller/gstcontroller.h:
262 * libs/gst/controller/gstinterpolation.c:
263 (interpolate_none_get_enum_value_array):
264 support controlling enums
266 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
269 Improve documentation for gst_value_union().
272 Change return value for union, intersect and subtract functions
273 from gint to gboolean.
275 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
277 * gst/gstvalue.c: (gst_value_serialize_any_list),
278 (gst_value_transform_any_list_string),
279 (gst_value_deserialize_list), (gst_value_deserialize_array),
280 (gst_value_set_int_range), (gst_value_deserialize_int_range),
281 (gst_value_set_double_range), (gst_value_deserialize_double_range),
282 (gst_value_set_fraction_range_full),
283 (gst_value_deserialize_fraction_range),
284 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
285 (gst_value_deserialize_boolean),
286 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
287 (gst_value_serialize_float), (gst_value_deserialize_float),
288 (gst_string_wrap), (gst_value_deserialize_string),
289 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
290 (gst_value_union_int_range_int_range),
291 (gst_value_intersect_int_range_int_range),
292 (gst_value_intersect_double_range_double_range),
293 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
294 (gst_value_subtract_int_range_int_range),
295 (gst_value_subtract_double_double_range),
296 (gst_value_subtract_double_range_double_range),
297 (gst_value_deserialize_fraction):
299 Use gint, gdouble and gchar in our API instead of int, double and
300 char (and make usage in gstvalue.c more consistent).
302 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
305 * libs/gst/controller/Makefile.am:
306 * libs/gst/dataprotocol/Makefile.am:
307 fix up Makefile.am and remove GST_ENABLE_NEW
309 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
313 * gst/base/Makefile.am:
314 * gst/check/Makefile.am:
315 * gst/elements/Makefile.am:
316 * gst/net/Makefile.am:
317 update LDFLAGS use some more
319 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
321 * common/m4/gst-doc.m4:
324 2005-11-26 Edward Hervey <edward@fluendo.com>
326 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
327 This shouldn't issue a g_warning since it returns NULL if it
328 couldn't find the plugin, and all functions using this behave
329 properly on a NULL return. Switching to a GST_WARNING.
331 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
333 * gst/gstbin.c: (gst_bin_handle_message_func):
334 Don't leak clock messages.
336 2005-11-25 Wim Taymans <wim@fluendo.com>
338 * gst/gstutils.c: (gst_util_uint64_scale_int64),
339 (gst_util_uint64_scale_int):
340 Optimisations, remove unneeded vars.
342 2005-11-25 Wim Taymans <wim@fluendo.com>
344 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
345 Added more checks for the high precision uint64 cases.
347 * gst/gstutils.c: (gst_util_uint64_scale_int64),
348 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
349 Implement high precission (guint64 * guint64) / guint64.
351 2005-11-24 Wim Taymans <wim@fluendo.com>
353 * gst/base/gstbasesrc.c: (gst_base_src_query):
354 Fix wrong percentage query.
356 * gst/gstutils.c: (gst_util_uint64_scale),
357 (gst_util_uint64_scale_int):
358 Add some more common cases that can be handled
359 efficiently to _scale.
361 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
363 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
364 (gst_mini_object_suite):
365 don't use check calls from threads; check probably isn't
366 threadsafe and using a lock to make it threadsafe would
367 defeat the purpose of this check
368 * gst/check/gstcheck.c:
369 * gst/check/gstcheck.h:
370 use GST_DEBUG some more
372 2005-11-24 Wim Taymans <wim@fluendo.com>
374 * gst/gstutils.c: (gst_util_uint64_scale),
375 (gst_util_uint64_scale_int):
376 Chain trivial case to _scale_int.
378 2005-11-24 Wim Taymans <wim@fluendo.com>
380 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
381 Added test for scaling.
386 * gst/gstutils.c: (gst_util_uint64_scale_int):
387 Implemented high precision scaling code.
389 2005-11-24 Stefan Kost <ensonic@users.sf.net>
392 do not crash on pad==NULL
394 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
396 Patch by: Stefan Kost
398 * common/gtk-doc.mak:
399 * docs/gst/Makefile.am:
400 * docs/libs/Makefile.am:
401 Fix distcheck issues for the libraries docs build
404 2005-11-24 Michael Smith <msmith@fluendo.com>
406 * docs/manual/basics-helloworld.xml:
407 Fix bug #315027: memory leak in example code in docs.
409 2005-11-24 Michael Smith <msmith@fluendo.com>
411 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
412 Unlock the PREROLL_LOCK in a failure case.
414 2005-11-24 Wim Taymans <wim@fluendo.com>
416 * docs/gst/gstreamer-sections.txt:
417 * gst/base/gstadapter.h:
418 * gst/base/gstbasesink.h:
419 * gst/base/gstbasesrc.h:
420 * gst/base/gstbasetransform.h:
421 * gst/base/gstpushsrc.h:
422 * gst/elements/gstfakesink.h:
423 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
424 * gst/elements/gstfakesrc.h:
425 * gst/elements/gstfilesink.h:
426 * gst/elements/gstfilesrc.h:
429 * gst/gstbuffer.c: (_gst_buffer_copy):
432 * gst/gstchildproxy.c:
435 * gst/gstelementfactory.c:
436 * gst/gstelementfactory.h:
440 * gst/gstinterface.h:
441 * gst/gstminiobject.c:
442 * gst/gstminiobject.h:
445 * gst/gstpadtemplate.h:
447 * gst/gstpluginfeature.h:
452 * gst/gsttagsetter.c:
453 * gst/gsttagsetter.h:
459 * gst/net/gstnetclientclock.c:
460 * gst/net/gstnetclientclock.h:
461 * gst/net/gstnettimepacket.c:
462 * gst/net/gstnettimeprovider.c:
463 * gst/net/gstnettimeprovider.h:
466 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
468 * configure.ac: back to HEAD
470 === release 0.9.6 ===
472 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
475 releasing 0.9.6, "Always On Time"
477 2005-11-23 Wim Taymans <wim@fluendo.com>
479 * docs/gst/gstreamer-sections.txt:
481 * gst/gsttagsetter.c:
483 * gst/net/gstnetclientclock.c:
484 * gst/net/gstnettimepacket.h:
487 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
489 * docs/faq/using.xml:
490 * docs/libs/tmpl/gstcontrol.sgml:
491 * docs/manual/advanced-dparams.xml:
492 * docs/manual/appendix-checklist.xml:
493 * docs/manual/basics-elements.xml:
494 * docs/pwg/other-source.xml:
495 * docs/random/moving-plugins:
497 * tools/gst-launch.1.in:
498 remove mentions of sinesrc
500 2005-11-23 Michael Smith <msmith@fluendo.com>
502 * docs/gst/gstreamer-sections.txt:
503 Update for new API and API changes.
505 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
507 Documentation typo fix.
508 * gst/net/gstnettimepacket.c:
509 Documentation fixes for arguments.
511 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
513 * gst/gststructure.c: (gst_structure_get_fraction),
514 (gst_structure_parse_value),
515 (gst_structure_fixate_field_nearest_fraction):
516 * gst/gststructure.h:
517 * gst/gstutils.c: (gst_util_uint64_scale_int):
519 * scripts/update-funcnames:
521 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
522 Make gst_structure_fixate_field_nearest_fraction take a numerator
523 and denominator argument instead of a GValue
524 add gst_structure_get_fraction helper function.
526 2005-11-23 Wim Taymans <wim@fluendo.com>
528 * docs/design/part-TODO.txt:
531 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
532 * gst/net/gstnetclientclock.h:
533 Use parent fields for timeout and window_size.
535 2005-11-23 Andy Wingo <wingo@pobox.com>
537 * check/net/gstnetclientclock.c (test_functioning): Adjust to
538 rate_num/rate_denom change.
540 * gst/net/gstnetclientclock.c
541 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
542 OBJECT_LOCK. Don't call add_observation with the lock.
544 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
546 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
548 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
549 deal with rate as a fraction whose numerator and denominator are
551 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
552 master; the other fields are protected by the SLAVE_LOCK.
553 (do_linear_regression): Note that this must be called with the
555 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
556 OBJECT_LOCK. Call set_calibration instead of touching the
558 (gst_clock_set_property, gst_clock_get_property): Protect
559 master/slave parameters with the SLAVE_LOCK.
561 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
562 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
563 note that all of the instance variables that add_observation and
564 the set_master functions use are protected by that lock and not
566 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
568 * gst/gstclock.c (gst_clock_add_observation): No longer requires
569 the caller to take the object lock.
571 2005-11-23 Wim Taymans <wim@fluendo.com>
573 * gst/gsterror.c: (_gst_core_errors_init):
575 Add error for clock stuff.
577 * gst/gstpipeline.c: (gst_pipeline_change_state),
578 (gst_pipeline_set_clock):
579 Post clock error when clock cannot be used in a pipeline.
581 2005-11-23 Stefan Kost <ensonic@users.sf.net>
583 * docs/gst/gstreamer-sections.txt:
584 make two symbols from gstinfo private for the docs
585 * gst/base/gstcollectpads.h:
587 fix doc typos, update docs
589 2005-11-22 Wim Taymans <wim@fluendo.com>
591 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
592 (gst_base_sink_wait), (gst_base_sink_do_sync),
593 (gst_base_sink_handle_event):
594 * gst/base/gstbasesink.h:
595 No need to store the clock, the parent element class already
598 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
599 Updates for clock_set returning a gboolean
601 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
602 (gst_clock_id_wait_async), (gst_clock_class_init),
603 (gst_clock_init), (gst_clock_finalize),
604 (gst_clock_get_internal_time), (gst_clock_get_time),
605 (gst_clock_slave_callback), (gst_clock_set_master),
606 (gst_clock_get_master), (do_linear_regression),
607 (gst_clock_add_observation), (gst_clock_set_property),
608 (gst_clock_get_property):
610 Implement master/slave. When setting a clock as a slave, a
611 periodic timeout is scheduled to sample master and slave times.
612 Then the slave clock is recalibrated to match offset and rate
614 Update logging a bit.
615 Add flag so that a clock can state that is cannot be slaved to
618 * gst/gstelement.c: (gst_element_set_clock):
620 The set clock returns a gboolean for when an element cannot
621 deal with the selected clock in the pipeline.
623 * gst/gstpipeline.c: (gst_pipeline_change_state),
624 (gst_pipeline_set_clock):
626 Handle the case where the selected clock cannot be set on
629 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
630 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
631 (gst_net_client_clock_set_property),
632 (gst_net_client_clock_get_property),
633 (gst_net_client_clock_observe_times):
634 * gst/net/gstnetclientclock.h:
635 Use regression code in GstClock parent, remove duplicated
638 2005-11-22 Michael Smith <msmith@fluendo.com>
640 * gst/gstutils.c: (gst_util_clock_time_scale):
642 * docs/gst/gstreamer-sections.txt:
643 Rename method to have extra underscore.
645 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
647 * gst/elements/Makefile.am:
648 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
649 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
650 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
651 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
652 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
653 * gst/elements/gstfakesrc.h:
654 * gst/gstqueue.c: (queue_leaky_get_type):
655 correctly fix GEnumValues so that nick is the short lowercase
657 * tools/gst-inspect.c: (print_element_properties_info):
658 also show the nick, since it's useful to use from parse_launch
662 2005-11-22 Michael Smith <msmith@fluendo.com>
664 * gst/gstutils.c: (gst_util_clocktime_scale):
666 * docs/gst/gstreamer-sections.txt:
667 Add util method for scaling a clocktime by a fraction. Useful
668 implementation is left as an exercise for the reader.
670 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
672 * gst/gstvalue.c: (gst_value_collect_fraction_range):
673 If needed, allocate storage in the destination value during
676 2005-11-22 Edward Hervey <edward@fluendo.com>
678 * docs/gst/gstreamer-sections.txt:
683 * gst/gstutils.c: (gst_util_set_object_arg):
684 * tools/gst-compprep.c: (main):
685 * tools/gst-inspect.c: (print_element_properties_info):
686 Removed GstURI, closes bug #321061
688 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
690 * check/gst/gststructure.c: (GST_START_TEST):
691 * gst/gststructure.c: (gst_structure_parse_value):
692 Oops, broke automatic string type parsing.
693 Add a test to catch it in future.
695 2005-11-22 Andy Wingo <wingo@pobox.com>
697 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
698 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
699 Actually rename the function implementations. Grr.
701 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
703 * check/gst/capslist.h:
705 * check/gst/gststructure.c: (GST_START_TEST),
706 (gst_structure_suite):
707 Test automatic value type detection in gst_structure_from_string.
708 * gst/gststructure.c: (gst_structure_parse_value):
709 Add fraction as a type we try and guess automatically in
710 caps/structure strings.
712 2005-11-22 Andy Wingo <wingo@pobox.com>
714 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
716 * gst/gsttagsetter.h:
717 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
718 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
719 (gst_tag_setter_add_tag_valist)
720 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
721 _add_values, _add_valist, and _add_valist_values. Since this is an
722 interface the function suffixes should be more explicit so
723 language binding don't end up with element.add_valist ->
724 gst_tag_setter_add_valist, for example. Fixes #322069.
726 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
728 * check/gst/gstcaps.c: (GST_START_TEST):
729 Extend caps string tests to check that a caps to string
730 conversion is reversible and produces the same caps.
732 * gst/gststructure.c: (gst_structure_value_get_generic_type):
733 Output "fraction" as the generic type fraction range, so caps
734 serialisation and deserialisation works.
735 * check/gst/capslist.h:
736 * gst/gstvalue.c: (gst_value_deserialize_fraction):
737 Support 'MIN' and 'MAX' for deserialising fractions.
739 2005-11-22 Andy Wingo <wingo@pobox.com>
741 * gst/gstevent.h (gst_event_new_new_segment)
742 (gst_event_parse_new_segment, gst_event_new_buffer_size)
743 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
744 Renamed from *_newsegment, *_buffersize, *_notarget.
746 * scripts/update-funcnames: New script, performs the changes
749 2005-11-22 Wim Taymans <wim@fluendo.com>
751 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
752 Make sure the GstFlowReturn is returned.
754 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
755 (gst_bus_add_signal_watch):
757 add gst_bus_add_signal_watch_full.
759 * gst/gstplugin.c: (gst_plugin_load_file):
762 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
764 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
765 Block the fakesrc srcpad when we send an event, to avoid
766 contention on the stream_lock causing random test failures.
768 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
770 * check/gst/gstvalue.c: (GST_START_TEST):
771 * gst/gstvalue.c: (gst_value_fraction_subtract):
774 2005-11-22 Stefan Kost <ensonic@users.sf.net>
777 include "gstchildproxy.h"
778 * gst/gstchildproxy.h:
779 * libs/gst/controller/gstcontroller.h:
780 use G_GNUC_NULL_TERMINATED
782 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
784 * check/gst/capslist.h:
785 * check/gst/gstcaps.c: (GST_START_TEST):
786 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
787 * gst/gststructure.c: (gst_structure_parse_range),
788 (gst_structure_fixate_field_nearest_fraction):
789 * gst/gststructure.h:
790 * gst/gstvalue.c: (gst_value_init_fraction_range),
791 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
792 (gst_value_collect_fraction_range),
793 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
794 (gst_value_set_fraction_range_full),
795 (gst_value_get_fraction_range_min),
796 (gst_value_get_fraction_range_max),
797 (gst_value_serialize_fraction_range),
798 (gst_value_transform_fraction_range_string),
799 (gst_value_compare_fraction_range),
800 (gst_value_deserialize_fraction_range),
801 (gst_value_intersect_fraction_fraction_range),
802 (gst_value_intersect_fraction_range_fraction_range),
803 (gst_value_subtract_fraction_fraction_range),
804 (gst_value_subtract_fraction_range_fraction),
805 (gst_value_subtract_fraction_range_fraction_range),
806 (gst_value_collect_fraction), (gst_value_fraction_multiply),
807 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
808 (gst_value_transform_string_fraction), (_gst_value_initialize):
810 Implement fraction ranges and extend GstFraction to support
811 arithmetic subtraction, as well as deserialization from integer
812 strings such as "100"
813 Add a testsuite as for int and double range set operations
815 2005-11-21 Andy Wingo <wingo@pobox.com>
819 * gst/gststructure.h: Add glib-compat.h.
821 2005-11-21 Wim Taymans <wim@fluendo.com>
823 * gst/gstbin.c: (gst_bin_change_state_func):
826 2005-11-21 Wim Taymans <wim@fluendo.com>
829 And add a nice define too.
831 2005-11-21 Wim Taymans <wim@fluendo.com>
833 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
834 (gst_segment_new), (gst_segment_free), (gst_segment_init),
835 (gst_segment_set_duration), (gst_segment_set_last_stop),
836 (gst_segment_set_seek), (gst_segment_set_newsegment),
837 (gst_segment_to_stream_time), (gst_segment_to_running_time),
840 Make binding friendly.
842 2005-11-21 Andy Wingo <wingo@pobox.com>
844 * gst/gsttagsetter.h:
846 * gst/gststructure.h:
848 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
851 * gst/gsterror.c (_gst_core_errors_init):
852 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
855 * gst/Makefile.am (gst_headers): Add glib-compat.h.
856 (noinst_HEADERS): noinst the -private.
858 2005-11-21 Michael Smith <msmith@fluendo.com>
862 Remove unimplemented declarations for which we can see no sensible
865 2005-11-21 Andy Wingo <wingo@pobox.com>
867 * gst/gst.h: Include glib-compat.h.
869 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
871 * gst/glib-compat.c: Include the public and the private header.
873 * gst/glib-compat-private.h: Copied here from glib-compat.h.
877 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
879 * check/gst/gstevent.c (create_custom_events): Check that
880 FLUSH_STOP is serialized.
882 * check/elements/identity.c (event_func):
883 * check/elements/fakesrc.c (event_func): No stream lock, the core
886 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
887 stream lock taking, yay.
889 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
890 ensure that core takes the stream lock.
892 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
895 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
896 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
897 it already. For the flush start we do take it though so we get the
898 right preroll state change messages.
900 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
901 the stream lock here, the core does it for us.
903 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
905 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
906 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
907 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
908 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
909 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
910 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
912 * gst/gstpad.c: Update for stream lock name change.
914 * gst/base/gstbasesink.c: Update for preroll lock name change.
916 2005-11-21 Wim Taymans <wim@fluendo.com>
918 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
919 (gst_clock_get_master):
921 * gst/gstsystemclock.c: (gst_system_clock_init):
922 Convert Clock flags to object flags.
923 Added methods to manage master/slave clocks.
925 2005-11-21 Wim Taymans <wim@fluendo.com>
927 * check/gst/gstsegment.c: (GST_START_TEST):
928 * docs/design/part-TODO.txt:
929 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
930 (gst_base_sink_event), (gst_base_sink_do_sync),
931 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
932 (gst_base_sink_query), (gst_base_sink_change_state):
933 * gst/base/gstbasesink.h:
934 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
935 (gst_base_src_default_newsegment),
936 (gst_base_src_configure_segment), (gst_base_src_do_seek),
937 (gst_base_src_get_range), (gst_base_src_loop),
938 (gst_base_src_change_state):
939 * gst/base/gstbasesrc.h:
940 * gst/base/gstbasetransform.c:
941 (gst_base_transform_prepare_output_buf),
942 (gst_base_transform_event), (gst_base_transform_change_state):
943 * gst/base/gstbasetransform.h:
944 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
945 (gst_collect_pads_event):
946 * gst/base/gstcollectpads.h:
947 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
948 (gst_fake_src_create):
949 * gst/elements/gstfakesrc.h:
950 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
951 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
952 (gst_segment_set_last_stop), (gst_segment_set_seek),
953 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
954 (gst_segment_to_running_time), (gst_segment_clip):
956 More segment updates, replace code in plugins with segment
959 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
961 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
962 Don't ignore sscanf results
964 2005-11-21 Andy Wingo <wingo@pobox.com>
966 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
969 * *.c: Ran scripts/update-macros. Oh yes.
971 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
972 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
975 * scripts/update-macros: New script. Run it on your files to
976 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
979 2005-11-21 Stefan Kost <ensonic@users.sf.net>
981 * docs/gst/Makefile.am:
982 * docs/gst/gstreamer-docs.sgml:
983 * docs/gst/gstreamer-sections.txt:
984 * docs/gst/gstreamer.types:
986 more docs fixes, add new api to the docs
988 2005-11-21 Andy Wingo <wingo@pobox.com>
990 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
991 state_broadcast call.
993 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
995 2005-11-21 Julien MOUTTE <julien@moutte.net>
997 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
998 function calls for arrays.
1000 2005-11-21 Stefan Kost <ensonic@users.sf.net>
1002 * docs/random/ensonic/media-device-daemon.txt:
1003 wild idea, can this be done?
1004 * docs/gst/gstreamer-sections.txt:
1009 * gst/gstpluginfeature.c:
1013 doc fixes and additions
1015 2005-11-21 Andy Wingo <wingo@pobox.com>
1017 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
1018 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
1019 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
1020 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
1021 private to the basesrc implementation.
1023 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
1024 behalf of event function if necessary. It should no longer be
1025 necessary to take the stream lock in pad's event functions. Fixes
1028 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
1029 * docs/gst/gstreamer-sections.txt:
1030 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
1031 (gst_structure_fixate_field_nearest_double),
1032 (gst_structure_fixate_field_boolean):
1033 * gst/gststructure.h:
1034 * win32/common/libgstreamer.def:
1035 * win32/gstreamer.def:
1037 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
1040 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
1042 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
1043 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
1044 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
1045 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
1046 (gst_fdsrc_uri_handler_init):
1047 * gst/elements/gstfdsrc.h:
1048 Port fd:// URI handler from 0.8 to fdsrc
1050 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1052 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
1053 (gst_value_serialize_fourcc):
1055 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
1056 consistent with our other format defines (#320324).
1058 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1060 * gst/gstvalue.c: (gst_value_is_fixed):
1061 Revert previous commit. Value lists are by definition
1062 not fixed, as they are a list of possible values.
1064 2005-11-21 Andy Wingo <wingo@pobox.com>
1066 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
1067 during the stable series if we need it. Fixes #319178.
1069 * gst/gstevent.c (gst_event_new_filler): Removed.
1071 * check/gst/gstevent.c: Update comment about filler events.
1073 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1075 * gst/gstvalue.c: (gst_value_is_fixed):
1076 Should handle both value arrays and value lists.
1078 2005-11-21 Andy Wingo <wingo@pobox.com>
1080 patch by: Alessandro Dessina <alessandro nnva org>
1082 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
1083 functions to access arrays. Fixes #321962.
1085 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1087 * docs/gst/gstreamer.types:
1088 gst_collectpads_get_type => gst_collect_pads_get_type.
1090 * gst/base/gstbasetransform.c:
1091 Remove unused SIGNAL_HANDOFF enum.
1093 2005-11-21 Andy Wingo <wingo@pobox.com>
1095 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
1096 the event type (upstream, downstream, serialized). Renamed
1097 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
1098 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
1099 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
1101 * gst/gstevent.c: Update for new CUSTOM event names.
1103 * check/gst/gstevent.c: Update check for new CUSTOM event names.
1106 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
1109 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1111 * docs/gst/gstreamer-sections.txt:
1112 * win32/common/libgstbase.def:
1113 * win32/libgstbase.def:
1114 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
1115 (gst_collect_pads_class_init), (gst_collect_pads_init),
1116 (gst_collect_pads_finalize), (gst_collect_pads_new),
1117 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
1118 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
1119 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
1120 (gst_collect_pads_start), (gst_collect_pads_stop),
1121 (gst_collect_pads_peek), (gst_collect_pads_pop),
1122 (gst_collect_pads_available), (gst_collect_pads_read),
1123 (gst_collect_pads_flush), (gst_collect_pads_event),
1124 (gst_collect_pads_chain):
1125 * gst/base/gstcollectpads.h:
1126 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
1127 unimplemented functions as unimplemented. Add padding to
1128 GstCollectData. (#320766, #320423)
1130 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1133 Improve docs for DURATION message (usage of duration parameter)
1136 2005-11-20 Wim Taymans <wim@fluendo.com>
1138 * check/Makefile.am:
1139 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
1143 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1144 (gst_segment_set_seek), (gst_segment_set_newsegment),
1145 (gst_segment_to_stream_time), (gst_segment_to_running_time),
1148 Added segment helper structure and methods. Not fully implemented
1150 Added segment check.
1152 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
1154 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1155 Add a deserialisation test for fractions
1156 * examples/metadata/read-metadata.c: (message_loop),
1157 (make_pipeline), (main):
1158 Fix up metadata reading sample.
1159 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1161 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1162 Don't try and fixate empty caps
1163 * gst/gst_private.h:
1164 Wrap in G_BEGIN_DECLS/G_END_DECLS
1165 * gst/gstvalue.c: (gst_value_collect_fraction),
1166 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
1167 (gst_value_transform_string_fraction),
1168 (gst_value_compare_fraction):
1169 Add some extra guards to ensure that we don't end up
1170 with an invalid denominator of 0 in a gstfraction and
1171 that fractions always get reduced.
1173 2005-11-20 Wim Taymans <wim@fluendo.com>
1175 * docs/gst/gstreamer-sections.txt:
1186 2005-11-20 Wim Taymans <wim@fluendo.com>
1188 * docs/design/part-TODO.txt:
1190 Make a proper enum of the flag.
1192 2005-11-19 Wim Taymans <wim@fluendo.com>
1194 * docs/design/part-TODO.txt:
1195 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
1196 (gst_format_to_quark), (gst_format_register):
1198 * gst/gstquery.c: (_gst_query_initialize),
1199 (gst_query_type_get_name), (gst_query_type_to_quark),
1200 (gst_query_type_register):
1202 Add type to quark and type to string conversions.
1204 2005-11-19 Andy Wingo <wingo@pobox.com>
1206 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
1209 2005-11-19 Wim Taymans <wim@fluendo.com>
1211 * docs/design/part-TODO.txt:
1212 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
1213 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
1214 (gst_bin_handle_message_func):
1216 Make message handling overridable.
1218 2005-11-19 Andy Wingo <wingo@pobox.com>
1220 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
1223 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
1225 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
1226 is a GstClockTime. Fixes #321710.
1228 * gst/gstclock.h (GstClock): Remove offset property. Add
1229 internal_calibration and external_calibration. Fix padding. Pad
1230 also by GstClockTime so we don't run into problems.
1232 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
1233 (gst_clock_get_rate_offset): Remove.
1234 (gst_clock_set_time_adjust): Remove. Fixes #321712.
1237 * gst/gstutils.c (g_static_rec_cond_wait)
1238 (g_static_rec_cond_timed_wait): Removed, no longer needed.
1240 * gst/gstbin.c: Remove terrible continue_state prototype.
1242 * gst/gstelement.h (gst_element_continue_state): Make public.
1245 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
1246 by continue_state. Fixes #319389.
1248 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
1249 Really fixes #168438. However I don't see anywhere where the
1250 filter function is called... stupid GStreamer...
1252 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
1253 don't have a dispose function, so it won't get called when the
1254 object is unreffed, but oh well!
1256 * gst/gstindex.c (gst_index_set_filter_full): New API function,
1257 allows a destroy function to be set so user_data can be freed.
1259 (gst_index_set_filter): Call gst_index_set_filter_full.
1261 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
1263 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
1264 string should produce an error, given the lack of a way to
1265 represent NULL strings. Fixes #165650.
1268 * gst/gstvalue.c (gst_value_array_append_value)
1269 (gst_value_array_prepend_value, gst_value_array_get_size)
1270 (gst_value_array_get_value): New API, copied from
1271 gst_value_list_*, only operates on arrays.
1272 (gst_value_list_append_value, gst_value_list_prepend_value)
1273 (gst_value_list_concat, gst_value_list_get_size)
1274 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
1276 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
1277 init_list, because it works on both.
1278 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
1279 (gst_value_copy_list_or_array): Renamed from copy_list.
1280 (gst_value_free_list_or_array): Renamed from free_list.
1281 (gst_value_collect_list_or_array): Renamed from collect_list.
1282 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
1283 (gst_value_list_or_array_peek_pointer): Renamed from
1285 (_gst_value_array_value_table, _gst_value_list_value_table):
1286 Update value table functions.
1287 (gst_value_compare_list_or_array): Renamed from compare_list.
1289 * gsttaglist.h: Whoops, foreach function returns void. Also fix
1293 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
1294 GstTagList*. Fixes #143472.
1296 * gst/gststructure.h: Clarify what the foreach/map functions can
1297 or can't do to their arguments.
1299 2005-11-18 Wim Taymans <wim@fluendo.com>
1301 * gst/gstclock.c: (gst_clock_set_calibration),
1302 (gst_clock_get_calibration):
1304 Calibration can be set with internal time equal to current
1307 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
1313 2005-11-18 Andy Wingo <wingo@pobox.com>
1316 * pkgconfig/gstreamer-net.pc.in:
1317 * pkgconfig/gstreamer-net-uninstalled.pc.in:
1318 * pkgconfig/Makefile.am: Add net pkgconfig files.
1320 2005-11-18 Stefan Kost <ensonic@users.sf.net>
1323 * gst/gstghostpad.c:
1329 2005-11-18 Andy Wingo <wingo@pobox.com>
1331 * gst/net/gstnetclientclock.c: Turn off debugging.
1333 * check/net/gstnetclientclock.c (test_functioning): Assert that the
1334 times connverge somewhat. Can't make a real test.
1336 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
1337 integer arithmetic. Return the minimum of the domain, which can be
1338 set as "internal" for gst_clock_set_calibration.
1339 (gst_net_client_clock_observe_times): Call _set_calibration.
1340 (gst_net_client_clock_new): Call _set_calibration instead of
1343 * check/net/gstnetclientclock.c (test_functioning): Use the right
1347 * gst/gstclock.c (gst_clock_get_calibration)
1348 (gst_clock_set_calibration): New functions, obsolete the ones I
1349 added yesterday. Doh. Precision issues mean we have to extrapolate
1350 from a point in the more recent past than 1970.
1351 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
1353 (gst_clock_adjust_unlocked): Use the right calibration data.
1355 2005-11-18 Edward Hervey <edward@fluendo.com>
1357 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
1358 Also reset the ->current_* values in READY->PAUSED
1360 2005-11-18 Andy Wingo <wingo@pobox.com>
1362 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
1363 Whoops, check the right fd. Also add some debugging.
1364 (gst_net_client_clock_observe_times): Adjust for int64 offset.
1365 (do_linear_regression): Add a crapload of debugging. Subtract off
1366 the minimum values from the input series to discard unneeded bits.
1367 Use only int arithmetic. There is still double arithmetic when
1368 calculating the intercept that needs fixing. Return boolean to
1369 indicate success; FALSE would mean the domain or range is too
1370 great. Still needs fixes.
1372 2005-11-18 Wim Taymans <wim@fluendo.com>
1374 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
1375 For the current position in stream time, we need to subtract
1378 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
1379 Release lock before calling the callback function of async
1382 2005-11-18 Andy Wingo <wingo@pobox.com>
1384 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
1385 Port goes all the way to MAXUINT16.
1387 * gst/net/gstnettimeprovider.c: Make the port range the same as
1388 for the kernel: 0 assigns, otherwise ports are less than
1391 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
1394 * check/net/gstnetclientclock.c (test_functioning): Add the start
1397 2005-11-18 Wim Taymans <wim@fluendo.com>
1399 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1400 (gst_bin_remove_func), (bin_bus_handler):
1402 Removing a clock provider from a bin, triggers a clock lost message
1403 so that a new clock will be selected.
1404 Adding a clock to a bin triggers a clock provider message.
1405 Make sure we reselect a clock when we received a clock lost message.
1406 Keep a reference to the element that provided the clock.
1408 2005-11-18 Andy Wingo <wingo@pobox.com>
1410 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
1411 the clock initially so it produces values around the base time.
1412 (gst_net_client_clock_class_init): Typo fix.
1413 (gst_net_client_clock_thread): Add note on when the socket gets
1416 2005-11-17 Wim Taymans <wim@fluendo.com>
1418 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
1419 Free remote and local time arrays.
1421 2005-11-17 Wim Taymans <wim@fluendo.com>
1423 * gst/net/gstnetclientclock.c: (do_linear_regression),
1424 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
1425 Fix compilation, uninitialized vars and a forgotten continue.
1427 2005-11-17 Andy Wingo <wingo@pobox.com>
1429 * check/Makefile.am (check_PROGRAMS):
1430 * check/net/gstnetclientclock.c: Add a most minimal test for the
1431 net client clock. More to come later.
1434 * gst/net/Makefile.am: Add netclientclock.
1436 * gst/net/gstnetclientclock.h:
1437 * gst/net/gstnetclientclock.c: New files, implement an untested
1438 GstClock that takes its time from a network time provider.
1439 Implements the algorithm in network-clock.scm.
1441 * tests/network-clock.scm (*window-size*): Rename from
1443 * tests/network-clock.scm (network-time):
1444 * tests/network-clock-utils.scm (q-push): Update callers.
1446 2005-11-17 Wim Taymans <wim@fluendo.com>
1448 * gst/gstbin.c: (gst_bin_provide_clock_func),
1449 (gst_bin_sort_iterator_new):
1450 And unref the child too..
1452 2005-11-17 Wim Taymans <wim@fluendo.com>
1454 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
1455 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
1456 Refactor the sort iterator so it can be used while holding the
1458 Make clock selection select a clock closest to the source.
1460 2005-11-17 Michael Smith <msmith@fluendo.com>
1462 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
1463 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
1465 Anonymous structs are a gcc (and some other compilers) extension, so
1466 don't use them. Since this is only for ABI-compatibility, and our
1467 API/ABI freeze is over in a few days, this whole thing will only
1468 last a few days, so don't bother trying to think up a meaningful
1469 name for the struct.
1471 2005-11-17 Andy Wingo <wingo@pobox.com>
1473 * gst/gstclock.h (GstClock): Add rate and offset properties,
1474 preserving ABI stability. Add rate/offset accessors. Will file bug
1475 for the freeze break.
1477 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
1478 and offset, trying to keep precision and avoiding
1480 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
1481 functions. Make gst_clock_set_time_adjust obsolete.
1482 (gst_clock_set_time_adjust): Note that this function is obsolete.
1485 * gst/base/gstbasetransform.h: Make the ABI-stability hack
1486 greppable by using GST_PADDING-1+1.
1488 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
1490 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1492 * gst/gstmessage.c: (gst_message_parse_clock_lost):
1493 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
1495 * gst/gstpadtemplate.h:
1496 * gst/gstpluginfeature.h:
1497 Don't use c++ style comments in headers (#321638).
1499 2005-11-16 Andy Wingo <wingo@pobox.com>
1501 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
1504 * check/net/gstnettimeprovider.c: Check to see that the time
1505 provider actually provides times. Works, yo!
1507 2005-11-16 Wim Taymans <wim@fluendo.com>
1509 * check/Makefile.am:
1512 * check/elements/fakesrc.c: (GST_START_TEST):
1513 Set element to NULL before disposing it.
1515 2005-11-16 Andy Wingo <wingo@pobox.com>
1517 * gst/net/Makefile.am:
1519 * gst/net/gstnettimeprovider.c:
1520 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
1521 provider, include it from gstnet.h, and add it to the build.
1523 * gst/net/gstnettimepacket.h:
1524 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
1525 sending and receiving.
1527 2005-11-16 Wim Taymans <wim@fluendo.com>
1529 * check/Makefile.am:
1530 Enable valgrind check.
1532 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
1533 (gst_fake_src_alloc_buffer):
1536 2005-11-16 Wim Taymans <wim@fluendo.com>
1538 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
1539 Call parent finalize too.
1541 2005-11-16 Wim Taymans <wim@fluendo.com>
1543 * check/Makefile.am:
1544 Enable valgrind check that should work fine now.
1546 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1547 * gst/gstqueue.c: (gst_queue_init):
1548 Fix memleaks in pad allocation.
1550 2005-11-16 Andy Wingo <wingo@pobox.com>
1552 * gst/net/Makefile.am:
1553 * gst/net/gstnet.h: New part of core to hold network elements and
1554 objects. Put in core because it exposes API that applications want
1555 to use. The library is named libgstnet-tempname right now because
1556 of the existing libgstnet in gst-plugins-base. Solution is
1557 probably to rename the one in plugins-base; will file a bug for
1560 * gst/net/gstnettimeprovider.c:
1561 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
1562 get_time call over the network.
1565 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
1567 * check/Makefile.am:
1568 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
1569 get additions shortly.
1571 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1573 * gst/gstpad.c: (gst_pad_new_from_static_template):
1575 add gst_pad_new_from_static_template functions
1576 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
1577 (gst_check_setup_sink_pad):
1578 * gst/elements/gsttee.c: (gst_tee_init):
1581 2005-11-16 Wim Taymans <wim@fluendo.com>
1583 * gst/gstpad.c: (gst_pad_pause_task):
1584 Removed warning, it's not really an error either.
1586 2005-11-16 Wim Taymans <wim@fluendo.com>
1588 * gst/base/gstbasetransform.c:
1589 (gst_base_transform_prepare_output_buf),
1590 (gst_base_transform_event):
1591 Check if the caps are NULL, this can happen if the element
1592 is shutting down and the pad caps are set to NULL.
1594 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1596 * gst/elements/gsttee.c: (gst_tee_init):
1597 fix pad template leak in tee
1599 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1601 * gst/glib-compat.c: (g_value_dup_gst_object):
1602 * gst/glib-compat.h:
1603 * gst/gstpad.c: (gst_pad_set_property):
1604 use gst_object_ref when setting the pad template; this will
1605 trigger the pad template leaks on GLib 2.6 and the slaves
1607 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1609 * gst/glib-compat.c: (gst_flags_get_first_value):
1610 * gst/glib-compat.h:
1611 * gst/gstregistryxml.c:
1612 remove functions copied from GLib 2.6
1614 2005-11-16 Michael Smith <msmith@fluendo.com>
1617 Don't link against VALGRIND_LIBS. That was always the wrong thing to
1618 do, but only breaks with newer valgrind versions. We're not a
1619 valgrind tool, we have no link-time dependencies on libcoregrind.
1621 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1623 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1628 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
1630 * gst/base/gstbasesrc.c: (gst_base_src_init):
1631 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1632 * gst/gstqueue.c: (gst_queue_init):
1633 * gst/gstregistryxml.c: (load_feature):
1634 Revert all these unrefs, they don't even pass make check !
1636 2005-11-15 Johan Dahlin <johan@gnome.org>
1638 * gst/base/gstbasesrc.c: (gst_base_src_init):
1639 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1640 * gst/gstqueue.c: (gst_queue_init):
1641 Free pad templates, fixes a couple of leaks.
1643 2005-11-15 Daniel Fischer <dan at f3c dot com>
1645 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1647 * gst/gstpad.c: (gst_pad_get_property):
1648 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
1649 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
1652 2005-11-15 Wim Taymans <wim@fluendo.com>
1657 2005-11-15 Andy Wingo <wingo@pobox.com>
1659 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
1661 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
1662 using GST_CLOCK_TIME_NONE to disable base time management.
1663 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
1664 time if it was NONE before.
1665 (gst_pipeline_change_state): Only munge the base time if
1666 stream_time != GST_CLOCK_TIME_NONE.
1668 * check/gst/gstpipeline.c (test_base_time): Punt around the
1669 problem of the probe not being called, because that's not the
1670 issue I'm looking at. Add a check that setting stream_time to NONE
1671 disables base time management.
1673 2005-11-15 Wim Taymans <wim@fluendo.com>
1675 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
1676 segment_stop == -1 at startup.
1678 * gst/base/gstbasetransform.c: (gst_base_transform_event),
1679 (gst_base_transform_change_state):
1680 Init segment values at start.
1682 2005-11-15 Wim Taymans <wim@fluendo.com>
1684 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1685 0 segment values are 0 in any format.
1687 * gst/base/gstbasetransform.c: (gst_base_transform_event):
1688 * gst/base/gstbasetransform.h:
1689 Parse newsegment correctly in basetransform
1691 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1692 Sync to clock using updated segment values.
1694 2005-11-15 Andy Wingo <wingo@pobox.com>
1696 * check/gst/gstpipeline.c (test_base_time): Add check that the
1697 base time and stream time are reset correctly.
1699 2005-11-15 Wim Taymans <wim@fluendo.com>
1701 * docs/design/part-TODO.txt:
1702 Some more TODO items.
1704 2005-11-15 Andy Wingo <wingo@pobox.com>
1706 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
1707 error if the user selected "no clock" as the clocking method.
1709 * check/gst/gstpipeline.c (test_base_time): New test for buffer
1710 timestamps with live capture.
1712 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
1713 is 0 but we are a live source, timestamp the buffers using the
1716 2005-11-14 Stefan Kost <ensonic@users.sf.net>
1718 * docs/gst/gstreamer-sections.txt:
1720 * gst/gstghostpad.c:
1725 2005-11-14 Wim Taymans <wim@fluendo.com>
1728 add suppressions from Wim's Debian machine
1730 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
1733 add suppressions from Andy's AMD64 Ubuntu machine
1735 2005-11-14 Andy Wingo <wingo@pobox.com>
1737 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
1738 STATE_LOCK not necessary. Fixes #311489.
1740 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
1743 * gst/gstindex.c (gst_index_add_object): Note in the docs that
1744 this function is not implemented.
1746 2005-11-14 Julien MOUTTE <julien@moutte.net>
1748 * gst/base/gstbasetransform.c:
1749 (gst_base_transform_prepare_output_buf):
1750 Ref the source pad caps while we need them.
1753 2005-11-11 Wim Taymans <wim@fluendo.com>
1755 * docs/gst/gstreamer-sections.txt:
1756 Added some docs for GstCollectData.
1758 * gst/base/gstadapter.c:
1759 Some small code example fix.
1761 * gst/base/gstcollectpads.c:
1762 * gst/base/gstcollectpads.h:
1765 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
1767 * configure.ac: back to HEAD
1769 === release 0.9.5 ===
1771 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
1774 releasing 0.9.5, "Bike Lunch Day"
1776 2005-11-11 Wim Taymans <wim@fluendo.com>
1778 * gst/gstbuffer.c: (_gst_buffer_copy):
1781 * gst/gstcaps.c: (gst_caps_is_equal):
1783 Make _is_equal fast in the trivial cases.
1785 * gst/gstminiobject.c:
1786 * gst/gstminiobject.h:
1787 More docs. Spifify .h file.
1792 2005-11-11 Wim Taymans <wim@fluendo.com>
1794 * gst/base/gstbasetransform.c:
1795 (gst_base_transform_prepare_output_buf),
1796 (gst_base_transform_handle_buffer):
1798 If we're processing a buffer and need to allocate an output
1799 buffer, we cannot accept a format change. If we did get a
1800 format change, we have to alloc a buffer ourselves of the
1803 2005-11-11 Wim Taymans <wim@fluendo.com>
1805 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
1806 While checking the flag for reentrancy in the gstcaps function
1807 is nice to detect recursive invocations, it also makes it
1808 impossible to call getcaps from multiple threads, which must be
1809 possible. So, checking for recursive calls has to go.
1811 2005-11-11 Michael Smith <msmith@fluendo.com>
1813 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1814 Don't sync on buffers that fall partially outside our current
1815 segment. Prevents an assertion failure/abort playing some files.
1817 2005-11-10 Andy Wingo <wingo@pobox.com>
1819 * check/gst/gstbin.c (test_message_state_changed_children): Style
1822 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
1823 gst_bus_poll with the signal watch. Ensures that poll and a signal
1824 watch see the same messages.
1826 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
1827 a poll and a watch at the same time get the same messages.
1829 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
1831 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
1832 * gst/gstcaps.c: (gst_caps_intersect):
1833 Don't call gst_caps_do_simplify - it doesn't respect order of caps
1834 and it's not needed.
1836 2005-11-10 Wim Taymans <wim@fluendo.com>
1838 * docs/design/part-TODO.txt:
1841 2005-11-10 Wim Taymans <wim@fluendo.com>
1843 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1844 * gst/base/gstbasesrc.c: (gst_base_src_wait),
1845 (gst_base_src_do_sync), (gst_base_src_get_range):
1846 Implement clock sync in base class.
1848 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
1850 patch by: Tim-Philipp Müller <tim at centricular dot net>
1852 * gst/gststructure.c: (gst_structure_parse_field),
1853 (gst_structure_from_string):
1854 Forward-port a 0.8 patch to handle escaped spaces in structure string,
1855 so that gst_parse_launch() can deal with spaces in filtered link
1856 caps (fixes #164479)
1857 * check/gst/capslist.h:
1858 * check/gst/gststructure.c: (GST_START_TEST):
1859 add unit tests for this change
1861 2005-11-10 Wim Taymans <wim@fluendo.com>
1863 * docs/gst/gstreamer-sections.txt:
1866 Fix docs, move some STATE macros to private.
1868 2005-11-10 Wim Taymans <wim@fluendo.com>
1870 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
1871 Added check for bug #317341
1875 Some more spiffifying.
1877 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
1878 Call peer linkfunction if we are a source pad. Totally fixes
1882 Update docs, source pads should call the peer linkfunction
1883 so they can atomically perform the pad link.
1885 2005-11-09 Wim Taymans <wim@fluendo.com>
1889 Uber-spiffy-spiffify some more.
1891 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
1893 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
1894 * gst/elements/gstfilesink.c: (gst_file_sink_init):
1895 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1896 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
1897 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
1898 * gst/gstpad.c: (gst_pad_init):
1899 Use GST_DEBUG_FUNCPTR() more extensively.
1901 2005-11-09 Wim Taymans <wim@fluendo.com>
1903 * gst/gstobject.c: (gst_object_class_init):
1905 Documentation fixes.
1907 2005-11-09 Edward Hervey <edward@fluendo.com>
1909 * gst/gsttypefindfactory.c:
1912 2005-11-09 Edward Hervey <edward@fluendo.com>
1914 * gst/base/gsttypefindhelper.c:
1915 * gst/gsttypefind.c:
1916 * gst/gsttypefind.h:
1919 2005-11-09 Wim Taymans <wim@fluendo.com>
1921 * gst/gstiterator.c:
1928 2005-11-09 Wim Taymans <wim@fluendo.com>
1934 2005-11-09 Wim Taymans <wim@fluendo.com>
1936 * docs/gst/gstreamer-sections.txt:
1937 Moved the message async delivery private lock and cond
1938 to the private section.
1944 2005-11-09 Edward Hervey <edward@fluendo.com>
1946 * docs/gst/gstreamer-sections.txt:
1949 Document GstURIHandler
1951 2005-11-09 Wim Taymans <wim@fluendo.com>
1953 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
1954 (gst_iterator_find_custom):
1955 * gst/gstiterator.h:
1958 2005-11-09 Wim Taymans <wim@fluendo.com>
1961 Document another field.
1963 * gst/gststructure.c:
1964 * gst/gststructure.h:
1967 2005-11-09 Wim Taymans <wim@fluendo.com>
1972 2005-11-09 Wim Taymans <wim@fluendo.com>
1974 * docs/gst/gstreamer-sections.txt:
1975 Added some new macros.
1982 2005-11-09 Wim Taymans <wim@fluendo.com>
1984 * docs/design/part-TODO.txt:
1985 Some more items for the TODO
1991 2005-11-09 Andy Wingo <wingo@pobox.com>
1993 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
1994 to work on something else now tho...
1996 * gst/base/gstadapter.c: More adapter docs.
1998 * gst/elements/gstfilesink.c (gst_file_sink_start)
1999 (gst_file_sink_stop): New functions, replace the state change
2001 (gst_file_sink_class_init): Hook up the start and stop functions.
2002 (gst_file_sink_base_init): Don't set the state change handler any
2003 more. It was a bit ugly too, being set from here...
2004 (gst_file_sink_get_property, gst_file_sink_set_property):
2006 (gst_file_sink_set_location): More robust check that doesn't call
2009 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
2011 * gst/base/gstbasetransform.c: (gst_base_transform_event):
2012 Hold STREAM_LOCK while pushing newsegment or tag events as well.
2014 2005-11-08 Wim Taymans <wim@fluendo.com>
2016 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
2017 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
2018 (gst_base_sink_chain), (gst_base_sink_change_state):
2019 * gst/base/gstbasesink.h:
2020 * gst/base/gstbasesrc.h:
2023 Avoid excessive typechecking in macros.
2025 * gst/gstminiobject.c: (gst_mini_object_get_type),
2026 (gst_mini_object_init), (gst_mini_object_new),
2027 (gst_mini_object_free):
2028 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
2029 (gst_object_finalize):
2030 Remove cruft code, optimize alloc_trace.
2032 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
2034 * docs/faq/gst-uninstalled:
2035 fix up PS1 for systems that try to reset it
2037 2005-11-07 Wim Taymans <wim@fluendo.com>
2039 * gst/base/gstbasesrc.c: (gst_base_src_init),
2040 (gst_base_src_get_range):
2041 Set the segment_end to -1 initially. Fixed typefind.
2043 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
2045 * gst/base/gstadapter.c:
2046 Debug category should be 'adapter', not 'GstAdapter'.
2048 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
2049 (gst_collectpads_class_init), (gst_collectpads_init),
2050 (gst_collectpads_peek), (gst_collectpads_pop),
2051 (gst_collectpads_event), (gst_collectpads_chain):
2052 Add debug category and some debugging output. Use boilerplate
2053 macros. Remove some extraneous words from docs.
2055 2005-11-05 Andy Wingo <wingo@pobox.com>
2057 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
2060 2005-11-04 Stefan Kost <ensonic@users.sf.net>
2062 * docs/gst/gstreamer-sections.txt:
2065 * gst/gstminiobject.h:
2070 2005-11-04 Wim Taymans <wim@fluendo.com>
2072 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2073 Small update to stop at the configured segment_end
2076 2005-11-04 Stefan Kost <ensonic@users.sf.net>
2078 * gst/gstregistry.c:
2079 * gst/gstregistry.h:
2082 2005-11-04 Edward Hervey <edward@fluendo.com>
2084 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2085 Check if we are doing a segment seek and have arrived at the
2086 end of that segment.
2088 2005-11-04 Wim Taymans <wim@fluendo.com>
2090 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
2091 Don't leak a mutex unlock in case of an error.
2096 2005-11-04 Wim Taymans <wim@fluendo.com>
2098 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
2100 Get the context to wake up only once.
2102 2005-11-03 Wim Taymans <wim@fluendo.com>
2104 * check/states/sinks.c: (GST_START_TEST):
2105 Uncomment fixed check.
2107 * docs/design/part-TODO.txt:
2110 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2111 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
2112 (gst_base_sink_get_position):
2113 If we are going to PLAYING, post the right pending state
2114 when we post the intermediate paused message.
2116 * gst/gstelement.c: (gst_element_continue_state),
2117 (gst_element_set_state_func), (gst_element_change_state):
2118 Don't post state changes that were between the same state
2121 2005-11-03 Stefan Kost <ensonic@users.sf.net>
2123 * docs/gst/gstreamer-sections.txt:
2126 * gst/gstminiobject.h:
2129 more docs and doc style fixes
2131 2005-11-03 Stefan Kost <ensonic@users.sf.net>
2133 * docs/gst/gstreamer-sections.txt:
2135 * gst/gstminiobject.c:
2138 2005-11-03 Andy Wingo <wingo@pobox.com>
2140 * check/states/sinks.c (test_livesrc_sink): Add checks that the
2141 state-changed messages actually have the right order and the right
2144 2005-11-03 Wim Taymans <wim@fluendo.com>
2146 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
2147 Added some more checks. Specifically the case where NO_PREROLL
2148 elements are in the pipeline.
2150 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2151 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
2152 (gst_base_sink_get_position):
2153 Post READY->PAUSED state change messages too.
2154 Fix bug where VOID was posted as pending state...
2156 * gst/gstbin.c: (gst_bin_recalc_state):
2157 use _element_continue_state() to continue the state change.
2159 * gst/gstelement.c: (gst_element_continue_state),
2160 (gst_element_commit_state), (gst_element_set_state_func),
2161 (gst_element_change_state), (gst_element_change_state_func):
2162 Lots of state change cleanups, assign the STATE_RETURN in
2163 a new continue_state() function that also propagates the
2164 last return value from a state change to the app.
2165 Update some debug statements with proper category.
2167 2005-11-03 Wim Taymans <wim@fluendo.com>
2169 * docs/design/part-events.txt:
2170 * docs/design/part-gstpipeline.txt:
2171 * docs/design/part-messages.txt:
2172 * docs/design/part-overview.txt:
2173 * docs/design/part-seeking.txt:
2174 * docs/design/part-states.txt:
2175 * docs/design/part-trickmodes.txt:
2176 * docs/manual/advanced-position.xml:
2180 People think !! is ugly, this looks better.
2182 * gst/gstpad.c: (gst_pad_set_blocked_async):
2183 Remove !! since it's fixed elsewhere now.
2185 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
2187 * gst/gstminiobject.h:
2189 Add !! to _FLAG_IS_SET macros to make the result boolean.
2191 2005-11-03 Edward Hervey <edward@fluendo.com>
2193 * gst/gstpad.c: (gst_pad_set_blocked_async):
2194 comparing a flag and a gboolean rarely returns coherent results...
2195 Added two characters (!!) to make that work correctly.
2197 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
2199 * gst/gstbus.c: (gst_bus_class_init):
2202 * gst/gstqueue.c: (gst_queue_loop):
2203 Don't assume a miniobject that isn't a buffer is an
2204 event (it could be that there is a refcounting
2205 problem somewhere and the pointer is stale and
2206 refers to an already destroyed miniobject).
2208 2005-11-03 Julien MOUTTE <julien@moutte.net>
2210 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
2212 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
2214 * docs/manual/advanced-position.xml:
2215 Update seek example and explanations to current 0.9 API.
2217 * gst/elements/gsttypefindelement.c:
2218 (gst_type_find_element_activate):
2219 Remove FIXME comment now that the found caps
2222 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
2224 * gst/gstregistryxml.c: (load_feature):
2225 Add another GST_STR_NULL instance
2227 2005-11-02 Edward Hervey <edward@fluendo.com>
2229 * gst/gstpad.c: (handle_pad_block):
2230 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
2232 2005-11-02 Wim Taymans <wim@fluendo.com>
2237 * gst/gstelement.c: (gst_element_commit_state):
2238 Remove unused value.
2240 * gst/gstiterator.c:
2241 Mention that the returned element is reffed in the docs.
2243 2005-11-02 Wim Taymans <wim@fluendo.com>
2245 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
2246 (gst_pad_push), (gst_pad_push_event):
2247 Unlock blocked pads when they are flushed.
2249 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
2252 * docs/gst/gstreamer-sections.txt:
2255 * gst/gstregistry.c: (gst_registry_scan_path_level):
2256 fix for a nasty little missed situation where an installed plug-in
2257 which was in the cache did not get overridden by an uninstalled one
2258 which was earlier in the plugin path because the newly created plugin
2259 for the uninstalled one (not in the registry) didn't get its
2260 ->registered set to TRUE
2262 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
2264 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
2265 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
2266 (gst_collectpads_is_active), (gst_collectpads_collect),
2267 (gst_collectpads_collect_range), (gst_collectpads_start),
2268 (gst_collectpads_stop), (gst_collectpads_peek),
2269 (gst_collectpads_pop), (gst_collectpads_available),
2270 (gst_collectpads_read), (gst_collectpads_flush):
2271 Guard public API with assertions.
2274 Fix docs for gst_pad_set_link_function().
2276 2005-11-02 Johan Dahlin <johan@gnome.org>
2278 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
2279 Unref found_caps after we used it.
2281 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
2283 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
2284 Don't try to ref NULL.
2286 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
2288 * win32/common/config.h.in:
2289 provide a GST_FUNCTION that just gives a string for now
2291 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
2293 * win32/common/gstenumtypes.c: (register_gst_object_flags),
2294 (gst_object_flags_get_type), (register_gst_bin_flags),
2295 (gst_bin_flags_get_type), (register_gst_buffer_flag),
2296 (gst_buffer_flag_get_type), (register_gst_bus_flags),
2297 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
2298 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
2299 (gst_clock_return_get_type), (register_gst_clock_entry_type),
2300 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
2301 (gst_clock_flags_get_type), (register_gst_state),
2302 (gst_state_get_type), (register_gst_state_change_return),
2303 (gst_state_change_return_get_type), (register_gst_state_change),
2304 (gst_state_change_get_type), (register_gst_element_flags),
2305 (gst_element_flags_get_type), (register_gst_core_error),
2306 (gst_core_error_get_type), (register_gst_library_error),
2307 (gst_library_error_get_type), (register_gst_resource_error),
2308 (gst_resource_error_get_type), (register_gst_stream_error),
2309 (gst_stream_error_get_type), (register_gst_event_type),
2310 (gst_event_type_get_type), (register_gst_seek_type),
2311 (gst_seek_type_get_type), (register_gst_seek_flags),
2312 (gst_seek_flags_get_type), (register_gst_format),
2313 (gst_format_get_type), (register_gst_index_certainty),
2314 (gst_index_certainty_get_type), (register_gst_index_entry_type),
2315 (gst_index_entry_type_get_type),
2316 (register_gst_index_lookup_method),
2317 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
2318 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
2319 (gst_index_resolver_method_get_type), (register_gst_index_flags),
2320 (gst_index_flags_get_type), (register_gst_debug_level),
2321 (gst_debug_level_get_type), (register_gst_debug_color_flags),
2322 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
2323 (gst_iterator_result_get_type), (register_gst_iterator_item),
2324 (gst_iterator_item_get_type), (register_gst_message_type),
2325 (gst_message_type_get_type), (register_gst_mini_object_flags),
2326 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
2327 (gst_pad_link_return_get_type), (register_gst_flow_return),
2328 (gst_flow_return_get_type), (register_gst_activate_mode),
2329 (gst_activate_mode_get_type), (register_gst_pad_direction),
2330 (gst_pad_direction_get_type), (register_gst_pad_flags),
2331 (gst_pad_flags_get_type), (register_gst_pad_presence),
2332 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
2333 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
2334 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
2335 (gst_plugin_error_get_type), (register_gst_plugin_flags),
2336 (gst_plugin_flags_get_type), (register_gst_rank),
2337 (gst_rank_get_type), (register_gst_query_type),
2338 (gst_query_type_get_type), (register_gst_tag_merge_mode),
2339 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
2340 (gst_tag_flag_get_type), (register_gst_task_state),
2341 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
2342 (gst_alloc_trace_flags_get_type),
2343 (register_gst_type_find_probability),
2344 (gst_type_find_probability_get_type), (register_gst_uri_type),
2345 (gst_uri_type_get_type), (register_gst_parse_error),
2346 (gst_parse_error_get_type):
2347 * win32/common/gstversion.h:
2350 2005-11-01 Luca Ognibene <luogni@tin.it>
2353 fix docs. popt is dead, long live GOption.
2355 2005-10-31 Wim Taymans <wim@fluendo.com>
2360 2005-10-31 Andy Wingo <wingo@pobox.com>
2364 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
2366 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
2367 need to serialize property notifications on GLib 2.8. GLib 2.6 has
2368 the possibility of deadlocks here if code calling notify() or
2369 set() has a lock that can be taken in another notify handler (ABBA
2370 with class lock and e.g. python GIL state lock).
2372 2005-10-28 Julien MOUTTE <julien@moutte.net>
2374 * gst/gstbus.c: Doc updates.
2376 2005-10-28 Wim Taymans <wim@fluendo.com>
2378 * docs/design/part-TODO.txt:
2379 * gst/gstiterator.c:
2380 * gst/gstsystemclock.c:
2381 * gst/gstsystemclock.h:
2384 2005-10-28 Edward Hervey <edward@fluendo.com>
2386 * docs/gst/gstreamer-docs.sgml:
2387 * docs/gst/gstreamer-sections.txt:
2388 the GstURIType documentation page is private, it only defines GstURIType
2389 which should be defined in the GstURIHandler page
2391 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
2393 * gst/gstbin.c: (gst_bin_class_init):
2396 Documentation updates.
2398 2005-10-28 Wim Taymans <wim@fluendo.com>
2400 * docs/gst/gstreamer-sections.txt:
2403 Documented the clocks.
2405 2005-10-28 Stefan Kost <ensonic@users.sf.net>
2407 * docs/gst/gstreamer-sections.txt:
2408 move some macros to private sections
2409 * gst/gstminiobject.c:
2410 * gst/gstminiobject.h:
2411 add descriptions provided by ds and some more
2413 mark macro as to be removed
2415 2005-10-28 Wim Taymans <wim@fluendo.com>
2417 * docs/design/part-TODO.txt:
2418 Add an item to TODO.
2420 * gst/gstiterator.c: (gst_iterator_fold),
2421 (gst_iterator_find_custom):
2422 * gst/gstiterator.h:
2425 2005-10-28 Wim Taymans <wim@fluendo.com>
2427 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
2428 (gst_base_transform_init):
2431 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
2432 An EOS event marks the queue as completely filled.
2434 2005-10-27 Wim Taymans <wim@fluendo.com>
2436 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2437 (gst_base_sink_do_sync), (gst_base_sink_get_position):
2438 Some more debugging.
2440 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
2441 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
2442 (gst_base_transform_event), (gst_base_transform_getrange),
2443 (gst_base_transform_chain):
2444 * gst/base/gstbasetransform.h:
2446 Protect transform and concurrent buffer alloc with a new lock.
2447 Try not to break ABI/API.
2449 2005-10-27 Wim Taymans <wim@fluendo.com>
2451 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2452 (gst_base_src_init), (gst_base_src_query),
2453 (gst_base_src_default_newsegment),
2454 (gst_base_src_configure_segment), (gst_base_src_do_seek),
2455 (gst_base_src_send_event), (gst_base_src_event_handler),
2456 (gst_base_src_pad_get_range), (gst_base_src_loop),
2457 (gst_base_src_unlock), (gst_base_src_default_negotiate),
2458 (gst_base_src_start), (gst_base_src_deactivate),
2459 (gst_base_src_activate_push), (gst_base_src_change_state):
2460 Move some stuff around and cleanup things.
2462 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
2464 * gst/base/gstbasesrc.c: (gst_base_src_query):
2465 Add missing break statements.
2467 2005-10-27 Wim Taymans <wim@fluendo.com>
2469 * check/gst/gstbin.c: (GST_START_TEST):
2470 An extra refcount is taken in basesrc.
2472 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
2473 (gst_base_src_get_range), (gst_base_src_pad_get_range),
2474 (gst_base_src_loop):
2475 Small cleanups, check for flushing after being unlocked from the
2476 LIVE_LOCK. take refcounts correctly (not yet everywhere).
2477 Don't send out EOS when going to READY.
2479 2005-10-27 Wim Taymans <wim@fluendo.com>
2481 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2482 (gst_base_sink_get_position):
2485 * gst/gstbin.c: (message_check), (bin_replace_message),
2486 (bin_remove_messages), (is_eos), (gst_bin_add_func),
2487 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2488 (bin_query_duration_init), (bin_query_duration_fold),
2489 (bin_query_duration_done), (bin_query_generic_fold),
2491 * tools/gst-launch.c: (main):
2494 2005-10-26 Stefan Kost <ensonic@users.sf.net>
2496 * examples/controller/audio-example.c: (main):
2497 * examples/queue/queue.c: (event_loop):
2498 * gst/base/gstbasetransform.h:
2499 * gst/gstelement.c: (gst_element_send_event):
2501 * gst/gstpad.c: (gst_pad_send_event):
2504 changing log priority in error situations
2506 2005-10-25 Wim Taymans <wim@fluendo.com>
2508 * gst/gstbin.c: (message_check), (bin_replace_message),
2509 (bin_remove_messages), (is_eos), (gst_bin_add_func),
2510 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2511 (bin_query_duration_init), (bin_query_duration_fold),
2512 (bin_query_duration_done), (bin_query_generic_fold),
2514 Some doc and debug updates.
2515 Cache previously requested query DURATION for speed. invalidate
2516 cached duration if element posts a DURATION message.
2518 2005-10-25 Wim Taymans <wim@fluendo.com>
2520 * docs/design/part-TODO.txt:
2523 * gst/gstbin.c: (message_check), (bin_replace_message),
2524 (bin_remove_messages), (is_eos), (gst_bin_add_func),
2525 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2526 (bin_query_duration_init), (bin_query_duration_fold),
2527 (bin_query_duration_done), (bin_query_generic_fold),
2529 Handle SEGMENT_START/DONE messages correctly.
2530 More evolved query algorithm that handles duration queries
2533 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
2534 (gst_element_get_state_func), (gst_element_abort_state),
2535 (gst_element_commit_state), (gst_element_lost_state):
2536 Some more debugging.
2541 2005-10-25 Wim Taymans <wim@fluendo.com>
2543 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
2544 Don't use invalid stream_time.
2546 * gst/gstevent.c: (gst_event_new_newsegment):
2547 stream_time in newsegment cannot be undefined.
2549 2005-10-24 Wim Taymans <wim@fluendo.com>
2554 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
2556 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
2558 2005-10-24 Stefan Kost <ensonic@users.sf.net>
2560 * docs/libs/tmpl/gstdparam.sgml:
2561 * docs/libs/tmpl/gstdplinint.sgml:
2562 * docs/libs/tmpl/gstdpman.sgml:
2563 * docs/libs/tmpl/gstdpsmooth.sgml:
2564 * docs/libs/tmpl/gstunitconvert.sgml:
2567 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
2572 === release 0.9.4 ===
2574 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
2577 releasing 0.9.4, "Tyrannosaurus Rex"
2579 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
2581 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
2582 (gst_file_sink_get_current_offset):
2583 Use fseeko() and ftello() if available. When falling back on
2584 lseek() to get the current offset, fflush() first to make sure
2585 everything is up-to-date and we get the right offset.
2587 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
2589 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2590 * gst/base/gstbasesrc.c: (gst_base_src_loop):
2591 * gst/gsterror.c: (_gst_stream_errors_init):
2593 * gst/gstqueue.c: (gst_queue_loop):
2595 remove prematurely added error category and clean up the instances
2597 2005-10-21 Wim Taymans <wim@fluendo.com>
2599 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2600 (gst_base_sink_get_position), (gst_base_sink_query),
2601 (gst_base_sink_change_state):
2602 Simply set the right flag when going to playing, that's all
2603 we need to do instead of calling a function inside the object
2604 lock (that could take the lock as well and deadlock)
2606 2005-10-21 Wim Taymans <wim@fluendo.com>
2608 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
2609 (gst_base_src_loop):
2610 Don't warn, the peer element knows what to do best when
2611 the seek failed, it might try something else.
2613 2005-10-21 Wim Taymans <wim@fluendo.com>
2615 * gst/base/gstbasesrc.c: (gst_base_src_init),
2616 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
2619 2005-10-21 Wim Taymans <wim@fluendo.com>
2621 * docs/design/part-segments.txt:
2624 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
2625 Correctly set caps, even on the subbufer.
2627 2005-10-21 Wim Taymans <wim@fluendo.com>
2629 * docs/gst/gstreamer-docs.sgml:
2630 * docs/gst/gstreamer-sections.txt:
2637 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
2641 And 2% more doc coverage.
2643 2005-10-21 Andy Wingo <wingo@pobox.com>
2645 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
2648 2005-10-20 Wim Taymans <wim@fluendo.com>
2650 * gst/gsterror.c: (gst_error_get_message):
2653 * gst/gststructure.c:
2658 2005-10-20 Wim Taymans <wim@fluendo.com>
2663 Another 1% more coverage.
2665 2005-10-20 Wim Taymans <wim@fluendo.com>
2667 * docs/gst/gstreamer-sections.txt:
2668 * gst/gstelement.c: (gst_element_get_state_func),
2669 (gst_element_abort_state), (gst_element_commit_state),
2670 (gst_element_lost_state):
2672 * gst/gstquery.c: (gst_query_set_position),
2673 (gst_query_parse_position), (gst_query_set_duration),
2674 (gst_query_parse_duration), (gst_query_new_convert):
2676 Yay! 1% more docs coverage.
2678 2005-10-20 Wim Taymans <wim@fluendo.com>
2681 * gst/gstquery.c: (gst_query_set_position),
2682 (gst_query_parse_position), (gst_query_set_duration),
2683 (gst_query_parse_duration), (gst_query_new_convert):
2685 * gst/gstutils.c: (gst_element_query_convert):
2687 Docs and consistency fixes.
2689 2005-10-20 Wim Taymans <wim@fluendo.com>
2695 2005-10-20 Wim Taymans <wim@fluendo.com>
2697 * gst/gstbin.c: (message_check), (bin_replace_message),
2698 (bin_remove_messages), (is_eos), (gst_bin_add_func),
2699 (update_degree), (gst_bin_sort_iterator_next),
2700 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
2701 Reworked the message handling a bit, cache the messages instead of
2702 only the senders. alows us to do more in the future.
2704 2005-10-20 Wim Taymans <wim@fluendo.com>
2706 * docs/design/part-TODO.txt:
2709 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
2710 (gst_base_sink_query):
2711 Don't use clock time to report position when in EOS.
2713 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
2715 * tools/gst-inspect.c: (print_interfaces),
2716 (print_element_properties_info), (print_element_info):
2717 Fix interface output with gst-inspect -a; don't print
2718 newlines after double/float properties.
2720 2005-10-20 Wim Taymans <wim@fluendo.com>
2722 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
2723 (gst_base_sink_query):
2724 Speed up current position calculation.
2726 * gst/base/gstbasesrc.c: (gst_base_src_query),
2727 (gst_base_src_default_newsegment):
2728 Correctly set stream position in newsegment.
2730 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
2731 (update_degree), (gst_bin_sort_iterator_next),
2732 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
2733 * gst/gstmessage.c: (gst_message_new_custom):
2734 Clean up debugging info
2736 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
2737 (gst_queue_loop), (gst_queue_handle_src_query):
2740 2005-10-19 Wim Taymans <wim@fluendo.com>
2742 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2743 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
2744 Fix query handling again.
2746 2005-10-19 Wim Taymans <wim@fluendo.com>
2748 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2749 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
2750 * gst/base/gstbasesrc.c: (gst_base_src_query):
2751 * gst/elements/gstfilesink.c: (gst_file_sink_query):
2752 * gst/elements/gsttypefindelement.c:
2753 (gst_type_find_handle_src_query), (find_element_get_length),
2754 (gst_type_find_element_activate):
2757 * gst/gstquery.c: (gst_query_new_position),
2758 (gst_query_set_position), (gst_query_parse_position),
2759 (gst_query_new_duration), (gst_query_set_duration),
2760 (gst_query_parse_duration), (gst_query_set_segment),
2761 (gst_query_parse_segment):
2763 Bundling query position/duration is not a good idea since duration
2764 does not change much and we don't want to recalculate it for every
2765 position query, so they are separated again..
2766 Base value in segment query is not needed.
2768 * gst/gstqueue.c: (gst_queue_handle_src_query):
2769 * gst/gstutils.c: (gst_element_query_position),
2770 (gst_element_query_duration), (gst_pad_query_position),
2771 (gst_pad_query_duration):
2773 Updates for query API change.
2774 Added some docs here and there.
2776 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
2778 * check/gst/gstbin.c: (GST_START_TEST):
2779 * check/gst/gstghostpad.c: (GST_START_TEST):
2780 * check/pipelines/cleanup.c: (GST_START_TEST):
2781 wait on thread to die so we can check refcount correctly
2783 2005-10-18 Wim Taymans <wim@fluendo.com>
2785 * check/pipelines/stress.c: (GST_START_TEST):
2786 Make check a little more time consuming.
2788 2005-10-18 Wim Taymans <wim@fluendo.com>
2790 * check/Makefile.am:
2791 * check/pipelines/stress.c: (GST_START_TEST),
2792 (simple_launch_lines_suite), (main):
2793 Small state change torture test.
2795 * docs/design/part-states.txt:
2796 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2797 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
2798 (gst_base_sink_change_state):
2799 Never take state lock from streaming thread, clean up ugly
2800 hacks. Unfortunatly core does not yet support nice ways to
2803 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
2805 Start state recalc if a STATE_DIRTY message is posted, but only
2806 on the toplevel bin.
2808 * gst/gstelement.c: (gst_element_sync_state_with_parent),
2809 (gst_element_get_state_func), (gst_element_abort_state),
2810 (gst_element_commit_state), (gst_element_lost_state),
2811 (gst_element_set_state_func), (gst_element_change_state):
2813 State variables are now protected with the LOCK, the state
2814 lock is only used to serialize _set_state().
2816 2005-10-18 Wim Taymans <wim@fluendo.com>
2818 * check/gst/gstbin.c: (GST_START_TEST):
2819 * check/gst/gstmessage.c: (GST_START_TEST):
2820 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2821 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
2823 * gst/gstelement.c: (gst_element_abort_state),
2824 (gst_element_commit_state), (gst_element_lost_state):
2825 * gst/gstmessage.c: (gst_message_new_state_changed),
2826 (gst_message_new_state_dirty), (gst_message_new_segment_start),
2827 (gst_message_new_segment_done), (gst_message_new_duration),
2828 (gst_message_parse_state_changed),
2829 (gst_message_parse_segment_start),
2830 (gst_message_parse_segment_done), (gst_message_parse_duration):
2832 * tools/gst-launch.c: (event_loop):
2833 Seriously, this is better than a previous commit as we only need
2834 to notify the fact that an element changed state in a streaming
2835 thread, marking the state of the parents dirty, hence the
2836 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
2839 2005-10-18 Wim Taymans <wim@fluendo.com>
2841 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
2842 (gst_bin_recalc_func):
2843 * gst/gstelement.c: (gst_element_set_clock),
2844 (gst_element_abort_state), (gst_element_lost_state):
2845 Cleanups, prepare for state change fixes.
2847 2005-10-18 Wim Taymans <wim@fluendo.com>
2850 * gst/gstelement.c: (gst_element_class_init),
2851 (gst_element_set_state), (gst_element_set_state_func):
2853 Pending ABI changes.
2854 GThreadPool in GstBinClass to monitor async state changes.
2855 state_cookie in GstElement to detect concurrent gst/set state.
2856 set_state is now virtual too in case a very complicated element
2857 has to be constructed.
2859 2005-10-18 Wim Taymans <wim@fluendo.com>
2861 * check/gst/gstbin.c: (GST_START_TEST):
2862 * check/gst/gstmessage.c: (GST_START_TEST):
2863 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2864 * gst/gstbin.c: (bin_bus_handler):
2865 * gst/gstelement.c: (gst_element_commit_state),
2866 (gst_element_lost_state):
2867 * gst/gstmessage.c: (gst_message_new_state_changed),
2868 (gst_message_new_segment_start), (gst_message_new_segment_done),
2869 (gst_message_new_duration), (gst_message_parse_state_changed),
2870 (gst_message_parse_segment_start),
2871 (gst_message_parse_segment_done), (gst_message_parse_duration):
2873 * tools/gst-launch.c: (event_loop):
2874 Make messages future proof.
2875 state-change gets a flag if it was a message comming from the
2877 segment-start/stop can also be specified in other formats.
2878 A message to notify an app that a pipeline changed playback
2880 Also fix a GstMessage leak in -launch
2882 2005-10-18 Andy Wingo <wingo@pobox.com>
2884 * gst/gstelement.c (gst_element_dispose): More helpful message.
2886 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
2888 reviewed by: <delete if not using a buddy>
2890 * common/gtk-doc.mak:
2892 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
2894 * gst/gstregistry.c: (gst_registry_scan_path_level):
2895 unref a plug-in we get that was already initialized
2897 2005-10-18 Stefan Kost <ensonic@users.sf.net>
2899 * docs/gst/gstreamer-sections.txt:
2900 * docs/libs/gstreamer-libs-sections.txt:
2905 2005-10-17 Andy Wingo <wingo@pobox.com>
2907 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
2910 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
2912 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
2914 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
2915 (gst_element_get_state_func): Better debug message.
2916 (gst_element_commit_state): s/INFO/DEBUG/.
2917 (gst_element_lost_state, gst_element_change_state):
2919 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
2920 (gst_message_new_custom): s/INFO/LOG/.
2922 2005-10-17 Michael Smith <msmith@fluendo.com>
2924 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2925 Check if end time is valid using end time, not start time.
2927 2005-10-17 Stefan Kost <ensonic@users.sf.net>
2929 * check/gst-libs/controller.c: (GST_START_TEST),
2930 (gst_controller_suite):
2931 * libs/gst/controller/gstcontroller.c:
2932 (gst_controlled_property_set_interpolation_mode):
2933 * libs/gst/controller/gstcontroller.h:
2934 * libs/gst/controller/gstinterpolation.c:
2935 * testsuite/controller/.cvsignore:
2936 * testsuite/controller/Makefile.am:
2937 * testsuite/controller/interpolator.c:
2938 merge controller testsuites
2940 remove mem-chunk from docs
2942 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
2944 * gst/gstmemchunk.c:
2945 * gst/gstmemchunk.h:
2946 * gst/gsttrashstack.c:
2947 * gst/gsttrashstack.h:
2948 out. get out. you're fired. to the Attic !
2950 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
2952 * gst/gstcaps.c: (gst_caps_intersect):
2953 fix signedness issues in a (hopefully) correct way
2954 * gst/gstelement.c: (gst_element_pads_activate):
2956 * gst/gstobject.c: (gst_object_set_parent):
2959 2005-10-17 Julien MOUTTE <julien@moutte.net>
2961 * gst/gstvalue.h: Fix prototypes.
2963 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2965 * docs/gst/gstreamer-sections.txt:
2966 * gst/gst.c: (gst_version_string):
2968 * gst/gstversion.h.in:
2969 * win32/common/libgstreamer.def:
2970 add gst_version_string ()
2972 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2976 * gst/gst.c: (init_post):
2977 * win32/common/config.h.in:
2979 * gst/gstcaps.c: (gst_caps_intersect):
2980 use gint64, the range could be bigger than a guint
2982 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2985 document potential problem in 2038
2987 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2989 * gst/gstcaps.c: (gst_caps_intersect):
2990 Fix guint j diving under 0
2992 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2995 * win32/common/config.h:
2996 * win32/common/config.h.in:
2997 check for process.h, declares getpid() on Windows
2999 include process.h if we have it
3000 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
3001 * gst/gstmemchunk.h:
3002 fix signedness issues
3003 * win32/common/libgstreamer.def:
3006 2005-10-16 Julien MOUTTE <julien@moutte.net>
3008 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
3009 fix. Because of unsigned ints, caps intersection was going nuts and
3010 trying to access structures with G_MAXUINT index. That fixes
3011 videotestsrc ! ffmpegcolorspace ! fakesink
3012 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
3015 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3018 use the gettext macro
3019 * gst/elements/gstelements.c:
3021 * gst/indexers/gstindexers.c:
3022 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
3023 * win32/common/config.h:
3025 * win32/common/config.h.in:
3026 add the template to generate config.h
3027 * win32/common/gstenumtypes.c:
3028 * win32/common/gstversion.h:
3031 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3033 * gst/gst.c: (gst_version):
3034 * gst/gstversion.h.in:
3037 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
3040 Oops, add missing closing bracket.
3042 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3045 use common m4's for argument checking
3047 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
3049 * docs/gst/gstreamer-sections.txt:
3051 Add GST_EVENT_TYPE_NAME() macro.
3053 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3056 * gst/gstpluginfeature.c:
3058 privatize more symbols
3060 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3063 add srcdir, builddir includes to GST_ALL_CFLAGS, since
3064 everything that uses GStreamer API should have the includes
3066 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3068 * docs/gst/gstreamer-sections.txt:
3069 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3071 give each value a _get_type, removes the DATA exports
3073 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3077 remove _gst_registry_auto_load, not used anymore
3078 * gst/gstbin.c: (gst_bin_get_type):
3080 * gst/gstelement.c: (gst_element_get_type):
3082 * gst/gstobject.c: (gst_object_get_type):
3084 * gst/gstpad.c: (gst_pad_get_type):
3086 make _get_type functions similar, fixes data export from library
3088 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3091 correctly make conditionals
3092 * gst/elements/Makefile.am:
3093 * gst/elements/gstelements.c:
3094 fix typo causing fdsrc not to build
3096 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3098 * testsuite/Makefile.am:
3099 * testsuite/bytestream/.cvsignore:
3100 * testsuite/bytestream/Makefile.am:
3101 * testsuite/bytestream/filepadsink.c:
3102 * testsuite/bytestream/gstbstest.c:
3103 * testsuite/bytestream/test1.c:
3104 * testsuite/bytestream/testfile1:
3105 * testsuite/caps/normalisation.c:
3106 * testsuite/caps/random.c: (main):
3107 * testsuite/cleanup/.cvsignore:
3108 * testsuite/cleanup/Makefile.am:
3109 * testsuite/cleanup/cleanup1.c:
3110 * testsuite/cleanup/cleanup2.c:
3111 * testsuite/cleanup/cleanup3.c:
3112 * testsuite/cleanup/cleanup4.c:
3113 * testsuite/cleanup/cleanup5.c:
3114 * testsuite/controller/interpolator.c:
3115 * testsuite/debug/printf_extension.c: (main):
3116 * testsuite/elements/tee.c:
3117 * testsuite/negotiation/.cvsignore:
3118 * testsuite/negotiation/Makefile.am:
3119 * testsuite/negotiation/pad_link.c:
3120 * testsuite/pad/Makefile.am:
3121 * testsuite/pad/chainnopull.c:
3122 * testsuite/pad/getnopush.c:
3123 * testsuite/pad/link.c:
3124 * testsuite/refcounting/sched.c: (create_pipeline):
3125 * testsuite/registry/Makefile.am:
3126 * testsuite/registry/gst-print-formats.c:
3127 * testsuite/schedulers/.cvsignore:
3128 * testsuite/schedulers/142183-2.c:
3129 * testsuite/schedulers/142183.c:
3130 * testsuite/schedulers/143777-2.c:
3131 * testsuite/schedulers/143777.c:
3132 * testsuite/schedulers/147713.c:
3133 * testsuite/schedulers/147819.c:
3134 * testsuite/schedulers/147894-2.c:
3135 * testsuite/schedulers/147894.c:
3136 * testsuite/schedulers/Makefile.am:
3137 * testsuite/schedulers/group_link.c:
3138 * testsuite/schedulers/queue_link.c:
3139 * testsuite/schedulers/relink.c:
3140 * testsuite/schedulers/unlink.c:
3141 * testsuite/schedulers/unref.c:
3142 * testsuite/schedulers/useless_iteration.c:
3143 * testsuite/states/bin.c:
3144 clean out/remove some stuff from the testsuite directories
3146 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3149 check for some headers
3150 * gst/elements/Makefile.am:
3151 * gst/elements/gstelements.c:
3152 don't compile fdsrc without sys/socket.h
3153 * gst/indexers/Makefile.am:
3154 * gst/indexers/gstindexers.c: (plugin_init):
3155 don't compile fileindex without mmap
3157 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3164 * check/Makefile.am:
3165 * docs/gst/Makefile.am:
3166 * examples/helloworld/Makefile.am:
3168 * gst/base/Makefile.am:
3169 * gst/check/Makefile.am:
3170 * gst/elements/Makefile.am:
3171 * gst/indexers/Makefile.am:
3172 * gst/parse/Makefile.am:
3173 * libs/gst/controller/Makefile.am:
3174 * libs/gst/dataprotocol/Makefile.am:
3175 * examples/helloworld/helloworld.c: (event_loop):
3176 compile fixes, though it's not being compiled currently
3178 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
3180 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
3181 Add some simple tests for the new taglist date API.
3183 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
3185 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
3186 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
3187 Beautify 'last-message' output: print 'none' for buffer timestamps
3188 and durations if none is set; improve alignment with next messages.
3190 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
3192 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
3193 * gst/gstpluginfeature.h:
3194 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
3195 * gst/gstregistry.h:
3196 * docs/gst/gstreamer-sections.txt:
3197 Add new API to check plugin feature version requirements.
3199 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
3200 Some basic tests for the above.
3202 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3204 * gst/gststructure.c: (gst_structure_to_string):
3205 guard against NULL printf - happens when for example
3206 a message structure with GstClock gets serialized
3208 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
3210 * gst/base/gstcollectpads.c: (gst_collectpads_event):
3211 Fix presumable copy'n'pasto.
3213 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3215 * gst/elements/gstfakesrc.h:
3216 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
3217 * gst/elements/gsttypefindelement.c:
3219 * gst/elements/gstfilesink.c: (gst_file_sink_render):
3220 I wonder if this could actually write +2GB files before
3222 2005-10-13 Andy Wingo <wingo@pobox.com>
3224 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
3225 Fix Timmeke Waymans bug.
3226 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
3227 string of the proper length to gst_caps_from_string. There's a
3228 potential for, before this fix, that this could cause someone
3229 connecting over the network to cause a segfault if the payload is
3232 2005-10-13 Stefan Kost <ensonic@users.sf.net>
3234 * docs/design/draft-push-pull.txt:
3235 * docs/design/part-overview.txt:
3236 * docs/random/TODO-pre-0.9:
3237 * docs/random/old/ChangeLog.gstreamer:
3238 * gst/base/gstpushsrc.c:
3242 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3244 * gst/glib-compat.c: (gst_flags_get_first_value):
3245 * gst/glib-compat.h:
3246 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
3247 (gst_value_compare_double), (gst_value_serialize_flags):
3248 GLib 2.6 g_flags_get_first_value has a bug that triggers an
3251 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3253 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3254 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3256 * tools/gst-launch.c: (event_loop):
3257 print out clock nicely
3259 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
3261 * docs/gst/gstreamer-sections.txt:
3263 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
3264 (gst_tag_list_get_date_index):
3265 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
3266 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
3268 2005-10-13 Julien MOUTTE <julien@moutte.net>
3270 * gst/base/gstcollectpads.c: (gst_collectpads_event),
3271 (gst_collectpads_chain):
3272 * gst/base/gstcollectpads.h: Handle newsegment and store informations
3275 2005-10-13 Stefan Kost <ensonic@users.sf.net>
3277 * docs/gst/gstreamer-sections.txt:
3280 * tools/gst-inspect.c: (main):
3281 * tools/gst-launch.c: (main):
3282 * tools/gst-run.c: (main):
3283 * tools/gst-xmlinspect.c: (main):
3284 fix GOption context leaks
3287 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3291 * win32/common/config.h:
3293 * win32/vs6/grammar.dsp:
3294 * win32/vs6/libgstelements.dsp:
3295 * win32/vs6/libgstreamer.dsp:
3298 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
3300 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3301 * gst/base/gstbasesrc.c: (gst_base_src_query):
3302 fix more guint64<->gdouble conversions
3304 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
3307 add win32-update target
3308 * win32/common/gstconfig.h:
3309 * win32/common/gstenumtypes.c:
3310 * win32/common/gstenumtypes.h:
3311 * win32/common/gstversion.h:
3312 add files that visual studio can't generate
3314 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
3317 add a win32-update target
3320 2005-10-12 Wim Taymans <wim@fluendo.com>
3322 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3323 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
3324 * gst/gstelement.c: (gst_element_commit_state),
3325 (gst_element_set_state):
3326 Protect flags with proper lock.
3327 unref provided cached clock in dispose.
3329 2005-10-12 Stefan Kost <ensonic@users.sf.net>
3332 * gst/gstminiobject.h:
3334 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
3335 removed unused flags from miniobject
3338 2005-10-12 Wim Taymans <wim@fluendo.com>
3340 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
3341 (gst_file_sink_event), (gst_file_sink_render):
3342 Flush before seeking.
3344 2005-10-12 Andy Wingo <wingo@pobox.com>
3346 * gst/gst.c (gst_init_check): Ignore unknown options, as has
3347 always been the case.
3349 2005-10-12 Stefan Kost <ensonic@users.sf.net>
3351 * check/gst/gstbin.c: (GST_START_TEST):
3352 * docs/gst/gstreamer-sections.txt:
3353 * gst/base/gstbasesink.c: (gst_base_sink_init):
3354 * gst/base/gstbasesrc.c: (gst_base_src_init),
3355 (gst_base_src_get_range), (gst_base_src_check_get_range),
3356 (gst_base_src_start), (gst_base_src_stop):
3357 * gst/base/gstbasesrc.h:
3358 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
3359 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3360 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
3364 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
3366 * gst/gstelement.c: (gst_element_is_locked_state),
3367 (gst_element_set_locked_state), (gst_element_commit_state),
3368 (gst_element_set_state):
3370 * gst/gstindex.c: (gst_index_init):
3372 * gst/gstminiobject.h:
3373 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
3374 (gst_object_set_parent):
3376 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
3377 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
3379 * gst/gstpadtemplate.h:
3380 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
3381 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
3382 * gst/gstpipeline.h:
3383 * gst/indexers/gstfileindex.c: (gst_file_index_load),
3384 (gst_file_index_commit):
3385 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
3386 * testsuite/pad/link.c: (gst_test_src_init),
3387 (gst_test_filter_init), (gst_test_sink_init):
3388 * testsuite/states/locked.c: (main):
3389 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
3390 moved bitshift from macro to enum definition
3392 2005-10-12 Wim Taymans <wim@fluendo.com>
3394 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
3395 * gst/elements/gstfilesink.c: (gst_file_sink_event),
3396 (gst_file_sink_render):
3397 Some more debugging info.
3399 2005-10-12 Wim Taymans <wim@fluendo.com>
3401 * docs/design/part-states.txt:
3402 * tools/gst-launch.c: (main):
3404 Revert non-intentional change.
3406 2005-10-12 Wim Taymans <wim@fluendo.com>
3408 * check/gst/gstbin.c: (GST_START_TEST):
3409 * check/gst/gstelement.c: (GST_START_TEST):
3410 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
3411 * check/gst/gstghostpad.c: (GST_START_TEST):
3412 * check/gst/gstpipeline.c: (GST_START_TEST):
3413 * check/pipelines/simple_launch_lines.c: (run_pipeline):
3414 * check/states/sinks.c: (GST_START_TEST):
3415 * gst/elements/gsttypefindelement.c: (stop_typefinding):
3416 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
3417 (gst_bin_remove_func), (gst_bin_get_state_func),
3418 (gst_bin_recalc_state), (gst_bin_change_state_func),
3420 * gst/gstelement.c: (gst_element_get_state_func),
3421 (gst_element_get_state), (gst_element_abort_state),
3422 (gst_element_commit_state), (gst_element_set_state),
3423 (gst_element_change_state), (gst_element_change_state_func):
3425 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
3426 (gst_pipeline_provide_clock_func):
3427 * gst/gstutils.c: (gst_element_link_pads_filtered):
3428 * tools/gst-launch.c: (main):
3429 * tools/gst-typefind.c: (main):
3430 Use GstClockTime in _get_state() instead of GTimeVal.
3431 Remove old code in gstutils.c
3433 2005-10-12 Andy Wingo <wingo@pobox.com>
3435 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
3438 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
3439 there is no task. Shouldn't affect any code, as nothing in our
3440 plugins checks this return value.
3441 (gst_pad_stop_task): Also take the stream lock if the pad has no
3444 2005-10-12 Wim Taymans <wim@fluendo.com>
3446 * gst/gstpad.c: (pre_activate), (post_activate),
3447 (gst_pad_activate_pull), (gst_pad_activate_push):
3448 Cleanup activation code. Reset old state if
3451 2005-10-12 Wim Taymans <wim@fluendo.com>
3453 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3454 (gst_base_sink_change_state):
3455 No need to prerol after receiving EOS.
3457 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
3458 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
3459 * gst/elements/gstidentity.c: (gst_identity_event):
3460 Print events more verbosely.
3462 2005-10-12 Wim Taymans <wim@fluendo.com>
3464 * check/Makefile.am:
3465 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
3466 * check/states/sinks2.c:
3467 Moved sinks2 testcode in sinks check.
3469 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
3470 (gst_bin_remove_func), (gst_bin_recalc_state),
3471 (gst_bin_change_state_func), (bin_bus_handler):
3472 Fix potential race condition when _get_state() iterated over an
3473 ASYNC element right before it posted a state completion.
3476 Do proper cast here.
3478 * gst/gstevent.c: (gst_event_new_newsegment),
3479 (gst_event_parse_newsegment):
3480 A playback rate of 0.0 is not allowed.
3482 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3484 * win32/common/config.h:
3485 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
3486 (_trewinddir), (_ttelldir), (_tseekdir):
3487 * win32/common/dirent.h:
3488 * win32/common/gtchar.h:
3489 * win32/common/libgstbase.def:
3490 * win32/common/libgstreamer.def:
3491 * win32/vs6/grammar.dsp:
3492 * win32/vs6/gst_inspect.dsp:
3493 * win32/vs6/gst_launch.dsp:
3494 * win32/vs6/gstreamer.dsw:
3495 * win32/vs6/libgstbase.dsp:
3496 * win32/vs6/libgstelements.dsp:
3497 * win32/vs6/libgstreamer.dsp:
3498 Visual Studio 6 project files, and a new common directory.
3501 2005-10-11 Wim Taymans <wim@fluendo.com>
3503 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3504 (gst_base_sink_do_sync), (gst_base_sink_query),
3505 (gst_base_sink_change_state):
3506 * gst/base/gstbasesink.h:
3507 Correctly parse newsegment info.
3509 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3511 * gst/gst.c: (init_post):
3512 split plugin paths correctly
3514 2005-10-11 Wim Taymans <wim@fluendo.com>
3516 * check/gst/gstevent.c: (GST_START_TEST):
3517 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3518 (gst_base_sink_change_state):
3519 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
3520 * gst/base/gstbasetransform.c: (gst_base_transform_event):
3521 * gst/elements/gstfilesink.c: (gst_file_sink_event):
3522 * gst/gstevent.c: (gst_event_new_newsegment),
3523 (gst_event_parse_newsegment):
3525 Added extra flag to newsegment for future API freeze.
3526 Updated check and base elements.
3528 2005-10-11 Julien MOUTTE <julien@moutte.net>
3530 * gst/base/gstcollectpads.c: (gst_collectpads_init),
3531 (gst_collectpads_add_pad), (gst_collectpads_pop),
3532 (gst_collectpads_event), (gst_collectpads_chain):
3533 * gst/base/gstcollectpads.h: Handle EOS correctly.
3535 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3537 * tools/gst-launch.c: (main):
3538 more null protecting
3540 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3542 * gst/gst-i18n-lib.h:
3543 check for ENABLE_NLS, not GETTEXT_PACKAGE
3544 * gst/gstregistry.c: (gst_registry_add_plugin),
3545 (gst_registry_scan_path_level),
3546 (_gst_registry_remove_cache_plugins):
3547 protect possibly NULL strings
3548 * gst/parse/types.h:
3549 config.h already included before
3550 * tools/gst-inspect.c: (main):
3551 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
3552 check for ENABLE_NLS, not GETTEXT_PACKAGE
3553 * tools/gst-launch.c: (main):
3554 check for ENABLE_NLS, not GETTEXT_PACKAGE
3556 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3559 if we don't have glib, fail before testing 2.8
3560 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
3561 fix a leak, should fix plugins-base testsuite
3563 2005-10-11 Andy Wingo <wingo@pobox.com>
3565 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
3566 take the mode we're going to as an arg. Go head and set the mode
3567 and flushing flags now, so that if the activate function starts a
3568 thread all the flags will be in the right state.
3569 (post_activate): Renamed also. Just handle making sure streaming
3570 finishes for the deactivation case, and setting the deactivated
3572 (gst_pad_set_active): Complain loudly if deactivation fails.
3573 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
3574 (gst_pad_activate_push): Adapt to pre/post_activate changes,
3575 remove the terrible hack.
3577 2005-10-11 Wim Taymans <wim@fluendo.com>
3579 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
3580 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
3581 (gst_bin_recalc_state), (gst_bin_change_state_func),
3582 (gst_bin_dispose), (bin_bus_handler):
3584 Prepare to make current EOS message queue more generic.
3587 * gst/gstevent.c: (gst_event_new_newsegment),
3588 (gst_event_parse_newsegment):
3590 Rename base to stream_time.
3595 2005-10-11 Wim Taymans <wim@fluendo.com>
3597 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
3598 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
3599 (gst_bin_change_state_func), (bin_bus_handler):
3601 Work on proper clock selection.
3603 2005-10-11 Edward Hervey <edward@fluendo.com>
3605 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
3606 * libs/gst/controller/gstcontroller.h:
3607 Added GList* version of _remove_properties() in order to be able to wrap
3610 2005-10-11 Wim Taymans <wim@fluendo.com>
3612 * docs/design/part-states.txt:
3615 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
3616 (gst_bin_change_state_func), (bin_bus_handler):
3617 Doc updates. Don't distribute the same clock over and over again.
3623 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
3624 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
3625 (gst_pad_send_event):
3627 Make probe emission threadsafe again.
3628 Register quarks and move _get_name() from utils.
3631 * gst/gstpipeline.c: (gst_pipeline_class_init),
3632 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
3633 Only redistribute the clock of it changed.
3635 * gst/gstsystemclock.h:
3640 Moved the _flow_get_name() to GstPad.
3642 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3644 * check/gst-libs/gdp.c: (GST_START_TEST):
3645 * check/gst/gstcaps.c: (GST_START_TEST):
3646 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
3647 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
3648 (gst_dp_packet_from_caps):
3649 fix more valgrind warnings before turning up the heat
3651 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
3653 * gst/parse/grammar.y:
3654 some cleanup before the hacking
3656 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
3658 * gst/base/gstbasesrc.c: (gst_base_src_query):
3660 * gst/gstutils.c: (gst_guint64_to_gdouble),
3661 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
3663 externalize, basesrc uses it
3664 obviously the implementation needs testing
3666 2005-10-10 Wim Taymans <wim@fluendo.com>
3668 * tests/sched/Makefile.am:
3669 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
3670 (make_pipeline3), (make_pipeline4), (print_elem), (main):
3672 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
3674 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
3675 apparently converting from guint64 to double is not implemented
3678 2005-10-10 Wim Taymans <wim@fluendo.com>
3680 * check/Makefile.am:
3681 * check/generic/states.c: (GST_START_TEST):
3682 * check/gst/gstbin.c: (GST_START_TEST):
3683 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
3684 * check/states/sinks.c: (GST_START_TEST):
3685 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
3687 Check fixes, use API as stated in design docs, remove hacks.
3689 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3690 (gst_base_sink_change_state):
3691 Catch stopping our task while we're shutting down.
3693 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
3694 (gst_bin_remove_func), (gst_bin_get_state_func),
3695 (gst_bin_recalc_state), (gst_bin_change_state_func),
3698 * gst/gstelement.c: (gst_element_init),
3699 (gst_element_get_state_func), (gst_element_abort_state),
3700 (gst_element_commit_state), (gst_element_lost_state),
3701 (gst_element_set_state), (gst_element_change_state),
3702 (gst_element_change_state_func):
3704 New state change algorithm (see #318116)
3706 * gst/gstpipeline.c: (gst_pipeline_class_init),
3707 (gst_pipeline_init), (gst_pipeline_set_property),
3708 (gst_pipeline_get_property), (do_pipeline_seek),
3709 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
3710 * gst/gstpipeline.h:
3711 Remove crude state change hacks.
3716 * tools/gst-launch.c: (main):
3717 Fixes for state change. Needs some more work to fully use the
3720 2005-10-10 Andy Wingo <wingo@pobox.com>
3722 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
3724 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
3725 this flag, but it's not even in GLib 2.6. Odd. Hack around the
3728 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
3730 * gst/gstiterator.c: (gst_iterator_new):
3731 Fix my previous commit: GTypes passed to gst_iterator_new()
3732 can be fundamental types.
3734 2005-10-10 Wim Taymans <wim@fluendo.com>
3736 * gst/gstelement.c: (gst_element_iterate_pad_list),
3737 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
3738 (gst_element_iterate_sink_pads):
3739 Use src/sink pads lists for the respective iterators instead
3742 2005-10-10 Andy Wingo <wingo@pobox.com>
3744 Merged in popt removal + GOption addition patch from Ronald, bug
3747 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
3748 GstElement macros around, remove popt-related symbols, add goption
3751 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
3753 * docs/gst/Makefile.am:
3754 * docs/libs/Makefile.am: No POPT_CFLAGS.
3756 * examples/manual/Makefile.am:
3757 * docs/manual/basics-init.xml: Doc updates with an example.
3759 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
3760 (gst_init), (parse_one_option), (parse_goption_arg):
3761 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
3762 bit of hand merging and debugging to get the GOption stuff working
3765 * tests/Makefile.am:
3766 * tools/Makefile.am:
3767 * tools/gst-inspect.c: (main):
3768 * tools/gst-launch.c: (main):
3769 * tools/gst-run.c: (main):
3770 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
3772 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
3774 * gst/gstiterator.c: (gst_iterator_new):
3775 Add assertions to make sure passed GType is likely to really
3776 be a GType (as the compiler won't catch it if the size and
3777 GType arguments get mixed up, see #318447).
3779 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
3781 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
3783 * gst/gstbin.c: (gst_bin_iterate_sorted):
3784 Pass GType and size arguments to gst_iterator_new() in the right
3785 order (maybe we should make _new() take the GType as first argument
3786 just like _new_list()?) (#318447).
3789 2005-10-10 Wim Taymans <wim@fluendo.com>
3791 * gst/gstelement.c: (gst_element_finalize):
3792 And free the GStaticRecMutex too
3794 2005-10-10 Andy Wingo <wingo@pobox.com>
3796 * gst/gstelement.c (gst_element_init, gst_element_finalize):
3797 Allocate and free the mutex properly.
3799 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
3801 (GstElement): The state_lock is now recursive. Rebuild your
3802 plugins, suckers. Old macros adapted.
3804 * docs/gst/gstreamer-sections.txt: Doc updates.
3807 * gst/gstutils.c (g_static_rec_cond_timed_wait)
3808 (g_static_rec_cond_wait): Ported from state changes patch, while
3809 we wait on bug #317802 to be solved in a well-distributed GLib.
3811 * gst/gstelement.c (gst_element_change_state_func): Renamed from
3812 gst_element_change_state, variable name changes.
3813 (gst_element_change_state): Split out of gst_element_set_state in
3814 preparation for the state change merge. Doesn't pay attention to
3815 the 'transition' argument.
3816 (gst_element_set_state): Updates, hopefully purely cosmetic.
3817 (gst_element_sync_state_with_parent): MT-safety. Ported from the
3819 (gst_element_get_state_func): Renamed from get_state, cosmetic
3822 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
3824 * gst/elements/gstelements.c:
3825 * win32/GStreamer.vcproj:
3827 * win32/dirent.c: (_tseekdir):
3828 * win32/gst-inspect.vcproj:
3829 * win32/gst-launch.vcproj:
3830 * win32/gstconfig.h:
3831 * win32/gstelements.vcproj:
3832 * win32/gstenumtypes.c: (gst_object_flags_get_type):
3833 * win32/gstreamer.def:
3835 updates for the win32 build (patch from Sebastien Moutte)
3837 2005-10-10 Andy Wingo <wingo@pobox.com>
3839 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
3840 gst_bin_get_state, cleaned up (but no logic changes).
3841 (bin_element_is_sink): Comment updates.
3842 (sink_iterator_filter): Remove needless cast.
3843 (gst_bin_iterate_sinks): Doc update.
3844 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
3845 cleaned up (but no logic changes).
3847 * check/states/sinks.c (test_src_sink): Cleanups from the state
3849 (test_livesrc_sink): Sync on the state.
3851 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
3852 the state change patch.
3854 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
3857 * check/gst/gstbin.c: Merge in some style fixes and additional
3858 checks from Wim's state change patch.
3860 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
3862 * gst/base/gsttypefindhelper.c: (helper_find_peek),
3863 (gst_type_find_helper):
3864 Check whether we have the requested data already in our list of
3865 cached buffers before pulling a new buffer; also make the buffer
3866 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
3868 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
3873 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
3874 don't use long long, it's not portable. Replacing with
3875 gint64 seems to work; let's hope no skeletons fall out of the closet.
3877 2005-10-10 Andy Wingo <wingo@pobox.com>
3879 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
3881 2005-10-09 Stefan Kost <ensonic@users.sf.net>
3883 * docs/gst/gstreamer-sections.txt:
3888 * gst/gstmessage.c: (gst_message_parse_state_changed):
3891 more docs, fix compilation
3893 2005-10-09 Philippe Khalaf <burger@speedy.org>
3895 Fixed a few forgotten variables on previous commit
3897 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
3899 * gst/base/gsttypefindhelper.c: (helper_find_peek):
3900 Fix evil typefind crasher: getrange() might return a short
3901 buffer at the end of a file, but gst_type_find_peek() must
3902 either return the full data as requested or NULL, but
3903 never a short buffer.
3905 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
3907 * gst/gstmessage.c: (gst_message_new_state_changed),
3908 (gst_message_parse_state_changed):
3910 don't use "new", it's a C++ keyword
3912 2005-10-08 Wim Taymans <wim@fluendo.com>
3914 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
3915 * gst/gstelement.c: (gst_element_post_message):
3916 * gst/gstpipeline.c: (gst_pipeline_change_state):
3917 Small docs and debug updates.
3919 2005-10-08 Stefan Kost <ensonic@users.sf.net>
3921 * docs/gst/gstreamer-sections.txt:
3922 * gst/gstelementfactory.c:
3927 2005-10-08 Wim Taymans <wim@fluendo.com>
3929 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
3930 (gst_bin_dispose), (bin_bus_handler):
3931 Fix typos, add comments.
3932 Clear EOS list when going to PAUSED from any direction and do it
3933 in a threadsafe way.
3934 Get base time in a threadsafe way too.
3935 Fix confusing debug in the change_state function.
3936 Various other small cleanups.
3938 * gst/gstelement.c: (gst_element_post_message):
3939 Fix very verbose bus posting code.
3941 * gst/gstpipeline.c: (gst_pipeline_class_init),
3942 (gst_pipeline_set_property), (gst_pipeline_get_property),
3943 (gst_pipeline_change_state):
3944 Small ARG_ -> PROP_ cleanup
3946 2005-10-08 Wim Taymans <wim@fluendo.com>
3948 * gst/gstbin.c: (is_eos), (bin_bus_handler):
3949 Do a less CPU demanding EOS check because we can.
3951 2005-10-08 Wim Taymans <wim@fluendo.com>
3953 * libs/gst/dataprotocol/dataprotocol.c:
3954 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
3955 (gst_dp_packet_from_event):
3956 * libs/gst/dataprotocol/dataprotocol.h:
3957 * libs/gst/dataprotocol/dp-private.h:
3958 It's about time we bump the version number.
3959 Since event types don't fit in the guint8 anymore describing
3960 the payload type, make payload type 16 bits wide.
3962 2005-10-08 Wim Taymans <wim@fluendo.com>
3964 * docs/design/part-TODO.txt:
3965 * docs/design/part-clocks.txt:
3966 * docs/design/part-events.txt:
3967 * docs/design/part-gstbin.txt:
3968 * docs/design/part-gstelement.txt:
3969 * docs/design/part-gstpipeline.txt:
3970 * docs/design/part-live-source.txt:
3971 * docs/design/part-messages.txt:
3972 * docs/design/part-overview.txt:
3973 * docs/design/part-states.txt:
3976 2005-10-08 Wim Taymans <wim@fluendo.com>
3980 Fix event quark registration.
3981 Add some space between events so we can insert them in the
3984 2005-10-08 Wim Taymans <wim@fluendo.com>
3986 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3987 (gst_base_sink_handle_buffer):
3994 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
3995 (gst_queue_set_property), (gst_queue_get_property):
3997 Remove old unused properties.
3999 2005-10-08 Stefan Kost <ensonic@users.sf.net>
4000 * docs/gst/gstreamer-sections.txt:
4003 * gst/gstminiobject.c:
4004 * gst/gstminiobject.h:
4008 lots of new docs and doc fixes
4010 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4012 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
4014 * gst/gstregistry.c: (gst_registry_lookup_locked),
4015 (gst_registry_scan_path_level):
4016 * gst/gstregistryxml.c: (load_plugin):
4017 Only ever load one plugin for a given plugin basename.
4018 This ensures correct overriding of GST_PLUGIN_PATH over
4019 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
4020 system installed plugins.
4022 2005-10-08 Wim Taymans <wim@fluendo.com>
4024 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4025 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
4026 Prepare for doing QOS.
4028 2005-10-08 Wim Taymans <wim@fluendo.com>
4030 * check/gst/gstbin.c: (GST_START_TEST):
4031 * check/pipelines/cleanup.c: (GST_START_TEST):
4032 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
4033 Allow new clock message too.
4035 2005-10-08 Wim Taymans <wim@fluendo.com>
4037 * gst/gstmessage.c: (gst_message_new_error),
4038 (gst_message_new_warning), (gst_message_new_tag),
4039 (gst_message_new_state_changed), (gst_message_new_clock_provide),
4040 (gst_message_new_clock_lost), (gst_message_new_new_clock),
4041 (gst_message_new_segment_start), (gst_message_new_segment_done),
4042 (gst_message_parse_state_changed),
4043 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
4044 (gst_message_parse_new_clock):
4046 Also carry the clock in question.
4048 2005-10-08 Wim Taymans <wim@fluendo.com>
4050 * gst/gstmessage.c: (gst_message_new_custom),
4051 (gst_message_new_eos), (gst_message_new_error),
4052 (gst_message_new_warning), (gst_message_new_tag),
4053 (gst_message_new_state_changed), (gst_message_new_clock_provide),
4054 (gst_message_new_new_clock), (gst_message_new_segment_start),
4055 (gst_message_new_segment_done), (gst_message_parse_state_changed),
4056 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
4059 Added clock related messages.
4061 * gst/gstpipeline.c: (gst_pipeline_change_state):
4062 Post message when the clock changed.
4064 * tools/gst-launch.c: (event_loop):
4067 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
4069 * tools/gst-inspect.c: (print_element_properties_info):
4070 Can't pass NULL strings to g_print() on windows.
4072 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4075 * docs/gst/Makefile.am:
4076 * docs/gst/gstreamer-docs.sgml:
4077 * docs/gst/running.xml:
4078 * docs/version.entities.in:
4079 add a chapter on running GStreamer.
4080 document GST_DEBUG and GST_PLUGIN* env vars
4082 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4087 remove PLUGINS_BUILDDIR stuff
4088 * gst/gst.c: (init_post):
4089 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
4091 remove, it was condescending and not needed
4093 2005-10-08 Wim Taymans <wim@fluendo.com>
4095 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4096 (gst_base_sink_handle_object), (gst_base_sink_event),
4097 (gst_base_sink_wait), (gst_base_sink_handle_event),
4098 (gst_base_sink_change_state):
4099 * gst/base/gstbasesink.h:
4100 Repost EOS message while going to PLAYING if still EOS.
4101 Make sure that when receiving a FLUSH_START we don't attempt
4102 to sync on the clock anymore.
4104 2005-10-08 Wim Taymans <wim@fluendo.com>
4106 * tools/gst-launch.c: (event_loop):
4107 Better message printout.
4109 2005-10-08 Wim Taymans <wim@fluendo.com>
4111 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
4112 (gst_bin_child_proxy_get_children_count):
4113 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
4114 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
4115 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
4116 (gst_child_proxy_set_valist):
4117 * gst/parse/grammar.y:
4118 Make ChildProxy threadsafe and fix mem leaks.
4120 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4122 * gst/gst.c: (init_post):
4123 debug the GST_PLUGIN_ env vars
4125 2005-10-08 Wim Taymans <wim@fluendo.com>
4127 * check/gst/gstbin.c: (GST_START_TEST):
4128 * check/gst/gstmessage.c: (GST_START_TEST):
4129 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
4130 * gst/gstelement.c: (gst_element_commit_state),
4131 (gst_element_lost_state):
4132 * gst/gstmessage.c: (gst_message_new_state_changed),
4133 (gst_message_parse_state_changed):
4135 * tools/gst-launch.c: (event_loop):
4136 Added extra field to STATE_CHANGE message with the pending
4137 state, which will be different from the new state soon.
4139 2005-10-08 Wim Taymans <wim@fluendo.com>
4141 * gst/gstbus.c: (gst_bus_pop):
4143 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
4144 Small cleanups and doc updates.
4146 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4148 * gst/gst.c: (init_pre):
4149 * gst/gstbin.c: (gst_bin_add_func):
4150 log distributing clocks and base time
4151 * gst/gstregistry.c: (gst_registry_add_plugin),
4152 (gst_registry_scan_path_level), (gst_registry_scan_path):
4153 clean up the debugging output a little
4154 * gst/gstutils.c: (gst_element_state_get_name):
4155 warn about a memleak (I've actually seen this be used, though
4156 it was probably a bug)
4158 2005-10-07 Wim Taymans <wim@fluendo.com>
4160 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4161 (gst_base_src_init), (gst_base_src_default_newsegment),
4162 (gst_base_src_newsegment), (gst_base_src_do_seek),
4163 (gst_base_src_loop), (gst_base_src_start):
4164 * gst/base/gstbasesrc.h:
4165 Make the newsegment event customizable by subclasses.
4167 2005-10-07 Wim Taymans <wim@fluendo.com>
4169 * gst/gstevent.c: (gst_event_new_buffersize),
4170 (gst_event_parse_buffersize):
4172 New event for future idea.
4174 2005-10-07 Andy Wingo <wingo@pobox.com>
4176 * gst/gstelement.c (gst_element_post_message): Doc update.
4178 * docs/gst/gstreamer-sections.txt: Update.
4180 * gst/gstmessage.c (gst_message_new_application): Made into a
4181 function like honest API calls.
4182 (gst_message_new_element): New message type.
4184 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
4186 * check/elements/fakesrc.c (test_no_preroll): New check, checks
4187 that setting a live fakesrc to PAUSED returns NO_PREROLL both
4190 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
4191 NO_PREROLL from gst_element_change_state to fall through.
4193 2005-10-07 Wim Taymans <wim@fluendo.com>
4195 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
4196 (gst_ghost_pad_do_activate_push):
4197 Activating a ghostpad with no internal pad in push mode
4200 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
4203 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
4204 Fixes compilation on Windows.
4206 2005-10-07 Michael Smith <msmith@fluendo.com>
4208 * tools/gst-inspect.c:
4209 Print out feature and plugin count at the end when printing out
4212 2005-10-04 Michael Smith <msmith@fluendo.com>
4214 * gst/gsterror.c: (_gst_stream_errors_init):
4215 Add another error string used in a few existing plugins.
4218 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
4219 * tools/gst-inspect.c: (print_element_info):
4220 When a feature disappears from a plugin (and the feature exists in
4221 the cached registry file), things went horribly wrong. This isn't a
4222 complete fix, we should actually be removing the 'missing' features
4223 from the features list when we load the actual plugin. That's not
4226 2005-10-04 Johan Dahlin <johan@gnome.org>
4228 * check/gst/gstiterator.c: (GST_START_TEST):
4229 * gst/gstbin.c: (gst_bin_iterate_elements),
4230 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
4231 * gst/gstelement.c: (gst_element_iterate_pads):
4232 * gst/gstformat.c: (gst_format_iterate_definitions):
4233 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
4234 (gst_iterator_new_list), (gst_iterator_filter):
4235 * gst/gstiterator.h:
4236 * gst/gstquery.c: (gst_query_type_iterate_definitions):
4237 Add a GType to GstIterator, update callsites and tests.
4239 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
4241 * gst/gstpad.c: (gst_pad_event_default_dispatch):
4242 give events a chance to be handled by event probes when the pad
4245 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
4247 * gst/gstevent.c: (gst_event_type_get_name),
4248 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
4250 add string representations for event types
4252 2005-10-06 Wim Taymans <wim@fluendo.com>
4254 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
4255 Don't use NULL pointers.
4257 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
4259 * gst/gst_private.h:
4263 * gst/gstpluginfeature.c:
4264 widen the debug category in output to fit the biggest one we have
4265 add a bus category and use it
4266 play with the colors
4267 fix up some categories
4269 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
4271 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
4272 add push activation of sink ghost pads.
4273 Andye, please verify
4275 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
4277 * gst/gstutils.c: (gst_element_link_pads):
4278 fix a bug in the case where neither element has a pad
4279 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
4280 add a test for that case
4282 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
4284 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
4285 emit have-data before checking for peers. This allows
4286 for probe handlers to connect elements. This helps autopluggers.
4287 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
4289 add six checks, linked/unlinked with no/true/false probe
4291 2005-10-04 Wim Taymans <wim@fluendo.com>
4293 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
4294 (gst_fake_sink_event), (gst_fake_sink_preroll),
4295 (gst_fake_sink_render), (gst_fake_sink_change_state):
4296 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
4297 (gst_fake_src_get_property), (gst_fake_src_create),
4298 (gst_fake_src_stop):
4299 * gst/elements/gstidentity.c: (gst_identity_stop):
4300 Protect last_message with lock.
4302 2005-10-04 Edward Hervey <edward@fluendo.com>
4305 Added precision in the comments for GST_FORMAT_DEFAULT
4307 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
4309 * tools/gst-launch.c: (main):
4310 Don't try to run erroneous pipelines.
4312 2005-10-04 Julien MOUTTE <julien@moutte.net>
4314 * gst/gstbus.c: We don't need this header.
4316 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
4321 === release 0.9.3 ===
4323 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
4327 Releasing 0.9.3, "Unregistered"
4329 2005-10-03 Andy Wingo <wingo@pobox.com>
4331 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
4332 whereby calling a pad's activatepush() function can start a thread
4333 that starts to push or pull before the pad gets the FLUSHING flag
4334 unset. Hack around it by holding the stream lock until the flag is
4335 set. Need to replace this with a proper solution. Together with
4336 the ghost pad fixes, this fixes mp3 playing/tagreading.
4338 * docs/design/part-gstghostpad.txt: Add a note about activation of
4339 proxy pads outside of ghost pads.
4341 * gst/gstghostpad.c: Implement the ghost pad activation design.
4343 2005-10-02 Andy Wingo <wingo@pobox.com>
4345 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
4346 It is volatile, after all.
4348 * docs/design/part-gstghostpad.txt: Flesh out activation with
4351 * gst/base/gstbasesrc.c (gst_base_src_init): Use
4354 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
4357 Fix (unused) AM_CONDITIONAL tests.
4359 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
4361 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4363 * gst/gstutils.c: (gst_pad_query_convert):
4364 Add assertion that makes sure src_val is >=0, just like
4365 gst_query_new_convert() has. (#315895)
4367 2005-09-30 Edward Hervey <edward@fluendo.com>
4369 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
4370 Let's not iterate pads we're not interested in, it avoids getting
4371 sky-high refcounts on sinkpad.
4373 2005-09-30 Wim Taymans <wim@fluendo.com>
4375 * gst/gstelement.c: (gst_element_set_state),
4376 (gst_element_change_state):
4377 Small tweak, element in ASYNC remains ASYNC.
4379 2005-09-30 Wim Taymans <wim@fluendo.com>
4381 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
4382 Only error is an error.
4384 * gst/gstbin.c: (gst_bin_change_state):
4387 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
4388 Also call pad_block in pad alloc.
4390 * gst/gstutils.c: (gst_flow_get_name):
4393 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
4395 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4396 (gst_base_src_get_range):
4397 Fix documentation typos. Add some more debug info.
4399 2005-09-29 David Schleef <ds@schleef.org>
4401 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
4402 more end-user friendly.
4403 * tools/gst-inspect.c: (main): Check if command-line argument is
4404 a file and attempt to load that file as a plugin.
4406 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
4408 * check/gst/gstbin.c:
4409 * check/states/sinks.c:
4410 fix tests for the new warning
4411 * check/gst/gstpipeline.c:
4412 add a test for pipeline and bus interaction
4414 elements should be NULL if they get disposed; add a warning if not
4416 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
4419 for 2.6 refcounting, make debug log more correct by printing
4420 the actual refcounts at the time of swap (Wim)
4422 2005-09-29 Andy Wingo <wingo@pobox.com>
4424 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
4425 removes signal watches previously added via
4426 gst_bus_add_signal_watch.
4427 (gst_bus_add_signal_watch): Don't return the source id, just store
4428 it on the bus if there wasn't an id already.
4430 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
4431 add_signal_watch and remove_signal_watch.
4433 2005-09-29 Edward Hervey <edward@fluendo.com>
4435 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
4436 Better if we actually iterate the list :)
4438 2005-09-29 Wim Taymans <wim@fluendo.com>
4440 * check/gst/gstbin.c: (GST_START_TEST):
4441 Change for new bus API.
4443 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
4444 (send_messages), (GST_START_TEST), (gstbus_suite):
4445 Change for new bus signal API.
4447 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
4448 (gst_bus_source_prepare), (gst_bus_source_check),
4449 (gst_bus_create_watch), (gst_bus_add_watch_full),
4450 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
4451 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
4453 Remove support for multiple GSources operating on different
4454 message types as it is too complex and unneeded when using
4456 Added support for receiving signals from the bus.
4458 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
4460 * docs/libs/tmpl/gstdataprotocol.sgml:
4461 * docs/manual/advanced-dataaccess.xml:
4462 * gst/elements/gstcapsfilter.c:
4464 rename filter-caps to caps property
4466 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
4468 * gst/gstvalue.c: (gst_value_deserialize_fraction):
4469 More robust fraction string parsing.
4471 * docs/pwg/appendix-porting.xml:
4472 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
4474 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
4476 * gst/gstcaps.c: (gst_caps_do_simplify):
4477 Thou shalt not free a structure and then continue using it
4478 in the next loop iteration.
4480 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
4482 Add test case for caps simplification.
4484 2005-09-29 Wim Taymans <wim@fluendo.com>
4486 * check/gst/gstbin.c: (GST_START_TEST):
4489 2005-09-29 Wim Taymans <wim@fluendo.com>
4491 * check/gst/gstbin.c: (GST_START_TEST):
4494 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
4495 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
4496 (find_element), (gst_bin_sort_iterator_next),
4497 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4498 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4499 (gst_bin_change_state), (gst_bin_dispose):
4500 A bin does not have a bus, it gets the bus from the parent.
4502 * gst/gstelement.c: (gst_element_requires_clock),
4503 (gst_element_provides_clock), (gst_element_is_indexable),
4504 (gst_element_is_locked_state), (gst_element_change_state),
4505 (gst_element_set_bus_func):
4508 * gst/gstpipeline.c: (gst_pipeline_class_init),
4509 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
4510 The pipeline provides a bus.
4512 2005-09-28 Johan Dahlin <johan@gnome.org>
4514 * gst/gstmessage.c (gst_message_parse_state_changed): Use
4515 gst_structure_get_enum instead of gst_structure_get_int
4517 * gst/gststructure.c (gst_structure_get_enum): Impl.
4519 * gst/gststructure.h (gst_structure_get_enum): Add
4521 * docs/gst/gstreamer-sections.txt: Ditto
4523 * gst/gstmessage.c (gst_message_new_state_changed): Use
4524 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
4525 which does introspection.
4526 Reviewed by Christian Schaller
4528 2005-09-28 Stefan Kost <ensonic@users.sf.net>
4530 * gst/gstinfo.c: (gst_debug_log_default):
4531 don't do dummy g_strdup()s
4532 * libs/gst/controller/gstcontroller.c:
4533 (on_object_controlled_property_changed),
4534 (gst_controlled_property_new), (gst_controller_new_valist),
4535 (gst_controller_new_list),
4536 (gst_controller_remove_properties_valist), (gst_controller_set),
4537 (gst_controller_get), (gst_controller_sync_values),
4538 (gst_controller_get_value_array), (_gst_controller_class_init),
4539 (gst_controller_get_type):
4540 * libs/gst/controller/gstcontroller.h:
4541 * libs/gst/controller/gstinterpolation.c:
4542 (gst_controlled_property_find_timed_value_node):
4543 convert // to /**/ comments
4545 2005-09-28 Wim Taymans <wim@fluendo.com>
4547 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
4548 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
4549 (gst_bus_sync_signal_handler):
4551 Added async-message and sync-message signals to the bus.
4552 Added helper BusFunc to emit signals for all posted messages.
4554 * gst/gstmessage.c: (gst_message_type_get_name),
4555 (gst_message_type_to_quark), (gst_message_get_type):
4557 Register quarks for message names.
4559 2005-09-28 Stefan Kost <ensonic@users.sf.net>
4561 * docs/libs/gstreamer-libs-sections.txt:
4562 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
4563 (gst_controller_new_list):
4564 * libs/gst/controller/gstcontroller.h:
4565 added another constructor for language bindings
4567 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
4569 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4573 * gst/gstinfo.c: (_gst_debug_init):
4574 slightly more readable color for refcount debugging
4576 2005-09-28 Wim Taymans <wim@fluendo.com>
4578 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
4579 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
4580 (find_element), (gst_bin_sort_iterator_next),
4581 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4582 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4583 (gst_bin_change_state), (gst_bin_dispose):
4584 Small doc fixes. get_clock -> provide_clock.
4586 * gst/gstelement.c: (gst_element_class_init),
4587 (gst_element_provides_clock), (gst_element_provide_clock),
4588 (gst_element_get_clock), (gst_element_commit_state),
4589 (gst_element_lost_state):
4591 Make get/set_clock() symetric. Add provide_clock vmethod since
4592 that is actually what this function does.
4594 * gst/gstpipeline.c: (gst_pipeline_class_init),
4595 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
4596 (gst_pipeline_get_clock):
4597 get_clock -> provide_clock.
4599 2005-09-28 Andy Wingo <wingo@pobox.com>
4601 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
4602 lieu of real docs...
4604 * gst/elements/gstfdsrc.c: Cleaned up a bit.
4606 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
4608 * gst/elements/gstcapsfilter.c:
4609 * gst/elements/gstfakesink.c:
4610 * gst/elements/gstfakesrc.c:
4611 * gst/elements/gstfdsink.c:
4612 * gst/elements/gstfdsrc.c:
4613 * gst/elements/gstfilesink.c:
4614 * gst/elements/gstfilesrc.c:
4615 * gst/elements/gstidentity.c:
4616 * gst/elements/gsttee.c:
4617 * gst/elements/gsttypefindelement.c:
4618 Make element details static.
4620 2005-09-28 Wim Taymans <wim@fluendo.com>
4622 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4623 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4624 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4625 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4626 (gst_bin_change_state), (gst_bin_dispose):
4627 Some documentation updates.
4628 Clean up dispose handlers.
4630 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
4631 * gst/gstpad.c: (gst_pad_dispose):
4632 Clean up dispose handler.
4634 * gst/gstpipeline.c: (gst_pipeline_change_state):
4635 Removed spurious UNLOCK.
4637 2005-09-27 Stefan Kost <ensonic@users.sf.net>
4639 * docs/gst/gstreamer-sections.txt:
4640 * gst/base/gstbasesrc.h:
4645 * gst/gstpipeline.c:
4646 * gst/gstpipeline.h:
4649 added two new functions to the docs
4650 documents all undocumented GstXXXFlags
4651 completed some incomplete docs
4653 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
4655 * gst/gstbin.c: (gst_bin_dispose):
4656 * gst/gstelement.c: (gst_element_dispose):
4657 remove now useless and leaky resurrection code in dispose
4658 * gst/base/gstbasesrc.c: (gst_base_src_init):
4659 * gst/gstelementfactory.c: (gst_element_factory_create):
4660 * gst/gstobject.c: (gst_object_set_parent):
4663 2005-09-27 Wim Taymans <wim@fluendo.com>
4665 * docs/design/part-TODO.txt:
4668 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4669 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4670 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4671 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4672 (gst_bin_change_state):
4674 Remove element variable, we keep element info in the iterator now.
4676 2005-09-27 Andy Wingo <wingo@pobox.com>
4678 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
4681 2005-09-27 Wim Taymans <wim@fluendo.com>
4683 * check/gst/gstbin.c: (GST_START_TEST):
4684 Enable check that works now.
4686 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4687 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4688 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4689 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4690 (gst_bin_change_state):
4692 Redid the state change algorithm using a topological sort algo.
4693 Handles all cases correctly.
4694 Exposed iterator for state change order.
4697 Temp storage for state changes. Need to get rid of this soon.
4699 2005-09-27 Wim Taymans <wim@fluendo.com>
4701 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
4702 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
4703 (link_fold_func), (gst_pad_proxy_setcaps):
4704 Leak fixes, the fold functions need to unref the passed object and
4705 _get_parent_*() returns ref to parent.
4707 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
4709 * check/gst/gstbuffer.c: (test_make_writable):
4710 Plug leak in test case and fix 'make check-valgrind'
4712 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
4714 * gst/gstbuffer.c: (gst_subbuffer_init):
4715 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
4716 works correctly in all circumstances (we could have just copied
4717 the parent buffer's readonly flag, but conceptually it seems
4718 cleaner to mark all subbuffers as read-only). (based on patch
4719 by Alessandro Decina, #314710).
4721 * check/gst/gstbuffer.c: (create_read_only_buffer),
4722 (test_make_writable), (test_subbuffer_make_writable),
4724 Add some tests for gst_buffer_make_writable().
4726 2005-09-27 Wim Taymans <wim@fluendo.com>
4728 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
4729 use gst_object_has_ancestor().
4731 * gst/gstobject.c: (gst_object_has_ancestor):
4733 gst_object_has_ancestor() copied from gstbin.c as it is a
4736 * tests/instantiate/create.c: (create_all_elements):
4737 * tests/lat.c: (handoff_src), (handoff_sink):
4738 * tests/sched/runxml.c: (main):
4739 * tests/seeking/seeking1.c: (main):
4740 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
4742 Fix compilation of some tests.
4744 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
4747 Remove comment. GST_TYPE_G_ERROR is here to stay,
4748 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
4751 2005-09-26 Wim Taymans <wim@fluendo.com>
4753 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4754 Added check that shows error in state change order.
4756 2005-09-26 Wim Taymans <wim@fluendo.com>
4758 * gst/gstbin.c: (gst_bin_change_state):
4759 Make state change function use 3 queues again, we were
4760 adding elements in the wrong order.
4762 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
4765 * gst/gstpad.c: (gst_pad_dispose):
4766 Added some debug info first.
4768 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
4770 * docs/design/draft-push-pull.txt:
4771 * docs/design/part-events.txt:
4772 * docs/design/part-overview.txt:
4773 * docs/design/part-scheduling.txt:
4774 Replace all _pull_region() with _pull_range()
4776 2005-09-26 Andy Wingo <wingo@pobox.com>
4778 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
4780 * check/gst-libs/controller.c: Update for controller api change.
4783 * tests/Makefile.am:
4784 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
4785 over by GLib bug 118439.
4787 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
4788 routines to a function.
4790 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
4792 * libs/gst/controller/gsthelper.c:
4793 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
4794 (gst_object_sync_values): Renamed from sink_values. Ugh.
4796 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
4798 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
4799 Renamed from controller_key, as it is exported.
4801 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
4803 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
4808 * gst/gstpadtemplate.h:
4811 * gst/gstqueryutils.c:
4812 * gst/gstqueryutils.h:
4813 remove queryutils headers after moving the two used functions
4814 to gstquery. also fixes build problem for gstsiddec
4816 2005-09-26 Michael Smith <msmith@fluendo.com>
4818 * tools/gst-launch.1.in:
4819 Correct documentation in manpage of debug syntax
4821 2005-09-26 Wim Taymans <wim@fluendo.com>
4823 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
4824 (gst_base_src_is_seekable), (gst_base_src_change_state):
4825 Some more debugging info.
4827 2005-09-25 Stefan Kost <ensonic@users.sf.net>
4829 * docs/gst/gstreamer-sections.txt:
4830 * gst/base/gstbasetransform.h:
4834 2005-09-25 Stefan Kost <ensonic@users.sf.net>
4836 * docs/gst/.cvsignore:
4837 * docs/gst/tmpl/.cvsignore:
4838 * docs/gst/tmpl/gstpipeline.sgml:
4839 * docs/gst/tmpl/gstplugin.sgml:
4840 * gst/gstpipeline.c:
4843 inlined the last two docs files
4844 removed the tmpl directory from cvs (no more conflicts here!)
4846 2005-09-25 Stefan Kost <ensonic@users.sf.net>
4848 * docs/gst/gstreamer-sections.txt:
4849 * docs/gst/tmpl/.cvsignore:
4850 * docs/gst/tmpl/gstpad.sgml:
4851 * docs/gst/tmpl/gstpadtemplate.sgml:
4853 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
4854 (gst_pad_finalize), (gst_pad_set_pad_template):
4856 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
4857 (gst_pad_template_class_init), (gst_pad_template_init),
4858 (gst_pad_template_dispose), (name_is_valid),
4859 (gst_static_pad_template_get), (gst_pad_template_new),
4860 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
4861 (gst_pad_template_pad_created):
4862 * gst/gstpadtemplate.h:
4863 inlined two more docs
4864 factored gstpadtemplate out of gstpad
4866 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
4868 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
4869 (test_children_state_change_order_semi_sink):
4870 Fix test case: we can't rely on a fixed state change order when
4871 going from READY => PAUSED because the sink might commit its
4872 new state first when the first buffer created by the source
4873 reaches the sink before the source has finished its change state.
4874 (Test case still fails at times, see #316856, comment 5 onwards)
4876 2005-09-24 Wim Taymans <wim@fluendo.com>
4878 * docs/design/part-events.txt:
4879 * docs/design/part-gstbus.txt:
4880 * docs/design/part-gstpipeline.txt:
4881 * docs/design/part-messages.txt:
4882 * docs/design/part-overview.txt:
4883 * docs/design/part-segments.txt:
4890 * gst/gstiterator.c:
4891 Various documentation updates.
4893 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
4896 Well, that's embarassing. Luckily we weren't using
4897 GST_CLOCK_DIFF anywhere.
4899 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
4901 * common/gtk-doc.mak:
4902 don't fail on building XML, FC4 slave shows a bunch of doc
4903 missing bits that I don't get
4905 * gst/gstpipeline.c:
4906 * gst/gststructure.c:
4909 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
4911 * docs/design/part-gstbin.txt:
4912 * docs/design/part-gstbus.txt:
4914 Add blurb about how the bus goes into flushing mode and
4915 drops all messages when its bin goes from READY into NULL
4918 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
4920 * docs/gst/gstreamer-sections.txt:
4921 * gst/gststructure.c: (gst_structure_get_clock_time):
4922 * gst/gststructure.h:
4923 add a method to get a GstClockTime out of a structure
4925 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
4927 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
4928 (test_children_state_change_order_semi_sink), (gst_bin_suite):
4929 Added test to check state change order in bins (can still be made
4930 to fail here under heavy disk load; bails out with 'Push on pad
4931 fakesink:sink0, but it was not activated in push mode').
4933 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
4934 Fix state change order when there is only a semi sink (#316856)
4936 * gst/gstbus.c: (gst_bus_class_init):
4937 Use _class_peek_parent(), not _class_ref(); fix docs to say
4938 'default main context' instead of 'mainloop' where that is
4941 * gst/gstelement.c: (gst_element_commit_state),
4942 (gst_element_set_state):
4943 Fix typos in debug messages
4945 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
4948 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
4949 * gst/gstpluginfeature.c:
4952 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4953 change an assert into an error until it gets fixed properly
4955 2005-09-23 Stefan Kost <ensonic@users.sf.net>
4957 * docs/gst/gstreamer-sections.txt:
4958 * docs/gst/tmpl/.cvsignore:
4959 * docs/gst/tmpl/gstelement.sgml:
4960 * docs/gst/tmpl/gstinfo.sgml:
4961 * docs/gst/tmpl/gstobject.sgml:
4966 * gst/gstobject.c: (gst_object_class_init):
4968 inlined 3 more biiiig doc files and added some missing docs on the fly
4970 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
4972 * check/gst/.cvsignore:
4973 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
4974 * gst/gstregistryxml.c: (load_plugin),
4975 (gst_registry_xml_save_plugin):
4976 put back source in registry. add checks for find_plugin.
4977 * testsuite/states/bin.c: (assert_state), (empty_bin),
4978 (test_adding_one_element), (main):
4979 * testsuite/states/locked.c: (main):
4980 some compile/run fixes
4982 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
4984 * check/gst/gstvalue.c: (GST_START_TEST):
4985 fix leaks in the test itself
4987 2005-09-22 Wim Taymans <wim@fluendo.com>
4989 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
4990 (gst_base_sink_send_event), (gst_base_sink_peer_query),
4991 (gst_base_sink_query):
4992 Prepare for more accurate position reporting and query
4995 * gst/gstelement.c: (gst_element_send_event),
4996 (gst_element_set_state):
4999 2005-09-22 Wim Taymans <wim@fluendo.com>
5001 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
5002 (gst_query_parse_segment):
5005 Add segment query for future use.
5007 2005-09-22 Wim Taymans <wim@fluendo.com>
5009 * gst/gstbin.c: (gst_bin_add_func):
5010 Some more debug info.
5012 * gst/gstelement.c: (gst_element_send_event):
5016 Don't know how flags got broken.
5021 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
5023 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
5024 Add simplistic test suite for GST_TYPE_DATE serialisation and
5027 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
5029 * docs/gst/gstreamer-sections.txt:
5030 * gst/gststructure.c: (gst_structure_set_valist),
5031 (gst_structure_get_date):
5032 * gst/gststructure.h:
5033 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
5034 (gst_date_copy), (gst_value_compare_date),
5035 (gst_value_serialize_date), (gst_value_deserialize_date),
5036 (gst_value_transform_date_string),
5037 (gst_value_transform_string_date), (_gst_value_initialize):
5039 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
5040 bunch of utility functions along with a hack that checks that
5041 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
5042 is required. Part of the grand scheme in #170777.
5044 2005-09-22 Andy Wingo <wingo@pobox.com>
5046 * gst/gstconfig.h.in: Psych out gtk-doc.
5048 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
5050 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
5052 * tools/gst-inspect.c (print_element_list): Plug some
5053 inconsequential leaks.
5055 * gst/gstregistry.c (gst_registry_get_default): Doc.
5057 * check/gst/gstplugin.c:
5058 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
5059 * gst/gstelementfactory.c (gst_element_factory_create):
5060 * gst/gstindexfactory.c (gst_index_factory_create): Update for
5063 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
5064 (gst_plugin_feature_load): Doc, don't eat refs.
5066 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
5067 (gst_plugin_list_free): Doc.
5068 (gst_plugin_load_file): Doc updates.
5070 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
5071 accessors returning refcounted objects, return a ref.
5073 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
5074 accessor for caps. IDEMPOTENCE. Oh yes.
5076 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
5078 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
5080 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
5081 (_gst_debug_register_funcptr):
5082 Add mutex to serialise access to the hash table with
5083 the function pointer => function name string mapping;
5084 make that hash table static scope (#316809).
5086 * gst/registries/.cvsignore:
5087 Remove left-over file.
5089 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
5091 * docs/pwg/appendix-porting.xml:
5092 And something about newsegment events and caps-on-buffers to
5093 the porting guide (feel free to improve).
5095 2005-09-21 Andy Wingo <wingo@pobox.com>
5097 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
5098 data and event probes on the same pad.
5099 (test_buffer_probe_once): Test that removing probes from within
5100 the probe functions works.
5102 2005-09-21 Andy Wingo <wingo@pobox.com>
5104 * check/gst/gstutils.c: New file.
5105 (test_buffer_probe_n_times): A simple buffer probe test. More to
5108 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
5109 have-data::buffer, not have-data.
5110 (gst_pad_add_event_probe): Likewise for have-data::event.
5111 (gst_pad_add_data_probe): More docs. The part about 'resolving the
5112 peer' isn't quite right yet though.
5113 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
5114 (gst_pad_remove_data_probe): Change to take the guint handler_id
5115 as their arg, not the function+data, which is more glib-like.
5117 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
5118 the signal emission to indicate if the data is a buffer or an
5120 (gst_pad_get_type): Initialize buffer and event quarks.
5121 (gst_pad_class_init): have-data is now a detailed signal, yes it
5124 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
5126 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
5127 * gst/gstutils.c: (gst_util_set_value_from_string),
5128 (gst_util_set_object_arg):
5129 Don't put functional code in g_return_if_fail() or
5130 g_return_val_if_fail() statements, otherwise things will
5131 break when G_DISABLE_CHECKS is defined during compilation.
5133 2005-09-21 Stefan Kost <ensonic@users.sf.net>
5135 * docs/gst/tmpl/.cvsignore:
5136 * docs/gst/tmpl/gstvalue.sgml:
5139 inlied another one and added some obvious docs
5141 2005-09-21 Wim Taymans <wim@fluendo.com>
5143 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
5144 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
5145 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
5146 (gst_fdsrc_get_property), (gst_fdsrc_create):
5147 * gst/elements/gstfdsrc.h:
5148 Properly implement fdsrc. Removed signal and timeout,
5149 better implemented somewhere else.
5151 2005-09-21 Stefan Kost <ensonic@users.sf.net>
5153 * docs/gst/tmpl/.cvsignore:
5154 * docs/gst/tmpl/gstimplementsinterface.sgml:
5155 * gst/gstinterface.c:
5158 2005-09-21 Stefan Kost <ensonic@users.sf.net>
5160 * docs/gst/gstreamer-sections.txt:
5161 * docs/gst/tmpl/.cvsignore:
5162 * docs/gst/tmpl/gstenumtypes.sgml:
5163 remove obsolete doc file
5165 2005-09-21 David Schleef <ds@schleef.org>
5167 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
5168 little beer, fix a little leak.
5170 2005-09-21 Stefan Kost <ensonic@users.sf.net>
5172 * docs/gst/gstreamer-docs.sgml:
5173 * docs/gst/gstreamer-sections.txt:
5174 * docs/gst/tmpl/.cvsignore:
5179 * gst/gstindex.c: (gst_index_class_init):
5181 * gst/gstindexfactory.c: (gst_index_factory_get_type),
5182 (gst_index_factory_class_init), (gst_index_factory_init),
5183 (gst_index_factory_finalize), (gst_index_factory_new),
5184 (gst_index_factory_destroy), (gst_index_factory_find),
5185 (gst_index_factory_create), (gst_index_factory_make):
5186 * gst/gstindexfactory.h:
5187 * gst/gstpluginfeature.c:
5188 * gst/gstpluginfeature.h:
5189 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5190 more docs inlined, splitted gstindex.{c,h}
5192 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5194 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5197 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
5199 * gst/elements/gstfilesink.c: (gst_file_sink_init):
5200 Set sync to FALSE by default.
5202 2005-09-20 Wim Taymans <wim@fluendo.com>
5204 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5205 (gst_base_sink_init):
5206 Make sync property settable from subclass.
5208 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
5209 (gst_fake_sink_change_state):
5210 Set sync to FALSE by default.
5212 2005-09-20 Wim Taymans <wim@fluendo.com>
5214 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
5215 * tools/gst-launch.c: (main):
5216 The timeout handler should have lower priority than the source
5217 so we don't timeout before popping a message with 0 timeout.
5218 Dump error messages after failed state change.
5220 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
5222 * tools/gst-inspect.c: (print_element_properties_info):
5225 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5227 * check/gst/gstevent.c:
5228 * gst/elements/gstfakesink.c:
5229 * gst/elements/gstfakesink.h:
5230 remove the sync property from fakesink.
5231 has the side effect of setting sync TRUE
5232 for fakesink, which is a change. Anyone who knows how
5233 to fix this nicely in a GObject-y way, feel free.
5235 2005-09-20 Stefan Kost <ensonic@users.sf.net>
5237 * docs/gst/gstreamer-docs.sgml:
5238 remove probe refsection
5240 2005-09-20 Stefan Kost <ensonic@users.sf.net>
5242 * check/Makefile.am:
5243 disable valgrinding the controller test again
5244 * docs/gst/gstreamer-sections.txt:
5245 update for api-changes
5247 2005-09-20 Wim Taymans <wim@fluendo.com>
5249 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5250 (gst_base_sink_set_property), (gst_base_sink_get_property),
5251 (gst_base_sink_do_sync):
5252 * gst/base/gstbasesink.h:
5253 Added sync property to basesink to disable clock sync.
5255 2005-09-20 Andy Wingo <wingo@pobox.com>
5257 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
5258 eating the caller's refcount.
5260 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
5261 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
5264 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
5265 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
5266 of GLib 2.8 public, so we can know which refcount to check in
5269 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
5270 (gst_object_init): Only set the gst refcount if we're going ahead
5271 with the refcount hack.
5273 2005-09-20 Stefan Kost <ensonic@users.sf.net>
5275 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
5276 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5277 more leaks plumbed, added more debug-logging
5281 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5284 remove include of gstmemchunk.h
5286 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5288 * gst/gstclock.c: (_gst_clock_id_free):
5289 Commit from the Political Party For More Atomic CVS Commits,
5290 so that people don't waste too much of their day fishing
5291 out obvious leaks out of massive commits.
5292 Oh, and fix a pretty damn obvious leak in the memchunk
5295 2005-09-20 Stefan Kost <ensonic@users.sf.net>
5297 * check/Makefile.am:
5298 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
5299 plug mem-leak, re-add to valgrindable tests
5301 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5304 unbreak the build for those who have chronic arthritis
5305 and typing "make check" is just too taxing on the hands
5307 2005-09-20 Andy Wingo <wingo@pobox.com>
5309 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
5310 really want it out, you should fix plugins at the same time.
5312 2005-09-19 Stefan Kost <ensonic@users.sf.net>
5315 * docs/gst/gstreamer-sections.txt:
5317 added missing symbols to api docs
5318 disable ref-count hack if we have glib >= 2.8
5320 2005-09-19 David Schleef <ds@schleef.org>
5322 * docs/gst/Makefile.am: Ignore a few more internal headers
5323 * docs/gst/gstreamer-docs.sgml: Remove old sections
5324 * docs/gst/gstreamer-sections.txt: Remove old sections
5325 * docs/gst/tmpl/gstobject.sgml: update
5326 * docs/gst/tmpl/gstplugin.sgml: update
5327 * docs/gst/tmpl/gstpluginfeature.sgml: update
5328 * docs/random/ds/0.9-suggested-changes: update.
5329 * gst/Makefile.am: remove memchunk and trashstack, since they're
5331 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
5332 * gst/gst.h: don't include some headers
5333 * gst/gstchildproxy.c: add gstmarshal.h
5334 * gst/gstclock.c: Don't use memchunks
5335 * gst/gstminiobject.c: Add some docs
5336 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
5337 * gst/gstobject.h: same
5338 * gst/gstplugin.c: include gstmacros.h
5339 * gst/gstplugin.h: don't include gstmacros.h, since it's private
5340 * gst/gstquery.c: don't use memchunks
5341 * gst/gstregistry.c: rename gst_registry_deinit()
5342 * gst/gstregistry.h: same
5344 2005-09-19 David Schleef <ds@schleef.org>
5346 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
5347 * docs/libs/gstreamer-libs-sections.txt:
5348 * docs/libs/tmpl/gstgetbits.sgml:
5349 * docs/libs/tmpl/gstputbits.sgml:
5351 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
5353 * win32/gstenumtypes.c:
5354 * win32/gstenumtypes.h:
5357 2005-09-19 Wim Taymans <wim@fluendo.com>
5359 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
5360 Automatically PAUSE and RESUME a pipeline when a flushing seek
5363 2005-09-19 Andy Wingo <wingo@pobox.com>
5365 * gst/gstregistry.h: Spacing fixen.
5367 2005-09-19 Wim Taymans <wim@fluendo.com>
5369 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
5370 Handle state change failure more correctly.
5372 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
5374 * check/Makefile.am:
5375 * check/pipelines/cleanup.c: (run_pipeline):
5376 * check/pipelines/simple_launch_lines.c: (run_pipeline),
5378 enable cleanup again after fixing the leak
5380 some more info on docs
5382 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
5384 * check/Makefile.am:
5385 re-enable tests now that leaks are plugged
5387 * check/gst/gstbin.c:
5388 * check/gst/gstpipeline.c:
5389 add some more tests while fixing leaks
5391 make sure binaries are uptodate when valgrinding/gdbing
5393 * gst/gstelementfactory.c:
5394 remove a ref too many, and add a FIXME for when we get
5395 round to disposing of classes
5397 fix the refcounting when loading a plugin from a file and
5398 the code pretends that the pointer is the same even though
5399 of course it can change
5400 * gst/gstpluginfeature.c:
5401 unref plugins marked cached (a bit confusing as a name)
5402 as the docs state should be done
5403 various doc additions to explain refcounting
5404 * gst/gstregistry.c:
5405 * gst/gstregistryxml.c:
5408 2005-09-19 Wim Taymans <wim@fluendo.com>
5410 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
5411 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
5412 (send_messages), (GST_START_TEST), (gstbus_suite):
5413 * check/gst/gstpipeline.c: (GST_START_TEST):
5414 * check/pipelines/cleanup.c: (run_pipeline):
5415 * check/pipelines/simple_launch_lines.c: (run_pipeline),
5417 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
5418 (gst_bus_source_check), (gst_bus_source_dispatch),
5419 (gst_bus_create_watch), (gst_bus_add_watch_full),
5420 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
5422 * tools/gst-launch.c: (event_loop):
5423 * tools/gst-md5sum.c: (event_loop):
5424 GstBusHandler -> GstBusFunc, return value has the same meaning as
5425 any other GSource (FALSE == remove source).
5426 _add_watch() and _add_watch_full() now take a MessageType mask to
5427 only handle specific types of messages.
5428 _poll() returns the GstMessage instead of the message type to avoid
5430 _have_pending() takes a MessageType mask now too.
5431 Added testsuite for multiple bus watches.
5432 Fix testsuites and applications for new bus API.
5434 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
5436 * check/Makefile.am:
5437 mark a bunch of the tests as to fix until we fix them
5439 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
5442 use GST_PLUGIN settings for valgrind tests as well, so we're
5443 valgrinding the correct thing
5444 * gst/gst.c: (init_post):
5447 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
5449 * gst/gst.c: (init_post), (gst_deinit):
5450 * gst/gstelementfactory.c: (gst_element_factory_class_init),
5451 (gst_element_factory_finalize), (gst_element_factory_cleanup):
5452 * gst/gstindex.c: (gst_index_factory_class_init),
5453 (gst_index_factory_finalize):
5454 * gst/gstobject.c: (gst_object_dispose):
5455 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
5456 (gst_plugin_load_file), (gst_plugin_desc_free):
5457 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
5458 (gst_plugin_feature_finalize):
5459 * gst/gstregistry.c: (gst_registry_class_init),
5460 (gst_registry_init), (gst_registry_finalize),
5461 (gst_registry_get_default), (gst_registry_deinit):
5462 * gst/gstregistry.h:
5463 * gst/gstregistryxml.c: (load_feature), (load_plugin):
5464 various cleanups and memleak plugging. make valgrind is happy now.
5466 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
5469 add a check-valgrind target
5471 2005-09-18 David Schleef <ds@schleef.org>
5473 * tools/gst-inspect.c: Revert the GOption code.
5475 2005-09-17 David Schleef <ds@schleef.org>
5477 * check/Makefile.am: Fix environment variables.
5478 * check/gst/gstplugin.c: Fix for API changes.
5479 * tools/gst-inspect.c: Fix for API changes.
5480 * tools/gst-xmlinspect.c: Fix for API changes.
5481 * gst/gstelementfactory.c:
5484 * gst/gstpluginfeature.c:
5485 * gst/gstpluginfeature.h:
5486 * gst/gstregistry.c:
5487 * gst/gstregistry.h:
5488 * gst/gstregistryxml.c:
5489 * gst/gsttypefind.c:
5490 * gst/gsttypefindfactory.c:
5491 * gst/indexers/gstfileindex.c:
5492 * gst/indexers/gstmemindex.c:
5493 * gst/schedulers/Makefile.am:
5494 Change registry to keep track of both plugins and features,
5495 removing the feature tracking from plugins themselves.
5497 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
5499 * check/Makefile.am:
5500 * tools/gst-register.1.in:
5503 2005-09-15 David Schleef <ds@schleef.org>
5505 * check/gst/gstplugin.c:
5506 * gst/gstelementfactory.c:
5508 * gst/gstpluginfeature.c:
5509 * gst/gstregistry.c:
5510 Getting tired of debugging. Disabled all the unreffing of
5511 plugins and features, which fixes the segfaults, but of
5512 course leaks like crazy. At least playbin works.
5514 2005-09-15 David Schleef <ds@schleef.org>
5516 * check/gst/gstplugin.c: (register_check_elements),
5517 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
5519 * gst/elements/gsttypefindelement.c: Fix refcounting.
5520 * gst/gsttypefind.c:
5521 * gst/gsttypefindfactory.c:
5522 * gst/gsttypefindfactory.h:
5524 2005-09-15 David Schleef <ds@schleef.org>
5526 * gst/gstindex.c: get refcounting correct.
5527 * gst/gstregistry.c: Handle the case where a feature/plugin is
5530 2005-09-15 David Schleef <ds@schleef.org>
5532 * check/Makefile.am:
5533 * check/gst/gstplugin.c: Add test
5534 * gst/gstplugin.c: Fix problems noticed by testsuite
5536 * gst/gstregistry.c:
5537 * gst/gstregistry.h:
5539 2005-09-15 David Schleef <ds@schleef.org>
5541 * gst/gstplugin.c: Implement semi-decent recounting and locking
5542 in plugins and plugin features.
5544 * gst/gstpluginfeature.c:
5545 * gst/gstpluginfeature.h:
5546 * gst/gstregistry.c:
5548 2005-09-15 Michael Smith <msmith@fluendo.com>
5550 * gst/gstregistry.c: (gst_registry_get_feature_list):
5551 Implement this. Makes oggdemux work; decodebin still broken.
5553 2005-09-14 David Schleef <ds@schleef.org>
5555 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
5557 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
5558 * gst/check/Makefile.am:
5559 * libs/gst/controller/Makefile.am:
5560 * libs/gst/dataprotocol/Makefile.am:
5562 2005-09-14 David Schleef <ds@schleef.org>
5564 * configure.ac: Remove getbits library. Nothing uses it, and
5565 it should be in something like liboil if someone did want
5567 * libs/gst/Makefile.am:
5568 * libs/gst/getbits/Makefile.am:
5569 * libs/gst/getbits/gbtest.c:
5570 * libs/gst/getbits/getbits.c:
5571 * libs/gst/getbits/getbits.h:
5572 * libs/gst/getbits/gstgetbits_generic.c:
5573 * libs/gst/getbits/gstgetbits_i386.s:
5574 * libs/gst/getbits/gstgetbits_inl.h:
5576 2005-09-14 David Schleef <ds@schleef.org>
5578 * gst/Makefile.am: Dist glib-compat.h
5580 2005-09-14 David Schleef <ds@schleef.org>
5582 * configure.ac: Remove gst/registries, since it's no longer used.
5583 * gst/registries/Makefile.am:
5584 * gst/registries/gstlibxmlregistry.c:
5585 * gst/registries/gstlibxmlregistry.h:
5586 * gst/registries/gstxmlregistry.c:
5587 * gst/registries/gstxmlregistry.h:
5588 * gst/registries/registrytest.c:
5590 2005-09-14 David Schleef <ds@schleef.org>
5592 * gst/glib-compat.h:
5593 * gst/gstregistryxml.c:
5594 Convergence is near. Seriously.
5596 2005-09-14 David Schleef <ds@schleef.org>
5598 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5599 * gst/glib-compat.h:
5600 Attempt #4 to appease the buildbots.
5602 2005-09-14 David Schleef <ds@schleef.org>
5604 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5607 2005-09-14 David Schleef <ds@schleef.org>
5609 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5612 2005-09-14 David Schleef <ds@schleef.org>
5614 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
5617 2005-09-14 David Schleef <ds@schleef.org>
5619 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5620 * gst/glib-compat.h: Add some functions that are in newer versions
5621 of glib than we care to require.
5622 * gst/gstregistryxml.c: Use them.
5624 2005-09-14 David Schleef <ds@schleef.org>
5626 * po/POTFILES.in: remove gst-register.c
5628 2005-09-14 David Schleef <ds@schleef.org>
5630 * docs/gst/gstreamer-docs.sgml:
5631 * docs/gst/gstreamer-sections.txt:
5632 * docs/gst/gstreamer.types:
5633 * docs/gst/tmpl/gstelement.sgml:
5634 * docs/gst/tmpl/gstplugin.sgml:
5635 * docs/gst/tmpl/gstpluginfeature.sgml:
5636 Documentation updates for registry changes.
5638 2005-09-14 David Schleef <ds@schleef.org>
5640 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
5641 because we don't require glib-2.8.
5643 2005-09-14 David Schleef <ds@schleef.org>
5645 * gst/gstregistryxml.c: Added. Essentially moved out of the
5646 registries directory.
5648 2005-09-14 David Schleef <ds@schleef.org>
5650 * check/Makefile.am:
5651 * check/generic/states.c:
5655 * gst/gst_private.h:
5656 * gst/gstelementfactory.c:
5661 * gst/gstpluginfeature.c:
5662 * gst/gstpluginfeature.h:
5663 * gst/gstregistry.c:
5664 * gst/gstregistry.h:
5665 * gst/gstregistrypool.c: remove
5666 * gst/gstregistrypool.h: remove
5667 * gst/gsttypefind.c:
5668 * gst/gsttypefindfactory.c:
5670 * tools/Makefile.am:
5671 * tools/gst-compprep.c:
5672 * tools/gst-inspect.c:
5673 * tools/gst-register.c: remove
5674 * tools/gst-xmlinspect.c:
5675 Registry rewrite. Changes registry from being a file created
5676 by a tool into a simple cache file created automatically by
5677 libgstreamer. Removed gst-register (because it's no longer
5678 needed). Remove registry pools, because we only have one
5679 registry implementation (XML). Fix up other subsystems as
5682 2005-09-13 Michael Smith <msmith@fluendo.com>
5684 * gst/gstconfig.h.in:
5685 Don't Use windows linking attributes for MinGW. Fixes #316157
5687 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
5689 * gst/gstutils.c: (set_state_async_thread_func),
5690 (gst_element_set_state_async):
5691 Apparently people think it's better if this function doesn't
5692 try to set the state to whatever state was asked for on the first
5693 call to this function for any object. Seriously.
5695 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
5697 * check/gst/gstpipeline.c: (GST_START_TEST):
5698 * docs/gst/gstreamer-sections.txt:
5699 * gst/gstutils.c: (set_state_async_thread_func),
5700 (gst_element_set_state_async):
5702 add a "gst_element_set_state_async" method that
5703 sets the state and starts a thread to make sure the state
5704 change completes as best as it can
5706 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
5708 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5709 codify design+behaviour in testsuite after discussion
5711 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
5713 * docs/gst/tmpl/gstelement.sgml:
5714 * docs/manual/appendix-quotes.xml:
5716 * gst/gstelement.c: (gst_element_set_state):
5719 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
5721 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
5722 (gst_base_transform_prepare_output_buf),
5723 (gst_base_transform_handle_buffer):
5724 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
5725 (gst_capsfilter_prepare_buf):
5726 Remove the requirement for sub-classes to call the parent
5727 implementation of prepare_output_buffer with a wrapper function.
5730 * gst/gsttagsetter.h:
5733 2005-09-11 Stefan Kost <ensonic@users.sf.net>
5735 * docs/gst/gstreamer-sections.txt:
5738 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
5740 * docs/gst/gstreamer-sections.txt:
5741 * docs/gst/tmpl/gstelement.sgml:
5742 * docs/gst/tmpl/gstplugin.sgml:
5743 * gst/gstminiobject.c:
5745 docs now stop throwing warnings
5747 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
5749 * docs/gst/gstreamer-sections.txt:
5750 * docs/gst/gstreamer.types:
5751 * docs/gst/tmpl/gstpad.sgml:
5752 * docs/gst/tmpl/gsttypes.sgml:
5753 * gst/base/gstadapter.h:
5754 * gst/base/gstbasesink.h:
5755 * gst/base/gstbasesrc.h:
5765 * gst/gststructure.c:
5766 * gst/registries/gstlibxmlregistry.h:
5767 various documentation fixes
5769 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
5771 * docs/gst/gstreamer-sections.txt:
5772 * docs/gst/tmpl/gstvalue.sgml:
5773 rearrange gstvalue section
5774 * gst/gstutils.c: (gst_element_state_get_name):
5776 * gst/gstvalue.c: (_gst_value_initialize):
5780 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
5782 * check/gst-libs/controller.c:
5784 * gst/base/gstbasetransform.c:
5785 (gst_base_transform_default_prepare_buf),
5786 (gst_base_transform_handle_buffer):
5787 * gst/base/gstbasetransform.h:
5788 Some more basetransform changes and fixes to enable sub-classes
5789 that modify buffer metadata only.
5790 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5791 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
5792 (gst_capsfilter_prepare_buf):
5793 If the output pad has fixed allowed caps and input buffers
5794 don't have any, set the fixed caps on outgoing buffers.
5796 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
5797 * check/elements/identity.c: (GST_START_TEST):
5798 Make the error a little clearer when the test fails because
5799 identity made a copy of the buffer.
5800 * docs/gst/gstreamer-sections.txt:
5801 New symbols in gstbasetransform.h
5802 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
5803 (gst_base_transform_init), (gst_base_transform_transform_size),
5804 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5805 (gst_base_transform_default_prepare_buf),
5806 (gst_base_transform_get_unit_size),
5807 (gst_base_transform_buffer_alloc),
5808 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
5809 (gst_base_transform_change_state),
5810 (gst_base_transform_set_passthrough),
5811 (gst_base_transform_set_in_place),
5812 (gst_base_transform_is_in_place):
5813 * gst/base/gstbasetransform.h:
5814 Change BaseTransform to separate in_place operate from same_caps
5815 output. in_place implies that the element can perform the transform
5816 on incoming buffers in-place, even if the caps on the output are
5818 Sub-class elements can now implement special buffer allocation
5819 methods for outgoing buffers if they wish to.
5820 Big documentation addition.
5821 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
5822 * gst/elements/gstelements.c:
5823 Changes for basetransform modifications.
5824 * gst/elements/Makefile.am:
5825 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
5826 Compile fix. Extra debug output.
5828 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
5830 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
5832 add tests for valid pad naming
5833 * gst/check/gstcheck.c: (gst_check_log_message_func),
5834 (gst_check_log_critical_func):
5836 remove printing of code, it is fragile when the code contains
5837 % and the line number is enough info
5838 * gst/check/gstcheck.h:
5839 * gst/gstpad.c: (gst_pad_template_new):
5842 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
5845 say what CHECK flags we use
5846 * docs/libs/gstreamer-libs.types:
5847 * libs/gst/controller/Makefile.am:
5848 * libs/gst/controller/gst-controller.c:
5849 * libs/gst/controller/gst-controller.h:
5850 * libs/gst/controller/gst-helper.c:
5851 * libs/gst/controller/gst-interpolation.c:
5852 * libs/gst/controller/gstcontroller.c:
5853 * libs/gst/controller/gsthelper.c:
5854 * libs/gst/controller/gstinterpolation.c:
5855 * tools/gst-inspect.c: (print_plugin_info):
5856 we don't use dashes in header names
5858 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
5860 * check/Makefile.am:
5861 * check/gst/.cvsignore:
5862 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
5863 (gst_pipeline_suite), (main):
5864 adding a test for pipelines and state changes
5865 * gst/gstutils.c: (get_state_func):
5867 * gstreamer.spec.in:
5870 2005-09-08 Michael Smith <msmith@fluendo.com>
5872 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
5873 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
5874 (gst_file_src_is_seekable), (gst_file_src_get_size),
5875 (gst_file_src_start):
5876 * gst/elements/gstfilesrc.h:
5877 Various fixes for unseekable, unmmapable, and non-normal files, so
5878 that fallback to read() rather than mmap() works.
5879 * gst/gstevent.c: (gst_event_new_newsegment):
5880 Allow newsegment events with segment_start == segment_end, as will
5881 correctly happen if you use filesrc on a zero-size file, for
5884 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
5886 * gst/gstplugin.c: (gst_plugin_load_file):
5887 Call g_module_close when we don't load the module
5889 * gst/registries/gstlibxmlregistry.c:
5890 (gst_xml_registry_get_property):
5891 Port leak fix from 0.8
5893 2005-09-07 Stefan Kost <ensonic@users.sf.net>
5895 * docs/gst/gstreamer-docs.sgml:
5896 * docs/gst/tmpl/.cvsignore:
5897 * docs/gst/tmpl/gsttrace.sgml:
5898 * docs/gst/tmpl/gsttrashstack.sgml:
5907 * gst/gsttaginterface.c:
5908 * gst/gsttaginterface.h:
5911 * gst/gsttagsetter.c:
5912 * gst/gsttagsetter.h:
5915 * gst/gsttrashstack.c:
5916 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
5917 inlined docs for gsttrace, gsttrashstack
5919 2005-09-07 Stefan Kost <ensonic@users.sf.net>
5922 * gst/elements/gstbufferstore.h:
5923 * gst/elements/gsttypefindelement.c:
5924 * gst/elements/gsttypefindelement.h:
5926 * gst/gsttypefind.c:
5927 * gst/gsttypefind.h:
5928 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
5929 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
5930 (gst_type_find_factory_dispose),
5931 (gst_type_find_factory_unload_thyself),
5932 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
5933 (gst_type_find_factory_get_caps),
5934 (gst_type_find_factory_get_extensions),
5935 (gst_type_find_factory_call_function):
5936 * gst/gsttypefindfactory.h:
5937 * gst/registries/gstlibxmlregistry.c:
5938 * gst/registries/gstxmlregistry.c:
5939 splitted gsttypefind into gsttypefind, gsttypefindfactory
5941 2005-09-07 Andy Wingo <wingo@pobox.com>
5943 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
5944 condition whereby the pad's task function is entered before the
5945 pad_mode variable was set.
5947 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
5949 * gst/gstpad.c: (gst_pad_alloc_buffer):
5950 Catch misbehaving pad_alloc functions that don't
5951 set up caps and do it for them.
5953 2005-09-07 Stefan Kost <ensonic@users.sf.net>
5955 * check/pipelines/simple_launch_lines.c: (run_pipeline):
5957 * docs/gst/tmpl/.cvsignore:
5958 * docs/gst/tmpl/gstmemchunk.sgml:
5959 * docs/gst/tmpl/gstparse.sgml:
5960 * docs/gst/tmpl/gsttaglist.sgml:
5961 * docs/gst/tmpl/gsttagsetter.sgml:
5962 * docs/gst/tmpl/gsttypefind.sgml:
5963 * docs/gst/tmpl/gsttypefindfactory.sgml:
5964 * gst/gstmemchunk.c:
5967 * gst/gsttaginterface.c:
5968 * gst/gsttypefind.c:
5969 * gst/gsttypefind.h:
5972 === release 0.9.2 ===
5974 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
5979 releasing 0.9.2, "South"
5981 2005-09-05 Andy Wingo <wingo@pobox.com>
5983 * gst/registries/gstxmlregistry.h:
5984 * gst/registries/gstxmlregistry.c: Um... resurrect...
5986 * gst/registries/gstxmlregistry.h:
5987 * gst/registries/gstxmlregistry.c: and update to newer API.
5988 Incidentally they should be a bit faster now that they don't have
5991 2005-09-05 Andy Wingo <wingo@pobox.com>
5993 * gst/registries/gstxmlregistry.h:
5994 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
5995 replaced by the libxml registry a while back
5997 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
5999 * docs/gst/tmpl/gstplugin.sgml:
6000 * gst/elements/gstelements.c:
6002 * gst/gstplugin.c: (gst_plugin_register_func),
6003 (gst_plugin_desc_copy), (gst_plugin_desc_free),
6004 (gst_plugin_get_source):
6006 * gst/registries/gstlibxmlregistry.c: (load_plugin),
6007 (gst_xml_registry_save_plugin):
6008 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
6009 (gst_xml_registry_save_plugin):
6010 * tools/gst-inspect.c: (print_plugin_info):
6011 add a "source" plugin description field, to represent the source
6012 module this plugin is a part of. By default GST_PLUGIN_DEFINE
6013 will set it to PACKAGE, which is automake's idea of the name of
6016 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
6022 * docs/faq/Makefile.am:
6023 * docs/gst/tmpl/gstelement.sgml:
6024 * docs/gst/tmpl/gsttypes.sgml:
6025 * docs/htmlinstall.mak:
6026 * docs/manual/Makefile.am:
6027 * docs/pwg/Makefile.am:
6028 reorganize doc build a little
6029 split out docbook and gtk-doc stuff
6030 have two separate --enable's and enable them through autogen
6031 but disable by default in configure (to be similar to other
6033 * gstreamer.spec.in:
6034 clean up docs install
6054 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
6056 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
6059 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
6060 (gst_fake_sink_change_state):
6061 Make state change function thread-safe.
6063 * gst/gstpad.c: (gst_pad_alloc_buffer):
6064 Set offset on generic buffer allocated by fallback.
6066 2005-09-03 Stefan Kost <ensonic@users.sf.net>
6068 * docs/gst/gstreamer-sections.txt:
6069 * docs/gst/tmpl/gstelement.sgml:
6071 * libs/gst/controller/gst-controller.c:
6072 (gst_controlled_property_set_interpolation_mode),
6073 (gst_controlled_property_new),
6074 (gst_controller_find_controlled_property):
6075 run the wingo-magic script against the docs
6077 2005-09-02 Stefan Kost <ensonic@users.sf.net>
6079 * docs/gst/gstreamer-docs.sgml:
6080 * docs/gst/gstreamer-sections.txt:
6081 * docs/gst/tmpl/.cvsignore:
6082 * docs/gst/tmpl/gstelementdetails.sgml:
6083 * docs/gst/tmpl/gstelementfactory.sgml:
6086 * gst/gstelementfactory.c:
6087 * gst/gstelementfactory.h:
6088 merged elementdetails docs into elementfactory docs
6091 2005-09-02 Andy Wingo <wingo@pobox.com>
6093 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
6094 consider this enum an enum and not a flags.
6096 2005-09-02 Stefan Kost <ensonic@users.sf.net>
6098 * docs/gst/gstreamer-docs.sgml:
6099 * docs/gst/tmpl/.cvsignore:
6100 * docs/gst/tmpl/gstghostpad.sgml:
6101 * docs/gst/tmpl/gstiterator.sgml:
6102 * docs/gst/tmpl/gstmacros.sgml:
6103 * docs/gst/tmpl/gstrealpad.sgml:
6104 * docs/gst/tmpl/gstregistry.sgml:
6105 * docs/gst/tmpl/gstregistrypool.sgml:
6106 * docs/gst/tmpl/gststructure.sgml:
6107 * docs/gst/tmpl/gstsystemclock.sgml:
6108 * docs/gst/tmpl/gsttrace.sgml:
6109 * gst/gstghostpad.c:
6111 * gst/gstmemchunk.c:
6112 * gst/gstmemchunk.h:
6114 * gst/gstregistry.c:
6115 * gst/gstregistrypool.c:
6116 * gst/gststructure.c:
6117 * gst/gstsystemclock.c:
6120 2005-09-02 Andy Wingo <wingo@pobox.com>
6122 * gst/gstelement.h (GstState): Renamed from GstElementState,
6123 changed to be a normal enum instead of flags.
6124 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
6125 munged to be GST_STATE_CHANGE_*.
6126 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
6127 work with the new state representation.
6128 (GstStateChange): New enumeration of possible state transitions.
6129 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
6130 (GstElementClass::change_state): Pass the GstStateChange along as
6131 an argument. Helps language bindings, so they don't have to use
6132 tricky lock-needing macros like GST_STATE_CHANGE ().
6134 * scripts/update-states (file): New script. Run it on a file to
6135 update it for state naming and API changes. Updates files in
6138 * All files updated for the new API.
6140 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
6142 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
6143 * gst/gstutils.c: (gst_util_set_value_from_string),
6144 (gst_util_set_object_arg):
6145 fix a bunch of unchecked return values
6146 * tools/gst-complete.c: (main):
6147 * gstreamer.spec.in:
6150 2005-09-01 Wim Taymans <wim@fluendo.com>
6152 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6153 (gst_base_sink_event), (gst_base_sink_do_sync),
6154 (gst_base_sink_handle_event):
6155 * gst/base/gstbasesink.h:
6156 Handle newsegments more correctly.
6161 * gst/gstevent.c: (gst_event_new_newsegment):
6162 A newsegment cannot have a start_time of -1
6164 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
6166 * win32/gstenumtypes.c:
6167 * win32/gstenumtypes.h:
6170 2005-08-31 Stefan Kost <ensonic@users.sf.net>
6172 * libs/gst/controller/gst-controller.c:
6173 (gst_controlled_property_set_interpolation_mode),
6174 (gst_controlled_property_new):
6177 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
6179 * docs/faq/gst-uninstalled:
6184 * gst/gstutils.c: (gst_element_link_filtered):
6186 add gst_element_link_filtered
6188 2005-08-31 Stefan Kost <ensonic@users.sf.net>
6190 * docs/gst/gstreamer-docs.sgml:
6191 * docs/gst/gstreamer-sections.txt:
6192 * docs/gst/tmpl/.cvsignore:
6193 * docs/gst/tmpl/gsterror.sgml:
6194 * docs/gst/tmpl/gstfilter.sgml:
6195 * docs/gst/tmpl/gsturihandler.sgml:
6196 * docs/gst/tmpl/gsturitype.sgml:
6197 * docs/gst/tmpl/gstutils.sgml:
6198 * docs/gst/tmpl/gstxml.sgml:
6206 inlined more docs, fixed double id-ref
6208 2005-08-31 Wim Taymans <wim@fluendo.com>
6210 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6211 (gst_base_transform_handle_buffer):
6212 Passthrough elements don't need the caps as they don't care.
6214 2005-08-31 Wim Taymans <wim@fluendo.com>
6216 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6217 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
6218 Don't leak refcounts on buffers.
6220 2005-08-31 Wim Taymans <wim@fluendo.com>
6222 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
6223 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
6224 (gst_base_transform_chain), (gst_base_transform_change_state):
6225 * gst/base/gstbasetransform.h:
6226 Handle the case where we are not negotiated more gracefully.
6228 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
6230 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
6231 (gst_file_src_map_region):
6232 Set READONLY flag on mmap'ed buffers, otherwise
6233 gst_buffer_make_writable() won't work properly (#314708).
6235 2005-08-31 Wim Taymans <wim@fluendo.com>
6237 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
6238 passthrough elements can even do inplace on non writable
6239 buffers (as they don't touch them).
6241 2005-08-31 Stefan Kost <ensonic@users.sf.net>
6243 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
6244 (gst_test_mono_source_set_property),
6245 (gst_test_mono_source_class_init), (GST_START_TEST),
6246 (gst_controller_suite):
6247 more tests (hehe I have the most)
6249 describe popping messages whenusing mulltiple sources
6250 * libs/gst/controller/gst-controller.c:
6251 (gst_controlled_property_set_interpolation_mode),
6252 (gst_controlled_property_new):
6253 * libs/gst/controller/gst-controller.h:
6254 * libs/gst/controller/gst-interpolation.c:
6255 implement boolean properties
6257 2005-08-31 Wim Taymans <wim@fluendo.com>
6259 * gst/gstminiobject.c: (gst_mini_object_ref):
6260 Cannot assert that the refcount has to be positive
6261 since a disposed object can be resurrected.
6263 2005-08-31 Wim Taymans <wim@fluendo.com>
6265 * gst/gstpad.c: (gst_pad_init):
6266 Revert change, need to first fix badly behaving
6269 2005-08-30 Wim Taymans <wim@fluendo.com>
6271 * check/elements/fakesrc.c: (setup_fakesrc):
6272 * check/elements/identity.c: (setup_identity):
6273 Activate pads before using them.
6275 2005-08-30 Wim Taymans <wim@fluendo.com>
6277 * gst/base/gstadapter.c: (gst_adapter_flush):
6278 Flushing out 0 bytes is ok for this function.
6280 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6281 no newsegment gives a warning and sets the start/stop to
6284 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
6285 (gst_base_transform_set_passthrough):
6288 * gst/gstminiobject.c: (gst_mini_object_ref):
6289 Check refcount here too.
6291 * gst/gstpad.c: (gst_pad_init):
6292 Pads are initially flushing and refusing data.
6294 * gst/gstutils.c: (gst_element_link_pads_filtered):
6295 When adding a capsfilter element make sure it has the
6296 same state as the parent bin.
6298 2005-08-30 Stefan Kost <ensonic@users.sf.net>
6300 * docs/gst/tmpl/.cvsignore:
6301 * docs/gst/tmpl/gstformat.sgml:
6302 * docs/gst/tmpl/gstversion.sgml:
6306 * gst/gstversion.h.in:
6307 more docs and two more inlined
6309 2005-08-30 Wim Taymans <wim@fluendo.com>
6311 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
6312 Don't sync to clock.
6314 2005-08-30 Stefan Kost <ensonic@users.sf.net>
6316 * docs/gst/gstreamer-sections.txt:
6317 ultral33t func10ns deserve to appear in the docs actually
6318 * docs/gst/tmpl/.cvsignore:
6319 * docs/gst/tmpl/gstcompat.sgml:
6320 * docs/gst/tmpl/gstconfig.sgml:
6321 * gst/check/gstcheck.c:
6323 * gst/gstconfig.h.in:
6326 2005-08-30 Stefan Kost <ensonic@users.sf.net>
6328 * docs/gst/tmpl/.cvsignore:
6329 * docs/gst/tmpl/gstquery.sgml:
6330 * docs/gst/tmpl/gstutils.sgml:
6333 inlined and extended docs
6335 2005-08-30 Stefan Kost <ensonic@users.sf.net>
6337 * check/gst-libs/controller.c: (GST_START_TEST),
6338 (gst_controller_suite):
6340 * docs/gst/tmpl/gstutils.sgml:
6341 * docs/libs/gstreamer-libs-sections.txt:
6342 * docs/libs/tmpl/gstdataprotocol.sgml:
6344 * examples/controller/audio-example.c: (main):
6345 controller example works now
6348 * tools/gst-inspect.c: (print_element_properties_info):
6349 show param spec flags
6351 2005-08-29 Andy Wingo <wingo@pobox.com>
6353 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
6355 2005-08-28 Andy Wingo <wingo@pobox.com>
6357 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
6358 as having two arguments instead of just one. Allows superclasses
6359 to access information on subclasses -- see the terrible for() loop
6360 in gtype.c:g_type_create_instance for the reason why. All callers
6363 2005-08-27 Stefan Kost <ensonic@users.sf.net>
6365 * docs/design/part-messages.txt:
6367 * docs/gst/tmpl/.cvsignore:
6368 * docs/gst/tmpl/gstcaps.sgml:
6369 * docs/gst/tmpl/gstclock.sgml:
6376 added descriptions for bus and message
6377 inline caps and clock docs
6379 2005-08-27 Stefan Kost <ensonic@users.sf.net>
6385 2005-08-27 Stefan Kost <ensonic@users.sf.net>
6387 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
6390 2005-08-26 Andy Wingo <wingo@pobox.com>
6392 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
6393 element_set_state's return val.
6394 (test_2_elements): Add test that's been disabled for months.
6396 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
6397 can-activate-pull properties.
6399 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
6400 can-activate-pull properties. Implement is_seekable so fakesrc can
6401 operate in pull mode.
6403 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
6405 (gst_base_sink_activate, gst_base_sink_activate_pull)
6406 (gst_base_sink_activate_push): Make activation mode choosing work.
6408 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
6409 is right. Make pull mode work. Post an eos before pausing in pull
6411 (gst_base_sink_change_state): Pay attention to the core's
6412 change_state() return val.
6414 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
6415 has-getrange properties. Cleanups.
6417 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
6418 has_getrange and replace with can_activate_pull and
6421 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
6422 locking comments. Remove has_loop, has_chain and replace with
6423 can_activate_pull and can_activate_push.
6425 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
6428 * examples/Makefile.am:
6429 * examples/metadata/Makefile.am:
6430 * examples/metadata/read-metadata.c: (message_loop),
6431 (have_pad_handler), (make_pipeline), (print_tag), (main):
6432 Add metadata reading example that loops over a list of filenames,
6433 dumping any tags found.
6435 * gst/gstbus.c: (gst_bus_dispose):
6436 * gst/gstelement.c: (gst_element_dispose):
6437 Release a few potentially-held references in dispose.
6439 2005-08-26 Stefan Kost <ensonic@users.sf.net>
6441 * docs/gst/tmpl/gstminiobject.sgml:
6442 do *not* add tmpl/*.sgml files to CVS!
6444 2005-08-26 Stefan Kost <ensonic@users.sf.net>
6446 * libs/gst/bytestream/.cvsignore:
6447 * libs/gst/bytestream/Makefile.am:
6448 * libs/gst/bytestream/adapter.c:
6449 * libs/gst/bytestream/adapter.h:
6450 * libs/gst/bytestream/bytestream.c:
6451 * libs/gst/bytestream/bytestream.h:
6452 * libs/gst/bytestream/filepad.c:
6453 * libs/gst/bytestream/filepad.h:
6454 removing obsolete files
6456 2005-08-26 Stefan Kost <ensonic@users.sf.net>
6458 * docs/gst/gstreamer-docs.sgml:
6459 * docs/libs/gstreamer-libs-docs.sgml:
6460 disabed additional index entries again, as this makes docs-gen just
6461 slow and they aren't useful yet
6462 * docs/libs/gstreamer-libs-sections.txt:
6463 little -section.txt cleanup for libs
6465 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
6467 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6468 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
6469 fix up some debugging
6470 (gst_base_transform_get_unit_size),
6471 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
6472 (gst_base_transform_handle_buffer):
6473 * gst/base/gstbasetransform.h:
6474 handle and store timed NEWSEGMENT events so that subclasses that
6475 calculate time by counting samples have a segment_start time they
6476 need to add to their timestamps - see audioresample
6478 2005-08-26 Stefan Kost <ensonic@users.sf.net>
6481 removed ';' from the end of macro defs
6482 * docs/gst/gstreamer-docs.sgml:
6483 * docs/gst/gstreamer-sections.txt:
6484 * docs/gst/tmpl/.cvsignore:
6486 * gst/gstelement.c: (gst_element_class_init),
6487 (gst_element_set_state), (activate_pads),
6488 (gst_element_save_thyself):
6489 * gst/gstevent.c: (gst_event_new_newsegment):
6491 * gst/gstiterator.c:
6492 * gst/gstiterator.h:
6495 * gst/gstutils.c: (gst_pad_query_convert):
6497 fixed parameter name mismatches between source, header and docs
6498 added some more docs, resolved the last batch of unused elements in
6499 docs (now someone needs to doc them)
6501 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
6503 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
6504 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
6505 don't walk through the plugins backwards. Where is all this
6506 reversed logic coming from ?
6508 2005-08-25 Wim Taymans <wim@fluendo.com>
6510 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6511 (gst_base_transform_transform_size),
6512 (gst_base_transform_configure_caps),
6513 (gst_base_transform_get_unit_size),
6514 (gst_base_transform_buffer_alloc),
6515 (gst_base_transform_change_state):
6516 * gst/base/gstbasetransform.h:
6517 Cache caps unit_size.
6518 Make sure we cannot negotiate up and downstream at the
6521 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
6523 * gst/gst.c: (init_pre), (init_post):
6524 register the installed plugin path after the env var
6525 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
6526 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
6527 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
6528 directories, so the tests can prefer uninstalled over installed
6530 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
6532 * gst/base/gstbasetransform.h:
6537 2005-08-25 Wim Taymans <wim@fluendo.com>
6539 * gst/gstbin.c: (bin_bus_handler):
6540 Be a bit more conservative about the posted message.
6542 * gst/gstbus.c: (gst_bus_post):
6543 Some cleanups, warn wrong return values.
6545 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
6547 * check/gst/gstbin.c: (GST_START_TEST):
6548 * gst/gstbin.c: (bin_bus_handler):
6549 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
6550 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
6551 (gst_message_new_warning), (gst_message_new_tag),
6552 (gst_message_new_state_changed), (gst_message_new_segment_start),
6553 (gst_message_new_segment_done), (gst_message_new_custom):
6555 * tools/gst-launch.c: (event_loop):
6556 * tools/gst-md5sum.c: (event_loop):
6557 Revert unpopular change for GST_MESSAGE_SRC to GObject.
6559 2005-08-25 Wim Taymans <wim@fluendo.com>
6561 * check/generic/states.c: (GST_START_TEST):
6562 Cleanup can be done at the end.
6564 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
6565 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
6566 (gst_task_get_state), (gst_task_start), (gst_task_pause):
6567 Oh boy.. Thanks for finding this, Thomas.
6569 2005-08-25 Stefan Kost <ensonic@users.sf.net>
6571 * docs/gst/gstreamer.types:
6574 2005-08-25 Stefan Kost <ensonic@users.sf.net>
6576 * docs/gst/gstreamer-docs.sgml:
6577 * docs/gst/gstreamer-sections.txt:
6578 * docs/gst/tmpl/.cvsignore:
6580 * gst/gstiterator.c:
6582 * gst/registries/gstxmlregistry.h:
6583 added missing classes and symbols (123 more to go)
6584 removed removed symbols from section file
6585 fixed many doc-comments
6587 2005-08-24 Wim Taymans <wim@fluendo.com>
6589 * check/generic/states.c: (GST_START_TEST):
6590 Make sure all tasks are stopped.
6592 * check/gst/gstbin.c: (GST_START_TEST):
6593 Unref after usage for proper valgrinding.
6595 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
6596 Really wait for the task to stop before destroying the
6599 * gst/gstqueue.c: (gst_queue_sink_activate_push),
6600 (gst_queue_src_activate_push):
6601 Small cleanups. Don't stop the task when we did not start
6604 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
6605 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
6606 (gst_task_get_state), (gst_task_start), (gst_task_pause),
6609 Protect the stream lock with the object lock.
6610 Disallow setting the stream lock when running.
6611 Add cleanup_all to wait for the threadpool to finish.
6612 Remove code to autoallocate a mutex if none was provided.
6613 Add _join() to wait for a task to stop.
6614 Protect the thread pool with a global lock.
6616 2005-08-24 Wim Taymans <wim@fluendo.com>
6618 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6619 (gst_base_sink_get_times), (gst_base_sink_do_sync),
6620 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
6621 * gst/base/gstbasesink.h:
6622 Handle newsegment events correctly.
6623 Drop buffers out of the segment range.
6625 2005-08-22 Andy Wingo <wingo@pobox.com>
6627 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
6628 macro, implements an interface and gstimplementsinterface for a
6631 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
6633 * check/Makefile.am:
6634 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
6635 add a test that does a bunch of state changes on elements
6636 needs some fixing for valgrind
6637 * check/states/sinks.c: (gst_object_suite):
6640 add prototype for gst_caps_is_equal_fixed
6642 * gst/gstregistrypool.c:
6645 2005-08-24 Andy Wingo <wingo@pobox.com>
6647 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
6648 convert a negative value. Doesn't make much sense. Mostly this is
6649 here to force callers to ensure -1 maps to -1.
6651 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
6653 * docs/pwg/advanced-types.xml:
6654 Well done to Michael for catching my deliberate introduction
6655 of this spelling mistake.
6656 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
6658 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
6659 unlink pads before removing the element from the bin.
6661 2005-08-24 Andy Wingo <wingo@pobox.com>
6663 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
6664 the same thing as GST_DEBUG=*:4.
6665 (parse_debug_level, parse_debug_category): New helper parsers.
6667 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
6669 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6670 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
6671 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
6672 (gst_base_transform_buffer_alloc),
6673 (gst_base_transform_handle_buffer):
6674 use gboolean return values and pointers to size so we can use the
6675 full GST_BUFFER_SIZE range (guint) for buffer sizes
6676 use GstPadDirection for transform_caps
6677 * gst/base/gstbasetransform.h:
6678 rename get_size to get_unit_size since that's what it is
6679 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
6680 use GstPadDirection for transform_caps
6681 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6683 cleanup and debugging
6685 2005-08-24 Stefan Kost <ensonic@users.sf.net>
6687 * gst/gstelement.c: (gst_element_class_init),
6688 (gst_element_set_state), (activate_pads),
6689 (gst_element_save_thyself):
6690 * tools/gst-compprep.c: (main):
6691 * tools/gst-inspect.c: (print_element_properties_info):
6692 * tools/gst-xmlinspect.c: (print_element_properties):
6693 Fixed long standing mem-leak
6695 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
6697 * check/gst/gstbin.c: (GST_START_TEST):
6698 * gst/gstbin.c: (bin_bus_handler):
6699 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
6700 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
6701 (gst_message_new_warning), (gst_message_new_tag),
6702 (gst_message_new_state_changed), (gst_message_new_segment_start),
6703 (gst_message_new_segment_done), (gst_message_new_custom):
6705 * tools/gst-launch.c: (event_loop):
6706 * tools/gst-md5sum.c: (event_loop):
6707 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
6708 that applications can sensibly post custom messages with references
6709 to their own objects.
6711 2005-08-24 Andy Wingo <wingo@pobox.com>
6713 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
6716 2005-08-24 Wim Taymans <wim@fluendo.com>
6718 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6719 (gst_base_transform_transform_caps),
6720 (gst_base_transform_transform_size),
6721 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6722 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6723 (gst_base_transform_handle_buffer):
6724 * gst/base/gstbasetransform.h:
6725 Many fixes and new features added by Thomas. Can now also do
6726 transforms with variable sizes and a custom fixate_caps function.
6728 2005-08-24 Wim Taymans <wim@fluendo.com>
6730 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6734 Cast to ClockTime before formatting to time.
6739 2005-08-24 Stefan Kost <ensonic@users.sf.net>
6741 * check/gst-libs/controller.c: (GST_START_TEST),
6742 (gst_controller_suite):
6743 * docs/gst/tmpl/gstcaps.sgml:
6744 * docs/gst/tmpl/gstghostpad.sgml:
6745 * docs/gst/tmpl/gstquery.sgml:
6746 * docs/gst/tmpl/gstutils.sgml:
6747 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
6748 (gst_object_sink_values), (gst_object_get_value_arrays),
6749 (gst_object_get_value_array):
6750 gracefully handle helper method calls to objects that are not beeing
6751 controlled, added test case for that
6753 2005-08-23 Wim Taymans <wim@fluendo.com>
6755 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
6756 (gst_event_new_newsegment), (gst_event_parse_newsegment),
6757 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
6758 (gst_event_parse_qos), (gst_event_new_seek),
6759 (gst_event_parse_seek):
6761 Some more debugging output and doc cleanups.
6763 * gst/gstqueue.c: (gst_queue_handle_sink_event):
6764 Fix possible deadlock.
6766 2005-08-23 Stefan Kost <ensonic@users.sf.net>
6768 * docs/gst/gstreamer-docs.sgml:
6769 * docs/gst/gstreamer-sections.txt:
6770 * docs/gst/gstreamer.types:
6771 * docs/gst/tmpl/.cvsignore:
6776 added 100 symbols from gstreamer-unused.txt to the right sections
6777 fixed more broken comments
6778 added GstBus to docs
6780 2005-08-23 Stefan Kost <ensonic@users.sf.net>
6782 * docs/gst/gstreamer-sections.txt:
6783 * docs/gst/tmpl/.cvsignore:
6784 * docs/gst/tmpl/gstbin.sgml:
6785 * docs/gst/tmpl/gstbuffer.sgml:
6786 * gst/base/gstbasesrc.c:
6787 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
6790 * tools/gst-launch.1.in:
6791 inlined more doc comments, added missing comments and fixed comments
6794 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
6796 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6800 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
6802 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
6803 * gst/gststructure.h:
6804 add a fixate function for booleans; add a FIXME that these func
6805 names should probably be gst_structure_fixate_*
6807 2005-08-23 Stefan Kost <ensonic@users.sf.net>
6809 * docs/gst/gstreamer-docs.sgml:
6810 * docs/gst/gstreamer-sections.txt:
6812 * gst/gstbin.c: (gst_bin_get_type),
6813 (gst_bin_child_proxy_get_child_by_index),
6814 (gst_bin_child_proxy_get_children_count),
6815 (gst_bin_child_proxy_init):
6816 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
6817 (gst_child_proxy_get_child_by_index),
6818 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
6819 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
6820 (gst_child_proxy_get), (gst_child_proxy_set_property),
6821 (gst_child_proxy_set_valist), (gst_child_proxy_set),
6822 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
6823 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
6824 * gst/gstchildproxy.h:
6825 * gst/parse/grammar.y:
6826 * tools/gst-inspect.c: (print_interfaces),
6827 (print_element_properties_info), (print_element_info):
6828 ported gstchildproxy over from 0.8
6829 ported gst-inspect fixes and enhancements over from 0.8
6831 2005-08-22 Wim Taymans <wim@fluendo.com>
6833 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6834 (gst_base_transform_handle_buffer):
6835 Also call the transform function if we have ANY caps.
6837 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
6840 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
6842 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
6843 Don't pretend to handle seek events if the source is not seekable
6845 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
6847 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6848 Remove extra parameter to debug output
6850 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6851 (gst_base_src_do_seek), (gst_base_src_activate_push):
6852 Fix seek event handling.
6854 * gst/gstpipeline.c: (gst_pipeline_change_state):
6855 * gst/gstqueue.c: (gst_queue_handle_sink_event),
6856 (gst_queue_src_activate_push):
6857 Don't start the src pad task on FLUSH_STOP if the pad
6861 2005-08-22 Wim Taymans <wim@fluendo.com>
6863 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6864 Added check for gst_static_caps_get() refcounting.
6866 2005-08-22 Wim Taymans <wim@fluendo.com>
6868 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
6869 Make _static_caps_get() refcounting sane.
6871 * gst/gstelement.c: (gst_element_set_state):
6872 Add g_return_val_if_fail() to protect against segfaults.
6874 2005-08-22 Stefan Kost <ensonic@users.sf.net>
6876 * docs/gst/tmpl/gstevent.sgml:
6879 inlined remaining docs, added missing doc comments
6881 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
6883 * check/gst/gstbin.c: (GST_START_TEST):
6884 since we don't know when preroll is done, use refcount range
6886 * gst/check/gstcheck.h:
6887 add macro for checking refcount range
6889 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
6891 * check/Makefile.am:
6892 clean up environment for when registry gets built versus
6893 when actual tests are run; valgrind seems to not report
6894 leaks if GST_PLUGIN_PATH is set to some specific values
6895 * check/gst/gstbin.c: (GST_START_TEST):
6896 add more refcounting checks; maybe this exposes a
6899 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6900 * gst/check/gstcheck.h:
6901 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
6902 (gst_bin_change_state):
6903 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
6904 add/fix debugging/whitespace
6906 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
6908 * check/gst/gstevent.c: (event_probe), (test_event),
6910 Er, don't call gst_bin_watch_for_state_change you idiot.
6912 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
6914 * check/Makefile.am:
6915 Use CHECK_CFLAGS and CHECK_LIBS
6916 * check/gst/gstevent.c: (event_probe), (test_event),
6919 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6920 (gst_base_src_start), (gst_base_src_stop),
6921 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6922 (gst_base_src_change_state):
6923 Sprinkle gst_base_src_stop liberally around error paths to fix
6924 problems reusing a source after failed state changes.
6925 * gst/base/gsttypefindhelper.c: (helper_find_peek),
6926 (helper_find_suggest), (gst_type_find_helper):
6927 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
6929 * docs/gst/tmpl/gstevent.sgml:
6930 Migrate part of the docs from the SGML file. Wait for ensonic to
6931 tell me how I did it wrong ;)
6932 * tools/gst-typefind.c: (main):
6933 Extra robustness to state changes between files.
6935 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
6937 * check/Makefile.am:
6938 don't valgrind the controller test - it's leaking - Stefan, HELP
6939 * gst/check/gstcheck.c: (gst_check_message_error),
6940 (gst_check_chain_func), (gst_check_setup_element),
6941 (gst_check_teardown_element), (gst_check_setup_src_pad),
6942 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
6943 (gst_check_teardown_sink_pad):
6944 * gst/check/gstcheck.h:
6945 add a bunch of methods to set up elements, and src and sink pads
6946 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
6947 * check/elements/identity.c: (setup_identity), (cleanup_identity),
6952 whitespace/doc fixes
6954 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
6957 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
6958 be handled by the application and not always printed as well
6960 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
6962 * check/Makefile.am:
6964 * gst/check/gstcheck.c: (gst_check_message_error):
6965 * gst/check/gstcheck.h:
6966 add a fail_unless_equals_int
6967 add fail_unless for error messages
6969 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
6971 * check/Makefile.am:
6973 * common/Makefile.am:
6976 factor out some of the common stuff so we can use it
6978 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
6980 * check/Makefile.am:
6981 * check/gst/gstiterator.c: (GST_START_TEST):
6982 * check/gst/gstsystemclock.c: (GST_START_TEST),
6983 (gst_systemclock_suite):
6984 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6988 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
6990 * check/elements/.cvsignore:
6991 * check/elements/gstfakesrc.c:
6992 rename to name of element
6993 * check/elements/identity.c: (chain_func), (event_func),
6994 (setup_identity), (cleanup_identity), (GST_START_TEST),
6995 (identity_suite), (main):
6996 add a test for identity
6997 * check/Makefile.am:
6998 * pkgconfig/Makefile.am:
6999 * pkgconfig/gstreamer-check.pc.in:
7000 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7004 move the check stuff to a library that gets installed
7005 * check/gst-libs/controller.c: (GST_START_TEST):
7006 * check/gst-libs/gdp.c:
7007 * check/gst/gst.c: (GST_START_TEST):
7008 * check/gst/gstbin.c:
7009 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7010 * check/gst/gstbus.c:
7011 * check/gst/gstcaps.c: (GST_START_TEST):
7012 * check/gst/gstelement.c:
7013 * check/gst/gstghostpad.c:
7014 * check/gst/gstiterator.c:
7015 * check/gst/gstmessage.c:
7016 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
7017 * check/gst/gstobject.c:
7018 * check/gst/gstpad.c: (GST_START_TEST):
7019 * check/gst/gststructure.c: (GST_START_TEST):
7020 * check/gst/gstsystemclock.c: (GST_START_TEST),
7021 (gst_systemclock_suite):
7022 * check/gst/gsttag.c: (gst_tag_suite):
7023 * check/gst/gstvalue.c:
7024 * check/pipelines/cleanup.c:
7025 * check/pipelines/simple_launch_lines.c:
7026 * check/states/sinks.c:
7027 change include statement
7029 * docs/gst/gstreamer-sections.txt:
7030 * docs/gst/tmpl/gstpad.sgml:
7031 document more pad stuff
7032 * gst/gstminiobject.c: (gst_mini_object_ref),
7033 (gst_mini_object_unref):
7036 2005-08-19 Stefan Kost <ensonic@users.sf.net>
7038 * docs/gst/tmpl/gst.sgml:
7040 eliminate another tmpl file, fix spelling in the long-description
7042 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7044 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7045 (test_event), (timediff), (gstevents_suite):
7046 Should fix build on 64-bit arch's
7048 2005-08-18 Andy Wingo <wingo@pobox.com>
7050 Make sure that when a pipeline goes to PLAYING, that data has
7051 actually hit the sink.
7053 * check/states/sinks.c (test_sink): A sink that doesn't get any
7054 data shouldn't return SUCCESS for going to either PLAYING or
7055 PAUSED. Test also the return values on the way back down.
7057 * gst/gstelement.c (gst_element_set_state): When changing the
7058 state of an element currently changing state asynchronously, go to
7059 lost-state after commiting the pending state. Makes future calls
7060 to get_state continue to return ASYNC.
7062 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
7063 ASYNC when going to PLAYING if we still don't have preroll, as can
7064 happen with live sources.
7066 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7068 * docs/pwg/advanced-types.xml:
7069 Hack long paragraph into 2 chunks as a workaround for buggy
7070 jadetex version in sid and breezy that loops infinitely and
7073 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7075 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7076 (test_event), (timediff), (gstevents_suite):
7077 Provide more error margin in clock measurements to allow for
7078 g_get_current_time inaccuracies.
7080 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7082 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7083 (test_event), (timediff), (gstevents_suite):
7084 Fix error message output so I might be able to tell why the
7085 test works here but fails on the build farm.
7087 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7089 * check/Makefile.am:
7090 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7091 (test_event), (timediff), (gstevents_suite), (main):
7094 * docs/design/part-seeking.txt:
7097 * docs/gst/tmpl/gstevent.sgml:
7098 * docs/gst/tmpl/gstfakesrc.sgml:
7101 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7102 Treat a buffer-without-newsegment the same as a receiving
7103 a newsegment not in time format, and disable syncing to the clock
7106 * gst/gstbus.c: (gst_bus_set_sync_handler):
7107 Assert if anyone tries to replace the existing sync_handler for bus,
7108 as only the owner should be setting it.
7111 Have a fixed set of custom event enums with events identified by
7112 their structure name (as in 0.8), rather than a free-for-all
7113 allowing collisions between enum values from different plugins.
7115 * gst/gstpad.c: (gst_pad_class_init):
7118 * gst/gstqueue.c: (gst_queue_handle_sink_event):
7119 Handle out-of-band downstream events from the sending thread.
7121 2005-08-17 Andy Wingo <wingo@pobox.com>
7123 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
7124 play-timeout==0 to mean no timeout at all. In that case, don't
7125 bother with a get_state or a warning, just return directly, even
7128 * gst/base/gstbasetransform.c: Debug changes.
7131 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
7132 ensure bins post state change messages. A bit of a hack but I can't
7133 think of a way to avoid it.
7135 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
7137 2005-08-16 Andy Wingo <wingo@pobox.com>
7139 * gst/base/gstadapter.h:
7140 * gst/base/gstadapter.c (gst_adapter_take): New function, like
7141 peek() but you own the data. Not terribly efficient atm.
7143 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7145 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
7146 (gst_element_found_tags):
7148 Add two utility functions for tag handling.
7150 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7152 * docs/manual/advanced-dataaccess.xml:
7153 * docs/manual/basics-helloworld.xml:
7154 Fix docs to use _bin_add() before _link(), which fixes the examples
7155 with recent core versions (reported by Madhan Raj M
7156 <raj_madan@rediffmail.com>, #313199).
7158 2005-08-16 Wim Taymans <wim@fluendo.com>
7160 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7161 Added subtract checks.
7163 * docs/design/part-events.txt:
7164 Some more docs about newsegment
7166 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
7169 * gst/gstcaps.c: (gst_caps_to_string):
7170 Add comments, cleanups.
7172 * gst/gstelement.c: (gst_element_save_thyself):
7175 * gst/gstvalue.c: (gst_value_collect_int_range),
7176 (gst_string_unwrap), (gst_value_union_int_int_range),
7177 (gst_value_union_int_range_int_range),
7178 (gst_value_intersect_int_int_range),
7179 (gst_value_intersect_int_range_int_range),
7180 (gst_value_intersect_double_double_range),
7181 (gst_value_intersect_double_range_double_range),
7182 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
7183 (gst_value_subtract_int_range_int),
7184 (gst_value_subtract_double_range_double),
7185 (gst_value_subtract_double_range_double_range),
7186 (gst_value_subtract_from_list), (gst_value_subtract_list),
7187 (gst_value_can_compare), (gst_value_compare_fraction):
7188 Cleanups, add comments, remove unneeded asserts.
7190 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
7192 * tools/gst-launch.c: (event_loop):
7193 don't convert NULL structures to strings
7195 2005-08-15 Stefan Kost <ensonic@users.sf.net>
7197 * docs/gst/gstreamer-sections.txt:
7198 made some defines private
7199 * docs/gst/tmpl/gstconfig.sgml:
7200 * docs/gst/tmpl/gstqueue.sgml:
7201 * docs/gst/tmpl/gsttaglist.sgml:
7202 * docs/gst/tmpl/gsttypes.sgml:
7203 * docs/gst/tmpl/gstutils.sgml:
7204 * docs/pwg/appendix-porting.xml:
7205 * gst/base/gstbasesink.h:
7206 * gst/base/gstbasesrc.c:
7207 * gst/base/gstbasesrc.h:
7208 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
7209 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
7210 * gst/gstelement.c: (gst_element_class_init):
7211 * gst/gstpad.c: (gst_pad_class_init):
7212 * gst/gstqueue.c: (gst_queue_class_init):
7213 * gst/gstxml.c: (gst_xml_class_init):
7214 documented all undocumented signal inline
7215 * libs/gst/controller/gst-controller.h:
7218 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7220 * docs/pwg/appendix-porting.xml:
7221 Document _set_link_function -> _set_setcaps_function.
7223 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
7225 * check/Makefile.am:
7226 add a .check target for running the check
7227 * check/gst-libs/controller.c: (GST_START_TEST):
7229 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7230 complete checks for gstbuffer; would be nice if I could get the
7231 gcov stuff to work so I can see if I actually completed gstbuffer.c
7233 add ASSERT_BUFFER_REFCOUNT
7235 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
7237 * docs/gst/gstreamer-sections.txt:
7238 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
7240 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
7241 spew out a warning if a tag that is already registered
7242 is re-registered, unless it is re-registered with a
7243 different type (#308438).
7245 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
7247 * docs/pwg/appendix-porting.xml:
7248 * docs/pwg/building-state.xml:
7249 Add some paragraphs about state changes in 0.9 to the PWG
7250 and the porting guide, in particular about the new meaning
7251 of GST_STATE_PAUSED and how to write state change functions
7252 with concurrent access by multiple threads in mind.
7254 2005-08-11 Stefan Kost <ensonic@users.sf.net>
7256 * docs/gst/gstreamer-docs.sgml:
7257 * docs/libs/gstreamer-libs-docs.sgml:
7258 added deprecation and since indexes
7259 * libs/gst/controller/gst-controller.c:
7260 * libs/gst/controller/gst-helper.c:
7264 2005-08-11 Wim Taymans <wim@fluendo.com>
7266 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
7267 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
7268 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
7269 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
7270 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
7271 (gst_ghost_pad_set_target):
7272 Actually implement (re)setting the target on a ghostpad
7273 as described in the docs.
7275 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
7277 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
7278 Check whether GST_DEBUG_NO_COLOR environment variable is
7279 set and disable coloured debug output if that is the case.
7281 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
7283 * gst/base/gsttypefindhelper.c: (helper_find_peek),
7284 (gst_type_find_helper):
7285 The memory returned by gst_type_find_peek() needs to
7286 stay valid until the end of a typefind function, and
7287 typefind functions may keep results from different
7288 offsets around, so we can't just unref the buffer from
7289 the previous _peek(), but have to save all buffers
7290 returned by _peek() until typefinding is done and only
7293 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
7295 * docs/gst/gstreamer-sections.txt:
7297 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
7299 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7301 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
7302 Fix a pretty good memleak.
7304 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
7306 * gst/gstiterator.h:
7307 Fix wrong include and 'make distcheck'.
7309 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7311 * gst/gstbin.c: (bin_bus_handler):
7312 Use gst_element_post_message() instead.
7314 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
7316 * gst/base/gstadapter.h:
7317 * gst/base/gstbasesink.h:
7318 * gst/base/gstbasesrc.h:
7319 * gst/base/gstbasetransform.h:
7320 * gst/base/gstcollectpads.h:
7321 * gst/base/gstpushsrc.h:
7322 * gst/gstiterator.h:
7323 Add padding to our base elements' class and instance structs and
7324 to GstIterator (you will need to rebuild all plugins and apps!)
7326 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7328 * gst/gstbin.c: (bin_bus_handler):
7329 Make default message forwarding from child->bus to bin->bus
7330 threadsafe and make it not emit warnings if the parent has no bus.
7332 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7334 * gst/gstelement.c: (activate_pads):
7335 On paused->ready, set pad->caps to NULL, as is the documented
7336 behaviour in this state change. Fixes playback of series of
7337 media files when visualization is enabled in Totem.
7339 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7341 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
7342 Allow NULL as filter-caps (which means "any").
7344 2005-08-05 Stefan Kost <ensonic@users.sf.net>
7346 * docs/libs/gstreamer-libs-sections.txt:
7347 * libs/gst/controller/gst-controller.c:
7348 * libs/gst/controller/gst-controller.h:
7349 * libs/gst/controller/gst-helper.c:
7350 adding more entries to the docs and fix small doc-bugs
7352 2005-08-05 Stefan Kost <ensonic@users.sf.net>
7354 * docs/gst/gstreamer-docs.sgml:
7355 * docs/gst/gstreamer-sections.txt:
7356 * docs/gst/gstreamer.types:
7357 * docs/gst/tmpl/gstbasesink.sgml:
7358 * docs/gst/tmpl/gstbasesrc.sgml:
7359 * docs/gst/tmpl/gstbasetransform.sgml:
7360 * docs/gst/tmpl/gstfakesrc.sgml:
7361 * gst/base/gstcollectpads.c:
7362 * gst/base/gstcollectpads.h:
7363 * libs/gst/controller/gst-controller.c:
7364 * libs/gst/controller/gst-controller.h:
7365 * libs/gst/controller/gst-helper.c:
7366 * libs/gst/controller/gst-interpolation.c:
7367 * libs/gst/controller/lib.c:
7368 added long/short desc for controller docs
7369 added collectpads base class docs
7370 added correct includes to base-class docs
7372 2005-08-05 Stefan Kost <ensonic@users.sf.net>
7374 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
7375 (gst_test_mono_source_set_property),
7376 (gst_test_mono_source_class_init), (GST_START_TEST),
7377 (gst_controller_suite):
7378 * docs/gst/gstreamer-docs.sgml:
7379 * docs/gst/gstreamer-sections.txt:
7380 * docs/gst/gstreamer.types:
7381 * docs/libs/gstreamer-libs-docs.sgml:
7382 * docs/libs/gstreamer-libs-sections.txt:
7383 * gst/base/gstadapter.c:
7384 * libs/gst/controller/gst-controller.c:
7385 (gst_controlled_property_new), (gst_controlled_property_free),
7386 (gst_controller_new_valist),
7387 (gst_controller_remove_properties_valist),
7388 (gst_controller_sink_values), (_gst_controller_finalize):
7389 * libs/gst/controller/gst-controller.h:
7390 * libs/gst/controller/gst-helper.c:
7391 (gst_object_control_properties), (gst_object_uncontrol_properties),
7392 (gst_object_get_controller), (gst_object_set_controller),
7393 (gst_object_sink_values), (gst_object_get_value_arrays),
7394 (gst_object_get_value_array):
7395 more tests (and fixes) for the controller
7396 more docs for the controller
7397 integrated companies docs for the adapter
7399 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
7401 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
7402 (GST_START_TEST), (fakesrc_suite):
7403 add tests for sizetype
7405 2005-08-04 Andy Wingo <wingo@pobox.com>
7407 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
7408 fixes buffer_alloc proxying among other things.
7410 * gst/base/gstbasetransform.c:
7411 * gst/base/gstbasetransform.h:
7412 Revert patch to gstbasetransform from 7-28 removing
7415 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
7416 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
7417 Semantics changed, should return not the size of the output buffer
7418 but the byte size of a buffer with a given caps.
7420 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
7422 (gst_base_transform_configure_caps): Don't set out_size here: (in,
7423 out) are not the pad caps until setcaps finishes.
7424 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
7425 not-in-place case as well. Deal with changing from in-place to
7426 not-in-place within calling pad_alloc_buffer. Still a bit
7427 concerned about the overhead here...
7429 2005-08-03 Andy Wingo <wingo@pobox.com>
7431 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
7432 fixating is an error.
7434 2005-08-04 Edward Hervey <edward@fluendo.com>
7436 * gst/base/gstadapter.h:
7437 Added gst_adapter_get_type() to the header
7439 2005-08-03 Stefan Kost <ensonic@users.sf.net>
7441 * check/Makefile.am:
7442 * check/gst-libs/controller.c:
7443 * libs/gst/controller/gst-controller.c:
7444 (gst_controller_new_valist):
7445 added check test suite for the controller
7446 * gst/base/gstpushsrc.c:
7449 2005-08-03 Stefan Kost <ensonic@users.sf.net>
7451 * docs/gst/Makefile.am:
7452 * docs/gst/gstreamer-docs.sgml:
7453 * docs/gst/gstreamer-sections.txt:
7454 * docs/gst/gstreamer.types:
7455 * docs/gst/tmpl/gstfakesrc.sgml:
7457 * gst/base/gstbasesink.c:
7458 * gst/base/gstbasesink.h:
7459 * gst/base/gstbasesrc.c:
7460 * gst/base/gstbasesrc.h:
7461 * gst/base/gstbasetransform.c:
7462 * gst/base/gstpushsrc.c:
7463 * gst/base/gstpushsrc.h:
7464 add short/long description docs to base classes
7465 add pushsrc to the docs
7466 remove consolidated doc fragments
7468 2005-08-03 Stefan Kost <ensonic@users.sf.net>
7471 * docs/libs/Makefile.am:
7472 * docs/libs/gstreamer-libs-docs.sgml:
7473 * docs/libs/gstreamer-libs-sections.txt:
7474 * docs/libs/gstreamer-libs.types:
7475 * examples/Makefile.am:
7476 * examples/controller/.cvsignore:
7477 * examples/controller/Makefile.am:
7478 * examples/controller/audio-example.c: (main):
7479 * libs/gst/Makefile.am:
7480 * libs/gst/controller/.cvsignore:
7481 * libs/gst/controller/Makefile.am:
7482 * libs/gst/controller/gst-controller.c:
7483 (on_object_controlled_property_changed), (gst_timed_value_compare),
7484 (gst_timed_value_find),
7485 (gst_controlled_property_set_interpolation_mode),
7486 (gst_controlled_property_new), (gst_controlled_property_free),
7487 (gst_controller_find_controlled_property),
7488 (gst_controller_new_valist), (gst_controller_new),
7489 (gst_controller_remove_properties_valist),
7490 (gst_controller_remove_properties), (gst_controller_set),
7491 (gst_controller_set_from_list), (gst_controller_unset),
7492 (gst_controller_get), (gst_controller_get_all),
7493 (gst_controller_sink_values), (gst_controller_get_value_arrays),
7494 (gst_controller_get_value_array),
7495 (gst_controller_set_interpolation_mode),
7496 (_gst_controller_finalize), (_gst_controller_init),
7497 (_gst_controller_class_init), (gst_controller_get_type):
7498 * libs/gst/controller/gst-controller.h:
7499 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
7500 (g_object_uncontrol_properties), (g_object_get_controller),
7501 (g_object_set_controller), (g_object_sink_values),
7502 (g_object_get_value_arrays), (g_object_get_value_array):
7503 * libs/gst/controller/gst-interpolation.c:
7504 (gst_controlled_property_find_timed_value_node),
7505 (interpolate_none_get), (interpolate_trigger_get),
7506 (interpolate_trigger_get_value_array):
7507 * libs/gst/controller/lib.c: (gst_controller_init):
7508 * pkgconfig/Makefile.am:
7509 * pkgconfig/gstreamer-control-uninstalled.pc.in:
7510 * pkgconfig/gstreamer-control.pc.in:
7511 * testsuite/Makefile.am:
7512 * testsuite/controller/.cvsignore:
7513 * testsuite/controller/Makefile.am:
7514 * testsuite/controller/interpolator.c: (main):
7515 added controller code
7516 removed dparam pc files
7518 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
7519 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
7520 (gst_collectpads_stop):
7521 Broadcast the condition when shutting down, to make sure we wake all
7522 threads up. Shut down pads on finalize, for safety.
7524 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
7525 * gst/base/gstbasetransform.c: (gst_base_transform_init),
7526 (gst_base_transform_handle_buffer),
7527 (gst_base_transform_change_state):
7528 Handle PAUSED->READY->PAUSED transition after negotiation
7530 * gst/gstmessage.c: (gst_message_init):
7531 Extra piece of debug for new messages.
7533 2005-08-01 Stefan Kost <ensonic@users.sf.net>
7536 * docs/gst/tmpl/gstbasesrc.sgml:
7537 * docs/gst/tmpl/gstelement.sgml:
7538 * docs/gst/tmpl/gstevent.sgml:
7539 * docs/gst/tmpl/gstfakesrc.sgml:
7540 * docs/gst/tmpl/gstformat.sgml:
7541 * docs/gst/tmpl/gstghostpad.sgml:
7542 * docs/gst/tmpl/gstpad.sgml:
7543 * docs/gst/tmpl/gstquery.sgml:
7544 * docs/gst/tmpl/gststructure.sgml:
7545 * docs/gst/tmpl/gsttaglist.sgml:
7546 * docs/gst/tmpl/gstvalue.sgml:
7547 * docs/libs/gstreamer-libs-docs.sgml:
7548 * docs/libs/gstreamer-libs-sections.txt:
7549 * docs/libs/gstreamer-libs.types:
7550 * libs/gst/Makefile.am:
7551 * libs/gst/control/.cvsignore:
7552 * libs/gst/control/Makefile.am:
7553 * libs/gst/control/control.c:
7554 * libs/gst/control/control.h:
7555 * libs/gst/control/dparam.c:
7556 * libs/gst/control/dparam.h:
7557 * libs/gst/control/dparam_smooth.c:
7558 * libs/gst/control/dparam_smooth.h:
7559 * libs/gst/control/dparamcommon.h:
7560 * libs/gst/control/dparammanager.c:
7561 * libs/gst/control/dparammanager.h:
7562 * libs/gst/control/dplinearinterp.c:
7563 * libs/gst/control/dplinearinterp.h:
7564 * libs/gst/control/unitconvert.c:
7565 * libs/gst/control/unitconvert.h:
7566 * testsuite/Makefile.am:
7567 * testsuite/dynparams/.cvsignore:
7568 * testsuite/dynparams/Makefile.am:
7569 * testsuite/dynparams/dparamstest.c:
7570 * tools/Makefile.am:
7571 * tools/gst-inspect.c: (print_element_info), (main):
7572 * tools/gst-xmlinspect.c: (print_element_info), (main):
7573 deactivate and remove dparams (libgstcontrol)
7575 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
7577 * gst/elements/gsttypefindelement.c:
7578 (gst_type_find_element_have_type), (gst_type_find_element_init),
7579 (stop_typefinding), (gst_type_find_element_handle_event),
7580 (gst_type_find_element_chain), (gst_type_find_element_getrange):
7581 * gst/elements/gsttypefindelement.h:
7582 Set caps on all outgoing buffers, not just the first one.
7584 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
7586 * gst/elements/gsttypefindelement.c:
7587 (gst_type_find_element_have_type),
7588 (gst_type_find_element_check_set_buffer_caps),
7589 (gst_type_find_element_init), (stop_typefinding),
7590 (gst_type_find_element_handle_event),
7591 (gst_type_find_element_chain), (gst_type_find_element_getrange):
7592 * gst/elements/gsttypefindelement.h:
7593 Set caps on first outgoing buffer when we've found the type.
7595 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
7597 * docs/gst/gstreamer-docs.sgml:
7598 * docs/gst/gstreamer-sections.txt:
7599 * docs/gst/tmpl/gstscheduler.sgml:
7600 * docs/gst/tmpl/gstschedulerfactory.sgml:
7601 Remove some old cruft from docs.
7603 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
7606 Fix inline docs for GstPadLinkReturn.
7608 * gst/gststructure.c: (gst_structure_has_name):
7609 * gst/gststructure.h:
7610 * docs/gst/gstreamer-sections.txt:
7611 New API: gst_structure_has_name().
7613 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
7616 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
7617 and _LARGEFILE_SOURCE in config.h as required. Do not
7618 export those flags in our .pc files any longer (#142209).
7620 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
7622 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
7623 (gst_file_sink_do_seek), (gst_file_sink_event),
7624 (gst_file_sink_get_current_offset), (gst_file_sink_render):
7625 Redo seek/tell calls with large file support in mind; add some
7626 debugging messages; add log message that tells us when large
7627 file support is unavailable or not enabled for some reason.
7629 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
7630 Add log message that tells us when large file support
7631 is unavailable or not enabled for some reason.
7633 2005-07-29 Wim Taymans <wim@fluendo.com>
7635 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
7636 Added test for removing an element with ghostpad from a bin.
7637 Fixed test as current implementation does the right thing.
7639 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
7640 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
7641 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
7642 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
7643 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
7644 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
7645 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
7646 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7647 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
7648 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
7649 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
7650 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
7651 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7652 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
7653 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
7654 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
7655 * gst/gstghostpad.h:
7656 Clean up ghostpads, remove properties for internal stuff.
7659 Prepare for switching targets, not all use cases work yet.
7661 2005-07-29 Wim Taymans <wim@fluendo.com>
7663 * docs/design/part-gstghostpad.txt:
7666 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
7667 (gst_bin_remove_func):
7668 Unlinking pads while holding the bin LOCK is not a good
7671 * gst/gstpad.c: (gst_pad_class_init),
7672 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
7673 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
7674 No prob setting template after creating the pad.
7676 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
7678 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
7679 (gst_bus_peek), (gst_bus_source_dispatch),
7680 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
7681 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
7682 gst_bus_poll may be called from other threads. Handle
7683 this nicely by not making poll_data disappear off the
7684 stack once gst_bus_poll returns.
7685 gst_bus_peek now increments the refcount on the returned
7688 2005-07-29 Wim Taymans <wim@fluendo.com>
7690 * docs/design/part-gstghostpad.txt:
7691 Overview of current GhostPad datastructures and use
7692 cases for changing the target.
7694 2005-07-28 Wim Taymans <wim@fluendo.com>
7696 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7697 Added checks for hierarchy consistency whan adding linked
7700 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
7701 Added check to test element scheduling without bin/pipeline.
7703 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
7704 First add elements to bin, then link.
7706 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
7707 (gst_bin_remove_func):
7708 Unlink pads from elements added/removed from bin to maintain
7709 hierarchy consistency.
7711 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7713 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7714 (gst_base_transform_handle_buffer):
7715 * gst/base/gstbasetransform.h:
7716 Remove broken delay_configure (fixes renegotiation of software
7717 scaling pipelines); remove some leftover printf()s.
7719 2005-07-28 Wim Taymans <wim@fluendo.com>
7721 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
7722 Added some more tests for wrong hierarchy
7724 * docs/design/part-overview.txt:
7727 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
7730 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
7731 (gst_element_dispose):
7734 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
7735 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
7736 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7737 (gst_pad_set_caps), (gst_pad_send_event):
7738 Check for correct hierarchy when linking pads. Moving to
7739 strict requirement for ghostpads when linking elements in
7743 Clean ups. Added WRONG_HIERARCHY return value.
7745 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7747 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
7748 Better debug if no transform is possible.
7750 2005-07-27 Wim Taymans <wim@fluendo.com>
7752 * docs/random/wtay/network-transp:
7755 2005-07-27 Wim Taymans <wim@fluendo.com>
7757 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7758 (gst_dp_event_from_packet):
7759 Fix serialization of seek events.
7761 2005-07-27 Wim Taymans <wim@fluendo.com>
7763 * check/gst-libs/gdp.c: (GST_START_TEST):
7764 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
7765 Fix compilation and fix event serialization.
7767 2005-07-27 Wim Taymans <wim@fluendo.com>
7770 * docs/design/part-TODO.txt:
7771 * docs/design/part-events.txt:
7774 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7775 (gst_base_sink_event), (gst_base_sink_do_sync),
7776 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
7777 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7778 (gst_base_src_do_seek), (gst_base_src_event_handler),
7779 (gst_base_src_loop):
7780 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7781 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7782 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7783 (gst_base_transform_event), (gst_base_transform_handle_buffer),
7784 (gst_base_transform_set_passthrough),
7785 (gst_base_transform_is_passthrough):
7786 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
7787 * gst/elements/gstfilesink.c: (gst_file_sink_event):
7793 * gst/gstelement.c: (gst_element_seek):
7795 Update gst_element_seek.
7797 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
7798 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
7799 (gst_event_new_flush_start), (gst_event_new_flush_stop),
7800 (gst_event_new_eos), (gst_event_new_newsegment),
7801 (gst_event_parse_newsegment), (gst_event_new_tag),
7802 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
7803 (gst_event_parse_qos), (gst_event_new_seek),
7804 (gst_event_parse_seek), (gst_event_new_navigation):
7806 Make GstEvent use GstStructure. Add parsing code, make sure the
7807 API is sufficiently generic.
7808 Mark possible directions of events and serialization.
7810 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
7811 (_gst_message_copy), (gst_message_new_segment_start),
7812 (gst_message_new_segment_done), (gst_message_new_custom),
7813 (gst_message_parse_segment_start),
7814 (gst_message_parse_segment_done):
7817 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7818 (gst_pad_set_caps), (gst_pad_send_event):
7819 Update for new events.
7820 Catch events sent in wrong directions.
7822 * gst/gstqueue.c: (gst_queue_link_src),
7823 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
7824 (gst_queue_handle_src_query):
7829 Remove event code from this file.
7831 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7832 (gst_dp_event_from_packet):
7835 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7837 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
7838 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7839 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
7840 Make debugging actually useful.
7842 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7844 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
7845 (gst_pad_fixate_caps):
7846 Implement default fixation once again, so that gst_pad_fixate()
7847 actually does anything at all. This probably needs to be some
7848 sort of a last resort, and use profile-based fixation first, but
7849 since that doesn't exist yet, this is the best we have. Fixes
7850 visualization in Totem.
7852 2005-07-22 Wim Taymans <wim@fluendo.com>
7854 * docs/design/part-events.txt:
7857 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7858 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
7859 (gst_base_sink_activate_pull):
7862 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
7863 (gst_fake_src_create):
7864 Fix handoff marshall.
7866 * gst/elements/gstidentity.c: (gst_identity_class_init),
7867 (gst_identity_transform_ip):
7868 We're a real inplace element.
7870 * gst/gstbus.c: (gst_bus_post):
7871 Added some comments.
7873 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
7874 * tests/muxing/case1.c: (main):
7875 * tests/sched/dynamic-pipeline.c: (main):
7876 * tests/sched/interrupt1.c: (main):
7877 * tests/sched/interrupt2.c: (main):
7878 * tests/sched/interrupt3.c: (main):
7879 * tests/sched/runxml.c: (main):
7880 * tests/sched/sched-stress.c: (main):
7881 * tests/seeking/seeking1.c: (event_received), (main):
7882 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
7884 * tests/threadstate/threadstate3.c: (main):
7885 * tests/threadstate/threadstate4.c: (main):
7886 * tests/threadstate/threadstate5.c: (main):
7889 2005-07-21 Wim Taymans <wim@fluendo.com>
7891 * docs/design/part-seeking.txt:
7892 Some small additions.
7894 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7895 (gst_base_sink_get_times), (gst_base_sink_do_sync),
7896 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
7897 * gst/base/gstbasesink.h:
7898 discont values are gint64, handle the math correctly.
7900 * gst/base/gstbasesrc.c: (gst_base_src_loop):
7901 Make the basesrc report error if the source pad is not linked.
7903 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
7904 (gst_queue_loop), (gst_queue_handle_src_query),
7905 (gst_queue_src_activate_push):
7906 Make queue collect data even if the srcpad is not linked.
7907 Start pushing out data as soon as it is linked.
7909 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
7911 Added gst_flow_get_name() to ease error reporting.
7913 2005-07-20 Wim Taymans <wim@fluendo.com>
7915 * gst/gstmessage.c: (gst_message_new_segment_start),
7916 (gst_message_new_segment_done), (gst_message_parse_segment_start),
7917 (gst_message_parse_segment_done):
7919 Added a bunch of messages for advanced seeking.
7921 * gst/parse/grammar.y:
7922 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
7923 (gst_dpman_state_changed):
7924 Fix some new-pad -> pad-added signals
7926 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7928 * docs/manual/appendix-porting.xml:
7929 * docs/pwg/appendix-porting.xml:
7930 Document new-pad/state-change signal renames and the FixedList
7933 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7935 * docs/manual/advanced-autoplugging.xml:
7936 * docs/manual/basics-helloworld.xml:
7937 * docs/manual/basics-pads.xml:
7938 * docs/random/ds/0.9-suggested-changes:
7939 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
7944 * gst/gststructure.c: (gst_structure_value_get_generic_type),
7945 (gst_structure_parse_array), (gst_structure_parse_value):
7946 * gst/gstvalue.c: (gst_type_is_fixed),
7947 (gst_value_list_prepend_value), (gst_value_list_append_value),
7948 (gst_value_list_get_size), (gst_value_list_get_value),
7949 (gst_value_transform_array_string), (gst_value_serialize_array),
7950 (gst_value_deserialize_array), (gst_value_intersect_array),
7951 (gst_value_is_fixed), (_gst_value_initialize):
7953 GstElement::new-pad -> pad-added, GstElement::state-change ->
7954 state-changed, GstValueFixedList -> GstValueArray, add format and
7955 flags as their own arguments in gst_element_seek() (should improve
7956 "bindeability"), remove function generators since they don't work
7957 under a whole bunch of compilers (they were deprecated already
7960 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7962 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
7963 (_gst_debug_register_funcptr):
7965 Fix illegal cast on some platforms (#309253).
7967 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7969 * gst/gstmessage.c: (gst_message_new_custom):
7971 Add _new_custom, make _new_application a macro to _new_custom.
7973 2005-07-20 Wim Taymans <wim@fluendo.com>
7975 * gst/base/gstbasesrc.c: (gst_base_src_init),
7976 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
7977 * gst/base/gstbasesrc.h:
7978 Add a gboolean to decide when to push out a discont.
7980 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
7981 (gst_queue_loop), (gst_queue_handle_src_query),
7982 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
7983 (gst_queue_set_property), (gst_queue_get_property):
7986 * tests/threadstate/threadstate1.c: (main):
7987 Make a thread test compile and run... very silly..
7990 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7992 * docs/manual/appendix-porting.xml:
7993 Mention removal of libgstgconf-0.9.la and existence of gconf
7996 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7998 * docs/pwg/advanced-clock.xml:
7999 * docs/pwg/appendix-porting.xml:
8000 * docs/pwg/intro-preface.xml:
8001 * docs/pwg/other-base.xml:
8002 * docs/pwg/other-manager.xml:
8003 * docs/pwg/other-nton.xml:
8004 * docs/pwg/other-ntoone.xml:
8005 * docs/pwg/other-oneton.xml:
8007 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
8008 demuxer), remove n-to-n (was never written), fix some code examples
8009 and links and update the porting section to include all this.
8011 2005-07-19 Wim Taymans <wim@fluendo.com>
8013 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
8014 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
8015 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
8016 (gst_queue_src_activate_push), (gst_queue_change_state),
8017 (gst_queue_get_property):
8019 Propagate GstFlowReturn more intelligently upstream and output
8020 an ERROR/EOS when streaming stopped due to fatal error.
8022 2005-07-19 Wim Taymans <wim@fluendo.com>
8024 * tools/gst-launch.c: (check_intr), (event_loop), (main):
8025 Don't block forever for the state change to complete, the
8026 pipeline already did with a sensible timeout.
8028 2005-07-19 Wim Taymans <wim@fluendo.com>
8030 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
8031 Make sure we never call the create function is we
8034 2005-07-19 Andy Wingo <wingo@pobox.com>
8036 * gst/parse/parse.l: Attempt to solve bug #172815.
8038 2005-07-19 Wim Taymans <wim@fluendo.com>
8040 * docs/design/part-clocks.txt:
8041 * docs/design/part-events.txt:
8042 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
8044 Only update the seeking values when we are not
8047 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
8049 * gst/base/gstbasesrc.c: (gst_base_src_loop):
8050 Oops, ignore the result of gst_pad_push_event here.
8052 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
8054 * gst/base/gstbasesrc.c: (gst_base_src_loop),
8055 (gst_base_src_activate_push):
8056 Send discont event from the loop function, as pads
8057 aren't activated yet in the activate_push handler.
8059 * gst/gstbin.c: (bin_bus_handler):
8060 Don't leak element name.
8062 2005-07-18 Andy Wingo <wingo@pobox.com>
8064 * configure.ac: Use AS_LIBTOOL_TAGS.
8066 2005-07-18 Wim Taymans <wim@fluendo.com>
8068 * docs/gst/gstreamer.types:
8069 Remove deleted types.
8071 2005-07-18 Wim Taymans <wim@fluendo.com>
8073 * check/elements/gstfakesrc.c: (GST_START_TEST):
8076 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
8077 (init_popt_callback):
8079 * gst/gst_private.h:
8080 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
8081 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
8084 * gst/gstconfig.h.in:
8085 * gst/gstelement.c: (gst_element_class_init),
8086 (gst_element_set_base_time), (gst_element_get_base_time),
8087 (iterator_fold_with_resync), (gst_element_change_state),
8088 (gst_element_dispose), (gst_element_get_bus):
8090 * gst/gstelementfactory.h:
8091 * gst/gsterror.c: (_gst_core_errors_init):
8094 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
8096 * gst/gstinfo.c: (_gst_debug_init):
8097 * gst/gstmessage.c: (_gst_message_copy):
8099 * gst/gstminiobject.h:
8102 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8103 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
8106 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
8107 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
8108 (gst_pipeline_get_last_stream_time):
8109 * gst/gstpipeline.h:
8110 * gst/gstpluginfeature.h:
8112 * gst/gstscheduler.c:
8113 * gst/gstscheduler.h:
8114 * gst/gststructure.h:
8115 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
8116 (gst_task_finalize), (gst_task_func), (gst_task_create),
8117 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
8118 (gst_task_stop), (gst_task_pause):
8120 * gst/gsttypefind.h:
8122 * gst/registries/gstlibxmlregistry.c: (load_feature),
8123 (gst_xml_registry_load), (gst_xml_registry_save_feature):
8124 * gst/registries/gstxmlregistry.c:
8125 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
8126 * gst/schedulers/threadscheduler.c:
8127 * libs/gst/control/dparammanager.h:
8128 * tools/gst-inspect.c: (print_element_list),
8129 (print_plugin_features), (print_element_features):
8130 * tools/gst-xmlinspect.c: (print_element_list),
8131 (print_plugin_info), (main):
8132 Removed plugable schedulers.
8133 Removed Scheduler/Manager from elements.
8134 Removed gsttypes.h, rearranged includes.
8135 Removed dependency pad<->element, element<>pipeline, and
8136 various others, fix includes.
8137 implement gst_pad_get_parent() with gst_object_get_parent()
8138 Make GstTask sefcontained.
8139 Fix _get_state() on GstBin, it did not return ASYNC with a 0
8141 Fix endless loop in iterator_fold_with_resync.
8144 2005-07-18 Wim Taymans <wim@fluendo.com>
8150 2005-07-18 Wim Taymans <wim@fluendo.com>
8155 2005-07-18 Wim Taymans <wim@fluendo.com>
8161 2005-07-18 Wim Taymans <wim@fluendo.com>
8163 * docs/design/part-dynamic.txt:
8164 * docs/design/part-events.txt:
8165 * docs/design/part-seeking.txt:
8166 Some more docs in the works.
8168 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8169 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
8170 (gst_base_transform_setcaps), (gst_base_transform_get_size),
8171 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
8172 (gst_base_transform_handle_buffer),
8173 (gst_base_transform_sink_activate_push),
8174 (gst_base_transform_src_activate_pull),
8175 (gst_base_transform_set_passthrough),
8176 (gst_base_transform_is_passthrough):
8179 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
8182 * gst/gstevent.c: (gst_event_finalize):
8185 * gst/gstutils.c: (gst_element_unlink),
8186 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
8187 (gst_pad_proxy_setcaps):
8189 Add _get_parent_element() to get a pads parent as an element.
8191 2005-07-18 Wim Taymans <wim@fluendo.com>
8193 * check/gst/gstbin.c: (GST_START_TEST):
8196 2005-07-18 Wim Taymans <wim@fluendo.com>
8198 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
8199 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
8200 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
8201 (gst_base_sink_event), (gst_base_sink_do_sync),
8202 (gst_base_sink_chain), (gst_base_sink_loop),
8203 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
8204 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
8206 Fix logic for returning ASYNC when not prerolled.
8208 2005-07-18 Wim Taymans <wim@fluendo.com>
8210 * gst/gstqueue.c: (gst_queue_handle_sink_event):
8211 Fix nasty refcount bug.
8213 2005-07-16 Philippe Khalaf <burger@speedy.org>
8215 * gst/elements/gstfdsrc.c:
8216 * gst/elements/gstfdsrc.h:
8217 * gst/elements/gstelements.c:
8218 * gst/elements/Makefile.am:
8219 Ported fdsrc to 0.9.
8221 2005-07-16 Wim Taymans <wim@fluendo.com>
8223 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8224 (gst_base_sink_do_sync):
8227 2005-07-16 Wim Taymans <wim@fluendo.com>
8229 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8230 (gst_base_sink_event), (gst_base_sink_get_times),
8231 (gst_base_sink_do_sync), (gst_base_sink_change_state):
8232 * gst/base/gstbasesink.h:
8233 Store and use discont values when syncing buffers as described
8236 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8237 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
8238 (gst_base_src_activate_push):
8239 Push discont event when starting.
8241 * gst/elements/gstidentity.c: (gst_identity_transform):
8244 * gst/gstbin.c: (gst_bin_change_state):
8245 Small cleanups in base_time distribution.
8247 * gst/gstelement.c: (gst_element_set_base_time),
8248 (gst_element_get_base_time), (gst_element_change_state):
8250 Added methods for the base_time of the element.
8253 * gst/gstpipeline.c: (gst_pipeline_send_event),
8254 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
8255 (gst_pipeline_get_last_stream_time):
8256 * gst/gstpipeline.h:
8258 Handle seeking as described in design doc, remove stream_time
8260 Cleanups clock and stream_time selection code. Added accessors
8261 for the stream_time.
8264 2005-07-16 Andy Wingo <wingo@pobox.com>
8266 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
8269 2005-07-16 Wim Taymans <wim@fluendo.com>
8271 * check/gst/gstbin.c: (GST_START_TEST):
8272 Make elements silent as the deep_notify refs the
8273 parent, which might make the test fail.
8275 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
8276 Don't hold the lock for too long.
8278 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
8280 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
8281 Don't unref the caps we passed to gst_caps_make_writable() after
8282 passing them. gst_caps_make_writable() will do that for us.
8284 2005-07-15 Andy Wingo <wingo@pobox.com>
8286 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
8289 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
8290 own marshalling function for the handoff signal. Properly type the
8291 buffer as a buffer. Fixes some warnings. Should do a more general
8293 (gst_identity_class_init): Plug into the right marshaller.
8295 2005-07-15 Wim Taymans <wim@fluendo.com>
8297 * docs/design/part-TODO.txt:
8298 * docs/design/part-clocks.txt:
8299 * docs/design/part-element-sink.txt:
8300 * docs/design/part-events.txt:
8301 * docs/design/part-gstpipeline.txt:
8302 Updated docs, mostly DISCONT related.
8304 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
8306 * docs/pwg/building-pads.xml:
8307 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
8309 2005-07-15 Andy Wingo <wingo@pobox.com>
8311 * tools/gst-typefind.c: Update, add copyright block.
8313 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
8314 Normalize and truncate caps before fixation.
8317 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
8318 discards all but the first structure from its argument.
8320 2005-07-15 Wim Taymans <wim@fluendo.com>
8322 * gst/base/gstbasetransform.c: (gst_base_transform_init),
8323 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
8324 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8325 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8326 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
8327 (gst_base_transform_chain), (gst_base_transform_change_state),
8328 (gst_base_transform_set_passthrough),
8329 (gst_base_transform_is_passthrough):
8330 * gst/base/gstbasetransform.h:
8331 Make passthrough work using the bufferpools.
8332 Changed API a bit, subclasses have to write into a buffer
8333 provided by the base class.
8334 More debug info in nego functions.
8336 * gst/elements/gstidentity.c: (gst_identity_init),
8337 (gst_identity_transform):
8338 Port to new base class.
8340 2005-07-15 Wim Taymans <wim@fluendo.com>
8342 * gst/gstmessage.c: (gst_message_new_state_changed):
8343 * tools/gst-launch.c: (event_loop), (main):
8344 Totally dump messages in -launch with the -m option.
8345 Fix message name for State messages,
8347 2005-07-14 Wim Taymans <wim@fluendo.com>
8349 * gst/base/gstbasesrc.c: (gst_base_src_loop):
8350 Post error messages on errors.
8352 2005-07-14 Wim Taymans <wim@fluendo.com>
8354 * gst/gstcaps.c: (gst_caps_do_simplify):
8358 Define error for stream stopped.
8360 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
8361 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
8362 Do proper return values.
8364 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8365 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
8366 (gst_pad_get_range):
8367 Better return values.
8370 Reorganise return values, add macro to check for fatal errors.
8372 * gst/gstqueue.c: (gst_queue_chain):
8373 Return proper GstFlowReturn values,
8375 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
8377 * docs/gst/gstreamer-sections.txt:
8378 * docs/gst/gstreamer.types:
8379 * docs/gst/tmpl/gst.sgml:
8380 * docs/gst/tmpl/gstbasesink.sgml:
8381 * docs/gst/tmpl/gstbasesrc.sgml:
8382 * docs/gst/tmpl/gstbasetransform.sgml:
8383 * docs/gst/tmpl/gstbin.sgml:
8384 * docs/gst/tmpl/gstbuffer.sgml:
8385 * docs/gst/tmpl/gstcaps.sgml:
8386 * docs/gst/tmpl/gstclock.sgml:
8387 * docs/gst/tmpl/gstcompat.sgml:
8388 * docs/gst/tmpl/gstconfig.sgml:
8389 * docs/gst/tmpl/gstelement.sgml:
8390 * docs/gst/tmpl/gstelementdetails.sgml:
8391 * docs/gst/tmpl/gstelementfactory.sgml:
8392 * docs/gst/tmpl/gstenumtypes.sgml:
8393 * docs/gst/tmpl/gsterror.sgml:
8394 * docs/gst/tmpl/gstevent.sgml:
8395 * docs/gst/tmpl/gstfakesink.sgml:
8396 * docs/gst/tmpl/gstfakesrc.sgml:
8397 * docs/gst/tmpl/gstfilesink.sgml:
8398 * docs/gst/tmpl/gstfilesrc.sgml:
8399 * docs/gst/tmpl/gstfilter.sgml:
8400 * docs/gst/tmpl/gstformat.sgml:
8401 * docs/gst/tmpl/gstghostpad.sgml:
8402 * docs/gst/tmpl/gstimplementsinterface.sgml:
8403 * docs/gst/tmpl/gstindex.sgml:
8404 * docs/gst/tmpl/gstindexfactory.sgml:
8405 * docs/gst/tmpl/gstinfo.sgml:
8406 * docs/gst/tmpl/gstiterator.sgml:
8407 * docs/gst/tmpl/gstmacros.sgml:
8408 * docs/gst/tmpl/gstmemchunk.sgml:
8409 * docs/gst/tmpl/gstminiobject.sgml:
8410 * docs/gst/tmpl/gstobject.sgml:
8411 * docs/gst/tmpl/gstpad.sgml:
8412 * docs/gst/tmpl/gstpadtemplate.sgml:
8413 * docs/gst/tmpl/gstparse.sgml:
8414 * docs/gst/tmpl/gstpipeline.sgml:
8415 * docs/gst/tmpl/gstplugin.sgml:
8416 * docs/gst/tmpl/gstpluginfeature.sgml:
8417 * docs/gst/tmpl/gstquery.sgml:
8418 * docs/gst/tmpl/gstqueue.sgml:
8419 * docs/gst/tmpl/gstregistry.sgml:
8420 * docs/gst/tmpl/gstregistrypool.sgml:
8421 * docs/gst/tmpl/gstscheduler.sgml:
8422 * docs/gst/tmpl/gstschedulerfactory.sgml:
8423 * docs/gst/tmpl/gststructure.sgml:
8424 * docs/gst/tmpl/gstsystemclock.sgml:
8425 * docs/gst/tmpl/gsttaglist.sgml:
8426 * docs/gst/tmpl/gsttagsetter.sgml:
8427 * docs/gst/tmpl/gsttrace.sgml:
8428 * docs/gst/tmpl/gsttrashstack.sgml:
8429 * docs/gst/tmpl/gsttypefind.sgml:
8430 * docs/gst/tmpl/gsttypefindfactory.sgml:
8431 * docs/gst/tmpl/gsttypes.sgml:
8432 * docs/gst/tmpl/gsturihandler.sgml:
8433 * docs/gst/tmpl/gsturitype.sgml:
8434 * docs/gst/tmpl/gstutils.sgml:
8435 * docs/gst/tmpl/gstvalue.sgml:
8436 * docs/gst/tmpl/gstversion.sgml:
8437 * docs/gst/tmpl/gstxml.sgml:
8438 * docs/libs/tmpl/gstcontrol.sgml:
8439 * docs/libs/tmpl/gstdataprotocol.sgml:
8440 * docs/libs/tmpl/gstdparam.sgml:
8441 * docs/libs/tmpl/gstdplinint.sgml:
8442 * docs/libs/tmpl/gstdpman.sgml:
8443 * docs/libs/tmpl/gstdpsmooth.sgml:
8444 * docs/libs/tmpl/gstgetbits.sgml:
8445 * docs/libs/tmpl/gstunitconvert.sgml:
8446 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
8447 (gst_push_src_base_init), (gst_push_src_class_init),
8448 (gst_push_src_init), (gst_push_src_create):
8449 * gst/base/gstpushsrc.h:
8450 * gst/elements/gstelements.c:
8451 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
8452 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
8453 (gst_fake_sink_init), (gst_fake_sink_set_property),
8454 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
8455 (gst_fake_sink_event), (gst_fake_sink_preroll),
8456 (gst_fake_sink_render), (gst_fake_sink_change_state):
8457 * gst/elements/gstfakesink.h:
8458 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
8459 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
8460 (gst_fake_src_base_init), (gst_fake_src_class_init),
8461 (gst_fake_src_init), (gst_fake_src_event_handler),
8462 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
8463 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
8464 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
8465 (gst_fake_src_create_buffer), (gst_fake_src_create),
8466 (gst_fake_src_start), (gst_fake_src_stop):
8467 * gst/elements/gstfakesrc.h:
8468 * gst/elements/gstfilesink.c: (_do_init),
8469 (gst_file_sink_base_init), (gst_file_sink_class_init),
8470 (gst_file_sink_init), (gst_file_sink_dispose),
8471 (gst_file_sink_set_location), (gst_file_sink_set_property),
8472 (gst_file_sink_get_property), (gst_file_sink_open_file),
8473 (gst_file_sink_close_file), (gst_file_sink_query),
8474 (gst_file_sink_event), (gst_file_sink_render),
8475 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
8476 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
8477 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
8478 * gst/elements/gstfilesink.h:
8479 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
8480 (gst_file_src_class_init), (gst_file_src_init),
8481 (gst_file_src_finalize), (gst_file_src_set_location),
8482 (gst_file_src_set_property), (gst_file_src_get_property),
8483 (gst_file_src_map_region), (gst_file_src_map_small_region),
8484 (gst_file_src_create_mmap), (gst_file_src_create_read),
8485 (gst_file_src_create), (gst_file_src_is_seekable),
8486 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
8487 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
8488 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
8489 (gst_file_src_uri_handler_init):
8490 * gst/elements/gstfilesrc.h:
8491 more autistic cleanliness in functions/names/defines
8493 2005-07-13 Andy Wingo <wingo@pobox.com>
8495 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
8496 source couldn't negotiate.
8498 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
8502 * gst/gstutils.c (gst_element_link_pads_filtered): New old
8503 function. I am channeling Hades. Put your boots on suckers!!!
8505 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
8507 * testsuite/caps/Makefile.am:
8508 * testsuite/caps/value_compare.c:
8509 * testsuite/caps/value_intersect.c:
8510 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8511 move two testsuite apps over to the check dir
8513 2005-07-12 Wim Taymans <wim@fluendo.com>
8515 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8516 Added more debug info in the negotiate process.
8519 Prepare for segment playback.
8521 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
8527 * tools/gst-launch.c: (main):
8528 NULL pipeline on errors.
8530 2005-07-12 Andy Wingo <wingo@pobox.com>
8532 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
8533 not it comes from a malloc region. Make sure our copy gets freed.
8535 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
8537 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
8538 * check/gst/gstmessage.c: (GST_START_TEST):
8539 * check/gst/gststructure.c: (GST_START_TEST),
8540 (gst_structure_suite), (main):
8542 * gst/gstelement.c: (gst_element_message_full):
8543 clean up GError and debug string now that they get copied
8544 * gst/gstmessage.c: (gst_message_new_error),
8545 (gst_message_new_warning), (gst_message_parse_error),
8546 (gst_message_parse_warning):
8547 use GST_TYPE_G_ERROR for structure_new, and take copies of
8548 arguments, so that we don't mess up refcounting
8550 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
8552 * check/Makefile.am:
8553 add per-test valgrind targets
8554 * check/gst-libs/gdp.c: (GST_START_TEST),
8555 (gst_data_protocol_suite), (main):
8558 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
8560 * check/Makefile.am:
8561 instate more valgrindable tests
8562 * check/elements/gstfakesrc.c: (chain_func), (event_func),
8563 (GST_START_TEST), (fakesrc_suite):
8564 * check/gst/gstpad.c: (GST_START_TEST):
8565 * check/gst/gststructure.c: (GST_START_TEST):
8567 * docs/gst/tmpl/gstminiobject.sgml:
8568 * gst/gstpad.c: (gst_pad_finalize):
8569 fix the static mutex leak
8571 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
8573 * check/Makefile.am:
8574 add two more tests for valgrinding
8575 * check/gst/gstvalue.c: (GST_START_TEST):
8576 test refcount of deserialized buffer, found a leak
8577 * docs/gst/gstreamer-docs.sgml:
8578 * docs/gst/gstreamer-sections.txt:
8579 * docs/gst/gstreamer.types:
8580 * docs/gst/tmpl/gstminiobject.sgml:
8581 add miniobject to docs
8582 * gst/gstminiobject.c:
8584 * gst/gstvalue.c: (gst_value_deserialize_buffer),
8585 (gst_string_unwrap):
8586 fix a hard-to-find invalid write for one of the tests
8587 fix a leak for deserialized buffers
8589 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8591 * docs/pwg/advanced-events.xml:
8592 * docs/pwg/advanced-request.xml:
8593 * docs/pwg/advanced-scheduling.xml:
8594 * docs/pwg/appendix-porting.xml:
8595 * docs/pwg/building-boiler.xml:
8596 * docs/pwg/intro-preface.xml:
8597 * docs/pwg/other-ntoone.xml:
8598 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
8599 of example code and explanation for pad activation, loop() and
8600 getrange() functions and a bit more. Remove old comments pointing
8602 * examples/pwg/Makefile.am:
8603 Add loop/getrange examples.
8605 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
8608 check for valgrind binary + some fixes
8610 valgrind suppressions for the tests
8611 * check/Makefile.am:
8612 add a valgrind: target that valgrinds the unit tests
8613 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
8614 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
8615 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8616 * check/gst/gstghostpad.c:
8618 * check/gst/gstdata.c:
8620 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
8621 (thread_unref), (gst_mini_object_suite), (main):
8623 * gst/gst.c: (gst_deinit):
8625 add a method to clean up.
8626 * gst/gstsystemclock.c: (gst_system_clock_dispose),
8627 (gst_system_clock_obtain):
8628 allow for disposing the system clock.
8629 * tools/gst-launch.c: (main):
8632 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
8634 * docs/gst/tmpl/gstbasesrc.sgml:
8635 * docs/gst/tmpl/gstfakesrc.sgml:
8636 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8637 (gst_base_src_init), (gst_base_src_set_property),
8638 (gst_base_src_get_property), (gst_base_src_get_range),
8639 (gst_base_src_start):
8640 * gst/base/gstbasesrc.h:
8641 add num-buffers property
8642 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8643 (gst_fakesrc_init), (gst_fakesrc_set_property),
8644 (gst_fakesrc_get_property), (gst_fakesrc_create),
8645 (gst_fakesrc_start):
8646 remove num-buffers property
8648 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
8650 * docs/gst/gstreamer-sections.txt:
8651 * docs/gst/tmpl/gstbasesink.sgml:
8652 * docs/gst/tmpl/gstbasesrc.sgml:
8653 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
8654 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
8655 (gst_base_sink_finalize), (gst_base_sink_set_clock),
8656 (gst_base_sink_set_property), (gst_base_sink_get_property),
8657 (gst_base_sink_handle_object), (gst_base_sink_event),
8658 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
8659 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
8660 (gst_base_sink_loop), (gst_base_sink_deactivate),
8661 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
8662 (gst_base_sink_change_state):
8663 * gst/base/gstbasesink.h:
8664 * gst/base/gstbasesrc.h:
8665 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
8666 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
8667 (gst_filesink_init):
8668 more macro splitting
8670 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
8672 * gst/gstelement.c: (gst_element_get_bus):
8674 * tools/gst-launch.c: (check_intr), (event_loop):
8677 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
8679 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
8682 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
8684 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8685 (gst_base_src_finalize):
8686 add finalize method and clean up properly
8687 * gst/gstpipeline.c: (gst_pipeline_dispose):
8690 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
8692 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
8694 add more things to check
8695 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
8699 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
8701 * check/elements/gstfakesrc.c: (chain_func), (event_func),
8702 (GST_START_TEST), (fakesrc_suite):
8703 * check/gst-libs/gdp.c: (GST_START_TEST):
8704 * check/gst/gst.c: (GST_START_TEST):
8705 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8706 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8707 * check/gst/gstbus.c: (GST_START_TEST):
8708 * check/gst/gstcaps.c: (GST_START_TEST):
8709 * check/gst/gstdata.c: (GST_START_TEST):
8710 * check/gst/gstelement.c: (GST_START_TEST):
8711 * check/gst/gstghostpad.c: (GST_START_TEST):
8712 * check/gst/gstiterator.c: (GST_START_TEST):
8713 * check/gst/gstmessage.c: (GST_START_TEST):
8714 * check/gst/gstobject.c: (GST_START_TEST):
8715 * check/gst/gstpad.c: (GST_START_TEST):
8716 * check/gst/gststructure.c: (GST_START_TEST):
8717 * check/gst/gstsystemclock.c: (GST_START_TEST),
8718 (gst_systemclock_suite):
8719 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
8720 * check/gst/gstvalue.c: (GST_START_TEST):
8721 * check/pipelines/cleanup.c: (GST_START_TEST):
8722 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
8723 * check/states/sinks.c: (GST_START_TEST):
8724 * check/gstcheck.c: (gst_check_init):
8726 add debugging category
8727 use GST_START_TEST now, so we add a debug line
8729 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
8731 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
8732 add test for state change message on a bin
8733 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
8735 * gst/gstbin.c: (gst_bin_init):
8736 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
8737 * gst/gstelement.c: (gst_element_post_message),
8738 (gst_element_set_state):
8739 * gst/gstelementfactory.c: (gst_element_factory_create):
8740 * gst/gstmessage.c: (gst_message_new):
8741 * gst/gstscheduler.c:
8742 various debugging additions and cleanups
8744 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8746 * check/Makefile.am:
8747 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
8749 adding tests for elements
8750 * gst/gstelement.c: (gst_element_dispose):
8752 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8754 * gst/registries/gstlibxmlregistry.c: (load_feature):
8755 plug more leaks. A simple gst_init() now is leakfree, yay.
8757 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8759 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
8760 (gst_xml_registry_load):
8761 plug another memleak
8763 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8766 use GST_SET_ERROR_CFLAGS
8768 change to ERROR_CFLAGS
8770 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
8773 make GST_ERROR_CFLAGS overridable and re-enable Werror
8775 add a note about error CFLAGS
8776 * docs/gst/tmpl/gstfakesrc.sgml:
8777 * gst/elements/gstfakesrc.c:
8778 comment out some unused code
8779 * gst/gst.c: (split_and_iterate):
8780 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
8784 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
8786 * common/Makefile.am:
8787 * common/gtk-doc.mak:
8788 * docs/gst/Makefile.am:
8789 factor out gtk-doc.mak
8791 2005-07-07 Wim Taymans <wim@fluendo.com>
8793 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
8794 (gst_thread_scheduler_dispose):
8795 Unlock the STREAM_LOCK completely.
8797 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
8799 * check/Makefile.am:
8800 * check/elements/.cvsignore:
8801 * check/elements/gstfakesrc.c: (chain_func), (event_func),
8802 (START_TEST), (fakesrc_suite), (main):
8803 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8804 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
8805 (gst_fakesrc_create), (gst_fakesrc_start):
8806 * gst/elements/gstfakesrc.h:
8807 adding a first element test
8809 2005-07-07 Andy Wingo <wingo@pobox.com>
8811 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
8814 2005-07-07 Wim Taymans <wim@fluendo.com>
8820 2005-07-07 Wim Taymans <wim@fluendo.com>
8822 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
8823 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
8824 Allow subclasses to implement their own negotiation.
8826 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
8828 * docs/design/part-gstbin.txt:
8829 * docs/design/part-gstpipeline.txt:
8830 Update design notes to reflect the movement of
8831 responsibility for bus handling from GstPipeline to
8834 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
8837 Remove unnecessary queue2/3/4 examples.
8839 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
8841 * examples/Makefile.am:
8842 * examples/helloworld/helloworld.c: (event_loop), (main):
8843 * examples/queue/queue.c: (event_loop), (main):
8844 * examples/queue2/queue2.c: (main):
8845 Update a couple of the examples to work again.
8847 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8848 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
8849 Spelling corrections and extra debug.
8851 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
8852 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
8853 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
8855 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
8856 (gst_pipeline_change_state):
8857 * gst/gstpipeline.h:
8858 Move the bus handler for children to the GstBin, and create a
8859 separate bus for receiving messages from children to the one the
8860 bus sends 'upwards' on.
8862 2005-07-06 Wim Taymans <wim@fluendo.com>
8865 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8866 (gst_base_sink_handle_object), (gst_base_sink_loop),
8867 (gst_base_sink_change_state):
8868 * gst/base/gstbasesink.h:
8869 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8870 (gst_base_src_init), (gst_base_src_setcaps),
8871 (gst_base_src_getcaps), (gst_base_src_loop),
8872 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
8873 (gst_base_src_start), (gst_base_src_change_state):
8874 * gst/base/gstbasesrc.h:
8875 Make basesrc negotiate.
8876 Handle the case where preroll fails in basesink.
8879 2005-07-06 Wim Taymans <wim@fluendo.com>
8881 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
8882 Implement the fixate function.
8883 Clean up acceptcaps.
8885 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8887 * docs/pwg/building-filterfactory.xml:
8889 Remove never-written filter-factory chapter; I'll add the various
8890 base classes to part 4 ("other element types") later on.
8892 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8894 * docs/pwg/advanced-negotiation.xml:
8895 * docs/pwg/building-boiler.xml:
8896 * docs/pwg/building-pads.xml:
8898 * examples/pwg/Makefile.am:
8899 Add a chapter on caps negotiation, simplify the original code
8900 samples a bit w.r.t. caps negotiation, add link to the advanced
8901 section. Add a bunch of examples showing different use cases of
8902 different types of caps negotiation. Upstream renegotiation isn't
8903 fully documented yet since nobody knows how that works.
8905 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
8907 * check/gst/gstpad.c:
8909 * gst/gstpad.c: (gst_pad_get_internal_links_default):
8910 if pad has no parent, return NULL as list of internal links
8912 2005-07-05 Andy Wingo <wingo@pobox.com>
8914 * gst/elements/gstfilesrc.c:
8915 * gst/elements/gstfakesrc.c:
8916 * gst/base/gstpushsrc.c:
8917 * gst/base/gstbasesrc.h:
8918 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
8920 2005-07-05 Stefan Kost <ensonic@users.sf.net>
8923 better report generation target (lcov needs a patch)
8925 2005-07-05 Andy Wingo <wingo@pobox.com>
8927 * gst/elements, testsuite: Null if we got it...
8929 2005-07-05 Wim Taymans <wim@fluendo.com>
8932 * libs/gst/dataprotocol/Makefile.am:
8933 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
8934 * libs/gst/dataprotocol/dataprotocol.h:
8935 * pkgconfig/Makefile.am:
8936 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
8937 * pkgconfig/gstreamer-dataprotocol.pc.in:
8938 Ported dataprotol to 0.9.
8939 Added pkgconfig files.
8941 2005-07-05 Andy Wingo <wingo@pobox.com>
8943 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
8944 Default to returning TRUE for the case when tranform_caps returns
8945 a fixed caps, like for identity or volume.
8947 * check/gst/gstbus.c (pound_bus_with_messages):
8948 * check/gst/gstmessage.c (START_TEST):
8949 * check/pipelines/simple_launch_lines.c (got_handoff): Application
8952 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
8953 logic weaks here: always run transform_caps, trying passthrough
8954 operation only if the original caps intersects with the transform.
8956 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
8957 source and sink caps.
8959 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
8960 Intersect the peer caps with the pad template before going into
8962 (gst_base_transform_transform_caps): More debugging.
8964 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
8967 2005-07-04 Edward Hervey <edward@fluendo.com>
8971 (gst_pad_add_*_probe): now returns the signal id for better wrapping
8974 2005-07-04 Andy Wingo <wingo@pobox.com>
8976 * check/gst/gstpad.c: Only set explicit caps on pads.
8978 2005-07-01 Andy Wingo <wingo@pobox.com>
8980 * tests/network-clock.scm: Commentary update.
8982 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
8983 Didn't really make sense, not implementable with basetransform,
8985 (gst_identity_transform): Unref inbuf via make_writable. Feeble
8986 attempt at implementing the sync property, needs an unlock method.
8988 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
8989 New func, by default returns the same caps (the identity
8991 (gst_base_transform_getcaps): Uses transform_caps to return
8993 (gst_base_transform_setcaps): Complicated logic to get caps on
8994 both pads, even if they are different, and to call set_caps once
8995 for every time both pads get their caps set.
8996 (gst_base_transform_handle_buffer): Give the ref to the transform
8997 function. Allows in-place modification of the buffer.
8999 * gst/base/gstbasetransform.h (transform_caps): New class method.
9000 Given caps on one side, what can I do on the other.
9001 (set_caps): Take two caps, one for each side of the element.
9004 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
9005 caps in place. This is safe because we can check the mutability of
9006 the caps, and a good idea because fixate functions are just called
9007 as a matter of last resort. (Not actually implemented.)
9008 (gst_pad_set_caps): If the caps we're setting is actually the same
9009 as the existing pad caps, just update the pointer without calling
9010 setcaps. Assert that caps is either NULL or fixed, as per the
9013 * gst/gstghostpad.c: Update for fixate changes.
9015 2005-07-02 Andy Wingo <wingo@pobox.com>
9018 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
9019 two refcounts makes it immutable, which is enough. Doc more.
9021 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
9023 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
9024 Put the mini_object into GValue as a mini_object,
9025 not a gpointer, since that's how we declared
9028 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9030 * examples/pwg/Makefile.am:
9033 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9035 * docs/pwg/building-testapp.xml:
9037 * examples/pwg/Makefile.am:
9040 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9043 * examples/Makefile.am:
9044 * examples/pwg/Makefile.am:
9045 * examples/pwg/extract.pl:
9046 Enable building the PWG examples.
9047 * docs/pwg/advanced-interfaces.xml:
9048 Add URI interface stub.
9049 * docs/pwg/advanced-types.xml:
9050 * docs/pwg/other-autoplugger.xml:
9051 * docs/pwg/appendix-porting.xml:
9053 Add porting guide (mostly stubs), remove autoplugging (see ADM).
9054 * docs/pwg/building-boiler.xml:
9055 * docs/pwg/building-chainfn.xml:
9056 * docs/pwg/building-pads.xml:
9057 * docs/pwg/building-props.xml:
9058 * docs/pwg/building-state.xml:
9059 * docs/pwg/building-testapp.xml:
9060 Update the building-*.xml parts for 0.9 changes. All examples
9061 code blocks compile in examples/pwg/*.
9063 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9065 * docs/manual/advanced-autoplugging.xml:
9066 * docs/manual/appendix-checklist.xml:
9067 * docs/manual/appendix-integration.xml:
9068 * docs/manual/highlevel-components.xml:
9069 Fix playbin/decodebin examples, update docs a bit, mention bus
9070 instead of signals in various places, mention kmplayer and
9071 kaffeine since they have a working GStreamer backend in the KDE
9074 2005-06-30 Wim Taymans <wim@fluendo.com>
9077 * docs/design/draft-ghostpads.txt:
9078 * docs/design/draft-push-pull.txt:
9079 * docs/design/draft-query.txt:
9080 * docs/design/part-TODO.txt:
9081 * docs/design/part-query.txt:
9082 Added CHANGES-0.9 doc, updated status of other docs.
9087 2005-06-30 Wim Taymans <wim@fluendo.com>
9089 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9090 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
9091 (gst_base_sink_change_state):
9092 * gst/base/gstbasesink.h:
9093 Some tweaks, only EOS and a buffer complete a preroll.
9095 2005-06-30 Andy Wingo <wingo@pobox.com>
9097 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
9098 activate_push down to the internal pad as well.
9100 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
9102 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9104 * gst/gsttaginterface.c:
9105 Some documentation fixes (#307394 and #307397).
9107 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
9109 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9111 * gst/gstvalue.c: (gst_value_intersect_list):
9112 Fix memleak (#309125).
9114 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9116 * docs/manual/advanced-dataaccess.xml:
9117 Fix fakesrc example to compile; doesn't work, bug somewhere...?
9118 * docs/manual/basics-pads.xml:
9119 Add reference for filtered caps to above chapter.
9121 2005-06-30 Wim Taymans <wim@fluendo.com>
9123 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
9124 (gst_bin_change_state):
9126 Lame attempt at making the state change function a bit
9129 2005-06-30 Wim Taymans <wim@fluendo.com>
9131 * docs/design/part-clocks.txt:
9132 * docs/design/part-element-sink.txt:
9133 * docs/design/part-events.txt:
9134 * docs/design/part-preroll.txt:
9135 * docs/design/part-states.txt:
9136 Some more tweeks and additions to the docs.
9138 2005-06-30 Wim Taymans <wim@fluendo.com>
9140 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9141 (default_have_data), (gst_pad_class_init), (gst_pad_init),
9142 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
9143 (gst_pad_check_pull_range), (gst_pad_get_range),
9144 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
9146 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
9147 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9148 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9149 (gst_pad_remove_buffer_probe):
9150 Removed atomic operations, use existing LOCK.
9151 Move exception handling out of main code path.
9153 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9155 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9156 (silly_return_true_function), (gst_pad_class_init),
9157 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
9158 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
9159 (gst_pad_send_event):
9160 Fix accumulator, add default value by using _emitv() instead
9161 of _emit() for signal emission.
9163 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9165 * docs/manual/advanced-dataaccess.xml:
9166 * examples/manual/Makefile.am:
9168 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
9171 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
9173 * gst/elements/gstfilesink.c: (gst_filesink_render):
9174 Simplify code so that we don't have to handle short
9175 writes and return GST_FLOW_ERROR if an error occured.
9177 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9179 * docs/gst/gstreamer-docs.sgml:
9182 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9184 * docs/gst/gstreamer-sections.txt:
9185 * docs/gst/tmpl/gstpad.sgml:
9186 * docs/gst/tmpl/gstprobe.sgml:
9188 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9189 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
9190 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
9191 (gst_pad_push_event), (gst_pad_send_event):
9193 * gst/gstutils.c: (gst_pad_add_data_probe),
9194 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9195 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9196 (gst_pad_remove_buffer_probe):
9198 Remove old probes, add new g-signal-based probes and some utility
9201 2005-06-29 Edward Hervey <edward@fluendo.com>
9203 * gst/gstelementfactory.c:
9206 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
9207 the definition to the header file.
9209 2005-06-29 Andy Wingo <wingo@pobox.com>
9211 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
9212 plugins from the source directory.
9214 2005-06-29 Wim Taymans <wim@fluendo.com>
9216 * docs/gst/tmpl/gstbuffer.sgml:
9217 * docs/gst/tmpl/gstclock.sgml:
9218 Some fixings for blantently wrong text.
9220 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
9222 * check/Makefile.am:
9223 * gst/gst.c: (add_path_func), (init_pre):
9224 * gst/gstregistry.c: (gst_registry_add_path):
9225 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
9226 only scan the GST_PLUGIN_PATH locations, and not add
9229 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
9231 * docs/gst/gstreamer-sections.txt:
9232 * docs/gst/tmpl/gstbasesrc.sgml:
9239 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9241 * docs/manual/advanced-autoplugging.xml:
9242 Fix autoplugging example.
9244 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9246 * docs/manual/advanced-autoplugging.xml:
9247 * docs/manual/mime-world.fig:
9248 Try to get autoplugging working, fix type detection. Fix text
9249 in hello-world image.
9251 2005-06-29 Wim Taymans <wim@fluendo.com>
9253 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9254 (gst_base_sink_change_state):
9258 map SIGNAL and BROADCAST to the right function.
9261 Remove redundant braces.
9263 * gst/gstpad.c: (gst_pad_set_caps):
9264 Don't call setcaps function when reseting caps to NULL.
9266 * gst/gstsystemclock.c: (gst_system_clock_dispose),
9267 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
9268 (gst_system_clock_id_unschedule):
9269 Use BROADCAST as this is what we do.
9271 2005-06-29 Wim Taymans <wim@fluendo.com>
9273 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9274 We are actually prerolling before commiting the state
9277 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9279 * docs/manual/advanced-clocks.xml:
9280 * docs/manual/advanced-interfaces.xml:
9281 * docs/manual/advanced-metadata.xml:
9282 * docs/manual/advanced-position.xml:
9283 * docs/manual/advanced-schedulers.xml:
9284 * docs/manual/advanced-threads.xml:
9285 * docs/manual/appendix-porting.xml:
9286 * docs/manual/basics-bins.xml:
9287 * docs/manual/basics-bus.xml:
9288 * docs/manual/basics-elements.xml:
9289 * docs/manual/basics-helloworld.xml:
9290 * docs/manual/basics-pads.xml:
9291 * docs/manual/highlevel-components.xml:
9292 * docs/manual/manual.xml:
9293 * docs/manual/thread.fig:
9294 Update (until threads/scheduling) Application Development Manual;
9295 remove GstThread, add GstBus, add simple porting checklist, add
9296 documentation for tag writing, clocks, make all examples until this
9297 part compile and run.
9298 * examples/manual/Makefile.am:
9299 Update from changes to Application Development Manual; add bus
9300 example, remove thread example.
9302 2005-06-28 Wim Taymans <wim@fluendo.com>
9304 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
9305 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
9306 (gst_bus_source_dispatch):
9307 Add debugging messages.
9308 Make internal methods static.
9309 Handle the case where the bus is flushed in the handler.
9311 * gst/gstelement.c: (gst_element_get_bus):
9312 Fix refcount in _get_bus();
9314 * gst/gstpipeline.c: (gst_pipeline_change_state),
9315 (gst_pipeline_get_clock_func):
9316 Clock refcounting fixes.
9317 Handle the case where preroll timed out more gracefully.
9319 * gst/gstsystemclock.c: (gst_system_clock_dispose):
9320 Clean up the internal thread in dispose. This is needed
9321 for subclasses that actually get disposed.
9323 * gst/schedulers/threadscheduler.c:
9324 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
9325 (gst_thread_scheduler_dispose):
9326 Free thread pool in dispose.
9328 2005-06-28 Andy Wingo <wingo@pobox.com>
9330 * tests/network-clock-utils.scm (debug, print-event): New utils.
9332 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
9333 (*packet-loss*): Unified loss probability.
9334 (network-time): Report out-of-band events.
9336 * tests/plot-data: Add support for out-of-band events. Hack it
9337 into this script instead of passing it down the pipe; should fix
9340 2005-06-28 Wim Taymans <wim@fluendo.com>
9342 * docs/gst/gstreamer.types:
9343 * docs/gst/tmpl/gstbasesrc.sgml:
9344 * docs/gst/tmpl/gstpad.sgml:
9347 2005-06-28 Wim Taymans <wim@fluendo.com>
9349 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9350 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
9351 (gst_proxy_pad_do_fixatecaps):
9352 Correctly proxy the check_pull_range function.
9354 2005-06-28 Andy Wingo <wingo@pobox.com>
9356 * tests/network-clock.scm: Removed need for slib.
9358 2005-06-28 Wim Taymans <wim@fluendo.com>
9360 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
9361 (gst_basesink_preroll_queue_flush):
9362 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
9363 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
9364 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9365 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
9366 (gst_proxy_pad_set_property):
9369 * gst/gstqueue.c: (gst_queue_init):
9370 The deprecated pad loop function is removed now.
9372 2005-06-28 Andy Wingo <wingo@pobox.com>
9374 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
9375 New parameters, simulate network packet loss.
9377 * tests/network-clock-utils.scm: Initialize the RNG.
9379 2005-06-28 Wim Taymans <wim@fluendo.com>
9381 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
9382 (gst_basesink_event), (gst_basesink_deactivate):
9383 Flushing the preroll queue always needs to unlock the waiters.
9385 2005-06-28 Edward Hervey <edward@fluendo.com>
9387 * gst/gstpipeline.c: (gst_pipeline_send_event):
9388 Wheen a seek was successful on a pipeline, set the stream_time to the
9389 seek offset in order to have a synchronized stream_time.
9391 2005-06-28 Wim Taymans <wim@fluendo.com>
9393 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9394 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
9395 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
9396 (gst_proxy_pad_do_fixatecaps):
9397 Call wrapper function instead of just calling the function
9398 pointers. This takes care of any locking and whatmore.
9400 2005-06-28 Wim Taymans <wim@fluendo.com>
9402 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
9403 (gst_pad_pull_range):
9405 CONNECTED -> LINKED.
9407 2005-06-28 Andy Wingo <wingo@pobox.com>
9409 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
9410 source-munging commit!!!
9412 * gst/gstobject.c (gst_object_unref, gst_object_ref)
9413 (gst_object_sink): Take gpointer arguments, not GstObject --
9414 avoids casts. Like GLib.
9416 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
9419 2005-06-27 Andy Wingo <wingo@pobox.com>
9421 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
9424 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
9425 returns a sorted copy of the trace list.
9426 (gst_alloc_trace_print_live): New API, only prints traces with
9427 live objects. Sort the list.
9428 (gst_alloc_trace_print_all): Sort the list.
9429 (gst_alloc_trace_print): Align columns.
9431 * gst/elements/gstttypefindelement.c:
9432 * gst/elements/gsttee.c:
9433 * gst/base/gstbasesrc.c:
9434 * gst/base/gstbasesink.c:
9435 * gst/base/gstbasetransform.c:
9436 * gst/gstqueue.c: Adapt for pad activation changes.
9438 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
9440 (gst_pipeline_dispose): Drop ref on sched.
9442 * gst/gstpad.c (gst_pad_init): Set the default activate func.
9443 (gst_pad_activate_default): Push mode by default.
9444 (pre_activate_switch, post_activate_switch): New stubs, things to
9445 do before and after switching activation modes on pads.
9446 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
9447 the pad's activate function to choose which mode to activate.
9448 Shortcut on deactivation and call the right function directly.
9449 (gst_pad_activate_pull): New API, (de)activates a pad in pull
9451 (gst_pad_activate_push): New API, same for push mode.
9452 (gst_pad_set_activate_function)
9453 (gst_pad_set_activatepull_function)
9454 (gst_pad_set_activatepush_function): Setters for new API.
9456 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
9457 Trace all miniobjects.
9458 (gst_mini_object_make_writable): Unref the arg if we copy, like
9459 gst_caps_make_writable.
9461 * gst/gstmessage.c (_gst_message_initialize): No trace init.
9463 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
9464 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
9465 Adapt for new pad API.
9467 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
9470 * gst/gstelement.c (gst_element_iterate_src_pads)
9471 (gst_element_iterate_sink_pads): New API functions.
9473 * gst/gstelement.c (iterator_fold_with_resync): New utility,
9474 should fold into gstiterator.c in some form.
9475 (gst_element_pads_activate): Simplified via use of fold and
9476 delegation of decisions to gstpad->activate.
9478 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
9481 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
9482 class once in init, like gstmessage. Didn't run into this issue
9483 but it seems correct. Don't initialize a trace, gstminiobject does
9486 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
9487 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
9489 (assert_live_count): New util function, uses alloc traces to check
9492 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
9493 To be modified when unlink drops the internal pad.
9495 2005-06-27 Wim Taymans <wim@fluendo.com>
9497 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
9498 (gst_bin_change_state):
9499 Cleanup the get_state() function a little, make sure it
9500 iterates the same set of elements.
9501 Added stub iterate_state_order().
9503 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
9505 * docs/gst/gstreamer-docs.sgml:
9506 * docs/gst/gstreamer-sections.txt:
9507 * docs/gst/gstreamer.types:
9508 * docs/gst/tmpl/gstbasesink.sgml:
9509 * docs/gst/tmpl/gstbasesrc.sgml:
9510 * docs/gst/tmpl/gstbasetransform.sgml:
9511 * docs/gst/tmpl/gstelement.sgml:
9512 * docs/gst/tmpl/gstiterator.sgml:
9513 * gst/base/gstbasesrc.c:
9514 * gst/base/gstbasesrc.h:
9515 * gst/base/gstbasetransform.h:
9517 * gst/gstiterator.h:
9518 adding basetransform and iterator docs
9520 2005-06-27 Andy Wingo <wingo@pobox.com>
9522 * docs/design/part-activation.txt: Notes on how activation should
9523 work -- not quite implemented yet.
9525 2005-06-25 Wim Taymans <wim@fluendo.com>
9527 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
9528 At least get the chain function correct, needs more
9531 2005-06-25 Wim Taymans <wim@fluendo.com>
9533 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9534 (gst_basesink_handle_object), (gst_basesink_event),
9535 (gst_basesink_do_sync), (gst_basesink_handle_event),
9536 (gst_basesink_change_state):
9538 Right, two problems here: ghostpads don't take locks and
9539 glib _rec_mutex_lock_full() with depth==0 still locks.
9540 Catch illegal locking and g_warn them.
9542 2005-06-25 Wim Taymans <wim@fluendo.com>
9544 * check/states/sinks.c: (START_TEST), (gst_object_suite):
9545 Have to check for completion now...
9547 2005-06-25 Wim Taymans <wim@fluendo.com>
9549 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9550 (gst_basesink_handle_object), (gst_basesink_event),
9551 (gst_basesink_do_sync), (gst_basesink_handle_event),
9552 (gst_basesink_change_state):
9554 Unlock STREAM_LOCK whatever the recursion was.
9556 2005-06-25 Wim Taymans <wim@fluendo.com>
9558 * gst/base/gstbasesink.c: (gst_basesink_set_property),
9559 (gst_basesink_preroll_queue_empty),
9560 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
9561 (gst_basesink_event), (gst_basesink_do_sync),
9562 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
9563 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
9564 (gst_basesink_change_state):
9565 Reworked the base sink, handle event and buffer serialisation
9566 correctly and removed possible deadlock.
9567 Handle EOS correctly.
9569 2005-06-25 Wim Taymans <wim@fluendo.com>
9571 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
9572 (gst_pipeline_change_state):
9573 * tools/gst-launch.c: (check_intr), (event_loop), (main):
9574 Allow elements to post EOS in the state change function.
9575 Fix up -launch, make it exit the poll loop when the
9576 pipeline actually changed state.
9577 Fix up warning parsing in -launch.
9579 2005-06-25 Wim Taymans <wim@fluendo.com>
9581 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
9582 (gst_tee_sink_activate):
9583 Core takes STREAM_LOCK for us now.
9585 2005-06-25 Wim Taymans <wim@fluendo.com>
9587 * gst/gstelement.c: (gst_element_get_state_func),
9588 (gst_element_set_state):
9590 * gst/gstmessage.c: (gst_message_parse_error),
9591 (gst_message_parse_warning):
9592 Keep track of current target state while performing a state
9593 change so that subclasses can do something interesting.
9594 Fix parsing of warning/error messages when GError is NULL.
9596 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
9598 * docs/gst/Makefile.am:
9599 * docs/gst/gstreamer-docs.sgml:
9600 * docs/gst/gstreamer-sections.txt:
9601 * docs/gst/gstreamer.types:
9602 * docs/gst/tmpl/gstbasesink.sgml:
9603 * docs/gst/tmpl/gstbasesrc.sgml:
9604 * docs/gst/tmpl/gstbin.sgml:
9605 * docs/gst/tmpl/gstcompat.sgml:
9606 * docs/gst/tmpl/gstfakesink.sgml:
9607 * docs/gst/tmpl/gstfakesrc.sgml:
9608 * docs/gst/tmpl/gstfilesink.sgml:
9609 * docs/gst/tmpl/gstfilesrc.sgml:
9610 * docs/gst/tmpl/gstindex.sgml:
9611 * docs/manual/appendix-quotes.xml:
9612 * gst/base/gstbasesrc.h:
9613 * gst/elements/gstfakesrc.h:
9615 start pulling in base classes and elements in our docs
9617 2005-06-24 Stefan Kost <ensonic@users.sf.net>
9619 * docs/gst/Makefile.am:
9620 * docs/libs/Makefile.am:
9621 fixed make distcheck with gtk-doc 1.3
9623 2005-06-23 Wim Taymans <wim@fluendo.com>
9625 * gst/gstelement.c: (gst_element_get_state_func),
9626 (gst_element_set_state), (gst_element_change_state):
9627 When the state did not change, also report NO_PREROLL
9630 2005-06-23 Wim Taymans <wim@fluendo.com>
9632 * gst/gstpad.c: (gst_pad_event_default):
9633 * gst/gstqueue.c: (gst_queue_loop):
9634 No unsafe task pausing please.
9636 2005-06-23 Wim Taymans <wim@fluendo.com>
9638 * gst/schedulers/threadscheduler.c:
9639 (gst_thread_scheduler_task_start),
9640 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
9641 Ref the task before pushing it on the threadpool. This
9642 makes sure that we have a ref when the threadfunction is
9645 2005-06-23 Andy Wingo <wingo@pobox.com>
9647 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
9648 offset is greater than the file's size.
9650 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
9651 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
9652 * gst/gstobject.c (gst_object_class_init): Make the class lock
9653 recursive. Wim won't let me drop deep_notify. Decodebin works
9656 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
9657 internal pad, and hacks accordingly. Doesn't do it on the target
9658 pad because we change its caps. Probably catches all cases of
9660 (gst_ghost_pad_set_property): Connect to notify::caps as
9663 * tests/network-clock.scm (plot-simulation): Pipe data to the
9664 elite python skript.
9666 * tests/network-clock-utils.scm (define-parameter): New macro,
9667 defines a parameter that can be set via the command line.
9668 (set-parameter!, parse-parameter-arguments): Command line args
9671 * tests/plot-data: Simple matplotlib-based plotter, takes input on
9674 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
9676 * gst/elements/gsttypefindelement.c:
9677 (gst_type_find_element_handle_event):
9678 Don't restart typefinding on a discont.
9679 * gst/gstelement.c: (gst_element_set_state):
9681 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
9682 Allow changing mode of an active pad.
9684 * gst/registries/gstlibxmlregistry.c: (load_feature):
9685 Don't cast a static pad template to a normal pad template.
9687 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
9689 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9690 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
9691 remove gst_strtoll completely, since it didn't actually do
9692 anything more than what g_ascii_strtoull already does.
9693 check for range errors when deserializing
9694 do a cast for the unsigned cases; but further fixing needs
9695 a decision on what the interpretation of "(int)" and
9696 deserialization should be for values that fall outside the
9697 type's boundaries (ie, refuse, or interpret as casting)
9699 2005-06-23 Wim Taymans <wim@fluendo.com>
9701 * check/Makefile.am:
9702 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
9703 * docs/design/part-live-source.txt:
9704 * docs/design/part-states.txt:
9705 * gst/base/gstbasesrc.c: (gst_basesrc_init),
9706 (gst_basesrc_set_live), (gst_basesrc_is_live),
9707 (gst_basesrc_get_range), (gst_basesrc_activate),
9708 (gst_basesrc_change_state):
9709 * gst/base/gstbasesrc.h:
9710 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9711 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
9712 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
9713 * gst/gstelement.c: (gst_element_get_state_func),
9714 (gst_element_set_state):
9717 * tools/gst-launch.c: (event_loop), (main):
9718 Added support for live sources and other elements that
9720 Updated design docs, added live-source design doc.
9721 Implemented live source functionality in basesrc
9722 Fix error condition in _bin_get_state()
9723 Implement live source handling in -launch.
9724 Added check for live sources.
9725 Fixed case in GstBin where elements were changed state
9729 2005-06-23 Andy Wingo <wingo@pobox.com>
9731 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
9734 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
9735 gst_caps_replace takes care of this for us.
9737 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
9738 gst_pad_set_caps on the target, not just its setcaps() function.
9740 * tests/network-clock.scm:
9741 * tests/network-clock-utils.scm: A network clock simulator.
9742 Something of an algorithmic testbed before doing something in C.
9744 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
9746 * check/Makefile.am:
9747 * check/gst/capslist.h:
9748 copy over from 0.8, and add two with bitmasks specified with
9750 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
9751 add test to parse everything from capslist.h
9752 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
9754 add test for structure deserialization
9755 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9756 add tests for deserialization of strings to int types
9757 * gst/gststructure.c: (gst_structure_nth_field_name):
9758 * gst/gststructure.h:
9759 add a way to get the name of a field referenced by index
9760 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
9761 instead of checking if the resulting long long lies between
9762 min and max, we check if the long long would fit into
9763 a number of bytes for the final type.
9764 This fixes cases where a string represents 2^32 - 1, which
9765 when cast to int would be the (valid) -1, but is bigger than
9768 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
9770 * gst/parse/grammar.y:
9771 add a log line for type deserialization
9773 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
9775 * check/gst/gstvalue.c: (START_TEST):
9776 * gst/gstvalue.c: (gst_value_deserialize):
9777 return long long, not int, so gint64 deserialization actually
9778 works. Is there any flag that makes the compiler check this ?
9781 2005-06-22 Wim Taymans <wim@fluendo.com>
9784 Added convenience macros for setting buffers in GValue.
9786 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
9788 * check/gst/.cvsignore:
9789 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9790 add a test deserializing int64, and comment part out because
9793 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
9795 * check/Makefile.am:
9796 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
9797 * testsuite/Makefile.am:
9798 * testsuite/caps/Makefile.am:
9799 * testsuite/caps/value_serialize.c:
9800 * testsuite/test_gst_init.c:
9801 move a value_serialize test over
9803 2005-06-20 Wim Taymans <wim@fluendo.com>
9808 * gst/gstvalue.c: (gst_value_compare_buffer),
9809 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
9810 (gst_value_compare_flags), (gst_value_serialize_flags),
9811 (gst_value_deserialize_flags), (_gst_value_initialize):
9812 Fix serialisation of buffers, they are not boxed types anymore
9814 2005-06-20 Wim Taymans <wim@fluendo.com>
9816 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
9817 Testcase to show error in buffer-on-caps serialisation.
9819 2005-06-20 Andy Wingo <wingo@pobox.com>
9821 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
9822 will be adding to later.
9824 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
9825 if its socks fill with rocks.
9826 (gst_system_clock_obtain): Set the name on object construction.
9827 Avoid double-checked locking.
9829 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
9831 * gst/gsturi.c: (gst_element_make_from_uri):
9832 Fix potential endless loop.
9834 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
9836 * check/Makefile.am:
9838 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
9840 move over from testsuite dir and clean up
9843 * testsuite/Makefile.am:
9844 * testsuite/tags/.cvsignore:
9845 * testsuite/tags/Makefile.am:
9846 * testsuite/tags/merge.c:
9847 remove testsuite/tags
9849 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
9851 * docs/gst/gstreamer-sections.txt:
9852 * docs/gst/tmpl/gstenumtypes.sgml:
9853 * win32/gstenumtypes.c:
9854 clean up documentation build a little
9856 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
9859 add macros for checking refcounts on objects and caps
9860 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
9861 add some more unit tests
9862 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
9863 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
9864 fix leaked refcounts (I hope :)) so unittest works
9868 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
9870 * configure.ac: back to HEAD
9872 === release 0.9.1 ===
9874 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
9880 2005-06-17 Andy Wingo <wingo@pobox.com>
9882 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
9883 assert; it's always possible that the pad gets deactivated in
9884 between the checks in gstpad.c and the implementation. Rely on
9885 finish_preroll() to return a FLUSHING or similar instead of on the
9888 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
9889 clock and post an EOS message if we come out of finish_preroll in
9892 2005-06-16 David Schleef <ds@schleef.org>
9894 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
9895 (gst_capsfilter_set_property): Allow NULL as possible value
9896 for filter_caps property, indicating GST_CAPS_ANY.
9898 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
9900 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
9902 * gst/schedulers/Makefile.am:
9904 * gstreamer.spec.in:
9907 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
9909 * gstreamer.spec.in:
9912 2005-06-08 Andy Wingo <wingo@pobox.com>
9914 * gst/gstutils.c: RPAD fixes all around.
9915 (gst_element_link_pads): Refcounting fixes.
9917 * tools/gst-inspect.c:
9918 * tools/gst-xmlinspect.c:
9920 * gst/base/gsttypefindhelper.c:
9921 * gst/base/gstbasesink.c:
9922 * gst/gstqueue.c: RPAD fixes.
9924 * gst/gstghostpad.h:
9925 * gst/gstghostpad.c: New ghost pad implementation as full proxy
9926 pads. The tricky thing is they provide both source and sink
9927 interfaces, since they proxy the internal pad for the external
9928 pad, and vice versa. Implement with lower-level ProxyPad objects,
9929 with the interior proxy pad as a child of the exterior ghost pad.
9930 Should write a doc on this.
9932 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
9933 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
9936 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
9937 pads are real pads. No ghost pads in this file. Not documenting
9938 the myriad s/RPAD/PAD/ and REALIZE fixes.
9939 (gst_pad_class_init): Add properties for "direction" and
9940 "template". Both are construct-only, so they can't change during
9941 the life of the pad. Fixes properly deriving from GstPad.
9942 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
9943 derived objects, just set properties when creating the objects via
9945 (gst_pad_get_parent): Implement as a function, return NULL if the
9946 parent is not an element.
9947 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
9948 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
9950 * gst/gstobject.c (gst_object_class_init): Make name a construct
9951 property. Don't set it in the object init.
9953 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
9954 with UNKNOWN direction.
9955 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
9956 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
9957 (gst_element_remove_pad): Remove ghost-pad special cases.
9958 (gst_element_pads_activate): Remove rpad cruft.
9960 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
9961 catch the pad's-parent-not-an-element case.
9963 * gst/gst.h: Include gstghostpad.h.
9965 * gst/gst.c (init_post): No more real, ghost pads.
9967 * gst/Makefile.am: Add gstghostpad.[ch].
9969 * check/Makefile.am:
9970 * check/gst/gstbin.c:
9971 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
9972 into a bin creates ghost pads, and that the refcounts are right.
9973 Partly moved from gstbin.c.
9975 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
9977 * check/gst-libs/.cvsignore:
9978 * check/gst/.cvsignore:
9979 * check/pipelines/.cvsignore:
9981 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
9982 (START_TEST), (cleanup_suite), (main):
9983 add some tests related to cleanup after running pipelines
9985 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
9987 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
9988 add a testsuite for GstBuffer
9990 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
9992 * gst/gstminiobject.h:
9993 add defines for accessing the refcount
9995 2005-06-03 Stefan Kost <ensonic@users.sf.net>
9997 * Makefile.am: added support for html unit test coverage reports
9999 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
10001 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
10002 Free existing caps if the capsfilter changes. Add a FIXME about
10003 setting those caps on the pads.
10005 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
10006 Before adding a ghost pad to a parent bin, check that there isn't
10007 already one for the element on the bin. Prevents infinite recursion
10008 when using decodebin in parse pipelines. Andy says he'll rewrite the
10009 way this works anyway, so ignore the hack.
10011 2005-06-02 Andy Wingo <wingo@pobox.com>
10013 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
10014 file size, pass it on to the type find helper.
10016 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
10017 segment_start and segment_end properly according to the seek
10018 method. Segment_end is still a bit flaky because offset can be
10019 negative for CUR and END cases, but it takes -1 as an "unset"
10022 2005-06-02 Wim Taymans <wim@fluendo.com>
10024 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
10025 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
10026 (gst_basesink_activate):
10027 * gst/base/gstbasesink.h:
10028 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10029 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
10030 (gst_pad_query), (gst_pad_start_task):
10032 * gst/gstqueue.c: (gst_queue_bufferalloc),
10033 (gst_queue_handle_sink_event), (gst_queue_chain):
10034 Bufferalloc: return GstFlowReturn to more accuratly report
10035 why allocation failed.
10037 2005-06-02 Wim Taymans <wim@fluendo.com>
10039 * gst/gstpipeline.c: (gst_pipeline_send_event):
10040 Take snapshot of state without blocking.
10042 2005-06-02 Wim Taymans <wim@fluendo.com>
10044 * docs/design/part-TODO.txt:
10045 * docs/design/part-caps.txt:
10046 * docs/design/part-clocks.txt:
10047 * docs/design/part-negotiation.txt:
10048 * docs/design/part-preroll.txt:
10051 2005-05-30 Wim Taymans <wim@fluendo.com>
10053 * gst/elements/gstidentity.c: (gst_identity_event),
10054 (gst_identity_transform), (gst_identity_get_property):
10055 Protect last_message property as it is accessed from
10058 2005-05-30 Wim Taymans <wim@fluendo.com>
10060 * gst/gstelement.c: (gst_element_init),
10061 (gst_element_pads_activate), (gst_element_change_state):
10062 Slicker pad activation code.
10064 2005-05-30 Wim Taymans <wim@fluendo.com>
10067 * gst/gstelement.h:
10068 * gst/gstelementfactory.h:
10070 Move elementfactory methods to separate .h file.
10072 2005-05-30 Wim Taymans <wim@fluendo.com>
10074 * docs/design/part-overview.txt:
10075 * gst/gstsystemclock.h:
10076 Small typo fixes, doc updates.
10078 2005-05-30 Wim Taymans <wim@fluendo.com>
10080 * gst/gst.c: (gst_init_get_popt_table), (init_post),
10081 (init_popt_callback):
10082 Remove cpu-opt flag.
10084 2005-05-30 Wim Taymans <wim@fluendo.com>
10086 * gst/gstbuffer.c: (gst_subbuffer_finalize),
10087 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
10089 Avoid typechecking in places where not needed.
10090 Added accessor for malloc_data.
10092 2005-05-30 Wim Taymans <wim@fluendo.com>
10094 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
10095 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
10096 (gst_pad_configure_sink), (gst_pad_configure_src),
10097 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
10098 (gst_pad_start_task):
10099 Propagate errors from _set_caps() in configure_src/sink
10100 functions instead of returning TRUE.
10101 FLUSH events can travel up and downstream
10104 2005-05-30 Wim Taymans <wim@fluendo.com>
10106 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
10107 (gst_basesink_activate):
10108 Handle EOS in preroll.
10110 2005-05-30 Wim Taymans <wim@fluendo.com>
10112 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10113 (gst_queue_loop), (gst_queue_handle_src_event):
10114 Remove old pieces of code
10115 Flushing the queue in an upstream event is a very bad idea.
10117 2005-05-26 Andy Wingo <wingo@pobox.com>
10119 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
10120 gst_value_set_mini_object so as to add a ref on the object (which
10121 will be removed when the value is unset).
10123 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
10124 arg type in ::handoff.
10126 * gst/gstelement.c (gst_element_change_state): Also deactivate
10127 pads in READY->NULL, just in case the element didn't make it to
10128 PAUSED. Wingo tested, Wim approved.
10130 2005-05-26 Wim Taymans <wim@fluendo.com>
10132 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10133 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
10134 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
10135 A flushing pad cannot be used to alloc_buffer from.
10137 2005-05-26 Wim Taymans <wim@fluendo.com>
10139 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
10140 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
10141 (gst_bus_source_dispatch), (gst_bus_source_finalize),
10142 (gst_bus_create_watch), (gst_bus_add_watch_full):
10144 Implement a real GSource and use g_main_context_wakeup() to
10145 signal new messages instead of the socketpair.
10147 2005-05-25 Wim Taymans <wim@fluendo.com>
10149 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
10150 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
10151 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10152 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
10153 (gst_pad_send_event), (gst_pad_start_task):
10154 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
10155 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
10156 (gst_queue_sink_activate), (gst_queue_src_activate),
10157 (gst_queue_change_state):
10159 Fix state changes for non sinks. We now change sinks, then elements
10160 with unconnected srcpads, then the rest.
10161 More efficient queue unlocking in flush and state changes.
10162 Set the pad activate mode even if it does not have an activate
10165 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10167 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
10168 Don't go in pull mode for non-seekable sources.
10169 * gst/elements/gsttypefindelement.h:
10170 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
10171 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
10172 (free_entry), (stop_typefinding),
10173 (gst_type_find_element_handle_event), (find_peek),
10174 (gst_type_find_element_chain), (do_pull_typefind),
10175 (gst_type_find_element_change_state):
10176 Allow typefinding (w/o seeking) in push-mode, simplified version
10177 of what was in 0.8.
10178 * gst/gstutils.c: (gst_buffer_join):
10180 gst_buffer_join() from 0.8.
10182 2005-05-25 Wim Taymans <wim@fluendo.com>
10184 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10185 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
10186 (gst_pad_send_event), (gst_pad_start_task):
10187 Disable attempt at mode switching until it is figured out.
10189 2005-05-25 Wim Taymans <wim@fluendo.com>
10191 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
10192 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
10193 (gst_basesink_finish_preroll), (gst_basesink_chain),
10194 (gst_basesink_loop), (gst_basesink_activate),
10195 (gst_basesink_change_state):
10196 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
10197 (gst_basesrc_get_range), (gst_basesrc_loop),
10198 (gst_basesrc_activate):
10199 * gst/elements/gsttee.c: (gst_tee_sink_activate):
10200 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
10201 (gst_real_pad_init), (gst_real_pad_set_property),
10202 (gst_real_pad_get_property), (gst_pad_set_active),
10203 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
10204 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
10205 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
10206 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
10207 (gst_pad_event_default_dispatch), (gst_pad_event_default),
10208 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
10209 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
10210 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
10211 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
10212 (gst_pad_stop_task):
10214 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10215 (gst_queue_loop), (gst_queue_src_activate):
10216 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
10217 (gst_task_get_state):
10219 * gst/schedulers/threadscheduler.c:
10220 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
10221 Implement gst_pad_pause/start/stop_task(), take STREAM lock
10223 Remove ACTIVE pad flag, use FLUSHING everywhere
10224 Added _pad_chain(), _pad_get_range() to call chain/getrange
10226 Add locks around IS_FLUSHING when reading.
10227 Take STREAM lock in chain(), get_range() functions so plugins
10228 don't need to take it anymore.
10232 2005-05-25 Wim Taymans <wim@fluendo.com>
10234 * tools/gst-launch.c: (event_loop):
10235 Unref message after using its contents instead of
10238 2005-05-24 Wim Taymans <wim@fluendo.com>
10240 * docs/design/draft-ghostpads.txt:
10241 * docs/design/draft-push-pull.txt:
10242 * docs/design/draft-query.txt:
10243 * docs/design/part-overview.txt:
10244 Docs updates, added general overview doc.
10246 2005-05-21 David Schleef <ds@schleef.org>
10248 * docs/gst/tmpl/old/GstBin.sgml:
10249 * docs/gst/tmpl/old/GstBuffer.sgml:
10250 * docs/gst/tmpl/old/GstCaps.sgml:
10251 * docs/gst/tmpl/old/GstClock.sgml:
10252 * docs/gst/tmpl/old/GstCompat.sgml:
10253 * docs/gst/tmpl/old/GstData.sgml:
10254 * docs/gst/tmpl/old/GstElement.sgml:
10255 * docs/gst/tmpl/old/GstEvent.sgml:
10256 * docs/gst/tmpl/old/GstIndex.sgml:
10257 * docs/gst/tmpl/old/GstStructure.sgml:
10258 * docs/gst/tmpl/old/GstTag.sgml:
10259 * docs/gst/tmpl/old/cothreads.sgml:
10260 * docs/gst/tmpl/old/cothreads_compat.sgml:
10261 * docs/gst/tmpl/old/gettext.sgml:
10262 * docs/gst/tmpl/old/gobject2gtk.sgml:
10263 * docs/gst/tmpl/old/grammar.tab.sgml:
10264 * docs/gst/tmpl/old/gst-i18n-app.sgml:
10265 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
10266 * docs/gst/tmpl/old/gst_private.sgml:
10267 * docs/gst/tmpl/old/gstaggregator.sgml:
10268 * docs/gst/tmpl/old/gstarch.sgml:
10269 * docs/gst/tmpl/old/gstatomic_impl.sgml:
10270 * docs/gst/tmpl/old/gstbufferstore.sgml:
10271 * docs/gst/tmpl/old/gstdata_private.sgml:
10272 * docs/gst/tmpl/old/gstdisksink.sgml:
10273 * docs/gst/tmpl/old/gstdisksrc.sgml:
10274 * docs/gst/tmpl/old/gstelementfactory.sgml:
10275 * docs/gst/tmpl/old/gstextratypes.sgml:
10276 * docs/gst/tmpl/old/gstfakesink.sgml:
10277 * docs/gst/tmpl/old/gstfakesrc.sgml:
10278 * docs/gst/tmpl/old/gstfdsink.sgml:
10279 * docs/gst/tmpl/old/gstfdsrc.sgml:
10280 * docs/gst/tmpl/old/gstfilesink.sgml:
10281 * docs/gst/tmpl/old/gstfilesrc.sgml:
10282 * docs/gst/tmpl/old/gsthttpsrc.sgml:
10283 * docs/gst/tmpl/old/gstidentity.sgml:
10284 * docs/gst/tmpl/old/gstindexfactory.sgml:
10285 * docs/gst/tmpl/old/gstmarshal.sgml:
10286 * docs/gst/tmpl/old/gstmd5sink.sgml:
10287 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
10288 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
10289 * docs/gst/tmpl/old/gstpadtemplate.sgml:
10290 * docs/gst/tmpl/old/gstpipefilter.sgml:
10291 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
10292 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
10293 * docs/gst/tmpl/old/gstshaper.sgml:
10294 * docs/gst/tmpl/old/gstspider.sgml:
10295 * docs/gst/tmpl/old/gstspideridentity.sgml:
10296 * docs/gst/tmpl/old/gststatistics.sgml:
10297 * docs/gst/tmpl/old/gsttee.sgml:
10298 * docs/gst/tmpl/old/gsttimecache.sgml:
10299 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
10300 * docs/gst/tmpl/old/gstxmlregistry.sgml:
10301 * docs/gst/tmpl/old/gthread-cothreads.sgml:
10302 * docs/gst/tmpl/old/types.sgml:
10303 I didn't intend to add these or check them in.
10305 2005-05-19 David Schleef <ds@schleef.org>
10307 * configure.ac: Use -no-common everywhere. In a sane world, it
10308 would be the default in libtool, because without it, you can't
10309 build DLLs on Windows.
10310 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
10311 * docs/gst/gstreamer-sections.txt:
10312 * docs/gst/tmpl/gstcpu.sgml:
10313 * docs/gst/tmpl/gstdata.sgml:
10314 * docs/gst/tmpl/gstthread.sgml:
10316 2005-05-19 David Schleef <ds@schleef.org>
10318 * gst/gstminiobject.c: (gst_value_set_mini_object),
10319 (gst_value_take_mini_object), (gst_value_get_mini_object):
10320 * gst/gstminiobject.h: Add GValue set/get functions.
10322 2005-05-19 Wim Taymans <wim@fluendo.com>
10324 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
10325 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
10326 (gst_subbuffer_init), (gst_buffer_is_span_fast):
10328 * gst/gstbus.c: (gst_bus_post):
10329 * gst/gstelement.c: (gst_element_get_random_pad):
10330 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
10331 Make subbufer unref the parent in finalize.
10332 some more debugging info.
10335 2005-05-19 Wim Taymans <wim@fluendo.com>
10337 * gst/base/gstbasesink.c: (gst_basesink_class_init),
10338 (gst_basesink_init), (gst_basesink_finalize),
10339 (gst_basesink_activate), (gst_basesink_change_state):
10340 Don't free preroll queue too early.
10342 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10346 Hi, I'm outdated. Please shoot me.
10348 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10350 * gst/gstpipeline.c: (gst_pipeline_send_event):
10351 Do not access variables after they have been deleted.
10353 2005-05-19 Wim Taymans <wim@fluendo.com>
10355 * tools/gst-inspect.c: (print_plugin_features):
10356 A plugin feature does unfortunatly not use the
10359 2005-05-18 Wim Taymans <wim@fluendo.com>
10361 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
10362 Port _span() functions to new subbuffers.
10364 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10366 * gst/gstbin.c: (gst_bin_add_func):
10367 Fix clock settery in bins when adding kids after the clock has
10370 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10372 * gst/elements/gstidentity.c: (gst_identity_class_init):
10373 Workaround until signals support GstMiniObject.
10375 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
10378 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
10380 2005-05-18 Wim Taymans <wim@fluendo.com>
10382 * gst/base/Makefile.am:
10383 * gst/base/gstadapter.c: (gst_adapter_base_init),
10384 (gst_adapter_class_init), (gst_adapter_init),
10385 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
10386 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
10387 (gst_adapter_flush), (gst_adapter_available),
10388 (gst_adapter_available_fast):
10389 * gst/base/gstadapter.h:
10390 Ported and added adapter to the base classes.
10392 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10395 * gst/gstmessage.c:
10396 Make sure the class is reffed/unreffed once before threads can be
10397 used. Fixes #304551.
10399 2005-05-17 Wim Taymans <wim@fluendo.com>
10401 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
10402 (gst_basesink_chain_unlocked), (gst_basesink_activate):
10403 * gst/gstminiobject.c: (gst_mini_object_get_type),
10404 (gst_mini_object_free):
10405 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
10406 (gst_pad_push), (gst_pad_push_event):
10407 * gst/gstqueue.c: (gst_queue_change_state):
10408 Don't queue buffers in basesink when we are flushing.
10409 Unref buffer when flushing in basesink.
10410 Flush queue when going to READY
10411 Unref buffer when _push() returns an error.
10412 Don't free MiniObject instance when refcount is incremented
10413 in _finalize() so that we can recover objects.
10415 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
10417 * docs/manual/advanced-schedulers.xml:
10418 * docs/manual/appendix-checklist.xml:
10419 * docs/pwg/advanced-clock.xml:
10420 * docs/pwg/advanced-interfaces.xml:
10421 * docs/pwg/advanced-request.xml:
10422 * docs/pwg/advanced-types.xml:
10423 * docs/pwg/intro-preface.xml:
10424 * examples/plugins/example.c: (gst_example_get_type),
10425 (gst_example_class_init), (gst_example_chain),
10426 (gst_example_set_property), (gst_example_get_property),
10427 (gst_example_change_state), (plugin_init):
10428 * examples/plugins/example.h:
10431 2005-05-17 Wim Taymans <wim@fluendo.com>
10433 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
10434 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
10435 * gst/gstqueue.c: (gst_queue_change_state):
10436 Clear queue when going to READY.
10437 Remove IN_SETCAPS flag too.
10439 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
10441 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
10442 Remove implicit cast from gboolean to GstElementStateReturn;
10443 make sure we still return failure in paused => ready case if
10444 the parent class fails to change state and our own stop
10447 2005-05-17 Wim Taymans <wim@fluendo.com>
10449 * tools/gst-launch.c: (event_loop):
10450 Message was unreffed too soon.
10452 2005-05-16 Andy Wingo <wingo@pobox.com>
10454 * gst/gstbin.c (sink_iterator_filter): Err... um...
10456 * check/gst/gstbin.c (test_ghost_pads): New test for the
10457 ghosting-if-elements-not-in-same-bin behavior.
10459 2005-05-16 David Schleef <ds@schleef.org>
10461 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
10462 accessing refcount directly.
10464 2005-05-15 David Schleef <ds@schleef.org>
10466 * check/Makefile.am: remove GstData checks
10467 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
10468 * gst/Makefile.am: add miniobject, remove data
10469 * gst/gst.h: add miniobject, remove data
10470 * gst/gstdata.c: remove
10471 * gst/gstdata.h: remove
10472 * gst/gstdata_private.h: remove
10473 * gst/gsttypes.h: remove GstEvent and GstMessage
10474 * gst/gstelement.c: (gst_element_post_message): fix for API changes
10475 * gst/gstmarshal.list: change BOXED -> OBJECT
10477 Implement GstMiniObject.
10478 * gst/gstminiobject.c:
10479 * gst/gstminiobject.h:
10481 Modify to be subclasses of GstMiniObject.
10482 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
10483 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
10484 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
10485 (gst_subbuffer_get_type), (gst_subbuffer_init),
10486 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
10489 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
10490 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
10491 (_gst_event_copy), (gst_event_new):
10493 * gst/gstmessage.c: (_gst_message_initialize),
10494 (gst_message_get_type), (gst_message_class_init),
10495 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
10496 (gst_message_new), (gst_message_new_error),
10497 (gst_message_new_warning), (gst_message_new_tag),
10498 (gst_message_new_state_changed), (gst_message_new_application):
10499 * gst/gstmessage.h:
10500 * gst/gstprobe.c: (gst_probe_perform),
10501 (gst_probe_dispatcher_dispatch):
10503 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
10504 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
10505 (_gst_query_copy), (gst_query_new):
10507 Update elements for GstData -> GstMiniObject changes
10509 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
10510 (gst_queue_chain), (gst_queue_loop):
10511 * gst/elements/gstbufferstore.c:
10512 (gst_buffer_store_add_buffer_func),
10513 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
10514 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
10515 (gst_fakesink_render):
10516 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
10517 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
10518 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
10519 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
10520 (gst_filesrc_create_read):
10521 * gst/elements/gstidentity.c: (gst_identity_class_init):
10522 * gst/elements/gsttypefindelement.c:
10523 (gst_type_find_element_src_event), (free_entry_buffers),
10524 (gst_type_find_element_handle_event):
10525 * libs/gst/dataprotocol/dataprotocol.c:
10526 (gst_dp_header_from_buffer):
10527 * libs/gst/dataprotocol/dataprotocol.h:
10528 * libs/gst/dataprotocol/dp-private.h:
10530 2005-05-15 David Schleef <ds@schleef.org>
10532 * gst/elements/gstelements.c: Don't include headers that were
10535 2005-05-15 David Schleef <ds@schleef.org>
10537 * gst/elements/Makefile.am: Remove some elements that don't
10538 need to be in the core (or even exist at all).
10539 * gst/elements/gstaggregator.c:
10540 * gst/elements/gstaggregator.h:
10541 * gst/elements/gstmd5sink.c:
10542 * gst/elements/gstmd5sink.h:
10543 * gst/elements/gstmultifilesrc.c:
10544 * gst/elements/gstmultifilesrc.h:
10545 * gst/elements/gstpipefilter.c:
10546 * gst/elements/gstpipefilter.h:
10547 * gst/elements/gstshaper.c:
10548 * gst/elements/gstshaper.h:
10549 * gst/elements/gststatistics.c:
10550 * gst/elements/gststatistics.h:
10551 * po/POTFILES.in: Remove above files.
10553 2005-05-14 Andy Wingo <wingo@pobox.com>
10555 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
10556 so as to get the refs right.
10557 (sink_iterator_filter): New function, wraps bin_element_is_sink,
10558 unreffing objects that don't pass the filter.
10560 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
10561 gst_element_set_bus.
10562 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
10563 normal cases, this will destroy the bus.
10565 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
10568 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
10571 2005-05-13 Andy Wingo <wingo@pobox.com>
10573 * gst/gstutils.c (gst_element_link_pads): Instead of calling
10574 gst_pad_link, call pad_link_maybe_ghosting,
10575 (pad_link_maybe_ghosting): Links pads, making sure that the
10576 elements being linked are in the same bin.
10577 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
10578 Helpers for pad_link_maybe_ghosting.
10580 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
10583 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
10585 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
10587 * docs/design/part-element-source.txt:
10590 2005-05-12 Wim Taymans <wim@fluendo.com>
10592 * gst/base/gstbasesink.c: (gst_basesink_init),
10593 (gst_basesink_activate):
10594 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
10595 (gst_basesrc_is_seekable):
10596 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
10597 (bin_element_is_sink), (gst_bin_change_state):
10598 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
10599 * gst/gstelement.h:
10600 Identify sinks by their flag to avoid overly complicated
10602 Do state changes even for elements not reachable from the
10604 BaseSink is a sink now :)
10605 Some more debugging info in the basesrc.
10608 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10610 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
10611 Implement _query on a bin, similar to _send_event.
10613 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
10615 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
10616 Discont event offset format should be GST_FORMAT_BYTES,
10617 not GST_FORMAT_TIME.
10619 2005-05-12 Wim Taymans <wim@fluendo.com>
10621 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
10622 Same fix as Ronald's but without the signal.
10624 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10626 * gst/gstutils.c: (gst_element_query_position):
10627 No, an element is not a pad.
10629 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10631 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
10632 (gst_bin_get_state):
10633 If a child is removed from a bin while we remove the child from
10634 the bin and while we're retrieving its state, signal this to the
10635 get_state function so we abort the wait (instead of waiting for
10636 a timeout) and can immediately re-iterate over all other elements.
10638 2005-05-12 Wim Taymans <wim@fluendo.com>
10640 * gst/base/Makefile.am:
10641 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
10642 (gst_basesrc_start):
10643 * gst/base/gstbasesrc.h:
10644 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
10645 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
10646 (gst_pushsrc_init), (gst_pushsrc_create):
10647 * gst/base/gstpushsrc.h:
10648 Added is_seekable to BaseSrc
10649 Added simple PushSrc.
10651 2005-05-11 Wim Taymans <wim@fluendo.com>
10653 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
10654 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10655 (gst_element_link_pads), (gst_element_query_position),
10656 (gst_element_query_convert), (intersect_caps_func),
10657 (gst_pad_query_position), (gst_pad_query_convert):
10658 Fix refcounting in utils function.
10659 No point in trying to activate a pad when it's added, it could
10660 be added from the state change function and then we deadlock, the
10661 element has to decide what to do.
10663 2005-05-10 Andy Wingo <wingo@pobox.com>
10665 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
10666 *all* the arguments.
10668 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
10669 stream lock if it's a FLUSH_DONE; normal flushes don't get the
10670 lock (according to the docs -- if this is wrong change the docs).
10672 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
10673 flush messages in the NULL state.
10675 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
10676 message immediately and return.
10677 (gst_bus_set_flushing): New function. If a bus is flushing, it
10678 flushes out any queued messages and immediately unrefs new
10679 messages. This is so when an element goes to NULL, all of the
10680 unhandled messages coming from it can be freed, and their
10681 references to the element dropped. In other words: message source
10682 ref considered harmful :P
10684 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
10685 we're finished with it.
10687 * gst/gstmessage.c (gst_message_new_state_changed):
10689 2005-05-10 Wim Taymans <wim@fluendo.com>
10691 * gst/gstvalue.c: (gst_value_compare_flags),
10692 (gst_value_serialize_flags), (gst_value_deserialize_flags),
10693 (_gst_value_initialize):
10694 Added flags serialize/deserialize/compare code.
10696 2005-05-09 Andy Wingo <wingo@pobox.com>
10698 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
10699 Intersect the peer's caps with our caps.
10701 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10703 * gst/base/gsttypefindhelper.c: (helper_find_peek):
10704 * gst/elements/gsttypefindelement.c: (find_peek):
10705 Handle negative offsets better. Fixes decodebin.
10707 2005-05-09 Wim Taymans <wim@fluendo.com>
10709 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
10710 (gst_base_transform_event):
10711 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
10712 Implement accept_caps.
10713 Fix silly lock/unlock mismatch in base class.
10715 2005-05-09 Wim Taymans <wim@fluendo.com>
10717 * docs/design/draft-push-pull.txt:
10718 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
10719 * gst/elements/gstfilesink.c: (gst_filesink_init),
10720 (gst_filesink_query):
10721 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
10722 (gst_type_find_handle_src_query), (find_element_get_length):
10723 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
10724 * gst/gstelement.h:
10725 * gst/gstmessage.c:
10726 * gst/gstmessage.h:
10727 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
10728 (gst_real_pad_get_caps_unlocked),
10729 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
10730 (gst_pad_event_default_dispatch), (gst_pad_event_default),
10731 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
10732 (gst_real_pad_dispose), (gst_real_pad_finalize),
10733 (gst_pad_load_and_link), (gst_pad_save_thyself),
10734 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
10735 (gst_pad_check_pull_range), (gst_pad_pull_range),
10736 (gst_pad_template_get_type), (gst_pad_template_class_init),
10737 (gst_pad_template_init), (gst_pad_template_dispose),
10738 (name_is_valid), (gst_static_pad_template_get),
10739 (gst_pad_template_new), (gst_static_pad_template_get_caps),
10740 (gst_pad_template_get_caps), (gst_pad_set_element_private),
10741 (gst_pad_get_element_private), (gst_pad_start_task),
10742 (gst_pad_pause_task), (gst_pad_stop_task),
10743 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
10744 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
10745 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
10746 (gst_ghost_pad_new):
10748 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
10749 (gst_query_new_position), (gst_query_set_position),
10750 (gst_query_parse_position), (gst_query_new_convert),
10751 (gst_query_set_convert), (gst_query_parse_convert):
10753 * gst/gstqueryutils.c:
10754 * gst/gstqueryutils.h:
10755 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
10756 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
10757 (gst_queue_handle_src_query):
10758 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10759 (gst_element_query_position), (gst_element_query_convert),
10760 (intersect_caps_func), (gst_pad_query_position),
10761 (gst_pad_query_convert):
10763 * tools/gst-inspect.c: (print_pad_info):
10764 * tools/gst-xmlinspect.c: (print_element_info):
10765 Remove old query functions. Ported old code.
10766 Added position/convert helper functions to gstutils.
10767 Reordered gstpad.c code, grouping relevant things.
10768 Remove gst_message_new(), always need to speficy a specific
10772 2005-05-09 Andy Wingo <wingo@pobox.com>
10774 * gst/gstiterator.h: Add some includes.
10776 * gst/gstqueryutils.h: Include more headers.
10779 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
10780 some uses of gst_pad_query.
10782 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
10783 NULL out parameters.
10784 (gst_query_new_position): New proc, allocates a new position
10787 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
10788 gstqueryutils.c to the build.
10790 * gst/gststructure.c (gst_structure_set_valist): Implement with
10791 the generic G_VALUE_COLLECT.
10793 2005-05-08 Edward Hervey <bilboed@bilboed.com>
10795 * gst/Makefile.am: (gst_headers):
10796 Added gstqueryutils.h to the list of headers to install, that was
10797 a 'nachty' move wingo :)
10799 2005-05-06 Andy Wingo <wingo@pobox.com>
10802 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
10803 GstData, init a memchunk.
10804 (standard_definitions): Add a few query types, deprecate a few.
10805 (gst_query_get_type): New proc.
10806 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
10808 (gst_query_new_application, gst_query_get_structure): New public
10811 * docs/design/draft-query.txt: Removed LINKS from the query types,
10812 because all the rest can be dispatched to other pads -- seemed
10813 ugly to have a query that couldn't be dispatched. internal_links
10814 is fine as a pad method.
10816 * gst/gstpad.h: Add query2 as a pad method, add the new functions
10817 in gstpad.c, but maintain binary compatibility for the moment.
10818 Will fix before 0.9 is out.
10820 * gst/gstqueryutils.c:
10821 * gst/gstqueryutils.h: New files, implement 3 methods for each
10822 query type: parse_query, parse_response, and set. Probably need an
10825 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
10827 * gst/elements/gstfilesink.c (gst_filesink_query2):
10828 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
10829 query_types, and formats methods.
10831 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
10832 (gst_pad_set_query2_function): New functions.
10833 (gst_real_pad_init): Set query2_default as the default query2
10834 function. Basically just dispatches to internally linked pads.
10838 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
10839 without using the atomic operations. Only one thread can possibly
10840 be accessing the data at this point. Changed so as to avoid
10841 gst_atomic operations.
10843 2005-05-06 Wim Taymans <wim@fluendo.com>
10845 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
10846 Also set caps if we use the fallback buffer alloc.
10848 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
10850 * docs/gst/Makefile.am:
10851 * docs/gst/gstreamer-docs.sgml:
10852 * docs/gst/gstreamer-sections.txt:
10853 * docs/gst/tmpl/gstatomic.sgml:
10854 * docs/gst/tmpl/gstmemchunk.sgml:
10855 * testsuite/elements/struct_i386.h:
10856 * win32/GStreamer.vcproj:
10858 Purge GstAtomic stuff from docs and win32 makefiles as well
10860 2005-05-06 Wim Taymans <wim@fluendo.com>
10862 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
10863 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
10864 * gst/gstpad.c: (gst_pad_peer_get_caps):
10865 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
10866 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
10867 (gst_queue_src_activate), (gst_queue_change_state):
10869 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10870 (intersect_caps_func):
10871 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
10872 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
10873 Some fixes for the peer_get_caps() change.
10875 2005-05-06 Wim Taymans <wim@fluendo.com>
10877 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10878 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
10879 (gst_basesink_activate):
10880 Actually do something with error codes returned from the push
10883 2005-05-06 Wim Taymans <wim@fluendo.com>
10885 * docs/design/part-element-sink.txt:
10886 * docs/design/part-element-source.txt:
10887 * gst/base/gstbasesink.c: (gst_basesink_class_init),
10888 (gst_basesink_event), (gst_basesink_activate):
10889 * gst/base/gstbasesink.h:
10890 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
10891 (gst_basesrc_activate):
10892 * gst/base/gstbasesrc.h:
10893 * gst/gstelement.c: (gst_element_pads_activate):
10894 Some more documentation.
10895 Fixed scheduling decision in _pads_activate().
10897 2005-05-05 Andy Wingo <wingo@pobox.com>
10899 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
10902 2005-05-05 Wim Taymans <wim@fluendo.com>
10904 * gst/base/Makefile.am:
10905 * gst/base/gstbasesink.h:
10906 * gst/base/gstbasesrc.c: (gst_basesrc_init),
10907 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
10908 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
10909 (gst_collectpads_class_init), (gst_collectpads_init),
10910 (gst_collectpads_finalize), (gst_collectpads_new),
10911 (gst_collectpads_set_function), (gst_collectpads_add_pad),
10912 (find_pad), (gst_collectpads_remove_pad),
10913 (gst_collectpads_is_active), (gst_collectpads_collect),
10914 (gst_collectpads_collect_range), (gst_collectpads_start),
10915 (gst_collectpads_stop), (gst_collectpads_peek),
10916 (gst_collectpads_pop), (gst_collectpads_available),
10917 (gst_collectpads_read), (gst_collectpads_flush),
10918 (gst_collectpads_chain):
10919 * gst/base/gstcollectpads.h:
10920 * gst/elements/Makefile.am:
10921 * gst/elements/gstelements.c:
10922 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
10923 (gst_fakesink_get_times), (gst_fakesink_event),
10924 (gst_fakesink_preroll), (gst_fakesink_render):
10925 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
10926 (gst_filesink_init), (gst_filesink_set_location),
10927 (gst_filesink_open_file), (gst_filesink_close_file),
10928 (gst_filesink_pad_query), (gst_filesink_event),
10929 (gst_filesink_render), (gst_filesink_change_state):
10930 * gst/elements/gstfilesink.h:
10931 Added object to help in making collect pad based elements.
10933 Make event function in sink baseclass return gboolean.
10935 2005-05-05 Wim Taymans <wim@fluendo.com>
10937 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
10938 (gst_bin_get_by_name):
10940 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
10941 (gst_clock_finalize):
10942 * gst/gstdata.c: (gst_data_replace):
10944 * gst/gstelement.c: (gst_element_request_pad),
10945 (gst_element_pads_activate):
10946 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
10947 (gst_object_unref):
10948 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10949 (gst_pad_set_checkgetrange_function),
10950 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
10951 (gst_pad_check_pull_range), (gst_pad_pull_range),
10952 (gst_static_pad_template_get_caps), (gst_pad_start_task),
10953 (gst_pad_pause_task), (gst_pad_stop_task):
10954 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10955 (gst_element_request_pad), (gst_pad_proxy_getcaps):
10956 Fix name lookup in GstBin.
10957 Added _data_replace() function and _buffer_replace()
10958 Use finalize method to clean up clock.
10959 Fix refcounting on request pads.
10960 Fix pad schedule mode error.
10961 Some more object refcounting debug info,
10964 2005-05-04 Andy Wingo <wingo@pobox.com>
10966 * check/Makefile.am:
10967 * docs/gst/tmpl/gstatomic.sgml:
10968 * docs/gst/tmpl/gstplugin.sgml:
10969 * gst/base/gstbasesink.c: (gst_basesink_activate):
10970 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
10971 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
10972 (gst_basesrc_query), (gst_basesrc_set_property),
10973 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
10974 (gst_basesrc_activate):
10975 * gst/base/gstbasesrc.h:
10976 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
10977 (gst_base_transform_src_activate):
10978 * gst/elements/gstelements.c:
10979 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10980 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
10981 * gst/elements/gsttee.c: (gst_tee_sink_activate):
10982 * gst/elements/gsttypefindelement.c: (find_element_get_length),
10983 (gst_type_find_element_checkgetrange),
10984 (gst_type_find_element_activate):
10985 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
10986 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
10987 (gst_caps_load_thyself):
10988 * gst/gstelement.c: (gst_element_pads_activate),
10989 (gst_element_save_thyself), (gst_element_restore_thyself):
10990 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
10991 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
10993 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
10994 (gst_xml_parse_file), (gst_xml_parse_memory),
10995 (gst_xml_get_element), (gst_xml_make_element):
10996 * gst/indexers/gstfileindex.c: (gst_file_index_load),
10997 (_file_index_id_save_xml), (gst_file_index_commit):
10998 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
10999 (read_enum), (load_pad_template), (load_feature), (load_plugin),
11001 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
11002 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
11003 * tools/gst-complete.c: (main):
11004 * tools/gst-compprep.c: (main):
11005 * tools/gst-inspect.c: (print_element_properties_info):
11006 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
11007 * tools/gst-xmlinspect.c: (print_element_properties):
11010 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
11012 * gst/gstplugin.c: (gst_plugin_check_module),
11013 (gst_plugin_check_file), (gst_plugin_load_file):
11014 apply patch from #172526 to make register work on MacOSX
11016 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
11018 * docs/gst/tmpl/gstconfig.sgml:
11019 * gst/gstconfig.h.in:
11020 move documentation for some symbols. Add doc for GST_PTR_FORMAT
11021 * testsuite/debug/printf_extension.c: (main):
11022 Do not use GST_PTR_FORMAT on pointers to types with
11023 sizeof < sizeof(gpointer). Fixes test on 64-bit
11024 * testsuite/elements/property.h:
11025 use correct printf format
11027 2005-05-02 Wim Taymans <wim@fluendo.com>
11029 * docs/design/draft-push-pull.txt:
11030 * docs/design/draft-query.txt:
11031 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
11032 (gst_basesrc_start):
11033 Added draft for new query API.
11034 Added draft for better selecting scheduling methods.
11035 Make basesrc ignore length if the subclass does not support
11038 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
11041 possible fixes for automake-1.5 - _LIBADD is reserved
11043 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
11045 * docs/faq/Makefile.am:
11046 * docs/manual/Makefile.am:
11047 * docs/manuals.mak:
11048 * docs/pwg/Makefile.am:
11050 possible fixes for automake-1.5
11052 2005-04-28 Wim Taymans <wim@fluendo.com>
11054 * gst/base/gstbasesink.c: (gst_basesink_base_init),
11055 (gst_basesink_pad_getcaps), (gst_basesink_init),
11056 (gst_basesink_do_sync):
11057 * gst/gstclock.c: (gst_clock_entry_new):
11058 * gst/gstevent.c: (gst_event_discont_get_value):
11059 * gst/gstpipeline.c: (pipeline_bus_handler),
11060 (gst_pipeline_change_state):
11061 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
11062 Better debugging of clocking info.
11063 Allow NULL values when getting discont values.
11065 2005-04-27 Wim Taymans <wim@fluendo.com>
11067 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
11068 * check/gst/gstpad.c: (gst_pad_suite):
11069 Increase timeout for checks.
11071 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11073 * check/Makefile.am:
11074 fix the broken rule for cleanup. Apparently this rule is
11075 only needed on FC2, so maybe this warrants further autotool
11078 2005-04-26 Wim Taymans <wim@fluendo.com>
11080 * gst/gsttrashstack.h:
11081 Ooohh. a nasty one! After having a failed pop() from the stack,
11082 it's possible that the stack is empty. In that case, don't
11083 follow the NULL pointer.
11085 2005-04-25 Wim Taymans <wim@fluendo.com>
11087 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11088 (gst_pad_set_checkgetrange_function),
11089 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
11090 (gst_pad_check_pull_range), (gst_pad_pull_range),
11091 (gst_static_pad_template_get_caps), (gst_pad_start_task),
11092 (gst_pad_pause_task), (gst_pad_stop_task):
11093 * gst/gstplugin.c: (gst_plugin_load):
11095 Remove gst_library_load as it does more harm than good with
11096 the new g_module flags.
11097 Revert bogus caps template check in pad linking, pad caps
11098 are important when linking not the template, which is more
11099 general than the current caps.
11101 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11103 * gst/autoplug/.cvsignore:
11104 * gst/autoplug/Makefile.am:
11105 * gst/autoplug/gstsearchfuncs.c:
11106 * gst/autoplug/gstsearchfuncs.h:
11107 * gst/autoplug/gstspider.c:
11108 * gst/autoplug/gstspider.h:
11109 * gst/autoplug/gstspideridentity.c:
11110 * gst/autoplug/gstspideridentity.h:
11111 * gst/autoplug/spidertest.c:
11114 2005-04-25 Wim Taymans <wim@fluendo.com>
11116 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11117 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
11118 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
11119 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
11121 Added stubs for unimplemented functions.
11123 2005-04-24 David Schleef <ds@schleef.org>
11125 * gst/gstpad.h: Disable some unimplemented functions. Wim,
11128 2005-04-24 David Schleef <ds@schleef.org>
11130 Convert everything from GstAtomicInt to g_atomic_int_*, and
11135 * gst/gstatomic_impl.h:
11143 * gst/gstdata_private.h:
11147 * gst/gstmessage.c:
11150 * gst/gststructure.c:
11151 * gst/gststructure.h:
11152 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
11155 2005-04-24 David Schleef <ds@schleef.org>
11157 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
11158 make the regressions tests work. Remove some code that is no
11160 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
11161 Disable warning for pads without templates.
11163 2005-04-24 David Schleef <ds@schleef.org>
11165 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
11166 functions that handle filtered links.
11167 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
11169 * gst/gstutils.c: Fix/remove utility functions that handle
11172 * gst/gstvalue.c: Add serialization/deserialization of caps
11173 * gst/parse/grammar.y: Ignore filtered caps when linking. This
11174 requires fixing so that the filter caps notation creates
11175 a capsfilter element and sets the filter_caps property. I
11176 think everyone probably wants to keep the shorthand notation.
11177 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
11178 * docs/gst/tmpl/gstpad.sgml:
11180 * gst/elements/gstelements.c: Register capsfilter element.
11181 * gst/Makefile.am: fix spacing
11182 * docs/random/ds/0.9-suggested-changes: random
11184 2005-04-23 David Schleef <ds@schleef.org>
11186 * gst/elements/Makefile.am:
11187 * gst/elements/gstcapsfilter.c: New element that acts like an
11188 identity, but filters caps. Will eventually replace filtered
11189 caps in pad linking.
11190 * gst/gstutils.c: (gst_element_create_all_pads): New function
11191 to create all the ALWAYS pads that are registered with an
11192 element class. This functionality should eventually be
11193 merged in with GstElement initialization.
11195 * testsuite/trigger/README: part of trigger test code that should
11196 have been checked in a long time ago.
11198 2005-04-23 David Schleef <ds@schleef.org>
11200 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
11201 needed with new versions of libtool (nobody will confirm this),
11202 and hard to carry around.
11203 * gst/autoplug/Makefile.am:
11204 * gst/base/Makefile.am:
11205 * gst/elements/Makefile.am:
11206 * gst/indexers/Makefile.am:
11207 * gst/schedulers/Makefile.am:
11208 * libs/gst/bytestream/Makefile.am:
11209 * libs/gst/control/Makefile.am:
11210 * libs/gst/dataprotocol/Makefile.am:
11211 * libs/gst/getbits/Makefile.am:
11213 2005-04-21 Wim Taymans <wim@fluendo.com>
11215 * docs/design/draft-push-pull.txt:
11216 * docs/design/part-MT-refcounting.txt:
11217 * docs/design/part-TODO.txt:
11218 * docs/design/part-caps.txt:
11219 * docs/design/part-events.txt:
11220 * docs/design/part-gstbus.txt:
11221 * docs/design/part-gstpipeline.txt:
11222 * docs/design/part-messages.txt:
11223 * docs/design/part-push-pull.txt:
11224 * docs/design/part-query.txt:
11227 2005-04-21 Wim Taymans <wim@fluendo.com>
11229 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
11230 (gst_message_new), (gst_message_new_error),
11231 (gst_message_new_warning), (gst_message_new_tag),
11232 (gst_message_new_state_changed), (gst_message_new_application),
11233 (gst_message_get_structure):
11234 * gst/gstmessage.h:
11235 * gst/gststructure.c: (gst_structure_set_parent_refcount),
11236 (gst_structure_copy_conditional):
11237 Use parent refcount in GstMessage to ensure GstStructure
11239 Cleaned up headers a bit.
11242 2005-04-20 Wim Taymans <wim@fluendo.com>
11244 * gst/base/gstbasesink.c: (gst_basesink_base_init),
11245 (gst_basesink_pad_getcaps), (gst_basesink_init),
11246 (gst_basesink_chain_unlocked):
11247 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
11248 (gst_type_find_helper):
11249 * gst/elements/gsttypefindelement.c:
11250 (gst_type_find_element_have_type), (gst_type_find_element_init),
11251 (stop_typefinding), (gst_type_find_element_handle_event),
11252 (find_suggest), (gst_type_find_element_chain),
11253 (gst_type_find_element_checkgetrange),
11254 (gst_type_find_element_getrange), (do_typefind),
11255 (gst_type_find_element_activate):
11256 * gst/gstbuffer.c: (_gst_buffer_sub_free),
11257 (gst_buffer_default_free), (gst_buffer_default_copy),
11258 (gst_buffer_set_caps):
11259 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
11260 (gst_caps_replace):
11261 * gst/gstmessage.c: (gst_message_new),
11262 (gst_message_new_state_changed):
11263 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11264 (gst_pad_set_checkgetrange_function),
11265 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
11266 (gst_pad_set_caps), (gst_pad_check_pull_range),
11267 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
11269 * gst/gsttypefind.c: (gst_type_find_register):
11270 Make gst_caps_replace() work like other _replace() functions.
11271 Use _caps_replace() where possible.
11272 Make sure _message_new() initialises its field.
11273 Add gst_static_pad_template_get_caps()
11276 2005-04-18 Andy Wingo <wingo@pobox.com>
11278 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
11279 on the peer, not the pad. I think that was a typo. Pass an extra
11280 arg to see if random access is possible. Activate the pads as
11281 PULL_RANGE if possible.
11283 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
11285 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
11286 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
11289 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11291 * docs/faq/using.xml:
11292 Add note on gstreamer-properties (#154996).
11294 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11296 * docs/random/bbb/optional-properties:
11297 Some analysis on optional properties.
11299 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11301 * docs/gst/tmpl/gstelementfactory.sgml:
11302 * gst/gstelement.h:
11303 * gst/gstelementfactory.c: (gst_element_factory_init),
11304 (gst_element_factory_cleanup), (gst_element_register),
11305 (__gst_element_factory_add_static_pad_template),
11306 (gst_element_factory_get_static_pad_templates),
11307 (gst_element_factory_can_src_caps),
11308 (gst_element_factory_can_sink_caps):
11309 * gst/registries/Makefile.am:
11310 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
11311 (gst_xml_registry_class_init), (gst_xml_registry_init),
11312 (gst_xml_registry_new), (gst_xml_registry_set_property),
11313 (gst_xml_registry_get_property), (get_time), (make_dir),
11314 (gst_xml_registry_get_perms_func),
11315 (plugin_times_older_than_recurse), (plugin_times_older_than),
11316 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
11317 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
11318 (add_to_char_array), (read_string), (read_uint), (read_enum),
11319 (load_pad_template), (load_feature), (load_plugin), (load_paths),
11320 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
11321 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
11322 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
11323 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
11324 (gst_xml_registry_rebuild):
11325 * gst/registries/gstlibxmlregistry.h:
11326 * tools/gst-compprep.c: (main):
11327 * tools/gst-inspect.c: (print_pad_templates_info):
11328 * tools/gst-xmlinspect.c: (print_element_info):
11329 Use libxml2 for registry parsing, use staticpadtemplates in
11330 elementfactories. Makes gst_init() +/- 10x faster.
11332 2005-04-12 Wim Taymans <wim@fluendo.com>
11334 * gst/base/Makefile.am:
11335 * gst/base/gstbasesink.c: (gst_basesink_base_init),
11336 (gst_basesink_pad_getcaps), (gst_basesink_init),
11337 (gst_basesink_event), (gst_basesink_change_state):
11338 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11339 (gst_basesrc_init), (gst_basesrc_query),
11340 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
11341 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
11342 (gst_basesrc_check_get_range), (gst_basesrc_loop),
11343 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
11344 (gst_basesrc_stop), (gst_basesrc_activate),
11345 (gst_basesrc_change_state):
11346 * gst/base/gsttypefindhelper.c: (helper_find_peek),
11347 (helper_find_suggest), (gst_type_find_helper):
11348 * gst/base/gsttypefindhelper.h:
11349 * gst/elements/Makefile.am:
11350 * gst/elements/gstelements.c:
11351 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11352 (gst_fakesink_get_times), (gst_fakesink_event),
11353 (gst_fakesink_preroll), (gst_fakesink_render):
11354 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11355 (gst_fakesrc_init), (gst_fakesrc_event_handler),
11356 (gst_fakesrc_get_property), (gst_fakesrc_create),
11357 (gst_fakesrc_start), (gst_fakesrc_stop):
11358 * gst/elements/gstfakesrc.h:
11359 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
11360 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
11361 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
11362 (gst_filesrc_create_read), (gst_filesrc_create),
11363 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
11364 (gst_filesrc_start):
11365 * gst/elements/gsttypefindelement.c:
11366 (gst_type_find_element_have_type), (gst_type_find_element_init),
11367 (start_typefinding), (stop_typefinding), (push_buffer_store),
11368 (gst_type_find_element_handle_event),
11369 (gst_type_find_element_chain),
11370 (gst_type_find_element_checkgetrange),
11371 (gst_type_find_element_getrange), (do_typefind),
11372 (gst_type_find_element_activate),
11373 (gst_type_find_element_change_state):
11374 * gst/elements/gsttypefindelement.h:
11375 * gst/gstpipeline.c: (pipeline_bus_handler):
11376 Added typefind helper.
11377 Small preroll fix in the base sink.
11378 Disable typefind code in basesrc.
11379 Crude port of typefindelement.
11383 2005-04-11 Wim Taymans <wim@fluendo.com>
11385 * check/gst/gstbus.c: (gstbus_suite):
11386 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
11387 * check/gstcheck.h:
11388 Fix up the timeout so that the test does not fail.
11390 2005-04-06 Wim Taymans <wim@fluendo.com>
11393 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11394 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
11395 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
11396 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
11397 (gst_basesrc_check_get_range), (gst_basesrc_loop),
11398 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
11399 (gst_basesrc_stop), (gst_basesrc_activate),
11400 (gst_basesrc_change_state), (basesrc_find_peek),
11401 (basesrc_find_suggest), (gst_basesrc_type_find):
11402 * gst/base/gstbasesrc.h:
11403 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
11404 (gst_filesrc_class_init), (gst_filesrc_init),
11405 (gst_filesrc_finalize), (gst_filesrc_set_location),
11406 (gst_filesrc_set_property), (gst_filesrc_get_property),
11407 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
11408 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
11409 (gst_filesrc_create_read), (gst_filesrc_create),
11410 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
11411 * gst/elements/gstfilesrc.h:
11412 * gst/gstelement.c: (gst_element_get_state_func),
11413 (gst_element_lost_state), (gst_element_pads_activate):
11414 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11415 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
11416 (gst_pad_pull_range):
11418 More work on the generic source base class, implement seeking,
11420 Make filesrc extend the base source class.
11421 Added gst_pad_set_checkgetrange_function to GstPad.
11423 2005-04-06 Andy Wingo <wingo@pobox.com>
11425 * pkgconfig/gstreamer-base.pc.in:
11426 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
11428 * pkgconfig/Makefile.am:
11429 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
11431 2005-04-04 Wim Taymans <wim@fluendo.com>
11433 * gst/base/Makefile.am:
11435 * gst/base/gstbasesink.c: (gst_basesink_base_init),
11436 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
11437 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
11438 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
11439 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11440 (gst_basesrc_base_init), (gst_basesrc_class_init),
11441 (gst_basesrc_init), (gst_basesrc_get_formats),
11442 (gst_basesrc_get_query_types), (gst_basesrc_query),
11443 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
11444 (gst_basesrc_set_property), (gst_basesrc_get_property),
11445 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
11446 (gst_basesrc_loop), (gst_basesrc_activate),
11447 (gst_basesrc_change_state):
11448 * gst/base/gstbasesrc.h:
11449 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
11450 (gst_fakesrc_class_init), (gst_fakesrc_init),
11451 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
11452 (gst_fakesrc_get_property), (gst_fakesrc_create):
11453 * gst/elements/gstfakesrc.h:
11454 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
11455 (gst_filesrc_open_file), (gst_filesrc_loop),
11456 (gst_filesrc_activate), (filesrc_find_peek),
11457 (gst_filesrc_type_find):
11458 Made base source class, make fakesrc extend it.
11459 Add comments to basesink class.
11460 Some filesrc cleanup.
11462 2005-03-31 David Schleef <ds@schleef.org>
11464 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
11465 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
11466 expected to link against libgstreamer.
11467 * gst/base/Makefile.am: link against libgstreamer
11468 * gst/elements/Makefile.am: same
11470 2005-03-31 Andy Wingo <wingo@pobox.com>
11472 * tests/instantiate/Makefile.am:
11473 * tests/instantiate/caps.c: Add test to test speed of caps copy
11476 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
11477 GMemChunk to be fair.
11479 * gst/gsttrashstack.h: Remove warning about using the fallback
11480 trash stack implementation, it's still faster than malloc.
11482 2005-03-30 Andy Wingo <wingo@pobox.com>
11484 * tests/complexity.c: Add a copyright.
11486 2005-03-31 Wim Taymans <wim@fluendo.com>
11488 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
11489 (gst_base_transform_class_init), (gst_base_transform_init),
11490 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
11491 (gst_base_transform_get_property),
11492 (gst_base_transform_sink_activate),
11493 (gst_base_transform_src_activate),
11494 (gst_base_transform_change_state):
11495 * gst/base/gstbasetransform.h:
11496 * gst/elements/gstidentity.c: (gst_identity_class_init),
11497 (gst_identity_event), (gst_identity_check_perfect),
11498 (gst_identity_transform), (gst_identity_start),
11499 (gst_identity_stop):
11500 Added start/stop methods to transform base class so subclasses
11501 don't need to deal with state changes even.
11503 2005-03-31 Wim Taymans <wim@fluendo.com>
11505 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
11506 (gst_event_new_discontinuous), (gst_event_discont_get_value):
11508 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11509 (gst_pad_pull_range):
11510 Added rate to the discont event to prepare for variable speed
11511 and reverse playback.
11513 2005-03-29 David Schleef <ds@schleef.org>
11516 * testsuite/trigger/Makefile.am:
11517 * testsuite/trigger/trigger.c: A little example program to show
11518 how trigger-based elements can work.
11520 2005-03-29 Wim Taymans <wim@fluendo.com>
11522 * gst/base/Makefile.am:
11524 * gst/base/gstbasesink.c: (gst_basesink_get_type),
11525 (gst_basesink_base_init), (gst_basesink_class_init),
11526 (gst_basesink_pad_getcaps), (gst_basesink_init),
11527 (gst_basesink_activate), (gst_basesink_change_state):
11528 * gst/base/gstbasesink.h:
11529 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
11530 (gst_base_transform_base_init), (gst_base_transform_finalize),
11531 (gst_base_transform_class_init), (gst_base_transform_init),
11532 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
11533 (gst_base_transform_event), (gst_base_transform_getrange),
11534 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
11535 (gst_base_transform_set_property),
11536 (gst_base_transform_get_property),
11537 (gst_base_transform_sink_activate),
11538 (gst_base_transform_src_activate),
11539 (gst_base_transform_change_state):
11540 * gst/base/gstbasetransform.h:
11541 * gst/elements/gstidentity.c: (gst_identity_finalize),
11542 (gst_identity_class_init), (gst_identity_init),
11543 (gst_identity_event), (gst_identity_check_perfect),
11544 (gst_identity_transform), (gst_identity_set_property),
11545 (gst_identity_get_property), (gst_identity_change_state):
11546 * gst/elements/gstidentity.h:
11547 * gst/gstelement.c: (gst_element_get_state_func),
11548 (gst_element_lost_state), (gst_element_pads_activate):
11549 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11550 (gst_pad_check_pull_range), (gst_pad_pull_range):
11552 Simplify pad activation.
11553 Added function to check if pull_range can be performed.
11554 Error out when pulling inactive or flushing pads.
11555 Removed const from refcounted types as it does not make sense.
11556 Simplify pad templates in basesink
11557 Added base class for simple 1-to-1 transforms.
11558 Make identity subclass the base transform.
11560 2005-03-29 Andy Wingo <wingo@pobox.com>
11562 * docs/libs/gstreamer-libs-overrides.txt:
11563 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
11564 really don't understand what's going on, but like whatever. I want
11567 * docs/gst/Makefile.am:
11568 * docs/libs/Makefile.am: Dist the overrides files.
11570 * check/Makefile.am (clean-local): Remove .libs directories.
11572 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
11573 elements to EXTRA_DIST, so po/ files are happy.
11575 * po/POTFILES.in: Er, remove it here.
11577 * po/POTFILES: Remove gstspider.c.
11579 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
11581 * docs/libs/gstreamer-libs-docs.sgml:
11582 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
11585 * tests/complexity.c (main): Set the length of the preroll queue
11586 on the sinks to prevent a lockup.
11588 * libs/gst/dataprotocol/Makefile.am:
11589 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
11590 the same as the one in check/gst-libs/gdp.c.
11592 * po/, docs/gst/: Commit automatic changes to docs and po files.
11594 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
11595 the versioned libgstbase.
11597 * check/Makefile.am: Depend on an unversioned gst-register, seems
11598 to make autoconf happier.
11600 * gst/base/Makefile.am: Make libgstbase a versioned lib.
11602 2005-03-28 Wim Taymans <wim@fluendo.com>
11605 * docs/design/part-gstelement.txt:
11606 * docs/design/part-negotiation.txt:
11607 * docs/design/part-preroll.txt:
11608 * docs/design/part-scheduling.txt:
11609 * docs/design/part-states.txt:
11611 * gst/base/Makefile.am:
11613 * gst/base/gstbasesink.c: (gst_basesink_get_template),
11614 (gst_basesink_base_init), (gst_basesink_class_init),
11615 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
11616 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
11617 (gst_basesink_set_pad_functions),
11618 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
11619 (gst_basesink_set_property), (gst_basesink_get_property),
11620 (gst_base_sink_get_template), (gst_base_sink_get_caps),
11621 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
11622 (gst_basesink_preroll_queue_push),
11623 (gst_basesink_preroll_queue_empty),
11624 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
11625 (gst_basesink_event), (gst_basesink_get_times),
11626 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
11627 (gst_basesink_chain_unlocked), (gst_basesink_chain),
11628 (gst_basesink_loop), (gst_basesink_activate),
11629 (gst_basesink_change_state):
11630 * gst/base/gstbasesink.h:
11631 * gst/elements/Makefile.am:
11632 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
11633 (gst_fakesink_class_init), (gst_fakesink_init),
11634 (gst_fakesink_set_property), (gst_fakesink_get_property),
11635 (gst_fakesink_get_times), (gst_fakesink_event),
11636 (gst_fakesink_preroll), (gst_fakesink_render),
11637 (gst_fakesink_change_state):
11638 * gst/elements/gstfakesink.h:
11639 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
11640 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
11641 * gst/gstelement.c: (gst_element_add_pad),
11642 (gst_element_get_state_func), (gst_element_abort_state),
11643 (gst_element_commit_state), (gst_element_lost_state),
11644 (gst_element_set_state), (gst_element_pads_activate):
11645 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
11646 * gst/gstpipeline.c: (gst_pipeline_send_event),
11647 (gst_pipeline_change_state):
11648 Added state change code.
11649 Added/updated docs.
11650 Added sink base class, make fakesink extend the base class.
11651 Small cleanups in GstPipeline.
11653 2005-03-26 David Schleef <ds@schleef.org>
11655 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
11656 is broken and should be implemented in a different library.
11657 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
11658 * gst/gst.h: remove gstcpu.h
11659 * gst/gstcpu.c: remove
11660 * gst/gstcpu.h: remove
11661 * gst/Makefile.am.future: Remove this file. It's ancient.
11663 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11665 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
11666 (gst_bin_send_event):
11667 Add default event/set_manager handlers. The set_manager handler
11668 takes care that the manager is distributed over kids that were
11669 already in the bin before the manager was set. The event handler
11670 is a utility virtual function that sends the event over all sinks,
11671 so that gst_element_send_event (bin, event); has the expected
11673 * gst/gstpad.c: (gst_pad_event_default):
11674 Re-install default event handling for discontinuities, so that
11675 seeking works without requiring hacks in applications or extra
11677 * gst/gstpipeline.c: (gst_pipeline_class_init),
11678 (gst_pipeline_send_event):
11679 Half hack, half utility: set a pipeline to PAUSED for seek events,
11680 since that is the only way we can guarantee a/v sync. Means that
11681 you can do gst_element_seek (pipeline, method, pos); on a pipeline
11682 and it "just works".
11684 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11686 * gst/gstpipeline.c: (gst_pipeline_use_clock):
11687 Lock/unlock mismatch.
11689 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
11691 * docs/faq/gst-uninstalled:
11692 add gst-plugins-base
11693 * docs/gst/Makefile.am:
11694 don't error out until docs are fixed
11695 * docs/gst/gstreamer.types:
11698 2005-03-22 Wim Taymans <wim@fluendo.com>
11700 * check/Makefile.am:
11701 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
11702 * gst/gststructure.c: (gst_structure_set_valist),
11703 (gst_structure_copy_conditional):
11704 Activated more tests.
11705 Added message test.
11706 Added G_TYPE_POINTER to GstStructure.
11709 2005-03-22 Wim Taymans <wim@fluendo.com>
11711 * docs/design/part-TODO.txt:
11712 * docs/design/part-events.txt:
11713 * docs/design/part-gstbin.txt:
11714 * docs/design/part-gstbus.txt:
11715 * docs/design/part-gstpipeline.txt:
11716 * docs/design/part-messages.txt:
11718 * gst/gstmessage.c:
11721 2005-03-21 Wim Taymans <wim@fluendo.com>
11723 * gst/gstbus.c: (gst_bus_post):
11724 Fix copy-and-paste error.
11726 2005-03-21 Wim Taymans <wim@fluendo.com>
11728 * check/Makefile.am:
11730 * gst/elements/Makefile.am:
11731 * gst/elements/gstelements.c:
11732 * gst/elements/gstfakesink.c: (gst_fakesink_init),
11733 (gst_fakesink_event), (gst_fakesink_chain):
11734 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11735 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
11736 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
11737 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
11738 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
11739 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
11740 (gst_fakesrc_loop), (gst_fakesrc_activate),
11741 (gst_fakesrc_change_state):
11742 * gst/elements/gstfakesrc.h:
11743 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
11744 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
11745 (gst_filesrc_open_file), (gst_filesrc_loop),
11746 (gst_filesrc_activate), (gst_filesrc_change_state),
11747 (filesrc_find_peek), (filesrc_find_suggest),
11748 (gst_filesrc_type_find):
11749 * gst/elements/gstidentity.c: (gst_identity_finalize),
11750 (gst_identity_class_init), (gst_identity_init),
11751 (gst_identity_proxy_getcaps), (identity_queue_push),
11752 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
11753 (gst_identity_getrange), (gst_identity_chain),
11754 (gst_identity_sink_loop), (gst_identity_src_loop),
11755 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
11756 (gst_identity_set_property), (gst_identity_get_property),
11757 (gst_identity_change_state):
11758 * gst/elements/gstidentity.h:
11759 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11760 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
11761 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
11762 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
11763 (gst_tee_sink_activate):
11764 * gst/elements/gsttee.h:
11765 * gst/gst.c: (gst_register_core_elements), (init_post):
11767 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
11768 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
11769 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
11770 (gst_bin_change_state):
11772 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
11773 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
11774 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
11775 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
11776 (gst_bus_set_sync_handler), (gst_bus_create_watch),
11777 (bus_watch_callback), (bus_watch_destroy),
11778 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
11779 (poll_timeout), (gst_bus_poll):
11783 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
11784 (gst_element_post_message), (gst_element_message_full),
11785 (gst_element_get_state_func), (gst_element_get_state),
11786 (gst_element_abort_state), (gst_element_commit_state),
11787 (gst_element_lost_state), (gst_element_set_state),
11788 (gst_element_pads_activate), (gst_element_change_state),
11789 (gst_element_dispose), (gst_element_set_manager_func),
11790 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
11791 (gst_element_set_manager), (gst_element_get_manager),
11792 (gst_element_set_bus), (gst_element_get_bus),
11793 (gst_element_set_scheduler), (gst_element_get_scheduler):
11794 * gst/gstelement.h:
11795 * gst/gstevent.c: (gst_event_new_segment_seek),
11796 (gst_event_new_flush):
11798 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
11799 (_gst_message_free), (gst_message_get_type), (gst_message_new),
11800 (gst_message_new_eos), (gst_message_new_error),
11801 (gst_message_new_warning), (gst_message_new_tag),
11802 (gst_message_new_state_changed), (gst_message_new_application),
11803 (gst_message_get_structure), (gst_message_parse_tag),
11804 (gst_message_parse_state_changed), (gst_message_parse_error),
11805 (gst_message_parse_warning):
11806 * gst/gstmessage.h:
11807 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
11808 (gst_real_pad_set_property), (gst_pad_set_active),
11809 (gst_pad_is_active), (gst_pad_set_blocked_async),
11810 (gst_pad_set_blocked), (gst_pad_is_blocked),
11811 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
11812 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
11813 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
11814 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
11815 (gst_pad_link_filtered), (gst_pad_relink_filtered),
11816 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
11817 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
11818 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
11819 (gst_pad_set_caps), (gst_pad_configure_sink),
11820 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
11821 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
11822 (gst_real_pad_dispose), (gst_real_pad_finalize),
11823 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
11824 (gst_pad_event_default_dispatch), (gst_pad_event_default),
11825 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
11827 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
11828 (pipeline_bus_handler), (gst_pipeline_change_state),
11829 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
11830 * gst/gstpipeline.h:
11832 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
11833 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
11834 (gst_queue_link_src), (gst_queue_bufferalloc),
11835 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
11836 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
11837 (gst_queue_loop), (gst_queue_handle_src_event),
11838 (gst_queue_handle_src_query), (gst_queue_src_activate),
11839 (gst_queue_change_state):
11841 * gst/gstscheduler.c: (gst_scheduler_init),
11842 (gst_scheduler_dispose), (gst_scheduler_create_task),
11843 (gst_scheduler_factory_create):
11844 * gst/gstscheduler.h:
11845 * gst/gststructure.c: (gst_structure_get_type),
11846 (gst_structure_copy_conditional):
11847 * gst/gststructure.h:
11848 * gst/gsttaginterface.h:
11849 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
11850 (gst_task_init), (gst_task_dispose), (gst_task_create),
11851 (gst_task_get_state), (gst_task_start), (gst_task_stop),
11857 * gst/schedulers/Makefile.am:
11858 * gst/schedulers/cothreads_compat.h:
11859 * gst/schedulers/entryscheduler.c:
11860 * gst/schedulers/faircothreads.c:
11861 * gst/schedulers/faircothreads.h:
11862 * gst/schedulers/fairscheduler.c:
11863 * gst/schedulers/gstbasicscheduler.c:
11864 * gst/schedulers/gstoptimalscheduler.c:
11865 * gst/schedulers/gthread-cothreads.h:
11866 * gst/schedulers/threadscheduler.c:
11867 (gst_thread_scheduler_task_get_type),
11868 (gst_thread_scheduler_task_class_init),
11869 (gst_thread_scheduler_task_init),
11870 (gst_thread_scheduler_task_start),
11871 (gst_thread_scheduler_task_stop),
11872 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
11873 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
11874 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
11875 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
11877 * libs/gst/Makefile.am:
11878 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
11879 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
11880 (gst_file_pad_parent_set):
11881 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
11882 (gst_dp_event_from_packet):
11883 * tests/complexity.c: (main):
11884 * tests/mass_elements.c: (main):
11885 * testsuite/states/locked.c: (message_received), (main):
11886 * testsuite/states/parent.c: (main):
11887 * tools/gst-inspect.c: (print_element_flag_info),
11888 (print_implementation_info), (print_pad_info):
11889 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
11891 * tools/gst-md5sum.c: (event_loop), (main):
11892 * tools/gst-typefind.c: (main):
11893 * tools/gst-xmlinspect.c: (print_element_info):
11895 Added GstBus for mainloop integration.
11896 Added GstMessage for sending notifications on the bus.
11897 Added GstTask as an abstraction for pipeline entry points.
11899 Removed Schedulers.
11900 Simplified GstQueue for multithreaded core.
11901 Made _link threadsafe, removed old capsnego.
11902 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
11903 Added pad blocking functions.
11904 Reworked scheduling functions in GstPad to prepare for
11905 scheduling updates soon.
11906 Moved events out of data stream.
11907 Simplified GstEvent types.
11908 Added return values to push/pull.
11909 Removed clocking from GstElement.
11910 Added prototypes for state change function for next merge.
11911 Removed iterate from bins and state change management.
11912 Fixed some elements, disabled others for now.
11913 Fixed -inspect and -launch.
11914 Added check for GstBus.
11916 2005-03-10 Wim Taymans <wim@fluendo.com>
11918 * docs/design/part-MT-refcounting.txt:
11919 * docs/design/part-clocks.txt:
11920 * docs/design/part-gstelement.txt:
11921 * docs/design/part-gstobject.txt:
11922 * docs/design/part-standards.txt:
11923 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
11924 (gst_bin_remove_func), (gst_bin_remove):
11928 * testsuite/clock/clock1.c: (main):
11929 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
11931 * testsuite/dlopen/loadgst.c: (do_test):
11932 * testsuite/refcounting/bin.c: (add_remove_test1),
11933 (add_remove_test2), (main):
11934 * testsuite/refcounting/element.c: (main):
11935 * testsuite/refcounting/element_pad.c: (main):
11936 * testsuite/refcounting/pad.c: (main):
11937 * tools/gst-launch.c: (sigint_handler_sighandler):
11938 * tools/gst-typefind.c: (main):
11940 Added doc about clock.
11941 removed gst_bin_iterate_recurse_up(), marked methods
11943 Fix more testsuites.
11945 2005-03-09 Wim Taymans <wim@fluendo.com>
11947 * gst/gstpad.c: (gst_pad_get_direction),
11948 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
11949 (gst_pad_collect_valist):
11950 * testsuite/bins/interface.c: (main):
11951 * testsuite/caps/audioscale.c: (test_caps):
11952 * testsuite/caps/caps.c: (test1), (test2), (test3):
11953 * testsuite/caps/deserialize.c: (main):
11954 * testsuite/caps/enumcaps.c: (main):
11955 * testsuite/caps/filtercaps.c: (main):
11956 * testsuite/caps/intersect2.c: (main):
11957 * testsuite/caps/random.c: (main):
11958 * testsuite/caps/renegotiate.c: (my_fixate), (main):
11959 * testsuite/caps/sets.c: (check_caps):
11960 * testsuite/caps/simplify.c: (check_caps), (main):
11961 * testsuite/caps/subtract.c: (check_caps):
11962 Fix _pad_get_direction wrt ghostpads.
11963 Fix caps testsuite.
11965 2005-03-09 Wim Taymans <wim@fluendo.com>
11967 * check/Makefile.am:
11968 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
11969 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
11970 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
11971 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
11972 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
11973 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
11974 (gst_bin_remove), (gst_bin_iterate_recurse_up),
11975 (bin_element_is_sink), (gst_bin_iterate_sinks),
11976 (gst_bin_iterate_all_by_interface):
11978 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
11979 (gst_element_change_state), (gst_element_dispose),
11980 (gst_element_finalize), (gst_element_set_loop_function):
11981 * gst/gstelement.h:
11982 * gst/gstiterator.c: (find_custom_fold_func):
11983 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
11984 (gst_pad_collectv), (gst_pad_collect_valist),
11985 (gst_pad_template_new):
11986 * gst/gstpipeline.c: (gst_pipeline_class_init),
11987 (gst_pipeline_dispose), (gst_pipeline_set_property),
11988 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
11989 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
11990 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
11992 * gst/schedulers/entryscheduler.c:
11993 * gst/schedulers/gstbasicscheduler.c:
11994 (gst_basic_scheduler_cothreaded_chain),
11995 (gst_basic_scheduler_chain_add_element):
11996 * testsuite/bins/interface.c: (main):
11998 Added GstSystemClock test.
11999 Implemented clock distribution code in GstBin.
12000 Implemented iterate sinks method for future use.
12001 Rearranged gstelement.h
12002 Fix GstIterator comparison bug.
12003 Moved some code to GstPipeline, mostly clocking related.
12005 2005-03-09 Wim Taymans <wim@fluendo.com>
12008 * gst/gst_private.h:
12009 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12010 (gst_bin_remove_func), (gst_bin_remove),
12011 (gst_bin_get_by_name_recurse_up):
12012 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
12013 (gst_clock_id_compare_func), (gst_clock_id_wait),
12014 (gst_clock_id_wait_async), (gst_clock_init),
12015 (gst_clock_adjust_unlocked), (gst_clock_get_time):
12016 * gst/gstelement.h:
12017 * gst/gstinfo.c: (_gst_debug_init):
12019 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12020 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
12022 Bump version number, we're now 0.9.0
12023 Add future debugging category.
12024 Fix NULL _unref() in _get_by_name_recurse_up
12025 Rearrange gstpad.h.
12028 2005-03-08 Wim Taymans <wim@fluendo.com>
12030 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
12031 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
12032 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
12033 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
12034 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
12035 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
12036 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
12037 * gst/elements/gstidentity.c: (gst_identity_class_init):
12038 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
12039 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
12040 * gst/elements/gstshaper.c: (gst_shaper_class_init):
12041 * gst/elements/gststatistics.c: (gst_statistics_class_init):
12042 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
12044 * gst/gstelement.c: (gst_element_class_init),
12045 (gst_element_base_class_init), (gst_element_init),
12046 (gst_element_get_random_pad), (gst_element_wait_state_change),
12047 (gst_element_change_state), (gst_element_dispose),
12048 (gst_element_finalize), (gst_element_set_loop_function):
12049 * gst/gstelement.h:
12050 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
12051 * gst/gstthread.c: (gst_thread_class_init),
12052 (gst_thread_release_children_locks), (gst_thread_change_state):
12053 * gst/schedulers/gstbasicscheduler.c:
12054 (gst_basic_scheduler_loopfunc_wrapper),
12055 (gst_basic_scheduler_chain_wrapper),
12056 (gst_basic_scheduler_src_wrapper),
12057 (gst_basic_scheduler_remove_element):
12058 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
12059 Remove threadsafe properties. Fix elements because GObject
12060 complains when installing a property before declaring a
12061 set/get_property handler.
12062 Rearrange gstelement.h file, use STATE macros for state locks.
12063 Free mutexes in the finalize method instead of dispose.
12065 2005-03-08 Wim Taymans <wim@fluendo.com>
12067 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
12068 * gst/gstthread.c: (gst_thread_release_children_locks):
12069 Added parentage check.
12070 Fix build og GstThread again.
12072 2005-03-08 Wim Taymans <wim@fluendo.com>
12074 * docs/design/part-MT-refcounting.txt:
12075 * docs/design/part-conventions.txt:
12076 * docs/design/part-gstobject.txt:
12077 * docs/design/part-relations.txt:
12078 * docs/design/part-standards.txt:
12079 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12080 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
12081 (gst_bin_get_by_name), (gst_bin_get_by_interface),
12082 (gst_bin_iterate_all_by_interface):
12085 * gst/gstelement.c: (gst_element_class_init),
12086 (gst_element_change_state), (gst_element_set_loop_function):
12087 * gst/gstelement.h:
12088 * gst/gstiterator.c:
12089 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
12090 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
12091 (gst_object_dispatch_properties_changed), (gst_object_set_name),
12092 (gst_object_set_parent), (gst_object_unparent),
12093 (gst_object_check_uniqueness):
12095 Docs updates, clean up some headers.
12097 2005-03-07 Wim Taymans <wim@fluendo.com>
12099 * check/.cvsignore:
12100 * check/Makefile.am:
12101 * check/gst-libs/.cvsignore:
12102 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
12103 * check/gst/.cvsignore:
12104 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
12105 (START_TEST), (gstbus_suite), (main):
12106 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
12107 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
12108 (gst_data_suite), (main):
12109 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
12110 (add_fold_func), (gstiterator_suite), (main):
12111 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
12112 (thread_name_object), (thread_name_object_default),
12113 (gst_object_name_compare), (gst_object_suite), (main):
12114 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
12115 (gst_pad_suite), (main):
12116 * check/gstcheck.c: (gst_check_log_message_func),
12117 (gst_check_log_critical_func), (gst_check_init):
12118 * check/gstcheck.h:
12119 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
12120 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
12123 2005-03-07 Wim Taymans <wim@fluendo.com>
12125 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
12126 (gst_list_iterator_next), (gst_list_iterator_resync),
12127 (gst_list_iterator_free), (gst_iterator_new_list),
12128 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
12129 (gst_iterator_free), (gst_iterator_push), (filter_next),
12130 (filter_resync), (filter_uninit), (filter_free),
12131 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
12132 (gst_iterator_foreach), (find_custom_fold_func),
12133 (gst_iterator_find_custom):
12134 * gst/gstiterator.h:
12135 Added missing files.
12137 2005-03-07 Wim Taymans <wim@fluendo.com>
12141 * docs/design/part-MT-refcounting.txt:
12142 * docs/design/part-conventions.txt:
12143 * docs/design/part-gstobject.txt:
12144 * docs/design/part-relations.txt:
12145 * examples/mixer/mixer.c: (main):
12146 * examples/thread/thread.c: (eos), (main):
12148 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
12149 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
12150 (gst_spider_plug_from_srcpad):
12151 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
12152 (gst_spider_identity_change_state),
12153 (gst_spider_identity_sink_loop_type_finding):
12154 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
12155 * gst/elements/gstidentity.c: (gst_identity_init):
12156 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
12157 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
12158 * gst/elements/gsttypefindelement.c: (free_entry):
12161 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
12162 (gst_bin_set_clock_func), (gst_bin_auto_clock),
12163 (gst_bin_set_index), (gst_bin_set_element_sched),
12164 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
12165 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
12166 (gst_bin_iterate_elements), (iterate_child_recurse),
12167 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
12168 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
12169 (compare_interface), (gst_bin_get_by_interface),
12170 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
12172 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
12173 (gst_buffer_default_free), (gst_buffer_default_copy),
12174 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
12175 (gst_buffer_create_sub):
12177 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
12178 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
12179 (gst_caps_unref), (gst_static_caps_get),
12180 (gst_caps_remove_and_get_structure), (gst_caps_append),
12181 (gst_caps_append_structure), (gst_caps_remove_structure),
12182 (gst_caps_copy_nth), (gst_caps_set_simple),
12183 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
12184 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
12185 (gst_caps_structure_intersect_field), (gst_caps_intersect),
12186 (gst_caps_structure_subtract_field), (gst_caps_subtract),
12187 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
12188 (gst_caps_structure_figure_out_union),
12189 (gst_caps_switch_structures), (gst_caps_do_simplify),
12190 (gst_caps_replace), (gst_caps_from_string),
12191 (gst_caps_copy_conditional):
12193 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
12194 (_gst_clock_id_free), (gst_clock_id_unref),
12195 (gst_clock_id_compare_func), (gst_clock_id_wait),
12196 (gst_clock_id_wait_async), (gst_clock_class_init),
12197 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
12198 (gst_clock_get_time), (gst_clock_set_time_adjust),
12199 (gst_clock_set_property), (gst_clock_get_property):
12202 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
12203 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
12205 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
12206 (gst_element_requires_clock), (gst_element_provides_clock),
12207 (gst_element_set_clock), (gst_element_clock_wait),
12208 (gst_element_wait), (gst_element_set_time_delay),
12209 (gst_element_is_indexable), (gst_element_add_pad),
12210 (gst_element_add_ghost_pad), (gst_element_remove_pad),
12211 (pad_compare_name), (gst_element_get_static_pad),
12212 (gst_element_request_pad), (gst_element_get_request_pad),
12213 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
12214 (gst_element_class_get_pad_template_list),
12215 (gst_element_class_get_pad_template), (gst_element_error_func),
12216 (gst_element_get_random_pad), (gst_element_get_event_masks),
12217 (gst_element_send_event), (gst_element_seek),
12218 (gst_element_get_query_types), (gst_element_query),
12219 (gst_element_get_formats), (gst_element_convert),
12220 (gst_element_is_locked_state), (gst_element_set_locked_state),
12221 (gst_element_sync_state_with_parent), (gst_element_change_state),
12222 (gst_element_finalize), (gst_element_yield),
12223 (gst_element_interrupt), (gst_element_set_scheduler),
12224 (gst_element_get_scheduler), (gst_element_set_loop_function):
12225 * gst/gstelement.h:
12227 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
12228 (gst_format_get_by_nick), (gst_format_get_details),
12229 (gst_format_iterate_definitions):
12231 * gst/gstindex.c: (gst_index_gtype_resolver):
12234 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
12235 (gst_mem_chunk_free):
12236 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
12237 (gst_object_ref), (gst_object_unref), (gst_object_sink),
12238 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
12239 (gst_object_dispatch_properties_changed),
12240 (gst_object_set_name_default), (gst_object_set_name),
12241 (gst_object_get_name), (gst_object_set_name_prefix),
12242 (gst_object_get_name_prefix), (gst_object_set_parent),
12243 (gst_object_get_parent), (gst_object_unparent),
12244 (gst_object_check_uniqueness), (gst_object_save_thyself),
12245 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
12246 (gst_object_set_property), (gst_object_get_property),
12247 (gst_object_get_path_string):
12249 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
12250 (gst_real_pad_init), (gst_real_pad_get_property),
12251 (gst_pad_custom_new), (gst_pad_get_direction),
12252 (gst_pad_set_active), (gst_pad_is_active),
12253 (gst_pad_set_event_function), (gst_pad_is_linked),
12254 (gst_pad_link_free), (gst_pad_link_intersect),
12255 (gst_pad_link_fixate), (gst_pad_set_caps),
12256 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
12257 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
12258 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
12259 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
12260 (gst_pad_get_caps), (gst_pad_peer_get_caps),
12261 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
12262 (gst_pad_realize), (gst_pad_get_allowed_caps),
12263 (gst_real_pad_dispose), (gst_real_pad_finalize),
12264 (gst_pad_collectv), (gst_pad_collect_valist),
12265 (gst_pad_template_dispose), (gst_pad_template_new),
12266 (gst_pad_get_internal_links):
12268 * gst/gstpipeline.c: (gst_pipeline_dispose),
12269 (gst_pipeline_change_state):
12270 * gst/gstpipeline.h:
12272 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
12273 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
12274 * gst/gstpluginfeature.h:
12275 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
12276 * gst/gstquery.c: (_gst_query_type_initialize),
12277 (gst_query_type_register), (gst_query_type_get_by_nick),
12278 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
12280 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
12281 * gst/gstscheduler.c: (gst_scheduler_add_element),
12282 (gst_scheduler_factory_create):
12283 * gst/gststructure.c: (gst_structure_set_parent_refcount),
12284 (gst_structure_free), (gst_structure_set_name),
12285 (gst_structure_id_set_value), (gst_structure_set_value),
12286 (gst_structure_set_valist), (gst_structure_remove_field),
12287 (gst_structure_remove_fields),
12288 (gst_structure_remove_fields_valist),
12289 (gst_structure_remove_all_fields), (gst_structure_foreach),
12290 (gst_structure_map_in_place),
12291 (gst_caps_structure_fixate_field_nearest_int),
12292 (gst_caps_structure_fixate_field_nearest_double):
12293 * gst/gststructure.h:
12294 * gst/gstsystemclock.c: (gst_system_clock_class_init),
12295 (gst_system_clock_init), (gst_system_clock_dispose),
12296 (gst_system_clock_async_thread),
12297 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
12298 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
12299 * gst/gstsystemclock.h:
12300 * gst/gsttag.c: (gst_tag_list_add_value_internal),
12301 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
12302 * gst/gsttaginterface.c:
12303 * gst/gstthread.c: (gst_thread_dispose),
12304 (gst_thread_release_children_locks), (gst_thread_change_state),
12305 (gst_thread_main_loop):
12306 * gst/gsttrashstack.h:
12307 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
12309 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
12310 (gst_element_request_pad), (gst_element_get_pad_from_template),
12311 (gst_element_request_compatible_pad),
12312 (gst_element_get_compatible_pad_filtered),
12313 (gst_element_get_compatible_pad), (gst_element_state_get_name),
12314 (gst_element_link_pads_filtered), (gst_element_link_filtered),
12315 (gst_element_link_many), (gst_element_link),
12316 (gst_element_link_pads), (gst_element_unlink_pads),
12317 (gst_element_unlink_many), (gst_element_unlink),
12318 (gst_pad_can_link_filtered), (gst_pad_can_link),
12319 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
12320 (gst_object_default_error), (gst_bin_add_many),
12321 (gst_bin_remove_many), (gst_element_populate_std_props),
12322 (gst_element_class_install_std_props), (gst_buffer_merge),
12323 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
12324 (link_fold_func), (gst_pad_proxy_setcaps):
12326 * gst/gstvalue.c: (gst_value_deserialize_string):
12327 * gst/parse/grammar.y:
12328 * gst/schedulers/gstbasicscheduler.c:
12329 (gst_basic_scheduler_cothreaded_chain),
12330 (gst_basic_scheduler_chain_recursive_add),
12331 (gst_basic_scheduler_pad_link):
12332 * gst/schedulers/gstoptimalscheduler.c:
12333 (get_group_schedule_function),
12334 (gst_opt_scheduler_state_transition),
12335 (gst_opt_scheduler_add_element), (element_get_reachables_func):
12336 * libs/gst/bytestream/bytestream.c:
12337 * libs/gst/dataprotocol/dataprotocol.c:
12338 (gst_dp_header_from_buffer):
12341 * tests/threadstate/threadstate2.c: (eos):
12342 * tools/gst-compprep.c: (main):
12343 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
12344 (print_pad_info), (print_children_info):
12345 * tools/gst-launch.c: (idle_func), (main):
12346 * tools/gst-md5sum.c: (idle_func), (main):
12347 * tools/gst-xmlinspect.c: (print_element_info):
12348 First THREADED backport attempt, focusing on adding locks and
12349 making sure the API is threadsafe. Needs more work. More docs
12352 2005-02-24 Andy Wingo <wingo@pobox.com>
12354 * tests/bench-complexity.scm:
12355 * tests/complexity.gnuplot: New files, good for running complexity
12358 * tests/Makefile.am:
12359 * tests/complexity.c: New test, sets up N elements, at each level
12360 teeing into M streams per element. Eeeenteresting.
12362 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
12363 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
12364 running bench-mass_elements.scm.
12366 * tests/bench-mass_elements.scm: New script, runs mass_elements
12367 for various numbers of identities, outputting the results to a
12368 file. Requires guile 1.6. Just for testing.
12370 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
12372 * gst/schedulers/fairscheduler.c:
12373 compile with debug disabled
12375 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
12378 hunting season on 0.9 is now OPEN