1 2006-07-03 Wim Taymans <wim@fluendo.com>
3 * docs/design/part-block.txt:
4 * docs/design/part-dynamic.txt:
7 2006-07-03 Wim Taymans <wim@fluendo.com>
9 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
10 (gst_caps_unref), (gst_static_caps_get),
11 (gst_caps_append_structure):
12 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
13 Use GSlice when the glib we build against is >= 2.10
15 2006-07-03 Wim Taymans <wim@fluendo.com>
17 * gst/gstelement.c: (gst_element_pads_activate):
18 Small cleanup in pad activation code.
20 2006-07-03 Wim Taymans <wim@fluendo.com>
22 Patch by: Peter Kjellerstedt <pkj at axis dot com>
26 * tools/gst-inspect.c: (print_signal_info):
27 The attached patch will make the inclusion of gettext.h unconditional in
28 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
29 libintl.h in tools/gst-inspect.c.
30 This allows use of --disable-nls again and fixes #344642.
32 2006-07-03 Edward Hervey <edward@fluendo.com>
34 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
35 Implement pad blocking on events according to part-block.txt.
36 More comments on behaviour.
37 * tests/check/gst/gstevent.c: (test_event):
38 Send event to peer pad of blocked pad (else it will block).
40 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
42 * libs/gst/check/gstcheck.c: (gst_check_message_error),
43 (gst_check_run_suite):
44 if we get the wrong message, give us the types as string
45 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
47 * tests/check/elements/filesrc.c: (GST_START_TEST):
48 add a test for trying to open a non-existing file
50 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
52 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
53 add a test for adding self
55 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
57 * libs/gst/check/gstcheck.h:
58 add some assert_ as alias for fail_unless_*
59 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
60 increase test coverage
62 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
65 include lcov.mak for lcov coverage generation
69 2006-07-02 Edward Hervey <edward@fluendo.com>
71 * tests/check/elements/.cvsignore:
74 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
77 don't set CFLAGS and friends for gcov, done from GST_GCOV now
78 * tests/check/Makefile.am:
81 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
83 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
84 remove gst_caps_simplify; it was not declared and not used
87 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
89 * docs/faq/gst-uninstalled:
90 don't put empty paths on PYTHONPATH
91 * docs/gst/gstreamer-sections.txt:
92 remove some symbols that are not there
94 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
96 * gst/gstcaps.c: (gst_caps_compare_structures):
98 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
99 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
102 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
104 * libs/gst/dataprotocol/Makefile.am:
105 build dataprotocol test by linking to the lib, instead of
106 compiling the source, so we get coverage
107 * tests/check/Makefile.am:
108 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
109 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
110 add a test for filesrc
112 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
114 * tests/check/gst/gststructure.c: (GST_START_TEST),
115 (gst_structure_suite):
116 Push coverage from 59.04% to 70.00%
118 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
120 * tests/check/Makefile.am:
121 gst-inspect every element; this makes sure that we also get
122 coverage on element's get/set functions
124 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
127 set CFLAGS and friends to -O0 if gcov is being used
130 * libs/gst/base/Makefile.am:
131 * libs/gst/check/Makefile.am:
132 * libs/gst/controller/Makefile.am:
133 * libs/gst/dataprotocol/Makefile.am:
134 * libs/gst/net/Makefile.am:
135 * plugins/elements/Makefile.am:
136 * plugins/indexers/Makefile.am:
137 add makefile rules to generate gcov data and clean up
138 * tests/check/Makefile.am:
139 add a coverage target that generates an html overview
142 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
144 * tests/check/elements/fakesink.c:
145 * tests/check/elements/fakesrc.c:
146 * tests/check/elements/fdsrc.c:
147 * tests/check/elements/identity.c:
148 * tests/check/generic/sinks.c: (gst_sinks_suite):
149 * tests/check/generic/states.c:
150 * tests/check/gst/gst.c:
151 * tests/check/gst/gstabi.c:
152 * tests/check/gst/gstbin.c:
153 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
154 * tests/check/gst/gstbus.c: (gst_bus_suite):
155 * tests/check/gst/gstcaps.c: (GST_START_TEST):
156 * tests/check/gst/gstelement.c:
157 * tests/check/gst/gstevent.c: (gst_event_suite):
158 * tests/check/gst/gstghostpad.c:
159 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
160 * tests/check/gst/gstmessage.c: (gst_message_suite):
161 * tests/check/gst/gstminiobject.c:
162 * tests/check/gst/gstobject.c:
163 * tests/check/gst/gstpad.c:
164 * tests/check/gst/gstpipeline.c:
165 * tests/check/gst/gstplugin.c:
166 * tests/check/gst/gstquery.c: (gst_query_suite):
167 * tests/check/gst/gstsegment.c: (gst_segment_suite):
168 * tests/check/gst/gststructure.c:
169 * tests/check/gst/gstsystemclock.c:
170 * tests/check/gst/gsttag.c:
171 * tests/check/gst/gsttask.c: (gst_task_suite):
172 * tests/check/gst/gstutils.c:
173 * tests/check/gst/gstvalue.c:
174 * tests/check/libs/adapter.c:
175 * tests/check/libs/basesrc.c:
176 * tests/check/libs/collectpads.c:
177 * tests/check/libs/controller.c:
178 * tests/check/libs/gdp.c: (gst_dp_suite):
179 * tests/check/libs/gstnetclientclock.c:
180 * tests/check/libs/gstnettimeprovider.c:
181 * tests/check/libs/libsabi.c: (libsabi_suite):
182 * tests/check/libs/typefindhelper.c:
183 * tests/check/pipelines/cleanup.c:
184 * tests/check/pipelines/parse-launch.c:
185 * tests/check/pipelines/simple-launch-lines.c:
186 * tests/check/pipelines/stress.c: (stress_suite):
189 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
191 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
192 * libs/gst/check/gstcheck.h:
193 create a macro and function so that the simple unit test
194 case can be just one macro to create main()
196 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
198 * gst/gstbin.c: (gst_bin_restore_thyself):
199 * gst/gstxml.c: (gst_xml_make_element):
200 Fix deserialisation from XML. Set parent manually
201 instead of using gst_bin_add(), since gst_bin_add()
202 will unlink all pads of the element being added.
205 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
207 Patch by: Peter Kjellerstedt <pkj at axis com>
209 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
210 Fix missing g_strdup() and double free when using the
211 --gst-plugin-load command line option (#346097).
213 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
216 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
218 * libs/gst/net/gstnetclientclock.c:
219 * libs/gst/net/gstnettimeprovider.c:
220 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
222 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
224 * docs/manual/advanced-dataaccess.xml:
225 Fix buffer probe example compilation in
228 2006-06-22 Edward Hervey <edward@fluendo.com>
230 * gst/gstelement.c: (gst_element_pads_activate):
231 We need to deactivate src pads first and then sink pads.
232 The reason is the src pads might be blocking while holding the streaming
233 lock, so we need to deactivate them first so that deactivating the sink
234 pads doesn't block (since it will require the streaming lock).
236 2006-06-22 Wim Taymans <wim@fluendo.com>
238 * libs/gst/base/gstbasetransform.c:
239 (gst_base_transform_buffer_alloc):
240 Forgot to remove two unneeded unrefs.
241 Simplify a check _is_equal allready checks the obvious case.
243 2006-06-22 Wim Taymans <wim@fluendo.com>
245 * docs/design/part-block.txt:
246 Some docs about what pad_block should do.
248 2006-06-22 Wim Taymans <wim@fluendo.com>
250 * gst/gstcaps.c: (gst_caps_replace):
251 Fix crasher when passed NULL. Doc clarification.
252 Optimize for the trivial case.
254 * gst/gstpipeline.c: (gst_pipeline_change_state):
257 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
258 Small documentation cleanup.
260 * libs/gst/base/gstbasetransform.c:
261 (gst_base_transform_buffer_alloc):
262 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
263 is what we need and it avoids a whole lot of redundant
266 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
268 Patch by: Philip Jägenstedt <philip at lysator liu se>
270 * docs/manual/advanced-dataaccess.xml:
271 Fix 'Embedding static elements' section to use
272 GST_PLUGIN_DEFINE_STATIC (#345607).
274 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
276 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
277 Attempt to 'fix' spuriously failing test case: it seems like the
278 timeout of half a second is simply too small when the system is under
279 load otherwise, and the timeout doesn't really seem to serve any
280 particular purpose here. Give the pipeline a few seconds to preroll
281 first, and then give it another half a second to go from PAUSED to
282 PLAYING and marshal the message into the main thread.
284 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
286 * tools/gst-feedback-m.m:
287 Don't only use unversioned tools, try versioned tools as well
290 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
292 * gst/gstbus.c: (gst_bus_class_init):
293 Fix some typos, make docs more explicit.
295 2006-06-20 Wim Taymans <wim@fluendo.com>
297 * tests/check/gst/gstghostpad.c: (block_callback),
298 (GST_START_TEST), (gst_ghost_pad_suite):
299 Added some more ghostpad tests, mainly blocking
302 2006-06-16 Wim Taymans <wim@fluendo.com>
304 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
305 (gst_file_sink_close_file), (gst_file_sink_do_seek),
306 (gst_file_sink_event), (gst_file_sink_render):
307 * plugins/elements/gstfilesink.h:
308 Check if we can seek in the file instead of assuming
309 we always can. Post an error when we are asked to seek in a
310 non-seekable file (like a fifo). Fixes #343312.
313 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
315 * tools/gst-launch.1.in:
316 Un-garble (fourcc) bit in filtered caps section.
318 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
320 * docs/manual/advanced-autoplugging.xml:
321 * docs/manual/basics-helloworld.xml:
322 * docs/manual/highlevel-components.xml:
323 Don't leak bus reference in sample code.
325 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
328 Add default for new --enable-plugin-docs switch.
331 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
335 Use new ENABLE_PLUGIN_DOCS conditional.
337 2006-06-14 Wim Taymans <wim@fluendo.com>
339 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
340 Make it clear with a FIXME and a real define what the #if 0
343 2006-06-14 Wim Taymans <wim@fluendo.com>
345 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
346 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
347 * libs/gst/base/gstbasetransform.c:
348 (gst_base_transform_sink_eventfunc):
349 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
350 Don't randomly and silently reset a segment when the format
351 changes as this is a bug somewhere upstream. Fixes #330379.
353 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
355 Patch by: Wouter Paesen <wouter at kangaroot net>
357 * libs/gst/controller/gstcontroller.c:
358 (gst_controlled_property_new):
359 Fix controlling of float properties (#344849).
361 * tests/check/libs/controller.c:
362 (gst_test_mono_source_get_property),
363 (gst_test_mono_source_set_property),
364 (gst_test_mono_source_class_init), (GST_START_TEST):
365 While we're at it, add some float stuff to unit test.
367 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
370 * docs/images/gdp-header.svg:
372 * docs/libs/Makefile.am:
373 * docs/libs/gdp-header.png:
374 * libs/gst/dataprotocol/dataprotocol.c:
375 add it to the API docs
376 * docs/manual/intro-motivation.xml:
379 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
381 * gst/gst.c: (scan_and_update_registry), (init_post):
382 If the fork()'ed child process can't write the updated registry cache
383 file to disk for some reason, make it exit with a failure exit code,
384 so that the parent can then re-scan the plugins itself and update the
385 registry structures in memory and work with that (rather than failing
386 when creating elements because seemingly no plugins are available).
387 Refactor registry scanning code into separate function for this and
388 also separate fork() and non-fork() code paths. Fixes #344748.
390 2006-06-13 Wim Taymans <wim@fluendo.com>
392 * docs/manual/advanced-dataaccess.xml:
393 Fix wrong PluginDesc. Fixes #344755.
395 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
397 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
398 Fix silly bug that prevented us from creating
399 ~/.gstreamer-0.10 and writing the registry in one
400 go (the first call to g_mkstemp() would overwrite the
401 placeholder in the template string, so the second call
402 to g_mkstemp() after creating the missing directory
403 would then error out with 'invalid argument').
405 2006-06-13 Edward Hervey <edward@fluendo.com>
407 * gst/gst.c: (init_post):
410 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
412 * gst/glib-compat-private.h:
415 * gst/gstvalue.c: (gst_value_serialize_flags):
416 remove GLib 2.6 compatibility code
418 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
420 * gst/parse/Makefile.am:
421 Fix build with 'make -j N' even more (#340016).
423 2006-06-12 Wim Taymans <wim@fluendo.com>
425 * docs/gst/gstreamer-sections.txt:
428 2006-06-12 Wim Taymans <wim@fluendo.com>
430 * gst/gstsegment.c: (gst_segment_set_duration),
431 (gst_segment_set_last_stop), (gst_segment_set_seek),
432 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
433 (gst_segment_to_running_time), (gst_segment_clip):
434 Use G_UNLIKELY to help the compiler a bit.
436 2006-06-12 Wim Taymans <wim@fluendo.com>
438 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
440 * gst/gstevent.c: (gst_event_get_type):
442 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
444 constify quark registration strings. Fixes #344115
445 Avoid unneeded type checking is _pad_push() by internally
446 calling gst_pad_chain_unchecked().
448 2006-06-12 Wim Taymans <wim@fluendo.com>
450 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
451 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
452 (gst_subbuffer_finalize), (gst_buffer_create_sub),
453 (gst_buffer_is_span_fast), (gst_buffer_span):
454 Init _type for consistency.
455 Use _FLAGS macro to avoid type check.
456 Avoid unneeded type checks in subbufer code.
458 2006-06-12 Wim Taymans <wim@fluendo.com>
460 * gst/gst.c: (gst_debug_help):
461 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
462 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
463 (gst_plugin_feature_list_free):
464 * gst/gstregistry.c: (gst_registry_add_plugin),
465 (gst_registry_add_feature), (gst_registry_plugin_filter),
466 (gst_registry_feature_filter), (gst_registry_find_plugin),
467 (gst_registry_find_feature), (gst_registry_get_plugin_list),
468 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
469 * gst/gstregistryxml.c: (load_feature),
470 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
471 * gst/gstminiobject.c: (gst_mini_object_unref),
472 (gst_mini_object_replace), (gst_value_mini_object_free),
473 (gst_value_mini_object_copy):
474 Use _CAST macros to avoid unneeded type checking.
475 Added some more G_UNLIKELY.
477 2006-06-12 Wim Taymans <wim@fluendo.com>
480 Avoid unneeded type checking.
481 API: GST_BUFFER_IS_DISCONT
483 * gst/gstminiobject.h:
484 Avoid type check in flag accessor.
486 * gst/gstelementfactory.h:
488 * gst/gstpluginfeature.h:
490 API: GST_ELEMENT_FACTORY_CAST
492 API: GST_PLUGIN_FEATURE_CAST
494 2006-06-12 Wim Taymans <wim@fluendo.com>
496 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
498 Add G_UNLIKELY in type registration.
499 Avoid type check in _ref/_unref since that is also
502 2006-06-12 Wim Taymans <wim@fluendo.com>
504 * gst/gsterror.c: (gst_g_error_get_type):
505 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
506 (gst_static_pad_template_get_type):
507 * gst/gsttaglist.c: (gst_tag_list_get_type):
508 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
509 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
510 * gst/gsturi.c: (gst_uri_handler_get_type):
511 * gst/gstvalue.c: (gst_date_get_type):
512 * gst/gstxml.c: (gst_xml_get_type):
513 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
514 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
515 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
516 Add G_UNLIKELY in type registration.
518 2006-06-12 Wim Taymans <wim@fluendo.com>
520 * tools/gst-inspect.c: (print_signal_info):
521 Properly print enum values.
523 2006-06-12 Wim Taymans <wim@fluendo.com>
525 * gst/gstinfo.c: (gst_debug_set_active),
526 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
528 Add some G_[UN]LIKELY.
529 Maintain __gst_debug_min to avoid formatting the arguments of
530 debug messages that will be dropped anyway to avoid a lot of
531 overhead from the debugging system.
533 2006-06-11 Stefan Kost <ensonic@users.sf.net>
537 add missing files containing translatable strings, tell intltool about
540 2006-06-11 Stefan Kost <ensonic@users.sf.net>
542 * tests/check/libs/.cvsignore:
543 add test-binary to ignore list
545 2006-06-11 Stefan Kost <ensonic@users.sf.net>
547 * docs/libs/gstreamer-libs-docs.sgml:
548 reorder (put dp into a chapter) and indent
550 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
555 === release 0.10.8 ===
557 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
560 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
562 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
564 * gst/gst.c: (init_post):
565 move pid declaration to declaration block
567 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
569 * gst/gst.c: (init_post):
570 use _exit() instead of exit() in our forked child; this ensures
571 that none of the registered exit handlers from whatever is using
572 GStreamer get executed. This fixes gnome-mixer-applet failing
573 to load, because ORBit would shut down.
574 Spotted by: Edward Hervey <edward@fluendo.com>
575 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
578 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
583 === release 0.10.7 ===
585 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
588 releasing 0.10.7, "Soepeke, ik zie ou"
590 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
613 * win32/common/config.h:
616 2006-06-07 Wim Taymans <wim@fluendo.com>
618 * gst/gstindex.c: (gst_index_gtype_resolver):
619 * tools/gst-xmlinspect.c: (print_plugin_info):
620 Fix leak spotted by coverity checker. Fixes #343827
621 Fix another other leak found by paolo borelli.
623 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
625 * libs/gst/dataprotocol/dataprotocol.c:
626 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
627 (gst_dp_version_get_type), (gst_dp_init),
628 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
629 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
630 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
631 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
632 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
633 (gst_dp_packetizer_free):
634 * libs/gst/dataprotocol/dataprotocol.h:
635 API: add a GstDPPacketizer object, and create/free functions
636 API: add GstDPVersion enum
637 Add 1.0 event function that uses the string serialization
638 Serialize more useful buffer flags
641 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
643 * tests/check/Makefile.am:
644 * tests/check/gst/gstabi.c:
645 * tests/check/gst/struct_ppc64.h:
646 * tests/check/libs/libsabi.c:
647 * tests/check/libs/struct_ppc64.h:
648 add ppc64 structure sizes
650 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
652 * tests/check/Makefile.am:
653 * tests/check/gst/gstabi.c:
654 * tests/check/gst/struct_x86_64.h:
655 * tests/check/libs/libsabi.c:
656 * tests/check/libs/struct_x86_64.h:
657 generate and add structure size lists for x86_64
659 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
661 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
662 * libs/gst/check/gstcheck.h:
663 factor out the method from tests that checks size of structures,
664 and add code to generate the header containing these sizes
665 * tests/check/gst/gstabi.c: (GST_START_TEST):
666 * tests/check/gst/struct_i386.h:
667 * tests/check/libs/libsabi.c: (GST_START_TEST):
668 * tests/check/libs/struct_i386.h:
671 2006-06-06 Michael Smith <msmith@fluendo.com>
674 Don't use c++-style comments, fixes #343929
676 2006-06-05 Edward Hervey <edward@fluendo.com>
679 plugin_paths is not used if we build without registry support.
681 * gst/gstsegment.c: (gst_segment_copy):
682 _copy() was always returning NULL...
684 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
686 * libs/gst/dataprotocol/dataprotocol.c:
687 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
688 (gst_dp_packet_from_event):
691 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
693 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
694 make sure we unset caps
696 2006-06-02 Michael Smith <msmith@fluendo.com>
698 * libs/gst/check/gstcheck.c: (gst_check_init),
699 (gst_check_chain_func):
700 * libs/gst/check/gstcheck.h:
701 Add a cond/mutex to the check support lib, signal this whenever we
702 add to the buffers list. This will allow tests to not busy-wait on
705 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
707 * libs/gst/dataprotocol/dataprotocol.c:
708 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
709 (gst_dp_packet_from_event):
710 factor out some common header init code
712 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
714 * docs/libs/gstreamer-libs-sections.txt:
715 * docs/libs/tmpl/gstdataprotocol.sgml:
716 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
717 * libs/gst/dataprotocol/dataprotocol.h:
718 API: make gst_dp_crc() public
720 2006-06-01 Stefan Kost <ensonic@users.sf.net>
722 * plugins/indexers/gstindexers.c: (plugin_init):
723 conditionally register fileindexer (fixes #343598)
725 2006-06-01 Stefan Kost <ensonic@users.sf.net>
727 * gst/gsttagsetter.h:
728 Can't cast ifaces to a class
730 * libs/gst/net/gstnetclientclock.h:
731 * libs/gst/net/gstnettimeprovider.h:
732 * plugins/elements/gstfakesink.h:
733 * plugins/elements/gstfakesrc.h:
734 * plugins/elements/gstfdsink.h:
735 * plugins/elements/gstfdsrc.h:
736 * plugins/elements/gstfilesink.h:
737 * plugins/elements/gstfilesrc.h:
738 * plugins/elements/gstidentity.h:
739 * plugins/elements/gstqueue.h:
740 * plugins/elements/gsttee.h:
741 * plugins/indexers/gstfileindex.c:
742 * plugins/indexers/gstmemindex.c:
743 * tests/old/examples/plugins/example.h:
744 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
746 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
748 * libs/gst/dataprotocol/dataprotocol.c:
749 (gst_dp_header_from_buffer):
750 make sure we zero the whole ABI-compatible area
752 2006-06-01 Wim Taymans <wim@fluendo.com>
754 Patch by: Alessandro Decina <alessandro at nnva dot org>
756 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
757 Make sure the EOS flag is cleared from pads after a flush
758 or stop. Fixes #343538.
760 * tests/check/libs/collectpads.c: (GST_START_TEST),
761 (gst_collect_pads_suite):
762 Added test for collectpads reusage after EOS.
764 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
767 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
768 * win32/common/libgstbase.def:
769 export gst_collect_pads_set_flushing
770 * win32/common/libgstreamer.def:
771 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
772 gst_value_fraction_multiply
773 * win32/vs6/gst_inspect.dsp:
774 add a link to intl.lib
776 2006-05-30 Wim Taymans <wim@fluendo.com>
778 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
779 (gst_collect_pads_chain):
780 Handle the case where a pad is removed from the collection
781 that could cause the other pads to become collectable.
783 2006-05-30 Wim Taymans <wim@fluendo.com>
786 Clarify the use of _release_request_pad() and
787 _get_request_pad() a bit better.
789 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
790 (gst_adapter_take_buffer):
791 Fix some doc and comment typos.
793 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
795 * docs/gst/gstreamer-sections.txt:
796 * docs/libs/gstreamer-libs-sections.txt:
799 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
801 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
802 Add debug that can be enabled using a #define at the top of the file,
803 for dumping stats about how late/early we were when waking up from
804 waiting on the clock.
806 2006-05-30 Wim Taymans <wim@fluendo.com>
808 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
809 When rebuilding the pad list, don't leak the previous list.
811 2006-05-30 Wim Taymans <wim@fluendo.com>
813 Patch by: Lutz Mueller <lutz at topfrose dot de>
815 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
816 (gst_base_src_get_query_types), (gst_base_src_update_length):
817 Publish supported query types.
818 Update last_stop field in get_range mode so the position
819 query works. Fixes #342321.
821 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
823 * docs/gst/gstreamer-sections.txt:
824 * gst/gsttaglist.c: (_gst_tag_initialize):
826 API: add GST_TAG_PREVIEW_IMAGE (#343341).
828 2006-05-30 Wim Taymans <wim@fluendo.com>
830 Patch by: Alessandro Decina <alessandro at nnva dot org>
832 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
833 Unlock mutex when removing an unknown pad.
836 * tests/check/Makefile.am:
837 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
838 (push_event), (setup), (teardown), (GST_START_TEST),
839 (gst_collect_pads_suite), (main):
840 Added collecpads check, disabled for now as check crashes for
843 2006-05-29 Wim Taymans <wim@fluendo.com>
845 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
846 Don't leak pads lists.
848 2006-05-29 Wim Taymans <wim@fluendo.com>
850 * docs/libs/gstreamer-libs-sections.txt:
851 * libs/gst/base/gstcollectpads.c:
852 (gst_collect_pads_set_flushing_unlocked),
853 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
854 (gst_collect_pads_stop):
855 * libs/gst/base/gstcollectpads.h:
856 API: gst_collect_pads_set_flushing()
857 Added api to set the pads to flushing, useful for seeking
858 code in elements using collectpads.
859 Clear segment when receiving a flush.
861 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
863 * gst/gst.c: (add_path_func), (init_post):
864 Don't scan registry paths passed via --gst-plugin-path immediately
865 (will crash, because absolutely nothing is set up and no types are
866 registered etc.); do this later in init_post(). Fixes #343057.
868 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
870 * gst/gst.c: (init_post):
871 if we have fork, fork while reading/rebuilding the registry
872 so the parent doesn't take the hit of having all plugins loaded
873 in memory. Fixes #342777.
875 Check if we have fork()
876 * win32/common/config.h.in:
879 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
881 * plugins/elements/gstelements.c:
882 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
883 (gst_file_src_init), (gst_file_src_set_property),
884 (gst_file_src_get_property), (gst_file_src_start):
885 * plugins/elements/gstfilesrc.h:
886 API: GstFileSrc::use-mmap
888 Add a use-mmap property to enable easier testing of all code paths.
889 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
890 in the absence of gnomevfssrc. (Closes #340501)
892 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
894 * tools/gst-inspect.c:
895 Add missing include, removes warning of ngettext not being defined on
898 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
900 * gst/gstvalue.c: (gst_value_deserialize_fraction):
901 Handle NULL input and output pointers silently as a failed conversion,
902 rather than g_warnings.
904 2006-05-25 Wim Taymans <wim@fluendo.com>
906 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
907 Initialize variable before using. Fixes #342820.
909 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
911 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
912 Fix off-by-one bug that would only allow peeks of N-1 bytes
913 from the start even if the buffer to typefind on contains
914 in fact N bytes of data (makes vorbis typefinding from a
915 vorbis identification header buffer work).
917 * tests/check/Makefile.am:
918 * tests/check/libs/.cvsignore:
919 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
920 (gst_typefindhelper_suite), (main), (foobar_typefind),
922 Add very basic unit test for gst_type_find_helper_for_buffer()
923 that checks for the problem fixed above.
925 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
927 * tools/gst-inspect.c: (print_interfaces),
928 (print_element_properties_info), (print_element_list), (main):
929 add more translatable strings
931 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
933 Patch by: Julien Moutte <julien at moutte net>
935 * docs/gst/gstreamer-sections.txt:
936 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
938 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
939 (gst_fake_sink_preroll):
940 * plugins/elements/gstfakesink.h:
941 API: Add new GstFakeSink::preroll-handoff signal (#337100).
943 2006-05-23 Wim Taymans <wim@fluendo.com>
945 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
947 Added _CUSTOM error and success GstFlowReturn that can be
948 used be elements internally.
949 Added macro to check for SUCCESS flowreturns.
950 API: GST_FLOW_CUSTOM_SUCCESS
951 API: GST_FLOW_CUSTOM_ERROR
952 API: GST_FLOW_IS_SUCCESS
954 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
955 Added check for GstFlowReturn sanity.
957 2006-05-23 Wim Taymans <wim@fluendo.com>
959 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
961 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
962 (gst_collect_pads_event):
963 clear/reset segment info in FLUSH_STOP.
966 2006-05-22 Stefan Kost <ensonic@users.sf.net>
968 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
969 (gst_collect_pads_check_collected):
970 Flush queued buffer on _stop(), fixes playing again (#342454)
972 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
974 * tests/check/gst/gststructure.c: (GST_START_TEST),
975 (gst_structure_suite):
976 add a test for a complete structure
978 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
980 * docs/faq/developing.xml:
982 * docs/faq/troubleshooting.xml:
983 * docs/faq/using.xml:
984 Some minor FAQ updates that won't change the fact that
985 our FAQ is badly structured, full of information hardly
986 anyone new to GStreamer needs to know and lacking lots
987 of information people constantly ask for.
989 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
991 * gst/gstpad.c: (gst_pad_set_caps):
992 Short-circuit gst_pad_set_caps if setting the existing
993 caps pointer again, and avoid printing debug and
994 reffing/unreffing the caps.
996 * plugins/elements/gstqueue.c: (gst_queue_push_one):
997 There's actually no need to set the caps before pushing -
998 the acceptcaps method will handle it anyway.
1000 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
1002 * docs/gst/gstreamer-sections.txt:
1003 * win32/common/libgstreamer.def:
1004 * gst/gstutils.c: (gst_element_seek_simple):
1006 API: add gst_element_seek_simple() (#342238).
1008 2006-05-18 Edward Hervey <edward@fluendo.com>
1010 * gst/gsttypefind.c: (gst_type_find_get_type):
1011 * gst/gsttypefind.h:
1012 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
1013 registered for GstTypeFind pointers. This allows wrapping the structure
1014 in bindings (i.e. gst-python).
1016 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
1018 * gst/gsttagsetter.c:
1019 Docs additions and fixes (see #339918).
1021 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
1023 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
1024 The caps intersection algorithm can produce multiple copies of the
1025 caps. Until that is fixed, we need to simplify the result to be
1026 sure whether the allowed caps are fixed or not.
1028 * plugins/elements/gstqueue.c: (gst_queue_init),
1029 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
1030 (gst_queue_push_one):
1031 Proxied buffer alloc should not set the caps on the source pad.
1032 When pushing buffers, we always accept the caps change that triggers.
1033 This prevents negotiation errors caused by caps changing mid-stream
1034 and then being refused on our source pad (because upstream is now
1035 refusing those caps).
1037 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
1039 * tests/examples/helloworld/helloworld.c: (main):
1040 Must plug audioconvert and audioresample between decoder
1043 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
1045 * gst/gstregistryxml.c: (read_string), (load_pad_template),
1046 (load_feature), (load_plugin):
1047 Allow empty strings for some of the plugin fields so we don't
1048 drop valid plugin entries that were written out correctly
1051 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
1053 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
1054 Use g_remove and g_rename instead of remove and rename that don't
1055 handle utf8 characters. rename was failing for users who had specific
1056 characters in their name then the registry was built at each
1058 * win32/vs6/gst_inspect.dsp:
1059 * win32/vs6/gst_launch.dsp:
1060 * win32/vs6/libgstbase.dsp:
1061 * win32/vs6/libgstcoreelements.dsp:
1062 * win32/vs6/libgstreamer.dsp:
1063 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
1064 build of libgstreamer and clean unused libraries in projects link
1067 2006-05-17 Edward Hervey <edward@fluendo.com>
1069 * plugins/elements/gstqueue.c: (gst_queue_push_one):
1070 The queue is not responsible for pushing an EOS when receiving a fatal
1071 flow error. It's up to the real element driving the pipeline to do that.
1073 2006-05-16 Edward Hervey <edward@fluendo.com>
1075 * plugins/elements/gstqueue.c: (gst_queue_push_one):
1076 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
1077 buffer returned a fatal error. It should just send an EOS and stop
1079 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
1080 when pushing buffers on the queue and will be able to handle the event.
1082 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
1084 * docs/manual/basics-bins.xml:
1085 * docs/manual/basics-init.xml:
1086 Fix typos and minor errors in sample code (#341856).
1088 2006-05-16 Wim Taymans <wim@fluendo.com>
1090 * docs/design/part-qos.txt:
1091 Fix indexes in formulas to make more sense.
1093 2006-05-15 Wim Taymans <wim@fluendo.com>
1095 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
1096 Don't report POSITION based on clock time if sync is
1099 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
1102 Add cast to make compiler happy - refcount variable was a gint
1103 in GstObject but is a guint in GObject and g_atomic_int_get()
1106 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
1108 * gst/parse/Makefile.am:
1109 chain commands using &&, which also makes parallel make work
1111 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
1113 * docs/gst/gstreamer-sections.txt:
1119 === release 0.10.6 ===
1121 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
1124 releasing 0.10.6, "Take the cannoli"
1126 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
1128 * tools/gst-launch.c: (print_tag):
1129 Fix use of uninitialized variable in the hypothetical
1130 case that some broken plugin creates a GST_TAG_IMAGE
1131 tag containing a NULL buffer (#341667).
1133 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
1135 * tools/gst-launch.c: (print_tag):
1136 Print something more intelligible for image tags when
1137 using the -t switch (#341556).
1139 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
1144 define GST_MAJORMINOR so we have it available in win32/common/config.h
1145 Possibly remove it from our Makefile.am files later
1146 * win32/common/config.h:
1147 * win32/common/config.h.in:
1148 added GST_MAJORMINOR
1149 * win32/common/gstenumtypes.c: (register_gst_resource_error):
1150 * win32/common/gstversion.h:
1153 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
1156 Update win32 files listing.
1157 * win32/common/gstversion.h:
1158 Add GST_MAJORMINOR definition.
1159 * win32/common/libgstreamer.def:
1160 Add new exported functions.
1162 2006-05-12 Michael Smith <msmith@fluendo.com>
1164 * gst/gstplugin.c: (gst_plugin_load_file):
1165 If an so file has no plugin entry point, unload the module.
1167 2006-05-11 Wim Taymans <wim@fluendo.com>
1169 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
1170 (gst_queue_set_property):
1171 Don't forget to signal the _chain or _loop function
1172 when the queue size or thresholds change since that might
1173 cause them to make progres again.
1175 2006-05-11 Stefan Kost <ensonic@users.sf.net>
1177 * gst/gstclock.c: (gst_clock_class_init):
1178 * gst/gstindex.c: (gst_index_class_init):
1179 * gst/gstobject.c: (gst_object_class_init):
1180 * gst/gstpad.c: (gst_pad_class_init):
1181 * gst/gstpipeline.c: (gst_pipeline_class_init):
1182 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
1183 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
1184 * libs/gst/base/gstbasetransform.c:
1185 (gst_base_transform_class_init):
1186 * libs/gst/net/gstnetclientclock.c:
1187 (gst_net_client_clock_class_init):
1188 * libs/gst/net/gstnettimeprovider.c:
1189 (gst_net_time_provider_class_init):
1190 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
1191 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
1192 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
1193 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
1194 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
1195 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
1196 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
1197 * plugins/elements/gstidentity.c: (gst_identity_class_init):
1198 * plugins/elements/gsttee.c: (gst_tee_class_init):
1199 * tests/old/examples/plugins/example.c: (gst_example_class_init):
1200 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
1201 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
1203 2006-05-11 Wim Taymans <wim@fluendo.com>
1205 * gst/gstbuffer.c: (_gst_buffer_initialize):
1206 Register subbufer along with the buffer type so that
1207 it does not accidentally gets registered from N
1208 different streaming threads in a non threadsafe way.
1210 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
1215 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
1216 gst_event_ref() and gst_message_ref() functions again
1217 (ugly hack, please do fix if there's a better way besides
1218 overrides.txt, which doesn't seem to work).
1220 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
1222 * libs/gst/check/gstcheck.h:
1223 add an assert for setting state to avoid lots of repetitive code
1226 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
1228 * gst/gstvalue.c: (gst_value_serialize_flags):
1229 fix a leak if no flags are set
1230 * tests/check/gst/gstvalue.c: (GST_START_TEST):
1233 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
1235 * docs/manual/basics-pads.xml:
1236 Expand a bit on caps and filtered links and update
1237 examples that were still using the no longer existing
1238 gst_pad_link_filtered() (#338206).
1240 2006-05-10 Wim Taymans <wim@fluendo.com>
1242 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1243 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
1244 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
1245 (gst_collect_pads_stop):
1246 * libs/gst/base/gstcollectpads.h:
1247 No need to call _stop in _finalize.
1248 Iterate the main pad list in _finalize.
1249 Added some more debug.
1250 Free lists and data in the right order.
1251 Also free data whem doing _remove_pad when stopped for
1252 backward compatibility protect ::started with PAD_LOCK as
1255 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
1257 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
1258 (gst_structure_parse_value):
1260 rename a method so that it actually says what it does better
1262 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
1264 * gst/gstevent.c: (_gst_event_initialize):
1265 * gst/gstformat.c: (_gst_format_initialize):
1266 make sure some essential types used by events are registered
1267 as part of gst_init()
1268 * gst/gstvalue.c: (gst_value_serialize_flags):
1269 if no flags are set, serialize them to a value that represents NONE
1270 so that deserializing them works
1271 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1272 add tests for serialization and deserialization of flags
1274 2006-05-10 Wim Taymans <wim@fluendo.com>
1276 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
1277 (gst_collect_pads_collect_range), (gst_collect_pads_available),
1278 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
1279 (gst_collect_pads_event), (gst_collect_pads_chain):
1282 Catch and return errors from the collect function
1283 Refuse data on eos pads.
1285 2006-05-10 Edward Hervey <edward@fluendo.com>
1287 * gst/gstinterface.h:
1288 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
1289 GInterface type checking.
1290 They were previously using non-defined macros.
1292 2006-05-09 Wim Taymans <wim@fluendo.com>
1294 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
1295 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
1296 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
1297 (gst_collect_pads_start), (gst_collect_pads_stop),
1298 (gst_collect_pads_peek), (gst_collect_pads_pop),
1299 (gst_collect_pads_available), (gst_collect_pads_read),
1300 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
1301 (gst_collect_pads_is_collected), (gst_collect_pads_event),
1302 (gst_collect_pads_chain):
1303 * libs/gst/base/gstcollectpads.h:
1304 Clean up the mess that is collectpads, add comments and
1305 FIXMEs where needed.
1306 Maintain a separate pad list so we can add pads while
1307 collecting the other ones. For this we need a new separate
1309 Fix memory leak in finalize.
1310 Refactor some weird code to set/unset pad flushing flags, mark
1312 Don't crash in _available, _read, _flush when we're EOS.
1314 * tests/check/libs/.cvsignore:
1315 Ignore adapter check binary.
1317 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
1319 * gst/gstindex.c: (gst_index_resolver_get_type):
1320 * plugins/elements/gstfakesink.c:
1321 (gst_fake_sink_state_error_get_type):
1322 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
1323 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
1324 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
1325 Const-ify GEnumValue arrays.
1327 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
1329 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
1330 Add test case for flags + gst_buffer_make_metadata_writable().
1332 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
1334 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
1335 gst_buffer_make_metadata_writable() should maintain the
1336 buffer flags (those that make sense at least) (see #340859).
1338 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
1340 * tools/gst-inspect.c:
1341 * tools/gst-launch.c:
1342 * tools/gst-typefind.c:
1343 * tools/gst-xmlinspect.c:
1345 Fix up includes: need to include stdlib.h in tools.h for exit().
1347 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
1349 * gst/gsttaglist.c: (_gst_tag_initialize):
1351 API: add GST_TAG_IMAGE tag (#340721).
1353 2006-05-08 Wim Taymans <wim@fluendo.com>
1356 Added some docs for the segment query.
1358 2006-05-08 Wim Taymans <wim@fluendo.com>
1360 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
1361 (gst_base_src_loop), (gst_base_src_change_state):
1362 Always push non-flushing serialized events in the streaming
1365 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
1367 * gst/gsterror.c: (_gst_stream_errors_init):
1368 Add a missing error string.
1370 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
1372 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
1373 Add applied_rate to the debug
1375 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
1376 Copy applied_rate into the outgoing NEWSEGMENT event
1378 2006-05-08 Wim Taymans <wim@fluendo.com>
1380 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
1382 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
1383 (gst_base_sink_change_state):
1384 call ::unlock before taking the PREROLL_LOCK so we can safely
1385 handle elements that lock in ::render.
1388 2006-05-08 Edward Hervey <edward@fluendo.com>
1390 * autogen.sh: (CONFIGURE_DEF_OPT):
1391 Darwin's libtoolize is in fact called glibtoolize.
1392 Adding glibtoolize to the list of accepted names for libtoolize.
1394 2006-05-08 Wim Taymans <wim@fluendo.com>
1396 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
1397 Unify error handling, don't post an error message
1398 when a push() returns EOS but perform our normal EOS
1399 handling code. Fixes #340772.
1401 2006-05-08 Wim Taymans <wim@fluendo.com>
1403 * docs/design/part-overview.txt:
1404 Make upsteam/downstream concepts more clear.
1405 Give an example of serialized/non-serialized events.
1407 * docs/design/part-events.txt:
1408 * docs/design/part-streams.txt:
1409 Mention applied_rate.
1411 * docs/design/part-trickmodes.txt:
1412 Mention applied rate, flesh out some more use cases.
1414 * gst/gstevent.c: (gst_event_new_new_segment),
1415 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
1416 (gst_event_parse_new_segment_full), (gst_event_new_tag),
1417 (gst_event_parse_tag), (gst_event_new_buffer_size),
1418 (gst_event_parse_buffer_size), (gst_event_new_qos),
1419 (gst_event_parse_qos), (gst_event_parse_seek),
1420 (gst_event_new_navigation):
1422 Add applied_rate field to NEWSEGMENT event.
1423 API: gst_event_new_new_segment_full()
1424 API: gst_event_parse_new_segment_full()
1426 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
1427 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
1428 (gst_segment_to_stream_time), (gst_segment_to_running_time):
1430 Add applied_rate to GstSegment structure.
1431 Make calculation of stream_time and running_time more correct
1432 wrt rate/applied_rate.
1434 API: GstSegment::applied_rate field
1435 API: gst_segment_set_newsegment_full();
1437 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
1438 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
1439 * libs/gst/base/gstbasetransform.c:
1440 (gst_base_transform_sink_eventfunc),
1441 (gst_base_transform_handle_buffer):
1442 Parse and use applied_rate in the GstSegment field.
1444 * tests/check/gst/gstevent.c: (GST_START_TEST):
1445 Add check for applied_rate field.
1447 * tests/check/gst/gstsegment.c: (GST_START_TEST),
1448 (gstsegments_suite):
1449 Add more checks for various GstSegment operations.
1451 2006-05-08 Wim Taymans <wim@fluendo.com>
1453 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
1454 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
1455 (gst_base_sink_get_position), (gst_base_sink_change_state):
1456 Store the sync time of the buffer end position separatly in a
1457 new variable eos_rtime so we can properly sync the EOS event.
1459 Fix the docs for gst_base_sink_set_qos_enabled().
1460 Don't set segment start to invalid value when we receive a
1461 non TIME newsegment.
1462 get closer to handling position reporting for negative rates
1465 2006-05-07 Stefan Kost <ensonic@users.sf.net>
1468 Docs about how to print caps for debug purposes.
1470 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
1471 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
1473 2006-05-07 Stefan Kost <ensonic@users.sf.net>
1476 use full enum names and preprend a '%' in docs strings to make recent
1477 gtk-doc turn that into a link
1479 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
1481 * docs/manual/basics-bins.xml:
1482 * docs/manual/basics-bus.xml:
1483 * docs/manual/basics-pads.xml:
1484 Some typo fixes, some additions, some clarifications.
1486 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
1488 * tools/gst-inspect.c: (main):
1489 * tools/gst-launch.c: (main):
1490 * tools/gst-run.c: (main):
1491 * tools/gst-typefind.c: (main):
1492 * tools/gst-xmlinspect.c: (main):
1493 Use the string passed to g_option_context_new() for
1494 what it's intended for - the program name is already
1497 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
1499 * tools/Makefile.am:
1500 * tools/gst-inspect.c: (main):
1501 * tools/gst-launch.c: (main):
1502 * tools/gst-xmlinspect.c: (main):
1504 Add back --version command line option (#340460).
1506 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
1507 Add --version option and use GOption for argument parsing; refactor a
1508 bit; accept directories as arguments and recurse into them; lastly,
1509 print a decent error message when things go wrong.
1511 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
1513 * docs/manual/basics-bins.xml:
1514 Don't mention GstThread (#340611)
1515 * docs/manual/basics-elements.xml:
1516 Update link to GObject tutorial (#340607)
1518 2006-05-05 Wim Taymans <wim@fluendo.com>
1521 * gst/gstminiobject.c:
1522 Add note about refcounting and miniobject/buffer writeability
1523 to docs. Fixes #340604
1525 * gst/gstelementfactory.h:
1526 Added some explanation about @klass.
1528 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
1530 * docs/manual/intro-motivation.xml:
1531 * docs/manual/manual.xml:
1532 Avoid CORBA & Bonobo references (#340598)
1534 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
1536 * docs/manual/basics-bus.xml:
1537 * docs/manual/basics-pads.xml:
1538 Fix up some inaccuracies and omissions (#340609)
1540 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
1542 * gst/gstghostpad.c:
1543 Small typo in docs (#340625)
1545 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
1547 * gst/parse/Makefile.am:
1548 Make 'make -j' proof (see #340698).
1550 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
1553 Require GLib-2.8 here as well.
1555 2006-05-05 Wim Taymans <wim@fluendo.com>
1557 * gst/glib-compat.c:
1558 * gst/gst.c: (init_pre):
1559 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
1560 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
1561 (gst_object_dispatch_properties_changed):
1563 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
1564 * gst/gststructure.c: (gst_structure_set_valist):
1565 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
1566 Remove pre glib2.8 compatibility, fixes #340508
1568 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
1571 Mention type of tags in doc blurbs.
1573 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
1575 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
1576 (gst_pad_configure_src), (gst_pad_push):
1577 Restore acceptcaps checking behaviour now that good plugins have
1580 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
1582 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
1593 * gst/parse/Makefile.am:
1594 * libs/gst/base/gstadapter.c:
1595 * libs/gst/base/gstbasesrc.c:
1596 * libs/gst/base/gstpushsrc.c:
1597 * libs/gst/base/gsttypefindhelper.c:
1598 * plugins/elements/gstfakesrc.c:
1599 * plugins/elements/gstidentity.c:
1600 Make sure gstprivate.h and/or config.h are
1601 always included first, otherwise some of our
1602 defines (like _FILE_OFFSET_BITS) might be
1603 redefined in the system headers. Fixes build
1604 on opensolaris (#340016).
1606 2006-05-04 Wim Taymans <wim@fluendo.com>
1608 * docs/libs/gstreamer-libs-sections.txt:
1609 API: addition: gst_adapter_take_buffer()
1611 * libs/gst/base/gstadapter.c: (gst_adapter_push),
1612 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
1613 (gst_adapter_available_fast):
1614 * libs/gst/base/gstadapter.h:
1615 Prepare for optimizing the hell out of this hugely inefficient
1617 Added gst_adapter_take_buffer() so we can at least start thinking
1618 about subbuffering and merging.
1619 Added some comments.
1621 * tests/check/Makefile.am:
1622 * tests/check/libs/adapter.c: (GST_START_TEST),
1623 (gst_adapter_suite), (main):
1624 Added GstAdapter check.
1626 2006-05-04 Wim Taymans <wim@fluendo.com>
1628 * docs/design/part-overview.txt:
1629 Fix some typos, add blurb about buffer flags.
1631 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
1633 * docs/libs/gstreamer-libs-sections.txt:
1634 make sure GstBaseTransformClass shows up in the docs
1635 * libs/gst/base/gstbasetransform.c:
1636 * libs/gst/base/gstbasetransform.h:
1637 move docs so gtk-doc picks it up now
1639 2006-05-02 Stefan Kost <ensonic@users.sf.net>
1641 * docs/libs/gstreamer-libs-sections.txt:
1642 add missing symbols to docs
1644 2006-05-02 Stefan Kost <ensonic@users.sf.net>
1646 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
1647 back out the newsegment handling change, see #340060 for ongoing
1650 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
1652 * tools/gst-run.c: (get_candidates), (main):
1653 Fix wrong g_file_test() usage (see glib docs for why it doesn't
1654 work); fix typo in error message. Fixes #340079.
1656 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
1658 * common/Makefile.am:
1660 * docs/faq/Makefile.am:
1661 * docs/gst/Makefile.am:
1662 * docs/libs/Makefile.am:
1663 * docs/manual/Makefile.am:
1664 * docs/plugins/Makefile.am:
1665 * docs/pwg/Makefile.am:
1666 * docs/slides/Makefile.am:
1668 * common/upload.mak:
1669 move upload.mak to common
1671 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
1673 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1674 add more asserts on refcounts
1675 do more cleanup at end of tests
1676 fix test leaks showing in FC5
1678 2006-04-29 Stefan Kost <ensonic@users.sf.net>
1680 * plugins/elements/gsttypefindelement.c:
1681 (gst_type_find_element_handle_event):
1682 reverted wrong change and reflowed code to avoid others falling into
1685 2006-04-28 Stefan Kost <ensonic@users.sf.net>
1687 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
1688 fix changelog entry about last collectpads change,
1689 add notes about proper fix
1691 2006-04-28 Stefan Kost <ensonic@users.sf.net>
1694 * gst/gstregistry.c: (gst_registry_scan_path_level),
1695 (gst_registry_scan_path):
1696 * gst/gstregistry.h:
1697 only write out registry if it has changed, fixes #338339
1699 2006-04-28 Stefan Kost <ensonic@users.sf.net>
1702 * gst/gstpipeline.c:
1703 * plugins/elements/gstcapsfilter.c:
1704 * plugins/elements/gstfakesink.c:
1705 * plugins/elements/gstfakesrc.c:
1706 * plugins/elements/gstfdsink.c:
1707 * plugins/elements/gstfdsrc.c:
1708 * plugins/elements/gstfilesink.c:
1709 * plugins/elements/gstfilesrc.c:
1710 * plugins/elements/gstidentity.c:
1711 * plugins/elements/gstqueue.c:
1712 * plugins/elements/gsttee.c:
1713 * plugins/elements/gsttypefindelement.c:
1714 (gst_type_find_element_handle_event):
1715 make GstElementDetails const
1717 2006-04-28 Stefan Kost <ensonic@users.sf.net>
1719 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
1720 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
1721 (gst_collect_pads_is_collected), (gst_collect_pads_event):
1722 more detailed debug and formatting cleanup,
1723 forward newsegments to src-pad (so that e.g. adder not eats them)
1725 2006-04-28 Stefan Kost <ensonic@users.sf.net>
1727 * gst/gstutils.c: (gst_element_link_pads):
1730 2006-04-28 Stefan Kost <ensonic@users.sf.net>
1732 * libs/gst/controller/gstcontroller.c:
1733 (gst_controller_sync_values):
1735 * tests/check/libs/controller.c: (GST_START_TEST),
1736 (gst_controller_suite):
1737 a new test for live value handling
1739 2006-04-28 Wim Taymans <wim@fluendo.com>
1741 * gst/gstutils.c: (push_and_ref):
1742 Added some more docs.
1743 Fix refcount issue whith gst_element_found_tags() helper
1744 function. Fixes #338335
1746 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1747 Added testsuite for gst_element_found_tags().
1749 2006-04-28 Michael Smith <msmith@fluendo.com>
1751 * gst/gstvalue.c: (gst_value_serialize_flags):
1752 Avoid NULL dereference when trying to serialize flags containing
1755 2006-04-28 Michael Smith <msmith@fluendo.com>
1757 * plugins/elements/gsttypefindelement.c:
1758 (gst_type_find_element_handle_event):
1759 If we get EOS before any data is accumulated, don't use
1760 uninitialised local variables.
1762 2006-04-28 Michael Smith <msmith@fluendo.com>
1764 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
1765 (gst_dp_event_from_packet):
1766 Fixes in reading/writing events over GDP (not currently used?) -
1767 dereferencing NULL events for unknown/invalid event types, memory
1768 leak, and change g_warning to GST_WARNING.
1770 2006-04-28 Wim Taymans <wim@fluendo.com>
1772 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
1773 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
1774 (gst_base_sink_get_position), (gst_base_sink_change_state):
1775 When frame dropping is enabled, we should not ignore frames
1777 Update some documentation.
1779 2006-04-28 Wim Taymans <wim@fluendo.com>
1781 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
1782 (gst_base_src_send_event), (gst_base_src_change_state):
1783 Documentation updates.
1785 2006-04-28 Wim Taymans <wim@fluendo.com>
1787 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
1788 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
1789 handle EAGAIN, EINTR and short writes correctly. Also clean
1790 up some error cases, avoid a deadlock on bad file descriptors and
1791 use GST_DEBUG_OBJECT.
1794 2006-04-28 Wim Taymans <wim@fluendo.com>
1796 * gst/gstvalue.c: (gst_value_serialize_buffer),
1797 (gst_value_deserialize_buffer):
1798 Don't try to serialize a GValue with a NULL buffer.
1801 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1802 Added check for serialisation of NULL buffers.
1804 2006-04-28 Wim Taymans <wim@fluendo.com>
1806 * gst/gstminiobject.c: (gst_value_take_mini_object):
1807 Taking a NULL miniobject is valid, fix the case where
1808 we try to unref the NULL miniobject.
1810 2006-04-28 Wim Taymans <wim@fluendo.com>
1812 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
1814 * gst/gstbin.c: (gst_bin_handle_message_func):
1816 Don't leak bin refcount when a state recalc is
1817 in progress and we delay another one #339808.
1819 2006-04-28 Wim Taymans <wim@fluendo.com>
1821 * docs/design/part-TODO.txt:
1822 Mention QoS as an ongoing work item.
1824 * docs/design/part-buffering.txt:
1825 New doc about buffering that needs to be fleshed out
1828 * docs/design/part-qos.txt:
1829 More QoS policy for decoders/demuxers/transforms
1831 * docs/design/part-trickmodes.txt:
1834 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
1839 === release 0.10.5 ===
1841 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
1844 releasing 0.10.5, "Fogo"
1846 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
1848 patch by: Wim Taymans
1850 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
1851 (gst_pad_configure_src), (gst_pad_push):
1852 * gst/gstpipeline.c: (gst_pipeline_init):
1853 Fix internal data flow errors. Fixes #338711.
1855 2006-04-12 Wim Taymans <wim@fluendo.com>
1857 * tests/check/gst/gstelement.c: (GST_START_TEST):
1858 Don't leak the factory.
1860 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
1863 * win32/common/config.h:
1866 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
1868 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
1869 (gst_controller_unset_all):
1870 Free allocated GstTimedValues when freeing list nodes.
1871 Should fix leaks 'make check-valgrind' complains about.
1873 * win32/common/libgstcontroller.def:
1874 Add gst_controller_unset_all.
1876 2006-04-11 Stefan Kost <ensonic@users.sf.net>
1878 * docs/libs/gstreamer-libs-sections.txt:
1879 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
1880 (gst_controller_unset_all):
1881 * libs/gst/controller/gstcontroller.h:
1882 API: Added new method gst_controller_unset_all()
1883 fixed gst_controller_unset()
1884 * tests/check/libs/controller.c: (GST_START_TEST),
1885 (gst_controller_suite):
1886 Added two testcases for new and fixed method
1888 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
1890 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
1891 MSG_DONTWAIT is not defined on Cygwin, so work
1892 around that (fixes #317048).
1894 2006-04-11 Wim Taymans <wim@fluendo.com>
1896 * gst/gstelementfactory.c: (gst_element_register),
1897 (gst_element_factory_create), (gst_element_factory_make):
1900 Updated docs (Fixes #131079)
1902 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
1905 * tests/check/gst/gstelement.c: (GST_START_TEST),
1906 (gst_element_suite):
1907 Added testcase for elementfactory class field.
1909 2006-04-10 Wim Taymans <wim@fluendo.com>
1912 Added some more docs.
1914 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
1915 (gst_base_sink_reset_qos):
1916 Calculate more accurate rate values.
1918 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
1920 * gst/gst_private.h:
1921 add a new #ifdef to use __declspec(dllimport) only for
1922 other modules and not for gstreamer core
1923 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
1924 use gst_guint64_to_gdouble for conversion
1925 * win32/common/libgstreamer.def:
1926 add new exported functions
1927 * win32/vs6/gst_inspect.dsp:
1928 * win32/vs6/gst_launch.dsp:
1929 * win32/vs6/libgstbase.dsp:
1930 * win32/vs6/libgstcontroller.dsp:
1931 * win32/vs6/libgstcoreelements.dsp:
1932 * win32/vs6/libgstdataprotocol.dsp:
1933 * win32/vs6/libgstnet.dsp:
1934 update project files
1936 2006-04-08 Stefan Kost <ensonic@users.sf.net>
1938 * gst/gstbuffer.c: (gst_subbuffer_class_init):
1939 * gst/gstclock.c: (gst_clock_class_init):
1940 * gst/gstelement.c: (gst_element_class_init):
1941 * gst/gstindex.c: (gst_index_class_init):
1942 * gst/gstindexfactory.c: (gst_index_factory_class_init):
1943 * gst/gstobject.c: (gst_object_class_init),
1944 (gst_signal_object_class_init):
1945 * gst/gstpad.c: (gst_pad_class_init):
1946 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
1947 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
1948 * gst/gstregistry.c: (gst_registry_class_init):
1949 * gst/gstsystemclock.c: (gst_system_clock_class_init):
1950 * gst/gsttask.c: (gst_task_class_init):
1951 * gst/gstxml.c: (gst_xml_class_init):
1952 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
1953 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1954 (gst_base_src_loop):
1955 * libs/gst/controller/gstcontroller.c:/
1956 (_gst_controller_class_init):
1957 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
1958 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
1959 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
1960 * tests/old/examples/plugins/example.c: (gst_example_class_init):
1961 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
1962 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
1964 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
1966 * gst/gstpad.c: (gst_pad_link):
1967 Must set peer pads before calling the link function, otherwise
1968 a task started from a link function might get a flow-not-linked
1969 result when trying to push because the other thread where the
1970 linking happens hasn't had a chance to set the peers yet. This
1971 might happen for example when a queue gets linked to a downstream
1972 element, as queue starts a streaming task when its source pad
1973 gets linked. Happens in real life when playing back flac/musepack
1974 files in playbin (#332390).
1976 2006-04-08 Stefan Kost <ensonic@users.sf.net>
1980 * libs/gst/base/gstadapter.h:
1981 * libs/gst/base/gstbasesink.h:
1982 * libs/gst/base/gstbasesrc.h:
1983 * libs/gst/base/gstbasetransform.h:
1984 * libs/gst/base/gstcollectpads.h:
1985 * libs/gst/base/gstpushsrc.h:
1986 Fix broken GObject macros
1988 2006-04-07 Wim Taymans <wim@fluendo.com>
1990 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
1991 Initialize start and stop times, thanks valgrind.
1993 2006-04-07 Wim Taymans <wim@fluendo.com>
1995 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
1996 Be a bit nicer to badly behaving upstream elements that expect
1997 us to deal with non TIME segments and timestamps (such as fakesrc
2000 2006-04-07 Wim Taymans <wim@fluendo.com>
2003 Small documentation clarification about the signal watch.
2005 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2006 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
2007 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
2008 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
2009 (gst_base_sink_get_position_last),
2010 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
2011 Convert and store timestamps in stream time and running time, the
2012 raw timestamps are not usefull, also document this better.
2013 Use different window sizes for good and bad QoS observations so
2014 we react to badness a little quicker.
2015 Keep track of the amount of rendered and dropped buffers.
2016 Send QoS timestamps in running time.
2018 * libs/gst/base/gstbasetransform.c:
2019 (gst_base_transform_sink_eventfunc),
2020 (gst_base_transform_handle_buffer):
2021 Compare QoS timestamps against running time.
2023 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
2028 2006-04-06 Michael Smith <msmith@fluendo.com>
2030 * gst/gstpad.c: (gst_pad_set_property):
2031 Use g_value_get_object() instead of g_value_dup_gst_object(),
2032 to avoid double-reffing the pad template (which we then sink,
2033 so this worked previously if (and only if) the pad template
2036 * gst/gstpadtemplate.c: (gst_pad_template_init),
2037 (gst_pad_template_pad_created):
2038 Never return floating references to pad templates, create
2039 them as initially-sunken.
2041 Document an extra function (and make this stop sinking our
2042 pad template, since that is now guaranteed to do nothing,
2043 since we created it sunken).
2045 * gst/gstghostpad.c:
2048 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
2050 * gst/gstinfo.c: (__gst_in_valgrind):
2053 * plugins/elements/gsttypefindelement.c:
2054 (gst_type_find_element_chain):
2055 Don't leak buffer caps.
2057 2006-04-06 Michael Smith <msmith@fluendo.com>
2059 * gst/parse/grammar.y:
2060 Fix a leak in parse-launch for any source-or-sink named element
2063 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
2064 Unref the pipeline if it exists after we've failed parsing.
2066 2006-04-05 Michael Smith <msmith@fluendo.com>
2068 * gst/gstpipeline.c: (gst_pipeline_init):
2069 When we create a pipeline bus, initially create it in flushing mode.
2070 Fixes leaks in at least one test, and makes a new pipeline work the
2071 same as one that has gone to READY and then back to NULL.
2076 2006-04-05 Michael Smith <msmith@fluendo.com>
2078 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2079 Unref a pad we reffed.
2080 * tests/check/gst/gstutils.c: (GST_START_TEST):
2083 2006-04-05 Michael Smith <msmith@fluendo.com>
2085 * gst/gstquery.c: (gst_query_set_formats),
2086 (gst_query_set_formatsv):
2087 Fix leaking GValues in queries, as shown by valgrind/testsuite.
2089 2006-04-05 Michael Smith <msmith@fluendo.com>
2091 * tests/check/generic/sinks.c: (GST_START_TEST):
2092 Fix a variety of memleaks in sinks check, which are only sometimes
2093 shown by running the tests under valgrind (weird?).
2095 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
2097 * docs/version.entities.in:
2098 Fix the substituted entity name after thomas' changes on the
2101 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2103 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
2106 2006-04-05 Andy Wingo <wingo@pobox.com>
2108 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
2110 * libs/gst/base/gstbasetransform.c
2111 (gst_base_transform_sink_eventfunc): When resetting our segment on
2112 FLUSH_STOP, also update the flag saying we haven't seen a
2115 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
2117 Patch by: Paolo Borelli <pborelli at katamail dot com>
2119 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
2120 (gst_plugin_check_license):
2121 minor clean-ups: G_DEFINE_TYPE already takes care of the
2122 parent_class stuff, no need to do it twice. Mark array of
2123 license strings as constant. (#337103)
2125 2006-04-04 Michael Smith <msmith@fluendo.com>
2127 * tools/gst-inspect.c: (print_element_list):
2128 Free the right plugin list; fixes a memory leak.
2130 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
2132 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2134 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
2135 Don't error out on empty buffers (#336945).
2137 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
2139 * docs/libs/gstreamer-libs-sections.txt:
2141 * libs/gst/base/gstbasesink.c:
2142 * libs/gst/base/gstbasesink.h:
2143 * libs/gst/base/gstbasesrc.c:
2144 * libs/gst/base/gstbasesrc.h:
2145 Documentation updates. Make BaseSink and BaseSrc docs contain the
2146 class structure so that people can actually see the prototypes for
2147 virtual functions they're supposed to be overriding.
2149 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
2151 * plugins/elements/gsttypefindelement.c:
2152 (gst_type_find_element_chain):
2153 More debug info; when skipping typefinding, send cached
2154 events in all cases.
2156 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
2159 use new AS_VERSION and AS_NANO macros
2160 * gst/gst-i18n-lib.h:
2163 * gst/gstversion.h.in:
2164 * win32/common/config.h:
2165 * win32/common/config.h.in:
2168 2006-03-31 Michael Smith <msmith@fluendo.com>
2170 * plugins/elements/gsttypefindelement.c:
2171 (gst_type_find_element_chain):
2172 Do not typefind content if the buffers already have caps.
2173 Neccesary for icydemux (#333657), and the right thing to do anyway.
2175 2006-03-30 Wim Taymans <wim@fluendo.com>
2177 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2178 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
2179 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
2180 (gst_base_sink_record_qos_observation),
2181 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
2182 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
2183 (gst_base_sink_change_state):
2184 More QoS measurements as described in the design doc.
2185 Get rid of ringbuffer with observations, running average is
2186 more simple and equally good.
2187 Calculates valid proportion now.
2188 Added beginning of flood measurement.
2190 2006-03-29 Wim Taymans <wim@fluendo.com>
2192 * docs/design/part-qos.txt:
2194 Small documentation updates and additions.
2196 2006-03-29 Wim Taymans <wim@fluendo.com>
2198 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
2199 (gst_base_src_send_event), (gst_base_src_loop),
2200 (gst_base_src_change_state):
2201 Perform the EOS logic when we reach the segment stop position.
2202 Fix compilation on gcc4.1
2204 2006-03-29 Wim Taymans <wim@fluendo.com>
2206 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
2208 * plugins/elements/gstqueue.c: (gst_queue_init),
2209 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
2210 (gst_queue_set_property):
2211 * plugins/elements/gstqueue.h:
2212 In queue, when EOS is received, if minimum threshold > max_size -
2213 current_level, there is chance that queue blocks forever in conditional
2214 item del wait. This is because the queue is not emptied completely due
2215 to minimum threshold. Here is another approach. Instead of setting
2216 cur_levels to max in EOS, just zero all minimum threshold levels. This
2217 should make sure that queue gives out all data. When going to READY
2218 (stop) state, just reset the original minimum threshold levels.
2221 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
2223 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
2224 (gst_type_find_element_handle_event),
2225 (gst_type_find_element_send_cached_events),
2226 (gst_type_find_element_change_state):
2227 * plugins/elements/gsttypefindelement.h:
2228 When typefinding is done in push mode, we should cache
2229 events we receive during typefinding instead of just
2230 dropping them (e.g. newsegment, custom events from
2231 dvdreadsrc etc.) and then send them out once we've
2232 determined the type of the stream (and decodebin
2233 has had a chance to plug in a decoder/demuxer).
2235 2006-03-27 Wim Taymans <wim@fluendo.com>
2237 * docs/design/part-qos.txt:
2240 2006-03-27 Wim Taymans <wim@fluendo.com>
2242 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
2244 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
2245 (gst_base_src_send_event), (gst_base_src_change_state):
2246 Handle element seek correctly when we are streaming.
2249 2006-03-24 Michael Smith <msmith@fluendo.com>
2251 * docs/faq/gst-uninstalled:
2252 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
2253 allow you to correctly run intalled applications built against old
2254 core, using plugins that require updated core (e.g. running
2255 installed totem against a full uninstalled gstreamer stack)
2257 2006-03-24 Stefan Kost <ensonic@users.sf.net>
2259 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
2262 2006-03-24 Wim Taymans <wim@fluendo.com>
2264 * docs/gst/gstreamer-sections.txt:
2265 Rearrange the order of the methods so that related methods
2266 are grouped together in sections.
2268 2006-03-24 Stefan Kost <ensonic@users.sf.net>
2271 Little clarification in the docs
2273 2006-03-24 Stefan Kost <ensonic@users.sf.net>
2277 * plugins/elements/gstidentity.c:
2278 * plugins/elements/gstqueue.c:
2279 * plugins/elements/gsttee.c:
2280 * plugins/elements/gsttypefindelement.c:
2281 GST_ELEMENT_DETAILS formatting
2283 2006-03-24 Wim Taymans <wim@fluendo.com>
2285 * libs/gst/base/gstbasesink.h:
2286 Only add fields, not insert or we break ABI.
2288 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
2290 * win32/common/libgstbase.def:
2291 * win32/common/libgstreamer.def:
2292 Update, add recently added functions.
2294 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
2296 * docs/gst/gstreamer-sections.txt:
2297 * gst/gstutils.c: (gst_pad_query_peer_position),
2298 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
2300 API: add some new utility functions:
2301 - gst_pad_query_peer_position()
2302 - gst_pad_query_peer_duration()
2303 - gst_pad_query_peer_convert()
2305 2006-03-23 Wim Taymans <wim@fluendo.com>
2307 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
2308 (gst_base_sink_init), (gst_base_sink_finalize),
2309 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
2310 (gst_base_sink_set_property), (gst_base_sink_get_property),
2311 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
2312 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
2313 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
2314 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
2315 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
2316 (gst_base_sink_preroll_object), (gst_base_sink_event),
2317 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
2318 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
2319 (gst_base_sink_query), (gst_base_sink_change_state):
2320 Decouple max-lateness and the fact that QoS messages are generated
2321 with a new property (qos).
2322 added API: GstBaseSink::async_play()
2323 Add vmethod so subclasses can be notified of ASYNC playing
2325 Collect timestamp start and stop to report better current
2326 position in EOS/PLAYING/PAUSED/READY/NULL.
2327 Refactor QoS/frame dropping and other measurements.
2328 API: GstBaseSrc::qos
2331 * libs/gst/base/gstbasesink.h:
2332 Added Private struct.
2333 API: gst_base_sink_set_qos_enabled()
2334 API: gst_base_sink_is_qos_enabled()
2336 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
2338 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
2339 If compiling against GLib-2.8 or newer, try to read the
2340 registry file using GMappedFile first before falling back
2341 to fopen() + fread() (#332151).
2343 2006-03-22 Wim Taymans <wim@fluendo.com>
2345 * gst/gstinfo.c: (gst_debug_set_active),
2346 (gst_debug_category_set_threshold):
2347 Disable debugging unless explicitly activated.
2350 2006-03-22 Wim Taymans <wim@fluendo.com>
2352 * gst/gstelement.c: (gst_element_set_locked_state),
2353 (gst_element_dispose):
2354 Cleanup the error case.
2356 * gst/gstobject.c: (gst_object_dispose):
2357 print a critical when some object was disposed with
2358 a parent, also revive the object since it might
2361 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
2363 * tools/gst-launch.1.in:
2366 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
2369 * tests/check/Makefile.am:
2370 disable some tests when we don't have a registry
2371 * tests/check/gst/gstutils.c: (gst_utils_suite):
2372 don't build the part that needs parsing
2374 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
2377 * tests/examples/Makefile.am:
2378 fix --disable-parse build
2380 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
2382 * tools/gst-feedback.1.in:
2383 Fix typo: s/feeback/feedback/ (#133494).
2385 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
2387 * tools/Makefile.am:
2388 * tools/gst-launch.1.in:
2389 Add FILES section and correct entry about GST_REGISTRY_PATH
2390 environment variable (#133495; #133494).
2392 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
2394 * tools/Makefile.am:
2395 * tools/gst-md5sum.1.in:
2396 * tools/gst-md5sum.c:
2397 Remove gst-md5sum and man page (the md5sink element
2398 required was removed ages ago)
2400 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
2402 * gst/gststructure.c: (gst_structure_id_set_value):
2403 Make sure that string fields in structures/taglists
2404 contain valid UTF-8 - we don't want to pass rubbish to
2405 applications because of a buggy plugin (cp. #334167).
2407 2006-03-21 Edward Hervey <edward@fluendo.com>
2409 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
2410 (gst_bin_handle_message_func):
2411 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
2412 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
2413 (gst_element_set_bus_func):
2414 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
2415 * gst/gstminiobject.c: (gst_value_set_mini_object),
2416 (gst_value_take_mini_object):
2417 * gst/gstpad.c: (gst_pad_set_pad_template):
2418 * gst/gstpipeline.c: (gst_pipeline_dispose),
2419 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
2420 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
2421 (gst_collect_pads_chain):
2422 * libs/gst/net/gstnettimeprovider.c:
2423 (gst_net_time_provider_set_property):
2424 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
2425 It's in fact all issues with gst_*object_replace().
2427 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
2429 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
2431 * pkgconfig/gstreamer-check-uninstalled.pc.in:
2432 * pkgconfig/gstreamer-check.pc.in:
2433 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
2435 2006-03-21 Edward Hervey <edward@fluendo.com>
2440 gst_[buffer|event|message]_ref() macros are replaced by a static
2441 inline functions because gcc-4.1 will about if the return value
2443 * tests/check/gst/gstevent.c: (event_probe):
2444 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
2446 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
2449 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
2450 the type' case. (Closes: #335195 for now). In the future, when we
2451 depend on GLib 2.10, we could also intern the type name using
2452 g_intern_static_string()
2454 2006-03-20 Wim Taymans <wim@fluendo.com>
2456 * gst/gstbin.c: (gst_bin_handle_message_func),
2457 (bin_query_max_init), (bin_query_position_fold),
2458 (bin_query_position_done), (gst_bin_query):
2459 Position query should also take max of all streams.
2461 2006-03-20 Wim Taymans <wim@fluendo.com>
2463 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
2464 (gst_fake_src_finalize):
2465 Fix leaks in fakesrc.
2467 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
2468 Fix leaks in the testcase.
2470 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
2472 * gst/gst_private.h:
2473 add win32 specific import decoration(__declspec(dllimport))
2474 for all extern GstDebugCategory * variables
2475 * win32/common/libgstbase.def:
2476 * win32/common/libgstcontroller.def:
2477 * win32/common/libgstreamer.def:
2478 Add some exports, remove empty lines
2479 * win32/common/libgstdataprotocol.def:
2480 * win32/common/libgstdataprotocol.dsp:
2481 * win32/common/libgstnet.def:
2482 * win32/common/libgstnet.dsp:
2483 new project files and exportation files added
2485 2006-03-19 Wim Taymans <wim@fluendo.com>
2487 * tests/check/libs/basesrc.c: (eos_event_counter):
2488 Use proper return value for probe.
2490 2006-03-17 Wim Taymans <wim@fluendo.com>
2492 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
2494 Don't leak buffers, caps and pads on negotiation errors.
2496 2006-03-16 Stefan Kost <ensonic@users.sf.net>
2499 * docs/faq/dependencies.xml:
2500 * docs/faq/developing.xml:
2502 * docs/faq/general.xml:
2503 * docs/faq/getting.xml:
2504 * docs/faq/legal.xml:
2505 * docs/faq/troubleshooting.xml:
2506 * docs/faq/using.xml:
2507 Faq review and update.
2509 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
2511 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
2513 Don't pound the cpu to pieces by checking get_caps when accept_caps
2514 is called with the same caps as the pad already has.
2515 Use GST_DEBUG_OBJECT when outputting caps change information.
2517 2006-03-15 Wim Taymans <wim@fluendo.com>
2519 * gst/gstclock.c: (gst_clock_class_init):
2522 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
2527 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
2528 (gst_pad_accept_caps), (gst_pad_configure_sink),
2529 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
2530 Make the default acceptcaps behaviour be to check the requested
2531 caps against the gst_pad_get_caps output.
2533 Ensure that gst_pad_accept_caps is used to check caps when a pad
2534 doesn't have a setcaps function, so that pads automatically refuse
2535 caps that they don't allow in their pad template. (Fixes #332986)
2537 When a buffer with attached caps is pushed, ensure that the source
2538 pad receives those caps even if the element didn't call
2539 gst_pad_set_caps first.
2541 2006-03-15 Wim Taymans <wim@fluendo.com>
2543 * libs/gst/base/gstadapter.c:
2546 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
2548 * win32/common/libgstbase.def:
2549 * win32/common/libgstcontroller.def:
2550 * win32/common/libgstreamer.def:
2551 Add a whole bunch of missing functions (#334434).
2553 2006-03-14 Wim Taymans <wim@fluendo.com>
2555 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
2556 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
2557 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
2558 Better debug info when we receive a segment event.
2559 Reorganize a bit so we can pass the get_times() results around.
2560 Use the segment format when calculating the running time.
2561 Don't do QoS is sync is disabled or we have no clock or the
2562 element does not want us to sync to the clock.
2563 Don't drop buffers if QoS is disabled for now.
2565 2006-03-14 Wim Taymans <wim@fluendo.com>
2567 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
2568 Marked the stats property as unimplemented so people don't get
2570 Add debug message when regression goes wrong.
2571 Added some more docs.
2573 2006-03-14 Wim Taymans <wim@fluendo.com>
2575 * gst/gstsegment.c: (gst_segment_to_stream_time):
2576 Return correct return type in case of errors.
2578 2006-03-14 Wim Taymans <wim@fluendo.com>
2580 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
2581 Don't segfault on invalid formats.
2583 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
2585 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2586 Can't use gst_segment_to_running_time() when the segment
2587 is not in GST_TIME_FORMAT (like with filesink, for example).
2588 Stops flac encoding pipelines from spewing critical warnings
2591 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
2593 * gst/gstpipeline.c: (gst_pipeline_class_init):
2594 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
2596 * plugins/elements/gsttypefindelement.c:
2597 (gst_type_find_element_handle_event):
2598 Don't try to typefind empty streams.
2600 2006-03-14 Wim Taymans <wim@fluendo.com>
2602 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
2603 (gst_base_sink_do_qos):
2604 Separate QoS calculation.
2605 Only drop buffers when lateness is bigger than the
2606 duration of the buffer.
2608 2006-03-13 Wim Taymans <wim@fluendo.com>
2610 * gst/gstpipeline.c: (gst_pipeline_set_property),
2611 (gst_pipeline_get_property), (do_pipeline_seek),
2612 (gst_pipeline_change_state), (gst_pipeline_set_delay),
2613 (gst_pipeline_get_delay):
2614 Don't deadlock when reading properties.
2616 2006-03-13 Wim Taymans <wim@fluendo.com>
2618 * libs/gst/base/gstbasetransform.c:
2619 (gst_base_transform_class_init), (gst_base_transform_init),
2620 (gst_base_transform_sink_event),
2621 (gst_base_transform_sink_eventfunc),
2622 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
2623 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
2624 (gst_base_transform_set_property),
2625 (gst_base_transform_get_property),
2626 (gst_base_transform_change_state), (gst_base_transform_update_qos),
2627 (gst_base_transform_set_qos_enabled),
2628 (gst_base_transform_is_qos_enabled):
2629 * libs/gst/base/gstbasetransform.h:
2630 Make basetransform virtual method for src events too.
2631 Handle QOS in basetransform.
2632 API: gst_base_transform_update_qos()
2633 API: gst_base_transform_set_qos_enabled()
2634 API: gst_base_transform_is_qos_enabled()
2636 2006-03-13 Wim Taymans <wim@fluendo.com>
2638 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2639 (gst_base_sink_do_sync):
2641 Use QOS debug category.
2643 2006-03-13 Wim Taymans <wim@fluendo.com>
2645 * plugins/elements/gstqueue.c:
2646 Very small doc update.
2648 2006-03-13 Wim Taymans <wim@fluendo.com>
2650 * gst/gst_private.h:
2651 * gst/gstinfo.c: (_gst_debug_init):
2652 Added QOS debug category
2654 2006-03-13 Wim Taymans <wim@fluendo.com>
2656 * docs/gst/gstreamer-sections.txt:
2657 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
2659 * gst/gstbus.c: (gst_bus_class_init):
2662 * gst/gstelement.c: (gst_element_set_locked_state):
2664 Documentation updates.
2666 * gst/gstpipeline.c: (gst_pipeline_get_type),
2667 (gst_pipeline_class_init), (gst_pipeline_init),
2668 (gst_pipeline_dispose), (gst_pipeline_set_property),
2669 (gst_pipeline_get_property), (do_pipeline_seek),
2670 (gst_pipeline_send_event), (gst_pipeline_change_state),
2671 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
2672 (gst_pipeline_get_delay):
2673 * gst/gstpipeline.h:
2674 Added methods for setting the delay.
2675 API: gst_pipeline_set_delay()
2676 API: gst_pipeline_get_delay()
2677 Add pipeline debug category
2680 Don't reset stream time when seek failed.
2682 2006-03-13 Wim Taymans <wim@fluendo.com>
2684 * docs/design/draft-klass.txt:
2685 * docs/design/part-clocks.txt:
2686 * docs/design/part-events.txt:
2687 * docs/design/part-gstbin.txt:
2688 * docs/design/part-gstpipeline.txt:
2689 * docs/design/part-messages.txt:
2690 * docs/design/part-negotiation.txt:
2691 * docs/design/part-overview.txt:
2692 * docs/design/part-preroll.txt:
2693 * docs/design/part-seeking.txt:
2694 * docs/design/part-states.txt:
2695 * docs/design/part-streams.txt:
2696 Documentation updates.
2698 2006-03-12 Julien MOUTTE <julien@moutte.net>
2700 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
2701 us to leak strings...
2703 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
2705 * libs/gst/net/gstnettimeprovider.c:
2707 * win32/common/config.h:
2710 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
2712 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
2715 Don't check for libgnomeui (leftover from old examples
2716 that aren't built or disted any longer) (#334303).
2718 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
2720 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
2721 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
2722 Emit RESOURCE_NO_SPACE_LEFT error here as well when
2723 there's no space left on the device.
2725 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
2728 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
2729 to cast the input to GstClockTime before comparing with
2730 another GstClockTime value.
2732 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
2737 === release 0.10.4 ===
2739 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
2742 releasing 0.10.4, "Light"
2744 2006-03-10 Michael Smith <msmith@fluendo.com>
2746 * libs/gst/dataprotocol/dataprotocol.c:
2747 Fix docs for dataprocotol to not get the return types completely
2748 wrong for a few functions.
2750 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
2752 * docs/gst/gstreamer-sections.txt:
2753 * gst/gstpipeline.c: (gst_pipeline_class_init),
2754 (gst_pipeline_init), (gst_pipeline_set_property),
2755 (gst_pipeline_get_property), (gst_pipeline_change_state),
2756 (gst_pipeline_set_auto_flush_bus),
2757 (gst_pipeline_get_auto_flush_bus):
2758 * gst/gstpipeline.h:
2759 Add new API: gst_pipeline_set_auto_flush_bus() and
2760 gst_pipeline_get_auto_flush_bus() to disable automatic
2761 flushing of the pipeline's GstBus when going from READY
2762 to NULL state (#332045).
2764 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
2766 * docs/gst/gstreamer-sections.txt:
2767 * gst/gsturi.c: (gst_uri_has_protocol):
2769 Add new API: gst_uri_has_protocol() (#333779).
2771 2006-03-09 Wim Taymans <wim@fluendo.com>
2773 * gst/gstclock.c: (gst_clock_entry_new),
2774 (gst_clock_id_compare_func), (gst_clock_id_wait),
2775 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
2776 (gst_clock_init), (gst_clock_get_internal_time),
2777 (gst_clock_set_master), (do_linear_regression),
2778 (gst_clock_add_observation), (gst_clock_set_property):
2782 Fix a possible segfault when the window-size is made smaller.
2783 Calculate jitter before performing the clock wait. Ideally
2784 the clock implementation should calculate jitter but we need
2785 API breakage for that.
2787 * gst/gstsystemclock.c: (gst_system_clock_init):
2790 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2791 Remove leftover else
2793 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
2794 (gst_systemclock_suite):
2795 Added check to test GST_CLOCK_DIFF.
2797 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
2799 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
2800 (gst_type_find_helper_get_range):
2801 If we are provided with the size, we should implement
2802 GstTypeFind::get_length, so that typefind functions who
2803 want to can actually peek at the middle of a file.
2805 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
2807 * docs/manual/advanced-dataaccess.xml:
2808 Add some very very basic error checking.
2810 * docs/pwg/appendix-checklist.xml:
2811 Some updates to the list of things to check when writing an element.
2813 2006-03-08 Wim Taymans <wim@fluendo.com>
2815 * docs/design/part-element-transform.txt:
2816 Added some docs about the design of tranform elements.
2818 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
2819 (gst_base_src_loop), (gst_base_src_change_state):
2820 Mark buffers with the DISCONT flag.
2822 2006-03-08 Michael Smith <msmith@fluendo.com>
2824 * gst/gstregistry.h:
2825 * gst/gstregistryxml.c: (gst_registry_save),
2826 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
2827 (gst_registry_xml_save_pad_template),
2828 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
2829 (gst_registry_xml_write_cache):
2830 Rewrite registry-saving to avoid race conditions and check for
2833 2006-03-08 Wim Taymans <wim@fluendo.com>
2835 * libs/gst/base/gstbasetransform.c:
2836 (gst_base_transform_transform_caps),
2837 (gst_base_transform_transform_size),
2838 (gst_base_transform_prepare_output_buffer),
2839 (gst_base_transform_get_unit_size),
2840 (gst_base_transform_buffer_alloc),
2841 (gst_base_transform_handle_buffer),
2842 (gst_base_transform_change_state):
2843 Cleanups, separate normal flow from errors, add sensible
2845 Don't try to renegotiate when allocating an output buffer.
2846 Also copy DISCONT buffer flag when copying a buffer.
2847 Reset the transform after we finish streaming, not during.
2849 2006-03-08 Wim Taymans <wim@fluendo.com>
2851 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2852 Use last buffer timestamp in qos message.
2854 2006-03-07 Wim Taymans <wim@fluendo.com>
2856 Patch by: Christophe Fergeau
2858 * docs/pwg/advanced-tagging.xml:
2859 * docs/pwg/building-pads.xml:
2862 2006-03-07 Wim Taymans <wim@fluendo.com>
2864 * docs/libs/gstreamer-libs-sections.txt:
2865 Added basesink new methods.
2869 Docs updates. Flesh out the QoS docs.
2871 * libs/gst/base/gstadapter.c:
2872 Small doc clarification about ownership and flushing.
2874 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
2875 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
2876 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
2877 (gst_base_sink_get_property), (gst_base_sink_do_sync):
2878 * libs/gst/base/gstbasesink.h:
2880 Added new methods to allow subclass to control max-lateness
2882 Generate very basic QoS events based on last sync observation.
2883 Updated docs, fix typo, added some QoS blurb.
2885 * libs/gst/base/gstbasesrc.c:
2886 Remove obsolete _get_state() calls from docs.
2888 2006-03-07 Wim Taymans <wim@fluendo.com>
2890 * docs/libs/gstreamer-libs-sections.txt:
2891 * libs/gst/base/gstbasetransform.h:
2892 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
2893 Fix docs for GstBaseSrc.
2895 2006-03-07 Wim Taymans <wim@fluendo.com>
2897 * docs/gst/gstreamer-sections.txt:
2900 * libs/gst/base/gstbasetransform.h:
2901 Small documentation fixes.
2903 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
2906 Document thread-unsafety of gst_value_register_foo_func()
2907 when used at the same time as gst_value_foo() (#322628).
2909 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
2911 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
2912 (gst_push_src_check_get_range):
2913 Push sources don't support pull mode by default.
2915 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
2917 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2918 (gst_base_src_init), (gst_base_src_pad_check_get_range),
2919 (gst_base_src_default_check_get_range):
2920 * libs/gst/base/gstbasesrc.h:
2921 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
2922 provide default implementation, and rename
2923 gst_base_src_check_get_range() to
2924 gst_base_src_pad_check_get_range() for clarity.
2926 2006-03-06 Wim Taymans <wim@fluendo.com>
2928 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2929 Make property overridable.
2931 2006-03-06 Wim Taymans <wim@fluendo.com>
2933 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
2934 (gst_base_sink_init), (gst_base_sink_set_property),
2935 (gst_base_sink_get_property), (gst_base_sink_do_sync):
2936 * libs/gst/base/gstbasesink.h:
2937 API addition: Make max-lateness a property.
2939 2006-03-06 Wim Taymans <wim@fluendo.com>
2941 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
2942 (gst_base_sink_do_sync), (gst_base_sink_render_object):
2943 Don't ever draw a frame that is >10ms late.
2945 2006-03-06 Michael Smith <msmith@fluendo.com>
2947 * gst/gstmessage.c: (_gst_message_copy):
2948 When copying a message, set the parent_refcount of the enclosed
2949 structure to point at the copy, not the original message.
2951 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
2953 Patch by: Christophe Fergeau
2956 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
2957 usable in c++ code (#333417)
2959 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
2962 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
2964 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
2966 * libs/gst/base/gstbasetransform.c:
2967 (gst_base_transform_transform_caps):
2968 Make sure caps are writable before passing them to
2971 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
2974 Fix some minor docs errors.
2976 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
2978 Patch by: Ross Burton <ross at burtonini dot com>
2980 * gst/gsterror.c: (_gst_resource_errors_init):
2982 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
2984 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
2987 Add a check and output a g_warning when GStreamer is built
2988 against GLib 2.6 but running against 2.8 or higher, and vice
2989 versa. (Closes: #323542)
2991 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
2993 * gst/parse/parse.l:
2994 Commit patch for parse_launch syntax from #331255. Removes
2995 support for quoted strings and mimetypes when writing filtered
2996 caps. See the bug report for more details - I'm pretty sure this
2997 obscure feature is not in use by _anyone_ anywhere.
2999 With this simple change, the size of the gstreamer.so here
3000 drops from 2193KB to 1565KB.
3002 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
3004 * plugins/elements/gsttypefindelement.h:
3005 * plugins/elements/gsttypefindelement.c:
3006 (gst_type_find_element_src_event), (start_typefinding),
3007 (stop_typefinding), (gst_type_find_element_handle_event),
3008 (gst_type_find_element_chain),
3009 (gst_type_find_element_chain_do_typefinding):
3010 Use gst_type_find_helper_for_buffer() for chain-based
3013 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
3015 * plugins/elements/gsttypefindelement.c:
3016 (gst_type_find_element_class_init),
3017 (gst_type_find_element_set_property),
3018 (gst_type_find_element_get_property):
3019 Deprecate "maximum" property (not only was it only taken into
3020 account for typefinding in push-mode anyway, it also was never
3021 actually possible to set it in the first place because the
3022 property was registered with the numeric property ID for the
3023 "minimum" property). Register "maximum" property correctly,
3024 for the sake of future copy'n'pasters. Remove some cruft
3025 from property get/set functions.
3027 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
3029 * plugins/elements/gsttypefindelement.c:
3030 (gst_type_find_element_activate):
3031 Use gst_type_find_helper_get_range() here, so we
3032 can honour the "minimum" property and also emit
3033 the signal with the correct probability of the found caps.
3035 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
3037 * docs/libs/gstreamer-libs-sections.txt:
3038 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
3039 (helper_find_suggest), (gst_type_find_helper_get_range),
3040 (gst_type_find_helper):
3041 * libs/gst/base/gsttypefindhelper.h:
3042 New API: gst_type_find_helper_get_range() (#333042).
3044 2006-03-02 Michael Smith <msmith@fluendo.com>
3046 * gst/gstregistryxml.c: (load_feature):
3047 Asserting on a failure to read part of the registry is Not Cool.
3048 Just log a warning and return NULL (which is already handled)
3050 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
3052 * win32/common/libgstbase.def:
3053 added export of gst_type_find_helper_for_buffer
3054 * win32/common/libgstbase.def:
3055 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
3056 gst_ghost_pad_get_target
3058 2006-02-28 Wim Taymans <wim@fluendo.com>
3060 * docs/design/draft-klass.txt:
3062 Added Connector to mark elements that are only used to
3063 allow pipeline connections.
3064 Moved Debug to extra feature since most of them are
3065 functionally something else.
3067 2006-02-28 Wim Taymans <wim@fluendo.com>
3069 * docs/design/draft-klass.txt:
3070 Some updates and clarifications.
3072 2006-02-28 Wim Taymans <wim@fluendo.com>
3074 * docs/design/draft-klass.txt:
3075 Proposal for klass field values.
3077 * docs/design/part-streams.txt:
3078 Start of a doc describing stream anatomy.
3080 2006-02-28 Wim Taymans <wim@fluendo.com>
3082 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
3083 Help the compiler a bit with type registration.
3084 Use existing forward cod path instead of duplicating it when
3087 * gst/gstbus.c: (gst_bus_get_type):
3088 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
3089 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
3090 * gst/gstclock.c: (gst_clock_get_type):
3091 * gst/gstelement.c: (gst_element_get_type),
3092 * gst/gstelementfactory.c: (gst_element_factory_get_type):
3093 * gst/gstindexfactory.c: (gst_index_factory_get_type):
3094 * gst/gstminiobject.c: (gst_mini_object_get_type):
3095 * gst/gstpad.c: (gst_pad_get_type):
3096 * gst/gstsegment.c: (gst_segment_get_type):
3097 * gst/gststructure.c: (gst_structure_get_type):
3098 * gst/gstsystemclock.c: (gst_system_clock_get_type):
3099 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
3101 Help compiler with type registration.
3103 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
3106 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
3108 * plugins/elements/gsttypefindelement.c:
3109 (gst_type_find_element_handle_event):
3110 When we get an EOS event and have not found a type yet
3111 (most likely because we had not yet accumulated
3112 TYPE_FIND_MIN_SIZE of data yet), try to determine the
3113 type given the data we have so far. Fixes typefinding
3114 for very short streams again, most notably quicktime
3115 redirections as used on Apple's trailer site (#331701).
3117 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
3119 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
3120 (gst_type_find_helper):
3121 Try typefinding factories with the highest rank first.
3123 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
3125 * docs/libs/gstreamer-libs-docs.sgml:
3126 * docs/libs/gstreamer-libs-sections.txt:
3127 * libs/gst/base/gsttypefindhelper.c:
3128 Add section for typefind helper and add documentation
3129 for the old and the new function.
3131 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
3133 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
3134 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
3135 (gst_type_find_helper_for_buffer):
3136 * libs/gst/base/gsttypefindhelper.h:
3137 New API: gst_type_find_helper_for_buffer() (#332723).
3139 2006-02-27 Michael Smith <msmith@fluendo.com>
3141 Patch by: Loïc Minier
3145 * docs/slides/Makefile.am:
3146 prevent CVS directories getting disted.
3148 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
3150 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
3151 Use the REFCOUNTING category for caps refcounting.
3153 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
3155 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
3156 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
3158 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
3160 * plugins/elements/gsttypefindelement.c:
3161 (gst_type_find_element_activate):
3162 Use gst_pad_check_pull_range() before _activate_pull()
3163 to avoid unnecessary open/close (see #331690).
3165 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
3168 Docs enhancement: make it crystal clear what the
3169 gst_pad_add_*_probe() callbacks should look like.
3171 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
3173 * libs/gst/base/gstbasesrc.c:
3174 Document how applications can stop recording from
3175 live sources (see #330996).
3177 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
3179 * tests/check/Makefile.am:
3180 * tests/check/libs/basesrc.c: (eos_event_counter),
3181 (basesrc_eos_events_pull), (basesrc_eos_events_push),
3182 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
3183 (gst_basesrc_suite), (main):
3184 ... and add some tests for the base source EOS stuff.
3186 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
3188 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
3189 Test case originally showed the problem fixed below,
3190 but was then amended. Add checks back at the place
3191 where they used to be.
3193 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
3195 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3196 (gst_base_src_init), (gst_base_src_loop),
3197 (gst_base_src_activate_push), (gst_base_src_activate_pull),
3198 (gst_base_src_change_state):
3199 * libs/gst/base/gstbasesrc.h:
3200 Don't unconditionally send EOS when going from PAUSED to
3201 READY state, esp. make sure we don't send two EOS events
3202 in some cases (e.g. one when reaching EOS and one when
3203 going from PAUSED to READY). Also, we don't want to send
3204 EOS events when operating in pull mode. However, we do
3205 want to send an EOS event when shutting down a live
3206 source explicitly, for example (fixes #330996).
3208 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
3210 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
3211 Update src->read_position after a seek when not using mmap.
3212 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
3214 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
3220 Make things work with --disable-parse as they do with
3221 --disable-load-save - the symbols involved disappear, but the
3222 header is still installed and GST_DISABLE_PARSE is included via
3225 2006-02-20 Julien MOUTTE <julien@moutte.net>
3227 * libs/gst/base/gstbasetransform.c:
3228 (gst_base_transform_change_state): Fix a stupid bug. I was
3229 sure I compiled that.
3231 2006-02-20 Julien MOUTTE <julien@moutte.net>
3233 * gst/gstpad.c: (gst_pad_set_blocked_async):
3234 * gst/gstutils.c: (gst_pad_add_data_probe),
3235 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
3236 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
3237 (gst_pad_remove_buffer_probe): Make those function act on the
3238 ghostpad target when it's a ghostpad. (Closes #331727)
3240 2006-02-20 Julien MOUTTE <julien@moutte.net>
3242 * libs/gst/base/gstbasetransform.c:
3243 (gst_base_transform_change_state): Make basetransform reusable.
3246 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
3248 * docs/random/release:
3249 Move the current documentation of how to do a release to the top
3252 * gst/gstbin.c: (gst_bin_class_init),
3253 (gst_bin_handle_message_func):
3254 Allow multiple state-recalculation threads. (Closes #328873)
3256 2006-02-19 Julien MOUTTE <julien@moutte.net>
3258 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
3259 * gst/gstpad.c: (gst_pad_set_event_function),
3260 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
3261 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
3262 2 strings. You can't use the STR_NULL macro on that.
3264 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
3266 * gst/gstpad.c: (gst_pad_set_event_function),
3267 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
3268 (gst_pad_set_getcaps_function)
3269 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
3270 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
3271 So now, we can use --gst-debug-level=5 on Windows
3272 * win32/common/libgstcontroller.def:
3273 Added export of gst_controller_init
3274 * win32/vs6/libgstcontroller.dsp:
3275 Fixed Release post build configuration
3277 2006-02-17 Wim Taymans <wim@fluendo.com>
3279 * tests/check/gst/gstquery.c: (GST_START_TEST):
3280 Added another check.
3282 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
3284 * plugins/elements/gsttypefindelement.c: (find_peek):
3285 We can do peeks at non-zero offsets, as long as they
3286 fall within the buffer we have.
3288 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
3290 * tests/check/Makefile.am:
3291 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
3292 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
3293 (parse_suite), (main):
3294 Add testsuite for parse launch syntax
3296 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
3298 * plugins/elements/gsttypefindelement.c:
3299 (gst_type_find_element_chain):
3300 When typefinding is unsuccessful in the chain function, don't
3301 error out immediately. Only error out with NO_CAPS_FOUND if
3302 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
3303 otherwise simply wait for more data so we can try typefinding
3304 again with more data later. Also, don't attempt to typefind
3305 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
3306 this should improve typefinding from network sources where the
3307 size of the first buffer can be somewhat random.
3309 2006-02-14 Wim Taymans <wim@fluendo.com>
3311 * docs/gst/gstreamer-sections.txt:
3312 * gst/gstpadtemplate.c:
3313 * gst/gstpadtemplate.h:
3314 Fix padtemplate docs, fixes #328805.
3316 2006-02-14 Wim Taymans <wim@fluendo.com>
3318 * tools/gst-launch.c: (main):
3319 NO_PREROLL is not an ERROR so don't send confusing messages
3322 2006-02-14 Wim Taymans <wim@fluendo.com>
3324 Patch by: Torsten Schoenfeld
3326 * gst/gstregistry.c: (gst_registry_get_default),
3327 (_gst_registry_cleanup):
3328 Protect default registry with lock and ref/sink it.
3331 2006-02-14 Wim Taymans <wim@fluendo.com>
3334 * gst/gstquery.c: (gst_query_list_add_format),
3335 (gst_query_set_formatsv), (gst_query_parse_formats_length),
3336 (gst_query_parse_formats_nth):
3337 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3340 2006-02-14 Wim Taymans <wim@fluendo.com>
3342 * docs/gst/gstreamer-sections.txt:
3343 Reworked query docs.
3345 * gst/gstquery.c: (gst_query_new_formats),
3346 (gst_query_list_add_format), (gst_query_set_formats),
3347 (gst_query_set_formatsv), (gst_query_parse_formats_length),
3348 (gst_query_parse_formats_nth):
3350 Flesh out formats query, added some new methods.
3351 Fix part of #324398.
3353 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
3354 Added query creation tests.
3356 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
3358 * gst/gstpad.c: (fixate_value):
3359 Add a default fixation for fraction lists.
3361 2006-02-13 Wim Taymans <wim@fluendo.com>
3363 * gst/gsttask.c: (gst_task_init), (gst_task_func),
3364 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
3367 Detect and warn for obvious deadlocks. fixes #320340
3368 Fix error case where lock was not released.
3370 * tests/check/Makefile.am:
3371 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
3372 (task_func), (gst_element_suite), (main):
3375 2006-02-13 Wim Taymans <wim@fluendo.com>
3377 * docs/gst/gstreamer-sections.txt:
3379 Add new functions to docs.
3381 2006-02-13 Wim Taymans <wim@fluendo.com>
3383 * docs/design/part-TODO.txt:
3384 Updated TODO list, basesrc supports seeking to non-bytes
3387 * docs/design/part-element-sink.txt:
3390 * gst/gstbin.c: (bin_replace_message),
3391 (gst_bin_handle_message_func):
3392 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
3393 * gst/gstevent.c: (gst_event_finalize):
3394 * gst/gstpad.c: (gst_pad_event_default_dispatch),
3395 (gst_pad_send_event):
3396 Use shiny new _TYPE_NAME macros.
3398 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
3399 Move debug statement up.
3401 * gst/gstelement.c: (gst_element_set_locked_state):
3404 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
3406 * docs/gst/gstreamer-sections.txt:
3409 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
3410 macros (#330906). Also, document the already existing
3411 GST_QUERY_TYPE macro.
3413 2006-02-13 Wim Taymans <wim@fluendo.com>
3415 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
3416 (event_probe), (GST_START_TEST):
3417 Only events up to the pipeline EOS are counted, there are
3418 some more when going to NULL currently which we don't care
3421 2006-02-13 Wim Taymans <wim@fluendo.com>
3423 * gst/gstpad.c: (gst_pad_send_event):
3424 Correctly check flushing and emit probes. fixes #330125
3426 2006-02-10 Andy Wingo <wingo@pobox.com>
3428 * gst/gstbus.c (gst_bus_class_init): Declare our private data
3430 (gst_bus_init): Cache the location of the private data in the
3432 (gst_bus_enable_sync_message_emission)
3433 (gst_bus_disable_sync_message_emission): Implement new public
3435 (gst_bus_post): Emit the sync-message signal if the user asked for
3438 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
3439 location of the bus-private structure.
3440 (gst_bus_enable_sync_message_emission)
3441 (gst_bus_disable_sync_message_emission): API addition
3443 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
3445 Patch by: Vincent Torri
3447 * docs/pwg/building-boiler.xml:
3448 PWG patch from #326800
3450 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
3454 * docs/design/Makefile.am:
3457 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
3462 === release 0.10.3 ===
3464 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
3467 releasing 0.10.3, "Like a virgin"
3469 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
3472 2nd prerelease of 0.10.3
3473 Bump libtool versioning.
3475 2006-02-07 Andy Wingo <wingo@pobox.com>
3477 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
3478 update last_stop if we're in TIME format and the timestamp is
3481 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
3482 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
3483 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
3484 If we get a new newsegment with a different format, adapt
3487 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
3488 of 0. Not a problem, really.
3490 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
3493 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
3498 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
3501 project files updated to the default vs7 configuration
3502 * win32/common/libgstbase.def:
3503 * win32/common/libgstreamer.def:
3505 removed empty lines,
3506 sorted all exported symbols alphabetically
3507 * win32/common/dirent.c:
3508 * win32/common/dirent.h:
3509 * win32/common/gchar.h:
3510 use windows line end.
3512 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
3514 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
3515 Send EOS event when stopping.
3517 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
3520 Tell folks what to do if the plugin-foobar.xml file
3521 hasn't been generated for a newly-added plugin.
3523 2006-02-05 Julien MOUTTE <julien@moutte.net>
3525 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
3526 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
3527 (gst_collect_pads_start), (gst_collect_pads_stop),
3528 (gst_collect_pads_event): Collectpads now holds a reference
3529 to the GstPad that was added. Indeed we don't want to look
3530 at pads that might just go away with no warning...
3532 2006-02-05 Julien MOUTTE <julien@moutte.net>
3534 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
3535 (gst_collect_pads_start), (gst_collect_pads_stop),
3536 (gst_collect_pads_event), (gst_collect_pads_chain):
3537 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
3538 Mark Nauwelaerts's patch on bug #328491.
3540 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
3542 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
3544 Add some simple tests for gst_parse_bin_from_description() and
3545 gst_bin_find_unconnected_pad() (#329069).
3547 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
3549 * tools/gst-launch.c: (event_loop), (main):
3550 Catch errors during preroll (#320084).
3552 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
3554 * plugins/elements/gsttypefindelement.c:
3555 (gst_type_find_element_activate):
3556 Post TYPE_NOT_FOUND error message when typefinding
3557 is unsuccessful in the activate function as well.
3559 2006-02-02 Wim Taymans <wim@fluendo.com>
3561 * docs/design/part-element-sink.txt:
3564 2006-02-02 Wim Taymans <wim@fluendo.com>
3566 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
3567 (gst_base_sink_render_object),
3568 (gst_base_sink_queue_object_unlocked):
3569 Only keep track of prerollable items when we are
3571 Before rendering after preroll, always check if we
3573 Added some more debugging.
3575 2006-02-02 Wim Taymans <wim@fluendo.com>
3577 * gst/gstelement.c: (gst_element_continue_state),
3578 (gst_element_set_state_func), (gst_element_change_state):
3579 Fixed #326576, been running this for quite some time with
3580 no regressions at all.
3582 2006-02-02 Wim Taymans <wim@fluendo.com>
3585 Added more suppressions
3587 2006-02-02 Wim Taymans <wim@fluendo.com>
3589 * docs/design/part-element-sink.txt:
3592 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3593 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
3594 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
3595 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
3596 (gst_base_sink_do_sync), (gst_base_sink_render_object),
3597 (gst_base_sink_preroll_object),
3598 (gst_base_sink_queue_object_unlocked),
3599 (gst_base_sink_queue_object), (gst_base_sink_event),
3600 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
3601 (gst_base_sink_loop), (gst_base_sink_activate_pull),
3602 (gst_base_sink_get_position), (gst_base_sink_change_state):
3603 * libs/gst/base/gstbasesink.h:
3604 Totally refactored matching the design doc.
3605 Use two segments, one to clip incomming buffers and another to
3607 Handle queueing correctly, bypass the queue when playing.
3608 Make EOS cancelable.
3609 Handle errors correctly when operating in pull based mode.
3611 * tests/check/elements/fakesink.c: (GST_START_TEST),
3613 Added new check for sinks.
3615 2006-02-02 Wim Taymans <wim@fluendo.com>
3617 * gst/gstsegment.c: (gst_segment_clip):
3618 No reason to refuse to clip when start == -1
3620 2006-02-02 Stefan Kost <ensonic@users.sf.net>
3623 * docs/manual/intro-basics.xml:
3624 * docs/manual/intro-preface.xml:
3625 * docs/manual/manual.xml:
3626 * docs/pwg/advanced-dparams.xml:
3627 * docs/pwg/intro-basics.xml:
3628 * docs/pwg/intro-preface.xml:
3630 describe dparams (controller) for plugins
3631 unify docs a little more
3633 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
3635 * docs/gst/gstreamer-sections.txt:
3636 * gst/gstutils.c: (element_find_unconnected_pad),
3637 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
3639 Add new API: gst_parse_bin_from_description() and
3640 gst_bin_find_unconnected_pad() (#329069).
3642 2006-02-01 Stefan Kost <ensonic@users.sf.net>
3644 * docs/manual/README:
3645 uncover a nasty detail of the docs build
3647 2006-01-31 Wim Taymans <wim@fluendo.com>
3649 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
3650 Don't cache duration messages if we're not going to use or
3653 2006-01-31 Stefan Kost <ensonic@users.sf.net>
3655 * docs/manual/advanced-dparams.xml:
3656 * docs/pwg/advanced-dparams.xml:
3660 * libs/gst/controller/lib.c: (gst_controller_init):
3663 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
3665 * gst/gstelement.c: (gst_element_message_full):
3666 also show file/line/func if no additional debug was given
3668 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
3670 * win32/vs7/grammar.vcproj:
3671 activate copy of autogenerated files for Release mode
3673 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
3675 * win32/common/libgstreamer.def:
3676 export gst_value_compare
3678 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
3680 * plugins/elements/Makefile.am:
3681 * plugins/elements/gstelements.c:
3682 * plugins/elements/gstfdsink.c: (_do_init),
3683 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
3684 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
3685 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
3686 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
3687 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
3688 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
3689 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
3690 * plugins/elements/gstfdsink.h:
3691 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
3693 2006-01-30 Stefan Kost <ensonic@users.sf.net>
3695 * docs/manual/advanced-dparams.xml:
3697 * docs/manual/advanced-position.xml:
3698 * docs/manual/basics-init.xml:
3699 * docs/manual/manual.xml:
3700 * docs/manual/titlepage.xml:
3702 * docs/pwg/titlepage.xml:
3703 cleanup xml (more to come)
3704 * libs/gst/controller/gstcontroller.c:
3707 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
3709 * win32/vs6/grammar.dsp:
3710 add autogen of gstmarshal.c,h for Release mode
3712 2006-01-30 Wim Taymans <wim@fluendo.com>
3714 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3715 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
3716 (gst_base_sink_handle_object), (gst_base_sink_event),
3717 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
3718 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
3719 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
3720 (gst_base_sink_deactivate), (gst_base_sink_activate),
3721 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
3722 (gst_base_sink_query), (gst_base_sink_change_state):
3723 Basesink cleanups, remove some old code.
3724 Handle the case where a subclass can preroll in the render
3725 method (mostly audiosinks).
3727 Remove some locks around variables that are now protected
3728 with the PREROLL_LOCK (clock_id, flushing, ..).
3729 Optimize position query some more, do correct locking.
3730 Remove old code to push queue in state change, this is not
3731 needed anymore since preroll blocks on all prerollable items
3733 Almost implemented as described in design doc.
3735 2006-01-30 Wim Taymans <wim@fluendo.com>
3737 * tests/check/gst/gstbin.c: (GST_START_TEST):
3738 Wait for refcount to settle down before checking.
3740 2006-01-30 Wim Taymans <wim@fluendo.com>
3742 * docs/design/part-element-sink.txt:
3743 Pseudo code overview of desired sink behaviour regarding
3746 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
3747 * win32/vs6/grammar.dsp:
3748 fix some bugs in Release mode for autogenerated files
3750 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
3751 * win32/common/libgstbase.def:
3752 * win32/common/libgstreamer.def:
3753 export some new symbols: gst_base_src_set_format,
3754 gst_iterator_next, gst_structure_set_valist
3756 2006-01-29 Julien MOUTTE <julien@moutte.net>
3758 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
3759 Set pad functions unconditionally. Fixes #329105.
3761 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
3763 add vs8 project files created by Sergey Scobich
3765 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
3767 * gst/gstutils.c: (gst_element_unlink_pads):
3768 Don't leak pad references.
3770 * tests/check/elements/fakesink.c: (GST_START_TEST):
3771 * tests/check/generic/sinks.c: (GST_START_TEST):
3772 * tests/check/generic/states.c: (GST_START_TEST):
3773 * tests/check/gst/gstbin.c: (GST_START_TEST):
3774 * tests/check/gst/gstcaps.c: (GST_START_TEST):
3775 * tests/check/gst/gstelement.c: (GST_START_TEST):
3776 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3777 * tests/check/gst/gstiterator.c: (GST_START_TEST):
3778 * tests/check/gst/gstvalue.c: (GST_START_TEST):
3779 Fix a bunch of leaks. Make generic/sinks.c
3780 use a bit less cpu by slowing the buffer rate
3781 between fakesrc and fakesink.
3783 2006-01-27 Stefan Kost <ensonic@users.sf.net>
3785 * gst/gstelement.c: (gst_element_send_event):
3788 * gst/gstiterator.c:
3789 * gst/gstiterator.h:
3790 * gst/gstpad.c: (gst_pad_send_event):
3791 * gst/gststructure.c:
3795 * libs/gst/base/gstadapter.c:
3796 doc fixes, to link to function, just write gst_cool_function(), don't
3799 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
3801 * plugins/elements/gsttee.c: (gst_tee_do_push),
3802 (gst_tee_handle_buffer):
3803 Always prefer an actual return value from a src
3804 pad in place of NOT_LINKED. This means we return
3805 WRONG_STATE when all src pads are WRONG_STATE
3806 instead of NOT_LINKED.
3808 Lock when replacing the last message to prevent
3809 racing with the get_property method.
3813 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
3815 * tests/check/Makefile.am:
3816 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
3818 Add a very simple check that should have caught the memleak I fixed
3819 last night (if not for the slice allocator hiding it)
3821 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
3823 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
3824 (gst_bin_remove_func), (gst_bin_handle_message_func),
3825 (bin_query_duration_fold), (bin_query_generic_fold):
3826 Clean up references to the clock provider when disposed or when
3827 handling a clock-lost message from it.
3829 Unref sinks when performing a query via gst_iterator_fold, as the
3830 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
3832 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
3833 (gst_clock_set_master):
3834 Drop our reference to the master clock, if any, when we are disposed.
3836 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
3837 Chain up in dispose.
3839 2006-01-26 Wim Taymans <wim@fluendo.com>
3841 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
3844 2006-01-26 Julien MOUTTE <julien@moutte.net>
3846 * plugins/elements/gsttee.c: (gst_tee_do_push),
3847 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
3848 handles pad being NOT_LINKED or in WRONG_STATE.
3850 2006-01-26 Stefan Kost <ensonic@users.sf.net>
3855 2006-01-26 Stefan Kost <ensonic@users.sf.net>
3858 remove obsolete entry
3860 2006-01-26 Stefan Kost <ensonic@users.sf.net>
3862 * docs/gst/gstreamer-sections.txt:
3863 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
3864 (gst_bin_iterate_sources), (gst_bin_send_event):
3866 * gst/gstelement.c: (gst_element_send_event):
3868 * gst/gstpad.c: (gst_pad_send_event):
3869 added code for downstream events, reviewed docs in gstevent.c
3871 2006-01-25 Julien MOUTTE <julien@moutte.net>
3873 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
3874 We only query position using the clock in the playing state.
3875 Query peer in the other cases.
3876 * win32/common/config.h: Updates.
3878 2006-01-24 Wim Taymans <wim@fluendo.com>
3880 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
3881 A clock entry that is scheduled for the exact time of the
3882 clock is still in time.
3884 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3885 (gst_base_sink_do_sync):
3886 Add some more debug info.
3888 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
3891 Add new vs7 project files and solution.
3893 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
3896 all files removed as they were out-dated.
3898 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
3900 * docs/random/release:
3902 * gst/gstbin.c: (gst_bin_init):
3903 * gst/gstbus.c: (gst_bus_new):
3905 * gst/gstpipeline.c: (gst_pipeline_init):
3906 use gst_bus_new(), improve logging, fix docs
3907 * win32/common/config.h:
3908 update for cvs build
3910 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
3913 up required version of automake to 1.7
3915 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
3917 * win32/common/libgstreamer.def:
3918 export gst_buffer_is_metadata_writable
3920 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
3922 * docs/gst/gstreamer-sections.txt:
3924 Add gst_event_replace() (#327001)
3926 2006-01-20 Wim Taymans <wim@fluendo.com>
3928 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
3929 Make it actually compile too..
3931 2006-01-20 Wim Taymans <wim@fluendo.com>
3934 Clarify behaviour of _is_equal() when passing NULL parameters.
3936 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
3938 Cleanups. Don't unref NULL caps.
3939 When setting the same caps, protect caps of the pad with
3941 Use full functionality of _is_equal() when comparing caps.
3943 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
3945 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
3946 Don't loop infinitely if there are no buffers to present. Partially
3947 fixes #327197, but collectpads is just broken for reusing elements
3948 to do multiple encodes atm.
3950 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
3952 * tools/gst-inspect.c: (print_element_features):
3953 * tools/gst-xmlinspect.c: (main):
3954 URL_HANDLER is not a plugin feature we can search for in
3957 2006-01-19 Edward Hervey <edward@fluendo.com>
3959 * gst/gstelement.c: (gst_element_pads_activate):
3960 When activating, do src pads first, then sink pads.
3961 When de-activating, do sink pads first, then src pads.
3963 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
3965 * docs/gst/gstreamer-sections.txt:
3966 Add gst_index_add_associationv to the docs
3968 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
3973 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
3974 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
3975 Do some refactoring. Doesn't actually change functionality,
3976 but makes landing the DRAIN event easier later.
3978 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
3980 * docs/pwg/advanced-scheduling.xml:
3981 Update from 0.9.x to 0.10 API and make example a bit
3984 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
3986 * docs/gst/gstreamer-sections.txt:
3987 Add gst_buffer_(is|make)_metadata_writable methods.
3989 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
3991 * docs/design/part-sparsestreams.txt:
3992 Update sparse streams doc, hopefully for greater clarity
3994 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
3996 * docs/design/part-events.txt:
3997 Remove mention of FILLER events.
4000 * docs/design/part-sparsestreams.txt:
4001 Write some things about using NEWSEGMENT to keep sparse streams
4004 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
4006 * gst/gstbin.c: (gst_bin_dispose):
4007 Guard gst_object_unref call against a NULL object (dispose
4008 can theoretically be called multiple times).
4010 2006-01-18 Wim Taymans <wim@fluendo.com>
4012 * gst/gstbin.c: (gst_bin_element_set_state):
4013 * gst/gstclock.c: (gst_clock_id_wait):
4014 Added some more debug info.
4016 * libs/gst/base/gstadapter.c:
4019 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4020 (gst_base_sink_do_sync), (gst_base_sink_chain):
4021 Added some comments.
4023 2006-01-18 Wim Taymans <wim@fluendo.com>
4025 * tests/check/Makefile.am:
4026 * tests/check/elements/fakesink.c: (chain_async_buffer),
4027 (chain_async), (chain_async_return), (GST_START_TEST),
4028 (fakesink_suite), (main):
4029 Added fakesink test that checks prerolling and clipping
4032 * tests/check/gst/gstutils.c: (GST_START_TEST):
4033 Make check run faster so that buildbots don't timeout.
4035 2006-01-18 Wim Taymans <wim@fluendo.com>
4037 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4038 (gst_base_sink_do_sync):
4040 When the sink finishes blocking on the preroll buffer, it can
4041 immediatly render it instead of rendering when the next buffer
4044 2006-01-18 Wim Taymans <wim@fluendo.com>
4046 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
4047 (gst_base_sink_get_property), (gst_base_sink_do_sync),
4048 (gst_base_sink_chain):
4050 GST_ELEMENT_CLOCK and sync are protected with LOCK.
4051 Don't store _last_stop if the buffer is dropped.
4053 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
4055 * plugins/elements/gsttypefindelement.c:
4056 (gst_type_find_element_class_init):
4057 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
4058 object method handler that sets the caps on the pad and we want
4059 that to happen before we emit the signal (fixes e.g. feeding a
4060 plain text file to decodebin).
4062 2006-01-18 Christian Schaller <Christian@fluendo.com>
4064 * gst/gstplugin.c: Add MPL and Proprietary as license options
4066 2006-01-18 Andy Wingo <wingo@pobox.com>
4068 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
4069 symbol was exported before, it appears this was just an oversight.
4071 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
4073 * gst/gstindex.c (gst_index_add_associationv): Changed int in
4074 prototype to gint. OK since this prototype was not in the header.
4076 2006-01-17 Andy Wingo <wingo@pobox.com>
4078 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
4079 registry while we remove plugins.
4081 * tools/gst-inspect.c (print_element_info): Don't unref the
4082 factory arg, that should be the responsibility of whatever code
4083 received the ref. Fixes a double-free when called from
4084 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
4085 (main): Unref the factory if we have one.
4086 (print_element_list): No change -- relies on the
4087 plugin_feature_list_free to free the list of features.
4089 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
4091 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
4092 (gst_buffer_make_metadata_writable):
4094 * libs/gst/base/gstbasetransform.c:
4095 (gst_base_transform_prepare_output_buf):
4096 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
4097 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4098 Replace gst_buffer_(make|is)_metadata_writable patch now
4099 that the release is out.
4101 2006-01-17 Andy Wingo <wingo@pobox.com>
4103 * gst/gstregistry.c: Reflow design comment. Update so as to speak
4104 in the present tense without reference to versions.
4106 * gst/gstregistry.c (gst_registry_add_plugin)
4107 (gst_registry_remove_plugin, gst_registry_remove_feature)
4108 (gst_registry_find_feature, gst_registry_get_feature_list)
4109 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
4110 (gst_registry_lookup, gst_registry_scan_path)
4111 (_gst_registry_remove_cache_plugins)
4112 (gst_registry_get_feature_list_by_plugin): Add argument
4115 === release 0.10.2 ===
4117 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
4120 releasing 0.10.2, "If man is five"
4122 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
4126 * libs/gst/base/gstbasetransform.c:
4127 (gst_base_transform_prepare_output_buf):
4128 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
4129 * tests/check/gst/gstbuffer.c: (gst_test_suite):
4130 Back out patch until after the release.
4132 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
4134 * gst/gstminiobject.c:
4135 Spelling fix in docs.
4136 * ChangeLog - remove conflict indicator
4138 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
4140 Reviewed By: Andy Wingo
4142 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
4143 (gst_buffer_make_metadata_writable):
4145 Add gst_buffer_(is|make)_metadata_writable as analogues of
4146 gst_buffer_(is|make)_writable.
4148 * libs/gst/base/gstbasetransform.c:
4149 (gst_base_transform_prepare_output_buf):
4150 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
4151 Use name gst_buffer_(is|make)_metadata_writable functions.
4153 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4154 Test gst_buffer_(is|make)_metadata_writable
4158 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
4160 * docs/manual/Makefile.am:
4161 don't do parallel make
4164 * win32/common/config.h.in:
4165 add generations for HOST_CPU and GST_MAJORMINOR
4166 * win32/common/config.h:
4167 commit generated result
4169 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
4171 * docs/manual/appendix-integration.xml:
4172 Update GNOME integration section to use gst_init_get_option_group()
4173 instead of the old popt stuff (#322911). Also, GNOME applications
4174 should now use gconf*sink and gconf*src instead of the old gconf
4177 2006-01-13 Stefan Kost <ensonic@users.sf.net>
4180 * docs/gst/gstreamer-docs.sgml:
4181 * docs/gst/gstreamer-sections.txt:
4182 * docs/libs/gstreamer-libs-sections.txt:
4183 add new API entries to the docs
4184 * libs/gst/controller/Makefile.am:
4185 * libs/gst/controller/gstcontroller.c:
4186 * libs/gst/controller/gstcontroller.h:
4187 * libs/gst/controller/gstcontrollerprivate.h:
4188 * libs/gst/controller/gsthelper.c:
4189 * libs/gst/controller/gstinterpolation.c:
4190 move private structs to private header
4192 gstreamer-0.7 -> gstreamer-0.10
4193 * tests/check/libs/struct_i386.h:
4194 remove private structs
4196 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
4198 * plugins/indexers/Makefile.am:
4199 Fixes as part of #317048
4201 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
4203 * plugins/indexers/Makefile.am:
4204 fix #316086 - compilation when mmap is missing
4206 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
4208 * libs/gst/base/gstbasesink.c:
4209 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
4210 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
4211 * win32/common/config.h:
4212 added some defines GST_MAJORMINOR and HOST_CPU
4213 * win32/common/libgstbase.def:
4214 * win32/common/libgstreamer.def:
4215 added some exported functions.
4217 2006-01-12 Stefan Kost <ensonic@users.sf.net>
4219 * libs/gst/controller/gstcontroller.c:
4220 (gst_controlled_property_set_interpolation_mode),
4221 (gst_controlled_property_new):
4222 * libs/gst/controller/gstcontroller.h:
4223 * libs/gst/controller/gstinterpolation.c:
4224 (interpolate_none_get_string_value_array):
4225 make G_TYPE_STRING controlable
4227 2006-01-12 Stefan Kost <ensonic@users.sf.net>
4230 * tools/gst-feedback.1.in:
4231 * tools/gst-inspect.1.in:
4232 * tools/gst-launch.1.in:
4233 * tools/gst-md5sum.1.in:
4234 * tools/gst-typefind.1.in:
4235 * tools/gst-xmlinspect.1.in:
4236 * tools/gst-xmllaunch.1.in:
4237 cleanup man-pages, remove reference to gst-register, document env-vars
4239 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
4241 * gst/gstbuffer.c: (gst_buffer_span):
4242 gst_buffer_span should copy the timestamp of the first buffer
4243 if they were both originally overlapping subbuffers of the
4244 same parent, using the same logic as the 'slow copy' case.
4246 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
4248 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
4249 Need to awaken ALL the pads when we pop a buffer, otherwise
4250 collectpads only works when there is 2 input streams.
4252 2006-01-11 Stefan Kost <ensonic@users.sf.net>
4254 * docs/random/ensonic/media-device-daemon.txt:
4257 fix doc example, add clarification
4258 * tools/gst-launch.1.in:
4259 add initial info about GST_PLUGIN_PATH, needs more work
4261 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
4263 * docs/manual/basics-bins.xml:
4264 * docs/manual/basics-elements.xml:
4265 * docs/manual/intro-basics.xml:
4266 Some more minor docs additions and updates.
4268 2006-01-11 Wim Taymans <wim@fluendo.com>
4270 * docs/manual/basics-bins.xml:
4271 * docs/manual/basics-elements.xml:
4272 Some small fixes as pointed out by Ser-ver on IRC.
4274 2006-01-10 Edward Hervey <edward@fluendo.com>
4276 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
4277 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
4278 the single-segment mode.
4280 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
4282 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4284 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
4285 (gst_base_src_perform_seek), (gst_base_src_send_event),
4286 (gst_base_src_set_property), (gst_base_src_get_property),
4287 (gst_base_src_loop), (gst_base_src_start),
4288 (gst_base_src_activate_push):
4289 * libs/gst/base/gstbasesrc.h:
4290 Name (private) union; makes Sun's Forte compiler happy (#324900).
4292 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
4295 gst-register is gone.
4297 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
4299 * gst/gstvalue.c: (_gst_value_initialize):
4300 make the G_TYPE_DATE instantiation work if debug is disabled
4302 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
4304 * gst/gstmessage.c: (gst_message_parse_tag),
4305 (gst_message_parse_error), (gst_message_parse_warning):
4306 Don't crash when return location for error/warning debug
4307 string is NULL; add fact that return locations can be
4308 NULL to docs where appropriate.
4310 2006-01-05 Wim Taymans <wim@fluendo.com>
4312 * gst/gstplugin.c: (gst_plugin_load_file):
4313 Replace strdup by g_strdup.
4315 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
4317 * docs/pwg/advanced-types.xml:
4320 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
4322 submitted by: Abel Cheung
4326 Added Chinese (traditional) translation
4328 2006-01-04 Wim Taymans <wim@fluendo.com>
4330 * docs/manual/basics-pads.xml:
4331 * docs/plugins/Makefile.am:
4332 * docs/plugins/gstreamer-plugins-docs.sgml:
4333 * docs/plugins/gstreamer-plugins-sections.txt:
4334 * docs/pwg/advanced-clock.xml:
4335 * docs/pwg/advanced-scheduling.xml:
4336 * docs/pwg/advanced-types.xml:
4337 * plugins/elements/gstfdsink.c:
4338 * plugins/elements/gstfdsrc.c:
4339 * plugins/elements/gstfdsrc.h:
4340 * plugins/elements/gstidentity.c: (gst_identity_class_init):
4341 * plugins/elements/gstidentity.h:
4342 * plugins/elements/gstqueue.h:
4343 * plugins/elements/gsttee.c:
4344 * plugins/elements/gsttee.h:
4345 * plugins/elements/gsttypefindelement.c:
4346 (gst_type_find_element_class_init):
4347 * plugins/elements/gsttypefindelement.h:
4348 Small updates to various docs.
4349 Added core plugins to docs.
4351 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
4354 add a suppression for liboil's uninitialized variable
4356 2006-01-02 James Livingston <jrl at ids dot org dot au>
4358 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4361 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
4362 macro, so that gcc doesn't complain if the -Wmissing-prototypes
4363 compiler switch is being used (#325429).
4365 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
4367 * gst/gstbin.c: (gst_bin_query):
4368 Disable duration query caching in bins until it gets
4369 fixed (see #324807).
4371 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
4373 * tools/gst-inspect.c: (print_element_properties_info):
4374 Handle properties of POINTER and BOXED type.
4376 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
4378 * gst/gst.c: (init_post):
4379 Init tags stuff and some other things before loading
4380 any static plugins (there may be other static plugins
4381 than just the GStreamer ones, and they may want to
4382 register their own tags or formats or whatever, and
4383 preferably without segfaulting).
4385 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
4386 Print at least a warning in the debug logs if we drop a
4387 query just because we don't know how to adjust the value
4388 in the particular format.
4390 2005-12-24 David Schleef <ds@schleef.org>
4392 * tools/gstreamer-completion:
4393 Replacement for gst-complete written in sh and sed. Only
4394 completes names of features, but that's 90% of what I want
4395 it for. Properties are not available in registry.xml. (Maybe
4398 === release 0.10.1 ===
4400 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
4403 releasing 0.10.1, "Nollaig chridheil"
4405 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
4408 Add missing quote, should be make ERROR_CFLAGS="".
4410 2005-12-20 Wim Taymans <wim@fluendo.com>
4412 * docs/design/part-trickmodes.txt:
4413 More documentation on trickmodes.
4415 2005-12-20 Edward Hervey <edward@fluendo.com>
4417 * gst/gstcaps.c: (gst_static_caps_get_type):
4419 API addition: GST_TYPE_STATIC_CAPS
4420 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
4421 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
4422 * gst/gstpadtemplate.h:
4423 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
4424 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
4427 2005-12-18 Wim Taymans <wim@fluendo.com>
4429 * libs/gst/base/gstadapter.c:
4430 * libs/gst/base/gstadapter.h:
4431 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4432 (gst_base_sink_get_position):
4433 * libs/gst/base/gstbasesink.h:
4434 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4435 (gst_base_src_default_query), (gst_base_src_default_do_seek),
4436 (gst_base_src_do_seek), (gst_base_src_perform_seek),
4437 (gst_base_src_send_event), (gst_base_src_update_length),
4438 (gst_base_src_get_range), (gst_base_src_loop),
4439 (gst_base_src_start):
4440 * libs/gst/base/gstbasesrc.h:
4441 * libs/gst/base/gstbasetransform.h:
4442 * libs/gst/base/gstcollectpads.h:
4443 * libs/gst/base/gstpushsrc.c:
4444 * libs/gst/base/gstpushsrc.h:
4445 * libs/gst/dataprotocol/dataprotocol.c:
4446 * libs/gst/dataprotocol/dataprotocol.h:
4447 * libs/gst/net/gstnetclientclock.h:
4448 * libs/gst/net/gstnettimeprovider.h:
4449 Documentation updates.
4451 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
4453 * docs/manual/basics-helloworld.xml:
4454 Remove superfluous closing bracket in helloworld example.
4456 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
4458 * tools/gst-launch.1.in:
4459 Update gst-launch man page; add a section with useful
4460 environment variables. Fixes #323882.
4462 2005-12-16 Stefan Kost <ensonic@users.sf.net>
4465 * gst/gst_private.h:
4466 change some char* into char[]
4468 2005-12-16 Wim Taymans <wim@fluendo.com>
4470 * gst/gstregistryxml.c: (load_feature):
4472 Don't use g_object_unref on GstObjects so that we avoid
4473 leaks on unsafe glibs.
4475 2005-12-16 Wim Taymans <wim@fluendo.com>
4477 * gst/gstbin.c: (gst_bin_recalc_state):
4480 2005-12-16 Wim Taymans <wim@fluendo.com>
4483 Added make forever target for check.
4485 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
4487 * gst/gst.c: (init_post):
4488 make the registry cache file HOST_CPU-dependent
4490 2005-12-16 Andy Wingo <wingo@pobox.com>
4492 * plugins/elements/gstbufferstore.c
4493 (gst_buffer_store_cleared_func): Pay attention to g_list_append
4496 * tests/check/gst/gstobject.c
4497 (test_fake_object_name_threaded_unique): Pay attention to
4498 g_list_sort return value.
4500 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
4502 * tools/gst-feedback-m.m:
4503 Update for 0.9/0.10 (fixes #323870).
4505 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
4507 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
4508 Fix lcopy for mini objects, the mini object needs to be ref'ed.
4510 * tests/check/gst/gstminiobject.c: (my_foo_init),
4511 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
4512 (test_value_collection), (gst_mini_object_suite):
4513 Add test to ensure refcounts end up as expected when passing
4514 GstMiniObjects through g_object_get() and g_object_set().
4516 2005-12-14 Julien MOUTTE <julien@moutte.net>
4518 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
4519 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
4520 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
4521 of collectpads. This version removes a lot of races without
4522 touching API/ABI. Yay !
4524 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
4526 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
4527 Don't allow activation of a srcpad in pull_range if it has no
4529 Change some debug statements to be a little clearer
4531 * plugins/elements/gsttypefindelement.c:
4532 (gst_type_find_handle_src_query):
4533 Check that we have a peer before executing queries thereupon.
4535 * tests/examples/metadata/read-metadata.c: (message_loop):
4536 Use gst_bus_pop instead of gst_bus_poll when we just want it to
4537 immediately return us any available message with 0 timeout.
4539 2005-12-12 Michael Smith <msmith@fluendo.com>
4541 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
4542 Don't unref factories after calling them.
4543 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
4544 * plugins/elements/gsttypefindelement.c:
4545 (gst_type_find_element_chain):
4546 Free lists of factories after using them. Fixing typefinding memory
4549 2005-12-12 Stefan Kost <ensonic@users.sf.net>
4551 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
4552 (gst_plugin_feature_load):
4553 more meaningful debug output
4555 * tests/Makefile.am:
4556 * tests/old/examples/Makefile.am:
4557 make make distcheck happy again
4559 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
4561 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
4562 Catch the special case where we are operating chain-based,
4563 but the downstream peer pad has no chain function. Emit a
4564 custom error message in this case instead of letting the
4565 core generate one implying that this is some sort of core
4566 bug. It's not, it just means that whatever got plugged
4567 into the pipeline downstream when we announced the type
4568 can only operate pull-based, while our source can only
4569 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
4570 Error string has not been marked for translation yet, as
4571 it probably needs some more work first.
4573 (gst_type_find_element_get_best_possibility):
4574 Add helper function to find the best of all available
4575 found possibilities that qualify given the min. threshold.
4577 (gst_type_find_element_handle_event):
4578 Fix the case where we get an EOS while still in TYPEFIND
4579 mode (we want to chose the best of all possible types,
4580 not just the first type that happens to be in our unsorted
4581 list of possible types).
4583 (gst_type_find_element_chain):
4584 Make sure we return GST_FLOW_ERROR when we errored out
4585 in stop_typefinding(); also, don't just find the best of
4586 all found type entries and then use the last examined
4587 type entry, but actually use the best entry.
4589 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
4591 * tests/examples/typefind/typefind.c: (type_found):
4592 * tests/examples/xml/runxml.c: (xml_loaded):
4593 More gcc4 fixes and a mem leak fix.
4595 2005-12-12 Stefan Kost <ensonic@users.sf.net>
4597 * tests/examples/xml/createxml.c: (object_saved):
4600 2005-12-12 Stefan Kost <ensonic@users.sf.net>
4602 * tests/Makefile.am:
4603 enable the examples even more
4605 2005-12-12 Andy Wingo <wingo@pobox.com>
4607 * libs/gst/net/gstnettimeprovider.c
4608 (gst_net_time_provider_class_init, gst_net_time_provider_init)
4609 (gst_net_time_provider_set_property)
4610 (gst_net_time_provider_get_property):
4611 API addition: Export "active" as a GObject property.
4612 (gst_net_time_provider_thread): Only respond to time queries if
4613 the time provider is active.
4615 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
4616 NetTimeProvider, preserving binary compat.
4618 2005-12-12 Stefan Kost <ensonic@users.sf.net>
4620 * tests/examples/controller/audio-example.c: (main):
4621 * tests/examples/launch/Makefile.am:
4622 convert comments again
4624 2005-12-12 Wim Taymans <wim@fluendo.com>
4626 * libs/gst/base/gstpushsrc.c:
4629 2005-12-12 Wim Taymans <wim@fluendo.com>
4631 * docs/libs/gstreamer-libs-sections.txt:
4632 Added new symbol to docs.
4634 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4635 (gst_base_src_init), (gst_base_src_set_format),
4636 (gst_base_src_default_query), (gst_base_src_query),
4637 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
4638 (gst_base_src_perform_seek), (gst_base_src_send_event),
4639 (gst_base_src_default_event), (gst_base_src_event_handler),
4640 (gst_base_src_set_property), (gst_base_src_get_property),
4641 (gst_base_src_wait), (gst_base_src_do_sync),
4642 (gst_base_src_update_length), (gst_base_src_get_range),
4643 (gst_base_src_check_get_range), (gst_base_src_loop),
4644 (gst_base_src_default_negotiate), (gst_base_src_start),
4645 (gst_base_src_activate_push), (gst_base_src_activate_pull),
4646 (gst_base_src_change_state):
4647 * libs/gst/base/gstbasesrc.h:
4648 Implement seeking to other formats than _BYTES.
4649 Implement more seeking methods correctly.
4651 Added query vmethod.
4652 Added do_seek vmethod to make life easier for subclasses
4654 API addition: gst_base_src_set_format()
4656 2005-12-12 Stefan Kost <ensonic@users.sf.net>
4658 * tests/examples/Makefile.am:
4661 2005-12-12 Stefan Kost <ensonic@users.sf.net>
4664 * docs/random/ensonic/media-device-daemon.txt:
4665 * tests/examples/controller/.cvsignore:
4666 * tests/examples/controller/Makefile.am:
4667 * tests/examples/controller/audio-example.c: (main):
4668 * tests/examples/helloworld/.cvsignore:
4669 * tests/examples/helloworld/Makefile.am:
4670 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
4671 * tests/examples/launch/.cvsignore:
4672 * tests/examples/launch/Makefile.am:
4673 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
4674 * tests/examples/metadata/.cvsignore:
4675 * tests/examples/metadata/Makefile.am:
4676 * tests/examples/metadata/read-metadata.c: (message_loop),
4677 (make_pipeline), (print_tag), (main):
4678 * tests/examples/queue/.cvsignore:
4679 * tests/examples/queue/Makefile.am:
4680 * tests/examples/queue/queue.c: (event_loop), (main):
4681 * tests/examples/typefind/.cvsignore:
4682 * tests/examples/typefind/Makefile.am:
4683 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
4685 * tests/examples/xml/.cvsignore:
4686 * tests/examples/xml/Makefile.am:
4687 * tests/examples/xml/createxml.c: (object_saved), (main):
4688 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
4689 * tests/old/examples/Makefile.am:
4690 * tests/old/examples/TODO:
4691 * tests/old/examples/controller/.cvsignore:
4692 * tests/old/examples/controller/Makefile.am:
4693 * tests/old/examples/controller/audio-example.c:
4694 * tests/old/examples/helloworld/.cvsignore:
4695 * tests/old/examples/helloworld/Makefile.am:
4696 * tests/old/examples/helloworld/helloworld.c:
4697 * tests/old/examples/launch/.cvsignore:
4698 * tests/old/examples/launch/Makefile.am:
4699 * tests/old/examples/launch/mp3parselaunch.c:
4700 * tests/old/examples/launch/mp3play:
4701 * tests/old/examples/manual/Makefile.am:
4702 * tests/old/examples/metadata/Makefile.am:
4703 * tests/old/examples/metadata/read-metadata.c:
4704 * tests/old/examples/queue/.cvsignore:
4705 * tests/old/examples/queue/Makefile.am:
4706 * tests/old/examples/queue/queue.c:
4707 * tests/old/examples/typefind/.cvsignore:
4708 * tests/old/examples/typefind/Makefile.am:
4709 * tests/old/examples/typefind/typefind.c:
4710 * tests/old/examples/xml/.cvsignore:
4711 * tests/old/examples/xml/Makefile.am:
4712 * tests/old/examples/xml/createxml.c:
4713 * tests/old/examples/xml/runxml.c:
4714 applied some simple fixing to some examples
4715 re-enabled the working examples
4717 2005-12-12 Wim Taymans <wim@fluendo.com>
4719 * gst/gstsegment.c: (gst_segment_init),
4720 (gst_segment_set_last_stop), (gst_segment_set_seek),
4721 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
4722 (gst_segment_to_running_time):
4723 Added more documentation.
4724 Make sure the last_pos value is updated properly.
4725 Make sure to_stream_time and to_running_time don't
4726 operate on wrong values.
4728 * tests/check/gst/gstsegment.c: (GST_START_TEST):
4731 2005-12-12 Michael Smith <msmith@fluendo.com>
4733 * plugins/elements/gsttypefindelement.c: (free_entry),
4734 (gst_type_find_element_chain):
4735 Now that we're not leaking factories, make sure we keep references
4736 to them while we need them.
4738 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
4740 * tests/check/gst/struct_i386.h:
4741 ifdef out the XML structs
4743 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
4745 * gst/gstvalue.c: (gst_value_transform_double_fraction):
4746 floor is not needed, F is always positive; this obviates the
4747 need for adding -lm when building without libxml
4749 2005-12-12 Wim Taymans <wim@fluendo.com>
4751 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
4752 Take current playback rate into account when reporting
4755 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
4757 * docs/manual/mime-world.fig:
4758 Let's try this again, this time with a file that is
4759 actually in XFig format.
4761 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
4763 * docs/manual/mime-world.fig:
4764 Add audioconvert element to diagram so that it
4765 matches the text and the code (fixes #319526).
4767 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
4769 * docs/pwg/building-chainfn.xml:
4770 * docs/pwg/building-pads.xml:
4771 * docs/pwg/building-state.xml:
4772 * docs/pwg/other-source.xml:
4773 Update state change stuff for 0.10 (fixes #322969).
4775 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
4777 * docs/manual/advanced-dataaccess.xml:
4778 * docs/manual/appendix-checklist.xml:
4779 * docs/manual/appendix-programs.xml:
4780 * docs/manual/basics-pads.xml:
4781 * docs/manual/highlevel-components.xml:
4782 * docs/manual/manual.xml:
4783 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
4784 add converters in front of pipelines; remove curly
4785 brackets for threads stuff, they no longer exist; use
4786 GST_TYPE_FRACTION for framerates; update some pieces of
4787 code to 0.10, but there's plenty more to do.
4789 * docs/manual/appendix-porting.xml:
4790 Expand on asynchroneous state changes; s/0.9/0.10/;
4791 mention disappearance of gst_init_get_popt_table()
4794 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
4796 * docs/faq/using.xml:
4797 Spider no longer exists, and neither does gst-launch-ext.
4798 Update examples to use decodebin and playbin and put
4799 converters in front of sinks (fixes #323726).
4801 2005-12-09 Michael Smith <msmith@fluendo.com>
4803 * plugins/elements/gsttypefindelement.c: (find_peek),
4804 (gst_type_find_element_chain):
4805 Fix leaking element factories in typefinding.
4806 Fix problem where we forgot about a probable type on non-seekable
4807 files, and thus later mis-typefound it.
4809 2005-12-09 Michael Smith <msmith@fluendo.com>
4811 * common/m4/gst-makecontext.m4:
4812 * common/m4/gst-mcsc.m4:
4814 * win32/common/config.h:
4815 * win32/common/config.h.in:
4816 Remove makecontext stuff; not used in 0.10 and causes problems on
4817 HPUX according to bug #322441
4819 2005-12-07 Wim Taymans <wim@fluendo.com>
4821 * tests/check/Makefile.am:
4822 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
4824 * tests/check/libs/struct_i386.h:
4825 Added ABI check for libs
4827 2005-12-07 Wim Taymans <wim@fluendo.com>
4829 * tests/check/Makefile.am:
4830 And add the struct_i386.h to dist.
4832 2005-12-07 Wim Taymans <wim@fluendo.com>
4834 * tests/check/Makefile.am:
4835 * tests/check/gst/.cvsignore:
4836 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
4838 * tests/check/gst/struct_i386.h:
4839 Added check for ABI compatibility.
4841 2005-12-07 Wim Taymans <wim@fluendo.com>
4843 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
4844 (gst_fake_src_get_times), (gst_fake_src_create):
4845 Fix broken sync option, fixes #323259
4847 2005-12-07 Wim Taymans <wim@fluendo.com>
4852 * gst/gstcaps.c: (gst_caps_is_equal):
4853 Don't assert on NULL <--> X. Fixes #323260
4855 * gst/gstminiobject.c: (gst_mini_object_replace):
4856 If we're doing atomic operations, we might just as well use
4857 the proper way to get an atomic pointer.
4859 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
4862 2005-12-07 Michael Smith <msmith@fluendo.com>
4864 * gst/parse/grammar.y:
4865 Remove handling of { } for threads.
4867 2005-12-06 David Schleef <ds@schleef.org>
4869 * libs/gst/base/gstbasetransform.c: speling fix.
4871 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
4873 * docs/libs/tmpl/gstdataprotocol.sgml:
4874 * docs/random/omega/testing/gstobject.c:
4878 * gst/gstelementfactory.c:
4881 * gst/gstghostpad.c:
4883 * gst/gstpadtemplate.c:
4884 * gst/gstregistryxml.c:
4886 * gst/gsttagsetter.c:
4887 * gst/gsttypefind.c:
4889 * libs/gst/base/gstbasesrc.c:
4890 * libs/gst/net/gstnetclientclock.c:
4891 * libs/gst/net/gstnettimeprovider.c:
4892 * plugins/elements/gstfakesrc.c:
4893 * plugins/elements/gstfdsrc.c:
4894 * plugins/elements/gstfilesrc.c:
4895 * plugins/elements/gstidentity.c:
4896 * plugins/elements/gstqueue.c:
4897 * plugins/elements/gsttypefindelement.c:
4898 * plugins/indexers/gstfileindex.c:
4899 * plugins/indexers/gstmemindex.c:
4900 * tests/check/gst/gsttag.c:
4901 * tests/old/examples/cutter/cutter.c:
4902 * tests/old/examples/mixer/mixer.c:
4903 * tests/old/examples/xml/runxml.c: (main):
4904 * tests/old/testsuite/caps/normalisation.c:
4905 * tests/old/testsuite/debug/global.c:
4906 * tests/old/testsuite/parse/parse1.c:
4907 * tools/gst-xmlinspect.c:
4908 * win32/common/dirent.c:
4911 === release 0.10.0 ===
4913 2005-12-05 <thomas (at) apestaart (dot) org>
4916 releasing 0.10.0, "Maroilles"
4918 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
4920 submitted by: Funda Wang <fundawang@linux.net.cn>
4924 added Chinese (Traditional) translation
4926 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
4928 * docs/gst/gstreamer-sections.txt:
4929 * docs/libs/tmpl/gstdataprotocol.sgml:
4930 * docs/random/thomasvs/TODO:
4935 2005-12-05 Andy Wingo <wingo@pobox.com>
4937 patch by: Wim Taymans <wim@fluendo.com>
4939 * libs/gst/base/gstbasetransform.c
4940 (gst_base_transform_prepare_output_buf)
4941 (gst_base_transform_buffer_alloc):
4942 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
4943 alloc_buffer_and_set_caps.
4945 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
4946 set_caps on the source pad.
4947 (gst_pad_alloc_buffer_and_set_caps): New function, does what
4948 alloc_buffer used to do. Fixes #322874.
4950 * docs/gst/gstreamer-sections.txt:
4951 * docs/design/part-negotiation.txt:
4952 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
4955 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
4957 patch by: Sebastien Moutte
4960 * win32/common/config.h.in:
4961 * win32/vs6/libgstcontroller.dsp:
4964 2005-12-05 Wim Taymans <wim@fluendo.com>
4966 * gst/gstcaps.c: (gst_caps_is_equal):
4967 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
4968 (gst_fake_src_create):
4969 Back out previous code changes, leave doc updates, file bugs
4972 2005-12-05 Wim Taymans <wim@fluendo.com>
4974 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
4975 (gst_fake_src_get_times), (gst_fake_src_create):
4976 * plugins/elements/gstfakesrc.h:
4977 Fix broken sync code.
4979 2005-12-05 Wim Taymans <wim@fluendo.com>
4981 * gst/gstcaps.c: (gst_caps_is_equal):
4982 Comparing NULL against !NULL yields different caps, not a
4985 2005-12-05 Wim Taymans <wim@fluendo.com>
4987 * gst/gstpipeline.c:
4988 Fix small typo in docs.
4990 2005-12-05 Andy Wingo <wingo@pobox.com>
4992 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
4994 * gst/gst.c (init_post): remove hard-coded 0.9 location for
4995 registries/plugins with a MAJORMINOR one.
4996 (plugin_desc): Rename library from gstcoreleements to
4997 staticelements. Fixes #323222.
4999 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
5001 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
5002 Change debug category to 'collectpads' from 'collect_pads'
5005 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
5007 patch by: Sebastien Moutte
5009 * libs/gst/controller/gstinterpolation.c:
5010 use convert function for uint64/double
5011 * win32/vs6/libgstcontroller.dsp:
5014 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
5016 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
5017 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
5019 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
5020 add tests that seem to show that the guint64/gdouble conversions
5023 2005-12-02 Wim Taymans <wim@fluendo.com>
5025 * gst/gstregistry.c: (gst_registry_add_path):
5026 * gst/gstregistry.h:
5027 * gst/gstregistryxml.c:
5030 2005-12-02 Wim Taymans <wim@fluendo.com>
5032 * gst/gstutils.c: (gst_util_uint64_scale_int64),
5033 (gst_util_uint64_scale_int):
5036 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5039 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
5042 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
5045 * win32/common/config.h:
5046 * win32/vs6/gstreamer.dsw:
5047 * win32/vs6/libgstcoreelements.dsp:
5048 * win32/vs6/libgstelements.dsp:
5049 renamed core elements plugin
5051 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
5053 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
5055 do piece-wise major/minor comparison so 0.9 < 0.10
5056 also allow .exe extensions for tools
5058 2005-12-02 Michael Smith <msmith@fluendo.com>
5061 Escape a % to make gtkdoc happier; bug 322958.
5063 === release 0.9.7 ===
5065 2005-12-01 <thomas (at) apestaart (dot) org>
5068 releasing 0.9.7, "My Dog Has No Nose"
5070 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5072 * common/gst-xmlinspect.py:
5074 * docs/libs/tmpl/gstdataprotocol.sgml:
5075 * docs/random/release:
5094 * win32/common/config.h:
5095 * win32/common/config.h.in:
5096 * win32/vs6/gst_inspect.dsp:
5097 * win32/vs6/gst_launch.dsp:
5098 * win32/vs6/libgstbase.dsp:
5099 * win32/vs6/libgstelements.dsp:
5100 * win32/vs6/libgstreamer.dsp:
5101 * win32/vs7/GStreamer.vcproj:
5102 * win32/vs7/gst-inspect.vcproj:
5103 * win32/vs7/gst-launch.vcproj:
5104 * win32/vs7/libgstbase.vcproj:
5105 bump GST_MAJORMINOR to 0.10
5106 reset libtool version
5108 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5112 Added Bulgarian translation by (Alexander Shopov)
5114 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5116 * tests/check/gst/gstplugin.c:
5119 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5121 * common/gst-xmlinspect.py:
5122 * common/gtk-doc-plugins.mak:
5125 * docs/gst/Makefile.am:
5126 * docs/gst/gstreamer-docs.sgml:
5127 * docs/gst/gstreamer-sections.txt:
5128 * docs/gst/gstreamer.types:
5129 * docs/gst/gstreamer.types.in:
5130 * docs/plugins/Makefile.am:
5131 * docs/plugins/gstreamer-plugins-docs.sgml:
5132 * docs/plugins/gstreamer-plugins-sections.txt:
5133 * docs/plugins/gstreamer-plugins.types:
5134 * docs/plugins/inspect.stamp:
5135 * docs/plugins/inspect/plugin-coreelements.xml:
5136 * docs/plugins/inspect/plugin-coreindexers.xml:
5137 * docs/plugins/scanobj-build.stamp:
5138 * gstreamer.spec.in:
5139 * plugins/elements/Makefile.am:
5140 * plugins/elements/gstelements.c:
5141 * plugins/elements/gstfakesink.c:
5142 * plugins/elements/gstfakesrc.c:
5143 * plugins/elements/gstfilesink.c:
5144 * plugins/elements/gstfilesrc.c:
5145 * plugins/elements/gstqueue.c:
5146 * plugins/indexers/Makefile.am:
5147 * plugins/indexers/gstindexers.c:
5148 document core plugins in a separate document just like all the
5150 rename these plugins to something starting with core
5152 2005-12-01 Andy Wingo <wingo@pobox.com>
5154 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
5155 padding here before, but it missed the commit.
5157 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
5159 * libs/gst/controller/gstinterpolation.c:
5160 whitespace prices have crashed, we should feel free to use some now
5161 use gst_guint64_to_gdouble
5163 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
5165 * libs/gst/controller/gstcontroller.c:
5166 * libs/gst/controller/gsthelper.c:
5167 * libs/gst/controller/gstinterpolation.c:
5168 * libs/gst/controller/lib.c:
5169 wrap config.h include
5171 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
5173 * docs/gst/gstreamer-sections.txt:
5176 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
5178 * plugins/elements/gstelements.c:
5179 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
5180 (gst_fd_sink__class_init), (gst_fd_sink__init),
5181 (gst_fd_sink__chain), (gst_fd_sink__set_property),
5182 (gst_fd_sink__get_property):
5183 * plugins/elements/gstfdsink.h:
5184 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
5185 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
5186 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
5187 (gst_fd_src_unlock), (gst_fd_src_set_property),
5188 (gst_fd_src_get_property), (gst_fd_src_create),
5189 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
5190 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
5191 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
5192 (gst_fd_src_uri_handler_init):
5193 * plugins/elements/gstfdsrc.h:
5194 * plugins/elements/gstqueue.c: (gst_queue_get_type):
5197 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5199 * docs/gst/Makefile.am:
5200 * docs/gst/gstreamer.types.in:
5204 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5210 * gst/gstregistry.h:
5211 * tests/benchmarks/complexity.c:
5212 * tests/benchmarks/mass-elements.c:
5213 * tests/check/Makefile.am:
5214 * tools/Makefile.am:
5215 * tools/gst-inspect.c:
5216 * tools/gst-xmlinspect.c:
5217 various fixes to make
5218 --disable-nls --disable-registry --disable-loadsave
5219 --disable-parse --disable-gst-debug
5220 work and get the core .so down to 360444 bytes after stripping
5222 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5227 * docs/random/thomasvs/TODO:
5228 * tests/Makefile.am:
5232 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5234 * win32/GStreamer.vcproj:
5237 * win32/Makefile.inspect:
5238 * win32/Makefile.launch:
5239 * win32/Makefile.register:
5241 * win32/gst-inspect.vcproj:
5242 * win32/gst-launch.vcproj:
5243 * win32/gst-register.vcproj:
5244 * win32/gstelements.vcproj:
5245 * win32/gstgetbits.def:
5246 * win32/gstgetbits.vcproj:
5247 * win32/gstreamer-dbg.def:
5248 * win32/gstreamer.def:
5249 * win32/libgstbase.def:
5250 * win32/libgstbase.vcproj:
5251 * win32/link_oldruntime.c:
5256 move even more stuff, win32/ is nice and clean now
5258 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5260 * libs/gst/control/.cvsignore:
5265 * win32/gstbytestream.def:
5266 * win32/gstbytestream.vcproj:
5267 * win32/gstconfig.h:
5268 * win32/gstenumtypes.c:
5269 * win32/gstenumtypes.h:
5270 * win32/gstoptimalscheduler.vcproj:
5271 * win32/gstversion.h:
5273 * win32/testsuite/bins.vcproj:
5274 * win32/testsuite/bytestream.vcproj:
5275 * win32/testsuite/caps.vcproj:
5276 * win32/testsuite/cleanup.vcproj:
5277 * win32/testsuite/clock.vcproj:
5278 * win32/testsuite/debug.vcproj:
5279 * win32/testsuite/dlopen.vcproj:
5280 * win32/testsuite/dynparams.vcproj:
5281 * win32/testsuite/elements.vcproj:
5282 * win32/testsuite/ghostpads.vcproj:
5283 * win32/testsuite/indexers.vcproj:
5284 * win32/testsuite/negotiation.vcproj:
5285 * win32/testsuite/parse.vcproj:
5286 * win32/testsuite/plugin.vcproj:
5287 * win32/testsuite/refcounting.vcproj:
5288 * win32/testsuite/schedulers.vcproj:
5289 * win32/testsuite/states.vcproj:
5290 * win32/testsuite/tags.vcproj:
5291 * win32/testsuite/threads.vcproj:
5292 remove old win32 stuff that isn't maintained and should be
5295 2005-11-30 Andy Wingo <wingo@pobox.com>
5297 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
5298 loading the gst.interfaces python module bork.
5300 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
5301 available since GLib 2.2. Fixes #318031.
5303 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5307 * check/Makefile.am:
5308 * check/elements/.cvsignore:
5309 * check/elements/fakesrc.c:
5310 * check/elements/fdsrc.c:
5311 * check/elements/identity.c:
5312 * check/generic/.cvsignore:
5313 * check/generic/states.c:
5314 * check/gst-libs/.cvsignore:
5315 * check/gst-libs/controller.c:
5316 * check/gst-libs/gdp.c:
5317 * check/gst/.cvsignore:
5318 * check/gst/capslist.h:
5320 * check/gst/gstbin.c:
5321 * check/gst/gstbuffer.c:
5322 * check/gst/gstbus.c:
5323 * check/gst/gstcaps.c:
5324 * check/gst/gstelement.c:
5325 * check/gst/gstevent.c:
5326 * check/gst/gstghostpad.c:
5327 * check/gst/gstiterator.c:
5328 * check/gst/gstmessage.c:
5329 * check/gst/gstminiobject.c:
5330 * check/gst/gstobject.c:
5331 * check/gst/gstpad.c:
5332 * check/gst/gstpipeline.c:
5333 * check/gst/gstplugin.c:
5334 * check/gst/gstsegment.c:
5335 * check/gst/gststructure.c:
5336 * check/gst/gstsystemclock.c:
5337 * check/gst/gsttag.c:
5338 * check/gst/gstutils.c:
5339 * check/gst/gstvalue.c:
5340 * check/net/.cvsignore:
5341 * check/net/gstnetclientclock.c:
5342 * check/net/gstnettimeprovider.c:
5343 * check/pipelines/.cvsignore:
5344 * check/pipelines/cleanup.c:
5345 * check/pipelines/simple_launch_lines.c:
5346 * check/pipelines/stress.c:
5347 * check/states/.cvsignore:
5348 * check/states/sinks.c:
5350 * examples/Makefile.am:
5351 * examples/appreader/.cvsignore:
5352 * examples/appreader/Makefile.am:
5353 * examples/appreader/appreader.c:
5354 * examples/controller/.cvsignore:
5355 * examples/controller/Makefile.am:
5356 * examples/controller/audio-example.c:
5357 * examples/cutter/.cvsignore:
5358 * examples/cutter/Makefile.am:
5359 * examples/cutter/cutter.c:
5360 * examples/cutter/cutter.h:
5361 * examples/events/Makefile.am:
5362 * examples/events/seek.c:
5363 * examples/helloworld/.cvsignore:
5364 * examples/helloworld/Makefile.am:
5365 * examples/helloworld/helloworld.c:
5366 * examples/helloworld2/.cvsignore:
5367 * examples/helloworld2/Makefile.am:
5368 * examples/helloworld2/helloworld2.c:
5369 * examples/launch/.cvsignore:
5370 * examples/launch/Makefile.am:
5371 * examples/launch/mp3parselaunch.c:
5372 * examples/launch/mp3play:
5373 * examples/manual/.cvsignore:
5374 * examples/manual/Makefile.am:
5375 * examples/manual/extract.pl:
5376 * examples/metadata/Makefile.am:
5377 * examples/metadata/read-metadata.c:
5378 * examples/mixer/.cvsignore:
5379 * examples/mixer/Makefile.am:
5380 * examples/mixer/mixer.c:
5381 * examples/mixer/mixer.h:
5382 * examples/pingpong/.cvsignore:
5383 * examples/pingpong/Makefile.am:
5384 * examples/pingpong/pingpong.c:
5385 * examples/plugins/.cvsignore:
5386 * examples/plugins/Makefile.am:
5387 * examples/plugins/example.c:
5388 * examples/plugins/example.h:
5389 * examples/pwg/.cvsignore:
5390 * examples/pwg/Makefile.am:
5391 * examples/pwg/extract.pl:
5392 * examples/queue/.cvsignore:
5393 * examples/queue/Makefile.am:
5394 * examples/queue/queue.c:
5395 * examples/queue2/.cvsignore:
5396 * examples/queue2/Makefile.am:
5397 * examples/queue2/queue2.c:
5398 * examples/queue3/.cvsignore:
5399 * examples/queue3/Makefile.am:
5400 * examples/queue3/queue3.c:
5401 * examples/queue4/.cvsignore:
5402 * examples/queue4/Makefile.am:
5403 * examples/queue4/queue4.c:
5404 * examples/retag/.cvsignore:
5405 * examples/retag/Makefile.am:
5406 * examples/retag/retag.c:
5407 * examples/retag/transcode.c:
5408 * examples/thread/.cvsignore:
5409 * examples/thread/Makefile.am:
5410 * examples/thread/thread.c:
5411 * examples/typefind/.cvsignore:
5412 * examples/typefind/Makefile.am:
5413 * examples/typefind/typefind.c:
5414 * examples/xml/.cvsignore:
5415 * examples/xml/Makefile.am:
5416 * examples/xml/createxml.c:
5417 * examples/xml/runxml.c:
5418 * tests/Makefile.am:
5419 * tests/check/Makefile.am:
5420 * testsuite/.cvsignore:
5421 * testsuite/Makefile.am:
5423 * testsuite/caps/.cvsignore:
5424 * testsuite/caps/Makefile.am:
5425 * testsuite/caps/app_fixate.c:
5426 * testsuite/caps/audioscale.c:
5427 * testsuite/caps/caps.c:
5428 * testsuite/caps/caps.h:
5429 * testsuite/caps/caps_strings:
5430 * testsuite/caps/compatibility.c:
5431 * testsuite/caps/deserialize.c:
5432 * testsuite/caps/enumcaps.c:
5433 * testsuite/caps/eratosthenes.c:
5434 * testsuite/caps/filtercaps.c:
5435 * testsuite/caps/fixed.c:
5436 * testsuite/caps/fraction-convert.c:
5437 * testsuite/caps/fraction-multiply-and-zero.c:
5438 * testsuite/caps/intersect2.c:
5439 * testsuite/caps/intersection.c:
5440 * testsuite/caps/normalisation.c:
5441 * testsuite/caps/random.c:
5442 * testsuite/caps/renegotiate.c:
5443 * testsuite/caps/sets.c:
5444 * testsuite/caps/simplify.c:
5445 * testsuite/caps/string-conversions.c:
5446 * testsuite/caps/structure.c:
5447 * testsuite/caps/subtract.c:
5448 * testsuite/caps/union.c:
5449 * testsuite/debug/.cvsignore:
5450 * testsuite/debug/Makefile.am:
5451 * testsuite/debug/category.c:
5452 * testsuite/debug/commandline.c:
5453 * testsuite/debug/global.c:
5454 * testsuite/debug/output.c:
5455 * testsuite/debug/printf_extension.c:
5456 * testsuite/dlopen/.cvsignore:
5457 * testsuite/dlopen/Makefile.am:
5458 * testsuite/dlopen/dlopen_gst.c:
5459 * testsuite/dlopen/loadgst.c:
5460 * testsuite/elements/.cvsignore:
5461 * testsuite/elements/Makefile.am:
5462 * testsuite/elements/gst-inspect-check.in:
5463 * testsuite/elements/struct_i386.h:
5464 * testsuite/elements/struct_size.c:
5465 * testsuite/indexers/.cvsignore:
5466 * testsuite/indexers/Makefile.am:
5467 * testsuite/indexers/cache1.c:
5468 * testsuite/indexers/indexdump.c:
5469 * testsuite/parse/.cvsignore:
5470 * testsuite/parse/Makefile.am:
5471 * testsuite/parse/parse1.c:
5472 * testsuite/parse/parse2.c:
5473 * testsuite/plugin/.cvsignore:
5474 * testsuite/plugin/Makefile.am:
5475 * testsuite/plugin/README:
5476 * testsuite/plugin/dynamic.c:
5477 * testsuite/plugin/linked.c:
5478 * testsuite/plugin/loading.c:
5479 * testsuite/plugin/registry.c:
5480 * testsuite/plugin/static.c:
5481 * testsuite/plugin/static2.c:
5482 * testsuite/plugin/testplugin.c:
5483 * testsuite/plugin/testplugin2.c:
5484 * testsuite/plugin/testplugin2_s.c:
5485 * testsuite/plugin/testplugin_s.c:
5486 * testsuite/refcounting/.cvsignore:
5487 * testsuite/refcounting/Makefile.am:
5488 * testsuite/refcounting/bin.c:
5489 * testsuite/refcounting/element.c:
5490 * testsuite/refcounting/element_pad.c:
5491 * testsuite/refcounting/mainloop.c:
5492 * testsuite/refcounting/mem.c:
5493 * testsuite/refcounting/mem.h:
5494 * testsuite/refcounting/object.c:
5495 * testsuite/refcounting/pad.c:
5496 * testsuite/refcounting/sched.c:
5497 * testsuite/refcounting/thread.c:
5498 * testsuite/states/.cvsignore:
5499 * testsuite/states/Makefile.am:
5500 * testsuite/states/bin.c:
5501 * testsuite/states/locked.c:
5502 * testsuite/states/parent.c:
5503 * testsuite/threads/.cvsignore:
5504 * testsuite/threads/159566.c:
5505 * testsuite/threads/159852.c:
5506 * testsuite/threads/Makefile.am:
5507 * testsuite/threads/queue.c:
5508 * testsuite/threads/signals.c:
5509 * testsuite/threads/staticrec.c:
5510 * testsuite/threads/thread.c:
5511 * testsuite/threads/threadb.c:
5512 * testsuite/threads/threadc.c:
5513 * testsuite/threads/threadd.c:
5514 * testsuite/threads/threade.c:
5515 * testsuite/threads/threadf.c:
5516 * testsuite/threads/threadg.c:
5517 * testsuite/threads/threadh.c:
5518 * testsuite/threads/threadi.c:
5519 move all of these under tests
5521 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5524 * tests/Makefile.am:
5527 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5529 * docs/gst/gstreamer-sections.txt:
5530 * tests/sched/.cvsignore:
5531 * tests/sched/Makefile.am:
5532 * tests/sched/cases/(fs-fs).xml:
5533 * tests/sched/cases/(fs-i-fs).xml:
5534 * tests/sched/cases/(fs-i-i-fs).xml:
5535 * tests/sched/cases/(fs-i-q[i-fs]).xml:
5536 * tests/sched/dynamic-pipeline.c:
5537 * tests/sched/interrupt1.c:
5538 * tests/sched/interrupt2.c:
5539 * tests/sched/interrupt3.c:
5540 * tests/sched/runtestcases:
5541 * tests/sched/runxml.c:
5542 * tests/sched/sched-stress.c:
5543 * tests/sched/sort.c:
5544 * tests/sched/testcases:
5545 * tests/sched/testcases1.tc:
5546 * tests/seeking/.cvsignore:
5547 * tests/seeking/Makefile.am:
5548 * tests/seeking/seeking1.c:
5549 * tests/threadstate/.cvsignore:
5550 * tests/threadstate/Makefile.am:
5551 * tests/threadstate/test1.c:
5552 * tests/threadstate/test2.c:
5553 * tests/threadstate/threadstate1.c:
5554 * tests/threadstate/threadstate2.c:
5555 * tests/threadstate/threadstate3.c:
5556 * tests/threadstate/threadstate4.c:
5557 * tests/threadstate/threadstate5.c:
5558 remove obsolete tests
5560 * tests/bench-complexity.scm:
5561 * tests/bench-mass_elements.scm:
5562 * tests/complexity.c:
5563 * tests/complexity.gnuplot:
5564 * tests/instantiate/.cvsignore:
5565 * tests/instantiate/Makefile.am:
5566 * tests/instantiate/caps.c:
5567 * tests/mass_elements.c:
5568 * tests/network-clock-utils.scm:
5569 * tests/network-clock.scm:
5571 First pass at cleaning up tests/ dir before moving the rest
5572 Combined with CVS surgery
5574 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5577 queue has moved, update
5579 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5581 * docs/gst/gstreamer-sections.txt:
5582 remove double entries from the docs
5583 * gst/gst_private.h:
5584 * gst/gstinfo.c: (_gst_debug_init):
5585 remove the THREAD debug category
5589 * docs/gst/gstreamer.types:
5590 * plugins/elements/gstqueue.c: (gst_queue_get_type),
5591 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
5592 completely move queue and fix up debugging categories
5594 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5596 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
5597 make initialization portable, using LL is not
5599 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5601 * win32/common/gstconfig.h:
5604 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5606 * win32/common/libgstreamer.def:
5607 rename symbols; sort base section
5609 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5611 * gst/gstclock.c: (do_linear_regression):
5612 remove crack non-portable handrolled DEBUG macro
5614 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5616 * docs/random/release:
5618 * win32/common/gstenumtypes.c: (register_gst_object_flags),
5619 (gst_object_flags_get_type), (register_gst_bin_flags),
5620 (gst_bin_flags_get_type), (register_gst_buffer_flag),
5621 (gst_buffer_flag_get_type), (register_gst_bus_flags),
5622 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
5623 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
5624 (gst_caps_flags_get_type), (register_gst_clock_return),
5625 (gst_clock_return_get_type), (register_gst_clock_entry_type),
5626 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
5627 (gst_clock_flags_get_type), (register_gst_state),
5628 (gst_state_get_type), (register_gst_state_change_return),
5629 (gst_state_change_return_get_type), (register_gst_state_change),
5630 (gst_state_change_get_type), (register_gst_element_flags),
5631 (gst_element_flags_get_type), (register_gst_core_error),
5632 (gst_core_error_get_type), (register_gst_library_error),
5633 (gst_library_error_get_type), (register_gst_resource_error),
5634 (gst_resource_error_get_type), (register_gst_stream_error),
5635 (gst_stream_error_get_type), (register_gst_event_type_flags),
5636 (gst_event_type_flags_get_type), (register_gst_event_type),
5637 (gst_event_type_get_type), (register_gst_seek_type),
5638 (gst_seek_type_get_type), (register_gst_seek_flags),
5639 (gst_seek_flags_get_type), (register_gst_format),
5640 (gst_format_get_type), (register_gst_index_certainty),
5641 (gst_index_certainty_get_type), (register_gst_index_entry_type),
5642 (gst_index_entry_type_get_type),
5643 (register_gst_index_lookup_method),
5644 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
5645 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
5646 (gst_index_resolver_method_get_type), (register_gst_index_flags),
5647 (gst_index_flags_get_type), (register_gst_debug_level),
5648 (gst_debug_level_get_type), (register_gst_debug_color_flags),
5649 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
5650 (gst_iterator_result_get_type), (register_gst_iterator_item),
5651 (gst_iterator_item_get_type), (register_gst_message_type),
5652 (gst_message_type_get_type), (register_gst_mini_object_flags),
5653 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
5654 (gst_pad_link_return_get_type), (register_gst_flow_return),
5655 (gst_flow_return_get_type), (register_gst_activate_mode),
5656 (gst_activate_mode_get_type), (register_gst_pad_direction),
5657 (gst_pad_direction_get_type), (register_gst_pad_flags),
5658 (gst_pad_flags_get_type), (register_gst_pad_presence),
5659 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
5660 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
5661 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
5662 (gst_plugin_error_get_type), (register_gst_plugin_flags),
5663 (gst_plugin_flags_get_type), (register_gst_rank),
5664 (gst_rank_get_type), (register_gst_query_type),
5665 (gst_query_type_get_type), (register_gst_tag_merge_mode),
5666 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
5667 (gst_tag_flag_get_type), (register_gst_task_state),
5668 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
5669 (gst_alloc_trace_flags_get_type),
5670 (register_gst_type_find_probability),
5671 (gst_type_find_probability_get_type), (register_gst_uri_type),
5672 (gst_uri_type_get_type), (register_gst_parse_error),
5673 (gst_parse_error_get_type):
5674 * win32/common/gstenumtypes.h:
5675 * win32/common/gstversion.h:
5676 update visual studio generated files
5678 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5680 * win32/vs6/libgstbase.dsp:
5681 * win32/vs6/libgstelements.dsp:
5682 update project files for new locations
5684 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5689 reinstate and update
5694 * docs/random/LICENSE:
5697 2005-11-30 Edward Hervey <edward@fluendo.com>
5699 * gst/gsttypefind.c: (gst_type_find_register):
5700 * gst/gsttypefind.h:
5701 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
5702 (gst_type_find_factory_dispose):
5703 * gst/gsttypefindfactory.h:
5704 Fix memory leak in GstTypeFindFactory.
5706 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5709 * plugins/elements/Makefile.am:
5710 * plugins/elements/gstelements.c:
5711 * plugins/elements/gstqueue.c:
5712 move queue from core to the elements plugin
5714 2005-11-29 Andy Wingo <wingo@pobox.com>
5716 * libs/gst/base/gstbasetransform.h:
5717 * libs/gst/base/gstbasesrc.h:
5718 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
5720 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
5721 of pointers by which to pad very extensible base classes (like the
5722 ones in libs/gst/base).
5724 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5726 * docs/gst/gstreamer-docs.sgml:
5727 * docs/gst/gstreamer-sections.txt:
5728 * docs/libs/gstreamer-libs-docs.sgml:
5729 * docs/libs/gstreamer-libs-sections.txt:
5730 moving documentation from core to lib
5732 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5734 * check/Makefile.am:
5736 * docs/gst/Makefile.am:
5738 * gst/base/.cvsignore:
5739 * gst/base/Makefile.am:
5741 * gst/base/gstadapter.c:
5742 * gst/base/gstadapter.h:
5743 * gst/base/gstbasesink.c:
5744 * gst/base/gstbasesink.h:
5745 * gst/base/gstbasesrc.c:
5746 * gst/base/gstbasesrc.h:
5747 * gst/base/gstbasetransform.c:
5748 * gst/base/gstbasetransform.h:
5749 * gst/base/gstcollectpads.c:
5750 * gst/base/gstcollectpads.h:
5751 * gst/base/gstpushsrc.c:
5752 * gst/base/gstpushsrc.h:
5753 * gst/base/gsttypefindhelper.c:
5754 * gst/base/gsttypefindhelper.h:
5755 * gst/check/Makefile.am:
5756 * gst/check/gstcheck.c:
5757 * gst/check/gstcheck.h:
5758 * gst/net/Makefile.am:
5760 * gst/net/gstnetclientclock.c:
5761 * gst/net/gstnetclientclock.h:
5762 * gst/net/gstnettimepacket.c:
5763 * gst/net/gstnettimepacket.h:
5764 * gst/net/gstnettimeprovider.c:
5765 * gst/net/gstnettimeprovider.h:
5766 * libs/gst/Makefile.am:
5767 * libs/gst/base/Makefile.am:
5768 * libs/gst/base/gstbasetransform.c:
5769 * libs/gst/check/Makefile.am:
5770 * plugins/elements/Makefile.am:
5772 CVS surgery + support to move base, check, and net out of gst
5775 2005-11-29 Andy Wingo <wingo@pobox.com>
5777 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
5779 * gst/gststructure.h (struct _GstStructure): Only one pointer of
5782 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
5784 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
5786 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
5788 * gst/gstobject.h: (struct _GstObject): Only one pointer of
5789 padding; reduces object size by about 30%. We don't expect
5790 anything else to go into gstobject.
5792 * gst/gstminiobject.h (struct _GstMiniObject)
5793 (struct _GstMiniObjectClass): Only one pointer of padding; the
5794 payload is only a pointer and two ints anyway. For the class there
5795 are only two methods as well.
5797 * gst/gstelement.h (struct _GstElementClass): Removed
5798 the state_changed signal callback, it is not used.
5800 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
5802 * docs/gst/gstreamer.types:
5803 fix includes, though they are a little dinky
5805 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5807 * check/Makefile.am:
5808 look in the right place for elements, a lot more chance of
5811 remove indexers and elements subdirs
5812 * plugins/Makefile.am:
5813 make indexers conditional
5815 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5819 * plugins/elements/Makefile.am:
5820 * plugins/elements/gstcapsfilter.c:
5821 * plugins/elements/gstfilesink.c:
5822 * plugins/elements/gstfilesrc.c:
5823 * plugins/elements/gstidentity.c:
5824 * plugins/indexers/Makefile.am:
5825 do CVS surgery and related build fixery to move elements
5826 and indexers in a new gstreamer/plugins directory, out of the
5829 2005-11-29 Andy Wingo <wingo@pobox.com>
5831 * check/Makefile.am:
5832 * pkgconfig/gstreamer-net-uninstalled.pc.in:
5833 * pkgconfig/gstreamer-net.pc.in:
5834 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
5837 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
5839 * tools/Makefile.am:
5840 * tools/gst-complete.1.in:
5841 * tools/gst-complete.c:
5842 * tools/gst-compprep.1.in:
5843 * tools/gst-compprep.c:
5844 removing -compprep and -complete
5846 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
5848 * gst/gstevent.c: (gst_event_new_new_segment),
5849 (gst_event_parse_new_segment):
5851 fix #320529 - clean up new_segment API and structure.
5852 Let's hope everyone was using the methods, and not the structure.
5854 2005-11-29 Edward Hervey <edward@fluendo.com>
5856 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5857 (gst_base_sink_event), (gst_base_sink_do_sync),
5858 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
5859 Properly handle non GST_FORMAT_TIME segment
5860 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
5861 Properly handle non GST_FORMAT_TIME segment
5863 This function is valid if the accumulator is 0 and the format
5864 is different from the requested format.
5866 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
5868 * docs/gst/gstreamer-sections.txt:
5869 Add gst_query_new_seeking and gst_query_parse_seeking to the
5872 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
5874 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
5875 Treat a pad alloc with new caps the same as if we were not
5876 negotiated, in order to allow a changing upstream output
5877 to produce a new format of data.
5879 2005-11-29 Edward Hervey <edward@fluendo.com>
5881 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
5882 (gst_base_transform_event), (gst_base_transform_eventfunc):
5883 The event virtual method is now properly implemented, with a default
5885 Sub classes should call the parent_class event method. They should
5886 return FALSE if they had a problem handling the given event, or don't
5887 want GstBaseTransform to send that even downstream
5888 * gst/elements/gstidentity.c: (gst_identity_class_init),
5889 (gst_identity_init), (gst_identity_event),
5890 (gst_identity_transform_ip), (gst_identity_set_property),
5891 (gst_identity_get_property):
5892 * gst/elements/gstidentity.h:
5893 Added the single-segment boolean property.
5894 If set to TRUE, it will output a single segment of data, starting from
5895 0, will eat up all incoming newsegment, and modify the timestamp of the
5898 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
5900 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
5901 Don't ref NULL target pad (#322751). Improve docs.
5903 2005-11-29 Michael Smith <msmith@fluendo.com>
5905 * gst/gstregistryxml.c: (load_plugin):
5906 Don't crash if we failed to load a feature from a plugin.
5908 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
5910 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
5912 use more check API and less GLib API
5914 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
5917 don't run checks if we don't have check
5919 remove the registry when running make torture
5920 * docs/gst/gstreamer-sections.txt:
5921 remove second multiply
5922 * gst/gstqueue.c: (gst_queue_loop):
5923 fix a compile warning when disabling debug
5925 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
5928 Hey! Let's print the pad name if the pointer != NULL instead
5929 of when it == NULL :-)
5931 2005-11-28 Wim Taymans <wim@fluendo.com>
5933 * check/gst/gstutils.c: (GST_START_TEST):
5934 Updated check, add some scaling accuracy checking code.
5936 * gst/gstutils.c: (gst_util_div128_64),
5937 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
5938 (gst_util_uint64_scale_int):
5939 Fix 6 times faster division code. Optimize for common
5940 1/1 and less common X/1 cases.
5942 2005-11-28 Wim Taymans <wim@fluendo.com>
5944 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
5947 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
5948 (do_linear_regression), (gst_clock_add_observation):
5950 Release lock when the clock cannot be slaved.
5951 Catch the case where the regression returned an invalid denominator.
5953 * gst/gstutils.c: (gst_util_div128_64_iterate),
5954 (gst_util_div128_64), (gst_util_uint64_scale_int64),
5955 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
5956 Add protentially more performant non-iterative 128/64 divide function
5957 that unfortunatly does not work yet.
5958 Shortcut the trivial 0/X = 0 case.
5959 Remove the warnings on overflow.
5961 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
5963 * gst/gstplugin.c: (gst_plugin_register_func):
5964 everything causing a plugin not to load should be at least a WARNING
5966 2005-11-28 Stefan Kost <ensonic@users.sf.net>
5968 * docs/random/ensonic/dparams.txt:
5969 some TODOs for the next dev cycle
5970 * libs/gst/controller/gstcontroller.c:
5971 (gst_controlled_property_set_interpolation_mode),
5972 (gst_controlled_property_new):
5973 * libs/gst/controller/gstcontroller.h:
5974 use base type to assign acccessor functions
5976 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
5978 * check/Makefile.am:
5979 Oops, that should have been top_srcdir
5981 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
5983 * check/Makefile.am:
5984 * check/elements/fdsrc.c: (GST_START_TEST):
5985 Use a cmdline define to specify the location of a file to use for
5986 testing, to avoid breaking distcheck.
5988 2005-11-28 Andy Wingo <wingo@pobox.com>
5990 * gst/gstpad.c (fixate_value): Use array functions for arrays.
5992 2005-11-28 Edward Hervey <edward@fluendo.com>
5994 * tools/gst-launch.c: (main):
5995 Clarify the output strings, makes it easier to translate.
5998 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
6001 don't try and build net if we don't even have <sys/socket.h>
6003 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
6005 * check/Makefile.am:
6006 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
6007 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
6008 Add tests for fdsrc seekability
6010 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
6011 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
6012 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
6013 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
6014 * gst/elements/gstfdsrc.h:
6015 fdsrc should not be a 'live' source.
6016 Implement seeking on seekable fd's.
6018 * gst/gstquery.c: (gst_query_new_seeking),
6019 (gst_query_parse_seeking):
6021 Implement SEEKING query functions:
6022 *_new_seeking and *_parse_seeking
6024 2005-11-27 Stefan Kost <ensonic@users.sf.net>
6026 * gst/gstelement.c: (gst_element_dispose):
6029 * gst/gstiterator.c:
6030 * gst/gststructure.c:
6033 * libs/gst/controller/gstcontroller.c:
6034 (gst_controlled_property_set_interpolation_mode):
6035 * libs/gst/controller/gstcontroller.h:
6036 * libs/gst/controller/gstinterpolation.c:
6037 (interpolate_none_get_enum_value_array):
6038 support controlling enums
6040 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
6043 Improve documentation for gst_value_union().
6046 Change return value for union, intersect and subtract functions
6047 from gint to gboolean.
6049 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
6051 * gst/gstvalue.c: (gst_value_serialize_any_list),
6052 (gst_value_transform_any_list_string),
6053 (gst_value_deserialize_list), (gst_value_deserialize_array),
6054 (gst_value_set_int_range), (gst_value_deserialize_int_range),
6055 (gst_value_set_double_range), (gst_value_deserialize_double_range),
6056 (gst_value_set_fraction_range_full),
6057 (gst_value_deserialize_fraction_range),
6058 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
6059 (gst_value_deserialize_boolean),
6060 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
6061 (gst_value_serialize_float), (gst_value_deserialize_float),
6062 (gst_string_wrap), (gst_value_deserialize_string),
6063 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
6064 (gst_value_union_int_range_int_range),
6065 (gst_value_intersect_int_range_int_range),
6066 (gst_value_intersect_double_range_double_range),
6067 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
6068 (gst_value_subtract_int_range_int_range),
6069 (gst_value_subtract_double_double_range),
6070 (gst_value_subtract_double_range_double_range),
6071 (gst_value_deserialize_fraction):
6073 Use gint, gdouble and gchar in our API instead of int, double and
6074 char (and make usage in gstvalue.c more consistent).
6076 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
6078 * check/Makefile.am:
6079 * libs/gst/controller/Makefile.am:
6080 * libs/gst/dataprotocol/Makefile.am:
6081 fix up Makefile.am and remove GST_ENABLE_NEW
6083 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
6087 * gst/base/Makefile.am:
6088 * gst/check/Makefile.am:
6089 * gst/elements/Makefile.am:
6090 * gst/net/Makefile.am:
6091 update LDFLAGS use some more
6093 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
6095 * common/m4/gst-doc.m4:
6098 2005-11-26 Edward Hervey <edward@fluendo.com>
6100 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
6101 This shouldn't issue a g_warning since it returns NULL if it
6102 couldn't find the plugin, and all functions using this behave
6103 properly on a NULL return. Switching to a GST_WARNING.
6105 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
6107 * gst/gstbin.c: (gst_bin_handle_message_func):
6108 Don't leak clock messages.
6110 2005-11-25 Wim Taymans <wim@fluendo.com>
6112 * gst/gstutils.c: (gst_util_uint64_scale_int64),
6113 (gst_util_uint64_scale_int):
6114 Optimisations, remove unneeded vars.
6116 2005-11-25 Wim Taymans <wim@fluendo.com>
6118 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6119 Added more checks for the high precision uint64 cases.
6121 * gst/gstutils.c: (gst_util_uint64_scale_int64),
6122 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
6123 Implement high precision (guint64 * guint64) / guint64.
6125 2005-11-24 Wim Taymans <wim@fluendo.com>
6127 * gst/base/gstbasesrc.c: (gst_base_src_query):
6128 Fix wrong percentage query.
6130 * gst/gstutils.c: (gst_util_uint64_scale),
6131 (gst_util_uint64_scale_int):
6132 Add some more common cases that can be handled
6133 efficiently to _scale.
6135 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
6137 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
6138 (gst_mini_object_suite):
6139 don't use check calls from threads; check probably isn't
6140 threadsafe and using a lock to make it threadsafe would
6141 defeat the purpose of this check
6142 * gst/check/gstcheck.c:
6143 * gst/check/gstcheck.h:
6144 use GST_DEBUG some more
6146 2005-11-24 Wim Taymans <wim@fluendo.com>
6148 * gst/gstutils.c: (gst_util_uint64_scale),
6149 (gst_util_uint64_scale_int):
6150 Chain trivial case to _scale_int.
6152 2005-11-24 Wim Taymans <wim@fluendo.com>
6154 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6155 Added test for scaling.
6160 * gst/gstutils.c: (gst_util_uint64_scale_int):
6161 Implemented high precision scaling code.
6163 2005-11-24 Stefan Kost <ensonic@users.sf.net>
6166 do not crash on pad==NULL
6168 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
6170 Patch by: Stefan Kost
6172 * common/gtk-doc.mak:
6173 * docs/gst/Makefile.am:
6174 * docs/libs/Makefile.am:
6175 Fix distcheck issues for the libraries docs build
6178 2005-11-24 Michael Smith <msmith@fluendo.com>
6180 * docs/manual/basics-helloworld.xml:
6181 Fix bug #315027: memory leak in example code in docs.
6183 2005-11-24 Michael Smith <msmith@fluendo.com>
6185 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6186 Unlock the PREROLL_LOCK in a failure case.
6188 2005-11-24 Wim Taymans <wim@fluendo.com>
6190 * docs/gst/gstreamer-sections.txt:
6191 * gst/base/gstadapter.h:
6192 * gst/base/gstbasesink.h:
6193 * gst/base/gstbasesrc.h:
6194 * gst/base/gstbasetransform.h:
6195 * gst/base/gstpushsrc.h:
6196 * gst/elements/gstfakesink.h:
6197 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
6198 * gst/elements/gstfakesrc.h:
6199 * gst/elements/gstfilesink.h:
6200 * gst/elements/gstfilesrc.h:
6203 * gst/gstbuffer.c: (_gst_buffer_copy):
6206 * gst/gstchildproxy.c:
6209 * gst/gstelementfactory.c:
6210 * gst/gstelementfactory.h:
6212 * gst/gstghostpad.h:
6214 * gst/gstinterface.h:
6215 * gst/gstminiobject.c:
6216 * gst/gstminiobject.h:
6219 * gst/gstpadtemplate.h:
6220 * gst/gstpipeline.h:
6221 * gst/gstpluginfeature.h:
6226 * gst/gsttagsetter.c:
6227 * gst/gsttagsetter.h:
6230 * gst/gsttypefind.h:
6233 * gst/net/gstnetclientclock.c:
6234 * gst/net/gstnetclientclock.h:
6235 * gst/net/gstnettimepacket.c:
6236 * gst/net/gstnettimeprovider.c:
6237 * gst/net/gstnettimeprovider.h:
6240 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
6242 * configure.ac: back to HEAD
6244 === release 0.9.6 ===
6246 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
6249 releasing 0.9.6, "Always On Time"
6251 2005-11-23 Wim Taymans <wim@fluendo.com>
6253 * docs/gst/gstreamer-sections.txt:
6254 * gst/glib-compat.c:
6255 * gst/gsttagsetter.c:
6257 * gst/net/gstnetclientclock.c:
6258 * gst/net/gstnettimepacket.h:
6261 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
6263 * docs/faq/using.xml:
6264 * docs/libs/tmpl/gstcontrol.sgml:
6265 * docs/manual/advanced-dparams.xml:
6266 * docs/manual/appendix-checklist.xml:
6267 * docs/manual/basics-elements.xml:
6268 * docs/pwg/other-source.xml:
6269 * docs/random/moving-plugins:
6271 * tools/gst-launch.1.in:
6272 remove mentions of sinesrc
6274 2005-11-23 Michael Smith <msmith@fluendo.com>
6276 * docs/gst/gstreamer-sections.txt:
6277 Update for new API and API changes.
6279 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
6281 Documentation typo fix.
6282 * gst/net/gstnettimepacket.c:
6283 Documentation fixes for arguments.
6285 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
6287 * gst/gststructure.c: (gst_structure_get_fraction),
6288 (gst_structure_parse_value),
6289 (gst_structure_fixate_field_nearest_fraction):
6290 * gst/gststructure.h:
6291 * gst/gstutils.c: (gst_util_uint64_scale_int):
6293 * scripts/update-funcnames:
6295 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
6296 Make gst_structure_fixate_field_nearest_fraction take a numerator
6297 and denominator argument instead of a GValue
6298 add gst_structure_get_fraction helper function.
6300 2005-11-23 Wim Taymans <wim@fluendo.com>
6302 * docs/design/part-TODO.txt:
6305 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6306 * gst/net/gstnetclientclock.h:
6307 Use parent fields for timeout and window_size.
6309 2005-11-23 Andy Wingo <wingo@pobox.com>
6311 * check/net/gstnetclientclock.c (test_functioning): Adjust to
6312 rate_num/rate_denom change.
6314 * gst/net/gstnetclientclock.c
6315 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
6316 OBJECT_LOCK. Don't call add_observation with the lock.
6318 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
6320 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
6322 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
6323 deal with rate as a fraction whose numerator and denominator are
6324 GstClockTime values.
6325 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
6326 master; the other fields are protected by the SLAVE_LOCK.
6327 (do_linear_regression): Note that this must be called with the
6329 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
6330 OBJECT_LOCK. Call set_calibration instead of touching the
6332 (gst_clock_set_property, gst_clock_get_property): Protect
6333 master/slave parameters with the SLAVE_LOCK.
6335 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
6336 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
6337 note that all of the instance variables that add_observation and
6338 the set_master functions use are protected by that lock and not
6340 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
6342 * gst/gstclock.c (gst_clock_add_observation): No longer requires
6343 the caller to take the object lock.
6345 2005-11-23 Wim Taymans <wim@fluendo.com>
6347 * gst/gsterror.c: (_gst_core_errors_init):
6349 Add error for clock stuff.
6351 * gst/gstpipeline.c: (gst_pipeline_change_state),
6352 (gst_pipeline_set_clock):
6353 Post clock error when clock cannot be used in a pipeline.
6355 2005-11-23 Stefan Kost <ensonic@users.sf.net>
6357 * docs/gst/gstreamer-sections.txt:
6358 make two symbols from gstinfo private for the docs
6359 * gst/base/gstcollectpads.h:
6361 fix doc typos, update docs
6363 2005-11-22 Wim Taymans <wim@fluendo.com>
6365 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6366 (gst_base_sink_wait), (gst_base_sink_do_sync),
6367 (gst_base_sink_handle_event):
6368 * gst/base/gstbasesink.h:
6369 No need to store the clock, the parent element class already
6372 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
6373 Updates for clock_set returning a gboolean
6375 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
6376 (gst_clock_id_wait_async), (gst_clock_class_init),
6377 (gst_clock_init), (gst_clock_finalize),
6378 (gst_clock_get_internal_time), (gst_clock_get_time),
6379 (gst_clock_slave_callback), (gst_clock_set_master),
6380 (gst_clock_get_master), (do_linear_regression),
6381 (gst_clock_add_observation), (gst_clock_set_property),
6382 (gst_clock_get_property):
6384 Implement master/slave. When setting a clock as a slave, a
6385 periodic timeout is scheduled to sample master and slave times.
6386 Then the slave clock is recalibrated to match offset and rate
6387 of the master clock.
6388 Update logging a bit.
6389 Add flag so that a clock can state that is cannot be slaved to
6392 * gst/gstelement.c: (gst_element_set_clock):
6394 The set clock returns a gboolean for when an element cannot
6395 deal with the selected clock in the pipeline.
6397 * gst/gstpipeline.c: (gst_pipeline_change_state),
6398 (gst_pipeline_set_clock):
6399 * gst/gstpipeline.h:
6400 Handle the case where the selected clock cannot be set on
6403 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
6404 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
6405 (gst_net_client_clock_set_property),
6406 (gst_net_client_clock_get_property),
6407 (gst_net_client_clock_observe_times):
6408 * gst/net/gstnetclientclock.h:
6409 Use regression code in GstClock parent, remove duplicated
6412 2005-11-22 Michael Smith <msmith@fluendo.com>
6414 * gst/gstutils.c: (gst_util_clock_time_scale):
6416 * docs/gst/gstreamer-sections.txt:
6417 Rename method to have extra underscore.
6419 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
6421 * gst/elements/Makefile.am:
6422 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
6423 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
6424 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
6425 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
6426 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
6427 * gst/elements/gstfakesrc.h:
6428 * gst/gstqueue.c: (queue_leaky_get_type):
6429 correctly fix GEnumValues so that nick is the short lowercase
6431 * tools/gst-inspect.c: (print_element_properties_info):
6432 also show the nick, since it's useful to use from parse_launch
6436 2005-11-22 Michael Smith <msmith@fluendo.com>
6438 * gst/gstutils.c: (gst_util_clocktime_scale):
6440 * docs/gst/gstreamer-sections.txt:
6441 Add util method for scaling a clocktime by a fraction. Useful
6442 implementation is left as an exercise for the reader.
6444 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
6446 * gst/gstvalue.c: (gst_value_collect_fraction_range):
6447 If needed, allocate storage in the destination value during
6450 2005-11-22 Edward Hervey <edward@fluendo.com>
6452 * docs/gst/gstreamer-sections.txt:
6457 * gst/gstutils.c: (gst_util_set_object_arg):
6458 * tools/gst-compprep.c: (main):
6459 * tools/gst-inspect.c: (print_element_properties_info):
6460 Removed GstURI, closes bug #321061
6462 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
6464 * check/gst/gststructure.c: (GST_START_TEST):
6465 * gst/gststructure.c: (gst_structure_parse_value):
6466 Oops, broke automatic string type parsing.
6467 Add a test to catch it in future.
6469 2005-11-22 Andy Wingo <wingo@pobox.com>
6471 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
6472 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
6473 Actually rename the function implementations. Grr.
6475 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
6477 * check/gst/capslist.h:
6479 * check/gst/gststructure.c: (GST_START_TEST),
6480 (gst_structure_suite):
6481 Test automatic value type detection in gst_structure_from_string.
6482 * gst/gststructure.c: (gst_structure_parse_value):
6483 Add fraction as a type we try and guess automatically in
6484 caps/structure strings.
6486 2005-11-22 Andy Wingo <wingo@pobox.com>
6488 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
6490 * gst/gsttagsetter.h:
6491 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
6492 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
6493 (gst_tag_setter_add_tag_valist)
6494 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
6495 _add_values, _add_valist, and _add_valist_values. Since this is an
6496 interface the function suffixes should be more explicit so
6497 language binding don't end up with element.add_valist ->
6498 gst_tag_setter_add_valist, for example. Fixes #322069.
6500 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
6502 * check/gst/gstcaps.c: (GST_START_TEST):
6503 Extend caps string tests to check that a caps to string
6504 conversion is reversible and produces the same caps.
6506 * gst/gststructure.c: (gst_structure_value_get_generic_type):
6507 Output "fraction" as the generic type fraction range, so caps
6508 serialisation and deserialisation works.
6509 * check/gst/capslist.h:
6510 * gst/gstvalue.c: (gst_value_deserialize_fraction):
6511 Support 'MIN' and 'MAX' for deserialising fractions.
6513 2005-11-22 Andy Wingo <wingo@pobox.com>
6515 * gst/gstevent.h (gst_event_new_new_segment)
6516 (gst_event_parse_new_segment, gst_event_new_buffer_size)
6517 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
6518 Renamed from *_newsegment, *_buffersize, *_notarget.
6520 * scripts/update-funcnames: New script, performs the changes
6523 2005-11-22 Wim Taymans <wim@fluendo.com>
6525 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6526 Make sure the GstFlowReturn is returned.
6528 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
6529 (gst_bus_add_signal_watch):
6531 add gst_bus_add_signal_watch_full.
6533 * gst/gstplugin.c: (gst_plugin_load_file):
6534 Small style cleanup.
6536 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
6538 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
6539 Block the fakesrc srcpad when we send an event, to avoid
6540 contention on the stream_lock causing random test failures.
6542 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
6544 * check/gst/gstvalue.c: (GST_START_TEST):
6545 * gst/gstvalue.c: (gst_value_fraction_subtract):
6548 2005-11-22 Stefan Kost <ensonic@users.sf.net>
6551 include "gstchildproxy.h"
6552 * gst/gstchildproxy.h:
6553 * libs/gst/controller/gstcontroller.h:
6554 use G_GNUC_NULL_TERMINATED
6556 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
6558 * check/gst/capslist.h:
6559 * check/gst/gstcaps.c: (GST_START_TEST):
6560 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6561 * gst/gststructure.c: (gst_structure_parse_range),
6562 (gst_structure_fixate_field_nearest_fraction):
6563 * gst/gststructure.h:
6564 * gst/gstvalue.c: (gst_value_init_fraction_range),
6565 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
6566 (gst_value_collect_fraction_range),
6567 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
6568 (gst_value_set_fraction_range_full),
6569 (gst_value_get_fraction_range_min),
6570 (gst_value_get_fraction_range_max),
6571 (gst_value_serialize_fraction_range),
6572 (gst_value_transform_fraction_range_string),
6573 (gst_value_compare_fraction_range),
6574 (gst_value_deserialize_fraction_range),
6575 (gst_value_intersect_fraction_fraction_range),
6576 (gst_value_intersect_fraction_range_fraction_range),
6577 (gst_value_subtract_fraction_fraction_range),
6578 (gst_value_subtract_fraction_range_fraction),
6579 (gst_value_subtract_fraction_range_fraction_range),
6580 (gst_value_collect_fraction), (gst_value_fraction_multiply),
6581 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
6582 (gst_value_transform_string_fraction), (_gst_value_initialize):
6584 Implement fraction ranges and extend GstFraction to support
6585 arithmetic subtraction, as well as deserialization from integer
6586 strings such as "100"
6587 Add a testsuite as for int and double range set operations
6589 2005-11-21 Andy Wingo <wingo@pobox.com>
6593 * gst/gststructure.h: Add glib-compat.h.
6595 2005-11-21 Wim Taymans <wim@fluendo.com>
6597 * gst/gstbin.c: (gst_bin_change_state_func):
6600 2005-11-21 Wim Taymans <wim@fluendo.com>
6603 And add a nice define too.
6605 2005-11-21 Wim Taymans <wim@fluendo.com>
6607 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
6608 (gst_segment_new), (gst_segment_free), (gst_segment_init),
6609 (gst_segment_set_duration), (gst_segment_set_last_stop),
6610 (gst_segment_set_seek), (gst_segment_set_newsegment),
6611 (gst_segment_to_stream_time), (gst_segment_to_running_time),
6614 Make binding friendly.
6616 2005-11-21 Andy Wingo <wingo@pobox.com>
6618 * gst/gsttagsetter.h:
6620 * gst/gststructure.h:
6622 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
6625 * gst/gsterror.c (_gst_core_errors_init):
6626 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
6629 * gst/Makefile.am (gst_headers): Add glib-compat.h.
6630 (noinst_HEADERS): noinst the -private.
6632 2005-11-21 Michael Smith <msmith@fluendo.com>
6635 * gst/gstregistry.h:
6636 Remove unimplemented declarations for which we can see no sensible
6639 2005-11-21 Andy Wingo <wingo@pobox.com>
6641 * gst/gst.h: Include glib-compat.h.
6643 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
6645 * gst/glib-compat.c: Include the public and the private header.
6647 * gst/glib-compat-private.h: Copied here from glib-compat.h.
6651 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
6653 * check/gst/gstevent.c (create_custom_events): Check that
6654 FLUSH_STOP is serialized.
6656 * check/elements/identity.c (event_func):
6657 * check/elements/fakesrc.c (event_func): No stream lock, the core
6660 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
6661 stream lock taking, yay.
6663 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
6664 ensure that core takes the stream lock.
6666 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
6669 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
6670 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
6671 it already. For the flush start we do take it though so we get the
6672 right preroll state change messages.
6674 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
6675 the stream lock here, the core does it for us.
6677 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
6678 GST_STREAM_GET_LOCK.
6679 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
6680 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
6681 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
6682 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
6683 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
6684 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
6686 * gst/gstpad.c: Update for stream lock name change.
6688 * gst/base/gstbasesink.c: Update for preroll lock name change.
6690 2005-11-21 Wim Taymans <wim@fluendo.com>
6692 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
6693 (gst_clock_get_master):
6695 * gst/gstsystemclock.c: (gst_system_clock_init):
6696 Convert Clock flags to object flags.
6697 Added methods to manage master/slave clocks.
6699 2005-11-21 Wim Taymans <wim@fluendo.com>
6701 * check/gst/gstsegment.c: (GST_START_TEST):
6702 * docs/design/part-TODO.txt:
6703 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6704 (gst_base_sink_event), (gst_base_sink_do_sync),
6705 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
6706 (gst_base_sink_query), (gst_base_sink_change_state):
6707 * gst/base/gstbasesink.h:
6708 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
6709 (gst_base_src_default_newsegment),
6710 (gst_base_src_configure_segment), (gst_base_src_do_seek),
6711 (gst_base_src_get_range), (gst_base_src_loop),
6712 (gst_base_src_change_state):
6713 * gst/base/gstbasesrc.h:
6714 * gst/base/gstbasetransform.c:
6715 (gst_base_transform_prepare_output_buf),
6716 (gst_base_transform_event), (gst_base_transform_change_state):
6717 * gst/base/gstbasetransform.h:
6718 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
6719 (gst_collect_pads_event):
6720 * gst/base/gstcollectpads.h:
6721 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
6722 (gst_fake_src_create):
6723 * gst/elements/gstfakesrc.h:
6724 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
6725 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
6726 (gst_segment_set_last_stop), (gst_segment_set_seek),
6727 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
6728 (gst_segment_to_running_time), (gst_segment_clip):
6730 More segment updates, replace code in plugins with segment
6733 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
6735 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
6736 Don't ignore sscanf results
6738 2005-11-21 Andy Wingo <wingo@pobox.com>
6740 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
6743 * *.c: Ran scripts/update-macros. Oh yes.
6745 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
6746 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
6749 * scripts/update-macros: New script. Run it on your files to
6750 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
6753 2005-11-21 Stefan Kost <ensonic@users.sf.net>
6755 * docs/gst/Makefile.am:
6756 * docs/gst/gstreamer-docs.sgml:
6757 * docs/gst/gstreamer-sections.txt:
6758 * docs/gst/gstreamer.types:
6760 more docs fixes, add new api to the docs
6762 2005-11-21 Andy Wingo <wingo@pobox.com>
6764 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
6765 state_broadcast call.
6767 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
6769 2005-11-21 Julien MOUTTE <julien@moutte.net>
6771 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
6772 function calls for arrays.
6774 2005-11-21 Stefan Kost <ensonic@users.sf.net>
6776 * docs/random/ensonic/media-device-daemon.txt:
6777 wild idea, can this be done?
6778 * docs/gst/gstreamer-sections.txt:
6783 * gst/gstpluginfeature.c:
6787 doc fixes and additions
6789 2005-11-21 Andy Wingo <wingo@pobox.com>
6791 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
6792 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
6793 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
6794 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
6795 private to the basesrc implementation.
6797 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
6798 behalf of event function if necessary. It should no longer be
6799 necessary to take the stream lock in pad's event functions. Fixes
6802 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
6803 * docs/gst/gstreamer-sections.txt:
6804 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
6805 (gst_structure_fixate_field_nearest_double),
6806 (gst_structure_fixate_field_boolean):
6807 * gst/gststructure.h:
6808 * win32/common/libgstreamer.def:
6809 * win32/gstreamer.def:
6811 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
6814 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
6816 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
6817 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
6818 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
6819 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
6820 (gst_fdsrc_uri_handler_init):
6821 * gst/elements/gstfdsrc.h:
6822 Port fd:// URI handler from 0.8 to fdsrc
6824 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
6826 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
6827 (gst_value_serialize_fourcc):
6829 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
6830 consistent with our other format defines (#320324).
6832 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
6834 * gst/gstvalue.c: (gst_value_is_fixed):
6835 Revert previous commit. Value lists are by definition
6836 not fixed, as they are a list of possible values.
6838 2005-11-21 Andy Wingo <wingo@pobox.com>
6840 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
6841 during the stable series if we need it. Fixes #319178.
6843 * gst/gstevent.c (gst_event_new_filler): Removed.
6845 * check/gst/gstevent.c: Update comment about filler events.
6847 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
6849 * gst/gstvalue.c: (gst_value_is_fixed):
6850 Should handle both value arrays and value lists.
6852 2005-11-21 Andy Wingo <wingo@pobox.com>
6854 patch by: Alessandro Dessina <alessandro nnva org>
6856 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
6857 functions to access arrays. Fixes #321962.
6859 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
6861 * docs/gst/gstreamer.types:
6862 gst_collectpads_get_type => gst_collect_pads_get_type.
6864 * gst/base/gstbasetransform.c:
6865 Remove unused SIGNAL_HANDOFF enum.
6867 2005-11-21 Andy Wingo <wingo@pobox.com>
6869 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
6870 the event type (upstream, downstream, serialized). Renamed
6871 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
6872 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
6873 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
6875 * gst/gstevent.c: Update for new CUSTOM event names.
6877 * check/gst/gstevent.c: Update check for new CUSTOM event names.
6880 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
6883 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
6885 * docs/gst/gstreamer-sections.txt:
6886 * win32/common/libgstbase.def:
6887 * win32/libgstbase.def:
6888 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
6889 (gst_collect_pads_class_init), (gst_collect_pads_init),
6890 (gst_collect_pads_finalize), (gst_collect_pads_new),
6891 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
6892 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
6893 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
6894 (gst_collect_pads_start), (gst_collect_pads_stop),
6895 (gst_collect_pads_peek), (gst_collect_pads_pop),
6896 (gst_collect_pads_available), (gst_collect_pads_read),
6897 (gst_collect_pads_flush), (gst_collect_pads_event),
6898 (gst_collect_pads_chain):
6899 * gst/base/gstcollectpads.h:
6900 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
6901 unimplemented functions as unimplemented. Add padding to
6902 GstCollectData. (#320766, #320423)
6904 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
6907 Improve docs for DURATION message (usage of duration parameter)
6910 2005-11-20 Wim Taymans <wim@fluendo.com>
6912 * check/Makefile.am:
6913 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
6917 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
6918 (gst_segment_set_seek), (gst_segment_set_newsegment),
6919 (gst_segment_to_stream_time), (gst_segment_to_running_time),
6922 Added segment helper structure and methods. Not fully implemented
6924 Added segment check.
6926 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
6928 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6929 Add a deserialisation test for fractions
6930 * examples/metadata/read-metadata.c: (message_loop),
6931 (make_pipeline), (main):
6932 Fix up metadata reading sample.
6933 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
6935 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
6936 Don't try and fixate empty caps
6937 * gst/gst_private.h:
6938 Wrap in G_BEGIN_DECLS/G_END_DECLS
6939 * gst/gstvalue.c: (gst_value_collect_fraction),
6940 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
6941 (gst_value_transform_string_fraction),
6942 (gst_value_compare_fraction):
6943 Add some extra guards to ensure that we don't end up
6944 with an invalid denominator of 0 in a gstfraction and
6945 that fractions always get reduced.
6947 2005-11-20 Wim Taymans <wim@fluendo.com>
6949 * docs/gst/gstreamer-sections.txt:
6960 2005-11-20 Wim Taymans <wim@fluendo.com>
6962 * docs/design/part-TODO.txt:
6964 Make a proper enum of the flag.
6966 2005-11-19 Wim Taymans <wim@fluendo.com>
6968 * docs/design/part-TODO.txt:
6969 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
6970 (gst_format_to_quark), (gst_format_register):
6972 * gst/gstquery.c: (_gst_query_initialize),
6973 (gst_query_type_get_name), (gst_query_type_to_quark),
6974 (gst_query_type_register):
6976 Add type to quark and type to string conversions.
6978 2005-11-19 Andy Wingo <wingo@pobox.com>
6980 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
6983 2005-11-19 Wim Taymans <wim@fluendo.com>
6985 * docs/design/part-TODO.txt:
6986 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
6987 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
6988 (gst_bin_handle_message_func):
6990 Make message handling overridable.
6992 2005-11-19 Andy Wingo <wingo@pobox.com>
6994 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
6997 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
6999 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
7000 is a GstClockTime. Fixes #321710.
7002 * gst/gstclock.h (GstClock): Remove offset property. Add
7003 internal_calibration and external_calibration. Fix padding. Pad
7004 also by GstClockTime so we don't run into problems.
7006 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
7007 (gst_clock_get_rate_offset): Remove.
7008 (gst_clock_set_time_adjust): Remove. Fixes #321712.
7011 * gst/gstutils.c (g_static_rec_cond_wait)
7012 (g_static_rec_cond_timed_wait): Removed, no longer needed.
7014 * gst/gstbin.c: Remove terrible continue_state prototype.
7016 * gst/gstelement.h (gst_element_continue_state): Make public.
7019 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
7020 by continue_state. Fixes #319389.
7022 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
7023 Really fixes #168438. However I don't see anywhere where the
7024 filter function is called... stupid GStreamer...
7026 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
7027 don't have a dispose function, so it won't get called when the
7028 object is unreffed, but oh well!
7030 * gst/gstindex.c (gst_index_set_filter_full): New API function,
7031 allows a destroy function to be set so user_data can be freed.
7033 (gst_index_set_filter): Call gst_index_set_filter_full.
7035 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
7037 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
7038 string should produce an error, given the lack of a way to
7039 represent NULL strings. Fixes #165650.
7042 * gst/gstvalue.c (gst_value_array_append_value)
7043 (gst_value_array_prepend_value, gst_value_array_get_size)
7044 (gst_value_array_get_value): New API, copied from
7045 gst_value_list_*, only operates on arrays.
7046 (gst_value_list_append_value, gst_value_list_prepend_value)
7047 (gst_value_list_concat, gst_value_list_get_size)
7048 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
7050 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
7051 init_list, because it works on both.
7052 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
7053 (gst_value_copy_list_or_array): Renamed from copy_list.
7054 (gst_value_free_list_or_array): Renamed from free_list.
7055 (gst_value_collect_list_or_array): Renamed from collect_list.
7056 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
7057 (gst_value_list_or_array_peek_pointer): Renamed from
7059 (_gst_value_array_value_table, _gst_value_list_value_table):
7060 Update value table functions.
7061 (gst_value_compare_list_or_array): Renamed from compare_list.
7063 * gsttaglist.h: Whoops, foreach function returns void. Also fix
7067 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
7068 GstTagList*. Fixes #143472.
7070 * gst/gststructure.h: Clarify what the foreach/map functions can
7071 or can't do to their arguments.
7073 2005-11-18 Wim Taymans <wim@fluendo.com>
7075 * gst/gstclock.c: (gst_clock_set_calibration),
7076 (gst_clock_get_calibration):
7078 Calibration can be set with internal time equal to current
7081 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
7087 2005-11-18 Andy Wingo <wingo@pobox.com>
7090 * pkgconfig/gstreamer-net.pc.in:
7091 * pkgconfig/gstreamer-net-uninstalled.pc.in:
7092 * pkgconfig/Makefile.am: Add net pkgconfig files.
7094 2005-11-18 Stefan Kost <ensonic@users.sf.net>
7097 * gst/gstghostpad.c:
7103 2005-11-18 Andy Wingo <wingo@pobox.com>
7105 * gst/net/gstnetclientclock.c: Turn off debugging.
7107 * check/net/gstnetclientclock.c (test_functioning): Assert that the
7108 times connverge somewhat. Can't make a real test.
7110 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
7111 integer arithmetic. Return the minimum of the domain, which can be
7112 set as "internal" for gst_clock_set_calibration.
7113 (gst_net_client_clock_observe_times): Call _set_calibration.
7114 (gst_net_client_clock_new): Call _set_calibration instead of
7117 * check/net/gstnetclientclock.c (test_functioning): Use the right
7121 * gst/gstclock.c (gst_clock_get_calibration)
7122 (gst_clock_set_calibration): New functions, obsolete the ones I
7123 added yesterday. Doh. Precision issues mean we have to extrapolate
7124 from a point in the more recent past than 1970.
7125 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
7127 (gst_clock_adjust_unlocked): Use the right calibration data.
7129 2005-11-18 Edward Hervey <edward@fluendo.com>
7131 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
7132 Also reset the ->current_* values in READY->PAUSED
7134 2005-11-18 Andy Wingo <wingo@pobox.com>
7136 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
7137 Whoops, check the right fd. Also add some debugging.
7138 (gst_net_client_clock_observe_times): Adjust for int64 offset.
7139 (do_linear_regression): Add a crapload of debugging. Subtract off
7140 the minimum values from the input series to discard unneeded bits.
7141 Use only int arithmetic. There is still double arithmetic when
7142 calculating the intercept that needs fixing. Return boolean to
7143 indicate success; FALSE would mean the domain or range is too
7144 great. Still needs fixes.
7146 2005-11-18 Wim Taymans <wim@fluendo.com>
7148 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
7149 For the current position in stream time, we need to subtract
7152 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
7153 Release lock before calling the callback function of async
7156 2005-11-18 Andy Wingo <wingo@pobox.com>
7158 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
7159 Port goes all the way to MAXUINT16.
7161 * gst/net/gstnettimeprovider.c: Make the port range the same as
7162 for the kernel: 0 assigns, otherwise ports are less than
7165 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
7168 * check/net/gstnetclientclock.c (test_functioning): Add the start
7171 2005-11-18 Wim Taymans <wim@fluendo.com>
7173 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
7174 (gst_bin_remove_func), (bin_bus_handler):
7176 Removing a clock provider from a bin, triggers a clock lost message
7177 so that a new clock will be selected.
7178 Adding a clock to a bin triggers a clock provider message.
7179 Make sure we reselect a clock when we received a clock lost message.
7180 Keep a reference to the element that provided the clock.
7182 2005-11-18 Andy Wingo <wingo@pobox.com>
7184 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
7185 the clock initially so it produces values around the base time.
7186 (gst_net_client_clock_class_init): Typo fix.
7187 (gst_net_client_clock_thread): Add note on when the socket gets
7190 2005-11-17 Wim Taymans <wim@fluendo.com>
7192 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
7193 Free remote and local time arrays.
7195 2005-11-17 Wim Taymans <wim@fluendo.com>
7197 * gst/net/gstnetclientclock.c: (do_linear_regression),
7198 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
7199 Fix compilation, uninitialized vars and a forgotten continue.
7201 2005-11-17 Andy Wingo <wingo@pobox.com>
7203 * check/Makefile.am (check_PROGRAMS):
7204 * check/net/gstnetclientclock.c: Add a most minimal test for the
7205 net client clock. More to come later.
7208 * gst/net/Makefile.am: Add netclientclock.
7210 * gst/net/gstnetclientclock.h:
7211 * gst/net/gstnetclientclock.c: New files, implement an untested
7212 GstClock that takes its time from a network time provider.
7213 Implements the algorithm in network-clock.scm.
7215 * tests/network-clock.scm (*window-size*): Rename from
7217 * tests/network-clock.scm (network-time):
7218 * tests/network-clock-utils.scm (q-push): Update callers.
7220 2005-11-17 Wim Taymans <wim@fluendo.com>
7222 * gst/gstbin.c: (gst_bin_provide_clock_func),
7223 (gst_bin_sort_iterator_new):
7224 And unref the child too..
7226 2005-11-17 Wim Taymans <wim@fluendo.com>
7228 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
7229 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
7230 Refactor the sort iterator so it can be used while holding the
7232 Make clock selection select a clock closest to the source.
7234 2005-11-17 Michael Smith <msmith@fluendo.com>
7236 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
7237 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
7239 Anonymous structs are a gcc (and some other compilers) extension, so
7240 don't use them. Since this is only for ABI-compatibility, and our
7241 API/ABI freeze is over in a few days, this whole thing will only
7242 last a few days, so don't bother trying to think up a meaningful
7243 name for the struct.
7245 2005-11-17 Andy Wingo <wingo@pobox.com>
7247 * gst/gstclock.h (GstClock): Add rate and offset properties,
7248 preserving ABI stability. Add rate/offset accessors. Will file bug
7249 for the freeze break.
7251 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
7252 and offset, trying to keep precision and avoiding
7254 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
7255 functions. Make gst_clock_set_time_adjust obsolete.
7256 (gst_clock_set_time_adjust): Note that this function is obsolete.
7259 * gst/base/gstbasetransform.h: Make the ABI-stability hack
7260 greppable by using GST_PADDING-1+1.
7262 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
7264 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
7266 * gst/gstmessage.c: (gst_message_parse_clock_lost):
7267 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
7269 * gst/gstpadtemplate.h:
7270 * gst/gstpluginfeature.h:
7271 Don't use c++ style comments in headers (#321638).
7273 2005-11-16 Andy Wingo <wingo@pobox.com>
7275 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
7278 * check/net/gstnettimeprovider.c: Check to see that the time
7279 provider actually provides times. Works, yo!
7281 2005-11-16 Wim Taymans <wim@fluendo.com>
7283 * check/Makefile.am:
7286 * check/elements/fakesrc.c: (GST_START_TEST):
7287 Set element to NULL before disposing it.
7289 2005-11-16 Andy Wingo <wingo@pobox.com>
7291 * gst/net/Makefile.am:
7293 * gst/net/gstnettimeprovider.c:
7294 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
7295 provider, include it from gstnet.h, and add it to the build.
7297 * gst/net/gstnettimepacket.h:
7298 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
7299 sending and receiving.
7301 2005-11-16 Wim Taymans <wim@fluendo.com>
7303 * check/Makefile.am:
7304 Enable valgrind check.
7306 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
7307 (gst_fake_src_alloc_buffer):
7310 2005-11-16 Wim Taymans <wim@fluendo.com>
7312 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
7313 Call parent finalize too.
7315 2005-11-16 Wim Taymans <wim@fluendo.com>
7317 * check/Makefile.am:
7318 Enable valgrind check that should work fine now.
7320 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
7321 * gst/gstqueue.c: (gst_queue_init):
7322 Fix memleaks in pad allocation.
7324 2005-11-16 Andy Wingo <wingo@pobox.com>
7326 * gst/net/Makefile.am:
7327 * gst/net/gstnet.h: New part of core to hold network elements and
7328 objects. Put in core because it exposes API that applications want
7329 to use. The library is named libgstnet-tempname right now because
7330 of the existing libgstnet in gst-plugins-base. Solution is
7331 probably to rename the one in plugins-base; will file a bug for
7334 * gst/net/gstnettimeprovider.c:
7335 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
7336 get_time call over the network.
7339 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
7341 * check/Makefile.am:
7342 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
7343 get additions shortly.
7345 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
7347 * gst/gstpad.c: (gst_pad_new_from_static_template):
7349 add gst_pad_new_from_static_template functions
7350 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
7351 (gst_check_setup_sink_pad):
7352 * gst/elements/gsttee.c: (gst_tee_init):
7355 2005-11-16 Wim Taymans <wim@fluendo.com>
7357 * gst/gstpad.c: (gst_pad_pause_task):
7358 Removed warning, it's not really an error either.
7360 2005-11-16 Wim Taymans <wim@fluendo.com>
7362 * gst/base/gstbasetransform.c:
7363 (gst_base_transform_prepare_output_buf),
7364 (gst_base_transform_event):
7365 Check if the caps are NULL, this can happen if the element
7366 is shutting down and the pad caps are set to NULL.
7368 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
7370 * gst/elements/gsttee.c: (gst_tee_init):
7371 fix pad template leak in tee
7373 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
7375 * gst/glib-compat.c: (g_value_dup_gst_object):
7376 * gst/glib-compat.h:
7377 * gst/gstpad.c: (gst_pad_set_property):
7378 use gst_object_ref when setting the pad template; this will
7379 trigger the pad template leaks on GLib 2.6 and the slaves
7381 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
7383 * gst/glib-compat.c: (gst_flags_get_first_value):
7384 * gst/glib-compat.h:
7385 * gst/gstregistryxml.c:
7386 remove functions copied from GLib 2.6
7388 2005-11-16 Michael Smith <msmith@fluendo.com>
7391 Don't link against VALGRIND_LIBS. That was always the wrong thing to
7392 do, but only breaks with newer valgrind versions. We're not a
7393 valgrind tool, we have no link-time dependencies on libcoregrind.
7395 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
7397 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
7402 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
7404 * gst/base/gstbasesrc.c: (gst_base_src_init):
7405 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
7406 * gst/gstqueue.c: (gst_queue_init):
7407 * gst/gstregistryxml.c: (load_feature):
7408 Revert all these unrefs, they don't even pass make check !
7410 2005-11-15 Johan Dahlin <johan@gnome.org>
7412 * gst/base/gstbasesrc.c: (gst_base_src_init):
7413 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
7414 * gst/gstqueue.c: (gst_queue_init):
7415 Free pad templates, fixes a couple of leaks.
7417 2005-11-15 Daniel Fischer <dan at f3c dot com>
7419 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
7421 * gst/gstpad.c: (gst_pad_get_property):
7422 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
7423 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
7426 2005-11-15 Wim Taymans <wim@fluendo.com>
7431 2005-11-15 Andy Wingo <wingo@pobox.com>
7433 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
7435 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
7436 using GST_CLOCK_TIME_NONE to disable base time management.
7437 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
7438 time if it was NONE before.
7439 (gst_pipeline_change_state): Only munge the base time if
7440 stream_time != GST_CLOCK_TIME_NONE.
7442 * check/gst/gstpipeline.c (test_base_time): Punt around the
7443 problem of the probe not being called, because that's not the
7444 issue I'm looking at. Add a check that setting stream_time to NONE
7445 disables base time management.
7447 2005-11-15 Wim Taymans <wim@fluendo.com>
7449 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
7450 segment_stop == -1 at startup.
7452 * gst/base/gstbasetransform.c: (gst_base_transform_event),
7453 (gst_base_transform_change_state):
7454 Init segment values at start.
7456 2005-11-15 Wim Taymans <wim@fluendo.com>
7458 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7459 0 segment values are 0 in any format.
7461 * gst/base/gstbasetransform.c: (gst_base_transform_event):
7462 * gst/base/gstbasetransform.h:
7463 Parse newsegment correctly in basetransform
7465 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
7466 Sync to clock using updated segment values.
7468 2005-11-15 Andy Wingo <wingo@pobox.com>
7470 * check/gst/gstpipeline.c (test_base_time): Add check that the
7471 base time and stream time are reset correctly.
7473 2005-11-15 Wim Taymans <wim@fluendo.com>
7475 * docs/design/part-TODO.txt:
7476 Some more TODO items.
7478 2005-11-15 Andy Wingo <wingo@pobox.com>
7480 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
7481 error if the user selected "no clock" as the clocking method.
7483 * check/gst/gstpipeline.c (test_base_time): New test for buffer
7484 timestamps with live capture.
7486 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
7487 is 0 but we are a live source, timestamp the buffers using the
7490 2005-11-14 Stefan Kost <ensonic@users.sf.net>
7492 * docs/gst/gstreamer-sections.txt:
7494 * gst/gstghostpad.c:
7499 2005-11-14 Wim Taymans <wim@fluendo.com>
7502 add suppressions from Wim's Debian machine
7504 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
7507 add suppressions from Andy's AMD64 Ubuntu machine
7509 2005-11-14 Andy Wingo <wingo@pobox.com>
7511 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
7512 STATE_LOCK not necessary. Fixes #311489.
7514 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
7517 * gst/gstindex.c (gst_index_add_object): Note in the docs that
7518 this function is not implemented.
7520 2005-11-14 Julien MOUTTE <julien@moutte.net>
7522 * gst/base/gstbasetransform.c:
7523 (gst_base_transform_prepare_output_buf):
7524 Ref the source pad caps while we need them.
7527 2005-11-11 Wim Taymans <wim@fluendo.com>
7529 * docs/gst/gstreamer-sections.txt:
7530 Added some docs for GstCollectData.
7532 * gst/base/gstadapter.c:
7533 Some small code example fix.
7535 * gst/base/gstcollectpads.c:
7536 * gst/base/gstcollectpads.h:
7539 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
7541 * configure.ac: back to HEAD
7543 === release 0.9.5 ===
7545 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
7548 releasing 0.9.5, "Bike Lunch Day"
7550 2005-11-11 Wim Taymans <wim@fluendo.com>
7552 * gst/gstbuffer.c: (_gst_buffer_copy):
7555 * gst/gstcaps.c: (gst_caps_is_equal):
7557 Make _is_equal fast in the trivial cases.
7559 * gst/gstminiobject.c:
7560 * gst/gstminiobject.h:
7561 More docs. Spifify .h file.
7566 2005-11-11 Wim Taymans <wim@fluendo.com>
7568 * gst/base/gstbasetransform.c:
7569 (gst_base_transform_prepare_output_buf),
7570 (gst_base_transform_handle_buffer):
7572 If we're processing a buffer and need to allocate an output
7573 buffer, we cannot accept a format change. If we did get a
7574 format change, we have to alloc a buffer ourselves of the
7577 2005-11-11 Wim Taymans <wim@fluendo.com>
7579 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
7580 While checking the flag for reentrancy in the gstcaps function
7581 is nice to detect recursive invocations, it also makes it
7582 impossible to call getcaps from multiple threads, which must be
7583 possible. So, checking for recursive calls has to go.
7585 2005-11-11 Michael Smith <msmith@fluendo.com>
7587 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
7588 Don't sync on buffers that fall partially outside our current
7589 segment. Prevents an assertion failure/abort playing some files.
7591 2005-11-10 Andy Wingo <wingo@pobox.com>
7593 * check/gst/gstbin.c (test_message_state_changed_children): Style
7596 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
7597 gst_bus_poll with the signal watch. Ensures that poll and a signal
7598 watch see the same messages.
7600 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
7601 a poll and a watch at the same time get the same messages.
7603 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
7605 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
7606 * gst/gstcaps.c: (gst_caps_intersect):
7607 Don't call gst_caps_do_simplify - it doesn't respect order of caps
7608 and it's not needed.
7610 2005-11-10 Wim Taymans <wim@fluendo.com>
7612 * docs/design/part-TODO.txt:
7615 2005-11-10 Wim Taymans <wim@fluendo.com>
7617 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
7618 * gst/base/gstbasesrc.c: (gst_base_src_wait),
7619 (gst_base_src_do_sync), (gst_base_src_get_range):
7620 Implement clock sync in base class.
7622 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
7624 patch by: Tim-Philipp Müller <tim at centricular dot net>
7626 * gst/gststructure.c: (gst_structure_parse_field),
7627 (gst_structure_from_string):
7628 Forward-port a 0.8 patch to handle escaped spaces in structure string,
7629 so that gst_parse_launch() can deal with spaces in filtered link
7630 caps (fixes #164479)
7631 * check/gst/capslist.h:
7632 * check/gst/gststructure.c: (GST_START_TEST):
7633 add unit tests for this change
7635 2005-11-10 Wim Taymans <wim@fluendo.com>
7637 * docs/gst/gstreamer-sections.txt:
7640 Fix docs, move some STATE macros to private.
7642 2005-11-10 Wim Taymans <wim@fluendo.com>
7644 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
7645 Added check for bug #317341
7649 Some more spiffifying.
7651 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
7652 Call peer linkfunction if we are a source pad. Totally fixes
7656 Update docs, source pads should call the peer linkfunction
7657 so they can atomically perform the pad link.
7659 2005-11-09 Wim Taymans <wim@fluendo.com>
7663 Uber-spiffy-spiffify some more.
7665 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
7667 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
7668 * gst/elements/gstfilesink.c: (gst_file_sink_init):
7669 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
7670 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
7671 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
7672 * gst/gstpad.c: (gst_pad_init):
7673 Use GST_DEBUG_FUNCPTR() more extensively.
7675 2005-11-09 Wim Taymans <wim@fluendo.com>
7677 * gst/gstobject.c: (gst_object_class_init):
7679 Documentation fixes.
7681 2005-11-09 Edward Hervey <edward@fluendo.com>
7683 * gst/gsttypefindfactory.c:
7686 2005-11-09 Edward Hervey <edward@fluendo.com>
7688 * gst/base/gsttypefindhelper.c:
7689 * gst/gsttypefind.c:
7690 * gst/gsttypefind.h:
7693 2005-11-09 Wim Taymans <wim@fluendo.com>
7695 * gst/gstiterator.c:
7702 2005-11-09 Wim Taymans <wim@fluendo.com>
7708 2005-11-09 Wim Taymans <wim@fluendo.com>
7710 * docs/gst/gstreamer-sections.txt:
7711 Moved the message async delivery private lock and cond
7712 to the private section.
7718 2005-11-09 Edward Hervey <edward@fluendo.com>
7720 * docs/gst/gstreamer-sections.txt:
7723 Document GstURIHandler
7725 2005-11-09 Wim Taymans <wim@fluendo.com>
7727 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
7728 (gst_iterator_find_custom):
7729 * gst/gstiterator.h:
7732 2005-11-09 Wim Taymans <wim@fluendo.com>
7735 Document another field.
7737 * gst/gststructure.c:
7738 * gst/gststructure.h:
7741 2005-11-09 Wim Taymans <wim@fluendo.com>
7746 2005-11-09 Wim Taymans <wim@fluendo.com>
7748 * docs/gst/gstreamer-sections.txt:
7749 Added some new macros.
7756 2005-11-09 Wim Taymans <wim@fluendo.com>
7758 * docs/design/part-TODO.txt:
7759 Some more items for the TODO
7765 2005-11-09 Andy Wingo <wingo@pobox.com>
7767 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
7768 to work on something else now tho...
7770 * gst/base/gstadapter.c: More adapter docs.
7772 * gst/elements/gstfilesink.c (gst_file_sink_start)
7773 (gst_file_sink_stop): New functions, replace the state change
7775 (gst_file_sink_class_init): Hook up the start and stop functions.
7776 (gst_file_sink_base_init): Don't set the state change handler any
7777 more. It was a bit ugly too, being set from here...
7778 (gst_file_sink_get_property, gst_file_sink_set_property):
7780 (gst_file_sink_set_location): More robust check that doesn't call
7783 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
7785 * gst/base/gstbasetransform.c: (gst_base_transform_event):
7786 Hold STREAM_LOCK while pushing newsegment or tag events as well.
7788 2005-11-08 Wim Taymans <wim@fluendo.com>
7790 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
7791 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
7792 (gst_base_sink_chain), (gst_base_sink_change_state):
7793 * gst/base/gstbasesink.h:
7794 * gst/base/gstbasesrc.h:
7797 Avoid excessive typechecking in macros.
7799 * gst/gstminiobject.c: (gst_mini_object_get_type),
7800 (gst_mini_object_init), (gst_mini_object_new),
7801 (gst_mini_object_free):
7802 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
7803 (gst_object_finalize):
7804 Remove cruft code, optimize alloc_trace.
7806 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
7808 * docs/faq/gst-uninstalled:
7809 fix up PS1 for systems that try to reset it
7811 2005-11-07 Wim Taymans <wim@fluendo.com>
7813 * gst/base/gstbasesrc.c: (gst_base_src_init),
7814 (gst_base_src_get_range):
7815 Set the segment_end to -1 initially. Fixed typefind.
7817 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
7819 * gst/base/gstadapter.c:
7820 Debug category should be 'adapter', not 'GstAdapter'.
7822 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
7823 (gst_collectpads_class_init), (gst_collectpads_init),
7824 (gst_collectpads_peek), (gst_collectpads_pop),
7825 (gst_collectpads_event), (gst_collectpads_chain):
7826 Add debug category and some debugging output. Use boilerplate
7827 macros. Remove some extraneous words from docs.
7829 2005-11-05 Andy Wingo <wingo@pobox.com>
7831 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
7834 2005-11-04 Stefan Kost <ensonic@users.sf.net>
7836 * docs/gst/gstreamer-sections.txt:
7839 * gst/gstminiobject.h:
7844 2005-11-04 Wim Taymans <wim@fluendo.com>
7846 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
7847 Small update to stop at the configured segment_end
7850 2005-11-04 Stefan Kost <ensonic@users.sf.net>
7852 * gst/gstregistry.c:
7853 * gst/gstregistry.h:
7856 2005-11-04 Edward Hervey <edward@fluendo.com>
7858 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
7859 Check if we are doing a segment seek and have arrived at the
7860 end of that segment.
7862 2005-11-04 Wim Taymans <wim@fluendo.com>
7864 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
7865 Don't leak a mutex unlock in case of an error.
7870 2005-11-04 Wim Taymans <wim@fluendo.com>
7872 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
7874 Get the context to wake up only once.
7876 2005-11-03 Wim Taymans <wim@fluendo.com>
7878 * check/states/sinks.c: (GST_START_TEST):
7879 Uncomment fixed check.
7881 * docs/design/part-TODO.txt:
7884 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7885 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
7886 (gst_base_sink_get_position):
7887 If we are going to PLAYING, post the right pending state
7888 when we post the intermediate paused message.
7890 * gst/gstelement.c: (gst_element_continue_state),
7891 (gst_element_set_state_func), (gst_element_change_state):
7892 Don't post state changes that were between the same state
7895 2005-11-03 Stefan Kost <ensonic@users.sf.net>
7897 * docs/gst/gstreamer-sections.txt:
7900 * gst/gstminiobject.h:
7903 more docs and doc style fixes
7905 2005-11-03 Stefan Kost <ensonic@users.sf.net>
7907 * docs/gst/gstreamer-sections.txt:
7909 * gst/gstminiobject.c:
7912 2005-11-03 Andy Wingo <wingo@pobox.com>
7914 * check/states/sinks.c (test_livesrc_sink): Add checks that the
7915 state-changed messages actually have the right order and the right
7918 2005-11-03 Wim Taymans <wim@fluendo.com>
7920 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
7921 Added some more checks. Specifically the case where NO_PREROLL
7922 elements are in the pipeline.
7924 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7925 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
7926 (gst_base_sink_get_position):
7927 Post READY->PAUSED state change messages too.
7928 Fix bug where VOID was posted as pending state...
7930 * gst/gstbin.c: (gst_bin_recalc_state):
7931 use _element_continue_state() to continue the state change.
7933 * gst/gstelement.c: (gst_element_continue_state),
7934 (gst_element_commit_state), (gst_element_set_state_func),
7935 (gst_element_change_state), (gst_element_change_state_func):
7936 Lots of state change cleanups, assign the STATE_RETURN in
7937 a new continue_state() function that also propagates the
7938 last return value from a state change to the app.
7939 Update some debug statements with proper category.
7941 2005-11-03 Wim Taymans <wim@fluendo.com>
7943 * docs/design/part-events.txt:
7944 * docs/design/part-gstpipeline.txt:
7945 * docs/design/part-messages.txt:
7946 * docs/design/part-overview.txt:
7947 * docs/design/part-seeking.txt:
7948 * docs/design/part-states.txt:
7949 * docs/design/part-trickmodes.txt:
7950 * docs/manual/advanced-position.xml:
7954 People think !! is ugly, this looks better.
7956 * gst/gstpad.c: (gst_pad_set_blocked_async):
7957 Remove !! since it's fixed elsewhere now.
7959 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
7961 * gst/gstminiobject.h:
7963 Add !! to _FLAG_IS_SET macros to make the result boolean.
7965 2005-11-03 Edward Hervey <edward@fluendo.com>
7967 * gst/gstpad.c: (gst_pad_set_blocked_async):
7968 comparing a flag and a gboolean rarely returns coherent results...
7969 Added two characters (!!) to make that work correctly.
7971 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
7973 * gst/gstbus.c: (gst_bus_class_init):
7976 * gst/gstqueue.c: (gst_queue_loop):
7977 Don't assume a miniobject that isn't a buffer is an
7978 event (it could be that there is a refcounting
7979 problem somewhere and the pointer is stale and
7980 refers to an already destroyed miniobject).
7982 2005-11-03 Julien MOUTTE <julien@moutte.net>
7984 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
7986 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
7988 * docs/manual/advanced-position.xml:
7989 Update seek example and explanations to current 0.9 API.
7991 * gst/elements/gsttypefindelement.c:
7992 (gst_type_find_element_activate):
7993 Remove FIXME comment now that the found caps
7996 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
7998 * gst/gstregistryxml.c: (load_feature):
7999 Add another GST_STR_NULL instance
8001 2005-11-02 Edward Hervey <edward@fluendo.com>
8003 * gst/gstpad.c: (handle_pad_block):
8004 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
8006 2005-11-02 Wim Taymans <wim@fluendo.com>
8011 * gst/gstelement.c: (gst_element_commit_state):
8012 Remove unused value.
8014 * gst/gstiterator.c:
8015 Mention that the returned element is reffed in the docs.
8017 2005-11-02 Wim Taymans <wim@fluendo.com>
8019 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
8020 (gst_pad_push), (gst_pad_push_event):
8021 Unlock blocked pads when they are flushed.
8023 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
8026 * docs/gst/gstreamer-sections.txt:
8029 * gst/gstregistry.c: (gst_registry_scan_path_level):
8030 fix for a nasty little missed situation where an installed plug-in
8031 which was in the cache did not get overridden by an uninstalled one
8032 which was earlier in the plugin path because the newly created plugin
8033 for the uninstalled one (not in the registry) didn't get its
8034 ->registered set to TRUE
8036 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
8038 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
8039 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
8040 (gst_collectpads_is_active), (gst_collectpads_collect),
8041 (gst_collectpads_collect_range), (gst_collectpads_start),
8042 (gst_collectpads_stop), (gst_collectpads_peek),
8043 (gst_collectpads_pop), (gst_collectpads_available),
8044 (gst_collectpads_read), (gst_collectpads_flush):
8045 Guard public API with assertions.
8048 Fix docs for gst_pad_set_link_function().
8050 2005-11-02 Johan Dahlin <johan@gnome.org>
8052 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
8053 Unref found_caps after we used it.
8055 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
8057 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
8058 Don't try to ref NULL.
8060 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
8062 * win32/common/config.h.in:
8063 provide a GST_FUNCTION that just gives a string for now
8065 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
8067 * win32/common/gstenumtypes.c: (register_gst_object_flags),
8068 (gst_object_flags_get_type), (register_gst_bin_flags),
8069 (gst_bin_flags_get_type), (register_gst_buffer_flag),
8070 (gst_buffer_flag_get_type), (register_gst_bus_flags),
8071 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
8072 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
8073 (gst_clock_return_get_type), (register_gst_clock_entry_type),
8074 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
8075 (gst_clock_flags_get_type), (register_gst_state),
8076 (gst_state_get_type), (register_gst_state_change_return),
8077 (gst_state_change_return_get_type), (register_gst_state_change),
8078 (gst_state_change_get_type), (register_gst_element_flags),
8079 (gst_element_flags_get_type), (register_gst_core_error),
8080 (gst_core_error_get_type), (register_gst_library_error),
8081 (gst_library_error_get_type), (register_gst_resource_error),
8082 (gst_resource_error_get_type), (register_gst_stream_error),
8083 (gst_stream_error_get_type), (register_gst_event_type),
8084 (gst_event_type_get_type), (register_gst_seek_type),
8085 (gst_seek_type_get_type), (register_gst_seek_flags),
8086 (gst_seek_flags_get_type), (register_gst_format),
8087 (gst_format_get_type), (register_gst_index_certainty),
8088 (gst_index_certainty_get_type), (register_gst_index_entry_type),
8089 (gst_index_entry_type_get_type),
8090 (register_gst_index_lookup_method),
8091 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
8092 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
8093 (gst_index_resolver_method_get_type), (register_gst_index_flags),
8094 (gst_index_flags_get_type), (register_gst_debug_level),
8095 (gst_debug_level_get_type), (register_gst_debug_color_flags),
8096 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
8097 (gst_iterator_result_get_type), (register_gst_iterator_item),
8098 (gst_iterator_item_get_type), (register_gst_message_type),
8099 (gst_message_type_get_type), (register_gst_mini_object_flags),
8100 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
8101 (gst_pad_link_return_get_type), (register_gst_flow_return),
8102 (gst_flow_return_get_type), (register_gst_activate_mode),
8103 (gst_activate_mode_get_type), (register_gst_pad_direction),
8104 (gst_pad_direction_get_type), (register_gst_pad_flags),
8105 (gst_pad_flags_get_type), (register_gst_pad_presence),
8106 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
8107 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
8108 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
8109 (gst_plugin_error_get_type), (register_gst_plugin_flags),
8110 (gst_plugin_flags_get_type), (register_gst_rank),
8111 (gst_rank_get_type), (register_gst_query_type),
8112 (gst_query_type_get_type), (register_gst_tag_merge_mode),
8113 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
8114 (gst_tag_flag_get_type), (register_gst_task_state),
8115 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
8116 (gst_alloc_trace_flags_get_type),
8117 (register_gst_type_find_probability),
8118 (gst_type_find_probability_get_type), (register_gst_uri_type),
8119 (gst_uri_type_get_type), (register_gst_parse_error),
8120 (gst_parse_error_get_type):
8121 * win32/common/gstversion.h:
8124 2005-11-01 Luca Ognibene <luogni@tin.it>
8127 fix docs. popt is dead, long live GOption.
8129 2005-10-31 Wim Taymans <wim@fluendo.com>
8134 2005-10-31 Andy Wingo <wingo@pobox.com>
8138 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
8140 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
8141 need to serialize property notifications on GLib 2.8. GLib 2.6 has
8142 the possibility of deadlocks here if code calling notify() or
8143 set() has a lock that can be taken in another notify handler (ABBA
8144 with class lock and e.g. python GIL state lock).
8146 2005-10-28 Julien MOUTTE <julien@moutte.net>
8148 * gst/gstbus.c: Doc updates.
8150 2005-10-28 Wim Taymans <wim@fluendo.com>
8152 * docs/design/part-TODO.txt:
8153 * gst/gstiterator.c:
8154 * gst/gstsystemclock.c:
8155 * gst/gstsystemclock.h:
8158 2005-10-28 Edward Hervey <edward@fluendo.com>
8160 * docs/gst/gstreamer-docs.sgml:
8161 * docs/gst/gstreamer-sections.txt:
8162 the GstURIType documentation page is private, it only defines GstURIType
8163 which should be defined in the GstURIHandler page
8165 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
8167 * gst/gstbin.c: (gst_bin_class_init):
8170 Documentation updates.
8172 2005-10-28 Wim Taymans <wim@fluendo.com>
8174 * docs/gst/gstreamer-sections.txt:
8177 Documented the clocks.
8179 2005-10-28 Stefan Kost <ensonic@users.sf.net>
8181 * docs/gst/gstreamer-sections.txt:
8182 move some macros to private sections
8183 * gst/gstminiobject.c:
8184 * gst/gstminiobject.h:
8185 add descriptions provided by ds and some more
8187 mark macro as to be removed
8189 2005-10-28 Wim Taymans <wim@fluendo.com>
8191 * docs/design/part-TODO.txt:
8192 Add an item to TODO.
8194 * gst/gstiterator.c: (gst_iterator_fold),
8195 (gst_iterator_find_custom):
8196 * gst/gstiterator.h:
8199 2005-10-28 Wim Taymans <wim@fluendo.com>
8201 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
8202 (gst_base_transform_init):
8205 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
8206 An EOS event marks the queue as completely filled.
8208 2005-10-27 Wim Taymans <wim@fluendo.com>
8210 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8211 (gst_base_sink_do_sync), (gst_base_sink_get_position):
8212 Some more debugging.
8214 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
8215 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
8216 (gst_base_transform_event), (gst_base_transform_getrange),
8217 (gst_base_transform_chain):
8218 * gst/base/gstbasetransform.h:
8220 Protect transform and concurrent buffer alloc with a new lock.
8221 Try not to break ABI/API.
8223 2005-10-27 Wim Taymans <wim@fluendo.com>
8225 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8226 (gst_base_src_init), (gst_base_src_query),
8227 (gst_base_src_default_newsegment),
8228 (gst_base_src_configure_segment), (gst_base_src_do_seek),
8229 (gst_base_src_send_event), (gst_base_src_event_handler),
8230 (gst_base_src_pad_get_range), (gst_base_src_loop),
8231 (gst_base_src_unlock), (gst_base_src_default_negotiate),
8232 (gst_base_src_start), (gst_base_src_deactivate),
8233 (gst_base_src_activate_push), (gst_base_src_change_state):
8234 Move some stuff around and cleanup things.
8236 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
8238 * gst/base/gstbasesrc.c: (gst_base_src_query):
8239 Add missing break statements.
8241 2005-10-27 Wim Taymans <wim@fluendo.com>
8243 * check/gst/gstbin.c: (GST_START_TEST):
8244 An extra refcount is taken in basesrc.
8246 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
8247 (gst_base_src_get_range), (gst_base_src_pad_get_range),
8248 (gst_base_src_loop):
8249 Small cleanups, check for flushing after being unlocked from the
8250 LIVE_LOCK. take refcounts correctly (not yet everywhere).
8251 Don't send out EOS when going to READY.
8253 2005-10-27 Wim Taymans <wim@fluendo.com>
8255 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8256 (gst_base_sink_get_position):
8259 * gst/gstbin.c: (message_check), (bin_replace_message),
8260 (bin_remove_messages), (is_eos), (gst_bin_add_func),
8261 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
8262 (bin_query_duration_init), (bin_query_duration_fold),
8263 (bin_query_duration_done), (bin_query_generic_fold),
8265 * tools/gst-launch.c: (main):
8268 2005-10-26 Stefan Kost <ensonic@users.sf.net>
8270 * examples/controller/audio-example.c: (main):
8271 * examples/queue/queue.c: (event_loop):
8272 * gst/base/gstbasetransform.h:
8273 * gst/gstelement.c: (gst_element_send_event):
8275 * gst/gstpad.c: (gst_pad_send_event):
8278 changing log priority in error situations
8280 2005-10-25 Wim Taymans <wim@fluendo.com>
8282 * gst/gstbin.c: (message_check), (bin_replace_message),
8283 (bin_remove_messages), (is_eos), (gst_bin_add_func),
8284 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
8285 (bin_query_duration_init), (bin_query_duration_fold),
8286 (bin_query_duration_done), (bin_query_generic_fold),
8288 Some doc and debug updates.
8289 Cache previously requested query DURATION for speed. invalidate
8290 cached duration if element posts a DURATION message.
8292 2005-10-25 Wim Taymans <wim@fluendo.com>
8294 * docs/design/part-TODO.txt:
8297 * gst/gstbin.c: (message_check), (bin_replace_message),
8298 (bin_remove_messages), (is_eos), (gst_bin_add_func),
8299 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
8300 (bin_query_duration_init), (bin_query_duration_fold),
8301 (bin_query_duration_done), (bin_query_generic_fold),
8303 Handle SEGMENT_START/DONE messages correctly.
8304 More evolved query algorithm that handles duration queries
8307 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
8308 (gst_element_get_state_func), (gst_element_abort_state),
8309 (gst_element_commit_state), (gst_element_lost_state):
8310 Some more debugging.
8315 2005-10-25 Wim Taymans <wim@fluendo.com>
8317 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
8318 Don't use invalid stream_time.
8320 * gst/gstevent.c: (gst_event_new_newsegment):
8321 stream_time in newsegment cannot be undefined.
8323 2005-10-24 Wim Taymans <wim@fluendo.com>
8328 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8330 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
8332 2005-10-24 Stefan Kost <ensonic@users.sf.net>
8334 * docs/libs/tmpl/gstdparam.sgml:
8335 * docs/libs/tmpl/gstdplinint.sgml:
8336 * docs/libs/tmpl/gstdpman.sgml:
8337 * docs/libs/tmpl/gstdpsmooth.sgml:
8338 * docs/libs/tmpl/gstunitconvert.sgml:
8341 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
8346 === release 0.9.4 ===
8348 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
8351 releasing 0.9.4, "Tyrannosaurus Rex"
8353 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
8355 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
8356 (gst_file_sink_get_current_offset):
8357 Use fseeko() and ftello() if available. When falling back on
8358 lseek() to get the current offset, fflush() first to make sure
8359 everything is up-to-date and we get the right offset.
8361 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
8363 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8364 * gst/base/gstbasesrc.c: (gst_base_src_loop):
8365 * gst/gsterror.c: (_gst_stream_errors_init):
8367 * gst/gstqueue.c: (gst_queue_loop):
8369 remove prematurely added error category and clean up the instances
8371 2005-10-21 Wim Taymans <wim@fluendo.com>
8373 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8374 (gst_base_sink_get_position), (gst_base_sink_query),
8375 (gst_base_sink_change_state):
8376 Simply set the right flag when going to playing, that's all
8377 we need to do instead of calling a function inside the object
8378 lock (that could take the lock as well and deadlock)
8380 2005-10-21 Wim Taymans <wim@fluendo.com>
8382 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
8383 (gst_base_src_loop):
8384 Don't warn, the peer element knows what to do best when
8385 the seek failed, it might try something else.
8387 2005-10-21 Wim Taymans <wim@fluendo.com>
8389 * gst/base/gstbasesrc.c: (gst_base_src_init),
8390 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
8393 2005-10-21 Wim Taymans <wim@fluendo.com>
8395 * docs/design/part-segments.txt:
8398 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
8399 Correctly set caps, even on the subbufer.
8401 2005-10-21 Wim Taymans <wim@fluendo.com>
8403 * docs/gst/gstreamer-docs.sgml:
8404 * docs/gst/gstreamer-sections.txt:
8411 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
8415 And 2% more doc coverage.
8417 2005-10-21 Andy Wingo <wingo@pobox.com>
8419 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
8422 2005-10-20 Wim Taymans <wim@fluendo.com>
8424 * gst/gsterror.c: (gst_error_get_message):
8427 * gst/gststructure.c:
8432 2005-10-20 Wim Taymans <wim@fluendo.com>
8437 Another 1% more coverage.
8439 2005-10-20 Wim Taymans <wim@fluendo.com>
8441 * docs/gst/gstreamer-sections.txt:
8442 * gst/gstelement.c: (gst_element_get_state_func),
8443 (gst_element_abort_state), (gst_element_commit_state),
8444 (gst_element_lost_state):
8446 * gst/gstquery.c: (gst_query_set_position),
8447 (gst_query_parse_position), (gst_query_set_duration),
8448 (gst_query_parse_duration), (gst_query_new_convert):
8450 Yay! 1% more docs coverage.
8452 2005-10-20 Wim Taymans <wim@fluendo.com>
8455 * gst/gstquery.c: (gst_query_set_position),
8456 (gst_query_parse_position), (gst_query_set_duration),
8457 (gst_query_parse_duration), (gst_query_new_convert):
8459 * gst/gstutils.c: (gst_element_query_convert):
8461 Docs and consistency fixes.
8463 2005-10-20 Wim Taymans <wim@fluendo.com>
8469 2005-10-20 Wim Taymans <wim@fluendo.com>
8471 * gst/gstbin.c: (message_check), (bin_replace_message),
8472 (bin_remove_messages), (is_eos), (gst_bin_add_func),
8473 (update_degree), (gst_bin_sort_iterator_next),
8474 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
8475 Reworked the message handling a bit, cache the messages instead of
8476 only the senders. alows us to do more in the future.
8478 2005-10-20 Wim Taymans <wim@fluendo.com>
8480 * docs/design/part-TODO.txt:
8483 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
8484 (gst_base_sink_query):
8485 Don't use clock time to report position when in EOS.
8487 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
8489 * tools/gst-inspect.c: (print_interfaces),
8490 (print_element_properties_info), (print_element_info):
8491 Fix interface output with gst-inspect -a; don't print
8492 newlines after double/float properties.
8494 2005-10-20 Wim Taymans <wim@fluendo.com>
8496 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
8497 (gst_base_sink_query):
8498 Speed up current position calculation.
8500 * gst/base/gstbasesrc.c: (gst_base_src_query),
8501 (gst_base_src_default_newsegment):
8502 Correctly set stream position in newsegment.
8504 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
8505 (update_degree), (gst_bin_sort_iterator_next),
8506 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
8507 * gst/gstmessage.c: (gst_message_new_custom):
8508 Clean up debugging info
8510 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
8511 (gst_queue_loop), (gst_queue_handle_src_query):
8514 2005-10-19 Wim Taymans <wim@fluendo.com>
8516 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8517 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
8518 Fix query handling again.
8520 2005-10-19 Wim Taymans <wim@fluendo.com>
8522 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8523 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
8524 * gst/base/gstbasesrc.c: (gst_base_src_query):
8525 * gst/elements/gstfilesink.c: (gst_file_sink_query):
8526 * gst/elements/gsttypefindelement.c:
8527 (gst_type_find_handle_src_query), (find_element_get_length),
8528 (gst_type_find_element_activate):
8531 * gst/gstquery.c: (gst_query_new_position),
8532 (gst_query_set_position), (gst_query_parse_position),
8533 (gst_query_new_duration), (gst_query_set_duration),
8534 (gst_query_parse_duration), (gst_query_set_segment),
8535 (gst_query_parse_segment):
8537 Bundling query position/duration is not a good idea since duration
8538 does not change much and we don't want to recalculate it for every
8539 position query, so they are separated again..
8540 Base value in segment query is not needed.
8542 * gst/gstqueue.c: (gst_queue_handle_src_query):
8543 * gst/gstutils.c: (gst_element_query_position),
8544 (gst_element_query_duration), (gst_pad_query_position),
8545 (gst_pad_query_duration):
8547 Updates for query API change.
8548 Added some docs here and there.
8550 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
8552 * check/gst/gstbin.c: (GST_START_TEST):
8553 * check/gst/gstghostpad.c: (GST_START_TEST):
8554 * check/pipelines/cleanup.c: (GST_START_TEST):
8555 wait on thread to die so we can check refcount correctly
8557 2005-10-18 Wim Taymans <wim@fluendo.com>
8559 * check/pipelines/stress.c: (GST_START_TEST):
8560 Make check a little more time consuming.
8562 2005-10-18 Wim Taymans <wim@fluendo.com>
8564 * check/Makefile.am:
8565 * check/pipelines/stress.c: (GST_START_TEST),
8566 (simple_launch_lines_suite), (main):
8567 Small state change torture test.
8569 * docs/design/part-states.txt:
8570 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8571 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
8572 (gst_base_sink_change_state):
8573 Never take state lock from streaming thread, clean up ugly
8574 hacks. Unfortunatly core does not yet support nice ways to
8577 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
8579 Start state recalc if a STATE_DIRTY message is posted, but only
8580 on the toplevel bin.
8582 * gst/gstelement.c: (gst_element_sync_state_with_parent),
8583 (gst_element_get_state_func), (gst_element_abort_state),
8584 (gst_element_commit_state), (gst_element_lost_state),
8585 (gst_element_set_state_func), (gst_element_change_state):
8587 State variables are now protected with the LOCK, the state
8588 lock is only used to serialize _set_state().
8590 2005-10-18 Wim Taymans <wim@fluendo.com>
8592 * check/gst/gstbin.c: (GST_START_TEST):
8593 * check/gst/gstmessage.c: (GST_START_TEST):
8594 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
8595 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
8597 * gst/gstelement.c: (gst_element_abort_state),
8598 (gst_element_commit_state), (gst_element_lost_state):
8599 * gst/gstmessage.c: (gst_message_new_state_changed),
8600 (gst_message_new_state_dirty), (gst_message_new_segment_start),
8601 (gst_message_new_segment_done), (gst_message_new_duration),
8602 (gst_message_parse_state_changed),
8603 (gst_message_parse_segment_start),
8604 (gst_message_parse_segment_done), (gst_message_parse_duration):
8606 * tools/gst-launch.c: (event_loop):
8607 Seriously, this is better than a previous commit as we only need
8608 to notify the fact that an element changed state in a streaming
8609 thread, marking the state of the parents dirty, hence the
8610 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
8613 2005-10-18 Wim Taymans <wim@fluendo.com>
8615 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8616 (gst_bin_recalc_func):
8617 * gst/gstelement.c: (gst_element_set_clock),
8618 (gst_element_abort_state), (gst_element_lost_state):
8619 Cleanups, prepare for state change fixes.
8621 2005-10-18 Wim Taymans <wim@fluendo.com>
8624 * gst/gstelement.c: (gst_element_class_init),
8625 (gst_element_set_state), (gst_element_set_state_func):
8627 Pending ABI changes.
8628 GThreadPool in GstBinClass to monitor async state changes.
8629 state_cookie in GstElement to detect concurrent gst/set state.
8630 set_state is now virtual too in case a very complicated element
8631 has to be constructed.
8633 2005-10-18 Wim Taymans <wim@fluendo.com>
8635 * check/gst/gstbin.c: (GST_START_TEST):
8636 * check/gst/gstmessage.c: (GST_START_TEST):
8637 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
8638 * gst/gstbin.c: (bin_bus_handler):
8639 * gst/gstelement.c: (gst_element_commit_state),
8640 (gst_element_lost_state):
8641 * gst/gstmessage.c: (gst_message_new_state_changed),
8642 (gst_message_new_segment_start), (gst_message_new_segment_done),
8643 (gst_message_new_duration), (gst_message_parse_state_changed),
8644 (gst_message_parse_segment_start),
8645 (gst_message_parse_segment_done), (gst_message_parse_duration):
8647 * tools/gst-launch.c: (event_loop):
8648 Make messages future proof.
8649 state-change gets a flag if it was a message comming from the
8651 segment-start/stop can also be specified in other formats.
8652 A message to notify an app that a pipeline changed playback
8654 Also fix a GstMessage leak in -launch
8656 2005-10-18 Andy Wingo <wingo@pobox.com>
8658 * gst/gstelement.c (gst_element_dispose): More helpful message.
8660 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
8662 reviewed by: <delete if not using a buddy>
8664 * common/gtk-doc.mak:
8666 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
8668 * gst/gstregistry.c: (gst_registry_scan_path_level):
8669 unref a plug-in we get that was already initialized
8671 2005-10-18 Stefan Kost <ensonic@users.sf.net>
8673 * docs/gst/gstreamer-sections.txt:
8674 * docs/libs/gstreamer-libs-sections.txt:
8679 2005-10-17 Andy Wingo <wingo@pobox.com>
8681 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
8684 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
8686 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
8688 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
8689 (gst_element_get_state_func): Better debug message.
8690 (gst_element_commit_state): s/INFO/DEBUG/.
8691 (gst_element_lost_state, gst_element_change_state):
8693 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
8694 (gst_message_new_custom): s/INFO/LOG/.
8696 2005-10-17 Michael Smith <msmith@fluendo.com>
8698 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
8699 Check if end time is valid using end time, not start time.
8701 2005-10-17 Stefan Kost <ensonic@users.sf.net>
8703 * check/gst-libs/controller.c: (GST_START_TEST),
8704 (gst_controller_suite):
8705 * libs/gst/controller/gstcontroller.c:
8706 (gst_controlled_property_set_interpolation_mode):
8707 * libs/gst/controller/gstcontroller.h:
8708 * libs/gst/controller/gstinterpolation.c:
8709 * testsuite/controller/.cvsignore:
8710 * testsuite/controller/Makefile.am:
8711 * testsuite/controller/interpolator.c:
8712 merge controller testsuites
8714 remove mem-chunk from docs
8716 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
8718 * gst/gstmemchunk.c:
8719 * gst/gstmemchunk.h:
8720 * gst/gsttrashstack.c:
8721 * gst/gsttrashstack.h:
8722 out. get out. you're fired. to the Attic !
8724 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
8726 * gst/gstcaps.c: (gst_caps_intersect):
8727 fix signedness issues in a (hopefully) correct way
8728 * gst/gstelement.c: (gst_element_pads_activate):
8730 * gst/gstobject.c: (gst_object_set_parent):
8733 2005-10-17 Julien MOUTTE <julien@moutte.net>
8735 * gst/gstvalue.h: Fix prototypes.
8737 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
8739 * docs/gst/gstreamer-sections.txt:
8740 * gst/gst.c: (gst_version_string):
8742 * gst/gstversion.h.in:
8743 * win32/common/libgstreamer.def:
8744 add gst_version_string ()
8746 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
8750 * gst/gst.c: (init_post):
8751 * win32/common/config.h.in:
8753 * gst/gstcaps.c: (gst_caps_intersect):
8754 use gint64, the range could be bigger than a guint
8756 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
8759 document potential problem in 2038
8761 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
8763 * gst/gstcaps.c: (gst_caps_intersect):
8764 Fix guint j diving under 0
8766 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
8769 * win32/common/config.h:
8770 * win32/common/config.h.in:
8771 check for process.h, declares getpid() on Windows
8773 include process.h if we have it
8774 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
8775 * gst/gstmemchunk.h:
8776 fix signedness issues
8777 * win32/common/libgstreamer.def:
8780 2005-10-16 Julien MOUTTE <julien@moutte.net>
8782 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
8783 fix. Because of unsigned ints, caps intersection was going nuts and
8784 trying to access structures with G_MAXUINT index. That fixes
8785 videotestsrc ! ffmpegcolorspace ! fakesink
8786 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
8789 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
8792 use the gettext macro
8793 * gst/elements/gstelements.c:
8795 * gst/indexers/gstindexers.c:
8796 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
8797 * win32/common/config.h:
8799 * win32/common/config.h.in:
8800 add the template to generate config.h
8801 * win32/common/gstenumtypes.c:
8802 * win32/common/gstversion.h:
8805 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
8807 * gst/gst.c: (gst_version):
8808 * gst/gstversion.h.in:
8811 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
8814 Oops, add missing closing bracket.
8816 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
8819 use common m4's for argument checking
8821 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
8823 * docs/gst/gstreamer-sections.txt:
8825 Add GST_EVENT_TYPE_NAME() macro.
8827 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
8830 * gst/gstpluginfeature.c:
8832 privatize more symbols
8834 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
8837 add srcdir, builddir includes to GST_ALL_CFLAGS, since
8838 everything that uses GStreamer API should have the includes
8840 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
8842 * docs/gst/gstreamer-sections.txt:
8843 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
8845 give each value a _get_type, removes the DATA exports
8847 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
8851 remove _gst_registry_auto_load, not used anymore
8852 * gst/gstbin.c: (gst_bin_get_type):
8854 * gst/gstelement.c: (gst_element_get_type):
8856 * gst/gstobject.c: (gst_object_get_type):
8858 * gst/gstpad.c: (gst_pad_get_type):
8860 make _get_type functions similar, fixes data export from library
8862 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
8865 correctly make conditionals
8866 * gst/elements/Makefile.am:
8867 * gst/elements/gstelements.c:
8868 fix typo causing fdsrc not to build
8870 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
8872 * testsuite/Makefile.am:
8873 * testsuite/bytestream/.cvsignore:
8874 * testsuite/bytestream/Makefile.am:
8875 * testsuite/bytestream/filepadsink.c:
8876 * testsuite/bytestream/gstbstest.c:
8877 * testsuite/bytestream/test1.c:
8878 * testsuite/bytestream/testfile1:
8879 * testsuite/caps/normalisation.c:
8880 * testsuite/caps/random.c: (main):
8881 * testsuite/cleanup/.cvsignore:
8882 * testsuite/cleanup/Makefile.am:
8883 * testsuite/cleanup/cleanup1.c:
8884 * testsuite/cleanup/cleanup2.c:
8885 * testsuite/cleanup/cleanup3.c:
8886 * testsuite/cleanup/cleanup4.c:
8887 * testsuite/cleanup/cleanup5.c:
8888 * testsuite/controller/interpolator.c:
8889 * testsuite/debug/printf_extension.c: (main):
8890 * testsuite/elements/tee.c:
8891 * testsuite/negotiation/.cvsignore:
8892 * testsuite/negotiation/Makefile.am:
8893 * testsuite/negotiation/pad_link.c:
8894 * testsuite/pad/Makefile.am:
8895 * testsuite/pad/chainnopull.c:
8896 * testsuite/pad/getnopush.c:
8897 * testsuite/pad/link.c:
8898 * testsuite/refcounting/sched.c: (create_pipeline):
8899 * testsuite/registry/Makefile.am:
8900 * testsuite/registry/gst-print-formats.c:
8901 * testsuite/schedulers/.cvsignore:
8902 * testsuite/schedulers/142183-2.c:
8903 * testsuite/schedulers/142183.c:
8904 * testsuite/schedulers/143777-2.c:
8905 * testsuite/schedulers/143777.c:
8906 * testsuite/schedulers/147713.c:
8907 * testsuite/schedulers/147819.c:
8908 * testsuite/schedulers/147894-2.c:
8909 * testsuite/schedulers/147894.c:
8910 * testsuite/schedulers/Makefile.am:
8911 * testsuite/schedulers/group_link.c:
8912 * testsuite/schedulers/queue_link.c:
8913 * testsuite/schedulers/relink.c:
8914 * testsuite/schedulers/unlink.c:
8915 * testsuite/schedulers/unref.c:
8916 * testsuite/schedulers/useless_iteration.c:
8917 * testsuite/states/bin.c:
8918 clean out/remove some stuff from the testsuite directories
8920 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
8923 check for some headers
8924 * gst/elements/Makefile.am:
8925 * gst/elements/gstelements.c:
8926 don't compile fdsrc without sys/socket.h
8927 * gst/indexers/Makefile.am:
8928 * gst/indexers/gstindexers.c: (plugin_init):
8929 don't compile fileindex without mmap
8931 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
8938 * check/Makefile.am:
8939 * docs/gst/Makefile.am:
8940 * examples/helloworld/Makefile.am:
8942 * gst/base/Makefile.am:
8943 * gst/check/Makefile.am:
8944 * gst/elements/Makefile.am:
8945 * gst/indexers/Makefile.am:
8946 * gst/parse/Makefile.am:
8947 * libs/gst/controller/Makefile.am:
8948 * libs/gst/dataprotocol/Makefile.am:
8949 * examples/helloworld/helloworld.c: (event_loop):
8950 compile fixes, though it's not being compiled currently
8952 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
8954 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
8955 Add some simple tests for the new taglist date API.
8957 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
8959 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
8960 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
8961 Beautify 'last-message' output: print 'none' for buffer timestamps
8962 and durations if none is set; improve alignment with next messages.
8964 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
8966 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
8967 * gst/gstpluginfeature.h:
8968 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
8969 * gst/gstregistry.h:
8970 * docs/gst/gstreamer-sections.txt:
8971 Add new API to check plugin feature version requirements.
8973 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
8974 Some basic tests for the above.
8976 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
8978 * gst/gststructure.c: (gst_structure_to_string):
8979 guard against NULL printf - happens when for example
8980 a message structure with GstClock gets serialized
8982 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
8984 * gst/base/gstcollectpads.c: (gst_collectpads_event):
8985 Fix presumable copy'n'pasto.
8987 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
8989 * gst/elements/gstfakesrc.h:
8990 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
8991 * gst/elements/gsttypefindelement.c:
8993 * gst/elements/gstfilesink.c: (gst_file_sink_render):
8994 I wonder if this could actually write +2GB files before
8996 2005-10-13 Andy Wingo <wingo@pobox.com>
8998 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
8999 Fix Timmeke Waymans bug.
9000 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
9001 string of the proper length to gst_caps_from_string. There's a
9002 potential for, before this fix, that this could cause someone
9003 connecting over the network to cause a segfault if the payload is
9006 2005-10-13 Stefan Kost <ensonic@users.sf.net>
9008 * docs/design/draft-push-pull.txt:
9009 * docs/design/part-overview.txt:
9010 * docs/random/TODO-pre-0.9:
9011 * docs/random/old/ChangeLog.gstreamer:
9012 * gst/base/gstpushsrc.c:
9016 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
9018 * gst/glib-compat.c: (gst_flags_get_first_value):
9019 * gst/glib-compat.h:
9020 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
9021 (gst_value_compare_double), (gst_value_serialize_flags):
9022 GLib 2.6 g_flags_get_first_value has a bug that triggers an
9025 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
9027 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9028 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
9030 * tools/gst-launch.c: (event_loop):
9031 print out clock nicely
9033 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
9035 * docs/gst/gstreamer-sections.txt:
9037 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
9038 (gst_tag_list_get_date_index):
9039 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
9040 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
9042 2005-10-13 Julien MOUTTE <julien@moutte.net>
9044 * gst/base/gstcollectpads.c: (gst_collectpads_event),
9045 (gst_collectpads_chain):
9046 * gst/base/gstcollectpads.h: Handle newsegment and store informations
9049 2005-10-13 Stefan Kost <ensonic@users.sf.net>
9051 * docs/gst/gstreamer-sections.txt:
9054 * tools/gst-inspect.c: (main):
9055 * tools/gst-launch.c: (main):
9056 * tools/gst-run.c: (main):
9057 * tools/gst-xmlinspect.c: (main):
9058 fix GOption context leaks
9061 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
9065 * win32/common/config.h:
9067 * win32/vs6/grammar.dsp:
9068 * win32/vs6/libgstelements.dsp:
9069 * win32/vs6/libgstreamer.dsp:
9072 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
9074 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9075 * gst/base/gstbasesrc.c: (gst_base_src_query):
9076 fix more guint64<->gdouble conversions
9078 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
9081 add win32-update target
9082 * win32/common/gstconfig.h:
9083 * win32/common/gstenumtypes.c:
9084 * win32/common/gstenumtypes.h:
9085 * win32/common/gstversion.h:
9086 add files that visual studio can't generate
9088 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
9091 add a win32-update target
9094 2005-10-12 Wim Taymans <wim@fluendo.com>
9096 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
9097 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
9098 * gst/gstelement.c: (gst_element_commit_state),
9099 (gst_element_set_state):
9100 Protect flags with proper lock.
9101 unref provided cached clock in dispose.
9103 2005-10-12 Stefan Kost <ensonic@users.sf.net>
9106 * gst/gstminiobject.h:
9108 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
9109 removed unused flags from miniobject
9112 2005-10-12 Wim Taymans <wim@fluendo.com>
9114 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
9115 (gst_file_sink_event), (gst_file_sink_render):
9116 Flush before seeking.
9118 2005-10-12 Andy Wingo <wingo@pobox.com>
9120 * gst/gst.c (gst_init_check): Ignore unknown options, as has
9121 always been the case.
9123 2005-10-12 Stefan Kost <ensonic@users.sf.net>
9125 * check/gst/gstbin.c: (GST_START_TEST):
9126 * docs/gst/gstreamer-sections.txt:
9127 * gst/base/gstbasesink.c: (gst_base_sink_init):
9128 * gst/base/gstbasesrc.c: (gst_base_src_init),
9129 (gst_base_src_get_range), (gst_base_src_check_get_range),
9130 (gst_base_src_start), (gst_base_src_stop):
9131 * gst/base/gstbasesrc.h:
9132 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
9133 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
9134 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
9138 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
9140 * gst/gstelement.c: (gst_element_is_locked_state),
9141 (gst_element_set_locked_state), (gst_element_commit_state),
9142 (gst_element_set_state):
9144 * gst/gstindex.c: (gst_index_init):
9146 * gst/gstminiobject.h:
9147 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
9148 (gst_object_set_parent):
9150 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
9151 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
9153 * gst/gstpadtemplate.h:
9154 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
9155 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
9156 * gst/gstpipeline.h:
9157 * gst/indexers/gstfileindex.c: (gst_file_index_load),
9158 (gst_file_index_commit):
9159 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
9160 * testsuite/pad/link.c: (gst_test_src_init),
9161 (gst_test_filter_init), (gst_test_sink_init):
9162 * testsuite/states/locked.c: (main):
9163 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
9164 moved bitshift from macro to enum definition
9166 2005-10-12 Wim Taymans <wim@fluendo.com>
9168 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
9169 * gst/elements/gstfilesink.c: (gst_file_sink_event),
9170 (gst_file_sink_render):
9171 Some more debugging info.
9173 2005-10-12 Wim Taymans <wim@fluendo.com>
9175 * docs/design/part-states.txt:
9176 * tools/gst-launch.c: (main):
9178 Revert non-intentional change.
9180 2005-10-12 Wim Taymans <wim@fluendo.com>
9182 * check/gst/gstbin.c: (GST_START_TEST):
9183 * check/gst/gstelement.c: (GST_START_TEST):
9184 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
9185 * check/gst/gstghostpad.c: (GST_START_TEST):
9186 * check/gst/gstpipeline.c: (GST_START_TEST):
9187 * check/pipelines/simple_launch_lines.c: (run_pipeline):
9188 * check/states/sinks.c: (GST_START_TEST):
9189 * gst/elements/gsttypefindelement.c: (stop_typefinding):
9190 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
9191 (gst_bin_remove_func), (gst_bin_get_state_func),
9192 (gst_bin_recalc_state), (gst_bin_change_state_func),
9194 * gst/gstelement.c: (gst_element_get_state_func),
9195 (gst_element_get_state), (gst_element_abort_state),
9196 (gst_element_commit_state), (gst_element_set_state),
9197 (gst_element_change_state), (gst_element_change_state_func):
9199 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
9200 (gst_pipeline_provide_clock_func):
9201 * gst/gstutils.c: (gst_element_link_pads_filtered):
9202 * tools/gst-launch.c: (main):
9203 * tools/gst-typefind.c: (main):
9204 Use GstClockTime in _get_state() instead of GTimeVal.
9205 Remove old code in gstutils.c
9207 2005-10-12 Andy Wingo <wingo@pobox.com>
9209 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
9212 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
9213 there is no task. Shouldn't affect any code, as nothing in our
9214 plugins checks this return value.
9215 (gst_pad_stop_task): Also take the stream lock if the pad has no
9218 2005-10-12 Wim Taymans <wim@fluendo.com>
9220 * gst/gstpad.c: (pre_activate), (post_activate),
9221 (gst_pad_activate_pull), (gst_pad_activate_push):
9222 Cleanup activation code. Reset old state if
9225 2005-10-12 Wim Taymans <wim@fluendo.com>
9227 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9228 (gst_base_sink_change_state):
9229 No need to prerol after receiving EOS.
9231 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
9232 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
9233 * gst/elements/gstidentity.c: (gst_identity_event):
9234 Print events more verbosely.
9236 2005-10-12 Wim Taymans <wim@fluendo.com>
9238 * check/Makefile.am:
9239 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
9240 * check/states/sinks2.c:
9241 Moved sinks2 testcode in sinks check.
9243 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
9244 (gst_bin_remove_func), (gst_bin_recalc_state),
9245 (gst_bin_change_state_func), (bin_bus_handler):
9246 Fix potential race condition when _get_state() iterated over an
9247 ASYNC element right before it posted a state completion.
9250 Do proper cast here.
9252 * gst/gstevent.c: (gst_event_new_newsegment),
9253 (gst_event_parse_newsegment):
9254 A playback rate of 0.0 is not allowed.
9256 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
9258 * win32/common/config.h:
9259 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
9260 (_trewinddir), (_ttelldir), (_tseekdir):
9261 * win32/common/dirent.h:
9262 * win32/common/gtchar.h:
9263 * win32/common/libgstbase.def:
9264 * win32/common/libgstreamer.def:
9265 * win32/vs6/grammar.dsp:
9266 * win32/vs6/gst_inspect.dsp:
9267 * win32/vs6/gst_launch.dsp:
9268 * win32/vs6/gstreamer.dsw:
9269 * win32/vs6/libgstbase.dsp:
9270 * win32/vs6/libgstelements.dsp:
9271 * win32/vs6/libgstreamer.dsp:
9272 Visual Studio 6 project files, and a new common directory.
9275 2005-10-11 Wim Taymans <wim@fluendo.com>
9277 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9278 (gst_base_sink_do_sync), (gst_base_sink_query),
9279 (gst_base_sink_change_state):
9280 * gst/base/gstbasesink.h:
9281 Correctly parse newsegment info.
9283 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
9285 * gst/gst.c: (init_post):
9286 split plugin paths correctly
9288 2005-10-11 Wim Taymans <wim@fluendo.com>
9290 * check/gst/gstevent.c: (GST_START_TEST):
9291 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9292 (gst_base_sink_change_state):
9293 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
9294 * gst/base/gstbasetransform.c: (gst_base_transform_event):
9295 * gst/elements/gstfilesink.c: (gst_file_sink_event):
9296 * gst/gstevent.c: (gst_event_new_newsegment),
9297 (gst_event_parse_newsegment):
9299 Added extra flag to newsegment for future API freeze.
9300 Updated check and base elements.
9302 2005-10-11 Julien MOUTTE <julien@moutte.net>
9304 * gst/base/gstcollectpads.c: (gst_collectpads_init),
9305 (gst_collectpads_add_pad), (gst_collectpads_pop),
9306 (gst_collectpads_event), (gst_collectpads_chain):
9307 * gst/base/gstcollectpads.h: Handle EOS correctly.
9309 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
9311 * tools/gst-launch.c: (main):
9312 more null protecting
9314 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
9316 * gst/gst-i18n-lib.h:
9317 check for ENABLE_NLS, not GETTEXT_PACKAGE
9318 * gst/gstregistry.c: (gst_registry_add_plugin),
9319 (gst_registry_scan_path_level),
9320 (_gst_registry_remove_cache_plugins):
9321 protect possibly NULL strings
9322 * gst/parse/types.h:
9323 config.h already included before
9324 * tools/gst-inspect.c: (main):
9325 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
9326 check for ENABLE_NLS, not GETTEXT_PACKAGE
9327 * tools/gst-launch.c: (main):
9328 check for ENABLE_NLS, not GETTEXT_PACKAGE
9330 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
9333 if we don't have glib, fail before testing 2.8
9334 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
9335 fix a leak, should fix plugins-base testsuite
9337 2005-10-11 Andy Wingo <wingo@pobox.com>
9339 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
9340 take the mode we're going to as an arg. Go head and set the mode
9341 and flushing flags now, so that if the activate function starts a
9342 thread all the flags will be in the right state.
9343 (post_activate): Renamed also. Just handle making sure streaming
9344 finishes for the deactivation case, and setting the deactivated
9346 (gst_pad_set_active): Complain loudly if deactivation fails.
9347 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
9348 (gst_pad_activate_push): Adapt to pre/post_activate changes,
9349 remove the terrible hack.
9351 2005-10-11 Wim Taymans <wim@fluendo.com>
9353 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
9354 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
9355 (gst_bin_recalc_state), (gst_bin_change_state_func),
9356 (gst_bin_dispose), (bin_bus_handler):
9358 Prepare to make current EOS message queue more generic.
9361 * gst/gstevent.c: (gst_event_new_newsegment),
9362 (gst_event_parse_newsegment):
9364 Rename base to stream_time.
9369 2005-10-11 Wim Taymans <wim@fluendo.com>
9371 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
9372 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
9373 (gst_bin_change_state_func), (bin_bus_handler):
9375 Work on proper clock selection.
9377 2005-10-11 Edward Hervey <edward@fluendo.com>
9379 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
9380 * libs/gst/controller/gstcontroller.h:
9381 Added GList* version of _remove_properties() in order to be able to wrap
9384 2005-10-11 Wim Taymans <wim@fluendo.com>
9386 * docs/design/part-states.txt:
9389 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
9390 (gst_bin_change_state_func), (bin_bus_handler):
9391 Doc updates. Don't distribute the same clock over and over again.
9397 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
9398 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
9399 (gst_pad_send_event):
9401 Make probe emission threadsafe again.
9402 Register quarks and move _get_name() from utils.
9405 * gst/gstpipeline.c: (gst_pipeline_class_init),
9406 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
9407 Only redistribute the clock of it changed.
9409 * gst/gstsystemclock.h:
9414 Moved the _flow_get_name() to GstPad.
9416 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
9418 * check/gst-libs/gdp.c: (GST_START_TEST):
9419 * check/gst/gstcaps.c: (GST_START_TEST):
9420 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
9421 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
9422 (gst_dp_packet_from_caps):
9423 fix more valgrind warnings before turning up the heat
9425 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
9427 * gst/parse/grammar.y:
9428 some cleanup before the hacking
9430 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
9432 * gst/base/gstbasesrc.c: (gst_base_src_query):
9434 * gst/gstutils.c: (gst_guint64_to_gdouble),
9435 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
9437 externalize, basesrc uses it
9438 obviously the implementation needs testing
9440 2005-10-10 Wim Taymans <wim@fluendo.com>
9442 * tests/sched/Makefile.am:
9443 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
9444 (make_pipeline3), (make_pipeline4), (print_elem), (main):
9446 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
9448 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
9449 apparently converting from guint64 to double is not implemented
9452 2005-10-10 Wim Taymans <wim@fluendo.com>
9454 * check/Makefile.am:
9455 * check/generic/states.c: (GST_START_TEST):
9456 * check/gst/gstbin.c: (GST_START_TEST):
9457 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
9458 * check/states/sinks.c: (GST_START_TEST):
9459 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
9461 Check fixes, use API as stated in design docs, remove hacks.
9463 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9464 (gst_base_sink_change_state):
9465 Catch stopping our task while we're shutting down.
9467 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
9468 (gst_bin_remove_func), (gst_bin_get_state_func),
9469 (gst_bin_recalc_state), (gst_bin_change_state_func),
9472 * gst/gstelement.c: (gst_element_init),
9473 (gst_element_get_state_func), (gst_element_abort_state),
9474 (gst_element_commit_state), (gst_element_lost_state),
9475 (gst_element_set_state), (gst_element_change_state),
9476 (gst_element_change_state_func):
9478 New state change algorithm (see #318116)
9480 * gst/gstpipeline.c: (gst_pipeline_class_init),
9481 (gst_pipeline_init), (gst_pipeline_set_property),
9482 (gst_pipeline_get_property), (do_pipeline_seek),
9483 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
9484 * gst/gstpipeline.h:
9485 Remove crude state change hacks.
9490 * tools/gst-launch.c: (main):
9491 Fixes for state change. Needs some more work to fully use the
9494 2005-10-10 Andy Wingo <wingo@pobox.com>
9496 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
9498 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
9499 this flag, but it's not even in GLib 2.6. Odd. Hack around the
9502 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
9504 * gst/gstiterator.c: (gst_iterator_new):
9505 Fix my previous commit: GTypes passed to gst_iterator_new()
9506 can be fundamental types.
9508 2005-10-10 Wim Taymans <wim@fluendo.com>
9510 * gst/gstelement.c: (gst_element_iterate_pad_list),
9511 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
9512 (gst_element_iterate_sink_pads):
9513 Use src/sink pads lists for the respective iterators instead
9516 2005-10-10 Andy Wingo <wingo@pobox.com>
9518 Merged in popt removal + GOption addition patch from Ronald, bug
9521 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
9522 GstElement macros around, remove popt-related symbols, add goption
9525 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
9527 * docs/gst/Makefile.am:
9528 * docs/libs/Makefile.am: No POPT_CFLAGS.
9530 * examples/manual/Makefile.am:
9531 * docs/manual/basics-init.xml: Doc updates with an example.
9533 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
9534 (gst_init), (parse_one_option), (parse_goption_arg):
9535 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
9536 bit of hand merging and debugging to get the GOption stuff working
9539 * tests/Makefile.am:
9540 * tools/Makefile.am:
9541 * tools/gst-inspect.c: (main):
9542 * tools/gst-launch.c: (main):
9543 * tools/gst-run.c: (main):
9544 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
9546 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
9548 * gst/gstiterator.c: (gst_iterator_new):
9549 Add assertions to make sure passed GType is likely to really
9550 be a GType (as the compiler won't catch it if the size and
9551 GType arguments get mixed up, see #318447).
9553 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
9555 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
9557 * gst/gstbin.c: (gst_bin_iterate_sorted):
9558 Pass GType and size arguments to gst_iterator_new() in the right
9559 order (maybe we should make _new() take the GType as first argument
9560 just like _new_list()?) (#318447).
9563 2005-10-10 Wim Taymans <wim@fluendo.com>
9565 * gst/gstelement.c: (gst_element_finalize):
9566 And free the GStaticRecMutex too
9568 2005-10-10 Andy Wingo <wingo@pobox.com>
9570 * gst/gstelement.c (gst_element_init, gst_element_finalize):
9571 Allocate and free the mutex properly.
9573 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
9575 (GstElement): The state_lock is now recursive. Rebuild your
9576 plugins, suckers. Old macros adapted.
9578 * docs/gst/gstreamer-sections.txt: Doc updates.
9581 * gst/gstutils.c (g_static_rec_cond_timed_wait)
9582 (g_static_rec_cond_wait): Ported from state changes patch, while
9583 we wait on bug #317802 to be solved in a well-distributed GLib.
9585 * gst/gstelement.c (gst_element_change_state_func): Renamed from
9586 gst_element_change_state, variable name changes.
9587 (gst_element_change_state): Split out of gst_element_set_state in
9588 preparation for the state change merge. Doesn't pay attention to
9589 the 'transition' argument.
9590 (gst_element_set_state): Updates, hopefully purely cosmetic.
9591 (gst_element_sync_state_with_parent): MT-safety. Ported from the
9593 (gst_element_get_state_func): Renamed from get_state, cosmetic
9596 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
9598 * gst/elements/gstelements.c:
9599 * win32/GStreamer.vcproj:
9601 * win32/dirent.c: (_tseekdir):
9602 * win32/gst-inspect.vcproj:
9603 * win32/gst-launch.vcproj:
9604 * win32/gstconfig.h:
9605 * win32/gstelements.vcproj:
9606 * win32/gstenumtypes.c: (gst_object_flags_get_type):
9607 * win32/gstreamer.def:
9609 updates for the win32 build (patch from Sebastien Moutte)
9611 2005-10-10 Andy Wingo <wingo@pobox.com>
9613 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
9614 gst_bin_get_state, cleaned up (but no logic changes).
9615 (bin_element_is_sink): Comment updates.
9616 (sink_iterator_filter): Remove needless cast.
9617 (gst_bin_iterate_sinks): Doc update.
9618 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
9619 cleaned up (but no logic changes).
9621 * check/states/sinks.c (test_src_sink): Cleanups from the state
9623 (test_livesrc_sink): Sync on the state.
9625 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
9626 the state change patch.
9628 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
9631 * check/gst/gstbin.c: Merge in some style fixes and additional
9632 checks from Wim's state change patch.
9634 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
9636 * gst/base/gsttypefindhelper.c: (helper_find_peek),
9637 (gst_type_find_helper):
9638 Check whether we have the requested data already in our list of
9639 cached buffers before pulling a new buffer; also make the buffer
9640 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
9642 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
9647 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
9648 don't use long long, it's not portable. Replacing with
9649 gint64 seems to work; let's hope no skeletons fall out of the closet.
9651 2005-10-10 Andy Wingo <wingo@pobox.com>
9653 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
9655 2005-10-09 Stefan Kost <ensonic@users.sf.net>
9657 * docs/gst/gstreamer-sections.txt:
9662 * gst/gstmessage.c: (gst_message_parse_state_changed):
9665 more docs, fix compilation
9667 2005-10-09 Philippe Khalaf <burger@speedy.org>
9669 Fixed a few forgotten variables on previous commit
9671 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
9673 * gst/base/gsttypefindhelper.c: (helper_find_peek):
9674 Fix evil typefind crasher: getrange() might return a short
9675 buffer at the end of a file, but gst_type_find_peek() must
9676 either return the full data as requested or NULL, but
9677 never a short buffer.
9679 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
9681 * gst/gstmessage.c: (gst_message_new_state_changed),
9682 (gst_message_parse_state_changed):
9684 don't use "new", it's a C++ keyword
9686 2005-10-08 Wim Taymans <wim@fluendo.com>
9688 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
9689 * gst/gstelement.c: (gst_element_post_message):
9690 * gst/gstpipeline.c: (gst_pipeline_change_state):
9691 Small docs and debug updates.
9693 2005-10-08 Stefan Kost <ensonic@users.sf.net>
9695 * docs/gst/gstreamer-sections.txt:
9696 * gst/gstelementfactory.c:
9701 2005-10-08 Wim Taymans <wim@fluendo.com>
9703 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
9704 (gst_bin_dispose), (bin_bus_handler):
9705 Fix typos, add comments.
9706 Clear EOS list when going to PAUSED from any direction and do it
9707 in a threadsafe way.
9708 Get base time in a threadsafe way too.
9709 Fix confusing debug in the change_state function.
9710 Various other small cleanups.
9712 * gst/gstelement.c: (gst_element_post_message):
9713 Fix very verbose bus posting code.
9715 * gst/gstpipeline.c: (gst_pipeline_class_init),
9716 (gst_pipeline_set_property), (gst_pipeline_get_property),
9717 (gst_pipeline_change_state):
9718 Small ARG_ -> PROP_ cleanup
9720 2005-10-08 Wim Taymans <wim@fluendo.com>
9722 * gst/gstbin.c: (is_eos), (bin_bus_handler):
9723 Do a less CPU demanding EOS check because we can.
9725 2005-10-08 Wim Taymans <wim@fluendo.com>
9727 * libs/gst/dataprotocol/dataprotocol.c:
9728 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
9729 (gst_dp_packet_from_event):
9730 * libs/gst/dataprotocol/dataprotocol.h:
9731 * libs/gst/dataprotocol/dp-private.h:
9732 It's about time we bump the version number.
9733 Since event types don't fit in the guint8 anymore describing
9734 the payload type, make payload type 16 bits wide.
9736 2005-10-08 Wim Taymans <wim@fluendo.com>
9738 * docs/design/part-TODO.txt:
9739 * docs/design/part-clocks.txt:
9740 * docs/design/part-events.txt:
9741 * docs/design/part-gstbin.txt:
9742 * docs/design/part-gstelement.txt:
9743 * docs/design/part-gstpipeline.txt:
9744 * docs/design/part-live-source.txt:
9745 * docs/design/part-messages.txt:
9746 * docs/design/part-overview.txt:
9747 * docs/design/part-states.txt:
9750 2005-10-08 Wim Taymans <wim@fluendo.com>
9754 Fix event quark registration.
9755 Add some space between events so we can insert them in the
9758 2005-10-08 Wim Taymans <wim@fluendo.com>
9760 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9761 (gst_base_sink_handle_buffer):
9768 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
9769 (gst_queue_set_property), (gst_queue_get_property):
9771 Remove old unused properties.
9773 2005-10-08 Stefan Kost <ensonic@users.sf.net>
9774 * docs/gst/gstreamer-sections.txt:
9777 * gst/gstminiobject.c:
9778 * gst/gstminiobject.h:
9782 lots of new docs and doc fixes
9784 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
9786 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
9788 * gst/gstregistry.c: (gst_registry_lookup_locked),
9789 (gst_registry_scan_path_level):
9790 * gst/gstregistryxml.c: (load_plugin):
9791 Only ever load one plugin for a given plugin basename.
9792 This ensures correct overriding of GST_PLUGIN_PATH over
9793 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
9794 system installed plugins.
9796 2005-10-08 Wim Taymans <wim@fluendo.com>
9798 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9799 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
9800 Prepare for doing QOS.
9802 2005-10-08 Wim Taymans <wim@fluendo.com>
9804 * check/gst/gstbin.c: (GST_START_TEST):
9805 * check/pipelines/cleanup.c: (GST_START_TEST):
9806 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
9807 Allow new clock message too.
9809 2005-10-08 Wim Taymans <wim@fluendo.com>
9811 * gst/gstmessage.c: (gst_message_new_error),
9812 (gst_message_new_warning), (gst_message_new_tag),
9813 (gst_message_new_state_changed), (gst_message_new_clock_provide),
9814 (gst_message_new_clock_lost), (gst_message_new_new_clock),
9815 (gst_message_new_segment_start), (gst_message_new_segment_done),
9816 (gst_message_parse_state_changed),
9817 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
9818 (gst_message_parse_new_clock):
9820 Also carry the clock in question.
9822 2005-10-08 Wim Taymans <wim@fluendo.com>
9824 * gst/gstmessage.c: (gst_message_new_custom),
9825 (gst_message_new_eos), (gst_message_new_error),
9826 (gst_message_new_warning), (gst_message_new_tag),
9827 (gst_message_new_state_changed), (gst_message_new_clock_provide),
9828 (gst_message_new_new_clock), (gst_message_new_segment_start),
9829 (gst_message_new_segment_done), (gst_message_parse_state_changed),
9830 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
9833 Added clock related messages.
9835 * gst/gstpipeline.c: (gst_pipeline_change_state):
9836 Post message when the clock changed.
9838 * tools/gst-launch.c: (event_loop):
9841 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
9843 * tools/gst-inspect.c: (print_element_properties_info):
9844 Can't pass NULL strings to g_print() on windows.
9846 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
9849 * docs/gst/Makefile.am:
9850 * docs/gst/gstreamer-docs.sgml:
9851 * docs/gst/running.xml:
9852 * docs/version.entities.in:
9853 add a chapter on running GStreamer.
9854 document GST_DEBUG and GST_PLUGIN* env vars
9856 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
9861 remove PLUGINS_BUILDDIR stuff
9862 * gst/gst.c: (init_post):
9863 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
9865 remove, it was condescending and not needed
9867 2005-10-08 Wim Taymans <wim@fluendo.com>
9869 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
9870 (gst_base_sink_handle_object), (gst_base_sink_event),
9871 (gst_base_sink_wait), (gst_base_sink_handle_event),
9872 (gst_base_sink_change_state):
9873 * gst/base/gstbasesink.h:
9874 Repost EOS message while going to PLAYING if still EOS.
9875 Make sure that when receiving a FLUSH_START we don't attempt
9876 to sync on the clock anymore.
9878 2005-10-08 Wim Taymans <wim@fluendo.com>
9880 * tools/gst-launch.c: (event_loop):
9881 Better message printout.
9883 2005-10-08 Wim Taymans <wim@fluendo.com>
9885 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
9886 (gst_bin_child_proxy_get_children_count):
9887 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
9888 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
9889 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
9890 (gst_child_proxy_set_valist):
9891 * gst/parse/grammar.y:
9892 Make ChildProxy threadsafe and fix mem leaks.
9894 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
9896 * gst/gst.c: (init_post):
9897 debug the GST_PLUGIN_ env vars
9899 2005-10-08 Wim Taymans <wim@fluendo.com>
9901 * check/gst/gstbin.c: (GST_START_TEST):
9902 * check/gst/gstmessage.c: (GST_START_TEST):
9903 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
9904 * gst/gstelement.c: (gst_element_commit_state),
9905 (gst_element_lost_state):
9906 * gst/gstmessage.c: (gst_message_new_state_changed),
9907 (gst_message_parse_state_changed):
9909 * tools/gst-launch.c: (event_loop):
9910 Added extra field to STATE_CHANGE message with the pending
9911 state, which will be different from the new state soon.
9913 2005-10-08 Wim Taymans <wim@fluendo.com>
9915 * gst/gstbus.c: (gst_bus_pop):
9917 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
9918 Small cleanups and doc updates.
9920 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
9922 * gst/gst.c: (init_pre):
9923 * gst/gstbin.c: (gst_bin_add_func):
9924 log distributing clocks and base time
9925 * gst/gstregistry.c: (gst_registry_add_plugin),
9926 (gst_registry_scan_path_level), (gst_registry_scan_path):
9927 clean up the debugging output a little
9928 * gst/gstutils.c: (gst_element_state_get_name):
9929 warn about a memleak (I've actually seen this be used, though
9930 it was probably a bug)
9932 2005-10-07 Wim Taymans <wim@fluendo.com>
9934 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9935 (gst_base_src_init), (gst_base_src_default_newsegment),
9936 (gst_base_src_newsegment), (gst_base_src_do_seek),
9937 (gst_base_src_loop), (gst_base_src_start):
9938 * gst/base/gstbasesrc.h:
9939 Make the newsegment event customizable by subclasses.
9941 2005-10-07 Wim Taymans <wim@fluendo.com>
9943 * gst/gstevent.c: (gst_event_new_buffersize),
9944 (gst_event_parse_buffersize):
9946 New event for future idea.
9948 2005-10-07 Andy Wingo <wingo@pobox.com>
9950 * gst/gstelement.c (gst_element_post_message): Doc update.
9952 * docs/gst/gstreamer-sections.txt: Update.
9954 * gst/gstmessage.c (gst_message_new_application): Made into a
9955 function like honest API calls.
9956 (gst_message_new_element): New message type.
9958 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
9960 * check/elements/fakesrc.c (test_no_preroll): New check, checks
9961 that setting a live fakesrc to PAUSED returns NO_PREROLL both
9964 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
9965 NO_PREROLL from gst_element_change_state to fall through.
9967 2005-10-07 Wim Taymans <wim@fluendo.com>
9969 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
9970 (gst_ghost_pad_do_activate_push):
9971 Activating a ghostpad with no internal pad in push mode
9974 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
9977 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
9978 Fixes compilation on Windows.
9980 2005-10-07 Michael Smith <msmith@fluendo.com>
9982 * tools/gst-inspect.c:
9983 Print out feature and plugin count at the end when printing out
9986 2005-10-04 Michael Smith <msmith@fluendo.com>
9988 * gst/gsterror.c: (_gst_stream_errors_init):
9989 Add another error string used in a few existing plugins.
9992 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
9993 * tools/gst-inspect.c: (print_element_info):
9994 When a feature disappears from a plugin (and the feature exists in
9995 the cached registry file), things went horribly wrong. This isn't a
9996 complete fix, we should actually be removing the 'missing' features
9997 from the features list when we load the actual plugin. That's not
10000 2005-10-04 Johan Dahlin <johan@gnome.org>
10002 * check/gst/gstiterator.c: (GST_START_TEST):
10003 * gst/gstbin.c: (gst_bin_iterate_elements),
10004 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
10005 * gst/gstelement.c: (gst_element_iterate_pads):
10006 * gst/gstformat.c: (gst_format_iterate_definitions):
10007 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
10008 (gst_iterator_new_list), (gst_iterator_filter):
10009 * gst/gstiterator.h:
10010 * gst/gstquery.c: (gst_query_type_iterate_definitions):
10011 Add a GType to GstIterator, update callsites and tests.
10013 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
10015 * gst/gstpad.c: (gst_pad_event_default_dispatch):
10016 give events a chance to be handled by event probes when the pad
10019 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
10021 * gst/gstevent.c: (gst_event_type_get_name),
10022 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
10024 add string representations for event types
10026 2005-10-06 Wim Taymans <wim@fluendo.com>
10028 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
10029 Don't use NULL pointers.
10031 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
10033 * gst/gst_private.h:
10035 * gst/gstelement.c:
10037 * gst/gstpluginfeature.c:
10038 widen the debug category in output to fit the biggest one we have
10039 add a bus category and use it
10040 play with the colors
10041 fix up some categories
10043 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
10045 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
10046 add push activation of sink ghost pads.
10047 Andye, please verify
10049 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
10051 * gst/gstutils.c: (gst_element_link_pads):
10052 fix a bug in the case where neither element has a pad
10053 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
10054 add a test for that case
10056 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
10058 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
10059 emit have-data before checking for peers. This allows
10060 for probe handlers to connect elements. This helps autopluggers.
10061 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
10063 add six checks, linked/unlinked with no/true/false probe
10065 2005-10-04 Wim Taymans <wim@fluendo.com>
10067 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
10068 (gst_fake_sink_event), (gst_fake_sink_preroll),
10069 (gst_fake_sink_render), (gst_fake_sink_change_state):
10070 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
10071 (gst_fake_src_get_property), (gst_fake_src_create),
10072 (gst_fake_src_stop):
10073 * gst/elements/gstidentity.c: (gst_identity_stop):
10074 Protect last_message with lock.
10076 2005-10-04 Edward Hervey <edward@fluendo.com>
10079 Added precision in the comments for GST_FORMAT_DEFAULT
10081 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
10083 * tools/gst-launch.c: (main):
10084 Don't try to run erroneous pipelines.
10086 2005-10-04 Julien MOUTTE <julien@moutte.net>
10088 * gst/gstbus.c: We don't need this header.
10090 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
10093 back to development
10095 === release 0.9.3 ===
10097 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
10101 Releasing 0.9.3, "Unregistered"
10103 2005-10-03 Andy Wingo <wingo@pobox.com>
10105 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
10106 whereby calling a pad's activatepush() function can start a thread
10107 that starts to push or pull before the pad gets the FLUSHING flag
10108 unset. Hack around it by holding the stream lock until the flag is
10109 set. Need to replace this with a proper solution. Together with
10110 the ghost pad fixes, this fixes mp3 playing/tagreading.
10112 * docs/design/part-gstghostpad.txt: Add a note about activation of
10113 proxy pads outside of ghost pads.
10115 * gst/gstghostpad.c: Implement the ghost pad activation design.
10117 2005-10-02 Andy Wingo <wingo@pobox.com>
10119 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
10120 It is volatile, after all.
10122 * docs/design/part-gstghostpad.txt: Flesh out activation with
10125 * gst/base/gstbasesrc.c (gst_base_src_init): Use
10128 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
10131 Fix (unused) AM_CONDITIONAL tests.
10133 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
10135 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10137 * gst/gstutils.c: (gst_pad_query_convert):
10138 Add assertion that makes sure src_val is >=0, just like
10139 gst_query_new_convert() has. (#315895)
10141 2005-09-30 Edward Hervey <edward@fluendo.com>
10143 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
10144 Let's not iterate pads we're not interested in, it avoids getting
10145 sky-high refcounts on sinkpad.
10147 2005-09-30 Wim Taymans <wim@fluendo.com>
10149 * gst/gstelement.c: (gst_element_set_state),
10150 (gst_element_change_state):
10151 Small tweak, element in ASYNC remains ASYNC.
10153 2005-09-30 Wim Taymans <wim@fluendo.com>
10155 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
10156 Only error is an error.
10158 * gst/gstbin.c: (gst_bin_change_state):
10161 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
10162 Also call pad_block in pad alloc.
10164 * gst/gstutils.c: (gst_flow_get_name):
10167 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
10169 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
10170 (gst_base_src_get_range):
10171 Fix documentation typos. Add some more debug info.
10173 2005-09-29 David Schleef <ds@schleef.org>
10175 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
10176 more end-user friendly.
10177 * tools/gst-inspect.c: (main): Check if command-line argument is
10178 a file and attempt to load that file as a plugin.
10180 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
10182 * check/gst/gstbin.c:
10183 * check/states/sinks.c:
10184 fix tests for the new warning
10185 * check/gst/gstpipeline.c:
10186 add a test for pipeline and bus interaction
10187 * gst/gstelement.c:
10188 elements should be NULL if they get disposed; add a warning if not
10190 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
10193 for 2.6 refcounting, make debug log more correct by printing
10194 the actual refcounts at the time of swap (Wim)
10196 2005-09-29 Andy Wingo <wingo@pobox.com>
10198 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
10199 removes signal watches previously added via
10200 gst_bus_add_signal_watch.
10201 (gst_bus_add_signal_watch): Don't return the source id, just store
10202 it on the bus if there wasn't an id already.
10204 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
10205 add_signal_watch and remove_signal_watch.
10207 2005-09-29 Edward Hervey <edward@fluendo.com>
10209 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
10210 Better if we actually iterate the list :)
10212 2005-09-29 Wim Taymans <wim@fluendo.com>
10214 * check/gst/gstbin.c: (GST_START_TEST):
10215 Change for new bus API.
10217 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
10218 (send_messages), (GST_START_TEST), (gstbus_suite):
10219 Change for new bus signal API.
10221 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
10222 (gst_bus_source_prepare), (gst_bus_source_check),
10223 (gst_bus_create_watch), (gst_bus_add_watch_full),
10224 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
10225 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
10227 Remove support for multiple GSources operating on different
10228 message types as it is too complex and unneeded when using
10230 Added support for receiving signals from the bus.
10232 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
10234 * docs/libs/tmpl/gstdataprotocol.sgml:
10235 * docs/manual/advanced-dataaccess.xml:
10236 * gst/elements/gstcapsfilter.c:
10238 rename filter-caps to caps property
10240 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
10242 * gst/gstvalue.c: (gst_value_deserialize_fraction):
10243 More robust fraction string parsing.
10245 * docs/pwg/appendix-porting.xml:
10246 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
10248 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
10250 * gst/gstcaps.c: (gst_caps_do_simplify):
10251 Thou shalt not free a structure and then continue using it
10252 in the next loop iteration.
10254 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
10256 Add test case for caps simplification.
10258 2005-09-29 Wim Taymans <wim@fluendo.com>
10260 * check/gst/gstbin.c: (GST_START_TEST):
10263 2005-09-29 Wim Taymans <wim@fluendo.com>
10265 * check/gst/gstbin.c: (GST_START_TEST):
10268 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
10269 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
10270 (find_element), (gst_bin_sort_iterator_next),
10271 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
10272 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
10273 (gst_bin_change_state), (gst_bin_dispose):
10274 A bin does not have a bus, it gets the bus from the parent.
10276 * gst/gstelement.c: (gst_element_requires_clock),
10277 (gst_element_provides_clock), (gst_element_is_indexable),
10278 (gst_element_is_locked_state), (gst_element_change_state),
10279 (gst_element_set_bus_func):
10282 * gst/gstpipeline.c: (gst_pipeline_class_init),
10283 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
10284 The pipeline provides a bus.
10286 2005-09-28 Johan Dahlin <johan@gnome.org>
10288 * gst/gstmessage.c (gst_message_parse_state_changed): Use
10289 gst_structure_get_enum instead of gst_structure_get_int
10291 * gst/gststructure.c (gst_structure_get_enum): Impl.
10293 * gst/gststructure.h (gst_structure_get_enum): Add
10295 * docs/gst/gstreamer-sections.txt: Ditto
10297 * gst/gstmessage.c (gst_message_new_state_changed): Use
10298 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
10299 which does introspection.
10300 Reviewed by Christian Schaller
10302 2005-09-28 Stefan Kost <ensonic@users.sf.net>
10304 * gst/gstinfo.c: (gst_debug_log_default):
10305 don't do dummy g_strdup()s
10306 * libs/gst/controller/gstcontroller.c:
10307 (on_object_controlled_property_changed),
10308 (gst_controlled_property_new), (gst_controller_new_valist),
10309 (gst_controller_new_list),
10310 (gst_controller_remove_properties_valist), (gst_controller_set),
10311 (gst_controller_get), (gst_controller_sync_values),
10312 (gst_controller_get_value_array), (_gst_controller_class_init),
10313 (gst_controller_get_type):
10314 * libs/gst/controller/gstcontroller.h:
10315 * libs/gst/controller/gstinterpolation.c:
10316 (gst_controlled_property_find_timed_value_node):
10317 convert // to /**/ comments
10319 2005-09-28 Wim Taymans <wim@fluendo.com>
10321 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
10322 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
10323 (gst_bus_sync_signal_handler):
10325 Added async-message and sync-message signals to the bus.
10326 Added helper BusFunc to emit signals for all posted messages.
10328 * gst/gstmessage.c: (gst_message_type_get_name),
10329 (gst_message_type_to_quark), (gst_message_get_type):
10330 * gst/gstmessage.h:
10331 Register quarks for message names.
10333 2005-09-28 Stefan Kost <ensonic@users.sf.net>
10335 * docs/libs/gstreamer-libs-sections.txt:
10336 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10337 (gst_controller_new_list):
10338 * libs/gst/controller/gstcontroller.h:
10339 added another constructor for language bindings
10341 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
10343 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
10347 * gst/gstinfo.c: (_gst_debug_init):
10348 slightly more readable color for refcount debugging
10350 2005-09-28 Wim Taymans <wim@fluendo.com>
10352 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
10353 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
10354 (find_element), (gst_bin_sort_iterator_next),
10355 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
10356 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
10357 (gst_bin_change_state), (gst_bin_dispose):
10358 Small doc fixes. get_clock -> provide_clock.
10360 * gst/gstelement.c: (gst_element_class_init),
10361 (gst_element_provides_clock), (gst_element_provide_clock),
10362 (gst_element_get_clock), (gst_element_commit_state),
10363 (gst_element_lost_state):
10364 * gst/gstelement.h:
10365 Make get/set_clock() symetric. Add provide_clock vmethod since
10366 that is actually what this function does.
10368 * gst/gstpipeline.c: (gst_pipeline_class_init),
10369 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
10370 (gst_pipeline_get_clock):
10371 get_clock -> provide_clock.
10373 2005-09-28 Andy Wingo <wingo@pobox.com>
10375 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
10376 lieu of real docs...
10378 * gst/elements/gstfdsrc.c: Cleaned up a bit.
10380 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
10382 * gst/elements/gstcapsfilter.c:
10383 * gst/elements/gstfakesink.c:
10384 * gst/elements/gstfakesrc.c:
10385 * gst/elements/gstfdsink.c:
10386 * gst/elements/gstfdsrc.c:
10387 * gst/elements/gstfilesink.c:
10388 * gst/elements/gstfilesrc.c:
10389 * gst/elements/gstidentity.c:
10390 * gst/elements/gsttee.c:
10391 * gst/elements/gsttypefindelement.c:
10392 Make element details static.
10394 2005-09-28 Wim Taymans <wim@fluendo.com>
10396 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
10397 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
10398 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
10399 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
10400 (gst_bin_change_state), (gst_bin_dispose):
10401 Some documentation updates.
10402 Clean up dispose handlers.
10404 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
10405 * gst/gstpad.c: (gst_pad_dispose):
10406 Clean up dispose handler.
10408 * gst/gstpipeline.c: (gst_pipeline_change_state):
10409 Removed spurious UNLOCK.
10411 2005-09-27 Stefan Kost <ensonic@users.sf.net>
10413 * docs/gst/gstreamer-sections.txt:
10414 * gst/base/gstbasesrc.h:
10415 * gst/gstelement.h:
10419 * gst/gstpipeline.c:
10420 * gst/gstpipeline.h:
10423 added two new functions to the docs
10424 documents all undocumented GstXXXFlags
10425 completed some incomplete docs
10427 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
10429 * gst/gstbin.c: (gst_bin_dispose):
10430 * gst/gstelement.c: (gst_element_dispose):
10431 remove now useless and leaky resurrection code in dispose
10432 * gst/base/gstbasesrc.c: (gst_base_src_init):
10433 * gst/gstelementfactory.c: (gst_element_factory_create):
10434 * gst/gstobject.c: (gst_object_set_parent):
10437 2005-09-27 Wim Taymans <wim@fluendo.com>
10439 * docs/design/part-TODO.txt:
10442 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
10443 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
10444 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
10445 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
10446 (gst_bin_change_state):
10447 * gst/gstelement.h:
10448 Remove element variable, we keep element info in the iterator now.
10450 2005-09-27 Andy Wingo <wingo@pobox.com>
10452 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
10455 2005-09-27 Wim Taymans <wim@fluendo.com>
10457 * check/gst/gstbin.c: (GST_START_TEST):
10458 Enable check that works now.
10460 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
10461 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
10462 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
10463 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
10464 (gst_bin_change_state):
10466 Redid the state change algorithm using a topological sort algo.
10467 Handles all cases correctly.
10468 Exposed iterator for state change order.
10470 * gst/gstelement.h:
10471 Temp storage for state changes. Need to get rid of this soon.
10473 2005-09-27 Wim Taymans <wim@fluendo.com>
10475 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
10476 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
10477 (link_fold_func), (gst_pad_proxy_setcaps):
10478 Leak fixes, the fold functions need to unref the passed object and
10479 _get_parent_*() returns ref to parent.
10481 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
10483 * check/gst/gstbuffer.c: (test_make_writable):
10484 Plug leak in test case and fix 'make check-valgrind'
10486 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
10488 * gst/gstbuffer.c: (gst_subbuffer_init):
10489 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
10490 works correctly in all circumstances (we could have just copied
10491 the parent buffer's readonly flag, but conceptually it seems
10492 cleaner to mark all subbuffers as read-only). (based on patch
10493 by Alessandro Decina, #314710).
10495 * check/gst/gstbuffer.c: (create_read_only_buffer),
10496 (test_make_writable), (test_subbuffer_make_writable),
10498 Add some tests for gst_buffer_make_writable().
10500 2005-09-27 Wim Taymans <wim@fluendo.com>
10502 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
10503 use gst_object_has_ancestor().
10505 * gst/gstobject.c: (gst_object_has_ancestor):
10507 gst_object_has_ancestor() copied from gstbin.c as it is a
10510 * tests/instantiate/create.c: (create_all_elements):
10511 * tests/lat.c: (handoff_src), (handoff_sink):
10512 * tests/sched/runxml.c: (main):
10513 * tests/seeking/seeking1.c: (main):
10514 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
10516 Fix compilation of some tests.
10518 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
10521 Remove comment. GST_TYPE_G_ERROR is here to stay,
10522 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
10523 (#316961, #300610).
10525 2005-09-26 Wim Taymans <wim@fluendo.com>
10527 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
10528 Added check that shows error in state change order.
10530 2005-09-26 Wim Taymans <wim@fluendo.com>
10532 * gst/gstbin.c: (gst_bin_change_state):
10533 Make state change function use 3 queues again, we were
10534 adding elements in the wrong order.
10536 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
10539 * gst/gstpad.c: (gst_pad_dispose):
10540 Added some debug info first.
10542 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
10544 * docs/design/draft-push-pull.txt:
10545 * docs/design/part-events.txt:
10546 * docs/design/part-overview.txt:
10547 * docs/design/part-scheduling.txt:
10548 Replace all _pull_region() with _pull_range()
10550 2005-09-26 Andy Wingo <wingo@pobox.com>
10552 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
10554 * check/gst-libs/controller.c: Update for controller api change.
10557 * tests/Makefile.am:
10558 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
10559 over by GLib bug 118439.
10561 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
10562 routines to a function.
10564 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
10566 * libs/gst/controller/gsthelper.c:
10567 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
10568 (gst_object_sync_values): Renamed from sink_values. Ugh.
10570 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
10572 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
10573 Renamed from controller_key, as it is exported.
10575 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
10577 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
10582 * gst/gstpadtemplate.h:
10585 * gst/gstqueryutils.c:
10586 * gst/gstqueryutils.h:
10587 remove queryutils headers after moving the two used functions
10588 to gstquery. also fixes build problem for gstsiddec
10590 2005-09-26 Michael Smith <msmith@fluendo.com>
10592 * tools/gst-launch.1.in:
10593 Correct documentation in manpage of debug syntax
10595 2005-09-26 Wim Taymans <wim@fluendo.com>
10597 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
10598 (gst_base_src_is_seekable), (gst_base_src_change_state):
10599 Some more debugging info.
10601 2005-09-25 Stefan Kost <ensonic@users.sf.net>
10603 * docs/gst/gstreamer-sections.txt:
10604 * gst/base/gstbasetransform.h:
10608 2005-09-25 Stefan Kost <ensonic@users.sf.net>
10610 * docs/gst/.cvsignore:
10611 * docs/gst/tmpl/.cvsignore:
10612 * docs/gst/tmpl/gstpipeline.sgml:
10613 * docs/gst/tmpl/gstplugin.sgml:
10614 * gst/gstpipeline.c:
10617 inlined the last two docs files
10618 removed the tmpl directory from cvs (no more conflicts here!)
10620 2005-09-25 Stefan Kost <ensonic@users.sf.net>
10622 * docs/gst/gstreamer-sections.txt:
10623 * docs/gst/tmpl/.cvsignore:
10624 * docs/gst/tmpl/gstpad.sgml:
10625 * docs/gst/tmpl/gstpadtemplate.sgml:
10627 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
10628 (gst_pad_finalize), (gst_pad_set_pad_template):
10630 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
10631 (gst_pad_template_class_init), (gst_pad_template_init),
10632 (gst_pad_template_dispose), (name_is_valid),
10633 (gst_static_pad_template_get), (gst_pad_template_new),
10634 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
10635 (gst_pad_template_pad_created):
10636 * gst/gstpadtemplate.h:
10637 inlined two more docs
10638 factored gstpadtemplate out of gstpad
10640 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
10642 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
10643 (test_children_state_change_order_semi_sink):
10644 Fix test case: we can't rely on a fixed state change order when
10645 going from READY => PAUSED because the sink might commit its
10646 new state first when the first buffer created by the source
10647 reaches the sink before the source has finished its change state.
10648 (Test case still fails at times, see #316856, comment 5 onwards)
10650 2005-09-24 Wim Taymans <wim@fluendo.com>
10652 * docs/design/part-events.txt:
10653 * docs/design/part-gstbus.txt:
10654 * docs/design/part-gstpipeline.txt:
10655 * docs/design/part-messages.txt:
10656 * docs/design/part-overview.txt:
10657 * docs/design/part-segments.txt:
10661 * gst/gstelement.c:
10664 * gst/gstiterator.c:
10665 Various documentation updates.
10667 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
10670 Well, that's embarassing. Luckily we weren't using
10671 GST_CLOCK_DIFF anywhere.
10673 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
10675 * common/gtk-doc.mak:
10676 don't fail on building XML, FC4 slave shows a bunch of doc
10677 missing bits that I don't get
10679 * gst/gstpipeline.c:
10680 * gst/gststructure.c:
10683 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
10685 * docs/design/part-gstbin.txt:
10686 * docs/design/part-gstbus.txt:
10688 Add blurb about how the bus goes into flushing mode and
10689 drops all messages when its bin goes from READY into NULL
10692 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
10694 * docs/gst/gstreamer-sections.txt:
10695 * gst/gststructure.c: (gst_structure_get_clock_time):
10696 * gst/gststructure.h:
10697 add a method to get a GstClockTime out of a structure
10699 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
10701 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
10702 (test_children_state_change_order_semi_sink), (gst_bin_suite):
10703 Added test to check state change order in bins (can still be made
10704 to fail here under heavy disk load; bails out with 'Push on pad
10705 fakesink:sink0, but it was not activated in push mode').
10707 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
10708 Fix state change order when there is only a semi sink (#316856)
10710 * gst/gstbus.c: (gst_bus_class_init):
10711 Use _class_peek_parent(), not _class_ref(); fix docs to say
10712 'default main context' instead of 'mainloop' where that is
10715 * gst/gstelement.c: (gst_element_commit_state),
10716 (gst_element_set_state):
10717 Fix typos in debug messages
10719 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
10722 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
10723 * gst/gstpluginfeature.c:
10725 various doc updates
10726 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10727 change an assert into an error until it gets fixed properly
10729 2005-09-23 Stefan Kost <ensonic@users.sf.net>
10731 * docs/gst/gstreamer-sections.txt:
10732 * docs/gst/tmpl/.cvsignore:
10733 * docs/gst/tmpl/gstelement.sgml:
10734 * docs/gst/tmpl/gstinfo.sgml:
10735 * docs/gst/tmpl/gstobject.sgml:
10736 * gst/gstelement.c:
10737 * gst/gstelement.h:
10740 * gst/gstobject.c: (gst_object_class_init):
10742 inlined 3 more biiiig doc files and added some missing docs on the fly
10744 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
10746 * check/gst/.cvsignore:
10747 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
10748 * gst/gstregistryxml.c: (load_plugin),
10749 (gst_registry_xml_save_plugin):
10750 put back source in registry. add checks for find_plugin.
10751 * testsuite/states/bin.c: (assert_state), (empty_bin),
10752 (test_adding_one_element), (main):
10753 * testsuite/states/locked.c: (main):
10754 some compile/run fixes
10756 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
10758 * check/gst/gstvalue.c: (GST_START_TEST):
10759 fix leaks in the test itself
10761 2005-09-22 Wim Taymans <wim@fluendo.com>
10763 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
10764 (gst_base_sink_send_event), (gst_base_sink_peer_query),
10765 (gst_base_sink_query):
10766 Prepare for more accurate position reporting and query
10769 * gst/gstelement.c: (gst_element_send_event),
10770 (gst_element_set_state):
10773 2005-09-22 Wim Taymans <wim@fluendo.com>
10775 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
10776 (gst_query_parse_segment):
10778 More documentation.
10779 Add segment query for future use.
10781 2005-09-22 Wim Taymans <wim@fluendo.com>
10783 * gst/gstbin.c: (gst_bin_add_func):
10784 Some more debug info.
10786 * gst/gstelement.c: (gst_element_send_event):
10787 Simplify send_event
10789 * gst/gstelement.h:
10790 Don't know how flags got broken.
10795 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
10797 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
10798 Add simplistic test suite for GST_TYPE_DATE serialisation and
10801 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
10803 * docs/gst/gstreamer-sections.txt:
10804 * gst/gststructure.c: (gst_structure_set_valist),
10805 (gst_structure_get_date):
10806 * gst/gststructure.h:
10807 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
10808 (gst_date_copy), (gst_value_compare_date),
10809 (gst_value_serialize_date), (gst_value_deserialize_date),
10810 (gst_value_transform_date_string),
10811 (gst_value_transform_string_date), (_gst_value_initialize):
10813 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
10814 bunch of utility functions along with a hack that checks that
10815 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
10816 is required. Part of the grand scheme in #170777.
10818 2005-09-22 Andy Wingo <wingo@pobox.com>
10820 * gst/gstconfig.h.in: Psych out gtk-doc.
10822 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
10824 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
10826 * tools/gst-inspect.c (print_element_list): Plug some
10827 inconsequential leaks.
10829 * gst/gstregistry.c (gst_registry_get_default): Doc.
10831 * check/gst/gstplugin.c:
10832 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
10833 * gst/gstelementfactory.c (gst_element_factory_create):
10834 * gst/gstindexfactory.c (gst_index_factory_create): Update for
10837 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
10838 (gst_plugin_feature_load): Doc, don't eat refs.
10840 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
10841 (gst_plugin_list_free): Doc.
10842 (gst_plugin_load_file): Doc updates.
10844 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
10845 accessors returning refcounted objects, return a ref.
10847 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
10848 accessor for caps. IDEMPOTENCE. Oh yes.
10850 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
10852 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10854 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
10855 (_gst_debug_register_funcptr):
10856 Add mutex to serialise access to the hash table with
10857 the function pointer => function name string mapping;
10858 make that hash table static scope (#316809).
10860 * gst/registries/.cvsignore:
10861 Remove left-over file.
10863 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
10865 * docs/pwg/appendix-porting.xml:
10866 And something about newsegment events and caps-on-buffers to
10867 the porting guide (feel free to improve).
10869 2005-09-21 Andy Wingo <wingo@pobox.com>
10871 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
10872 data and event probes on the same pad.
10873 (test_buffer_probe_once): Test that removing probes from within
10874 the probe functions works.
10876 2005-09-21 Andy Wingo <wingo@pobox.com>
10878 * check/gst/gstutils.c: New file.
10879 (test_buffer_probe_n_times): A simple buffer probe test. More to
10882 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
10883 have-data::buffer, not have-data.
10884 (gst_pad_add_event_probe): Likewise for have-data::event.
10885 (gst_pad_add_data_probe): More docs. The part about 'resolving the
10886 peer' isn't quite right yet though.
10887 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
10888 (gst_pad_remove_data_probe): Change to take the guint handler_id
10889 as their arg, not the function+data, which is more glib-like.
10891 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
10892 the signal emission to indicate if the data is a buffer or an
10894 (gst_pad_get_type): Initialize buffer and event quarks.
10895 (gst_pad_class_init): have-data is now a detailed signal, yes it
10898 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
10900 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
10901 * gst/gstutils.c: (gst_util_set_value_from_string),
10902 (gst_util_set_object_arg):
10903 Don't put functional code in g_return_if_fail() or
10904 g_return_val_if_fail() statements, otherwise things will
10905 break when G_DISABLE_CHECKS is defined during compilation.
10907 2005-09-21 Stefan Kost <ensonic@users.sf.net>
10909 * docs/gst/tmpl/.cvsignore:
10910 * docs/gst/tmpl/gstvalue.sgml:
10913 inlied another one and added some obvious docs
10915 2005-09-21 Wim Taymans <wim@fluendo.com>
10917 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
10918 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
10919 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
10920 (gst_fdsrc_get_property), (gst_fdsrc_create):
10921 * gst/elements/gstfdsrc.h:
10922 Properly implement fdsrc. Removed signal and timeout,
10923 better implemented somewhere else.
10925 2005-09-21 Stefan Kost <ensonic@users.sf.net>
10927 * docs/gst/tmpl/.cvsignore:
10928 * docs/gst/tmpl/gstimplementsinterface.sgml:
10929 * gst/gstinterface.c:
10932 2005-09-21 Stefan Kost <ensonic@users.sf.net>
10934 * docs/gst/gstreamer-sections.txt:
10935 * docs/gst/tmpl/.cvsignore:
10936 * docs/gst/tmpl/gstenumtypes.sgml:
10937 remove obsolete doc file
10939 2005-09-21 David Schleef <ds@schleef.org>
10941 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
10942 little beer, fix a little leak.
10944 2005-09-21 Stefan Kost <ensonic@users.sf.net>
10946 * docs/gst/gstreamer-docs.sgml:
10947 * docs/gst/gstreamer-sections.txt:
10948 * docs/gst/tmpl/.cvsignore:
10952 * gst/gstelement.h:
10953 * gst/gstindex.c: (gst_index_class_init):
10955 * gst/gstindexfactory.c: (gst_index_factory_get_type),
10956 (gst_index_factory_class_init), (gst_index_factory_init),
10957 (gst_index_factory_finalize), (gst_index_factory_new),
10958 (gst_index_factory_destroy), (gst_index_factory_find),
10959 (gst_index_factory_create), (gst_index_factory_make):
10960 * gst/gstindexfactory.h:
10961 * gst/gstpluginfeature.c:
10962 * gst/gstpluginfeature.h:
10963 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
10964 more docs inlined, splitted gstindex.{c,h}
10966 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
10968 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
10971 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
10973 * gst/elements/gstfilesink.c: (gst_file_sink_init):
10974 Set sync to FALSE by default.
10976 2005-09-20 Wim Taymans <wim@fluendo.com>
10978 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
10979 (gst_base_sink_init):
10980 Make sync property settable from subclass.
10982 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
10983 (gst_fake_sink_change_state):
10984 Set sync to FALSE by default.
10986 2005-09-20 Wim Taymans <wim@fluendo.com>
10988 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
10989 * tools/gst-launch.c: (main):
10990 The timeout handler should have lower priority than the source
10991 so we don't timeout before popping a message with 0 timeout.
10992 Dump error messages after failed state change.
10994 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
10996 * tools/gst-inspect.c: (print_element_properties_info):
10999 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
11001 * check/gst/gstevent.c:
11002 * gst/elements/gstfakesink.c:
11003 * gst/elements/gstfakesink.h:
11004 remove the sync property from fakesink.
11005 has the side effect of setting sync TRUE
11006 for fakesink, which is a change. Anyone who knows how
11007 to fix this nicely in a GObject-y way, feel free.
11009 2005-09-20 Stefan Kost <ensonic@users.sf.net>
11011 * docs/gst/gstreamer-docs.sgml:
11012 remove probe refsection
11014 2005-09-20 Stefan Kost <ensonic@users.sf.net>
11016 * check/Makefile.am:
11017 disable valgrinding the controller test again
11018 * docs/gst/gstreamer-sections.txt:
11019 update for api-changes
11021 2005-09-20 Wim Taymans <wim@fluendo.com>
11023 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
11024 (gst_base_sink_set_property), (gst_base_sink_get_property),
11025 (gst_base_sink_do_sync):
11026 * gst/base/gstbasesink.h:
11027 Added sync property to basesink to disable clock sync.
11029 2005-09-20 Andy Wingo <wingo@pobox.com>
11031 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
11032 eating the caller's refcount.
11034 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
11035 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
11038 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
11039 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
11040 of GLib 2.8 public, so we can know which refcount to check in
11043 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
11044 (gst_object_init): Only set the gst refcount if we're going ahead
11045 with the refcount hack.
11047 2005-09-20 Stefan Kost <ensonic@users.sf.net>
11049 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
11050 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
11051 more leaks plumbed, added more debug-logging
11055 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
11057 * gst/gstmessage.c:
11058 remove include of gstmemchunk.h
11060 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
11062 * gst/gstclock.c: (_gst_clock_id_free):
11063 Commit from the Political Party For More Atomic CVS Commits,
11064 so that people don't waste too much of their day fishing
11065 out obvious leaks out of massive commits.
11066 Oh, and fix a pretty damn obvious leak in the memchunk
11069 2005-09-20 Stefan Kost <ensonic@users.sf.net>
11071 * check/Makefile.am:
11072 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
11073 plug mem-leak, re-add to valgrindable tests
11075 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
11078 unbreak the build for those who have chronic arthritis
11079 and typing "make check" is just too taxing on the hands
11081 2005-09-20 Andy Wingo <wingo@pobox.com>
11083 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
11084 really want it out, you should fix plugins at the same time.
11086 2005-09-19 Stefan Kost <ensonic@users.sf.net>
11089 * docs/gst/gstreamer-sections.txt:
11091 added missing symbols to api docs
11092 disable ref-count hack if we have glib >= 2.8
11094 2005-09-19 David Schleef <ds@schleef.org>
11096 * docs/gst/Makefile.am: Ignore a few more internal headers
11097 * docs/gst/gstreamer-docs.sgml: Remove old sections
11098 * docs/gst/gstreamer-sections.txt: Remove old sections
11099 * docs/gst/tmpl/gstobject.sgml: update
11100 * docs/gst/tmpl/gstplugin.sgml: update
11101 * docs/gst/tmpl/gstpluginfeature.sgml: update
11102 * docs/random/ds/0.9-suggested-changes: update.
11103 * gst/Makefile.am: remove memchunk and trashstack, since they're
11105 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
11106 * gst/gst.h: don't include some headers
11107 * gst/gstchildproxy.c: add gstmarshal.h
11108 * gst/gstclock.c: Don't use memchunks
11109 * gst/gstminiobject.c: Add some docs
11110 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
11111 * gst/gstobject.h: same
11112 * gst/gstplugin.c: include gstmacros.h
11113 * gst/gstplugin.h: don't include gstmacros.h, since it's private
11114 * gst/gstquery.c: don't use memchunks
11115 * gst/gstregistry.c: rename gst_registry_deinit()
11116 * gst/gstregistry.h: same
11118 2005-09-19 David Schleef <ds@schleef.org>
11120 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
11121 * docs/libs/gstreamer-libs-sections.txt:
11122 * docs/libs/tmpl/gstgetbits.sgml:
11123 * docs/libs/tmpl/gstputbits.sgml:
11125 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
11127 * win32/gstenumtypes.c:
11128 * win32/gstenumtypes.h:
11131 2005-09-19 Wim Taymans <wim@fluendo.com>
11133 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
11134 Automatically PAUSE and RESUME a pipeline when a flushing seek
11137 2005-09-19 Andy Wingo <wingo@pobox.com>
11139 * gst/gstregistry.h: Spacing fixen.
11141 2005-09-19 Wim Taymans <wim@fluendo.com>
11143 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
11144 Handle state change failure more correctly.
11146 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
11148 * check/Makefile.am:
11149 * check/pipelines/cleanup.c: (run_pipeline):
11150 * check/pipelines/simple_launch_lines.c: (run_pipeline),
11152 enable cleanup again after fixing the leak
11154 some more info on docs
11156 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
11158 * check/Makefile.am:
11159 re-enable tests now that leaks are plugged
11161 * check/gst/gstbin.c:
11162 * check/gst/gstpipeline.c:
11163 add some more tests while fixing leaks
11164 * common/check.mak:
11165 make sure binaries are uptodate when valgrinding/gdbing
11167 * gst/gstelementfactory.c:
11168 remove a ref too many, and add a FIXME for when we get
11169 round to disposing of classes
11171 fix the refcounting when loading a plugin from a file and
11172 the code pretends that the pointer is the same even though
11173 of course it can change
11174 * gst/gstpluginfeature.c:
11175 unref plugins marked cached (a bit confusing as a name)
11176 as the docs state should be done
11177 various doc additions to explain refcounting
11178 * gst/gstregistry.c:
11179 * gst/gstregistryxml.c:
11182 2005-09-19 Wim Taymans <wim@fluendo.com>
11184 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
11185 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
11186 (send_messages), (GST_START_TEST), (gstbus_suite):
11187 * check/gst/gstpipeline.c: (GST_START_TEST):
11188 * check/pipelines/cleanup.c: (run_pipeline):
11189 * check/pipelines/simple_launch_lines.c: (run_pipeline),
11191 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
11192 (gst_bus_source_check), (gst_bus_source_dispatch),
11193 (gst_bus_create_watch), (gst_bus_add_watch_full),
11194 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
11196 * tools/gst-launch.c: (event_loop):
11197 * tools/gst-md5sum.c: (event_loop):
11198 GstBusHandler -> GstBusFunc, return value has the same meaning as
11199 any other GSource (FALSE == remove source).
11200 _add_watch() and _add_watch_full() now take a MessageType mask to
11201 only handle specific types of messages.
11202 _poll() returns the GstMessage instead of the message type to avoid
11204 _have_pending() takes a MessageType mask now too.
11205 Added testsuite for multiple bus watches.
11206 Fix testsuites and applications for new bus API.
11208 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
11210 * check/Makefile.am:
11211 mark a bunch of the tests as to fix until we fix them
11213 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
11215 * common/check.mak:
11216 use GST_PLUGIN settings for valgrind tests as well, so we're
11217 valgrinding the correct thing
11218 * gst/gst.c: (init_post):
11221 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
11223 * gst/gst.c: (init_post), (gst_deinit):
11224 * gst/gstelementfactory.c: (gst_element_factory_class_init),
11225 (gst_element_factory_finalize), (gst_element_factory_cleanup):
11226 * gst/gstindex.c: (gst_index_factory_class_init),
11227 (gst_index_factory_finalize):
11228 * gst/gstobject.c: (gst_object_dispose):
11229 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
11230 (gst_plugin_load_file), (gst_plugin_desc_free):
11231 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
11232 (gst_plugin_feature_finalize):
11233 * gst/gstregistry.c: (gst_registry_class_init),
11234 (gst_registry_init), (gst_registry_finalize),
11235 (gst_registry_get_default), (gst_registry_deinit):
11236 * gst/gstregistry.h:
11237 * gst/gstregistryxml.c: (load_feature), (load_plugin):
11238 various cleanups and memleak plugging. make valgrind is happy now.
11240 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
11242 * common/check.mak:
11243 add a check-valgrind target
11245 2005-09-18 David Schleef <ds@schleef.org>
11247 * tools/gst-inspect.c: Revert the GOption code.
11249 2005-09-17 David Schleef <ds@schleef.org>
11251 * check/Makefile.am: Fix environment variables.
11252 * check/gst/gstplugin.c: Fix for API changes.
11253 * tools/gst-inspect.c: Fix for API changes.
11254 * tools/gst-xmlinspect.c: Fix for API changes.
11255 * gst/gstelementfactory.c:
11258 * gst/gstpluginfeature.c:
11259 * gst/gstpluginfeature.h:
11260 * gst/gstregistry.c:
11261 * gst/gstregistry.h:
11262 * gst/gstregistryxml.c:
11263 * gst/gsttypefind.c:
11264 * gst/gsttypefindfactory.c:
11265 * gst/indexers/gstfileindex.c:
11266 * gst/indexers/gstmemindex.c:
11267 * gst/schedulers/Makefile.am:
11268 Change registry to keep track of both plugins and features,
11269 removing the feature tracking from plugins themselves.
11271 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
11273 * check/Makefile.am:
11274 * tools/gst-register.1.in:
11275 remove gst-register
11277 2005-09-15 David Schleef <ds@schleef.org>
11279 * check/gst/gstplugin.c:
11280 * gst/gstelementfactory.c:
11282 * gst/gstpluginfeature.c:
11283 * gst/gstregistry.c:
11284 Getting tired of debugging. Disabled all the unreffing of
11285 plugins and features, which fixes the segfaults, but of
11286 course leaks like crazy. At least playbin works.
11288 2005-09-15 David Schleef <ds@schleef.org>
11290 * check/gst/gstplugin.c: (register_check_elements),
11291 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
11293 * gst/elements/gsttypefindelement.c: Fix refcounting.
11294 * gst/gsttypefind.c:
11295 * gst/gsttypefindfactory.c:
11296 * gst/gsttypefindfactory.h:
11298 2005-09-15 David Schleef <ds@schleef.org>
11300 * gst/gstindex.c: get refcounting correct.
11301 * gst/gstregistry.c: Handle the case where a feature/plugin is
11304 2005-09-15 David Schleef <ds@schleef.org>
11306 * check/Makefile.am:
11307 * check/gst/gstplugin.c: Add test
11308 * gst/gstplugin.c: Fix problems noticed by testsuite
11310 * gst/gstregistry.c:
11311 * gst/gstregistry.h:
11313 2005-09-15 David Schleef <ds@schleef.org>
11315 * gst/gstplugin.c: Implement semi-decent recounting and locking
11316 in plugins and plugin features.
11318 * gst/gstpluginfeature.c:
11319 * gst/gstpluginfeature.h:
11320 * gst/gstregistry.c:
11322 2005-09-15 Michael Smith <msmith@fluendo.com>
11324 * gst/gstregistry.c: (gst_registry_get_feature_list):
11325 Implement this. Makes oggdemux work; decodebin still broken.
11327 2005-09-14 David Schleef <ds@schleef.org>
11329 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
11331 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
11332 * gst/check/Makefile.am:
11333 * libs/gst/controller/Makefile.am:
11334 * libs/gst/dataprotocol/Makefile.am:
11336 2005-09-14 David Schleef <ds@schleef.org>
11338 * configure.ac: Remove getbits library. Nothing uses it, and
11339 it should be in something like liboil if someone did want
11341 * libs/gst/Makefile.am:
11342 * libs/gst/getbits/Makefile.am:
11343 * libs/gst/getbits/gbtest.c:
11344 * libs/gst/getbits/getbits.c:
11345 * libs/gst/getbits/getbits.h:
11346 * libs/gst/getbits/gstgetbits_generic.c:
11347 * libs/gst/getbits/gstgetbits_i386.s:
11348 * libs/gst/getbits/gstgetbits_inl.h:
11350 2005-09-14 David Schleef <ds@schleef.org>
11352 * gst/Makefile.am: Dist glib-compat.h
11354 2005-09-14 David Schleef <ds@schleef.org>
11356 * configure.ac: Remove gst/registries, since it's no longer used.
11357 * gst/registries/Makefile.am:
11358 * gst/registries/gstlibxmlregistry.c:
11359 * gst/registries/gstlibxmlregistry.h:
11360 * gst/registries/gstxmlregistry.c:
11361 * gst/registries/gstxmlregistry.h:
11362 * gst/registries/registrytest.c:
11364 2005-09-14 David Schleef <ds@schleef.org>
11366 * gst/glib-compat.h:
11367 * gst/gstregistryxml.c:
11368 Convergence is near. Seriously.
11370 2005-09-14 David Schleef <ds@schleef.org>
11372 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
11373 * gst/glib-compat.h:
11374 Attempt #4 to appease the buildbots.
11376 2005-09-14 David Schleef <ds@schleef.org>
11378 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
11381 2005-09-14 David Schleef <ds@schleef.org>
11383 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
11386 2005-09-14 David Schleef <ds@schleef.org>
11388 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
11391 2005-09-14 David Schleef <ds@schleef.org>
11393 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
11394 * gst/glib-compat.h: Add some functions that are in newer versions
11395 of glib than we care to require.
11396 * gst/gstregistryxml.c: Use them.
11398 2005-09-14 David Schleef <ds@schleef.org>
11400 * po/POTFILES.in: remove gst-register.c
11402 2005-09-14 David Schleef <ds@schleef.org>
11404 * docs/gst/gstreamer-docs.sgml:
11405 * docs/gst/gstreamer-sections.txt:
11406 * docs/gst/gstreamer.types:
11407 * docs/gst/tmpl/gstelement.sgml:
11408 * docs/gst/tmpl/gstplugin.sgml:
11409 * docs/gst/tmpl/gstpluginfeature.sgml:
11410 Documentation updates for registry changes.
11412 2005-09-14 David Schleef <ds@schleef.org>
11414 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
11415 because we don't require glib-2.8.
11417 2005-09-14 David Schleef <ds@schleef.org>
11419 * gst/gstregistryxml.c: Added. Essentially moved out of the
11420 registries directory.
11422 2005-09-14 David Schleef <ds@schleef.org>
11424 * check/Makefile.am:
11425 * check/generic/states.c:
11429 * gst/gst_private.h:
11430 * gst/gstelementfactory.c:
11435 * gst/gstpluginfeature.c:
11436 * gst/gstpluginfeature.h:
11437 * gst/gstregistry.c:
11438 * gst/gstregistry.h:
11439 * gst/gstregistrypool.c: remove
11440 * gst/gstregistrypool.h: remove
11441 * gst/gsttypefind.c:
11442 * gst/gsttypefindfactory.c:
11444 * tools/Makefile.am:
11445 * tools/gst-compprep.c:
11446 * tools/gst-inspect.c:
11447 * tools/gst-register.c: remove
11448 * tools/gst-xmlinspect.c:
11449 Registry rewrite. Changes registry from being a file created
11450 by a tool into a simple cache file created automatically by
11451 libgstreamer. Removed gst-register (because it's no longer
11452 needed). Remove registry pools, because we only have one
11453 registry implementation (XML). Fix up other subsystems as
11456 2005-09-13 Michael Smith <msmith@fluendo.com>
11458 * gst/gstconfig.h.in:
11459 Don't Use windows linking attributes for MinGW. Fixes #316157
11461 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
11463 * gst/gstutils.c: (set_state_async_thread_func),
11464 (gst_element_set_state_async):
11465 Apparently people think it's better if this function doesn't
11466 try to set the state to whatever state was asked for on the first
11467 call to this function for any object. Seriously.
11469 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
11471 * check/gst/gstpipeline.c: (GST_START_TEST):
11472 * docs/gst/gstreamer-sections.txt:
11473 * gst/gstutils.c: (set_state_async_thread_func),
11474 (gst_element_set_state_async):
11476 add a "gst_element_set_state_async" method that
11477 sets the state and starts a thread to make sure the state
11478 change completes as best as it can
11480 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
11482 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
11483 codify design+behaviour in testsuite after discussion
11485 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
11487 * docs/gst/tmpl/gstelement.sgml:
11488 * docs/manual/appendix-quotes.xml:
11490 * gst/gstelement.c: (gst_element_set_state):
11493 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
11495 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
11496 (gst_base_transform_prepare_output_buf),
11497 (gst_base_transform_handle_buffer):
11498 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
11499 (gst_capsfilter_prepare_buf):
11500 Remove the requirement for sub-classes to call the parent
11501 implementation of prepare_output_buffer with a wrapper function.
11503 * gst/gsttaglist.h:
11504 * gst/gsttagsetter.h:
11505 Fix #define wrapper
11507 2005-09-11 Stefan Kost <ensonic@users.sf.net>
11509 * docs/gst/gstreamer-sections.txt:
11512 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
11514 * docs/gst/gstreamer-sections.txt:
11515 * docs/gst/tmpl/gstelement.sgml:
11516 * docs/gst/tmpl/gstplugin.sgml:
11517 * gst/gstminiobject.c:
11519 docs now stop throwing warnings
11521 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
11523 * docs/gst/gstreamer-sections.txt:
11524 * docs/gst/gstreamer.types:
11525 * docs/gst/tmpl/gstpad.sgml:
11526 * docs/gst/tmpl/gsttypes.sgml:
11527 * gst/base/gstadapter.h:
11528 * gst/base/gstbasesink.h:
11529 * gst/base/gstbasesrc.h:
11535 * gst/gstelement.h:
11537 * gst/gstmessage.h:
11539 * gst/gststructure.c:
11540 * gst/registries/gstlibxmlregistry.h:
11541 various documentation fixes
11543 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
11545 * docs/gst/gstreamer-sections.txt:
11546 * docs/gst/tmpl/gstvalue.sgml:
11547 rearrange gstvalue section
11548 * gst/gstutils.c: (gst_element_state_get_name):
11550 * gst/gstvalue.c: (_gst_value_initialize):
11554 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
11556 * check/gst-libs/controller.c:
11557 Header include fix.
11558 * gst/base/gstbasetransform.c:
11559 (gst_base_transform_default_prepare_buf),
11560 (gst_base_transform_handle_buffer):
11561 * gst/base/gstbasetransform.h:
11562 Some more basetransform changes and fixes to enable sub-classes
11563 that modify buffer metadata only.
11564 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
11565 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
11566 (gst_capsfilter_prepare_buf):
11567 If the output pad has fixed allowed caps and input buffers
11568 don't have any, set the fixed caps on outgoing buffers.
11570 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
11571 * check/elements/identity.c: (GST_START_TEST):
11572 Make the error a little clearer when the test fails because
11573 identity made a copy of the buffer.
11574 * docs/gst/gstreamer-sections.txt:
11575 New symbols in gstbasetransform.h
11576 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
11577 (gst_base_transform_init), (gst_base_transform_transform_size),
11578 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
11579 (gst_base_transform_default_prepare_buf),
11580 (gst_base_transform_get_unit_size),
11581 (gst_base_transform_buffer_alloc),
11582 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
11583 (gst_base_transform_change_state),
11584 (gst_base_transform_set_passthrough),
11585 (gst_base_transform_set_in_place),
11586 (gst_base_transform_is_in_place):
11587 * gst/base/gstbasetransform.h:
11588 Change BaseTransform to separate in_place operate from same_caps
11589 output. in_place implies that the element can perform the transform
11590 on incoming buffers in-place, even if the caps on the output are
11592 Sub-class elements can now implement special buffer allocation
11593 methods for outgoing buffers if they wish to.
11594 Big documentation addition.
11595 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
11596 * gst/elements/gstelements.c:
11597 Changes for basetransform modifications.
11598 * gst/elements/Makefile.am:
11599 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
11600 Compile fix. Extra debug output.
11602 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
11604 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
11606 add tests for valid pad naming
11607 * gst/check/gstcheck.c: (gst_check_log_message_func),
11608 (gst_check_log_critical_func):
11610 remove printing of code, it is fragile when the code contains
11611 % and the line number is enough info
11612 * gst/check/gstcheck.h:
11613 * gst/gstpad.c: (gst_pad_template_new):
11616 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
11619 say what CHECK flags we use
11620 * docs/libs/gstreamer-libs.types:
11621 * libs/gst/controller/Makefile.am:
11622 * libs/gst/controller/gst-controller.c:
11623 * libs/gst/controller/gst-controller.h:
11624 * libs/gst/controller/gst-helper.c:
11625 * libs/gst/controller/gst-interpolation.c:
11626 * libs/gst/controller/gstcontroller.c:
11627 * libs/gst/controller/gsthelper.c:
11628 * libs/gst/controller/gstinterpolation.c:
11629 * tools/gst-inspect.c: (print_plugin_info):
11630 we don't use dashes in header names
11632 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
11634 * check/Makefile.am:
11635 * check/gst/.cvsignore:
11636 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
11637 (gst_pipeline_suite), (main):
11638 adding a test for pipelines and state changes
11639 * gst/gstutils.c: (get_state_func):
11641 * gstreamer.spec.in:
11644 2005-09-08 Michael Smith <msmith@fluendo.com>
11646 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
11647 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
11648 (gst_file_src_is_seekable), (gst_file_src_get_size),
11649 (gst_file_src_start):
11650 * gst/elements/gstfilesrc.h:
11651 Various fixes for unseekable, unmmapable, and non-normal files, so
11652 that fallback to read() rather than mmap() works.
11653 * gst/gstevent.c: (gst_event_new_newsegment):
11654 Allow newsegment events with segment_start == segment_end, as will
11655 correctly happen if you use filesrc on a zero-size file, for
11658 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
11660 * gst/gstplugin.c: (gst_plugin_load_file):
11661 Call g_module_close when we don't load the module
11663 * gst/registries/gstlibxmlregistry.c:
11664 (gst_xml_registry_get_property):
11665 Port leak fix from 0.8
11667 2005-09-07 Stefan Kost <ensonic@users.sf.net>
11669 * docs/gst/gstreamer-docs.sgml:
11670 * docs/gst/tmpl/.cvsignore:
11671 * docs/gst/tmpl/gsttrace.sgml:
11672 * docs/gst/tmpl/gsttrashstack.sgml:
11675 * gst/gstelement.h:
11677 * gst/gstmessage.c:
11678 * gst/gstmessage.h:
11681 * gst/gsttaginterface.c:
11682 * gst/gsttaginterface.h:
11683 * gst/gsttaglist.c:
11684 * gst/gsttaglist.h:
11685 * gst/gsttagsetter.c:
11686 * gst/gsttagsetter.h:
11689 * gst/gsttrashstack.c:
11690 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
11691 inlined docs for gsttrace, gsttrashstack
11693 2005-09-07 Stefan Kost <ensonic@users.sf.net>
11696 * gst/elements/gstbufferstore.h:
11697 * gst/elements/gsttypefindelement.c:
11698 * gst/elements/gsttypefindelement.h:
11700 * gst/gsttypefind.c:
11701 * gst/gsttypefind.h:
11702 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
11703 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
11704 (gst_type_find_factory_dispose),
11705 (gst_type_find_factory_unload_thyself),
11706 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
11707 (gst_type_find_factory_get_caps),
11708 (gst_type_find_factory_get_extensions),
11709 (gst_type_find_factory_call_function):
11710 * gst/gsttypefindfactory.h:
11711 * gst/registries/gstlibxmlregistry.c:
11712 * gst/registries/gstxmlregistry.c:
11713 splitted gsttypefind into gsttypefind, gsttypefindfactory
11715 2005-09-07 Andy Wingo <wingo@pobox.com>
11717 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
11718 condition whereby the pad's task function is entered before the
11719 pad_mode variable was set.
11721 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
11723 * gst/gstpad.c: (gst_pad_alloc_buffer):
11724 Catch misbehaving pad_alloc functions that don't
11725 set up caps and do it for them.
11727 2005-09-07 Stefan Kost <ensonic@users.sf.net>
11729 * check/pipelines/simple_launch_lines.c: (run_pipeline):
11730 test for pipe!=NULL
11731 * docs/gst/tmpl/.cvsignore:
11732 * docs/gst/tmpl/gstmemchunk.sgml:
11733 * docs/gst/tmpl/gstparse.sgml:
11734 * docs/gst/tmpl/gsttaglist.sgml:
11735 * docs/gst/tmpl/gsttagsetter.sgml:
11736 * docs/gst/tmpl/gsttypefind.sgml:
11737 * docs/gst/tmpl/gsttypefindfactory.sgml:
11738 * gst/gstmemchunk.c:
11741 * gst/gsttaginterface.c:
11742 * gst/gsttypefind.c:
11743 * gst/gsttypefind.h:
11746 === release 0.9.2 ===
11748 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
11753 releasing 0.9.2, "South"
11755 2005-09-05 Andy Wingo <wingo@pobox.com>
11757 * gst/registries/gstxmlregistry.h:
11758 * gst/registries/gstxmlregistry.c: Um... resurrect...
11760 * gst/registries/gstxmlregistry.h:
11761 * gst/registries/gstxmlregistry.c: and update to newer API.
11762 Incidentally they should be a bit faster now that they don't have
11765 2005-09-05 Andy Wingo <wingo@pobox.com>
11767 * gst/registries/gstxmlregistry.h:
11768 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
11769 replaced by the libxml registry a while back
11771 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
11773 * docs/gst/tmpl/gstplugin.sgml:
11774 * gst/elements/gstelements.c:
11776 * gst/gstplugin.c: (gst_plugin_register_func),
11777 (gst_plugin_desc_copy), (gst_plugin_desc_free),
11778 (gst_plugin_get_source):
11780 * gst/registries/gstlibxmlregistry.c: (load_plugin),
11781 (gst_xml_registry_save_plugin):
11782 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
11783 (gst_xml_registry_save_plugin):
11784 * tools/gst-inspect.c: (print_plugin_info):
11785 add a "source" plugin description field, to represent the source
11786 module this plugin is a part of. By default GST_PLUGIN_DEFINE
11787 will set it to PACKAGE, which is automake's idea of the name of
11788 the source project.
11790 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
11795 * docs/Makefile.am:
11796 * docs/faq/Makefile.am:
11797 * docs/gst/tmpl/gstelement.sgml:
11798 * docs/gst/tmpl/gsttypes.sgml:
11799 * docs/htmlinstall.mak:
11800 * docs/manual/Makefile.am:
11801 * docs/pwg/Makefile.am:
11802 reorganize doc build a little
11803 split out docbook and gtk-doc stuff
11804 have two separate --enable's and enable them through autogen
11805 but disable by default in configure (to be similar to other
11807 * gstreamer.spec.in:
11808 clean up docs install
11826 translation updates
11828 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
11830 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
11833 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
11834 (gst_fake_sink_change_state):
11835 Make state change function thread-safe.
11837 * gst/gstpad.c: (gst_pad_alloc_buffer):
11838 Set offset on generic buffer allocated by fallback.
11840 2005-09-03 Stefan Kost <ensonic@users.sf.net>
11842 * docs/gst/gstreamer-sections.txt:
11843 * docs/gst/tmpl/gstelement.sgml:
11845 * libs/gst/controller/gst-controller.c:
11846 (gst_controlled_property_set_interpolation_mode),
11847 (gst_controlled_property_new),
11848 (gst_controller_find_controlled_property):
11849 run the wingo-magic script against the docs
11851 2005-09-02 Stefan Kost <ensonic@users.sf.net>
11853 * docs/gst/gstreamer-docs.sgml:
11854 * docs/gst/gstreamer-sections.txt:
11855 * docs/gst/tmpl/.cvsignore:
11856 * docs/gst/tmpl/gstelementdetails.sgml:
11857 * docs/gst/tmpl/gstelementfactory.sgml:
11860 * gst/gstelementfactory.c:
11861 * gst/gstelementfactory.h:
11862 merged elementdetails docs into elementfactory docs
11865 2005-09-02 Andy Wingo <wingo@pobox.com>
11867 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
11868 consider this enum an enum and not a flags.
11870 2005-09-02 Stefan Kost <ensonic@users.sf.net>
11872 * docs/gst/gstreamer-docs.sgml:
11873 * docs/gst/tmpl/.cvsignore:
11874 * docs/gst/tmpl/gstghostpad.sgml:
11875 * docs/gst/tmpl/gstiterator.sgml:
11876 * docs/gst/tmpl/gstmacros.sgml:
11877 * docs/gst/tmpl/gstrealpad.sgml:
11878 * docs/gst/tmpl/gstregistry.sgml:
11879 * docs/gst/tmpl/gstregistrypool.sgml:
11880 * docs/gst/tmpl/gststructure.sgml:
11881 * docs/gst/tmpl/gstsystemclock.sgml:
11882 * docs/gst/tmpl/gsttrace.sgml:
11883 * gst/gstghostpad.c:
11885 * gst/gstmemchunk.c:
11886 * gst/gstmemchunk.h:
11888 * gst/gstregistry.c:
11889 * gst/gstregistrypool.c:
11890 * gst/gststructure.c:
11891 * gst/gstsystemclock.c:
11894 2005-09-02 Andy Wingo <wingo@pobox.com>
11896 * gst/gstelement.h (GstState): Renamed from GstElementState,
11897 changed to be a normal enum instead of flags.
11898 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
11899 munged to be GST_STATE_CHANGE_*.
11900 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
11901 work with the new state representation.
11902 (GstStateChange): New enumeration of possible state transitions.
11903 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
11904 (GstElementClass::change_state): Pass the GstStateChange along as
11905 an argument. Helps language bindings, so they don't have to use
11906 tricky lock-needing macros like GST_STATE_CHANGE ().
11908 * scripts/update-states (file): New script. Run it on a file to
11909 update it for state naming and API changes. Updates files in
11912 * All files updated for the new API.
11914 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
11916 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
11917 * gst/gstutils.c: (gst_util_set_value_from_string),
11918 (gst_util_set_object_arg):
11919 fix a bunch of unchecked return values
11920 * tools/gst-complete.c: (main):
11921 * gstreamer.spec.in:
11924 2005-09-01 Wim Taymans <wim@fluendo.com>
11926 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11927 (gst_base_sink_event), (gst_base_sink_do_sync),
11928 (gst_base_sink_handle_event):
11929 * gst/base/gstbasesink.h:
11930 Handle newsegments more correctly.
11935 * gst/gstevent.c: (gst_event_new_newsegment):
11936 A newsegment cannot have a start_time of -1
11938 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
11940 * win32/gstenumtypes.c:
11941 * win32/gstenumtypes.h:
11944 2005-08-31 Stefan Kost <ensonic@users.sf.net>
11946 * libs/gst/controller/gst-controller.c:
11947 (gst_controlled_property_set_interpolation_mode),
11948 (gst_controlled_property_new):
11949 fixed boolean again
11951 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
11953 * docs/faq/gst-uninstalled:
11958 * gst/gstutils.c: (gst_element_link_filtered):
11960 add gst_element_link_filtered
11962 2005-08-31 Stefan Kost <ensonic@users.sf.net>
11964 * docs/gst/gstreamer-docs.sgml:
11965 * docs/gst/gstreamer-sections.txt:
11966 * docs/gst/tmpl/.cvsignore:
11967 * docs/gst/tmpl/gsterror.sgml:
11968 * docs/gst/tmpl/gstfilter.sgml:
11969 * docs/gst/tmpl/gsturihandler.sgml:
11970 * docs/gst/tmpl/gsturitype.sgml:
11971 * docs/gst/tmpl/gstutils.sgml:
11972 * docs/gst/tmpl/gstxml.sgml:
11977 * gst/gsturitype.c:
11980 inlined more docs, fixed double id-ref
11982 2005-08-31 Wim Taymans <wim@fluendo.com>
11984 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
11985 (gst_base_transform_handle_buffer):
11986 Passthrough elements don't need the caps as they don't care.
11988 2005-08-31 Wim Taymans <wim@fluendo.com>
11990 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
11991 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
11992 Don't leak refcounts on buffers.
11994 2005-08-31 Wim Taymans <wim@fluendo.com>
11996 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
11997 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
11998 (gst_base_transform_chain), (gst_base_transform_change_state):
11999 * gst/base/gstbasetransform.h:
12000 Handle the case where we are not negotiated more gracefully.
12002 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
12004 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
12005 (gst_file_src_map_region):
12006 Set READONLY flag on mmap'ed buffers, otherwise
12007 gst_buffer_make_writable() won't work properly (#314708).
12009 2005-08-31 Wim Taymans <wim@fluendo.com>
12011 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
12012 passthrough elements can even do inplace on non writable
12013 buffers (as they don't touch them).
12015 2005-08-31 Stefan Kost <ensonic@users.sf.net>
12017 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
12018 (gst_test_mono_source_set_property),
12019 (gst_test_mono_source_class_init), (GST_START_TEST),
12020 (gst_controller_suite):
12021 more tests (hehe I have the most)
12023 describe popping messages whenusing mulltiple sources
12024 * libs/gst/controller/gst-controller.c:
12025 (gst_controlled_property_set_interpolation_mode),
12026 (gst_controlled_property_new):
12027 * libs/gst/controller/gst-controller.h:
12028 * libs/gst/controller/gst-interpolation.c:
12029 implement boolean properties
12031 2005-08-31 Wim Taymans <wim@fluendo.com>
12033 * gst/gstminiobject.c: (gst_mini_object_ref):
12034 Cannot assert that the refcount has to be positive
12035 since a disposed object can be resurrected.
12037 2005-08-31 Wim Taymans <wim@fluendo.com>
12039 * gst/gstpad.c: (gst_pad_init):
12040 Revert change, need to first fix badly behaving
12043 2005-08-30 Wim Taymans <wim@fluendo.com>
12045 * check/elements/fakesrc.c: (setup_fakesrc):
12046 * check/elements/identity.c: (setup_identity):
12047 Activate pads before using them.
12049 2005-08-30 Wim Taymans <wim@fluendo.com>
12051 * gst/base/gstadapter.c: (gst_adapter_flush):
12052 Flushing out 0 bytes is ok for this function.
12054 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12055 no newsegment gives a warning and sets the start/stop to
12058 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
12059 (gst_base_transform_set_passthrough):
12062 * gst/gstminiobject.c: (gst_mini_object_ref):
12063 Check refcount here too.
12065 * gst/gstpad.c: (gst_pad_init):
12066 Pads are initially flushing and refusing data.
12068 * gst/gstutils.c: (gst_element_link_pads_filtered):
12069 When adding a capsfilter element make sure it has the
12070 same state as the parent bin.
12072 2005-08-30 Stefan Kost <ensonic@users.sf.net>
12074 * docs/gst/tmpl/.cvsignore:
12075 * docs/gst/tmpl/gstformat.sgml:
12076 * docs/gst/tmpl/gstversion.sgml:
12080 * gst/gstversion.h.in:
12081 more docs and two more inlined
12083 2005-08-30 Wim Taymans <wim@fluendo.com>
12085 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
12086 Don't sync to clock.
12088 2005-08-30 Stefan Kost <ensonic@users.sf.net>
12090 * docs/gst/gstreamer-sections.txt:
12091 ultral33t func10ns deserve to appear in the docs actually
12092 * docs/gst/tmpl/.cvsignore:
12093 * docs/gst/tmpl/gstcompat.sgml:
12094 * docs/gst/tmpl/gstconfig.sgml:
12095 * gst/check/gstcheck.c:
12097 * gst/gstconfig.h.in:
12100 2005-08-30 Stefan Kost <ensonic@users.sf.net>
12102 * docs/gst/tmpl/.cvsignore:
12103 * docs/gst/tmpl/gstquery.sgml:
12104 * docs/gst/tmpl/gstutils.sgml:
12107 inlined and extended docs
12109 2005-08-30 Stefan Kost <ensonic@users.sf.net>
12111 * check/gst-libs/controller.c: (GST_START_TEST),
12112 (gst_controller_suite):
12114 * docs/gst/tmpl/gstutils.sgml:
12115 * docs/libs/gstreamer-libs-sections.txt:
12116 * docs/libs/tmpl/gstdataprotocol.sgml:
12118 * examples/controller/audio-example.c: (main):
12119 controller example works now
12122 * tools/gst-inspect.c: (print_element_properties_info):
12123 show param spec flags
12125 2005-08-29 Andy Wingo <wingo@pobox.com>
12127 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
12129 2005-08-28 Andy Wingo <wingo@pobox.com>
12131 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
12132 as having two arguments instead of just one. Allows superclasses
12133 to access information on subclasses -- see the terrible for() loop
12134 in gtype.c:g_type_create_instance for the reason why. All callers
12137 2005-08-27 Stefan Kost <ensonic@users.sf.net>
12139 * docs/design/part-messages.txt:
12141 * docs/gst/tmpl/.cvsignore:
12142 * docs/gst/tmpl/gstcaps.sgml:
12143 * docs/gst/tmpl/gstclock.sgml:
12149 * gst/gstmessage.c:
12150 added descriptions for bus and message
12151 inline caps and clock docs
12153 2005-08-27 Stefan Kost <ensonic@users.sf.net>
12155 * gst/gstmessage.c:
12156 * gst/gstmessage.h:
12159 2005-08-27 Stefan Kost <ensonic@users.sf.net>
12161 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
12164 2005-08-26 Andy Wingo <wingo@pobox.com>
12166 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
12167 element_set_state's return val.
12168 (test_2_elements): Add test that's been disabled for months.
12170 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
12171 can-activate-pull properties.
12173 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
12174 can-activate-pull properties. Implement is_seekable so fakesrc can
12175 operate in pull mode.
12177 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
12179 (gst_base_sink_activate, gst_base_sink_activate_pull)
12180 (gst_base_sink_activate_push): Make activation mode choosing work.
12182 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
12183 is right. Make pull mode work. Post an eos before pausing in pull
12185 (gst_base_sink_change_state): Pay attention to the core's
12186 change_state() return val.
12188 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
12189 has-getrange properties. Cleanups.
12191 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
12192 has_getrange and replace with can_activate_pull and
12195 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
12196 locking comments. Remove has_loop, has_chain and replace with
12197 can_activate_pull and can_activate_push.
12199 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
12202 * examples/Makefile.am:
12203 * examples/metadata/Makefile.am:
12204 * examples/metadata/read-metadata.c: (message_loop),
12205 (have_pad_handler), (make_pipeline), (print_tag), (main):
12206 Add metadata reading example that loops over a list of filenames,
12207 dumping any tags found.
12209 * gst/gstbus.c: (gst_bus_dispose):
12210 * gst/gstelement.c: (gst_element_dispose):
12211 Release a few potentially-held references in dispose.
12213 2005-08-26 Stefan Kost <ensonic@users.sf.net>
12215 * docs/gst/tmpl/gstminiobject.sgml:
12216 do *not* add tmpl/*.sgml files to CVS!
12218 2005-08-26 Stefan Kost <ensonic@users.sf.net>
12220 * libs/gst/bytestream/.cvsignore:
12221 * libs/gst/bytestream/Makefile.am:
12222 * libs/gst/bytestream/adapter.c:
12223 * libs/gst/bytestream/adapter.h:
12224 * libs/gst/bytestream/bytestream.c:
12225 * libs/gst/bytestream/bytestream.h:
12226 * libs/gst/bytestream/filepad.c:
12227 * libs/gst/bytestream/filepad.h:
12228 removing obsolete files
12230 2005-08-26 Stefan Kost <ensonic@users.sf.net>
12232 * docs/gst/gstreamer-docs.sgml:
12233 * docs/libs/gstreamer-libs-docs.sgml:
12234 disabed additional index entries again, as this makes docs-gen just
12235 slow and they aren't useful yet
12236 * docs/libs/gstreamer-libs-sections.txt:
12237 little -section.txt cleanup for libs
12239 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
12241 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12242 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
12243 fix up some debugging
12244 (gst_base_transform_get_unit_size),
12245 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
12246 (gst_base_transform_handle_buffer):
12247 * gst/base/gstbasetransform.h:
12248 handle and store timed NEWSEGMENT events so that subclasses that
12249 calculate time by counting samples have a segment_start time they
12250 need to add to their timestamps - see audioresample
12252 2005-08-26 Stefan Kost <ensonic@users.sf.net>
12255 removed ';' from the end of macro defs
12256 * docs/gst/gstreamer-docs.sgml:
12257 * docs/gst/gstreamer-sections.txt:
12258 * docs/gst/tmpl/.cvsignore:
12260 * gst/gstelement.c: (gst_element_class_init),
12261 (gst_element_set_state), (activate_pads),
12262 (gst_element_save_thyself):
12263 * gst/gstevent.c: (gst_event_new_newsegment):
12265 * gst/gstiterator.c:
12266 * gst/gstiterator.h:
12269 * gst/gstutils.c: (gst_pad_query_convert):
12271 fixed parameter name mismatches between source, header and docs
12272 added some more docs, resolved the last batch of unused elements in
12273 docs (now someone needs to doc them)
12275 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
12277 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
12278 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
12279 don't walk through the plugins backwards. Where is all this
12280 reversed logic coming from ?
12282 2005-08-25 Wim Taymans <wim@fluendo.com>
12284 * gst/base/gstbasetransform.c: (gst_base_transform_init),
12285 (gst_base_transform_transform_size),
12286 (gst_base_transform_configure_caps),
12287 (gst_base_transform_get_unit_size),
12288 (gst_base_transform_buffer_alloc),
12289 (gst_base_transform_change_state):
12290 * gst/base/gstbasetransform.h:
12291 Cache caps unit_size.
12292 Make sure we cannot negotiate up and downstream at the
12295 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
12297 * gst/gst.c: (init_pre), (init_post):
12298 register the installed plugin path after the env var
12299 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
12300 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
12301 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
12302 directories, so the tests can prefer uninstalled over installed
12304 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
12306 * gst/base/gstbasetransform.h:
12311 2005-08-25 Wim Taymans <wim@fluendo.com>
12313 * gst/gstbin.c: (bin_bus_handler):
12314 Be a bit more conservative about the posted message.
12316 * gst/gstbus.c: (gst_bus_post):
12317 Some cleanups, warn wrong return values.
12319 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
12321 * check/gst/gstbin.c: (GST_START_TEST):
12322 * gst/gstbin.c: (bin_bus_handler):
12323 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
12324 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
12325 (gst_message_new_warning), (gst_message_new_tag),
12326 (gst_message_new_state_changed), (gst_message_new_segment_start),
12327 (gst_message_new_segment_done), (gst_message_new_custom):
12328 * gst/gstmessage.h:
12329 * tools/gst-launch.c: (event_loop):
12330 * tools/gst-md5sum.c: (event_loop):
12331 Revert unpopular change for GST_MESSAGE_SRC to GObject.
12333 2005-08-25 Wim Taymans <wim@fluendo.com>
12335 * check/generic/states.c: (GST_START_TEST):
12336 Cleanup can be done at the end.
12338 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
12339 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
12340 (gst_task_get_state), (gst_task_start), (gst_task_pause):
12341 Oh boy.. Thanks for finding this, Thomas.
12343 2005-08-25 Stefan Kost <ensonic@users.sf.net>
12345 * docs/gst/gstreamer.types:
12346 added missing types
12348 2005-08-25 Stefan Kost <ensonic@users.sf.net>
12350 * docs/gst/gstreamer-docs.sgml:
12351 * docs/gst/gstreamer-sections.txt:
12352 * docs/gst/tmpl/.cvsignore:
12354 * gst/gstiterator.c:
12356 * gst/registries/gstxmlregistry.h:
12357 added missing classes and symbols (123 more to go)
12358 removed removed symbols from section file
12359 fixed many doc-comments
12361 2005-08-24 Wim Taymans <wim@fluendo.com>
12363 * check/generic/states.c: (GST_START_TEST):
12364 Make sure all tasks are stopped.
12366 * check/gst/gstbin.c: (GST_START_TEST):
12367 Unref after usage for proper valgrinding.
12369 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
12370 Really wait for the task to stop before destroying the
12373 * gst/gstqueue.c: (gst_queue_sink_activate_push),
12374 (gst_queue_src_activate_push):
12375 Small cleanups. Don't stop the task when we did not start
12378 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
12379 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
12380 (gst_task_get_state), (gst_task_start), (gst_task_pause),
12383 Protect the stream lock with the object lock.
12384 Disallow setting the stream lock when running.
12385 Add cleanup_all to wait for the threadpool to finish.
12386 Remove code to autoallocate a mutex if none was provided.
12387 Add _join() to wait for a task to stop.
12388 Protect the thread pool with a global lock.
12390 2005-08-24 Wim Taymans <wim@fluendo.com>
12392 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12393 (gst_base_sink_get_times), (gst_base_sink_do_sync),
12394 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
12395 * gst/base/gstbasesink.h:
12396 Handle newsegment events correctly.
12397 Drop buffers out of the segment range.
12399 2005-08-22 Andy Wingo <wingo@pobox.com>
12401 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
12402 macro, implements an interface and gstimplementsinterface for a
12405 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
12407 * check/Makefile.am:
12408 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
12409 add a test that does a bunch of state changes on elements
12410 needs some fixing for valgrind
12411 * check/states/sinks.c: (gst_object_suite):
12414 add prototype for gst_caps_is_equal_fixed
12416 * gst/gstregistrypool.c:
12419 2005-08-24 Andy Wingo <wingo@pobox.com>
12421 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
12422 convert a negative value. Doesn't make much sense. Mostly this is
12423 here to force callers to ensure -1 maps to -1.
12425 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
12427 * docs/pwg/advanced-types.xml:
12428 Well done to Michael for catching my deliberate introduction
12429 of this spelling mistake.
12430 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
12431 * gst/gstelement.h:
12432 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
12433 unlink pads before removing the element from the bin.
12435 2005-08-24 Andy Wingo <wingo@pobox.com>
12437 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
12438 the same thing as GST_DEBUG=*:4.
12439 (parse_debug_level, parse_debug_category): New helper parsers.
12441 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
12443 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
12444 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
12445 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
12446 (gst_base_transform_buffer_alloc),
12447 (gst_base_transform_handle_buffer):
12448 use gboolean return values and pointers to size so we can use the
12449 full GST_BUFFER_SIZE range (guint) for buffer sizes
12450 use GstPadDirection for transform_caps
12451 * gst/base/gstbasetransform.h:
12452 rename get_size to get_unit_size since that's what it is
12453 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
12454 use GstPadDirection for transform_caps
12455 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
12457 cleanup and debugging
12459 2005-08-24 Stefan Kost <ensonic@users.sf.net>
12461 * gst/gstelement.c: (gst_element_class_init),
12462 (gst_element_set_state), (activate_pads),
12463 (gst_element_save_thyself):
12464 * tools/gst-compprep.c: (main):
12465 * tools/gst-inspect.c: (print_element_properties_info):
12466 * tools/gst-xmlinspect.c: (print_element_properties):
12467 Fixed long standing mem-leak
12469 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
12471 * check/gst/gstbin.c: (GST_START_TEST):
12472 * gst/gstbin.c: (bin_bus_handler):
12473 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
12474 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
12475 (gst_message_new_warning), (gst_message_new_tag),
12476 (gst_message_new_state_changed), (gst_message_new_segment_start),
12477 (gst_message_new_segment_done), (gst_message_new_custom):
12478 * gst/gstmessage.h:
12479 * tools/gst-launch.c: (event_loop):
12480 * tools/gst-md5sum.c: (event_loop):
12481 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
12482 that applications can sensibly post custom messages with references
12483 to their own objects.
12485 2005-08-24 Andy Wingo <wingo@pobox.com>
12487 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
12490 2005-08-24 Wim Taymans <wim@fluendo.com>
12492 * gst/base/gstbasetransform.c: (gst_base_transform_init),
12493 (gst_base_transform_transform_caps),
12494 (gst_base_transform_transform_size),
12495 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
12496 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
12497 (gst_base_transform_handle_buffer):
12498 * gst/base/gstbasetransform.h:
12499 Many fixes and new features added by Thomas. Can now also do
12500 transforms with variable sizes and a custom fixate_caps function.
12502 2005-08-24 Wim Taymans <wim@fluendo.com>
12504 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
12508 Cast to ClockTime before formatting to time.
12513 2005-08-24 Stefan Kost <ensonic@users.sf.net>
12515 * check/gst-libs/controller.c: (GST_START_TEST),
12516 (gst_controller_suite):
12517 * docs/gst/tmpl/gstcaps.sgml:
12518 * docs/gst/tmpl/gstghostpad.sgml:
12519 * docs/gst/tmpl/gstquery.sgml:
12520 * docs/gst/tmpl/gstutils.sgml:
12521 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
12522 (gst_object_sink_values), (gst_object_get_value_arrays),
12523 (gst_object_get_value_array):
12524 gracefully handle helper method calls to objects that are not beeing
12525 controlled, added test case for that
12527 2005-08-23 Wim Taymans <wim@fluendo.com>
12529 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
12530 (gst_event_new_newsegment), (gst_event_parse_newsegment),
12531 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
12532 (gst_event_parse_qos), (gst_event_new_seek),
12533 (gst_event_parse_seek):
12535 Some more debugging output and doc cleanups.
12537 * gst/gstqueue.c: (gst_queue_handle_sink_event):
12538 Fix possible deadlock.
12540 2005-08-23 Stefan Kost <ensonic@users.sf.net>
12542 * docs/gst/gstreamer-docs.sgml:
12543 * docs/gst/gstreamer-sections.txt:
12544 * docs/gst/gstreamer.types:
12545 * docs/gst/tmpl/.cvsignore:
12548 * gst/gstelement.c:
12550 added 100 symbols from gstreamer-unused.txt to the right sections
12551 fixed more broken comments
12552 added GstBus to docs
12554 2005-08-23 Stefan Kost <ensonic@users.sf.net>
12556 * docs/gst/gstreamer-sections.txt:
12557 * docs/gst/tmpl/.cvsignore:
12558 * docs/gst/tmpl/gstbin.sgml:
12559 * docs/gst/tmpl/gstbuffer.sgml:
12560 * gst/base/gstbasesrc.c:
12561 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
12564 * tools/gst-launch.1.in:
12565 inlined more doc comments, added missing comments and fixed comments
12568 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
12570 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
12574 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
12576 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
12577 * gst/gststructure.h:
12578 add a fixate function for booleans; add a FIXME that these func
12579 names should probably be gst_structure_fixate_*
12581 2005-08-23 Stefan Kost <ensonic@users.sf.net>
12583 * docs/gst/gstreamer-docs.sgml:
12584 * docs/gst/gstreamer-sections.txt:
12586 * gst/gstbin.c: (gst_bin_get_type),
12587 (gst_bin_child_proxy_get_child_by_index),
12588 (gst_bin_child_proxy_get_children_count),
12589 (gst_bin_child_proxy_init):
12590 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
12591 (gst_child_proxy_get_child_by_index),
12592 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
12593 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
12594 (gst_child_proxy_get), (gst_child_proxy_set_property),
12595 (gst_child_proxy_set_valist), (gst_child_proxy_set),
12596 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
12597 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
12598 * gst/gstchildproxy.h:
12599 * gst/parse/grammar.y:
12600 * tools/gst-inspect.c: (print_interfaces),
12601 (print_element_properties_info), (print_element_info):
12602 ported gstchildproxy over from 0.8
12603 ported gst-inspect fixes and enhancements over from 0.8
12605 2005-08-22 Wim Taymans <wim@fluendo.com>
12607 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
12608 (gst_base_transform_handle_buffer):
12609 Also call the transform function if we have ANY caps.
12611 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
12614 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
12616 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
12617 Don't pretend to handle seek events if the source is not seekable
12619 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
12621 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12622 Remove extra parameter to debug output
12624 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
12625 (gst_base_src_do_seek), (gst_base_src_activate_push):
12626 Fix seek event handling.
12628 * gst/gstpipeline.c: (gst_pipeline_change_state):
12629 * gst/gstqueue.c: (gst_queue_handle_sink_event),
12630 (gst_queue_src_activate_push):
12631 Don't start the src pad task on FLUSH_STOP if the pad
12635 2005-08-22 Wim Taymans <wim@fluendo.com>
12637 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12638 Added check for gst_static_caps_get() refcounting.
12640 2005-08-22 Wim Taymans <wim@fluendo.com>
12642 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
12643 Make _static_caps_get() refcounting sane.
12645 * gst/gstelement.c: (gst_element_set_state):
12646 Add g_return_val_if_fail() to protect against segfaults.
12648 2005-08-22 Stefan Kost <ensonic@users.sf.net>
12650 * docs/gst/tmpl/gstevent.sgml:
12653 inlined remaining docs, added missing doc comments
12655 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
12657 * check/gst/gstbin.c: (GST_START_TEST):
12658 since we don't know when preroll is done, use refcount range
12660 * gst/check/gstcheck.h:
12661 add macro for checking refcount range
12663 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
12665 * check/Makefile.am:
12666 clean up environment for when registry gets built versus
12667 when actual tests are run; valgrind seems to not report
12668 leaks if GST_PLUGIN_PATH is set to some specific values
12669 * check/gst/gstbin.c: (GST_START_TEST):
12670 add more refcounting checks; maybe this exposes a
12672 * common/check.mak:
12673 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12674 * gst/check/gstcheck.h:
12675 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
12676 (gst_bin_change_state):
12677 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
12678 add/fix debugging/whitespace
12680 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
12682 * check/gst/gstevent.c: (event_probe), (test_event),
12684 Er, don't call gst_bin_watch_for_state_change you idiot.
12686 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
12688 * check/Makefile.am:
12689 Use CHECK_CFLAGS and CHECK_LIBS
12690 * check/gst/gstevent.c: (event_probe), (test_event),
12693 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
12694 (gst_base_src_start), (gst_base_src_stop),
12695 (gst_base_src_activate_push), (gst_base_src_activate_pull),
12696 (gst_base_src_change_state):
12697 Sprinkle gst_base_src_stop liberally around error paths to fix
12698 problems reusing a source after failed state changes.
12699 * gst/base/gsttypefindhelper.c: (helper_find_peek),
12700 (helper_find_suggest), (gst_type_find_helper):
12701 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
12703 * docs/gst/tmpl/gstevent.sgml:
12704 Migrate part of the docs from the SGML file. Wait for ensonic to
12705 tell me how I did it wrong ;)
12706 * tools/gst-typefind.c: (main):
12707 Extra robustness to state changes between files.
12709 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
12711 * check/Makefile.am:
12712 don't valgrind the controller test - it's leaking - Stefan, HELP
12713 * gst/check/gstcheck.c: (gst_check_message_error),
12714 (gst_check_chain_func), (gst_check_setup_element),
12715 (gst_check_teardown_element), (gst_check_setup_src_pad),
12716 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
12717 (gst_check_teardown_sink_pad):
12718 * gst/check/gstcheck.h:
12719 add a bunch of methods to set up elements, and src and sink pads
12720 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
12721 * check/elements/identity.c: (setup_identity), (cleanup_identity),
12724 * gst/gstmessage.c:
12726 whitespace/doc fixes
12728 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
12730 * gst/gstelement.h:
12731 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
12732 be handled by the application and not always printed as well
12734 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
12736 * check/Makefile.am:
12738 * gst/check/gstcheck.c: (gst_check_message_error):
12739 * gst/check/gstcheck.h:
12740 add a fail_unless_equals_int
12741 add fail_unless for error messages
12743 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
12745 * check/Makefile.am:
12747 * common/Makefile.am:
12748 * common/check.mak:
12750 factor out some of the common stuff so we can use it
12752 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
12754 * check/Makefile.am:
12755 * check/gst/gstiterator.c: (GST_START_TEST):
12756 * check/gst/gstsystemclock.c: (GST_START_TEST),
12757 (gst_systemclock_suite):
12758 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
12760 valgrind more tests
12762 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
12764 * check/elements/.cvsignore:
12765 * check/elements/gstfakesrc.c:
12766 rename to name of element
12767 * check/elements/identity.c: (chain_func), (event_func),
12768 (setup_identity), (cleanup_identity), (GST_START_TEST),
12769 (identity_suite), (main):
12770 add a test for identity
12771 * check/Makefile.am:
12772 * pkgconfig/Makefile.am:
12773 * pkgconfig/gstreamer-check.pc.in:
12774 * pkgconfig/gstreamer-check-uninstalled.pc.in:
12778 move the check stuff to a library that gets installed
12779 * check/gst-libs/controller.c: (GST_START_TEST):
12780 * check/gst-libs/gdp.c:
12781 * check/gst/gst.c: (GST_START_TEST):
12782 * check/gst/gstbin.c:
12783 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12784 * check/gst/gstbus.c:
12785 * check/gst/gstcaps.c: (GST_START_TEST):
12786 * check/gst/gstelement.c:
12787 * check/gst/gstghostpad.c:
12788 * check/gst/gstiterator.c:
12789 * check/gst/gstmessage.c:
12790 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
12791 * check/gst/gstobject.c:
12792 * check/gst/gstpad.c: (GST_START_TEST):
12793 * check/gst/gststructure.c: (GST_START_TEST):
12794 * check/gst/gstsystemclock.c: (GST_START_TEST),
12795 (gst_systemclock_suite):
12796 * check/gst/gsttag.c: (gst_tag_suite):
12797 * check/gst/gstvalue.c:
12798 * check/pipelines/cleanup.c:
12799 * check/pipelines/simple_launch_lines.c:
12800 * check/states/sinks.c:
12801 change include statement
12803 * docs/gst/gstreamer-sections.txt:
12804 * docs/gst/tmpl/gstpad.sgml:
12805 document more pad stuff
12806 * gst/gstminiobject.c: (gst_mini_object_ref),
12807 (gst_mini_object_unref):
12810 2005-08-19 Stefan Kost <ensonic@users.sf.net>
12812 * docs/gst/tmpl/gst.sgml:
12814 eliminate another tmpl file, fix spelling in the long-description
12816 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
12818 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
12819 (test_event), (timediff), (gstevents_suite):
12820 Should fix build on 64-bit arch's
12822 2005-08-18 Andy Wingo <wingo@pobox.com>
12824 Make sure that when a pipeline goes to PLAYING, that data has
12825 actually hit the sink.
12827 * check/states/sinks.c (test_sink): A sink that doesn't get any
12828 data shouldn't return SUCCESS for going to either PLAYING or
12829 PAUSED. Test also the return values on the way back down.
12831 * gst/gstelement.c (gst_element_set_state): When changing the
12832 state of an element currently changing state asynchronously, go to
12833 lost-state after commiting the pending state. Makes future calls
12834 to get_state continue to return ASYNC.
12836 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
12837 ASYNC when going to PLAYING if we still don't have preroll, as can
12838 happen with live sources.
12840 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
12842 * docs/pwg/advanced-types.xml:
12843 Hack long paragraph into 2 chunks as a workaround for buggy
12844 jadetex version in sid and breezy that loops infinitely and
12847 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
12849 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
12850 (test_event), (timediff), (gstevents_suite):
12851 Provide more error margin in clock measurements to allow for
12852 g_get_current_time inaccuracies.
12854 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
12856 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
12857 (test_event), (timediff), (gstevents_suite):
12858 Fix error message output so I might be able to tell why the
12859 test works here but fails on the build farm.
12861 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
12863 * check/Makefile.am:
12864 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
12865 (test_event), (timediff), (gstevents_suite), (main):
12868 * docs/design/part-seeking.txt:
12869 Spelling correction
12871 * docs/gst/tmpl/gstevent.sgml:
12872 * docs/gst/tmpl/gstfakesrc.sgml:
12875 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12876 Treat a buffer-without-newsegment the same as a receiving
12877 a newsegment not in time format, and disable syncing to the clock
12880 * gst/gstbus.c: (gst_bus_set_sync_handler):
12881 Assert if anyone tries to replace the existing sync_handler for bus,
12882 as only the owner should be setting it.
12885 Have a fixed set of custom event enums with events identified by
12886 their structure name (as in 0.8), rather than a free-for-all
12887 allowing collisions between enum values from different plugins.
12889 * gst/gstpad.c: (gst_pad_class_init):
12892 * gst/gstqueue.c: (gst_queue_handle_sink_event):
12893 Handle out-of-band downstream events from the sending thread.
12895 2005-08-17 Andy Wingo <wingo@pobox.com>
12897 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
12898 play-timeout==0 to mean no timeout at all. In that case, don't
12899 bother with a get_state or a warning, just return directly, even
12902 * gst/base/gstbasetransform.c: Debug changes.
12905 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
12906 ensure bins post state change messages. A bit of a hack but I can't
12907 think of a way to avoid it.
12909 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
12911 2005-08-16 Andy Wingo <wingo@pobox.com>
12913 * gst/base/gstadapter.h:
12914 * gst/base/gstadapter.c (gst_adapter_take): New function, like
12915 peek() but you own the data. Not terribly efficient atm.
12917 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12919 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
12920 (gst_element_found_tags):
12922 Add two utility functions for tag handling.
12924 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12926 * docs/manual/advanced-dataaccess.xml:
12927 * docs/manual/basics-helloworld.xml:
12928 Fix docs to use _bin_add() before _link(), which fixes the examples
12929 with recent core versions (reported by Madhan Raj M
12930 <raj_madan@rediffmail.com>, #313199).
12932 2005-08-16 Wim Taymans <wim@fluendo.com>
12934 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12935 Added subtract checks.
12937 * docs/design/part-events.txt:
12938 Some more docs about newsegment
12940 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
12943 * gst/gstcaps.c: (gst_caps_to_string):
12944 Add comments, cleanups.
12946 * gst/gstelement.c: (gst_element_save_thyself):
12949 * gst/gstvalue.c: (gst_value_collect_int_range),
12950 (gst_string_unwrap), (gst_value_union_int_int_range),
12951 (gst_value_union_int_range_int_range),
12952 (gst_value_intersect_int_int_range),
12953 (gst_value_intersect_int_range_int_range),
12954 (gst_value_intersect_double_double_range),
12955 (gst_value_intersect_double_range_double_range),
12956 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
12957 (gst_value_subtract_int_range_int),
12958 (gst_value_subtract_double_range_double),
12959 (gst_value_subtract_double_range_double_range),
12960 (gst_value_subtract_from_list), (gst_value_subtract_list),
12961 (gst_value_can_compare), (gst_value_compare_fraction):
12962 Cleanups, add comments, remove unneeded asserts.
12964 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
12966 * tools/gst-launch.c: (event_loop):
12967 don't convert NULL structures to strings
12969 2005-08-15 Stefan Kost <ensonic@users.sf.net>
12971 * docs/gst/gstreamer-sections.txt:
12972 made some defines private
12973 * docs/gst/tmpl/gstconfig.sgml:
12974 * docs/gst/tmpl/gstqueue.sgml:
12975 * docs/gst/tmpl/gsttaglist.sgml:
12976 * docs/gst/tmpl/gsttypes.sgml:
12977 * docs/gst/tmpl/gstutils.sgml:
12978 * docs/pwg/appendix-porting.xml:
12979 * gst/base/gstbasesink.h:
12980 * gst/base/gstbasesrc.c:
12981 * gst/base/gstbasesrc.h:
12982 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
12983 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
12984 * gst/gstelement.c: (gst_element_class_init):
12985 * gst/gstpad.c: (gst_pad_class_init):
12986 * gst/gstqueue.c: (gst_queue_class_init):
12987 * gst/gstxml.c: (gst_xml_class_init):
12988 documented all undocumented signal inline
12989 * libs/gst/controller/gst-controller.h:
12992 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12994 * docs/pwg/appendix-porting.xml:
12995 Document _set_link_function -> _set_setcaps_function.
12997 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
12999 * check/Makefile.am:
13000 add a .check target for running the check
13001 * check/gst-libs/controller.c: (GST_START_TEST):
13003 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
13004 complete checks for gstbuffer; would be nice if I could get the
13005 gcov stuff to work so I can see if I actually completed gstbuffer.c
13006 * check/gstcheck.h:
13007 add ASSERT_BUFFER_REFCOUNT
13009 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
13011 * docs/gst/gstreamer-sections.txt:
13012 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
13014 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
13015 spew out a warning if a tag that is already registered
13016 is re-registered, unless it is re-registered with a
13017 different type (#308438).
13019 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
13021 * docs/pwg/appendix-porting.xml:
13022 * docs/pwg/building-state.xml:
13023 Add some paragraphs about state changes in 0.9 to the PWG
13024 and the porting guide, in particular about the new meaning
13025 of GST_STATE_PAUSED and how to write state change functions
13026 with concurrent access by multiple threads in mind.
13028 2005-08-11 Stefan Kost <ensonic@users.sf.net>
13030 * docs/gst/gstreamer-docs.sgml:
13031 * docs/libs/gstreamer-libs-docs.sgml:
13032 added deprecation and since indexes
13033 * libs/gst/controller/gst-controller.c:
13034 * libs/gst/controller/gst-helper.c:
13038 2005-08-11 Wim Taymans <wim@fluendo.com>
13040 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
13041 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
13042 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
13043 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
13044 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
13045 (gst_ghost_pad_set_target):
13046 Actually implement (re)setting the target on a ghostpad
13047 as described in the docs.
13049 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
13051 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
13052 Check whether GST_DEBUG_NO_COLOR environment variable is
13053 set and disable coloured debug output if that is the case.
13055 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
13057 * gst/base/gsttypefindhelper.c: (helper_find_peek),
13058 (gst_type_find_helper):
13059 The memory returned by gst_type_find_peek() needs to
13060 stay valid until the end of a typefind function, and
13061 typefind functions may keep results from different
13062 offsets around, so we can't just unref the buffer from
13063 the previous _peek(), but have to save all buffers
13064 returned by _peek() until typefinding is done and only
13067 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
13069 * docs/gst/gstreamer-sections.txt:
13071 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
13073 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13075 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
13076 Fix a pretty good memleak.
13078 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
13080 * gst/gstiterator.h:
13081 Fix wrong include and 'make distcheck'.
13083 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13085 * gst/gstbin.c: (bin_bus_handler):
13086 Use gst_element_post_message() instead.
13088 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
13090 * gst/base/gstadapter.h:
13091 * gst/base/gstbasesink.h:
13092 * gst/base/gstbasesrc.h:
13093 * gst/base/gstbasetransform.h:
13094 * gst/base/gstcollectpads.h:
13095 * gst/base/gstpushsrc.h:
13096 * gst/gstiterator.h:
13097 Add padding to our base elements' class and instance structs and
13098 to GstIterator (you will need to rebuild all plugins and apps!)
13100 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13102 * gst/gstbin.c: (bin_bus_handler):
13103 Make default message forwarding from child->bus to bin->bus
13104 threadsafe and make it not emit warnings if the parent has no bus.
13106 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13108 * gst/gstelement.c: (activate_pads):
13109 On paused->ready, set pad->caps to NULL, as is the documented
13110 behaviour in this state change. Fixes playback of series of
13111 media files when visualization is enabled in Totem.
13113 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13115 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
13116 Allow NULL as filter-caps (which means "any").
13118 2005-08-05 Stefan Kost <ensonic@users.sf.net>
13120 * docs/libs/gstreamer-libs-sections.txt:
13121 * libs/gst/controller/gst-controller.c:
13122 * libs/gst/controller/gst-controller.h:
13123 * libs/gst/controller/gst-helper.c:
13124 adding more entries to the docs and fix small doc-bugs
13126 2005-08-05 Stefan Kost <ensonic@users.sf.net>
13128 * docs/gst/gstreamer-docs.sgml:
13129 * docs/gst/gstreamer-sections.txt:
13130 * docs/gst/gstreamer.types:
13131 * docs/gst/tmpl/gstbasesink.sgml:
13132 * docs/gst/tmpl/gstbasesrc.sgml:
13133 * docs/gst/tmpl/gstbasetransform.sgml:
13134 * docs/gst/tmpl/gstfakesrc.sgml:
13135 * gst/base/gstcollectpads.c:
13136 * gst/base/gstcollectpads.h:
13137 * libs/gst/controller/gst-controller.c:
13138 * libs/gst/controller/gst-controller.h:
13139 * libs/gst/controller/gst-helper.c:
13140 * libs/gst/controller/gst-interpolation.c:
13141 * libs/gst/controller/lib.c:
13142 added long/short desc for controller docs
13143 added collectpads base class docs
13144 added correct includes to base-class docs
13146 2005-08-05 Stefan Kost <ensonic@users.sf.net>
13148 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
13149 (gst_test_mono_source_set_property),
13150 (gst_test_mono_source_class_init), (GST_START_TEST),
13151 (gst_controller_suite):
13152 * docs/gst/gstreamer-docs.sgml:
13153 * docs/gst/gstreamer-sections.txt:
13154 * docs/gst/gstreamer.types:
13155 * docs/libs/gstreamer-libs-docs.sgml:
13156 * docs/libs/gstreamer-libs-sections.txt:
13157 * gst/base/gstadapter.c:
13158 * libs/gst/controller/gst-controller.c:
13159 (gst_controlled_property_new), (gst_controlled_property_free),
13160 (gst_controller_new_valist),
13161 (gst_controller_remove_properties_valist),
13162 (gst_controller_sink_values), (_gst_controller_finalize):
13163 * libs/gst/controller/gst-controller.h:
13164 * libs/gst/controller/gst-helper.c:
13165 (gst_object_control_properties), (gst_object_uncontrol_properties),
13166 (gst_object_get_controller), (gst_object_set_controller),
13167 (gst_object_sink_values), (gst_object_get_value_arrays),
13168 (gst_object_get_value_array):
13169 more tests (and fixes) for the controller
13170 more docs for the controller
13171 integrated companies docs for the adapter
13173 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
13175 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
13176 (GST_START_TEST), (fakesrc_suite):
13177 add tests for sizetype
13179 2005-08-04 Andy Wingo <wingo@pobox.com>
13181 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
13182 fixes buffer_alloc proxying among other things.
13184 * gst/base/gstbasetransform.c:
13185 * gst/base/gstbasetransform.h:
13186 Revert patch to gstbasetransform from 7-28 removing
13189 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
13190 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
13191 Semantics changed, should return not the size of the output buffer
13192 but the byte size of a buffer with a given caps.
13194 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
13196 (gst_base_transform_configure_caps): Don't set out_size here: (in,
13197 out) are not the pad caps until setcaps finishes.
13198 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
13199 not-in-place case as well. Deal with changing from in-place to
13200 not-in-place within calling pad_alloc_buffer. Still a bit
13201 concerned about the overhead here...
13203 2005-08-03 Andy Wingo <wingo@pobox.com>
13205 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
13206 fixating is an error.
13208 2005-08-04 Edward Hervey <edward@fluendo.com>
13210 * gst/base/gstadapter.h:
13211 Added gst_adapter_get_type() to the header
13213 2005-08-03 Stefan Kost <ensonic@users.sf.net>
13215 * check/Makefile.am:
13216 * check/gst-libs/controller.c:
13217 * libs/gst/controller/gst-controller.c:
13218 (gst_controller_new_valist):
13219 added check test suite for the controller
13220 * gst/base/gstpushsrc.c:
13223 2005-08-03 Stefan Kost <ensonic@users.sf.net>
13225 * docs/gst/Makefile.am:
13226 * docs/gst/gstreamer-docs.sgml:
13227 * docs/gst/gstreamer-sections.txt:
13228 * docs/gst/gstreamer.types:
13229 * docs/gst/tmpl/gstfakesrc.sgml:
13231 * gst/base/gstbasesink.c:
13232 * gst/base/gstbasesink.h:
13233 * gst/base/gstbasesrc.c:
13234 * gst/base/gstbasesrc.h:
13235 * gst/base/gstbasetransform.c:
13236 * gst/base/gstpushsrc.c:
13237 * gst/base/gstpushsrc.h:
13238 add short/long description docs to base classes
13239 add pushsrc to the docs
13240 remove consolidated doc fragments
13242 2005-08-03 Stefan Kost <ensonic@users.sf.net>
13245 * docs/libs/Makefile.am:
13246 * docs/libs/gstreamer-libs-docs.sgml:
13247 * docs/libs/gstreamer-libs-sections.txt:
13248 * docs/libs/gstreamer-libs.types:
13249 * examples/Makefile.am:
13250 * examples/controller/.cvsignore:
13251 * examples/controller/Makefile.am:
13252 * examples/controller/audio-example.c: (main):
13253 * libs/gst/Makefile.am:
13254 * libs/gst/controller/.cvsignore:
13255 * libs/gst/controller/Makefile.am:
13256 * libs/gst/controller/gst-controller.c:
13257 (on_object_controlled_property_changed), (gst_timed_value_compare),
13258 (gst_timed_value_find),
13259 (gst_controlled_property_set_interpolation_mode),
13260 (gst_controlled_property_new), (gst_controlled_property_free),
13261 (gst_controller_find_controlled_property),
13262 (gst_controller_new_valist), (gst_controller_new),
13263 (gst_controller_remove_properties_valist),
13264 (gst_controller_remove_properties), (gst_controller_set),
13265 (gst_controller_set_from_list), (gst_controller_unset),
13266 (gst_controller_get), (gst_controller_get_all),
13267 (gst_controller_sink_values), (gst_controller_get_value_arrays),
13268 (gst_controller_get_value_array),
13269 (gst_controller_set_interpolation_mode),
13270 (_gst_controller_finalize), (_gst_controller_init),
13271 (_gst_controller_class_init), (gst_controller_get_type):
13272 * libs/gst/controller/gst-controller.h:
13273 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
13274 (g_object_uncontrol_properties), (g_object_get_controller),
13275 (g_object_set_controller), (g_object_sink_values),
13276 (g_object_get_value_arrays), (g_object_get_value_array):
13277 * libs/gst/controller/gst-interpolation.c:
13278 (gst_controlled_property_find_timed_value_node),
13279 (interpolate_none_get), (interpolate_trigger_get),
13280 (interpolate_trigger_get_value_array):
13281 * libs/gst/controller/lib.c: (gst_controller_init):
13282 * pkgconfig/Makefile.am:
13283 * pkgconfig/gstreamer-control-uninstalled.pc.in:
13284 * pkgconfig/gstreamer-control.pc.in:
13285 * testsuite/Makefile.am:
13286 * testsuite/controller/.cvsignore:
13287 * testsuite/controller/Makefile.am:
13288 * testsuite/controller/interpolator.c: (main):
13289 added controller code
13290 removed dparam pc files
13292 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
13293 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
13294 (gst_collectpads_stop):
13295 Broadcast the condition when shutting down, to make sure we wake all
13296 threads up. Shut down pads on finalize, for safety.
13298 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
13299 * gst/base/gstbasetransform.c: (gst_base_transform_init),
13300 (gst_base_transform_handle_buffer),
13301 (gst_base_transform_change_state):
13302 Handle PAUSED->READY->PAUSED transition after negotiation
13304 * gst/gstmessage.c: (gst_message_init):
13305 Extra piece of debug for new messages.
13307 2005-08-01 Stefan Kost <ensonic@users.sf.net>
13310 * docs/gst/tmpl/gstbasesrc.sgml:
13311 * docs/gst/tmpl/gstelement.sgml:
13312 * docs/gst/tmpl/gstevent.sgml:
13313 * docs/gst/tmpl/gstfakesrc.sgml:
13314 * docs/gst/tmpl/gstformat.sgml:
13315 * docs/gst/tmpl/gstghostpad.sgml:
13316 * docs/gst/tmpl/gstpad.sgml:
13317 * docs/gst/tmpl/gstquery.sgml:
13318 * docs/gst/tmpl/gststructure.sgml:
13319 * docs/gst/tmpl/gsttaglist.sgml:
13320 * docs/gst/tmpl/gstvalue.sgml:
13321 * docs/libs/gstreamer-libs-docs.sgml:
13322 * docs/libs/gstreamer-libs-sections.txt:
13323 * docs/libs/gstreamer-libs.types:
13324 * libs/gst/Makefile.am:
13325 * libs/gst/control/.cvsignore:
13326 * libs/gst/control/Makefile.am:
13327 * libs/gst/control/control.c:
13328 * libs/gst/control/control.h:
13329 * libs/gst/control/dparam.c:
13330 * libs/gst/control/dparam.h:
13331 * libs/gst/control/dparam_smooth.c:
13332 * libs/gst/control/dparam_smooth.h:
13333 * libs/gst/control/dparamcommon.h:
13334 * libs/gst/control/dparammanager.c:
13335 * libs/gst/control/dparammanager.h:
13336 * libs/gst/control/dplinearinterp.c:
13337 * libs/gst/control/dplinearinterp.h:
13338 * libs/gst/control/unitconvert.c:
13339 * libs/gst/control/unitconvert.h:
13340 * testsuite/Makefile.am:
13341 * testsuite/dynparams/.cvsignore:
13342 * testsuite/dynparams/Makefile.am:
13343 * testsuite/dynparams/dparamstest.c:
13344 * tools/Makefile.am:
13345 * tools/gst-inspect.c: (print_element_info), (main):
13346 * tools/gst-xmlinspect.c: (print_element_info), (main):
13347 deactivate and remove dparams (libgstcontrol)
13349 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
13351 * gst/elements/gsttypefindelement.c:
13352 (gst_type_find_element_have_type), (gst_type_find_element_init),
13353 (stop_typefinding), (gst_type_find_element_handle_event),
13354 (gst_type_find_element_chain), (gst_type_find_element_getrange):
13355 * gst/elements/gsttypefindelement.h:
13356 Set caps on all outgoing buffers, not just the first one.
13358 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
13360 * gst/elements/gsttypefindelement.c:
13361 (gst_type_find_element_have_type),
13362 (gst_type_find_element_check_set_buffer_caps),
13363 (gst_type_find_element_init), (stop_typefinding),
13364 (gst_type_find_element_handle_event),
13365 (gst_type_find_element_chain), (gst_type_find_element_getrange):
13366 * gst/elements/gsttypefindelement.h:
13367 Set caps on first outgoing buffer when we've found the type.
13369 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
13371 * docs/gst/gstreamer-docs.sgml:
13372 * docs/gst/gstreamer-sections.txt:
13373 * docs/gst/tmpl/gstscheduler.sgml:
13374 * docs/gst/tmpl/gstschedulerfactory.sgml:
13375 Remove some old cruft from docs.
13377 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
13380 Fix inline docs for GstPadLinkReturn.
13382 * gst/gststructure.c: (gst_structure_has_name):
13383 * gst/gststructure.h:
13384 * docs/gst/gstreamer-sections.txt:
13385 New API: gst_structure_has_name().
13387 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
13390 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
13391 and _LARGEFILE_SOURCE in config.h as required. Do not
13392 export those flags in our .pc files any longer (#142209).
13394 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
13396 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
13397 (gst_file_sink_do_seek), (gst_file_sink_event),
13398 (gst_file_sink_get_current_offset), (gst_file_sink_render):
13399 Redo seek/tell calls with large file support in mind; add some
13400 debugging messages; add log message that tells us when large
13401 file support is unavailable or not enabled for some reason.
13403 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
13404 Add log message that tells us when large file support
13405 is unavailable or not enabled for some reason.
13407 2005-07-29 Wim Taymans <wim@fluendo.com>
13409 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
13410 Added test for removing an element with ghostpad from a bin.
13411 Fixed test as current implementation does the right thing.
13413 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
13414 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
13415 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
13416 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
13417 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
13418 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13419 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13420 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13421 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
13422 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
13423 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
13424 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
13425 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
13426 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
13427 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
13428 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
13429 * gst/gstghostpad.h:
13430 Clean up ghostpads, remove properties for internal stuff.
13433 Prepare for switching targets, not all use cases work yet.
13435 2005-07-29 Wim Taymans <wim@fluendo.com>
13437 * docs/design/part-gstghostpad.txt:
13440 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
13441 (gst_bin_remove_func):
13442 Unlinking pads while holding the bin LOCK is not a good
13445 * gst/gstpad.c: (gst_pad_class_init),
13446 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
13447 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
13448 No prob setting template after creating the pad.
13450 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
13452 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
13453 (gst_bus_peek), (gst_bus_source_dispatch),
13454 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
13455 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
13456 gst_bus_poll may be called from other threads. Handle
13457 this nicely by not making poll_data disappear off the
13458 stack once gst_bus_poll returns.
13459 gst_bus_peek now increments the refcount on the returned
13462 2005-07-29 Wim Taymans <wim@fluendo.com>
13464 * docs/design/part-gstghostpad.txt:
13465 Overview of current GhostPad datastructures and use
13466 cases for changing the target.
13468 2005-07-28 Wim Taymans <wim@fluendo.com>
13470 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
13471 Added checks for hierarchy consistency whan adding linked
13474 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
13475 Added check to test element scheduling without bin/pipeline.
13477 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
13478 First add elements to bin, then link.
13480 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
13481 (gst_bin_remove_func):
13482 Unlink pads from elements added/removed from bin to maintain
13483 hierarchy consistency.
13485 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13487 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
13488 (gst_base_transform_handle_buffer):
13489 * gst/base/gstbasetransform.h:
13490 Remove broken delay_configure (fixes renegotiation of software
13491 scaling pipelines); remove some leftover printf()s.
13493 2005-07-28 Wim Taymans <wim@fluendo.com>
13495 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
13496 Added some more tests for wrong hierarchy
13498 * docs/design/part-overview.txt:
13501 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
13504 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
13505 (gst_element_dispose):
13506 Some more cleanups.
13508 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
13509 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
13510 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
13511 (gst_pad_set_caps), (gst_pad_send_event):
13512 Check for correct hierarchy when linking pads. Moving to
13513 strict requirement for ghostpads when linking elements in
13517 Clean ups. Added WRONG_HIERARCHY return value.
13519 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13521 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13522 Better debug if no transform is possible.
13524 2005-07-27 Wim Taymans <wim@fluendo.com>
13526 * docs/random/wtay/network-transp:
13527 Some old doc I had.
13529 2005-07-27 Wim Taymans <wim@fluendo.com>
13531 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
13532 (gst_dp_event_from_packet):
13533 Fix serialization of seek events.
13535 2005-07-27 Wim Taymans <wim@fluendo.com>
13537 * check/gst-libs/gdp.c: (GST_START_TEST):
13538 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
13539 Fix compilation and fix event serialization.
13541 2005-07-27 Wim Taymans <wim@fluendo.com>
13544 * docs/design/part-TODO.txt:
13545 * docs/design/part-events.txt:
13548 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13549 (gst_base_sink_event), (gst_base_sink_do_sync),
13550 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
13551 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
13552 (gst_base_src_do_seek), (gst_base_src_event_handler),
13553 (gst_base_src_loop):
13554 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
13555 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
13556 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
13557 (gst_base_transform_event), (gst_base_transform_handle_buffer),
13558 (gst_base_transform_set_passthrough),
13559 (gst_base_transform_is_passthrough):
13560 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
13561 * gst/elements/gstfilesink.c: (gst_file_sink_event):
13567 * gst/gstelement.c: (gst_element_seek):
13568 * gst/gstelement.h:
13569 Update gst_element_seek.
13571 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
13572 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
13573 (gst_event_new_flush_start), (gst_event_new_flush_stop),
13574 (gst_event_new_eos), (gst_event_new_newsegment),
13575 (gst_event_parse_newsegment), (gst_event_new_tag),
13576 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
13577 (gst_event_parse_qos), (gst_event_new_seek),
13578 (gst_event_parse_seek), (gst_event_new_navigation):
13580 Make GstEvent use GstStructure. Add parsing code, make sure the
13581 API is sufficiently generic.
13582 Mark possible directions of events and serialization.
13584 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
13585 (_gst_message_copy), (gst_message_new_segment_start),
13586 (gst_message_new_segment_done), (gst_message_new_custom),
13587 (gst_message_parse_segment_start),
13588 (gst_message_parse_segment_done):
13591 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
13592 (gst_pad_set_caps), (gst_pad_send_event):
13593 Update for new events.
13594 Catch events sent in wrong directions.
13596 * gst/gstqueue.c: (gst_queue_link_src),
13597 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
13598 (gst_queue_handle_src_query):
13603 Remove event code from this file.
13605 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
13606 (gst_dp_event_from_packet):
13609 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13611 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
13612 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
13613 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
13614 Make debugging actually useful.
13616 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13618 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
13619 (gst_pad_fixate_caps):
13620 Implement default fixation once again, so that gst_pad_fixate()
13621 actually does anything at all. This probably needs to be some
13622 sort of a last resort, and use profile-based fixation first, but
13623 since that doesn't exist yet, this is the best we have. Fixes
13624 visualization in Totem.
13626 2005-07-22 Wim Taymans <wim@fluendo.com>
13628 * docs/design/part-events.txt:
13631 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13632 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
13633 (gst_base_sink_activate_pull):
13634 Some more comments.
13636 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
13637 (gst_fake_src_create):
13638 Fix handoff marshall.
13640 * gst/elements/gstidentity.c: (gst_identity_class_init),
13641 (gst_identity_transform_ip):
13642 We're a real inplace element.
13644 * gst/gstbus.c: (gst_bus_post):
13645 Added some comments.
13647 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
13648 * tests/muxing/case1.c: (main):
13649 * tests/sched/dynamic-pipeline.c: (main):
13650 * tests/sched/interrupt1.c: (main):
13651 * tests/sched/interrupt2.c: (main):
13652 * tests/sched/interrupt3.c: (main):
13653 * tests/sched/runxml.c: (main):
13654 * tests/sched/sched-stress.c: (main):
13655 * tests/seeking/seeking1.c: (event_received), (main):
13656 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
13658 * tests/threadstate/threadstate3.c: (main):
13659 * tests/threadstate/threadstate4.c: (main):
13660 * tests/threadstate/threadstate5.c: (main):
13663 2005-07-21 Wim Taymans <wim@fluendo.com>
13665 * docs/design/part-seeking.txt:
13666 Some small additions.
13668 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13669 (gst_base_sink_get_times), (gst_base_sink_do_sync),
13670 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
13671 * gst/base/gstbasesink.h:
13672 discont values are gint64, handle the math correctly.
13674 * gst/base/gstbasesrc.c: (gst_base_src_loop):
13675 Make the basesrc report error if the source pad is not linked.
13677 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
13678 (gst_queue_loop), (gst_queue_handle_src_query),
13679 (gst_queue_src_activate_push):
13680 Make queue collect data even if the srcpad is not linked.
13681 Start pushing out data as soon as it is linked.
13683 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
13685 Added gst_flow_get_name() to ease error reporting.
13687 2005-07-20 Wim Taymans <wim@fluendo.com>
13689 * gst/gstmessage.c: (gst_message_new_segment_start),
13690 (gst_message_new_segment_done), (gst_message_parse_segment_start),
13691 (gst_message_parse_segment_done):
13692 * gst/gstmessage.h:
13693 Added a bunch of messages for advanced seeking.
13695 * gst/parse/grammar.y:
13696 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
13697 (gst_dpman_state_changed):
13698 Fix some new-pad -> pad-added signals
13700 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13702 * docs/manual/appendix-porting.xml:
13703 * docs/pwg/appendix-porting.xml:
13704 Document new-pad/state-change signal renames and the FixedList
13707 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13709 * docs/manual/advanced-autoplugging.xml:
13710 * docs/manual/basics-helloworld.xml:
13711 * docs/manual/basics-pads.xml:
13712 * docs/random/ds/0.9-suggested-changes:
13713 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
13714 * gst/gstelement.h:
13718 * gst/gststructure.c: (gst_structure_value_get_generic_type),
13719 (gst_structure_parse_array), (gst_structure_parse_value):
13720 * gst/gstvalue.c: (gst_type_is_fixed),
13721 (gst_value_list_prepend_value), (gst_value_list_append_value),
13722 (gst_value_list_get_size), (gst_value_list_get_value),
13723 (gst_value_transform_array_string), (gst_value_serialize_array),
13724 (gst_value_deserialize_array), (gst_value_intersect_array),
13725 (gst_value_is_fixed), (_gst_value_initialize):
13727 GstElement::new-pad -> pad-added, GstElement::state-change ->
13728 state-changed, GstValueFixedList -> GstValueArray, add format and
13729 flags as their own arguments in gst_element_seek() (should improve
13730 "bindeability"), remove function generators since they don't work
13731 under a whole bunch of compilers (they were deprecated already
13734 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13736 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
13737 (_gst_debug_register_funcptr):
13739 Fix illegal cast on some platforms (#309253).
13741 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13743 * gst/gstmessage.c: (gst_message_new_custom):
13744 * gst/gstmessage.h:
13745 Add _new_custom, make _new_application a macro to _new_custom.
13747 2005-07-20 Wim Taymans <wim@fluendo.com>
13749 * gst/base/gstbasesrc.c: (gst_base_src_init),
13750 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
13751 * gst/base/gstbasesrc.h:
13752 Add a gboolean to decide when to push out a discont.
13754 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
13755 (gst_queue_loop), (gst_queue_handle_src_query),
13756 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
13757 (gst_queue_set_property), (gst_queue_get_property):
13760 * tests/threadstate/threadstate1.c: (main):
13761 Make a thread test compile and run... very silly..
13764 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13766 * docs/manual/appendix-porting.xml:
13767 Mention removal of libgstgconf-0.9.la and existence of gconf
13770 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13772 * docs/pwg/advanced-clock.xml:
13773 * docs/pwg/appendix-porting.xml:
13774 * docs/pwg/intro-preface.xml:
13775 * docs/pwg/other-base.xml:
13776 * docs/pwg/other-manager.xml:
13777 * docs/pwg/other-nton.xml:
13778 * docs/pwg/other-ntoone.xml:
13779 * docs/pwg/other-oneton.xml:
13780 * docs/pwg/pwg.xml:
13781 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
13782 demuxer), remove n-to-n (was never written), fix some code examples
13783 and links and update the porting section to include all this.
13785 2005-07-19 Wim Taymans <wim@fluendo.com>
13787 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
13788 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
13789 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
13790 (gst_queue_src_activate_push), (gst_queue_change_state),
13791 (gst_queue_get_property):
13793 Propagate GstFlowReturn more intelligently upstream and output
13794 an ERROR/EOS when streaming stopped due to fatal error.
13796 2005-07-19 Wim Taymans <wim@fluendo.com>
13798 * tools/gst-launch.c: (check_intr), (event_loop), (main):
13799 Don't block forever for the state change to complete, the
13800 pipeline already did with a sensible timeout.
13802 2005-07-19 Wim Taymans <wim@fluendo.com>
13804 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
13805 Make sure we never call the create function is we
13808 2005-07-19 Andy Wingo <wingo@pobox.com>
13810 * gst/parse/parse.l: Attempt to solve bug #172815.
13812 2005-07-19 Wim Taymans <wim@fluendo.com>
13814 * docs/design/part-clocks.txt:
13815 * docs/design/part-events.txt:
13816 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
13817 Small docs updates.
13818 Only update the seeking values when we are not
13821 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
13823 * gst/base/gstbasesrc.c: (gst_base_src_loop):
13824 Oops, ignore the result of gst_pad_push_event here.
13826 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
13828 * gst/base/gstbasesrc.c: (gst_base_src_loop),
13829 (gst_base_src_activate_push):
13830 Send discont event from the loop function, as pads
13831 aren't activated yet in the activate_push handler.
13833 * gst/gstbin.c: (bin_bus_handler):
13834 Don't leak element name.
13836 2005-07-18 Andy Wingo <wingo@pobox.com>
13838 * configure.ac: Use AS_LIBTOOL_TAGS.
13840 2005-07-18 Wim Taymans <wim@fluendo.com>
13842 * docs/gst/gstreamer.types:
13843 Remove deleted types.
13845 2005-07-18 Wim Taymans <wim@fluendo.com>
13847 * check/elements/gstfakesrc.c: (GST_START_TEST):
13850 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
13851 (init_popt_callback):
13853 * gst/gst_private.h:
13854 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
13855 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
13858 * gst/gstconfig.h.in:
13859 * gst/gstelement.c: (gst_element_class_init),
13860 (gst_element_set_base_time), (gst_element_get_base_time),
13861 (iterator_fold_with_resync), (gst_element_change_state),
13862 (gst_element_dispose), (gst_element_get_bus):
13863 * gst/gstelement.h:
13864 * gst/gstelementfactory.h:
13865 * gst/gsterror.c: (_gst_core_errors_init):
13868 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
13870 * gst/gstinfo.c: (_gst_debug_init):
13871 * gst/gstmessage.c: (_gst_message_copy):
13872 * gst/gstmessage.h:
13873 * gst/gstminiobject.h:
13876 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
13877 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
13880 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
13881 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
13882 (gst_pipeline_get_last_stream_time):
13883 * gst/gstpipeline.h:
13884 * gst/gstpluginfeature.h:
13886 * gst/gstscheduler.c:
13887 * gst/gstscheduler.h:
13888 * gst/gststructure.h:
13889 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
13890 (gst_task_finalize), (gst_task_func), (gst_task_create),
13891 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
13892 (gst_task_stop), (gst_task_pause):
13894 * gst/gsttypefind.h:
13896 * gst/registries/gstlibxmlregistry.c: (load_feature),
13897 (gst_xml_registry_load), (gst_xml_registry_save_feature):
13898 * gst/registries/gstxmlregistry.c:
13899 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
13900 * gst/schedulers/threadscheduler.c:
13901 * libs/gst/control/dparammanager.h:
13902 * tools/gst-inspect.c: (print_element_list),
13903 (print_plugin_features), (print_element_features):
13904 * tools/gst-xmlinspect.c: (print_element_list),
13905 (print_plugin_info), (main):
13906 Removed plugable schedulers.
13907 Removed Scheduler/Manager from elements.
13908 Removed gsttypes.h, rearranged includes.
13909 Removed dependency pad<->element, element<>pipeline, and
13910 various others, fix includes.
13911 implement gst_pad_get_parent() with gst_object_get_parent()
13912 Make GstTask sefcontained.
13913 Fix _get_state() on GstBin, it did not return ASYNC with a 0
13915 Fix endless loop in iterator_fold_with_resync.
13918 2005-07-18 Wim Taymans <wim@fluendo.com>
13924 2005-07-18 Wim Taymans <wim@fluendo.com>
13927 No more cothreads.h
13929 2005-07-18 Wim Taymans <wim@fluendo.com>
13933 Let's remove these.
13935 2005-07-18 Wim Taymans <wim@fluendo.com>
13937 * docs/design/part-dynamic.txt:
13938 * docs/design/part-events.txt:
13939 * docs/design/part-seeking.txt:
13940 Some more docs in the works.
13942 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
13943 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
13944 (gst_base_transform_setcaps), (gst_base_transform_get_size),
13945 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
13946 (gst_base_transform_handle_buffer),
13947 (gst_base_transform_sink_activate_push),
13948 (gst_base_transform_src_activate_pull),
13949 (gst_base_transform_set_passthrough),
13950 (gst_base_transform_is_passthrough):
13953 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
13956 * gst/gstevent.c: (gst_event_finalize):
13959 * gst/gstutils.c: (gst_element_unlink),
13960 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
13961 (gst_pad_proxy_setcaps):
13963 Add _get_parent_element() to get a pads parent as an element.
13965 2005-07-18 Wim Taymans <wim@fluendo.com>
13967 * check/gst/gstbin.c: (GST_START_TEST):
13970 2005-07-18 Wim Taymans <wim@fluendo.com>
13972 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
13973 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
13974 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
13975 (gst_base_sink_event), (gst_base_sink_do_sync),
13976 (gst_base_sink_chain), (gst_base_sink_loop),
13977 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
13978 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
13980 Fix logic for returning ASYNC when not prerolled.
13982 2005-07-18 Wim Taymans <wim@fluendo.com>
13984 * gst/gstqueue.c: (gst_queue_handle_sink_event):
13985 Fix nasty refcount bug.
13987 2005-07-16 Philippe Khalaf <burger@speedy.org>
13989 * gst/elements/gstfdsrc.c:
13990 * gst/elements/gstfdsrc.h:
13991 * gst/elements/gstelements.c:
13992 * gst/elements/Makefile.am:
13993 Ported fdsrc to 0.9.
13995 2005-07-16 Wim Taymans <wim@fluendo.com>
13997 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13998 (gst_base_sink_do_sync):
14001 2005-07-16 Wim Taymans <wim@fluendo.com>
14003 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14004 (gst_base_sink_event), (gst_base_sink_get_times),
14005 (gst_base_sink_do_sync), (gst_base_sink_change_state):
14006 * gst/base/gstbasesink.h:
14007 Store and use discont values when syncing buffers as described
14010 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
14011 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
14012 (gst_base_src_activate_push):
14013 Push discont event when starting.
14015 * gst/elements/gstidentity.c: (gst_identity_transform):
14018 * gst/gstbin.c: (gst_bin_change_state):
14019 Small cleanups in base_time distribution.
14021 * gst/gstelement.c: (gst_element_set_base_time),
14022 (gst_element_get_base_time), (gst_element_change_state):
14023 * gst/gstelement.h:
14024 Added methods for the base_time of the element.
14027 * gst/gstpipeline.c: (gst_pipeline_send_event),
14028 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
14029 (gst_pipeline_get_last_stream_time):
14030 * gst/gstpipeline.h:
14032 Handle seeking as described in design doc, remove stream_time
14034 Cleanups clock and stream_time selection code. Added accessors
14035 for the stream_time.
14038 2005-07-16 Andy Wingo <wingo@pobox.com>
14040 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
14043 2005-07-16 Wim Taymans <wim@fluendo.com>
14045 * check/gst/gstbin.c: (GST_START_TEST):
14046 Make elements silent as the deep_notify refs the
14047 parent, which might make the test fail.
14049 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
14050 Don't hold the lock for too long.
14052 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
14054 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
14055 Don't unref the caps we passed to gst_caps_make_writable() after
14056 passing them. gst_caps_make_writable() will do that for us.
14058 2005-07-15 Andy Wingo <wingo@pobox.com>
14060 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
14063 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
14064 own marshalling function for the handoff signal. Properly type the
14065 buffer as a buffer. Fixes some warnings. Should do a more general
14067 (gst_identity_class_init): Plug into the right marshaller.
14069 2005-07-15 Wim Taymans <wim@fluendo.com>
14071 * docs/design/part-TODO.txt:
14072 * docs/design/part-clocks.txt:
14073 * docs/design/part-element-sink.txt:
14074 * docs/design/part-events.txt:
14075 * docs/design/part-gstpipeline.txt:
14076 Updated docs, mostly DISCONT related.
14078 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
14080 * docs/pwg/building-pads.xml:
14081 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
14083 2005-07-15 Andy Wingo <wingo@pobox.com>
14085 * tools/gst-typefind.c: Update, add copyright block.
14087 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
14088 Normalize and truncate caps before fixation.
14091 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
14092 discards all but the first structure from its argument.
14094 2005-07-15 Wim Taymans <wim@fluendo.com>
14096 * gst/base/gstbasetransform.c: (gst_base_transform_init),
14097 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
14098 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
14099 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
14100 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
14101 (gst_base_transform_chain), (gst_base_transform_change_state),
14102 (gst_base_transform_set_passthrough),
14103 (gst_base_transform_is_passthrough):
14104 * gst/base/gstbasetransform.h:
14105 Make passthrough work using the bufferpools.
14106 Changed API a bit, subclasses have to write into a buffer
14107 provided by the base class.
14108 More debug info in nego functions.
14110 * gst/elements/gstidentity.c: (gst_identity_init),
14111 (gst_identity_transform):
14112 Port to new base class.
14114 2005-07-15 Wim Taymans <wim@fluendo.com>
14116 * gst/gstmessage.c: (gst_message_new_state_changed):
14117 * tools/gst-launch.c: (event_loop), (main):
14118 Totally dump messages in -launch with the -m option.
14119 Fix message name for State messages,
14121 2005-07-14 Wim Taymans <wim@fluendo.com>
14123 * gst/base/gstbasesrc.c: (gst_base_src_loop):
14124 Post error messages on errors.
14126 2005-07-14 Wim Taymans <wim@fluendo.com>
14128 * gst/gstcaps.c: (gst_caps_do_simplify):
14132 Define error for stream stopped.
14134 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
14135 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
14136 Do proper return values.
14138 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
14139 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
14140 (gst_pad_get_range):
14141 Better return values.
14144 Reorganise return values, add macro to check for fatal errors.
14146 * gst/gstqueue.c: (gst_queue_chain):
14147 Return proper GstFlowReturn values,
14149 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
14151 * docs/gst/gstreamer-sections.txt:
14152 * docs/gst/gstreamer.types:
14153 * docs/gst/tmpl/gst.sgml:
14154 * docs/gst/tmpl/gstbasesink.sgml:
14155 * docs/gst/tmpl/gstbasesrc.sgml:
14156 * docs/gst/tmpl/gstbasetransform.sgml:
14157 * docs/gst/tmpl/gstbin.sgml:
14158 * docs/gst/tmpl/gstbuffer.sgml:
14159 * docs/gst/tmpl/gstcaps.sgml:
14160 * docs/gst/tmpl/gstclock.sgml:
14161 * docs/gst/tmpl/gstcompat.sgml:
14162 * docs/gst/tmpl/gstconfig.sgml:
14163 * docs/gst/tmpl/gstelement.sgml:
14164 * docs/gst/tmpl/gstelementdetails.sgml:
14165 * docs/gst/tmpl/gstelementfactory.sgml:
14166 * docs/gst/tmpl/gstenumtypes.sgml:
14167 * docs/gst/tmpl/gsterror.sgml:
14168 * docs/gst/tmpl/gstevent.sgml:
14169 * docs/gst/tmpl/gstfakesink.sgml:
14170 * docs/gst/tmpl/gstfakesrc.sgml:
14171 * docs/gst/tmpl/gstfilesink.sgml:
14172 * docs/gst/tmpl/gstfilesrc.sgml:
14173 * docs/gst/tmpl/gstfilter.sgml:
14174 * docs/gst/tmpl/gstformat.sgml:
14175 * docs/gst/tmpl/gstghostpad.sgml:
14176 * docs/gst/tmpl/gstimplementsinterface.sgml:
14177 * docs/gst/tmpl/gstindex.sgml:
14178 * docs/gst/tmpl/gstindexfactory.sgml:
14179 * docs/gst/tmpl/gstinfo.sgml:
14180 * docs/gst/tmpl/gstiterator.sgml:
14181 * docs/gst/tmpl/gstmacros.sgml:
14182 * docs/gst/tmpl/gstmemchunk.sgml:
14183 * docs/gst/tmpl/gstminiobject.sgml:
14184 * docs/gst/tmpl/gstobject.sgml:
14185 * docs/gst/tmpl/gstpad.sgml:
14186 * docs/gst/tmpl/gstpadtemplate.sgml:
14187 * docs/gst/tmpl/gstparse.sgml:
14188 * docs/gst/tmpl/gstpipeline.sgml:
14189 * docs/gst/tmpl/gstplugin.sgml:
14190 * docs/gst/tmpl/gstpluginfeature.sgml:
14191 * docs/gst/tmpl/gstquery.sgml:
14192 * docs/gst/tmpl/gstqueue.sgml:
14193 * docs/gst/tmpl/gstregistry.sgml:
14194 * docs/gst/tmpl/gstregistrypool.sgml:
14195 * docs/gst/tmpl/gstscheduler.sgml:
14196 * docs/gst/tmpl/gstschedulerfactory.sgml:
14197 * docs/gst/tmpl/gststructure.sgml:
14198 * docs/gst/tmpl/gstsystemclock.sgml:
14199 * docs/gst/tmpl/gsttaglist.sgml:
14200 * docs/gst/tmpl/gsttagsetter.sgml:
14201 * docs/gst/tmpl/gsttrace.sgml:
14202 * docs/gst/tmpl/gsttrashstack.sgml:
14203 * docs/gst/tmpl/gsttypefind.sgml:
14204 * docs/gst/tmpl/gsttypefindfactory.sgml:
14205 * docs/gst/tmpl/gsttypes.sgml:
14206 * docs/gst/tmpl/gsturihandler.sgml:
14207 * docs/gst/tmpl/gsturitype.sgml:
14208 * docs/gst/tmpl/gstutils.sgml:
14209 * docs/gst/tmpl/gstvalue.sgml:
14210 * docs/gst/tmpl/gstversion.sgml:
14211 * docs/gst/tmpl/gstxml.sgml:
14212 * docs/libs/tmpl/gstcontrol.sgml:
14213 * docs/libs/tmpl/gstdataprotocol.sgml:
14214 * docs/libs/tmpl/gstdparam.sgml:
14215 * docs/libs/tmpl/gstdplinint.sgml:
14216 * docs/libs/tmpl/gstdpman.sgml:
14217 * docs/libs/tmpl/gstdpsmooth.sgml:
14218 * docs/libs/tmpl/gstgetbits.sgml:
14219 * docs/libs/tmpl/gstunitconvert.sgml:
14220 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
14221 (gst_push_src_base_init), (gst_push_src_class_init),
14222 (gst_push_src_init), (gst_push_src_create):
14223 * gst/base/gstpushsrc.h:
14224 * gst/elements/gstelements.c:
14225 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
14226 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
14227 (gst_fake_sink_init), (gst_fake_sink_set_property),
14228 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
14229 (gst_fake_sink_event), (gst_fake_sink_preroll),
14230 (gst_fake_sink_render), (gst_fake_sink_change_state):
14231 * gst/elements/gstfakesink.h:
14232 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
14233 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
14234 (gst_fake_src_base_init), (gst_fake_src_class_init),
14235 (gst_fake_src_init), (gst_fake_src_event_handler),
14236 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
14237 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
14238 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
14239 (gst_fake_src_create_buffer), (gst_fake_src_create),
14240 (gst_fake_src_start), (gst_fake_src_stop):
14241 * gst/elements/gstfakesrc.h:
14242 * gst/elements/gstfilesink.c: (_do_init),
14243 (gst_file_sink_base_init), (gst_file_sink_class_init),
14244 (gst_file_sink_init), (gst_file_sink_dispose),
14245 (gst_file_sink_set_location), (gst_file_sink_set_property),
14246 (gst_file_sink_get_property), (gst_file_sink_open_file),
14247 (gst_file_sink_close_file), (gst_file_sink_query),
14248 (gst_file_sink_event), (gst_file_sink_render),
14249 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
14250 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
14251 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
14252 * gst/elements/gstfilesink.h:
14253 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
14254 (gst_file_src_class_init), (gst_file_src_init),
14255 (gst_file_src_finalize), (gst_file_src_set_location),
14256 (gst_file_src_set_property), (gst_file_src_get_property),
14257 (gst_file_src_map_region), (gst_file_src_map_small_region),
14258 (gst_file_src_create_mmap), (gst_file_src_create_read),
14259 (gst_file_src_create), (gst_file_src_is_seekable),
14260 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
14261 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
14262 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
14263 (gst_file_src_uri_handler_init):
14264 * gst/elements/gstfilesrc.h:
14265 more autistic cleanliness in functions/names/defines
14267 2005-07-13 Andy Wingo <wingo@pobox.com>
14269 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
14270 source couldn't negotiate.
14272 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
14276 * gst/gstutils.c (gst_element_link_pads_filtered): New old
14277 function. I am channeling Hades. Put your boots on suckers!!!
14279 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
14281 * testsuite/caps/Makefile.am:
14282 * testsuite/caps/value_compare.c:
14283 * testsuite/caps/value_intersect.c:
14284 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14285 move two testsuite apps over to the check dir
14287 2005-07-12 Wim Taymans <wim@fluendo.com>
14289 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
14290 Added more debug info in the negotiate process.
14292 * gst/gstmessage.h:
14293 Prepare for segment playback.
14295 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
14301 * tools/gst-launch.c: (main):
14302 NULL pipeline on errors.
14304 2005-07-12 Andy Wingo <wingo@pobox.com>
14306 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
14307 not it comes from a malloc region. Make sure our copy gets freed.
14309 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
14311 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
14312 * check/gst/gstmessage.c: (GST_START_TEST):
14313 * check/gst/gststructure.c: (GST_START_TEST),
14314 (gst_structure_suite), (main):
14316 * gst/gstelement.c: (gst_element_message_full):
14317 clean up GError and debug string now that they get copied
14318 * gst/gstmessage.c: (gst_message_new_error),
14319 (gst_message_new_warning), (gst_message_parse_error),
14320 (gst_message_parse_warning):
14321 use GST_TYPE_G_ERROR for structure_new, and take copies of
14322 arguments, so that we don't mess up refcounting
14324 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
14326 * check/Makefile.am:
14327 add per-test valgrind targets
14328 * check/gst-libs/gdp.c: (GST_START_TEST),
14329 (gst_data_protocol_suite), (main):
14332 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
14334 * check/Makefile.am:
14335 instate more valgrindable tests
14336 * check/elements/gstfakesrc.c: (chain_func), (event_func),
14337 (GST_START_TEST), (fakesrc_suite):
14338 * check/gst/gstpad.c: (GST_START_TEST):
14339 * check/gst/gststructure.c: (GST_START_TEST):
14341 * docs/gst/tmpl/gstminiobject.sgml:
14342 * gst/gstpad.c: (gst_pad_finalize):
14343 fix the static mutex leak
14345 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
14347 * check/Makefile.am:
14348 add two more tests for valgrinding
14349 * check/gst/gstvalue.c: (GST_START_TEST):
14350 test refcount of deserialized buffer, found a leak
14351 * docs/gst/gstreamer-docs.sgml:
14352 * docs/gst/gstreamer-sections.txt:
14353 * docs/gst/gstreamer.types:
14354 * docs/gst/tmpl/gstminiobject.sgml:
14355 add miniobject to docs
14356 * gst/gstminiobject.c:
14358 * gst/gstvalue.c: (gst_value_deserialize_buffer),
14359 (gst_string_unwrap):
14360 fix a hard-to-find invalid write for one of the tests
14361 fix a leak for deserialized buffers
14363 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14365 * docs/pwg/advanced-events.xml:
14366 * docs/pwg/advanced-request.xml:
14367 * docs/pwg/advanced-scheduling.xml:
14368 * docs/pwg/appendix-porting.xml:
14369 * docs/pwg/building-boiler.xml:
14370 * docs/pwg/intro-preface.xml:
14371 * docs/pwg/other-ntoone.xml:
14372 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
14373 of example code and explanation for pad activation, loop() and
14374 getrange() functions and a bit more. Remove old comments pointing
14376 * examples/pwg/Makefile.am:
14377 Add loop/getrange examples.
14379 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
14382 check for valgrind binary + some fixes
14384 valgrind suppressions for the tests
14385 * check/Makefile.am:
14386 add a valgrind: target that valgrinds the unit tests
14387 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
14388 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
14389 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14390 * check/gst/gstghostpad.c:
14392 * check/gst/gstdata.c:
14394 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
14395 (thread_unref), (gst_mini_object_suite), (main):
14397 * gst/gst.c: (gst_deinit):
14399 add a method to clean up.
14400 * gst/gstsystemclock.c: (gst_system_clock_dispose),
14401 (gst_system_clock_obtain):
14402 allow for disposing the system clock.
14403 * tools/gst-launch.c: (main):
14406 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
14408 * docs/gst/tmpl/gstbasesrc.sgml:
14409 * docs/gst/tmpl/gstfakesrc.sgml:
14410 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14411 (gst_base_src_init), (gst_base_src_set_property),
14412 (gst_base_src_get_property), (gst_base_src_get_range),
14413 (gst_base_src_start):
14414 * gst/base/gstbasesrc.h:
14415 add num-buffers property
14416 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
14417 (gst_fakesrc_init), (gst_fakesrc_set_property),
14418 (gst_fakesrc_get_property), (gst_fakesrc_create),
14419 (gst_fakesrc_start):
14420 remove num-buffers property
14422 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
14424 * docs/gst/gstreamer-sections.txt:
14425 * docs/gst/tmpl/gstbasesink.sgml:
14426 * docs/gst/tmpl/gstbasesrc.sgml:
14427 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
14428 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
14429 (gst_base_sink_finalize), (gst_base_sink_set_clock),
14430 (gst_base_sink_set_property), (gst_base_sink_get_property),
14431 (gst_base_sink_handle_object), (gst_base_sink_event),
14432 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
14433 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
14434 (gst_base_sink_loop), (gst_base_sink_deactivate),
14435 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
14436 (gst_base_sink_change_state):
14437 * gst/base/gstbasesink.h:
14438 * gst/base/gstbasesrc.h:
14439 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
14440 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
14441 (gst_filesink_init):
14442 more macro splitting
14444 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
14446 * gst/gstelement.c: (gst_element_get_bus):
14448 * tools/gst-launch.c: (check_intr), (event_loop):
14451 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
14453 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
14456 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
14458 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14459 (gst_base_src_finalize):
14460 add finalize method and clean up properly
14461 * gst/gstpipeline.c: (gst_pipeline_dispose):
14464 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
14466 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
14468 add more things to check
14469 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
14470 * gst/gstelement.c:
14473 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
14475 * check/elements/gstfakesrc.c: (chain_func), (event_func),
14476 (GST_START_TEST), (fakesrc_suite):
14477 * check/gst-libs/gdp.c: (GST_START_TEST):
14478 * check/gst/gst.c: (GST_START_TEST):
14479 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
14480 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14481 * check/gst/gstbus.c: (GST_START_TEST):
14482 * check/gst/gstcaps.c: (GST_START_TEST):
14483 * check/gst/gstdata.c: (GST_START_TEST):
14484 * check/gst/gstelement.c: (GST_START_TEST):
14485 * check/gst/gstghostpad.c: (GST_START_TEST):
14486 * check/gst/gstiterator.c: (GST_START_TEST):
14487 * check/gst/gstmessage.c: (GST_START_TEST):
14488 * check/gst/gstobject.c: (GST_START_TEST):
14489 * check/gst/gstpad.c: (GST_START_TEST):
14490 * check/gst/gststructure.c: (GST_START_TEST):
14491 * check/gst/gstsystemclock.c: (GST_START_TEST),
14492 (gst_systemclock_suite):
14493 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
14494 * check/gst/gstvalue.c: (GST_START_TEST):
14495 * check/pipelines/cleanup.c: (GST_START_TEST):
14496 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
14497 * check/states/sinks.c: (GST_START_TEST):
14498 * check/gstcheck.c: (gst_check_init):
14499 * check/gstcheck.h:
14500 add debugging category
14501 use GST_START_TEST now, so we add a debug line
14503 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
14505 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
14506 add test for state change message on a bin
14507 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
14509 * gst/gstbin.c: (gst_bin_init):
14510 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
14511 * gst/gstelement.c: (gst_element_post_message),
14512 (gst_element_set_state):
14513 * gst/gstelementfactory.c: (gst_element_factory_create):
14514 * gst/gstmessage.c: (gst_message_new):
14515 * gst/gstscheduler.c:
14516 various debugging additions and cleanups
14518 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
14520 * check/Makefile.am:
14521 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
14523 adding tests for elements
14524 * gst/gstelement.c: (gst_element_dispose):
14526 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
14528 * gst/registries/gstlibxmlregistry.c: (load_feature):
14529 plug more leaks. A simple gst_init() now is leakfree, yay.
14531 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
14533 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
14534 (gst_xml_registry_load):
14535 plug another memleak
14537 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
14540 use GST_SET_ERROR_CFLAGS
14541 * docs/faq/cvs.xml:
14542 change to ERROR_CFLAGS
14544 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
14547 make GST_ERROR_CFLAGS overridable and re-enable Werror
14548 * docs/faq/cvs.xml:
14549 add a note about error CFLAGS
14550 * docs/gst/tmpl/gstfakesrc.sgml:
14551 * gst/elements/gstfakesrc.c:
14552 comment out some unused code
14553 * gst/gst.c: (split_and_iterate):
14554 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
14558 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
14560 * common/Makefile.am:
14561 * common/gtk-doc.mak:
14562 * docs/gst/Makefile.am:
14563 factor out gtk-doc.mak
14565 2005-07-07 Wim Taymans <wim@fluendo.com>
14567 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
14568 (gst_thread_scheduler_dispose):
14569 Unlock the STREAM_LOCK completely.
14571 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
14573 * check/Makefile.am:
14574 * check/elements/.cvsignore:
14575 * check/elements/gstfakesrc.c: (chain_func), (event_func),
14576 (START_TEST), (fakesrc_suite), (main):
14577 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
14578 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
14579 (gst_fakesrc_create), (gst_fakesrc_start):
14580 * gst/elements/gstfakesrc.h:
14581 adding a first element test
14583 2005-07-07 Andy Wingo <wingo@pobox.com>
14585 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
14588 2005-07-07 Wim Taymans <wim@fluendo.com>
14594 2005-07-07 Wim Taymans <wim@fluendo.com>
14596 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
14597 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
14598 Allow subclasses to implement their own negotiation.
14600 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
14602 * docs/design/part-gstbin.txt:
14603 * docs/design/part-gstpipeline.txt:
14604 Update design notes to reflect the movement of
14605 responsibility for bus handling from GstPipeline to
14608 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
14611 Remove unnecessary queue2/3/4 examples.
14613 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
14615 * examples/Makefile.am:
14616 * examples/helloworld/helloworld.c: (event_loop), (main):
14617 * examples/queue/queue.c: (event_loop), (main):
14618 * examples/queue2/queue2.c: (main):
14619 Update a couple of the examples to work again.
14621 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
14622 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
14623 Spelling corrections and extra debug.
14625 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
14626 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
14627 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
14629 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
14630 (gst_pipeline_change_state):
14631 * gst/gstpipeline.h:
14632 Move the bus handler for children to the GstBin, and create a
14633 separate bus for receiving messages from children to the one the
14634 bus sends 'upwards' on.
14636 2005-07-06 Wim Taymans <wim@fluendo.com>
14639 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
14640 (gst_base_sink_handle_object), (gst_base_sink_loop),
14641 (gst_base_sink_change_state):
14642 * gst/base/gstbasesink.h:
14643 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14644 (gst_base_src_init), (gst_base_src_setcaps),
14645 (gst_base_src_getcaps), (gst_base_src_loop),
14646 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
14647 (gst_base_src_start), (gst_base_src_change_state):
14648 * gst/base/gstbasesrc.h:
14649 Make basesrc negotiate.
14650 Handle the case where preroll fails in basesink.
14653 2005-07-06 Wim Taymans <wim@fluendo.com>
14655 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
14656 Implement the fixate function.
14657 Clean up acceptcaps.
14659 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14661 * docs/pwg/building-filterfactory.xml:
14662 * docs/pwg/pwg.xml:
14663 Remove never-written filter-factory chapter; I'll add the various
14664 base classes to part 4 ("other element types") later on.
14666 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14668 * docs/pwg/advanced-negotiation.xml:
14669 * docs/pwg/building-boiler.xml:
14670 * docs/pwg/building-pads.xml:
14671 * docs/pwg/pwg.xml:
14672 * examples/pwg/Makefile.am:
14673 Add a chapter on caps negotiation, simplify the original code
14674 samples a bit w.r.t. caps negotiation, add link to the advanced
14675 section. Add a bunch of examples showing different use cases of
14676 different types of caps negotiation. Upstream renegotiation isn't
14677 fully documented yet since nobody knows how that works.
14679 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
14681 * check/gst/gstpad.c:
14682 * check/gstcheck.c:
14683 * gst/gstpad.c: (gst_pad_get_internal_links_default):
14684 if pad has no parent, return NULL as list of internal links
14686 2005-07-05 Andy Wingo <wingo@pobox.com>
14688 * gst/elements/gstfilesrc.c:
14689 * gst/elements/gstfakesrc.c:
14690 * gst/base/gstpushsrc.c:
14691 * gst/base/gstbasesrc.h:
14692 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
14694 2005-07-05 Stefan Kost <ensonic@users.sf.net>
14697 better report generation target (lcov needs a patch)
14699 2005-07-05 Andy Wingo <wingo@pobox.com>
14701 * gst/elements, testsuite: Null if we got it...
14703 2005-07-05 Wim Taymans <wim@fluendo.com>
14706 * libs/gst/dataprotocol/Makefile.am:
14707 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
14708 * libs/gst/dataprotocol/dataprotocol.h:
14709 * pkgconfig/Makefile.am:
14710 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
14711 * pkgconfig/gstreamer-dataprotocol.pc.in:
14712 Ported dataprotol to 0.9.
14713 Added pkgconfig files.
14715 2005-07-05 Andy Wingo <wingo@pobox.com>
14717 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
14718 Default to returning TRUE for the case when tranform_caps returns
14719 a fixed caps, like for identity or volume.
14721 * check/gst/gstbus.c (pound_bus_with_messages):
14722 * check/gst/gstmessage.c (START_TEST):
14723 * check/pipelines/simple_launch_lines.c (got_handoff): Application
14724 message API change.
14726 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
14727 logic weaks here: always run transform_caps, trying passthrough
14728 operation only if the original caps intersects with the transform.
14730 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
14731 source and sink caps.
14733 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
14734 Intersect the peer caps with the pad template before going into
14736 (gst_base_transform_transform_caps): More debugging.
14738 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
14741 2005-07-04 Edward Hervey <edward@fluendo.com>
14745 (gst_pad_add_*_probe): now returns the signal id for better wrapping
14748 2005-07-04 Andy Wingo <wingo@pobox.com>
14750 * check/gst/gstpad.c: Only set explicit caps on pads.
14752 2005-07-01 Andy Wingo <wingo@pobox.com>
14754 * tests/network-clock.scm: Commentary update.
14756 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
14757 Didn't really make sense, not implementable with basetransform,
14759 (gst_identity_transform): Unref inbuf via make_writable. Feeble
14760 attempt at implementing the sync property, needs an unlock method.
14762 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
14763 New func, by default returns the same caps (the identity
14765 (gst_base_transform_getcaps): Uses transform_caps to return
14766 something sensible.
14767 (gst_base_transform_setcaps): Complicated logic to get caps on
14768 both pads, even if they are different, and to call set_caps once
14769 for every time both pads get their caps set.
14770 (gst_base_transform_handle_buffer): Give the ref to the transform
14771 function. Allows in-place modification of the buffer.
14773 * gst/base/gstbasetransform.h (transform_caps): New class method.
14774 Given caps on one side, what can I do on the other.
14775 (set_caps): Take two caps, one for each side of the element.
14778 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
14779 caps in place. This is safe because we can check the mutability of
14780 the caps, and a good idea because fixate functions are just called
14781 as a matter of last resort. (Not actually implemented.)
14782 (gst_pad_set_caps): If the caps we're setting is actually the same
14783 as the existing pad caps, just update the pointer without calling
14784 setcaps. Assert that caps is either NULL or fixed, as per the
14787 * gst/gstghostpad.c: Update for fixate changes.
14789 2005-07-02 Andy Wingo <wingo@pobox.com>
14792 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
14793 two refcounts makes it immutable, which is enough. Doc more.
14795 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
14797 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
14798 Put the mini_object into GValue as a mini_object,
14799 not a gpointer, since that's how we declared
14802 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14804 * examples/pwg/Makefile.am:
14805 Fix buildbot again.
14807 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14809 * docs/pwg/building-testapp.xml:
14811 * examples/pwg/Makefile.am:
14814 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14817 * examples/Makefile.am:
14818 * examples/pwg/Makefile.am:
14819 * examples/pwg/extract.pl:
14820 Enable building the PWG examples.
14821 * docs/pwg/advanced-interfaces.xml:
14822 Add URI interface stub.
14823 * docs/pwg/advanced-types.xml:
14824 * docs/pwg/other-autoplugger.xml:
14825 * docs/pwg/appendix-porting.xml:
14826 * docs/pwg/pwg.xml:
14827 Add porting guide (mostly stubs), remove autoplugging (see ADM).
14828 * docs/pwg/building-boiler.xml:
14829 * docs/pwg/building-chainfn.xml:
14830 * docs/pwg/building-pads.xml:
14831 * docs/pwg/building-props.xml:
14832 * docs/pwg/building-state.xml:
14833 * docs/pwg/building-testapp.xml:
14834 Update the building-*.xml parts for 0.9 changes. All examples
14835 code blocks compile in examples/pwg/*.
14837 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14839 * docs/manual/advanced-autoplugging.xml:
14840 * docs/manual/appendix-checklist.xml:
14841 * docs/manual/appendix-integration.xml:
14842 * docs/manual/highlevel-components.xml:
14843 Fix playbin/decodebin examples, update docs a bit, mention bus
14844 instead of signals in various places, mention kmplayer and
14845 kaffeine since they have a working GStreamer backend in the KDE
14848 2005-06-30 Wim Taymans <wim@fluendo.com>
14851 * docs/design/draft-ghostpads.txt:
14852 * docs/design/draft-push-pull.txt:
14853 * docs/design/draft-query.txt:
14854 * docs/design/part-TODO.txt:
14855 * docs/design/part-query.txt:
14856 Added CHANGES-0.9 doc, updated status of other docs.
14861 2005-06-30 Wim Taymans <wim@fluendo.com>
14863 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
14864 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
14865 (gst_base_sink_change_state):
14866 * gst/base/gstbasesink.h:
14867 Some tweaks, only EOS and a buffer complete a preroll.
14869 2005-06-30 Andy Wingo <wingo@pobox.com>
14871 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
14872 activate_push down to the internal pad as well.
14874 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
14876 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14878 * gst/gsttaginterface.c:
14879 Some documentation fixes (#307394 and #307397).
14881 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
14883 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14885 * gst/gstvalue.c: (gst_value_intersect_list):
14886 Fix memleak (#309125).
14888 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14890 * docs/manual/advanced-dataaccess.xml:
14891 Fix fakesrc example to compile; doesn't work, bug somewhere...?
14892 * docs/manual/basics-pads.xml:
14893 Add reference for filtered caps to above chapter.
14895 2005-06-30 Wim Taymans <wim@fluendo.com>
14897 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
14898 (gst_bin_change_state):
14900 Lame attempt at making the state change function a bit
14903 2005-06-30 Wim Taymans <wim@fluendo.com>
14905 * docs/design/part-clocks.txt:
14906 * docs/design/part-element-sink.txt:
14907 * docs/design/part-events.txt:
14908 * docs/design/part-preroll.txt:
14909 * docs/design/part-states.txt:
14910 Some more tweeks and additions to the docs.
14912 2005-06-30 Wim Taymans <wim@fluendo.com>
14914 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
14915 (default_have_data), (gst_pad_class_init), (gst_pad_init),
14916 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
14917 (gst_pad_check_pull_range), (gst_pad_get_range),
14918 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
14920 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
14921 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
14922 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
14923 (gst_pad_remove_buffer_probe):
14924 Removed atomic operations, use existing LOCK.
14925 Move exception handling out of main code path.
14927 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14929 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
14930 (silly_return_true_function), (gst_pad_class_init),
14931 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
14932 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
14933 (gst_pad_send_event):
14934 Fix accumulator, add default value by using _emitv() instead
14935 of _emit() for signal emission.
14937 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14939 * docs/manual/advanced-dataaccess.xml:
14940 * examples/manual/Makefile.am:
14942 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
14945 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
14947 * gst/elements/gstfilesink.c: (gst_filesink_render):
14948 Simplify code so that we don't have to handle short
14949 writes and return GST_FLOW_ERROR if an error occured.
14951 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14953 * docs/gst/gstreamer-docs.sgml:
14954 Remove probes more.
14956 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14958 * docs/gst/gstreamer-sections.txt:
14959 * docs/gst/tmpl/gstpad.sgml:
14960 * docs/gst/tmpl/gstprobe.sgml:
14962 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
14963 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
14964 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
14965 (gst_pad_push_event), (gst_pad_send_event):
14967 * gst/gstutils.c: (gst_pad_add_data_probe),
14968 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
14969 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
14970 (gst_pad_remove_buffer_probe):
14972 Remove old probes, add new g-signal-based probes and some utility
14975 2005-06-29 Edward Hervey <edward@fluendo.com>
14977 * gst/gstelementfactory.c:
14980 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
14981 the definition to the header file.
14983 2005-06-29 Andy Wingo <wingo@pobox.com>
14985 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
14986 plugins from the source directory.
14988 2005-06-29 Wim Taymans <wim@fluendo.com>
14990 * docs/gst/tmpl/gstbuffer.sgml:
14991 * docs/gst/tmpl/gstclock.sgml:
14992 Some fixings for blantently wrong text.
14994 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
14996 * check/Makefile.am:
14997 * gst/gst.c: (add_path_func), (init_pre):
14998 * gst/gstregistry.c: (gst_registry_add_path):
14999 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
15000 only scan the GST_PLUGIN_PATH locations, and not add
15003 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
15005 * docs/gst/gstreamer-sections.txt:
15006 * docs/gst/tmpl/gstbasesrc.sgml:
15007 * gst/gstelement.c:
15008 * gst/gstelement.h:
15013 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15015 * docs/manual/advanced-autoplugging.xml:
15016 Fix autoplugging example.
15018 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15020 * docs/manual/advanced-autoplugging.xml:
15021 * docs/manual/mime-world.fig:
15022 Try to get autoplugging working, fix type detection. Fix text
15023 in hello-world image.
15025 2005-06-29 Wim Taymans <wim@fluendo.com>
15027 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15028 (gst_base_sink_change_state):
15032 map SIGNAL and BROADCAST to the right function.
15035 Remove redundant braces.
15037 * gst/gstpad.c: (gst_pad_set_caps):
15038 Don't call setcaps function when reseting caps to NULL.
15040 * gst/gstsystemclock.c: (gst_system_clock_dispose),
15041 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
15042 (gst_system_clock_id_unschedule):
15043 Use BROADCAST as this is what we do.
15045 2005-06-29 Wim Taymans <wim@fluendo.com>
15047 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15048 We are actually prerolling before commiting the state
15051 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15053 * docs/manual/advanced-clocks.xml:
15054 * docs/manual/advanced-interfaces.xml:
15055 * docs/manual/advanced-metadata.xml:
15056 * docs/manual/advanced-position.xml:
15057 * docs/manual/advanced-schedulers.xml:
15058 * docs/manual/advanced-threads.xml:
15059 * docs/manual/appendix-porting.xml:
15060 * docs/manual/basics-bins.xml:
15061 * docs/manual/basics-bus.xml:
15062 * docs/manual/basics-elements.xml:
15063 * docs/manual/basics-helloworld.xml:
15064 * docs/manual/basics-pads.xml:
15065 * docs/manual/highlevel-components.xml:
15066 * docs/manual/manual.xml:
15067 * docs/manual/thread.fig:
15068 Update (until threads/scheduling) Application Development Manual;
15069 remove GstThread, add GstBus, add simple porting checklist, add
15070 documentation for tag writing, clocks, make all examples until this
15071 part compile and run.
15072 * examples/manual/Makefile.am:
15073 Update from changes to Application Development Manual; add bus
15074 example, remove thread example.
15076 2005-06-28 Wim Taymans <wim@fluendo.com>
15078 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
15079 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
15080 (gst_bus_source_dispatch):
15081 Add debugging messages.
15082 Make internal methods static.
15083 Handle the case where the bus is flushed in the handler.
15085 * gst/gstelement.c: (gst_element_get_bus):
15086 Fix refcount in _get_bus();
15088 * gst/gstpipeline.c: (gst_pipeline_change_state),
15089 (gst_pipeline_get_clock_func):
15090 Clock refcounting fixes.
15091 Handle the case where preroll timed out more gracefully.
15093 * gst/gstsystemclock.c: (gst_system_clock_dispose):
15094 Clean up the internal thread in dispose. This is needed
15095 for subclasses that actually get disposed.
15097 * gst/schedulers/threadscheduler.c:
15098 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
15099 (gst_thread_scheduler_dispose):
15100 Free thread pool in dispose.
15102 2005-06-28 Andy Wingo <wingo@pobox.com>
15104 * tests/network-clock-utils.scm (debug, print-event): New utils.
15106 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
15107 (*packet-loss*): Unified loss probability.
15108 (network-time): Report out-of-band events.
15110 * tests/plot-data: Add support for out-of-band events. Hack it
15111 into this script instead of passing it down the pipe; should fix
15114 2005-06-28 Wim Taymans <wim@fluendo.com>
15116 * docs/gst/gstreamer.types:
15117 * docs/gst/tmpl/gstbasesrc.sgml:
15118 * docs/gst/tmpl/gstpad.sgml:
15121 2005-06-28 Wim Taymans <wim@fluendo.com>
15123 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
15124 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
15125 (gst_proxy_pad_do_fixatecaps):
15126 Correctly proxy the check_pull_range function.
15128 2005-06-28 Andy Wingo <wingo@pobox.com>
15130 * tests/network-clock.scm: Removed need for slib.
15132 2005-06-28 Wim Taymans <wim@fluendo.com>
15134 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
15135 (gst_basesink_preroll_queue_flush):
15136 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
15137 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
15138 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
15139 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
15140 (gst_proxy_pad_set_property):
15143 * gst/gstqueue.c: (gst_queue_init):
15144 The deprecated pad loop function is removed now.
15146 2005-06-28 Andy Wingo <wingo@pobox.com>
15148 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
15149 New parameters, simulate network packet loss.
15151 * tests/network-clock-utils.scm: Initialize the RNG.
15153 2005-06-28 Wim Taymans <wim@fluendo.com>
15155 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
15156 (gst_basesink_event), (gst_basesink_deactivate):
15157 Flushing the preroll queue always needs to unlock the waiters.
15159 2005-06-28 Edward Hervey <edward@fluendo.com>
15161 * gst/gstpipeline.c: (gst_pipeline_send_event):
15162 Wheen a seek was successful on a pipeline, set the stream_time to the
15163 seek offset in order to have a synchronized stream_time.
15165 2005-06-28 Wim Taymans <wim@fluendo.com>
15167 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
15168 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
15169 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
15170 (gst_proxy_pad_do_fixatecaps):
15171 Call wrapper function instead of just calling the function
15172 pointers. This takes care of any locking and whatmore.
15174 2005-06-28 Wim Taymans <wim@fluendo.com>
15176 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
15177 (gst_pad_pull_range):
15179 CONNECTED -> LINKED.
15181 2005-06-28 Andy Wingo <wingo@pobox.com>
15183 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
15184 source-munging commit!!!
15186 * gst/gstobject.c (gst_object_unref, gst_object_ref)
15187 (gst_object_sink): Take gpointer arguments, not GstObject --
15188 avoids casts. Like GLib.
15190 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
15193 2005-06-27 Andy Wingo <wingo@pobox.com>
15195 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
15198 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
15199 returns a sorted copy of the trace list.
15200 (gst_alloc_trace_print_live): New API, only prints traces with
15201 live objects. Sort the list.
15202 (gst_alloc_trace_print_all): Sort the list.
15203 (gst_alloc_trace_print): Align columns.
15205 * gst/elements/gstttypefindelement.c:
15206 * gst/elements/gsttee.c:
15207 * gst/base/gstbasesrc.c:
15208 * gst/base/gstbasesink.c:
15209 * gst/base/gstbasetransform.c:
15210 * gst/gstqueue.c: Adapt for pad activation changes.
15212 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
15214 (gst_pipeline_dispose): Drop ref on sched.
15216 * gst/gstpad.c (gst_pad_init): Set the default activate func.
15217 (gst_pad_activate_default): Push mode by default.
15218 (pre_activate_switch, post_activate_switch): New stubs, things to
15219 do before and after switching activation modes on pads.
15220 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
15221 the pad's activate function to choose which mode to activate.
15222 Shortcut on deactivation and call the right function directly.
15223 (gst_pad_activate_pull): New API, (de)activates a pad in pull
15225 (gst_pad_activate_push): New API, same for push mode.
15226 (gst_pad_set_activate_function)
15227 (gst_pad_set_activatepull_function)
15228 (gst_pad_set_activatepush_function): Setters for new API.
15230 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
15231 Trace all miniobjects.
15232 (gst_mini_object_make_writable): Unref the arg if we copy, like
15233 gst_caps_make_writable.
15235 * gst/gstmessage.c (_gst_message_initialize): No trace init.
15237 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
15238 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
15239 Adapt for new pad API.
15241 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
15243 * gst/gstelement.h:
15244 * gst/gstelement.c (gst_element_iterate_src_pads)
15245 (gst_element_iterate_sink_pads): New API functions.
15247 * gst/gstelement.c (iterator_fold_with_resync): New utility,
15248 should fold into gstiterator.c in some form.
15249 (gst_element_pads_activate): Simplified via use of fold and
15250 delegation of decisions to gstpad->activate.
15252 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
15255 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
15256 class once in init, like gstmessage. Didn't run into this issue
15257 but it seems correct. Don't initialize a trace, gstminiobject does
15260 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
15261 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
15263 (assert_live_count): New util function, uses alloc traces to check
15266 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
15267 To be modified when unlink drops the internal pad.
15269 2005-06-27 Wim Taymans <wim@fluendo.com>
15271 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
15272 (gst_bin_change_state):
15273 Cleanup the get_state() function a little, make sure it
15274 iterates the same set of elements.
15275 Added stub iterate_state_order().
15277 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
15279 * docs/gst/gstreamer-docs.sgml:
15280 * docs/gst/gstreamer-sections.txt:
15281 * docs/gst/gstreamer.types:
15282 * docs/gst/tmpl/gstbasesink.sgml:
15283 * docs/gst/tmpl/gstbasesrc.sgml:
15284 * docs/gst/tmpl/gstbasetransform.sgml:
15285 * docs/gst/tmpl/gstelement.sgml:
15286 * docs/gst/tmpl/gstiterator.sgml:
15287 * gst/base/gstbasesrc.c:
15288 * gst/base/gstbasesrc.h:
15289 * gst/base/gstbasetransform.h:
15290 * gst/gstelement.c:
15291 * gst/gstiterator.h:
15292 adding basetransform and iterator docs
15294 2005-06-27 Andy Wingo <wingo@pobox.com>
15296 * docs/design/part-activation.txt: Notes on how activation should
15297 work -- not quite implemented yet.
15299 2005-06-25 Wim Taymans <wim@fluendo.com>
15301 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
15302 At least get the chain function correct, needs more
15305 2005-06-25 Wim Taymans <wim@fluendo.com>
15307 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
15308 (gst_basesink_handle_object), (gst_basesink_event),
15309 (gst_basesink_do_sync), (gst_basesink_handle_event),
15310 (gst_basesink_change_state):
15312 Right, two problems here: ghostpads don't take locks and
15313 glib _rec_mutex_lock_full() with depth==0 still locks.
15314 Catch illegal locking and g_warn them.
15316 2005-06-25 Wim Taymans <wim@fluendo.com>
15318 * check/states/sinks.c: (START_TEST), (gst_object_suite):
15319 Have to check for completion now...
15321 2005-06-25 Wim Taymans <wim@fluendo.com>
15323 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
15324 (gst_basesink_handle_object), (gst_basesink_event),
15325 (gst_basesink_do_sync), (gst_basesink_handle_event),
15326 (gst_basesink_change_state):
15328 Unlock STREAM_LOCK whatever the recursion was.
15330 2005-06-25 Wim Taymans <wim@fluendo.com>
15332 * gst/base/gstbasesink.c: (gst_basesink_set_property),
15333 (gst_basesink_preroll_queue_empty),
15334 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
15335 (gst_basesink_event), (gst_basesink_do_sync),
15336 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
15337 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
15338 (gst_basesink_change_state):
15339 Reworked the base sink, handle event and buffer serialisation
15340 correctly and removed possible deadlock.
15341 Handle EOS correctly.
15343 2005-06-25 Wim Taymans <wim@fluendo.com>
15345 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
15346 (gst_pipeline_change_state):
15347 * tools/gst-launch.c: (check_intr), (event_loop), (main):
15348 Allow elements to post EOS in the state change function.
15349 Fix up -launch, make it exit the poll loop when the
15350 pipeline actually changed state.
15351 Fix up warning parsing in -launch.
15353 2005-06-25 Wim Taymans <wim@fluendo.com>
15355 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
15356 (gst_tee_sink_activate):
15357 Core takes STREAM_LOCK for us now.
15359 2005-06-25 Wim Taymans <wim@fluendo.com>
15361 * gst/gstelement.c: (gst_element_get_state_func),
15362 (gst_element_set_state):
15363 * gst/gstelement.h:
15364 * gst/gstmessage.c: (gst_message_parse_error),
15365 (gst_message_parse_warning):
15366 Keep track of current target state while performing a state
15367 change so that subclasses can do something interesting.
15368 Fix parsing of warning/error messages when GError is NULL.
15370 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
15372 * docs/gst/Makefile.am:
15373 * docs/gst/gstreamer-docs.sgml:
15374 * docs/gst/gstreamer-sections.txt:
15375 * docs/gst/gstreamer.types:
15376 * docs/gst/tmpl/gstbasesink.sgml:
15377 * docs/gst/tmpl/gstbasesrc.sgml:
15378 * docs/gst/tmpl/gstbin.sgml:
15379 * docs/gst/tmpl/gstcompat.sgml:
15380 * docs/gst/tmpl/gstfakesink.sgml:
15381 * docs/gst/tmpl/gstfakesrc.sgml:
15382 * docs/gst/tmpl/gstfilesink.sgml:
15383 * docs/gst/tmpl/gstfilesrc.sgml:
15384 * docs/gst/tmpl/gstindex.sgml:
15385 * docs/manual/appendix-quotes.xml:
15386 * gst/base/gstbasesrc.h:
15387 * gst/elements/gstfakesrc.h:
15388 * gst/gstmessage.h:
15389 start pulling in base classes and elements in our docs
15391 2005-06-24 Stefan Kost <ensonic@users.sf.net>
15393 * docs/gst/Makefile.am:
15394 * docs/libs/Makefile.am:
15395 fixed make distcheck with gtk-doc 1.3
15397 2005-06-23 Wim Taymans <wim@fluendo.com>
15399 * gst/gstelement.c: (gst_element_get_state_func),
15400 (gst_element_set_state), (gst_element_change_state):
15401 When the state did not change, also report NO_PREROLL
15404 2005-06-23 Wim Taymans <wim@fluendo.com>
15406 * gst/gstpad.c: (gst_pad_event_default):
15407 * gst/gstqueue.c: (gst_queue_loop):
15408 No unsafe task pausing please.
15410 2005-06-23 Wim Taymans <wim@fluendo.com>
15412 * gst/schedulers/threadscheduler.c:
15413 (gst_thread_scheduler_task_start),
15414 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
15415 Ref the task before pushing it on the threadpool. This
15416 makes sure that we have a ref when the threadfunction is
15419 2005-06-23 Andy Wingo <wingo@pobox.com>
15421 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
15422 offset is greater than the file's size.
15424 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
15425 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
15426 * gst/gstobject.c (gst_object_class_init): Make the class lock
15427 recursive. Wim won't let me drop deep_notify. Decodebin works
15428 again, whoopdy doo.
15430 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
15431 internal pad, and hacks accordingly. Doesn't do it on the target
15432 pad because we change its caps. Probably catches all cases of
15434 (gst_ghost_pad_set_property): Connect to notify::caps as
15437 * tests/network-clock.scm (plot-simulation): Pipe data to the
15438 elite python skript.
15440 * tests/network-clock-utils.scm (define-parameter): New macro,
15441 defines a parameter that can be set via the command line.
15442 (set-parameter!, parse-parameter-arguments): Command line args
15445 * tests/plot-data: Simple matplotlib-based plotter, takes input on
15448 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
15450 * gst/elements/gsttypefindelement.c:
15451 (gst_type_find_element_handle_event):
15452 Don't restart typefinding on a discont.
15453 * gst/gstelement.c: (gst_element_set_state):
15454 Debug spelling fix.
15455 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
15456 Allow changing mode of an active pad.
15457 Debug output fixes.
15458 * gst/registries/gstlibxmlregistry.c: (load_feature):
15459 Don't cast a static pad template to a normal pad template.
15461 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
15463 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
15464 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
15465 remove gst_strtoll completely, since it didn't actually do
15466 anything more than what g_ascii_strtoull already does.
15467 check for range errors when deserializing
15468 do a cast for the unsigned cases; but further fixing needs
15469 a decision on what the interpretation of "(int)" and
15470 deserialization should be for values that fall outside the
15471 type's boundaries (ie, refuse, or interpret as casting)
15473 2005-06-23 Wim Taymans <wim@fluendo.com>
15475 * check/Makefile.am:
15476 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
15477 * docs/design/part-live-source.txt:
15478 * docs/design/part-states.txt:
15479 * gst/base/gstbasesrc.c: (gst_basesrc_init),
15480 (gst_basesrc_set_live), (gst_basesrc_is_live),
15481 (gst_basesrc_get_range), (gst_basesrc_activate),
15482 (gst_basesrc_change_state):
15483 * gst/base/gstbasesrc.h:
15484 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
15485 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
15486 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
15487 * gst/gstelement.c: (gst_element_get_state_func),
15488 (gst_element_set_state):
15489 * gst/gstelement.h:
15491 * tools/gst-launch.c: (event_loop), (main):
15492 Added support for live sources and other elements that
15494 Updated design docs, added live-source design doc.
15495 Implemented live source functionality in basesrc
15496 Fix error condition in _bin_get_state()
15497 Implement live source handling in -launch.
15498 Added check for live sources.
15499 Fixed case in GstBin where elements were changed state
15503 2005-06-23 Andy Wingo <wingo@pobox.com>
15505 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
15506 borken refcounting.
15508 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
15509 gst_caps_replace takes care of this for us.
15511 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
15512 gst_pad_set_caps on the target, not just its setcaps() function.
15514 * tests/network-clock.scm:
15515 * tests/network-clock-utils.scm: A network clock simulator.
15516 Something of an algorithmic testbed before doing something in C.
15518 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
15520 * check/Makefile.am:
15521 * check/gst/capslist.h:
15522 copy over from 0.8, and add two with bitmasks specified with
15524 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
15525 add test to parse everything from capslist.h
15526 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
15528 add test for structure deserialization
15529 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
15530 add tests for deserialization of strings to int types
15531 * gst/gststructure.c: (gst_structure_nth_field_name):
15532 * gst/gststructure.h:
15533 add a way to get the name of a field referenced by index
15534 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
15535 instead of checking if the resulting long long lies between
15536 min and max, we check if the long long would fit into
15537 a number of bytes for the final type.
15538 This fixes cases where a string represents 2^32 - 1, which
15539 when cast to int would be the (valid) -1, but is bigger than
15542 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
15544 * gst/parse/grammar.y:
15545 add a log line for type deserialization
15547 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
15549 * check/gst/gstvalue.c: (START_TEST):
15550 * gst/gstvalue.c: (gst_value_deserialize):
15551 return long long, not int, so gint64 deserialization actually
15552 works. Is there any flag that makes the compiler check this ?
15555 2005-06-22 Wim Taymans <wim@fluendo.com>
15558 Added convenience macros for setting buffers in GValue.
15560 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
15562 * check/gst/.cvsignore:
15563 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
15564 add a test deserializing int64, and comment part out because
15567 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
15569 * check/Makefile.am:
15570 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
15571 * testsuite/Makefile.am:
15572 * testsuite/caps/Makefile.am:
15573 * testsuite/caps/value_serialize.c:
15574 * testsuite/test_gst_init.c:
15575 move a value_serialize test over
15577 2005-06-20 Wim Taymans <wim@fluendo.com>
15582 * gst/gstvalue.c: (gst_value_compare_buffer),
15583 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
15584 (gst_value_compare_flags), (gst_value_serialize_flags),
15585 (gst_value_deserialize_flags), (_gst_value_initialize):
15586 Fix serialisation of buffers, they are not boxed types anymore
15588 2005-06-20 Wim Taymans <wim@fluendo.com>
15590 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
15591 Testcase to show error in buffer-on-caps serialisation.
15593 2005-06-20 Andy Wingo <wingo@pobox.com>
15595 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
15596 will be adding to later.
15598 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
15599 if its socks fill with rocks.
15600 (gst_system_clock_obtain): Set the name on object construction.
15601 Avoid double-checked locking.
15603 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
15605 * gst/gsturi.c: (gst_element_make_from_uri):
15606 Fix potential endless loop.
15608 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
15610 * check/Makefile.am:
15612 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
15614 move over from testsuite dir and clean up
15617 * testsuite/Makefile.am:
15618 * testsuite/tags/.cvsignore:
15619 * testsuite/tags/Makefile.am:
15620 * testsuite/tags/merge.c:
15621 remove testsuite/tags
15623 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
15625 * docs/gst/gstreamer-sections.txt:
15626 * docs/gst/tmpl/gstenumtypes.sgml:
15627 * win32/gstenumtypes.c:
15628 clean up documentation build a little
15630 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
15632 * check/gstcheck.h:
15633 add macros for checking refcounts on objects and caps
15634 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
15635 add some more unit tests
15636 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
15637 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
15638 fix leaked refcounts (I hope :)) so unittest works
15642 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
15644 * configure.ac: back to HEAD
15646 === release 0.9.1 ===
15648 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
15654 2005-06-17 Andy Wingo <wingo@pobox.com>
15656 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
15657 assert; it's always possible that the pad gets deactivated in
15658 between the checks in gstpad.c and the implementation. Rely on
15659 finish_preroll() to return a FLUSHING or similar instead of on the
15662 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
15663 clock and post an EOS message if we come out of finish_preroll in
15666 2005-06-16 David Schleef <ds@schleef.org>
15668 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
15669 (gst_capsfilter_set_property): Allow NULL as possible value
15670 for filter_caps property, indicating GST_CAPS_ANY.
15672 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
15674 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
15676 * gst/schedulers/Makefile.am:
15678 * gstreamer.spec.in:
15681 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
15683 * gstreamer.spec.in:
15686 2005-06-08 Andy Wingo <wingo@pobox.com>
15688 * gst/gstutils.c: RPAD fixes all around.
15689 (gst_element_link_pads): Refcounting fixes.
15691 * tools/gst-inspect.c:
15692 * tools/gst-xmlinspect.c:
15694 * gst/base/gsttypefindhelper.c:
15695 * gst/base/gstbasesink.c:
15696 * gst/gstqueue.c: RPAD fixes.
15698 * gst/gstghostpad.h:
15699 * gst/gstghostpad.c: New ghost pad implementation as full proxy
15700 pads. The tricky thing is they provide both source and sink
15701 interfaces, since they proxy the internal pad for the external
15702 pad, and vice versa. Implement with lower-level ProxyPad objects,
15703 with the interior proxy pad as a child of the exterior ghost pad.
15704 Should write a doc on this.
15706 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
15707 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
15710 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
15711 pads are real pads. No ghost pads in this file. Not documenting
15712 the myriad s/RPAD/PAD/ and REALIZE fixes.
15713 (gst_pad_class_init): Add properties for "direction" and
15714 "template". Both are construct-only, so they can't change during
15715 the life of the pad. Fixes properly deriving from GstPad.
15716 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
15717 derived objects, just set properties when creating the objects via
15719 (gst_pad_get_parent): Implement as a function, return NULL if the
15720 parent is not an element.
15721 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
15722 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
15724 * gst/gstobject.c (gst_object_class_init): Make name a construct
15725 property. Don't set it in the object init.
15727 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
15728 with UNKNOWN direction.
15729 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
15730 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
15731 (gst_element_remove_pad): Remove ghost-pad special cases.
15732 (gst_element_pads_activate): Remove rpad cruft.
15734 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
15735 catch the pad's-parent-not-an-element case.
15737 * gst/gst.h: Include gstghostpad.h.
15739 * gst/gst.c (init_post): No more real, ghost pads.
15741 * gst/Makefile.am: Add gstghostpad.[ch].
15743 * check/Makefile.am:
15744 * check/gst/gstbin.c:
15745 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
15746 into a bin creates ghost pads, and that the refcounts are right.
15747 Partly moved from gstbin.c.
15749 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
15751 * check/gst-libs/.cvsignore:
15752 * check/gst/.cvsignore:
15753 * check/pipelines/.cvsignore:
15755 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
15756 (START_TEST), (cleanup_suite), (main):
15757 add some tests related to cleanup after running pipelines
15759 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
15761 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
15762 add a testsuite for GstBuffer
15764 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
15766 * gst/gstminiobject.h:
15767 add defines for accessing the refcount
15769 2005-06-03 Stefan Kost <ensonic@users.sf.net>
15771 * Makefile.am: added support for html unit test coverage reports
15773 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
15775 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
15776 Free existing caps if the capsfilter changes. Add a FIXME about
15777 setting those caps on the pads.
15779 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
15780 Before adding a ghost pad to a parent bin, check that there isn't
15781 already one for the element on the bin. Prevents infinite recursion
15782 when using decodebin in parse pipelines. Andy says he'll rewrite the
15783 way this works anyway, so ignore the hack.
15785 2005-06-02 Andy Wingo <wingo@pobox.com>
15787 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
15788 file size, pass it on to the type find helper.
15790 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
15791 segment_start and segment_end properly according to the seek
15792 method. Segment_end is still a bit flaky because offset can be
15793 negative for CUR and END cases, but it takes -1 as an "unset"
15796 2005-06-02 Wim Taymans <wim@fluendo.com>
15798 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
15799 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
15800 (gst_basesink_activate):
15801 * gst/base/gstbasesink.h:
15802 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
15803 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
15804 (gst_pad_query), (gst_pad_start_task):
15806 * gst/gstqueue.c: (gst_queue_bufferalloc),
15807 (gst_queue_handle_sink_event), (gst_queue_chain):
15808 Bufferalloc: return GstFlowReturn to more accuratly report
15809 why allocation failed.
15811 2005-06-02 Wim Taymans <wim@fluendo.com>
15813 * gst/gstpipeline.c: (gst_pipeline_send_event):
15814 Take snapshot of state without blocking.
15816 2005-06-02 Wim Taymans <wim@fluendo.com>
15818 * docs/design/part-TODO.txt:
15819 * docs/design/part-caps.txt:
15820 * docs/design/part-clocks.txt:
15821 * docs/design/part-negotiation.txt:
15822 * docs/design/part-preroll.txt:
15825 2005-05-30 Wim Taymans <wim@fluendo.com>
15827 * gst/elements/gstidentity.c: (gst_identity_event),
15828 (gst_identity_transform), (gst_identity_get_property):
15829 Protect last_message property as it is accessed from
15832 2005-05-30 Wim Taymans <wim@fluendo.com>
15834 * gst/gstelement.c: (gst_element_init),
15835 (gst_element_pads_activate), (gst_element_change_state):
15836 Slicker pad activation code.
15838 2005-05-30 Wim Taymans <wim@fluendo.com>
15841 * gst/gstelement.h:
15842 * gst/gstelementfactory.h:
15844 Move elementfactory methods to separate .h file.
15846 2005-05-30 Wim Taymans <wim@fluendo.com>
15848 * docs/design/part-overview.txt:
15849 * gst/gstsystemclock.h:
15850 Small typo fixes, doc updates.
15852 2005-05-30 Wim Taymans <wim@fluendo.com>
15854 * gst/gst.c: (gst_init_get_popt_table), (init_post),
15855 (init_popt_callback):
15856 Remove cpu-opt flag.
15858 2005-05-30 Wim Taymans <wim@fluendo.com>
15860 * gst/gstbuffer.c: (gst_subbuffer_finalize),
15861 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
15863 Avoid typechecking in places where not needed.
15864 Added accessor for malloc_data.
15866 2005-05-30 Wim Taymans <wim@fluendo.com>
15868 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
15869 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
15870 (gst_pad_configure_sink), (gst_pad_configure_src),
15871 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
15872 (gst_pad_start_task):
15873 Propagate errors from _set_caps() in configure_src/sink
15874 functions instead of returning TRUE.
15875 FLUSH events can travel up and downstream
15878 2005-05-30 Wim Taymans <wim@fluendo.com>
15880 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
15881 (gst_basesink_activate):
15882 Handle EOS in preroll.
15884 2005-05-30 Wim Taymans <wim@fluendo.com>
15886 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
15887 (gst_queue_loop), (gst_queue_handle_src_event):
15888 Remove old pieces of code
15889 Flushing the queue in an upstream event is a very bad idea.
15891 2005-05-26 Andy Wingo <wingo@pobox.com>
15893 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
15894 gst_value_set_mini_object so as to add a ref on the object (which
15895 will be removed when the value is unset).
15897 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
15898 arg type in ::handoff.
15900 * gst/gstelement.c (gst_element_change_state): Also deactivate
15901 pads in READY->NULL, just in case the element didn't make it to
15902 PAUSED. Wingo tested, Wim approved.
15904 2005-05-26 Wim Taymans <wim@fluendo.com>
15906 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
15907 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
15908 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
15909 A flushing pad cannot be used to alloc_buffer from.
15911 2005-05-26 Wim Taymans <wim@fluendo.com>
15913 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
15914 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
15915 (gst_bus_source_dispatch), (gst_bus_source_finalize),
15916 (gst_bus_create_watch), (gst_bus_add_watch_full):
15918 Implement a real GSource and use g_main_context_wakeup() to
15919 signal new messages instead of the socketpair.
15921 2005-05-25 Wim Taymans <wim@fluendo.com>
15923 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
15924 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
15925 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
15926 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
15927 (gst_pad_send_event), (gst_pad_start_task):
15928 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
15929 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
15930 (gst_queue_sink_activate), (gst_queue_src_activate),
15931 (gst_queue_change_state):
15933 Fix state changes for non sinks. We now change sinks, then elements
15934 with unconnected srcpads, then the rest.
15935 More efficient queue unlocking in flush and state changes.
15936 Set the pad activate mode even if it does not have an activate
15939 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15941 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
15942 Don't go in pull mode for non-seekable sources.
15943 * gst/elements/gsttypefindelement.h:
15944 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
15945 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
15946 (free_entry), (stop_typefinding),
15947 (gst_type_find_element_handle_event), (find_peek),
15948 (gst_type_find_element_chain), (do_pull_typefind),
15949 (gst_type_find_element_change_state):
15950 Allow typefinding (w/o seeking) in push-mode, simplified version
15951 of what was in 0.8.
15952 * gst/gstutils.c: (gst_buffer_join):
15954 gst_buffer_join() from 0.8.
15956 2005-05-25 Wim Taymans <wim@fluendo.com>
15958 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
15959 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
15960 (gst_pad_send_event), (gst_pad_start_task):
15961 Disable attempt at mode switching until it is figured out.
15963 2005-05-25 Wim Taymans <wim@fluendo.com>
15965 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
15966 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
15967 (gst_basesink_finish_preroll), (gst_basesink_chain),
15968 (gst_basesink_loop), (gst_basesink_activate),
15969 (gst_basesink_change_state):
15970 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
15971 (gst_basesrc_get_range), (gst_basesrc_loop),
15972 (gst_basesrc_activate):
15973 * gst/elements/gsttee.c: (gst_tee_sink_activate):
15974 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
15975 (gst_real_pad_init), (gst_real_pad_set_property),
15976 (gst_real_pad_get_property), (gst_pad_set_active),
15977 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
15978 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
15979 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
15980 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
15981 (gst_pad_event_default_dispatch), (gst_pad_event_default),
15982 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
15983 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
15984 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
15985 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
15986 (gst_pad_stop_task):
15988 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
15989 (gst_queue_loop), (gst_queue_src_activate):
15990 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
15991 (gst_task_get_state):
15993 * gst/schedulers/threadscheduler.c:
15994 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
15995 Implement gst_pad_pause/start/stop_task(), take STREAM lock
15997 Remove ACTIVE pad flag, use FLUSHING everywhere
15998 Added _pad_chain(), _pad_get_range() to call chain/getrange
16000 Add locks around IS_FLUSHING when reading.
16001 Take STREAM lock in chain(), get_range() functions so plugins
16002 don't need to take it anymore.
16006 2005-05-25 Wim Taymans <wim@fluendo.com>
16008 * tools/gst-launch.c: (event_loop):
16009 Unref message after using its contents instead of
16012 2005-05-24 Wim Taymans <wim@fluendo.com>
16014 * docs/design/draft-ghostpads.txt:
16015 * docs/design/draft-push-pull.txt:
16016 * docs/design/draft-query.txt:
16017 * docs/design/part-overview.txt:
16018 Docs updates, added general overview doc.
16020 2005-05-21 David Schleef <ds@schleef.org>
16022 * docs/gst/tmpl/old/GstBin.sgml:
16023 * docs/gst/tmpl/old/GstBuffer.sgml:
16024 * docs/gst/tmpl/old/GstCaps.sgml:
16025 * docs/gst/tmpl/old/GstClock.sgml:
16026 * docs/gst/tmpl/old/GstCompat.sgml:
16027 * docs/gst/tmpl/old/GstData.sgml:
16028 * docs/gst/tmpl/old/GstElement.sgml:
16029 * docs/gst/tmpl/old/GstEvent.sgml:
16030 * docs/gst/tmpl/old/GstIndex.sgml:
16031 * docs/gst/tmpl/old/GstStructure.sgml:
16032 * docs/gst/tmpl/old/GstTag.sgml:
16033 * docs/gst/tmpl/old/cothreads.sgml:
16034 * docs/gst/tmpl/old/cothreads_compat.sgml:
16035 * docs/gst/tmpl/old/gettext.sgml:
16036 * docs/gst/tmpl/old/gobject2gtk.sgml:
16037 * docs/gst/tmpl/old/grammar.tab.sgml:
16038 * docs/gst/tmpl/old/gst-i18n-app.sgml:
16039 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
16040 * docs/gst/tmpl/old/gst_private.sgml:
16041 * docs/gst/tmpl/old/gstaggregator.sgml:
16042 * docs/gst/tmpl/old/gstarch.sgml:
16043 * docs/gst/tmpl/old/gstatomic_impl.sgml:
16044 * docs/gst/tmpl/old/gstbufferstore.sgml:
16045 * docs/gst/tmpl/old/gstdata_private.sgml:
16046 * docs/gst/tmpl/old/gstdisksink.sgml:
16047 * docs/gst/tmpl/old/gstdisksrc.sgml:
16048 * docs/gst/tmpl/old/gstelementfactory.sgml:
16049 * docs/gst/tmpl/old/gstextratypes.sgml:
16050 * docs/gst/tmpl/old/gstfakesink.sgml:
16051 * docs/gst/tmpl/old/gstfakesrc.sgml:
16052 * docs/gst/tmpl/old/gstfdsink.sgml:
16053 * docs/gst/tmpl/old/gstfdsrc.sgml:
16054 * docs/gst/tmpl/old/gstfilesink.sgml:
16055 * docs/gst/tmpl/old/gstfilesrc.sgml:
16056 * docs/gst/tmpl/old/gsthttpsrc.sgml:
16057 * docs/gst/tmpl/old/gstidentity.sgml:
16058 * docs/gst/tmpl/old/gstindexfactory.sgml:
16059 * docs/gst/tmpl/old/gstmarshal.sgml:
16060 * docs/gst/tmpl/old/gstmd5sink.sgml:
16061 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
16062 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
16063 * docs/gst/tmpl/old/gstpadtemplate.sgml:
16064 * docs/gst/tmpl/old/gstpipefilter.sgml:
16065 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
16066 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
16067 * docs/gst/tmpl/old/gstshaper.sgml:
16068 * docs/gst/tmpl/old/gstspider.sgml:
16069 * docs/gst/tmpl/old/gstspideridentity.sgml:
16070 * docs/gst/tmpl/old/gststatistics.sgml:
16071 * docs/gst/tmpl/old/gsttee.sgml:
16072 * docs/gst/tmpl/old/gsttimecache.sgml:
16073 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
16074 * docs/gst/tmpl/old/gstxmlregistry.sgml:
16075 * docs/gst/tmpl/old/gthread-cothreads.sgml:
16076 * docs/gst/tmpl/old/types.sgml:
16077 I didn't intend to add these or check them in.
16079 2005-05-19 David Schleef <ds@schleef.org>
16081 * configure.ac: Use -no-common everywhere. In a sane world, it
16082 would be the default in libtool, because without it, you can't
16083 build DLLs on Windows.
16084 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
16085 * docs/gst/gstreamer-sections.txt:
16086 * docs/gst/tmpl/gstcpu.sgml:
16087 * docs/gst/tmpl/gstdata.sgml:
16088 * docs/gst/tmpl/gstthread.sgml:
16090 2005-05-19 David Schleef <ds@schleef.org>
16092 * gst/gstminiobject.c: (gst_value_set_mini_object),
16093 (gst_value_take_mini_object), (gst_value_get_mini_object):
16094 * gst/gstminiobject.h: Add GValue set/get functions.
16096 2005-05-19 Wim Taymans <wim@fluendo.com>
16098 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
16099 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
16100 (gst_subbuffer_init), (gst_buffer_is_span_fast):
16102 * gst/gstbus.c: (gst_bus_post):
16103 * gst/gstelement.c: (gst_element_get_random_pad):
16104 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
16105 Make subbufer unref the parent in finalize.
16106 some more debugging info.
16109 2005-05-19 Wim Taymans <wim@fluendo.com>
16111 * gst/base/gstbasesink.c: (gst_basesink_class_init),
16112 (gst_basesink_init), (gst_basesink_finalize),
16113 (gst_basesink_activate), (gst_basesink_change_state):
16114 Don't free preroll queue too early.
16116 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16120 Hi, I'm outdated. Please shoot me.
16122 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16124 * gst/gstpipeline.c: (gst_pipeline_send_event):
16125 Do not access variables after they have been deleted.
16127 2005-05-19 Wim Taymans <wim@fluendo.com>
16129 * tools/gst-inspect.c: (print_plugin_features):
16130 A plugin feature does unfortunatly not use the
16133 2005-05-18 Wim Taymans <wim@fluendo.com>
16135 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
16136 Port _span() functions to new subbuffers.
16138 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16140 * gst/gstbin.c: (gst_bin_add_func):
16141 Fix clock settery in bins when adding kids after the clock has
16144 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16146 * gst/elements/gstidentity.c: (gst_identity_class_init):
16147 Workaround until signals support GstMiniObject.
16149 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
16152 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
16154 2005-05-18 Wim Taymans <wim@fluendo.com>
16156 * gst/base/Makefile.am:
16157 * gst/base/gstadapter.c: (gst_adapter_base_init),
16158 (gst_adapter_class_init), (gst_adapter_init),
16159 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
16160 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
16161 (gst_adapter_flush), (gst_adapter_available),
16162 (gst_adapter_available_fast):
16163 * gst/base/gstadapter.h:
16164 Ported and added adapter to the base classes.
16166 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16169 * gst/gstmessage.c:
16170 Make sure the class is reffed/unreffed once before threads can be
16171 used. Fixes #304551.
16173 2005-05-17 Wim Taymans <wim@fluendo.com>
16175 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
16176 (gst_basesink_chain_unlocked), (gst_basesink_activate):
16177 * gst/gstminiobject.c: (gst_mini_object_get_type),
16178 (gst_mini_object_free):
16179 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
16180 (gst_pad_push), (gst_pad_push_event):
16181 * gst/gstqueue.c: (gst_queue_change_state):
16182 Don't queue buffers in basesink when we are flushing.
16183 Unref buffer when flushing in basesink.
16184 Flush queue when going to READY
16185 Unref buffer when _push() returns an error.
16186 Don't free MiniObject instance when refcount is incremented
16187 in _finalize() so that we can recover objects.
16189 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
16191 * docs/manual/advanced-schedulers.xml:
16192 * docs/manual/appendix-checklist.xml:
16193 * docs/pwg/advanced-clock.xml:
16194 * docs/pwg/advanced-interfaces.xml:
16195 * docs/pwg/advanced-request.xml:
16196 * docs/pwg/advanced-types.xml:
16197 * docs/pwg/intro-preface.xml:
16198 * examples/plugins/example.c: (gst_example_get_type),
16199 (gst_example_class_init), (gst_example_chain),
16200 (gst_example_set_property), (gst_example_get_property),
16201 (gst_example_change_state), (plugin_init):
16202 * examples/plugins/example.h:
16205 2005-05-17 Wim Taymans <wim@fluendo.com>
16207 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
16208 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
16209 * gst/gstqueue.c: (gst_queue_change_state):
16210 Clear queue when going to READY.
16211 Remove IN_SETCAPS flag too.
16213 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
16215 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
16216 Remove implicit cast from gboolean to GstElementStateReturn;
16217 make sure we still return failure in paused => ready case if
16218 the parent class fails to change state and our own stop
16221 2005-05-17 Wim Taymans <wim@fluendo.com>
16223 * tools/gst-launch.c: (event_loop):
16224 Message was unreffed too soon.
16226 2005-05-16 Andy Wingo <wingo@pobox.com>
16228 * gst/gstbin.c (sink_iterator_filter): Err... um...
16230 * check/gst/gstbin.c (test_ghost_pads): New test for the
16231 ghosting-if-elements-not-in-same-bin behavior.
16233 2005-05-16 David Schleef <ds@schleef.org>
16235 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
16236 accessing refcount directly.
16238 2005-05-15 David Schleef <ds@schleef.org>
16240 * check/Makefile.am: remove GstData checks
16241 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
16242 * gst/Makefile.am: add miniobject, remove data
16243 * gst/gst.h: add miniobject, remove data
16244 * gst/gstdata.c: remove
16245 * gst/gstdata.h: remove
16246 * gst/gstdata_private.h: remove
16247 * gst/gsttypes.h: remove GstEvent and GstMessage
16248 * gst/gstelement.c: (gst_element_post_message): fix for API changes
16249 * gst/gstmarshal.list: change BOXED -> OBJECT
16251 Implement GstMiniObject.
16252 * gst/gstminiobject.c:
16253 * gst/gstminiobject.h:
16255 Modify to be subclasses of GstMiniObject.
16256 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
16257 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
16258 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
16259 (gst_subbuffer_get_type), (gst_subbuffer_init),
16260 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
16263 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
16264 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
16265 (_gst_event_copy), (gst_event_new):
16267 * gst/gstmessage.c: (_gst_message_initialize),
16268 (gst_message_get_type), (gst_message_class_init),
16269 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
16270 (gst_message_new), (gst_message_new_error),
16271 (gst_message_new_warning), (gst_message_new_tag),
16272 (gst_message_new_state_changed), (gst_message_new_application):
16273 * gst/gstmessage.h:
16274 * gst/gstprobe.c: (gst_probe_perform),
16275 (gst_probe_dispatcher_dispatch):
16277 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
16278 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
16279 (_gst_query_copy), (gst_query_new):
16281 Update elements for GstData -> GstMiniObject changes
16283 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
16284 (gst_queue_chain), (gst_queue_loop):
16285 * gst/elements/gstbufferstore.c:
16286 (gst_buffer_store_add_buffer_func),
16287 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
16288 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
16289 (gst_fakesink_render):
16290 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
16291 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
16292 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
16293 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
16294 (gst_filesrc_create_read):
16295 * gst/elements/gstidentity.c: (gst_identity_class_init):
16296 * gst/elements/gsttypefindelement.c:
16297 (gst_type_find_element_src_event), (free_entry_buffers),
16298 (gst_type_find_element_handle_event):
16299 * libs/gst/dataprotocol/dataprotocol.c:
16300 (gst_dp_header_from_buffer):
16301 * libs/gst/dataprotocol/dataprotocol.h:
16302 * libs/gst/dataprotocol/dp-private.h:
16304 2005-05-15 David Schleef <ds@schleef.org>
16306 * gst/elements/gstelements.c: Don't include headers that were
16309 2005-05-15 David Schleef <ds@schleef.org>
16311 * gst/elements/Makefile.am: Remove some elements that don't
16312 need to be in the core (or even exist at all).
16313 * gst/elements/gstaggregator.c:
16314 * gst/elements/gstaggregator.h:
16315 * gst/elements/gstmd5sink.c:
16316 * gst/elements/gstmd5sink.h:
16317 * gst/elements/gstmultifilesrc.c:
16318 * gst/elements/gstmultifilesrc.h:
16319 * gst/elements/gstpipefilter.c:
16320 * gst/elements/gstpipefilter.h:
16321 * gst/elements/gstshaper.c:
16322 * gst/elements/gstshaper.h:
16323 * gst/elements/gststatistics.c:
16324 * gst/elements/gststatistics.h:
16325 * po/POTFILES.in: Remove above files.
16327 2005-05-14 Andy Wingo <wingo@pobox.com>
16329 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
16330 so as to get the refs right.
16331 (sink_iterator_filter): New function, wraps bin_element_is_sink,
16332 unreffing objects that don't pass the filter.
16334 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
16335 gst_element_set_bus.
16336 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
16337 normal cases, this will destroy the bus.
16339 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
16342 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
16345 2005-05-13 Andy Wingo <wingo@pobox.com>
16347 * gst/gstutils.c (gst_element_link_pads): Instead of calling
16348 gst_pad_link, call pad_link_maybe_ghosting,
16349 (pad_link_maybe_ghosting): Links pads, making sure that the
16350 elements being linked are in the same bin.
16351 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
16352 Helpers for pad_link_maybe_ghosting.
16354 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
16357 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
16359 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
16361 * docs/design/part-element-source.txt:
16364 2005-05-12 Wim Taymans <wim@fluendo.com>
16366 * gst/base/gstbasesink.c: (gst_basesink_init),
16367 (gst_basesink_activate):
16368 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
16369 (gst_basesrc_is_seekable):
16370 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
16371 (bin_element_is_sink), (gst_bin_change_state):
16372 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
16373 * gst/gstelement.h:
16374 Identify sinks by their flag to avoid overly complicated
16376 Do state changes even for elements not reachable from the
16378 BaseSink is a sink now :)
16379 Some more debugging info in the basesrc.
16382 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16384 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
16385 Implement _query on a bin, similar to _send_event.
16387 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
16389 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
16390 Discont event offset format should be GST_FORMAT_BYTES,
16391 not GST_FORMAT_TIME.
16393 2005-05-12 Wim Taymans <wim@fluendo.com>
16395 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
16396 Same fix as Ronald's but without the signal.
16398 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16400 * gst/gstutils.c: (gst_element_query_position):
16401 No, an element is not a pad.
16403 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16405 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
16406 (gst_bin_get_state):
16407 If a child is removed from a bin while we remove the child from
16408 the bin and while we're retrieving its state, signal this to the
16409 get_state function so we abort the wait (instead of waiting for
16410 a timeout) and can immediately re-iterate over all other elements.
16412 2005-05-12 Wim Taymans <wim@fluendo.com>
16414 * gst/base/Makefile.am:
16415 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
16416 (gst_basesrc_start):
16417 * gst/base/gstbasesrc.h:
16418 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
16419 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
16420 (gst_pushsrc_init), (gst_pushsrc_create):
16421 * gst/base/gstpushsrc.h:
16422 Added is_seekable to BaseSrc
16423 Added simple PushSrc.
16425 2005-05-11 Wim Taymans <wim@fluendo.com>
16427 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
16428 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
16429 (gst_element_link_pads), (gst_element_query_position),
16430 (gst_element_query_convert), (intersect_caps_func),
16431 (gst_pad_query_position), (gst_pad_query_convert):
16432 Fix refcounting in utils function.
16433 No point in trying to activate a pad when it's added, it could
16434 be added from the state change function and then we deadlock, the
16435 element has to decide what to do.
16437 2005-05-10 Andy Wingo <wingo@pobox.com>
16439 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
16440 *all* the arguments.
16442 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
16443 stream lock if it's a FLUSH_DONE; normal flushes don't get the
16444 lock (according to the docs -- if this is wrong change the docs).
16446 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
16447 flush messages in the NULL state.
16449 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
16450 message immediately and return.
16451 (gst_bus_set_flushing): New function. If a bus is flushing, it
16452 flushes out any queued messages and immediately unrefs new
16453 messages. This is so when an element goes to NULL, all of the
16454 unhandled messages coming from it can be freed, and their
16455 references to the element dropped. In other words: message source
16456 ref considered harmful :P
16458 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
16459 we're finished with it.
16461 * gst/gstmessage.c (gst_message_new_state_changed):
16463 2005-05-10 Wim Taymans <wim@fluendo.com>
16465 * gst/gstvalue.c: (gst_value_compare_flags),
16466 (gst_value_serialize_flags), (gst_value_deserialize_flags),
16467 (_gst_value_initialize):
16468 Added flags serialize/deserialize/compare code.
16470 2005-05-09 Andy Wingo <wingo@pobox.com>
16472 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
16473 Intersect the peer's caps with our caps.
16475 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16477 * gst/base/gsttypefindhelper.c: (helper_find_peek):
16478 * gst/elements/gsttypefindelement.c: (find_peek):
16479 Handle negative offsets better. Fixes decodebin.
16481 2005-05-09 Wim Taymans <wim@fluendo.com>
16483 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
16484 (gst_base_transform_event):
16485 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
16486 Implement accept_caps.
16487 Fix silly lock/unlock mismatch in base class.
16489 2005-05-09 Wim Taymans <wim@fluendo.com>
16491 * docs/design/draft-push-pull.txt:
16492 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
16493 * gst/elements/gstfilesink.c: (gst_filesink_init),
16494 (gst_filesink_query):
16495 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
16496 (gst_type_find_handle_src_query), (find_element_get_length):
16497 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
16498 * gst/gstelement.h:
16499 * gst/gstmessage.c:
16500 * gst/gstmessage.h:
16501 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
16502 (gst_real_pad_get_caps_unlocked),
16503 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
16504 (gst_pad_event_default_dispatch), (gst_pad_event_default),
16505 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
16506 (gst_real_pad_dispose), (gst_real_pad_finalize),
16507 (gst_pad_load_and_link), (gst_pad_save_thyself),
16508 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
16509 (gst_pad_check_pull_range), (gst_pad_pull_range),
16510 (gst_pad_template_get_type), (gst_pad_template_class_init),
16511 (gst_pad_template_init), (gst_pad_template_dispose),
16512 (name_is_valid), (gst_static_pad_template_get),
16513 (gst_pad_template_new), (gst_static_pad_template_get_caps),
16514 (gst_pad_template_get_caps), (gst_pad_set_element_private),
16515 (gst_pad_get_element_private), (gst_pad_start_task),
16516 (gst_pad_pause_task), (gst_pad_stop_task),
16517 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
16518 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
16519 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
16520 (gst_ghost_pad_new):
16522 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
16523 (gst_query_new_position), (gst_query_set_position),
16524 (gst_query_parse_position), (gst_query_new_convert),
16525 (gst_query_set_convert), (gst_query_parse_convert):
16527 * gst/gstqueryutils.c:
16528 * gst/gstqueryutils.h:
16529 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
16530 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
16531 (gst_queue_handle_src_query):
16532 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
16533 (gst_element_query_position), (gst_element_query_convert),
16534 (intersect_caps_func), (gst_pad_query_position),
16535 (gst_pad_query_convert):
16537 * tools/gst-inspect.c: (print_pad_info):
16538 * tools/gst-xmlinspect.c: (print_element_info):
16539 Remove old query functions. Ported old code.
16540 Added position/convert helper functions to gstutils.
16541 Reordered gstpad.c code, grouping relevant things.
16542 Remove gst_message_new(), always need to speficy a specific
16546 2005-05-09 Andy Wingo <wingo@pobox.com>
16548 * gst/gstiterator.h: Add some includes.
16550 * gst/gstqueryutils.h: Include more headers.
16553 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
16554 some uses of gst_pad_query.
16556 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
16557 NULL out parameters.
16558 (gst_query_new_position): New proc, allocates a new position
16561 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
16562 gstqueryutils.c to the build.
16564 * gst/gststructure.c (gst_structure_set_valist): Implement with
16565 the generic G_VALUE_COLLECT.
16567 2005-05-08 Edward Hervey <bilboed@bilboed.com>
16569 * gst/Makefile.am: (gst_headers):
16570 Added gstqueryutils.h to the list of headers to install, that was
16571 a 'nachty' move wingo :)
16573 2005-05-06 Andy Wingo <wingo@pobox.com>
16576 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
16577 GstData, init a memchunk.
16578 (standard_definitions): Add a few query types, deprecate a few.
16579 (gst_query_get_type): New proc.
16580 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
16582 (gst_query_new_application, gst_query_get_structure): New public
16585 * docs/design/draft-query.txt: Removed LINKS from the query types,
16586 because all the rest can be dispatched to other pads -- seemed
16587 ugly to have a query that couldn't be dispatched. internal_links
16588 is fine as a pad method.
16590 * gst/gstpad.h: Add query2 as a pad method, add the new functions
16591 in gstpad.c, but maintain binary compatibility for the moment.
16592 Will fix before 0.9 is out.
16594 * gst/gstqueryutils.c:
16595 * gst/gstqueryutils.h: New files, implement 3 methods for each
16596 query type: parse_query, parse_response, and set. Probably need an
16599 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
16601 * gst/elements/gstfilesink.c (gst_filesink_query2):
16602 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
16603 query_types, and formats methods.
16605 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
16606 (gst_pad_set_query2_function): New functions.
16607 (gst_real_pad_init): Set query2_default as the default query2
16608 function. Basically just dispatches to internally linked pads.
16612 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
16613 without using the atomic operations. Only one thread can possibly
16614 be accessing the data at this point. Changed so as to avoid
16615 gst_atomic operations.
16617 2005-05-06 Wim Taymans <wim@fluendo.com>
16619 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
16620 Also set caps if we use the fallback buffer alloc.
16622 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
16624 * docs/gst/Makefile.am:
16625 * docs/gst/gstreamer-docs.sgml:
16626 * docs/gst/gstreamer-sections.txt:
16627 * docs/gst/tmpl/gstatomic.sgml:
16628 * docs/gst/tmpl/gstmemchunk.sgml:
16629 * testsuite/elements/struct_i386.h:
16630 * win32/GStreamer.vcproj:
16632 Purge GstAtomic stuff from docs and win32 makefiles as well
16634 2005-05-06 Wim Taymans <wim@fluendo.com>
16636 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
16637 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
16638 * gst/gstpad.c: (gst_pad_peer_get_caps):
16639 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
16640 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
16641 (gst_queue_src_activate), (gst_queue_change_state):
16643 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
16644 (intersect_caps_func):
16645 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
16646 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
16647 Some fixes for the peer_get_caps() change.
16649 2005-05-06 Wim Taymans <wim@fluendo.com>
16651 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
16652 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
16653 (gst_basesink_activate):
16654 Actually do something with error codes returned from the push
16657 2005-05-06 Wim Taymans <wim@fluendo.com>
16659 * docs/design/part-element-sink.txt:
16660 * docs/design/part-element-source.txt:
16661 * gst/base/gstbasesink.c: (gst_basesink_class_init),
16662 (gst_basesink_event), (gst_basesink_activate):
16663 * gst/base/gstbasesink.h:
16664 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
16665 (gst_basesrc_activate):
16666 * gst/base/gstbasesrc.h:
16667 * gst/gstelement.c: (gst_element_pads_activate):
16668 Some more documentation.
16669 Fixed scheduling decision in _pads_activate().
16671 2005-05-05 Andy Wingo <wingo@pobox.com>
16673 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
16676 2005-05-05 Wim Taymans <wim@fluendo.com>
16678 * gst/base/Makefile.am:
16679 * gst/base/gstbasesink.h:
16680 * gst/base/gstbasesrc.c: (gst_basesrc_init),
16681 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
16682 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
16683 (gst_collectpads_class_init), (gst_collectpads_init),
16684 (gst_collectpads_finalize), (gst_collectpads_new),
16685 (gst_collectpads_set_function), (gst_collectpads_add_pad),
16686 (find_pad), (gst_collectpads_remove_pad),
16687 (gst_collectpads_is_active), (gst_collectpads_collect),
16688 (gst_collectpads_collect_range), (gst_collectpads_start),
16689 (gst_collectpads_stop), (gst_collectpads_peek),
16690 (gst_collectpads_pop), (gst_collectpads_available),
16691 (gst_collectpads_read), (gst_collectpads_flush),
16692 (gst_collectpads_chain):
16693 * gst/base/gstcollectpads.h:
16694 * gst/elements/Makefile.am:
16695 * gst/elements/gstelements.c:
16696 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
16697 (gst_fakesink_get_times), (gst_fakesink_event),
16698 (gst_fakesink_preroll), (gst_fakesink_render):
16699 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
16700 (gst_filesink_init), (gst_filesink_set_location),
16701 (gst_filesink_open_file), (gst_filesink_close_file),
16702 (gst_filesink_pad_query), (gst_filesink_event),
16703 (gst_filesink_render), (gst_filesink_change_state):
16704 * gst/elements/gstfilesink.h:
16705 Added object to help in making collect pad based elements.
16707 Make event function in sink baseclass return gboolean.
16709 2005-05-05 Wim Taymans <wim@fluendo.com>
16711 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
16712 (gst_bin_get_by_name):
16714 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
16715 (gst_clock_finalize):
16716 * gst/gstdata.c: (gst_data_replace):
16718 * gst/gstelement.c: (gst_element_request_pad),
16719 (gst_element_pads_activate):
16720 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
16721 (gst_object_unref):
16722 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
16723 (gst_pad_set_checkgetrange_function),
16724 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
16725 (gst_pad_check_pull_range), (gst_pad_pull_range),
16726 (gst_static_pad_template_get_caps), (gst_pad_start_task),
16727 (gst_pad_pause_task), (gst_pad_stop_task):
16728 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
16729 (gst_element_request_pad), (gst_pad_proxy_getcaps):
16730 Fix name lookup in GstBin.
16731 Added _data_replace() function and _buffer_replace()
16732 Use finalize method to clean up clock.
16733 Fix refcounting on request pads.
16734 Fix pad schedule mode error.
16735 Some more object refcounting debug info,
16738 2005-05-04 Andy Wingo <wingo@pobox.com>
16740 * check/Makefile.am:
16741 * docs/gst/tmpl/gstatomic.sgml:
16742 * docs/gst/tmpl/gstplugin.sgml:
16743 * gst/base/gstbasesink.c: (gst_basesink_activate):
16744 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
16745 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
16746 (gst_basesrc_query), (gst_basesrc_set_property),
16747 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
16748 (gst_basesrc_activate):
16749 * gst/base/gstbasesrc.h:
16750 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
16751 (gst_base_transform_src_activate):
16752 * gst/elements/gstelements.c:
16753 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16754 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
16755 * gst/elements/gsttee.c: (gst_tee_sink_activate):
16756 * gst/elements/gsttypefindelement.c: (find_element_get_length),
16757 (gst_type_find_element_checkgetrange),
16758 (gst_type_find_element_activate):
16759 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
16760 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
16761 (gst_caps_load_thyself):
16762 * gst/gstelement.c: (gst_element_pads_activate),
16763 (gst_element_save_thyself), (gst_element_restore_thyself):
16764 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
16765 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
16767 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
16768 (gst_xml_parse_file), (gst_xml_parse_memory),
16769 (gst_xml_get_element), (gst_xml_make_element):
16770 * gst/indexers/gstfileindex.c: (gst_file_index_load),
16771 (_file_index_id_save_xml), (gst_file_index_commit):
16772 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
16773 (read_enum), (load_pad_template), (load_feature), (load_plugin),
16775 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
16776 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
16777 * tools/gst-complete.c: (main):
16778 * tools/gst-compprep.c: (main):
16779 * tools/gst-inspect.c: (print_element_properties_info):
16780 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
16781 * tools/gst-xmlinspect.c: (print_element_properties):
16784 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
16786 * gst/gstplugin.c: (gst_plugin_check_module),
16787 (gst_plugin_check_file), (gst_plugin_load_file):
16788 apply patch from #172526 to make register work on MacOSX
16790 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
16792 * docs/gst/tmpl/gstconfig.sgml:
16793 * gst/gstconfig.h.in:
16794 move documentation for some symbols. Add doc for GST_PTR_FORMAT
16795 * testsuite/debug/printf_extension.c: (main):
16796 Do not use GST_PTR_FORMAT on pointers to types with
16797 sizeof < sizeof(gpointer). Fixes test on 64-bit
16798 * testsuite/elements/property.h:
16799 use correct printf format
16801 2005-05-02 Wim Taymans <wim@fluendo.com>
16803 * docs/design/draft-push-pull.txt:
16804 * docs/design/draft-query.txt:
16805 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
16806 (gst_basesrc_start):
16807 Added draft for new query API.
16808 Added draft for better selecting scheduling methods.
16809 Make basesrc ignore length if the subclass does not support
16812 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
16815 possible fixes for automake-1.5 - _LIBADD is reserved
16817 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
16819 * docs/faq/Makefile.am:
16820 * docs/manual/Makefile.am:
16821 * docs/manuals.mak:
16822 * docs/pwg/Makefile.am:
16824 possible fixes for automake-1.5
16826 2005-04-28 Wim Taymans <wim@fluendo.com>
16828 * gst/base/gstbasesink.c: (gst_basesink_base_init),
16829 (gst_basesink_pad_getcaps), (gst_basesink_init),
16830 (gst_basesink_do_sync):
16831 * gst/gstclock.c: (gst_clock_entry_new):
16832 * gst/gstevent.c: (gst_event_discont_get_value):
16833 * gst/gstpipeline.c: (pipeline_bus_handler),
16834 (gst_pipeline_change_state):
16835 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
16836 Better debugging of clocking info.
16837 Allow NULL values when getting discont values.
16839 2005-04-27 Wim Taymans <wim@fluendo.com>
16841 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
16842 * check/gst/gstpad.c: (gst_pad_suite):
16843 Increase timeout for checks.
16845 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16847 * check/Makefile.am:
16848 fix the broken rule for cleanup. Apparently this rule is
16849 only needed on FC2, so maybe this warrants further autotool
16852 2005-04-26 Wim Taymans <wim@fluendo.com>
16854 * gst/gsttrashstack.h:
16855 Ooohh. a nasty one! After having a failed pop() from the stack,
16856 it's possible that the stack is empty. In that case, don't
16857 follow the NULL pointer.
16859 2005-04-25 Wim Taymans <wim@fluendo.com>
16861 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
16862 (gst_pad_set_checkgetrange_function),
16863 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
16864 (gst_pad_check_pull_range), (gst_pad_pull_range),
16865 (gst_static_pad_template_get_caps), (gst_pad_start_task),
16866 (gst_pad_pause_task), (gst_pad_stop_task):
16867 * gst/gstplugin.c: (gst_plugin_load):
16869 Remove gst_library_load as it does more harm than good with
16870 the new g_module flags.
16871 Revert bogus caps template check in pad linking, pad caps
16872 are important when linking not the template, which is more
16873 general than the current caps.
16875 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16877 * gst/autoplug/.cvsignore:
16878 * gst/autoplug/Makefile.am:
16879 * gst/autoplug/gstsearchfuncs.c:
16880 * gst/autoplug/gstsearchfuncs.h:
16881 * gst/autoplug/gstspider.c:
16882 * gst/autoplug/gstspider.h:
16883 * gst/autoplug/gstspideridentity.c:
16884 * gst/autoplug/gstspideridentity.h:
16885 * gst/autoplug/spidertest.c:
16888 2005-04-25 Wim Taymans <wim@fluendo.com>
16890 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
16891 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
16892 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
16893 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
16895 Added stubs for unimplemented functions.
16897 2005-04-24 David Schleef <ds@schleef.org>
16899 * gst/gstpad.h: Disable some unimplemented functions. Wim,
16902 2005-04-24 David Schleef <ds@schleef.org>
16904 Convert everything from GstAtomicInt to g_atomic_int_*, and
16909 * gst/gstatomic_impl.h:
16917 * gst/gstdata_private.h:
16921 * gst/gstmessage.c:
16924 * gst/gststructure.c:
16925 * gst/gststructure.h:
16926 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
16929 2005-04-24 David Schleef <ds@schleef.org>
16931 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
16932 make the regressions tests work. Remove some code that is no
16934 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
16935 Disable warning for pads without templates.
16937 2005-04-24 David Schleef <ds@schleef.org>
16939 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
16940 functions that handle filtered links.
16941 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
16943 * gst/gstutils.c: Fix/remove utility functions that handle
16946 * gst/gstvalue.c: Add serialization/deserialization of caps
16947 * gst/parse/grammar.y: Ignore filtered caps when linking. This
16948 requires fixing so that the filter caps notation creates
16949 a capsfilter element and sets the filter_caps property. I
16950 think everyone probably wants to keep the shorthand notation.
16951 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
16952 * docs/gst/tmpl/gstpad.sgml:
16954 * gst/elements/gstelements.c: Register capsfilter element.
16955 * gst/Makefile.am: fix spacing
16956 * docs/random/ds/0.9-suggested-changes: random
16958 2005-04-23 David Schleef <ds@schleef.org>
16960 * gst/elements/Makefile.am:
16961 * gst/elements/gstcapsfilter.c: New element that acts like an
16962 identity, but filters caps. Will eventually replace filtered
16963 caps in pad linking.
16964 * gst/gstutils.c: (gst_element_create_all_pads): New function
16965 to create all the ALWAYS pads that are registered with an
16966 element class. This functionality should eventually be
16967 merged in with GstElement initialization.
16969 * testsuite/trigger/README: part of trigger test code that should
16970 have been checked in a long time ago.
16972 2005-04-23 David Schleef <ds@schleef.org>
16974 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
16975 needed with new versions of libtool (nobody will confirm this),
16976 and hard to carry around.
16977 * gst/autoplug/Makefile.am:
16978 * gst/base/Makefile.am:
16979 * gst/elements/Makefile.am:
16980 * gst/indexers/Makefile.am:
16981 * gst/schedulers/Makefile.am:
16982 * libs/gst/bytestream/Makefile.am:
16983 * libs/gst/control/Makefile.am:
16984 * libs/gst/dataprotocol/Makefile.am:
16985 * libs/gst/getbits/Makefile.am:
16987 2005-04-21 Wim Taymans <wim@fluendo.com>
16989 * docs/design/draft-push-pull.txt:
16990 * docs/design/part-MT-refcounting.txt:
16991 * docs/design/part-TODO.txt:
16992 * docs/design/part-caps.txt:
16993 * docs/design/part-events.txt:
16994 * docs/design/part-gstbus.txt:
16995 * docs/design/part-gstpipeline.txt:
16996 * docs/design/part-messages.txt:
16997 * docs/design/part-push-pull.txt:
16998 * docs/design/part-query.txt:
17001 2005-04-21 Wim Taymans <wim@fluendo.com>
17003 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
17004 (gst_message_new), (gst_message_new_error),
17005 (gst_message_new_warning), (gst_message_new_tag),
17006 (gst_message_new_state_changed), (gst_message_new_application),
17007 (gst_message_get_structure):
17008 * gst/gstmessage.h:
17009 * gst/gststructure.c: (gst_structure_set_parent_refcount),
17010 (gst_structure_copy_conditional):
17011 Use parent refcount in GstMessage to ensure GstStructure
17013 Cleaned up headers a bit.
17016 2005-04-20 Wim Taymans <wim@fluendo.com>
17018 * gst/base/gstbasesink.c: (gst_basesink_base_init),
17019 (gst_basesink_pad_getcaps), (gst_basesink_init),
17020 (gst_basesink_chain_unlocked):
17021 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
17022 (gst_type_find_helper):
17023 * gst/elements/gsttypefindelement.c:
17024 (gst_type_find_element_have_type), (gst_type_find_element_init),
17025 (stop_typefinding), (gst_type_find_element_handle_event),
17026 (find_suggest), (gst_type_find_element_chain),
17027 (gst_type_find_element_checkgetrange),
17028 (gst_type_find_element_getrange), (do_typefind),
17029 (gst_type_find_element_activate):
17030 * gst/gstbuffer.c: (_gst_buffer_sub_free),
17031 (gst_buffer_default_free), (gst_buffer_default_copy),
17032 (gst_buffer_set_caps):
17033 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
17034 (gst_caps_replace):
17035 * gst/gstmessage.c: (gst_message_new),
17036 (gst_message_new_state_changed):
17037 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
17038 (gst_pad_set_checkgetrange_function),
17039 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
17040 (gst_pad_set_caps), (gst_pad_check_pull_range),
17041 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
17043 * gst/gsttypefind.c: (gst_type_find_register):
17044 Make gst_caps_replace() work like other _replace() functions.
17045 Use _caps_replace() where possible.
17046 Make sure _message_new() initialises its field.
17047 Add gst_static_pad_template_get_caps()
17050 2005-04-18 Andy Wingo <wingo@pobox.com>
17052 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
17053 on the peer, not the pad. I think that was a typo. Pass an extra
17054 arg to see if random access is possible. Activate the pads as
17055 PULL_RANGE if possible.
17057 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
17059 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
17060 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
17063 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17065 * docs/faq/using.xml:
17066 Add note on gstreamer-properties (#154996).
17068 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17070 * docs/random/bbb/optional-properties:
17071 Some analysis on optional properties.
17073 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17075 * docs/gst/tmpl/gstelementfactory.sgml:
17076 * gst/gstelement.h:
17077 * gst/gstelementfactory.c: (gst_element_factory_init),
17078 (gst_element_factory_cleanup), (gst_element_register),
17079 (__gst_element_factory_add_static_pad_template),
17080 (gst_element_factory_get_static_pad_templates),
17081 (gst_element_factory_can_src_caps),
17082 (gst_element_factory_can_sink_caps):
17083 * gst/registries/Makefile.am:
17084 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
17085 (gst_xml_registry_class_init), (gst_xml_registry_init),
17086 (gst_xml_registry_new), (gst_xml_registry_set_property),
17087 (gst_xml_registry_get_property), (get_time), (make_dir),
17088 (gst_xml_registry_get_perms_func),
17089 (plugin_times_older_than_recurse), (plugin_times_older_than),
17090 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
17091 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
17092 (add_to_char_array), (read_string), (read_uint), (read_enum),
17093 (load_pad_template), (load_feature), (load_plugin), (load_paths),
17094 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
17095 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
17096 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
17097 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
17098 (gst_xml_registry_rebuild):
17099 * gst/registries/gstlibxmlregistry.h:
17100 * tools/gst-compprep.c: (main):
17101 * tools/gst-inspect.c: (print_pad_templates_info):
17102 * tools/gst-xmlinspect.c: (print_element_info):
17103 Use libxml2 for registry parsing, use staticpadtemplates in
17104 elementfactories. Makes gst_init() +/- 10x faster.
17106 2005-04-12 Wim Taymans <wim@fluendo.com>
17108 * gst/base/Makefile.am:
17109 * gst/base/gstbasesink.c: (gst_basesink_base_init),
17110 (gst_basesink_pad_getcaps), (gst_basesink_init),
17111 (gst_basesink_event), (gst_basesink_change_state):
17112 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
17113 (gst_basesrc_init), (gst_basesrc_query),
17114 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
17115 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
17116 (gst_basesrc_check_get_range), (gst_basesrc_loop),
17117 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
17118 (gst_basesrc_stop), (gst_basesrc_activate),
17119 (gst_basesrc_change_state):
17120 * gst/base/gsttypefindhelper.c: (helper_find_peek),
17121 (helper_find_suggest), (gst_type_find_helper):
17122 * gst/base/gsttypefindhelper.h:
17123 * gst/elements/Makefile.am:
17124 * gst/elements/gstelements.c:
17125 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
17126 (gst_fakesink_get_times), (gst_fakesink_event),
17127 (gst_fakesink_preroll), (gst_fakesink_render):
17128 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
17129 (gst_fakesrc_init), (gst_fakesrc_event_handler),
17130 (gst_fakesrc_get_property), (gst_fakesrc_create),
17131 (gst_fakesrc_start), (gst_fakesrc_stop):
17132 * gst/elements/gstfakesrc.h:
17133 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
17134 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
17135 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
17136 (gst_filesrc_create_read), (gst_filesrc_create),
17137 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
17138 (gst_filesrc_start):
17139 * gst/elements/gsttypefindelement.c:
17140 (gst_type_find_element_have_type), (gst_type_find_element_init),
17141 (start_typefinding), (stop_typefinding), (push_buffer_store),
17142 (gst_type_find_element_handle_event),
17143 (gst_type_find_element_chain),
17144 (gst_type_find_element_checkgetrange),
17145 (gst_type_find_element_getrange), (do_typefind),
17146 (gst_type_find_element_activate),
17147 (gst_type_find_element_change_state):
17148 * gst/elements/gsttypefindelement.h:
17149 * gst/gstpipeline.c: (pipeline_bus_handler):
17150 Added typefind helper.
17151 Small preroll fix in the base sink.
17152 Disable typefind code in basesrc.
17153 Crude port of typefindelement.
17157 2005-04-11 Wim Taymans <wim@fluendo.com>
17159 * check/gst/gstbus.c: (gstbus_suite):
17160 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
17161 * check/gstcheck.h:
17162 Fix up the timeout so that the test does not fail.
17164 2005-04-06 Wim Taymans <wim@fluendo.com>
17167 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
17168 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
17169 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
17170 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
17171 (gst_basesrc_check_get_range), (gst_basesrc_loop),
17172 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
17173 (gst_basesrc_stop), (gst_basesrc_activate),
17174 (gst_basesrc_change_state), (basesrc_find_peek),
17175 (basesrc_find_suggest), (gst_basesrc_type_find):
17176 * gst/base/gstbasesrc.h:
17177 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
17178 (gst_filesrc_class_init), (gst_filesrc_init),
17179 (gst_filesrc_finalize), (gst_filesrc_set_location),
17180 (gst_filesrc_set_property), (gst_filesrc_get_property),
17181 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
17182 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
17183 (gst_filesrc_create_read), (gst_filesrc_create),
17184 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
17185 * gst/elements/gstfilesrc.h:
17186 * gst/gstelement.c: (gst_element_get_state_func),
17187 (gst_element_lost_state), (gst_element_pads_activate):
17188 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
17189 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
17190 (gst_pad_pull_range):
17192 More work on the generic source base class, implement seeking,
17194 Make filesrc extend the base source class.
17195 Added gst_pad_set_checkgetrange_function to GstPad.
17197 2005-04-06 Andy Wingo <wingo@pobox.com>
17199 * pkgconfig/gstreamer-base.pc.in:
17200 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
17202 * pkgconfig/Makefile.am:
17203 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
17205 2005-04-04 Wim Taymans <wim@fluendo.com>
17207 * gst/base/Makefile.am:
17209 * gst/base/gstbasesink.c: (gst_basesink_base_init),
17210 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
17211 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
17212 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
17213 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
17214 (gst_basesrc_base_init), (gst_basesrc_class_init),
17215 (gst_basesrc_init), (gst_basesrc_get_formats),
17216 (gst_basesrc_get_query_types), (gst_basesrc_query),
17217 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
17218 (gst_basesrc_set_property), (gst_basesrc_get_property),
17219 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
17220 (gst_basesrc_loop), (gst_basesrc_activate),
17221 (gst_basesrc_change_state):
17222 * gst/base/gstbasesrc.h:
17223 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
17224 (gst_fakesrc_class_init), (gst_fakesrc_init),
17225 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
17226 (gst_fakesrc_get_property), (gst_fakesrc_create):
17227 * gst/elements/gstfakesrc.h:
17228 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
17229 (gst_filesrc_open_file), (gst_filesrc_loop),
17230 (gst_filesrc_activate), (filesrc_find_peek),
17231 (gst_filesrc_type_find):
17232 Made base source class, make fakesrc extend it.
17233 Add comments to basesink class.
17234 Some filesrc cleanup.
17236 2005-03-31 David Schleef <ds@schleef.org>
17238 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
17239 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
17240 expected to link against libgstreamer.
17241 * gst/base/Makefile.am: link against libgstreamer
17242 * gst/elements/Makefile.am: same
17244 2005-03-31 Andy Wingo <wingo@pobox.com>
17246 * tests/instantiate/Makefile.am:
17247 * tests/instantiate/caps.c: Add test to test speed of caps copy
17250 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
17251 GMemChunk to be fair.
17253 * gst/gsttrashstack.h: Remove warning about using the fallback
17254 trash stack implementation, it's still faster than malloc.
17256 2005-03-30 Andy Wingo <wingo@pobox.com>
17258 * tests/complexity.c: Add a copyright.
17260 2005-03-31 Wim Taymans <wim@fluendo.com>
17262 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
17263 (gst_base_transform_class_init), (gst_base_transform_init),
17264 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
17265 (gst_base_transform_get_property),
17266 (gst_base_transform_sink_activate),
17267 (gst_base_transform_src_activate),
17268 (gst_base_transform_change_state):
17269 * gst/base/gstbasetransform.h:
17270 * gst/elements/gstidentity.c: (gst_identity_class_init),
17271 (gst_identity_event), (gst_identity_check_perfect),
17272 (gst_identity_transform), (gst_identity_start),
17273 (gst_identity_stop):
17274 Added start/stop methods to transform base class so subclasses
17275 don't need to deal with state changes even.
17277 2005-03-31 Wim Taymans <wim@fluendo.com>
17279 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
17280 (gst_event_new_discontinuous), (gst_event_discont_get_value):
17282 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
17283 (gst_pad_pull_range):
17284 Added rate to the discont event to prepare for variable speed
17285 and reverse playback.
17287 2005-03-29 David Schleef <ds@schleef.org>
17290 * testsuite/trigger/Makefile.am:
17291 * testsuite/trigger/trigger.c: A little example program to show
17292 how trigger-based elements can work.
17294 2005-03-29 Wim Taymans <wim@fluendo.com>
17296 * gst/base/Makefile.am:
17298 * gst/base/gstbasesink.c: (gst_basesink_get_type),
17299 (gst_basesink_base_init), (gst_basesink_class_init),
17300 (gst_basesink_pad_getcaps), (gst_basesink_init),
17301 (gst_basesink_activate), (gst_basesink_change_state):
17302 * gst/base/gstbasesink.h:
17303 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
17304 (gst_base_transform_base_init), (gst_base_transform_finalize),
17305 (gst_base_transform_class_init), (gst_base_transform_init),
17306 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
17307 (gst_base_transform_event), (gst_base_transform_getrange),
17308 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
17309 (gst_base_transform_set_property),
17310 (gst_base_transform_get_property),
17311 (gst_base_transform_sink_activate),
17312 (gst_base_transform_src_activate),
17313 (gst_base_transform_change_state):
17314 * gst/base/gstbasetransform.h:
17315 * gst/elements/gstidentity.c: (gst_identity_finalize),
17316 (gst_identity_class_init), (gst_identity_init),
17317 (gst_identity_event), (gst_identity_check_perfect),
17318 (gst_identity_transform), (gst_identity_set_property),
17319 (gst_identity_get_property), (gst_identity_change_state):
17320 * gst/elements/gstidentity.h:
17321 * gst/gstelement.c: (gst_element_get_state_func),
17322 (gst_element_lost_state), (gst_element_pads_activate):
17323 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
17324 (gst_pad_check_pull_range), (gst_pad_pull_range):
17326 Simplify pad activation.
17327 Added function to check if pull_range can be performed.
17328 Error out when pulling inactive or flushing pads.
17329 Removed const from refcounted types as it does not make sense.
17330 Simplify pad templates in basesink
17331 Added base class for simple 1-to-1 transforms.
17332 Make identity subclass the base transform.
17334 2005-03-29 Andy Wingo <wingo@pobox.com>
17336 * docs/libs/gstreamer-libs-overrides.txt:
17337 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
17338 really don't understand what's going on, but like whatever. I want
17341 * docs/gst/Makefile.am:
17342 * docs/libs/Makefile.am: Dist the overrides files.
17344 * check/Makefile.am (clean-local): Remove .libs directories.
17346 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
17347 elements to EXTRA_DIST, so po/ files are happy.
17349 * po/POTFILES.in: Er, remove it here.
17351 * po/POTFILES: Remove gstspider.c.
17353 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
17355 * docs/libs/gstreamer-libs-docs.sgml:
17356 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
17359 * tests/complexity.c (main): Set the length of the preroll queue
17360 on the sinks to prevent a lockup.
17362 * libs/gst/dataprotocol/Makefile.am:
17363 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
17364 the same as the one in check/gst-libs/gdp.c.
17366 * po/, docs/gst/: Commit automatic changes to docs and po files.
17368 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
17369 the versioned libgstbase.
17371 * check/Makefile.am: Depend on an unversioned gst-register, seems
17372 to make autoconf happier.
17374 * gst/base/Makefile.am: Make libgstbase a versioned lib.
17376 2005-03-28 Wim Taymans <wim@fluendo.com>
17379 * docs/design/part-gstelement.txt:
17380 * docs/design/part-negotiation.txt:
17381 * docs/design/part-preroll.txt:
17382 * docs/design/part-scheduling.txt:
17383 * docs/design/part-states.txt:
17385 * gst/base/Makefile.am:
17387 * gst/base/gstbasesink.c: (gst_basesink_get_template),
17388 (gst_basesink_base_init), (gst_basesink_class_init),
17389 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
17390 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
17391 (gst_basesink_set_pad_functions),
17392 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
17393 (gst_basesink_set_property), (gst_basesink_get_property),
17394 (gst_base_sink_get_template), (gst_base_sink_get_caps),
17395 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
17396 (gst_basesink_preroll_queue_push),
17397 (gst_basesink_preroll_queue_empty),
17398 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
17399 (gst_basesink_event), (gst_basesink_get_times),
17400 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
17401 (gst_basesink_chain_unlocked), (gst_basesink_chain),
17402 (gst_basesink_loop), (gst_basesink_activate),
17403 (gst_basesink_change_state):
17404 * gst/base/gstbasesink.h:
17405 * gst/elements/Makefile.am:
17406 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
17407 (gst_fakesink_class_init), (gst_fakesink_init),
17408 (gst_fakesink_set_property), (gst_fakesink_get_property),
17409 (gst_fakesink_get_times), (gst_fakesink_event),
17410 (gst_fakesink_preroll), (gst_fakesink_render),
17411 (gst_fakesink_change_state):
17412 * gst/elements/gstfakesink.h:
17413 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
17414 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
17415 * gst/gstelement.c: (gst_element_add_pad),
17416 (gst_element_get_state_func), (gst_element_abort_state),
17417 (gst_element_commit_state), (gst_element_lost_state),
17418 (gst_element_set_state), (gst_element_pads_activate):
17419 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
17420 * gst/gstpipeline.c: (gst_pipeline_send_event),
17421 (gst_pipeline_change_state):
17422 Added state change code.
17423 Added/updated docs.
17424 Added sink base class, make fakesink extend the base class.
17425 Small cleanups in GstPipeline.
17427 2005-03-26 David Schleef <ds@schleef.org>
17429 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
17430 is broken and should be implemented in a different library.
17431 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
17432 * gst/gst.h: remove gstcpu.h
17433 * gst/gstcpu.c: remove
17434 * gst/gstcpu.h: remove
17435 * gst/Makefile.am.future: Remove this file. It's ancient.
17437 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17439 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
17440 (gst_bin_send_event):
17441 Add default event/set_manager handlers. The set_manager handler
17442 takes care that the manager is distributed over kids that were
17443 already in the bin before the manager was set. The event handler
17444 is a utility virtual function that sends the event over all sinks,
17445 so that gst_element_send_event (bin, event); has the expected
17447 * gst/gstpad.c: (gst_pad_event_default):
17448 Re-install default event handling for discontinuities, so that
17449 seeking works without requiring hacks in applications or extra
17451 * gst/gstpipeline.c: (gst_pipeline_class_init),
17452 (gst_pipeline_send_event):
17453 Half hack, half utility: set a pipeline to PAUSED for seek events,
17454 since that is the only way we can guarantee a/v sync. Means that
17455 you can do gst_element_seek (pipeline, method, pos); on a pipeline
17456 and it "just works".
17458 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17460 * gst/gstpipeline.c: (gst_pipeline_use_clock):
17461 Lock/unlock mismatch.
17463 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
17465 * docs/faq/gst-uninstalled:
17466 add gst-plugins-base
17467 * docs/gst/Makefile.am:
17468 don't error out until docs are fixed
17469 * docs/gst/gstreamer.types:
17472 2005-03-22 Wim Taymans <wim@fluendo.com>
17474 * check/Makefile.am:
17475 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
17476 * gst/gststructure.c: (gst_structure_set_valist),
17477 (gst_structure_copy_conditional):
17478 Activated more tests.
17479 Added message test.
17480 Added G_TYPE_POINTER to GstStructure.
17483 2005-03-22 Wim Taymans <wim@fluendo.com>
17485 * docs/design/part-TODO.txt:
17486 * docs/design/part-events.txt:
17487 * docs/design/part-gstbin.txt:
17488 * docs/design/part-gstbus.txt:
17489 * docs/design/part-gstpipeline.txt:
17490 * docs/design/part-messages.txt:
17492 * gst/gstmessage.c:
17495 2005-03-21 Wim Taymans <wim@fluendo.com>
17497 * gst/gstbus.c: (gst_bus_post):
17498 Fix copy-and-paste error.
17500 2005-03-21 Wim Taymans <wim@fluendo.com>
17502 * check/Makefile.am:
17504 * gst/elements/Makefile.am:
17505 * gst/elements/gstelements.c:
17506 * gst/elements/gstfakesink.c: (gst_fakesink_init),
17507 (gst_fakesink_event), (gst_fakesink_chain):
17508 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
17509 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
17510 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
17511 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
17512 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
17513 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
17514 (gst_fakesrc_loop), (gst_fakesrc_activate),
17515 (gst_fakesrc_change_state):
17516 * gst/elements/gstfakesrc.h:
17517 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
17518 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
17519 (gst_filesrc_open_file), (gst_filesrc_loop),
17520 (gst_filesrc_activate), (gst_filesrc_change_state),
17521 (filesrc_find_peek), (filesrc_find_suggest),
17522 (gst_filesrc_type_find):
17523 * gst/elements/gstidentity.c: (gst_identity_finalize),
17524 (gst_identity_class_init), (gst_identity_init),
17525 (gst_identity_proxy_getcaps), (identity_queue_push),
17526 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
17527 (gst_identity_getrange), (gst_identity_chain),
17528 (gst_identity_sink_loop), (gst_identity_src_loop),
17529 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
17530 (gst_identity_set_property), (gst_identity_get_property),
17531 (gst_identity_change_state):
17532 * gst/elements/gstidentity.h:
17533 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
17534 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
17535 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
17536 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
17537 (gst_tee_sink_activate):
17538 * gst/elements/gsttee.h:
17539 * gst/gst.c: (gst_register_core_elements), (init_post):
17541 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
17542 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
17543 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
17544 (gst_bin_change_state):
17546 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
17547 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
17548 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
17549 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
17550 (gst_bus_set_sync_handler), (gst_bus_create_watch),
17551 (bus_watch_callback), (bus_watch_destroy),
17552 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
17553 (poll_timeout), (gst_bus_poll):
17557 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
17558 (gst_element_post_message), (gst_element_message_full),
17559 (gst_element_get_state_func), (gst_element_get_state),
17560 (gst_element_abort_state), (gst_element_commit_state),
17561 (gst_element_lost_state), (gst_element_set_state),
17562 (gst_element_pads_activate), (gst_element_change_state),
17563 (gst_element_dispose), (gst_element_set_manager_func),
17564 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
17565 (gst_element_set_manager), (gst_element_get_manager),
17566 (gst_element_set_bus), (gst_element_get_bus),
17567 (gst_element_set_scheduler), (gst_element_get_scheduler):
17568 * gst/gstelement.h:
17569 * gst/gstevent.c: (gst_event_new_segment_seek),
17570 (gst_event_new_flush):
17572 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
17573 (_gst_message_free), (gst_message_get_type), (gst_message_new),
17574 (gst_message_new_eos), (gst_message_new_error),
17575 (gst_message_new_warning), (gst_message_new_tag),
17576 (gst_message_new_state_changed), (gst_message_new_application),
17577 (gst_message_get_structure), (gst_message_parse_tag),
17578 (gst_message_parse_state_changed), (gst_message_parse_error),
17579 (gst_message_parse_warning):
17580 * gst/gstmessage.h:
17581 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
17582 (gst_real_pad_set_property), (gst_pad_set_active),
17583 (gst_pad_is_active), (gst_pad_set_blocked_async),
17584 (gst_pad_set_blocked), (gst_pad_is_blocked),
17585 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
17586 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
17587 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
17588 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
17589 (gst_pad_link_filtered), (gst_pad_relink_filtered),
17590 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
17591 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
17592 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
17593 (gst_pad_set_caps), (gst_pad_configure_sink),
17594 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
17595 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
17596 (gst_real_pad_dispose), (gst_real_pad_finalize),
17597 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
17598 (gst_pad_event_default_dispatch), (gst_pad_event_default),
17599 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
17601 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
17602 (pipeline_bus_handler), (gst_pipeline_change_state),
17603 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
17604 * gst/gstpipeline.h:
17606 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
17607 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
17608 (gst_queue_link_src), (gst_queue_bufferalloc),
17609 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
17610 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
17611 (gst_queue_loop), (gst_queue_handle_src_event),
17612 (gst_queue_handle_src_query), (gst_queue_src_activate),
17613 (gst_queue_change_state):
17615 * gst/gstscheduler.c: (gst_scheduler_init),
17616 (gst_scheduler_dispose), (gst_scheduler_create_task),
17617 (gst_scheduler_factory_create):
17618 * gst/gstscheduler.h:
17619 * gst/gststructure.c: (gst_structure_get_type),
17620 (gst_structure_copy_conditional):
17621 * gst/gststructure.h:
17622 * gst/gsttaginterface.h:
17623 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
17624 (gst_task_init), (gst_task_dispose), (gst_task_create),
17625 (gst_task_get_state), (gst_task_start), (gst_task_stop),
17631 * gst/schedulers/Makefile.am:
17632 * gst/schedulers/cothreads_compat.h:
17633 * gst/schedulers/entryscheduler.c:
17634 * gst/schedulers/faircothreads.c:
17635 * gst/schedulers/faircothreads.h:
17636 * gst/schedulers/fairscheduler.c:
17637 * gst/schedulers/gstbasicscheduler.c:
17638 * gst/schedulers/gstoptimalscheduler.c:
17639 * gst/schedulers/gthread-cothreads.h:
17640 * gst/schedulers/threadscheduler.c:
17641 (gst_thread_scheduler_task_get_type),
17642 (gst_thread_scheduler_task_class_init),
17643 (gst_thread_scheduler_task_init),
17644 (gst_thread_scheduler_task_start),
17645 (gst_thread_scheduler_task_stop),
17646 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
17647 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
17648 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
17649 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
17651 * libs/gst/Makefile.am:
17652 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
17653 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
17654 (gst_file_pad_parent_set):
17655 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
17656 (gst_dp_event_from_packet):
17657 * tests/complexity.c: (main):
17658 * tests/mass_elements.c: (main):
17659 * testsuite/states/locked.c: (message_received), (main):
17660 * testsuite/states/parent.c: (main):
17661 * tools/gst-inspect.c: (print_element_flag_info),
17662 (print_implementation_info), (print_pad_info):
17663 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
17665 * tools/gst-md5sum.c: (event_loop), (main):
17666 * tools/gst-typefind.c: (main):
17667 * tools/gst-xmlinspect.c: (print_element_info):
17669 Added GstBus for mainloop integration.
17670 Added GstMessage for sending notifications on the bus.
17671 Added GstTask as an abstraction for pipeline entry points.
17673 Removed Schedulers.
17674 Simplified GstQueue for multithreaded core.
17675 Made _link threadsafe, removed old capsnego.
17676 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
17677 Added pad blocking functions.
17678 Reworked scheduling functions in GstPad to prepare for
17679 scheduling updates soon.
17680 Moved events out of data stream.
17681 Simplified GstEvent types.
17682 Added return values to push/pull.
17683 Removed clocking from GstElement.
17684 Added prototypes for state change function for next merge.
17685 Removed iterate from bins and state change management.
17686 Fixed some elements, disabled others for now.
17687 Fixed -inspect and -launch.
17688 Added check for GstBus.
17690 2005-03-10 Wim Taymans <wim@fluendo.com>
17692 * docs/design/part-MT-refcounting.txt:
17693 * docs/design/part-clocks.txt:
17694 * docs/design/part-gstelement.txt:
17695 * docs/design/part-gstobject.txt:
17696 * docs/design/part-standards.txt:
17697 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
17698 (gst_bin_remove_func), (gst_bin_remove):
17702 * testsuite/clock/clock1.c: (main):
17703 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
17705 * testsuite/dlopen/loadgst.c: (do_test):
17706 * testsuite/refcounting/bin.c: (add_remove_test1),
17707 (add_remove_test2), (main):
17708 * testsuite/refcounting/element.c: (main):
17709 * testsuite/refcounting/element_pad.c: (main):
17710 * testsuite/refcounting/pad.c: (main):
17711 * tools/gst-launch.c: (sigint_handler_sighandler):
17712 * tools/gst-typefind.c: (main):
17714 Added doc about clock.
17715 removed gst_bin_iterate_recurse_up(), marked methods
17717 Fix more testsuites.
17719 2005-03-09 Wim Taymans <wim@fluendo.com>
17721 * gst/gstpad.c: (gst_pad_get_direction),
17722 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
17723 (gst_pad_collect_valist):
17724 * testsuite/bins/interface.c: (main):
17725 * testsuite/caps/audioscale.c: (test_caps):
17726 * testsuite/caps/caps.c: (test1), (test2), (test3):
17727 * testsuite/caps/deserialize.c: (main):
17728 * testsuite/caps/enumcaps.c: (main):
17729 * testsuite/caps/filtercaps.c: (main):
17730 * testsuite/caps/intersect2.c: (main):
17731 * testsuite/caps/random.c: (main):
17732 * testsuite/caps/renegotiate.c: (my_fixate), (main):
17733 * testsuite/caps/sets.c: (check_caps):
17734 * testsuite/caps/simplify.c: (check_caps), (main):
17735 * testsuite/caps/subtract.c: (check_caps):
17736 Fix _pad_get_direction wrt ghostpads.
17737 Fix caps testsuite.
17739 2005-03-09 Wim Taymans <wim@fluendo.com>
17741 * check/Makefile.am:
17742 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
17743 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
17744 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
17745 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
17746 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
17747 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
17748 (gst_bin_remove), (gst_bin_iterate_recurse_up),
17749 (bin_element_is_sink), (gst_bin_iterate_sinks),
17750 (gst_bin_iterate_all_by_interface):
17752 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
17753 (gst_element_change_state), (gst_element_dispose),
17754 (gst_element_finalize), (gst_element_set_loop_function):
17755 * gst/gstelement.h:
17756 * gst/gstiterator.c: (find_custom_fold_func):
17757 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
17758 (gst_pad_collectv), (gst_pad_collect_valist),
17759 (gst_pad_template_new):
17760 * gst/gstpipeline.c: (gst_pipeline_class_init),
17761 (gst_pipeline_dispose), (gst_pipeline_set_property),
17762 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
17763 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
17764 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
17766 * gst/schedulers/entryscheduler.c:
17767 * gst/schedulers/gstbasicscheduler.c:
17768 (gst_basic_scheduler_cothreaded_chain),
17769 (gst_basic_scheduler_chain_add_element):
17770 * testsuite/bins/interface.c: (main):
17772 Added GstSystemClock test.
17773 Implemented clock distribution code in GstBin.
17774 Implemented iterate sinks method for future use.
17775 Rearranged gstelement.h
17776 Fix GstIterator comparison bug.
17777 Moved some code to GstPipeline, mostly clocking related.
17779 2005-03-09 Wim Taymans <wim@fluendo.com>
17782 * gst/gst_private.h:
17783 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
17784 (gst_bin_remove_func), (gst_bin_remove),
17785 (gst_bin_get_by_name_recurse_up):
17786 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
17787 (gst_clock_id_compare_func), (gst_clock_id_wait),
17788 (gst_clock_id_wait_async), (gst_clock_init),
17789 (gst_clock_adjust_unlocked), (gst_clock_get_time):
17790 * gst/gstelement.h:
17791 * gst/gstinfo.c: (_gst_debug_init):
17793 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
17794 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
17796 Bump version number, we're now 0.9.0
17797 Add future debugging category.
17798 Fix NULL _unref() in _get_by_name_recurse_up
17799 Rearrange gstpad.h.
17802 2005-03-08 Wim Taymans <wim@fluendo.com>
17804 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
17805 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
17806 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
17807 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
17808 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
17809 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
17810 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
17811 * gst/elements/gstidentity.c: (gst_identity_class_init):
17812 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
17813 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
17814 * gst/elements/gstshaper.c: (gst_shaper_class_init):
17815 * gst/elements/gststatistics.c: (gst_statistics_class_init):
17816 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
17818 * gst/gstelement.c: (gst_element_class_init),
17819 (gst_element_base_class_init), (gst_element_init),
17820 (gst_element_get_random_pad), (gst_element_wait_state_change),
17821 (gst_element_change_state), (gst_element_dispose),
17822 (gst_element_finalize), (gst_element_set_loop_function):
17823 * gst/gstelement.h:
17824 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
17825 * gst/gstthread.c: (gst_thread_class_init),
17826 (gst_thread_release_children_locks), (gst_thread_change_state):
17827 * gst/schedulers/gstbasicscheduler.c:
17828 (gst_basic_scheduler_loopfunc_wrapper),
17829 (gst_basic_scheduler_chain_wrapper),
17830 (gst_basic_scheduler_src_wrapper),
17831 (gst_basic_scheduler_remove_element):
17832 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
17833 Remove threadsafe properties. Fix elements because GObject
17834 complains when installing a property before declaring a
17835 set/get_property handler.
17836 Rearrange gstelement.h file, use STATE macros for state locks.
17837 Free mutexes in the finalize method instead of dispose.
17839 2005-03-08 Wim Taymans <wim@fluendo.com>
17841 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
17842 * gst/gstthread.c: (gst_thread_release_children_locks):
17843 Added parentage check.
17844 Fix build og GstThread again.
17846 2005-03-08 Wim Taymans <wim@fluendo.com>
17848 * docs/design/part-MT-refcounting.txt:
17849 * docs/design/part-conventions.txt:
17850 * docs/design/part-gstobject.txt:
17851 * docs/design/part-relations.txt:
17852 * docs/design/part-standards.txt:
17853 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
17854 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
17855 (gst_bin_get_by_name), (gst_bin_get_by_interface),
17856 (gst_bin_iterate_all_by_interface):
17859 * gst/gstelement.c: (gst_element_class_init),
17860 (gst_element_change_state), (gst_element_set_loop_function):
17861 * gst/gstelement.h:
17862 * gst/gstiterator.c:
17863 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
17864 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
17865 (gst_object_dispatch_properties_changed), (gst_object_set_name),
17866 (gst_object_set_parent), (gst_object_unparent),
17867 (gst_object_check_uniqueness):
17869 Docs updates, clean up some headers.
17871 2005-03-07 Wim Taymans <wim@fluendo.com>
17873 * check/.cvsignore:
17874 * check/Makefile.am:
17875 * check/gst-libs/.cvsignore:
17876 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
17877 * check/gst/.cvsignore:
17878 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
17879 (START_TEST), (gstbus_suite), (main):
17880 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
17881 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
17882 (gst_data_suite), (main):
17883 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
17884 (add_fold_func), (gstiterator_suite), (main):
17885 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
17886 (thread_name_object), (thread_name_object_default),
17887 (gst_object_name_compare), (gst_object_suite), (main):
17888 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
17889 (gst_pad_suite), (main):
17890 * check/gstcheck.c: (gst_check_log_message_func),
17891 (gst_check_log_critical_func), (gst_check_init):
17892 * check/gstcheck.h:
17893 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
17894 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
17897 2005-03-07 Wim Taymans <wim@fluendo.com>
17899 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
17900 (gst_list_iterator_next), (gst_list_iterator_resync),
17901 (gst_list_iterator_free), (gst_iterator_new_list),
17902 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
17903 (gst_iterator_free), (gst_iterator_push), (filter_next),
17904 (filter_resync), (filter_uninit), (filter_free),
17905 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
17906 (gst_iterator_foreach), (find_custom_fold_func),
17907 (gst_iterator_find_custom):
17908 * gst/gstiterator.h:
17909 Added missing files.
17911 2005-03-07 Wim Taymans <wim@fluendo.com>
17915 * docs/design/part-MT-refcounting.txt:
17916 * docs/design/part-conventions.txt:
17917 * docs/design/part-gstobject.txt:
17918 * docs/design/part-relations.txt:
17919 * examples/mixer/mixer.c: (main):
17920 * examples/thread/thread.c: (eos), (main):
17922 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
17923 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
17924 (gst_spider_plug_from_srcpad):
17925 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
17926 (gst_spider_identity_change_state),
17927 (gst_spider_identity_sink_loop_type_finding):
17928 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
17929 * gst/elements/gstidentity.c: (gst_identity_init):
17930 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
17931 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
17932 * gst/elements/gsttypefindelement.c: (free_entry):
17935 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
17936 (gst_bin_set_clock_func), (gst_bin_auto_clock),
17937 (gst_bin_set_index), (gst_bin_set_element_sched),
17938 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
17939 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
17940 (gst_bin_iterate_elements), (iterate_child_recurse),
17941 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
17942 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
17943 (compare_interface), (gst_bin_get_by_interface),
17944 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
17946 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
17947 (gst_buffer_default_free), (gst_buffer_default_copy),
17948 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
17949 (gst_buffer_create_sub):
17951 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
17952 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
17953 (gst_caps_unref), (gst_static_caps_get),
17954 (gst_caps_remove_and_get_structure), (gst_caps_append),
17955 (gst_caps_append_structure), (gst_caps_remove_structure),
17956 (gst_caps_copy_nth), (gst_caps_set_simple),
17957 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
17958 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
17959 (gst_caps_structure_intersect_field), (gst_caps_intersect),
17960 (gst_caps_structure_subtract_field), (gst_caps_subtract),
17961 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
17962 (gst_caps_structure_figure_out_union),
17963 (gst_caps_switch_structures), (gst_caps_do_simplify),
17964 (gst_caps_replace), (gst_caps_from_string),
17965 (gst_caps_copy_conditional):
17967 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
17968 (_gst_clock_id_free), (gst_clock_id_unref),
17969 (gst_clock_id_compare_func), (gst_clock_id_wait),
17970 (gst_clock_id_wait_async), (gst_clock_class_init),
17971 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
17972 (gst_clock_get_time), (gst_clock_set_time_adjust),
17973 (gst_clock_set_property), (gst_clock_get_property):
17976 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
17977 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
17979 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
17980 (gst_element_requires_clock), (gst_element_provides_clock),
17981 (gst_element_set_clock), (gst_element_clock_wait),
17982 (gst_element_wait), (gst_element_set_time_delay),
17983 (gst_element_is_indexable), (gst_element_add_pad),
17984 (gst_element_add_ghost_pad), (gst_element_remove_pad),
17985 (pad_compare_name), (gst_element_get_static_pad),
17986 (gst_element_request_pad), (gst_element_get_request_pad),
17987 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
17988 (gst_element_class_get_pad_template_list),
17989 (gst_element_class_get_pad_template), (gst_element_error_func),
17990 (gst_element_get_random_pad), (gst_element_get_event_masks),
17991 (gst_element_send_event), (gst_element_seek),
17992 (gst_element_get_query_types), (gst_element_query),
17993 (gst_element_get_formats), (gst_element_convert),
17994 (gst_element_is_locked_state), (gst_element_set_locked_state),
17995 (gst_element_sync_state_with_parent), (gst_element_change_state),
17996 (gst_element_finalize), (gst_element_yield),
17997 (gst_element_interrupt), (gst_element_set_scheduler),
17998 (gst_element_get_scheduler), (gst_element_set_loop_function):
17999 * gst/gstelement.h:
18001 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
18002 (gst_format_get_by_nick), (gst_format_get_details),
18003 (gst_format_iterate_definitions):
18005 * gst/gstindex.c: (gst_index_gtype_resolver):
18008 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
18009 (gst_mem_chunk_free):
18010 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
18011 (gst_object_ref), (gst_object_unref), (gst_object_sink),
18012 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
18013 (gst_object_dispatch_properties_changed),
18014 (gst_object_set_name_default), (gst_object_set_name),
18015 (gst_object_get_name), (gst_object_set_name_prefix),
18016 (gst_object_get_name_prefix), (gst_object_set_parent),
18017 (gst_object_get_parent), (gst_object_unparent),
18018 (gst_object_check_uniqueness), (gst_object_save_thyself),
18019 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
18020 (gst_object_set_property), (gst_object_get_property),
18021 (gst_object_get_path_string):
18023 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
18024 (gst_real_pad_init), (gst_real_pad_get_property),
18025 (gst_pad_custom_new), (gst_pad_get_direction),
18026 (gst_pad_set_active), (gst_pad_is_active),
18027 (gst_pad_set_event_function), (gst_pad_is_linked),
18028 (gst_pad_link_free), (gst_pad_link_intersect),
18029 (gst_pad_link_fixate), (gst_pad_set_caps),
18030 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
18031 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
18032 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
18033 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
18034 (gst_pad_get_caps), (gst_pad_peer_get_caps),
18035 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
18036 (gst_pad_realize), (gst_pad_get_allowed_caps),
18037 (gst_real_pad_dispose), (gst_real_pad_finalize),
18038 (gst_pad_collectv), (gst_pad_collect_valist),
18039 (gst_pad_template_dispose), (gst_pad_template_new),
18040 (gst_pad_get_internal_links):
18042 * gst/gstpipeline.c: (gst_pipeline_dispose),
18043 (gst_pipeline_change_state):
18044 * gst/gstpipeline.h:
18046 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
18047 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
18048 * gst/gstpluginfeature.h:
18049 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
18050 * gst/gstquery.c: (_gst_query_type_initialize),
18051 (gst_query_type_register), (gst_query_type_get_by_nick),
18052 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
18054 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
18055 * gst/gstscheduler.c: (gst_scheduler_add_element),
18056 (gst_scheduler_factory_create):
18057 * gst/gststructure.c: (gst_structure_set_parent_refcount),
18058 (gst_structure_free), (gst_structure_set_name),
18059 (gst_structure_id_set_value), (gst_structure_set_value),
18060 (gst_structure_set_valist), (gst_structure_remove_field),
18061 (gst_structure_remove_fields),
18062 (gst_structure_remove_fields_valist),
18063 (gst_structure_remove_all_fields), (gst_structure_foreach),
18064 (gst_structure_map_in_place),
18065 (gst_caps_structure_fixate_field_nearest_int),
18066 (gst_caps_structure_fixate_field_nearest_double):
18067 * gst/gststructure.h:
18068 * gst/gstsystemclock.c: (gst_system_clock_class_init),
18069 (gst_system_clock_init), (gst_system_clock_dispose),
18070 (gst_system_clock_async_thread),
18071 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
18072 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
18073 * gst/gstsystemclock.h:
18074 * gst/gsttag.c: (gst_tag_list_add_value_internal),
18075 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
18076 * gst/gsttaginterface.c:
18077 * gst/gstthread.c: (gst_thread_dispose),
18078 (gst_thread_release_children_locks), (gst_thread_change_state),
18079 (gst_thread_main_loop):
18080 * gst/gsttrashstack.h:
18081 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
18083 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18084 (gst_element_request_pad), (gst_element_get_pad_from_template),
18085 (gst_element_request_compatible_pad),
18086 (gst_element_get_compatible_pad_filtered),
18087 (gst_element_get_compatible_pad), (gst_element_state_get_name),
18088 (gst_element_link_pads_filtered), (gst_element_link_filtered),
18089 (gst_element_link_many), (gst_element_link),
18090 (gst_element_link_pads), (gst_element_unlink_pads),
18091 (gst_element_unlink_many), (gst_element_unlink),
18092 (gst_pad_can_link_filtered), (gst_pad_can_link),
18093 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
18094 (gst_object_default_error), (gst_bin_add_many),
18095 (gst_bin_remove_many), (gst_element_populate_std_props),
18096 (gst_element_class_install_std_props), (gst_buffer_merge),
18097 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
18098 (link_fold_func), (gst_pad_proxy_setcaps):
18100 * gst/gstvalue.c: (gst_value_deserialize_string):
18101 * gst/parse/grammar.y:
18102 * gst/schedulers/gstbasicscheduler.c:
18103 (gst_basic_scheduler_cothreaded_chain),
18104 (gst_basic_scheduler_chain_recursive_add),
18105 (gst_basic_scheduler_pad_link):
18106 * gst/schedulers/gstoptimalscheduler.c:
18107 (get_group_schedule_function),
18108 (gst_opt_scheduler_state_transition),
18109 (gst_opt_scheduler_add_element), (element_get_reachables_func):
18110 * libs/gst/bytestream/bytestream.c:
18111 * libs/gst/dataprotocol/dataprotocol.c:
18112 (gst_dp_header_from_buffer):
18115 * tests/threadstate/threadstate2.c: (eos):
18116 * tools/gst-compprep.c: (main):
18117 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
18118 (print_pad_info), (print_children_info):
18119 * tools/gst-launch.c: (idle_func), (main):
18120 * tools/gst-md5sum.c: (idle_func), (main):
18121 * tools/gst-xmlinspect.c: (print_element_info):
18122 First THREADED backport attempt, focusing on adding locks and
18123 making sure the API is threadsafe. Needs more work. More docs
18126 2005-02-24 Andy Wingo <wingo@pobox.com>
18128 * tests/bench-complexity.scm:
18129 * tests/complexity.gnuplot: New files, good for running complexity
18132 * tests/Makefile.am:
18133 * tests/complexity.c: New test, sets up N elements, at each level
18134 teeing into M streams per element. Eeeenteresting.
18136 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
18137 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
18138 running bench-mass_elements.scm.
18140 * tests/bench-mass_elements.scm: New script, runs mass_elements
18141 for various numbers of identities, outputting the results to a
18142 file. Requires guile 1.6. Just for testing.
18144 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
18146 * gst/schedulers/fairscheduler.c:
18147 compile with debug disabled
18149 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
18152 hunting season on 0.9 is now OPEN