1 2005-10-08 Wim Taymans <wim@fluendo.com>
3 * gst/gstbus.c: (gst_bus_pop):
4 * gst/gstclock.c:
5 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
6 Small cleanups and doc updates.
8 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
10 * gst/gst.c: (init_pre):
11 * gst/gstbin.c: (gst_bin_add_func):
12 log distributing clocks and base time
13 * gst/gstregistry.c: (gst_registry_add_plugin),
14 (gst_registry_scan_path_level), (gst_registry_scan_path):
15 clean up the debugging output a little
16 * gst/gstutils.c: (gst_element_state_get_name):
17 warn about a memleak (I've actually seen this be used, though
18 it was probably a bug)
20 2005-10-07 Wim Taymans <wim@fluendo.com>
22 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23 (gst_base_src_init), (gst_base_src_default_newsegment),
24 (gst_base_src_newsegment), (gst_base_src_do_seek),
25 (gst_base_src_loop), (gst_base_src_start):
26 * gst/base/gstbasesrc.h:
27 Make the newsegment event customizable by subclasses.
29 2005-10-07 Wim Taymans <wim@fluendo.com>
31 * gst/gstevent.c: (gst_event_new_buffersize),
32 (gst_event_parse_buffersize):
33 * gst/gstevent.h:
34 New event for future idea.
36 2005-10-07 Andy Wingo <wingo@pobox.com>
38 * gst/gstelement.c (gst_element_post_message): Doc update.
40 * docs/gst/gstreamer-sections.txt: Update.
42 * gst/gstmessage.c (gst_message_new_application): Made into a
43 function like honest API calls.
44 (gst_message_new_element): New message type.
46 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
48 * check/elements/fakesrc.c (test_no_preroll): New check, checks
49 that setting a live fakesrc to PAUSED returns NO_PREROLL both
50 times.
52 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
53 NO_PREROLL from gst_element_change_state to fall through.
55 2005-10-07 Wim Taymans <wim@fluendo.com>
57 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
58 (gst_ghost_pad_do_activate_push):
59 Activating a ghostpad with no internal pad in push mode
60 is ok.
62 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
64 * gst/gstobject.h:
65 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
66 Fixes compilation on Windows.
68 2005-10-07 Michael Smith <msmith@fluendo.com>
70 * tools/gst-inspect.c:
71 Print out feature and plugin count at the end when printing out
72 all features.
74 2005-10-04 Michael Smith <msmith@fluendo.com>
76 * gst/gsterror.c: (_gst_stream_errors_init):
77 Add another error string used in a few existing plugins.
79 * gst/gstplugin.c:
80 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
81 * tools/gst-inspect.c: (print_element_info):
82 When a feature disappears from a plugin (and the feature exists in
83 the cached registry file), things went horribly wrong. This isn't a
84 complete fix, we should actually be removing the 'missing' features
85 from the features list when we load the actual plugin. That's not
86 yet implemented.
88 2005-10-04 Johan Dahlin <johan@gnome.org>
90 * check/gst/gstiterator.c: (GST_START_TEST):
91 * gst/gstbin.c: (gst_bin_iterate_elements),
92 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
93 * gst/gstelement.c: (gst_element_iterate_pads):
94 * gst/gstformat.c: (gst_format_iterate_definitions):
95 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
96 (gst_iterator_new_list), (gst_iterator_filter):
97 * gst/gstiterator.h:
98 * gst/gstquery.c: (gst_query_type_iterate_definitions):
99 Add a GType to GstIterator, update callsites and tests.
101 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
103 * gst/gstpad.c: (gst_pad_event_default_dispatch):
104 give events a chance to be handled by event probes when the pad
105 is not linked
107 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
109 * gst/gstevent.c: (gst_event_type_get_name),
110 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
111 * gst/gstevent.h:
112 add string representations for event types
114 2005-10-06 Wim Taymans <wim@fluendo.com>
116 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
117 Don't use NULL pointers.
119 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
121 * gst/gst_private.h:
122 * gst/gstbus.c:
123 * gst/gstelement.c:
124 * gst/gstinfo.c:
125 * gst/gstpluginfeature.c:
126 widen the debug category in output to fit the biggest one we have
127 add a bus category and use it
128 play with the colors
129 fix up some categories
131 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
133 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
134 add push activation of sink ghost pads.
135 Andye, please verify
137 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
139 * gst/gstutils.c: (gst_element_link_pads):
140 fix a bug in the case where neither element has a pad
141 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
142 add a test for that case
144 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
146 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
147 emit have-data before checking for peers. This allows
148 for probe handlers to connect elements. This helps autopluggers.
149 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
150 (gst_pad_suite):
151 add six checks, linked/unlinked with no/true/false probe
153 2005-10-04 Wim Taymans <wim@fluendo.com>
155 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
156 (gst_fake_sink_event), (gst_fake_sink_preroll),
157 (gst_fake_sink_render), (gst_fake_sink_change_state):
158 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
159 (gst_fake_src_get_property), (gst_fake_src_create),
160 (gst_fake_src_stop):
161 * gst/elements/gstidentity.c: (gst_identity_stop):
162 Protect last_message with lock.
164 2005-10-04 Edward Hervey <edward@fluendo.com>
166 * gst/gstformat.h:
167 Added precision in the comments for GST_FORMAT_DEFAULT
169 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
171 * tools/gst-launch.c: (main):
172 Don't try to run erroneous pipelines.
174 2005-10-04 Julien MOUTTE <julien@moutte.net>
176 * gst/gstbus.c: We don't need this header.
178 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
180 * configure.ac:
181 back to development
183 === release 0.9.3 ===
185 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
187 * README:
188 * configure.ac:
189 Releasing 0.9.3, "Unregistered"
191 2005-10-03 Andy Wingo <wingo@pobox.com>
193 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
194 whereby calling a pad's activatepush() function can start a thread
195 that starts to push or pull before the pad gets the FLUSHING flag
196 unset. Hack around it by holding the stream lock until the flag is
197 set. Need to replace this with a proper solution. Together with
198 the ghost pad fixes, this fixes mp3 playing/tagreading.
200 * docs/design/part-gstghostpad.txt: Add a note about activation of
201 proxy pads outside of ghost pads.
203 * gst/gstghostpad.c: Implement the ghost pad activation design.
205 2005-10-02 Andy Wingo <wingo@pobox.com>
207 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
208 It is volatile, after all.
210 * docs/design/part-gstghostpad.txt: Flesh out activation with
211 ghost pads.
213 * gst/base/gstbasesrc.c (gst_base_src_init): Use
214 GST_DEBUG_FUNCPTR.
216 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
218 * configure.ac:
219 Fix (unused) AM_CONDITIONAL tests.
221 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
223 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
225 * gst/gstutils.c: (gst_pad_query_convert):
226 Add assertion that makes sure src_val is >=0, just like
227 gst_query_new_convert() has. (#315895)
229 2005-09-30 Edward Hervey <edward@fluendo.com>
231 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
232 Let's not iterate pads we're not interested in, it avoids getting
233 sky-high refcounts on sinkpad.
235 2005-09-30 Wim Taymans <wim@fluendo.com>
237 * gst/gstelement.c: (gst_element_set_state),
238 (gst_element_change_state):
239 Small tweak, element in ASYNC remains ASYNC.
241 2005-09-30 Wim Taymans <wim@fluendo.com>
243 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
244 Only error is an error.
246 * gst/gstbin.c: (gst_bin_change_state):
247 Better debugging.
249 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
250 Also call pad_block in pad alloc.
252 * gst/gstutils.c: (gst_flow_get_name):
253 Better debugging.
255 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
257 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
258 (gst_base_src_get_range):
259 Fix documentation typos. Add some more debug info.
261 2005-09-29 David Schleef <ds@schleef.org>
263 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
264 more end-user friendly.
265 * tools/gst-inspect.c: (main): Check if command-line argument is
266 a file and attempt to load that file as a plugin.
268 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
270 * check/gst/gstbin.c:
271 * check/states/sinks.c:
272 fix tests for the new warning
273 * check/gst/gstpipeline.c:
274 add a test for pipeline and bus interaction
275 * gst/gstelement.c:
276 elements should be NULL if they get disposed; add a warning if not
278 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
280 * gst/gstobject.c:
281 for 2.6 refcounting, make debug log more correct by printing
282 the actual refcounts at the time of swap (Wim)
284 2005-09-29 Andy Wingo <wingo@pobox.com>
286 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
287 removes signal watches previously added via
288 gst_bus_add_signal_watch.
289 (gst_bus_add_signal_watch): Don't return the source id, just store
290 it on the bus if there wasn't an id already.
292 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
293 add_signal_watch and remove_signal_watch.
295 2005-09-29 Edward Hervey <edward@fluendo.com>
297 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
298 Better if we actually iterate the list :)
300 2005-09-29 Wim Taymans <wim@fluendo.com>
302 * check/gst/gstbin.c: (GST_START_TEST):
303 Change for new bus API.
305 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
306 (send_messages), (GST_START_TEST), (gstbus_suite):
307 Change for new bus signal API.
309 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
310 (gst_bus_source_prepare), (gst_bus_source_check),
311 (gst_bus_create_watch), (gst_bus_add_watch_full),
312 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
313 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
314 * gst/gstbus.h:
315 Remove support for multiple GSources operating on different
316 message types as it is too complex and unneeded when using
317 signals.
318 Added support for receiving signals from the bus.
320 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
322 * docs/libs/tmpl/gstdataprotocol.sgml:
323 * docs/manual/advanced-dataaccess.xml:
324 * gst/elements/gstcapsfilter.c:
325 * gst/gstutils.c:
326 rename filter-caps to caps property
328 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
330 * gst/gstvalue.c: (gst_value_deserialize_fraction):
331 More robust fraction string parsing.
333 * docs/pwg/appendix-porting.xml:
334 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
336 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
338 * gst/gstcaps.c: (gst_caps_do_simplify):
339 Thou shalt not free a structure and then continue using it
340 in the next loop iteration.
342 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
343 (gst_caps_suite):
344 Add test case for caps simplification.
346 2005-09-29 Wim Taymans <wim@fluendo.com>
348 * check/gst/gstbin.c: (GST_START_TEST):
349 Oops.
351 2005-09-29 Wim Taymans <wim@fluendo.com>
353 * check/gst/gstbin.c: (GST_START_TEST):
354 Add bus to bin.
356 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
357 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
358 (find_element), (gst_bin_sort_iterator_next),
359 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
360 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
361 (gst_bin_change_state), (gst_bin_dispose):
362 A bin does not have a bus, it gets the bus from the parent.
364 * gst/gstelement.c: (gst_element_requires_clock),
365 (gst_element_provides_clock), (gst_element_is_indexable),
366 (gst_element_is_locked_state), (gst_element_change_state),
367 (gst_element_set_bus_func):
368 Small cleanups.
370 * gst/gstpipeline.c: (gst_pipeline_class_init),
371 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
372 The pipeline provides a bus.
374 2005-09-28 Johan Dahlin <johan@gnome.org>
376 * gst/gstmessage.c (gst_message_parse_state_changed): Use
377 gst_structure_get_enum instead of gst_structure_get_int
379 * gst/gststructure.c (gst_structure_get_enum): Impl.
381 * gst/gststructure.h (gst_structure_get_enum): Add
383 * docs/gst/gstreamer-sections.txt: Ditto
385 * gst/gstmessage.c (gst_message_new_state_changed): Use
386 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
387 which does introspection.
388 Reviewed by Christian Schaller
390 2005-09-28 Stefan Kost <ensonic@users.sf.net>
392 * gst/gstinfo.c: (gst_debug_log_default):
393 don't do dummy g_strdup()s
394 * libs/gst/controller/gstcontroller.c:
395 (on_object_controlled_property_changed),
396 (gst_controlled_property_new), (gst_controller_new_valist),
397 (gst_controller_new_list),
398 (gst_controller_remove_properties_valist), (gst_controller_set),
399 (gst_controller_get), (gst_controller_sync_values),
400 (gst_controller_get_value_array), (_gst_controller_class_init),
401 (gst_controller_get_type):
402 * libs/gst/controller/gstcontroller.h:
403 * libs/gst/controller/gstinterpolation.c:
404 (gst_controlled_property_find_timed_value_node):
405 convert // to /**/ comments
407 2005-09-28 Wim Taymans <wim@fluendo.com>
409 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
410 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
411 (gst_bus_sync_signal_handler):
412 * gst/gstbus.h:
413 Added async-message and sync-message signals to the bus.
414 Added helper BusFunc to emit signals for all posted messages.
416 * gst/gstmessage.c: (gst_message_type_get_name),
417 (gst_message_type_to_quark), (gst_message_get_type):
418 * gst/gstmessage.h:
419 Register quarks for message names.
421 2005-09-28 Stefan Kost <ensonic@users.sf.net>
423 * docs/libs/gstreamer-libs-sections.txt:
424 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
425 (gst_controller_new_list):
426 * libs/gst/controller/gstcontroller.h:
427 added another constructor for language bindings
429 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
431 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
432 add another check
433 * gst/gstbus.c:
434 add some doc
435 * gst/gstinfo.c: (_gst_debug_init):
436 slightly more readable color for refcount debugging
438 2005-09-28 Wim Taymans <wim@fluendo.com>
440 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
441 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
442 (find_element), (gst_bin_sort_iterator_next),
443 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
444 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
445 (gst_bin_change_state), (gst_bin_dispose):
446 Small doc fixes. get_clock -> provide_clock.
448 * gst/gstelement.c: (gst_element_class_init),
449 (gst_element_provides_clock), (gst_element_provide_clock),
450 (gst_element_get_clock), (gst_element_commit_state),
451 (gst_element_lost_state):
452 * gst/gstelement.h:
453 Make get/set_clock() symetric. Add provide_clock vmethod since
454 that is actually what this function does.
456 * gst/gstpipeline.c: (gst_pipeline_class_init),
457 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
458 (gst_pipeline_get_clock):
459 get_clock -> provide_clock.
461 2005-09-28 Andy Wingo <wingo@pobox.com>
463 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
464 lieu of real docs...
466 * gst/elements/gstfdsrc.c: Cleaned up a bit.
468 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
470 * gst/elements/gstcapsfilter.c:
471 * gst/elements/gstfakesink.c:
472 * gst/elements/gstfakesrc.c:
473 * gst/elements/gstfdsink.c:
474 * gst/elements/gstfdsrc.c:
475 * gst/elements/gstfilesink.c:
476 * gst/elements/gstfilesrc.c:
477 * gst/elements/gstidentity.c:
478 * gst/elements/gsttee.c:
479 * gst/elements/gsttypefindelement.c:
480 Make element details static.
482 2005-09-28 Wim Taymans <wim@fluendo.com>
484 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
485 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
486 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
487 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
488 (gst_bin_change_state), (gst_bin_dispose):
489 Some documentation updates.
490 Clean up dispose handlers.
492 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
493 * gst/gstpad.c: (gst_pad_dispose):
494 Clean up dispose handler.
496 * gst/gstpipeline.c: (gst_pipeline_change_state):
497 Removed spurious UNLOCK.
499 2005-09-27 Stefan Kost <ensonic@users.sf.net>
501 * docs/gst/gstreamer-sections.txt:
502 * gst/base/gstbasesrc.h:
503 * gst/gstelement.h:
504 * gst/gstevent.h:
505 * gst/gstobject.h:
506 * gst/gstpad.h:
507 * gst/gstpipeline.c:
508 * gst/gstpipeline.h:
509 * gst/gstutils.h:
510 * gst/gstxml.h:
511 added two new functions to the docs
512 documents all undocumented GstXXXFlags
513 completed some incomplete docs
515 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
517 * gst/gstbin.c: (gst_bin_dispose):
518 * gst/gstelement.c: (gst_element_dispose):
519 remove now useless and leaky resurrection code in dispose
520 * gst/base/gstbasesrc.c: (gst_base_src_init):
521 * gst/gstelementfactory.c: (gst_element_factory_create):
522 * gst/gstobject.c: (gst_object_set_parent):
523 add some debugging
525 2005-09-27 Wim Taymans <wim@fluendo.com>
527 * docs/design/part-TODO.txt:
528 Update TODO.
530 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
531 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
532 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
533 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
534 (gst_bin_change_state):
535 * gst/gstelement.h:
536 Remove element variable, we keep element info in the iterator now.
538 2005-09-27 Andy Wingo <wingo@pobox.com>
540 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
541 values.
543 2005-09-27 Wim Taymans <wim@fluendo.com>
545 * check/gst/gstbin.c: (GST_START_TEST):
546 Enable check that works now.
548 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
549 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
550 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
551 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
552 (gst_bin_change_state):
553 * gst/gstbin.h:
554 Redid the state change algorithm using a topological sort algo.
555 Handles all cases correctly.
556 Exposed iterator for state change order.
558 * gst/gstelement.h:
559 Temp storage for state changes. Need to get rid of this soon.
561 2005-09-27 Wim Taymans <wim@fluendo.com>
563 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
564 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
565 (link_fold_func), (gst_pad_proxy_setcaps):
566 Leak fixes, the fold functions need to unref the passed object and
567 _get_parent_*() returns ref to parent.
569 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
571 * check/gst/gstbuffer.c: (test_make_writable):
572 Plug leak in test case and fix 'make check-valgrind'
574 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
576 * gst/gstbuffer.c: (gst_subbuffer_init):
577 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
578 works correctly in all circumstances (we could have just copied
579 the parent buffer's readonly flag, but conceptually it seems
580 cleaner to mark all subbuffers as read-only). (based on patch
581 by Alessandro Decina, #314710).
583 * check/gst/gstbuffer.c: (create_read_only_buffer),
584 (test_make_writable), (test_subbuffer_make_writable),
585 (gst_test_suite):
586 Add some tests for gst_buffer_make_writable().
588 2005-09-27 Wim Taymans <wim@fluendo.com>
590 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
591 use gst_object_has_ancestor().
593 * gst/gstobject.c: (gst_object_has_ancestor):
594 * gst/gstobject.h:
595 gst_object_has_ancestor() copied from gstbin.c as it is a
596 usefull function.
598 * tests/instantiate/create.c: (create_all_elements):
599 * tests/lat.c: (handoff_src), (handoff_sink):
600 * tests/sched/runxml.c: (main):
601 * tests/seeking/seeking1.c: (main):
602 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
603 (main):
604 Fix compilation of some tests.
606 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
608 * gst/gsterror.h:
609 Remove comment. GST_TYPE_G_ERROR is here to stay,
610 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
611 (#316961, #300610).
613 2005-09-26 Wim Taymans <wim@fluendo.com>
615 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
616 Added check that shows error in state change order.
618 2005-09-26 Wim Taymans <wim@fluendo.com>
620 * gst/gstbin.c: (gst_bin_change_state):
621 Make state change function use 3 queues again, we were
622 adding elements in the wrong order.
624 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
625 Some debug info,
627 * gst/gstpad.c: (gst_pad_dispose):
628 Added some debug info first.
630 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
632 * docs/design/draft-push-pull.txt:
633 * docs/design/part-events.txt:
634 * docs/design/part-overview.txt:
635 * docs/design/part-scheduling.txt:
636 Replace all _pull_region() with _pull_range()
638 2005-09-26 Andy Wingo <wingo@pobox.com>
640 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
642 * check/gst-libs/controller.c: Update for controller api change.
644 * configure.ac:
645 * tests/Makefile.am:
646 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
647 over by GLib bug 118439.
649 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
650 routines to a function.
652 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
654 * libs/gst/controller/gsthelper.c:
655 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
656 (gst_object_sync_values): Renamed from sink_values. Ugh.
658 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
660 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
661 Renamed from controller_key, as it is exported.
663 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
665 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
667 * gst/Makefile.am:
668 * gst/gst.h:
669 * gst/gstpad.h:
670 * gst/gstpadtemplate.h:
671 * gst/gstquery.c:
672 * gst/gstquery.h:
673 * gst/gstqueryutils.c:
674 * gst/gstqueryutils.h:
675 remove queryutils headers after moving the two used functions
676 to gstquery. also fixes build problem for gstsiddec
678 2005-09-26 Michael Smith <msmith@fluendo.com>
680 * tools/gst-launch.1.in:
681 Correct documentation in manpage of debug syntax
683 2005-09-26 Wim Taymans <wim@fluendo.com>
685 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
686 (gst_base_src_is_seekable), (gst_base_src_change_state):
687 Some more debugging info.
689 2005-09-25 Stefan Kost <ensonic@users.sf.net>
691 * docs/gst/gstreamer-sections.txt:
692 * gst/base/gstbasetransform.h:
693 * gst/gstindex.h:
694 added more docs
696 2005-09-25 Stefan Kost <ensonic@users.sf.net>
698 * docs/gst/.cvsignore:
699 * docs/gst/tmpl/.cvsignore:
700 * docs/gst/tmpl/gstpipeline.sgml:
701 * docs/gst/tmpl/gstplugin.sgml:
702 * gst/gstpipeline.c:
703 * gst/gstplugin.c:
704 * gst/gstplugin.h:
705 inlined the last two docs files
706 removed the tmpl directory from cvs (no more conflicts here!)
708 2005-09-25 Stefan Kost <ensonic@users.sf.net>
710 * docs/gst/gstreamer-sections.txt:
711 * docs/gst/tmpl/.cvsignore:
712 * docs/gst/tmpl/gstpad.sgml:
713 * docs/gst/tmpl/gstpadtemplate.sgml:
714 * gst/Makefile.am:
715 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
716 (gst_pad_finalize), (gst_pad_set_pad_template):
717 * gst/gstpad.h:
718 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
719 (gst_pad_template_class_init), (gst_pad_template_init),
720 (gst_pad_template_dispose), (name_is_valid),
721 (gst_static_pad_template_get), (gst_pad_template_new),
722 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
723 (gst_pad_template_pad_created):
724 * gst/gstpadtemplate.h:
725 inlined two more docs
726 factored gstpadtemplate out of gstpad
728 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
730 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
731 (test_children_state_change_order_semi_sink):
732 Fix test case: we can't rely on a fixed state change order when
733 going from READY => PAUSED because the sink might commit its
734 new state first when the first buffer created by the source
735 reaches the sink before the source has finished its change state.
736 (Test case still fails at times, see #316856, comment 5 onwards)
738 2005-09-24 Wim Taymans <wim@fluendo.com>
740 * docs/design/part-events.txt:
741 * docs/design/part-gstbus.txt:
742 * docs/design/part-gstpipeline.txt:
743 * docs/design/part-messages.txt:
744 * docs/design/part-overview.txt:
745 * docs/design/part-segments.txt:
746 * gst/gstbin.c:
747 * gst/gstbuffer.c:
748 * gst/gstclock.c:
749 * gst/gstelement.c:
750 * gst/gstevent.c:
751 * gst/gstfilter.c:
752 * gst/gstiterator.c:
753 Various documentation updates.
755 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
757 * gst/gstclock.h:
758 Well, that's embarassing. Luckily we weren't using
759 GST_CLOCK_DIFF anywhere.
761 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
763 * common/gtk-doc.mak:
764 don't fail on building XML, FC4 slave shows a bunch of doc
765 missing bits that I don't get
766 * gst/gstpad.c:
767 * gst/gstpipeline.c:
768 * gst/gststructure.c:
769 some doc updates
771 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
773 * docs/design/part-gstbin.txt:
774 * docs/design/part-gstbus.txt:
775 * gst/gstbus.c:
776 Add blurb about how the bus goes into flushing mode and
777 drops all messages when its bin goes from READY into NULL
778 state.
780 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
782 * docs/gst/gstreamer-sections.txt:
783 * gst/gststructure.c: (gst_structure_get_clock_time):
784 * gst/gststructure.h:
785 add a method to get a GstClockTime out of a structure
787 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
789 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
790 (test_children_state_change_order_semi_sink), (gst_bin_suite):
791 Added test to check state change order in bins (can still be made
792 to fail here under heavy disk load; bails out with 'Push on pad
793 fakesink:sink0, but it was not activated in push mode').
795 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
796 Fix state change order when there is only a semi sink (#316856)
798 * gst/gstbus.c: (gst_bus_class_init):
799 Use _class_peek_parent(), not _class_ref(); fix docs to say
800 'default main context' instead of 'mainloop' where that is
801 what's meant.
803 * gst/gstelement.c: (gst_element_commit_state),
804 (gst_element_set_state):
805 Fix typos in debug messages
807 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
809 * docs/README:
810 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
811 * gst/gstpluginfeature.c:
812 * gst/gstutils.c:
813 various doc updates
814 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
815 change an assert into an error until it gets fixed properly
817 2005-09-23 Stefan Kost <ensonic@users.sf.net>
819 * docs/gst/gstreamer-sections.txt:
820 * docs/gst/tmpl/.cvsignore:
821 * docs/gst/tmpl/gstelement.sgml:
822 * docs/gst/tmpl/gstinfo.sgml:
823 * docs/gst/tmpl/gstobject.sgml:
824 * gst/gstelement.c:
825 * gst/gstelement.h:
826 * gst/gstinfo.c:
827 * gst/gstinfo.h:
828 * gst/gstobject.c: (gst_object_class_init):
829 * gst/gstobject.h:
830 inlined 3 more biiiig doc files and added some missing docs on the fly
832 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
834 * check/gst/.cvsignore:
835 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
836 * gst/gstregistryxml.c: (load_plugin),
837 (gst_registry_xml_save_plugin):
838 put back source in registry. add checks for find_plugin.
839 * testsuite/states/bin.c: (assert_state), (empty_bin),
840 (test_adding_one_element), (main):
841 * testsuite/states/locked.c: (main):
842 some compile/run fixes
844 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
846 * check/gst/gstvalue.c: (GST_START_TEST):
847 fix leaks in the test itself
849 2005-09-22 Wim Taymans <wim@fluendo.com>
851 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
852 (gst_base_sink_send_event), (gst_base_sink_peer_query),
853 (gst_base_sink_query):
854 Prepare for more accurate position reporting and query
855 handling.
857 * gst/gstelement.c: (gst_element_send_event),
858 (gst_element_set_state):
859 Add some comment.
861 2005-09-22 Wim Taymans <wim@fluendo.com>
863 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
864 (gst_query_parse_segment):
865 * gst/gstquery.h:
866 More documentation.
867 Add segment query for future use.
869 2005-09-22 Wim Taymans <wim@fluendo.com>
871 * gst/gstbin.c: (gst_bin_add_func):
872 Some more debug info.
874 * gst/gstelement.c: (gst_element_send_event):
875 Simplify send_event
877 * gst/gstelement.h:
878 Don't know how flags got broken.
880 * gst/gstquery.h:
881 Added new query.
883 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
885 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
886 Add simplistic test suite for GST_TYPE_DATE serialisation and
887 deserialisation.
889 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
891 * docs/gst/gstreamer-sections.txt:
892 * gst/gststructure.c: (gst_structure_set_valist),
893 (gst_structure_get_date):
894 * gst/gststructure.h:
895 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
896 (gst_date_copy), (gst_value_compare_date),
897 (gst_value_serialize_date), (gst_value_deserialize_date),
898 (gst_value_transform_date_string),
899 (gst_value_transform_string_date), (_gst_value_initialize):
900 * gst/gstvalue.h:
901 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
902 bunch of utility functions along with a hack that checks that
903 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
904 is required. Part of the grand scheme in #170777.
906 2005-09-22 Andy Wingo <wingo@pobox.com>
908 * gst/gstconfig.h.in: Psych out gtk-doc.
910 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
912 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
914 * tools/gst-inspect.c (print_element_list): Plug some
915 inconsequential leaks.
917 * gst/gstregistry.c (gst_registry_get_default): Doc.
919 * check/gst/gstplugin.c:
920 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
921 * gst/gstelementfactory.c (gst_element_factory_create):
922 * gst/gstindexfactory.c (gst_index_factory_create): Update for
923 refcount changes.
925 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
926 (gst_plugin_feature_load): Doc, don't eat refs.
928 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
929 (gst_plugin_list_free): Doc.
930 (gst_plugin_load_file): Doc updates.
932 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
933 accessors returning refcounted objects, return a ref.
935 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
936 accessor for caps. IDEMPOTENCE. Oh yes.
938 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
940 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
942 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
943 (_gst_debug_register_funcptr):
944 Add mutex to serialise access to the hash table with
945 the function pointer => function name string mapping;
946 make that hash table static scope (#316809).
948 * gst/registries/.cvsignore:
949 Remove left-over file.
951 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
953 * docs/pwg/appendix-porting.xml:
954 And something about newsegment events and caps-on-buffers to
955 the porting guide (feel free to improve).
957 2005-09-21 Andy Wingo <wingo@pobox.com>
959 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
960 data and event probes on the same pad.
961 (test_buffer_probe_once): Test that removing probes from within
962 the probe functions works.
964 2005-09-21 Andy Wingo <wingo@pobox.com>
966 * check/gst/gstutils.c: New file.
967 (test_buffer_probe_n_times): A simple buffer probe test. More to
968 come, foolios.
970 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
971 have-data::buffer, not have-data.
972 (gst_pad_add_event_probe): Likewise for have-data::event.
973 (gst_pad_add_data_probe): More docs. The part about 'resolving the
974 peer' isn't quite right yet though.
975 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
976 (gst_pad_remove_data_probe): Change to take the guint handler_id
977 as their arg, not the function+data, which is more glib-like.
979 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
980 the signal emission to indicate if the data is a buffer or an
981 event.
982 (gst_pad_get_type): Initialize buffer and event quarks.
983 (gst_pad_class_init): have-data is now a detailed signal, yes it
984 is.
986 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
988 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
989 * gst/gstutils.c: (gst_util_set_value_from_string),
990 (gst_util_set_object_arg):
991 Don't put functional code in g_return_if_fail() or
992 g_return_val_if_fail() statements, otherwise things will
993 break when G_DISABLE_CHECKS is defined during compilation.
995 2005-09-21 Stefan Kost <ensonic@users.sf.net>
997 * docs/gst/tmpl/.cvsignore:
998 * docs/gst/tmpl/gstvalue.sgml:
999 * gst/gstvalue.c:
1000 * gst/gstvalue.h:
1001 inlied another one and added some obvious docs
1003 2005-09-21 Wim Taymans <wim@fluendo.com>
1005 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
1006 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
1007 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
1008 (gst_fdsrc_get_property), (gst_fdsrc_create):
1009 * gst/elements/gstfdsrc.h:
1010 Properly implement fdsrc. Removed signal and timeout,
1011 better implemented somewhere else.
1013 2005-09-21 Stefan Kost <ensonic@users.sf.net>
1015 * docs/gst/tmpl/.cvsignore:
1016 * docs/gst/tmpl/gstimplementsinterface.sgml:
1017 * gst/gstinterface.c:
1018 inlined more docs
1020 2005-09-21 Stefan Kost <ensonic@users.sf.net>
1022 * docs/gst/gstreamer-sections.txt:
1023 * docs/gst/tmpl/.cvsignore:
1024 * docs/gst/tmpl/gstenumtypes.sgml:
1025 remove obsolete doc file
1027 2005-09-21 David Schleef <ds@schleef.org>
1029 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
1030 little beer, fix a little leak.
1032 2005-09-21 Stefan Kost <ensonic@users.sf.net>
1034 * docs/gst/gstreamer-docs.sgml:
1035 * docs/gst/gstreamer-sections.txt:
1036 * docs/gst/tmpl/.cvsignore:
1037 * gst/Makefile.am:
1038 * gst/gst.h:
1039 * gst/gstbin.c:
1040 * gst/gstelement.h:
1041 * gst/gstindex.c: (gst_index_class_init):
1042 * gst/gstindex.h:
1043 * gst/gstindexfactory.c: (gst_index_factory_get_type),
1044 (gst_index_factory_class_init), (gst_index_factory_init),
1045 (gst_index_factory_finalize), (gst_index_factory_new),
1046 (gst_index_factory_destroy), (gst_index_factory_find),
1047 (gst_index_factory_create), (gst_index_factory_make):
1048 * gst/gstindexfactory.h:
1049 * gst/gstpluginfeature.c:
1050 * gst/gstpluginfeature.h:
1051 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
1052 more docs inlined, splitted gstindex.{c,h}
1054 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
1056 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
1057 fix a leak
1059 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
1061 * gst/elements/gstfilesink.c: (gst_file_sink_init):
1062 Set sync to FALSE by default.
1064 2005-09-20 Wim Taymans <wim@fluendo.com>
1066 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1067 (gst_base_sink_init):
1068 Make sync property settable from subclass.
1070 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
1071 (gst_fake_sink_change_state):
1072 Set sync to FALSE by default.
1074 2005-09-20 Wim Taymans <wim@fluendo.com>
1076 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
1077 * tools/gst-launch.c: (main):
1078 The timeout handler should have lower priority than the source
1079 so we don't timeout before popping a message with 0 timeout.
1080 Dump error messages after failed state change.
1082 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
1084 * tools/gst-inspect.c: (print_element_properties_info):
1085 Fix two typos.
1087 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
1089 * check/gst/gstevent.c:
1090 * gst/elements/gstfakesink.c:
1091 * gst/elements/gstfakesink.h:
1092 remove the sync property from fakesink.
1093 has the side effect of setting sync TRUE
1094 for fakesink, which is a change. Anyone who knows how
1095 to fix this nicely in a GObject-y way, feel free.
1097 2005-09-20 Stefan Kost <ensonic@users.sf.net>
1099 * docs/gst/gstreamer-docs.sgml:
1100 remove probe refsection
1102 2005-09-20 Stefan Kost <ensonic@users.sf.net>
1104 * check/Makefile.am:
1105 disable valgrinding the controller test again
1106 * docs/gst/gstreamer-sections.txt:
1107 update for api-changes
1109 2005-09-20 Wim Taymans <wim@fluendo.com>
1111 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1112 (gst_base_sink_set_property), (gst_base_sink_get_property),
1113 (gst_base_sink_do_sync):
1114 * gst/base/gstbasesink.h:
1115 Added sync property to basesink to disable clock sync.
1117 2005-09-20 Andy Wingo <wingo@pobox.com>
1119 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
1120 eating the caller's refcount.
1122 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
1123 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
1124 refcount.
1126 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
1127 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
1128 of GLib 2.8 public, so we can know which refcount to check in
1129 tests.
1131 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
1132 (gst_object_init): Only set the gst refcount if we're going ahead
1133 with the refcount hack.
1135 2005-09-20 Stefan Kost <ensonic@users.sf.net>
1137 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
1138 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
1139 more leaks plumbed, added more debug-logging
1140 * gst/gstmacros.h:
1141 whitespace fix
1143 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
1145 * gst/gstmessage.c:
1146 remove include of gstmemchunk.h
1148 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
1150 * gst/gstclock.c: (_gst_clock_id_free):
1151 Commit from the Political Party For More Atomic CVS Commits,
1152 so that people don't waste too much of their day fishing
1153 out obvious leaks out of massive commits.
1154 Oh, and fix a pretty damn obvious leak in the memchunk
1155 removal code.
1157 2005-09-20 Stefan Kost <ensonic@users.sf.net>
1159 * check/Makefile.am:
1160 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
1161 plug mem-leak, re-add to valgrindable tests
1163 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
1165 * gst/gstplugin.h:
1166 unbreak the build for those who have chronic arthritis
1167 and typing "make check" is just too taxing on the hands
1169 2005-09-20 Andy Wingo <wingo@pobox.com>
1171 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
1172 really want it out, you should fix plugins at the same time.
1174 2005-09-19 Stefan Kost <ensonic@users.sf.net>
1176 * configure.ac:
1177 * docs/gst/gstreamer-sections.txt:
1178 * gst/gstobject.c:
1179 added missing symbols to api docs
1180 disable ref-count hack if we have glib >= 2.8
1182 2005-09-19 David Schleef <ds@schleef.org>
1184 * docs/gst/Makefile.am: Ignore a few more internal headers
1185 * docs/gst/gstreamer-docs.sgml: Remove old sections
1186 * docs/gst/gstreamer-sections.txt: Remove old sections
1187 * docs/gst/tmpl/gstobject.sgml: update
1188 * docs/gst/tmpl/gstplugin.sgml: update
1189 * docs/gst/tmpl/gstpluginfeature.sgml: update
1190 * docs/random/ds/0.9-suggested-changes: update.
1191 * gst/Makefile.am: remove memchunk and trashstack, since they're
1192 not used.
1193 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
1194 * gst/gst.h: don't include some headers
1195 * gst/gstchildproxy.c: add gstmarshal.h
1196 * gst/gstclock.c: Don't use memchunks
1197 * gst/gstminiobject.c: Add some docs
1198 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
1199 * gst/gstobject.h: same
1200 * gst/gstplugin.c: include gstmacros.h
1201 * gst/gstplugin.h: don't include gstmacros.h, since it's private
1202 * gst/gstquery.c: don't use memchunks
1203 * gst/gstregistry.c: rename gst_registry_deinit()
1204 * gst/gstregistry.h: same
1206 2005-09-19 David Schleef <ds@schleef.org>
1208 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
1209 * docs/libs/gstreamer-libs-sections.txt:
1210 * docs/libs/tmpl/gstgetbits.sgml:
1211 * docs/libs/tmpl/gstputbits.sgml:
1213 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
1215 * win32/gstenumtypes.c:
1216 * win32/gstenumtypes.h:
1217 Update.
1219 2005-09-19 Wim Taymans <wim@fluendo.com>
1221 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
1222 Automatically PAUSE and RESUME a pipeline when a flushing seek
1223 is performed.
1225 2005-09-19 Andy Wingo <wingo@pobox.com>
1227 * gst/gstregistry.h: Spacing fixen.
1229 2005-09-19 Wim Taymans <wim@fluendo.com>
1231 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
1232 Handle state change failure more correctly.
1234 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
1236 * check/Makefile.am:
1237 * check/pipelines/cleanup.c: (run_pipeline):
1238 * check/pipelines/simple_launch_lines.c: (run_pipeline),
1239 (GST_START_TEST):
1240 enable cleanup again after fixing the leak
1241 * docs/README:
1242 some more info on docs
1244 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
1246 * check/Makefile.am:
1247 re-enable tests now that leaks are plugged
1248 * check/gst/gst.c:
1249 * check/gst/gstbin.c:
1250 * check/gst/gstpipeline.c:
1251 add some more tests while fixing leaks
1252 * common/check.mak:
1253 make sure binaries are uptodate when valgrinding/gdbing
1254 * gst/gst.c:
1255 * gst/gstelementfactory.c:
1256 remove a ref too many, and add a FIXME for when we get
1257 round to disposing of classes
1258 * gst/gstplugin.c:
1259 fix the refcounting when loading a plugin from a file and
1260 the code pretends that the pointer is the same even though
1261 of course it can change
1262 * gst/gstpluginfeature.c:
1263 unref plugins marked cached (a bit confusing as a name)
1264 as the docs state should be done
1265 various doc additions to explain refcounting
1266 * gst/gstregistry.c:
1267 * gst/gstregistryxml.c:
1268 debugging
1270 2005-09-19 Wim Taymans <wim@fluendo.com>
1272 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
1273 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
1274 (send_messages), (GST_START_TEST), (gstbus_suite):
1275 * check/gst/gstpipeline.c: (GST_START_TEST):
1276 * check/pipelines/cleanup.c: (run_pipeline):
1277 * check/pipelines/simple_launch_lines.c: (run_pipeline),
1278 (GST_START_TEST):
1279 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
1280 (gst_bus_source_check), (gst_bus_source_dispatch),
1281 (gst_bus_create_watch), (gst_bus_add_watch_full),
1282 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
1283 * gst/gstbus.h:
1284 * tools/gst-launch.c: (event_loop):
1285 * tools/gst-md5sum.c: (event_loop):
1286 GstBusHandler -> GstBusFunc, return value has the same meaning as
1287 any other GSource (FALSE == remove source).
1288 _add_watch() and _add_watch_full() now take a MessageType mask to
1289 only handle specific types of messages.
1290 _poll() returns the GstMessage instead of the message type to avoid
1291 race conditions.
1292 _have_pending() takes a MessageType mask now too.
1293 Added testsuite for multiple bus watches.
1294 Fix testsuites and applications for new bus API.
1296 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
1298 * check/Makefile.am:
1299 mark a bunch of the tests as to fix until we fix them
1301 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
1303 * common/check.mak:
1304 use GST_PLUGIN settings for valgrind tests as well, so we're
1305 valgrinding the correct thing
1306 * gst/gst.c: (init_post):
1307 plug another leak
1309 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
1311 * gst/gst.c: (init_post), (gst_deinit):
1312 * gst/gstelementfactory.c: (gst_element_factory_class_init),
1313 (gst_element_factory_finalize), (gst_element_factory_cleanup):
1314 * gst/gstindex.c: (gst_index_factory_class_init),
1315 (gst_index_factory_finalize):
1316 * gst/gstobject.c: (gst_object_dispose):
1317 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
1318 (gst_plugin_load_file), (gst_plugin_desc_free):
1319 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
1320 (gst_plugin_feature_finalize):
1321 * gst/gstregistry.c: (gst_registry_class_init),
1322 (gst_registry_init), (gst_registry_finalize),
1323 (gst_registry_get_default), (gst_registry_deinit):
1324 * gst/gstregistry.h:
1325 * gst/gstregistryxml.c: (load_feature), (load_plugin):
1326 various cleanups and memleak plugging. make valgrind is happy now.
1328 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
1330 * common/check.mak:
1331 add a check-valgrind target
1333 2005-09-18 David Schleef <ds@schleef.org>
1335 * tools/gst-inspect.c: Revert the GOption code.
1337 2005-09-17 David Schleef <ds@schleef.org>
1339 * check/Makefile.am: Fix environment variables.
1340 * check/gst/gstplugin.c: Fix for API changes.
1341 * tools/gst-inspect.c: Fix for API changes.
1342 * tools/gst-xmlinspect.c: Fix for API changes.
1343 * gst/gstelementfactory.c:
1344 * gst/gstplugin.c:
1345 * gst/gstplugin.h:
1346 * gst/gstpluginfeature.c:
1347 * gst/gstpluginfeature.h:
1348 * gst/gstregistry.c:
1349 * gst/gstregistry.h:
1350 * gst/gstregistryxml.c:
1351 * gst/gsttypefind.c:
1352 * gst/gsttypefindfactory.c:
1353 * gst/indexers/gstfileindex.c:
1354 * gst/indexers/gstmemindex.c:
1355 * gst/schedulers/Makefile.am:
1356 Change registry to keep track of both plugins and features,
1357 removing the feature tracking from plugins themselves.
1359 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
1361 * check/Makefile.am:
1362 * tools/gst-register.1.in:
1363 remove gst-register
1365 2005-09-15 David Schleef <ds@schleef.org>
1367 * check/gst/gstplugin.c:
1368 * gst/gstelementfactory.c:
1369 * gst/gstplugin.c:
1370 * gst/gstpluginfeature.c:
1371 * gst/gstregistry.c:
1372 Getting tired of debugging. Disabled all the unreffing of
1373 plugins and features, which fixes the segfaults, but of
1374 course leaks like crazy. At least playbin works.
1376 2005-09-15 David Schleef <ds@schleef.org>
1378 * check/gst/gstplugin.c: (register_check_elements),
1379 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
1380 More testing
1381 * gst/elements/gsttypefindelement.c: Fix refcounting.
1382 * gst/gsttypefind.c:
1383 * gst/gsttypefindfactory.c:
1384 * gst/gsttypefindfactory.h:
1386 2005-09-15 David Schleef <ds@schleef.org>
1388 * gst/gstindex.c: get refcounting correct.
1389 * gst/gstregistry.c: Handle the case where a feature/plugin is
1390 not found.
1392 2005-09-15 David Schleef <ds@schleef.org>
1394 * check/Makefile.am:
1395 * check/gst/gstplugin.c: Add test
1396 * gst/gstplugin.c: Fix problems noticed by testsuite
1397 * gst/gstplugin.h:
1398 * gst/gstregistry.c:
1399 * gst/gstregistry.h:
1401 2005-09-15 David Schleef <ds@schleef.org>
1403 * gst/gstplugin.c: Implement semi-decent recounting and locking
1404 in plugins and plugin features.
1405 * gst/gstplugin.h:
1406 * gst/gstpluginfeature.c:
1407 * gst/gstpluginfeature.h:
1408 * gst/gstregistry.c:
1410 2005-09-15 Michael Smith <msmith@fluendo.com>
1412 * gst/gstregistry.c: (gst_registry_get_feature_list):
1413 Implement this. Makes oggdemux work; decodebin still broken.
1415 2005-09-14 David Schleef <ds@schleef.org>
1417 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
1418 #316076)
1419 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
1420 * gst/check/Makefile.am:
1421 * libs/gst/controller/Makefile.am:
1422 * libs/gst/dataprotocol/Makefile.am:
1424 2005-09-14 David Schleef <ds@schleef.org>
1426 * configure.ac: Remove getbits library. Nothing uses it, and
1427 it should be in something like liboil if someone did want
1428 to use it.
1429 * libs/gst/Makefile.am:
1430 * libs/gst/getbits/Makefile.am:
1431 * libs/gst/getbits/gbtest.c:
1432 * libs/gst/getbits/getbits.c:
1433 * libs/gst/getbits/getbits.h:
1434 * libs/gst/getbits/gstgetbits_generic.c:
1435 * libs/gst/getbits/gstgetbits_i386.s:
1436 * libs/gst/getbits/gstgetbits_inl.h:
1438 2005-09-14 David Schleef <ds@schleef.org>
1440 * gst/Makefile.am: Dist glib-compat.h
1442 2005-09-14 David Schleef <ds@schleef.org>
1444 * configure.ac: Remove gst/registries, since it's no longer used.
1445 * gst/registries/Makefile.am:
1446 * gst/registries/gstlibxmlregistry.c:
1447 * gst/registries/gstlibxmlregistry.h:
1448 * gst/registries/gstxmlregistry.c:
1449 * gst/registries/gstxmlregistry.h:
1450 * gst/registries/registrytest.c:
1452 2005-09-14 David Schleef <ds@schleef.org>
1454 * gst/glib-compat.h:
1455 * gst/gstregistryxml.c:
1456 Convergence is near. Seriously.
1458 2005-09-14 David Schleef <ds@schleef.org>
1460 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
1461 * gst/glib-compat.h:
1462 Attempt #4 to appease the buildbots.
1464 2005-09-14 David Schleef <ds@schleef.org>
1466 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
1467 Attempt #3.
1469 2005-09-14 David Schleef <ds@schleef.org>
1471 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
1472 Attempt #2.
1474 2005-09-14 David Schleef <ds@schleef.org>
1476 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
1477 the new functions.
1479 2005-09-14 David Schleef <ds@schleef.org>
1481 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
1482 * gst/glib-compat.h: Add some functions that are in newer versions
1483 of glib than we care to require.
1484 * gst/gstregistryxml.c: Use them.
1486 2005-09-14 David Schleef <ds@schleef.org>
1488 * po/POTFILES.in: remove gst-register.c
1490 2005-09-14 David Schleef <ds@schleef.org>
1492 * docs/gst/gstreamer-docs.sgml:
1493 * docs/gst/gstreamer-sections.txt:
1494 * docs/gst/gstreamer.types:
1495 * docs/gst/tmpl/gstelement.sgml:
1496 * docs/gst/tmpl/gstplugin.sgml:
1497 * docs/gst/tmpl/gstpluginfeature.sgml:
1498 Documentation updates for registry changes.
1500 2005-09-14 David Schleef <ds@schleef.org>
1502 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
1503 because we don't require glib-2.8.
1505 2005-09-14 David Schleef <ds@schleef.org>
1507 * gst/gstregistryxml.c: Added. Essentially moved out of the
1508 registries directory.
1510 2005-09-14 David Schleef <ds@schleef.org>
1512 * check/Makefile.am:
1513 * check/generic/states.c:
1514 * gst/Makefile.am:
1515 * gst/gst.c:
1516 * gst/gst.h:
1517 * gst/gst_private.h:
1518 * gst/gstelementfactory.c:
1519 * gst/gstindex.c:
1520 * gst/gstinfo.c:
1521 * gst/gstplugin.c:
1522 * gst/gstplugin.h:
1523 * gst/gstpluginfeature.c:
1524 * gst/gstpluginfeature.h:
1525 * gst/gstregistry.c:
1526 * gst/gstregistry.h:
1527 * gst/gstregistrypool.c: remove
1528 * gst/gstregistrypool.h: remove
1529 * gst/gsttypefind.c:
1530 * gst/gsttypefindfactory.c:
1531 * gst/gsturi.c:
1532 * tools/Makefile.am:
1533 * tools/gst-compprep.c:
1534 * tools/gst-inspect.c:
1535 * tools/gst-register.c: remove
1536 * tools/gst-xmlinspect.c:
1537 Registry rewrite. Changes registry from being a file created
1538 by a tool into a simple cache file created automatically by
1539 libgstreamer. Removed gst-register (because it's no longer
1540 needed). Remove registry pools, because we only have one
1541 registry implementation (XML). Fix up other subsystems as
1542 necessary.
1544 2005-09-13 Michael Smith <msmith@fluendo.com>
1546 * gst/gstconfig.h.in:
1547 Don't Use windows linking attributes for MinGW. Fixes #316157
1549 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
1551 * gst/gstutils.c: (set_state_async_thread_func),
1552 (gst_element_set_state_async):
1553 Apparently people think it's better if this function doesn't
1554 try to set the state to whatever state was asked for on the first
1555 call to this function for any object. Seriously.
1557 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
1559 * check/gst/gstpipeline.c: (GST_START_TEST):
1560 * docs/gst/gstreamer-sections.txt:
1561 * gst/gstutils.c: (set_state_async_thread_func),
1562 (gst_element_set_state_async):
1563 * gst/gstutils.h:
1564 add a "gst_element_set_state_async" method that
1565 sets the state and starts a thread to make sure the state
1566 change completes as best as it can
1568 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
1570 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
1571 codify design+behaviour in testsuite after discussion
1573 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
1575 * docs/gst/tmpl/gstelement.sgml:
1576 * docs/manual/appendix-quotes.xml:
1577 add a quote
1578 * gst/gstelement.c: (gst_element_set_state):
1579 add some debug
1581 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
1583 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
1584 (gst_base_transform_prepare_output_buf),
1585 (gst_base_transform_handle_buffer):
1586 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
1587 (gst_capsfilter_prepare_buf):
1588 Remove the requirement for sub-classes to call the parent
1589 implementation of prepare_output_buffer with a wrapper function.
1591 * gst/gsttaglist.h:
1592 * gst/gsttagsetter.h:
1593 Fix #define wrapper
1595 2005-09-11 Stefan Kost <ensonic@users.sf.net>
1597 * docs/gst/gstreamer-sections.txt:
1598 more doc cleanups
1600 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
1602 * docs/gst/gstreamer-sections.txt:
1603 * docs/gst/tmpl/gstelement.sgml:
1604 * docs/gst/tmpl/gstplugin.sgml:
1605 * gst/gstminiobject.c:
1606 * gst/gstvalue.h:
1607 docs now stop throwing warnings
1609 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
1611 * docs/gst/gstreamer-sections.txt:
1612 * docs/gst/gstreamer.types:
1613 * docs/gst/tmpl/gstpad.sgml:
1614 * docs/gst/tmpl/gsttypes.sgml:
1615 * gst/base/gstadapter.h:
1616 * gst/base/gstbasesink.h:
1617 * gst/base/gstbasesrc.h:
1618 * gst/gstbin.h:
1619 * gst/gstbuffer.h:
1620 * gst/gstbus.h:
1621 * gst/gstcaps.h:
1622 * gst/gstclock.h:
1623 * gst/gstelement.h:
1624 * gst/gstevent.h:
1625 * gst/gstmessage.h:
1626 * gst/gstpad.h:
1627 * gst/gststructure.c:
1628 * gst/registries/gstlibxmlregistry.h:
1629 various documentation fixes
1631 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
1633 * docs/gst/gstreamer-sections.txt:
1634 * docs/gst/tmpl/gstvalue.sgml:
1635 rearrange gstvalue section
1636 * gst/gstutils.c: (gst_element_state_get_name):
1637 NONE -> VOID
1638 * gst/gstvalue.c: (_gst_value_initialize):
1639 * gst/gstvalue.h:
1640 doc updates
1642 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
1644 * check/gst-libs/controller.c:
1645 Header include fix.
1646 * gst/base/gstbasetransform.c:
1647 (gst_base_transform_default_prepare_buf),
1648 (gst_base_transform_handle_buffer):
1649 * gst/base/gstbasetransform.h:
1650 Some more basetransform changes and fixes to enable sub-classes
1651 that modify buffer metadata only.
1652 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
1653 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
1654 (gst_capsfilter_prepare_buf):
1655 If the output pad has fixed allowed caps and input buffers
1656 don't have any, set the fixed caps on outgoing buffers.
1658 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
1659 * check/elements/identity.c: (GST_START_TEST):
1660 Make the error a little clearer when the test fails because
1661 identity made a copy of the buffer.
1662 * docs/gst/gstreamer-sections.txt:
1663 New symbols in gstbasetransform.h
1664 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
1665 (gst_base_transform_init), (gst_base_transform_transform_size),
1666 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
1667 (gst_base_transform_default_prepare_buf),
1668 (gst_base_transform_get_unit_size),
1669 (gst_base_transform_buffer_alloc),
1670 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
1671 (gst_base_transform_change_state),
1672 (gst_base_transform_set_passthrough),
1673 (gst_base_transform_set_in_place),
1674 (gst_base_transform_is_in_place):
1675 * gst/base/gstbasetransform.h:
1676 Change BaseTransform to separate in_place operate from same_caps
1677 output. in_place implies that the element can perform the transform
1678 on incoming buffers in-place, even if the caps on the output are
1679 different.
1680 Sub-class elements can now implement special buffer allocation
1681 methods for outgoing buffers if they wish to.
1682 Big documentation addition.
1683 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
1684 * gst/elements/gstelements.c:
1685 Changes for basetransform modifications.
1686 * gst/elements/Makefile.am:
1687 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
1688 Compile fix. Extra debug output.
1690 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
1692 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
1693 (gst_pad_suite):
1694 add tests for valid pad naming
1695 * gst/check/gstcheck.c: (gst_check_log_message_func),
1696 (gst_check_log_critical_func):
1697 add ASSERT_WARNING
1698 remove printing of code, it is fragile when the code contains
1699 % and the line number is enough info
1700 * gst/check/gstcheck.h:
1701 * gst/gstpad.c: (gst_pad_template_new):
1702 fix memleaks
1704 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
1706 * configure.ac:
1707 say what CHECK flags we use
1708 * docs/libs/gstreamer-libs.types:
1709 * libs/gst/controller/Makefile.am:
1710 * libs/gst/controller/gst-controller.c:
1711 * libs/gst/controller/gst-controller.h:
1712 * libs/gst/controller/gst-helper.c:
1713 * libs/gst/controller/gst-interpolation.c:
1714 * libs/gst/controller/gstcontroller.c:
1715 * libs/gst/controller/gsthelper.c:
1716 * libs/gst/controller/gstinterpolation.c:
1717 * tools/gst-inspect.c: (print_plugin_info):
1718 we don't use dashes in header names
1720 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
1722 * check/Makefile.am:
1723 * check/gst/.cvsignore:
1724 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
1725 (gst_pipeline_suite), (main):
1726 adding a test for pipelines and state changes
1727 * gst/gstutils.c: (get_state_func):
1728 add some debugging
1729 * gstreamer.spec.in:
1730 fix up spec file
1732 2005-09-08 Michael Smith <msmith@fluendo.com>
1734 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
1735 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
1736 (gst_file_src_is_seekable), (gst_file_src_get_size),
1737 (gst_file_src_start):
1738 * gst/elements/gstfilesrc.h:
1739 Various fixes for unseekable, unmmapable, and non-normal files, so
1740 that fallback to read() rather than mmap() works.
1741 * gst/gstevent.c: (gst_event_new_newsegment):
1742 Allow newsegment events with segment_start == segment_end, as will
1743 correctly happen if you use filesrc on a zero-size file, for
1744 example.
1746 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
1748 * gst/gstplugin.c: (gst_plugin_load_file):
1749 Call g_module_close when we don't load the module
1751 * gst/registries/gstlibxmlregistry.c:
1752 (gst_xml_registry_get_property):
1753 Port leak fix from 0.8
1755 2005-09-07 Stefan Kost <ensonic@users.sf.net>
1757 * docs/gst/gstreamer-docs.sgml:
1758 * docs/gst/tmpl/.cvsignore:
1759 * docs/gst/tmpl/gsttrace.sgml:
1760 * docs/gst/tmpl/gsttrashstack.sgml:
1761 * gst/Makefile.am:
1762 * gst/gst.h:
1763 * gst/gstelement.h:
1764 * gst/gstevent.h:
1765 * gst/gstmessage.c:
1766 * gst/gstmessage.h:
1767 * gst/gsttag.c:
1768 * gst/gsttag.h:
1769 * gst/gsttaginterface.c:
1770 * gst/gsttaginterface.h:
1771 * gst/gsttaglist.c:
1772 * gst/gsttaglist.h:
1773 * gst/gsttagsetter.c:
1774 * gst/gsttagsetter.h:
1775 * gst/gsttrace.c:
1776 * gst/gsttrace.h:
1777 * gst/gsttrashstack.c:
1778 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
1779 inlined docs for gsttrace, gsttrashstack
1781 2005-09-07 Stefan Kost <ensonic@users.sf.net>
1783 * gst/Makefile.am:
1784 * gst/elements/gstbufferstore.h:
1785 * gst/elements/gsttypefindelement.c:
1786 * gst/elements/gsttypefindelement.h:
1787 * gst/gst.h:
1788 * gst/gsttypefind.c:
1789 * gst/gsttypefind.h:
1790 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
1791 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
1792 (gst_type_find_factory_dispose),
1793 (gst_type_find_factory_unload_thyself),
1794 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
1795 (gst_type_find_factory_get_caps),
1796 (gst_type_find_factory_get_extensions),
1797 (gst_type_find_factory_call_function):
1798 * gst/gsttypefindfactory.h:
1799 * gst/registries/gstlibxmlregistry.c:
1800 * gst/registries/gstxmlregistry.c:
1801 splitted gsttypefind into gsttypefind, gsttypefindfactory
1803 2005-09-07 Andy Wingo <wingo@pobox.com>
1805 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
1806 condition whereby the pad's task function is entered before the
1807 pad_mode variable was set.
1809 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
1811 * gst/gstpad.c: (gst_pad_alloc_buffer):
1812 Catch misbehaving pad_alloc functions that don't
1813 set up caps and do it for them.
1815 2005-09-07 Stefan Kost <ensonic@users.sf.net>
1817 * check/pipelines/simple_launch_lines.c: (run_pipeline):
1818 test for pipe!=NULL
1819 * docs/gst/tmpl/.cvsignore:
1820 * docs/gst/tmpl/gstmemchunk.sgml:
1821 * docs/gst/tmpl/gstparse.sgml:
1822 * docs/gst/tmpl/gsttaglist.sgml:
1823 * docs/gst/tmpl/gsttagsetter.sgml:
1824 * docs/gst/tmpl/gsttypefind.sgml:
1825 * docs/gst/tmpl/gsttypefindfactory.sgml:
1826 * gst/gstmemchunk.c:
1827 * gst/gstparse.c:
1828 * gst/gsttag.c:
1829 * gst/gsttaginterface.c:
1830 * gst/gsttypefind.c:
1831 * gst/gsttypefind.h:
1832 inlined more docs
1834 === release 0.9.2 ===
1836 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
1838 * NEWS:
1839 * RELEASE:
1840 * configure.ac:
1841 releasing 0.9.2, "South"
1843 2005-09-05 Andy Wingo <wingo@pobox.com>
1845 * gst/registries/gstxmlregistry.h:
1846 * gst/registries/gstxmlregistry.c: Um... resurrect...
1848 * gst/registries/gstxmlregistry.h:
1849 * gst/registries/gstxmlregistry.c: and update to newer API.
1850 Incidentally they should be a bit faster now that they don't have
1851 to parse the caps.
1853 2005-09-05 Andy Wingo <wingo@pobox.com>
1855 * gst/registries/gstxmlregistry.h:
1856 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
1857 replaced by the libxml registry a while back
1859 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
1861 * docs/gst/tmpl/gstplugin.sgml:
1862 * gst/elements/gstelements.c:
1863 * gst/gst.c:
1864 * gst/gstplugin.c: (gst_plugin_register_func),
1865 (gst_plugin_desc_copy), (gst_plugin_desc_free),
1866 (gst_plugin_get_source):
1867 * gst/gstplugin.h:
1868 * gst/registries/gstlibxmlregistry.c: (load_plugin),
1869 (gst_xml_registry_save_plugin):
1870 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
1871 (gst_xml_registry_save_plugin):
1872 * tools/gst-inspect.c: (print_plugin_info):
1873 add a "source" plugin description field, to represent the source
1874 module this plugin is a part of. By default GST_PLUGIN_DEFINE
1875 will set it to PACKAGE, which is automake's idea of the name of
1876 the source project.
1878 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
1880 * Makefile.am:
1881 * autogen.sh:
1882 * configure.ac:
1883 * docs/Makefile.am:
1884 * docs/faq/Makefile.am:
1885 * docs/gst/tmpl/gstelement.sgml:
1886 * docs/gst/tmpl/gsttypes.sgml:
1887 * docs/htmlinstall.mak:
1888 * docs/manual/Makefile.am:
1889 * docs/pwg/Makefile.am:
1890 reorganize doc build a little
1891 split out docbook and gtk-doc stuff
1892 have two separate --enable's and enable them through autogen
1893 but disable by default in configure (to be similar to other
1894 projects)
1895 * gstreamer.spec.in:
1896 clean up docs install
1897 * po/af.po:
1898 * po/az.po:
1899 * po/ca.po:
1900 * po/cs.po:
1901 * po/de.po:
1902 * po/en_GB.po:
1903 * po/fr.po:
1904 * po/it.po:
1905 * po/nb.po:
1906 * po/nl.po:
1907 * po/ru.po:
1908 * po/sq.po:
1909 * po/sr.po:
1910 * po/sv.po:
1911 * po/tr.po:
1912 * po/uk.po:
1913 * po/vi.po:
1914 translation updates
1916 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
1918 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
1919 Add comment.
1921 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
1922 (gst_fake_sink_change_state):
1923 Make state change function thread-safe.
1925 * gst/gstpad.c: (gst_pad_alloc_buffer):
1926 Set offset on generic buffer allocated by fallback.
1928 2005-09-03 Stefan Kost <ensonic@users.sf.net>
1930 * docs/gst/gstreamer-sections.txt:
1931 * docs/gst/tmpl/gstelement.sgml:
1932 * gst/gstpad.c:
1933 * libs/gst/controller/gst-controller.c:
1934 (gst_controlled_property_set_interpolation_mode),
1935 (gst_controlled_property_new),
1936 (gst_controller_find_controlled_property):
1937 run the wingo-magic script against the docs
1939 2005-09-02 Stefan Kost <ensonic@users.sf.net>
1941 * docs/gst/gstreamer-docs.sgml:
1942 * docs/gst/gstreamer-sections.txt:
1943 * docs/gst/tmpl/.cvsignore:
1944 * docs/gst/tmpl/gstelementdetails.sgml:
1945 * docs/gst/tmpl/gstelementfactory.sgml:
1946 * gst/gst.c:
1947 * gst/gstbus.c:
1948 * gst/gstelementfactory.c:
1949 * gst/gstelementfactory.h:
1950 merged elementdetails docs into elementfactory docs
1951 inlined both
1953 2005-09-02 Andy Wingo <wingo@pobox.com>
1955 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
1956 consider this enum an enum and not a flags.
1958 2005-09-02 Stefan Kost <ensonic@users.sf.net>
1960 * docs/gst/gstreamer-docs.sgml:
1961 * docs/gst/tmpl/.cvsignore:
1962 * docs/gst/tmpl/gstghostpad.sgml:
1963 * docs/gst/tmpl/gstiterator.sgml:
1964 * docs/gst/tmpl/gstmacros.sgml:
1965 * docs/gst/tmpl/gstrealpad.sgml:
1966 * docs/gst/tmpl/gstregistry.sgml:
1967 * docs/gst/tmpl/gstregistrypool.sgml:
1968 * docs/gst/tmpl/gststructure.sgml:
1969 * docs/gst/tmpl/gstsystemclock.sgml:
1970 * docs/gst/tmpl/gsttrace.sgml:
1971 * gst/gstghostpad.c:
1972 * gst/gstmacros.h:
1973 * gst/gstmemchunk.c:
1974 * gst/gstmemchunk.h:
1975 * gst/gstqueue.c:
1976 * gst/gstregistry.c:
1977 * gst/gstregistrypool.c:
1978 * gst/gststructure.c:
1979 * gst/gstsystemclock.c:
1980 more docs inlined
1982 2005-09-02 Andy Wingo <wingo@pobox.com>
1984 * gst/gstelement.h (GstState): Renamed from GstElementState,
1985 changed to be a normal enum instead of flags.
1986 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
1987 munged to be GST_STATE_CHANGE_*.
1988 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
1989 work with the new state representation.
1990 (GstStateChange): New enumeration of possible state transitions.
1991 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
1992 (GstElementClass::change_state): Pass the GstStateChange along as
1993 an argument. Helps language bindings, so they don't have to use
1994 tricky lock-needing macros like GST_STATE_CHANGE ().
1996 * scripts/update-states (file): New script. Run it on a file to
1997 update it for state naming and API changes. Updates files in
1998 place.
2000 * All files updated for the new API.
2002 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
2004 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
2005 * gst/gstutils.c: (gst_util_set_value_from_string),
2006 (gst_util_set_object_arg):
2007 fix a bunch of unchecked return values
2008 * tools/gst-complete.c: (main):
2009 * gstreamer.spec.in:
2010 clean up a little
2012 2005-09-01 Wim Taymans <wim@fluendo.com>
2014 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2015 (gst_base_sink_event), (gst_base_sink_do_sync),
2016 (gst_base_sink_handle_event):
2017 * gst/base/gstbasesink.h:
2018 Handle newsegments more correctly.
2020 * gst/gstbus.c:
2021 Fix docs.
2023 * gst/gstevent.c: (gst_event_new_newsegment):
2024 A newsegment cannot have a start_time of -1
2026 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
2028 * win32/gstenumtypes.c:
2029 * win32/gstenumtypes.h:
2030 Update
2032 2005-08-31 Stefan Kost <ensonic@users.sf.net>
2034 * libs/gst/controller/gst-controller.c:
2035 (gst_controlled_property_set_interpolation_mode),
2036 (gst_controlled_property_new):
2037 fixed boolean again
2039 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
2041 * docs/faq/gst-uninstalled:
2042 add -good
2043 * gst/gstevent.c:
2044 * gst/gstevent.h:
2045 remove wrong docs
2046 * gst/gstutils.c: (gst_element_link_filtered):
2047 * gst/gstutils.h:
2048 add gst_element_link_filtered
2050 2005-08-31 Stefan Kost <ensonic@users.sf.net>
2052 * docs/gst/gstreamer-docs.sgml:
2053 * docs/gst/gstreamer-sections.txt:
2054 * docs/gst/tmpl/.cvsignore:
2055 * docs/gst/tmpl/gsterror.sgml:
2056 * docs/gst/tmpl/gstfilter.sgml:
2057 * docs/gst/tmpl/gsturihandler.sgml:
2058 * docs/gst/tmpl/gsturitype.sgml:
2059 * docs/gst/tmpl/gstutils.sgml:
2060 * docs/gst/tmpl/gstxml.sgml:
2061 * gst/gsterror.c:
2062 * gst/gsterror.h:
2063 * gst/gstfilter.c:
2064 * gst/gsturi.c:
2065 * gst/gsturitype.c:
2066 * gst/gstutils.c:
2067 * gst/gstxml.c:
2068 inlined more docs, fixed double id-ref
2070 2005-08-31 Wim Taymans <wim@fluendo.com>
2072 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
2073 (gst_base_transform_handle_buffer):
2074 Passthrough elements don't need the caps as they don't care.
2076 2005-08-31 Wim Taymans <wim@fluendo.com>
2078 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
2079 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
2080 Don't leak refcounts on buffers.
2082 2005-08-31 Wim Taymans <wim@fluendo.com>
2084 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
2085 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
2086 (gst_base_transform_chain), (gst_base_transform_change_state):
2087 * gst/base/gstbasetransform.h:
2088 Handle the case where we are not negotiated more gracefully.
2090 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
2092 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
2093 (gst_file_src_map_region):
2094 Set READONLY flag on mmap'ed buffers, otherwise
2095 gst_buffer_make_writable() won't work properly (#314708).
2097 2005-08-31 Wim Taymans <wim@fluendo.com>
2099 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
2100 passthrough elements can even do inplace on non writable
2101 buffers (as they don't touch them).
2103 2005-08-31 Stefan Kost <ensonic@users.sf.net>
2105 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
2106 (gst_test_mono_source_set_property),
2107 (gst_test_mono_source_class_init), (GST_START_TEST),
2108 (gst_controller_suite):
2109 more tests (hehe I have the most)
2110 * gst/gstbus.c:
2111 describe popping messages whenusing mulltiple sources
2112 * libs/gst/controller/gst-controller.c:
2113 (gst_controlled_property_set_interpolation_mode),
2114 (gst_controlled_property_new):
2115 * libs/gst/controller/gst-controller.h:
2116 * libs/gst/controller/gst-interpolation.c:
2117 implement boolean properties
2119 2005-08-31 Wim Taymans <wim@fluendo.com>
2121 * gst/gstminiobject.c: (gst_mini_object_ref):
2122 Cannot assert that the refcount has to be positive
2123 since a disposed object can be resurrected.
2125 2005-08-31 Wim Taymans <wim@fluendo.com>
2127 * gst/gstpad.c: (gst_pad_init):
2128 Revert change, need to first fix badly behaving
2129 apps.
2131 2005-08-30 Wim Taymans <wim@fluendo.com>
2133 * check/elements/fakesrc.c: (setup_fakesrc):
2134 * check/elements/identity.c: (setup_identity):
2135 Activate pads before using them.
2137 2005-08-30 Wim Taymans <wim@fluendo.com>
2139 * gst/base/gstadapter.c: (gst_adapter_flush):
2140 Flushing out 0 bytes is ok for this function.
2142 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2143 no newsegment gives a warning and sets the start/stop to
2144 invalid.
2146 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
2147 (gst_base_transform_set_passthrough):
2148 Some debug info.
2150 * gst/gstminiobject.c: (gst_mini_object_ref):
2151 Check refcount here too.
2153 * gst/gstpad.c: (gst_pad_init):
2154 Pads are initially flushing and refusing data.
2156 * gst/gstutils.c: (gst_element_link_pads_filtered):
2157 When adding a capsfilter element make sure it has the
2158 same state as the parent bin.
2160 2005-08-30 Stefan Kost <ensonic@users.sf.net>
2162 * docs/gst/tmpl/.cvsignore:
2163 * docs/gst/tmpl/gstformat.sgml:
2164 * docs/gst/tmpl/gstversion.sgml:
2165 * gst/gstbus.h:
2166 * gst/gstformat.c:
2167 * gst/gstformat.h:
2168 * gst/gstversion.h.in:
2169 more docs and two more inlined
2171 2005-08-30 Wim Taymans <wim@fluendo.com>
2173 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
2174 Don't sync to clock.
2176 2005-08-30 Stefan Kost <ensonic@users.sf.net>
2178 * docs/gst/gstreamer-sections.txt:
2179 ultral33t func10ns deserve to appear in the docs actually
2180 * docs/gst/tmpl/.cvsignore:
2181 * docs/gst/tmpl/gstcompat.sgml:
2182 * docs/gst/tmpl/gstconfig.sgml:
2183 * gst/check/gstcheck.c:
2184 * gst/gstcompat.h:
2185 * gst/gstconfig.h.in:
2186 inlined more docs
2188 2005-08-30 Stefan Kost <ensonic@users.sf.net>
2190 * docs/gst/tmpl/.cvsignore:
2191 * docs/gst/tmpl/gstquery.sgml:
2192 * docs/gst/tmpl/gstutils.sgml:
2193 * gst/gstquery.c:
2194 * gst/gstquery.h:
2195 inlined and extended docs
2197 2005-08-30 Stefan Kost <ensonic@users.sf.net>
2199 * check/gst-libs/controller.c: (GST_START_TEST),
2200 (gst_controller_suite):
2201 more tests
2202 * docs/gst/tmpl/gstutils.sgml:
2203 * docs/libs/gstreamer-libs-sections.txt:
2204 * docs/libs/tmpl/gstdataprotocol.sgml:
2205 include path fixes
2206 * examples/controller/audio-example.c: (main):
2207 controller example works now
2208 * gst/gstclock.h:
2209 doc fixes
2210 * tools/gst-inspect.c: (print_element_properties_info):
2211 show param spec flags
2213 2005-08-29 Andy Wingo <wingo@pobox.com>
2215 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
2217 2005-08-28 Andy Wingo <wingo@pobox.com>
2219 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
2220 as having two arguments instead of just one. Allows superclasses
2221 to access information on subclasses -- see the terrible for() loop
2222 in gtype.c:g_type_create_instance for the reason why. All callers
2223 changed.
2225 2005-08-27 Stefan Kost <ensonic@users.sf.net>
2227 * docs/design/part-messages.txt:
2228 update info
2229 * docs/gst/tmpl/.cvsignore:
2230 * docs/gst/tmpl/gstcaps.sgml:
2231 * docs/gst/tmpl/gstclock.sgml:
2232 * gst/gstbus.c:
2233 * gst/gstcaps.c:
2234 * gst/gstcaps.h:
2235 * gst/gstclock.c:
2236 * gst/gstclock.h:
2237 * gst/gstmessage.c:
2238 added descriptions for bus and message
2239 inline caps and clock docs
2241 2005-08-27 Stefan Kost <ensonic@users.sf.net>
2243 * gst/gstmessage.c:
2244 * gst/gstmessage.h:
2245 doc fixes
2247 2005-08-27 Stefan Kost <ensonic@users.sf.net>
2249 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
2250 fix div-by-zero
2252 2005-08-26 Andy Wingo <wingo@pobox.com>
2254 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
2255 element_set_state's return val.
2256 (test_2_elements): Add test that's been disabled for months.
2258 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
2259 can-activate-pull properties.
2261 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
2262 can-activate-pull properties. Implement is_seekable so fakesrc can
2263 operate in pull mode.
2265 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
2266 properties.
2267 (gst_base_sink_activate, gst_base_sink_activate_pull)
2268 (gst_base_sink_activate_push): Make activation mode choosing work.
2269 Cleanups.
2270 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
2271 is right. Make pull mode work. Post an eos before pausing in pull
2272 mode.
2273 (gst_base_sink_change_state): Pay attention to the core's
2274 change_state() return val.
2276 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
2277 has-getrange properties. Cleanups.
2279 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
2280 has_getrange and replace with can_activate_pull and
2281 can_activate_push.
2283 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
2284 locking comments. Remove has_loop, has_chain and replace with
2285 can_activate_pull and can_activate_push.
2287 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
2289 * configure.ac:
2290 * examples/Makefile.am:
2291 * examples/metadata/Makefile.am:
2292 * examples/metadata/read-metadata.c: (message_loop),
2293 (have_pad_handler), (make_pipeline), (print_tag), (main):
2294 Add metadata reading example that loops over a list of filenames,
2295 dumping any tags found.
2297 * gst/gstbus.c: (gst_bus_dispose):
2298 * gst/gstelement.c: (gst_element_dispose):
2299 Release a few potentially-held references in dispose.
2301 2005-08-26 Stefan Kost <ensonic@users.sf.net>
2303 * docs/gst/tmpl/gstminiobject.sgml:
2304 do *not* add tmpl/*.sgml files to CVS!
2306 2005-08-26 Stefan Kost <ensonic@users.sf.net>
2308 * libs/gst/bytestream/.cvsignore:
2309 * libs/gst/bytestream/Makefile.am:
2310 * libs/gst/bytestream/adapter.c:
2311 * libs/gst/bytestream/adapter.h:
2312 * libs/gst/bytestream/bytestream.c:
2313 * libs/gst/bytestream/bytestream.h:
2314 * libs/gst/bytestream/filepad.c:
2315 * libs/gst/bytestream/filepad.h:
2316 removing obsolete files
2318 2005-08-26 Stefan Kost <ensonic@users.sf.net>
2320 * docs/gst/gstreamer-docs.sgml:
2321 * docs/libs/gstreamer-libs-docs.sgml:
2322 disabed additional index entries again, as this makes docs-gen just
2323 slow and they aren't useful yet
2324 * docs/libs/gstreamer-libs-sections.txt:
2325 little -section.txt cleanup for libs
2327 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
2329 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2330 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
2331 fix up some debugging
2332 (gst_base_transform_get_unit_size),
2333 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
2334 (gst_base_transform_handle_buffer):
2335 * gst/base/gstbasetransform.h:
2336 handle and store timed NEWSEGMENT events so that subclasses that
2337 calculate time by counting samples have a segment_start time they
2338 need to add to their timestamps - see audioresample
2340 2005-08-26 Stefan Kost <ensonic@users.sf.net>
2342 * gst/gstbin.h:
2343 removed ';' from the end of macro defs
2344 * docs/gst/gstreamer-docs.sgml:
2345 * docs/gst/gstreamer-sections.txt:
2346 * docs/gst/tmpl/.cvsignore:
2347 * gst/gstbus.h:
2348 * gst/gstelement.c: (gst_element_class_init),
2349 (gst_element_set_state), (activate_pads),
2350 (gst_element_save_thyself):
2351 * gst/gstevent.c: (gst_event_new_newsegment):
2352 * gst/gstevent.h:
2353 * gst/gstiterator.c:
2354 * gst/gstiterator.h:
2355 * gst/gstpad.c:
2356 * gst/gstprobe.h:
2357 * gst/gstutils.c: (gst_pad_query_convert):
2358 * gst/gstutils.h:
2359 fixed parameter name mismatches between source, header and docs
2360 added some more docs, resolved the last batch of unused elements in
2361 docs (now someone needs to doc them)
2363 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
2365 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
2366 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
2367 don't walk through the plugins backwards. Where is all this
2368 reversed logic coming from ?
2370 2005-08-25 Wim Taymans <wim@fluendo.com>
2372 * gst/base/gstbasetransform.c: (gst_base_transform_init),
2373 (gst_base_transform_transform_size),
2374 (gst_base_transform_configure_caps),
2375 (gst_base_transform_get_unit_size),
2376 (gst_base_transform_buffer_alloc),
2377 (gst_base_transform_change_state):
2378 * gst/base/gstbasetransform.h:
2379 Cache caps unit_size.
2380 Make sure we cannot negotiate up and downstream at the
2381 same time.
2383 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
2385 * gst/gst.c: (init_pre), (init_post):
2386 register the installed plugin path after the env var
2387 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
2388 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
2389 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
2390 directories, so the tests can prefer uninstalled over installed
2392 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
2394 * gst/base/gstbasetransform.h:
2395 comment
2396 * gst/gstpad.c:
2397 add to docs
2399 2005-08-25 Wim Taymans <wim@fluendo.com>
2401 * gst/gstbin.c: (bin_bus_handler):
2402 Be a bit more conservative about the posted message.
2404 * gst/gstbus.c: (gst_bus_post):
2405 Some cleanups, warn wrong return values.
2407 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
2409 * check/gst/gstbin.c: (GST_START_TEST):
2410 * gst/gstbin.c: (bin_bus_handler):
2411 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
2412 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
2413 (gst_message_new_warning), (gst_message_new_tag),
2414 (gst_message_new_state_changed), (gst_message_new_segment_start),
2415 (gst_message_new_segment_done), (gst_message_new_custom):
2416 * gst/gstmessage.h:
2417 * tools/gst-launch.c: (event_loop):
2418 * tools/gst-md5sum.c: (event_loop):
2419 Revert unpopular change for GST_MESSAGE_SRC to GObject.
2421 2005-08-25 Wim Taymans <wim@fluendo.com>
2423 * check/generic/states.c: (GST_START_TEST):
2424 Cleanup can be done at the end.
2426 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
2427 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
2428 (gst_task_get_state), (gst_task_start), (gst_task_pause):
2429 Oh boy.. Thanks for finding this, Thomas.
2431 2005-08-25 Stefan Kost <ensonic@users.sf.net>
2433 * docs/gst/gstreamer.types:
2434 added missing types
2436 2005-08-25 Stefan Kost <ensonic@users.sf.net>
2438 * docs/gst/gstreamer-docs.sgml:
2439 * docs/gst/gstreamer-sections.txt:
2440 * docs/gst/tmpl/.cvsignore:
2441 * gst/gstbin.c:
2442 * gst/gstiterator.c:
2443 * gst/gstutils.c:
2444 * gst/registries/gstxmlregistry.h:
2445 added missing classes and symbols (123 more to go)
2446 removed removed symbols from section file
2447 fixed many doc-comments
2449 2005-08-24 Wim Taymans <wim@fluendo.com>
2451 * check/generic/states.c: (GST_START_TEST):
2452 Make sure all tasks are stopped.
2454 * check/gst/gstbin.c: (GST_START_TEST):
2455 Unref after usage for proper valgrinding.
2457 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
2458 Really wait for the task to stop before destroying the
2459 mutex.
2461 * gst/gstqueue.c: (gst_queue_sink_activate_push),
2462 (gst_queue_src_activate_push):
2463 Small cleanups. Don't stop the task when we did not start
2464 it.
2466 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
2467 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
2468 (gst_task_get_state), (gst_task_start), (gst_task_pause),
2469 (gst_task_join):
2470 * gst/gsttask.h:
2471 Protect the stream lock with the object lock.
2472 Disallow setting the stream lock when running.
2473 Add cleanup_all to wait for the threadpool to finish.
2474 Remove code to autoallocate a mutex if none was provided.
2475 Add _join() to wait for a task to stop.
2476 Protect the thread pool with a global lock.
2478 2005-08-24 Wim Taymans <wim@fluendo.com>
2480 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2481 (gst_base_sink_get_times), (gst_base_sink_do_sync),
2482 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
2483 * gst/base/gstbasesink.h:
2484 Handle newsegment events correctly.
2485 Drop buffers out of the segment range.
2487 2005-08-22 Andy Wingo <wingo@pobox.com>
2489 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
2490 macro, implements an interface and gstimplementsinterface for a
2491 new type.
2493 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
2495 * check/Makefile.am:
2496 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
2497 add a test that does a bunch of state changes on elements
2498 needs some fixing for valgrind
2499 * check/states/sinks.c: (gst_object_suite):
2500 whitespace
2501 * gst/gstcaps.h:
2502 add prototype for gst_caps_is_equal_fixed
2503 * gst/gstplugin.c:
2504 * gst/gstregistrypool.c:
2505 doc fixes
2507 2005-08-24 Andy Wingo <wingo@pobox.com>
2509 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
2510 convert a negative value. Doesn't make much sense. Mostly this is
2511 here to force callers to ensure -1 maps to -1.
2513 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
2515 * docs/pwg/advanced-types.xml:
2516 Well done to Michael for catching my deliberate introduction
2517 of this spelling mistake.
2518 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
2519 * gst/gstelement.h:
2520 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
2521 unlink pads before removing the element from the bin.
2523 2005-08-24 Andy Wingo <wingo@pobox.com>
2525 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
2526 the same thing as GST_DEBUG=*:4.
2527 (parse_debug_level, parse_debug_category): New helper parsers.
2529 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
2531 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
2532 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
2533 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
2534 (gst_base_transform_buffer_alloc),
2535 (gst_base_transform_handle_buffer):
2536 use gboolean return values and pointers to size so we can use the
2537 full GST_BUFFER_SIZE range (guint) for buffer sizes
2538 use GstPadDirection for transform_caps
2539 * gst/base/gstbasetransform.h:
2540 rename get_size to get_unit_size since that's what it is
2541 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
2542 use GstPadDirection for transform_caps
2543 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
2544 * gst/gstutils.h:
2545 cleanup and debugging
2547 2005-08-24 Stefan Kost <ensonic@users.sf.net>
2549 * gst/gstelement.c: (gst_element_class_init),
2550 (gst_element_set_state), (activate_pads),
2551 (gst_element_save_thyself):
2552 * tools/gst-compprep.c: (main):
2553 * tools/gst-inspect.c: (print_element_properties_info):
2554 * tools/gst-xmlinspect.c: (print_element_properties):
2555 Fixed long standing mem-leak
2557 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
2559 * check/gst/gstbin.c: (GST_START_TEST):
2560 * gst/gstbin.c: (bin_bus_handler):
2561 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
2562 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
2563 (gst_message_new_warning), (gst_message_new_tag),
2564 (gst_message_new_state_changed), (gst_message_new_segment_start),
2565 (gst_message_new_segment_done), (gst_message_new_custom):
2566 * gst/gstmessage.h:
2567 * tools/gst-launch.c: (event_loop):
2568 * tools/gst-md5sum.c: (event_loop):
2569 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
2570 that applications can sensibly post custom messages with references
2571 to their own objects.
2573 2005-08-24 Andy Wingo <wingo@pobox.com>
2575 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
2576 already.
2578 2005-08-24 Wim Taymans <wim@fluendo.com>
2580 * gst/base/gstbasetransform.c: (gst_base_transform_init),
2581 (gst_base_transform_transform_caps),
2582 (gst_base_transform_transform_size),
2583 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
2584 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
2585 (gst_base_transform_handle_buffer):
2586 * gst/base/gstbasetransform.h:
2587 Many fixes and new features added by Thomas. Can now also do
2588 transforms with variable sizes and a custom fixate_caps function.
2590 2005-08-24 Wim Taymans <wim@fluendo.com>
2592 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
2593 Some debugging.
2595 * gst/gstclock.h:
2596 Cast to ClockTime before formatting to time.
2598 * gst/gstutils.h:
2599 Cleanups.
2601 2005-08-24 Stefan Kost <ensonic@users.sf.net>
2603 * check/gst-libs/controller.c: (GST_START_TEST),
2604 (gst_controller_suite):
2605 * docs/gst/tmpl/gstcaps.sgml:
2606 * docs/gst/tmpl/gstghostpad.sgml:
2607 * docs/gst/tmpl/gstquery.sgml:
2608 * docs/gst/tmpl/gstutils.sgml:
2609 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
2610 (gst_object_sink_values), (gst_object_get_value_arrays),
2611 (gst_object_get_value_array):
2612 gracefully handle helper method calls to objects that are not beeing
2613 controlled, added test case for that
2615 2005-08-23 Wim Taymans <wim@fluendo.com>
2617 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
2618 (gst_event_new_newsegment), (gst_event_parse_newsegment),
2619 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
2620 (gst_event_parse_qos), (gst_event_new_seek),
2621 (gst_event_parse_seek):
2622 * gst/gstevent.h:
2623 Some more debugging output and doc cleanups.
2625 * gst/gstqueue.c: (gst_queue_handle_sink_event):
2626 Fix possible deadlock.
2628 2005-08-23 Stefan Kost <ensonic@users.sf.net>
2630 * docs/gst/gstreamer-docs.sgml:
2631 * docs/gst/gstreamer-sections.txt:
2632 * docs/gst/gstreamer.types:
2633 * docs/gst/tmpl/.cvsignore:
2634 * gst/gstbin.h:
2635 * gst/gstbus.c:
2636 * gst/gstelement.c:
2637 * gst/gstevent.h:
2638 added 100 symbols from gstreamer-unused.txt to the right sections
2639 fixed more broken comments
2640 added GstBus to docs
2642 2005-08-23 Stefan Kost <ensonic@users.sf.net>
2644 * docs/gst/gstreamer-sections.txt:
2645 * docs/gst/tmpl/.cvsignore:
2646 * docs/gst/tmpl/gstbin.sgml:
2647 * docs/gst/tmpl/gstbuffer.sgml:
2648 * gst/base/gstbasesrc.c:
2649 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
2650 * gst/gstbuffer.c:
2651 * gst/gstbuffer.h:
2652 * tools/gst-launch.1.in:
2653 inlined more doc comments, added missing comments and fixed comments
2654 fixed typos
2656 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
2658 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
2659 some debugging
2660 * gst/gstcaps.h:
2661 whitespace fixes
2662 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
2663 more debugging
2664 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
2665 * gst/gststructure.h:
2666 add a fixate function for booleans; add a FIXME that these func
2667 names should probably be gst_structure_fixate_*
2669 2005-08-23 Stefan Kost <ensonic@users.sf.net>
2671 * docs/gst/gstreamer-docs.sgml:
2672 * docs/gst/gstreamer-sections.txt:
2673 * gst/Makefile.am:
2674 * gst/gstbin.c: (gst_bin_get_type),
2675 (gst_bin_child_proxy_get_child_by_index),
2676 (gst_bin_child_proxy_get_children_count),
2677 (gst_bin_child_proxy_init):
2678 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
2679 (gst_child_proxy_get_child_by_index),
2680 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
2681 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
2682 (gst_child_proxy_get), (gst_child_proxy_set_property),
2683 (gst_child_proxy_set_valist), (gst_child_proxy_set),
2684 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
2685 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
2686 * gst/gstchildproxy.h:
2687 * gst/parse/grammar.y:
2688 * tools/gst-inspect.c: (print_interfaces),
2689 (print_element_properties_info), (print_element_info):
2690 ported gstchildproxy over from 0.8
2691 ported gst-inspect fixes and enhancements over from 0.8
2693 2005-08-22 Wim Taymans <wim@fluendo.com>
2695 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
2696 (gst_base_transform_handle_buffer):
2697 Also call the transform function if we have ANY caps.
2699 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
2700 Fix debug info.
2702 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
2704 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
2705 Don't pretend to handle seek events if the source is not seekable
2707 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
2709 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2710 Remove extra parameter to debug output
2712 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
2713 (gst_base_src_do_seek), (gst_base_src_activate_push):
2714 Fix seek event handling.
2716 * gst/gstpipeline.c: (gst_pipeline_change_state):
2717 * gst/gstqueue.c: (gst_queue_handle_sink_event),
2718 (gst_queue_src_activate_push):
2719 Don't start the src pad task on FLUSH_STOP if the pad
2720 isn't linked.
2721 Debug changes.
2723 2005-08-22 Wim Taymans <wim@fluendo.com>
2725 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
2726 Added check for gst_static_caps_get() refcounting.
2728 2005-08-22 Wim Taymans <wim@fluendo.com>
2730 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
2731 Make _static_caps_get() refcounting sane.
2733 * gst/gstelement.c: (gst_element_set_state):
2734 Add g_return_val_if_fail() to protect against segfaults.
2736 2005-08-22 Stefan Kost <ensonic@users.sf.net>
2738 * docs/gst/tmpl/gstevent.sgml:
2739 * gst/gstevent.c:
2740 * gst/gstevent.h:
2741 inlined remaining docs, added missing doc comments
2743 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
2745 * check/gst/gstbin.c: (GST_START_TEST):
2746 since we don't know when preroll is done, use refcount range
2747 check for the sink
2748 * gst/check/gstcheck.h:
2749 add macro for checking refcount range
2751 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
2753 * check/Makefile.am:
2754 clean up environment for when registry gets built versus
2755 when actual tests are run; valgrind seems to not report
2756 leaks if GST_PLUGIN_PATH is set to some specific values
2757 * check/gst/gstbin.c: (GST_START_TEST):
2758 add more refcounting checks; maybe this exposes a
2759 preroll lock bug ?
2760 * common/check.mak:
2761 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2762 * gst/check/gstcheck.h:
2763 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
2764 (gst_bin_change_state):
2765 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
2766 add/fix debugging/whitespace
2768 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
2770 * check/gst/gstevent.c: (event_probe), (test_event),
2771 (GST_START_TEST):
2772 Er, don't call gst_bin_watch_for_state_change you idiot.
2774 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
2776 * check/Makefile.am:
2777 Use CHECK_CFLAGS and CHECK_LIBS
2778 * check/gst/gstevent.c: (event_probe), (test_event),
2779 (GST_START_TEST):
2780 Don't leak events.
2781 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
2782 (gst_base_src_start), (gst_base_src_stop),
2783 (gst_base_src_activate_push), (gst_base_src_activate_pull),
2784 (gst_base_src_change_state):
2785 Sprinkle gst_base_src_stop liberally around error paths to fix
2786 problems reusing a source after failed state changes.
2787 * gst/base/gsttypefindhelper.c: (helper_find_peek),
2788 (helper_find_suggest), (gst_type_find_helper):
2789 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
2790 * gst/gstevent.h:
2791 * docs/gst/tmpl/gstevent.sgml:
2792 Migrate part of the docs from the SGML file. Wait for ensonic to
2793 tell me how I did it wrong ;)
2794 * tools/gst-typefind.c: (main):
2795 Extra robustness to state changes between files.
2797 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
2799 * check/Makefile.am:
2800 don't valgrind the controller test - it's leaking - Stefan, HELP
2801 * gst/check/gstcheck.c: (gst_check_message_error),
2802 (gst_check_chain_func), (gst_check_setup_element),
2803 (gst_check_teardown_element), (gst_check_setup_src_pad),
2804 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2805 (gst_check_teardown_sink_pad):
2806 * gst/check/gstcheck.h:
2807 add a bunch of methods to set up elements, and src and sink pads
2808 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
2809 * check/elements/identity.c: (setup_identity), (cleanup_identity),
2810 (GST_START_TEST):
2811 use them
2812 * gst/gstmessage.c:
2813 * gst/gsttag.h:
2814 whitespace/doc fixes
2816 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
2818 * gst/gstelement.h:
2819 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
2820 be handled by the application and not always printed as well
2822 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
2824 * check/Makefile.am:
2825 set GST_TOOLS_DIR
2826 * gst/check/gstcheck.c: (gst_check_message_error):
2827 * gst/check/gstcheck.h:
2828 add a fail_unless_equals_int
2829 add fail_unless for error messages
2831 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
2833 * check/Makefile.am:
2834 * check/gst.supp:
2835 * common/Makefile.am:
2836 * common/check.mak:
2837 * common/gst.supp:
2838 factor out some of the common stuff so we can use it
2840 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
2842 * check/Makefile.am:
2843 * check/gst/gstiterator.c: (GST_START_TEST):
2844 * check/gst/gstsystemclock.c: (GST_START_TEST),
2845 (gst_systemclock_suite):
2846 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
2847 * gst/gstclock.c:
2848 valgrind more tests
2850 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
2852 * check/elements/.cvsignore:
2853 * check/elements/gstfakesrc.c:
2854 rename to name of element
2855 * check/elements/identity.c: (chain_func), (event_func),
2856 (setup_identity), (cleanup_identity), (GST_START_TEST),
2857 (identity_suite), (main):
2858 add a test for identity
2859 * check/Makefile.am:
2860 * pkgconfig/Makefile.am:
2861 * pkgconfig/gstreamer-check.pc.in:
2862 * pkgconfig/gstreamer-check-uninstalled.pc.in:
2863 * gst/check:
2864 * gst/Makefile.am:
2865 * configure.ac:
2866 move the check stuff to a library that gets installed
2867 * check/gst-libs/controller.c: (GST_START_TEST):
2868 * check/gst-libs/gdp.c:
2869 * check/gst/gst.c: (GST_START_TEST):
2870 * check/gst/gstbin.c:
2871 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
2872 * check/gst/gstbus.c:
2873 * check/gst/gstcaps.c: (GST_START_TEST):
2874 * check/gst/gstelement.c:
2875 * check/gst/gstghostpad.c:
2876 * check/gst/gstiterator.c:
2877 * check/gst/gstmessage.c:
2878 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
2879 * check/gst/gstobject.c:
2880 * check/gst/gstpad.c: (GST_START_TEST):
2881 * check/gst/gststructure.c: (GST_START_TEST):
2882 * check/gst/gstsystemclock.c: (GST_START_TEST),
2883 (gst_systemclock_suite):
2884 * check/gst/gsttag.c: (gst_tag_suite):
2885 * check/gst/gstvalue.c:
2886 * check/pipelines/cleanup.c:
2887 * check/pipelines/simple_launch_lines.c:
2888 * check/states/sinks.c:
2889 change include statement
2891 * docs/gst/gstreamer-sections.txt:
2892 * docs/gst/tmpl/gstpad.sgml:
2893 document more pad stuff
2894 * gst/gstminiobject.c: (gst_mini_object_ref),
2895 (gst_mini_object_unref):
2896 debug refcounting
2898 2005-08-19 Stefan Kost <ensonic@users.sf.net>
2900 * docs/gst/tmpl/gst.sgml:
2901 * gst/gst.c:
2902 eliminate another tmpl file, fix spelling in the long-description
2904 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
2906 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
2907 (test_event), (timediff), (gstevents_suite):
2908 Should fix build on 64-bit arch's
2910 2005-08-18 Andy Wingo <wingo@pobox.com>
2912 Make sure that when a pipeline goes to PLAYING, that data has
2913 actually hit the sink.
2915 * check/states/sinks.c (test_sink): A sink that doesn't get any
2916 data shouldn't return SUCCESS for going to either PLAYING or
2917 PAUSED. Test also the return values on the way back down.
2919 * gst/gstelement.c (gst_element_set_state): When changing the
2920 state of an element currently changing state asynchronously, go to
2921 lost-state after commiting the pending state. Makes future calls
2922 to get_state continue to return ASYNC.
2924 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
2925 ASYNC when going to PLAYING if we still don't have preroll, as can
2926 happen with live sources.
2928 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
2930 * docs/pwg/advanced-types.xml:
2931 Hack long paragraph into 2 chunks as a workaround for buggy
2932 jadetex version in sid and breezy that loops infinitely and
2933 eats all RAM.
2935 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
2937 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
2938 (test_event), (timediff), (gstevents_suite):
2939 Provide more error margin in clock measurements to allow for
2940 g_get_current_time inaccuracies.
2942 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
2944 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
2945 (test_event), (timediff), (gstevents_suite):
2946 Fix error message output so I might be able to tell why the
2947 test works here but fails on the build farm.
2949 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
2951 * check/Makefile.am:
2952 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
2953 (test_event), (timediff), (gstevents_suite), (main):
2954 I wrote a test!
2956 * docs/design/part-seeking.txt:
2957 Spelling correction
2959 * docs/gst/tmpl/gstevent.sgml:
2960 * docs/gst/tmpl/gstfakesrc.sgml:
2961 Docs updates.
2963 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2964 Treat a buffer-without-newsegment the same as a receiving
2965 a newsegment not in time format, and disable syncing to the clock
2966 with a warning.
2968 * gst/gstbus.c: (gst_bus_set_sync_handler):
2969 Assert if anyone tries to replace the existing sync_handler for bus,
2970 as only the owner should be setting it.
2972 * gst/gstevent.h:
2973 Have a fixed set of custom event enums with events identified by
2974 their structure name (as in 0.8), rather than a free-for-all
2975 allowing collisions between enum values from different plugins.
2977 * gst/gstpad.c: (gst_pad_class_init):
2978 Docs change.
2980 * gst/gstqueue.c: (gst_queue_handle_sink_event):
2981 Handle out-of-band downstream events from the sending thread.
2983 2005-08-17 Andy Wingo <wingo@pobox.com>
2985 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
2986 play-timeout==0 to mean no timeout at all. In that case, don't
2987 bother with a get_state or a warning, just return directly, even
2988 if it's ASYNC.
2990 * gst/base/gstbasetransform.c: Debug changes.
2992 * gst/gstutils.h:
2993 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
2994 ensure bins post state change messages. A bit of a hack but I can't
2995 think of a way to avoid it.
2997 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
2999 2005-08-16 Andy Wingo <wingo@pobox.com>
3001 * gst/base/gstadapter.h:
3002 * gst/base/gstadapter.c (gst_adapter_take): New function, like
3003 peek() but you own the data. Not terribly efficient atm.
3005 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3007 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
3008 (gst_element_found_tags):
3009 * gst/gstutils.h:
3010 Add two utility functions for tag handling.
3012 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3014 * docs/manual/advanced-dataaccess.xml:
3015 * docs/manual/basics-helloworld.xml:
3016 Fix docs to use _bin_add() before _link(), which fixes the examples
3017 with recent core versions (reported by Madhan Raj M
3018 <raj_madan@rediffmail.com>, #313199).
3020 2005-08-16 Wim Taymans <wim@fluendo.com>
3022 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3023 Added subtract checks.
3025 * docs/design/part-events.txt:
3026 Some more docs about newsegment
3028 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
3029 Fix FIXME
3031 * gst/gstcaps.c: (gst_caps_to_string):
3032 Add comments, cleanups.
3034 * gst/gstelement.c: (gst_element_save_thyself):
3035 cleanups
3037 * gst/gstvalue.c: (gst_value_collect_int_range),
3038 (gst_string_unwrap), (gst_value_union_int_int_range),
3039 (gst_value_union_int_range_int_range),
3040 (gst_value_intersect_int_int_range),
3041 (gst_value_intersect_int_range_int_range),
3042 (gst_value_intersect_double_double_range),
3043 (gst_value_intersect_double_range_double_range),
3044 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
3045 (gst_value_subtract_int_range_int),
3046 (gst_value_subtract_double_range_double),
3047 (gst_value_subtract_double_range_double_range),
3048 (gst_value_subtract_from_list), (gst_value_subtract_list),
3049 (gst_value_can_compare), (gst_value_compare_fraction):
3050 Cleanups, add comments, remove unneeded asserts.
3052 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
3054 * tools/gst-launch.c: (event_loop):
3055 don't convert NULL structures to strings
3057 2005-08-15 Stefan Kost <ensonic@users.sf.net>
3059 * docs/gst/gstreamer-sections.txt:
3060 made some defines private
3061 * docs/gst/tmpl/gstconfig.sgml:
3062 * docs/gst/tmpl/gstqueue.sgml:
3063 * docs/gst/tmpl/gsttaglist.sgml:
3064 * docs/gst/tmpl/gsttypes.sgml:
3065 * docs/gst/tmpl/gstutils.sgml:
3066 * docs/pwg/appendix-porting.xml:
3067 * gst/base/gstbasesink.h:
3068 * gst/base/gstbasesrc.c:
3069 * gst/base/gstbasesrc.h:
3070 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
3071 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
3072 * gst/gstelement.c: (gst_element_class_init):
3073 * gst/gstpad.c: (gst_pad_class_init):
3074 * gst/gstqueue.c: (gst_queue_class_init):
3075 * gst/gstxml.c: (gst_xml_class_init):
3076 documented all undocumented signal inline
3077 * libs/gst/controller/gst-controller.h:
3078 added padding
3080 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3082 * docs/pwg/appendix-porting.xml:
3083 Document _set_link_function -> _set_setcaps_function.
3085 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
3087 * check/Makefile.am:
3088 add a .check target for running the check
3089 * check/gst-libs/controller.c: (GST_START_TEST):
3090 cosmetic fixups
3091 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
3092 complete checks for gstbuffer; would be nice if I could get the
3093 gcov stuff to work so I can see if I actually completed gstbuffer.c
3094 * check/gstcheck.h:
3095 add ASSERT_BUFFER_REFCOUNT
3097 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
3099 * docs/gst/gstreamer-sections.txt:
3100 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
3101 * gst/gsttag.h:
3102 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
3103 spew out a warning if a tag that is already registered
3104 is re-registered, unless it is re-registered with a
3105 different type (#308438).
3107 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
3109 * docs/pwg/appendix-porting.xml:
3110 * docs/pwg/building-state.xml:
3111 Add some paragraphs about state changes in 0.9 to the PWG
3112 and the porting guide, in particular about the new meaning
3113 of GST_STATE_PAUSED and how to write state change functions
3114 with concurrent access by multiple threads in mind.
3116 2005-08-11 Stefan Kost <ensonic@users.sf.net>
3118 * docs/gst/gstreamer-docs.sgml:
3119 * docs/libs/gstreamer-libs-docs.sgml:
3120 added deprecation and since indexes
3121 * libs/gst/controller/gst-controller.c:
3122 * libs/gst/controller/gst-helper.c:
3123 added since tags
3126 2005-08-11 Wim Taymans <wim@fluendo.com>
3128 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
3129 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
3130 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
3131 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
3132 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
3133 (gst_ghost_pad_set_target):
3134 Actually implement (re)setting the target on a ghostpad
3135 as described in the docs.
3137 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
3139 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
3140 Check whether GST_DEBUG_NO_COLOR environment variable is
3141 set and disable coloured debug output if that is the case.
3143 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
3145 * gst/base/gsttypefindhelper.c: (helper_find_peek),
3146 (gst_type_find_helper):
3147 The memory returned by gst_type_find_peek() needs to
3148 stay valid until the end of a typefind function, and
3149 typefind functions may keep results from different
3150 offsets around, so we can't just unref the buffer from
3151 the previous _peek(), but have to save all buffers
3152 returned by _peek() until typefinding is done and only
3153 free them then.
3155 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
3157 * docs/gst/gstreamer-sections.txt:
3158 * gst/gstutils.h:
3159 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
3161 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3163 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
3164 Fix a pretty good memleak.
3166 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
3168 * gst/gstiterator.h:
3169 Fix wrong include and 'make distcheck'.
3171 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3173 * gst/gstbin.c: (bin_bus_handler):
3174 Use gst_element_post_message() instead.
3176 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
3178 * gst/base/gstadapter.h:
3179 * gst/base/gstbasesink.h:
3180 * gst/base/gstbasesrc.h:
3181 * gst/base/gstbasetransform.h:
3182 * gst/base/gstcollectpads.h:
3183 * gst/base/gstpushsrc.h:
3184 * gst/gstiterator.h:
3185 Add padding to our base elements' class and instance structs and
3186 to GstIterator (you will need to rebuild all plugins and apps!)
3188 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3190 * gst/gstbin.c: (bin_bus_handler):
3191 Make default message forwarding from child->bus to bin->bus
3192 threadsafe and make it not emit warnings if the parent has no bus.
3194 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3196 * gst/gstelement.c: (activate_pads):
3197 On paused->ready, set pad->caps to NULL, as is the documented
3198 behaviour in this state change. Fixes playback of series of
3199 media files when visualization is enabled in Totem.
3201 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3203 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
3204 Allow NULL as filter-caps (which means "any").
3206 2005-08-05 Stefan Kost <ensonic@users.sf.net>
3208 * docs/libs/gstreamer-libs-sections.txt:
3209 * libs/gst/controller/gst-controller.c:
3210 * libs/gst/controller/gst-controller.h:
3211 * libs/gst/controller/gst-helper.c:
3212 adding more entries to the docs and fix small doc-bugs
3214 2005-08-05 Stefan Kost <ensonic@users.sf.net>
3216 * docs/gst/gstreamer-docs.sgml:
3217 * docs/gst/gstreamer-sections.txt:
3218 * docs/gst/gstreamer.types:
3219 * docs/gst/tmpl/gstbasesink.sgml:
3220 * docs/gst/tmpl/gstbasesrc.sgml:
3221 * docs/gst/tmpl/gstbasetransform.sgml:
3222 * docs/gst/tmpl/gstfakesrc.sgml:
3223 * gst/base/gstcollectpads.c:
3224 * gst/base/gstcollectpads.h:
3225 * libs/gst/controller/gst-controller.c:
3226 * libs/gst/controller/gst-controller.h:
3227 * libs/gst/controller/gst-helper.c:
3228 * libs/gst/controller/gst-interpolation.c:
3229 * libs/gst/controller/lib.c:
3230 added long/short desc for controller docs
3231 added collectpads base class docs
3232 added correct includes to base-class docs
3234 2005-08-05 Stefan Kost <ensonic@users.sf.net>
3236 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
3237 (gst_test_mono_source_set_property),
3238 (gst_test_mono_source_class_init), (GST_START_TEST),
3239 (gst_controller_suite):
3240 * docs/gst/gstreamer-docs.sgml:
3241 * docs/gst/gstreamer-sections.txt:
3242 * docs/gst/gstreamer.types:
3243 * docs/libs/gstreamer-libs-docs.sgml:
3244 * docs/libs/gstreamer-libs-sections.txt:
3245 * gst/base/gstadapter.c:
3246 * libs/gst/controller/gst-controller.c:
3247 (gst_controlled_property_new), (gst_controlled_property_free),
3248 (gst_controller_new_valist),
3249 (gst_controller_remove_properties_valist),
3250 (gst_controller_sink_values), (_gst_controller_finalize):
3251 * libs/gst/controller/gst-controller.h:
3252 * libs/gst/controller/gst-helper.c:
3253 (gst_object_control_properties), (gst_object_uncontrol_properties),
3254 (gst_object_get_controller), (gst_object_set_controller),
3255 (gst_object_sink_values), (gst_object_get_value_arrays),
3256 (gst_object_get_value_array):
3257 more tests (and fixes) for the controller
3258 more docs for the controller
3259 integrated companies docs for the adapter
3261 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
3263 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
3264 (GST_START_TEST), (fakesrc_suite):
3265 add tests for sizetype
3267 2005-08-04 Andy Wingo <wingo@pobox.com>
3269 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
3270 fixes buffer_alloc proxying among other things.
3272 * gst/base/gstbasetransform.c:
3273 * gst/base/gstbasetransform.h:
3274 Revert patch to gstbasetransform from 7-28 removing
3275 delay_configure.
3277 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
3278 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
3279 Semantics changed, should return not the size of the output buffer
3280 but the byte size of a buffer with a given caps.
3282 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
3283 debug object.
3284 (gst_base_transform_configure_caps): Don't set out_size here: (in,
3285 out) are not the pad caps until setcaps finishes.
3286 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
3287 not-in-place case as well. Deal with changing from in-place to
3288 not-in-place within calling pad_alloc_buffer. Still a bit
3289 concerned about the overhead here...
3291 2005-08-03 Andy Wingo <wingo@pobox.com>
3293 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
3294 fixating is an error.
3296 2005-08-04 Edward Hervey <edward@fluendo.com>
3298 * gst/base/gstadapter.h:
3299 Added gst_adapter_get_type() to the header
3301 2005-08-03 Stefan Kost <ensonic@users.sf.net>
3303 * check/Makefile.am:
3304 * check/gst-libs/controller.c:
3305 * libs/gst/controller/gst-controller.c:
3306 (gst_controller_new_valist):
3307 added check test suite for the controller
3308 * gst/base/gstpushsrc.c:
3309 fixed a doc typo
3311 2005-08-03 Stefan Kost <ensonic@users.sf.net>
3313 * docs/gst/Makefile.am:
3314 * docs/gst/gstreamer-docs.sgml:
3315 * docs/gst/gstreamer-sections.txt:
3316 * docs/gst/gstreamer.types:
3317 * docs/gst/tmpl/gstfakesrc.sgml:
3318 * gst/base/README:
3319 * gst/base/gstbasesink.c:
3320 * gst/base/gstbasesink.h:
3321 * gst/base/gstbasesrc.c:
3322 * gst/base/gstbasesrc.h:
3323 * gst/base/gstbasetransform.c:
3324 * gst/base/gstpushsrc.c:
3325 * gst/base/gstpushsrc.h:
3326 add short/long description docs to base classes
3327 add pushsrc to the docs
3328 remove consolidated doc fragments
3330 2005-08-03 Stefan Kost <ensonic@users.sf.net>
3332 * configure.ac:
3333 * docs/libs/Makefile.am:
3334 * docs/libs/gstreamer-libs-docs.sgml:
3335 * docs/libs/gstreamer-libs-sections.txt:
3336 * docs/libs/gstreamer-libs.types:
3337 * examples/Makefile.am:
3338 * examples/controller/.cvsignore:
3339 * examples/controller/Makefile.am:
3340 * examples/controller/audio-example.c: (main):
3341 * libs/gst/Makefile.am:
3342 * libs/gst/controller/.cvsignore:
3343 * libs/gst/controller/Makefile.am:
3344 * libs/gst/controller/gst-controller.c:
3345 (on_object_controlled_property_changed), (gst_timed_value_compare),
3346 (gst_timed_value_find),
3347 (gst_controlled_property_set_interpolation_mode),
3348 (gst_controlled_property_new), (gst_controlled_property_free),
3349 (gst_controller_find_controlled_property),
3350 (gst_controller_new_valist), (gst_controller_new),
3351 (gst_controller_remove_properties_valist),
3352 (gst_controller_remove_properties), (gst_controller_set),
3353 (gst_controller_set_from_list), (gst_controller_unset),
3354 (gst_controller_get), (gst_controller_get_all),
3355 (gst_controller_sink_values), (gst_controller_get_value_arrays),
3356 (gst_controller_get_value_array),
3357 (gst_controller_set_interpolation_mode),
3358 (_gst_controller_finalize), (_gst_controller_init),
3359 (_gst_controller_class_init), (gst_controller_get_type):
3360 * libs/gst/controller/gst-controller.h:
3361 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
3362 (g_object_uncontrol_properties), (g_object_get_controller),
3363 (g_object_set_controller), (g_object_sink_values),
3364 (g_object_get_value_arrays), (g_object_get_value_array):
3365 * libs/gst/controller/gst-interpolation.c:
3366 (gst_controlled_property_find_timed_value_node),
3367 (interpolate_none_get), (interpolate_trigger_get),
3368 (interpolate_trigger_get_value_array):
3369 * libs/gst/controller/lib.c: (gst_controller_init):
3370 * pkgconfig/Makefile.am:
3371 * pkgconfig/gstreamer-control-uninstalled.pc.in:
3372 * pkgconfig/gstreamer-control.pc.in:
3373 * testsuite/Makefile.am:
3374 * testsuite/controller/.cvsignore:
3375 * testsuite/controller/Makefile.am:
3376 * testsuite/controller/interpolator.c: (main):
3377 added controller code
3378 removed dparam pc files
3380 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
3381 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
3382 (gst_collectpads_stop):
3383 Broadcast the condition when shutting down, to make sure we wake all
3384 threads up. Shut down pads on finalize, for safety.
3386 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
3387 * gst/base/gstbasetransform.c: (gst_base_transform_init),
3388 (gst_base_transform_handle_buffer),
3389 (gst_base_transform_change_state):
3390 Handle PAUSED->READY->PAUSED transition after negotiation
3391 occurred already.
3392 * gst/gstmessage.c: (gst_message_init):
3393 Extra piece of debug for new messages.
3395 2005-08-01 Stefan Kost <ensonic@users.sf.net>
3397 * configure.ac:
3398 * docs/gst/tmpl/gstbasesrc.sgml:
3399 * docs/gst/tmpl/gstelement.sgml:
3400 * docs/gst/tmpl/gstevent.sgml:
3401 * docs/gst/tmpl/gstfakesrc.sgml:
3402 * docs/gst/tmpl/gstformat.sgml:
3403 * docs/gst/tmpl/gstghostpad.sgml:
3404 * docs/gst/tmpl/gstpad.sgml:
3405 * docs/gst/tmpl/gstquery.sgml:
3406 * docs/gst/tmpl/gststructure.sgml:
3407 * docs/gst/tmpl/gsttaglist.sgml:
3408 * docs/gst/tmpl/gstvalue.sgml:
3409 * docs/libs/gstreamer-libs-docs.sgml:
3410 * docs/libs/gstreamer-libs-sections.txt:
3411 * docs/libs/gstreamer-libs.types:
3412 * libs/gst/Makefile.am:
3413 * libs/gst/control/.cvsignore:
3414 * libs/gst/control/Makefile.am:
3415 * libs/gst/control/control.c:
3416 * libs/gst/control/control.h:
3417 * libs/gst/control/dparam.c:
3418 * libs/gst/control/dparam.h:
3419 * libs/gst/control/dparam_smooth.c:
3420 * libs/gst/control/dparam_smooth.h:
3421 * libs/gst/control/dparamcommon.h:
3422 * libs/gst/control/dparammanager.c:
3423 * libs/gst/control/dparammanager.h:
3424 * libs/gst/control/dplinearinterp.c:
3425 * libs/gst/control/dplinearinterp.h:
3426 * libs/gst/control/unitconvert.c:
3427 * libs/gst/control/unitconvert.h:
3428 * testsuite/Makefile.am:
3429 * testsuite/dynparams/.cvsignore:
3430 * testsuite/dynparams/Makefile.am:
3431 * testsuite/dynparams/dparamstest.c:
3432 * tools/Makefile.am:
3433 * tools/gst-inspect.c: (print_element_info), (main):
3434 * tools/gst-xmlinspect.c: (print_element_info), (main):
3435 deactivate and remove dparams (libgstcontrol)
3437 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
3439 * gst/elements/gsttypefindelement.c:
3440 (gst_type_find_element_have_type), (gst_type_find_element_init),
3441 (stop_typefinding), (gst_type_find_element_handle_event),
3442 (gst_type_find_element_chain), (gst_type_find_element_getrange):
3443 * gst/elements/gsttypefindelement.h:
3444 Set caps on all outgoing buffers, not just the first one.
3446 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
3448 * gst/elements/gsttypefindelement.c:
3449 (gst_type_find_element_have_type),
3450 (gst_type_find_element_check_set_buffer_caps),
3451 (gst_type_find_element_init), (stop_typefinding),
3452 (gst_type_find_element_handle_event),
3453 (gst_type_find_element_chain), (gst_type_find_element_getrange):
3454 * gst/elements/gsttypefindelement.h:
3455 Set caps on first outgoing buffer when we've found the type.
3457 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
3459 * docs/gst/gstreamer-docs.sgml:
3460 * docs/gst/gstreamer-sections.txt:
3461 * docs/gst/tmpl/gstscheduler.sgml:
3462 * docs/gst/tmpl/gstschedulerfactory.sgml:
3463 Remove some old cruft from docs.
3465 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
3467 * gst/gstpad.h:
3468 Fix inline docs for GstPadLinkReturn.
3470 * gst/gststructure.c: (gst_structure_has_name):
3471 * gst/gststructure.h:
3472 * docs/gst/gstreamer-sections.txt:
3473 New API: gst_structure_has_name().
3475 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
3477 * configure.ac:
3478 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
3479 and _LARGEFILE_SOURCE in config.h as required. Do not
3480 export those flags in our .pc files any longer (#142209).
3482 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
3484 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
3485 (gst_file_sink_do_seek), (gst_file_sink_event),
3486 (gst_file_sink_get_current_offset), (gst_file_sink_render):
3487 Redo seek/tell calls with large file support in mind; add some
3488 debugging messages; add log message that tells us when large
3489 file support is unavailable or not enabled for some reason.
3491 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
3492 Add log message that tells us when large file support
3493 is unavailable or not enabled for some reason.
3495 2005-07-29 Wim Taymans <wim@fluendo.com>
3497 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
3498 Added test for removing an element with ghostpad from a bin.
3499 Fixed test as current implementation does the right thing.
3501 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
3502 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
3503 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
3504 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
3505 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
3506 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
3507 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
3508 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
3509 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
3510 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
3511 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
3512 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
3513 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
3514 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
3515 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
3516 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
3517 * gst/gstghostpad.h:
3518 Clean up ghostpads, remove properties for internal stuff.
3519 Make threadsafe.
3520 Fix refcounting.
3521 Prepare for switching targets, not all use cases work yet.
3523 2005-07-29 Wim Taymans <wim@fluendo.com>
3525 * docs/design/part-gstghostpad.txt:
3526 Small update.
3528 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
3529 (gst_bin_remove_func):
3530 Unlinking pads while holding the bin LOCK is not a good
3531 idea.
3533 * gst/gstpad.c: (gst_pad_class_init),
3534 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
3535 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
3536 No prob setting template after creating the pad.
3538 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
3540 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
3541 (gst_bus_peek), (gst_bus_source_dispatch),
3542 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
3543 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
3544 gst_bus_poll may be called from other threads. Handle
3545 this nicely by not making poll_data disappear off the
3546 stack once gst_bus_poll returns.
3547 gst_bus_peek now increments the refcount on the returned
3548 message.
3550 2005-07-29 Wim Taymans <wim@fluendo.com>
3552 * docs/design/part-gstghostpad.txt:
3553 Overview of current GhostPad datastructures and use
3554 cases for changing the target.
3556 2005-07-28 Wim Taymans <wim@fluendo.com>
3558 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
3559 Added checks for hierarchy consistency whan adding linked
3560 elements to bins.
3562 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
3563 Added check to test element scheduling without bin/pipeline.
3565 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
3566 First add elements to bin, then link.
3568 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
3569 (gst_bin_remove_func):
3570 Unlink pads from elements added/removed from bin to maintain
3571 hierarchy consistency.
3573 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3575 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
3576 (gst_base_transform_handle_buffer):
3577 * gst/base/gstbasetransform.h:
3578 Remove broken delay_configure (fixes renegotiation of software
3579 scaling pipelines); remove some leftover printf()s.
3581 2005-07-28 Wim Taymans <wim@fluendo.com>
3583 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
3584 Added some more tests for wrong hierarchy
3586 * docs/design/part-overview.txt:
3587 Some updates.
3589 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
3590 Cleanups.
3592 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
3593 (gst_element_dispose):
3594 Some more cleanups.
3596 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
3597 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
3598 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
3599 (gst_pad_set_caps), (gst_pad_send_event):
3600 Check for correct hierarchy when linking pads. Moving to
3601 strict requirement for ghostpads when linking elements in
3602 different bins.
3604 * gst/gstpad.h:
3605 Clean ups. Added WRONG_HIERARCHY return value.
3607 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3609 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
3610 Better debug if no transform is possible.
3612 2005-07-27 Wim Taymans <wim@fluendo.com>
3614 * docs/random/wtay/network-transp:
3615 Some old doc I had.
3617 2005-07-27 Wim Taymans <wim@fluendo.com>
3619 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
3620 (gst_dp_event_from_packet):
3621 Fix serialization of seek events.
3623 2005-07-27 Wim Taymans <wim@fluendo.com>
3625 * check/gst-libs/gdp.c: (GST_START_TEST):
3626 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
3627 Fix compilation and fix event serialization.
3629 2005-07-27 Wim Taymans <wim@fluendo.com>
3631 * CHANGES-0.9:
3632 * docs/design/part-TODO.txt:
3633 * docs/design/part-events.txt:
3634 Some docs updates
3636 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3637 (gst_base_sink_event), (gst_base_sink_do_sync),
3638 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
3639 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
3640 (gst_base_src_do_seek), (gst_base_src_event_handler),
3641 (gst_base_src_loop):
3642 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
3643 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
3644 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
3645 (gst_base_transform_event), (gst_base_transform_handle_buffer),
3646 (gst_base_transform_set_passthrough),
3647 (gst_base_transform_is_passthrough):
3648 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
3649 * gst/elements/gstfilesink.c: (gst_file_sink_event):
3650 Event updates.
3652 * gst/gstbuffer.h:
3653 Use faster casts.
3655 * gst/gstelement.c: (gst_element_seek):
3656 * gst/gstelement.h:
3657 Update gst_element_seek.
3659 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
3660 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
3661 (gst_event_new_flush_start), (gst_event_new_flush_stop),
3662 (gst_event_new_eos), (gst_event_new_newsegment),
3663 (gst_event_parse_newsegment), (gst_event_new_tag),
3664 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
3665 (gst_event_parse_qos), (gst_event_new_seek),
3666 (gst_event_parse_seek), (gst_event_new_navigation):
3667 * gst/gstevent.h:
3668 Make GstEvent use GstStructure. Add parsing code, make sure the
3669 API is sufficiently generic.
3670 Mark possible directions of events and serialization.
3672 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
3673 (_gst_message_copy), (gst_message_new_segment_start),
3674 (gst_message_new_segment_done), (gst_message_new_custom),
3675 (gst_message_parse_segment_start),
3676 (gst_message_parse_segment_done):
3677 Small cleanups.
3679 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
3680 (gst_pad_set_caps), (gst_pad_send_event):
3681 Update for new events.
3682 Catch events sent in wrong directions.
3684 * gst/gstqueue.c: (gst_queue_link_src),
3685 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
3686 (gst_queue_handle_src_query):
3687 Event updates.
3689 * gst/gsttag.c:
3690 * gst/gsttag.h:
3691 Remove event code from this file.
3693 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
3694 (gst_dp_event_from_packet):
3695 Event updates.
3697 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3699 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
3700 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
3701 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
3702 Make debugging actually useful.
3704 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3706 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
3707 (gst_pad_fixate_caps):
3708 Implement default fixation once again, so that gst_pad_fixate()
3709 actually does anything at all. This probably needs to be some
3710 sort of a last resort, and use profile-based fixation first, but
3711 since that doesn't exist yet, this is the best we have. Fixes
3712 visualization in Totem.
3714 2005-07-22 Wim Taymans <wim@fluendo.com>
3716 * docs/design/part-events.txt:
3717 Small update.
3719 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3720 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
3721 (gst_base_sink_activate_pull):
3722 Some more comments.
3724 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
3725 (gst_fake_src_create):
3726 Fix handoff marshall.
3728 * gst/elements/gstidentity.c: (gst_identity_class_init),
3729 (gst_identity_transform_ip):
3730 We're a real inplace element.
3732 * gst/gstbus.c: (gst_bus_post):
3733 Added some comments.
3735 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
3736 * tests/muxing/case1.c: (main):
3737 * tests/sched/dynamic-pipeline.c: (main):
3738 * tests/sched/interrupt1.c: (main):
3739 * tests/sched/interrupt2.c: (main):
3740 * tests/sched/interrupt3.c: (main):
3741 * tests/sched/runxml.c: (main):
3742 * tests/sched/sched-stress.c: (main):
3743 * tests/seeking/seeking1.c: (event_received), (main):
3744 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
3745 (main):
3746 * tests/threadstate/threadstate3.c: (main):
3747 * tests/threadstate/threadstate4.c: (main):
3748 * tests/threadstate/threadstate5.c: (main):
3749 Fix the tests.
3751 2005-07-21 Wim Taymans <wim@fluendo.com>
3753 * docs/design/part-seeking.txt:
3754 Some small additions.
3756 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3757 (gst_base_sink_get_times), (gst_base_sink_do_sync),
3758 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
3759 * gst/base/gstbasesink.h:
3760 discont values are gint64, handle the math correctly.
3762 * gst/base/gstbasesrc.c: (gst_base_src_loop):
3763 Make the basesrc report error if the source pad is not linked.
3765 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
3766 (gst_queue_loop), (gst_queue_handle_src_query),
3767 (gst_queue_src_activate_push):
3768 Make queue collect data even if the srcpad is not linked.
3769 Start pushing out data as soon as it is linked.
3771 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
3772 * gst/gstutils.h:
3773 Added gst_flow_get_name() to ease error reporting.
3775 2005-07-20 Wim Taymans <wim@fluendo.com>
3777 * gst/gstmessage.c: (gst_message_new_segment_start),
3778 (gst_message_new_segment_done), (gst_message_parse_segment_start),
3779 (gst_message_parse_segment_done):
3780 * gst/gstmessage.h:
3781 Added a bunch of messages for advanced seeking.
3783 * gst/parse/grammar.y:
3784 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
3785 (gst_dpman_state_changed):
3786 Fix some new-pad -> pad-added signals
3788 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3790 * docs/manual/appendix-porting.xml:
3791 * docs/pwg/appendix-porting.xml:
3792 Document new-pad/state-change signal renames and the FixedList
3793 type rename.
3795 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3797 * docs/manual/advanced-autoplugging.xml:
3798 * docs/manual/basics-helloworld.xml:
3799 * docs/manual/basics-pads.xml:
3800 * docs/random/ds/0.9-suggested-changes:
3801 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
3802 * gst/gstelement.h:
3803 * gst/gstevent.h:
3804 * gst/gstformat.h:
3805 * gst/gstquery.h:
3806 * gst/gststructure.c: (gst_structure_value_get_generic_type),
3807 (gst_structure_parse_array), (gst_structure_parse_value):
3808 * gst/gstvalue.c: (gst_type_is_fixed),
3809 (gst_value_list_prepend_value), (gst_value_list_append_value),
3810 (gst_value_list_get_size), (gst_value_list_get_value),
3811 (gst_value_transform_array_string), (gst_value_serialize_array),
3812 (gst_value_deserialize_array), (gst_value_intersect_array),
3813 (gst_value_is_fixed), (_gst_value_initialize):
3814 * gst/gstvalue.h:
3815 GstElement::new-pad -> pad-added, GstElement::state-change ->
3816 state-changed, GstValueFixedList -> GstValueArray, add format and
3817 flags as their own arguments in gst_element_seek() (should improve
3818 "bindeability"), remove function generators since they don't work
3819 under a whole bunch of compilers (they were deprecated already
3820 anyway).
3822 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3824 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
3825 (_gst_debug_register_funcptr):
3826 * gst/gstinfo.h:
3827 Fix illegal cast on some platforms (#309253).
3829 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3831 * gst/gstmessage.c: (gst_message_new_custom):
3832 * gst/gstmessage.h:
3833 Add _new_custom, make _new_application a macro to _new_custom.
3835 2005-07-20 Wim Taymans <wim@fluendo.com>
3837 * gst/base/gstbasesrc.c: (gst_base_src_init),
3838 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
3839 * gst/base/gstbasesrc.h:
3840 Add a gboolean to decide when to push out a discont.
3842 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
3843 (gst_queue_loop), (gst_queue_handle_src_query),
3844 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
3845 (gst_queue_set_property), (gst_queue_get_property):
3846 Some cleanups.
3848 * tests/threadstate/threadstate1.c: (main):
3849 Make a thread test compile and run... very silly..
3852 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3854 * docs/manual/appendix-porting.xml:
3855 Mention removal of libgstgconf-0.9.la and existence of gconf
3856 elements.
3858 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3860 * docs/pwg/advanced-clock.xml:
3861 * docs/pwg/appendix-porting.xml:
3862 * docs/pwg/intro-preface.xml:
3863 * docs/pwg/other-base.xml:
3864 * docs/pwg/other-manager.xml:
3865 * docs/pwg/other-nton.xml:
3866 * docs/pwg/other-ntoone.xml:
3867 * docs/pwg/other-oneton.xml:
3868 * docs/pwg/pwg.xml:
3869 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
3870 demuxer), remove n-to-n (was never written), fix some code examples
3871 and links and update the porting section to include all this.
3873 2005-07-19 Wim Taymans <wim@fluendo.com>
3875 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
3876 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
3877 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
3878 (gst_queue_src_activate_push), (gst_queue_change_state),
3879 (gst_queue_get_property):
3880 * gst/gstqueue.h:
3881 Propagate GstFlowReturn more intelligently upstream and output
3882 an ERROR/EOS when streaming stopped due to fatal error.
3884 2005-07-19 Wim Taymans <wim@fluendo.com>
3886 * tools/gst-launch.c: (check_intr), (event_loop), (main):
3887 Don't block forever for the state change to complete, the
3888 pipeline already did with a sensible timeout.
3890 2005-07-19 Wim Taymans <wim@fluendo.com>
3892 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3893 Make sure we never call the create function is we
3894 got deactivated.
3896 2005-07-19 Andy Wingo <wingo@pobox.com>
3898 * gst/parse/parse.l: Attempt to solve bug #172815.
3900 2005-07-19 Wim Taymans <wim@fluendo.com>
3902 * docs/design/part-clocks.txt:
3903 * docs/design/part-events.txt:
3904 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
3905 Small docs updates.
3906 Only update the seeking values when we are not
3907 busy streaming.
3909 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
3911 * gst/base/gstbasesrc.c: (gst_base_src_loop):
3912 Oops, ignore the result of gst_pad_push_event here.
3914 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
3916 * gst/base/gstbasesrc.c: (gst_base_src_loop),
3917 (gst_base_src_activate_push):
3918 Send discont event from the loop function, as pads
3919 aren't activated yet in the activate_push handler.
3921 * gst/gstbin.c: (bin_bus_handler):
3922 Don't leak element name.
3924 2005-07-18 Andy Wingo <wingo@pobox.com>
3926 * configure.ac: Use AS_LIBTOOL_TAGS.
3928 2005-07-18 Wim Taymans <wim@fluendo.com>
3930 * docs/gst/gstreamer.types:
3931 Remove deleted types.
3933 2005-07-18 Wim Taymans <wim@fluendo.com>
3935 * check/elements/gstfakesrc.c: (GST_START_TEST):
3936 * configure.ac:
3937 * gst/Makefile.am:
3938 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
3939 (init_popt_callback):
3940 * gst/gst.h:
3941 * gst/gst_private.h:
3942 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
3943 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
3944 * gst/gstbin.h:
3945 * gst/gstbus.h:
3946 * gst/gstconfig.h.in:
3947 * gst/gstelement.c: (gst_element_class_init),
3948 (gst_element_set_base_time), (gst_element_get_base_time),
3949 (iterator_fold_with_resync), (gst_element_change_state),
3950 (gst_element_dispose), (gst_element_get_bus):
3951 * gst/gstelement.h:
3952 * gst/gstelementfactory.h:
3953 * gst/gsterror.c: (_gst_core_errors_init):
3954 * gst/gsterror.h:
3955 * gst/gstevent.h:
3956 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
3957 * gst/gstindex.c:
3958 * gst/gstinfo.c: (_gst_debug_init):
3959 * gst/gstmessage.c: (_gst_message_copy):
3960 * gst/gstmessage.h:
3961 * gst/gstminiobject.h:
3962 * gst/gstobject.c:
3963 * gst/gstobject.h:
3964 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
3965 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
3966 * gst/gstpad.h:
3967 * gst/gstparse.h:
3968 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
3969 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
3970 (gst_pipeline_get_last_stream_time):
3971 * gst/gstpipeline.h:
3972 * gst/gstpluginfeature.h:
3973 * gst/gstquery.h:
3974 * gst/gstscheduler.c:
3975 * gst/gstscheduler.h:
3976 * gst/gststructure.h:
3977 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
3978 (gst_task_finalize), (gst_task_func), (gst_task_create),
3979 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
3980 (gst_task_stop), (gst_task_pause):
3981 * gst/gsttask.h:
3982 * gst/gsttypefind.h:
3983 * gst/gsttypes.h:
3984 * gst/registries/gstlibxmlregistry.c: (load_feature),
3985 (gst_xml_registry_load), (gst_xml_registry_save_feature):
3986 * gst/registries/gstxmlregistry.c:
3987 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
3988 * gst/schedulers/threadscheduler.c:
3989 * libs/gst/control/dparammanager.h:
3990 * tools/gst-inspect.c: (print_element_list),
3991 (print_plugin_features), (print_element_features):
3992 * tools/gst-xmlinspect.c: (print_element_list),
3993 (print_plugin_info), (main):
3994 Removed plugable schedulers.
3995 Removed Scheduler/Manager from elements.
3996 Removed gsttypes.h, rearranged includes.
3997 Removed dependency pad<->element, element<>pipeline, and
3998 various others, fix includes.
3999 implement gst_pad_get_parent() with gst_object_get_parent()
4000 Make GstTask sefcontained.
4001 Fix _get_state() on GstBin, it did not return ASYNC with a 0
4002 timeout.
4003 Fix endless loop in iterator_fold_with_resync.
4006 2005-07-18 Wim Taymans <wim@fluendo.com>
4008 * gst/Makefile.am:
4009 * gst/gstarch.h:
4010 Remove old file.
4012 2005-07-18 Wim Taymans <wim@fluendo.com>
4014 * gst/Makefile.am:
4015 No more cothreads.h
4017 2005-07-18 Wim Taymans <wim@fluendo.com>
4019 * gst/cothreads.c:
4020 * gst/cothreads.h:
4021 Let's remove these.
4023 2005-07-18 Wim Taymans <wim@fluendo.com>
4025 * docs/design/part-dynamic.txt:
4026 * docs/design/part-events.txt:
4027 * docs/design/part-seeking.txt:
4028 Some more docs in the works.
4030 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4031 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
4032 (gst_base_transform_setcaps), (gst_base_transform_get_size),
4033 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
4034 (gst_base_transform_handle_buffer),
4035 (gst_base_transform_sink_activate_push),
4036 (gst_base_transform_src_activate_pull),
4037 (gst_base_transform_set_passthrough),
4038 (gst_base_transform_is_passthrough):
4039 Refcounting fixes.
4041 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
4042 Cleanups.
4044 * gst/gstevent.c: (gst_event_finalize):
4045 Set SRC to NULL.
4047 * gst/gstutils.c: (gst_element_unlink),
4048 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
4049 (gst_pad_proxy_setcaps):
4050 * gst/gstutils.h:
4051 Add _get_parent_element() to get a pads parent as an element.
4053 2005-07-18 Wim Taymans <wim@fluendo.com>
4055 * check/gst/gstbin.c: (GST_START_TEST):
4056 Remove bogus test.
4058 2005-07-18 Wim Taymans <wim@fluendo.com>
4060 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
4061 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
4062 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
4063 (gst_base_sink_event), (gst_base_sink_do_sync),
4064 (gst_base_sink_chain), (gst_base_sink_loop),
4065 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
4066 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
4067 Refcounting fixes.
4068 Fix logic for returning ASYNC when not prerolled.
4070 2005-07-18 Wim Taymans <wim@fluendo.com>
4072 * gst/gstqueue.c: (gst_queue_handle_sink_event):
4073 Fix nasty refcount bug.
4075 2005-07-16 Philippe Khalaf <burger@speedy.org>
4077 * gst/elements/gstfdsrc.c:
4078 * gst/elements/gstfdsrc.h:
4079 * gst/elements/gstelements.c:
4080 * gst/elements/Makefile.am:
4081 Ported fdsrc to 0.9.
4083 2005-07-16 Wim Taymans <wim@fluendo.com>
4085 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4086 (gst_base_sink_do_sync):
4087 Fix compile error.
4089 2005-07-16 Wim Taymans <wim@fluendo.com>
4091 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4092 (gst_base_sink_event), (gst_base_sink_get_times),
4093 (gst_base_sink_do_sync), (gst_base_sink_change_state):
4094 * gst/base/gstbasesink.h:
4095 Store and use discont values when syncing buffers as described
4096 in design docs.
4098 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
4099 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
4100 (gst_base_src_activate_push):
4101 Push discont event when starting.
4103 * gst/elements/gstidentity.c: (gst_identity_transform):
4104 Small cleanups.
4106 * gst/gstbin.c: (gst_bin_change_state):
4107 Small cleanups in base_time distribution.
4109 * gst/gstelement.c: (gst_element_set_base_time),
4110 (gst_element_get_base_time), (gst_element_change_state):
4111 * gst/gstelement.h:
4112 Added methods for the base_time of the element.
4113 Some MT fixes.
4115 * gst/gstpipeline.c: (gst_pipeline_send_event),
4116 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
4117 (gst_pipeline_get_last_stream_time):
4118 * gst/gstpipeline.h:
4119 MT fixes.
4120 Handle seeking as described in design doc, remove stream_time
4121 hack.
4122 Cleanups clock and stream_time selection code. Added accessors
4123 for the stream_time.
4126 2005-07-16 Andy Wingo <wingo@pobox.com>
4128 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
4129 (#305291).
4131 2005-07-16 Wim Taymans <wim@fluendo.com>
4133 * check/gst/gstbin.c: (GST_START_TEST):
4134 Make elements silent as the deep_notify refs the
4135 parent, which might make the test fail.
4137 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
4138 Don't hold the lock for too long.
4140 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
4142 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
4143 Don't unref the caps we passed to gst_caps_make_writable() after
4144 passing them. gst_caps_make_writable() will do that for us.
4146 2005-07-15 Andy Wingo <wingo@pobox.com>
4148 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
4149 (#157311).
4151 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
4152 own marshalling function for the handoff signal. Properly type the
4153 buffer as a buffer. Fixes some warnings. Should do a more general
4154 solution.
4155 (gst_identity_class_init): Plug into the right marshaller.
4157 2005-07-15 Wim Taymans <wim@fluendo.com>
4159 * docs/design/part-TODO.txt:
4160 * docs/design/part-clocks.txt:
4161 * docs/design/part-element-sink.txt:
4162 * docs/design/part-events.txt:
4163 * docs/design/part-gstpipeline.txt:
4164 Updated docs, mostly DISCONT related.
4166 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
4168 * docs/pwg/building-pads.xml:
4169 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
4171 2005-07-15 Andy Wingo <wingo@pobox.com>
4173 * tools/gst-typefind.c: Update, add copyright block.
4175 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
4176 Normalize and truncate caps before fixation.
4178 * gst/gstcaps.h:
4179 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
4180 discards all but the first structure from its argument.
4182 2005-07-15 Wim Taymans <wim@fluendo.com>
4184 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4185 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
4186 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
4187 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
4188 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
4189 (gst_base_transform_chain), (gst_base_transform_change_state),
4190 (gst_base_transform_set_passthrough),
4191 (gst_base_transform_is_passthrough):
4192 * gst/base/gstbasetransform.h:
4193 Make passthrough work using the bufferpools.
4194 Changed API a bit, subclasses have to write into a buffer
4195 provided by the base class.
4196 More debug info in nego functions.
4198 * gst/elements/gstidentity.c: (gst_identity_init),
4199 (gst_identity_transform):
4200 Port to new base class.
4202 2005-07-15 Wim Taymans <wim@fluendo.com>
4204 * gst/gstmessage.c: (gst_message_new_state_changed):
4205 * tools/gst-launch.c: (event_loop), (main):
4206 Totally dump messages in -launch with the -m option.
4207 Fix message name for State messages,
4209 2005-07-14 Wim Taymans <wim@fluendo.com>
4211 * gst/base/gstbasesrc.c: (gst_base_src_loop):
4212 Post error messages on errors.
4214 2005-07-14 Wim Taymans <wim@fluendo.com>
4216 * gst/gstcaps.c: (gst_caps_do_simplify):
4217 Remove debug info.
4219 * gst/gsterror.h:
4220 Define error for stream stopped.
4222 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
4223 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
4224 Do proper return values.
4226 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
4227 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
4228 (gst_pad_get_range):
4229 Better return values.
4231 * gst/gstpad.h:
4232 Reorganise return values, add macro to check for fatal errors.
4234 * gst/gstqueue.c: (gst_queue_chain):
4235 Return proper GstFlowReturn values,
4237 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
4239 * docs/gst/gstreamer-sections.txt:
4240 * docs/gst/gstreamer.types:
4241 * docs/gst/tmpl/gst.sgml:
4242 * docs/gst/tmpl/gstbasesink.sgml:
4243 * docs/gst/tmpl/gstbasesrc.sgml:
4244 * docs/gst/tmpl/gstbasetransform.sgml:
4245 * docs/gst/tmpl/gstbin.sgml:
4246 * docs/gst/tmpl/gstbuffer.sgml:
4247 * docs/gst/tmpl/gstcaps.sgml:
4248 * docs/gst/tmpl/gstclock.sgml:
4249 * docs/gst/tmpl/gstcompat.sgml:
4250 * docs/gst/tmpl/gstconfig.sgml:
4251 * docs/gst/tmpl/gstelement.sgml:
4252 * docs/gst/tmpl/gstelementdetails.sgml:
4253 * docs/gst/tmpl/gstelementfactory.sgml:
4254 * docs/gst/tmpl/gstenumtypes.sgml:
4255 * docs/gst/tmpl/gsterror.sgml:
4256 * docs/gst/tmpl/gstevent.sgml:
4257 * docs/gst/tmpl/gstfakesink.sgml:
4258 * docs/gst/tmpl/gstfakesrc.sgml:
4259 * docs/gst/tmpl/gstfilesink.sgml:
4260 * docs/gst/tmpl/gstfilesrc.sgml:
4261 * docs/gst/tmpl/gstfilter.sgml:
4262 * docs/gst/tmpl/gstformat.sgml:
4263 * docs/gst/tmpl/gstghostpad.sgml:
4264 * docs/gst/tmpl/gstimplementsinterface.sgml:
4265 * docs/gst/tmpl/gstindex.sgml:
4266 * docs/gst/tmpl/gstindexfactory.sgml:
4267 * docs/gst/tmpl/gstinfo.sgml:
4268 * docs/gst/tmpl/gstiterator.sgml:
4269 * docs/gst/tmpl/gstmacros.sgml:
4270 * docs/gst/tmpl/gstmemchunk.sgml:
4271 * docs/gst/tmpl/gstminiobject.sgml:
4272 * docs/gst/tmpl/gstobject.sgml:
4273 * docs/gst/tmpl/gstpad.sgml:
4274 * docs/gst/tmpl/gstpadtemplate.sgml:
4275 * docs/gst/tmpl/gstparse.sgml:
4276 * docs/gst/tmpl/gstpipeline.sgml:
4277 * docs/gst/tmpl/gstplugin.sgml:
4278 * docs/gst/tmpl/gstpluginfeature.sgml:
4279 * docs/gst/tmpl/gstquery.sgml:
4280 * docs/gst/tmpl/gstqueue.sgml:
4281 * docs/gst/tmpl/gstregistry.sgml:
4282 * docs/gst/tmpl/gstregistrypool.sgml:
4283 * docs/gst/tmpl/gstscheduler.sgml:
4284 * docs/gst/tmpl/gstschedulerfactory.sgml:
4285 * docs/gst/tmpl/gststructure.sgml:
4286 * docs/gst/tmpl/gstsystemclock.sgml:
4287 * docs/gst/tmpl/gsttaglist.sgml:
4288 * docs/gst/tmpl/gsttagsetter.sgml:
4289 * docs/gst/tmpl/gsttrace.sgml:
4290 * docs/gst/tmpl/gsttrashstack.sgml:
4291 * docs/gst/tmpl/gsttypefind.sgml:
4292 * docs/gst/tmpl/gsttypefindfactory.sgml:
4293 * docs/gst/tmpl/gsttypes.sgml:
4294 * docs/gst/tmpl/gsturihandler.sgml:
4295 * docs/gst/tmpl/gsturitype.sgml:
4296 * docs/gst/tmpl/gstutils.sgml:
4297 * docs/gst/tmpl/gstvalue.sgml:
4298 * docs/gst/tmpl/gstversion.sgml:
4299 * docs/gst/tmpl/gstxml.sgml:
4300 * docs/libs/tmpl/gstcontrol.sgml:
4301 * docs/libs/tmpl/gstdataprotocol.sgml:
4302 * docs/libs/tmpl/gstdparam.sgml:
4303 * docs/libs/tmpl/gstdplinint.sgml:
4304 * docs/libs/tmpl/gstdpman.sgml:
4305 * docs/libs/tmpl/gstdpsmooth.sgml:
4306 * docs/libs/tmpl/gstgetbits.sgml:
4307 * docs/libs/tmpl/gstunitconvert.sgml:
4308 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
4309 (gst_push_src_base_init), (gst_push_src_class_init),
4310 (gst_push_src_init), (gst_push_src_create):
4311 * gst/base/gstpushsrc.h:
4312 * gst/elements/gstelements.c:
4313 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
4314 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
4315 (gst_fake_sink_init), (gst_fake_sink_set_property),
4316 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
4317 (gst_fake_sink_event), (gst_fake_sink_preroll),
4318 (gst_fake_sink_render), (gst_fake_sink_change_state):
4319 * gst/elements/gstfakesink.h:
4320 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
4321 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
4322 (gst_fake_src_base_init), (gst_fake_src_class_init),
4323 (gst_fake_src_init), (gst_fake_src_event_handler),
4324 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
4325 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
4326 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
4327 (gst_fake_src_create_buffer), (gst_fake_src_create),
4328 (gst_fake_src_start), (gst_fake_src_stop):
4329 * gst/elements/gstfakesrc.h:
4330 * gst/elements/gstfilesink.c: (_do_init),
4331 (gst_file_sink_base_init), (gst_file_sink_class_init),
4332 (gst_file_sink_init), (gst_file_sink_dispose),
4333 (gst_file_sink_set_location), (gst_file_sink_set_property),
4334 (gst_file_sink_get_property), (gst_file_sink_open_file),
4335 (gst_file_sink_close_file), (gst_file_sink_query),
4336 (gst_file_sink_event), (gst_file_sink_render),
4337 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
4338 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
4339 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
4340 * gst/elements/gstfilesink.h:
4341 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
4342 (gst_file_src_class_init), (gst_file_src_init),
4343 (gst_file_src_finalize), (gst_file_src_set_location),
4344 (gst_file_src_set_property), (gst_file_src_get_property),
4345 (gst_file_src_map_region), (gst_file_src_map_small_region),
4346 (gst_file_src_create_mmap), (gst_file_src_create_read),
4347 (gst_file_src_create), (gst_file_src_is_seekable),
4348 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
4349 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
4350 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
4351 (gst_file_src_uri_handler_init):
4352 * gst/elements/gstfilesrc.h:
4353 more autistic cleanliness in functions/names/defines
4355 2005-07-13 Andy Wingo <wingo@pobox.com>
4357 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
4358 source couldn't negotiate.
4360 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
4361 connections again.
4363 * gst/gstutils.h:
4364 * gst/gstutils.c (gst_element_link_pads_filtered): New old
4365 function. I am channeling Hades. Put your boots on suckers!!!
4367 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
4369 * testsuite/caps/Makefile.am:
4370 * testsuite/caps/value_compare.c:
4371 * testsuite/caps/value_intersect.c:
4372 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
4373 move two testsuite apps over to the check dir
4375 2005-07-12 Wim Taymans <wim@fluendo.com>
4377 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
4378 Added more debug info in the negotiate process.
4380 * gst/gstmessage.h:
4381 Prepare for segment playback.
4383 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
4384 Better debugging.
4386 * gst/gstutils.c:
4387 Some more docs.
4389 * tools/gst-launch.c: (main):
4390 NULL pipeline on errors.
4392 2005-07-12 Andy Wingo <wingo@pobox.com>
4394 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
4395 not it comes from a malloc region. Make sure our copy gets freed.
4397 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
4399 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
4400 * check/gst/gstmessage.c: (GST_START_TEST):
4401 * check/gst/gststructure.c: (GST_START_TEST),
4402 (gst_structure_suite), (main):
4403 more testing
4404 * gst/gstelement.c: (gst_element_message_full):
4405 clean up GError and debug string now that they get copied
4406 * gst/gstmessage.c: (gst_message_new_error),
4407 (gst_message_new_warning), (gst_message_parse_error),
4408 (gst_message_parse_warning):
4409 use GST_TYPE_G_ERROR for structure_new, and take copies of
4410 arguments, so that we don't mess up refcounting
4412 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
4414 * check/Makefile.am:
4415 add per-test valgrind targets
4416 * check/gst-libs/gdp.c: (GST_START_TEST),
4417 (gst_data_protocol_suite), (main):
4418 clean up
4420 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
4422 * check/Makefile.am:
4423 instate more valgrindable tests
4424 * check/elements/gstfakesrc.c: (chain_func), (event_func),
4425 (GST_START_TEST), (fakesrc_suite):
4426 * check/gst/gstpad.c: (GST_START_TEST):
4427 * check/gst/gststructure.c: (GST_START_TEST):
4428 fix test leaks
4429 * docs/gst/tmpl/gstminiobject.sgml:
4430 * gst/gstpad.c: (gst_pad_finalize):
4431 fix the static mutex leak
4433 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
4435 * check/Makefile.am:
4436 add two more tests for valgrinding
4437 * check/gst/gstvalue.c: (GST_START_TEST):
4438 test refcount of deserialized buffer, found a leak
4439 * docs/gst/gstreamer-docs.sgml:
4440 * docs/gst/gstreamer-sections.txt:
4441 * docs/gst/gstreamer.types:
4442 * docs/gst/tmpl/gstminiobject.sgml:
4443 add miniobject to docs
4444 * gst/gstminiobject.c:
4445 add some docs
4446 * gst/gstvalue.c: (gst_value_deserialize_buffer),
4447 (gst_string_unwrap):
4448 fix a hard-to-find invalid write for one of the tests
4449 fix a leak for deserialized buffers
4451 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4453 * docs/pwg/advanced-events.xml:
4454 * docs/pwg/advanced-request.xml:
4455 * docs/pwg/advanced-scheduling.xml:
4456 * docs/pwg/appendix-porting.xml:
4457 * docs/pwg/building-boiler.xml:
4458 * docs/pwg/intro-preface.xml:
4459 * docs/pwg/other-ntoone.xml:
4460 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
4461 of example code and explanation for pad activation, loop() and
4462 getrange() functions and a bit more. Remove old comments pointing
4463 to loop-functions.
4464 * examples/pwg/Makefile.am:
4465 Add loop/getrange examples.
4467 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
4469 * configure.ac:
4470 check for valgrind binary + some fixes
4471 * check/gst.supp:
4472 valgrind suppressions for the tests
4473 * check/Makefile.am:
4474 add a valgrind: target that valgrinds the unit tests
4475 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
4476 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
4477 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4478 * check/gst/gstghostpad.c:
4479 added some cleanup
4480 * check/gst/gstdata.c:
4481 removed
4482 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
4483 (thread_unref), (gst_mini_object_suite), (main):
4484 added
4485 * gst/gst.c: (gst_deinit):
4486 * gst/gst.h:
4487 add a method to clean up.
4488 * gst/gstsystemclock.c: (gst_system_clock_dispose),
4489 (gst_system_clock_obtain):
4490 allow for disposing the system clock.
4491 * tools/gst-launch.c: (main):
4492 deinit
4494 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
4496 * docs/gst/tmpl/gstbasesrc.sgml:
4497 * docs/gst/tmpl/gstfakesrc.sgml:
4498 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4499 (gst_base_src_init), (gst_base_src_set_property),
4500 (gst_base_src_get_property), (gst_base_src_get_range),
4501 (gst_base_src_start):
4502 * gst/base/gstbasesrc.h:
4503 add num-buffers property
4504 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
4505 (gst_fakesrc_init), (gst_fakesrc_set_property),
4506 (gst_fakesrc_get_property), (gst_fakesrc_create),
4507 (gst_fakesrc_start):
4508 remove num-buffers property
4510 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
4512 * docs/gst/gstreamer-sections.txt:
4513 * docs/gst/tmpl/gstbasesink.sgml:
4514 * docs/gst/tmpl/gstbasesrc.sgml:
4515 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
4516 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
4517 (gst_base_sink_finalize), (gst_base_sink_set_clock),
4518 (gst_base_sink_set_property), (gst_base_sink_get_property),
4519 (gst_base_sink_handle_object), (gst_base_sink_event),
4520 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
4521 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
4522 (gst_base_sink_loop), (gst_base_sink_deactivate),
4523 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
4524 (gst_base_sink_change_state):
4525 * gst/base/gstbasesink.h:
4526 * gst/base/gstbasesrc.h:
4527 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
4528 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
4529 (gst_filesink_init):
4530 more macro splitting
4532 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
4534 * gst/gstelement.c: (gst_element_get_bus):
4535 add debug
4536 * tools/gst-launch.c: (check_intr), (event_loop):
4537 fix bus leaks
4539 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
4541 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
4542 fix a caps leak
4544 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
4546 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4547 (gst_base_src_finalize):
4548 add finalize method and clean up properly
4549 * gst/gstpipeline.c: (gst_pipeline_dispose):
4550 add debug
4552 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
4554 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
4555 (gst_bin_suite):
4556 add more things to check
4557 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
4558 * gst/gstelement.c:
4559 more debug
4561 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
4563 * check/elements/gstfakesrc.c: (chain_func), (event_func),
4564 (GST_START_TEST), (fakesrc_suite):
4565 * check/gst-libs/gdp.c: (GST_START_TEST):
4566 * check/gst/gst.c: (GST_START_TEST):
4567 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4568 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4569 * check/gst/gstbus.c: (GST_START_TEST):
4570 * check/gst/gstcaps.c: (GST_START_TEST):
4571 * check/gst/gstdata.c: (GST_START_TEST):
4572 * check/gst/gstelement.c: (GST_START_TEST):
4573 * check/gst/gstghostpad.c: (GST_START_TEST):
4574 * check/gst/gstiterator.c: (GST_START_TEST):
4575 * check/gst/gstmessage.c: (GST_START_TEST):
4576 * check/gst/gstobject.c: (GST_START_TEST):
4577 * check/gst/gstpad.c: (GST_START_TEST):
4578 * check/gst/gststructure.c: (GST_START_TEST):
4579 * check/gst/gstsystemclock.c: (GST_START_TEST),
4580 (gst_systemclock_suite):
4581 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
4582 * check/gst/gstvalue.c: (GST_START_TEST):
4583 * check/pipelines/cleanup.c: (GST_START_TEST):
4584 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
4585 * check/states/sinks.c: (GST_START_TEST):
4586 * check/gstcheck.c: (gst_check_init):
4587 * check/gstcheck.h:
4588 add debugging category
4589 use GST_START_TEST now, so we add a debug line
4591 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
4593 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
4594 add test for state change message on a bin
4595 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
4596 add another test
4597 * gst/gstbin.c: (gst_bin_init):
4598 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
4599 * gst/gstelement.c: (gst_element_post_message),
4600 (gst_element_set_state):
4601 * gst/gstelementfactory.c: (gst_element_factory_create):
4602 * gst/gstmessage.c: (gst_message_new):
4603 * gst/gstscheduler.c:
4604 various debugging additions and cleanups
4606 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
4608 * check/Makefile.am:
4609 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
4610 (main):
4611 adding tests for elements
4612 * gst/gstelement.c: (gst_element_dispose):
4614 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
4616 * gst/registries/gstlibxmlregistry.c: (load_feature):
4617 plug more leaks. A simple gst_init() now is leakfree, yay.
4619 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
4621 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
4622 (gst_xml_registry_load):
4623 plug another memleak
4625 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
4627 * configure.ac:
4628 use GST_SET_ERROR_CFLAGS
4629 * docs/faq/cvs.xml:
4630 change to ERROR_CFLAGS
4632 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
4634 * configure.ac:
4635 make GST_ERROR_CFLAGS overridable and re-enable Werror
4636 * docs/faq/cvs.xml:
4637 add a note about error CFLAGS
4638 * docs/gst/tmpl/gstfakesrc.sgml:
4639 * gst/elements/gstfakesrc.c:
4640 comment out some unused code
4641 * gst/gst.c: (split_and_iterate):
4642 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
4643 (load_feature):
4644 plug some memleaks
4646 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
4648 * common/Makefile.am:
4649 * common/gtk-doc.mak:
4650 * docs/gst/Makefile.am:
4651 factor out gtk-doc.mak
4653 2005-07-07 Wim Taymans <wim@fluendo.com>
4655 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
4656 (gst_thread_scheduler_dispose):
4657 Unlock the STREAM_LOCK completely.
4659 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
4661 * check/Makefile.am:
4662 * check/elements/.cvsignore:
4663 * check/elements/gstfakesrc.c: (chain_func), (event_func),
4664 (START_TEST), (fakesrc_suite), (main):
4665 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
4666 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
4667 (gst_fakesrc_create), (gst_fakesrc_start):
4668 * gst/elements/gstfakesrc.h:
4669 adding a first element test
4671 2005-07-07 Andy Wingo <wingo@pobox.com>
4673 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
4674 debug message.
4676 2005-07-07 Wim Taymans <wim@fluendo.com>
4678 * gst/gstquery.c:
4679 * gst/gstquery.h:
4680 Remove old types
4682 2005-07-07 Wim Taymans <wim@fluendo.com>
4684 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
4685 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
4686 Allow subclasses to implement their own negotiation.
4688 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
4690 * docs/design/part-gstbin.txt:
4691 * docs/design/part-gstpipeline.txt:
4692 Update design notes to reflect the movement of
4693 responsibility for bus handling from GstPipeline to
4694 GstBin
4696 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
4698 * configure.ac:
4699 Remove unnecessary queue2/3/4 examples.
4701 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
4703 * examples/Makefile.am:
4704 * examples/helloworld/helloworld.c: (event_loop), (main):
4705 * examples/queue/queue.c: (event_loop), (main):
4706 * examples/queue2/queue2.c: (main):
4707 Update a couple of the examples to work again.
4709 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
4710 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
4711 Spelling corrections and extra debug.
4713 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
4714 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
4715 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
4716 * gst/gstbin.h:
4717 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
4718 (gst_pipeline_change_state):
4719 * gst/gstpipeline.h:
4720 Move the bus handler for children to the GstBin, and create a
4721 separate bus for receiving messages from children to the one the
4722 bus sends 'upwards' on.
4724 2005-07-06 Wim Taymans <wim@fluendo.com>
4726 * gst/base/README:
4727 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
4728 (gst_base_sink_handle_object), (gst_base_sink_loop),
4729 (gst_base_sink_change_state):
4730 * gst/base/gstbasesink.h:
4731 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4732 (gst_base_src_init), (gst_base_src_setcaps),
4733 (gst_base_src_getcaps), (gst_base_src_loop),
4734 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
4735 (gst_base_src_start), (gst_base_src_change_state):
4736 * gst/base/gstbasesrc.h:
4737 Make basesrc negotiate.
4738 Handle the case where preroll fails in basesink.
4739 Update README.
4741 2005-07-06 Wim Taymans <wim@fluendo.com>
4743 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
4744 Implement the fixate function.
4745 Clean up acceptcaps.
4747 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4749 * docs/pwg/building-filterfactory.xml:
4750 * docs/pwg/pwg.xml:
4751 Remove never-written filter-factory chapter; I'll add the various
4752 base classes to part 4 ("other element types") later on.
4754 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4756 * docs/pwg/advanced-negotiation.xml:
4757 * docs/pwg/building-boiler.xml:
4758 * docs/pwg/building-pads.xml:
4759 * docs/pwg/pwg.xml:
4760 * examples/pwg/Makefile.am:
4761 Add a chapter on caps negotiation, simplify the original code
4762 samples a bit w.r.t. caps negotiation, add link to the advanced
4763 section. Add a bunch of examples showing different use cases of
4764 different types of caps negotiation. Upstream renegotiation isn't
4765 fully documented yet since nobody knows how that works.
4767 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
4769 * check/gst/gstpad.c:
4770 * check/gstcheck.c:
4771 * gst/gstpad.c: (gst_pad_get_internal_links_default):
4772 if pad has no parent, return NULL as list of internal links
4774 2005-07-05 Andy Wingo <wingo@pobox.com>
4776 * gst/elements/gstfilesrc.c:
4777 * gst/elements/gstfakesrc.c:
4778 * gst/base/gstpushsrc.c:
4779 * gst/base/gstbasesrc.h:
4780 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
4782 2005-07-05 Stefan Kost <ensonic@users.sf.net>
4784 * Makefile.am:
4785 better report generation target (lcov needs a patch)
4787 2005-07-05 Andy Wingo <wingo@pobox.com>
4789 * gst/elements, testsuite: Null if we got it...
4791 2005-07-05 Wim Taymans <wim@fluendo.com>
4793 * configure.ac:
4794 * libs/gst/dataprotocol/Makefile.am:
4795 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
4796 * libs/gst/dataprotocol/dataprotocol.h:
4797 * pkgconfig/Makefile.am:
4798 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
4799 * pkgconfig/gstreamer-dataprotocol.pc.in:
4800 Ported dataprotol to 0.9.
4801 Added pkgconfig files.
4803 2005-07-05 Andy Wingo <wingo@pobox.com>
4805 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
4806 Default to returning TRUE for the case when tranform_caps returns
4807 a fixed caps, like for identity or volume.
4809 * check/gst/gstbus.c (pound_bus_with_messages):
4810 * check/gst/gstmessage.c (START_TEST):
4811 * check/pipelines/simple_launch_lines.c (got_handoff): Application
4812 message API change.
4814 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
4815 logic weaks here: always run transform_caps, trying passthrough
4816 operation only if the original caps intersects with the transform.
4818 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
4819 source and sink caps.
4821 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
4822 Intersect the peer caps with the pad template before going into
4823 transform_caps.
4824 (gst_base_transform_transform_caps): More debugging.
4826 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
4827 src argument.
4829 2005-07-04 Edward Hervey <edward@fluendo.com>
4831 * gst/gstutils.c:
4832 * gst/gstutils.h:
4833 (gst_pad_add_*_probe): now returns the signal id for better wrapping
4834 in bindings.
4836 2005-07-04 Andy Wingo <wingo@pobox.com>
4838 * check/gst/gstpad.c: Only set explicit caps on pads.
4840 2005-07-01 Andy Wingo <wingo@pobox.com>
4842 * tests/network-clock.scm: Commentary update.
4844 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
4845 Didn't really make sense, not implementable with basetransform,
4846 etc.
4847 (gst_identity_transform): Unref inbuf via make_writable. Feeble
4848 attempt at implementing the sync property, needs an unlock method.
4850 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
4851 New func, by default returns the same caps (the identity
4852 transformation).
4853 (gst_base_transform_getcaps): Uses transform_caps to return
4854 something sensible.
4855 (gst_base_transform_setcaps): Complicated logic to get caps on
4856 both pads, even if they are different, and to call set_caps once
4857 for every time both pads get their caps set.
4858 (gst_base_transform_handle_buffer): Give the ref to the transform
4859 function. Allows in-place modification of the buffer.
4861 * gst/base/gstbasetransform.h (transform_caps): New class method.
4862 Given caps on one side, what can I do on the other.
4863 (set_caps): Take two caps, one for each side of the element.
4865 * gst/gstpad.h:
4866 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
4867 caps in place. This is safe because we can check the mutability of
4868 the caps, and a good idea because fixate functions are just called
4869 as a matter of last resort. (Not actually implemented.)
4870 (gst_pad_set_caps): If the caps we're setting is actually the same
4871 as the existing pad caps, just update the pointer without calling
4872 setcaps. Assert that caps is either NULL or fixed, as per the
4873 docs.
4875 * gst/gstghostpad.c: Update for fixate changes.
4877 2005-07-02 Andy Wingo <wingo@pobox.com>
4879 * gst/gstcaps.c:
4880 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
4881 two refcounts makes it immutable, which is enough. Doc more.
4883 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
4885 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
4886 Put the mini_object into GValue as a mini_object,
4887 not a gpointer, since that's how we declared
4888 the signal.
4890 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4892 * examples/pwg/Makefile.am:
4893 Fix buildbot again.
4895 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4897 * docs/pwg/building-testapp.xml:
4898 Add extra check.
4899 * examples/pwg/Makefile.am:
4900 Fix buildbot.
4902 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4904 * configure.ac:
4905 * examples/Makefile.am:
4906 * examples/pwg/Makefile.am:
4907 * examples/pwg/extract.pl:
4908 Enable building the PWG examples.
4909 * docs/pwg/advanced-interfaces.xml:
4910 Add URI interface stub.
4911 * docs/pwg/advanced-types.xml:
4912 * docs/pwg/other-autoplugger.xml:
4913 * docs/pwg/appendix-porting.xml:
4914 * docs/pwg/pwg.xml:
4915 Add porting guide (mostly stubs), remove autoplugging (see ADM).
4916 * docs/pwg/building-boiler.xml:
4917 * docs/pwg/building-chainfn.xml:
4918 * docs/pwg/building-pads.xml:
4919 * docs/pwg/building-props.xml:
4920 * docs/pwg/building-state.xml:
4921 * docs/pwg/building-testapp.xml:
4922 Update the building-*.xml parts for 0.9 changes. All examples
4923 code blocks compile in examples/pwg/*.
4925 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4927 * docs/manual/advanced-autoplugging.xml:
4928 * docs/manual/appendix-checklist.xml:
4929 * docs/manual/appendix-integration.xml:
4930 * docs/manual/highlevel-components.xml:
4931 Fix playbin/decodebin examples, update docs a bit, mention bus
4932 instead of signals in various places, mention kmplayer and
4933 kaffeine since they have a working GStreamer backend in the KDE
4934 section.
4936 2005-06-30 Wim Taymans <wim@fluendo.com>
4938 * CHANGES-0.9:
4939 * docs/design/draft-ghostpads.txt:
4940 * docs/design/draft-push-pull.txt:
4941 * docs/design/draft-query.txt:
4942 * docs/design/part-TODO.txt:
4943 * docs/design/part-query.txt:
4944 Added CHANGES-0.9 doc, updated status of other docs.
4946 * gst/gstquery.h:
4947 Remove "hmm" macro
4949 2005-06-30 Wim Taymans <wim@fluendo.com>
4951 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
4952 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
4953 (gst_base_sink_change_state):
4954 * gst/base/gstbasesink.h:
4955 Some tweaks, only EOS and a buffer complete a preroll.
4957 2005-06-30 Andy Wingo <wingo@pobox.com>
4959 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
4960 activate_push down to the internal pad as well.
4962 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
4964 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4966 * gst/gsttaginterface.c:
4967 Some documentation fixes (#307394 and #307397).
4969 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
4971 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4973 * gst/gstvalue.c: (gst_value_intersect_list):
4974 Fix memleak (#309125).
4976 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4978 * docs/manual/advanced-dataaccess.xml:
4979 Fix fakesrc example to compile; doesn't work, bug somewhere...?
4980 * docs/manual/basics-pads.xml:
4981 Add reference for filtered caps to above chapter.
4983 2005-06-30 Wim Taymans <wim@fluendo.com>
4985 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
4986 (gst_bin_change_state):
4987 Probes are gone.
4988 Lame attempt at making the state change function a bit
4989 more readable.
4991 2005-06-30 Wim Taymans <wim@fluendo.com>
4993 * docs/design/part-clocks.txt:
4994 * docs/design/part-element-sink.txt:
4995 * docs/design/part-events.txt:
4996 * docs/design/part-preroll.txt:
4997 * docs/design/part-states.txt:
4998 Some more tweeks and additions to the docs.
5000 2005-06-30 Wim Taymans <wim@fluendo.com>
5002 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
5003 (default_have_data), (gst_pad_class_init), (gst_pad_init),
5004 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
5005 (gst_pad_check_pull_range), (gst_pad_get_range),
5006 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
5007 * gst/gstpad.h:
5008 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
5009 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
5010 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
5011 (gst_pad_remove_buffer_probe):
5012 Removed atomic operations, use existing LOCK.
5013 Move exception handling out of main code path.
5015 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5017 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
5018 (silly_return_true_function), (gst_pad_class_init),
5019 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
5020 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
5021 (gst_pad_send_event):
5022 Fix accumulator, add default value by using _emitv() instead
5023 of _emit() for signal emission.
5025 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5027 * docs/manual/advanced-dataaccess.xml:
5028 * examples/manual/Makefile.am:
5029 Add probe example.
5030 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
5031 Make work (??).
5033 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
5035 * gst/elements/gstfilesink.c: (gst_filesink_render):
5036 Simplify code so that we don't have to handle short
5037 writes and return GST_FLOW_ERROR if an error occured.
5039 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5041 * docs/gst/gstreamer-docs.sgml:
5042 Remove probes more.
5044 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5046 * docs/gst/gstreamer-sections.txt:
5047 * docs/gst/tmpl/gstpad.sgml:
5048 * docs/gst/tmpl/gstprobe.sgml:
5049 * gst/Makefile.am:
5050 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
5051 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
5052 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
5053 (gst_pad_push_event), (gst_pad_send_event):
5054 * gst/gstpad.h:
5055 * gst/gstutils.c: (gst_pad_add_data_probe),
5056 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
5057 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
5058 (gst_pad_remove_buffer_probe):
5059 * gst/gstutils.h:
5060 Remove old probes, add new g-signal-based probes and some utility
5061 functions.
5063 2005-06-29 Edward Hervey <edward@fluendo.com>
5065 * gst/gstelementfactory.c:
5066 * gst/gstutils.h:
5067 * gst/gstutils.c:
5068 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
5069 the definition to the header file.
5071 2005-06-29 Andy Wingo <wingo@pobox.com>
5073 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
5074 plugins from the source directory.
5076 2005-06-29 Wim Taymans <wim@fluendo.com>
5078 * docs/gst/tmpl/gstbuffer.sgml:
5079 * docs/gst/tmpl/gstclock.sgml:
5080 Some fixings for blantently wrong text.
5082 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
5084 * check/Makefile.am:
5085 * gst/gst.c: (add_path_func), (init_pre):
5086 * gst/gstregistry.c: (gst_registry_add_path):
5087 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
5088 only scan the GST_PLUGIN_PATH locations, and not add
5089 system locations
5091 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
5093 * docs/gst/gstreamer-sections.txt:
5094 * docs/gst/tmpl/gstbasesrc.sgml:
5095 * gst/gstelement.c:
5096 * gst/gstelement.h:
5097 * gst/gstevent.c:
5098 * gst/gstutils.c:
5099 doc fixes
5101 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5103 * docs/manual/advanced-autoplugging.xml:
5104 Fix autoplugging example.
5106 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5108 * docs/manual/advanced-autoplugging.xml:
5109 * docs/manual/mime-world.fig:
5110 Try to get autoplugging working, fix type detection. Fix text
5111 in hello-world image.
5113 2005-06-29 Wim Taymans <wim@fluendo.com>
5115 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5116 (gst_base_sink_change_state):
5117 Small debug line.
5119 * gst/gstclock.h:
5120 map SIGNAL and BROADCAST to the right function.
5122 * gst/gstobject.h:
5123 Remove redundant braces.
5125 * gst/gstpad.c: (gst_pad_set_caps):
5126 Don't call setcaps function when reseting caps to NULL.
5128 * gst/gstsystemclock.c: (gst_system_clock_dispose),
5129 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
5130 (gst_system_clock_id_unschedule):
5131 Use BROADCAST as this is what we do.
5133 2005-06-29 Wim Taymans <wim@fluendo.com>
5135 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5136 We are actually prerolling before commiting the state
5137 change.
5139 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5141 * docs/manual/advanced-clocks.xml:
5142 * docs/manual/advanced-interfaces.xml:
5143 * docs/manual/advanced-metadata.xml:
5144 * docs/manual/advanced-position.xml:
5145 * docs/manual/advanced-schedulers.xml:
5146 * docs/manual/advanced-threads.xml:
5147 * docs/manual/appendix-porting.xml:
5148 * docs/manual/basics-bins.xml:
5149 * docs/manual/basics-bus.xml:
5150 * docs/manual/basics-elements.xml:
5151 * docs/manual/basics-helloworld.xml:
5152 * docs/manual/basics-pads.xml:
5153 * docs/manual/highlevel-components.xml:
5154 * docs/manual/manual.xml:
5155 * docs/manual/thread.fig:
5156 Update (until threads/scheduling) Application Development Manual;
5157 remove GstThread, add GstBus, add simple porting checklist, add
5158 documentation for tag writing, clocks, make all examples until this
5159 part compile and run.
5160 * examples/manual/Makefile.am:
5161 Update from changes to Application Development Manual; add bus
5162 example, remove thread example.
5164 2005-06-28 Wim Taymans <wim@fluendo.com>
5166 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
5167 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
5168 (gst_bus_source_dispatch):
5169 Add debugging messages.
5170 Make internal methods static.
5171 Handle the case where the bus is flushed in the handler.
5173 * gst/gstelement.c: (gst_element_get_bus):
5174 Fix refcount in _get_bus();
5176 * gst/gstpipeline.c: (gst_pipeline_change_state),
5177 (gst_pipeline_get_clock_func):
5178 Clock refcounting fixes.
5179 Handle the case where preroll timed out more gracefully.
5181 * gst/gstsystemclock.c: (gst_system_clock_dispose):
5182 Clean up the internal thread in dispose. This is needed
5183 for subclasses that actually get disposed.
5185 * gst/schedulers/threadscheduler.c:
5186 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
5187 (gst_thread_scheduler_dispose):
5188 Free thread pool in dispose.
5190 2005-06-28 Andy Wingo <wingo@pobox.com>
5192 * tests/network-clock-utils.scm (debug, print-event): New utils.
5194 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
5195 (*packet-loss*): Unified loss probability.
5196 (network-time): Report out-of-band events.
5198 * tests/plot-data: Add support for out-of-band events. Hack it
5199 into this script instead of passing it down the pipe; should fix
5200 this later.
5202 2005-06-28 Wim Taymans <wim@fluendo.com>
5204 * docs/gst/gstreamer.types:
5205 * docs/gst/tmpl/gstbasesrc.sgml:
5206 * docs/gst/tmpl/gstpad.sgml:
5207 Docs fixes.
5209 2005-06-28 Wim Taymans <wim@fluendo.com>
5211 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
5212 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
5213 (gst_proxy_pad_do_fixatecaps):
5214 Correctly proxy the check_pull_range function.
5216 2005-06-28 Andy Wingo <wingo@pobox.com>
5218 * tests/network-clock.scm: Removed need for slib.
5220 2005-06-28 Wim Taymans <wim@fluendo.com>
5222 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
5223 (gst_basesink_preroll_queue_flush):
5224 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
5225 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
5226 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
5227 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
5228 (gst_proxy_pad_set_property):
5229 * gst/gstpad.c:
5230 * gst/gstpad.h:
5231 * gst/gstqueue.c: (gst_queue_init):
5232 The deprecated pad loop function is removed now.
5234 2005-06-28 Andy Wingo <wingo@pobox.com>
5236 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
5237 New parameters, simulate network packet loss.
5239 * tests/network-clock-utils.scm: Initialize the RNG.
5241 2005-06-28 Wim Taymans <wim@fluendo.com>
5243 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
5244 (gst_basesink_event), (gst_basesink_deactivate):
5245 Flushing the preroll queue always needs to unlock the waiters.
5247 2005-06-28 Edward Hervey <edward@fluendo.com>
5249 * gst/gstpipeline.c: (gst_pipeline_send_event):
5250 Wheen a seek was successful on a pipeline, set the stream_time to the
5251 seek offset in order to have a synchronized stream_time.
5253 2005-06-28 Wim Taymans <wim@fluendo.com>
5255 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
5256 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
5257 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
5258 (gst_proxy_pad_do_fixatecaps):
5259 Call wrapper function instead of just calling the function
5260 pointers. This takes care of any locking and whatmore.
5262 2005-06-28 Wim Taymans <wim@fluendo.com>
5264 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
5265 (gst_pad_pull_range):
5266 * gst/gstpad.h:
5267 CONNECTED -> LINKED.
5269 2005-06-28 Andy Wingo <wingo@pobox.com>
5271 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
5272 source-munging commit!!!
5274 * gst/gstobject.c (gst_object_unref, gst_object_ref)
5275 (gst_object_sink): Take gpointer arguments, not GstObject --
5276 avoids casts. Like GLib.
5278 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
5279 activate.
5281 2005-06-27 Andy Wingo <wingo@pobox.com>
5283 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
5284 remaining buffer.
5286 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
5287 returns a sorted copy of the trace list.
5288 (gst_alloc_trace_print_live): New API, only prints traces with
5289 live objects. Sort the list.
5290 (gst_alloc_trace_print_all): Sort the list.
5291 (gst_alloc_trace_print): Align columns.
5293 * gst/elements/gstttypefindelement.c:
5294 * gst/elements/gsttee.c:
5295 * gst/base/gstbasesrc.c:
5296 * gst/base/gstbasesink.c:
5297 * gst/base/gstbasetransform.c:
5298 * gst/gstqueue.c: Adapt for pad activation changes.
5300 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
5301 sched.
5302 (gst_pipeline_dispose): Drop ref on sched.
5304 * gst/gstpad.c (gst_pad_init): Set the default activate func.
5305 (gst_pad_activate_default): Push mode by default.
5306 (pre_activate_switch, post_activate_switch): New stubs, things to
5307 do before and after switching activation modes on pads.
5308 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
5309 the pad's activate function to choose which mode to activate.
5310 Shortcut on deactivation and call the right function directly.
5311 (gst_pad_activate_pull): New API, (de)activates a pad in pull
5312 mode.
5313 (gst_pad_activate_push): New API, same for push mode.
5314 (gst_pad_set_activate_function)
5315 (gst_pad_set_activatepull_function)
5316 (gst_pad_set_activatepush_function): Setters for new API.
5318 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
5319 Trace all miniobjects.
5320 (gst_mini_object_make_writable): Unref the arg if we copy, like
5321 gst_caps_make_writable.
5323 * gst/gstmessage.c (_gst_message_initialize): No trace init.
5325 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
5326 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
5327 Adapt for new pad API.
5329 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
5331 * gst/gstelement.h:
5332 * gst/gstelement.c (gst_element_iterate_src_pads)
5333 (gst_element_iterate_sink_pads): New API functions.
5335 * gst/gstelement.c (iterator_fold_with_resync): New utility,
5336 should fold into gstiterator.c in some form.
5337 (gst_element_pads_activate): Simplified via use of fold and
5338 delegation of decisions to gstpad->activate.
5340 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
5341 help in debugging.
5343 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
5344 class once in init, like gstmessage. Didn't run into this issue
5345 but it seems correct. Don't initialize a trace, gstminiobject does
5346 that.
5348 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
5349 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
5350 to the bus.
5351 (assert_live_count): New util function, uses alloc traces to check
5352 cleanup.
5354 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
5355 To be modified when unlink drops the internal pad.
5357 2005-06-27 Wim Taymans <wim@fluendo.com>
5359 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
5360 (gst_bin_change_state):
5361 Cleanup the get_state() function a little, make sure it
5362 iterates the same set of elements.
5363 Added stub iterate_state_order().
5365 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
5367 * docs/gst/gstreamer-docs.sgml:
5368 * docs/gst/gstreamer-sections.txt:
5369 * docs/gst/gstreamer.types:
5370 * docs/gst/tmpl/gstbasesink.sgml:
5371 * docs/gst/tmpl/gstbasesrc.sgml:
5372 * docs/gst/tmpl/gstbasetransform.sgml:
5373 * docs/gst/tmpl/gstelement.sgml:
5374 * docs/gst/tmpl/gstiterator.sgml:
5375 * gst/base/gstbasesrc.c:
5376 * gst/base/gstbasesrc.h:
5377 * gst/base/gstbasetransform.h:
5378 * gst/gstelement.c:
5379 * gst/gstiterator.h:
5380 adding basetransform and iterator docs
5382 2005-06-27 Andy Wingo <wingo@pobox.com>
5384 * docs/design/part-activation.txt: Notes on how activation should
5385 work -- not quite implemented yet.
5387 2005-06-25 Wim Taymans <wim@fluendo.com>
5389 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
5390 At least get the chain function correct, needs more
5391 fixing.
5393 2005-06-25 Wim Taymans <wim@fluendo.com>
5395 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
5396 (gst_basesink_handle_object), (gst_basesink_event),
5397 (gst_basesink_do_sync), (gst_basesink_handle_event),
5398 (gst_basesink_change_state):
5399 * gst/gsttask.h:
5400 Right, two problems here: ghostpads don't take locks and
5401 glib _rec_mutex_lock_full() with depth==0 still locks.
5402 Catch illegal locking and g_warn them.
5404 2005-06-25 Wim Taymans <wim@fluendo.com>
5406 * check/states/sinks.c: (START_TEST), (gst_object_suite):
5407 Have to check for completion now...
5409 2005-06-25 Wim Taymans <wim@fluendo.com>
5411 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
5412 (gst_basesink_handle_object), (gst_basesink_event),
5413 (gst_basesink_do_sync), (gst_basesink_handle_event),
5414 (gst_basesink_change_state):
5415 * gst/gstpad.h:
5416 Unlock STREAM_LOCK whatever the recursion was.
5418 2005-06-25 Wim Taymans <wim@fluendo.com>
5420 * gst/base/gstbasesink.c: (gst_basesink_set_property),
5421 (gst_basesink_preroll_queue_empty),
5422 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
5423 (gst_basesink_event), (gst_basesink_do_sync),
5424 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
5425 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
5426 (gst_basesink_change_state):
5427 Reworked the base sink, handle event and buffer serialisation
5428 correctly and removed possible deadlock.
5429 Handle EOS correctly.
5431 2005-06-25 Wim Taymans <wim@fluendo.com>
5433 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
5434 (gst_pipeline_change_state):
5435 * tools/gst-launch.c: (check_intr), (event_loop), (main):
5436 Allow elements to post EOS in the state change function.
5437 Fix up -launch, make it exit the poll loop when the
5438 pipeline actually changed state.
5439 Fix up warning parsing in -launch.
5441 2005-06-25 Wim Taymans <wim@fluendo.com>
5443 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
5444 (gst_tee_sink_activate):
5445 Core takes STREAM_LOCK for us now.
5447 2005-06-25 Wim Taymans <wim@fluendo.com>
5449 * gst/gstelement.c: (gst_element_get_state_func),
5450 (gst_element_set_state):
5451 * gst/gstelement.h:
5452 * gst/gstmessage.c: (gst_message_parse_error),
5453 (gst_message_parse_warning):
5454 Keep track of current target state while performing a state
5455 change so that subclasses can do something interesting.
5456 Fix parsing of warning/error messages when GError is NULL.
5458 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
5460 * docs/gst/Makefile.am:
5461 * docs/gst/gstreamer-docs.sgml:
5462 * docs/gst/gstreamer-sections.txt:
5463 * docs/gst/gstreamer.types:
5464 * docs/gst/tmpl/gstbasesink.sgml:
5465 * docs/gst/tmpl/gstbasesrc.sgml:
5466 * docs/gst/tmpl/gstbin.sgml:
5467 * docs/gst/tmpl/gstcompat.sgml:
5468 * docs/gst/tmpl/gstfakesink.sgml:
5469 * docs/gst/tmpl/gstfakesrc.sgml:
5470 * docs/gst/tmpl/gstfilesink.sgml:
5471 * docs/gst/tmpl/gstfilesrc.sgml:
5472 * docs/gst/tmpl/gstindex.sgml:
5473 * docs/manual/appendix-quotes.xml:
5474 * gst/base/gstbasesrc.h:
5475 * gst/elements/gstfakesrc.h:
5476 * gst/gstmessage.h:
5477 start pulling in base classes and elements in our docs
5479 2005-06-24 Stefan Kost <ensonic@users.sf.net>
5481 * docs/gst/Makefile.am:
5482 * docs/libs/Makefile.am:
5483 fixed make distcheck with gtk-doc 1.3
5485 2005-06-23 Wim Taymans <wim@fluendo.com>
5487 * gst/gstelement.c: (gst_element_get_state_func),
5488 (gst_element_set_state), (gst_element_change_state):
5489 When the state did not change, also report NO_PREROLL
5490 when it matters.
5492 2005-06-23 Wim Taymans <wim@fluendo.com>
5494 * gst/gstpad.c: (gst_pad_event_default):
5495 * gst/gstqueue.c: (gst_queue_loop):
5496 No unsafe task pausing please.
5498 2005-06-23 Wim Taymans <wim@fluendo.com>
5500 * gst/schedulers/threadscheduler.c:
5501 (gst_thread_scheduler_task_start),
5502 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
5503 Ref the task before pushing it on the threadpool. This
5504 makes sure that we have a ref when the threadfunction is
5505 actually called.
5507 2005-06-23 Andy Wingo <wingo@pobox.com>
5509 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
5510 offset is greater than the file's size.
5512 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
5513 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
5514 * gst/gstobject.c (gst_object_class_init): Make the class lock
5515 recursive. Wim won't let me drop deep_notify. Decodebin works
5516 again, whoopdy doo.
5518 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
5519 internal pad, and hacks accordingly. Doesn't do it on the target
5520 pad because we change its caps. Probably catches all cases of
5521 interest tho.
5522 (gst_ghost_pad_set_property): Connect to notify::caps as
5523 appropritate.
5525 * tests/network-clock.scm (plot-simulation): Pipe data to the
5526 elite python skript.
5528 * tests/network-clock-utils.scm (define-parameter): New macro,
5529 defines a parameter that can be set via the command line.
5530 (set-parameter!, parse-parameter-arguments): Command line args
5531 parser.
5533 * tests/plot-data: Simple matplotlib-based plotter, takes input on
5534 stdin.
5536 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
5538 * gst/elements/gsttypefindelement.c:
5539 (gst_type_find_element_handle_event):
5540 Don't restart typefinding on a discont.
5541 * gst/gstelement.c: (gst_element_set_state):
5542 Debug spelling fix.
5543 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
5544 Allow changing mode of an active pad.
5545 Debug output fixes.
5546 * gst/registries/gstlibxmlregistry.c: (load_feature):
5547 Don't cast a static pad template to a normal pad template.
5549 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
5551 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
5552 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
5553 remove gst_strtoll completely, since it didn't actually do
5554 anything more than what g_ascii_strtoull already does.
5555 check for range errors when deserializing
5556 do a cast for the unsigned cases; but further fixing needs
5557 a decision on what the interpretation of "(int)" and
5558 deserialization should be for values that fall outside the
5559 type's boundaries (ie, refuse, or interpret as casting)
5561 2005-06-23 Wim Taymans <wim@fluendo.com>
5563 * check/Makefile.am:
5564 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
5565 * docs/design/part-live-source.txt:
5566 * docs/design/part-states.txt:
5567 * gst/base/gstbasesrc.c: (gst_basesrc_init),
5568 (gst_basesrc_set_live), (gst_basesrc_is_live),
5569 (gst_basesrc_get_range), (gst_basesrc_activate),
5570 (gst_basesrc_change_state):
5571 * gst/base/gstbasesrc.h:
5572 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
5573 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
5574 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
5575 * gst/gstelement.c: (gst_element_get_state_func),
5576 (gst_element_set_state):
5577 * gst/gstelement.h:
5578 * gst/gsttypes.h:
5579 * tools/gst-launch.c: (event_loop), (main):
5580 Added support for live sources and other elements that
5581 cannot do preroll.
5582 Updated design docs, added live-source design doc.
5583 Implemented live source functionality in basesrc
5584 Fix error condition in _bin_get_state()
5585 Implement live source handling in -launch.
5586 Added check for live sources.
5587 Fixed case in GstBin where elements were changed state
5588 multiple times.
5591 2005-06-23 Andy Wingo <wingo@pobox.com>
5593 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
5594 borken refcounting.
5596 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
5597 gst_caps_replace takes care of this for us.
5599 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
5600 gst_pad_set_caps on the target, not just its setcaps() function.
5602 * tests/network-clock.scm:
5603 * tests/network-clock-utils.scm: A network clock simulator.
5604 Something of an algorithmic testbed before doing something in C.
5606 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
5608 * check/Makefile.am:
5609 * check/gst/capslist.h:
5610 copy over from 0.8, and add two with bitmasks specified with
5611 (int) 0xFF...
5612 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
5613 add test to parse everything from capslist.h
5614 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
5615 (main):
5616 add test for structure deserialization
5617 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
5618 add tests for deserialization of strings to int types
5619 * gst/gststructure.c: (gst_structure_nth_field_name):
5620 * gst/gststructure.h:
5621 add a way to get the name of a field referenced by index
5622 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
5623 instead of checking if the resulting long long lies between
5624 min and max, we check if the long long would fit into
5625 a number of bytes for the final type.
5626 This fixes cases where a string represents 2^32 - 1, which
5627 when cast to int would be the (valid) -1, but is bigger than
5628 G_MAXINT
5630 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
5632 * gst/parse/grammar.y:
5633 add a log line for type deserialization
5635 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
5637 * check/gst/gstvalue.c: (START_TEST):
5638 * gst/gstvalue.c: (gst_value_deserialize):
5639 return long long, not int, so gint64 deserialization actually
5640 works. Is there any flag that makes the compiler check this ?
5641 Fixes #308559
5643 2005-06-22 Wim Taymans <wim@fluendo.com>
5645 * gst/gstbuffer.h:
5646 Added convenience macros for setting buffers in GValue.
5648 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
5650 * check/gst/.cvsignore:
5651 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
5652 add a test deserializing int64, and comment part out because
5653 it fails, yay !
5655 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
5657 * check/Makefile.am:
5658 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
5659 * testsuite/Makefile.am:
5660 * testsuite/caps/Makefile.am:
5661 * testsuite/caps/value_serialize.c:
5662 * testsuite/test_gst_init.c:
5663 move a value_serialize test over
5665 2005-06-20 Wim Taymans <wim@fluendo.com>
5667 * gst/gstpad.c:
5668 Small doc updates.
5670 * gst/gstvalue.c: (gst_value_compare_buffer),
5671 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
5672 (gst_value_compare_flags), (gst_value_serialize_flags),
5673 (gst_value_deserialize_flags), (_gst_value_initialize):
5674 Fix serialisation of buffers, they are not boxed types anymore
5676 2005-06-20 Wim Taymans <wim@fluendo.com>
5678 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
5679 Testcase to show error in buffer-on-caps serialisation.
5681 2005-06-20 Andy Wingo <wingo@pobox.com>
5683 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
5684 will be adding to later.
5686 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
5687 if its socks fill with rocks.
5688 (gst_system_clock_obtain): Set the name on object construction.
5689 Avoid double-checked locking.
5691 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
5693 * gst/gsturi.c: (gst_element_make_from_uri):
5694 Fix potential endless loop.
5696 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
5698 * check/Makefile.am:
5699 add gsttag
5700 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
5701 (main):
5702 move over from testsuite dir and clean up
5703 * configure.ac:
5704 * gst/gsttag.c:
5705 * testsuite/Makefile.am:
5706 * testsuite/tags/.cvsignore:
5707 * testsuite/tags/Makefile.am:
5708 * testsuite/tags/merge.c:
5709 remove testsuite/tags
5711 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
5713 * docs/gst/gstreamer-sections.txt:
5714 * docs/gst/tmpl/gstenumtypes.sgml:
5715 * win32/gstenumtypes.c:
5716 clean up documentation build a little
5718 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
5720 * check/gstcheck.h:
5721 add macros for checking refcounts on objects and caps
5722 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
5723 add some more unit tests
5724 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
5725 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
5726 fix leaked refcounts (I hope :)) so unittest works
5727 * gst/gstpad.h:
5728 whitespace removal
5730 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
5732 * configure.ac: back to HEAD
5734 === release 0.9.1 ===
5736 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
5738 * NEWS:
5739 * RELEASE:
5740 updated
5742 2005-06-17 Andy Wingo <wingo@pobox.com>
5744 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
5745 assert; it's always possible that the pad gets deactivated in
5746 between the checks in gstpad.c and the implementation. Rely on
5747 finish_preroll() to return a FLUSHING or similar instead of on the
5748 assert.
5750 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
5751 clock and post an EOS message if we come out of finish_preroll in
5752 the playing state.
5754 2005-06-16 David Schleef <ds@schleef.org>
5756 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5757 (gst_capsfilter_set_property): Allow NULL as possible value
5758 for filter_caps property, indicating GST_CAPS_ANY.
5760 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
5762 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
5763 fix debug output
5764 * gst/schedulers/Makefile.am:
5765 use libgst prefix
5766 * gstreamer.spec.in:
5767 fix spec for it
5769 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
5771 * gstreamer.spec.in:
5772 clean up
5774 2005-06-08 Andy Wingo <wingo@pobox.com>
5776 * gst/gstutils.c: RPAD fixes all around.
5777 (gst_element_link_pads): Refcounting fixes.
5779 * tools/gst-inspect.c:
5780 * tools/gst-xmlinspect.c:
5781 * parse/grammar.y:
5782 * gst/base/gsttypefindhelper.c:
5783 * gst/base/gstbasesink.c:
5784 * gst/gstqueue.c: RPAD fixes.
5786 * gst/gstghostpad.h:
5787 * gst/gstghostpad.c: New ghost pad implementation as full proxy
5788 pads. The tricky thing is they provide both source and sink
5789 interfaces, since they proxy the internal pad for the external
5790 pad, and vice versa. Implement with lower-level ProxyPad objects,
5791 with the interior proxy pad as a child of the exterior ghost pad.
5792 Should write a doc on this.
5794 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
5795 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
5796 gst_object API.
5798 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
5799 pads are real pads. No ghost pads in this file. Not documenting
5800 the myriad s/RPAD/PAD/ and REALIZE fixes.
5801 (gst_pad_class_init): Add properties for "direction" and
5802 "template". Both are construct-only, so they can't change during
5803 the life of the pad. Fixes properly deriving from GstPad.
5804 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
5805 derived objects, just set properties when creating the objects via
5806 g_object_new.
5807 (gst_pad_get_parent): Implement as a function, return NULL if the
5808 parent is not an element.
5809 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
5810 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
5812 * gst/gstobject.c (gst_object_class_init): Make name a construct
5813 property. Don't set it in the object init.
5815 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
5816 with UNKNOWN direction.
5817 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
5818 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
5819 (gst_element_remove_pad): Remove ghost-pad special cases.
5820 (gst_element_pads_activate): Remove rpad cruft.
5822 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
5823 catch the pad's-parent-not-an-element case.
5825 * gst/gst.h: Include gstghostpad.h.
5827 * gst/gst.c (init_post): No more real, ghost pads.
5829 * gst/Makefile.am: Add gstghostpad.[ch].
5831 * check/Makefile.am:
5832 * check/gst/gstbin.c:
5833 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
5834 into a bin creates ghost pads, and that the refcounts are right.
5835 Partly moved from gstbin.c.
5837 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
5839 * check/gst-libs/.cvsignore:
5840 * check/gst/.cvsignore:
5841 * check/pipelines/.cvsignore:
5842 ignore more
5843 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
5844 (START_TEST), (cleanup_suite), (main):
5845 add some tests related to cleanup after running pipelines
5847 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
5849 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
5850 add a testsuite for GstBuffer
5852 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
5854 * gst/gstminiobject.h:
5855 add defines for accessing the refcount
5857 2005-06-03 Stefan Kost <ensonic@users.sf.net>
5859 * Makefile.am: added support for html unit test coverage reports
5861 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
5863 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
5864 Free existing caps if the capsfilter changes. Add a FIXME about
5865 setting those caps on the pads.
5867 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
5868 Before adding a ghost pad to a parent bin, check that there isn't
5869 already one for the element on the bin. Prevents infinite recursion
5870 when using decodebin in parse pipelines. Andy says he'll rewrite the
5871 way this works anyway, so ignore the hack.
5873 2005-06-02 Andy Wingo <wingo@pobox.com>
5875 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
5876 file size, pass it on to the type find helper.
5878 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
5879 segment_start and segment_end properly according to the seek
5880 method. Segment_end is still a bit flaky because offset can be
5881 negative for CUR and END cases, but it takes -1 as an "unset"
5882 value.
5884 2005-06-02 Wim Taymans <wim@fluendo.com>
5886 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
5887 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
5888 (gst_basesink_activate):
5889 * gst/base/gstbasesink.h:
5890 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
5891 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
5892 (gst_pad_query), (gst_pad_start_task):
5893 * gst/gstpad.h:
5894 * gst/gstqueue.c: (gst_queue_bufferalloc),
5895 (gst_queue_handle_sink_event), (gst_queue_chain):
5896 Bufferalloc: return GstFlowReturn to more accuratly report
5897 why allocation failed.
5899 2005-06-02 Wim Taymans <wim@fluendo.com>
5901 * gst/gstpipeline.c: (gst_pipeline_send_event):
5902 Take snapshot of state without blocking.
5904 2005-06-02 Wim Taymans <wim@fluendo.com>
5906 * docs/design/part-TODO.txt:
5907 * docs/design/part-caps.txt:
5908 * docs/design/part-clocks.txt:
5909 * docs/design/part-negotiation.txt:
5910 * docs/design/part-preroll.txt:
5911 Small doc updates
5913 2005-05-30 Wim Taymans <wim@fluendo.com>
5915 * gst/elements/gstidentity.c: (gst_identity_event),
5916 (gst_identity_transform), (gst_identity_get_property):
5917 Protect last_message property as it is accessed from
5918 multiple threads.
5920 2005-05-30 Wim Taymans <wim@fluendo.com>
5922 * gst/gstelement.c: (gst_element_init),
5923 (gst_element_pads_activate), (gst_element_change_state):
5924 Slicker pad activation code.
5926 2005-05-30 Wim Taymans <wim@fluendo.com>
5928 * gst/Makefile.am:
5929 * gst/gstelement.h:
5930 * gst/gstelementfactory.h:
5931 * gst/gsttypes.h:
5932 Move elementfactory methods to separate .h file.
5934 2005-05-30 Wim Taymans <wim@fluendo.com>
5936 * docs/design/part-overview.txt:
5937 * gst/gstsystemclock.h:
5938 Small typo fixes, doc updates.
5940 2005-05-30 Wim Taymans <wim@fluendo.com>
5942 * gst/gst.c: (gst_init_get_popt_table), (init_post),
5943 (init_popt_callback):
5944 Remove cpu-opt flag.
5946 2005-05-30 Wim Taymans <wim@fluendo.com>
5948 * gst/gstbuffer.c: (gst_subbuffer_finalize),
5949 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
5950 * gst/gstbuffer.h:
5951 Avoid typechecking in places where not needed.
5952 Added accessor for malloc_data.
5954 2005-05-30 Wim Taymans <wim@fluendo.com>
5956 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
5957 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
5958 (gst_pad_configure_sink), (gst_pad_configure_src),
5959 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
5960 (gst_pad_start_task):
5961 Propagate errors from _set_caps() in configure_src/sink
5962 functions instead of returning TRUE.
5963 FLUSH events can travel up and downstream
5966 2005-05-30 Wim Taymans <wim@fluendo.com>
5968 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
5969 (gst_basesink_activate):
5970 Handle EOS in preroll.
5972 2005-05-30 Wim Taymans <wim@fluendo.com>
5974 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
5975 (gst_queue_loop), (gst_queue_handle_src_event):
5976 Remove old pieces of code
5977 Flushing the queue in an upstream event is a very bad idea.
5979 2005-05-26 Andy Wingo <wingo@pobox.com>
5981 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
5982 gst_value_set_mini_object so as to add a ref on the object (which
5983 will be removed when the value is unset).
5985 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
5986 arg type in ::handoff.
5988 * gst/gstelement.c (gst_element_change_state): Also deactivate
5989 pads in READY->NULL, just in case the element didn't make it to
5990 PAUSED. Wingo tested, Wim approved.
5992 2005-05-26 Wim Taymans <wim@fluendo.com>
5994 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
5995 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
5996 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
5997 A flushing pad cannot be used to alloc_buffer from.
5999 2005-05-26 Wim Taymans <wim@fluendo.com>
6001 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
6002 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
6003 (gst_bus_source_dispatch), (gst_bus_source_finalize),
6004 (gst_bus_create_watch), (gst_bus_add_watch_full):
6005 * gst/gstbus.h:
6006 Implement a real GSource and use g_main_context_wakeup() to
6007 signal new messages instead of the socketpair.
6009 2005-05-25 Wim Taymans <wim@fluendo.com>
6011 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
6012 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
6013 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
6014 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
6015 (gst_pad_send_event), (gst_pad_start_task):
6016 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
6017 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
6018 (gst_queue_sink_activate), (gst_queue_src_activate),
6019 (gst_queue_change_state):
6020 * gst/gstqueue.h:
6021 Fix state changes for non sinks. We now change sinks, then elements
6022 with unconnected srcpads, then the rest.
6023 More efficient queue unlocking in flush and state changes.
6024 Set the pad activate mode even if it does not have an activate
6025 function.
6027 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6029 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
6030 Don't go in pull mode for non-seekable sources.
6031 * gst/elements/gsttypefindelement.h:
6032 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
6033 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
6034 (free_entry), (stop_typefinding),
6035 (gst_type_find_element_handle_event), (find_peek),
6036 (gst_type_find_element_chain), (do_pull_typefind),
6037 (gst_type_find_element_change_state):
6038 Allow typefinding (w/o seeking) in push-mode, simplified version
6039 of what was in 0.8.
6040 * gst/gstutils.c: (gst_buffer_join):
6041 * gst/gstutils.h:
6042 gst_buffer_join() from 0.8.
6044 2005-05-25 Wim Taymans <wim@fluendo.com>
6046 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
6047 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
6048 (gst_pad_send_event), (gst_pad_start_task):
6049 Disable attempt at mode switching until it is figured out.
6051 2005-05-25 Wim Taymans <wim@fluendo.com>
6053 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
6054 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
6055 (gst_basesink_finish_preroll), (gst_basesink_chain),
6056 (gst_basesink_loop), (gst_basesink_activate),
6057 (gst_basesink_change_state):
6058 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
6059 (gst_basesrc_get_range), (gst_basesrc_loop),
6060 (gst_basesrc_activate):
6061 * gst/elements/gsttee.c: (gst_tee_sink_activate):
6062 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
6063 (gst_real_pad_init), (gst_real_pad_set_property),
6064 (gst_real_pad_get_property), (gst_pad_set_active),
6065 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
6066 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
6067 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
6068 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
6069 (gst_pad_event_default_dispatch), (gst_pad_event_default),
6070 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
6071 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
6072 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
6073 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
6074 (gst_pad_stop_task):
6075 * gst/gstpad.h:
6076 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
6077 (gst_queue_loop), (gst_queue_src_activate):
6078 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
6079 (gst_task_get_state):
6080 * gst/gsttask.h:
6081 * gst/schedulers/threadscheduler.c:
6082 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
6083 Implement gst_pad_pause/start/stop_task(), take STREAM lock
6084 in task function.
6085 Remove ACTIVE pad flag, use FLUSHING everywhere
6086 Added _pad_chain(), _pad_get_range() to call chain/getrange
6087 functions.
6088 Add locks around IS_FLUSHING when reading.
6089 Take STREAM lock in chain(), get_range() functions so plugins
6090 don't need to take it anymore.
6094 2005-05-25 Wim Taymans <wim@fluendo.com>
6096 * tools/gst-launch.c: (event_loop):
6097 Unref message after using its contents instead of
6098 before.
6100 2005-05-24 Wim Taymans <wim@fluendo.com>
6102 * docs/design/draft-ghostpads.txt:
6103 * docs/design/draft-push-pull.txt:
6104 * docs/design/draft-query.txt:
6105 * docs/design/part-overview.txt:
6106 Docs updates, added general overview doc.
6108 2005-05-21 David Schleef <ds@schleef.org>
6110 * docs/gst/tmpl/old/GstBin.sgml:
6111 * docs/gst/tmpl/old/GstBuffer.sgml:
6112 * docs/gst/tmpl/old/GstCaps.sgml:
6113 * docs/gst/tmpl/old/GstClock.sgml:
6114 * docs/gst/tmpl/old/GstCompat.sgml:
6115 * docs/gst/tmpl/old/GstData.sgml:
6116 * docs/gst/tmpl/old/GstElement.sgml:
6117 * docs/gst/tmpl/old/GstEvent.sgml:
6118 * docs/gst/tmpl/old/GstIndex.sgml:
6119 * docs/gst/tmpl/old/GstStructure.sgml:
6120 * docs/gst/tmpl/old/GstTag.sgml:
6121 * docs/gst/tmpl/old/cothreads.sgml:
6122 * docs/gst/tmpl/old/cothreads_compat.sgml:
6123 * docs/gst/tmpl/old/gettext.sgml:
6124 * docs/gst/tmpl/old/gobject2gtk.sgml:
6125 * docs/gst/tmpl/old/grammar.tab.sgml:
6126 * docs/gst/tmpl/old/gst-i18n-app.sgml:
6127 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
6128 * docs/gst/tmpl/old/gst_private.sgml:
6129 * docs/gst/tmpl/old/gstaggregator.sgml:
6130 * docs/gst/tmpl/old/gstarch.sgml:
6131 * docs/gst/tmpl/old/gstatomic_impl.sgml:
6132 * docs/gst/tmpl/old/gstbufferstore.sgml:
6133 * docs/gst/tmpl/old/gstdata_private.sgml:
6134 * docs/gst/tmpl/old/gstdisksink.sgml:
6135 * docs/gst/tmpl/old/gstdisksrc.sgml:
6136 * docs/gst/tmpl/old/gstelementfactory.sgml:
6137 * docs/gst/tmpl/old/gstextratypes.sgml:
6138 * docs/gst/tmpl/old/gstfakesink.sgml:
6139 * docs/gst/tmpl/old/gstfakesrc.sgml:
6140 * docs/gst/tmpl/old/gstfdsink.sgml:
6141 * docs/gst/tmpl/old/gstfdsrc.sgml:
6142 * docs/gst/tmpl/old/gstfilesink.sgml:
6143 * docs/gst/tmpl/old/gstfilesrc.sgml:
6144 * docs/gst/tmpl/old/gsthttpsrc.sgml:
6145 * docs/gst/tmpl/old/gstidentity.sgml:
6146 * docs/gst/tmpl/old/gstindexfactory.sgml:
6147 * docs/gst/tmpl/old/gstmarshal.sgml:
6148 * docs/gst/tmpl/old/gstmd5sink.sgml:
6149 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
6150 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
6151 * docs/gst/tmpl/old/gstpadtemplate.sgml:
6152 * docs/gst/tmpl/old/gstpipefilter.sgml:
6153 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
6154 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
6155 * docs/gst/tmpl/old/gstshaper.sgml:
6156 * docs/gst/tmpl/old/gstspider.sgml:
6157 * docs/gst/tmpl/old/gstspideridentity.sgml:
6158 * docs/gst/tmpl/old/gststatistics.sgml:
6159 * docs/gst/tmpl/old/gsttee.sgml:
6160 * docs/gst/tmpl/old/gsttimecache.sgml:
6161 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
6162 * docs/gst/tmpl/old/gstxmlregistry.sgml:
6163 * docs/gst/tmpl/old/gthread-cothreads.sgml:
6164 * docs/gst/tmpl/old/types.sgml:
6165 I didn't intend to add these or check them in.
6167 2005-05-19 David Schleef <ds@schleef.org>
6169 * configure.ac: Use -no-common everywhere. In a sane world, it
6170 would be the default in libtool, because without it, you can't
6171 build DLLs on Windows.
6172 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
6173 * docs/gst/gstreamer-sections.txt:
6174 * docs/gst/tmpl/gstcpu.sgml:
6175 * docs/gst/tmpl/gstdata.sgml:
6176 * docs/gst/tmpl/gstthread.sgml:
6178 2005-05-19 David Schleef <ds@schleef.org>
6180 * gst/gstminiobject.c: (gst_value_set_mini_object),
6181 (gst_value_take_mini_object), (gst_value_get_mini_object):
6182 * gst/gstminiobject.h: Add GValue set/get functions.
6184 2005-05-19 Wim Taymans <wim@fluendo.com>
6186 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
6187 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
6188 (gst_subbuffer_init), (gst_buffer_is_span_fast):
6189 * gst/gstbuffer.h:
6190 * gst/gstbus.c: (gst_bus_post):
6191 * gst/gstelement.c: (gst_element_get_random_pad):
6192 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
6193 Make subbufer unref the parent in finalize.
6194 some more debugging info.
6197 2005-05-19 Wim Taymans <wim@fluendo.com>
6199 * gst/base/gstbasesink.c: (gst_basesink_class_init),
6200 (gst_basesink_init), (gst_basesink_finalize),
6201 (gst_basesink_activate), (gst_basesink_change_state):
6202 Don't free preroll queue too early.
6204 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6206 * gst/Makefile.am:
6207 * gst/ROADMAP:
6208 Hi, I'm outdated. Please shoot me.
6210 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6212 * gst/gstpipeline.c: (gst_pipeline_send_event):
6213 Do not access variables after they have been deleted.
6215 2005-05-19 Wim Taymans <wim@fluendo.com>
6217 * tools/gst-inspect.c: (print_plugin_features):
6218 A plugin feature does unfortunatly not use the
6219 object name yet...
6221 2005-05-18 Wim Taymans <wim@fluendo.com>
6223 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
6224 Port _span() functions to new subbuffers.
6226 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6228 * gst/gstbin.c: (gst_bin_add_func):
6229 Fix clock settery in bins when adding kids after the clock has
6230 been selected.
6232 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6234 * gst/elements/gstidentity.c: (gst_identity_class_init):
6235 Workaround until signals support GstMiniObject.
6237 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
6239 * gst/gstbuffer.c:
6240 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
6242 2005-05-18 Wim Taymans <wim@fluendo.com>
6244 * gst/base/Makefile.am:
6245 * gst/base/gstadapter.c: (gst_adapter_base_init),
6246 (gst_adapter_class_init), (gst_adapter_init),
6247 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
6248 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
6249 (gst_adapter_flush), (gst_adapter_available),
6250 (gst_adapter_available_fast):
6251 * gst/base/gstadapter.h:
6252 Ported and added adapter to the base classes.
6254 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6256 * gst/gst.c:
6257 * gst/gstmessage.c:
6258 Make sure the class is reffed/unreffed once before threads can be
6259 used. Fixes #304551.
6261 2005-05-17 Wim Taymans <wim@fluendo.com>
6263 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
6264 (gst_basesink_chain_unlocked), (gst_basesink_activate):
6265 * gst/gstminiobject.c: (gst_mini_object_get_type),
6266 (gst_mini_object_free):
6267 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
6268 (gst_pad_push), (gst_pad_push_event):
6269 * gst/gstqueue.c: (gst_queue_change_state):
6270 Don't queue buffers in basesink when we are flushing.
6271 Unref buffer when flushing in basesink.
6272 Flush queue when going to READY
6273 Unref buffer when _push() returns an error.
6274 Don't free MiniObject instance when refcount is incremented
6275 in _finalize() so that we can recover objects.
6277 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
6279 * docs/manual/advanced-schedulers.xml:
6280 * docs/manual/appendix-checklist.xml:
6281 * docs/pwg/advanced-clock.xml:
6282 * docs/pwg/advanced-interfaces.xml:
6283 * docs/pwg/advanced-request.xml:
6284 * docs/pwg/advanced-types.xml:
6285 * docs/pwg/intro-preface.xml:
6286 * examples/plugins/example.c: (gst_example_get_type),
6287 (gst_example_class_init), (gst_example_chain),
6288 (gst_example_set_property), (gst_example_get_property),
6289 (gst_example_change_state), (plugin_init):
6290 * examples/plugins/example.h:
6291 small doc fixes
6293 2005-05-17 Wim Taymans <wim@fluendo.com>
6295 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
6296 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
6297 * gst/gstqueue.c: (gst_queue_change_state):
6298 Clear queue when going to READY.
6299 Remove IN_SETCAPS flag too.
6301 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
6303 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
6304 Remove implicit cast from gboolean to GstElementStateReturn;
6305 make sure we still return failure in paused => ready case if
6306 the parent class fails to change state and our own stop
6307 vfunc succeeds.
6309 2005-05-17 Wim Taymans <wim@fluendo.com>
6311 * tools/gst-launch.c: (event_loop):
6312 Message was unreffed too soon.
6314 2005-05-16 Andy Wingo <wingo@pobox.com>
6316 * gst/gstbin.c (sink_iterator_filter): Err... um...
6318 * check/gst/gstbin.c (test_ghost_pads): New test for the
6319 ghosting-if-elements-not-in-same-bin behavior.
6321 2005-05-16 David Schleef <ds@schleef.org>
6323 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
6324 accessing refcount directly.
6326 2005-05-15 David Schleef <ds@schleef.org>
6328 * check/Makefile.am: remove GstData checks
6329 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
6330 * gst/Makefile.am: add miniobject, remove data
6331 * gst/gst.h: add miniobject, remove data
6332 * gst/gstdata.c: remove
6333 * gst/gstdata.h: remove
6334 * gst/gstdata_private.h: remove
6335 * gst/gsttypes.h: remove GstEvent and GstMessage
6336 * gst/gstelement.c: (gst_element_post_message): fix for API changes
6337 * gst/gstmarshal.list: change BOXED -> OBJECT
6339 Implement GstMiniObject.
6340 * gst/gstminiobject.c:
6341 * gst/gstminiobject.h:
6343 Modify to be subclasses of GstMiniObject.
6344 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
6345 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
6346 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
6347 (gst_subbuffer_get_type), (gst_subbuffer_init),
6348 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
6349 (gst_buffer_span):
6350 * gst/gstbuffer.h:
6351 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
6352 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
6353 (_gst_event_copy), (gst_event_new):
6354 * gst/gstevent.h:
6355 * gst/gstmessage.c: (_gst_message_initialize),
6356 (gst_message_get_type), (gst_message_class_init),
6357 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
6358 (gst_message_new), (gst_message_new_error),
6359 (gst_message_new_warning), (gst_message_new_tag),
6360 (gst_message_new_state_changed), (gst_message_new_application):
6361 * gst/gstmessage.h:
6362 * gst/gstprobe.c: (gst_probe_perform),
6363 (gst_probe_dispatcher_dispatch):
6364 * gst/gstprobe.h:
6365 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
6366 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
6367 (_gst_query_copy), (gst_query_new):
6369 Update elements for GstData -> GstMiniObject changes
6370 * gst/gstquery.h:
6371 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
6372 (gst_queue_chain), (gst_queue_loop):
6373 * gst/elements/gstbufferstore.c:
6374 (gst_buffer_store_add_buffer_func),
6375 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
6376 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
6377 (gst_fakesink_render):
6378 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
6379 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
6380 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
6381 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
6382 (gst_filesrc_create_read):
6383 * gst/elements/gstidentity.c: (gst_identity_class_init):
6384 * gst/elements/gsttypefindelement.c:
6385 (gst_type_find_element_src_event), (free_entry_buffers),
6386 (gst_type_find_element_handle_event):
6387 * libs/gst/dataprotocol/dataprotocol.c:
6388 (gst_dp_header_from_buffer):
6389 * libs/gst/dataprotocol/dataprotocol.h:
6390 * libs/gst/dataprotocol/dp-private.h:
6392 2005-05-15 David Schleef <ds@schleef.org>
6394 * gst/elements/gstelements.c: Don't include headers that were
6395 just removed.
6397 2005-05-15 David Schleef <ds@schleef.org>
6399 * gst/elements/Makefile.am: Remove some elements that don't
6400 need to be in the core (or even exist at all).
6401 * gst/elements/gstaggregator.c:
6402 * gst/elements/gstaggregator.h:
6403 * gst/elements/gstmd5sink.c:
6404 * gst/elements/gstmd5sink.h:
6405 * gst/elements/gstmultifilesrc.c:
6406 * gst/elements/gstmultifilesrc.h:
6407 * gst/elements/gstpipefilter.c:
6408 * gst/elements/gstpipefilter.h:
6409 * gst/elements/gstshaper.c:
6410 * gst/elements/gstshaper.h:
6411 * gst/elements/gststatistics.c:
6412 * gst/elements/gststatistics.h:
6413 * po/POTFILES.in: Remove above files.
6415 2005-05-14 Andy Wingo <wingo@pobox.com>
6417 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
6418 so as to get the refs right.
6419 (sink_iterator_filter): New function, wraps bin_element_is_sink,
6420 unreffing objects that don't pass the filter.
6422 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
6423 gst_element_set_bus.
6424 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
6425 normal cases, this will destroy the bus.
6427 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
6428 object.
6430 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
6431 has no sinks.
6433 2005-05-13 Andy Wingo <wingo@pobox.com>
6435 * gst/gstutils.c (gst_element_link_pads): Instead of calling
6436 gst_pad_link, call pad_link_maybe_ghosting,
6437 (pad_link_maybe_ghosting): Links pads, making sure that the
6438 elements being linked are in the same bin.
6439 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
6440 Helpers for pad_link_maybe_ghosting.
6442 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
6444 * configure.ac:
6445 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
6447 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
6449 * docs/design/part-element-source.txt:
6450 Mention GstPushSrc
6452 2005-05-12 Wim Taymans <wim@fluendo.com>
6454 * gst/base/gstbasesink.c: (gst_basesink_init),
6455 (gst_basesink_activate):
6456 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
6457 (gst_basesrc_is_seekable):
6458 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
6459 (bin_element_is_sink), (gst_bin_change_state):
6460 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
6461 * gst/gstelement.h:
6462 Identify sinks by their flag to avoid overly complicated
6463 checks (fow now).
6464 Do state changes even for elements not reachable from the
6465 sinks.
6466 BaseSink is a sink now :)
6467 Some more debugging info in the basesrc.
6470 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6472 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
6473 Implement _query on a bin, similar to _send_event.
6475 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
6477 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
6478 Discont event offset format should be GST_FORMAT_BYTES,
6479 not GST_FORMAT_TIME.
6481 2005-05-12 Wim Taymans <wim@fluendo.com>
6483 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
6484 Same fix as Ronald's but without the signal.
6486 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6488 * gst/gstutils.c: (gst_element_query_position):
6489 No, an element is not a pad.
6491 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6493 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
6494 (gst_bin_get_state):
6495 If a child is removed from a bin while we remove the child from
6496 the bin and while we're retrieving its state, signal this to the
6497 get_state function so we abort the wait (instead of waiting for
6498 a timeout) and can immediately re-iterate over all other elements.
6500 2005-05-12 Wim Taymans <wim@fluendo.com>
6502 * gst/base/Makefile.am:
6503 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
6504 (gst_basesrc_start):
6505 * gst/base/gstbasesrc.h:
6506 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
6507 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
6508 (gst_pushsrc_init), (gst_pushsrc_create):
6509 * gst/base/gstpushsrc.h:
6510 Added is_seekable to BaseSrc
6511 Added simple PushSrc.
6513 2005-05-11 Wim Taymans <wim@fluendo.com>
6515 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
6516 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
6517 (gst_element_link_pads), (gst_element_query_position),
6518 (gst_element_query_convert), (intersect_caps_func),
6519 (gst_pad_query_position), (gst_pad_query_convert):
6520 Fix refcounting in utils function.
6521 No point in trying to activate a pad when it's added, it could
6522 be added from the state change function and then we deadlock, the
6523 element has to decide what to do.
6525 2005-05-10 Andy Wingo <wingo@pobox.com>
6527 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
6528 *all* the arguments.
6530 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
6531 stream lock if it's a FLUSH_DONE; normal flushes don't get the
6532 lock (according to the docs -- if this is wrong change the docs).
6534 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
6535 flush messages in the NULL state.
6537 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
6538 message immediately and return.
6539 (gst_bus_set_flushing): New function. If a bus is flushing, it
6540 flushes out any queued messages and immediately unrefs new
6541 messages. This is so when an element goes to NULL, all of the
6542 unhandled messages coming from it can be freed, and their
6543 references to the element dropped. In other words: message source
6544 ref considered harmful :P
6546 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
6547 we're finished with it.
6549 * gst/gstmessage.c (gst_message_new_state_changed):
6551 2005-05-10 Wim Taymans <wim@fluendo.com>
6553 * gst/gstvalue.c: (gst_value_compare_flags),
6554 (gst_value_serialize_flags), (gst_value_deserialize_flags),
6555 (_gst_value_initialize):
6556 Added flags serialize/deserialize/compare code.
6558 2005-05-09 Andy Wingo <wingo@pobox.com>
6560 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
6561 Intersect the peer's caps with our caps.
6563 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6565 * gst/base/gsttypefindhelper.c: (helper_find_peek):
6566 * gst/elements/gsttypefindelement.c: (find_peek):
6567 Handle negative offsets better. Fixes decodebin.
6569 2005-05-09 Wim Taymans <wim@fluendo.com>
6571 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
6572 (gst_base_transform_event):
6573 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
6574 Implement accept_caps.
6575 Fix silly lock/unlock mismatch in base class.
6577 2005-05-09 Wim Taymans <wim@fluendo.com>
6579 * docs/design/draft-push-pull.txt:
6580 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
6581 * gst/elements/gstfilesink.c: (gst_filesink_init),
6582 (gst_filesink_query):
6583 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
6584 (gst_type_find_handle_src_query), (find_element_get_length):
6585 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
6586 * gst/gstelement.h:
6587 * gst/gstmessage.c:
6588 * gst/gstmessage.h:
6589 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
6590 (gst_real_pad_get_caps_unlocked),
6591 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
6592 (gst_pad_event_default_dispatch), (gst_pad_event_default),
6593 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
6594 (gst_real_pad_dispose), (gst_real_pad_finalize),
6595 (gst_pad_load_and_link), (gst_pad_save_thyself),
6596 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
6597 (gst_pad_check_pull_range), (gst_pad_pull_range),
6598 (gst_pad_template_get_type), (gst_pad_template_class_init),
6599 (gst_pad_template_init), (gst_pad_template_dispose),
6600 (name_is_valid), (gst_static_pad_template_get),
6601 (gst_pad_template_new), (gst_static_pad_template_get_caps),
6602 (gst_pad_template_get_caps), (gst_pad_set_element_private),
6603 (gst_pad_get_element_private), (gst_pad_start_task),
6604 (gst_pad_pause_task), (gst_pad_stop_task),
6605 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
6606 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
6607 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
6608 (gst_ghost_pad_new):
6609 * gst/gstpad.h:
6610 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
6611 (gst_query_new_position), (gst_query_set_position),
6612 (gst_query_parse_position), (gst_query_new_convert),
6613 (gst_query_set_convert), (gst_query_parse_convert):
6614 * gst/gstquery.h:
6615 * gst/gstqueryutils.c:
6616 * gst/gstqueryutils.h:
6617 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
6618 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
6619 (gst_queue_handle_src_query):
6620 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
6621 (gst_element_query_position), (gst_element_query_convert),
6622 (intersect_caps_func), (gst_pad_query_position),
6623 (gst_pad_query_convert):
6624 * gst/gstutils.h:
6625 * tools/gst-inspect.c: (print_pad_info):
6626 * tools/gst-xmlinspect.c: (print_element_info):
6627 Remove old query functions. Ported old code.
6628 Added position/convert helper functions to gstutils.
6629 Reordered gstpad.c code, grouping relevant things.
6630 Remove gst_message_new(), always need to speficy a specific
6631 message.
6634 2005-05-09 Andy Wingo <wingo@pobox.com>
6636 * gst/gstiterator.h: Add some includes.
6638 * gst/gstqueryutils.h: Include more headers.
6640 * gst/gstpad.h:
6641 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
6642 some uses of gst_pad_query.
6644 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
6645 NULL out parameters.
6646 (gst_query_new_position): New proc, allocates a new position
6647 query.
6649 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
6650 gstqueryutils.c to the build.
6652 * gst/gststructure.c (gst_structure_set_valist): Implement with
6653 the generic G_VALUE_COLLECT.
6655 2005-05-08 Edward Hervey <bilboed@bilboed.com>
6657 * gst/Makefile.am: (gst_headers):
6658 Added gstqueryutils.h to the list of headers to install, that was
6659 a 'nachty' move wingo :)
6661 2005-05-06 Andy Wingo <wingo@pobox.com>
6663 * gst/gstquery.h
6664 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
6665 GstData, init a memchunk.
6666 (standard_definitions): Add a few query types, deprecate a few.
6667 (gst_query_get_type): New proc.
6668 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
6669 implementation.
6670 (gst_query_new_application, gst_query_get_structure): New public
6671 procs.
6673 * docs/design/draft-query.txt: Removed LINKS from the query types,
6674 because all the rest can be dispatched to other pads -- seemed
6675 ugly to have a query that couldn't be dispatched. internal_links
6676 is fine as a pad method.
6678 * gst/gstpad.h: Add query2 as a pad method, add the new functions
6679 in gstpad.c, but maintain binary compatibility for the moment.
6680 Will fix before 0.9 is out.
6682 * gst/gstqueryutils.c:
6683 * gst/gstqueryutils.h: New files, implement 3 methods for each
6684 query type: parse_query, parse_response, and set. Probably need an
6685 allocator as well.
6687 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
6689 * gst/elements/gstfilesink.c (gst_filesink_query2):
6690 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
6691 query_types, and formats methods.
6693 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
6694 (gst_pad_set_query2_function): New functions.
6695 (gst_real_pad_init): Set query2_default as the default query2
6696 function. Basically just dispatches to internally linked pads.
6698 Needs review!
6700 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
6701 without using the atomic operations. Only one thread can possibly
6702 be accessing the data at this point. Changed so as to avoid
6703 gst_atomic operations.
6705 2005-05-06 Wim Taymans <wim@fluendo.com>
6707 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
6708 Also set caps if we use the fallback buffer alloc.
6710 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
6712 * docs/gst/Makefile.am:
6713 * docs/gst/gstreamer-docs.sgml:
6714 * docs/gst/gstreamer-sections.txt:
6715 * docs/gst/tmpl/gstatomic.sgml:
6716 * docs/gst/tmpl/gstmemchunk.sgml:
6717 * testsuite/elements/struct_i386.h:
6718 * win32/GStreamer.vcproj:
6719 * win32/Makefile:
6720 Purge GstAtomic stuff from docs and win32 makefiles as well
6722 2005-05-06 Wim Taymans <wim@fluendo.com>
6724 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
6725 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
6726 * gst/gstpad.c: (gst_pad_peer_get_caps):
6727 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
6728 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
6729 (gst_queue_src_activate), (gst_queue_change_state):
6730 * gst/gstqueue.h:
6731 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
6732 (intersect_caps_func):
6733 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
6734 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
6735 Some fixes for the peer_get_caps() change.
6737 2005-05-06 Wim Taymans <wim@fluendo.com>
6739 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
6740 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
6741 (gst_basesink_activate):
6742 Actually do something with error codes returned from the push
6743 functions.
6745 2005-05-06 Wim Taymans <wim@fluendo.com>
6747 * docs/design/part-element-sink.txt:
6748 * docs/design/part-element-source.txt:
6749 * gst/base/gstbasesink.c: (gst_basesink_class_init),
6750 (gst_basesink_event), (gst_basesink_activate):
6751 * gst/base/gstbasesink.h:
6752 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
6753 (gst_basesrc_activate):
6754 * gst/base/gstbasesrc.h:
6755 * gst/gstelement.c: (gst_element_pads_activate):
6756 Some more documentation.
6757 Fixed scheduling decision in _pads_activate().
6759 2005-05-05 Andy Wingo <wingo@pobox.com>
6761 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
6762 the test suite.
6764 2005-05-05 Wim Taymans <wim@fluendo.com>
6766 * gst/base/Makefile.am:
6767 * gst/base/gstbasesink.h:
6768 * gst/base/gstbasesrc.c: (gst_basesrc_init),
6769 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
6770 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
6771 (gst_collectpads_class_init), (gst_collectpads_init),
6772 (gst_collectpads_finalize), (gst_collectpads_new),
6773 (gst_collectpads_set_function), (gst_collectpads_add_pad),
6774 (find_pad), (gst_collectpads_remove_pad),
6775 (gst_collectpads_is_active), (gst_collectpads_collect),
6776 (gst_collectpads_collect_range), (gst_collectpads_start),
6777 (gst_collectpads_stop), (gst_collectpads_peek),
6778 (gst_collectpads_pop), (gst_collectpads_available),
6779 (gst_collectpads_read), (gst_collectpads_flush),
6780 (gst_collectpads_chain):
6781 * gst/base/gstcollectpads.h:
6782 * gst/elements/Makefile.am:
6783 * gst/elements/gstelements.c:
6784 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
6785 (gst_fakesink_get_times), (gst_fakesink_event),
6786 (gst_fakesink_preroll), (gst_fakesink_render):
6787 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
6788 (gst_filesink_init), (gst_filesink_set_location),
6789 (gst_filesink_open_file), (gst_filesink_close_file),
6790 (gst_filesink_pad_query), (gst_filesink_event),
6791 (gst_filesink_render), (gst_filesink_change_state):
6792 * gst/elements/gstfilesink.h:
6793 Added object to help in making collect pad based elements.
6794 Ported filesink.
6795 Make event function in sink baseclass return gboolean.
6797 2005-05-05 Wim Taymans <wim@fluendo.com>
6799 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
6800 (gst_bin_get_by_name):
6801 * gst/gstbuffer.h:
6802 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
6803 (gst_clock_finalize):
6804 * gst/gstdata.c: (gst_data_replace):
6805 * gst/gstdata.h:
6806 * gst/gstelement.c: (gst_element_request_pad),
6807 (gst_element_pads_activate):
6808 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
6809 (gst_object_unref):
6810 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
6811 (gst_pad_set_checkgetrange_function),
6812 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
6813 (gst_pad_check_pull_range), (gst_pad_pull_range),
6814 (gst_static_pad_template_get_caps), (gst_pad_start_task),
6815 (gst_pad_pause_task), (gst_pad_stop_task):
6816 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
6817 (gst_element_request_pad), (gst_pad_proxy_getcaps):
6818 Fix name lookup in GstBin.
6819 Added _data_replace() function and _buffer_replace()
6820 Use finalize method to clean up clock.
6821 Fix refcounting on request pads.
6822 Fix pad schedule mode error.
6823 Some more object refcounting debug info,
6826 2005-05-04 Andy Wingo <wingo@pobox.com>
6828 * check/Makefile.am:
6829 * docs/gst/tmpl/gstatomic.sgml:
6830 * docs/gst/tmpl/gstplugin.sgml:
6831 * gst/base/gstbasesink.c: (gst_basesink_activate):
6832 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
6833 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
6834 (gst_basesrc_query), (gst_basesrc_set_property),
6835 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
6836 (gst_basesrc_activate):
6837 * gst/base/gstbasesrc.h:
6838 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
6839 (gst_base_transform_src_activate):
6840 * gst/elements/gstelements.c:
6841 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6842 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
6843 * gst/elements/gsttee.c: (gst_tee_sink_activate):
6844 * gst/elements/gsttypefindelement.c: (find_element_get_length),
6845 (gst_type_find_element_checkgetrange),
6846 (gst_type_find_element_activate):
6847 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
6848 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
6849 (gst_caps_load_thyself):
6850 * gst/gstelement.c: (gst_element_pads_activate),
6851 (gst_element_save_thyself), (gst_element_restore_thyself):
6852 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
6853 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
6854 * gst/gstpad.h:
6855 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
6856 (gst_xml_parse_file), (gst_xml_parse_memory),
6857 (gst_xml_get_element), (gst_xml_make_element):
6858 * gst/indexers/gstfileindex.c: (gst_file_index_load),
6859 (_file_index_id_save_xml), (gst_file_index_commit):
6860 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
6861 (read_enum), (load_pad_template), (load_feature), (load_plugin),
6862 (load_paths):
6863 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
6864 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
6865 * tools/gst-complete.c: (main):
6866 * tools/gst-compprep.c: (main):
6867 * tools/gst-inspect.c: (print_element_properties_info):
6868 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
6869 * tools/gst-xmlinspect.c: (print_element_properties):
6870 GCC 4 fixen.
6872 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
6874 * gst/gstplugin.c: (gst_plugin_check_module),
6875 (gst_plugin_check_file), (gst_plugin_load_file):
6876 apply patch from #172526 to make register work on MacOSX
6878 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
6880 * docs/gst/tmpl/gstconfig.sgml:
6881 * gst/gstconfig.h.in:
6882 move documentation for some symbols. Add doc for GST_PTR_FORMAT
6883 * testsuite/debug/printf_extension.c: (main):
6884 Do not use GST_PTR_FORMAT on pointers to types with
6885 sizeof < sizeof(gpointer). Fixes test on 64-bit
6886 * testsuite/elements/property.h:
6887 use correct printf format
6889 2005-05-02 Wim Taymans <wim@fluendo.com>
6891 * docs/design/draft-push-pull.txt:
6892 * docs/design/draft-query.txt:
6893 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
6894 (gst_basesrc_start):
6895 Added draft for new query API.
6896 Added draft for better selecting scheduling methods.
6897 Make basesrc ignore length if the subclass does not support
6898 it.
6900 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
6902 * gst/Makefile.am:
6903 possible fixes for automake-1.5 - _LIBADD is reserved
6905 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
6907 * docs/faq/Makefile.am:
6908 * docs/manual/Makefile.am:
6909 * docs/manuals.mak:
6910 * docs/pwg/Makefile.am:
6911 * gst/Makefile.am:
6912 possible fixes for automake-1.5
6914 2005-04-28 Wim Taymans <wim@fluendo.com>
6916 * gst/base/gstbasesink.c: (gst_basesink_base_init),
6917 (gst_basesink_pad_getcaps), (gst_basesink_init),
6918 (gst_basesink_do_sync):
6919 * gst/gstclock.c: (gst_clock_entry_new):
6920 * gst/gstevent.c: (gst_event_discont_get_value):
6921 * gst/gstpipeline.c: (pipeline_bus_handler),
6922 (gst_pipeline_change_state):
6923 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
6924 Better debugging of clocking info.
6925 Allow NULL values when getting discont values.
6927 2005-04-27 Wim Taymans <wim@fluendo.com>
6929 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
6930 * check/gst/gstpad.c: (gst_pad_suite):
6931 Increase timeout for checks.
6933 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6935 * check/Makefile.am:
6936 fix the broken rule for cleanup. Apparently this rule is
6937 only needed on FC2, so maybe this warrants further autotool
6938 inspection.
6940 2005-04-26 Wim Taymans <wim@fluendo.com>
6942 * gst/gsttrashstack.h:
6943 Ooohh. a nasty one! After having a failed pop() from the stack,
6944 it's possible that the stack is empty. In that case, don't
6945 follow the NULL pointer.
6947 2005-04-25 Wim Taymans <wim@fluendo.com>
6949 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
6950 (gst_pad_set_checkgetrange_function),
6951 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
6952 (gst_pad_check_pull_range), (gst_pad_pull_range),
6953 (gst_static_pad_template_get_caps), (gst_pad_start_task),
6954 (gst_pad_pause_task), (gst_pad_stop_task):
6955 * gst/gstplugin.c: (gst_plugin_load):
6956 * gst/gstplugin.h:
6957 Remove gst_library_load as it does more harm than good with
6958 the new g_module flags.
6959 Revert bogus caps template check in pad linking, pad caps
6960 are important when linking not the template, which is more
6961 general than the current caps.
6963 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6965 * gst/autoplug/.cvsignore:
6966 * gst/autoplug/Makefile.am:
6967 * gst/autoplug/gstsearchfuncs.c:
6968 * gst/autoplug/gstsearchfuncs.h:
6969 * gst/autoplug/gstspider.c:
6970 * gst/autoplug/gstspider.h:
6971 * gst/autoplug/gstspideridentity.c:
6972 * gst/autoplug/gstspideridentity.h:
6973 * gst/autoplug/spidertest.c:
6974 Die, spider, die.
6976 2005-04-25 Wim Taymans <wim@fluendo.com>
6978 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
6979 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
6980 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
6981 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
6982 * gst/gstpad.h:
6983 Added stubs for unimplemented functions.
6985 2005-04-24 David Schleef <ds@schleef.org>
6987 * gst/gstpad.h: Disable some unimplemented functions. Wim,
6988 please fix.
6990 2005-04-24 David Schleef <ds@schleef.org>
6992 Convert everything from GstAtomicInt to g_atomic_int_*, and
6993 remove gstatomic.
6994 * gst/Makefile.am:
6995 * gst/gstatomic.c:
6996 * gst/gstatomic.h:
6997 * gst/gstatomic_impl.h:
6998 * gst/gstbuffer.c:
6999 * gst/gstcaps.c:
7000 * gst/gstcaps.h:
7001 * gst/gstclock.c:
7002 * gst/gstclock.h:
7003 * gst/gstdata.c:
7004 * gst/gstdata.h:
7005 * gst/gstdata_private.h:
7006 * gst/gstevent.c:
7007 * gst/gstinfo.c:
7008 * gst/gstinfo.h:
7009 * gst/gstmessage.c:
7010 * gst/gstobject.c:
7011 * gst/gstobject.h:
7012 * gst/gststructure.c:
7013 * gst/gststructure.h:
7014 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
7015 * gst/gstutils.h:
7017 2005-04-24 David Schleef <ds@schleef.org>
7019 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
7020 make the regressions tests work. Remove some code that is no
7021 longer true.
7022 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
7023 Disable warning for pads without templates.
7025 2005-04-24 David Schleef <ds@schleef.org>
7027 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
7028 functions that handle filtered links.
7029 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
7030 removed functions.
7031 * gst/gstutils.c: Fix/remove utility functions that handle
7032 filtered caps.
7033 * gst/gstutils.h:
7034 * gst/gstvalue.c: Add serialization/deserialization of caps
7035 * gst/parse/grammar.y: Ignore filtered caps when linking. This
7036 requires fixing so that the filter caps notation creates
7037 a capsfilter element and sets the filter_caps property. I
7038 think everyone probably wants to keep the shorthand notation.
7039 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
7040 * docs/gst/tmpl/gstpad.sgml:
7042 * gst/elements/gstelements.c: Register capsfilter element.
7043 * gst/Makefile.am: fix spacing
7044 * docs/random/ds/0.9-suggested-changes: random
7046 2005-04-23 David Schleef <ds@schleef.org>
7048 * gst/elements/Makefile.am:
7049 * gst/elements/gstcapsfilter.c: New element that acts like an
7050 identity, but filters caps. Will eventually replace filtered
7051 caps in pad linking.
7052 * gst/gstutils.c: (gst_element_create_all_pads): New function
7053 to create all the ALWAYS pads that are registered with an
7054 element class. This functionality should eventually be
7055 merged in with GstElement initialization.
7056 * gst/gstutils.h:
7057 * testsuite/trigger/README: part of trigger test code that should
7058 have been checked in a long time ago.
7060 2005-04-23 David Schleef <ds@schleef.org>
7062 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
7063 needed with new versions of libtool (nobody will confirm this),
7064 and hard to carry around.
7065 * gst/autoplug/Makefile.am:
7066 * gst/base/Makefile.am:
7067 * gst/elements/Makefile.am:
7068 * gst/indexers/Makefile.am:
7069 * gst/schedulers/Makefile.am:
7070 * libs/gst/bytestream/Makefile.am:
7071 * libs/gst/control/Makefile.am:
7072 * libs/gst/dataprotocol/Makefile.am:
7073 * libs/gst/getbits/Makefile.am:
7075 2005-04-21 Wim Taymans <wim@fluendo.com>
7077 * docs/design/draft-push-pull.txt:
7078 * docs/design/part-MT-refcounting.txt:
7079 * docs/design/part-TODO.txt:
7080 * docs/design/part-caps.txt:
7081 * docs/design/part-events.txt:
7082 * docs/design/part-gstbus.txt:
7083 * docs/design/part-gstpipeline.txt:
7084 * docs/design/part-messages.txt:
7085 * docs/design/part-push-pull.txt:
7086 * docs/design/part-query.txt:
7087 Some more docs.
7089 2005-04-21 Wim Taymans <wim@fluendo.com>
7091 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
7092 (gst_message_new), (gst_message_new_error),
7093 (gst_message_new_warning), (gst_message_new_tag),
7094 (gst_message_new_state_changed), (gst_message_new_application),
7095 (gst_message_get_structure):
7096 * gst/gstmessage.h:
7097 * gst/gststructure.c: (gst_structure_set_parent_refcount),
7098 (gst_structure_copy_conditional):
7099 Use parent refcount in GstMessage to ensure GstStructure
7100 consistency.
7101 Cleaned up headers a bit.
7104 2005-04-20 Wim Taymans <wim@fluendo.com>
7106 * gst/base/gstbasesink.c: (gst_basesink_base_init),
7107 (gst_basesink_pad_getcaps), (gst_basesink_init),
7108 (gst_basesink_chain_unlocked):
7109 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
7110 (gst_type_find_helper):
7111 * gst/elements/gsttypefindelement.c:
7112 (gst_type_find_element_have_type), (gst_type_find_element_init),
7113 (stop_typefinding), (gst_type_find_element_handle_event),
7114 (find_suggest), (gst_type_find_element_chain),
7115 (gst_type_find_element_checkgetrange),
7116 (gst_type_find_element_getrange), (do_typefind),
7117 (gst_type_find_element_activate):
7118 * gst/gstbuffer.c: (_gst_buffer_sub_free),
7119 (gst_buffer_default_free), (gst_buffer_default_copy),
7120 (gst_buffer_set_caps):
7121 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
7122 (gst_caps_replace):
7123 * gst/gstmessage.c: (gst_message_new),
7124 (gst_message_new_state_changed):
7125 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7126 (gst_pad_set_checkgetrange_function),
7127 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
7128 (gst_pad_set_caps), (gst_pad_check_pull_range),
7129 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
7130 * gst/gstpad.h:
7131 * gst/gsttypefind.c: (gst_type_find_register):
7132 Make gst_caps_replace() work like other _replace() functions.
7133 Use _caps_replace() where possible.
7134 Make sure _message_new() initialises its field.
7135 Add gst_static_pad_template_get_caps()
7138 2005-04-18 Andy Wingo <wingo@pobox.com>
7140 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
7141 on the peer, not the pad. I think that was a typo. Pass an extra
7142 arg to see if random access is possible. Activate the pads as
7143 PULL_RANGE if possible.
7145 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
7147 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
7148 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
7149 to PROP_....
7151 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7153 * docs/faq/using.xml:
7154 Add note on gstreamer-properties (#154996).
7156 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7158 * docs/random/bbb/optional-properties:
7159 Some analysis on optional properties.
7161 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7163 * docs/gst/tmpl/gstelementfactory.sgml:
7164 * gst/gstelement.h:
7165 * gst/gstelementfactory.c: (gst_element_factory_init),
7166 (gst_element_factory_cleanup), (gst_element_register),
7167 (__gst_element_factory_add_static_pad_template),
7168 (gst_element_factory_get_static_pad_templates),
7169 (gst_element_factory_can_src_caps),
7170 (gst_element_factory_can_sink_caps):
7171 * gst/registries/Makefile.am:
7172 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
7173 (gst_xml_registry_class_init), (gst_xml_registry_init),
7174 (gst_xml_registry_new), (gst_xml_registry_set_property),
7175 (gst_xml_registry_get_property), (get_time), (make_dir),
7176 (gst_xml_registry_get_perms_func),
7177 (plugin_times_older_than_recurse), (plugin_times_older_than),
7178 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
7179 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
7180 (add_to_char_array), (read_string), (read_uint), (read_enum),
7181 (load_pad_template), (load_feature), (load_plugin), (load_paths),
7182 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
7183 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
7184 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
7185 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
7186 (gst_xml_registry_rebuild):
7187 * gst/registries/gstlibxmlregistry.h:
7188 * tools/gst-compprep.c: (main):
7189 * tools/gst-inspect.c: (print_pad_templates_info):
7190 * tools/gst-xmlinspect.c: (print_element_info):
7191 Use libxml2 for registry parsing, use staticpadtemplates in
7192 elementfactories. Makes gst_init() +/- 10x faster.
7194 2005-04-12 Wim Taymans <wim@fluendo.com>
7196 * gst/base/Makefile.am:
7197 * gst/base/gstbasesink.c: (gst_basesink_base_init),
7198 (gst_basesink_pad_getcaps), (gst_basesink_init),
7199 (gst_basesink_event), (gst_basesink_change_state):
7200 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
7201 (gst_basesrc_init), (gst_basesrc_query),
7202 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
7203 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
7204 (gst_basesrc_check_get_range), (gst_basesrc_loop),
7205 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
7206 (gst_basesrc_stop), (gst_basesrc_activate),
7207 (gst_basesrc_change_state):
7208 * gst/base/gsttypefindhelper.c: (helper_find_peek),
7209 (helper_find_suggest), (gst_type_find_helper):
7210 * gst/base/gsttypefindhelper.h:
7211 * gst/elements/Makefile.am:
7212 * gst/elements/gstelements.c:
7213 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
7214 (gst_fakesink_get_times), (gst_fakesink_event),
7215 (gst_fakesink_preroll), (gst_fakesink_render):
7216 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7217 (gst_fakesrc_init), (gst_fakesrc_event_handler),
7218 (gst_fakesrc_get_property), (gst_fakesrc_create),
7219 (gst_fakesrc_start), (gst_fakesrc_stop):
7220 * gst/elements/gstfakesrc.h:
7221 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
7222 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
7223 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
7224 (gst_filesrc_create_read), (gst_filesrc_create),
7225 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
7226 (gst_filesrc_start):
7227 * gst/elements/gsttypefindelement.c:
7228 (gst_type_find_element_have_type), (gst_type_find_element_init),
7229 (start_typefinding), (stop_typefinding), (push_buffer_store),
7230 (gst_type_find_element_handle_event),
7231 (gst_type_find_element_chain),
7232 (gst_type_find_element_checkgetrange),
7233 (gst_type_find_element_getrange), (do_typefind),
7234 (gst_type_find_element_activate),
7235 (gst_type_find_element_change_state):
7236 * gst/elements/gsttypefindelement.h:
7237 * gst/gstpipeline.c: (pipeline_bus_handler):
7238 Added typefind helper.
7239 Small preroll fix in the base sink.
7240 Disable typefind code in basesrc.
7241 Crude port of typefindelement.
7242 Fakesrc cleanups.
7245 2005-04-11 Wim Taymans <wim@fluendo.com>
7247 * check/gst/gstbus.c: (gstbus_suite):
7248 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
7249 * check/gstcheck.h:
7250 Fix up the timeout so that the test does not fail.
7252 2005-04-06 Wim Taymans <wim@fluendo.com>
7254 * gst/base/README:
7255 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
7256 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
7257 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
7258 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
7259 (gst_basesrc_check_get_range), (gst_basesrc_loop),
7260 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
7261 (gst_basesrc_stop), (gst_basesrc_activate),
7262 (gst_basesrc_change_state), (basesrc_find_peek),
7263 (basesrc_find_suggest), (gst_basesrc_type_find):
7264 * gst/base/gstbasesrc.h:
7265 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
7266 (gst_filesrc_class_init), (gst_filesrc_init),
7267 (gst_filesrc_finalize), (gst_filesrc_set_location),
7268 (gst_filesrc_set_property), (gst_filesrc_get_property),
7269 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
7270 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
7271 (gst_filesrc_create_read), (gst_filesrc_create),
7272 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
7273 * gst/elements/gstfilesrc.h:
7274 * gst/gstelement.c: (gst_element_get_state_func),
7275 (gst_element_lost_state), (gst_element_pads_activate):
7276 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7277 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
7278 (gst_pad_pull_range):
7279 * gst/gstpad.h:
7280 More work on the generic source base class, implement seeking,
7281 query.
7282 Make filesrc extend the base source class.
7283 Added gst_pad_set_checkgetrange_function to GstPad.
7285 2005-04-06 Andy Wingo <wingo@pobox.com>
7287 * pkgconfig/gstreamer-base.pc.in:
7288 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
7290 * pkgconfig/Makefile.am:
7291 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
7293 2005-04-04 Wim Taymans <wim@fluendo.com>
7295 * gst/base/Makefile.am:
7296 * gst/base/README:
7297 * gst/base/gstbasesink.c: (gst_basesink_base_init),
7298 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
7299 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
7300 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
7301 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
7302 (gst_basesrc_base_init), (gst_basesrc_class_init),
7303 (gst_basesrc_init), (gst_basesrc_get_formats),
7304 (gst_basesrc_get_query_types), (gst_basesrc_query),
7305 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
7306 (gst_basesrc_set_property), (gst_basesrc_get_property),
7307 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
7308 (gst_basesrc_loop), (gst_basesrc_activate),
7309 (gst_basesrc_change_state):
7310 * gst/base/gstbasesrc.h:
7311 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
7312 (gst_fakesrc_class_init), (gst_fakesrc_init),
7313 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
7314 (gst_fakesrc_get_property), (gst_fakesrc_create):
7315 * gst/elements/gstfakesrc.h:
7316 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
7317 (gst_filesrc_open_file), (gst_filesrc_loop),
7318 (gst_filesrc_activate), (filesrc_find_peek),
7319 (gst_filesrc_type_find):
7320 Made base source class, make fakesrc extend it.
7321 Add comments to basesink class.
7322 Some filesrc cleanup.
7324 2005-03-31 David Schleef <ds@schleef.org>
7326 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
7327 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
7328 expected to link against libgstreamer.
7329 * gst/base/Makefile.am: link against libgstreamer
7330 * gst/elements/Makefile.am: same
7332 2005-03-31 Andy Wingo <wingo@pobox.com>
7334 * tests/instantiate/Makefile.am:
7335 * tests/instantiate/caps.c: Add test to test speed of caps copy
7336 and free.
7338 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
7339 GMemChunk to be fair.
7341 * gst/gsttrashstack.h: Remove warning about using the fallback
7342 trash stack implementation, it's still faster than malloc.
7344 2005-03-30 Andy Wingo <wingo@pobox.com>
7346 * tests/complexity.c: Add a copyright.
7348 2005-03-31 Wim Taymans <wim@fluendo.com>
7350 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
7351 (gst_base_transform_class_init), (gst_base_transform_init),
7352 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
7353 (gst_base_transform_get_property),
7354 (gst_base_transform_sink_activate),
7355 (gst_base_transform_src_activate),
7356 (gst_base_transform_change_state):
7357 * gst/base/gstbasetransform.h:
7358 * gst/elements/gstidentity.c: (gst_identity_class_init),
7359 (gst_identity_event), (gst_identity_check_perfect),
7360 (gst_identity_transform), (gst_identity_start),
7361 (gst_identity_stop):
7362 Added start/stop methods to transform base class so subclasses
7363 don't need to deal with state changes even.
7365 2005-03-31 Wim Taymans <wim@fluendo.com>
7367 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
7368 (gst_event_new_discontinuous), (gst_event_discont_get_value):
7369 * gst/gstevent.h:
7370 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7371 (gst_pad_pull_range):
7372 Added rate to the discont event to prepare for variable speed
7373 and reverse playback.
7375 2005-03-29 David Schleef <ds@schleef.org>
7377 * configure.ac:
7378 * testsuite/trigger/Makefile.am:
7379 * testsuite/trigger/trigger.c: A little example program to show
7380 how trigger-based elements can work.
7382 2005-03-29 Wim Taymans <wim@fluendo.com>
7384 * gst/base/Makefile.am:
7385 * gst/base/README:
7386 * gst/base/gstbasesink.c: (gst_basesink_get_type),
7387 (gst_basesink_base_init), (gst_basesink_class_init),
7388 (gst_basesink_pad_getcaps), (gst_basesink_init),
7389 (gst_basesink_activate), (gst_basesink_change_state):
7390 * gst/base/gstbasesink.h:
7391 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
7392 (gst_base_transform_base_init), (gst_base_transform_finalize),
7393 (gst_base_transform_class_init), (gst_base_transform_init),
7394 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
7395 (gst_base_transform_event), (gst_base_transform_getrange),
7396 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
7397 (gst_base_transform_set_property),
7398 (gst_base_transform_get_property),
7399 (gst_base_transform_sink_activate),
7400 (gst_base_transform_src_activate),
7401 (gst_base_transform_change_state):
7402 * gst/base/gstbasetransform.h:
7403 * gst/elements/gstidentity.c: (gst_identity_finalize),
7404 (gst_identity_class_init), (gst_identity_init),
7405 (gst_identity_event), (gst_identity_check_perfect),
7406 (gst_identity_transform), (gst_identity_set_property),
7407 (gst_identity_get_property), (gst_identity_change_state):
7408 * gst/elements/gstidentity.h:
7409 * gst/gstelement.c: (gst_element_get_state_func),
7410 (gst_element_lost_state), (gst_element_pads_activate):
7411 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7412 (gst_pad_check_pull_range), (gst_pad_pull_range):
7413 * gst/gstpad.h:
7414 Simplify pad activation.
7415 Added function to check if pull_range can be performed.
7416 Error out when pulling inactive or flushing pads.
7417 Removed const from refcounted types as it does not make sense.
7418 Simplify pad templates in basesink
7419 Added base class for simple 1-to-1 transforms.
7420 Make identity subclass the base transform.
7422 2005-03-29 Andy Wingo <wingo@pobox.com>
7424 * docs/libs/gstreamer-libs-overrides.txt:
7425 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
7426 really don't understand what's going on, but like whatever. I want
7427 green buildbot!
7429 * docs/gst/Makefile.am:
7430 * docs/libs/Makefile.am: Dist the overrides files.
7432 * check/Makefile.am (clean-local): Remove .libs directories.
7434 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
7435 elements to EXTRA_DIST, so po/ files are happy.
7437 * po/POTFILES.in: Er, remove it here.
7439 * po/POTFILES: Remove gstspider.c.
7441 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
7443 * docs/libs/gstreamer-libs-docs.sgml:
7444 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
7445 bytestream.
7447 * tests/complexity.c (main): Set the length of the preroll queue
7448 on the sinks to prevent a lockup.
7450 * libs/gst/dataprotocol/Makefile.am:
7451 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
7452 the same as the one in check/gst-libs/gdp.c.
7454 * po/, docs/gst/: Commit automatic changes to docs and po files.
7456 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
7457 the versioned libgstbase.
7459 * check/Makefile.am: Depend on an unversioned gst-register, seems
7460 to make autoconf happier.
7462 * gst/base/Makefile.am: Make libgstbase a versioned lib.
7464 2005-03-28 Wim Taymans <wim@fluendo.com>
7466 * configure.ac:
7467 * docs/design/part-gstelement.txt:
7468 * docs/design/part-negotiation.txt:
7469 * docs/design/part-preroll.txt:
7470 * docs/design/part-scheduling.txt:
7471 * docs/design/part-states.txt:
7472 * gst/Makefile.am:
7473 * gst/base/Makefile.am:
7474 * gst/base/README:
7475 * gst/base/gstbasesink.c: (gst_basesink_get_template),
7476 (gst_basesink_base_init), (gst_basesink_class_init),
7477 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
7478 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
7479 (gst_basesink_set_pad_functions),
7480 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
7481 (gst_basesink_set_property), (gst_basesink_get_property),
7482 (gst_base_sink_get_template), (gst_base_sink_get_caps),
7483 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
7484 (gst_basesink_preroll_queue_push),
7485 (gst_basesink_preroll_queue_empty),
7486 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
7487 (gst_basesink_event), (gst_basesink_get_times),
7488 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
7489 (gst_basesink_chain_unlocked), (gst_basesink_chain),
7490 (gst_basesink_loop), (gst_basesink_activate),
7491 (gst_basesink_change_state):
7492 * gst/base/gstbasesink.h:
7493 * gst/elements/Makefile.am:
7494 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
7495 (gst_fakesink_class_init), (gst_fakesink_init),
7496 (gst_fakesink_set_property), (gst_fakesink_get_property),
7497 (gst_fakesink_get_times), (gst_fakesink_event),
7498 (gst_fakesink_preroll), (gst_fakesink_render),
7499 (gst_fakesink_change_state):
7500 * gst/elements/gstfakesink.h:
7501 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
7502 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
7503 * gst/gstelement.c: (gst_element_add_pad),
7504 (gst_element_get_state_func), (gst_element_abort_state),
7505 (gst_element_commit_state), (gst_element_lost_state),
7506 (gst_element_set_state), (gst_element_pads_activate):
7507 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
7508 * gst/gstpipeline.c: (gst_pipeline_send_event),
7509 (gst_pipeline_change_state):
7510 Added state change code.
7511 Added/updated docs.
7512 Added sink base class, make fakesink extend the base class.
7513 Small cleanups in GstPipeline.
7515 2005-03-26 David Schleef <ds@schleef.org>
7517 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
7518 is broken and should be implemented in a different library.
7519 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
7520 * gst/gst.h: remove gstcpu.h
7521 * gst/gstcpu.c: remove
7522 * gst/gstcpu.h: remove
7523 * gst/Makefile.am.future: Remove this file. It's ancient.
7525 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7527 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
7528 (gst_bin_send_event):
7529 Add default event/set_manager handlers. The set_manager handler
7530 takes care that the manager is distributed over kids that were
7531 already in the bin before the manager was set. The event handler
7532 is a utility virtual function that sends the event over all sinks,
7533 so that gst_element_send_event (bin, event); has the expected
7534 behaviour.
7535 * gst/gstpad.c: (gst_pad_event_default):
7536 Re-install default event handling for discontinuities, so that
7537 seeking works without requiring hacks in applications or extra
7538 code in sinks.
7539 * gst/gstpipeline.c: (gst_pipeline_class_init),
7540 (gst_pipeline_send_event):
7541 Half hack, half utility: set a pipeline to PAUSED for seek events,
7542 since that is the only way we can guarantee a/v sync. Means that
7543 you can do gst_element_seek (pipeline, method, pos); on a pipeline
7544 and it "just works".
7546 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7548 * gst/gstpipeline.c: (gst_pipeline_use_clock):
7549 Lock/unlock mismatch.
7551 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
7553 * docs/faq/gst-uninstalled:
7554 add gst-plugins-base
7555 * docs/gst/Makefile.am:
7556 don't error out until docs are fixed
7557 * docs/gst/gstreamer.types:
7558 remove thread
7560 2005-03-22 Wim Taymans <wim@fluendo.com>
7562 * check/Makefile.am:
7563 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
7564 * gst/gststructure.c: (gst_structure_set_valist),
7565 (gst_structure_copy_conditional):
7566 Activated more tests.
7567 Added message test.
7568 Added G_TYPE_POINTER to GstStructure.
7571 2005-03-22 Wim Taymans <wim@fluendo.com>
7573 * docs/design/part-TODO.txt:
7574 * docs/design/part-events.txt:
7575 * docs/design/part-gstbin.txt:
7576 * docs/design/part-gstbus.txt:
7577 * docs/design/part-gstpipeline.txt:
7578 * docs/design/part-messages.txt:
7579 * gst/gstbus.c:
7580 * gst/gstmessage.c:
7581 Docs updates
7583 2005-03-21 Wim Taymans <wim@fluendo.com>
7585 * gst/gstbus.c: (gst_bus_post):
7586 Fix copy-and-paste error.
7588 2005-03-21 Wim Taymans <wim@fluendo.com>
7590 * check/Makefile.am:
7591 * gst/Makefile.am:
7592 * gst/elements/Makefile.am:
7593 * gst/elements/gstelements.c:
7594 * gst/elements/gstfakesink.c: (gst_fakesink_init),
7595 (gst_fakesink_event), (gst_fakesink_chain):
7596 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7597 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
7598 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
7599 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
7600 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
7601 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
7602 (gst_fakesrc_loop), (gst_fakesrc_activate),
7603 (gst_fakesrc_change_state):
7604 * gst/elements/gstfakesrc.h:
7605 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
7606 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
7607 (gst_filesrc_open_file), (gst_filesrc_loop),
7608 (gst_filesrc_activate), (gst_filesrc_change_state),
7609 (filesrc_find_peek), (filesrc_find_suggest),
7610 (gst_filesrc_type_find):
7611 * gst/elements/gstidentity.c: (gst_identity_finalize),
7612 (gst_identity_class_init), (gst_identity_init),
7613 (gst_identity_proxy_getcaps), (identity_queue_push),
7614 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
7615 (gst_identity_getrange), (gst_identity_chain),
7616 (gst_identity_sink_loop), (gst_identity_src_loop),
7617 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
7618 (gst_identity_set_property), (gst_identity_get_property),
7619 (gst_identity_change_state):
7620 * gst/elements/gstidentity.h:
7621 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
7622 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
7623 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
7624 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
7625 (gst_tee_sink_activate):
7626 * gst/elements/gsttee.h:
7627 * gst/gst.c: (gst_register_core_elements), (init_post):
7628 * gst/gst.h:
7629 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
7630 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
7631 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
7632 (gst_bin_change_state):
7633 * gst/gstbin.h:
7634 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
7635 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
7636 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
7637 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
7638 (gst_bus_set_sync_handler), (gst_bus_create_watch),
7639 (bus_watch_callback), (bus_watch_destroy),
7640 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
7641 (poll_timeout), (gst_bus_poll):
7642 * gst/gstbus.h:
7643 * gst/gstcaps.h:
7644 * gst/gstdata.h:
7645 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
7646 (gst_element_post_message), (gst_element_message_full),
7647 (gst_element_get_state_func), (gst_element_get_state),
7648 (gst_element_abort_state), (gst_element_commit_state),
7649 (gst_element_lost_state), (gst_element_set_state),
7650 (gst_element_pads_activate), (gst_element_change_state),
7651 (gst_element_dispose), (gst_element_set_manager_func),
7652 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
7653 (gst_element_set_manager), (gst_element_get_manager),
7654 (gst_element_set_bus), (gst_element_get_bus),
7655 (gst_element_set_scheduler), (gst_element_get_scheduler):
7656 * gst/gstelement.h:
7657 * gst/gstevent.c: (gst_event_new_segment_seek),
7658 (gst_event_new_flush):
7659 * gst/gstevent.h:
7660 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
7661 (_gst_message_free), (gst_message_get_type), (gst_message_new),
7662 (gst_message_new_eos), (gst_message_new_error),
7663 (gst_message_new_warning), (gst_message_new_tag),
7664 (gst_message_new_state_changed), (gst_message_new_application),
7665 (gst_message_get_structure), (gst_message_parse_tag),
7666 (gst_message_parse_state_changed), (gst_message_parse_error),
7667 (gst_message_parse_warning):
7668 * gst/gstmessage.h:
7669 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
7670 (gst_real_pad_set_property), (gst_pad_set_active),
7671 (gst_pad_is_active), (gst_pad_set_blocked_async),
7672 (gst_pad_set_blocked), (gst_pad_is_blocked),
7673 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
7674 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
7675 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
7676 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
7677 (gst_pad_link_filtered), (gst_pad_relink_filtered),
7678 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
7679 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
7680 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
7681 (gst_pad_set_caps), (gst_pad_configure_sink),
7682 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
7683 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
7684 (gst_real_pad_dispose), (gst_real_pad_finalize),
7685 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
7686 (gst_pad_event_default_dispatch), (gst_pad_event_default),
7687 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
7688 * gst/gstpad.h:
7689 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
7690 (pipeline_bus_handler), (gst_pipeline_change_state),
7691 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
7692 * gst/gstpipeline.h:
7693 * gst/gstprobe.h:
7694 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
7695 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
7696 (gst_queue_link_src), (gst_queue_bufferalloc),
7697 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
7698 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
7699 (gst_queue_loop), (gst_queue_handle_src_event),
7700 (gst_queue_handle_src_query), (gst_queue_src_activate),
7701 (gst_queue_change_state):
7702 * gst/gstqueue.h:
7703 * gst/gstscheduler.c: (gst_scheduler_init),
7704 (gst_scheduler_dispose), (gst_scheduler_create_task),
7705 (gst_scheduler_factory_create):
7706 * gst/gstscheduler.h:
7707 * gst/gststructure.c: (gst_structure_get_type),
7708 (gst_structure_copy_conditional):
7709 * gst/gststructure.h:
7710 * gst/gsttaginterface.h:
7711 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
7712 (gst_task_init), (gst_task_dispose), (gst_task_create),
7713 (gst_task_get_state), (gst_task_start), (gst_task_stop),
7714 (gst_task_pause):
7715 * gst/gsttask.h:
7716 * gst/gstthread.c:
7717 * gst/gstthread.h:
7718 * gst/gsttypes.h:
7719 * gst/schedulers/Makefile.am:
7720 * gst/schedulers/cothreads_compat.h:
7721 * gst/schedulers/entryscheduler.c:
7722 * gst/schedulers/faircothreads.c:
7723 * gst/schedulers/faircothreads.h:
7724 * gst/schedulers/fairscheduler.c:
7725 * gst/schedulers/gstbasicscheduler.c:
7726 * gst/schedulers/gstoptimalscheduler.c:
7727 * gst/schedulers/gthread-cothreads.h:
7728 * gst/schedulers/threadscheduler.c:
7729 (gst_thread_scheduler_task_get_type),
7730 (gst_thread_scheduler_task_class_init),
7731 (gst_thread_scheduler_task_init),
7732 (gst_thread_scheduler_task_start),
7733 (gst_thread_scheduler_task_stop),
7734 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
7735 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
7736 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
7737 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
7738 (plugin_init):
7739 * libs/gst/Makefile.am:
7740 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
7741 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
7742 (gst_file_pad_parent_set):
7743 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7744 (gst_dp_event_from_packet):
7745 * tests/complexity.c: (main):
7746 * tests/mass_elements.c: (main):
7747 * testsuite/states/locked.c: (message_received), (main):
7748 * testsuite/states/parent.c: (main):
7749 * tools/gst-inspect.c: (print_element_flag_info),
7750 (print_implementation_info), (print_pad_info):
7751 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
7752 (main):
7753 * tools/gst-md5sum.c: (event_loop), (main):
7754 * tools/gst-typefind.c: (main):
7755 * tools/gst-xmlinspect.c: (print_element_info):
7756 Next big merge.
7757 Added GstBus for mainloop integration.
7758 Added GstMessage for sending notifications on the bus.
7759 Added GstTask as an abstraction for pipeline entry points.
7760 Removed GstThread.
7761 Removed Schedulers.
7762 Simplified GstQueue for multithreaded core.
7763 Made _link threadsafe, removed old capsnego.
7764 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
7765 Added pad blocking functions.
7766 Reworked scheduling functions in GstPad to prepare for
7767 scheduling updates soon.
7768 Moved events out of data stream.
7769 Simplified GstEvent types.
7770 Added return values to push/pull.
7771 Removed clocking from GstElement.
7772 Added prototypes for state change function for next merge.
7773 Removed iterate from bins and state change management.
7774 Fixed some elements, disabled others for now.
7775 Fixed -inspect and -launch.
7776 Added check for GstBus.
7778 2005-03-10 Wim Taymans <wim@fluendo.com>
7780 * docs/design/part-MT-refcounting.txt:
7781 * docs/design/part-clocks.txt:
7782 * docs/design/part-gstelement.txt:
7783 * docs/design/part-gstobject.txt:
7784 * docs/design/part-standards.txt:
7785 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
7786 (gst_bin_remove_func), (gst_bin_remove):
7787 * gst/gstbin.h:
7788 * gst/gstbuffer.c:
7789 * gst/gstcaps.h:
7790 * testsuite/clock/clock1.c: (main):
7791 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
7792 (main):
7793 * testsuite/dlopen/loadgst.c: (do_test):
7794 * testsuite/refcounting/bin.c: (add_remove_test1),
7795 (add_remove_test2), (main):
7796 * testsuite/refcounting/element.c: (main):
7797 * testsuite/refcounting/element_pad.c: (main):
7798 * testsuite/refcounting/pad.c: (main):
7799 * tools/gst-launch.c: (sigint_handler_sighandler):
7800 * tools/gst-typefind.c: (main):
7801 Doc updates.
7802 Added doc about clock.
7803 removed gst_bin_iterate_recurse_up(), marked methods
7804 for removal.
7805 Fix more testsuites.
7807 2005-03-09 Wim Taymans <wim@fluendo.com>
7809 * gst/gstpad.c: (gst_pad_get_direction),
7810 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
7811 (gst_pad_collect_valist):
7812 * testsuite/bins/interface.c: (main):
7813 * testsuite/caps/audioscale.c: (test_caps):
7814 * testsuite/caps/caps.c: (test1), (test2), (test3):
7815 * testsuite/caps/deserialize.c: (main):
7816 * testsuite/caps/enumcaps.c: (main):
7817 * testsuite/caps/filtercaps.c: (main):
7818 * testsuite/caps/intersect2.c: (main):
7819 * testsuite/caps/random.c: (main):
7820 * testsuite/caps/renegotiate.c: (my_fixate), (main):
7821 * testsuite/caps/sets.c: (check_caps):
7822 * testsuite/caps/simplify.c: (check_caps), (main):
7823 * testsuite/caps/subtract.c: (check_caps):
7824 Fix _pad_get_direction wrt ghostpads.
7825 Fix caps testsuite.
7827 2005-03-09 Wim Taymans <wim@fluendo.com>
7829 * check/Makefile.am:
7830 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
7831 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
7832 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
7833 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
7834 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
7835 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
7836 (gst_bin_remove), (gst_bin_iterate_recurse_up),
7837 (bin_element_is_sink), (gst_bin_iterate_sinks),
7838 (gst_bin_iterate_all_by_interface):
7839 * gst/gstbin.h:
7840 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
7841 (gst_element_change_state), (gst_element_dispose),
7842 (gst_element_finalize), (gst_element_set_loop_function):
7843 * gst/gstelement.h:
7844 * gst/gstiterator.c: (find_custom_fold_func):
7845 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
7846 (gst_pad_collectv), (gst_pad_collect_valist),
7847 (gst_pad_template_new):
7848 * gst/gstpipeline.c: (gst_pipeline_class_init),
7849 (gst_pipeline_dispose), (gst_pipeline_set_property),
7850 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
7851 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
7852 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
7853 * gst/gstutils.h:
7854 * gst/schedulers/entryscheduler.c:
7855 * gst/schedulers/gstbasicscheduler.c:
7856 (gst_basic_scheduler_cothreaded_chain),
7857 (gst_basic_scheduler_chain_add_element):
7858 * testsuite/bins/interface.c: (main):
7859 Added GstBin test.
7860 Added GstSystemClock test.
7861 Implemented clock distribution code in GstBin.
7862 Implemented iterate sinks method for future use.
7863 Rearranged gstelement.h
7864 Fix GstIterator comparison bug.
7865 Moved some code to GstPipeline, mostly clocking related.
7867 2005-03-09 Wim Taymans <wim@fluendo.com>
7869 * configure.ac:
7870 * gst/gst_private.h:
7871 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
7872 (gst_bin_remove_func), (gst_bin_remove),
7873 (gst_bin_get_by_name_recurse_up):
7874 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
7875 (gst_clock_id_compare_func), (gst_clock_id_wait),
7876 (gst_clock_id_wait_async), (gst_clock_init),
7877 (gst_clock_adjust_unlocked), (gst_clock_get_time):
7878 * gst/gstelement.h:
7879 * gst/gstinfo.c: (_gst_debug_init):
7880 * gst/gstobject.h:
7881 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
7882 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
7883 * gst/gstpad.h:
7884 Bump version number, we're now 0.9.0
7885 Add future debugging category.
7886 Fix NULL _unref() in _get_by_name_recurse_up
7887 Rearrange gstpad.h.
7888 Update some docs.
7890 2005-03-08 Wim Taymans <wim@fluendo.com>
7892 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
7893 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
7894 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
7895 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
7896 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
7897 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
7898 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
7899 * gst/elements/gstidentity.c: (gst_identity_class_init):
7900 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
7901 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
7902 * gst/elements/gstshaper.c: (gst_shaper_class_init):
7903 * gst/elements/gststatistics.c: (gst_statistics_class_init):
7904 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
7905 (gst_tee_link):
7906 * gst/gstelement.c: (gst_element_class_init),
7907 (gst_element_base_class_init), (gst_element_init),
7908 (gst_element_get_random_pad), (gst_element_wait_state_change),
7909 (gst_element_change_state), (gst_element_dispose),
7910 (gst_element_finalize), (gst_element_set_loop_function):
7911 * gst/gstelement.h:
7912 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
7913 * gst/gstthread.c: (gst_thread_class_init),
7914 (gst_thread_release_children_locks), (gst_thread_change_state):
7915 * gst/schedulers/gstbasicscheduler.c:
7916 (gst_basic_scheduler_loopfunc_wrapper),
7917 (gst_basic_scheduler_chain_wrapper),
7918 (gst_basic_scheduler_src_wrapper),
7919 (gst_basic_scheduler_remove_element):
7920 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
7921 Remove threadsafe properties. Fix elements because GObject
7922 complains when installing a property before declaring a
7923 set/get_property handler.
7924 Rearrange gstelement.h file, use STATE macros for state locks.
7925 Free mutexes in the finalize method instead of dispose.
7927 2005-03-08 Wim Taymans <wim@fluendo.com>
7929 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
7930 * gst/gstthread.c: (gst_thread_release_children_locks):
7931 Added parentage check.
7932 Fix build og GstThread again.
7934 2005-03-08 Wim Taymans <wim@fluendo.com>
7936 * docs/design/part-MT-refcounting.txt:
7937 * docs/design/part-conventions.txt:
7938 * docs/design/part-gstobject.txt:
7939 * docs/design/part-relations.txt:
7940 * docs/design/part-standards.txt:
7941 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
7942 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
7943 (gst_bin_get_by_name), (gst_bin_get_by_interface),
7944 (gst_bin_iterate_all_by_interface):
7945 * gst/gstbuffer.h:
7946 * gst/gstclock.h:
7947 * gst/gstelement.c: (gst_element_class_init),
7948 (gst_element_change_state), (gst_element_set_loop_function):
7949 * gst/gstelement.h:
7950 * gst/gstiterator.c:
7951 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
7952 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
7953 (gst_object_dispatch_properties_changed), (gst_object_set_name),
7954 (gst_object_set_parent), (gst_object_unparent),
7955 (gst_object_check_uniqueness):
7956 * gst/gstobject.h:
7957 Docs updates, clean up some headers.
7959 2005-03-07 Wim Taymans <wim@fluendo.com>
7961 * check/.cvsignore:
7962 * check/Makefile.am:
7963 * check/gst-libs/.cvsignore:
7964 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
7965 * check/gst/.cvsignore:
7966 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
7967 (START_TEST), (gstbus_suite), (main):
7968 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
7969 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
7970 (gst_data_suite), (main):
7971 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
7972 (add_fold_func), (gstiterator_suite), (main):
7973 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
7974 (thread_name_object), (thread_name_object_default),
7975 (gst_object_name_compare), (gst_object_suite), (main):
7976 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
7977 (gst_pad_suite), (main):
7978 * check/gstcheck.c: (gst_check_log_message_func),
7979 (gst_check_log_critical_func), (gst_check_init):
7980 * check/gstcheck.h:
7981 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
7982 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
7983 Added checks.
7985 2005-03-07 Wim Taymans <wim@fluendo.com>
7987 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
7988 (gst_list_iterator_next), (gst_list_iterator_resync),
7989 (gst_list_iterator_free), (gst_iterator_new_list),
7990 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
7991 (gst_iterator_free), (gst_iterator_push), (filter_next),
7992 (filter_resync), (filter_uninit), (filter_free),
7993 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
7994 (gst_iterator_foreach), (find_custom_fold_func),
7995 (gst_iterator_find_custom):
7996 * gst/gstiterator.h:
7997 Added missing files.
7999 2005-03-07 Wim Taymans <wim@fluendo.com>
8001 * Makefile.am:
8002 * configure.ac:
8003 * docs/design/part-MT-refcounting.txt:
8004 * docs/design/part-conventions.txt:
8005 * docs/design/part-gstobject.txt:
8006 * docs/design/part-relations.txt:
8007 * examples/mixer/mixer.c: (main):
8008 * examples/thread/thread.c: (eos), (main):
8009 * gst/Makefile.am:
8010 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
8011 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
8012 (gst_spider_plug_from_srcpad):
8013 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
8014 (gst_spider_identity_change_state),
8015 (gst_spider_identity_sink_loop_type_finding):
8016 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
8017 * gst/elements/gstidentity.c: (gst_identity_init):
8018 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
8019 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
8020 * gst/elements/gsttypefindelement.c: (free_entry):
8021 * gst/gst.c:
8022 * gst/gst.h:
8023 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
8024 (gst_bin_set_clock_func), (gst_bin_auto_clock),
8025 (gst_bin_set_index), (gst_bin_set_element_sched),
8026 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
8027 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
8028 (gst_bin_iterate_elements), (iterate_child_recurse),
8029 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
8030 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
8031 (compare_interface), (gst_bin_get_by_interface),
8032 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
8033 * gst/gstbin.h:
8034 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
8035 (gst_buffer_default_free), (gst_buffer_default_copy),
8036 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
8037 (gst_buffer_create_sub):
8038 * gst/gstbuffer.h:
8039 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
8040 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
8041 (gst_caps_unref), (gst_static_caps_get),
8042 (gst_caps_remove_and_get_structure), (gst_caps_append),
8043 (gst_caps_append_structure), (gst_caps_remove_structure),
8044 (gst_caps_copy_nth), (gst_caps_set_simple),
8045 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
8046 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
8047 (gst_caps_structure_intersect_field), (gst_caps_intersect),
8048 (gst_caps_structure_subtract_field), (gst_caps_subtract),
8049 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
8050 (gst_caps_structure_figure_out_union),
8051 (gst_caps_switch_structures), (gst_caps_do_simplify),
8052 (gst_caps_replace), (gst_caps_from_string),
8053 (gst_caps_copy_conditional):
8054 * gst/gstcaps.h:
8055 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
8056 (_gst_clock_id_free), (gst_clock_id_unref),
8057 (gst_clock_id_compare_func), (gst_clock_id_wait),
8058 (gst_clock_id_wait_async), (gst_clock_class_init),
8059 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
8060 (gst_clock_get_time), (gst_clock_set_time_adjust),
8061 (gst_clock_set_property), (gst_clock_get_property):
8062 * gst/gstclock.h:
8063 * gst/gstcompat.h:
8064 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
8065 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
8066 * gst/gstdata.h:
8067 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
8068 (gst_element_requires_clock), (gst_element_provides_clock),
8069 (gst_element_set_clock), (gst_element_clock_wait),
8070 (gst_element_wait), (gst_element_set_time_delay),
8071 (gst_element_is_indexable), (gst_element_add_pad),
8072 (gst_element_add_ghost_pad), (gst_element_remove_pad),
8073 (pad_compare_name), (gst_element_get_static_pad),
8074 (gst_element_request_pad), (gst_element_get_request_pad),
8075 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
8076 (gst_element_class_get_pad_template_list),
8077 (gst_element_class_get_pad_template), (gst_element_error_func),
8078 (gst_element_get_random_pad), (gst_element_get_event_masks),
8079 (gst_element_send_event), (gst_element_seek),
8080 (gst_element_get_query_types), (gst_element_query),
8081 (gst_element_get_formats), (gst_element_convert),
8082 (gst_element_is_locked_state), (gst_element_set_locked_state),
8083 (gst_element_sync_state_with_parent), (gst_element_change_state),
8084 (gst_element_finalize), (gst_element_yield),
8085 (gst_element_interrupt), (gst_element_set_scheduler),
8086 (gst_element_get_scheduler), (gst_element_set_loop_function):
8087 * gst/gstelement.h:
8088 * gst/gstevent.h:
8089 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
8090 (gst_format_get_by_nick), (gst_format_get_details),
8091 (gst_format_iterate_definitions):
8092 * gst/gstformat.h:
8093 * gst/gstindex.c: (gst_index_gtype_resolver):
8094 * gst/gstinfo.c:
8095 * gst/gstinfo.h:
8096 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
8097 (gst_mem_chunk_free):
8098 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
8099 (gst_object_ref), (gst_object_unref), (gst_object_sink),
8100 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
8101 (gst_object_dispatch_properties_changed),
8102 (gst_object_set_name_default), (gst_object_set_name),
8103 (gst_object_get_name), (gst_object_set_name_prefix),
8104 (gst_object_get_name_prefix), (gst_object_set_parent),
8105 (gst_object_get_parent), (gst_object_unparent),
8106 (gst_object_check_uniqueness), (gst_object_save_thyself),
8107 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
8108 (gst_object_set_property), (gst_object_get_property),
8109 (gst_object_get_path_string):
8110 * gst/gstobject.h:
8111 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
8112 (gst_real_pad_init), (gst_real_pad_get_property),
8113 (gst_pad_custom_new), (gst_pad_get_direction),
8114 (gst_pad_set_active), (gst_pad_is_active),
8115 (gst_pad_set_event_function), (gst_pad_is_linked),
8116 (gst_pad_link_free), (gst_pad_link_intersect),
8117 (gst_pad_link_fixate), (gst_pad_set_caps),
8118 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
8119 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
8120 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
8121 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
8122 (gst_pad_get_caps), (gst_pad_peer_get_caps),
8123 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
8124 (gst_pad_realize), (gst_pad_get_allowed_caps),
8125 (gst_real_pad_dispose), (gst_real_pad_finalize),
8126 (gst_pad_collectv), (gst_pad_collect_valist),
8127 (gst_pad_template_dispose), (gst_pad_template_new),
8128 (gst_pad_get_internal_links):
8129 * gst/gstpad.h:
8130 * gst/gstpipeline.c: (gst_pipeline_dispose),
8131 (gst_pipeline_change_state):
8132 * gst/gstpipeline.h:
8133 * gst/gstplugin.c:
8134 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
8135 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
8136 * gst/gstpluginfeature.h:
8137 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
8138 * gst/gstquery.c: (_gst_query_type_initialize),
8139 (gst_query_type_register), (gst_query_type_get_by_nick),
8140 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
8141 * gst/gstquery.h:
8142 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
8143 * gst/gstscheduler.c: (gst_scheduler_add_element),
8144 (gst_scheduler_factory_create):
8145 * gst/gststructure.c: (gst_structure_set_parent_refcount),
8146 (gst_structure_free), (gst_structure_set_name),
8147 (gst_structure_id_set_value), (gst_structure_set_value),
8148 (gst_structure_set_valist), (gst_structure_remove_field),
8149 (gst_structure_remove_fields),
8150 (gst_structure_remove_fields_valist),
8151 (gst_structure_remove_all_fields), (gst_structure_foreach),
8152 (gst_structure_map_in_place),
8153 (gst_caps_structure_fixate_field_nearest_int),
8154 (gst_caps_structure_fixate_field_nearest_double):
8155 * gst/gststructure.h:
8156 * gst/gstsystemclock.c: (gst_system_clock_class_init),
8157 (gst_system_clock_init), (gst_system_clock_dispose),
8158 (gst_system_clock_async_thread),
8159 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
8160 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
8161 * gst/gstsystemclock.h:
8162 * gst/gsttag.c: (gst_tag_list_add_value_internal),
8163 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
8164 * gst/gsttaginterface.c:
8165 * gst/gstthread.c: (gst_thread_dispose),
8166 (gst_thread_release_children_locks), (gst_thread_change_state),
8167 (gst_thread_main_loop):
8168 * gst/gsttrashstack.h:
8169 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
8170 * gst/gsttypes.h:
8171 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8172 (gst_element_request_pad), (gst_element_get_pad_from_template),
8173 (gst_element_request_compatible_pad),
8174 (gst_element_get_compatible_pad_filtered),
8175 (gst_element_get_compatible_pad), (gst_element_state_get_name),
8176 (gst_element_link_pads_filtered), (gst_element_link_filtered),
8177 (gst_element_link_many), (gst_element_link),
8178 (gst_element_link_pads), (gst_element_unlink_pads),
8179 (gst_element_unlink_many), (gst_element_unlink),
8180 (gst_pad_can_link_filtered), (gst_pad_can_link),
8181 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
8182 (gst_object_default_error), (gst_bin_add_many),
8183 (gst_bin_remove_many), (gst_element_populate_std_props),
8184 (gst_element_class_install_std_props), (gst_buffer_merge),
8185 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
8186 (link_fold_func), (gst_pad_proxy_setcaps):
8187 * gst/gstutils.h:
8188 * gst/gstvalue.c: (gst_value_deserialize_string):
8189 * gst/parse/grammar.y:
8190 * gst/schedulers/gstbasicscheduler.c:
8191 (gst_basic_scheduler_cothreaded_chain),
8192 (gst_basic_scheduler_chain_recursive_add),
8193 (gst_basic_scheduler_pad_link):
8194 * gst/schedulers/gstoptimalscheduler.c:
8195 (get_group_schedule_function),
8196 (gst_opt_scheduler_state_transition),
8197 (gst_opt_scheduler_add_element), (element_get_reachables_func):
8198 * libs/gst/bytestream/bytestream.c:
8199 * libs/gst/dataprotocol/dataprotocol.c:
8200 (gst_dp_header_from_buffer):
8201 * po/nb.po:
8202 * po/ru.po:
8203 * tests/threadstate/threadstate2.c: (eos):
8204 * tools/gst-compprep.c: (main):
8205 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
8206 (print_pad_info), (print_children_info):
8207 * tools/gst-launch.c: (idle_func), (main):
8208 * tools/gst-md5sum.c: (idle_func), (main):
8209 * tools/gst-xmlinspect.c: (print_element_info):
8210 First THREADED backport attempt, focusing on adding locks and
8211 making sure the API is threadsafe. Needs more work. More docs
8212 follow this week.
8214 2005-02-24 Andy Wingo <wingo@pobox.com>
8216 * tests/bench-complexity.scm:
8217 * tests/complexity.gnuplot: New files, good for running complexity
8218 benchmarks.
8220 * tests/Makefile.am:
8221 * tests/complexity.c: New test, sets up N elements, at each level
8222 teeing into M streams per element. Eeeenteresting.
8224 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
8225 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
8226 running bench-mass_elements.scm.
8228 * tests/bench-mass_elements.scm: New script, runs mass_elements
8229 for various numbers of identities, outputting the results to a
8230 file. Requires guile 1.6. Just for testing.
8232 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
8234 * gst/schedulers/fairscheduler.c:
8235 compile with debug disabled
8237 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
8239 * configure.ac:
8240 hunting season on 0.9 is now OPEN