1 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
3 * check/gst/capslist.h:
4 * check/gst/gstcaps.c: (GST_START_TEST):
5 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6 * gst/gststructure.c: (gst_structure_parse_range),
7 (gst_structure_fixate_field_nearest_fraction):
9 * gst/gstvalue.c: (gst_value_init_fraction_range),
10 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
11 (gst_value_collect_fraction_range),
12 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
13 (gst_value_set_fraction_range_full),
14 (gst_value_get_fraction_range_min),
15 (gst_value_get_fraction_range_max),
16 (gst_value_serialize_fraction_range),
17 (gst_value_transform_fraction_range_string),
18 (gst_value_compare_fraction_range),
19 (gst_value_deserialize_fraction_range),
20 (gst_value_intersect_fraction_fraction_range),
21 (gst_value_intersect_fraction_range_fraction_range),
22 (gst_value_subtract_fraction_fraction_range),
23 (gst_value_subtract_fraction_range_fraction),
24 (gst_value_subtract_fraction_range_fraction_range),
25 (gst_value_collect_fraction), (gst_value_fraction_multiply),
26 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
27 (gst_value_transform_string_fraction), (_gst_value_initialize):
29 Implement fraction ranges and extend GstFraction to support
30 arithmetic subtraction, as well as deserialization from integer
32 Add a testsuite as for int and double range set operations
34 2005-11-21 Andy Wingo <wingo@pobox.com>
38 * gst/gststructure.h: Add glib-compat.h.
40 2005-11-21 Wim Taymans <wim@fluendo.com>
42 * gst/gstbin.c: (gst_bin_change_state_func):
45 2005-11-21 Wim Taymans <wim@fluendo.com>
48 And add a nice define too.
50 2005-11-21 Wim Taymans <wim@fluendo.com>
52 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
53 (gst_segment_new), (gst_segment_free), (gst_segment_init),
54 (gst_segment_set_duration), (gst_segment_set_last_stop),
55 (gst_segment_set_seek), (gst_segment_set_newsegment),
56 (gst_segment_to_stream_time), (gst_segment_to_running_time),
59 Make binding friendly.
61 2005-11-21 Andy Wingo <wingo@pobox.com>
67 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
70 * gst/gsterror.c (_gst_core_errors_init):
71 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
74 * gst/Makefile.am (gst_headers): Add glib-compat.h.
75 (noinst_HEADERS): noinst the -private.
77 2005-11-21 Michael Smith <msmith@fluendo.com>
81 Remove unimplemented declarations for which we can see no sensible
84 2005-11-21 Andy Wingo <wingo@pobox.com>
86 * gst/gst.h: Include glib-compat.h.
88 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
90 * gst/glib-compat.c: Include the public and the private header.
92 * gst/glib-compat-private.h: Copied here from glib-compat.h.
96 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
98 * check/gst/gstevent.c (create_custom_events): Check that
99 FLUSH_STOP is serialized.
101 * check/elements/identity.c (event_func):
102 * check/elements/fakesrc.c (event_func): No stream lock, the core
105 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
106 stream lock taking, yay.
108 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
109 ensure that core takes the stream lock.
111 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
114 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
115 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
116 it already. For the flush start we do take it though so we get the
117 right preroll state change messages.
119 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
120 the stream lock here, the core does it for us.
122 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
124 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
125 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
126 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
127 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
128 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
129 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
131 * gst/gstpad.c: Update for stream lock name change.
133 * gst/base/gstbasesink.c: Update for preroll lock name change.
135 2005-11-21 Wim Taymans <wim@fluendo.com>
137 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
138 (gst_clock_get_master):
140 * gst/gstsystemclock.c: (gst_system_clock_init):
141 Convert Clock flags to object flags.
142 Added methods to manage master/slave clocks.
144 2005-11-21 Wim Taymans <wim@fluendo.com>
146 * check/gst/gstsegment.c: (GST_START_TEST):
147 * docs/design/part-TODO.txt:
148 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
149 (gst_base_sink_event), (gst_base_sink_do_sync),
150 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
151 (gst_base_sink_query), (gst_base_sink_change_state):
152 * gst/base/gstbasesink.h:
153 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
154 (gst_base_src_default_newsegment),
155 (gst_base_src_configure_segment), (gst_base_src_do_seek),
156 (gst_base_src_get_range), (gst_base_src_loop),
157 (gst_base_src_change_state):
158 * gst/base/gstbasesrc.h:
159 * gst/base/gstbasetransform.c:
160 (gst_base_transform_prepare_output_buf),
161 (gst_base_transform_event), (gst_base_transform_change_state):
162 * gst/base/gstbasetransform.h:
163 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
164 (gst_collect_pads_event):
165 * gst/base/gstcollectpads.h:
166 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
167 (gst_fake_src_create):
168 * gst/elements/gstfakesrc.h:
169 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
170 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
171 (gst_segment_set_last_stop), (gst_segment_set_seek),
172 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
173 (gst_segment_to_running_time), (gst_segment_clip):
175 More segment updates, replace code in plugins with segment
178 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
180 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
181 Don't ignore sscanf results
183 2005-11-21 Andy Wingo <wingo@pobox.com>
185 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
188 * *.c: Ran scripts/update-macros. Oh yes.
190 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
191 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
194 * scripts/update-macros: New script. Run it on your files to
195 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
198 2005-11-21 Stefan Kost <ensonic@users.sf.net>
200 * docs/gst/Makefile.am:
201 * docs/gst/gstreamer-docs.sgml:
202 * docs/gst/gstreamer-sections.txt:
203 * docs/gst/gstreamer.types:
205 more docs fixes, add new api to the docs
207 2005-11-21 Andy Wingo <wingo@pobox.com>
209 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
210 state_broadcast call.
212 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
214 2005-11-21 Julien MOUTTE <julien@moutte.net>
216 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
217 function calls for arrays.
219 2005-11-21 Stefan Kost <ensonic@users.sf.net>
221 * docs/random/ensonic/media-device-daemon.txt:
222 wild idea, can this be done?
223 * docs/gst/gstreamer-sections.txt:
228 * gst/gstpluginfeature.c:
232 doc fixes and additions
234 2005-11-21 Andy Wingo <wingo@pobox.com>
236 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
237 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
238 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
239 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
240 private to the basesrc implementation.
242 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
243 behalf of event function if necessary. It should no longer be
244 necessary to take the stream lock in pad's event functions. Fixes
247 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
248 * docs/gst/gstreamer-sections.txt:
249 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
250 (gst_structure_fixate_field_nearest_double),
251 (gst_structure_fixate_field_boolean):
252 * gst/gststructure.h:
253 * win32/common/libgstreamer.def:
254 * win32/gstreamer.def:
256 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
259 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
261 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
262 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
263 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
264 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
265 (gst_fdsrc_uri_handler_init):
266 * gst/elements/gstfdsrc.h:
267 Port fd:// URI handler from 0.8 to fdsrc
269 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
271 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
272 (gst_value_serialize_fourcc):
274 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
275 consistent with our other format defines (#320324).
277 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
279 * gst/gstvalue.c: (gst_value_is_fixed):
280 Revert previous commit. Value lists are by definition
281 not fixed, as they are a list of possible values.
283 2005-11-21 Andy Wingo <wingo@pobox.com>
285 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
286 during the stable series if we need it. Fixes #319178.
288 * gst/gstevent.c (gst_event_new_filler): Removed.
290 * check/gst/gstevent.c: Update comment about filler events.
292 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
294 * gst/gstvalue.c: (gst_value_is_fixed):
295 Should handle both value arrays and value lists.
297 2005-11-21 Andy Wingo <wingo@pobox.com>
299 patch by: Alessandro Dessina <alessandro nnva org>
301 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
302 functions to access arrays. Fixes #321962.
304 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
306 * docs/gst/gstreamer.types:
307 gst_collectpads_get_type => gst_collect_pads_get_type.
309 * gst/base/gstbasetransform.c:
310 Remove unused SIGNAL_HANDOFF enum.
312 2005-11-21 Andy Wingo <wingo@pobox.com>
314 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
315 the event type (upstream, downstream, serialized). Renamed
316 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
317 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
318 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
320 * gst/gstevent.c: Update for new CUSTOM event names.
322 * check/gst/gstevent.c: Update check for new CUSTOM event names.
325 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
328 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
330 * docs/gst/gstreamer-sections.txt:
331 * win32/common/libgstbase.def:
332 * win32/libgstbase.def:
333 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
334 (gst_collect_pads_class_init), (gst_collect_pads_init),
335 (gst_collect_pads_finalize), (gst_collect_pads_new),
336 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
337 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
338 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
339 (gst_collect_pads_start), (gst_collect_pads_stop),
340 (gst_collect_pads_peek), (gst_collect_pads_pop),
341 (gst_collect_pads_available), (gst_collect_pads_read),
342 (gst_collect_pads_flush), (gst_collect_pads_event),
343 (gst_collect_pads_chain):
344 * gst/base/gstcollectpads.h:
345 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
346 unimplemented functions as unimplemented. Add padding to
347 GstCollectData. (#320766, #320423)
349 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
352 Improve docs for DURATION message (usage of duration parameter)
355 2005-11-20 Wim Taymans <wim@fluendo.com>
358 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
362 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
363 (gst_segment_set_seek), (gst_segment_set_newsegment),
364 (gst_segment_to_stream_time), (gst_segment_to_running_time),
367 Added segment helper structure and methods. Not fully implemented
371 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
373 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
374 Add a deserialisation test for fractions
375 * examples/metadata/read-metadata.c: (message_loop),
376 (make_pipeline), (main):
377 Fix up metadata reading sample.
378 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
380 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
381 Don't try and fixate empty caps
383 Wrap in G_BEGIN_DECLS/G_END_DECLS
384 * gst/gstvalue.c: (gst_value_collect_fraction),
385 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
386 (gst_value_transform_string_fraction),
387 (gst_value_compare_fraction):
388 Add some extra guards to ensure that we don't end up
389 with an invalid denominator of 0 in a gstfraction and
390 that fractions always get reduced.
392 2005-11-20 Wim Taymans <wim@fluendo.com>
394 * docs/gst/gstreamer-sections.txt:
405 2005-11-20 Wim Taymans <wim@fluendo.com>
407 * docs/design/part-TODO.txt:
409 Make a proper enum of the flag.
411 2005-11-19 Wim Taymans <wim@fluendo.com>
413 * docs/design/part-TODO.txt:
414 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
415 (gst_format_to_quark), (gst_format_register):
417 * gst/gstquery.c: (_gst_query_initialize),
418 (gst_query_type_get_name), (gst_query_type_to_quark),
419 (gst_query_type_register):
421 Add type to quark and type to string conversions.
423 2005-11-19 Andy Wingo <wingo@pobox.com>
425 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
428 2005-11-19 Wim Taymans <wim@fluendo.com>
430 * docs/design/part-TODO.txt:
431 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
432 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
433 (gst_bin_handle_message_func):
435 Make message handling overridable.
437 2005-11-19 Andy Wingo <wingo@pobox.com>
439 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
442 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
444 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
445 is a GstClockTime. Fixes #321710.
447 * gst/gstclock.h (GstClock): Remove offset property. Add
448 internal_calibration and external_calibration. Fix padding. Pad
449 also by GstClockTime so we don't run into problems.
451 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
452 (gst_clock_get_rate_offset): Remove.
453 (gst_clock_set_time_adjust): Remove. Fixes #321712.
456 * gst/gstutils.c (g_static_rec_cond_wait)
457 (g_static_rec_cond_timed_wait): Removed, no longer needed.
459 * gst/gstbin.c: Remove terrible continue_state prototype.
461 * gst/gstelement.h (gst_element_continue_state): Make public.
464 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
465 by continue_state. Fixes #319389.
467 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
468 Really fixes #168438. However I don't see anywhere where the
469 filter function is called... stupid GStreamer...
471 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
472 don't have a dispose function, so it won't get called when the
473 object is unreffed, but oh well!
475 * gst/gstindex.c (gst_index_set_filter_full): New API function,
476 allows a destroy function to be set so user_data can be freed.
478 (gst_index_set_filter): Call gst_index_set_filter_full.
480 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
482 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
483 string should produce an error, given the lack of a way to
484 represent NULL strings. Fixes #165650.
487 * gst/gstvalue.c (gst_value_array_append_value)
488 (gst_value_array_prepend_value, gst_value_array_get_size)
489 (gst_value_array_get_value): New API, copied from
490 gst_value_list_*, only operates on arrays.
491 (gst_value_list_append_value, gst_value_list_prepend_value)
492 (gst_value_list_concat, gst_value_list_get_size)
493 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
495 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
496 init_list, because it works on both.
497 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
498 (gst_value_copy_list_or_array): Renamed from copy_list.
499 (gst_value_free_list_or_array): Renamed from free_list.
500 (gst_value_collect_list_or_array): Renamed from collect_list.
501 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
502 (gst_value_list_or_array_peek_pointer): Renamed from
504 (_gst_value_array_value_table, _gst_value_list_value_table):
505 Update value table functions.
506 (gst_value_compare_list_or_array): Renamed from compare_list.
508 * gsttaglist.h: Whoops, foreach function returns void. Also fix
512 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
513 GstTagList*. Fixes #143472.
515 * gst/gststructure.h: Clarify what the foreach/map functions can
516 or can't do to their arguments.
518 2005-11-18 Wim Taymans <wim@fluendo.com>
520 * gst/gstclock.c: (gst_clock_set_calibration),
521 (gst_clock_get_calibration):
523 Callibration can be set with internal time equal to current
526 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
532 2005-11-18 Andy Wingo <wingo@pobox.com>
535 * pkgconfig/gstreamer-net.pc.in:
536 * pkgconfig/gstreamer-net-uninstalled.pc.in:
537 * pkgconfig/Makefile.am: Add net pkgconfig files.
539 2005-11-18 Stefan Kost <ensonic@users.sf.net>
548 2005-11-18 Andy Wingo <wingo@pobox.com>
550 * gst/net/gstnetclientclock.c: Turn off debugging.
552 * check/net/gstnetclientclock.c (test_functioning): Assert that the
553 times connverge somewhat. Can't make a real test.
555 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
556 integer arithmetic. Return the minimum of the domain, which can be
557 set as "internal" for gst_clock_set_calibration.
558 (gst_net_client_clock_observe_times): Call _set_calibration.
559 (gst_net_client_clock_new): Call _set_calibration instead of
562 * check/net/gstnetclientclock.c (test_functioning): Use the right
566 * gst/gstclock.c (gst_clock_get_calibration)
567 (gst_clock_set_calibration): New functions, obsolete the ones I
568 added yesterday. Doh. Precision issues mean we have to extrapolate
569 from a point in the more recent past than 1970.
570 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
572 (gst_clock_adjust_unlocked): Use the right calibration data.
574 2005-11-18 Edward Hervey <edward@fluendo.com>
576 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
577 Also reset the ->current_* values in READY->PAUSED
579 2005-11-18 Andy Wingo <wingo@pobox.com>
581 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
582 Whoops, check the right fd. Also add some debugging.
583 (gst_net_client_clock_observe_times): Adjust for int64 offset.
584 (do_linear_regression): Add a crapload of debugging. Subtract off
585 the minimum values from the input series to discard unneeded bits.
586 Use only int arithmetic. There is still double arithmetic when
587 calculating the intercept that needs fixing. Return boolean to
588 indicate success; FALSE would mean the domain or range is too
589 great. Still needs fixes.
591 2005-11-18 Wim Taymans <wim@fluendo.com>
593 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
594 For the current position in stream time, we need to subtract
597 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
598 Release lock before calling the callback function of async
601 2005-11-18 Andy Wingo <wingo@pobox.com>
603 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
604 Port goes all the way to MAXUINT16.
606 * gst/net/gstnettimeprovider.c: Make the port range the same as
607 for the kernel: 0 assigns, otherwise ports are less than
610 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
613 * check/net/gstnetclientclock.c (test_functioning): Add the start
616 2005-11-18 Wim Taymans <wim@fluendo.com>
618 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
619 (gst_bin_remove_func), (bin_bus_handler):
621 Removing a clock provider from a bin, triggers a clock lost message
622 so that a new clock will be selected.
623 Adding a clock to a bin triggers a clock provider message.
624 Make sure we reselect a clock when we received a clock lost message.
625 Keep a reference to the element that provided the clock.
627 2005-11-18 Andy Wingo <wingo@pobox.com>
629 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
630 the clock initially so it produces values around the base time.
631 (gst_net_client_clock_class_init): Typo fix.
632 (gst_net_client_clock_thread): Add note on when the socket gets
635 2005-11-17 Wim Taymans <wim@fluendo.com>
637 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
638 Free remote and local time arrays.
640 2005-11-17 Wim Taymans <wim@fluendo.com>
642 * gst/net/gstnetclientclock.c: (do_linear_regression),
643 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
644 Fix compilation, uninitialized vars and a forgotten continue.
646 2005-11-17 Andy Wingo <wingo@pobox.com>
648 * check/Makefile.am (check_PROGRAMS):
649 * check/net/gstnetclientclock.c: Add a most minimal test for the
650 net client clock. More to come later.
653 * gst/net/Makefile.am: Add netclientclock.
655 * gst/net/gstnetclientclock.h:
656 * gst/net/gstnetclientclock.c: New files, implement an untested
657 GstClock that takes its time from a network time provider.
658 Implements the algorithm in network-clock.scm.
660 * tests/network-clock.scm (*window-size*): Rename from
662 * tests/network-clock.scm (network-time):
663 * tests/network-clock-utils.scm (q-push): Update callers.
665 2005-11-17 Wim Taymans <wim@fluendo.com>
667 * gst/gstbin.c: (gst_bin_provide_clock_func),
668 (gst_bin_sort_iterator_new):
669 And unref the child too..
671 2005-11-17 Wim Taymans <wim@fluendo.com>
673 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
674 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
675 Refactor the sort iterator so it can be used while holding the
677 Make clock selection select a clock closest to the source.
679 2005-11-17 Michael Smith <msmith@fluendo.com>
681 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
682 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
684 Anonymous structs are a gcc (and some other compilers) extension, so
685 don't use them. Since this is only for ABI-compatibility, and our
686 API/ABI freeze is over in a few days, this whole thing will only
687 last a few days, so don't bother trying to think up a meaningful
690 2005-11-17 Andy Wingo <wingo@pobox.com>
692 * gst/gstclock.h (GstClock): Add rate and offset properties,
693 preserving ABI stability. Add rate/offset accessors. Will file bug
694 for the freeze break.
696 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
697 and offset, trying to keep precision and avoiding
699 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
700 functions. Make gst_clock_set_time_adjust obsolete.
701 (gst_clock_set_time_adjust): Note that this function is obsolete.
704 * gst/base/gstbasetransform.h: Make the ABI-stability hack
705 greppable by using GST_PADDING-1+1.
707 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
709 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
711 * gst/gstmessage.c: (gst_message_parse_clock_lost):
712 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
714 * gst/gstpadtemplate.h:
715 * gst/gstpluginfeature.h:
716 Don't use c++ style comments in headers (#321638).
718 2005-11-16 Andy Wingo <wingo@pobox.com>
720 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
723 * check/net/gstnettimeprovider.c: Check to see that the time
724 provider actually provides times. Works, yo!
726 2005-11-16 Wim Taymans <wim@fluendo.com>
731 * check/elements/fakesrc.c: (GST_START_TEST):
732 Set element to NULL before disposing it.
734 2005-11-16 Andy Wingo <wingo@pobox.com>
736 * gst/net/Makefile.am:
738 * gst/net/gstnettimeprovider.c:
739 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
740 provider, include it from gstnet.h, and add it to the build.
742 * gst/net/gstnettimepacket.h:
743 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
744 sending and receiving.
746 2005-11-16 Wim Taymans <wim@fluendo.com>
749 Enable valgrind check.
751 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
752 (gst_fake_src_alloc_buffer):
755 2005-11-16 Wim Taymans <wim@fluendo.com>
757 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
758 Call parent finalize too.
760 2005-11-16 Wim Taymans <wim@fluendo.com>
763 Enable valgrind check that should work fine now.
765 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
766 * gst/gstqueue.c: (gst_queue_init):
767 Fix memleaks in pad allocation.
769 2005-11-16 Andy Wingo <wingo@pobox.com>
771 * gst/net/Makefile.am:
772 * gst/net/gstnet.h: New part of core to hold network elements and
773 objects. Put in core because it exposes API that applications want
774 to use. The library is named libgstnet-tempname right now because
775 of the existing libgstnet in gst-plugins-base. Solution is
776 probably to rename the one in plugins-base; will file a bug for
779 * gst/net/gstnettimeprovider.c:
780 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
781 get_time call over the network.
784 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
787 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
788 get additions shortly.
790 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
792 * gst/gstpad.c: (gst_pad_new_from_static_template):
794 add gst_pad_new_from_static_template functions
795 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
796 (gst_check_setup_sink_pad):
797 * gst/elements/gsttee.c: (gst_tee_init):
800 2005-11-16 Wim Taymans <wim@fluendo.com>
802 * gst/gstpad.c: (gst_pad_pause_task):
803 Removed warning, it's not really an error either.
805 2005-11-16 Wim Taymans <wim@fluendo.com>
807 * gst/base/gstbasetransform.c:
808 (gst_base_transform_prepare_output_buf),
809 (gst_base_transform_event):
810 Check if the caps are NULL, this can happen if the element
811 is shutting down and the pad caps are set to NULL.
813 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
815 * gst/elements/gsttee.c: (gst_tee_init):
816 fix pad tempalte leak in tee
818 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
820 * gst/glib-compat.c: (g_value_dup_gst_object):
822 * gst/gstpad.c: (gst_pad_set_property):
823 use gst_object_ref when setting the pad template; this will
824 trigger the pad template leaks on GLib 2.6 and the slaves
826 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
828 * gst/glib-compat.c: (gst_flags_get_first_value):
830 * gst/gstregistryxml.c:
831 remove functions copied from GLib 2.6
833 2005-11-16 Michael Smith <msmith@fluendo.com>
836 Don't link against VALGRIND_LIBS. That was always the wrong thing to
837 do, but only breaks with newer valgrind versions. We're not a
838 valgrind tool, we have no link-time dependencies on libcoregrind.
840 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
842 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
847 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
849 * gst/base/gstbasesrc.c: (gst_base_src_init):
850 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
851 * gst/gstqueue.c: (gst_queue_init):
852 * gst/gstregistryxml.c: (load_feature):
853 Revert all these unrefs, they don't even pass make check !
855 2005-11-15 Johan Dahlin <johan@gnome.org>
857 * gst/base/gstbasesrc.c: (gst_base_src_init):
858 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
859 * gst/gstqueue.c: (gst_queue_init):
860 Free pad templates, fixes a couple of leaks.
862 2005-11-15 Daniel Fischer <dan at f3c dot com>
864 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
866 * gst/gstpad.c: (gst_pad_get_property):
867 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
868 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
871 2005-11-15 Wim Taymans <wim@fluendo.com>
876 2005-11-15 Andy Wingo <wingo@pobox.com>
878 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
880 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
881 using GST_CLOCK_TIME_NONE to disable base time management.
882 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
883 time if it was NONE before.
884 (gst_pipeline_change_state): Only munge the base time if
885 stream_time != GST_CLOCK_TIME_NONE.
887 * check/gst/gstpipeline.c (test_base_time): Punt around the
888 problem of the probe not being called, because that's not the
889 issue I'm looking at. Add a check that setting stream_time to NONE
890 disables base time management.
892 2005-11-15 Wim Taymans <wim@fluendo.com>
894 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
895 segment_stop == -1 at startup.
897 * gst/base/gstbasetransform.c: (gst_base_transform_event),
898 (gst_base_transform_change_state):
899 Init segment values at start.
901 2005-11-15 Wim Taymans <wim@fluendo.com>
903 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
904 0 segment values are 0 in any format.
906 * gst/base/gstbasetransform.c: (gst_base_transform_event):
907 * gst/base/gstbasetransform.h:
908 Parse newsegment correctly in basetransform
910 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
911 Sync to clock using updated segment values.
913 2005-11-15 Andy Wingo <wingo@pobox.com>
915 * check/gst/gstpipeline.c (test_base_time): Add check that the
916 base time and stream time are reset correctly.
918 2005-11-15 Wim Taymans <wim@fluendo.com>
920 * docs/design/part-TODO.txt:
921 Some more TODO items.
923 2005-11-15 Andy Wingo <wingo@pobox.com>
925 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
926 error if the user selected "no clock" as the clocking method.
928 * check/gst/gstpipeline.c (test_base_time): New test for buffer
929 timestamps with live capture.
931 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
932 is 0 but we are a live source, timestamp the buffers using the
935 2005-11-14 Stefan Kost <ensonic@users.sf.net>
937 * docs/gst/gstreamer-sections.txt:
944 2005-11-14 Wim Taymans <wim@fluendo.com>
947 add suppressions from Wim's Debian machine
949 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
952 add suppressions from Andy's AMD64 Ubuntu machine
954 2005-11-14 Andy Wingo <wingo@pobox.com>
956 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
957 STATE_LOCK not necessary. Fixes #311489.
959 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
962 * gst/gstindex.c (gst_index_add_object): Note in the docs that
963 this function is not implemented.
965 2005-11-14 Julien MOUTTE <julien@moutte.net>
967 * gst/base/gstbasetransform.c:
968 (gst_base_transform_prepare_output_buf):
969 Ref the source pad caps while we need them.
972 2005-11-11 Wim Taymans <wim@fluendo.com>
974 * docs/gst/gstreamer-sections.txt:
975 Added some docs for GstCollectData.
977 * gst/base/gstadapter.c:
978 Some small code example fix.
980 * gst/base/gstcollectpads.c:
981 * gst/base/gstcollectpads.h:
984 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
986 * configure.ac: back to HEAD
988 === release 0.9.5 ===
990 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
993 releasing 0.9.5, "Bike Lunch Day"
995 2005-11-11 Wim Taymans <wim@fluendo.com>
997 * gst/gstbuffer.c: (_gst_buffer_copy):
1000 * gst/gstcaps.c: (gst_caps_is_equal):
1002 Make _is_equal fast in the trivial cases.
1004 * gst/gstminiobject.c:
1005 * gst/gstminiobject.h:
1006 More docs. Spifify .h file.
1011 2005-11-11 Wim Taymans <wim@fluendo.com>
1013 * gst/base/gstbasetransform.c:
1014 (gst_base_transform_prepare_output_buf),
1015 (gst_base_transform_handle_buffer):
1017 If we're processing a buffer and need to allocate an output
1018 buffer, we cannot accept a format change. If we did get a
1019 format change, we have to alloc a buffer ourselves of the
1022 2005-11-11 Wim Taymans <wim@fluendo.com>
1024 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
1025 While checking the flag for reentrancy in the gstcaps function
1026 is nice to detect recursive invocations, it also makes it
1027 impossible to call getcaps from multiple threads, which must be
1028 possible. So, checking for recursive calls has to go.
1030 2005-11-11 Michael Smith <msmith@fluendo.com>
1032 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1033 Don't sync on buffers that fall partially outside our current
1034 segment. Prevents an assertion failure/abort playing some files.
1036 2005-11-10 Andy Wingo <wingo@pobox.com>
1038 * check/gst/gstbin.c (test_message_state_changed_children): Style
1041 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
1042 gst_bus_poll with the signal watch. Ensures that poll and a signal
1043 watch see the same messages.
1045 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
1046 a poll and a watch at the same time get the same messages.
1048 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
1050 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
1051 * gst/gstcaps.c: (gst_caps_intersect):
1052 Don't call gst_caps_do_simplify - it doesn't respect order of caps
1053 and it's not needed.
1055 2005-11-10 Wim Taymans <wim@fluendo.com>
1057 * docs/design/part-TODO.txt:
1060 2005-11-10 Wim Taymans <wim@fluendo.com>
1062 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1063 * gst/base/gstbasesrc.c: (gst_base_src_wait),
1064 (gst_base_src_do_sync), (gst_base_src_get_range):
1065 Implement clock sync in base class.
1067 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
1069 patch by: Tim-Philipp Müller <tim at centricular dot net>
1071 * gst/gststructure.c: (gst_structure_parse_field),
1072 (gst_structure_from_string):
1073 Forward-port a 0.8 patch to handle escaped spaces in structure string,
1074 so that gst_parse_launch() can deal with spaces in filtered link
1075 caps (fixes #164479)
1076 * check/gst/capslist.h:
1077 * check/gst/gststructure.c: (GST_START_TEST):
1078 add unit tests for this change
1080 2005-11-10 Wim Taymans <wim@fluendo.com>
1082 * docs/gst/gstreamer-sections.txt:
1085 Fix docs, move some STATE macros to private.
1087 2005-11-10 Wim Taymans <wim@fluendo.com>
1089 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
1090 Added check for bug #317341
1094 Some more spiffifying.
1096 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
1097 Call peer linkfunction if we are a source pad. Totally fixes
1101 Update docs, source pads should call the peer linkfunction
1102 so they can atomically perform the pad link.
1104 2005-11-09 Wim Taymans <wim@fluendo.com>
1108 Uber-spiffy-spiffify some more.
1110 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
1112 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
1113 * gst/elements/gstfilesink.c: (gst_file_sink_init):
1114 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1115 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
1116 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
1117 * gst/gstpad.c: (gst_pad_init):
1118 Use GST_DEBUG_FUNCPTR() more extensively.
1120 2005-11-09 Wim Taymans <wim@fluendo.com>
1122 * gst/gstobject.c: (gst_object_class_init):
1124 Documentation fixes.
1126 2005-11-09 Edward Hervey <edward@fluendo.com>
1128 * gst/gsttypefindfactory.c:
1131 2005-11-09 Edward Hervey <edward@fluendo.com>
1133 * gst/base/gsttypefindhelper.c:
1134 * gst/gsttypefind.c:
1135 * gst/gsttypefind.h:
1138 2005-11-09 Wim Taymans <wim@fluendo.com>
1140 * gst/gstiterator.c:
1147 2005-11-09 Wim Taymans <wim@fluendo.com>
1153 2005-11-09 Wim Taymans <wim@fluendo.com>
1155 * docs/gst/gstreamer-sections.txt:
1156 Moved the message async delivery private lock and cond
1157 to the private section.
1163 2005-11-09 Edward Hervey <edward@fluendo.com>
1165 * docs/gst/gstreamer-sections.txt:
1168 Document GstURIHandler
1170 2005-11-09 Wim Taymans <wim@fluendo.com>
1172 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
1173 (gst_iterator_find_custom):
1174 * gst/gstiterator.h:
1177 2005-11-09 Wim Taymans <wim@fluendo.com>
1180 Document another field.
1182 * gst/gststructure.c:
1183 * gst/gststructure.h:
1186 2005-11-09 Wim Taymans <wim@fluendo.com>
1191 2005-11-09 Wim Taymans <wim@fluendo.com>
1193 * docs/gst/gstreamer-sections.txt:
1194 Added some new macros.
1201 2005-11-09 Wim Taymans <wim@fluendo.com>
1203 * docs/design/part-TODO.txt:
1204 Some more items for the TODO
1210 2005-11-09 Andy Wingo <wingo@pobox.com>
1212 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
1213 to work on something else now tho...
1215 * gst/base/gstadapter.c: More adapter docs.
1217 * gst/elements/gstfilesink.c (gst_file_sink_start)
1218 (gst_file_sink_stop): New functions, replace the state change
1220 (gst_file_sink_class_init): Hook up the start and stop functions.
1221 (gst_file_sink_base_init): Don't set the state change handler any
1222 more. It was a bit ugly too, being set from here...
1223 (gst_file_sink_get_property, gst_file_sink_set_property):
1225 (gst_file_sink_set_location): More robust check that doesn't call
1228 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
1230 * gst/base/gstbasetransform.c: (gst_base_transform_event):
1231 Hold STREAM_LOCK while pushing newsegment or tag events as well.
1233 2005-11-08 Wim Taymans <wim@fluendo.com>
1235 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
1236 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
1237 (gst_base_sink_chain), (gst_base_sink_change_state):
1238 * gst/base/gstbasesink.h:
1239 * gst/base/gstbasesrc.h:
1242 Avoid excessive typechecking in macros.
1244 * gst/gstminiobject.c: (gst_mini_object_get_type),
1245 (gst_mini_object_init), (gst_mini_object_new),
1246 (gst_mini_object_free):
1247 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
1248 (gst_object_finalize):
1249 Remove cruft code, optimize alloc_trace.
1251 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
1253 * docs/faq/gst-uninstalled:
1254 fix up PS1 for systems that try to reset it
1256 2005-11-07 Wim Taymans <wim@fluendo.com>
1258 * gst/base/gstbasesrc.c: (gst_base_src_init),
1259 (gst_base_src_get_range):
1260 Set the segment_end to -1 initially. Fixed typefind.
1262 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
1264 * gst/base/gstadapter.c:
1265 Debug category should be 'adapter', not 'GstAdapter'.
1267 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
1268 (gst_collectpads_class_init), (gst_collectpads_init),
1269 (gst_collectpads_peek), (gst_collectpads_pop),
1270 (gst_collectpads_event), (gst_collectpads_chain):
1271 Add debug category and some debugging output. Use boilerplate
1272 macros. Remove some extraneous words from docs.
1274 2005-11-05 Andy Wingo <wingo@pobox.com>
1276 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
1279 2005-11-04 Stefan Kost <ensonic@users.sf.net>
1281 * docs/gst/gstreamer-sections.txt:
1284 * gst/gstminiobject.h:
1289 2005-11-04 Wim Taymans <wim@fluendo.com>
1291 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
1292 Small update to stop at the configured segment_end
1295 2005-11-04 Stefan Kost <ensonic@users.sf.net>
1297 * gst/gstregistry.c:
1298 * gst/gstregistry.h:
1301 2005-11-04 Edward Hervey <edward@fluendo.com>
1303 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
1304 Check if we are doing a segment seek and have arrived at the
1305 end of that segment.
1307 2005-11-04 Wim Taymans <wim@fluendo.com>
1309 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
1310 Don't leak a mutex unlock in case of an error.
1315 2005-11-04 Wim Taymans <wim@fluendo.com>
1317 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
1319 Get the context to wake up only once.
1321 2005-11-03 Wim Taymans <wim@fluendo.com>
1323 * check/states/sinks.c: (GST_START_TEST):
1324 Uncomment fixed check.
1326 * docs/design/part-TODO.txt:
1329 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1330 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
1331 (gst_base_sink_get_position):
1332 If we are going to PLAYING, post the right pending state
1333 when we post the intermediate paused message.
1335 * gst/gstelement.c: (gst_element_continue_state),
1336 (gst_element_set_state_func), (gst_element_change_state):
1337 Don't post state changes that were between the same state
1340 2005-11-03 Stefan Kost <ensonic@users.sf.net>
1342 * docs/gst/gstreamer-sections.txt:
1345 * gst/gstminiobject.h:
1348 more docs and doc style fixes
1350 2005-11-03 Stefan Kost <ensonic@users.sf.net>
1352 * docs/gst/gstreamer-sections.txt:
1354 * gst/gstminiobject.c:
1357 2005-11-03 Andy Wingo <wingo@pobox.com>
1359 * check/states/sinks.c (test_livesrc_sink): Add checks that the
1360 state-changed messages actually have the right order and the right
1363 2005-11-03 Wim Taymans <wim@fluendo.com>
1365 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
1366 Added some more checks. Specifically the case where NO_PREROLL
1367 elements are in the pipeline.
1369 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1370 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
1371 (gst_base_sink_get_position):
1372 Post READY->PAUSED state change messages too.
1373 Fix bug where VOID was posted as pending state...
1375 * gst/gstbin.c: (gst_bin_recalc_state):
1376 use _element_continue_state() to continue the state change.
1378 * gst/gstelement.c: (gst_element_continue_state),
1379 (gst_element_commit_state), (gst_element_set_state_func),
1380 (gst_element_change_state), (gst_element_change_state_func):
1381 Lots of state change cleanups, assign the STATE_RETURN in
1382 a new continue_state() function that also propagates the
1383 last return value from a state change to the app.
1384 Update some debug statements with proper category.
1386 2005-11-03 Wim Taymans <wim@fluendo.com>
1388 * docs/design/part-events.txt:
1389 * docs/design/part-gstpipeline.txt:
1390 * docs/design/part-messages.txt:
1391 * docs/design/part-overview.txt:
1392 * docs/design/part-seeking.txt:
1393 * docs/design/part-states.txt:
1394 * docs/design/part-trickmodes.txt:
1395 * docs/manual/advanced-position.xml:
1399 People think !! is ugly, this looks better.
1401 * gst/gstpad.c: (gst_pad_set_blocked_async):
1402 Remove !! since it's fixed elsewhere now.
1404 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
1406 * gst/gstminiobject.h:
1408 Add !! to _FLAG_IS_SET macros to make the result boolean.
1410 2005-11-03 Edward Hervey <edward@fluendo.com>
1412 * gst/gstpad.c: (gst_pad_set_blocked_async):
1413 comparing a flag and a gboolean rarely returns coherent results...
1414 Added two characters (!!) to make that work correctly.
1416 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
1418 * gst/gstbus.c: (gst_bus_class_init):
1421 * gst/gstqueue.c: (gst_queue_loop):
1422 Don't assume a miniobject that isn't a buffer is an
1423 event (it could be that there is a refcounting
1424 problem somewhere and the pointer is stale and
1425 refers to an already destroyed miniobject).
1427 2005-11-03 Julien MOUTTE <julien@moutte.net>
1429 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
1431 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
1433 * docs/manual/advanced-position.xml:
1434 Update seek example and explanations to current 0.9 API.
1436 * gst/elements/gsttypefindelement.c:
1437 (gst_type_find_element_activate):
1438 Remove FIXME comment now that the found caps
1441 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
1443 * gst/gstregistryxml.c: (load_feature):
1444 Add another GST_STR_NULL instance
1446 2005-11-02 Edward Hervey <edward@fluendo.com>
1448 * gst/gstpad.c: (handle_pad_block):
1449 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
1451 2005-11-02 Wim Taymans <wim@fluendo.com>
1456 * gst/gstelement.c: (gst_element_commit_state):
1457 Remove unused value.
1459 * gst/gstiterator.c:
1460 Mention that the returned element is reffed in the docs.
1462 2005-11-02 Wim Taymans <wim@fluendo.com>
1464 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
1465 (gst_pad_push), (gst_pad_push_event):
1466 Unlock blocked pads when they are flushed.
1468 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
1471 * docs/gst/gstreamer-sections.txt:
1474 * gst/gstregistry.c: (gst_registry_scan_path_level):
1475 fix for a nasty little missed situation where an installed plug-in
1476 which was in the cache did not get overridden by an uninstalled one
1477 which was earlier in the plugin path because the newly created plugin
1478 for the uninstalled one (not in the registry) didn't get its
1479 ->registered set to TRUE
1481 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
1483 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
1484 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
1485 (gst_collectpads_is_active), (gst_collectpads_collect),
1486 (gst_collectpads_collect_range), (gst_collectpads_start),
1487 (gst_collectpads_stop), (gst_collectpads_peek),
1488 (gst_collectpads_pop), (gst_collectpads_available),
1489 (gst_collectpads_read), (gst_collectpads_flush):
1490 Guard public API with assertions.
1493 Fix docs for gst_pad_set_link_function().
1495 2005-11-02 Johan Dahlin <johan@gnome.org>
1497 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
1498 Unref found_caps after we used it.
1500 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
1502 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
1503 Don't try to ref NULL.
1505 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
1507 * win32/common/config.h.in:
1508 provide a GST_FUNCTION that just gives a string for now
1510 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
1512 * win32/common/gstenumtypes.c: (register_gst_object_flags),
1513 (gst_object_flags_get_type), (register_gst_bin_flags),
1514 (gst_bin_flags_get_type), (register_gst_buffer_flag),
1515 (gst_buffer_flag_get_type), (register_gst_bus_flags),
1516 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
1517 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
1518 (gst_clock_return_get_type), (register_gst_clock_entry_type),
1519 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
1520 (gst_clock_flags_get_type), (register_gst_state),
1521 (gst_state_get_type), (register_gst_state_change_return),
1522 (gst_state_change_return_get_type), (register_gst_state_change),
1523 (gst_state_change_get_type), (register_gst_element_flags),
1524 (gst_element_flags_get_type), (register_gst_core_error),
1525 (gst_core_error_get_type), (register_gst_library_error),
1526 (gst_library_error_get_type), (register_gst_resource_error),
1527 (gst_resource_error_get_type), (register_gst_stream_error),
1528 (gst_stream_error_get_type), (register_gst_event_type),
1529 (gst_event_type_get_type), (register_gst_seek_type),
1530 (gst_seek_type_get_type), (register_gst_seek_flags),
1531 (gst_seek_flags_get_type), (register_gst_format),
1532 (gst_format_get_type), (register_gst_index_certainty),
1533 (gst_index_certainty_get_type), (register_gst_index_entry_type),
1534 (gst_index_entry_type_get_type),
1535 (register_gst_index_lookup_method),
1536 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
1537 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
1538 (gst_index_resolver_method_get_type), (register_gst_index_flags),
1539 (gst_index_flags_get_type), (register_gst_debug_level),
1540 (gst_debug_level_get_type), (register_gst_debug_color_flags),
1541 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
1542 (gst_iterator_result_get_type), (register_gst_iterator_item),
1543 (gst_iterator_item_get_type), (register_gst_message_type),
1544 (gst_message_type_get_type), (register_gst_mini_object_flags),
1545 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
1546 (gst_pad_link_return_get_type), (register_gst_flow_return),
1547 (gst_flow_return_get_type), (register_gst_activate_mode),
1548 (gst_activate_mode_get_type), (register_gst_pad_direction),
1549 (gst_pad_direction_get_type), (register_gst_pad_flags),
1550 (gst_pad_flags_get_type), (register_gst_pad_presence),
1551 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
1552 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
1553 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
1554 (gst_plugin_error_get_type), (register_gst_plugin_flags),
1555 (gst_plugin_flags_get_type), (register_gst_rank),
1556 (gst_rank_get_type), (register_gst_query_type),
1557 (gst_query_type_get_type), (register_gst_tag_merge_mode),
1558 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
1559 (gst_tag_flag_get_type), (register_gst_task_state),
1560 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
1561 (gst_alloc_trace_flags_get_type),
1562 (register_gst_type_find_probability),
1563 (gst_type_find_probability_get_type), (register_gst_uri_type),
1564 (gst_uri_type_get_type), (register_gst_parse_error),
1565 (gst_parse_error_get_type):
1566 * win32/common/gstversion.h:
1569 2005-11-01 Luca Ognibene <luogni@tin.it>
1572 fix docs. popt is dead, long live GOption.
1574 2005-10-31 Wim Taymans <wim@fluendo.com>
1579 2005-10-31 Andy Wingo <wingo@pobox.com>
1583 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
1585 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
1586 need to serialize property notifications on GLib 2.8. GLib 2.6 has
1587 the possibility of deadlocks here if code calling notify() or
1588 set() has a lock that can be taken in another notify handler (ABBA
1589 with class lock and e.g. python GIL state lock).
1591 2005-10-28 Julien MOUTTE <julien@moutte.net>
1593 * gst/gstbus.c: Doc updates.
1595 2005-10-28 Wim Taymans <wim@fluendo.com>
1597 * docs/design/part-TODO.txt:
1598 * gst/gstiterator.c:
1599 * gst/gstsystemclock.c:
1600 * gst/gstsystemclock.h:
1603 2005-10-28 Edward Hervey <edward@fluendo.com>
1605 * docs/gst/gstreamer-docs.sgml:
1606 * docs/gst/gstreamer-sections.txt:
1607 the GstURIType documentation page is private, it only defines GstURIType
1608 which should be defined in the GstURIHandler page
1610 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
1612 * gst/gstbin.c: (gst_bin_class_init):
1615 Documentation updates.
1617 2005-10-28 Wim Taymans <wim@fluendo.com>
1619 * docs/gst/gstreamer-sections.txt:
1622 Documented the clocks.
1624 2005-10-28 Stefan Kost <ensonic@users.sf.net>
1626 * docs/gst/gstreamer-sections.txt:
1627 move some macros to private sections
1628 * gst/gstminiobject.c:
1629 * gst/gstminiobject.h:
1630 add descriptions provided by ds and some more
1632 mark macro as to be removed
1634 2005-10-28 Wim Taymans <wim@fluendo.com>
1636 * docs/design/part-TODO.txt:
1637 Add an item to TODO.
1639 * gst/gstiterator.c: (gst_iterator_fold),
1640 (gst_iterator_find_custom):
1641 * gst/gstiterator.h:
1644 2005-10-28 Wim Taymans <wim@fluendo.com>
1646 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
1647 (gst_base_transform_init):
1650 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
1651 An EOS event marks the queue as completely filled.
1653 2005-10-27 Wim Taymans <wim@fluendo.com>
1655 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1656 (gst_base_sink_do_sync), (gst_base_sink_get_position):
1657 Some more debugging.
1659 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1660 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
1661 (gst_base_transform_event), (gst_base_transform_getrange),
1662 (gst_base_transform_chain):
1663 * gst/base/gstbasetransform.h:
1665 Protect transform and concurrent buffer alloc with a new lock.
1666 Try not to break ABI/API.
1668 2005-10-27 Wim Taymans <wim@fluendo.com>
1670 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
1671 (gst_base_src_init), (gst_base_src_query),
1672 (gst_base_src_default_newsegment),
1673 (gst_base_src_configure_segment), (gst_base_src_do_seek),
1674 (gst_base_src_send_event), (gst_base_src_event_handler),
1675 (gst_base_src_pad_get_range), (gst_base_src_loop),
1676 (gst_base_src_unlock), (gst_base_src_default_negotiate),
1677 (gst_base_src_start), (gst_base_src_deactivate),
1678 (gst_base_src_activate_push), (gst_base_src_change_state):
1679 Move some stuff around and cleanup things.
1681 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
1683 * gst/base/gstbasesrc.c: (gst_base_src_query):
1684 Add missing break statements.
1686 2005-10-27 Wim Taymans <wim@fluendo.com>
1688 * check/gst/gstbin.c: (GST_START_TEST):
1689 An extra refcount is taken in basesrc.
1691 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
1692 (gst_base_src_get_range), (gst_base_src_pad_get_range),
1693 (gst_base_src_loop):
1694 Small cleanups, check for flushing after being unlocked from the
1695 LIVE_LOCK. take refcounts correctly (not yet everywhere).
1696 Don't send out EOS when going to READY.
1698 2005-10-27 Wim Taymans <wim@fluendo.com>
1700 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1701 (gst_base_sink_get_position):
1704 * gst/gstbin.c: (message_check), (bin_replace_message),
1705 (bin_remove_messages), (is_eos), (gst_bin_add_func),
1706 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
1707 (bin_query_duration_init), (bin_query_duration_fold),
1708 (bin_query_duration_done), (bin_query_generic_fold),
1710 * tools/gst-launch.c: (main):
1713 2005-10-26 Stefan Kost <ensonic@users.sf.net>
1715 * examples/controller/audio-example.c: (main):
1716 * examples/queue/queue.c: (event_loop):
1717 * gst/base/gstbasetransform.h:
1718 * gst/gstelement.c: (gst_element_send_event):
1720 * gst/gstpad.c: (gst_pad_send_event):
1723 changing log priority in error situations
1725 2005-10-25 Wim Taymans <wim@fluendo.com>
1727 * gst/gstbin.c: (message_check), (bin_replace_message),
1728 (bin_remove_messages), (is_eos), (gst_bin_add_func),
1729 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
1730 (bin_query_duration_init), (bin_query_duration_fold),
1731 (bin_query_duration_done), (bin_query_generic_fold),
1733 Some doc and debug updates.
1734 Cache previously requested query DURATION for speed. invalidate
1735 cached duration if element posts a DURATION message.
1737 2005-10-25 Wim Taymans <wim@fluendo.com>
1739 * docs/design/part-TODO.txt:
1742 * gst/gstbin.c: (message_check), (bin_replace_message),
1743 (bin_remove_messages), (is_eos), (gst_bin_add_func),
1744 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
1745 (bin_query_duration_init), (bin_query_duration_fold),
1746 (bin_query_duration_done), (bin_query_generic_fold),
1748 Handle SEGMENT_START/DONE messages correctly.
1749 More evolved query algorithm that handles duration queries
1752 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
1753 (gst_element_get_state_func), (gst_element_abort_state),
1754 (gst_element_commit_state), (gst_element_lost_state):
1755 Some more debugging.
1760 2005-10-25 Wim Taymans <wim@fluendo.com>
1762 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
1763 Don't use invalid stream_time.
1765 * gst/gstevent.c: (gst_event_new_newsegment):
1766 stream_time in newsegment cannot be undefined.
1768 2005-10-24 Wim Taymans <wim@fluendo.com>
1773 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
1775 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
1777 2005-10-24 Stefan Kost <ensonic@users.sf.net>
1779 * docs/libs/tmpl/gstdparam.sgml:
1780 * docs/libs/tmpl/gstdplinint.sgml:
1781 * docs/libs/tmpl/gstdpman.sgml:
1782 * docs/libs/tmpl/gstdpsmooth.sgml:
1783 * docs/libs/tmpl/gstunitconvert.sgml:
1786 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
1791 === release 0.9.4 ===
1793 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
1796 releasing 0.9.4, "Tyrannosaurus Rex"
1798 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
1800 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
1801 (gst_file_sink_get_current_offset):
1802 Use fseeko() and ftello() if available. When falling back on
1803 lseek() to get the current offset, fflush() first to make sure
1804 everything is up-to-date and we get the right offset.
1806 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
1808 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1809 * gst/base/gstbasesrc.c: (gst_base_src_loop):
1810 * gst/gsterror.c: (_gst_stream_errors_init):
1812 * gst/gstqueue.c: (gst_queue_loop):
1814 remove prematurely added error category and clean up the instances
1816 2005-10-21 Wim Taymans <wim@fluendo.com>
1818 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1819 (gst_base_sink_get_position), (gst_base_sink_query),
1820 (gst_base_sink_change_state):
1821 Simply set the right flag when going to playing, that's all
1822 we need to do instead of calling a function inside the object
1823 lock (that could take the lock as well and deadlock)
1825 2005-10-21 Wim Taymans <wim@fluendo.com>
1827 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
1828 (gst_base_src_loop):
1829 Don't warn, the peer element knows what to do best when
1830 the seek failed, it might try something else.
1832 2005-10-21 Wim Taymans <wim@fluendo.com>
1834 * gst/base/gstbasesrc.c: (gst_base_src_init),
1835 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
1838 2005-10-21 Wim Taymans <wim@fluendo.com>
1840 * docs/design/part-segments.txt:
1843 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
1844 Correctly set caps, even on the subbufer.
1846 2005-10-21 Wim Taymans <wim@fluendo.com>
1848 * docs/gst/gstreamer-docs.sgml:
1849 * docs/gst/gstreamer-sections.txt:
1856 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
1860 And 2% more doc coverage.
1862 2005-10-21 Andy Wingo <wingo@pobox.com>
1864 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
1867 2005-10-20 Wim Taymans <wim@fluendo.com>
1869 * gst/gsterror.c: (gst_error_get_message):
1872 * gst/gststructure.c:
1877 2005-10-20 Wim Taymans <wim@fluendo.com>
1882 Another 1% more coverage.
1884 2005-10-20 Wim Taymans <wim@fluendo.com>
1886 * docs/gst/gstreamer-sections.txt:
1887 * gst/gstelement.c: (gst_element_get_state_func),
1888 (gst_element_abort_state), (gst_element_commit_state),
1889 (gst_element_lost_state):
1891 * gst/gstquery.c: (gst_query_set_position),
1892 (gst_query_parse_position), (gst_query_set_duration),
1893 (gst_query_parse_duration), (gst_query_new_convert):
1895 Yay! 1% more docs coverage.
1897 2005-10-20 Wim Taymans <wim@fluendo.com>
1900 * gst/gstquery.c: (gst_query_set_position),
1901 (gst_query_parse_position), (gst_query_set_duration),
1902 (gst_query_parse_duration), (gst_query_new_convert):
1904 * gst/gstutils.c: (gst_element_query_convert):
1906 Docs and consistency fixes.
1908 2005-10-20 Wim Taymans <wim@fluendo.com>
1914 2005-10-20 Wim Taymans <wim@fluendo.com>
1916 * gst/gstbin.c: (message_check), (bin_replace_message),
1917 (bin_remove_messages), (is_eos), (gst_bin_add_func),
1918 (update_degree), (gst_bin_sort_iterator_next),
1919 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
1920 Reworked the message handling a bit, cache the messages instead of
1921 only the senders. alows us to do more in the future.
1923 2005-10-20 Wim Taymans <wim@fluendo.com>
1925 * docs/design/part-TODO.txt:
1928 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
1929 (gst_base_sink_query):
1930 Don't use clock time to report position when in EOS.
1932 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
1934 * tools/gst-inspect.c: (print_interfaces),
1935 (print_element_properties_info), (print_element_info):
1936 Fix interface output with gst-inspect -a; don't print
1937 newlines after double/float properties.
1939 2005-10-20 Wim Taymans <wim@fluendo.com>
1941 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
1942 (gst_base_sink_query):
1943 Speed up current position calculation.
1945 * gst/base/gstbasesrc.c: (gst_base_src_query),
1946 (gst_base_src_default_newsegment):
1947 Correctly set stream position in newsegment.
1949 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
1950 (update_degree), (gst_bin_sort_iterator_next),
1951 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
1952 * gst/gstmessage.c: (gst_message_new_custom):
1953 Clean up debugging info
1955 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
1956 (gst_queue_loop), (gst_queue_handle_src_query):
1959 2005-10-19 Wim Taymans <wim@fluendo.com>
1961 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1962 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
1963 Fix query handling again.
1965 2005-10-19 Wim Taymans <wim@fluendo.com>
1967 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1968 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
1969 * gst/base/gstbasesrc.c: (gst_base_src_query):
1970 * gst/elements/gstfilesink.c: (gst_file_sink_query):
1971 * gst/elements/gsttypefindelement.c:
1972 (gst_type_find_handle_src_query), (find_element_get_length),
1973 (gst_type_find_element_activate):
1976 * gst/gstquery.c: (gst_query_new_position),
1977 (gst_query_set_position), (gst_query_parse_position),
1978 (gst_query_new_duration), (gst_query_set_duration),
1979 (gst_query_parse_duration), (gst_query_set_segment),
1980 (gst_query_parse_segment):
1982 Bundling query position/duration is not a good idea since duration
1983 does not change much and we don't want to recalculate it for every
1984 position query, so they are separated again..
1985 Base value in segment query is not needed.
1987 * gst/gstqueue.c: (gst_queue_handle_src_query):
1988 * gst/gstutils.c: (gst_element_query_position),
1989 (gst_element_query_duration), (gst_pad_query_position),
1990 (gst_pad_query_duration):
1992 Updates for query API change.
1993 Added some docs here and there.
1995 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
1997 * check/gst/gstbin.c: (GST_START_TEST):
1998 * check/gst/gstghostpad.c: (GST_START_TEST):
1999 * check/pipelines/cleanup.c: (GST_START_TEST):
2000 wait on thread to die so we can check refcount correctly
2002 2005-10-18 Wim Taymans <wim@fluendo.com>
2004 * check/pipelines/stress.c: (GST_START_TEST):
2005 Make check a little more time consuming.
2007 2005-10-18 Wim Taymans <wim@fluendo.com>
2009 * check/Makefile.am:
2010 * check/pipelines/stress.c: (GST_START_TEST),
2011 (simple_launch_lines_suite), (main):
2012 Small state change torture test.
2014 * docs/design/part-states.txt:
2015 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2016 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
2017 (gst_base_sink_change_state):
2018 Never take state lock from streaming thread, clean up ugly
2019 hacks. Unfortunatly core does not yet support nice ways to
2022 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
2024 Start state recalc if a STATE_DIRTY message is posted, but only
2025 on the toplevel bin.
2027 * gst/gstelement.c: (gst_element_sync_state_with_parent),
2028 (gst_element_get_state_func), (gst_element_abort_state),
2029 (gst_element_commit_state), (gst_element_lost_state),
2030 (gst_element_set_state_func), (gst_element_change_state):
2032 State variables are now protected with the LOCK, the state
2033 lock is only used to serialize _set_state().
2035 2005-10-18 Wim Taymans <wim@fluendo.com>
2037 * check/gst/gstbin.c: (GST_START_TEST):
2038 * check/gst/gstmessage.c: (GST_START_TEST):
2039 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2040 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
2042 * gst/gstelement.c: (gst_element_abort_state),
2043 (gst_element_commit_state), (gst_element_lost_state):
2044 * gst/gstmessage.c: (gst_message_new_state_changed),
2045 (gst_message_new_state_dirty), (gst_message_new_segment_start),
2046 (gst_message_new_segment_done), (gst_message_new_duration),
2047 (gst_message_parse_state_changed),
2048 (gst_message_parse_segment_start),
2049 (gst_message_parse_segment_done), (gst_message_parse_duration):
2051 * tools/gst-launch.c: (event_loop):
2052 Seriously, this is better than a previous commit as we only need
2053 to notify the fact that an element changed state in a streaming
2054 thread, marking the state of the parents dirty, hence the
2055 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
2058 2005-10-18 Wim Taymans <wim@fluendo.com>
2060 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
2061 (gst_bin_recalc_func):
2062 * gst/gstelement.c: (gst_element_set_clock),
2063 (gst_element_abort_state), (gst_element_lost_state):
2064 Cleanups, prepare for state change fixes.
2066 2005-10-18 Wim Taymans <wim@fluendo.com>
2069 * gst/gstelement.c: (gst_element_class_init),
2070 (gst_element_set_state), (gst_element_set_state_func):
2072 Pending ABI changes.
2073 GThreadPool in GstBinClass to monitor async state changes.
2074 state_cookie in GstElement to detect concurrent gst/set state.
2075 set_state is now virtual too in case a very complicated element
2076 has to be constructed.
2078 2005-10-18 Wim Taymans <wim@fluendo.com>
2080 * check/gst/gstbin.c: (GST_START_TEST):
2081 * check/gst/gstmessage.c: (GST_START_TEST):
2082 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2083 * gst/gstbin.c: (bin_bus_handler):
2084 * gst/gstelement.c: (gst_element_commit_state),
2085 (gst_element_lost_state):
2086 * gst/gstmessage.c: (gst_message_new_state_changed),
2087 (gst_message_new_segment_start), (gst_message_new_segment_done),
2088 (gst_message_new_duration), (gst_message_parse_state_changed),
2089 (gst_message_parse_segment_start),
2090 (gst_message_parse_segment_done), (gst_message_parse_duration):
2092 * tools/gst-launch.c: (event_loop):
2093 Make messages future proof.
2094 state-change gets a flag if it was a message comming from the
2096 segment-start/stop can also be specified in other formats.
2097 A message to notify an app that a pipeline changed playback
2099 Also fix a GstMessage leak in -launch
2101 2005-10-18 Andy Wingo <wingo@pobox.com>
2103 * gst/gstelement.c (gst_element_dispose): More helpful message.
2105 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
2107 reviewed by: <delete if not using a buddy>
2109 * common/gtk-doc.mak:
2111 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
2113 * gst/gstregistry.c: (gst_registry_scan_path_level):
2114 unref a plug-in we get that was already initialized
2116 2005-10-18 Stefan Kost <ensonic@users.sf.net>
2118 * docs/gst/gstreamer-sections.txt:
2119 * docs/libs/gstreamer-libs-sections.txt:
2124 2005-10-17 Andy Wingo <wingo@pobox.com>
2126 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
2129 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
2131 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
2133 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
2134 (gst_element_get_state_func): Better debug message.
2135 (gst_element_commit_state): s/INFO/DEBUG/.
2136 (gst_element_lost_state, gst_element_change_state):
2138 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
2139 (gst_message_new_custom): s/INFO/LOG/.
2141 2005-10-17 Michael Smith <msmith@fluendo.com>
2143 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2144 Check if end time is valid using end time, not start time.
2146 2005-10-17 Stefan Kost <ensonic@users.sf.net>
2148 * check/gst-libs/controller.c: (GST_START_TEST),
2149 (gst_controller_suite):
2150 * libs/gst/controller/gstcontroller.c:
2151 (gst_controlled_property_set_interpolation_mode):
2152 * libs/gst/controller/gstcontroller.h:
2153 * libs/gst/controller/gstinterpolation.c:
2154 * testsuite/controller/.cvsignore:
2155 * testsuite/controller/Makefile.am:
2156 * testsuite/controller/interpolator.c:
2157 merge controller testsuites
2159 remove mem-chunk from docs
2161 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
2163 * gst/gstmemchunk.c:
2164 * gst/gstmemchunk.h:
2165 * gst/gsttrashstack.c:
2166 * gst/gsttrashstack.h:
2167 out. get out. you're fired. to the Attic !
2169 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
2171 * gst/gstcaps.c: (gst_caps_intersect):
2172 fix signedness issues in a (hopefully) correct way
2173 * gst/gstelement.c: (gst_element_pads_activate):
2175 * gst/gstobject.c: (gst_object_set_parent):
2178 2005-10-17 Julien MOUTTE <julien@moutte.net>
2180 * gst/gstvalue.h: Fix prototypes.
2182 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2184 * docs/gst/gstreamer-sections.txt:
2185 * gst/gst.c: (gst_version_string):
2187 * gst/gstversion.h.in:
2188 * win32/common/libgstreamer.def:
2189 add gst_version_string ()
2191 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2195 * gst/gst.c: (init_post):
2196 * win32/common/config.h.in:
2198 * gst/gstcaps.c: (gst_caps_intersect):
2199 use gint64, the range could be bigger than a guint
2201 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2204 document potential problem in 2038
2206 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2208 * gst/gstcaps.c: (gst_caps_intersect):
2209 Fix guint j diving under 0
2211 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2214 * win32/common/config.h:
2215 * win32/common/config.h.in:
2216 check for process.h, declares getpid() on Windows
2218 include process.h if we have it
2219 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
2220 * gst/gstmemchunk.h:
2221 fix signedness issues
2222 * win32/common/libgstreamer.def:
2225 2005-10-16 Julien MOUTTE <julien@moutte.net>
2227 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
2228 fix. Because of unsigned ints, caps intersection was going nuts and
2229 trying to access structures with G_MAXUINT index. That fixes
2230 videotestsrc ! ffmpegcolorspace ! fakesink
2231 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
2234 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2237 use the gettext macro
2238 * gst/elements/gstelements.c:
2240 * gst/indexers/gstindexers.c:
2241 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
2242 * win32/common/config.h:
2244 * win32/common/config.h.in:
2245 add the template to generate config.h
2246 * win32/common/gstenumtypes.c:
2247 * win32/common/gstversion.h:
2250 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
2252 * gst/gst.c: (gst_version):
2253 * gst/gstversion.h.in:
2256 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
2259 Oops, add missing closing bracket.
2261 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2264 use common m4's for argument checking
2266 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
2268 * docs/gst/gstreamer-sections.txt:
2270 Add GST_EVENT_TYPE_NAME() macro.
2272 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2275 * gst/gstpluginfeature.c:
2277 privatize more symbols
2279 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2282 add srcdir, builddir includes to GST_ALL_CFLAGS, since
2283 everything that uses GStreamer API should have the includes
2285 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2287 * docs/gst/gstreamer-sections.txt:
2288 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
2290 give each value a _get_type, removes the DATA exports
2292 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2296 remove _gst_registry_auto_load, not used anymore
2297 * gst/gstbin.c: (gst_bin_get_type):
2299 * gst/gstelement.c: (gst_element_get_type):
2301 * gst/gstobject.c: (gst_object_get_type):
2303 * gst/gstpad.c: (gst_pad_get_type):
2305 make _get_type functions similar, fixes data export from library
2307 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2310 correctly make conditionals
2311 * gst/elements/Makefile.am:
2312 * gst/elements/gstelements.c:
2313 fix typo causing fdsrc not to build
2315 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2317 * testsuite/Makefile.am:
2318 * testsuite/bytestream/.cvsignore:
2319 * testsuite/bytestream/Makefile.am:
2320 * testsuite/bytestream/filepadsink.c:
2321 * testsuite/bytestream/gstbstest.c:
2322 * testsuite/bytestream/test1.c:
2323 * testsuite/bytestream/testfile1:
2324 * testsuite/caps/normalisation.c:
2325 * testsuite/caps/random.c: (main):
2326 * testsuite/cleanup/.cvsignore:
2327 * testsuite/cleanup/Makefile.am:
2328 * testsuite/cleanup/cleanup1.c:
2329 * testsuite/cleanup/cleanup2.c:
2330 * testsuite/cleanup/cleanup3.c:
2331 * testsuite/cleanup/cleanup4.c:
2332 * testsuite/cleanup/cleanup5.c:
2333 * testsuite/controller/interpolator.c:
2334 * testsuite/debug/printf_extension.c: (main):
2335 * testsuite/elements/tee.c:
2336 * testsuite/negotiation/.cvsignore:
2337 * testsuite/negotiation/Makefile.am:
2338 * testsuite/negotiation/pad_link.c:
2339 * testsuite/pad/Makefile.am:
2340 * testsuite/pad/chainnopull.c:
2341 * testsuite/pad/getnopush.c:
2342 * testsuite/pad/link.c:
2343 * testsuite/refcounting/sched.c: (create_pipeline):
2344 * testsuite/registry/Makefile.am:
2345 * testsuite/registry/gst-print-formats.c:
2346 * testsuite/schedulers/.cvsignore:
2347 * testsuite/schedulers/142183-2.c:
2348 * testsuite/schedulers/142183.c:
2349 * testsuite/schedulers/143777-2.c:
2350 * testsuite/schedulers/143777.c:
2351 * testsuite/schedulers/147713.c:
2352 * testsuite/schedulers/147819.c:
2353 * testsuite/schedulers/147894-2.c:
2354 * testsuite/schedulers/147894.c:
2355 * testsuite/schedulers/Makefile.am:
2356 * testsuite/schedulers/group_link.c:
2357 * testsuite/schedulers/queue_link.c:
2358 * testsuite/schedulers/relink.c:
2359 * testsuite/schedulers/unlink.c:
2360 * testsuite/schedulers/unref.c:
2361 * testsuite/schedulers/useless_iteration.c:
2362 * testsuite/states/bin.c:
2363 clean out/remove some stuff from the testsuite directories
2365 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2368 check for some headers
2369 * gst/elements/Makefile.am:
2370 * gst/elements/gstelements.c:
2371 don't compile fdsrc without sys/socket.h
2372 * gst/indexers/Makefile.am:
2373 * gst/indexers/gstindexers.c: (plugin_init):
2374 don't compile fileindex without mmap
2376 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
2383 * check/Makefile.am:
2384 * docs/gst/Makefile.am:
2385 * examples/helloworld/Makefile.am:
2387 * gst/base/Makefile.am:
2388 * gst/check/Makefile.am:
2389 * gst/elements/Makefile.am:
2390 * gst/indexers/Makefile.am:
2391 * gst/parse/Makefile.am:
2392 * libs/gst/controller/Makefile.am:
2393 * libs/gst/dataprotocol/Makefile.am:
2394 * examples/helloworld/helloworld.c: (event_loop):
2395 compile fixes, though it's not being compiled currently
2397 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
2399 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
2400 Add some simple tests for the new taglist date API.
2402 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
2404 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
2405 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
2406 Beautify 'last-message' output: print 'none' for buffer timestamps
2407 and durations if none is set; improve alignment with next messages.
2409 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
2411 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
2412 * gst/gstpluginfeature.h:
2413 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
2414 * gst/gstregistry.h:
2415 * docs/gst/gstreamer-sections.txt:
2416 Add new API to check plugin feature version requirements.
2418 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
2419 Some basic tests for the above.
2421 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
2423 * gst/gststructure.c: (gst_structure_to_string):
2424 guard against NULL printf - happens when for example
2425 a message structure with GstClock gets serialized
2427 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
2429 * gst/base/gstcollectpads.c: (gst_collectpads_event):
2430 Fix presumable copy'n'pasto.
2432 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
2434 * gst/elements/gstfakesrc.h:
2435 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
2436 * gst/elements/gsttypefindelement.c:
2438 * gst/elements/gstfilesink.c: (gst_file_sink_render):
2439 I wonder if this could actually write +2GB files before
2441 2005-10-13 Andy Wingo <wingo@pobox.com>
2443 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
2444 Fix Timmeke Waymans bug.
2445 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
2446 string of the proper length to gst_caps_from_string. There's a
2447 potential for, before this fix, that this could cause someone
2448 connecting over the network to cause a segfault if the payload is
2451 2005-10-13 Stefan Kost <ensonic@users.sf.net>
2453 * docs/design/draft-push-pull.txt:
2454 * docs/design/part-overview.txt:
2455 * docs/random/TODO-pre-0.9:
2456 * docs/random/old/ChangeLog.gstreamer:
2457 * gst/base/gstpushsrc.c:
2461 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
2463 * gst/glib-compat.c: (gst_flags_get_first_value):
2464 * gst/glib-compat.h:
2465 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
2466 (gst_value_compare_double), (gst_value_serialize_flags):
2467 GLib 2.6 g_flags_get_first_value has a bug that triggers an
2470 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
2472 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2473 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2475 * tools/gst-launch.c: (event_loop):
2476 print out clock nicely
2478 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
2480 * docs/gst/gstreamer-sections.txt:
2482 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
2483 (gst_tag_list_get_date_index):
2484 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
2485 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
2487 2005-10-13 Julien MOUTTE <julien@moutte.net>
2489 * gst/base/gstcollectpads.c: (gst_collectpads_event),
2490 (gst_collectpads_chain):
2491 * gst/base/gstcollectpads.h: Handle newsegment and store informations
2494 2005-10-13 Stefan Kost <ensonic@users.sf.net>
2496 * docs/gst/gstreamer-sections.txt:
2499 * tools/gst-inspect.c: (main):
2500 * tools/gst-launch.c: (main):
2501 * tools/gst-run.c: (main):
2502 * tools/gst-xmlinspect.c: (main):
2503 fix GOption context leaks
2506 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
2510 * win32/common/config.h:
2512 * win32/vs6/grammar.dsp:
2513 * win32/vs6/libgstelements.dsp:
2514 * win32/vs6/libgstreamer.dsp:
2517 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
2519 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2520 * gst/base/gstbasesrc.c: (gst_base_src_query):
2521 fix more guint64<->gdouble conversions
2523 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
2526 add win32-update target
2527 * win32/common/gstconfig.h:
2528 * win32/common/gstenumtypes.c:
2529 * win32/common/gstenumtypes.h:
2530 * win32/common/gstversion.h:
2531 add files that visual studio can't generate
2533 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
2536 add a win32-update target
2539 2005-10-12 Wim Taymans <wim@fluendo.com>
2541 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
2542 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
2543 * gst/gstelement.c: (gst_element_commit_state),
2544 (gst_element_set_state):
2545 Protect flags with proper lock.
2546 unref provided cached clock in dispose.
2548 2005-10-12 Stefan Kost <ensonic@users.sf.net>
2551 * gst/gstminiobject.h:
2553 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
2554 removed unused flags from miniobject
2557 2005-10-12 Wim Taymans <wim@fluendo.com>
2559 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
2560 (gst_file_sink_event), (gst_file_sink_render):
2561 Flush before seeking.
2563 2005-10-12 Andy Wingo <wingo@pobox.com>
2565 * gst/gst.c (gst_init_check): Ignore unknown options, as has
2566 always been the case.
2568 2005-10-12 Stefan Kost <ensonic@users.sf.net>
2570 * check/gst/gstbin.c: (GST_START_TEST):
2571 * docs/gst/gstreamer-sections.txt:
2572 * gst/base/gstbasesink.c: (gst_base_sink_init):
2573 * gst/base/gstbasesrc.c: (gst_base_src_init),
2574 (gst_base_src_get_range), (gst_base_src_check_get_range),
2575 (gst_base_src_start), (gst_base_src_stop):
2576 * gst/base/gstbasesrc.h:
2577 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
2578 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
2579 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
2583 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
2585 * gst/gstelement.c: (gst_element_is_locked_state),
2586 (gst_element_set_locked_state), (gst_element_commit_state),
2587 (gst_element_set_state):
2589 * gst/gstindex.c: (gst_index_init):
2591 * gst/gstminiobject.h:
2592 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
2593 (gst_object_set_parent):
2595 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
2596 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
2598 * gst/gstpadtemplate.h:
2599 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
2600 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
2601 * gst/gstpipeline.h:
2602 * gst/indexers/gstfileindex.c: (gst_file_index_load),
2603 (gst_file_index_commit):
2604 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
2605 * testsuite/pad/link.c: (gst_test_src_init),
2606 (gst_test_filter_init), (gst_test_sink_init):
2607 * testsuite/states/locked.c: (main):
2608 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
2609 moved bitshift from macro to enum definition
2611 2005-10-12 Wim Taymans <wim@fluendo.com>
2613 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
2614 * gst/elements/gstfilesink.c: (gst_file_sink_event),
2615 (gst_file_sink_render):
2616 Some more debugging info.
2618 2005-10-12 Wim Taymans <wim@fluendo.com>
2620 * docs/design/part-states.txt:
2621 * tools/gst-launch.c: (main):
2623 Revert non-intentional change.
2625 2005-10-12 Wim Taymans <wim@fluendo.com>
2627 * check/gst/gstbin.c: (GST_START_TEST):
2628 * check/gst/gstelement.c: (GST_START_TEST):
2629 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
2630 * check/gst/gstghostpad.c: (GST_START_TEST):
2631 * check/gst/gstpipeline.c: (GST_START_TEST):
2632 * check/pipelines/simple_launch_lines.c: (run_pipeline):
2633 * check/states/sinks.c: (GST_START_TEST):
2634 * gst/elements/gsttypefindelement.c: (stop_typefinding):
2635 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
2636 (gst_bin_remove_func), (gst_bin_get_state_func),
2637 (gst_bin_recalc_state), (gst_bin_change_state_func),
2639 * gst/gstelement.c: (gst_element_get_state_func),
2640 (gst_element_get_state), (gst_element_abort_state),
2641 (gst_element_commit_state), (gst_element_set_state),
2642 (gst_element_change_state), (gst_element_change_state_func):
2644 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
2645 (gst_pipeline_provide_clock_func):
2646 * gst/gstutils.c: (gst_element_link_pads_filtered):
2647 * tools/gst-launch.c: (main):
2648 * tools/gst-typefind.c: (main):
2649 Use GstClockTime in _get_state() instead of GTimeVal.
2650 Remove old code in gstutils.c
2652 2005-10-12 Andy Wingo <wingo@pobox.com>
2654 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
2657 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
2658 there is no task. Shouldn't affect any code, as nothing in our
2659 plugins checks this return value.
2660 (gst_pad_stop_task): Also take the stream lock if the pad has no
2663 2005-10-12 Wim Taymans <wim@fluendo.com>
2665 * gst/gstpad.c: (pre_activate), (post_activate),
2666 (gst_pad_activate_pull), (gst_pad_activate_push):
2667 Cleanup activation code. Reset old state if
2670 2005-10-12 Wim Taymans <wim@fluendo.com>
2672 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2673 (gst_base_sink_change_state):
2674 No need to prerol after receiving EOS.
2676 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
2677 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
2678 * gst/elements/gstidentity.c: (gst_identity_event):
2679 Print events more verbosely.
2681 2005-10-12 Wim Taymans <wim@fluendo.com>
2683 * check/Makefile.am:
2684 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
2685 * check/states/sinks2.c:
2686 Moved sinks2 testcode in sinks check.
2688 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
2689 (gst_bin_remove_func), (gst_bin_recalc_state),
2690 (gst_bin_change_state_func), (bin_bus_handler):
2691 Fix potential race condition when _get_state() iterated over an
2692 ASYNC element right before it posted a state completion.
2695 Do proper cast here.
2697 * gst/gstevent.c: (gst_event_new_newsegment),
2698 (gst_event_parse_newsegment):
2699 A playback rate of 0.0 is not allowed.
2701 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
2703 * win32/common/config.h:
2704 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
2705 (_trewinddir), (_ttelldir), (_tseekdir):
2706 * win32/common/dirent.h:
2707 * win32/common/gtchar.h:
2708 * win32/common/libgstbase.def:
2709 * win32/common/libgstreamer.def:
2710 * win32/vs6/grammar.dsp:
2711 * win32/vs6/gst_inspect.dsp:
2712 * win32/vs6/gst_launch.dsp:
2713 * win32/vs6/gstreamer.dsw:
2714 * win32/vs6/libgstbase.dsp:
2715 * win32/vs6/libgstelements.dsp:
2716 * win32/vs6/libgstreamer.dsp:
2717 Visual Studio 6 project files, and a new common directory.
2720 2005-10-11 Wim Taymans <wim@fluendo.com>
2722 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2723 (gst_base_sink_do_sync), (gst_base_sink_query),
2724 (gst_base_sink_change_state):
2725 * gst/base/gstbasesink.h:
2726 Correctly parse newsegment info.
2728 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
2730 * gst/gst.c: (init_post):
2731 split plugin paths correctly
2733 2005-10-11 Wim Taymans <wim@fluendo.com>
2735 * check/gst/gstevent.c: (GST_START_TEST):
2736 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2737 (gst_base_sink_change_state):
2738 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
2739 * gst/base/gstbasetransform.c: (gst_base_transform_event):
2740 * gst/elements/gstfilesink.c: (gst_file_sink_event):
2741 * gst/gstevent.c: (gst_event_new_newsegment),
2742 (gst_event_parse_newsegment):
2744 Added extra flag to newsegment for future API freeze.
2745 Updated check and base elements.
2747 2005-10-11 Julien MOUTTE <julien@moutte.net>
2749 * gst/base/gstcollectpads.c: (gst_collectpads_init),
2750 (gst_collectpads_add_pad), (gst_collectpads_pop),
2751 (gst_collectpads_event), (gst_collectpads_chain):
2752 * gst/base/gstcollectpads.h: Handle EOS correctly.
2754 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
2756 * tools/gst-launch.c: (main):
2757 more null protecting
2759 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
2761 * gst/gst-i18n-lib.h:
2762 check for ENABLE_NLS, not GETTEXT_PACKAGE
2763 * gst/gstregistry.c: (gst_registry_add_plugin),
2764 (gst_registry_scan_path_level),
2765 (_gst_registry_remove_cache_plugins):
2766 protect possibly NULL strings
2767 * gst/parse/types.h:
2768 config.h already included before
2769 * tools/gst-inspect.c: (main):
2770 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
2771 check for ENABLE_NLS, not GETTEXT_PACKAGE
2772 * tools/gst-launch.c: (main):
2773 check for ENABLE_NLS, not GETTEXT_PACKAGE
2775 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
2778 if we don't have glib, fail before testing 2.8
2779 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
2780 fix a leak, should fix plugins-base testsuite
2782 2005-10-11 Andy Wingo <wingo@pobox.com>
2784 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
2785 take the mode we're going to as an arg. Go head and set the mode
2786 and flushing flags now, so that if the activate function starts a
2787 thread all the flags will be in the right state.
2788 (post_activate): Renamed also. Just handle making sure streaming
2789 finishes for the deactivation case, and setting the deactivated
2791 (gst_pad_set_active): Complain loudly if deactivation fails.
2792 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
2793 (gst_pad_activate_push): Adapt to pre/post_activate changes,
2794 remove the terrible hack.
2796 2005-10-11 Wim Taymans <wim@fluendo.com>
2798 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
2799 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
2800 (gst_bin_recalc_state), (gst_bin_change_state_func),
2801 (gst_bin_dispose), (bin_bus_handler):
2803 Prepare to make current EOS message queue more generic.
2806 * gst/gstevent.c: (gst_event_new_newsegment),
2807 (gst_event_parse_newsegment):
2809 Rename base to stream_time.
2814 2005-10-11 Wim Taymans <wim@fluendo.com>
2816 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
2817 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
2818 (gst_bin_change_state_func), (bin_bus_handler):
2820 Work on proper clock selection.
2822 2005-10-11 Edward Hervey <edward@fluendo.com>
2824 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
2825 * libs/gst/controller/gstcontroller.h:
2826 Added GList* version of _remove_properties() in order to be able to wrap
2829 2005-10-11 Wim Taymans <wim@fluendo.com>
2831 * docs/design/part-states.txt:
2834 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
2835 (gst_bin_change_state_func), (bin_bus_handler):
2836 Doc updates. Don't distribute the same clock over and over again.
2842 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
2843 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
2844 (gst_pad_send_event):
2846 Make probe emission threadsafe again.
2847 Register quarks and move _get_name() from utils.
2850 * gst/gstpipeline.c: (gst_pipeline_class_init),
2851 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
2852 Only redistribute the clock of it changed.
2854 * gst/gstsystemclock.h:
2859 Moved the _flow_get_name() to GstPad.
2861 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
2863 * check/gst-libs/gdp.c: (GST_START_TEST):
2864 * check/gst/gstcaps.c: (GST_START_TEST):
2865 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
2866 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
2867 (gst_dp_packet_from_caps):
2868 fix more valgrind warnings before turning up the heat
2870 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
2872 * gst/parse/grammar.y:
2873 some cleanup before the hacking
2875 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
2877 * gst/base/gstbasesrc.c: (gst_base_src_query):
2879 * gst/gstutils.c: (gst_guint64_to_gdouble),
2880 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
2882 externalize, basesrc uses it
2883 obviously the implementation needs testing
2885 2005-10-10 Wim Taymans <wim@fluendo.com>
2887 * tests/sched/Makefile.am:
2888 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
2889 (make_pipeline3), (make_pipeline4), (print_elem), (main):
2891 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
2893 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
2894 apparently converting from guint64 to double is not implemented
2897 2005-10-10 Wim Taymans <wim@fluendo.com>
2899 * check/Makefile.am:
2900 * check/generic/states.c: (GST_START_TEST):
2901 * check/gst/gstbin.c: (GST_START_TEST):
2902 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
2903 * check/states/sinks.c: (GST_START_TEST):
2904 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
2906 Check fixes, use API as stated in design docs, remove hacks.
2908 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2909 (gst_base_sink_change_state):
2910 Catch stopping our task while we're shutting down.
2912 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
2913 (gst_bin_remove_func), (gst_bin_get_state_func),
2914 (gst_bin_recalc_state), (gst_bin_change_state_func),
2917 * gst/gstelement.c: (gst_element_init),
2918 (gst_element_get_state_func), (gst_element_abort_state),
2919 (gst_element_commit_state), (gst_element_lost_state),
2920 (gst_element_set_state), (gst_element_change_state),
2921 (gst_element_change_state_func):
2923 New state change algorithm (see #318116)
2925 * gst/gstpipeline.c: (gst_pipeline_class_init),
2926 (gst_pipeline_init), (gst_pipeline_set_property),
2927 (gst_pipeline_get_property), (do_pipeline_seek),
2928 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
2929 * gst/gstpipeline.h:
2930 Remove crude state change hacks.
2935 * tools/gst-launch.c: (main):
2936 Fixes for state change. Needs some more work to fully use the
2939 2005-10-10 Andy Wingo <wingo@pobox.com>
2941 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
2943 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
2944 this flag, but it's not even in GLib 2.6. Odd. Hack around the
2947 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
2949 * gst/gstiterator.c: (gst_iterator_new):
2950 Fix my previous commit: GTypes passed to gst_iterator_new()
2951 can be fundamental types.
2953 2005-10-10 Wim Taymans <wim@fluendo.com>
2955 * gst/gstelement.c: (gst_element_iterate_pad_list),
2956 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
2957 (gst_element_iterate_sink_pads):
2958 Use src/sink pads lists for the respective iterators instead
2961 2005-10-10 Andy Wingo <wingo@pobox.com>
2963 Merged in popt removal + GOption addition patch from Ronald, bug
2966 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
2967 GstElement macros around, remove popt-related symbols, add goption
2970 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
2972 * docs/gst/Makefile.am:
2973 * docs/libs/Makefile.am: No POPT_CFLAGS.
2975 * examples/manual/Makefile.am:
2976 * docs/manual/basics-init.xml: Doc updates with an example.
2978 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
2979 (gst_init), (parse_one_option), (parse_goption_arg):
2980 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
2981 bit of hand merging and debugging to get the GOption stuff working
2984 * tests/Makefile.am:
2985 * tools/Makefile.am:
2986 * tools/gst-inspect.c: (main):
2987 * tools/gst-launch.c: (main):
2988 * tools/gst-run.c: (main):
2989 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
2991 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
2993 * gst/gstiterator.c: (gst_iterator_new):
2994 Add assertions to make sure passed GType is likely to really
2995 be a GType (as the compiler won't catch it if the size and
2996 GType arguments get mixed up, see #318447).
2998 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
3000 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
3002 * gst/gstbin.c: (gst_bin_iterate_sorted):
3003 Pass GType and size arguments to gst_iterator_new() in the right
3004 order (maybe we should make _new() take the GType as first argument
3005 just like _new_list()?) (#318447).
3008 2005-10-10 Wim Taymans <wim@fluendo.com>
3010 * gst/gstelement.c: (gst_element_finalize):
3011 And free the GStaticRecMutex too
3013 2005-10-10 Andy Wingo <wingo@pobox.com>
3015 * gst/gstelement.c (gst_element_init, gst_element_finalize):
3016 Allocate and free the mutex properly.
3018 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
3020 (GstElement): The state_lock is now recursive. Rebuild your
3021 plugins, suckers. Old macros adapted.
3023 * docs/gst/gstreamer-sections.txt: Doc updates.
3026 * gst/gstutils.c (g_static_rec_cond_timed_wait)
3027 (g_static_rec_cond_wait): Ported from state changes patch, while
3028 we wait on bug #317802 to be solved in a well-distributed GLib.
3030 * gst/gstelement.c (gst_element_change_state_func): Renamed from
3031 gst_element_change_state, variable name changes.
3032 (gst_element_change_state): Split out of gst_element_set_state in
3033 preparation for the state change merge. Doesn't pay attention to
3034 the 'transition' argument.
3035 (gst_element_set_state): Updates, hopefully purely cosmetic.
3036 (gst_element_sync_state_with_parent): MT-safety. Ported from the
3038 (gst_element_get_state_func): Renamed from get_state, cosmetic
3041 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
3043 * gst/elements/gstelements.c:
3044 * win32/GStreamer.vcproj:
3046 * win32/dirent.c: (_tseekdir):
3047 * win32/gst-inspect.vcproj:
3048 * win32/gst-launch.vcproj:
3049 * win32/gstconfig.h:
3050 * win32/gstelements.vcproj:
3051 * win32/gstenumtypes.c: (gst_object_flags_get_type):
3052 * win32/gstreamer.def:
3054 updates for the win32 build (patch from Sebastien Moutte)
3056 2005-10-10 Andy Wingo <wingo@pobox.com>
3058 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
3059 gst_bin_get_state, cleaned up (but no logic changes).
3060 (bin_element_is_sink): Comment updates.
3061 (sink_iterator_filter): Remove needless cast.
3062 (gst_bin_iterate_sinks): Doc update.
3063 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
3064 cleaned up (but no logic changes).
3066 * check/states/sinks.c (test_src_sink): Cleanups from the state
3068 (test_livesrc_sink): Sync on the state.
3070 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
3071 the state change patch.
3073 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
3076 * check/gst/gstbin.c: Merge in some style fixes and additional
3077 checks from Wim's state change patch.
3079 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
3081 * gst/base/gsttypefindhelper.c: (helper_find_peek),
3082 (gst_type_find_helper):
3083 Check whether we have the requested data already in our list of
3084 cached buffers before pulling a new buffer; also make the buffer
3085 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
3087 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
3092 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
3093 don't use long long, it's not portable. Replacing with
3094 gint64 seems to work; let's hope no skeletons fall out of the closet.
3096 2005-10-10 Andy Wingo <wingo@pobox.com>
3098 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
3100 2005-10-09 Stefan Kost <ensonic@users.sf.net>
3102 * docs/gst/gstreamer-sections.txt:
3107 * gst/gstmessage.c: (gst_message_parse_state_changed):
3110 more docs, fix compilation
3112 2005-10-09 Philippe Khalaf <burger@speedy.org>
3114 Fixed a few forgotten variables on previous commit
3116 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
3118 * gst/base/gsttypefindhelper.c: (helper_find_peek):
3119 Fix evil typefind crasher: getrange() might return a short
3120 buffer at the end of a file, but gst_type_find_peek() must
3121 either return the full data as requested or NULL, but
3122 never a short buffer.
3124 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
3126 * gst/gstmessage.c: (gst_message_new_state_changed),
3127 (gst_message_parse_state_changed):
3129 don't use "new", it's a C++ keyword
3131 2005-10-08 Wim Taymans <wim@fluendo.com>
3133 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
3134 * gst/gstelement.c: (gst_element_post_message):
3135 * gst/gstpipeline.c: (gst_pipeline_change_state):
3136 Small docs and debug updates.
3138 2005-10-08 Stefan Kost <ensonic@users.sf.net>
3140 * docs/gst/gstreamer-sections.txt:
3141 * gst/gstelementfactory.c:
3146 2005-10-08 Wim Taymans <wim@fluendo.com>
3148 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
3149 (gst_bin_dispose), (bin_bus_handler):
3150 Fix typos, add comments.
3151 Clear EOS list when going to PAUSED from any direction and do it
3152 in a threadsafe way.
3153 Get base time in a threadsafe way too.
3154 Fix confusing debug in the change_state function.
3155 Various other small cleanups.
3157 * gst/gstelement.c: (gst_element_post_message):
3158 Fix very verbose bus posting code.
3160 * gst/gstpipeline.c: (gst_pipeline_class_init),
3161 (gst_pipeline_set_property), (gst_pipeline_get_property),
3162 (gst_pipeline_change_state):
3163 Small ARG_ -> PROP_ cleanup
3165 2005-10-08 Wim Taymans <wim@fluendo.com>
3167 * gst/gstbin.c: (is_eos), (bin_bus_handler):
3168 Do a less CPU demanding EOS check because we can.
3170 2005-10-08 Wim Taymans <wim@fluendo.com>
3172 * libs/gst/dataprotocol/dataprotocol.c:
3173 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
3174 (gst_dp_packet_from_event):
3175 * libs/gst/dataprotocol/dataprotocol.h:
3176 * libs/gst/dataprotocol/dp-private.h:
3177 It's about time we bump the version number.
3178 Since event types don't fit in the guint8 anymore describing
3179 the payload type, make payload type 16 bits wide.
3181 2005-10-08 Wim Taymans <wim@fluendo.com>
3183 * docs/design/part-TODO.txt:
3184 * docs/design/part-clocks.txt:
3185 * docs/design/part-events.txt:
3186 * docs/design/part-gstbin.txt:
3187 * docs/design/part-gstelement.txt:
3188 * docs/design/part-gstpipeline.txt:
3189 * docs/design/part-live-source.txt:
3190 * docs/design/part-messages.txt:
3191 * docs/design/part-overview.txt:
3192 * docs/design/part-states.txt:
3195 2005-10-08 Wim Taymans <wim@fluendo.com>
3199 Fix event quark registration.
3200 Add some space between events so we can insert them in the
3203 2005-10-08 Wim Taymans <wim@fluendo.com>
3205 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3206 (gst_base_sink_handle_buffer):
3213 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
3214 (gst_queue_set_property), (gst_queue_get_property):
3216 Remove old unused properties.
3218 2005-10-08 Stefan Kost <ensonic@users.sf.net>
3219 * docs/gst/gstreamer-sections.txt:
3222 * gst/gstminiobject.c:
3223 * gst/gstminiobject.h:
3227 lots of new docs and doc fixes
3229 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
3231 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
3233 * gst/gstregistry.c: (gst_registry_lookup_locked),
3234 (gst_registry_scan_path_level):
3235 * gst/gstregistryxml.c: (load_plugin):
3236 Only ever load one plugin for a given plugin basename.
3237 This ensures correct overriding of GST_PLUGIN_PATH over
3238 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
3239 system installed plugins.
3241 2005-10-08 Wim Taymans <wim@fluendo.com>
3243 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3244 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
3245 Prepare for doing QOS.
3247 2005-10-08 Wim Taymans <wim@fluendo.com>
3249 * check/gst/gstbin.c: (GST_START_TEST):
3250 * check/pipelines/cleanup.c: (GST_START_TEST):
3251 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
3252 Allow new clock message too.
3254 2005-10-08 Wim Taymans <wim@fluendo.com>
3256 * gst/gstmessage.c: (gst_message_new_error),
3257 (gst_message_new_warning), (gst_message_new_tag),
3258 (gst_message_new_state_changed), (gst_message_new_clock_provide),
3259 (gst_message_new_clock_lost), (gst_message_new_new_clock),
3260 (gst_message_new_segment_start), (gst_message_new_segment_done),
3261 (gst_message_parse_state_changed),
3262 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3263 (gst_message_parse_new_clock):
3265 Also carry the clock in question.
3267 2005-10-08 Wim Taymans <wim@fluendo.com>
3269 * gst/gstmessage.c: (gst_message_new_custom),
3270 (gst_message_new_eos), (gst_message_new_error),
3271 (gst_message_new_warning), (gst_message_new_tag),
3272 (gst_message_new_state_changed), (gst_message_new_clock_provide),
3273 (gst_message_new_new_clock), (gst_message_new_segment_start),
3274 (gst_message_new_segment_done), (gst_message_parse_state_changed),
3275 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
3278 Added clock related messages.
3280 * gst/gstpipeline.c: (gst_pipeline_change_state):
3281 Post message when the clock changed.
3283 * tools/gst-launch.c: (event_loop):
3286 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
3288 * tools/gst-inspect.c: (print_element_properties_info):
3289 Can't pass NULL strings to g_print() on windows.
3291 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
3294 * docs/gst/Makefile.am:
3295 * docs/gst/gstreamer-docs.sgml:
3296 * docs/gst/running.xml:
3297 * docs/version.entities.in:
3298 add a chapter on running GStreamer.
3299 document GST_DEBUG and GST_PLUGIN* env vars
3301 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
3306 remove PLUGINS_BUILDDIR stuff
3307 * gst/gst.c: (init_post):
3308 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
3310 remove, it was condescending and not needed
3312 2005-10-08 Wim Taymans <wim@fluendo.com>
3314 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
3315 (gst_base_sink_handle_object), (gst_base_sink_event),
3316 (gst_base_sink_wait), (gst_base_sink_handle_event),
3317 (gst_base_sink_change_state):
3318 * gst/base/gstbasesink.h:
3319 Repost EOS message while going to PLAYING if still EOS.
3320 Make sure that when receiving a FLUSH_START we don't attempt
3321 to sync on the clock anymore.
3323 2005-10-08 Wim Taymans <wim@fluendo.com>
3325 * tools/gst-launch.c: (event_loop):
3326 Better message printout.
3328 2005-10-08 Wim Taymans <wim@fluendo.com>
3330 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
3331 (gst_bin_child_proxy_get_children_count):
3332 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
3333 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
3334 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
3335 (gst_child_proxy_set_valist):
3336 * gst/parse/grammar.y:
3337 Make ChildProxy threadsafe and fix mem leaks.
3339 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
3341 * gst/gst.c: (init_post):
3342 debug the GST_PLUGIN_ env vars
3344 2005-10-08 Wim Taymans <wim@fluendo.com>
3346 * check/gst/gstbin.c: (GST_START_TEST):
3347 * check/gst/gstmessage.c: (GST_START_TEST):
3348 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3349 * gst/gstelement.c: (gst_element_commit_state),
3350 (gst_element_lost_state):
3351 * gst/gstmessage.c: (gst_message_new_state_changed),
3352 (gst_message_parse_state_changed):
3354 * tools/gst-launch.c: (event_loop):
3355 Added extra field to STATE_CHANGE message with the pending
3356 state, which will be different from the new state soon.
3358 2005-10-08 Wim Taymans <wim@fluendo.com>
3360 * gst/gstbus.c: (gst_bus_pop):
3362 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
3363 Small cleanups and doc updates.
3365 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
3367 * gst/gst.c: (init_pre):
3368 * gst/gstbin.c: (gst_bin_add_func):
3369 log distributing clocks and base time
3370 * gst/gstregistry.c: (gst_registry_add_plugin),
3371 (gst_registry_scan_path_level), (gst_registry_scan_path):
3372 clean up the debugging output a little
3373 * gst/gstutils.c: (gst_element_state_get_name):
3374 warn about a memleak (I've actually seen this be used, though
3375 it was probably a bug)
3377 2005-10-07 Wim Taymans <wim@fluendo.com>
3379 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
3380 (gst_base_src_init), (gst_base_src_default_newsegment),
3381 (gst_base_src_newsegment), (gst_base_src_do_seek),
3382 (gst_base_src_loop), (gst_base_src_start):
3383 * gst/base/gstbasesrc.h:
3384 Make the newsegment event customizable by subclasses.
3386 2005-10-07 Wim Taymans <wim@fluendo.com>
3388 * gst/gstevent.c: (gst_event_new_buffersize),
3389 (gst_event_parse_buffersize):
3391 New event for future idea.
3393 2005-10-07 Andy Wingo <wingo@pobox.com>
3395 * gst/gstelement.c (gst_element_post_message): Doc update.
3397 * docs/gst/gstreamer-sections.txt: Update.
3399 * gst/gstmessage.c (gst_message_new_application): Made into a
3400 function like honest API calls.
3401 (gst_message_new_element): New message type.
3403 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
3405 * check/elements/fakesrc.c (test_no_preroll): New check, checks
3406 that setting a live fakesrc to PAUSED returns NO_PREROLL both
3409 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
3410 NO_PREROLL from gst_element_change_state to fall through.
3412 2005-10-07 Wim Taymans <wim@fluendo.com>
3414 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
3415 (gst_ghost_pad_do_activate_push):
3416 Activating a ghostpad with no internal pad in push mode
3419 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
3422 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
3423 Fixes compilation on Windows.
3425 2005-10-07 Michael Smith <msmith@fluendo.com>
3427 * tools/gst-inspect.c:
3428 Print out feature and plugin count at the end when printing out
3431 2005-10-04 Michael Smith <msmith@fluendo.com>
3433 * gst/gsterror.c: (_gst_stream_errors_init):
3434 Add another error string used in a few existing plugins.
3437 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
3438 * tools/gst-inspect.c: (print_element_info):
3439 When a feature disappears from a plugin (and the feature exists in
3440 the cached registry file), things went horribly wrong. This isn't a
3441 complete fix, we should actually be removing the 'missing' features
3442 from the features list when we load the actual plugin. That's not
3445 2005-10-04 Johan Dahlin <johan@gnome.org>
3447 * check/gst/gstiterator.c: (GST_START_TEST):
3448 * gst/gstbin.c: (gst_bin_iterate_elements),
3449 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
3450 * gst/gstelement.c: (gst_element_iterate_pads):
3451 * gst/gstformat.c: (gst_format_iterate_definitions):
3452 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
3453 (gst_iterator_new_list), (gst_iterator_filter):
3454 * gst/gstiterator.h:
3455 * gst/gstquery.c: (gst_query_type_iterate_definitions):
3456 Add a GType to GstIterator, update callsites and tests.
3458 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
3460 * gst/gstpad.c: (gst_pad_event_default_dispatch):
3461 give events a chance to be handled by event probes when the pad
3464 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
3466 * gst/gstevent.c: (gst_event_type_get_name),
3467 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
3469 add string representations for event types
3471 2005-10-06 Wim Taymans <wim@fluendo.com>
3473 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
3474 Don't use NULL pointers.
3476 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
3478 * gst/gst_private.h:
3482 * gst/gstpluginfeature.c:
3483 widen the debug category in output to fit the biggest one we have
3484 add a bus category and use it
3485 play with the colors
3486 fix up some categories
3488 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
3490 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
3491 add push activation of sink ghost pads.
3492 Andye, please verify
3494 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
3496 * gst/gstutils.c: (gst_element_link_pads):
3497 fix a bug in the case where neither element has a pad
3498 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
3499 add a test for that case
3501 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
3503 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
3504 emit have-data before checking for peers. This allows
3505 for probe handlers to connect elements. This helps autopluggers.
3506 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
3508 add six checks, linked/unlinked with no/true/false probe
3510 2005-10-04 Wim Taymans <wim@fluendo.com>
3512 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
3513 (gst_fake_sink_event), (gst_fake_sink_preroll),
3514 (gst_fake_sink_render), (gst_fake_sink_change_state):
3515 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
3516 (gst_fake_src_get_property), (gst_fake_src_create),
3517 (gst_fake_src_stop):
3518 * gst/elements/gstidentity.c: (gst_identity_stop):
3519 Protect last_message with lock.
3521 2005-10-04 Edward Hervey <edward@fluendo.com>
3524 Added precision in the comments for GST_FORMAT_DEFAULT
3526 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
3528 * tools/gst-launch.c: (main):
3529 Don't try to run erroneous pipelines.
3531 2005-10-04 Julien MOUTTE <julien@moutte.net>
3533 * gst/gstbus.c: We don't need this header.
3535 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
3540 === release 0.9.3 ===
3542 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
3546 Releasing 0.9.3, "Unregistered"
3548 2005-10-03 Andy Wingo <wingo@pobox.com>
3550 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
3551 whereby calling a pad's activatepush() function can start a thread
3552 that starts to push or pull before the pad gets the FLUSHING flag
3553 unset. Hack around it by holding the stream lock until the flag is
3554 set. Need to replace this with a proper solution. Together with
3555 the ghost pad fixes, this fixes mp3 playing/tagreading.
3557 * docs/design/part-gstghostpad.txt: Add a note about activation of
3558 proxy pads outside of ghost pads.
3560 * gst/gstghostpad.c: Implement the ghost pad activation design.
3562 2005-10-02 Andy Wingo <wingo@pobox.com>
3564 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
3565 It is volatile, after all.
3567 * docs/design/part-gstghostpad.txt: Flesh out activation with
3570 * gst/base/gstbasesrc.c (gst_base_src_init): Use
3573 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
3576 Fix (unused) AM_CONDITIONAL tests.
3578 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
3580 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
3582 * gst/gstutils.c: (gst_pad_query_convert):
3583 Add assertion that makes sure src_val is >=0, just like
3584 gst_query_new_convert() has. (#315895)
3586 2005-09-30 Edward Hervey <edward@fluendo.com>
3588 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
3589 Let's not iterate pads we're not interested in, it avoids getting
3590 sky-high refcounts on sinkpad.
3592 2005-09-30 Wim Taymans <wim@fluendo.com>
3594 * gst/gstelement.c: (gst_element_set_state),
3595 (gst_element_change_state):
3596 Small tweak, element in ASYNC remains ASYNC.
3598 2005-09-30 Wim Taymans <wim@fluendo.com>
3600 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
3601 Only error is an error.
3603 * gst/gstbin.c: (gst_bin_change_state):
3606 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
3607 Also call pad_block in pad alloc.
3609 * gst/gstutils.c: (gst_flow_get_name):
3612 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
3614 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
3615 (gst_base_src_get_range):
3616 Fix documentation typos. Add some more debug info.
3618 2005-09-29 David Schleef <ds@schleef.org>
3620 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
3621 more end-user friendly.
3622 * tools/gst-inspect.c: (main): Check if command-line argument is
3623 a file and attempt to load that file as a plugin.
3625 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
3627 * check/gst/gstbin.c:
3628 * check/states/sinks.c:
3629 fix tests for the new warning
3630 * check/gst/gstpipeline.c:
3631 add a test for pipeline and bus interaction
3633 elements should be NULL if they get disposed; add a warning if not
3635 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
3638 for 2.6 refcounting, make debug log more correct by printing
3639 the actual refcounts at the time of swap (Wim)
3641 2005-09-29 Andy Wingo <wingo@pobox.com>
3643 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
3644 removes signal watches previously added via
3645 gst_bus_add_signal_watch.
3646 (gst_bus_add_signal_watch): Don't return the source id, just store
3647 it on the bus if there wasn't an id already.
3649 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
3650 add_signal_watch and remove_signal_watch.
3652 2005-09-29 Edward Hervey <edward@fluendo.com>
3654 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
3655 Better if we actually iterate the list :)
3657 2005-09-29 Wim Taymans <wim@fluendo.com>
3659 * check/gst/gstbin.c: (GST_START_TEST):
3660 Change for new bus API.
3662 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
3663 (send_messages), (GST_START_TEST), (gstbus_suite):
3664 Change for new bus signal API.
3666 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
3667 (gst_bus_source_prepare), (gst_bus_source_check),
3668 (gst_bus_create_watch), (gst_bus_add_watch_full),
3669 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
3670 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
3672 Remove support for multiple GSources operating on different
3673 message types as it is too complex and unneeded when using
3675 Added support for receiving signals from the bus.
3677 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
3679 * docs/libs/tmpl/gstdataprotocol.sgml:
3680 * docs/manual/advanced-dataaccess.xml:
3681 * gst/elements/gstcapsfilter.c:
3683 rename filter-caps to caps property
3685 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
3687 * gst/gstvalue.c: (gst_value_deserialize_fraction):
3688 More robust fraction string parsing.
3690 * docs/pwg/appendix-porting.xml:
3691 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
3693 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
3695 * gst/gstcaps.c: (gst_caps_do_simplify):
3696 Thou shalt not free a structure and then continue using it
3697 in the next loop iteration.
3699 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
3701 Add test case for caps simplification.
3703 2005-09-29 Wim Taymans <wim@fluendo.com>
3705 * check/gst/gstbin.c: (GST_START_TEST):
3708 2005-09-29 Wim Taymans <wim@fluendo.com>
3710 * check/gst/gstbin.c: (GST_START_TEST):
3713 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3714 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
3715 (find_element), (gst_bin_sort_iterator_next),
3716 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
3717 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
3718 (gst_bin_change_state), (gst_bin_dispose):
3719 A bin does not have a bus, it gets the bus from the parent.
3721 * gst/gstelement.c: (gst_element_requires_clock),
3722 (gst_element_provides_clock), (gst_element_is_indexable),
3723 (gst_element_is_locked_state), (gst_element_change_state),
3724 (gst_element_set_bus_func):
3727 * gst/gstpipeline.c: (gst_pipeline_class_init),
3728 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
3729 The pipeline provides a bus.
3731 2005-09-28 Johan Dahlin <johan@gnome.org>
3733 * gst/gstmessage.c (gst_message_parse_state_changed): Use
3734 gst_structure_get_enum instead of gst_structure_get_int
3736 * gst/gststructure.c (gst_structure_get_enum): Impl.
3738 * gst/gststructure.h (gst_structure_get_enum): Add
3740 * docs/gst/gstreamer-sections.txt: Ditto
3742 * gst/gstmessage.c (gst_message_new_state_changed): Use
3743 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
3744 which does introspection.
3745 Reviewed by Christian Schaller
3747 2005-09-28 Stefan Kost <ensonic@users.sf.net>
3749 * gst/gstinfo.c: (gst_debug_log_default):
3750 don't do dummy g_strdup()s
3751 * libs/gst/controller/gstcontroller.c:
3752 (on_object_controlled_property_changed),
3753 (gst_controlled_property_new), (gst_controller_new_valist),
3754 (gst_controller_new_list),
3755 (gst_controller_remove_properties_valist), (gst_controller_set),
3756 (gst_controller_get), (gst_controller_sync_values),
3757 (gst_controller_get_value_array), (_gst_controller_class_init),
3758 (gst_controller_get_type):
3759 * libs/gst/controller/gstcontroller.h:
3760 * libs/gst/controller/gstinterpolation.c:
3761 (gst_controlled_property_find_timed_value_node):
3762 convert // to /**/ comments
3764 2005-09-28 Wim Taymans <wim@fluendo.com>
3766 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
3767 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
3768 (gst_bus_sync_signal_handler):
3770 Added async-message and sync-message signals to the bus.
3771 Added helper BusFunc to emit signals for all posted messages.
3773 * gst/gstmessage.c: (gst_message_type_get_name),
3774 (gst_message_type_to_quark), (gst_message_get_type):
3776 Register quarks for message names.
3778 2005-09-28 Stefan Kost <ensonic@users.sf.net>
3780 * docs/libs/gstreamer-libs-sections.txt:
3781 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
3782 (gst_controller_new_list):
3783 * libs/gst/controller/gstcontroller.h:
3784 added another constructor for language bindings
3786 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
3788 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
3792 * gst/gstinfo.c: (_gst_debug_init):
3793 slightly more readable color for refcount debugging
3795 2005-09-28 Wim Taymans <wim@fluendo.com>
3797 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
3798 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
3799 (find_element), (gst_bin_sort_iterator_next),
3800 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
3801 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
3802 (gst_bin_change_state), (gst_bin_dispose):
3803 Small doc fixes. get_clock -> provide_clock.
3805 * gst/gstelement.c: (gst_element_class_init),
3806 (gst_element_provides_clock), (gst_element_provide_clock),
3807 (gst_element_get_clock), (gst_element_commit_state),
3808 (gst_element_lost_state):
3810 Make get/set_clock() symetric. Add provide_clock vmethod since
3811 that is actually what this function does.
3813 * gst/gstpipeline.c: (gst_pipeline_class_init),
3814 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
3815 (gst_pipeline_get_clock):
3816 get_clock -> provide_clock.
3818 2005-09-28 Andy Wingo <wingo@pobox.com>
3820 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
3821 lieu of real docs...
3823 * gst/elements/gstfdsrc.c: Cleaned up a bit.
3825 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
3827 * gst/elements/gstcapsfilter.c:
3828 * gst/elements/gstfakesink.c:
3829 * gst/elements/gstfakesrc.c:
3830 * gst/elements/gstfdsink.c:
3831 * gst/elements/gstfdsrc.c:
3832 * gst/elements/gstfilesink.c:
3833 * gst/elements/gstfilesrc.c:
3834 * gst/elements/gstidentity.c:
3835 * gst/elements/gsttee.c:
3836 * gst/elements/gsttypefindelement.c:
3837 Make element details static.
3839 2005-09-28 Wim Taymans <wim@fluendo.com>
3841 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
3842 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
3843 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
3844 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
3845 (gst_bin_change_state), (gst_bin_dispose):
3846 Some documentation updates.
3847 Clean up dispose handlers.
3849 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
3850 * gst/gstpad.c: (gst_pad_dispose):
3851 Clean up dispose handler.
3853 * gst/gstpipeline.c: (gst_pipeline_change_state):
3854 Removed spurious UNLOCK.
3856 2005-09-27 Stefan Kost <ensonic@users.sf.net>
3858 * docs/gst/gstreamer-sections.txt:
3859 * gst/base/gstbasesrc.h:
3864 * gst/gstpipeline.c:
3865 * gst/gstpipeline.h:
3868 added two new functions to the docs
3869 documents all undocumented GstXXXFlags
3870 completed some incomplete docs
3872 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
3874 * gst/gstbin.c: (gst_bin_dispose):
3875 * gst/gstelement.c: (gst_element_dispose):
3876 remove now useless and leaky resurrection code in dispose
3877 * gst/base/gstbasesrc.c: (gst_base_src_init):
3878 * gst/gstelementfactory.c: (gst_element_factory_create):
3879 * gst/gstobject.c: (gst_object_set_parent):
3882 2005-09-27 Wim Taymans <wim@fluendo.com>
3884 * docs/design/part-TODO.txt:
3887 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
3888 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
3889 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
3890 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
3891 (gst_bin_change_state):
3893 Remove element variable, we keep element info in the iterator now.
3895 2005-09-27 Andy Wingo <wingo@pobox.com>
3897 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
3900 2005-09-27 Wim Taymans <wim@fluendo.com>
3902 * check/gst/gstbin.c: (GST_START_TEST):
3903 Enable check that works now.
3905 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
3906 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
3907 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
3908 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
3909 (gst_bin_change_state):
3911 Redid the state change algorithm using a topological sort algo.
3912 Handles all cases correctly.
3913 Exposed iterator for state change order.
3916 Temp storage for state changes. Need to get rid of this soon.
3918 2005-09-27 Wim Taymans <wim@fluendo.com>
3920 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
3921 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
3922 (link_fold_func), (gst_pad_proxy_setcaps):
3923 Leak fixes, the fold functions need to unref the passed object and
3924 _get_parent_*() returns ref to parent.
3926 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
3928 * check/gst/gstbuffer.c: (test_make_writable):
3929 Plug leak in test case and fix 'make check-valgrind'
3931 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
3933 * gst/gstbuffer.c: (gst_subbuffer_init):
3934 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
3935 works correctly in all circumstances (we could have just copied
3936 the parent buffer's readonly flag, but conceptually it seems
3937 cleaner to mark all subbuffers as read-only). (based on patch
3938 by Alessandro Decina, #314710).
3940 * check/gst/gstbuffer.c: (create_read_only_buffer),
3941 (test_make_writable), (test_subbuffer_make_writable),
3943 Add some tests for gst_buffer_make_writable().
3945 2005-09-27 Wim Taymans <wim@fluendo.com>
3947 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
3948 use gst_object_has_ancestor().
3950 * gst/gstobject.c: (gst_object_has_ancestor):
3952 gst_object_has_ancestor() copied from gstbin.c as it is a
3955 * tests/instantiate/create.c: (create_all_elements):
3956 * tests/lat.c: (handoff_src), (handoff_sink):
3957 * tests/sched/runxml.c: (main):
3958 * tests/seeking/seeking1.c: (main):
3959 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
3961 Fix compilation of some tests.
3963 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
3966 Remove comment. GST_TYPE_G_ERROR is here to stay,
3967 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
3970 2005-09-26 Wim Taymans <wim@fluendo.com>
3972 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
3973 Added check that shows error in state change order.
3975 2005-09-26 Wim Taymans <wim@fluendo.com>
3977 * gst/gstbin.c: (gst_bin_change_state):
3978 Make state change function use 3 queues again, we were
3979 adding elements in the wrong order.
3981 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
3984 * gst/gstpad.c: (gst_pad_dispose):
3985 Added some debug info first.
3987 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
3989 * docs/design/draft-push-pull.txt:
3990 * docs/design/part-events.txt:
3991 * docs/design/part-overview.txt:
3992 * docs/design/part-scheduling.txt:
3993 Replace all _pull_region() with _pull_range()
3995 2005-09-26 Andy Wingo <wingo@pobox.com>
3997 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
3999 * check/gst-libs/controller.c: Update for controller api change.
4002 * tests/Makefile.am:
4003 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
4004 over by GLib bug 118439.
4006 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
4007 routines to a function.
4009 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
4011 * libs/gst/controller/gsthelper.c:
4012 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
4013 (gst_object_sync_values): Renamed from sink_values. Ugh.
4015 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
4017 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
4018 Renamed from controller_key, as it is exported.
4020 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
4022 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
4027 * gst/gstpadtemplate.h:
4030 * gst/gstqueryutils.c:
4031 * gst/gstqueryutils.h:
4032 remove queryutils headers after moving the two used functions
4033 to gstquery. also fixes build problem for gstsiddec
4035 2005-09-26 Michael Smith <msmith@fluendo.com>
4037 * tools/gst-launch.1.in:
4038 Correct documentation in manpage of debug syntax
4040 2005-09-26 Wim Taymans <wim@fluendo.com>
4042 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
4043 (gst_base_src_is_seekable), (gst_base_src_change_state):
4044 Some more debugging info.
4046 2005-09-25 Stefan Kost <ensonic@users.sf.net>
4048 * docs/gst/gstreamer-sections.txt:
4049 * gst/base/gstbasetransform.h:
4053 2005-09-25 Stefan Kost <ensonic@users.sf.net>
4055 * docs/gst/.cvsignore:
4056 * docs/gst/tmpl/.cvsignore:
4057 * docs/gst/tmpl/gstpipeline.sgml:
4058 * docs/gst/tmpl/gstplugin.sgml:
4059 * gst/gstpipeline.c:
4062 inlined the last two docs files
4063 removed the tmpl directory from cvs (no more conflicts here!)
4065 2005-09-25 Stefan Kost <ensonic@users.sf.net>
4067 * docs/gst/gstreamer-sections.txt:
4068 * docs/gst/tmpl/.cvsignore:
4069 * docs/gst/tmpl/gstpad.sgml:
4070 * docs/gst/tmpl/gstpadtemplate.sgml:
4072 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
4073 (gst_pad_finalize), (gst_pad_set_pad_template):
4075 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
4076 (gst_pad_template_class_init), (gst_pad_template_init),
4077 (gst_pad_template_dispose), (name_is_valid),
4078 (gst_static_pad_template_get), (gst_pad_template_new),
4079 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
4080 (gst_pad_template_pad_created):
4081 * gst/gstpadtemplate.h:
4082 inlined two more docs
4083 factored gstpadtemplate out of gstpad
4085 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
4087 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
4088 (test_children_state_change_order_semi_sink):
4089 Fix test case: we can't rely on a fixed state change order when
4090 going from READY => PAUSED because the sink might commit its
4091 new state first when the first buffer created by the source
4092 reaches the sink before the source has finished its change state.
4093 (Test case still fails at times, see #316856, comment 5 onwards)
4095 2005-09-24 Wim Taymans <wim@fluendo.com>
4097 * docs/design/part-events.txt:
4098 * docs/design/part-gstbus.txt:
4099 * docs/design/part-gstpipeline.txt:
4100 * docs/design/part-messages.txt:
4101 * docs/design/part-overview.txt:
4102 * docs/design/part-segments.txt:
4109 * gst/gstiterator.c:
4110 Various documentation updates.
4112 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
4115 Well, that's embarassing. Luckily we weren't using
4116 GST_CLOCK_DIFF anywhere.
4118 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
4120 * common/gtk-doc.mak:
4121 don't fail on building XML, FC4 slave shows a bunch of doc
4122 missing bits that I don't get
4124 * gst/gstpipeline.c:
4125 * gst/gststructure.c:
4128 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
4130 * docs/design/part-gstbin.txt:
4131 * docs/design/part-gstbus.txt:
4133 Add blurb about how the bus goes into flushing mode and
4134 drops all messages when its bin goes from READY into NULL
4137 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
4139 * docs/gst/gstreamer-sections.txt:
4140 * gst/gststructure.c: (gst_structure_get_clock_time):
4141 * gst/gststructure.h:
4142 add a method to get a GstClockTime out of a structure
4144 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
4146 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
4147 (test_children_state_change_order_semi_sink), (gst_bin_suite):
4148 Added test to check state change order in bins (can still be made
4149 to fail here under heavy disk load; bails out with 'Push on pad
4150 fakesink:sink0, but it was not activated in push mode').
4152 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
4153 Fix state change order when there is only a semi sink (#316856)
4155 * gst/gstbus.c: (gst_bus_class_init):
4156 Use _class_peek_parent(), not _class_ref(); fix docs to say
4157 'default main context' instead of 'mainloop' where that is
4160 * gst/gstelement.c: (gst_element_commit_state),
4161 (gst_element_set_state):
4162 Fix typos in debug messages
4164 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
4167 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
4168 * gst/gstpluginfeature.c:
4171 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4172 change an assert into an error until it gets fixed properly
4174 2005-09-23 Stefan Kost <ensonic@users.sf.net>
4176 * docs/gst/gstreamer-sections.txt:
4177 * docs/gst/tmpl/.cvsignore:
4178 * docs/gst/tmpl/gstelement.sgml:
4179 * docs/gst/tmpl/gstinfo.sgml:
4180 * docs/gst/tmpl/gstobject.sgml:
4185 * gst/gstobject.c: (gst_object_class_init):
4187 inlined 3 more biiiig doc files and added some missing docs on the fly
4189 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
4191 * check/gst/.cvsignore:
4192 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
4193 * gst/gstregistryxml.c: (load_plugin),
4194 (gst_registry_xml_save_plugin):
4195 put back source in registry. add checks for find_plugin.
4196 * testsuite/states/bin.c: (assert_state), (empty_bin),
4197 (test_adding_one_element), (main):
4198 * testsuite/states/locked.c: (main):
4199 some compile/run fixes
4201 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
4203 * check/gst/gstvalue.c: (GST_START_TEST):
4204 fix leaks in the test itself
4206 2005-09-22 Wim Taymans <wim@fluendo.com>
4208 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
4209 (gst_base_sink_send_event), (gst_base_sink_peer_query),
4210 (gst_base_sink_query):
4211 Prepare for more accurate position reporting and query
4214 * gst/gstelement.c: (gst_element_send_event),
4215 (gst_element_set_state):
4218 2005-09-22 Wim Taymans <wim@fluendo.com>
4220 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
4221 (gst_query_parse_segment):
4224 Add segment query for future use.
4226 2005-09-22 Wim Taymans <wim@fluendo.com>
4228 * gst/gstbin.c: (gst_bin_add_func):
4229 Some more debug info.
4231 * gst/gstelement.c: (gst_element_send_event):
4235 Don't know how flags got broken.
4240 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
4242 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
4243 Add simplistic test suite for GST_TYPE_DATE serialisation and
4246 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
4248 * docs/gst/gstreamer-sections.txt:
4249 * gst/gststructure.c: (gst_structure_set_valist),
4250 (gst_structure_get_date):
4251 * gst/gststructure.h:
4252 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
4253 (gst_date_copy), (gst_value_compare_date),
4254 (gst_value_serialize_date), (gst_value_deserialize_date),
4255 (gst_value_transform_date_string),
4256 (gst_value_transform_string_date), (_gst_value_initialize):
4258 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
4259 bunch of utility functions along with a hack that checks that
4260 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
4261 is required. Part of the grand scheme in #170777.
4263 2005-09-22 Andy Wingo <wingo@pobox.com>
4265 * gst/gstconfig.h.in: Psych out gtk-doc.
4267 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
4269 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
4271 * tools/gst-inspect.c (print_element_list): Plug some
4272 inconsequential leaks.
4274 * gst/gstregistry.c (gst_registry_get_default): Doc.
4276 * check/gst/gstplugin.c:
4277 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
4278 * gst/gstelementfactory.c (gst_element_factory_create):
4279 * gst/gstindexfactory.c (gst_index_factory_create): Update for
4282 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
4283 (gst_plugin_feature_load): Doc, don't eat refs.
4285 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
4286 (gst_plugin_list_free): Doc.
4287 (gst_plugin_load_file): Doc updates.
4289 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
4290 accessors returning refcounted objects, return a ref.
4292 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
4293 accessor for caps. IDEMPOTENCE. Oh yes.
4295 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
4297 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4299 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
4300 (_gst_debug_register_funcptr):
4301 Add mutex to serialise access to the hash table with
4302 the function pointer => function name string mapping;
4303 make that hash table static scope (#316809).
4305 * gst/registries/.cvsignore:
4306 Remove left-over file.
4308 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
4310 * docs/pwg/appendix-porting.xml:
4311 And something about newsegment events and caps-on-buffers to
4312 the porting guide (feel free to improve).
4314 2005-09-21 Andy Wingo <wingo@pobox.com>
4316 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
4317 data and event probes on the same pad.
4318 (test_buffer_probe_once): Test that removing probes from within
4319 the probe functions works.
4321 2005-09-21 Andy Wingo <wingo@pobox.com>
4323 * check/gst/gstutils.c: New file.
4324 (test_buffer_probe_n_times): A simple buffer probe test. More to
4327 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
4328 have-data::buffer, not have-data.
4329 (gst_pad_add_event_probe): Likewise for have-data::event.
4330 (gst_pad_add_data_probe): More docs. The part about 'resolving the
4331 peer' isn't quite right yet though.
4332 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
4333 (gst_pad_remove_data_probe): Change to take the guint handler_id
4334 as their arg, not the function+data, which is more glib-like.
4336 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
4337 the signal emission to indicate if the data is a buffer or an
4339 (gst_pad_get_type): Initialize buffer and event quarks.
4340 (gst_pad_class_init): have-data is now a detailed signal, yes it
4343 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
4345 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
4346 * gst/gstutils.c: (gst_util_set_value_from_string),
4347 (gst_util_set_object_arg):
4348 Don't put functional code in g_return_if_fail() or
4349 g_return_val_if_fail() statements, otherwise things will
4350 break when G_DISABLE_CHECKS is defined during compilation.
4352 2005-09-21 Stefan Kost <ensonic@users.sf.net>
4354 * docs/gst/tmpl/.cvsignore:
4355 * docs/gst/tmpl/gstvalue.sgml:
4358 inlied another one and added some obvious docs
4360 2005-09-21 Wim Taymans <wim@fluendo.com>
4362 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
4363 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
4364 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
4365 (gst_fdsrc_get_property), (gst_fdsrc_create):
4366 * gst/elements/gstfdsrc.h:
4367 Properly implement fdsrc. Removed signal and timeout,
4368 better implemented somewhere else.
4370 2005-09-21 Stefan Kost <ensonic@users.sf.net>
4372 * docs/gst/tmpl/.cvsignore:
4373 * docs/gst/tmpl/gstimplementsinterface.sgml:
4374 * gst/gstinterface.c:
4377 2005-09-21 Stefan Kost <ensonic@users.sf.net>
4379 * docs/gst/gstreamer-sections.txt:
4380 * docs/gst/tmpl/.cvsignore:
4381 * docs/gst/tmpl/gstenumtypes.sgml:
4382 remove obsolete doc file
4384 2005-09-21 David Schleef <ds@schleef.org>
4386 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
4387 little beer, fix a little leak.
4389 2005-09-21 Stefan Kost <ensonic@users.sf.net>
4391 * docs/gst/gstreamer-docs.sgml:
4392 * docs/gst/gstreamer-sections.txt:
4393 * docs/gst/tmpl/.cvsignore:
4398 * gst/gstindex.c: (gst_index_class_init):
4400 * gst/gstindexfactory.c: (gst_index_factory_get_type),
4401 (gst_index_factory_class_init), (gst_index_factory_init),
4402 (gst_index_factory_finalize), (gst_index_factory_new),
4403 (gst_index_factory_destroy), (gst_index_factory_find),
4404 (gst_index_factory_create), (gst_index_factory_make):
4405 * gst/gstindexfactory.h:
4406 * gst/gstpluginfeature.c:
4407 * gst/gstpluginfeature.h:
4408 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
4409 more docs inlined, splitted gstindex.{c,h}
4411 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
4413 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
4416 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
4418 * gst/elements/gstfilesink.c: (gst_file_sink_init):
4419 Set sync to FALSE by default.
4421 2005-09-20 Wim Taymans <wim@fluendo.com>
4423 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
4424 (gst_base_sink_init):
4425 Make sync property settable from subclass.
4427 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
4428 (gst_fake_sink_change_state):
4429 Set sync to FALSE by default.
4431 2005-09-20 Wim Taymans <wim@fluendo.com>
4433 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
4434 * tools/gst-launch.c: (main):
4435 The timeout handler should have lower priority than the source
4436 so we don't timeout before popping a message with 0 timeout.
4437 Dump error messages after failed state change.
4439 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
4441 * tools/gst-inspect.c: (print_element_properties_info):
4444 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
4446 * check/gst/gstevent.c:
4447 * gst/elements/gstfakesink.c:
4448 * gst/elements/gstfakesink.h:
4449 remove the sync property from fakesink.
4450 has the side effect of setting sync TRUE
4451 for fakesink, which is a change. Anyone who knows how
4452 to fix this nicely in a GObject-y way, feel free.
4454 2005-09-20 Stefan Kost <ensonic@users.sf.net>
4456 * docs/gst/gstreamer-docs.sgml:
4457 remove probe refsection
4459 2005-09-20 Stefan Kost <ensonic@users.sf.net>
4461 * check/Makefile.am:
4462 disable valgrinding the controller test again
4463 * docs/gst/gstreamer-sections.txt:
4464 update for api-changes
4466 2005-09-20 Wim Taymans <wim@fluendo.com>
4468 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
4469 (gst_base_sink_set_property), (gst_base_sink_get_property),
4470 (gst_base_sink_do_sync):
4471 * gst/base/gstbasesink.h:
4472 Added sync property to basesink to disable clock sync.
4474 2005-09-20 Andy Wingo <wingo@pobox.com>
4476 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
4477 eating the caller's refcount.
4479 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
4480 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
4483 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
4484 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
4485 of GLib 2.8 public, so we can know which refcount to check in
4488 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
4489 (gst_object_init): Only set the gst refcount if we're going ahead
4490 with the refcount hack.
4492 2005-09-20 Stefan Kost <ensonic@users.sf.net>
4494 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
4495 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
4496 more leaks plumbed, added more debug-logging
4500 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
4503 remove include of gstmemchunk.h
4505 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
4507 * gst/gstclock.c: (_gst_clock_id_free):
4508 Commit from the Political Party For More Atomic CVS Commits,
4509 so that people don't waste too much of their day fishing
4510 out obvious leaks out of massive commits.
4511 Oh, and fix a pretty damn obvious leak in the memchunk
4514 2005-09-20 Stefan Kost <ensonic@users.sf.net>
4516 * check/Makefile.am:
4517 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
4518 plug mem-leak, re-add to valgrindable tests
4520 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
4523 unbreak the build for those who have chronic arthritis
4524 and typing "make check" is just too taxing on the hands
4526 2005-09-20 Andy Wingo <wingo@pobox.com>
4528 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
4529 really want it out, you should fix plugins at the same time.
4531 2005-09-19 Stefan Kost <ensonic@users.sf.net>
4534 * docs/gst/gstreamer-sections.txt:
4536 added missing symbols to api docs
4537 disable ref-count hack if we have glib >= 2.8
4539 2005-09-19 David Schleef <ds@schleef.org>
4541 * docs/gst/Makefile.am: Ignore a few more internal headers
4542 * docs/gst/gstreamer-docs.sgml: Remove old sections
4543 * docs/gst/gstreamer-sections.txt: Remove old sections
4544 * docs/gst/tmpl/gstobject.sgml: update
4545 * docs/gst/tmpl/gstplugin.sgml: update
4546 * docs/gst/tmpl/gstpluginfeature.sgml: update
4547 * docs/random/ds/0.9-suggested-changes: update.
4548 * gst/Makefile.am: remove memchunk and trashstack, since they're
4550 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
4551 * gst/gst.h: don't include some headers
4552 * gst/gstchildproxy.c: add gstmarshal.h
4553 * gst/gstclock.c: Don't use memchunks
4554 * gst/gstminiobject.c: Add some docs
4555 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
4556 * gst/gstobject.h: same
4557 * gst/gstplugin.c: include gstmacros.h
4558 * gst/gstplugin.h: don't include gstmacros.h, since it's private
4559 * gst/gstquery.c: don't use memchunks
4560 * gst/gstregistry.c: rename gst_registry_deinit()
4561 * gst/gstregistry.h: same
4563 2005-09-19 David Schleef <ds@schleef.org>
4565 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
4566 * docs/libs/gstreamer-libs-sections.txt:
4567 * docs/libs/tmpl/gstgetbits.sgml:
4568 * docs/libs/tmpl/gstputbits.sgml:
4570 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
4572 * win32/gstenumtypes.c:
4573 * win32/gstenumtypes.h:
4576 2005-09-19 Wim Taymans <wim@fluendo.com>
4578 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
4579 Automatically PAUSE and RESUME a pipeline when a flushing seek
4582 2005-09-19 Andy Wingo <wingo@pobox.com>
4584 * gst/gstregistry.h: Spacing fixen.
4586 2005-09-19 Wim Taymans <wim@fluendo.com>
4588 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
4589 Handle state change failure more correctly.
4591 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
4593 * check/Makefile.am:
4594 * check/pipelines/cleanup.c: (run_pipeline):
4595 * check/pipelines/simple_launch_lines.c: (run_pipeline),
4597 enable cleanup again after fixing the leak
4599 some more info on docs
4601 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
4603 * check/Makefile.am:
4604 re-enable tests now that leaks are plugged
4606 * check/gst/gstbin.c:
4607 * check/gst/gstpipeline.c:
4608 add some more tests while fixing leaks
4610 make sure binaries are uptodate when valgrinding/gdbing
4612 * gst/gstelementfactory.c:
4613 remove a ref too many, and add a FIXME for when we get
4614 round to disposing of classes
4616 fix the refcounting when loading a plugin from a file and
4617 the code pretends that the pointer is the same even though
4618 of course it can change
4619 * gst/gstpluginfeature.c:
4620 unref plugins marked cached (a bit confusing as a name)
4621 as the docs state should be done
4622 various doc additions to explain refcounting
4623 * gst/gstregistry.c:
4624 * gst/gstregistryxml.c:
4627 2005-09-19 Wim Taymans <wim@fluendo.com>
4629 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
4630 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
4631 (send_messages), (GST_START_TEST), (gstbus_suite):
4632 * check/gst/gstpipeline.c: (GST_START_TEST):
4633 * check/pipelines/cleanup.c: (run_pipeline):
4634 * check/pipelines/simple_launch_lines.c: (run_pipeline),
4636 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
4637 (gst_bus_source_check), (gst_bus_source_dispatch),
4638 (gst_bus_create_watch), (gst_bus_add_watch_full),
4639 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
4641 * tools/gst-launch.c: (event_loop):
4642 * tools/gst-md5sum.c: (event_loop):
4643 GstBusHandler -> GstBusFunc, return value has the same meaning as
4644 any other GSource (FALSE == remove source).
4645 _add_watch() and _add_watch_full() now take a MessageType mask to
4646 only handle specific types of messages.
4647 _poll() returns the GstMessage instead of the message type to avoid
4649 _have_pending() takes a MessageType mask now too.
4650 Added testsuite for multiple bus watches.
4651 Fix testsuites and applications for new bus API.
4653 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
4655 * check/Makefile.am:
4656 mark a bunch of the tests as to fix until we fix them
4658 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
4661 use GST_PLUGIN settings for valgrind tests as well, so we're
4662 valgrinding the correct thing
4663 * gst/gst.c: (init_post):
4666 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
4668 * gst/gst.c: (init_post), (gst_deinit):
4669 * gst/gstelementfactory.c: (gst_element_factory_class_init),
4670 (gst_element_factory_finalize), (gst_element_factory_cleanup):
4671 * gst/gstindex.c: (gst_index_factory_class_init),
4672 (gst_index_factory_finalize):
4673 * gst/gstobject.c: (gst_object_dispose):
4674 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
4675 (gst_plugin_load_file), (gst_plugin_desc_free):
4676 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
4677 (gst_plugin_feature_finalize):
4678 * gst/gstregistry.c: (gst_registry_class_init),
4679 (gst_registry_init), (gst_registry_finalize),
4680 (gst_registry_get_default), (gst_registry_deinit):
4681 * gst/gstregistry.h:
4682 * gst/gstregistryxml.c: (load_feature), (load_plugin):
4683 various cleanups and memleak plugging. make valgrind is happy now.
4685 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
4688 add a check-valgrind target
4690 2005-09-18 David Schleef <ds@schleef.org>
4692 * tools/gst-inspect.c: Revert the GOption code.
4694 2005-09-17 David Schleef <ds@schleef.org>
4696 * check/Makefile.am: Fix environment variables.
4697 * check/gst/gstplugin.c: Fix for API changes.
4698 * tools/gst-inspect.c: Fix for API changes.
4699 * tools/gst-xmlinspect.c: Fix for API changes.
4700 * gst/gstelementfactory.c:
4703 * gst/gstpluginfeature.c:
4704 * gst/gstpluginfeature.h:
4705 * gst/gstregistry.c:
4706 * gst/gstregistry.h:
4707 * gst/gstregistryxml.c:
4708 * gst/gsttypefind.c:
4709 * gst/gsttypefindfactory.c:
4710 * gst/indexers/gstfileindex.c:
4711 * gst/indexers/gstmemindex.c:
4712 * gst/schedulers/Makefile.am:
4713 Change registry to keep track of both plugins and features,
4714 removing the feature tracking from plugins themselves.
4716 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
4718 * check/Makefile.am:
4719 * tools/gst-register.1.in:
4722 2005-09-15 David Schleef <ds@schleef.org>
4724 * check/gst/gstplugin.c:
4725 * gst/gstelementfactory.c:
4727 * gst/gstpluginfeature.c:
4728 * gst/gstregistry.c:
4729 Getting tired of debugging. Disabled all the unreffing of
4730 plugins and features, which fixes the segfaults, but of
4731 course leaks like crazy. At least playbin works.
4733 2005-09-15 David Schleef <ds@schleef.org>
4735 * check/gst/gstplugin.c: (register_check_elements),
4736 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
4738 * gst/elements/gsttypefindelement.c: Fix refcounting.
4739 * gst/gsttypefind.c:
4740 * gst/gsttypefindfactory.c:
4741 * gst/gsttypefindfactory.h:
4743 2005-09-15 David Schleef <ds@schleef.org>
4745 * gst/gstindex.c: get refcounting correct.
4746 * gst/gstregistry.c: Handle the case where a feature/plugin is
4749 2005-09-15 David Schleef <ds@schleef.org>
4751 * check/Makefile.am:
4752 * check/gst/gstplugin.c: Add test
4753 * gst/gstplugin.c: Fix problems noticed by testsuite
4755 * gst/gstregistry.c:
4756 * gst/gstregistry.h:
4758 2005-09-15 David Schleef <ds@schleef.org>
4760 * gst/gstplugin.c: Implement semi-decent recounting and locking
4761 in plugins and plugin features.
4763 * gst/gstpluginfeature.c:
4764 * gst/gstpluginfeature.h:
4765 * gst/gstregistry.c:
4767 2005-09-15 Michael Smith <msmith@fluendo.com>
4769 * gst/gstregistry.c: (gst_registry_get_feature_list):
4770 Implement this. Makes oggdemux work; decodebin still broken.
4772 2005-09-14 David Schleef <ds@schleef.org>
4774 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
4776 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
4777 * gst/check/Makefile.am:
4778 * libs/gst/controller/Makefile.am:
4779 * libs/gst/dataprotocol/Makefile.am:
4781 2005-09-14 David Schleef <ds@schleef.org>
4783 * configure.ac: Remove getbits library. Nothing uses it, and
4784 it should be in something like liboil if someone did want
4786 * libs/gst/Makefile.am:
4787 * libs/gst/getbits/Makefile.am:
4788 * libs/gst/getbits/gbtest.c:
4789 * libs/gst/getbits/getbits.c:
4790 * libs/gst/getbits/getbits.h:
4791 * libs/gst/getbits/gstgetbits_generic.c:
4792 * libs/gst/getbits/gstgetbits_i386.s:
4793 * libs/gst/getbits/gstgetbits_inl.h:
4795 2005-09-14 David Schleef <ds@schleef.org>
4797 * gst/Makefile.am: Dist glib-compat.h
4799 2005-09-14 David Schleef <ds@schleef.org>
4801 * configure.ac: Remove gst/registries, since it's no longer used.
4802 * gst/registries/Makefile.am:
4803 * gst/registries/gstlibxmlregistry.c:
4804 * gst/registries/gstlibxmlregistry.h:
4805 * gst/registries/gstxmlregistry.c:
4806 * gst/registries/gstxmlregistry.h:
4807 * gst/registries/registrytest.c:
4809 2005-09-14 David Schleef <ds@schleef.org>
4811 * gst/glib-compat.h:
4812 * gst/gstregistryxml.c:
4813 Convergence is near. Seriously.
4815 2005-09-14 David Schleef <ds@schleef.org>
4817 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
4818 * gst/glib-compat.h:
4819 Attempt #4 to appease the buildbots.
4821 2005-09-14 David Schleef <ds@schleef.org>
4823 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
4826 2005-09-14 David Schleef <ds@schleef.org>
4828 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
4831 2005-09-14 David Schleef <ds@schleef.org>
4833 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
4836 2005-09-14 David Schleef <ds@schleef.org>
4838 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
4839 * gst/glib-compat.h: Add some functions that are in newer versions
4840 of glib than we care to require.
4841 * gst/gstregistryxml.c: Use them.
4843 2005-09-14 David Schleef <ds@schleef.org>
4845 * po/POTFILES.in: remove gst-register.c
4847 2005-09-14 David Schleef <ds@schleef.org>
4849 * docs/gst/gstreamer-docs.sgml:
4850 * docs/gst/gstreamer-sections.txt:
4851 * docs/gst/gstreamer.types:
4852 * docs/gst/tmpl/gstelement.sgml:
4853 * docs/gst/tmpl/gstplugin.sgml:
4854 * docs/gst/tmpl/gstpluginfeature.sgml:
4855 Documentation updates for registry changes.
4857 2005-09-14 David Schleef <ds@schleef.org>
4859 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
4860 because we don't require glib-2.8.
4862 2005-09-14 David Schleef <ds@schleef.org>
4864 * gst/gstregistryxml.c: Added. Essentially moved out of the
4865 registries directory.
4867 2005-09-14 David Schleef <ds@schleef.org>
4869 * check/Makefile.am:
4870 * check/generic/states.c:
4874 * gst/gst_private.h:
4875 * gst/gstelementfactory.c:
4880 * gst/gstpluginfeature.c:
4881 * gst/gstpluginfeature.h:
4882 * gst/gstregistry.c:
4883 * gst/gstregistry.h:
4884 * gst/gstregistrypool.c: remove
4885 * gst/gstregistrypool.h: remove
4886 * gst/gsttypefind.c:
4887 * gst/gsttypefindfactory.c:
4889 * tools/Makefile.am:
4890 * tools/gst-compprep.c:
4891 * tools/gst-inspect.c:
4892 * tools/gst-register.c: remove
4893 * tools/gst-xmlinspect.c:
4894 Registry rewrite. Changes registry from being a file created
4895 by a tool into a simple cache file created automatically by
4896 libgstreamer. Removed gst-register (because it's no longer
4897 needed). Remove registry pools, because we only have one
4898 registry implementation (XML). Fix up other subsystems as
4901 2005-09-13 Michael Smith <msmith@fluendo.com>
4903 * gst/gstconfig.h.in:
4904 Don't Use windows linking attributes for MinGW. Fixes #316157
4906 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
4908 * gst/gstutils.c: (set_state_async_thread_func),
4909 (gst_element_set_state_async):
4910 Apparently people think it's better if this function doesn't
4911 try to set the state to whatever state was asked for on the first
4912 call to this function for any object. Seriously.
4914 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
4916 * check/gst/gstpipeline.c: (GST_START_TEST):
4917 * docs/gst/gstreamer-sections.txt:
4918 * gst/gstutils.c: (set_state_async_thread_func),
4919 (gst_element_set_state_async):
4921 add a "gst_element_set_state_async" method that
4922 sets the state and starts a thread to make sure the state
4923 change completes as best as it can
4925 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
4927 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4928 codify design+behaviour in testsuite after discussion
4930 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
4932 * docs/gst/tmpl/gstelement.sgml:
4933 * docs/manual/appendix-quotes.xml:
4935 * gst/gstelement.c: (gst_element_set_state):
4938 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
4940 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
4941 (gst_base_transform_prepare_output_buf),
4942 (gst_base_transform_handle_buffer):
4943 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
4944 (gst_capsfilter_prepare_buf):
4945 Remove the requirement for sub-classes to call the parent
4946 implementation of prepare_output_buffer with a wrapper function.
4949 * gst/gsttagsetter.h:
4952 2005-09-11 Stefan Kost <ensonic@users.sf.net>
4954 * docs/gst/gstreamer-sections.txt:
4957 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
4959 * docs/gst/gstreamer-sections.txt:
4960 * docs/gst/tmpl/gstelement.sgml:
4961 * docs/gst/tmpl/gstplugin.sgml:
4962 * gst/gstminiobject.c:
4964 docs now stop throwing warnings
4966 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
4968 * docs/gst/gstreamer-sections.txt:
4969 * docs/gst/gstreamer.types:
4970 * docs/gst/tmpl/gstpad.sgml:
4971 * docs/gst/tmpl/gsttypes.sgml:
4972 * gst/base/gstadapter.h:
4973 * gst/base/gstbasesink.h:
4974 * gst/base/gstbasesrc.h:
4984 * gst/gststructure.c:
4985 * gst/registries/gstlibxmlregistry.h:
4986 various documentation fixes
4988 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
4990 * docs/gst/gstreamer-sections.txt:
4991 * docs/gst/tmpl/gstvalue.sgml:
4992 rearrange gstvalue section
4993 * gst/gstutils.c: (gst_element_state_get_name):
4995 * gst/gstvalue.c: (_gst_value_initialize):
4999 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
5001 * check/gst-libs/controller.c:
5003 * gst/base/gstbasetransform.c:
5004 (gst_base_transform_default_prepare_buf),
5005 (gst_base_transform_handle_buffer):
5006 * gst/base/gstbasetransform.h:
5007 Some more basetransform changes and fixes to enable sub-classes
5008 that modify buffer metadata only.
5009 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5010 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
5011 (gst_capsfilter_prepare_buf):
5012 If the output pad has fixed allowed caps and input buffers
5013 don't have any, set the fixed caps on outgoing buffers.
5015 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
5016 * check/elements/identity.c: (GST_START_TEST):
5017 Make the error a little clearer when the test fails because
5018 identity made a copy of the buffer.
5019 * docs/gst/gstreamer-sections.txt:
5020 New symbols in gstbasetransform.h
5021 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
5022 (gst_base_transform_init), (gst_base_transform_transform_size),
5023 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5024 (gst_base_transform_default_prepare_buf),
5025 (gst_base_transform_get_unit_size),
5026 (gst_base_transform_buffer_alloc),
5027 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
5028 (gst_base_transform_change_state),
5029 (gst_base_transform_set_passthrough),
5030 (gst_base_transform_set_in_place),
5031 (gst_base_transform_is_in_place):
5032 * gst/base/gstbasetransform.h:
5033 Change BaseTransform to separate in_place operate from same_caps
5034 output. in_place implies that the element can perform the transform
5035 on incoming buffers in-place, even if the caps on the output are
5037 Sub-class elements can now implement special buffer allocation
5038 methods for outgoing buffers if they wish to.
5039 Big documentation addition.
5040 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
5041 * gst/elements/gstelements.c:
5042 Changes for basetransform modifications.
5043 * gst/elements/Makefile.am:
5044 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
5045 Compile fix. Extra debug output.
5047 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
5049 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
5051 add tests for valid pad naming
5052 * gst/check/gstcheck.c: (gst_check_log_message_func),
5053 (gst_check_log_critical_func):
5055 remove printing of code, it is fragile when the code contains
5056 % and the line number is enough info
5057 * gst/check/gstcheck.h:
5058 * gst/gstpad.c: (gst_pad_template_new):
5061 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
5064 say what CHECK flags we use
5065 * docs/libs/gstreamer-libs.types:
5066 * libs/gst/controller/Makefile.am:
5067 * libs/gst/controller/gst-controller.c:
5068 * libs/gst/controller/gst-controller.h:
5069 * libs/gst/controller/gst-helper.c:
5070 * libs/gst/controller/gst-interpolation.c:
5071 * libs/gst/controller/gstcontroller.c:
5072 * libs/gst/controller/gsthelper.c:
5073 * libs/gst/controller/gstinterpolation.c:
5074 * tools/gst-inspect.c: (print_plugin_info):
5075 we don't use dashes in header names
5077 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
5079 * check/Makefile.am:
5080 * check/gst/.cvsignore:
5081 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
5082 (gst_pipeline_suite), (main):
5083 adding a test for pipelines and state changes
5084 * gst/gstutils.c: (get_state_func):
5086 * gstreamer.spec.in:
5089 2005-09-08 Michael Smith <msmith@fluendo.com>
5091 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
5092 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
5093 (gst_file_src_is_seekable), (gst_file_src_get_size),
5094 (gst_file_src_start):
5095 * gst/elements/gstfilesrc.h:
5096 Various fixes for unseekable, unmmapable, and non-normal files, so
5097 that fallback to read() rather than mmap() works.
5098 * gst/gstevent.c: (gst_event_new_newsegment):
5099 Allow newsegment events with segment_start == segment_end, as will
5100 correctly happen if you use filesrc on a zero-size file, for
5103 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
5105 * gst/gstplugin.c: (gst_plugin_load_file):
5106 Call g_module_close when we don't load the module
5108 * gst/registries/gstlibxmlregistry.c:
5109 (gst_xml_registry_get_property):
5110 Port leak fix from 0.8
5112 2005-09-07 Stefan Kost <ensonic@users.sf.net>
5114 * docs/gst/gstreamer-docs.sgml:
5115 * docs/gst/tmpl/.cvsignore:
5116 * docs/gst/tmpl/gsttrace.sgml:
5117 * docs/gst/tmpl/gsttrashstack.sgml:
5126 * gst/gsttaginterface.c:
5127 * gst/gsttaginterface.h:
5130 * gst/gsttagsetter.c:
5131 * gst/gsttagsetter.h:
5134 * gst/gsttrashstack.c:
5135 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
5136 inlined docs for gsttrace, gsttrashstack
5138 2005-09-07 Stefan Kost <ensonic@users.sf.net>
5141 * gst/elements/gstbufferstore.h:
5142 * gst/elements/gsttypefindelement.c:
5143 * gst/elements/gsttypefindelement.h:
5145 * gst/gsttypefind.c:
5146 * gst/gsttypefind.h:
5147 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
5148 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
5149 (gst_type_find_factory_dispose),
5150 (gst_type_find_factory_unload_thyself),
5151 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
5152 (gst_type_find_factory_get_caps),
5153 (gst_type_find_factory_get_extensions),
5154 (gst_type_find_factory_call_function):
5155 * gst/gsttypefindfactory.h:
5156 * gst/registries/gstlibxmlregistry.c:
5157 * gst/registries/gstxmlregistry.c:
5158 splitted gsttypefind into gsttypefind, gsttypefindfactory
5160 2005-09-07 Andy Wingo <wingo@pobox.com>
5162 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
5163 condition whereby the pad's task function is entered before the
5164 pad_mode variable was set.
5166 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
5168 * gst/gstpad.c: (gst_pad_alloc_buffer):
5169 Catch misbehaving pad_alloc functions that don't
5170 set up caps and do it for them.
5172 2005-09-07 Stefan Kost <ensonic@users.sf.net>
5174 * check/pipelines/simple_launch_lines.c: (run_pipeline):
5176 * docs/gst/tmpl/.cvsignore:
5177 * docs/gst/tmpl/gstmemchunk.sgml:
5178 * docs/gst/tmpl/gstparse.sgml:
5179 * docs/gst/tmpl/gsttaglist.sgml:
5180 * docs/gst/tmpl/gsttagsetter.sgml:
5181 * docs/gst/tmpl/gsttypefind.sgml:
5182 * docs/gst/tmpl/gsttypefindfactory.sgml:
5183 * gst/gstmemchunk.c:
5186 * gst/gsttaginterface.c:
5187 * gst/gsttypefind.c:
5188 * gst/gsttypefind.h:
5191 === release 0.9.2 ===
5193 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
5198 releasing 0.9.2, "South"
5200 2005-09-05 Andy Wingo <wingo@pobox.com>
5202 * gst/registries/gstxmlregistry.h:
5203 * gst/registries/gstxmlregistry.c: Um... resurrect...
5205 * gst/registries/gstxmlregistry.h:
5206 * gst/registries/gstxmlregistry.c: and update to newer API.
5207 Incidentally they should be a bit faster now that they don't have
5210 2005-09-05 Andy Wingo <wingo@pobox.com>
5212 * gst/registries/gstxmlregistry.h:
5213 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
5214 replaced by the libxml registry a while back
5216 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
5218 * docs/gst/tmpl/gstplugin.sgml:
5219 * gst/elements/gstelements.c:
5221 * gst/gstplugin.c: (gst_plugin_register_func),
5222 (gst_plugin_desc_copy), (gst_plugin_desc_free),
5223 (gst_plugin_get_source):
5225 * gst/registries/gstlibxmlregistry.c: (load_plugin),
5226 (gst_xml_registry_save_plugin):
5227 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
5228 (gst_xml_registry_save_plugin):
5229 * tools/gst-inspect.c: (print_plugin_info):
5230 add a "source" plugin description field, to represent the source
5231 module this plugin is a part of. By default GST_PLUGIN_DEFINE
5232 will set it to PACKAGE, which is automake's idea of the name of
5235 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
5241 * docs/faq/Makefile.am:
5242 * docs/gst/tmpl/gstelement.sgml:
5243 * docs/gst/tmpl/gsttypes.sgml:
5244 * docs/htmlinstall.mak:
5245 * docs/manual/Makefile.am:
5246 * docs/pwg/Makefile.am:
5247 reorganize doc build a little
5248 split out docbook and gtk-doc stuff
5249 have two separate --enable's and enable them through autogen
5250 but disable by default in configure (to be similar to other
5252 * gstreamer.spec.in:
5253 clean up docs install
5273 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
5275 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
5278 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
5279 (gst_fake_sink_change_state):
5280 Make state change function thread-safe.
5282 * gst/gstpad.c: (gst_pad_alloc_buffer):
5283 Set offset on generic buffer allocated by fallback.
5285 2005-09-03 Stefan Kost <ensonic@users.sf.net>
5287 * docs/gst/gstreamer-sections.txt:
5288 * docs/gst/tmpl/gstelement.sgml:
5290 * libs/gst/controller/gst-controller.c:
5291 (gst_controlled_property_set_interpolation_mode),
5292 (gst_controlled_property_new),
5293 (gst_controller_find_controlled_property):
5294 run the wingo-magic script against the docs
5296 2005-09-02 Stefan Kost <ensonic@users.sf.net>
5298 * docs/gst/gstreamer-docs.sgml:
5299 * docs/gst/gstreamer-sections.txt:
5300 * docs/gst/tmpl/.cvsignore:
5301 * docs/gst/tmpl/gstelementdetails.sgml:
5302 * docs/gst/tmpl/gstelementfactory.sgml:
5305 * gst/gstelementfactory.c:
5306 * gst/gstelementfactory.h:
5307 merged elementdetails docs into elementfactory docs
5310 2005-09-02 Andy Wingo <wingo@pobox.com>
5312 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
5313 consider this enum an enum and not a flags.
5315 2005-09-02 Stefan Kost <ensonic@users.sf.net>
5317 * docs/gst/gstreamer-docs.sgml:
5318 * docs/gst/tmpl/.cvsignore:
5319 * docs/gst/tmpl/gstghostpad.sgml:
5320 * docs/gst/tmpl/gstiterator.sgml:
5321 * docs/gst/tmpl/gstmacros.sgml:
5322 * docs/gst/tmpl/gstrealpad.sgml:
5323 * docs/gst/tmpl/gstregistry.sgml:
5324 * docs/gst/tmpl/gstregistrypool.sgml:
5325 * docs/gst/tmpl/gststructure.sgml:
5326 * docs/gst/tmpl/gstsystemclock.sgml:
5327 * docs/gst/tmpl/gsttrace.sgml:
5328 * gst/gstghostpad.c:
5330 * gst/gstmemchunk.c:
5331 * gst/gstmemchunk.h:
5333 * gst/gstregistry.c:
5334 * gst/gstregistrypool.c:
5335 * gst/gststructure.c:
5336 * gst/gstsystemclock.c:
5339 2005-09-02 Andy Wingo <wingo@pobox.com>
5341 * gst/gstelement.h (GstState): Renamed from GstElementState,
5342 changed to be a normal enum instead of flags.
5343 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
5344 munged to be GST_STATE_CHANGE_*.
5345 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
5346 work with the new state representation.
5347 (GstStateChange): New enumeration of possible state transitions.
5348 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
5349 (GstElementClass::change_state): Pass the GstStateChange along as
5350 an argument. Helps language bindings, so they don't have to use
5351 tricky lock-needing macros like GST_STATE_CHANGE ().
5353 * scripts/update-states (file): New script. Run it on a file to
5354 update it for state naming and API changes. Updates files in
5357 * All files updated for the new API.
5359 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
5361 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
5362 * gst/gstutils.c: (gst_util_set_value_from_string),
5363 (gst_util_set_object_arg):
5364 fix a bunch of unchecked return values
5365 * tools/gst-complete.c: (main):
5366 * gstreamer.spec.in:
5369 2005-09-01 Wim Taymans <wim@fluendo.com>
5371 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5372 (gst_base_sink_event), (gst_base_sink_do_sync),
5373 (gst_base_sink_handle_event):
5374 * gst/base/gstbasesink.h:
5375 Handle newsegments more correctly.
5380 * gst/gstevent.c: (gst_event_new_newsegment):
5381 A newsegment cannot have a start_time of -1
5383 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
5385 * win32/gstenumtypes.c:
5386 * win32/gstenumtypes.h:
5389 2005-08-31 Stefan Kost <ensonic@users.sf.net>
5391 * libs/gst/controller/gst-controller.c:
5392 (gst_controlled_property_set_interpolation_mode),
5393 (gst_controlled_property_new):
5396 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
5398 * docs/faq/gst-uninstalled:
5403 * gst/gstutils.c: (gst_element_link_filtered):
5405 add gst_element_link_filtered
5407 2005-08-31 Stefan Kost <ensonic@users.sf.net>
5409 * docs/gst/gstreamer-docs.sgml:
5410 * docs/gst/gstreamer-sections.txt:
5411 * docs/gst/tmpl/.cvsignore:
5412 * docs/gst/tmpl/gsterror.sgml:
5413 * docs/gst/tmpl/gstfilter.sgml:
5414 * docs/gst/tmpl/gsturihandler.sgml:
5415 * docs/gst/tmpl/gsturitype.sgml:
5416 * docs/gst/tmpl/gstutils.sgml:
5417 * docs/gst/tmpl/gstxml.sgml:
5425 inlined more docs, fixed double id-ref
5427 2005-08-31 Wim Taymans <wim@fluendo.com>
5429 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
5430 (gst_base_transform_handle_buffer):
5431 Passthrough elements don't need the caps as they don't care.
5433 2005-08-31 Wim Taymans <wim@fluendo.com>
5435 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
5436 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
5437 Don't leak refcounts on buffers.
5439 2005-08-31 Wim Taymans <wim@fluendo.com>
5441 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
5442 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
5443 (gst_base_transform_chain), (gst_base_transform_change_state):
5444 * gst/base/gstbasetransform.h:
5445 Handle the case where we are not negotiated more gracefully.
5447 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
5449 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
5450 (gst_file_src_map_region):
5451 Set READONLY flag on mmap'ed buffers, otherwise
5452 gst_buffer_make_writable() won't work properly (#314708).
5454 2005-08-31 Wim Taymans <wim@fluendo.com>
5456 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
5457 passthrough elements can even do inplace on non writable
5458 buffers (as they don't touch them).
5460 2005-08-31 Stefan Kost <ensonic@users.sf.net>
5462 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
5463 (gst_test_mono_source_set_property),
5464 (gst_test_mono_source_class_init), (GST_START_TEST),
5465 (gst_controller_suite):
5466 more tests (hehe I have the most)
5468 describe popping messages whenusing mulltiple sources
5469 * libs/gst/controller/gst-controller.c:
5470 (gst_controlled_property_set_interpolation_mode),
5471 (gst_controlled_property_new):
5472 * libs/gst/controller/gst-controller.h:
5473 * libs/gst/controller/gst-interpolation.c:
5474 implement boolean properties
5476 2005-08-31 Wim Taymans <wim@fluendo.com>
5478 * gst/gstminiobject.c: (gst_mini_object_ref):
5479 Cannot assert that the refcount has to be positive
5480 since a disposed object can be resurrected.
5482 2005-08-31 Wim Taymans <wim@fluendo.com>
5484 * gst/gstpad.c: (gst_pad_init):
5485 Revert change, need to first fix badly behaving
5488 2005-08-30 Wim Taymans <wim@fluendo.com>
5490 * check/elements/fakesrc.c: (setup_fakesrc):
5491 * check/elements/identity.c: (setup_identity):
5492 Activate pads before using them.
5494 2005-08-30 Wim Taymans <wim@fluendo.com>
5496 * gst/base/gstadapter.c: (gst_adapter_flush):
5497 Flushing out 0 bytes is ok for this function.
5499 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5500 no newsegment gives a warning and sets the start/stop to
5503 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
5504 (gst_base_transform_set_passthrough):
5507 * gst/gstminiobject.c: (gst_mini_object_ref):
5508 Check refcount here too.
5510 * gst/gstpad.c: (gst_pad_init):
5511 Pads are initially flushing and refusing data.
5513 * gst/gstutils.c: (gst_element_link_pads_filtered):
5514 When adding a capsfilter element make sure it has the
5515 same state as the parent bin.
5517 2005-08-30 Stefan Kost <ensonic@users.sf.net>
5519 * docs/gst/tmpl/.cvsignore:
5520 * docs/gst/tmpl/gstformat.sgml:
5521 * docs/gst/tmpl/gstversion.sgml:
5525 * gst/gstversion.h.in:
5526 more docs and two more inlined
5528 2005-08-30 Wim Taymans <wim@fluendo.com>
5530 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
5531 Don't sync to clock.
5533 2005-08-30 Stefan Kost <ensonic@users.sf.net>
5535 * docs/gst/gstreamer-sections.txt:
5536 ultral33t func10ns deserve to appear in the docs actually
5537 * docs/gst/tmpl/.cvsignore:
5538 * docs/gst/tmpl/gstcompat.sgml:
5539 * docs/gst/tmpl/gstconfig.sgml:
5540 * gst/check/gstcheck.c:
5542 * gst/gstconfig.h.in:
5545 2005-08-30 Stefan Kost <ensonic@users.sf.net>
5547 * docs/gst/tmpl/.cvsignore:
5548 * docs/gst/tmpl/gstquery.sgml:
5549 * docs/gst/tmpl/gstutils.sgml:
5552 inlined and extended docs
5554 2005-08-30 Stefan Kost <ensonic@users.sf.net>
5556 * check/gst-libs/controller.c: (GST_START_TEST),
5557 (gst_controller_suite):
5559 * docs/gst/tmpl/gstutils.sgml:
5560 * docs/libs/gstreamer-libs-sections.txt:
5561 * docs/libs/tmpl/gstdataprotocol.sgml:
5563 * examples/controller/audio-example.c: (main):
5564 controller example works now
5567 * tools/gst-inspect.c: (print_element_properties_info):
5568 show param spec flags
5570 2005-08-29 Andy Wingo <wingo@pobox.com>
5572 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
5574 2005-08-28 Andy Wingo <wingo@pobox.com>
5576 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
5577 as having two arguments instead of just one. Allows superclasses
5578 to access information on subclasses -- see the terrible for() loop
5579 in gtype.c:g_type_create_instance for the reason why. All callers
5582 2005-08-27 Stefan Kost <ensonic@users.sf.net>
5584 * docs/design/part-messages.txt:
5586 * docs/gst/tmpl/.cvsignore:
5587 * docs/gst/tmpl/gstcaps.sgml:
5588 * docs/gst/tmpl/gstclock.sgml:
5595 added descriptions for bus and message
5596 inline caps and clock docs
5598 2005-08-27 Stefan Kost <ensonic@users.sf.net>
5604 2005-08-27 Stefan Kost <ensonic@users.sf.net>
5606 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
5609 2005-08-26 Andy Wingo <wingo@pobox.com>
5611 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
5612 element_set_state's return val.
5613 (test_2_elements): Add test that's been disabled for months.
5615 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
5616 can-activate-pull properties.
5618 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
5619 can-activate-pull properties. Implement is_seekable so fakesrc can
5620 operate in pull mode.
5622 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
5624 (gst_base_sink_activate, gst_base_sink_activate_pull)
5625 (gst_base_sink_activate_push): Make activation mode choosing work.
5627 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
5628 is right. Make pull mode work. Post an eos before pausing in pull
5630 (gst_base_sink_change_state): Pay attention to the core's
5631 change_state() return val.
5633 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
5634 has-getrange properties. Cleanups.
5636 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
5637 has_getrange and replace with can_activate_pull and
5640 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
5641 locking comments. Remove has_loop, has_chain and replace with
5642 can_activate_pull and can_activate_push.
5644 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
5647 * examples/Makefile.am:
5648 * examples/metadata/Makefile.am:
5649 * examples/metadata/read-metadata.c: (message_loop),
5650 (have_pad_handler), (make_pipeline), (print_tag), (main):
5651 Add metadata reading example that loops over a list of filenames,
5652 dumping any tags found.
5654 * gst/gstbus.c: (gst_bus_dispose):
5655 * gst/gstelement.c: (gst_element_dispose):
5656 Release a few potentially-held references in dispose.
5658 2005-08-26 Stefan Kost <ensonic@users.sf.net>
5660 * docs/gst/tmpl/gstminiobject.sgml:
5661 do *not* add tmpl/*.sgml files to CVS!
5663 2005-08-26 Stefan Kost <ensonic@users.sf.net>
5665 * libs/gst/bytestream/.cvsignore:
5666 * libs/gst/bytestream/Makefile.am:
5667 * libs/gst/bytestream/adapter.c:
5668 * libs/gst/bytestream/adapter.h:
5669 * libs/gst/bytestream/bytestream.c:
5670 * libs/gst/bytestream/bytestream.h:
5671 * libs/gst/bytestream/filepad.c:
5672 * libs/gst/bytestream/filepad.h:
5673 removing obsolete files
5675 2005-08-26 Stefan Kost <ensonic@users.sf.net>
5677 * docs/gst/gstreamer-docs.sgml:
5678 * docs/libs/gstreamer-libs-docs.sgml:
5679 disabed additional index entries again, as this makes docs-gen just
5680 slow and they aren't useful yet
5681 * docs/libs/gstreamer-libs-sections.txt:
5682 little -section.txt cleanup for libs
5684 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
5686 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5687 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
5688 fix up some debugging
5689 (gst_base_transform_get_unit_size),
5690 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
5691 (gst_base_transform_handle_buffer):
5692 * gst/base/gstbasetransform.h:
5693 handle and store timed NEWSEGMENT events so that subclasses that
5694 calculate time by counting samples have a segment_start time they
5695 need to add to their timestamps - see audioresample
5697 2005-08-26 Stefan Kost <ensonic@users.sf.net>
5700 removed ';' from the end of macro defs
5701 * docs/gst/gstreamer-docs.sgml:
5702 * docs/gst/gstreamer-sections.txt:
5703 * docs/gst/tmpl/.cvsignore:
5705 * gst/gstelement.c: (gst_element_class_init),
5706 (gst_element_set_state), (activate_pads),
5707 (gst_element_save_thyself):
5708 * gst/gstevent.c: (gst_event_new_newsegment):
5710 * gst/gstiterator.c:
5711 * gst/gstiterator.h:
5714 * gst/gstutils.c: (gst_pad_query_convert):
5716 fixed parameter name mismatches between source, header and docs
5717 added some more docs, resolved the last batch of unused elements in
5718 docs (now someone needs to doc them)
5720 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
5722 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
5723 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
5724 don't walk through the plugins backwards. Where is all this
5725 reversed logic coming from ?
5727 2005-08-25 Wim Taymans <wim@fluendo.com>
5729 * gst/base/gstbasetransform.c: (gst_base_transform_init),
5730 (gst_base_transform_transform_size),
5731 (gst_base_transform_configure_caps),
5732 (gst_base_transform_get_unit_size),
5733 (gst_base_transform_buffer_alloc),
5734 (gst_base_transform_change_state):
5735 * gst/base/gstbasetransform.h:
5736 Cache caps unit_size.
5737 Make sure we cannot negotiate up and downstream at the
5740 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
5742 * gst/gst.c: (init_pre), (init_post):
5743 register the installed plugin path after the env var
5744 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
5745 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
5746 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
5747 directories, so the tests can prefer uninstalled over installed
5749 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
5751 * gst/base/gstbasetransform.h:
5756 2005-08-25 Wim Taymans <wim@fluendo.com>
5758 * gst/gstbin.c: (bin_bus_handler):
5759 Be a bit more conservative about the posted message.
5761 * gst/gstbus.c: (gst_bus_post):
5762 Some cleanups, warn wrong return values.
5764 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
5766 * check/gst/gstbin.c: (GST_START_TEST):
5767 * gst/gstbin.c: (bin_bus_handler):
5768 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
5769 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
5770 (gst_message_new_warning), (gst_message_new_tag),
5771 (gst_message_new_state_changed), (gst_message_new_segment_start),
5772 (gst_message_new_segment_done), (gst_message_new_custom):
5774 * tools/gst-launch.c: (event_loop):
5775 * tools/gst-md5sum.c: (event_loop):
5776 Revert unpopular change for GST_MESSAGE_SRC to GObject.
5778 2005-08-25 Wim Taymans <wim@fluendo.com>
5780 * check/generic/states.c: (GST_START_TEST):
5781 Cleanup can be done at the end.
5783 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
5784 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
5785 (gst_task_get_state), (gst_task_start), (gst_task_pause):
5786 Oh boy.. Thanks for finding this, Thomas.
5788 2005-08-25 Stefan Kost <ensonic@users.sf.net>
5790 * docs/gst/gstreamer.types:
5793 2005-08-25 Stefan Kost <ensonic@users.sf.net>
5795 * docs/gst/gstreamer-docs.sgml:
5796 * docs/gst/gstreamer-sections.txt:
5797 * docs/gst/tmpl/.cvsignore:
5799 * gst/gstiterator.c:
5801 * gst/registries/gstxmlregistry.h:
5802 added missing classes and symbols (123 more to go)
5803 removed removed symbols from section file
5804 fixed many doc-comments
5806 2005-08-24 Wim Taymans <wim@fluendo.com>
5808 * check/generic/states.c: (GST_START_TEST):
5809 Make sure all tasks are stopped.
5811 * check/gst/gstbin.c: (GST_START_TEST):
5812 Unref after usage for proper valgrinding.
5814 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
5815 Really wait for the task to stop before destroying the
5818 * gst/gstqueue.c: (gst_queue_sink_activate_push),
5819 (gst_queue_src_activate_push):
5820 Small cleanups. Don't stop the task when we did not start
5823 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
5824 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
5825 (gst_task_get_state), (gst_task_start), (gst_task_pause),
5828 Protect the stream lock with the object lock.
5829 Disallow setting the stream lock when running.
5830 Add cleanup_all to wait for the threadpool to finish.
5831 Remove code to autoallocate a mutex if none was provided.
5832 Add _join() to wait for a task to stop.
5833 Protect the thread pool with a global lock.
5835 2005-08-24 Wim Taymans <wim@fluendo.com>
5837 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5838 (gst_base_sink_get_times), (gst_base_sink_do_sync),
5839 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
5840 * gst/base/gstbasesink.h:
5841 Handle newsegment events correctly.
5842 Drop buffers out of the segment range.
5844 2005-08-22 Andy Wingo <wingo@pobox.com>
5846 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
5847 macro, implements an interface and gstimplementsinterface for a
5850 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
5852 * check/Makefile.am:
5853 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
5854 add a test that does a bunch of state changes on elements
5855 needs some fixing for valgrind
5856 * check/states/sinks.c: (gst_object_suite):
5859 add prototype for gst_caps_is_equal_fixed
5861 * gst/gstregistrypool.c:
5864 2005-08-24 Andy Wingo <wingo@pobox.com>
5866 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
5867 convert a negative value. Doesn't make much sense. Mostly this is
5868 here to force callers to ensure -1 maps to -1.
5870 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
5872 * docs/pwg/advanced-types.xml:
5873 Well done to Michael for catching my deliberate introduction
5874 of this spelling mistake.
5875 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
5877 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
5878 unlink pads before removing the element from the bin.
5880 2005-08-24 Andy Wingo <wingo@pobox.com>
5882 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
5883 the same thing as GST_DEBUG=*:4.
5884 (parse_debug_level, parse_debug_category): New helper parsers.
5886 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
5888 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
5889 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
5890 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
5891 (gst_base_transform_buffer_alloc),
5892 (gst_base_transform_handle_buffer):
5893 use gboolean return values and pointers to size so we can use the
5894 full GST_BUFFER_SIZE range (guint) for buffer sizes
5895 use GstPadDirection for transform_caps
5896 * gst/base/gstbasetransform.h:
5897 rename get_size to get_unit_size since that's what it is
5898 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
5899 use GstPadDirection for transform_caps
5900 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
5902 cleanup and debugging
5904 2005-08-24 Stefan Kost <ensonic@users.sf.net>
5906 * gst/gstelement.c: (gst_element_class_init),
5907 (gst_element_set_state), (activate_pads),
5908 (gst_element_save_thyself):
5909 * tools/gst-compprep.c: (main):
5910 * tools/gst-inspect.c: (print_element_properties_info):
5911 * tools/gst-xmlinspect.c: (print_element_properties):
5912 Fixed long standing mem-leak
5914 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
5916 * check/gst/gstbin.c: (GST_START_TEST):
5917 * gst/gstbin.c: (bin_bus_handler):
5918 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
5919 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
5920 (gst_message_new_warning), (gst_message_new_tag),
5921 (gst_message_new_state_changed), (gst_message_new_segment_start),
5922 (gst_message_new_segment_done), (gst_message_new_custom):
5924 * tools/gst-launch.c: (event_loop):
5925 * tools/gst-md5sum.c: (event_loop):
5926 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
5927 that applications can sensibly post custom messages with references
5928 to their own objects.
5930 2005-08-24 Andy Wingo <wingo@pobox.com>
5932 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
5935 2005-08-24 Wim Taymans <wim@fluendo.com>
5937 * gst/base/gstbasetransform.c: (gst_base_transform_init),
5938 (gst_base_transform_transform_caps),
5939 (gst_base_transform_transform_size),
5940 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5941 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
5942 (gst_base_transform_handle_buffer):
5943 * gst/base/gstbasetransform.h:
5944 Many fixes and new features added by Thomas. Can now also do
5945 transforms with variable sizes and a custom fixate_caps function.
5947 2005-08-24 Wim Taymans <wim@fluendo.com>
5949 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
5953 Cast to ClockTime before formatting to time.
5958 2005-08-24 Stefan Kost <ensonic@users.sf.net>
5960 * check/gst-libs/controller.c: (GST_START_TEST),
5961 (gst_controller_suite):
5962 * docs/gst/tmpl/gstcaps.sgml:
5963 * docs/gst/tmpl/gstghostpad.sgml:
5964 * docs/gst/tmpl/gstquery.sgml:
5965 * docs/gst/tmpl/gstutils.sgml:
5966 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
5967 (gst_object_sink_values), (gst_object_get_value_arrays),
5968 (gst_object_get_value_array):
5969 gracefully handle helper method calls to objects that are not beeing
5970 controlled, added test case for that
5972 2005-08-23 Wim Taymans <wim@fluendo.com>
5974 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
5975 (gst_event_new_newsegment), (gst_event_parse_newsegment),
5976 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
5977 (gst_event_parse_qos), (gst_event_new_seek),
5978 (gst_event_parse_seek):
5980 Some more debugging output and doc cleanups.
5982 * gst/gstqueue.c: (gst_queue_handle_sink_event):
5983 Fix possible deadlock.
5985 2005-08-23 Stefan Kost <ensonic@users.sf.net>
5987 * docs/gst/gstreamer-docs.sgml:
5988 * docs/gst/gstreamer-sections.txt:
5989 * docs/gst/gstreamer.types:
5990 * docs/gst/tmpl/.cvsignore:
5995 added 100 symbols from gstreamer-unused.txt to the right sections
5996 fixed more broken comments
5997 added GstBus to docs
5999 2005-08-23 Stefan Kost <ensonic@users.sf.net>
6001 * docs/gst/gstreamer-sections.txt:
6002 * docs/gst/tmpl/.cvsignore:
6003 * docs/gst/tmpl/gstbin.sgml:
6004 * docs/gst/tmpl/gstbuffer.sgml:
6005 * gst/base/gstbasesrc.c:
6006 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
6009 * tools/gst-launch.1.in:
6010 inlined more doc comments, added missing comments and fixed comments
6013 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
6015 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6019 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
6021 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
6022 * gst/gststructure.h:
6023 add a fixate function for booleans; add a FIXME that these func
6024 names should probably be gst_structure_fixate_*
6026 2005-08-23 Stefan Kost <ensonic@users.sf.net>
6028 * docs/gst/gstreamer-docs.sgml:
6029 * docs/gst/gstreamer-sections.txt:
6031 * gst/gstbin.c: (gst_bin_get_type),
6032 (gst_bin_child_proxy_get_child_by_index),
6033 (gst_bin_child_proxy_get_children_count),
6034 (gst_bin_child_proxy_init):
6035 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
6036 (gst_child_proxy_get_child_by_index),
6037 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
6038 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
6039 (gst_child_proxy_get), (gst_child_proxy_set_property),
6040 (gst_child_proxy_set_valist), (gst_child_proxy_set),
6041 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
6042 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
6043 * gst/gstchildproxy.h:
6044 * gst/parse/grammar.y:
6045 * tools/gst-inspect.c: (print_interfaces),
6046 (print_element_properties_info), (print_element_info):
6047 ported gstchildproxy over from 0.8
6048 ported gst-inspect fixes and enhancements over from 0.8
6050 2005-08-22 Wim Taymans <wim@fluendo.com>
6052 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6053 (gst_base_transform_handle_buffer):
6054 Also call the transform function if we have ANY caps.
6056 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
6059 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
6061 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
6062 Don't pretend to handle seek events if the source is not seekable
6064 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
6066 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6067 Remove extra parameter to debug output
6069 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6070 (gst_base_src_do_seek), (gst_base_src_activate_push):
6071 Fix seek event handling.
6073 * gst/gstpipeline.c: (gst_pipeline_change_state):
6074 * gst/gstqueue.c: (gst_queue_handle_sink_event),
6075 (gst_queue_src_activate_push):
6076 Don't start the src pad task on FLUSH_STOP if the pad
6080 2005-08-22 Wim Taymans <wim@fluendo.com>
6082 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6083 Added check for gst_static_caps_get() refcounting.
6085 2005-08-22 Wim Taymans <wim@fluendo.com>
6087 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
6088 Make _static_caps_get() refcounting sane.
6090 * gst/gstelement.c: (gst_element_set_state):
6091 Add g_return_val_if_fail() to protect against segfaults.
6093 2005-08-22 Stefan Kost <ensonic@users.sf.net>
6095 * docs/gst/tmpl/gstevent.sgml:
6098 inlined remaining docs, added missing doc comments
6100 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
6102 * check/gst/gstbin.c: (GST_START_TEST):
6103 since we don't know when preroll is done, use refcount range
6105 * gst/check/gstcheck.h:
6106 add macro for checking refcount range
6108 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
6110 * check/Makefile.am:
6111 clean up environment for when registry gets built versus
6112 when actual tests are run; valgrind seems to not report
6113 leaks if GST_PLUGIN_PATH is set to some specific values
6114 * check/gst/gstbin.c: (GST_START_TEST):
6115 add more refcounting checks; maybe this exposes a
6118 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6119 * gst/check/gstcheck.h:
6120 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
6121 (gst_bin_change_state):
6122 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
6123 add/fix debugging/whitespace
6125 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
6127 * check/gst/gstevent.c: (event_probe), (test_event),
6129 Er, don't call gst_bin_watch_for_state_change you idiot.
6131 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
6133 * check/Makefile.am:
6134 Use CHECK_CFLAGS and CHECK_LIBS
6135 * check/gst/gstevent.c: (event_probe), (test_event),
6138 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6139 (gst_base_src_start), (gst_base_src_stop),
6140 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6141 (gst_base_src_change_state):
6142 Sprinkle gst_base_src_stop liberally around error paths to fix
6143 problems reusing a source after failed state changes.
6144 * gst/base/gsttypefindhelper.c: (helper_find_peek),
6145 (helper_find_suggest), (gst_type_find_helper):
6146 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
6148 * docs/gst/tmpl/gstevent.sgml:
6149 Migrate part of the docs from the SGML file. Wait for ensonic to
6150 tell me how I did it wrong ;)
6151 * tools/gst-typefind.c: (main):
6152 Extra robustness to state changes between files.
6154 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
6156 * check/Makefile.am:
6157 don't valgrind the controller test - it's leaking - Stefan, HELP
6158 * gst/check/gstcheck.c: (gst_check_message_error),
6159 (gst_check_chain_func), (gst_check_setup_element),
6160 (gst_check_teardown_element), (gst_check_setup_src_pad),
6161 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
6162 (gst_check_teardown_sink_pad):
6163 * gst/check/gstcheck.h:
6164 add a bunch of methods to set up elements, and src and sink pads
6165 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
6166 * check/elements/identity.c: (setup_identity), (cleanup_identity),
6171 whitespace/doc fixes
6173 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
6176 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
6177 be handled by the application and not always printed as well
6179 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
6181 * check/Makefile.am:
6183 * gst/check/gstcheck.c: (gst_check_message_error):
6184 * gst/check/gstcheck.h:
6185 add a fail_unless_equals_int
6186 add fail_unless for error messages
6188 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
6190 * check/Makefile.am:
6192 * common/Makefile.am:
6195 factor out some of the common stuff so we can use it
6197 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
6199 * check/Makefile.am:
6200 * check/gst/gstiterator.c: (GST_START_TEST):
6201 * check/gst/gstsystemclock.c: (GST_START_TEST),
6202 (gst_systemclock_suite):
6203 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6207 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
6209 * check/elements/.cvsignore:
6210 * check/elements/gstfakesrc.c:
6211 rename to name of element
6212 * check/elements/identity.c: (chain_func), (event_func),
6213 (setup_identity), (cleanup_identity), (GST_START_TEST),
6214 (identity_suite), (main):
6215 add a test for identity
6216 * check/Makefile.am:
6217 * pkgconfig/Makefile.am:
6218 * pkgconfig/gstreamer-check.pc.in:
6219 * pkgconfig/gstreamer-check-uninstalled.pc.in:
6223 move the check stuff to a library that gets installed
6224 * check/gst-libs/controller.c: (GST_START_TEST):
6225 * check/gst-libs/gdp.c:
6226 * check/gst/gst.c: (GST_START_TEST):
6227 * check/gst/gstbin.c:
6228 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6229 * check/gst/gstbus.c:
6230 * check/gst/gstcaps.c: (GST_START_TEST):
6231 * check/gst/gstelement.c:
6232 * check/gst/gstghostpad.c:
6233 * check/gst/gstiterator.c:
6234 * check/gst/gstmessage.c:
6235 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
6236 * check/gst/gstobject.c:
6237 * check/gst/gstpad.c: (GST_START_TEST):
6238 * check/gst/gststructure.c: (GST_START_TEST):
6239 * check/gst/gstsystemclock.c: (GST_START_TEST),
6240 (gst_systemclock_suite):
6241 * check/gst/gsttag.c: (gst_tag_suite):
6242 * check/gst/gstvalue.c:
6243 * check/pipelines/cleanup.c:
6244 * check/pipelines/simple_launch_lines.c:
6245 * check/states/sinks.c:
6246 change include statement
6248 * docs/gst/gstreamer-sections.txt:
6249 * docs/gst/tmpl/gstpad.sgml:
6250 document more pad stuff
6251 * gst/gstminiobject.c: (gst_mini_object_ref),
6252 (gst_mini_object_unref):
6255 2005-08-19 Stefan Kost <ensonic@users.sf.net>
6257 * docs/gst/tmpl/gst.sgml:
6259 eliminate another tmpl file, fix spelling in the long-description
6261 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
6263 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
6264 (test_event), (timediff), (gstevents_suite):
6265 Should fix build on 64-bit arch's
6267 2005-08-18 Andy Wingo <wingo@pobox.com>
6269 Make sure that when a pipeline goes to PLAYING, that data has
6270 actually hit the sink.
6272 * check/states/sinks.c (test_sink): A sink that doesn't get any
6273 data shouldn't return SUCCESS for going to either PLAYING or
6274 PAUSED. Test also the return values on the way back down.
6276 * gst/gstelement.c (gst_element_set_state): When changing the
6277 state of an element currently changing state asynchronously, go to
6278 lost-state after commiting the pending state. Makes future calls
6279 to get_state continue to return ASYNC.
6281 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
6282 ASYNC when going to PLAYING if we still don't have preroll, as can
6283 happen with live sources.
6285 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
6287 * docs/pwg/advanced-types.xml:
6288 Hack long paragraph into 2 chunks as a workaround for buggy
6289 jadetex version in sid and breezy that loops infinitely and
6292 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
6294 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
6295 (test_event), (timediff), (gstevents_suite):
6296 Provide more error margin in clock measurements to allow for
6297 g_get_current_time inaccuracies.
6299 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
6301 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
6302 (test_event), (timediff), (gstevents_suite):
6303 Fix error message output so I might be able to tell why the
6304 test works here but fails on the build farm.
6306 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
6308 * check/Makefile.am:
6309 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
6310 (test_event), (timediff), (gstevents_suite), (main):
6313 * docs/design/part-seeking.txt:
6316 * docs/gst/tmpl/gstevent.sgml:
6317 * docs/gst/tmpl/gstfakesrc.sgml:
6320 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6321 Treat a buffer-without-newsegment the same as a receiving
6322 a newsegment not in time format, and disable syncing to the clock
6325 * gst/gstbus.c: (gst_bus_set_sync_handler):
6326 Assert if anyone tries to replace the existing sync_handler for bus,
6327 as only the owner should be setting it.
6330 Have a fixed set of custom event enums with events identified by
6331 their structure name (as in 0.8), rather than a free-for-all
6332 allowing collisions between enum values from different plugins.
6334 * gst/gstpad.c: (gst_pad_class_init):
6337 * gst/gstqueue.c: (gst_queue_handle_sink_event):
6338 Handle out-of-band downstream events from the sending thread.
6340 2005-08-17 Andy Wingo <wingo@pobox.com>
6342 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
6343 play-timeout==0 to mean no timeout at all. In that case, don't
6344 bother with a get_state or a warning, just return directly, even
6347 * gst/base/gstbasetransform.c: Debug changes.
6350 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
6351 ensure bins post state change messages. A bit of a hack but I can't
6352 think of a way to avoid it.
6354 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
6356 2005-08-16 Andy Wingo <wingo@pobox.com>
6358 * gst/base/gstadapter.h:
6359 * gst/base/gstadapter.c (gst_adapter_take): New function, like
6360 peek() but you own the data. Not terribly efficient atm.
6362 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6364 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
6365 (gst_element_found_tags):
6367 Add two utility functions for tag handling.
6369 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6371 * docs/manual/advanced-dataaccess.xml:
6372 * docs/manual/basics-helloworld.xml:
6373 Fix docs to use _bin_add() before _link(), which fixes the examples
6374 with recent core versions (reported by Madhan Raj M
6375 <raj_madan@rediffmail.com>, #313199).
6377 2005-08-16 Wim Taymans <wim@fluendo.com>
6379 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6380 Added subtract checks.
6382 * docs/design/part-events.txt:
6383 Some more docs about newsegment
6385 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
6388 * gst/gstcaps.c: (gst_caps_to_string):
6389 Add comments, cleanups.
6391 * gst/gstelement.c: (gst_element_save_thyself):
6394 * gst/gstvalue.c: (gst_value_collect_int_range),
6395 (gst_string_unwrap), (gst_value_union_int_int_range),
6396 (gst_value_union_int_range_int_range),
6397 (gst_value_intersect_int_int_range),
6398 (gst_value_intersect_int_range_int_range),
6399 (gst_value_intersect_double_double_range),
6400 (gst_value_intersect_double_range_double_range),
6401 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
6402 (gst_value_subtract_int_range_int),
6403 (gst_value_subtract_double_range_double),
6404 (gst_value_subtract_double_range_double_range),
6405 (gst_value_subtract_from_list), (gst_value_subtract_list),
6406 (gst_value_can_compare), (gst_value_compare_fraction):
6407 Cleanups, add comments, remove unneeded asserts.
6409 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
6411 * tools/gst-launch.c: (event_loop):
6412 don't convert NULL structures to strings
6414 2005-08-15 Stefan Kost <ensonic@users.sf.net>
6416 * docs/gst/gstreamer-sections.txt:
6417 made some defines private
6418 * docs/gst/tmpl/gstconfig.sgml:
6419 * docs/gst/tmpl/gstqueue.sgml:
6420 * docs/gst/tmpl/gsttaglist.sgml:
6421 * docs/gst/tmpl/gsttypes.sgml:
6422 * docs/gst/tmpl/gstutils.sgml:
6423 * docs/pwg/appendix-porting.xml:
6424 * gst/base/gstbasesink.h:
6425 * gst/base/gstbasesrc.c:
6426 * gst/base/gstbasesrc.h:
6427 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
6428 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
6429 * gst/gstelement.c: (gst_element_class_init):
6430 * gst/gstpad.c: (gst_pad_class_init):
6431 * gst/gstqueue.c: (gst_queue_class_init):
6432 * gst/gstxml.c: (gst_xml_class_init):
6433 documented all undocumented signal inline
6434 * libs/gst/controller/gst-controller.h:
6437 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6439 * docs/pwg/appendix-porting.xml:
6440 Document _set_link_function -> _set_setcaps_function.
6442 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
6444 * check/Makefile.am:
6445 add a .check target for running the check
6446 * check/gst-libs/controller.c: (GST_START_TEST):
6448 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6449 complete checks for gstbuffer; would be nice if I could get the
6450 gcov stuff to work so I can see if I actually completed gstbuffer.c
6452 add ASSERT_BUFFER_REFCOUNT
6454 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
6456 * docs/gst/gstreamer-sections.txt:
6457 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
6459 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
6460 spew out a warning if a tag that is already registered
6461 is re-registered, unless it is re-registered with a
6462 different type (#308438).
6464 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
6466 * docs/pwg/appendix-porting.xml:
6467 * docs/pwg/building-state.xml:
6468 Add some paragraphs about state changes in 0.9 to the PWG
6469 and the porting guide, in particular about the new meaning
6470 of GST_STATE_PAUSED and how to write state change functions
6471 with concurrent access by multiple threads in mind.
6473 2005-08-11 Stefan Kost <ensonic@users.sf.net>
6475 * docs/gst/gstreamer-docs.sgml:
6476 * docs/libs/gstreamer-libs-docs.sgml:
6477 added deprecation and since indexes
6478 * libs/gst/controller/gst-controller.c:
6479 * libs/gst/controller/gst-helper.c:
6483 2005-08-11 Wim Taymans <wim@fluendo.com>
6485 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
6486 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
6487 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
6488 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
6489 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
6490 (gst_ghost_pad_set_target):
6491 Actually implement (re)setting the target on a ghostpad
6492 as described in the docs.
6494 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
6496 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
6497 Check whether GST_DEBUG_NO_COLOR environment variable is
6498 set and disable coloured debug output if that is the case.
6500 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
6502 * gst/base/gsttypefindhelper.c: (helper_find_peek),
6503 (gst_type_find_helper):
6504 The memory returned by gst_type_find_peek() needs to
6505 stay valid until the end of a typefind function, and
6506 typefind functions may keep results from different
6507 offsets around, so we can't just unref the buffer from
6508 the previous _peek(), but have to save all buffers
6509 returned by _peek() until typefinding is done and only
6512 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
6514 * docs/gst/gstreamer-sections.txt:
6516 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
6518 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6520 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
6521 Fix a pretty good memleak.
6523 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
6525 * gst/gstiterator.h:
6526 Fix wrong include and 'make distcheck'.
6528 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6530 * gst/gstbin.c: (bin_bus_handler):
6531 Use gst_element_post_message() instead.
6533 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
6535 * gst/base/gstadapter.h:
6536 * gst/base/gstbasesink.h:
6537 * gst/base/gstbasesrc.h:
6538 * gst/base/gstbasetransform.h:
6539 * gst/base/gstcollectpads.h:
6540 * gst/base/gstpushsrc.h:
6541 * gst/gstiterator.h:
6542 Add padding to our base elements' class and instance structs and
6543 to GstIterator (you will need to rebuild all plugins and apps!)
6545 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6547 * gst/gstbin.c: (bin_bus_handler):
6548 Make default message forwarding from child->bus to bin->bus
6549 threadsafe and make it not emit warnings if the parent has no bus.
6551 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6553 * gst/gstelement.c: (activate_pads):
6554 On paused->ready, set pad->caps to NULL, as is the documented
6555 behaviour in this state change. Fixes playback of series of
6556 media files when visualization is enabled in Totem.
6558 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6560 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
6561 Allow NULL as filter-caps (which means "any").
6563 2005-08-05 Stefan Kost <ensonic@users.sf.net>
6565 * docs/libs/gstreamer-libs-sections.txt:
6566 * libs/gst/controller/gst-controller.c:
6567 * libs/gst/controller/gst-controller.h:
6568 * libs/gst/controller/gst-helper.c:
6569 adding more entries to the docs and fix small doc-bugs
6571 2005-08-05 Stefan Kost <ensonic@users.sf.net>
6573 * docs/gst/gstreamer-docs.sgml:
6574 * docs/gst/gstreamer-sections.txt:
6575 * docs/gst/gstreamer.types:
6576 * docs/gst/tmpl/gstbasesink.sgml:
6577 * docs/gst/tmpl/gstbasesrc.sgml:
6578 * docs/gst/tmpl/gstbasetransform.sgml:
6579 * docs/gst/tmpl/gstfakesrc.sgml:
6580 * gst/base/gstcollectpads.c:
6581 * gst/base/gstcollectpads.h:
6582 * libs/gst/controller/gst-controller.c:
6583 * libs/gst/controller/gst-controller.h:
6584 * libs/gst/controller/gst-helper.c:
6585 * libs/gst/controller/gst-interpolation.c:
6586 * libs/gst/controller/lib.c:
6587 added long/short desc for controller docs
6588 added collectpads base class docs
6589 added correct includes to base-class docs
6591 2005-08-05 Stefan Kost <ensonic@users.sf.net>
6593 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
6594 (gst_test_mono_source_set_property),
6595 (gst_test_mono_source_class_init), (GST_START_TEST),
6596 (gst_controller_suite):
6597 * docs/gst/gstreamer-docs.sgml:
6598 * docs/gst/gstreamer-sections.txt:
6599 * docs/gst/gstreamer.types:
6600 * docs/libs/gstreamer-libs-docs.sgml:
6601 * docs/libs/gstreamer-libs-sections.txt:
6602 * gst/base/gstadapter.c:
6603 * libs/gst/controller/gst-controller.c:
6604 (gst_controlled_property_new), (gst_controlled_property_free),
6605 (gst_controller_new_valist),
6606 (gst_controller_remove_properties_valist),
6607 (gst_controller_sink_values), (_gst_controller_finalize):
6608 * libs/gst/controller/gst-controller.h:
6609 * libs/gst/controller/gst-helper.c:
6610 (gst_object_control_properties), (gst_object_uncontrol_properties),
6611 (gst_object_get_controller), (gst_object_set_controller),
6612 (gst_object_sink_values), (gst_object_get_value_arrays),
6613 (gst_object_get_value_array):
6614 more tests (and fixes) for the controller
6615 more docs for the controller
6616 integrated companies docs for the adapter
6618 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
6620 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
6621 (GST_START_TEST), (fakesrc_suite):
6622 add tests for sizetype
6624 2005-08-04 Andy Wingo <wingo@pobox.com>
6626 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
6627 fixes buffer_alloc proxying among other things.
6629 * gst/base/gstbasetransform.c:
6630 * gst/base/gstbasetransform.h:
6631 Revert patch to gstbasetransform from 7-28 removing
6634 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
6635 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
6636 Semantics changed, should return not the size of the output buffer
6637 but the byte size of a buffer with a given caps.
6639 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
6641 (gst_base_transform_configure_caps): Don't set out_size here: (in,
6642 out) are not the pad caps until setcaps finishes.
6643 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
6644 not-in-place case as well. Deal with changing from in-place to
6645 not-in-place within calling pad_alloc_buffer. Still a bit
6646 concerned about the overhead here...
6648 2005-08-03 Andy Wingo <wingo@pobox.com>
6650 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
6651 fixating is an error.
6653 2005-08-04 Edward Hervey <edward@fluendo.com>
6655 * gst/base/gstadapter.h:
6656 Added gst_adapter_get_type() to the header
6658 2005-08-03 Stefan Kost <ensonic@users.sf.net>
6660 * check/Makefile.am:
6661 * check/gst-libs/controller.c:
6662 * libs/gst/controller/gst-controller.c:
6663 (gst_controller_new_valist):
6664 added check test suite for the controller
6665 * gst/base/gstpushsrc.c:
6668 2005-08-03 Stefan Kost <ensonic@users.sf.net>
6670 * docs/gst/Makefile.am:
6671 * docs/gst/gstreamer-docs.sgml:
6672 * docs/gst/gstreamer-sections.txt:
6673 * docs/gst/gstreamer.types:
6674 * docs/gst/tmpl/gstfakesrc.sgml:
6676 * gst/base/gstbasesink.c:
6677 * gst/base/gstbasesink.h:
6678 * gst/base/gstbasesrc.c:
6679 * gst/base/gstbasesrc.h:
6680 * gst/base/gstbasetransform.c:
6681 * gst/base/gstpushsrc.c:
6682 * gst/base/gstpushsrc.h:
6683 add short/long description docs to base classes
6684 add pushsrc to the docs
6685 remove consolidated doc fragments
6687 2005-08-03 Stefan Kost <ensonic@users.sf.net>
6690 * docs/libs/Makefile.am:
6691 * docs/libs/gstreamer-libs-docs.sgml:
6692 * docs/libs/gstreamer-libs-sections.txt:
6693 * docs/libs/gstreamer-libs.types:
6694 * examples/Makefile.am:
6695 * examples/controller/.cvsignore:
6696 * examples/controller/Makefile.am:
6697 * examples/controller/audio-example.c: (main):
6698 * libs/gst/Makefile.am:
6699 * libs/gst/controller/.cvsignore:
6700 * libs/gst/controller/Makefile.am:
6701 * libs/gst/controller/gst-controller.c:
6702 (on_object_controlled_property_changed), (gst_timed_value_compare),
6703 (gst_timed_value_find),
6704 (gst_controlled_property_set_interpolation_mode),
6705 (gst_controlled_property_new), (gst_controlled_property_free),
6706 (gst_controller_find_controlled_property),
6707 (gst_controller_new_valist), (gst_controller_new),
6708 (gst_controller_remove_properties_valist),
6709 (gst_controller_remove_properties), (gst_controller_set),
6710 (gst_controller_set_from_list), (gst_controller_unset),
6711 (gst_controller_get), (gst_controller_get_all),
6712 (gst_controller_sink_values), (gst_controller_get_value_arrays),
6713 (gst_controller_get_value_array),
6714 (gst_controller_set_interpolation_mode),
6715 (_gst_controller_finalize), (_gst_controller_init),
6716 (_gst_controller_class_init), (gst_controller_get_type):
6717 * libs/gst/controller/gst-controller.h:
6718 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
6719 (g_object_uncontrol_properties), (g_object_get_controller),
6720 (g_object_set_controller), (g_object_sink_values),
6721 (g_object_get_value_arrays), (g_object_get_value_array):
6722 * libs/gst/controller/gst-interpolation.c:
6723 (gst_controlled_property_find_timed_value_node),
6724 (interpolate_none_get), (interpolate_trigger_get),
6725 (interpolate_trigger_get_value_array):
6726 * libs/gst/controller/lib.c: (gst_controller_init):
6727 * pkgconfig/Makefile.am:
6728 * pkgconfig/gstreamer-control-uninstalled.pc.in:
6729 * pkgconfig/gstreamer-control.pc.in:
6730 * testsuite/Makefile.am:
6731 * testsuite/controller/.cvsignore:
6732 * testsuite/controller/Makefile.am:
6733 * testsuite/controller/interpolator.c: (main):
6734 added controller code
6735 removed dparam pc files
6737 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
6738 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
6739 (gst_collectpads_stop):
6740 Broadcast the condition when shutting down, to make sure we wake all
6741 threads up. Shut down pads on finalize, for safety.
6743 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
6744 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6745 (gst_base_transform_handle_buffer),
6746 (gst_base_transform_change_state):
6747 Handle PAUSED->READY->PAUSED transition after negotiation
6749 * gst/gstmessage.c: (gst_message_init):
6750 Extra piece of debug for new messages.
6752 2005-08-01 Stefan Kost <ensonic@users.sf.net>
6755 * docs/gst/tmpl/gstbasesrc.sgml:
6756 * docs/gst/tmpl/gstelement.sgml:
6757 * docs/gst/tmpl/gstevent.sgml:
6758 * docs/gst/tmpl/gstfakesrc.sgml:
6759 * docs/gst/tmpl/gstformat.sgml:
6760 * docs/gst/tmpl/gstghostpad.sgml:
6761 * docs/gst/tmpl/gstpad.sgml:
6762 * docs/gst/tmpl/gstquery.sgml:
6763 * docs/gst/tmpl/gststructure.sgml:
6764 * docs/gst/tmpl/gsttaglist.sgml:
6765 * docs/gst/tmpl/gstvalue.sgml:
6766 * docs/libs/gstreamer-libs-docs.sgml:
6767 * docs/libs/gstreamer-libs-sections.txt:
6768 * docs/libs/gstreamer-libs.types:
6769 * libs/gst/Makefile.am:
6770 * libs/gst/control/.cvsignore:
6771 * libs/gst/control/Makefile.am:
6772 * libs/gst/control/control.c:
6773 * libs/gst/control/control.h:
6774 * libs/gst/control/dparam.c:
6775 * libs/gst/control/dparam.h:
6776 * libs/gst/control/dparam_smooth.c:
6777 * libs/gst/control/dparam_smooth.h:
6778 * libs/gst/control/dparamcommon.h:
6779 * libs/gst/control/dparammanager.c:
6780 * libs/gst/control/dparammanager.h:
6781 * libs/gst/control/dplinearinterp.c:
6782 * libs/gst/control/dplinearinterp.h:
6783 * libs/gst/control/unitconvert.c:
6784 * libs/gst/control/unitconvert.h:
6785 * testsuite/Makefile.am:
6786 * testsuite/dynparams/.cvsignore:
6787 * testsuite/dynparams/Makefile.am:
6788 * testsuite/dynparams/dparamstest.c:
6789 * tools/Makefile.am:
6790 * tools/gst-inspect.c: (print_element_info), (main):
6791 * tools/gst-xmlinspect.c: (print_element_info), (main):
6792 deactivate and remove dparams (libgstcontrol)
6794 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
6796 * gst/elements/gsttypefindelement.c:
6797 (gst_type_find_element_have_type), (gst_type_find_element_init),
6798 (stop_typefinding), (gst_type_find_element_handle_event),
6799 (gst_type_find_element_chain), (gst_type_find_element_getrange):
6800 * gst/elements/gsttypefindelement.h:
6801 Set caps on all outgoing buffers, not just the first one.
6803 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
6805 * gst/elements/gsttypefindelement.c:
6806 (gst_type_find_element_have_type),
6807 (gst_type_find_element_check_set_buffer_caps),
6808 (gst_type_find_element_init), (stop_typefinding),
6809 (gst_type_find_element_handle_event),
6810 (gst_type_find_element_chain), (gst_type_find_element_getrange):
6811 * gst/elements/gsttypefindelement.h:
6812 Set caps on first outgoing buffer when we've found the type.
6814 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
6816 * docs/gst/gstreamer-docs.sgml:
6817 * docs/gst/gstreamer-sections.txt:
6818 * docs/gst/tmpl/gstscheduler.sgml:
6819 * docs/gst/tmpl/gstschedulerfactory.sgml:
6820 Remove some old cruft from docs.
6822 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
6825 Fix inline docs for GstPadLinkReturn.
6827 * gst/gststructure.c: (gst_structure_has_name):
6828 * gst/gststructure.h:
6829 * docs/gst/gstreamer-sections.txt:
6830 New API: gst_structure_has_name().
6832 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
6835 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
6836 and _LARGEFILE_SOURCE in config.h as required. Do not
6837 export those flags in our .pc files any longer (#142209).
6839 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
6841 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
6842 (gst_file_sink_do_seek), (gst_file_sink_event),
6843 (gst_file_sink_get_current_offset), (gst_file_sink_render):
6844 Redo seek/tell calls with large file support in mind; add some
6845 debugging messages; add log message that tells us when large
6846 file support is unavailable or not enabled for some reason.
6848 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
6849 Add log message that tells us when large file support
6850 is unavailable or not enabled for some reason.
6852 2005-07-29 Wim Taymans <wim@fluendo.com>
6854 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
6855 Added test for removing an element with ghostpad from a bin.
6856 Fixed test as current implementation does the right thing.
6858 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
6859 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
6860 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
6861 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
6862 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
6863 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
6864 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
6865 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
6866 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
6867 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
6868 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
6869 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
6870 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
6871 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
6872 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
6873 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
6874 * gst/gstghostpad.h:
6875 Clean up ghostpads, remove properties for internal stuff.
6878 Prepare for switching targets, not all use cases work yet.
6880 2005-07-29 Wim Taymans <wim@fluendo.com>
6882 * docs/design/part-gstghostpad.txt:
6885 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
6886 (gst_bin_remove_func):
6887 Unlinking pads while holding the bin LOCK is not a good
6890 * gst/gstpad.c: (gst_pad_class_init),
6891 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
6892 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
6893 No prob setting template after creating the pad.
6895 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
6897 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
6898 (gst_bus_peek), (gst_bus_source_dispatch),
6899 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
6900 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
6901 gst_bus_poll may be called from other threads. Handle
6902 this nicely by not making poll_data disappear off the
6903 stack once gst_bus_poll returns.
6904 gst_bus_peek now increments the refcount on the returned
6907 2005-07-29 Wim Taymans <wim@fluendo.com>
6909 * docs/design/part-gstghostpad.txt:
6910 Overview of current GhostPad datastructures and use
6911 cases for changing the target.
6913 2005-07-28 Wim Taymans <wim@fluendo.com>
6915 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6916 Added checks for hierarchy consistency whan adding linked
6919 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
6920 Added check to test element scheduling without bin/pipeline.
6922 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
6923 First add elements to bin, then link.
6925 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
6926 (gst_bin_remove_func):
6927 Unlink pads from elements added/removed from bin to maintain
6928 hierarchy consistency.
6930 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6932 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6933 (gst_base_transform_handle_buffer):
6934 * gst/base/gstbasetransform.h:
6935 Remove broken delay_configure (fixes renegotiation of software
6936 scaling pipelines); remove some leftover printf()s.
6938 2005-07-28 Wim Taymans <wim@fluendo.com>
6940 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
6941 Added some more tests for wrong hierarchy
6943 * docs/design/part-overview.txt:
6946 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
6949 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
6950 (gst_element_dispose):
6953 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
6954 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
6955 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6956 (gst_pad_set_caps), (gst_pad_send_event):
6957 Check for correct hierarchy when linking pads. Moving to
6958 strict requirement for ghostpads when linking elements in
6962 Clean ups. Added WRONG_HIERARCHY return value.
6964 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6966 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
6967 Better debug if no transform is possible.
6969 2005-07-27 Wim Taymans <wim@fluendo.com>
6971 * docs/random/wtay/network-transp:
6974 2005-07-27 Wim Taymans <wim@fluendo.com>
6976 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
6977 (gst_dp_event_from_packet):
6978 Fix serialization of seek events.
6980 2005-07-27 Wim Taymans <wim@fluendo.com>
6982 * check/gst-libs/gdp.c: (GST_START_TEST):
6983 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
6984 Fix compilation and fix event serialization.
6986 2005-07-27 Wim Taymans <wim@fluendo.com>
6989 * docs/design/part-TODO.txt:
6990 * docs/design/part-events.txt:
6993 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6994 (gst_base_sink_event), (gst_base_sink_do_sync),
6995 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
6996 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6997 (gst_base_src_do_seek), (gst_base_src_event_handler),
6998 (gst_base_src_loop):
6999 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7000 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7001 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7002 (gst_base_transform_event), (gst_base_transform_handle_buffer),
7003 (gst_base_transform_set_passthrough),
7004 (gst_base_transform_is_passthrough):
7005 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
7006 * gst/elements/gstfilesink.c: (gst_file_sink_event):
7012 * gst/gstelement.c: (gst_element_seek):
7014 Update gst_element_seek.
7016 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
7017 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
7018 (gst_event_new_flush_start), (gst_event_new_flush_stop),
7019 (gst_event_new_eos), (gst_event_new_newsegment),
7020 (gst_event_parse_newsegment), (gst_event_new_tag),
7021 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
7022 (gst_event_parse_qos), (gst_event_new_seek),
7023 (gst_event_parse_seek), (gst_event_new_navigation):
7025 Make GstEvent use GstStructure. Add parsing code, make sure the
7026 API is sufficiently generic.
7027 Mark possible directions of events and serialization.
7029 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
7030 (_gst_message_copy), (gst_message_new_segment_start),
7031 (gst_message_new_segment_done), (gst_message_new_custom),
7032 (gst_message_parse_segment_start),
7033 (gst_message_parse_segment_done):
7036 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7037 (gst_pad_set_caps), (gst_pad_send_event):
7038 Update for new events.
7039 Catch events sent in wrong directions.
7041 * gst/gstqueue.c: (gst_queue_link_src),
7042 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
7043 (gst_queue_handle_src_query):
7048 Remove event code from this file.
7050 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7051 (gst_dp_event_from_packet):
7054 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7056 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
7057 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7058 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
7059 Make debugging actually useful.
7061 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7063 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
7064 (gst_pad_fixate_caps):
7065 Implement default fixation once again, so that gst_pad_fixate()
7066 actually does anything at all. This probably needs to be some
7067 sort of a last resort, and use profile-based fixation first, but
7068 since that doesn't exist yet, this is the best we have. Fixes
7069 visualization in Totem.
7071 2005-07-22 Wim Taymans <wim@fluendo.com>
7073 * docs/design/part-events.txt:
7076 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7077 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
7078 (gst_base_sink_activate_pull):
7081 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
7082 (gst_fake_src_create):
7083 Fix handoff marshall.
7085 * gst/elements/gstidentity.c: (gst_identity_class_init),
7086 (gst_identity_transform_ip):
7087 We're a real inplace element.
7089 * gst/gstbus.c: (gst_bus_post):
7090 Added some comments.
7092 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
7093 * tests/muxing/case1.c: (main):
7094 * tests/sched/dynamic-pipeline.c: (main):
7095 * tests/sched/interrupt1.c: (main):
7096 * tests/sched/interrupt2.c: (main):
7097 * tests/sched/interrupt3.c: (main):
7098 * tests/sched/runxml.c: (main):
7099 * tests/sched/sched-stress.c: (main):
7100 * tests/seeking/seeking1.c: (event_received), (main):
7101 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
7103 * tests/threadstate/threadstate3.c: (main):
7104 * tests/threadstate/threadstate4.c: (main):
7105 * tests/threadstate/threadstate5.c: (main):
7108 2005-07-21 Wim Taymans <wim@fluendo.com>
7110 * docs/design/part-seeking.txt:
7111 Some small additions.
7113 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7114 (gst_base_sink_get_times), (gst_base_sink_do_sync),
7115 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
7116 * gst/base/gstbasesink.h:
7117 discont values are gint64, handle the math correctly.
7119 * gst/base/gstbasesrc.c: (gst_base_src_loop):
7120 Make the basesrc report error if the source pad is not linked.
7122 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
7123 (gst_queue_loop), (gst_queue_handle_src_query),
7124 (gst_queue_src_activate_push):
7125 Make queue collect data even if the srcpad is not linked.
7126 Start pushing out data as soon as it is linked.
7128 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
7130 Added gst_flow_get_name() to ease error reporting.
7132 2005-07-20 Wim Taymans <wim@fluendo.com>
7134 * gst/gstmessage.c: (gst_message_new_segment_start),
7135 (gst_message_new_segment_done), (gst_message_parse_segment_start),
7136 (gst_message_parse_segment_done):
7138 Added a bunch of messages for advanced seeking.
7140 * gst/parse/grammar.y:
7141 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
7142 (gst_dpman_state_changed):
7143 Fix some new-pad -> pad-added signals
7145 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7147 * docs/manual/appendix-porting.xml:
7148 * docs/pwg/appendix-porting.xml:
7149 Document new-pad/state-change signal renames and the FixedList
7152 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7154 * docs/manual/advanced-autoplugging.xml:
7155 * docs/manual/basics-helloworld.xml:
7156 * docs/manual/basics-pads.xml:
7157 * docs/random/ds/0.9-suggested-changes:
7158 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
7163 * gst/gststructure.c: (gst_structure_value_get_generic_type),
7164 (gst_structure_parse_array), (gst_structure_parse_value):
7165 * gst/gstvalue.c: (gst_type_is_fixed),
7166 (gst_value_list_prepend_value), (gst_value_list_append_value),
7167 (gst_value_list_get_size), (gst_value_list_get_value),
7168 (gst_value_transform_array_string), (gst_value_serialize_array),
7169 (gst_value_deserialize_array), (gst_value_intersect_array),
7170 (gst_value_is_fixed), (_gst_value_initialize):
7172 GstElement::new-pad -> pad-added, GstElement::state-change ->
7173 state-changed, GstValueFixedList -> GstValueArray, add format and
7174 flags as their own arguments in gst_element_seek() (should improve
7175 "bindeability"), remove function generators since they don't work
7176 under a whole bunch of compilers (they were deprecated already
7179 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7181 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
7182 (_gst_debug_register_funcptr):
7184 Fix illegal cast on some platforms (#309253).
7186 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7188 * gst/gstmessage.c: (gst_message_new_custom):
7190 Add _new_custom, make _new_application a macro to _new_custom.
7192 2005-07-20 Wim Taymans <wim@fluendo.com>
7194 * gst/base/gstbasesrc.c: (gst_base_src_init),
7195 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
7196 * gst/base/gstbasesrc.h:
7197 Add a gboolean to decide when to push out a discont.
7199 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
7200 (gst_queue_loop), (gst_queue_handle_src_query),
7201 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
7202 (gst_queue_set_property), (gst_queue_get_property):
7205 * tests/threadstate/threadstate1.c: (main):
7206 Make a thread test compile and run... very silly..
7209 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7211 * docs/manual/appendix-porting.xml:
7212 Mention removal of libgstgconf-0.9.la and existence of gconf
7215 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7217 * docs/pwg/advanced-clock.xml:
7218 * docs/pwg/appendix-porting.xml:
7219 * docs/pwg/intro-preface.xml:
7220 * docs/pwg/other-base.xml:
7221 * docs/pwg/other-manager.xml:
7222 * docs/pwg/other-nton.xml:
7223 * docs/pwg/other-ntoone.xml:
7224 * docs/pwg/other-oneton.xml:
7226 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
7227 demuxer), remove n-to-n (was never written), fix some code examples
7228 and links and update the porting section to include all this.
7230 2005-07-19 Wim Taymans <wim@fluendo.com>
7232 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
7233 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
7234 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
7235 (gst_queue_src_activate_push), (gst_queue_change_state),
7236 (gst_queue_get_property):
7238 Propagate GstFlowReturn more intelligently upstream and output
7239 an ERROR/EOS when streaming stopped due to fatal error.
7241 2005-07-19 Wim Taymans <wim@fluendo.com>
7243 * tools/gst-launch.c: (check_intr), (event_loop), (main):
7244 Don't block forever for the state change to complete, the
7245 pipeline already did with a sensible timeout.
7247 2005-07-19 Wim Taymans <wim@fluendo.com>
7249 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
7250 Make sure we never call the create function is we
7253 2005-07-19 Andy Wingo <wingo@pobox.com>
7255 * gst/parse/parse.l: Attempt to solve bug #172815.
7257 2005-07-19 Wim Taymans <wim@fluendo.com>
7259 * docs/design/part-clocks.txt:
7260 * docs/design/part-events.txt:
7261 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
7263 Only update the seeking values when we are not
7266 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
7268 * gst/base/gstbasesrc.c: (gst_base_src_loop):
7269 Oops, ignore the result of gst_pad_push_event here.
7271 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
7273 * gst/base/gstbasesrc.c: (gst_base_src_loop),
7274 (gst_base_src_activate_push):
7275 Send discont event from the loop function, as pads
7276 aren't activated yet in the activate_push handler.
7278 * gst/gstbin.c: (bin_bus_handler):
7279 Don't leak element name.
7281 2005-07-18 Andy Wingo <wingo@pobox.com>
7283 * configure.ac: Use AS_LIBTOOL_TAGS.
7285 2005-07-18 Wim Taymans <wim@fluendo.com>
7287 * docs/gst/gstreamer.types:
7288 Remove deleted types.
7290 2005-07-18 Wim Taymans <wim@fluendo.com>
7292 * check/elements/gstfakesrc.c: (GST_START_TEST):
7295 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
7296 (init_popt_callback):
7298 * gst/gst_private.h:
7299 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
7300 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
7303 * gst/gstconfig.h.in:
7304 * gst/gstelement.c: (gst_element_class_init),
7305 (gst_element_set_base_time), (gst_element_get_base_time),
7306 (iterator_fold_with_resync), (gst_element_change_state),
7307 (gst_element_dispose), (gst_element_get_bus):
7309 * gst/gstelementfactory.h:
7310 * gst/gsterror.c: (_gst_core_errors_init):
7313 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
7315 * gst/gstinfo.c: (_gst_debug_init):
7316 * gst/gstmessage.c: (_gst_message_copy):
7318 * gst/gstminiobject.h:
7321 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7322 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
7325 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
7326 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
7327 (gst_pipeline_get_last_stream_time):
7328 * gst/gstpipeline.h:
7329 * gst/gstpluginfeature.h:
7331 * gst/gstscheduler.c:
7332 * gst/gstscheduler.h:
7333 * gst/gststructure.h:
7334 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
7335 (gst_task_finalize), (gst_task_func), (gst_task_create),
7336 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
7337 (gst_task_stop), (gst_task_pause):
7339 * gst/gsttypefind.h:
7341 * gst/registries/gstlibxmlregistry.c: (load_feature),
7342 (gst_xml_registry_load), (gst_xml_registry_save_feature):
7343 * gst/registries/gstxmlregistry.c:
7344 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
7345 * gst/schedulers/threadscheduler.c:
7346 * libs/gst/control/dparammanager.h:
7347 * tools/gst-inspect.c: (print_element_list),
7348 (print_plugin_features), (print_element_features):
7349 * tools/gst-xmlinspect.c: (print_element_list),
7350 (print_plugin_info), (main):
7351 Removed plugable schedulers.
7352 Removed Scheduler/Manager from elements.
7353 Removed gsttypes.h, rearranged includes.
7354 Removed dependency pad<->element, element<>pipeline, and
7355 various others, fix includes.
7356 implement gst_pad_get_parent() with gst_object_get_parent()
7357 Make GstTask sefcontained.
7358 Fix _get_state() on GstBin, it did not return ASYNC with a 0
7360 Fix endless loop in iterator_fold_with_resync.
7363 2005-07-18 Wim Taymans <wim@fluendo.com>
7369 2005-07-18 Wim Taymans <wim@fluendo.com>
7374 2005-07-18 Wim Taymans <wim@fluendo.com>
7380 2005-07-18 Wim Taymans <wim@fluendo.com>
7382 * docs/design/part-dynamic.txt:
7383 * docs/design/part-events.txt:
7384 * docs/design/part-seeking.txt:
7385 Some more docs in the works.
7387 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7388 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
7389 (gst_base_transform_setcaps), (gst_base_transform_get_size),
7390 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
7391 (gst_base_transform_handle_buffer),
7392 (gst_base_transform_sink_activate_push),
7393 (gst_base_transform_src_activate_pull),
7394 (gst_base_transform_set_passthrough),
7395 (gst_base_transform_is_passthrough):
7398 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
7401 * gst/gstevent.c: (gst_event_finalize):
7404 * gst/gstutils.c: (gst_element_unlink),
7405 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
7406 (gst_pad_proxy_setcaps):
7408 Add _get_parent_element() to get a pads parent as an element.
7410 2005-07-18 Wim Taymans <wim@fluendo.com>
7412 * check/gst/gstbin.c: (GST_START_TEST):
7415 2005-07-18 Wim Taymans <wim@fluendo.com>
7417 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
7418 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
7419 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
7420 (gst_base_sink_event), (gst_base_sink_do_sync),
7421 (gst_base_sink_chain), (gst_base_sink_loop),
7422 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
7423 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
7425 Fix logic for returning ASYNC when not prerolled.
7427 2005-07-18 Wim Taymans <wim@fluendo.com>
7429 * gst/gstqueue.c: (gst_queue_handle_sink_event):
7430 Fix nasty refcount bug.
7432 2005-07-16 Philippe Khalaf <burger@speedy.org>
7434 * gst/elements/gstfdsrc.c:
7435 * gst/elements/gstfdsrc.h:
7436 * gst/elements/gstelements.c:
7437 * gst/elements/Makefile.am:
7438 Ported fdsrc to 0.9.
7440 2005-07-16 Wim Taymans <wim@fluendo.com>
7442 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7443 (gst_base_sink_do_sync):
7446 2005-07-16 Wim Taymans <wim@fluendo.com>
7448 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7449 (gst_base_sink_event), (gst_base_sink_get_times),
7450 (gst_base_sink_do_sync), (gst_base_sink_change_state):
7451 * gst/base/gstbasesink.h:
7452 Store and use discont values when syncing buffers as described
7455 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7456 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
7457 (gst_base_src_activate_push):
7458 Push discont event when starting.
7460 * gst/elements/gstidentity.c: (gst_identity_transform):
7463 * gst/gstbin.c: (gst_bin_change_state):
7464 Small cleanups in base_time distribution.
7466 * gst/gstelement.c: (gst_element_set_base_time),
7467 (gst_element_get_base_time), (gst_element_change_state):
7469 Added methods for the base_time of the element.
7472 * gst/gstpipeline.c: (gst_pipeline_send_event),
7473 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
7474 (gst_pipeline_get_last_stream_time):
7475 * gst/gstpipeline.h:
7477 Handle seeking as described in design doc, remove stream_time
7479 Cleanups clock and stream_time selection code. Added accessors
7480 for the stream_time.
7483 2005-07-16 Andy Wingo <wingo@pobox.com>
7485 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
7488 2005-07-16 Wim Taymans <wim@fluendo.com>
7490 * check/gst/gstbin.c: (GST_START_TEST):
7491 Make elements silent as the deep_notify refs the
7492 parent, which might make the test fail.
7494 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
7495 Don't hold the lock for too long.
7497 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
7499 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
7500 Don't unref the caps we passed to gst_caps_make_writable() after
7501 passing them. gst_caps_make_writable() will do that for us.
7503 2005-07-15 Andy Wingo <wingo@pobox.com>
7505 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
7508 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
7509 own marshalling function for the handoff signal. Properly type the
7510 buffer as a buffer. Fixes some warnings. Should do a more general
7512 (gst_identity_class_init): Plug into the right marshaller.
7514 2005-07-15 Wim Taymans <wim@fluendo.com>
7516 * docs/design/part-TODO.txt:
7517 * docs/design/part-clocks.txt:
7518 * docs/design/part-element-sink.txt:
7519 * docs/design/part-events.txt:
7520 * docs/design/part-gstpipeline.txt:
7521 Updated docs, mostly DISCONT related.
7523 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
7525 * docs/pwg/building-pads.xml:
7526 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
7528 2005-07-15 Andy Wingo <wingo@pobox.com>
7530 * tools/gst-typefind.c: Update, add copyright block.
7532 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
7533 Normalize and truncate caps before fixation.
7536 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
7537 discards all but the first structure from its argument.
7539 2005-07-15 Wim Taymans <wim@fluendo.com>
7541 * gst/base/gstbasetransform.c: (gst_base_transform_init),
7542 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
7543 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7544 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7545 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
7546 (gst_base_transform_chain), (gst_base_transform_change_state),
7547 (gst_base_transform_set_passthrough),
7548 (gst_base_transform_is_passthrough):
7549 * gst/base/gstbasetransform.h:
7550 Make passthrough work using the bufferpools.
7551 Changed API a bit, subclasses have to write into a buffer
7552 provided by the base class.
7553 More debug info in nego functions.
7555 * gst/elements/gstidentity.c: (gst_identity_init),
7556 (gst_identity_transform):
7557 Port to new base class.
7559 2005-07-15 Wim Taymans <wim@fluendo.com>
7561 * gst/gstmessage.c: (gst_message_new_state_changed):
7562 * tools/gst-launch.c: (event_loop), (main):
7563 Totally dump messages in -launch with the -m option.
7564 Fix message name for State messages,
7566 2005-07-14 Wim Taymans <wim@fluendo.com>
7568 * gst/base/gstbasesrc.c: (gst_base_src_loop):
7569 Post error messages on errors.
7571 2005-07-14 Wim Taymans <wim@fluendo.com>
7573 * gst/gstcaps.c: (gst_caps_do_simplify):
7577 Define error for stream stopped.
7579 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7580 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
7581 Do proper return values.
7583 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7584 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
7585 (gst_pad_get_range):
7586 Better return values.
7589 Reorganise return values, add macro to check for fatal errors.
7591 * gst/gstqueue.c: (gst_queue_chain):
7592 Return proper GstFlowReturn values,
7594 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
7596 * docs/gst/gstreamer-sections.txt:
7597 * docs/gst/gstreamer.types:
7598 * docs/gst/tmpl/gst.sgml:
7599 * docs/gst/tmpl/gstbasesink.sgml:
7600 * docs/gst/tmpl/gstbasesrc.sgml:
7601 * docs/gst/tmpl/gstbasetransform.sgml:
7602 * docs/gst/tmpl/gstbin.sgml:
7603 * docs/gst/tmpl/gstbuffer.sgml:
7604 * docs/gst/tmpl/gstcaps.sgml:
7605 * docs/gst/tmpl/gstclock.sgml:
7606 * docs/gst/tmpl/gstcompat.sgml:
7607 * docs/gst/tmpl/gstconfig.sgml:
7608 * docs/gst/tmpl/gstelement.sgml:
7609 * docs/gst/tmpl/gstelementdetails.sgml:
7610 * docs/gst/tmpl/gstelementfactory.sgml:
7611 * docs/gst/tmpl/gstenumtypes.sgml:
7612 * docs/gst/tmpl/gsterror.sgml:
7613 * docs/gst/tmpl/gstevent.sgml:
7614 * docs/gst/tmpl/gstfakesink.sgml:
7615 * docs/gst/tmpl/gstfakesrc.sgml:
7616 * docs/gst/tmpl/gstfilesink.sgml:
7617 * docs/gst/tmpl/gstfilesrc.sgml:
7618 * docs/gst/tmpl/gstfilter.sgml:
7619 * docs/gst/tmpl/gstformat.sgml:
7620 * docs/gst/tmpl/gstghostpad.sgml:
7621 * docs/gst/tmpl/gstimplementsinterface.sgml:
7622 * docs/gst/tmpl/gstindex.sgml:
7623 * docs/gst/tmpl/gstindexfactory.sgml:
7624 * docs/gst/tmpl/gstinfo.sgml:
7625 * docs/gst/tmpl/gstiterator.sgml:
7626 * docs/gst/tmpl/gstmacros.sgml:
7627 * docs/gst/tmpl/gstmemchunk.sgml:
7628 * docs/gst/tmpl/gstminiobject.sgml:
7629 * docs/gst/tmpl/gstobject.sgml:
7630 * docs/gst/tmpl/gstpad.sgml:
7631 * docs/gst/tmpl/gstpadtemplate.sgml:
7632 * docs/gst/tmpl/gstparse.sgml:
7633 * docs/gst/tmpl/gstpipeline.sgml:
7634 * docs/gst/tmpl/gstplugin.sgml:
7635 * docs/gst/tmpl/gstpluginfeature.sgml:
7636 * docs/gst/tmpl/gstquery.sgml:
7637 * docs/gst/tmpl/gstqueue.sgml:
7638 * docs/gst/tmpl/gstregistry.sgml:
7639 * docs/gst/tmpl/gstregistrypool.sgml:
7640 * docs/gst/tmpl/gstscheduler.sgml:
7641 * docs/gst/tmpl/gstschedulerfactory.sgml:
7642 * docs/gst/tmpl/gststructure.sgml:
7643 * docs/gst/tmpl/gstsystemclock.sgml:
7644 * docs/gst/tmpl/gsttaglist.sgml:
7645 * docs/gst/tmpl/gsttagsetter.sgml:
7646 * docs/gst/tmpl/gsttrace.sgml:
7647 * docs/gst/tmpl/gsttrashstack.sgml:
7648 * docs/gst/tmpl/gsttypefind.sgml:
7649 * docs/gst/tmpl/gsttypefindfactory.sgml:
7650 * docs/gst/tmpl/gsttypes.sgml:
7651 * docs/gst/tmpl/gsturihandler.sgml:
7652 * docs/gst/tmpl/gsturitype.sgml:
7653 * docs/gst/tmpl/gstutils.sgml:
7654 * docs/gst/tmpl/gstvalue.sgml:
7655 * docs/gst/tmpl/gstversion.sgml:
7656 * docs/gst/tmpl/gstxml.sgml:
7657 * docs/libs/tmpl/gstcontrol.sgml:
7658 * docs/libs/tmpl/gstdataprotocol.sgml:
7659 * docs/libs/tmpl/gstdparam.sgml:
7660 * docs/libs/tmpl/gstdplinint.sgml:
7661 * docs/libs/tmpl/gstdpman.sgml:
7662 * docs/libs/tmpl/gstdpsmooth.sgml:
7663 * docs/libs/tmpl/gstgetbits.sgml:
7664 * docs/libs/tmpl/gstunitconvert.sgml:
7665 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
7666 (gst_push_src_base_init), (gst_push_src_class_init),
7667 (gst_push_src_init), (gst_push_src_create):
7668 * gst/base/gstpushsrc.h:
7669 * gst/elements/gstelements.c:
7670 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
7671 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
7672 (gst_fake_sink_init), (gst_fake_sink_set_property),
7673 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
7674 (gst_fake_sink_event), (gst_fake_sink_preroll),
7675 (gst_fake_sink_render), (gst_fake_sink_change_state):
7676 * gst/elements/gstfakesink.h:
7677 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
7678 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
7679 (gst_fake_src_base_init), (gst_fake_src_class_init),
7680 (gst_fake_src_init), (gst_fake_src_event_handler),
7681 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
7682 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
7683 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
7684 (gst_fake_src_create_buffer), (gst_fake_src_create),
7685 (gst_fake_src_start), (gst_fake_src_stop):
7686 * gst/elements/gstfakesrc.h:
7687 * gst/elements/gstfilesink.c: (_do_init),
7688 (gst_file_sink_base_init), (gst_file_sink_class_init),
7689 (gst_file_sink_init), (gst_file_sink_dispose),
7690 (gst_file_sink_set_location), (gst_file_sink_set_property),
7691 (gst_file_sink_get_property), (gst_file_sink_open_file),
7692 (gst_file_sink_close_file), (gst_file_sink_query),
7693 (gst_file_sink_event), (gst_file_sink_render),
7694 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
7695 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
7696 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
7697 * gst/elements/gstfilesink.h:
7698 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
7699 (gst_file_src_class_init), (gst_file_src_init),
7700 (gst_file_src_finalize), (gst_file_src_set_location),
7701 (gst_file_src_set_property), (gst_file_src_get_property),
7702 (gst_file_src_map_region), (gst_file_src_map_small_region),
7703 (gst_file_src_create_mmap), (gst_file_src_create_read),
7704 (gst_file_src_create), (gst_file_src_is_seekable),
7705 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
7706 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
7707 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
7708 (gst_file_src_uri_handler_init):
7709 * gst/elements/gstfilesrc.h:
7710 more autistic cleanliness in functions/names/defines
7712 2005-07-13 Andy Wingo <wingo@pobox.com>
7714 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
7715 source couldn't negotiate.
7717 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
7721 * gst/gstutils.c (gst_element_link_pads_filtered): New old
7722 function. I am channeling Hades. Put your boots on suckers!!!
7724 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
7726 * testsuite/caps/Makefile.am:
7727 * testsuite/caps/value_compare.c:
7728 * testsuite/caps/value_intersect.c:
7729 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7730 move two testsuite apps over to the check dir
7732 2005-07-12 Wim Taymans <wim@fluendo.com>
7734 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
7735 Added more debug info in the negotiate process.
7738 Prepare for segment playback.
7740 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
7746 * tools/gst-launch.c: (main):
7747 NULL pipeline on errors.
7749 2005-07-12 Andy Wingo <wingo@pobox.com>
7751 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
7752 not it comes from a malloc region. Make sure our copy gets freed.
7754 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
7756 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
7757 * check/gst/gstmessage.c: (GST_START_TEST):
7758 * check/gst/gststructure.c: (GST_START_TEST),
7759 (gst_structure_suite), (main):
7761 * gst/gstelement.c: (gst_element_message_full):
7762 clean up GError and debug string now that they get copied
7763 * gst/gstmessage.c: (gst_message_new_error),
7764 (gst_message_new_warning), (gst_message_parse_error),
7765 (gst_message_parse_warning):
7766 use GST_TYPE_G_ERROR for structure_new, and take copies of
7767 arguments, so that we don't mess up refcounting
7769 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
7771 * check/Makefile.am:
7772 add per-test valgrind targets
7773 * check/gst-libs/gdp.c: (GST_START_TEST),
7774 (gst_data_protocol_suite), (main):
7777 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
7779 * check/Makefile.am:
7780 instate more valgrindable tests
7781 * check/elements/gstfakesrc.c: (chain_func), (event_func),
7782 (GST_START_TEST), (fakesrc_suite):
7783 * check/gst/gstpad.c: (GST_START_TEST):
7784 * check/gst/gststructure.c: (GST_START_TEST):
7786 * docs/gst/tmpl/gstminiobject.sgml:
7787 * gst/gstpad.c: (gst_pad_finalize):
7788 fix the static mutex leak
7790 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
7792 * check/Makefile.am:
7793 add two more tests for valgrinding
7794 * check/gst/gstvalue.c: (GST_START_TEST):
7795 test refcount of deserialized buffer, found a leak
7796 * docs/gst/gstreamer-docs.sgml:
7797 * docs/gst/gstreamer-sections.txt:
7798 * docs/gst/gstreamer.types:
7799 * docs/gst/tmpl/gstminiobject.sgml:
7800 add miniobject to docs
7801 * gst/gstminiobject.c:
7803 * gst/gstvalue.c: (gst_value_deserialize_buffer),
7804 (gst_string_unwrap):
7805 fix a hard-to-find invalid write for one of the tests
7806 fix a leak for deserialized buffers
7808 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7810 * docs/pwg/advanced-events.xml:
7811 * docs/pwg/advanced-request.xml:
7812 * docs/pwg/advanced-scheduling.xml:
7813 * docs/pwg/appendix-porting.xml:
7814 * docs/pwg/building-boiler.xml:
7815 * docs/pwg/intro-preface.xml:
7816 * docs/pwg/other-ntoone.xml:
7817 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
7818 of example code and explanation for pad activation, loop() and
7819 getrange() functions and a bit more. Remove old comments pointing
7821 * examples/pwg/Makefile.am:
7822 Add loop/getrange examples.
7824 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
7827 check for valgrind binary + some fixes
7829 valgrind suppressions for the tests
7830 * check/Makefile.am:
7831 add a valgrind: target that valgrinds the unit tests
7832 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
7833 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
7834 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7835 * check/gst/gstghostpad.c:
7837 * check/gst/gstdata.c:
7839 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
7840 (thread_unref), (gst_mini_object_suite), (main):
7842 * gst/gst.c: (gst_deinit):
7844 add a method to clean up.
7845 * gst/gstsystemclock.c: (gst_system_clock_dispose),
7846 (gst_system_clock_obtain):
7847 allow for disposing the system clock.
7848 * tools/gst-launch.c: (main):
7851 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
7853 * docs/gst/tmpl/gstbasesrc.sgml:
7854 * docs/gst/tmpl/gstfakesrc.sgml:
7855 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
7856 (gst_base_src_init), (gst_base_src_set_property),
7857 (gst_base_src_get_property), (gst_base_src_get_range),
7858 (gst_base_src_start):
7859 * gst/base/gstbasesrc.h:
7860 add num-buffers property
7861 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7862 (gst_fakesrc_init), (gst_fakesrc_set_property),
7863 (gst_fakesrc_get_property), (gst_fakesrc_create),
7864 (gst_fakesrc_start):
7865 remove num-buffers property
7867 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
7869 * docs/gst/gstreamer-sections.txt:
7870 * docs/gst/tmpl/gstbasesink.sgml:
7871 * docs/gst/tmpl/gstbasesrc.sgml:
7872 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
7873 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
7874 (gst_base_sink_finalize), (gst_base_sink_set_clock),
7875 (gst_base_sink_set_property), (gst_base_sink_get_property),
7876 (gst_base_sink_handle_object), (gst_base_sink_event),
7877 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
7878 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
7879 (gst_base_sink_loop), (gst_base_sink_deactivate),
7880 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
7881 (gst_base_sink_change_state):
7882 * gst/base/gstbasesink.h:
7883 * gst/base/gstbasesrc.h:
7884 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
7885 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
7886 (gst_filesink_init):
7887 more macro splitting
7889 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
7891 * gst/gstelement.c: (gst_element_get_bus):
7893 * tools/gst-launch.c: (check_intr), (event_loop):
7896 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
7898 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
7901 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
7903 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
7904 (gst_base_src_finalize):
7905 add finalize method and clean up properly
7906 * gst/gstpipeline.c: (gst_pipeline_dispose):
7909 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
7911 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
7913 add more things to check
7914 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
7918 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
7920 * check/elements/gstfakesrc.c: (chain_func), (event_func),
7921 (GST_START_TEST), (fakesrc_suite):
7922 * check/gst-libs/gdp.c: (GST_START_TEST):
7923 * check/gst/gst.c: (GST_START_TEST):
7924 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7925 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7926 * check/gst/gstbus.c: (GST_START_TEST):
7927 * check/gst/gstcaps.c: (GST_START_TEST):
7928 * check/gst/gstdata.c: (GST_START_TEST):
7929 * check/gst/gstelement.c: (GST_START_TEST):
7930 * check/gst/gstghostpad.c: (GST_START_TEST):
7931 * check/gst/gstiterator.c: (GST_START_TEST):
7932 * check/gst/gstmessage.c: (GST_START_TEST):
7933 * check/gst/gstobject.c: (GST_START_TEST):
7934 * check/gst/gstpad.c: (GST_START_TEST):
7935 * check/gst/gststructure.c: (GST_START_TEST):
7936 * check/gst/gstsystemclock.c: (GST_START_TEST),
7937 (gst_systemclock_suite):
7938 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7939 * check/gst/gstvalue.c: (GST_START_TEST):
7940 * check/pipelines/cleanup.c: (GST_START_TEST):
7941 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
7942 * check/states/sinks.c: (GST_START_TEST):
7943 * check/gstcheck.c: (gst_check_init):
7945 add debugging category
7946 use GST_START_TEST now, so we add a debug line
7948 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
7950 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
7951 add test for state change message on a bin
7952 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
7954 * gst/gstbin.c: (gst_bin_init):
7955 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
7956 * gst/gstelement.c: (gst_element_post_message),
7957 (gst_element_set_state):
7958 * gst/gstelementfactory.c: (gst_element_factory_create):
7959 * gst/gstmessage.c: (gst_message_new):
7960 * gst/gstscheduler.c:
7961 various debugging additions and cleanups
7963 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
7965 * check/Makefile.am:
7966 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
7968 adding tests for elements
7969 * gst/gstelement.c: (gst_element_dispose):
7971 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
7973 * gst/registries/gstlibxmlregistry.c: (load_feature):
7974 plug more leaks. A simple gst_init() now is leakfree, yay.
7976 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
7978 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
7979 (gst_xml_registry_load):
7980 plug another memleak
7982 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
7985 use GST_SET_ERROR_CFLAGS
7987 change to ERROR_CFLAGS
7989 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
7992 make GST_ERROR_CFLAGS overridable and re-enable Werror
7994 add a note about error CFLAGS
7995 * docs/gst/tmpl/gstfakesrc.sgml:
7996 * gst/elements/gstfakesrc.c:
7997 comment out some unused code
7998 * gst/gst.c: (split_and_iterate):
7999 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
8003 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
8005 * common/Makefile.am:
8006 * common/gtk-doc.mak:
8007 * docs/gst/Makefile.am:
8008 factor out gtk-doc.mak
8010 2005-07-07 Wim Taymans <wim@fluendo.com>
8012 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
8013 (gst_thread_scheduler_dispose):
8014 Unlock the STREAM_LOCK completely.
8016 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
8018 * check/Makefile.am:
8019 * check/elements/.cvsignore:
8020 * check/elements/gstfakesrc.c: (chain_func), (event_func),
8021 (START_TEST), (fakesrc_suite), (main):
8022 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8023 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
8024 (gst_fakesrc_create), (gst_fakesrc_start):
8025 * gst/elements/gstfakesrc.h:
8026 adding a first element test
8028 2005-07-07 Andy Wingo <wingo@pobox.com>
8030 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
8033 2005-07-07 Wim Taymans <wim@fluendo.com>
8039 2005-07-07 Wim Taymans <wim@fluendo.com>
8041 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
8042 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
8043 Allow subclasses to implement their own negotiation.
8045 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
8047 * docs/design/part-gstbin.txt:
8048 * docs/design/part-gstpipeline.txt:
8049 Update design notes to reflect the movement of
8050 responsibility for bus handling from GstPipeline to
8053 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
8056 Remove unnecessary queue2/3/4 examples.
8058 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
8060 * examples/Makefile.am:
8061 * examples/helloworld/helloworld.c: (event_loop), (main):
8062 * examples/queue/queue.c: (event_loop), (main):
8063 * examples/queue2/queue2.c: (main):
8064 Update a couple of the examples to work again.
8066 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8067 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
8068 Spelling corrections and extra debug.
8070 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
8071 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
8072 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
8074 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
8075 (gst_pipeline_change_state):
8076 * gst/gstpipeline.h:
8077 Move the bus handler for children to the GstBin, and create a
8078 separate bus for receiving messages from children to the one the
8079 bus sends 'upwards' on.
8081 2005-07-06 Wim Taymans <wim@fluendo.com>
8084 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8085 (gst_base_sink_handle_object), (gst_base_sink_loop),
8086 (gst_base_sink_change_state):
8087 * gst/base/gstbasesink.h:
8088 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8089 (gst_base_src_init), (gst_base_src_setcaps),
8090 (gst_base_src_getcaps), (gst_base_src_loop),
8091 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
8092 (gst_base_src_start), (gst_base_src_change_state):
8093 * gst/base/gstbasesrc.h:
8094 Make basesrc negotiate.
8095 Handle the case where preroll fails in basesink.
8098 2005-07-06 Wim Taymans <wim@fluendo.com>
8100 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
8101 Implement the fixate function.
8102 Clean up acceptcaps.
8104 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8106 * docs/pwg/building-filterfactory.xml:
8108 Remove never-written filter-factory chapter; I'll add the various
8109 base classes to part 4 ("other element types") later on.
8111 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8113 * docs/pwg/advanced-negotiation.xml:
8114 * docs/pwg/building-boiler.xml:
8115 * docs/pwg/building-pads.xml:
8117 * examples/pwg/Makefile.am:
8118 Add a chapter on caps negotiation, simplify the original code
8119 samples a bit w.r.t. caps negotiation, add link to the advanced
8120 section. Add a bunch of examples showing different use cases of
8121 different types of caps negotiation. Upstream renegotiation isn't
8122 fully documented yet since nobody knows how that works.
8124 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
8126 * check/gst/gstpad.c:
8128 * gst/gstpad.c: (gst_pad_get_internal_links_default):
8129 if pad has no parent, return NULL as list of internal links
8131 2005-07-05 Andy Wingo <wingo@pobox.com>
8133 * gst/elements/gstfilesrc.c:
8134 * gst/elements/gstfakesrc.c:
8135 * gst/base/gstpushsrc.c:
8136 * gst/base/gstbasesrc.h:
8137 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
8139 2005-07-05 Stefan Kost <ensonic@users.sf.net>
8142 better report generation target (lcov needs a patch)
8144 2005-07-05 Andy Wingo <wingo@pobox.com>
8146 * gst/elements, testsuite: Null if we got it...
8148 2005-07-05 Wim Taymans <wim@fluendo.com>
8151 * libs/gst/dataprotocol/Makefile.am:
8152 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
8153 * libs/gst/dataprotocol/dataprotocol.h:
8154 * pkgconfig/Makefile.am:
8155 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
8156 * pkgconfig/gstreamer-dataprotocol.pc.in:
8157 Ported dataprotol to 0.9.
8158 Added pkgconfig files.
8160 2005-07-05 Andy Wingo <wingo@pobox.com>
8162 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
8163 Default to returning TRUE for the case when tranform_caps returns
8164 a fixed caps, like for identity or volume.
8166 * check/gst/gstbus.c (pound_bus_with_messages):
8167 * check/gst/gstmessage.c (START_TEST):
8168 * check/pipelines/simple_launch_lines.c (got_handoff): Application
8171 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
8172 logic weaks here: always run transform_caps, trying passthrough
8173 operation only if the original caps intersects with the transform.
8175 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
8176 source and sink caps.
8178 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
8179 Intersect the peer caps with the pad template before going into
8181 (gst_base_transform_transform_caps): More debugging.
8183 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
8186 2005-07-04 Edward Hervey <edward@fluendo.com>
8190 (gst_pad_add_*_probe): now returns the signal id for better wrapping
8193 2005-07-04 Andy Wingo <wingo@pobox.com>
8195 * check/gst/gstpad.c: Only set explicit caps on pads.
8197 2005-07-01 Andy Wingo <wingo@pobox.com>
8199 * tests/network-clock.scm: Commentary update.
8201 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
8202 Didn't really make sense, not implementable with basetransform,
8204 (gst_identity_transform): Unref inbuf via make_writable. Feeble
8205 attempt at implementing the sync property, needs an unlock method.
8207 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
8208 New func, by default returns the same caps (the identity
8210 (gst_base_transform_getcaps): Uses transform_caps to return
8212 (gst_base_transform_setcaps): Complicated logic to get caps on
8213 both pads, even if they are different, and to call set_caps once
8214 for every time both pads get their caps set.
8215 (gst_base_transform_handle_buffer): Give the ref to the transform
8216 function. Allows in-place modification of the buffer.
8218 * gst/base/gstbasetransform.h (transform_caps): New class method.
8219 Given caps on one side, what can I do on the other.
8220 (set_caps): Take two caps, one for each side of the element.
8223 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
8224 caps in place. This is safe because we can check the mutability of
8225 the caps, and a good idea because fixate functions are just called
8226 as a matter of last resort. (Not actually implemented.)
8227 (gst_pad_set_caps): If the caps we're setting is actually the same
8228 as the existing pad caps, just update the pointer without calling
8229 setcaps. Assert that caps is either NULL or fixed, as per the
8232 * gst/gstghostpad.c: Update for fixate changes.
8234 2005-07-02 Andy Wingo <wingo@pobox.com>
8237 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
8238 two refcounts makes it immutable, which is enough. Doc more.
8240 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
8242 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
8243 Put the mini_object into GValue as a mini_object,
8244 not a gpointer, since that's how we declared
8247 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8249 * examples/pwg/Makefile.am:
8252 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8254 * docs/pwg/building-testapp.xml:
8256 * examples/pwg/Makefile.am:
8259 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8262 * examples/Makefile.am:
8263 * examples/pwg/Makefile.am:
8264 * examples/pwg/extract.pl:
8265 Enable building the PWG examples.
8266 * docs/pwg/advanced-interfaces.xml:
8267 Add URI interface stub.
8268 * docs/pwg/advanced-types.xml:
8269 * docs/pwg/other-autoplugger.xml:
8270 * docs/pwg/appendix-porting.xml:
8272 Add porting guide (mostly stubs), remove autoplugging (see ADM).
8273 * docs/pwg/building-boiler.xml:
8274 * docs/pwg/building-chainfn.xml:
8275 * docs/pwg/building-pads.xml:
8276 * docs/pwg/building-props.xml:
8277 * docs/pwg/building-state.xml:
8278 * docs/pwg/building-testapp.xml:
8279 Update the building-*.xml parts for 0.9 changes. All examples
8280 code blocks compile in examples/pwg/*.
8282 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8284 * docs/manual/advanced-autoplugging.xml:
8285 * docs/manual/appendix-checklist.xml:
8286 * docs/manual/appendix-integration.xml:
8287 * docs/manual/highlevel-components.xml:
8288 Fix playbin/decodebin examples, update docs a bit, mention bus
8289 instead of signals in various places, mention kmplayer and
8290 kaffeine since they have a working GStreamer backend in the KDE
8293 2005-06-30 Wim Taymans <wim@fluendo.com>
8296 * docs/design/draft-ghostpads.txt:
8297 * docs/design/draft-push-pull.txt:
8298 * docs/design/draft-query.txt:
8299 * docs/design/part-TODO.txt:
8300 * docs/design/part-query.txt:
8301 Added CHANGES-0.9 doc, updated status of other docs.
8306 2005-06-30 Wim Taymans <wim@fluendo.com>
8308 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8309 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
8310 (gst_base_sink_change_state):
8311 * gst/base/gstbasesink.h:
8312 Some tweaks, only EOS and a buffer complete a preroll.
8314 2005-06-30 Andy Wingo <wingo@pobox.com>
8316 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
8317 activate_push down to the internal pad as well.
8319 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
8321 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8323 * gst/gsttaginterface.c:
8324 Some documentation fixes (#307394 and #307397).
8326 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
8328 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8330 * gst/gstvalue.c: (gst_value_intersect_list):
8331 Fix memleak (#309125).
8333 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8335 * docs/manual/advanced-dataaccess.xml:
8336 Fix fakesrc example to compile; doesn't work, bug somewhere...?
8337 * docs/manual/basics-pads.xml:
8338 Add reference for filtered caps to above chapter.
8340 2005-06-30 Wim Taymans <wim@fluendo.com>
8342 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
8343 (gst_bin_change_state):
8345 Lame attempt at making the state change function a bit
8348 2005-06-30 Wim Taymans <wim@fluendo.com>
8350 * docs/design/part-clocks.txt:
8351 * docs/design/part-element-sink.txt:
8352 * docs/design/part-events.txt:
8353 * docs/design/part-preroll.txt:
8354 * docs/design/part-states.txt:
8355 Some more tweeks and additions to the docs.
8357 2005-06-30 Wim Taymans <wim@fluendo.com>
8359 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
8360 (default_have_data), (gst_pad_class_init), (gst_pad_init),
8361 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
8362 (gst_pad_check_pull_range), (gst_pad_get_range),
8363 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
8365 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
8366 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
8367 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
8368 (gst_pad_remove_buffer_probe):
8369 Removed atomic operations, use existing LOCK.
8370 Move exception handling out of main code path.
8372 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8374 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
8375 (silly_return_true_function), (gst_pad_class_init),
8376 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
8377 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
8378 (gst_pad_send_event):
8379 Fix accumulator, add default value by using _emitv() instead
8380 of _emit() for signal emission.
8382 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8384 * docs/manual/advanced-dataaccess.xml:
8385 * examples/manual/Makefile.am:
8387 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
8390 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
8392 * gst/elements/gstfilesink.c: (gst_filesink_render):
8393 Simplify code so that we don't have to handle short
8394 writes and return GST_FLOW_ERROR if an error occured.
8396 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8398 * docs/gst/gstreamer-docs.sgml:
8401 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8403 * docs/gst/gstreamer-sections.txt:
8404 * docs/gst/tmpl/gstpad.sgml:
8405 * docs/gst/tmpl/gstprobe.sgml:
8407 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
8408 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
8409 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
8410 (gst_pad_push_event), (gst_pad_send_event):
8412 * gst/gstutils.c: (gst_pad_add_data_probe),
8413 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
8414 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
8415 (gst_pad_remove_buffer_probe):
8417 Remove old probes, add new g-signal-based probes and some utility
8420 2005-06-29 Edward Hervey <edward@fluendo.com>
8422 * gst/gstelementfactory.c:
8425 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
8426 the definition to the header file.
8428 2005-06-29 Andy Wingo <wingo@pobox.com>
8430 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
8431 plugins from the source directory.
8433 2005-06-29 Wim Taymans <wim@fluendo.com>
8435 * docs/gst/tmpl/gstbuffer.sgml:
8436 * docs/gst/tmpl/gstclock.sgml:
8437 Some fixings for blantently wrong text.
8439 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
8441 * check/Makefile.am:
8442 * gst/gst.c: (add_path_func), (init_pre):
8443 * gst/gstregistry.c: (gst_registry_add_path):
8444 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
8445 only scan the GST_PLUGIN_PATH locations, and not add
8448 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
8450 * docs/gst/gstreamer-sections.txt:
8451 * docs/gst/tmpl/gstbasesrc.sgml:
8458 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8460 * docs/manual/advanced-autoplugging.xml:
8461 Fix autoplugging example.
8463 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8465 * docs/manual/advanced-autoplugging.xml:
8466 * docs/manual/mime-world.fig:
8467 Try to get autoplugging working, fix type detection. Fix text
8468 in hello-world image.
8470 2005-06-29 Wim Taymans <wim@fluendo.com>
8472 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8473 (gst_base_sink_change_state):
8477 map SIGNAL and BROADCAST to the right function.
8480 Remove redundant braces.
8482 * gst/gstpad.c: (gst_pad_set_caps):
8483 Don't call setcaps function when reseting caps to NULL.
8485 * gst/gstsystemclock.c: (gst_system_clock_dispose),
8486 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
8487 (gst_system_clock_id_unschedule):
8488 Use BROADCAST as this is what we do.
8490 2005-06-29 Wim Taymans <wim@fluendo.com>
8492 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8493 We are actually prerolling before commiting the state
8496 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8498 * docs/manual/advanced-clocks.xml:
8499 * docs/manual/advanced-interfaces.xml:
8500 * docs/manual/advanced-metadata.xml:
8501 * docs/manual/advanced-position.xml:
8502 * docs/manual/advanced-schedulers.xml:
8503 * docs/manual/advanced-threads.xml:
8504 * docs/manual/appendix-porting.xml:
8505 * docs/manual/basics-bins.xml:
8506 * docs/manual/basics-bus.xml:
8507 * docs/manual/basics-elements.xml:
8508 * docs/manual/basics-helloworld.xml:
8509 * docs/manual/basics-pads.xml:
8510 * docs/manual/highlevel-components.xml:
8511 * docs/manual/manual.xml:
8512 * docs/manual/thread.fig:
8513 Update (until threads/scheduling) Application Development Manual;
8514 remove GstThread, add GstBus, add simple porting checklist, add
8515 documentation for tag writing, clocks, make all examples until this
8516 part compile and run.
8517 * examples/manual/Makefile.am:
8518 Update from changes to Application Development Manual; add bus
8519 example, remove thread example.
8521 2005-06-28 Wim Taymans <wim@fluendo.com>
8523 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
8524 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
8525 (gst_bus_source_dispatch):
8526 Add debugging messages.
8527 Make internal methods static.
8528 Handle the case where the bus is flushed in the handler.
8530 * gst/gstelement.c: (gst_element_get_bus):
8531 Fix refcount in _get_bus();
8533 * gst/gstpipeline.c: (gst_pipeline_change_state),
8534 (gst_pipeline_get_clock_func):
8535 Clock refcounting fixes.
8536 Handle the case where preroll timed out more gracefully.
8538 * gst/gstsystemclock.c: (gst_system_clock_dispose):
8539 Clean up the internal thread in dispose. This is needed
8540 for subclasses that actually get disposed.
8542 * gst/schedulers/threadscheduler.c:
8543 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
8544 (gst_thread_scheduler_dispose):
8545 Free thread pool in dispose.
8547 2005-06-28 Andy Wingo <wingo@pobox.com>
8549 * tests/network-clock-utils.scm (debug, print-event): New utils.
8551 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
8552 (*packet-loss*): Unified loss probability.
8553 (network-time): Report out-of-band events.
8555 * tests/plot-data: Add support for out-of-band events. Hack it
8556 into this script instead of passing it down the pipe; should fix
8559 2005-06-28 Wim Taymans <wim@fluendo.com>
8561 * docs/gst/gstreamer.types:
8562 * docs/gst/tmpl/gstbasesrc.sgml:
8563 * docs/gst/tmpl/gstpad.sgml:
8566 2005-06-28 Wim Taymans <wim@fluendo.com>
8568 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
8569 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
8570 (gst_proxy_pad_do_fixatecaps):
8571 Correctly proxy the check_pull_range function.
8573 2005-06-28 Andy Wingo <wingo@pobox.com>
8575 * tests/network-clock.scm: Removed need for slib.
8577 2005-06-28 Wim Taymans <wim@fluendo.com>
8579 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
8580 (gst_basesink_preroll_queue_flush):
8581 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
8582 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
8583 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
8584 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
8585 (gst_proxy_pad_set_property):
8588 * gst/gstqueue.c: (gst_queue_init):
8589 The deprecated pad loop function is removed now.
8591 2005-06-28 Andy Wingo <wingo@pobox.com>
8593 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
8594 New parameters, simulate network packet loss.
8596 * tests/network-clock-utils.scm: Initialize the RNG.
8598 2005-06-28 Wim Taymans <wim@fluendo.com>
8600 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
8601 (gst_basesink_event), (gst_basesink_deactivate):
8602 Flushing the preroll queue always needs to unlock the waiters.
8604 2005-06-28 Edward Hervey <edward@fluendo.com>
8606 * gst/gstpipeline.c: (gst_pipeline_send_event):
8607 Wheen a seek was successful on a pipeline, set the stream_time to the
8608 seek offset in order to have a synchronized stream_time.
8610 2005-06-28 Wim Taymans <wim@fluendo.com>
8612 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
8613 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
8614 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
8615 (gst_proxy_pad_do_fixatecaps):
8616 Call wrapper function instead of just calling the function
8617 pointers. This takes care of any locking and whatmore.
8619 2005-06-28 Wim Taymans <wim@fluendo.com>
8621 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
8622 (gst_pad_pull_range):
8624 CONNECTED -> LINKED.
8626 2005-06-28 Andy Wingo <wingo@pobox.com>
8628 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
8629 source-munging commit!!!
8631 * gst/gstobject.c (gst_object_unref, gst_object_ref)
8632 (gst_object_sink): Take gpointer arguments, not GstObject --
8633 avoids casts. Like GLib.
8635 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
8638 2005-06-27 Andy Wingo <wingo@pobox.com>
8640 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
8643 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
8644 returns a sorted copy of the trace list.
8645 (gst_alloc_trace_print_live): New API, only prints traces with
8646 live objects. Sort the list.
8647 (gst_alloc_trace_print_all): Sort the list.
8648 (gst_alloc_trace_print): Align columns.
8650 * gst/elements/gstttypefindelement.c:
8651 * gst/elements/gsttee.c:
8652 * gst/base/gstbasesrc.c:
8653 * gst/base/gstbasesink.c:
8654 * gst/base/gstbasetransform.c:
8655 * gst/gstqueue.c: Adapt for pad activation changes.
8657 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
8659 (gst_pipeline_dispose): Drop ref on sched.
8661 * gst/gstpad.c (gst_pad_init): Set the default activate func.
8662 (gst_pad_activate_default): Push mode by default.
8663 (pre_activate_switch, post_activate_switch): New stubs, things to
8664 do before and after switching activation modes on pads.
8665 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
8666 the pad's activate function to choose which mode to activate.
8667 Shortcut on deactivation and call the right function directly.
8668 (gst_pad_activate_pull): New API, (de)activates a pad in pull
8670 (gst_pad_activate_push): New API, same for push mode.
8671 (gst_pad_set_activate_function)
8672 (gst_pad_set_activatepull_function)
8673 (gst_pad_set_activatepush_function): Setters for new API.
8675 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
8676 Trace all miniobjects.
8677 (gst_mini_object_make_writable): Unref the arg if we copy, like
8678 gst_caps_make_writable.
8680 * gst/gstmessage.c (_gst_message_initialize): No trace init.
8682 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
8683 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
8684 Adapt for new pad API.
8686 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
8689 * gst/gstelement.c (gst_element_iterate_src_pads)
8690 (gst_element_iterate_sink_pads): New API functions.
8692 * gst/gstelement.c (iterator_fold_with_resync): New utility,
8693 should fold into gstiterator.c in some form.
8694 (gst_element_pads_activate): Simplified via use of fold and
8695 delegation of decisions to gstpad->activate.
8697 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
8700 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
8701 class once in init, like gstmessage. Didn't run into this issue
8702 but it seems correct. Don't initialize a trace, gstminiobject does
8705 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
8706 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
8708 (assert_live_count): New util function, uses alloc traces to check
8711 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
8712 To be modified when unlink drops the internal pad.
8714 2005-06-27 Wim Taymans <wim@fluendo.com>
8716 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
8717 (gst_bin_change_state):
8718 Cleanup the get_state() function a little, make sure it
8719 iterates the same set of elements.
8720 Added stub iterate_state_order().
8722 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
8724 * docs/gst/gstreamer-docs.sgml:
8725 * docs/gst/gstreamer-sections.txt:
8726 * docs/gst/gstreamer.types:
8727 * docs/gst/tmpl/gstbasesink.sgml:
8728 * docs/gst/tmpl/gstbasesrc.sgml:
8729 * docs/gst/tmpl/gstbasetransform.sgml:
8730 * docs/gst/tmpl/gstelement.sgml:
8731 * docs/gst/tmpl/gstiterator.sgml:
8732 * gst/base/gstbasesrc.c:
8733 * gst/base/gstbasesrc.h:
8734 * gst/base/gstbasetransform.h:
8736 * gst/gstiterator.h:
8737 adding basetransform and iterator docs
8739 2005-06-27 Andy Wingo <wingo@pobox.com>
8741 * docs/design/part-activation.txt: Notes on how activation should
8742 work -- not quite implemented yet.
8744 2005-06-25 Wim Taymans <wim@fluendo.com>
8746 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
8747 At least get the chain function correct, needs more
8750 2005-06-25 Wim Taymans <wim@fluendo.com>
8752 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
8753 (gst_basesink_handle_object), (gst_basesink_event),
8754 (gst_basesink_do_sync), (gst_basesink_handle_event),
8755 (gst_basesink_change_state):
8757 Right, two problems here: ghostpads don't take locks and
8758 glib _rec_mutex_lock_full() with depth==0 still locks.
8759 Catch illegal locking and g_warn them.
8761 2005-06-25 Wim Taymans <wim@fluendo.com>
8763 * check/states/sinks.c: (START_TEST), (gst_object_suite):
8764 Have to check for completion now...
8766 2005-06-25 Wim Taymans <wim@fluendo.com>
8768 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
8769 (gst_basesink_handle_object), (gst_basesink_event),
8770 (gst_basesink_do_sync), (gst_basesink_handle_event),
8771 (gst_basesink_change_state):
8773 Unlock STREAM_LOCK whatever the recursion was.
8775 2005-06-25 Wim Taymans <wim@fluendo.com>
8777 * gst/base/gstbasesink.c: (gst_basesink_set_property),
8778 (gst_basesink_preroll_queue_empty),
8779 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
8780 (gst_basesink_event), (gst_basesink_do_sync),
8781 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
8782 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
8783 (gst_basesink_change_state):
8784 Reworked the base sink, handle event and buffer serialisation
8785 correctly and removed possible deadlock.
8786 Handle EOS correctly.
8788 2005-06-25 Wim Taymans <wim@fluendo.com>
8790 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
8791 (gst_pipeline_change_state):
8792 * tools/gst-launch.c: (check_intr), (event_loop), (main):
8793 Allow elements to post EOS in the state change function.
8794 Fix up -launch, make it exit the poll loop when the
8795 pipeline actually changed state.
8796 Fix up warning parsing in -launch.
8798 2005-06-25 Wim Taymans <wim@fluendo.com>
8800 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
8801 (gst_tee_sink_activate):
8802 Core takes STREAM_LOCK for us now.
8804 2005-06-25 Wim Taymans <wim@fluendo.com>
8806 * gst/gstelement.c: (gst_element_get_state_func),
8807 (gst_element_set_state):
8809 * gst/gstmessage.c: (gst_message_parse_error),
8810 (gst_message_parse_warning):
8811 Keep track of current target state while performing a state
8812 change so that subclasses can do something interesting.
8813 Fix parsing of warning/error messages when GError is NULL.
8815 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
8817 * docs/gst/Makefile.am:
8818 * docs/gst/gstreamer-docs.sgml:
8819 * docs/gst/gstreamer-sections.txt:
8820 * docs/gst/gstreamer.types:
8821 * docs/gst/tmpl/gstbasesink.sgml:
8822 * docs/gst/tmpl/gstbasesrc.sgml:
8823 * docs/gst/tmpl/gstbin.sgml:
8824 * docs/gst/tmpl/gstcompat.sgml:
8825 * docs/gst/tmpl/gstfakesink.sgml:
8826 * docs/gst/tmpl/gstfakesrc.sgml:
8827 * docs/gst/tmpl/gstfilesink.sgml:
8828 * docs/gst/tmpl/gstfilesrc.sgml:
8829 * docs/gst/tmpl/gstindex.sgml:
8830 * docs/manual/appendix-quotes.xml:
8831 * gst/base/gstbasesrc.h:
8832 * gst/elements/gstfakesrc.h:
8834 start pulling in base classes and elements in our docs
8836 2005-06-24 Stefan Kost <ensonic@users.sf.net>
8838 * docs/gst/Makefile.am:
8839 * docs/libs/Makefile.am:
8840 fixed make distcheck with gtk-doc 1.3
8842 2005-06-23 Wim Taymans <wim@fluendo.com>
8844 * gst/gstelement.c: (gst_element_get_state_func),
8845 (gst_element_set_state), (gst_element_change_state):
8846 When the state did not change, also report NO_PREROLL
8849 2005-06-23 Wim Taymans <wim@fluendo.com>
8851 * gst/gstpad.c: (gst_pad_event_default):
8852 * gst/gstqueue.c: (gst_queue_loop):
8853 No unsafe task pausing please.
8855 2005-06-23 Wim Taymans <wim@fluendo.com>
8857 * gst/schedulers/threadscheduler.c:
8858 (gst_thread_scheduler_task_start),
8859 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
8860 Ref the task before pushing it on the threadpool. This
8861 makes sure that we have a ref when the threadfunction is
8864 2005-06-23 Andy Wingo <wingo@pobox.com>
8866 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
8867 offset is greater than the file's size.
8869 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
8870 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
8871 * gst/gstobject.c (gst_object_class_init): Make the class lock
8872 recursive. Wim won't let me drop deep_notify. Decodebin works
8875 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
8876 internal pad, and hacks accordingly. Doesn't do it on the target
8877 pad because we change its caps. Probably catches all cases of
8879 (gst_ghost_pad_set_property): Connect to notify::caps as
8882 * tests/network-clock.scm (plot-simulation): Pipe data to the
8883 elite python skript.
8885 * tests/network-clock-utils.scm (define-parameter): New macro,
8886 defines a parameter that can be set via the command line.
8887 (set-parameter!, parse-parameter-arguments): Command line args
8890 * tests/plot-data: Simple matplotlib-based plotter, takes input on
8893 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
8895 * gst/elements/gsttypefindelement.c:
8896 (gst_type_find_element_handle_event):
8897 Don't restart typefinding on a discont.
8898 * gst/gstelement.c: (gst_element_set_state):
8900 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
8901 Allow changing mode of an active pad.
8903 * gst/registries/gstlibxmlregistry.c: (load_feature):
8904 Don't cast a static pad template to a normal pad template.
8906 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
8908 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
8909 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
8910 remove gst_strtoll completely, since it didn't actually do
8911 anything more than what g_ascii_strtoull already does.
8912 check for range errors when deserializing
8913 do a cast for the unsigned cases; but further fixing needs
8914 a decision on what the interpretation of "(int)" and
8915 deserialization should be for values that fall outside the
8916 type's boundaries (ie, refuse, or interpret as casting)
8918 2005-06-23 Wim Taymans <wim@fluendo.com>
8920 * check/Makefile.am:
8921 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
8922 * docs/design/part-live-source.txt:
8923 * docs/design/part-states.txt:
8924 * gst/base/gstbasesrc.c: (gst_basesrc_init),
8925 (gst_basesrc_set_live), (gst_basesrc_is_live),
8926 (gst_basesrc_get_range), (gst_basesrc_activate),
8927 (gst_basesrc_change_state):
8928 * gst/base/gstbasesrc.h:
8929 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8930 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
8931 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
8932 * gst/gstelement.c: (gst_element_get_state_func),
8933 (gst_element_set_state):
8936 * tools/gst-launch.c: (event_loop), (main):
8937 Added support for live sources and other elements that
8939 Updated design docs, added live-source design doc.
8940 Implemented live source functionality in basesrc
8941 Fix error condition in _bin_get_state()
8942 Implement live source handling in -launch.
8943 Added check for live sources.
8944 Fixed case in GstBin where elements were changed state
8948 2005-06-23 Andy Wingo <wingo@pobox.com>
8950 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
8953 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
8954 gst_caps_replace takes care of this for us.
8956 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
8957 gst_pad_set_caps on the target, not just its setcaps() function.
8959 * tests/network-clock.scm:
8960 * tests/network-clock-utils.scm: A network clock simulator.
8961 Something of an algorithmic testbed before doing something in C.
8963 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
8965 * check/Makefile.am:
8966 * check/gst/capslist.h:
8967 copy over from 0.8, and add two with bitmasks specified with
8969 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
8970 add test to parse everything from capslist.h
8971 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
8973 add test for structure deserialization
8974 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
8975 add tests for deserialization of strings to int types
8976 * gst/gststructure.c: (gst_structure_nth_field_name):
8977 * gst/gststructure.h:
8978 add a way to get the name of a field referenced by index
8979 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
8980 instead of checking if the resulting long long lies between
8981 min and max, we check if the long long would fit into
8982 a number of bytes for the final type.
8983 This fixes cases where a string represents 2^32 - 1, which
8984 when cast to int would be the (valid) -1, but is bigger than
8987 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
8989 * gst/parse/grammar.y:
8990 add a log line for type deserialization
8992 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
8994 * check/gst/gstvalue.c: (START_TEST):
8995 * gst/gstvalue.c: (gst_value_deserialize):
8996 return long long, not int, so gint64 deserialization actually
8997 works. Is there any flag that makes the compiler check this ?
9000 2005-06-22 Wim Taymans <wim@fluendo.com>
9003 Added convenience macros for setting buffers in GValue.
9005 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
9007 * check/gst/.cvsignore:
9008 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9009 add a test deserializing int64, and comment part out because
9012 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
9014 * check/Makefile.am:
9015 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
9016 * testsuite/Makefile.am:
9017 * testsuite/caps/Makefile.am:
9018 * testsuite/caps/value_serialize.c:
9019 * testsuite/test_gst_init.c:
9020 move a value_serialize test over
9022 2005-06-20 Wim Taymans <wim@fluendo.com>
9027 * gst/gstvalue.c: (gst_value_compare_buffer),
9028 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
9029 (gst_value_compare_flags), (gst_value_serialize_flags),
9030 (gst_value_deserialize_flags), (_gst_value_initialize):
9031 Fix serialisation of buffers, they are not boxed types anymore
9033 2005-06-20 Wim Taymans <wim@fluendo.com>
9035 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
9036 Testcase to show error in buffer-on-caps serialisation.
9038 2005-06-20 Andy Wingo <wingo@pobox.com>
9040 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
9041 will be adding to later.
9043 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
9044 if its socks fill with rocks.
9045 (gst_system_clock_obtain): Set the name on object construction.
9046 Avoid double-checked locking.
9048 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
9050 * gst/gsturi.c: (gst_element_make_from_uri):
9051 Fix potential endless loop.
9053 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
9055 * check/Makefile.am:
9057 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
9059 move over from testsuite dir and clean up
9062 * testsuite/Makefile.am:
9063 * testsuite/tags/.cvsignore:
9064 * testsuite/tags/Makefile.am:
9065 * testsuite/tags/merge.c:
9066 remove testsuite/tags
9068 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
9070 * docs/gst/gstreamer-sections.txt:
9071 * docs/gst/tmpl/gstenumtypes.sgml:
9072 * win32/gstenumtypes.c:
9073 clean up documentation build a little
9075 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
9078 add macros for checking refcounts on objects and caps
9079 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
9080 add some more unit tests
9081 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
9082 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
9083 fix leaked refcounts (I hope :)) so unittest works
9087 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
9089 * configure.ac: back to HEAD
9091 === release 0.9.1 ===
9093 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
9099 2005-06-17 Andy Wingo <wingo@pobox.com>
9101 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
9102 assert; it's always possible that the pad gets deactivated in
9103 between the checks in gstpad.c and the implementation. Rely on
9104 finish_preroll() to return a FLUSHING or similar instead of on the
9107 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
9108 clock and post an EOS message if we come out of finish_preroll in
9111 2005-06-16 David Schleef <ds@schleef.org>
9113 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
9114 (gst_capsfilter_set_property): Allow NULL as possible value
9115 for filter_caps property, indicating GST_CAPS_ANY.
9117 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
9119 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
9121 * gst/schedulers/Makefile.am:
9123 * gstreamer.spec.in:
9126 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
9128 * gstreamer.spec.in:
9131 2005-06-08 Andy Wingo <wingo@pobox.com>
9133 * gst/gstutils.c: RPAD fixes all around.
9134 (gst_element_link_pads): Refcounting fixes.
9136 * tools/gst-inspect.c:
9137 * tools/gst-xmlinspect.c:
9139 * gst/base/gsttypefindhelper.c:
9140 * gst/base/gstbasesink.c:
9141 * gst/gstqueue.c: RPAD fixes.
9143 * gst/gstghostpad.h:
9144 * gst/gstghostpad.c: New ghost pad implementation as full proxy
9145 pads. The tricky thing is they provide both source and sink
9146 interfaces, since they proxy the internal pad for the external
9147 pad, and vice versa. Implement with lower-level ProxyPad objects,
9148 with the interior proxy pad as a child of the exterior ghost pad.
9149 Should write a doc on this.
9151 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
9152 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
9155 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
9156 pads are real pads. No ghost pads in this file. Not documenting
9157 the myriad s/RPAD/PAD/ and REALIZE fixes.
9158 (gst_pad_class_init): Add properties for "direction" and
9159 "template". Both are construct-only, so they can't change during
9160 the life of the pad. Fixes properly deriving from GstPad.
9161 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
9162 derived objects, just set properties when creating the objects via
9164 (gst_pad_get_parent): Implement as a function, return NULL if the
9165 parent is not an element.
9166 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
9167 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
9169 * gst/gstobject.c (gst_object_class_init): Make name a construct
9170 property. Don't set it in the object init.
9172 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
9173 with UNKNOWN direction.
9174 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
9175 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
9176 (gst_element_remove_pad): Remove ghost-pad special cases.
9177 (gst_element_pads_activate): Remove rpad cruft.
9179 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
9180 catch the pad's-parent-not-an-element case.
9182 * gst/gst.h: Include gstghostpad.h.
9184 * gst/gst.c (init_post): No more real, ghost pads.
9186 * gst/Makefile.am: Add gstghostpad.[ch].
9188 * check/Makefile.am:
9189 * check/gst/gstbin.c:
9190 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
9191 into a bin creates ghost pads, and that the refcounts are right.
9192 Partly moved from gstbin.c.
9194 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
9196 * check/gst-libs/.cvsignore:
9197 * check/gst/.cvsignore:
9198 * check/pipelines/.cvsignore:
9200 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
9201 (START_TEST), (cleanup_suite), (main):
9202 add some tests related to cleanup after running pipelines
9204 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
9206 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
9207 add a testsuite for GstBuffer
9209 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
9211 * gst/gstminiobject.h:
9212 add defines for accessing the refcount
9214 2005-06-03 Stefan Kost <ensonic@users.sf.net>
9216 * Makefile.am: added support for html unit test coverage reports
9218 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
9220 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
9221 Free existing caps if the capsfilter changes. Add a FIXME about
9222 setting those caps on the pads.
9224 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
9225 Before adding a ghost pad to a parent bin, check that there isn't
9226 already one for the element on the bin. Prevents infinite recursion
9227 when using decodebin in parse pipelines. Andy says he'll rewrite the
9228 way this works anyway, so ignore the hack.
9230 2005-06-02 Andy Wingo <wingo@pobox.com>
9232 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
9233 file size, pass it on to the type find helper.
9235 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
9236 segment_start and segment_end properly according to the seek
9237 method. Segment_end is still a bit flaky because offset can be
9238 negative for CUR and END cases, but it takes -1 as an "unset"
9241 2005-06-02 Wim Taymans <wim@fluendo.com>
9243 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
9244 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
9245 (gst_basesink_activate):
9246 * gst/base/gstbasesink.h:
9247 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
9248 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
9249 (gst_pad_query), (gst_pad_start_task):
9251 * gst/gstqueue.c: (gst_queue_bufferalloc),
9252 (gst_queue_handle_sink_event), (gst_queue_chain):
9253 Bufferalloc: return GstFlowReturn to more accuratly report
9254 why allocation failed.
9256 2005-06-02 Wim Taymans <wim@fluendo.com>
9258 * gst/gstpipeline.c: (gst_pipeline_send_event):
9259 Take snapshot of state without blocking.
9261 2005-06-02 Wim Taymans <wim@fluendo.com>
9263 * docs/design/part-TODO.txt:
9264 * docs/design/part-caps.txt:
9265 * docs/design/part-clocks.txt:
9266 * docs/design/part-negotiation.txt:
9267 * docs/design/part-preroll.txt:
9270 2005-05-30 Wim Taymans <wim@fluendo.com>
9272 * gst/elements/gstidentity.c: (gst_identity_event),
9273 (gst_identity_transform), (gst_identity_get_property):
9274 Protect last_message property as it is accessed from
9277 2005-05-30 Wim Taymans <wim@fluendo.com>
9279 * gst/gstelement.c: (gst_element_init),
9280 (gst_element_pads_activate), (gst_element_change_state):
9281 Slicker pad activation code.
9283 2005-05-30 Wim Taymans <wim@fluendo.com>
9287 * gst/gstelementfactory.h:
9289 Move elementfactory methods to separate .h file.
9291 2005-05-30 Wim Taymans <wim@fluendo.com>
9293 * docs/design/part-overview.txt:
9294 * gst/gstsystemclock.h:
9295 Small typo fixes, doc updates.
9297 2005-05-30 Wim Taymans <wim@fluendo.com>
9299 * gst/gst.c: (gst_init_get_popt_table), (init_post),
9300 (init_popt_callback):
9301 Remove cpu-opt flag.
9303 2005-05-30 Wim Taymans <wim@fluendo.com>
9305 * gst/gstbuffer.c: (gst_subbuffer_finalize),
9306 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
9308 Avoid typechecking in places where not needed.
9309 Added accessor for malloc_data.
9311 2005-05-30 Wim Taymans <wim@fluendo.com>
9313 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
9314 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
9315 (gst_pad_configure_sink), (gst_pad_configure_src),
9316 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
9317 (gst_pad_start_task):
9318 Propagate errors from _set_caps() in configure_src/sink
9319 functions instead of returning TRUE.
9320 FLUSH events can travel up and downstream
9323 2005-05-30 Wim Taymans <wim@fluendo.com>
9325 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
9326 (gst_basesink_activate):
9327 Handle EOS in preroll.
9329 2005-05-30 Wim Taymans <wim@fluendo.com>
9331 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
9332 (gst_queue_loop), (gst_queue_handle_src_event):
9333 Remove old pieces of code
9334 Flushing the queue in an upstream event is a very bad idea.
9336 2005-05-26 Andy Wingo <wingo@pobox.com>
9338 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
9339 gst_value_set_mini_object so as to add a ref on the object (which
9340 will be removed when the value is unset).
9342 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
9343 arg type in ::handoff.
9345 * gst/gstelement.c (gst_element_change_state): Also deactivate
9346 pads in READY->NULL, just in case the element didn't make it to
9347 PAUSED. Wingo tested, Wim approved.
9349 2005-05-26 Wim Taymans <wim@fluendo.com>
9351 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
9352 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
9353 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
9354 A flushing pad cannot be used to alloc_buffer from.
9356 2005-05-26 Wim Taymans <wim@fluendo.com>
9358 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
9359 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
9360 (gst_bus_source_dispatch), (gst_bus_source_finalize),
9361 (gst_bus_create_watch), (gst_bus_add_watch_full):
9363 Implement a real GSource and use g_main_context_wakeup() to
9364 signal new messages instead of the socketpair.
9366 2005-05-25 Wim Taymans <wim@fluendo.com>
9368 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
9369 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
9370 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
9371 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
9372 (gst_pad_send_event), (gst_pad_start_task):
9373 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
9374 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
9375 (gst_queue_sink_activate), (gst_queue_src_activate),
9376 (gst_queue_change_state):
9378 Fix state changes for non sinks. We now change sinks, then elements
9379 with unconnected srcpads, then the rest.
9380 More efficient queue unlocking in flush and state changes.
9381 Set the pad activate mode even if it does not have an activate
9384 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9386 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
9387 Don't go in pull mode for non-seekable sources.
9388 * gst/elements/gsttypefindelement.h:
9389 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
9390 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
9391 (free_entry), (stop_typefinding),
9392 (gst_type_find_element_handle_event), (find_peek),
9393 (gst_type_find_element_chain), (do_pull_typefind),
9394 (gst_type_find_element_change_state):
9395 Allow typefinding (w/o seeking) in push-mode, simplified version
9397 * gst/gstutils.c: (gst_buffer_join):
9399 gst_buffer_join() from 0.8.
9401 2005-05-25 Wim Taymans <wim@fluendo.com>
9403 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
9404 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
9405 (gst_pad_send_event), (gst_pad_start_task):
9406 Disable attempt at mode switching until it is figured out.
9408 2005-05-25 Wim Taymans <wim@fluendo.com>
9410 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
9411 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
9412 (gst_basesink_finish_preroll), (gst_basesink_chain),
9413 (gst_basesink_loop), (gst_basesink_activate),
9414 (gst_basesink_change_state):
9415 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
9416 (gst_basesrc_get_range), (gst_basesrc_loop),
9417 (gst_basesrc_activate):
9418 * gst/elements/gsttee.c: (gst_tee_sink_activate):
9419 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
9420 (gst_real_pad_init), (gst_real_pad_set_property),
9421 (gst_real_pad_get_property), (gst_pad_set_active),
9422 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
9423 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
9424 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
9425 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
9426 (gst_pad_event_default_dispatch), (gst_pad_event_default),
9427 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
9428 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
9429 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
9430 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
9431 (gst_pad_stop_task):
9433 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
9434 (gst_queue_loop), (gst_queue_src_activate):
9435 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
9436 (gst_task_get_state):
9438 * gst/schedulers/threadscheduler.c:
9439 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
9440 Implement gst_pad_pause/start/stop_task(), take STREAM lock
9442 Remove ACTIVE pad flag, use FLUSHING everywhere
9443 Added _pad_chain(), _pad_get_range() to call chain/getrange
9445 Add locks around IS_FLUSHING when reading.
9446 Take STREAM lock in chain(), get_range() functions so plugins
9447 don't need to take it anymore.
9451 2005-05-25 Wim Taymans <wim@fluendo.com>
9453 * tools/gst-launch.c: (event_loop):
9454 Unref message after using its contents instead of
9457 2005-05-24 Wim Taymans <wim@fluendo.com>
9459 * docs/design/draft-ghostpads.txt:
9460 * docs/design/draft-push-pull.txt:
9461 * docs/design/draft-query.txt:
9462 * docs/design/part-overview.txt:
9463 Docs updates, added general overview doc.
9465 2005-05-21 David Schleef <ds@schleef.org>
9467 * docs/gst/tmpl/old/GstBin.sgml:
9468 * docs/gst/tmpl/old/GstBuffer.sgml:
9469 * docs/gst/tmpl/old/GstCaps.sgml:
9470 * docs/gst/tmpl/old/GstClock.sgml:
9471 * docs/gst/tmpl/old/GstCompat.sgml:
9472 * docs/gst/tmpl/old/GstData.sgml:
9473 * docs/gst/tmpl/old/GstElement.sgml:
9474 * docs/gst/tmpl/old/GstEvent.sgml:
9475 * docs/gst/tmpl/old/GstIndex.sgml:
9476 * docs/gst/tmpl/old/GstStructure.sgml:
9477 * docs/gst/tmpl/old/GstTag.sgml:
9478 * docs/gst/tmpl/old/cothreads.sgml:
9479 * docs/gst/tmpl/old/cothreads_compat.sgml:
9480 * docs/gst/tmpl/old/gettext.sgml:
9481 * docs/gst/tmpl/old/gobject2gtk.sgml:
9482 * docs/gst/tmpl/old/grammar.tab.sgml:
9483 * docs/gst/tmpl/old/gst-i18n-app.sgml:
9484 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
9485 * docs/gst/tmpl/old/gst_private.sgml:
9486 * docs/gst/tmpl/old/gstaggregator.sgml:
9487 * docs/gst/tmpl/old/gstarch.sgml:
9488 * docs/gst/tmpl/old/gstatomic_impl.sgml:
9489 * docs/gst/tmpl/old/gstbufferstore.sgml:
9490 * docs/gst/tmpl/old/gstdata_private.sgml:
9491 * docs/gst/tmpl/old/gstdisksink.sgml:
9492 * docs/gst/tmpl/old/gstdisksrc.sgml:
9493 * docs/gst/tmpl/old/gstelementfactory.sgml:
9494 * docs/gst/tmpl/old/gstextratypes.sgml:
9495 * docs/gst/tmpl/old/gstfakesink.sgml:
9496 * docs/gst/tmpl/old/gstfakesrc.sgml:
9497 * docs/gst/tmpl/old/gstfdsink.sgml:
9498 * docs/gst/tmpl/old/gstfdsrc.sgml:
9499 * docs/gst/tmpl/old/gstfilesink.sgml:
9500 * docs/gst/tmpl/old/gstfilesrc.sgml:
9501 * docs/gst/tmpl/old/gsthttpsrc.sgml:
9502 * docs/gst/tmpl/old/gstidentity.sgml:
9503 * docs/gst/tmpl/old/gstindexfactory.sgml:
9504 * docs/gst/tmpl/old/gstmarshal.sgml:
9505 * docs/gst/tmpl/old/gstmd5sink.sgml:
9506 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
9507 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
9508 * docs/gst/tmpl/old/gstpadtemplate.sgml:
9509 * docs/gst/tmpl/old/gstpipefilter.sgml:
9510 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
9511 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
9512 * docs/gst/tmpl/old/gstshaper.sgml:
9513 * docs/gst/tmpl/old/gstspider.sgml:
9514 * docs/gst/tmpl/old/gstspideridentity.sgml:
9515 * docs/gst/tmpl/old/gststatistics.sgml:
9516 * docs/gst/tmpl/old/gsttee.sgml:
9517 * docs/gst/tmpl/old/gsttimecache.sgml:
9518 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
9519 * docs/gst/tmpl/old/gstxmlregistry.sgml:
9520 * docs/gst/tmpl/old/gthread-cothreads.sgml:
9521 * docs/gst/tmpl/old/types.sgml:
9522 I didn't intend to add these or check them in.
9524 2005-05-19 David Schleef <ds@schleef.org>
9526 * configure.ac: Use -no-common everywhere. In a sane world, it
9527 would be the default in libtool, because without it, you can't
9528 build DLLs on Windows.
9529 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
9530 * docs/gst/gstreamer-sections.txt:
9531 * docs/gst/tmpl/gstcpu.sgml:
9532 * docs/gst/tmpl/gstdata.sgml:
9533 * docs/gst/tmpl/gstthread.sgml:
9535 2005-05-19 David Schleef <ds@schleef.org>
9537 * gst/gstminiobject.c: (gst_value_set_mini_object),
9538 (gst_value_take_mini_object), (gst_value_get_mini_object):
9539 * gst/gstminiobject.h: Add GValue set/get functions.
9541 2005-05-19 Wim Taymans <wim@fluendo.com>
9543 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
9544 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
9545 (gst_subbuffer_init), (gst_buffer_is_span_fast):
9547 * gst/gstbus.c: (gst_bus_post):
9548 * gst/gstelement.c: (gst_element_get_random_pad):
9549 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
9550 Make subbufer unref the parent in finalize.
9551 some more debugging info.
9554 2005-05-19 Wim Taymans <wim@fluendo.com>
9556 * gst/base/gstbasesink.c: (gst_basesink_class_init),
9557 (gst_basesink_init), (gst_basesink_finalize),
9558 (gst_basesink_activate), (gst_basesink_change_state):
9559 Don't free preroll queue too early.
9561 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9565 Hi, I'm outdated. Please shoot me.
9567 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9569 * gst/gstpipeline.c: (gst_pipeline_send_event):
9570 Do not access variables after they have been deleted.
9572 2005-05-19 Wim Taymans <wim@fluendo.com>
9574 * tools/gst-inspect.c: (print_plugin_features):
9575 A plugin feature does unfortunatly not use the
9578 2005-05-18 Wim Taymans <wim@fluendo.com>
9580 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
9581 Port _span() functions to new subbuffers.
9583 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9585 * gst/gstbin.c: (gst_bin_add_func):
9586 Fix clock settery in bins when adding kids after the clock has
9589 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9591 * gst/elements/gstidentity.c: (gst_identity_class_init):
9592 Workaround until signals support GstMiniObject.
9594 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
9597 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
9599 2005-05-18 Wim Taymans <wim@fluendo.com>
9601 * gst/base/Makefile.am:
9602 * gst/base/gstadapter.c: (gst_adapter_base_init),
9603 (gst_adapter_class_init), (gst_adapter_init),
9604 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
9605 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
9606 (gst_adapter_flush), (gst_adapter_available),
9607 (gst_adapter_available_fast):
9608 * gst/base/gstadapter.h:
9609 Ported and added adapter to the base classes.
9611 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9615 Make sure the class is reffed/unreffed once before threads can be
9616 used. Fixes #304551.
9618 2005-05-17 Wim Taymans <wim@fluendo.com>
9620 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
9621 (gst_basesink_chain_unlocked), (gst_basesink_activate):
9622 * gst/gstminiobject.c: (gst_mini_object_get_type),
9623 (gst_mini_object_free):
9624 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
9625 (gst_pad_push), (gst_pad_push_event):
9626 * gst/gstqueue.c: (gst_queue_change_state):
9627 Don't queue buffers in basesink when we are flushing.
9628 Unref buffer when flushing in basesink.
9629 Flush queue when going to READY
9630 Unref buffer when _push() returns an error.
9631 Don't free MiniObject instance when refcount is incremented
9632 in _finalize() so that we can recover objects.
9634 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
9636 * docs/manual/advanced-schedulers.xml:
9637 * docs/manual/appendix-checklist.xml:
9638 * docs/pwg/advanced-clock.xml:
9639 * docs/pwg/advanced-interfaces.xml:
9640 * docs/pwg/advanced-request.xml:
9641 * docs/pwg/advanced-types.xml:
9642 * docs/pwg/intro-preface.xml:
9643 * examples/plugins/example.c: (gst_example_get_type),
9644 (gst_example_class_init), (gst_example_chain),
9645 (gst_example_set_property), (gst_example_get_property),
9646 (gst_example_change_state), (plugin_init):
9647 * examples/plugins/example.h:
9650 2005-05-17 Wim Taymans <wim@fluendo.com>
9652 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
9653 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
9654 * gst/gstqueue.c: (gst_queue_change_state):
9655 Clear queue when going to READY.
9656 Remove IN_SETCAPS flag too.
9658 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
9660 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
9661 Remove implicit cast from gboolean to GstElementStateReturn;
9662 make sure we still return failure in paused => ready case if
9663 the parent class fails to change state and our own stop
9666 2005-05-17 Wim Taymans <wim@fluendo.com>
9668 * tools/gst-launch.c: (event_loop):
9669 Message was unreffed too soon.
9671 2005-05-16 Andy Wingo <wingo@pobox.com>
9673 * gst/gstbin.c (sink_iterator_filter): Err... um...
9675 * check/gst/gstbin.c (test_ghost_pads): New test for the
9676 ghosting-if-elements-not-in-same-bin behavior.
9678 2005-05-16 David Schleef <ds@schleef.org>
9680 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
9681 accessing refcount directly.
9683 2005-05-15 David Schleef <ds@schleef.org>
9685 * check/Makefile.am: remove GstData checks
9686 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
9687 * gst/Makefile.am: add miniobject, remove data
9688 * gst/gst.h: add miniobject, remove data
9689 * gst/gstdata.c: remove
9690 * gst/gstdata.h: remove
9691 * gst/gstdata_private.h: remove
9692 * gst/gsttypes.h: remove GstEvent and GstMessage
9693 * gst/gstelement.c: (gst_element_post_message): fix for API changes
9694 * gst/gstmarshal.list: change BOXED -> OBJECT
9696 Implement GstMiniObject.
9697 * gst/gstminiobject.c:
9698 * gst/gstminiobject.h:
9700 Modify to be subclasses of GstMiniObject.
9701 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
9702 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
9703 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
9704 (gst_subbuffer_get_type), (gst_subbuffer_init),
9705 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
9708 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
9709 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
9710 (_gst_event_copy), (gst_event_new):
9712 * gst/gstmessage.c: (_gst_message_initialize),
9713 (gst_message_get_type), (gst_message_class_init),
9714 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
9715 (gst_message_new), (gst_message_new_error),
9716 (gst_message_new_warning), (gst_message_new_tag),
9717 (gst_message_new_state_changed), (gst_message_new_application):
9719 * gst/gstprobe.c: (gst_probe_perform),
9720 (gst_probe_dispatcher_dispatch):
9722 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
9723 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
9724 (_gst_query_copy), (gst_query_new):
9726 Update elements for GstData -> GstMiniObject changes
9728 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
9729 (gst_queue_chain), (gst_queue_loop):
9730 * gst/elements/gstbufferstore.c:
9731 (gst_buffer_store_add_buffer_func),
9732 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
9733 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
9734 (gst_fakesink_render):
9735 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
9736 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
9737 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
9738 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
9739 (gst_filesrc_create_read):
9740 * gst/elements/gstidentity.c: (gst_identity_class_init):
9741 * gst/elements/gsttypefindelement.c:
9742 (gst_type_find_element_src_event), (free_entry_buffers),
9743 (gst_type_find_element_handle_event):
9744 * libs/gst/dataprotocol/dataprotocol.c:
9745 (gst_dp_header_from_buffer):
9746 * libs/gst/dataprotocol/dataprotocol.h:
9747 * libs/gst/dataprotocol/dp-private.h:
9749 2005-05-15 David Schleef <ds@schleef.org>
9751 * gst/elements/gstelements.c: Don't include headers that were
9754 2005-05-15 David Schleef <ds@schleef.org>
9756 * gst/elements/Makefile.am: Remove some elements that don't
9757 need to be in the core (or even exist at all).
9758 * gst/elements/gstaggregator.c:
9759 * gst/elements/gstaggregator.h:
9760 * gst/elements/gstmd5sink.c:
9761 * gst/elements/gstmd5sink.h:
9762 * gst/elements/gstmultifilesrc.c:
9763 * gst/elements/gstmultifilesrc.h:
9764 * gst/elements/gstpipefilter.c:
9765 * gst/elements/gstpipefilter.h:
9766 * gst/elements/gstshaper.c:
9767 * gst/elements/gstshaper.h:
9768 * gst/elements/gststatistics.c:
9769 * gst/elements/gststatistics.h:
9770 * po/POTFILES.in: Remove above files.
9772 2005-05-14 Andy Wingo <wingo@pobox.com>
9774 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
9775 so as to get the refs right.
9776 (sink_iterator_filter): New function, wraps bin_element_is_sink,
9777 unreffing objects that don't pass the filter.
9779 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
9780 gst_element_set_bus.
9781 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
9782 normal cases, this will destroy the bus.
9784 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
9787 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
9790 2005-05-13 Andy Wingo <wingo@pobox.com>
9792 * gst/gstutils.c (gst_element_link_pads): Instead of calling
9793 gst_pad_link, call pad_link_maybe_ghosting,
9794 (pad_link_maybe_ghosting): Links pads, making sure that the
9795 elements being linked are in the same bin.
9796 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
9797 Helpers for pad_link_maybe_ghosting.
9799 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
9802 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
9804 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
9806 * docs/design/part-element-source.txt:
9809 2005-05-12 Wim Taymans <wim@fluendo.com>
9811 * gst/base/gstbasesink.c: (gst_basesink_init),
9812 (gst_basesink_activate):
9813 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
9814 (gst_basesrc_is_seekable):
9815 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
9816 (bin_element_is_sink), (gst_bin_change_state):
9817 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
9819 Identify sinks by their flag to avoid overly complicated
9821 Do state changes even for elements not reachable from the
9823 BaseSink is a sink now :)
9824 Some more debugging info in the basesrc.
9827 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9829 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
9830 Implement _query on a bin, similar to _send_event.
9832 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
9834 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
9835 Discont event offset format should be GST_FORMAT_BYTES,
9836 not GST_FORMAT_TIME.
9838 2005-05-12 Wim Taymans <wim@fluendo.com>
9840 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
9841 Same fix as Ronald's but without the signal.
9843 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9845 * gst/gstutils.c: (gst_element_query_position):
9846 No, an element is not a pad.
9848 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9850 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
9851 (gst_bin_get_state):
9852 If a child is removed from a bin while we remove the child from
9853 the bin and while we're retrieving its state, signal this to the
9854 get_state function so we abort the wait (instead of waiting for
9855 a timeout) and can immediately re-iterate over all other elements.
9857 2005-05-12 Wim Taymans <wim@fluendo.com>
9859 * gst/base/Makefile.am:
9860 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
9861 (gst_basesrc_start):
9862 * gst/base/gstbasesrc.h:
9863 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
9864 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
9865 (gst_pushsrc_init), (gst_pushsrc_create):
9866 * gst/base/gstpushsrc.h:
9867 Added is_seekable to BaseSrc
9868 Added simple PushSrc.
9870 2005-05-11 Wim Taymans <wim@fluendo.com>
9872 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
9873 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
9874 (gst_element_link_pads), (gst_element_query_position),
9875 (gst_element_query_convert), (intersect_caps_func),
9876 (gst_pad_query_position), (gst_pad_query_convert):
9877 Fix refcounting in utils function.
9878 No point in trying to activate a pad when it's added, it could
9879 be added from the state change function and then we deadlock, the
9880 element has to decide what to do.
9882 2005-05-10 Andy Wingo <wingo@pobox.com>
9884 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
9885 *all* the arguments.
9887 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
9888 stream lock if it's a FLUSH_DONE; normal flushes don't get the
9889 lock (according to the docs -- if this is wrong change the docs).
9891 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
9892 flush messages in the NULL state.
9894 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
9895 message immediately and return.
9896 (gst_bus_set_flushing): New function. If a bus is flushing, it
9897 flushes out any queued messages and immediately unrefs new
9898 messages. This is so when an element goes to NULL, all of the
9899 unhandled messages coming from it can be freed, and their
9900 references to the element dropped. In other words: message source
9901 ref considered harmful :P
9903 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
9904 we're finished with it.
9906 * gst/gstmessage.c (gst_message_new_state_changed):
9908 2005-05-10 Wim Taymans <wim@fluendo.com>
9910 * gst/gstvalue.c: (gst_value_compare_flags),
9911 (gst_value_serialize_flags), (gst_value_deserialize_flags),
9912 (_gst_value_initialize):
9913 Added flags serialize/deserialize/compare code.
9915 2005-05-09 Andy Wingo <wingo@pobox.com>
9917 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
9918 Intersect the peer's caps with our caps.
9920 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9922 * gst/base/gsttypefindhelper.c: (helper_find_peek):
9923 * gst/elements/gsttypefindelement.c: (find_peek):
9924 Handle negative offsets better. Fixes decodebin.
9926 2005-05-09 Wim Taymans <wim@fluendo.com>
9928 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
9929 (gst_base_transform_event):
9930 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
9931 Implement accept_caps.
9932 Fix silly lock/unlock mismatch in base class.
9934 2005-05-09 Wim Taymans <wim@fluendo.com>
9936 * docs/design/draft-push-pull.txt:
9937 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
9938 * gst/elements/gstfilesink.c: (gst_filesink_init),
9939 (gst_filesink_query):
9940 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
9941 (gst_type_find_handle_src_query), (find_element_get_length):
9942 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
9946 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
9947 (gst_real_pad_get_caps_unlocked),
9948 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
9949 (gst_pad_event_default_dispatch), (gst_pad_event_default),
9950 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
9951 (gst_real_pad_dispose), (gst_real_pad_finalize),
9952 (gst_pad_load_and_link), (gst_pad_save_thyself),
9953 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
9954 (gst_pad_check_pull_range), (gst_pad_pull_range),
9955 (gst_pad_template_get_type), (gst_pad_template_class_init),
9956 (gst_pad_template_init), (gst_pad_template_dispose),
9957 (name_is_valid), (gst_static_pad_template_get),
9958 (gst_pad_template_new), (gst_static_pad_template_get_caps),
9959 (gst_pad_template_get_caps), (gst_pad_set_element_private),
9960 (gst_pad_get_element_private), (gst_pad_start_task),
9961 (gst_pad_pause_task), (gst_pad_stop_task),
9962 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
9963 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
9964 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
9965 (gst_ghost_pad_new):
9967 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
9968 (gst_query_new_position), (gst_query_set_position),
9969 (gst_query_parse_position), (gst_query_new_convert),
9970 (gst_query_set_convert), (gst_query_parse_convert):
9972 * gst/gstqueryutils.c:
9973 * gst/gstqueryutils.h:
9974 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
9975 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
9976 (gst_queue_handle_src_query):
9977 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
9978 (gst_element_query_position), (gst_element_query_convert),
9979 (intersect_caps_func), (gst_pad_query_position),
9980 (gst_pad_query_convert):
9982 * tools/gst-inspect.c: (print_pad_info):
9983 * tools/gst-xmlinspect.c: (print_element_info):
9984 Remove old query functions. Ported old code.
9985 Added position/convert helper functions to gstutils.
9986 Reordered gstpad.c code, grouping relevant things.
9987 Remove gst_message_new(), always need to speficy a specific
9991 2005-05-09 Andy Wingo <wingo@pobox.com>
9993 * gst/gstiterator.h: Add some includes.
9995 * gst/gstqueryutils.h: Include more headers.
9998 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
9999 some uses of gst_pad_query.
10001 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
10002 NULL out parameters.
10003 (gst_query_new_position): New proc, allocates a new position
10006 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
10007 gstqueryutils.c to the build.
10009 * gst/gststructure.c (gst_structure_set_valist): Implement with
10010 the generic G_VALUE_COLLECT.
10012 2005-05-08 Edward Hervey <bilboed@bilboed.com>
10014 * gst/Makefile.am: (gst_headers):
10015 Added gstqueryutils.h to the list of headers to install, that was
10016 a 'nachty' move wingo :)
10018 2005-05-06 Andy Wingo <wingo@pobox.com>
10021 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
10022 GstData, init a memchunk.
10023 (standard_definitions): Add a few query types, deprecate a few.
10024 (gst_query_get_type): New proc.
10025 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
10027 (gst_query_new_application, gst_query_get_structure): New public
10030 * docs/design/draft-query.txt: Removed LINKS from the query types,
10031 because all the rest can be dispatched to other pads -- seemed
10032 ugly to have a query that couldn't be dispatched. internal_links
10033 is fine as a pad method.
10035 * gst/gstpad.h: Add query2 as a pad method, add the new functions
10036 in gstpad.c, but maintain binary compatibility for the moment.
10037 Will fix before 0.9 is out.
10039 * gst/gstqueryutils.c:
10040 * gst/gstqueryutils.h: New files, implement 3 methods for each
10041 query type: parse_query, parse_response, and set. Probably need an
10044 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
10046 * gst/elements/gstfilesink.c (gst_filesink_query2):
10047 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
10048 query_types, and formats methods.
10050 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
10051 (gst_pad_set_query2_function): New functions.
10052 (gst_real_pad_init): Set query2_default as the default query2
10053 function. Basically just dispatches to internally linked pads.
10057 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
10058 without using the atomic operations. Only one thread can possibly
10059 be accessing the data at this point. Changed so as to avoid
10060 gst_atomic operations.
10062 2005-05-06 Wim Taymans <wim@fluendo.com>
10064 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
10065 Also set caps if we use the fallback buffer alloc.
10067 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
10069 * docs/gst/Makefile.am:
10070 * docs/gst/gstreamer-docs.sgml:
10071 * docs/gst/gstreamer-sections.txt:
10072 * docs/gst/tmpl/gstatomic.sgml:
10073 * docs/gst/tmpl/gstmemchunk.sgml:
10074 * testsuite/elements/struct_i386.h:
10075 * win32/GStreamer.vcproj:
10077 Purge GstAtomic stuff from docs and win32 makefiles as well
10079 2005-05-06 Wim Taymans <wim@fluendo.com>
10081 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
10082 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
10083 * gst/gstpad.c: (gst_pad_peer_get_caps):
10084 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
10085 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
10086 (gst_queue_src_activate), (gst_queue_change_state):
10088 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10089 (intersect_caps_func):
10090 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
10091 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
10092 Some fixes for the peer_get_caps() change.
10094 2005-05-06 Wim Taymans <wim@fluendo.com>
10096 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10097 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
10098 (gst_basesink_activate):
10099 Actually do something with error codes returned from the push
10102 2005-05-06 Wim Taymans <wim@fluendo.com>
10104 * docs/design/part-element-sink.txt:
10105 * docs/design/part-element-source.txt:
10106 * gst/base/gstbasesink.c: (gst_basesink_class_init),
10107 (gst_basesink_event), (gst_basesink_activate):
10108 * gst/base/gstbasesink.h:
10109 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
10110 (gst_basesrc_activate):
10111 * gst/base/gstbasesrc.h:
10112 * gst/gstelement.c: (gst_element_pads_activate):
10113 Some more documentation.
10114 Fixed scheduling decision in _pads_activate().
10116 2005-05-05 Andy Wingo <wingo@pobox.com>
10118 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
10121 2005-05-05 Wim Taymans <wim@fluendo.com>
10123 * gst/base/Makefile.am:
10124 * gst/base/gstbasesink.h:
10125 * gst/base/gstbasesrc.c: (gst_basesrc_init),
10126 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
10127 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
10128 (gst_collectpads_class_init), (gst_collectpads_init),
10129 (gst_collectpads_finalize), (gst_collectpads_new),
10130 (gst_collectpads_set_function), (gst_collectpads_add_pad),
10131 (find_pad), (gst_collectpads_remove_pad),
10132 (gst_collectpads_is_active), (gst_collectpads_collect),
10133 (gst_collectpads_collect_range), (gst_collectpads_start),
10134 (gst_collectpads_stop), (gst_collectpads_peek),
10135 (gst_collectpads_pop), (gst_collectpads_available),
10136 (gst_collectpads_read), (gst_collectpads_flush),
10137 (gst_collectpads_chain):
10138 * gst/base/gstcollectpads.h:
10139 * gst/elements/Makefile.am:
10140 * gst/elements/gstelements.c:
10141 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
10142 (gst_fakesink_get_times), (gst_fakesink_event),
10143 (gst_fakesink_preroll), (gst_fakesink_render):
10144 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
10145 (gst_filesink_init), (gst_filesink_set_location),
10146 (gst_filesink_open_file), (gst_filesink_close_file),
10147 (gst_filesink_pad_query), (gst_filesink_event),
10148 (gst_filesink_render), (gst_filesink_change_state):
10149 * gst/elements/gstfilesink.h:
10150 Added object to help in making collect pad based elements.
10152 Make event function in sink baseclass return gboolean.
10154 2005-05-05 Wim Taymans <wim@fluendo.com>
10156 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
10157 (gst_bin_get_by_name):
10159 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
10160 (gst_clock_finalize):
10161 * gst/gstdata.c: (gst_data_replace):
10163 * gst/gstelement.c: (gst_element_request_pad),
10164 (gst_element_pads_activate):
10165 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
10166 (gst_object_unref):
10167 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10168 (gst_pad_set_checkgetrange_function),
10169 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
10170 (gst_pad_check_pull_range), (gst_pad_pull_range),
10171 (gst_static_pad_template_get_caps), (gst_pad_start_task),
10172 (gst_pad_pause_task), (gst_pad_stop_task):
10173 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10174 (gst_element_request_pad), (gst_pad_proxy_getcaps):
10175 Fix name lookup in GstBin.
10176 Added _data_replace() function and _buffer_replace()
10177 Use finalize method to clean up clock.
10178 Fix refcounting on request pads.
10179 Fix pad schedule mode error.
10180 Some more object refcounting debug info,
10183 2005-05-04 Andy Wingo <wingo@pobox.com>
10185 * check/Makefile.am:
10186 * docs/gst/tmpl/gstatomic.sgml:
10187 * docs/gst/tmpl/gstplugin.sgml:
10188 * gst/base/gstbasesink.c: (gst_basesink_activate):
10189 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
10190 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
10191 (gst_basesrc_query), (gst_basesrc_set_property),
10192 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
10193 (gst_basesrc_activate):
10194 * gst/base/gstbasesrc.h:
10195 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
10196 (gst_base_transform_src_activate):
10197 * gst/elements/gstelements.c:
10198 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10199 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
10200 * gst/elements/gsttee.c: (gst_tee_sink_activate):
10201 * gst/elements/gsttypefindelement.c: (find_element_get_length),
10202 (gst_type_find_element_checkgetrange),
10203 (gst_type_find_element_activate):
10204 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
10205 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
10206 (gst_caps_load_thyself):
10207 * gst/gstelement.c: (gst_element_pads_activate),
10208 (gst_element_save_thyself), (gst_element_restore_thyself):
10209 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
10210 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
10212 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
10213 (gst_xml_parse_file), (gst_xml_parse_memory),
10214 (gst_xml_get_element), (gst_xml_make_element):
10215 * gst/indexers/gstfileindex.c: (gst_file_index_load),
10216 (_file_index_id_save_xml), (gst_file_index_commit):
10217 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
10218 (read_enum), (load_pad_template), (load_feature), (load_plugin),
10220 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
10221 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
10222 * tools/gst-complete.c: (main):
10223 * tools/gst-compprep.c: (main):
10224 * tools/gst-inspect.c: (print_element_properties_info):
10225 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
10226 * tools/gst-xmlinspect.c: (print_element_properties):
10229 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
10231 * gst/gstplugin.c: (gst_plugin_check_module),
10232 (gst_plugin_check_file), (gst_plugin_load_file):
10233 apply patch from #172526 to make register work on MacOSX
10235 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
10237 * docs/gst/tmpl/gstconfig.sgml:
10238 * gst/gstconfig.h.in:
10239 move documentation for some symbols. Add doc for GST_PTR_FORMAT
10240 * testsuite/debug/printf_extension.c: (main):
10241 Do not use GST_PTR_FORMAT on pointers to types with
10242 sizeof < sizeof(gpointer). Fixes test on 64-bit
10243 * testsuite/elements/property.h:
10244 use correct printf format
10246 2005-05-02 Wim Taymans <wim@fluendo.com>
10248 * docs/design/draft-push-pull.txt:
10249 * docs/design/draft-query.txt:
10250 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
10251 (gst_basesrc_start):
10252 Added draft for new query API.
10253 Added draft for better selecting scheduling methods.
10254 Make basesrc ignore length if the subclass does not support
10257 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
10260 possible fixes for automake-1.5 - _LIBADD is reserved
10262 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
10264 * docs/faq/Makefile.am:
10265 * docs/manual/Makefile.am:
10266 * docs/manuals.mak:
10267 * docs/pwg/Makefile.am:
10269 possible fixes for automake-1.5
10271 2005-04-28 Wim Taymans <wim@fluendo.com>
10273 * gst/base/gstbasesink.c: (gst_basesink_base_init),
10274 (gst_basesink_pad_getcaps), (gst_basesink_init),
10275 (gst_basesink_do_sync):
10276 * gst/gstclock.c: (gst_clock_entry_new):
10277 * gst/gstevent.c: (gst_event_discont_get_value):
10278 * gst/gstpipeline.c: (pipeline_bus_handler),
10279 (gst_pipeline_change_state):
10280 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
10281 Better debugging of clocking info.
10282 Allow NULL values when getting discont values.
10284 2005-04-27 Wim Taymans <wim@fluendo.com>
10286 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
10287 * check/gst/gstpad.c: (gst_pad_suite):
10288 Increase timeout for checks.
10290 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10292 * check/Makefile.am:
10293 fix the broken rule for cleanup. Apparently this rule is
10294 only needed on FC2, so maybe this warrants further autotool
10297 2005-04-26 Wim Taymans <wim@fluendo.com>
10299 * gst/gsttrashstack.h:
10300 Ooohh. a nasty one! After having a failed pop() from the stack,
10301 it's possible that the stack is empty. In that case, don't
10302 follow the NULL pointer.
10304 2005-04-25 Wim Taymans <wim@fluendo.com>
10306 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10307 (gst_pad_set_checkgetrange_function),
10308 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
10309 (gst_pad_check_pull_range), (gst_pad_pull_range),
10310 (gst_static_pad_template_get_caps), (gst_pad_start_task),
10311 (gst_pad_pause_task), (gst_pad_stop_task):
10312 * gst/gstplugin.c: (gst_plugin_load):
10314 Remove gst_library_load as it does more harm than good with
10315 the new g_module flags.
10316 Revert bogus caps template check in pad linking, pad caps
10317 are important when linking not the template, which is more
10318 general than the current caps.
10320 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10322 * gst/autoplug/.cvsignore:
10323 * gst/autoplug/Makefile.am:
10324 * gst/autoplug/gstsearchfuncs.c:
10325 * gst/autoplug/gstsearchfuncs.h:
10326 * gst/autoplug/gstspider.c:
10327 * gst/autoplug/gstspider.h:
10328 * gst/autoplug/gstspideridentity.c:
10329 * gst/autoplug/gstspideridentity.h:
10330 * gst/autoplug/spidertest.c:
10333 2005-04-25 Wim Taymans <wim@fluendo.com>
10335 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10336 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
10337 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
10338 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
10340 Added stubs for unimplemented functions.
10342 2005-04-24 David Schleef <ds@schleef.org>
10344 * gst/gstpad.h: Disable some unimplemented functions. Wim,
10347 2005-04-24 David Schleef <ds@schleef.org>
10349 Convert everything from GstAtomicInt to g_atomic_int_*, and
10354 * gst/gstatomic_impl.h:
10362 * gst/gstdata_private.h:
10366 * gst/gstmessage.c:
10369 * gst/gststructure.c:
10370 * gst/gststructure.h:
10371 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
10374 2005-04-24 David Schleef <ds@schleef.org>
10376 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
10377 make the regressions tests work. Remove some code that is no
10379 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
10380 Disable warning for pads without templates.
10382 2005-04-24 David Schleef <ds@schleef.org>
10384 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
10385 functions that handle filtered links.
10386 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
10388 * gst/gstutils.c: Fix/remove utility functions that handle
10391 * gst/gstvalue.c: Add serialization/deserialization of caps
10392 * gst/parse/grammar.y: Ignore filtered caps when linking. This
10393 requires fixing so that the filter caps notation creates
10394 a capsfilter element and sets the filter_caps property. I
10395 think everyone probably wants to keep the shorthand notation.
10396 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
10397 * docs/gst/tmpl/gstpad.sgml:
10399 * gst/elements/gstelements.c: Register capsfilter element.
10400 * gst/Makefile.am: fix spacing
10401 * docs/random/ds/0.9-suggested-changes: random
10403 2005-04-23 David Schleef <ds@schleef.org>
10405 * gst/elements/Makefile.am:
10406 * gst/elements/gstcapsfilter.c: New element that acts like an
10407 identity, but filters caps. Will eventually replace filtered
10408 caps in pad linking.
10409 * gst/gstutils.c: (gst_element_create_all_pads): New function
10410 to create all the ALWAYS pads that are registered with an
10411 element class. This functionality should eventually be
10412 merged in with GstElement initialization.
10414 * testsuite/trigger/README: part of trigger test code that should
10415 have been checked in a long time ago.
10417 2005-04-23 David Schleef <ds@schleef.org>
10419 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
10420 needed with new versions of libtool (nobody will confirm this),
10421 and hard to carry around.
10422 * gst/autoplug/Makefile.am:
10423 * gst/base/Makefile.am:
10424 * gst/elements/Makefile.am:
10425 * gst/indexers/Makefile.am:
10426 * gst/schedulers/Makefile.am:
10427 * libs/gst/bytestream/Makefile.am:
10428 * libs/gst/control/Makefile.am:
10429 * libs/gst/dataprotocol/Makefile.am:
10430 * libs/gst/getbits/Makefile.am:
10432 2005-04-21 Wim Taymans <wim@fluendo.com>
10434 * docs/design/draft-push-pull.txt:
10435 * docs/design/part-MT-refcounting.txt:
10436 * docs/design/part-TODO.txt:
10437 * docs/design/part-caps.txt:
10438 * docs/design/part-events.txt:
10439 * docs/design/part-gstbus.txt:
10440 * docs/design/part-gstpipeline.txt:
10441 * docs/design/part-messages.txt:
10442 * docs/design/part-push-pull.txt:
10443 * docs/design/part-query.txt:
10446 2005-04-21 Wim Taymans <wim@fluendo.com>
10448 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
10449 (gst_message_new), (gst_message_new_error),
10450 (gst_message_new_warning), (gst_message_new_tag),
10451 (gst_message_new_state_changed), (gst_message_new_application),
10452 (gst_message_get_structure):
10453 * gst/gstmessage.h:
10454 * gst/gststructure.c: (gst_structure_set_parent_refcount),
10455 (gst_structure_copy_conditional):
10456 Use parent refcount in GstMessage to ensure GstStructure
10458 Cleaned up headers a bit.
10461 2005-04-20 Wim Taymans <wim@fluendo.com>
10463 * gst/base/gstbasesink.c: (gst_basesink_base_init),
10464 (gst_basesink_pad_getcaps), (gst_basesink_init),
10465 (gst_basesink_chain_unlocked):
10466 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
10467 (gst_type_find_helper):
10468 * gst/elements/gsttypefindelement.c:
10469 (gst_type_find_element_have_type), (gst_type_find_element_init),
10470 (stop_typefinding), (gst_type_find_element_handle_event),
10471 (find_suggest), (gst_type_find_element_chain),
10472 (gst_type_find_element_checkgetrange),
10473 (gst_type_find_element_getrange), (do_typefind),
10474 (gst_type_find_element_activate):
10475 * gst/gstbuffer.c: (_gst_buffer_sub_free),
10476 (gst_buffer_default_free), (gst_buffer_default_copy),
10477 (gst_buffer_set_caps):
10478 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
10479 (gst_caps_replace):
10480 * gst/gstmessage.c: (gst_message_new),
10481 (gst_message_new_state_changed):
10482 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10483 (gst_pad_set_checkgetrange_function),
10484 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
10485 (gst_pad_set_caps), (gst_pad_check_pull_range),
10486 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
10488 * gst/gsttypefind.c: (gst_type_find_register):
10489 Make gst_caps_replace() work like other _replace() functions.
10490 Use _caps_replace() where possible.
10491 Make sure _message_new() initialises its field.
10492 Add gst_static_pad_template_get_caps()
10495 2005-04-18 Andy Wingo <wingo@pobox.com>
10497 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
10498 on the peer, not the pad. I think that was a typo. Pass an extra
10499 arg to see if random access is possible. Activate the pads as
10500 PULL_RANGE if possible.
10502 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
10504 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
10505 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
10508 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10510 * docs/faq/using.xml:
10511 Add note on gstreamer-properties (#154996).
10513 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10515 * docs/random/bbb/optional-properties:
10516 Some analysis on optional properties.
10518 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10520 * docs/gst/tmpl/gstelementfactory.sgml:
10521 * gst/gstelement.h:
10522 * gst/gstelementfactory.c: (gst_element_factory_init),
10523 (gst_element_factory_cleanup), (gst_element_register),
10524 (__gst_element_factory_add_static_pad_template),
10525 (gst_element_factory_get_static_pad_templates),
10526 (gst_element_factory_can_src_caps),
10527 (gst_element_factory_can_sink_caps):
10528 * gst/registries/Makefile.am:
10529 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
10530 (gst_xml_registry_class_init), (gst_xml_registry_init),
10531 (gst_xml_registry_new), (gst_xml_registry_set_property),
10532 (gst_xml_registry_get_property), (get_time), (make_dir),
10533 (gst_xml_registry_get_perms_func),
10534 (plugin_times_older_than_recurse), (plugin_times_older_than),
10535 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
10536 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
10537 (add_to_char_array), (read_string), (read_uint), (read_enum),
10538 (load_pad_template), (load_feature), (load_plugin), (load_paths),
10539 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
10540 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
10541 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
10542 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
10543 (gst_xml_registry_rebuild):
10544 * gst/registries/gstlibxmlregistry.h:
10545 * tools/gst-compprep.c: (main):
10546 * tools/gst-inspect.c: (print_pad_templates_info):
10547 * tools/gst-xmlinspect.c: (print_element_info):
10548 Use libxml2 for registry parsing, use staticpadtemplates in
10549 elementfactories. Makes gst_init() +/- 10x faster.
10551 2005-04-12 Wim Taymans <wim@fluendo.com>
10553 * gst/base/Makefile.am:
10554 * gst/base/gstbasesink.c: (gst_basesink_base_init),
10555 (gst_basesink_pad_getcaps), (gst_basesink_init),
10556 (gst_basesink_event), (gst_basesink_change_state):
10557 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
10558 (gst_basesrc_init), (gst_basesrc_query),
10559 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
10560 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
10561 (gst_basesrc_check_get_range), (gst_basesrc_loop),
10562 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
10563 (gst_basesrc_stop), (gst_basesrc_activate),
10564 (gst_basesrc_change_state):
10565 * gst/base/gsttypefindhelper.c: (helper_find_peek),
10566 (helper_find_suggest), (gst_type_find_helper):
10567 * gst/base/gsttypefindhelper.h:
10568 * gst/elements/Makefile.am:
10569 * gst/elements/gstelements.c:
10570 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
10571 (gst_fakesink_get_times), (gst_fakesink_event),
10572 (gst_fakesink_preroll), (gst_fakesink_render):
10573 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10574 (gst_fakesrc_init), (gst_fakesrc_event_handler),
10575 (gst_fakesrc_get_property), (gst_fakesrc_create),
10576 (gst_fakesrc_start), (gst_fakesrc_stop):
10577 * gst/elements/gstfakesrc.h:
10578 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
10579 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
10580 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
10581 (gst_filesrc_create_read), (gst_filesrc_create),
10582 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
10583 (gst_filesrc_start):
10584 * gst/elements/gsttypefindelement.c:
10585 (gst_type_find_element_have_type), (gst_type_find_element_init),
10586 (start_typefinding), (stop_typefinding), (push_buffer_store),
10587 (gst_type_find_element_handle_event),
10588 (gst_type_find_element_chain),
10589 (gst_type_find_element_checkgetrange),
10590 (gst_type_find_element_getrange), (do_typefind),
10591 (gst_type_find_element_activate),
10592 (gst_type_find_element_change_state):
10593 * gst/elements/gsttypefindelement.h:
10594 * gst/gstpipeline.c: (pipeline_bus_handler):
10595 Added typefind helper.
10596 Small preroll fix in the base sink.
10597 Disable typefind code in basesrc.
10598 Crude port of typefindelement.
10602 2005-04-11 Wim Taymans <wim@fluendo.com>
10604 * check/gst/gstbus.c: (gstbus_suite):
10605 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
10606 * check/gstcheck.h:
10607 Fix up the timeout so that the test does not fail.
10609 2005-04-06 Wim Taymans <wim@fluendo.com>
10612 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
10613 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
10614 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
10615 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
10616 (gst_basesrc_check_get_range), (gst_basesrc_loop),
10617 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
10618 (gst_basesrc_stop), (gst_basesrc_activate),
10619 (gst_basesrc_change_state), (basesrc_find_peek),
10620 (basesrc_find_suggest), (gst_basesrc_type_find):
10621 * gst/base/gstbasesrc.h:
10622 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
10623 (gst_filesrc_class_init), (gst_filesrc_init),
10624 (gst_filesrc_finalize), (gst_filesrc_set_location),
10625 (gst_filesrc_set_property), (gst_filesrc_get_property),
10626 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
10627 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
10628 (gst_filesrc_create_read), (gst_filesrc_create),
10629 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
10630 * gst/elements/gstfilesrc.h:
10631 * gst/gstelement.c: (gst_element_get_state_func),
10632 (gst_element_lost_state), (gst_element_pads_activate):
10633 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10634 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
10635 (gst_pad_pull_range):
10637 More work on the generic source base class, implement seeking,
10639 Make filesrc extend the base source class.
10640 Added gst_pad_set_checkgetrange_function to GstPad.
10642 2005-04-06 Andy Wingo <wingo@pobox.com>
10644 * pkgconfig/gstreamer-base.pc.in:
10645 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
10647 * pkgconfig/Makefile.am:
10648 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
10650 2005-04-04 Wim Taymans <wim@fluendo.com>
10652 * gst/base/Makefile.am:
10654 * gst/base/gstbasesink.c: (gst_basesink_base_init),
10655 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
10656 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
10657 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
10658 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
10659 (gst_basesrc_base_init), (gst_basesrc_class_init),
10660 (gst_basesrc_init), (gst_basesrc_get_formats),
10661 (gst_basesrc_get_query_types), (gst_basesrc_query),
10662 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
10663 (gst_basesrc_set_property), (gst_basesrc_get_property),
10664 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
10665 (gst_basesrc_loop), (gst_basesrc_activate),
10666 (gst_basesrc_change_state):
10667 * gst/base/gstbasesrc.h:
10668 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
10669 (gst_fakesrc_class_init), (gst_fakesrc_init),
10670 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
10671 (gst_fakesrc_get_property), (gst_fakesrc_create):
10672 * gst/elements/gstfakesrc.h:
10673 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
10674 (gst_filesrc_open_file), (gst_filesrc_loop),
10675 (gst_filesrc_activate), (filesrc_find_peek),
10676 (gst_filesrc_type_find):
10677 Made base source class, make fakesrc extend it.
10678 Add comments to basesink class.
10679 Some filesrc cleanup.
10681 2005-03-31 David Schleef <ds@schleef.org>
10683 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
10684 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
10685 expected to link against libgstreamer.
10686 * gst/base/Makefile.am: link against libgstreamer
10687 * gst/elements/Makefile.am: same
10689 2005-03-31 Andy Wingo <wingo@pobox.com>
10691 * tests/instantiate/Makefile.am:
10692 * tests/instantiate/caps.c: Add test to test speed of caps copy
10695 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
10696 GMemChunk to be fair.
10698 * gst/gsttrashstack.h: Remove warning about using the fallback
10699 trash stack implementation, it's still faster than malloc.
10701 2005-03-30 Andy Wingo <wingo@pobox.com>
10703 * tests/complexity.c: Add a copyright.
10705 2005-03-31 Wim Taymans <wim@fluendo.com>
10707 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
10708 (gst_base_transform_class_init), (gst_base_transform_init),
10709 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
10710 (gst_base_transform_get_property),
10711 (gst_base_transform_sink_activate),
10712 (gst_base_transform_src_activate),
10713 (gst_base_transform_change_state):
10714 * gst/base/gstbasetransform.h:
10715 * gst/elements/gstidentity.c: (gst_identity_class_init),
10716 (gst_identity_event), (gst_identity_check_perfect),
10717 (gst_identity_transform), (gst_identity_start),
10718 (gst_identity_stop):
10719 Added start/stop methods to transform base class so subclasses
10720 don't need to deal with state changes even.
10722 2005-03-31 Wim Taymans <wim@fluendo.com>
10724 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
10725 (gst_event_new_discontinuous), (gst_event_discont_get_value):
10727 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10728 (gst_pad_pull_range):
10729 Added rate to the discont event to prepare for variable speed
10730 and reverse playback.
10732 2005-03-29 David Schleef <ds@schleef.org>
10735 * testsuite/trigger/Makefile.am:
10736 * testsuite/trigger/trigger.c: A little example program to show
10737 how trigger-based elements can work.
10739 2005-03-29 Wim Taymans <wim@fluendo.com>
10741 * gst/base/Makefile.am:
10743 * gst/base/gstbasesink.c: (gst_basesink_get_type),
10744 (gst_basesink_base_init), (gst_basesink_class_init),
10745 (gst_basesink_pad_getcaps), (gst_basesink_init),
10746 (gst_basesink_activate), (gst_basesink_change_state):
10747 * gst/base/gstbasesink.h:
10748 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
10749 (gst_base_transform_base_init), (gst_base_transform_finalize),
10750 (gst_base_transform_class_init), (gst_base_transform_init),
10751 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
10752 (gst_base_transform_event), (gst_base_transform_getrange),
10753 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
10754 (gst_base_transform_set_property),
10755 (gst_base_transform_get_property),
10756 (gst_base_transform_sink_activate),
10757 (gst_base_transform_src_activate),
10758 (gst_base_transform_change_state):
10759 * gst/base/gstbasetransform.h:
10760 * gst/elements/gstidentity.c: (gst_identity_finalize),
10761 (gst_identity_class_init), (gst_identity_init),
10762 (gst_identity_event), (gst_identity_check_perfect),
10763 (gst_identity_transform), (gst_identity_set_property),
10764 (gst_identity_get_property), (gst_identity_change_state):
10765 * gst/elements/gstidentity.h:
10766 * gst/gstelement.c: (gst_element_get_state_func),
10767 (gst_element_lost_state), (gst_element_pads_activate):
10768 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10769 (gst_pad_check_pull_range), (gst_pad_pull_range):
10771 Simplify pad activation.
10772 Added function to check if pull_range can be performed.
10773 Error out when pulling inactive or flushing pads.
10774 Removed const from refcounted types as it does not make sense.
10775 Simplify pad templates in basesink
10776 Added base class for simple 1-to-1 transforms.
10777 Make identity subclass the base transform.
10779 2005-03-29 Andy Wingo <wingo@pobox.com>
10781 * docs/libs/gstreamer-libs-overrides.txt:
10782 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
10783 really don't understand what's going on, but like whatever. I want
10786 * docs/gst/Makefile.am:
10787 * docs/libs/Makefile.am: Dist the overrides files.
10789 * check/Makefile.am (clean-local): Remove .libs directories.
10791 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
10792 elements to EXTRA_DIST, so po/ files are happy.
10794 * po/POTFILES.in: Er, remove it here.
10796 * po/POTFILES: Remove gstspider.c.
10798 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
10800 * docs/libs/gstreamer-libs-docs.sgml:
10801 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
10804 * tests/complexity.c (main): Set the length of the preroll queue
10805 on the sinks to prevent a lockup.
10807 * libs/gst/dataprotocol/Makefile.am:
10808 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
10809 the same as the one in check/gst-libs/gdp.c.
10811 * po/, docs/gst/: Commit automatic changes to docs and po files.
10813 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
10814 the versioned libgstbase.
10816 * check/Makefile.am: Depend on an unversioned gst-register, seems
10817 to make autoconf happier.
10819 * gst/base/Makefile.am: Make libgstbase a versioned lib.
10821 2005-03-28 Wim Taymans <wim@fluendo.com>
10824 * docs/design/part-gstelement.txt:
10825 * docs/design/part-negotiation.txt:
10826 * docs/design/part-preroll.txt:
10827 * docs/design/part-scheduling.txt:
10828 * docs/design/part-states.txt:
10830 * gst/base/Makefile.am:
10832 * gst/base/gstbasesink.c: (gst_basesink_get_template),
10833 (gst_basesink_base_init), (gst_basesink_class_init),
10834 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
10835 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
10836 (gst_basesink_set_pad_functions),
10837 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
10838 (gst_basesink_set_property), (gst_basesink_get_property),
10839 (gst_base_sink_get_template), (gst_base_sink_get_caps),
10840 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
10841 (gst_basesink_preroll_queue_push),
10842 (gst_basesink_preroll_queue_empty),
10843 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
10844 (gst_basesink_event), (gst_basesink_get_times),
10845 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
10846 (gst_basesink_chain_unlocked), (gst_basesink_chain),
10847 (gst_basesink_loop), (gst_basesink_activate),
10848 (gst_basesink_change_state):
10849 * gst/base/gstbasesink.h:
10850 * gst/elements/Makefile.am:
10851 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
10852 (gst_fakesink_class_init), (gst_fakesink_init),
10853 (gst_fakesink_set_property), (gst_fakesink_get_property),
10854 (gst_fakesink_get_times), (gst_fakesink_event),
10855 (gst_fakesink_preroll), (gst_fakesink_render),
10856 (gst_fakesink_change_state):
10857 * gst/elements/gstfakesink.h:
10858 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
10859 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
10860 * gst/gstelement.c: (gst_element_add_pad),
10861 (gst_element_get_state_func), (gst_element_abort_state),
10862 (gst_element_commit_state), (gst_element_lost_state),
10863 (gst_element_set_state), (gst_element_pads_activate):
10864 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
10865 * gst/gstpipeline.c: (gst_pipeline_send_event),
10866 (gst_pipeline_change_state):
10867 Added state change code.
10868 Added/updated docs.
10869 Added sink base class, make fakesink extend the base class.
10870 Small cleanups in GstPipeline.
10872 2005-03-26 David Schleef <ds@schleef.org>
10874 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
10875 is broken and should be implemented in a different library.
10876 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
10877 * gst/gst.h: remove gstcpu.h
10878 * gst/gstcpu.c: remove
10879 * gst/gstcpu.h: remove
10880 * gst/Makefile.am.future: Remove this file. It's ancient.
10882 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10884 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
10885 (gst_bin_send_event):
10886 Add default event/set_manager handlers. The set_manager handler
10887 takes care that the manager is distributed over kids that were
10888 already in the bin before the manager was set. The event handler
10889 is a utility virtual function that sends the event over all sinks,
10890 so that gst_element_send_event (bin, event); has the expected
10892 * gst/gstpad.c: (gst_pad_event_default):
10893 Re-install default event handling for discontinuities, so that
10894 seeking works without requiring hacks in applications or extra
10896 * gst/gstpipeline.c: (gst_pipeline_class_init),
10897 (gst_pipeline_send_event):
10898 Half hack, half utility: set a pipeline to PAUSED for seek events,
10899 since that is the only way we can guarantee a/v sync. Means that
10900 you can do gst_element_seek (pipeline, method, pos); on a pipeline
10901 and it "just works".
10903 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10905 * gst/gstpipeline.c: (gst_pipeline_use_clock):
10906 Lock/unlock mismatch.
10908 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
10910 * docs/faq/gst-uninstalled:
10911 add gst-plugins-base
10912 * docs/gst/Makefile.am:
10913 don't error out until docs are fixed
10914 * docs/gst/gstreamer.types:
10917 2005-03-22 Wim Taymans <wim@fluendo.com>
10919 * check/Makefile.am:
10920 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
10921 * gst/gststructure.c: (gst_structure_set_valist),
10922 (gst_structure_copy_conditional):
10923 Activated more tests.
10924 Added message test.
10925 Added G_TYPE_POINTER to GstStructure.
10928 2005-03-22 Wim Taymans <wim@fluendo.com>
10930 * docs/design/part-TODO.txt:
10931 * docs/design/part-events.txt:
10932 * docs/design/part-gstbin.txt:
10933 * docs/design/part-gstbus.txt:
10934 * docs/design/part-gstpipeline.txt:
10935 * docs/design/part-messages.txt:
10937 * gst/gstmessage.c:
10940 2005-03-21 Wim Taymans <wim@fluendo.com>
10942 * gst/gstbus.c: (gst_bus_post):
10943 Fix copy-and-paste error.
10945 2005-03-21 Wim Taymans <wim@fluendo.com>
10947 * check/Makefile.am:
10949 * gst/elements/Makefile.am:
10950 * gst/elements/gstelements.c:
10951 * gst/elements/gstfakesink.c: (gst_fakesink_init),
10952 (gst_fakesink_event), (gst_fakesink_chain):
10953 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10954 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
10955 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
10956 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
10957 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
10958 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
10959 (gst_fakesrc_loop), (gst_fakesrc_activate),
10960 (gst_fakesrc_change_state):
10961 * gst/elements/gstfakesrc.h:
10962 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
10963 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
10964 (gst_filesrc_open_file), (gst_filesrc_loop),
10965 (gst_filesrc_activate), (gst_filesrc_change_state),
10966 (filesrc_find_peek), (filesrc_find_suggest),
10967 (gst_filesrc_type_find):
10968 * gst/elements/gstidentity.c: (gst_identity_finalize),
10969 (gst_identity_class_init), (gst_identity_init),
10970 (gst_identity_proxy_getcaps), (identity_queue_push),
10971 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
10972 (gst_identity_getrange), (gst_identity_chain),
10973 (gst_identity_sink_loop), (gst_identity_src_loop),
10974 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
10975 (gst_identity_set_property), (gst_identity_get_property),
10976 (gst_identity_change_state):
10977 * gst/elements/gstidentity.h:
10978 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
10979 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
10980 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
10981 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
10982 (gst_tee_sink_activate):
10983 * gst/elements/gsttee.h:
10984 * gst/gst.c: (gst_register_core_elements), (init_post):
10986 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
10987 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
10988 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
10989 (gst_bin_change_state):
10991 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
10992 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
10993 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
10994 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
10995 (gst_bus_set_sync_handler), (gst_bus_create_watch),
10996 (bus_watch_callback), (bus_watch_destroy),
10997 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
10998 (poll_timeout), (gst_bus_poll):
11002 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
11003 (gst_element_post_message), (gst_element_message_full),
11004 (gst_element_get_state_func), (gst_element_get_state),
11005 (gst_element_abort_state), (gst_element_commit_state),
11006 (gst_element_lost_state), (gst_element_set_state),
11007 (gst_element_pads_activate), (gst_element_change_state),
11008 (gst_element_dispose), (gst_element_set_manager_func),
11009 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
11010 (gst_element_set_manager), (gst_element_get_manager),
11011 (gst_element_set_bus), (gst_element_get_bus),
11012 (gst_element_set_scheduler), (gst_element_get_scheduler):
11013 * gst/gstelement.h:
11014 * gst/gstevent.c: (gst_event_new_segment_seek),
11015 (gst_event_new_flush):
11017 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
11018 (_gst_message_free), (gst_message_get_type), (gst_message_new),
11019 (gst_message_new_eos), (gst_message_new_error),
11020 (gst_message_new_warning), (gst_message_new_tag),
11021 (gst_message_new_state_changed), (gst_message_new_application),
11022 (gst_message_get_structure), (gst_message_parse_tag),
11023 (gst_message_parse_state_changed), (gst_message_parse_error),
11024 (gst_message_parse_warning):
11025 * gst/gstmessage.h:
11026 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
11027 (gst_real_pad_set_property), (gst_pad_set_active),
11028 (gst_pad_is_active), (gst_pad_set_blocked_async),
11029 (gst_pad_set_blocked), (gst_pad_is_blocked),
11030 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
11031 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
11032 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
11033 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
11034 (gst_pad_link_filtered), (gst_pad_relink_filtered),
11035 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
11036 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
11037 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
11038 (gst_pad_set_caps), (gst_pad_configure_sink),
11039 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
11040 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
11041 (gst_real_pad_dispose), (gst_real_pad_finalize),
11042 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
11043 (gst_pad_event_default_dispatch), (gst_pad_event_default),
11044 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
11046 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
11047 (pipeline_bus_handler), (gst_pipeline_change_state),
11048 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
11049 * gst/gstpipeline.h:
11051 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
11052 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
11053 (gst_queue_link_src), (gst_queue_bufferalloc),
11054 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
11055 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
11056 (gst_queue_loop), (gst_queue_handle_src_event),
11057 (gst_queue_handle_src_query), (gst_queue_src_activate),
11058 (gst_queue_change_state):
11060 * gst/gstscheduler.c: (gst_scheduler_init),
11061 (gst_scheduler_dispose), (gst_scheduler_create_task),
11062 (gst_scheduler_factory_create):
11063 * gst/gstscheduler.h:
11064 * gst/gststructure.c: (gst_structure_get_type),
11065 (gst_structure_copy_conditional):
11066 * gst/gststructure.h:
11067 * gst/gsttaginterface.h:
11068 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
11069 (gst_task_init), (gst_task_dispose), (gst_task_create),
11070 (gst_task_get_state), (gst_task_start), (gst_task_stop),
11076 * gst/schedulers/Makefile.am:
11077 * gst/schedulers/cothreads_compat.h:
11078 * gst/schedulers/entryscheduler.c:
11079 * gst/schedulers/faircothreads.c:
11080 * gst/schedulers/faircothreads.h:
11081 * gst/schedulers/fairscheduler.c:
11082 * gst/schedulers/gstbasicscheduler.c:
11083 * gst/schedulers/gstoptimalscheduler.c:
11084 * gst/schedulers/gthread-cothreads.h:
11085 * gst/schedulers/threadscheduler.c:
11086 (gst_thread_scheduler_task_get_type),
11087 (gst_thread_scheduler_task_class_init),
11088 (gst_thread_scheduler_task_init),
11089 (gst_thread_scheduler_task_start),
11090 (gst_thread_scheduler_task_stop),
11091 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
11092 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
11093 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
11094 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
11096 * libs/gst/Makefile.am:
11097 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
11098 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
11099 (gst_file_pad_parent_set):
11100 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
11101 (gst_dp_event_from_packet):
11102 * tests/complexity.c: (main):
11103 * tests/mass_elements.c: (main):
11104 * testsuite/states/locked.c: (message_received), (main):
11105 * testsuite/states/parent.c: (main):
11106 * tools/gst-inspect.c: (print_element_flag_info),
11107 (print_implementation_info), (print_pad_info):
11108 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
11110 * tools/gst-md5sum.c: (event_loop), (main):
11111 * tools/gst-typefind.c: (main):
11112 * tools/gst-xmlinspect.c: (print_element_info):
11114 Added GstBus for mainloop integration.
11115 Added GstMessage for sending notifications on the bus.
11116 Added GstTask as an abstraction for pipeline entry points.
11118 Removed Schedulers.
11119 Simplified GstQueue for multithreaded core.
11120 Made _link threadsafe, removed old capsnego.
11121 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
11122 Added pad blocking functions.
11123 Reworked scheduling functions in GstPad to prepare for
11124 scheduling updates soon.
11125 Moved events out of data stream.
11126 Simplified GstEvent types.
11127 Added return values to push/pull.
11128 Removed clocking from GstElement.
11129 Added prototypes for state change function for next merge.
11130 Removed iterate from bins and state change management.
11131 Fixed some elements, disabled others for now.
11132 Fixed -inspect and -launch.
11133 Added check for GstBus.
11135 2005-03-10 Wim Taymans <wim@fluendo.com>
11137 * docs/design/part-MT-refcounting.txt:
11138 * docs/design/part-clocks.txt:
11139 * docs/design/part-gstelement.txt:
11140 * docs/design/part-gstobject.txt:
11141 * docs/design/part-standards.txt:
11142 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
11143 (gst_bin_remove_func), (gst_bin_remove):
11147 * testsuite/clock/clock1.c: (main):
11148 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
11150 * testsuite/dlopen/loadgst.c: (do_test):
11151 * testsuite/refcounting/bin.c: (add_remove_test1),
11152 (add_remove_test2), (main):
11153 * testsuite/refcounting/element.c: (main):
11154 * testsuite/refcounting/element_pad.c: (main):
11155 * testsuite/refcounting/pad.c: (main):
11156 * tools/gst-launch.c: (sigint_handler_sighandler):
11157 * tools/gst-typefind.c: (main):
11159 Added doc about clock.
11160 removed gst_bin_iterate_recurse_up(), marked methods
11162 Fix more testsuites.
11164 2005-03-09 Wim Taymans <wim@fluendo.com>
11166 * gst/gstpad.c: (gst_pad_get_direction),
11167 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
11168 (gst_pad_collect_valist):
11169 * testsuite/bins/interface.c: (main):
11170 * testsuite/caps/audioscale.c: (test_caps):
11171 * testsuite/caps/caps.c: (test1), (test2), (test3):
11172 * testsuite/caps/deserialize.c: (main):
11173 * testsuite/caps/enumcaps.c: (main):
11174 * testsuite/caps/filtercaps.c: (main):
11175 * testsuite/caps/intersect2.c: (main):
11176 * testsuite/caps/random.c: (main):
11177 * testsuite/caps/renegotiate.c: (my_fixate), (main):
11178 * testsuite/caps/sets.c: (check_caps):
11179 * testsuite/caps/simplify.c: (check_caps), (main):
11180 * testsuite/caps/subtract.c: (check_caps):
11181 Fix _pad_get_direction wrt ghostpads.
11182 Fix caps testsuite.
11184 2005-03-09 Wim Taymans <wim@fluendo.com>
11186 * check/Makefile.am:
11187 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
11188 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
11189 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
11190 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
11191 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
11192 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
11193 (gst_bin_remove), (gst_bin_iterate_recurse_up),
11194 (bin_element_is_sink), (gst_bin_iterate_sinks),
11195 (gst_bin_iterate_all_by_interface):
11197 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
11198 (gst_element_change_state), (gst_element_dispose),
11199 (gst_element_finalize), (gst_element_set_loop_function):
11200 * gst/gstelement.h:
11201 * gst/gstiterator.c: (find_custom_fold_func):
11202 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
11203 (gst_pad_collectv), (gst_pad_collect_valist),
11204 (gst_pad_template_new):
11205 * gst/gstpipeline.c: (gst_pipeline_class_init),
11206 (gst_pipeline_dispose), (gst_pipeline_set_property),
11207 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
11208 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
11209 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
11211 * gst/schedulers/entryscheduler.c:
11212 * gst/schedulers/gstbasicscheduler.c:
11213 (gst_basic_scheduler_cothreaded_chain),
11214 (gst_basic_scheduler_chain_add_element):
11215 * testsuite/bins/interface.c: (main):
11217 Added GstSystemClock test.
11218 Implemented clock distribution code in GstBin.
11219 Implemented iterate sinks method for future use.
11220 Rearranged gstelement.h
11221 Fix GstIterator comparison bug.
11222 Moved some code to GstPipeline, mostly clocking related.
11224 2005-03-09 Wim Taymans <wim@fluendo.com>
11227 * gst/gst_private.h:
11228 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
11229 (gst_bin_remove_func), (gst_bin_remove),
11230 (gst_bin_get_by_name_recurse_up):
11231 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
11232 (gst_clock_id_compare_func), (gst_clock_id_wait),
11233 (gst_clock_id_wait_async), (gst_clock_init),
11234 (gst_clock_adjust_unlocked), (gst_clock_get_time):
11235 * gst/gstelement.h:
11236 * gst/gstinfo.c: (_gst_debug_init):
11238 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
11239 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
11241 Bump version number, we're now 0.9.0
11242 Add future debugging category.
11243 Fix NULL _unref() in _get_by_name_recurse_up
11244 Rearrange gstpad.h.
11247 2005-03-08 Wim Taymans <wim@fluendo.com>
11249 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
11250 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
11251 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
11252 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
11253 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
11254 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
11255 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
11256 * gst/elements/gstidentity.c: (gst_identity_class_init):
11257 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
11258 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
11259 * gst/elements/gstshaper.c: (gst_shaper_class_init):
11260 * gst/elements/gststatistics.c: (gst_statistics_class_init):
11261 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
11263 * gst/gstelement.c: (gst_element_class_init),
11264 (gst_element_base_class_init), (gst_element_init),
11265 (gst_element_get_random_pad), (gst_element_wait_state_change),
11266 (gst_element_change_state), (gst_element_dispose),
11267 (gst_element_finalize), (gst_element_set_loop_function):
11268 * gst/gstelement.h:
11269 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
11270 * gst/gstthread.c: (gst_thread_class_init),
11271 (gst_thread_release_children_locks), (gst_thread_change_state):
11272 * gst/schedulers/gstbasicscheduler.c:
11273 (gst_basic_scheduler_loopfunc_wrapper),
11274 (gst_basic_scheduler_chain_wrapper),
11275 (gst_basic_scheduler_src_wrapper),
11276 (gst_basic_scheduler_remove_element):
11277 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
11278 Remove threadsafe properties. Fix elements because GObject
11279 complains when installing a property before declaring a
11280 set/get_property handler.
11281 Rearrange gstelement.h file, use STATE macros for state locks.
11282 Free mutexes in the finalize method instead of dispose.
11284 2005-03-08 Wim Taymans <wim@fluendo.com>
11286 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
11287 * gst/gstthread.c: (gst_thread_release_children_locks):
11288 Added parentage check.
11289 Fix build og GstThread again.
11291 2005-03-08 Wim Taymans <wim@fluendo.com>
11293 * docs/design/part-MT-refcounting.txt:
11294 * docs/design/part-conventions.txt:
11295 * docs/design/part-gstobject.txt:
11296 * docs/design/part-relations.txt:
11297 * docs/design/part-standards.txt:
11298 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
11299 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
11300 (gst_bin_get_by_name), (gst_bin_get_by_interface),
11301 (gst_bin_iterate_all_by_interface):
11304 * gst/gstelement.c: (gst_element_class_init),
11305 (gst_element_change_state), (gst_element_set_loop_function):
11306 * gst/gstelement.h:
11307 * gst/gstiterator.c:
11308 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
11309 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
11310 (gst_object_dispatch_properties_changed), (gst_object_set_name),
11311 (gst_object_set_parent), (gst_object_unparent),
11312 (gst_object_check_uniqueness):
11314 Docs updates, clean up some headers.
11316 2005-03-07 Wim Taymans <wim@fluendo.com>
11318 * check/.cvsignore:
11319 * check/Makefile.am:
11320 * check/gst-libs/.cvsignore:
11321 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
11322 * check/gst/.cvsignore:
11323 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
11324 (START_TEST), (gstbus_suite), (main):
11325 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
11326 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
11327 (gst_data_suite), (main):
11328 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
11329 (add_fold_func), (gstiterator_suite), (main):
11330 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
11331 (thread_name_object), (thread_name_object_default),
11332 (gst_object_name_compare), (gst_object_suite), (main):
11333 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
11334 (gst_pad_suite), (main):
11335 * check/gstcheck.c: (gst_check_log_message_func),
11336 (gst_check_log_critical_func), (gst_check_init):
11337 * check/gstcheck.h:
11338 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
11339 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
11342 2005-03-07 Wim Taymans <wim@fluendo.com>
11344 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
11345 (gst_list_iterator_next), (gst_list_iterator_resync),
11346 (gst_list_iterator_free), (gst_iterator_new_list),
11347 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
11348 (gst_iterator_free), (gst_iterator_push), (filter_next),
11349 (filter_resync), (filter_uninit), (filter_free),
11350 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
11351 (gst_iterator_foreach), (find_custom_fold_func),
11352 (gst_iterator_find_custom):
11353 * gst/gstiterator.h:
11354 Added missing files.
11356 2005-03-07 Wim Taymans <wim@fluendo.com>
11360 * docs/design/part-MT-refcounting.txt:
11361 * docs/design/part-conventions.txt:
11362 * docs/design/part-gstobject.txt:
11363 * docs/design/part-relations.txt:
11364 * examples/mixer/mixer.c: (main):
11365 * examples/thread/thread.c: (eos), (main):
11367 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
11368 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
11369 (gst_spider_plug_from_srcpad):
11370 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
11371 (gst_spider_identity_change_state),
11372 (gst_spider_identity_sink_loop_type_finding):
11373 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
11374 * gst/elements/gstidentity.c: (gst_identity_init):
11375 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
11376 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
11377 * gst/elements/gsttypefindelement.c: (free_entry):
11380 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
11381 (gst_bin_set_clock_func), (gst_bin_auto_clock),
11382 (gst_bin_set_index), (gst_bin_set_element_sched),
11383 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
11384 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
11385 (gst_bin_iterate_elements), (iterate_child_recurse),
11386 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
11387 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
11388 (compare_interface), (gst_bin_get_by_interface),
11389 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
11391 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
11392 (gst_buffer_default_free), (gst_buffer_default_copy),
11393 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
11394 (gst_buffer_create_sub):
11396 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
11397 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
11398 (gst_caps_unref), (gst_static_caps_get),
11399 (gst_caps_remove_and_get_structure), (gst_caps_append),
11400 (gst_caps_append_structure), (gst_caps_remove_structure),
11401 (gst_caps_copy_nth), (gst_caps_set_simple),
11402 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
11403 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
11404 (gst_caps_structure_intersect_field), (gst_caps_intersect),
11405 (gst_caps_structure_subtract_field), (gst_caps_subtract),
11406 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
11407 (gst_caps_structure_figure_out_union),
11408 (gst_caps_switch_structures), (gst_caps_do_simplify),
11409 (gst_caps_replace), (gst_caps_from_string),
11410 (gst_caps_copy_conditional):
11412 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
11413 (_gst_clock_id_free), (gst_clock_id_unref),
11414 (gst_clock_id_compare_func), (gst_clock_id_wait),
11415 (gst_clock_id_wait_async), (gst_clock_class_init),
11416 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
11417 (gst_clock_get_time), (gst_clock_set_time_adjust),
11418 (gst_clock_set_property), (gst_clock_get_property):
11421 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
11422 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
11424 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
11425 (gst_element_requires_clock), (gst_element_provides_clock),
11426 (gst_element_set_clock), (gst_element_clock_wait),
11427 (gst_element_wait), (gst_element_set_time_delay),
11428 (gst_element_is_indexable), (gst_element_add_pad),
11429 (gst_element_add_ghost_pad), (gst_element_remove_pad),
11430 (pad_compare_name), (gst_element_get_static_pad),
11431 (gst_element_request_pad), (gst_element_get_request_pad),
11432 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
11433 (gst_element_class_get_pad_template_list),
11434 (gst_element_class_get_pad_template), (gst_element_error_func),
11435 (gst_element_get_random_pad), (gst_element_get_event_masks),
11436 (gst_element_send_event), (gst_element_seek),
11437 (gst_element_get_query_types), (gst_element_query),
11438 (gst_element_get_formats), (gst_element_convert),
11439 (gst_element_is_locked_state), (gst_element_set_locked_state),
11440 (gst_element_sync_state_with_parent), (gst_element_change_state),
11441 (gst_element_finalize), (gst_element_yield),
11442 (gst_element_interrupt), (gst_element_set_scheduler),
11443 (gst_element_get_scheduler), (gst_element_set_loop_function):
11444 * gst/gstelement.h:
11446 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
11447 (gst_format_get_by_nick), (gst_format_get_details),
11448 (gst_format_iterate_definitions):
11450 * gst/gstindex.c: (gst_index_gtype_resolver):
11453 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
11454 (gst_mem_chunk_free):
11455 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
11456 (gst_object_ref), (gst_object_unref), (gst_object_sink),
11457 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
11458 (gst_object_dispatch_properties_changed),
11459 (gst_object_set_name_default), (gst_object_set_name),
11460 (gst_object_get_name), (gst_object_set_name_prefix),
11461 (gst_object_get_name_prefix), (gst_object_set_parent),
11462 (gst_object_get_parent), (gst_object_unparent),
11463 (gst_object_check_uniqueness), (gst_object_save_thyself),
11464 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
11465 (gst_object_set_property), (gst_object_get_property),
11466 (gst_object_get_path_string):
11468 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
11469 (gst_real_pad_init), (gst_real_pad_get_property),
11470 (gst_pad_custom_new), (gst_pad_get_direction),
11471 (gst_pad_set_active), (gst_pad_is_active),
11472 (gst_pad_set_event_function), (gst_pad_is_linked),
11473 (gst_pad_link_free), (gst_pad_link_intersect),
11474 (gst_pad_link_fixate), (gst_pad_set_caps),
11475 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
11476 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
11477 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
11478 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
11479 (gst_pad_get_caps), (gst_pad_peer_get_caps),
11480 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
11481 (gst_pad_realize), (gst_pad_get_allowed_caps),
11482 (gst_real_pad_dispose), (gst_real_pad_finalize),
11483 (gst_pad_collectv), (gst_pad_collect_valist),
11484 (gst_pad_template_dispose), (gst_pad_template_new),
11485 (gst_pad_get_internal_links):
11487 * gst/gstpipeline.c: (gst_pipeline_dispose),
11488 (gst_pipeline_change_state):
11489 * gst/gstpipeline.h:
11491 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
11492 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
11493 * gst/gstpluginfeature.h:
11494 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
11495 * gst/gstquery.c: (_gst_query_type_initialize),
11496 (gst_query_type_register), (gst_query_type_get_by_nick),
11497 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
11499 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
11500 * gst/gstscheduler.c: (gst_scheduler_add_element),
11501 (gst_scheduler_factory_create):
11502 * gst/gststructure.c: (gst_structure_set_parent_refcount),
11503 (gst_structure_free), (gst_structure_set_name),
11504 (gst_structure_id_set_value), (gst_structure_set_value),
11505 (gst_structure_set_valist), (gst_structure_remove_field),
11506 (gst_structure_remove_fields),
11507 (gst_structure_remove_fields_valist),
11508 (gst_structure_remove_all_fields), (gst_structure_foreach),
11509 (gst_structure_map_in_place),
11510 (gst_caps_structure_fixate_field_nearest_int),
11511 (gst_caps_structure_fixate_field_nearest_double):
11512 * gst/gststructure.h:
11513 * gst/gstsystemclock.c: (gst_system_clock_class_init),
11514 (gst_system_clock_init), (gst_system_clock_dispose),
11515 (gst_system_clock_async_thread),
11516 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
11517 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
11518 * gst/gstsystemclock.h:
11519 * gst/gsttag.c: (gst_tag_list_add_value_internal),
11520 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
11521 * gst/gsttaginterface.c:
11522 * gst/gstthread.c: (gst_thread_dispose),
11523 (gst_thread_release_children_locks), (gst_thread_change_state),
11524 (gst_thread_main_loop):
11525 * gst/gsttrashstack.h:
11526 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
11528 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11529 (gst_element_request_pad), (gst_element_get_pad_from_template),
11530 (gst_element_request_compatible_pad),
11531 (gst_element_get_compatible_pad_filtered),
11532 (gst_element_get_compatible_pad), (gst_element_state_get_name),
11533 (gst_element_link_pads_filtered), (gst_element_link_filtered),
11534 (gst_element_link_many), (gst_element_link),
11535 (gst_element_link_pads), (gst_element_unlink_pads),
11536 (gst_element_unlink_many), (gst_element_unlink),
11537 (gst_pad_can_link_filtered), (gst_pad_can_link),
11538 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
11539 (gst_object_default_error), (gst_bin_add_many),
11540 (gst_bin_remove_many), (gst_element_populate_std_props),
11541 (gst_element_class_install_std_props), (gst_buffer_merge),
11542 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
11543 (link_fold_func), (gst_pad_proxy_setcaps):
11545 * gst/gstvalue.c: (gst_value_deserialize_string):
11546 * gst/parse/grammar.y:
11547 * gst/schedulers/gstbasicscheduler.c:
11548 (gst_basic_scheduler_cothreaded_chain),
11549 (gst_basic_scheduler_chain_recursive_add),
11550 (gst_basic_scheduler_pad_link):
11551 * gst/schedulers/gstoptimalscheduler.c:
11552 (get_group_schedule_function),
11553 (gst_opt_scheduler_state_transition),
11554 (gst_opt_scheduler_add_element), (element_get_reachables_func):
11555 * libs/gst/bytestream/bytestream.c:
11556 * libs/gst/dataprotocol/dataprotocol.c:
11557 (gst_dp_header_from_buffer):
11560 * tests/threadstate/threadstate2.c: (eos):
11561 * tools/gst-compprep.c: (main):
11562 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
11563 (print_pad_info), (print_children_info):
11564 * tools/gst-launch.c: (idle_func), (main):
11565 * tools/gst-md5sum.c: (idle_func), (main):
11566 * tools/gst-xmlinspect.c: (print_element_info):
11567 First THREADED backport attempt, focusing on adding locks and
11568 making sure the API is threadsafe. Needs more work. More docs
11571 2005-02-24 Andy Wingo <wingo@pobox.com>
11573 * tests/bench-complexity.scm:
11574 * tests/complexity.gnuplot: New files, good for running complexity
11577 * tests/Makefile.am:
11578 * tests/complexity.c: New test, sets up N elements, at each level
11579 teeing into M streams per element. Eeeenteresting.
11581 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
11582 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
11583 running bench-mass_elements.scm.
11585 * tests/bench-mass_elements.scm: New script, runs mass_elements
11586 for various numbers of identities, outputting the results to a
11587 file. Requires guile 1.6. Just for testing.
11589 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
11591 * gst/schedulers/fairscheduler.c:
11592 compile with debug disabled
11594 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
11597 hunting season on 0.9 is now OPEN